@hiver/connector-agent 3.1.0 → 3.1.1

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
@@ -16,7 +16,7 @@ var vi = (e, t, n, r) => ({
16
16
  import * as M from "react";
17
17
  import ve, { useState as $, useRef as Pe, useSyncExternalStore as J0, useLayoutEffect as fi, useEffect as pe, isValidElement as lr, cloneElement as bs, createContext as cu, useContext as at, useCallback as ke, useMemo as Ge, forwardRef as ua, Component as Q0, Fragment as vs, useReducer as q0, Suspense as K0 } from "react";
18
18
  import { createPortal as da } from "react-dom";
19
- import { styled as k, Stack as q, theme as z, Button as gt, icons as Ft, Typography as fe, Tooltip as He, IconButton as dn, brandIcons as lu, Grid as eh, Box as Oe, Link as mo, Skeleton as fa, TableHead as th, TableCell as bo, TableRow as uu, palette as nh, TableContainer as rh, Table as ih, TableBody as oh, Dialog as sh, Icon as du, TextField as ah, DatePicker as ch, DateTextField as lh, InputAdornment as uh, Paper as dh, HiverProvider as fh } from "@hiver/hiver-ui-kit";
19
+ import { styled as k, Stack as Q, theme as z, Button as gt, icons as Ft, Typography as fe, Tooltip as He, IconButton as dn, brandIcons as lu, Grid as eh, Box as Oe, Link as mo, Skeleton as fa, TableHead as th, TableCell as bo, TableRow as uu, palette as nh, TableContainer as rh, Table as ih, TableBody as oh, Dialog as sh, Icon as du, TextField as ah, DatePicker as ch, DateTextField as lh, InputAdornment as uh, Paper as dh, HiverProvider as fh } from "@hiver/hiver-ui-kit";
20
20
  var se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ys = { exports: {} }, Gr = {};
21
21
  /**
22
22
  * @license React
@@ -4831,7 +4831,7 @@ const Pt = {
4831
4831
  if (!Pt.baseUrl)
4832
4832
  throw new Error("Base url is not setup. please call the initConnectorsBifrost function with the appropriate value");
4833
4833
  return Pt;
4834
- }, m5 = ({
4834
+ }, g5 = ({
4835
4835
  baseUrl: e,
4836
4836
  appEnv: t,
4837
4837
  tier: n,
@@ -4926,7 +4926,7 @@ const Pt = {
4926
4926
  break;
4927
4927
  }
4928
4928
  return e;
4929
- }, S1 = "enable_connectors_clicked", R1 = "learn_more_clicked", O1 = "connector_card_expand_clicked", L1 = "connector_card_collapsed_clicked", F1 = "connector_card_refresh_clicked", D1 = "connector_cards_loaded", N1 = "connector_whats_new_card_viewed", k1 = "connector_whats_new_explore_now_clicked", P1 = "connector_whats_new_learn_more_clicked", M1 = "connector_whats_new_dismissed", B1 = "connector_create_new_object_clicked", G1 = "connector_link_new_object_clicked", V1 = "connector_new_object_created_by_form", j1 = "connector_new_object_linked_by_form", H1 = "connector_object_unlinked_by_form", W1 = "connector_link_preview_clicked", Z1 = "connector_create_panel_cancel_clicked", X1 = "connector_create_panel_back_clicked", U1 = "card_loaded_on_click", z1 = "card_loaded", Y1 = "schedule_call_clicked", $1 = "schedule_call_cross_clicked", cd = "CONNECTOR_EDIT_CLICKED", J1 = "CONNECTOR_EDIT_REQUEST_SEND", Q1 = "CONNECTOR_EDIT_CANCELLED", q1 = "CONNECTOR_EDIT_BACK_CLICKED", K1 = "CONNECTOR_EDIT_SUCCESS", e2 = "connector_video_clicked", t2 = "connector_card_error", n2 = "Need setup help?", r2 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", i2 = "Schedule call", o2 = "https://calendly.com/aditya-s-grexit/15-min-connector-setup", Nc = "agent_panel", qo = "hiver_schedule_call_close_button_click", s2 = k(q)`
4929
+ }, S1 = "enable_connectors_clicked", R1 = "learn_more_clicked", O1 = "connector_card_expand_clicked", L1 = "connector_card_collapsed_clicked", F1 = "connector_card_refresh_clicked", D1 = "connector_cards_loaded", N1 = "connector_whats_new_card_viewed", k1 = "connector_whats_new_explore_now_clicked", P1 = "connector_whats_new_learn_more_clicked", M1 = "connector_whats_new_dismissed", B1 = "connector_create_new_object_clicked", G1 = "connector_link_new_object_clicked", V1 = "connector_new_object_created_by_form", j1 = "connector_new_object_linked_by_form", H1 = "connector_object_unlinked_by_form", W1 = "connector_link_preview_clicked", Z1 = "connector_create_panel_cancel_clicked", X1 = "connector_create_panel_back_clicked", U1 = "card_loaded_on_click", z1 = "card_loaded", Y1 = "schedule_call_clicked", $1 = "schedule_call_cross_clicked", cd = "CONNECTOR_EDIT_CLICKED", J1 = "CONNECTOR_EDIT_REQUEST_SEND", Q1 = "CONNECTOR_EDIT_CANCELLED", q1 = "CONNECTOR_EDIT_BACK_CLICKED", K1 = "CONNECTOR_EDIT_SUCCESS", e2 = "connector_video_clicked", t2 = "connector_card_error", n2 = "Need setup help?", r2 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", i2 = "Schedule call", o2 = "https://calendly.com/aditya-s-grexit/15-min-connector-setup", Nc = "agent_panel", qo = "hiver_schedule_call_close_button_click", s2 = k(Q)`
4930
4930
  padding: 12px;
4931
4931
  width: 250px;
4932
4932
  min-height: 151px;
@@ -4934,7 +4934,7 @@ const Pt = {
4934
4934
  margin-bottom: 5px;
4935
4935
  background-color: ${z.palette.gray.white};
4936
4936
  box-shadow: 0px 0px 8px 0px #0000001a;
4937
- `, a2 = k(q)`
4937
+ `, a2 = k(Q)`
4938
4938
  width: 100%;
4939
4939
  gap: 4px;
4940
4940
  justify-content: space-between;
@@ -4979,13 +4979,13 @@ const Pt = {
4979
4979
  };
4980
4980
  return !r || !n ? null : /* @__PURE__ */ E.jsxs(s2, { justifyContent: "space-between", alignItems: "baseline", gap: "16px", children: [
4981
4981
  /* @__PURE__ */ E.jsxs(a2, { gap: "4px", children: [
4982
- /* @__PURE__ */ E.jsxs(q, { direction: "row", justifyContent: "space-between", children: [
4982
+ /* @__PURE__ */ E.jsxs(Q, { direction: "row", justifyContent: "space-between", children: [
4983
4983
  /* @__PURE__ */ E.jsx(d2, { variant: "body1_medium", children: n2 }),
4984
- /* @__PURE__ */ E.jsx(q, { onClick: o, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ E.jsx(He, { title: "Close", placement: "bottom", children: /* @__PURE__ */ E.jsx(dn, { children: /* @__PURE__ */ E.jsx(l2, {}) }) }) })
4984
+ /* @__PURE__ */ E.jsx(Q, { onClick: o, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ E.jsx(He, { title: "Close", placement: "bottom", children: /* @__PURE__ */ E.jsx(dn, { children: /* @__PURE__ */ E.jsx(l2, {}) }) }) })
4985
4985
  ] }),
4986
4986
  /* @__PURE__ */ E.jsx(f2, { variant: "body2", children: r2 })
4987
4987
  ] }),
4988
- /* @__PURE__ */ E.jsx(q, { onClick: s, direction: "row", alignItems: "center", children: /* @__PURE__ */ E.jsxs(c2, { variant: "outlined", size: "small", children: [
4988
+ /* @__PURE__ */ E.jsx(Q, { onClick: s, direction: "row", alignItems: "center", children: /* @__PURE__ */ E.jsxs(c2, { variant: "outlined", size: "small", children: [
4989
4989
  /* @__PURE__ */ E.jsx(u2, {}),
4990
4990
  i2
4991
4991
  ] }) })
@@ -5402,7 +5402,7 @@ const k2 = k(Oe)`
5402
5402
  border: 1px solid ${z.palette.gray.gray5};
5403
5403
  border-radius: 8px;
5404
5404
  width: 100%;
5405
- `, P2 = k(q)`
5405
+ `, P2 = k(Q)`
5406
5406
  padding: 11px;
5407
5407
  box-sizing: border-box;
5408
5408
  width: 100%;
@@ -5414,7 +5414,7 @@ const k2 = k(Oe)`
5414
5414
  &.hiver-card-expanded {
5415
5415
  background: ${z.palette.gray.gray6};
5416
5416
  }
5417
- `, gd = k(q)`
5417
+ `, gd = k(Q)`
5418
5418
  flex-direction: row;
5419
5419
  align-items: stretch;
5420
5420
  `, M2 = k(fe)`
@@ -5608,7 +5608,7 @@ const k2 = k(Oe)`
5608
5608
  margin-top: 12px;
5609
5609
  border: 1px solid ${nh.gray.gray5};
5610
5610
  border-radius: 4px;
5611
- `, K2 = k(q)`
5611
+ `, K2 = k(Q)`
5612
5612
  flex-direction: row;
5613
5613
  align-items: center;
5614
5614
  background-color: #e1e8ff;
@@ -5635,7 +5635,7 @@ const k2 = k(Oe)`
5635
5635
  li {
5636
5636
  display: list-item;
5637
5637
  }
5638
- `, rm = k(q)`
5638
+ `, rm = k(Q)`
5639
5639
  margin-bottom: 6px;
5640
5640
  list-style-type: disc;
5641
5641
  margin-left: ${(e) => e.marginLeft ? `${e.marginLeft}` : "14px"};
@@ -5658,7 +5658,7 @@ const k2 = k(Oe)`
5658
5658
  &:last-child {
5659
5659
  margin-bottom: 16px;
5660
5660
  }
5661
- `, am = k(q)`
5661
+ `, am = k(Q)`
5662
5662
  flex-direction: row;
5663
5663
  width: 100%;
5664
5664
  justify-content: center;
@@ -5683,7 +5683,7 @@ const k2 = k(Oe)`
5683
5683
  max-width: 100%;
5684
5684
  height: 100%;
5685
5685
  color: ${z.palette.gray.gray2};
5686
- `, lm = k(q)`
5686
+ `, lm = k(Q)`
5687
5687
  padding: 8px 16px;
5688
5688
  color: ${z.palette.gray.black};
5689
5689
  `, um = k(fe)`
@@ -7246,7 +7246,7 @@ const On = "success", en = "error", Bd = "Some error occured. Please contact sup
7246
7246
  width: "26px",
7247
7247
  color: "#FFFFFF",
7248
7248
  marginRight: "4px"
7249
- })), Ab = k(q)`
7249
+ })), Ab = k(Q)`
7250
7250
  flex-direction: row;
7251
7251
  padding: 0 10px;
7252
7252
  img {
@@ -7522,7 +7522,7 @@ const Qc = {
7522
7522
  data: null
7523
7523
  });
7524
7524
  }
7525
- ), { resetState: b5, resetPreviewCardData: nv } = Wd.actions, rv = Wd.reducer, mi = "/v1/api", iv = `${mi}/connectors/forms/list`, ov = `${mi}/connectors/cards/:id/unlink`, sv = `${mi}/connectors/forms/:id/link`, av = `${mi}/connectors/form/:formId`, cv = `${mi}/connectors/forms/:formId/data`, lv = ({
7525
+ ), { resetState: m5, resetPreviewCardData: nv } = Wd.actions, rv = Wd.reducer, mi = "/v1/api", iv = `${mi}/connectors/forms/list`, ov = `${mi}/connectors/cards/:id/unlink`, sv = `${mi}/connectors/forms/:id/link`, av = `${mi}/connectors/form/:formId`, cv = `${mi}/connectors/forms/:formId/data`, lv = ({
7526
7526
  inboxIds: e,
7527
7527
  channelType: t,
7528
7528
  conversationId: n
@@ -7810,7 +7810,7 @@ Do you want to continue?`, xv = "Select an object to create", wv = "Select an ob
7810
7810
  return Qe({ message: Fa, type: en }), t(l);
7811
7811
  }
7812
7812
  }
7813
- ), { resetState: v5, setCurrentCardInEdit: dr, resetCurrentResourceDetails: Rv, setHasUnsavedChanges: nl } = Ud.actions, Ov = Ud.reducer, Lv = () => {
7813
+ ), { resetState: b5, setCurrentCardInEdit: dr, resetCurrentResourceDetails: Rv, setHasUnsavedChanges: nl } = Ud.actions, Ov = Ud.reducer, Lv = () => {
7814
7814
  const [e, t] = $(null), [n, r] = $({
7815
7815
  isVertical: !1,
7816
7816
  isHorizontal: !1,
@@ -7866,7 +7866,7 @@ Do you want to continue?`, xv = "Select an object to create", wv = "Select an ob
7866
7866
  sm_ids: s
7867
7867
  }), i(dr({ ...n, externalResourceId: d })));
7868
7868
  };
7869
- return /* @__PURE__ */ E.jsxs(q, { maxHeight: "340px", maxWidth: "700px", padding: "32px 0px 32px 32px", overflow: "auto", children: [
7869
+ return /* @__PURE__ */ E.jsxs(Q, { maxHeight: "340px", maxWidth: "700px", padding: "32px 0px 32px 32px", overflow: "auto", children: [
7870
7870
  /* @__PURE__ */ E.jsx(fe, { variant: "h2", color: "gray.black", marginBottom: "16px", children: t }),
7871
7871
  /* @__PURE__ */ E.jsx(rh, { ref: c, children: /* @__PURE__ */ E.jsxs(ih, { stickyHeader: !0, children: [
7872
7872
  /* @__PURE__ */ E.jsx(W2, { children: /* @__PURE__ */ E.jsxs(uu, { children: [
@@ -7949,7 +7949,7 @@ Do you want to continue?`, xv = "Select an object to create", wv = "Select an ob
7949
7949
  ) });
7950
7950
  };
7951
7951
  return o ? /* @__PURE__ */ E.jsx(zn, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : O ? /* @__PURE__ */ E.jsxs(gd, { gap: "7px", children: [
7952
- /* @__PURE__ */ E.jsx(q, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ E.jsx("img", { src: Vv, width: "18px", height: "18px" }) }),
7952
+ /* @__PURE__ */ E.jsx(Q, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ E.jsx("img", { src: Vv, width: "18px", height: "18px" }) }),
7953
7953
  /* @__PURE__ */ E.jsx(md, { variant: "body2", children: T ? U(T) : Fc })
7954
7954
  ] }) : /* @__PURE__ */ E.jsx(He, { title: w ? D : null, placement: "bottom", children: r ? /* @__PURE__ */ E.jsx(bd, { ref: h, target: "_blank", underline: "none", href: r, fontSize: "13px", children: D || ki }) : /* @__PURE__ */ E.jsx(H2, { ref: b, variant: "body2", children: D || ki }) });
7955
7955
  }, Hv = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_825_73646)'%3e%3cpath%20d='M19%206.41L17.59%205L12%2010.59L6.41%205L5%206.41L10.59%2012L5%2017.59L6.41%2019L12%2013.41L17.59%2019L19%2017.59L13.41%2012L19%206.41Z'%20fill='%236F7C90'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_825_73646'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Da = ({
@@ -7972,7 +7972,7 @@ Do you want to continue?`, xv = "Select an object to create", wv = "Select an ob
7972
7972
  maxWidth: "none"
7973
7973
  }
7974
7974
  },
7975
- children: /* @__PURE__ */ E.jsxs(q, { direction: "row", children: [
7975
+ children: /* @__PURE__ */ E.jsxs(Q, { direction: "row", children: [
7976
7976
  r && /* @__PURE__ */ E.jsx(Oe, { position: "absolute", right: 10, top: 10, children: /* @__PURE__ */ E.jsx(He, { title: "Close", placement: "bottom", children: /* @__PURE__ */ E.jsx(dn, { onClick: () => t(!1), children: /* @__PURE__ */ E.jsx("img", { src: Hv }) }) }) }),
7977
7977
  n
7978
7978
  ] })
@@ -8006,7 +8006,7 @@ Do you want to continue?`, xv = "Select an object to create", wv = "Select an ob
8006
8006
  setShowModal: A
8007
8007
  }
8008
8008
  ) }),
8009
- /* @__PURE__ */ E.jsx(B2, { className: o ? "" : "slideUp", height: X, children: /* @__PURE__ */ E.jsx(q, { ref: O, gap: 1, margin: "12px", children: c && !(L != null && L.length) ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
8009
+ /* @__PURE__ */ E.jsx(B2, { className: o ? "" : "slideUp", height: X, children: /* @__PURE__ */ E.jsx(Q, { ref: O, gap: 1, margin: "12px", children: c && !(L != null && L.length) ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
8010
8010
  /* @__PURE__ */ E.jsx(zn, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
8011
8011
  /* @__PURE__ */ E.jsx(zn, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
8012
8012
  ] }) : /* @__PURE__ */ E.jsx(E.Fragment, { children: Z ? /* @__PURE__ */ E.jsx(Oe, { margin: "8px 0", children: /* @__PURE__ */ E.jsx(
@@ -8190,10 +8190,10 @@ Do you want to continue?`, xv = "Select an object to create", wv = "Select an ob
8190
8190
  });
8191
8191
  });
8192
8192
  };
8193
- return /* @__PURE__ */ E.jsx(Da, { shown: e, setShown: t, showCloseButton: !0, children: /* @__PURE__ */ E.jsxs(q, { width: "400px", padding: "20px", gap: "8px", children: [
8193
+ return /* @__PURE__ */ E.jsx(Da, { shown: e, setShown: t, showCloseButton: !0, children: /* @__PURE__ */ E.jsxs(Q, { width: "400px", padding: "20px", gap: "8px", children: [
8194
8194
  /* @__PURE__ */ E.jsx(fe, { variant: "h2", children: y1 }),
8195
8195
  /* @__PURE__ */ E.jsx(fe, { variant: "body2", children: C1 }),
8196
- /* @__PURE__ */ E.jsxs(q, { direction: "row", gap: "8px", marginTop: "20px", justifyContent: "flex-end", children: [
8196
+ /* @__PURE__ */ E.jsxs(Q, { direction: "row", gap: "8px", marginTop: "20px", justifyContent: "flex-end", children: [
8197
8197
  /* @__PURE__ */ E.jsx(gt, { variant: "text", onClick: () => t(!1), children: Aa }),
8198
8198
  /* @__PURE__ */ E.jsx(gt, { disabled: u, color: "error", onClick: g, children: ed })
8199
8199
  ] })
@@ -8349,7 +8349,7 @@ function ar({
8349
8349
  return !t && !n ? null : e;
8350
8350
  }
8351
8351
  Gs.CaseView = ar;
8352
- const dy = "Bring your favourite tools into Hiver", fy = "Plugin image", hy = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", py = "Enable Connectors", gy = "Learn more", my = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", by = "Contact your admin to enable this", vy = "https://youtu.be/ODcJnzZLb50", yy = "connectors-module/assets/connectors-images/connector-mainpage.png", Cy = "Explore connectors", Iy = "Connectors", Ey = k(q)`
8352
+ const dy = "Bring your favourite tools into Hiver", fy = "Plugin image", hy = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", py = "Enable Connectors", gy = "Learn more", my = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", by = "Contact your admin to enable this", vy = "https://youtu.be/ODcJnzZLb50", yy = "connectors-module/assets/connectors-images/connector-mainpage.png", Cy = "Explore connectors", Iy = "Connectors", Ey = k(Q)`
8353
8353
  width: 100%;
8354
8354
  height: 97px;
8355
8355
  background-color: ${z.palette.purple.light};
@@ -8388,7 +8388,7 @@ const dy = "Bring your favourite tools into Hiver", fy = "Plugin image", hy = "I
8388
8388
  background-color: #e3dfff;
8389
8389
  border: 1px solid ${z.palette.purple.primary};
8390
8390
  }
8391
- `, Ty = k(q)`
8391
+ `, Ty = k(Q)`
8392
8392
  margin-top: 16px;
8393
8393
  justify-content: center;
8394
8394
  align-items: center;
@@ -8439,7 +8439,7 @@ function al(e, t) {
8439
8439
  }
8440
8440
  return n;
8441
8441
  }
8442
- function Q(e) {
8442
+ function q(e) {
8443
8443
  for (var t = 1; t < arguments.length; t++) {
8444
8444
  var n = arguments[t] != null ? arguments[t] : {};
8445
8445
  t % 2 ? al(Object(n), !0).forEach(function(r) {
@@ -8523,7 +8523,7 @@ function rf(e) {
8523
8523
  }, [v]), X = ke(function() {
8524
8524
  typeof g == "function" && g(), x(!1);
8525
8525
  }, [g]), U = l !== void 0 ? l : d, P = a !== void 0 ? a : C, Y = y !== void 0 ? y : T;
8526
- return Q(Q({}, b), {}, {
8526
+ return q(q({}, b), {}, {
8527
8527
  inputValue: U,
8528
8528
  menuIsOpen: P,
8529
8529
  onChange: L,
@@ -9926,7 +9926,7 @@ var Cl = function(t) {
9926
9926
  }, wf = function(t) {
9927
9927
  t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
9928
9928
  var n = rn(t, c3);
9929
- return Q({}, n);
9929
+ return q({}, n);
9930
9930
  }, Ve = function(t, n, r) {
9931
9931
  var i = t.cx, o = t.getStyles, s = t.getClassNames, l = t.className;
9932
9932
  return {
@@ -10113,7 +10113,7 @@ var _f = function(t) {
10113
10113
  return t === "auto" ? "bottom" : t;
10114
10114
  }, T3 = function(t, n) {
10115
10115
  var r, i = t.placement, o = t.theme, s = o.borderRadius, l = o.spacing, a = o.colors;
10116
- return Q((r = {
10116
+ return q((r = {
10117
10117
  label: "menu"
10118
10118
  }, cr(r, A3(i), "100%"), cr(r, "position", "absolute"), cr(r, "width", "100%"), cr(r, "zIndex", 1), r), n ? {} : {
10119
10119
  backgroundColor: a.neutral0,
@@ -10140,7 +10140,7 @@ var _f = function(t) {
10140
10140
  }
10141
10141
  }, [i, o, s, l, r, u, I]), n({
10142
10142
  ref: g,
10143
- placerProps: Q(Q({}, t), {}, {
10143
+ placerProps: q(q({}, t), {}, {
10144
10144
  placement: p || _f(o),
10145
10145
  maxHeight: b
10146
10146
  })
@@ -10154,7 +10154,7 @@ var _f = function(t) {
10154
10154
  }, i), n);
10155
10155
  }, R3 = S3, O3 = function(t, n) {
10156
10156
  var r = t.maxHeight, i = t.theme.spacing.baseUnit;
10157
- return Q({
10157
+ return q({
10158
10158
  maxHeight: r,
10159
10159
  overflowY: "auto",
10160
10160
  position: "relative",
@@ -10174,7 +10174,7 @@ var _f = function(t) {
10174
10174
  }, r), n);
10175
10175
  }, Rf = function(t, n) {
10176
10176
  var r = t.theme, i = r.spacing.baseUnit, o = r.colors;
10177
- return Q({
10177
+ return q({
10178
10178
  textAlign: "center"
10179
10179
  }, n ? {} : {
10180
10180
  color: o.neutral40,
@@ -10182,7 +10182,7 @@ var _f = function(t) {
10182
10182
  });
10183
10183
  }, F3 = Rf, D3 = Rf, N3 = function(t) {
10184
10184
  var n = t.children, r = n === void 0 ? "No options" : n, i = t.innerProps, o = rn(t, E3);
10185
- return ee("div", te({}, Ve(Q(Q({}, o), {}, {
10185
+ return ee("div", te({}, Ve(q(q({}, o), {}, {
10186
10186
  children: r,
10187
10187
  innerProps: i
10188
10188
  }), "noOptionsMessage", {
@@ -10191,7 +10191,7 @@ var _f = function(t) {
10191
10191
  }), i), r);
10192
10192
  }, k3 = function(t) {
10193
10193
  var n = t.children, r = n === void 0 ? "Loading..." : n, i = t.innerProps, o = rn(t, x3);
10194
- return ee("div", te({}, Ve(Q(Q({}, o), {}, {
10194
+ return ee("div", te({}, Ve(q(q({}, o), {}, {
10195
10195
  children: r,
10196
10196
  innerProps: i
10197
10197
  }), "loadingMessage", {
@@ -10238,7 +10238,7 @@ var _f = function(t) {
10238
10238
  if (!n && l !== "fixed" || !d) return null;
10239
10239
  var x = ee("div", te({
10240
10240
  ref: C
10241
- }, Ve(Q(Q({}, t), {}, {
10241
+ }, Ve(q(q({}, t), {}, {
10242
10242
  offset: d.offset,
10243
10243
  position: l,
10244
10244
  rect: d.rect
@@ -10265,7 +10265,7 @@ var _f = function(t) {
10265
10265
  }), r), n);
10266
10266
  }, V3 = function(t, n) {
10267
10267
  var r = t.theme.spacing, i = t.isMulti, o = t.hasValue, s = t.selectProps.controlShouldRenderValue;
10268
- return Q({
10268
+ return q({
10269
10269
  alignItems: "center",
10270
10270
  display: i && o && s ? "flex" : "grid",
10271
10271
  flex: 1,
@@ -10331,7 +10331,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10331
10331
  }));
10332
10332
  }, Ff = function(t, n) {
10333
10333
  var r = t.isFocused, i = t.theme, o = i.spacing.baseUnit, s = i.colors;
10334
- return Q({
10334
+ return q({
10335
10335
  label: "indicatorContainer",
10336
10336
  display: "flex",
10337
10337
  transition: "color 150ms"
@@ -10356,7 +10356,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10356
10356
  }), r), n || ee(Wa, null));
10357
10357
  }, q3 = function(t, n) {
10358
10358
  var r = t.isDisabled, i = t.theme, o = i.spacing.baseUnit, s = i.colors;
10359
- return Q({
10359
+ return q({
10360
10360
  label: "indicatorSeparator",
10361
10361
  alignSelf: "stretch",
10362
10362
  width: 1
@@ -10375,7 +10375,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10375
10375
  40% { opacity: 1; }
10376
10376
  `]))), tI = function(t, n) {
10377
10377
  var r = t.isFocused, i = t.size, o = t.theme, s = o.colors, l = o.spacing.baseUnit;
10378
- return Q({
10378
+ return q({
10379
10379
  label: "loadingIndicator",
10380
10380
  display: "flex",
10381
10381
  transition: "color 150ms",
@@ -10405,7 +10405,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10405
10405
  });
10406
10406
  }, nI = function(t) {
10407
10407
  var n = t.innerProps, r = t.isRtl, i = t.size, o = i === void 0 ? 4 : i, s = rn(t, X3);
10408
- return ee("div", te({}, Ve(Q(Q({}, s), {}, {
10408
+ return ee("div", te({}, Ve(q(q({}, s), {}, {
10409
10409
  innerProps: n,
10410
10410
  isRtl: r,
10411
10411
  size: o
@@ -10424,7 +10424,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10424
10424
  }));
10425
10425
  }, rI = function(t, n) {
10426
10426
  var r = t.isDisabled, i = t.isFocused, o = t.theme, s = o.colors, l = o.borderRadius, a = o.spacing;
10427
- return Q({
10427
+ return q({
10428
10428
  label: "control",
10429
10429
  alignItems: "center",
10430
10430
  cursor: "default",
@@ -10477,7 +10477,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10477
10477
  }), c), ee("div", null, n));
10478
10478
  }, lI = function(t, n) {
10479
10479
  var r = t.theme, i = r.colors, o = r.spacing;
10480
- return Q({
10480
+ return q({
10481
10481
  label: "group",
10482
10482
  cursor: "default",
10483
10483
  display: "block"
@@ -10499,7 +10499,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10499
10499
  }), r));
10500
10500
  }, dI = cI, fI = ["innerRef", "isDisabled", "isHidden", "inputClassName"], hI = function(t, n) {
10501
10501
  var r = t.isDisabled, i = t.value, o = t.theme, s = o.spacing, l = o.colors;
10502
- return Q(Q({
10502
+ return q(q({
10503
10503
  visibility: r ? "hidden" : "visible",
10504
10504
  // force css to recompute when value change due to @emotion bug.
10505
10505
  // We can remove it whenever the bug is fixed.
@@ -10523,13 +10523,13 @@ var z3 = process.env.NODE_ENV === "production" ? {
10523
10523
  display: "inline-grid",
10524
10524
  gridArea: "1 / 1 / 2 / 3",
10525
10525
  gridTemplateColumns: "0 min-content",
10526
- "&:after": Q({
10526
+ "&:after": q({
10527
10527
  content: 'attr(data-value) " "',
10528
10528
  visibility: "hidden",
10529
10529
  whiteSpace: "pre"
10530
10530
  }, Df)
10531
10531
  }, gI = function(t) {
10532
- return Q({
10532
+ return q({
10533
10533
  label: "input",
10534
10534
  color: "inherit",
10535
10535
  background: 0,
@@ -10552,7 +10552,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10552
10552
  }, c)));
10553
10553
  }, bI = mI, vI = function(t, n) {
10554
10554
  var r = t.theme, i = r.spacing, o = r.borderRadius, s = r.colors;
10555
- return Q({
10555
+ return q({
10556
10556
  label: "multiValue",
10557
10557
  display: "flex",
10558
10558
  minWidth: 0
@@ -10563,7 +10563,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10563
10563
  });
10564
10564
  }, yI = function(t, n) {
10565
10565
  var r = t.theme, i = r.borderRadius, o = r.colors, s = t.cropWithEllipsis;
10566
- return Q({
10566
+ return q({
10567
10567
  overflow: "hidden",
10568
10568
  textOverflow: s || s === void 0 ? "ellipsis" : void 0,
10569
10569
  whiteSpace: "nowrap"
@@ -10576,7 +10576,7 @@ var z3 = process.env.NODE_ENV === "production" ? {
10576
10576
  });
10577
10577
  }, CI = function(t, n) {
10578
10578
  var r = t.theme, i = r.spacing, o = r.borderRadius, s = r.colors, l = t.isFocused;
10579
- return Q({
10579
+ return q({
10580
10580
  alignItems: "center",
10581
10581
  display: "flex"
10582
10582
  }, n ? {} : {
@@ -10605,20 +10605,20 @@ var wI = function(t) {
10605
10605
  var n = t.children, r = t.components, i = t.data, o = t.innerProps, s = t.isDisabled, l = t.removeProps, a = t.selectProps, c = r.Container, u = r.Label, g = r.Remove;
10606
10606
  return ee(c, {
10607
10607
  data: i,
10608
- innerProps: Q(Q({}, Ve(t, "multiValue", {
10608
+ innerProps: q(q({}, Ve(t, "multiValue", {
10609
10609
  "multi-value": !0,
10610
10610
  "multi-value--is-disabled": s
10611
10611
  })), o),
10612
10612
  selectProps: a
10613
10613
  }, ee(u, {
10614
10614
  data: i,
10615
- innerProps: Q({}, Ve(t, "multiValueLabel", {
10615
+ innerProps: q({}, Ve(t, "multiValueLabel", {
10616
10616
  "multi-value__label": !0
10617
10617
  })),
10618
10618
  selectProps: a
10619
10619
  }, n), ee(g, {
10620
10620
  data: i,
10621
- innerProps: Q(Q({}, Ve(t, "multiValueRemove", {
10621
+ innerProps: q(q({}, Ve(t, "multiValueRemove", {
10622
10622
  "multi-value__remove": !0
10623
10623
  })), {}, {
10624
10624
  "aria-label": "Remove ".concat(n || "option")
@@ -10627,7 +10627,7 @@ var wI = function(t) {
10627
10627
  }));
10628
10628
  }, AI = wI, TI = function(t, n) {
10629
10629
  var r = t.isDisabled, i = t.isFocused, o = t.isSelected, s = t.theme, l = s.spacing, a = s.colors;
10630
- return Q({
10630
+ return q({
10631
10631
  label: "option",
10632
10632
  cursor: "default",
10633
10633
  display: "block",
@@ -10657,7 +10657,7 @@ var wI = function(t) {
10657
10657
  }, l), n);
10658
10658
  }, SI = _I, RI = function(t, n) {
10659
10659
  var r = t.theme, i = r.spacing, o = r.colors;
10660
- return Q({
10660
+ return q({
10661
10661
  label: "placeholder",
10662
10662
  gridArea: "1 / 1 / 2 / 3"
10663
10663
  }, n ? {} : {
@@ -10672,7 +10672,7 @@ var wI = function(t) {
10672
10672
  }), r), n);
10673
10673
  }, LI = OI, FI = function(t, n) {
10674
10674
  var r = t.isDisabled, i = t.theme, o = i.spacing, s = i.colors;
10675
- return Q({
10675
+ return q({
10676
10676
  label: "singleValue",
10677
10677
  gridArea: "1 / 1 / 2 / 3",
10678
10678
  maxWidth: "100%",
@@ -10717,7 +10717,7 @@ var wI = function(t) {
10717
10717
  SingleValue: NI,
10718
10718
  ValueContainer: j3
10719
10719
  }, kI = function(t) {
10720
- return Q(Q({}, pn), t.components);
10720
+ return q(q({}, pn), t.components);
10721
10721
  }, wl = Number.isNaN || function(t) {
10722
10722
  return typeof t == "number" && t !== t;
10723
10723
  };
@@ -10815,13 +10815,13 @@ var VI = process.env.NODE_ENV === "production" ? {
10815
10815
  }
10816
10816
  }, WI = function(t) {
10817
10817
  var n = t.ariaSelection, r = t.focusedOption, i = t.focusedValue, o = t.focusableOptions, s = t.isFocused, l = t.selectValue, a = t.selectProps, c = t.id, u = t.isAppleDevice, g = a.ariaLiveMessages, v = a.getOptionLabel, y = a.inputValue, b = a.isMulti, h = a.isOptionDisabled, f = a.isSearchable, d = a.menuIsOpen, p = a.options, m = a.screenReaderStatus, I = a.tabSelectsValue, C = a.isLoading, x = a["aria-label"], w = a["aria-live"], A = Ge(function() {
10818
- return Q(Q({}, HI), g || {});
10818
+ return q(q({}, HI), g || {});
10819
10819
  }, [g]), T = Ge(function() {
10820
10820
  var U = "";
10821
10821
  if (n && A.onChange) {
10822
10822
  var P = n.option, Y = n.options, Z = n.removedValue, ie = n.removedValues, ce = n.value, W = function(ye) {
10823
10823
  return Array.isArray(ye) ? null : ye;
10824
- }, V = Z || P || W(ce), B = V ? v(V) : "", ne = Y || ie || void 0, le = ne ? ne.map(v) : [], ue = Q({
10824
+ }, V = Z || P || W(ce), B = V ? v(V) : "", ne = Y || ie || void 0, le = ne ? ne.map(v) : [], ue = q({
10825
10825
  // multiSelected items are usually items that have already been selected
10826
10826
  // or set by the user as a default value so we assume they are not disabled
10827
10827
  isDisabled: V && h(V, l),
@@ -11160,7 +11160,7 @@ var Pf = function(t) {
11160
11160
  }, YI = function(t) {
11161
11161
  return function(n, r) {
11162
11162
  if (n.data.__isNew__) return !0;
11163
- var i = Q({
11163
+ var i = q({
11164
11164
  ignoreCase: !0,
11165
11165
  ignoreAccents: !0,
11166
11166
  stringify: zI,
@@ -11699,7 +11699,7 @@ var Zf = function(t) {
11699
11699
  return i.props.menuIsOpen ? i.buildFocusableOptions() : [];
11700
11700
  }, i.ariaOnChange = function(a, c) {
11701
11701
  i.setState({
11702
- ariaSelection: Q({
11702
+ ariaSelection: q({
11703
11703
  value: a
11704
11704
  }, c)
11705
11705
  });
@@ -11994,7 +11994,7 @@ var Zf = function(t) {
11994
11994
  // Getters
11995
11995
  // ==============================
11996
11996
  function() {
11997
- return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(us) : Q(Q({}, us), this.props.theme) : us;
11997
+ return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(us) : q(q({}, us), this.props.theme) : us;
11998
11998
  }
11999
11999
  )
12000
12000
  }, {
@@ -12107,7 +12107,7 @@ var Zf = function(t) {
12107
12107
  // Renderers
12108
12108
  // ==============================
12109
12109
  function() {
12110
- var i = this.props, o = i.isDisabled, s = i.isSearchable, l = i.inputId, a = i.inputValue, c = i.tabIndex, u = i.form, g = i.menuIsOpen, v = i.required, y = this.getComponents(), b = y.Input, h = this.state, f = h.inputIsHidden, d = h.ariaSelection, p = this.commonProps, m = l || this.getElementId("input"), I = Q(Q(Q({
12110
+ var i = this.props, o = i.isDisabled, s = i.isSearchable, l = i.inputId, a = i.inputValue, c = i.tabIndex, u = i.form, g = i.menuIsOpen, v = i.required, y = this.getComponents(), b = y.Input, h = this.state, f = h.inputIsHidden, d = h.ariaSelection, p = this.commonProps, m = l || this.getElementId("input"), I = q(q(q({
12111
12111
  "aria-autocomplete": "list",
12112
12112
  "aria-expanded": g,
12113
12113
  "aria-haspopup": !0,
@@ -12481,7 +12481,7 @@ var Zf = function(t) {
12481
12481
  value: Si(d, p, p[0] || null),
12482
12482
  options: p,
12483
12483
  action: "initial-input-focus"
12484
- }, L = !g), (c == null ? void 0 : c.action) === "initial-input-focus" && (F = null), Q(Q(Q({}, m), T), {}, {
12484
+ }, L = !g), (c == null ? void 0 : c.action) === "initial-input-focus" && (F = null), q(q(q({}, m), T), {}, {
12485
12485
  prevProps: i,
12486
12486
  ariaSelection: F,
12487
12487
  prevWasFocused: L
@@ -12726,11 +12726,11 @@ function BE(e) {
12726
12726
  else {
12727
12727
  var Wt = y.current = {};
12728
12728
  x(Ne), F(!0), V(!O), $e(Ne, function(Nt) {
12729
- b && Wt === y.current && (y.current = void 0, F(!1), X(Ne), Z(Nt || []), V(!1), ue(Nt ? Q(Q({}, le), {}, cr({}, Ne, Nt)) : le));
12729
+ b && Wt === y.current && (y.current = void 0, F(!1), X(Ne), Z(Nt || []), V(!1), ue(Nt ? q(q({}, le), {}, cr({}, Ne, Nt)) : le));
12730
12730
  });
12731
12731
  }
12732
12732
  }, [i, $e, O, le, a]), gn = W ? [] : C && O ? Y : d || [];
12733
- return Q(Q({}, g), {}, {
12733
+ return q(q({}, g), {}, {
12734
12734
  options: gn,
12735
12735
  isLoading: T || l,
12736
12736
  onInputChange: Dt,
@@ -12956,7 +12956,7 @@ const fo = (e) => {
12956
12956
  );
12957
12957
  }
12958
12958
  };
12959
- return /* @__PURE__ */ E.jsxs(q, { spacing: b, useFlexGap: !0, children: [
12959
+ return /* @__PURE__ */ E.jsxs(Q, { spacing: b, useFlexGap: !0, children: [
12960
12960
  i ? /* @__PURE__ */ E.jsxs(
12961
12961
  fe,
12962
12962
  {
@@ -12977,7 +12977,7 @@ const fo = (e) => {
12977
12977
  A()
12978
12978
  ] })
12979
12979
  ] });
12980
- }, ZE = k(q)`
12980
+ }, ZE = k(Q)`
12981
12981
  & .authform__section-title {
12982
12982
  margin-top: 32px;
12983
12983
  margin-bottom: -12px;
@@ -13003,7 +13003,7 @@ const fo = (e) => {
13003
13003
  };
13004
13004
  return /* @__PURE__ */ E.jsx(ZE, { spacing: c, children: e.map(({ id: h, title: f, formFields: d }) => /* @__PURE__ */ E.jsxs(ve.Fragment, { children: [
13005
13005
  f ? /* @__PURE__ */ E.jsx(fe, { variant: "h3", className: "authform__section-title", children: f }) : null,
13006
- /* @__PURE__ */ E.jsx(q, { useFlexGap: !0, spacing: u, children: d.map((p) => {
13006
+ /* @__PURE__ */ E.jsx(Q, { useFlexGap: !0, spacing: u, children: d.map((p) => {
13007
13007
  var m, I;
13008
13008
  return o && typeof o == "object" && p.name in o && o[p.name] === !1 ? null : /* @__PURE__ */ E.jsx(
13009
13009
  fo,
@@ -13097,11 +13097,11 @@ const fo = (e) => {
13097
13097
  ] })
13098
13098
  ] });
13099
13099
  }, JE = () => /* @__PURE__ */ E.jsxs(pd, { children: [
13100
- /* @__PURE__ */ E.jsxs(q, { direction: "row", marginBottom: "12px", height: "36px", alignItems: "center", children: [
13100
+ /* @__PURE__ */ E.jsxs(Q, { direction: "row", marginBottom: "12px", height: "36px", alignItems: "center", children: [
13101
13101
  /* @__PURE__ */ E.jsx(fd, {}),
13102
13102
  /* @__PURE__ */ E.jsx(hd, { variant: "h2", children: "Connectors" })
13103
13103
  ] }),
13104
- /* @__PURE__ */ E.jsxs(q, { gap: "12px", children: [
13104
+ /* @__PURE__ */ E.jsxs(Q, { gap: "12px", children: [
13105
13105
  /* @__PURE__ */ E.jsx(zn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" }),
13106
13106
  /* @__PURE__ */ E.jsx(zn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" }),
13107
13107
  /* @__PURE__ */ E.jsx(zn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" })
@@ -13170,7 +13170,7 @@ const fo = (e) => {
13170
13170
  ] }) }, F);
13171
13171
  })
13172
13172
  ] }, I)),
13173
- /* @__PURE__ */ E.jsx(q, { flexDirection: "row", gap: "8px", marginBottom: "11.5px", children: f.map(({ text: I, link: C, isAdminPanelLink: x }) => /* @__PURE__ */ E.jsx(im, { variant: x ? "contained" : "text", children: /* @__PURE__ */ E.jsx(om, { variant: "caption", onClick: (w) => p(w, C, x, !0), children: I }) }, I)) })
13173
+ /* @__PURE__ */ E.jsx(Q, { flexDirection: "row", gap: "8px", marginBottom: "11.5px", children: f.map(({ text: I, link: C, isAdminPanelLink: x }) => /* @__PURE__ */ E.jsx(im, { variant: x ? "contained" : "text", children: /* @__PURE__ */ E.jsx(om, { variant: "caption", onClick: (w) => p(w, C, x, !0), children: I }) }, I)) })
13174
13174
  ] }) })
13175
13175
  ] });
13176
13176
  }, qE = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='7'%20cy='7'%20r='7'%20fill='%23196FE0'/%3e%3cpath%20d='M10.8288%204.89995C10.5922%204.64324%2010.1976%204.63193%209.94761%204.87601L5.96804%208.75823L4.06989%206.75353C3.82948%206.49981%203.43531%206.49425%203.18845%206.74158C2.9418%206.98865%202.9366%207.39455%203.1768%207.64827L5.50404%2010.1061C5.626%2010.235%205.78808%2010.3%205.95059%2010.3C6.10477%2010.3%206.25896%2010.2414%206.37969%2010.124L10.8056%205.80646C11.0553%205.56278%2011.0659%205.15689%2010.8288%204.89995Z'%20fill='white'/%3e%3c/svg%3e", Jf = (e) => {
@@ -13186,7 +13186,7 @@ const fo = (e) => {
13186
13186
  e.children
13187
13187
  ] }), tx = (e) => {
13188
13188
  const { isSelected: t } = e, { textRef: n, isOverflow: r } = Jf(e.data.label);
13189
- return /* @__PURE__ */ E.jsx(pn.Option, { ...e, children: /* @__PURE__ */ E.jsxs(q, { direction: "row", gap: "5px", justifyContent: "space-between", alignItems: "center", children: [
13189
+ return /* @__PURE__ */ E.jsx(pn.Option, { ...e, children: /* @__PURE__ */ E.jsxs(Q, { direction: "row", gap: "5px", justifyContent: "space-between", alignItems: "center", children: [
13190
13190
  /* @__PURE__ */ E.jsx(He, { title: r ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ E.jsx(um, { ref: n, className: "dropdown-item-text", variant: "body2", children: e.data.label }) }),
13191
13191
  t ? /* @__PURE__ */ E.jsx("img", { src: qE, width: "14px", height: "14px" }) : null
13192
13192
  ] }) });
@@ -13195,6 +13195,7 @@ const fo = (e) => {
13195
13195
  ...e,
13196
13196
  border: "none",
13197
13197
  boxShadow: "none",
13198
+ marginTop: "12px",
13198
13199
  "&:hover": { border: "none", cursor: "pointer", backgroundColor: z.palette.gray.gray7 },
13199
13200
  "& > :first-child": {
13200
13201
  "& > :first-child": {
@@ -13295,7 +13296,7 @@ const fo = (e) => {
13295
13296
  n(!1);
13296
13297
  }, [n]), t && a && l.current && da(
13297
13298
  /* @__PURE__ */ E.jsxs(ox, { className: "layover-paper", elevation: 0, children: [
13298
- /* @__PURE__ */ E.jsxs(q, { direction: "row", alignItems: "center", marginLeft: "-8px", children: [
13299
+ /* @__PURE__ */ E.jsxs(Q, { direction: "row", alignItems: "center", marginLeft: "-8px", children: [
13299
13300
  /* @__PURE__ */ E.jsx(He, { title: o, placement: "bottom", children: /* @__PURE__ */ E.jsx(dn, { onClick: r, children: /* @__PURE__ */ E.jsx(sx, { src: cx }) }) }),
13300
13301
  /* @__PURE__ */ E.jsx(fe, { children: i })
13301
13302
  ] }),
@@ -13303,11 +13304,11 @@ const fo = (e) => {
13303
13304
  ] }),
13304
13305
  l.current
13305
13306
  );
13306
- }, Qf = (e) => e.common.previewCardData, qf = (e) => e.common.previewCardApiStatus, lx = k(q)`
13307
+ }, Qf = (e) => e.common.previewCardData, qf = (e) => e.common.previewCardApiStatus, lx = k(Q)`
13307
13308
  width: 100%;
13308
13309
  border-radius: 8px;
13309
13310
  border: 1px solid ${z.palette.gray.gray5};
13310
- `, ux = k(q)`
13311
+ `, ux = k(Q)`
13311
13312
  padding: 11px;
13312
13313
  height: 46px;
13313
13314
  background: ${z.palette.gray.gray6};
@@ -13339,7 +13340,7 @@ const fo = (e) => {
13339
13340
  return /* @__PURE__ */ E.jsxs(lx, { children: [
13340
13341
  /* @__PURE__ */ E.jsxs(ux, { direction: "row", justifyContent: "space-between", children: [
13341
13342
  g ? /* @__PURE__ */ E.jsx(zn, { width: "100px", height: "24px" }) : /* @__PURE__ */ E.jsx(He, { title: o ? u : "", children: /* @__PURE__ */ E.jsx(fe, { variant: "h4", onMouseOver: (b) => v(b), onMouseLeave: (b) => v(b), children: u }) }),
13342
- /* @__PURE__ */ E.jsxs(q, { direction: "row", alignItems: "center", children: [
13343
+ /* @__PURE__ */ E.jsxs(Q, { direction: "row", alignItems: "center", children: [
13343
13344
  l ? /* @__PURE__ */ E.jsx(He, { title: Qu, placement: "bottom", children: /* @__PURE__ */ E.jsx(Mn, { onClick: (b) => y(b), children: /* @__PURE__ */ E.jsx("img", { src: Jd }) }) }) : null,
13344
13345
  /* @__PURE__ */ E.jsx(He, { title: l ? qu : wa, placement: "bottom", children: /* @__PURE__ */ E.jsx(Mn, { onClick: () => a((b) => !b), children: /* @__PURE__ */ E.jsx(Sa, { className: l ? "" : "hiver-up" }) }) })
13345
13346
  ] })
@@ -13365,7 +13366,7 @@ const fo = (e) => {
13365
13366
  padding: 12px;
13366
13367
  display: flex;
13367
13368
  justify-content: flex-end;
13368
- `, t0 = k(q)`
13369
+ `, t0 = k(Q)`
13369
13370
  margin-bottom: 25px;
13370
13371
  padding-right: 12px;
13371
13372
  flex-grow: 1;
@@ -13374,7 +13375,7 @@ const fo = (e) => {
13374
13375
  position: relative;
13375
13376
  top: -5px;
13376
13377
  }
13377
- `, n0 = k(q)`
13378
+ `, n0 = k(Q)`
13378
13379
  height: calc(100% - 44px);
13379
13380
  overflow: auto;
13380
13381
  &::-webkit-scrollbar {
@@ -13621,11 +13622,11 @@ const fo = (e) => {
13621
13622
  }, px = (e) => typeof e == "string" ? /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/.test(e) : typeof e == "object" && "_isValid" in e, jl = (e) => Object.keys(e).sort((n, r) => r.localeCompare(n)).reduce((n, r) => {
13622
13623
  var i;
13623
13624
  return (typeof e[r] == "string" || typeof e[r] == "object" && e[r] !== null) && px(e[r]) ? n[r] = (i = /* @__PURE__ */ new Date(`${e[r]}`)) == null ? void 0 : i.toString() : n[r] = e[r], n;
13624
- }, {}), c0 = ({ setShown: e, shown: t, title: n, description: r, buttons: i }) => /* @__PURE__ */ E.jsx(Da, { shown: t, setShown: e, showCloseButton: !0, children: /* @__PURE__ */ E.jsxs(q, { width: "400px", padding: "20px", children: [
13625
+ }, {}), c0 = ({ setShown: e, shown: t, title: n, description: r, buttons: i }) => /* @__PURE__ */ E.jsx(Da, { shown: t, setShown: e, showCloseButton: !0, children: /* @__PURE__ */ E.jsxs(Q, { width: "400px", padding: "20px", children: [
13625
13626
  /* @__PURE__ */ E.jsx(fe, { variant: "h2", marginBottom: "8px", children: n }),
13626
- /* @__PURE__ */ E.jsx(q, { gap: "4px", marginBottom: "20px", children: r.split(`
13627
+ /* @__PURE__ */ E.jsx(Q, { gap: "4px", marginBottom: "20px", children: r.split(`
13627
13628
  `).map((o, s) => /* @__PURE__ */ E.jsx(fe, { variant: "body2", children: o }, s)) }),
13628
- /* @__PURE__ */ E.jsx(q, { direction: "row", justifyContent: "flex-end", gap: "8px", children: i.map((o) => /* @__PURE__ */ E.jsx(
13629
+ /* @__PURE__ */ E.jsx(Q, { direction: "row", justifyContent: "flex-end", gap: "8px", children: i.map((o) => /* @__PURE__ */ E.jsx(
13629
13630
  gt,
13630
13631
  {
13631
13632
  variant: o.variant,
@@ -13841,9 +13842,9 @@ const fo = (e) => {
13841
13842
  onLinkClick: t,
13842
13843
  haveCreateObjects: n,
13843
13844
  haveLinkObjects: r
13844
- }) => /* @__PURE__ */ E.jsxs(q, { gap: 2, marginTop: "12px", children: [
13845
+ }) => /* @__PURE__ */ E.jsxs(Q, { gap: 2, marginTop: "12px", children: [
13845
13846
  /* @__PURE__ */ E.jsx(fe, { variant: "body2", color: z.palette.gray.gray1, children: vv }),
13846
- /* @__PURE__ */ E.jsxs(q, { gap: "12px", children: [
13847
+ /* @__PURE__ */ E.jsxs(Q, { gap: "12px", children: [
13847
13848
  n ? /* @__PURE__ */ E.jsxs(mx, { fullWidth: !0, onClick: e, size: "medium", children: [
13848
13849
  /* @__PURE__ */ E.jsx(bx, {}),
13849
13850
  /* @__PURE__ */ E.jsx("span", { className: "content__btn", children: nd })
@@ -13853,7 +13854,7 @@ const fo = (e) => {
13853
13854
  /* @__PURE__ */ E.jsx("span", { className: "content__btn", children: rd })
13854
13855
  ] }) : null
13855
13856
  ] })
13856
- ] }), Cx = (e) => e.write.searchObjectList, l0 = (e) => e.write.objectDict, Ix = (e) => e.write.formFields, Ex = (e) => e.write.dependentFieldsMap, xx = "Search in Connectors", wx = "Start typing to search..", Ax = "Smart search suggestion", Tx = ":count result:countSuffix found for :searchObject in :connectorName", _x = "Back to search results", Sx = "No search results found", Rx = (e) => /* @__PURE__ */ M.createElement("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ M.createElement("g", { id: "icons/Actions/Search" }, /* @__PURE__ */ M.createElement("path", { id: "Shape", fillRule: "evenodd", clipRule: "evenodd", d: "M8.57633 7.54717H8.03431L7.8422 7.36192C8.51458 6.57976 8.91938 5.56432 8.91938 4.45969C8.91938 1.99657 6.92281 0 4.45969 0C1.99657 0 0 1.99657 0 4.45969C0 6.92281 1.99657 8.91938 4.45969 8.91938C5.56432 8.91938 6.57976 8.51458 7.36192 7.8422L7.54717 8.03431V8.57633L10.9777 12L12 10.9777L8.57633 7.54717ZM4.45969 7.54717C2.75129 7.54717 1.37221 6.1681 1.37221 4.45969C1.37221 2.75129 2.75129 1.37221 4.45969 1.37221C6.1681 1.37221 7.54717 2.75129 7.54717 4.45969C7.54717 6.1681 6.1681 7.54717 4.45969 7.54717Z", fill: "#97A3B7" }))), Ox = k(q)`
13857
+ ] }), Cx = (e) => e.write.searchObjectList, l0 = (e) => e.write.objectDict, Ix = (e) => e.write.formFields, Ex = (e) => e.write.dependentFieldsMap, xx = "Search in Connectors", wx = "Start typing to search..", Ax = "Smart search suggestion", Tx = ":count result:countSuffix found for :searchObject in :connectorName", _x = "Back to search results", Sx = "No search results found", Rx = (e) => /* @__PURE__ */ M.createElement("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ M.createElement("g", { id: "icons/Actions/Search" }, /* @__PURE__ */ M.createElement("path", { id: "Shape", fillRule: "evenodd", clipRule: "evenodd", d: "M8.57633 7.54717H8.03431L7.8422 7.36192C8.51458 6.57976 8.91938 5.56432 8.91938 4.45969C8.91938 1.99657 6.92281 0 4.45969 0C1.99657 0 0 1.99657 0 4.45969C0 6.92281 1.99657 8.91938 4.45969 8.91938C5.56432 8.91938 6.57976 8.51458 7.36192 7.8422L7.54717 8.03431V8.57633L10.9777 12L12 10.9777L8.57633 7.54717ZM4.45969 7.54717C2.75129 7.54717 1.37221 6.1681 1.37221 4.45969C1.37221 2.75129 2.75129 1.37221 4.45969 1.37221C6.1681 1.37221 7.54717 2.75129 7.54717 4.45969C7.54717 6.1681 6.1681 7.54717 4.45969 7.54717Z", fill: "#97A3B7" }))), Ox = k(Q)`
13857
13858
  flex-flow: row nowrap;
13858
13859
  align-items: center;
13859
13860
  column-gap: 12px;
@@ -13873,12 +13874,12 @@ const fo = (e) => {
13873
13874
  const { label: r, description: i, avatarUrl: o } = e, s = () => n(e);
13874
13875
  return /* @__PURE__ */ E.jsxs(Ox, { isSelected: t, onClick: s, children: [
13875
13876
  /* @__PURE__ */ E.jsx(Lx, { src: o, alt: "option" }),
13876
- /* @__PURE__ */ E.jsxs(q, { children: [
13877
+ /* @__PURE__ */ E.jsxs(Q, { children: [
13877
13878
  /* @__PURE__ */ E.jsx(fe, { color: z.palette.gray.gray1, children: r }),
13878
13879
  /* @__PURE__ */ E.jsx(fe, { color: z.palette.gray.gray3, fontSize: "12px", children: i })
13879
13880
  ] })
13880
13881
  ] });
13881
- }, Fx = k(q)`
13882
+ }, Fx = k(Q)`
13882
13883
  padding: 10px 0 10px 10px;
13883
13884
  `, { Control: Dx } = pn, Nx = ({ children: e, ...t }) => /* @__PURE__ */ E.jsxs(Dx, { ...t, children: [
13884
13885
  /* @__PURE__ */ E.jsx(Fx, { children: /* @__PURE__ */ E.jsx(Rx, {}) }),
@@ -13954,13 +13955,16 @@ const fo = (e) => {
13954
13955
  ...typeof l == "boolean" && { menuIsOpen: l }
13955
13956
  }
13956
13957
  );
13957
- }, Bx = ({ objectId: e, searchString: t, fetchSearchResults: n }) => {
13958
+ }, Bx = k(Q)`
13959
+ margin: ${({ isEmpty: e }) => e ? "0" : "12px 0"};
13960
+ `, Gx = ({ objectId: e, searchString: t, fetchSearchResults: n }) => {
13961
+ var I;
13958
13962
  const [r, i] = o0(), o = Pe(null), s = Ie(l0), l = Ie(Ix), a = Ie(Ex), c = Ge(() => e && l && l[e] && Array.isArray(l[e]) ? {
13959
13963
  id: e,
13960
13964
  formFields: l[e]
13961
13965
  } : { id: "emptyFormId", formFields: [] }, [l, e]), u = Ge(() => {
13962
- const I = (c == null ? void 0 : c.formFields) || [];
13963
- return Hd({ formFields: I });
13966
+ const C = (c == null ? void 0 : c.formFields) || [];
13967
+ return Hd({ formFields: C });
13964
13968
  }, [c]), {
13965
13969
  setValue: g,
13966
13970
  inputChangeHandler: v,
@@ -13973,36 +13977,36 @@ const fo = (e) => {
13973
13977
  formFields: c.formFields,
13974
13978
  formId: c.id
13975
13979
  }), p = ke(
13976
- (I) => {
13980
+ (C) => {
13977
13981
  o.current && clearTimeout(o.current), o.current = setTimeout(() => {
13978
- n(I);
13982
+ n(C);
13979
13983
  }, 500);
13980
13984
  },
13981
13985
  [n]
13982
13986
  );
13983
13987
  pe(() => {
13984
- const I = r.values, C = c.id, x = c.formFields;
13985
- if (Object.values(I).filter((D) => !!D).length < x.length || !s || f()) {
13988
+ const C = r.values, x = c.id, w = c.formFields;
13989
+ if (Object.values(C).filter((O) => !!O).length < w.length || !s || f()) {
13986
13990
  o.current && clearTimeout(o.current);
13987
13991
  return;
13988
13992
  }
13989
- const w = s[e].searchInterfaceDetails;
13990
- if (!w)
13993
+ const A = s[e].searchInterfaceDetails;
13994
+ if (!A)
13991
13995
  return;
13992
- const { id: A, args: T = {} } = w, F = Pi(r, T);
13993
- p({ id: C, interfaceId: A, searchString: t, args: F });
13996
+ const { id: T, args: F = {} } = A, L = Pi(r, F);
13997
+ p({ id: x, interfaceId: T, searchString: t, args: L });
13994
13998
  }, [r, c, s, e, t, f, p]), pe(() => () => {
13995
13999
  o.current && clearTimeout(o.current);
13996
14000
  }, []);
13997
- const m = (I, C, x) => {
13998
- if (C.action === "clear" && C.name && (g(C.name, ""), b(C.name, a[e]), u[C.name].isRequired && h(C.name, !0)), I && typeof I == "object" && "label" in I && typeof I.label == "string" && "value" in I && (typeof I.value == "string" || typeof I.value == "number") && typeof C.name < "u") {
13999
- let w = !1;
14000
- x && (w = x.isMultiSelect || !1);
14001
- const A = w ? [{ value: I.value, label: I.label }] : { value: I.value, label: I.label };
14002
- g(C.name, A), b(C.name, a[e]);
14001
+ const m = (C, x, w) => {
14002
+ if (x.action === "clear" && x.name && (g(x.name, ""), b(x.name, a[e]), u[x.name].isRequired && h(x.name, !0)), C && typeof C == "object" && "label" in C && typeof C.label == "string" && "value" in C && (typeof C.value == "string" || typeof C.value == "number") && typeof x.name < "u") {
14003
+ let A = !1;
14004
+ w && (A = w.isMultiSelect || !1);
14005
+ const T = A ? [{ value: C.value, label: C.label }] : { value: C.value, label: C.label };
14006
+ g(x.name, T), b(x.name, a[e]);
14003
14007
  }
14004
14008
  };
14005
- return /* @__PURE__ */ E.jsx(
14009
+ return /* @__PURE__ */ E.jsx(Bx, { isEmpty: ((I = c.formFields) == null ? void 0 : I.length) === 0, children: /* @__PURE__ */ E.jsx(
14006
14010
  $f,
14007
14011
  {
14008
14012
  showGlobalLoader: !1,
@@ -14016,22 +14020,22 @@ const fo = (e) => {
14016
14020
  values: r.values,
14017
14021
  validations: u
14018
14022
  }
14019
- );
14020
- }, Gx = "/v1/api", Vx = Gx + "/templates/metadata", jx = {
14023
+ ) });
14024
+ }, Vx = "/v1/api", jx = Vx + "/templates/metadata", Hx = {
14021
14025
  GET: "GET",
14022
14026
  POST: "POST",
14023
14027
  DELETE: "DELETE",
14024
14028
  PATCH: "PATCH",
14025
14029
  PUT: "PUT"
14026
- }, y5 = async (e) => {
14030
+ }, v5 = async (e) => {
14027
14031
  const t = new URLSearchParams(), { inboxIds: n, channelType: r, conversationId: i } = e || {};
14028
14032
  return n && n.forEach((o) => t.append("inbox_ids", o)), r && t.append("channel_type", r), i && t.append("conversation_id", i), vt({
14029
- url: `${Vx}?${t.toString()}`,
14030
- method: jx.GET
14033
+ url: `${jx}?${t.toString()}`,
14034
+ method: Hx.GET
14031
14035
  });
14032
14036
  };
14033
14037
  let sr = {};
14034
- const Hx = {
14038
+ const Wx = {
14035
14039
  get length() {
14036
14040
  return Object.keys(sr).length;
14037
14041
  },
@@ -14050,11 +14054,11 @@ const Hx = {
14050
14054
  key(e) {
14051
14055
  return Object.keys(sr)[e];
14052
14056
  }
14053
- }, Wx = {
14057
+ }, Zx = {
14054
14058
  LOCAL: window == null ? void 0 : window.localStorage,
14055
14059
  SESSION: window == null ? void 0 : window.sessionStorage
14056
- }, Zx = (e = "LOCAL") => Wx[e] ?? Hx, Xx = (e = "LOCAL") => {
14057
- const t = Zx(e);
14060
+ }, Xx = (e = "LOCAL") => Zx[e] ?? Wx, Ux = (e = "LOCAL") => {
14061
+ const t = Xx(e);
14058
14062
  return {
14059
14063
  ...t,
14060
14064
  getItem(n) {
@@ -14075,7 +14079,7 @@ const Hx = {
14075
14079
  }
14076
14080
  }
14077
14081
  };
14078
- }, hs = "@connector-agent-global-search-priority", ps = Xx(), Ux = ({ objectList: e }) => ({
14082
+ }, hs = "@connector-agent-global-search-priority", ps = Ux(), zx = ({ objectList: e }) => ({
14079
14083
  sortedObjectList: Ge(() => {
14080
14084
  const r = ps.getItem(hs);
14081
14085
  return r ? [...e].sort((i, o) => (r[i.value] ?? 0) > (r[o.value] ?? 0) ? -1 : 1) : e;
@@ -14084,20 +14088,20 @@ const Hx = {
14084
14088
  const i = ps.getItem(hs) ?? {};
14085
14089
  i[r] || (i[r] = 0), i[r]++, ps.setItem(hs, i);
14086
14090
  }
14087
- }), zx = k(q)`
14091
+ }), Yx = k(Q)`
14088
14092
  padding: 8px 0;
14089
- `, Yx = k(fe)`
14093
+ `, $x = k(fe)`
14090
14094
  padding: 6px 16px;
14091
14095
  color: ${z.palette.gray.gray4};
14092
14096
  font-size: 13px;
14093
- `, $x = k(fe)`
14097
+ `, Jx = k(fe)`
14094
14098
  padding: 6px 16px;
14095
14099
  color: ${z.palette.gray.gray3};
14096
14100
  font-size: 11px;
14097
14101
  text-transform: uppercase;
14098
- `, Jx = ({ onSelect: e, selectedOption: t, options: n }) => n.length ? /* @__PURE__ */ E.jsxs(zx, { children: [
14099
- /* @__PURE__ */ E.jsx(Yx, { children: wx }),
14100
- /* @__PURE__ */ E.jsx($x, { children: Ax }),
14102
+ `, Qx = ({ onSelect: e, selectedOption: t, options: n }) => n.length ? /* @__PURE__ */ E.jsxs(Yx, { children: [
14103
+ /* @__PURE__ */ E.jsx($x, { children: wx }),
14104
+ /* @__PURE__ */ E.jsx(Jx, { children: Ax }),
14101
14105
  n.map((r) => /* @__PURE__ */ E.jsx(
14102
14106
  u0,
14103
14107
  {
@@ -14127,7 +14131,7 @@ var Mr = class {
14127
14131
  }, er = typeof window > "u" || "Deno" in globalThis;
14128
14132
  function Lt() {
14129
14133
  }
14130
- function Qx(e, t) {
14134
+ function qx(e, t) {
14131
14135
  return typeof e == "function" ? e(t) : e;
14132
14136
  }
14133
14137
  function $s(e) {
@@ -14228,7 +14232,7 @@ function Qs(e) {
14228
14232
  function Ul(e) {
14229
14233
  return Object.prototype.toString.call(e) === "[object Object]";
14230
14234
  }
14231
- function qx(e) {
14235
+ function Kx(e) {
14232
14236
  return new Promise((t) => {
14233
14237
  setTimeout(t, e);
14234
14238
  });
@@ -14249,11 +14253,11 @@ function qs(e, t, n) {
14249
14253
  }
14250
14254
  return t;
14251
14255
  }
14252
- function Kx(e, t, n = 0) {
14256
+ function e4(e, t, n = 0) {
14253
14257
  const r = [...e, t];
14254
14258
  return n && r.length > n ? r.slice(1) : r;
14255
14259
  }
14256
- function e4(e, t, n = 0) {
14260
+ function t4(e, t, n = 0) {
14257
14261
  const r = [t, ...e];
14258
14262
  return n && r.length > n ? r.slice(0, -1) : r;
14259
14263
  }
@@ -14263,7 +14267,7 @@ function f0(e, t) {
14263
14267
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
14264
14268
  ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === po ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
14265
14269
  }
14266
- var Bn, yn, pr, ql, t4 = (ql = class extends Mr {
14270
+ var Bn, yn, pr, ql, n4 = (ql = class extends Mr {
14267
14271
  constructor() {
14268
14272
  super();
14269
14273
  K(this, Bn);
@@ -14304,7 +14308,7 @@ var Bn, yn, pr, ql, t4 = (ql = class extends Mr {
14304
14308
  var t;
14305
14309
  return typeof S(this, Bn) == "boolean" ? S(this, Bn) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
14306
14310
  }
14307
- }, Bn = new WeakMap(), yn = new WeakMap(), pr = new WeakMap(), ql), za = new t4(), gr, Cn, mr, Kl, n4 = (Kl = class extends Mr {
14311
+ }, Bn = new WeakMap(), yn = new WeakMap(), pr = new WeakMap(), ql), za = new n4(), gr, Cn, mr, Kl, r4 = (Kl = class extends Mr {
14308
14312
  constructor() {
14309
14313
  super();
14310
14314
  K(this, gr, !0);
@@ -14338,7 +14342,7 @@ var Bn, yn, pr, ql, t4 = (ql = class extends Mr {
14338
14342
  isOnline() {
14339
14343
  return S(this, gr);
14340
14344
  }
14341
- }, gr = new WeakMap(), Cn = new WeakMap(), mr = new WeakMap(), Kl), go = new n4();
14345
+ }, gr = new WeakMap(), Cn = new WeakMap(), mr = new WeakMap(), Kl), go = new r4();
14342
14346
  function Ks() {
14343
14347
  let e, t;
14344
14348
  const n = new Promise((i, o) => {
@@ -14361,7 +14365,7 @@ function Ks() {
14361
14365
  }), t(i);
14362
14366
  }, n;
14363
14367
  }
14364
- function r4(e) {
14368
+ function i4(e) {
14365
14369
  return Math.min(1e3 * 2 ** e, 3e4);
14366
14370
  }
14367
14371
  function h0(e) {
@@ -14412,12 +14416,12 @@ function g0(e) {
14412
14416
  var x;
14413
14417
  if (r)
14414
14418
  return;
14415
- const p = e.retry ?? (er ? 0 : 3), m = e.retryDelay ?? r4, I = typeof m == "function" ? m(n, d) : m, C = p === !0 || typeof p == "number" && n < p || typeof p == "function" && p(n, d);
14419
+ const p = e.retry ?? (er ? 0 : 3), m = e.retryDelay ?? i4, I = typeof m == "function" ? m(n, d) : m, C = p === !0 || typeof p == "number" && n < p || typeof p == "function" && p(n, d);
14416
14420
  if (t || !C) {
14417
14421
  v(d);
14418
14422
  return;
14419
14423
  }
14420
- n++, (x = e.onFail) == null || x.call(e, n, d), qx(I).then(() => c() ? void 0 : y()).then(() => {
14424
+ n++, (x = e.onFail) == null || x.call(e, n, d), Kx(I).then(() => c() ? void 0 : y()).then(() => {
14421
14425
  t ? v(d) : b();
14422
14426
  });
14423
14427
  });
@@ -14432,7 +14436,7 @@ function g0(e) {
14432
14436
  start: () => (u() ? b() : y().then(b), o)
14433
14437
  };
14434
14438
  }
14435
- function i4() {
14439
+ function o4() {
14436
14440
  let e = [], t = 0, n = (l) => {
14437
14441
  l();
14438
14442
  }, r = (l) => {
@@ -14491,7 +14495,7 @@ function i4() {
14491
14495
  }
14492
14496
  };
14493
14497
  }
14494
- var Ue = i4(), Gn, eu, m0 = (eu = class {
14498
+ var Ue = o4(), Gn, eu, m0 = (eu = class {
14495
14499
  constructor() {
14496
14500
  K(this, Gn);
14497
14501
  }
@@ -14512,7 +14516,7 @@ var Ue = i4(), Gn, eu, m0 = (eu = class {
14512
14516
  clearGcTimeout() {
14513
14517
  S(this, Gn) && (clearTimeout(S(this, Gn)), H(this, Gn, void 0));
14514
14518
  }
14515
- }, Gn = new WeakMap(), eu), br, vr, Ot, Vn, tt, ci, jn, Mt, sn, tu, o4 = (tu = class extends m0 {
14519
+ }, Gn = new WeakMap(), eu), br, vr, Ot, Vn, tt, ci, jn, Mt, sn, tu, s4 = (tu = class extends m0 {
14516
14520
  constructor(t) {
14517
14521
  super();
14518
14522
  K(this, Mt);
@@ -14523,7 +14527,7 @@ var Ue = i4(), Gn, eu, m0 = (eu = class {
14523
14527
  K(this, tt);
14524
14528
  K(this, ci);
14525
14529
  K(this, jn);
14526
- H(this, jn, !1), H(this, ci, t.defaultOptions), this.setOptions(t.options), this.observers = [], H(this, Vn, t.client), H(this, Ot, S(this, Vn).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, H(this, br, s4(this.options)), this.state = t.state ?? S(this, br), this.scheduleGc();
14530
+ H(this, jn, !1), H(this, ci, t.defaultOptions), this.setOptions(t.options), this.observers = [], H(this, Vn, t.client), H(this, Ot, S(this, Vn).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, H(this, br, a4(this.options)), this.state = t.state ?? S(this, br), this.scheduleGc();
14527
14531
  }
14528
14532
  get meta() {
14529
14533
  return this.options.meta;
@@ -14780,7 +14784,7 @@ function b0(e, t) {
14780
14784
  }
14781
14785
  };
14782
14786
  }
14783
- function s4(e) {
14787
+ function a4(e) {
14784
14788
  const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
14785
14789
  return {
14786
14790
  data: t,
@@ -14797,7 +14801,7 @@ function s4(e) {
14797
14801
  fetchStatus: "idle"
14798
14802
  };
14799
14803
  }
14800
- var Zt, nu, a4 = (nu = class extends Mr {
14804
+ var Zt, nu, c4 = (nu = class extends Mr {
14801
14805
  constructor(t = {}) {
14802
14806
  super();
14803
14807
  K(this, Zt);
@@ -14806,7 +14810,7 @@ var Zt, nu, a4 = (nu = class extends Mr {
14806
14810
  build(t, n, r) {
14807
14811
  const i = n.queryKey, o = n.queryHash ?? Ua(i, n);
14808
14812
  let s = this.get(o);
14809
- return s || (s = new o4({
14813
+ return s || (s = new s4({
14810
14814
  client: t,
14811
14815
  queryKey: i,
14812
14816
  queryHash: o,
@@ -14869,7 +14873,7 @@ var Zt, nu, a4 = (nu = class extends Mr {
14869
14873
  });
14870
14874
  });
14871
14875
  }
14872
- }, Zt = new WeakMap(), nu), Xt, it, Hn, Ut, vn, ru, c4 = (ru = class extends m0 {
14876
+ }, Zt = new WeakMap(), nu), Xt, it, Hn, Ut, vn, ru, l4 = (ru = class extends m0 {
14873
14877
  constructor(t) {
14874
14878
  super();
14875
14879
  K(this, Ut);
@@ -15066,7 +15070,7 @@ function v0() {
15066
15070
  submittedAt: 0
15067
15071
  };
15068
15072
  }
15069
- var an, Bt, li, iu, l4 = (iu = class extends Mr {
15073
+ var an, Bt, li, iu, u4 = (iu = class extends Mr {
15070
15074
  constructor(t = {}) {
15071
15075
  super();
15072
15076
  K(this, an);
@@ -15075,7 +15079,7 @@ var an, Bt, li, iu, l4 = (iu = class extends Mr {
15075
15079
  this.config = t, H(this, an, /* @__PURE__ */ new Set()), H(this, Bt, /* @__PURE__ */ new Map()), H(this, li, 0);
15076
15080
  }
15077
15081
  build(t, n, r) {
15078
- const i = new c4({
15082
+ const i = new l4({
15079
15083
  mutationCache: this,
15080
15084
  mutationId: ++vi(this, li)._,
15081
15085
  options: t.defaultMutationOptions(n),
@@ -15194,14 +15198,14 @@ function zl(e) {
15194
15198
  f(x);
15195
15199
  const w = await d(
15196
15200
  x
15197
- ), { maxPages: A } = t.options, T = C ? e4 : Kx;
15201
+ ), { maxPages: A } = t.options, T = C ? t4 : e4;
15198
15202
  return {
15199
15203
  pages: T(m.pages, w, A),
15200
15204
  pageParams: T(m.pageParams, I, A)
15201
15205
  };
15202
15206
  };
15203
15207
  if (i && o.length) {
15204
- const m = i === "backward", I = m ? u4 : Yl, C = {
15208
+ const m = i === "backward", I = m ? d4 : Yl, C = {
15205
15209
  pages: o,
15206
15210
  pageParams: s
15207
15211
  }, x = I(r, C);
@@ -15243,11 +15247,11 @@ function Yl(e, { pages: t, pageParams: n }) {
15243
15247
  n
15244
15248
  ) : void 0;
15245
15249
  }
15246
- function u4(e, { pages: t, pageParams: n }) {
15250
+ function d4(e, { pages: t, pageParams: n }) {
15247
15251
  var r;
15248
15252
  return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
15249
15253
  }
15250
- var Me, In, En, yr, Cr, xn, Ir, Er, ou, d4 = (ou = class {
15254
+ var Me, In, En, yr, Cr, xn, Ir, Er, ou, f4 = (ou = class {
15251
15255
  constructor(e = {}) {
15252
15256
  K(this, Me);
15253
15257
  K(this, In);
@@ -15257,7 +15261,7 @@ var Me, In, En, yr, Cr, xn, Ir, Er, ou, d4 = (ou = class {
15257
15261
  K(this, xn);
15258
15262
  K(this, Ir);
15259
15263
  K(this, Er);
15260
- H(this, Me, e.queryCache || new a4()), H(this, In, e.mutationCache || new l4()), H(this, En, e.defaultOptions || {}), H(this, yr, /* @__PURE__ */ new Map()), H(this, Cr, /* @__PURE__ */ new Map()), H(this, xn, 0);
15264
+ H(this, Me, e.queryCache || new c4()), H(this, In, e.mutationCache || new u4()), H(this, En, e.defaultOptions || {}), H(this, yr, /* @__PURE__ */ new Map()), H(this, Cr, /* @__PURE__ */ new Map()), H(this, xn, 0);
15261
15265
  }
15262
15266
  mount() {
15263
15267
  vi(this, xn)._++, S(this, xn) === 1 && (H(this, Ir, za.subscribe(async (e) => {
@@ -15294,7 +15298,7 @@ var Me, In, En, yr, Cr, xn, Ir, Er, ou, d4 = (ou = class {
15294
15298
  setQueryData(e, t, n) {
15295
15299
  const r = this.defaultQueryOptions({ queryKey: e }), i = S(this, Me).get(
15296
15300
  r.queryHash
15297
- ), o = i == null ? void 0 : i.state.data, s = Qx(t, o);
15301
+ ), o = i == null ? void 0 : i.state.data, s = qx(t, o);
15298
15302
  if (s !== void 0)
15299
15303
  return S(this, Me).build(this, r).setData(s, { ...n, manual: !0 });
15300
15304
  }
@@ -15446,7 +15450,7 @@ var Me, In, En, yr, Cr, xn, Ir, Er, ou, d4 = (ou = class {
15446
15450
  clear() {
15447
15451
  S(this, Me).clear(), S(this, In).clear();
15448
15452
  }
15449
- }, Me = new WeakMap(), In = new WeakMap(), En = new WeakMap(), yr = new WeakMap(), Cr = new WeakMap(), xn = new WeakMap(), Ir = new WeakMap(), Er = new WeakMap(), ou), lt, me, ui, ot, Wn, xr, wn, zt, di, wr, Ar, Zn, Xn, An, Tr, Re, Yr, ea, ta, na, ra, ia, oa, sa, y0, su, f4 = (su = class extends Mr {
15453
+ }, Me = new WeakMap(), In = new WeakMap(), En = new WeakMap(), yr = new WeakMap(), Cr = new WeakMap(), xn = new WeakMap(), Ir = new WeakMap(), Er = new WeakMap(), ou), lt, me, ui, ot, Wn, xr, wn, zt, di, wr, Ar, Zn, Xn, An, Tr, Re, Yr, ea, ta, na, ra, ia, oa, sa, y0, su, h4 = (su = class extends Mr {
15450
15454
  constructor(t, n) {
15451
15455
  super();
15452
15456
  K(this, Re);
@@ -15520,7 +15524,7 @@ var Me, In, En, yr, Cr, xn, Ir, Er, ou, d4 = (ou = class {
15520
15524
  }
15521
15525
  getOptimisticResult(t) {
15522
15526
  const n = S(this, lt).getQueryCache().build(S(this, lt), t), r = this.createResult(n, t);
15523
- return p4(this, r) && (H(this, ot, r), H(this, xr, this.options), H(this, Wn, S(this, me).state)), r;
15527
+ return g4(this, r) && (H(this, ot, r), H(this, xr, this.options), H(this, Wn, S(this, me).state)), r;
15524
15528
  }
15525
15529
  getCurrentResult() {
15526
15530
  return S(this, ot);
@@ -15718,11 +15722,11 @@ var Me, In, En, yr, Cr, xn, Ir, Er, ou, d4 = (ou = class {
15718
15722
  });
15719
15723
  });
15720
15724
  }, su);
15721
- function h4(e, t) {
15725
+ function p4(e, t) {
15722
15726
  return Gt(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
15723
15727
  }
15724
15728
  function $l(e, t) {
15725
- return h4(e, t) || e.state.data !== void 0 && aa(e, t, t.refetchOnMount);
15729
+ return p4(e, t) || e.state.data !== void 0 && aa(e, t, t.refetchOnMount);
15726
15730
  }
15727
15731
  function aa(e, t, n) {
15728
15732
  if (Gt(t.enabled, e) !== !1) {
@@ -15737,10 +15741,10 @@ function Jl(e, t, n, r) {
15737
15741
  function Ya(e, t) {
15738
15742
  return Gt(t.enabled, e) !== !1 && e.isStaleByTime(hr(t.staleTime, e));
15739
15743
  }
15740
- function p4(e, t) {
15744
+ function g4(e, t) {
15741
15745
  return !ho(e.getCurrentResult(), t);
15742
15746
  }
15743
- var Tn, _n, ut, cn, un, Yi, ca, au, g4 = (au = class extends Mr {
15747
+ var Tn, _n, ut, cn, un, Yi, ca, au, m4 = (au = class extends Mr {
15744
15748
  constructor(t, n) {
15745
15749
  super();
15746
15750
  K(this, un);
@@ -15816,14 +15820,14 @@ var Tn, _n, ut, cn, un, Yi, ca, au, g4 = (au = class extends Mr {
15816
15820
  if (!t)
15817
15821
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
15818
15822
  return t;
15819
- }, m4 = ({
15823
+ }, b4 = ({
15820
15824
  client: e,
15821
15825
  children: t
15822
15826
  }) => (M.useEffect(() => (e.mount(), () => {
15823
15827
  e.unmount();
15824
- }), [e]), /* @__PURE__ */ E.jsx(C0.Provider, { value: e, children: t })), E0 = M.createContext(!1), b4 = () => M.useContext(E0);
15828
+ }), [e]), /* @__PURE__ */ E.jsx(C0.Provider, { value: e, children: t })), E0 = M.createContext(!1), v4 = () => M.useContext(E0);
15825
15829
  E0.Provider;
15826
- function v4() {
15830
+ function y4() {
15827
15831
  let e = !1;
15828
15832
  return {
15829
15833
  clearReset: () => {
@@ -15835,43 +15839,43 @@ function v4() {
15835
15839
  isReset: () => e
15836
15840
  };
15837
15841
  }
15838
- var y4 = M.createContext(v4()), C4 = () => M.useContext(y4);
15842
+ var C4 = M.createContext(y4()), I4 = () => M.useContext(C4);
15839
15843
  function x0(e, t) {
15840
15844
  return typeof e == "function" ? e(...t) : !!e;
15841
15845
  }
15842
15846
  function la() {
15843
15847
  }
15844
- var I4 = (e, t) => {
15848
+ var E4 = (e, t) => {
15845
15849
  (e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
15846
- }, E4 = (e) => {
15850
+ }, x4 = (e) => {
15847
15851
  M.useEffect(() => {
15848
15852
  e.clearReset();
15849
15853
  }, [e]);
15850
- }, x4 = ({
15854
+ }, w4 = ({
15851
15855
  result: e,
15852
15856
  errorResetBoundary: t,
15853
15857
  throwOnError: n,
15854
15858
  query: r,
15855
15859
  suspense: i
15856
- }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || x0(n, [e.error, r])), w4 = (e) => {
15860
+ }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || x0(n, [e.error, r])), A4 = (e) => {
15857
15861
  const t = e.staleTime;
15858
15862
  e.suspense && (e.staleTime = typeof t == "function" ? (...n) => Math.max(t(...n), 1e3) : Math.max(t ?? 1e3, 1e3), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, 1e3)));
15859
- }, A4 = (e, t) => e.isLoading && e.isFetching && !t, T4 = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, Ql = (e, t, n) => t.fetchOptimistic(e).catch(() => {
15863
+ }, T4 = (e, t) => e.isLoading && e.isFetching && !t, _4 = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, Ql = (e, t, n) => t.fetchOptimistic(e).catch(() => {
15860
15864
  n.clearReset();
15861
15865
  });
15862
- function _4(e, t, n) {
15866
+ function S4(e, t, n) {
15863
15867
  var g, v, y, b, h;
15864
15868
  if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e)))
15865
15869
  throw new Error(
15866
15870
  'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
15867
15871
  );
15868
- const r = I0(), i = b4(), o = C4(), s = r.defaultQueryOptions(e);
15872
+ const r = I0(), i = v4(), o = I4(), s = r.defaultQueryOptions(e);
15869
15873
  (v = (g = r.getDefaultOptions().queries) == null ? void 0 : g._experimental_beforeQuery) == null || v.call(
15870
15874
  g,
15871
15875
  s
15872
15876
  ), process.env.NODE_ENV !== "production" && (s.queryFn || console.error(
15873
15877
  `[${s.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
15874
- )), s._optimisticResults = i ? "isRestoring" : "optimistic", w4(s), I4(s, o), E4(o);
15878
+ )), s._optimisticResults = i ? "isRestoring" : "optimistic", A4(s), E4(s, o), x4(o);
15875
15879
  const l = !r.getQueryCache().get(s.queryHash), [a] = M.useState(
15876
15880
  () => new t(
15877
15881
  r,
@@ -15890,9 +15894,9 @@ function _4(e, t, n) {
15890
15894
  () => a.getCurrentResult()
15891
15895
  ), M.useEffect(() => {
15892
15896
  a.setOptions(s, { listeners: !1 });
15893
- }, [s, a]), T4(s, c))
15897
+ }, [s, a]), _4(s, c))
15894
15898
  throw Ql(s, a, o);
15895
- if (x4({
15899
+ if (w4({
15896
15900
  result: c,
15897
15901
  errorResetBoundary: o,
15898
15902
  throwOnError: s.throwOnError,
@@ -15904,7 +15908,7 @@ function _4(e, t, n) {
15904
15908
  y,
15905
15909
  s,
15906
15910
  c
15907
- ), s.experimental_prefetchInRender && !er && A4(c, i)) {
15911
+ ), s.experimental_prefetchInRender && !er && T4(c, i)) {
15908
15912
  const f = l ? (
15909
15913
  // Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
15910
15914
  Ql(s, a, o)
@@ -15919,11 +15923,11 @@ function _4(e, t, n) {
15919
15923
  return s.notifyOnChangeProps ? c : a.trackResult(c);
15920
15924
  }
15921
15925
  function w0(e, t) {
15922
- return _4(e, f4);
15926
+ return S4(e, h4);
15923
15927
  }
15924
15928
  function A0(e, t) {
15925
15929
  const n = I0(), [r] = M.useState(
15926
- () => new g4(
15930
+ () => new m4(
15927
15931
  n,
15928
15932
  e
15929
15933
  )
@@ -15948,7 +15952,7 @@ function A0(e, t) {
15948
15952
  throw i.error;
15949
15953
  return { ...i, mutate: o, mutateAsync: i.mutate };
15950
15954
  }
15951
- const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
15955
+ const R4 = (e) => new Promise((t) => setTimeout(t, e)), O4 = ({
15952
15956
  apiFn: e,
15953
15957
  intervalMillis: t,
15954
15958
  maxRetries: n,
@@ -15960,10 +15964,10 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
15960
15964
  return a;
15961
15965
  if (l >= n)
15962
15966
  throw a;
15963
- return l++, S4(t).then(() => s(l));
15967
+ return l++, R4(t).then(() => s(l));
15964
15968
  };
15965
15969
  return s();
15966
- }, O4 = async ({
15970
+ }, L4 = async ({
15967
15971
  conversationId: e,
15968
15972
  senderEmail: t
15969
15973
  }) => {
@@ -15979,10 +15983,10 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
15979
15983
  }
15980
15984
  }, T0 = ({ conversationId: e, senderEmail: t, enabled: n }) => w0({
15981
15985
  queryKey: ["Global", "ConversationMetaData", e, t],
15982
- queryFn: () => O4({ conversationId: e, senderEmail: t }),
15986
+ queryFn: () => L4({ conversationId: e, senderEmail: t }),
15983
15987
  refetchOnMount: !1,
15984
15988
  enabled: n
15985
- }), _0 = "/v1/api", L4 = `${_0}/connectors/forms/:formId/search`, F4 = `${_0}/connectors/conversation/:conversationId/smart-suggestions`, D4 = (e) => {
15989
+ }), _0 = "/v1/api", F4 = `${_0}/connectors/forms/:formId/search`, D4 = `${_0}/connectors/conversation/:conversationId/smart-suggestions`, N4 = (e) => {
15986
15990
  if (e.status !== "completed") return e;
15987
15991
  const t = e.smart_suggestions ?? [], n = [];
15988
15992
  for (const r of t)
@@ -15998,39 +16002,35 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
15998
16002
  ...e,
15999
16003
  suggestedOptions: n
16000
16004
  };
16001
- }, N4 = async ({ conversationId: e }) => {
16005
+ }, k4 = async ({ conversationId: e }) => {
16002
16006
  try {
16003
16007
  const t = await vt({
16004
- url: pi(F4, { conversationId: e }),
16008
+ url: pi(D4, { conversationId: e }),
16005
16009
  method: _t.GET
16006
16010
  }), n = t == null ? void 0 : t.data;
16007
- return D4(n);
16011
+ return N4(n);
16008
16012
  } catch (t) {
16009
16013
  throw console.error(t), t;
16010
16014
  }
16011
- }, k4 = R4({
16012
- apiFn: N4,
16015
+ }, P4 = O4({
16016
+ apiFn: k4,
16013
16017
  intervalMillis: 1500,
16014
16018
  maxRetries: 5,
16015
16019
  isSatisfied: (e) => e.status !== "pending"
16016
- }), P4 = ({ conversationId: e, senderEmail: t, enabled: n }) => {
16020
+ }), M4 = ({ conversationId: e, senderEmail: t, enabled: n }) => {
16017
16021
  const { isSuccess: r } = T0({ conversationId: e, senderEmail: t, enabled: n });
16018
16022
  return w0({
16019
16023
  queryKey: ["GlobalSearch", "SmartSuggestions", e],
16020
- queryFn: () => k4({ conversationId: e }),
16024
+ queryFn: () => P4({ conversationId: e }),
16021
16025
  enabled: n && r
16022
16026
  });
16023
- }, M4 = k(q)`
16024
- margin-bottom: 12px;
16025
- `, B4 = k(q)`
16026
- padding: 12px 0;
16027
- `, G4 = ({
16027
+ }, B4 = ({
16028
16028
  selectedObject: e,
16029
16029
  setSelectedObject: t,
16030
16030
  fetchSearchResults: n,
16031
16031
  onReset: r
16032
16032
  }) => {
16033
- const [i, o] = $(""), { conversationId: s, email: l, availableFeatures: a } = at(bt), c = Ie(Cx), u = Ie(l0), g = Vt(a, u1), { sortedObjectList: v, updatePriority: y } = Ux({ objectList: c }), { data: b } = P4({
16033
+ const [i, o] = $(""), { conversationId: s, email: l, availableFeatures: a } = at(bt), c = Ie(Cx), u = Ie(l0), g = Vt(a, u1), { sortedObjectList: v, updatePriority: y } = zx({ objectList: c }), { data: b } = M4({
16034
16034
  enabled: g && !!s,
16035
16035
  conversationId: String(s),
16036
16036
  senderEmail: l
@@ -16047,7 +16047,7 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16047
16047
  }).filter((p) => !!p), [v, u]), d = (p) => {
16048
16048
  t(p), p && y("" + p.value);
16049
16049
  };
16050
- return /* @__PURE__ */ E.jsxs(M4, { children: [
16050
+ return /* @__PURE__ */ E.jsxs(Q, { children: [
16051
16051
  /* @__PURE__ */ E.jsx(
16052
16052
  Mx,
16053
16053
  {
@@ -16057,20 +16057,21 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16057
16057
  onInputChange: o,
16058
16058
  onChange: d,
16059
16059
  onReset: r,
16060
- NoOptionsMessage: ({ selectOption: p }) => /* @__PURE__ */ E.jsx(Jx, { selectedOption: e, onSelect: p, options: h }),
16060
+ NoOptionsMessage: ({ selectOption: p }) => /* @__PURE__ */ E.jsx(Qx, { selectedOption: e, onSelect: p, options: h }),
16061
16061
  menuOpen: !i && !h.length ? !1 : void 0
16062
16062
  }
16063
16063
  ),
16064
- e ? /* @__PURE__ */ E.jsx(B4, { children: /* @__PURE__ */ E.jsx(
16065
- Bx,
16064
+ e ? /* @__PURE__ */ E.jsx(
16065
+ Gx,
16066
16066
  {
16067
16067
  objectId: e.value,
16068
16068
  searchString: e.label,
16069
16069
  fetchSearchResults: n
16070
- }
16071
- ) }) : null
16070
+ },
16071
+ e.value
16072
+ ) : null
16072
16073
  ] });
16073
- }, V4 = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.00483%2012.5052C7.73146%2012.7786%207.73146%2013.2218%208.00483%2013.4952C8.2782%2013.7685%208.72141%2013.7685%208.99478%2013.4952L11.9948%2010.4952C12.2681%2010.2218%2012.2681%209.77859%2011.9948%209.50522L8.99478%206.50522C8.72141%206.23185%208.2782%206.23185%208.00483%206.50522C7.73146%206.77859%207.73146%207.2218%208.00483%207.49517L10.5099%2010.0002L8.00483%2012.5052Z'%20fill='%236C7B94'/%3e%3c/svg%3e", j4 = async ({ id: e, externalResourceId: t, conversationId: n, channelType: r = "email" }) => {
16074
+ }, G4 = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.00483%2012.5052C7.73146%2012.7786%207.73146%2013.2218%208.00483%2013.4952C8.2782%2013.7685%208.72141%2013.7685%208.99478%2013.4952L11.9948%2010.4952C12.2681%2010.2218%2012.2681%209.77859%2011.9948%209.50522L8.99478%206.50522C8.72141%206.23185%208.2782%206.23185%208.00483%206.50522C7.73146%206.77859%207.73146%207.2218%208.00483%207.49517L10.5099%2010.0002L8.00483%2012.5052Z'%20fill='%236C7B94'/%3e%3c/svg%3e", V4 = async ({ id: e, externalResourceId: t, conversationId: n, channelType: r = "email" }) => {
16074
16075
  const i = new URLSearchParams();
16075
16076
  i.append("channel_type", r), await vt({
16076
16077
  url: `${qb.replace(":id", e)}?${i.toString()}`,
@@ -16080,15 +16081,15 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16080
16081
  conversationId: n
16081
16082
  }
16082
16083
  });
16083
- }, H4 = ({ onSuccess: e }) => A0({
16084
- mutationFn: j4,
16084
+ }, j4 = ({ onSuccess: e }) => A0({
16085
+ mutationFn: V4,
16085
16086
  onSuccess: () => {
16086
16087
  Qe({ message: bb, type: On }), e == null || e();
16087
16088
  },
16088
16089
  onError: () => {
16089
16090
  Qe({ message: vb, type: en });
16090
16091
  }
16091
- }), W4 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8444_63907)'%3e%3cpath%20d='M7.99967%2013.333L8.93967%2012.393L5.21968%208.66634H13.333V7.33301L5.21968%207.33301L8.93967%203.60634L7.99967%202.66634L2.66634%207.99967L7.99967%2013.333Z'%20fill='%23343C45'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8444_63907'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='matrix(-1%200%200%20-1%2016%2016)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Z4 = k(q)`
16092
+ }), H4 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8444_63907)'%3e%3cpath%20d='M7.99967%2013.333L8.93967%2012.393L5.21968%208.66634H13.333V7.33301L5.21968%207.33301L8.93967%203.60634L7.99967%202.66634L2.66634%207.99967L7.99967%2013.333Z'%20fill='%23343C45'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8444_63907'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='matrix(-1%200%200%20-1%2016%2016)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", W4 = k(Q)`
16092
16093
  width: fit-content;
16093
16094
  cursor: pointer;
16094
16095
  gap: 8px;
@@ -16100,8 +16101,8 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16100
16101
  letter-spacing: 0.4px;
16101
16102
  text-align: center;
16102
16103
  vertical-align: middle;
16103
- `, X4 = ({ meta: { externalResourceId: e, formId: t }, onBack: n, onLink: r }) => {
16104
- const i = tn(), { conversationId: o } = at(bt), s = Ie(Qf), l = Ie(qf), { mutate: a, isPending: c } = H4({ onSuccess: r }), u = l === J.LOADING, g = {
16104
+ `, Z4 = ({ meta: { externalResourceId: e, formId: t }, onBack: n, onLink: r }) => {
16105
+ const i = tn(), { conversationId: o } = at(bt), s = Ie(Qf), l = Ie(qf), { mutate: a, isPending: c } = j4({ onSuccess: r }), u = l === J.LOADING, g = {
16105
16106
  externalResourceId: e
16106
16107
  };
16107
16108
  pe(() => {
@@ -16114,12 +16115,12 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16114
16115
  conversationId: o
16115
16116
  });
16116
16117
  };
16117
- return /* @__PURE__ */ E.jsxs(q, { gap: "12px", children: [
16118
- /* @__PURE__ */ E.jsxs(Z4, { onClick: n, children: [
16119
- /* @__PURE__ */ E.jsx("img", { src: W4, width: "16px", height: "16px" }),
16118
+ return /* @__PURE__ */ E.jsxs(Q, { gap: "12px", marginTop: "12px", children: [
16119
+ /* @__PURE__ */ E.jsxs(W4, { onClick: n, children: [
16120
+ /* @__PURE__ */ E.jsx("img", { src: H4, width: "16px", height: "16px" }),
16120
16121
  /* @__PURE__ */ E.jsx(fe, { children: _x })
16121
16122
  ] }),
16122
- /* @__PURE__ */ E.jsxs(q, { gap: "24px", children: [
16123
+ /* @__PURE__ */ E.jsxs(Q, { gap: "24px", children: [
16123
16124
  /* @__PURE__ */ E.jsx(
16124
16125
  Kf,
16125
16126
  {
@@ -16129,10 +16130,10 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16129
16130
  args: g
16130
16131
  }
16131
16132
  ),
16132
- /* @__PURE__ */ E.jsx(q, { alignItems: "flex-end", children: /* @__PURE__ */ E.jsx(gt, { size: "small", disabled: u || c, onClick: v, children: Ku }) })
16133
+ /* @__PURE__ */ E.jsx(Q, { alignItems: "flex-end", children: /* @__PURE__ */ E.jsx(gt, { size: "small", disabled: u || c, onClick: v, children: Ku }) })
16133
16134
  ] })
16134
16135
  ] });
16135
- }, S0 = k(q)`
16136
+ }, S0 = k(Q)`
16136
16137
  padding: 12px 12px 12px 11px;
16137
16138
  border: 1px solid ${z.palette.gray.gray5};
16138
16139
  border-radius: 8px;
@@ -16148,10 +16149,10 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16148
16149
  }
16149
16150
  }
16150
16151
  `};
16151
- `, U4 = "data:image/svg+xml,%3csvg%20width='124'%20height='107'%20viewBox='0%200%20124%20107'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.6168%2054.7446C28.6931%2052.5589%2031.0146%2051.1102%2033.0842%2051.8174C35.9985%2052.8133%2040.0375%2053.9024%2044.0621%2054.043C48.0034%2054.1806%2051.968%2053.4097%2054.8762%2052.6339C57.0264%2052.0602%2059.2927%2053.6932%2059.215%2055.9172C59.1742%2057.0856%2058.4742%2058.1269%2057.3723%2058.5178C54.8051%2059.4284%2049.7633%2060.8927%2044.3075%2060.7022C38.7694%2060.5088%2033.1999%2058.6241%2030.4004%2057.5311C29.2637%2057.0873%2028.5742%2055.9641%2028.6168%2054.7446Z'%20fill='url(%23paint0_linear_8481_102191)'/%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='url(%23paint1_linear_8481_102191)'/%3e%3cmask%20id='mask0_8481_102191'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='46'%20y='14'%20width='60'%20height='79'%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8481_102191)'%3e%3cellipse%20cx='63.7775'%20cy='46.8684'%20rx='1.48152'%20ry='1.39438'%20transform='rotate(-12%2063.7775%2046.8684)'%20fill='%23435C71'/%3e%3crect%20x='47.4368'%20y='59.3203'%20width='53.657'%20height='13.2235'%20transform='rotate(-12%2047.4368%2059.3203)'%20fill='url(%23paint2_linear_8481_102191)'/%3e%3crect%20x='51.1907'%20y='76.9824'%20width='53.657'%20height='10.4263'%20transform='rotate(-12%2051.1907%2076.9824)'%20fill='url(%23paint3_linear_8481_102191)'/%3e%3c/g%3e%3cpath%20opacity='0.883952'%20d='M113.939%2051.0679C114.775%2055%20112.265%2058.865%20108.333%2059.7008L107.842%2059.8052C103.639%2060.6986%2099.5073%2058.0155%2098.6139%2053.8123L97.205%2047.1837L105.307%2045.4616C109.239%2044.6259%20113.104%2047.1359%20113.939%2051.0679Z'%20fill='url(%23paint4_linear_8481_102191)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M68.7215%2066.4138C67.1801%2064.8725%2067.6745%2062.2062%2069.587%2061.1603C72.4457%2059.5969%2076.2861%2057.1773%2079.3785%2054.0849C82.4099%2051.0535%2084.752%2047.3461%2086.2775%2044.5465C87.3388%2042.5989%2090.0598%2042.0819%2091.6282%2043.6503C92.4782%2044.5003%2092.758%2045.7623%2092.2604%2046.8566C91.0829%2049.4466%2088.5191%2054.344%2084.4346%2058.4285C80.2853%2062.5778%2074.8639%2065.591%2072.0553%2066.9952C70.9363%2067.5548%2069.6062%2067.2985%2068.7215%2066.4138Z'%20fill='url(%23paint5_linear_8481_102191)'/%3e%3crect%20x='48.7264'%20y='33.7744'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2048.7264%2033.7744)'%20fill='url(%23paint6_linear_8481_102191)'/%3e%3crect%20x='50.0175'%20y='35.8193'%20width='4.0158'%20height='3.84848'%20rx='1.92424'%20transform='rotate(-12%2050.0175%2035.8193)'%20fill='%23435C71'/%3e%3crect%20x='59.2875'%20y='31.5723'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2059.2875%2031.5723)'%20fill='%23FFFEFE'/%3e%3cpath%20opacity='0.883952'%20d='M111.25%2038.5376C110.415%2034.6055%20106.55%2032.0955%20102.618%2032.9313L102.127%2033.0356C97.9234%2033.9291%2095.2403%2038.0607%2096.1337%2042.2639L97.5426%2048.8925L105.644%2047.1705C109.576%2046.3347%20112.086%2042.4696%20111.25%2038.5376Z'%20fill='url(%23paint7_linear_8481_102191)'/%3e%3crect%20x='60.0181'%20y='33.8037'%20width='3.84848'%20height='3.84848'%20rx='1.90724'%20transform='rotate(-12%2060.0181%2033.8037)'%20fill='%23435C71'/%3e%3cpath%20d='M36.9246%2059.1604C36.4487%2060.717%2034.7371%2061.6271%2033.1805%2061.1512C32.3613%2060.9007%2031.7241%2060.3475%2031.3259%2059.5987L25.2059%2046.7983C24.9784%2046.3703%2025.1286%2045.8788%2025.5566%2045.6513L28.338%2044.1724C28.7659%2043.9449%2029.2574%2044.0951%2029.4849%2044.5231L36.6496%2056.8367C37.0728%2057.5036%2037.15%2058.423%2036.9246%2059.1604Z'%20fill='%23FFDF9F'/%3e%3crect%20x='27.9973'%20y='44.333'%20width='2.39869'%20height='3.59807'%20transform='rotate(152%2027.9973%2044.333)'%20fill='%23FF9090'/%3e%3cpath%20d='M26.6628%2044.3769L26.9472%2044.9118L28.0169%2044.343L26.3106%2041.1338L24.171%2042.2714L25.0243%2043.876C25.6661%2043.5347%2026.3215%2043.7351%2026.6628%2044.3769Z'%20fill='%23FFB19F'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.26386%2027.248C9.3428%2020.4481%2016.5101%2016.6372%2023.31%2018.7161C30.11%2020.7951%2033.9209%2027.9624%2031.8419%2034.7623C29.763%2041.5622%2022.5956%2045.3731%2015.7958%2043.2942C8.99587%2041.2152%205.18493%2034.0479%207.26386%2027.248ZM9.72157%2027.9983C8.06843%2033.4055%2011.1399%2039.1821%2016.5471%2040.8352C21.9543%2042.4884%2027.7309%2039.4168%2029.384%2034.0096C31.0372%2028.6024%2027.9657%2022.8258%2022.5585%2021.1727C17.1513%2019.5196%2011.3747%2022.5911%209.72157%2027.9983Z'%20fill='%23FFE69F'/%3e%3ccircle%20opacity='0.414016'%20cx='19.5529'%20cy='31.0039'%20r='10.2804'%20transform='rotate(17%2019.5529%2031.0039)'%20fill='%23BBDEFC'/%3e%3cpath%20d='M14.3685%2030.6746C15.7299%2027.6867%2018.9391%2025.9803%2022.1776%2026.5225L22.2595%2026.5475C23.7024%2026.8095%2024.3854%2024.8682%2023.1497%2024.2218C22.3806%2023.8074%2021.5613%2023.557%2020.717%2023.3884C17.3715%2022.9031%2014.0553%2024.6664%2012.6939%2027.6543C12.2796%2028.4235%2012.0859%2029.3497%2012.0244%2030.1372C11.8444%2031.6051%2013.8607%2032.0424%2014.4503%2030.6997C14.3434%2030.7566%2014.3685%2030.6746%2014.3685%2030.6746Z'%20fill='%23F6FBFF'/%3e%3cpath%20d='M10.2904%2029.0679C11.9436%2023.6607%2017.7202%2020.5893%2023.1274%2022.2424C25.6671%2023.0189%2027.5785%2024.6783%2028.9301%2026.704C27.7539%2024.1048%2025.508%2022.0744%2022.5586%2021.1727C17.1514%2019.5196%2011.3748%2022.591%209.72165%2027.9982C8.81993%2030.9476%209.32924%2033.97%2010.7444%2036.3735C9.82081%2034.1203%209.51395%2031.6077%2010.2904%2029.0679Z'%20fill='%23ADCBE7'/%3e%3cpath%20opacity='0.406087'%20d='M36.4864%2056.8021L36.1373%2056.2691C36.3845%2056.8563%2036.428%2057.5516%2036.2372%2058.1754C35.9273%2059.189%2034.5593%2059.1971%2034.0713%2058.2806L28.3787%2047.5877C28.0534%2046.9767%2027.3508%2046.7619%2026.7395%2047.0866L25.7206%2047.6277L31.4395%2059.3516C31.7648%2059.9627%2032.27%2060.5434%2032.8706%2060.8123C33.7054%2061.1528%2034.6593%2061.1034%2035.3726%2060.7247C36.0858%2060.3459%2036.6602%2059.5837%2036.8444%2058.7021C37.0351%2058.0783%2036.8117%2057.4132%2036.4864%2056.8021Z'%20fill='white'/%3e%3cpath%20d='M29.8826%2048.4977C29.8006%2048.4726%2029.6368%2048.4225%2029.5799%2048.3155L28.1579%2045.6411C28.0442%2045.4272%2028.1193%2045.1814%2028.3332%2045.0677C28.5472%2044.9539%2028.7929%2045.0291%2028.9067%2045.243L30.3287%2047.9174C30.4424%2048.1313%2030.3673%2048.3771%2030.1534%2048.4908C30.1284%2048.5728%2029.9645%2048.5227%2029.8826%2048.4977Z'%20fill='%23FFF5EB'/%3e%3cellipse%20cx='29.2637'%20cy='54.631'%20rx='1.50593'%20ry='3.17918'%20transform='rotate(-23%2029.2637%2054.631)'%20fill='%23FFC478'/%3e%3cellipse%20cx='34.0592'%20cy='52.4078'%20rx='0.920288'%20ry='1.67325'%20transform='rotate(106%2034.0592%2052.4078)'%20fill='%23FFC478'/%3e%3cpath%20d='M89.1282%2019.2055L68.2257%2026.8725L45.9197%2028.3898L44.4929%2016.4082C44.3371%2013.798%2047.5283%2011.4502%2050.9859%2011.6309L65.1429%2012.369L67.3969%2012.4869C68.5309%2012.5463%2069.7066%2012.3289%2070.7522%2011.8627L78.6899%208.34726C81.725%206.99992%2085.3012%207.87475%2086.2125%2010.1876L89.1282%2019.2055Z'%20fill='url(%23paint8_linear_8481_102191)'/%3e%3cpath%20opacity='0.479771'%20d='M88.6262%2019.0953L68.3101%2026.5288L65.3314%2012.5149L67.5211%2012.6263C68.6228%2012.6824%2069.7652%2012.471%2070.7816%2012.0192L78.4972%208.61266C81.4474%207.30707%2084.9208%208.14856%2085.8036%2010.3829L88.6262%2019.0953Z'%20fill='%23ADCBE7'/%3e%3cpath%20d='M91.6332%2026.6212L46.9517%2036.1186L46.0387%2028.4438L89.2535%2019.2582L91.6332%2026.6212Z'%20fill='%23717DAD'/%3e%3cpath%20d='M102.961%2024.2033C103.125%2024.9722%20102.371%2025.7829%20101.278%2026.015L37.9675%2039.4722C36.8754%2039.7043%2035.8568%2039.2704%2035.6933%2038.5015C35.5301%2037.7336%2036.284%2036.922%2037.3761%2036.6898L100.687%2023.2327C101.779%2023.0005%20102.798%2023.4354%20102.961%2024.2033Z'%20fill='%239ED1FF'/%3e%3cpath%20d='M102.703%2024.1718C102.838%2024.805%20102.067%2025.5045%20100.983%2025.7349L69.5583%2032.4144L69.0712%2030.123L100.496%2023.4436C101.58%2023.2131%20102.569%2023.5394%20102.703%2024.1718Z'%20fill='%2378AFE1'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8481_102191'%20x1='32.2665'%20y1='59.6553'%20x2='59.0518'%20y2='60.5906'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8481_102191'%20x1='67.3434'%20y1='85.966'%20x2='103.216'%20y2='78.3411'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFABC'/%3e%3cstop%20offset='1'%20stop-color='%23FFA650'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8481_102191'%20x1='51.4347'%20y1='74.8197'%20x2='91.1539'%20y2='74.8197'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_8481_102191'%20x1='55.1887'%20y1='89.2031'%20x2='94.9078'%20y2='89.2031'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_8481_102191'%20x1='94.5023'%20y1='53.1799'%20x2='106.762'%20y2='58.7056'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_8481_102191'%20x1='74.9906'%20y1='66.9871'%20x2='94.9778'%20y2='46.9999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_8481_102191'%20x1='50.5805'%20y1='44.0581'%20x2='59.9372'%20y2='44.0581'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23E3EEF3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_8481_102191'%20x1='88.4187'%20y1='43.3906'%20x2='99.3981'%20y2='25.1833'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_8481_102191'%20x1='56.4985'%20y1='29.5482'%20x2='100.532'%20y2='20.1885'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ECF7FF'/%3e%3cstop%20offset='1'%20stop-color='%23C2E0FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", z4 = () => /* @__PURE__ */ E.jsxs(Oe, { justifyItems: "center", marginTop: "40px", children: [
16152
- /* @__PURE__ */ E.jsx("img", { src: U4, width: 124, height: 107 }),
16152
+ `, X4 = "data:image/svg+xml,%3csvg%20width='124'%20height='107'%20viewBox='0%200%20124%20107'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.6168%2054.7446C28.6931%2052.5589%2031.0146%2051.1102%2033.0842%2051.8174C35.9985%2052.8133%2040.0375%2053.9024%2044.0621%2054.043C48.0034%2054.1806%2051.968%2053.4097%2054.8762%2052.6339C57.0264%2052.0602%2059.2927%2053.6932%2059.215%2055.9172C59.1742%2057.0856%2058.4742%2058.1269%2057.3723%2058.5178C54.8051%2059.4284%2049.7633%2060.8927%2044.3075%2060.7022C38.7694%2060.5088%2033.1999%2058.6241%2030.4004%2057.5311C29.2637%2057.0873%2028.5742%2055.9641%2028.6168%2054.7446Z'%20fill='url(%23paint0_linear_8481_102191)'/%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='url(%23paint1_linear_8481_102191)'/%3e%3cmask%20id='mask0_8481_102191'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='46'%20y='14'%20width='60'%20height='79'%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8481_102191)'%3e%3cellipse%20cx='63.7775'%20cy='46.8684'%20rx='1.48152'%20ry='1.39438'%20transform='rotate(-12%2063.7775%2046.8684)'%20fill='%23435C71'/%3e%3crect%20x='47.4368'%20y='59.3203'%20width='53.657'%20height='13.2235'%20transform='rotate(-12%2047.4368%2059.3203)'%20fill='url(%23paint2_linear_8481_102191)'/%3e%3crect%20x='51.1907'%20y='76.9824'%20width='53.657'%20height='10.4263'%20transform='rotate(-12%2051.1907%2076.9824)'%20fill='url(%23paint3_linear_8481_102191)'/%3e%3c/g%3e%3cpath%20opacity='0.883952'%20d='M113.939%2051.0679C114.775%2055%20112.265%2058.865%20108.333%2059.7008L107.842%2059.8052C103.639%2060.6986%2099.5073%2058.0155%2098.6139%2053.8123L97.205%2047.1837L105.307%2045.4616C109.239%2044.6259%20113.104%2047.1359%20113.939%2051.0679Z'%20fill='url(%23paint4_linear_8481_102191)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M68.7215%2066.4138C67.1801%2064.8725%2067.6745%2062.2062%2069.587%2061.1603C72.4457%2059.5969%2076.2861%2057.1773%2079.3785%2054.0849C82.4099%2051.0535%2084.752%2047.3461%2086.2775%2044.5465C87.3388%2042.5989%2090.0598%2042.0819%2091.6282%2043.6503C92.4782%2044.5003%2092.758%2045.7623%2092.2604%2046.8566C91.0829%2049.4466%2088.5191%2054.344%2084.4346%2058.4285C80.2853%2062.5778%2074.8639%2065.591%2072.0553%2066.9952C70.9363%2067.5548%2069.6062%2067.2985%2068.7215%2066.4138Z'%20fill='url(%23paint5_linear_8481_102191)'/%3e%3crect%20x='48.7264'%20y='33.7744'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2048.7264%2033.7744)'%20fill='url(%23paint6_linear_8481_102191)'/%3e%3crect%20x='50.0175'%20y='35.8193'%20width='4.0158'%20height='3.84848'%20rx='1.92424'%20transform='rotate(-12%2050.0175%2035.8193)'%20fill='%23435C71'/%3e%3crect%20x='59.2875'%20y='31.5723'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2059.2875%2031.5723)'%20fill='%23FFFEFE'/%3e%3cpath%20opacity='0.883952'%20d='M111.25%2038.5376C110.415%2034.6055%20106.55%2032.0955%20102.618%2032.9313L102.127%2033.0356C97.9234%2033.9291%2095.2403%2038.0607%2096.1337%2042.2639L97.5426%2048.8925L105.644%2047.1705C109.576%2046.3347%20112.086%2042.4696%20111.25%2038.5376Z'%20fill='url(%23paint7_linear_8481_102191)'/%3e%3crect%20x='60.0181'%20y='33.8037'%20width='3.84848'%20height='3.84848'%20rx='1.90724'%20transform='rotate(-12%2060.0181%2033.8037)'%20fill='%23435C71'/%3e%3cpath%20d='M36.9246%2059.1604C36.4487%2060.717%2034.7371%2061.6271%2033.1805%2061.1512C32.3613%2060.9007%2031.7241%2060.3475%2031.3259%2059.5987L25.2059%2046.7983C24.9784%2046.3703%2025.1286%2045.8788%2025.5566%2045.6513L28.338%2044.1724C28.7659%2043.9449%2029.2574%2044.0951%2029.4849%2044.5231L36.6496%2056.8367C37.0728%2057.5036%2037.15%2058.423%2036.9246%2059.1604Z'%20fill='%23FFDF9F'/%3e%3crect%20x='27.9973'%20y='44.333'%20width='2.39869'%20height='3.59807'%20transform='rotate(152%2027.9973%2044.333)'%20fill='%23FF9090'/%3e%3cpath%20d='M26.6628%2044.3769L26.9472%2044.9118L28.0169%2044.343L26.3106%2041.1338L24.171%2042.2714L25.0243%2043.876C25.6661%2043.5347%2026.3215%2043.7351%2026.6628%2044.3769Z'%20fill='%23FFB19F'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.26386%2027.248C9.3428%2020.4481%2016.5101%2016.6372%2023.31%2018.7161C30.11%2020.7951%2033.9209%2027.9624%2031.8419%2034.7623C29.763%2041.5622%2022.5956%2045.3731%2015.7958%2043.2942C8.99587%2041.2152%205.18493%2034.0479%207.26386%2027.248ZM9.72157%2027.9983C8.06843%2033.4055%2011.1399%2039.1821%2016.5471%2040.8352C21.9543%2042.4884%2027.7309%2039.4168%2029.384%2034.0096C31.0372%2028.6024%2027.9657%2022.8258%2022.5585%2021.1727C17.1513%2019.5196%2011.3747%2022.5911%209.72157%2027.9983Z'%20fill='%23FFE69F'/%3e%3ccircle%20opacity='0.414016'%20cx='19.5529'%20cy='31.0039'%20r='10.2804'%20transform='rotate(17%2019.5529%2031.0039)'%20fill='%23BBDEFC'/%3e%3cpath%20d='M14.3685%2030.6746C15.7299%2027.6867%2018.9391%2025.9803%2022.1776%2026.5225L22.2595%2026.5475C23.7024%2026.8095%2024.3854%2024.8682%2023.1497%2024.2218C22.3806%2023.8074%2021.5613%2023.557%2020.717%2023.3884C17.3715%2022.9031%2014.0553%2024.6664%2012.6939%2027.6543C12.2796%2028.4235%2012.0859%2029.3497%2012.0244%2030.1372C11.8444%2031.6051%2013.8607%2032.0424%2014.4503%2030.6997C14.3434%2030.7566%2014.3685%2030.6746%2014.3685%2030.6746Z'%20fill='%23F6FBFF'/%3e%3cpath%20d='M10.2904%2029.0679C11.9436%2023.6607%2017.7202%2020.5893%2023.1274%2022.2424C25.6671%2023.0189%2027.5785%2024.6783%2028.9301%2026.704C27.7539%2024.1048%2025.508%2022.0744%2022.5586%2021.1727C17.1514%2019.5196%2011.3748%2022.591%209.72165%2027.9982C8.81993%2030.9476%209.32924%2033.97%2010.7444%2036.3735C9.82081%2034.1203%209.51395%2031.6077%2010.2904%2029.0679Z'%20fill='%23ADCBE7'/%3e%3cpath%20opacity='0.406087'%20d='M36.4864%2056.8021L36.1373%2056.2691C36.3845%2056.8563%2036.428%2057.5516%2036.2372%2058.1754C35.9273%2059.189%2034.5593%2059.1971%2034.0713%2058.2806L28.3787%2047.5877C28.0534%2046.9767%2027.3508%2046.7619%2026.7395%2047.0866L25.7206%2047.6277L31.4395%2059.3516C31.7648%2059.9627%2032.27%2060.5434%2032.8706%2060.8123C33.7054%2061.1528%2034.6593%2061.1034%2035.3726%2060.7247C36.0858%2060.3459%2036.6602%2059.5837%2036.8444%2058.7021C37.0351%2058.0783%2036.8117%2057.4132%2036.4864%2056.8021Z'%20fill='white'/%3e%3cpath%20d='M29.8826%2048.4977C29.8006%2048.4726%2029.6368%2048.4225%2029.5799%2048.3155L28.1579%2045.6411C28.0442%2045.4272%2028.1193%2045.1814%2028.3332%2045.0677C28.5472%2044.9539%2028.7929%2045.0291%2028.9067%2045.243L30.3287%2047.9174C30.4424%2048.1313%2030.3673%2048.3771%2030.1534%2048.4908C30.1284%2048.5728%2029.9645%2048.5227%2029.8826%2048.4977Z'%20fill='%23FFF5EB'/%3e%3cellipse%20cx='29.2637'%20cy='54.631'%20rx='1.50593'%20ry='3.17918'%20transform='rotate(-23%2029.2637%2054.631)'%20fill='%23FFC478'/%3e%3cellipse%20cx='34.0592'%20cy='52.4078'%20rx='0.920288'%20ry='1.67325'%20transform='rotate(106%2034.0592%2052.4078)'%20fill='%23FFC478'/%3e%3cpath%20d='M89.1282%2019.2055L68.2257%2026.8725L45.9197%2028.3898L44.4929%2016.4082C44.3371%2013.798%2047.5283%2011.4502%2050.9859%2011.6309L65.1429%2012.369L67.3969%2012.4869C68.5309%2012.5463%2069.7066%2012.3289%2070.7522%2011.8627L78.6899%208.34726C81.725%206.99992%2085.3012%207.87475%2086.2125%2010.1876L89.1282%2019.2055Z'%20fill='url(%23paint8_linear_8481_102191)'/%3e%3cpath%20opacity='0.479771'%20d='M88.6262%2019.0953L68.3101%2026.5288L65.3314%2012.5149L67.5211%2012.6263C68.6228%2012.6824%2069.7652%2012.471%2070.7816%2012.0192L78.4972%208.61266C81.4474%207.30707%2084.9208%208.14856%2085.8036%2010.3829L88.6262%2019.0953Z'%20fill='%23ADCBE7'/%3e%3cpath%20d='M91.6332%2026.6212L46.9517%2036.1186L46.0387%2028.4438L89.2535%2019.2582L91.6332%2026.6212Z'%20fill='%23717DAD'/%3e%3cpath%20d='M102.961%2024.2033C103.125%2024.9722%20102.371%2025.7829%20101.278%2026.015L37.9675%2039.4722C36.8754%2039.7043%2035.8568%2039.2704%2035.6933%2038.5015C35.5301%2037.7336%2036.284%2036.922%2037.3761%2036.6898L100.687%2023.2327C101.779%2023.0005%20102.798%2023.4354%20102.961%2024.2033Z'%20fill='%239ED1FF'/%3e%3cpath%20d='M102.703%2024.1718C102.838%2024.805%20102.067%2025.5045%20100.983%2025.7349L69.5583%2032.4144L69.0712%2030.123L100.496%2023.4436C101.58%2023.2131%20102.569%2023.5394%20102.703%2024.1718Z'%20fill='%2378AFE1'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8481_102191'%20x1='32.2665'%20y1='59.6553'%20x2='59.0518'%20y2='60.5906'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8481_102191'%20x1='67.3434'%20y1='85.966'%20x2='103.216'%20y2='78.3411'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFABC'/%3e%3cstop%20offset='1'%20stop-color='%23FFA650'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8481_102191'%20x1='51.4347'%20y1='74.8197'%20x2='91.1539'%20y2='74.8197'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_8481_102191'%20x1='55.1887'%20y1='89.2031'%20x2='94.9078'%20y2='89.2031'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_8481_102191'%20x1='94.5023'%20y1='53.1799'%20x2='106.762'%20y2='58.7056'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_8481_102191'%20x1='74.9906'%20y1='66.9871'%20x2='94.9778'%20y2='46.9999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_8481_102191'%20x1='50.5805'%20y1='44.0581'%20x2='59.9372'%20y2='44.0581'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23E3EEF3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_8481_102191'%20x1='88.4187'%20y1='43.3906'%20x2='99.3981'%20y2='25.1833'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_8481_102191'%20x1='56.4985'%20y1='29.5482'%20x2='100.532'%20y2='20.1885'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ECF7FF'/%3e%3cstop%20offset='1'%20stop-color='%23C2E0FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", U4 = () => /* @__PURE__ */ E.jsxs(Oe, { justifyItems: "center", marginTop: "40px", children: [
16153
+ /* @__PURE__ */ E.jsx("img", { src: X4, width: 124, height: 107 }),
16153
16154
  /* @__PURE__ */ E.jsx(fe, { variant: "body2", color: z.palette.gray.gray3, children: Sx })
16154
- ] }), Y4 = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: r }) => {
16155
+ ] }), z4 = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: r }) => {
16155
16156
  const i = tn(), [o, s] = $(null), l = pi(Tx, {
16156
16157
  count: e.length.toString(),
16157
16158
  countSuffix: e.length > 1 ? "s" : "",
@@ -16164,31 +16165,31 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16164
16165
  }, u = () => {
16165
16166
  n(), r(), c();
16166
16167
  };
16167
- return e.length ? o ? /* @__PURE__ */ E.jsx(X4, { meta: o, onBack: c, onLink: u }) : /* @__PURE__ */ E.jsxs(q, { gap: "14px", children: [
16168
+ return e.length ? o ? /* @__PURE__ */ E.jsx(Z4, { meta: o, onBack: c, onLink: u }) : /* @__PURE__ */ E.jsxs(Q, { gap: "14px", marginTop: "12px", children: [
16168
16169
  /* @__PURE__ */ E.jsx(fe, { variant: "body2", children: l }),
16169
- /* @__PURE__ */ E.jsx(q, { gap: "17px", children: e == null ? void 0 : e.map(({ externalResourceId: g, name: v, description: y }) => /* @__PURE__ */ E.jsxs(S0, { onClick: () => a(g), direction: "row", children: [
16170
- /* @__PURE__ */ E.jsxs(q, { flexGrow: 1, children: [
16170
+ /* @__PURE__ */ E.jsx(Q, { gap: "17px", children: e == null ? void 0 : e.map(({ externalResourceId: g, name: v, description: y }) => /* @__PURE__ */ E.jsxs(S0, { onClick: () => a(g), direction: "row", children: [
16171
+ /* @__PURE__ */ E.jsxs(Q, { flexGrow: 1, children: [
16171
16172
  /* @__PURE__ */ E.jsx(fe, { variant: "body2", color: z.palette.gray.gray1, children: v }),
16172
16173
  /* @__PURE__ */ E.jsx(fe, { variant: "caption", color: z.palette.gray.gray3, children: y })
16173
16174
  ] }),
16174
- /* @__PURE__ */ E.jsx(Oe, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ E.jsx("img", { src: V4 }) })
16175
+ /* @__PURE__ */ E.jsx(Oe, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ E.jsx("img", { src: G4 }) })
16175
16176
  ] }, g)) })
16176
- ] }) : /* @__PURE__ */ E.jsx(z4, {});
16177
+ ] }) : /* @__PURE__ */ E.jsx(U4, {});
16177
16178
  }, ms = k(fa)`
16178
16179
  display: block;
16179
16180
  margin: ${(e) => e.margin ? e.margin : 0};
16180
- `, $4 = () => /* @__PURE__ */ E.jsxs("div", { children: [
16181
+ `, Y4 = () => /* @__PURE__ */ E.jsxs(Q, { marginTop: "12px", children: [
16181
16182
  /* @__PURE__ */ E.jsx(ms, { variant: "rounded", width: "50%", height: "16px", animation: "wave", margin: "0 0 18px 0" }),
16182
- /* @__PURE__ */ E.jsx(q, { gap: "17px", children: /* @__PURE__ */ E.jsxs(S0, { gap: "8px", disableHover: !0, children: [
16183
+ /* @__PURE__ */ E.jsx(Q, { gap: "17px", children: /* @__PURE__ */ E.jsxs(S0, { gap: "8px", disableHover: !0, children: [
16183
16184
  /* @__PURE__ */ E.jsx(ms, { variant: "rounded", width: "30%", height: "16px", animation: "wave" }),
16184
16185
  /* @__PURE__ */ E.jsx(ms, { variant: "rounded", width: "70%", height: "16px", animation: "wave" })
16185
16186
  ] }) })
16186
- ] }), J4 = async ({ id: e, searchString: t, args: n }) => {
16187
+ ] }), $4 = async ({ id: e, searchString: t, args: n }) => {
16187
16188
  try {
16188
16189
  if (e === void 0 || t === void 0)
16189
16190
  return [];
16190
16191
  const r = await vt({
16191
- url: L4.replace(":formId", e.toString()),
16192
+ url: F4.replace(":formId", e.toString()),
16192
16193
  method: _t.POST,
16193
16194
  data: {
16194
16195
  search_string: t,
@@ -16200,9 +16201,9 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16200
16201
  } catch (r) {
16201
16202
  Qe({ message: Fa, type: en }), console.error(r);
16202
16203
  }
16203
- }, Q4 = () => A0({
16204
- mutationFn: J4
16205
- }), q4 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4649_80352'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='21'%3e%3crect%20y='0.320312'%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4649_80352)'%3e%3cpath%20d='M9.16797%2014.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013%2018.654C8.84852%2018.654%207.76519%2018.4352%206.7513%2017.9977C5.73741%2017.5602%204.85547%2016.9665%204.10547%2016.2165C3.35547%2015.4665%202.76172%2014.5845%202.32422%2013.5706C1.88672%2012.5567%201.66797%2011.4734%201.66797%2010.3206C1.66797%209.16786%201.88672%208.08453%202.32422%207.07064C2.76172%206.05675%203.35547%205.1748%204.10547%204.4248C4.85547%203.6748%205.73741%203.08105%206.7513%202.64355C7.76519%202.20605%208.84852%201.9873%2010.0013%201.9873C11.1541%201.9873%2012.2374%202.20605%2013.2513%202.64355C14.2652%203.08105%2015.1471%203.6748%2015.8971%204.4248C16.6471%205.1748%2017.2409%206.05675%2017.6784%207.07064C18.1159%208.08453%2018.3346%209.16786%2018.3346%2010.3206C18.3346%2011.4734%2018.1159%2012.5567%2017.6784%2013.5706C17.2409%2014.5845%2016.6471%2015.4665%2015.8971%2016.2165C15.1471%2016.9665%2014.2652%2017.5602%2013.2513%2017.9977C12.2374%2018.4352%2011.1541%2018.654%2010.0013%2018.654ZM10.0013%2016.9873C11.8624%2016.9873%2013.4388%2016.3415%2014.7305%2015.0498C16.0221%2013.7581%2016.668%2012.1817%2016.668%2010.3206C16.668%208.45953%2016.0221%206.88314%2014.7305%205.59147C13.4388%204.2998%2011.8624%203.65397%2010.0013%203.65397C8.14019%203.65397%206.5638%204.2998%205.27214%205.59147C3.98047%206.88314%203.33464%208.45953%203.33464%2010.3206C3.33464%2012.1817%203.98047%2013.7581%205.27214%2015.0498C6.5638%2016.3415%208.14019%2016.9873%2010.0013%2016.9873Z'%20fill='%234D596C'/%3e%3c/g%3e%3c/svg%3e", K4 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3462%208.73757C14.0406%208.43198%2013.5451%208.43198%2013.2395%208.73757C12.9339%209.04316%2012.9339%209.53863%2013.2395%209.84422L14.3462%208.73757ZM15.2392%2010.7372L15.7925%2010.1839L15.2392%2010.7372ZM16.2377%2013.1478L15.4552%2013.1478L16.2377%2013.1478ZM15.2392%2015.5584L14.6859%2015.0051L15.2392%2015.5584ZM10.418%2015.5584L9.86469%2016.1118L10.418%2015.5584ZM9.52499%2013.5588C9.2194%2013.2532%208.72393%2013.2532%208.41834%2013.5588C8.11275%2013.8643%208.11275%2014.3598%208.41834%2014.6654L9.52499%2013.5588ZM5.52477%2011.7731C5.83036%2012.0787%206.32583%2012.0787%206.63142%2011.7731C6.93701%2011.4675%206.93701%2010.972%206.63142%2010.6665L5.52477%2011.7731ZM9.45292%204.95224L10.0062%204.39892L9.45292%204.95224ZM10.346%206.95192C10.6515%207.25752%2011.147%207.25752%2011.4526%206.95192C11.7582%206.64633%2011.7582%206.15087%2011.4526%205.84527L10.346%206.95192ZM13.2395%209.84422L14.6859%2011.2906L15.7925%2010.1839L14.3462%208.73757L13.2395%209.84422ZM14.6859%2011.2906C15.1785%2011.7832%2015.4552%2012.4512%2015.4552%2013.1478L17.0202%2013.1478C17.0202%2012.0362%2016.5786%2010.97%2015.7925%2010.1839L14.6859%2011.2906ZM15.4552%2013.1478C15.4552%2013.8445%2015.1785%2014.5125%2014.6859%2015.0051L15.7925%2016.1118C16.5786%2015.3257%2017.0202%2014.2595%2017.0202%2013.1478L15.4552%2013.1478ZM14.6859%2015.0051C13.6601%2016.0308%2011.9971%2016.0308%2010.9713%2015.0051L9.86469%2016.1118C11.5016%2017.7487%2014.1556%2017.7487%2015.7925%2016.1118L14.6859%2015.0051ZM10.9713%2015.0051L9.52499%2013.5588L8.41834%2014.6654L9.86469%2016.1118L10.9713%2015.0051ZM6.63142%2010.6665L5.18507%209.2201L4.07842%2010.3268L5.52477%2011.7731L6.63142%2010.6665ZM5.18507%209.2201C4.69249%208.72752%204.41576%208.05944%204.41576%207.36283H2.85072C2.85072%208.47452%203.29234%209.54067%204.07842%2010.3268L5.18507%209.2201ZM4.41576%207.36283C4.41576%206.66622%204.69249%205.99815%205.18507%205.50557L4.07842%204.39892C3.29234%205.185%202.85072%206.25115%202.85072%207.36283H4.41576ZM5.18507%205.50557C6.21081%204.47983%207.87386%204.47983%208.8996%205.50557L10.0062%204.39892C8.36932%202.76199%205.71534%202.76199%204.07842%204.39892L5.18507%205.50557ZM8.8996%205.50557L10.346%206.95192L11.4526%205.84527L10.0062%204.39892L8.8996%205.50557Z'%20fill='%234D596C'/%3e%3crect%20x='6.36328'%20y='7.91895'%20width='1.66667'%20height='8.33333'%20rx='0.833333'%20transform='rotate(-45%206.36328%207.91895)'%20fill='%234D596C'/%3e%3c/svg%3e", e5 = (e) => /* @__PURE__ */ M.createElement("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ M.createElement("path", { d: "M12.3333 0.333008H1.66659C0.933252 0.333008 0.339919 0.933008 0.339919 1.66634L0.333252 13.6663L2.99992 10.9997H12.3333C13.0666 10.9997 13.6666 10.3997 13.6666 9.66634V1.66634C13.6666 0.933008 13.0666 0.333008 12.3333 0.333008ZM12.3333 9.66634H2.44659L2.05325 10.0597L1.66659 10.4463V1.66634H12.3333V9.66634ZM6.33325 6.99967H7.66659V8.33301H6.33325V6.99967ZM6.33325 2.99967H7.66659V5.66634H6.33325V2.99967Z", fill: "#6F7C90" })), t5 = ({ isAdmin: e = !1 }) => {
16204
+ }, J4 = () => A0({
16205
+ mutationFn: $4
16206
+ }), Q4 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4649_80352'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='21'%3e%3crect%20y='0.320312'%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4649_80352)'%3e%3cpath%20d='M9.16797%2014.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013%2018.654C8.84852%2018.654%207.76519%2018.4352%206.7513%2017.9977C5.73741%2017.5602%204.85547%2016.9665%204.10547%2016.2165C3.35547%2015.4665%202.76172%2014.5845%202.32422%2013.5706C1.88672%2012.5567%201.66797%2011.4734%201.66797%2010.3206C1.66797%209.16786%201.88672%208.08453%202.32422%207.07064C2.76172%206.05675%203.35547%205.1748%204.10547%204.4248C4.85547%203.6748%205.73741%203.08105%206.7513%202.64355C7.76519%202.20605%208.84852%201.9873%2010.0013%201.9873C11.1541%201.9873%2012.2374%202.20605%2013.2513%202.64355C14.2652%203.08105%2015.1471%203.6748%2015.8971%204.4248C16.6471%205.1748%2017.2409%206.05675%2017.6784%207.07064C18.1159%208.08453%2018.3346%209.16786%2018.3346%2010.3206C18.3346%2011.4734%2018.1159%2012.5567%2017.6784%2013.5706C17.2409%2014.5845%2016.6471%2015.4665%2015.8971%2016.2165C15.1471%2016.9665%2014.2652%2017.5602%2013.2513%2017.9977C12.2374%2018.4352%2011.1541%2018.654%2010.0013%2018.654ZM10.0013%2016.9873C11.8624%2016.9873%2013.4388%2016.3415%2014.7305%2015.0498C16.0221%2013.7581%2016.668%2012.1817%2016.668%2010.3206C16.668%208.45953%2016.0221%206.88314%2014.7305%205.59147C13.4388%204.2998%2011.8624%203.65397%2010.0013%203.65397C8.14019%203.65397%206.5638%204.2998%205.27214%205.59147C3.98047%206.88314%203.33464%208.45953%203.33464%2010.3206C3.33464%2012.1817%203.98047%2013.7581%205.27214%2015.0498C6.5638%2016.3415%208.14019%2016.9873%2010.0013%2016.9873Z'%20fill='%234D596C'/%3e%3c/g%3e%3c/svg%3e", q4 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3462%208.73757C14.0406%208.43198%2013.5451%208.43198%2013.2395%208.73757C12.9339%209.04316%2012.9339%209.53863%2013.2395%209.84422L14.3462%208.73757ZM15.2392%2010.7372L15.7925%2010.1839L15.2392%2010.7372ZM16.2377%2013.1478L15.4552%2013.1478L16.2377%2013.1478ZM15.2392%2015.5584L14.6859%2015.0051L15.2392%2015.5584ZM10.418%2015.5584L9.86469%2016.1118L10.418%2015.5584ZM9.52499%2013.5588C9.2194%2013.2532%208.72393%2013.2532%208.41834%2013.5588C8.11275%2013.8643%208.11275%2014.3598%208.41834%2014.6654L9.52499%2013.5588ZM5.52477%2011.7731C5.83036%2012.0787%206.32583%2012.0787%206.63142%2011.7731C6.93701%2011.4675%206.93701%2010.972%206.63142%2010.6665L5.52477%2011.7731ZM9.45292%204.95224L10.0062%204.39892L9.45292%204.95224ZM10.346%206.95192C10.6515%207.25752%2011.147%207.25752%2011.4526%206.95192C11.7582%206.64633%2011.7582%206.15087%2011.4526%205.84527L10.346%206.95192ZM13.2395%209.84422L14.6859%2011.2906L15.7925%2010.1839L14.3462%208.73757L13.2395%209.84422ZM14.6859%2011.2906C15.1785%2011.7832%2015.4552%2012.4512%2015.4552%2013.1478L17.0202%2013.1478C17.0202%2012.0362%2016.5786%2010.97%2015.7925%2010.1839L14.6859%2011.2906ZM15.4552%2013.1478C15.4552%2013.8445%2015.1785%2014.5125%2014.6859%2015.0051L15.7925%2016.1118C16.5786%2015.3257%2017.0202%2014.2595%2017.0202%2013.1478L15.4552%2013.1478ZM14.6859%2015.0051C13.6601%2016.0308%2011.9971%2016.0308%2010.9713%2015.0051L9.86469%2016.1118C11.5016%2017.7487%2014.1556%2017.7487%2015.7925%2016.1118L14.6859%2015.0051ZM10.9713%2015.0051L9.52499%2013.5588L8.41834%2014.6654L9.86469%2016.1118L10.9713%2015.0051ZM6.63142%2010.6665L5.18507%209.2201L4.07842%2010.3268L5.52477%2011.7731L6.63142%2010.6665ZM5.18507%209.2201C4.69249%208.72752%204.41576%208.05944%204.41576%207.36283H2.85072C2.85072%208.47452%203.29234%209.54067%204.07842%2010.3268L5.18507%209.2201ZM4.41576%207.36283C4.41576%206.66622%204.69249%205.99815%205.18507%205.50557L4.07842%204.39892C3.29234%205.185%202.85072%206.25115%202.85072%207.36283H4.41576ZM5.18507%205.50557C6.21081%204.47983%207.87386%204.47983%208.8996%205.50557L10.0062%204.39892C8.36932%202.76199%205.71534%202.76199%204.07842%204.39892L5.18507%205.50557ZM8.8996%205.50557L10.346%206.95192L11.4526%205.84527L10.0062%204.39892L8.8996%205.50557Z'%20fill='%234D596C'/%3e%3crect%20x='6.36328'%20y='7.91895'%20width='1.66667'%20height='8.33333'%20rx='0.833333'%20transform='rotate(-45%206.36328%207.91895)'%20fill='%234D596C'/%3e%3c/svg%3e", K4 = (e) => /* @__PURE__ */ M.createElement("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ M.createElement("path", { d: "M12.3333 0.333008H1.66659C0.933252 0.333008 0.339919 0.933008 0.339919 1.66634L0.333252 13.6663L2.99992 10.9997H12.3333C13.0666 10.9997 13.6666 10.3997 13.6666 9.66634V1.66634C13.6666 0.933008 13.0666 0.333008 12.3333 0.333008ZM12.3333 9.66634H2.44659L2.05325 10.0597L1.66659 10.4463V1.66634H12.3333V9.66634ZM6.33325 6.99967H7.66659V8.33301H6.33325V6.99967ZM6.33325 2.99967H7.66659V5.66634H6.33325V2.99967Z", fill: "#6F7C90" })), e5 = ({ isAdmin: e = !1 }) => {
16206
16207
  const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: i, conversationId: o } = at(bt), s = tn(), { userGroupId: l } = kr() || {}, [a, c] = $(!1), [u, g] = $(!1), [v, y] = $(!1), [b, h] = $(), [f, d] = $(!1), [p, m] = $(null), [I, C] = $(t), x = Ie(Nv), w = Ie(kv), A = Ie(Mv), T = Ie(Bv), F = Ie(Pv), L = Ie(Qd), D = Ie(qd), O = Ie(Kd), X = Ie(ef), U = Vt(i, r1), P = Vt(i, Ju), Y = Vt(i, l1), Z = Vt(i, d1), ie = Vt(i, f1), { data: ce } = T0({
16207
16208
  senderEmail: t,
16208
16209
  conversationId: String(o),
@@ -16213,7 +16214,7 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16213
16214
  data: ne,
16214
16215
  isPending: le,
16215
16216
  isIdle: ue
16216
- } = Q4(), Ce = ke(() => {
16217
+ } = J4(), Ce = ke(() => {
16217
16218
  B(), m(null);
16218
16219
  }, [B, m]), ye = ke(() => {
16219
16220
  t && n.length && o && s(Wi({ inboxIds: n, conversationId: o }));
@@ -16313,18 +16314,18 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16313
16314
  }
16314
16315
  ),
16315
16316
  /* @__PURE__ */ E.jsx(N2, { children: w ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
16316
- /* @__PURE__ */ E.jsxs(q, { direction: "row", justifyContent: "space-between", marginBottom: "8px", height: "36px", children: [
16317
- /* @__PURE__ */ E.jsxs(q, { direction: "row", alignItems: "center", children: [
16317
+ /* @__PURE__ */ E.jsxs(Q, { direction: "row", justifyContent: "space-between", marginBottom: "8px", height: "36px", children: [
16318
+ /* @__PURE__ */ E.jsxs(Q, { direction: "row", alignItems: "center", children: [
16318
16319
  /* @__PURE__ */ E.jsx(fd, {}),
16319
16320
  /* @__PURE__ */ E.jsx(hd, { variant: "h2", children: p1 })
16320
16321
  ] }),
16321
- /* @__PURE__ */ E.jsx(q, { direction: "row", gap: "4px", children: P && (x != null && x.length) ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
16322
- gn ? /* @__PURE__ */ E.jsx(He, { title: nd, placement: "bottom", children: /* @__PURE__ */ E.jsx(dn, { onClick: ge, children: /* @__PURE__ */ E.jsx("img", { src: q4, alt: "Add", height: "20px" }) }) }) : null,
16323
- St ? /* @__PURE__ */ E.jsx(He, { title: rd, placement: "bottom", children: /* @__PURE__ */ E.jsx(dn, { onClick: ze, children: /* @__PURE__ */ E.jsx("img", { src: K4, alt: "Link Task", height: "20px" }) }) }) : null
16322
+ /* @__PURE__ */ E.jsx(Q, { direction: "row", gap: "4px", children: P && (x != null && x.length) ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
16323
+ gn ? /* @__PURE__ */ E.jsx(He, { title: nd, placement: "bottom", children: /* @__PURE__ */ E.jsx(dn, { onClick: ge, children: /* @__PURE__ */ E.jsx("img", { src: Q4, alt: "Add", height: "20px" }) }) }) : null,
16324
+ St ? /* @__PURE__ */ E.jsx(He, { title: rd, placement: "bottom", children: /* @__PURE__ */ E.jsx(dn, { onClick: ze, children: /* @__PURE__ */ E.jsx("img", { src: q4, alt: "Link Task", height: "20px" }) }) }) : null
16324
16325
  ] }) : null })
16325
16326
  ] }),
16326
16327
  Y ? /* @__PURE__ */ E.jsx(
16327
- G4,
16328
+ B4,
16328
16329
  {
16329
16330
  selectedObject: p,
16330
16331
  setSelectedObject: m,
@@ -16333,9 +16334,9 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16333
16334
  }
16334
16335
  ) : null,
16335
16336
  /* @__PURE__ */ E.jsxs(Gs, { children: [
16336
- /* @__PURE__ */ E.jsx(ar, { condition: Y && le, children: /* @__PURE__ */ E.jsx($4, {}) }, "search"),
16337
+ /* @__PURE__ */ E.jsx(ar, { condition: Y && le, children: /* @__PURE__ */ E.jsx(Y4, {}) }, "search"),
16337
16338
  /* @__PURE__ */ E.jsx(ar, { condition: Y && !!p && !ue, children: /* @__PURE__ */ E.jsx(
16338
- Y4,
16339
+ z4,
16339
16340
  {
16340
16341
  searchResults: ne ?? [],
16341
16342
  selectedObject: p,
@@ -16366,7 +16367,7 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16366
16367
  }
16367
16368
  ),
16368
16369
  ie ? /* @__PURE__ */ E.jsx(am, { children: /* @__PURE__ */ E.jsxs(gt, { size: "small", variant: "text", href: t1, target: "_blank", children: [
16369
- /* @__PURE__ */ E.jsx(e5, {}),
16370
+ /* @__PURE__ */ E.jsx(K4, {}),
16370
16371
  n1
16371
16372
  ] }) }) : null
16372
16373
  ] }, "cards-list"),
@@ -16428,7 +16429,7 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16428
16429
  ]
16429
16430
  }
16430
16431
  );
16431
- }, n5 = ({
16432
+ }, t5 = ({
16432
16433
  children: e,
16433
16434
  sendTrackingEvent: t,
16434
16435
  contactEmail: n,
@@ -16466,22 +16467,22 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16466
16467
  ]
16467
16468
  );
16468
16469
  return /* @__PURE__ */ E.jsx(bt.Provider, { value: u, children: e });
16469
- }, r5 = new d4(), i5 = ({ children: e }) => /* @__PURE__ */ E.jsx(m4, { client: r5, children: e }), o5 = yd({
16470
+ }, n5 = new f4(), r5 = ({ children: e }) => /* @__PURE__ */ E.jsx(b4, { client: n5, children: e }), i5 = yd({
16470
16471
  cardList: Yv,
16471
16472
  write: Ov,
16472
16473
  common: rv
16473
- }), s5 = Qm({
16474
- reducer: o5,
16474
+ }), o5 = Qm({
16475
+ reducer: i5,
16475
16476
  devTools: !0
16476
- }), a5 = ({
16477
+ }), s5 = ({
16477
16478
  children: e,
16478
16479
  extraParams: t,
16479
16480
  contactEmail: n,
16480
16481
  baseUrls: r,
16481
16482
  availableFeatures: i,
16482
16483
  connectorFunctions: o
16483
- }) => /* @__PURE__ */ E.jsx(O2, { store: s5, children: /* @__PURE__ */ E.jsx(fh, { custom: !0, children: /* @__PURE__ */ E.jsx(i5, { children: /* @__PURE__ */ E.jsx(
16484
- n5,
16484
+ }) => /* @__PURE__ */ E.jsx(O2, { store: o5, children: /* @__PURE__ */ E.jsx(fh, { custom: !0, children: /* @__PURE__ */ E.jsx(r5, { children: /* @__PURE__ */ E.jsx(
16485
+ t5,
16485
16486
  {
16486
16487
  availableFeatures: i,
16487
16488
  sendTrackingEvent: t == null ? void 0 : t.sendTrackingEvent,
@@ -16494,7 +16495,7 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16494
16495
  isAdmin: t == null ? void 0 : t.isAdmin,
16495
16496
  children: /* @__PURE__ */ E.jsx(K0, { fallback: /* @__PURE__ */ E.jsx(E.Fragment, {}), children: e })
16496
16497
  }
16497
- ) }) }) }), c5 = k(Oe)`
16498
+ ) }) }) }), a5 = k(Oe)`
16498
16499
  height: inherit;
16499
16500
  .MuiScopedCssBaseline-root {
16500
16501
  height: inherit;
@@ -16602,7 +16603,7 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
16602
16603
  [hidden] {
16603
16604
  display: none;
16604
16605
  }
16605
- `, l5 = k(Oe)`
16606
+ `, c5 = k(Oe)`
16606
16607
  :root {
16607
16608
  --toastify-color-light: #fff;
16608
16609
  --toastify-color-dark: #121212;
@@ -17333,7 +17334,7 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
17333
17334
  transform: rotate(360deg);
17334
17335
  }
17335
17336
  }
17336
- `, u5 = k(l5)`
17337
+ `, l5 = k(c5)`
17337
17338
  .Toastify__toast-container {
17338
17339
  min-width: 320px !important;
17339
17340
  font-size: 16px;
@@ -17382,14 +17383,14 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
17382
17383
  align-self: auto !important;
17383
17384
  margin-left: 12px;
17384
17385
  }
17385
- `, C5 = ({
17386
+ `, y5 = ({
17386
17387
  contactEmail: e = "",
17387
17388
  baseUrls: t = {},
17388
17389
  extraParams: n = {},
17389
17390
  availableFeatures: r = {},
17390
17391
  connectorFunctions: i
17391
- }) => /* @__PURE__ */ E.jsx(c5, { children: /* @__PURE__ */ E.jsxs(
17392
- a5,
17392
+ }) => /* @__PURE__ */ E.jsx(a5, { children: /* @__PURE__ */ E.jsxs(
17393
+ s5,
17393
17394
  {
17394
17395
  availableFeatures: r,
17395
17396
  extraParams: n,
@@ -17397,9 +17398,9 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
17397
17398
  connectorFunctions: i,
17398
17399
  baseUrls: t,
17399
17400
  children: [
17400
- /* @__PURE__ */ E.jsx(t5, { isAdmin: n == null ? void 0 : n.isAdmin }),
17401
+ /* @__PURE__ */ E.jsx(e5, { isAdmin: n == null ? void 0 : n.isAdmin }),
17401
17402
  da(
17402
- /* @__PURE__ */ E.jsx(u5, { id: "toast-message", children: /* @__PURE__ */ E.jsx(
17403
+ /* @__PURE__ */ E.jsx(l5, { id: "toast-message", children: /* @__PURE__ */ E.jsx(
17403
17404
  Th,
17404
17405
  {
17405
17406
  position: "bottom-left",
@@ -17419,8 +17420,8 @@ const S4 = (e) => new Promise((t) => setTimeout(t, e)), R4 = ({
17419
17420
  }
17420
17421
  ) });
17421
17422
  export {
17422
- C5 as ConnectorCardList,
17423
+ y5 as ConnectorCardList,
17423
17424
  kr as getConnectorsBifrostConfigs,
17424
- y5 as getMetaData,
17425
- m5 as initConnectorsBifrost
17425
+ v5 as getMetaData,
17426
+ g5 as initConnectorsBifrost
17426
17427
  };