@hiver/connector-admin 4.11.0-oneClickGen-beta.7 → 4.11.0-oneClickGen-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js CHANGED
@@ -14,7 +14,7 @@ var Ks = (e, t, n, r) => ({
14
14
  }
15
15
  });
16
16
  import * as S from "react";
17
- import Be, { useState as te, useRef as Pe, useSyncExternalStore as q2, useLayoutEffect as jc, useEffect as pe, isValidElement as hi, cloneElement as Lg, createContext as MA, Suspense as Gh, useContext as Ve, useMemo as Te, useCallback as nt, memo as Z2, useReducer as nC, Fragment as nc, Component as Uc, forwardRef as Vc } from "react";
17
+ import Be, { useState as te, useRef as Pe, useSyncExternalStore as q2, useLayoutEffect as jc, useEffect as pe, isValidElement as hi, cloneElement as Lg, createContext as MA, Suspense as Gh, useContext as Ve, useMemo as we, useCallback as nt, memo as Z2, useReducer as nC, Fragment as nc, Component as Uc, forwardRef as Vc } from "react";
18
18
  import * as $2 from "react-dom";
19
19
  import Hh, { unstable_batchedUpdates as qs, createPortal as Gc, render as ev, unmountComponentAtNode as tv } from "react-dom";
20
20
  import { HiverProvider as Wh, styled as T, Stack as V, Box as fe, Typography as ie, Skeleton as ei, theme as ce, Icon as ti, CircularProgress as Gr, palette as Vt, Button as it, Tab as rc, Chip as Ts, Alert as pi, icons as Ct, Dialog as Hc, Tooltip as ht, IconButton as Gn, brandIcons as zh, tooltipClasses as Ur, Checkbox as cA, TextField as Ss, Autocomplete as Vi, Tabs as rC, Grid as Wc, Switch as AC, DatePicker as nv, DateTextField as rv, InputAdornment as Av, FormControl as oC, Select as zc, ListSubheader as Yh, InputBase as Jh, MenuItem as oo, ClickAwayListener as ov, Paper as iv, Popper as av, Accordion as Xh, AccordionSummary as Kh, accordionSummaryClasses as qh, AccordionDetails as Zh, Snackbar as $h, Link as ep, ScopedCssBaseline as sv, DialogCloseButton as lv, MenuSearch as cv, MenuScrollable as uv, RadioGroup as gv, FormControlLabel as dv, Radio as Cv } from "@hiver/hiver-ui-kit";
@@ -97,10 +97,10 @@ function Iv() {
97
97
  {
98
98
  var me = h.ReactDebugCurrentFrame, Ee = me.getStackAddendum();
99
99
  Ee !== "" && (z += "%s", se = se.concat([Ee]));
100
- var we = se.map(function(Qe) {
100
+ var Te = se.map(function(Qe) {
101
101
  return String(Qe);
102
102
  });
103
- we.unshift("Warning: " + z), Function.prototype.apply.call(console[w], console, we);
103
+ Te.unshift("Warning: " + z), Function.prototype.apply.call(console[w], console, Te);
104
104
  }
105
105
  }
106
106
  var Q = !1, m = !1, b = !1, y = !1, v = !1, x;
@@ -157,9 +157,9 @@ function Iv() {
157
157
  var me = w.displayName || null;
158
158
  return me !== null ? me : H(w.type) || "Memo";
159
159
  case E: {
160
- var Ee = w, we = Ee._payload, Qe = Ee._init;
160
+ var Ee = w, Te = Ee._payload, Qe = Ee._init;
161
161
  try {
162
- return H(Qe(we));
162
+ return H(Qe(Te));
163
163
  } catch {
164
164
  return null;
165
165
  }
@@ -260,8 +260,8 @@ function Iv() {
260
260
  Z = !0;
261
261
  var Ee = Error.prepareStackTrace;
262
262
  Error.prepareStackTrace = void 0;
263
- var we;
264
- we = re.current, re.current = null, j();
263
+ var Te;
264
+ Te = re.current, re.current = null, j();
265
265
  try {
266
266
  if (z) {
267
267
  var Qe = function() {
@@ -314,7 +314,7 @@ function Iv() {
314
314
  }
315
315
  }
316
316
  } finally {
317
- Z = !1, re.current = we, J(), Error.prepareStackTrace = Ee;
317
+ Z = !1, re.current = Te, J(), Error.prepareStackTrace = Ee;
318
318
  }
319
319
  var Nt = w ? w.displayName || w.name : "", pt = Nt ? de(Nt) : "";
320
320
  return typeof w == "function" && ue.set(w, pt), pt;
@@ -346,9 +346,9 @@ function Iv() {
346
346
  case g:
347
347
  return st(w.type, z, se);
348
348
  case E: {
349
- var me = w, Ee = me._payload, we = me._init;
349
+ var me = w, Ee = me._payload, Te = me._init;
350
350
  try {
351
- return st(we(Ee), z, se);
351
+ return st(Te(Ee), z, se);
352
352
  } catch {
353
353
  }
354
354
  }
@@ -365,9 +365,9 @@ function Iv() {
365
365
  }
366
366
  function xt(w, z, se, me, Ee) {
367
367
  {
368
- var we = Function.call.bind(kt);
368
+ var Te = Function.call.bind(kt);
369
369
  for (var Qe in w)
370
- if (we(w, Qe)) {
370
+ if (Te(w, Qe)) {
371
371
  var he = void 0;
372
372
  try {
373
373
  if (typeof w[Qe] != "function") {
@@ -457,7 +457,7 @@ function Iv() {
457
457
  });
458
458
  }
459
459
  }
460
- var Le = function(w, z, se, me, Ee, we, Qe) {
460
+ var Le = function(w, z, se, me, Ee, Te, Qe) {
461
461
  var he = {
462
462
  // This tag allows us to uniquely identify this as a React Element
463
463
  $$typeof: t,
@@ -467,7 +467,7 @@ function Iv() {
467
467
  ref: se,
468
468
  props: Qe,
469
469
  // Record the component responsible for creating this element.
470
- _owner: we
470
+ _owner: Te
471
471
  };
472
472
  return he._store = {}, Object.defineProperty(he._store, "validated", {
473
473
  configurable: !1,
@@ -488,14 +488,14 @@ function Iv() {
488
488
  };
489
489
  function Rr(w, z, se, me, Ee) {
490
490
  {
491
- var we, Qe = {}, he = null, Je = null;
491
+ var Te, Qe = {}, he = null, Je = null;
492
492
  se !== void 0 && (Kn(se), he = "" + se), Kr(z) && (Kn(z.key), he = "" + z.key), bA(z) && (Je = z.ref, GA(z, Ee));
493
- for (we in z)
494
- kt.call(z, we) && !sr.hasOwnProperty(we) && (Qe[we] = z[we]);
493
+ for (Te in z)
494
+ kt.call(z, Te) && !sr.hasOwnProperty(Te) && (Qe[Te] = z[Te]);
495
495
  if (w && w.defaultProps) {
496
496
  var Ge = w.defaultProps;
497
- for (we in Ge)
498
- Qe[we] === void 0 && (Qe[we] = Ge[we]);
497
+ for (Te in Ge)
498
+ Qe[Te] === void 0 && (Qe[Te] = Ge[Te]);
499
499
  }
500
500
  if (he || Je) {
501
501
  var Xe = typeof w == "function" ? w.displayName || w.name || "Unknown" : w;
@@ -572,7 +572,7 @@ Check the top-level render call using <` + se + ">.");
572
572
  else if (w) {
573
573
  var Ee = C(w);
574
574
  if (typeof Ee == "function" && Ee !== w.entries)
575
- for (var we = Ee.call(w), Qe; !(Qe = we.next()).done; )
575
+ for (var Te = Ee.call(w), Qe; !(Qe = Te.next()).done; )
576
576
  Jt(Qe.value) && mn(Qe.value, z);
577
577
  }
578
578
  }
@@ -615,7 +615,7 @@ Check the top-level render call using <` + se + ">.");
615
615
  }
616
616
  }
617
617
  var lr = {};
618
- function cr(w, z, se, me, Ee, we) {
618
+ function cr(w, z, se, me, Ee, Te) {
619
619
  {
620
620
  var Qe = k(w);
621
621
  if (!Qe) {
@@ -626,7 +626,7 @@ Check the top-level render call using <` + se + ">.");
626
626
  var Ge;
627
627
  w === null ? Ge = "null" : Ln(w) ? Ge = "array" : w !== void 0 && w.$$typeof === t ? (Ge = "<" + (H(w.type) || "Unknown") + " />", he = " Did you accidentally export a JSX literal instead of a component?") : Ge = typeof w, B("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ge, he);
628
628
  }
629
- var Xe = Rr(w, z, se, Ee, we);
629
+ var Xe = Rr(w, z, se, Ee, Te);
630
630
  if (Xe == null)
631
631
  return Xe;
632
632
  if (Qe) {
@@ -9190,7 +9190,7 @@ function o4(e, t) {
9190
9190
  const i4 = ({ children: e }) => {
9191
9191
  const t = new O0();
9192
9192
  return /* @__PURE__ */ c.jsx(P0, { client: t, children: e });
9193
- }, a4 = (e) => /* @__PURE__ */ c.jsx(Wh, { custom: !0, children: /* @__PURE__ */ c.jsx(Gh, { fallback: /* @__PURE__ */ c.jsx(c.Fragment, {}), children: /* @__PURE__ */ c.jsx(i4, { children: /* @__PURE__ */ c.jsx(S3, { ...e }) }) }) }), s4 = (e) => /* @__PURE__ */ c.jsx(cp, { store: x3, children: /* @__PURE__ */ c.jsx(a4, { ...e }) });
9193
+ }, a4 = (e) => /* @__PURE__ */ c.jsx(Wh, { inter: !0, children: /* @__PURE__ */ c.jsx(Gh, { fallback: /* @__PURE__ */ c.jsx(c.Fragment, {}), children: /* @__PURE__ */ c.jsx(i4, { children: /* @__PURE__ */ c.jsx(S3, { ...e }) }) }) }), s4 = (e) => /* @__PURE__ */ c.jsx(cp, { store: x3, children: /* @__PURE__ */ c.jsx(a4, { ...e }) });
9194
9194
  /**
9195
9195
  * @remix-run/router v1.19.2
9196
9196
  *
@@ -9806,7 +9806,7 @@ function M4(e) {
9806
9806
  flushSync: se
9807
9807
  } = X === void 0 ? {} : X, me = v.actionData != null && v.navigation.formMethod != null && Nr(v.navigation.formMethod) && v.navigation.state === "loading" && ((w = O.state) == null ? void 0 : w._isRedirect) !== !0, Ee;
9808
9808
  U.actionData ? Object.keys(U.actionData).length > 0 ? Ee = U.actionData : Ee = null : me ? Ee = v.actionData : Ee = null;
9809
- let we = U.loaderData ? AI(v.loaderData, U.loaderData, U.matches || [], U.errors) : v.loaderData, Qe = v.blockers;
9809
+ let Te = U.loaderData ? AI(v.loaderData, U.loaderData, U.matches || [], U.errors) : v.loaderData, Qe = v.blockers;
9810
9810
  Qe.size > 0 && (Qe = new Map(Qe), Qe.forEach((Ge, Xe) => Qe.set(Xe, Ta)));
9811
9811
  let he = k === !0 || v.navigation.formMethod != null && Nr(v.navigation.formMethod) && ((z = O.state) == null ? void 0 : z._isRedirect) !== !0;
9812
9812
  a && (i = a, a = void 0), ne || x === gn.Pop || (x === gn.Push ? e.history.push(O, O.state) : x === gn.Replace && e.history.replace(O, O.state));
@@ -9829,7 +9829,7 @@ function M4(e) {
9829
9829
  }
9830
9830
  Me(Kt({}, U, {
9831
9831
  actionData: Ee,
9832
- loaderData: we,
9832
+ loaderData: Te,
9833
9833
  historyAction: x,
9834
9834
  location: O,
9835
9835
  initialized: !0,
@@ -9854,8 +9854,8 @@ function M4(e) {
9854
9854
  error: se
9855
9855
  } = Zf(g.v7_normalizeFormMethod, !1, X, U), me = v.location, Ee = gs(v.location, w, U && U.state);
9856
9856
  Ee = Kt({}, Ee, e.history.encodeLocation(Ee));
9857
- let we = U && U.replace != null ? U.replace : void 0, Qe = gn.Push;
9858
- we === !0 ? Qe = gn.Replace : we === !1 || z != null && Nr(z.formMethod) && z.formAction === v.location.pathname + v.location.search && (Qe = gn.Replace);
9857
+ let Te = U && U.replace != null ? U.replace : void 0, Qe = gn.Push;
9858
+ Te === !0 ? Qe = gn.Replace : Te === !1 || z != null && Nr(z.formMethod) && z.formAction === v.location.pathname + v.location.search && (Qe = gn.Replace);
9859
9859
  let he = U && "preventScrollReset" in U ? U.preventScrollReset === !0 : void 0, Je = (U && U.unstable_flushSync) === !0, Ge = Ft({
9860
9860
  currentLocation: me,
9861
9861
  nextLocation: Ee,
@@ -9939,14 +9939,14 @@ function M4(e) {
9939
9939
  return;
9940
9940
  }
9941
9941
  _ = new AbortController();
9942
- let we = li(e.history, U, _.signal, X && X.submission), Qe;
9942
+ let Te = li(e.history, U, _.signal, X && X.submission), Qe;
9943
9943
  if (X && X.pendingError)
9944
9944
  Qe = [Ii(se).route.id, {
9945
9945
  type: Pt.error,
9946
9946
  error: X.pendingError
9947
9947
  }];
9948
9948
  else if (X && X.submission && Nr(X.submission.formMethod)) {
9949
- let Ke = await An(we, U, X.submission, se, Ee.active, {
9949
+ let Ke = await An(Te, U, X.submission, se, Ee.active, {
9950
9950
  replace: X.replace,
9951
9951
  flushSync: me
9952
9952
  });
@@ -9965,14 +9965,14 @@ function M4(e) {
9965
9965
  return;
9966
9966
  }
9967
9967
  }
9968
- se = Ke.matches || se, Qe = Ke.pendingActionResult, z = eg(U, X.submission), me = !1, Ee.active = !1, we = li(e.history, we.url, we.signal);
9968
+ se = Ke.matches || se, Qe = Ke.pendingActionResult, z = eg(U, X.submission), me = !1, Ee.active = !1, Te = li(e.history, Te.url, Te.signal);
9969
9969
  }
9970
9970
  let {
9971
9971
  shortCircuited: he,
9972
9972
  matches: Je,
9973
9973
  loaderData: Ge,
9974
9974
  errors: Xe
9975
- } = await xt(we, U, se, Ee.active, z, X && X.submission, X && X.fetcherSubmission, X && X.replace, X && X.initialHydration === !0, me, Qe);
9975
+ } = await xt(Te, U, se, Ee.active, z, X && X.submission, X && X.fetcherSubmission, X && X.replace, X && X.initialHydration === !0, me, Qe);
9976
9976
  he || (_ = null, st(U, Kt({
9977
9977
  matches: Je || se
9978
9978
  }, oI(Qe), {
@@ -10022,17 +10022,17 @@ function M4(e) {
10022
10022
  };
10023
10023
  }
10024
10024
  }
10025
- let Ee, we = Ga(w, U);
10026
- if (!we.route.action && !we.route.lazy)
10025
+ let Ee, Te = Ga(w, U);
10026
+ if (!Te.route.action && !Te.route.lazy)
10027
10027
  Ee = {
10028
10028
  type: Pt.error,
10029
10029
  error: Yn(405, {
10030
10030
  method: O.method,
10031
10031
  pathname: U.pathname,
10032
- routeId: we.route.id
10032
+ routeId: Te.route.id
10033
10033
  })
10034
10034
  };
10035
- else if (Ee = (await sn("action", v, O, [we], w, null))[we.route.id], O.signal.aborted)
10035
+ else if (Ee = (await sn("action", v, O, [Te], w, null))[Te.route.id], O.signal.aborted)
10036
10036
  return {
10037
10037
  shortCircuited: !0
10038
10038
  };
@@ -10050,7 +10050,7 @@ function M4(e) {
10050
10050
  type: "defer-action"
10051
10051
  });
10052
10052
  if (ur(Ee)) {
10053
- let Qe = Ii(w, we.route.id);
10053
+ let Qe = Ii(w, Te.route.id);
10054
10054
  return (se && se.replace) !== !0 && (x = gn.Push), {
10055
10055
  matches: w,
10056
10056
  pendingActionResult: [Qe.route.id, Ee]
@@ -10058,11 +10058,11 @@ function M4(e) {
10058
10058
  }
10059
10059
  return {
10060
10060
  matches: w,
10061
- pendingActionResult: [we.route.id, Ee]
10061
+ pendingActionResult: [Te.route.id, Ee]
10062
10062
  };
10063
10063
  }
10064
- async function xt(O, U, X, w, z, se, me, Ee, we, Qe, he) {
10065
- let Je = z || eg(U, se), Ge = se || me || sI(Je), Xe = !ne && (!g.v7_partialHydration || !we);
10064
+ async function xt(O, U, X, w, z, se, me, Ee, Te, Qe, he) {
10065
+ let Je = z || eg(U, se), Ge = se || me || sI(Je), Xe = !ne && (!g.v7_partialHydration || !Te);
10066
10066
  if (w) {
10067
10067
  if (Xe) {
10068
10068
  let ee = On(he);
@@ -10108,7 +10108,7 @@ function M4(e) {
10108
10108
  };
10109
10109
  }
10110
10110
  }
10111
- let Ke = a || i, [Nt, pt] = $f(e.history, v, X, Ge, U, g.v7_partialHydration && we === !0, g.v7_skipActionErrorRevalidation, ge, ae, Ie, re, j, N, Ke, s, he);
10111
+ let Ke = a || i, [Nt, pt] = $f(e.history, v, X, Ge, U, g.v7_partialHydration && Te === !0, g.v7_skipActionErrorRevalidation, ge, ae, Ie, re, j, N, Ke, s, he);
10112
10112
  if (Sn((W) => !(X && X.some((ee) => ee.route.id === W)) || Nt && Nt.some((ee) => ee.route.id === W)), G = ++M, Nt.length === 0 && pt.length === 0) {
10113
10113
  let W = Le();
10114
10114
  return st(U, Kt({
@@ -10172,7 +10172,7 @@ function M4(e) {
10172
10172
  W.subscribe((le) => {
10173
10173
  (le || W.done) && q.delete(ee);
10174
10174
  });
10175
- }), g.v7_partialHydration && we && v.errors && Object.entries(v.errors).filter((W) => {
10175
+ }), g.v7_partialHydration && Te && v.errors && Object.entries(v.errors).filter((W) => {
10176
10176
  let [ee] = W;
10177
10177
  return !Nt.some((le) => le.route.id === ee);
10178
10178
  }).forEach((W) => {
@@ -10208,8 +10208,8 @@ function M4(e) {
10208
10208
  if (r)
10209
10209
  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.");
10210
10210
  K.has(O) && Pn(O);
10211
- let z = (w && w.unstable_flushSync) === !0, se = a || i, me = Id(v.location, v.matches, s, g.v7_prependBasename, X, g.v7_relativeSplatPath, U, w == null ? void 0 : w.relative), Ee = To(se, me, s), we = cn(Ee, se, me);
10212
- if (we.active && we.matches && (Ee = we.matches), !Ee) {
10211
+ let z = (w && w.unstable_flushSync) === !0, se = a || i, me = Id(v.location, v.matches, s, g.v7_prependBasename, X, g.v7_relativeSplatPath, U, w == null ? void 0 : w.relative), Ee = To(se, me, s), Te = cn(Ee, se, me);
10212
+ if (Te.active && Te.matches && (Ee = Te.matches), !Ee) {
10213
10213
  Wt(O, U, Yn(404, {
10214
10214
  pathname: me
10215
10215
  }), {
@@ -10230,17 +10230,17 @@ function M4(e) {
10230
10230
  }
10231
10231
  let Ge = Ga(Ee, Qe);
10232
10232
  if (k = (w && w.preventScrollReset) === !0, he && Nr(he.formMethod)) {
10233
- UA(O, U, Qe, Ge, Ee, we.active, z, he);
10233
+ UA(O, U, Qe, Ge, Ee, Te.active, z, he);
10234
10234
  return;
10235
10235
  }
10236
10236
  j.set(O, {
10237
10237
  routeId: U,
10238
10238
  path: Qe
10239
- }), VA(O, U, Qe, Ge, Ee, we.active, z, he);
10239
+ }), VA(O, U, Qe, Ge, Ee, Te.active, z, he);
10240
10240
  }
10241
10241
  async function UA(O, U, X, w, z, se, me, Ee) {
10242
10242
  Fn(), j.delete(O);
10243
- function we(Ce) {
10243
+ function Te(Ce) {
10244
10244
  if (!Ce.route.action && !Ce.route.lazy) {
10245
10245
  let be = Yn(405, {
10246
10246
  method: Ee.formMethod,
@@ -10253,7 +10253,7 @@ function M4(e) {
10253
10253
  }
10254
10254
  return !1;
10255
10255
  }
10256
- if (!se && we(w))
10256
+ if (!se && Te(w))
10257
10257
  return;
10258
10258
  let Qe = v.fetchers.get(O);
10259
10259
  Nn(O, oT(Ee, Qe), {
@@ -10273,7 +10273,7 @@ function M4(e) {
10273
10273
  });
10274
10274
  return;
10275
10275
  } else if (Ce.matches) {
10276
- if (z = Ce.matches, w = Ga(z, X), we(w))
10276
+ if (z = Ce.matches, w = Ga(z, X), Te(w))
10277
10277
  return;
10278
10278
  } else {
10279
10279
  Wt(O, U, Yn(404, {
@@ -10360,8 +10360,8 @@ function M4(e) {
10360
10360
  }), ge = !1);
10361
10361
  }
10362
10362
  async function VA(O, U, X, w, z, se, me, Ee) {
10363
- let we = v.fetchers.get(O);
10364
- Nn(O, Sa(Ee, we ? we.data : void 0), {
10363
+ let Te = v.fetchers.get(O);
10364
+ Nn(O, Sa(Ee, Te ? Te.data : void 0), {
10365
10365
  flushSync: me
10366
10366
  });
10367
10367
  let Qe = new AbortController(), he = li(e.history, X, Qe.signal);
@@ -10419,7 +10419,7 @@ function M4(e) {
10419
10419
  U.response.headers.has("X-Remix-Revalidate") && (ge = !0);
10420
10420
  let Ee = U.response.headers.get("Location");
10421
10421
  We(Ee, "Expected a Location header on the redirect Response"), Ee = tI(Ee, new URL(O.url), s);
10422
- let we = gs(v.location, Ee, {
10422
+ let Te = gs(v.location, Ee, {
10423
10423
  _isRedirect: !0
10424
10424
  });
10425
10425
  if (n) {
@@ -10446,7 +10446,7 @@ function M4(e) {
10446
10446
  !z && !se && he && Je && Ge && (z = sI(v.navigation));
10447
10447
  let Xe = z || se;
10448
10448
  if (N4.has(U.response.status) && Xe && Nr(Xe.formMethod))
10449
- await Gt(Qe, we, {
10449
+ await Gt(Qe, Te, {
10450
10450
  submission: Kt({}, Xe, {
10451
10451
  formAction: Ee
10452
10452
  }),
@@ -10455,8 +10455,8 @@ function M4(e) {
10455
10455
  enableViewTransition: X ? F : void 0
10456
10456
  });
10457
10457
  else {
10458
- let Ke = eg(we, z);
10459
- await Gt(Qe, we, {
10458
+ let Ke = eg(Te, z);
10459
+ await Gt(Qe, Te, {
10460
10460
  overrideNavigation: Ke,
10461
10461
  // Send fetcher submissions through for shouldRevalidate
10462
10462
  fetcherSubmission: se,
@@ -10470,23 +10470,23 @@ function M4(e) {
10470
10470
  let me, Ee = {};
10471
10471
  try {
10472
10472
  me = await z4(l, O, U, X, w, z, se, o, A);
10473
- } catch (we) {
10473
+ } catch (Te) {
10474
10474
  return w.forEach((Qe) => {
10475
10475
  Ee[Qe.route.id] = {
10476
10476
  type: Pt.error,
10477
- error: we
10477
+ error: Te
10478
10478
  };
10479
10479
  }), Ee;
10480
10480
  }
10481
- for (let [we, Qe] of Object.entries(me))
10481
+ for (let [Te, Qe] of Object.entries(me))
10482
10482
  if ($4(Qe)) {
10483
10483
  let he = Qe.result;
10484
- Ee[we] = {
10484
+ Ee[Te] = {
10485
10485
  type: Pt.redirect,
10486
- response: X4(he, X, we, z, s, g.v7_relativeSplatPath)
10486
+ response: X4(he, X, Te, z, s, g.v7_relativeSplatPath)
10487
10487
  };
10488
10488
  } else
10489
- Ee[we] = await J4(Qe);
10489
+ Ee[Te] = await J4(Qe);
10490
10490
  return Ee;
10491
10491
  }
10492
10492
  async function sr(O, U, X, w, z) {
@@ -10505,9 +10505,9 @@ function M4(e) {
10505
10505
  })
10506
10506
  }
10507
10507
  });
10508
- })), we = await me, Qe = (await Ee).reduce((he, Je) => Object.assign(he, Je), {});
10509
- return await Promise.all([nT(U, we, z.signal, se, O.loaderData), rT(U, Qe, w)]), {
10510
- loaderResults: we,
10508
+ })), Te = await me, Qe = (await Ee).reduce((he, Je) => Object.assign(he, Je), {});
10509
+ return await Promise.all([nT(U, Te, z.signal, se, O.loaderData), rT(U, Qe, w)]), {
10510
+ loaderResults: Te,
10511
10511
  fetcherResults: Qe
10512
10512
  };
10513
10513
  }
@@ -10699,10 +10699,10 @@ function M4(e) {
10699
10699
  let z = a == null, se = a || i;
10700
10700
  try {
10701
10701
  await G4(u, U, w, se, o, A, Z, X);
10702
- } catch (we) {
10702
+ } catch (Te) {
10703
10703
  return {
10704
10704
  type: "error",
10705
- error: we,
10705
+ error: Te,
10706
10706
  partialMatches: w
10707
10707
  };
10708
10708
  } finally {
@@ -10719,7 +10719,7 @@ function M4(e) {
10719
10719
  matches: me
10720
10720
  };
10721
10721
  let Ee = kl(se, U, s, !0);
10722
- if (!Ee || w.length === Ee.length && w.every((we, Qe) => we.route.id === Ee[Qe].route.id))
10722
+ if (!Ee || w.length === Ee.length && w.every((Te, Qe) => Te.route.id === Ee[Qe].route.id))
10723
10723
  return lr(U, d), {
10724
10724
  type: "success",
10725
10725
  matches: null
@@ -12915,7 +12915,7 @@ const aS = T(V)`
12915
12915
  );
12916
12916
  }, PC = MA({ hasRendered: !1, setHasRendered: () => {
12917
12917
  } }), lQ = Be.memo(({ children: e }) => {
12918
- const [t, n] = te(!1), r = Te(() => ({ hasRendered: t, setHasRendered: n }), [t, n]);
12918
+ const [t, n] = te(!1), r = we(() => ({ hasRendered: t, setHasRendered: n }), [t, n]);
12919
12919
  return /* @__PURE__ */ c.jsx(PC.Provider, { value: r, children: e });
12920
12920
  });
12921
12921
  lQ.displayName = "SingletonProvider";
@@ -13242,7 +13242,7 @@ const I9 = T(({ className: e, ...t }) => /* @__PURE__ */ c.jsx(ht, { ...t, class
13242
13242
  function m9() {
13243
13243
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
13244
13244
  t[n] = arguments[n];
13245
- return Te(
13245
+ return we(
13246
13246
  () => (r) => {
13247
13247
  t.forEach((A) => A(r));
13248
13248
  },
@@ -13306,7 +13306,7 @@ function Is(e, t) {
13306
13306
  }
13307
13307
  function Ps(e, t) {
13308
13308
  const n = Pe();
13309
- return Te(
13309
+ return we(
13310
13310
  () => {
13311
13311
  const r = e(n.current);
13312
13312
  return n.current = r, r;
@@ -13333,7 +13333,7 @@ function Qd(e) {
13333
13333
  }
13334
13334
  let ng = {};
13335
13335
  function ks(e, t) {
13336
- return Te(() => {
13336
+ return we(() => {
13337
13337
  if (t)
13338
13338
  return t;
13339
13339
  const n = ng[e] == null ? 0 : ng[e] + 1;
@@ -13565,7 +13565,7 @@ function F9(e) {
13565
13565
  } = _9(), a = ks("DndLiveRegion"), [s, l] = te(!1);
13566
13566
  if (pe(() => {
13567
13567
  l(!0);
13568
- }, []), R9(Te(() => ({
13568
+ }, []), R9(we(() => ({
13569
13569
  onDragStart(g) {
13570
13570
  let {
13571
13571
  active: E
@@ -13632,7 +13632,7 @@ var In;
13632
13632
  function mc() {
13633
13633
  }
13634
13634
  function hQ(e, t) {
13635
- return Te(
13635
+ return we(
13636
13636
  () => ({
13637
13637
  sensor: e,
13638
13638
  options: {}
@@ -13644,7 +13644,7 @@ function hQ(e, t) {
13644
13644
  function pQ() {
13645
13645
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
13646
13646
  t[n] = arguments[n];
13647
- return Te(
13647
+ return we(
13648
13648
  () => [...t].filter((r) => r != null),
13649
13649
  // eslint-disable-next-line react-hooks/exhaustive-deps
13650
13650
  [...t]
@@ -14502,7 +14502,7 @@ function u6(e) {
14502
14502
  }), h = Pe({
14503
14503
  x: 0,
14504
14504
  y: 0
14505
- }), B = Te(() => {
14505
+ }), B = we(() => {
14506
14506
  switch (n) {
14507
14507
  case $a.Pointer:
14508
14508
  return s ? {
@@ -14520,7 +14520,7 @@ function u6(e) {
14520
14520
  return;
14521
14521
  const y = C.current.x * h.current.x, v = C.current.y * h.current.y;
14522
14522
  b.scrollBy(y, v);
14523
- }, []), m = Te(() => a === vc.TreeOrder ? [...l].reverse() : l, [a, l]);
14523
+ }, []), m = we(() => a === vc.TreeOrder ? [...l].reverse() : l, [a, l]);
14524
14524
  pe(
14525
14525
  () => {
14526
14526
  if (!o || !l.length || !B) {
@@ -14616,7 +14616,7 @@ function C6(e, t) {
14616
14616
  }, [r, t]);
14617
14617
  }
14618
14618
  function E6(e, t) {
14619
- return Te(() => e.reduce((n, r) => {
14619
+ return we(() => e.reduce((n, r) => {
14620
14620
  const {
14621
14621
  sensor: A
14622
14622
  } = r, o = A.activators.map((i) => ({
@@ -14715,7 +14715,7 @@ function B6(e) {
14715
14715
  callback: t,
14716
14716
  disabled: n
14717
14717
  } = e;
14718
- const r = VC(t), A = Te(() => {
14718
+ const r = VC(t), A = we(() => {
14719
14719
  if (n || typeof window > "u" || typeof window.MutationObserver > "u")
14720
14720
  return;
14721
14721
  const {
@@ -14730,7 +14730,7 @@ function Cu(e) {
14730
14730
  callback: t,
14731
14731
  disabled: n
14732
14732
  } = e;
14733
- const r = VC(t), A = Te(
14733
+ const r = VC(t), A = we(
14734
14734
  () => {
14735
14735
  if (n || typeof window > "u" || typeof window.ResizeObserver > "u")
14736
14736
  return;
@@ -14823,7 +14823,7 @@ function m6(e) {
14823
14823
  l == null || l.removeEventListener("scroll", A);
14824
14824
  });
14825
14825
  }
14826
- }, [A, e]), Te(() => e.length ? t ? Array.from(t.values()).reduce((o, i) => mi(o, i), Wr) : wQ(e) : Wr, [e, t]);
14826
+ }, [A, e]), we(() => e.length ? t ? Array.from(t.values()).reduce((o, i) => mi(o, i), Wr) : wQ(e) : Wr, [e, t]);
14827
14827
  }
14828
14828
  function TI(e, t) {
14829
14829
  t === void 0 && (t = []);
@@ -14866,7 +14866,7 @@ function v6(e) {
14866
14866
  );
14867
14867
  }
14868
14868
  function b6(e, t) {
14869
- return Te(() => e.reduce((n, r) => {
14869
+ return we(() => e.reduce((n, r) => {
14870
14870
  let {
14871
14871
  eventName: A,
14872
14872
  handler: o
@@ -14877,7 +14877,7 @@ function b6(e, t) {
14877
14877
  }, {}), [e, t]);
14878
14878
  }
14879
14879
  function RQ(e) {
14880
- return Te(() => e ? J9(e) : null, [e]);
14880
+ return we(() => e ? J9(e) : null, [e]);
14881
14881
  }
14882
14882
  const SI = [];
14883
14883
  function y6(e, t) {
@@ -14926,7 +14926,7 @@ function w6(e) {
14926
14926
  const u = x6(l);
14927
14927
  o == null || o.disconnect(), u && (o == null || o.observe(u)), r(u ? t(u) : null);
14928
14928
  }, [t, o]), [a, s] = pc(i);
14929
- return Te(() => ({
14929
+ return we(() => ({
14930
14930
  nodeRef: a,
14931
14931
  rect: n,
14932
14932
  setRef: s
@@ -15170,7 +15170,7 @@ function F6(e, t) {
15170
15170
  }), n) : n;
15171
15171
  }
15172
15172
  function N6(e) {
15173
- return Te(
15173
+ return we(
15174
15174
  () => ({
15175
15175
  draggable: {
15176
15176
  ...Ul.draggable,
@@ -15257,7 +15257,7 @@ const wd = /* @__PURE__ */ Z2(function(t) {
15257
15257
  } = C, _ = y != null ? v.get(y) : null, F = Pe({
15258
15258
  initial: null,
15259
15259
  translated: null
15260
- }), H = Te(() => {
15260
+ }), H = we(() => {
15261
15261
  var Ft;
15262
15262
  return y != null ? {
15263
15263
  id: y,
@@ -15265,7 +15265,7 @@ const wd = /* @__PURE__ */ Z2(function(t) {
15265
15265
  data: (Ft = _ == null ? void 0 : _.data) != null ? Ft : S6,
15266
15266
  rect: F
15267
15267
  } : null;
15268
- }, [y, _]), D = Pe(null), [ne, ge] = te(null), [ae, Ie] = te(null), K = Is(f, Object.values(f)), M = ks("DndDescribedBy", i), G = Te(() => k.getEnabled(), [k]), R = N6(E), {
15268
+ }, [y, _]), D = Pe(null), [ne, ge] = te(null), [ae, Ie] = te(null), K = Is(f, Object.values(f)), M = ks("DndDescribedBy", i), G = we(() => k.getEnabled(), [k]), R = N6(E), {
15269
15269
  droppableRects: N,
15270
15270
  measureDroppableContainers: j,
15271
15271
  measuringScheduled: J
@@ -15273,7 +15273,7 @@ const wd = /* @__PURE__ */ Z2(function(t) {
15273
15273
  dragging: b,
15274
15274
  dependencies: [x.x, x.y],
15275
15275
  config: R.droppable
15276
- }), re = C6(v, y), q = Te(() => ae ? md(ae) : null, [ae]), de = It(), Z = I6(re, R.draggable.measure);
15276
+ }), re = C6(v, y), q = we(() => ae ? md(ae) : null, [ae]), de = It(), Z = I6(re, R.draggable.measure);
15277
15277
  P6({
15278
15278
  activeNode: y != null ? v.get(y) : null,
15279
15279
  config: de.layoutShiftCompensation,
@@ -15528,7 +15528,7 @@ const wd = /* @__PURE__ */ Z2(function(t) {
15528
15528
  scrollableAncestors: xt,
15529
15529
  scrollableAncestorRects: On
15530
15530
  });
15531
- const mr = Te(() => ({
15531
+ const mr = we(() => ({
15532
15532
  active: H,
15533
15533
  activeNode: re,
15534
15534
  activeNodeRect: ue,
@@ -15546,7 +15546,7 @@ const wd = /* @__PURE__ */ Z2(function(t) {
15546
15546
  measuringConfiguration: R,
15547
15547
  measuringScheduled: J,
15548
15548
  windowRect: An
15549
- }), [H, re, ue, ae, Fn, Fe, Me, v, k, N, Wt, j, xt, On, R, J, An]), zt = Te(() => ({
15549
+ }), [H, re, ue, ae, Fn, Fe, Me, v, k, N, Wt, j, xt, On, R, J, An]), zt = we(() => ({
15550
15550
  activatorEvent: ae,
15551
15551
  activators: Rr,
15552
15552
  active: H,
@@ -15617,7 +15617,7 @@ function j6(e) {
15617
15617
  // eslint-disable-next-line react-hooks/exhaustive-deps
15618
15618
  [g, t]
15619
15619
  );
15620
- const v = Te(() => ({
15620
+ const v = we(() => ({
15621
15621
  role: I,
15622
15622
  tabIndex: d,
15623
15623
  "aria-disabled": r,
@@ -15833,13 +15833,13 @@ function Sd(e) {
15833
15833
  droppableRects: s,
15834
15834
  over: l,
15835
15835
  measureDroppableContainers: u
15836
- } = U6(), g = ks(FQ, n), E = a.rect !== null, I = Te(() => r.map((b) => typeof b == "object" && "id" in b ? b.id : b), [r]), f = i != null, d = i ? I.indexOf(i.id) : -1, C = l ? I.indexOf(l.id) : -1, h = Pe(I), B = !z6(I, h.current), p = C !== -1 && d === -1 || B, Q = Y6(o);
15836
+ } = U6(), g = ks(FQ, n), E = a.rect !== null, I = we(() => r.map((b) => typeof b == "object" && "id" in b ? b.id : b), [r]), f = i != null, d = i ? I.indexOf(i.id) : -1, C = l ? I.indexOf(l.id) : -1, h = Pe(I), B = !z6(I, h.current), p = C !== -1 && d === -1 || B, Q = Y6(o);
15837
15837
  fA(() => {
15838
15838
  B && f && u(I);
15839
15839
  }, [B, I, f, u]), pe(() => {
15840
15840
  h.current = I;
15841
15841
  }, [I]);
15842
- const m = Te(
15842
+ const m = we(
15843
15843
  () => ({
15844
15844
  activeIndex: d,
15845
15845
  containerId: g,
@@ -15939,14 +15939,14 @@ function YC(e) {
15939
15939
  overIndex: C,
15940
15940
  useDragOverlay: h,
15941
15941
  strategy: B
15942
- } = Ve(NQ), p = t_(r, I), Q = u.indexOf(i), m = Te(() => ({
15942
+ } = Ve(NQ), p = t_(r, I), Q = u.indexOf(i), m = we(() => ({
15943
15943
  sortable: {
15944
15944
  containerId: g,
15945
15945
  index: Q,
15946
15946
  items: u
15947
15947
  },
15948
15948
  ...A
15949
- }), [g, A, Q, u]), b = Te(() => u.slice(u.indexOf(i)), [u, i]), {
15949
+ }), [g, A, Q, u]), b = we(() => u.slice(u.indexOf(i)), [u, i]), {
15950
15950
  rect: y,
15951
15951
  node: v,
15952
15952
  isOver: x,
@@ -16422,7 +16422,7 @@ const n_ = T(V)`
16422
16422
  }, [g, t]), pe(() => {
16423
16423
  d[t] && y((N) => RI(N, d[t] || []));
16424
16424
  }, [d, t]);
16425
- const k = Te(() => !Array.isArray(n) || n.length !== B.length ? !1 : n.every((N) => B.some(({ id: j }) => j === N)), [n, B]), _ = Te(() => Array.isArray(A) ? A.length ? !!(A != null && A.every((N) => Q.name === N)) : !Object.keys(Q).length : !1, [A, Q]), F = Te(() => {
16425
+ const k = we(() => !Array.isArray(n) || n.length !== B.length ? !1 : n.every((N) => B.some(({ id: j }) => j === N)), [n, B]), _ = we(() => Array.isArray(A) ? A.length ? !!(A != null && A.every((N) => Q.name === N)) : !Object.keys(Q).length : !1, [A, Q]), F = we(() => {
16426
16426
  const N = d[t] || [];
16427
16427
  if (!Array.isArray(a)) return !1;
16428
16428
  const j = RI(a, N);
@@ -16433,7 +16433,7 @@ const n_ = T(V)`
16433
16433
  return !1;
16434
16434
  }
16435
16435
  return !0;
16436
- }, [a, b, d, t]), H = B.length !== 0 && b.filter((N) => N.enabled).length === 0, D = C === Ne.LOADING || k && _ && F || H, ne = Te(() => !!(a != null && a.some((N) => N.isFieldNew)), [a]), ge = h && JC(t, h), Ie = ls(l) && ne && !ge ? jQ : "", K = (N) => {
16436
+ }, [a, b, d, t]), H = B.length !== 0 && b.filter((N) => N.enabled).length === 0, D = C === Ne.LOADING || k && _ && F || H, ne = we(() => !!(a != null && a.some((N) => N.isFieldNew)), [a]), ge = h && JC(t, h), Ie = ls(l) && ne && !ge ? jQ : "", K = (N) => {
16437
16437
  N.stopPropagation();
16438
16438
  const j = Q != null && Q.name ? [Q.name] : [], J = B.map((q) => q.id), re = b.map((q, de) => ({ ...q, priority: de + 1 }));
16439
16439
  g(
@@ -16561,11 +16561,11 @@ const m_ = T(V)`
16561
16561
  g(x), !x && B && (l_(e.id, B), E && s_(e.id, B));
16562
16562
  }, Q = () => {
16563
16563
  g(!0), C(yt.CONFIGURE_VISIBILITY_CLICKED);
16564
- }, m = Te(
16564
+ }, m = we(
16565
16565
  () => ls(f) && a && B && !c_(e.id, B),
16566
16566
  /* eslint-disable-next-line react-hooks/exhaustive-deps */
16567
16567
  [f, e, B, u, a]
16568
- ), b = Te(
16568
+ ), b = we(
16569
16569
  () => B && ls(f) && i.some((x) => x.isFieldNew) && !JC(e.id, B),
16570
16570
  /* eslint-disable-next-line react-hooks/exhaustive-deps */
16571
16571
  [f, e, B, u, i]
@@ -18915,14 +18915,14 @@ const U8 = /* @__PURE__ */ Yc(KQ);
18915
18915
  if (U)
18916
18916
  throw new Error("Cannot buffer while already buffering");
18917
18917
  U = !0;
18918
- }, we = function() {
18918
+ }, Te = function() {
18919
18919
  U = !1;
18920
18920
  var L = O;
18921
18921
  return O = [], L;
18922
18922
  }, Qe = function() {
18923
- return we().join("");
18923
+ return Te().join("");
18924
18924
  }, he = function() {
18925
- var L = we();
18925
+ var L = Te();
18926
18926
  L.length > 0 && lr(L);
18927
18927
  }, Je = function() {
18928
18928
  return Object.keys(kn);
@@ -24478,7 +24478,7 @@ var sm = function(t) {
24478
24478
  zIndex: 1
24479
24479
  };
24480
24480
  }, _F = function(t) {
24481
- var n = t.appendTo, r = t.children, A = t.controlElement, o = t.innerProps, i = t.menuPlacement, a = t.menuPosition, s = Pe(null), l = Pe(null), u = te(sm(i)), g = yn(u, 2), E = g[0], I = g[1], f = Te(function() {
24481
+ var n = t.appendTo, r = t.children, A = t.controlElement, o = t.innerProps, i = t.menuPlacement, a = t.menuPosition, s = Pe(null), l = Pe(null), u = te(sm(i)), g = yn(u, 2), E = g[0], I = g[1], f = we(function() {
24482
24482
  return {
24483
24483
  setPortalPlacement: I
24484
24484
  };
@@ -25084,9 +25084,9 @@ var ON = process.env.NODE_ENV === "production" ? {
25084
25084
  return "".concat(r).concat(n ? " for search term " + n : "", ".");
25085
25085
  }
25086
25086
  }, NN = function(t) {
25087
- var n = t.ariaSelection, r = t.focusedOption, A = t.focusedValue, o = t.focusableOptions, i = t.isFocused, a = t.selectValue, s = t.selectProps, l = t.id, u = t.isAppleDevice, g = s.ariaLiveMessages, E = s.getOptionLabel, I = s.inputValue, f = s.isMulti, d = s.isOptionDisabled, C = s.isSearchable, h = s.menuIsOpen, B = s.options, p = s.screenReaderStatus, Q = s.tabSelectsValue, m = s.isLoading, b = s["aria-label"], y = s["aria-live"], v = Te(function() {
25087
+ var n = t.ariaSelection, r = t.focusedOption, A = t.focusedValue, o = t.focusableOptions, i = t.isFocused, a = t.selectValue, s = t.selectProps, l = t.id, u = t.isAppleDevice, g = s.ariaLiveMessages, E = s.getOptionLabel, I = s.inputValue, f = s.isMulti, d = s.isOptionDisabled, C = s.isSearchable, h = s.menuIsOpen, B = s.options, p = s.screenReaderStatus, Q = s.tabSelectsValue, m = s.isLoading, b = s["aria-label"], y = s["aria-live"], v = we(function() {
25088
25088
  return Ue(Ue({}, FN), g || {});
25089
- }, [g]), x = Te(function() {
25089
+ }, [g]), x = we(function() {
25090
25090
  var ne = "";
25091
25091
  if (n && v.onChange) {
25092
25092
  var ge = n.option, ae = n.options, Ie = n.removedValue, K = n.removedValues, M = n.value, G = function(de) {
@@ -25101,7 +25101,7 @@ var ON = process.env.NODE_ENV === "production" ? {
25101
25101
  ne = v.onChange(re);
25102
25102
  }
25103
25103
  return ne;
25104
- }, [n, v, d, a, E]), k = Te(function() {
25104
+ }, [n, v, d, a, E]), k = we(function() {
25105
25105
  var ne = "", ge = r || A, ae = !!(r && a && a.includes(r));
25106
25106
  if (ge && v.onFocus) {
25107
25107
  var Ie = {
@@ -25117,7 +25117,7 @@ var ON = process.env.NODE_ENV === "production" ? {
25117
25117
  ne = v.onFocus(Ie);
25118
25118
  }
25119
25119
  return ne;
25120
- }, [r, A, E, d, v, o, a, u]), _ = Te(function() {
25120
+ }, [r, A, E, d, v, o, a, u]), _ = we(function() {
25121
25121
  var ne = "";
25122
25122
  if (h && B.length && !m && v.onFilter) {
25123
25123
  var ge = p({
@@ -25129,7 +25129,7 @@ var ON = process.env.NODE_ENV === "production" ? {
25129
25129
  });
25130
25130
  }
25131
25131
  return ne;
25132
- }, [o, I, h, v, B, p, m]), F = (n == null ? void 0 : n.action) === "initial-input-focus", H = Te(function() {
25132
+ }, [o, I, h, v, B, p, m]), F = (n == null ? void 0 : n.action) === "initial-input-focus", H = we(function() {
25133
25133
  var ne = "";
25134
25134
  if (v.guidance) {
25135
25135
  var ge = A ? "value" : h ? "menu" : "input";
@@ -26770,9 +26770,12 @@ const pP = T(fe)`
26770
26770
  display: flex;
26771
26771
  align-items: center;
26772
26772
  gap: 2px;
26773
- font-family: ${ce.typography.fontFamily};
26773
+ font-family: Inter, 'Open Sans', sans-serif;
26774
26774
  font-size: 13px;
26775
- color: ${ce.palette.gray.gray1};
26775
+ font-weight: 400;
26776
+ line-height: 19px;
26777
+ letter-spacing: -0.005em;
26778
+ color: ${ce.palette.gray.black};
26776
26779
  & > span {
26777
26780
  max-width: 100%;
26778
26781
  overflow-wrap: break-word;
@@ -26876,7 +26879,7 @@ const mP = T(fe)`
26876
26879
  isMulti: t,
26877
26880
  isScrollTarget: n
26878
26881
  }) => {
26879
- const r = Pe(), A = Te(() => e ? Object.fromEntries(e.map((a) => [a.value, a])) : {}, [e]);
26882
+ const r = Pe(), A = we(() => e ? Object.fromEntries(e.map((a) => [a.value, a])) : {}, [e]);
26880
26883
  return {
26881
26884
  optionsMap: A,
26882
26885
  getValue: (a) => {
@@ -26994,12 +26997,12 @@ var TP = /* @__PURE__ */ Vc(function(e, t) {
26994
26997
  }
26995
26998
  };
26996
26999
  function RP(e) {
26997
- var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, A = r === void 0 ? "last" : r, o = e.formatCreateLabel, i = o === void 0 ? yg.formatCreateLabel : o, a = e.isValidNewOption, s = a === void 0 ? yg.isValidNewOption : a, l = e.getNewOptionData, u = l === void 0 ? yg.getNewOptionData : l, g = e.onCreateOption, E = e.options, I = E === void 0 ? [] : E, f = e.onChange, d = Xr(e, _P), C = d.getOptionValue, h = C === void 0 ? pm : C, B = d.getOptionLabel, p = B === void 0 ? hm : B, Q = d.inputValue, m = d.isLoading, b = d.isMulti, y = d.value, v = d.name, x = Te(function() {
27000
+ var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, A = r === void 0 ? "last" : r, o = e.formatCreateLabel, i = o === void 0 ? yg.formatCreateLabel : o, a = e.isValidNewOption, s = a === void 0 ? yg.isValidNewOption : a, l = e.getNewOptionData, u = l === void 0 ? yg.getNewOptionData : l, g = e.onCreateOption, E = e.options, I = E === void 0 ? [] : E, f = e.onChange, d = Xr(e, _P), C = d.getOptionValue, h = C === void 0 ? pm : C, B = d.getOptionLabel, p = B === void 0 ? hm : B, Q = d.inputValue, m = d.isLoading, b = d.isMulti, y = d.value, v = d.name, x = we(function() {
26998
27001
  return s(Q, Oc(y), I, {
26999
27002
  getOptionValue: h,
27000
27003
  getOptionLabel: p
27001
27004
  }) ? u(Q, i(Q)) : void 0;
27002
- }, [i, u, p, h, Q, s, I, y]), k = Te(function() {
27005
+ }, [i, u, p, h, Q, s, I, y]), k = we(function() {
27003
27006
  return (n || !m) && x ? A === "first" ? [x].concat(bi(I)) : [].concat(bi(I), [x]) : I;
27004
27007
  }, [n, A, m, x, I]), _ = nt(function(F, H) {
27005
27008
  if (H.action !== "select-option")
@@ -27512,7 +27515,7 @@ const tk = {
27512
27515
  }, Gm = ({ label: e, isRequired: t, prefixNode: n, ...r }) => e ? /* @__PURE__ */ c.jsxs(
27513
27516
  ie,
27514
27517
  {
27515
- variant: "h4",
27518
+ variant: "body_sm_medium",
27516
27519
  component: "label",
27517
27520
  color: ce.palette.gray.gray1,
27518
27521
  className: "hiver__field--label",
@@ -27550,7 +27553,7 @@ const tk = {
27550
27553
  onFocus: I,
27551
27554
  onValidationError: f
27552
27555
  }) => {
27553
- const d = t ?? [], C = (A == null ? void 0 : A.validations) ?? {}, h = Pe(), B = Pe({}), [p, Q] = te({}), { colsLength: m, colsTemplate: b, colWidth: y } = Te(() => {
27556
+ const d = t ?? [], C = (A == null ? void 0 : A.validations) ?? {}, h = Pe(), B = Pe({}), [p, Q] = te({}), { colsLength: m, colsTemplate: b, colWidth: y } = we(() => {
27554
27557
  let R = 0, N = "";
27555
27558
  for (const j of r) {
27556
27559
  let J = j.cols ? Number(j.cols) : 1;
@@ -27561,7 +27564,7 @@ const tk = {
27561
27564
  colsTemplate: N.trim(),
27562
27565
  colWidth: `${isNaN(a) ? Hm : a}px`
27563
27566
  };
27564
- }, [r, a, i]), { fieldDependency: v, fieldConfigs: x } = Te(() => {
27567
+ }, [r, a, i]), { fieldDependency: v, fieldConfigs: x } = we(() => {
27565
27568
  const R = {}, N = {};
27566
27569
  for (const j of r) {
27567
27570
  if (!j.valueConfig)
@@ -27763,6 +27766,7 @@ const Ek = T(fe)`
27763
27766
  }
27764
27767
  & .MuiOutlinedInput-root {
27765
27768
  font-size: 13px;
27769
+ line-height: 19px;
27766
27770
  }
27767
27771
  &.MuiInputBase-root.MuiInputBase-multiline {
27768
27772
  padding: 0px 0px;
@@ -27780,7 +27784,7 @@ const Ek = T(fe)`
27780
27784
  & .formField__select {
27781
27785
  font-size: 13px;
27782
27786
  font-weight: 400;
27783
- line-height: 20px;
27787
+ line-height: 19px;
27784
27788
  color: #3e4c5a;
27785
27789
  }
27786
27790
  & .hiverFormField__menu-list {
@@ -28275,7 +28279,7 @@ const WB = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, _
28275
28279
  if (!Ok.test(n))
28276
28280
  return Lk;
28277
28281
  }, Nk = ({ argsMap: e, optionalArgsMap: t, data: n }) => {
28278
- const { args: r, enabled: A } = Te(() => {
28282
+ const { args: r, enabled: A } = we(() => {
28279
28283
  const o = {};
28280
28284
  for (const i in e) {
28281
28285
  const a = e[i], s = n[a];
@@ -28305,7 +28309,7 @@ const WB = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, _
28305
28309
  }, o);
28306
28310
  return () => clearTimeout(B);
28307
28311
  }, [e, t, n, r, o]);
28308
- const l = Te(() => {
28312
+ const l = we(() => {
28309
28313
  var B, p;
28310
28314
  return {
28311
28315
  searchTerm: a.searchTerm,
@@ -28321,7 +28325,7 @@ const WB = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, _
28321
28325
  refetchOnMount: !0
28322
28326
  });
28323
28327
  return {
28324
- options: Te(() => (u == null ? void 0 : u.pages.flatMap((B) => B.options)) ?? [], [u]),
28328
+ options: we(() => (u == null ? void 0 : u.pages.flatMap((B) => B.options)) ?? [], [u]),
28325
28329
  isLoading: g,
28326
28330
  isError: E,
28327
28331
  isFetching: I,
@@ -28487,7 +28491,7 @@ const WB = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, _
28487
28491
  fetchOptions: u
28488
28492
  }) => {
28489
28493
  var ge;
28490
- const [g, E] = te(""), { selectedOption: I, selectedValue: f } = Te(() => YB(t) ? {
28494
+ const [g, E] = te(""), { selectedOption: I, selectedValue: f } = we(() => YB(t) ? {
28491
28495
  selectedOption: t,
28492
28496
  selectedValue: t.value
28493
28497
  } : {
@@ -28508,17 +28512,17 @@ const WB = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, _
28508
28512
  onIntersect: () => B(),
28509
28513
  threshold: 0.1,
28510
28514
  enabled: y
28511
- }), k = Te(() => {
28515
+ }), k = we(() => {
28512
28516
  let ae = h;
28513
28517
  I && (ae = [I], ae.push(...h.filter((K) => K.value !== I.value)));
28514
28518
  const Ie = g.trim().toLowerCase();
28515
28519
  return !Ie || s ? ae : ae.filter((K) => String(K.label).toLowerCase().includes(Ie));
28516
- }, [h, g, I, s]), _ = Te(() => {
28520
+ }, [h, g, I, s]), _ = we(() => {
28517
28521
  const ae = {};
28518
28522
  for (const Ie of h)
28519
28523
  ae[Ie.value] = Ie.label;
28520
28524
  return ae;
28521
- }, [h]), F = Te(() => YB(t) ? t.label : _[String(t)] ?? String(t), [_, t]), H = (ae) => {
28525
+ }, [h]), F = we(() => YB(t) ? t.label : _[String(t)] ?? String(t), [_, t]), H = (ae) => {
28522
28526
  const Ie = String(ae.target.value);
28523
28527
  if (Ie === zB)
28524
28528
  return;
@@ -28633,11 +28637,10 @@ const WB = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, _
28633
28637
  max-height: 343.2px;
28634
28638
  overflow-y: auto;
28635
28639
  overflow-x: hidden;
28636
- padding: 8px 0;
28640
+ padding: 8px 0 16px;
28637
28641
  `, qk = T(fe)`
28638
28642
  padding: 8px 20px;
28639
- height: 24px;
28640
- width: 246px;
28643
+ width: 100%;
28641
28644
  display: flex;
28642
28645
  align-items: center;
28643
28646
  cursor: pointer;
@@ -28709,12 +28712,12 @@ const WB = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, _
28709
28712
  border: 1px solid #eceff6;
28710
28713
  }
28711
28714
  `, nM = T(fe)`
28712
- padding: 8px;
28715
+ padding: 8px 0 8px 8px;
28713
28716
  display: flex;
28714
28717
  align-items: center;
28715
28718
  justify-content: center;
28716
28719
  `, rM = ({ variables: e, onOptionClick: t }) => {
28717
- const [n, r] = te(""), A = Te(() => e.filter((i) => i.title.toLowerCase().includes(n.toLowerCase())), [e, n]), o = (i) => {
28720
+ const [n, r] = te(""), A = we(() => e.filter((i) => i.title.toLowerCase().includes(n.toLowerCase())), [e, n]), o = (i) => {
28718
28721
  var a;
28719
28722
  r(((a = i == null ? void 0 : i.target) == null ? void 0 : a.value) || "");
28720
28723
  };
@@ -29036,7 +29039,7 @@ const WB = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, _
29036
29039
  onFieldChange: u
29037
29040
  }) => {
29038
29041
  var Q;
29039
- const [g, E] = te(Il.DEFAULT), I = Te(() => lk(500), []), f = (m) => {
29042
+ const [g, E] = te(Il.DEFAULT), I = we(() => lk(500), []), f = (m) => {
29040
29043
  l((b) => ({ ...b, [e.name]: m })), I(() => {
29041
29044
  u == null || u({ name: e.name, value: m, type: e.type });
29042
29045
  });
@@ -29203,7 +29206,7 @@ const FM = ({
29203
29206
  onCancel: I,
29204
29207
  onFieldChange: f
29205
29208
  }) => {
29206
- const [d, C] = te({}), [h, B] = te({}), p = Te(() => {
29209
+ const [d, C] = te({}), [h, B] = te({}), p = we(() => {
29207
29210
  if (!Array.isArray(r) || !r.length) return [];
29208
29211
  const x = /* @__PURE__ */ new Set();
29209
29212
  return r.filter((_) => x.has(_.name) ? !1 : (x.add(_.name), !0)).sort((_, F) => _.priority - F.priority);
@@ -29982,10 +29985,10 @@ const zM = (e, t) => {
29982
29985
  authStatus: A,
29983
29986
  authMutate: o
29984
29987
  }) => {
29985
- const { sendTrackingEvent: i, availableFeatures: a } = Ve(pn), [s, l] = nC(tj, ej), [u, g] = te(!1), E = r ? r.name : "", I = r ? r.description : "", f = r ? r.isAuthenticated : !1, d = (r == null ? void 0 : r.advancedSettingsFields) ?? [], C = Np(a), h = r == null ? void 0 : r.oneClickAuthEnabled, B = (r == null ? void 0 : r.hiddenFields) ?? [], { variableConfigs: p, variableKeys: Q } = Te(() => {
29988
+ const { sendTrackingEvent: i, availableFeatures: a } = Ve(pn), [s, l] = nC(tj, ej), [u, g] = te(!1), E = r ? r.name : "", I = r ? r.description : "", f = r ? r.isAuthenticated : !1, d = (r == null ? void 0 : r.advancedSettingsFields) ?? [], C = Np(a), h = r == null ? void 0 : r.oneClickAuthEnabled, B = (r == null ? void 0 : r.hiddenFields) ?? [], { variableConfigs: p, variableKeys: Q } = we(() => {
29986
29989
  const K = r && r.variablesConfig ? r.variablesConfig : [], M = Object.fromEntries(K.map((G) => [G.name, G.name]));
29987
29990
  return { variableConfigs: K, variableKeys: M };
29988
- }, [r]), m = Te(() => !C || !(r != null && r.interpolationFields) ? {} : YM(r == null ? void 0 : r.interpolationFields), [r == null ? void 0 : r.interpolationFields, C]);
29991
+ }, [r]), m = we(() => !C || !(r != null && r.interpolationFields) ? {} : YM(r == null ? void 0 : r.interpolationFields), [r == null ? void 0 : r.interpolationFields, C]);
29989
29992
  pe(() => {
29990
29993
  var K;
29991
29994
  if (r != null && r.authDetails) {
@@ -30333,7 +30336,7 @@ const vj = T(V)`
30333
30336
  return Promise.reject(n);
30334
30337
  }
30335
30338
  }, Rj = ({ connectorId: e, onSuccess: t }) => {
30336
- const n = ni(), r = Te(() => ["authDetails", { connectorId: e }], [e]), { data: A } = ri({
30339
+ const n = ni(), r = we(() => ["authDetails", { connectorId: e }], [e]), { data: A } = ri({
30337
30340
  queryKey: r,
30338
30341
  queryFn: () => Promise.resolve({
30339
30342
  authUrl: "",
@@ -30382,7 +30385,7 @@ const vj = T(V)`
30382
30385
  return Promise.reject(n);
30383
30386
  }
30384
30387
  }, Oj = ({ connectorId: e, enabled: t = !1 }) => {
30385
- const n = ni(), r = Te(() => ["authSuccessStatus", { connectorId: e }], [e]), A = ri({
30388
+ const n = ni(), r = we(() => ["authSuccessStatus", { connectorId: e }], [e]), A = ri({
30386
30389
  queryKey: r,
30387
30390
  queryFn: () => Dj(e),
30388
30391
  refetchInterval: (o) => {
@@ -30572,7 +30575,7 @@ const vj = T(V)`
30572
30575
  userId: n
30573
30576
  }) => {
30574
30577
  var A;
30575
- const r = Te(() => Mj(e), [e]);
30578
+ const r = we(() => Mj(e), [e]);
30576
30579
  return (A = t == null ? void 0 : t.templateUpdates) != null && A.version && n && (a_(t.templateUpdates.version), u_(n)), /* @__PURE__ */ c.jsx(nQ, { router: r });
30577
30580
  }, Uj = T(fe)`
30578
30581
  padding: 43px 0px 0 35px;
@@ -31868,7 +31871,7 @@ const za = {
31868
31871
  }).addCase(wi.pending, (t) => {
31869
31872
  t.cardCustomFieldsApiStatus = xe.LOADING;
31870
31873
  }).addCase(wi.fulfilled, (t, n) => {
31871
- t.cardCustomFieldsApiStatus = xe.IDLE;
31874
+ t.cardCustomFieldsApiStatus = xe.SUCCESS;
31872
31875
  const { cardId: r, customFields: A } = n.payload;
31873
31876
  t.cardCustomFields = {
31874
31877
  ...t.cardCustomFields,
@@ -32238,7 +32241,7 @@ const za = {
32238
32241
  }, KV = ({ children: e }) => {
32239
32242
  const [t] = te(() => new O0());
32240
32243
  return /* @__PURE__ */ c.jsx(P0, { client: t, children: e });
32241
- }, qV = (e) => /* @__PURE__ */ c.jsx(Wh, { custom: !0, children: /* @__PURE__ */ c.jsx(Gh, { fallback: /* @__PURE__ */ c.jsx(c.Fragment, {}), children: /* @__PURE__ */ c.jsx(KV, { children: /* @__PURE__ */ c.jsx(XV, { ...e }) }) }) }), ZV = (e) => /* @__PURE__ */ c.jsx(cp, { store: YV, children: /* @__PURE__ */ c.jsx(qV, { ...e }) }), ot = {
32244
+ }, qV = (e) => /* @__PURE__ */ c.jsx(Wh, { inter: !0, children: /* @__PURE__ */ c.jsx(Gh, { fallback: /* @__PURE__ */ c.jsx(c.Fragment, {}), children: /* @__PURE__ */ c.jsx(KV, { children: /* @__PURE__ */ c.jsx(XV, { ...e }) }) }) }), ZV = (e) => /* @__PURE__ */ c.jsx(cp, { store: YV, children: /* @__PURE__ */ c.jsx(qV, { ...e }) }), ot = {
32242
32245
  BASEPATH: "/",
32243
32246
  API_VIEW: "connector/api-view",
32244
32247
  CONNECTOR_INITIAL_SETUP: "connector/setup",
@@ -32869,7 +32872,7 @@ const za = {
32869
32872
  }, s = ({ id: g, name: E }) => /* @__PURE__ */ c.jsxs(oo, { className: "py-2! px-5! items-center gap-3", onClick: () => n(g), children: [
32870
32873
  /* @__PURE__ */ c.jsx(OH, {}),
32871
32874
  /* @__PURE__ */ c.jsx("span", { className: "text-body2", children: E })
32872
- ] }, g), l = Te(
32875
+ ] }, g), l = we(
32873
32876
  () => (i == null ? void 0 : i.filter((g) => g.name.toString().toLowerCase().includes(A == null ? void 0 : A.toLowerCase()))) || [],
32874
32877
  [i, A]
32875
32878
  ), u = l.length === 0;
@@ -32954,7 +32957,7 @@ const za = {
32954
32957
  /* @__PURE__ */ c.jsx(FH, { open: n, onClose: u, onInboxClick: g })
32955
32958
  ] });
32956
32959
  }, HE = ({ isApi: e, connectorType: t }) => {
32957
- const n = je(nH), r = je(rH), A = Te(() => {
32960
+ const n = je(nH), r = je(rH), A = we(() => {
32958
32961
  var i;
32959
32962
  return e ? (((i = r == null ? void 0 : r.find((s) => s.connector_type === t)) == null ? void 0 : i.apis) || []).map((s) => ({
32960
32963
  label: s.name,
@@ -32981,7 +32984,7 @@ const za = {
32981
32984
  pl.info(`All done in ${F - v} ms ###`);
32982
32985
  })();
32983
32986
  }, [e]);
32984
- const Q = Te(() => {
32987
+ const Q = we(() => {
32985
32988
  if (l && E === xe.SUCCESS)
32986
32989
  return xE(l);
32987
32990
  }, [l, E]);
@@ -33362,7 +33365,7 @@ const za = {
33362
33365
  onSuccess: () => {
33363
33366
  l == null || l(), d.current = !0;
33364
33367
  }
33365
- }), p = Te(() => I != null && I.length ? [...n, ...I] : n, [n, I]), Q = (v) => {
33368
+ }), p = we(() => I != null && I.length ? [...n, ...I] : n, [n, I]), Q = (v) => {
33366
33369
  const x = dk(v, n ?? []);
33367
33370
  h(x);
33368
33371
  }, m = async ({ args: v, pagination: x }, { formId: k, fieldName: _ }) => {
@@ -33633,24 +33636,27 @@ const za = {
33633
33636
  showCreate: t,
33634
33637
  hasVisitedFieldVisBefore: n,
33635
33638
  preSelectTab: r,
33636
- setFields: A,
33637
- renderSortable: o
33639
+ customFieldsLoaded: A,
33640
+ setFields: o,
33641
+ renderSortable: i
33638
33642
  }) => {
33639
- const i = e.filter((f) => f.isFieldCustom), a = e.filter((f) => !f.isFieldCustom), [s, l] = te(() => r ?? $o.STANDARD), u = s === $o.CUSTOM ? i : a, g = (f, d) => {
33640
- A((C) => C.map((h) => h.key === f ? { ...h, ...d } : h));
33641
- }, E = u.map((f) => /* @__PURE__ */ c.jsx(
33643
+ const a = we(() => e.filter((d) => d.isFieldCustom), [e]), s = we(() => e.filter((d) => !d.isFieldCustom), [e]), [l, u] = te($o.STANDARD), g = l === $o.CUSTOM ? a : s, E = (d, C) => {
33644
+ o((h) => h.map((B) => B.key === d ? { ...B, ...C } : B));
33645
+ }, I = g.map((d) => /* @__PURE__ */ c.jsx(
33642
33646
  DW,
33643
33647
  {
33644
- field: f,
33645
- updateField: g,
33648
+ field: d,
33649
+ updateField: E,
33646
33650
  showCreate: t,
33647
33651
  hideNewChip: n
33648
33652
  },
33649
- f.key
33650
- )), I = i.length > 0 && a.length > 0;
33651
- return /* @__PURE__ */ c.jsxs(V, { direction: "column", gap: "24px", height: "100%", children: [
33652
- I ? /* @__PURE__ */ c.jsx(yW, { value: s, onTabClick: l }) : null,
33653
- /* @__PURE__ */ c.jsx(_W, { showCreate: t, children: /* @__PURE__ */ c.jsx(SW, { children: o(E) }) })
33653
+ d.key
33654
+ )), f = a.length > 0 && s.length > 0;
33655
+ return pe(() => {
33656
+ !A || !a.length || !r || u(r);
33657
+ }, [A, a, r]), /* @__PURE__ */ c.jsxs(V, { direction: "column", gap: "24px", height: "100%", children: [
33658
+ f ? /* @__PURE__ */ c.jsx(yW, { value: l, onTabClick: u }) : null,
33659
+ /* @__PURE__ */ c.jsx(_W, { showCreate: t, children: /* @__PURE__ */ c.jsx(SW, { children: i(I) }) })
33654
33660
  ] });
33655
33661
  }, LW = (e) => ({
33656
33662
  [e]: {
@@ -33753,15 +33759,15 @@ const za = {
33753
33759
  n[A.key] || r.push(A);
33754
33760
  }), r;
33755
33761
  }, R2 = (e) => hr(e, OU), D2 = ({ fields: e, showCreate: t, cardId: n, preSelectTab: r, setFields: A }) => {
33756
- const { availableFeatures: o } = Ve(Ot), i = pQ(hQ(du)), { userId: a } = BA() || {}, s = je(BG), l = (I) => {
33757
- const { active: f, over: d } = I;
33758
- (f == null ? void 0 : f.id) !== (d == null ? void 0 : d.id) && A((C) => {
33759
- const h = C.findIndex((p) => p.key === (f == null ? void 0 : f.id)), B = C.findIndex((p) => p.key === (d == null ? void 0 : d.id));
33760
- return fu(C, h, B);
33762
+ const { availableFeatures: o } = Ve(Ot), i = pQ(hQ(du)), { userId: a } = BA() || {}, s = je(BG), l = (f) => {
33763
+ const { active: d, over: C } = f;
33764
+ (d == null ? void 0 : d.id) !== (C == null ? void 0 : C.id) && A((h) => {
33765
+ const B = h.findIndex((Q) => Q.key === (d == null ? void 0 : d.id)), p = h.findIndex((Q) => Q.key === (C == null ? void 0 : C.id));
33766
+ return fu(h, B, p);
33761
33767
  });
33762
- }, u = !!(a && zE(n, a)), g = (I) => {
33763
- A((f) => f.map((d) => d.key === I ? { ...d, enabled: !d.enabled } : d));
33764
- }, E = R2(o);
33768
+ }, u = !!(a && zE(n, a)), g = (f) => {
33769
+ A((d) => d.map((C) => C.key === f ? { ...C, enabled: !C.enabled } : C));
33770
+ }, E = R2(o), I = s === xe.SUCCESS;
33765
33771
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
33766
33772
  E ? /* @__PURE__ */ c.jsx(
33767
33773
  OW,
@@ -33771,16 +33777,17 @@ const za = {
33771
33777
  hasVisitedFieldVisBefore: u,
33772
33778
  preSelectTab: r,
33773
33779
  setFields: A,
33774
- renderSortable: (I) => /* @__PURE__ */ c.jsx(wd, { sensors: i, collisionDetection: vd, onDragEnd: l, children: /* @__PURE__ */ c.jsx(Sd, { items: e.map((f) => f.key), strategy: Td, children: I }) })
33780
+ customFieldsLoaded: I,
33781
+ renderSortable: (f) => /* @__PURE__ */ c.jsx(wd, { sensors: i, collisionDetection: vd, onDragEnd: l, children: /* @__PURE__ */ c.jsx(Sd, { items: e.map((d) => d.key), strategy: Td, children: f }) })
33775
33782
  }
33776
- ) : /* @__PURE__ */ c.jsx(hW, { children: /* @__PURE__ */ c.jsx(wd, { sensors: i, collisionDetection: vd, onDragEnd: l, children: /* @__PURE__ */ c.jsx(Sd, { items: e.map((I) => I.key), strategy: Td, children: e.map((I) => /* @__PURE__ */ c.jsx(
33783
+ ) : /* @__PURE__ */ c.jsx(hW, { children: /* @__PURE__ */ c.jsx(wd, { sensors: i, collisionDetection: vd, onDragEnd: l, children: /* @__PURE__ */ c.jsx(Sd, { items: e.map((f) => f.key), strategy: Td, children: e.map((f) => /* @__PURE__ */ c.jsx(
33777
33784
  pW,
33778
33785
  {
33779
- field: I,
33786
+ field: f,
33780
33787
  toggleSelected: g,
33781
33788
  hideNewChip: u
33782
33789
  },
33783
- I.key
33790
+ f.key
33784
33791
  )) }) }) }),
33785
33792
  s === xe.LOADING ? /* @__PURE__ */ c.jsxs(V, { flexDirection: "row", alignItems: "center", gap: "8px", children: [
33786
33793
  /* @__PURE__ */ c.jsx(Gr, { size: 15 }),
@@ -33944,7 +33951,7 @@ const za = {
33944
33951
  }, [g, t]), pe(() => {
33945
33952
  d[t] && v((q) => vs(q, d[t] || []));
33946
33953
  }, [d, t]);
33947
- const _ = Te(() => !Array.isArray(n) || n.length !== p.length ? !1 : n.every((q) => p.some(({ id: de }) => de === q)), [n, p]), F = Te(() => Array.isArray(A) ? A.length ? !!(A != null && A.every((q) => m.name === q)) : !Object.keys(m).length : !1, [A, m]), H = Te(() => {
33954
+ const _ = we(() => !Array.isArray(n) || n.length !== p.length ? !1 : n.every((q) => p.some(({ id: de }) => de === q)), [n, p]), F = we(() => Array.isArray(A) ? A.length ? !!(A != null && A.every((q) => m.name === q)) : !Object.keys(m).length : !1, [A, m]), H = we(() => {
33948
33955
  const q = d[t] || [];
33949
33956
  if (!Array.isArray(a)) return !1;
33950
33957
  const de = vs(a, q);
@@ -33955,7 +33962,7 @@ const za = {
33955
33962
  return !1;
33956
33963
  }
33957
33964
  return !0;
33958
- }, [a, y, d, t]), D = p.length !== 0 && y.filter((q) => q.enabled).length === 0, ne = C === xe.LOADING || _ && F && H || D, ge = Te(() => !!(a != null && a.some((q) => q.isFieldNew)), [a]), ae = h && zE(t, h), K = Ki(l) && ge && !ae ? F2 : "", M = (q) => {
33965
+ }, [a, y, d, t]), D = p.length !== 0 && y.filter((q) => q.enabled).length === 0, ne = C === xe.LOADING || _ && F && H || D, ge = we(() => !!(a != null && a.some((q) => q.isFieldNew)), [a]), ae = h && zE(t, h), K = Ki(l) && ge && !ae ? F2 : "", M = (q) => {
33959
33966
  q.stopPropagation();
33960
33967
  const de = m != null && m.name ? [m.name] : [], Z = p.map((Fe) => Fe.id), ue = y.map((Fe, Y) => ({ ...Fe, priority: Y + 1 }));
33961
33968
  g(
@@ -34039,7 +34046,7 @@ const za = {
34039
34046
  }, [s, e]), pe(() => {
34040
34047
  E[e] && m((F) => vs(F, E[e] || []));
34041
34048
  }, [E, e]);
34042
- const b = Te(() => !Array.isArray(n) || n.length !== C.length ? !1 : n.every((F) => C.some(({ id: H }) => H === F)), [n, C]), y = Te(() => Array.isArray(r) ? r.length ? !!(r != null && r.every((F) => B.name === F)) : !Object.keys(B).length : !1, [r, B]), v = I === xe.LOADING || b && y, x = (F) => {
34049
+ const b = we(() => !Array.isArray(n) || n.length !== C.length ? !1 : n.every((F) => C.some(({ id: H }) => H === F)), [n, C]), y = we(() => Array.isArray(r) ? r.length ? !!(r != null && r.every((F) => B.name === F)) : !Object.keys(B).length : !1, [r, B]), v = I === xe.LOADING || b && y, x = (F) => {
34043
34050
  F.stopPropagation();
34044
34051
  const H = B != null && B.name ? [B.name] : [], D = C.map((ge) => ge.id), ne = Q.map((ge, ae) => ({ ...ge, priority: ae + 1 }));
34045
34052
  s(
@@ -34099,10 +34106,10 @@ const za = {
34099
34106
  handleClose: a
34100
34107
  }) => {
34101
34108
  var _;
34102
- const { sendTrackingEvent: s } = Ve(Ot), l = Qr(), u = je(vA), g = je(Ys), E = je(Ba), I = je(_E), f = je(SE), d = u == null ? void 0 : u[A], C = (_ = d == null ? void 0 : d.cardList) == null ? void 0 : _.find((F) => F.id === e), h = Te(
34109
+ const { sendTrackingEvent: s } = Ve(Ot), l = Qr(), u = je(vA), g = je(Ys), E = je(Ba), I = je(_E), f = je(SE), d = u == null ? void 0 : u[A], C = (_ = d == null ? void 0 : d.cardList) == null ? void 0 : _.find((F) => F.id === e), h = we(
34103
34110
  () => (E == null ? void 0 : E.filter((F) => n == null ? void 0 : n.includes(F.id))) ?? [],
34104
34111
  [n, E]
34105
- ), B = Te(
34112
+ ), B = we(
34106
34113
  () => (g == null ? void 0 : g.find((F) => r == null ? void 0 : r.includes(F.name))) ?? {},
34107
34114
  [r, g]
34108
34115
  ), [p, Q] = te(() => (C == null ? void 0 : C.fields) ?? []);
@@ -34111,7 +34118,7 @@ const za = {
34111
34118
  }, [l, e]), pe(() => {
34112
34119
  I[e] && Q((F) => vs(F, I[e] || []));
34113
34120
  }, [I, e]);
34114
- const m = Te(() => {
34121
+ const m = we(() => {
34115
34122
  const F = I[e] || [];
34116
34123
  if (!Array.isArray(o)) return !1;
34117
34124
  const H = vs(o, F);
@@ -34241,7 +34248,7 @@ const Ch = T(Gn)`
34241
34248
  setShowEnabledModal: r
34242
34249
  }) => {
34243
34250
  var de, Z, ue;
34244
- const A = Qr(), o = ((de = e.inboxes) == null ? void 0 : de.email) || [], i = ((Z = e.inboxes) == null ? void 0 : Z.chat) || [], a = e.roles ?? [], s = e.fields ?? [], { isCardNew: l = !1 } = e, u = o.length + i.length, g = u > 0 && a.length > 0, [E] = Ai(), I = E.get("editCard"), f = I === e.key || I === e.id, [d, C] = te(!1), [h, B] = te(!1), [p, Q] = te(!1), [m, b] = te(f), [y, v] = te(!1), { availableFeatures: x, userPermissions: k, sendTrackingEvent: _, variables: F = [] } = Ve(Ot), H = R2(x), D = kU(k), ne = je(QG), ge = je(vA), ae = Te(
34251
+ const A = Qr(), o = ((de = e.inboxes) == null ? void 0 : de.email) || [], i = ((Z = e.inboxes) == null ? void 0 : Z.chat) || [], a = e.roles ?? [], s = e.fields ?? [], { isCardNew: l = !1 } = e, u = o.length + i.length, g = u > 0 && a.length > 0, [E] = Ai(), I = E.get("editCard"), f = I === e.key || I === e.id, [d, C] = te(!1), [h, B] = te(!1), [p, Q] = te(!1), [m, b] = te(f), [y, v] = te(!1), { availableFeatures: x, userPermissions: k, sendTrackingEvent: _, variables: F = [] } = Ve(Ot), H = R2(x), D = kU(k), ne = je(QG), ge = je(vA), ae = we(
34245
34252
  () => Object.values(ne).some((Fe) => Fe === xe.LOADING),
34246
34253
  [ne]
34247
34254
  ), Ie = e.cardKey ? ne[e.cardKey] === xe.LOADING : !1, { userId: K } = BA() || {}, { data: M, isLoading: G } = uW({
@@ -34262,11 +34269,11 @@ const Ch = T(Gn)`
34262
34269
  connector_name: (Fe = ge == null ? void 0 : ge[t]) == null ? void 0 : Fe.name,
34263
34270
  card_title: e.title
34264
34271
  }), b(!0);
34265
- }, re = Te(
34272
+ }, re = we(
34266
34273
  () => Ki(x) && l && K && e.isEnabledCustomCard && !kW(e.id, K),
34267
34274
  /* eslint-disable-next-line react-hooks/exhaustive-deps */
34268
34275
  [x, e, K, d, l]
34269
- ), q = Te(
34276
+ ), q = we(
34270
34277
  () => K && Ki(x) && s.some((Fe) => Fe.isFieldNew) && e.isEnabledCustomCard && !zE(e.id, K),
34271
34278
  /* eslint-disable-next-line react-hooks/exhaustive-deps */
34272
34279
  [x, e, K, d, s]
@@ -35545,7 +35552,7 @@ const lY = T(ie)`
35545
35552
  authStatus: o,
35546
35553
  authMutate: i
35547
35554
  }) => {
35548
- const { sendTrackingEvent: a, availableFeatures: s } = Ve(Ot), [l, u] = nC(aY, iY), [g, E] = te(!1), I = r ? r.name : "", f = r ? r.description : "", d = r ? r.isAuthenticated : !1, C = r ? r.showUpgradeButton : !1, h = (r == null ? void 0 : r.advancedSettingsFields) ?? [], B = r2(s), p = r == null ? void 0 : r.oneClickAuthEnabled, Q = (r == null ? void 0 : r.hiddenFields) ?? [], m = Te(() => !B || !(r != null && r.interpolationFields) ? {} : $z(r == null ? void 0 : r.interpolationFields), [r == null ? void 0 : r.interpolationFields, B]), { variableConfigs: b, variableKeys: y } = Te(() => {
35555
+ const { sendTrackingEvent: a, availableFeatures: s } = Ve(Ot), [l, u] = nC(aY, iY), [g, E] = te(!1), I = r ? r.name : "", f = r ? r.description : "", d = r ? r.isAuthenticated : !1, C = r ? r.showUpgradeButton : !1, h = (r == null ? void 0 : r.advancedSettingsFields) ?? [], B = r2(s), p = r == null ? void 0 : r.oneClickAuthEnabled, Q = (r == null ? void 0 : r.hiddenFields) ?? [], m = we(() => !B || !(r != null && r.interpolationFields) ? {} : $z(r == null ? void 0 : r.interpolationFields), [r == null ? void 0 : r.interpolationFields, B]), { variableConfigs: b, variableKeys: y } = we(() => {
35549
35556
  const G = r && r.variablesConfig ? r.variablesConfig : [], R = Object.fromEntries(G.map((N) => [N.name, N.name]));
35550
35557
  return { variableConfigs: G, variableKeys: R };
35551
35558
  }, [r]);
@@ -35902,7 +35909,7 @@ const TY = T(V)`
35902
35909
  return Promise.reject(n);
35903
35910
  }
35904
35911
  }, NY = ({ connectorId: e, onSuccess: t }) => {
35905
- const n = ni(), r = Te(() => ["authDetails", { connectorId: e }], [e]), { data: A } = ri({
35912
+ const n = ni(), r = we(() => ["authDetails", { connectorId: e }], [e]), { data: A } = ri({
35906
35913
  queryKey: r,
35907
35914
  queryFn: () => Promise.resolve({
35908
35915
  authUrl: "",
@@ -35951,7 +35958,7 @@ const TY = T(V)`
35951
35958
  return Promise.reject(n);
35952
35959
  }
35953
35960
  }, kY = ({ connectorId: e, enabled: t = !1 }) => {
35954
- const n = ni(), r = Te(() => ["authSuccessStatus", { connectorId: e }], [e]), A = ri({
35961
+ const n = ni(), r = we(() => ["authSuccessStatus", { connectorId: e }], [e]), A = ri({
35955
35962
  queryKey: r,
35956
35963
  queryFn: () => PY(e),
35957
35964
  refetchInterval: (o) => {
@@ -36600,7 +36607,7 @@ const rJ = ({
36600
36607
  /* @__PURE__ */ c.jsx("p", { children: "Redirecting..." })
36601
36608
  ] });
36602
36609
  }, fJ = () => {
36603
- const { nativeIntegrations: e } = Ve(Ot), { id: t = "" } = Bo(), n = Tn(), r = je(vA), A = je(Ws), o = e.filter((g) => g.id === t)[0], i = o.id, a = Te(() => Object.values(r || {}).find((g) => g.type === i), [r, i]), s = Te(() => a ? null : Object.values(A || {}).find((g) => g.type === i), [A, i, a]);
36610
+ const { nativeIntegrations: e } = Ve(Ot), { id: t = "" } = Bo(), n = Tn(), r = je(vA), A = je(Ws), o = e.filter((g) => g.id === t)[0], i = o.id, a = we(() => Object.values(r || {}).find((g) => g.type === i), [r, i]), s = we(() => a ? null : Object.values(A || {}).find((g) => g.type === i), [A, i, a]);
36604
36611
  let l = "";
36605
36612
  a ? l = `/app/custom-connectors/connector/settings/${a.id}?isEdit=true&tabIndex=0` : s && (l = `/app/custom-connectors/connector/settings/${s.id}`);
36606
36613
  const u = () => {
@@ -36740,7 +36747,7 @@ const rJ = ({
36740
36747
  userId: n
36741
36748
  }) => {
36742
36749
  var A;
36743
- const r = Te(() => bJ(e), [e]);
36750
+ const r = we(() => bJ(e), [e]);
36744
36751
  return (A = t == null ? void 0 : t.templateUpdates) != null && A.version && n && (FW(t.templateUpdates.version), MW(n)), /* @__PURE__ */ c.jsx(nQ, { router: r });
36745
36752
  }, xJ = "internal-chat", wJ = T(fe)`
36746
36753
  padding: 43px 0px 0 35px;