@xola/ui-kit 2.1.16 → 2.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/ui-kit.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Transition as Ce, Dialog as qe, Switch as kn } from "@headlessui/react";
2
2
  import c from "prop-types";
3
3
  import * as P from "react";
4
- import n, { useState as te, useEffect as Te, cloneElement as ht, Fragment as fe, Children as Se, createContext as ft, useRef as me, useCallback as ie, useMemo as Ne, useContext as Ve, useLayoutEffect as co, forwardRef as An, createElement as Oe, Component as o1 } from "react";
4
+ import n, { useState as ne, useEffect as Te, cloneElement as ht, Fragment as fe, Children as Se, createContext as ft, useRef as me, useCallback as ie, useMemo as Ne, useContext as Ve, useLayoutEffect as co, forwardRef as An, createElement as Oe, Component as o1 } from "react";
5
5
  import I from "clsx";
6
6
  import Ln from "@tippyjs/react";
7
7
  import { followCursor as uo } from "tippy.js";
@@ -12,7 +12,7 @@ import Pt from "get-user-locale";
12
12
  import l1 from "react-select";
13
13
  import { createPortal as c1 } from "react-dom";
14
14
  import u1 from "nouislider-react";
15
- import G from "dayjs";
15
+ import R from "dayjs";
16
16
  import d1, { DateUtils as m1 } from "react-day-picker";
17
17
  import mo from "google-libphonenumber";
18
18
  import pr from "react-hot-toast";
@@ -200,7 +200,7 @@ const b1 = {
200
200
  children: l,
201
201
  ...s
202
202
  }) => {
203
- const [u, d] = te(!1);
203
+ const [u, d] = ne(!1);
204
204
  Te(() => {
205
205
  if (o && !t) {
206
206
  d(!0);
@@ -213,7 +213,6 @@ const b1 = {
213
213
  return /* @__PURE__ */ n.createElement(
214
214
  xe,
215
215
  {
216
- type: "submit",
217
216
  color: e,
218
217
  disabled: m || a,
219
218
  variant: i,
@@ -671,7 +670,7 @@ Rn.propTypes = {
671
670
  const B1 = {
672
671
  background: "linear-gradient(138.65deg, #583DFF 19.59%, #F849C7 62.96%, #FFC03D 97.07%)"
673
672
  }, Re = ({ logo: e, children: t, className: o, footer: a, notifications: r, isFixed: i = !0, onLogoClick: l }) => {
674
- const [s, u] = te(!1), [d, m] = te(!1);
673
+ const [s, u] = ne(!1), [d, m] = ne(!1);
675
674
  Te(() => {
676
675
  u(!1), m(!1);
677
676
  }, [r]);
@@ -1157,10 +1156,10 @@ const To = ft({
1157
1156
  const t = me(1), o = ie(() => t.current++, [t]), a = Ne(() => ({ generateId: o }), [o]);
1158
1157
  return /* @__PURE__ */ n.createElement(To.Provider, { value: a }, e);
1159
1158
  }, dn = (e) => {
1160
- const { generateId: t } = Ve(To), [o] = te(() => `${e}-${t()}`);
1159
+ const { generateId: t } = Ve(To), [o] = ne(() => `${e}-${t()}`);
1161
1160
  return o;
1162
1161
  }, Gi = () => {
1163
- const [e, t] = te(!1);
1162
+ const [e, t] = ne(!1);
1164
1163
  return Te(() => {
1165
1164
  t(!0);
1166
1165
  }, []), e;
@@ -1216,23 +1215,23 @@ const zi = Vi((e, t) => e(t), 500), Ro = ({
1216
1215
  minChars: g = 0,
1217
1216
  ...w
1218
1217
  }) => {
1219
- const [x, b] = te(!0), [h, v] = te(o != null ? o : ""), f = me(), y = dn("search-input"), C = dn("search-menu"), A = Gi(), [E, k] = te(!0), L = { value: h }, M = h ? [L, ...t] : [], V = ({ selectedItem: W, type: ne }) => {
1220
- ne !== Kt.stateChangeTypes.InputBlur && ne !== Kt.stateChangeTypes.FunctionCloseMenu && (W === L ? (r == null || r(h), f.current.blur()) : W && (i == null || i(W), f.current.blur()), R());
1221
- }, Q = ({ inputValue: W }) => {
1218
+ const [x, b] = ne(!0), [h, v] = ne(o != null ? o : ""), f = me(), y = dn("search-input"), C = dn("search-menu"), A = Gi(), [E, k] = ne(!0), L = { value: h }, M = h ? [L, ...t] : [], V = ({ selectedItem: W, type: re }) => {
1219
+ re !== Kt.stateChangeTypes.InputBlur && re !== Kt.stateChangeTypes.FunctionCloseMenu && (W === L ? (r == null || r(h), f.current.blur()) : W && (i == null || i(W), f.current.blur()), B());
1220
+ }, U = ({ inputValue: W }) => {
1222
1221
  v(W), a && zi(a, W);
1223
1222
  }, {
1224
1223
  isOpen: j,
1225
1224
  openMenu: D,
1226
- getMenuProps: q,
1225
+ getMenuProps: Q,
1227
1226
  getInputProps: z,
1228
1227
  getComboboxProps: H,
1229
- highlightedIndex: _,
1230
- getItemProps: B,
1231
- closeMenu: R
1228
+ highlightedIndex: K,
1229
+ getItemProps: $,
1230
+ closeMenu: B
1232
1231
  } = Kt({
1233
1232
  items: M,
1234
1233
  inputValue: h,
1235
- onInputValueChange: Q,
1234
+ onInputValueChange: U,
1236
1235
  itemToString: () => h,
1237
1236
  defaultHighlightedIndex: 0,
1238
1237
  onSelectedItemChange: V
@@ -1240,13 +1239,13 @@ const zi = Vi((e, t) => e(t), 500), Ro = ({
1240
1239
  Te(() => {
1241
1240
  j ? k(!1) : setTimeout(() => k(!0), 1);
1242
1241
  }, [j, k]);
1243
- const O = () => {
1242
+ const G = () => {
1244
1243
  b(!1), D();
1245
- }, X = (j || !E || u) && M.length > 0 && !m, oe = X && !s && M.length <= 1 && h.length >= g;
1244
+ }, O = (j || !E || u) && M.length > 0 && !m, ee = O && !s && M.length <= 1 && h.length >= g;
1246
1245
  ur(kt ? "cmd+k" : "ctrl+k", (W) => {
1247
1246
  W.preventDefault(), f.current.focus();
1248
1247
  }), ur("esc", () => f.current.blur(), { enableOnTags: ["INPUT"] });
1249
- const $ = X || !d;
1248
+ const _ = O || !d;
1250
1249
  return /* @__PURE__ */ n.createElement("div", { className: "ui-search relative w-full" }, /* @__PURE__ */ n.createElement("div", { ...H({ className: "w-full relative rounded-md" }) }, /* @__PURE__ */ n.createElement("div", { className: "pointer-events-none absolute inset-y-0 -top-0.5 left-0 hidden items-center md:flex" }, /* @__PURE__ */ n.createElement(Vo, { className: "h-4 w-4 text-gray-darker" })), /* @__PURE__ */ n.createElement(
1251
1250
  "input",
1252
1251
  {
@@ -1259,7 +1258,7 @@ const zi = Vi((e, t) => e(t), 500), Ro = ({
1259
1258
  e
1260
1259
  ),
1261
1260
  ref: f,
1262
- onFocus: O,
1261
+ onFocus: G,
1263
1262
  onBlur: () => b(!0),
1264
1263
  onChange: (W) => v(W.target.value),
1265
1264
  ...w
@@ -1268,27 +1267,27 @@ const zi = Vi((e, t) => e(t), 500), Ro = ({
1268
1267
  ), /* @__PURE__ */ n.createElement("div", { className: "pointer-events-none absolute inset-y-0 right-0 hidden items-center space-x-1 pr-3 lg:flex" }, A && x ? /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(ze, { char: "cmd" }), " ", /* @__PURE__ */ n.createElement(ze, { char: "K" })) : null)), /* @__PURE__ */ n.createElement(
1269
1268
  "ul",
1270
1269
  {
1271
- ...q({
1270
+ ...Q({
1272
1271
  id: C,
1273
1272
  className: I(
1274
1273
  "ui-search-menu",
1275
- "absolute top-10 divide-y divide-gray-light w-full xl:w-2/3 max-h-[75vh] border border-blue-light mt-1 rounded overflow-auto z-10 bg-white",
1276
- { hidden: !X }
1274
+ "absolute top-10 divide-y divide-gray-light w-full xl:w-[590px] max-h-[75vh] border border-secondary-lighter shadow-xl mt-1 rounded overflow-auto z-10 bg-white",
1275
+ { hidden: !O }
1277
1276
  )
1278
1277
  })
1279
1278
  },
1280
- $ ? M.map((W, ne) => /* @__PURE__ */ n.createElement("li", { key: W, ...B({ key: ne, item: W, index: ne, className: "ui-search-item" }) }, W === L ? /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
1279
+ _ ? M.map((W, re) => /* @__PURE__ */ n.createElement("li", { key: W, ...$({ key: re, item: W, index: re, className: "ui-search-item" }) }, W === L ? s ? /* @__PURE__ */ n.createElement("div", { className: "p-3 text-center" }, /* @__PURE__ */ n.createElement(vt, { size: "small" })) : h.length < g ? /* @__PURE__ */ n.createElement(
1281
1280
  "div",
1282
1281
  {
1283
1282
  className: I(
1284
1283
  "cursor-pointer p-2",
1285
- _ === ne ? "bg-blue-light text-white" : ""
1284
+ K === re ? "bg-blue-light text-white" : ""
1286
1285
  )
1287
1286
  },
1288
- h.length >= g ? /* @__PURE__ */ n.createElement(n.Fragment, null, "Show all results for ", /* @__PURE__ */ n.createElement("strong", null, h)) : `Enter at least ${g} characters to begin search`
1289
- ), s ? /* @__PURE__ */ n.createElement("div", { className: "p-3 text-center" }, /* @__PURE__ */ n.createElement(vt, { size: "small" })) : null) : l == null ? void 0 : l(W, _ === ne))) : null,
1290
- $ && oe ? /* @__PURE__ */ n.createElement("li", { className: "cursor-not-allowed p-2" }, "No results found") : null,
1291
- $ && M.length < 5 ? /* @__PURE__ */ n.createElement("li", { className: "search-footer pointer-events sticky bottom-0 flex space-x-5 p-2 text-sm text-gray-dark" }, /* @__PURE__ */ n.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ n.createElement(ze, { char: "up", className: "mr-0.5" }), /* @__PURE__ */ n.createElement(ze, { char: "down", className: "mr-2" }), " to navigate"), /* @__PURE__ */ n.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ n.createElement(ze, { char: "enter", className: "mr-2" }), " to submit"), /* @__PURE__ */ n.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ n.createElement(ze, { char: "esc", className: "mr-2" }), " to close")) : null
1287
+ `Enter at least ${g} characters to begin search`
1288
+ ) : null : l == null ? void 0 : l(W, K === re))) : null,
1289
+ _ && ee ? /* @__PURE__ */ n.createElement("li", { className: "cursor-not-allowed p-2" }, "No results found") : null,
1290
+ _ && M.length < 5 ? /* @__PURE__ */ n.createElement("li", { className: "search-footer pointer-events sticky bottom-0 flex space-x-5 p-2 text-sm text-gray-dark" }, /* @__PURE__ */ n.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ n.createElement(ze, { char: "up", className: "mr-0.5" }), /* @__PURE__ */ n.createElement(ze, { char: "down", className: "mr-2" }), " navigate results"), /* @__PURE__ */ n.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ n.createElement(ze, { char: "enter", className: "mr-2" }), " submit"), /* @__PURE__ */ n.createElement("span", { className: "flex items-center" }, /* @__PURE__ */ n.createElement(ze, { char: "esc", className: "mr-2" }), " close search")) : null
1292
1291
  ));
1293
1292
  };
1294
1293
  Ro.propTypes = {
@@ -1691,7 +1690,7 @@ function Yo(e) {
1691
1690
  function ss(e, t) {
1692
1691
  return (e = t.exec(e)) ? e[0] : e;
1693
1692
  }
1694
- function U(e, t, o) {
1693
+ function J(e, t, o) {
1695
1694
  return e.replace(t, o);
1696
1695
  }
1697
1696
  function hn(e, t) {
@@ -1715,7 +1714,7 @@ function xt(e, t) {
1715
1714
  function ls(e, t) {
1716
1715
  return e.map(t).join("");
1717
1716
  }
1718
- var Jt = 1, _e = 1, Jo = 0, pe = 0, re = 0, et = "";
1717
+ var Jt = 1, _e = 1, Jo = 0, pe = 0, oe = 0, et = "";
1719
1718
  function Ut(e, t, o, a, r, i, l) {
1720
1719
  return { value: e, root: t, parent: o, type: a, props: r, children: i, line: Jt, column: _e, length: l, return: "" };
1721
1720
  }
@@ -1723,13 +1722,13 @@ function ot(e, t) {
1723
1722
  return as(Ut("", null, null, "", null, null, 0), e, { length: -e.length }, t);
1724
1723
  }
1725
1724
  function cs() {
1726
- return re;
1725
+ return oe;
1727
1726
  }
1728
1727
  function us() {
1729
- return re = pe > 0 ? ae(et, --pe) : 0, _e--, re === 10 && (_e = 1, Jt--), re;
1728
+ return oe = pe > 0 ? ae(et, --pe) : 0, _e--, oe === 10 && (_e = 1, Jt--), oe;
1730
1729
  }
1731
1730
  function ge() {
1732
- return re = pe < Jo ? ae(et, pe++) : 0, _e++, re === 10 && (_e = 1, Jt++), re;
1731
+ return oe = pe < Jo ? ae(et, pe++) : 0, _e++, oe === 10 && (_e = 1, Jt++), oe;
1733
1732
  }
1734
1733
  function ke() {
1735
1734
  return ae(et, pe);
@@ -1782,23 +1781,23 @@ function Lt(e) {
1782
1781
  return Yo(wt(pe - 1, fn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1783
1782
  }
1784
1783
  function ds(e) {
1785
- for (; (re = ke()) && re < 33; )
1784
+ for (; (oe = ke()) && oe < 33; )
1786
1785
  ge();
1787
- return dt(e) > 2 || dt(re) > 3 ? "" : " ";
1786
+ return dt(e) > 2 || dt(oe) > 3 ? "" : " ";
1788
1787
  }
1789
1788
  function ms(e, t) {
1790
- for (; --t && ge() && !(re < 48 || re > 102 || re > 57 && re < 65 || re > 70 && re < 97); )
1789
+ for (; --t && ge() && !(oe < 48 || oe > 102 || oe > 57 && oe < 65 || oe > 70 && oe < 97); )
1791
1790
  ;
1792
1791
  return wt(e, At() + (t < 6 && ke() == 32 && ge() == 32));
1793
1792
  }
1794
1793
  function fn(e) {
1795
1794
  for (; ge(); )
1796
- switch (re) {
1795
+ switch (oe) {
1797
1796
  case e:
1798
1797
  return pe;
1799
1798
  case 34:
1800
1799
  case 39:
1801
- e !== 34 && e !== 39 && fn(re);
1800
+ e !== 34 && e !== 39 && fn(oe);
1802
1801
  break;
1803
1802
  case 40:
1804
1803
  e === 41 && fn(e);
@@ -1810,8 +1809,8 @@ function fn(e) {
1810
1809
  return pe;
1811
1810
  }
1812
1811
  function ps(e, t) {
1813
- for (; ge() && e + re !== 47 + 10; )
1814
- if (e + re === 42 + 42 && ke() === 47)
1812
+ for (; ge() && e + oe !== 47 + 10; )
1813
+ if (e + oe === 42 + 42 && ke() === 47)
1815
1814
  break;
1816
1815
  return "/*" + wt(t, pe - 1) + "*" + Yt(e === 47 ? e : ge());
1817
1816
  }
@@ -1828,7 +1827,7 @@ function Mt(e, t, o, a, r, i, l, s, u) {
1828
1827
  switch (b = y, y = ge()) {
1829
1828
  case 40:
1830
1829
  if (b != 108 && ae(L, g - 1) == 58) {
1831
- hn(L += U(Lt(y), "&", "&\f"), "&\f") != -1 && (f = -1);
1830
+ hn(L += J(Lt(y), "&", "&\f"), "&\f") != -1 && (f = -1);
1832
1831
  break;
1833
1832
  }
1834
1833
  case 34:
@@ -1865,7 +1864,7 @@ function Mt(e, t, o, a, r, i, l, s, u) {
1865
1864
  case 125:
1866
1865
  v = 0;
1867
1866
  case 59 + m:
1868
- x > 0 && Ie(L) - g && xt(x > 32 ? kr(L + ";", a, o, g - 1) : kr(U(L, " ", "") + ";", a, o, g - 2), u);
1867
+ x > 0 && Ie(L) - g && xt(x > 32 ? kr(L + ";", a, o, g - 1) : kr(J(L, " ", "") + ";", a, o, g - 2), u);
1869
1868
  break;
1870
1869
  case 59:
1871
1870
  L += ";";
@@ -1914,7 +1913,7 @@ function Mt(e, t, o, a, r, i, l, s, u) {
1914
1913
  function Cr(e, t, o, a, r, i, l, s, u, d, m) {
1915
1914
  for (var g = r - 1, w = r === 0 ? i : [""], x = Kn(w), b = 0, h = 0, v = 0; b < a; ++b)
1916
1915
  for (var f = 0, y = ut(e, g + 1, g = os(h = l[b])), C = e; f < x; ++f)
1917
- (C = Yo(h > 0 ? w[f] + " " + y : U(y, /&\f/g, w[f]))) && (u[v++] = C);
1916
+ (C = Yo(h > 0 ? w[f] + " " + y : J(y, /&\f/g, w[f]))) && (u[v++] = C);
1918
1917
  return Ut(e, t, o, r === 0 ? Qn : s, u, d, m);
1919
1918
  }
1920
1919
  function fs(e, t, o) {
@@ -2081,31 +2080,31 @@ function Ko(e, t) {
2081
2080
  case 6165:
2082
2081
  return Z + e + se + "flex-" + e + e;
2083
2082
  case 5187:
2084
- return Z + e + U(e, /(\w+).+(:[^]+)/, Z + "box-$1$2" + se + "flex-$1$2") + e;
2083
+ return Z + e + J(e, /(\w+).+(:[^]+)/, Z + "box-$1$2" + se + "flex-$1$2") + e;
2085
2084
  case 5443:
2086
- return Z + e + se + "flex-item-" + U(e, /flex-|-self/, "") + e;
2085
+ return Z + e + se + "flex-item-" + J(e, /flex-|-self/, "") + e;
2087
2086
  case 4675:
2088
- return Z + e + se + "flex-line-pack" + U(e, /align-content|flex-|-self/, "") + e;
2087
+ return Z + e + se + "flex-line-pack" + J(e, /align-content|flex-|-self/, "") + e;
2089
2088
  case 5548:
2090
- return Z + e + se + U(e, "shrink", "negative") + e;
2089
+ return Z + e + se + J(e, "shrink", "negative") + e;
2091
2090
  case 5292:
2092
- return Z + e + se + U(e, "basis", "preferred-size") + e;
2091
+ return Z + e + se + J(e, "basis", "preferred-size") + e;
2093
2092
  case 6060:
2094
- return Z + "box-" + U(e, "-grow", "") + Z + e + se + U(e, "grow", "positive") + e;
2093
+ return Z + "box-" + J(e, "-grow", "") + Z + e + se + J(e, "grow", "positive") + e;
2095
2094
  case 4554:
2096
- return Z + U(e, /([^-])(transform)/g, "$1" + Z + "$2") + e;
2095
+ return Z + J(e, /([^-])(transform)/g, "$1" + Z + "$2") + e;
2097
2096
  case 6187:
2098
- return U(U(U(e, /(zoom-|grab)/, Z + "$1"), /(image-set)/, Z + "$1"), e, "") + e;
2097
+ return J(J(J(e, /(zoom-|grab)/, Z + "$1"), /(image-set)/, Z + "$1"), e, "") + e;
2099
2098
  case 5495:
2100
2099
  case 3959:
2101
- return U(e, /(image-set\([^]*)/, Z + "$1$`$1");
2100
+ return J(e, /(image-set\([^]*)/, Z + "$1$`$1");
2102
2101
  case 4968:
2103
- return U(U(e, /(.+:)(flex-)?(.*)/, Z + "box-pack:$3" + se + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Z + e + e;
2102
+ return J(J(e, /(.+:)(flex-)?(.*)/, Z + "box-pack:$3" + se + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Z + e + e;
2104
2103
  case 4095:
2105
2104
  case 3583:
2106
2105
  case 4068:
2107
2106
  case 2532:
2108
- return U(e, /(.+)-inline(.+)/, Z + "$1$2") + e;
2107
+ return J(e, /(.+)-inline(.+)/, Z + "$1$2") + e;
2109
2108
  case 8116:
2110
2109
  case 7059:
2111
2110
  case 5753:
@@ -2124,9 +2123,9 @@ function Ko(e, t) {
2124
2123
  if (ae(e, t + 4) !== 45)
2125
2124
  break;
2126
2125
  case 102:
2127
- return U(e, /(.+:)(.+)-([^]+)/, "$1" + Z + "$2-$3$1" + Dt + (ae(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
2126
+ return J(e, /(.+:)(.+)-([^]+)/, "$1" + Z + "$2-$3$1" + Dt + (ae(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
2128
2127
  case 115:
2129
- return ~hn(e, "stretch") ? Ko(U(e, "stretch", "fill-available"), t) + e : e;
2128
+ return ~hn(e, "stretch") ? Ko(J(e, "stretch", "fill-available"), t) + e : e;
2130
2129
  }
2131
2130
  break;
2132
2131
  case 4949:
@@ -2135,19 +2134,19 @@ function Ko(e, t) {
2135
2134
  case 6444:
2136
2135
  switch (ae(e, Ie(e) - 3 - (~hn(e, "!important") && 10))) {
2137
2136
  case 107:
2138
- return U(e, ":", ":" + Z) + e;
2137
+ return J(e, ":", ":" + Z) + e;
2139
2138
  case 101:
2140
- return U(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Z + (ae(e, 14) === 45 ? "inline-" : "") + "box$3$1" + Z + "$2$3$1" + se + "$2box$3") + e;
2139
+ return J(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Z + (ae(e, 14) === 45 ? "inline-" : "") + "box$3$1" + Z + "$2$3$1" + se + "$2box$3") + e;
2141
2140
  }
2142
2141
  break;
2143
2142
  case 5936:
2144
2143
  switch (ae(e, t + 11)) {
2145
2144
  case 114:
2146
- return Z + e + se + U(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
2145
+ return Z + e + se + J(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
2147
2146
  case 108:
2148
- return Z + e + se + U(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
2147
+ return Z + e + se + J(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
2149
2148
  case 45:
2150
- return Z + e + se + U(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
2149
+ return Z + e + se + J(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
2151
2150
  }
2152
2151
  return Z + e + se + e + e;
2153
2152
  }
@@ -2161,7 +2160,7 @@ var Fs = function(t, o, a, r) {
2161
2160
  break;
2162
2161
  case Xo:
2163
2162
  return Ke([ot(t, {
2164
- value: U(t.value, "@", "@" + Z)
2163
+ value: J(t.value, "@", "@" + Z)
2165
2164
  })], r);
2166
2165
  case Qn:
2167
2166
  if (t.length)
@@ -2170,15 +2169,15 @@ var Fs = function(t, o, a, r) {
2170
2169
  case ":read-only":
2171
2170
  case ":read-write":
2172
2171
  return Ke([ot(t, {
2173
- props: [U(i, /:(read-\w+)/, ":" + Dt + "$1")]
2172
+ props: [J(i, /:(read-\w+)/, ":" + Dt + "$1")]
2174
2173
  })], r);
2175
2174
  case "::placeholder":
2176
2175
  return Ke([ot(t, {
2177
- props: [U(i, /:(plac\w+)/, ":" + Z + "input-$1")]
2176
+ props: [J(i, /:(plac\w+)/, ":" + Z + "input-$1")]
2178
2177
  }), ot(t, {
2179
- props: [U(i, /:(plac\w+)/, ":" + Dt + "$1")]
2178
+ props: [J(i, /:(plac\w+)/, ":" + Dt + "$1")]
2180
2179
  }), ot(t, {
2181
- props: [U(i, /:(plac\w+)/, se + "input-$1")]
2180
+ props: [J(i, /:(plac\w+)/, se + "input-$1")]
2182
2181
  })], r);
2183
2182
  }
2184
2183
  return "";
@@ -2246,7 +2245,7 @@ If multiple caches share the same key they might "fight" for each other's style
2246
2245
  insert: u
2247
2246
  };
2248
2247
  return b.sheet.hydrate(s), b;
2249
- }, _o = { exports: {} }, Y = {};
2248
+ }, _o = { exports: {} }, X = {};
2250
2249
  /** @license React v16.13.1
2251
2250
  * react-is.production.min.js
2252
2251
  *
@@ -2258,7 +2257,7 @@ If multiple caches share the same key they might "fight" for each other's style
2258
2257
  var Mr;
2259
2258
  function Vs() {
2260
2259
  if (Mr)
2261
- return Y;
2260
+ return X;
2262
2261
  Mr = 1;
2263
2262
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, f = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
2264
2263
  function C(E) {
@@ -2294,35 +2293,35 @@ function Vs() {
2294
2293
  function A(E) {
2295
2294
  return C(E) === d;
2296
2295
  }
2297
- return Y.AsyncMode = u, Y.ConcurrentMode = d, Y.ContextConsumer = s, Y.ContextProvider = l, Y.Element = t, Y.ForwardRef = m, Y.Fragment = a, Y.Lazy = b, Y.Memo = x, Y.Portal = o, Y.Profiler = i, Y.StrictMode = r, Y.Suspense = g, Y.isAsyncMode = function(E) {
2296
+ return X.AsyncMode = u, X.ConcurrentMode = d, X.ContextConsumer = s, X.ContextProvider = l, X.Element = t, X.ForwardRef = m, X.Fragment = a, X.Lazy = b, X.Memo = x, X.Portal = o, X.Profiler = i, X.StrictMode = r, X.Suspense = g, X.isAsyncMode = function(E) {
2298
2297
  return A(E) || C(E) === u;
2299
- }, Y.isConcurrentMode = A, Y.isContextConsumer = function(E) {
2298
+ }, X.isConcurrentMode = A, X.isContextConsumer = function(E) {
2300
2299
  return C(E) === s;
2301
- }, Y.isContextProvider = function(E) {
2300
+ }, X.isContextProvider = function(E) {
2302
2301
  return C(E) === l;
2303
- }, Y.isElement = function(E) {
2302
+ }, X.isElement = function(E) {
2304
2303
  return typeof E == "object" && E !== null && E.$$typeof === t;
2305
- }, Y.isForwardRef = function(E) {
2304
+ }, X.isForwardRef = function(E) {
2306
2305
  return C(E) === m;
2307
- }, Y.isFragment = function(E) {
2306
+ }, X.isFragment = function(E) {
2308
2307
  return C(E) === a;
2309
- }, Y.isLazy = function(E) {
2308
+ }, X.isLazy = function(E) {
2310
2309
  return C(E) === b;
2311
- }, Y.isMemo = function(E) {
2310
+ }, X.isMemo = function(E) {
2312
2311
  return C(E) === x;
2313
- }, Y.isPortal = function(E) {
2312
+ }, X.isPortal = function(E) {
2314
2313
  return C(E) === o;
2315
- }, Y.isProfiler = function(E) {
2314
+ }, X.isProfiler = function(E) {
2316
2315
  return C(E) === i;
2317
- }, Y.isStrictMode = function(E) {
2316
+ }, X.isStrictMode = function(E) {
2318
2317
  return C(E) === r;
2319
- }, Y.isSuspense = function(E) {
2318
+ }, X.isSuspense = function(E) {
2320
2319
  return C(E) === g;
2321
- }, Y.isValidElementType = function(E) {
2320
+ }, X.isValidElementType = function(E) {
2322
2321
  return typeof E == "string" || typeof E == "function" || E === a || E === d || E === i || E === r || E === g || E === w || typeof E == "object" && E !== null && (E.$$typeof === b || E.$$typeof === x || E.$$typeof === l || E.$$typeof === s || E.$$typeof === m || E.$$typeof === v || E.$$typeof === f || E.$$typeof === y || E.$$typeof === h);
2323
- }, Y.typeOf = C, Y;
2322
+ }, X.typeOf = C, X;
2324
2323
  }
2325
- var J = {};
2324
+ var Y = {};
2326
2325
  /** @license React v16.13.1
2327
2326
  * react-is.development.js
2328
2327
  *
@@ -2370,23 +2369,23 @@ function Rs() {
2370
2369
  }
2371
2370
  }
2372
2371
  }
2373
- var E = u, k = d, L = s, M = l, V = t, Q = m, j = a, D = b, q = x, z = o, H = i, _ = r, B = g, R = !1;
2374
- function O(N) {
2375
- return R || (R = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), X(N) || A(N) === u;
2372
+ var E = u, k = d, L = s, M = l, V = t, U = m, j = a, D = b, Q = x, z = o, H = i, K = r, $ = g, B = !1;
2373
+ function G(N) {
2374
+ return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(N) || A(N) === u;
2376
2375
  }
2377
- function X(N) {
2376
+ function O(N) {
2378
2377
  return A(N) === d;
2379
2378
  }
2380
- function oe(N) {
2379
+ function ee(N) {
2381
2380
  return A(N) === s;
2382
2381
  }
2383
- function $(N) {
2382
+ function _(N) {
2384
2383
  return A(N) === l;
2385
2384
  }
2386
2385
  function W(N) {
2387
2386
  return typeof N == "object" && N !== null && N.$$typeof === t;
2388
2387
  }
2389
- function ne(N) {
2388
+ function re(N) {
2390
2389
  return A(N) === m;
2391
2390
  }
2392
2391
  function he(N) {
@@ -2410,8 +2409,8 @@ function Rs() {
2410
2409
  function Le(N) {
2411
2410
  return A(N) === g;
2412
2411
  }
2413
- J.AsyncMode = E, J.ConcurrentMode = k, J.ContextConsumer = L, J.ContextProvider = M, J.Element = V, J.ForwardRef = Q, J.Fragment = j, J.Lazy = D, J.Memo = q, J.Portal = z, J.Profiler = H, J.StrictMode = _, J.Suspense = B, J.isAsyncMode = O, J.isConcurrentMode = X, J.isContextConsumer = oe, J.isContextProvider = $, J.isElement = W, J.isForwardRef = ne, J.isFragment = he, J.isLazy = de, J.isMemo = ue, J.isPortal = ve, J.isProfiler = Ee, J.isStrictMode = Ge, J.isSuspense = Le, J.isValidElementType = C, J.typeOf = A;
2414
- }()), J;
2412
+ Y.AsyncMode = E, Y.ConcurrentMode = k, Y.ContextConsumer = L, Y.ContextProvider = M, Y.Element = V, Y.ForwardRef = U, Y.Fragment = j, Y.Lazy = D, Y.Memo = Q, Y.Portal = z, Y.Profiler = H, Y.StrictMode = K, Y.Suspense = $, Y.isAsyncMode = G, Y.isConcurrentMode = O, Y.isContextConsumer = ee, Y.isContextProvider = _, Y.isElement = W, Y.isForwardRef = re, Y.isFragment = he, Y.isLazy = de, Y.isMemo = ue, Y.isPortal = ve, Y.isProfiler = Ee, Y.isStrictMode = Ge, Y.isSuspense = Le, Y.isValidElementType = C, Y.typeOf = A;
2413
+ }()), Y;
2415
2414
  }
2416
2415
  (function(e) {
2417
2416
  process.env.NODE_ENV === "production" ? e.exports = Vs() : e.exports = Rs();
@@ -3202,7 +3201,7 @@ var Ot = function(t) {
3202
3201
  t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
3203
3202
  var o = Xe(t, E0);
3204
3203
  return T({}, o);
3205
- }, ee = function(t, o, a) {
3204
+ }, te = function(t, o, a) {
3206
3205
  var r = t.cx, i = t.getStyles, l = t.getClassNames, s = t.className;
3207
3206
  return {
3208
3207
  css: i(o, t),
@@ -3310,7 +3309,7 @@ function V0(e) {
3310
3309
  };
3311
3310
  if (!o || !o.offsetParent)
3312
3311
  return d;
3313
- var m = u.getBoundingClientRect(), g = m.height, w = o.getBoundingClientRect(), x = w.bottom, b = w.height, h = w.top, v = o.offsetParent.getBoundingClientRect(), f = v.top, y = l ? window.innerHeight : C0(u), C = ha(u), A = parseInt(getComputedStyle(o).marginBottom, 10), E = parseInt(getComputedStyle(o).marginTop, 10), k = f - E, L = y - h, M = k + C, V = g - C - h, Q = x - y + C + A, j = C + h - E, D = 160;
3312
+ var m = u.getBoundingClientRect(), g = m.height, w = o.getBoundingClientRect(), x = w.bottom, b = w.height, h = w.top, v = o.offsetParent.getBoundingClientRect(), f = v.top, y = l ? window.innerHeight : C0(u), C = ha(u), A = parseInt(getComputedStyle(o).marginBottom, 10), E = parseInt(getComputedStyle(o).marginTop, 10), k = f - E, L = y - h, M = k + C, V = g - C - h, U = x - y + C + A, j = C + h - E, D = 160;
3314
3313
  switch (r) {
3315
3314
  case "auto":
3316
3315
  case "bottom":
@@ -3320,16 +3319,16 @@ function V0(e) {
3320
3319
  maxHeight: t
3321
3320
  };
3322
3321
  if (V >= b && !l)
3323
- return i && It(u, Q, D), {
3322
+ return i && It(u, U, D), {
3324
3323
  placement: "bottom",
3325
3324
  maxHeight: t
3326
3325
  };
3327
3326
  if (!l && V >= a || l && L >= a) {
3328
- i && It(u, Q, D);
3329
- var q = l ? L - A : V - A;
3327
+ i && It(u, U, D);
3328
+ var Q = l ? L - A : V - A;
3330
3329
  return {
3331
3330
  placement: "bottom",
3332
- maxHeight: q
3331
+ maxHeight: Q
3333
3332
  };
3334
3333
  }
3335
3334
  if (r === "auto" || l) {
@@ -3340,7 +3339,7 @@ function V0(e) {
3340
3339
  };
3341
3340
  }
3342
3341
  if (r === "bottom")
3343
- return i && Wt(u, Q), {
3342
+ return i && Wt(u, U), {
3344
3343
  placement: "bottom",
3345
3344
  maxHeight: t
3346
3345
  };
@@ -3357,10 +3356,10 @@ function V0(e) {
3357
3356
  maxHeight: t
3358
3357
  };
3359
3358
  if (!l && M >= a || l && k >= a) {
3360
- var _ = t;
3361
- return (!l && M >= a || l && k >= a) && (_ = l ? k - E : M - E), i && It(u, j, D), {
3359
+ var K = t;
3360
+ return (!l && M >= a || l && k >= a) && (K = l ? k - E : M - E), i && It(u, j, D), {
3362
3361
  placement: "top",
3363
- maxHeight: _
3362
+ maxHeight: K
3364
3363
  };
3365
3364
  }
3366
3365
  return {
@@ -3393,7 +3392,7 @@ var va = function(t) {
3393
3392
  marginTop: s.menuGutter
3394
3393
  });
3395
3394
  }, ba = /* @__PURE__ */ ft(null), D0 = function(t) {
3396
- var o = t.children, a = t.minMenuHeight, r = t.maxMenuHeight, i = t.menuPlacement, l = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, d = Ve(ba) || {}, m = d.setPortalPlacement, g = me(null), w = te(r), x = Be(w, 2), b = x[0], h = x[1], v = te(null), f = Be(v, 2), y = f[0], C = f[1], A = u.spacing.controlHeight;
3395
+ var o = t.children, a = t.minMenuHeight, r = t.maxMenuHeight, i = t.menuPlacement, l = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, d = Ve(ba) || {}, m = d.setPortalPlacement, g = me(null), w = ne(r), x = Be(w, 2), b = x[0], h = x[1], v = ne(null), f = Be(v, 2), y = f[0], C = f[1], A = u.spacing.controlHeight;
3397
3396
  return xn(function() {
3398
3397
  var E = g.current;
3399
3398
  if (!!E) {
@@ -3417,7 +3416,7 @@ var va = function(t) {
3417
3416
  });
3418
3417
  }, z0 = function(t) {
3419
3418
  var o = t.children, a = t.innerRef, r = t.innerProps;
3420
- return F("div", S({}, ee(t, "menu", {
3419
+ return F("div", S({}, te(t, "menu", {
3421
3420
  menu: !0
3422
3421
  }), {
3423
3422
  ref: a
@@ -3435,7 +3434,7 @@ var va = function(t) {
3435
3434
  });
3436
3435
  }, O0 = function(t) {
3437
3436
  var o = t.children, a = t.innerProps, r = t.innerRef, i = t.isMulti;
3438
- return F("div", S({}, ee(t, "menuList", {
3437
+ return F("div", S({}, te(t, "menuList", {
3439
3438
  "menu-list": !0,
3440
3439
  "menu-list--is-multi": i
3441
3440
  }), {
@@ -3451,7 +3450,7 @@ var va = function(t) {
3451
3450
  });
3452
3451
  }, W0 = wa, j0 = wa, xa = function(t) {
3453
3452
  var o = t.children, a = t.innerProps;
3454
- return F("div", S({}, ee(t, "noOptionsMessage", {
3453
+ return F("div", S({}, te(t, "noOptionsMessage", {
3455
3454
  "menu-notice": !0,
3456
3455
  "menu-notice--no-options": !0
3457
3456
  }), a), o);
@@ -3461,7 +3460,7 @@ xa.defaultProps = {
3461
3460
  };
3462
3461
  var Ea = function(t) {
3463
3462
  var o = t.children, a = t.innerProps;
3464
- return F("div", S({}, ee(t, "loadingMessage", {
3463
+ return F("div", S({}, te(t, "loadingMessage", {
3465
3464
  "menu-notice": !0,
3466
3465
  "menu-notice--loading": !0
3467
3466
  }), a), o);
@@ -3479,11 +3478,11 @@ var P0 = function(t) {
3479
3478
  zIndex: 1
3480
3479
  };
3481
3480
  }, Z0 = function(t) {
3482
- var o = t.appendTo, a = t.children, r = t.controlElement, i = t.innerProps, l = t.menuPlacement, s = t.menuPosition, u = me(null), d = me(null), m = te(va(l)), g = Be(m, 2), w = g[0], x = g[1], b = Ne(function() {
3481
+ var o = t.appendTo, a = t.children, r = t.controlElement, i = t.innerProps, l = t.menuPlacement, s = t.menuPosition, u = me(null), d = me(null), m = ne(va(l)), g = Be(m, 2), w = g[0], x = g[1], b = Ne(function() {
3483
3482
  return {
3484
3483
  setPortalPlacement: x
3485
3484
  };
3486
- }, []), h = te(null), v = Be(h, 2), f = v[0], y = v[1], C = ie(function() {
3485
+ }, []), h = ne(null), v = Be(h, 2), f = v[0], y = v[1], C = ie(function() {
3487
3486
  if (!!r) {
3488
3487
  var L = L0(r), M = s === "fixed" ? 0 : window.pageYOffset, V = L[w] + M;
3489
3488
  (V !== (f == null ? void 0 : f.offset) || L.left !== (f == null ? void 0 : f.rect.left) || L.width !== (f == null ? void 0 : f.rect.width)) && y({
@@ -3510,7 +3509,7 @@ var P0 = function(t) {
3510
3509
  return null;
3511
3510
  var k = F("div", S({
3512
3511
  ref: E
3513
- }, ee(T(T({}, t), {}, {
3512
+ }, te(T(T({}, t), {}, {
3514
3513
  offset: f.offset,
3515
3514
  position: s,
3516
3515
  rect: f.rect
@@ -3530,7 +3529,7 @@ var P0 = function(t) {
3530
3529
  };
3531
3530
  }, Y0 = function(t) {
3532
3531
  var o = t.children, a = t.innerProps, r = t.isDisabled, i = t.isRtl;
3533
- return F("div", S({}, ee(t, "container", {
3532
+ return F("div", S({}, te(t, "container", {
3534
3533
  "--is-disabled": r,
3535
3534
  "--is-rtl": i
3536
3535
  }), a), o);
@@ -3549,7 +3548,7 @@ var P0 = function(t) {
3549
3548
  });
3550
3549
  }, U0 = function(t) {
3551
3550
  var o = t.children, a = t.innerProps, r = t.isMulti, i = t.hasValue;
3552
- return F("div", S({}, ee(t, "valueContainer", {
3551
+ return F("div", S({}, te(t, "valueContainer", {
3553
3552
  "value-container": !0,
3554
3553
  "value-container--is-multi": r,
3555
3554
  "value-container--has-value": i
@@ -3563,7 +3562,7 @@ var P0 = function(t) {
3563
3562
  };
3564
3563
  }, q0 = function(t) {
3565
3564
  var o = t.children, a = t.innerProps;
3566
- return F("div", S({}, ee(t, "indicatorsContainer", {
3565
+ return F("div", S({}, te(t, "indicatorsContainer", {
3567
3566
  indicators: !0
3568
3567
  }), a), o);
3569
3568
  }, Yr, K0 = ["size"];
@@ -3615,13 +3614,13 @@ var $0 = process.env.NODE_ENV === "production" ? {
3615
3614
  });
3616
3615
  }, el = Ca, tl = function(t) {
3617
3616
  var o = t.children, a = t.innerProps;
3618
- return F("div", S({}, ee(t, "dropdownIndicator", {
3617
+ return F("div", S({}, te(t, "dropdownIndicator", {
3619
3618
  indicator: !0,
3620
3619
  "dropdown-indicator": !0
3621
3620
  }), a), o || F(ya, null));
3622
3621
  }, nl = Ca, rl = function(t) {
3623
3622
  var o = t.children, a = t.innerProps;
3624
- return F("div", S({}, ee(t, "clearIndicator", {
3623
+ return F("div", S({}, te(t, "clearIndicator", {
3625
3624
  indicator: !0,
3626
3625
  "clear-indicator": !0
3627
3626
  }), a), o || F(ar, null));
@@ -3638,7 +3637,7 @@ var $0 = process.env.NODE_ENV === "production" ? {
3638
3637
  });
3639
3638
  }, al = function(t) {
3640
3639
  var o = t.innerProps;
3641
- return F("span", S({}, o, ee(t, "indicatorSeparator", {
3640
+ return F("span", S({}, o, te(t, "indicatorSeparator", {
3642
3641
  "indicator-separator": !0
3643
3642
  })));
3644
3643
  }, il = o0(Yr || (Yr = g0([`
@@ -3676,7 +3675,7 @@ var $0 = process.env.NODE_ENV === "production" ? {
3676
3675
  });
3677
3676
  }, ka = function(t) {
3678
3677
  var o = t.innerProps, a = t.isRtl;
3679
- return F("div", S({}, ee(t, "loadingIndicator", {
3678
+ return F("div", S({}, te(t, "loadingIndicator", {
3680
3679
  indicator: !0,
3681
3680
  "loading-indicator": !0
3682
3681
  }), o), F(en, {
@@ -3721,7 +3720,7 @@ var ll = function(t, o) {
3721
3720
  var o = t.children, a = t.isDisabled, r = t.isFocused, i = t.innerRef, l = t.innerProps, s = t.menuIsOpen;
3722
3721
  return F("div", S({
3723
3722
  ref: i
3724
- }, ee(t, "control", {
3723
+ }, te(t, "control", {
3725
3724
  control: !0,
3726
3725
  "control--is-disabled": a,
3727
3726
  "control--is-focused": r,
@@ -3735,7 +3734,7 @@ var ll = function(t, o) {
3735
3734
  };
3736
3735
  }, ml = function(t) {
3737
3736
  var o = t.children, a = t.cx, r = t.getStyles, i = t.getClassNames, l = t.Heading, s = t.headingProps, u = t.innerProps, d = t.label, m = t.theme, g = t.selectProps;
3738
- return F("div", S({}, ee(t, "group", {
3737
+ return F("div", S({}, te(t, "group", {
3739
3738
  group: !0
3740
3739
  }), u), F(l, S({}, s, {
3741
3740
  selectProps: g,
@@ -3763,7 +3762,7 @@ var ll = function(t, o) {
3763
3762
  var o = ga(t);
3764
3763
  o.data;
3765
3764
  var a = Xe(o, ul);
3766
- return F("div", S({}, ee(t, "groupHeading", {
3765
+ return F("div", S({}, te(t, "groupHeading", {
3767
3766
  "group-heading": !0
3768
3767
  }), a));
3769
3768
  }, hl = ["innerRef", "isDisabled", "isHidden", "inputClassName"], fl = function(t, o) {
@@ -3805,7 +3804,7 @@ var ll = function(t, o) {
3805
3804
  }, Aa);
3806
3805
  }, wl = function(t) {
3807
3806
  var o = t.cx, a = t.value, r = ga(t), i = r.innerRef, l = r.isDisabled, s = r.isHidden, u = r.inputClassName, d = Xe(r, hl);
3808
- return F("div", S({}, ee(t, "input", {
3807
+ return F("div", S({}, te(t, "input", {
3809
3808
  "input-container": !0
3810
3809
  }), {
3811
3810
  "data-value": a || ""
@@ -3872,20 +3871,20 @@ var Al = function(t) {
3872
3871
  var o = t.children, a = t.components, r = t.data, i = t.innerProps, l = t.isDisabled, s = t.removeProps, u = t.selectProps, d = a.Container, m = a.Label, g = a.Remove;
3873
3872
  return F(d, {
3874
3873
  data: r,
3875
- innerProps: T(T({}, ee(t, "multiValue", {
3874
+ innerProps: T(T({}, te(t, "multiValue", {
3876
3875
  "multi-value": !0,
3877
3876
  "multi-value--is-disabled": l
3878
3877
  })), i),
3879
3878
  selectProps: u
3880
3879
  }, F(m, {
3881
3880
  data: r,
3882
- innerProps: T({}, ee(t, "multiValueLabel", {
3881
+ innerProps: T({}, te(t, "multiValueLabel", {
3883
3882
  "multi-value__label": !0
3884
3883
  })),
3885
3884
  selectProps: u
3886
3885
  }, o), F(g, {
3887
3886
  data: r,
3888
- innerProps: T(T({}, ee(t, "multiValueRemove", {
3887
+ innerProps: T(T({}, te(t, "multiValueRemove", {
3889
3888
  "multi-value__remove": !0
3890
3889
  })), {}, {
3891
3890
  "aria-label": "Remove ".concat(o || "option")
@@ -3912,7 +3911,7 @@ var Al = function(t) {
3912
3911
  });
3913
3912
  }, Ml = function(t) {
3914
3913
  var o = t.children, a = t.isDisabled, r = t.isFocused, i = t.isSelected, l = t.innerRef, s = t.innerProps;
3915
- return F("div", S({}, ee(t, "option", {
3914
+ return F("div", S({}, te(t, "option", {
3916
3915
  option: !0,
3917
3916
  "option--is-disabled": a,
3918
3917
  "option--is-focused": r,
@@ -3933,7 +3932,7 @@ var Al = function(t) {
3933
3932
  });
3934
3933
  }, Bl = function(t) {
3935
3934
  var o = t.children, a = t.innerProps;
3936
- return F("div", S({}, ee(t, "placeholder", {
3935
+ return F("div", S({}, te(t, "placeholder", {
3937
3936
  placeholder: !0
3938
3937
  }), a), o);
3939
3938
  }, Fl = function(t, o) {
@@ -3952,7 +3951,7 @@ var Al = function(t) {
3952
3951
  });
3953
3952
  }, Sl = function(t) {
3954
3953
  var o = t.children, a = t.isDisabled, r = t.innerProps;
3955
- return F("div", S({}, ee(t, "singleValue", {
3954
+ return F("div", S({}, te(t, "singleValue", {
3956
3955
  "single-value": !0,
3957
3956
  "single-value--is-disabled": a
3958
3957
  }), r), o);
@@ -4085,29 +4084,29 @@ var Hl = process.env.NODE_ENV === "production" ? {
4085
4084
  }, [m]), L = Ne(function() {
4086
4085
  var z = "";
4087
4086
  if (o && k.onChange) {
4088
- var H = o.option, _ = o.options, B = o.removedValue, R = o.removedValues, O = o.value, X = function(ue) {
4087
+ var H = o.option, K = o.options, $ = o.removedValue, B = o.removedValues, G = o.value, O = function(ue) {
4089
4088
  return Array.isArray(ue) ? null : ue;
4090
- }, oe = B || H || X(O), $ = oe ? g(oe) : "", W = _ || R || void 0, ne = W ? W.map(g) : [], he = T({
4091
- isDisabled: oe && b(oe, s),
4092
- label: $,
4093
- labels: ne
4089
+ }, ee = $ || H || O(G), _ = ee ? g(ee) : "", W = K || B || void 0, re = W ? W.map(g) : [], he = T({
4090
+ isDisabled: ee && b(ee, s),
4091
+ label: _,
4092
+ labels: re
4094
4093
  }, o);
4095
4094
  z = k.onChange(he);
4096
4095
  }
4097
4096
  return z;
4098
4097
  }, [o, k, b, s, g]), M = Ne(function() {
4099
- var z = "", H = a || r, _ = !!(a && s && s.includes(a));
4098
+ var z = "", H = a || r, K = !!(a && s && s.includes(a));
4100
4099
  if (H && k.onFocus) {
4101
- var B = {
4100
+ var $ = {
4102
4101
  focused: H,
4103
4102
  label: g(H),
4104
4103
  isDisabled: b(H, s),
4105
- isSelected: _,
4104
+ isSelected: K,
4106
4105
  options: i,
4107
4106
  context: H === a ? "menu" : "value",
4108
4107
  selectValue: s
4109
4108
  };
4110
- z = k.onFocus(B);
4109
+ z = k.onFocus($);
4111
4110
  }
4112
4111
  return z;
4113
4112
  }, [a, r, g, b, k, i, s]), V = Ne(function() {
@@ -4122,7 +4121,7 @@ var Hl = process.env.NODE_ENV === "production" ? {
4122
4121
  });
4123
4122
  }
4124
4123
  return z;
4125
- }, [i, w, v, k, f, y]), Q = Ne(function() {
4124
+ }, [i, w, v, k, f, y]), U = Ne(function() {
4126
4125
  var z = "";
4127
4126
  if (k.guidance) {
4128
4127
  var H = r ? "value" : v ? "menu" : "input";
@@ -4136,18 +4135,18 @@ var Hl = process.env.NODE_ENV === "production" ? {
4136
4135
  });
4137
4136
  }
4138
4137
  return z;
4139
- }, [A, a, r, x, b, h, v, k, s, C]), j = "".concat(M, " ").concat(V, " ").concat(Q), D = F(fe, null, F("span", {
4138
+ }, [A, a, r, x, b, h, v, k, s, C]), j = "".concat(M, " ").concat(V, " ").concat(U), D = F(fe, null, F("span", {
4140
4139
  id: "aria-selection"
4141
4140
  }, L), F("span", {
4142
4141
  id: "aria-context"
4143
- }, j)), q = (o == null ? void 0 : o.action) === "initial-input-focus";
4142
+ }, j)), Q = (o == null ? void 0 : o.action) === "initial-input-focus";
4144
4143
  return F(fe, null, F(Ur, {
4145
4144
  id: d
4146
- }, q && D), F(Ur, {
4145
+ }, Q && D), F(Ur, {
4147
4146
  "aria-live": E,
4148
4147
  "aria-atomic": "false",
4149
4148
  "aria-relevant": "additions text"
4150
- }, l && !q && D));
4149
+ }, l && !Q && D));
4151
4150
  }, En = [{
4152
4151
  base: "A",
4153
4152
  letters: "A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"
@@ -5347,14 +5346,14 @@ var Ha = function(t) {
5347
5346
  }), y);
5348
5347
  if (v)
5349
5348
  return A.map(function(M, V) {
5350
- var Q = M === E, j = "".concat(r.getOptionLabel(M), "-").concat(r.getOptionValue(M));
5349
+ var U = M === E, j = "".concat(r.getOptionLabel(M), "-").concat(r.getOptionValue(M));
5351
5350
  return /* @__PURE__ */ P.createElement(l, S({}, w, {
5352
5351
  components: {
5353
5352
  Container: s,
5354
5353
  Label: u,
5355
5354
  Remove: d
5356
5355
  },
5357
- isFocused: Q,
5356
+ isFocused: U,
5358
5357
  isDisabled: h,
5359
5358
  key: j,
5360
5359
  index: V,
@@ -5365,8 +5364,8 @@ var Ha = function(t) {
5365
5364
  onTouchEnd: function() {
5366
5365
  return r.removeValue(M);
5367
5366
  },
5368
- onMouseDown: function(q) {
5369
- q.preventDefault();
5367
+ onMouseDown: function(Q) {
5368
+ Q.preventDefault();
5370
5369
  }
5371
5370
  },
5372
5371
  data: M
@@ -5443,15 +5442,15 @@ var Ha = function(t) {
5443
5442
  }, {
5444
5443
  key: "renderMenu",
5445
5444
  value: function() {
5446
- var r = this, i = this.getComponents(), l = i.Group, s = i.GroupHeading, u = i.Menu, d = i.MenuList, m = i.MenuPortal, g = i.LoadingMessage, w = i.NoOptionsMessage, x = i.Option, b = this.commonProps, h = this.state.focusedOption, v = this.props, f = v.captureMenuScroll, y = v.inputValue, C = v.isLoading, A = v.loadingMessage, E = v.minMenuHeight, k = v.maxMenuHeight, L = v.menuIsOpen, M = v.menuPlacement, V = v.menuPosition, Q = v.menuPortalTarget, j = v.menuShouldBlockScroll, D = v.menuShouldScrollIntoView, q = v.noOptionsMessage, z = v.onMenuScrollToTop, H = v.onMenuScrollToBottom;
5445
+ var r = this, i = this.getComponents(), l = i.Group, s = i.GroupHeading, u = i.Menu, d = i.MenuList, m = i.MenuPortal, g = i.LoadingMessage, w = i.NoOptionsMessage, x = i.Option, b = this.commonProps, h = this.state.focusedOption, v = this.props, f = v.captureMenuScroll, y = v.inputValue, C = v.isLoading, A = v.loadingMessage, E = v.minMenuHeight, k = v.maxMenuHeight, L = v.menuIsOpen, M = v.menuPlacement, V = v.menuPosition, U = v.menuPortalTarget, j = v.menuShouldBlockScroll, D = v.menuShouldScrollIntoView, Q = v.noOptionsMessage, z = v.onMenuScrollToTop, H = v.onMenuScrollToBottom;
5447
5446
  if (!L)
5448
5447
  return null;
5449
- var _ = function(W, ne) {
5448
+ var K = function(W, re) {
5450
5449
  var he = W.type, de = W.data, ue = W.isDisabled, ve = W.isSelected, Ee = W.label, Ge = W.value, Le = h === de, N = ue ? void 0 : function() {
5451
5450
  return r.onOptionHover(de);
5452
5451
  }, Me = ue ? void 0 : function() {
5453
5452
  return r.selectOption(de);
5454
- }, be = "".concat(r.getElementId("option"), "-").concat(ne), Fe = {
5453
+ }, be = "".concat(r.getElementId("option"), "-").concat(re), Fe = {
5455
5454
  id: be,
5456
5455
  onClick: Me,
5457
5456
  onMouseMove: N,
@@ -5470,51 +5469,51 @@ var Ha = function(t) {
5470
5469
  isFocused: Le,
5471
5470
  innerRef: Le ? r.getFocusedOptionRef : void 0
5472
5471
  }), r.formatOptionLabel(W.data, "menu"));
5473
- }, B;
5472
+ }, $;
5474
5473
  if (this.hasOptions())
5475
- B = this.getCategorizedOptions().map(function($) {
5476
- if ($.type === "group") {
5477
- var W = $.data, ne = $.options, he = $.index, de = "".concat(r.getElementId("group"), "-").concat(he), ue = "".concat(de, "-heading");
5474
+ $ = this.getCategorizedOptions().map(function(_) {
5475
+ if (_.type === "group") {
5476
+ var W = _.data, re = _.options, he = _.index, de = "".concat(r.getElementId("group"), "-").concat(he), ue = "".concat(de, "-heading");
5478
5477
  return /* @__PURE__ */ P.createElement(l, S({}, b, {
5479
5478
  key: de,
5480
5479
  data: W,
5481
- options: ne,
5480
+ options: re,
5482
5481
  Heading: s,
5483
5482
  headingProps: {
5484
5483
  id: ue,
5485
- data: $.data
5484
+ data: _.data
5486
5485
  },
5487
- label: r.formatGroupLabel($.data)
5488
- }), $.options.map(function(ve) {
5489
- return _(ve, "".concat(he, "-").concat(ve.index));
5486
+ label: r.formatGroupLabel(_.data)
5487
+ }), _.options.map(function(ve) {
5488
+ return K(ve, "".concat(he, "-").concat(ve.index));
5490
5489
  }));
5491
- } else if ($.type === "option")
5492
- return _($, "".concat($.index));
5490
+ } else if (_.type === "option")
5491
+ return K(_, "".concat(_.index));
5493
5492
  });
5494
5493
  else if (C) {
5495
- var R = A({
5494
+ var B = A({
5496
5495
  inputValue: y
5497
5496
  });
5498
- if (R === null)
5497
+ if (B === null)
5499
5498
  return null;
5500
- B = /* @__PURE__ */ P.createElement(g, b, R);
5499
+ $ = /* @__PURE__ */ P.createElement(g, b, B);
5501
5500
  } else {
5502
- var O = q({
5501
+ var G = Q({
5503
5502
  inputValue: y
5504
5503
  });
5505
- if (O === null)
5504
+ if (G === null)
5506
5505
  return null;
5507
- B = /* @__PURE__ */ P.createElement(w, b, O);
5506
+ $ = /* @__PURE__ */ P.createElement(w, b, G);
5508
5507
  }
5509
- var X = {
5508
+ var O = {
5510
5509
  minMenuHeight: E,
5511
5510
  maxMenuHeight: k,
5512
5511
  menuPlacement: M,
5513
5512
  menuPosition: V,
5514
5513
  menuShouldScrollIntoView: D
5515
- }, oe = /* @__PURE__ */ P.createElement(D0, S({}, b, X), function($) {
5516
- var W = $.ref, ne = $.placerProps, he = ne.placement, de = ne.maxHeight;
5517
- return /* @__PURE__ */ P.createElement(u, S({}, b, X, {
5514
+ }, ee = /* @__PURE__ */ P.createElement(D0, S({}, b, O), function(_) {
5515
+ var W = _.ref, re = _.placerProps, he = re.placement, de = re.maxHeight;
5516
+ return /* @__PURE__ */ P.createElement(u, S({}, b, O, {
5518
5517
  innerRef: W,
5519
5518
  innerProps: {
5520
5519
  onMouseDown: r.onMenuMouseDown,
@@ -5536,15 +5535,15 @@ var Ha = function(t) {
5536
5535
  isLoading: C,
5537
5536
  maxHeight: de,
5538
5537
  focusedOption: h
5539
- }), B);
5538
+ }), $);
5540
5539
  }));
5541
5540
  });
5542
- return Q || V === "fixed" ? /* @__PURE__ */ P.createElement(m, S({}, b, {
5543
- appendTo: Q,
5541
+ return U || V === "fixed" ? /* @__PURE__ */ P.createElement(m, S({}, b, {
5542
+ appendTo: U,
5544
5543
  controlElement: this.controlRef,
5545
5544
  menuPlacement: M,
5546
5545
  menuPosition: V
5547
- }), oe) : oe;
5546
+ }), ee) : ee;
5548
5547
  }
5549
5548
  }, {
5550
5549
  key: "renderFormField",
@@ -5664,24 +5663,24 @@ var Ha = function(t) {
5664
5663
  Oa.defaultProps = mc;
5665
5664
  var vc = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
5666
5665
  function bc(e) {
5667
- var t = e.defaultInputValue, o = t === void 0 ? "" : t, a = e.defaultMenuIsOpen, r = a === void 0 ? !1 : a, i = e.defaultValue, l = i === void 0 ? null : i, s = e.inputValue, u = e.menuIsOpen, d = e.onChange, m = e.onInputChange, g = e.onMenuClose, w = e.onMenuOpen, x = e.value, b = Xe(e, vc), h = te(s !== void 0 ? s : o), v = Be(h, 2), f = v[0], y = v[1], C = te(u !== void 0 ? u : r), A = Be(C, 2), E = A[0], k = A[1], L = te(x !== void 0 ? x : l), M = Be(L, 2), V = M[0], Q = M[1], j = ie(function(R, O) {
5668
- typeof d == "function" && d(R, O), Q(R);
5669
- }, [d]), D = ie(function(R, O) {
5670
- var X;
5671
- typeof m == "function" && (X = m(R, O)), y(X !== void 0 ? X : R);
5672
- }, [m]), q = ie(function() {
5666
+ var t = e.defaultInputValue, o = t === void 0 ? "" : t, a = e.defaultMenuIsOpen, r = a === void 0 ? !1 : a, i = e.defaultValue, l = i === void 0 ? null : i, s = e.inputValue, u = e.menuIsOpen, d = e.onChange, m = e.onInputChange, g = e.onMenuClose, w = e.onMenuOpen, x = e.value, b = Xe(e, vc), h = ne(s !== void 0 ? s : o), v = Be(h, 2), f = v[0], y = v[1], C = ne(u !== void 0 ? u : r), A = Be(C, 2), E = A[0], k = A[1], L = ne(x !== void 0 ? x : l), M = Be(L, 2), V = M[0], U = M[1], j = ie(function(B, G) {
5667
+ typeof d == "function" && d(B, G), U(B);
5668
+ }, [d]), D = ie(function(B, G) {
5669
+ var O;
5670
+ typeof m == "function" && (O = m(B, G)), y(O !== void 0 ? O : B);
5671
+ }, [m]), Q = ie(function() {
5673
5672
  typeof w == "function" && w(), k(!0);
5674
5673
  }, [w]), z = ie(function() {
5675
5674
  typeof g == "function" && g(), k(!1);
5676
- }, [g]), H = s !== void 0 ? s : f, _ = u !== void 0 ? u : E, B = x !== void 0 ? x : V;
5675
+ }, [g]), H = s !== void 0 ? s : f, K = u !== void 0 ? u : E, $ = x !== void 0 ? x : V;
5677
5676
  return T(T({}, b), {}, {
5678
5677
  inputValue: H,
5679
- menuIsOpen: _,
5678
+ menuIsOpen: K,
5680
5679
  onChange: j,
5681
5680
  onInputChange: D,
5682
5681
  onMenuClose: z,
5683
- onMenuOpen: q,
5684
- value: B
5682
+ onMenuOpen: Q,
5683
+ value: $
5685
5684
  });
5686
5685
  }
5687
5686
  var wc = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], ao = function() {
@@ -5712,29 +5711,29 @@ function xc(e) {
5712
5711
  getOptionValue: f,
5713
5712
  getOptionLabel: C
5714
5713
  }) ? m(A, l(A)) : void 0;
5715
- }, [l, m, C, f, A, u, x, L]), Q = Ne(function() {
5714
+ }, [l, m, C, f, A, u, x, L]), U = Ne(function() {
5716
5715
  return (o || !E) && V ? r === "first" ? [V].concat(lt(x)) : [].concat(lt(x), [V]) : x;
5717
- }, [o, r, E, V, x]), j = ie(function(D, q) {
5718
- if (q.action !== "select-option")
5719
- return b(D, q);
5716
+ }, [o, r, E, V, x]), j = ie(function(D, Q) {
5717
+ if (Q.action !== "select-option")
5718
+ return b(D, Q);
5720
5719
  var z = Array.isArray(D) ? D : [D];
5721
5720
  if (z[z.length - 1] === V) {
5722
5721
  if (g)
5723
5722
  g(A);
5724
5723
  else {
5725
- var H = m(A, A), _ = {
5724
+ var H = m(A, A), K = {
5726
5725
  action: "create-option",
5727
5726
  name: M,
5728
5727
  option: H
5729
5728
  };
5730
- b(st(k, [].concat(lt(Ot(L)), [H]), H), _);
5729
+ b(st(k, [].concat(lt(Ot(L)), [H]), H), K);
5731
5730
  }
5732
5731
  return;
5733
5732
  }
5734
- b(D, q);
5733
+ b(D, Q);
5735
5734
  }, [m, A, k, M, V, g, b, L]);
5736
5735
  return T(T({}, h), {}, {
5737
- options: Q,
5736
+ options: U,
5738
5737
  onChange: j
5739
5738
  });
5740
5739
  }
@@ -6057,7 +6056,7 @@ const io = {
6057
6056
  ...u
6058
6057
  }) => {
6059
6058
  var v;
6060
- const [d, m] = te({ email: "", password: "", shouldRemember: !1, ...e }), g = (f) => {
6059
+ const [d, m] = ne({ email: "", password: "", shouldRemember: !1, ...e }), g = (f) => {
6061
6060
  const { name: y, value: C } = f.target;
6062
6061
  m({ ...d, [y]: C });
6063
6062
  }, w = (f) => {
@@ -6144,10 +6143,10 @@ Nc.propTypes = {
6144
6143
  passwordResetUrl: c.string
6145
6144
  };
6146
6145
  const yn = ({ selectedDate: e, date: t, getContent: o, currentMonth: a, disabled: r = !1 }) => {
6147
- const i = G(a).isSame(t, "month");
6146
+ const i = R(a).isSame(t, "month");
6148
6147
  if (o && i)
6149
6148
  return /* @__PURE__ */ n.createElement(Za, { selectedDate: e, date: t, getContent: o });
6150
- const l = e && G(e).isSame(t, "day");
6149
+ const l = e && R(e).isSame(t, "day");
6151
6150
  return /* @__PURE__ */ n.createElement(
6152
6151
  "div",
6153
6152
  {
@@ -6168,7 +6167,7 @@ yn.propTypes = {
6168
6167
  currentMonth: c.objectOf(Date)
6169
6168
  };
6170
6169
  const Za = ({ selectedDate: e, date: t, getContent: o }) => {
6171
- const a = t.getDate(), r = o(a, t), i = e && G(e).isSame(t, "day");
6170
+ const a = t.getDate(), r = o(a, t), i = e && R(e).isSame(t, "day");
6172
6171
  return /* @__PURE__ */ n.createElement("div", { className: "ui-day-content align-center flex flex-col justify-center" }, /* @__PURE__ */ n.createElement("div", { className: I("ui-day-content-value", { "selected text-white": i }) }, a), r ? /* @__PURE__ */ n.createElement("div", { className: "ui-day-content-custom mt-1" }, r) : null);
6173
6172
  };
6174
6173
  Za.propTypes = {
@@ -6176,7 +6175,7 @@ Za.propTypes = {
6176
6175
  date: c.objectOf(Date),
6177
6176
  getContent: c.func.isRequired
6178
6177
  };
6179
- const ln = G(), Xa = ({ date: e, onChange: t, currentMonth: o }) => {
6178
+ const ln = R(), Xa = ({ date: e, onChange: t, currentMonth: o }) => {
6180
6179
  const a = [...Array.from({ length: 12 }).keys()].map((s) => ln.month(s).format("MMM")), r = [...Array.from({ length: ln.year() - 2012 + 5 + 1 }).keys()].map(
6181
6180
  (s) => ln.year(2012 + s).format("YYYY")
6182
6181
  ), i = (s) => {
@@ -6219,7 +6218,7 @@ Cn.propTypes = {
6219
6218
  onClick: c.func.isRequired,
6220
6219
  children: c.element.isRequired
6221
6220
  };
6222
- const K = {
6221
+ const q = {
6223
6222
  YESTERDAY: "P1D,yesterday",
6224
6223
  TODAY: "P1D,today",
6225
6224
  LAST_WEEK: "P1W,last week",
@@ -6239,11 +6238,11 @@ const K = {
6239
6238
  label: "Day",
6240
6239
  options: [
6241
6240
  {
6242
- value: K.YESTERDAY,
6241
+ value: q.YESTERDAY,
6243
6242
  label: "Yesterday"
6244
6243
  },
6245
6244
  {
6246
- value: K.TODAY,
6245
+ value: q.TODAY,
6247
6246
  label: "Today"
6248
6247
  }
6249
6248
  ]
@@ -6252,15 +6251,15 @@ const K = {
6252
6251
  label: "Week",
6253
6252
  options: [
6254
6253
  {
6255
- value: K.LAST_WEEK,
6254
+ value: q.LAST_WEEK,
6256
6255
  label: "Last Week"
6257
6256
  },
6258
6257
  {
6259
- value: K.TRAILING_WEEK,
6258
+ value: q.TRAILING_WEEK,
6260
6259
  label: "Trailing Week"
6261
6260
  },
6262
6261
  {
6263
- value: K.THIS_WEEK,
6262
+ value: q.THIS_WEEK,
6264
6263
  label: "This Week"
6265
6264
  }
6266
6265
  ]
@@ -6269,15 +6268,15 @@ const K = {
6269
6268
  label: "Month",
6270
6269
  options: [
6271
6270
  {
6272
- value: K.LAST_MONTH,
6271
+ value: q.LAST_MONTH,
6273
6272
  label: "Last Month"
6274
6273
  },
6275
6274
  {
6276
- value: K.TRAILING_MONTH,
6275
+ value: q.TRAILING_MONTH,
6277
6276
  label: "Trailing Month"
6278
6277
  },
6279
6278
  {
6280
- value: K.THIS_MONTH,
6279
+ value: q.THIS_MONTH,
6281
6280
  label: "This Month"
6282
6281
  }
6283
6282
  ]
@@ -6286,15 +6285,15 @@ const K = {
6286
6285
  label: "Quarter",
6287
6286
  options: [
6288
6287
  {
6289
- value: K.LAST_QUARTER,
6288
+ value: q.LAST_QUARTER,
6290
6289
  label: "Last Quarter"
6291
6290
  },
6292
6291
  {
6293
- value: K.TRAILING_QUARTER,
6292
+ value: q.TRAILING_QUARTER,
6294
6293
  label: "Trailing Quarter"
6295
6294
  },
6296
6295
  {
6297
- value: K.THIS_QUARTER,
6296
+ value: q.THIS_QUARTER,
6298
6297
  label: "This Quarter"
6299
6298
  }
6300
6299
  ]
@@ -6303,87 +6302,87 @@ const K = {
6303
6302
  label: "Year",
6304
6303
  options: [
6305
6304
  {
6306
- value: K.LAST_YEAR,
6305
+ value: q.LAST_YEAR,
6307
6306
  label: "Last Year"
6308
6307
  },
6309
6308
  {
6310
- value: K.TRAILING_YEAR,
6309
+ value: q.TRAILING_YEAR,
6311
6310
  label: "Trailing Year"
6312
6311
  },
6313
6312
  {
6314
- value: K.THIS_YEAR,
6313
+ value: q.THIS_YEAR,
6315
6314
  label: "This Year"
6316
6315
  }
6317
6316
  ]
6318
6317
  }
6319
6318
  }, Fc = {
6320
- [K.YESTERDAY]: () => {
6321
- const e = G().subtract(1, "day");
6319
+ [q.YESTERDAY]: () => {
6320
+ const e = R().subtract(1, "day");
6322
6321
  return {
6323
6322
  from: e.startOf("day").toDate(),
6324
6323
  to: e.endOf("day").toDate()
6325
6324
  };
6326
6325
  },
6327
- [K.TODAY]: () => ({
6328
- from: G().startOf("day").toDate(),
6329
- to: G().endOf("day").toDate()
6326
+ [q.TODAY]: () => ({
6327
+ from: R().startOf("day").toDate(),
6328
+ to: R().endOf("day").toDate()
6330
6329
  }),
6331
- [K.LAST_WEEK]: () => {
6332
- const e = G().subtract(7, "day");
6330
+ [q.LAST_WEEK]: () => {
6331
+ const e = R().subtract(7, "day");
6333
6332
  return {
6334
6333
  from: e.startOf("week").toDate(),
6335
6334
  to: e.endOf("week").toDate()
6336
6335
  };
6337
6336
  },
6338
- [K.TRAILING_WEEK]: () => ({
6339
- from: G().subtract(7, "day").startOf("dat").toDate(),
6340
- to: G().subtract(1, "day").endOf("day").toDate()
6337
+ [q.TRAILING_WEEK]: () => ({
6338
+ from: R().subtract(7, "day").startOf("dat").toDate(),
6339
+ to: R().subtract(1, "day").endOf("day").toDate()
6341
6340
  }),
6342
- [K.THIS_WEEK]: () => ({
6343
- from: G().startOf("week").toDate(),
6344
- to: G().endOf("week").toDate()
6341
+ [q.THIS_WEEK]: () => ({
6342
+ from: R().startOf("week").toDate(),
6343
+ to: R().endOf("week").toDate()
6345
6344
  }),
6346
- [K.LAST_MONTH]: () => {
6347
- const e = G().subtract(1, "month");
6345
+ [q.LAST_MONTH]: () => {
6346
+ const e = R().subtract(1, "month");
6348
6347
  return {
6349
6348
  from: e.startOf("month").toDate(),
6350
6349
  to: e.endOf("month").toDate()
6351
6350
  };
6352
6351
  },
6353
- [K.TRAILING_MONTH]: () => ({
6354
- from: G().subtract(1, "month").startOf("day").toDate(),
6355
- to: G().subtract(1, "day").endOf("day").toDate()
6352
+ [q.TRAILING_MONTH]: () => ({
6353
+ from: R().subtract(1, "month").startOf("day").toDate(),
6354
+ to: R().subtract(1, "day").endOf("day").toDate()
6356
6355
  }),
6357
- [K.THIS_MONTH]: () => ({
6358
- from: G().startOf("month").toDate(),
6359
- to: G().endOf("month").toDate()
6356
+ [q.THIS_MONTH]: () => ({
6357
+ from: R().startOf("month").toDate(),
6358
+ to: R().endOf("month").toDate()
6360
6359
  }),
6361
- [K.LAST_QUARTER]: () => ({
6362
- from: G().startOf("month").subtract(3, "month").toDate(),
6363
- to: G().startOf("month").subtract(1, "day").toDate()
6360
+ [q.LAST_QUARTER]: () => ({
6361
+ from: R().startOf("month").subtract(3, "month").toDate(),
6362
+ to: R().startOf("month").subtract(1, "day").toDate()
6364
6363
  }),
6365
- [K.TRAILING_QUARTER]: () => ({
6366
- from: G().subtract(3, "month").startOf("day").toDate(),
6367
- to: G().subtract(1, "day").endOf("day").toDate()
6364
+ [q.TRAILING_QUARTER]: () => ({
6365
+ from: R().subtract(3, "month").startOf("day").toDate(),
6366
+ to: R().subtract(1, "day").endOf("day").toDate()
6368
6367
  }),
6369
- [K.THIS_QUARTER]: () => ({
6370
- from: G().startOf("Q").toDate(),
6371
- to: G().endOf("Q").toDate()
6368
+ [q.THIS_QUARTER]: () => ({
6369
+ from: R().startOf("Q").toDate(),
6370
+ to: R().endOf("Q").toDate()
6372
6371
  }),
6373
- [K.LAST_YEAR]: () => {
6374
- const e = G().subtract(1, "year");
6372
+ [q.LAST_YEAR]: () => {
6373
+ const e = R().subtract(1, "year");
6375
6374
  return {
6376
6375
  from: e.startOf("year").toDate(),
6377
6376
  to: e.endOf("year").toDate()
6378
6377
  };
6379
6378
  },
6380
- [K.TRAILING_YEAR]: () => ({
6381
- from: G().subtract(1, "year").startOf("day").toDate(),
6382
- to: G().subtract(1, "day").endOf("day").toDate()
6379
+ [q.TRAILING_YEAR]: () => ({
6380
+ from: R().subtract(1, "year").startOf("day").toDate(),
6381
+ to: R().subtract(1, "day").endOf("day").toDate()
6383
6382
  }),
6384
- [K.THIS_YEAR]: () => ({
6385
- from: G().startOf("year").toDate(),
6386
- to: G().endOf("year").toDate()
6383
+ [q.THIS_YEAR]: () => ({
6384
+ from: R().startOf("year").toDate(),
6385
+ to: R().endOf("year").toDate()
6387
6386
  })
6388
6387
  }, Ua = ({
6389
6388
  ranges: e = ["day", "week", "month", "quarter", "year"],
@@ -6429,35 +6428,35 @@ const Bt = {
6429
6428
  timezoneName: b = null,
6430
6429
  ...h
6431
6430
  }) => {
6432
- var H, _;
6433
- const v = e === Bt.single ? t : t.from, [f, y] = te(v), [C, A] = te(""), E = e === Bt.range;
6431
+ var K, $;
6432
+ const v = e === Bt.single ? t : t.from, [f, y] = ne(v), [C, A] = ne(""), E = e === Bt.range;
6434
6433
  Te(() => {
6435
6434
  l == null || l(f);
6436
6435
  }, [f, l]);
6437
- const k = (B, R, O) => {
6438
- if (!R.disabled)
6436
+ const k = (B, G, O) => {
6437
+ if (!G.disabled)
6439
6438
  if (A(""), E)
6440
6439
  if (t.from && t.to)
6441
- i({ from: B, to: null }, R, O);
6440
+ i({ from: B, to: null }, G, O);
6442
6441
  else if ((t.from || t.to).getTime() === B.getTime()) {
6443
- const X = G(B).startOf("day").toDate(), oe = G(B).endOf("day").toDate();
6444
- i({ from: X, to: oe }, R, O);
6442
+ const ee = R(B).startOf("day").toDate(), _ = R(B).endOf("day").toDate();
6443
+ i({ from: ee, to: _ }, G, O);
6445
6444
  } else
6446
- i(m1.addDayToRange(B, t), R, O);
6445
+ i(m1.addDayToRange(B, t), G, O);
6447
6446
  else
6448
- i(B, R, O);
6449
- }, L = (B, R, O) => {
6447
+ i(B, G, O);
6448
+ }, L = (B, G, O) => {
6450
6449
  if (E)
6451
6450
  return;
6452
- const X = b ? G().tz(b).toDate() : new Date();
6453
- R.disabled || j(X) ? (y(X), l == null || l(X)) : i(B, R, O);
6454
- }, M = (B, R) => {
6455
- y(R.from), i(R, u, null);
6451
+ const ee = b ? R().tz(b).toDate() : new Date();
6452
+ G.disabled || j(ee) ? (y(ee), l == null || l(ee)) : i(B, G, O);
6453
+ }, M = (B, G) => {
6454
+ y(G.from), i(G, u, null);
6456
6455
  }, V = (B) => {
6457
6456
  y(B), l == null || l(B);
6458
- }, Q = r ? ({ date: B }) => /* @__PURE__ */ n.createElement(Xa, { date: B, currentMonth: f, onChange: V }) : void 0, j = (B) => i1(a) ? a.some((R) => G(R).isSame(B, "day")) : (s1(a), a(B)), D = (B) => {
6459
- const R = w == null ? void 0 : w(B), O = j(B);
6460
- return R ? /* @__PURE__ */ n.createElement(Gn, { placement: "top", content: R }, /* @__PURE__ */ n.createElement(
6457
+ }, U = r ? ({ date: B }) => /* @__PURE__ */ n.createElement(Xa, { date: B, currentMonth: f, onChange: V }) : void 0, j = (B) => i1(a) ? a.some((G) => R(G).isSame(B, "day")) : (s1(a), a(B)), D = (B) => {
6458
+ const G = w == null ? void 0 : w(B), O = j(B);
6459
+ return G ? /* @__PURE__ */ n.createElement(Gn, { placement: "top", content: G }, /* @__PURE__ */ n.createElement(
6461
6460
  yn,
6462
6461
  {
6463
6462
  disabled: O,
@@ -6476,9 +6475,9 @@ const Bt = {
6476
6475
  currentMonth: f
6477
6476
  }
6478
6477
  );
6479
- }, q = E ? { start: t.from, end: t.to } : null, z = E && ((H = t.from) == null ? void 0 : H.getTime()) !== ((_ = t.to) == null ? void 0 : _.getTime());
6478
+ }, Q = E ? { start: t.from, end: t.to } : null, z = E && ((K = t.from) == null ? void 0 : K.getTime()) !== (($ = t.to) == null ? void 0 : $.getTime()), H = R.isDayjs(t) || E ? t : R(t).toDate();
6480
6479
  return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("div", { className: "flex" }, x ? /* @__PURE__ */ n.createElement("div", { className: "rounded-l-lg border-r border-gray pt-8" }, /* @__PURE__ */ n.createElement("p", { className: "mb-2 px-6 text-lg font-bold" }, "Upcoming"), (x == null ? void 0 : x.length) > 0 ? /* @__PURE__ */ n.createElement("div", { className: "mt-5" }, x == null ? void 0 : x.map((B) => {
6481
- const R = G(B).isSame(G(t), "day"), O = G(B).format();
6480
+ const G = R(B).isSame(R(t), "day"), O = R(B).format();
6482
6481
  return /* @__PURE__ */ n.createElement(
6483
6482
  "div",
6484
6483
  {
@@ -6487,13 +6486,13 @@ const Bt = {
6487
6486
  className: I(
6488
6487
  "mx-6 mt-3 flex min-w-40 cursor-pointer items-center justify-center",
6489
6488
  "rounded border border-gray py-3 hover:border-blue hover:bg-blue hover:text-white",
6490
- { "border-blue bg-blue text-white": R }
6489
+ { "border-blue bg-blue text-white": G }
6491
6490
  ),
6492
- onClick: (X) => {
6493
- k(B, {}, X), V(B);
6491
+ onClick: (ee) => {
6492
+ k(B, {}, ee), V(B);
6494
6493
  }
6495
6494
  },
6496
- G(B).format("ddd DD MMMM")
6495
+ R(B).format("ddd DD MMMM")
6497
6496
  );
6498
6497
  })) : /* @__PURE__ */ n.createElement("div", { className: "mx-6 mt-7 max-w-40 items-center justify-center rounded bg-yellow-lighter p-3" }, "There is no future availability for this product.")) : null, /* @__PURE__ */ n.createElement(
6499
6498
  d1,
@@ -6506,12 +6505,12 @@ const Bt = {
6506
6505
  u.waitlist ? "has-custom-content" : null
6507
6506
  ),
6508
6507
  todayButton: e === "single" ? "Today" : void 0,
6509
- selectedDays: t,
6508
+ selectedDays: H,
6510
6509
  month: f,
6511
- modifiers: { ...u, ...q },
6510
+ modifiers: { ...u, ...Q },
6512
6511
  numberOfMonths: E ? 2 : 1,
6513
6512
  disabledDays: a,
6514
- captionElement: Q,
6513
+ captionElement: U,
6515
6514
  renderDay: D,
6516
6515
  navbarElement: Ja,
6517
6516
  onDayClick: k,
@@ -6634,9 +6633,9 @@ var qa = { exports: {} };
6634
6633
  function b(h) {
6635
6634
  var v, f;
6636
6635
  v = h, f = s && s.formats;
6637
- for (var y = (h = v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(V, Q, j) {
6636
+ for (var y = (h = v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(V, U, j) {
6638
6637
  var D = j && j.toUpperCase();
6639
- return Q || f[j] || o[j] || f[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(q, z, H) {
6638
+ return U || f[j] || o[j] || f[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(Q, z, H) {
6640
6639
  return z || H.slice(1);
6641
6640
  });
6642
6641
  })).match(a), C = y.length, A = 0; A < C; A += 1) {
@@ -6644,22 +6643,22 @@ var qa = { exports: {} };
6644
6643
  y[A] = M ? { regex: L, parser: M } : E.replace(/^\[|\]$/g, "");
6645
6644
  }
6646
6645
  return function(V) {
6647
- for (var Q = {}, j = 0, D = 0; j < C; j += 1) {
6648
- var q = y[j];
6649
- if (typeof q == "string")
6650
- D += q.length;
6646
+ for (var U = {}, j = 0, D = 0; j < C; j += 1) {
6647
+ var Q = y[j];
6648
+ if (typeof Q == "string")
6649
+ D += Q.length;
6651
6650
  else {
6652
- var z = q.regex, H = q.parser, _ = V.substr(D), B = z.exec(_)[0];
6653
- H.call(Q, B), V = V.replace(B, "");
6651
+ var z = Q.regex, H = Q.parser, K = V.substr(D), $ = z.exec(K)[0];
6652
+ H.call(U, $), V = V.replace($, "");
6654
6653
  }
6655
6654
  }
6656
- return function(R) {
6657
- var O = R.afternoon;
6658
- if (O !== void 0) {
6659
- var X = R.hours;
6660
- O ? X < 12 && (R.hours += 12) : X === 12 && (R.hours = 0), delete R.afternoon;
6655
+ return function(B) {
6656
+ var G = B.afternoon;
6657
+ if (G !== void 0) {
6658
+ var O = B.hours;
6659
+ G ? O < 12 && (B.hours += 12) : O === 12 && (B.hours = 0), delete B.afternoon;
6661
6660
  }
6662
- }(Q), Q;
6661
+ }(U), U;
6663
6662
  };
6664
6663
  }
6665
6664
  return function(h, v, f) {
@@ -6670,28 +6669,28 @@ var qa = { exports: {} };
6670
6669
  this.$u = k;
6671
6670
  var M = L[1];
6672
6671
  if (typeof M == "string") {
6673
- var V = L[2] === !0, Q = L[3] === !0, j = V || Q, D = L[2];
6674
- Q && (D = L[2]), s = this.$locale(), !V && D && (s = f.Ls[D]), this.$d = function(_, B, R) {
6672
+ var V = L[2] === !0, U = L[3] === !0, j = V || U, D = L[2];
6673
+ U && (D = L[2]), s = this.$locale(), !V && D && (s = f.Ls[D]), this.$d = function(K, $, B) {
6675
6674
  try {
6676
- if (["x", "X"].indexOf(B) > -1)
6677
- return new Date((B === "X" ? 1e3 : 1) * _);
6678
- var O = b(B)(_), X = O.year, oe = O.month, $ = O.day, W = O.hours, ne = O.minutes, he = O.seconds, de = O.milliseconds, ue = O.zone, ve = new Date(), Ee = $ || (X || oe ? 1 : ve.getDate()), Ge = X || ve.getFullYear(), Le = 0;
6679
- X && !oe || (Le = oe > 0 ? oe - 1 : ve.getMonth());
6680
- var N = W || 0, Me = ne || 0, be = he || 0, Fe = de || 0;
6681
- return ue ? new Date(Date.UTC(Ge, Le, Ee, N, Me, be, Fe + 60 * ue.offset * 1e3)) : R ? new Date(Date.UTC(Ge, Le, Ee, N, Me, be, Fe)) : new Date(Ge, Le, Ee, N, Me, be, Fe);
6675
+ if (["x", "X"].indexOf($) > -1)
6676
+ return new Date(($ === "X" ? 1e3 : 1) * K);
6677
+ var G = b($)(K), O = G.year, ee = G.month, _ = G.day, W = G.hours, re = G.minutes, he = G.seconds, de = G.milliseconds, ue = G.zone, ve = new Date(), Ee = _ || (O || ee ? 1 : ve.getDate()), Ge = O || ve.getFullYear(), Le = 0;
6678
+ O && !ee || (Le = ee > 0 ? ee - 1 : ve.getMonth());
6679
+ var N = W || 0, Me = re || 0, be = he || 0, Fe = de || 0;
6680
+ return ue ? new Date(Date.UTC(Ge, Le, Ee, N, Me, be, Fe + 60 * ue.offset * 1e3)) : B ? new Date(Date.UTC(Ge, Le, Ee, N, Me, be, Fe)) : new Date(Ge, Le, Ee, N, Me, be, Fe);
6682
6681
  } catch {
6683
6682
  return new Date("");
6684
6683
  }
6685
6684
  }(E, M, k), this.init(), D && D !== !0 && (this.$L = this.locale(D).$L), j && E != this.format(M) && (this.$d = new Date("")), s = {};
6686
6685
  } else if (M instanceof Array)
6687
- for (var q = M.length, z = 1; z <= q; z += 1) {
6686
+ for (var Q = M.length, z = 1; z <= Q; z += 1) {
6688
6687
  L[1] = M[z - 1];
6689
6688
  var H = f.apply(this, L);
6690
6689
  if (H.isValid()) {
6691
6690
  this.$d = H.$d, this.$L = H.$L, this.init();
6692
6691
  break;
6693
6692
  }
6694
- z === q && (this.$d = new Date(""));
6693
+ z === Q && (this.$d = new Date(""));
6695
6694
  }
6696
6695
  else
6697
6696
  C.call(this, A);
@@ -6728,13 +6727,13 @@ var Ka = { exports: {} };
6728
6727
  });
6729
6728
  })(Ka);
6730
6729
  const Vc = Ka.exports;
6731
- G.extend(Tc);
6732
- G.extend(Sc);
6733
- G.extend(Vc);
6734
- const Rc = (e, t = "YYYY-MM-DD") => G(e).format(t), V4 = (e, t = "h:mm a") => {
6730
+ R.extend(Tc);
6731
+ R.extend(Sc);
6732
+ R.extend(Vc);
6733
+ const Rc = (e, t = "YYYY-MM-DD") => R(e).format(t), V4 = (e, t = "h:mm a") => {
6735
6734
  const o = String(e).padStart(4, 0);
6736
- return G(o, "hhmm").format(t);
6737
- }, R4 = (e) => G(new Date(Number.parseInt(e.slice(0, 8), 16) * 1e3)), Gc = ({
6735
+ return R(o, "hhmm").format(t);
6736
+ }, R4 = (e) => R(new Date(Number.parseInt(e.slice(0, 8), 16) * 1e3)), Gc = ({
6738
6737
  value: e,
6739
6738
  variant: t = "single",
6740
6739
  dateFormat: o = "ddd, LL",
@@ -6746,7 +6745,7 @@ const Rc = (e, t = "YYYY-MM-DD") => G(e).format(t), V4 = (e, t = "h:mm a") => {
6746
6745
  getDayContent: u,
6747
6746
  ...d
6748
6747
  }) => {
6749
- const [m, g] = te(e), [w, x] = te(!1), b = () => {
6748
+ const [m, g] = ne(e), [w, x] = ne(!1), b = () => {
6750
6749
  x(!w);
6751
6750
  }, h = (y, C, A) => {
6752
6751
  t === "single" ? (a == null || a(y, C, A), b()) : a == null || a(y, m, C, A);
@@ -6845,7 +6844,7 @@ const Dc = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
6845
6844
  requirements: u = null,
6846
6845
  ...d
6847
6846
  }) => {
6848
- const m = me(), [g, w] = te(0), x = () => {
6847
+ const m = me(), [g, w] = ne(0), x = () => {
6849
6848
  m.current.click();
6850
6849
  }, b = (v) => {
6851
6850
  const [f] = v.target.files;