@hiver/connector-admin 4.22.0-ghlSubAccountMapping-beta.1 → 4.22.0-ghlSubAccountMapping-beta.2

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
@@ -386,25 +386,25 @@ function H1() {
386
386
  function fn(S) {
387
387
  return Jt(S);
388
388
  }
389
- function To(S) {
389
+ function Do(S) {
390
390
  {
391
391
  var Y = typeof Symbol == "function" && Symbol.toStringTag, ie = Y && S[Symbol.toStringTag] || S.constructor.name || "Object";
392
392
  return ie;
393
393
  }
394
394
  }
395
- function Do(S) {
395
+ function Ro(S) {
396
396
  try {
397
- return Ro(S), !1;
397
+ return Oo(S), !1;
398
398
  } catch {
399
399
  return !0;
400
400
  }
401
401
  }
402
- function Ro(S) {
402
+ function Oo(S) {
403
403
  return "" + S;
404
404
  }
405
405
  function Kn(S) {
406
- if (Do(S))
407
- return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", To(S)), Ro(S);
406
+ if (Ro(S))
407
+ return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Do(S)), Oo(S);
408
408
  }
409
409
  var An = B.ReactCurrentOwner, ar = {
410
410
  key: !0,
@@ -429,7 +429,7 @@ function H1() {
429
429
  }
430
430
  return S.key !== void 0;
431
431
  }
432
- function Oo(S, Y) {
432
+ function Fo(S, Y) {
433
433
  if (typeof S.ref == "string" && An.current && Y && An.current.stateNode !== Y) {
434
434
  var ie = D(An.current.type);
435
435
  Wt[ie] || (f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(An.current.type), S.ref), Wt[ie] = !0);
@@ -489,7 +489,7 @@ function H1() {
489
489
  function Fr(S, Y, ie, ye, Ie) {
490
490
  {
491
491
  var Fe, me = {}, Qe = null, $e = null;
492
- ie !== void 0 && (Kn(ie), Qe = "" + ie), Wr(Y) && (Kn(Y.key), Qe = "" + Y.key), go(Y) && ($e = Y.ref, Oo(Y, Ie));
492
+ ie !== void 0 && (Kn(ie), Qe = "" + ie), Wr(Y) && (Kn(Y.key), Qe = "" + Y.key), go(Y) && ($e = Y.ref, Fo(Y, Ie));
493
493
  for (Fe in Y)
494
494
  Me.call(Y, Fe) && !ar.hasOwnProperty(Fe) && (me[Fe] = Y[Fe]);
495
495
  if (S && S.defaultProps) {
@@ -680,7 +680,7 @@ function vp(e) {
680
680
  } else for (n in e) e[n] && (r && (r += " "), r += n);
681
681
  return r;
682
682
  }
683
- function Xo() {
683
+ function Ko() {
684
684
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = vp(e)) && (r && (r += " "), r += t);
685
685
  return r;
686
686
  }
@@ -855,7 +855,7 @@ function X1(e) {
855
855
  let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: A, className: i, style: a, controlledProgress: s, progress: c, rtl: l, isIn: d, theme: h } = e;
856
856
  const p = A || s && c === 0, I = { ...a, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused" };
857
857
  s && (I.transform = `scaleX(${c})`);
858
- const C = Xo("Toastify__progress-bar", s ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${h}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": l }), g = gr(i) ? i({ rtl: l, type: o, defaultClassName: C }) : Xo(C, i), B = { [s && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: s && c < 1 ? null : () => {
858
+ const C = Ko("Toastify__progress-bar", s ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${h}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": l }), g = gr(i) ? i({ rtl: l, type: o, defaultClassName: C }) : Ko(C, i), B = { [s && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: s && c < 1 ? null : () => {
859
859
  d && r();
860
860
  } };
861
861
  return he.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": p }, he.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${h} Toastify__progress-bar--${o}` }), he.createElement("div", { role: "progressbar", "aria-hidden": p ? "true" : "false", "aria-label": "notification timer", className: g, style: I, ...B }));
@@ -939,7 +939,7 @@ const q1 = typeof window < "u" ? ls : xe, Ds = (e) => {
939
939
  }, spinner: function() {
940
940
  return he.createElement("div", { className: "Toastify__spinner" });
941
941
  } }, $1 = (e) => {
942
- const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: A } = J1(e), { closeButton: i, children: a, autoClose: s, onClick: c, type: l, hideProgressBar: d, closeToast: h, transition: p, position: I, className: C, style: g, bodyClassName: B, bodyStyle: f, progressClassName: E, progressStyle: Q, updateId: v, role: y, progress: b, rtl: m, toastId: w, deleteToast: R, isIn: O, isLoading: N, closeOnClick: D, theme: T } = e, j = Xo("Toastify__toast", `Toastify__toast-theme--${T}`, `Toastify__toast--${l}`, { "Toastify__toast--rtl": m }, { "Toastify__toast--close-on-click": D }), H = gr(C) ? C({ rtl: m, position: I, type: l, defaultClassName: j }) : Xo(j, C), re = function(X) {
942
+ const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: A } = J1(e), { closeButton: i, children: a, autoClose: s, onClick: c, type: l, hideProgressBar: d, closeToast: h, transition: p, position: I, className: C, style: g, bodyClassName: B, bodyStyle: f, progressClassName: E, progressStyle: Q, updateId: v, role: y, progress: b, rtl: m, toastId: w, deleteToast: R, isIn: O, isLoading: N, closeOnClick: D, theme: T } = e, j = Ko("Toastify__toast", `Toastify__toast-theme--${T}`, `Toastify__toast--${l}`, { "Toastify__toast--rtl": m }, { "Toastify__toast--close-on-click": D }), H = gr(C) ? C({ rtl: m, position: I, type: l, defaultClassName: j }) : Ko(j, C), re = function(X) {
943
943
  let { theme: V, type: G, isLoading: ae, icon: ge } = X, ce = null;
944
944
  const $ = { theme: V, type: G };
945
945
  return ge === !1 || (gr(ge) ? ce = ge({ ...$, isLoading: ae }) : ai(ge) ? ce = sg(ge, $) : ae ? ce = cu.spinner() : ((Ce) => Ce in cu)(G) && (ce = cu[G]($))), ce;
@@ -950,7 +950,7 @@ const q1 = typeof window < "u" ? ls : xe, Ds = (e) => {
950
950
  return he.createElement("button", { className: `Toastify__close-button Toastify__close-button--${G}`, type: "button", onClick: (ge) => {
951
951
  ge.stopPropagation(), V(ge);
952
952
  }, "aria-label": ae }, he.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, he.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
953
- }(K)), he.createElement(p, { isIn: O, done: R, position: I, preventExitTransition: n, nodeRef: r, playToast: A }, he.createElement("div", { id: w, onClick: c, "data-in": O, className: H, ...o, style: g, ref: r }, he.createElement("div", { ...O && { role: y }, className: gr(B) ? B({ type: l }) : Xo("Toastify__toast-body", B), style: f }, re != null && he.createElement("div", { className: Xo("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !N }) }, re), he.createElement("div", null, a)), U, he.createElement(X1, { ...v && !q ? { key: `pb-${v}` } : {}, rtl: m, theme: T, delay: s, isRunning: t, isIn: O, closeToast: h, hide: d, type: l, style: Q, className: E, controlledProgress: q, progress: b || 0 })));
953
+ }(K)), he.createElement(p, { isIn: O, done: R, position: I, preventExitTransition: n, nodeRef: r, playToast: A }, he.createElement("div", { id: w, onClick: c, "data-in": O, className: H, ...o, style: g, ref: r }, he.createElement("div", { ...O && { role: y }, className: gr(B) ? B({ type: l }) : Ko("Toastify__toast-body", B), style: f }, re != null && he.createElement("div", { className: Ko("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !N }) }, re), he.createElement("div", null, a)), U, he.createElement(X1, { ...v && !q ? { key: `pb-${v}` } : {}, rtl: m, theme: T, delay: s, isRunning: t, isIn: O, closeToast: h, hide: d, type: l, style: Q, className: E, controlledProgress: q, progress: b || 0 })));
954
954
  }, vl = function(e, t) {
955
955
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
956
956
  }, eb = ml(vl("bounce", !0));
@@ -962,8 +962,8 @@ function nb(e) {
962
962
  let t = { ...tb, ...e };
963
963
  const n = e.stacked, [r, o] = ee(!0), A = Re(null), { getToastToRender: i, isToastActive: a, count: s } = Y1(t), { className: c, style: l, rtl: d, containerId: h } = t;
964
964
  function p(C) {
965
- const g = Xo("Toastify__toast-container", `Toastify__toast-container--${C}`, { "Toastify__toast-container--rtl": d });
966
- return gr(c) ? c({ position: C, rtl: d, defaultClassName: g }) : Xo(g, rc(c));
965
+ const g = Ko("Toastify__toast-container", `Toastify__toast-container--${C}`, { "Toastify__toast-container--rtl": d });
966
+ return gr(c) ? c({ position: C, rtl: d, defaultClassName: g }) : Ko(g, rc(c));
967
967
  }
968
968
  function I() {
969
969
  n && (o(!0), Rt.play());
@@ -1115,10 +1115,10 @@ function ib() {
1115
1115
  null
1116
1116
  ), process.env.NODE_ENV !== "production" && (t.displayName = "ReactRedux"), e.set(dr.createContext, t)), t;
1117
1117
  }
1118
- var qo = /* @__PURE__ */ ib(), ab = () => {
1118
+ var $o = /* @__PURE__ */ ib(), ab = () => {
1119
1119
  throw new Error("uSES not initialized!");
1120
1120
  };
1121
- function Md(e = qo) {
1121
+ function Md(e = $o) {
1122
1122
  return function() {
1123
1123
  const n = dr.useContext(e);
1124
1124
  if (process.env.NODE_ENV !== "production" && !n)
@@ -1131,8 +1131,8 @@ function Md(e = qo) {
1131
1131
  var Sp = /* @__PURE__ */ Md(), Tp = ab, sb = (e) => {
1132
1132
  Tp = e;
1133
1133
  }, cb = (e, t) => e === t;
1134
- function lb(e = qo) {
1135
- const t = e === qo ? Sp : Md(e), n = (r, o = {}) => {
1134
+ function lb(e = $o) {
1135
+ const t = e === $o ? Sp : Md(e), n = (r, o = {}) => {
1136
1136
  const { equalityFn: A = cb, devModeChecks: i = {} } = typeof o == "function" ? { equalityFn: o } : o;
1137
1137
  if (process.env.NODE_ENV !== "production") {
1138
1138
  if (!r)
@@ -1325,12 +1325,12 @@ function Bb({
1325
1325
  c.tryUnsubscribe(), c.onStateChange = void 0;
1326
1326
  };
1327
1327
  }, [i, a]);
1328
- const s = t || qo;
1328
+ const s = t || $o;
1329
1329
  return /* @__PURE__ */ dr.createElement(s.Provider, { value: i }, n);
1330
1330
  }
1331
1331
  var pb = Bb;
1332
- function Dp(e = qo) {
1333
- const t = e === qo ? Sp : (
1332
+ function Dp(e = $o) {
1333
+ const t = e === $o ? Sp : (
1334
1334
  // @ts-ignore
1335
1335
  Md(e)
1336
1336
  ), n = () => {
@@ -1342,8 +1342,8 @@ function Dp(e = qo) {
1342
1342
  }), n;
1343
1343
  }
1344
1344
  var hb = /* @__PURE__ */ Dp();
1345
- function Qb(e = qo) {
1346
- const t = e === qo ? hb : Dp(e), n = () => t().dispatch;
1345
+ function Qb(e = $o) {
1346
+ const t = e === $o ? hb : Dp(e), n = () => t().dispatch;
1347
1347
  return Object.assign(n, {
1348
1348
  withTypes: () => n
1349
1349
  }), n;
@@ -1407,18 +1407,18 @@ function wb(e) {
1407
1407
  function Sb(e) {
1408
1408
  return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
1409
1409
  }
1410
- function Mo(e) {
1410
+ function Po(e) {
1411
1411
  let t = typeof e;
1412
1412
  return process.env.NODE_ENV !== "production" && (t = yb(e)), t;
1413
1413
  }
1414
1414
  function Rp(e, t, n) {
1415
1415
  if (typeof e != "function")
1416
- throw new Error(process.env.NODE_ENV === "production" ? Tn(2) : `Expected the root reducer to be a function. Instead, received: '${Mo(e)}'`);
1416
+ throw new Error(process.env.NODE_ENV === "production" ? Tn(2) : `Expected the root reducer to be a function. Instead, received: '${Po(e)}'`);
1417
1417
  if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function")
1418
1418
  throw new Error(process.env.NODE_ENV === "production" ? Tn(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
1419
1419
  if (typeof t == "function" && typeof n > "u" && (n = t, t = void 0), typeof n < "u") {
1420
1420
  if (typeof n != "function")
1421
- throw new Error(process.env.NODE_ENV === "production" ? Tn(1) : `Expected the enhancer to be a function. Instead, received: '${Mo(n)}'`);
1421
+ throw new Error(process.env.NODE_ENV === "production" ? Tn(1) : `Expected the enhancer to be a function. Instead, received: '${Po(n)}'`);
1422
1422
  return n(Rp)(e, t);
1423
1423
  }
1424
1424
  let r = e, o = t, A = /* @__PURE__ */ new Map(), i = A, a = 0, s = !1;
@@ -1434,7 +1434,7 @@ function Rp(e, t, n) {
1434
1434
  }
1435
1435
  function d(g) {
1436
1436
  if (typeof g != "function")
1437
- throw new Error(process.env.NODE_ENV === "production" ? Tn(4) : `Expected the listener to be a function. Instead, received: '${Mo(g)}'`);
1437
+ throw new Error(process.env.NODE_ENV === "production" ? Tn(4) : `Expected the listener to be a function. Instead, received: '${Po(g)}'`);
1438
1438
  if (s)
1439
1439
  throw new Error(process.env.NODE_ENV === "production" ? Tn(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
1440
1440
  let B = !0;
@@ -1450,11 +1450,11 @@ function Rp(e, t, n) {
1450
1450
  }
1451
1451
  function h(g) {
1452
1452
  if (!us(g))
1453
- throw new Error(process.env.NODE_ENV === "production" ? Tn(7) : `Actions must be plain objects. Instead, the actual type was: '${Mo(g)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);
1453
+ throw new Error(process.env.NODE_ENV === "production" ? Tn(7) : `Actions must be plain objects. Instead, the actual type was: '${Po(g)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);
1454
1454
  if (typeof g.type > "u")
1455
1455
  throw new Error(process.env.NODE_ENV === "production" ? Tn(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
1456
1456
  if (typeof g.type != "string")
1457
- throw new Error(process.env.NODE_ENV === "production" ? Tn(17) : `Action "type" property must be a string. Instead, the actual type was: '${Mo(g.type)}'. Value was: '${g.type}' (stringified)`);
1457
+ throw new Error(process.env.NODE_ENV === "production" ? Tn(17) : `Action "type" property must be a string. Instead, the actual type was: '${Po(g.type)}'. Value was: '${g.type}' (stringified)`);
1458
1458
  if (s)
1459
1459
  throw new Error(process.env.NODE_ENV === "production" ? Tn(9) : "Reducers may not dispatch actions.");
1460
1460
  try {
@@ -1468,7 +1468,7 @@ function Rp(e, t, n) {
1468
1468
  }
1469
1469
  function p(g) {
1470
1470
  if (typeof g != "function")
1471
- throw new Error(process.env.NODE_ENV === "production" ? Tn(10) : `Expected the nextReducer to be a function. Instead, received: '${Mo(g)}`);
1471
+ throw new Error(process.env.NODE_ENV === "production" ? Tn(10) : `Expected the nextReducer to be a function. Instead, received: '${Po(g)}`);
1472
1472
  r = g, h({
1473
1473
  type: DA.REPLACE
1474
1474
  });
@@ -1486,7 +1486,7 @@ function Rp(e, t, n) {
1486
1486
  */
1487
1487
  subscribe(B) {
1488
1488
  if (typeof B != "object" || B === null)
1489
- throw new Error(process.env.NODE_ENV === "production" ? Tn(11) : `Expected the observer to be an object. Instead, received: '${Mo(B)}'`);
1489
+ throw new Error(process.env.NODE_ENV === "production" ? Tn(11) : `Expected the observer to be an object. Instead, received: '${Po(B)}'`);
1490
1490
  function f() {
1491
1491
  const Q = B;
1492
1492
  Q.next && Q.next(l());
@@ -1522,7 +1522,7 @@ function Tb(e, t, n, r) {
1522
1522
  if (o.length === 0)
1523
1523
  return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";
1524
1524
  if (!us(e))
1525
- return `The ${A} has unexpected type of "${Mo(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;
1525
+ return `The ${A} has unexpected type of "${Po(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;
1526
1526
  const i = Object.keys(e).filter((a) => !t.hasOwnProperty(a) && !r[a]);
1527
1527
  if (i.forEach((a) => {
1528
1528
  r[a] = !0;
@@ -4313,7 +4313,7 @@ var Sg = {
4313
4313
  assertOptions: R2,
4314
4314
  validators: Gd
4315
4315
  };
4316
- const Fo = Sg.validators;
4316
+ const _o = Sg.validators;
4317
4317
  let Pc = class {
4318
4318
  constructor(t) {
4319
4319
  this.defaults = t, this.interceptors = {
@@ -4350,14 +4350,14 @@ let Pc = class {
4350
4350
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = _A(this.defaults, n);
4351
4351
  const { transitional: r, paramsSerializer: o, headers: A } = n;
4352
4352
  r !== void 0 && Sg.assertOptions(r, {
4353
- silentJSONParsing: Fo.transitional(Fo.boolean),
4354
- forcedJSONParsing: Fo.transitional(Fo.boolean),
4355
- clarifyTimeoutError: Fo.transitional(Fo.boolean)
4353
+ silentJSONParsing: _o.transitional(_o.boolean),
4354
+ forcedJSONParsing: _o.transitional(_o.boolean),
4355
+ clarifyTimeoutError: _o.transitional(_o.boolean)
4356
4356
  }, !1), o != null && (Ae.isFunction(o) ? n.paramsSerializer = {
4357
4357
  serialize: o
4358
4358
  } : Sg.assertOptions(o, {
4359
- encode: Fo.function,
4360
- serialize: Fo.function
4359
+ encode: _o.function,
4360
+ serialize: _o.function
4361
4361
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
4362
4362
  let i = A && Ae.merge(
4363
4363
  A.common,
@@ -6747,7 +6747,7 @@ const br = {
6747
6747
  tier: "",
6748
6748
  bifrost: null,
6749
6749
  isInitiated: !1
6750
- }, nA = () => {
6750
+ }, So = () => {
6751
6751
  if (!br.isInitiated)
6752
6752
  return null;
6753
6753
  if (!br.baseUrl)
@@ -6799,7 +6799,7 @@ const br = {
6799
6799
  }
6800
6800
  }, Mw = ({ configHiver: e }) => async (n) => {
6801
6801
  var h, p, I;
6802
- const r = nA();
6802
+ const r = So();
6803
6803
  if (!r)
6804
6804
  throw new Error("Please call initConnectorsBifrost before making any api calls");
6805
6805
  const { bifrost: o, userGroupId: A, userId: i } = r, { url: a, method: s, root_url: c } = n, d = {
@@ -7104,11 +7104,11 @@ function _h(e, t) {
7104
7104
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
7105
7105
  ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === Nc ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
7106
7106
  }
7107
- var hA, jo, pi, ip, Ww = (ip = class extends Xi {
7107
+ var hA, Uo, pi, ip, Ww = (ip = class extends Xi {
7108
7108
  constructor() {
7109
7109
  super();
7110
7110
  Je(this, hA);
7111
- Je(this, jo);
7111
+ Je(this, Uo);
7112
7112
  Je(this, pi);
7113
7113
  Ne(this, pi, (t) => {
7114
7114
  if (!PA && window.addEventListener) {
@@ -7120,15 +7120,15 @@ var hA, jo, pi, ip, Ww = (ip = class extends Xi {
7120
7120
  });
7121
7121
  }
7122
7122
  onSubscribe() {
7123
- L(this, jo) || this.setEventListener(L(this, pi));
7123
+ L(this, Uo) || this.setEventListener(L(this, pi));
7124
7124
  }
7125
7125
  onUnsubscribe() {
7126
7126
  var t;
7127
- this.hasListeners() || ((t = L(this, jo)) == null || t.call(this), Ne(this, jo, void 0));
7127
+ this.hasListeners() || ((t = L(this, Uo)) == null || t.call(this), Ne(this, Uo, void 0));
7128
7128
  }
7129
7129
  setEventListener(t) {
7130
7130
  var n;
7131
- Ne(this, pi, t), (n = L(this, jo)) == null || n.call(this), Ne(this, jo, t((r) => {
7131
+ Ne(this, pi, t), (n = L(this, Uo)) == null || n.call(this), Ne(this, Uo, t((r) => {
7132
7132
  typeof r == "boolean" ? this.setFocused(r) : this.onFocus();
7133
7133
  }));
7134
7134
  }
@@ -7145,11 +7145,11 @@ var hA, jo, pi, ip, Ww = (ip = class extends Xi {
7145
7145
  var t;
7146
7146
  return typeof L(this, hA) == "boolean" ? L(this, hA) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
7147
7147
  }
7148
- }, hA = new WeakMap(), jo = new WeakMap(), pi = new WeakMap(), ip), Kd = new Ww(), hi, Uo, Qi, ap, zw = (ap = class extends Xi {
7148
+ }, hA = new WeakMap(), Uo = new WeakMap(), pi = new WeakMap(), ip), Kd = new Ww(), hi, Vo, Qi, ap, zw = (ap = class extends Xi {
7149
7149
  constructor() {
7150
7150
  super();
7151
7151
  Je(this, hi, !0);
7152
- Je(this, Uo);
7152
+ Je(this, Vo);
7153
7153
  Je(this, Qi);
7154
7154
  Ne(this, Qi, (t) => {
7155
7155
  if (!PA && window.addEventListener) {
@@ -7161,15 +7161,15 @@ var hA, jo, pi, ip, Ww = (ip = class extends Xi {
7161
7161
  });
7162
7162
  }
7163
7163
  onSubscribe() {
7164
- L(this, Uo) || this.setEventListener(L(this, Qi));
7164
+ L(this, Vo) || this.setEventListener(L(this, Qi));
7165
7165
  }
7166
7166
  onUnsubscribe() {
7167
7167
  var t;
7168
- this.hasListeners() || ((t = L(this, Uo)) == null || t.call(this), Ne(this, Uo, void 0));
7168
+ this.hasListeners() || ((t = L(this, Vo)) == null || t.call(this), Ne(this, Vo, void 0));
7169
7169
  }
7170
7170
  setEventListener(t) {
7171
7171
  var n;
7172
- Ne(this, Qi, t), (n = L(this, Uo)) == null || n.call(this), Ne(this, Uo, t(this.setOnline.bind(this)));
7172
+ Ne(this, Qi, t), (n = L(this, Vo)) == null || n.call(this), Ne(this, Vo, t(this.setOnline.bind(this)));
7173
7173
  }
7174
7174
  setOnline(t) {
7175
7175
  L(this, hi) !== t && (Ne(this, hi, t), this.listeners.forEach((r) => {
@@ -7179,7 +7179,7 @@ var hA, jo, pi, ip, Ww = (ip = class extends Xi {
7179
7179
  isOnline() {
7180
7180
  return L(this, hi);
7181
7181
  }
7182
- }, hi = new WeakMap(), Uo = new WeakMap(), Qi = new WeakMap(), ap), kc = new zw();
7182
+ }, hi = new WeakMap(), Vo = new WeakMap(), Qi = new WeakMap(), ap), kc = new zw();
7183
7183
  function _g() {
7184
7184
  let e, t;
7185
7185
  const n = new Promise((o, A) => {
@@ -7710,7 +7710,7 @@ var Xr, lp, Zw = (lp = class extends Xi {
7710
7710
  });
7711
7711
  });
7712
7712
  }
7713
- }, Xr = new WeakMap(), lp), Kr, Gn, bA, Zr, Po, up, qw = (up = class extends Nh {
7713
+ }, Xr = new WeakMap(), lp), Kr, Gn, bA, Zr, Lo, up, qw = (up = class extends Nh {
7714
7714
  constructor(t) {
7715
7715
  super();
7716
7716
  Je(this, Zr);
@@ -7752,13 +7752,13 @@ var Xr, lp, Zw = (lp = class extends Xi {
7752
7752
  Ne(this, bA, Lh({
7753
7753
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
7754
7754
  onFail: (m, w) => {
7755
- lt(this, Zr, Po).call(this, { type: "failed", failureCount: m, error: w });
7755
+ lt(this, Zr, Lo).call(this, { type: "failed", failureCount: m, error: w });
7756
7756
  },
7757
7757
  onPause: () => {
7758
- lt(this, Zr, Po).call(this, { type: "pause" });
7758
+ lt(this, Zr, Lo).call(this, { type: "pause" });
7759
7759
  },
7760
7760
  onContinue: () => {
7761
- lt(this, Zr, Po).call(this, { type: "continue" });
7761
+ lt(this, Zr, Lo).call(this, { type: "continue" });
7762
7762
  },
7763
7763
  retry: this.options.retry ?? 0,
7764
7764
  retryDelay: this.options.retryDelay,
@@ -7768,13 +7768,13 @@ var Xr, lp, Zw = (lp = class extends Xi {
7768
7768
  const n = this.state.status === "pending", r = !L(this, bA).canStart();
7769
7769
  try {
7770
7770
  if (!n) {
7771
- lt(this, Zr, Po).call(this, { type: "pending", variables: t, isPaused: r }), await ((A = (o = L(this, Gn).config).onMutate) == null ? void 0 : A.call(
7771
+ lt(this, Zr, Lo).call(this, { type: "pending", variables: t, isPaused: r }), await ((A = (o = L(this, Gn).config).onMutate) == null ? void 0 : A.call(
7772
7772
  o,
7773
7773
  t,
7774
7774
  this
7775
7775
  ));
7776
7776
  const w = await ((a = (i = this.options).onMutate) == null ? void 0 : a.call(i, t));
7777
- w !== this.state.context && lt(this, Zr, Po).call(this, {
7777
+ w !== this.state.context && lt(this, Zr, Lo).call(this, {
7778
7778
  type: "pending",
7779
7779
  context: w,
7780
7780
  variables: t,
@@ -7795,7 +7795,7 @@ var Xr, lp, Zw = (lp = class extends Xi {
7795
7795
  this.state.variables,
7796
7796
  this.state.context,
7797
7797
  this
7798
- )), await ((C = (I = this.options).onSettled) == null ? void 0 : C.call(I, m, null, t, this.state.context)), lt(this, Zr, Po).call(this, { type: "success", data: m }), m;
7798
+ )), await ((C = (I = this.options).onSettled) == null ? void 0 : C.call(I, m, null, t, this.state.context)), lt(this, Zr, Lo).call(this, { type: "success", data: m }), m;
7799
7799
  } catch (m) {
7800
7800
  try {
7801
7801
  throw await ((B = (g = L(this, Gn).config).onError) == null ? void 0 : B.call(
@@ -7824,13 +7824,13 @@ var Xr, lp, Zw = (lp = class extends Xi {
7824
7824
  this.state.context
7825
7825
  )), m;
7826
7826
  } finally {
7827
- lt(this, Zr, Po).call(this, { type: "error", error: m });
7827
+ lt(this, Zr, Lo).call(this, { type: "error", error: m });
7828
7828
  }
7829
7829
  } finally {
7830
7830
  L(this, Gn).runNext(this);
7831
7831
  }
7832
7832
  }
7833
- }, Kr = new WeakMap(), Gn = new WeakMap(), bA = new WeakMap(), Zr = new WeakSet(), Po = function(t) {
7833
+ }, Kr = new WeakMap(), Gn = new WeakMap(), bA = new WeakMap(), Zr = new WeakSet(), Lo = function(t) {
7834
7834
  const n = (r) => {
7835
7835
  switch (t.type) {
7836
7836
  case "failed":
@@ -8094,20 +8094,20 @@ function e3(e, t) {
8094
8094
  function t3(e, t) {
8095
8095
  return !t || !e.getPreviousPageParam ? !1 : Uh(e, t) != null;
8096
8096
  }
8097
- var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8097
+ var nn, Go, Ho, bi, yi, Wo, xi, wi, dp, n3 = (dp = class {
8098
8098
  constructor(e = {}) {
8099
8099
  Je(this, nn);
8100
- Je(this, Vo);
8101
8100
  Je(this, Go);
8101
+ Je(this, Ho);
8102
8102
  Je(this, bi);
8103
8103
  Je(this, yi);
8104
- Je(this, Ho);
8104
+ Je(this, Wo);
8105
8105
  Je(this, xi);
8106
8106
  Je(this, wi);
8107
- Ne(this, nn, e.queryCache || new Zw()), Ne(this, Vo, e.mutationCache || new $w()), Ne(this, Go, e.defaultOptions || {}), Ne(this, bi, /* @__PURE__ */ new Map()), Ne(this, yi, /* @__PURE__ */ new Map()), Ne(this, Ho, 0);
8107
+ Ne(this, nn, e.queryCache || new Zw()), Ne(this, Go, e.mutationCache || new $w()), Ne(this, Ho, e.defaultOptions || {}), Ne(this, bi, /* @__PURE__ */ new Map()), Ne(this, yi, /* @__PURE__ */ new Map()), Ne(this, Wo, 0);
8108
8108
  }
8109
8109
  mount() {
8110
- ws(this, Ho)._++, L(this, Ho) === 1 && (Ne(this, xi, Kd.subscribe(async (e) => {
8110
+ ws(this, Wo)._++, L(this, Wo) === 1 && (Ne(this, xi, Kd.subscribe(async (e) => {
8111
8111
  e && (await this.resumePausedMutations(), L(this, nn).onFocus());
8112
8112
  })), Ne(this, wi, kc.subscribe(async (e) => {
8113
8113
  e && (await this.resumePausedMutations(), L(this, nn).onOnline());
@@ -8115,13 +8115,13 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8115
8115
  }
8116
8116
  unmount() {
8117
8117
  var e, t;
8118
- ws(this, Ho)._--, L(this, Ho) === 0 && ((e = L(this, xi)) == null || e.call(this), Ne(this, xi, void 0), (t = L(this, wi)) == null || t.call(this), Ne(this, wi, void 0));
8118
+ ws(this, Wo)._--, L(this, Wo) === 0 && ((e = L(this, xi)) == null || e.call(this), Ne(this, xi, void 0), (t = L(this, wi)) == null || t.call(this), Ne(this, wi, void 0));
8119
8119
  }
8120
8120
  isFetching(e) {
8121
8121
  return L(this, nn).findAll({ ...e, fetchStatus: "fetching" }).length;
8122
8122
  }
8123
8123
  isMutating(e) {
8124
- return L(this, Vo).findAll({ ...e, status: "pending" }).length;
8124
+ return L(this, Go).findAll({ ...e, status: "pending" }).length;
8125
8125
  }
8126
8126
  getQueryData(e) {
8127
8127
  var n;
@@ -8230,19 +8230,19 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8230
8230
  return e.behavior = jc(e.pages), this.ensureQueryData(e);
8231
8231
  }
8232
8232
  resumePausedMutations() {
8233
- return kc.isOnline() ? L(this, Vo).resumePausedMutations() : Promise.resolve();
8233
+ return kc.isOnline() ? L(this, Go).resumePausedMutations() : Promise.resolve();
8234
8234
  }
8235
8235
  getQueryCache() {
8236
8236
  return L(this, nn);
8237
8237
  }
8238
8238
  getMutationCache() {
8239
- return L(this, Vo);
8239
+ return L(this, Go);
8240
8240
  }
8241
8241
  getDefaultOptions() {
8242
- return L(this, Go);
8242
+ return L(this, Ho);
8243
8243
  }
8244
8244
  setDefaultOptions(e) {
8245
- Ne(this, Go, e);
8245
+ Ne(this, Ho, e);
8246
8246
  }
8247
8247
  setQueryDefaults(e, t) {
8248
8248
  L(this, bi).set(LA(e), {
@@ -8272,7 +8272,7 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8272
8272
  if (e._defaulted)
8273
8273
  return e;
8274
8274
  const t = {
8275
- ...L(this, Go).queries,
8275
+ ...L(this, Ho).queries,
8276
8276
  ...this.getQueryDefaults(e.queryKey),
8277
8277
  ...e,
8278
8278
  _defaulted: !0
@@ -8284,16 +8284,16 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8284
8284
  }
8285
8285
  defaultMutationOptions(e) {
8286
8286
  return e != null && e._defaulted ? e : {
8287
- ...L(this, Go).mutations,
8287
+ ...L(this, Ho).mutations,
8288
8288
  ...(e == null ? void 0 : e.mutationKey) && this.getMutationDefaults(e.mutationKey),
8289
8289
  ...e,
8290
8290
  _defaulted: !0
8291
8291
  };
8292
8292
  }
8293
8293
  clear() {
8294
- L(this, nn).clear(), L(this, Vo).clear();
8294
+ L(this, nn).clear(), L(this, Go).clear();
8295
8295
  }
8296
- }, nn = new WeakMap(), Vo = new WeakMap(), Go = new WeakMap(), bi = new WeakMap(), yi = new WeakMap(), Ho = new WeakMap(), xi = new WeakMap(), wi = new WeakMap(), dp), $n, ft, ss, Hn, yA, Si, Wo, qr, cs, Ti, Di, xA, wA, zo, Ri, _t, Da, Pg, Lg, Ng, kg, jg, Ug, Vg, Gh, Cp, Vh = (Cp = class extends Xi {
8296
+ }, nn = new WeakMap(), Go = new WeakMap(), Ho = new WeakMap(), bi = new WeakMap(), yi = new WeakMap(), Wo = new WeakMap(), xi = new WeakMap(), wi = new WeakMap(), dp), $n, ft, ss, Hn, yA, Si, zo, qr, cs, Ti, Di, xA, wA, Yo, Ri, _t, Da, Pg, Lg, Ng, kg, jg, Ug, Vg, Gh, Cp, Vh = (Cp = class extends Xi {
8297
8297
  constructor(t, n) {
8298
8298
  super();
8299
8299
  Je(this, _t);
@@ -8303,7 +8303,7 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8303
8303
  Je(this, Hn);
8304
8304
  Je(this, yA);
8305
8305
  Je(this, Si);
8306
- Je(this, Wo);
8306
+ Je(this, zo);
8307
8307
  Je(this, qr);
8308
8308
  Je(this, cs);
8309
8309
  Je(this, Ti);
@@ -8312,9 +8312,9 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8312
8312
  Je(this, Di);
8313
8313
  Je(this, xA);
8314
8314
  Je(this, wA);
8315
- Je(this, zo);
8315
+ Je(this, Yo);
8316
8316
  Je(this, Ri, /* @__PURE__ */ new Set());
8317
- this.options = n, Ne(this, $n, t), Ne(this, qr, null), Ne(this, Wo, _g()), this.options.experimental_prefetchInRender || L(this, Wo).reject(
8317
+ this.options = n, Ne(this, $n, t), Ne(this, qr, null), Ne(this, zo, _g()), this.options.experimental_prefetchInRender || L(this, zo).reject(
8318
8318
  new Error("experimental_prefetchInRender feature flag is not enabled")
8319
8319
  ), this.bindMethods(), this.setOptions(n);
8320
8320
  }
@@ -8363,7 +8363,7 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8363
8363
  r
8364
8364
  ) && lt(this, _t, Da).call(this), this.updateResult(n), A && (L(this, ft) !== o || Nr(this.options.enabled, L(this, ft)) !== Nr(r.enabled, L(this, ft)) || si(this.options.staleTime, L(this, ft)) !== si(r.staleTime, L(this, ft))) && lt(this, _t, Pg).call(this);
8365
8365
  const i = lt(this, _t, Lg).call(this);
8366
- A && (L(this, ft) !== o || Nr(this.options.enabled, L(this, ft)) !== Nr(r.enabled, L(this, ft)) || i !== L(this, zo)) && lt(this, _t, Ng).call(this, i);
8366
+ A && (L(this, ft) !== o || Nr(this.options.enabled, L(this, ft)) !== Nr(r.enabled, L(this, ft)) || i !== L(this, Yo)) && lt(this, _t, Ng).call(this, i);
8367
8367
  }
8368
8368
  getOptimisticResult(t) {
8369
8369
  const n = L(this, $n).getQueryCache().build(L(this, $n), t), r = this.createResult(n, t);
@@ -8471,15 +8471,15 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8471
8471
  isRefetchError: E && v,
8472
8472
  isStale: Zd(t, n),
8473
8473
  refetch: this.refetch,
8474
- promise: L(this, Wo)
8474
+ promise: L(this, zo)
8475
8475
  };
8476
8476
  if (this.options.experimental_prefetchInRender) {
8477
8477
  const w = (N) => {
8478
8478
  b.status === "error" ? N.reject(b.error) : b.data !== void 0 && N.resolve(b.data);
8479
8479
  }, R = () => {
8480
- const N = Ne(this, Wo, b.promise = _g());
8480
+ const N = Ne(this, zo, b.promise = _g());
8481
8481
  w(N);
8482
- }, O = L(this, Wo);
8482
+ }, O = L(this, zo);
8483
8483
  switch (O.status) {
8484
8484
  case "pending":
8485
8485
  t.queryHash === r.queryHash && w(O);
@@ -8518,7 +8518,7 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8518
8518
  onQueryUpdate() {
8519
8519
  this.updateResult(), this.hasListeners() && lt(this, _t, kg).call(this);
8520
8520
  }
8521
- }, $n = new WeakMap(), ft = new WeakMap(), ss = new WeakMap(), Hn = new WeakMap(), yA = new WeakMap(), Si = new WeakMap(), Wo = new WeakMap(), qr = new WeakMap(), cs = new WeakMap(), Ti = new WeakMap(), Di = new WeakMap(), xA = new WeakMap(), wA = new WeakMap(), zo = new WeakMap(), Ri = new WeakMap(), _t = new WeakSet(), Da = function(t) {
8521
+ }, $n = new WeakMap(), ft = new WeakMap(), ss = new WeakMap(), Hn = new WeakMap(), yA = new WeakMap(), Si = new WeakMap(), zo = new WeakMap(), qr = new WeakMap(), cs = new WeakMap(), Ti = new WeakMap(), Di = new WeakMap(), xA = new WeakMap(), wA = new WeakMap(), Yo = new WeakMap(), Ri = new WeakMap(), _t = new WeakSet(), Da = function(t) {
8522
8522
  lt(this, _t, Vg).call(this);
8523
8523
  let n = L(this, ft).fetch(
8524
8524
  this.options,
@@ -8540,9 +8540,9 @@ var nn, Vo, Go, bi, yi, Ho, xi, wi, dp, n3 = (dp = class {
8540
8540
  }, Lg = function() {
8541
8541
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(L(this, ft)) : this.options.refetchInterval) ?? !1;
8542
8542
  }, Ng = function(t) {
8543
- lt(this, _t, Ug).call(this), Ne(this, zo, t), !(PA || Nr(this.options.enabled, L(this, ft)) === !1 || !Dg(L(this, zo)) || L(this, zo) === 0) && Ne(this, wA, setInterval(() => {
8543
+ lt(this, _t, Ug).call(this), Ne(this, Yo, t), !(PA || Nr(this.options.enabled, L(this, ft)) === !1 || !Dg(L(this, Yo)) || L(this, Yo) === 0) && Ne(this, wA, setInterval(() => {
8544
8544
  (this.options.refetchIntervalInBackground || Kd.isFocused()) && lt(this, _t, Da).call(this);
8545
- }, L(this, zo)));
8545
+ }, L(this, Yo)));
8546
8546
  }, kg = function() {
8547
8547
  lt(this, _t, Pg).call(this), lt(this, _t, Ng).call(this, lt(this, _t, Lg).call(this));
8548
8548
  }, jg = function() {
@@ -8639,15 +8639,15 @@ var A3 = class extends Vh {
8639
8639
  isRefetching: A && !l && !h
8640
8640
  };
8641
8641
  }
8642
- }, Yo, Jo, er, ho, bo, sc, Hg, Ep, i3 = (Ep = class extends Xi {
8642
+ }, Jo, Xo, er, ho, bo, sc, Hg, Ep, i3 = (Ep = class extends Xi {
8643
8643
  constructor(t, n) {
8644
8644
  super();
8645
8645
  Je(this, bo);
8646
- Je(this, Yo);
8647
8646
  Je(this, Jo);
8647
+ Je(this, Xo);
8648
8648
  Je(this, er);
8649
8649
  Je(this, ho);
8650
- Ne(this, Yo, t), this.setOptions(n), this.bindMethods(), lt(this, bo, sc).call(this);
8650
+ Ne(this, Jo, t), this.setOptions(n), this.bindMethods(), lt(this, bo, sc).call(this);
8651
8651
  }
8652
8652
  bindMethods() {
8653
8653
  this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
@@ -8655,7 +8655,7 @@ var A3 = class extends Vh {
8655
8655
  setOptions(t) {
8656
8656
  var r;
8657
8657
  const n = this.options;
8658
- this.options = L(this, Yo).defaultMutationOptions(t), Lc(this.options, n) || L(this, Yo).getMutationCache().notify({
8658
+ this.options = L(this, Jo).defaultMutationOptions(t), Lc(this.options, n) || L(this, Jo).getMutationCache().notify({
8659
8659
  type: "observerOptionsUpdated",
8660
8660
  mutation: L(this, er),
8661
8661
  observer: this
@@ -8669,7 +8669,7 @@ var A3 = class extends Vh {
8669
8669
  lt(this, bo, sc).call(this), lt(this, bo, Hg).call(this, t);
8670
8670
  }
8671
8671
  getCurrentResult() {
8672
- return L(this, Jo);
8672
+ return L(this, Xo);
8673
8673
  }
8674
8674
  reset() {
8675
8675
  var t;
@@ -8677,12 +8677,12 @@ var A3 = class extends Vh {
8677
8677
  }
8678
8678
  mutate(t, n) {
8679
8679
  var r;
8680
- return Ne(this, ho, n), (r = L(this, er)) == null || r.removeObserver(this), Ne(this, er, L(this, Yo).getMutationCache().build(L(this, Yo), this.options)), L(this, er).addObserver(this), L(this, er).execute(t);
8680
+ return Ne(this, ho, n), (r = L(this, er)) == null || r.removeObserver(this), Ne(this, er, L(this, Jo).getMutationCache().build(L(this, Jo), this.options)), L(this, er).addObserver(this), L(this, er).execute(t);
8681
8681
  }
8682
- }, Yo = new WeakMap(), Jo = new WeakMap(), er = new WeakMap(), ho = new WeakMap(), bo = new WeakSet(), sc = function() {
8682
+ }, Jo = new WeakMap(), Xo = new WeakMap(), er = new WeakMap(), ho = new WeakMap(), bo = new WeakSet(), sc = function() {
8683
8683
  var n;
8684
8684
  const t = ((n = L(this, er)) == null ? void 0 : n.state) ?? jh();
8685
- Ne(this, Jo, {
8685
+ Ne(this, Xo, {
8686
8686
  ...t,
8687
8687
  isPending: t.status === "pending",
8688
8688
  isSuccess: t.status === "success",
@@ -8695,7 +8695,7 @@ var A3 = class extends Vh {
8695
8695
  pn.batch(() => {
8696
8696
  var n, r, o, A, i, a, s, c;
8697
8697
  if (L(this, ho) && this.hasListeners()) {
8698
- const l = L(this, Jo).variables, d = L(this, Jo).context;
8698
+ const l = L(this, Xo).variables, d = L(this, Xo).context;
8699
8699
  (t == null ? void 0 : t.type) === "success" ? ((r = (n = L(this, ho)).onSuccess) == null || r.call(n, t.data, l, d), (A = (o = L(this, ho)).onSettled) == null || A.call(o, t.data, null, l, d)) : (t == null ? void 0 : t.type) === "error" && ((a = (i = L(this, ho)).onError) == null || a.call(i, t.error, l, d), (c = (s = L(this, ho)).onSettled) == null || c.call(
8700
8700
  s,
8701
8701
  void 0,
@@ -8705,7 +8705,7 @@ var A3 = class extends Vh {
8705
8705
  ));
8706
8706
  }
8707
8707
  this.listeners.forEach((l) => {
8708
- l(L(this, Jo));
8708
+ l(L(this, Xo));
8709
8709
  });
8710
8710
  });
8711
8711
  }, Ep), Hh = x.createContext(
@@ -9219,10 +9219,14 @@ const Jn = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[zy])
9219
9219
  }), Q4 = (e) => ot({
9220
9220
  url: Gt(a4, { connectorType: e }),
9221
9221
  method: gt.GET
9222
- }), m4 = (e) => ot({
9223
- url: Gt(s4, { connectorType: e }),
9224
- method: gt.GET
9225
- }), v4 = ({
9222
+ }), m4 = (e) => {
9223
+ var n;
9224
+ const t = ((n = So()) == null ? void 0 : n.userGroupId) ?? "";
9225
+ return ot({
9226
+ url: `${Gt(s4, { connectorType: e })}?ug_id=${encodeURIComponent(t)}`,
9227
+ method: gt.GET
9228
+ });
9229
+ }, v4 = ({
9226
9230
  connectorType: e,
9227
9231
  configId: t,
9228
9232
  config: n
@@ -10868,7 +10872,7 @@ function uS(e) {
10868
10872
  );
10869
10873
  }
10870
10874
  function n(r, o) {
10871
- return typeof o == "string" ? o : $o(o);
10875
+ return typeof o == "string" ? o : eA(o);
10872
10876
  }
10873
10877
  return dS(t, n, null, e);
10874
10878
  }
@@ -10909,7 +10913,7 @@ function Xa(e, t, n, r) {
10909
10913
  key: t && t.key || r || gS()
10910
10914
  });
10911
10915
  }
10912
- function $o(e) {
10916
+ function eA(e) {
10913
10917
  let {
10914
10918
  pathname: t = "/",
10915
10919
  search: n = "",
@@ -10980,7 +10984,7 @@ function dS(e, t, n, r) {
10980
10984
  });
10981
10985
  }
10982
10986
  function I(g) {
10983
- let B = o.location.origin !== "null" ? o.location.origin : o.location.href, f = typeof g == "string" ? g : $o(g);
10987
+ let B = o.location.origin !== "null" ? o.location.origin : o.location.href, f = typeof g == "string" ? g : eA(g);
10984
10988
  return f = f.replace(/ $/, "%20"), ze(B, "No window.location.(origin|href) available to create URL for href: " + f), new URL(f, B);
10985
10989
  }
10986
10990
  let C = {
@@ -11676,7 +11680,7 @@ function US(e) {
11676
11680
  shortCircuited: !0
11677
11681
  };
11678
11682
  }
11679
- if (Ko(Ie))
11683
+ if (Zo(Ie))
11680
11684
  throw Wn(400, {
11681
11685
  type: "defer-action"
11682
11686
  });
@@ -11835,7 +11839,7 @@ function US(e) {
11835
11839
  m.fetchers.set(k.key, S);
11836
11840
  }), new Map(m.fetchers);
11837
11841
  }
11838
- function To(M, k, Z, S) {
11842
+ function Do(M, k, Z, S) {
11839
11843
  if (r)
11840
11844
  throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");
11841
11845
  K.has(M) && _n(M);
@@ -11861,15 +11865,15 @@ function US(e) {
11861
11865
  }
11862
11866
  let Ye = Ra(Ie, me);
11863
11867
  if (R = (S && S.preventScrollReset) === !0, Qe && Lr(Qe.formMethod)) {
11864
- Do(M, k, me, Ye, Ie, Fe.active, Y, Qe);
11868
+ Ro(M, k, me, Ye, Ie, Fe.active, Y, Qe);
11865
11869
  return;
11866
11870
  }
11867
11871
  ae.set(M, {
11868
11872
  routeId: k,
11869
11873
  path: me
11870
- }), Ro(M, k, me, Ye, Ie, Fe.active, Y, Qe);
11874
+ }), Oo(M, k, me, Ye, Ie, Fe.active, Y, Qe);
11871
11875
  }
11872
- async function Do(M, k, Z, S, Y, ie, ye, Ie) {
11876
+ async function Ro(M, k, Z, S, Y, ie, ye, Ie) {
11873
11877
  On(), ae.delete(M);
11874
11878
  function Fe(ue) {
11875
11879
  if (!ue.route.action && !ue.route.lazy) {
@@ -11923,13 +11927,13 @@ function US(e) {
11923
11927
  }
11924
11928
  if (d.v7_fetcherPersist && ce.has(M)) {
11925
11929
  if (BA(nt) || lr(nt)) {
11926
- Fn(M, Lo(void 0));
11930
+ Fn(M, No(void 0));
11927
11931
  return;
11928
11932
  }
11929
11933
  } else {
11930
11934
  if (BA(nt))
11931
11935
  if (K.delete(M), X > Ye) {
11932
- Fn(M, Lo(void 0));
11936
+ Fn(M, No(void 0));
11933
11937
  return;
11934
11938
  } else
11935
11939
  return G.add(M), Fn(M, Qa(Ie)), Kn($e, nt, !1, {
@@ -11940,7 +11944,7 @@ function US(e) {
11940
11944
  return;
11941
11945
  }
11942
11946
  }
11943
- if (Ko(nt))
11947
+ if (Zo(nt))
11944
11948
  throw Wn(400, {
11945
11949
  type: "defer-action"
11946
11950
  });
@@ -11976,7 +11980,7 @@ function US(e) {
11976
11980
  errors: se
11977
11981
  } = Mf(m, Pn, YA, P, void 0, mr, te, $);
11978
11982
  if (m.fetchers.has(M)) {
11979
- let ue = Lo(nt.data);
11983
+ let ue = No(nt.data);
11980
11984
  m.fetchers.set(M, ue);
11981
11985
  }
11982
11986
  Fr(zr), m.navigation.state === "loading" && zr > X ? (ze(w, "Expected pending action"), O && O.abort(), Be(m.navigation.location, {
@@ -11990,7 +11994,7 @@ function US(e) {
11990
11994
  fetchers: new Map(m.fetchers)
11991
11995
  }), H = !1);
11992
11996
  }
11993
- async function Ro(M, k, Z, S, Y, ie, ye, Ie) {
11997
+ async function Oo(M, k, Z, S, Y, ie, ye, Ie) {
11994
11998
  let Fe = m.fetchers.get(M);
11995
11999
  Fn(M, Qa(Ie, Fe ? Fe.data : void 0), {
11996
12000
  flushSync: ye
@@ -12021,14 +12025,14 @@ function US(e) {
12021
12025
  }
12022
12026
  K.set(M, me);
12023
12027
  let $e = U, tt = (await An("loader", m, Qe, [S], Y, M))[S.route.id];
12024
- if (Ko(tt) && (tt = await oC(tt, Qe.signal, !0) || tt), K.get(M) === me && K.delete(M), !Qe.signal.aborted) {
12028
+ if (Zo(tt) && (tt = await oC(tt, Qe.signal, !0) || tt), K.get(M) === me && K.delete(M), !Qe.signal.aborted) {
12025
12029
  if (ce.has(M)) {
12026
- Fn(M, Lo(void 0));
12030
+ Fn(M, No(void 0));
12027
12031
  return;
12028
12032
  }
12029
12033
  if (BA(tt))
12030
12034
  if (X > $e) {
12031
- Fn(M, Lo(void 0));
12035
+ Fn(M, No(void 0));
12032
12036
  return;
12033
12037
  } else {
12034
12038
  G.add(M), await Kn(Qe, tt, !1);
@@ -12038,7 +12042,7 @@ function US(e) {
12038
12042
  Wt(M, k, tt.error);
12039
12043
  return;
12040
12044
  }
12041
- ze(!Ko(tt), "Unhandled fetcher deferred data"), Fn(M, Lo(tt.data));
12045
+ ze(!Zo(tt), "Unhandled fetcher deferred data"), Fn(M, No(tt.data));
12042
12046
  }
12043
12047
  }
12044
12048
  async function Kn(M, k, Z, S) {
@@ -12173,7 +12177,7 @@ function US(e) {
12173
12177
  let k = m.fetchers.get(M);
12174
12178
  K.has(M) && !(k && k.state === "loading" && V.has(M)) && _n(M), ae.delete(M), V.delete(M), G.delete(M), ce.delete(M), q.delete(M), m.fetchers.delete(M);
12175
12179
  }
12176
- function Oo(M) {
12180
+ function Fo(M) {
12177
12181
  if (d.v7_fetcherPersist) {
12178
12182
  let k = (ge.get(M) || 0) - 1;
12179
12183
  k <= 0 ? (ge.delete(M), ce.add(M)) : ge.set(M, k);
@@ -12189,7 +12193,7 @@ function US(e) {
12189
12193
  }
12190
12194
  function Co(M) {
12191
12195
  for (let k of M) {
12192
- let Z = go(k), S = Lo(Z.data);
12196
+ let Z = go(k), S = No(Z.data);
12193
12197
  m.fetchers.set(k, S);
12194
12198
  }
12195
12199
  }
@@ -12392,14 +12396,14 @@ function US(e) {
12392
12396
  subscribe: W,
12393
12397
  enableScrollRestoration: on,
12394
12398
  navigate: Me,
12395
- fetch: To,
12399
+ fetch: Do,
12396
12400
  revalidate: qe,
12397
12401
  // Passthrough to history-aware createHref used by useHref so we get proper
12398
12402
  // hash-aware URLs in DOM paths
12399
12403
  createHref: (M) => e.history.createHref(M),
12400
12404
  encodeLocation: (M) => e.history.encodeLocation(M),
12401
12405
  getFetcher: go,
12402
- deleteFetcher: Oo,
12406
+ deleteFetcher: Fo,
12403
12407
  dispose: J,
12404
12408
  getBlocker: hr,
12405
12409
  deleteBlocker: zt,
@@ -12426,7 +12430,7 @@ function Xg(e, t, n, r, o, A, i, a) {
12426
12430
  } else
12427
12431
  s = t, c = t[t.length - 1];
12428
12432
  let l = Nl(o || ".", Ll(s, A), jr(e.pathname, n) || e.pathname, a === "path");
12429
- return o == null && (l.search = e.search, l.hash = e.hash), (o == null || o === "" || o === ".") && c && c.route.index && !AC(l.search) && (l.search = l.search ? l.search.replace(/^\?/, "?index&") : "?index"), r && n !== "/" && (l.pathname = l.pathname === "/" ? n : Ao([n, l.pathname])), $o(l);
12433
+ return o == null && (l.search = e.search, l.hash = e.hash), (o == null || o === "" || o === ".") && c && c.route.index && !AC(l.search) && (l.search = l.search ? l.search.replace(/^\?/, "?index&") : "?index"), r && n !== "/" && (l.pathname = l.pathname === "/" ? n : Ao([n, l.pathname])), eA(l);
12430
12434
  }
12431
12435
  function Df(e, t, n, r) {
12432
12436
  if (!r || !VS(r))
@@ -12521,7 +12525,7 @@ function Df(e, t, n, r) {
12521
12525
  };
12522
12526
  let d = AA(n);
12523
12527
  return t && d.search && AC(d.search) && s.append("index", ""), d.search = "?" + s, {
12524
- path: $o(d),
12528
+ path: eA(d),
12525
12529
  submission: l
12526
12530
  };
12527
12531
  }
@@ -12900,7 +12904,7 @@ function qS(e, t, n, r, o) {
12900
12904
  }
12901
12905
  A[h] = void 0, s || (s = !0, a = kl(p.error) ? p.error.status : 500), p.headers && (c[h] = p.headers);
12902
12906
  } else
12903
- Ko(p) ? (r.set(h, p.deferredData), A[h] = p.deferredData.data, p.statusCode != null && p.statusCode !== 200 && !s && (a = p.statusCode), p.headers && (c[h] = p.headers)) : (A[h] = p.data, p.statusCode && p.statusCode !== 200 && !s && (a = p.statusCode), p.headers && (c[h] = p.headers));
12907
+ Zo(p) ? (r.set(h, p.deferredData), A[h] = p.deferredData.data, p.statusCode != null && p.statusCode !== 200 && !s && (a = p.statusCode), p.headers && (c[h] = p.headers)) : (A[h] = p.data, p.statusCode && p.statusCode !== 200 && !s && (a = p.statusCode), p.headers && (c[h] = p.headers));
12904
12908
  }), l !== void 0 && n && (i = {
12905
12909
  [n[0]]: l
12906
12910
  }, A[n[0]] = void 0), {
@@ -12929,10 +12933,10 @@ function Mf(e, t, n, r, o, A, i, a) {
12929
12933
  })), e.fetchers.delete(d);
12930
12934
  } else if (BA(I))
12931
12935
  ze(!1, "Unhandled fetcher revalidation redirect");
12932
- else if (Ko(I))
12936
+ else if (Zo(I))
12933
12937
  ze(!1, "Unhandled fetcher deferred data");
12934
12938
  else {
12935
- let C = Lo(I.data);
12939
+ let C = No(I.data);
12936
12940
  e.fetchers.set(d, C);
12937
12941
  }
12938
12942
  }), {
@@ -13000,7 +13004,7 @@ function Ns(e) {
13000
13004
  }
13001
13005
  function bQ(e) {
13002
13006
  let t = typeof e == "string" ? AA(e) : e;
13003
- return $o(Zt({}, t, {
13007
+ return eA(Zt({}, t, {
13004
13008
  hash: ""
13005
13009
  }));
13006
13010
  }
@@ -13013,7 +13017,7 @@ function eT(e) {
13013
13017
  function tT(e) {
13014
13018
  return yQ(e.result) && LS.has(e.result.status);
13015
13019
  }
13016
- function Ko(e) {
13020
+ function Zo(e) {
13017
13021
  return e.type === Nt.deferred;
13018
13022
  }
13019
13023
  function lr(e) {
@@ -13045,7 +13049,7 @@ async function oT(e, t, n, r, o) {
13045
13049
  if (!c)
13046
13050
  continue;
13047
13051
  let l = r.find((h) => h.route.id === c.route.id), d = l != null && !mQ(l, c) && (o && o[c.route.id]) !== void 0;
13048
- Ko(s) && d && await oC(s, n, !1).then((h) => {
13052
+ Zo(s) && d && await oC(s, n, !1).then((h) => {
13049
13053
  h && (t[a] = h);
13050
13054
  });
13051
13055
  }
@@ -13057,7 +13061,7 @@ async function AT(e, t, n) {
13057
13061
  routeId: A,
13058
13062
  controller: i
13059
13063
  } = n[r], a = t[o];
13060
- e.find((c) => (c == null ? void 0 : c.route.id) === A) && Ko(a) && (ze(i, "Expected an AbortController for revalidating fetcher deferred result"), await oC(a, i.signal, !0).then((c) => {
13064
+ e.find((c) => (c == null ? void 0 : c.route.id) === A) && Zo(a) && (ze(i, "Expected an AbortController for revalidating fetcher deferred result"), await oC(a, i.signal, !0).then((c) => {
13061
13065
  c && (t[o] = c);
13062
13066
  }));
13063
13067
  }
@@ -13197,7 +13201,7 @@ function aT(e, t) {
13197
13201
  data: t ? t.data : void 0
13198
13202
  };
13199
13203
  }
13200
- function Lo(e) {
13204
+ function No(e) {
13201
13205
  return {
13202
13206
  state: "idle",
13203
13207
  formMethod: void 0,
@@ -13686,15 +13690,15 @@ function xT(e) {
13686
13690
  *
13687
13691
  * @license MIT
13688
13692
  */
13689
- function eA() {
13690
- return eA = Object.assign ? Object.assign.bind() : function(e) {
13693
+ function tA() {
13694
+ return tA = Object.assign ? Object.assign.bind() : function(e) {
13691
13695
  for (var t = 1; t < arguments.length; t++) {
13692
13696
  var n = arguments[t];
13693
13697
  for (var r in n)
13694
13698
  Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
13695
13699
  }
13696
13700
  return e;
13697
- }, eA.apply(this, arguments);
13701
+ }, tA.apply(this, arguments);
13698
13702
  }
13699
13703
  function cC(e, t) {
13700
13704
  if (e == null) return {};
@@ -13798,7 +13802,7 @@ try {
13798
13802
  function jT(e, t) {
13799
13803
  return US({
13800
13804
  basename: t == null ? void 0 : t.basename,
13801
- future: eA({}, t == null ? void 0 : t.future, {
13805
+ future: tA({}, t == null ? void 0 : t.future, {
13802
13806
  v7_prependBasename: !0
13803
13807
  }),
13804
13808
  history: uS({
@@ -13815,7 +13819,7 @@ function jT(e, t) {
13815
13819
  function UT() {
13816
13820
  var e;
13817
13821
  let t = (e = window) == null ? void 0 : e.__staticRouterHydrationData;
13818
- return t && t.errors && (t = eA({}, t, {
13822
+ return t && t.errors && (t = tA({}, t, {
13819
13823
  errors: VT(t.errors)
13820
13824
  })), t;
13821
13825
  }
@@ -14036,7 +14040,7 @@ const KT = typeof window < "u" && typeof window.document < "u" && typeof window.
14036
14040
  }
14037
14041
  return (
14038
14042
  // eslint-disable-next-line jsx-a11y/anchor-has-content
14039
- /* @__PURE__ */ x.createElement("a", eA({}, h, {
14043
+ /* @__PURE__ */ x.createElement("a", tA({}, h, {
14040
14044
  href: I || g,
14041
14045
  onClick: C || A ? r : f,
14042
14046
  ref: n,
@@ -14072,7 +14076,7 @@ const qT = /* @__PURE__ */ x.forwardRef(function(t, n) {
14072
14076
  }, w = y ? r : void 0, R;
14073
14077
  typeof A == "function" ? R = A(m) : R = [A, y ? "active" : null, b ? "pending" : null, B ? "transitioning" : null].filter(Boolean).join(" ");
14074
14078
  let O = typeof a == "function" ? a(m) : a;
14075
- return /* @__PURE__ */ x.createElement(RQ, eA({}, d, {
14079
+ return /* @__PURE__ */ x.createElement(RQ, tA({}, d, {
14076
14080
  "aria-current": w,
14077
14081
  className: R,
14078
14082
  ref: n,
@@ -14112,7 +14116,7 @@ const $T = /* @__PURE__ */ x.forwardRef((e, t) => {
14112
14116
  unstable_viewTransition: h
14113
14117
  });
14114
14118
  };
14115
- return /* @__PURE__ */ x.createElement("form", eA({
14119
+ return /* @__PURE__ */ x.createElement("form", tA({
14116
14120
  ref: t,
14117
14121
  method: g,
14118
14122
  action: C,
@@ -14150,7 +14154,7 @@ function t5(e, t) {
14150
14154
  return x.useCallback((d) => {
14151
14155
  if (RT(d, n)) {
14152
14156
  d.preventDefault();
14153
- let h = r !== void 0 ? r : $o(c) === $o(l);
14157
+ let h = r !== void 0 ? r : eA(c) === eA(l);
14154
14158
  s(e, {
14155
14159
  replace: h,
14156
14160
  state: o,
@@ -14226,7 +14230,7 @@ function i5(e, t) {
14226
14230
  basename: r
14227
14231
  } = x.useContext(Dr), o = x.useContext(Gr);
14228
14232
  o || (process.env.NODE_ENV !== "production" ? ze(!1, "useFormAction must be used inside a RouteContext") : ze(!1));
14229
- let [A] = o.matches.slice(-1), i = eA({}, Es(e || ".", {
14233
+ let [A] = o.matches.slice(-1), i = tA({}, Es(e || ".", {
14230
14234
  relative: n
14231
14235
  })), a = iA();
14232
14236
  if (e == null) {
@@ -14234,7 +14238,7 @@ function i5(e, t) {
14234
14238
  let s = new URLSearchParams(i.search);
14235
14239
  s.has("index") && s.get("index") === "" && (s.delete("index"), i.search = s.toString() ? "?" + s.toString() : "");
14236
14240
  }
14237
- return (!e || e === ".") && A.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (i.pathname = i.pathname === "/" ? r : Ao([r, i.pathname])), $o(i);
14241
+ return (!e || e === ".") && A.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (i.pathname = i.pathname === "/" ? r : Ao([r, i.pathname])), eA(i);
14238
14242
  }
14239
14243
  function a5(e, t) {
14240
14244
  t === void 0 && (t = {});
@@ -14340,7 +14344,7 @@ const je = {
14340
14344
  AUTH_PAGE: "auth_page",
14341
14345
  DETAILS_PAGE: "details_page",
14342
14346
  CONNECTORS_PAGE_ADMIN_SIDE: "connectors_page_admin_side"
14343
- }, uC = (e) => /* @__PURE__ */ u.jsx(fl, { ...e }), Zo = F(mn)`
14347
+ }, uC = (e) => /* @__PURE__ */ u.jsx(fl, { ...e }), qo = F(mn)`
14344
14348
  display: block;
14345
14349
  margin: ${(e) => e.margin ? e.margin : 0};
14346
14350
  `, qg = F(uC)`
@@ -14360,7 +14364,7 @@ const je = {
14360
14364
  color: var(--connector-admin-accent) !important;
14361
14365
  border: 1px solid var(--connector-admin-accent) !important;
14362
14366
  }
14363
- `, y5 = F(Zo)`
14367
+ `, y5 = F(qo)`
14364
14368
  max-width: ${(e) => e.maxWidth ? e.maxWidth : null};
14365
14369
  `, x5 = F(Ee)`
14366
14370
  width: 260px;
@@ -14511,9 +14515,9 @@ const je = {
14511
14515
  )
14512
14516
  }
14513
14517
  );
14514
- }, So = (e) => e.inboxes.emailInboxDetails ?? [], jQ = "/v1/connectors/slack", UQ = `${jQ}/admin/configs`, VQ = `${jQ}/admin/configs/:configId`, GQ = (e) => ["slack", "admin", "configs", e], HQ = () => {
14518
+ }, To = (e) => e.inboxes.emailInboxDetails ?? [], jQ = "/v1/connectors/slack", UQ = `${jQ}/admin/configs`, VQ = `${jQ}/admin/configs/:configId`, GQ = (e) => ["slack", "admin", "configs", e], HQ = () => {
14515
14519
  var t;
14516
- const e = (t = nA()) == null ? void 0 : t.userGroupId;
14520
+ const e = (t = So()) == null ? void 0 : t.userGroupId;
14517
14521
  if (!e) throw new Error("Bifrost not initialized — userGroupId missing");
14518
14522
  return String(e);
14519
14523
  }, m6 = async (e) => {
@@ -14589,7 +14593,7 @@ const wu = (e, t, n) => ({
14589
14593
  defaultMessage: n
14590
14594
  });
14591
14595
  function S6({ mode: e, id: t }) {
14592
- const n = Rn(), { sendTrackingEvent: r } = it(Et), o = x6({ enabled: e === "connector" }), A = w6(), i = Le(So), a = Le(WA), s = be(() => i ?? [], [i]), c = be(() => a ?? [], [a]), l = be(
14596
+ const n = Rn(), { sendTrackingEvent: r } = it(Et), o = x6({ enabled: e === "connector" }), A = w6(), i = Le(To), a = Le(WA), s = be(() => i ?? [], [i]), c = be(() => a ?? [], [a]), l = be(
14593
14597
  () => {
14594
14598
  var O;
14595
14599
  return e === "connector" ? ((O = o.data) == null ? void 0 : O.configs) ?? [] : [];
@@ -15121,7 +15125,7 @@ const WQ = {
15121
15125
  textOverflow: "ellipsis"
15122
15126
  }
15123
15127
  }, u9 = ({ open: e, onClose: t, onInboxClick: n, noOptionsText: r = "No results found" }) => {
15124
- const [o, A] = ee(""), i = Le(So), a = () => {
15128
+ const [o, A] = ee(""), i = Le(To), a = () => {
15125
15129
  t(), A("");
15126
15130
  }, s = ({ id: d, name: h }) => /* @__PURE__ */ u.jsxs(EA, { className: "py-2! px-5! items-center gap-3", onClick: () => n(d), children: [
15127
15131
  /* @__PURE__ */ u.jsx(c9, {}),
@@ -15306,7 +15310,7 @@ const WQ = {
15306
15310
  }
15307
15311
  )
15308
15312
  ] });
15309
- }, d9 = "{{connector}} features", C9 = "Following are the list of features that you will find in this app", E9 = "Request new feature", $f = F(Zo)`
15313
+ }, d9 = "{{connector}} features", C9 = "Following are the list of features that you will find in this app", E9 = "Request new feature", $f = F(qo)`
15310
15314
  max-width: ${(e) => e.maxWidth ? e.maxWidth : null};
15311
15315
  `, f9 = F(Ee)`
15312
15316
  width: 100%;
@@ -20332,7 +20336,7 @@ const CF = (e, t) => ({
20332
20336
  t ? /* @__PURE__ */ u.jsx("span", { className: "required__star", children: "*" }) : null
20333
20337
  ]
20334
20338
  }
20335
- ) : null, IF = (e) => /* @__PURE__ */ x.createElement("svg", { width: "8px", height: "8px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ x.createElement("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4z" })), r0 = 250, No = "__id", Nu = (e) => e != null && e !== "" && e !== !1, ya = {
20339
+ ) : null, IF = (e) => /* @__PURE__ */ x.createElement("svg", { width: "8px", height: "8px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ x.createElement("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4z" })), r0 = 250, ko = "__id", Nu = (e) => e != null && e !== "" && e !== !1, ya = {
20336
20340
  isExpandable: !0,
20337
20341
  isExpanded: !0,
20338
20342
  defaultNumberOfRows: 1,
@@ -20407,13 +20411,13 @@ const CF = (e, t) => ({
20407
20411
  const W = [];
20408
20412
  for (let le = 0; le < A; le++) {
20409
20413
  const Be = Qf();
20410
- W.push({ [No]: Be });
20414
+ W.push({ [ko]: Be });
20411
20415
  }
20412
20416
  h(W);
20413
20417
  }, [t, h, A]);
20414
20418
  const re = be(() => {
20415
20419
  const W = {};
20416
- return D.length && C.forEach(({ [No]: le, ...Be }, Me) => {
20420
+ return D.length && C.forEach(({ [ko]: le, ...Be }, Me) => {
20417
20421
  var We;
20418
20422
  if (B && Me === 0 || j.some((He) => Nu(Be[He])))
20419
20423
  for (const He of D) {
@@ -20441,11 +20445,11 @@ const CF = (e, t) => ({
20441
20445
  }, [q, e]);
20442
20446
  const U = () => {
20443
20447
  const W = {
20444
- [No]: Qf()
20448
+ [ko]: Qf()
20445
20449
  };
20446
20450
  h([...C, W]);
20447
20451
  }, X = (W) => {
20448
- const le = C.filter((Be) => Be[No] !== W);
20452
+ const le = C.filter((Be) => Be[ko] !== W);
20449
20453
  h(le), v((Be) => ({
20450
20454
  ...Be,
20451
20455
  [W]: {}
@@ -20457,14 +20461,14 @@ const CF = (e, t) => ({
20457
20461
  const Me = le.map((qe) => W[qe]);
20458
20462
  return "" + mf(Me, Be);
20459
20463
  }, G = (W, le) => {
20460
- const Be = C.map((Me) => W !== Me[No] ? Me : {
20464
+ const Be = C.map((Me) => W !== Me[ko] ? Me : {
20461
20465
  ...Me,
20462
20466
  ...le
20463
20467
  });
20464
20468
  h(Be);
20465
20469
  }, ae = (W, le) => {
20466
20470
  const Be = C.map((Me) => {
20467
- if (W !== Me[No])
20471
+ if (W !== Me[ko])
20468
20472
  return Me;
20469
20473
  const qe = { ...Me };
20470
20474
  for (const We of le)
@@ -20518,7 +20522,7 @@ const CF = (e, t) => ({
20518
20522
  return /* @__PURE__ */ u.jsxs(oF, { children: [
20519
20523
  /* @__PURE__ */ u.jsx(AF, { ref: f, children: /* @__PURE__ */ u.jsxs(iF, { gridColumns: w, minWidth: `calc( ${m} * ${R} )`, children: [
20520
20524
  /* @__PURE__ */ u.jsx(sF, { children: r.map(({ name: W, label: le }) => /* @__PURE__ */ u.jsx(Lu, { children: /* @__PURE__ */ u.jsx(n0, { label: le, isRequired: T.has(W) }) }, W)) }),
20521
- C.map(({ [No]: W, ...le }) => /* @__PURE__ */ u.jsxs($m, { children: [
20525
+ C.map(({ [ko]: W, ...le }) => /* @__PURE__ */ u.jsxs($m, { children: [
20522
20526
  r.map(({ name: Be, key: Me, ...qe }) => {
20523
20527
  var We;
20524
20528
  return /* @__PURE__ */ u.jsx(
@@ -20582,7 +20586,7 @@ const CF = (e, t) => ({
20582
20586
  ] })
20583
20587
  ] });
20584
20588
  };
20585
- o0.ROW_ID = No;
20589
+ o0.ROW_ID = ko;
20586
20590
  const BF = 1024 * 1024, pF = (e) => {
20587
20591
  if (typeof e == "number") return Number.isFinite(e) ? e : 0;
20588
20592
  const t = parseInt(String(e ?? ""), 10);
@@ -25633,10 +25637,10 @@ const M0 = /* @__PURE__ */ UA({
25633
25637
  scaleX: 1,
25634
25638
  scaleY: 1
25635
25639
  });
25636
- var ko;
25640
+ var jo;
25637
25641
  (function(e) {
25638
25642
  e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
25639
- })(ko || (ko = {}));
25643
+ })(jo || (jo = {}));
25640
25644
  const eB = /* @__PURE__ */ B1(function(t) {
25641
25645
  var n, r, o, A;
25642
25646
  let {
@@ -25650,7 +25654,7 @@ const eB = /* @__PURE__ */ B1(function(t) {
25650
25654
  modifiers: p,
25651
25655
  ...I
25652
25656
  } = t;
25653
- const C = Bp(cP, void 0, sP), [g, B] = C, [f, E] = iM(), [Q, v] = ee(ko.Uninitialized), y = Q === ko.Initialized, {
25657
+ const C = Bp(cP, void 0, sP), [g, B] = C, [f, E] = iM(), [Q, v] = ee(jo.Uninitialized), y = Q === jo.Initialized, {
25654
25658
  draggable: {
25655
25659
  active: b,
25656
25660
  nodes: m,
@@ -25718,13 +25722,13 @@ const eB = /* @__PURE__ */ B1(function(t) {
25718
25722
  scrollableAncestors: at,
25719
25723
  scrollableAncestorRects: Jt,
25720
25724
  windowRect: He
25721
- }), To = $ ? Ii($, w) : null, Do = qM(at), Ro = qI(Do), Kn = qI(Do, [fe]), An = Ii(fn, Ro), ar = Me ? hM(Me, fn) : null, On = D && ar ? d({
25725
+ }), Do = $ ? Ii($, w) : null, Ro = qM(at), Oo = qI(Ro), Kn = qI(Ro, [fe]), An = Ii(fn, Oo), ar = Me ? hM(Me, fn) : null, On = D && ar ? d({
25722
25726
  active: D,
25723
25727
  collisionRect: ar,
25724
25728
  droppableRects: G,
25725
25729
  droppableContainers: X,
25726
- pointerCoordinates: To
25727
- }) : null, Fn = EM(On, "id"), [Wt, go] = ee(null), Wr = qe ? fn : Ii(fn, Kn), Oo = BM(Wr, (A = Wt == null ? void 0 : Wt.rect) != null ? A : null, fe), _n = Re(null), Co = Xe(
25730
+ pointerCoordinates: Do
25731
+ }) : null, Fn = EM(On, "id"), [Wt, go] = ee(null), Wr = qe ? fn : Ii(fn, Kn), Fo = BM(Wr, (A = Wt == null ? void 0 : Wt.rect) != null ? A : null, fe), _n = Re(null), Co = Xe(
25728
25732
  (Pt, Xt) => {
25729
25733
  let {
25730
25734
  sensor: Kt,
@@ -25761,7 +25765,7 @@ const eB = /* @__PURE__ */ B1(function(t) {
25761
25765
  }
25762
25766
  };
25763
25767
  Ss(() => {
25764
- cr == null || cr(Mn), v(ko.Initializing), B({
25768
+ cr == null || cr(Mn), v(jo.Initializing), B({
25765
25769
  type: Bn.DragStart,
25766
25770
  initialCoordinates: sn,
25767
25771
  active: Ht
@@ -25805,7 +25809,7 @@ const eB = /* @__PURE__ */ B1(function(t) {
25805
25809
  T.current = null, Ss(() => {
25806
25810
  B({
25807
25811
  type: sn
25808
- }), v(ko.Uninitialized), go(null), H(null), q(null), _n.current = null;
25812
+ }), v(jo.Uninitialized), go(null), H(null), q(null), _n.current = null;
25809
25813
  const Z = sn === Bn.DragEnd ? "onDragEnd" : "onDragCancel";
25810
25814
  if (k) {
25811
25815
  const S = K.current[Z];
@@ -25837,7 +25841,7 @@ const eB = /* @__PURE__ */ B1(function(t) {
25837
25841
  }, T.current = wn, Co(Kt, Xt));
25838
25842
  }, [m, Co]), Fr = WM(l, ke);
25839
25843
  $M(l), ao(() => {
25840
- fe && Q === ko.Initializing && v(ko.Initialized);
25844
+ fe && Q === jo.Initializing && v(jo.Initialized);
25841
25845
  }, [fe, Q]), xe(
25842
25846
  () => {
25843
25847
  const {
@@ -25929,7 +25933,7 @@ const eB = /* @__PURE__ */ B1(function(t) {
25929
25933
  ...Ce,
25930
25934
  delta: w,
25931
25935
  draggingRect: ar,
25932
- pointerCoordinates: To,
25936
+ pointerCoordinates: Do,
25933
25937
  scrollableAncestors: at,
25934
25938
  scrollableAncestorRects: Jt
25935
25939
  });
@@ -25971,7 +25975,7 @@ const eB = /* @__PURE__ */ B1(function(t) {
25971
25975
  }, he.createElement(_0.Provider, {
25972
25976
  value: hr
25973
25977
  }, he.createElement(M0.Provider, {
25974
- value: Oo
25978
+ value: Fo
25975
25979
  }, c)), he.createElement(lP, {
25976
25980
  disabled: (a == null ? void 0 : a.restoreFocus) === !1
25977
25981
  })), he.createElement(cM, {
@@ -26861,7 +26865,7 @@ const OP = F(Ee)`
26861
26865
  };
26862
26866
  localStorage.setItem(ds, JSON.stringify(o));
26863
26867
  }, W0 = ({ fields: e, showCreate: t, cardId: n, preSelectTab: r, setFields: o }) => {
26864
- const { availableFeatures: A } = it(Et), i = uM(lM(KC)), { userId: a } = nA() || {}, s = Le(w5), c = (I) => {
26868
+ const { availableFeatures: A } = it(Et), i = uM(lM(KC)), { userId: a } = So() || {}, s = Le(w5), c = (I) => {
26865
26869
  const { active: C, over: g } = I;
26866
26870
  (C == null ? void 0 : C.id) !== (g == null ? void 0 : g.id) && o((B) => {
26867
26871
  const f = B.findIndex((Q) => gn(Q) === (C == null ? void 0 : C.id)), E = B.findIndex((Q) => gn(Q) === (g == null ? void 0 : g.id));
@@ -26908,7 +26912,7 @@ const OP = F(Ee)`
26908
26912
  ] });
26909
26913
  }, $C = () => {
26910
26914
  var e;
26911
- return ((e = nA()) == null ? void 0 : e.tenantPlatform) === "HIVERWEB";
26915
+ return ((e = So()) == null ? void 0 : e.tenantPlatform) === "HIVERWEB";
26912
26916
  }, vn = {
26913
26917
  triggerBorderColor: "var(--connector-admin-dropdown-border)",
26914
26918
  triggerBorderHover: "var(--connector-admin-dropdown-border-hover)",
@@ -27081,7 +27085,7 @@ const OP = F(Ee)`
27081
27085
  }
27082
27086
  ) });
27083
27087
  }, rL = (e) => /* @__PURE__ */ x.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ x.createElement("g", { clipPath: "url(#clip0_3803_129233)" }, /* @__PURE__ */ x.createElement("path", { d: "M7.3335 4.66683H8.66683V6.00016H7.3335V4.66683ZM7.3335 7.3335H8.66683V11.3335H7.3335V7.3335ZM8.00016 1.3335C4.32016 1.3335 1.3335 4.32016 1.3335 8.00016C1.3335 11.6802 4.32016 14.6668 8.00016 14.6668C11.6802 14.6668 14.6668 11.6802 14.6668 8.00016C14.6668 4.32016 11.6802 1.3335 8.00016 1.3335ZM8.00016 13.3335C5.06016 13.3335 2.66683 10.9402 2.66683 8.00016C2.66683 5.06016 5.06016 2.66683 8.00016 2.66683C10.9402 2.66683 13.3335 5.06016 13.3335 8.00016C13.3335 10.9402 10.9402 13.3335 8.00016 13.3335Z", fill: "#6F7C90" })), /* @__PURE__ */ x.createElement("defs", null, /* @__PURE__ */ x.createElement("clipPath", { id: "clip0_3803_129233" }, /* @__PURE__ */ x.createElement("rect", { width: 16, height: 16, fill: "white" })))), z0 = (e) => {
27084
- const { selectedEmailInboxes: t, setSelectedEmailInboxes: n, selectedRoles: r, setSelectedRoles: o } = e, A = Le(WA) ?? [], i = Le(So) ?? [];
27088
+ const { selectedEmailInboxes: t, setSelectedEmailInboxes: n, selectedRoles: r, setSelectedRoles: o } = e, A = Le(WA) ?? [], i = Le(To) ?? [];
27085
27089
  return [
27086
27090
  { type: Jf, options: i, label: P5, isSingleSelect: !1 },
27087
27091
  { type: k5, options: A, label: L5, isSingleSelect: !0 }
@@ -27137,7 +27141,7 @@ const OP = F(Ee)`
27137
27141
  setVisitedFieldVisTab: s
27138
27142
  }) => {
27139
27143
  var ge, ce;
27140
- const { availableFeatures: c, sendTrackingEvent: l } = it(Et), d = Un(), h = Le(Rr), p = Le(WA) ?? [], I = Le(So) ?? [], C = Le(CC), g = Le(dC), { userId: B } = nA() || {}, f = (ce = (ge = h == null ? void 0 : h[A]) == null ? void 0 : ge.cardList) == null ? void 0 : ce.find(($) => $.id === t), [E, Q] = ee(
27144
+ const { availableFeatures: c, sendTrackingEvent: l } = it(Et), d = Un(), h = Le(Rr), p = Le(WA) ?? [], I = Le(To) ?? [], C = Le(CC), g = Le(dC), { userId: B } = So() || {}, f = (ce = (ge = h == null ? void 0 : h[A]) == null ? void 0 : ge.cardList) == null ? void 0 : ce.find(($) => $.id === t), [E, Q] = ee(
27141
27145
  () => (I == null ? void 0 : I.filter(($) => n == null ? void 0 : n.includes($.id))) ?? []
27142
27146
  ), [v, y] = ee(
27143
27147
  () => (p == null ? void 0 : p.find(($) => o == null ? void 0 : o.includes($.name))) ?? {}
@@ -27235,7 +27239,7 @@ const OP = F(Ee)`
27235
27239
  setShowEnabledModal: i
27236
27240
  }) => {
27237
27241
  var O;
27238
- const { sendTrackingEvent: a } = it(Et), s = Un(), c = Le(Rr), l = Le(WA) ?? [], d = Le(So) ?? [], h = Le(CC), p = Le(dC), I = c == null ? void 0 : c[o], C = (O = I == null ? void 0 : I.cardList) == null ? void 0 : O.find((N) => N.id === e), [g, B] = ee(
27242
+ const { sendTrackingEvent: a } = it(Et), s = Un(), c = Le(Rr), l = Le(WA) ?? [], d = Le(To) ?? [], h = Le(CC), p = Le(dC), I = c == null ? void 0 : c[o], C = (O = I == null ? void 0 : I.cardList) == null ? void 0 : O.find((N) => N.id === e), [g, B] = ee(
27239
27243
  () => (d == null ? void 0 : d.filter((N) => n == null ? void 0 : n.includes(N.id))) ?? []
27240
27244
  ), [f, E] = ee(
27241
27245
  () => (l == null ? void 0 : l.find((N) => r == null ? void 0 : r.includes(N.name))) ?? {}
@@ -27305,7 +27309,7 @@ const OP = F(Ee)`
27305
27309
  handleClose: a
27306
27310
  }) => {
27307
27311
  var N;
27308
- const { sendTrackingEvent: s } = it(Et), c = Un(), l = Le(Rr), d = Le(WA), h = Le(So), p = Le(CC), I = Le(dC), C = l == null ? void 0 : l[o], g = (N = C == null ? void 0 : C.cardList) == null ? void 0 : N.find((D) => D.id === e), B = be(
27312
+ const { sendTrackingEvent: s } = it(Et), c = Un(), l = Le(Rr), d = Le(WA), h = Le(To), p = Le(CC), I = Le(dC), C = l == null ? void 0 : l[o], g = (N = C == null ? void 0 : C.cardList) == null ? void 0 : N.find((D) => D.id === e), B = be(
27309
27313
  () => (h == null ? void 0 : h.filter((D) => n == null ? void 0 : n.includes(D.id))) ?? [],
27310
27314
  [n, h]
27311
27315
  ), f = be(
@@ -27453,7 +27457,7 @@ const iB = F(Ir)`
27453
27457
  const o = Un(), A = ((W = e.inboxes) == null ? void 0 : W.email) || [], i = ((le = e.inboxes) == null ? void 0 : le.chat) || [], a = e.roles ?? [], s = e.fields ?? [], { isCardNew: c = !1 } = e, l = typeof e.formDefaultsEnabled == "boolean" ? e.formDefaultsEnabled : n, d = A.length + i.length, h = d > 0 && a.length > 0, [p] = $i(), I = p.get("editCard"), C = I === e.key || I === e.id, g = Re(!1), [B, f] = ee(!1), [E, Q] = ee(!1), [v, y] = ee(!1), [b, m] = ee(C), [w, R] = ee(!1), { availableFeatures: O, userPermissions: N, sendTrackingEvent: D, variables: T = [] } = it(Et), j = G0(O), H = M3(N), re = Le(D5), q = Le(Rr), K = be(
27454
27458
  () => Object.values(re).some((qe) => qe === ve.LOADING),
27455
27459
  [re]
27456
- ), U = e.cardKey ? re[e.cardKey] === ve.LOADING : !1, { userId: X } = nA() || {}, V = !((Be = q == null ? void 0 : q[t]) != null && Be.isAuthenticated), { data: G, isLoading: ae } = U9({
27460
+ ), U = e.cardKey ? re[e.cardKey] === ve.LOADING : !1, { userId: X } = So() || {}, V = !((Be = q == null ? void 0 : q[t]) != null && Be.isAuthenticated), { data: G, isLoading: ae } = U9({
27457
27461
  cardId: e.id || e.key,
27458
27462
  formType: "create",
27459
27463
  enabled: E
@@ -29252,7 +29256,7 @@ const SL = /* @__PURE__ */ Ql(ov);
29252
29256
  for (var Te = te[ne], we = 0, De = Te.length; we < De; ++we)
29253
29257
  ue[Te[we]] = se;
29254
29258
  }
29255
- }), fn = m(Jt), To = w(function(oe, P) {
29259
+ }), fn = m(Jt), Do = w(function(oe, P) {
29256
29260
  Object.defineProperty(P, "__esModule", {
29257
29261
  value: !0
29258
29262
  }), P.default = te;
@@ -29260,7 +29264,7 @@ const SL = /* @__PURE__ */ Ql(ov);
29260
29264
  if (z === "position" && ne === "sticky")
29261
29265
  return ["-webkit-sticky", "sticky"];
29262
29266
  }
29263
- }), Do = m(To), Ro = w(function(oe, P) {
29267
+ }), Ro = m(Do), Oo = w(function(oe, P) {
29264
29268
  Object.defineProperty(P, "__esModule", {
29265
29269
  value: !0
29266
29270
  }), P.default = se;
@@ -29285,7 +29289,7 @@ const SL = /* @__PURE__ */ Ql(ov);
29285
29289
  return we + Te;
29286
29290
  });
29287
29291
  }
29288
- }), Kn = m(Ro), An = /[A-Z]/g, ar = /^ms-/, On = {};
29292
+ }), Kn = m(Oo), An = /[A-Z]/g, ar = /^ms-/, On = {};
29289
29293
  function Fn(oe) {
29290
29294
  return "-" + oe.toLowerCase();
29291
29295
  }
@@ -29297,7 +29301,7 @@ const SL = /* @__PURE__ */ Ql(ov);
29297
29301
  }
29298
29302
  var go = /* @__PURE__ */ Object.freeze({
29299
29303
  default: Wt
29300
- }), Wr = R(go), Oo = w(function(oe, P) {
29304
+ }), Wr = R(go), Fo = w(function(oe, P) {
29301
29305
  Object.defineProperty(P, "__esModule", {
29302
29306
  value: !0
29303
29307
  }), P.default = ne;
@@ -29310,12 +29314,12 @@ const SL = /* @__PURE__ */ Ql(ov);
29310
29314
  }
29311
29315
  oe.exports = P.default;
29312
29316
  });
29313
- m(Oo);
29317
+ m(Fo);
29314
29318
  var _n = w(function(oe, P) {
29315
29319
  Object.defineProperty(P, "__esModule", {
29316
29320
  value: !0
29317
29321
  }), P.default = De;
29318
- var te = se(Oo), z = se(U), ne = se(O);
29322
+ var te = se(Fo), z = se(U), ne = se(O);
29319
29323
  function se(_e) {
29320
29324
  return _e && _e.__esModule ? _e : { default: _e };
29321
29325
  }
@@ -29360,7 +29364,7 @@ const SL = /* @__PURE__ */ Ql(ov);
29360
29364
  }
29361
29365
  }
29362
29366
  }), Co = m(_n), ke = ["Webkit"], Fr = ["Moz"], hr = ["ms"], zt = ["Webkit", "Moz"], pt = ["Webkit", "ms"], Pt = ["Webkit", "Moz", "ms"], Xt = {
29363
- plugins: [K, V, ae, ce, Ce, fe, J, le, Me, We, at, fn, Do, Kn, Co],
29367
+ plugins: [K, V, ae, ce, Ce, fe, J, le, Me, We, at, fn, Ro, Kn, Co],
29364
29368
  prefixMap: {
29365
29369
  transform: pt,
29366
29370
  transformOrigin: pt,
@@ -31967,7 +31971,7 @@ var jk = /* @__PURE__ */ function() {
31967
31971
  };
31968
31972
  }();
31969
31973
  aE.default = Wk;
31970
- var Rv = he, Uk = Vk(Rv), xB = iE, _o = Vn;
31974
+ var Rv = he, Uk = Vk(Rv), xB = iE, Mo = Vn;
31971
31975
  function Vk(e) {
31972
31976
  return e && e.__esModule ? e : { default: e };
31973
31977
  }
@@ -32003,7 +32007,7 @@ function Wk(e) {
32003
32007
  value: function() {
32004
32008
  if (xB.canUseDOM) {
32005
32009
  var o = this.props.touchScrollTarget, A = document.body;
32006
- A && (0, _o.isTouchDevice)() && (A.addEventListener("touchmove", _o.preventTouchMove, this.listenerOptions), o && (o.addEventListener("touchstart", _o.preventInertiaScroll, this.listenerOptions), o.addEventListener("touchmove", _o.allowTouchMove, this.listenerOptions)));
32010
+ A && (0, Mo.isTouchDevice)() && (A.addEventListener("touchmove", Mo.preventTouchMove, this.listenerOptions), o && (o.addEventListener("touchstart", Mo.preventInertiaScroll, this.listenerOptions), o.addEventListener("touchmove", Mo.allowTouchMove, this.listenerOptions)));
32007
32011
  }
32008
32012
  }
32009
32013
  }, {
@@ -32011,7 +32015,7 @@ function Wk(e) {
32011
32015
  value: function() {
32012
32016
  if (xB.canUseDOM) {
32013
32017
  var o = this.props.touchScrollTarget, A = document.body;
32014
- A && (0, _o.isTouchDevice)() && (A.removeEventListener("touchmove", _o.preventTouchMove, this.listenerOptions), o && (o.removeEventListener("touchstart", _o.preventInertiaScroll, this.listenerOptions), o.removeEventListener("touchmove", _o.allowTouchMove, this.listenerOptions)));
32018
+ A && (0, Mo.isTouchDevice)() && (A.removeEventListener("touchmove", Mo.preventTouchMove, this.listenerOptions), o && (o.removeEventListener("touchstart", Mo.preventInertiaScroll, this.listenerOptions), o.removeEventListener("touchmove", Mo.allowTouchMove, this.listenerOptions)));
32015
32019
  }
32016
32020
  }
32017
32021
  }, {
@@ -32264,10 +32268,10 @@ var sj = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fun
32264
32268
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
32265
32269
  return t && (typeof t == "object" || typeof t == "function") ? t : e;
32266
32270
  };
32267
- function tA(e) {
32271
+ function nA(e) {
32268
32272
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = Object.assign({}, t);
32269
32273
  return Object.keys(e).forEach(function(r) {
32270
- sj(e[r]) !== "object" || !e[r] ? n[r] = e[r] : t[r] ? n[r] = tA(t[r], e[r]) : n[r] = e[r];
32274
+ sj(e[r]) !== "object" || !e[r] ? n[r] = e[r] : t[r] ? n[r] = nA(t[r], e[r]) : n[r] = e[r];
32271
32275
  }), n;
32272
32276
  }
32273
32277
  var cj = !!(typeof window < "u" && window.document && window.document.createElement);
@@ -32301,7 +32305,7 @@ ou.defaultProps = {
32301
32305
  fill: "#fff"
32302
32306
  };
32303
32307
  function Hi(e) {
32304
- var t = e.direction, n = e.icon, r = e.onClick, o = e.size, A = e.theme, i = ru(e, ["direction", "icon", "onClick", "size", "theme"]), a = dn.StyleSheet.create(tA(Cj, A));
32308
+ var t = e.direction, n = e.icon, r = e.onClick, o = e.size, A = e.theme, i = ru(e, ["direction", "icon", "onClick", "size", "theme"]), a = dn.StyleSheet.create(nA(Cj, A));
32305
32309
  return he.createElement(
32306
32310
  "button",
32307
32311
  la({
@@ -32367,7 +32371,7 @@ var Cj = {
32367
32371
  }
32368
32372
  };
32369
32373
  function Pv(e) {
32370
- var t = dn.StyleSheet.create(tA(Ej, e.theme));
32374
+ var t = dn.StyleSheet.create(nA(Ej, e.theme));
32371
32375
  return he.createElement("div", la({
32372
32376
  id: "viewerBackdrop",
32373
32377
  className: dn.css(t.container)
@@ -32398,7 +32402,7 @@ var Ej = {
32398
32402
  function Lv(e) {
32399
32403
  var t = e.caption, n = e.countCurr, r = e.countSeparator, o = e.countTotal, A = e.showCount, i = e.theme, a = ru(e, ["caption", "countCurr", "countSeparator", "countTotal", "showCount", "theme"]);
32400
32404
  if (!t && !A) return null;
32401
- var s = dn.StyleSheet.create(tA(fj, i)), c = A ? he.createElement(
32405
+ var s = dn.StyleSheet.create(nA(fj, i)), c = A ? he.createElement(
32402
32406
  "div",
32403
32407
  { className: dn.css(s.footerCount) },
32404
32408
  n,
@@ -32449,7 +32453,7 @@ var fj = {
32449
32453
  }
32450
32454
  };
32451
32455
  function Nv(e) {
32452
- var t = e.customControls, n = e.onClose, r = e.showCloseBtn, o = e.closeBtnTitle, A = e.theme, i = ru(e, ["customControls", "onClose", "showCloseBtn", "closeBtnTitle", "theme"]), a = dn.StyleSheet.create(tA(Ij, A));
32456
+ var t = e.customControls, n = e.onClose, r = e.showCloseBtn, o = e.closeBtnTitle, A = e.theme, i = ru(e, ["customControls", "onClose", "showCloseBtn", "closeBtnTitle", "theme"]), a = dn.StyleSheet.create(nA(Ij, A));
32453
32457
  return he.createElement(
32454
32458
  "div",
32455
32459
  la({ className: dn.css(a.header) }, i),
@@ -32495,7 +32499,7 @@ var Ij = {
32495
32499
  }
32496
32500
  };
32497
32501
  function kv(e) {
32498
- var t = e.index, n = e.src, r = e.thumbnail, o = e.active, A = e.onClick, i = e.theme, a = r || n, s = dn.StyleSheet.create(tA(Bj, i));
32502
+ var t = e.index, n = e.src, r = e.thumbnail, o = e.active, A = e.onClick, i = e.theme, a = r || n, s = dn.StyleSheet.create(nA(Bj, i));
32499
32503
  return he.createElement("div", {
32500
32504
  className: dn.css(s.thumbnail, o && s.thumbnail__active),
32501
32505
  onClick: function(l) {
@@ -32781,7 +32785,7 @@ var FB = he.createContext({
32781
32785
  function t(n) {
32782
32786
  lE(this, t);
32783
32787
  var r = dE(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, n));
32784
- return r.theme = tA(Ct, r.props.theme), r.classes = wk.create(tA(mj, r.props.theme)), r.toggleTheme = function(o) {
32788
+ return r.theme = nA(Ct, r.props.theme), r.classes = wk.create(nA(mj, r.props.theme)), r.toggleTheme = function(o) {
32785
32789
  r.setState(function() {
32786
32790
  return { theme: o };
32787
32791
  });
@@ -33653,8 +33657,8 @@ const TU = F(F1)`
33653
33657
  /* @__PURE__ */ u.jsx(DU, { children: t })
33654
33658
  ] });
33655
33659
  }, FU = () => /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
33656
- /* @__PURE__ */ u.jsx(Zo, { variant: "rounded", width: 180, height: 24, animation: "wave", margin: "12px 0px 10px 0px" }),
33657
- /* @__PURE__ */ u.jsx(Zo, { variant: "rounded", width: 450, height: 40, animation: "wave" })
33660
+ /* @__PURE__ */ u.jsx(qo, { variant: "rounded", width: 180, height: 24, animation: "wave", margin: "12px 0px 10px 0px" }),
33661
+ /* @__PURE__ */ u.jsx(qo, { variant: "rounded", width: 450, height: 40, animation: "wave" })
33658
33662
  ] }), ei = (e) => {
33659
33663
  if (e && typeof e == "string") {
33660
33664
  const t = e.replace(/\/$/, "");
@@ -34363,12 +34367,12 @@ const ZU = F(pe)`
34363
34367
  gap: 16px;
34364
34368
  `, tV = (e) => /* @__PURE__ */ x.createElement("svg", { width: 22, height: 22, viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ x.createElement("g", { clipPath: "url(#clip0_1446_32274)" }, /* @__PURE__ */ x.createElement("path", { d: "M14.6663 0.916687H3.66634C2.65801 0.916687 1.83301 1.74169 1.83301 2.75002V15.5834H3.66634V2.75002H14.6663V0.916687ZM17.4163 4.58335H7.33301C6.32467 4.58335 5.49967 5.40835 5.49967 6.41669V19.25C5.49967 20.2584 6.32467 21.0834 7.33301 21.0834H17.4163C18.4247 21.0834 19.2497 20.2584 19.2497 19.25V6.41669C19.2497 5.40835 18.4247 4.58335 17.4163 4.58335ZM17.4163 19.25H7.33301V6.41669H17.4163V19.25Z", fill: "#6F7C90" })), /* @__PURE__ */ x.createElement("defs", null, /* @__PURE__ */ x.createElement("clipPath", { id: "clip0_1446_32274" }, /* @__PURE__ */ x.createElement("rect", { width: 22, height: 22, fill: "white" })))), nV = () => /* @__PURE__ */ u.jsxs(Ee, { gap: "24px", marginTop: "28px", paddingRight: "65px", children: [
34365
34369
  /* @__PURE__ */ u.jsxs("div", { children: [
34366
- /* @__PURE__ */ u.jsx(Zo, { variant: "rounded", width: 100, height: 24, animation: "wave", margin: "12px 0px 10px 0px" }),
34367
- /* @__PURE__ */ u.jsx(Zo, { variant: "rounded", height: 40, animation: "wave", margin: "12px 0px 10px 0px" })
34370
+ /* @__PURE__ */ u.jsx(qo, { variant: "rounded", width: 100, height: 24, animation: "wave", margin: "12px 0px 10px 0px" }),
34371
+ /* @__PURE__ */ u.jsx(qo, { variant: "rounded", height: 40, animation: "wave", margin: "12px 0px 10px 0px" })
34368
34372
  ] }),
34369
34373
  /* @__PURE__ */ u.jsxs("div", { children: [
34370
- /* @__PURE__ */ u.jsx(Zo, { variant: "rounded", width: 100, height: 24, animation: "wave", margin: "12px 0px 10px 0px" }),
34371
- /* @__PURE__ */ u.jsx(Zo, { variant: "rounded", height: 40, animation: "wave", margin: "12px 0px 10px 0px" })
34374
+ /* @__PURE__ */ u.jsx(qo, { variant: "rounded", width: 100, height: 24, animation: "wave", margin: "12px 0px 10px 0px" }),
34375
+ /* @__PURE__ */ u.jsx(qo, { variant: "rounded", height: 40, animation: "wave", margin: "12px 0px 10px 0px" })
34372
34376
  ] })
34373
34377
  ] }), rV = ({
34374
34378
  isEdit: e = !1,
@@ -36049,24 +36053,19 @@ const UV = F(Ee)`
36049
36053
  }
36050
36054
  );
36051
36055
  }, IG = ({ connectorType: e }) => {
36052
- const { sendTrackingEvent: t } = it(Et), n = Le(So) ?? [], [r, o] = ee([]), [A, i] = ee([]), [a, s] = ee(!0), [c, l] = ee(!1), [d, h] = ee(!1);
36056
+ const { sendTrackingEvent: t } = it(Et), n = Le(To) ?? [], [r, o] = ee([]), [A, i] = ee([]), [a, s] = ee(!0), [c, l] = ee(!1), [d, h] = ee(!1);
36053
36057
  xe(() => {
36054
36058
  let g = !1;
36055
36059
  return (async () => {
36056
- var f, E;
36060
+ var Q, v;
36057
36061
  s(!0);
36058
- try {
36059
- const [Q, v] = await Promise.all([
36060
- Q4(e),
36061
- m4(e)
36062
- ]);
36063
- if (g) return;
36064
- o(((f = Q.data) == null ? void 0 : f.locations) ?? []), i(((E = v.data) == null ? void 0 : E.configs) ?? []);
36065
- } catch (Q) {
36066
- g || o([]), console.error(Q);
36067
- } finally {
36068
- g || s(!1);
36069
- }
36062
+ const [f, E] = await Promise.allSettled([
36063
+ Q4(e),
36064
+ m4(e)
36065
+ ]);
36066
+ g || (f.status === "fulfilled" ? o(
36067
+ ((Q = f.value.data) == null ? void 0 : Q.locations) ?? []
36068
+ ) : (o([]), console.error(f.reason)), E.status === "fulfilled" ? i(((v = E.value.data) == null ? void 0 : v.configs) ?? []) : (i([]), console.error(E.reason)), s(!1));
36070
36069
  })(), () => {
36071
36070
  g = !0;
36072
36071
  };
@@ -36155,7 +36154,7 @@ const UV = F(Ee)`
36155
36154
  advancedFeatures: o = {},
36156
36155
  type: A,
36157
36156
  logo: i = null
36158
- } = e || {}, [a, s] = ee(!1), { availableFeatures: c } = it(Et), l = (p = nA()) == null ? void 0 : p.tenantPlatform, d = Jn(
36157
+ } = e || {}, [a, s] = ee(!1), { availableFeatures: c } = it(Et), l = (p = So()) == null ? void 0 : p.tenantPlatform, d = Jn(
36159
36158
  c,
36160
36159
  l === "HIVERWEB" ? `hot-${HE}` : HE
36161
36160
  ), { id: h = "" } = GA();
@@ -36338,7 +36337,7 @@ const UV = F(Ee)`
36338
36337
  ] }, s);
36339
36338
  });
36340
36339
  }, wG = () => {
36341
- const { sendTrackingEvent: e } = it(Et), t = Rn(), n = Un(), r = Le(WA) ?? [], o = Le(So) ?? [], A = r.find((m) => m.name === IA.MEMBER), i = Le(Ki), a = Le(R5) === ve.LOADING, [s, c] = ee([]), [l, d] = ee(A), [h, p] = ee(!1), { id: I = "" } = GA(), [C] = $i(), g = C.get("connectorId"), B = (i == null ? void 0 : i[I]) || null, f = a || !s.length || !l.name, E = tu({
36340
+ const { sendTrackingEvent: e } = it(Et), t = Rn(), n = Un(), r = Le(WA) ?? [], o = Le(To) ?? [], A = r.find((m) => m.name === IA.MEMBER), i = Le(Ki), a = Le(R5) === ve.LOADING, [s, c] = ee([]), [l, d] = ee(A), [h, p] = ee(!1), { id: I = "" } = GA(), [C] = $i(), g = C.get("connectorId"), B = (i == null ? void 0 : i[I]) || null, f = a || !s.length || !l.name, E = tu({
36342
36341
  id: I,
36343
36342
  isEdit: !1,
36344
36343
  row: B,
@@ -36872,7 +36871,7 @@ const FG = F(de)`
36872
36871
  ) }) })
36873
36872
  ] });
36874
36873
  }, KG = ({ schema: e, controller: t }) => {
36875
- const n = Le(So) ?? [], r = Le(WA) ?? [], { availableFeatures: o } = it(Et), A = Jn(o, nx), i = (e.blocks ?? []).filter(
36874
+ const n = Le(To) ?? [], r = Le(WA) ?? [], { availableFeatures: o } = it(Et), A = Jn(o, nx), i = (e.blocks ?? []).filter(
36876
36875
  (s) => s.field !== "defaultMessage" || A
36877
36876
  ), a = (s) => s === "defaultMessage" ? /* @__PURE__ */ u.jsx(XG, { value: t.defaultMessage, onChange: t.setDefaultMessage }) : s === "inboxes" ? /* @__PURE__ */ u.jsx(
36878
36877
  cl,
@@ -38246,7 +38245,7 @@ const CH = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%20
38246
38245
  overrideFont: a = !1,
38247
38246
  theme: s = { mode: "light" }
38248
38247
  }) => {
38249
- const { userId: c } = nA() || {}, l = CQ(s);
38248
+ const { userId: c } = So() || {}, l = CQ(s);
38250
38249
  return /* @__PURE__ */ u.jsx(
38251
38250
  "div",
38252
38251
  {
@@ -38474,7 +38473,7 @@ export {
38474
38473
  LH as getConnectorDynamicFieldOptions,
38475
38474
  MH as getConnectorFieldDropdownOptions,
38476
38475
  PH as getConnectorStaticFieldOptions,
38477
- nA as getConnectorsBifrostConfigs,
38476
+ So as getConnectorsBifrostConfigs,
38478
38477
  _H as getEnabledAuthenticatedConnectors,
38479
38478
  FH as getMetaData,
38480
38479
  OH as initConnectorsBifrost,