@hiver/connector-agent 3.1.9-choreGlobalSearchEvents-beta.2 → 3.1.9
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/app/connector-cards.d.ts.map +1 -1
- package/index.es.js +303 -309
- package/index.umd.js +11 -11
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -14,9 +14,9 @@ var _i = (e, t, n, r) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as M from "react";
|
|
17
|
-
import Ie, { useState as Y, useRef as
|
|
17
|
+
import Ie, { useState as Y, useRef as Le, useSyncExternalStore as rh, useLayoutEffect as vi, useEffect as ge, isValidElement as hr, cloneElement as _s, createContext as bu, useContext as Ye, useCallback as Fe, useMemo as Ge, forwardRef as Ca, Component as ih, Fragment as Ss, useReducer as oh, Suspense as sh } from "react";
|
|
18
18
|
import { createPortal as Ia } from "react-dom";
|
|
19
|
-
import { styled as N, Stack as
|
|
19
|
+
import { styled as N, Stack as Q, theme as U, Button as yt, icons as Pt, Typography as fe, Tooltip as We, IconButton as hn, brandIcons as vu, Grid as ah, Box as Oe, Link as Ao, Skeleton as Ea, TableHead as ch, TableCell as To, TableRow as yu, palette as lh, TableContainer as uh, Table as dh, TableBody as fh, Dialog as hh, Icon as Cu, TextField as ph, DatePicker as gh, DateTextField as mh, InputAdornment as bh, Paper as vh, HiverProvider as yh } 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 : {}, Rs = { exports: {} }, Xr = {};
|
|
21
21
|
/**
|
|
22
22
|
* @license React
|
|
@@ -143,14 +143,14 @@ function Ih() {
|
|
|
143
143
|
}
|
|
144
144
|
return null;
|
|
145
145
|
}
|
|
146
|
-
var B = Object.assign, X = 0, H, Z, W,
|
|
146
|
+
var B = Object.assign, X = 0, H, Z, W, q, ae, ce, P;
|
|
147
147
|
function z() {
|
|
148
148
|
}
|
|
149
149
|
z.__reactDisabledLog = !0;
|
|
150
150
|
function ee() {
|
|
151
151
|
{
|
|
152
152
|
if (X === 0) {
|
|
153
|
-
H = console.log, Z = console.info, W = console.warn,
|
|
153
|
+
H = console.log, Z = console.info, W = console.warn, q = console.error, ae = console.group, ce = console.groupCollapsed, P = console.groupEnd;
|
|
154
154
|
var T = {
|
|
155
155
|
configurable: !0,
|
|
156
156
|
enumerable: !0,
|
|
@@ -170,7 +170,7 @@ function Ih() {
|
|
|
170
170
|
X++;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function $() {
|
|
174
174
|
{
|
|
175
175
|
if (X--, X === 0) {
|
|
176
176
|
var T = {
|
|
@@ -189,7 +189,7 @@ function Ih() {
|
|
|
189
189
|
value: W
|
|
190
190
|
}),
|
|
191
191
|
error: B({}, T, {
|
|
192
|
-
value:
|
|
192
|
+
value: q
|
|
193
193
|
}),
|
|
194
194
|
group: B({}, T, {
|
|
195
195
|
value: ae
|
|
@@ -290,7 +290,7 @@ function Ih() {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
} finally {
|
|
293
|
-
ie = !1, ue.current = De,
|
|
293
|
+
ie = !1, ue.current = De, $(), Error.prepareStackTrace = Ae;
|
|
294
294
|
}
|
|
295
295
|
var ar = T ? T.displayName || T.name : "", kn = ar ? ve(ar) : "";
|
|
296
296
|
return typeof T == "function" && he.set(T, kn), kn;
|
|
@@ -674,7 +674,7 @@ function _o(e) {
|
|
|
674
674
|
let { enter: t, exit: n, appendPosition: r = !1, collapse: i = !0, collapseDuration: o = 300 } = e;
|
|
675
675
|
return function(s) {
|
|
676
676
|
let { children: c, position: a, preventExitTransition: l, done: u, nodeRef: b, isIn: v, playToast: C } = s;
|
|
677
|
-
const p = r ? `${t}--${a}` : t, h = r ? `${n}--${a}` : n, d =
|
|
677
|
+
const p = r ? `${t}--${a}` : t, h = r ? `${n}--${a}` : n, d = Le(0);
|
|
678
678
|
return vi(() => {
|
|
679
679
|
const f = b.current, m = p.split(" "), g = (I) => {
|
|
680
680
|
I.target === b.current && (C(), f.removeEventListener("animationend", g), f.removeEventListener("animationcancel", g), d.current === 0 && I.type !== "animationcancel" && f.classList.remove(...m));
|
|
@@ -713,7 +713,7 @@ function bc(e, t) {
|
|
|
713
713
|
});
|
|
714
714
|
}
|
|
715
715
|
function wh(e) {
|
|
716
|
-
const { subscribe: t, getSnapshot: n, setProps: r } =
|
|
716
|
+
const { subscribe: t, getSnapshot: n, setProps: r } = Le(function(o) {
|
|
717
717
|
const s = o.containerId || 1;
|
|
718
718
|
return { subscribe(c) {
|
|
719
719
|
const a = /* @__PURE__ */ function(u, b, v) {
|
|
@@ -734,8 +734,8 @@ function wh(e) {
|
|
|
734
734
|
p -= h.length, h = [];
|
|
735
735
|
}, buildToast: (A, _) => {
|
|
736
736
|
if (((P) => {
|
|
737
|
-
let { containerId: z, toastId: ee, updateId:
|
|
738
|
-
const ue = z ? z !== u : u !== 1, be = g.has(ee) &&
|
|
737
|
+
let { containerId: z, toastId: ee, updateId: $ } = P;
|
|
738
|
+
const ue = z ? z !== u : u !== 1, be = g.has(ee) && $ == null;
|
|
739
739
|
return ue || be;
|
|
740
740
|
})(_)) return;
|
|
741
741
|
const { toastId: L, updateId: O, data: D, staleId: F, delay: B } = _, X = () => {
|
|
@@ -745,11 +745,11 @@ function wh(e) {
|
|
|
745
745
|
const Z = { ...m, style: m.toastStyle, key: C++, ...Object.fromEntries(Object.entries(_).filter((P) => {
|
|
746
746
|
let [z, ee] = P;
|
|
747
747
|
return ee != null;
|
|
748
|
-
})), toastId: L, updateId: O, data: D, closeToast: X, isIn: !1, className: Gi(_.className || m.toastClassName), bodyClassName: Gi(_.bodyClassName || m.bodyClassName), progressClassName: Gi(_.progressClassName || m.progressClassName), autoClose: !_.isLoading && (W = _.autoClose,
|
|
748
|
+
})), toastId: L, updateId: O, data: D, closeToast: X, isIn: !1, className: Gi(_.className || m.toastClassName), bodyClassName: Gi(_.bodyClassName || m.bodyClassName), progressClassName: Gi(_.progressClassName || m.progressClassName), autoClose: !_.isLoading && (W = _.autoClose, q = m.autoClose, W === !1 || ii(W) && W > 0 ? W : q), deleteToast() {
|
|
749
749
|
const P = g.get(L), { onClose: z, children: ee } = P.props;
|
|
750
750
|
wt(z) && z(hr(ee) && ee.props), v(mc(P, "removed")), g.delete(L), p--, p < 0 && (p = 0), h.length > 0 ? w(h.shift()) : y();
|
|
751
751
|
} };
|
|
752
|
-
var W,
|
|
752
|
+
var W, q;
|
|
753
753
|
Z.closeButton = m.closeButton, _.closeButton === !1 || Os(_.closeButton) ? Z.closeButton = _.closeButton : _.closeButton === !0 && (Z.closeButton = !Os(m.closeButton) || m.closeButton);
|
|
754
754
|
let ae = A;
|
|
755
755
|
hr(A) && !$n(A.type) ? ae = _s(A, { closeToast: X, toastProps: Z, data: D }) : wt(A) && (ae = A({ closeToast: X, toastProps: Z, data: D }));
|
|
@@ -788,7 +788,7 @@ function wh(e) {
|
|
|
788
788
|
}, isToastActive: xu, count: i == null ? void 0 : i.length };
|
|
789
789
|
}
|
|
790
790
|
function Ah(e) {
|
|
791
|
-
const [t, n] = Y(!1), [r, i] = Y(!1), o =
|
|
791
|
+
const [t, n] = Y(!1), [r, i] = Y(!1), o = Le(null), s = Le({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: c, pauseOnHover: a, closeToast: l, onClick: u, closeOnClick: b } = e;
|
|
792
792
|
var v, C;
|
|
793
793
|
function p() {
|
|
794
794
|
n(!0);
|
|
@@ -916,17 +916,17 @@ const Rh = typeof window < "u" ? vi : ge, Ri = (e) => {
|
|
|
916
916
|
return Ie.createElement("div", { className: "Toastify__spinner" });
|
|
917
917
|
} }, Oh = (e) => {
|
|
918
918
|
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: i, playToast: o } = Ah(e), { closeButton: s, children: c, autoClose: a, onClick: l, type: u, hideProgressBar: b, closeToast: v, transition: C, position: p, className: h, style: d, bodyClassName: f, bodyStyle: m, progressClassName: g, progressStyle: I, updateId: y, role: x, progress: w, rtl: A, toastId: _, deleteToast: L, isIn: O, isLoading: D, closeOnClick: F, theme: B } = e, X = On("Toastify__toast", `Toastify__toast-theme--${B}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": A }, { "Toastify__toast--close-on-click": F }), H = wt(h) ? h({ rtl: A, position: p, type: u, defaultClassName: X }) : On(X, h), Z = function(ce) {
|
|
919
|
-
let { theme: P, type: z, isLoading: ee, icon:
|
|
919
|
+
let { theme: P, type: z, isLoading: ee, icon: $ } = ce, ue = null;
|
|
920
920
|
const be = { theme: P, type: z };
|
|
921
|
-
return
|
|
922
|
-
}(e), W = !!w || !a,
|
|
921
|
+
return $ === !1 || (wt($) ? ue = $({ ...be, isLoading: ee }) : hr($) ? ue = _s($, be) : ee ? ue = ts.spinner() : ((ve) => ve in ts)(z) && (ue = ts[z](be))), ue;
|
|
922
|
+
}(e), W = !!w || !a, q = { closeToast: v, type: u, theme: B };
|
|
923
923
|
let ae = null;
|
|
924
|
-
return s === !1 || (ae = wt(s) ? s(
|
|
924
|
+
return s === !1 || (ae = wt(s) ? s(q) : hr(s) ? _s(s, q) : function(ce) {
|
|
925
925
|
let { closeToast: P, theme: z, ariaLabel: ee = "close" } = ce;
|
|
926
|
-
return Ie.createElement("button", { className: `Toastify__close-button Toastify__close-button--${z}`, type: "button", onClick: (
|
|
927
|
-
|
|
926
|
+
return Ie.createElement("button", { className: `Toastify__close-button Toastify__close-button--${z}`, type: "button", onClick: ($) => {
|
|
927
|
+
$.stopPropagation(), P($);
|
|
928
928
|
}, "aria-label": ee }, Ie.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ie.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
929
|
-
}(
|
|
929
|
+
}(q)), Ie.createElement(C, { isIn: O, done: L, position: p, preventExitTransition: n, nodeRef: r, playToast: o }, Ie.createElement("div", { id: _, onClick: l, "data-in": O, className: H, ...i, style: d, ref: r }, Ie.createElement("div", { ...O && { role: x }, className: wt(f) ? f({ type: u }) : On("Toastify__toast-body", f), style: m }, Z != null && Ie.createElement("div", { className: On("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !D }) }, Z), Ie.createElement("div", null, c)), ae, Ie.createElement(Th, { ...y && !W ? { key: `pb-${y}` } : {}, rtl: A, theme: B, delay: a, isRunning: t, isIn: O, closeToast: v, hide: b, type: u, style: I, className: g, controlledProgress: W, progress: w || 0 })));
|
|
930
930
|
}, So = function(e, t) {
|
|
931
931
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
932
932
|
}, Lh = _o(So("bounce", !0));
|
|
@@ -936,7 +936,7 @@ _o(So("flip"));
|
|
|
936
936
|
const Fh = { position: "top-right", transition: Lh, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
937
937
|
function Dh(e) {
|
|
938
938
|
let t = { ...Fh, ...e };
|
|
939
|
-
const n = e.stacked, [r, i] = Y(!0), o =
|
|
939
|
+
const n = e.stacked, [r, i] = Y(!0), o = Le(null), { getToastToRender: s, isToastActive: c, count: a } = wh(t), { className: l, style: u, rtl: b, containerId: v } = t;
|
|
940
940
|
function C(h) {
|
|
941
941
|
const d = On("Toastify__toast-container", `Toastify__toast-container--${h}`, { "Toastify__toast-container--rtl": b });
|
|
942
942
|
return wt(l) ? l({ position: h, rtl: b, defaultClassName: d }) : On(d, Gi(l));
|
|
@@ -3530,7 +3530,7 @@ function Ku() {
|
|
|
3530
3530
|
});
|
|
3531
3531
|
}, b = function(p, h, d, f, m, g, I, y, x) {
|
|
3532
3532
|
return y === void 0 && (y = "default"), e(void 0, void 0, void 0, function() {
|
|
3533
|
-
var w, A, _, L, O, D, F, B, X, H, Z, W,
|
|
3533
|
+
var w, A, _, L, O, D, F, B, X, H, Z, W, q, ae;
|
|
3534
3534
|
return t(this, function(ce) {
|
|
3535
3535
|
switch (ce.label) {
|
|
3536
3536
|
case 0:
|
|
@@ -3548,7 +3548,7 @@ function Ku() {
|
|
|
3548
3548
|
throw D;
|
|
3549
3549
|
return [3, 11];
|
|
3550
3550
|
case 6:
|
|
3551
|
-
if (!(((
|
|
3551
|
+
if (!(((q = D.response) === null || q === void 0 ? void 0 : q.status) === 422 || ((ae = D.request) === null || ae === void 0 ? void 0 : ae.status) === 422)) return [3, 7];
|
|
3552
3552
|
throw console.log("ERROR: Throwing error", D.response.status), D;
|
|
3553
3553
|
case 7:
|
|
3554
3554
|
return p <= r.MAX_RETRY_DELAY ? [4, new Promise(function(P) {
|
|
@@ -4413,8 +4413,8 @@ function rd() {
|
|
|
4413
4413
|
if (!(((H = _.response) === null || H === void 0 ? void 0 : H.status) === 422 || ((Z = _.request) === null || Z === void 0 ? void 0 : Z.status) === 422)) return [3, 7];
|
|
4414
4414
|
throw console.log("ERROR: Throwing error", _.response.status), _;
|
|
4415
4415
|
case 7:
|
|
4416
|
-
return C <= r.MAX_RETRY_DELAY ? [4, new Promise(function(
|
|
4417
|
-
return setTimeout(
|
|
4416
|
+
return C <= r.MAX_RETRY_DELAY ? [4, new Promise(function(q) {
|
|
4417
|
+
return setTimeout(q, C);
|
|
4418
4418
|
})] : [3, 10];
|
|
4419
4419
|
case 8:
|
|
4420
4420
|
return W.sent(), C *= 2, console.log("Heimdall: Fetch token post doubling retry delay", C), [4, u(C, p, h, d, f, g)];
|
|
@@ -4935,7 +4935,7 @@ const jt = {
|
|
|
4935
4935
|
return Object.values(e).forEach((n) => {
|
|
4936
4936
|
n.connectorNames && n.connectorNames.forEach((r) => t.add(r));
|
|
4937
4937
|
}), Array.from(t);
|
|
4938
|
-
}, kg = (e = "", t = "", n, r) => `${cg}?user_id=${e}&sm_ids=${n.join(",")}&ug_id=${t}&connector_names=${r.join(",")}`, Pg = "enable_connectors_clicked", Mg = "learn_more_clicked", Bg = "connector_card_expand_clicked", Gg = "connector_card_collapsed_clicked", jg = "connector_card_refresh_clicked", Vg = "connector_cards_loaded", Hg = "connector_whats_new_card_viewed", Wg = "connector_whats_new_explore_now_clicked", Zg = "connector_whats_new_learn_more_clicked", Xg = "connector_whats_new_dismissed", Ug = "connector_create_new_object_clicked", zg = "connector_link_new_object_clicked", Yg = "connector_new_object_created_by_form", $g = "connector_new_object_linked_by_form", Jg = "connector_object_unlinked_by_form", Qg = "connector_link_preview_clicked", qg = "connector_create_panel_cancel_clicked", Kg = "connector_create_panel_back_clicked", e2 = "card_loaded_on_click", t2 = "card_loaded", n2 = "schedule_call_clicked", r2 = "schedule_call_cross_clicked", vd = "CONNECTOR_EDIT_CLICKED", i2 = "CONNECTOR_EDIT_REQUEST_SEND", o2 = "CONNECTOR_EDIT_CANCELLED", s2 = "CONNECTOR_EDIT_BACK_CLICKED", a2 = "CONNECTOR_EDIT_SUCCESS", c2 = "connector_video_clicked", l2 = "connector_card_error", u2 = "got_any_feedback_clicked", d2 = "connector_deeplink_clicked", f2 = "search_bar_tapped", h2 = "search_suggestions_selected", p2 = "search_initiated", g2 = "no_results_found", m2 = "search_results_found", b2 = "search_result_selected", v2 = "search_result_linked", y2 = "Need setup help?", C2 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", I2 = "Schedule call", E2 = "https://calendly.com/aditya-s-grexit/15-min-connector-setup", Hc = "agent_panel", cs = "hiver_schedule_call_close_button_click", x2 = N(
|
|
4938
|
+
}, kg = (e = "", t = "", n, r) => `${cg}?user_id=${e}&sm_ids=${n.join(",")}&ug_id=${t}&connector_names=${r.join(",")}`, Pg = "enable_connectors_clicked", Mg = "learn_more_clicked", Bg = "connector_card_expand_clicked", Gg = "connector_card_collapsed_clicked", jg = "connector_card_refresh_clicked", Vg = "connector_cards_loaded", Hg = "connector_whats_new_card_viewed", Wg = "connector_whats_new_explore_now_clicked", Zg = "connector_whats_new_learn_more_clicked", Xg = "connector_whats_new_dismissed", Ug = "connector_create_new_object_clicked", zg = "connector_link_new_object_clicked", Yg = "connector_new_object_created_by_form", $g = "connector_new_object_linked_by_form", Jg = "connector_object_unlinked_by_form", Qg = "connector_link_preview_clicked", qg = "connector_create_panel_cancel_clicked", Kg = "connector_create_panel_back_clicked", e2 = "card_loaded_on_click", t2 = "card_loaded", n2 = "schedule_call_clicked", r2 = "schedule_call_cross_clicked", vd = "CONNECTOR_EDIT_CLICKED", i2 = "CONNECTOR_EDIT_REQUEST_SEND", o2 = "CONNECTOR_EDIT_CANCELLED", s2 = "CONNECTOR_EDIT_BACK_CLICKED", a2 = "CONNECTOR_EDIT_SUCCESS", c2 = "connector_video_clicked", l2 = "connector_card_error", u2 = "got_any_feedback_clicked", d2 = "connector_deeplink_clicked", f2 = "search_bar_tapped", h2 = "search_suggestions_selected", p2 = "search_initiated", g2 = "no_results_found", m2 = "search_results_found", b2 = "search_result_selected", v2 = "search_result_linked", y2 = "Need setup help?", C2 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", I2 = "Schedule call", E2 = "https://calendly.com/aditya-s-grexit/15-min-connector-setup", Hc = "agent_panel", cs = "hiver_schedule_call_close_button_click", x2 = N(Q)`
|
|
4939
4939
|
padding: 12px;
|
|
4940
4940
|
width: 250px;
|
|
4941
4941
|
min-height: 151px;
|
|
@@ -4943,7 +4943,7 @@ const jt = {
|
|
|
4943
4943
|
margin-bottom: 5px;
|
|
4944
4944
|
background-color: ${U.palette.gray.white};
|
|
4945
4945
|
box-shadow: 0px 0px 8px 0px #0000001a;
|
|
4946
|
-
`, w2 = N(
|
|
4946
|
+
`, w2 = N(Q)`
|
|
4947
4947
|
width: 100%;
|
|
4948
4948
|
gap: 4px;
|
|
4949
4949
|
justify-content: space-between;
|
|
@@ -4988,18 +4988,18 @@ const jt = {
|
|
|
4988
4988
|
};
|
|
4989
4989
|
return !r || !n ? null : /* @__PURE__ */ E.jsxs(x2, { justifyContent: "space-between", alignItems: "baseline", gap: "16px", children: [
|
|
4990
4990
|
/* @__PURE__ */ E.jsxs(w2, { gap: "4px", children: [
|
|
4991
|
-
/* @__PURE__ */ E.jsxs(
|
|
4991
|
+
/* @__PURE__ */ E.jsxs(Q, { direction: "row", justifyContent: "space-between", children: [
|
|
4992
4992
|
/* @__PURE__ */ E.jsx(S2, { variant: "body1_medium", children: y2 }),
|
|
4993
|
-
/* @__PURE__ */ E.jsx(
|
|
4993
|
+
/* @__PURE__ */ E.jsx(Q, { onClick: o, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ E.jsx(We, { title: "Close", placement: "bottom", children: /* @__PURE__ */ E.jsx(hn, { children: /* @__PURE__ */ E.jsx(T2, {}) }) }) })
|
|
4994
4994
|
] }),
|
|
4995
4995
|
/* @__PURE__ */ E.jsx(R2, { variant: "body2", children: C2 })
|
|
4996
4996
|
] }),
|
|
4997
|
-
/* @__PURE__ */ E.jsx(
|
|
4997
|
+
/* @__PURE__ */ E.jsx(Q, { onClick: s, direction: "row", alignItems: "center", children: /* @__PURE__ */ E.jsxs(A2, { variant: "outlined", size: "small", children: [
|
|
4998
4998
|
/* @__PURE__ */ E.jsx(_2, {}),
|
|
4999
4999
|
I2
|
|
5000
5000
|
] }) })
|
|
5001
5001
|
] });
|
|
5002
|
-
}, L2 = "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", F2 = "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", yd = "connector-header-stuck", D2 = N(
|
|
5002
|
+
}, L2 = "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", F2 = "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", yd = "connector-header-stuck", D2 = N(Q)`
|
|
5003
5003
|
position: sticky;
|
|
5004
5004
|
top: 0;
|
|
5005
5005
|
box-sizing: content-box;
|
|
@@ -5016,7 +5016,7 @@ const jt = {
|
|
|
5016
5016
|
&.${yd} {
|
|
5017
5017
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
5018
5018
|
}
|
|
5019
|
-
`, N2 = N(
|
|
5019
|
+
`, N2 = N(Q)`
|
|
5020
5020
|
width: 0;
|
|
5021
5021
|
height: 0;
|
|
5022
5022
|
`, Cd = N(vu.Connector)`
|
|
@@ -5043,23 +5043,23 @@ const jt = {
|
|
|
5043
5043
|
}
|
|
5044
5044
|
display: flex;
|
|
5045
5045
|
flex-direction: column;
|
|
5046
|
-
`, k2 = N(
|
|
5046
|
+
`, k2 = N(Oe)`
|
|
5047
5047
|
flex-grow: 1;
|
|
5048
5048
|
overflow-y: auto;
|
|
5049
5049
|
overflow-x: hidden;
|
|
5050
5050
|
display: flex;
|
|
5051
5051
|
flex-direction: column;
|
|
5052
5052
|
`;
|
|
5053
|
-
N(
|
|
5053
|
+
N(Oe)`
|
|
5054
5054
|
width: inherit;
|
|
5055
5055
|
height: inherit;
|
|
5056
5056
|
`;
|
|
5057
|
-
const P2 = N(
|
|
5057
|
+
const P2 = N(Oe)`
|
|
5058
5058
|
margin-top: 12px;
|
|
5059
5059
|
border: 1px solid ${U.palette.gray.gray5};
|
|
5060
5060
|
border-radius: 8px;
|
|
5061
5061
|
width: 100%;
|
|
5062
|
-
`, M2 = N(
|
|
5062
|
+
`, M2 = N(Q)`
|
|
5063
5063
|
padding: 11px;
|
|
5064
5064
|
box-sizing: border-box;
|
|
5065
5065
|
width: 100%;
|
|
@@ -5072,7 +5072,7 @@ const P2 = N(Le)`
|
|
|
5072
5072
|
&.hiver-card-expanded {
|
|
5073
5073
|
background: ${U.palette.gray.gray6};
|
|
5074
5074
|
}
|
|
5075
|
-
`, xd = N(
|
|
5075
|
+
`, xd = N(Q)`
|
|
5076
5076
|
flex-direction: row;
|
|
5077
5077
|
align-items: stretch;
|
|
5078
5078
|
`, B2 = N(fe)`
|
|
@@ -5081,7 +5081,7 @@ const P2 = N(Le)`
|
|
|
5081
5081
|
text-overflow: ellipsis;
|
|
5082
5082
|
white-space: nowrap;
|
|
5083
5083
|
overflow: hidden;
|
|
5084
|
-
`, G2 = N(
|
|
5084
|
+
`, G2 = N(Oe)`
|
|
5085
5085
|
box-sizing: border-box;
|
|
5086
5086
|
overflow-y: hidden;
|
|
5087
5087
|
height: ${(e) => e.height ? `${e.height}px` : "0px"};
|
|
@@ -5125,7 +5125,7 @@ const P2 = N(Le)`
|
|
|
5125
5125
|
text-overflow: ellipsis;
|
|
5126
5126
|
-webkit-line-clamp: 3;
|
|
5127
5127
|
color: ${U.palette.gray.gray1};
|
|
5128
|
-
`, Ba = N(
|
|
5128
|
+
`, Ba = N(Oe)`
|
|
5129
5129
|
position: relative;
|
|
5130
5130
|
top: 1px;
|
|
5131
5131
|
content: '';
|
|
@@ -5262,11 +5262,11 @@ const P2 = N(Le)`
|
|
|
5262
5262
|
align-items: center;
|
|
5263
5263
|
line-height: 28px;
|
|
5264
5264
|
font-weight: 600;
|
|
5265
|
-
`, K2 = N(
|
|
5265
|
+
`, K2 = N(Oe)`
|
|
5266
5266
|
margin-top: 12px;
|
|
5267
5267
|
border: 1px solid ${lh.gray.gray5};
|
|
5268
5268
|
border-radius: 4px;
|
|
5269
|
-
`, em = N(
|
|
5269
|
+
`, em = N(Q)`
|
|
5270
5270
|
flex-direction: row;
|
|
5271
5271
|
align-items: center;
|
|
5272
5272
|
background-color: #e1e8ff;
|
|
@@ -5274,7 +5274,7 @@ const P2 = N(Le)`
|
|
|
5274
5274
|
box-sizing: border-box;
|
|
5275
5275
|
height: 48px;
|
|
5276
5276
|
justify-content: space-between;
|
|
5277
|
-
`, tm = N(
|
|
5277
|
+
`, tm = N(Oe)`
|
|
5278
5278
|
overflow: hidden;
|
|
5279
5279
|
transition: max-height 300ms;
|
|
5280
5280
|
&.slideUp {
|
|
@@ -5283,17 +5283,17 @@ const P2 = N(Le)`
|
|
|
5283
5283
|
&.slideDown {
|
|
5284
5284
|
max-height: ${({ height: e }) => e ? `${e}px` : "0px"};
|
|
5285
5285
|
}
|
|
5286
|
-
`, nm = N(
|
|
5286
|
+
`, nm = N(Oe)`
|
|
5287
5287
|
background-color: #f0f3ff99;
|
|
5288
5288
|
padding: 14px 12px 8px 12px;
|
|
5289
5289
|
box-sizing: border-box;
|
|
5290
|
-
`, rm = N(
|
|
5290
|
+
`, rm = N(Oe)`
|
|
5291
5291
|
margin-bottom: 12px;
|
|
5292
5292
|
margin-top: 8px;
|
|
5293
5293
|
li {
|
|
5294
5294
|
display: list-item;
|
|
5295
5295
|
}
|
|
5296
|
-
`, im = N(
|
|
5296
|
+
`, im = N(Q)`
|
|
5297
5297
|
margin-bottom: 6px;
|
|
5298
5298
|
list-style-type: disc;
|
|
5299
5299
|
margin-left: ${(e) => e.marginLeft ? `${e.marginLeft}` : "14px"};
|
|
@@ -5312,11 +5312,11 @@ const P2 = N(Le)`
|
|
|
5312
5312
|
`, sm = N(fe)`
|
|
5313
5313
|
font-weight: 500;
|
|
5314
5314
|
height: 100%;
|
|
5315
|
-
`, am = N(
|
|
5315
|
+
`, am = N(Oe)`
|
|
5316
5316
|
&:last-child {
|
|
5317
5317
|
margin-bottom: 16px;
|
|
5318
5318
|
}
|
|
5319
|
-
`, cm = N(
|
|
5319
|
+
`, cm = N(Q)`
|
|
5320
5320
|
flex-direction: row;
|
|
5321
5321
|
width: 100%;
|
|
5322
5322
|
justify-content: center;
|
|
@@ -5341,7 +5341,7 @@ const P2 = N(Le)`
|
|
|
5341
5341
|
max-width: 100%;
|
|
5342
5342
|
height: 100%;
|
|
5343
5343
|
color: ${U.palette.gray.gray2};
|
|
5344
|
-
`, um = N(
|
|
5344
|
+
`, um = N(Q)`
|
|
5345
5345
|
padding: 8px 16px;
|
|
5346
5346
|
color: ${U.palette.gray.black};
|
|
5347
5347
|
`, dm = N(fe)`
|
|
@@ -5359,7 +5359,7 @@ const P2 = N(Le)`
|
|
|
5359
5359
|
handleCreateNewObject: i,
|
|
5360
5360
|
handleLinkNewObject: o
|
|
5361
5361
|
}) => {
|
|
5362
|
-
const s =
|
|
5362
|
+
const s = Le(null), c = Le(null), { availableFeatures: a } = Ye(Je), l = dt(a, Po), u = Fe((b) => {
|
|
5363
5363
|
const v = document.getElementById("connector-agent-container");
|
|
5364
5364
|
if (!b || !v)
|
|
5365
5365
|
return;
|
|
@@ -5379,11 +5379,11 @@ const P2 = N(Le)`
|
|
|
5379
5379
|
return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
5380
5380
|
/* @__PURE__ */ E.jsx(N2, { ref: u }),
|
|
5381
5381
|
/* @__PURE__ */ E.jsxs(D2, { ref: s, children: [
|
|
5382
|
-
/* @__PURE__ */ E.jsxs(
|
|
5382
|
+
/* @__PURE__ */ E.jsxs(Q, { direction: "row", alignItems: "center", gap: "8px", children: [
|
|
5383
5383
|
l ? /* @__PURE__ */ E.jsx(Td, { width: "20px", height: "20px" }) : /* @__PURE__ */ E.jsx(Cd, {}),
|
|
5384
5384
|
/* @__PURE__ */ E.jsx(Id, { variant: "h2", children: l ? ka : cd })
|
|
5385
5385
|
] }),
|
|
5386
|
-
/* @__PURE__ */ E.jsx(
|
|
5386
|
+
/* @__PURE__ */ E.jsx(Q, { direction: "row", gap: "4px", children: e && (r != null && r.length) ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
5387
5387
|
t ? /* @__PURE__ */ E.jsx(We, { title: fd, placement: "bottom", children: /* @__PURE__ */ E.jsx(hn, { onClick: i, children: /* @__PURE__ */ E.jsx("img", { src: L2, alt: "Add", height: "20px" }) }) }) : null,
|
|
5388
5388
|
n ? /* @__PURE__ */ E.jsx(We, { title: hd, placement: "bottom", children: /* @__PURE__ */ E.jsx(hn, { onClick: o, children: /* @__PURE__ */ E.jsx("img", { src: F2, alt: "Link Task", height: "20px" }) }) }) : null
|
|
5389
5389
|
] }) : null })
|
|
@@ -5756,7 +5756,7 @@ const Ut = Fm.withTypes(), Ce = Im.withTypes(), Lt = {
|
|
|
5756
5756
|
DELETE: "DELETE",
|
|
5757
5757
|
PATCH: "PATCH",
|
|
5758
5758
|
PUT: "PUT"
|
|
5759
|
-
},
|
|
5759
|
+
}, J = {
|
|
5760
5760
|
IDLE: "idle",
|
|
5761
5761
|
LOADING: "loading",
|
|
5762
5762
|
FAILED: "failed"
|
|
@@ -7301,11 +7301,11 @@ function Li() {
|
|
|
7301
7301
|
function Ne(e) {
|
|
7302
7302
|
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
7303
7303
|
}
|
|
7304
|
-
const Fn = "success", xt = "error", Jd = "Some error occured. Please contact support@hiverhq.com", Qd = "Card refreshed successfully", Gb = "Card linked successfully", jb = "Error in linking the card", Vb = "Card unlinked successfully", Hb = "Failed to unlink the card", Wa = "Something went wrong", Wb = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%3e%3cpath%20fill='%23ffffff'%20fill-rule='nonzero'%20d='M8.821%207.496L14.716%201.6A.937.937%200%201%200%2013.391.275L7.496%206.17%201.6.275A.937.937%200%201%200%20.275%201.601L6.17%207.496.275%2013.39A.937.937%200%201%200%201.6%2014.716L7.496%208.82l5.895%205.895a.935.935%200%200%200%201.325%200%20.937.937%200%200%200%200-1.326L8.821%207.496z'%20opacity='.8'/%3e%3c/svg%3e", Zb = N(
|
|
7304
|
+
const Fn = "success", xt = "error", Jd = "Some error occured. Please contact support@hiverhq.com", Qd = "Card refreshed successfully", Gb = "Card linked successfully", jb = "Error in linking the card", Vb = "Card unlinked successfully", Hb = "Failed to unlink the card", Wa = "Something went wrong", Wb = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%3e%3cpath%20fill='%23ffffff'%20fill-rule='nonzero'%20d='M8.821%207.496L14.716%201.6A.937.937%200%201%200%2013.391.275L7.496%206.17%201.6.275A.937.937%200%201%200%20.275%201.601L6.17%207.496.275%2013.39A.937.937%200%201%200%201.6%2014.716L7.496%208.82l5.895%205.895a.935.935%200%200%200%201.325%200%20.937.937%200%200%200%200-1.326L8.821%207.496z'%20opacity='.8'/%3e%3c/svg%3e", Zb = N(Oe)`
|
|
7305
7305
|
display: flex;
|
|
7306
7306
|
flex-direction: row;
|
|
7307
7307
|
align-items: center;
|
|
7308
|
-
`, Xb = N(
|
|
7308
|
+
`, Xb = N(Oe)`
|
|
7309
7309
|
padding: 5px 8px;
|
|
7310
7310
|
color: white;
|
|
7311
7311
|
`, Ub = N(vu.Logo)(() => ({
|
|
@@ -7313,7 +7313,7 @@ const Fn = "success", xt = "error", Jd = "Some error occured. Please contact sup
|
|
|
7313
7313
|
width: "26px",
|
|
7314
7314
|
color: "#FFFFFF",
|
|
7315
7315
|
marginRight: "4px"
|
|
7316
|
-
})), zb = N(
|
|
7316
|
+
})), zb = N(Q)`
|
|
7317
7317
|
flex-direction: row;
|
|
7318
7318
|
padding: 0 10px;
|
|
7319
7319
|
img {
|
|
@@ -7372,7 +7372,7 @@ function $b(e) {
|
|
|
7372
7372
|
Se.dismiss(e);
|
|
7373
7373
|
}
|
|
7374
7374
|
const ol = {
|
|
7375
|
-
updateFormApiStatus:
|
|
7375
|
+
updateFormApiStatus: J.IDLE,
|
|
7376
7376
|
createObjectList: [],
|
|
7377
7377
|
createObjectConnectorNamesList: [],
|
|
7378
7378
|
linkObjectList: [],
|
|
@@ -7380,14 +7380,14 @@ const ol = {
|
|
|
7380
7380
|
searchObjectList: [],
|
|
7381
7381
|
objectDict: null,
|
|
7382
7382
|
formFields: null,
|
|
7383
|
-
objectListApiStatus:
|
|
7384
|
-
unlinkCardApiStatus:
|
|
7385
|
-
linkCardApiStatus:
|
|
7383
|
+
objectListApiStatus: J.IDLE,
|
|
7384
|
+
unlinkCardApiStatus: J.IDLE,
|
|
7385
|
+
linkCardApiStatus: J.IDLE,
|
|
7386
7386
|
optionsMap: null,
|
|
7387
|
-
dropdownOptionsApis:
|
|
7387
|
+
dropdownOptionsApis: J.IDLE,
|
|
7388
7388
|
dependentFieldsMap: {},
|
|
7389
|
-
createFormApiStatus:
|
|
7390
|
-
currentResourceDetailsApiStatus:
|
|
7389
|
+
createFormApiStatus: J.IDLE,
|
|
7390
|
+
currentResourceDetailsApiStatus: J.IDLE,
|
|
7391
7391
|
currentResourceDetails: null,
|
|
7392
7392
|
currentCardInEdit: null,
|
|
7393
7393
|
hasUnsavedChanges: !1
|
|
@@ -7485,9 +7485,9 @@ const ol = {
|
|
|
7485
7485
|
});
|
|
7486
7486
|
}, ll = {
|
|
7487
7487
|
optionsMap: null,
|
|
7488
|
-
dropdownOptionsApis:
|
|
7488
|
+
dropdownOptionsApis: J.IDLE,
|
|
7489
7489
|
previewCardData: null,
|
|
7490
|
-
previewCardApiStatus:
|
|
7490
|
+
previewCardApiStatus: J.IDLE,
|
|
7491
7491
|
selectedSuggestionType: "basic"
|
|
7492
7492
|
}, tf = Ha({
|
|
7493
7493
|
name: "commonSlice",
|
|
@@ -7495,7 +7495,7 @@ const ol = {
|
|
|
7495
7495
|
reducers: {
|
|
7496
7496
|
resetState: () => ll,
|
|
7497
7497
|
resetPreviewCardData: (e) => {
|
|
7498
|
-
e.previewCardData = null, e.previewCardApiStatus =
|
|
7498
|
+
e.previewCardData = null, e.previewCardApiStatus = J.IDLE;
|
|
7499
7499
|
},
|
|
7500
7500
|
setSelectedSuggestionType: (e, t) => {
|
|
7501
7501
|
e.selectedSuggestionType = t.payload;
|
|
@@ -7503,10 +7503,10 @@ const ol = {
|
|
|
7503
7503
|
},
|
|
7504
7504
|
extraReducers: (e) => {
|
|
7505
7505
|
e.addCase(qn.pending, (t) => {
|
|
7506
|
-
t.dropdownOptionsApis =
|
|
7506
|
+
t.dropdownOptionsApis = J.LOADING;
|
|
7507
7507
|
}).addCase(qn.fulfilled, (t, n) => {
|
|
7508
7508
|
const r = t.optionsMap || {}, { optionsList: i, hasMore: o, currentPage: s, key: c } = n.payload;
|
|
7509
|
-
t.dropdownOptionsApis =
|
|
7509
|
+
t.dropdownOptionsApis = J.IDLE, t.optionsMap = {
|
|
7510
7510
|
...r,
|
|
7511
7511
|
[c]: {
|
|
7512
7512
|
options: i,
|
|
@@ -7515,14 +7515,14 @@ const ol = {
|
|
|
7515
7515
|
}
|
|
7516
7516
|
};
|
|
7517
7517
|
}).addCase(qn.rejected, (t) => {
|
|
7518
|
-
t.dropdownOptionsApis =
|
|
7518
|
+
t.dropdownOptionsApis = J.FAILED;
|
|
7519
7519
|
}).addCase(pr.pending, (t) => {
|
|
7520
|
-
t.previewCardApiStatus =
|
|
7520
|
+
t.previewCardApiStatus = J.LOADING;
|
|
7521
7521
|
}).addCase(pr.fulfilled, (t, n) => {
|
|
7522
7522
|
const { data: r } = n.payload;
|
|
7523
|
-
r && (t.previewCardData = r), t.previewCardApiStatus =
|
|
7523
|
+
r && (t.previewCardData = r), t.previewCardApiStatus = J.IDLE;
|
|
7524
7524
|
}).addCase(pr.rejected, (t) => {
|
|
7525
|
-
t.previewCardApiStatus =
|
|
7525
|
+
t.previewCardApiStatus = J.FAILED;
|
|
7526
7526
|
});
|
|
7527
7527
|
}
|
|
7528
7528
|
}), qn = on(
|
|
@@ -7651,7 +7651,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
7651
7651
|
reducers: {
|
|
7652
7652
|
resetState: () => ol,
|
|
7653
7653
|
resetCurrentResourceDetails: (e) => {
|
|
7654
|
-
e.currentResourceDetails = null, e.currentResourceDetailsApiStatus =
|
|
7654
|
+
e.currentResourceDetails = null, e.currentResourceDetailsApiStatus = J.IDLE;
|
|
7655
7655
|
},
|
|
7656
7656
|
setCurrentCardInEdit: (e, t) => {
|
|
7657
7657
|
e.currentCardInEdit = t.payload;
|
|
@@ -7662,7 +7662,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
7662
7662
|
},
|
|
7663
7663
|
extraReducers: (e) => {
|
|
7664
7664
|
e.addCase(Ui.pending, (t) => {
|
|
7665
|
-
t.objectListApiStatus =
|
|
7665
|
+
t.objectListApiStatus = J.LOADING;
|
|
7666
7666
|
}).addCase(Ui.fulfilled, (t, n) => {
|
|
7667
7667
|
const {
|
|
7668
7668
|
createObjectList: r,
|
|
@@ -7674,14 +7674,14 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
7674
7674
|
objectDict: l,
|
|
7675
7675
|
dependentFieldsMap: u
|
|
7676
7676
|
} = n.payload;
|
|
7677
|
-
t.objectListApiStatus =
|
|
7677
|
+
t.objectListApiStatus = J.IDLE, t.createObjectList = r, t.createObjectConnectorNamesList = i, t.linkObjectList = o, t.editObjectList = s, t.searchObjectList = c, t.formFields = a, t.objectDict = l, t.dependentFieldsMap = u;
|
|
7678
7678
|
}).addCase(Ui.rejected, (t) => {
|
|
7679
|
-
t.objectListApiStatus =
|
|
7679
|
+
t.objectListApiStatus = J.FAILED;
|
|
7680
7680
|
}).addCase(qn.pending, (t) => {
|
|
7681
|
-
t.dropdownOptionsApis =
|
|
7681
|
+
t.dropdownOptionsApis = J.LOADING;
|
|
7682
7682
|
}).addCase(qn.fulfilled, (t, n) => {
|
|
7683
7683
|
const r = t.optionsMap || {}, { optionsList: i, hasMore: o, currentPage: s, key: c } = n.payload;
|
|
7684
|
-
t.dropdownOptionsApis =
|
|
7684
|
+
t.dropdownOptionsApis = J.IDLE, t.optionsMap = {
|
|
7685
7685
|
...r,
|
|
7686
7686
|
[c]: {
|
|
7687
7687
|
options: i,
|
|
@@ -7690,38 +7690,38 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
7690
7690
|
}
|
|
7691
7691
|
};
|
|
7692
7692
|
}).addCase(qn.rejected, (t) => {
|
|
7693
|
-
t.dropdownOptionsApis =
|
|
7693
|
+
t.dropdownOptionsApis = J.FAILED;
|
|
7694
7694
|
}).addCase(zi.pending, (t) => {
|
|
7695
|
-
t.createFormApiStatus =
|
|
7695
|
+
t.createFormApiStatus = J.LOADING;
|
|
7696
7696
|
}).addCase(zi.fulfilled, (t) => {
|
|
7697
|
-
t.createFormApiStatus =
|
|
7697
|
+
t.createFormApiStatus = J.IDLE;
|
|
7698
7698
|
}).addCase(zi.rejected, (t) => {
|
|
7699
|
-
t.createFormApiStatus =
|
|
7699
|
+
t.createFormApiStatus = J.FAILED;
|
|
7700
7700
|
}).addCase(Ji.pending, (t) => {
|
|
7701
|
-
t.linkCardApiStatus =
|
|
7701
|
+
t.linkCardApiStatus = J.LOADING;
|
|
7702
7702
|
}).addCase(Ji.fulfilled, (t) => {
|
|
7703
|
-
t.linkCardApiStatus =
|
|
7703
|
+
t.linkCardApiStatus = J.IDLE;
|
|
7704
7704
|
}).addCase(Ji.rejected, (t) => {
|
|
7705
|
-
t.linkCardApiStatus =
|
|
7705
|
+
t.linkCardApiStatus = J.FAILED;
|
|
7706
7706
|
}).addCase($i.pending, (t) => {
|
|
7707
|
-
t.unlinkCardApiStatus =
|
|
7707
|
+
t.unlinkCardApiStatus = J.LOADING;
|
|
7708
7708
|
}).addCase($i.fulfilled, (t) => {
|
|
7709
|
-
t.unlinkCardApiStatus =
|
|
7709
|
+
t.unlinkCardApiStatus = J.IDLE;
|
|
7710
7710
|
}).addCase($i.rejected, (t) => {
|
|
7711
|
-
t.unlinkCardApiStatus =
|
|
7711
|
+
t.unlinkCardApiStatus = J.FAILED;
|
|
7712
7712
|
}).addCase(Yi.pending, (t) => {
|
|
7713
|
-
t.updateFormApiStatus =
|
|
7713
|
+
t.updateFormApiStatus = J.LOADING;
|
|
7714
7714
|
}).addCase(Yi.fulfilled, (t) => {
|
|
7715
|
-
t.updateFormApiStatus =
|
|
7715
|
+
t.updateFormApiStatus = J.IDLE;
|
|
7716
7716
|
}).addCase(Yi.rejected, (t) => {
|
|
7717
|
-
t.updateFormApiStatus =
|
|
7717
|
+
t.updateFormApiStatus = J.FAILED;
|
|
7718
7718
|
}).addCase(Qi.pending, (t) => {
|
|
7719
|
-
t.currentResourceDetailsApiStatus =
|
|
7719
|
+
t.currentResourceDetailsApiStatus = J.LOADING;
|
|
7720
7720
|
}).addCase(Qi.fulfilled, (t, n) => {
|
|
7721
7721
|
const { data: r } = n.payload;
|
|
7722
|
-
r && (t.currentResourceDetails = r), t.currentResourceDetailsApiStatus =
|
|
7722
|
+
r && (t.currentResourceDetails = r), t.currentResourceDetailsApiStatus = J.IDLE;
|
|
7723
7723
|
}).addCase(Qi.rejected, (t) => {
|
|
7724
|
-
t.currentResourceDetailsApiStatus =
|
|
7724
|
+
t.currentResourceDetailsApiStatus = J.FAILED;
|
|
7725
7725
|
});
|
|
7726
7726
|
}
|
|
7727
7727
|
}), Ui = on(
|
|
@@ -7904,7 +7904,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
7904
7904
|
isVertical: !1,
|
|
7905
7905
|
isHorizontal: !1,
|
|
7906
7906
|
isScrolling: !1
|
|
7907
|
-
}), i =
|
|
7907
|
+
}), i = Fe((o) => {
|
|
7908
7908
|
t(o);
|
|
7909
7909
|
}, []);
|
|
7910
7910
|
return ge(() => {
|
|
@@ -7955,7 +7955,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
7955
7955
|
sm_ids: s
|
|
7956
7956
|
}), i(gr({ ...n, externalResourceId: f })));
|
|
7957
7957
|
};
|
|
7958
|
-
return /* @__PURE__ */ E.jsxs(
|
|
7958
|
+
return /* @__PURE__ */ E.jsxs(Q, { maxHeight: "340px", maxWidth: "700px", padding: "32px 0px 32px 32px", overflow: "auto", children: [
|
|
7959
7959
|
/* @__PURE__ */ E.jsx(fe, { variant: "h2", color: "gray.black", marginBottom: "16px", children: t }),
|
|
7960
7960
|
/* @__PURE__ */ E.jsx(uh, { ref: l, children: /* @__PURE__ */ E.jsxs(dh, { stickyHeader: !0, children: [
|
|
7961
7961
|
/* @__PURE__ */ E.jsx(Z2, { children: /* @__PURE__ */ E.jsxs(yu, { children: [
|
|
@@ -7988,14 +7988,14 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
7988
7988
|
isCardLevelError: C,
|
|
7989
7989
|
fieldName: p,
|
|
7990
7990
|
showErrorIcon: h
|
|
7991
|
-
} = e, d =
|
|
7991
|
+
} = e, d = Le(null), f = Le(null), { email: m, currentSmIds: g, conversationId: I, sendTrackingEvent: y, connectorFunctions: x } = Ye(Je), w = Ce(ly), A = w == null ? void 0 : w[v], [_, L] = Y(!1), O = Ge(() => {
|
|
7992
7992
|
if (n && C) {
|
|
7993
|
-
const { error_message:
|
|
7994
|
-
return
|
|
7993
|
+
const { error_message: q } = fl(n);
|
|
7994
|
+
return q;
|
|
7995
7995
|
}
|
|
7996
7996
|
return a ? pd.replace(/{{connector_name}}/g, (l == null ? void 0 : l[0]) || "") : Gc;
|
|
7997
|
-
}, [n, a, l, C]), D =
|
|
7998
|
-
const
|
|
7997
|
+
}, [n, a, l, C]), D = Fe(() => {
|
|
7998
|
+
const q = n || dy(A, l), { error_code: ae, error_message: ce } = fl(q);
|
|
7999
7999
|
y == null || y(l2, {
|
|
8000
8000
|
sm_ids: g,
|
|
8001
8001
|
frontend_req_params: {
|
|
@@ -8022,9 +8022,9 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8022
8022
|
ge(() => {
|
|
8023
8023
|
(n && C || a && A) && D();
|
|
8024
8024
|
}, [D, A, a, n, C]), ge(() => {
|
|
8025
|
-
const
|
|
8026
|
-
if (
|
|
8027
|
-
const ae =
|
|
8025
|
+
const q = r ? f.current : d.current;
|
|
8026
|
+
if (q) {
|
|
8027
|
+
const ae = q.scrollHeight > q.clientHeight || q.scrollWidth > q.clientWidth;
|
|
8028
8028
|
L(ae);
|
|
8029
8029
|
}
|
|
8030
8030
|
}, [t, r]);
|
|
@@ -8039,14 +8039,14 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8039
8039
|
card_title: u,
|
|
8040
8040
|
field_name: p
|
|
8041
8041
|
});
|
|
8042
|
-
}, W = (
|
|
8043
|
-
const ae = /<>(.*?)<>/g, ce =
|
|
8042
|
+
}, W = (q) => {
|
|
8043
|
+
const ae = /<>(.*?)<>/g, ce = q.split(ae);
|
|
8044
8044
|
return /* @__PURE__ */ E.jsx(Ie.Fragment, { children: ce.map(
|
|
8045
8045
|
(P, z) => z % 2 === 1 ? /* @__PURE__ */ E.jsx(V2, { variant: "body2", onClick: H, children: P }, z) : P
|
|
8046
8046
|
) });
|
|
8047
8047
|
};
|
|
8048
8048
|
return o ? /* @__PURE__ */ E.jsx(Jn, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : X ? /* @__PURE__ */ E.jsxs(xd, { gap: "7px", children: [
|
|
8049
|
-
h ? /* @__PURE__ */ E.jsx(
|
|
8049
|
+
h ? /* @__PURE__ */ E.jsx(Q, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ E.jsx("img", { src: uy, width: "18px", height: "18px" }) }) : null,
|
|
8050
8050
|
/* @__PURE__ */ E.jsx(wd, { variant: "body2", children: O ? W(O) : Gc })
|
|
8051
8051
|
] }) : /* @__PURE__ */ E.jsx(We, { title: _ ? B : null, placement: "bottom", children: r ? /* @__PURE__ */ E.jsx(
|
|
8052
8052
|
Ad,
|
|
@@ -8080,29 +8080,29 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8080
8080
|
maxWidth: "none"
|
|
8081
8081
|
}
|
|
8082
8082
|
},
|
|
8083
|
-
children: /* @__PURE__ */ E.jsxs(
|
|
8084
|
-
r && /* @__PURE__ */ E.jsx(
|
|
8083
|
+
children: /* @__PURE__ */ E.jsxs(Q, { direction: "row", children: [
|
|
8084
|
+
r && /* @__PURE__ */ E.jsx(Oe, { position: "absolute", right: 10, top: 10, children: /* @__PURE__ */ E.jsx(We, { title: "Close", placement: "bottom", children: /* @__PURE__ */ E.jsx(hn, { onClick: () => t(!1), children: /* @__PURE__ */ E.jsx("img", { src: fy }) }) }) }),
|
|
8085
8085
|
n
|
|
8086
8086
|
] })
|
|
8087
8087
|
}
|
|
8088
8088
|
), sf = (e) => {
|
|
8089
8089
|
var P, z, ee;
|
|
8090
|
-
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: i, isOpen: o, currentCard: s } = e, c = 24, a = (i == null ? void 0 : i[t]) ===
|
|
8091
|
-
var
|
|
8092
|
-
return d && ((
|
|
8093
|
-
}, [d, v]), O = Ge(() => L == null ? void 0 : L.slice(0, 5), [L]), [D, F] = Y([]), B =
|
|
8090
|
+
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: i, isOpen: o, currentCard: s } = e, c = 24, a = (i == null ? void 0 : i[t]) === J.IDLE, l = (i == null ? void 0 : i[t]) === J.LOADING, u = (i == null ? void 0 : i[t]) === J.FAILED, { cardType: b, data: v, cardErrorMessage: C, redirectToAdminTab: p, connectorNames: h } = (r == null ? void 0 : r[t]) || {}, d = b === "flat", [f, m] = Y(!1), [g, I] = Y(!1), [y, x] = Y(!1), [w, A] = Y(!1), _ = ((P = v == null ? void 0 : v.listItems) == null ? void 0 : P.statusCode) !== 401, L = Ge(() => {
|
|
8091
|
+
var $, ue, be, ve;
|
|
8092
|
+
return d && (($ = v == null ? void 0 : v.flatDisplay) != null && $.data) ? v.flatDisplay.data : !d && ((ve = (be = (ue = v == null ? void 0 : v.listItems) == null ? void 0 : ue.fields) == null ? void 0 : be[0]) != null && ve.data) ? v.listItems.fields[0].data : [];
|
|
8093
|
+
}, [d, v]), O = Ge(() => L == null ? void 0 : L.slice(0, 5), [L]), [D, F] = Y([]), B = Le(null), [X, H] = Y(0), Z = f ? -180 : 0, W = d ? !1 : !!((z = v == null ? void 0 : v.listItems) != null && z.errorMessage), q = W || u || C, ae = a && !W && o && (y || g);
|
|
8094
8094
|
vi(() => {
|
|
8095
|
-
var
|
|
8096
|
-
(
|
|
8095
|
+
var $;
|
|
8096
|
+
($ = B.current) != null && $.scrollHeight && H(B.current.scrollHeight + c);
|
|
8097
8097
|
}, [i == null ? void 0 : i[t], D, B]), ge(() => {
|
|
8098
8098
|
var ve, ie;
|
|
8099
|
-
const
|
|
8100
|
-
x(
|
|
8099
|
+
const $ = ((L == null ? void 0 : L.length) || 0) > 5, ue = !d && (((ie = (ve = v == null ? void 0 : v.listItems) == null ? void 0 : ve.fields) == null ? void 0 : ie.length) || 0) > 1;
|
|
8100
|
+
x($ && !ue), I(ue);
|
|
8101
8101
|
}, [v, d, L == null ? void 0 : L.length]), ge(() => {
|
|
8102
8102
|
F(f ? L : O);
|
|
8103
8103
|
}, [v, f, O, L]);
|
|
8104
8104
|
const ce = () => {
|
|
8105
|
-
y ? m((
|
|
8105
|
+
y ? m(($) => !$) : A(($) => !$);
|
|
8106
8106
|
};
|
|
8107
8107
|
return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
8108
8108
|
/* @__PURE__ */ E.jsx(Za, { shown: w, setShown: A, showCloseButton: !0, borderRadius: 12, children: /* @__PURE__ */ E.jsx(
|
|
@@ -8114,10 +8114,10 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8114
8114
|
setShowModal: A
|
|
8115
8115
|
}
|
|
8116
8116
|
) }),
|
|
8117
|
-
/* @__PURE__ */ E.jsx(G2, { className: o ? "" : "slideUp", height: X, children: /* @__PURE__ */ E.jsx(
|
|
8117
|
+
/* @__PURE__ */ E.jsx(G2, { className: o ? "" : "slideUp", height: X, children: /* @__PURE__ */ E.jsx(Q, { ref: B, gap: 1, margin: "12px", children: l && !(D != null && D.length) ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
8118
8118
|
/* @__PURE__ */ E.jsx(Jn, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
|
|
8119
8119
|
/* @__PURE__ */ E.jsx(Jn, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
|
|
8120
|
-
] }) : /* @__PURE__ */ E.jsx(E.Fragment, { children:
|
|
8120
|
+
] }) : /* @__PURE__ */ E.jsx(E.Fragment, { children: q ? /* @__PURE__ */ E.jsx(Oe, { margin: "8px 0", children: /* @__PURE__ */ E.jsx(
|
|
8121
8121
|
hl,
|
|
8122
8122
|
{
|
|
8123
8123
|
error: C,
|
|
@@ -8131,8 +8131,8 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8131
8131
|
currentCard: s,
|
|
8132
8132
|
isCardLevelError: !0
|
|
8133
8133
|
}
|
|
8134
|
-
) }) : D != null && D.length ? D == null ? void 0 : D.map((
|
|
8135
|
-
const { value: ue, label: be, deepLink: ve, type: ie } =
|
|
8134
|
+
) }) : D != null && D.length ? D == null ? void 0 : D.map(($) => {
|
|
8135
|
+
const { value: ue, label: be, deepLink: ve, type: ie } = $, he = "errorMessage" in $ ? $.errorMessage : null, Ze = "statusCode" in $ ? $.statusCode : null;
|
|
8136
8136
|
return /* @__PURE__ */ E.jsxs("div", { children: [
|
|
8137
8137
|
/* @__PURE__ */ E.jsx(j2, { variant: "overline", children: be }),
|
|
8138
8138
|
/* @__PURE__ */ E.jsx(
|
|
@@ -8151,7 +8151,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8151
8151
|
}
|
|
8152
8152
|
)
|
|
8153
8153
|
] }, be);
|
|
8154
|
-
}) : /* @__PURE__ */ E.jsx(
|
|
8154
|
+
}) : /* @__PURE__ */ E.jsx(Oe, { margin: "8px 0", children: /* @__PURE__ */ E.jsx(wd, { children: Cg }) }) }) }) }),
|
|
8155
8155
|
!C && ae && /* @__PURE__ */ E.jsx(Q2, { variant: "body2_medium", onClick: ce, children: y ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
8156
8156
|
f ? Nm : Yc,
|
|
8157
8157
|
/* @__PURE__ */ E.jsx(J2, { src: Dm, transformAngle: Z })
|
|
@@ -8160,8 +8160,8 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8160
8160
|
}, hy = {
|
|
8161
8161
|
connectorCards: null,
|
|
8162
8162
|
cardSpecificData: null,
|
|
8163
|
-
connectorApiStatus:
|
|
8164
|
-
conversationMetaDataApiStatus:
|
|
8163
|
+
connectorApiStatus: J.IDLE,
|
|
8164
|
+
conversationMetaDataApiStatus: J.IDLE,
|
|
8165
8165
|
specificConnectorApiStatus: null,
|
|
8166
8166
|
threadId: null,
|
|
8167
8167
|
connectorsEnabled: !1,
|
|
@@ -8197,17 +8197,17 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8197
8197
|
},
|
|
8198
8198
|
extraReducers: (e) => {
|
|
8199
8199
|
e.addCase(qi.pending, (t) => {
|
|
8200
|
-
t.connectorApiStatus =
|
|
8200
|
+
t.connectorApiStatus = J.LOADING;
|
|
8201
8201
|
}).addCase(qi.fulfilled, (t, n) => {
|
|
8202
|
-
t.connectorApiStatus =
|
|
8202
|
+
t.connectorApiStatus = J.IDLE, t.connectorCards = n.payload.cards, t.connectorsEnabled = n.payload.connectorsEnabled;
|
|
8203
8203
|
}).addCase(qi.rejected, (t) => {
|
|
8204
|
-
t.connectorApiStatus =
|
|
8204
|
+
t.connectorApiStatus = J.FAILED;
|
|
8205
8205
|
}).addCase(ri.pending, (t, n) => {
|
|
8206
8206
|
const { id: r, externalResourceId: i = "" } = n.meta.arg;
|
|
8207
8207
|
let o = r;
|
|
8208
8208
|
i && (o = `${o}_${i}`), t.specificConnectorApiStatus = {
|
|
8209
8209
|
...t.specificConnectorApiStatus ?? {},
|
|
8210
|
-
[o]:
|
|
8210
|
+
[o]: J.LOADING
|
|
8211
8211
|
};
|
|
8212
8212
|
}).addCase(ri.fulfilled, (t, n) => {
|
|
8213
8213
|
const { id: r, externalResourceId: i = "" } = n.meta.arg;
|
|
@@ -8219,14 +8219,14 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8219
8219
|
[o]: s
|
|
8220
8220
|
}), t.specificConnectorApiStatus = {
|
|
8221
8221
|
...t.specificConnectorApiStatus ?? {},
|
|
8222
|
-
[o]:
|
|
8222
|
+
[o]: J.IDLE
|
|
8223
8223
|
};
|
|
8224
8224
|
}).addCase(ri.rejected, (t, n) => {
|
|
8225
8225
|
const { id: r, externalResourceId: i = "" } = n.meta.arg;
|
|
8226
8226
|
let o = r;
|
|
8227
8227
|
i && (o = `${o}_${i}`), t.specificConnectorApiStatus = {
|
|
8228
8228
|
...t.specificConnectorApiStatus ?? {},
|
|
8229
|
-
[o]:
|
|
8229
|
+
[o]: J.FAILED
|
|
8230
8230
|
};
|
|
8231
8231
|
const s = n.payload && typeof n.payload == "object" && "code" in n.payload ? String(n.payload.code) : gd;
|
|
8232
8232
|
t.specificConnectorErrorCode = {
|
|
@@ -8287,7 +8287,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8287
8287
|
conversationId: o,
|
|
8288
8288
|
connectorName: s
|
|
8289
8289
|
}) => {
|
|
8290
|
-
const c = Ut(), { sendTrackingEvent: a } = Ye(Je), u = Ce(Ty) ===
|
|
8290
|
+
const c = Ut(), { sendTrackingEvent: a } = Ye(Je), u = Ce(Ty) === J.LOADING, b = () => {
|
|
8291
8291
|
o && i && c($i({ id: n, conversationId: o, externalResourceId: i })).unwrap().then(() => {
|
|
8292
8292
|
a(Jg, {
|
|
8293
8293
|
connector_name: s,
|
|
@@ -8303,10 +8303,10 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8303
8303
|
});
|
|
8304
8304
|
});
|
|
8305
8305
|
};
|
|
8306
|
-
return /* @__PURE__ */ E.jsx(Za, { shown: e, setShown: t, showCloseButton: !0, children: /* @__PURE__ */ E.jsxs(
|
|
8306
|
+
return /* @__PURE__ */ E.jsx(Za, { shown: e, setShown: t, showCloseButton: !0, children: /* @__PURE__ */ E.jsxs(Q, { width: "400px", padding: "20px", gap: "8px", children: [
|
|
8307
8307
|
/* @__PURE__ */ E.jsx(fe, { variant: "h2", children: Ag }),
|
|
8308
8308
|
/* @__PURE__ */ E.jsx(fe, { variant: "body2", children: Dy(s) }),
|
|
8309
|
-
/* @__PURE__ */ E.jsxs(
|
|
8309
|
+
/* @__PURE__ */ E.jsxs(Q, { direction: "row", gap: "8px", marginTop: "20px", justifyContent: "flex-end", children: [
|
|
8310
8310
|
/* @__PURE__ */ E.jsx(yt, { variant: "text", onClick: () => t(!1), children: Pa }),
|
|
8311
8311
|
/* @__PURE__ */ E.jsx(yt, { disabled: u, color: "error", onClick: b, children: ud })
|
|
8312
8312
|
] })
|
|
@@ -8322,7 +8322,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8322
8322
|
} = e, c = Ut(), { availableFeatures: a, sendTrackingEvent: l, conversationId: u, currentSmIds: b } = Ye(Je), { userGroupId: v } = Gr() || {}, [C, p] = Y(!!o), [h, d] = Y(!1), [f, m] = Y(!1), { id: g, title: I, externalResourceId: y = "", forms: x = [] } = t;
|
|
8323
8323
|
let w = g;
|
|
8324
8324
|
y && (w = `${w}_${y}`);
|
|
8325
|
-
const { data: A, cardType: _, cardErrorMessage: L, connectorNames: O } = (n == null ? void 0 : n[w]) ?? {}, D = (O == null ? void 0 : O[0]) || "", F = (i == null ? void 0 : i[w]) ===
|
|
8325
|
+
const { data: A, cardType: _, cardErrorMessage: L, connectorNames: O } = (n == null ? void 0 : n[w]) ?? {}, D = (O == null ? void 0 : O[0]) || "", F = (i == null ? void 0 : i[w]) === J.LOADING, B = (i == null ? void 0 : i[w]) === J.FAILED, X = !!(dt(a, od) && y), H = Ge(() => {
|
|
8326
8326
|
var P, z;
|
|
8327
8327
|
if (L || B || !(dt(a, hg) && x.some((ee) => ee.type === "edit")))
|
|
8328
8328
|
return !1;
|
|
@@ -8334,21 +8334,21 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8334
8334
|
default:
|
|
8335
8335
|
return !1;
|
|
8336
8336
|
}
|
|
8337
|
-
}, [A, _, a, x, t, L, B]), Z =
|
|
8337
|
+
}, [A, _, a, x, t, L, B]), Z = Fe(
|
|
8338
8338
|
(P = !1) => {
|
|
8339
8339
|
const z = P ? t2 : e2;
|
|
8340
8340
|
r && g && u && c(ri({ id: g, email: r, conversationId: u, externalResourceId: y })).unwrap().then((ee) => {
|
|
8341
|
-
const
|
|
8341
|
+
const $ = {
|
|
8342
8342
|
...Vc(ee, I, P, !0),
|
|
8343
8343
|
sm_ids: b
|
|
8344
8344
|
};
|
|
8345
|
-
l(z,
|
|
8345
|
+
l(z, $);
|
|
8346
8346
|
}).catch((ee) => {
|
|
8347
|
-
const
|
|
8347
|
+
const $ = {
|
|
8348
8348
|
...Vc(ee, I, P, !1),
|
|
8349
8349
|
sm_ids: b
|
|
8350
8350
|
};
|
|
8351
|
-
l(z,
|
|
8351
|
+
l(z, $);
|
|
8352
8352
|
});
|
|
8353
8353
|
},
|
|
8354
8354
|
[c, r, g, I, l, u, y, b]
|
|
@@ -8357,15 +8357,15 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8357
8357
|
C && Z(!0);
|
|
8358
8358
|
}, [C, Z]);
|
|
8359
8359
|
const W = (P, z) => {
|
|
8360
|
-
var
|
|
8360
|
+
var $;
|
|
8361
8361
|
P == null || P.stopPropagation(), c(ri({ id: z, email: r, conversationId: u, isRefresh: !0, externalResourceId: y })).unwrap().then(() => {
|
|
8362
8362
|
l(jg, {
|
|
8363
8363
|
id: z
|
|
8364
8364
|
});
|
|
8365
8365
|
});
|
|
8366
|
-
const ee = P.target.tagName === "BUTTON" ? (
|
|
8366
|
+
const ee = P.target.tagName === "BUTTON" ? ($ = P.target) == null ? void 0 : $.firstChild : P.target;
|
|
8367
8367
|
ee.className && (ee.className = ""), setTimeout(() => ee.className = "selected", 1);
|
|
8368
|
-
},
|
|
8368
|
+
}, q = (P, z) => {
|
|
8369
8369
|
P.stopPropagation(), !(n != null && n[z]) && !F && Z(), l(C ? Gg : Bg, {
|
|
8370
8370
|
id: z
|
|
8371
8371
|
}), p((ee) => !ee);
|
|
@@ -8385,7 +8385,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8385
8385
|
_ === "flat" ? P = (A == null ? void 0 : A.flatDisplay.externalResourceId) ?? t.externalResourceId : _ === "flat_with_list" && (P = (ee = (z = A == null ? void 0 : A.listItems) == null ? void 0 : z.fields[0]) == null ? void 0 : ee.externalResourceId), P ? c(gr({ ...t, externalResourceId: P })) : He({ message: Wa, type: xt });
|
|
8386
8386
|
};
|
|
8387
8387
|
return /* @__PURE__ */ E.jsxs(P2, { "data-testid": `test_${g}`, children: [
|
|
8388
|
-
/* @__PURE__ */ E.jsxs(M2, { className: C ? "hiver-card-expanded" : "", onClick: (P) =>
|
|
8388
|
+
/* @__PURE__ */ E.jsxs(M2, { className: C ? "hiver-card-expanded" : "", onClick: (P) => q(P, w), children: [
|
|
8389
8389
|
/* @__PURE__ */ E.jsx(We, { title: h ? I : "", placement: "bottom", children: /* @__PURE__ */ E.jsx(B2, { variant: "h4", onMouseOver: (P) => ae(P), onMouseLeave: (P) => ae(P), children: I }) }),
|
|
8390
8390
|
/* @__PURE__ */ E.jsxs(xd, { children: [
|
|
8391
8391
|
C && H ? /* @__PURE__ */ E.jsx(We, { title: dd, placement: "bottom", children: /* @__PURE__ */ E.jsx(jn, { onClick: ce, children: /* @__PURE__ */ E.jsx("img", { src: Cy }) }) }) : null,
|
|
@@ -8399,7 +8399,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8399
8399
|
children: /* @__PURE__ */ E.jsx("img", { src: lf })
|
|
8400
8400
|
}
|
|
8401
8401
|
) }) : null,
|
|
8402
|
-
/* @__PURE__ */ E.jsx(We, { title: C ? ad : Na, placement: "bottom", children: /* @__PURE__ */ E.jsx(jn, { onClick: (P) =>
|
|
8402
|
+
/* @__PURE__ */ E.jsx(We, { title: C ? ad : Na, placement: "bottom", children: /* @__PURE__ */ E.jsx(jn, { onClick: (P) => q(P, w), children: /* @__PURE__ */ E.jsx(Ba, { className: C ? "" : "hiver-up" }) }) })
|
|
8403
8403
|
] })
|
|
8404
8404
|
] }),
|
|
8405
8405
|
/* @__PURE__ */ E.jsx(
|
|
@@ -8434,7 +8434,7 @@ Do you want to continue?`, zv = "Select an object to create", Yv = "Select an ob
|
|
|
8434
8434
|
onCardUnlinking: i
|
|
8435
8435
|
}) => {
|
|
8436
8436
|
const { availableFeatures: o } = Ye(Je), c = dt(o, gg) ? Py : 1;
|
|
8437
|
-
return /* @__PURE__ */ E.jsx(
|
|
8437
|
+
return /* @__PURE__ */ E.jsx(Oe, { flexGrow: 1, children: e.map((a, l) => {
|
|
8438
8438
|
const { id: u, externalResourceId: b } = a;
|
|
8439
8439
|
let v = u;
|
|
8440
8440
|
return b && (v = `${v}_${b}`), /* @__PURE__ */ E.jsx("div", { children: /* @__PURE__ */ E.jsx(
|
|
@@ -8462,9 +8462,9 @@ function dr({
|
|
|
8462
8462
|
return !t && !n ? null : e;
|
|
8463
8463
|
}
|
|
8464
8464
|
$s.CaseView = dr;
|
|
8465
|
-
const By = "Bring your favourite tools into Hiver", Gy = "Plugin image", jy = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", Vy = "Enable Connectors", Hy = "Enable Apps", Wy = "Learn more", Zy = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", Xy = "Contact your admin to enable this", Uy = "https://youtu.be/ODcJnzZLb50", zy = "connectors-module/assets/connectors-images/connector-mainpage.png", Yy = "connectors-module/assets/connectors-images/connector-mainpage-apps.png", $y = "Explore connectors", Jy = "Connectors", Qy = N(
|
|
8465
|
+
const By = "Bring your favourite tools into Hiver", Gy = "Plugin image", jy = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", Vy = "Enable Connectors", Hy = "Enable Apps", Wy = "Learn more", Zy = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", Xy = "Contact your admin to enable this", Uy = "https://youtu.be/ODcJnzZLb50", zy = "connectors-module/assets/connectors-images/connector-mainpage.png", Yy = "connectors-module/assets/connectors-images/connector-mainpage-apps.png", $y = "Explore connectors", Jy = "Connectors", Qy = N(Oe)`
|
|
8466
8466
|
padding-top: 20px;
|
|
8467
|
-
`, qy = N(
|
|
8467
|
+
`, qy = N(Q)`
|
|
8468
8468
|
width: 100%;
|
|
8469
8469
|
height: 97px;
|
|
8470
8470
|
background-color: ${U.palette.purple.light};
|
|
@@ -8504,7 +8504,7 @@ const By = "Bring your favourite tools into Hiver", Gy = "Plugin image", jy = "I
|
|
|
8504
8504
|
background-color: #e3dfff;
|
|
8505
8505
|
border: 1px solid ${U.palette.purple.primary};
|
|
8506
8506
|
}
|
|
8507
|
-
`, n3 = N(
|
|
8507
|
+
`, n3 = N(Q)`
|
|
8508
8508
|
margin-top: 16px;
|
|
8509
8509
|
justify-content: center;
|
|
8510
8510
|
align-items: center;
|
|
@@ -8629,14 +8629,14 @@ function sn(e, t) {
|
|
|
8629
8629
|
}
|
|
8630
8630
|
var d3 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
8631
8631
|
function mf(e) {
|
|
8632
|
-
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, o = e.defaultValue, s = o === void 0 ? null : o, c = e.inputValue, a = e.menuIsOpen, l = e.onChange, u = e.onInputChange, b = e.onMenuClose, v = e.onMenuOpen, C = e.value, p = sn(e, d3), h = Y(c !== void 0 ? c : n), d = qe(h, 2), f = d[0], m = d[1], g = Y(a !== void 0 ? a : i), I = qe(g, 2), y = I[0], x = I[1], w = Y(C !== void 0 ? C : s), A = qe(w, 2), _ = A[0], L = A[1], O =
|
|
8633
|
-
typeof l == "function" && l(W,
|
|
8634
|
-
}, [l]), D =
|
|
8632
|
+
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, o = e.defaultValue, s = o === void 0 ? null : o, c = e.inputValue, a = e.menuIsOpen, l = e.onChange, u = e.onInputChange, b = e.onMenuClose, v = e.onMenuOpen, C = e.value, p = sn(e, d3), h = Y(c !== void 0 ? c : n), d = qe(h, 2), f = d[0], m = d[1], g = Y(a !== void 0 ? a : i), I = qe(g, 2), y = I[0], x = I[1], w = Y(C !== void 0 ? C : s), A = qe(w, 2), _ = A[0], L = A[1], O = Fe(function(W, q) {
|
|
8633
|
+
typeof l == "function" && l(W, q), L(W);
|
|
8634
|
+
}, [l]), D = Fe(function(W, q) {
|
|
8635
8635
|
var ae;
|
|
8636
|
-
typeof u == "function" && (ae = u(W,
|
|
8637
|
-
}, [u]), F =
|
|
8636
|
+
typeof u == "function" && (ae = u(W, q)), m(ae !== void 0 ? ae : W);
|
|
8637
|
+
}, [u]), F = Fe(function() {
|
|
8638
8638
|
typeof v == "function" && v(), x(!0);
|
|
8639
|
-
}, [v]), B =
|
|
8639
|
+
}, [v]), B = Fe(function() {
|
|
8640
8640
|
typeof b == "function" && b(), x(!1);
|
|
8641
8641
|
}, [b]), X = c !== void 0 ? c : f, H = a !== void 0 ? a : y, Z = C !== void 0 ? C : _;
|
|
8642
8642
|
return K(K({}, p), {}, {
|
|
@@ -9420,7 +9420,7 @@ function K3() {
|
|
|
9420
9420
|
}
|
|
9421
9421
|
}
|
|
9422
9422
|
var y = a, x = l, w = c, A = s, _ = t, L = u, O = r, D = p, F = C, B = n, X = o, H = i, Z = b, W = !1;
|
|
9423
|
-
function
|
|
9423
|
+
function q(G) {
|
|
9424
9424
|
return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ae(G) || I(G) === a;
|
|
9425
9425
|
}
|
|
9426
9426
|
function ae(G) {
|
|
@@ -9438,7 +9438,7 @@ function K3() {
|
|
|
9438
9438
|
function ee(G) {
|
|
9439
9439
|
return I(G) === u;
|
|
9440
9440
|
}
|
|
9441
|
-
function
|
|
9441
|
+
function $(G) {
|
|
9442
9442
|
return I(G) === r;
|
|
9443
9443
|
}
|
|
9444
9444
|
function ue(G) {
|
|
@@ -9459,7 +9459,7 @@ function K3() {
|
|
|
9459
9459
|
function Ze(G) {
|
|
9460
9460
|
return I(G) === b;
|
|
9461
9461
|
}
|
|
9462
|
-
_e.AsyncMode = y, _e.ConcurrentMode = x, _e.ContextConsumer = w, _e.ContextProvider = A, _e.Element = _, _e.ForwardRef = L, _e.Fragment = O, _e.Lazy = D, _e.Memo = F, _e.Portal = B, _e.Profiler = X, _e.StrictMode = H, _e.Suspense = Z, _e.isAsyncMode =
|
|
9462
|
+
_e.AsyncMode = y, _e.ConcurrentMode = x, _e.ContextConsumer = w, _e.ContextProvider = A, _e.Element = _, _e.ForwardRef = L, _e.Fragment = O, _e.Lazy = D, _e.Memo = F, _e.Portal = B, _e.Profiler = X, _e.StrictMode = H, _e.Suspense = Z, _e.isAsyncMode = q, _e.isConcurrentMode = ae, _e.isContextConsumer = ce, _e.isContextProvider = P, _e.isElement = z, _e.isForwardRef = ee, _e.isFragment = $, _e.isLazy = ue, _e.isMemo = be, _e.isPortal = ve, _e.isProfiler = ie, _e.isStrictMode = he, _e.isSuspense = Ze, _e.isValidElementType = g, _e.typeOf = I;
|
|
9463
9463
|
}()), _e;
|
|
9464
9464
|
}
|
|
9465
9465
|
process.env.NODE_ENV === "production" ? ea.exports = q3() : ea.exports = K3();
|
|
@@ -10239,7 +10239,7 @@ var Gf = function(t) {
|
|
|
10239
10239
|
marginTop: c.menuGutter
|
|
10240
10240
|
});
|
|
10241
10241
|
}, jf = /* @__PURE__ */ bu(null), rI = function(t) {
|
|
10242
|
-
var n = t.children, r = t.minMenuHeight, i = t.maxMenuHeight, o = t.menuPlacement, s = t.menuPosition, c = t.menuShouldScrollIntoView, a = t.theme, l = Ye(jf) || {}, u = l.setPortalPlacement, b =
|
|
10242
|
+
var n = t.children, r = t.minMenuHeight, i = t.maxMenuHeight, o = t.menuPlacement, s = t.menuPosition, c = t.menuShouldScrollIntoView, a = t.theme, l = Ye(jf) || {}, u = l.setPortalPlacement, b = Le(null), v = Y(i), C = qe(v, 2), p = C[0], h = C[1], d = Y(null), f = qe(d, 2), m = f[0], g = f[1], I = a.spacing.controlHeight;
|
|
10243
10243
|
return ra(function() {
|
|
10244
10244
|
var y = b.current;
|
|
10245
10245
|
if (y) {
|
|
@@ -10324,11 +10324,11 @@ var Gf = function(t) {
|
|
|
10324
10324
|
zIndex: 1
|
|
10325
10325
|
};
|
|
10326
10326
|
}, hI = function(t) {
|
|
10327
|
-
var n = t.appendTo, r = t.children, i = t.controlElement, o = t.innerProps, s = t.menuPlacement, c = t.menuPosition, a =
|
|
10327
|
+
var n = t.appendTo, r = t.children, i = t.controlElement, o = t.innerProps, s = t.menuPlacement, c = t.menuPosition, a = Le(null), l = Le(null), u = Y(Gf(s)), b = qe(u, 2), v = b[0], C = b[1], p = Ge(function() {
|
|
10328
10328
|
return {
|
|
10329
10329
|
setPortalPlacement: C
|
|
10330
10330
|
};
|
|
10331
|
-
}, []), h = Y(null), d = qe(h, 2), f = d[0], m = d[1], g =
|
|
10331
|
+
}, []), h = Y(null), d = qe(h, 2), f = d[0], m = d[1], g = Fe(function() {
|
|
10332
10332
|
if (i) {
|
|
10333
10333
|
var w = XC(i), A = c === "fixed" ? 0 : window.pageYOffset, _ = w[v] + A;
|
|
10334
10334
|
(_ !== (f == null ? void 0 : f.offset) || w.left !== (f == null ? void 0 : f.rect.left) || w.width !== (f == null ? void 0 : f.rect.width)) && m({
|
|
@@ -10340,7 +10340,7 @@ var Gf = function(t) {
|
|
|
10340
10340
|
ra(function() {
|
|
10341
10341
|
g();
|
|
10342
10342
|
}, [g]);
|
|
10343
|
-
var I =
|
|
10343
|
+
var I = Fe(function() {
|
|
10344
10344
|
typeof l.current == "function" && (l.current(), l.current = null), i && a.current && (l.current = MC(i, a.current, g, {
|
|
10345
10345
|
elementResize: "ResizeObserver" in window
|
|
10346
10346
|
}));
|
|
@@ -10348,7 +10348,7 @@ var Gf = function(t) {
|
|
|
10348
10348
|
ra(function() {
|
|
10349
10349
|
I();
|
|
10350
10350
|
}, [I]);
|
|
10351
|
-
var y =
|
|
10351
|
+
var y = Fe(function(w) {
|
|
10352
10352
|
a.current = w, I();
|
|
10353
10353
|
}, [I]);
|
|
10354
10354
|
if (!n && c !== "fixed" || !f) return null;
|
|
@@ -10935,14 +10935,14 @@ var mE = process.env.NODE_ENV === "production" ? {
|
|
|
10935
10935
|
}, [b]), _ = Ge(function() {
|
|
10936
10936
|
var X = "";
|
|
10937
10937
|
if (n && A.onChange) {
|
|
10938
|
-
var H = n.option, Z = n.options, W = n.removedValue,
|
|
10938
|
+
var H = n.option, Z = n.options, W = n.removedValue, q = n.removedValues, ae = n.value, ce = function(ve) {
|
|
10939
10939
|
return Array.isArray(ve) ? null : ve;
|
|
10940
|
-
}, P = W || H || ce(ae), z = P ? v(P) : "", ee = Z ||
|
|
10940
|
+
}, P = W || H || ce(ae), z = P ? v(P) : "", ee = Z || q || void 0, $ = ee ? ee.map(v) : [], ue = K({
|
|
10941
10941
|
// multiSelected items are usually items that have already been selected
|
|
10942
10942
|
// or set by the user as a default value so we assume they are not disabled
|
|
10943
10943
|
isDisabled: P && h(P, c),
|
|
10944
10944
|
label: z,
|
|
10945
|
-
labels:
|
|
10945
|
+
labels: $
|
|
10946
10946
|
}, n);
|
|
10947
10947
|
X = A.onChange(ue);
|
|
10948
10948
|
}
|
|
@@ -11318,26 +11318,26 @@ var _E = function(t) {
|
|
|
11318
11318
|
t.cancelable && t.preventDefault(), t.stopPropagation();
|
|
11319
11319
|
};
|
|
11320
11320
|
function SE(e) {
|
|
11321
|
-
var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, i = e.onTopArrive, o = e.onTopLeave, s =
|
|
11321
|
+
var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, i = e.onTopArrive, o = e.onTopLeave, s = Le(!1), c = Le(!1), a = Le(0), l = Le(null), u = Fe(function(d, f) {
|
|
11322
11322
|
if (l.current !== null) {
|
|
11323
11323
|
var m = l.current, g = m.scrollTop, I = m.scrollHeight, y = m.clientHeight, x = l.current, w = f > 0, A = I - y - g, _ = !1;
|
|
11324
11324
|
A > f && s.current && (r && r(d), s.current = !1), w && c.current && (o && o(d), c.current = !1), w && f > A ? (n && !s.current && n(d), x.scrollTop = I, _ = !0, s.current = !0) : !w && -f > g && (i && !c.current && i(d), x.scrollTop = 0, _ = !0, c.current = !0), _ && _E(d);
|
|
11325
11325
|
}
|
|
11326
|
-
}, [n, r, i, o]), b =
|
|
11326
|
+
}, [n, r, i, o]), b = Fe(function(d) {
|
|
11327
11327
|
u(d, d.deltaY);
|
|
11328
|
-
}, [u]), v =
|
|
11328
|
+
}, [u]), v = Fe(function(d) {
|
|
11329
11329
|
a.current = d.changedTouches[0].clientY;
|
|
11330
|
-
}, []), C =
|
|
11330
|
+
}, []), C = Fe(function(d) {
|
|
11331
11331
|
var f = a.current - d.changedTouches[0].clientY;
|
|
11332
11332
|
u(d, f);
|
|
11333
|
-
}, [u]), p =
|
|
11333
|
+
}, [u]), p = Fe(function(d) {
|
|
11334
11334
|
if (d) {
|
|
11335
11335
|
var f = YC ? {
|
|
11336
11336
|
passive: !1
|
|
11337
11337
|
} : !1;
|
|
11338
11338
|
d.addEventListener("wheel", b, f), d.addEventListener("touchstart", v, f), d.addEventListener("touchmove", C, f);
|
|
11339
11339
|
}
|
|
11340
|
-
}, [C, v, b]), h =
|
|
11340
|
+
}, [C, v, b]), h = Fe(function(d) {
|
|
11341
11341
|
d && (d.removeEventListener("wheel", b, !1), d.removeEventListener("touchstart", v, !1), d.removeEventListener("touchmove", C, !1));
|
|
11342
11342
|
}, [C, v, b]);
|
|
11343
11343
|
return ge(function() {
|
|
@@ -11376,7 +11376,7 @@ var Wl = !!(typeof window < "u" && window.document && window.document.createElem
|
|
|
11376
11376
|
passive: !1
|
|
11377
11377
|
};
|
|
11378
11378
|
function RE(e) {
|
|
11379
|
-
var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, i =
|
|
11379
|
+
var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, i = Le({}), o = Le(null), s = Fe(function(a) {
|
|
11380
11380
|
if (Wl) {
|
|
11381
11381
|
var l = document.body, u = l && l.style;
|
|
11382
11382
|
if (r && Ml.forEach(function(p) {
|
|
@@ -11391,7 +11391,7 @@ function RE(e) {
|
|
|
11391
11391
|
}
|
|
11392
11392
|
l && Hl() && (l.addEventListener("touchmove", Gl, lr), a && (a.addEventListener("touchstart", Vl, lr), a.addEventListener("touchmove", jl, lr))), qr += 1;
|
|
11393
11393
|
}
|
|
11394
|
-
}, [r]), c =
|
|
11394
|
+
}, [r]), c = Fe(function(a) {
|
|
11395
11395
|
if (Wl) {
|
|
11396
11396
|
var l = document.body, u = l && l.style;
|
|
11397
11397
|
qr = Math.max(qr - 1, 0), r && qr < 1 && Ml.forEach(function(b) {
|
|
@@ -12384,7 +12384,7 @@ var n0 = function(t) {
|
|
|
12384
12384
|
var i = this, o = this.getComponents(), s = o.Group, c = o.GroupHeading, a = o.Menu, l = o.MenuList, u = o.MenuPortal, b = o.LoadingMessage, v = o.NoOptionsMessage, C = o.Option, p = this.commonProps, h = this.state.focusedOption, d = this.props, f = d.captureMenuScroll, m = d.inputValue, g = d.isLoading, I = d.loadingMessage, y = d.minMenuHeight, x = d.maxMenuHeight, w = d.menuIsOpen, A = d.menuPlacement, _ = d.menuPosition, L = d.menuPortalTarget, O = d.menuShouldBlockScroll, D = d.menuShouldScrollIntoView, F = d.noOptionsMessage, B = d.onMenuScrollToTop, X = d.onMenuScrollToBottom;
|
|
12385
12385
|
if (!w) return null;
|
|
12386
12386
|
var H = function(z, ee) {
|
|
12387
|
-
var
|
|
12387
|
+
var $ = z.type, ue = z.data, be = z.isDisabled, ve = z.isSelected, ie = z.label, he = z.value, Ze = h === ue, G = be ? void 0 : function() {
|
|
12388
12388
|
return i.onOptionHover(ue);
|
|
12389
12389
|
}, Ke = be ? void 0 : function() {
|
|
12390
12390
|
return i.selectOption(ue);
|
|
@@ -12405,7 +12405,7 @@ var n0 = function(t) {
|
|
|
12405
12405
|
isSelected: ve,
|
|
12406
12406
|
key: st,
|
|
12407
12407
|
label: ie,
|
|
12408
|
-
type:
|
|
12408
|
+
type: $,
|
|
12409
12409
|
value: he,
|
|
12410
12410
|
isFocused: Ze,
|
|
12411
12411
|
innerRef: Ze ? i.getFocusedOptionRef : void 0
|
|
@@ -12414,7 +12414,7 @@ var n0 = function(t) {
|
|
|
12414
12414
|
if (this.hasOptions())
|
|
12415
12415
|
Z = this.getCategorizedOptions().map(function(P) {
|
|
12416
12416
|
if (P.type === "group") {
|
|
12417
|
-
var z = P.data, ee = P.options,
|
|
12417
|
+
var z = P.data, ee = P.options, $ = P.index, ue = "".concat(i.getElementId("group"), "-").concat($), be = "".concat(ue, "-heading");
|
|
12418
12418
|
return /* @__PURE__ */ M.createElement(s, re({}, p, {
|
|
12419
12419
|
key: ue,
|
|
12420
12420
|
data: z,
|
|
@@ -12426,7 +12426,7 @@ var n0 = function(t) {
|
|
|
12426
12426
|
},
|
|
12427
12427
|
label: i.formatGroupLabel(P.data)
|
|
12428
12428
|
}), P.options.map(function(ve) {
|
|
12429
|
-
return H(ve, "".concat(
|
|
12429
|
+
return H(ve, "".concat($, "-").concat(ve.index));
|
|
12430
12430
|
}));
|
|
12431
12431
|
} else if (P.type === "option")
|
|
12432
12432
|
return H(P, "".concat(P.index));
|
|
@@ -12438,11 +12438,11 @@ var n0 = function(t) {
|
|
|
12438
12438
|
if (W === null) return null;
|
|
12439
12439
|
Z = /* @__PURE__ */ M.createElement(b, p, W);
|
|
12440
12440
|
} else {
|
|
12441
|
-
var
|
|
12441
|
+
var q = F({
|
|
12442
12442
|
inputValue: m
|
|
12443
12443
|
});
|
|
12444
|
-
if (
|
|
12445
|
-
Z = /* @__PURE__ */ M.createElement(v, p,
|
|
12444
|
+
if (q === null) return null;
|
|
12445
|
+
Z = /* @__PURE__ */ M.createElement(v, p, q);
|
|
12446
12446
|
}
|
|
12447
12447
|
var ae = {
|
|
12448
12448
|
minMenuHeight: y,
|
|
@@ -12451,7 +12451,7 @@ var n0 = function(t) {
|
|
|
12451
12451
|
menuPosition: _,
|
|
12452
12452
|
menuShouldScrollIntoView: D
|
|
12453
12453
|
}, ce = /* @__PURE__ */ M.createElement(rI, re({}, p, ae), function(P) {
|
|
12454
|
-
var z = P.ref, ee = P.placerProps,
|
|
12454
|
+
var z = P.ref, ee = P.placerProps, $ = ee.placement, ue = ee.maxHeight;
|
|
12455
12455
|
return /* @__PURE__ */ M.createElement(a, re({}, p, ae, {
|
|
12456
12456
|
innerRef: z,
|
|
12457
12457
|
innerProps: {
|
|
@@ -12459,7 +12459,7 @@ var n0 = function(t) {
|
|
|
12459
12459
|
onMouseMove: i.onMenuMouseMove
|
|
12460
12460
|
},
|
|
12461
12461
|
isLoading: g,
|
|
12462
|
-
placement:
|
|
12462
|
+
placement: $
|
|
12463
12463
|
}), /* @__PURE__ */ M.createElement(DE, {
|
|
12464
12464
|
captureEnabled: f,
|
|
12465
12465
|
onTopArrive: B,
|
|
@@ -12612,7 +12612,7 @@ var r5 = /* @__PURE__ */ Ca(function(e, t) {
|
|
|
12612
12612
|
ref: t
|
|
12613
12613
|
}, n));
|
|
12614
12614
|
}), i5 = r5;
|
|
12615
|
-
const o5 = N(
|
|
12615
|
+
const o5 = N(Oe)`
|
|
12616
12616
|
display: flex;
|
|
12617
12617
|
align-items: center;
|
|
12618
12618
|
gap: 2px;
|
|
@@ -12629,7 +12629,7 @@ function r0(e) {
|
|
|
12629
12629
|
/* @__PURE__ */ E.jsx("span", { children: e.children })
|
|
12630
12630
|
] }) });
|
|
12631
12631
|
}
|
|
12632
|
-
const a5 = N(
|
|
12632
|
+
const a5 = N(Oe)`
|
|
12633
12633
|
height: 24px;
|
|
12634
12634
|
width: 24px;
|
|
12635
12635
|
border-radius: 50%;
|
|
@@ -12654,11 +12654,11 @@ const a5 = N(Le)`
|
|
|
12654
12654
|
&:after {
|
|
12655
12655
|
transform: rotate(-45deg);
|
|
12656
12656
|
}
|
|
12657
|
-
`, i0 = (e) => /* @__PURE__ */ E.jsx(mn.ClearIndicator, { ...e, children: /* @__PURE__ */ E.jsx(a5, {}) }), c5 = N(
|
|
12657
|
+
`, i0 = (e) => /* @__PURE__ */ E.jsx(mn.ClearIndicator, { ...e, children: /* @__PURE__ */ E.jsx(a5, {}) }), c5 = N(Q)`
|
|
12658
12658
|
width: 0;
|
|
12659
12659
|
height: 0;
|
|
12660
12660
|
`, l5 = ({ root: e, rootMargin: t, callback: n }) => {
|
|
12661
|
-
const r =
|
|
12661
|
+
const r = Le(null), i = Fe(
|
|
12662
12662
|
(o) => {
|
|
12663
12663
|
if (!o || !e)
|
|
12664
12664
|
return;
|
|
@@ -12684,7 +12684,7 @@ const a5 = N(Le)`
|
|
|
12684
12684
|
IndicatorSeparator: () => null,
|
|
12685
12685
|
Option: r0
|
|
12686
12686
|
}), fi = (e) => {
|
|
12687
|
-
const [t, n] = Y(!1), r =
|
|
12687
|
+
const [t, n] = Y(!1), r = Fe((i) => {
|
|
12688
12688
|
n(!i.isIntersecting);
|
|
12689
12689
|
}, []);
|
|
12690
12690
|
return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
@@ -12723,7 +12723,7 @@ const f5 = (e) => /* @__PURE__ */ E.jsx(ph, { ...e }), h5 = N(f5)`
|
|
|
12723
12723
|
&.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
|
|
12724
12724
|
border-width: 1px;
|
|
12725
12725
|
}
|
|
12726
|
-
`, Yl = N(
|
|
12726
|
+
`, Yl = N(Oe)`
|
|
12727
12727
|
& .hiverFormField__placeholder {
|
|
12728
12728
|
color: #97a3b7;
|
|
12729
12729
|
}
|
|
@@ -12817,7 +12817,7 @@ const f5 = (e) => /* @__PURE__ */ E.jsx(ph, { ...e }), h5 = N(f5)`
|
|
|
12817
12817
|
rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
|
|
12818
12818
|
border-radius: 4px;
|
|
12819
12819
|
}
|
|
12820
|
-
`, $l = N(
|
|
12820
|
+
`, $l = N(Oe)`
|
|
12821
12821
|
font-size: 12px;
|
|
12822
12822
|
font-weight: 400;
|
|
12823
12823
|
margin: 2px 14px 0px 0px;
|
|
@@ -12827,7 +12827,7 @@ const f5 = (e) => /* @__PURE__ */ E.jsx(ph, { ...e }), h5 = N(f5)`
|
|
|
12827
12827
|
&.helper--error {
|
|
12828
12828
|
color: #d32f2f;
|
|
12829
12829
|
}
|
|
12830
|
-
`, p5 = N(
|
|
12830
|
+
`, p5 = N(Oe)`
|
|
12831
12831
|
width: 100%;
|
|
12832
12832
|
position: relative;
|
|
12833
12833
|
& .MuiInputBase-root {
|
|
@@ -12846,13 +12846,13 @@ var g5 = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
|
|
|
12846
12846
|
function m5(e) {
|
|
12847
12847
|
var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, i = r === void 0 ? !1 : r, o = e.loadOptions;
|
|
12848
12848
|
e.options;
|
|
12849
|
-
var s = e.isLoading, c = s === void 0 ? !1 : s, a = e.onInputChange, l = e.filterOption, u = l === void 0 ? null : l, b = sn(e, g5), v = b.inputValue, C =
|
|
12849
|
+
var s = e.isLoading, c = s === void 0 ? !1 : s, a = e.onInputChange, l = e.filterOption, u = l === void 0 ? null : l, b = sn(e, g5), v = b.inputValue, C = Le(void 0), p = Le(!1), h = Y(Array.isArray(n) ? n : void 0), d = qe(h, 2), f = d[0], m = d[1], g = Y(typeof v < "u" ? v : ""), I = qe(g, 2), y = I[0], x = I[1], w = Y(n === !0), A = qe(w, 2), _ = A[0], L = A[1], O = Y(void 0), D = qe(O, 2), F = D[0], B = D[1], X = Y([]), H = qe(X, 2), Z = H[0], W = H[1], q = Y(!1), ae = qe(q, 2), ce = ae[0], P = ae[1], z = Y({}), ee = qe(z, 2), $ = ee[0], ue = ee[1], be = Y(void 0), ve = qe(be, 2), ie = ve[0], he = ve[1], Ze = Y(void 0), G = qe(Ze, 2), Ke = G[0], st = G[1];
|
|
12850
12850
|
i !== Ke && (ue({}), st(i)), n !== ie && (m(Array.isArray(n) ? n : void 0), he(n)), ge(function() {
|
|
12851
12851
|
return p.current = !0, function() {
|
|
12852
12852
|
p.current = !1;
|
|
12853
12853
|
};
|
|
12854
12854
|
}, []);
|
|
12855
|
-
var et =
|
|
12855
|
+
var et = Fe(function(Bt, Et) {
|
|
12856
12856
|
if (!o) return Et();
|
|
12857
12857
|
var Qe = o(Bt, Et);
|
|
12858
12858
|
Qe && typeof Qe.then == "function" && Qe.then(Et, function() {
|
|
@@ -12864,21 +12864,21 @@ function m5(e) {
|
|
|
12864
12864
|
p.current && (m(Bt || []), L(!!C.current));
|
|
12865
12865
|
});
|
|
12866
12866
|
}, []);
|
|
12867
|
-
var Ft =
|
|
12867
|
+
var Ft = Fe(function(Bt, Et) {
|
|
12868
12868
|
var Qe = VC(Bt, Et, a);
|
|
12869
12869
|
if (!Qe) {
|
|
12870
12870
|
C.current = void 0, x(""), B(""), W([]), L(!1), P(!1);
|
|
12871
12871
|
return;
|
|
12872
12872
|
}
|
|
12873
|
-
if (i &&
|
|
12874
|
-
x(Qe), B(Qe), W(
|
|
12873
|
+
if (i && $[Qe])
|
|
12874
|
+
x(Qe), B(Qe), W($[Qe]), L(!1), P(!1);
|
|
12875
12875
|
else {
|
|
12876
12876
|
var Hr = C.current = {};
|
|
12877
12877
|
x(Qe), L(!0), P(!F), et(Qe, function(zt) {
|
|
12878
|
-
p && Hr === C.current && (C.current = void 0, L(!1), B(Qe), W(zt || []), P(!1), ue(zt ? K(K({},
|
|
12878
|
+
p && Hr === C.current && (C.current = void 0, L(!1), B(Qe), W(zt || []), P(!1), ue(zt ? K(K({}, $), {}, fr({}, Qe, zt)) : $));
|
|
12879
12879
|
});
|
|
12880
12880
|
}
|
|
12881
|
-
}, [i, et, F,
|
|
12881
|
+
}, [i, et, F, $, a]), Mt = ce ? [] : y && F ? Z : f || [];
|
|
12882
12882
|
return K(K({}, b), {}, {
|
|
12883
12883
|
options: Mt,
|
|
12884
12884
|
isLoading: _ || c,
|
|
@@ -12944,7 +12944,7 @@ function C5(e) {
|
|
|
12944
12944
|
);
|
|
12945
12945
|
}
|
|
12946
12946
|
function I5(e) {
|
|
12947
|
-
const [t, n] = Y(!1), r =
|
|
12947
|
+
const [t, n] = Y(!1), r = Le(null);
|
|
12948
12948
|
ge(() => {
|
|
12949
12949
|
t && r.current && r.current.focus();
|
|
12950
12950
|
}, [t]);
|
|
@@ -13105,7 +13105,7 @@ const Io = (e) => {
|
|
|
13105
13105
|
);
|
|
13106
13106
|
}
|
|
13107
13107
|
};
|
|
13108
|
-
return /* @__PURE__ */ E.jsxs(
|
|
13108
|
+
return /* @__PURE__ */ E.jsxs(Q, { spacing: p, useFlexGap: !0, children: [
|
|
13109
13109
|
i ? /* @__PURE__ */ E.jsxs(
|
|
13110
13110
|
fe,
|
|
13111
13111
|
{
|
|
@@ -13126,7 +13126,7 @@ const Io = (e) => {
|
|
|
13126
13126
|
A()
|
|
13127
13127
|
] })
|
|
13128
13128
|
] });
|
|
13129
|
-
}, E5 = N(
|
|
13129
|
+
}, E5 = N(Q)`
|
|
13130
13130
|
& .authform__section-title {
|
|
13131
13131
|
margin-top: 32px;
|
|
13132
13132
|
margin-bottom: -12px;
|
|
@@ -13152,7 +13152,7 @@ const Io = (e) => {
|
|
|
13152
13152
|
};
|
|
13153
13153
|
return /* @__PURE__ */ E.jsx(E5, { spacing: l, children: e.map(({ id: h, title: d, formFields: f }) => f.every((g) => g.hideInUI) ? null : /* @__PURE__ */ E.jsxs(Ie.Fragment, { children: [
|
|
13154
13154
|
d && f.length ? /* @__PURE__ */ E.jsx(fe, { variant: "h3", className: "authform__section-title", children: d }) : null,
|
|
13155
|
-
/* @__PURE__ */ E.jsx(
|
|
13155
|
+
/* @__PURE__ */ E.jsx(Q, { useFlexGap: !0, spacing: u, children: f.map((g) => {
|
|
13156
13156
|
var I, y;
|
|
13157
13157
|
return o && typeof o == "object" && g.name in o && o[g.name] === !1 || g.hideInUI ? null : /* @__PURE__ */ E.jsx(
|
|
13158
13158
|
Io,
|
|
@@ -13173,7 +13173,7 @@ const Io = (e) => {
|
|
|
13173
13173
|
);
|
|
13174
13174
|
}) })
|
|
13175
13175
|
] }, h)) });
|
|
13176
|
-
}, x5 = N(
|
|
13176
|
+
}, x5 = N(Oe)`
|
|
13177
13177
|
width: 100%;
|
|
13178
13178
|
aspect-ratio: ${({ aspectRatio: e }) => e};
|
|
13179
13179
|
border-radius: 8px;
|
|
@@ -13249,7 +13249,7 @@ const Io = (e) => {
|
|
|
13249
13249
|
const { availableFeatures: e } = Ye(Je), t = dt(e, Po);
|
|
13250
13250
|
return /* @__PURE__ */ E.jsxs(Ed, { children: [
|
|
13251
13251
|
/* @__PURE__ */ E.jsxs(
|
|
13252
|
-
|
|
13252
|
+
Q,
|
|
13253
13253
|
{
|
|
13254
13254
|
direction: "row",
|
|
13255
13255
|
boxSizing: "content-box",
|
|
@@ -13264,14 +13264,14 @@ const Io = (e) => {
|
|
|
13264
13264
|
]
|
|
13265
13265
|
}
|
|
13266
13266
|
),
|
|
13267
|
-
/* @__PURE__ */ E.jsxs(
|
|
13267
|
+
/* @__PURE__ */ E.jsxs(Q, { gap: "12px", children: [
|
|
13268
13268
|
/* @__PURE__ */ E.jsx(Jn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" }),
|
|
13269
13269
|
/* @__PURE__ */ E.jsx(Jn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" }),
|
|
13270
13270
|
/* @__PURE__ */ E.jsx(Jn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" })
|
|
13271
13271
|
] })
|
|
13272
13272
|
] });
|
|
13273
13273
|
}, R5 = () => {
|
|
13274
|
-
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Ye(Je), [i, o] = Y(!1), s =
|
|
13274
|
+
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Ye(Je), [i, o] = Y(!1), s = Le(null), [c, a] = Y(0), { templateUpdates: l } = e || {}, { sections: u = [], actionButtons: b = [], title: v } = l || {}, { version: C = "" } = l || {}, p = Dg(C), h = Ge(
|
|
13275
13275
|
() => Fg(C),
|
|
13276
13276
|
[C]
|
|
13277
13277
|
), d = Ge(() => (b == null ? void 0 : b.filter(({ isAdminPanelLink: I }) => !(!n && I))) ?? [], [b, n]);
|
|
@@ -13299,7 +13299,7 @@ const Io = (e) => {
|
|
|
13299
13299
|
return /* @__PURE__ */ E.jsxs(K2, { children: [
|
|
13300
13300
|
/* @__PURE__ */ E.jsxs(em, { children: [
|
|
13301
13301
|
/* @__PURE__ */ E.jsx(q2, { variant: "h3", children: v }),
|
|
13302
|
-
/* @__PURE__ */ E.jsxs(
|
|
13302
|
+
/* @__PURE__ */ E.jsxs(Oe, { children: [
|
|
13303
13303
|
i ? /* @__PURE__ */ E.jsx(We, { title: Eg, placement: "bottom", children: /* @__PURE__ */ E.jsx(hn, { onClick: g, children: /* @__PURE__ */ E.jsx(Pt.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
|
|
13304
13304
|
/* @__PURE__ */ E.jsx(We, { title: i ? Ig : Na, placement: "bottom", children: /* @__PURE__ */ E.jsx(jn, { onClick: f, children: /* @__PURE__ */ E.jsx(Ba, { className: i ? "" : "hiver-up" }) }) })
|
|
13305
13305
|
] })
|
|
@@ -13334,11 +13334,11 @@ const Io = (e) => {
|
|
|
13334
13334
|
] }) }, L);
|
|
13335
13335
|
})
|
|
13336
13336
|
] }, I)),
|
|
13337
|
-
/* @__PURE__ */ E.jsx(
|
|
13337
|
+
/* @__PURE__ */ E.jsx(Q, { flexDirection: "row", gap: "8px", marginBottom: "11.5px", children: d.map(({ text: I, link: y, isAdminPanelLink: x }) => /* @__PURE__ */ E.jsx(om, { variant: x ? "contained" : "text", children: /* @__PURE__ */ E.jsx(sm, { variant: "caption", onClick: (w) => m(w, y, x, !0), children: I }) }, I)) })
|
|
13338
13338
|
] }) })
|
|
13339
13339
|
] });
|
|
13340
13340
|
}, O5 = "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", c0 = (e) => {
|
|
13341
|
-
const t =
|
|
13341
|
+
const t = Le(null), [n, r] = Y(!1);
|
|
13342
13342
|
return ge(() => {
|
|
13343
13343
|
t.current && r(t.current.scrollWidth > t.current.clientWidth);
|
|
13344
13344
|
}, [e]), { textRef: t, isOverflow: n };
|
|
@@ -13350,7 +13350,7 @@ const Io = (e) => {
|
|
|
13350
13350
|
e.children
|
|
13351
13351
|
] }), D5 = (e) => {
|
|
13352
13352
|
const { isSelected: t } = e, { textRef: n, isOverflow: r } = c0(e.data.label);
|
|
13353
|
-
return /* @__PURE__ */ E.jsx(mn.Option, { ...e, children: /* @__PURE__ */ E.jsxs(
|
|
13353
|
+
return /* @__PURE__ */ E.jsx(mn.Option, { ...e, children: /* @__PURE__ */ E.jsxs(Q, { direction: "row", gap: "5px", justifyContent: "space-between", alignItems: "center", children: [
|
|
13354
13354
|
/* @__PURE__ */ E.jsx(We, { title: r ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ E.jsx(dm, { ref: n, className: "dropdown-item-text", variant: "body2", children: e.data.label }) }),
|
|
13355
13355
|
t ? /* @__PURE__ */ E.jsx("img", { src: O5, width: "14px", height: "14px" }) : null
|
|
13356
13356
|
] }) });
|
|
@@ -13442,7 +13442,7 @@ const Io = (e) => {
|
|
|
13442
13442
|
`, B5 = N("img")`
|
|
13443
13443
|
height: 16px;
|
|
13444
13444
|
width: 16px;
|
|
13445
|
-
`, G5 = N(
|
|
13445
|
+
`, G5 = N(Oe)`
|
|
13446
13446
|
margin-top: 12px;
|
|
13447
13447
|
height: 100%;
|
|
13448
13448
|
`, j5 = "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_4735_44625)'%3e%3cpath%20d='M7.9987%2013.334L8.9387%2012.394L5.2187%208.66732H13.332V7.33398L5.2187%207.33398L8.9387%203.60732L7.9987%202.66732L2.66537%208.00065L7.9987%2013.334Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4735_44625'%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", Es = ({
|
|
@@ -13461,7 +13461,7 @@ const Io = (e) => {
|
|
|
13461
13461
|
n(!1);
|
|
13462
13462
|
}, [n]), t && a && c.current && Ia(
|
|
13463
13463
|
/* @__PURE__ */ E.jsxs(M5, { className: "layover-paper", elevation: 0, children: [
|
|
13464
|
-
/* @__PURE__ */ E.jsxs(
|
|
13464
|
+
/* @__PURE__ */ E.jsxs(Q, { direction: "row", alignItems: "center", marginLeft: "-8px", children: [
|
|
13465
13465
|
/* @__PURE__ */ E.jsx(We, { title: o, placement: "bottom", children: /* @__PURE__ */ E.jsx(hn, { onClick: r, children: /* @__PURE__ */ E.jsx(B5, { src: j5 }) }) }),
|
|
13466
13466
|
/* @__PURE__ */ E.jsx(fe, { children: i })
|
|
13467
13467
|
] }),
|
|
@@ -13469,11 +13469,11 @@ const Io = (e) => {
|
|
|
13469
13469
|
] }),
|
|
13470
13470
|
c.current
|
|
13471
13471
|
);
|
|
13472
|
-
}, l0 = (e) => e.common.previewCardData, u0 = (e) => e.common.previewCardApiStatus, V5 = (e) => e.common.selectedSuggestionType, H5 = N(
|
|
13472
|
+
}, l0 = (e) => e.common.previewCardData, u0 = (e) => e.common.previewCardApiStatus, V5 = (e) => e.common.selectedSuggestionType, H5 = N(Q)`
|
|
13473
13473
|
width: 100%;
|
|
13474
13474
|
border-radius: 8px;
|
|
13475
13475
|
border: 1px solid ${U.palette.gray.gray5};
|
|
13476
|
-
`, W5 = N(
|
|
13476
|
+
`, W5 = N(Q)`
|
|
13477
13477
|
padding: 11px;
|
|
13478
13478
|
height: 46px;
|
|
13479
13479
|
background: ${U.palette.gray.gray6};
|
|
@@ -13492,7 +13492,7 @@ const Io = (e) => {
|
|
|
13492
13492
|
margin-top: 10px;
|
|
13493
13493
|
display: block;
|
|
13494
13494
|
`, d0 = ({ cardData: e, cardDataApiStatus: t, objectToLink: n, args: r }) => {
|
|
13495
|
-
const i = Ut(), [o, s] = Y(!1), [c, a] = Y(!0), { id: l = "", cardTitle: u = "" } = e || {}, b = t ===
|
|
13495
|
+
const i = Ut(), [o, s] = Y(!1), [c, a] = Y(!0), { id: l = "", cardTitle: u = "" } = e || {}, b = t === J.LOADING, v = (p) => {
|
|
13496
13496
|
p.stopPropagation();
|
|
13497
13497
|
const h = p.currentTarget.offsetWidth < p.currentTarget.scrollWidth;
|
|
13498
13498
|
s(!!h);
|
|
@@ -13505,7 +13505,7 @@ const Io = (e) => {
|
|
|
13505
13505
|
return /* @__PURE__ */ E.jsxs(H5, { children: [
|
|
13506
13506
|
/* @__PURE__ */ E.jsxs(W5, { direction: "row", justifyContent: "space-between", children: [
|
|
13507
13507
|
b ? /* @__PURE__ */ E.jsx(Jn, { width: "100px", height: "24px" }) : /* @__PURE__ */ E.jsx(We, { title: o ? u : "", children: /* @__PURE__ */ E.jsx(fe, { variant: "h4", onMouseOver: (p) => v(p), onMouseLeave: (p) => v(p), children: u }) }),
|
|
13508
|
-
/* @__PURE__ */ E.jsxs(
|
|
13508
|
+
/* @__PURE__ */ E.jsxs(Q, { direction: "row", alignItems: "center", children: [
|
|
13509
13509
|
c ? /* @__PURE__ */ E.jsx(We, { title: sd, placement: "bottom", children: /* @__PURE__ */ E.jsx(jn, { onClick: (p) => C(p), children: /* @__PURE__ */ E.jsx("img", { src: lf }) }) }) : null,
|
|
13510
13510
|
/* @__PURE__ */ E.jsx(We, { title: c ? ad : Na, placement: "bottom", children: /* @__PURE__ */ E.jsx(jn, { onClick: () => a((p) => !p), children: /* @__PURE__ */ E.jsx(Ba, { className: c ? "" : "hiver-up" }) }) })
|
|
13511
13511
|
] })
|
|
@@ -13521,7 +13521,7 @@ const Io = (e) => {
|
|
|
13521
13521
|
}
|
|
13522
13522
|
)
|
|
13523
13523
|
] });
|
|
13524
|
-
}, f0 = N(
|
|
13524
|
+
}, f0 = N(Oe)`
|
|
13525
13525
|
height: 52px;
|
|
13526
13526
|
background-color: #fff;
|
|
13527
13527
|
position: sticky;
|
|
@@ -13531,7 +13531,7 @@ const Io = (e) => {
|
|
|
13531
13531
|
padding: 12px;
|
|
13532
13532
|
display: flex;
|
|
13533
13533
|
justify-content: flex-end;
|
|
13534
|
-
`, h0 = N(
|
|
13534
|
+
`, h0 = N(Q)`
|
|
13535
13535
|
margin-bottom: 25px;
|
|
13536
13536
|
padding-right: 12px;
|
|
13537
13537
|
flex-grow: 1;
|
|
@@ -13540,7 +13540,7 @@ const Io = (e) => {
|
|
|
13540
13540
|
position: relative;
|
|
13541
13541
|
top: -5px;
|
|
13542
13542
|
}
|
|
13543
|
-
`, p0 = N(
|
|
13543
|
+
`, p0 = N(Q)`
|
|
13544
13544
|
height: calc(100% - 44px);
|
|
13545
13545
|
overflow: auto;
|
|
13546
13546
|
&::-webkit-scrollbar {
|
|
@@ -13567,7 +13567,7 @@ const Io = (e) => {
|
|
|
13567
13567
|
}, [s]);
|
|
13568
13568
|
const f = {
|
|
13569
13569
|
externalResourceId: b
|
|
13570
|
-
}, m = i ===
|
|
13570
|
+
}, m = i === J.LOADING, g = o === J.LOADING, I = () => {
|
|
13571
13571
|
!c && l && "value" in l && (d(Qg, { object_type: l.label }), n(pr({ id: String(l == null ? void 0 : l.value), args: f })).unwrap().catch((O) => {
|
|
13572
13572
|
(O == null ? void 0 : O.status) === 400 ? He({ message: ul, type: xt }) : He({ message: Pv, type: xt });
|
|
13573
13573
|
})), a((O) => !O);
|
|
@@ -13723,7 +13723,7 @@ const Io = (e) => {
|
|
|
13723
13723
|
}, b0 = () => oh(U5, m0), v0 = ({ state: e, dispatch: t, validations: n }) => {
|
|
13724
13724
|
const r = e.errors, i = (u, b) => {
|
|
13725
13725
|
t({ type: en.SET_FIELD_VALUE, payload: { value: { value: b, name: u } } });
|
|
13726
|
-
}, o =
|
|
13726
|
+
}, o = Fe(() => Object.keys(r).filter((b) => !!r[b]).length > 0, [r]), s = (u) => {
|
|
13727
13727
|
u.stopPropagation();
|
|
13728
13728
|
const { name: b, value: v } = (u == null ? void 0 : u.target) || {};
|
|
13729
13729
|
i(b, v);
|
|
@@ -13784,11 +13784,11 @@ const Io = (e) => {
|
|
|
13784
13784
|
},
|
|
13785
13785
|
{}
|
|
13786
13786
|
) : null, [e, t, n, r]) };
|
|
13787
|
-
}, C0 = ({ setShown: e, shown: t, title: n, description: r, buttons: i }) => /* @__PURE__ */ E.jsx(Za, { shown: t, setShown: e, showCloseButton: !0, children: /* @__PURE__ */ E.jsxs(
|
|
13787
|
+
}, C0 = ({ setShown: e, shown: t, title: n, description: r, buttons: i }) => /* @__PURE__ */ E.jsx(Za, { shown: t, setShown: e, showCloseButton: !0, children: /* @__PURE__ */ E.jsxs(Q, { width: "400px", padding: "20px", children: [
|
|
13788
13788
|
/* @__PURE__ */ E.jsx(fe, { variant: "h2", marginBottom: "8px", children: n }),
|
|
13789
|
-
/* @__PURE__ */ E.jsx(
|
|
13789
|
+
/* @__PURE__ */ E.jsx(Q, { gap: "4px", marginBottom: "20px", children: r.split(`
|
|
13790
13790
|
`).map((o, s) => /* @__PURE__ */ E.jsx(fe, { variant: "body2", children: o }, s)) }),
|
|
13791
|
-
/* @__PURE__ */ E.jsx(
|
|
13791
|
+
/* @__PURE__ */ E.jsx(Q, { direction: "row", justifyContent: "flex-end", gap: "8px", children: i.map((o) => /* @__PURE__ */ E.jsx(
|
|
13792
13792
|
yt,
|
|
13793
13793
|
{
|
|
13794
13794
|
variant: o.variant,
|
|
@@ -13800,7 +13800,7 @@ const Io = (e) => {
|
|
|
13800
13800
|
)) })
|
|
13801
13801
|
] }) }), Ql = ({ isEdit: e = !1, onClose: t, onCreateSuccess: n, metaData: r, setMetaData: i }) => {
|
|
13802
13802
|
var ve;
|
|
13803
|
-
const [o, s] = Y(null), [c, a] = Y(!1), l =
|
|
13803
|
+
const [o, s] = Y(null), [c, a] = Y(!1), l = Le(null), [u, b] = b0(), v = Ce(ff), C = Ce(e ? Ey : uf), p = Ce(wy), h = Ce(xy), d = Ce(_y), f = Ce(Sy), m = Ce(Ry), g = Ce(Oy), I = Ce(Ly), y = Ce(hf), x = Ge(() => o && "value" in o && p && p[o.value] && Array.isArray(p[o.value]) ? [
|
|
13804
13804
|
{
|
|
13805
13805
|
id: o.value,
|
|
13806
13806
|
formFields: p[o.value]
|
|
@@ -13820,7 +13820,7 @@ const Io = (e) => {
|
|
|
13820
13820
|
clearDependentFields: D,
|
|
13821
13821
|
handleValidationError: F,
|
|
13822
13822
|
isErrorInValidations: B
|
|
13823
|
-
} = v0({ state: u, dispatch: b, validations: w }), { conversationId: X, sendTrackingEvent: H, currentSmIds: Z } = Ye(Je), { userGroupId: W } = Gr() || {},
|
|
13823
|
+
} = v0({ state: u, dispatch: b, validations: w }), { conversationId: X, sendTrackingEvent: H, currentSmIds: Z } = Ye(Je), { userGroupId: W } = Gr() || {}, q = (ve = v == null ? void 0 : v.forms.find((ie) => ie.type === "edit")) == null ? void 0 : ve.id, { externalResourceId: ae } = v ?? {}, ce = [f, m, I].includes(J.LOADING), P = Ut();
|
|
13824
13824
|
ge(() => {
|
|
13825
13825
|
P(
|
|
13826
13826
|
dl(
|
|
@@ -13837,8 +13837,8 @@ const Io = (e) => {
|
|
|
13837
13837
|
i((he) => ({ ...he, fields_filled: ie }));
|
|
13838
13838
|
}
|
|
13839
13839
|
}, [u, i]), ge(() => {
|
|
13840
|
-
C && C.length && s(e &&
|
|
13841
|
-
}, [C, e,
|
|
13840
|
+
C && C.length && s(e && q ? C.find((ie) => ie.value === q) ?? null : C[0]);
|
|
13841
|
+
}, [C, e, q]);
|
|
13842
13842
|
const z = () => {
|
|
13843
13843
|
s(l.current), a(!1), b({ type: en.RESET_STATE });
|
|
13844
13844
|
}, ee = (ie, he, Ze) => {
|
|
@@ -13851,8 +13851,8 @@ const Io = (e) => {
|
|
|
13851
13851
|
const Ke = G ? [{ value: ie.value, label: ie.label }] : { value: ie.value, label: ie.label };
|
|
13852
13852
|
_(he.name, Ke), o != null && o.value && D(he.name, d == null ? void 0 : d[o.value]);
|
|
13853
13853
|
}
|
|
13854
|
-
},
|
|
13855
|
-
if (!B() &&
|
|
13854
|
+
}, $ = () => {
|
|
13855
|
+
if (!B() && q && (h != null && h[q]) && X && ae) {
|
|
13856
13856
|
const { connectorName: ie, title: he } = v;
|
|
13857
13857
|
H(i2, {
|
|
13858
13858
|
connector_name: ie,
|
|
@@ -13860,13 +13860,13 @@ const Io = (e) => {
|
|
|
13860
13860
|
sm_ids: Z,
|
|
13861
13861
|
ug_id: W
|
|
13862
13862
|
});
|
|
13863
|
-
const Ze = h[
|
|
13863
|
+
const Ze = h[q].interfaceDetails;
|
|
13864
13864
|
if (!Ze || !g)
|
|
13865
13865
|
return;
|
|
13866
13866
|
const { id: G, args: Ke = {}, previousArgs: st = {} } = Ze, et = Xi(g, st), Ft = Xi(u, Ke);
|
|
13867
13867
|
P(
|
|
13868
13868
|
Yi({
|
|
13869
|
-
formId: String(
|
|
13869
|
+
formId: String(q),
|
|
13870
13870
|
conversationId: X,
|
|
13871
13871
|
args: Ft,
|
|
13872
13872
|
previousArgs: et,
|
|
@@ -13949,7 +13949,7 @@ const Io = (e) => {
|
|
|
13949
13949
|
/* @__PURE__ */ E.jsx(
|
|
13950
13950
|
a0,
|
|
13951
13951
|
{
|
|
13952
|
-
showGlobalLoader: I ===
|
|
13952
|
+
showGlobalLoader: I === J.LOADING,
|
|
13953
13953
|
formConfig: x,
|
|
13954
13954
|
selectChangeHandler: ee,
|
|
13955
13955
|
inputChangeHandler: L,
|
|
@@ -13968,7 +13968,7 @@ const Io = (e) => {
|
|
|
13968
13968
|
yt,
|
|
13969
13969
|
{
|
|
13970
13970
|
disabled: B() || ce || !y,
|
|
13971
|
-
onClick: e ?
|
|
13971
|
+
onClick: e ? $ : ue,
|
|
13972
13972
|
size: "small",
|
|
13973
13973
|
children: e ? wg : xg
|
|
13974
13974
|
}
|
|
@@ -14004,9 +14004,9 @@ const Io = (e) => {
|
|
|
14004
14004
|
onLinkClick: t,
|
|
14005
14005
|
haveCreateObjects: n,
|
|
14006
14006
|
haveLinkObjects: r
|
|
14007
|
-
}) => /* @__PURE__ */ E.jsxs(
|
|
14007
|
+
}) => /* @__PURE__ */ E.jsxs(Q, { gap: 2, marginTop: "12px", children: [
|
|
14008
14008
|
/* @__PURE__ */ E.jsx(fe, { variant: "body2", color: U.palette.gray.gray1, children: Hv }),
|
|
14009
|
-
/* @__PURE__ */ E.jsxs(
|
|
14009
|
+
/* @__PURE__ */ E.jsxs(Q, { gap: "12px", children: [
|
|
14010
14010
|
n ? /* @__PURE__ */ E.jsxs(Y5, { fullWidth: !0, onClick: e, size: "medium", children: [
|
|
14011
14011
|
/* @__PURE__ */ E.jsx($5, {}),
|
|
14012
14012
|
/* @__PURE__ */ E.jsx("span", { className: "content__btn", children: fd })
|
|
@@ -14016,7 +14016,7 @@ const Io = (e) => {
|
|
|
14016
14016
|
/* @__PURE__ */ E.jsx("span", { className: "content__btn", children: hd })
|
|
14017
14017
|
] }) : null
|
|
14018
14018
|
] })
|
|
14019
|
-
] }), q5 = (e) => e.write.searchObjectList, I0 = (e) => e.write.objectDict, K5 = (e) => e.write.formFields, ex = (e) => e.write.dependentFieldsMap, tx = "Search in Connectors", nx = "Search in Apps", rx = "Start typing to search..", ix = "Smart search suggestions", ox = ":count result:countSuffix found for :searchObject in :connectorName", sx = "Back to search results", ax = "No search results found", cx = (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" }))), lx = N(
|
|
14019
|
+
] }), q5 = (e) => e.write.searchObjectList, I0 = (e) => e.write.objectDict, K5 = (e) => e.write.formFields, ex = (e) => e.write.dependentFieldsMap, tx = "Search in Connectors", nx = "Search in Apps", rx = "Start typing to search..", ix = "Smart search suggestions", ox = ":count result:countSuffix found for :searchObject in :connectorName", sx = "Back to search results", ax = "No search results found", cx = (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" }))), lx = N(Q)`
|
|
14020
14020
|
flex-flow: row nowrap;
|
|
14021
14021
|
align-items: center;
|
|
14022
14022
|
column-gap: 12px;
|
|
@@ -14048,12 +14048,12 @@ const Io = (e) => {
|
|
|
14048
14048
|
};
|
|
14049
14049
|
return /* @__PURE__ */ E.jsxs(lx, { isSelected: n, onClick: b, children: [
|
|
14050
14050
|
/* @__PURE__ */ E.jsx(ux, { src: l, alt: "option" }),
|
|
14051
|
-
/* @__PURE__ */ E.jsxs(
|
|
14051
|
+
/* @__PURE__ */ E.jsxs(Q, { children: [
|
|
14052
14052
|
/* @__PURE__ */ E.jsx(fe, { color: U.palette.gray.gray1, children: c }),
|
|
14053
14053
|
/* @__PURE__ */ E.jsx(fe, { color: U.palette.gray.gray3, fontSize: "12px", children: a })
|
|
14054
14054
|
] })
|
|
14055
14055
|
] });
|
|
14056
|
-
}, dx = N(
|
|
14056
|
+
}, dx = N(Q)`
|
|
14057
14057
|
padding: 10px 0 10px 10px;
|
|
14058
14058
|
`, { Control: fx } = mn, hx = ({ children: e, ...t }) => /* @__PURE__ */ E.jsxs(fx, { ...t, children: [
|
|
14059
14059
|
/* @__PURE__ */ E.jsx(dx, { children: /* @__PURE__ */ E.jsx(cx, {}) }),
|
|
@@ -14139,11 +14139,11 @@ const Io = (e) => {
|
|
|
14139
14139
|
...typeof a == "boolean" && { menuIsOpen: a }
|
|
14140
14140
|
}
|
|
14141
14141
|
);
|
|
14142
|
-
}, bx = N(
|
|
14142
|
+
}, bx = N(Q)`
|
|
14143
14143
|
margin: ${({ isEmpty: e }) => e ? "0" : "12px 0"};
|
|
14144
14144
|
`, vx = ({ objectId: e, searchString: t, fetchSearchResults: n }) => {
|
|
14145
14145
|
var I;
|
|
14146
|
-
const [r, i] = b0(), o =
|
|
14146
|
+
const [r, i] = b0(), o = Le(null), s = Ce(I0), c = Ce(K5), a = Ce(ex), l = Ge(() => e && c && c[e] && Array.isArray(c[e]) ? {
|
|
14147
14147
|
id: e,
|
|
14148
14148
|
formFields: c[e]
|
|
14149
14149
|
} : { id: "emptyFormId", formFields: [] }, [c, e]), u = Ge(() => {
|
|
@@ -14160,7 +14160,7 @@ const Io = (e) => {
|
|
|
14160
14160
|
formState: r,
|
|
14161
14161
|
formFields: l.formFields,
|
|
14162
14162
|
formId: l.id
|
|
14163
|
-
}), m =
|
|
14163
|
+
}), m = Fe(
|
|
14164
14164
|
(y) => {
|
|
14165
14165
|
o.current && clearTimeout(o.current), o.current = setTimeout(() => {
|
|
14166
14166
|
n(y);
|
|
@@ -14278,7 +14278,7 @@ const Ex = {
|
|
|
14278
14278
|
const i = ws.getItem(xs) ?? {};
|
|
14279
14279
|
i[r] || (i[r] = 0), i[r]++, ws.setItem(xs, i);
|
|
14280
14280
|
}
|
|
14281
|
-
}), _x = N(
|
|
14281
|
+
}), _x = N(Q)`
|
|
14282
14282
|
padding: 8px 0;
|
|
14283
14283
|
`, Sx = N(fe)`
|
|
14284
14284
|
padding: 6px 16px;
|
|
@@ -15641,10 +15641,10 @@ var Me, xn, wn, xr, wr, An, Ar, Tr, pu, Xx = (pu = class {
|
|
|
15641
15641
|
clear() {
|
|
15642
15642
|
S(this, Me).clear(), S(this, xn).clear();
|
|
15643
15643
|
}
|
|
15644
|
-
}, Me = new WeakMap(), xn = new WeakMap(), wn = new WeakMap(), xr = new WeakMap(), wr = new WeakMap(), An = new WeakMap(), Ar = new WeakMap(), Tr = new WeakMap(), pu), ht, me, mi, lt, Un, _r, Tn, Qt, bi, Sr, Rr, zn, Yn, _n, Or,
|
|
15644
|
+
}, Me = new WeakMap(), xn = new WeakMap(), wn = new WeakMap(), xr = new WeakMap(), wr = new WeakMap(), An = new WeakMap(), Ar = new WeakMap(), Tr = new WeakMap(), pu), ht, me, mi, lt, Un, _r, Tn, Qt, bi, Sr, Rr, zn, Yn, _n, Or, Re, ei, ua, da, fa, ha, pa, ga, ma, L0, gu, Ux = (gu = class extends Vr {
|
|
15645
15645
|
constructor(t, n) {
|
|
15646
15646
|
super();
|
|
15647
|
-
te(this,
|
|
15647
|
+
te(this, Re);
|
|
15648
15648
|
te(this, ht);
|
|
15649
15649
|
te(this, me);
|
|
15650
15650
|
te(this, mi);
|
|
@@ -15670,7 +15670,7 @@ var Me, xn, wn, xr, wr, An, Ar, Tr, pu, Xx = (pu = class {
|
|
|
15670
15670
|
this.refetch = this.refetch.bind(this);
|
|
15671
15671
|
}
|
|
15672
15672
|
onSubscribe() {
|
|
15673
|
-
this.listeners.size === 1 && (S(this, me).addObserver(this), iu(S(this, me), this.options) ? de(this,
|
|
15673
|
+
this.listeners.size === 1 && (S(this, me).addObserver(this), iu(S(this, me), this.options) ? de(this, Re, ei).call(this) : this.updateResult(), de(this, Re, ha).call(this));
|
|
15674
15674
|
}
|
|
15675
15675
|
onUnsubscribe() {
|
|
15676
15676
|
this.hasListeners() || this.destroy();
|
|
@@ -15690,7 +15690,7 @@ var Me, xn, wn, xr, wr, An, Ar, Tr, pu, Xx = (pu = class {
|
|
|
15690
15690
|
);
|
|
15691
15691
|
}
|
|
15692
15692
|
destroy() {
|
|
15693
|
-
this.listeners = /* @__PURE__ */ new Set(), de(this,
|
|
15693
|
+
this.listeners = /* @__PURE__ */ new Set(), de(this, Re, pa).call(this), de(this, Re, ga).call(this), S(this, me).removeObserver(this);
|
|
15694
15694
|
}
|
|
15695
15695
|
setOptions(t, n) {
|
|
15696
15696
|
const r = this.options, i = S(this, me);
|
|
@@ -15698,7 +15698,7 @@ var Me, xn, wn, xr, wr, An, Ar, Tr, pu, Xx = (pu = class {
|
|
|
15698
15698
|
throw new Error(
|
|
15699
15699
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
15700
15700
|
);
|
|
15701
|
-
de(this,
|
|
15701
|
+
de(this, Re, ma).call(this), S(this, me).setOptions(this.options), r._defaulted && !Eo(this.options, r) && S(this, ht).getQueryCache().notify({
|
|
15702
15702
|
type: "observerOptionsUpdated",
|
|
15703
15703
|
query: S(this, me),
|
|
15704
15704
|
observer: this
|
|
@@ -15709,9 +15709,9 @@ var Me, xn, wn, xr, wr, An, Ar, Tr, pu, Xx = (pu = class {
|
|
|
15709
15709
|
i,
|
|
15710
15710
|
this.options,
|
|
15711
15711
|
r
|
|
15712
|
-
) && de(this,
|
|
15713
|
-
const s = de(this,
|
|
15714
|
-
o && (S(this, me) !== i || Wt(this.options.enabled, S(this, me)) !== Wt(r.enabled, S(this, me)) || s !== S(this, _n)) && de(this,
|
|
15712
|
+
) && de(this, Re, ei).call(this), this.updateResult(n), o && (S(this, me) !== i || Wt(this.options.enabled, S(this, me)) !== Wt(r.enabled, S(this, me)) || br(this.options.staleTime, S(this, me)) !== br(r.staleTime, S(this, me))) && de(this, Re, ua).call(this);
|
|
15713
|
+
const s = de(this, Re, da).call(this);
|
|
15714
|
+
o && (S(this, me) !== i || Wt(this.options.enabled, S(this, me)) !== Wt(r.enabled, S(this, me)) || s !== S(this, _n)) && de(this, Re, fa).call(this, s);
|
|
15715
15715
|
}
|
|
15716
15716
|
getOptimisticResult(t) {
|
|
15717
15717
|
const n = S(this, ht).getQueryCache().build(S(this, ht), t), r = this.createResult(n, t);
|
|
@@ -15746,7 +15746,7 @@ var Me, xn, wn, xr, wr, An, Ar, Tr, pu, Xx = (pu = class {
|
|
|
15746
15746
|
return r.fetch().then(() => this.createResult(r, n));
|
|
15747
15747
|
}
|
|
15748
15748
|
fetch(t) {
|
|
15749
|
-
return de(this,
|
|
15749
|
+
return de(this, Re, ei).call(this, {
|
|
15750
15750
|
...t,
|
|
15751
15751
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
15752
15752
|
}).then(() => (this.updateResult(), S(this, lt)));
|
|
@@ -15861,20 +15861,20 @@ var Me, xn, wn, xr, wr, An, Ar, Tr, pu, Xx = (pu = class {
|
|
|
15861
15861
|
return S(this, lt)[u] !== n[u] && a.has(u);
|
|
15862
15862
|
});
|
|
15863
15863
|
};
|
|
15864
|
-
(t == null ? void 0 : t.listeners) !== !1 && o() && (i.listeners = !0), de(this,
|
|
15864
|
+
(t == null ? void 0 : t.listeners) !== !1 && o() && (i.listeners = !0), de(this, Re, L0).call(this, { ...i, ...t });
|
|
15865
15865
|
}
|
|
15866
15866
|
onQueryUpdate() {
|
|
15867
|
-
this.updateResult(), this.hasListeners() && de(this,
|
|
15867
|
+
this.updateResult(), this.hasListeners() && de(this, Re, ha).call(this);
|
|
15868
15868
|
}
|
|
15869
|
-
}, ht = new WeakMap(), me = new WeakMap(), mi = new WeakMap(), lt = new WeakMap(), Un = new WeakMap(), _r = new WeakMap(), Tn = new WeakMap(), Qt = new WeakMap(), bi = new WeakMap(), Sr = new WeakMap(), Rr = new WeakMap(), zn = new WeakMap(), Yn = new WeakMap(), _n = new WeakMap(), Or = new WeakMap(),
|
|
15870
|
-
de(this,
|
|
15869
|
+
}, ht = new WeakMap(), me = new WeakMap(), mi = new WeakMap(), lt = new WeakMap(), Un = new WeakMap(), _r = new WeakMap(), Tn = new WeakMap(), Qt = new WeakMap(), bi = new WeakMap(), Sr = new WeakMap(), Rr = new WeakMap(), zn = new WeakMap(), Yn = new WeakMap(), _n = new WeakMap(), Or = new WeakMap(), Re = new WeakSet(), ei = function(t) {
|
|
15870
|
+
de(this, Re, ma).call(this);
|
|
15871
15871
|
let n = S(this, me).fetch(
|
|
15872
15872
|
this.options,
|
|
15873
15873
|
t
|
|
15874
15874
|
);
|
|
15875
15875
|
return t != null && t.throwOnError || (n = n.catch(kt)), n;
|
|
15876
15876
|
}, ua = function() {
|
|
15877
|
-
de(this,
|
|
15877
|
+
de(this, Re, pa).call(this);
|
|
15878
15878
|
const t = br(
|
|
15879
15879
|
this.options.staleTime,
|
|
15880
15880
|
S(this, me)
|
|
@@ -15888,11 +15888,11 @@ var Me, xn, wn, xr, wr, An, Ar, Tr, pu, Xx = (pu = class {
|
|
|
15888
15888
|
}, da = function() {
|
|
15889
15889
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(S(this, me)) : this.options.refetchInterval) ?? !1;
|
|
15890
15890
|
}, fa = function(t) {
|
|
15891
|
-
de(this,
|
|
15892
|
-
(this.options.refetchIntervalInBackground || ic.isFocused()) && de(this,
|
|
15891
|
+
de(this, Re, ga).call(this), V(this, _n, t), !(rr || Wt(this.options.enabled, S(this, me)) === !1 || !oa(S(this, _n)) || S(this, _n) === 0) && V(this, Yn, setInterval(() => {
|
|
15892
|
+
(this.options.refetchIntervalInBackground || ic.isFocused()) && de(this, Re, ei).call(this);
|
|
15893
15893
|
}, S(this, _n)));
|
|
15894
15894
|
}, ha = function() {
|
|
15895
|
-
de(this,
|
|
15895
|
+
de(this, Re, ua).call(this), de(this, Re, fa).call(this, de(this, Re, da).call(this));
|
|
15896
15896
|
}, pa = function() {
|
|
15897
15897
|
S(this, zn) && (clearTimeout(S(this, zn)), V(this, zn, void 0));
|
|
15898
15898
|
}, ga = function() {
|
|
@@ -16239,7 +16239,7 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16239
16239
|
}).filter((g) => !!g), [C, b]), m = (g) => {
|
|
16240
16240
|
n(g), g && p("" + g.value);
|
|
16241
16241
|
};
|
|
16242
|
-
return f.length ? /* @__PURE__ */ E.jsxs(
|
|
16242
|
+
return f.length ? /* @__PURE__ */ E.jsxs(Q, { children: [
|
|
16243
16243
|
/* @__PURE__ */ E.jsx(
|
|
16244
16244
|
mx,
|
|
16245
16245
|
{
|
|
@@ -16282,7 +16282,7 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16282
16282
|
onError: () => {
|
|
16283
16283
|
He({ message: jb, type: xt });
|
|
16284
16284
|
}
|
|
16285
|
-
}), I4 = "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", E4 = N(
|
|
16285
|
+
}), I4 = "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", E4 = N(Q)`
|
|
16286
16286
|
width: fit-content;
|
|
16287
16287
|
cursor: pointer;
|
|
16288
16288
|
gap: 8px;
|
|
@@ -16299,7 +16299,7 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16299
16299
|
onBack: i,
|
|
16300
16300
|
onLink: o
|
|
16301
16301
|
}) => {
|
|
16302
|
-
const s = Ut(), { conversationId: c, currentSmIds: a, sendTrackingEvent: l } = Ye(Je), u = Ce(l0), b = Ce(u0), { mutate: v, isPending: C } = C4({ onSuccess: o }), p = b ===
|
|
16302
|
+
const s = Ut(), { conversationId: c, currentSmIds: a, sendTrackingEvent: l } = Ye(Je), u = Ce(l0), b = Ce(u0), { mutate: v, isPending: C } = C4({ onSuccess: o }), p = b === J.LOADING, h = {
|
|
16303
16303
|
externalResourceId: e
|
|
16304
16304
|
};
|
|
16305
16305
|
ge(() => {
|
|
@@ -16318,12 +16318,12 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16318
16318
|
conversationId: c
|
|
16319
16319
|
});
|
|
16320
16320
|
};
|
|
16321
|
-
return /* @__PURE__ */ E.jsxs(
|
|
16321
|
+
return /* @__PURE__ */ E.jsxs(Q, { gap: "12px", marginTop: "12px", children: [
|
|
16322
16322
|
/* @__PURE__ */ E.jsxs(E4, { onClick: i, children: [
|
|
16323
16323
|
/* @__PURE__ */ E.jsx("img", { src: I4, width: "16px", height: "16px" }),
|
|
16324
16324
|
/* @__PURE__ */ E.jsx(fe, { children: sx })
|
|
16325
16325
|
] }),
|
|
16326
|
-
/* @__PURE__ */ E.jsxs(
|
|
16326
|
+
/* @__PURE__ */ E.jsxs(Q, { gap: "24px", children: [
|
|
16327
16327
|
/* @__PURE__ */ E.jsx(
|
|
16328
16328
|
d0,
|
|
16329
16329
|
{
|
|
@@ -16333,10 +16333,10 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16333
16333
|
args: h
|
|
16334
16334
|
}
|
|
16335
16335
|
),
|
|
16336
|
-
/* @__PURE__ */ E.jsx(
|
|
16336
|
+
/* @__PURE__ */ E.jsx(Q, { alignItems: "flex-end", children: /* @__PURE__ */ E.jsx(yt, { size: "small", disabled: p || C, onClick: d, children: ld }) })
|
|
16337
16337
|
] })
|
|
16338
16338
|
] });
|
|
16339
|
-
}, j0 = N(
|
|
16339
|
+
}, j0 = N(Q)`
|
|
16340
16340
|
padding: 12px 12px 12px 11px;
|
|
16341
16341
|
border: 1px solid ${U.palette.gray.gray5};
|
|
16342
16342
|
border-radius: 8px;
|
|
@@ -16352,7 +16352,7 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16352
16352
|
}
|
|
16353
16353
|
}
|
|
16354
16354
|
`};
|
|
16355
|
-
`, w4 = "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", A4 = () => /* @__PURE__ */ E.jsxs(Le, { justifyItems: "center", marginTop: "40px", children: [
|
|
16355
|
+
`, w4 = "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", A4 = () => /* @__PURE__ */ E.jsxs(Oe, { justifyItems: "center", marginTop: "40px", children: [
|
|
16356
16356
|
/* @__PURE__ */ E.jsx("img", { src: w4, width: 124, height: 107 }),
|
|
16357
16357
|
/* @__PURE__ */ E.jsx(fe, { variant: "body2", color: U.palette.gray.gray3, children: ax })
|
|
16358
16358
|
] }), T4 = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: r }) => {
|
|
@@ -16378,22 +16378,22 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16378
16378
|
}, v = () => {
|
|
16379
16379
|
n(), r(), b();
|
|
16380
16380
|
};
|
|
16381
|
-
return e.length ? c ? /* @__PURE__ */ E.jsx(x4, { meta: c, onBack: b, onLink: v }) : /* @__PURE__ */ E.jsxs(
|
|
16381
|
+
return e.length ? c ? /* @__PURE__ */ E.jsx(x4, { meta: c, onBack: b, onLink: v }) : /* @__PURE__ */ E.jsxs(Q, { gap: "14px", marginTop: "12px", children: [
|
|
16382
16382
|
/* @__PURE__ */ E.jsx(fe, { variant: "body2", children: l }),
|
|
16383
|
-
/* @__PURE__ */ E.jsx(
|
|
16384
|
-
/* @__PURE__ */ E.jsxs(
|
|
16383
|
+
/* @__PURE__ */ E.jsx(Q, { gap: "17px", children: e == null ? void 0 : e.map(({ externalResourceId: C, name: p, description: h }) => /* @__PURE__ */ E.jsxs(j0, { onClick: () => u(C, p), direction: "row", children: [
|
|
16384
|
+
/* @__PURE__ */ E.jsxs(Q, { flexGrow: 1, children: [
|
|
16385
16385
|
/* @__PURE__ */ E.jsx(fe, { variant: "body2", color: U.palette.gray.gray1, children: p }),
|
|
16386
16386
|
/* @__PURE__ */ E.jsx(fe, { variant: "caption", color: U.palette.gray.gray3, children: h })
|
|
16387
16387
|
] }),
|
|
16388
|
-
/* @__PURE__ */ E.jsx(
|
|
16388
|
+
/* @__PURE__ */ E.jsx(Oe, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ E.jsx("img", { src: v4 }) })
|
|
16389
16389
|
] }, C)) })
|
|
16390
16390
|
] }) : /* @__PURE__ */ E.jsx(A4, {});
|
|
16391
16391
|
}, Ts = N(Ea)`
|
|
16392
16392
|
display: block;
|
|
16393
16393
|
margin: ${(e) => e.margin ? e.margin : 0};
|
|
16394
|
-
`, _4 = () => /* @__PURE__ */ E.jsxs(
|
|
16394
|
+
`, _4 = () => /* @__PURE__ */ E.jsxs(Q, { marginTop: "12px", children: [
|
|
16395
16395
|
/* @__PURE__ */ E.jsx(Ts, { variant: "rounded", width: "50%", height: "16px", animation: "wave", margin: "0 0 18px 0" }),
|
|
16396
|
-
/* @__PURE__ */ E.jsx(
|
|
16396
|
+
/* @__PURE__ */ E.jsx(Q, { gap: "17px", children: /* @__PURE__ */ E.jsxs(j0, { gap: "8px", disableHover: !0, children: [
|
|
16397
16397
|
/* @__PURE__ */ E.jsx(Ts, { variant: "rounded", width: "30%", height: "16px", animation: "wave" }),
|
|
16398
16398
|
/* @__PURE__ */ E.jsx(Ts, { variant: "rounded", width: "70%", height: "16px", animation: "wave" })
|
|
16399
16399
|
] }) })
|
|
@@ -16423,47 +16423,41 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16423
16423
|
t(r, n, i);
|
|
16424
16424
|
}
|
|
16425
16425
|
}), O4 = (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" })), L4 = ({ isAdmin: e = !1 }) => {
|
|
16426
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: i, conversationId: o } = Ye(Je), s = Ut(), { userGroupId: c, userId: a } = Gr() || {}, l =
|
|
16426
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: i, conversationId: o } = Ye(Je), s = Ut(), { userGroupId: c, userId: a } = Gr() || {}, l = Le(!1), u = Le(null), [b, v] = Y(!1), [C, p] = Y(!1), [h, d] = Y(!1), [f, m] = Y(), [g, I] = Y(!1), [y, x] = Y(null), [w, A] = Y(t), _ = Ce(iy), L = Ce(oy), O = Ce(ay), D = Ce(cy), F = Ce(sy), B = Ce(uf), X = Ce(Iy), H = Ce(df), Z = Ce(ff), W = Ce(hf), q = Ce(V5), ae = dt(i, ug), ce = dt(i, od), P = dt(i, mg), z = dt(i, vg), ee = dt(i, yg), $ = Ng(O), ue = kg(a, c, n, $), { data: be } = B0({
|
|
16427
16427
|
senderEmail: t,
|
|
16428
16428
|
conversationId: String(o),
|
|
16429
16429
|
enabled: z && !!t
|
|
16430
|
-
}), { emailHeaders: ve } = be ?? {}, ie =
|
|
16431
|
-
(
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
|
|
16439
|
-
|
|
16440
|
-
|
|
16441
|
-
|
|
16442
|
-
|
|
16443
|
-
|
|
16444
|
-
|
|
16445
|
-
|
|
16446
|
-
|
|
16447
|
-
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
connector_name: bn,
|
|
16452
|
-
suggestion_type: $
|
|
16453
|
-
});
|
|
16454
|
-
},
|
|
16455
|
-
[r, n, $]
|
|
16456
|
-
), {
|
|
16430
|
+
}), { emailHeaders: ve } = be ?? {}, ie = (Pe, rt) => {
|
|
16431
|
+
r(p2, {
|
|
16432
|
+
search_keyword: Pe,
|
|
16433
|
+
sm_ids: n,
|
|
16434
|
+
connector_name: rt,
|
|
16435
|
+
suggestion_type: q
|
|
16436
|
+
});
|
|
16437
|
+
}, he = (Pe, rt, bn) => {
|
|
16438
|
+
!Array.isArray(rt) || !rt.length ? r(g2, {
|
|
16439
|
+
search_keyword: Pe,
|
|
16440
|
+
sm_ids: n,
|
|
16441
|
+
connector_name: bn,
|
|
16442
|
+
suggestion_type: q
|
|
16443
|
+
}) : rt.length && r(m2, {
|
|
16444
|
+
num_of_results: rt.length,
|
|
16445
|
+
search_keyword: Pe,
|
|
16446
|
+
sm_ids: n,
|
|
16447
|
+
connector_name: bn,
|
|
16448
|
+
suggestion_type: q
|
|
16449
|
+
});
|
|
16450
|
+
}, {
|
|
16457
16451
|
mutate: Ze,
|
|
16458
16452
|
reset: G,
|
|
16459
16453
|
data: Ke,
|
|
16460
16454
|
isPending: st,
|
|
16461
16455
|
isIdle: et
|
|
16462
|
-
} = R4(ie, he), Ft =
|
|
16456
|
+
} = R4(ie, he), Ft = Fe(() => {
|
|
16463
16457
|
G(), x(null);
|
|
16464
|
-
}, [G, x]), Mt =
|
|
16458
|
+
}, [G, x]), Mt = Fe(() => {
|
|
16465
16459
|
t && n.length && o && s(qi({ inboxIds: n, conversationId: o }));
|
|
16466
|
-
}, [s, t, n, o]), Bt =
|
|
16460
|
+
}, [s, t, n, o]), Bt = Fe(
|
|
16467
16461
|
(Pe, rt) => {
|
|
16468
16462
|
Pe && o && rt && s(
|
|
16469
16463
|
Qi({
|
|
@@ -16498,7 +16492,7 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16498
16492
|
(!_ || !n || l.current) && (l.current = !1);
|
|
16499
16493
|
}), [_, r, n]), ge(() => {
|
|
16500
16494
|
o && n && n.length && s(Ui({ inboxIds: n, conversationId: o, channelType: "email" }));
|
|
16501
|
-
}, [s, n, o]), !t.length || F ===
|
|
16495
|
+
}, [s, n, o]), !t.length || F === J.LOADING)
|
|
16502
16496
|
return /* @__PURE__ */ E.jsx(S5, {});
|
|
16503
16497
|
const Et = (Pe) => {
|
|
16504
16498
|
r(Ug, {
|
|
@@ -16531,7 +16525,7 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16531
16525
|
r(u2, {
|
|
16532
16526
|
sm_ids: n,
|
|
16533
16527
|
ug_id: c,
|
|
16534
|
-
connector_names:
|
|
16528
|
+
connector_names: $
|
|
16535
16529
|
});
|
|
16536
16530
|
}, Nn = [
|
|
16537
16531
|
{
|
|
@@ -16766,7 +16760,7 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16766
16760
|
isAdmin: t == null ? void 0 : t.isAdmin,
|
|
16767
16761
|
children: /* @__PURE__ */ E.jsx(sh, { fallback: /* @__PURE__ */ E.jsx(E.Fragment, {}), children: e })
|
|
16768
16762
|
}
|
|
16769
|
-
) }) }) }), B4 = N(
|
|
16763
|
+
) }) }) }), B4 = N(Oe)`
|
|
16770
16764
|
height: inherit;
|
|
16771
16765
|
.MuiScopedCssBaseline-root {
|
|
16772
16766
|
height: inherit;
|
|
@@ -16874,7 +16868,7 @@ const c4 = (e) => new Promise((t) => setTimeout(t, e)), l4 = ({
|
|
|
16874
16868
|
[hidden] {
|
|
16875
16869
|
display: none;
|
|
16876
16870
|
}
|
|
16877
|
-
`, G4 = N(
|
|
16871
|
+
`, G4 = N(Oe)`
|
|
16878
16872
|
:root {
|
|
16879
16873
|
--toastify-color-light: #fff;
|
|
16880
16874
|
--toastify-color-dark: #121212;
|