@hiver/connector-admin 4.20.0-mondaymultiboard-beta.0 → 4.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js CHANGED
@@ -383,7 +383,7 @@ function u2() {
383
383
  }
384
384
  }
385
385
  var $t = Array.isArray;
386
- function mn(R) {
386
+ function Qn(R) {
387
387
  return $t(R);
388
388
  }
389
389
  function qo(R) {
@@ -545,7 +545,7 @@ Check the top-level render call using <` + ue + ">.");
545
545
  return X;
546
546
  }
547
547
  }
548
- function xn(R, X) {
548
+ function wn(R, X) {
549
549
  {
550
550
  if (!R._store || R._store.validated || R.key != null)
551
551
  return;
@@ -562,10 +562,10 @@ Check the top-level render call using <` + ue + ">.");
562
562
  {
563
563
  if (typeof R != "object")
564
564
  return;
565
- if (mn(R))
565
+ if (Qn(R))
566
566
  for (var ue = 0; ue < R.length; ue++) {
567
567
  var ye = R[ue];
568
- Zt(ye) && xn(ye, X);
568
+ Zt(ye) && wn(ye, X);
569
569
  }
570
570
  else if (Zt(R))
571
571
  R._store && (R._store.validated = !0);
@@ -573,7 +573,7 @@ Check the top-level render call using <` + ue + ">.");
573
573
  var pe = d(R);
574
574
  if (typeof pe == "function" && pe !== R.entries)
575
575
  for (var De = pe.call(R), be; !(be = De.next()).done; )
576
- Zt(be.value) && xn(be.value, X);
576
+ Zt(be.value) && wn(be.value, X);
577
577
  }
578
578
  }
579
579
  }
@@ -624,7 +624,7 @@ Check the top-level render call using <` + ue + ">.");
624
624
  var nt = Ln();
625
625
  nt ? ve += nt : ve += en();
626
626
  var qe;
627
- R === null ? qe = "null" : mn(R) ? qe = "array" : R !== void 0 && R.$$typeof === t ? (qe = "<" + (O(R.type) || "Unknown") + " />", ve = " Did you accidentally export a JSX literal instead of a component?") : qe = typeof R, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", qe, ve);
627
+ R === null ? qe = "null" : Qn(R) ? qe = "array" : R !== void 0 && R.$$typeof === t ? (qe = "<" + (O(R.type) || "Unknown") + " />", ve = " Did you accidentally export a JSX literal instead of a component?") : qe = typeof R, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", qe, ve);
628
628
  }
629
629
  var rt = Gr(R, X, ue, pe, De);
630
630
  if (rt == null)
@@ -633,7 +633,7 @@ Check the top-level render call using <` + ue + ">.");
633
633
  var ot = X.children;
634
634
  if (ot !== void 0)
635
635
  if (ye)
636
- if (mn(ot)) {
636
+ if (Qn(ot)) {
637
637
  for (var Ut = 0; Ut < ot.length; Ut++)
638
638
  tr(ot[Ut], R);
639
639
  Object.freeze && Object.freeze(ot);
@@ -4685,27 +4685,27 @@ function lQ(e) {
4685
4685
  return lQ(ra(e, o));
4686
4686
  }, n;
4687
4687
  }
4688
- const Bn = lQ(KC);
4689
- Bn.Axios = Hc;
4690
- Bn.CanceledError = hA;
4691
- Bn.CancelToken = U3;
4692
- Bn.isCancel = nQ;
4693
- Bn.VERSION = cQ;
4694
- Bn.toFormData = vu;
4695
- Bn.AxiosError = lt;
4696
- Bn.Cancel = Bn.CanceledError;
4697
- Bn.all = function(t) {
4688
+ const mn = lQ(KC);
4689
+ mn.Axios = Hc;
4690
+ mn.CanceledError = hA;
4691
+ mn.CancelToken = U3;
4692
+ mn.isCancel = nQ;
4693
+ mn.VERSION = cQ;
4694
+ mn.toFormData = vu;
4695
+ mn.AxiosError = lt;
4696
+ mn.Cancel = mn.CanceledError;
4697
+ mn.all = function(t) {
4698
4698
  return Promise.all(t);
4699
4699
  };
4700
- Bn.spread = V3;
4701
- Bn.isAxiosError = H3;
4702
- Bn.mergeConfig = ra;
4703
- Bn.AxiosHeaders = Zr;
4704
- Bn.formToJSON = (e) => tQ(ce.isHTMLForm(e) ? new FormData(e) : e);
4705
- Bn.getAdapter = sQ.getAdapter;
4706
- Bn.HttpStatusCode = G3;
4707
- Bn.default = Bn;
4708
- var uQ = Bn, Rt = {}, wo = {};
4700
+ mn.spread = V3;
4701
+ mn.isAxiosError = H3;
4702
+ mn.mergeConfig = ra;
4703
+ mn.AxiosHeaders = Zr;
4704
+ mn.formToJSON = (e) => tQ(ce.isHTMLForm(e) ? new FormData(e) : e);
4705
+ mn.getAdapter = sQ.getAdapter;
4706
+ mn.HttpStatusCode = G3;
4707
+ mn.default = mn;
4708
+ var uQ = mn, Rt = {}, wo = {};
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.GREXIT_ADMIN_DOMAIN = 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.GREXIT_ADMIN_DOMAIN = "admin.hiverhq.com", e.REFETCH_CHECK_DELAY = 168e4, e.TWO_MINUTES_IN_MS = 2 * 60 * 1e3, e.DEFAULT_INIT_CONFIG_HIVER = {
4711
4711
  getToken: !0,
@@ -7255,7 +7255,7 @@ const Dr = {
7255
7255
  },
7256
7256
  userPermissions: [],
7257
7257
  metaData: void 0
7258
- }, yn = Yo(xS), Bt = {
7258
+ }, xn = Yo(xS), Bt = {
7259
7259
  BASEPATH: "/",
7260
7260
  CONNECTOR_SETTINGS: "connector/settings",
7261
7261
  DASHBOARD: "dashboard",
@@ -7281,7 +7281,7 @@ const Dr = {
7281
7281
  }) => {
7282
7282
  const [i, a] = $(rE.id), [A, s] = $(""), [l, u] = $([]);
7283
7283
  return /* @__PURE__ */ c.jsx(
7284
- yn.Provider,
7284
+ xn.Provider,
7285
7285
  {
7286
7286
  value: {
7287
7287
  currentSideBar: i,
@@ -7685,7 +7685,7 @@ function PS() {
7685
7685
  }
7686
7686
  };
7687
7687
  }
7688
- var bn = PS(), Wi, NB, RQ = (NB = class {
7688
+ var yn = PS(), Wi, NB, RQ = (NB = class {
7689
7689
  constructor() {
7690
7690
  $e(this, Wi);
7691
7691
  }
@@ -7957,7 +7957,7 @@ var bn = PS(), Wi, NB, RQ = (NB = class {
7957
7957
  };
7958
7958
  }
7959
7959
  };
7960
- this.state = n(this.state), bn.batch(() => {
7960
+ this.state = n(this.state), yn.batch(() => {
7961
7961
  this.observers.forEach((r) => {
7962
7962
  r.onQueryUpdate();
7963
7963
  }), U(this, Or).notify({ query: this, type: "updated", action: t });
@@ -8020,7 +8020,7 @@ var co, kB, kS = (kB = class extends QA {
8020
8020
  n && (t.destroy(), n === t && U(this, co).delete(t.queryHash), this.notify({ type: "removed", query: t }));
8021
8021
  }
8022
8022
  clear() {
8023
- bn.batch(() => {
8023
+ yn.batch(() => {
8024
8024
  this.getAll().forEach((t) => {
8025
8025
  this.remove(t);
8026
8026
  });
@@ -8043,21 +8043,21 @@ var co, kB, kS = (kB = class extends QA {
8043
8043
  return Object.keys(t).length > 0 ? n.filter((r) => TI(t, r)) : n;
8044
8044
  }
8045
8045
  notify(t) {
8046
- bn.batch(() => {
8046
+ yn.batch(() => {
8047
8047
  this.listeners.forEach((n) => {
8048
8048
  n(t);
8049
8049
  });
8050
8050
  });
8051
8051
  }
8052
8052
  onFocus() {
8053
- bn.batch(() => {
8053
+ yn.batch(() => {
8054
8054
  this.getAll().forEach((t) => {
8055
8055
  t.onFocus();
8056
8056
  });
8057
8057
  });
8058
8058
  }
8059
8059
  onOnline() {
8060
- bn.batch(() => {
8060
+ yn.batch(() => {
8061
8061
  this.getAll().forEach((t) => {
8062
8062
  t.onOnline();
8063
8063
  });
@@ -8237,7 +8237,7 @@ var co, kB, kS = (kB = class extends QA {
8237
8237
  };
8238
8238
  }
8239
8239
  };
8240
- this.state = n(this.state), bn.batch(() => {
8240
+ this.state = n(this.state), yn.batch(() => {
8241
8241
  U(this, lo).forEach((r) => {
8242
8242
  r.onMutationUpdate(t);
8243
8243
  }), U(this, Jn).notify({
@@ -8320,7 +8320,7 @@ var ko, Yr, js, UB, US = (UB = class extends QA {
8320
8320
  return Promise.resolve();
8321
8321
  }
8322
8322
  clear() {
8323
- bn.batch(() => {
8323
+ yn.batch(() => {
8324
8324
  U(this, ko).forEach((t) => {
8325
8325
  this.notify({ type: "removed", mutation: t });
8326
8326
  }), U(this, ko).clear(), U(this, Yr).clear();
@@ -8339,7 +8339,7 @@ var ko, Yr, js, UB, US = (UB = class extends QA {
8339
8339
  return this.getAll().filter((n) => _I(t, n));
8340
8340
  }
8341
8341
  notify(t) {
8342
- bn.batch(() => {
8342
+ yn.batch(() => {
8343
8343
  this.listeners.forEach((n) => {
8344
8344
  n(t);
8345
8345
  });
@@ -8347,7 +8347,7 @@ var ko, Yr, js, UB, US = (UB = class extends QA {
8347
8347
  }
8348
8348
  resumePausedMutations() {
8349
8349
  const t = this.getAll().filter((n) => n.state.isPaused);
8350
- return bn.batch(
8350
+ return yn.batch(
8351
8351
  () => Promise.all(
8352
8352
  t.map((n) => n.continue().catch(Lr))
8353
8353
  )
@@ -8499,7 +8499,7 @@ var An, li, ui, Ja, Ka, gi, Xa, qa, VB, FQ = (VB = class {
8499
8499
  return U(this, An).build(this, r).setData(a, { ...n, manual: !0 });
8500
8500
  }
8501
8501
  setQueriesData(e, t, n) {
8502
- return bn.batch(
8502
+ return yn.batch(
8503
8503
  () => U(this, An).findAll(e).map(({ queryKey: r }) => [
8504
8504
  r,
8505
8505
  this.setQueryData(r, t, n)
@@ -8515,7 +8515,7 @@ var An, li, ui, Ja, Ka, gi, Xa, qa, VB, FQ = (VB = class {
8515
8515
  }
8516
8516
  removeQueries(e) {
8517
8517
  const t = U(this, An);
8518
- bn.batch(() => {
8518
+ yn.batch(() => {
8519
8519
  t.findAll(e).forEach((n) => {
8520
8520
  t.remove(n);
8521
8521
  });
@@ -8523,7 +8523,7 @@ var An, li, ui, Ja, Ka, gi, Xa, qa, VB, FQ = (VB = class {
8523
8523
  }
8524
8524
  resetQueries(e, t) {
8525
8525
  const n = U(this, An);
8526
- return bn.batch(() => (n.findAll(e).forEach((r) => {
8526
+ return yn.batch(() => (n.findAll(e).forEach((r) => {
8527
8527
  r.reset();
8528
8528
  }), this.refetchQueries(
8529
8529
  {
@@ -8534,13 +8534,13 @@ var An, li, ui, Ja, Ka, gi, Xa, qa, VB, FQ = (VB = class {
8534
8534
  )));
8535
8535
  }
8536
8536
  cancelQueries(e, t = {}) {
8537
- const n = { revert: !0, ...t }, r = bn.batch(
8537
+ const n = { revert: !0, ...t }, r = yn.batch(
8538
8538
  () => U(this, An).findAll(e).map((o) => o.cancel(n))
8539
8539
  );
8540
8540
  return Promise.all(r).then(Lr).catch(Lr);
8541
8541
  }
8542
8542
  invalidateQueries(e, t = {}) {
8543
- return bn.batch(() => (U(this, An).findAll(e).forEach((n) => {
8543
+ return yn.batch(() => (U(this, An).findAll(e).forEach((n) => {
8544
8544
  n.invalidate();
8545
8545
  }), (e == null ? void 0 : e.refetchType) === "none" ? Promise.resolve() : this.refetchQueries(
8546
8546
  {
@@ -8554,7 +8554,7 @@ var An, li, ui, Ja, Ka, gi, Xa, qa, VB, FQ = (VB = class {
8554
8554
  const n = {
8555
8555
  ...t,
8556
8556
  cancelRefetch: t.cancelRefetch ?? !0
8557
- }, r = bn.batch(
8557
+ }, r = yn.batch(
8558
8558
  () => U(this, An).findAll(e).filter((o) => !o.isDisabled()).map((o) => {
8559
8559
  let i = o.fetch(void 0, n);
8560
8560
  return n.throwOnError || (i = i.catch(Lr)), o.state.fetchStatus === "paused" ? Promise.resolve() : i;
@@ -8909,7 +8909,7 @@ var An, li, ui, Ja, Ka, gi, Xa, qa, VB, FQ = (VB = class {
8909
8909
  const n = U(this, It);
8910
8910
  Me(this, It, t), Me(this, Us, t.state), this.hasListeners() && (n == null || n.removeObserver(this), t.addObserver(this));
8911
8911
  }, NQ = function(t) {
8912
- bn.batch(() => {
8912
+ yn.batch(() => {
8913
8913
  t.listeners && this.listeners.forEach((n) => {
8914
8914
  n(U(this, Kn));
8915
8915
  }), U(this, rr).getQueryCache().notify({
@@ -9045,7 +9045,7 @@ var zS = class extends PQ {
9045
9045
  reset: this.reset
9046
9046
  });
9047
9047
  }, Vd = function(t) {
9048
- bn.batch(() => {
9048
+ yn.batch(() => {
9049
9049
  var n, r, o, i, a, A, s, l;
9050
9050
  if (U(this, jo) && this.hasListeners()) {
9051
9051
  const u = U(this, fi).variables, g = U(this, fi).context;
@@ -9133,7 +9133,7 @@ function VQ(e, t, n) {
9133
9133
  if (x.useSyncExternalStore(
9134
9134
  x.useCallback(
9135
9135
  (d) => {
9136
- const B = u ? s.subscribe(bn.batchCalls(d)) : Hd;
9136
+ const B = u ? s.subscribe(yn.batchCalls(d)) : Hd;
9137
9137
  return s.updateResult(), B;
9138
9138
  },
9139
9139
  [s, u]
@@ -9185,7 +9185,7 @@ function yi(e, t) {
9185
9185
  }, [r, e]);
9186
9186
  const o = x.useSyncExternalStore(
9187
9187
  x.useCallback(
9188
- (a) => r.subscribe(bn.batchCalls(a)),
9188
+ (a) => r.subscribe(yn.batchCalls(a)),
9189
9189
  [r]
9190
9190
  ),
9191
9191
  () => r.getCurrentResult(),
@@ -9264,7 +9264,7 @@ function Ke(e, t) {
9264
9264
  if (e === !1 || e === null || typeof e > "u")
9265
9265
  throw new Error(t);
9266
9266
  }
9267
- function hn(e, t) {
9267
+ function Bn(e, t) {
9268
9268
  if (!e) {
9269
9269
  typeof console < "u" && console.warn(t);
9270
9270
  try {
@@ -9576,7 +9576,7 @@ function Ll(e, t) {
9576
9576
  };
9577
9577
  }
9578
9578
  function vT(e, t, n) {
9579
- t === void 0 && (t = !1), n === void 0 && (n = !0), hn(e === "*" || !e.endsWith("*") || e.endsWith("/*"), 'Route path "' + e + '" will be treated as if it were ' + ('"' + e.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + e.replace(/\*$/, "/*") + '".'));
9579
+ t === void 0 && (t = !1), n === void 0 && (n = !0), Bn(e === "*" || !e.endsWith("*") || e.endsWith("/*"), 'Route path "' + e + '" will be treated as if it were ' + ('"' + e.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + e.replace(/\*$/, "/*") + '".'));
9580
9580
  let r = [], o = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (a, A, s) => (r.push({
9581
9581
  paramName: A,
9582
9582
  isOptional: s != null
@@ -9589,7 +9589,7 @@ function bT(e) {
9589
9589
  try {
9590
9590
  return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
9591
9591
  } catch (t) {
9592
- return hn(!1, 'The URL path "' + e + '" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent ' + ("encoding (" + t + ").")), e;
9592
+ return Bn(!1, 'The URL path "' + e + '" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent ' + ("encoding (" + t + ").")), e;
9593
9593
  }
9594
9594
  }
9595
9595
  function eo(e, t) {
@@ -9762,7 +9762,7 @@ function NT(e) {
9762
9762
  Be(), Be = void 0;
9763
9763
  return;
9764
9764
  }
9765
- hn(he.size === 0 || R != null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");
9765
+ Bn(he.size === 0 || R != null, "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");
9766
9766
  let X = jt({
9767
9767
  currentLocation: Q.location,
9768
9768
  nextLocation: te,
@@ -9930,7 +9930,7 @@ function NT(e) {
9930
9930
  }
9931
9931
  }
9932
9932
  async function Xe(k, H, te) {
9933
- L && L.abort(), L = null, w = k, N = (te && te.startUninterruptedRevalidation) === !0, xn(Q.location, Q.matches), D = (te && te.preventScrollReset) === !0, M = (te && te.enableViewTransition) === !0;
9933
+ L && L.abort(), L = null, w = k, N = (te && te.startUninterruptedRevalidation) === !0, wn(Q.location, Q.matches), D = (te && te.preventScrollReset) === !0, M = (te && te.enableViewTransition) === !0;
9934
9934
  let R = A || a, X = te && te.overrideNavigation, ue = Ni(R, H, s), ye = (te && te.flushSync) === !0, pe = Cn(ue, R, H.pathname);
9935
9935
  if (pe.active && pe.matches && (ue = pe.matches), !ue) {
9936
9936
  let {
@@ -10152,7 +10152,7 @@ function NT(e) {
10152
10152
  let ie = $t(ve);
10153
10153
  ie !== void 0 && (K.actionData = ie);
10154
10154
  }
10155
- wt.length > 0 && (K.fetchers = mn(wt)), ge(K, {
10155
+ wt.length > 0 && (K.fetchers = Qn(wt)), ge(K, {
10156
10156
  flushSync: be
10157
10157
  });
10158
10158
  }
@@ -10217,7 +10217,7 @@ function NT(e) {
10217
10217
  if (Q.actionData)
10218
10218
  return Object.keys(Q.actionData).length === 0 ? null : Q.actionData;
10219
10219
  }
10220
- function mn(k) {
10220
+ function Qn(k) {
10221
10221
  return k.forEach((H) => {
10222
10222
  let te = Q.fetchers.get(H.key), R = KA(void 0, te ? te.data : void 0);
10223
10223
  Q.fetchers.set(H.key, R);
@@ -10621,7 +10621,7 @@ function NT(e) {
10621
10621
  } = k;
10622
10622
  if (he.size === 0)
10623
10623
  return;
10624
- he.size > 1 && hn(!1, "A router only supports one blocker at a time");
10624
+ he.size > 1 && Bn(!1, "A router only supports one blocker at a time");
10625
10625
  let X = Array.from(he.entries()), [ue, ye] = X[X.length - 1], pe = Q.blockers.get(ue);
10626
10626
  if (!(pe && pe.state === "proceeding") && ye({
10627
10627
  currentLocation: H,
@@ -10674,7 +10674,7 @@ function NT(e) {
10674
10674
  function dn(k, H) {
10675
10675
  return B && B(k, H.map((R) => gT(R, Q.loaderData))) || k.key;
10676
10676
  }
10677
- function xn(k, H) {
10677
+ function wn(k, H) {
10678
10678
  if (d && f) {
10679
10679
  let te = dn(k, H);
10680
10680
  d[te] = f();
@@ -11051,7 +11051,7 @@ async function VT(e, t, n) {
11051
11051
  let s = o[a] !== void 0 && // This property isn't static since it should always be updated based
11052
11052
  // on the route updates
11053
11053
  a !== "hasErrorBoundary";
11054
- hn(!s, 'Route "' + o.id + '" has a static property "' + a + '" defined but its lazy function is also returning a value for this property. ' + ('The lazy route property "' + a + '" will be ignored.')), !s && !lT.has(a) && (i[a] = r[a]);
11054
+ Bn(!s, 'Route "' + o.id + '" has a static property "' + a + '" defined but its lazy function is also returning a value for this property. ' + ('The lazy route property "' + a + '" will be ignored.')), !s && !lT.has(a) && (i[a] = r[a]);
11055
11055
  }
11056
11056
  Object.assign(o, i), Object.assign(o, tn({}, t(o), {
11057
11057
  lazy: void 0
@@ -11616,7 +11616,7 @@ function i6(e, t) {
11616
11616
  try {
11617
11617
  e.sessionStorage.setItem(JQ, JSON.stringify(n));
11618
11618
  } catch (r) {
11619
- hn(!1, "Failed to save applied view transitions in sessionStorage (" + r + ").");
11619
+ Bn(!1, "Failed to save applied view transitions in sessionStorage (" + r + ").");
11620
11620
  }
11621
11621
  }
11622
11622
  }
@@ -11724,7 +11724,7 @@ function s6() {
11724
11724
  return e0(() => {
11725
11725
  A.current = !0;
11726
11726
  }), x.useCallback(function(l, u) {
11727
- if (u === void 0 && (u = {}), process.env.NODE_ENV !== "production" && hn(A.current, ZQ), !A.current) return;
11727
+ if (u === void 0 && (u = {}), process.env.NODE_ENV !== "production" && Bn(A.current, ZQ), !A.current) return;
11728
11728
  if (typeof l == "number") {
11729
11729
  r.go(l);
11730
11730
  return;
@@ -11786,7 +11786,7 @@ function u6(e, t, n, r) {
11786
11786
  let C = Ni(e, {
11787
11787
  pathname: E
11788
11788
  });
11789
- return process.env.NODE_ENV !== "production" && (process.env.NODE_ENV !== "production" && hn(u || C != null, 'No routes matched location "' + p.pathname + p.search + p.hash + '" '), process.env.NODE_ENV !== "production" && hn(C == null || C[C.length - 1].route.element !== void 0 || C[C.length - 1].route.Component !== void 0 || C[C.length - 1].route.lazy !== void 0, 'Matched leaf route at location "' + p.pathname + p.search + p.hash + '" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.')), f6(C && C.map((B) => Object.assign({}, B, {
11789
+ return process.env.NODE_ENV !== "production" && (process.env.NODE_ENV !== "production" && Bn(u || C != null, 'No routes matched location "' + p.pathname + p.search + p.hash + '" '), process.env.NODE_ENV !== "production" && Bn(C == null || C[C.length - 1].route.element !== void 0 || C[C.length - 1].route.Component !== void 0 || C[C.length - 1].route.lazy !== void 0, 'Matched leaf route at location "' + p.pathname + p.search + p.hash + '" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.')), f6(C && C.map((B) => Object.assign({}, B, {
11790
11790
  params: Object.assign({}, A, B.params),
11791
11791
  pathname: Qo([
11792
11792
  l,
@@ -11968,14 +11968,14 @@ function Q6() {
11968
11968
  return e0(() => {
11969
11969
  n.current = !0;
11970
11970
  }), x.useCallback(function(o, i) {
11971
- i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && hn(n.current, ZQ), n.current && (typeof o == "number" ? e.navigate(o) : e.navigate(o, Pl({
11971
+ i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && Bn(n.current, ZQ), n.current && (typeof o == "number" ? e.navigate(o) : e.navigate(o, Pl({
11972
11972
  fromRouteId: t
11973
11973
  }, i)));
11974
11974
  }, [e, t]);
11975
11975
  }
11976
11976
  const XI = {};
11977
11977
  function n0(e, t, n) {
11978
- !t && !XI[e] && (XI[e] = !0, process.env.NODE_ENV !== "production" && hn(!1, n));
11978
+ !t && !XI[e] && (XI[e] = !0, process.env.NODE_ENV !== "production" && Bn(!1, n));
11979
11979
  }
11980
11980
  function Nl(e) {
11981
11981
  let {
@@ -11994,7 +11994,7 @@ function Nl(e) {
11994
11994
  future: i,
11995
11995
  static: a
11996
11996
  } = x.useContext(Ur);
11997
- process.env.NODE_ENV !== "production" && hn(!a, "<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");
11997
+ process.env.NODE_ENV !== "production" && Bn(!a, "<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");
11998
11998
  let {
11999
11999
  matches: A
12000
12000
  } = x.useContext(Vr), {
@@ -12048,7 +12048,7 @@ function b6(e) {
12048
12048
  navigationType: o
12049
12049
  };
12050
12050
  }, [s, u, g, p, h, E, o]);
12051
- return process.env.NODE_ENV !== "production" && hn(C != null, '<Router basename="' + s + '"> is not able to match the URL ' + ('"' + u + g + p + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), C == null ? null : /* @__PURE__ */ x.createElement(Ur.Provider, {
12051
+ return process.env.NODE_ENV !== "production" && Bn(C != null, '<Router basename="' + s + '"> is not able to match the URL ' + ('"' + u + g + p + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), C == null ? null : /* @__PURE__ */ x.createElement(Ur.Provider, {
12052
12052
  value: l
12053
12053
  }, /* @__PURE__ */ x.createElement(Ru.Provider, {
12054
12054
  children: n,
@@ -12063,13 +12063,13 @@ function y6(e) {
12063
12063
  // there if you change this -- please and thank you!
12064
12064
  hasErrorBoundary: e.ErrorBoundary != null || e.errorElement != null
12065
12065
  };
12066
- return e.Component && (process.env.NODE_ENV !== "production" && e.element && process.env.NODE_ENV !== "production" && hn(!1, "You should not include both `Component` and `element` on your route - `Component` will be used."), Object.assign(t, {
12066
+ return e.Component && (process.env.NODE_ENV !== "production" && e.element && process.env.NODE_ENV !== "production" && Bn(!1, "You should not include both `Component` and `element` on your route - `Component` will be used."), Object.assign(t, {
12067
12067
  element: /* @__PURE__ */ x.createElement(e.Component),
12068
12068
  Component: void 0
12069
- })), e.HydrateFallback && (process.env.NODE_ENV !== "production" && e.hydrateFallbackElement && process.env.NODE_ENV !== "production" && hn(!1, "You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."), Object.assign(t, {
12069
+ })), e.HydrateFallback && (process.env.NODE_ENV !== "production" && e.hydrateFallbackElement && process.env.NODE_ENV !== "production" && Bn(!1, "You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."), Object.assign(t, {
12070
12070
  hydrateFallbackElement: /* @__PURE__ */ x.createElement(e.HydrateFallback),
12071
12071
  HydrateFallback: void 0
12072
- })), e.ErrorBoundary && (process.env.NODE_ENV !== "production" && e.errorElement && process.env.NODE_ENV !== "production" && hn(!1, "You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."), Object.assign(t, {
12072
+ })), e.ErrorBoundary && (process.env.NODE_ENV !== "production" && e.errorElement && process.env.NODE_ENV !== "production" && Bn(!1, "You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."), Object.assign(t, {
12073
12073
  errorElement: /* @__PURE__ */ x.createElement(e.ErrorBoundary),
12074
12074
  ErrorBoundary: void 0
12075
12075
  })), t;
@@ -12152,7 +12152,7 @@ function D6() {
12152
12152
  }
12153
12153
  const O6 = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
12154
12154
  function Qg(e) {
12155
- return e != null && !O6.has(e) ? (process.env.NODE_ENV !== "production" && hn(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + ol + '"')), null) : e;
12155
+ return e != null && !O6.has(e) ? (process.env.NODE_ENV !== "production" && Bn(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + ol + '"')), null) : e;
12156
12156
  }
12157
12157
  function L6(e, t) {
12158
12158
  let n, r, o, i, a;
@@ -12345,7 +12345,7 @@ function i0(e) {
12345
12345
  nextLocation: E.nextLocation
12346
12346
  }), C(void 0));
12347
12347
  }, [s.isTransitioning, E]), x.useEffect(() => {
12348
- process.env.NODE_ENV !== "production" && hn(t == null || !n.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead");
12348
+ process.env.NODE_ENV !== "production" && Bn(t == null || !n.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead");
12349
12349
  }, []);
12350
12350
  let m = x.useMemo(() => ({
12351
12351
  createHref: n.createHref,
@@ -12417,7 +12417,7 @@ const Y6 = typeof window < "u" && typeof window.document < "u" && typeof window.
12417
12417
  let I = new URL(window.location.href), m = l.startsWith("//") ? new URL(I.protocol + l) : new URL(l), v = eo(m.pathname, h);
12418
12418
  m.origin === I.origin && v != null ? l = v + m.search + m.hash : C = !0;
12419
12419
  } catch {
12420
- process.env.NODE_ENV !== "production" && hn(!1, '<Link to="' + l + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
12420
+ process.env.NODE_ENV !== "production" && Bn(!1, '<Link to="' + l + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
12421
12421
  }
12422
12422
  let d = A6(l, {
12423
12423
  relative: o
@@ -12560,7 +12560,7 @@ function $6(e, t) {
12560
12560
  }, [l, s, u, r, o, n, e, i, a, A]);
12561
12561
  }
12562
12562
  function wi(e) {
12563
- process.env.NODE_ENV !== "production" && hn(typeof URLSearchParams < "u", "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");
12563
+ process.env.NODE_ENV !== "production" && Bn(typeof URLSearchParams < "u", "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");
12564
12564
  let t = x.useRef(zd(e)), n = x.useRef(!1), r = Ko(), o = x.useMemo(() => (
12565
12565
  // Only merge in the defaults if we haven't yet called setSearchParams.
12566
12566
  // Once we call that we want those to take precedence, otherwise you can't
@@ -12693,7 +12693,7 @@ const i5 = S(V)`
12693
12693
  justify-content: center;
12694
12694
  align-items: center;
12695
12695
  `, l5 = "Customising connectors on the agent’s panel", u5 = "Configure your Connectors in the right panel, add your cards and name them how you want the agents to see and update them.", g5 = "Coming Soon", d5 = "Have any questions? ", s0 = "internal-chat", C5 = "https://cdn.hiverhq.com/connectors-module/assets/RequestNewCCLogo.svg", E5 = "https://cdn.hiverhq.com/connectors-module/assets/agent-view.svg", f5 = "https://cdn.hiverhq.com/connectors-module/assets/RequestConnector.svg", I5 = "https://cdn.hiverhq.com/connectors-module/assets/UpgradeImage.svg", p5 = () => {
12696
- const { availableFeatures: e } = Ge(yn), t = (n) => {
12696
+ const { availableFeatures: e } = Ge(xn), t = (n) => {
12697
12697
  n.stopPropagation(), bo(e, s0) && km();
12698
12698
  };
12699
12699
  return /* @__PURE__ */ c.jsx(i5, { children: /* @__PURE__ */ c.jsxs(a5, { children: [
@@ -12869,7 +12869,7 @@ const i5 = S(V)`
12869
12869
  background: linear-gradient(to right, ${T.palette.yellow.primary}, #ffc350);
12870
12870
  color: ${Ar.gray.gray1};
12871
12871
  `, Q9 = () => {
12872
- const { availableFeatures: e, sendTrackingEvent: t } = Ge(yn), n = nn(), r = Si(), o = vt(BQ), i = vt(nE), a = vt(J4);
12872
+ const { availableFeatures: e, sendTrackingEvent: t } = Ge(xn), n = nn(), r = Si(), o = vt(BQ), i = vt(nE), a = vt(J4);
12873
12873
  Ie(() => {
12874
12874
  r(Wc());
12875
12875
  }, [r]);
@@ -13678,10 +13678,10 @@ function O_(e) {
13678
13678
  }));
13679
13679
  return n ? lu(u, n) : u;
13680
13680
  }
13681
- var vn;
13681
+ var bn;
13682
13682
  (function(e) {
13683
13683
  e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
13684
- })(vn || (vn = {}));
13684
+ })(bn || (bn = {}));
13685
13685
  function Ul() {
13686
13686
  }
13687
13687
  function Q0(e, t) {
@@ -13960,10 +13960,10 @@ function qd(e) {
13960
13960
  y: w0(e)
13961
13961
  };
13962
13962
  }
13963
- var Rn;
13963
+ var Dn;
13964
13964
  (function(e) {
13965
13965
  e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
13966
- })(Rn || (Rn = {}));
13966
+ })(Dn || (Dn = {}));
13967
13967
  function S0(e) {
13968
13968
  return !Lu || !e ? !1 : e === document.scrollingElement;
13969
13969
  }
@@ -14017,7 +14017,7 @@ function X_(e, t, n, r, o) {
14017
14017
  height: t.height * o.y,
14018
14018
  width: t.width * o.x
14019
14019
  };
14020
- return !l && i <= t.top + C.height ? (h.y = Rn.Backward, E.y = r * Math.abs((t.top + C.height - i) / C.height)) : !u && s >= t.bottom - C.height && (h.y = Rn.Forward, E.y = r * Math.abs((t.bottom - C.height - s) / C.height)), !p && A >= t.right - C.width ? (h.x = Rn.Forward, E.x = r * Math.abs((t.right - C.width - A) / C.width)) : !g && a <= t.left + C.width && (h.x = Rn.Backward, E.x = r * Math.abs((t.left + C.width - a) / C.width)), {
14020
+ return !l && i <= t.top + C.height ? (h.y = Dn.Backward, E.y = r * Math.abs((t.top + C.height - i) / C.height)) : !u && s >= t.bottom - C.height && (h.y = Dn.Forward, E.y = r * Math.abs((t.bottom - C.height - s) / C.height)), !p && A >= t.right - C.width ? (h.x = Dn.Forward, E.x = r * Math.abs((t.right - C.width - A) / C.width)) : !g && a <= t.left + C.width && (h.x = Dn.Backward, E.x = r * Math.abs((t.left + C.width - a) / C.width)), {
14021
14021
  direction: h,
14022
14022
  speed: E
14023
14023
  };
@@ -14628,12 +14628,12 @@ function c8(e) {
14628
14628
  }
14629
14629
  const l8 = {
14630
14630
  x: {
14631
- [Rn.Backward]: !1,
14632
- [Rn.Forward]: !1
14631
+ [Dn.Backward]: !1,
14632
+ [Dn.Forward]: !1
14633
14633
  },
14634
14634
  y: {
14635
- [Rn.Backward]: !1,
14636
- [Rn.Forward]: !1
14635
+ [Dn.Backward]: !1,
14636
+ [Dn.Forward]: !1
14637
14637
  }
14638
14638
  };
14639
14639
  function u8(e) {
@@ -14651,12 +14651,12 @@ function u8(e) {
14651
14651
  };
14652
14652
  return {
14653
14653
  x: {
14654
- [Rn.Backward]: o.x[Rn.Backward] || i.x === -1,
14655
- [Rn.Forward]: o.x[Rn.Forward] || i.x === 1
14654
+ [Dn.Backward]: o.x[Dn.Backward] || i.x === -1,
14655
+ [Dn.Forward]: o.x[Dn.Forward] || i.x === 1
14656
14656
  },
14657
14657
  y: {
14658
- [Rn.Backward]: o.y[Rn.Backward] || i.y === -1,
14659
- [Rn.Forward]: o.y[Rn.Forward] || i.y === 1
14658
+ [Dn.Backward]: o.y[Dn.Backward] || i.y === -1,
14659
+ [Dn.Forward]: o.y[Dn.Forward] || i.y === 1
14660
14660
  }
14661
14661
  };
14662
14662
  }, [n, t, r]);
@@ -15085,7 +15085,7 @@ function _8() {
15085
15085
  }
15086
15086
  function R8(e, t) {
15087
15087
  switch (t.type) {
15088
- case vn.DragStart:
15088
+ case bn.DragStart:
15089
15089
  return {
15090
15090
  ...e,
15091
15091
  draggable: {
@@ -15094,7 +15094,7 @@ function R8(e, t) {
15094
15094
  active: t.active
15095
15095
  }
15096
15096
  };
15097
- case vn.DragMove:
15097
+ case bn.DragMove:
15098
15098
  return e.draggable.active == null ? e : {
15099
15099
  ...e,
15100
15100
  draggable: {
@@ -15105,8 +15105,8 @@ function R8(e, t) {
15105
15105
  }
15106
15106
  }
15107
15107
  };
15108
- case vn.DragEnd:
15109
- case vn.DragCancel:
15108
+ case bn.DragEnd:
15109
+ case bn.DragCancel:
15110
15110
  return {
15111
15111
  ...e,
15112
15112
  draggable: {
@@ -15122,7 +15122,7 @@ function R8(e, t) {
15122
15122
  }
15123
15123
  }
15124
15124
  };
15125
- case vn.RegisterDroppable: {
15125
+ case bn.RegisterDroppable: {
15126
15126
  const {
15127
15127
  element: n
15128
15128
  } = t, {
@@ -15136,7 +15136,7 @@ function R8(e, t) {
15136
15136
  }
15137
15137
  };
15138
15138
  }
15139
- case vn.SetDroppableDisabled: {
15139
+ case bn.SetDroppableDisabled: {
15140
15140
  const {
15141
15141
  id: n,
15142
15142
  key: r,
@@ -15156,7 +15156,7 @@ function R8(e, t) {
15156
15156
  }
15157
15157
  };
15158
15158
  }
15159
- case vn.UnregisterDroppable: {
15159
+ case bn.UnregisterDroppable: {
15160
15160
  const {
15161
15161
  id: n,
15162
15162
  key: r
@@ -15349,7 +15349,7 @@ const eC = /* @__PURE__ */ Wy(function(t) {
15349
15349
  scrollAdjustedTranslate: null
15350
15350
  }), J = D.getNodeFor((n = q.current.over) == null ? void 0 : n.id), ge = y8({
15351
15351
  measure: P.dragOverlay.measure
15352
- }), Ee = (r = ge.nodeRef.current) != null ? r : ae, Fe = y ? (o = ge.rect) != null ? o : Be : null, st = !!(ge.nodeRef.current && ge.rect), Xe = p8(st ? null : Be), Je = L0(Ee ? dr(Ee) : null), ct = h8(y ? J ?? ae : null), $t = v8(ct), mn = O8(h, {
15352
+ }), Ee = (r = ge.nodeRef.current) != null ? r : ae, Fe = y ? (o = ge.rect) != null ? o : Be : null, st = !!(ge.nodeRef.current && ge.rect), Xe = p8(st ? null : Be), Je = L0(Ee ? dr(Ee) : null), ct = h8(y ? J ?? ae : null), $t = v8(ct), Qn = O8(h, {
15353
15353
  transform: {
15354
15354
  x: w.x - Xe.x,
15355
15355
  y: w.y - Xe.y,
@@ -15366,13 +15366,13 @@ const eC = /* @__PURE__ */ Wy(function(t) {
15366
15366
  scrollableAncestors: ct,
15367
15367
  scrollableAncestorRects: $t,
15368
15368
  windowRect: Je
15369
- }), qo = Ce ? La(Ce, w) : null, $o = B8(ct), Zo = Ep($o), er = Ep($o, [Be]), gn = La(mn, Zo), Cr = Fe ? V_(Fe, mn) : null, Mn = O && Cr ? g({
15369
+ }), qo = Ce ? La(Ce, w) : null, $o = B8(ct), Zo = Ep($o), er = Ep($o, [Be]), gn = La(Qn, Zo), Cr = Fe ? V_(Fe, Qn) : null, Mn = O && Cr ? g({
15370
15370
  active: O,
15371
15371
  collisionRect: Cr,
15372
15372
  droppableRects: G,
15373
15373
  droppableContainers: Y,
15374
15374
  pointerCoordinates: qo
15375
- }) : null, kn = N_(Mn, "id"), [Kt, Do] = $(null), io = st ? mn : La(mn, er), ei = j_(io, (i = Kt == null ? void 0 : Kt.rect) != null ? i : null, Be), jn = Oe(null), Oo = tt(
15375
+ }) : null, kn = N_(Mn, "id"), [Kt, Do] = $(null), io = st ? Qn : La(Qn, er), ei = j_(io, (i = Kt == null ? void 0 : Kt.rect) != null ? i : null, Be), jn = Oe(null), Oo = tt(
15376
15376
  (jt, Zt) => {
15377
15377
  let {
15378
15378
  sensor: en,
@@ -15383,7 +15383,7 @@ const eC = /* @__PURE__ */ Wy(function(t) {
15383
15383
  const ln = Q.get(_.current);
15384
15384
  if (!ln)
15385
15385
  return;
15386
- const dn = jt.nativeEvent, xn = new en({
15386
+ const dn = jt.nativeEvent, wn = new en({
15387
15387
  active: _.current,
15388
15388
  activeNode: ln,
15389
15389
  event: dn,
@@ -15410,7 +15410,7 @@ const eC = /* @__PURE__ */ Wy(function(t) {
15410
15410
  };
15411
15411
  lc(() => {
15412
15412
  fr == null || fr(Un), v(Ai.Initializing), B({
15413
- type: vn.DragStart,
15413
+ type: bn.DragStart,
15414
15414
  initialCoordinates: Cn,
15415
15415
  active: Jt
15416
15416
  }), f({
@@ -15421,14 +15421,14 @@ const eC = /* @__PURE__ */ Wy(function(t) {
15421
15421
  },
15422
15422
  onMove(Cn) {
15423
15423
  B({
15424
- type: vn.DragMove,
15424
+ type: bn.DragMove,
15425
15425
  coordinates: Cn
15426
15426
  });
15427
15427
  },
15428
- onEnd: tr(vn.DragEnd),
15429
- onCancel: tr(vn.DragCancel)
15428
+ onEnd: tr(bn.DragEnd),
15429
+ onCancel: tr(bn.DragCancel)
15430
15430
  });
15431
- jn.current = xn;
15431
+ jn.current = wn;
15432
15432
  function tr(Cn) {
15433
15433
  return async function() {
15434
15434
  const {
@@ -15448,13 +15448,13 @@ const eC = /* @__PURE__ */ Wy(function(t) {
15448
15448
  collisions: fr,
15449
15449
  delta: k,
15450
15450
  over: Un
15451
- }, Cn === vn.DragEnd && typeof te == "function" && await Promise.resolve(te(H)) && (Cn = vn.DragCancel);
15451
+ }, Cn === bn.DragEnd && typeof te == "function" && await Promise.resolve(te(H)) && (Cn = bn.DragCancel);
15452
15452
  }
15453
15453
  _.current = null, lc(() => {
15454
15454
  B({
15455
15455
  type: Cn
15456
15456
  }), v(Ai.Uninitialized), Do(null), z(null), le(null), jn.current = null;
15457
- const te = Cn === vn.DragEnd ? "onDragEnd" : "onDragCancel";
15457
+ const te = Cn === bn.DragEnd ? "onDragEnd" : "onDragCancel";
15458
15458
  if (H) {
15459
15459
  const R = W.current[te];
15460
15460
  R == null || R(H), f({
@@ -15477,10 +15477,10 @@ const eC = /* @__PURE__ */ Wy(function(t) {
15477
15477
  ln.dndKit || ln.defaultPrevented
15478
15478
  )
15479
15479
  return;
15480
- const xn = {
15480
+ const wn = {
15481
15481
  active: dn
15482
15482
  };
15483
- jt(en, Zt.options, xn) === !0 && (ln.dndKit = {
15483
+ jt(en, Zt.options, wn) === !0 && (ln.dndKit = {
15484
15484
  capturedBy: Zt.sensor
15485
15485
  }, _.current = Ln, Oo(en, Zt));
15486
15486
  }, [Q, Oo]), Gr = d8(u, ke);
@@ -15530,11 +15530,11 @@ const eC = /* @__PURE__ */ Wy(function(t) {
15530
15530
  return;
15531
15531
  const {
15532
15532
  onDragOver: dn
15533
- } = W.current, xn = Ln.get(kn), tr = xn && xn.rect.current ? {
15534
- id: xn.id,
15535
- rect: xn.rect.current,
15536
- data: xn.data,
15537
- disabled: xn.disabled
15533
+ } = W.current, wn = Ln.get(kn), tr = wn && wn.rect.current ? {
15534
+ id: wn.id,
15535
+ rect: wn.rect.current,
15536
+ data: wn.data,
15537
+ disabled: wn.disabled
15538
15538
  } : null, Cn = {
15539
15539
  active: jt,
15540
15540
  activatorEvent: Zt,
@@ -15741,7 +15741,7 @@ function V8(e) {
15741
15741
  !I || !v.current || (I.disconnect(), g.current = !1, I.observe(v.current));
15742
15742
  }, [v, I]), Ie(
15743
15743
  () => (A({
15744
- type: vn.RegisterDroppable,
15744
+ type: bn.RegisterDroppable,
15745
15745
  element: {
15746
15746
  id: r,
15747
15747
  key: i,
@@ -15751,7 +15751,7 @@ function V8(e) {
15751
15751
  data: b
15752
15752
  }
15753
15753
  }), () => A({
15754
- type: vn.UnregisterDroppable,
15754
+ type: bn.UnregisterDroppable,
15755
15755
  key: i,
15756
15756
  id: r
15757
15757
  })),
@@ -15759,7 +15759,7 @@ function V8(e) {
15759
15759
  [r]
15760
15760
  ), Ie(() => {
15761
15761
  n !== u.current.disabled && (A({
15762
- type: vn.SetDroppableDisabled,
15762
+ type: bn.SetDroppableDisabled,
15763
15763
  id: r,
15764
15764
  key: i,
15765
15765
  disabled: n
@@ -16161,7 +16161,7 @@ const e7 = S(V)`
16161
16161
  }
16162
16162
  }
16163
16163
  `, n7 = "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", r7 = ({ field: e, toggleSelected: t, hideNewChip: n }) => {
16164
- const { availableFeatures: r } = Ge(yn), { key: o, label: i, enabled: a, isFieldNew: A } = e, { attributes: s, listeners: l, setNodeRef: u, transform: g, transition: p } = xE({ id: o }), h = Oe(null), [E, C] = $(!1), d = bs(r) && A && !n, B = {
16164
+ const { availableFeatures: r } = Ge(xn), { key: o, label: i, enabled: a, isFieldNew: A } = e, { attributes: s, listeners: l, setNodeRef: u, transform: g, transition: p } = xE({ id: o }), h = Oe(null), [E, C] = $(!1), d = bs(r) && A && !n, B = {
16165
16165
  transform: Aa.Transform.toString(g),
16166
16166
  transition: p
16167
16167
  };
@@ -16468,7 +16468,7 @@ const e7 = S(V)`
16468
16468
  fields: A,
16469
16469
  setVisitedFieldVisTab: s
16470
16470
  }) => {
16471
- const { availableFeatures: l, sendTrackingEvent: u } = Ge(yn), g = Si(), p = vt(Ou), h = vt(f0) ?? [], E = vt(E0) ?? [], C = vt(L9), d = vt(O9), { userId: B } = jr() || {}, [f, I] = $(
16471
+ const { availableFeatures: l, sendTrackingEvent: u } = Ge(xn), g = Si(), p = vt(Ou), h = vt(f0) ?? [], E = vt(E0) ?? [], C = vt(L9), d = vt(O9), { userId: B } = jr() || {}, [f, I] = $(
16472
16472
  () => (E == null ? void 0 : E.filter((G) => n == null ? void 0 : n.includes(G.id))) ?? []
16473
16473
  ), [m, v] = $(
16474
16474
  () => (h == null ? void 0 : h.find((G) => o == null ? void 0 : o.includes(G.name))) ?? {}
@@ -16618,7 +16618,7 @@ const B7 = S(V)`
16618
16618
  }
16619
16619
  `, v7 = ({ infoCard: e, currentConnectorId: t, setShowEnabledModal: n }) => {
16620
16620
  var b, Q;
16621
- const r = ((b = e.inboxes) == null ? void 0 : b.email) || [], o = ((Q = e.inboxes) == null ? void 0 : Q.chat) || [], i = e.roles ?? [], a = e.fields ?? [], { isCardNew: A } = e, s = r.length + o.length, l = s > 0 && i.length > 0, [u, g] = $(!1), [p, h] = $(!1), { availableFeatures: E, userPermissions: C, sendTrackingEvent: d } = Ge(yn), B = lw(C), { userId: f } = jr() || {}, I = (w) => {
16621
+ const r = ((b = e.inboxes) == null ? void 0 : b.email) || [], o = ((Q = e.inboxes) == null ? void 0 : Q.chat) || [], i = e.roles ?? [], a = e.fields ?? [], { isCardNew: A } = e, s = r.length + o.length, l = s > 0 && i.length > 0, [u, g] = $(!1), [p, h] = $(!1), { availableFeatures: E, userPermissions: C, sendTrackingEvent: d } = Ge(xn), B = lw(C), { userId: f } = jr() || {}, I = (w) => {
16622
16622
  g(w), !w && f && (A7(e.id, f), p && a7(e.id, f));
16623
16623
  }, m = () => {
16624
16624
  g(!0), d(Qt.CONFIGURE_VISIBILITY_CLICKED);
@@ -16700,7 +16700,7 @@ const B7 = S(V)`
16700
16700
  isEdit: n = !1,
16701
16701
  isConnectorCard: r = !1
16702
16702
  }) => {
16703
- const { sendTrackingEvent: o } = Ge(yn), { id: i, name: a, logo: A, description: s, isAuthenticated: l, showUpgradeButton: u = !1, updates: g } = e, p = vt(D9), h = vt(C0), E = vt(IE), [C, d] = $(!1), B = Si(), f = nn(), I = (_, N) => {
16703
+ const { sendTrackingEvent: o } = Ge(xn), { id: i, name: a, logo: A, description: s, isAuthenticated: l, showUpgradeButton: u = !1, updates: g } = e, p = vt(D9), h = vt(C0), E = vt(IE), [C, d] = $(!1), B = Si(), f = nn(), I = (_, N) => {
16704
16704
  _ == null || _.stopPropagation(), B(zc({ id: N, enabled: _.target.checked })).unwrap().then(() => {
16705
16705
  _.target.checked ? o(Qt.TOGGLE_ENABLED, { connector_name: a }) : (o(Qt.TOGGLE_DISABLED, { connector_name: a }), cr({
16706
16706
  message: z9,
@@ -16826,7 +16826,7 @@ const B7 = S(V)`
16826
16826
  handleSubmit: i,
16827
16827
  isApiText: a
16828
16828
  }) => {
16829
- const { sendTrackingEvent: A } = Ge(yn), l = vt(W0) === Ve.LOADING, u = r.length === 0 ? a ? w5 : S5 : "";
16829
+ const { sendTrackingEvent: A } = Ge(xn), l = vt(W0) === Ve.LOADING, u = r.length === 0 ? a ? w5 : S5 : "";
16830
16830
  return Ie(() => {
16831
16831
  A(
16832
16832
  a ? Qt.REQUEST_NEW_FEATURE_SHOWN : Qt.REQUEST_NEW_CONNECTOR_SHOWN
@@ -16905,7 +16905,7 @@ const B7 = S(V)`
16905
16905
  connectorType: n,
16906
16906
  isApi: r = !1
16907
16907
  }) => {
16908
- const { sendTrackingEvent: o } = Ge(yn), i = Si(), a = vt(T7), A = vt(_7), s = vt(W0), [l, u] = $(""), [g, p] = $([]), [h, E] = $([]), [C, d] = $(!1), [B, f] = $(!1), I = () => {
16908
+ const { sendTrackingEvent: o } = Ge(xn), i = Si(), a = vt(T7), A = vt(_7), s = vt(W0), [l, u] = $(""), [g, p] = $([]), [h, E] = $([]), [C, d] = $(!1), [B, f] = $(!1), I = () => {
16909
16909
  const b = r ? ep.API : ep.CONNECTOR, Q = h.map((w) => w.id);
16910
16910
  i(el({ type: b, values: Q, description: l })).unwrap().then(() => {
16911
16911
  o(
@@ -17054,7 +17054,7 @@ const B7 = S(V)`
17054
17054
  height: 16px;
17055
17055
  width: 16px;
17056
17056
  `, TE = ({ isApiViewPage: e = !1, isSettingsPage: t = !1 }) => {
17057
- const { availableFeatures: n, sendTrackingEvent: r } = Ge(yn), { DETAILS_PAGE: o, AUTH_PAGE: i, CONNECTORS_PAGE_ADMIN_SIDE: a } = k5, A = t ? i : e ? o : a, s = jm({ "settings-page": t, "api-view-page": e }), [l, u] = $(() => {
17057
+ const { availableFeatures: n, sendTrackingEvent: r } = Ge(xn), { DETAILS_PAGE: o, AUTH_PAGE: i, CONNECTORS_PAGE_ADMIN_SIDE: a } = k5, A = t ? i : e ? o : a, s = jm({ "settings-page": t, "api-view-page": e }), [l, u] = $(() => {
17058
17058
  const h = localStorage.getItem(wg) === "true";
17059
17059
  return (t || !h) && bo(n, zx);
17060
17060
  });
@@ -17084,7 +17084,7 @@ const B7 = S(V)`
17084
17084
  t ? null : /* @__PURE__ */ c.jsx("div", { className: "schedule-close", children: /* @__PURE__ */ c.jsx(Ct, { title: "Close", placement: "bottom", children: /* @__PURE__ */ c.jsx(On, { onClick: p, children: /* @__PURE__ */ c.jsx(aR, {}) }) }) })
17085
17085
  ] }) : null;
17086
17086
  }, hp = () => {
17087
- const e = Si(), { connectorFunctions: t } = Ge(yn), [n, r] = $(!1), [o, i] = $(!1), a = vt(d0), A = vt(BQ), s = vt(C0), l = !!a.length, u = !!A.length, { sendTrackingEvent: g } = Ge(yn), p = s === Ve.LOADING;
17087
+ const e = Si(), { connectorFunctions: t } = Ge(xn), [n, r] = $(!1), [o, i] = $(!1), a = vt(d0), A = vt(BQ), s = vt(C0), l = !!a.length, u = !!A.length, { sendTrackingEvent: g } = Ge(xn), p = s === Ve.LOADING;
17088
17088
  Ie(() => {
17089
17089
  t && (e(Yc(t.getInboxDetails)), e(Kc(t.getRoles)));
17090
17090
  }, [t, e]), Ie(() => {
@@ -17167,7 +17167,7 @@ const B7 = S(V)`
17167
17167
  }
17168
17168
  }
17169
17169
  `, gR = ({ sidebarOptions: e = [] }) => {
17170
- const { currentSideBar: t, setCurrentSideBar: n, sendTrackingEvent: r } = Ge(yn), o = nn(), { pathname: i } = Ko();
17170
+ const { currentSideBar: t, setCurrentSideBar: n, sendTrackingEvent: r } = Ge(xn), o = nn(), { pathname: i } = Ko();
17171
17171
  Ie(() => {
17172
17172
  const s = e.find((u) => Bt.BASEPATH + u.route === i), l = Object.keys(SI).find((u) => SI[u].includes(i));
17173
17173
  s != null && s.value && (s == null ? void 0 : s.value) !== t ? n(s.value) : l && l !== t && n(l);
@@ -17200,7 +17200,7 @@ const B7 = S(V)`
17200
17200
  width: 100%;
17201
17201
  min-height: 100%;
17202
17202
  `, ER = () => {
17203
- const { sendTrackingEvent: e } = Ge(yn), t = Oe(!1);
17203
+ const { sendTrackingEvent: e } = Ge(xn), t = Oe(!1);
17204
17204
  return Ie(() => {
17205
17205
  t.current || (e(Qt.CONNECTOR_SECTION_VIEWED), t.current = !0);
17206
17206
  }, [e]), /* @__PURE__ */ c.jsxs(dR, { children: [
@@ -17230,7 +17230,7 @@ const B7 = S(V)`
17230
17230
  border: 1px solid ${T.palette.purple.primary} !important;
17231
17231
  }
17232
17232
  `, vR = ({ connectorName: e, connectorType: t, apiList: n, isLoading: r = !1, isEdit: o = !1 }) => {
17233
- const { sendTrackingEvent: i } = Ge(yn), a = fR.replace("{{connector}}", e ?? ""), [A, s] = $(!1), l = () => {
17233
+ const { sendTrackingEvent: i } = Ge(xn), a = fR.replace("{{connector}}", e ?? ""), [A, s] = $(!1), l = () => {
17234
17234
  i(Qt.REQUEST_NEW_FEATURE_CLICKED, { connector_name: e }), s(!0);
17235
17235
  };
17236
17236
  return /* @__PURE__ */ c.jsx(mR, { children: r ? /* @__PURE__ */ c.jsx(BR, {}) : /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
@@ -18596,7 +18596,7 @@ const kR = /* @__PURE__ */ du(Z0);
18596
18596
  for (var Te = oe[ie], we = 0, _e = Te.length; we < _e; ++we)
18597
18597
  fe[Te[we]] = de;
18598
18598
  }
18599
- }), mn = Q($t), qo = w(function(Ae, j) {
18599
+ }), Qn = Q($t), qo = w(function(Ae, j) {
18600
18600
  Object.defineProperty(j, "__esModule", {
18601
18601
  value: !0
18602
18602
  }), j.default = oe;
@@ -18704,7 +18704,7 @@ const kR = /* @__PURE__ */ du(Z0);
18704
18704
  }
18705
18705
  }
18706
18706
  }), Oo = Q(jn), ke = ["Webkit"], Gr = ["Moz"], Sr = ["ms"], Xt = ["Webkit", "Moz"], bt = ["Webkit", "ms"], jt = ["Webkit", "Moz", "ms"], Zt = {
18707
- plugins: [W, P, ne, ae, he, Be, q, ge, Fe, Xe, ct, mn, $o, er, Oo],
18707
+ plugins: [W, P, ne, ae, he, Be, q, ge, Fe, Xe, ct, Qn, $o, er, Oo],
18708
18708
  prefixMap: {
18709
18709
  transform: bt,
18710
18710
  transformOrigin: bt,
@@ -18856,7 +18856,7 @@ const kR = /* @__PURE__ */ du(Z0);
18856
18856
  !1
18857
18857
  );
18858
18858
  }
18859
- }, xn = function(j, oe, K) {
18859
+ }, wn = function(j, oe, K) {
18860
18860
  return (
18861
18861
  /* : string */
18862
18862
  "".concat(h(j), ":").concat(K(j, oe), ";")
@@ -18881,9 +18881,9 @@ const kR = /* @__PURE__ */ du(Z0);
18881
18881
  var Wt = oe.keyOrder[St], En = Te[Wt];
18882
18882
  if (Array.isArray(En))
18883
18883
  for (var nr = 0; nr < En.length; nr++)
18884
- yt.push(xn(Wt, En[nr], ut));
18884
+ yt.push(wn(Wt, En[nr], ut));
18885
18885
  else
18886
- yt.push(xn(Wt, En, ut));
18886
+ yt.push(wn(Wt, En, ut));
18887
18887
  }
18888
18888
  return yt.length ? "".concat(j, "{").concat(yt.join(""), "}") : "";
18889
18889
  }, Jt = null, Er = function(j) {
@@ -19131,7 +19131,7 @@ Hr.injectAndGetClassName = JR;
19131
19131
  Hr.defaultSelectorHandlers = KR;
19132
19132
  Hr.reset = XR;
19133
19133
  Hr.resetInjectedStyle = qR;
19134
- var pn = Hr, AC = { exports: {} }, sC = { exports: {} }, t1 = { exports: {} };
19134
+ var hn = Hr, AC = { exports: {} }, sC = { exports: {} }, t1 = { exports: {} };
19135
19135
  (function(e) {
19136
19136
  function t(n) {
19137
19137
  return n && n.__esModule ? n : {
@@ -19233,27 +19233,27 @@ const rD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19233
19233
  var sa = {};
19234
19234
  sa.__esModule = !0;
19235
19235
  sa.classNamesShape = sa.timeoutsShape = void 0;
19236
- var Qn = oD(_A);
19236
+ var vn = oD(_A);
19237
19237
  function oD(e) {
19238
19238
  return e && e.__esModule ? e : { default: e };
19239
19239
  }
19240
- var iD = process.env.NODE_ENV !== "production" ? Qn.default.oneOfType([Qn.default.number, Qn.default.shape({
19241
- enter: Qn.default.number,
19242
- exit: Qn.default.number,
19243
- appear: Qn.default.number
19240
+ var iD = process.env.NODE_ENV !== "production" ? vn.default.oneOfType([vn.default.number, vn.default.shape({
19241
+ enter: vn.default.number,
19242
+ exit: vn.default.number,
19243
+ appear: vn.default.number
19244
19244
  }).isRequired]) : null;
19245
19245
  sa.timeoutsShape = iD;
19246
- var aD = process.env.NODE_ENV !== "production" ? Qn.default.oneOfType([Qn.default.string, Qn.default.shape({
19247
- enter: Qn.default.string,
19248
- exit: Qn.default.string,
19249
- active: Qn.default.string
19250
- }), Qn.default.shape({
19251
- enter: Qn.default.string,
19252
- enterDone: Qn.default.string,
19253
- enterActive: Qn.default.string,
19254
- exit: Qn.default.string,
19255
- exitDone: Qn.default.string,
19256
- exitActive: Qn.default.string
19246
+ var aD = process.env.NODE_ENV !== "production" ? vn.default.oneOfType([vn.default.string, vn.default.shape({
19247
+ enter: vn.default.string,
19248
+ exit: vn.default.string,
19249
+ active: vn.default.string
19250
+ }), vn.default.shape({
19251
+ enter: vn.default.string,
19252
+ enterDone: vn.default.string,
19253
+ enterActive: vn.default.string,
19254
+ exit: vn.default.string,
19255
+ exitDone: vn.default.string,
19256
+ exitActive: vn.default.string
19257
19257
  })]) : null;
19258
19258
  sa.classNamesShape = aD;
19259
19259
  qn.__esModule = !0;
@@ -20794,13 +20794,13 @@ var pO = on(function(e, t) {
20794
20794
  return u.indexOf("Moz") > -1 ? d : (p["Webkit" + (0, o.default)(u)] = C, p["Moz" + (0, o.default)(u)] = d, E);
20795
20795
  }
20796
20796
  }
20797
- }), hO = rn(pO), He = ["Webkit"], Pg = ["Moz"], bc = ["ms"], Hn = ["Webkit", "Moz"], wn = ["Webkit", "ms"], qA = ["Webkit", "Moz", "ms"], BO = {
20797
+ }), hO = rn(pO), He = ["Webkit"], Pg = ["Moz"], bc = ["ms"], Hn = ["Webkit", "Moz"], Sn = ["Webkit", "ms"], qA = ["Webkit", "Moz", "ms"], BO = {
20798
20798
  plugins: [kD, UD, HD, WD, YD, KD, qD, ZD, tO, rO, iO, AO, cO, uO, hO],
20799
20799
  prefixMap: {
20800
- transform: wn,
20801
- transformOrigin: wn,
20802
- transformOriginX: wn,
20803
- transformOriginY: wn,
20800
+ transform: Sn,
20801
+ transformOrigin: Sn,
20802
+ transformOriginX: Sn,
20803
+ transformOriginY: Sn,
20804
20804
  backfaceVisibility: He,
20805
20805
  perspective: He,
20806
20806
  perspectiveOrigin: He,
@@ -20860,14 +20860,14 @@ var pO = on(function(e, t) {
20860
20860
  columns: Hn,
20861
20861
  columnSpan: Hn,
20862
20862
  columnWidth: Hn,
20863
- writingMode: wn,
20864
- flex: wn,
20863
+ writingMode: Sn,
20864
+ flex: Sn,
20865
20865
  flexBasis: He,
20866
- flexDirection: wn,
20866
+ flexDirection: Sn,
20867
20867
  flexGrow: He,
20868
- flexFlow: wn,
20868
+ flexFlow: Sn,
20869
20869
  flexShrink: He,
20870
- flexWrap: wn,
20870
+ flexWrap: Sn,
20871
20871
  alignContent: He,
20872
20872
  alignItems: He,
20873
20873
  alignSelf: He,
@@ -20878,18 +20878,18 @@ var pO = on(function(e, t) {
20878
20878
  transitionProperty: He,
20879
20879
  transitionTimingFunction: He,
20880
20880
  backdropFilter: He,
20881
- scrollSnapType: wn,
20882
- scrollSnapPointsX: wn,
20883
- scrollSnapPointsY: wn,
20884
- scrollSnapDestination: wn,
20885
- scrollSnapCoordinate: wn,
20881
+ scrollSnapType: Sn,
20882
+ scrollSnapPointsX: Sn,
20883
+ scrollSnapPointsY: Sn,
20884
+ scrollSnapDestination: Sn,
20885
+ scrollSnapCoordinate: Sn,
20886
20886
  shapeImageThreshold: He,
20887
20887
  shapeImageMargin: He,
20888
20888
  shapeImageOutside: He,
20889
20889
  hyphens: qA,
20890
- flowInto: wn,
20891
- flowFrom: wn,
20892
- regionFragment: wn,
20890
+ flowInto: Sn,
20891
+ flowFrom: Sn,
20892
+ regionFragment: Sn,
20893
20893
  textOrientation: He,
20894
20894
  boxSizing: Pg,
20895
20895
  textAlignLast: Pg,
@@ -20898,7 +20898,7 @@ var pO = on(function(e, t) {
20898
20898
  wrapThrough: bc,
20899
20899
  wrapMargin: bc,
20900
20900
  touchAction: bc,
20901
- textSizeAdjust: wn,
20901
+ textSizeAdjust: Sn,
20902
20902
  borderImage: He,
20903
20903
  borderImageOutset: He,
20904
20904
  borderImageRepeat: He,
@@ -21645,12 +21645,12 @@ Uu.defaultProps = {
21645
21645
  fill: "#fff"
21646
21646
  };
21647
21647
  function cA(e) {
21648
- var t = e.direction, n = e.icon, r = e.onClick, o = e.size, i = e.theme, a = ju(e, ["direction", "icon", "onClick", "size", "theme"]), A = pn.StyleSheet.create(bi(yL, i));
21648
+ var t = e.direction, n = e.icon, r = e.onClick, o = e.size, i = e.theme, a = ju(e, ["direction", "icon", "onClick", "size", "theme"]), A = hn.StyleSheet.create(bi(yL, i));
21649
21649
  return Qe.createElement(
21650
21650
  "button",
21651
21651
  DA({
21652
21652
  type: "button",
21653
- className: pn.css(A.arrow, A["arrow__direction__" + t], o && A["arrow__size__" + o]),
21653
+ className: hn.css(A.arrow, A["arrow__direction__" + t], o && A["arrow__size__" + o]),
21654
21654
  onClick: r,
21655
21655
  onTouchEnd: r
21656
21656
  }, a),
@@ -21711,10 +21711,10 @@ var yL = {
21711
21711
  }
21712
21712
  };
21713
21713
  function R1(e) {
21714
- var t = pn.StyleSheet.create(bi(xL, e.theme));
21714
+ var t = hn.StyleSheet.create(bi(xL, e.theme));
21715
21715
  return Qe.createElement("div", DA({
21716
21716
  id: "viewerBackdrop",
21717
- className: pn.css(t.container)
21717
+ className: hn.css(t.container)
21718
21718
  }, e));
21719
21719
  }
21720
21720
  R1.propTypes = {
@@ -21742,19 +21742,19 @@ var xL = {
21742
21742
  function D1(e) {
21743
21743
  var t = e.caption, n = e.countCurr, r = e.countSeparator, o = e.countTotal, i = e.showCount, a = e.theme, A = ju(e, ["caption", "countCurr", "countSeparator", "countTotal", "showCount", "theme"]);
21744
21744
  if (!t && !i) return null;
21745
- var s = pn.StyleSheet.create(bi(wL, a)), l = i ? Qe.createElement(
21745
+ var s = hn.StyleSheet.create(bi(wL, a)), l = i ? Qe.createElement(
21746
21746
  "div",
21747
- { className: pn.css(s.footerCount) },
21747
+ { className: hn.css(s.footerCount) },
21748
21748
  n,
21749
21749
  r,
21750
21750
  o
21751
21751
  ) : Qe.createElement("span", null);
21752
21752
  return Qe.createElement(
21753
21753
  "div",
21754
- DA({ className: pn.css(s.footer) }, A),
21754
+ DA({ className: hn.css(s.footer) }, A),
21755
21755
  t ? Qe.createElement(
21756
21756
  "figcaption",
21757
- { className: pn.css(s.footerCaption) },
21757
+ { className: hn.css(s.footerCaption) },
21758
21758
  t
21759
21759
  ) : Qe.createElement("span", null),
21760
21760
  l
@@ -21793,16 +21793,16 @@ var wL = {
21793
21793
  }
21794
21794
  };
21795
21795
  function O1(e) {
21796
- var t = e.customControls, n = e.onClose, r = e.showCloseBtn, o = e.closeBtnTitle, i = e.theme, a = ju(e, ["customControls", "onClose", "showCloseBtn", "closeBtnTitle", "theme"]), A = pn.StyleSheet.create(bi(SL, i));
21796
+ var t = e.customControls, n = e.onClose, r = e.showCloseBtn, o = e.closeBtnTitle, i = e.theme, a = ju(e, ["customControls", "onClose", "showCloseBtn", "closeBtnTitle", "theme"]), A = hn.StyleSheet.create(bi(SL, i));
21797
21797
  return Qe.createElement(
21798
21798
  "div",
21799
- DA({ className: pn.css(A.header) }, a),
21799
+ DA({ className: hn.css(A.header) }, a),
21800
21800
  t || Qe.createElement("span", null),
21801
21801
  !!r && Qe.createElement(
21802
21802
  "button",
21803
21803
  {
21804
21804
  title: o,
21805
- className: pn.css(A.close),
21805
+ className: hn.css(A.close),
21806
21806
  onClick: n
21807
21807
  },
21808
21808
  Qe.createElement(Uu, { fill: !!i.close && i.close.fill || Et.close.fill, type: "close" })
@@ -21839,9 +21839,9 @@ var SL = {
21839
21839
  }
21840
21840
  };
21841
21841
  function L1(e) {
21842
- var t = e.index, n = e.src, r = e.thumbnail, o = e.active, i = e.onClick, a = e.theme, A = r || n, s = pn.StyleSheet.create(bi(TL, a));
21842
+ var t = e.index, n = e.src, r = e.thumbnail, o = e.active, i = e.onClick, a = e.theme, A = r || n, s = hn.StyleSheet.create(bi(TL, a));
21843
21843
  return Qe.createElement("div", {
21844
- className: pn.css(s.thumbnail, o && s.thumbnail__active),
21844
+ className: hn.css(s.thumbnail, o && s.thumbnail__active),
21845
21845
  onClick: function(u) {
21846
21846
  u.preventDefault(), u.stopPropagation(), i(t);
21847
21847
  },
@@ -21872,7 +21872,7 @@ var TL = {
21872
21872
  thumbnail__active: {
21873
21873
  boxShadow: "inset 0 0 0 2px " + Et.thumbnail.activeBorderColor
21874
21874
  }
21875
- }, _L = pn.StyleSheet.create({
21875
+ }, _L = hn.StyleSheet.create({
21876
21876
  paginatedThumbnails: {
21877
21877
  bottom: Et.container.gutter.vertical,
21878
21878
  height: Et.thumbnail.size,
@@ -21975,7 +21975,7 @@ var TL = {
21975
21975
  var r = this.props, o = r.imgs, i = r.currImg, a = r.onClickThumbnail, A = r.offset, s = r.theme, l = 2 * A + 1, u = [], g = 0;
21976
21976
  return o.length <= l ? u = o : (g = this.getFirst(), u = o.slice(g, g + l)), Qe.createElement(
21977
21977
  "div",
21978
- { className: pn.css(_L.paginatedThumbnails) },
21978
+ { className: hn.css(_L.paginatedThumbnails) },
21979
21979
  this.renderArrowPrev(s),
21980
21980
  u.map(function(p, h) {
21981
21981
  return Qe.createElement(L1, DA({
@@ -22062,13 +22062,13 @@ P1.propTypes = {
22062
22062
  children: Pe.arrayOf(Pe.any)
22063
22063
  };
22064
22064
  var N1 = function(t) {
22065
- var n = pn.StyleSheet.create(DL(t));
22065
+ var n = hn.StyleSheet.create(DL(t));
22066
22066
  return Qe.createElement(
22067
22067
  "div",
22068
- { className: pn.css(n.bouncingLoader) },
22069
- Qe.createElement("div", { className: pn.css(n.child) }),
22070
- Qe.createElement("div", { className: pn.css(n.child, n.child2) }),
22071
- Qe.createElement("div", { className: pn.css(n.child, n.child3) })
22068
+ { className: hn.css(n.bouncingLoader) },
22069
+ Qe.createElement("div", { className: hn.css(n.child) }),
22070
+ Qe.createElement("div", { className: hn.css(n.child, n.child2) }),
22071
+ Qe.createElement("div", { className: hn.css(n.child, n.child3) })
22072
22072
  );
22073
22073
  };
22074
22074
  N1.propTypes = {
@@ -22635,7 +22635,7 @@ const LL = {
22635
22635
  margin: 0;
22636
22636
  }
22637
22637
  `, tF = () => {
22638
- const { availableFeatures: e, sendTrackingEvent: t } = Ge(yn), n = nn(), r = vt(Ou), o = vt(nE), i = vt(IE), a = vt(mQ), A = Si(), { id: s = "" } = Xo(), [l] = wi(), u = l.get("isEdit") === "true", g = (r == null ? void 0 : r[s]) || null, p = (o == null ? void 0 : o[s]) || null;
22638
+ const { availableFeatures: e, sendTrackingEvent: t } = Ge(xn), n = nn(), r = vt(Ou), o = vt(nE), i = vt(IE), a = vt(mQ), A = Si(), { id: s = "" } = Xo(), [l] = wi(), u = l.get("isEdit") === "true", g = (r == null ? void 0 : r[s]) || null, p = (o == null ? void 0 : o[s]) || null;
22639
22639
  Ie(() => {
22640
22640
  A(u ? Es(s) : Cs(s));
22641
22641
  }, [u, A, s]);
@@ -22821,7 +22821,7 @@ function bF() {
22821
22821
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
22822
22822
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
22823
22823
  }
22824
- function _n(e, t) {
22824
+ function Rn(e, t) {
22825
22825
  return QF(e) || vF(e, t) || V1(e, t) || bF();
22826
22826
  }
22827
22827
  function yF(e, t) {
@@ -22844,7 +22844,7 @@ function ro(e, t) {
22844
22844
  }
22845
22845
  var xF = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
22846
22846
  function HE(e) {
22847
- var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, a = i === void 0 ? null : i, A = e.inputValue, s = e.menuIsOpen, l = e.onChange, u = e.onInputChange, g = e.onMenuClose, p = e.onMenuOpen, h = e.value, E = ro(e, xF), C = $(A !== void 0 ? A : n), d = _n(C, 2), B = d[0], f = d[1], I = $(s !== void 0 ? s : o), m = _n(I, 2), v = m[0], y = m[1], b = $(h !== void 0 ? h : a), Q = _n(b, 2), w = Q[0], D = Q[1], L = tt(function(le, W) {
22847
+ var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, a = i === void 0 ? null : i, A = e.inputValue, s = e.menuIsOpen, l = e.onChange, u = e.onInputChange, g = e.onMenuClose, p = e.onMenuOpen, h = e.value, E = ro(e, xF), C = $(A !== void 0 ? A : n), d = Rn(C, 2), B = d[0], f = d[1], I = $(s !== void 0 ? s : o), m = Rn(I, 2), v = m[0], y = m[1], b = $(h !== void 0 ? h : a), Q = Rn(b, 2), w = Q[0], D = Q[1], L = tt(function(le, W) {
22848
22848
  typeof l == "function" && l(le, W), D(le);
22849
22849
  }, [l]), M = tt(function(le, W) {
22850
22850
  var F;
@@ -24357,11 +24357,11 @@ var gN = function(t) {
24357
24357
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
24358
24358
  r[o - 1] = arguments[o];
24359
24359
  var i = Object.entries(t).filter(function(a) {
24360
- var A = _n(a, 1), s = A[0];
24360
+ var A = Rn(a, 1), s = A[0];
24361
24361
  return !r.includes(s);
24362
24362
  });
24363
24363
  return i.reduce(function(a, A) {
24364
- var s = _n(A, 2), l = s[0], u = s[1];
24364
+ var s = Rn(A, 2), l = s[0], u = s[1];
24365
24365
  return a[l] = u, a;
24366
24366
  }, {});
24367
24367
  }, dN = ["children", "innerProps"], CN = ["children", "innerProps"];
@@ -24454,7 +24454,7 @@ var uv = function(t) {
24454
24454
  marginTop: A.menuGutter
24455
24455
  });
24456
24456
  }, gv = /* @__PURE__ */ Yo(null), pN = function(t) {
24457
- var n = t.children, r = t.minMenuHeight, o = t.maxMenuHeight, i = t.menuPlacement, a = t.menuPosition, A = t.menuShouldScrollIntoView, s = t.theme, l = Ge(gv) || {}, u = l.setPortalPlacement, g = Oe(null), p = $(o), h = _n(p, 2), E = h[0], C = h[1], d = $(null), B = _n(d, 2), f = B[0], I = B[1], m = s.spacing.controlHeight;
24457
+ var n = t.children, r = t.minMenuHeight, o = t.maxMenuHeight, i = t.menuPlacement, a = t.menuPosition, A = t.menuShouldScrollIntoView, s = t.theme, l = Ge(gv) || {}, u = l.setPortalPlacement, g = Oe(null), p = $(o), h = Rn(p, 2), E = h[0], C = h[1], d = $(null), B = Rn(d, 2), f = B[0], I = B[1], m = s.spacing.controlHeight;
24458
24458
  return vC(function() {
24459
24459
  var v = g.current;
24460
24460
  if (v) {
@@ -24539,11 +24539,11 @@ var uv = function(t) {
24539
24539
  zIndex: 1
24540
24540
  };
24541
24541
  }, SN = function(t) {
24542
- var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, a = t.menuPlacement, A = t.menuPosition, s = Oe(null), l = Oe(null), u = $(uv(a)), g = _n(u, 2), p = g[0], h = g[1], E = me(function() {
24542
+ var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, a = t.menuPlacement, A = t.menuPosition, s = Oe(null), l = Oe(null), u = $(uv(a)), g = Rn(u, 2), p = g[0], h = g[1], E = me(function() {
24543
24543
  return {
24544
24544
  setPortalPlacement: h
24545
24545
  };
24546
- }, []), C = $(null), d = _n(C, 2), B = d[0], f = d[1], I = tt(function() {
24546
+ }, []), C = $(null), d = Rn(C, 2), B = d[0], f = d[1], I = tt(function() {
24547
24547
  if (o) {
24548
24548
  var b = aN(o), Q = A === "fixed" ? 0 : window.pageYOffset, w = b[p] + Q;
24549
24549
  (w !== (B == null ? void 0 : B.offset) || b.left !== (B == null ? void 0 : B.rect.left) || b.width !== (B == null ? void 0 : B.rect.width)) && f({
@@ -27065,7 +27065,7 @@ var kv = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(kv || {}), xk = ["d
27065
27065
  function jv(e) {
27066
27066
  var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, i = e.loadOptions;
27067
27067
  e.options;
27068
- var a = e.isLoading, A = a === void 0 ? !1 : a, s = e.onInputChange, l = e.filterOption, u = l === void 0 ? null : l, g = ro(e, xk), p = g.inputValue, h = Oe(void 0), E = Oe(!1), C = $(Array.isArray(n) ? n : void 0), d = _n(C, 2), B = d[0], f = d[1], I = $(typeof p < "u" ? p : ""), m = _n(I, 2), v = m[0], y = m[1], b = $(n === !0), Q = _n(b, 2), w = Q[0], D = Q[1], L = $(void 0), M = _n(L, 2), O = M[0], _ = M[1], N = $([]), z = _n(N, 2), re = z[0], le = z[1], W = $(!1), F = _n(W, 2), Y = F[0], P = F[1], G = $({}), ne = _n(G, 2), se = ne[0], ae = ne[1], Ce = $(void 0), he = _n(Ce, 2), Re = he[0], Be = he[1], ze = $(void 0), q = _n(ze, 2), J = q[0], ge = q[1];
27068
+ var a = e.isLoading, A = a === void 0 ? !1 : a, s = e.onInputChange, l = e.filterOption, u = l === void 0 ? null : l, g = ro(e, xk), p = g.inputValue, h = Oe(void 0), E = Oe(!1), C = $(Array.isArray(n) ? n : void 0), d = Rn(C, 2), B = d[0], f = d[1], I = $(typeof p < "u" ? p : ""), m = Rn(I, 2), v = m[0], y = m[1], b = $(n === !0), Q = Rn(b, 2), w = Q[0], D = Q[1], L = $(void 0), M = Rn(L, 2), O = M[0], _ = M[1], N = $([]), z = Rn(N, 2), re = z[0], le = z[1], W = $(!1), F = Rn(W, 2), Y = F[0], P = F[1], G = $({}), ne = Rn(G, 2), se = ne[0], ae = ne[1], Ce = $(void 0), he = Rn(Ce, 2), Re = he[0], Be = he[1], ze = $(void 0), q = Rn(ze, 2), J = q[0], ge = q[1];
27069
27069
  o !== J && (ae({}), ge(o)), n !== Re && (f(Array.isArray(n) ? n : void 0), Be(n)), Ie(function() {
27070
27070
  return E.current = !0, function() {
27071
27071
  E.current = !1;
@@ -27093,8 +27093,8 @@ function jv(e) {
27093
27093
  y(ct), _(ct), le(se[ct]), D(!1), P(!1);
27094
27094
  else {
27095
27095
  var $t = h.current = {};
27096
- y(ct), D(!0), P(!O), Ee(ct, function(mn) {
27097
- E && $t === h.current && (h.current = void 0, D(!1), _(ct), le(mn || []), P(!1), ae(mn ? We(We({}, se), {}, _a({}, ct, mn)) : se));
27096
+ y(ct), D(!0), P(!O), Ee(ct, function(Qn) {
27097
+ E && $t === h.current && (h.current = void 0, D(!1), _(ct), le(Qn || []), P(!1), ae(Qn ? We(We({}, se), {}, _a({}, ct, Qn)) : se));
27098
27098
  });
27099
27099
  }
27100
27100
  }, [o, Ee, O, se, s]), st = Y ? [] : v && O ? re : B || [];
@@ -27883,8 +27883,8 @@ const tj = {
27883
27883
  const ct = Ee[Je.name];
27884
27884
  if (Jg(ct))
27885
27885
  continue;
27886
- const $t = (Xe = d == null ? void 0 : d[Je.name]) == null ? void 0 : Xe.isRequired, mn = typeof $t == "function" ? $t(ct) : !0;
27887
- J[`${ge}.${Je.name}`] = typeof mn == "string" ? mn : tu;
27886
+ const $t = (Xe = d == null ? void 0 : d[Je.name]) == null ? void 0 : Xe.isRequired, Qn = typeof $t == "function" ? $t(ct) : !0;
27887
+ J[`${ge}.${Je.name}`] = typeof Qn == "string" ? Qn : tu;
27888
27888
  }
27889
27889
  }), J;
27890
27890
  }, [C, O, N, B, d]), le = me(() => {
@@ -31625,7 +31625,7 @@ const XV = (e, t) => {
31625
31625
  authStatus: o,
31626
31626
  authMutate: i
31627
31627
  }) => {
31628
- const { sendTrackingEvent: a, availableFeatures: A } = Ge(yn), [s, l] = PC(iH, oH), [u, g] = $(!1), p = r ? r.name : "", h = r ? r.description : "", E = r ? r.isAuthenticated : !1, C = (r == null ? void 0 : r.advancedSettingsFields) ?? [], d = Mm(A), B = r == null ? void 0 : r.oneClickAuthEnabled, f = (r == null ? void 0 : r.hiddenFields) ?? [], { variableConfigs: I, variableKeys: m } = me(() => {
31628
+ const { sendTrackingEvent: a, availableFeatures: A } = Ge(xn), [s, l] = PC(iH, oH), [u, g] = $(!1), p = r ? r.name : "", h = r ? r.description : "", E = r ? r.isAuthenticated : !1, C = (r == null ? void 0 : r.advancedSettingsFields) ?? [], d = Mm(A), B = r == null ? void 0 : r.oneClickAuthEnabled, f = (r == null ? void 0 : r.hiddenFields) ?? [], { variableConfigs: I, variableKeys: m } = me(() => {
31629
31629
  const W = r && r.variablesConfig ? r.variablesConfig : [], F = Object.fromEntries(W.map((Y) => [Y.name, Y.name]));
31630
31630
  return { variableConfigs: W, variableKeys: F };
31631
31631
  }, [r]), v = me(() => !d || !(r != null && r.interpolationFields) ? {} : qV(r == null ? void 0 : r.interpolationFields), [r == null ? void 0 : r.interpolationFields, d]);
@@ -31854,7 +31854,7 @@ const XV = (e, t) => {
31854
31854
  event: Qt.CONNECTOR_AUTH_PAGE_CONTACT_SUPPORT_CLICKED
31855
31855
  }
31856
31856
  ], yH = ({ connectorName: e, supportLinks: t }) => {
31857
- const { availableFeatures: n, sendTrackingEvent: r } = Ge(yn), o = bo(n, Yx), i = Mm(n), a = (A, s) => {
31857
+ const { availableFeatures: n, sendTrackingEvent: r } = Ge(xn), o = bo(n, Yx), i = Mm(n), a = (A, s) => {
31858
31858
  r(s, { source: e }), window.open(A, "_blank");
31859
31859
  };
31860
31860
  return o ? /* @__PURE__ */ c.jsx(V, { gap: "12px", children: bH.map(({ icon: A, text: s, link: l, keys: u, event: g, prefixName: p }) => {
@@ -32041,7 +32041,7 @@ const wH = S(V)`
32041
32041
  n.removeQueries({ queryKey: r, exact: !0 });
32042
32042
  }, [n, r]), o;
32043
32043
  }, MH = () => {
32044
- const { sendTrackingEvent: e, availableFeatures: t } = Ge(yn), [n, r] = $(!1), o = vt(Ou), i = vt(nE), a = vt(IE), A = vt(mQ), s = Oe(null), l = nn(), { id: u = "" } = Xo(), [g] = wi(), p = g.get("isEdit") === "true", h = (o == null ? void 0 : o[u]) || null, E = (i == null ? void 0 : i[u]) || null, C = p ? h : E, d = !!(C != null && C.showUpgradeButton), B = bo(t, Xx), {
32044
+ const { sendTrackingEvent: e, availableFeatures: t } = Ge(xn), [n, r] = $(!1), o = vt(Ou), i = vt(nE), a = vt(IE), A = vt(mQ), s = Oe(null), l = nn(), { id: u = "" } = Xo(), [g] = wi(), p = g.get("isEdit") === "true", h = (o == null ? void 0 : o[u]) || null, E = (i == null ? void 0 : i[u]) || null, C = p ? h : E, d = !!(C != null && C.showUpgradeButton), B = bo(t, Xx), {
32045
32045
  data: f,
32046
32046
  mutateStatus: I,
32047
32047
  mutate: m
@@ -36390,14 +36390,17 @@ const ey = {
36390
36390
  background-color: var(--connector-admin-text-muted);
36391
36391
  }
36392
36392
  }
36393
- `, sy = (e) => /* @__PURE__ */ x.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ x.createElement("ellipse", { cx: 7.48148, cy: 4.94, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 7.48148, cy: 10.7, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 7.48148, cy: 16.46, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 12.42, cy: 4.94, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 12.42, cy: 10.7, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 12.42, cy: 16.46, rx: 1.48148, ry: 1.44, fill: "#828EA5" })), Dn = (e) => e.parentId ? `${e.parentId}::${e.key}` : e.key, cy = (e) => e.map((t, n) => ({ ...t, priority: n + 1 })), Ns = (e, t) => {
36394
- const n = new Set(e.map(Dn)), r = [...e];
36395
- return t.forEach((o) => {
36396
- n.has(Dn(o)) || r.push(o);
36397
- }), r;
36393
+ `, sy = (e) => /* @__PURE__ */ x.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ x.createElement("ellipse", { cx: 7.48148, cy: 4.94, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 7.48148, cy: 10.7, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 7.48148, cy: 16.46, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 12.42, cy: 4.94, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 12.42, cy: 10.7, rx: 1.48148, ry: 1.44, fill: "#828EA5" }), /* @__PURE__ */ x.createElement("ellipse", { cx: 12.42, cy: 16.46, rx: 1.48148, ry: 1.44, fill: "#828EA5" })), pn = (e) => e.parentId ? `${e.parentId}::${e.key}` : e.key, cy = (e) => e.map((t, n) => ({ ...t, priority: n + 1 })), Ns = (e, t) => {
36394
+ const n = new Set(e.map(pn)), r = new Map(t.map((i) => [pn(i), i])), o = e.map((i) => {
36395
+ const a = r.get(pn(i));
36396
+ return a ? { ...i, label: a.label ?? i.label, parentLabel: a.parentLabel } : i;
36397
+ });
36398
+ return t.forEach((i) => {
36399
+ n.has(pn(i)) || o.push(i);
36400
+ }), o;
36398
36401
  }, ly = (e) => gr(e, MG), VJ = ({ field: e, toggleSelected: t, hideNewChip: n }) => {
36399
36402
  const { availableFeatures: r } = Ge(xt), { label: o, enabled: i, isFieldNew: a } = e, { attributes: A, listeners: s, setNodeRef: l, transform: u, transition: g } = xE({
36400
- id: Dn(e)
36403
+ id: pn(e)
36401
36404
  }), p = Oe(null), [h, E] = $(!1), C = gA(r) && a && !n, d = {
36402
36405
  transform: Aa.Transform.toString(u),
36403
36406
  transition: g
@@ -36407,7 +36410,7 @@ const ey = {
36407
36410
  B && E(B.scrollWidth > B.clientWidth || B.scrollHeight > B.clientHeight);
36408
36411
  }, [o]), /* @__PURE__ */ c.jsxs(jJ, { ref: l, style: d, ...A, children: [
36409
36412
  /* @__PURE__ */ c.jsx(sy, { className: "field-drag-handle **:[ellipse]:fill-[var(--connector-admin-drag-handle)]", ...s }),
36410
- /* @__PURE__ */ c.jsx(Vo, { checked: i, onChange: () => t(Dn(e)), sx: { marginLeft: "-6px" } }),
36413
+ /* @__PURE__ */ c.jsx(Vo, { checked: i, onChange: () => t(pn(e)), sx: { marginLeft: "-6px" } }),
36411
36414
  /* @__PURE__ */ c.jsx(Ct, { title: o, disableHoverListener: !h, children: /* @__PURE__ */ c.jsxs(V, { direction: "row", gap: "5px", alignItems: "center", children: [
36412
36415
  /* @__PURE__ */ c.jsx(Z, { ref: p, variant: "body2", maxWidth: "325px", noWrap: !0, children: o }),
36413
36416
  C ? /* @__PURE__ */ c.jsx(EA, { label: $u }) : null
@@ -36416,7 +36419,7 @@ const ey = {
36416
36419
  }, Uo = {
36417
36420
  STANDARD: "standard",
36418
36421
  CUSTOM: "custom"
36419
- }, Tn = {
36422
+ }, _n = {
36420
36423
  READ_WRITE: "read_write",
36421
36424
  READ: "read",
36422
36425
  WRITE: "write"
@@ -36542,21 +36545,21 @@ const ey = {
36542
36545
  ] }),
36543
36546
  e
36544
36547
  ] });
36545
- }, ZJ = [Tn.READ_WRITE, Tn.WRITE], eK = ({ field: e, showCreate: t, hideNewChip: n, updateField: r }) => {
36548
+ }, ZJ = [_n.READ_WRITE, _n.WRITE], eK = ({ field: e, showCreate: t, hideNewChip: n, updateField: r }) => {
36546
36549
  const { availableFeatures: o } = Ge(xt), { label: i, enabled: a, isFieldNew: A, parentLabel: s } = e, { attributes: l, listeners: u, setNodeRef: g, transform: p, transition: h } = xE({
36547
- id: Dn(e)
36548
- }), E = Oe(null), C = Oe(null), [d, B] = $(!1), f = gA(o) && A && !n, I = s ? `${i} (${s})` : i, m = Dn(e), v = e.isWriteRequired, y = e.isReadonly, b = e.enabled && e.fieldAccessMode !== Tn.WRITE, Q = v || ZJ.includes(e.fieldAccessMode), w = v ? b : b || Q, D = (_) => {
36549
- const N = t ? Tn.READ_WRITE : Tn.READ, z = t && v ? Tn.WRITE : null;
36550
+ id: pn(e)
36551
+ }), E = Oe(null), C = Oe(null), [d, B] = $(!1), f = gA(o) && A && !n, I = s ? `${i} (${s})` : i, m = pn(e), v = e.isWriteRequired, y = e.isReadonly, b = e.enabled && e.fieldAccessMode !== _n.WRITE, Q = v || ZJ.includes(e.fieldAccessMode), w = v ? b : b || Q, D = (_) => {
36552
+ const N = t ? _n.READ_WRITE : _n.READ, z = t && v ? _n.WRITE : null;
36550
36553
  r(m, { enabled: _, fieldAccessMode: _ ? N : z });
36551
36554
  }, L = (_) => {
36552
36555
  if (t) {
36553
36556
  let N;
36554
- Q ? N = _ ? Tn.READ_WRITE : Tn.WRITE : N = _ ? Tn.READ : null, r(m, { enabled: _, fieldAccessMode: N });
36557
+ Q ? N = _ ? _n.READ_WRITE : _n.WRITE : N = _ ? _n.READ : null, r(m, { enabled: _, fieldAccessMode: N });
36555
36558
  } else
36556
- r(m, { enabled: _, fieldAccessMode: Tn.READ });
36559
+ r(m, { enabled: _, fieldAccessMode: _n.READ });
36557
36560
  }, M = (_) => {
36558
36561
  let N;
36559
- b ? N = _ ? Tn.READ_WRITE : Tn.READ : N = _ ? Tn.WRITE : null, r(m, { fieldAccessMode: N });
36562
+ b ? N = _ ? _n.READ_WRITE : _n.READ : N = _ ? _n.WRITE : null, r(m, { fieldAccessMode: N });
36560
36563
  }, O = {
36561
36564
  transform: Aa.Transform.toString(p),
36562
36565
  transition: h
@@ -36626,7 +36629,7 @@ const ey = {
36626
36629
  renderSortable: a
36627
36630
  }) => {
36628
36631
  const A = me(() => e.filter((d) => d.isFieldCustom), [e]), s = me(() => e.filter((d) => !d.isFieldCustom), [e]), [l, u] = $(Uo.STANDARD), g = A.length > 0 && s.length > 0, h = (g ? l : A.length > 0 ? Uo.CUSTOM : Uo.STANDARD) === Uo.CUSTOM ? A : s, E = (d, B) => {
36629
- i((f) => f.map((I) => Dn(I) === d ? { ...I, ...B } : I));
36632
+ i((f) => f.map((I) => pn(I) === d ? { ...I, ...B } : I));
36630
36633
  }, C = h.map((d) => /* @__PURE__ */ c.jsx(
36631
36634
  eK,
36632
36635
  {
@@ -36635,7 +36638,7 @@ const ey = {
36635
36638
  showCreate: t,
36636
36639
  hideNewChip: n
36637
36640
  },
36638
- Dn(d)
36641
+ pn(d)
36639
36642
  ));
36640
36643
  return Ie(() => {
36641
36644
  !o || !A.length || !r || u(r);
@@ -36739,12 +36742,12 @@ const ey = {
36739
36742
  const { availableFeatures: i } = Ge(xt), a = v0(Q0(Fu)), { userId: A } = jr() || {}, s = je(Lz), l = (E) => {
36740
36743
  const { active: C, over: d } = E;
36741
36744
  (C == null ? void 0 : C.id) !== (d == null ? void 0 : d.id) && o((B) => {
36742
- const f = B.findIndex((m) => Dn(m) === (C == null ? void 0 : C.id)), I = B.findIndex((m) => Dn(m) === (d == null ? void 0 : d.id));
36745
+ const f = B.findIndex((m) => pn(m) === (C == null ? void 0 : C.id)), I = B.findIndex((m) => pn(m) === (d == null ? void 0 : d.id));
36743
36746
  return Mu(B, f, I);
36744
36747
  });
36745
36748
  }, u = !!(A && _f(n, A)), g = (E) => {
36746
36749
  o(
36747
- (C) => C.map((d) => Dn(d) === E ? { ...d, enabled: !d.enabled } : d)
36750
+ (C) => C.map((d) => pn(d) === E ? { ...d, enabled: !d.enabled } : d)
36748
36751
  );
36749
36752
  }, p = ly(i), h = s === xe.SUCCESS;
36750
36753
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
@@ -36757,16 +36760,16 @@ const ey = {
36757
36760
  preSelectTab: r,
36758
36761
  setFields: o,
36759
36762
  customFieldsLoaded: h,
36760
- renderSortable: (E) => /* @__PURE__ */ c.jsx(eC, { sensors: a, collisionDetection: Xd, onDragEnd: l, children: /* @__PURE__ */ c.jsx(nC, { items: e.map(Dn), strategy: tC, children: E }) })
36763
+ renderSortable: (E) => /* @__PURE__ */ c.jsx(eC, { sensors: a, collisionDetection: Xd, onDragEnd: l, children: /* @__PURE__ */ c.jsx(nC, { items: e.map(pn), strategy: tC, children: E }) })
36761
36764
  }
36762
- ) : /* @__PURE__ */ c.jsx(UJ, { children: /* @__PURE__ */ c.jsx(eC, { sensors: a, collisionDetection: Xd, onDragEnd: l, children: /* @__PURE__ */ c.jsx(nC, { items: e.map(Dn), strategy: tC, children: e.map((E) => /* @__PURE__ */ c.jsx(
36765
+ ) : /* @__PURE__ */ c.jsx(UJ, { children: /* @__PURE__ */ c.jsx(eC, { sensors: a, collisionDetection: Xd, onDragEnd: l, children: /* @__PURE__ */ c.jsx(nC, { items: e.map(pn), strategy: tC, children: e.map((E) => /* @__PURE__ */ c.jsx(
36763
36766
  VJ,
36764
36767
  {
36765
36768
  field: E,
36766
36769
  toggleSelected: g,
36767
36770
  hideNewChip: u
36768
36771
  },
36769
- Dn(E)
36772
+ pn(E)
36770
36773
  )) }) }) }),
36771
36774
  s === xe.LOADING ? /* @__PURE__ */ c.jsxs(V, { flexDirection: "row", alignItems: "center", gap: "8px", children: [
36772
36775
  /* @__PURE__ */ c.jsx(Mr, { size: 15 }),
@@ -36784,7 +36787,7 @@ const ey = {
36784
36787
  }, Rf = () => {
36785
36788
  var e;
36786
36789
  return ((e = jr()) == null ? void 0 : e.tenantPlatform) === "HIVERWEB";
36787
- }, Sn = {
36790
+ }, Tn = {
36788
36791
  triggerBorderColor: "var(--connector-admin-dropdown-border)",
36789
36792
  triggerBorderHover: "var(--connector-admin-dropdown-border-hover)",
36790
36793
  triggerBorderFocus: "var(--connector-admin-dropdown-border-focus)",
@@ -36804,50 +36807,50 @@ const ey = {
36804
36807
  optionSelectedColor: "var(--connector-admin-text-primary)"
36805
36808
  }, sK = () => Rf() ? `
36806
36809
  & .MuiOutlinedInput-root {
36807
- min-height: ${Sn.triggerMinHeight}px;
36808
- border-radius: ${Sn.triggerRadius}px;
36810
+ min-height: ${Tn.triggerMinHeight}px;
36811
+ border-radius: ${Tn.triggerRadius}px;
36809
36812
  }
36810
36813
  & .MuiOutlinedInput-notchedOutline {
36811
- border-color: ${Sn.triggerBorderColor};
36814
+ border-color: ${Tn.triggerBorderColor};
36812
36815
  border-width: 1px;
36813
36816
  }
36814
36817
  & .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
36815
- border-color: ${Sn.triggerBorderHover};
36818
+ border-color: ${Tn.triggerBorderHover};
36816
36819
  border-width: 1.5px;
36817
36820
  }
36818
36821
  & .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
36819
- border-color: ${Sn.triggerBorderFocus};
36822
+ border-color: ${Tn.triggerBorderFocus};
36820
36823
  border-width: 1.5px;
36821
36824
  }
36822
36825
  ` : "", aB = () => Rf() ? {
36823
36826
  "& .MuiAutocomplete-paper": {
36824
36827
  color: "var(--connector-admin-text-primary)",
36825
36828
  backgroundColor: "var(--connector-admin-surface-elevated)",
36826
- borderRadius: `${Sn.panelRadius}px`,
36827
- boxShadow: `${Sn.panelShadow}, inset 0 0 0 1px var(--connector-admin-surface-outline)`,
36828
- marginTop: Sn.panelGap
36829
+ borderRadius: `${Tn.panelRadius}px`,
36830
+ boxShadow: `${Tn.panelShadow}, inset 0 0 0 1px var(--connector-admin-surface-outline)`,
36831
+ marginTop: Tn.panelGap
36829
36832
  },
36830
36833
  "& .MuiAutocomplete-listbox": { paddingTop: "4px", paddingBottom: "4px" },
36831
36834
  "& .MuiAutocomplete-option": {
36832
36835
  minHeight: "auto",
36833
- margin: Sn.optionMargin,
36834
- padding: Sn.optionPadding,
36835
- borderRadius: `${Sn.optionRadius}px`,
36836
- color: Sn.optionColor
36836
+ margin: Tn.optionMargin,
36837
+ padding: Tn.optionPadding,
36838
+ borderRadius: `${Tn.optionRadius}px`,
36839
+ color: Tn.optionColor
36837
36840
  },
36838
36841
  // !important: MUI's default selected/hover colour (primary-tinted) is
36839
36842
  // applied with higher specificity than a popper-scoped descendant rule.
36840
36843
  "& .MuiAutocomplete-option:hover, & .MuiAutocomplete-option.Mui-focused": {
36841
- color: `${Sn.optionFocusColor} !important`,
36842
- backgroundColor: `${Sn.optionHighlightBg} !important`
36844
+ color: `${Tn.optionFocusColor} !important`,
36845
+ backgroundColor: `${Tn.optionHighlightBg} !important`
36843
36846
  },
36844
36847
  '& .MuiAutocomplete-option[aria-selected="true"]': {
36845
- color: `${Sn.optionSelectedColor} !important`,
36846
- backgroundColor: `${Sn.optionSelectedBg} !important`
36848
+ color: `${Tn.optionSelectedColor} !important`,
36849
+ backgroundColor: `${Tn.optionSelectedBg} !important`
36847
36850
  },
36848
36851
  '& .MuiAutocomplete-option[aria-selected="true"].Mui-focused': {
36849
- color: `${Sn.optionSelectedColor} !important`,
36850
- backgroundColor: `${Sn.optionSelectedBg} !important`
36852
+ color: `${Tn.optionSelectedColor} !important`,
36853
+ backgroundColor: `${Tn.optionSelectedBg} !important`
36851
36854
  }
36852
36855
  } : {}, AB = () => Rf() ? { elevation: 0 } : {}, cK = S(ee)`
36853
36856
  cursor: pointer;
@@ -37032,7 +37035,7 @@ const ey = {
37032
37035
  if (b && // getFieldId, not key: two rows can share a key across parents, so a
37033
37036
  // key-only comparison reports "unchanged" after a reorder of two
37034
37037
  // identically-configured sibling rows and the Save button stays disabled.
37035
- (Dn(Be) !== Dn(ze) || Be.enabled !== ze.enabled || Be.fieldAccessMode !== ze.fieldAccessMode))
37038
+ (pn(Be) !== pn(ze) || Be.enabled !== ze.enabled || Be.fieldAccessMode !== ze.fieldAccessMode))
37036
37039
  return !1;
37037
37040
  }
37038
37041
  return !0;
@@ -37078,7 +37081,7 @@ const ey = {
37078
37081
  Re,
37079
37082
  he ? /* @__PURE__ */ c.jsx(EA, { label: he }) : null
37080
37083
  ] });
37081
- }, ne = (f == null ? void 0 : f.cardAccessMode) === Tn.READ_WRITE;
37084
+ }, ne = (f == null ? void 0 : f.cardAccessMode) === _n.READ_WRITE;
37082
37085
  return /* @__PURE__ */ c.jsx(Bf, { children: /* @__PURE__ */ c.jsxs(vf, { style: { height: "max-content" }, children: [
37083
37086
  /* @__PURE__ */ c.jsx(sY, { variant: "h2", children: ff }),
37084
37087
  /* @__PURE__ */ c.jsx(ee, { marginBottom: "24px", children: /* @__PURE__ */ c.jsxs(uu, { value: w, onChange: P, children: [
@@ -37202,16 +37205,16 @@ const ey = {
37202
37205
  if (I && // getFieldId, not key: two rows can share a key across parents, so a
37203
37206
  // key-only comparison reports "unchanged" after a reorder of two
37204
37207
  // identically-configured sibling rows and the Save button stays disabled.
37205
- (Dn(N) !== Dn(z) || N.enabled !== z.enabled || N.fieldAccessMode !== z.fieldAccessMode))
37208
+ (pn(N) !== pn(z) || N.enabled !== z.enabled || N.fieldAccessMode !== z.fieldAccessMode))
37206
37209
  return !1;
37207
37210
  }
37208
37211
  return !0;
37209
- }, [i, I, h, e]), y = B.length !== 0 && I.filter((M) => M.enabled).length === 0, b = E === xe.LOADING || v || y, Q = (d == null ? void 0 : d.cardAccessMode) === Tn.READ_WRITE, w = (M) => {
37212
+ }, [i, I, h, e]), y = B.length !== 0 && I.filter((M) => M.enabled).length === 0, b = E === xe.LOADING || v || y, Q = (d == null ? void 0 : d.cardAccessMode) === _n.READ_WRITE, w = (M) => {
37210
37213
  M.stopPropagation();
37211
37214
  const O = f != null && f.name ? [f.name] : [], _ = B.map((re) => re.id), z = cy(I).map((re) => {
37212
37215
  if (re.fieldAccessMode || !Q) return re;
37213
37216
  const le = { ...re };
37214
- return re.enabled && re.isWriteRequired ? le.fieldAccessMode = Tn.READ_WRITE : re.enabled ? le.fieldAccessMode = Tn.READ : re.isWriteRequired && (le.fieldAccessMode = Tn.WRITE), le;
37217
+ return re.enabled && re.isWriteRequired ? le.fieldAccessMode = _n.READ_WRITE : re.enabled ? le.fieldAccessMode = _n.READ : re.isWriteRequired && (le.fieldAccessMode = _n.WRITE), le;
37215
37218
  });
37216
37219
  l(
37217
37220
  ka({