@hiver/connector-admin 3.0.5-beta.2 → 3.0.5-beta.3

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
@@ -14,7 +14,7 @@ var As = (e, t, n, r) => ({
14
14
  }
15
15
  });
16
16
  import * as N from "react";
17
- import oe, { useState as Se, useRef as ze, useSyncExternalStore as o1, useLayoutEffect as Jl, useEffect as _e, isValidElement as Ro, cloneElement as Sc, createContext as ki, Suspense as a1, useContext as St, useMemo as Xe, useCallback as tt, memo as s1, useReducer as wm, Fragment as El, Component as Ql, forwardRef as jd } from "react";
17
+ import oe, { useState as Se, useRef as ze, useSyncExternalStore as o1, useLayoutEffect as Jl, useEffect as _e, isValidElement as Ro, cloneElement as Sc, createContext as ki, Suspense as a1, useContext as Ct, useMemo as Xe, useCallback as tt, memo as s1, useReducer as wm, Fragment as El, Component as Ql, forwardRef as jd } from "react";
18
18
  import * as l1 from "react-dom";
19
19
  import Im, { unstable_batchedUpdates as _s, createPortal as Gd, render as u1, unmountComponentAtNode as c1 } from "react-dom";
20
20
  import { HiverProvider as d1, styled as B, Stack as fe, Box as He, Typography as De, Skeleton as Kl, theme as Me, Icon as ds, CircularProgress as Vd, palette as ii, Button as Cn, Tab as f1, Chip as Sm, Alert as Tm, icons as Gn, Dialog as h1, Tooltip as fr, IconButton as ea, brandIcons as p1, tooltipClasses as Oo, Checkbox as Wd, TextField as Am, Autocomplete as Tc, Tabs as g1, Grid as m1, Switch as v1, DatePicker as b1, DateTextField as y1, InputAdornment as E1, Accordion as x1, AccordionSummary as C1, accordionSummaryClasses as w1, AccordionDetails as I1, Snackbar as S1, Link as T1 } from "@hiver/hiver-ui-kit";
@@ -316,8 +316,8 @@ function R1() {
316
316
  } finally {
317
317
  Oe = !1, ie.current = be, de(), Error.prepareStackTrace = te;
318
318
  }
319
- var wt = T ? T.displayName || T.name : "", st = wt ? xe(wt) : "";
320
- return typeof T == "function" && ve.set(T, st), st;
319
+ var It = T ? T.displayName || T.name : "", lt = It ? xe(It) : "";
320
+ return typeof T == "function" && ve.set(T, lt), lt;
321
321
  }
322
322
  function Qe(T, L, Y) {
323
323
  return j(T, !1);
@@ -363,7 +363,7 @@ function R1() {
363
363
  } else
364
364
  Wt.setExtraStackFrame(null);
365
365
  }
366
- function Ct(T, L, Y, ce, te) {
366
+ function wt(T, L, Y, ce, te) {
367
367
  {
368
368
  var be = Function.call.bind(Vt);
369
369
  for (var le in T)
@@ -545,7 +545,7 @@ Check the top-level render call using <` + Y + ">.");
545
545
  return L;
546
546
  }
547
547
  }
548
- function rn(T, L) {
548
+ function on(T, L) {
549
549
  {
550
550
  if (!T._store || T._store.validated || T.key != null)
551
551
  return;
@@ -565,7 +565,7 @@ Check the top-level render call using <` + Y + ">.");
565
565
  if (hn(T))
566
566
  for (var Y = 0; Y < T.length; Y++) {
567
567
  var ce = T[Y];
568
- Dt(ce) && rn(ce, L);
568
+ Dt(ce) && on(ce, L);
569
569
  }
570
570
  else if (Dt(T))
571
571
  T._store && (T._store.validated = !0);
@@ -573,7 +573,7 @@ Check the top-level render call using <` + Y + ">.");
573
573
  var te = h(T);
574
574
  if (typeof te == "function" && te !== T.entries)
575
575
  for (var be = te.call(T), le; !(le = be.next()).done; )
576
- Dt(le.value) && rn(le.value, L);
576
+ Dt(le.value) && on(le.value, L);
577
577
  }
578
578
  }
579
579
  }
@@ -593,7 +593,7 @@ Check the top-level render call using <` + Y + ">.");
593
593
  return;
594
594
  if (Y) {
595
595
  var ce = G(L);
596
- Ct(Y, T.props, "prop", ce, T);
596
+ wt(Y, T.props, "prop", ce, T);
597
597
  } else if (L.PropTypes !== void 0 && !Et) {
598
598
  Et = !0;
599
599
  var te = G(L);
@@ -634,8 +634,8 @@ Check the top-level render call using <` + Y + ">.");
634
634
  if (We !== void 0)
635
635
  if (ce)
636
636
  if (hn(We)) {
637
- for (var wt = 0; wt < We.length; wt++)
638
- Dn(We[wt], T);
637
+ for (var It = 0; It < We.length; It++)
638
+ Dn(We[It], T);
639
639
  Object.freeze && Object.freeze(We);
640
640
  } else
641
641
  g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -643,17 +643,17 @@ Check the top-level render call using <` + Y + ">.");
643
643
  Dn(We, T);
644
644
  }
645
645
  if (Vt.call(L, "key")) {
646
- var st = G(T), Mt = Object.keys(L).filter(function(or) {
646
+ var lt = G(T), Mt = Object.keys(L).filter(function(or) {
647
647
  return or !== "key";
648
648
  }), bn = Mt.length > 0 ? "{key: someKey, " + Mt.join(": ..., ") + ": ...}" : "{key: someKey}";
649
- if (!$n[st + bn]) {
649
+ if (!$n[lt + bn]) {
650
650
  var Rr = Mt.length > 0 ? "{" + Mt.join(": ..., ") + ": ...}" : "{}";
651
651
  g(`A props object containing a "key" prop is being spread into JSX:
652
652
  let props = %s;
653
653
  <%s {...props} />
654
654
  React keys must be passed directly to JSX without using spread:
655
655
  let props = %s;
656
- <%s key={someKey} {...props} />`, bn, st, Rr, st), $n[st + bn] = !0;
656
+ <%s key={someKey} {...props} />`, bn, lt, Rr, lt), $n[lt + bn] = !0;
657
657
  }
658
658
  }
659
659
  return T === r ? Rt(Ve) : Xt(Ve), Ve;
@@ -4705,7 +4705,7 @@ Jt.formToJSON = (e) => wv($.isHTMLForm(e) ? new FormData(e) : e);
4705
4705
  Jt.getAdapter = Ov.getAdapter;
4706
4706
  Jt.HttpStatusCode = hw;
4707
4707
  Jt.default = Jt;
4708
- var Pv = Jt, dt = {}, Mi = {};
4708
+ var Pv = Jt, ft = {}, Mi = {};
4709
4709
  (function(e) {
4710
4710
  Object.defineProperty(e, "__esModule", { value: !0 }), e.PLATFORM = e.TENANT_PLATFORM = e.API_CALL_ORIGIN = e.TIERS = e.APP_UI = e.CONFIG_HIVER = e.DEFAULT_INIT_CONFIG_HIVER = e.TWO_MINUTES_IN_MS = e.REFETCH_CHECK_DELAY = e.RETRY_DELAY_IN_CASE_OF_CORRUPTED_EXPIRY = e.INITIAL_RETRY_DELAY = e.MAX_BACKOFF_LIMIT = e.MAX_CONFLICT_RETRY_DELAY = e.MAX_RETRY_DELAY = e.GET_METHOD = void 0, e.GET_METHOD = "GET", e.MAX_RETRY_DELAY = 18e4, e.MAX_CONFLICT_RETRY_DELAY = 63e3, e.MAX_BACKOFF_LIMIT = 8e3, e.INITIAL_RETRY_DELAY = 1e3, e.RETRY_DELAY_IN_CASE_OF_CORRUPTED_EXPIRY = 3e3, e.REFETCH_CHECK_DELAY = 168e4, e.TWO_MINUTES_IN_MS = 2 * 60 * 1e3, e.DEFAULT_INIT_CONFIG_HIVER = {
4711
4711
  getToken: !0,
@@ -4939,8 +4939,8 @@ var Tw = Ue && Ue.__awaiter || function(e, t, n, r) {
4939
4939
  return { value: u[0] ? u[1] : void 0, done: !0 };
4940
4940
  }
4941
4941
  };
4942
- Object.defineProperty(dt, "__esModule", { value: !0 });
4943
- dt.expireToken = dt.invalidateToken = dt.validateToken = dt.validateAccount = dt.getConfig = dt.introduceDelay = dt.isTokenInExpiryWindow = dt.getStoredAuthData = dt.setUserDetails = dt.getRefreshInterval = dt.setTokenAndExpiry = dt.getRandomDelay = dt.hasValidToken = void 0;
4942
+ Object.defineProperty(ft, "__esModule", { value: !0 });
4943
+ ft.expireToken = ft.invalidateToken = ft.validateToken = ft.validateAccount = ft.getConfig = ft.introduceDelay = ft.isTokenInExpiryWindow = ft.getStoredAuthData = ft.setUserDetails = ft.getRefreshInterval = ft.setTokenAndExpiry = ft.getRandomDelay = ft.hasValidToken = void 0;
4944
4944
  var ri = Mi, xo = kn, Qn = jr, ef = function() {
4945
4945
  var e = /* @__PURE__ */ new Date(), t = new Date(e.getTime() + e.getTimezoneOffset() * 6e4);
4946
4946
  return t;
@@ -4948,16 +4948,16 @@ var ri = Mi, xo = kn, Qn = jr, ef = function() {
4948
4948
  var t = parseInt((0, Qn.getItemFromStorage)("hiverAuthUserId") || "0"), n = parseInt((0, Qn.getItemFromStorage)("hiverAuthUserGroupId") || "0"), r = e.userId, i = e.usergroupId;
4949
4949
  return t === r && i === n;
4950
4950
  };
4951
- dt.validateAccount = tf;
4951
+ ft.validateAccount = tf;
4952
4952
  var _w = function(e) {
4953
4953
  var t = tf(e);
4954
4954
  return !Lv() && t;
4955
4955
  };
4956
- dt.validateToken = _w;
4956
+ ft.validateToken = _w;
4957
4957
  var Rw = function(e) {
4958
4958
  return e.apiRetry ? e.apiRetry > 0 : !1;
4959
4959
  };
4960
- dt.invalidateToken = Rw;
4960
+ ft.invalidateToken = Rw;
4961
4961
  var Ow = function() {
4962
4962
  try {
4963
4963
  sessionStorage.removeItem("hiverAuthTokenExpiry");
@@ -4965,33 +4965,33 @@ var Ow = function() {
4965
4965
  console.log("Heimdall: Unable to Remove token.");
4966
4966
  }
4967
4967
  };
4968
- dt.expireToken = Ow;
4968
+ ft.expireToken = Ow;
4969
4969
  var Nw = function(e) {
4970
4970
  var t = (0, Qn.getItemFromStorage)("hiverAuthTokenExpiry") || "", n = new Date(t), r = ef(), i = tf(e);
4971
4971
  return console.log("Heimdall: checking if there is a valid token", r < n && i), r < n && i;
4972
4972
  };
4973
- dt.hasValidToken = Nw;
4973
+ ft.hasValidToken = Nw;
4974
4974
  var Dw = function() {
4975
4975
  return Math.floor(Math.random() * 6e4) + 6e4;
4976
4976
  };
4977
- dt.getRandomDelay = Dw;
4977
+ ft.getRandomDelay = Dw;
4978
4978
  var Pw = function(e, t) {
4979
4979
  if (!e || !t)
4980
4980
  throw new Error("User Id or user group Id not found in the response");
4981
4981
  (0, Qn.setItemInStorage)("hiverAuthUserId", e), (0, Qn.setItemInStorage)("hiverAuthUserGroupId", t);
4982
4982
  };
4983
- dt.setUserDetails = Pw;
4983
+ ft.setUserDetails = Pw;
4984
4984
  var Lw = function(e, t) {
4985
4985
  if (!e)
4986
4986
  throw new Error("Token not found in the response");
4987
4987
  (0, Qn.setItemInStorage)("hiverAuthToken", e), (0, Qn.setItemInStorage)("hiverAuthTokenExpiry", t);
4988
4988
  };
4989
- dt.setTokenAndExpiry = Lw;
4989
+ ft.setTokenAndExpiry = Lw;
4990
4990
  var Fw = function() {
4991
4991
  var e = (0, Qn.getItemFromStorage)("hiverAuthTokenExpiry"), t = (0, Qn.getItemFromStorage)("hiverAuthToken"), n = (0, Qn.getItemFromStorage)("hiverAuthUserId"), r = (0, Qn.getItemFromStorage)("hiverAuthUserGroupId");
4992
4992
  return { token: t, expiryTime: e, userId: n, usergroupId: r };
4993
4993
  };
4994
- dt.getStoredAuthData = Fw;
4994
+ ft.getStoredAuthData = Fw;
4995
4995
  var Lv = function() {
4996
4996
  var e = (0, Qn.getItemFromStorage)("hiverAuthTokenExpiry") || "";
4997
4997
  if (!e)
@@ -4999,7 +4999,7 @@ var Lv = function() {
4999
4999
  var t = ef(), n = new Date(e), r = 4 * 60 * 1e3, i = n.getTime() - t.getTime() < r;
5000
5000
  return console.log({ currentTime: t, expiry: n, isInExpiryWindow: i }), i;
5001
5001
  };
5002
- dt.isTokenInExpiryWindow = Lv;
5002
+ ft.isTokenInExpiryWindow = Lv;
5003
5003
  var kw = function(e) {
5004
5004
  return Tw(void 0, void 0, void 0, function() {
5005
5005
  return Aw(this, function(t) {
@@ -5014,7 +5014,7 @@ var kw = function(e) {
5014
5014
  });
5015
5015
  });
5016
5016
  };
5017
- dt.introduceDelay = kw;
5017
+ ft.introduceDelay = kw;
5018
5018
  var Mw = function(e, t, n) {
5019
5019
  switch (n === void 0 && (n = !0), t) {
5020
5020
  case ri.TIERS.SIT:
@@ -5028,7 +5028,7 @@ var Mw = function(e, t, n) {
5028
5028
  return n ? (0, xo.getDevApiConfig)() : (0, xo.getDevHqConfig)();
5029
5029
  }
5030
5030
  };
5031
- dt.getConfig = Mw;
5031
+ ft.getConfig = Mw;
5032
5032
  var Bw = function() {
5033
5033
  try {
5034
5034
  var e = (0, Qn.getItemFromStorage)("hiverAuthTokenExpiry");
@@ -5040,7 +5040,7 @@ var Bw = function() {
5040
5040
  return console.error("Heimdall: Error in getRefreshInterval", r), ri.REFETCH_CHECK_DELAY;
5041
5041
  }
5042
5042
  };
5043
- dt.getRefreshInterval = Bw;
5043
+ ft.getRefreshInterval = Bw;
5044
5044
  var Ea = {}, gr = {}, Xh;
5045
5045
  function Fv() {
5046
5046
  if (Xh) return gr;
@@ -5132,7 +5132,7 @@ function Fv() {
5132
5132
  }
5133
5133
  };
5134
5134
  Object.defineProperty(gr, "__esModule", { value: !0 }), gr.logoutFromHeimdall = gr.getTenantLoginCode = gr.getLoginToken = gr.getAccessToken = void 0;
5135
- var n = Mi, r = Mv(), i = dt, o = function(b, f, h, p) {
5135
+ var n = Mi, r = Mv(), i = ft, o = function(b, f, h, p) {
5136
5136
  var g = (0, i.getStoredAuthData)(), m = h === n.TENANT_PLATFORM.HIVERWEB ? n.TENANT_PLATFORM.HIVERWEB : n.TENANT_PLATFORM.GMAIL;
5137
5137
  return {
5138
5138
  root_url: b.heimdallUrl,
@@ -5480,7 +5480,7 @@ function kv() {
5480
5480
  }
5481
5481
  };
5482
5482
  Object.defineProperty(Ea, "__esModule", { value: !0 }), Ea.fetchAccessToken = void 0;
5483
- var n = Fv(), r = Mi, i = dt, o = hu, a, l, s, u = function(b, f, h, p, g, m) {
5483
+ var n = Fv(), r = Mi, i = ft, o = hu, a, l, s, u = function(b, f, h, p, g, m) {
5484
5484
  return m === void 0 && (m = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
5485
5485
  var E, x, S, I, C, A, F, k, X;
5486
5486
  return t(this, function(G) {
@@ -5724,7 +5724,7 @@ function Mv() {
5724
5724
  }
5725
5725
  };
5726
5726
  Object.defineProperty(Wi, "__esModule", { value: !0 }), Wi.hiverAxiosCall = Wi.performAxiosCall = void 0;
5727
- var r = Pv, i = dt, o = kv(), a = jr, l = Mi, s, u = 2, c = function(f, h) {
5727
+ var r = Pv, i = ft, o = kv(), a = jr, l = Mi, s, u = 2, c = function(f, h) {
5728
5728
  var p = h.fetchCsrfToken();
5729
5729
  f.formData ? f.formData.append("_csrf_token", p) : (f.data = f.data || {}, f.data._csrf_token = p);
5730
5730
  }, d = function(f, h) {
@@ -6733,7 +6733,7 @@ function Vv() {
6733
6733
  } }), Object.defineProperty(e, "DEFAULT_INIT_CONFIG_HIVER", { enumerable: !0, get: function() {
6734
6734
  return o.DEFAULT_INIT_CONFIG_HIVER;
6735
6735
  } });
6736
- var a = Fv(), l = dt, s = jr, u = Vv();
6736
+ var a = Fv(), l = ft, s = jr, u = Vv();
6737
6737
  Object.defineProperty(e, "makeAxiosCall", { enumerable: !0, get: function() {
6738
6738
  return u.makeAxiosCall;
6739
6739
  } });
@@ -7236,7 +7236,7 @@ const mr = {
7236
7236
  },
7237
7237
  userPermissions: [],
7238
7238
  metaData: void 0
7239
- }, ln = ki(UI), et = {
7239
+ }, rn = ki(UI), et = {
7240
7240
  BASEPATH: "/",
7241
7241
  CONNECTOR_SETTINGS: "connector/settings",
7242
7242
  DASHBOARD: "dashboard",
@@ -7262,7 +7262,7 @@ const mr = {
7262
7262
  }) => {
7263
7263
  const [o, a] = Se(of.id), [l, s] = Se(""), [u, c] = Se([]);
7264
7264
  return /* @__PURE__ */ w.jsx(
7265
- ln.Provider,
7265
+ rn.Provider,
7266
7266
  {
7267
7267
  value: {
7268
7268
  currentSideBar: o,
@@ -9322,10 +9322,10 @@ function O2(e, t, n, r) {
9322
9322
  };
9323
9323
  return f;
9324
9324
  }
9325
- var It;
9325
+ var St;
9326
9326
  (function(e) {
9327
9327
  e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
9328
- })(It || (It = {}));
9328
+ })(St || (St = {}));
9329
9329
  const N2 = /* @__PURE__ */ new Set(["lazy", "caseSensitive", "path", "id", "index", "children"]);
9330
9330
  function D2(e) {
9331
9331
  return e.index === !0;
@@ -9847,19 +9847,19 @@ function iS(e) {
9847
9847
  }
9848
9848
  }
9849
9849
  async function Wt(_, D, M) {
9850
- k && k.abort(), k = null, A = _, Z = (M && M.startUninterruptedRevalidation) === !0, rn(C.location, C.matches), F = (M && M.preventScrollReset) === !0, X = (M && M.enableViewTransition) === !0;
9850
+ k && k.abort(), k = null, A = _, Z = (M && M.startUninterruptedRevalidation) === !0, on(C.location, C.matches), F = (M && M.preventScrollReset) === !0, X = (M && M.enableViewTransition) === !0;
9851
9851
  let T = l || a, L = M && M.overrideNavigation, Y = Zi(T, D, s), ce = (M && M.flushSync) === !0, te = Xt(Y, T, D.pathname);
9852
9852
  if (te.active && te.matches && (Y = te.matches), !Y) {
9853
9853
  let {
9854
9854
  error: We,
9855
- notFoundMatches: wt,
9856
- route: st
9855
+ notFoundMatches: It,
9856
+ route: lt
9857
9857
  } = Dt(D.pathname);
9858
9858
  nt(D, {
9859
- matches: wt,
9859
+ matches: It,
9860
9860
  loaderData: {},
9861
9861
  errors: {
9862
- [st.id]: We
9862
+ [lt.id]: We
9863
9863
  }
9864
9864
  }, {
9865
9865
  flushSync: ce
@@ -9878,7 +9878,7 @@ function iS(e) {
9878
9878
  let be = Co(e.history, D, k.signal, M && M.submission), le;
9879
9879
  if (M && M.pendingError)
9880
9880
  le = [Ao(Y).route.id, {
9881
- type: It.error,
9881
+ type: St.error,
9882
9882
  error: M.pendingError
9883
9883
  }];
9884
9884
  else if (M && M.submission && yr(M.submission.formMethod)) {
@@ -9889,13 +9889,13 @@ function iS(e) {
9889
9889
  if (We.shortCircuited)
9890
9890
  return;
9891
9891
  if (We.pendingActionResult) {
9892
- let [wt, st] = We.pendingActionResult;
9893
- if (Yn(st) && gu(st.error) && st.error.status === 404) {
9892
+ let [It, lt] = We.pendingActionResult;
9893
+ if (Yn(lt) && gu(lt.error) && lt.error.status === 404) {
9894
9894
  k = null, nt(D, {
9895
9895
  matches: We.matches,
9896
9896
  loaderData: {},
9897
9897
  errors: {
9898
- [wt]: st.error
9898
+ [It]: lt.error
9899
9899
  }
9900
9900
  });
9901
9901
  return;
@@ -9908,7 +9908,7 @@ function iS(e) {
9908
9908
  matches: je,
9909
9909
  loaderData: Pe,
9910
9910
  errors: Ve
9911
- } = await Ct(be, D, Y, te.active, L, M && M.submission, M && M.fetcherSubmission, M && M.replace, M && M.initialHydration === !0, ce, le);
9911
+ } = await wt(be, D, Y, te.active, L, M && M.submission, M && M.fetcherSubmission, M && M.replace, M && M.initialHydration === !0, ce, le);
9912
9912
  ae || (k = null, nt(D, Lt({
9913
9913
  matches: je || Y
9914
9914
  }, Ep(le), {
@@ -9937,7 +9937,7 @@ function iS(e) {
9937
9937
  return {
9938
9938
  matches: le.partialMatches,
9939
9939
  pendingActionResult: [ae, {
9940
- type: It.error,
9940
+ type: St.error,
9941
9941
  error: je
9942
9942
  }]
9943
9943
  };
@@ -9952,7 +9952,7 @@ function iS(e) {
9952
9952
  return {
9953
9953
  matches: ae,
9954
9954
  pendingActionResult: [Pe.id, {
9955
- type: It.error,
9955
+ type: St.error,
9956
9956
  error: je
9957
9957
  }]
9958
9958
  };
@@ -9961,7 +9961,7 @@ function iS(e) {
9961
9961
  let te, be = Pa(T, D);
9962
9962
  if (!be.route.action && !be.route.lazy)
9963
9963
  te = {
9964
- type: It.error,
9964
+ type: St.error,
9965
9965
  error: Tn(405, {
9966
9966
  method: _.method,
9967
9967
  pathname: D.pathname,
@@ -9997,7 +9997,7 @@ function iS(e) {
9997
9997
  pendingActionResult: [be.route.id, te]
9998
9998
  };
9999
9999
  }
10000
- async function Ct(_, D, M, T, L, Y, ce, te, be, le, ae) {
10000
+ async function wt(_, D, M, T, L, Y, ce, te, be, le, ae) {
10001
10001
  let je = L || Qu(D, Y), Pe = Y || ce || wp(je), Ve = !Z && (!d.v7_partialHydration || !be);
10002
10002
  if (T) {
10003
10003
  if (Ve) {
@@ -10044,8 +10044,8 @@ function iS(e) {
10044
10044
  };
10045
10045
  }
10046
10046
  }
10047
- let We = l || a, [wt, st] = pp(e.history, C, M, Pe, D, d.v7_partialHydration && be === !0, d.v7_skipActionErrorRevalidation, J, ue, se, ie, re, Q, We, s, ae);
10048
- if (un((P) => !(M && M.some((H) => H.route.id === P)) || wt && wt.some((H) => H.route.id === P)), ee = ++V, wt.length === 0 && st.length === 0) {
10047
+ let We = l || a, [It, lt] = pp(e.history, C, M, Pe, D, d.v7_partialHydration && be === !0, d.v7_skipActionErrorRevalidation, J, ue, se, ie, re, Q, We, s, ae);
10048
+ if (un((P) => !(M && M.some((H) => H.route.id === P)) || It && It.some((H) => H.route.id === P)), ee = ++V, It.length === 0 && lt.length === 0) {
10049
10049
  let P = Ie();
10050
10050
  return nt(D, Lt({
10051
10051
  matches: M,
@@ -10069,24 +10069,24 @@ function iS(e) {
10069
10069
  let H = zn(ae);
10070
10070
  H !== void 0 && (P.actionData = H);
10071
10071
  }
10072
- st.length > 0 && (P.fetchers = hn(st)), Ge(P, {
10072
+ lt.length > 0 && (P.fetchers = hn(lt)), Ge(P, {
10073
10073
  flushSync: le
10074
10074
  });
10075
10075
  }
10076
- st.forEach((P) => {
10076
+ lt.forEach((P) => {
10077
10077
  ye.has(P.key) && mn(P.key), P.controller && ye.set(P.key, P.controller);
10078
10078
  });
10079
- let Mt = () => st.forEach((P) => mn(P.key));
10079
+ let Mt = () => lt.forEach((P) => mn(P.key));
10080
10080
  k && k.signal.addEventListener("abort", Mt);
10081
10081
  let {
10082
10082
  loaderResults: bn,
10083
10083
  fetcherResults: Rr
10084
- } = await Xn(C, M, wt, st, _);
10084
+ } = await Xn(C, M, It, lt, _);
10085
10085
  if (_.signal.aborted)
10086
10086
  return {
10087
10087
  shortCircuited: !0
10088
10088
  };
10089
- k && k.signal.removeEventListener("abort", Mt), st.forEach((P) => ye.delete(P.key));
10089
+ k && k.signal.removeEventListener("abort", Mt), lt.forEach((P) => ye.delete(P.key));
10090
10090
  let or = Fs(bn);
10091
10091
  if (or)
10092
10092
  return await Nn(_, or.result, !0, {
@@ -10103,21 +10103,21 @@ function iS(e) {
10103
10103
  let {
10104
10104
  loaderData: yo,
10105
10105
  errors: ar
10106
- } = bp(C, M, wt, bn, ae, st, Rr, me);
10106
+ } = bp(C, M, It, bn, ae, lt, Rr, me);
10107
10107
  me.forEach((P, H) => {
10108
10108
  P.subscribe((q) => {
10109
10109
  (q || P.done) && me.delete(H);
10110
10110
  });
10111
10111
  }), d.v7_partialHydration && be && C.errors && Object.entries(C.errors).filter((P) => {
10112
10112
  let [H] = P;
10113
- return !wt.some((q) => q.route.id === H);
10113
+ return !It.some((q) => q.route.id === H);
10114
10114
  }).forEach((P) => {
10115
10115
  let [H, q] = P;
10116
10116
  ar = Object.assign(ar || {}, {
10117
10117
  [H]: q
10118
10118
  });
10119
10119
  });
10120
- let z = Ie(), R = pr(ee), W = z || R || st.length > 0;
10120
+ let z = Ie(), R = pr(ee), W = z || R || lt.length > 0;
10121
10121
  return Lt({
10122
10122
  matches: M,
10123
10123
  loaderData: yo,
@@ -10249,13 +10249,13 @@ function iS(e) {
10249
10249
  throw Tn(400, {
10250
10250
  type: "defer-action"
10251
10251
  });
10252
- let wt = C.navigation.location || C.location, st = Co(e.history, wt, ae.signal), Mt = l || a, bn = C.navigation.state !== "idle" ? Zi(Mt, C.navigation.location, s) : C.matches;
10252
+ let It = C.navigation.location || C.location, lt = Co(e.history, It, ae.signal), Mt = l || a, bn = C.navigation.state !== "idle" ? Zi(Mt, C.navigation.location, s) : C.matches;
10253
10253
  Fe(bn, "Didn't find any matches after fetcher action");
10254
10254
  let Rr = ++V;
10255
10255
  ne.set(_, Rr);
10256
10256
  let or = Ia(te, We.data);
10257
10257
  C.fetchers.set(_, or);
10258
- let [yo, ar] = pp(e.history, C, bn, te, wt, !1, d.v7_skipActionErrorRevalidation, J, ue, se, ie, re, Q, Mt, s, [T.route.id, We]);
10258
+ let [yo, ar] = pp(e.history, C, bn, te, It, !1, d.v7_skipActionErrorRevalidation, J, ue, se, ie, re, Q, Mt, s, [T.route.id, We]);
10259
10259
  ar.filter((K) => K.key !== _).forEach((K) => {
10260
10260
  let pe = K.key, he = C.fetchers.get(pe), ge = Ia(void 0, he ? he.data : void 0);
10261
10261
  C.fetchers.set(pe, ge), ye.has(pe) && mn(pe), K.controller && ye.set(pe, K.controller);
@@ -10267,15 +10267,15 @@ function iS(e) {
10267
10267
  let {
10268
10268
  loaderResults: R,
10269
10269
  fetcherResults: W
10270
- } = await Xn(C, bn, yo, ar, st);
10270
+ } = await Xn(C, bn, yo, ar, lt);
10271
10271
  if (ae.signal.aborted)
10272
10272
  return;
10273
10273
  ae.signal.removeEventListener("abort", z), ne.delete(_), ye.delete(_), ar.forEach((K) => ye.delete(K.key));
10274
10274
  let P = Fs(R);
10275
10275
  if (P)
10276
- return Nn(st, P.result, !1);
10276
+ return Nn(lt, P.result, !1);
10277
10277
  if (P = Fs(W), P)
10278
- return Q.add(P.key), Nn(st, P.result, !1);
10278
+ return Q.add(P.key), Nn(lt, P.result, !1);
10279
10279
  let {
10280
10280
  loaderData: H,
10281
10281
  errors: q
@@ -10307,9 +10307,9 @@ function iS(e) {
10307
10307
  return;
10308
10308
  if (We.type === "error") {
10309
10309
  let {
10310
- error: wt
10310
+ error: It
10311
10311
  } = Pt(M, We);
10312
- Ot(_, D, wt, {
10312
+ Ot(_, D, It, {
10313
10313
  flushSync: ce
10314
10314
  });
10315
10315
  return;
@@ -10363,10 +10363,10 @@ function iS(e) {
10363
10363
  if (D.response.headers.has("X-Remix-Reload-Document"))
10364
10364
  We = !0;
10365
10365
  else if (df.test(te)) {
10366
- const wt = e.history.createURL(te);
10366
+ const It = e.history.createURL(te);
10367
10367
  We = // Hard reload if it's an absolute URL to a new origin
10368
- wt.origin !== t.location.origin || // Hard reload if it's an absolute URL that does not match our basename
10369
- wr(wt.pathname, s) == null;
10368
+ It.origin !== t.location.origin || // Hard reload if it's an absolute URL that does not match our basename
10369
+ wr(It.pathname, s) == null;
10370
10370
  }
10371
10371
  if (We) {
10372
10372
  ce ? t.location.replace(te) : t.location.assign(te);
@@ -10409,7 +10409,7 @@ function iS(e) {
10409
10409
  } catch (be) {
10410
10410
  return T.forEach((le) => {
10411
10411
  te[le.route.id] = {
10412
- type: It.error,
10412
+ type: St.error,
10413
10413
  error: be
10414
10414
  };
10415
10415
  }), te;
@@ -10418,7 +10418,7 @@ function iS(e) {
10418
10418
  if (bS(le)) {
10419
10419
  let ae = le.result;
10420
10420
  te[be] = {
10421
- type: It.redirect,
10421
+ type: St.redirect,
10422
10422
  response: pS(ae, M, be, L, s, d.v7_relativeSplatPath)
10423
10423
  };
10424
10424
  } else
@@ -10435,7 +10435,7 @@ function iS(e) {
10435
10435
  } else
10436
10436
  return Promise.resolve({
10437
10437
  [ae.key]: {
10438
- type: It.error,
10438
+ type: St.error,
10439
10439
  error: Tn(404, {
10440
10440
  pathname: ae.path
10441
10441
  })
@@ -10591,7 +10591,7 @@ function iS(e) {
10591
10591
  function zt(_, D) {
10592
10592
  return p && p(_, D.map((T) => P2(T, C.loaderData))) || _.key;
10593
10593
  }
10594
- function rn(_, D) {
10594
+ function on(_, D) {
10595
10595
  if (h && g) {
10596
10596
  let M = zt(_, D);
10597
10597
  h[M] = g();
@@ -10988,7 +10988,7 @@ async function dS(e, t, n, r, i, o, a, l, s, u) {
10988
10988
  return Lt({}, y, {
10989
10989
  shouldLoad: h,
10990
10990
  resolve: async (g) => (g && r.method === "GET" && (y.route.lazy || y.route.loader) && (h = !0), h ? fS(t, r, y, f, g, u) : Promise.resolve({
10991
- type: It.data,
10991
+ type: St.data,
10992
10992
  result: void 0
10993
10993
  }))
10994
10994
  });
@@ -11055,7 +11055,7 @@ async function fS(e, t, n, r, i, o) {
11055
11055
  });
11056
11056
  } else
11057
11057
  return {
11058
- type: It.data,
11058
+ type: St.data,
11059
11059
  result: void 0
11060
11060
  };
11061
11061
  else if (u)
@@ -11069,7 +11069,7 @@ async function fS(e, t, n, r, i, o) {
11069
11069
  Fe(a.result !== void 0, "You defined " + (e === "action" ? "an action" : "a loader") + " for route " + ('"' + n.route.id + "\" but didn't return anything from your `" + e + "` ") + "function. Please return a value or `null`.");
11070
11070
  } catch (u) {
11071
11071
  return {
11072
- type: It.error,
11072
+ type: St.error,
11073
11073
  result: u
11074
11074
  };
11075
11075
  } finally {
@@ -11089,29 +11089,29 @@ async function hS(e) {
11089
11089
  c && /\bapplication\/json\b/.test(c) ? t.body == null ? u = null : u = await t.json() : u = await t.text();
11090
11090
  } catch (c) {
11091
11091
  return {
11092
- type: It.error,
11092
+ type: St.error,
11093
11093
  error: c
11094
11094
  };
11095
11095
  }
11096
- return n === It.error ? {
11097
- type: It.error,
11096
+ return n === St.error ? {
11097
+ type: St.error,
11098
11098
  error: new Pl(t.status, t.statusText, u),
11099
11099
  statusCode: t.status,
11100
11100
  headers: t.headers
11101
11101
  } : {
11102
- type: It.data,
11102
+ type: St.data,
11103
11103
  data: u,
11104
11104
  statusCode: t.status,
11105
11105
  headers: t.headers
11106
11106
  };
11107
11107
  }
11108
- if (n === It.error) {
11108
+ if (n === St.error) {
11109
11109
  if (Cp(t)) {
11110
11110
  var r;
11111
11111
  if (t.data instanceof Error) {
11112
11112
  var i;
11113
11113
  return {
11114
- type: It.error,
11114
+ type: St.error,
11115
11115
  error: t.data,
11116
11116
  statusCode: (i = t.init) == null ? void 0 : i.status
11117
11117
  };
@@ -11119,7 +11119,7 @@ async function hS(e) {
11119
11119
  t = new Pl(((r = t.init) == null ? void 0 : r.status) || 500, void 0, t.data);
11120
11120
  }
11121
11121
  return {
11122
- type: It.error,
11122
+ type: St.error,
11123
11123
  error: t,
11124
11124
  statusCode: gu(t) ? t.status : void 0
11125
11125
  };
@@ -11127,7 +11127,7 @@ async function hS(e) {
11127
11127
  if (yS(t)) {
11128
11128
  var o, a;
11129
11129
  return {
11130
- type: It.deferred,
11130
+ type: St.deferred,
11131
11131
  deferredData: t,
11132
11132
  statusCode: (o = t.init) == null ? void 0 : o.status,
11133
11133
  headers: ((a = t.init) == null ? void 0 : a.headers) && new Headers(t.init.headers)
@@ -11136,14 +11136,14 @@ async function hS(e) {
11136
11136
  if (Cp(t)) {
11137
11137
  var l, s;
11138
11138
  return {
11139
- type: It.data,
11139
+ type: St.data,
11140
11140
  data: t.data,
11141
11141
  statusCode: (l = t.init) == null ? void 0 : l.status,
11142
11142
  headers: (s = t.init) != null && s.headers ? new Headers(t.init.headers) : void 0
11143
11143
  };
11144
11144
  }
11145
11145
  return {
11146
- type: It.data,
11146
+ type: St.data,
11147
11147
  data: t
11148
11148
  };
11149
11149
  }
@@ -11319,13 +11319,13 @@ function bS(e) {
11319
11319
  return g0(e.result) && eS.has(e.result.status);
11320
11320
  }
11321
11321
  function Ri(e) {
11322
- return e.type === It.deferred;
11322
+ return e.type === St.deferred;
11323
11323
  }
11324
11324
  function Yn(e) {
11325
- return e.type === It.error;
11325
+ return e.type === St.error;
11326
11326
  }
11327
11327
  function Ji(e) {
11328
- return (e && e.type) === It.redirect;
11328
+ return (e && e.type) === St.redirect;
11329
11329
  }
11330
11330
  function Cp(e) {
11331
11331
  return typeof e == "object" && e != null && "type" in e && "data" in e && "init" in e && e.type === "DataWithResponseInit";
@@ -11372,17 +11372,17 @@ async function ff(e, t, n) {
11372
11372
  if (n)
11373
11373
  try {
11374
11374
  return {
11375
- type: It.data,
11375
+ type: St.data,
11376
11376
  data: e.deferredData.unwrappedData
11377
11377
  };
11378
11378
  } catch (i) {
11379
11379
  return {
11380
- type: It.error,
11380
+ type: St.error,
11381
11381
  error: i
11382
11382
  };
11383
11383
  }
11384
11384
  return {
11385
- type: It.data,
11385
+ type: St.data,
11386
11386
  data: e.deferredData.data
11387
11387
  };
11388
11388
  }
@@ -12581,7 +12581,7 @@ const _T = B(fe)`
12581
12581
  justify-content: center;
12582
12582
  align-items: center;
12583
12583
  `, PT = "Customising connectors on the agent’s panel", LT = "Configure your Connectors in the right panel, add your cards and name them how you want the agents to see and update them.", FT = "Coming Soon", kT = "Have any questions? ", S0 = "internal-chat", MT = "https://cdn.hiverhq.com/connectors-module/assets/RequestNewCCLogo.svg", BT = "https://cdn.hiverhq.com/connectors-module/assets/agent-view.svg", jT = "https://cdn.hiverhq.com/connectors-module/assets/RequestConnector.svg", GT = "https://cdn.hiverhq.com/connectors-module/assets/UpgradeImage.svg", VT = () => {
12584
- const { availableFeatures: e } = St(ln), t = (n) => {
12584
+ const { availableFeatures: e } = Ct(rn), t = (n) => {
12585
12585
  n.stopPropagation(), Hr(e, S0) && av();
12586
12586
  };
12587
12587
  return /* @__PURE__ */ w.jsx(_T, { children: /* @__PURE__ */ w.jsxs(RT, { children: [
@@ -12607,7 +12607,7 @@ const _T = B(fe)`
12607
12607
  `, HT = () => /* @__PURE__ */ w.jsx(WT, { children: /* @__PURE__ */ w.jsx(VT, {}) }), UT = "Enhance with Custom Connectors", zT = "Let us know your use case, and we'll design and deliver a custom connector tailored to your needs within a few working days.", T0 = "Request new connector", XT = "Create your own (coming soon)", $T = "Request new feature", ZT = "Request a new connector", A0 = "Tell us your use case and we will create a connector for you within a few working days.", YT = `Request new connectors to get better customer context and key actions right into your inbox. ${A0}`, qT = "Select a feature", JT = "Select a connector", QT = "Feel free to add specific details (Optional)", KT = "Submit Request", eA = "Request submitted", tA = "Your request has been submitted successfully. We will get back to you within a few working days.", nA = "Done", rA = "Add connector", iA = "Edit connector", oA = "Enable", aA = "Disable", _p = {
12608
12608
  CONNECTOR: "connector",
12609
12609
  API: "api"
12610
- }, sA = "Failed to submit the request. Please try again.", ft = {
12610
+ }, sA = "Failed to submit the request. Please try again.", st = {
12611
12611
  REQUEST_NEW_CLICKED: "request_new_connector_clicked",
12612
12612
  TOGGLE_ENABLED: "connector_enabled_clicked",
12613
12613
  TOGGLE_DISABLED: "connector_disabled_clicked",
@@ -12637,7 +12637,8 @@ const _T = B(fe)`
12637
12637
  CONNECTOR_VIDEO_CLICKED: "connector_video_clicked",
12638
12638
  CONNECTOR_AUTH_PAGE_KB_CLICKED: "connector_auth_page_kb_clicked",
12639
12639
  CONNECTOR_AUTH_PAGE_CONTACT_SUPPORT_CLICKED: "connector_auth_page_contact_support_clicked",
12640
- CONNECTOR_AUTH_SUCCESS: "connector_auth_success"
12640
+ CONNECTOR_AUTH_SUCCESS: "connector_auth_success",
12641
+ CONNECTOR_SECTION_VIEWED: "connector_section_viewed"
12641
12642
  }, lA = {
12642
12643
  AUTH_PAGE: "auth_page",
12643
12644
  DETAILS_PAGE: "details_page",
@@ -12751,7 +12752,7 @@ const _T = B(fe)`
12751
12752
  background: linear-gradient(to right, #ffe250, #ffc350);
12752
12753
  color: ${ii.gray.gray1};
12753
12754
  `, zA = () => {
12754
- const { availableFeatures: e, sendTrackingEvent: t } = St(ln), n = Gi(), r = Vi(), i = it(Wv), o = it(rf), a = it(fI);
12755
+ const { availableFeatures: e, sendTrackingEvent: t } = Ct(rn), n = Gi(), r = Vi(), i = it(Wv), o = it(rf), a = it(fI);
12755
12756
  _e(() => {
12756
12757
  r(el());
12757
12758
  }, [r]);
@@ -12759,7 +12760,7 @@ const _T = B(fe)`
12759
12760
  var d;
12760
12761
  s == null || s.stopPropagation();
12761
12762
  const c = (d = o == null ? void 0 : o[u]) == null ? void 0 : d.name;
12762
- t(ft.LIBRARY_CARD_CLICKED, { connector_name: c }), n(`${et.BASEPATH}${et.API_VIEW}/${u}`);
12763
+ t(st.LIBRARY_CARD_CLICKED, { connector_name: c }), n(`${et.BASEPATH}${et.API_VIEW}/${u}`);
12763
12764
  };
12764
12765
  return /* @__PURE__ */ w.jsx(dA, { "data-testid": "connector-library", component: "ul", children: a === Te.LOADING ? /* @__PURE__ */ w.jsx(cA, {}) : /* @__PURE__ */ w.jsx(w.Fragment, { children: i.map((s) => {
12765
12766
  const u = o == null ? void 0 : o[s];
@@ -12827,7 +12828,7 @@ const _T = B(fe)`
12827
12828
  border: 1px solid ${Me.palette.gray.gray5};
12828
12829
  `, e_ = ({ setModalState: e }) => {
12829
12830
  const t = (n) => {
12830
- n == null || n.stopPropagation(), console.log("SSSSSSSSSSS 2"), e(!0);
12831
+ n == null || n.stopPropagation(), e(!0);
12831
12832
  };
12832
12833
  return /* @__PURE__ */ w.jsxs(
12833
12834
  $A,
@@ -13117,7 +13118,7 @@ const D_ = B(He)`
13117
13118
  /* @__PURE__ */ w.jsx(L_, { children: IA })
13118
13119
  ] });
13119
13120
  function M_() {
13120
- const e = St(Ef);
13121
+ const e = Ct(Ef);
13121
13122
  if (!e)
13122
13123
  throw new Error(SA);
13123
13124
  return e;
@@ -13167,7 +13168,7 @@ const B_ = B(({ className: e, ...t }) => /* @__PURE__ */ w.jsx(fr, { ...t, class
13167
13168
  }
13168
13169
  );
13169
13170
  }, G_ = ({ children: e }) => {
13170
- const { hasRendered: t, setHasRendered: n } = St(Ef), [r] = Se(() => !t);
13171
+ const { hasRendered: t, setHasRendered: n } = Ct(Ef), [r] = Se(() => !t);
13171
13172
  return _e(() => {
13172
13173
  r && n(!0);
13173
13174
  }, [r, n]), r ? /* @__PURE__ */ w.jsx(j_, { children: e }) : /* @__PURE__ */ w.jsx(w.Fragment, { children: e });
@@ -13433,7 +13434,7 @@ function J_() {
13433
13434
  }
13434
13435
  const B0 = /* @__PURE__ */ ki(null);
13435
13436
  function Q_(e) {
13436
- const t = St(B0);
13437
+ const t = Ct(B0);
13437
13438
  _e(() => {
13438
13439
  if (!t)
13439
13440
  throw new Error("useDndMonitor must be used within a children of <DndContext>");
@@ -13842,10 +13843,10 @@ function pd(e) {
13842
13843
  y: W0(e)
13843
13844
  };
13844
13845
  }
13845
- var sn;
13846
+ var ln;
13846
13847
  (function(e) {
13847
13848
  e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
13848
- })(sn || (sn = {}));
13849
+ })(ln || (ln = {}));
13849
13850
  function H0(e) {
13850
13851
  return !Eu || !e ? !1 : e === document.scrollingElement;
13851
13852
  }
@@ -13899,7 +13900,7 @@ function CR(e, t, n, r, i) {
13899
13900
  height: t.height * i.y,
13900
13901
  width: t.width * i.x
13901
13902
  };
13902
- return !u && o <= t.top + f.height ? (y.y = sn.Backward, b.y = r * Math.abs((t.top + f.height - o) / f.height)) : !c && s >= t.bottom - f.height && (y.y = sn.Forward, b.y = r * Math.abs((t.bottom - f.height - s) / f.height)), !v && l >= t.right - f.width ? (y.x = sn.Forward, b.x = r * Math.abs((t.right - f.width - l) / f.width)) : !d && a <= t.left + f.width && (y.x = sn.Backward, b.x = r * Math.abs((t.left + f.width - a) / f.width)), {
13903
+ return !u && o <= t.top + f.height ? (y.y = ln.Backward, b.y = r * Math.abs((t.top + f.height - o) / f.height)) : !c && s >= t.bottom - f.height && (y.y = ln.Forward, b.y = r * Math.abs((t.bottom - f.height - s) / f.height)), !v && l >= t.right - f.width ? (y.x = ln.Forward, b.x = r * Math.abs((t.right - f.width - l) / f.width)) : !d && a <= t.left + f.width && (y.x = ln.Backward, b.x = r * Math.abs((t.left + f.width - a) / f.width)), {
13903
13904
  direction: y,
13904
13905
  speed: b
13905
13906
  };
@@ -14510,12 +14511,12 @@ function FR(e) {
14510
14511
  }
14511
14512
  const kR = {
14512
14513
  x: {
14513
- [sn.Backward]: !1,
14514
- [sn.Forward]: !1
14514
+ [ln.Backward]: !1,
14515
+ [ln.Forward]: !1
14515
14516
  },
14516
14517
  y: {
14517
- [sn.Backward]: !1,
14518
- [sn.Forward]: !1
14518
+ [ln.Backward]: !1,
14519
+ [ln.Forward]: !1
14519
14520
  }
14520
14521
  };
14521
14522
  function MR(e) {
@@ -14533,12 +14534,12 @@ function MR(e) {
14533
14534
  };
14534
14535
  return {
14535
14536
  x: {
14536
- [sn.Backward]: i.x[sn.Backward] || o.x === -1,
14537
- [sn.Forward]: i.x[sn.Forward] || o.x === 1
14537
+ [ln.Backward]: i.x[ln.Backward] || o.x === -1,
14538
+ [ln.Forward]: i.x[ln.Forward] || o.x === 1
14538
14539
  },
14539
14540
  y: {
14540
- [sn.Backward]: i.y[sn.Backward] || o.y === -1,
14541
- [sn.Forward]: i.y[sn.Forward] || o.y === 1
14541
+ [ln.Backward]: i.y[ln.Backward] || o.y === -1,
14542
+ [ln.Forward]: i.y[ln.Forward] || o.y === 1
14542
14543
  }
14543
14544
  };
14544
14545
  }, [n, t, r]);
@@ -15066,7 +15067,7 @@ function iO(e) {
15066
15067
  active: n,
15067
15068
  activatorEvent: r,
15068
15069
  draggableNodes: i
15069
- } = St(Cu), o = fd(r), a = fd(n == null ? void 0 : n.id);
15070
+ } = Ct(Cu), o = fd(r), a = fd(n == null ? void 0 : n.id);
15070
15071
  return _e(() => {
15071
15072
  if (!t && !r && o && a != null) {
15072
15073
  if (!Tf(o) || document.activeElement === o.target)
@@ -15231,7 +15232,7 @@ const lO = /* @__PURE__ */ s1(function(t) {
15231
15232
  scrollAdjustedTranslate: null
15232
15233
  }), Qe = F.getNodeFor((n = j.current.over) == null ? void 0 : n.id), Ge = JR({
15233
15234
  measure: ne.dragOverlay.measure
15234
- }), nt = (r = Ge.nodeRef.current) != null ? r : ie, Vt = S ? (i = Ge.rect) != null ? i : ve : null, On = !!(Ge.nodeRef.current && Ge.rect), Wt = UR(On ? null : ve), Qt = Y0(nt ? Un(nt) : null), Ct = zR(S ? Qe ?? ie : null), zn = YR(Ct), hn = oO(y, {
15235
+ }), nt = (r = Ge.nodeRef.current) != null ? r : ie, Vt = S ? (i = Ge.rect) != null ? i : ve : null, On = !!(Ge.nodeRef.current && Ge.rect), Wt = UR(On ? null : ve), Qt = Y0(nt ? Un(nt) : null), wt = zR(S ? Qe ?? ie : null), zn = YR(wt), hn = oO(y, {
15235
15236
  transform: {
15236
15237
  x: A.x - Wt.x,
15237
15238
  y: A.y - Wt.y,
@@ -15245,10 +15246,10 @@ const lO = /* @__PURE__ */ s1(function(t) {
15245
15246
  draggingNodeRect: Vt,
15246
15247
  over: j.current.over,
15247
15248
  overlayNodeRect: Ge.rect,
15248
- scrollableAncestors: Ct,
15249
+ scrollableAncestors: wt,
15249
15250
  scrollableAncestorRects: zn,
15250
15251
  windowRect: Qt
15251
- }), ui = me ? Do(me, A) : null, ci = XR(Ct), di = Hp(ci), Nn = Hp(ci, [ve]), Ut = Do(hn, di), Xn = Vt ? pR(Vt, hn) : null, pn = G && Xn ? d({
15252
+ }), ui = me ? Do(me, A) : null, ci = XR(wt), di = Hp(ci), Nn = Hp(ci, [ve]), Ut = Do(hn, di), Xn = Vt ? pR(Vt, hn) : null, pn = G && Xn ? d({
15252
15253
  active: G,
15253
15254
  collisionRect: Xn,
15254
15255
  droppableRects: Q,
@@ -15265,7 +15266,7 @@ const lO = /* @__PURE__ */ s1(function(t) {
15265
15266
  const Ht = C.get(U.current);
15266
15267
  if (!Ht)
15267
15268
  return;
15268
- const zt = Et.nativeEvent, rn = new Pt({
15269
+ const zt = Et.nativeEvent, on = new Pt({
15269
15270
  active: U.current,
15270
15271
  activeNode: Ht,
15271
15272
  event: zt,
@@ -15310,7 +15311,7 @@ const lO = /* @__PURE__ */ s1(function(t) {
15310
15311
  onEnd: Dn(en.DragEnd),
15311
15312
  onCancel: Dn(en.DragCancel)
15312
15313
  });
15313
- mn.current = rn;
15314
+ mn.current = on;
15314
15315
  function Dn(Xt) {
15315
15316
  return async function() {
15316
15317
  const {
@@ -15359,10 +15360,10 @@ const lO = /* @__PURE__ */ s1(function(t) {
15359
15360
  Ht.dndKit || Ht.defaultPrevented
15360
15361
  )
15361
15362
  return;
15362
- const rn = {
15363
+ const on = {
15363
15364
  active: zt
15364
15365
  };
15365
- Et(Pt, Dt.options, rn) === !0 && (Ht.dndKit = {
15366
+ Et(Pt, Dt.options, on) === !0 && (Ht.dndKit = {
15366
15367
  capturedBy: Dt.sensor
15367
15368
  }, U.current = un, qr(Pt, Dt));
15368
15369
  }, [C, qr]), pr = jR(c, Ie);
@@ -15412,11 +15413,11 @@ const lO = /* @__PURE__ */ s1(function(t) {
15412
15413
  return;
15413
15414
  const {
15414
15415
  onDragOver: zt
15415
- } = ye.current, rn = un.get(gn), Dn = rn && rn.rect.current ? {
15416
- id: rn.id,
15417
- rect: rn.rect.current,
15418
- data: rn.data,
15419
- disabled: rn.disabled
15416
+ } = ye.current, on = un.get(gn), Dn = on && on.rect.current ? {
15417
+ id: on.id,
15418
+ rect: on.rect.current,
15419
+ data: on.data,
15420
+ disabled: on.disabled
15420
15421
  } : null, Xt = {
15421
15422
  active: Et,
15422
15423
  activatorEvent: Dt,
@@ -15449,18 +15450,18 @@ const lO = /* @__PURE__ */ s1(function(t) {
15449
15450
  draggingNodeRect: Vt,
15450
15451
  droppableContainers: F,
15451
15452
  over: Ot,
15452
- scrollableAncestors: Ct,
15453
+ scrollableAncestors: wt,
15453
15454
  scrollAdjustedTranslate: Ut
15454
15455
  }, X.current = {
15455
15456
  initial: Vt,
15456
15457
  translated: Xn
15457
15458
  };
15458
- }, [G, ie, pn, Xn, C, nt, Vt, Q, F, Ot, Ct, Ut]), FR({
15459
+ }, [G, ie, pn, Xn, C, nt, Vt, Q, F, Ot, wt, Ut]), FR({
15459
15460
  ...xe,
15460
15461
  delta: A,
15461
15462
  draggingRect: Xn,
15462
15463
  pointerCoordinates: ui,
15463
- scrollableAncestors: Ct,
15464
+ scrollableAncestors: wt,
15464
15465
  scrollableAncestorRects: zn
15465
15466
  });
15466
15467
  const ir = Xe(() => ({
@@ -15476,12 +15477,12 @@ const lO = /* @__PURE__ */ s1(function(t) {
15476
15477
  droppableRects: Q,
15477
15478
  over: Ot,
15478
15479
  measureDroppableContainers: re,
15479
- scrollableAncestors: Ct,
15480
+ scrollableAncestors: wt,
15480
15481
  scrollableAncestorRects: zn,
15481
15482
  measuringConfiguration: ne,
15482
15483
  measuringScheduled: de,
15483
15484
  windowRect: Qt
15484
- }), [G, ie, ve, ue, pn, Je, Ge, C, F, Q, Ot, re, Ct, zn, ne, de, Qt]), Nt = Xe(() => ({
15485
+ }), [G, ie, ve, ue, pn, Je, Ge, C, F, Q, Ot, re, wt, zn, ne, de, Qt]), Nt = Xe(() => ({
15485
15486
  activatorEvent: ue,
15486
15487
  activators: pr,
15487
15488
  active: G,
@@ -15533,11 +15534,11 @@ function dO(e) {
15533
15534
  ariaDescribedById: c,
15534
15535
  draggableNodes: d,
15535
15536
  over: v
15536
- } = St(Cu), {
15537
+ } = Ct(Cu), {
15537
15538
  role: y = zp,
15538
15539
  roleDescription: b = "draggable",
15539
15540
  tabIndex: f = 0
15540
- } = i ?? {}, h = (s == null ? void 0 : s.id) === t, p = St(h ? J0 : uO), [g, m] = kl(), [E, x] = kl(), S = ZR(a, t), I = es(n);
15541
+ } = i ?? {}, h = (s == null ? void 0 : s.id) === t, p = Ct(h ? J0 : uO), [g, m] = kl(), [E, x] = kl(), S = ZR(a, t), I = es(n);
15541
15542
  Ur(
15542
15543
  () => (d.set(t, {
15543
15544
  id: t,
@@ -15575,7 +15576,7 @@ function dO(e) {
15575
15576
  };
15576
15577
  }
15577
15578
  function fO() {
15578
- return St(q0);
15579
+ return Ct(q0);
15579
15580
  }
15580
15581
  const hO = "Droppable", pO = {
15581
15582
  timeout: 25
@@ -15592,7 +15593,7 @@ function gO(e) {
15592
15593
  dispatch: l,
15593
15594
  over: s,
15594
15595
  measureDroppableContainers: u
15595
- } = St(Cu), c = ze({
15596
+ } = Ct(Cu), c = ze({
15596
15597
  disabled: n
15597
15598
  }), d = ze(!1), v = ze(null), y = ze(null), {
15598
15599
  disabled: b,
@@ -15874,7 +15875,7 @@ function _O(e) {
15874
15875
  overIndex: h,
15875
15876
  useDragOverlay: p,
15876
15877
  strategy: g
15877
- } = St(eb), m = RO(r, y), E = c.indexOf(a), x = Xe(() => ({
15878
+ } = Ct(eb), m = RO(r, y), E = c.indexOf(a), x = Xe(() => ({
15878
15879
  sortable: {
15879
15880
  containerId: d,
15880
15881
  index: E,
@@ -16043,7 +16044,7 @@ const OO = B(fe)`
16043
16044
  }
16044
16045
  }
16045
16046
  `, DO = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cellipse%20cx='7.48148'%20cy='4.94'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='7.48148'%20cy='10.7'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='7.48148'%20cy='16.46'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='4.94'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='10.7'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='16.46'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3c/svg%3e", PO = ({ field: e, toggleSelected: t, hideNewChip: n }) => {
16046
- const { availableFeatures: r } = St(ln), { key: i, label: o, enabled: a, isFieldNew: l } = e, { attributes: s, listeners: u, setNodeRef: c, transform: d, transition: v } = _O({ id: i }), y = ze(null), [b, f] = Se(!1), h = $a(r) && l && !n, p = {
16047
+ const { availableFeatures: r } = Ct(rn), { key: i, label: o, enabled: a, isFieldNew: l } = e, { attributes: s, listeners: u, setNodeRef: c, transform: d, transition: v } = _O({ id: i }), y = ze(null), [b, f] = Se(!1), h = $a(r) && l && !n, p = {
16047
16048
  transform: ts.Transform.toString(d),
16048
16049
  transition: v
16049
16050
  };
@@ -16342,7 +16343,7 @@ const OO = B(fe)`
16342
16343
  fields: l,
16343
16344
  setVisitedFieldVisTab: s
16344
16345
  }) => {
16345
- const { availableFeatures: u, sendTrackingEvent: c } = St(ln), d = Vi(), v = it(yu), y = it(P0) ?? [], b = it(D0) ?? [], f = it(r_), h = it(n_), { userId: p } = ms() || {}, [g, m] = Se(
16346
+ const { availableFeatures: u, sendTrackingEvent: c } = Ct(rn), d = Vi(), v = it(yu), y = it(P0) ?? [], b = it(D0) ?? [], f = it(r_), h = it(n_), { userId: p } = ms() || {}, [g, m] = Se(
16346
16347
  () => (b == null ? void 0 : b.filter((Q) => n == null ? void 0 : n.includes(Q.id))) ?? []
16347
16348
  ), [E, x] = Se(
16348
16349
  () => (y == null ? void 0 : y.find((Q) => i == null ? void 0 : i.includes(Q.name))) ?? {}
@@ -16387,7 +16388,7 @@ const OO = B(fe)`
16387
16388
  return nt && Vt;
16388
16389
  }
16389
16390
  );
16390
- c(ft.CARD_VISIBILITY_UPDATED, {
16391
+ c(st.CARD_VISIBILITY_UPDATED, {
16391
16392
  new_status: de.length && (E != null && E.name) ? Np : Dp,
16392
16393
  pre_status: n != null && n.length && (y != null && y.length) ? Np : Dp,
16393
16394
  connector_name: me,
@@ -16400,9 +16401,9 @@ const OO = B(fe)`
16400
16401
  cr({ message: _A, type: Oi });
16401
16402
  }).finally(() => e());
16402
16403
  }, V = () => {
16403
- e(), c(ft.CARD_VISIBILITY_UPDATE_CLOSED);
16404
+ e(), c(st.CARD_VISIBILITY_UPDATE_CLOSED);
16404
16405
  }, ee = (Q, re) => {
16405
- A(re), re === Ui.FIELD_VISIBILITY.ID && (c(ft.CONNECTOR_VISIBILITY_FIELD_TAB_CLICKED), s(!0));
16406
+ A(re), re === Ui.FIELD_VISIBILITY.ID && (c(st.CONNECTOR_VISIBILITY_FIELD_TAB_CLICKED), s(!0));
16406
16407
  }, ne = (Q, re) => {
16407
16408
  var ie;
16408
16409
  const de = (ie = Object.values(Ui).find((me) => me.ID === Q)) == null ? void 0 : ie.LABEL;
@@ -16492,10 +16493,10 @@ const qO = B(fe)`
16492
16493
  }
16493
16494
  `, KO = ({ infoCard: e, currentConnectorId: t, setShowEnabledModal: n }) => {
16494
16495
  var I, C;
16495
- const r = ((I = e.inboxes) == null ? void 0 : I.email) || [], i = ((C = e.inboxes) == null ? void 0 : C.chat) || [], o = e.roles ?? [], a = e.fields ?? [], { isCardNew: l } = e, s = r.length + i.length, u = s > 0 && o.length > 0, [c, d] = Se(!1), [v, y] = Se(!1), { availableFeatures: b, userPermissions: f, sendTrackingEvent: h } = St(ln), p = Px(f), { userId: g } = ms() || {}, m = (A) => {
16496
+ const r = ((I = e.inboxes) == null ? void 0 : I.email) || [], i = ((C = e.inboxes) == null ? void 0 : C.chat) || [], o = e.roles ?? [], a = e.fields ?? [], { isCardNew: l } = e, s = r.length + i.length, u = s > 0 && o.length > 0, [c, d] = Se(!1), [v, y] = Se(!1), { availableFeatures: b, userPermissions: f, sendTrackingEvent: h } = Ct(rn), p = Px(f), { userId: g } = ms() || {}, m = (A) => {
16496
16497
  d(A), !A && g && (MO(e.id, g), v && kO(e.id, g));
16497
16498
  }, E = () => {
16498
- d(!0), h(ft.CONFIGURE_VISIBILITY_CLICKED);
16499
+ d(!0), h(st.CONFIGURE_VISIBILITY_CLICKED);
16499
16500
  }, x = Xe(
16500
16501
  () => $a(b) && l && g && !BO(e.id, g),
16501
16502
  /* eslint-disable-next-line react-hooks/exhaustive-deps */
@@ -16574,9 +16575,9 @@ const qO = B(fe)`
16574
16575
  isEdit: n = !1,
16575
16576
  isConnectorCard: r = !1
16576
16577
  }) => {
16577
- const { sendTrackingEvent: i } = St(ln), { id: o, name: a, logo: l, description: s, isAuthenticated: u, showUpgradeButton: c = !1, updates: d } = e, v = it(t_), y = it(N0), b = it(xf), [f, h] = Se(!1), p = Vi(), g = Gi(), m = (U, Z) => {
16578
+ const { sendTrackingEvent: i } = Ct(rn), { id: o, name: a, logo: l, description: s, isAuthenticated: u, showUpgradeButton: c = !1, updates: d } = e, v = it(t_), y = it(N0), b = it(xf), [f, h] = Se(!1), p = Vi(), g = Gi(), m = (U, Z) => {
16578
16579
  U == null || U.stopPropagation(), p(tl({ id: Z, enabled: U.target.checked })).unwrap().then(() => {
16579
- U.target.checked ? i(ft.TOGGLE_ENABLED, { connector_name: a }) : (i(ft.TOGGLE_DISABLED, { connector_name: a }), cr({
16580
+ U.target.checked ? i(st.TOGGLE_ENABLED, { connector_name: a }) : (i(st.TOGGLE_DISABLED, { connector_name: a }), cr({
16580
16581
  message: g_,
16581
16582
  type: L0
16582
16583
  }));
@@ -16587,9 +16588,9 @@ const qO = B(fe)`
16587
16588
  });
16588
16589
  });
16589
16590
  }, E = (U, Z) => {
16590
- U == null || U.stopPropagation(), i(ft.ADD_CONNECTOR_CLICKED, { connector_name: a }), g(`${et.BASEPATH}${et.CONNECTOR_SETTINGS}/${Z}`);
16591
+ U == null || U.stopPropagation(), i(st.ADD_CONNECTOR_CLICKED, { connector_name: a }), g(`${et.BASEPATH}${et.CONNECTOR_SETTINGS}/${Z}`);
16591
16592
  }, x = (U, Z) => {
16592
- U == null || U.stopPropagation(), i(ft.SETTINGS_CLICKED, { connector_name: a }), g(`${et.BASEPATH}${et.CONNECTOR_SETTINGS}/${Z}?isEdit=true`);
16593
+ U == null || U.stopPropagation(), i(st.SETTINGS_CLICKED, { connector_name: a }), g(`${et.BASEPATH}${et.CONNECTOR_SETTINGS}/${Z}?isEdit=true`);
16593
16594
  }, S = (U, Z = "") => {
16594
16595
  U == null || U.preventDefault(), U == null || U.stopPropagation(), !t && g(`${et.BASEPATH}${et.API_VIEW}/${Z}?isEdit=true`);
16595
16596
  }, I = (U) => {
@@ -16700,10 +16701,10 @@ const qO = B(fe)`
16700
16701
  handleSubmit: o,
16701
16702
  isApiText: a
16702
16703
  }) => {
16703
- const { sendTrackingEvent: l } = St(ln), u = it(ab) === Te.LOADING, c = r.length === 0 ? a ? qT : JT : "";
16704
+ const { sendTrackingEvent: l } = Ct(rn), u = it(ab) === Te.LOADING, c = r.length === 0 ? a ? qT : JT : "";
16704
16705
  return _e(() => {
16705
16706
  l(
16706
- a ? ft.REQUEST_NEW_FEATURE_SHOWN : ft.REQUEST_NEW_CONNECTOR_SHOWN
16707
+ a ? st.REQUEST_NEW_FEATURE_SHOWN : st.REQUEST_NEW_CONNECTOR_SHOWN
16707
16708
  );
16708
16709
  }, [l, a]), /* @__PURE__ */ w.jsx(fe, { "data-testid": "request-panel", children: /* @__PURE__ */ w.jsxs(fe, { padding: "30px", height: "100%", children: [
16709
16710
  /* @__PURE__ */ w.jsx(fe, { width: "440px", height: "100%", children: /* @__PURE__ */ w.jsxs(fe, { gap: "14px", children: [
@@ -16779,11 +16780,11 @@ const qO = B(fe)`
16779
16780
  connectorType: n,
16780
16781
  isApi: r = !1
16781
16782
  }) => {
16782
- const { sendTrackingEvent: i } = St(ln), o = Vi(), a = it(o3), l = it(a3), s = it(ab), [u, c] = Se(""), [d, v] = Se([]), [y, b] = Se([]), [f, h] = Se(!1), [p, g] = Se(!1), m = () => {
16783
+ const { sendTrackingEvent: i } = Ct(rn), o = Vi(), a = it(o3), l = it(a3), s = it(ab), [u, c] = Se(""), [d, v] = Se([]), [y, b] = Se([]), [f, h] = Se(!1), [p, g] = Se(!1), m = () => {
16783
16784
  const I = r ? _p.API : _p.CONNECTOR, C = y.map((A) => A.id);
16784
16785
  o(ul({ type: I, values: C, description: u })).unwrap().then(() => {
16785
16786
  i(
16786
- r ? ft.REQUEST_NEW_FEATURE_SUBMIT_CLICKED : ft.REQUEST_NEW_CONNECTOR_SUBMIT_CLICKED
16787
+ r ? st.REQUEST_NEW_FEATURE_SUBMIT_CLICKED : st.REQUEST_NEW_CONNECTOR_SUBMIT_CLICKED
16787
16788
  ), g(!0);
16788
16789
  }).catch(() => {
16789
16790
  cr({ message: sA, type: Oi });
@@ -16813,11 +16814,11 @@ const qO = B(fe)`
16813
16814
  }, [y, u]);
16814
16815
  const E = p && s !== Te.LOADING, x = (I) => {
16815
16816
  I || i(
16816
- r ? ft.REQUEST_NEW_FEATURE_CLOSE_CLICKED : ft.REQUEST_NEW_CONNECTOR_CLOSE_CLICKED
16817
- ), console.log("SSSSSSSSSSS 3"), t(I);
16817
+ r ? st.REQUEST_NEW_FEATURE_CLOSE_CLICKED : st.REQUEST_NEW_CONNECTOR_CLOSE_CLICKED
16818
+ ), t(I);
16818
16819
  }, S = () => {
16819
- console.log("SSSSSSSSSSS 4"), t(!1), i(
16820
- r ? ft.REQUEST_NEW_FEATURE_DONE_CLICKED : ft.REQUEST_NEW_CONNECTOR_DONE_CLICKED
16820
+ t(!1), i(
16821
+ r ? st.REQUEST_NEW_FEATURE_DONE_CLICKED : st.REQUEST_NEW_CONNECTOR_DONE_CLICKED
16821
16822
  );
16822
16823
  };
16823
16824
  return /* @__PURE__ */ w.jsxs(Cf, { shown: e, setShown: x, showCloseButton: !0, children: [
@@ -16928,7 +16929,7 @@ const qO = B(fe)`
16928
16929
  height: 16px;
16929
16930
  width: 16px;
16930
16931
  `, Lf = ({ isApiViewPage: e = !1, isSettingsPage: t = !1 }) => {
16931
- const { availableFeatures: n, sendTrackingEvent: r } = St(ln), { DETAILS_PAGE: i, AUTH_PAGE: o, CONNECTORS_PAGE_ADMIN_SIDE: a } = lA, l = t ? o : e ? i : a, s = sv({ "settings-page": t, "api-view-page": e }), [u, c] = Se(() => {
16932
+ const { availableFeatures: n, sendTrackingEvent: r } = Ct(rn), { DETAILS_PAGE: i, AUTH_PAGE: o, CONNECTORS_PAGE_ADMIN_SIDE: a } = lA, l = t ? o : e ? i : a, s = sv({ "settings-page": t, "api-view-page": e }), [u, c] = Se(() => {
16932
16933
  const y = localStorage.getItem(ic) === "true";
16933
16934
  return (t || !y) && Hr(n, gx);
16934
16935
  });
@@ -16936,11 +16937,11 @@ const qO = B(fe)`
16936
16937
  localStorage.getItem(ic) === "true" && !t && c(!1);
16937
16938
  }, [t]);
16938
16939
  const d = () => {
16939
- window.open(N3, "_blank"), r(ft.SCHEDULE_CALL_CLICKED, {
16940
+ window.open(N3, "_blank"), r(st.SCHEDULE_CALL_CLICKED, {
16940
16941
  source: l
16941
16942
  });
16942
16943
  }, v = () => {
16943
- localStorage.setItem(ic, "true"), c(!1), r(ft.SCHEDULE_CALL_CROSS_CLICKED, {
16944
+ localStorage.setItem(ic, "true"), c(!1), r(st.SCHEDULE_CALL_CROSS_CLICKED, {
16944
16945
  source: l
16945
16946
  });
16946
16947
  };
@@ -16958,14 +16959,14 @@ const qO = B(fe)`
16958
16959
  t ? null : /* @__PURE__ */ w.jsx("div", { className: "schedule-close", children: /* @__PURE__ */ w.jsx(fr, { title: "Close", placement: "bottom", children: /* @__PURE__ */ w.jsx(ea, { onClick: v, children: /* @__PURE__ */ w.jsx(k3, {}) }) }) })
16959
16960
  ] }) : null;
16960
16961
  }, $p = () => {
16961
- const e = Vi(), { connectorFunctions: t } = St(ln), [n, r] = Se(!1), [i, o] = Se(!1), a = it(O0), l = it(Wv), s = it(N0), u = !!a.length, c = !!l.length, { sendTrackingEvent: d } = St(ln), v = s === Te.LOADING;
16962
+ const e = Vi(), { connectorFunctions: t } = Ct(rn), [n, r] = Se(!1), [i, o] = Se(!1), a = it(O0), l = it(Wv), s = it(N0), u = !!a.length, c = !!l.length, { sendTrackingEvent: d } = Ct(rn), v = s === Te.LOADING;
16962
16963
  _e(() => {
16963
16964
  t && (e(nl(t.getInboxDetails)), e(il(t.getRoles)));
16964
16965
  }, [t, e]), _e(() => {
16965
16966
  e(ol()), e(ll());
16966
16967
  }, [e]);
16967
16968
  const y = (f, h = !1) => {
16968
- console.log("SSSSSSSSSSS 0"), r(f), o(!1), h && d(ft.REQUEST_NEW_CLICKED);
16969
+ r(f), o(!1), h && d(st.REQUEST_NEW_CLICKED);
16969
16970
  }, b = (f) => {
16970
16971
  o(f), r(!1);
16971
16972
  };
@@ -16978,7 +16979,7 @@ const qO = B(fe)`
16978
16979
  {
16979
16980
  "data-testid": "connector-available-request-new",
16980
16981
  onClick: () => {
16981
- console.log("SSSSSSSSSSS 1"), y(!0, !0);
16982
+ y(!0, !0);
16982
16983
  },
16983
16984
  children: T0
16984
16985
  }
@@ -17041,13 +17042,13 @@ const qO = B(fe)`
17041
17042
  }
17042
17043
  }
17043
17044
  `, W3 = ({ sidebarOptions: e = [] }) => {
17044
- const { currentSideBar: t, setCurrentSideBar: n, sendTrackingEvent: r } = St(ln), i = Gi(), { pathname: o } = ji();
17045
+ const { currentSideBar: t, setCurrentSideBar: n, sendTrackingEvent: r } = Ct(rn), i = Gi(), { pathname: o } = ji();
17045
17046
  _e(() => {
17046
17047
  const s = e.find((c) => et.BASEPATH + c.route === o), u = Object.keys(ep).find((c) => ep[c].includes(o));
17047
17048
  s != null && s.value && (s == null ? void 0 : s.value) !== t ? n(s.value) : u && u !== t && n(u);
17048
17049
  }, [o]);
17049
17050
  const a = (s, u, c, d) => {
17050
- s.stopPropagation(), n(c), r(ft.TAB_CLICKED, { tab: d }), i(u);
17051
+ s.stopPropagation(), n(c), r(st.TAB_CLICKED, { tab: d }), i(u);
17051
17052
  }, l = () => /* @__PURE__ */ w.jsx(V3, { children: e.map(({ id: s, value: u, route: c }) => {
17052
17053
  const d = t === u;
17053
17054
  return /* @__PURE__ */ w.jsx(
@@ -17099,8 +17100,8 @@ const qO = B(fe)`
17099
17100
  border: 1px solid ${Me.palette.purple.primary} !important;
17100
17101
  }
17101
17102
  `, K3 = ({ connectorName: e, connectorType: t, apiList: n, isLoading: r = !1, isEdit: i = !1 }) => {
17102
- const { sendTrackingEvent: o } = St(ln), a = X3.replace("{{connector}}", e ?? ""), [l, s] = Se(!1), u = () => {
17103
- o(ft.REQUEST_NEW_FEATURE_CLICKED, { connector_name: e }), s(!0);
17103
+ const { sendTrackingEvent: o } = Ct(rn), a = X3.replace("{{connector}}", e ?? ""), [l, s] = Se(!1), u = () => {
17104
+ o(st.REQUEST_NEW_FEATURE_CLICKED, { connector_name: e }), s(!0);
17104
17105
  };
17105
17106
  return /* @__PURE__ */ w.jsx(J3, { children: r ? /* @__PURE__ */ w.jsx(q3, {}) : /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
17106
17107
  /* @__PURE__ */ w.jsx(Pf, { shown: l, setShown: s, isApi: !0, connectorType: t }),
@@ -18068,8 +18069,8 @@ const gN = /* @__PURE__ */ eu(pb);
18068
18069
  for (var he = {}, ge = q[K], Ee = (0, W.default)(K), rt = Object.keys(pe), Ze = 0; Ze < rt.length; Ze++) {
18069
18070
  var at = rt[Ze];
18070
18071
  if (at === K)
18071
- for (var lt = 0; lt < ge.length; lt++)
18072
- he[ge[lt] + Ee] = pe[K];
18072
+ for (var ut = 0; ut < ge.length; ut++)
18073
+ he[ge[ut] + Ee] = pe[K];
18073
18074
  he[at] = pe[at];
18074
18075
  }
18075
18076
  return he;
@@ -18128,17 +18129,17 @@ const gN = /* @__PURE__ */ eu(pb);
18128
18129
  var ge = he.prefixMap, Ee = he.plugins;
18129
18130
  return function rt(Ze) {
18130
18131
  for (var at in Ze) {
18131
- var lt = Ze[at];
18132
- if ((0, q.default)(lt))
18133
- Ze[at] = rt(lt);
18134
- else if (Array.isArray(lt)) {
18135
- for (var Tt = [], $t = 0, Pn = lt.length; $t < Pn; ++$t) {
18136
- var Eo = (0, P.default)(Ee, at, lt[$t], Ze, ge);
18137
- (0, H.default)(Tt, Eo || lt[$t]);
18132
+ var ut = Ze[at];
18133
+ if ((0, q.default)(ut))
18134
+ Ze[at] = rt(ut);
18135
+ else if (Array.isArray(ut)) {
18136
+ for (var Tt = [], $t = 0, Pn = ut.length; $t < Pn; ++$t) {
18137
+ var Eo = (0, P.default)(Ee, at, ut[$t], Ze, ge);
18138
+ (0, H.default)(Tt, Eo || ut[$t]);
18138
18139
  }
18139
18140
  Tt.length > 0 && (Ze[at] = Tt);
18140
18141
  } else {
18141
- var ma = (0, P.default)(Ee, at, lt, Ze, ge);
18142
+ var ma = (0, P.default)(Ee, at, ut, Ze, ge);
18142
18143
  ma && (Ze[at] = ma), Ze = (0, W.default)(ge, at, Ze);
18143
18144
  }
18144
18145
  }
@@ -18329,17 +18330,17 @@ const gN = /* @__PURE__ */ eu(pb);
18329
18330
  });
18330
18331
  var W = /* @__PURE__ */ function() {
18331
18332
  function he(ge, Ee) {
18332
- var rt = [], Ze = !0, at = !1, lt = void 0;
18333
+ var rt = [], Ze = !0, at = !1, ut = void 0;
18333
18334
  try {
18334
18335
  for (var Tt = ge[Symbol.iterator](), $t; !(Ze = ($t = Tt.next()).done) && (rt.push($t.value), !(Ee && rt.length === Ee)); Ze = !0)
18335
18336
  ;
18336
18337
  } catch (Pn) {
18337
- at = !0, lt = Pn;
18338
+ at = !0, ut = Pn;
18338
18339
  } finally {
18339
18340
  try {
18340
18341
  !Ze && Tt.return && Tt.return();
18341
18342
  } finally {
18342
- if (at) throw lt;
18343
+ if (at) throw ut;
18343
18344
  }
18344
18345
  }
18345
18346
  return rt;
@@ -18369,8 +18370,8 @@ const gN = /* @__PURE__ */ eu(pb);
18369
18370
  else {
18370
18371
  var rt = ge.split("/").map(function(Tt) {
18371
18372
  return +Tt;
18372
- }), Ze = W(rt, 2), at = Ze[0], lt = Ze[1];
18373
- K.gridColumnStart(at, Ee), K.gridColumnEnd(lt, Ee);
18373
+ }), Ze = W(rt, 2), at = Ze[0], ut = Ze[1];
18374
+ K.gridColumnStart(at, Ee), K.gridColumnEnd(ut, Ee);
18374
18375
  }
18375
18376
  },
18376
18377
  gridColumnEnd: function(ge, Ee) {
@@ -18386,8 +18387,8 @@ const gN = /* @__PURE__ */ eu(pb);
18386
18387
  else {
18387
18388
  var rt = ge.split("/").map(function(Tt) {
18388
18389
  return +Tt;
18389
- }), Ze = W(rt, 2), at = Ze[0], lt = Ze[1];
18390
- K.gridRowStart(at, Ee), K.gridRowEnd(lt, Ee);
18390
+ }), Ze = W(rt, 2), at = Ze[0], ut = Ze[1];
18391
+ K.gridRowStart(at, Ee), K.gridRowEnd(ut, Ee);
18391
18392
  }
18392
18393
  },
18393
18394
  gridRowEnd: function(ge, Ee) {
@@ -18430,7 +18431,7 @@ const gN = /* @__PURE__ */ eu(pb);
18430
18431
  return pe.replace(/image-set\(/g, he + "image-set(");
18431
18432
  });
18432
18433
  }
18433
- }), Ct = C(Qt), zn = A(function(z, R) {
18434
+ }), wt = C(Qt), zn = A(function(z, R) {
18434
18435
  Object.defineProperty(R, "__esModule", {
18435
18436
  value: !0
18436
18437
  }), R.default = P;
@@ -18547,7 +18548,7 @@ const gN = /* @__PURE__ */ eu(pb);
18547
18548
  function he(Ee, rt) {
18548
18549
  if ((0, P.default)(Ee))
18549
18550
  return Ee;
18550
- for (var Ze = Ee.split(/,(?![^()]*(?:\([^()]*\))?\))/g), at = 0, lt = Ze.length; at < lt; ++at) {
18551
+ for (var Ze = Ee.split(/,(?![^()]*(?:\([^()]*\))?\))/g), at = 0, ut = Ze.length; at < ut; ++at) {
18551
18552
  var Tt = Ze[at], $t = [Tt];
18552
18553
  for (var Pn in rt) {
18553
18554
  var Eo = (0, W.default)(Pn);
@@ -18561,19 +18562,19 @@ const gN = /* @__PURE__ */ eu(pb);
18561
18562
  }
18562
18563
  function ge(Ee, rt, Ze, at) {
18563
18564
  if (typeof rt == "string" && K.hasOwnProperty(Ee)) {
18564
- var lt = he(rt, at), Tt = lt.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(Pn) {
18565
+ var ut = he(rt, at), Tt = ut.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(Pn) {
18565
18566
  return !/-moz-|-ms-/.test(Pn);
18566
18567
  }).join(",");
18567
18568
  if (Ee.indexOf("Webkit") > -1)
18568
18569
  return Tt;
18569
- var $t = lt.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(Pn) {
18570
+ var $t = ut.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(Pn) {
18570
18571
  return !/-webkit-|-ms-/.test(Pn);
18571
18572
  }).join(",");
18572
- return Ee.indexOf("Moz") > -1 ? $t : (Ze["Webkit" + (0, H.default)(Ee)] = Tt, Ze["Moz" + (0, H.default)(Ee)] = $t, lt);
18573
+ return Ee.indexOf("Moz") > -1 ? $t : (Ze["Webkit" + (0, H.default)(Ee)] = Tt, Ze["Moz" + (0, H.default)(Ee)] = $t, ut);
18573
18574
  }
18574
18575
  }
18575
18576
  }), qr = C(mn), Ie = ["Webkit"], pr = ["Moz"], ir = ["ms"], Nt = ["Webkit", "Moz"], ot = ["Webkit", "ms"], Et = ["Webkit", "Moz", "ms"], Dt = {
18576
- plugins: [ye, ne, re, ie, xe, ve, j, Ge, Vt, Wt, Ct, hn, ci, Nn, qr],
18577
+ plugins: [ye, ne, re, ie, xe, ve, j, Ge, Vt, Wt, wt, hn, ci, Nn, qr],
18577
18578
  prefixMap: {
18578
18579
  transform: ot,
18579
18580
  transformOrigin: ot,
@@ -18701,12 +18702,12 @@ const gN = /* @__PURE__ */ eu(pb);
18701
18702
  K.addStyleType(W[pe]);
18702
18703
  var he = new I(), ge = [];
18703
18704
  K.forEach(function(rt, Ze) {
18704
- var at = P.some(function(lt) {
18705
- var Tt = lt(Ze, R, function($t) {
18705
+ var at = P.some(function(ut) {
18706
+ var Tt = ut(Ze, R, function($t) {
18706
18707
  return z($t, [rt], P, H, q);
18707
18708
  });
18708
18709
  if (Tt != null)
18709
- return Array.isArray(Tt) ? ge.push.apply(ge, l(Tt)) : (console.warn("WARNING: Selector handlers should return an array of rules.Returning a string containing multiple rules is deprecated.", lt), ge.push("@media all {".concat(Tt, "}"))), !0;
18710
+ return Array.isArray(Tt) ? ge.push.apply(ge, l(Tt)) : (console.warn("WARNING: Selector handlers should return an array of rules.Returning a string containing multiple rules is deprecated.", ut), ge.push("@media all {".concat(Tt, "}"))), !0;
18710
18711
  });
18711
18712
  at || he.set(Ze, rt, !0);
18712
18713
  });
@@ -18725,7 +18726,7 @@ const gN = /* @__PURE__ */ eu(pb);
18725
18726
  !1
18726
18727
  );
18727
18728
  }
18728
- }, rn = function(R, W, P) {
18729
+ }, on = function(R, W, P) {
18729
18730
  return (
18730
18731
  /* : string */
18731
18732
  "".concat(y(R), ":").concat(P(R, W), ";")
@@ -18746,13 +18747,13 @@ const gN = /* @__PURE__ */ eu(pb);
18746
18747
  W.keyOrder.unshift(he[ge]);
18747
18748
  }
18748
18749
  }
18749
- for (var Ze = H === !1 ? p : g, at = [], lt = 0; lt < W.keyOrder.length; lt++) {
18750
- var Tt = W.keyOrder[lt], $t = pe[Tt];
18750
+ for (var Ze = H === !1 ? p : g, at = [], ut = 0; ut < W.keyOrder.length; ut++) {
18751
+ var Tt = W.keyOrder[ut], $t = pe[Tt];
18751
18752
  if (Array.isArray($t))
18752
18753
  for (var Pn = 0; Pn < $t.length; Pn++)
18753
- at.push(rn(Tt, $t[Pn], Ze));
18754
+ at.push(on(Tt, $t[Pn], Ze));
18754
18755
  else
18755
- at.push(rn(Tt, $t, Ze));
18756
+ at.push(on(Tt, $t, Ze));
18756
18757
  }
18757
18758
  return at.length ? "".concat(R, "{").concat(at.join(""), "}") : "";
18758
18759
  }, Rt = null, $n = function(R) {
@@ -18872,16 +18873,16 @@ const gN = /* @__PURE__ */ eu(pb);
18872
18873
  else
18873
18874
  throw new Error("Invalid Style Definition: Styles should be defined using the StyleSheet.create method.");
18874
18875
  return H;
18875
- }, wt = function(R, W, P) {
18876
+ }, It = function(R, W, P) {
18876
18877
  var H = [], q = [], K = We(W, H, q, 0);
18877
18878
  if (H.length === 0)
18878
18879
  return "";
18879
18880
  var pe;
18880
18881
  return process.env.NODE_ENV === "production" ? pe = H.length === 1 ? "_".concat(H[0]) : "_".concat(m(H.join())).concat((K % 36).toString(36)) : pe = H.join("-o_O-"), T(pe, ".".concat(pe), q, R, P), pe;
18881
- }, st = function(R, W) {
18882
+ }, lt = function(R, W) {
18882
18883
  return "".concat(W, "_").concat(m(R));
18883
18884
  }, Mt = function() {
18884
- return process.env.NODE_ENV === "production" ? m : st;
18885
+ return process.env.NODE_ENV === "production" ? m : lt;
18885
18886
  }, bn = Mt(), Rr = {
18886
18887
  create: function(R) {
18887
18888
  for (var W = {}, P = Object.keys(R), H = 0; H < P.length; H += 1) {
@@ -18972,15 +18973,15 @@ const gN = /* @__PURE__ */ eu(pb);
18972
18973
  StyleSheetServer: or,
18973
18974
  StyleSheetTestUtils: yo,
18974
18975
  minify: function(P) {
18975
- bn = P ? m : st;
18976
+ bn = P ? m : lt;
18976
18977
  },
18977
18978
  css: function() {
18978
18979
  for (var P = arguments.length, H = new Array(P), q = 0; q < P; q++)
18979
18980
  H[q] = arguments[q];
18980
- return wt(z, H, R);
18981
+ return It(z, H, R);
18981
18982
  },
18982
18983
  flushToStyleTag: ae,
18983
- injectAndGetClassName: wt,
18984
+ injectAndGetClassName: It,
18984
18985
  defaultSelectorHandlers: un,
18985
18986
  reset: L,
18986
18987
  resetInjectedStyle: Y
@@ -20663,13 +20664,13 @@ var Z4 = kt(function(e, t) {
20663
20664
  return c.indexOf("Moz") > -1 ? h : (v["Webkit" + (0, i.default)(c)] = f, v["Moz" + (0, i.default)(c)] = h, b);
20664
20665
  }
20665
20666
  }
20666
- }), Y4 = Ft(Z4), Ae = ["Webkit"], hc = ["Moz"], Ws = ["ms"], yn = ["Webkit", "Moz"], on = ["Webkit", "ms"], Ta = ["Webkit", "Moz", "ms"], q4 = {
20667
+ }), Y4 = Ft(Z4), Ae = ["Webkit"], hc = ["Moz"], Ws = ["ms"], yn = ["Webkit", "Moz"], an = ["Webkit", "ms"], Ta = ["Webkit", "Moz", "ms"], q4 = {
20667
20668
  plugins: [g4, v4, y4, x4, w4, S4, A4, R4, N4, P4, F4, M4, j4, V4, Y4],
20668
20669
  prefixMap: {
20669
- transform: on,
20670
- transformOrigin: on,
20671
- transformOriginX: on,
20672
- transformOriginY: on,
20670
+ transform: an,
20671
+ transformOrigin: an,
20672
+ transformOriginX: an,
20673
+ transformOriginY: an,
20673
20674
  backfaceVisibility: Ae,
20674
20675
  perspective: Ae,
20675
20676
  perspectiveOrigin: Ae,
@@ -20729,14 +20730,14 @@ var Z4 = kt(function(e, t) {
20729
20730
  columns: yn,
20730
20731
  columnSpan: yn,
20731
20732
  columnWidth: yn,
20732
- writingMode: on,
20733
- flex: on,
20733
+ writingMode: an,
20734
+ flex: an,
20734
20735
  flexBasis: Ae,
20735
- flexDirection: on,
20736
+ flexDirection: an,
20736
20737
  flexGrow: Ae,
20737
- flexFlow: on,
20738
+ flexFlow: an,
20738
20739
  flexShrink: Ae,
20739
- flexWrap: on,
20740
+ flexWrap: an,
20740
20741
  alignContent: Ae,
20741
20742
  alignItems: Ae,
20742
20743
  alignSelf: Ae,
@@ -20747,18 +20748,18 @@ var Z4 = kt(function(e, t) {
20747
20748
  transitionProperty: Ae,
20748
20749
  transitionTimingFunction: Ae,
20749
20750
  backdropFilter: Ae,
20750
- scrollSnapType: on,
20751
- scrollSnapPointsX: on,
20752
- scrollSnapPointsY: on,
20753
- scrollSnapDestination: on,
20754
- scrollSnapCoordinate: on,
20751
+ scrollSnapType: an,
20752
+ scrollSnapPointsX: an,
20753
+ scrollSnapPointsY: an,
20754
+ scrollSnapDestination: an,
20755
+ scrollSnapCoordinate: an,
20755
20756
  shapeImageThreshold: Ae,
20756
20757
  shapeImageMargin: Ae,
20757
20758
  shapeImageOutside: Ae,
20758
20759
  hyphens: Ta,
20759
- flowInto: on,
20760
- flowFrom: on,
20761
- regionFragment: on,
20760
+ flowInto: an,
20761
+ flowFrom: an,
20762
+ regionFragment: an,
20762
20763
  textOrientation: Ae,
20763
20764
  boxSizing: hc,
20764
20765
  textAlignLast: hc,
@@ -20767,7 +20768,7 @@ var Z4 = kt(function(e, t) {
20767
20768
  wrapThrough: Ws,
20768
20769
  wrapMargin: Ws,
20769
20770
  touchAction: Ws,
20770
- textSizeAdjust: on,
20771
+ textSizeAdjust: an,
20771
20772
  borderImage: Ae,
20772
20773
  borderImageOutset: Ae,
20773
20774
  borderImageRepeat: Ae,
@@ -22504,12 +22505,12 @@ const cP = {
22504
22505
  margin: 0;
22505
22506
  }
22506
22507
  `, NP = () => {
22507
- const { availableFeatures: e, sendTrackingEvent: t } = St(ln), n = Gi(), r = it(yu), i = it(rf), o = it(xf), a = it(Hv), l = Vi(), { id: s = "" } = b0(), [u] = I0(), c = u.get("isEdit") === "true", d = (r == null ? void 0 : r[s]) || null, v = (i == null ? void 0 : i[s]) || null;
22508
+ const { availableFeatures: e, sendTrackingEvent: t } = Ct(rn), n = Gi(), r = it(yu), i = it(rf), o = it(xf), a = it(Hv), l = Vi(), { id: s = "" } = b0(), [u] = I0(), c = u.get("isEdit") === "true", d = (r == null ? void 0 : r[s]) || null, v = (i == null ? void 0 : i[s]) || null;
22508
22509
  _e(() => {
22509
22510
  l(c ? Ba(s) : Ma(s));
22510
22511
  }, [c, l, s]);
22511
22512
  const y = (g) => {
22512
- g == null || g.stopPropagation(), t(ft.CONNECTOR_BACK_CLICKED, { connector_name: b == null ? void 0 : b.name }), n(et.BASEPATH);
22513
+ g == null || g.stopPropagation(), t(st.CONNECTOR_BACK_CLICKED, { connector_name: b == null ? void 0 : b.name }), n(et.BASEPATH);
22513
22514
  }, b = c ? d : v, f = !!(b != null && b.carouselImages) && b.carouselImages.length > 0, h = o === Te.LOADING || a === Te.LOADING, p = Hr(e, bx) && (h || f);
22514
22515
  return /* @__PURE__ */ w.jsxs(oe.Fragment, { children: [
22515
22516
  c ? null : /* @__PURE__ */ w.jsx(Lf, { isApiViewPage: !0 }),
@@ -22688,7 +22689,7 @@ function QP() {
22688
22689
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
22689
22690
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
22690
22691
  }
22691
- function an(e, t) {
22692
+ function sn(e, t) {
22692
22693
  return qP(e) || JP(e, t) || ry(e, t) || QP();
22693
22694
  }
22694
22695
  function KP(e, t) {
@@ -22711,7 +22712,7 @@ function Zr(e, t) {
22711
22712
  }
22712
22713
  var eL = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
22713
22714
  function iy(e) {
22714
- var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, o = e.defaultValue, a = o === void 0 ? null : o, l = e.inputValue, s = e.menuIsOpen, u = e.onChange, c = e.onInputChange, d = e.onMenuClose, v = e.onMenuOpen, y = e.value, b = Zr(e, eL), f = Se(l !== void 0 ? l : n), h = an(f, 2), p = h[0], g = h[1], m = Se(s !== void 0 ? s : i), E = an(m, 2), x = E[0], S = E[1], I = Se(y !== void 0 ? y : a), C = an(I, 2), A = C[0], F = C[1], k = tt(function(se, ye) {
22715
+ var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, o = e.defaultValue, a = o === void 0 ? null : o, l = e.inputValue, s = e.menuIsOpen, u = e.onChange, c = e.onInputChange, d = e.onMenuClose, v = e.onMenuOpen, y = e.value, b = Zr(e, eL), f = Se(l !== void 0 ? l : n), h = sn(f, 2), p = h[0], g = h[1], m = Se(s !== void 0 ? s : i), E = sn(m, 2), x = E[0], S = E[1], I = Se(y !== void 0 ? y : a), C = sn(I, 2), A = C[0], F = C[1], k = tt(function(se, ye) {
22715
22716
  typeof u == "function" && u(se, ye), F(se);
22716
22717
  }, [u]), X = tt(function(se, ye) {
22717
22718
  var V;
@@ -22860,7 +22861,7 @@ var hL = /* @__PURE__ */ function() {
22860
22861
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
22861
22862
  }), this.tags = [], this.ctr = 0;
22862
22863
  }, e;
22863
- }(), En = "-ms-", Ul = "-moz-", ut = "-webkit-", ay = "comm", qf = "rule", Jf = "decl", pL = "@import", sy = "@keyframes", gL = "@layer", mL = Math.abs, Tu = String.fromCharCode, vL = Object.assign;
22864
+ }(), En = "-ms-", Ul = "-moz-", ct = "-webkit-", ay = "comm", qf = "rule", Jf = "decl", pL = "@import", sy = "@keyframes", gL = "@layer", mL = Math.abs, Tu = String.fromCharCode, vL = Object.assign;
22864
22865
  function bL(e, t) {
22865
22866
  return fn(e, 0) ^ 45 ? (((t << 2 ^ fn(e, 0)) << 2 ^ fn(e, 1)) << 2 ^ fn(e, 2)) << 2 ^ fn(e, 3) : 0;
22866
22867
  }
@@ -22870,7 +22871,7 @@ function ly(e) {
22870
22871
  function yL(e, t) {
22871
22872
  return (e = t.exec(e)) ? e[0] : e;
22872
22873
  }
22873
- function ct(e, t, n) {
22874
+ function dt(e, t, n) {
22874
22875
  return e.replace(t, n);
22875
22876
  }
22876
22877
  function Dd(e, t) {
@@ -23007,7 +23008,7 @@ function bl(e, t, n, r, i, o, a, l, s) {
23007
23008
  switch (b = g, g = er()) {
23008
23009
  case 40:
23009
23010
  if (b != 108 && fn(I, d - 1) == 58) {
23010
- Dd(I += ct(vl(g), "&", "&\f"), "&\f") != -1 && (p = -1);
23011
+ Dd(I += dt(vl(g), "&", "&\f"), "&\f") != -1 && (p = -1);
23011
23012
  break;
23012
23013
  }
23013
23014
  case 34:
@@ -23044,7 +23045,7 @@ function bl(e, t, n, r, i, o, a, l, s) {
23044
23045
  case 125:
23045
23046
  h = 0;
23046
23047
  case 59 + c:
23047
- p == -1 && (I = ct(I, /\f/g, "")), y > 0 && kr(I) - d && Us(y > 32 ? Ag(I + ";", r, n, d - 1) : Ag(ct(I, " ", "") + ";", r, n, d - 2), s);
23048
+ p == -1 && (I = dt(I, /\f/g, "")), y > 0 && kr(I) - d && Us(y > 32 ? Ag(I + ";", r, n, d - 1) : Ag(dt(I, " ", "") + ";", r, n, d - 2), s);
23048
23049
  break;
23049
23050
  case 59:
23050
23051
  I += ";";
@@ -23094,7 +23095,7 @@ function bl(e, t, n, r, i, o, a, l, s) {
23094
23095
  function Tg(e, t, n, r, i, o, a, l, s, u, c) {
23095
23096
  for (var d = i - 1, v = i === 0 ? o : [""], y = Qf(v), b = 0, f = 0, h = 0; b < r; ++b)
23096
23097
  for (var p = 0, g = is(e, d + 1, d = mL(f = a[b])), m = e; p < y; ++p)
23097
- (m = ly(f > 0 ? v[p] + " " + g : ct(g, /&\f/g, v[p]))) && (s[h++] = m);
23098
+ (m = ly(f > 0 ? v[p] + " " + g : dt(g, /&\f/g, v[p]))) && (s[h++] = m);
23098
23099
  return _u(e, t, n, i === 0 ? qf : l, s, u, c);
23099
23100
  }
23100
23101
  function _L(e, t, n) {
@@ -23193,7 +23194,7 @@ var PL = function(t, n, r) {
23193
23194
  function fy(e, t) {
23194
23195
  switch (bL(e, t)) {
23195
23196
  case 5103:
23196
- return ut + "print-" + e + e;
23197
+ return ct + "print-" + e + e;
23197
23198
  case 5737:
23198
23199
  case 4201:
23199
23200
  case 3177:
@@ -23219,44 +23220,44 @@ function fy(e, t) {
23219
23220
  case 5365:
23220
23221
  case 5621:
23221
23222
  case 3829:
23222
- return ut + e + e;
23223
+ return ct + e + e;
23223
23224
  case 5349:
23224
23225
  case 4246:
23225
23226
  case 4810:
23226
23227
  case 6968:
23227
23228
  case 2756:
23228
- return ut + e + Ul + e + En + e + e;
23229
+ return ct + e + Ul + e + En + e + e;
23229
23230
  case 6828:
23230
23231
  case 4268:
23231
- return ut + e + En + e + e;
23232
+ return ct + e + En + e + e;
23232
23233
  case 6165:
23233
- return ut + e + En + "flex-" + e + e;
23234
+ return ct + e + En + "flex-" + e + e;
23234
23235
  case 5187:
23235
- return ut + e + ct(e, /(\w+).+(:[^]+)/, ut + "box-$1$2" + En + "flex-$1$2") + e;
23236
+ return ct + e + dt(e, /(\w+).+(:[^]+)/, ct + "box-$1$2" + En + "flex-$1$2") + e;
23236
23237
  case 5443:
23237
- return ut + e + En + "flex-item-" + ct(e, /flex-|-self/, "") + e;
23238
+ return ct + e + En + "flex-item-" + dt(e, /flex-|-self/, "") + e;
23238
23239
  case 4675:
23239
- return ut + e + En + "flex-line-pack" + ct(e, /align-content|flex-|-self/, "") + e;
23240
+ return ct + e + En + "flex-line-pack" + dt(e, /align-content|flex-|-self/, "") + e;
23240
23241
  case 5548:
23241
- return ut + e + En + ct(e, "shrink", "negative") + e;
23242
+ return ct + e + En + dt(e, "shrink", "negative") + e;
23242
23243
  case 5292:
23243
- return ut + e + En + ct(e, "basis", "preferred-size") + e;
23244
+ return ct + e + En + dt(e, "basis", "preferred-size") + e;
23244
23245
  case 6060:
23245
- return ut + "box-" + ct(e, "-grow", "") + ut + e + En + ct(e, "grow", "positive") + e;
23246
+ return ct + "box-" + dt(e, "-grow", "") + ct + e + En + dt(e, "grow", "positive") + e;
23246
23247
  case 4554:
23247
- return ut + ct(e, /([^-])(transform)/g, "$1" + ut + "$2") + e;
23248
+ return ct + dt(e, /([^-])(transform)/g, "$1" + ct + "$2") + e;
23248
23249
  case 6187:
23249
- return ct(ct(ct(e, /(zoom-|grab)/, ut + "$1"), /(image-set)/, ut + "$1"), e, "") + e;
23250
+ return dt(dt(dt(e, /(zoom-|grab)/, ct + "$1"), /(image-set)/, ct + "$1"), e, "") + e;
23250
23251
  case 5495:
23251
23252
  case 3959:
23252
- return ct(e, /(image-set\([^]*)/, ut + "$1$`$1");
23253
+ return dt(e, /(image-set\([^]*)/, ct + "$1$`$1");
23253
23254
  case 4968:
23254
- return ct(ct(e, /(.+:)(flex-)?(.*)/, ut + "box-pack:$3" + En + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + ut + e + e;
23255
+ return dt(dt(e, /(.+:)(flex-)?(.*)/, ct + "box-pack:$3" + En + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + ct + e + e;
23255
23256
  case 4095:
23256
23257
  case 3583:
23257
23258
  case 4068:
23258
23259
  case 2532:
23259
- return ct(e, /(.+)-inline(.+)/, ut + "$1$2") + e;
23260
+ return dt(e, /(.+)-inline(.+)/, ct + "$1$2") + e;
23260
23261
  case 8116:
23261
23262
  case 7059:
23262
23263
  case 5753:
@@ -23273,9 +23274,9 @@ function fy(e, t) {
23273
23274
  case 109:
23274
23275
  if (fn(e, t + 4) !== 45) break;
23275
23276
  case 102:
23276
- return ct(e, /(.+:)(.+)-([^]+)/, "$1" + ut + "$2-$3$1" + Ul + (fn(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
23277
+ return dt(e, /(.+:)(.+)-([^]+)/, "$1" + ct + "$2-$3$1" + Ul + (fn(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
23277
23278
  case 115:
23278
- return ~Dd(e, "stretch") ? fy(ct(e, "stretch", "fill-available"), t) + e : e;
23279
+ return ~Dd(e, "stretch") ? fy(dt(e, "stretch", "fill-available"), t) + e : e;
23279
23280
  }
23280
23281
  break;
23281
23282
  case 4949:
@@ -23283,21 +23284,21 @@ function fy(e, t) {
23283
23284
  case 6444:
23284
23285
  switch (fn(e, kr(e) - 3 - (~Dd(e, "!important") && 10))) {
23285
23286
  case 107:
23286
- return ct(e, ":", ":" + ut) + e;
23287
+ return dt(e, ":", ":" + ct) + e;
23287
23288
  case 101:
23288
- return ct(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + ut + (fn(e, 14) === 45 ? "inline-" : "") + "box$3$1" + ut + "$2$3$1" + En + "$2box$3") + e;
23289
+ return dt(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + ct + (fn(e, 14) === 45 ? "inline-" : "") + "box$3$1" + ct + "$2$3$1" + En + "$2box$3") + e;
23289
23290
  }
23290
23291
  break;
23291
23292
  case 5936:
23292
23293
  switch (fn(e, t + 11)) {
23293
23294
  case 114:
23294
- return ut + e + En + ct(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
23295
+ return ct + e + En + dt(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
23295
23296
  case 108:
23296
- return ut + e + En + ct(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
23297
+ return ct + e + En + dt(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
23297
23298
  case 45:
23298
- return ut + e + En + ct(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
23299
+ return ct + e + En + dt(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
23299
23300
  }
23300
- return ut + e + En + e + e;
23301
+ return ct + e + En + e + e;
23301
23302
  }
23302
23303
  return e;
23303
23304
  }
@@ -23308,7 +23309,7 @@ var BL = function(t, n, r, i) {
23308
23309
  break;
23309
23310
  case sy:
23310
23311
  return Lo([Aa(t, {
23311
- value: ct(t.value, "@", "@" + ut)
23312
+ value: dt(t.value, "@", "@" + ct)
23312
23313
  })], i);
23313
23314
  case qf:
23314
23315
  if (t.length) return EL(t.props, function(o) {
@@ -23316,15 +23317,15 @@ var BL = function(t, n, r, i) {
23316
23317
  case ":read-only":
23317
23318
  case ":read-write":
23318
23319
  return Lo([Aa(t, {
23319
- props: [ct(o, /:(read-\w+)/, ":" + Ul + "$1")]
23320
+ props: [dt(o, /:(read-\w+)/, ":" + Ul + "$1")]
23320
23321
  })], i);
23321
23322
  case "::placeholder":
23322
23323
  return Lo([Aa(t, {
23323
- props: [ct(o, /:(plac\w+)/, ":" + ut + "input-$1")]
23324
+ props: [dt(o, /:(plac\w+)/, ":" + ct + "input-$1")]
23324
23325
  }), Aa(t, {
23325
- props: [ct(o, /:(plac\w+)/, ":" + Ul + "$1")]
23326
+ props: [dt(o, /:(plac\w+)/, ":" + Ul + "$1")]
23326
23327
  }), Aa(t, {
23327
- props: [ct(o, /:(plac\w+)/, En + "input-$1")]
23328
+ props: [dt(o, /:(plac\w+)/, En + "input-$1")]
23328
23329
  })], i);
23329
23330
  }
23330
23331
  return "";
@@ -23799,7 +23800,7 @@ var n5 = function(t) {
23799
23800
  by.Provider;
23800
23801
  var a5 = function(t) {
23801
23802
  return /* @__PURE__ */ jd(function(n, r) {
23802
- var i = St(by);
23803
+ var i = Ct(by);
23803
23804
  return t(n, i, r);
23804
23805
  });
23805
23806
  }, s5 = /* @__PURE__ */ N.createContext({}), Kf = {}.hasOwnProperty, Fd = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", l5 = function(t, n) {
@@ -24224,11 +24225,11 @@ var G5 = function(t) {
24224
24225
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
24225
24226
  r[i - 1] = arguments[i];
24226
24227
  var o = Object.entries(t).filter(function(a) {
24227
- var l = an(a, 1), s = l[0];
24228
+ var l = sn(a, 1), s = l[0];
24228
24229
  return !r.includes(s);
24229
24230
  });
24230
24231
  return o.reduce(function(a, l) {
24231
- var s = an(l, 2), u = s[0], c = s[1];
24232
+ var s = sn(l, 2), u = s[0], c = s[1];
24232
24233
  return a[u] = c, a;
24233
24234
  }, {});
24234
24235
  }, V5 = ["children", "innerProps"], W5 = ["children", "innerProps"];
@@ -24321,7 +24322,7 @@ var Ay = function(t) {
24321
24322
  marginTop: l.menuGutter
24322
24323
  });
24323
24324
  }, _y = /* @__PURE__ */ ki(null), X5 = function(t) {
24324
- var n = t.children, r = t.minMenuHeight, i = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, s = t.theme, u = St(_y) || {}, c = u.setPortalPlacement, d = ze(null), v = Se(i), y = an(v, 2), b = y[0], f = y[1], h = Se(null), p = an(h, 2), g = p[0], m = p[1], E = s.spacing.controlHeight;
24325
+ var n = t.children, r = t.minMenuHeight, i = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, s = t.theme, u = Ct(_y) || {}, c = u.setPortalPlacement, d = ze(null), v = Se(i), y = sn(v, 2), b = y[0], f = y[1], h = Se(null), p = sn(h, 2), g = p[0], m = p[1], E = s.spacing.controlHeight;
24325
24326
  return Md(function() {
24326
24327
  var x = d.current;
24327
24328
  if (x) {
@@ -24406,11 +24407,11 @@ var Ay = function(t) {
24406
24407
  zIndex: 1
24407
24408
  };
24408
24409
  }, nF = function(t) {
24409
- var n = t.appendTo, r = t.children, i = t.controlElement, o = t.innerProps, a = t.menuPlacement, l = t.menuPosition, s = ze(null), u = ze(null), c = Se(Ay(a)), d = an(c, 2), v = d[0], y = d[1], b = Xe(function() {
24410
+ var n = t.appendTo, r = t.children, i = t.controlElement, o = t.innerProps, a = t.menuPlacement, l = t.menuPosition, s = ze(null), u = ze(null), c = Se(Ay(a)), d = sn(c, 2), v = d[0], y = d[1], b = Xe(function() {
24410
24411
  return {
24411
24412
  setPortalPlacement: y
24412
24413
  };
24413
- }, []), f = Se(null), h = an(f, 2), p = h[0], g = h[1], m = tt(function() {
24414
+ }, []), f = Se(null), h = sn(f, 2), p = h[0], g = h[1], m = tt(function() {
24414
24415
  if (i) {
24415
24416
  var I = L5(i), C = l === "fixed" ? 0 : window.pageYOffset, A = I[v] + C;
24416
24417
  (A !== (p == null ? void 0 : p.offset) || I.left !== (p == null ? void 0 : p.rect.left) || I.width !== (p == null ? void 0 : p.rect.width)) && g({
@@ -26895,7 +26896,7 @@ var n9 = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
26895
26896
  function r9(e) {
26896
26897
  var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, i = r === void 0 ? !1 : r, o = e.loadOptions;
26897
26898
  e.options;
26898
- var a = e.isLoading, l = a === void 0 ? !1 : a, s = e.onInputChange, u = e.filterOption, c = u === void 0 ? null : u, d = Zr(e, n9), v = d.inputValue, y = ze(void 0), b = ze(!1), f = Se(Array.isArray(n) ? n : void 0), h = an(f, 2), p = h[0], g = h[1], m = Se(typeof v < "u" ? v : ""), E = an(m, 2), x = E[0], S = E[1], I = Se(n === !0), C = an(I, 2), A = C[0], F = C[1], k = Se(void 0), X = an(k, 2), G = X[0], U = X[1], Z = Se([]), J = an(Z, 2), ue = J[0], se = J[1], ye = Se(!1), V = an(ye, 2), ee = V[0], ne = V[1], Q = Se({}), re = an(Q, 2), de = re[0], ie = re[1], me = Se(void 0), xe = an(me, 2), Oe = xe[0], ve = xe[1], Je = Se(void 0), j = an(Je, 2), Qe = j[0], Ge = j[1];
26899
+ var a = e.isLoading, l = a === void 0 ? !1 : a, s = e.onInputChange, u = e.filterOption, c = u === void 0 ? null : u, d = Zr(e, n9), v = d.inputValue, y = ze(void 0), b = ze(!1), f = Se(Array.isArray(n) ? n : void 0), h = sn(f, 2), p = h[0], g = h[1], m = Se(typeof v < "u" ? v : ""), E = sn(m, 2), x = E[0], S = E[1], I = Se(n === !0), C = sn(I, 2), A = C[0], F = C[1], k = Se(void 0), X = sn(k, 2), G = X[0], U = X[1], Z = Se([]), J = sn(Z, 2), ue = J[0], se = J[1], ye = Se(!1), V = sn(ye, 2), ee = V[0], ne = V[1], Q = Se({}), re = sn(Q, 2), de = re[0], ie = re[1], me = Se(void 0), xe = sn(me, 2), Oe = xe[0], ve = xe[1], Je = Se(void 0), j = sn(Je, 2), Qe = j[0], Ge = j[1];
26899
26900
  i !== Qe && (ie({}), Ge(i)), n !== Oe && (g(Array.isArray(n) ? n : void 0), ve(n)), _e(function() {
26900
26901
  return b.current = !0, function() {
26901
26902
  b.current = !1;
@@ -26903,8 +26904,8 @@ function r9(e) {
26903
26904
  }, []);
26904
26905
  var nt = tt(function(Wt, Qt) {
26905
26906
  if (!o) return Qt();
26906
- var Ct = o(Wt, Qt);
26907
- Ct && typeof Ct.then == "function" && Ct.then(Qt, function() {
26907
+ var wt = o(Wt, Qt);
26908
+ wt && typeof wt.then == "function" && wt.then(Qt, function() {
26908
26909
  return Qt();
26909
26910
  });
26910
26911
  }, [o]);
@@ -26914,17 +26915,17 @@ function r9(e) {
26914
26915
  });
26915
26916
  }, []);
26916
26917
  var Vt = tt(function(Wt, Qt) {
26917
- var Ct = O5(Wt, Qt, s);
26918
- if (!Ct) {
26918
+ var wt = O5(Wt, Qt, s);
26919
+ if (!wt) {
26919
26920
  y.current = void 0, S(""), U(""), se([]), F(!1), ne(!1);
26920
26921
  return;
26921
26922
  }
26922
- if (i && de[Ct])
26923
- S(Ct), U(Ct), se(de[Ct]), F(!1), ne(!1);
26923
+ if (i && de[wt])
26924
+ S(wt), U(wt), se(de[wt]), F(!1), ne(!1);
26924
26925
  else {
26925
26926
  var zn = y.current = {};
26926
- S(Ct), F(!0), ne(!G), nt(Ct, function(hn) {
26927
- b && zn === y.current && (y.current = void 0, F(!1), U(Ct), se(hn || []), ne(!1), ie(hn ? Ne(Ne({}, de), {}, _o({}, Ct, hn)) : de));
26927
+ S(wt), F(!0), ne(!G), nt(wt, function(hn) {
26928
+ b && zn === y.current && (y.current = void 0, F(!1), U(wt), se(hn || []), ne(!1), ie(hn ? Ne(Ne({}, de), {}, _o({}, wt, hn)) : de));
26928
26929
  });
26929
26930
  }
26930
26931
  }, [i, nt, G, de, s]), On = ee ? [] : x && G ? ue : p || [];
@@ -27824,7 +27825,7 @@ const I9 = (e, t) => {
27824
27825
  authStatus: i,
27825
27826
  authMutate: o
27826
27827
  }) => {
27827
- const { sendTrackingEvent: a, availableFeatures: l } = St(ln), [s, u] = wm(D9, N9), [c, d] = Se(!1), v = r ? r.name : "", y = r ? r.description : "", b = r ? r.isAuthenticated : !1, f = r && r.variablesConfig ? r.variablesConfig : [], h = (r == null ? void 0 : r.advancedSettingsFields) ?? [], p = ov(l), g = Xe(() => !p || !(r != null && r.interpolationFields) ? {} : S9(r == null ? void 0 : r.interpolationFields), [r == null ? void 0 : r.interpolationFields, p]);
27828
+ const { sendTrackingEvent: a, availableFeatures: l } = Ct(rn), [s, u] = wm(D9, N9), [c, d] = Se(!1), v = r ? r.name : "", y = r ? r.description : "", b = r ? r.isAuthenticated : !1, f = r && r.variablesConfig ? r.variablesConfig : [], h = (r == null ? void 0 : r.advancedSettingsFields) ?? [], p = ov(l), g = Xe(() => !p || !(r != null && r.interpolationFields) ? {} : S9(r == null ? void 0 : r.interpolationFields), [r == null ? void 0 : r.interpolationFields, p]);
27828
27829
  _e(() => {
27829
27830
  var Z;
27830
27831
  if (r != null && r.authDetails) {
@@ -27875,7 +27876,7 @@ const I9 = (e, t) => {
27875
27876
  m(re, ie);
27876
27877
  }
27877
27878
  }, x = (Z, J) => {
27878
- Z && typeof Z == "object" && "label" in Z && typeof Z.label == "string" && "value" in Z && typeof Z.value == "string" && typeof J.name < "u" && (J.name === oi.authType && a(ft.AUTH_UPDATED, {
27879
+ Z && typeof Z == "object" && "label" in Z && typeof Z.label == "string" && "value" in Z && typeof Z.value == "string" && typeof J.name < "u" && (J.name === oi.authType && a(st.AUTH_UPDATED, {
27879
27880
  selected_auth_type: Z.label
27880
27881
  }), m(J.name, { value: Z.value, label: Z.label }));
27881
27882
  }, S = (Z, J) => {
@@ -27918,7 +27919,7 @@ const I9 = (e, t) => {
27918
27919
  const ye = I9(f, s.values);
27919
27920
  ue.variables = ye;
27920
27921
  }
27921
- a(ft.SAVE_AUTHORIZE_CLICKED, {
27922
+ a(st.SAVE_AUTHORIZE_CLICKED, {
27922
27923
  connector_name: v,
27923
27924
  auth_type: ((se = s.values.authType) == null ? void 0 : se.label) ?? s.values.authType,
27924
27925
  base_url: s.values.baseUrl
@@ -28020,7 +28021,7 @@ const I9 = (e, t) => {
28020
28021
  link: "setupGuideVideoLink",
28021
28022
  preview: "setupGuideVideoPreviewImage"
28022
28023
  },
28023
- event: ft.CONNECTOR_VIDEO_CLICKED
28024
+ event: st.CONNECTOR_VIDEO_CLICKED
28024
28025
  },
28025
28026
  {
28026
28027
  icon: /* @__PURE__ */ w.jsx(W9, {}),
@@ -28029,17 +28030,17 @@ const I9 = (e, t) => {
28029
28030
  keys: {
28030
28031
  link: "helpArticleLink"
28031
28032
  },
28032
- event: ft.CONNECTOR_AUTH_PAGE_KB_CLICKED,
28033
+ event: st.CONNECTOR_AUTH_PAGE_KB_CLICKED,
28033
28034
  prefixName: !0
28034
28035
  },
28035
28036
  {
28036
28037
  icon: /* @__PURE__ */ w.jsx(U9, {}),
28037
28038
  text: _3,
28038
28039
  link: O3,
28039
- event: ft.CONNECTOR_AUTH_PAGE_CONTACT_SUPPORT_CLICKED
28040
+ event: st.CONNECTOR_AUTH_PAGE_CONTACT_SUPPORT_CLICKED
28040
28041
  }
28041
28042
  ], Q9 = ({ connectorName: e, supportLinks: t }) => {
28042
- const { availableFeatures: n, sendTrackingEvent: r } = St(ln), i = Hr(n, mx), o = ov(n), a = (l, s) => {
28043
+ const { availableFeatures: n, sendTrackingEvent: r } = Ct(rn), i = Hr(n, mx), o = ov(n), a = (l, s) => {
28043
28044
  r(s, { source: e }), window.open(l, "_blank");
28044
28045
  };
28045
28046
  return i ? /* @__PURE__ */ w.jsx(fe, { gap: "12px", children: J9.map(({ icon: l, text: s, link: u, keys: c, event: d, prefixName: v }) => {
@@ -28221,7 +28222,7 @@ const eM = B(fe)`
28221
28222
  n.removeQueries({ queryKey: r, exact: !0 });
28222
28223
  }, [n, r]), i;
28223
28224
  }, dM = () => {
28224
- const { sendTrackingEvent: e, availableFeatures: t } = St(ln), [n, r] = Se(!1), i = it(yu), o = it(rf), a = it(xf), l = it(Hv), s = ze(null), u = Gi(), { id: c = "" } = b0(), [d] = I0(), v = d.get("isEdit") === "true", y = (i == null ? void 0 : i[c]) || null, b = (o == null ? void 0 : o[c]) || null, f = v ? y : b, h = !!(f != null && f.showUpgradeButton), p = Hr(t, yx), {
28225
+ const { sendTrackingEvent: e, availableFeatures: t } = Ct(rn), [n, r] = Se(!1), i = it(yu), o = it(rf), a = it(xf), l = it(Hv), s = ze(null), u = Gi(), { id: c = "" } = b0(), [d] = I0(), v = d.get("isEdit") === "true", y = (i == null ? void 0 : i[c]) || null, b = (o == null ? void 0 : o[c]) || null, f = v ? y : b, h = !!(f != null && f.showUpgradeButton), p = Hr(t, yx), {
28225
28226
  data: g,
28226
28227
  mutateStatus: m,
28227
28228
  mutate: E
@@ -28266,7 +28267,7 @@ const eM = B(fe)`
28266
28267
  }, [S, m, p]), _e(() => {
28267
28268
  switch ((I === xt.OAUTH_SUCCESS || I === xt.OAUTH_FAILED || I === xt.API_KEY_SUCCESS || I === xt.API_KEY_FAILED || I === xt.BASIC_AUTH_SUCCESS || I === xt.BASIC_AUTH_FAILED) && u(et.BASEPATH), I) {
28268
28269
  case xt.OAUTH_SUCCESS: {
28269
- cr({ message: h ? mc : xg, type: ja }), e(ft.CONNECTOR_AUTH_SUCCESS, {
28270
+ cr({ message: h ? mc : xg, type: ja }), e(st.CONNECTOR_AUTH_SUCCESS, {
28270
28271
  connector_name: f == null ? void 0 : f.name
28271
28272
  });
28272
28273
  break;
@@ -28280,7 +28281,7 @@ const eM = B(fe)`
28280
28281
  break;
28281
28282
  }
28282
28283
  case xt.API_KEY_SUCCESS: {
28283
- cr({ message: h ? mc : jP, type: ja }), e(ft.CONNECTOR_AUTH_SUCCESS, {
28284
+ cr({ message: h ? mc : jP, type: ja }), e(st.CONNECTOR_AUTH_SUCCESS, {
28284
28285
  connector_name: f == null ? void 0 : f.name
28285
28286
  });
28286
28287
  break;
@@ -28290,7 +28291,7 @@ const eM = B(fe)`
28290
28291
  break;
28291
28292
  }
28292
28293
  case xt.BASIC_AUTH_SUCCESS: {
28293
- cr({ message: h ? mc : xg, type: ja }), e(ft.CONNECTOR_AUTH_SUCCESS, {
28294
+ cr({ message: h ? mc : xg, type: ja }), e(st.CONNECTOR_AUTH_SUCCESS, {
28294
28295
  connector_name: f == null ? void 0 : f.name
28295
28296
  });
28296
28297
  break;
@@ -29397,8 +29398,10 @@ const eM = B(fe)`
29397
29398
  availableFeatures: r = {},
29398
29399
  connectorFunctions: i
29399
29400
  }) => {
29400
- const { userId: o } = ms() || {};
29401
- return /* @__PURE__ */ w.jsx(NM, { children: /* @__PURE__ */ w.jsx(
29401
+ const { userId: o } = ms() || {}, { sendTrackingEvent: a } = Ct(rn), l = ze(!1);
29402
+ return _e(() => {
29403
+ l.current || (a(st.CONNECTOR_SECTION_VIEWED), l.current = !0);
29404
+ }, [a]), /* @__PURE__ */ w.jsx(NM, { children: /* @__PURE__ */ w.jsx(
29402
29405
  A2,
29403
29406
  {
29404
29407
  baseUrls: t,