@hiver/connector-agent 4.3.0 → 4.3.1-hotfixLazyLoading-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.es.js +136 -136
  2. package/index.umd.js +18 -18
  3. package/package.json +1 -1
package/index.es.js CHANGED
@@ -143,7 +143,7 @@ function Bh() {
143
143
  }
144
144
  return null;
145
145
  }
146
- var H = Object.assign, Z = 0, $, te, Y, X, le, de, P;
146
+ var G = Object.assign, Z = 0, $, te, Y, X, le, de, P;
147
147
  function V() {
148
148
  }
149
149
  V.__reactDisabledLog = !0;
@@ -179,25 +179,25 @@ function Bh() {
179
179
  writable: !0
180
180
  };
181
181
  Object.defineProperties(console, {
182
- log: H({}, _, {
182
+ log: G({}, _, {
183
183
  value: $
184
184
  }),
185
- info: H({}, _, {
185
+ info: G({}, _, {
186
186
  value: te
187
187
  }),
188
- warn: H({}, _, {
188
+ warn: G({}, _, {
189
189
  value: Y
190
190
  }),
191
- error: H({}, _, {
191
+ error: G({}, _, {
192
192
  value: X
193
193
  }),
194
- group: H({}, _, {
194
+ group: G({}, _, {
195
195
  value: le
196
196
  }),
197
- groupCollapsed: H({}, _, {
197
+ groupCollapsed: G({}, _, {
198
198
  value: de
199
199
  }),
200
- groupEnd: H({}, _, {
200
+ groupEnd: G({}, _, {
201
201
  value: P
202
202
  })
203
203
  });
@@ -224,7 +224,7 @@ function Bh() {
224
224
  var xe = typeof WeakMap == "function" ? WeakMap : Map;
225
225
  re = new xe();
226
226
  }
227
- function G(_, j) {
227
+ function H(_, j) {
228
228
  if (!_ || k)
229
229
  return "";
230
230
  {
@@ -296,7 +296,7 @@ function Bh() {
296
296
  return typeof _ == "function" && re.set(_, Qn), Qn;
297
297
  }
298
298
  function He(_, j, Q) {
299
- return G(_, !1);
299
+ return H(_, !1);
300
300
  }
301
301
  function Ve(_) {
302
302
  var j = _.prototype;
@@ -306,7 +306,7 @@ function Bh() {
306
306
  if (_ == null)
307
307
  return "";
308
308
  if (typeof _ == "function")
309
- return G(_, Ve(_));
309
+ return H(_, Ve(_));
310
310
  if (typeof _ == "string")
311
311
  return ie(_);
312
312
  switch (_) {
@@ -724,7 +724,7 @@ function Gh(e) {
724
724
  f = A == null ? [] : f.filter((T) => T !== A), C();
725
725
  }, w = (A) => {
726
726
  const { toastId: T, onOpen: L, updateId: O, children: R } = A.props, M = O == null;
727
- A.staleId && m.delete(A.staleId), m.set(T, A), f = [...f, A.props.toastId].filter((H) => H !== A.staleId), C(), g(cl(A, M ? "added" : "updated")), M && Dt(L) && L(Or(R) && R.props);
727
+ A.staleId && m.delete(A.staleId), m.set(T, A), f = [...f, A.props.toastId].filter((G) => G !== A.staleId), C(), g(cl(A, M ? "added" : "updated")), M && Dt(L) && L(Or(R) && R.props);
728
728
  };
729
729
  return { id: u, props: v, observe: (A) => (x.add(A), () => x.delete(A)), toggle: (A, T) => {
730
730
  m.forEach((L) => {
@@ -738,7 +738,7 @@ function Gh(e) {
738
738
  const K = V ? V !== u : u !== 1, ne = m.has(B) && W == null;
739
739
  return K || ne;
740
740
  })(T)) return;
741
- const { toastId: L, updateId: O, data: R, staleId: M, delay: H } = T, Z = () => {
741
+ const { toastId: L, updateId: O, data: R, staleId: M, delay: G } = T, Z = () => {
742
742
  E(L);
743
743
  }, $ = O == null;
744
744
  $ && b++;
@@ -754,9 +754,9 @@ function Gh(e) {
754
754
  let le = A;
755
755
  Or(A) && !fr(A.type) ? le = va(A, { closeToast: Z, toastProps: te, data: R }) : Dt(A) && (le = A({ closeToast: Z, toastProps: te, data: R }));
756
756
  const de = { content: le, props: te, staleId: M };
757
- v.limit && v.limit > 0 && b > v.limit && $ ? d.push(de) : Lo(H) ? setTimeout(() => {
757
+ v.limit && v.limit > 0 && b > v.limit && $ ? d.push(de) : Lo(G) ? setTimeout(() => {
758
758
  w(de);
759
- }, H) : w(de);
759
+ }, G) : w(de);
760
760
  }, setProps(A) {
761
761
  v = A;
762
762
  }, setToggle: (A, T) => {
@@ -915,18 +915,18 @@ const Uh = typeof window < "u" ? Kr : me, ai = (e) => {
915
915
  }, spinner: function() {
916
916
  return Ae.createElement("div", { className: "Toastify__spinner" });
917
917
  } }, zh = (e) => {
918
- const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = Hh(e), { closeButton: s, children: l, autoClose: c, onClick: a, type: u, hideProgressBar: h, closeToast: g, transition: I, position: b, className: d, style: f, bodyClassName: p, bodyStyle: v, progressClassName: m, progressStyle: x, updateId: C, role: E, progress: w, rtl: A, toastId: T, deleteToast: L, isIn: O, isLoading: R, closeOnClick: M, theme: H } = e, Z = Vn("Toastify__toast", `Toastify__toast-theme--${H}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": A }, { "Toastify__toast--close-on-click": M }), $ = Dt(d) ? d({ rtl: A, position: b, type: u, defaultClassName: Z }) : Vn(Z, d), te = function(de) {
918
+ const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = Hh(e), { closeButton: s, children: l, autoClose: c, onClick: a, type: u, hideProgressBar: h, closeToast: g, transition: I, position: b, className: d, style: f, bodyClassName: p, bodyStyle: v, progressClassName: m, progressStyle: x, updateId: C, role: E, progress: w, rtl: A, toastId: T, deleteToast: L, isIn: O, isLoading: R, closeOnClick: M, theme: G } = e, Z = Vn("Toastify__toast", `Toastify__toast-theme--${G}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": A }, { "Toastify__toast--close-on-click": M }), $ = Dt(d) ? d({ rtl: A, position: b, type: u, defaultClassName: Z }) : Vn(Z, d), te = function(de) {
919
919
  let { theme: P, type: V, isLoading: B, icon: W } = de, K = null;
920
920
  const ne = { theme: P, type: V };
921
921
  return W === !1 || (Dt(W) ? K = W({ ...ne, isLoading: B }) : Or(W) ? K = va(W, ne) : B ? K = Hs.spinner() : ((ie) => ie in Hs)(V) && (K = Hs[V](ne))), K;
922
- }(e), Y = !!w || !c, X = { closeToast: g, type: u, theme: H };
922
+ }(e), Y = !!w || !c, X = { closeToast: g, type: u, theme: G };
923
923
  let le = null;
924
924
  return s === !1 || (le = Dt(s) ? s(X) : Or(s) ? va(s, X) : function(de) {
925
925
  let { closeToast: P, theme: V, ariaLabel: B = "close" } = de;
926
926
  return Ae.createElement("button", { className: `Toastify__close-button Toastify__close-button--${V}`, type: "button", onClick: (W) => {
927
927
  W.stopPropagation(), P(W);
928
928
  }, "aria-label": B }, Ae.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ae.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" })));
929
- }(X)), Ae.createElement(I, { isIn: O, done: L, position: b, preventExitTransition: n, nodeRef: r, playToast: i }, Ae.createElement("div", { id: T, onClick: a, "data-in": O, className: $, ...o, style: f, ref: r }, Ae.createElement("div", { ...O && { role: E }, className: Dt(p) ? p({ type: u }) : Vn("Toastify__toast-body", p), style: v }, te != null && Ae.createElement("div", { className: Vn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !R }) }, te), Ae.createElement("div", null, l)), le, Ae.createElement(Wh, { ...C && !Y ? { key: `pb-${C}` } : {}, rtl: A, theme: H, delay: c, isRunning: t, isIn: O, closeToast: g, hide: h, type: u, style: x, className: m, controlledProgress: Y, progress: w || 0 })));
929
+ }(X)), Ae.createElement(I, { isIn: O, done: L, position: b, preventExitTransition: n, nodeRef: r, playToast: i }, Ae.createElement("div", { id: T, onClick: a, "data-in": O, className: $, ...o, style: f, ref: r }, Ae.createElement("div", { ...O && { role: E }, className: Dt(p) ? p({ type: u }) : Vn("Toastify__toast-body", p), style: v }, te != null && Ae.createElement("div", { className: Vn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !R }) }, te), Ae.createElement("div", null, l)), le, Ae.createElement(Wh, { ...C && !Y ? { key: `pb-${C}` } : {}, rtl: A, theme: G, delay: c, isRunning: t, isIn: O, closeToast: g, hide: h, type: u, style: x, className: m, controlledProgress: Y, progress: w || 0 })));
930
930
  }, ds = function(e, t) {
931
931
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
932
932
  }, $h = us(ds("bounce", !0));
@@ -3807,7 +3807,7 @@ function cf() {
3807
3807
  });
3808
3808
  }, h = function(b, d, f, p, v, m, x, C, E) {
3809
3809
  return C === void 0 && (C = "default"), e(void 0, void 0, void 0, function() {
3810
- var w, A, T, L, O, R, M, H, Z, $, te, Y, X, le;
3810
+ var w, A, T, L, O, R, M, G, Z, $, te, Y, X, le;
3811
3811
  return t(this, function(de) {
3812
3812
  switch (de.label) {
3813
3813
  case 0:
@@ -3819,7 +3819,7 @@ function cf() {
3819
3819
  case 3:
3820
3820
  return de.sent(), [3, 11];
3821
3821
  case 4:
3822
- return ((te = R.response) === null || te === void 0 ? void 0 : te.status) === 409 || ((Y = R.request) === null || Y === void 0 ? void 0 : Y.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), H = { retryDelay: b, configs: p, apiParams: v, appUI: E }, [4, u(d, f, H, m, x)]) : [3, 6];
3822
+ return ((te = R.response) === null || te === void 0 ? void 0 : te.status) === 409 || ((Y = R.request) === null || Y === void 0 ? void 0 : Y.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), G = { retryDelay: b, configs: p, apiParams: v, appUI: E }, [4, u(d, f, G, m, x)]) : [3, 6];
3823
3823
  case 5:
3824
3824
  if (de.sent(), f >= r.MAX_CONFLICT_RETRY_DELAY)
3825
3825
  throw R;
@@ -4669,7 +4669,7 @@ function ff() {
4669
4669
  });
4670
4670
  }, u = function(I, b, d, f, p, v, m) {
4671
4671
  return v === void 0 && (v = "default"), e(void 0, void 0, void 0, function() {
4672
- var x, C, E, w, A, T, L, O, R, M, H, Z, $, te;
4672
+ var x, C, E, w, A, T, L, O, R, M, G, Z, $, te;
4673
4673
  return t(this, function(Y) {
4674
4674
  switch (Y.label) {
4675
4675
  case 0:
@@ -4681,7 +4681,7 @@ function ff() {
4681
4681
  case 3:
4682
4682
  return Y.sent(), [3, 11];
4683
4683
  case 4:
4684
- return ((H = T.response) === null || H === void 0 ? void 0 : H.status) === 409 || ((Z = T.request) === null || Z === void 0 ? void 0 : Z.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), O = { retryDelay: I, configs: f, api_params: p, appUI: m }, [4, a(b, d, O)]) : [3, 6];
4684
+ return ((G = T.response) === null || G === void 0 ? void 0 : G.status) === 409 || ((Z = T.request) === null || Z === void 0 ? void 0 : Z.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), O = { retryDelay: I, configs: f, api_params: p, appUI: m }, [4, a(b, d, O)]) : [3, 6];
4685
4685
  case 5:
4686
4686
  if (Y.sent(), d >= r.MAX_CONFLICT_RETRY_DELAY)
4687
4687
  throw T;
@@ -6091,8 +6091,8 @@ function Sv() {
6091
6091
  }
6092
6092
  return E = R, R;
6093
6093
  }
6094
- var H = C, Z = E;
6095
- if (n(H, O))
6094
+ var G = C, Z = E;
6095
+ if (n(G, O))
6096
6096
  return Z;
6097
6097
  var $ = g(O);
6098
6098
  return I !== void 0 && I(Z, $) ? Z : (C = O, E = $, $);
@@ -8246,7 +8246,7 @@ function Hc(e) {
8246
8246
  typeof u == "function" && (le = u(Y, X)), v(le !== void 0 ? le : Y);
8247
8247
  }, [u]), M = _e(function() {
8248
8248
  typeof g == "function" && g(), E(!0);
8249
- }, [g]), H = _e(function() {
8249
+ }, [g]), G = _e(function() {
8250
8250
  typeof h == "function" && h(), E(!1);
8251
8251
  }, [h]), Z = l !== void 0 ? l : p, $ = c !== void 0 ? c : C, te = I !== void 0 ? I : T;
8252
8252
  return oe(oe({}, b), {}, {
@@ -8254,7 +8254,7 @@ function Hc(e) {
8254
8254
  menuIsOpen: $,
8255
8255
  onChange: O,
8256
8256
  onInputChange: R,
8257
- onMenuClose: H,
8257
+ onMenuClose: G,
8258
8258
  onMenuOpen: M,
8259
8259
  value: te
8260
8260
  });
@@ -8993,16 +8993,16 @@ var pu;
8993
8993
  function DC() {
8994
8994
  return pu || (pu = 1, process.env.NODE_ENV !== "production" && function() {
8995
8995
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, p = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
8996
- function m(G) {
8997
- return typeof G == "string" || typeof G == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
8998
- G === r || G === a || G === i || G === o || G === h || G === g || typeof G == "object" && G !== null && (G.$$typeof === b || G.$$typeof === I || G.$$typeof === s || G.$$typeof === l || G.$$typeof === u || G.$$typeof === f || G.$$typeof === p || G.$$typeof === v || G.$$typeof === d);
8996
+ function m(H) {
8997
+ return typeof H == "string" || typeof H == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
8998
+ H === r || H === a || H === i || H === o || H === h || H === g || typeof H == "object" && H !== null && (H.$$typeof === b || H.$$typeof === I || H.$$typeof === s || H.$$typeof === l || H.$$typeof === u || H.$$typeof === f || H.$$typeof === p || H.$$typeof === v || H.$$typeof === d);
8999
8999
  }
9000
- function x(G) {
9001
- if (typeof G == "object" && G !== null) {
9002
- var He = G.$$typeof;
9000
+ function x(H) {
9001
+ if (typeof H == "object" && H !== null) {
9002
+ var He = H.$$typeof;
9003
9003
  switch (He) {
9004
9004
  case t:
9005
- var Ve = G.type;
9005
+ var Ve = H.type;
9006
9006
  switch (Ve) {
9007
9007
  case c:
9008
9008
  case a:
@@ -9029,47 +9029,47 @@ function DC() {
9029
9029
  }
9030
9030
  }
9031
9031
  }
9032
- var C = c, E = a, w = l, A = s, T = t, L = u, O = r, R = b, M = I, H = n, Z = i, $ = o, te = h, Y = !1;
9033
- function X(G) {
9034
- return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), le(G) || x(G) === c;
9032
+ var C = c, E = a, w = l, A = s, T = t, L = u, O = r, R = b, M = I, G = n, Z = i, $ = o, te = h, Y = !1;
9033
+ function X(H) {
9034
+ return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), le(H) || x(H) === c;
9035
9035
  }
9036
- function le(G) {
9037
- return x(G) === a;
9036
+ function le(H) {
9037
+ return x(H) === a;
9038
9038
  }
9039
- function de(G) {
9040
- return x(G) === l;
9039
+ function de(H) {
9040
+ return x(H) === l;
9041
9041
  }
9042
- function P(G) {
9043
- return x(G) === s;
9042
+ function P(H) {
9043
+ return x(H) === s;
9044
9044
  }
9045
- function V(G) {
9046
- return typeof G == "object" && G !== null && G.$$typeof === t;
9045
+ function V(H) {
9046
+ return typeof H == "object" && H !== null && H.$$typeof === t;
9047
9047
  }
9048
- function B(G) {
9049
- return x(G) === u;
9048
+ function B(H) {
9049
+ return x(H) === u;
9050
9050
  }
9051
- function W(G) {
9052
- return x(G) === r;
9051
+ function W(H) {
9052
+ return x(H) === r;
9053
9053
  }
9054
- function K(G) {
9055
- return x(G) === b;
9054
+ function K(H) {
9055
+ return x(H) === b;
9056
9056
  }
9057
- function ne(G) {
9058
- return x(G) === I;
9057
+ function ne(H) {
9058
+ return x(H) === I;
9059
9059
  }
9060
- function ie(G) {
9061
- return x(G) === n;
9060
+ function ie(H) {
9061
+ return x(H) === n;
9062
9062
  }
9063
- function k(G) {
9064
- return x(G) === i;
9063
+ function k(H) {
9064
+ return x(H) === i;
9065
9065
  }
9066
- function re(G) {
9067
- return x(G) === o;
9066
+ function re(H) {
9067
+ return x(H) === o;
9068
9068
  }
9069
- function xe(G) {
9070
- return x(G) === h;
9069
+ function xe(H) {
9070
+ return x(H) === h;
9071
9071
  }
9072
- Ne.AsyncMode = C, Ne.ConcurrentMode = E, Ne.ContextConsumer = w, Ne.ContextProvider = A, Ne.Element = T, Ne.ForwardRef = L, Ne.Fragment = O, Ne.Lazy = R, Ne.Memo = M, Ne.Portal = H, Ne.Profiler = Z, Ne.StrictMode = $, Ne.Suspense = te, Ne.isAsyncMode = X, Ne.isConcurrentMode = le, Ne.isContextConsumer = de, Ne.isContextProvider = P, Ne.isElement = V, Ne.isForwardRef = B, Ne.isFragment = W, Ne.isLazy = K, Ne.isMemo = ne, Ne.isPortal = ie, Ne.isProfiler = k, Ne.isStrictMode = re, Ne.isSuspense = xe, Ne.isValidElementType = m, Ne.typeOf = x;
9072
+ Ne.AsyncMode = C, Ne.ConcurrentMode = E, Ne.ContextConsumer = w, Ne.ContextProvider = A, Ne.Element = T, Ne.ForwardRef = L, Ne.Fragment = O, Ne.Lazy = R, Ne.Memo = M, Ne.Portal = G, Ne.Profiler = Z, Ne.StrictMode = $, Ne.Suspense = te, Ne.isAsyncMode = X, Ne.isConcurrentMode = le, Ne.isContextConsumer = de, Ne.isContextProvider = P, Ne.isElement = V, Ne.isForwardRef = B, Ne.isFragment = W, Ne.isLazy = K, Ne.isMemo = ne, Ne.isPortal = ie, Ne.isProfiler = k, Ne.isStrictMode = re, Ne.isSuspense = xe, Ne.isValidElementType = m, Ne.typeOf = x;
9073
9073
  }()), Ne;
9074
9074
  }
9075
9075
  process.env.NODE_ENV === "production" ? qa.exports = FC() : qa.exports = DC();
@@ -9789,10 +9789,10 @@ function NI(e) {
9789
9789
  };
9790
9790
  }
9791
9791
  if (o === "auto" || s) {
9792
- var H = t, Z = s ? E : A;
9793
- return Z >= r && (H = Math.min(Z - x - l, t)), {
9792
+ var G = t, Z = s ? E : A;
9793
+ return Z >= r && (G = Math.min(Z - x - l, t)), {
9794
9794
  placement: "top",
9795
- maxHeight: H
9795
+ maxHeight: G
9796
9796
  };
9797
9797
  }
9798
9798
  if (o === "bottom")
@@ -10600,7 +10600,7 @@ var J5 = process.env.NODE_ENV === "production" ? {
10600
10600
  });
10601
10601
  }
10602
10602
  return Z;
10603
- }, [E, r, o, b, d, f, p, A, l, x, R]), H = ae(ya, null, ae("span", {
10603
+ }, [E, r, o, b, d, f, p, A, l, x, R]), G = ae(ya, null, ae("span", {
10604
10604
  id: "aria-selection"
10605
10605
  }, T), ae("span", {
10606
10606
  id: "aria-focused"
@@ -10611,12 +10611,12 @@ var J5 = process.env.NODE_ENV === "production" ? {
10611
10611
  }, M));
10612
10612
  return ae(ya, null, ae(wu, {
10613
10613
  id: a
10614
- }, R && H), ae(wu, {
10614
+ }, R && G), ae(wu, {
10615
10615
  "aria-live": w,
10616
10616
  "aria-atomic": "false",
10617
10617
  "aria-relevant": "additions text",
10618
10618
  role: "log"
10619
- }, s && !R && H));
10619
+ }, s && !R && G));
10620
10620
  }, ex = K5, nc = [{
10621
10621
  base: "A",
10622
10622
  letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
@@ -11991,18 +11991,18 @@ var ep = function(t) {
11991
11991
  }, {
11992
11992
  key: "renderMenu",
11993
11993
  value: function() {
11994
- var o = this, i = this.getComponents(), s = i.Group, l = i.GroupHeading, c = i.Menu, a = i.MenuList, u = i.MenuPortal, h = i.LoadingMessage, g = i.NoOptionsMessage, I = i.Option, b = this.commonProps, d = this.state.focusedOption, f = this.props, p = f.captureMenuScroll, v = f.inputValue, m = f.isLoading, x = f.loadingMessage, C = f.minMenuHeight, E = f.maxMenuHeight, w = f.menuIsOpen, A = f.menuPlacement, T = f.menuPosition, L = f.menuPortalTarget, O = f.menuShouldBlockScroll, R = f.menuShouldScrollIntoView, M = f.noOptionsMessage, H = f.onMenuScrollToTop, Z = f.onMenuScrollToBottom;
11994
+ var o = this, i = this.getComponents(), s = i.Group, l = i.GroupHeading, c = i.Menu, a = i.MenuList, u = i.MenuPortal, h = i.LoadingMessage, g = i.NoOptionsMessage, I = i.Option, b = this.commonProps, d = this.state.focusedOption, f = this.props, p = f.captureMenuScroll, v = f.inputValue, m = f.isLoading, x = f.loadingMessage, C = f.minMenuHeight, E = f.maxMenuHeight, w = f.menuIsOpen, A = f.menuPlacement, T = f.menuPosition, L = f.menuPortalTarget, O = f.menuShouldBlockScroll, R = f.menuShouldScrollIntoView, M = f.noOptionsMessage, G = f.onMenuScrollToTop, Z = f.onMenuScrollToBottom;
11995
11995
  if (!w) return null;
11996
11996
  var $ = function(V, B) {
11997
- var W = V.type, K = V.data, ne = V.isDisabled, ie = V.isSelected, k = V.label, re = V.value, xe = d === K, G = ne ? void 0 : function() {
11997
+ var W = V.type, K = V.data, ne = V.isDisabled, ie = V.isSelected, k = V.label, re = V.value, xe = d === K, H = ne ? void 0 : function() {
11998
11998
  return o.onOptionHover(K);
11999
11999
  }, He = ne ? void 0 : function() {
12000
12000
  return o.selectOption(K);
12001
12001
  }, Ve = "".concat(o.getElementId("option"), "-").concat(B), tt = {
12002
12002
  id: Ve,
12003
12003
  onClick: He,
12004
- onMouseMove: G,
12005
- onMouseOver: G,
12004
+ onMouseMove: H,
12005
+ onMouseOver: H,
12006
12006
  tabIndex: -1,
12007
12007
  role: "option",
12008
12008
  "aria-selected": o.isAppleDevice ? void 0 : ie
@@ -12072,7 +12072,7 @@ var ep = function(t) {
12072
12072
  placement: W
12073
12073
  }), /* @__PURE__ */ F.createElement(px, {
12074
12074
  captureEnabled: p,
12075
- onTopArrive: H,
12075
+ onTopArrive: G,
12076
12076
  onBottomArrive: Z,
12077
12077
  lockEnabled: O
12078
12078
  }, function(ne) {
@@ -12382,7 +12382,7 @@ var sp = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(sp || {}), Zx = ["d
12382
12382
  function ap(e) {
12383
12383
  var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, i = e.loadOptions;
12384
12384
  e.options;
12385
- var s = e.isLoading, l = s === void 0 ? !1 : s, c = e.onInputChange, a = e.filterOption, u = a === void 0 ? null : a, h = nn(e, Zx), g = h.inputValue, I = ye(void 0), b = ye(!1), d = J(Array.isArray(n) ? n : void 0), f = it(d, 2), p = f[0], v = f[1], m = J(typeof g < "u" ? g : ""), x = it(m, 2), C = x[0], E = x[1], w = J(n === !0), A = it(w, 2), T = A[0], L = A[1], O = J(void 0), R = it(O, 2), M = R[0], H = R[1], Z = J([]), $ = it(Z, 2), te = $[0], Y = $[1], X = J(!1), le = it(X, 2), de = le[0], P = le[1], V = J({}), B = it(V, 2), W = B[0], K = B[1], ne = J(void 0), ie = it(ne, 2), k = ie[0], re = ie[1], xe = J(void 0), G = it(xe, 2), He = G[0], Ve = G[1];
12385
+ var s = e.isLoading, l = s === void 0 ? !1 : s, c = e.onInputChange, a = e.filterOption, u = a === void 0 ? null : a, h = nn(e, Zx), g = h.inputValue, I = ye(void 0), b = ye(!1), d = J(Array.isArray(n) ? n : void 0), f = it(d, 2), p = f[0], v = f[1], m = J(typeof g < "u" ? g : ""), x = it(m, 2), C = x[0], E = x[1], w = J(n === !0), A = it(w, 2), T = A[0], L = A[1], O = J(void 0), R = it(O, 2), M = R[0], G = R[1], Z = J([]), $ = it(Z, 2), te = $[0], Y = $[1], X = J(!1), le = it(X, 2), de = le[0], P = le[1], V = J({}), B = it(V, 2), W = B[0], K = B[1], ne = J(void 0), ie = it(ne, 2), k = ie[0], re = ie[1], xe = J(void 0), H = it(xe, 2), He = H[0], Ve = H[1];
12386
12386
  o !== He && (K({}), Ve(o)), n !== k && (v(Array.isArray(n) ? n : void 0), re(n)), me(function() {
12387
12387
  return b.current = !0, function() {
12388
12388
  b.current = !1;
@@ -12403,15 +12403,15 @@ function ap(e) {
12403
12403
  var nt = _e(function(Ct, lt) {
12404
12404
  var Qe = II(Ct, lt, c);
12405
12405
  if (!Qe) {
12406
- I.current = void 0, E(""), H(""), Y([]), L(!1), P(!1);
12406
+ I.current = void 0, E(""), G(""), Y([]), L(!1), P(!1);
12407
12407
  return;
12408
12408
  }
12409
12409
  if (o && W[Qe])
12410
- E(Qe), H(Qe), Y(W[Qe]), L(!1), P(!1);
12410
+ E(Qe), G(Qe), Y(W[Qe]), L(!1), P(!1);
12411
12411
  else {
12412
12412
  var _n = I.current = {};
12413
12413
  E(Qe), L(!0), P(!M), tt(Qe, function(Vt) {
12414
- b && _n === I.current && (I.current = void 0, L(!1), H(Qe), Y(Vt || []), P(!1), K(Vt ? oe(oe({}, W), {}, Sr({}, Qe, Vt)) : W));
12414
+ b && _n === I.current && (I.current = void 0, L(!1), G(Qe), Y(Vt || []), P(!1), K(Vt ? oe(oe({}, W), {}, Sr({}, Qe, Vt)) : W));
12415
12415
  });
12416
12416
  }
12417
12417
  }, [o, tt, M, W, c]), hn = de ? [] : C && M ? te : p || [];
@@ -12460,8 +12460,8 @@ function $x(e) {
12460
12460
  }, [n, o, C, T, I]), O = _e(function(R, M) {
12461
12461
  if (M.action !== "select-option")
12462
12462
  return b(R, M);
12463
- var H = Array.isArray(R) ? R : [R];
12464
- if (H[H.length - 1] === T) {
12463
+ var G = Array.isArray(R) ? R : [R];
12464
+ if (G[G.length - 1] === T) {
12465
12465
  if (h) h(x);
12466
12466
  else {
12467
12467
  var Z = u(x, x), $ = {
@@ -12517,17 +12517,17 @@ function tE({ stackIndex: e, isScrollTarget: t, ...n }) {
12517
12517
  isApiSearchEnabled: I = !1,
12518
12518
  isInfiniteScrollable: b = !1,
12519
12519
  loadOptionsOnFocus: d = !1
12520
- } = n, { getValue: f, closeMenuOnScroll: p } = op({ options: r, isMulti: u, isScrollTarget: t }), v = (R, M, H) => (a.current && a.current.abort("stale data"), a.current = new AbortController(), g == null ? void 0 : g(R, M, H, a.current)), m = qx(
12520
+ } = n, { getValue: f, closeMenuOnScroll: p } = op({ options: r, isMulti: u, isScrollTarget: t }), v = (R, M, G) => (a.current && a.current.abort("stale data"), a.current = new AbortController(), g == null ? void 0 : g(R, M, G, a.current)), m = qx(
12521
12521
  (R, M) => {
12522
12522
  if (s(R), r.length > 0 && !I) {
12523
12523
  const Z = r.filter(($) => $ && typeof $ == "object" && "label" in $ && typeof $.label == "string" ? $.label.toLowerCase().includes(R.toLowerCase()) : !1);
12524
12524
  M(Z);
12525
12525
  return;
12526
12526
  }
12527
- const H = (Z) => {
12527
+ const G = (Z) => {
12528
12528
  M(Z), o(Z);
12529
12529
  };
12530
- v == null || v(R, H, !1);
12530
+ v == null || v(R, G, !1);
12531
12531
  },
12532
12532
  300
12533
12533
  ), x = (R, M) => {
@@ -12536,8 +12536,8 @@ function tE({ stackIndex: e, isScrollTarget: t, ...n }) {
12536
12536
  var M;
12537
12537
  (M = n.onMenuScrollToBottom) == null || M.call(n, R), b && g && !l && (c(!0), v(i, x, !0));
12538
12538
  }, E = (R, M) => {
12539
- var H;
12540
- (H = n.onInputChange) == null || H.call(n, R, M), M.action === "input-change" && I && (s(R), o([]), R || (c(!0), m(R, x)));
12539
+ var G;
12540
+ (G = n.onInputChange) == null || G.call(n, R, M), M.action === "input-change" && I && (s(R), o([]), R || (c(!0), m(R, x)));
12541
12541
  }, w = (R) => {
12542
12542
  var M;
12543
12543
  s(""), (M = n.onBlur) == null || M.call(n, R);
@@ -12546,11 +12546,11 @@ function tE({ stackIndex: e, isScrollTarget: t, ...n }) {
12546
12546
  (M = n.onFocus) == null || M.call(n, R), !l && d && (o([]), c(!0), v == null || v(i, x, !1));
12547
12547
  }, T = (R) => (M) => {
12548
12548
  var Z;
12549
- const H = M.find(($) => $.label === R);
12550
- !n.isMulti && H && ((Z = n.onChange) == null || Z.call(n, H, {
12549
+ const G = M.find(($) => $.label === R);
12550
+ !n.isMulti && G && ((Z = n.onChange) == null || Z.call(n, G, {
12551
12551
  action: "select-option",
12552
12552
  name: n.name,
12553
- option: H
12553
+ option: G
12554
12554
  })), o(M), c(!1);
12555
12555
  }, L = (R) => {
12556
12556
  c(!0), h == null || h(R, T(R));
@@ -12847,7 +12847,7 @@ const fE = N(Oh)`
12847
12847
  }, M = (P, { columnNames: V = [], operationType: B }) => {
12848
12848
  const W = V.map((K) => P[K]);
12849
12849
  return "" + iu(W, B);
12850
- }, H = (P, V) => {
12850
+ }, G = (P, V) => {
12851
12851
  const B = d.map((W) => P !== W[nr] ? W : {
12852
12852
  ...W,
12853
12853
  ...V
@@ -12874,9 +12874,9 @@ const fE = N(Oh)`
12874
12874
  const re = M(ne, T[k]);
12875
12875
  ne[k] = re;
12876
12876
  }
12877
- H(P, ne);
12877
+ G(P, ne);
12878
12878
  }, te = (P, V, B) => {
12879
- H(P, { [V]: B });
12879
+ G(P, { [V]: B });
12880
12880
  }, Y = (P, V, B, W) => {
12881
12881
  if (B && typeof B == "object" && "value" in B && typeof B.value == "string" && typeof W.name < "u") {
12882
12882
  const K = "prefillValues" in B && B.prefillValues, ne = {
@@ -12890,11 +12890,11 @@ const fE = N(Oh)`
12890
12890
  const re = M(ne, T[k]);
12891
12891
  ne[k] = re;
12892
12892
  }
12893
- H(P, ne);
12893
+ G(P, ne);
12894
12894
  }
12895
12895
  (W == null ? void 0 : W.action) === "clear" && W.name && Z(P, [W.name]);
12896
12896
  }, X = (P, V, B) => {
12897
- H(P, { [V]: (B == null ? void 0 : B.toISOString()) ?? "" });
12897
+ G(P, { [V]: (B == null ? void 0 : B.toISOString()) ?? "" });
12898
12898
  }, le = (P, V, B, W) => {
12899
12899
  W && x((K) => {
12900
12900
  const ne = K[P] ?? {};
@@ -13227,7 +13227,7 @@ const gE = N(be)`
13227
13227
  showGlobalLoader: w = !1,
13228
13228
  hideHelperText: A = !1,
13229
13229
  meta: { isExpandable: T = v === "table", isExpanded: L = !0 } = {}
13230
- } = g, [O, R] = J(!1), [M, H] = J(""), [Z, $] = J(L);
13230
+ } = g, [O, R] = J(!1), [M, G] = J(""), [Z, $] = J(L);
13231
13231
  me(() => {
13232
13232
  O || Y(g.value, !1);
13233
13233
  }, [O, g.value]);
@@ -13236,17 +13236,17 @@ const gE = N(be)`
13236
13236
  k && !O && R(!0), (re = g.onFocus) == null || re.call(g, k);
13237
13237
  };
13238
13238
  function Y(k, re = !0, xe) {
13239
- let G = "";
13240
- if ((I != null && I.isRequired || C) && (G = k ? "" : Pu, !k && typeof (I == null ? void 0 : I.isRequired) == "function")) {
13239
+ let H = "";
13240
+ if ((I != null && I.isRequired || C) && (H = k ? "" : Pu, !k && typeof (I == null ? void 0 : I.isRequired) == "function")) {
13241
13241
  const Ve = I.isRequired(k);
13242
- Ve && typeof Ve == "boolean" ? G = Pu : Ve && (G = Ve);
13242
+ Ve && typeof Ve == "boolean" ? H = Pu : Ve && (H = Ve);
13243
13243
  }
13244
13244
  let He = { id: d, name: p, label: f };
13245
- if (g.type === "date" ? He = { ...He, disableFuture: g.disableFuture, disablePast: g.disablePast } : g.type === "number" ? He = { ...He, min: g.min, max: g.max } : g.type === "text" && g.multiline && (He = { ...He, maxCharacters: g.maxCharacters }), k && !G && (I != null && I.validate)) {
13245
+ if (g.type === "date" ? He = { ...He, disableFuture: g.disableFuture, disablePast: g.disablePast } : g.type === "number" ? He = { ...He, min: g.min, max: g.max } : g.type === "text" && g.multiline && (He = { ...He, maxCharacters: g.maxCharacters }), k && !H && (I != null && I.validate)) {
13246
13246
  const Ve = I.validate(k, { ...He, ...xe });
13247
- typeof Ve == "boolean" && Ve === !1 ? G = Wx : typeof Ve == "string" && (G = Ve);
13247
+ typeof Ve == "boolean" && Ve === !1 ? H = Wx : typeof Ve == "string" && (H = Ve);
13248
13248
  }
13249
- re && H(G), s == null || s(p, G, re);
13249
+ re && G(H), s == null || s(p, H, re);
13250
13250
  }
13251
13251
  const X = (k) => {
13252
13252
  var re;
@@ -13262,7 +13262,7 @@ const gE = N(be)`
13262
13262
  }, W = (k) => {
13263
13263
  u == null || u(p, k);
13264
13264
  }, K = (k, re) => {
13265
- O && (s == null || s(k, re), H(typeof re == "string" ? re : ""));
13265
+ O && (s == null || s(k, re), G(typeof re == "string" ? re : ""));
13266
13266
  }, ne = (k) => {
13267
13267
  $((re) => !re);
13268
13268
  }, ie = (k) => {
@@ -13710,10 +13710,10 @@ const gE = N(be)`
13710
13710
  hasMore: !1
13711
13711
  };
13712
13712
  }
13713
- const H = L.data.data.map((Y) => b ? {
13713
+ const G = L.data.data.map((Y) => b ? {
13714
13714
  ...Y,
13715
13715
  avatarUrl: Y.avatarUrl || x3
13716
- } : (delete Y.avatarUrl, Y)), Z = [...p, ...H], $ = x ? Z.length <= E : !1, te = c0(Z, (Y) => Y.value);
13716
+ } : (delete Y.avatarUrl, Y)), Z = [...p, ...G], $ = x ? G.length === E : !1, te = c0(Z, (Y) => Y.value);
13717
13717
  return l == null || l(te), {
13718
13718
  optionsList: te,
13719
13719
  fieldName: r,
@@ -14204,8 +14204,8 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14204
14204
  }
14205
14205
  }, [t, r]);
14206
14206
  const M = o == Ba.NOT_FOUND;
14207
- let H = M ? Ei : t;
14208
- s === "date" && H && !M && (H = new Date(parseInt(H)).toLocaleDateString(navigator.language));
14207
+ let G = M ? Ei : t;
14208
+ s === "date" && G && !M && (G = new Date(parseInt(G)).toLocaleDateString(navigator.language));
14209
14209
  const Z = !!n || c, $ = () => {
14210
14210
  l ? E == null || E.redirectToAdmin() : window.open(db, "_blank");
14211
14211
  }, te = () => {
@@ -14223,7 +14223,7 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14223
14223
  return i ? /* @__PURE__ */ y.jsx(Gn, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : Z ? /* @__PURE__ */ y.jsxs(Nf, { gap: "7px", children: [
14224
14224
  d ? /* @__PURE__ */ y.jsx(z, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ y.jsx("img", { src: T4, width: "18px", height: "18px" }) }) : null,
14225
14225
  /* @__PURE__ */ y.jsx(kf, { variant: "body2", children: O ? Y(O) : Ml })
14226
- ] }) : /* @__PURE__ */ y.jsx(We, { title: T ? H : null, placement: "bottom", children: r ? /* @__PURE__ */ y.jsx(
14226
+ ] }) : /* @__PURE__ */ y.jsx(We, { title: T ? G : null, placement: "bottom", children: r ? /* @__PURE__ */ y.jsx(
14227
14227
  Pf,
14228
14228
  {
14229
14229
  ref: p,
@@ -14232,9 +14232,9 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14232
14232
  href: r,
14233
14233
  fontSize: "13px",
14234
14234
  onClick: te,
14235
- children: H || Ei
14235
+ children: G || Ei
14236
14236
  }
14237
- ) : /* @__PURE__ */ y.jsx(rv, { ref: f, variant: "body2", children: H || Ei }) });
14237
+ ) : /* @__PURE__ */ y.jsx(rv, { ref: f, variant: "body2", children: G || Ei }) });
14238
14238
  }, yp = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_825_73646)'%3e%3cpath%20d='M19%206.41L17.59%205L12%2010.59L6.41%205L5%206.41L10.59%2012L5%2017.59L6.41%2019L12%2013.41L17.59%2019L19%2017.59L13.41%2012L19%206.41Z'%20fill='%236F7C90'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_825_73646'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", el = ({
14239
14239
  shown: e,
14240
14240
  setShown: t,
@@ -14265,11 +14265,11 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14265
14265
  const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, l = 24, c = (o == null ? void 0 : o[t]) === ee.IDLE, a = (o == null ? void 0 : o[t]) === ee.LOADING, u = (o == null ? void 0 : o[t]) === ee.FAILED, { cardType: h, data: g, cardErrorMessage: I, redirectToAdminTab: b, connectorNames: d } = (r == null ? void 0 : r[t]) || {}, f = h === "flat", [p, v] = J(!1), [m, x] = J(!1), [C, E] = J(!1), [w, A] = J(!1), T = ((P = g == null ? void 0 : g.listItems) == null ? void 0 : P.statusCode) !== 401, L = Me(() => {
14266
14266
  var W, K, ne, ie;
14267
14267
  return f && ((W = g == null ? void 0 : g.flatDisplay) != null && W.data) ? g.flatDisplay.data : !f && ((ie = (ne = (K = g == null ? void 0 : g.listItems) == null ? void 0 : K.fields) == null ? void 0 : ne[0]) != null && ie.data) ? g.listItems.fields[0].data : [];
14268
- }, [f, g]), O = Me(() => L == null ? void 0 : L.slice(0, 5), [L]), [R, M] = J([]), H = ye(null), [Z, $] = J(0), te = p ? -180 : 0, Y = f ? !1 : !!((V = g == null ? void 0 : g.listItems) != null && V.errorMessage), X = Y || u || I, le = c && !Y && i && (C || m);
14268
+ }, [f, g]), O = Me(() => L == null ? void 0 : L.slice(0, 5), [L]), [R, M] = J([]), G = ye(null), [Z, $] = J(0), te = p ? -180 : 0, Y = f ? !1 : !!((V = g == null ? void 0 : g.listItems) != null && V.errorMessage), X = Y || u || I, le = c && !Y && i && (C || m);
14269
14269
  Kr(() => {
14270
14270
  var W;
14271
- (W = H.current) != null && W.scrollHeight && $(H.current.scrollHeight + l);
14272
- }, [o == null ? void 0 : o[t], R, H]), me(() => {
14271
+ (W = G.current) != null && W.scrollHeight && $(G.current.scrollHeight + l);
14272
+ }, [o == null ? void 0 : o[t], R, G]), me(() => {
14273
14273
  var ie, k;
14274
14274
  const W = ((L == null ? void 0 : L.length) || 0) > 5, K = !f && (((k = (ie = g == null ? void 0 : g.listItems) == null ? void 0 : ie.fields) == null ? void 0 : k.length) || 0) > 1;
14275
14275
  E(W && !K), x(K);
@@ -14289,7 +14289,7 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14289
14289
  setShowModal: A
14290
14290
  }
14291
14291
  ) }),
14292
- /* @__PURE__ */ y.jsx(Kb, { className: i ? "" : "slideUp", height: Z, children: /* @__PURE__ */ y.jsx(z, { ref: H, gap: 1, margin: "12px", children: a && !(R != null && R.length) ? /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
14292
+ /* @__PURE__ */ y.jsx(Kb, { className: i ? "" : "slideUp", height: Z, children: /* @__PURE__ */ y.jsx(z, { ref: G, gap: 1, margin: "12px", children: a && !(R != null && R.length) ? /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
14293
14293
  /* @__PURE__ */ y.jsx(Gn, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
14294
14294
  /* @__PURE__ */ y.jsx(Gn, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
14295
14295
  ] }) : /* @__PURE__ */ y.jsx(y.Fragment, { children: X ? /* @__PURE__ */ y.jsx(be, { margin: "8px 0", children: /* @__PURE__ */ y.jsx(
@@ -14506,7 +14506,7 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14506
14506
  } = e, l = en(), { availableFeatures: c, sendTrackingEvent: a, conversationId: u, currentSmIds: h } = $e(Je), { userGroupId: g } = xn() || {}, [I, b] = J(!!i), [d, f] = J(!1), [p, v] = J(!1), [m, x] = J(!1), { id: C, title: E, externalResourceId: w = "", forms: A = [], logoUrl: T } = t;
14507
14507
  let L = C;
14508
14508
  w && (L = `${L}_${w}`);
14509
- const { data: O, cardType: R, cardErrorMessage: M, connectorNames: H } = (n == null ? void 0 : n[L]) ?? {}, Z = (H == null ? void 0 : H[0]) || "", $ = (o == null ? void 0 : o[L]) === ee.LOADING, te = (o == null ? void 0 : o[L]) === ee.FAILED, Y = !!(ft(c, mf) && w), X = Me(() => {
14509
+ const { data: O, cardType: R, cardErrorMessage: M, connectorNames: G } = (n == null ? void 0 : n[L]) ?? {}, Z = (G == null ? void 0 : G[0]) || "", $ = (o == null ? void 0 : o[L]) === ee.LOADING, te = (o == null ? void 0 : o[L]) === ee.FAILED, Y = !!(ft(c, mf) && w), X = Me(() => {
14510
14510
  var k, re;
14511
14511
  if (M || te || !(ft(c, Um) && A.some((xe) => xe.type === "edit")))
14512
14512
  return !1;
@@ -14522,17 +14522,17 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14522
14522
  (k = !1) => {
14523
14523
  const re = k ? Im : Cm;
14524
14524
  r && C && u && l(Ro({ id: C, email: r, conversationId: u, externalResourceId: w })).unwrap().then((xe) => {
14525
- const G = {
14525
+ const H = {
14526
14526
  ...jl(xe, E, k, !0),
14527
14527
  sm_ids: h
14528
14528
  };
14529
- a(re, G);
14529
+ a(re, H);
14530
14530
  }).catch((xe) => {
14531
- const G = {
14531
+ const H = {
14532
14532
  ...jl(xe, E, k, !1),
14533
14533
  sm_ids: h
14534
14534
  };
14535
- a(re, G);
14535
+ a(re, H);
14536
14536
  });
14537
14537
  },
14538
14538
  [l, r, C, E, a, u, w, h]
@@ -14541,13 +14541,13 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14541
14541
  I && le(!0);
14542
14542
  }, [I, le]);
14543
14543
  const de = (k, re) => {
14544
- var G;
14544
+ var H;
14545
14545
  k == null || k.stopPropagation(), l(Ro({ id: re, email: r, conversationId: u, isRefresh: !0, externalResourceId: w })).unwrap().then(() => {
14546
14546
  a(sm, {
14547
14547
  id: re
14548
14548
  });
14549
14549
  });
14550
- const xe = k.target.tagName === "BUTTON" ? (G = k.target) == null ? void 0 : G.firstChild : k.target;
14550
+ const xe = k.target.tagName === "BUTTON" ? (H = k.target) == null ? void 0 : H.firstChild : k.target;
14551
14551
  xe.className && (xe.className = ""), setTimeout(() => xe.className = "selected", 1);
14552
14552
  }, P = (k, re) => {
14553
14553
  k.stopPropagation(), !(n != null && n[re]) && !$ && le(), a(I ? im : om, {
@@ -14558,7 +14558,7 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14558
14558
  const re = k.currentTarget.offsetWidth < k.currentTarget.scrollWidth;
14559
14559
  f(!!re);
14560
14560
  }, B = (k) => {
14561
- var xe, G;
14561
+ var xe, H;
14562
14562
  k.stopPropagation(), a(gf, {
14563
14563
  card_title: E,
14564
14564
  connector_name: Z,
@@ -14566,7 +14566,7 @@ Do you want to continue?`, u4 = "Select an object to create", d4 = "Select an ob
14566
14566
  sm_ids: h
14567
14567
  });
14568
14568
  let re;
14569
- R === "flat" ? re = (O == null ? void 0 : O.flatDisplay.externalResourceId) ?? t.externalResourceId : R === "flat_with_list" && (re = (G = (xe = O == null ? void 0 : O.listItems) == null ? void 0 : xe.fields[0]) == null ? void 0 : G.externalResourceId), re ? l(Dr({ ...t, externalResourceId: re })) : Ue({ message: Ts, type: Ot });
14569
+ R === "flat" ? re = (O == null ? void 0 : O.flatDisplay.externalResourceId) ?? t.externalResourceId : R === "flat_with_list" && (re = (H = (xe = O == null ? void 0 : O.listItems) == null ? void 0 : xe.fields[0]) == null ? void 0 : H.externalResourceId), re ? l(Dr({ ...t, externalResourceId: re })) : Ue({ message: Ts, type: Ot });
14570
14570
  }, W = (k) => {
14571
14571
  k.stopPropagation(), v(!0);
14572
14572
  }, K = () => {
@@ -15322,7 +15322,7 @@ const tw = "Bring your favourite tools into Hiver", nw = "Plugin image", rw = "I
15322
15322
  formConfigs: ue,
15323
15323
  formViewConfigs: ue
15324
15324
  };
15325
- }, [v, a, O]), H = Me(() => {
15325
+ }, [v, a, O]), G = Me(() => {
15326
15326
  var Re;
15327
15327
  const ue = ((Re = R == null ? void 0 : R[0]) == null ? void 0 : Re.formFields) || [];
15328
15328
  return Kc({ formFields: ue });
@@ -15334,7 +15334,7 @@ const tw = "Bring your favourite tools into Hiver", nw = "Plugin image", rw = "I
15334
15334
  clearDependentFields: X,
15335
15335
  handleValidationError: le,
15336
15336
  isErrorInValidations: de
15337
- } = Np({ state: b, dispatch: d, validations: H }), {
15337
+ } = Np({ state: b, dispatch: d, validations: G }), {
15338
15338
  conversationId: P,
15339
15339
  sendTrackingEvent: V,
15340
15340
  currentSmIds: B,
@@ -15346,7 +15346,7 @@ const tw = "Bring your favourite tools into Hiver", nw = "Plugin image", rw = "I
15346
15346
  formId: R[0].id,
15347
15347
  formState: b,
15348
15348
  conversationId: P
15349
- }), G = (zn = f == null ? void 0 : f.forms.find((ue) => ue.type === "edit")) == null ? void 0 : zn.id, { externalResourceId: He } = f ?? {}, Ve = [C, E, A].includes(ee.LOADING), tt = Me(() => !O || !W ? null : W(), [O, W]), nt = en();
15349
+ }), H = (zn = f == null ? void 0 : f.forms.find((ue) => ue.type === "edit")) == null ? void 0 : zn.id, { externalResourceId: He } = f ?? {}, Ve = [C, E, A].includes(ee.LOADING), tt = Me(() => !O || !W ? null : W(), [O, W]), nt = en();
15350
15350
  me(() => (O && K && K(!0), () => {
15351
15351
  O && K && K(!1);
15352
15352
  }), [O, K]), me(() => {
@@ -15367,14 +15367,14 @@ const tw = "Bring your favourite tools into Hiver", nw = "Plugin image", rw = "I
15367
15367
  }, [b, R, i]), me(() => {
15368
15368
  if (n && !t)
15369
15369
  return u(n);
15370
- p && p.length && u(t && G ? p.find((ue) => ue.value === G) ?? null : (ue) => ue || !m ? ue : p.length === 1 ? p[0] : p.find((st) => !m[st.value].expandedView) ?? null);
15371
- }, [p, m, t, G, n]);
15370
+ p && p.length && u(t && H ? p.find((ue) => ue.value === H) ?? null : (ue) => ue || !m ? ue : p.length === 1 ? p[0] : p.find((st) => !m[st.value].expandedView) ?? null);
15371
+ }, [p, m, t, H, n]);
15372
15372
  const hn = () => {
15373
15373
  u(I.current), g(!1), d({ type: un.RESET_STATE });
15374
15374
  }, Ct = (ue, Re) => {
15375
15375
  Z(ue, Re);
15376
15376
  }, lt = (ue, Re, st) => {
15377
- if (Re.action === "clear" && Re.name && (Z(Re.name, ""), a != null && a.value && X(Re.name, x == null ? void 0 : x[a.value]), H[Re.name].isRequired && le(Re.name, !0)), ue && typeof ue == "object" && "label" in ue && typeof ue.label == "string" && "value" in ue && (typeof ue.value == "string" || typeof ue.value == "number") && typeof Re.name < "u")
15377
+ if (Re.action === "clear" && Re.name && (Z(Re.name, ""), a != null && a.value && X(Re.name, x == null ? void 0 : x[a.value]), G[Re.name].isRequired && le(Re.name, !0)), ue && typeof ue == "object" && "label" in ue && typeof ue.label == "string" && "value" in ue && (typeof ue.value == "string" || typeof ue.value == "number") && typeof Re.name < "u")
15378
15378
  if (Re.name === "form-object")
15379
15379
  I.current = { value: ue.value, label: ue.label }, b.values && ue.value !== (a == null ? void 0 : a.value) && (Object.values(b.values).filter((xt) => xt !== "").length > 0 ? g(!0) : hn());
15380
15380
  else {
@@ -15387,7 +15387,7 @@ const tw = "Bring your favourite tools into Hiver", nw = "Plugin image", rw = "I
15387
15387
  a != null && a.value && X(Re.name, x == null ? void 0 : x[a.value]);
15388
15388
  }
15389
15389
  }, Qe = () => {
15390
- if (!de() && G && (m != null && m[G]) && P && He) {
15390
+ if (!de() && H && (m != null && m[H]) && P && He) {
15391
15391
  const { connectorName: ue, title: Re } = f;
15392
15392
  V(wm, {
15393
15393
  connector_name: ue,
@@ -15395,13 +15395,13 @@ const tw = "Bring your favourite tools into Hiver", nw = "Plugin image", rw = "I
15395
15395
  sm_ids: B,
15396
15396
  ug_id: k
15397
15397
  });
15398
- const st = m[G].interfaceDetails;
15398
+ const st = m[H].interfaceDetails;
15399
15399
  if (!st || !w)
15400
15400
  return;
15401
15401
  const { id: It, args: xt = {}, previousArgs: Gt = {} } = st, gn = Si(w, Gt), uo = Si(b, xt);
15402
15402
  nt(
15403
15403
  Fi({
15404
- formId: String(G),
15404
+ formId: String(H),
15405
15405
  conversationId: P,
15406
15406
  args: uo,
15407
15407
  previousArgs: gn,
@@ -15521,7 +15521,7 @@ const tw = "Bring your favourite tools into Hiver", nw = "Plugin image", rw = "I
15521
15521
  fetchConfig: re,
15522
15522
  createConfig: xe,
15523
15523
  values: b.values,
15524
- validations: H,
15524
+ validations: G,
15525
15525
  ...O ? {
15526
15526
  cols: Hu,
15527
15527
  stackIndex: ne.expandedForm
@@ -15908,7 +15908,7 @@ const tw = "Bring your favourite tools into Hiver", nw = "Plugin image", rw = "I
15908
15908
  );
15909
15909
  me(() => {
15910
15910
  const C = r.values, E = a.id, w = a.formFields;
15911
- if (Object.values(C).filter((H) => !!H).length < w.length || !s || f()) {
15911
+ if (Object.values(C).filter((G) => !!G).length < w.length || !s || f()) {
15912
15912
  i.current && clearTimeout(i.current);
15913
15913
  return;
15914
15914
  }
@@ -18139,7 +18139,7 @@ const rA = (e) => new Promise((t) => setTimeout(t, e)), oA = ({
18139
18139
  };
18140
18140
  }, _A = ({ isAdmin: e = !1 }) => {
18141
18141
  var ri;
18142
- const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = $e(Je), s = en(), { userGroupId: l, userId: c } = xn() || {}, a = ye(!1), u = ye(null), h = ye(null), g = ye(null), [I, b] = J(!1), [d, f] = J(!1), [p, v] = J(!1), [m, x] = J(!1), [C, E] = J(), [w, A] = J(!1), [T, L] = J(null), [O, R] = J(), [M, H] = J(null), [Z, $] = J(!1), [te, Y] = J(!1), X = we(I4), le = we(x4), de = we(w4), P = we(A4), V = we(E4), B = we(wp), W = we(M4), K = we(Ap), ne = we(_p), ie = we(Tp), k = we(jw), re = ft(o, Wm), xe = ft(o, mf), G = ft(o, Ym), He = ft(o, Qm), Ve = ft(o, qm), tt = ft(o, Km), nt = gb(de), { data: hn, isLoading: Ct } = ih({
18142
+ const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = $e(Je), s = en(), { userGroupId: l, userId: c } = xn() || {}, a = ye(!1), u = ye(null), h = ye(null), g = ye(null), [I, b] = J(!1), [d, f] = J(!1), [p, v] = J(!1), [m, x] = J(!1), [C, E] = J(), [w, A] = J(!1), [T, L] = J(null), [O, R] = J(), [M, G] = J(null), [Z, $] = J(!1), [te, Y] = J(!1), X = we(I4), le = we(x4), de = we(w4), P = we(A4), V = we(E4), B = we(wp), W = we(M4), K = we(Ap), ne = we(_p), ie = we(Tp), k = we(jw), re = ft(o, Wm), xe = ft(o, mf), H = ft(o, Ym), He = ft(o, Qm), Ve = ft(o, qm), tt = ft(o, Km), nt = gb(de), { data: hn, isLoading: Ct } = ih({
18143
18143
  senderEmail: t,
18144
18144
  conversationId: String(i),
18145
18145
  enabled: He && !!t
@@ -18245,7 +18245,7 @@ const rA = (e) => new Promise((t) => setTimeout(t, e)), oA = ({
18245
18245
  return ((ho = Bs.connectorKey) == null ? void 0 : ho.toLowerCase()) === (Ft == null ? void 0 : Ft.toLowerCase());
18246
18246
  }
18247
18247
  );
18248
- Jn && (H(Jn), v(!0));
18248
+ Jn && (G(Jn), v(!0));
18249
18249
  };
18250
18250
  return window.addEventListener(ld.OPEN_FORM_VIEW, Le), () => {
18251
18251
  window.removeEventListener(ld.OPEN_FORM_VIEW, Le);
@@ -18263,7 +18263,7 @@ const rA = (e) => new Promise((t) => setTimeout(t, e)), oA = ({
18263
18263
  }, Ms = () => {
18264
18264
  x(!0), r(pm);
18265
18265
  }, ei = (Le) => {
18266
- r(Le, C), ie ? A(!0) : (v(!1), H(null));
18266
+ r(Le, C), ie ? A(!0) : (v(!1), G(null));
18267
18267
  }, ti = (Le) => {
18268
18268
  if (ne) {
18269
18269
  const { connectorName: rt, title: Ft } = ne;
@@ -18330,7 +18330,7 @@ const rA = (e) => new Promise((t) => setTimeout(t, e)), oA = ({
18330
18330
  handleLinkNewObject: Ms
18331
18331
  }
18332
18332
  ),
18333
- G ? /* @__PURE__ */ y.jsx(
18333
+ H ? /* @__PURE__ */ y.jsx(
18334
18334
  fA,
18335
18335
  {
18336
18336
  selectedObject: T,
@@ -18341,8 +18341,8 @@ const rA = (e) => new Promise((t) => setTimeout(t, e)), oA = ({
18341
18341
  }
18342
18342
  ) : null,
18343
18343
  /* @__PURE__ */ y.jsxs(oc, { children: [
18344
- /* @__PURE__ */ y.jsx(Tr, { condition: G && st, children: /* @__PURE__ */ y.jsx(xA, {}) }, "search"),
18345
- /* @__PURE__ */ y.jsx(Tr, { condition: G && !!T && !It, children: /* @__PURE__ */ y.jsx(
18344
+ /* @__PURE__ */ y.jsx(Tr, { condition: H && st, children: /* @__PURE__ */ y.jsx(xA, {}) }, "search"),
18345
+ /* @__PURE__ */ y.jsx(Tr, { condition: H && !!T && !It, children: /* @__PURE__ */ y.jsx(
18346
18346
  IA,
18347
18347
  {
18348
18348
  searchResults: Re ?? [],