@hiver/connector-admin 4.18.0-themeMode-beta.3 → 4.18.0-themeMode-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js CHANGED
@@ -5,7 +5,7 @@ var Rf = (e) => {
5
5
  var Fy = (e, t, n) => t in e ? Ly(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
6
  var Zu = (e, t, n) => Fy(e, typeof t != "symbol" ? t + "" : t, n), $u = (e, t, n) => t.has(e) || Rf("Cannot " + n);
7
7
  var V = (e, t, n) => ($u(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Je = (e, t, n) => t.has(e) ? Rf("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Pe = (e, t, n, r) => ($u(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), At = (e, t, n) => ($u(e, t, "access private method"), n);
8
- var ac = (e, t, n, r) => ({
8
+ var Ac = (e, t, n, r) => ({
9
9
  set _(o) {
10
10
  Pe(e, t, o, n);
11
11
  },
@@ -14,12 +14,12 @@ var ac = (e, t, n, r) => ({
14
14
  }
15
15
  });
16
16
  import * as x from "react";
17
- import pe, { useState as ne, useRef as De, useSyncExternalStore as Py, useLayoutEffect as Us, useEffect as fe, isValidElement as Sa, cloneElement as td, createContext as Wo, Suspense as TC, useContext as Ve, useMemo as ve, useCallback as qe, memo as Ny, useReducer as _C, Fragment as fl, Component as ru, forwardRef as ou } from "react";
17
+ import pe, { useState as ne, useRef as De, useSyncExternalStore as Py, useLayoutEffect as Us, useEffect as fe, isValidElement as Sa, cloneElement as td, createContext as Wo, Suspense as TC, useContext as Ve, useMemo as ve, useCallback as qe, memo as Ny, useReducer as _C, Fragment as Il, Component as ou, forwardRef as iu } from "react";
18
18
  import * as My from "react-dom";
19
- import jB, { unstable_batchedUpdates as Ac, createPortal as iu, render as ky, unmountComponentAtNode as jy } from "react-dom";
20
- import { HiverProvider as Il, styled as S, Stack as W, Box as $, theme as T, Typography as ee, Skeleton as ln, Icon as ca, CircularProgress as qr, palette as ir, Button as rt, Tab as eA, Chip as EA, Alert as Ta, icons as ut, Dialog as Vs, Tooltip as st, IconButton as _n, brandIcons as UB, tooltipClasses as Kr, Checkbox as jo, TextField as Hs, Autocomplete as tA, Tabs as au, Grid as Au, Switch as RC, DatePicker as Uy, DateTextField as Vy, InputAdornment as Hy, LinearProgress as Gy, ListSubheader as Pc, InputBase as VB, MenuItem as ya, FormControl as DC, Select as OC, Paper as Wy, Popper as zy, ClickAwayListener as HB, Accordion as GB, AccordionSummary as WB, accordionSummaryClasses as zB, AccordionDetails as YB, Snackbar as JB, Link as KB, ScopedCssBaseline as Yy, createTheme as LC, GlobalStyles as Df, DialogCloseButton as Jy, MenuSearch as Ky, MenuScrollable as Xy, RadioGroup as qy, FormControlLabel as Zy, Radio as $y, useTheme as e2 } from "@hiver/hiver-ui-kit";
19
+ import jB, { unstable_batchedUpdates as sc, createPortal as au, render as ky, unmountComponentAtNode as jy } from "react-dom";
20
+ import { HiverProvider as pl, styled as S, Stack as W, Box as $, theme as T, Typography as ee, Skeleton as ln, Icon as ca, CircularProgress as qr, palette as ir, Button as rt, Tab as eA, Chip as EA, Alert as Ta, icons as ut, Dialog as Vs, Tooltip as st, IconButton as _n, brandIcons as UB, tooltipClasses as Kr, Checkbox as jo, TextField as Hs, Autocomplete as tA, Tabs as Au, Grid as su, Switch as RC, DatePicker as Uy, DateTextField as Vy, InputAdornment as Hy, LinearProgress as Gy, ListSubheader as Nc, InputBase as VB, MenuItem as ya, FormControl as DC, Select as OC, Paper as Wy, Popper as zy, ClickAwayListener as HB, Accordion as GB, AccordionSummary as WB, accordionSummaryClasses as zB, AccordionDetails as YB, Snackbar as JB, Link as KB, ScopedCssBaseline as Yy, createTheme as LC, GlobalStyles as Df, DialogCloseButton as Jy, MenuSearch as Ky, MenuScrollable as Xy, RadioGroup as qy, FormControlLabel as Zy, Radio as $y, useTheme as e2 } from "@hiver/hiver-ui-kit";
21
21
  var tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
22
- function su(e) {
22
+ function cu(e) {
23
23
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
24
24
  }
25
25
  function t2(e) {
@@ -684,7 +684,7 @@ function Ci() {
684
684
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = XB(e)) && (r && (r += " "), r += t);
685
685
  return r;
686
686
  }
687
- const ps = (e) => typeof e == "number" && !isNaN(e), qi = (e) => typeof e == "string", Ir = (e) => typeof e == "function", Nc = (e) => qi(e) || Ir(e) ? e : null, rd = (e) => Sa(e) || qi(e) || Ir(e) || ps(e);
687
+ const ps = (e) => typeof e == "number" && !isNaN(e), qi = (e) => typeof e == "string", Ir = (e) => typeof e == "function", Mc = (e) => qi(e) || Ir(e) ? e : null, rd = (e) => Sa(e) || qi(e) || Ir(e) || ps(e);
688
688
  function o2(e, t, n) {
689
689
  n === void 0 && (n = 300);
690
690
  const { scrollHeight: r, style: o } = e;
@@ -694,7 +694,7 @@ function o2(e, t, n) {
694
694
  });
695
695
  });
696
696
  }
697
- function cu(e) {
697
+ function lu(e) {
698
698
  let { enter: t, exit: n, appendPosition: r = !1, collapse: o = !0, collapseDuration: i = 300 } = e;
699
699
  return function(a) {
700
700
  let { children: A, position: s, preventExitTransition: l, done: u, nodeRef: g, isIn: E, playToast: p } = a;
@@ -769,7 +769,7 @@ function a2(e) {
769
769
  const re = { ...I, style: I.toastStyle, key: p++, ...Object.fromEntries(Object.entries(w).filter((O) => {
770
770
  let [j, H] = O;
771
771
  return H != null;
772
- })), toastId: M, updateId: L, data: F, closeToast: z, isIn: !1, className: Nc(w.className || I.toastClassName), bodyClassName: Nc(w.bodyClassName || I.bodyClassName), progressClassName: Nc(w.progressClassName || I.progressClassName), autoClose: !w.isLoading && (le = w.autoClose, Y = I.autoClose, le === !1 || ps(le) && le > 0 ? le : Y), deleteToast() {
772
+ })), toastId: M, updateId: L, data: F, closeToast: z, isIn: !1, className: Mc(w.className || I.toastClassName), bodyClassName: Mc(w.bodyClassName || I.bodyClassName), progressClassName: Mc(w.progressClassName || I.progressClassName), autoClose: !w.isLoading && (le = w.autoClose, Y = I.autoClose, le === !1 || ps(le) && le > 0 ? le : Y), deleteToast() {
773
773
  const O = B.get(M), { onClose: j, children: H } = O.props;
774
774
  Ir(j) && j(Sa(H) && H.props), E(Ff(O, "removed")), B.delete(M), f--, f < 0 && (f = 0), C.length > 0 ? y(C.shift()) : Q();
775
775
  } };
@@ -868,16 +868,16 @@ function l2(e) {
868
868
  function ls(e, t) {
869
869
  return $B(e, t), t.toastId;
870
870
  }
871
- function pl(e, t) {
871
+ function hl(e, t) {
872
872
  return { ...t, type: t && t.type || e, toastId: l2(t) };
873
873
  }
874
- function sc(e) {
875
- return (t, n) => ls(t, pl(e, n));
874
+ function cc(e) {
875
+ return (t, n) => ls(t, hl(e, n));
876
876
  }
877
877
  function Et(e, t) {
878
- return ls(e, pl("default", t));
878
+ return ls(e, hl("default", t));
879
879
  }
880
- Et.loading = (e, t) => ls(e, pl("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), Et.promise = function(e, t, n) {
880
+ Et.loading = (e, t) => ls(e, hl("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), Et.promise = function(e, t, n) {
881
881
  let r, { pending: o, error: i, success: a } = t;
882
882
  o && (r = qi(o) ? Et.loading(o, n) : Et.loading(o.render, { ...n, ...o }));
883
883
  const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, s = (u, g, E) => {
@@ -886,7 +886,7 @@ Et.loading = (e, t) => ls(e, pl("default", { isLoading: !0, autoClose: !1, close
886
886
  return r ? Et.update(r, { ...p, ...f }) : Et(f.render, { ...p, ...f }), E;
887
887
  }, l = Ir(e) ? e() : e;
888
888
  return l.then((u) => s("success", a, u)).catch((u) => s("error", i, u)), l;
889
- }, Et.success = sc("success"), Et.info = sc("info"), Et.error = sc("error"), Et.warning = sc("warning"), Et.warn = Et.warning, Et.dark = (e, t) => ls(e, pl("default", { theme: "dark", ...t })), Et.dismiss = function(e) {
889
+ }, Et.success = cc("success"), Et.info = cc("info"), Et.error = cc("error"), Et.warning = cc("warning"), Et.warn = Et.warning, Et.dark = (e, t) => ls(e, hl("default", { theme: "dark", ...t })), Et.dismiss = function(e) {
890
890
  (function(t) {
891
891
  var n;
892
892
  if (qB()) {
@@ -925,17 +925,17 @@ Et.loading = (e, t) => ls(e, pl("default", { isLoading: !0, autoClose: !1, close
925
925
  od.delete(e);
926
926
  };
927
927
  }, Et.play = (e) => Pf(!0, e), Et.pause = (e) => Pf(!1, e);
928
- const u2 = typeof window < "u" ? Us : fe, cc = (e) => {
928
+ const u2 = typeof window < "u" ? Us : fe, lc = (e) => {
929
929
  let { theme: t, type: n, isLoading: r, ...o } = e;
930
930
  return pe.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...o });
931
931
  }, eg = { info: function(e) {
932
- return pe.createElement(cc, { ...e }, pe.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
932
+ return pe.createElement(lc, { ...e }, pe.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
933
933
  }, warning: function(e) {
934
- return pe.createElement(cc, { ...e }, pe.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
934
+ return pe.createElement(lc, { ...e }, pe.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
935
935
  }, success: function(e) {
936
- return pe.createElement(cc, { ...e }, pe.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
936
+ return pe.createElement(lc, { ...e }, pe.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
937
937
  }, error: function(e) {
938
- return pe.createElement(cc, { ...e }, pe.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
938
+ return pe.createElement(lc, { ...e }, pe.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
939
939
  }, spinner: function() {
940
940
  return pe.createElement("div", { className: "Toastify__spinner" });
941
941
  } }, g2 = (e) => {
@@ -951,19 +951,19 @@ const u2 = typeof window < "u" ? Us : fe, cc = (e) => {
951
951
  Z.stopPropagation(), O(Z);
952
952
  }, "aria-label": H }, pe.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, pe.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
953
953
  }(Y)), pe.createElement(p, { isIn: L, done: M, position: f, preventExitTransition: n, nodeRef: r, playToast: i }, pe.createElement("div", { id: w, onClick: l, "data-in": L, className: X, ...o, style: d, ref: r }, pe.createElement("div", { ...L && { role: b }, className: Ir(h) ? h({ type: u }) : Ci("Toastify__toast-body", h), style: I }, re != null && pe.createElement("div", { className: Ci("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !F }) }, re), pe.createElement("div", null, A)), P, pe.createElement(s2, { ...Q && !le ? { key: `pb-${Q}` } : {}, rtl: v, theme: R, delay: s, isRunning: t, isIn: L, closeToast: E, hide: g, type: u, style: m, className: B, controlledProgress: le, progress: y || 0 })));
954
- }, lu = function(e, t) {
954
+ }, uu = function(e, t) {
955
955
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
956
- }, d2 = cu(lu("bounce", !0));
957
- cu(lu("slide", !0));
958
- cu(lu("zoom"));
959
- cu(lu("flip"));
956
+ }, d2 = lu(uu("bounce", !0));
957
+ lu(uu("slide", !0));
958
+ lu(uu("zoom"));
959
+ lu(uu("flip"));
960
960
  const C2 = { position: "top-right", transition: d2, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
961
961
  function tm(e) {
962
962
  let t = { ...C2, ...e };
963
963
  const n = e.stacked, [r, o] = ne(!0), i = De(null), { getToastToRender: a, isToastActive: A, count: s } = a2(t), { className: l, style: u, rtl: g, containerId: E } = t;
964
964
  function p(C) {
965
965
  const d = Ci("Toastify__toast-container", `Toastify__toast-container--${C}`, { "Toastify__toast-container--rtl": g });
966
- return Ir(l) ? l({ position: C, rtl: g, defaultClassName: d }) : Ci(d, Nc(l));
966
+ return Ir(l) ? l({ position: C, rtl: g, defaultClassName: d }) : Ci(d, Mc(l));
967
967
  }
968
968
  function f() {
969
969
  n && (o(!0), Et.play());
@@ -1577,7 +1577,7 @@ function PC(e) {
1577
1577
  return l = l || r.length !== Object.keys(A).length, l ? u : A;
1578
1578
  };
1579
1579
  }
1580
- function hl(...e) {
1580
+ function Bl(...e) {
1581
1581
  return e.length === 0 ? (t) => t : e.length === 1 ? e[0] : e.reduce((t, n) => (...r) => t(n(...r)));
1582
1582
  }
1583
1583
  function j2(...e) {
@@ -1590,7 +1590,7 @@ function j2(...e) {
1590
1590
  getState: o.getState,
1591
1591
  dispatch: (s, ...l) => i(s, ...l)
1592
1592
  }, A = e.map((s) => s(a));
1593
- return i = hl(...A)(o.dispatch), {
1593
+ return i = Bl(...A)(o.dispatch), {
1594
1594
  ...o,
1595
1595
  dispatch: i
1596
1596
  };
@@ -1645,7 +1645,7 @@ function ea(e) {
1645
1645
  }
1646
1646
  function Ho(e) {
1647
1647
  var t;
1648
- return e ? um(e) || Array.isArray(e) || !!e[Gf] || !!((t = e.constructor) != null && t[Gf]) || gu(e) || du(e) : !1;
1648
+ return e ? um(e) || Array.isArray(e) || !!e[Gf] || !!((t = e.constructor) != null && t[Gf]) || du(e) || Cu(e) : !1;
1649
1649
  }
1650
1650
  var V2 = Object.prototype.constructor.toString();
1651
1651
  function um(e) {
@@ -1657,38 +1657,38 @@ function um(e) {
1657
1657
  const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
1658
1658
  return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === V2;
1659
1659
  }
1660
- function Bl(e, t) {
1661
- uu(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
1660
+ function ml(e, t) {
1661
+ gu(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
1662
1662
  t(n, e[n], e);
1663
1663
  }) : e.forEach((n, r) => t(r, n, e));
1664
1664
  }
1665
- function uu(e) {
1665
+ function gu(e) {
1666
1666
  const t = e[Qr];
1667
- return t ? t.type_ : Array.isArray(e) ? 1 : gu(e) ? 2 : du(e) ? 3 : 0;
1667
+ return t ? t.type_ : Array.isArray(e) ? 1 : du(e) ? 2 : Cu(e) ? 3 : 0;
1668
1668
  }
1669
1669
  function ad(e, t) {
1670
- return uu(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
1670
+ return gu(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
1671
1671
  }
1672
1672
  function gm(e, t, n) {
1673
- const r = uu(e);
1673
+ const r = gu(e);
1674
1674
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
1675
1675
  }
1676
1676
  function H2(e, t) {
1677
1677
  return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
1678
1678
  }
1679
- function gu(e) {
1679
+ function du(e) {
1680
1680
  return e instanceof Map;
1681
1681
  }
1682
- function du(e) {
1682
+ function Cu(e) {
1683
1683
  return e instanceof Set;
1684
1684
  }
1685
1685
  function Ri(e) {
1686
1686
  return e.copy_ || e.base_;
1687
1687
  }
1688
1688
  function Ad(e, t) {
1689
- if (gu(e))
1690
- return new Map(e);
1691
1689
  if (du(e))
1690
+ return new Map(e);
1691
+ if (Cu(e))
1692
1692
  return new Set(e);
1693
1693
  if (Array.isArray(e))
1694
1694
  return Array.prototype.slice.call(e);
@@ -1717,12 +1717,12 @@ function Ad(e, t) {
1717
1717
  }
1718
1718
  }
1719
1719
  function NC(e, t = !1) {
1720
- return Cu(e) || ea(e) || !Ho(e) || (uu(e) > 1 && (e.set = e.add = e.clear = e.delete = G2), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => NC(r, !0))), e;
1720
+ return Eu(e) || ea(e) || !Ho(e) || (gu(e) > 1 && (e.set = e.add = e.clear = e.delete = G2), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => NC(r, !0))), e;
1721
1721
  }
1722
1722
  function G2() {
1723
1723
  ar(2);
1724
1724
  }
1725
- function Cu(e) {
1725
+ function Eu(e) {
1726
1726
  return Object.isFrozen(e);
1727
1727
  }
1728
1728
  var W2 = {};
@@ -1764,34 +1764,34 @@ function Y2(e) {
1764
1764
  function Yf(e, t) {
1765
1765
  t.unfinalizedDrafts_ = t.drafts_.length;
1766
1766
  const n = t.drafts_[0];
1767
- return e !== void 0 && e !== n ? (n[Qr].modified_ && (sd(t), ar(4)), Ho(e) && (e = ml(t, e), t.parent_ || Ql(t, e)), t.patches_ && ta("Patches").generateReplacementPatches_(
1767
+ return e !== void 0 && e !== n ? (n[Qr].modified_ && (sd(t), ar(4)), Ho(e) && (e = Ql(t, e), t.parent_ || vl(t, e)), t.patches_ && ta("Patches").generateReplacementPatches_(
1768
1768
  n[Qr].base_,
1769
1769
  e,
1770
1770
  t.patches_,
1771
1771
  t.inversePatches_
1772
- )) : e = ml(t, n, []), sd(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== lm ? e : void 0;
1772
+ )) : e = Ql(t, n, []), sd(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== lm ? e : void 0;
1773
1773
  }
1774
- function ml(e, t, n) {
1775
- if (Cu(t))
1774
+ function Ql(e, t, n) {
1775
+ if (Eu(t))
1776
1776
  return t;
1777
1777
  const r = t[Qr];
1778
1778
  if (!r)
1779
- return Bl(
1779
+ return ml(
1780
1780
  t,
1781
1781
  (o, i) => Jf(e, r, t, o, i, n)
1782
1782
  ), t;
1783
1783
  if (r.scope_ !== e)
1784
1784
  return t;
1785
1785
  if (!r.modified_)
1786
- return Ql(e, r.base_, !0), r.base_;
1786
+ return vl(e, r.base_, !0), r.base_;
1787
1787
  if (!r.finalized_) {
1788
1788
  r.finalized_ = !0, r.scope_.unfinalizedDrafts_--;
1789
1789
  const o = r.copy_;
1790
1790
  let i = o, a = !1;
1791
- r.type_ === 3 && (i = new Set(o), o.clear(), a = !0), Bl(
1791
+ r.type_ === 3 && (i = new Set(o), o.clear(), a = !0), ml(
1792
1792
  i,
1793
1793
  (A, s) => Jf(e, r, o, A, s, n, a)
1794
- ), Ql(e, o, !1), n && e.patches_ && ta("Patches").generatePatches_(
1794
+ ), vl(e, o, !1), n && e.patches_ && ta("Patches").generatePatches_(
1795
1795
  r,
1796
1796
  n,
1797
1797
  e.patches_,
@@ -1803,19 +1803,19 @@ function ml(e, t, n) {
1803
1803
  function Jf(e, t, n, r, o, i, a) {
1804
1804
  if (process.env.NODE_ENV !== "production" && o === n && ar(5), ea(o)) {
1805
1805
  const A = i && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
1806
- !ad(t.assigned_, r) ? i.concat(r) : void 0, s = ml(e, o, A);
1806
+ !ad(t.assigned_, r) ? i.concat(r) : void 0, s = Ql(e, o, A);
1807
1807
  if (gm(n, r, s), ea(s))
1808
1808
  e.canAutoFreeze_ = !1;
1809
1809
  else
1810
1810
  return;
1811
1811
  } else a && n.add(o);
1812
- if (Ho(o) && !Cu(o)) {
1812
+ if (Ho(o) && !Eu(o)) {
1813
1813
  if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
1814
1814
  return;
1815
- ml(e, o), (!t || !t.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && Ql(e, o);
1815
+ Ql(e, o), (!t || !t.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && vl(e, o);
1816
1816
  }
1817
1817
  }
1818
- function Ql(e, t, n = !1) {
1818
+ function vl(e, t, n = !1) {
1819
1819
  !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && NC(t, n);
1820
1820
  }
1821
1821
  function J2(e, t) {
@@ -1903,7 +1903,7 @@ var MC = {
1903
1903
  ar(12);
1904
1904
  }
1905
1905
  }, ms = {};
1906
- Bl(MC, (e, t) => {
1906
+ ml(MC, (e, t) => {
1907
1907
  ms[e] = function() {
1908
1908
  return arguments[0] = arguments[0][0], t.apply(this, arguments);
1909
1909
  };
@@ -2031,14 +2031,14 @@ var X2 = class {
2031
2031
  }
2032
2032
  };
2033
2033
  function ud(e, t) {
2034
- const n = gu(e) ? ta("MapSet").proxyMap_(e, t) : du(e) ? ta("MapSet").proxySet_(e, t) : J2(e, t);
2034
+ const n = du(e) ? ta("MapSet").proxyMap_(e, t) : Cu(e) ? ta("MapSet").proxySet_(e, t) : J2(e, t);
2035
2035
  return (t ? t.scope_ : dm()).drafts_.push(n), n;
2036
2036
  }
2037
2037
  function q2(e) {
2038
2038
  return ea(e) || ar(10, e), Em(e);
2039
2039
  }
2040
2040
  function Em(e) {
2041
- if (!Ho(e) || Cu(e))
2041
+ if (!Ho(e) || Eu(e))
2042
2042
  return e;
2043
2043
  const t = e[Qr];
2044
2044
  let n;
@@ -2048,7 +2048,7 @@ function Em(e) {
2048
2048
  t.finalized_ = !0, n = Ad(e, t.scope_.immer_.useStrictShallowCopy_);
2049
2049
  } else
2050
2050
  n = Ad(e, !0);
2051
- return Bl(n, (r, o) => {
2051
+ return ml(n, (r, o) => {
2052
2052
  gm(n, r, Em(o));
2053
2053
  }), t && (t.finalized_ = !1), n;
2054
2054
  }
@@ -2066,7 +2066,7 @@ function Im(e) {
2066
2066
  }
2067
2067
  var Z2 = Im(), $2 = Im, ex = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
2068
2068
  if (arguments.length !== 0)
2069
- return typeof arguments[0] == "object" ? hl : hl.apply(null, arguments);
2069
+ return typeof arguments[0] == "object" ? Bl : Bl.apply(null, arguments);
2070
2070
  }, pm = (e) => e && typeof e.match == "function";
2071
2071
  function us(e, t) {
2072
2072
  function n(...r) {
@@ -2330,7 +2330,7 @@ Take a look at the reducer(s) handling this action type: ${p.type}.
2330
2330
  };
2331
2331
  }
2332
2332
  }
2333
- function lc(e) {
2333
+ function uc(e) {
2334
2334
  return typeof e == "boolean";
2335
2335
  }
2336
2336
  var sx = () => function(t) {
@@ -2341,18 +2341,18 @@ var sx = () => function(t) {
2341
2341
  actionCreatorCheck: i = !0
2342
2342
  } = t ?? {};
2343
2343
  let a = new Bm();
2344
- if (n && (lc(n) ? a.push(Z2) : a.push($2(n.extraArgument))), process.env.NODE_ENV !== "production") {
2344
+ if (n && (uc(n) ? a.push(Z2) : a.push($2(n.extraArgument))), process.env.NODE_ENV !== "production") {
2345
2345
  if (r) {
2346
2346
  let A = {};
2347
- lc(r) || (A = r), a.unshift(ax(A));
2347
+ uc(r) || (A = r), a.unshift(ax(A));
2348
2348
  }
2349
2349
  if (o) {
2350
2350
  let A = {};
2351
- lc(o) || (A = o), a.push(Ax(A));
2351
+ uc(o) || (A = o), a.push(Ax(A));
2352
2352
  }
2353
2353
  if (i) {
2354
2354
  let A = {};
2355
- lc(i) || (A = i), a.unshift(rx(A));
2355
+ uc(i) || (A = i), a.unshift(rx(A));
2356
2356
  }
2357
2357
  }
2358
2358
  return a;
@@ -2418,7 +2418,7 @@ function xm(e) {
2418
2418
  s = t();
2419
2419
  if (process.env.NODE_ENV !== "production" && s.some((f) => typeof f != "function"))
2420
2420
  throw new Error(process.env.NODE_ENV === "production" ? Ht(4) : "each middleware provided to configureStore must be a function");
2421
- let l = hl;
2421
+ let l = Bl;
2422
2422
  o && (l = ex({
2423
2423
  // Enable capture of stack traces for dispatched Redux actions
2424
2424
  trace: process.env.NODE_ENV !== "production",
@@ -2879,13 +2879,13 @@ function Rx({
2879
2879
  options: u
2880
2880
  } = n, g = o(e, i, u);
2881
2881
  r.exposeAction(t, g), a && r.addCase(g.fulfilled, a), A && r.addCase(g.pending, A), s && r.addCase(g.rejected, s), l && r.addMatcher(g.settled, l), r.exposeCaseReducer(t, {
2882
- fulfilled: a || uc,
2883
- pending: A || uc,
2884
- rejected: s || uc,
2885
- settled: l || uc
2882
+ fulfilled: a || gc,
2883
+ pending: A || gc,
2884
+ rejected: s || gc,
2885
+ settled: l || gc
2886
2886
  });
2887
2887
  }
2888
- function uc() {
2888
+ function gc() {
2889
2889
  }
2890
2890
  function Ht(e) {
2891
2891
  return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
@@ -2965,7 +2965,7 @@ const Qo = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[Zx])
2965
2965
  }).catch(() => {
2966
2966
  console.log("something went wrong while copying using navigator.clipboard function. Trying fallback copy"), ew(e, t);
2967
2967
  });
2968
- }, nw = (e) => ["sm.full"].some((n) => e.includes(n)), Om = (e) => Object.keys(e).filter((t) => e[t]).join(" "), gc = (e, t) => Array.from({ length: e }, (n, r) => t(r)), Pr = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), an = {
2968
+ }, nw = (e) => ["sm.full"].some((n) => e.includes(n)), Om = (e) => Object.keys(e).filter((t) => e[t]).join(" "), dc = (e, t) => Array.from({ length: e }, (n, r) => t(r)), Pr = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), an = {
2969
2969
  GET: "GET",
2970
2970
  POST: "POST",
2971
2971
  DELETE: "DELETE",
@@ -2989,10 +2989,10 @@ function Lm(e, t) {
2989
2989
  return e.apply(t, arguments);
2990
2990
  };
2991
2991
  }
2992
- const { toString: ow } = Object.prototype, { getPrototypeOf: kC } = Object, Eu = /* @__PURE__ */ ((e) => (t) => {
2992
+ const { toString: ow } = Object.prototype, { getPrototypeOf: kC } = Object, fu = /* @__PURE__ */ ((e) => (t) => {
2993
2993
  const n = ow.call(t);
2994
2994
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
2995
- })(/* @__PURE__ */ Object.create(null)), to = (e) => (e = e.toLowerCase(), (t) => Eu(t) === e), fu = (e) => (t) => typeof t === e, { isArray: fA } = Array, vs = fu("undefined");
2995
+ })(/* @__PURE__ */ Object.create(null)), to = (e) => (e = e.toLowerCase(), (t) => fu(t) === e), Iu = (e) => (t) => typeof t === e, { isArray: fA } = Array, vs = Iu("undefined");
2996
2996
  function iw(e) {
2997
2997
  return e !== null && !vs(e) && e.constructor !== null && !vs(e.constructor) && Br(e.constructor.isBuffer) && e.constructor.isBuffer(e);
2998
2998
  }
@@ -3001,14 +3001,14 @@ function aw(e) {
3001
3001
  let t;
3002
3002
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Fm(e.buffer), t;
3003
3003
  }
3004
- const Aw = fu("string"), Br = fu("function"), Pm = fu("number"), Iu = (e) => e !== null && typeof e == "object", sw = (e) => e === !0 || e === !1, Mc = (e) => {
3005
- if (Eu(e) !== "object")
3004
+ const Aw = Iu("string"), Br = Iu("function"), Pm = Iu("number"), pu = (e) => e !== null && typeof e == "object", sw = (e) => e === !0 || e === !1, kc = (e) => {
3005
+ if (fu(e) !== "object")
3006
3006
  return !1;
3007
3007
  const t = kC(e);
3008
3008
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
3009
- }, cw = to("Date"), lw = to("File"), uw = to("Blob"), gw = to("FileList"), dw = (e) => Iu(e) && Br(e.pipe), Cw = (e) => {
3009
+ }, cw = to("Date"), lw = to("File"), uw = to("Blob"), gw = to("FileList"), dw = (e) => pu(e) && Br(e.pipe), Cw = (e) => {
3010
3010
  let t;
3011
- return e && (typeof FormData == "function" && e instanceof FormData || Br(e.append) && ((t = Eu(e)) === "formdata" || // detect form-data instance
3011
+ return e && (typeof FormData == "function" && e instanceof FormData || Br(e.append) && ((t = fu(e)) === "formdata" || // detect form-data instance
3012
3012
  t === "object" && Br(e.toString) && e.toString() === "[object FormData]"));
3013
3013
  }, Ew = to("URLSearchParams"), [fw, Iw, pw, hw] = ["ReadableStream", "Request", "Response", "Headers"].map(to), Bw = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3014
3014
  function zs(e, t, { allOwnKeys: n = !1 } = {}) {
@@ -3038,7 +3038,7 @@ const ki = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
3038
3038
  function Cd() {
3039
3039
  const { caseless: e } = Mm(this) && this || {}, t = {}, n = (r, o) => {
3040
3040
  const i = e && Nm(t, o) || o;
3041
- Mc(t[i]) && Mc(r) ? t[i] = Cd(t[i], r) : Mc(r) ? t[i] = Cd({}, r) : fA(r) ? t[i] = r.slice() : t[i] = r;
3041
+ kc(t[i]) && kc(r) ? t[i] = Cd(t[i], r) : kc(r) ? t[i] = Cd({}, r) : fA(r) ? t[i] = r.slice() : t[i] = r;
3042
3042
  };
3043
3043
  for (let r = 0, o = arguments.length; r < o; r++)
3044
3044
  arguments[r] && zs(arguments[r], n);
@@ -3136,7 +3136,7 @@ function Mw(e) {
3136
3136
  }
3137
3137
  const kw = (e) => {
3138
3138
  const t = new Array(10), n = (r, o) => {
3139
- if (Iu(r)) {
3139
+ if (pu(r)) {
3140
3140
  if (t.indexOf(r) >= 0)
3141
3141
  return;
3142
3142
  if (!("toJSON" in r)) {
@@ -3151,7 +3151,7 @@ const kw = (e) => {
3151
3151
  return r;
3152
3152
  };
3153
3153
  return n(e, 0);
3154
- }, jw = to("AsyncFunction"), Uw = (e) => e && (Iu(e) || Br(e)) && Br(e.then) && Br(e.catch), Um = ((e, t) => e ? setImmediate : t ? ((n, r) => (ki.addEventListener("message", ({ source: o, data: i }) => {
3154
+ }, jw = to("AsyncFunction"), Uw = (e) => e && (pu(e) || Br(e)) && Br(e.then) && Br(e.catch), Um = ((e, t) => e ? setImmediate : t ? ((n, r) => (ki.addEventListener("message", ({ source: o, data: i }) => {
3155
3155
  o === ki && i === n && r.length && r.shift()();
3156
3156
  }, !1), (o) => {
3157
3157
  r.push(o), ki.postMessage(n, "*");
@@ -3168,8 +3168,8 @@ var ce = {
3168
3168
  isString: Aw,
3169
3169
  isNumber: Pm,
3170
3170
  isBoolean: sw,
3171
- isObject: Iu,
3172
- isPlainObject: Mc,
3171
+ isObject: pu,
3172
+ isPlainObject: kc,
3173
3173
  isReadableStream: fw,
3174
3174
  isRequest: Iw,
3175
3175
  isResponse: pw,
@@ -3191,7 +3191,7 @@ var ce = {
3191
3191
  stripBOM: Qw,
3192
3192
  inherits: vw,
3193
3193
  toFlatObject: bw,
3194
- kindOf: Eu,
3194
+ kindOf: fu,
3195
3195
  kindOfTest: to,
3196
3196
  endsWith: yw,
3197
3197
  toArray: xw,
@@ -3287,7 +3287,7 @@ function Gw(e) {
3287
3287
  const Ww = ce.toFlatObject(ce, {}, null, function(t) {
3288
3288
  return /^is[A-Z]/.test(t);
3289
3289
  });
3290
- function pu(e, t, n) {
3290
+ function hu(e, t, n) {
3291
3291
  if (!ce.isObject(e))
3292
3292
  throw new TypeError("target must be an object");
3293
3293
  t = t || new FormData(), n = ce.toFlatObject(n, {
@@ -3363,7 +3363,7 @@ function nI(e) {
3363
3363
  });
3364
3364
  }
3365
3365
  function jC(e, t) {
3366
- this._pairs = [], e && pu(e, this, t);
3366
+ this._pairs = [], e && hu(e, this, t);
3367
3367
  }
3368
3368
  const Wm = jC.prototype;
3369
3369
  Wm.append = function(t, n) {
@@ -3472,7 +3472,7 @@ var t3 = /* @__PURE__ */ Object.freeze({
3472
3472
  ...qw
3473
3473
  };
3474
3474
  function n3(e, t) {
3475
- return pu(e, new sr.classes.URLSearchParams(), Object.assign({
3475
+ return hu(e, new sr.classes.URLSearchParams(), Object.assign({
3476
3476
  visitor: function(n, r, o, i) {
3477
3477
  return sr.isNode && ce.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
3478
3478
  }
@@ -3534,7 +3534,7 @@ const VC = {
3534
3534
  return n3(t, this.formSerializer).toString();
3535
3535
  if ((A = ce.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
3536
3536
  const s = this.env && this.env.FormData;
3537
- return pu(
3537
+ return hu(
3538
3538
  A ? { "files[]": t } : t,
3539
3539
  s && new s(),
3540
3540
  this.formSerializer
@@ -3616,8 +3616,8 @@ const oI = Symbol("internals");
3616
3616
  function VA(e) {
3617
3617
  return e && String(e).trim().toLowerCase();
3618
3618
  }
3619
- function kc(e) {
3620
- return e === !1 || e == null ? e : ce.isArray(e) ? e.map(kc) : String(e);
3619
+ function jc(e) {
3620
+ return e === !1 || e == null ? e : ce.isArray(e) ? e.map(jc) : String(e);
3621
3621
  }
3622
3622
  function s3(e) {
3623
3623
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -3651,7 +3651,7 @@ function u3(e, t) {
3651
3651
  });
3652
3652
  });
3653
3653
  }
3654
- class hu {
3654
+ class Bu {
3655
3655
  constructor(t) {
3656
3656
  t && this.set(t);
3657
3657
  }
@@ -3662,7 +3662,7 @@ class hu {
3662
3662
  if (!u)
3663
3663
  throw new Error("header name must be a non-empty string");
3664
3664
  const g = ce.findKey(o, u);
3665
- (!g || o[g] === void 0 || l === !0 || l === void 0 && o[g] !== !1) && (o[g || s] = kc(A));
3665
+ (!g || o[g] === void 0 || l === !0 || l === void 0 && o[g] !== !1) && (o[g || s] = jc(A));
3666
3666
  }
3667
3667
  const a = (A, s) => ce.forEach(A, (l, u) => i(l, u, s));
3668
3668
  if (ce.isPlainObject(t) || t instanceof this.constructor)
@@ -3725,11 +3725,11 @@ class hu {
3725
3725
  return ce.forEach(this, (o, i) => {
3726
3726
  const a = ce.findKey(r, i);
3727
3727
  if (a) {
3728
- n[a] = kc(o), delete n[i];
3728
+ n[a] = jc(o), delete n[i];
3729
3729
  return;
3730
3730
  }
3731
3731
  const A = t ? l3(i) : String(i).trim();
3732
- A !== i && delete n[i], n[A] = kc(o), r[A] = !0;
3732
+ A !== i && delete n[i], n[A] = jc(o), r[A] = !0;
3733
3733
  }), this;
3734
3734
  }
3735
3735
  concat(...t) {
@@ -3769,8 +3769,8 @@ class hu {
3769
3769
  return ce.isArray(t) ? t.forEach(i) : i(t), this;
3770
3770
  }
3771
3771
  }
3772
- hu.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
3773
- ce.reduceDescriptors(hu.prototype, ({ value: e }, t) => {
3772
+ Bu.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
3773
+ ce.reduceDescriptors(Bu.prototype, ({ value: e }, t) => {
3774
3774
  let n = t[0].toUpperCase() + t.slice(1);
3775
3775
  return {
3776
3776
  get: () => e,
@@ -3779,8 +3779,8 @@ ce.reduceDescriptors(hu.prototype, ({ value: e }, t) => {
3779
3779
  }
3780
3780
  };
3781
3781
  });
3782
- ce.freezeMethods(hu);
3783
- var Xr = hu;
3782
+ ce.freezeMethods(Bu);
3783
+ var Xr = Bu;
3784
3784
  function lg(e, t) {
3785
3785
  const n = this || HC, r = t || n, o = Xr.from(r.headers);
3786
3786
  let i = r.data;
@@ -3839,7 +3839,7 @@ function C3(e, t) {
3839
3839
  }, r - g)));
3840
3840
  }, () => o && a(o)];
3841
3841
  }
3842
- const vl = (e, t, n = 3) => {
3842
+ const bl = (e, t, n = 3) => {
3843
3843
  let r = 0;
3844
3844
  const o = d3(50, 250);
3845
3845
  return C3((i) => {
@@ -4068,7 +4068,7 @@ var B3 = h3 && function(e) {
4068
4068
  )), d = null;
4069
4069
  }, i === void 0 && a.setContentType(null), "setRequestHeader" in d && ce.forEach(a.toJSON(), function(m, Q) {
4070
4070
  d.setRequestHeader(Q, m);
4071
- }), ce.isUndefined(o.withCredentials) || (d.withCredentials = !!o.withCredentials), A && A !== "json" && (d.responseType = o.responseType), l && ([E, f] = vl(l, !0), d.addEventListener("progress", E)), s && d.upload && ([g, p] = vl(s), d.upload.addEventListener("progress", g), d.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (B) => {
4071
+ }), ce.isUndefined(o.withCredentials) || (d.withCredentials = !!o.withCredentials), A && A !== "json" && (d.responseType = o.responseType), l && ([E, f] = bl(l, !0), d.addEventListener("progress", E)), s && d.upload && ([g, p] = bl(s), d.upload.addEventListener("progress", g), d.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (B) => {
4072
4072
  d && (r(!B || B.type ? new IA(null, e, d) : B), d.abort(), d = null);
4073
4073
  }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
4074
4074
  const I = g3(o.url);
@@ -4161,7 +4161,7 @@ const v3 = function* (e, t) {
4161
4161
  }, {
4162
4162
  highWaterMark: 2
4163
4163
  });
4164
- }, Bu = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", $m = Bu && typeof ReadableStream == "function", x3 = Bu && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), eQ = (e, ...t) => {
4164
+ }, mu = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", $m = mu && typeof ReadableStream == "function", x3 = mu && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), eQ = (e, ...t) => {
4165
4165
  try {
4166
4166
  return !!e(...t);
4167
4167
  } catch {
@@ -4177,12 +4177,12 @@ const v3 = function* (e, t) {
4177
4177
  }
4178
4178
  }).headers.has("Content-Type");
4179
4179
  return e && !t;
4180
- }), cI = 64 * 1024, Id = $m && eQ(() => ce.isReadableStream(new Response("").body)), bl = {
4180
+ }), cI = 64 * 1024, Id = $m && eQ(() => ce.isReadableStream(new Response("").body)), yl = {
4181
4181
  stream: Id && ((e) => e.body)
4182
4182
  };
4183
- Bu && ((e) => {
4183
+ mu && ((e) => {
4184
4184
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
4185
- !bl[t] && (bl[t] = ce.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
4185
+ !yl[t] && (yl[t] = ce.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
4186
4186
  throw new ot(`Response type '${t}' is not supported`, ot.ERR_NOT_SUPPORT, r);
4187
4187
  });
4188
4188
  });
@@ -4205,7 +4205,7 @@ const S3 = async (e) => {
4205
4205
  const n = ce.toFiniteNumber(e.getContentLength());
4206
4206
  return n ?? S3(t);
4207
4207
  };
4208
- var _3 = Bu && (async (e) => {
4208
+ var _3 = mu && (async (e) => {
4209
4209
  let {
4210
4210
  url: t,
4211
4211
  method: n,
@@ -4236,7 +4236,7 @@ var _3 = Bu && (async (e) => {
4236
4236
  if (ce.isFormData(r) && (b = Q.headers.get("content-type")) && u.setContentType(b), Q.body) {
4237
4237
  const [y, v] = iI(
4238
4238
  d,
4239
- vl(aI(s))
4239
+ bl(aI(s))
4240
4240
  );
4241
4241
  r = sI(Q.body, cI, y, v);
4242
4242
  }
@@ -4261,7 +4261,7 @@ var _3 = Bu && (async (e) => {
4261
4261
  });
4262
4262
  const b = ce.toFiniteNumber(I.headers.get("content-length")), [y, v] = A && iI(
4263
4263
  b,
4264
- vl(aI(A), !0)
4264
+ bl(aI(A), !0)
4265
4265
  ) || [];
4266
4266
  I = new Response(
4267
4267
  sI(I.body, cI, y, () => {
@@ -4271,7 +4271,7 @@ var _3 = Bu && (async (e) => {
4271
4271
  );
4272
4272
  }
4273
4273
  l = l || "text";
4274
- let m = await bl[ce.findKey(bl, l) || "text"](I, e);
4274
+ let m = await yl[ce.findKey(yl, l) || "text"](I, e);
4275
4275
  return !B && C && C(), await new Promise((Q, b) => {
4276
4276
  Xm(Q, b, {
4277
4277
  data: m,
@@ -4406,7 +4406,7 @@ var hd = {
4406
4406
  validators: GC
4407
4407
  };
4408
4408
  const $o = hd.validators;
4409
- let yl = class {
4409
+ let xl = class {
4410
4410
  constructor(t) {
4411
4411
  this.defaults = t, this.interceptors = {
4412
4412
  request: new rI(),
@@ -4504,7 +4504,7 @@ let yl = class {
4504
4504
  }
4505
4505
  };
4506
4506
  ce.forEach(["delete", "get", "head", "options"], function(t) {
4507
- yl.prototype[t] = function(n, r) {
4507
+ xl.prototype[t] = function(n, r) {
4508
4508
  return this.request(na(r || {}, {
4509
4509
  method: t,
4510
4510
  url: n,
@@ -4525,9 +4525,9 @@ ce.forEach(["post", "put", "patch"], function(t) {
4525
4525
  }));
4526
4526
  };
4527
4527
  }
4528
- yl.prototype[t] = n(), yl.prototype[t + "Form"] = n(!0);
4528
+ xl.prototype[t] = n(), xl.prototype[t + "Form"] = n(!0);
4529
4529
  });
4530
- var jc = yl;
4530
+ var Uc = xl;
4531
4531
  class WC {
4532
4532
  constructor(t) {
4533
4533
  if (typeof t != "function")
@@ -4680,18 +4680,18 @@ Object.entries(Bd).forEach(([e, t]) => {
4680
4680
  });
4681
4681
  var P3 = Bd;
4682
4682
  function rQ(e) {
4683
- const t = new jc(e), n = Lm(jc.prototype.request, t);
4684
- return ce.extend(n, jc.prototype, t, { allOwnKeys: !0 }), ce.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
4683
+ const t = new Uc(e), n = Lm(Uc.prototype.request, t);
4684
+ return ce.extend(n, Uc.prototype, t, { allOwnKeys: !0 }), ce.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
4685
4685
  return rQ(na(e, o));
4686
4686
  }, n;
4687
4687
  }
4688
4688
  const hn = rQ(HC);
4689
- hn.Axios = jc;
4689
+ hn.Axios = Uc;
4690
4690
  hn.CanceledError = IA;
4691
4691
  hn.CancelToken = O3;
4692
4692
  hn.isCancel = Km;
4693
4693
  hn.VERSION = nQ;
4694
- hn.toFormData = pu;
4694
+ hn.toFormData = hu;
4695
4695
  hn.AxiosError = ot;
4696
4696
  hn.Cancel = hn.CanceledError;
4697
4697
  hn.all = function(t) {
@@ -5278,7 +5278,7 @@ function aQ() {
5278
5278
  };
5279
5279
  return Vr.logoutFromHeimdall = p, Vr;
5280
5280
  }
5281
- var mu = {}, s4 = tt && tt.__awaiter || function(e, t, n, r) {
5281
+ var Qu = {}, s4 = tt && tt.__awaiter || function(e, t, n, r) {
5282
5282
  function o(i) {
5283
5283
  return i instanceof n ? i : new n(function(a) {
5284
5284
  a(i);
@@ -5364,8 +5364,8 @@ var mu = {}, s4 = tt && tt.__awaiter || function(e, t, n, r) {
5364
5364
  return { value: l[0] ? l[1] : void 0, done: !0 };
5365
5365
  }
5366
5366
  };
5367
- Object.defineProperty(mu, "__esModule", { value: !0 });
5368
- mu.subscribeToOnlineEvent = void 0;
5367
+ Object.defineProperty(Qu, "__esModule", { value: !0 });
5368
+ Qu.subscribeToOnlineEvent = void 0;
5369
5369
  var CI = mi, l4 = ho, u4 = function(e, t) {
5370
5370
  switch (t === void 0 && (t = (0, l4.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
5371
5371
  case CI.PLATFORM.WEB:
@@ -5388,7 +5388,7 @@ var CI = mi, l4 = ho, u4 = function(e, t) {
5388
5388
  throw Error("Invalid PLATFORM ".concat(t));
5389
5389
  }
5390
5390
  };
5391
- mu.subscribeToOnlineEvent = u4;
5391
+ Qu.subscribeToOnlineEvent = u4;
5392
5392
  var EI;
5393
5393
  function AQ() {
5394
5394
  if (EI) return HA;
@@ -5480,7 +5480,7 @@ function AQ() {
5480
5480
  }
5481
5481
  };
5482
5482
  Object.defineProperty(HA, "__esModule", { value: !0 }), HA.fetchAccessToken = void 0;
5483
- var n = aQ(), r = mi, o = St, i = mu, a, A, s, l = function(f, C, d, h, I, B) {
5483
+ var n = aQ(), r = mi, o = St, i = Qu, a, A, s, l = function(f, C, d, h, I, B) {
5484
5484
  return B === void 0 && (B = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
5485
5485
  var m, Q, b, y, v, w, M, L, F;
5486
5486
  return t(this, function(N) {
@@ -6896,11 +6896,11 @@ const Rr = {
6896
6896
  initialState: rw,
6897
6897
  reducers: {},
6898
6898
  extraReducers: (e) => {
6899
- e.addCase(Uc.pending, (t) => {
6899
+ e.addCase(Vc.pending, (t) => {
6900
6900
  t.templateListApiStatus = je.LOADING;
6901
- }).addCase(Uc.fulfilled, (t, n) => {
6901
+ }).addCase(Vc.fulfilled, (t, n) => {
6902
6902
  t.templateListApiStatus = je.IDLE, t.connectorTemplateList = n.payload.connectorList, t.connectorTemplates = n.payload.connectors;
6903
- }).addCase(Uc.rejected, (t, n) => {
6903
+ }).addCase(Vc.rejected, (t, n) => {
6904
6904
  t.templateListApiStatus = je.FAILED, console.error(n.error);
6905
6905
  }).addCase(gs.pending, (t) => {
6906
6906
  t.templateDetailsApiStatus = je.LOADING;
@@ -6912,7 +6912,7 @@ const Rr = {
6912
6912
  t.templateDetailsApiStatus = je.FAILED, console.error(n.error);
6913
6913
  });
6914
6914
  }
6915
- }), Uc = Nt("connectorLibrary/fetchConnectorTemplates", async () => {
6915
+ }), Vc = Nt("connectorLibrary/fetchConnectorTemplates", async () => {
6916
6916
  const e = await O4();
6917
6917
  if (!e || !e.data || !Array.isArray(e.data))
6918
6918
  return {
@@ -6974,21 +6974,21 @@ const Rr = {
6974
6974
  initialState: M4,
6975
6975
  reducers: {},
6976
6976
  extraReducers: (e) => {
6977
- e.addCase(zc.pending, (t) => {
6977
+ e.addCase(Yc.pending, (t) => {
6978
6978
  t.connectorsApiStatus = je.LOADING;
6979
- }).addCase(zc.fulfilled, (t, n) => {
6979
+ }).addCase(Yc.fulfilled, (t, n) => {
6980
6980
  t.connectorsApiStatus = je.IDLE, t.connectorList = n.payload.connectorList, t.connectors = n.payload.connectors;
6981
- }).addCase(zc.rejected, (t, n) => {
6981
+ }).addCase(Yc.rejected, (t, n) => {
6982
6982
  t.connectorsApiStatus = je.FAILED, console.error(n.error);
6983
- }).addCase(Vc.pending, (t, n) => {
6983
+ }).addCase(Hc.pending, (t, n) => {
6984
6984
  var o;
6985
6985
  const { id: r } = ((o = n == null ? void 0 : n.meta) == null ? void 0 : o.arg) || {};
6986
6986
  t.currentUpdatingConnectors = { ...t.currentUpdatingConnectors, [r]: je.LOADING };
6987
- }).addCase(Vc.fulfilled, (t, n) => {
6987
+ }).addCase(Hc.fulfilled, (t, n) => {
6988
6988
  var i, a;
6989
6989
  const { id: r = "", enabled: o } = ((i = n == null ? void 0 : n.meta) == null ? void 0 : i.arg) || {};
6990
6990
  t.currentUpdatingConnectors[r] && (t.currentUpdatingConnectors[r] = je.IDLE), (a = t == null ? void 0 : t.connectors) != null && a[r] && (t.connectors[r].isEnabled = o);
6991
- }).addCase(Vc.rejected, (t, n) => {
6991
+ }).addCase(Hc.rejected, (t, n) => {
6992
6992
  var o;
6993
6993
  const { id: r } = ((o = n == null ? void 0 : n.meta) == null ? void 0 : o.arg) || {};
6994
6994
  t.currentUpdatingConnectors = { ...t.currentUpdatingConnectors, [r]: je.FAILED }, console.error(n.error);
@@ -7007,50 +7007,50 @@ const Rr = {
7007
7007
  });
7008
7008
  }).addCase(ds.rejected, (t, n) => {
7009
7009
  t.connectorDetailApiStatus = je.FAILED, console.error(n.error);
7010
- }).addCase(Hc.pending, (t) => {
7010
+ }).addCase(Gc.pending, (t) => {
7011
7011
  t.fetchInboxApiStatus = je.LOADING;
7012
- }).addCase(Hc.fulfilled, (t, n) => {
7012
+ }).addCase(Gc.fulfilled, (t, n) => {
7013
7013
  t.fetchInboxApiStatus = je.IDLE;
7014
7014
  const { chatInbox: r, emailInbox: o } = n.payload;
7015
7015
  t.chatInboxDetails = r, t.emailInboxDetails = o;
7016
- }).addCase(Hc.rejected, (t, n) => {
7016
+ }).addCase(Gc.rejected, (t, n) => {
7017
7017
  t.fetchInboxApiStatus = je.FAILED, console.error(n.error);
7018
- }).addCase(Wc.pending, (t) => {
7018
+ }).addCase(zc.pending, (t) => {
7019
7019
  t.rolesAndPermissionsApiStatus = je.LOADING;
7020
- }).addCase(Wc.fulfilled, (t, n) => {
7020
+ }).addCase(zc.fulfilled, (t, n) => {
7021
7021
  t.rolesAndPermissionsApiStatus = je.IDLE;
7022
7022
  const { rolesAndPermissions: r } = n.payload;
7023
7023
  t.rolesAndPermissions = r;
7024
- }).addCase(Wc.rejected, (t, n) => {
7024
+ }).addCase(zc.rejected, (t, n) => {
7025
7025
  t.rolesAndPermissionsApiStatus = je.FAILED, console.error(n.error);
7026
- }).addCase(Gc.pending, (t) => {
7026
+ }).addCase(Wc.pending, (t) => {
7027
7027
  t.updateEnableConnectorsApiStatus = je.LOADING;
7028
- }).addCase(Gc.fulfilled, (t, n) => {
7028
+ }).addCase(Wc.fulfilled, (t, n) => {
7029
7029
  var l;
7030
7030
  t.updateEnableConnectorsApiStatus = je.IDLE;
7031
7031
  const { cardId: r, data: o, currentConnector: i } = n.payload.params, { roles: a, inboxes: A, fields: s } = o;
7032
7032
  t != null && t.connectors && (t.connectors[i].cardList = (l = t.connectors[i].cardList) == null ? void 0 : l.map(
7033
7033
  (u) => (u.id === r && (u = { ...u, inboxes: A, roles: a, fields: s }), u)
7034
7034
  ));
7035
- }).addCase(Gc.rejected, (t) => {
7035
+ }).addCase(Wc.rejected, (t) => {
7036
7036
  t.updateEnableConnectorsApiStatus = je.FAILED;
7037
- }).addCase(Yc.pending, (t) => {
7037
+ }).addCase(Jc.pending, (t) => {
7038
7038
  t.cardCustomFieldsApiStatus = je.LOADING;
7039
- }).addCase(Yc.fulfilled, (t, n) => {
7039
+ }).addCase(Jc.fulfilled, (t, n) => {
7040
7040
  t.cardCustomFieldsApiStatus = je.IDLE;
7041
7041
  const { cardId: r, customFields: o } = n.payload;
7042
7042
  t.cardCustomFields = {
7043
7043
  ...t.cardCustomFields,
7044
7044
  [r]: o
7045
7045
  };
7046
- }).addCase(Yc.rejected, (t, n) => {
7046
+ }).addCase(Jc.rejected, (t, n) => {
7047
7047
  t.cardCustomFieldsApiStatus = je.FAILED, console.error(n.error);
7048
7048
  });
7049
7049
  }
7050
- }), Vc = Nt(
7050
+ }), Hc = Nt(
7051
7051
  "connectorLibrary/updateConnectors",
7052
7052
  async (e) => (await W4(e), { params: e })
7053
- ), Hc = Nt(
7053
+ ), Gc = Nt(
7054
7054
  "connectorLibrary/getInboxDetails",
7055
7055
  async (e) => {
7056
7056
  const t = await e();
@@ -7059,13 +7059,13 @@ const Rr = {
7059
7059
  emailInbox: t.emailInboxes
7060
7060
  };
7061
7061
  }
7062
- ), Gc = Nt(
7062
+ ), Wc = Nt(
7063
7063
  "connectorLibrary/updateEnableConnectors",
7064
7064
  async (e) => (await Y4(e), { params: e })
7065
- ), Wc = Nt(
7065
+ ), zc = Nt(
7066
7066
  "connectorLibrary/getRolesAndPermissions",
7067
7067
  async (e) => ({ rolesAndPermissions: (await e()).roles })
7068
- ), zc = Nt("connectorLibrary/fetchConnectors", async () => {
7068
+ ), Yc = Nt("connectorLibrary/fetchConnectors", async () => {
7069
7069
  const e = await G4();
7070
7070
  if (!e || !e.data || !Array.isArray(e.data))
7071
7071
  return {
@@ -7092,7 +7092,7 @@ const Rr = {
7092
7092
  connector: t.data,
7093
7093
  connectorId: e
7094
7094
  };
7095
- }), Yc = Nt(
7095
+ }), Jc = Nt(
7096
7096
  "auth/fetchCardsCustomFields",
7097
7097
  async (e) => {
7098
7098
  const t = await J4(e);
@@ -7137,11 +7137,11 @@ const Rr = {
7137
7137
  resetState: () => BI
7138
7138
  },
7139
7139
  extraReducers: (e) => {
7140
- e.addCase(Jc.pending, (t) => {
7140
+ e.addCase(Kc.pending, (t) => {
7141
7141
  t.authVerificationDone = !1, t.verifyTokenApiStatus = je.LOADING;
7142
- }).addCase(Jc.fulfilled, (t) => {
7142
+ }).addCase(Kc.fulfilled, (t) => {
7143
7143
  t.authVerificationDone = !0, t.verifyTokenApiStatus = je.IDLE;
7144
- }).addCase(Jc.rejected, (t, n) => {
7144
+ }).addCase(Kc.rejected, (t, n) => {
7145
7145
  t.authVerificationDone = !0, t.verifyTokenApiStatus = je.FAILED, console.error(n.error);
7146
7146
  }).addCase(dg.pending, (t) => {
7147
7147
  t.testApiStatus = je.LOADING;
@@ -7170,7 +7170,7 @@ const Rr = {
7170
7170
  statusCode: String(r.statusCode)
7171
7171
  };
7172
7172
  }
7173
- ), Jc = Nt(
7173
+ ), Kc = Nt(
7174
7174
  "auth/verifyToken",
7175
7175
  async ({ data: e, connectorId: t }) => {
7176
7176
  await rS(e, t);
@@ -7191,21 +7191,21 @@ const Rr = {
7191
7191
  initialState: aS,
7192
7192
  reducers: {},
7193
7193
  extraReducers: (e) => {
7194
- e.addCase(Kc.pending, (t) => {
7194
+ e.addCase(Xc.pending, (t) => {
7195
7195
  t.connectorRequestsApiStatus = je.LOADING;
7196
- }).addCase(Kc.fulfilled, (t, n) => {
7196
+ }).addCase(Xc.fulfilled, (t, n) => {
7197
7197
  t.connectorRequestsApiStatus = je.IDLE, t.requestableConnectors = n.payload.requestableConnectors, t.requestableApis = n.payload.requestableApis;
7198
- }).addCase(Kc.rejected, (t) => {
7198
+ }).addCase(Xc.rejected, (t) => {
7199
7199
  t.connectorRequestsApiStatus = je.FAILED;
7200
- }).addCase(Xc.pending, (t) => {
7200
+ }).addCase(qc.pending, (t) => {
7201
7201
  t.connectorRequestsApiStatus = je.LOADING;
7202
- }).addCase(Xc.fulfilled, (t) => {
7202
+ }).addCase(qc.fulfilled, (t) => {
7203
7203
  t.connectorRequestsApiStatus = je.IDLE;
7204
- }).addCase(Xc.rejected, (t) => {
7204
+ }).addCase(qc.rejected, (t) => {
7205
7205
  t.connectorRequestsApiStatus = je.FAILED;
7206
7206
  });
7207
7207
  }
7208
- }), Kc = Nt("connectorLibrary/fetchConnectorRequests", async () => {
7208
+ }), Xc = Nt("connectorLibrary/fetchConnectorRequests", async () => {
7209
7209
  const e = await AS();
7210
7210
  if (!e || !e.data)
7211
7211
  return {
@@ -7217,7 +7217,7 @@ const Rr = {
7217
7217
  requestableConnectors: n,
7218
7218
  requestableApis: r
7219
7219
  };
7220
- }), Xc = Nt(
7220
+ }), qc = Nt(
7221
7221
  "connectorLibrary/submitConnectorRequest",
7222
7222
  async (e) => (await sS(e), { params: e })
7223
7223
  ), lS = cS.reducer, uS = PC({
@@ -7389,7 +7389,7 @@ function vd(e, t) {
7389
7389
  }
7390
7390
  return t;
7391
7391
  }
7392
- function xl(e, t) {
7392
+ function wl(e, t) {
7393
7393
  if (!t || Object.keys(e).length !== Object.keys(t).length)
7394
7394
  return !1;
7395
7395
  for (const n in e)
@@ -7441,11 +7441,11 @@ function hS(e, t, n = 0) {
7441
7441
  const r = [t, ...e];
7442
7442
  return n && r.length > n ? r.slice(0, -1) : r;
7443
7443
  }
7444
- var wl = Symbol();
7444
+ var Sl = Symbol();
7445
7445
  function BQ(e, t) {
7446
- return process.env.NODE_ENV !== "production" && e.queryFn === wl && console.error(
7446
+ return process.env.NODE_ENV !== "production" && e.queryFn === Sl && console.error(
7447
7447
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
7448
- ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === wl ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
7448
+ ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === Sl ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
7449
7449
  }
7450
7450
  var Hi, ii, Ua, SB, BS = (SB = class extends BA {
7451
7451
  constructor() {
@@ -7522,7 +7522,7 @@ var Hi, ii, Ua, SB, BS = (SB = class extends BA {
7522
7522
  isOnline() {
7523
7523
  return V(this, Va);
7524
7524
  }
7525
- }, Va = new WeakMap(), ai = new WeakMap(), Ha = new WeakMap(), TB), Sl = new mS();
7525
+ }, Va = new WeakMap(), ai = new WeakMap(), Ha = new WeakMap(), TB), Tl = new mS();
7526
7526
  function xd() {
7527
7527
  let e, t;
7528
7528
  const n = new Promise((o, i) => {
@@ -7549,7 +7549,7 @@ function QS(e) {
7549
7549
  return Math.min(1e3 * 2 ** e, 3e4);
7550
7550
  }
7551
7551
  function mQ(e) {
7552
- return (e ?? "online") === "online" ? Sl.isOnline() : !0;
7552
+ return (e ?? "online") === "online" ? Tl.isOnline() : !0;
7553
7553
  }
7554
7554
  var QQ = class extends Error {
7555
7555
  constructor(e) {
@@ -7568,7 +7568,7 @@ function vQ(e) {
7568
7568
  t = !0;
7569
7569
  }, s = () => {
7570
7570
  t = !1;
7571
- }, l = () => $C.isFocused() && (e.networkMode === "always" || Sl.isOnline()) && e.canRun(), u = () => mQ(e.networkMode) && e.canRun(), g = (C) => {
7571
+ }, l = () => $C.isFocused() && (e.networkMode === "always" || Tl.isOnline()) && e.canRun(), u = () => mQ(e.networkMode) && e.canRun(), g = (C) => {
7572
7572
  var d;
7573
7573
  r || (r = !0, (d = e.onSuccess) == null || d.call(e, C), o == null || o(), i.resolve(C));
7574
7574
  }, E = (C) => {
@@ -7751,7 +7751,7 @@ var Qn = vS(), Gi, _B, bQ = (_B = class {
7751
7751
  );
7752
7752
  }
7753
7753
  isDisabled() {
7754
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === wl || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
7754
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Sl || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
7755
7755
  }
7756
7756
  isStale() {
7757
7757
  return this.state.isInvalidated ? !0 : this.getObserversCount() > 0 ? this.observers.some(
@@ -8261,7 +8261,7 @@ var Po, Gr, Ms, LB, SS = (LB = class extends BA {
8261
8261
  build(t, n, r) {
8262
8262
  const o = new wS({
8263
8263
  mutationCache: this,
8264
- mutationId: ++ac(this, Ms)._,
8264
+ mutationId: ++Ac(this, Ms)._,
8265
8265
  options: t.defaultMutationOptions(n),
8266
8266
  state: r
8267
8267
  });
@@ -8269,7 +8269,7 @@ var Po, Gr, Ms, LB, SS = (LB = class extends BA {
8269
8269
  }
8270
8270
  add(t) {
8271
8271
  V(this, Po).add(t);
8272
- const n = dc(t);
8272
+ const n = Cc(t);
8273
8273
  if (typeof n == "string") {
8274
8274
  const r = V(this, Gr).get(n);
8275
8275
  r ? r.push(t) : V(this, Gr).set(n, [t]);
@@ -8278,7 +8278,7 @@ var Po, Gr, Ms, LB, SS = (LB = class extends BA {
8278
8278
  }
8279
8279
  remove(t) {
8280
8280
  if (V(this, Po).delete(t)) {
8281
- const n = dc(t);
8281
+ const n = Cc(t);
8282
8282
  if (typeof n == "string") {
8283
8283
  const r = V(this, Gr).get(n);
8284
8284
  if (r)
@@ -8291,7 +8291,7 @@ var Po, Gr, Ms, LB, SS = (LB = class extends BA {
8291
8291
  this.notify({ type: "removed", mutation: t });
8292
8292
  }
8293
8293
  canRun(t) {
8294
- const n = dc(t);
8294
+ const n = Cc(t);
8295
8295
  if (typeof n == "string") {
8296
8296
  const r = V(this, Gr).get(n), o = r == null ? void 0 : r.find(
8297
8297
  (i) => i.state.status === "pending"
@@ -8302,7 +8302,7 @@ var Po, Gr, Ms, LB, SS = (LB = class extends BA {
8302
8302
  }
8303
8303
  runNext(t) {
8304
8304
  var r;
8305
- const n = dc(t);
8305
+ const n = Cc(t);
8306
8306
  if (typeof n == "string") {
8307
8307
  const o = (r = V(this, Gr).get(n)) == null ? void 0 : r.find((i) => i !== t && i.state.isPaused);
8308
8308
  return (o == null ? void 0 : o.continue()) ?? Promise.resolve();
@@ -8344,11 +8344,11 @@ var Po, Gr, Ms, LB, SS = (LB = class extends BA {
8344
8344
  );
8345
8345
  }
8346
8346
  }, Po = new WeakMap(), Gr = new WeakMap(), Ms = new WeakMap(), LB);
8347
- function dc(e) {
8347
+ function Cc(e) {
8348
8348
  var t;
8349
8349
  return (t = e.options.scope) == null ? void 0 : t.id;
8350
8350
  }
8351
- function Tl(e) {
8351
+ function _l(e) {
8352
8352
  return {
8353
8353
  onFetch: (t, n) => {
8354
8354
  var u, g, E, p, f;
@@ -8450,15 +8450,15 @@ var nn, Ai, si, za, Ya, ci, Ja, Ka, FB, SQ = (FB = class {
8450
8450
  Pe(this, nn, e.queryCache || new xS()), Pe(this, Ai, e.mutationCache || new SS()), Pe(this, si, e.defaultOptions || {}), Pe(this, za, /* @__PURE__ */ new Map()), Pe(this, Ya, /* @__PURE__ */ new Map()), Pe(this, ci, 0);
8451
8451
  }
8452
8452
  mount() {
8453
- ac(this, ci)._++, V(this, ci) === 1 && (Pe(this, Ja, $C.subscribe(async (e) => {
8453
+ Ac(this, ci)._++, V(this, ci) === 1 && (Pe(this, Ja, $C.subscribe(async (e) => {
8454
8454
  e && (await this.resumePausedMutations(), V(this, nn).onFocus());
8455
- })), Pe(this, Ka, Sl.subscribe(async (e) => {
8455
+ })), Pe(this, Ka, Tl.subscribe(async (e) => {
8456
8456
  e && (await this.resumePausedMutations(), V(this, nn).onOnline());
8457
8457
  })));
8458
8458
  }
8459
8459
  unmount() {
8460
8460
  var e, t;
8461
- ac(this, ci)._--, V(this, ci) === 0 && ((e = V(this, Ja)) == null || e.call(this), Pe(this, Ja, void 0), (t = V(this, Ka)) == null || t.call(this), Pe(this, Ka, void 0));
8461
+ Ac(this, ci)._--, V(this, ci) === 0 && ((e = V(this, Ja)) == null || e.call(this), Pe(this, Ja, void 0), (t = V(this, Ka)) == null || t.call(this), Pe(this, Ka, void 0));
8462
8462
  }
8463
8463
  isFetching(e) {
8464
8464
  return V(this, nn).findAll({ ...e, fetchStatus: "fetching" }).length;
@@ -8564,16 +8564,16 @@ var nn, Ai, si, za, Ya, ci, Ja, Ka, FB, SQ = (FB = class {
8564
8564
  return this.fetchQuery(e).then(Or).catch(Or);
8565
8565
  }
8566
8566
  fetchInfiniteQuery(e) {
8567
- return e.behavior = Tl(e.pages), this.fetchQuery(e);
8567
+ return e.behavior = _l(e.pages), this.fetchQuery(e);
8568
8568
  }
8569
8569
  prefetchInfiniteQuery(e) {
8570
8570
  return this.fetchInfiniteQuery(e).then(Or).catch(Or);
8571
8571
  }
8572
8572
  ensureInfiniteQueryData(e) {
8573
- return e.behavior = Tl(e.pages), this.ensureQueryData(e);
8573
+ return e.behavior = _l(e.pages), this.ensureQueryData(e);
8574
8574
  }
8575
8575
  resumePausedMutations() {
8576
- return Sl.isOnline() ? V(this, Ai).resumePausedMutations() : Promise.resolve();
8576
+ return Tl.isOnline() ? V(this, Ai).resumePausedMutations() : Promise.resolve();
8577
8577
  }
8578
8578
  getQueryCache() {
8579
8579
  return V(this, nn);
@@ -8623,7 +8623,7 @@ var nn, Ai, si, za, Ya, ci, Ja, Ka, FB, SQ = (FB = class {
8623
8623
  return t.queryHash || (t.queryHash = ZC(
8624
8624
  t.queryKey,
8625
8625
  t
8626
- )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === wl && (t.enabled = !1), t;
8626
+ )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Sl && (t.enabled = !1), t;
8627
8627
  }
8628
8628
  defaultMutationOptions(e) {
8629
8629
  return e != null && e._defaulted ? e : {
@@ -8693,7 +8693,7 @@ var nn, Ai, si, za, Ya, ci, Ja, Ka, FB, SQ = (FB = class {
8693
8693
  throw new Error(
8694
8694
  "Expected enabled to be a boolean or a callback that returns a boolean"
8695
8695
  );
8696
- At(this, Pt, Ld).call(this), V(this, dt).setOptions(this.options), r._defaulted && !xl(this.options, r) && V(this, tr).getQueryCache().notify({
8696
+ At(this, Pt, Ld).call(this), V(this, dt).setOptions(this.options), r._defaulted && !wl(this.options, r) && V(this, tr).getQueryCache().notify({
8697
8697
  type: "observerOptionsUpdated",
8698
8698
  query: V(this, dt),
8699
8699
  observer: this
@@ -8839,7 +8839,7 @@ var nn, Ai, si, za, Ya, ci, Ja, Ka, FB, SQ = (FB = class {
8839
8839
  }
8840
8840
  updateResult(t) {
8841
8841
  const n = V(this, Jn), r = this.createResult(V(this, dt), this.options);
8842
- if (Pe(this, Ji, V(this, dt).state), Pe(this, Xa, this.options), V(this, Ji).data !== void 0 && Pe(this, Za, V(this, dt)), xl(r, n))
8842
+ if (Pe(this, Ji, V(this, dt).state), Pe(this, Xa, this.options), V(this, Ji).data !== void 0 && Pe(this, Za, V(this, dt)), wl(r, n))
8843
8843
  return;
8844
8844
  Pe(this, Jn, r);
8845
8845
  const o = {}, i = () => {
@@ -8928,7 +8928,7 @@ function eE(e, t) {
8928
8928
  return zr(t.enabled, e) !== !1 && e.isStaleByTime(_a(t.staleTime, e));
8929
8929
  }
8930
8930
  function DS(e, t) {
8931
- return !xl(e.getCurrentResult(), t);
8931
+ return !wl(e.getCurrentResult(), t);
8932
8932
  }
8933
8933
  var OS = class extends TQ {
8934
8934
  constructor(e, t) {
@@ -8941,13 +8941,13 @@ var OS = class extends TQ {
8941
8941
  super.setOptions(
8942
8942
  {
8943
8943
  ...e,
8944
- behavior: Tl()
8944
+ behavior: _l()
8945
8945
  },
8946
8946
  t
8947
8947
  );
8948
8948
  }
8949
8949
  getOptimisticResult(e) {
8950
- return e.behavior = Tl(), super.getOptimisticResult(e);
8950
+ return e.behavior = _l(), super.getOptimisticResult(e);
8951
8951
  }
8952
8952
  fetchNextPage(e) {
8953
8953
  return this.fetch({
@@ -8982,7 +8982,7 @@ var OS = class extends TQ {
8982
8982
  isRefetching: i && !u && !E
8983
8983
  };
8984
8984
  }
8985
- }, gi, di, nr, No, Vo, qc, Pd, NB, LS = (NB = class extends BA {
8985
+ }, gi, di, nr, No, Vo, Zc, Pd, NB, LS = (NB = class extends BA {
8986
8986
  constructor(t, n) {
8987
8987
  super();
8988
8988
  Je(this, Vo);
@@ -8990,7 +8990,7 @@ var OS = class extends TQ {
8990
8990
  Je(this, di);
8991
8991
  Je(this, nr);
8992
8992
  Je(this, No);
8993
- Pe(this, gi, t), this.setOptions(n), this.bindMethods(), At(this, Vo, qc).call(this);
8993
+ Pe(this, gi, t), this.setOptions(n), this.bindMethods(), At(this, Vo, Zc).call(this);
8994
8994
  }
8995
8995
  bindMethods() {
8996
8996
  this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
@@ -8998,7 +8998,7 @@ var OS = class extends TQ {
8998
8998
  setOptions(t) {
8999
8999
  var r;
9000
9000
  const n = this.options;
9001
- this.options = V(this, gi).defaultMutationOptions(t), xl(this.options, n) || V(this, gi).getMutationCache().notify({
9001
+ this.options = V(this, gi).defaultMutationOptions(t), wl(this.options, n) || V(this, gi).getMutationCache().notify({
9002
9002
  type: "observerOptionsUpdated",
9003
9003
  mutation: V(this, nr),
9004
9004
  observer: this
@@ -9009,20 +9009,20 @@ var OS = class extends TQ {
9009
9009
  this.hasListeners() || (t = V(this, nr)) == null || t.removeObserver(this);
9010
9010
  }
9011
9011
  onMutationUpdate(t) {
9012
- At(this, Vo, qc).call(this), At(this, Vo, Pd).call(this, t);
9012
+ At(this, Vo, Zc).call(this), At(this, Vo, Pd).call(this, t);
9013
9013
  }
9014
9014
  getCurrentResult() {
9015
9015
  return V(this, di);
9016
9016
  }
9017
9017
  reset() {
9018
9018
  var t;
9019
- (t = V(this, nr)) == null || t.removeObserver(this), Pe(this, nr, void 0), At(this, Vo, qc).call(this), At(this, Vo, Pd).call(this);
9019
+ (t = V(this, nr)) == null || t.removeObserver(this), Pe(this, nr, void 0), At(this, Vo, Zc).call(this), At(this, Vo, Pd).call(this);
9020
9020
  }
9021
9021
  mutate(t, n) {
9022
9022
  var r;
9023
9023
  return Pe(this, No, n), (r = V(this, nr)) == null || r.removeObserver(this), Pe(this, nr, V(this, gi).getMutationCache().build(V(this, gi), this.options)), V(this, nr).addObserver(this), V(this, nr).execute(t);
9024
9024
  }
9025
- }, gi = new WeakMap(), di = new WeakMap(), nr = new WeakMap(), No = new WeakMap(), Vo = new WeakSet(), qc = function() {
9025
+ }, gi = new WeakMap(), di = new WeakMap(), nr = new WeakMap(), No = new WeakMap(), Vo = new WeakSet(), Zc = function() {
9026
9026
  var n;
9027
9027
  const t = ((n = V(this, nr)) == null ? void 0 : n.state) ?? xQ();
9028
9028
  Pe(this, di, {
@@ -9199,7 +9199,7 @@ function WS(e, t) {
9199
9199
  const PQ = ({ children: e }) => {
9200
9200
  const t = new SQ();
9201
9201
  return /* @__PURE__ */ c.jsx(DQ, { client: t, children: e });
9202
- }, zS = (e) => /* @__PURE__ */ c.jsx(Il, { inter: !0, children: /* @__PURE__ */ c.jsx(TC, { fallback: /* @__PURE__ */ c.jsx(c.Fragment, {}), children: /* @__PURE__ */ c.jsx(PQ, { children: /* @__PURE__ */ c.jsx(ES, { ...e }) }) }) }), YS = (e) => /* @__PURE__ */ c.jsx(im, { store: gS, children: /* @__PURE__ */ c.jsx(zS, { ...e }) });
9202
+ }, zS = (e) => /* @__PURE__ */ c.jsx(pl, { inter: !0, children: /* @__PURE__ */ c.jsx(TC, { fallback: /* @__PURE__ */ c.jsx(c.Fragment, {}), children: /* @__PURE__ */ c.jsx(PQ, { children: /* @__PURE__ */ c.jsx(ES, { ...e }) }) }) }), YS = (e) => /* @__PURE__ */ c.jsx(im, { store: gS, children: /* @__PURE__ */ c.jsx(zS, { ...e }) });
9203
9203
  /**
9204
9204
  * @remix-run/router v1.19.2
9205
9205
  *
@@ -9421,9 +9421,9 @@ function xs(e, t, n, r) {
9421
9421
  });
9422
9422
  }
9423
9423
  function Pi(e, t, n) {
9424
- return n === void 0 && (n = "/"), Zc(e, t, n, !1);
9424
+ return n === void 0 && (n = "/"), $c(e, t, n, !1);
9425
9425
  }
9426
- function Zc(e, t, n, r) {
9426
+ function $c(e, t, n, r) {
9427
9427
  let o = typeof t == "string" ? vi(t) : t, i = Zr(o.pathname || "/", n);
9428
9428
  if (i == null)
9429
9429
  return null;
@@ -9517,12 +9517,12 @@ function cT(e, t, n) {
9517
9517
  routesMeta: r
9518
9518
  } = e, o = {}, i = "/", a = [];
9519
9519
  for (let A = 0; A < r.length; ++A) {
9520
- let s = r[A], l = A === r.length - 1, u = i === "/" ? t : t.slice(i.length) || "/", g = _l({
9520
+ let s = r[A], l = A === r.length - 1, u = i === "/" ? t : t.slice(i.length) || "/", g = Rl({
9521
9521
  path: s.relativePath,
9522
9522
  caseSensitive: s.caseSensitive,
9523
9523
  end: l
9524
9524
  }, u), E = s.route;
9525
- if (!g && l && n && !r[r.length - 1].route.index && (g = _l({
9525
+ if (!g && l && n && !r[r.length - 1].route.index && (g = Rl({
9526
9526
  path: s.relativePath,
9527
9527
  caseSensitive: s.caseSensitive,
9528
9528
  end: !1
@@ -9538,7 +9538,7 @@ function cT(e, t, n) {
9538
9538
  }
9539
9539
  return a;
9540
9540
  }
9541
- function _l(e, t) {
9541
+ function Rl(e, t) {
9542
9542
  typeof e == "string" && (e = {
9543
9543
  path: e,
9544
9544
  caseSensitive: !1,
@@ -9614,11 +9614,11 @@ function Eg(e, t, n, r) {
9614
9614
  function kQ(e) {
9615
9615
  return e.filter((t, n) => n === 0 || t.route.path && t.route.path.length > 0);
9616
9616
  }
9617
- function Qu(e, t) {
9617
+ function vu(e, t) {
9618
9618
  let n = kQ(e);
9619
9619
  return t ? n.map((r, o) => o === n.length - 1 ? r.pathname : r.pathnameBase) : n.map((r) => r.pathnameBase);
9620
9620
  }
9621
- function vu(e, t, n, r) {
9621
+ function bu(e, t, n, r) {
9622
9622
  r === void 0 && (r = !1);
9623
9623
  let o;
9624
9624
  typeof e == "string" ? o = vi(e) : (o = Zt({}, e), We(!o.pathname || !o.pathname.includes("?"), Eg("?", "pathname", "search", o)), We(!o.pathname || !o.pathname.includes("#"), Eg("#", "pathname", "hash", o)), We(!o.search || !o.search.includes("#"), Eg("#", "search", "hash", o)));
@@ -9639,12 +9639,12 @@ function vu(e, t, n, r) {
9639
9639
  return !s.pathname.endsWith("/") && (l || u) && (s.pathname += "/"), s;
9640
9640
  }
9641
9641
  const Bo = (e) => e.join("/").replace(/\/\/+/g, "/"), CT = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), ET = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, fT = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
9642
- class Rl {
9642
+ class Dl {
9643
9643
  constructor(t, n, r, o) {
9644
9644
  o === void 0 && (o = !1), this.status = t, this.statusText = n || "", this.internal = o, r instanceof Error ? (this.data = r.toString(), this.error = r) : this.data = r;
9645
9645
  }
9646
9646
  }
9647
- function bu(e) {
9647
+ function yu(e) {
9648
9648
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
9649
9649
  }
9650
9650
  const jQ = ["post", "put", "patch", "delete"], IT = new Set(jQ), pT = ["get", ...jQ], hT = new Set(pT), BT = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]), mT = /* @__PURE__ */ new Set([307, 308]), fg = {
@@ -9963,7 +9963,7 @@ function bT(e) {
9963
9963
  return;
9964
9964
  if (et.pendingActionResult) {
9965
9965
  let [kt, bt] = et.pendingActionResult;
9966
- if (Er(bt) && bu(bt.error) && bt.error.status === 404) {
9966
+ if (Er(bt) && yu(bt.error) && bt.error.status === 404) {
9967
9967
  L = null, it(G, {
9968
9968
  matches: et.matches,
9969
9969
  loaderData: {},
@@ -10160,14 +10160,14 @@ function bT(e) {
10160
10160
  shortCircuited: !0
10161
10161
  };
10162
10162
  L && L.signal.removeEventListener("abort", tn), bt.forEach((J) => Y.delete(J.key));
10163
- let Sr = Cc(Un);
10163
+ let Sr = Ec(Un);
10164
10164
  if (Sr)
10165
10165
  return await Zn(k, Sr.result, !0, {
10166
10166
  replace: Ee
10167
10167
  }), {
10168
10168
  shortCircuited: !0
10169
10169
  };
10170
- if (Sr = Cc(io), Sr)
10170
+ if (Sr = Ec(io), Sr)
10171
10171
  return j.add(Sr.key), await Zn(k, Sr.result, !0, {
10172
10172
  replace: Ee
10173
10173
  }), {
@@ -10344,10 +10344,10 @@ function bT(e) {
10344
10344
  if (Be.signal.aborted)
10345
10345
  return;
10346
10346
  Be.signal.removeEventListener("abort", se), O.delete(k), Y.delete(k), Tr.forEach((Ce) => Y.delete(Ce.key));
10347
- let J = Cc(U);
10347
+ let J = Ec(U);
10348
10348
  if (J)
10349
10349
  return Zn(bt, J.result, !1);
10350
- if (J = Cc(ae), J)
10350
+ if (J = Ec(ae), J)
10351
10351
  return j.add(J.key), Zn(bt, J.result, !1);
10352
10352
  let {
10353
10353
  loaderData: Ae,
@@ -10689,12 +10689,12 @@ function bT(e) {
10689
10689
  if (Object.keys(k[0].params).length > 0)
10690
10690
  return {
10691
10691
  active: !0,
10692
- matches: Zc(G, te, s, !0)
10692
+ matches: $c(G, te, s, !0)
10693
10693
  };
10694
10694
  } else
10695
10695
  return {
10696
10696
  active: !0,
10697
- matches: Zc(G, te, s, !0) || []
10697
+ matches: $c(G, te, s, !0) || []
10698
10698
  };
10699
10699
  }
10700
10700
  return {
@@ -10727,7 +10727,7 @@ function bT(e) {
10727
10727
  type: "success",
10728
10728
  matches: Qe
10729
10729
  };
10730
- let Ee = Zc(ue, G, s, !0);
10730
+ let Ee = $c(ue, G, s, !0);
10731
10731
  if (!Ee || _.length === Ee.length && _.every((Re, me) => Re.route.id === Ee[me].route.id))
10732
10732
  return dr(G, C), {
10733
10733
  type: "success",
@@ -10803,7 +10803,7 @@ function Md(e, t, n, r, o, i, a, A) {
10803
10803
  }
10804
10804
  } else
10805
10805
  s = t, l = t[t.length - 1];
10806
- let u = vu(o || ".", Qu(s, i), Zr(e.pathname, n) || e.pathname, A === "path");
10806
+ let u = bu(o || ".", vu(s, i), Zr(e.pathname, n) || e.pathname, A === "path");
10807
10807
  return o == null && (u.search = e.search, u.hash = e.hash), (o == null || o === "" || o === ".") && l && l.route.index && !rE(u.search) && (u.search = u.search ? u.search.replace(/^\?/, "?index&") : "?index"), r && n !== "/" && (u.pathname = u.pathname === "/" ? n : Bo([n, u.pathname])), pi(u);
10808
10808
  }
10809
10809
  function DI(e, t, n, r) {
@@ -11168,7 +11168,7 @@ async function OT(e) {
11168
11168
  }
11169
11169
  return n === jt.error ? {
11170
11170
  type: jt.error,
11171
- error: new Rl(t.status, t.statusText, l),
11171
+ error: new Dl(t.status, t.statusText, l),
11172
11172
  statusCode: t.status,
11173
11173
  headers: t.headers
11174
11174
  } : {
@@ -11189,12 +11189,12 @@ async function OT(e) {
11189
11189
  statusCode: (o = t.init) == null ? void 0 : o.status
11190
11190
  };
11191
11191
  }
11192
- t = new Rl(((r = t.init) == null ? void 0 : r.status) || 500, void 0, t.data);
11192
+ t = new Dl(((r = t.init) == null ? void 0 : r.status) || 500, void 0, t.data);
11193
11193
  }
11194
11194
  return {
11195
11195
  type: jt.error,
11196
11196
  error: t,
11197
- statusCode: bu(t) ? t.status : void 0
11197
+ statusCode: yu(t) ? t.status : void 0
11198
11198
  };
11199
11199
  }
11200
11200
  if (kT(t)) {
@@ -11276,7 +11276,7 @@ function FT(e, t, n, r, o) {
11276
11276
  let C = xa(e, E);
11277
11277
  a[C.route.id] == null && (a[C.route.id] = f);
11278
11278
  }
11279
- i[E] = void 0, s || (s = !0, A = bu(p.error) ? p.error.status : 500), p.headers && (l[E] = p.headers);
11279
+ i[E] = void 0, s || (s = !0, A = yu(p.error) ? p.error.status : 500), p.headers && (l[E] = p.headers);
11280
11280
  } else
11281
11281
  Ei(p) ? (r.set(E, p.deferredData), i[E] = p.deferredData.data, p.statusCode != null && p.statusCode !== 200 && !s && (A = p.statusCode), p.headers && (l[E] = p.headers)) : (i[E] = p.data, p.statusCode && p.statusCode !== 200 && !s && (A = p.statusCode), p.headers && (l[E] = p.headers));
11282
11282
  }), u !== void 0 && n && (a = {
@@ -11363,9 +11363,9 @@ function Kn(e, t) {
11363
11363
  message: a
11364
11364
  } = t === void 0 ? {} : t, A = "Unknown Server Error", s = "Unknown @remix-run/router error";
11365
11365
  return e === 400 ? (A = "Bad Request", i === "route-discovery" ? s = 'Unable to match URL "' + n + '" - the `unstable_patchRoutesOnNavigation()` ' + (`function threw the following error:
11366
- ` + a) : o && n && r ? s = "You made a " + o + ' request to "' + n + '" but ' + ('did not provide a `loader` for route "' + r + '", ') + "so there is no way to handle the request." : i === "defer-action" ? s = "defer() is not supported in actions" : i === "invalid-body" && (s = "Unable to encode submission body")) : e === 403 ? (A = "Forbidden", s = 'Route "' + r + '" does not match URL "' + n + '"') : e === 404 ? (A = "Not Found", s = 'No route matches URL "' + n + '"') : e === 405 && (A = "Method Not Allowed", o && n && r ? s = "You made a " + o.toUpperCase() + ' request to "' + n + '" but ' + ('did not provide an `action` for route "' + r + '", ') + "so there is no way to handle the request." : o && (s = 'Invalid request method "' + o.toUpperCase() + '"')), new Rl(e || 500, A, new Error(s), !0);
11366
+ ` + a) : o && n && r ? s = "You made a " + o + ' request to "' + n + '" but ' + ('did not provide a `loader` for route "' + r + '", ') + "so there is no way to handle the request." : i === "defer-action" ? s = "defer() is not supported in actions" : i === "invalid-body" && (s = "Unable to encode submission body")) : e === 403 ? (A = "Forbidden", s = 'Route "' + r + '" does not match URL "' + n + '"') : e === 404 ? (A = "Not Found", s = 'No route matches URL "' + n + '"') : e === 405 && (A = "Method Not Allowed", o && n && r ? s = "You made a " + o.toUpperCase() + ' request to "' + n + '" but ' + ('did not provide an `action` for route "' + r + '", ') + "so there is no way to handle the request." : o && (s = 'Invalid request method "' + o.toUpperCase() + '"')), new Dl(e || 500, A, new Error(s), !0);
11367
11367
  }
11368
- function Cc(e) {
11368
+ function Ec(e) {
11369
11369
  let t = Object.entries(e);
11370
11370
  for (let n = t.length - 1; n >= 0; n--) {
11371
11371
  let [r, o] = t[n];
@@ -11620,26 +11620,26 @@ function zT(e, t) {
11620
11620
  *
11621
11621
  * @license MIT
11622
11622
  */
11623
- function Dl() {
11624
- return Dl = Object.assign ? Object.assign.bind() : function(e) {
11623
+ function Ol() {
11624
+ return Ol = Object.assign ? Object.assign.bind() : function(e) {
11625
11625
  for (var t = 1; t < arguments.length; t++) {
11626
11626
  var n = arguments[t];
11627
11627
  for (var r in n)
11628
11628
  Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
11629
11629
  }
11630
11630
  return e;
11631
- }, Dl.apply(this, arguments);
11631
+ }, Ol.apply(this, arguments);
11632
11632
  }
11633
11633
  const mA = /* @__PURE__ */ x.createContext(null);
11634
11634
  process.env.NODE_ENV !== "production" && (mA.displayName = "DataRouter");
11635
- const yu = /* @__PURE__ */ x.createContext(null);
11636
- process.env.NODE_ENV !== "production" && (yu.displayName = "DataRouterState");
11635
+ const xu = /* @__PURE__ */ x.createContext(null);
11636
+ process.env.NODE_ENV !== "production" && (xu.displayName = "DataRouterState");
11637
11637
  const YT = /* @__PURE__ */ x.createContext(null);
11638
11638
  process.env.NODE_ENV !== "production" && (YT.displayName = "Await");
11639
11639
  const Mr = /* @__PURE__ */ x.createContext(null);
11640
11640
  process.env.NODE_ENV !== "production" && (Mr.displayName = "Navigation");
11641
- const xu = /* @__PURE__ */ x.createContext(null);
11642
- process.env.NODE_ENV !== "production" && (xu.displayName = "Location");
11641
+ const wu = /* @__PURE__ */ x.createContext(null);
11642
+ process.env.NODE_ENV !== "production" && (wu.displayName = "Location");
11643
11643
  const kr = /* @__PURE__ */ x.createContext({
11644
11644
  outlet: null,
11645
11645
  matches: [],
@@ -11675,7 +11675,7 @@ function JT(e, t) {
11675
11675
  });
11676
11676
  }
11677
11677
  function QA() {
11678
- return x.useContext(xu) != null;
11678
+ return x.useContext(wu) != null;
11679
11679
  }
11680
11680
  function Yo() {
11681
11681
  return QA() || (process.env.NODE_ENV !== "production" ? We(
@@ -11683,7 +11683,7 @@ function Yo() {
11683
11683
  // TODO: This error is probably because they somehow have 2 versions of the
11684
11684
  // router loaded. We can help them understand how to avoid that.
11685
11685
  "useLocation() may be used only in the context of a <Router> component."
11686
- ) : We(!1)), x.useContext(xu).location;
11686
+ ) : We(!1)), x.useContext(wu).location;
11687
11687
  }
11688
11688
  const zQ = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
11689
11689
  function YQ(e) {
@@ -11710,7 +11710,7 @@ function KT() {
11710
11710
  matches: o
11711
11711
  } = x.useContext(kr), {
11712
11712
  pathname: i
11713
- } = Yo(), a = JSON.stringify(Qu(o, n.v7_relativeSplatPath)), A = x.useRef(!1);
11713
+ } = Yo(), a = JSON.stringify(vu(o, n.v7_relativeSplatPath)), A = x.useRef(!1);
11714
11714
  return YQ(() => {
11715
11715
  A.current = !0;
11716
11716
  }), x.useCallback(function(l, u) {
@@ -11719,7 +11719,7 @@ function KT() {
11719
11719
  r.go(l);
11720
11720
  return;
11721
11721
  }
11722
- let g = vu(l, JSON.parse(a), i, u.relative === "path");
11722
+ let g = bu(l, JSON.parse(a), i, u.relative === "path");
11723
11723
  e == null && t !== "/" && (g.pathname = g.pathname === "/" ? t : Bo([t, g.pathname])), (u.replace ? r.replace : r.push)(g, u.state, u);
11724
11724
  }, [t, r, a, i, e]);
11725
11725
  }
@@ -11745,8 +11745,8 @@ function Ys(e, t) {
11745
11745
  matches: o
11746
11746
  } = x.useContext(kr), {
11747
11747
  pathname: i
11748
- } = Yo(), a = JSON.stringify(Qu(o, r.v7_relativeSplatPath));
11749
- return x.useMemo(() => vu(e, JSON.parse(a), i, n === "path"), [e, a, i, n]);
11748
+ } = Yo(), a = JSON.stringify(vu(o, r.v7_relativeSplatPath));
11749
+ return x.useMemo(() => bu(e, JSON.parse(a), i, n === "path"), [e, a, i, n]);
11750
11750
  }
11751
11751
  function ZT(e, t, n, r) {
11752
11752
  QA() || (process.env.NODE_ENV !== "production" ? We(
@@ -11791,7 +11791,7 @@ function ZT(e, t, n, r) {
11791
11791
  })), i, n, r);
11792
11792
  }
11793
11793
  function $T() {
11794
- let e = s6(), t = bu(e) ? e.status + " " + e.statusText : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null, r = "rgba(200,200,200, 0.5)", o = {
11794
+ let e = s6(), t = yu(e) ? e.status + " " + e.statusText : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null, r = "rgba(200,200,200, 0.5)", o = {
11795
11795
  padding: "0.5rem",
11796
11796
  backgroundColor: r
11797
11797
  }, i = {
@@ -11932,7 +11932,7 @@ function o6(e) {
11932
11932
  return t || (process.env.NODE_ENV !== "production" ? We(!1, iE(e)) : We(!1)), t;
11933
11933
  }
11934
11934
  function i6(e) {
11935
- let t = x.useContext(yu);
11935
+ let t = x.useContext(xu);
11936
11936
  return t || (process.env.NODE_ENV !== "production" ? We(!1, iE(e)) : We(!1)), t;
11937
11937
  }
11938
11938
  function a6(e) {
@@ -11958,7 +11958,7 @@ function c6() {
11958
11958
  return YQ(() => {
11959
11959
  n.current = !0;
11960
11960
  }), x.useCallback(function(o, i) {
11961
- i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && pn(n.current, zQ), n.current && (typeof o == "number" ? e.navigate(o) : e.navigate(o, Dl({
11961
+ i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && pn(n.current, zQ), n.current && (typeof o == "number" ? e.navigate(o) : e.navigate(o, Ol({
11962
11962
  fromRouteId: t
11963
11963
  }, i)));
11964
11964
  }, [e, t]);
@@ -11967,7 +11967,7 @@ const HI = {};
11967
11967
  function KQ(e, t, n) {
11968
11968
  !t && !HI[e] && (HI[e] = !0, process.env.NODE_ENV !== "production" && pn(!1, n));
11969
11969
  }
11970
- function Ol(e) {
11970
+ function Ll(e) {
11971
11971
  let {
11972
11972
  to: t,
11973
11973
  replace: n,
@@ -11989,7 +11989,7 @@ function Ol(e) {
11989
11989
  matches: A
11990
11990
  } = x.useContext(kr), {
11991
11991
  pathname: s
11992
- } = Yo(), l = An(), u = vu(t, Qu(A, i.v7_relativeSplatPath), s, o === "path"), g = JSON.stringify(u);
11992
+ } = Yo(), l = An(), u = bu(t, vu(A, i.v7_relativeSplatPath), s, o === "path"), g = JSON.stringify(u);
11993
11993
  return x.useEffect(() => l(JSON.parse(g), {
11994
11994
  replace: n,
11995
11995
  state: r,
@@ -12014,7 +12014,7 @@ function u6(e) {
12014
12014
  basename: s,
12015
12015
  navigator: i,
12016
12016
  static: a,
12017
- future: Dl({
12017
+ future: Ol({
12018
12018
  v7_relativeSplatPath: !1
12019
12019
  }, A)
12020
12020
  }), [s, A, i, a]);
@@ -12040,7 +12040,7 @@ function u6(e) {
12040
12040
  }, [s, u, g, E, p, f, o]);
12041
12041
  return process.env.NODE_ENV !== "production" && pn(C != null, '<Router basename="' + s + '"> is not able to match the URL ' + ('"' + u + g + E + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), C == null ? null : /* @__PURE__ */ x.createElement(Mr.Provider, {
12042
12042
  value: l
12043
- }, /* @__PURE__ */ x.createElement(xu.Provider, {
12043
+ }, /* @__PURE__ */ x.createElement(wu.Provider, {
12044
12044
  children: n,
12045
12045
  value: C
12046
12046
  }));
@@ -12091,18 +12091,18 @@ function AE(e, t) {
12091
12091
  o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
12092
12092
  return n;
12093
12093
  }
12094
- const $c = "get", el = "application/x-www-form-urlencoded";
12095
- function wu(e) {
12094
+ const el = "get", tl = "application/x-www-form-urlencoded";
12095
+ function Su(e) {
12096
12096
  return e != null && typeof e.tagName == "string";
12097
12097
  }
12098
12098
  function d6(e) {
12099
- return wu(e) && e.tagName.toLowerCase() === "button";
12099
+ return Su(e) && e.tagName.toLowerCase() === "button";
12100
12100
  }
12101
12101
  function C6(e) {
12102
- return wu(e) && e.tagName.toLowerCase() === "form";
12102
+ return Su(e) && e.tagName.toLowerCase() === "form";
12103
12103
  }
12104
12104
  function E6(e) {
12105
- return wu(e) && e.tagName.toLowerCase() === "input";
12105
+ return Su(e) && e.tagName.toLowerCase() === "input";
12106
12106
  }
12107
12107
  function f6(e) {
12108
12108
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
@@ -12126,35 +12126,35 @@ function p6(e, t) {
12126
12126
  });
12127
12127
  }), n;
12128
12128
  }
12129
- let Ec = null;
12129
+ let fc = null;
12130
12130
  function h6() {
12131
- if (Ec === null)
12131
+ if (fc === null)
12132
12132
  try {
12133
12133
  new FormData(
12134
12134
  document.createElement("form"),
12135
12135
  // @ts-expect-error if FormData supports the submitter parameter, this will throw
12136
12136
  0
12137
- ), Ec = !1;
12137
+ ), fc = !1;
12138
12138
  } catch {
12139
- Ec = !0;
12139
+ fc = !0;
12140
12140
  }
12141
- return Ec;
12141
+ return fc;
12142
12142
  }
12143
12143
  const B6 = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
12144
12144
  function pg(e) {
12145
- return e != null && !B6.has(e) ? (process.env.NODE_ENV !== "production" && pn(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + el + '"')), null) : e;
12145
+ return e != null && !B6.has(e) ? (process.env.NODE_ENV !== "production" && pn(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + tl + '"')), null) : e;
12146
12146
  }
12147
12147
  function m6(e, t) {
12148
12148
  let n, r, o, i, a;
12149
12149
  if (C6(e)) {
12150
12150
  let A = e.getAttribute("action");
12151
- r = A ? Zr(A, t) : null, n = e.getAttribute("method") || $c, o = pg(e.getAttribute("enctype")) || el, i = new FormData(e);
12151
+ r = A ? Zr(A, t) : null, n = e.getAttribute("method") || el, o = pg(e.getAttribute("enctype")) || tl, i = new FormData(e);
12152
12152
  } else if (d6(e) || E6(e) && (e.type === "submit" || e.type === "image")) {
12153
12153
  let A = e.form;
12154
12154
  if (A == null)
12155
12155
  throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
12156
12156
  let s = e.getAttribute("formaction") || A.getAttribute("action");
12157
- if (r = s ? Zr(s, t) : null, n = e.getAttribute("formmethod") || A.getAttribute("method") || $c, o = pg(e.getAttribute("formenctype")) || pg(A.getAttribute("enctype")) || el, i = new FormData(A, e), !h6()) {
12157
+ if (r = s ? Zr(s, t) : null, n = e.getAttribute("formmethod") || A.getAttribute("method") || el, o = pg(e.getAttribute("formenctype")) || pg(A.getAttribute("enctype")) || tl, i = new FormData(A, e), !h6()) {
12158
12158
  let {
12159
12159
  name: l,
12160
12160
  type: u,
@@ -12166,9 +12166,9 @@ function m6(e, t) {
12166
12166
  } else l && i.append(l, g);
12167
12167
  }
12168
12168
  } else {
12169
- if (wu(e))
12169
+ if (Su(e))
12170
12170
  throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
12171
- n = $c, r = null, o = el, a = e;
12171
+ n = el, r = null, o = tl, a = e;
12172
12172
  }
12173
12173
  return i && o === "text/plain" && (a = i, i = void 0), {
12174
12174
  action: r,
@@ -12212,7 +12212,7 @@ function w6(e) {
12212
12212
  let t = Object.entries(e), n = {};
12213
12213
  for (let [r, o] of t)
12214
12214
  if (o && o.__type === "RouteErrorResponse")
12215
- n[r] = new Rl(o.status, o.statusText, o.data, o.internal === !0);
12215
+ n[r] = new Dl(o.status, o.statusText, o.data, o.internal === !0);
12216
12216
  else if (o && o.__type === "Error") {
12217
12217
  if (o.__subType) {
12218
12218
  let i = window[o.__subType];
@@ -12360,7 +12360,7 @@ function ZQ(e) {
12360
12360
  }), [n.future.v7_relativeSplatPath]);
12361
12361
  return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(mA.Provider, {
12362
12362
  value: b
12363
- }, /* @__PURE__ */ x.createElement(yu.Provider, {
12363
+ }, /* @__PURE__ */ x.createElement(xu.Provider, {
12364
12364
  value: o
12365
12365
  }, /* @__PURE__ */ x.createElement(qQ.Provider, {
12366
12366
  value: d.current
@@ -12445,7 +12445,7 @@ const P6 = /* @__PURE__ */ x.forwardRef(function(t, n) {
12445
12445
  children: u
12446
12446
  } = t, g = AE(t, v6), E = Ys(s, {
12447
12447
  relative: g.relative
12448
- }), p = Yo(), f = x.useContext(yu), {
12448
+ }), p = Yo(), f = x.useContext(xu), {
12449
12449
  navigator: C,
12450
12450
  basename: d
12451
12451
  } = x.useContext(Mr), h = f != null && // Conditional usage is OK here because the usage of a data router is static
@@ -12477,7 +12477,7 @@ const N6 = /* @__PURE__ */ x.forwardRef((e, t) => {
12477
12477
  reloadDocument: o,
12478
12478
  replace: i,
12479
12479
  state: a,
12480
- method: A = $c,
12480
+ method: A = el,
12481
12481
  action: s,
12482
12482
  onSubmit: l,
12483
12483
  relative: u,
@@ -12509,10 +12509,10 @@ const N6 = /* @__PURE__ */ x.forwardRef((e, t) => {
12509
12509
  });
12510
12510
  process.env.NODE_ENV !== "production" && (N6.displayName = "Form");
12511
12511
  process.env.NODE_ENV;
12512
- var Ll;
12512
+ var Fl;
12513
12513
  (function(e) {
12514
12514
  e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
12515
- })(Ll || (Ll = {}));
12515
+ })(Fl || (Fl = {}));
12516
12516
  var zI;
12517
12517
  (function(e) {
12518
12518
  e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
@@ -12570,7 +12570,7 @@ let U6 = 0, V6 = () => "__" + String(++U6) + "__";
12570
12570
  function H6() {
12571
12571
  let {
12572
12572
  router: e
12573
- } = e0(Ll.UseSubmit), {
12573
+ } = e0(Fl.UseSubmit), {
12574
12574
  basename: t
12575
12575
  } = x.useContext(Mr), n = A6();
12576
12576
  return x.useCallback(function(r, o) {
@@ -12630,13 +12630,13 @@ function W6(e, t) {
12630
12630
  n == null && (process.env.NODE_ENV !== "production" ? We(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : We(!1));
12631
12631
  let {
12632
12632
  basename: r
12633
- } = e0(Ll.useViewTransitionState), o = Ys(e, {
12633
+ } = e0(Fl.useViewTransitionState), o = Ys(e, {
12634
12634
  relative: t.relative
12635
12635
  });
12636
12636
  if (!n.isTransitioning)
12637
12637
  return !1;
12638
12638
  let i = Zr(n.currentLocation.pathname, r) || n.currentLocation.pathname, a = Zr(n.nextLocation.pathname, r) || n.nextLocation.pathname;
12639
- return _l(o.pathname, a) != null || _l(o.pathname, i) != null;
12639
+ return Rl(o.pathname, a) != null || Rl(o.pathname, i) != null;
12640
12640
  }
12641
12641
  const z6 = S(W)`
12642
12642
  width: 100%;
@@ -12861,7 +12861,7 @@ const z6 = S(W)`
12861
12861
  `, c9 = () => {
12862
12862
  const { availableFeatures: e, sendTrackingEvent: t } = Ve(vn), n = An(), r = yi(), o = Bt(dQ), i = Bt(XC), a = Bt(F4);
12863
12863
  fe(() => {
12864
- r(Uc());
12864
+ r(Vc());
12865
12865
  }, [r]);
12866
12866
  const A = (s, l) => {
12867
12867
  var g;
@@ -12962,7 +12962,7 @@ const z6 = S(W)`
12962
12962
  return /* @__PURE__ */ c.jsx(lE.Provider, { value: r, children: e });
12963
12963
  });
12964
12964
  i0.displayName = "SingletonProvider";
12965
- const a0 = (e) => e.connectorLirary.connectorList, Su = (e) => e.connectorLirary.connectors, A0 = (e) => e.connectorLirary.connectorsApiStatus, h9 = (e) => e.connectorLirary.currentUpdatingConnectors, uE = (e) => e.connectorLirary.connectorDetailApiStatus, s0 = (e) => e.connectorLirary.emailInboxDetails, c0 = (e) => e.connectorLirary.rolesAndPermissions, B9 = (e) => e.connectorLirary.updateEnableConnectorsApiStatus, m9 = (e) => e.connectorLirary.cardCustomFields, Q9 = (e) => e.connectorLirary.cardCustomFieldsApiStatus, v9 = S($)`
12965
+ const a0 = (e) => e.connectorLirary.connectorList, Tu = (e) => e.connectorLirary.connectors, A0 = (e) => e.connectorLirary.connectorsApiStatus, h9 = (e) => e.connectorLirary.currentUpdatingConnectors, uE = (e) => e.connectorLirary.connectorDetailApiStatus, s0 = (e) => e.connectorLirary.emailInboxDetails, c0 = (e) => e.connectorLirary.rolesAndPermissions, B9 = (e) => e.connectorLirary.updateEnableConnectorsApiStatus, m9 = (e) => e.connectorLirary.cardCustomFields, Q9 = (e) => e.connectorLirary.cardCustomFieldsApiStatus, v9 = S($)`
12966
12966
  border-radius: ${T.shape.borderRadius}px;
12967
12967
  border: 1px solid ${T.palette.gray.gray5};
12968
12968
  margin-bottom: 12px;
@@ -13158,7 +13158,7 @@ const a0 = (e) => e.connectorLirary.connectorList, Su = (e) => e.connectorLirary
13158
13158
  fill: ${T.palette.gray.white};
13159
13159
  width: 10px;
13160
13160
  }
13161
- `, J9 = (e, { closeToast: t }) => /* @__PURE__ */ c.jsx(Y9, { children: /* @__PURE__ */ c.jsx("img", { src: H9, onClick: t }) }), fc = ({ message: e }) => /* @__PURE__ */ c.jsxs(G9, { children: [
13161
+ `, J9 = (e, { closeToast: t }) => /* @__PURE__ */ c.jsx(Y9, { children: /* @__PURE__ */ c.jsx("img", { src: H9, onClick: t }) }), Ic = ({ message: e }) => /* @__PURE__ */ c.jsxs(G9, { children: [
13162
13162
  /* @__PURE__ */ c.jsx(z9, {}),
13163
13163
  /* @__PURE__ */ c.jsx(W9, { children: e })
13164
13164
  ] });
@@ -13176,19 +13176,19 @@ function Ar(e) {
13176
13176
  let i;
13177
13177
  switch (n) {
13178
13178
  case iA: {
13179
- i = Et.success(/* @__PURE__ */ c.jsx(fc, { message: t }), { ...o, icon: !1 });
13179
+ i = Et.success(/* @__PURE__ */ c.jsx(Ic, { message: t }), { ...o, icon: !1 });
13180
13180
  break;
13181
13181
  }
13182
13182
  case Uo: {
13183
- i = Et.error(/* @__PURE__ */ c.jsx(fc, { message: t }), { ...o, icon: !1 });
13183
+ i = Et.error(/* @__PURE__ */ c.jsx(Ic, { message: t }), { ...o, icon: !1 });
13184
13184
  break;
13185
13185
  }
13186
13186
  case l0: {
13187
- i = Et.info(/* @__PURE__ */ c.jsx(fc, { message: t }), { ...o, icon: !1 });
13187
+ i = Et.info(/* @__PURE__ */ c.jsx(Ic, { message: t }), { ...o, icon: !1 });
13188
13188
  break;
13189
13189
  }
13190
13190
  default: {
13191
- i = Et.info(/* @__PURE__ */ c.jsx(fc, { message: t }), { ...o, icon: !1 });
13191
+ i = Et.info(/* @__PURE__ */ c.jsx(Ic, { message: t }), { ...o, icon: !1 });
13192
13192
  break;
13193
13193
  }
13194
13194
  }
@@ -13293,7 +13293,7 @@ function A8() {
13293
13293
  t
13294
13294
  );
13295
13295
  }
13296
- const Tu = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
13296
+ const _u = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
13297
13297
  function vA(e) {
13298
13298
  const t = Object.prototype.toString.call(e);
13299
13299
  return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
@@ -13321,7 +13321,7 @@ function g0(e) {
13321
13321
  function bA(e) {
13322
13322
  return e ? vA(e) ? e.document : dE(e) ? CE(e) ? e : Js(e) || g0(e) ? e.ownerDocument : document : document : document;
13323
13323
  }
13324
- const vo = Tu ? Us : fe;
13324
+ const vo = _u ? Us : fe;
13325
13325
  function EE(e) {
13326
13326
  const t = De(e);
13327
13327
  return vo(() => {
@@ -13358,7 +13358,7 @@ function Ks(e, t) {
13358
13358
  [...t]
13359
13359
  );
13360
13360
  }
13361
- function Fl(e) {
13361
+ function Pl(e) {
13362
13362
  const t = EE(e), n = De(null), r = qe(
13363
13363
  (o) => {
13364
13364
  o !== n.current && (t == null || t(o, n.current)), n.current = o;
@@ -13399,7 +13399,7 @@ function d0(e) {
13399
13399
  });
13400
13400
  };
13401
13401
  }
13402
- const Ra = /* @__PURE__ */ d0(1), Pl = /* @__PURE__ */ d0(-1);
13402
+ const Ra = /* @__PURE__ */ d0(1), Nl = /* @__PURE__ */ d0(-1);
13403
13403
  function c8(e) {
13404
13404
  return "clientX" in e && "clientY" in e;
13405
13405
  }
@@ -13666,13 +13666,13 @@ function B8(e) {
13666
13666
  id: A,
13667
13667
  announcement: a
13668
13668
  }));
13669
- return n ? iu(u, n) : u;
13669
+ return n ? au(u, n) : u;
13670
13670
  }
13671
13671
  var mn;
13672
13672
  (function(e) {
13673
13673
  e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
13674
13674
  })(mn || (mn = {}));
13675
- function Nl() {
13675
+ function Ml() {
13676
13676
  }
13677
13677
  function E0(e, t) {
13678
13678
  return ve(
@@ -13936,7 +13936,7 @@ function p0(e) {
13936
13936
  return t ?? null;
13937
13937
  }
13938
13938
  function Bg(e) {
13939
- return !Tu || !e ? null : vA(e) ? e : dE(e) ? CE(e) || e === bA(e).scrollingElement ? window : Js(e) ? e : null : null;
13939
+ return !_u || !e ? null : vA(e) ? e : dE(e) ? CE(e) || e === bA(e).scrollingElement ? window : Js(e) ? e : null : null;
13940
13940
  }
13941
13941
  function h0(e) {
13942
13942
  return vA(e) ? e.scrollX : e.scrollLeft;
@@ -13955,7 +13955,7 @@ var Tn;
13955
13955
  e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
13956
13956
  })(Tn || (Tn = {}));
13957
13957
  function m0(e) {
13958
- return !Tu || !e ? !1 : e === document.scrollingElement;
13958
+ return !_u || !e ? !1 : e === document.scrollingElement;
13959
13959
  }
13960
13960
  function Q0(e) {
13961
13961
  const t = {
@@ -14210,7 +14210,7 @@ class y0 {
14210
14210
  currentCoordinates: u
14211
14211
  });
14212
14212
  if (g) {
14213
- const E = Pl(g, u), p = {
14213
+ const E = Nl(g, u), p = {
14214
14214
  x: 0,
14215
14215
  y: 0
14216
14216
  }, {
@@ -14258,7 +14258,7 @@ class y0 {
14258
14258
  break;
14259
14259
  }
14260
14260
  }
14261
- this.handleMove(t, Ra(Pl(g, this.referenceCoordinates), p));
14261
+ this.handleMove(t, Ra(Nl(g, this.referenceCoordinates), p));
14262
14262
  }
14263
14263
  }
14264
14264
  }
@@ -14377,7 +14377,7 @@ class hE {
14377
14377
  } = i;
14378
14378
  if (!o)
14379
14379
  return;
14380
- const s = (n = Hd(t)) != null ? n : $r, l = Pl(o, s);
14380
+ const s = (n = Hd(t)) != null ? n : $r, l = Nl(o, s);
14381
14381
  if (!r && A) {
14382
14382
  if (rp(A)) {
14383
14383
  if (A.tolerance != null && mg(l, A.tolerance))
@@ -14420,7 +14420,7 @@ const z8 = {
14420
14420
  name: "pointerup"
14421
14421
  }
14422
14422
  };
14423
- class _u extends hE {
14423
+ class Ru extends hE {
14424
14424
  constructor(t) {
14425
14425
  const {
14426
14426
  event: n
@@ -14428,7 +14428,7 @@ class _u extends hE {
14428
14428
  super(t, z8, r);
14429
14429
  }
14430
14430
  }
14431
- _u.activators = [{
14431
+ Ru.activators = [{
14432
14432
  eventName: "onPointerDown",
14433
14433
  handler: (e, t) => {
14434
14434
  let {
@@ -14517,10 +14517,10 @@ var Es;
14517
14517
  (function(e) {
14518
14518
  e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
14519
14519
  })(Es || (Es = {}));
14520
- var Ml;
14520
+ var kl;
14521
14521
  (function(e) {
14522
14522
  e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
14523
- })(Ml || (Ml = {}));
14523
+ })(kl || (kl = {}));
14524
14524
  function X8(e) {
14525
14525
  let {
14526
14526
  acceleration: t,
@@ -14529,7 +14529,7 @@ function X8(e) {
14529
14529
  draggingRect: o,
14530
14530
  enabled: i,
14531
14531
  interval: a = 5,
14532
- order: A = Ml.TreeOrder,
14532
+ order: A = kl.TreeOrder,
14533
14533
  pointerCoordinates: s,
14534
14534
  scrollableAncestors: l,
14535
14535
  scrollableAncestorRects: u,
@@ -14563,7 +14563,7 @@ function X8(e) {
14563
14563
  return;
14564
14564
  const y = d.current.x * h.current.x, v = d.current.y * h.current.y;
14565
14565
  b.scrollBy(y, v);
14566
- }, []), Q = ve(() => A === Ml.TreeOrder ? [...l].reverse() : l, [A, l]);
14566
+ }, []), Q = ve(() => A === kl.TreeOrder ? [...l].reverse() : l, [A, l]);
14567
14567
  fe(
14568
14568
  () => {
14569
14569
  if (!i || !l.length || !I) {
@@ -14768,7 +14768,7 @@ function r_(e) {
14768
14768
  }, [r, n]);
14769
14769
  return fe(() => () => o == null ? void 0 : o.disconnect(), [o]), o;
14770
14770
  }
14771
- function Ru(e) {
14771
+ function Du(e) {
14772
14772
  let {
14773
14773
  callback: t,
14774
14774
  disabled: n
@@ -14819,7 +14819,7 @@ function ap(e, t, n) {
14819
14819
  }
14820
14820
  }
14821
14821
  }
14822
- }), A = Ru({
14822
+ }), A = Du({
14823
14823
  callback: i
14824
14824
  });
14825
14825
  return vo(() => {
@@ -14880,12 +14880,12 @@ function sp(e, t) {
14880
14880
  ), fe(() => {
14881
14881
  const r = e !== $r;
14882
14882
  r && !n.current && (n.current = e), !r && n.current && (n.current = null);
14883
- }, [e]), n.current ? Pl(e, n.current) : $r;
14883
+ }, [e]), n.current ? Nl(e, n.current) : $r;
14884
14884
  }
14885
14885
  function s_(e) {
14886
14886
  fe(
14887
14887
  () => {
14888
- if (!Tu)
14888
+ if (!_u)
14889
14889
  return;
14890
14890
  const t = e.map((n) => {
14891
14891
  let {
@@ -14929,7 +14929,7 @@ function l_(e, t) {
14929
14929
  function a() {
14930
14930
  i(() => e.length ? e.map((s) => m0(s) ? r : new pE(t(s), s)) : cp);
14931
14931
  }
14932
- const A = Ru({
14932
+ const A = Du({
14933
14933
  callback: a
14934
14934
  });
14935
14935
  return vo(() => {
@@ -14963,12 +14963,12 @@ function g_(e) {
14963
14963
  });
14964
14964
  break;
14965
14965
  }
14966
- }, [t]), i = Ru({
14966
+ }, [t]), i = Du({
14967
14967
  callback: o
14968
14968
  }), a = qe((l) => {
14969
14969
  const u = u_(l);
14970
14970
  i == null || i.disconnect(), u && (i == null || i.observe(u)), r(u ? t(u) : null);
14971
- }, [t, i]), [A, s] = Fl(a);
14971
+ }, [t, i]), [A, s] = Pl(a);
14972
14972
  return ve(() => ({
14973
14973
  nodeRef: A,
14974
14974
  rect: n,
@@ -14976,14 +14976,14 @@ function g_(e) {
14976
14976
  }), [n, A, s]);
14977
14977
  }
14978
14978
  const d_ = [{
14979
- sensor: _u,
14979
+ sensor: Ru,
14980
14980
  options: {}
14981
14981
  }, {
14982
14982
  sensor: y0,
14983
14983
  options: {}
14984
14984
  }], C_ = {
14985
14985
  current: {}
14986
- }, tl = {
14986
+ }, nl = {
14987
14987
  draggable: {
14988
14988
  measure: tp
14989
14989
  },
@@ -15033,12 +15033,12 @@ const E_ = {
15033
15033
  current: null
15034
15034
  },
15035
15035
  rect: null,
15036
- setRef: Nl
15036
+ setRef: Ml
15037
15037
  },
15038
15038
  scrollableAncestors: [],
15039
15039
  scrollableAncestorRects: [],
15040
- measuringConfiguration: tl,
15041
- measureDroppableContainers: Nl,
15040
+ measuringConfiguration: nl,
15041
+ measureDroppableContainers: Ml,
15042
15042
  windowRect: null,
15043
15043
  measuringScheduled: !1
15044
15044
  }, f_ = {
@@ -15049,11 +15049,11 @@ const E_ = {
15049
15049
  ariaDescribedById: {
15050
15050
  draggable: ""
15051
15051
  },
15052
- dispatch: Nl,
15052
+ dispatch: Ml,
15053
15053
  draggableNodes: /* @__PURE__ */ new Map(),
15054
15054
  over: null,
15055
- measureDroppableContainers: Nl
15056
- }, Du = /* @__PURE__ */ Wo(f_), S0 = /* @__PURE__ */ Wo(E_);
15055
+ measureDroppableContainers: Ml
15056
+ }, Ou = /* @__PURE__ */ Wo(f_), S0 = /* @__PURE__ */ Wo(E_);
15057
15057
  function I_() {
15058
15058
  return {
15059
15059
  draggable: {
@@ -15174,7 +15174,7 @@ function h_(e) {
15174
15174
  active: n,
15175
15175
  activatorEvent: r,
15176
15176
  draggableNodes: o
15177
- } = Ve(Du), i = Vd(r), a = Vd(n == null ? void 0 : n.id);
15177
+ } = Ve(Ou), i = Vd(r), a = Vd(n == null ? void 0 : n.id);
15178
15178
  return fe(() => {
15179
15179
  if (!t && !r && i && a != null) {
15180
15180
  if (!fE(i) || document.activeElement === i.target)
@@ -15216,15 +15216,15 @@ function m_(e) {
15216
15216
  return ve(
15217
15217
  () => ({
15218
15218
  draggable: {
15219
- ...tl.draggable,
15219
+ ...nl.draggable,
15220
15220
  ...e == null ? void 0 : e.draggable
15221
15221
  },
15222
15222
  droppable: {
15223
- ...tl.droppable,
15223
+ ...nl.droppable,
15224
15224
  ...e == null ? void 0 : e.droppable
15225
15225
  },
15226
15226
  dragOverlay: {
15227
- ...tl.dragOverlay,
15227
+ ...nl.dragOverlay,
15228
15228
  ...e == null ? void 0 : e.dragOverlay
15229
15229
  }
15230
15230
  }),
@@ -15398,7 +15398,7 @@ const Jd = /* @__PURE__ */ Ny(function(t) {
15398
15398
  rect: F
15399
15399
  }
15400
15400
  };
15401
- Ac(() => {
15401
+ sc(() => {
15402
15402
  Cr == null || Cr(jn), Q(oi.Initializing), h({
15403
15403
  type: mn.DragStart,
15404
15404
  initialCoordinates: dn,
@@ -15440,7 +15440,7 @@ const Jd = /* @__PURE__ */ Ny(function(t) {
15440
15440
  over: jn
15441
15441
  }, dn === mn.DragEnd && typeof te == "function" && await Promise.resolve(te(G)) && (dn = mn.DragCancel);
15442
15442
  }
15443
- R.current = null, Ac(() => {
15443
+ R.current = null, sc(() => {
15444
15444
  h({
15445
15445
  type: dn
15446
15446
  }), Q(oi.Uninitialized), To(null), X(null), le(null), kn.current = null;
@@ -15498,7 +15498,7 @@ const Jd = /* @__PURE__ */ Ny(function(t) {
15498
15498
  },
15499
15499
  over: cn
15500
15500
  };
15501
- Ac(() => {
15501
+ sc(() => {
15502
15502
  Mt == null || Mt(gn), I({
15503
15503
  type: "onDragMove",
15504
15504
  event: gn
@@ -15535,7 +15535,7 @@ const Jd = /* @__PURE__ */ Ny(function(t) {
15535
15535
  },
15536
15536
  over: $n
15537
15537
  };
15538
- Ac(() => {
15538
+ sc(() => {
15539
15539
  To($n), gn == null || gn(dn), I({
15540
15540
  type: "onDragOver",
15541
15541
  event: dn
@@ -15604,7 +15604,7 @@ const Jd = /* @__PURE__ */ Ny(function(t) {
15604
15604
  }), [re, Ur, N, Ie, h, P, v, Jt, H]);
15605
15605
  return pe.createElement(C0.Provider, {
15606
15606
  value: B
15607
- }, pe.createElement(Du.Provider, {
15607
+ }, pe.createElement(Ou.Provider, {
15608
15608
  value: Kt
15609
15609
  }, pe.createElement(S0.Provider, {
15610
15610
  value: wr
@@ -15641,11 +15641,11 @@ function y_(e) {
15641
15641
  ariaDescribedById: u,
15642
15642
  draggableNodes: g,
15643
15643
  over: E
15644
- } = Ve(Du), {
15644
+ } = Ve(Ou), {
15645
15645
  role: p = lp,
15646
15646
  roleDescription: f = "draggable",
15647
15647
  tabIndex: C = 0
15648
- } = o ?? {}, d = (s == null ? void 0 : s.id) === t, h = Ve(d ? T0 : v_), [I, B] = Fl(), [m, Q] = Fl(), b = c_(a, t), y = Ts(n);
15648
+ } = o ?? {}, d = (s == null ? void 0 : s.id) === t, h = Ve(d ? T0 : v_), [I, B] = Pl(), [m, Q] = Pl(), b = c_(a, t), y = Ts(n);
15649
15649
  vo(
15650
15650
  () => (g.set(t, {
15651
15651
  id: t,
@@ -15700,7 +15700,7 @@ function T_(e) {
15700
15700
  dispatch: A,
15701
15701
  over: s,
15702
15702
  measureDroppableContainers: l
15703
- } = Ve(Du), u = De({
15703
+ } = Ve(Ou), u = De({
15704
15704
  disabled: n
15705
15705
  }), g = De(!1), E = De(null), p = De(null), {
15706
15706
  disabled: f,
@@ -15721,12 +15721,12 @@ function T_(e) {
15721
15721
  },
15722
15722
  //eslint-disable-next-line react-hooks/exhaustive-deps
15723
15723
  [d]
15724
- ), B = Ru({
15724
+ ), B = Du({
15725
15725
  callback: I,
15726
15726
  disabled: f || !a
15727
15727
  }), m = qe((v, w) => {
15728
15728
  B && (w && (B.unobserve(w), g.current = !1), v && B.observe(v));
15729
- }, [B]), [Q, b] = Fl(m), y = Ts(t);
15729
+ }, [B]), [Q, b] = Pl(m), y = Ts(t);
15730
15730
  return fe(() => {
15731
15731
  !B || !Q.current || (B.disconnect(), g.current = !1, B.observe(Q.current));
15732
15732
  }, [Q, B]), fe(
@@ -15763,7 +15763,7 @@ function T_(e) {
15763
15763
  setNodeRef: b
15764
15764
  };
15765
15765
  }
15766
- function Ou(e, t, n) {
15766
+ function Lu(e, t, n) {
15767
15767
  const r = e.slice();
15768
15768
  return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
15769
15769
  }
@@ -15773,7 +15773,7 @@ function __(e, t) {
15773
15773
  return i && (n[o] = i), n;
15774
15774
  }, Array(e.length));
15775
15775
  }
15776
- function Ic(e) {
15776
+ function pc(e) {
15777
15777
  return e !== null && e >= 0;
15778
15778
  }
15779
15779
  function R_(e, t) {
@@ -15799,14 +15799,14 @@ const _0 = (e) => {
15799
15799
  overIndex: r,
15800
15800
  index: o
15801
15801
  } = e;
15802
- const i = Ou(t, r, n), a = t[o], A = i[o];
15802
+ const i = Lu(t, r, n), a = t[o], A = i[o];
15803
15803
  return !A || !a ? null : {
15804
15804
  x: A.left - a.left,
15805
15805
  y: A.top - a.top,
15806
15806
  scaleX: A.width / a.width,
15807
15807
  scaleY: A.height / a.height
15808
15808
  };
15809
- }, pc = {
15809
+ }, hc = {
15810
15810
  scaleX: 1,
15811
15811
  scaleY: 1
15812
15812
  }, Kd = (e) => {
@@ -15826,22 +15826,22 @@ const _0 = (e) => {
15826
15826
  return l ? {
15827
15827
  x: 0,
15828
15828
  y: n < a ? l.top + l.height - (A.top + A.height) : l.top - A.top,
15829
- ...pc
15829
+ ...hc
15830
15830
  } : null;
15831
15831
  }
15832
15832
  const s = O_(i, o, n);
15833
15833
  return o > n && o <= a ? {
15834
15834
  x: 0,
15835
15835
  y: -A.height - s,
15836
- ...pc
15836
+ ...hc
15837
15837
  } : o < n && o >= a ? {
15838
15838
  x: 0,
15839
15839
  y: A.height + s,
15840
- ...pc
15840
+ ...hc
15841
15841
  } : {
15842
15842
  x: 0,
15843
15843
  y: 0,
15844
- ...pc
15844
+ ...hc
15845
15845
  };
15846
15846
  };
15847
15847
  function O_(e, t, n) {
@@ -15908,7 +15908,7 @@ const L_ = (e) => {
15908
15908
  activeIndex: r,
15909
15909
  overIndex: o
15910
15910
  } = e;
15911
- return Ou(n, r, o).indexOf(t);
15911
+ return Lu(n, r, o).indexOf(t);
15912
15912
  }, F_ = (e) => {
15913
15913
  let {
15914
15914
  containerId: t,
@@ -16021,13 +16021,13 @@ function BE(e) {
16021
16021
  ...n
16022
16022
  },
16023
16023
  disabled: B.draggable
16024
- }), D = A8(M, z), O = !!L, j = O && !f && Ic(E) && Ic(d), H = !h && re, Z = H && j ? P : null, oe = j ? Z ?? (A ?? I)({
16024
+ }), D = A8(M, z), O = !!L, j = O && !f && pc(E) && pc(d), H = !h && re, Z = H && j ? P : null, oe = j ? Z ?? (A ?? I)({
16025
16025
  rects: C,
16026
16026
  activeNodeRect: N,
16027
16027
  activeIndex: E,
16028
16028
  overIndex: d,
16029
16029
  index: m
16030
- }) : null, de = Ic(E) && Ic(d) ? i({
16030
+ }) : null, de = pc(E) && pc(d) ? i({
16031
16031
  id: a,
16032
16032
  items: u,
16033
16033
  activeIndex: E,
@@ -16259,11 +16259,11 @@ const U_ = S(W)`
16259
16259
  };
16260
16260
  localStorage.setItem(Ws, JSON.stringify(o));
16261
16261
  }, q_ = ({ fields: e, setFields: t, cardId: n }) => {
16262
- const r = f0(E0(_u)), { userId: o } = Nr() || {}, i = Bt(Q9), a = (l) => {
16262
+ const r = f0(E0(Ru)), { userId: o } = Nr() || {}, i = Bt(Q9), a = (l) => {
16263
16263
  const { active: u, over: g } = l;
16264
16264
  (u == null ? void 0 : u.id) !== (g == null ? void 0 : g.id) && t((E) => {
16265
16265
  const p = E.findIndex((C) => C.key === (u == null ? void 0 : u.id)), f = E.findIndex((C) => C.key === (g == null ? void 0 : g.id));
16266
- return Ou(E, p, f);
16266
+ return Lu(E, p, f);
16267
16267
  });
16268
16268
  }, A = !!(o && mE(n, o)), s = (l) => {
16269
16269
  t((u) => u.map((g) => g.key === l ? { ...g, enabled: !g.enabled } : g));
@@ -16458,7 +16458,7 @@ const U_ = S(W)`
16458
16458
  fields: A,
16459
16459
  setVisitedFieldVisTab: s
16460
16460
  }) => {
16461
- const { availableFeatures: l, sendTrackingEvent: u } = Ve(vn), g = yi(), E = Bt(Su), p = Bt(c0) ?? [], f = Bt(s0) ?? [], C = Bt(m9), d = Bt(B9), { userId: h } = Nr() || {}, [I, B] = ne(
16461
+ const { availableFeatures: l, sendTrackingEvent: u } = Ve(vn), g = yi(), E = Bt(Tu), p = Bt(c0) ?? [], f = Bt(s0) ?? [], C = Bt(m9), d = Bt(B9), { userId: h } = Nr() || {}, [I, B] = ne(
16462
16462
  () => (f == null ? void 0 : f.filter((j) => n == null ? void 0 : n.includes(j.id))) ?? []
16463
16463
  ), [m, Q] = ne(
16464
16464
  () => (p == null ? void 0 : p.find((j) => o == null ? void 0 : o.includes(j.name))) ?? {}
@@ -16469,7 +16469,7 @@ const U_ = S(W)`
16469
16469
  }
16470
16470
  ), [v, w] = ne(Ti.CARD_VISIBILITY.ID);
16471
16471
  fe(() => {
16472
- g(Yc(t));
16472
+ g(Jc(t));
16473
16473
  }, [g, t]), fe(() => {
16474
16474
  C[t] && y((j) => up(j, C[t] || []));
16475
16475
  }, [C, t]);
@@ -16488,7 +16488,7 @@ const U_ = S(W)`
16488
16488
  j.stopPropagation();
16489
16489
  const H = m != null && m.name ? [m.name] : [], Z = I.map((oe) => oe.id), ie = b.map((oe, de) => ({ ...oe, priority: de + 1 }));
16490
16490
  g(
16491
- Gc({
16491
+ Wc({
16492
16492
  cardId: t,
16493
16493
  data: { roles: H, inboxes: { email: Z, chat: [] }, fields: ie },
16494
16494
  currentConnector: i
@@ -16529,7 +16529,7 @@ const U_ = S(W)`
16529
16529
  };
16530
16530
  return /* @__PURE__ */ c.jsx(e9, { children: /* @__PURE__ */ c.jsxs(i9, { children: [
16531
16531
  /* @__PURE__ */ c.jsx(t9, { variant: "h2", children: o0 }),
16532
- /* @__PURE__ */ c.jsx($, { marginBottom: "24px", children: /* @__PURE__ */ c.jsxs(au, { value: v, onChange: D, children: [
16532
+ /* @__PURE__ */ c.jsx($, { marginBottom: "24px", children: /* @__PURE__ */ c.jsxs(Au, { value: v, onChange: D, children: [
16533
16533
  /* @__PURE__ */ c.jsx(ZI, { label: O(Ti.CARD_VISIBILITY.ID) }),
16534
16534
  /* @__PURE__ */ c.jsx(ZI, { label: O(Ti.FIELD_VISIBILITY.ID, le) })
16535
16535
  ] }) }),
@@ -16545,7 +16545,7 @@ const U_ = S(W)`
16545
16545
  /* @__PURE__ */ c.jsx("div", { hidden: v !== Ti.FIELD_VISIBILITY.ID, children: /* @__PURE__ */ c.jsx(q_, { fields: b, setFields: y, cardId: t }) }),
16546
16546
  /* @__PURE__ */ c.jsxs(r9, { children: [
16547
16547
  /* @__PURE__ */ c.jsx(A9, { onClick: P, variant: "text", children: j5 }),
16548
- /* @__PURE__ */ c.jsx(st, { title: N ? X5 : null, children: /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(a9, { onClick: Y, disabled: R, children: d !== je.LOADING ? /* @__PURE__ */ c.jsx(ee, { variant: "body2_medium", children: K5 }) : /* @__PURE__ */ c.jsx(Au, { height: "22px", children: /* @__PURE__ */ c.jsx(o9, { size: 22 }) }) }) }) })
16548
+ /* @__PURE__ */ c.jsx(st, { title: N ? X5 : null, children: /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(a9, { onClick: Y, disabled: R, children: d !== je.LOADING ? /* @__PURE__ */ c.jsx(ee, { variant: "body2_medium", children: K5 }) : /* @__PURE__ */ c.jsx(su, { height: "22px", children: /* @__PURE__ */ c.jsx(o9, { size: 22 }) }) }) }) })
16549
16549
  ] })
16550
16550
  ] }) });
16551
16551
  }, a7 = S($)`
@@ -16691,7 +16691,7 @@ const A7 = S(W)`
16691
16691
  isConnectorCard: r = !1
16692
16692
  }) => {
16693
16693
  const { sendTrackingEvent: o } = Ve(vn), { id: i, name: a, logo: A, description: s, isAuthenticated: l, showUpgradeButton: u = !1, updates: g } = e, E = Bt(h9), p = Bt(A0), f = Bt(uE), [C, d] = ne(!1), h = yi(), I = An(), B = (R, z) => {
16694
- R == null || R.stopPropagation(), h(Vc({ id: z, enabled: R.target.checked })).unwrap().then(() => {
16694
+ R == null || R.stopPropagation(), h(Hc({ id: z, enabled: R.target.checked })).unwrap().then(() => {
16695
16695
  R.target.checked ? o(ht.TOGGLE_ENABLED, { connector_name: a }) : (o(ht.TOGGLE_DISABLED, { connector_name: a }), Ar({
16696
16696
  message: O9,
16697
16697
  type: l0
@@ -16794,7 +16794,7 @@ const A7 = S(W)`
16794
16794
  ) : null
16795
16795
  ] });
16796
16796
  }, E7 = () => {
16797
- const e = Bt(a0), t = Bt(Su);
16797
+ const e = Bt(a0), t = Bt(Tu);
16798
16798
  return /* @__PURE__ */ c.jsx(i0, { children: /* @__PURE__ */ c.jsx($, { "data-testid": "connector-custom-card", children: e.map((n) => {
16799
16799
  var r;
16800
16800
  return (r = t == null ? void 0 : t[n]) != null && r.id ? /* @__PURE__ */ c.jsx(
@@ -16897,7 +16897,7 @@ const A7 = S(W)`
16897
16897
  }) => {
16898
16898
  const { sendTrackingEvent: o } = Ve(vn), i = yi(), a = Bt(f7), A = Bt(I7), s = Bt(M0), [l, u] = ne(""), [g, E] = ne([]), [p, f] = ne([]), [C, d] = ne(!1), [h, I] = ne(!1), B = () => {
16899
16899
  const y = r ? YI.API : YI.CONNECTOR, v = p.map((w) => w.id);
16900
- i(Xc({ type: y, values: v, description: l })).unwrap().then(() => {
16900
+ i(qc({ type: y, values: v, description: l })).unwrap().then(() => {
16901
16901
  o(
16902
16902
  r ? ht.REQUEST_NEW_FEATURE_SUBMIT_CLICKED : ht.REQUEST_NEW_CONNECTOR_SUBMIT_CLICKED
16903
16903
  ), I(!0);
@@ -17076,9 +17076,9 @@ const A7 = S(W)`
17076
17076
  }, gp = () => {
17077
17077
  const e = yi(), { connectorFunctions: t } = Ve(vn), [n, r] = ne(!1), [o, i] = ne(!1), a = Bt(a0), A = Bt(dQ), s = Bt(A0), l = !!a.length, u = !!A.length, { sendTrackingEvent: g } = Ve(vn), E = s === je.LOADING;
17078
17078
  fe(() => {
17079
- t && (e(Hc(t.getInboxDetails)), e(Wc(t.getRoles)));
17079
+ t && (e(Gc(t.getInboxDetails)), e(zc(t.getRoles)));
17080
17080
  }, [t, e]), fe(() => {
17081
- e(zc()), e(Kc());
17081
+ e(Yc()), e(Xc());
17082
17082
  }, [e]);
17083
17083
  const p = (C, d = !1) => {
17084
17084
  r(C), i(!1), d && g(ht.REQUEST_NEW_CLICKED);
@@ -17260,7 +17260,7 @@ const A7 = S(W)`
17260
17260
  )) })
17261
17261
  ] }) });
17262
17262
  };
17263
- var Zd = { exports: {} }, hc = { exports: {} }, Rt = {};
17263
+ var Zd = { exports: {} }, Bc = { exports: {} }, Rt = {};
17264
17264
  /** @license React v16.13.1
17265
17265
  * react-is.production.min.js
17266
17266
  *
@@ -17429,7 +17429,7 @@ function gR() {
17429
17429
  }
17430
17430
  var fp;
17431
17431
  function k0() {
17432
- return fp || (fp = 1, process.env.NODE_ENV === "production" ? hc.exports = uR() : hc.exports = gR()), hc.exports;
17432
+ return fp || (fp = 1, process.env.NODE_ENV === "production" ? Bc.exports = uR() : Bc.exports = gR()), Bc.exports;
17433
17433
  }
17434
17434
  /*
17435
17435
  object-assign
@@ -17917,7 +17917,7 @@ if (process.env.NODE_ENV !== "production") {
17917
17917
  } else
17918
17918
  Zd.exports = fR()();
17919
17919
  var SA = Zd.exports;
17920
- const Le = /* @__PURE__ */ su(SA);
17920
+ const Le = /* @__PURE__ */ cu(SA);
17921
17921
  var jr = {}, U0 = {};
17922
17922
  function hR(e) {
17923
17923
  for (var t = 5381, n = e.length; n; )
@@ -17925,12 +17925,12 @@ function hR(e) {
17925
17925
  return t >>> 0;
17926
17926
  }
17927
17927
  var V0 = hR;
17928
- const BR = /* @__PURE__ */ su(V0);
17928
+ const BR = /* @__PURE__ */ cu(V0);
17929
17929
  var mR = yE;
17930
17930
  function yE(e) {
17931
- Ao.length || kl(), Ao[Ao.length] = e;
17931
+ Ao.length || jl(), Ao[Ao.length] = e;
17932
17932
  }
17933
- var Ao = [], kl, ao = 0, QR = 1024;
17933
+ var Ao = [], jl, ao = 0, QR = 1024;
17934
17934
  function vp() {
17935
17935
  for (; ao < Ao.length; ) {
17936
17936
  var e = ao;
@@ -17943,8 +17943,8 @@ function vp() {
17943
17943
  Ao.length = 0, ao = 0;
17944
17944
  }
17945
17945
  var bp = typeof tt < "u" ? tt : self, H0 = bp.MutationObserver || bp.WebKitMutationObserver;
17946
- typeof H0 == "function" ? kl = vR(vp) : kl = G0(vp);
17947
- yE.requestFlush = kl;
17946
+ typeof H0 == "function" ? jl = vR(vp) : jl = G0(vp);
17947
+ yE.requestFlush = jl;
17948
17948
  function vR(e) {
17949
17949
  var t = 1, n = new H0(e), r = document.createTextNode("");
17950
17950
  return n.observe(r, { characterData: !0 }), function() {
@@ -17960,7 +17960,7 @@ function G0(e) {
17960
17960
  };
17961
17961
  }
17962
17962
  yE.makeRequestCallFromTimer = G0;
17963
- var W0 = mR, jl = [], $d = [], bR = W0.makeRequestCallFromTimer(yR);
17963
+ var W0 = mR, Ul = [], $d = [], bR = W0.makeRequestCallFromTimer(yR);
17964
17964
  function yR() {
17965
17965
  if ($d.length)
17966
17966
  throw $d.shift();
@@ -17968,7 +17968,7 @@ function yR() {
17968
17968
  var z0 = eC;
17969
17969
  function eC(e) {
17970
17970
  var t;
17971
- jl.length ? t = jl.pop() : t = new Y0(), t.task = e, W0(t);
17971
+ Ul.length ? t = Ul.pop() : t = new Y0(), t.task = e, W0(t);
17972
17972
  }
17973
17973
  function Y0() {
17974
17974
  this.task = null;
@@ -17979,10 +17979,10 @@ Y0.prototype.call = function() {
17979
17979
  } catch (e) {
17980
17980
  eC.onerror ? eC.onerror(e) : ($d.push(e), bR());
17981
17981
  } finally {
17982
- this.task = null, jl[jl.length] = this;
17982
+ this.task = null, Ul[Ul.length] = this;
17983
17983
  }
17984
17984
  };
17985
- const xR = /* @__PURE__ */ su(z0);
17985
+ const xR = /* @__PURE__ */ cu(z0);
17986
17986
  (function(e) {
17987
17987
  function t(se) {
17988
17988
  return se && typeof se == "object" && "default" in se ? se.default : se;
@@ -19130,7 +19130,7 @@ var In = jr, tC = { exports: {} }, nC = { exports: {} }, J0 = { exports: {} };
19130
19130
  }
19131
19131
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
19132
19132
  })(J0);
19133
- var kR = J0.exports, Bc = { exports: {} }, yp;
19133
+ var kR = J0.exports, mc = { exports: {} }, yp;
19134
19134
  function jR() {
19135
19135
  return yp || (yp = 1, function(e, t) {
19136
19136
  t.__esModule = !0, t.default = n;
@@ -19138,7 +19138,7 @@ function jR() {
19138
19138
  return r.classList ? !!o && r.classList.contains(o) : (" " + (r.className.baseVal || r.className) + " ").indexOf(" " + o + " ") !== -1;
19139
19139
  }
19140
19140
  e.exports = t.default;
19141
- }(Bc, Bc.exports)), Bc.exports;
19141
+ }(mc, mc.exports)), mc.exports;
19142
19142
  }
19143
19143
  (function(e, t) {
19144
19144
  var n = kR;
@@ -20069,8 +20069,8 @@ var t1 = iC.exports;
20069
20069
  var u = l;
20070
20070
  t.default = u, e.exports = t.default;
20071
20071
  })(oC, oC.exports);
20072
- var oD = oC.exports, iD = Lu(tD), aD = Lu(oD), AD = Lu(t1), sD = Lu(Xn);
20073
- function Lu(e) {
20072
+ var oD = oC.exports, iD = Fu(tD), aD = Fu(oD), AD = Fu(t1), sD = Fu(Xn);
20073
+ function Fu(e) {
20074
20074
  return e && e.__esModule ? e : { default: e };
20075
20075
  }
20076
20076
  var wp = {
@@ -20128,7 +20128,7 @@ var CD = /([A-Z])/g, ED = function(t) {
20128
20128
  }, fD = function(t) {
20129
20129
  var n = t.replace(CD, ED);
20130
20130
  return n[0] === "m" && n[1] === "s" && n[2] === "-" ? "-".concat(n) : n;
20131
- }, nl = {
20131
+ }, rl = {
20132
20132
  animationIterationCount: !0,
20133
20133
  borderImageOutset: !0,
20134
20134
  borderImageSlice: !0,
@@ -20169,13 +20169,13 @@ function ID(e, t) {
20169
20169
  return e + t.charAt(0).toUpperCase() + t.substring(1);
20170
20170
  }
20171
20171
  var pD = ["Webkit", "ms", "Moz", "O"];
20172
- Object.keys(nl).forEach(function(e) {
20172
+ Object.keys(rl).forEach(function(e) {
20173
20173
  pD.forEach(function(t) {
20174
- nl[ID(t, e)] = nl[e];
20174
+ rl[ID(t, e)] = rl[e];
20175
20175
  });
20176
20176
  });
20177
20177
  var r1 = function(t, n) {
20178
- return typeof n == "number" ? nl[t] ? "" + n : n + "px" : "" + n;
20178
+ return typeof n == "number" ? rl[t] ? "" + n : n + "px" : "" + n;
20179
20179
  }, hD = function(t, n) {
20180
20180
  return (
20181
20181
  /* : string */
@@ -20784,7 +20784,7 @@ var iO = en(function(e, t) {
20784
20784
  return u.indexOf("Moz") > -1 ? d : (E["Webkit" + (0, o.default)(u)] = C, E["Moz" + (0, o.default)(u)] = d, f);
20785
20785
  }
20786
20786
  }
20787
- }), aO = $t(iO), Ue = ["Webkit"], Dg = ["Moz"], mc = ["ms"], Vn = ["Webkit", "Moz"], yn = ["Webkit", "ms"], KA = ["Webkit", "Moz", "ms"], AO = {
20787
+ }), aO = $t(iO), Ue = ["Webkit"], Dg = ["Moz"], Qc = ["ms"], Vn = ["Webkit", "Moz"], yn = ["Webkit", "ms"], KA = ["Webkit", "Moz", "ms"], AO = {
20788
20788
  plugins: [xD, SD, _D, DD, LD, PD, MD, jD, VD, GD, zD, JD, XD, ZD, aO],
20789
20789
  prefixMap: {
20790
20790
  transform: yn,
@@ -20884,10 +20884,10 @@ var iO = en(function(e, t) {
20884
20884
  boxSizing: Dg,
20885
20885
  textAlignLast: Dg,
20886
20886
  tabSize: Dg,
20887
- wrapFlow: mc,
20888
- wrapThrough: mc,
20889
- wrapMargin: mc,
20890
- touchAction: mc,
20887
+ wrapFlow: Qc,
20888
+ wrapThrough: Qc,
20889
+ wrapMargin: Qc,
20890
+ touchAction: Qc,
20891
20891
  textSizeAdjust: yn,
20892
20892
  borderImage: Ue,
20893
20893
  borderImageOutset: Ue,
@@ -21047,7 +21047,7 @@ var iO = en(function(e, t) {
21047
21047
  var a = AC(n, r, i, sC, o);
21048
21048
  c1(t, a);
21049
21049
  }
21050
- }, Ul = function() {
21050
+ }, Vl = function() {
21051
21051
  Rs = [], Aa = {}, aA = !1, _r = null;
21052
21052
  }, dO = function(t) {
21053
21053
  delete Aa[t];
@@ -21112,7 +21112,7 @@ var iO = en(function(e, t) {
21112
21112
  }
21113
21113
  }, QO = typeof window < "u" ? null : {
21114
21114
  renderStatic: function(t) {
21115
- Ul(), u1();
21115
+ Vl(), u1();
21116
21116
  var n = t(), r = EO();
21117
21117
  return {
21118
21118
  html: n,
@@ -21135,13 +21135,13 @@ var iO = en(function(e, t) {
21135
21135
  * clearBufferAndResumeStyleInjection.
21136
21136
  */
21137
21137
  suppressStyleInjection: function() {
21138
- Ul(), u1();
21138
+ Vl(), u1();
21139
21139
  },
21140
21140
  /**
21141
21141
  * Opposite method of preventStyleInject.
21142
21142
  */
21143
21143
  clearBufferAndResumeStyleInjection: function() {
21144
- Ul();
21144
+ Vl();
21145
21145
  },
21146
21146
  /**
21147
21147
  * Returns a string of buffered styles which have not been flushed
@@ -21194,14 +21194,14 @@ function f1(e) {
21194
21194
  flushToStyleTag: d1,
21195
21195
  injectAndGetClassName: Rp,
21196
21196
  defaultSelectorHandlers: Tp,
21197
- reset: Ul,
21197
+ reset: Vl,
21198
21198
  resetInjectedStyle: dO
21199
21199
  };
21200
21200
  }
21201
21201
  var bO = !0, So = f1(bO), yO = So.StyleSheet;
21202
21202
  So.StyleSheetServer;
21203
21203
  So.StyleSheetTestUtils;
21204
- var Qc = So.css;
21204
+ var vc = So.css;
21205
21205
  So.minify;
21206
21206
  So.flushToStyleTag;
21207
21207
  So.injectAndGetClassName;
@@ -21511,7 +21511,7 @@ SE.default = (0, eL.default)(Q1);
21511
21511
  return r && r.__esModule ? r : { default: r };
21512
21512
  }
21513
21513
  })(I1);
21514
- const iL = /* @__PURE__ */ su(I1);
21514
+ const iL = /* @__PURE__ */ cu(I1);
21515
21515
  var lt = {};
21516
21516
  lt.container = {
21517
21517
  background: "rgba(0, 0, 0, .8)",
@@ -21588,7 +21588,7 @@ var aL = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fun
21588
21588
  configurable: !0
21589
21589
  }
21590
21590
  }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
21591
- }, Fu = function(e, t) {
21591
+ }, Pu = function(e, t) {
21592
21592
  var n = {};
21593
21593
  for (var r in e)
21594
21594
  t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);
@@ -21623,19 +21623,19 @@ var cL = function(e) {
21623
21623
  return '<svg fill="' + e + `" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
21624
21624
  <path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
21625
21625
  </svg>`;
21626
- }, v1 = { arrowLeft: cL, arrowRight: lL, close: uL }, Pu = function(t) {
21627
- var n = t.fill, r = t.type, o = Fu(t, ["fill", "type"]), i = v1[r];
21626
+ }, v1 = { arrowLeft: cL, arrowRight: lL, close: uL }, Nu = function(t) {
21627
+ var n = t.fill, r = t.type, o = Pu(t, ["fill", "type"]), i = v1[r];
21628
21628
  return pe.createElement("span", _A({ dangerouslySetInnerHTML: { __html: i(n) } }, o));
21629
21629
  };
21630
- Pu.propTypes = {
21630
+ Nu.propTypes = {
21631
21631
  fill: Le.string,
21632
21632
  type: Le.oneOf(Object.keys(v1))
21633
21633
  };
21634
- Pu.defaultProps = {
21634
+ Nu.defaultProps = {
21635
21635
  fill: "#fff"
21636
21636
  };
21637
21637
  function AA(e) {
21638
- var t = e.direction, n = e.icon, r = e.onClick, o = e.size, i = e.theme, a = Fu(e, ["direction", "icon", "onClick", "size", "theme"]), A = In.StyleSheet.create(Bi(gL, i));
21638
+ var t = e.direction, n = e.icon, r = e.onClick, o = e.size, i = e.theme, a = Pu(e, ["direction", "icon", "onClick", "size", "theme"]), A = In.StyleSheet.create(Bi(gL, i));
21639
21639
  return pe.createElement(
21640
21640
  "button",
21641
21641
  _A({
@@ -21644,7 +21644,7 @@ function AA(e) {
21644
21644
  onClick: r,
21645
21645
  onTouchEnd: r
21646
21646
  }, a),
21647
- pe.createElement(Pu, {
21647
+ pe.createElement(Nu, {
21648
21648
  fill: !!i.arrow && i.arrow.fill || lt.arrow.fill,
21649
21649
  type: n
21650
21650
  })
@@ -21730,7 +21730,7 @@ var dL = {
21730
21730
  }
21731
21731
  };
21732
21732
  function y1(e) {
21733
- var t = e.caption, n = e.countCurr, r = e.countSeparator, o = e.countTotal, i = e.showCount, a = e.theme, A = Fu(e, ["caption", "countCurr", "countSeparator", "countTotal", "showCount", "theme"]);
21733
+ var t = e.caption, n = e.countCurr, r = e.countSeparator, o = e.countTotal, i = e.showCount, a = e.theme, A = Pu(e, ["caption", "countCurr", "countSeparator", "countTotal", "showCount", "theme"]);
21734
21734
  if (!t && !i) return null;
21735
21735
  var s = In.StyleSheet.create(Bi(CL, a)), l = i ? pe.createElement(
21736
21736
  "div",
@@ -21783,7 +21783,7 @@ var CL = {
21783
21783
  }
21784
21784
  };
21785
21785
  function x1(e) {
21786
- var t = e.customControls, n = e.onClose, r = e.showCloseBtn, o = e.closeBtnTitle, i = e.theme, a = Fu(e, ["customControls", "onClose", "showCloseBtn", "closeBtnTitle", "theme"]), A = In.StyleSheet.create(Bi(EL, i));
21786
+ var t = e.customControls, n = e.onClose, r = e.showCloseBtn, o = e.closeBtnTitle, i = e.theme, a = Pu(e, ["customControls", "onClose", "showCloseBtn", "closeBtnTitle", "theme"]), A = In.StyleSheet.create(Bi(EL, i));
21787
21787
  return pe.createElement(
21788
21788
  "div",
21789
21789
  _A({ className: In.css(A.header) }, a),
@@ -21795,7 +21795,7 @@ function x1(e) {
21795
21795
  className: In.css(A.close),
21796
21796
  onClick: n
21797
21797
  },
21798
- pe.createElement(Pu, { fill: !!i.close && i.close.fill || lt.close.fill, type: "close" })
21798
+ pe.createElement(Nu, { fill: !!i.close && i.close.fill || lt.close.fill, type: "close" })
21799
21799
  )
21800
21800
  );
21801
21801
  }
@@ -21981,7 +21981,7 @@ var fL = {
21981
21981
  );
21982
21982
  }
21983
21983
  }]), t;
21984
- }(ru);
21984
+ }(ou);
21985
21985
  S1.propTypes = {
21986
21986
  theme: Le.object,
21987
21987
  leftTitle: Le.string,
@@ -22047,7 +22047,7 @@ var T1 = function(e) {
22047
22047
  return null;
22048
22048
  }
22049
22049
  }]), t;
22050
- }(ru);
22050
+ }(ou);
22051
22051
  T1.propTypes = {
22052
22052
  children: Le.arrayOf(Le.any)
22053
22053
  };
@@ -22110,7 +22110,7 @@ var kp = pe.createContext({
22110
22110
  theme: lt,
22111
22111
  toggleTheme: function(t) {
22112
22112
  }
22113
- }), Nu = function(e) {
22113
+ }), Mu = function(e) {
22114
22114
  FE(t, e);
22115
22115
  function t(n) {
22116
22116
  OE(this, t);
@@ -22246,12 +22246,12 @@ var kp = pe.createContext({
22246
22246
  onTouchEnd: a && o.closeBackdrop
22247
22247
  },
22248
22248
  pe.createElement(
22249
- fl,
22249
+ Il,
22250
22250
  null,
22251
22251
  pe.createElement(
22252
22252
  "div",
22253
22253
  {
22254
- className: Qc(o.classes.content),
22254
+ className: vc(o.classes.content),
22255
22255
  style: {
22256
22256
  marginBottom: g,
22257
22257
  maxWidth: l
@@ -22281,9 +22281,9 @@ var kp = pe.createContext({
22281
22281
  var u = a[i], g = Mp(u), E = g ? "100vw" : null, p = s ? r.thumbnail.size : 0, f = r.header.height + r.footer.height + p + r.container.gutter.vertical + "px";
22282
22282
  return pe.createElement(
22283
22283
  "figure",
22284
- { className: Qc(this.classes.figure) },
22284
+ { className: vc(this.classes.figure) },
22285
22285
  pe.createElement("img", {
22286
- className: Qc(this.classes.img, l && this.classes.imgLoaded),
22286
+ className: vc(this.classes.img, l && this.classes.imgLoaded),
22287
22287
  onClick: A,
22288
22288
  sizes: E,
22289
22289
  alt: u.alt,
@@ -22342,7 +22342,7 @@ var kp = pe.createContext({
22342
22342
  return i ? null : pe.createElement(
22343
22343
  "div",
22344
22344
  {
22345
- className: Qc(this.classes.spinner, !s && this.classes.spinnerActive)
22345
+ className: vc(this.classes.spinner, !s && this.classes.spinnerActive)
22346
22346
  },
22347
22347
  pe.createElement(l, { color: a, size: A })
22348
22348
  );
@@ -22363,8 +22363,8 @@ var kp = pe.createContext({
22363
22363
  );
22364
22364
  }
22365
22365
  }]), t;
22366
- }(ru);
22367
- Nu.propTypes = {
22366
+ }(ou);
22367
+ Mu.propTypes = {
22368
22368
  backdropCloseable: Le.bool,
22369
22369
  closeBtnTitle: Le.string,
22370
22370
  currImg: Le.number,
@@ -22398,7 +22398,7 @@ Nu.propTypes = {
22398
22398
  thumbnailOffset: Le.number,
22399
22399
  width: Le.number
22400
22400
  };
22401
- Nu.defaultProps = {
22401
+ Mu.defaultProps = {
22402
22402
  currImg: 0,
22403
22403
  enableKeyboardInput: !0,
22404
22404
  imgCountSeparator: " / ",
@@ -22488,7 +22488,7 @@ const mL = {
22488
22488
  return /* @__PURE__ */ c.jsxs(QL, { className: "h-screenshot-viewer", children: [
22489
22489
  e.map(({ src: A }, s) => /* @__PURE__ */ c.jsx(vL, { onClick: () => n(s), children: /* @__PURE__ */ c.jsx("img", { src: A, alt: "connector-preview" }) }, A + s)),
22490
22490
  r ? /* @__PURE__ */ c.jsx(
22491
- Nu,
22491
+ Mu,
22492
22492
  {
22493
22493
  imgs: e,
22494
22494
  currImg: t,
@@ -22606,11 +22606,11 @@ const mL = {
22606
22606
  width: 50%;
22607
22607
  }
22608
22608
  `, ML = () => /* @__PURE__ */ c.jsxs(W, { marginTop: "28px", gap: "12px", children: [
22609
- /* @__PURE__ */ c.jsx(FL, { children: gc(3, (e) => /* @__PURE__ */ c.jsx(PL, { animation: "wave" }, e)) }),
22609
+ /* @__PURE__ */ c.jsx(FL, { children: dc(3, (e) => /* @__PURE__ */ c.jsx(PL, { animation: "wave" }, e)) }),
22610
22610
  /* @__PURE__ */ c.jsxs(NL, { children: [
22611
- gc(3, (e) => /* @__PURE__ */ c.jsx(Lg, { animation: "wave" }, e)),
22612
- gc(4, (e) => /* @__PURE__ */ c.jsx(Lg, { className: "li", animation: "wave" }, e)),
22613
- gc(2, (e) => /* @__PURE__ */ c.jsx(Lg, { animation: "wave" }, e))
22611
+ dc(3, (e) => /* @__PURE__ */ c.jsx(Lg, { animation: "wave" }, e)),
22612
+ dc(4, (e) => /* @__PURE__ */ c.jsx(Lg, { className: "li", animation: "wave" }, e)),
22613
+ dc(2, (e) => /* @__PURE__ */ c.jsx(Lg, { animation: "wave" }, e))
22614
22614
  ] })
22615
22615
  ] }), kL = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.86421%2015.9708C9.20287%2016.3941%209.13423%2017.0118%208.71091%2017.3505C8.28758%2017.6891%207.66987%2017.6205%207.33121%2017.1972L8.86421%2015.9708ZM2.94434%2010.1423L2.17784%2010.7555C1.89104%2010.397%201.89104%209.88757%202.17784%209.52907L2.94434%2010.1423ZM7.33121%203.08735C7.66987%202.66403%208.28758%202.59539%208.71091%202.93405C9.13423%203.27271%209.20287%203.89042%208.86421%204.31375L7.33121%203.08735ZM3.31243%2011.1852C2.77031%2011.1852%202.33084%2010.7457%202.33084%2010.2036C2.33084%209.66149%202.77031%209.22201%203.31243%209.22201L3.31243%2011.1852ZM17.0548%209.22201C17.5969%209.22201%2018.0364%209.66149%2018.0364%2010.2036C18.0364%2010.7457%2017.5969%2011.1852%2017.0548%2011.1852V9.22201ZM7.33121%2017.1972L2.17784%2010.7555L3.71083%209.52907L8.86421%2015.9708L7.33121%2017.1972ZM2.17784%209.52907L7.33121%203.08735L8.86421%204.31375L3.71083%2010.7555L2.17784%209.52907ZM3.31243%209.22201L17.0548%209.22201V11.1852L3.31243%2011.1852L3.31243%209.22201Z'%20fill='%236F7C90'/%3e%3c/svg%3e", jL = S(W)`
22616
22616
  margin: 9px 0 0 52px;
@@ -22625,7 +22625,7 @@ const mL = {
22625
22625
  margin: 0;
22626
22626
  }
22627
22627
  `, VL = () => {
22628
- const { availableFeatures: e, sendTrackingEvent: t } = Ve(vn), n = An(), r = Bt(Su), o = Bt(XC), i = Bt(uE), a = Bt(CQ), A = yi(), { id: s = "" } = Jo(), [l] = bi(), u = l.get("isEdit") === "true", g = (r == null ? void 0 : r[s]) || null, E = (o == null ? void 0 : o[s]) || null;
22628
+ const { availableFeatures: e, sendTrackingEvent: t } = Ve(vn), n = An(), r = Bt(Tu), o = Bt(XC), i = Bt(uE), a = Bt(CQ), A = yi(), { id: s = "" } = Jo(), [l] = bi(), u = l.get("isEdit") === "true", g = (r == null ? void 0 : r[s]) || null, E = (o == null ? void 0 : o[s]) || null;
22629
22629
  fe(() => {
22630
22630
  A(u ? ds(s) : gs(s));
22631
22631
  }, [u, A, s]);
@@ -22894,10 +22894,10 @@ function fF(e, t) {
22894
22894
  writable: !1
22895
22895
  }), t && uC(e, t);
22896
22896
  }
22897
- function Vl(e) {
22898
- return Vl = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
22897
+ function Hl(e) {
22898
+ return Hl = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
22899
22899
  return t.__proto__ || Object.getPrototypeOf(t);
22900
- }, Vl(e);
22900
+ }, Hl(e);
22901
22901
  }
22902
22902
  function P1() {
22903
22903
  try {
@@ -22921,9 +22921,9 @@ function pF(e, t) {
22921
22921
  function hF(e) {
22922
22922
  var t = P1();
22923
22923
  return function() {
22924
- var n, r = Vl(e);
22924
+ var n, r = Hl(e);
22925
22925
  if (t) {
22926
- var o = Vl(this).constructor;
22926
+ var o = Hl(this).constructor;
22927
22927
  n = Reflect.construct(r, arguments, o);
22928
22928
  } else n = r.apply(this, arguments);
22929
22929
  return pF(this, n);
@@ -22983,7 +22983,7 @@ var xF = /* @__PURE__ */ function() {
22983
22983
  return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
22984
22984
  }), this.tags = [], this.ctr = 0;
22985
22985
  }, e;
22986
- }(), Hn = "-ms-", Hl = "-moz-", xt = "-webkit-", N1 = "comm", ME = "rule", kE = "decl", wF = "@import", M1 = "@keyframes", SF = "@layer", TF = Math.abs, Mu = String.fromCharCode, _F = Object.assign;
22986
+ }(), Hn = "-ms-", Gl = "-moz-", xt = "-webkit-", N1 = "comm", ME = "rule", kE = "decl", wF = "@import", M1 = "@keyframes", SF = "@layer", TF = Math.abs, ku = String.fromCharCode, _F = Object.assign;
22987
22987
  function RF(e, t) {
22988
22988
  return Ln(e, 0) ^ 45 ? (((t << 2 ^ Ln(e, 0)) << 2 ^ Ln(e, 1)) << 2 ^ Ln(e, 2)) << 2 ^ Ln(e, 3) : 0;
22989
22989
  }
@@ -23011,32 +23011,32 @@ function go(e) {
23011
23011
  function jE(e) {
23012
23012
  return e.length;
23013
23013
  }
23014
- function vc(e, t) {
23014
+ function bc(e, t) {
23015
23015
  return t.push(e), e;
23016
23016
  }
23017
23017
  function OF(e, t) {
23018
23018
  return e.map(t).join("");
23019
23019
  }
23020
- var ku = 1, sA = 1, j1 = 0, cr = 0, fn = 0, RA = "";
23021
- function ju(e, t, n, r, o, i, a) {
23022
- return { value: e, root: t, parent: n, type: r, props: o, children: i, line: ku, column: sA, length: a, return: "" };
23020
+ var ju = 1, sA = 1, j1 = 0, cr = 0, fn = 0, RA = "";
23021
+ function Uu(e, t, n, r, o, i, a) {
23022
+ return { value: e, root: t, parent: n, type: r, props: o, children: i, line: ju, column: sA, length: a, return: "" };
23023
23023
  }
23024
23024
  function XA(e, t) {
23025
- return _F(ju("", null, null, "", null, null, 0), e, { length: -e.length }, t);
23025
+ return _F(Uu("", null, null, "", null, null, 0), e, { length: -e.length }, t);
23026
23026
  }
23027
23027
  function LF() {
23028
23028
  return fn;
23029
23029
  }
23030
23030
  function FF() {
23031
- return fn = cr > 0 ? Ln(RA, --cr) : 0, sA--, fn === 10 && (sA = 1, ku--), fn;
23031
+ return fn = cr > 0 ? Ln(RA, --cr) : 0, sA--, fn === 10 && (sA = 1, ju--), fn;
23032
23032
  }
23033
23033
  function mr() {
23034
- return fn = cr < j1 ? Ln(RA, cr++) : 0, sA++, fn === 10 && (sA = 1, ku++), fn;
23034
+ return fn = cr < j1 ? Ln(RA, cr++) : 0, sA++, fn === 10 && (sA = 1, ju++), fn;
23035
23035
  }
23036
23036
  function mo() {
23037
23037
  return Ln(RA, cr);
23038
23038
  }
23039
- function rl() {
23039
+ function ol() {
23040
23040
  return cr;
23041
23041
  }
23042
23042
  function Zs(e, t) {
@@ -23075,12 +23075,12 @@ function Os(e) {
23075
23075
  return 0;
23076
23076
  }
23077
23077
  function U1(e) {
23078
- return ku = sA = 1, j1 = go(RA = e), cr = 0, [];
23078
+ return ju = sA = 1, j1 = go(RA = e), cr = 0, [];
23079
23079
  }
23080
23080
  function V1(e) {
23081
23081
  return RA = "", e;
23082
23082
  }
23083
- function ol(e) {
23083
+ function il(e) {
23084
23084
  return k1(Zs(cr - 1, dC(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
23085
23085
  }
23086
23086
  function PF(e) {
@@ -23091,7 +23091,7 @@ function PF(e) {
23091
23091
  function NF(e, t) {
23092
23092
  for (; --t && mr() && !(fn < 48 || fn > 102 || fn > 57 && fn < 65 || fn > 70 && fn < 97); )
23093
23093
  ;
23094
- return Zs(e, rl() + (t < 6 && mo() == 32 && mr() == 32));
23094
+ return Zs(e, ol() + (t < 6 && mo() == 32 && mr() == 32));
23095
23095
  }
23096
23096
  function dC(e) {
23097
23097
  for (; mr(); )
@@ -23115,7 +23115,7 @@ function MF(e, t) {
23115
23115
  for (; mr() && e + fn !== 57; )
23116
23116
  if (e + fn === 84 && mo() === 47)
23117
23117
  break;
23118
- return "/*" + Zs(t, cr - 1) + "*" + Mu(e === 47 ? e : mr());
23118
+ return "/*" + Zs(t, cr - 1) + "*" + ku(e === 47 ? e : mr());
23119
23119
  }
23120
23120
  function kF(e) {
23121
23121
  for (; !Os(mo()); )
@@ -23123,20 +23123,20 @@ function kF(e) {
23123
23123
  return Zs(e, cr);
23124
23124
  }
23125
23125
  function jF(e) {
23126
- return V1(il("", null, null, null, [""], e = U1(e), 0, [0], e));
23126
+ return V1(al("", null, null, null, [""], e = U1(e), 0, [0], e));
23127
23127
  }
23128
- function il(e, t, n, r, o, i, a, A, s) {
23128
+ function al(e, t, n, r, o, i, a, A, s) {
23129
23129
  for (var l = 0, u = 0, g = a, E = 0, p = 0, f = 0, C = 1, d = 1, h = 1, I = 0, B = "", m = o, Q = i, b = r, y = B; d; )
23130
23130
  switch (f = I, I = mr()) {
23131
23131
  case 40:
23132
23132
  if (f != 108 && Ln(y, g - 1) == 58) {
23133
- gC(y += wt(ol(I), "&", "&\f"), "&\f") != -1 && (h = -1);
23133
+ gC(y += wt(il(I), "&", "&\f"), "&\f") != -1 && (h = -1);
23134
23134
  break;
23135
23135
  }
23136
23136
  case 34:
23137
23137
  case 39:
23138
23138
  case 91:
23139
- y += ol(I);
23139
+ y += il(I);
23140
23140
  break;
23141
23141
  case 9:
23142
23142
  case 10:
@@ -23145,13 +23145,13 @@ function il(e, t, n, r, o, i, a, A, s) {
23145
23145
  y += PF(f);
23146
23146
  break;
23147
23147
  case 92:
23148
- y += NF(rl() - 1, 7);
23148
+ y += NF(ol() - 1, 7);
23149
23149
  continue;
23150
23150
  case 47:
23151
23151
  switch (mo()) {
23152
23152
  case 42:
23153
23153
  case 47:
23154
- vc(UF(MF(mr(), rl()), t, n), s);
23154
+ bc(UF(MF(mr(), ol()), t, n), s);
23155
23155
  break;
23156
23156
  default:
23157
23157
  y += "/";
@@ -23167,24 +23167,24 @@ function il(e, t, n, r, o, i, a, A, s) {
23167
23167
  case 125:
23168
23168
  d = 0;
23169
23169
  case 59 + u:
23170
- h == -1 && (y = wt(y, /\f/g, "")), p > 0 && go(y) - g && vc(p > 32 ? zp(y + ";", r, n, g - 1) : zp(wt(y, " ", "") + ";", r, n, g - 2), s);
23170
+ h == -1 && (y = wt(y, /\f/g, "")), p > 0 && go(y) - g && bc(p > 32 ? zp(y + ";", r, n, g - 1) : zp(wt(y, " ", "") + ";", r, n, g - 2), s);
23171
23171
  break;
23172
23172
  case 59:
23173
23173
  y += ";";
23174
23174
  default:
23175
- if (vc(b = Wp(y, t, n, l, u, o, A, B, m = [], Q = [], g), i), I === 123)
23175
+ if (bc(b = Wp(y, t, n, l, u, o, A, B, m = [], Q = [], g), i), I === 123)
23176
23176
  if (u === 0)
23177
- il(y, t, b, b, m, i, g, A, Q);
23177
+ al(y, t, b, b, m, i, g, A, Q);
23178
23178
  else
23179
23179
  switch (E === 99 && Ln(y, 3) === 110 ? 100 : E) {
23180
23180
  case 100:
23181
23181
  case 108:
23182
23182
  case 109:
23183
23183
  case 115:
23184
- il(e, b, b, r && vc(Wp(e, b, b, 0, 0, o, A, B, o, m = [], g), Q), o, Q, g, A, r ? m : Q);
23184
+ al(e, b, b, r && bc(Wp(e, b, b, 0, 0, o, A, B, o, m = [], g), Q), o, Q, g, A, r ? m : Q);
23185
23185
  break;
23186
23186
  default:
23187
- il(y, b, b, b, [""], Q, 0, A, Q);
23187
+ al(y, b, b, b, [""], Q, 0, A, Q);
23188
23188
  }
23189
23189
  }
23190
23190
  l = u = p = 0, C = h = 1, B = y = "", g = a;
@@ -23198,7 +23198,7 @@ function il(e, t, n, r, o, i, a, A, s) {
23198
23198
  else if (I == 125 && C++ == 0 && FF() == 125)
23199
23199
  continue;
23200
23200
  }
23201
- switch (y += Mu(I), I * C) {
23201
+ switch (y += ku(I), I * C) {
23202
23202
  case 38:
23203
23203
  h = u > 0 ? 1 : (y += "\f", -1);
23204
23204
  break;
@@ -23206,7 +23206,7 @@ function il(e, t, n, r, o, i, a, A, s) {
23206
23206
  A[l++] = (go(y) - 1) * h, h = 1;
23207
23207
  break;
23208
23208
  case 64:
23209
- mo() === 45 && (y += ol(mr())), E = mo(), u = g = go(B = y += kF(rl())), I++;
23209
+ mo() === 45 && (y += il(mr())), E = mo(), u = g = go(B = y += kF(ol())), I++;
23210
23210
  break;
23211
23211
  case 45:
23212
23212
  f === 45 && go(y) == 2 && (C = 0);
@@ -23218,13 +23218,13 @@ function Wp(e, t, n, r, o, i, a, A, s, l, u) {
23218
23218
  for (var g = o - 1, E = o === 0 ? i : [""], p = jE(E), f = 0, C = 0, d = 0; f < r; ++f)
23219
23219
  for (var h = 0, I = Ds(e, g + 1, g = TF(C = a[f])), B = e; h < p; ++h)
23220
23220
  (B = k1(C > 0 ? E[h] + " " + I : wt(I, /&\f/g, E[h]))) && (s[d++] = B);
23221
- return ju(e, t, n, o === 0 ? ME : A, s, l, u);
23221
+ return Uu(e, t, n, o === 0 ? ME : A, s, l, u);
23222
23222
  }
23223
23223
  function UF(e, t, n) {
23224
- return ju(e, t, n, N1, Mu(LF()), Ds(e, 2, -2), 0);
23224
+ return Uu(e, t, n, N1, ku(LF()), Ds(e, 2, -2), 0);
23225
23225
  }
23226
23226
  function zp(e, t, n, r) {
23227
- return ju(e, t, n, kE, Ds(e, 0, r), Ds(e, r + 1, -1), r);
23227
+ return Uu(e, t, n, kE, Ds(e, 0, r), Ds(e, r + 1, -1), r);
23228
23228
  }
23229
23229
  function La(e, t) {
23230
23230
  for (var n = "", r = jE(e), o = 0; o < r; o++)
@@ -23278,7 +23278,7 @@ var zF = function(t, n, r) {
23278
23278
  o === 38 && mo() === 12 && (n[r] = 1), t[r] += zF(cr - 1, n, r);
23279
23279
  break;
23280
23280
  case 2:
23281
- t[r] += ol(o);
23281
+ t[r] += il(o);
23282
23282
  break;
23283
23283
  case 4:
23284
23284
  if (o === 44) {
@@ -23286,7 +23286,7 @@ var zF = function(t, n, r) {
23286
23286
  break;
23287
23287
  }
23288
23288
  default:
23289
- t[r] += Mu(o);
23289
+ t[r] += ku(o);
23290
23290
  }
23291
23291
  while (o = mr());
23292
23292
  return t;
@@ -23348,7 +23348,7 @@ function H1(e, t) {
23348
23348
  case 4810:
23349
23349
  case 6968:
23350
23350
  case 2756:
23351
- return xt + e + Hl + e + Hn + e + e;
23351
+ return xt + e + Gl + e + Hn + e + e;
23352
23352
  case 6828:
23353
23353
  case 4268:
23354
23354
  return xt + e + Hn + e + e;
@@ -23396,7 +23396,7 @@ function H1(e, t) {
23396
23396
  case 109:
23397
23397
  if (Ln(e, t + 4) !== 45) break;
23398
23398
  case 102:
23399
- return wt(e, /(.+:)(.+)-([^]+)/, "$1" + xt + "$2-$3$1" + Hl + (Ln(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
23399
+ return wt(e, /(.+:)(.+)-([^]+)/, "$1" + xt + "$2-$3$1" + Gl + (Ln(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
23400
23400
  case 115:
23401
23401
  return ~gC(e, "stretch") ? H1(wt(e, "stretch", "fill-available"), t) + e : e;
23402
23402
  }
@@ -23439,13 +23439,13 @@ var qF = function(t, n, r, o) {
23439
23439
  case ":read-only":
23440
23440
  case ":read-write":
23441
23441
  return La([XA(t, {
23442
- props: [wt(i, /:(read-\w+)/, ":" + Hl + "$1")]
23442
+ props: [wt(i, /:(read-\w+)/, ":" + Gl + "$1")]
23443
23443
  })], o);
23444
23444
  case "::placeholder":
23445
23445
  return La([XA(t, {
23446
23446
  props: [wt(i, /:(plac\w+)/, ":" + xt + "input-$1")]
23447
23447
  }), XA(t, {
23448
- props: [wt(i, /:(plac\w+)/, ":" + Hl + "$1")]
23448
+ props: [wt(i, /:(plac\w+)/, ":" + Gl + "$1")]
23449
23449
  }), XA(t, {
23450
23450
  props: [wt(i, /:(plac\w+)/, Hn + "input-$1")]
23451
23451
  })], o);
@@ -23921,7 +23921,7 @@ var EP = function(t) {
23921
23921
  );
23922
23922
  K1.Provider;
23923
23923
  var hP = function(t) {
23924
- return /* @__PURE__ */ ou(function(n, r) {
23924
+ return /* @__PURE__ */ iu(function(n, r) {
23925
23925
  var o = Ve(K1);
23926
23926
  return t(n, o, r);
23927
23927
  });
@@ -23986,7 +23986,7 @@ function xP(e, t) {
23986
23986
  }
23987
23987
  }));
23988
23988
  }
23989
- const wP = Math.min, SP = Math.max, Gl = Math.round, bc = Math.floor, Wl = (e) => ({
23989
+ const wP = Math.min, SP = Math.max, Wl = Math.round, yc = Math.floor, zl = (e) => ({
23990
23990
  x: e,
23991
23991
  y: e
23992
23992
  });
@@ -24008,7 +24008,7 @@ function TP(e) {
24008
24008
  y: n
24009
24009
  };
24010
24010
  }
24011
- function Uu() {
24011
+ function Vu() {
24012
24012
  return typeof window < "u";
24013
24013
  }
24014
24014
  function X1(e) {
@@ -24023,16 +24023,16 @@ function q1(e) {
24023
24023
  return (t = (Z1(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
24024
24024
  }
24025
24025
  function Z1(e) {
24026
- return Uu() ? e instanceof Node || e instanceof Go(e).Node : !1;
24026
+ return Vu() ? e instanceof Node || e instanceof Go(e).Node : !1;
24027
24027
  }
24028
24028
  function _P(e) {
24029
- return Uu() ? e instanceof Element || e instanceof Go(e).Element : !1;
24029
+ return Vu() ? e instanceof Element || e instanceof Go(e).Element : !1;
24030
24030
  }
24031
24031
  function HE(e) {
24032
- return Uu() ? e instanceof HTMLElement || e instanceof Go(e).HTMLElement : !1;
24032
+ return Vu() ? e instanceof HTMLElement || e instanceof Go(e).HTMLElement : !1;
24033
24033
  }
24034
24034
  function $p(e) {
24035
- return !Uu() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Go(e).ShadowRoot;
24035
+ return !Vu() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Go(e).ShadowRoot;
24036
24036
  }
24037
24037
  function $1(e) {
24038
24038
  const {
@@ -24068,15 +24068,15 @@ function ev(e) {
24068
24068
  const t = OP(e);
24069
24069
  return DP(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : HE(t) && $1(t) ? t : ev(t);
24070
24070
  }
24071
- function zl(e, t, n) {
24071
+ function Yl(e, t, n) {
24072
24072
  var r;
24073
24073
  t === void 0 && (t = []), n === void 0 && (n = !0);
24074
24074
  const o = ev(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a = Go(o);
24075
24075
  if (i) {
24076
24076
  const A = fC(a);
24077
- return t.concat(a, a.visualViewport || [], $1(o) ? o : [], A && n ? zl(A) : []);
24077
+ return t.concat(a, a.visualViewport || [], $1(o) ? o : [], A && n ? Yl(A) : []);
24078
24078
  }
24079
- return t.concat(o, zl(o, [], n));
24079
+ return t.concat(o, Yl(o, [], n));
24080
24080
  }
24081
24081
  function fC(e) {
24082
24082
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
@@ -24084,7 +24084,7 @@ function fC(e) {
24084
24084
  function LP(e) {
24085
24085
  const t = GE(e);
24086
24086
  let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
24087
- const o = HE(e), i = o ? e.offsetWidth : n, a = o ? e.offsetHeight : r, A = Gl(n) !== i || Gl(r) !== a;
24087
+ const o = HE(e), i = o ? e.offsetWidth : n, a = o ? e.offsetHeight : r, A = Wl(n) !== i || Wl(r) !== a;
24088
24088
  return A && (n = i, r = a), {
24089
24089
  width: n,
24090
24090
  height: r,
@@ -24097,19 +24097,19 @@ function WE(e) {
24097
24097
  function eh(e) {
24098
24098
  const t = WE(e);
24099
24099
  if (!HE(t))
24100
- return Wl(1);
24100
+ return zl(1);
24101
24101
  const n = t.getBoundingClientRect(), {
24102
24102
  width: r,
24103
24103
  height: o,
24104
24104
  $: i
24105
24105
  } = LP(t);
24106
- let a = (i ? Gl(n.width) : n.width) / r, A = (i ? Gl(n.height) : n.height) / o;
24106
+ let a = (i ? Wl(n.width) : n.width) / r, A = (i ? Wl(n.height) : n.height) / o;
24107
24107
  return (!a || !Number.isFinite(a)) && (a = 1), (!A || !Number.isFinite(A)) && (A = 1), {
24108
24108
  x: a,
24109
24109
  y: A
24110
24110
  };
24111
24111
  }
24112
- const FP = /* @__PURE__ */ Wl(0);
24112
+ const FP = /* @__PURE__ */ zl(0);
24113
24113
  function PP(e) {
24114
24114
  const t = Go(e);
24115
24115
  return !RP() || !t.visualViewport ? FP : {
@@ -24123,9 +24123,9 @@ function NP(e, t, n) {
24123
24123
  function th(e, t, n, r) {
24124
24124
  t === void 0 && (t = !1);
24125
24125
  const o = e.getBoundingClientRect(), i = WE(e);
24126
- let a = Wl(1);
24126
+ let a = zl(1);
24127
24127
  t && (a = eh(e));
24128
- const A = NP() ? PP(i) : Wl(0);
24128
+ const A = NP() ? PP(i) : zl(0);
24129
24129
  let s = (o.left + A.x) / a.x, l = (o.top + A.y) / a.y, u = o.width / a.x, g = o.height / a.y;
24130
24130
  if (i) {
24131
24131
  const E = Go(i), p = r;
@@ -24159,7 +24159,7 @@ function MP(e, t) {
24159
24159
  } = e.getBoundingClientRect();
24160
24160
  if (A || t(), !g || !E)
24161
24161
  return;
24162
- const p = bc(u), f = bc(o.clientWidth - (l + g)), C = bc(o.clientHeight - (u + E)), d = bc(l), I = {
24162
+ const p = yc(u), f = yc(o.clientWidth - (l + g)), C = yc(o.clientHeight - (u + E)), d = yc(l), I = {
24163
24163
  rootMargin: -p + "px " + -f + "px " + -C + "px " + -d + "px",
24164
24164
  threshold: SP(0, wP(1, s)) || 1
24165
24165
  };
@@ -24196,7 +24196,7 @@ function kP(e, t, n, r) {
24196
24196
  elementResize: a = typeof ResizeObserver == "function",
24197
24197
  layoutShift: A = typeof IntersectionObserver == "function",
24198
24198
  animationFrame: s = !1
24199
- } = r, l = WE(e), u = o || i ? [...l ? zl(l) : [], ...zl(t)] : [];
24199
+ } = r, l = WE(e), u = o || i ? [...l ? Yl(l) : [], ...Yl(t)] : [];
24200
24200
  u.forEach((h) => {
24201
24201
  o && h.addEventListener("scroll", n, {
24202
24202
  passive: !0
@@ -24224,7 +24224,7 @@ function kP(e, t, n, r) {
24224
24224
  }), g == null || g(), (h = p) == null || h.disconnect(), p = null, s && cancelAnimationFrame(f);
24225
24225
  };
24226
24226
  }
24227
- var IC = Us, jP = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Yl = function() {
24227
+ var IC = Us, jP = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Jl = function() {
24228
24228
  };
24229
24229
  function UP(e, t) {
24230
24230
  return t ? t[0] === "-" ? e + t : e + "__" + t : e;
@@ -24242,7 +24242,7 @@ function VP(e, t) {
24242
24242
  return String(A).trim();
24243
24243
  }).join(" ");
24244
24244
  }
24245
- var Jl = function(t) {
24245
+ var Kl = function(t) {
24246
24246
  return ZP(t) ? t.filter(Boolean) : sa(t) === "object" && t !== null ? [t] : [];
24247
24247
  }, tv = function(t) {
24248
24248
  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;
@@ -24262,17 +24262,17 @@ function HP(e, t, n) {
24262
24262
  }
24263
24263
  return e;
24264
24264
  }
24265
- function Vu(e) {
24265
+ function Hu(e) {
24266
24266
  return [document.documentElement, document.body, window].indexOf(e) > -1;
24267
24267
  }
24268
24268
  function GP(e) {
24269
- return Vu(e) ? window.innerHeight : e.clientHeight;
24269
+ return Hu(e) ? window.innerHeight : e.clientHeight;
24270
24270
  }
24271
24271
  function nv(e) {
24272
- return Vu(e) ? window.pageYOffset : e.scrollTop;
24272
+ return Hu(e) ? window.pageYOffset : e.scrollTop;
24273
24273
  }
24274
- function Kl(e, t) {
24275
- if (Vu(e)) {
24274
+ function Xl(e, t) {
24275
+ if (Hu(e)) {
24276
24276
  window.scrollTo(0, t);
24277
24277
  return;
24278
24278
  }
@@ -24289,18 +24289,18 @@ function WP(e) {
24289
24289
  function zP(e, t, n, r) {
24290
24290
  return n * ((e = e / r - 1) * e * e + 1) + t;
24291
24291
  }
24292
- function yc(e, t) {
24293
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Yl, o = nv(e), i = t - o, a = 10, A = 0;
24292
+ function xc(e, t) {
24293
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Jl, o = nv(e), i = t - o, a = 10, A = 0;
24294
24294
  function s() {
24295
24295
  A += a;
24296
24296
  var l = zP(A, o, i, n);
24297
- Kl(e, l), A < n ? window.requestAnimationFrame(s) : r(e);
24297
+ Xl(e, l), A < n ? window.requestAnimationFrame(s) : r(e);
24298
24298
  }
24299
24299
  s();
24300
24300
  }
24301
24301
  function nh(e, t) {
24302
24302
  var n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), o = t.offsetHeight / 3;
24303
- r.bottom + o > n.bottom ? Kl(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + o, e.scrollHeight)) : r.top - o < n.top && Kl(e, Math.max(t.offsetTop - o, 0));
24303
+ r.bottom + o > n.bottom ? Xl(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + o, e.scrollHeight)) : r.top - o < n.top && Xl(e, Math.max(t.offsetTop - o, 0));
24304
24304
  }
24305
24305
  function YP(e) {
24306
24306
  var t = e.getBoundingClientRect();
@@ -24331,8 +24331,8 @@ var rv = !1, KP = {
24331
24331
  get passive() {
24332
24332
  return rv = !0;
24333
24333
  }
24334
- }, xc = typeof window < "u" ? window : {};
24335
- xc.addEventListener && xc.removeEventListener && (xc.addEventListener("p", Yl, KP), xc.removeEventListener("p", Yl, !1));
24334
+ }, wc = typeof window < "u" ? window : {};
24335
+ wc.addEventListener && wc.removeEventListener && (wc.addEventListener("p", Jl, KP), wc.removeEventListener("p", Jl, !1));
24336
24336
  var XP = rv;
24337
24337
  function qP(e) {
24338
24338
  return e != null;
@@ -24371,12 +24371,12 @@ function nN(e) {
24371
24371
  maxHeight: t
24372
24372
  };
24373
24373
  if (w >= f && !a)
24374
- return i && yc(s, M, F), {
24374
+ return i && xc(s, M, F), {
24375
24375
  placement: "bottom",
24376
24376
  maxHeight: t
24377
24377
  };
24378
24378
  if (!a && w >= r || a && y >= r) {
24379
- i && yc(s, M, F);
24379
+ i && xc(s, M, F);
24380
24380
  var N = a ? y - m : w - m;
24381
24381
  return {
24382
24382
  placement: "bottom",
@@ -24391,7 +24391,7 @@ function nN(e) {
24391
24391
  };
24392
24392
  }
24393
24393
  if (o === "bottom")
24394
- return i && Kl(s, M), {
24394
+ return i && Xl(s, M), {
24395
24395
  placement: "bottom",
24396
24396
  maxHeight: t
24397
24397
  };
@@ -24403,13 +24403,13 @@ function nN(e) {
24403
24403
  maxHeight: t
24404
24404
  };
24405
24405
  if (v >= f && !a)
24406
- return i && yc(s, L, F), {
24406
+ return i && xc(s, L, F), {
24407
24407
  placement: "top",
24408
24408
  maxHeight: t
24409
24409
  };
24410
24410
  if (!a && v >= r || a && b >= r) {
24411
24411
  var X = t;
24412
- return (!a && v >= r || a && b >= r) && (X = a ? b - Q : v - Q), i && yc(s, L, F), {
24412
+ return (!a && v >= r || a && b >= r) && (X = a ? b - Q : v - Q), i && xc(s, L, F), {
24413
24413
  placement: "top",
24414
24414
  maxHeight: X
24415
24415
  };
@@ -24568,7 +24568,7 @@ var ov = function(t) {
24568
24568
  }), i), r);
24569
24569
  return Ke(iv.Provider, {
24570
24570
  value: f
24571
- }, n ? /* @__PURE__ */ iu(b, n) : b);
24571
+ }, n ? /* @__PURE__ */ au(b, n) : b);
24572
24572
  }, fN = function(t) {
24573
24573
  var n = t.isDisabled, r = t.isRtl;
24574
24574
  return {
@@ -25195,7 +25195,7 @@ var pM = process.env.NODE_ENV === "production" ? {
25195
25195
  });
25196
25196
  }
25197
25197
  return z;
25198
- }, [b, r, o, f, C, d, h, v, A, m, F]), R = Ke(fl, null, Ke("span", {
25198
+ }, [b, r, o, f, C, d, h, v, A, m, F]), R = Ke(Il, null, Ke("span", {
25199
25199
  id: "aria-selection"
25200
25200
  }, w), Ke("span", {
25201
25201
  id: "aria-focused"
@@ -25204,7 +25204,7 @@ var pM = process.env.NODE_ENV === "production" ? {
25204
25204
  }, L), Ke("span", {
25205
25205
  id: "aria-guidance"
25206
25206
  }, N));
25207
- return Ke(fl, null, Ke(ah, {
25207
+ return Ke(Il, null, Ke(ah, {
25208
25208
  id: l
25209
25209
  }, F && R), Ke(ah, {
25210
25210
  "aria-live": y,
@@ -25643,7 +25643,7 @@ function FM(e) {
25643
25643
  }), g = function(p) {
25644
25644
  l(p), u(p);
25645
25645
  };
25646
- return Ke(fl, null, n && Ke("div", {
25646
+ return Ke(Il, null, n && Ke("div", {
25647
25647
  onClick: OM,
25648
25648
  css: LM
25649
25649
  }), t(g));
@@ -25799,7 +25799,7 @@ var GM = function(t) {
25799
25799
  unstyled: !1
25800
25800
  };
25801
25801
  function Eh(e, t, n, r) {
25802
- var o = Bv(e, t, n), i = mv(e, t, n), a = hv(e, t), A = Xl(e, t);
25802
+ var o = Bv(e, t, n), i = mv(e, t, n), a = hv(e, t), A = ql(e, t);
25803
25803
  return {
25804
25804
  type: "option",
25805
25805
  data: t,
@@ -25810,7 +25810,7 @@ function Eh(e, t, n, r) {
25810
25810
  index: r
25811
25811
  };
25812
25812
  }
25813
- function al(e, t) {
25813
+ function Al(e, t) {
25814
25814
  return e.options.map(function(n, r) {
25815
25815
  if ("options" in n) {
25816
25816
  var o = n.options.map(function(a, A) {
@@ -25850,7 +25850,7 @@ function fh(e, t) {
25850
25850
  }, []);
25851
25851
  }
25852
25852
  function $M(e, t) {
25853
- return pv(al(e, t));
25853
+ return pv(Al(e, t));
25854
25854
  }
25855
25855
  function Ih(e, t) {
25856
25856
  var n = e.inputValue, r = n === void 0 ? "" : n, o = t.data, i = t.isSelected, a = t.label, A = t.value;
@@ -25882,7 +25882,7 @@ var Ug = function(t, n) {
25882
25882
  return o || null;
25883
25883
  }, hv = function(t, n) {
25884
25884
  return t.getOptionLabel(n);
25885
- }, Xl = function(t, n) {
25885
+ }, ql = function(t, n) {
25886
25886
  return t.getOptionValue(n);
25887
25887
  };
25888
25888
  function Bv(e, t, n) {
@@ -25892,9 +25892,9 @@ function mv(e, t, n) {
25892
25892
  if (n.indexOf(t) > -1) return !0;
25893
25893
  if (typeof e.isOptionSelected == "function")
25894
25894
  return e.isOptionSelected(t, n);
25895
- var r = Xl(e, t);
25895
+ var r = ql(e, t);
25896
25896
  return n.some(function(o) {
25897
- return Xl(e, o) === r;
25897
+ return ql(e, o) === r;
25898
25898
  });
25899
25899
  }
25900
25900
  function Qv(e, t, n) {
@@ -25903,7 +25903,7 @@ function Qv(e, t, n) {
25903
25903
  var vv = function(t) {
25904
25904
  var n = t.hideSelectedOptions, r = t.isMulti;
25905
25905
  return n === void 0 ? r : n;
25906
- }, nk = 1, Hu = /* @__PURE__ */ function(e) {
25906
+ }, nk = 1, Gu = /* @__PURE__ */ function(e) {
25907
25907
  fF(n, e);
25908
25908
  var t = hF(n);
25909
25909
  function n(r) {
@@ -25987,7 +25987,7 @@ var vv = function(t) {
25987
25987
  }, o.getFocusedOptionId = function(s) {
25988
25988
  return Ug(o.state.focusableOptionsWithIds, s);
25989
25989
  }, o.getFocusableOptionsWithIds = function() {
25990
- return fh(al(o.props, o.state.selectValue), o.getElementId("option"));
25990
+ return fh(Al(o.props, o.state.selectValue), o.getElementId("option"));
25991
25991
  }, o.getValue = function() {
25992
25992
  return o.state.selectValue;
25993
25993
  }, o.cx = function() {
@@ -25997,7 +25997,7 @@ var vv = function(t) {
25997
25997
  }, o.getOptionLabel = function(s) {
25998
25998
  return hv(o.props, s);
25999
25999
  }, o.getOptionValue = function(s) {
26000
- return Xl(o.props, s);
26000
+ return ql(o.props, s);
26001
26001
  }, o.getStyles = function(s, l) {
26002
26002
  var u = o.props.unstyled, g = zM[s](l, u);
26003
26003
  g.boxSizing = "border-box";
@@ -26011,7 +26011,7 @@ var vv = function(t) {
26011
26011
  }, o.getComponents = function() {
26012
26012
  return dM(o.props);
26013
26013
  }, o.buildCategorizedOptions = function() {
26014
- return al(o.props, o.state.selectValue);
26014
+ return Al(o.props, o.state.selectValue);
26015
26015
  }, o.getCategorizedOptions = function() {
26016
26016
  return o.props.menuIsOpen ? o.buildCategorizedOptions() : [];
26017
26017
  }, o.buildFocusableOptions = function() {
@@ -26045,7 +26045,7 @@ var vv = function(t) {
26045
26045
  return o.focusInput();
26046
26046
  }));
26047
26047
  }, o.onScroll = function(s) {
26048
- typeof o.props.closeMenuOnScroll == "boolean" ? s.target instanceof HTMLElement && Vu(s.target) && o.props.onMenuClose() : typeof o.props.closeMenuOnScroll == "function" && o.props.closeMenuOnScroll(s) && o.props.onMenuClose();
26048
+ typeof o.props.closeMenuOnScroll == "boolean" ? s.target instanceof HTMLElement && Hu(s.target) && o.props.onMenuClose() : typeof o.props.closeMenuOnScroll == "function" && o.props.closeMenuOnScroll(s) && o.props.onMenuClose();
26049
26049
  }, o.onCompositionStart = function() {
26050
26050
  o.isComposing = !0;
26051
26051
  }, o.onCompositionEnd = function() {
@@ -26188,7 +26188,7 @@ var vv = function(t) {
26188
26188
  }
26189
26189
  s.preventDefault();
26190
26190
  }
26191
- }, o.state.instancePrefix = "react-select-" + (o.props.instanceId || ++nk), o.state.selectValue = Jl(r.value), r.menuIsOpen && o.state.selectValue.length) {
26191
+ }, o.state.instancePrefix = "react-select-" + (o.props.instanceId || ++nk), o.state.selectValue = Kl(r.value), r.menuIsOpen && o.state.selectValue.length) {
26192
26192
  var i = o.getFocusableOptionsWithIds(), a = o.buildFocusableOptions(), A = a.indexOf(o.state.selectValue[0]);
26193
26193
  o.state.focusableOptionsWithIds = i, o.state.focusedOption = a[A], o.state.focusedOptionId = Ug(i, a[A]);
26194
26194
  }
@@ -26468,7 +26468,7 @@ var vv = function(t) {
26468
26468
  id: B,
26469
26469
  innerRef: this.getInputRef,
26470
26470
  onBlur: this.onInputBlur,
26471
- onChange: Yl,
26471
+ onChange: Jl,
26472
26472
  onFocus: this.onInputFocus,
26473
26473
  disabled: i,
26474
26474
  tabIndex: l,
@@ -26782,9 +26782,9 @@ var vv = function(t) {
26782
26782
  }], [{
26783
26783
  key: "getDerivedStateFromProps",
26784
26784
  value: function(o, i) {
26785
- var a = i.prevProps, A = i.clearFocusValueOnUpdate, s = i.inputIsHiddenAfterUpdate, l = i.ariaSelection, u = i.isFocused, g = i.prevWasFocused, E = i.instancePrefix, p = o.options, f = o.value, C = o.menuIsOpen, d = o.inputValue, h = o.isMulti, I = Jl(f), B = {};
26785
+ var a = i.prevProps, A = i.clearFocusValueOnUpdate, s = i.inputIsHiddenAfterUpdate, l = i.ariaSelection, u = i.isFocused, g = i.prevWasFocused, E = i.instancePrefix, p = o.options, f = o.value, C = o.menuIsOpen, d = o.inputValue, h = o.isMulti, I = Kl(f), B = {};
26786
26786
  if (a && (f !== a.value || p !== a.options || C !== a.menuIsOpen || d !== a.inputValue)) {
26787
- var m = C ? $M(o, I) : [], Q = C ? fh(al(o, I), "".concat(E, "-option")) : [], b = A ? ek(i, I) : null, y = tk(i, m), v = Ug(Q, y);
26787
+ var m = C ? $M(o, I) : [], Q = C ? fh(Al(o, I), "".concat(E, "-option")) : [], b = A ? ek(i, I) : null, y = tk(i, m), v = Ug(Q, y);
26788
26788
  B = {
26789
26789
  selectValue: I,
26790
26790
  focusedOption: y,
@@ -26809,11 +26809,11 @@ var vv = function(t) {
26809
26809
  });
26810
26810
  }
26811
26811
  }]), n;
26812
- }(ru);
26813
- Hu.defaultProps = ZM;
26814
- var rk = /* @__PURE__ */ ou(function(e, t) {
26812
+ }(ou);
26813
+ Gu.defaultProps = ZM;
26814
+ var rk = /* @__PURE__ */ iu(function(e, t) {
26815
26815
  var n = NE(e);
26816
- return /* @__PURE__ */ x.createElement(Hu, Xe({
26816
+ return /* @__PURE__ */ x.createElement(Gu, Xe({
26817
26817
  ref: t
26818
26818
  }, n));
26819
26819
  }), ok = rk;
@@ -26891,7 +26891,7 @@ const Ak = S($)`
26891
26891
  &:after {
26892
26892
  transform: translate(-50%, -50%) rotate(-45deg);
26893
26893
  }
26894
- `, wv = (e) => /* @__PURE__ */ c.jsx(DA.MultiValueRemove, { ...e, children: /* @__PURE__ */ c.jsx(sk, {}) }), wc = (e, t) => {
26894
+ `, wv = (e) => /* @__PURE__ */ c.jsx(DA.MultiValueRemove, { ...e, children: /* @__PURE__ */ c.jsx(sk, {}) }), Sc = (e, t) => {
26895
26895
  const n = (Array.isArray(t) ? t : []).filter(
26896
26896
  (i) => !!i && typeof i == "object" && "value" in i && "label" in i
26897
26897
  );
@@ -27095,9 +27095,9 @@ function Ov(e) {
27095
27095
  filterOption: u
27096
27096
  });
27097
27097
  }
27098
- var Ck = /* @__PURE__ */ ou(function(e, t) {
27098
+ var Ck = /* @__PURE__ */ iu(function(e, t) {
27099
27099
  var n = Ov(e), r = NE(n);
27100
- return /* @__PURE__ */ x.createElement(Hu, Xe({
27100
+ return /* @__PURE__ */ x.createElement(Gu, Xe({
27101
27101
  ref: t
27102
27102
  }, r));
27103
27103
  }), Ek = Ck, fk = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], hh = function() {
@@ -27124,7 +27124,7 @@ var Ck = /* @__PURE__ */ ou(function(e, t) {
27124
27124
  };
27125
27125
  function Ik(e) {
27126
27126
  var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, a = i === void 0 ? Vg.formatCreateLabel : i, A = e.isValidNewOption, s = A === void 0 ? Vg.isValidNewOption : A, l = e.getNewOptionData, u = l === void 0 ? Vg.getNewOptionData : l, g = e.onCreateOption, E = e.options, p = E === void 0 ? [] : E, f = e.onChange, C = no(e, fk), d = C.getOptionValue, h = d === void 0 ? fv : d, I = C.getOptionLabel, B = I === void 0 ? Ev : I, m = C.inputValue, Q = C.isLoading, b = C.isMulti, y = C.value, v = C.name, w = ve(function() {
27127
- return s(m, Jl(y), p, {
27127
+ return s(m, Kl(y), p, {
27128
27128
  getOptionValue: h,
27129
27129
  getOptionLabel: B
27130
27130
  }) ? u(m, a(m)) : void 0;
@@ -27142,7 +27142,7 @@ function Ik(e) {
27142
27142
  name: v,
27143
27143
  option: z
27144
27144
  };
27145
- f(As(b, [].concat(Oa(Jl(y)), [z]), z), X);
27145
+ f(As(b, [].concat(Oa(Kl(y)), [z]), z), X);
27146
27146
  }
27147
27147
  return;
27148
27148
  }
@@ -27153,9 +27153,9 @@ function Ik(e) {
27153
27153
  onChange: L
27154
27154
  });
27155
27155
  }
27156
- var pk = /* @__PURE__ */ ou(function(e, t) {
27156
+ var pk = /* @__PURE__ */ iu(function(e, t) {
27157
27157
  var n = Ov(e), r = NE(n), o = Ik(r);
27158
- return /* @__PURE__ */ x.createElement(Hu, Xe({
27158
+ return /* @__PURE__ */ x.createElement(Gu, Xe({
27159
27159
  ref: t
27160
27160
  }, o));
27161
27161
  }), hk = pk;
@@ -27201,12 +27201,12 @@ function vk({ stackIndex: e, isScrollTarget: t, ...n }) {
27201
27201
  } = n, { getValue: d, closeMenuOnScroll: h } = Tv({ options: r, isMulti: u, isScrollTarget: t }), I = (N, R, z) => (l.current && l.current.abort("stale data"), l.current = new AbortController(), E == null ? void 0 : E(N, R, z, l.current)), B = Lv(
27202
27202
  (N, R) => {
27203
27203
  if (a(N), r.length > 0 && !p) {
27204
- const X = N.trim().toLowerCase(), re = u ? wc(r, n.value) : r, le = X ? re.filter((Y) => "label" in Y && String(Y.label).toLowerCase().includes(X)) : re;
27204
+ const X = N.trim().toLowerCase(), re = u ? Sc(r, n.value) : r, le = X ? re.filter((Y) => "label" in Y && String(Y.label).toLowerCase().includes(X)) : re;
27205
27205
  R(le);
27206
27206
  return;
27207
27207
  }
27208
27208
  const z = (X) => {
27209
- R(u ? wc(X, n.value) : X), o(X);
27209
+ R(u ? Sc(X, n.value) : X), o(X);
27210
27210
  };
27211
27211
  I == null || I(N, z, !1);
27212
27212
  },
@@ -27252,7 +27252,7 @@ function vk({ stackIndex: e, isScrollTarget: t, ...n }) {
27252
27252
  onFocus: v,
27253
27253
  onMenuOpen: L,
27254
27254
  isLoading: A,
27255
- defaultOptions: r.length ? u ? wc(r, n.value) : r : n.defaultOptions || !1,
27255
+ defaultOptions: r.length ? u ? Sc(r, n.value) : r : n.defaultOptions || !1,
27256
27256
  hideSelectedOptions: u ? !1 : n.hideSelectedOptions,
27257
27257
  closeMenuOnSelect: u ? !1 : n.closeMenuOnSelect,
27258
27258
  styles: Sv(n.styles, e),
@@ -27269,12 +27269,12 @@ function vk({ stackIndex: e, isScrollTarget: t, ...n }) {
27269
27269
  createOptionPosition: "first",
27270
27270
  allowCreateWhileLoading: !1,
27271
27271
  onCreateOption: M,
27272
- options: u ? wc(r, n.value) : r
27272
+ options: u ? Sc(r, n.value) : r
27273
27273
  } : null
27274
27274
  }
27275
27275
  );
27276
27276
  }
27277
- const Gu = "table-cell-form-field", JE = "60px", Wu = "24px", bk = S($)`
27277
+ const $s = "table-cell-form-field", JE = "60px", Wu = "24px", bk = S($)`
27278
27278
  width: 100%;
27279
27279
  `, yk = S($)`
27280
27280
  width: 100%;
@@ -27369,7 +27369,7 @@ const Gu = "table-cell-form-field", JE = "60px", Wu = "24px", bk = S($)`
27369
27369
  color: var(--connector-text-primary, ${T.palette.gray.gray1});
27370
27370
  font-weight: bold;
27371
27371
  `, Dk = S(Uy)`
27372
- &.${Gu} .MuiInputBase-root {
27372
+ &.${$s} .MuiInputBase-root {
27373
27373
  height: ${JE};
27374
27374
  border: 0;
27375
27375
  padding-left: ${Wu};
@@ -27925,7 +27925,7 @@ const Vk = {
27925
27925
  name: H,
27926
27926
  value: j[H],
27927
27927
  ...ie,
27928
- className: Gu,
27928
+ className: $s,
27929
27929
  label: "",
27930
27930
  hideHelperText: !0,
27931
27931
  validation: d == null ? void 0 : d[H],
@@ -28617,7 +28617,7 @@ const uj = () => `att-${Date.now()}-${++lj}`, gj = ({
28617
28617
  }, Xj = S($)`
28618
28618
  box-sizing: border-box;
28619
28619
  `, qj = S(Hs)`
28620
- &.${Gu} {
28620
+ &.${$s} {
28621
28621
  height: ${JE};
28622
28622
  position: relative;
28623
28623
  & > div {
@@ -28653,17 +28653,6 @@ const uj = () => `att-${Date.now()}-${++lj}`, gj = ({
28653
28653
  line-height: 19px;
28654
28654
  color: var(--connector-text-primary, ${T.palette.gray.gray1});
28655
28655
  background-color: var(--connector-surface, ${T.palette.gray.white});
28656
- &::before {
28657
- content: '';
28658
- position: absolute;
28659
- top: -5px;
28660
- right: 0;
28661
- left: 0;
28662
- height: 5px;
28663
- pointer-events: none;
28664
- background-color: var(--connector-surface, ${T.palette.gray.white});
28665
- border-radius: ${T.shape.borderRadius}px ${T.shape.borderRadius}px 0 0;
28666
- }
28667
28656
  & .MuiOutlinedInput-notchedOutline {
28668
28657
  border-color: var(--connector-border-strong, ${T.palette.gray.gray5});
28669
28658
  }
@@ -28688,6 +28677,20 @@ const uj = () => `att-${Date.now()}-${++lj}`, gj = ({
28688
28677
  &.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
28689
28678
  border-width: 1px;
28690
28679
  }
28680
+ /* MUI lifts the notched outline 5px above the input root to leave room for a
28681
+ floating label, and the ui-kit trims the same 5px off the root's padding-top
28682
+ to keep the text centred. Our label always sits above the field, so that
28683
+ overhang only eats 5px out of the label↔field gap — a text input ends up
28684
+ visibly tighter to its label than a select, whose border hugs its own box.
28685
+ Drop the outline back onto the root and put the 5px back as padding, so the
28686
+ field keeps its height while the gap matches the select fields. Table cells
28687
+ keep the compact padding — their outline is hidden and the row height fixed. */
28688
+ &:not(.${$s}) .MuiOutlinedInput-root {
28689
+ padding-top: ${T.spacing()};
28690
+ & .MuiOutlinedInput-notchedOutline {
28691
+ top: 0;
28692
+ }
28693
+ }
28691
28694
  `, wh = S($)`
28692
28695
  & .hiverFormField__placeholder {
28693
28696
  color: var(--connector-text-muted, ${T.palette.gray.gray4});
@@ -28788,7 +28791,7 @@ const uj = () => `att-${Date.now()}-${++lj}`, gj = ({
28788
28791
  border-radius: ${T.shape.borderRadius}px;
28789
28792
  }
28790
28793
 
28791
- & .${Gu} {
28794
+ & .${$s} {
28792
28795
  height: ${JE};
28793
28796
  .hiverFormField__control {
28794
28797
  height: 100%;
@@ -28954,7 +28957,7 @@ const uj = () => `att-${Date.now()}-${++lj}`, gj = ({
28954
28957
  Y((_e) => !_e);
28955
28958
  }, q = (he) => {
28956
28959
  if (M)
28957
- return /* @__PURE__ */ c.jsx(ln, { variant: "rounded", height: 29.69, animation: "wave" });
28960
+ return /* @__PURE__ */ c.jsx(ln, { variant: "rounded", height: 34.69, animation: "wave" });
28958
28961
  switch (he.type) {
28959
28962
  case "select":
28960
28963
  return /* @__PURE__ */ c.jsx(wh, { children: /* @__PURE__ */ c.jsx(
@@ -29113,7 +29116,7 @@ const uj = () => `att-${Date.now()}-${++lj}`, gj = ({
29113
29116
  --include-width: calc(var(--cols) * var(--field-width));
29114
29117
  width: calc(var(--include-width) + var(--include-gap));
29115
29118
  max-width: 100%;
29116
- `, ql = ({
29119
+ `, Zl = ({
29117
29120
  formConfig: e,
29118
29121
  icons: t,
29119
29122
  selectChangeHandler: n,
@@ -29212,7 +29215,7 @@ S(({ className: e, ...t }) => /* @__PURE__ */ c.jsx(st, { ...t, classes: { poppe
29212
29215
  function lU(e) {
29213
29216
  return !!e.interfaceDetails || !!e.searchInterfaceDetails;
29214
29217
  }
29215
- const Zl = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Zv = (e) => typeof e == "string" && e.startsWith("{{") && e.endsWith("}}") && e.includes("."), uU = (e) => {
29218
+ const $l = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Zv = (e) => typeof e == "string" && e.startsWith("{{") && e.endsWith("}}") && e.includes("."), uU = (e) => {
29216
29219
  if (!e || !Zv(e.value)) return null;
29217
29220
  const t = String(e.value).replace(/\{|\}/g, "").split("."), n = e.label.split(".");
29218
29221
  return {
@@ -29252,11 +29255,11 @@ const Zl = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
29252
29255
  for (const a in e) {
29253
29256
  const A = e[a], s = n[A];
29254
29257
  if (!s) return { args: {}, enabled: !1 };
29255
- i[a] = Zl(s) ? s.value : s;
29258
+ i[a] = $l(s) ? s.value : s;
29256
29259
  }
29257
29260
  for (const a in t) {
29258
29261
  const A = t[a], s = n[A];
29259
- i[a] = Zl(s) ? s.value : s, i[a] || (i[a] = null);
29262
+ i[a] = $l(s) ? s.value : s, i[a] || (i[a] = null);
29260
29263
  }
29261
29264
  return { args: i, enabled: !0 };
29262
29265
  }, [e, t, n]);
@@ -29347,7 +29350,7 @@ const Zl = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
29347
29350
  var b;
29348
29351
  const [A, s] = ne(""), { selectedOption: l, selectedOptions: u, selectedValue: g, selectedValues: E } = ve(() => {
29349
29352
  if (t) {
29350
- const y = Array.isArray(e) ? e.filter(Zl) : [];
29353
+ const y = Array.isArray(e) ? e.filter($l) : [];
29351
29354
  return {
29352
29355
  selectedOption: null,
29353
29356
  selectedOptions: y,
@@ -29355,7 +29358,7 @@ const Zl = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
29355
29358
  selectedValues: y.map((v) => v.value)
29356
29359
  };
29357
29360
  }
29358
- return Zl(e) ? {
29361
+ return $l(e) ? {
29359
29362
  selectedOption: e,
29360
29363
  selectedOptions: [],
29361
29364
  selectedValue: e.value,
@@ -29610,7 +29613,7 @@ const Zl = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
29610
29613
  searchOffset: E = 0,
29611
29614
  setSearch: p
29612
29615
  }) => {
29613
- const f = new Set(t.map(String)), C = l && s.length === 0, d = i && g && !C && !r, h = /* @__PURE__ */ c.jsx(Pc, { sx: bU, style: { top: E }, children: /* @__PURE__ */ c.jsxs($, { sx: yU, children: [
29616
+ const f = new Set(t.map(String)), C = l && s.length === 0, d = i && g && !C && !r, h = /* @__PURE__ */ c.jsx(Nc, { sx: bU, style: { top: E }, children: /* @__PURE__ */ c.jsxs($, { sx: yU, children: [
29614
29617
  /* @__PURE__ */ c.jsx(ut.Search, { sx: { fontSize: 18, color: "var(--connector-icon-secondary, #6C7B94)", flexShrink: 0 } }),
29615
29618
  /* @__PURE__ */ c.jsx(
29616
29619
  VB,
@@ -29931,7 +29934,7 @@ const jU = { m: 0, minWidth: 0, width: "100%" }, UU = {
29931
29934
  color: var(--connector-text-primary, ${T.palette.gray.black});
29932
29935
  font-size: ${T.typography.body1.fontSize}px;
29933
29936
  min-height: 36px;
29934
- `, Sc = S(ee)`
29937
+ `, Tc = S(ee)`
29935
29938
  font-size: ${T.typography.body1.fontSize}px;
29936
29939
  line-height: 36px;
29937
29940
  min-height: 36px;
@@ -30326,13 +30329,13 @@ const jU = { m: 0, minWidth: 0, width: "100%" }, UU = {
30326
30329
  P.preventDefault(), P.stopPropagation(), C(Y), B();
30327
30330
  }, re = f === "custom" && Array.isArray(d == null ? void 0 : d.options) && d.options.length > 0, le = () => {
30328
30331
  var D;
30329
- if (!t) return /* @__PURE__ */ c.jsx(Sc, { children: n });
30332
+ if (!t) return /* @__PURE__ */ c.jsx(Tc, { children: n });
30330
30333
  const [Y = "", P = ""] = ((D = t.label) == null ? void 0 : D.split(" > ")) ?? [];
30331
30334
  return m ? /* @__PURE__ */ c.jsxs(KU, { children: [
30332
- /* @__PURE__ */ c.jsx(Sc, { children: Y }),
30335
+ /* @__PURE__ */ c.jsx(Tc, { children: Y }),
30333
30336
  /* @__PURE__ */ c.jsx(ut.ChevronRightOutlined, { sx: { fontSize: "18px" } }),
30334
- /* @__PURE__ */ c.jsx(Sc, { children: P })
30335
- ] }) : /* @__PURE__ */ c.jsx(Sc, { children: t.label });
30337
+ /* @__PURE__ */ c.jsx(Tc, { children: P })
30338
+ ] }) : /* @__PURE__ */ c.jsx(Tc, { children: t.label });
30336
30339
  };
30337
30340
  return fe(() => {
30338
30341
  if (!(t != null && t.value) || !E) return;
@@ -30369,7 +30372,7 @@ const jU = { m: 0, minWidth: 0, width: "100%" }, UU = {
30369
30372
  },
30370
30373
  onChange: z,
30371
30374
  children: [
30372
- /* @__PURE__ */ c.jsx(Pc, { sx: kU, children: /* @__PURE__ */ c.jsxs($, { sx: GU, children: [
30375
+ /* @__PURE__ */ c.jsx(Nc, { sx: kU, children: /* @__PURE__ */ c.jsxs($, { sx: GU, children: [
30373
30376
  /* @__PURE__ */ c.jsx(
30374
30377
  $,
30375
30378
  {
@@ -30419,10 +30422,10 @@ const jU = { m: 0, minWidth: 0, width: "100%" }, UU = {
30419
30422
  optionsProps: y,
30420
30423
  setSearch: F,
30421
30424
  searchOffset: 52
30422
- }) : /* @__PURE__ */ c.jsx(Pc, { sx: { padding: "12px 0 0" }, children: a.map((Y) => {
30425
+ }) : /* @__PURE__ */ c.jsx(Nc, { sx: { padding: "12px 0 0" }, children: a.map((Y) => {
30423
30426
  const P = Y.options.length > 0;
30424
30427
  return /* @__PURE__ */ c.jsxs(
30425
- Pc,
30428
+ Nc,
30426
30429
  {
30427
30430
  onPointerEnter: (D) => {
30428
30431
  D.pointerType === "touch" || !P || I({ field: Y, currentTarget: D.currentTarget });
@@ -30942,7 +30945,7 @@ const wV = S(WB)`
30942
30945
  }, RV = () => /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
30943
30946
  /* @__PURE__ */ c.jsx(Yr, { variant: "rounded", width: 180, height: 24, animation: "wave", margin: "12px 0px 10px 0px" }),
30944
30947
  /* @__PURE__ */ c.jsx(Yr, { variant: "rounded", width: 450, height: 40, animation: "wave" })
30945
- ] }), OA = "Oauth1", $s = "Oauth2", sb = "ApiKey", ec = "BasicAuth";
30948
+ ] }), OA = "Oauth1", ec = "Oauth2", sb = "ApiKey", tc = "BasicAuth";
30946
30949
  function DV(e, t) {
30947
30950
  return e in t;
30948
30951
  }
@@ -30978,10 +30981,10 @@ const Lh = (e) => !MV.includes(e.id), cb = (e, t, n) => {
30978
30981
  case OA:
30979
30982
  s = ZE[a], s !== Jr.authType && s !== void 0 && (i[s] = A);
30980
30983
  break;
30981
- case $s:
30984
+ case ec:
30982
30985
  s = $E[a], s !== Jr.authType && s !== void 0 && (i[s] = A);
30983
30986
  break;
30984
- case ec:
30987
+ case tc:
30985
30988
  s = tf[a], s !== Jr.authType && s !== void 0 && (i[s] = A);
30986
30989
  break;
30987
30990
  default:
@@ -30995,7 +30998,7 @@ function FV(e) {
30995
30998
  if (DV(r, n)) {
30996
30999
  const o = n[r];
30997
31000
  let i;
30998
- if (e.authType === $s || e.authType === OA) {
31001
+ if (e.authType === ec || e.authType === OA) {
30999
31002
  const a = e[o];
31000
31003
  Array.isArray(a) ? i = a.join(", ") : i = a;
31001
31004
  } else
@@ -31023,9 +31026,9 @@ const PV = (e, t) => {
31023
31026
  switch (e) {
31024
31027
  case OA:
31025
31028
  return ZE;
31026
- case $s:
31027
- return $E;
31028
31029
  case ec:
31030
+ return $E;
31031
+ case tc:
31029
31032
  return tf;
31030
31033
  default:
31031
31034
  return ef;
@@ -31034,9 +31037,9 @@ const PV = (e, t) => {
31034
31037
  switch (e) {
31035
31038
  case OA:
31036
31039
  return jV;
31037
- case $s:
31038
- return UV;
31039
31040
  case ec:
31041
+ return UV;
31042
+ case tc:
31040
31043
  return HV;
31041
31044
  default:
31042
31045
  return VV;
@@ -31089,8 +31092,8 @@ const PV = (e, t) => {
31089
31092
  }, Eo = {
31090
31093
  apiToken: { label: "API Token", value: sb },
31091
31094
  oAuth1: { label: "OAuth1.0", value: OA },
31092
- oAuth2: { label: "OAuth2.0", value: $s },
31093
- basicAuth: { label: "Basic Auth", value: ec }
31095
+ oAuth2: { label: "OAuth2.0", value: ec },
31096
+ basicAuth: { label: "Basic Auth", value: tc }
31094
31097
  }, Yu = {
31095
31098
  header: { label: "Header", value: "header" },
31096
31099
  queryParam: { label: "Query Param", value: "queryParam" }
@@ -31693,7 +31696,7 @@ const PV = (e, t) => {
31693
31696
  ] }),
31694
31697
  /* @__PURE__ */ c.jsxs(KV, { id: "conectors-auth-form", children: [
31695
31698
  /* @__PURE__ */ c.jsx(
31696
- ql,
31699
+ Zl,
31697
31700
  {
31698
31701
  formConfig: d ? X : M(),
31699
31702
  selectChangeHandler: v,
@@ -31706,7 +31709,7 @@ const PV = (e, t) => {
31706
31709
  }
31707
31710
  ),
31708
31711
  d && le && /* @__PURE__ */ c.jsx(_V, { titleNode: /* @__PURE__ */ c.jsx(ee, { variant: "h3", children: "Advanced settings" }), children: /* @__PURE__ */ c.jsx(
31709
- ql,
31712
+ Zl,
31710
31713
  {
31711
31714
  formConfig: re,
31712
31715
  selectChangeHandler: v,
@@ -31858,7 +31861,7 @@ const dH = S(W)`
31858
31861
  iF
31859
31862
  ] }) : null
31860
31863
  ] }), gb = (e, t) => {
31861
- const n = t.authType === ec, r = t.authType === sb, o = t.authType === OA;
31864
+ const n = t.authType === tc, r = t.authType === sb, o = t.authType === OA;
31862
31865
  if (!e || !e.data)
31863
31866
  return {
31864
31867
  authUrl: "",
@@ -31973,7 +31976,7 @@ const dH = S(W)`
31973
31976
  n.removeQueries({ queryKey: r, exact: !0 });
31974
31977
  }, [n, r]), o;
31975
31978
  }, bH = () => {
31976
- const { sendTrackingEvent: e, availableFeatures: t } = Ve(vn), [n, r] = ne(!1), o = Bt(Su), i = Bt(XC), a = Bt(uE), A = Bt(CQ), s = De(null), l = An(), { id: u = "" } = Jo(), [g] = bi(), E = g.get("isEdit") === "true", p = (o == null ? void 0 : o[u]) || null, f = (i == null ? void 0 : i[u]) || null, C = E ? p : f, d = !!(C != null && C.showUpgradeButton), h = Qo(t, Vx), {
31979
+ const { sendTrackingEvent: e, availableFeatures: t } = Ve(vn), [n, r] = ne(!1), o = Bt(Tu), i = Bt(XC), a = Bt(uE), A = Bt(CQ), s = De(null), l = An(), { id: u = "" } = Jo(), [g] = bi(), E = g.get("isEdit") === "true", p = (o == null ? void 0 : o[u]) || null, f = (i == null ? void 0 : i[u]) || null, C = E ? p : f, d = !!(C != null && C.showUpgradeButton), h = Qo(t, Vx), {
31977
31980
  data: I,
31978
31981
  mutateStatus: B,
31979
31982
  mutate: m
@@ -32096,7 +32099,7 @@ const dH = S(W)`
32096
32099
  const e = yi(), t = Bt(xH), n = Bt(yH);
32097
32100
  return fe(() => {
32098
32101
  const r = new URLSearchParams(window.location.search), o = r.get(YL), i = r.get(JL);
32099
- window.opener && i && o && e(Jc({ data: { token: o }, connectorId: i }));
32102
+ window.opener && i && o && e(Kc({ data: { token: o }, connectorId: i }));
32100
32103
  }, [e]), fe(() => {
32101
32104
  window.opener && t && window.opener.postMessage(
32102
32105
  n === je.FAILED ? D1 : cC,
@@ -33075,7 +33078,7 @@ const dH = S(W)`
33075
33078
  connectorFunctions: o,
33076
33079
  children: $x(r) ? /* @__PURE__ */ c.jsx(HH, { availableFeatures: r }) : /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
33077
33080
  /* @__PURE__ */ c.jsx(_H, { basename: e, metaData: n.metaData, userId: i }),
33078
- iu(
33081
+ au(
33079
33082
  /* @__PURE__ */ c.jsx(zH, { id: "toast-message", children: /* @__PURE__ */ c.jsx(
33080
33083
  tm,
33081
33084
  {
@@ -33094,7 +33097,7 @@ const dH = S(W)`
33094
33097
  ] })
33095
33098
  }
33096
33099
  ) }) });
33097
- }, JH = "rls-connectors-enabled", KH = "ftr-connectors-enabled", XH = "ftr-connector-blue-dot", qH = "ftr-connectors-admin-schedule-call", ZH = "ftr-connectors-admin-guide-links", $H = "ftr-connectors-enhancements", eG = "ftr-connector-preview", tG = "ftr-connectors-oauth-flow-improvements", nG = "ftr-integration-sense-ui", rG = "ftr-connectors-quick-actions", oG = "ftr-ci-log-emails", iG = "ftr-ci-user-auth", $l = "Apps", aG = "On a higher plan", AG = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.", sG = "Upgrade", cG = "Learn more", lG = "Have any questions?", uG = "Contact us", gG = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", dG = "Hiver Chat Support", CG = "Copy", tc = "hiver_connectors", EG = "enableAllConnectorFtr", fG = "Authentication expired. Click to reconnect your app.", IG = "This feature is only available in higher plans", pG = "New update available. Click to upgrade your app.", hG = "Support ending soon. Switch to the new :connectorName app.", BG = "App is inactive. Click to enable it.", mG = "New upgrade is available for :connectorName. Re-authenticate to get access to all updates.", QG = "Authentication failed for :connectorName.", vG = ":connectorName is deprecated", Hh = "ftr-apps-lookup-revamp", bG = "ftr-ci-configurable-fields";
33100
+ }, JH = "rls-connectors-enabled", KH = "ftr-connectors-enabled", XH = "ftr-connector-blue-dot", qH = "ftr-connectors-admin-schedule-call", ZH = "ftr-connectors-admin-guide-links", $H = "ftr-connectors-enhancements", eG = "ftr-connector-preview", tG = "ftr-connectors-oauth-flow-improvements", nG = "ftr-integration-sense-ui", rG = "ftr-connectors-quick-actions", oG = "ftr-ci-log-emails", iG = "ftr-ci-user-auth", eu = "Apps", aG = "On a higher plan", AG = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.", sG = "Upgrade", cG = "Learn more", lG = "Have any questions?", uG = "Contact us", gG = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", dG = "Hiver Chat Support", CG = "Copy", nc = "hiver_connectors", EG = "enableAllConnectorFtr", fG = "Authentication expired. Click to reconnect your app.", IG = "This feature is only available in higher plans", pG = "New update available. Click to upgrade your app.", hG = "Support ending soon. Switch to the new :connectorName app.", BG = "App is inactive. Click to enable it.", mG = "New upgrade is available for :connectorName. Re-authenticate to get access to all updates.", QG = "Authentication failed for :connectorName.", vG = ":connectorName is deprecated", Hh = "ftr-apps-lookup-revamp", bG = "ftr-ci-configurable-fields";
33098
33101
  function Cb(e, t) {
33099
33102
  const n = {};
33100
33103
  return e.forEach((r) => {
@@ -33139,7 +33142,7 @@ const br = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[EG])
33139
33142
  }).catch(() => {
33140
33143
  console.log("something went wrong while copying using navigator.clipboard function. Trying fallback copy"), wG(e, t);
33141
33144
  });
33142
- }, TG = (e) => ["sm.full"].some((n) => e.includes(n)), Ib = (e) => Object.keys(e).filter((t) => e[t]).join(" "), Tc = (e, t) => Array.from({ length: e }, (n, r) => t(r)), xr = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), pb = (e, t) => e.isConnectorAvailableInPlan === !1 || br(t, e.featureKey), hb = ({
33145
+ }, TG = (e) => ["sm.full"].some((n) => e.includes(n)), Ib = (e) => Object.keys(e).filter((t) => e[t]).join(" "), _c = (e, t) => Array.from({ length: e }, (n, r) => t(r)), xr = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), pb = (e, t) => e.isConnectorAvailableInPlan === !1 || br(t, e.featureKey), hb = ({
33143
33146
  connector: e,
33144
33147
  isTemplate: t = !1
33145
33148
  }) => {
@@ -33147,13 +33150,13 @@ const br = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[EG])
33147
33150
  return "not_authenticated";
33148
33151
  const { isAuthenticated: n, isEnabled: r, showUpgradeButton: o } = e;
33149
33152
  return o ? "enabled_upgrade_available" : n ? r ? "authenticated_enabled" : "authenticated_disabled" : "authentication_failed";
33150
- }, _c = (e, t) => (...n) => {
33153
+ }, Rc = (e, t) => (...n) => {
33151
33154
  localStorage.getItem("dev__logs") === "true" && console[e](t || "DEV_LOG:", ...n);
33152
- }, Rc = {
33153
- log: _c("log", "### CONNECTOR_UI_LOGS ###"),
33154
- warn: _c("warn", "### CONNECTOR_UI_WARN ###"),
33155
- error: _c("error", "### CONNECTOR_UI_ERROR ###"),
33156
- info: _c("info", "### CONNECTOR_UI_INFO ###")
33155
+ }, Dc = {
33156
+ log: Rc("log", "### CONNECTOR_UI_LOGS ###"),
33157
+ warn: Rc("warn", "### CONNECTOR_UI_WARN ###"),
33158
+ error: Rc("error", "### CONNECTOR_UI_ERROR ###"),
33159
+ info: Rc("info", "### CONNECTOR_UI_INFO ###")
33157
33160
  }, nf = (e) => {
33158
33161
  const t = Object.values(e || {});
33159
33162
  let n = 0, r = 0;
@@ -33204,11 +33207,11 @@ const br = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[EG])
33204
33207
  initialState: _G,
33205
33208
  reducers: {},
33206
33209
  extraReducers: (e) => {
33207
- e.addCase(Al.pending, (t) => {
33210
+ e.addCase(sl.pending, (t) => {
33208
33211
  t.templateListApiStatus = ye.LOADING;
33209
- }).addCase(Al.fulfilled, (t, n) => {
33212
+ }).addCase(sl.fulfilled, (t, n) => {
33210
33213
  t.templateListApiStatus = ye.IDLE, t.connectorTemplateList = n.payload.connectorList, t.connectorTemplates = n.payload.connectors;
33211
- }).addCase(Al.rejected, (t, n) => {
33214
+ }).addCase(sl.rejected, (t, n) => {
33212
33215
  t.templateListApiStatus = ye.FAILED, console.error(n.error);
33213
33216
  }).addCase(Fa.pending, (t) => {
33214
33217
  t.templateDetailsApiStatus = ye.LOADING;
@@ -33220,7 +33223,7 @@ const br = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[EG])
33220
33223
  t.templateDetailsApiStatus = ye.FAILED, console.error(n.error);
33221
33224
  });
33222
33225
  }
33223
- }), Al = Nt("connectorLibrary/fetchConnectorTemplates", async () => {
33226
+ }), sl = Nt("connectorLibrary/fetchConnectorTemplates", async () => {
33224
33227
  const e = await OG();
33225
33228
  if (!e || !e.data || !Array.isArray(e.data))
33226
33229
  return {
@@ -33325,10 +33328,10 @@ const br = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[EG])
33325
33328
  fill: var(--connector-admin-on-accent);
33326
33329
  width: 10px;
33327
33330
  }
33328
- `, IW = (e, { closeToast: t }) => /* @__PURE__ */ c.jsx(fW, { children: /* @__PURE__ */ c.jsx("img", { src: gW, onClick: t }) }), Dc = ({ message: e }) => /* @__PURE__ */ c.jsxs(dW, { children: [
33331
+ `, IW = (e, { closeToast: t }) => /* @__PURE__ */ c.jsx(fW, { children: /* @__PURE__ */ c.jsx("img", { src: gW, onClick: t }) }), Oc = ({ message: e }) => /* @__PURE__ */ c.jsxs(dW, { children: [
33329
33332
  /* @__PURE__ */ c.jsx(EW, {}),
33330
33333
  /* @__PURE__ */ c.jsx(CW, { children: e })
33331
- ] }), eo = "success", Wn = "error", of = "info-dark", bb = "Error in toggling app state", yb = "App disabled successfully", eu = "Something went wrong";
33334
+ ] }), eo = "success", Wn = "error", of = "info-dark", bb = "Error in toggling app state", yb = "App disabled successfully", tu = "Something went wrong";
33332
33335
  function Gt(e) {
33333
33336
  const { message: t, type: n, autoClose: r } = e, o = {
33334
33337
  closeButton: /* @__PURE__ */ c.jsx(IW, {}),
@@ -33343,19 +33346,19 @@ function Gt(e) {
33343
33346
  let i;
33344
33347
  switch (n) {
33345
33348
  case eo: {
33346
- i = Et.success(/* @__PURE__ */ c.jsx(Dc, { message: t }), { ...o, icon: !1 });
33349
+ i = Et.success(/* @__PURE__ */ c.jsx(Oc, { message: t }), { ...o, icon: !1 });
33347
33350
  break;
33348
33351
  }
33349
33352
  case Wn: {
33350
- i = Et.error(/* @__PURE__ */ c.jsx(Dc, { message: t }), { ...o, icon: !1 });
33353
+ i = Et.error(/* @__PURE__ */ c.jsx(Oc, { message: t }), { ...o, icon: !1 });
33351
33354
  break;
33352
33355
  }
33353
33356
  case of: {
33354
- i = Et.info(/* @__PURE__ */ c.jsx(Dc, { message: t }), { ...o, icon: !1 });
33357
+ i = Et.info(/* @__PURE__ */ c.jsx(Oc, { message: t }), { ...o, icon: !1 });
33355
33358
  break;
33356
33359
  }
33357
33360
  default: {
33358
- i = Et.info(/* @__PURE__ */ c.jsx(Dc, { message: t }), { ...o, icon: !1 });
33361
+ i = Et.info(/* @__PURE__ */ c.jsx(Oc, { message: t }), { ...o, icon: !1 });
33359
33362
  break;
33360
33363
  }
33361
33364
  }
@@ -33431,13 +33434,13 @@ const Vi = {
33431
33434
  });
33432
33435
  }).addCase(Ma.rejected, (t, n) => {
33433
33436
  t.connectorDetailApiStatus = ye.FAILED, console.error(n.error);
33434
- }).addCase(sl.pending, (t) => {
33437
+ }).addCase(cl.pending, (t) => {
33435
33438
  t.rolesAndPermissionsApiStatus = ye.LOADING;
33436
- }).addCase(sl.fulfilled, (t, n) => {
33439
+ }).addCase(cl.fulfilled, (t, n) => {
33437
33440
  t.rolesAndPermissionsApiStatus = ye.IDLE;
33438
33441
  const { rolesAndPermissions: r } = n.payload;
33439
33442
  t.rolesAndPermissions = r;
33440
- }).addCase(sl.rejected, (t, n) => {
33443
+ }).addCase(cl.rejected, (t, n) => {
33441
33444
  t.rolesAndPermissionsApiStatus = ye.FAILED, console.error(n.error);
33442
33445
  }).addCase(Pa.pending, (t) => {
33443
33446
  t.updateEnableConnectorsApiStatus = ye.LOADING;
@@ -33461,20 +33464,20 @@ const Vi = {
33461
33464
  };
33462
33465
  }).addCase(ka.rejected, (t, n) => {
33463
33466
  t.cardCustomFieldsApiStatus = ye.FAILED, console.error(n.error);
33464
- }).addCase(cl.pending, (t) => {
33467
+ }).addCase(ll.pending, (t) => {
33465
33468
  t.fetchCustomCardsApiStatus = ye.LOADING;
33466
- }).addCase(cl.fulfilled, (t, n) => {
33469
+ }).addCase(ll.fulfilled, (t, n) => {
33467
33470
  t.fetchCustomCardsApiStatus = ye.IDLE;
33468
33471
  const { connectorId: r, customCards: o } = n.payload;
33469
33472
  t != null && t.connectors && (t.connectors[r].customCardsList = o);
33470
- }).addCase(cl.rejected, (t, n) => {
33473
+ }).addCase(ll.rejected, (t, n) => {
33471
33474
  t.fetchCustomCardsApiStatus = ye.FAILED, console.error(n.error);
33472
- }).addCase(ll.pending, (t, n) => {
33475
+ }).addCase(ul.pending, (t, n) => {
33473
33476
  const {
33474
33477
  data: { cardKey: r }
33475
33478
  } = n.meta.arg;
33476
33479
  t.enableCustomCardApiStatus[r] = ye.LOADING;
33477
- }).addCase(ll.fulfilled, (t, n) => {
33480
+ }).addCase(ul.fulfilled, (t, n) => {
33478
33481
  var a;
33479
33482
  const { connectorId: r, cardData: o, customCardData: i } = n.payload;
33480
33483
  t.enableCustomCardApiStatus[i.cardKey] = ye.IDLE, t != null && t.connectors && o && i && (t.connectors[r].cardList = [
@@ -33483,22 +33486,22 @@ const Vi = {
33483
33486
  ], t.connectors[r].customCardsList = (a = t.connectors[r].customCardsList) == null ? void 0 : a.filter(
33484
33487
  ({ cardKey: A }) => A !== i.cardKey
33485
33488
  ));
33486
- }).addCase(ll.rejected, (t, n) => {
33489
+ }).addCase(ul.rejected, (t, n) => {
33487
33490
  const {
33488
33491
  data: { cardKey: r }
33489
33492
  } = n.meta.arg;
33490
33493
  t.enableCustomCardApiStatus[r] = ye.FAILED, console.error(n.error);
33491
- }).addCase(ul.pending, (t) => {
33494
+ }).addCase(gl.pending, (t) => {
33492
33495
  t.updateConnectorByIdApiStatus = ye.LOADING;
33493
- }).addCase(ul.fulfilled, (t) => {
33496
+ }).addCase(gl.fulfilled, (t) => {
33494
33497
  t.updateConnectorByIdApiStatus = ye.IDLE, Gt({
33495
33498
  type: eo,
33496
33499
  message: "Successfully enabled app"
33497
33500
  });
33498
- }).addCase(ul.rejected, (t) => {
33501
+ }).addCase(gl.rejected, (t) => {
33499
33502
  t.updateConnectorByIdApiStatus = ye.FAILED, Gt({
33500
33503
  type: Wn,
33501
- message: eu
33504
+ message: tu
33502
33505
  });
33503
33506
  });
33504
33507
  }
@@ -33508,7 +33511,7 @@ const Vi = {
33508
33511
  ), Pa = Nt(
33509
33512
  "connectorLibrary/updateEnableConnectors",
33510
33513
  async (e) => (await oW(e), { params: e })
33511
- ), sl = Nt(
33514
+ ), cl = Nt(
33512
33515
  "connectorLibrary/getRolesAndPermissions",
33513
33516
  async (e, { getState: t }) => {
33514
33517
  var a;
@@ -33574,7 +33577,7 @@ const Vi = {
33574
33577
  return !(n.cardCustomFields[e] && n.cardCustomFields[e].length !== 0);
33575
33578
  }
33576
33579
  }
33577
- ), cl = Nt("connectorLibrary/fetchCustomCards", async (e) => {
33580
+ ), ll = Nt("connectorLibrary/fetchCustomCards", async (e) => {
33578
33581
  const t = await aW(e);
33579
33582
  if (!t || !t.data || !Array.isArray(t.data))
33580
33583
  return {
@@ -33590,7 +33593,7 @@ const Vi = {
33590
33593
  connectorId: e,
33591
33594
  customCards: r
33592
33595
  };
33593
- }), ll = Nt(
33596
+ }), ul = Nt(
33594
33597
  "connectorLibrary/enableCustomCard",
33595
33598
  async ({ connectorId: e, data: t }) => {
33596
33599
  const n = await AW({ connectorId: e, data: t });
@@ -33604,7 +33607,7 @@ const Vi = {
33604
33607
  cardData: n.data
33605
33608
  };
33606
33609
  }
33607
- ), ul = Nt(
33610
+ ), gl = Nt(
33608
33611
  "connectorLibrary/updateConnectorById",
33609
33612
  async ({ connectorId: e, data: t }) => {
33610
33613
  await uW({ connectorId: e, data: t });
@@ -33636,11 +33639,11 @@ const Vi = {
33636
33639
  resetState: () => Wh
33637
33640
  },
33638
33641
  extraReducers: (e) => {
33639
- e.addCase(gl.pending, (t) => {
33642
+ e.addCase(dl.pending, (t) => {
33640
33643
  t.authVerificationDone = !1, t.verifyTokenApiStatus = ye.LOADING;
33641
- }).addCase(gl.fulfilled, (t) => {
33644
+ }).addCase(dl.fulfilled, (t) => {
33642
33645
  t.authVerificationDone = !0, t.verifyTokenApiStatus = ye.IDLE;
33643
- }).addCase(gl.rejected, (t, n) => {
33646
+ }).addCase(dl.rejected, (t, n) => {
33644
33647
  t.authVerificationDone = !0, t.verifyTokenApiStatus = ye.FAILED, console.error(n.error);
33645
33648
  }).addCase(qg.pending, (t) => {
33646
33649
  t.testApiStatus = ye.LOADING;
@@ -33669,7 +33672,7 @@ const Vi = {
33669
33672
  statusCode: String(r.statusCode)
33670
33673
  };
33671
33674
  }
33672
- ), gl = Nt(
33675
+ ), dl = Nt(
33673
33676
  "auth/verifyToken",
33674
33677
  async ({ data: e, connectorId: t }) => {
33675
33678
  await SW(e, t);
@@ -33690,21 +33693,21 @@ const Vi = {
33690
33693
  initialState: RW,
33691
33694
  reducers: {},
33692
33695
  extraReducers: (e) => {
33693
- e.addCase(dl.pending, (t) => {
33696
+ e.addCase(Cl.pending, (t) => {
33694
33697
  t.connectorRequestsApiStatus = ye.LOADING;
33695
- }).addCase(dl.fulfilled, (t, n) => {
33698
+ }).addCase(Cl.fulfilled, (t, n) => {
33696
33699
  t.connectorRequestsApiStatus = ye.IDLE, t.requestableConnectors = n.payload.requestableConnectors, t.requestableApis = n.payload.requestableApis;
33697
- }).addCase(dl.rejected, (t) => {
33700
+ }).addCase(Cl.rejected, (t) => {
33698
33701
  t.connectorRequestsApiStatus = ye.FAILED;
33699
- }).addCase(Cl.pending, (t) => {
33702
+ }).addCase(El.pending, (t) => {
33700
33703
  t.connectorRequestsApiStatus = ye.LOADING;
33701
- }).addCase(Cl.fulfilled, (t) => {
33704
+ }).addCase(El.fulfilled, (t) => {
33702
33705
  t.connectorRequestsApiStatus = ye.IDLE;
33703
- }).addCase(Cl.rejected, (t) => {
33706
+ }).addCase(El.rejected, (t) => {
33704
33707
  t.connectorRequestsApiStatus = ye.FAILED;
33705
33708
  });
33706
33709
  }
33707
- }), dl = Nt("connectorLibrary/fetchConnectorRequests", async () => {
33710
+ }), Cl = Nt("connectorLibrary/fetchConnectorRequests", async () => {
33708
33711
  const e = await DW();
33709
33712
  if (!e || !e.data)
33710
33713
  return {
@@ -33716,7 +33719,7 @@ const Vi = {
33716
33719
  requestableConnectors: n,
33717
33720
  requestableApis: r
33718
33721
  };
33719
- }), Cl = Nt(
33722
+ }), El = Nt(
33720
33723
  "connectorLibrary/submitConnectorRequest",
33721
33724
  async (e) => (await OW(e), { params: e })
33722
33725
  ), FW = LW.reducer, PW = {
@@ -33728,17 +33731,17 @@ const Vi = {
33728
33731
  initialState: PW,
33729
33732
  reducers: {},
33730
33733
  extraReducers: (e) => {
33731
- e.addCase(El.pending, (t) => {
33734
+ e.addCase(fl.pending, (t) => {
33732
33735
  t.fetchInboxApiStatus = ye.LOADING;
33733
- }).addCase(El.fulfilled, (t, n) => {
33736
+ }).addCase(fl.fulfilled, (t, n) => {
33734
33737
  t.fetchInboxApiStatus = ye.IDLE;
33735
33738
  const { chatInbox: r, emailInbox: o } = n.payload;
33736
33739
  t.chatInboxDetails = r, t.emailInboxDetails = o;
33737
- }).addCase(El.rejected, (t, n) => {
33740
+ }).addCase(fl.rejected, (t, n) => {
33738
33741
  t.fetchInboxApiStatus = ye.FAILED, console.error(n.error);
33739
33742
  });
33740
33743
  }
33741
- }), El = Nt(
33744
+ }), fl = Nt(
33742
33745
  "connectorLibrary/getInboxDetails",
33743
33746
  async (e, { getState: t }) => {
33744
33747
  const n = t(), { chatInboxDetails: r, emailInboxDetails: o } = n.inboxes;
@@ -33792,7 +33795,7 @@ const Vi = {
33792
33795
  return fe(() => {
33793
33796
  if (o) {
33794
33797
  const E = setTimeout(() => {
33795
- g(El(o.getInboxDetails)), g(sl(o.getRoles));
33798
+ g(fl(o.getInboxDetails)), g(cl(o.getRoles));
33796
33799
  }, 1e3);
33797
33800
  return () => clearTimeout(E);
33798
33801
  }
@@ -34611,10 +34614,10 @@ const Sb = (e) => {
34611
34614
  children: n
34612
34615
  }) => {
34613
34616
  const r = ve(() => Rb(e), [e]), o = ve(() => YW(e.mode, r), [e.mode, r]), i = ve(() => Db(e.mode, r), [e.mode, r]), a = t ? { theme: Sb("Open Sans") } : { inter: !0 };
34614
- return e.mode === "light" ? /* @__PURE__ */ c.jsxs(Il, { ...a, children: [
34617
+ return e.mode === "light" ? /* @__PURE__ */ c.jsxs(pl, { ...a, children: [
34615
34618
  /* @__PURE__ */ c.jsx(Df, { styles: { ".connectorAdmin-portal": i } }),
34616
34619
  n
34617
- ] }) : /* @__PURE__ */ c.jsxs(Il, { theme: o, inter: !t, children: [
34620
+ ] }) : /* @__PURE__ */ c.jsxs(pl, { theme: o, inter: !t, children: [
34618
34621
  /* @__PURE__ */ c.jsx(
34619
34622
  Df,
34620
34623
  {
@@ -34945,7 +34948,7 @@ const Sb = (e) => {
34945
34948
  border: 1px solid var(--connector-admin-border);
34946
34949
  border-radius: 8px;
34947
34950
  box-sizing: border-box;
34948
- `, ss = () => /* @__PURE__ */ c.jsx(W, { marginTop: "28px", gap: "12px", "data-testid": "loading", flexDirection: "row", flexWrap: "wrap", children: Array(6).fill(0).map((e, t) => /* @__PURE__ */ c.jsx(Cz, { justifyContent: "center", children: /* @__PURE__ */ c.jsx(dz, { variant: "rounded", maxWidth: "260px", height: "60px", animation: "wave" }) }, t)) }), Nb = (e) => e.connectorLirary.connectorList, ro = (e) => e.connectorLirary.connectors, af = (e) => e.connectorLirary.connectorsApiStatus, Mb = (e) => e.connectorLirary.currentUpdatingConnectors, FA = (e) => e.connectorLirary.connectorDetailApiStatus, ua = (e) => e.connectorLirary.rolesAndPermissions ?? [], Af = (e) => e.connectorLirary.updateEnableConnectorsApiStatus, sf = (e) => e.connectorLirary.cardCustomFields, Ez = (e) => e.connectorLirary.cardCustomFieldsApiStatus, fz = (e) => e.connectorLirary.notAuthenticatedConnectors, Iz = (e) => e.connectorLirary.requireUpgradeConnectors, pz = (e) => e.connectorLirary.enableCustomCardApiStatus, hz = (e) => e.connectorLirary.updateConnectorByIdApiStatus, Yh = "Visibility not set", cf = "Configure visibility settings", Bz = "Set the card visibility across shared mailboxes and roles to enable ${{connector}}", kb = "Configure fields", mz = "Choose which fields your team can view in Hiver and which can be filled in when creating new ${{connector}} records.", Jh = "Contact your admin to configure visibility", Qz = "Select inbox(es)", vz = "Select the inbox(es)", bz = "Select the role", yz = "Select role", Kh = "inbox", xz = "roles", lf = "Close", tu = "${{connector}}", jb = "Visibility settings saved", wz = "Field visibility settings saved", uf = "Some error occured. Please contact support@hiverhq.com", Sz = "Selecting any lower role will automatically select the roles above it", Tz = "Loading custom fields...", gf = "Save", uA = "enabled", gA = "disabled", Ub = "Select atleast one field to save", Ju = "New", _z = "Upgrade now", Rz = "Authentication failed", Dz = "More info about the current updates that will be there in this app", Oz = "App's visibility & access", Lz = "Set the card & field visibility across shared mailboxes and roles to enable the connector", Fz = "Customer identity mapping", Pz = "Choose how Hiver should identify customers when fetching data from connected apps.", Nz = "Edit", Mz = "Save", kz = "Matches with %s's", jz = "Customer identity mapping saved", Uz = "Failed to save. Please try again.", Vz = "Pre-fill fields", df = S($)`
34951
+ `, ss = () => /* @__PURE__ */ c.jsx(W, { marginTop: "28px", gap: "12px", "data-testid": "loading", flexDirection: "row", flexWrap: "wrap", children: Array(6).fill(0).map((e, t) => /* @__PURE__ */ c.jsx(Cz, { justifyContent: "center", children: /* @__PURE__ */ c.jsx(dz, { variant: "rounded", maxWidth: "260px", height: "60px", animation: "wave" }) }, t)) }), Nb = (e) => e.connectorLirary.connectorList, ro = (e) => e.connectorLirary.connectors, af = (e) => e.connectorLirary.connectorsApiStatus, Mb = (e) => e.connectorLirary.currentUpdatingConnectors, FA = (e) => e.connectorLirary.connectorDetailApiStatus, ua = (e) => e.connectorLirary.rolesAndPermissions ?? [], Af = (e) => e.connectorLirary.updateEnableConnectorsApiStatus, sf = (e) => e.connectorLirary.cardCustomFields, Ez = (e) => e.connectorLirary.cardCustomFieldsApiStatus, fz = (e) => e.connectorLirary.notAuthenticatedConnectors, Iz = (e) => e.connectorLirary.requireUpgradeConnectors, pz = (e) => e.connectorLirary.enableCustomCardApiStatus, hz = (e) => e.connectorLirary.updateConnectorByIdApiStatus, Yh = "Visibility not set", cf = "Configure visibility settings", Bz = "Set the card visibility across shared mailboxes and roles to enable ${{connector}}", kb = "Configure fields", mz = "Choose which fields your team can view in Hiver and which can be filled in when creating new ${{connector}} records.", Jh = "Contact your admin to configure visibility", Qz = "Select inbox(es)", vz = "Select the inbox(es)", bz = "Select the role", yz = "Select role", Kh = "inbox", xz = "roles", lf = "Close", nu = "${{connector}}", jb = "Visibility settings saved", wz = "Field visibility settings saved", uf = "Some error occured. Please contact support@hiverhq.com", Sz = "Selecting any lower role will automatically select the roles above it", Tz = "Loading custom fields...", gf = "Save", uA = "enabled", gA = "disabled", Ub = "Select atleast one field to save", Ju = "New", _z = "Upgrade now", Rz = "Authentication failed", Dz = "More info about the current updates that will be there in this app", Oz = "App's visibility & access", Lz = "Set the card & field visibility across shared mailboxes and roles to enable the connector", Fz = "Customer identity mapping", Pz = "Choose how Hiver should identify customers when fetching data from connected apps.", Nz = "Edit", Mz = "Save", kz = "Matches with %s's", jz = "Customer identity mapping saved", Uz = "Failed to save. Please try again.", Vz = "Pre-fill fields", df = S($)`
34949
34952
  min-height: 506px;
34950
34953
  width: 462px;
34951
34954
  padding: 32px;
@@ -35517,7 +35520,7 @@ const Jb = {
35517
35520
  }) => {
35518
35521
  const { sendTrackingEvent: o } = Ve(Tt), i = ur(), a = Me(Kb), [A, s] = ne(""), [l, u] = ne([]), [g, E] = ne(!1), [p, f] = ne(!1), C = () => {
35519
35522
  const B = r ? zh.API : zh.CONNECTOR, m = l.map((Q) => Q.id);
35520
- i(Cl({ type: B, values: m, description: A })).unwrap().then(() => {
35523
+ i(El({ type: B, values: m, description: A })).unwrap().then(() => {
35521
35524
  o(
35522
35525
  r ? nt.REQUEST_NEW_FEATURE_SUBMIT_CLICKED : nt.REQUEST_NEW_CONNECTOR_SUBMIT_CLICKED
35523
35526
  ), f(!0);
@@ -35562,7 +35565,7 @@ const Jb = {
35562
35565
  }
35563
35566
  ) })
35564
35567
  ] });
35565
- }, PA = "Oauth1", nc = "Oauth2", rc = "Oauth2Pat", Zb = "ApiKey", oc = "BasicAuth", Oc = ["Authentication", "Visibility"], CY = "Apps", EY = "Installed apps", fY = "Marketplace", IY = "Suggested apps", pY = "Inbox apps", hY = S($)`
35568
+ }, PA = "Oauth1", rc = "Oauth2", oc = "Oauth2Pat", Zb = "ApiKey", ic = "BasicAuth", Lc = ["Authentication", "Visibility"], CY = "Apps", EY = "Installed apps", fY = "Marketplace", IY = "Suggested apps", pY = "Inbox apps", hY = S($)`
35566
35569
  box-sizing: border-box;
35567
35570
  `, BY = S(W)`
35568
35571
  align-items: center;
@@ -35784,15 +35787,15 @@ const Jb = {
35784
35787
  fe(() => {
35785
35788
  (async () => {
35786
35789
  const v = performance.now();
35787
- Rc.info("Dispatching fetchConnectors ###", performance.now());
35790
+ Dc.info("Dispatching fetchConnectors ###", performance.now());
35788
35791
  const w = e(Na());
35789
- Rc.info("Dispatching fetchConnectorRequests ###", performance.now());
35790
- const M = e(dl());
35791
- Rc.info("Dispatching fetchConnectorTemplates ###", performance.now());
35792
- const L = e(Al());
35792
+ Dc.info("Dispatching fetchConnectorRequests ###", performance.now());
35793
+ const M = e(Cl());
35794
+ Dc.info("Dispatching fetchConnectorTemplates ###", performance.now());
35795
+ const L = e(sl());
35793
35796
  await Promise.all([w, M, L]);
35794
35797
  const F = performance.now();
35795
- Rc.info(`All done in ${F - v} ms ###`);
35798
+ Dc.info(`All done in ${F - v} ms ###`);
35796
35799
  })();
35797
35800
  }, [e]);
35798
35801
  const m = ve(() => {
@@ -36500,7 +36503,7 @@ const Jb = {
36500
36503
  }
36501
36504
  }), NA = () => {
36502
36505
  try {
36503
- return JSON.parse(localStorage.getItem(tc) || "{}");
36506
+ return JSON.parse(localStorage.getItem(nc) || "{}");
36504
36507
  } catch {
36505
36508
  return {};
36506
36509
  }
@@ -36513,7 +36516,7 @@ const Jb = {
36513
36516
  }, MJ = (e) => {
36514
36517
  if (!e) return;
36515
36518
  const t = NA(), n = MA();
36516
- (Object.keys(t).length === 0 || n != e) && localStorage.setItem(tc, JSON.stringify(NJ(e)));
36519
+ (Object.keys(t).length === 0 || n != e) && localStorage.setItem(nc, JSON.stringify(NJ(e)));
36517
36520
  }, kJ = (e, t) => {
36518
36521
  var a, A, s, l, u, g;
36519
36522
  if (!e || !t) return;
@@ -36534,7 +36537,7 @@ const Jb = {
36534
36537
  }
36535
36538
  }
36536
36539
  };
36537
- localStorage.setItem(tc, JSON.stringify(i));
36540
+ localStorage.setItem(nc, JSON.stringify(i));
36538
36541
  }, vf = (e, t) => {
36539
36542
  var o, i;
36540
36543
  const n = MA();
@@ -36559,7 +36562,7 @@ const Jb = {
36559
36562
  }
36560
36563
  }
36561
36564
  };
36562
- localStorage.setItem(tc, JSON.stringify(i));
36565
+ localStorage.setItem(nc, JSON.stringify(i));
36563
36566
  }, UJ = (e, t) => {
36564
36567
  var o;
36565
36568
  const n = MA();
@@ -36580,7 +36583,7 @@ const Jb = {
36580
36583
  ]
36581
36584
  }
36582
36585
  };
36583
- localStorage.setItem(tc, JSON.stringify(o));
36586
+ localStorage.setItem(nc, JSON.stringify(o));
36584
36587
  }, Fs = (e, t) => {
36585
36588
  const n = e.reduce(
36586
36589
  (o, i) => (o[i.key] || (o[i.key] = !0), o),
@@ -36590,11 +36593,11 @@ const Jb = {
36590
36593
  n[o.key] || r.push(o);
36591
36594
  }), r;
36592
36595
  }, oy = (e) => br(e, bG), iy = ({ fields: e, showCreate: t, cardId: n, preSelectTab: r, setFields: o }) => {
36593
- const { availableFeatures: i } = Ve(Tt), a = f0(E0(_u)), { userId: A } = Nr() || {}, s = Me(Ez), l = (f) => {
36596
+ const { availableFeatures: i } = Ve(Tt), a = f0(E0(Ru)), { userId: A } = Nr() || {}, s = Me(Ez), l = (f) => {
36594
36597
  const { active: C, over: d } = f;
36595
36598
  (C == null ? void 0 : C.id) !== (d == null ? void 0 : d.id) && o((h) => {
36596
36599
  const I = h.findIndex((m) => m.key === (C == null ? void 0 : C.id)), B = h.findIndex((m) => m.key === (d == null ? void 0 : d.id));
36597
- return Ou(h, I, B);
36600
+ return Lu(h, I, B);
36598
36601
  });
36599
36602
  }, u = !!(A && vf(n, A)), g = (f) => {
36600
36603
  o((C) => C.map((d) => d.key === f ? { ...d, enabled: !d.enabled } : d));
@@ -36733,7 +36736,7 @@ const Jb = {
36733
36736
  color: var(--connector-admin-icon-secondary);
36734
36737
  margin-top: 0.5px;
36735
36738
  }
36736
- `, nu = ({
36739
+ `, ru = ({
36737
36740
  options: e = [],
36738
36741
  type: t,
36739
36742
  placeholder: n,
@@ -36750,6 +36753,7 @@ const Jb = {
36750
36753
  tA,
36751
36754
  {
36752
36755
  popupIcon: l,
36756
+ disablePortal: !0,
36753
36757
  slotProps: { popper: { sx: eB() }, paper: tB() },
36754
36758
  value: Object.keys((a == null ? void 0 : a[0]) || {}).length ? a[0] : null,
36755
36759
  getOptionLabel: (g) => g[r] ?? "",
@@ -36816,7 +36820,7 @@ const Jb = {
36816
36820
  return /* @__PURE__ */ c.jsxs($, { marginBottom: "20px", children: [
36817
36821
  /* @__PURE__ */ c.jsx(Gz, { variant: "h4", children: u }),
36818
36822
  /* @__PURE__ */ c.jsx(
36819
- nu,
36823
+ ru,
36820
36824
  {
36821
36825
  isSingleSelect: g,
36822
36826
  currentSelectedOptions: g ? [p] : p,
@@ -36909,7 +36913,7 @@ const Jb = {
36909
36913
  connector_name: He,
36910
36914
  card_title: a
36911
36915
  }), !q && (Q != null && Q.name) && be.length ? r(!0) : He && Gt({
36912
- message: jb.replace(tu, He),
36916
+ message: jb.replace(nu, He),
36913
36917
  type: eo
36914
36918
  });
36915
36919
  }).catch(() => {
@@ -36929,7 +36933,7 @@ const Jb = {
36929
36933
  }, H = (I == null ? void 0 : I.cardAccessMode) === wn.READ_WRITE;
36930
36934
  return /* @__PURE__ */ c.jsx(df, { children: /* @__PURE__ */ c.jsxs(ff, { style: { height: "max-content" }, children: [
36931
36935
  /* @__PURE__ */ c.jsx(Hz, { variant: "h2", children: cf }),
36932
- /* @__PURE__ */ c.jsx($, { marginBottom: "24px", children: /* @__PURE__ */ c.jsxs(au, { value: w, onChange: O, children: [
36936
+ /* @__PURE__ */ c.jsx($, { marginBottom: "24px", children: /* @__PURE__ */ c.jsxs(Au, { value: w, onChange: O, children: [
36933
36937
  /* @__PURE__ */ c.jsx(Xh, { label: j(_i.CARD_VISIBILITY.ID) }),
36934
36938
  /* @__PURE__ */ c.jsx(Xh, { label: j(_i.FIELD_VISIBILITY.ID, Y) })
36935
36939
  ] }) }),
@@ -36945,7 +36949,7 @@ const Jb = {
36945
36949
  /* @__PURE__ */ c.jsx("div", { hidden: w !== _i.FIELD_VISIBILITY.ID, style: { height: "100%" }, children: /* @__PURE__ */ c.jsx(iy, { showCreate: H, fields: y, setFields: v, cardId: t }) }),
36946
36950
  /* @__PURE__ */ c.jsxs(Cf, { children: [
36947
36951
  /* @__PURE__ */ c.jsx(pf, { onClick: D, variant: "text", children: lf }),
36948
- /* @__PURE__ */ c.jsx(st, { title: R ? Ub : null, children: /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(If, { onClick: P, disabled: z, children: d !== ye.LOADING ? /* @__PURE__ */ c.jsx(ee, { variant: "body2_medium", children: gf }) : /* @__PURE__ */ c.jsx(Au, { height: "22px", children: /* @__PURE__ */ c.jsx(Ef, { size: 22 }) }) }) }) })
36952
+ /* @__PURE__ */ c.jsx(st, { title: R ? Ub : null, children: /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(If, { onClick: P, disabled: z, children: d !== ye.LOADING ? /* @__PURE__ */ c.jsx(ee, { variant: "body2_medium", children: gf }) : /* @__PURE__ */ c.jsx(su, { height: "22px", children: /* @__PURE__ */ c.jsx(Ef, { size: 22 }) }) }) }) })
36949
36953
  ] })
36950
36954
  ] }) });
36951
36955
  }, JJ = ({
@@ -36991,7 +36995,7 @@ const Jb = {
36991
36995
  connector_name: X,
36992
36996
  card_title: t
36993
36997
  }), !re && (I != null && I.name) && R.length ? a(!0) : X && Gt({
36994
- message: jb.replace(tu, X),
36998
+ message: jb.replace(nu, X),
36995
36999
  type: eo
36996
37000
  });
36997
37001
  }).catch(() => {
@@ -37002,7 +37006,7 @@ const Jb = {
37002
37006
  };
37003
37007
  return /* @__PURE__ */ c.jsx(df, { children: /* @__PURE__ */ c.jsxs(ff, { children: [
37004
37008
  /* @__PURE__ */ c.jsx(ee, { variant: "h2", children: cf }),
37005
- /* @__PURE__ */ c.jsx(ee, { variant: "body2", marginBottom: "24px", color: "var(--connector-admin-text-tertiary)", children: Bz.replace(tu, (f == null ? void 0 : f.name) ?? "") }),
37009
+ /* @__PURE__ */ c.jsx(ee, { variant: "body2", marginBottom: "24px", color: "var(--connector-admin-text-tertiary)", children: Bz.replace(nu, (f == null ? void 0 : f.name) ?? "") }),
37006
37010
  /* @__PURE__ */ c.jsx("div", { style: { height: "100%" }, children: /* @__PURE__ */ c.jsx(
37007
37011
  ay,
37008
37012
  {
@@ -37014,7 +37018,7 @@ const Jb = {
37014
37018
  ) }),
37015
37019
  /* @__PURE__ */ c.jsxs(Cf, { children: [
37016
37020
  /* @__PURE__ */ c.jsx(pf, { onClick: M, variant: "text", children: lf }),
37017
- /* @__PURE__ */ c.jsx(If, { onClick: w, disabled: v, children: p !== ye.LOADING ? /* @__PURE__ */ c.jsx(ee, { variant: "body2_medium", children: gf }) : /* @__PURE__ */ c.jsx(Au, { height: "22px", children: /* @__PURE__ */ c.jsx(Ef, { size: 22 }) }) })
37021
+ /* @__PURE__ */ c.jsx(If, { onClick: w, disabled: v, children: p !== ye.LOADING ? /* @__PURE__ */ c.jsx(ee, { variant: "body2_medium", children: gf }) : /* @__PURE__ */ c.jsx(su, { height: "22px", children: /* @__PURE__ */ c.jsx(Ef, { size: 22 }) }) })
37018
37022
  ] })
37019
37023
  ] }) });
37020
37024
  }, KJ = ({
@@ -37087,7 +37091,7 @@ const Jb = {
37087
37091
  };
37088
37092
  return /* @__PURE__ */ c.jsx(df, { children: /* @__PURE__ */ c.jsxs(ff, { style: { height: "max-content" }, children: [
37089
37093
  /* @__PURE__ */ c.jsx(ee, { variant: "h2", children: kb }),
37090
- /* @__PURE__ */ c.jsx(ee, { variant: "body2", marginBottom: "24px", color: "var(--connector-admin-text-tertiary)", children: mz.replace(tu, (C == null ? void 0 : C.name) ?? "") }),
37094
+ /* @__PURE__ */ c.jsx(ee, { variant: "body2", marginBottom: "24px", color: "var(--connector-admin-text-tertiary)", children: mz.replace(nu, (C == null ? void 0 : C.name) ?? "") }),
37091
37095
  /* @__PURE__ */ c.jsx(
37092
37096
  iy,
37093
37097
  {
@@ -37100,7 +37104,7 @@ const Jb = {
37100
37104
  ),
37101
37105
  /* @__PURE__ */ c.jsxs(Cf, { children: [
37102
37106
  /* @__PURE__ */ c.jsx(pf, { onClick: M, variant: "text", children: lf }),
37103
- /* @__PURE__ */ c.jsx(st, { title: b ? Ub : null, children: /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(If, { onClick: w, disabled: y, children: f !== ye.LOADING ? /* @__PURE__ */ c.jsx(ee, { variant: "body2_medium", children: gf }) : /* @__PURE__ */ c.jsx(Au, { height: "22px", children: /* @__PURE__ */ c.jsx(Ef, { size: 22 }) }) }) }) })
37107
+ /* @__PURE__ */ c.jsx(st, { title: b ? Ub : null, children: /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(If, { onClick: w, disabled: y, children: f !== ye.LOADING ? /* @__PURE__ */ c.jsx(ee, { variant: "body2_medium", children: gf }) : /* @__PURE__ */ c.jsx(su, { height: "22px", children: /* @__PURE__ */ c.jsx(Ef, { size: 22 }) }) }) }) })
37104
37108
  ] })
37105
37109
  ] }) });
37106
37110
  }, XJ = S($)`
@@ -37182,7 +37186,7 @@ const nB = S(_n)`
37182
37186
  }, H = () => {
37183
37187
  R ? Q(!0) : h(!0);
37184
37188
  }, Z = () => {
37185
- e.isEnabledCustomCard ? H() : o(ll({ connectorId: t, data: e })).unwrap().then(() => {
37189
+ e.isEnabledCustomCard ? H() : o(ul({ connectorId: t, data: e })).unwrap().then(() => {
37186
37190
  H();
37187
37191
  }), F(nt.CONFIGURE_VISIBILITY_CLICKED);
37188
37192
  }, ie = () => {
@@ -37609,7 +37613,7 @@ const nB = S(_n)`
37609
37613
  return /* @__PURE__ */ c.jsxs(rK, { className: "h-screenshot-viewer", children: [
37610
37614
  e.map(({ src: A }, s) => /* @__PURE__ */ c.jsx(oK, { onClick: () => n(s), children: /* @__PURE__ */ c.jsx("img", { src: A, alt: "App preview" }) }, A + s)),
37611
37615
  r ? /* @__PURE__ */ c.jsx(
37612
- Nu,
37616
+ Mu,
37613
37617
  {
37614
37618
  imgs: e,
37615
37619
  currImg: t,
@@ -37735,11 +37739,11 @@ const nB = S(_n)`
37735
37739
  width: 50%;
37736
37740
  }
37737
37741
  `, pK = () => /* @__PURE__ */ c.jsxs(W, { marginTop: "28px", gap: "12px", children: [
37738
- /* @__PURE__ */ c.jsx(EK, { children: Tc(3, (e) => /* @__PURE__ */ c.jsx(fK, { animation: "wave" }, e)) }),
37742
+ /* @__PURE__ */ c.jsx(EK, { children: _c(3, (e) => /* @__PURE__ */ c.jsx(fK, { animation: "wave" }, e)) }),
37739
37743
  /* @__PURE__ */ c.jsxs(IK, { children: [
37740
- Tc(3, (e) => /* @__PURE__ */ c.jsx(ed, { animation: "wave" }, e)),
37741
- Tc(4, (e) => /* @__PURE__ */ c.jsx(ed, { className: "li", animation: "wave" }, e)),
37742
- Tc(2, (e) => /* @__PURE__ */ c.jsx(ed, { animation: "wave" }, e))
37744
+ _c(3, (e) => /* @__PURE__ */ c.jsx(ed, { animation: "wave" }, e)),
37745
+ _c(4, (e) => /* @__PURE__ */ c.jsx(ed, { className: "li", animation: "wave" }, e)),
37746
+ _c(2, (e) => /* @__PURE__ */ c.jsx(ed, { animation: "wave" }, e))
37743
37747
  ] })
37744
37748
  ] }), uy = (e) => /* @__PURE__ */ x.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ x.createElement("path", { d: "M8.86421 15.9708C9.20287 16.3941 9.13423 17.0118 8.71091 17.3505C8.28758 17.6891 7.66987 17.6205 7.33121 17.1972L8.86421 15.9708ZM2.94434 10.1423L2.17784 10.7555C1.89104 10.397 1.89104 9.88757 2.17784 9.52907L2.94434 10.1423ZM7.33121 3.08735C7.66987 2.66403 8.28758 2.59539 8.71091 2.93405C9.13423 3.27271 9.20287 3.89042 8.86421 4.31375L7.33121 3.08735ZM3.31243 11.1852C2.77031 11.1852 2.33084 10.7457 2.33084 10.2036C2.33084 9.66149 2.77031 9.22201 3.31243 9.22201L3.31243 11.1852ZM17.0548 9.22201C17.5969 9.22201 18.0364 9.66149 18.0364 10.2036C18.0364 10.7457 17.5969 11.1852 17.0548 11.1852V9.22201ZM7.33121 17.1972L2.17784 10.7555L3.71083 9.52907L8.86421 15.9708L7.33121 17.1972ZM2.17784 9.52907L7.33121 3.08735L8.86421 4.31375L3.71083 10.7555L2.17784 9.52907ZM3.31243 9.22201L17.0548 9.22201V11.1852L3.31243 11.1852L3.31243 9.22201Z", fill: "#6F7C90" })), hK = S(W)`
37745
37749
  position: relative;
@@ -37764,7 +37768,7 @@ const nB = S(_n)`
37764
37768
  }, f = u ? g : E;
37765
37769
  if (f != null && f.type && CA(f.type)) {
37766
37770
  const I = u ? ke.APP_DETAIL : ke.TEMPLATE_APP;
37767
- return /* @__PURE__ */ c.jsx(Ol, { to: `${ke.BASEPATH}${I}/${s}`, replace: !0 });
37771
+ return /* @__PURE__ */ c.jsx(Ll, { to: `${ke.BASEPATH}${I}/${s}`, replace: !0 });
37768
37772
  }
37769
37773
  const C = !!(f != null && f.carouselImages) && f.carouselImages.length > 0, d = i === ye.LOADING || a === ye.LOADING, h = br(e, eG) && (d || C);
37770
37774
  return /* @__PURE__ */ c.jsxs(pe.Fragment, { children: [
@@ -37948,7 +37952,7 @@ const WK = S(WB)`
37948
37952
  return o !== void 0 && Number(o) > 65535 ? oB : !0;
37949
37953
  }
37950
37954
  return !1;
37951
- }, ic = (e) => {
37955
+ }, ac = (e) => {
37952
37956
  const t = Object.entries(e).map(([n, r]) => [r, n]);
37953
37957
  return Object.fromEntries(t);
37954
37958
  }, fr = {
@@ -37999,9 +38003,9 @@ const WK = S(WB)`
37999
38003
  }, Lr = {
38000
38004
  apiToken: { label: "API Token", value: Zb },
38001
38005
  oAuth1: { label: "OAuth1.0", value: PA },
38002
- oAuth2: { label: "OAuth2.0", value: nc },
38003
- oAuth2Pat: { label: "OAuth2.0 (PAT)", value: rc },
38004
- basicAuth: { label: "Basic Auth", value: oc }
38006
+ oAuth2: { label: "OAuth2.0", value: rc },
38007
+ oAuth2Pat: { label: "OAuth2.0 (PAT)", value: oc },
38008
+ basicAuth: { label: "Basic Auth", value: ic }
38005
38009
  }, Xu = {
38006
38010
  header: { label: "Header", value: "header" },
38007
38011
  queryParam: { label: "Query Param", value: "queryParam" }
@@ -38396,7 +38400,7 @@ const WK = S(WB)`
38396
38400
  [va.oAuth1TokenSecret]: "tokenSecret",
38397
38401
  [va.oAuth1AccessToken]: "accessToken",
38398
38402
  [va.oAuth1Realm]: "realm"
38399
- }, ZK = ic(yf), xf = {
38403
+ }, ZK = ac(yf), xf = {
38400
38404
  [Lo.oAuthClientId]: "clientId",
38401
38405
  [Lo.oAuthClientSecret]: "clientSecret",
38402
38406
  [fr.authType]: "authType",
@@ -38406,7 +38410,7 @@ const WK = S(WB)`
38406
38410
  [Lo.oAuthScopes]: "scopes",
38407
38411
  [Lo.oAuthHeaderName]: "keyName",
38408
38412
  [Lo.oAuthHeaderPrefix]: "prefix"
38409
- }, $K = ic(xf), wf = {
38413
+ }, $K = ac(xf), wf = {
38410
38414
  [fr.authType]: "authType",
38411
38415
  [Fi.oAuth2PatClientId]: "clientId",
38412
38416
  [Fi.oAuth2PatClientSecret]: "clientSecret",
@@ -38414,21 +38418,21 @@ const WK = S(WB)`
38414
38418
  [Fi.oAuth2PatTokenUrl]: "tokenEndpointUrl",
38415
38419
  [Fi.oAuth2PatUserId]: "userId",
38416
38420
  [Fi.oAuth2PatOrgId]: "orgId"
38417
- }, eX = ic(wf), Sf = {
38421
+ }, eX = ac(wf), Sf = {
38418
38422
  [fr.authType]: "authType",
38419
38423
  [Mi.apiAddTo]: "location",
38420
38424
  [Mi.apiKey]: "keyValue",
38421
38425
  [Mi.apiHeaderName]: "keyName",
38422
38426
  [Mi.apiHeaderPrefix]: "prefix",
38423
38427
  [Mi.apiParamName]: "keyName"
38424
- }, tX = ic(Sf), Tf = {
38428
+ }, tX = ac(Sf), Tf = {
38425
38429
  [fr.authType]: "authType",
38426
38430
  [ba.basicAuthAddTo]: "location",
38427
38431
  [ba.basicAuthKey]: "keyValue",
38428
38432
  [ba.basicAuthSecret]: "secretValue",
38429
38433
  [ba.basicAuthHeaderName]: "keyName",
38430
38434
  [ba.basicAuthPrefix]: "prefix"
38431
- }, nX = ic(Tf), rX = {
38435
+ }, nX = ac(Tf), rX = {
38432
38436
  values: { authType: Lr.apiToken, apiAddTo: Xu.header },
38433
38437
  errors: {}
38434
38438
  }, Io = {
@@ -38519,13 +38523,13 @@ const dB = (e) => !XK.includes(e.id), Ey = (e, t, n) => {
38519
38523
  case PA:
38520
38524
  s = yf[a], s !== fr.authType && s !== void 0 && (i[s] = A);
38521
38525
  break;
38522
- case nc:
38526
+ case rc:
38523
38527
  s = xf[a], s !== fr.authType && s !== void 0 && (i[s] = A);
38524
38528
  break;
38525
- case rc:
38529
+ case oc:
38526
38530
  s = wf[a], s !== fr.authType && s !== void 0 && (i[s] = A);
38527
38531
  break;
38528
- case oc:
38532
+ case ic:
38529
38533
  s = Tf[a], s !== fr.authType && s !== void 0 && (i[s] = A);
38530
38534
  break;
38531
38535
  default:
@@ -38539,7 +38543,7 @@ function sX(e) {
38539
38543
  if (iX(r, n)) {
38540
38544
  const o = n[r];
38541
38545
  let i;
38542
- if (e.authType === nc || e.authType === PA) {
38546
+ if (e.authType === rc || e.authType === PA) {
38543
38547
  const a = e[o];
38544
38548
  Array.isArray(a) ? i = a.join(", ") : i = a;
38545
38549
  } else
@@ -38558,11 +38562,11 @@ const cX = (e, t) => {
38558
38562
  switch (e) {
38559
38563
  case PA:
38560
38564
  return yf;
38561
- case nc:
38562
- return xf;
38563
38565
  case rc:
38564
- return wf;
38566
+ return xf;
38565
38567
  case oc:
38568
+ return wf;
38569
+ case ic:
38566
38570
  return Tf;
38567
38571
  default:
38568
38572
  return Sf;
@@ -38571,11 +38575,11 @@ const cX = (e, t) => {
38571
38575
  switch (e) {
38572
38576
  case PA:
38573
38577
  return ZK;
38574
- case nc:
38575
- return $K;
38576
38578
  case rc:
38577
- return eX;
38579
+ return $K;
38578
38580
  case oc:
38581
+ return eX;
38582
+ case ic:
38579
38583
  return nX;
38580
38584
  default:
38581
38585
  return tX;
@@ -38809,7 +38813,7 @@ const dX = S(ee)`
38809
38813
  ] }),
38810
38814
  /* @__PURE__ */ c.jsxs(CX, { id: "conectors-auth-form", children: [
38811
38815
  /* @__PURE__ */ c.jsx(
38812
- ql,
38816
+ Zl,
38813
38817
  {
38814
38818
  formConfig: I ? le : F(),
38815
38819
  selectChangeHandler: M,
@@ -38822,7 +38826,7 @@ const dX = S(ee)`
38822
38826
  }
38823
38827
  ),
38824
38828
  I && P && /* @__PURE__ */ c.jsx(JK, { titleNode: /* @__PURE__ */ c.jsx(ee, { variant: "h3", children: "Advanced settings" }), children: /* @__PURE__ */ c.jsx(
38825
- ql,
38829
+ Zl,
38826
38830
  {
38827
38831
  formConfig: Y,
38828
38832
  selectChangeHandler: M,
@@ -38903,7 +38907,7 @@ const dX = S(ee)`
38903
38907
  icon: vX,
38904
38908
  featureKey: iG
38905
38909
  }
38906
- ], SX = "Advanced settings", TX = "Enhance your integrations with contextual insights and email logging.", Lc = {
38910
+ ], SX = "Advanced settings", TX = "Enhance your integrations with contextual insights and email logging.", Fc = {
38907
38911
  title: "Confirm Changes?",
38908
38912
  description: "After enabling user-level authentication, users must connect their own accounts to access integration data.",
38909
38913
  confirmLabel: "Confirm",
@@ -38916,7 +38920,9 @@ const dX = S(ee)`
38916
38920
  classes: {
38917
38921
  ...t,
38918
38922
  popper: e,
38919
- tooltip: ["connector-admin-rich-tooltip", t == null ? void 0 : t.tooltip].filter(Boolean).join(" ")
38923
+ // connectorAdmin-portal carries the theme's --connector-admin-* variables
38924
+ // into the body portal, where the wrapper's own copies don't reach.
38925
+ tooltip: ["connector-admin-rich-tooltip", "connectorAdmin-portal", t == null ? void 0 : t.tooltip].filter(Boolean).join(" ")
38920
38926
  }
38921
38927
  }
38922
38928
  )
@@ -39004,7 +39010,7 @@ const dX = S(ee)`
39004
39010
  )
39005
39011
  ] })
39006
39012
  ] });
39007
- }, Fc = '"Open Sans", sans-serif', DX = ({
39013
+ }, Pc = '"Open Sans", sans-serif', DX = ({
39008
39014
  title: e,
39009
39015
  description: t,
39010
39016
  confirmLabel: n = "Confirm",
@@ -39019,7 +39025,7 @@ const dX = S(ee)`
39019
39025
  ee,
39020
39026
  {
39021
39027
  sx: {
39022
- fontFamily: Fc,
39028
+ fontFamily: Pc,
39023
39029
  fontWeight: T.typography.fontWeightMedium,
39024
39030
  fontSize: `${T.typography.h2.fontSize}px`,
39025
39031
  lineHeight: "21px",
@@ -39035,7 +39041,7 @@ const dX = S(ee)`
39035
39041
  ee,
39036
39042
  {
39037
39043
  sx: {
39038
- fontFamily: Fc,
39044
+ fontFamily: Pc,
39039
39045
  fontWeight: T.typography.fontWeightRegular,
39040
39046
  fontSize: `${T.typography.body2.fontSize}px`,
39041
39047
  lineHeight: "20px",
@@ -39055,7 +39061,7 @@ const dX = S(ee)`
39055
39061
  onClick: A,
39056
39062
  sx: {
39057
39063
  textTransform: "none",
39058
- fontFamily: Fc,
39064
+ fontFamily: Pc,
39059
39065
  fontWeight: T.typography.fontWeightMedium,
39060
39066
  fontSize: `${T.typography.body2.fontSize}px`,
39061
39067
  lineHeight: "24px",
@@ -39082,7 +39088,7 @@ const dX = S(ee)`
39082
39088
  disableElevation: !0,
39083
39089
  sx: {
39084
39090
  textTransform: "none",
39085
- fontFamily: Fc,
39091
+ fontFamily: Pc,
39086
39092
  fontWeight: T.typography.fontWeightMedium,
39087
39093
  fontSize: `${T.typography.body2.fontSize}px`,
39088
39094
  lineHeight: "24px",
@@ -39305,10 +39311,10 @@ const VX = ({
39305
39311
  children: /* @__PURE__ */ c.jsx(
39306
39312
  DX,
39307
39313
  {
39308
- title: Lc.title,
39309
- description: Lc.description,
39310
- confirmLabel: Lc.confirmLabel,
39311
- cancelLabel: Lc.cancelLabel,
39314
+ title: Fc.title,
39315
+ description: Fc.description,
39316
+ confirmLabel: Fc.confirmLabel,
39317
+ cancelLabel: Fc.cancelLabel,
39312
39318
  isLoading: E,
39313
39319
  danger: !0,
39314
39320
  onConfirm: v,
@@ -39516,7 +39522,7 @@ const rq = S(W)`
39516
39522
  VK
39517
39523
  ] }) : null
39518
39524
  ] }), my = (e, t) => {
39519
- const n = t.authType === oc, r = t.authType === Zb, o = t.authType === PA, i = t.authType === rc;
39525
+ const n = t.authType === ic, r = t.authType === Zb, o = t.authType === PA, i = t.authType === oc;
39520
39526
  if (!e || !e.data)
39521
39527
  return {
39522
39528
  authUrl: "",
@@ -39700,7 +39706,7 @@ const rq = S(W)`
39700
39706
  break;
39701
39707
  }
39702
39708
  case gt.REQUEST_FAILED: {
39703
- Gt({ message: eu, type: Wn });
39709
+ Gt({ message: tu, type: Wn });
39704
39710
  break;
39705
39711
  }
39706
39712
  case gt.API_KEY_SUCCESS: {
@@ -39710,7 +39716,7 @@ const rq = S(W)`
39710
39716
  break;
39711
39717
  }
39712
39718
  case gt.API_KEY_FAILED: {
39713
- Gt({ message: E ? aB : eu, type: Wn });
39719
+ Gt({ message: E ? aB : tu, type: Wn });
39714
39720
  break;
39715
39721
  }
39716
39722
  }
@@ -39782,7 +39788,7 @@ const rq = S(W)`
39782
39788
  ]);
39783
39789
  i(y.data ?? null), A(((b = v.data) == null ? void 0 : b.presets) ?? []);
39784
39790
  } catch (y) {
39785
- Gt({ message: eu, type: Wn }), console.error(y);
39791
+ Gt({ message: tu, type: Wn }), console.error(y);
39786
39792
  } finally {
39787
39793
  p(!1);
39788
39794
  }
@@ -39921,11 +39927,11 @@ const rq = S(W)`
39921
39927
  }, Iq = () => {
39922
39928
  const e = ur(), { sendTrackingEvent: t } = Ve(Tt), n = Me(af), r = Me(FA), o = Me(Mb), i = Me(ro), a = Me(LA), { id: A = "" } = Jo(), [s] = bi(), l = s.get("isEdit") === "true", u = s.get("tabIndex"), [g, E] = ne(() => {
39923
39929
  const b = Number(u);
39924
- return Number.isNaN(b) || b < 0 ? 0 : b > Oc.length - 1 ? Oc.length - 1 : b;
39930
+ return Number.isNaN(b) || b < 0 ? 0 : b > Lc.length - 1 ? Lc.length - 1 : b;
39925
39931
  }), p = (b, y) => {
39926
39932
  E(y);
39927
39933
  }, f = (i == null ? void 0 : i[A]) || null, C = (a == null ? void 0 : a[A]) || null, d = l ? f : C, h = !(d != null && d.isAuthenticated), I = !!(d != null && d.isEnabled), B = [n, r].includes(ye.LOADING) || h, m = [
39928
- { name: $l, route: `${ke.BASEPATH}${ke.DASHBOARD}` },
39934
+ { name: eu, route: `${ke.BASEPATH}${ke.DASHBOARD}` },
39929
39935
  {
39930
39936
  name: (d == null ? void 0 : d.name) || "",
39931
39937
  route: `${ke.BASEPATH}${ke.API_VIEW}/${A}?isEdit=${String(l)}`
@@ -39945,10 +39951,10 @@ const rq = S(W)`
39945
39951
  });
39946
39952
  };
39947
39953
  if (fe(() => {
39948
- e(Na()), l ? (e(Ma(A)), e(cl(A))) : e(Fa(A));
39954
+ e(Na()), l ? (e(Ma(A)), e(ll(A))) : e(Fa(A));
39949
39955
  }, [l, e, A]), d != null && d.type && CA(d.type)) {
39950
39956
  const b = l ? ke.APP_DETAIL : ke.TEMPLATE_APP;
39951
- return /* @__PURE__ */ c.jsx(Ol, { to: `${ke.BASEPATH}${b}/${A}`, replace: !0 });
39957
+ return /* @__PURE__ */ c.jsx(Ll, { to: `${ke.BASEPATH}${b}/${A}`, replace: !0 });
39952
39958
  }
39953
39959
  return /* @__PURE__ */ c.jsxs("div", { className: "w-full h-full flex flex-col", children: [
39954
39960
  /* @__PURE__ */ c.jsxs("div", { className: `flex flex-row justify-between ${l ? "mb-2" : "mb-9"}`, children: [
@@ -39977,15 +39983,15 @@ const rq = S(W)`
39977
39983
  ] }),
39978
39984
  l ? /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
39979
39985
  /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsxs(
39980
- au,
39986
+ Au,
39981
39987
  {
39982
39988
  className: "connector-admin-settings-tabs",
39983
39989
  value: g,
39984
39990
  onChange: p,
39985
39991
  classes: { flexContainer: "border-b-2 border-gray-5" },
39986
39992
  children: [
39987
- /* @__PURE__ */ c.jsx(eA, { label: Oc[0], className: "border-b-0!" }),
39988
- /* @__PURE__ */ c.jsx(eA, { label: Oc[1], className: "border-b-0!" })
39993
+ /* @__PURE__ */ c.jsx(eA, { label: Lc[0], className: "border-b-0!" }),
39994
+ /* @__PURE__ */ c.jsx(eA, { label: Lc[1], className: "border-b-0!" })
39989
39995
  ]
39990
39996
  }
39991
39997
  ) }),
@@ -40005,7 +40011,7 @@ const rq = S(W)`
40005
40011
  const e = ur(), t = Me(hq), n = Me(pq);
40006
40012
  return fe(() => {
40007
40013
  const r = new URLSearchParams(window.location.search), o = r.get(RK), i = r.get(DK);
40008
- window.opener && i && o && e(gl({ data: { token: o }, connectorId: i }));
40014
+ window.opener && i && o && e(dl({ data: { token: o }, connectorId: i }));
40009
40015
  }, [e]), fe(() => {
40010
40016
  window.opener && t && window.opener.postMessage(
40011
40017
  n === ye.FAILED ? Cy : yC,
@@ -40039,7 +40045,7 @@ const rq = S(W)`
40039
40045
  return /* @__PURE__ */ c.jsxs("div", { className: "mb-5", children: [
40040
40046
  /* @__PURE__ */ c.jsx(ee, { className: "pb-2", variant: "h4", children: u }),
40041
40047
  /* @__PURE__ */ c.jsx(
40042
- nu,
40048
+ ru,
40043
40049
  {
40044
40050
  isSingleSelect: g,
40045
40051
  currentSelectedOptions: g ? [p] : p,
@@ -40056,7 +40062,7 @@ const rq = S(W)`
40056
40062
  });
40057
40063
  }, yq = () => {
40058
40064
  const { sendTrackingEvent: e } = Ve(Tt), t = An(), n = ur(), r = Me(ua) ?? [], o = Me(xi) ?? [], i = r.find((b) => b.name === Vi.MEMBER), a = Me(LA), A = Me(hz) === ye.LOADING, [s, l] = ne([]), [u, g] = ne(i), [E, p] = ne(!1), { id: f = "" } = Jo(), [C] = bi(), d = C.get("connectorId"), h = (a == null ? void 0 : a[f]) || null, I = A || !s.length || !u.name, B = [
40059
- { name: $l, route: `${ke.BASEPATH}${ke.DASHBOARD}` },
40065
+ { name: eu, route: `${ke.BASEPATH}${ke.DASHBOARD}` },
40060
40066
  {
40061
40067
  name: (h == null ? void 0 : h.name) || "",
40062
40068
  route: `${ke.BASEPATH}${ke.API_VIEW}/${f}`
@@ -40066,7 +40072,7 @@ const rq = S(W)`
40066
40072
  if (A) return;
40067
40073
  const b = u != null && u.name ? [u.name] : [], y = s.map((M) => M.id), v = s.map((M) => M.name);
40068
40074
  d && n(
40069
- ul({
40075
+ gl({
40070
40076
  connectorId: d,
40071
40077
  data: {
40072
40078
  roles: b,
@@ -40565,7 +40571,7 @@ const Rq = S($)`
40565
40571
  ] });
40566
40572
  }, Jq = ({ schema: e, controller: t }) => {
40567
40573
  const n = Me(xi) ?? [], r = Me(ua) ?? [], o = (i) => i === "defaultMessage" ? /* @__PURE__ */ c.jsx(Yq, { value: t.defaultMessage, onChange: t.setDefaultMessage }) : i === "inboxes" ? /* @__PURE__ */ c.jsx(
40568
- nu,
40574
+ ru,
40569
40575
  {
40570
40576
  type: xC,
40571
40577
  options: n,
@@ -40579,7 +40585,7 @@ const Rq = S($)`
40579
40585
  onChangeFunc: (a, A) => t.setSelectedEmailInboxes(A ?? [])
40580
40586
  }
40581
40587
  ) : /* @__PURE__ */ c.jsx(
40582
- nu,
40588
+ ru,
40583
40589
  {
40584
40590
  type: by,
40585
40591
  options: r,
@@ -40756,7 +40762,7 @@ const Rq = S($)`
40756
40762
  return fe(() => {
40757
40763
  var u, g;
40758
40764
  r && (e === "template" ? (u = o == null ? void 0 : o[r]) != null && u.apiList || n(Fa(r)) : (g = i == null ? void 0 : i[r]) != null && g.apiList || n(Ma(r)));
40759
- }, [r, e, o, i, n]), e === "template" ? s != null && s.apiList ? CA(s.type) ? /* @__PURE__ */ c.jsx(yB, { mode: "template", id: r, headerSource: s }) : /* @__PURE__ */ c.jsx(Ol, { to: `${ke.BASEPATH}${ke.API_VIEW}/${r}`, replace: !0 }) : a === ye.FAILED ? /* @__PURE__ */ c.jsxs(cs, { children: [
40765
+ }, [r, e, o, i, n]), e === "template" ? s != null && s.apiList ? CA(s.type) ? /* @__PURE__ */ c.jsx(yB, { mode: "template", id: r, headerSource: s }) : /* @__PURE__ */ c.jsx(Ll, { to: `${ke.BASEPATH}${ke.API_VIEW}/${r}`, replace: !0 }) : a === ye.FAILED ? /* @__PURE__ */ c.jsxs(cs, { children: [
40760
40766
  /* @__PURE__ */ c.jsxs(SC, { onClick: () => t(`${ke.BASEPATH}${ke.DASHBOARD}`), children: [
40761
40767
  /* @__PURE__ */ c.jsx(wC, { "aria-hidden": !0, width: 20, height: 20 }),
40762
40768
  "Apps Marketplace"
@@ -40767,7 +40773,7 @@ const Rq = S($)`
40767
40773
  r,
40768
40774
  "” couldn’t be fetched. Try refreshing."
40769
40775
  ] })
40770
- ] }) : /* @__PURE__ */ c.jsx(cs, { children: /* @__PURE__ */ c.jsx(pB, {}) }) : l != null && l.apiList ? CA(l.type) ? /* @__PURE__ */ c.jsx(yB, { mode: "connector", id: r, headerSource: l }) : /* @__PURE__ */ c.jsx(Ol, { to: `${ke.BASEPATH}${ke.API_VIEW}/${r}?isEdit=true`, replace: !0 }) : A === ye.FAILED ? /* @__PURE__ */ c.jsxs(cs, { children: [
40776
+ ] }) : /* @__PURE__ */ c.jsx(cs, { children: /* @__PURE__ */ c.jsx(pB, {}) }) : l != null && l.apiList ? CA(l.type) ? /* @__PURE__ */ c.jsx(yB, { mode: "connector", id: r, headerSource: l }) : /* @__PURE__ */ c.jsx(Ll, { to: `${ke.BASEPATH}${ke.API_VIEW}/${r}?isEdit=true`, replace: !0 }) : A === ye.FAILED ? /* @__PURE__ */ c.jsxs(cs, { children: [
40771
40777
  /* @__PURE__ */ c.jsxs(SC, { onClick: () => t(`${ke.BASEPATH}${ke.DASHBOARD}`), children: [
40772
40778
  /* @__PURE__ */ c.jsx(wC, { "aria-hidden": !0, width: 20, height: 20 }),
40773
40779
  "Apps Marketplace"
@@ -40790,7 +40796,7 @@ const Rq = S($)`
40790
40796
  const B = new URLSearchParams(i);
40791
40797
  B.set("tab", I === 1 ? "configuration" : "overview"), a(B, { replace: !0 });
40792
40798
  }, d = () => C({}, 1);
40793
- return /* @__PURE__ */ c.jsx(Il, { theme: A, children: /* @__PURE__ */ c.jsxs(cs, { children: [
40799
+ return /* @__PURE__ */ c.jsx(pl, { theme: A, children: /* @__PURE__ */ c.jsxs(cs, { children: [
40794
40800
  /* @__PURE__ */ c.jsxs(SC, { onClick: () => r(`${ke.BASEPATH}${ke.DASHBOARD}`), children: [
40795
40801
  /* @__PURE__ */ c.jsx(wC, { "aria-hidden": !0, width: 20, height: 20 }),
40796
40802
  "Apps Marketplace"
@@ -40829,7 +40835,7 @@ const Rq = S($)`
40829
40835
  e === "template" && /* @__PURE__ */ c.jsx(Tq, { variant: "contained", disableElevation: !0, onClick: d, children: "Start Setup" })
40830
40836
  ] }),
40831
40837
  /* @__PURE__ */ c.jsxs(
40832
- au,
40838
+ Au,
40833
40839
  {
40834
40840
  value: p,
40835
40841
  onChange: C,
@@ -41045,14 +41051,14 @@ const uZ = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%20
41045
41051
  t != null && t.redirectToUpgradePage && t.redirectToUpgradePage();
41046
41052
  };
41047
41053
  return /* @__PURE__ */ c.jsxs(eZ, { children: [
41048
- /* @__PURE__ */ c.jsx(nZ, { children: /* @__PURE__ */ c.jsx(wB, { variant: "h2", children: $l }) }),
41054
+ /* @__PURE__ */ c.jsx(nZ, { children: /* @__PURE__ */ c.jsx(wB, { variant: "h2", children: eu }) }),
41049
41055
  /* @__PURE__ */ c.jsxs(rZ, { children: [
41050
41056
  /* @__PURE__ */ c.jsxs(oZ, { children: [
41051
41057
  /* @__PURE__ */ c.jsxs(aZ, { children: [
41052
41058
  /* @__PURE__ */ c.jsx("img", { src: uZ }),
41053
41059
  /* @__PURE__ */ c.jsx(AZ, { variant: "caption", children: aG })
41054
41060
  ] }),
41055
- /* @__PURE__ */ c.jsx(wB, { variant: "h2", children: $l }),
41061
+ /* @__PURE__ */ c.jsx(wB, { variant: "h2", children: eu }),
41056
41062
  /* @__PURE__ */ c.jsx(sZ, { variant: "body2", children: AG }),
41057
41063
  /* @__PURE__ */ c.jsxs(Ry, { children: [
41058
41064
  /* @__PURE__ */ c.jsx(cZ, { onClick: r, children: sG }),
@@ -41907,7 +41913,7 @@ const uZ = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%20
41907
41913
  theme: s,
41908
41914
  children: yG(r) ? /* @__PURE__ */ c.jsx(gZ, { availableFeatures: r }) : /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
41909
41915
  /* @__PURE__ */ c.jsx(Zq, { basename: e, metaData: n.metaData, userId: l }),
41910
- iu(
41916
+ au(
41911
41917
  /* @__PURE__ */ c.jsx(CZ, { id: "toast-message", className: "connectorAdmin-portal", "data-color-scheme": s.mode, children: /* @__PURE__ */ c.jsx(
41912
41918
  tm,
41913
41919
  {