@hiver/connector-agent 4.4.0 → 4.4.1-fixHighlightHover-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js
CHANGED
|
@@ -14,9 +14,9 @@ var ui = (e, t, n, r) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as D from "react";
|
|
17
|
-
import Ce, { useState as U, useRef as ye, useSyncExternalStore as Nh, useLayoutEffect as io, useEffect as pe, isValidElement as Nr, cloneElement as xa, createContext as Ld, useContext as Ye, useCallback as Te, forwardRef as ds, useMemo as
|
|
17
|
+
import Ce, { useState as U, useRef as ye, useSyncExternalStore as Nh, useLayoutEffect as io, useEffect as pe, isValidElement as Nr, cloneElement as xa, createContext as Ld, useContext as Ye, useCallback as Te, forwardRef as ds, useMemo as Pe, Component as kh, Fragment as Ea, useReducer as Mh, Suspense as Od } from "react";
|
|
18
18
|
import { createPortal as ei } from "react-dom";
|
|
19
|
-
import { keyframes as Rd, styled as F, Stack as $, theme as X, IconButton as ut, Typography as ue, Box as fe, Tooltip as Ge, Button as ot, icons as jt, Menu as
|
|
19
|
+
import { keyframes as Rd, styled as F, Stack as $, theme as X, IconButton as ut, Typography as ue, Box as fe, Tooltip as Ge, Button as ot, icons as jt, Menu as Ph, MenuItem as jh, ListItemIcon as Bh, brandIcons as Dd, Grid as Vh, Link as ti, Skeleton as Ic, TableHead as Gh, TableCell as fs, TableRow as Fd, palette as Hh, Icon as Nd, DatePicker as Wh, DateTextField as Zh, InputAdornment as Uh, Checkbox as Xh, TextField as zh, TableContainer as $h, Table as Yh, TableBody as Jh, Dialog as Qh, Paper as qh, HiverProvider as kd, CircularProgress as Kh, FormControl as ep, RadioGroup as tp, FormControlLabel as np, Radio as rp, tooltipClasses as Md } from "@hiver/hiver-ui-kit";
|
|
20
20
|
var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ia = { exports: {} }, yo = {};
|
|
21
21
|
/**
|
|
22
22
|
* @license React
|
|
@@ -143,7 +143,7 @@ function ip() {
|
|
|
143
143
|
}
|
|
144
144
|
return null;
|
|
145
145
|
}
|
|
146
|
-
var
|
|
146
|
+
var P = Object.assign, V = 0, z, J, Y, ee, de, ne, j;
|
|
147
147
|
function H() {
|
|
148
148
|
}
|
|
149
149
|
H.__reactDisabledLog = !0;
|
|
@@ -179,25 +179,25 @@ function ip() {
|
|
|
179
179
|
writable: !0
|
|
180
180
|
};
|
|
181
181
|
Object.defineProperties(console, {
|
|
182
|
-
log:
|
|
182
|
+
log: P({}, T, {
|
|
183
183
|
value: z
|
|
184
184
|
}),
|
|
185
|
-
info:
|
|
185
|
+
info: P({}, T, {
|
|
186
186
|
value: J
|
|
187
187
|
}),
|
|
188
|
-
warn:
|
|
188
|
+
warn: P({}, T, {
|
|
189
189
|
value: Y
|
|
190
190
|
}),
|
|
191
|
-
error:
|
|
191
|
+
error: P({}, T, {
|
|
192
192
|
value: ee
|
|
193
193
|
}),
|
|
194
|
-
group:
|
|
194
|
+
group: P({}, T, {
|
|
195
195
|
value: de
|
|
196
196
|
}),
|
|
197
|
-
groupCollapsed:
|
|
197
|
+
groupCollapsed: P({}, T, {
|
|
198
198
|
value: ne
|
|
199
199
|
}),
|
|
200
|
-
groupEnd:
|
|
200
|
+
groupEnd: P({}, T, {
|
|
201
201
|
value: j
|
|
202
202
|
})
|
|
203
203
|
});
|
|
@@ -219,13 +219,13 @@ function ip() {
|
|
|
219
219
|
` + ie + T;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
var
|
|
222
|
+
var M = !1, re;
|
|
223
223
|
{
|
|
224
224
|
var Ee = typeof WeakMap == "function" ? WeakMap : Map;
|
|
225
225
|
re = new Ee();
|
|
226
226
|
}
|
|
227
227
|
function Z(T, G) {
|
|
228
|
-
if (!T ||
|
|
228
|
+
if (!T || M)
|
|
229
229
|
return "";
|
|
230
230
|
{
|
|
231
231
|
var q = re.get(T);
|
|
@@ -233,7 +233,7 @@ function ip() {
|
|
|
233
233
|
return q;
|
|
234
234
|
}
|
|
235
235
|
var ge;
|
|
236
|
-
|
|
236
|
+
M = !0;
|
|
237
237
|
var De = Error.prepareStackTrace;
|
|
238
238
|
Error.prepareStackTrace = void 0;
|
|
239
239
|
var Be;
|
|
@@ -290,7 +290,7 @@ function ip() {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
} finally {
|
|
293
|
-
|
|
293
|
+
M = !1, Q.current = Be, W(), Error.prepareStackTrace = De;
|
|
294
294
|
}
|
|
295
295
|
var Sr = T ? T.displayName || T.name : "", qn = Sr ? se(Sr) : "";
|
|
296
296
|
return typeof T == "function" && re.set(T, qn), qn;
|
|
@@ -647,20 +647,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
647
647
|
}
|
|
648
648
|
process.env.NODE_ENV === "production" ? Ia.exports = op() : Ia.exports = ip();
|
|
649
649
|
var m = Ia.exports;
|
|
650
|
-
function
|
|
650
|
+
function Pd(e) {
|
|
651
651
|
var t, n, r = "";
|
|
652
652
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
653
653
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
654
654
|
var o = e.length;
|
|
655
|
-
for (t = 0; t < o; t++) e[t] && (n =
|
|
655
|
+
for (t = 0; t < o; t++) e[t] && (n = Pd(e[t])) && (r && (r += " "), r += n);
|
|
656
656
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
657
657
|
return r;
|
|
658
658
|
}
|
|
659
659
|
function Zn() {
|
|
660
|
-
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t =
|
|
660
|
+
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Pd(e)) && (r && (r += " "), r += t);
|
|
661
661
|
return r;
|
|
662
662
|
}
|
|
663
|
-
const
|
|
663
|
+
const Mo = (e) => typeof e == "number" && !isNaN(e), hr = (e) => typeof e == "string", Ft = (e) => typeof e == "function", Ei = (e) => hr(e) || Ft(e) ? e : null, wa = (e) => Nr(e) || hr(e) || Ft(e) || Mo(e);
|
|
664
664
|
function sp(e, t, n) {
|
|
665
665
|
n === void 0 && (n = 300);
|
|
666
666
|
const { scrollHeight: r, style: o } = e;
|
|
@@ -692,7 +692,7 @@ function hl(e, t) {
|
|
|
692
692
|
return e != null ? { content: e.content, containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, status: t } : {};
|
|
693
693
|
}
|
|
694
694
|
const xt = /* @__PURE__ */ new Map();
|
|
695
|
-
let
|
|
695
|
+
let Po = [];
|
|
696
696
|
const Aa = /* @__PURE__ */ new Set(), ap = (e) => Aa.forEach((t) => t(e)), jd = () => xt.size > 0;
|
|
697
697
|
function Bd(e, t) {
|
|
698
698
|
var n;
|
|
@@ -703,7 +703,7 @@ function Bd(e, t) {
|
|
|
703
703
|
}), r;
|
|
704
704
|
}
|
|
705
705
|
function Vd(e, t) {
|
|
706
|
-
wa(e) && (jd() ||
|
|
706
|
+
wa(e) && (jd() || Po.push({ content: e, options: t }), xt.forEach((n) => {
|
|
707
707
|
n.buildToast(e, t);
|
|
708
708
|
}));
|
|
709
709
|
}
|
|
@@ -724,7 +724,7 @@ function cp(e) {
|
|
|
724
724
|
f = w == null ? [] : f.filter((_) => _ !== w), C();
|
|
725
725
|
}, A = (w) => {
|
|
726
726
|
const { toastId: _, onOpen: R, updateId: L, children: O } = w.props, k = L == null;
|
|
727
|
-
w.staleId && v.delete(w.staleId), v.set(_, w), f = [...f, w.props.toastId].filter((
|
|
727
|
+
w.staleId && v.delete(w.staleId), v.set(_, w), f = [...f, w.props.toastId].filter((P) => P !== w.staleId), C(), g(hl(w, k ? "added" : "updated")), k && Ft(R) && R(Nr(O) && O.props);
|
|
728
728
|
};
|
|
729
729
|
return { id: u, props: y, observe: (w) => (E.add(w), () => E.delete(w)), toggle: (w, _) => {
|
|
730
730
|
v.forEach((R) => {
|
|
@@ -738,14 +738,14 @@ function cp(e) {
|
|
|
738
738
|
const Q = H ? H !== u : u !== 1, ie = v.has(B) && W == null;
|
|
739
739
|
return Q || ie;
|
|
740
740
|
})(_)) return;
|
|
741
|
-
const { toastId: R, updateId: L, data: O, staleId: k, delay:
|
|
741
|
+
const { toastId: R, updateId: L, data: O, staleId: k, delay: P } = _, V = () => {
|
|
742
742
|
I(R);
|
|
743
743
|
}, z = L == null;
|
|
744
744
|
z && b++;
|
|
745
745
|
const J = { ...y, style: y.toastStyle, key: x++, ...Object.fromEntries(Object.entries(_).filter((j) => {
|
|
746
746
|
let [H, B] = j;
|
|
747
747
|
return B != null;
|
|
748
|
-
})), toastId: R, updateId: L, data: O, closeToast: V, isIn: !1, className: Ei(_.className || y.toastClassName), bodyClassName: Ei(_.bodyClassName || y.bodyClassName), progressClassName: Ei(_.progressClassName || y.progressClassName), autoClose: !_.isLoading && (Y = _.autoClose, ee = y.autoClose, Y === !1 ||
|
|
748
|
+
})), toastId: R, updateId: L, data: O, closeToast: V, isIn: !1, className: Ei(_.className || y.toastClassName), bodyClassName: Ei(_.bodyClassName || y.bodyClassName), progressClassName: Ei(_.progressClassName || y.progressClassName), autoClose: !_.isLoading && (Y = _.autoClose, ee = y.autoClose, Y === !1 || Mo(Y) && Y > 0 ? Y : ee), deleteToast() {
|
|
749
749
|
const j = v.get(R), { onClose: H, children: B } = j.props;
|
|
750
750
|
Ft(H) && H(Nr(B) && B.props), g(hl(j, "removed")), v.delete(R), b--, b < 0 && (b = 0), d.length > 0 ? A(d.shift()) : C();
|
|
751
751
|
} };
|
|
@@ -754,9 +754,9 @@ function cp(e) {
|
|
|
754
754
|
let de = w;
|
|
755
755
|
Nr(w) && !hr(w.type) ? de = xa(w, { closeToast: V, toastProps: J, data: O }) : Ft(w) && (de = w({ closeToast: V, toastProps: J, data: O }));
|
|
756
756
|
const ne = { content: de, props: J, staleId: k };
|
|
757
|
-
y.limit && y.limit > 0 && b > y.limit && z ? d.push(ne) :
|
|
757
|
+
y.limit && y.limit > 0 && b > y.limit && z ? d.push(ne) : Mo(P) ? setTimeout(() => {
|
|
758
758
|
A(ne);
|
|
759
|
-
},
|
|
759
|
+
}, P) : A(ne);
|
|
760
760
|
}, setProps(w) {
|
|
761
761
|
y = w;
|
|
762
762
|
}, setToggle: (w, _) => {
|
|
@@ -765,7 +765,7 @@ function cp(e) {
|
|
|
765
765
|
}(s, i, ap);
|
|
766
766
|
xt.set(s, l);
|
|
767
767
|
const a = l.observe(c);
|
|
768
|
-
return
|
|
768
|
+
return Po.forEach((u) => Vd(u.content, u.options)), Po = [], () => {
|
|
769
769
|
a(), xt.delete(s);
|
|
770
770
|
};
|
|
771
771
|
}, setProps(c) {
|
|
@@ -839,7 +839,7 @@ function up(e) {
|
|
|
839
839
|
let dp = 1;
|
|
840
840
|
const Gd = () => "" + dp++;
|
|
841
841
|
function fp(e) {
|
|
842
|
-
return e && (hr(e.toastId) ||
|
|
842
|
+
return e && (hr(e.toastId) || Mo(e.toastId)) ? e.toastId : Gd();
|
|
843
843
|
}
|
|
844
844
|
function Do(e, t) {
|
|
845
845
|
return Vd(e, t), t.toastId;
|
|
@@ -866,7 +866,7 @@ ke.loading = (e, t) => Do(e, Wi("default", { isLoading: !0, autoClose: !1, close
|
|
|
866
866
|
(function(t) {
|
|
867
867
|
var n;
|
|
868
868
|
if (jd()) {
|
|
869
|
-
if (t == null || hr(n = t) ||
|
|
869
|
+
if (t == null || hr(n = t) || Mo(n)) xt.forEach((r) => {
|
|
870
870
|
r.removeToast(t);
|
|
871
871
|
});
|
|
872
872
|
else if (t && ("containerId" in t || "id" in t)) {
|
|
@@ -875,7 +875,7 @@ ke.loading = (e, t) => Do(e, Wi("default", { isLoading: !0, autoClose: !1, close
|
|
|
875
875
|
o.removeToast(t.id);
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
|
-
} else
|
|
878
|
+
} else Po = Po.filter((r) => t != null && r.options.toastId !== t);
|
|
879
879
|
})(e);
|
|
880
880
|
}, ke.clearWaitingQueue = function(e) {
|
|
881
881
|
e === void 0 && (e = {}), xt.forEach((t) => {
|
|
@@ -915,18 +915,18 @@ const hp = typeof window < "u" ? io : pe, fi = (e) => {
|
|
|
915
915
|
}, spinner: function() {
|
|
916
916
|
return Ce.createElement("div", { className: "Toastify__spinner" });
|
|
917
917
|
} }, pp = (e) => {
|
|
918
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = lp(e), { closeButton: s, children: c, autoClose: l, onClick: a, type: u, hideProgressBar: h, closeToast: g, transition: x, position: b, className: d, style: f, bodyClassName: p, bodyStyle: y, progressClassName: v, progressStyle: E, updateId: C, role: I, progress: A, rtl: w, toastId: _, deleteToast: R, isIn: L, isLoading: O, closeOnClick: k, theme:
|
|
918
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = lp(e), { closeButton: s, children: c, autoClose: l, onClick: a, type: u, hideProgressBar: h, closeToast: g, transition: x, position: b, className: d, style: f, bodyClassName: p, bodyStyle: y, progressClassName: v, progressStyle: E, updateId: C, role: I, progress: A, rtl: w, toastId: _, deleteToast: R, isIn: L, isLoading: O, closeOnClick: k, theme: P } = e, V = Zn("Toastify__toast", `Toastify__toast-theme--${P}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": w }, { "Toastify__toast--close-on-click": k }), z = Ft(d) ? d({ rtl: w, position: b, type: u, defaultClassName: V }) : Zn(V, d), J = function(ne) {
|
|
919
919
|
let { theme: j, type: H, isLoading: B, icon: W } = ne, Q = null;
|
|
920
920
|
const ie = { theme: j, type: H };
|
|
921
921
|
return W === !1 || (Ft(W) ? Q = W({ ...ie, isLoading: B }) : Nr(W) ? Q = xa(W, ie) : B ? Q = Zs.spinner() : ((se) => se in Zs)(H) && (Q = Zs[H](ie))), Q;
|
|
922
|
-
}(e), Y = !!A || !l, ee = { closeToast: g, type: u, theme:
|
|
922
|
+
}(e), Y = !!A || !l, ee = { closeToast: g, type: u, theme: P };
|
|
923
923
|
let de = null;
|
|
924
924
|
return s === !1 || (de = Ft(s) ? s(ee) : Nr(s) ? xa(s, ee) : function(ne) {
|
|
925
925
|
let { closeToast: j, theme: H, ariaLabel: B = "close" } = ne;
|
|
926
926
|
return Ce.createElement("button", { className: `Toastify__close-button Toastify__close-button--${H}`, type: "button", onClick: (W) => {
|
|
927
927
|
W.stopPropagation(), j(W);
|
|
928
928
|
}, "aria-label": B }, Ce.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ce.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
|
-
}(ee)), Ce.createElement(x, { isIn: L, done: R, position: b, preventExitTransition: n, nodeRef: r, playToast: i }, Ce.createElement("div", { id: _, onClick: a, "data-in": L, className: z, ...o, style: f, ref: r }, Ce.createElement("div", { ...L && { role: I }, className: Ft(p) ? p({ type: u }) : Zn("Toastify__toast-body", p), style: y }, J != null && Ce.createElement("div", { className: Zn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !O }) }, J), Ce.createElement("div", null, c)), de, Ce.createElement(up, { ...C && !Y ? { key: `pb-${C}` } : {}, rtl: w, theme:
|
|
929
|
+
}(ee)), Ce.createElement(x, { isIn: L, done: R, position: b, preventExitTransition: n, nodeRef: r, playToast: i }, Ce.createElement("div", { id: _, onClick: a, "data-in": L, className: z, ...o, style: f, ref: r }, Ce.createElement("div", { ...L && { role: I }, className: Ft(p) ? p({ type: u }) : Zn("Toastify__toast-body", p), style: y }, J != null && Ce.createElement("div", { className: Zn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !O }) }, J), Ce.createElement("div", null, c)), de, Ce.createElement(up, { ...C && !Y ? { key: `pb-${C}` } : {}, rtl: w, theme: P, delay: l, isRunning: t, isIn: L, closeToast: g, hide: h, type: u, style: E, className: v, controlledProgress: Y, progress: A || 0 })));
|
|
930
930
|
}, ps = 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
|
}, gp = hs(ps("bounce", !0));
|
|
@@ -1229,7 +1229,7 @@ const zn = async () => {
|
|
|
1229
1229
|
} catch (r) {
|
|
1230
1230
|
console.error("Error updating capture on demand:", r);
|
|
1231
1231
|
}
|
|
1232
|
-
},
|
|
1232
|
+
}, Mp = async (e) => {
|
|
1233
1233
|
if (!e) return;
|
|
1234
1234
|
const t = await zn();
|
|
1235
1235
|
if (t)
|
|
@@ -1238,14 +1238,14 @@ const zn = async () => {
|
|
|
1238
1238
|
} catch (n) {
|
|
1239
1239
|
console.error("Error resetting show notification status:", n);
|
|
1240
1240
|
}
|
|
1241
|
-
},
|
|
1241
|
+
}, Pp = async (e) => {
|
|
1242
1242
|
const t = await wc(e), n = await bs(e);
|
|
1243
1243
|
return t.filter(
|
|
1244
1244
|
(o) => Ud(o, n)
|
|
1245
1245
|
);
|
|
1246
1246
|
}, Xd = async (e) => {
|
|
1247
1247
|
const t = await Dp(e);
|
|
1248
|
-
return t && !Ra(t) ? !1 : await bs(e) && !t ? !0 : !!(await
|
|
1248
|
+
return t && !Ra(t) ? !1 : await bs(e) && !t ? !0 : !!(await Pp(e)).length;
|
|
1249
1249
|
}, WI = async (e, t) => {
|
|
1250
1250
|
await Np(e, t);
|
|
1251
1251
|
}, Ii = async (e) => {
|
|
@@ -1254,7 +1254,7 @@ const zn = async () => {
|
|
|
1254
1254
|
const n = await bs(e);
|
|
1255
1255
|
t ? n !== !1 && await Cl(e, t) : await Cl(e, void 0);
|
|
1256
1256
|
}, jp = async (e) => await Fp(e) && await Xd(e), Bp = async (e) => {
|
|
1257
|
-
await
|
|
1257
|
+
await Mp(e);
|
|
1258
1258
|
};
|
|
1259
1259
|
var Da = {}, er = {};
|
|
1260
1260
|
function zd(e, t) {
|
|
@@ -1267,22 +1267,22 @@ const { toString: Vp } = Object.prototype, { getPrototypeOf: Ac } = Object, vs =
|
|
|
1267
1267
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1268
1268
|
})(/* @__PURE__ */ Object.create(null)), qt = (e) => (e = e.toLowerCase(), (t) => vs(t) === e), ys = (e) => (t) => typeof t === e, { isArray: so } = Array, Go = ys("undefined");
|
|
1269
1269
|
function Gp(e) {
|
|
1270
|
-
return e !== null && !Go(e) && e.constructor !== null && !Go(e.constructor) &&
|
|
1270
|
+
return e !== null && !Go(e) && e.constructor !== null && !Go(e.constructor) && Mt(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1271
1271
|
}
|
|
1272
1272
|
const $d = qt("ArrayBuffer");
|
|
1273
1273
|
function Hp(e) {
|
|
1274
1274
|
let t;
|
|
1275
1275
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && $d(e.buffer), t;
|
|
1276
1276
|
}
|
|
1277
|
-
const Wp = ys("string"),
|
|
1277
|
+
const Wp = ys("string"), Mt = ys("function"), Yd = ys("number"), Cs = (e) => e !== null && typeof e == "object", Zp = (e) => e === !0 || e === !1, wi = (e) => {
|
|
1278
1278
|
if (vs(e) !== "object")
|
|
1279
1279
|
return !1;
|
|
1280
1280
|
const t = Ac(e);
|
|
1281
1281
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1282
|
-
}, Up = qt("Date"), Xp = qt("File"), zp = qt("Blob"), $p = qt("FileList"), Yp = (e) => Cs(e) &&
|
|
1282
|
+
}, Up = qt("Date"), Xp = qt("File"), zp = qt("Blob"), $p = qt("FileList"), Yp = (e) => Cs(e) && Mt(e.pipe), Jp = (e) => {
|
|
1283
1283
|
let t;
|
|
1284
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
1285
|
-
t === "object" &&
|
|
1284
|
+
return e && (typeof FormData == "function" && e instanceof FormData || Mt(e.append) && ((t = vs(e)) === "formdata" || // detect form-data instance
|
|
1285
|
+
t === "object" && Mt(e.toString) && e.toString() === "[object FormData]"));
|
|
1286
1286
|
}, Qp = qt("URLSearchParams"), [qp, Kp, e2, t2] = ["ReadableStream", "Request", "Response", "Headers"].map(qt), n2 = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
1287
1287
|
function ni(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
1288
1288
|
if (e === null || typeof e > "u")
|
|
@@ -1318,7 +1318,7 @@ function Fa() {
|
|
|
1318
1318
|
return t;
|
|
1319
1319
|
}
|
|
1320
1320
|
const r2 = (e, t, n, { allOwnKeys: r } = {}) => (ni(t, (o, i) => {
|
|
1321
|
-
n &&
|
|
1321
|
+
n && Mt(o) ? e[i] = zd(o, n) : e[i] = o;
|
|
1322
1322
|
}, { allOwnKeys: r }), e), o2 = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), i2 = (e, t, n, r) => {
|
|
1323
1323
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
1324
1324
|
value: t.prototype
|
|
@@ -1372,10 +1372,10 @@ const r2 = (e, t, n, { allOwnKeys: r } = {}) => (ni(t, (o, i) => {
|
|
|
1372
1372
|
}), Object.defineProperties(e, r);
|
|
1373
1373
|
}, g2 = (e) => {
|
|
1374
1374
|
qd(e, (t, n) => {
|
|
1375
|
-
if (
|
|
1375
|
+
if (Mt(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
1376
1376
|
return !1;
|
|
1377
1377
|
const r = e[n];
|
|
1378
|
-
if (
|
|
1378
|
+
if (Mt(r)) {
|
|
1379
1379
|
if (t.enumerable = !1, "writable" in t) {
|
|
1380
1380
|
t.writable = !1;
|
|
1381
1381
|
return;
|
|
@@ -1405,7 +1405,7 @@ const r2 = (e, t, n, { allOwnKeys: r } = {}) => (ni(t, (o, i) => {
|
|
|
1405
1405
|
return n;
|
|
1406
1406
|
};
|
|
1407
1407
|
function C2(e) {
|
|
1408
|
-
return !!(e &&
|
|
1408
|
+
return !!(e && Mt(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
1409
1409
|
}
|
|
1410
1410
|
const x2 = (e) => {
|
|
1411
1411
|
const t = new Array(10), n = (r, o) => {
|
|
@@ -1424,13 +1424,13 @@ const x2 = (e) => {
|
|
|
1424
1424
|
return r;
|
|
1425
1425
|
};
|
|
1426
1426
|
return n(e, 0);
|
|
1427
|
-
}, E2 = qt("AsyncFunction"), I2 = (e) => e && (Cs(e) ||
|
|
1427
|
+
}, E2 = qt("AsyncFunction"), I2 = (e) => e && (Cs(e) || Mt(e)) && Mt(e.then) && Mt(e.catch), e0 = ((e, t) => e ? setImmediate : t ? ((n, r) => (or.addEventListener("message", ({ source: o, data: i }) => {
|
|
1428
1428
|
o === or && i === n && r.length && r.shift()();
|
|
1429
1429
|
}, !1), (o) => {
|
|
1430
1430
|
r.push(o), or.postMessage(n, "*");
|
|
1431
1431
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
1432
1432
|
typeof setImmediate == "function",
|
|
1433
|
-
|
|
1433
|
+
Mt(or.postMessage)
|
|
1434
1434
|
), w2 = typeof queueMicrotask < "u" ? queueMicrotask.bind(or) : typeof process < "u" && process.nextTick || e0;
|
|
1435
1435
|
var N = {
|
|
1436
1436
|
isArray: so,
|
|
@@ -1452,7 +1452,7 @@ var N = {
|
|
|
1452
1452
|
isFile: Xp,
|
|
1453
1453
|
isBlob: zp,
|
|
1454
1454
|
isRegExp: p2,
|
|
1455
|
-
isFunction:
|
|
1455
|
+
isFunction: Mt,
|
|
1456
1456
|
isStream: Yp,
|
|
1457
1457
|
isURLSearchParams: Qp,
|
|
1458
1458
|
isTypedArray: l2,
|
|
@@ -1732,16 +1732,16 @@ var Al = L2, s0 = {
|
|
|
1732
1732
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1733
1733
|
};
|
|
1734
1734
|
const Tc = typeof window < "u" && typeof document < "u", ka = typeof navigator == "object" && navigator || void 0, N2 = Tc && (!ka || ["ReactNative", "NativeScript", "NS"].indexOf(ka.product) < 0), k2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
1735
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
1736
|
-
var
|
|
1735
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", M2 = Tc && window.location.href || "http://localhost";
|
|
1736
|
+
var P2 = /* @__PURE__ */ Object.freeze({
|
|
1737
1737
|
__proto__: null,
|
|
1738
1738
|
hasBrowserEnv: Tc,
|
|
1739
1739
|
hasStandardBrowserWebWorkerEnv: k2,
|
|
1740
1740
|
hasStandardBrowserEnv: N2,
|
|
1741
1741
|
navigator: ka,
|
|
1742
|
-
origin:
|
|
1742
|
+
origin: M2
|
|
1743
1743
|
}), Ot = {
|
|
1744
|
-
...
|
|
1744
|
+
...P2,
|
|
1745
1745
|
...F2
|
|
1746
1746
|
};
|
|
1747
1747
|
function j2(e, t) {
|
|
@@ -2450,8 +2450,8 @@ const ig = function* (e, t) {
|
|
|
2450
2450
|
}
|
|
2451
2451
|
}).headers.has("Content-Type");
|
|
2452
2452
|
return e && !t;
|
|
2453
|
-
}), Rl = 64 * 1024,
|
|
2454
|
-
stream:
|
|
2453
|
+
}), Rl = 64 * 1024, Ma = f0 && h0(() => N.isReadableStream(new Response("").body)), Xi = {
|
|
2454
|
+
stream: Ma && ((e) => e.body)
|
|
2455
2455
|
};
|
|
2456
2456
|
Is && ((e) => {
|
|
2457
2457
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
@@ -2526,8 +2526,8 @@ var fg = Is && (async (e) => {
|
|
|
2526
2526
|
credentials: p ? h : void 0
|
|
2527
2527
|
});
|
|
2528
2528
|
let y = await fetch(b);
|
|
2529
|
-
const v =
|
|
2530
|
-
if (
|
|
2529
|
+
const v = Ma && (a === "stream" || a === "response");
|
|
2530
|
+
if (Ma && (c || v && d)) {
|
|
2531
2531
|
const C = {};
|
|
2532
2532
|
["status", "statusText", "headers"].forEach((_) => {
|
|
2533
2533
|
C[_] = y[_];
|
|
@@ -2564,12 +2564,12 @@ var fg = Is && (async (e) => {
|
|
|
2564
2564
|
) : be.from(p, p && p.code, e, b);
|
|
2565
2565
|
}
|
|
2566
2566
|
});
|
|
2567
|
-
const
|
|
2567
|
+
const Pa = {
|
|
2568
2568
|
http: A2,
|
|
2569
2569
|
xhr: ng,
|
|
2570
2570
|
fetch: fg
|
|
2571
2571
|
};
|
|
2572
|
-
N.forEach(
|
|
2572
|
+
N.forEach(Pa, (e, t) => {
|
|
2573
2573
|
if (e) {
|
|
2574
2574
|
try {
|
|
2575
2575
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -2588,7 +2588,7 @@ var p0 = {
|
|
|
2588
2588
|
for (let i = 0; i < t; i++) {
|
|
2589
2589
|
n = e[i];
|
|
2590
2590
|
let s;
|
|
2591
|
-
if (r = n, !hg(n) && (r =
|
|
2591
|
+
if (r = n, !hg(n) && (r = Pa[(s = String(n)).toLowerCase()], r === void 0))
|
|
2592
2592
|
throw new be(`Unknown adapter '${s}'`);
|
|
2593
2593
|
if (r)
|
|
2594
2594
|
break;
|
|
@@ -2608,7 +2608,7 @@ var p0 = {
|
|
|
2608
2608
|
}
|
|
2609
2609
|
return r;
|
|
2610
2610
|
},
|
|
2611
|
-
adapters:
|
|
2611
|
+
adapters: Pa
|
|
2612
2612
|
};
|
|
2613
2613
|
function Js(e) {
|
|
2614
2614
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
@@ -3239,15 +3239,15 @@ var kg = function() {
|
|
|
3239
3239
|
}
|
|
3240
3240
|
};
|
|
3241
3241
|
Oe.expireToken = kg;
|
|
3242
|
-
var
|
|
3242
|
+
var Mg = function(e) {
|
|
3243
3243
|
var t = (0, Nt.getItemFromStorage)("hiverAuthTokenExpiry") || "", n = new Date(t), r = Fc(), o = Nc(e);
|
|
3244
3244
|
return console.log("Heimdall: checking if there is a valid token", r < n && o), r < n && o;
|
|
3245
3245
|
};
|
|
3246
|
-
Oe.hasValidToken =
|
|
3247
|
-
var
|
|
3246
|
+
Oe.hasValidToken = Mg;
|
|
3247
|
+
var Pg = function() {
|
|
3248
3248
|
return Math.floor(Math.random() * 6e4) + 6e4;
|
|
3249
3249
|
};
|
|
3250
|
-
Oe.getRandomDelay =
|
|
3250
|
+
Oe.getRandomDelay = Pg;
|
|
3251
3251
|
var jg = function(e, t) {
|
|
3252
3252
|
if (!e || !t)
|
|
3253
3253
|
throw new Error("User Id or user group Id not found in the response");
|
|
@@ -3639,9 +3639,9 @@ var ws = {}, Zg = me && me.__awaiter || function(e, t, n, r) {
|
|
|
3639
3639
|
};
|
|
3640
3640
|
Object.defineProperty(ws, "__esModule", { value: !0 });
|
|
3641
3641
|
ws.subscribeToOnlineEvent = void 0;
|
|
3642
|
-
var
|
|
3642
|
+
var Ml = $n, Xg = hn, zg = function(e, t) {
|
|
3643
3643
|
switch (t === void 0 && (t = (0, Xg.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
|
|
3644
|
-
case
|
|
3644
|
+
case Ml.PLATFORM.WEB:
|
|
3645
3645
|
return window.addEventListener("online", function() {
|
|
3646
3646
|
return Zg(void 0, void 0, void 0, function() {
|
|
3647
3647
|
return Ug(this, function(n) {
|
|
@@ -3654,7 +3654,7 @@ var Pl = $n, Xg = hn, zg = function(e, t) {
|
|
|
3654
3654
|
});
|
|
3655
3655
|
});
|
|
3656
3656
|
});
|
|
3657
|
-
case
|
|
3657
|
+
case Ml.PLATFORM.MOBILE:
|
|
3658
3658
|
e();
|
|
3659
3659
|
return;
|
|
3660
3660
|
default:
|
|
@@ -3662,10 +3662,10 @@ var Pl = $n, Xg = hn, zg = function(e, t) {
|
|
|
3662
3662
|
}
|
|
3663
3663
|
};
|
|
3664
3664
|
ws.subscribeToOnlineEvent = zg;
|
|
3665
|
-
var
|
|
3665
|
+
var Pl;
|
|
3666
3666
|
function C0() {
|
|
3667
|
-
if (
|
|
3668
|
-
|
|
3667
|
+
if (Pl) return Eo;
|
|
3668
|
+
Pl = 1;
|
|
3669
3669
|
var e = me && me.__awaiter || function(b, d, f, p) {
|
|
3670
3670
|
function y(v) {
|
|
3671
3671
|
return v instanceof f ? v : new f(function(E) {
|
|
@@ -3807,7 +3807,7 @@ function C0() {
|
|
|
3807
3807
|
});
|
|
3808
3808
|
}, h = function(b, d, f, p, y, v, E, C, I) {
|
|
3809
3809
|
return C === void 0 && (C = "default"), e(void 0, void 0, void 0, function() {
|
|
3810
|
-
var A, w, _, R, L, O, k,
|
|
3810
|
+
var A, w, _, R, L, O, k, P, V, z, J, Y, ee, de;
|
|
3811
3811
|
return t(this, function(ne) {
|
|
3812
3812
|
switch (ne.label) {
|
|
3813
3813
|
case 0:
|
|
@@ -3819,7 +3819,7 @@ function C0() {
|
|
|
3819
3819
|
case 3:
|
|
3820
3820
|
return ne.sent(), [3, 11];
|
|
3821
3821
|
case 4:
|
|
3822
|
-
return ((J = O.response) === null || J === void 0 ? void 0 : J.status) === 409 || ((Y = O.request) === null || Y === void 0 ? void 0 : Y.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"),
|
|
3822
|
+
return ((J = O.response) === null || J === void 0 ? void 0 : J.status) === 409 || ((Y = O.request) === null || Y === void 0 ? void 0 : Y.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), P = { retryDelay: b, configs: p, apiParams: y, appUI: I }, [4, u(d, f, P, v, E)]) : [3, 6];
|
|
3823
3823
|
case 5:
|
|
3824
3824
|
if (ne.sent(), f >= r.MAX_CONFLICT_RETRY_DELAY)
|
|
3825
3825
|
throw O;
|
|
@@ -4669,7 +4669,7 @@ function w0() {
|
|
|
4669
4669
|
});
|
|
4670
4670
|
}, u = function(x, b, d, f, p, y, v) {
|
|
4671
4671
|
return y === void 0 && (y = "default"), e(void 0, void 0, void 0, function() {
|
|
4672
|
-
var E, C, I, A, w, _, R, L, O, k,
|
|
4672
|
+
var E, C, I, A, w, _, R, L, O, k, P, V, z, J;
|
|
4673
4673
|
return t(this, function(Y) {
|
|
4674
4674
|
switch (Y.label) {
|
|
4675
4675
|
case 0:
|
|
@@ -4681,7 +4681,7 @@ function w0() {
|
|
|
4681
4681
|
case 3:
|
|
4682
4682
|
return Y.sent(), [3, 11];
|
|
4683
4683
|
case 4:
|
|
4684
|
-
return ((
|
|
4684
|
+
return ((P = _.response) === null || P === void 0 ? void 0 : P.status) === 409 || ((V = _.request) === null || V === void 0 ? void 0 : V.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), L = { retryDelay: x, configs: f, api_params: p, appUI: v }, [4, a(b, d, L)]) : [3, 6];
|
|
4685
4685
|
case 5:
|
|
4686
4686
|
if (Y.sent(), d >= r.MAX_CONFLICT_RETRY_DELAY)
|
|
4687
4687
|
throw _;
|
|
@@ -5149,7 +5149,7 @@ const zt = {
|
|
|
5149
5149
|
isHiverApiDomain: !0
|
|
5150
5150
|
},
|
|
5151
5151
|
withCredentials: !0
|
|
5152
|
-
}), hm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ D.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "#343C45" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), pm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ D.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), gm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ D.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ D.createElement("rect", { width: 24, height: 24, fill: "white" })))), mm = "Rate your experience with Hiver Apps", bm = "Share feedback on Apps", vm = "Got any feedback?", _0 = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", ym = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", Cm = "https://txeep2wshyx.typeform.com/to/bqhVSfDk", xm = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", Em = "enable_connectors_clicked", Im = "learn_more_clicked", wm = "connector_card_expand_clicked", Am = "connector_card_collapsed_clicked", _m = "connector_card_refresh_clicked", Tm = "connector_cards_loaded", Sm = "connector_whats_new_card_viewed", Lm = "connector_whats_new_explore_now_clicked", Om = "connector_whats_new_learn_more_clicked", Rm = "connector_whats_new_dismissed", Dm = "connector_create_new_object_clicked", Fm = "connector_link_new_object_clicked", Nm = "connector_new_object_created_by_form", km = "connector_new_object_linked_by_form",
|
|
5152
|
+
}), hm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ D.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "#343C45" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), pm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ D.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), gm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ D.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ D.createElement("rect", { width: 24, height: 24, fill: "white" })))), mm = "Rate your experience with Hiver Apps", bm = "Share feedback on Apps", vm = "Got any feedback?", _0 = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", ym = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", Cm = "https://txeep2wshyx.typeform.com/to/bqhVSfDk", xm = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", Em = "enable_connectors_clicked", Im = "learn_more_clicked", wm = "connector_card_expand_clicked", Am = "connector_card_collapsed_clicked", _m = "connector_card_refresh_clicked", Tm = "connector_cards_loaded", Sm = "connector_whats_new_card_viewed", Lm = "connector_whats_new_explore_now_clicked", Om = "connector_whats_new_learn_more_clicked", Rm = "connector_whats_new_dismissed", Dm = "connector_create_new_object_clicked", Fm = "connector_link_new_object_clicked", Nm = "connector_new_object_created_by_form", km = "connector_new_object_linked_by_form", Mm = "connector_object_unlinked_by_form", Pm = "connector_link_preview_clicked", jm = "connector_create_panel_cancel_clicked", Bm = "connector_create_panel_back_clicked", Vm = "card_loaded_on_click", Gm = "card_loaded", Hm = "schedule_call_clicked", Wm = "schedule_call_cross_clicked", T0 = "CONNECTOR_EDIT_CLICKED", Zm = "CONNECTOR_EDIT_REQUEST_SEND", Um = "CONNECTOR_EDIT_CANCELLED", Xm = "CONNECTOR_EDIT_BACK_CLICKED", zm = "CONNECTOR_EDIT_SUCCESS", $m = "connector_video_clicked", Ym = "connector_card_error", Va = "got_any_feedback_clicked", Jm = "connector_deeplink_clicked", Qm = "search_bar_tapped", qm = "search_suggestions_selected", Km = "search_initiated", e3 = "no_results_found", t3 = "search_results_found", n3 = "search_result_selected", r3 = "search_result_linked", o3 = "feedback_closed_clicked", i3 = "help_btn_clicked", s3 = "connector_chat_support_clicked", a3 = "missing_field_clicked", c3 = {
|
|
5153
5153
|
userEmail: "",
|
|
5154
5154
|
email: "",
|
|
5155
5155
|
baseUrls: {},
|
|
@@ -5165,7 +5165,7 @@ const zt = {
|
|
|
5165
5165
|
stackingContext: {}
|
|
5166
5166
|
}, qe = Ld(c3), Ti = "hiver_connectors", Ga = {
|
|
5167
5167
|
NOT_FOUND: 404
|
|
5168
|
-
}, l3 = "ftr-connector-blue-dot", S0 = "ftr-connectors-write-flow", u3 = "ftr-connectors-enhancements", d3 = "ftr-connector-schedule-call-agent", f3 = "ftr-connectors-edit", h3 = "enableAllConnectorFtr", p3 = "ftr-cards-open-state", g3 = "ftr-connectors-global-search", m3 = "ftr-connectors-smart-suggestions", b3 = "ftr-connectors-email-selection", v3 = "ftr-connector-agent-feedback", As = "ftr-connector-unified-view", y3 = "ftr-connectors-expanded-form", Hl = "Please refresh and try again", C3 = "No data available", Si = "-", L0 = "Refresh", O0 = "Minimize",
|
|
5168
|
+
}, l3 = "ftr-connector-blue-dot", S0 = "ftr-connectors-write-flow", u3 = "ftr-connectors-enhancements", d3 = "ftr-connector-schedule-call-agent", f3 = "ftr-connectors-edit", h3 = "enableAllConnectorFtr", p3 = "ftr-cards-open-state", g3 = "ftr-connectors-global-search", m3 = "ftr-connectors-smart-suggestions", b3 = "ftr-connectors-email-selection", v3 = "ftr-connector-agent-feedback", As = "ftr-connector-unified-view", y3 = "ftr-connectors-expanded-form", Hl = "Please refresh and try again", C3 = "No data available", Si = "-", L0 = "Refresh", O0 = "Minimize", Mc = "Expand", R0 = "Connectors", Pc = "Apps", x3 = "Collapse", E3 = "Close", D0 = "Link", I3 = "Create", w3 = "Update", F0 = "Unlink", N0 = "Edit", jc = "Cancel", k0 = "Create new object", M0 = "Link existing object", A3 = "Are you sure you want to unlink this object?", _3 = "The object will be removed from this conversation for all users. However the object will still be available on {{connectorName}} if you'd like to link it back in the future.", T3 = "Edit card", S3 = "bullet_list", L3 = "Expanded", O3 = "Collapsed", P0 = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", j0 = "UNKNOWN_ERROR", R3 = "https://help.hiverhq.com/custom-connectors/common-connector-errors", Wl = {
|
|
5169
5169
|
MAIN_BUTTON: "main_button",
|
|
5170
5170
|
ICON: "create_icon"
|
|
5171
5171
|
}, D3 = "Missing any fields? Inform us.", Bc = (e) => {
|
|
@@ -5241,7 +5241,7 @@ const zt = {
|
|
|
5241
5241
|
function Ul(e, t) {
|
|
5242
5242
|
return e.length > t ? e.substring(0, t) + "..." : e;
|
|
5243
5243
|
}
|
|
5244
|
-
const
|
|
5244
|
+
const M3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1187_180)" }, /* @__PURE__ */ D.createElement("path", { d: "M18.3333 7.81995L12.3417 7.30329L10 1.78662L7.65833 7.31162L1.66666 7.81995L6.21666 11.7616L4.85 17.62L10 14.5116L15.15 17.62L13.7917 11.7616L18.3333 7.81995ZM10 12.9533L6.86666 14.845L7.7 11.2783L4.93333 8.87829L8.58333 8.56162L10 5.20329L11.425 8.56995L15.075 8.88662L12.3083 11.2866L13.1417 14.8533L10 12.9533Z", fill: "#4D596C" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1187_180" }, /* @__PURE__ */ D.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0 0.120117)" })))), P3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 21, height: 20, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_847_49587)" }, /* @__PURE__ */ D.createElement("path", { d: "M10.6668 14.392L15.8168 17.5003L14.4502 11.642L19.0002 7.70033L13.0085 7.19199L10.6668 1.66699L8.32516 7.19199L2.3335 7.70033L6.8835 11.642L5.51683 17.5003L10.6668 14.392Z", fill: "#FFE250" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_847_49587" }, /* @__PURE__ */ D.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0.666992)" })))), j3 = Rd`
|
|
5245
5245
|
from {
|
|
5246
5246
|
transform: translateY(-100%);
|
|
5247
5247
|
opacity: 0;
|
|
@@ -5375,7 +5375,7 @@ const P3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21
|
|
|
5375
5375
|
onMouseEnter: () => c(u + 1),
|
|
5376
5376
|
children: /* @__PURE__ */ m.jsxs("div", { children: [
|
|
5377
5377
|
/* @__PURE__ */ m.jsx(
|
|
5378
|
-
|
|
5378
|
+
P3,
|
|
5379
5379
|
{
|
|
5380
5380
|
width: "20px",
|
|
5381
5381
|
height: "20px",
|
|
@@ -5386,7 +5386,7 @@ const P3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21
|
|
|
5386
5386
|
}
|
|
5387
5387
|
),
|
|
5388
5388
|
/* @__PURE__ */ m.jsx(
|
|
5389
|
-
|
|
5389
|
+
M3,
|
|
5390
5390
|
{
|
|
5391
5391
|
width: "20px",
|
|
5392
5392
|
height: "20px",
|
|
@@ -5548,7 +5548,7 @@ const P3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21
|
|
|
5548
5548
|
J3
|
|
5549
5549
|
] }) })
|
|
5550
5550
|
] });
|
|
5551
|
-
}, sb = "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", G0 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M15.505 1.84634C15.1241 1.46545 14.6074 1.25146 14.0688 1.25146C13.5301 1.25146 13.0134 1.46545 12.6325 1.84634L10.6244 3.85447C10.6108 3.3249 10.391 2.82156 10.0116 2.45179C9.63228 2.08203 9.12349 1.87508 8.59375 1.87509H3.90625C3.36753 1.87509 2.85087 2.0891 2.46994 2.47003C2.08901 2.85097 1.875 3.36762 1.875 3.90634V16.0938C1.875 16.6326 2.08901 17.1492 2.46994 17.5302C2.85087 17.9111 3.36753 18.1251 3.90625 18.1251H16.0938C16.6325 18.1251 17.1491 17.9111 17.5301 17.5302C17.911 17.1492 18.125 16.6326 18.125 16.0938V11.4063C18.125 10.8775 17.9189 10.3696 17.5503 9.99039C17.1817 9.6112 16.6798 9.39069 16.1512 9.37572L18.1569 7.37072C18.5378 6.98979 18.7518 6.47316 18.7518 5.93447C18.7518 5.39578 18.5378 4.87915 18.1569 4.49822L15.505 1.84634ZM11.985 9.37509H10.625V8.01509L11.985 9.37509ZM13.5162 2.73009C13.5888 2.65753 13.6749 2.59996 13.7697 2.56069C13.8645 2.52141 13.9661 2.5012 14.0688 2.5012C14.1714 2.5012 14.273 2.52141 14.3678 2.56069C14.4626 2.59996 14.5487 2.65753 14.6212 2.73009L17.2725 5.38197C17.3451 5.45452 17.4026 5.54065 17.4419 5.63545C17.4812 5.73025 17.5014 5.83186 17.5014 5.93447C17.5014 6.03708 17.4812 6.13869 17.4419 6.23349C17.4026 6.32829 17.3451 6.41442 17.2725 6.48697L14.6212 9.13822C14.5487 9.21079 14.4626 9.26835 14.3678 9.30763C14.273 9.3469 14.1714 9.36711 14.0688 9.36711C13.9661 9.36711 13.8645 9.3469 13.7697 9.30763C13.6749 9.26835 13.5888 9.21079 13.5162 9.13822L10.8644 6.48697C10.7918 6.41442 10.7342 6.32829 10.695 6.23349C10.6557 6.13869 10.6355 6.03708 10.6355 5.93447C10.6355 5.83186 10.6557 5.73025 10.695 5.63545C10.7342 5.54065 10.7918 5.45452 10.8644 5.38197L13.5162 2.73009ZM9.375 3.90634V9.37509H3.125V3.90634C3.125 3.47509 3.475 3.12509 3.90625 3.12509H8.59375C9.025 3.12509 9.375 3.47509 9.375 3.90634ZM3.125 16.0938V10.6251H9.375V16.8751H3.90625C3.475 16.8751 3.125 16.5251 3.125 16.0938ZM10.625 10.6251H16.0938C16.525 10.6251 16.875 10.9751 16.875 11.4063V16.0938C16.875 16.5251 16.525 16.8751 16.0938 16.8751H10.625V10.6251Z", fill: "#3E4C5A" }), /* @__PURE__ */ D.createElement("rect", { x: 10.877, y: 5.90918, width: 4.54545, height: 4.54545, rx: 1, transform: "rotate(-45 10.877 5.90918)", fill: "#FFE250" }), /* @__PURE__ */ D.createElement("path", { d: "M3.77344 12.2727C3.77344 11.7204 4.22115 11.2727 4.77344 11.2727H7.77344C8.32572 11.2727 8.77344 11.7204 8.77344 12.2727V15.2727C8.77344 15.825 8.32572 16.2727 7.77344 16.2727H4.77344C4.22115 16.2727 3.77344 15.825 3.77344 15.2727L3.77344 12.2727Z", fill: "#FFE250" })), ab = "data:image/svg+xml,%3csvg%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1012_80924)'%3e%3cpath%20d='M9.66663%2015.1202H11.3333V13.4535H9.66663V15.1202ZM10.5%201.78687C5.89996%201.78687%202.16663%205.5202%202.16663%2010.1202C2.16663%2014.7202%205.89996%2018.4535%2010.5%2018.4535C15.1%2018.4535%2018.8333%2014.7202%2018.8333%2010.1202C18.8333%205.5202%2015.1%201.78687%2010.5%201.78687ZM10.5%2016.7869C6.82496%2016.7869%203.83329%2013.7952%203.83329%2010.1202C3.83329%206.4452%206.82496%203.45353%2010.5%203.45353C14.175%203.45353%2017.1666%206.4452%2017.1666%2010.1202C17.1666%2013.7952%2014.175%2016.7869%2010.5%2016.7869ZM10.5%205.1202C8.65829%205.1202%207.16663%206.61187%207.16663%208.45353H8.83329C8.83329%207.53687%209.58329%206.78687%2010.5%206.78687C11.4166%206.78687%2012.1666%207.53687%2012.1666%208.45353C12.1666%2010.1202%209.66663%209.91187%209.66663%2012.6202H11.3333C11.3333%2010.7452%2013.8333%2010.5369%2013.8333%208.45353C13.8333%206.61187%2012.3416%205.1202%2010.5%205.1202Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1012_80924'%3e%3crect%20width='20'%20height='20'%20fill='white'%20transform='translate(0.5%200.120117)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cb = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ D.createElement("path", { d: "M15 1.5H3C2.175 1.5 1.5 2.175 1.5 3V16.5L4.5 13.5H15C15.825 13.5 16.5 12.825 16.5 12V3C16.5 2.175 15.825 1.5 15 1.5ZM15 12H4.5L3 13.5V3H15V12ZM5.25 6.75H6.75V8.25H5.25V6.75ZM8.25 6.75H9.75V8.25H8.25V6.75ZM11.25 6.75H12.75V8.25H11.25V6.75Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ D.createElement("rect", { width: 18, height: 18, fill: "white" })))), lb = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ D.createElement("path", { d: "M16.5 6.93L11.1075 6.465L9 1.5L6.8925 6.4725L1.5 6.93L5.595 10.4775L4.365 15.75L9 12.9525L13.635 15.75L12.4125 10.4775L16.5 6.93ZM9 11.55L6.18 13.2525L6.93 10.0425L4.44 7.8825L7.725 7.5975L9 4.575L10.2825 7.605L13.5675 7.89L11.0775 10.05L11.8275 13.26L9 11.55Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ D.createElement("rect", { width: 18, height: 18, fill: "white" })))), ub = "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", db = ({ options: e, anchor: t, open: n, onClose: r }) => /* @__PURE__ */ m.jsx(Mh, { id: "help-dropdown", open: n, onClose: r, anchorEl: t, children: e.map((o) => /* @__PURE__ */ m.jsxs(jh, { onClick: o.onClick, children: [
|
|
5551
|
+
}, sb = "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", G0 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M15.505 1.84634C15.1241 1.46545 14.6074 1.25146 14.0688 1.25146C13.5301 1.25146 13.0134 1.46545 12.6325 1.84634L10.6244 3.85447C10.6108 3.3249 10.391 2.82156 10.0116 2.45179C9.63228 2.08203 9.12349 1.87508 8.59375 1.87509H3.90625C3.36753 1.87509 2.85087 2.0891 2.46994 2.47003C2.08901 2.85097 1.875 3.36762 1.875 3.90634V16.0938C1.875 16.6326 2.08901 17.1492 2.46994 17.5302C2.85087 17.9111 3.36753 18.1251 3.90625 18.1251H16.0938C16.6325 18.1251 17.1491 17.9111 17.5301 17.5302C17.911 17.1492 18.125 16.6326 18.125 16.0938V11.4063C18.125 10.8775 17.9189 10.3696 17.5503 9.99039C17.1817 9.6112 16.6798 9.39069 16.1512 9.37572L18.1569 7.37072C18.5378 6.98979 18.7518 6.47316 18.7518 5.93447C18.7518 5.39578 18.5378 4.87915 18.1569 4.49822L15.505 1.84634ZM11.985 9.37509H10.625V8.01509L11.985 9.37509ZM13.5162 2.73009C13.5888 2.65753 13.6749 2.59996 13.7697 2.56069C13.8645 2.52141 13.9661 2.5012 14.0688 2.5012C14.1714 2.5012 14.273 2.52141 14.3678 2.56069C14.4626 2.59996 14.5487 2.65753 14.6212 2.73009L17.2725 5.38197C17.3451 5.45452 17.4026 5.54065 17.4419 5.63545C17.4812 5.73025 17.5014 5.83186 17.5014 5.93447C17.5014 6.03708 17.4812 6.13869 17.4419 6.23349C17.4026 6.32829 17.3451 6.41442 17.2725 6.48697L14.6212 9.13822C14.5487 9.21079 14.4626 9.26835 14.3678 9.30763C14.273 9.3469 14.1714 9.36711 14.0688 9.36711C13.9661 9.36711 13.8645 9.3469 13.7697 9.30763C13.6749 9.26835 13.5888 9.21079 13.5162 9.13822L10.8644 6.48697C10.7918 6.41442 10.7342 6.32829 10.695 6.23349C10.6557 6.13869 10.6355 6.03708 10.6355 5.93447C10.6355 5.83186 10.6557 5.73025 10.695 5.63545C10.7342 5.54065 10.7918 5.45452 10.8644 5.38197L13.5162 2.73009ZM9.375 3.90634V9.37509H3.125V3.90634C3.125 3.47509 3.475 3.12509 3.90625 3.12509H8.59375C9.025 3.12509 9.375 3.47509 9.375 3.90634ZM3.125 16.0938V10.6251H9.375V16.8751H3.90625C3.475 16.8751 3.125 16.5251 3.125 16.0938ZM10.625 10.6251H16.0938C16.525 10.6251 16.875 10.9751 16.875 11.4063V16.0938C16.875 16.5251 16.525 16.8751 16.0938 16.8751H10.625V10.6251Z", fill: "#3E4C5A" }), /* @__PURE__ */ D.createElement("rect", { x: 10.877, y: 5.90918, width: 4.54545, height: 4.54545, rx: 1, transform: "rotate(-45 10.877 5.90918)", fill: "#FFE250" }), /* @__PURE__ */ D.createElement("path", { d: "M3.77344 12.2727C3.77344 11.7204 4.22115 11.2727 4.77344 11.2727H7.77344C8.32572 11.2727 8.77344 11.7204 8.77344 12.2727V15.2727C8.77344 15.825 8.32572 16.2727 7.77344 16.2727H4.77344C4.22115 16.2727 3.77344 15.825 3.77344 15.2727L3.77344 12.2727Z", fill: "#FFE250" })), ab = "data:image/svg+xml,%3csvg%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1012_80924)'%3e%3cpath%20d='M9.66663%2015.1202H11.3333V13.4535H9.66663V15.1202ZM10.5%201.78687C5.89996%201.78687%202.16663%205.5202%202.16663%2010.1202C2.16663%2014.7202%205.89996%2018.4535%2010.5%2018.4535C15.1%2018.4535%2018.8333%2014.7202%2018.8333%2010.1202C18.8333%205.5202%2015.1%201.78687%2010.5%201.78687ZM10.5%2016.7869C6.82496%2016.7869%203.83329%2013.7952%203.83329%2010.1202C3.83329%206.4452%206.82496%203.45353%2010.5%203.45353C14.175%203.45353%2017.1666%206.4452%2017.1666%2010.1202C17.1666%2013.7952%2014.175%2016.7869%2010.5%2016.7869ZM10.5%205.1202C8.65829%205.1202%207.16663%206.61187%207.16663%208.45353H8.83329C8.83329%207.53687%209.58329%206.78687%2010.5%206.78687C11.4166%206.78687%2012.1666%207.53687%2012.1666%208.45353C12.1666%2010.1202%209.66663%209.91187%209.66663%2012.6202H11.3333C11.3333%2010.7452%2013.8333%2010.5369%2013.8333%208.45353C13.8333%206.61187%2012.3416%205.1202%2010.5%205.1202Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1012_80924'%3e%3crect%20width='20'%20height='20'%20fill='white'%20transform='translate(0.5%200.120117)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cb = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ D.createElement("path", { d: "M15 1.5H3C2.175 1.5 1.5 2.175 1.5 3V16.5L4.5 13.5H15C15.825 13.5 16.5 12.825 16.5 12V3C16.5 2.175 15.825 1.5 15 1.5ZM15 12H4.5L3 13.5V3H15V12ZM5.25 6.75H6.75V8.25H5.25V6.75ZM8.25 6.75H9.75V8.25H8.25V6.75ZM11.25 6.75H12.75V8.25H11.25V6.75Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ D.createElement("rect", { width: 18, height: 18, fill: "white" })))), lb = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ D.createElement("path", { d: "M16.5 6.93L11.1075 6.465L9 1.5L6.8925 6.4725L1.5 6.93L5.595 10.4775L4.365 15.75L9 12.9525L13.635 15.75L12.4125 10.4775L16.5 6.93ZM9 11.55L6.18 13.2525L6.93 10.0425L4.44 7.8825L7.725 7.5975L9 4.575L10.2825 7.605L13.5675 7.89L11.0775 10.05L11.8275 13.26L9 11.55Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ D.createElement("rect", { width: 18, height: 18, fill: "white" })))), ub = "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", db = ({ options: e, anchor: t, open: n, onClose: r }) => /* @__PURE__ */ m.jsx(Ph, { id: "help-dropdown", open: n, onClose: r, anchorEl: t, children: e.map((o) => /* @__PURE__ */ m.jsxs(jh, { onClick: o.onClick, children: [
|
|
5552
5552
|
/* @__PURE__ */ m.jsx(Bh, { children: o.icon }),
|
|
5553
5553
|
o.label
|
|
5554
5554
|
] }, o.id)) }), H0 = "connector-header-stuck", fb = F($)`
|
|
@@ -5851,7 +5851,7 @@ const gb = F(fe)`
|
|
|
5851
5851
|
box-sizing: border-box;
|
|
5852
5852
|
height: 48px;
|
|
5853
5853
|
justify-content: space-between;
|
|
5854
|
-
`,
|
|
5854
|
+
`, Mb = F(fe)`
|
|
5855
5855
|
overflow: hidden;
|
|
5856
5856
|
transition: max-height 300ms;
|
|
5857
5857
|
&.slideUp {
|
|
@@ -5860,7 +5860,7 @@ const gb = F(fe)`
|
|
|
5860
5860
|
&.slideDown {
|
|
5861
5861
|
max-height: ${({ height: e }) => e ? `${e}px` : "0px"};
|
|
5862
5862
|
}
|
|
5863
|
-
`,
|
|
5863
|
+
`, Pb = F(fe)`
|
|
5864
5864
|
background-color: #f0f3ff99;
|
|
5865
5865
|
padding: 14px 12px 8px 12px;
|
|
5866
5866
|
box-sizing: border-box;
|
|
@@ -5995,12 +5995,12 @@ const gb = F(fe)`
|
|
|
5995
5995
|
/* @__PURE__ */ m.jsxs(fb, { ref: c, children: [
|
|
5996
5996
|
/* @__PURE__ */ m.jsxs($, { direction: "row", alignItems: "center", gap: "8px", children: [
|
|
5997
5997
|
y ? /* @__PURE__ */ m.jsx(G0, { width: "20px", height: "20px" }) : /* @__PURE__ */ m.jsx(W0, {}),
|
|
5998
|
-
/* @__PURE__ */ m.jsx(Z0, { variant: "h2", children: y ?
|
|
5998
|
+
/* @__PURE__ */ m.jsx(Z0, { variant: "h2", children: y ? Pc : R0 })
|
|
5999
5999
|
] }),
|
|
6000
6000
|
/* @__PURE__ */ m.jsxs($, { direction: "row", children: [
|
|
6001
6001
|
/* @__PURE__ */ m.jsx(Ge, { title: vm, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: C, id: "help-button", sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ m.jsx("img", { src: ab, alt: "Help", height: "20px" }) }) }),
|
|
6002
6002
|
t && (o != null && o.length) ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
6003
|
-
r ? /* @__PURE__ */ m.jsx(Ge, { title:
|
|
6003
|
+
r ? /* @__PURE__ */ m.jsx(Ge, { title: M0, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: s, sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ m.jsx("img", { src: ub, alt: "Link Task", height: "20px" }) }) }) : null,
|
|
6004
6004
|
n ? /* @__PURE__ */ m.jsx(Ge, { title: k0, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: i, sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ m.jsx("img", { src: sb, alt: "Add", height: "20px" }) }) }) : null
|
|
6005
6005
|
] }) : null
|
|
6006
6006
|
] })
|
|
@@ -6095,8 +6095,8 @@ function $b() {
|
|
|
6095
6095
|
}
|
|
6096
6096
|
return I = O, O;
|
|
6097
6097
|
}
|
|
6098
|
-
var
|
|
6099
|
-
if (n(
|
|
6098
|
+
var P = C, V = I;
|
|
6099
|
+
if (n(P, L))
|
|
6100
6100
|
return V;
|
|
6101
6101
|
var z = g(L);
|
|
6102
6102
|
return x !== void 0 && x(V, z) ? V : (C = L, I = z, z);
|
|
@@ -7015,7 +7015,7 @@ var kv = class {
|
|
|
7015
7015
|
}, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
|
|
7016
7016
|
}
|
|
7017
7017
|
createDraft(e) {
|
|
7018
|
-
An(e) || Lt(8), vr(e) && (e =
|
|
7018
|
+
An(e) || Lt(8), vr(e) && (e = Mv(e));
|
|
7019
7019
|
const t = ru(this), n = $a(e, void 0);
|
|
7020
7020
|
return n[Bt].isManual_ = !0, Xa(t), n;
|
|
7021
7021
|
}
|
|
@@ -7062,7 +7062,7 @@ function $a(e, t) {
|
|
|
7062
7062
|
const n = Ts(e) ? yr("MapSet").proxyMap_(e, t) : Ss(e) ? yr("MapSet").proxySet_(e, t) : Fv(e, t);
|
|
7063
7063
|
return (t ? t.scope_ : sf()).drafts_.push(n), n;
|
|
7064
7064
|
}
|
|
7065
|
-
function
|
|
7065
|
+
function Mv(e) {
|
|
7066
7066
|
return vr(e) || Lt(10, e), cf(e);
|
|
7067
7067
|
}
|
|
7068
7068
|
function cf(e) {
|
|
@@ -7092,7 +7092,7 @@ Vt.finishDraft.bind(Vt);
|
|
|
7092
7092
|
function uf(e) {
|
|
7093
7093
|
return ({ dispatch: n, getState: r }) => (o) => (i) => typeof i == "function" ? i(n, r, e) : o(i);
|
|
7094
7094
|
}
|
|
7095
|
-
var
|
|
7095
|
+
var Pv = uf(), jv = uf, Bv = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
|
|
7096
7096
|
if (arguments.length !== 0)
|
|
7097
7097
|
return typeof arguments[0] == "object" ? Yi : Yi.apply(null, arguments);
|
|
7098
7098
|
}, df = (e) => e && typeof e.match == "function";
|
|
@@ -7369,7 +7369,7 @@ var zv = () => function(t) {
|
|
|
7369
7369
|
actionCreatorCheck: i = !0
|
|
7370
7370
|
} = t ?? {};
|
|
7371
7371
|
let s = new hf();
|
|
7372
|
-
if (n && (hi(n) ? s.push(
|
|
7372
|
+
if (n && (hi(n) ? s.push(Pv) : s.push(jv(n.extraArgument))), process.env.NODE_ENV !== "production") {
|
|
7373
7373
|
if (r) {
|
|
7374
7374
|
let c = {};
|
|
7375
7375
|
hi(r) || (c = r), s.unshift(Uv(c));
|
|
@@ -8076,17 +8076,17 @@ const D5 = {
|
|
|
8076
8076
|
};
|
|
8077
8077
|
};
|
|
8078
8078
|
var Ja = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.MULTIPLY = "MULTIPLY", e))(Ja || {});
|
|
8079
|
-
const
|
|
8079
|
+
const M5 = {
|
|
8080
8080
|
[Ja.ADD]: (e, t) => e + t,
|
|
8081
8081
|
[Ja.MULTIPLY]: (e, t) => e * t
|
|
8082
|
-
},
|
|
8082
|
+
}, P5 = (e) => e, uu = () => {
|
|
8083
8083
|
if ("crypto" in window && "randomUUID" in window.crypto)
|
|
8084
8084
|
return window.crypto.randomUUID();
|
|
8085
8085
|
const e = Date.now().toString(16), t = Math.random().toString(16).substring(2, 8);
|
|
8086
8086
|
return `${e}-${t}`;
|
|
8087
8087
|
}, du = (e, t) => {
|
|
8088
8088
|
let n;
|
|
8089
|
-
const r =
|
|
8089
|
+
const r = M5[t] ?? P5;
|
|
8090
8090
|
for (const o of e) {
|
|
8091
8091
|
const i = Number(o);
|
|
8092
8092
|
isNaN(i) || (n = n === void 0 ? i : r(n, i));
|
|
@@ -8250,7 +8250,7 @@ function Uc(e) {
|
|
|
8250
8250
|
typeof u == "function" && (de = u(Y, ee)), y(de !== void 0 ? de : Y);
|
|
8251
8251
|
}, [u]), k = Te(function() {
|
|
8252
8252
|
typeof g == "function" && g(), I(!0);
|
|
8253
|
-
}, [g]),
|
|
8253
|
+
}, [g]), P = Te(function() {
|
|
8254
8254
|
typeof h == "function" && h(), I(!1);
|
|
8255
8255
|
}, [h]), V = c !== void 0 ? c : p, z = l !== void 0 ? l : C, J = x !== void 0 ? x : _;
|
|
8256
8256
|
return oe(oe({}, b), {}, {
|
|
@@ -8258,7 +8258,7 @@ function Uc(e) {
|
|
|
8258
8258
|
menuIsOpen: z,
|
|
8259
8259
|
onChange: L,
|
|
8260
8260
|
onInputChange: O,
|
|
8261
|
-
onMenuClose:
|
|
8261
|
+
onMenuClose: P,
|
|
8262
8262
|
onMenuOpen: k,
|
|
8263
8263
|
value: J
|
|
8264
8264
|
});
|
|
@@ -8439,7 +8439,7 @@ function O4() {
|
|
|
8439
8439
|
function R4() {
|
|
8440
8440
|
return et = Rt > 0 ? lt(fo, --Rt) : 0, ro--, et === 10 && (ro = 1, Ds--), et;
|
|
8441
8441
|
}
|
|
8442
|
-
function
|
|
8442
|
+
function Pt() {
|
|
8443
8443
|
return et = Rt < Df ? lt(fo, Rt++) : 0, ro++, et === 10 && (ro = 1, Ds++), et;
|
|
8444
8444
|
}
|
|
8445
8445
|
function pn() {
|
|
@@ -8494,16 +8494,16 @@ function Oi(e) {
|
|
|
8494
8494
|
}
|
|
8495
8495
|
function D4(e) {
|
|
8496
8496
|
for (; (et = pn()) && et < 33; )
|
|
8497
|
-
|
|
8497
|
+
Pt();
|
|
8498
8498
|
return Uo(e) > 2 || Uo(et) > 3 ? "" : " ";
|
|
8499
8499
|
}
|
|
8500
8500
|
function F4(e, t) {
|
|
8501
|
-
for (; --t &&
|
|
8501
|
+
for (; --t && Pt() && !(et < 48 || et > 102 || et > 57 && et < 65 || et > 70 && et < 97); )
|
|
8502
8502
|
;
|
|
8503
|
-
return oi(e, Li() + (t < 6 && pn() == 32 &&
|
|
8503
|
+
return oi(e, Li() + (t < 6 && pn() == 32 && Pt() == 32));
|
|
8504
8504
|
}
|
|
8505
8505
|
function ec(e) {
|
|
8506
|
-
for (;
|
|
8506
|
+
for (; Pt(); )
|
|
8507
8507
|
switch (et) {
|
|
8508
8508
|
case e:
|
|
8509
8509
|
return Rt;
|
|
@@ -8515,28 +8515,28 @@ function ec(e) {
|
|
|
8515
8515
|
e === 41 && ec(e);
|
|
8516
8516
|
break;
|
|
8517
8517
|
case 92:
|
|
8518
|
-
|
|
8518
|
+
Pt();
|
|
8519
8519
|
break;
|
|
8520
8520
|
}
|
|
8521
8521
|
return Rt;
|
|
8522
8522
|
}
|
|
8523
8523
|
function N4(e, t) {
|
|
8524
|
-
for (;
|
|
8524
|
+
for (; Pt() && e + et !== 57; )
|
|
8525
8525
|
if (e + et === 84 && pn() === 47)
|
|
8526
8526
|
break;
|
|
8527
|
-
return "/*" + oi(t, Rt - 1) + "*" + Rs(e === 47 ? e :
|
|
8527
|
+
return "/*" + oi(t, Rt - 1) + "*" + Rs(e === 47 ? e : Pt());
|
|
8528
8528
|
}
|
|
8529
8529
|
function k4(e) {
|
|
8530
8530
|
for (; !Uo(pn()); )
|
|
8531
|
-
|
|
8531
|
+
Pt();
|
|
8532
8532
|
return oi(e, Rt);
|
|
8533
8533
|
}
|
|
8534
|
-
function
|
|
8534
|
+
function M4(e) {
|
|
8535
8535
|
return Nf(Ri("", null, null, null, [""], e = Ff(e), 0, [0], e));
|
|
8536
8536
|
}
|
|
8537
8537
|
function Ri(e, t, n, r, o, i, s, c, l) {
|
|
8538
8538
|
for (var a = 0, u = 0, h = s, g = 0, x = 0, b = 0, d = 1, f = 1, p = 1, y = 0, v = "", E = o, C = i, I = r, A = v; f; )
|
|
8539
|
-
switch (b = y, y =
|
|
8539
|
+
switch (b = y, y = Pt()) {
|
|
8540
8540
|
case 40:
|
|
8541
8541
|
if (b != 108 && lt(A, h - 1) == 58) {
|
|
8542
8542
|
Ka(A += Le(Oi(y), "&", "&\f"), "&\f") != -1 && (p = -1);
|
|
@@ -8560,7 +8560,7 @@ function Ri(e, t, n, r, o, i, s, c, l) {
|
|
|
8560
8560
|
switch (pn()) {
|
|
8561
8561
|
case 42:
|
|
8562
8562
|
case 47:
|
|
8563
|
-
mi(
|
|
8563
|
+
mi(P4(N4(Pt(), Li()), t, n), l);
|
|
8564
8564
|
break;
|
|
8565
8565
|
default:
|
|
8566
8566
|
A += "/";
|
|
@@ -8615,7 +8615,7 @@ function Ri(e, t, n, r, o, i, s, c, l) {
|
|
|
8615
8615
|
c[a++] = (ln(A) - 1) * p, p = 1;
|
|
8616
8616
|
break;
|
|
8617
8617
|
case 64:
|
|
8618
|
-
pn() === 45 && (A += Oi(
|
|
8618
|
+
pn() === 45 && (A += Oi(Pt())), g = pn(), u = h = ln(v = A += k4(Li())), y++;
|
|
8619
8619
|
break;
|
|
8620
8620
|
case 45:
|
|
8621
8621
|
b === 45 && ln(A) == 2 && (d = 0);
|
|
@@ -8629,13 +8629,13 @@ function gu(e, t, n, r, o, i, s, c, l, a, u) {
|
|
|
8629
8629
|
(v = Rf(d > 0 ? g[p] + " " + y : Le(y, /&\f/g, g[p]))) && (l[f++] = v);
|
|
8630
8630
|
return Fs(e, t, n, o === 0 ? Xc : c, l, a, u);
|
|
8631
8631
|
}
|
|
8632
|
-
function
|
|
8632
|
+
function P4(e, t, n) {
|
|
8633
8633
|
return Fs(e, t, n, Lf, Rs(O4()), Zo(e, 2, -2), 0);
|
|
8634
8634
|
}
|
|
8635
8635
|
function mu(e, t, n, r) {
|
|
8636
8636
|
return Fs(e, t, n, zc, Zo(e, 0, r), Zo(e, r + 1, -1), r);
|
|
8637
8637
|
}
|
|
8638
|
-
function
|
|
8638
|
+
function Mr(e, t) {
|
|
8639
8639
|
for (var n = "", r = $c(e), o = 0; o < r; o++)
|
|
8640
8640
|
n += t(e[o], o, e, t) || "";
|
|
8641
8641
|
return n;
|
|
@@ -8650,11 +8650,11 @@ function j4(e, t, n, r) {
|
|
|
8650
8650
|
case Lf:
|
|
8651
8651
|
return "";
|
|
8652
8652
|
case Of:
|
|
8653
|
-
return e.return = e.value + "{" +
|
|
8653
|
+
return e.return = e.value + "{" + Mr(e.children, r) + "}";
|
|
8654
8654
|
case Xc:
|
|
8655
8655
|
e.value = e.props.join(",");
|
|
8656
8656
|
}
|
|
8657
|
-
return ln(n =
|
|
8657
|
+
return ln(n = Mr(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
8658
8658
|
}
|
|
8659
8659
|
function B4(e) {
|
|
8660
8660
|
var t = $c(e);
|
|
@@ -8677,7 +8677,7 @@ function G4(e) {
|
|
|
8677
8677
|
}
|
|
8678
8678
|
var H4 = function(t, n, r) {
|
|
8679
8679
|
for (var o = 0, i = 0; o = i, i = pn(), o === 38 && i === 12 && (n[r] = 1), !Uo(i); )
|
|
8680
|
-
|
|
8680
|
+
Pt();
|
|
8681
8681
|
return oi(t, Rt);
|
|
8682
8682
|
}, W4 = function(t, n) {
|
|
8683
8683
|
var r = -1, o = 44;
|
|
@@ -8697,7 +8697,7 @@ var H4 = function(t, n, r) {
|
|
|
8697
8697
|
default:
|
|
8698
8698
|
t[r] += Rs(o);
|
|
8699
8699
|
}
|
|
8700
|
-
while (o =
|
|
8700
|
+
while (o = Pt());
|
|
8701
8701
|
return t;
|
|
8702
8702
|
}, Z4 = function(t, n) {
|
|
8703
8703
|
return Nf(W4(Ff(t), n));
|
|
@@ -8839,7 +8839,7 @@ var z4 = function(t, n, r, o) {
|
|
|
8839
8839
|
t.return = kf(t.value, t.length);
|
|
8840
8840
|
break;
|
|
8841
8841
|
case Of:
|
|
8842
|
-
return
|
|
8842
|
+
return Mr([Ao(t, {
|
|
8843
8843
|
value: Le(t.value, "@", "@" + Se)
|
|
8844
8844
|
})], o);
|
|
8845
8845
|
case Xc:
|
|
@@ -8847,11 +8847,11 @@ var z4 = function(t, n, r, o) {
|
|
|
8847
8847
|
switch (S4(i, /(::plac\w+|:read-\w+)/)) {
|
|
8848
8848
|
case ":read-only":
|
|
8849
8849
|
case ":read-write":
|
|
8850
|
-
return
|
|
8850
|
+
return Mr([Ao(t, {
|
|
8851
8851
|
props: [Le(i, /:(read-\w+)/, ":" + es + "$1")]
|
|
8852
8852
|
})], o);
|
|
8853
8853
|
case "::placeholder":
|
|
8854
|
-
return
|
|
8854
|
+
return Mr([Ao(t, {
|
|
8855
8855
|
props: [Le(i, /:(plac\w+)/, ":" + Se + "input-$1")]
|
|
8856
8856
|
}), Ao(t, {
|
|
8857
8857
|
props: [Le(i, /:(plac\w+)/, ":" + es + "$1")]
|
|
@@ -8887,7 +8887,7 @@ var z4 = function(t, n, r, o) {
|
|
|
8887
8887
|
var u, h = [j4, V4(function(d) {
|
|
8888
8888
|
u.insert(d);
|
|
8889
8889
|
})], g = B4(a.concat(o, h)), x = function(f) {
|
|
8890
|
-
return
|
|
8890
|
+
return Mr(M4(f), g);
|
|
8891
8891
|
};
|
|
8892
8892
|
l = function(f, p, y, v) {
|
|
8893
8893
|
u = y, x(f ? f + "{" + p.styles + "}" : p.styles), v && (b.inserted[p.name] = !0);
|
|
@@ -9033,7 +9033,7 @@ function Q4() {
|
|
|
9033
9033
|
}
|
|
9034
9034
|
}
|
|
9035
9035
|
}
|
|
9036
|
-
var C = l, I = a, A = c, w = s, _ = t, R = u, L = r, O = b, k = x,
|
|
9036
|
+
var C = l, I = a, A = c, w = s, _ = t, R = u, L = r, O = b, k = x, P = n, V = i, z = o, J = h, Y = !1;
|
|
9037
9037
|
function ee(Z) {
|
|
9038
9038
|
return Y || (Y = !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.")), de(Z) || E(Z) === l;
|
|
9039
9039
|
}
|
|
@@ -9064,7 +9064,7 @@ function Q4() {
|
|
|
9064
9064
|
function se(Z) {
|
|
9065
9065
|
return E(Z) === n;
|
|
9066
9066
|
}
|
|
9067
|
-
function
|
|
9067
|
+
function M(Z) {
|
|
9068
9068
|
return E(Z) === i;
|
|
9069
9069
|
}
|
|
9070
9070
|
function re(Z) {
|
|
@@ -9073,11 +9073,11 @@ function Q4() {
|
|
|
9073
9073
|
function Ee(Z) {
|
|
9074
9074
|
return E(Z) === h;
|
|
9075
9075
|
}
|
|
9076
|
-
Ne.AsyncMode = C, Ne.ConcurrentMode = I, Ne.ContextConsumer = A, Ne.ContextProvider = w, Ne.Element = _, Ne.ForwardRef = R, Ne.Fragment = L, Ne.Lazy = O, Ne.Memo = k, Ne.Portal =
|
|
9076
|
+
Ne.AsyncMode = C, Ne.ConcurrentMode = I, Ne.ContextConsumer = A, Ne.ContextProvider = w, Ne.Element = _, Ne.ForwardRef = R, Ne.Fragment = L, Ne.Lazy = O, Ne.Memo = k, Ne.Portal = P, Ne.Profiler = V, Ne.StrictMode = z, Ne.Suspense = J, Ne.isAsyncMode = ee, Ne.isConcurrentMode = de, Ne.isContextConsumer = ne, Ne.isContextProvider = j, Ne.isElement = H, Ne.isForwardRef = B, Ne.isFragment = W, Ne.isLazy = Q, Ne.isMemo = ie, Ne.isPortal = se, Ne.isProfiler = M, Ne.isStrictMode = re, Ne.isSuspense = Ee, Ne.isValidElementType = v, Ne.typeOf = E;
|
|
9077
9077
|
}()), Ne;
|
|
9078
9078
|
}
|
|
9079
9079
|
process.env.NODE_ENV === "production" ? tc.exports = J4() : tc.exports = Q4();
|
|
9080
|
-
var q4 = tc.exports,
|
|
9080
|
+
var q4 = tc.exports, Mf = q4, K4 = {
|
|
9081
9081
|
$$typeof: !0,
|
|
9082
9082
|
render: !0,
|
|
9083
9083
|
defaultProps: !0,
|
|
@@ -9090,9 +9090,9 @@ var q4 = tc.exports, Pf = q4, K4 = {
|
|
|
9090
9090
|
displayName: !0,
|
|
9091
9091
|
propTypes: !0,
|
|
9092
9092
|
type: !0
|
|
9093
|
-
},
|
|
9094
|
-
Mf
|
|
9095
|
-
Mf
|
|
9093
|
+
}, Pf = {};
|
|
9094
|
+
Pf[Mf.ForwardRef] = K4;
|
|
9095
|
+
Pf[Mf.Memo] = ey;
|
|
9096
9096
|
var ty = !0;
|
|
9097
9097
|
function ny(e, t, n) {
|
|
9098
9098
|
var r = "";
|
|
@@ -9633,9 +9633,9 @@ function ky(e, t, n, r) {
|
|
|
9633
9633
|
}), h == null || h(), (p = x) == null || p.disconnect(), x = null, l && cancelAnimationFrame(b);
|
|
9634
9634
|
};
|
|
9635
9635
|
}
|
|
9636
|
-
var oc = io,
|
|
9636
|
+
var oc = io, My = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], os = function() {
|
|
9637
9637
|
};
|
|
9638
|
-
function
|
|
9638
|
+
function Py(e, t) {
|
|
9639
9639
|
return t ? t[0] === "-" ? e + t : e + "__" + t : e;
|
|
9640
9640
|
}
|
|
9641
9641
|
function jy(e, t) {
|
|
@@ -9644,7 +9644,7 @@ function jy(e, t) {
|
|
|
9644
9644
|
var i = [].concat(r);
|
|
9645
9645
|
if (t && e)
|
|
9646
9646
|
for (var s in t)
|
|
9647
|
-
t.hasOwnProperty(s) && t[s] && i.push("".concat(
|
|
9647
|
+
t.hasOwnProperty(s) && t[s] && i.push("".concat(Py(e, s)));
|
|
9648
9648
|
return i.filter(function(c) {
|
|
9649
9649
|
return c;
|
|
9650
9650
|
}).map(function(c) {
|
|
@@ -9655,7 +9655,7 @@ var is = function(t) {
|
|
|
9655
9655
|
return $y(t) ? t.filter(Boolean) : Cr(t) === "object" && t !== null ? [t] : [];
|
|
9656
9656
|
}, zf = function(t) {
|
|
9657
9657
|
t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
|
|
9658
|
-
var n = tn(t,
|
|
9658
|
+
var n = tn(t, My);
|
|
9659
9659
|
return oe({}, n);
|
|
9660
9660
|
}, $e = function(t, n, r) {
|
|
9661
9661
|
var o = t.cx, i = t.getStyles, s = t.getClassNames, c = t.className;
|
|
@@ -9793,10 +9793,10 @@ function qy(e) {
|
|
|
9793
9793
|
};
|
|
9794
9794
|
}
|
|
9795
9795
|
if (o === "auto" || s) {
|
|
9796
|
-
var
|
|
9797
|
-
return V >= r && (
|
|
9796
|
+
var P = t, V = s ? I : w;
|
|
9797
|
+
return V >= r && (P = Math.min(V - E - c, t)), {
|
|
9798
9798
|
placement: "top",
|
|
9799
|
-
maxHeight:
|
|
9799
|
+
maxHeight: P
|
|
9800
9800
|
};
|
|
9801
9801
|
}
|
|
9802
9802
|
if (o === "bottom")
|
|
@@ -9938,7 +9938,7 @@ var Jf = function(t) {
|
|
|
9938
9938
|
zIndex: 1
|
|
9939
9939
|
};
|
|
9940
9940
|
}, d9 = function(t) {
|
|
9941
|
-
var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, s = t.menuPlacement, c = t.menuPosition, l = ye(null), a = ye(null), u = U(Jf(s)), h = st(u, 2), g = h[0], x = h[1], b =
|
|
9941
|
+
var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, s = t.menuPlacement, c = t.menuPosition, l = ye(null), a = ye(null), u = U(Jf(s)), h = st(u, 2), g = h[0], x = h[1], b = Pe(function() {
|
|
9942
9942
|
return {
|
|
9943
9943
|
setPortalPlacement: x
|
|
9944
9944
|
};
|
|
@@ -10194,7 +10194,7 @@ var x9 = process.env.NODE_ENV === "production" ? {
|
|
|
10194
10194
|
paddingBottom: r.baseUnit * 2,
|
|
10195
10195
|
paddingTop: r.baseUnit * 2
|
|
10196
10196
|
};
|
|
10197
|
-
},
|
|
10197
|
+
}, M9 = function(t) {
|
|
10198
10198
|
var n = t.children, r = t.cx, o = t.getStyles, i = t.getClassNames, s = t.Heading, c = t.headingProps, l = t.innerProps, a = t.label, u = t.theme, h = t.selectProps;
|
|
10199
10199
|
return ce("div", le({}, $e(t, "group", {
|
|
10200
10200
|
group: !0
|
|
@@ -10205,7 +10205,7 @@ var x9 = process.env.NODE_ENV === "production" ? {
|
|
|
10205
10205
|
getClassNames: i,
|
|
10206
10206
|
cx: r
|
|
10207
10207
|
}), a), ce("div", null, n));
|
|
10208
|
-
},
|
|
10208
|
+
}, P9 = function(t, n) {
|
|
10209
10209
|
var r = t.theme, o = r.colors, i = r.spacing;
|
|
10210
10210
|
return oe({
|
|
10211
10211
|
label: "group",
|
|
@@ -10227,7 +10227,7 @@ var x9 = process.env.NODE_ENV === "production" ? {
|
|
|
10227
10227
|
return ce("div", le({}, $e(t, "groupHeading", {
|
|
10228
10228
|
"group-heading": !0
|
|
10229
10229
|
}), r));
|
|
10230
|
-
}, B9 =
|
|
10230
|
+
}, B9 = M9, V9 = ["innerRef", "isDisabled", "isHidden", "inputClassName"], G9 = function(t, n) {
|
|
10231
10231
|
var r = t.isDisabled, o = t.value, i = t.theme, s = i.spacing, c = i.colors;
|
|
10232
10232
|
return oe(oe({
|
|
10233
10233
|
visibility: r ? "hidden" : "visible",
|
|
@@ -10544,9 +10544,9 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10544
10544
|
return "".concat(r).concat(n ? " for search term " + n : "", ".");
|
|
10545
10545
|
}
|
|
10546
10546
|
}, bC = function(t) {
|
|
10547
|
-
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, i = t.focusableOptions, s = t.isFocused, c = t.selectValue, l = t.selectProps, a = t.id, u = t.isAppleDevice, h = l.ariaLiveMessages, g = l.getOptionLabel, x = l.inputValue, b = l.isMulti, d = l.isOptionDisabled, f = l.isSearchable, p = l.menuIsOpen, y = l.options, v = l.screenReaderStatus, E = l.tabSelectsValue, C = l.isLoading, I = l["aria-label"], A = l["aria-live"], w =
|
|
10547
|
+
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, i = t.focusableOptions, s = t.isFocused, c = t.selectValue, l = t.selectProps, a = t.id, u = t.isAppleDevice, h = l.ariaLiveMessages, g = l.getOptionLabel, x = l.inputValue, b = l.isMulti, d = l.isOptionDisabled, f = l.isSearchable, p = l.menuIsOpen, y = l.options, v = l.screenReaderStatus, E = l.tabSelectsValue, C = l.isLoading, I = l["aria-label"], A = l["aria-live"], w = Pe(function() {
|
|
10548
10548
|
return oe(oe({}, mC), h || {});
|
|
10549
|
-
}, [h]), _ =
|
|
10549
|
+
}, [h]), _ = Pe(function() {
|
|
10550
10550
|
var V = "";
|
|
10551
10551
|
if (n && w.onChange) {
|
|
10552
10552
|
var z = n.option, J = n.options, Y = n.removedValue, ee = n.removedValues, de = n.value, ne = function(se) {
|
|
@@ -10561,7 +10561,7 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10561
10561
|
V = w.onChange(Q);
|
|
10562
10562
|
}
|
|
10563
10563
|
return V;
|
|
10564
|
-
}, [n, w, d, c, g]), R =
|
|
10564
|
+
}, [n, w, d, c, g]), R = Pe(function() {
|
|
10565
10565
|
var V = "", z = r || o, J = !!(r && c && c.includes(r));
|
|
10566
10566
|
if (z && w.onFocus) {
|
|
10567
10567
|
var Y = {
|
|
@@ -10577,7 +10577,7 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10577
10577
|
V = w.onFocus(Y);
|
|
10578
10578
|
}
|
|
10579
10579
|
return V;
|
|
10580
|
-
}, [r, o, g, d, w, i, c, u]), L =
|
|
10580
|
+
}, [r, o, g, d, w, i, c, u]), L = Pe(function() {
|
|
10581
10581
|
var V = "";
|
|
10582
10582
|
if (p && y.length && !C && w.onFilter) {
|
|
10583
10583
|
var z = v({
|
|
@@ -10589,7 +10589,7 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10589
10589
|
});
|
|
10590
10590
|
}
|
|
10591
10591
|
return V;
|
|
10592
|
-
}, [i, x, p, w, y, v, C]), O = (n == null ? void 0 : n.action) === "initial-input-focus", k =
|
|
10592
|
+
}, [i, x, p, w, y, v, C]), O = (n == null ? void 0 : n.action) === "initial-input-focus", k = Pe(function() {
|
|
10593
10593
|
var V = "";
|
|
10594
10594
|
if (w.guidance) {
|
|
10595
10595
|
var z = o ? "value" : p ? "menu" : "input";
|
|
@@ -10604,7 +10604,7 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10604
10604
|
});
|
|
10605
10605
|
}
|
|
10606
10606
|
return V;
|
|
10607
|
-
}, [I, r, o, b, d, f, p, w, c, E, O]),
|
|
10607
|
+
}, [I, r, o, b, d, f, p, w, c, E, O]), P = ce(Ea, null, ce("span", {
|
|
10608
10608
|
id: "aria-selection"
|
|
10609
10609
|
}, _), ce("span", {
|
|
10610
10610
|
id: "aria-focused"
|
|
@@ -10615,12 +10615,12 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10615
10615
|
}, k));
|
|
10616
10616
|
return ce(Ea, null, ce(Ou, {
|
|
10617
10617
|
id: a
|
|
10618
|
-
}, O &&
|
|
10618
|
+
}, O && P), ce(Ou, {
|
|
10619
10619
|
"aria-live": A,
|
|
10620
10620
|
"aria-atomic": "false",
|
|
10621
10621
|
"aria-relevant": "additions text",
|
|
10622
10622
|
role: "log"
|
|
10623
|
-
}, s && !O &&
|
|
10623
|
+
}, s && !O && P));
|
|
10624
10624
|
}, vC = bC, ic = [{
|
|
10625
10625
|
base: "A",
|
|
10626
10626
|
letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
|
|
@@ -10978,11 +10978,11 @@ function Nu(e) {
|
|
|
10978
10978
|
function ku(e) {
|
|
10979
10979
|
e.stopPropagation();
|
|
10980
10980
|
}
|
|
10981
|
-
function
|
|
10981
|
+
function Mu() {
|
|
10982
10982
|
var e = this.scrollTop, t = this.scrollHeight, n = e + this.offsetHeight;
|
|
10983
10983
|
e === 0 ? this.scrollTop = 1 : n === t && (this.scrollTop = e - 1);
|
|
10984
10984
|
}
|
|
10985
|
-
function
|
|
10985
|
+
function Pu() {
|
|
10986
10986
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
10987
10987
|
}
|
|
10988
10988
|
var ju = !!(typeof window < "u" && window.document && window.document.createElement), _o = 0, Rr = {
|
|
@@ -11003,7 +11003,7 @@ function TC(e) {
|
|
|
11003
11003
|
u && (u[b] = d);
|
|
11004
11004
|
}), u && (u.paddingRight = "".concat(x, "px"));
|
|
11005
11005
|
}
|
|
11006
|
-
a &&
|
|
11006
|
+
a && Pu() && (a.addEventListener("touchmove", Nu, Rr), l && (l.addEventListener("touchstart", Mu, Rr), l.addEventListener("touchmove", ku, Rr))), _o += 1;
|
|
11007
11007
|
}
|
|
11008
11008
|
}, [r]), c = Te(function(l) {
|
|
11009
11009
|
if (ju) {
|
|
@@ -11011,7 +11011,7 @@ function TC(e) {
|
|
|
11011
11011
|
_o = Math.max(_o - 1, 0), r && _o < 1 && Du.forEach(function(h) {
|
|
11012
11012
|
var g = o.current[h];
|
|
11013
11013
|
u && (u[h] = g);
|
|
11014
|
-
}), a &&
|
|
11014
|
+
}), a && Pu() && (a.removeEventListener("touchmove", Nu, Rr), l && (l.removeEventListener("touchstart", Mu, Rr), l.removeEventListener("touchmove", ku, Rr)));
|
|
11015
11015
|
}
|
|
11016
11016
|
}, [r]);
|
|
11017
11017
|
return pe(function() {
|
|
@@ -11086,18 +11086,18 @@ function tl(e) {
|
|
|
11086
11086
|
var t;
|
|
11087
11087
|
return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
|
|
11088
11088
|
}
|
|
11089
|
-
function
|
|
11089
|
+
function MC() {
|
|
11090
11090
|
return tl(/^iPhone/i);
|
|
11091
11091
|
}
|
|
11092
11092
|
function s1() {
|
|
11093
11093
|
return tl(/^Mac/i);
|
|
11094
11094
|
}
|
|
11095
|
-
function
|
|
11095
|
+
function PC() {
|
|
11096
11096
|
return tl(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
11097
11097
|
s1() && navigator.maxTouchPoints > 1;
|
|
11098
11098
|
}
|
|
11099
11099
|
function jC() {
|
|
11100
|
-
return
|
|
11100
|
+
return MC() || PC();
|
|
11101
11101
|
}
|
|
11102
11102
|
function BC() {
|
|
11103
11103
|
return s1() || jC();
|
|
@@ -11116,7 +11116,7 @@ var VC = function(t) {
|
|
|
11116
11116
|
control: R9,
|
|
11117
11117
|
dropdownIndicator: E9,
|
|
11118
11118
|
group: k9,
|
|
11119
|
-
groupHeading:
|
|
11119
|
+
groupHeading: P9,
|
|
11120
11120
|
indicatorsContainer: m9,
|
|
11121
11121
|
indicatorSeparator: _9,
|
|
11122
11122
|
input: G9,
|
|
@@ -11312,7 +11312,7 @@ function p1(e, t, n) {
|
|
|
11312
11312
|
var g1 = function(t) {
|
|
11313
11313
|
var n = t.hideSelectedOptions, r = t.isMulti;
|
|
11314
11314
|
return n === void 0 ? r : n;
|
|
11315
|
-
}, qC = 1,
|
|
11315
|
+
}, qC = 1, Ms = /* @__PURE__ */ function(e) {
|
|
11316
11316
|
f4(n, e);
|
|
11317
11317
|
var t = g4(n);
|
|
11318
11318
|
function n(r) {
|
|
@@ -11995,10 +11995,10 @@ var g1 = function(t) {
|
|
|
11995
11995
|
}, {
|
|
11996
11996
|
key: "renderMenu",
|
|
11997
11997
|
value: function() {
|
|
11998
|
-
var o = this, i = this.getComponents(), s = i.Group, c = i.GroupHeading, l = i.Menu, a = i.MenuList, u = i.MenuPortal, h = i.LoadingMessage, g = i.NoOptionsMessage, x = i.Option, b = this.commonProps, d = this.state.focusedOption, f = this.props, p = f.captureMenuScroll, y = f.inputValue, v = f.isLoading, E = f.loadingMessage, C = f.minMenuHeight, I = f.maxMenuHeight, A = f.menuIsOpen, w = f.menuPlacement, _ = f.menuPosition, R = f.menuPortalTarget, L = f.menuShouldBlockScroll, O = f.menuShouldScrollIntoView, k = f.noOptionsMessage,
|
|
11998
|
+
var o = this, i = this.getComponents(), s = i.Group, c = i.GroupHeading, l = i.Menu, a = i.MenuList, u = i.MenuPortal, h = i.LoadingMessage, g = i.NoOptionsMessage, x = i.Option, b = this.commonProps, d = this.state.focusedOption, f = this.props, p = f.captureMenuScroll, y = f.inputValue, v = f.isLoading, E = f.loadingMessage, C = f.minMenuHeight, I = f.maxMenuHeight, A = f.menuIsOpen, w = f.menuPlacement, _ = f.menuPosition, R = f.menuPortalTarget, L = f.menuShouldBlockScroll, O = f.menuShouldScrollIntoView, k = f.noOptionsMessage, P = f.onMenuScrollToTop, V = f.onMenuScrollToBottom;
|
|
11999
11999
|
if (!A) return null;
|
|
12000
12000
|
var z = function(H, B) {
|
|
12001
|
-
var W = H.type, Q = H.data, ie = H.isDisabled, se = H.isSelected,
|
|
12001
|
+
var W = H.type, Q = H.data, ie = H.isDisabled, se = H.isSelected, M = H.label, re = H.value, Ee = d === Q, Z = ie ? void 0 : function() {
|
|
12002
12002
|
return o.onOptionHover(Q);
|
|
12003
12003
|
}, Ze = ie ? void 0 : function() {
|
|
12004
12004
|
return o.selectOption(Q);
|
|
@@ -12018,7 +12018,7 @@ var g1 = function(t) {
|
|
|
12018
12018
|
isDisabled: ie,
|
|
12019
12019
|
isSelected: se,
|
|
12020
12020
|
key: je,
|
|
12021
|
-
label:
|
|
12021
|
+
label: M,
|
|
12022
12022
|
type: W,
|
|
12023
12023
|
value: re,
|
|
12024
12024
|
isFocused: Ee,
|
|
@@ -12076,13 +12076,13 @@ var g1 = function(t) {
|
|
|
12076
12076
|
placement: W
|
|
12077
12077
|
}), /* @__PURE__ */ D.createElement(RC, {
|
|
12078
12078
|
captureEnabled: p,
|
|
12079
|
-
onTopArrive:
|
|
12079
|
+
onTopArrive: P,
|
|
12080
12080
|
onBottomArrive: V,
|
|
12081
12081
|
lockEnabled: L
|
|
12082
12082
|
}, function(ie) {
|
|
12083
12083
|
return /* @__PURE__ */ D.createElement(a, le({}, b, {
|
|
12084
|
-
innerRef: function(
|
|
12085
|
-
o.getMenuListRef(
|
|
12084
|
+
innerRef: function(M) {
|
|
12085
|
+
o.getMenuListRef(M), ie(M);
|
|
12086
12086
|
},
|
|
12087
12087
|
innerProps: {
|
|
12088
12088
|
role: "listbox",
|
|
@@ -12219,10 +12219,10 @@ var g1 = function(t) {
|
|
|
12219
12219
|
}
|
|
12220
12220
|
}]), n;
|
|
12221
12221
|
}(kh);
|
|
12222
|
-
|
|
12222
|
+
Ms.defaultProps = $C;
|
|
12223
12223
|
var KC = /* @__PURE__ */ ds(function(e, t) {
|
|
12224
12224
|
var n = Uc(e);
|
|
12225
|
-
return /* @__PURE__ */ D.createElement(
|
|
12225
|
+
return /* @__PURE__ */ D.createElement(Ms, le({
|
|
12226
12226
|
ref: t
|
|
12227
12227
|
}, n));
|
|
12228
12228
|
}), e6 = KC;
|
|
@@ -12336,7 +12336,7 @@ const r6 = F(fe)`
|
|
|
12336
12336
|
isMulti: t,
|
|
12337
12337
|
isScrollTarget: n
|
|
12338
12338
|
}) => {
|
|
12339
|
-
const r = ye(), o =
|
|
12339
|
+
const r = ye(), o = Pe(() => e ? Object.fromEntries(e.map((c) => [c.value, c])) : {}, [e]);
|
|
12340
12340
|
return {
|
|
12341
12341
|
optionsMap: o,
|
|
12342
12342
|
getValue: (c) => {
|
|
@@ -12386,8 +12386,8 @@ var x1 = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(x1 || {}), c6 = ["d
|
|
|
12386
12386
|
function E1(e) {
|
|
12387
12387
|
var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, i = e.loadOptions;
|
|
12388
12388
|
e.options;
|
|
12389
|
-
var s = e.isLoading, c = s === void 0 ? !1 : s, l = e.onInputChange, a = e.filterOption, u = a === void 0 ? null : a, h = tn(e, c6), g = h.inputValue, x = ye(void 0), b = ye(!1), d = U(Array.isArray(n) ? n : void 0), f = st(d, 2), p = f[0], y = f[1], v = U(typeof g < "u" ? g : ""), E = st(v, 2), C = E[0], I = E[1], A = U(n === !0), w = st(A, 2), _ = w[0], R = w[1], L = U(void 0), O = st(L, 2), k = O[0],
|
|
12390
|
-
o !== Ze && (Q({}), je(o)), n !==
|
|
12389
|
+
var s = e.isLoading, c = s === void 0 ? !1 : s, l = e.onInputChange, a = e.filterOption, u = a === void 0 ? null : a, h = tn(e, c6), g = h.inputValue, x = ye(void 0), b = ye(!1), d = U(Array.isArray(n) ? n : void 0), f = st(d, 2), p = f[0], y = f[1], v = U(typeof g < "u" ? g : ""), E = st(v, 2), C = E[0], I = E[1], A = U(n === !0), w = st(A, 2), _ = w[0], R = w[1], L = U(void 0), O = st(L, 2), k = O[0], P = O[1], V = U([]), z = st(V, 2), J = z[0], Y = z[1], ee = U(!1), de = st(ee, 2), ne = de[0], j = de[1], H = U({}), B = st(H, 2), W = B[0], Q = B[1], ie = U(void 0), se = st(ie, 2), M = se[0], re = se[1], Ee = U(void 0), Z = st(Ee, 2), Ze = Z[0], je = Z[1];
|
|
12390
|
+
o !== Ze && (Q({}), je(o)), n !== M && (y(Array.isArray(n) ? n : void 0), re(n)), pe(function() {
|
|
12391
12391
|
return b.current = !0, function() {
|
|
12392
12392
|
b.current = !1;
|
|
12393
12393
|
};
|
|
@@ -12407,15 +12407,15 @@ function E1(e) {
|
|
|
12407
12407
|
var dt = Te(function(bt, ft) {
|
|
12408
12408
|
var Je = By(bt, ft, l);
|
|
12409
12409
|
if (!Je) {
|
|
12410
|
-
x.current = void 0, I(""),
|
|
12410
|
+
x.current = void 0, I(""), P(""), Y([]), R(!1), j(!1);
|
|
12411
12411
|
return;
|
|
12412
12412
|
}
|
|
12413
12413
|
if (o && W[Je])
|
|
12414
|
-
I(Je),
|
|
12414
|
+
I(Je), P(Je), Y(W[Je]), R(!1), j(!1);
|
|
12415
12415
|
else {
|
|
12416
12416
|
var Yn = x.current = {};
|
|
12417
12417
|
I(Je), R(!0), j(!k), nt(Je, function(Gt) {
|
|
12418
|
-
b && Yn === x.current && (x.current = void 0, R(!1),
|
|
12418
|
+
b && Yn === x.current && (x.current = void 0, R(!1), P(Je), Y(Gt || []), j(!1), Q(Gt ? oe(oe({}, W), {}, Fr({}, Je, Gt)) : W));
|
|
12419
12419
|
});
|
|
12420
12420
|
}
|
|
12421
12421
|
}, [o, nt, k, W, l]), nn = ne ? [] : C && k ? J : p || [];
|
|
@@ -12428,7 +12428,7 @@ function E1(e) {
|
|
|
12428
12428
|
}
|
|
12429
12429
|
var l6 = /* @__PURE__ */ ds(function(e, t) {
|
|
12430
12430
|
var n = E1(e), r = Uc(n);
|
|
12431
|
-
return /* @__PURE__ */ D.createElement(
|
|
12431
|
+
return /* @__PURE__ */ D.createElement(Ms, le({
|
|
12432
12432
|
ref: t
|
|
12433
12433
|
}, r));
|
|
12434
12434
|
}), u6 = l6, d6 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], Wu = function() {
|
|
@@ -12454,18 +12454,18 @@ var l6 = /* @__PURE__ */ ds(function(e, t) {
|
|
|
12454
12454
|
}
|
|
12455
12455
|
};
|
|
12456
12456
|
function f6(e) {
|
|
12457
|
-
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? ha.formatCreateLabel : i, c = e.isValidNewOption, l = c === void 0 ? ha.isValidNewOption : c, a = e.getNewOptionData, u = a === void 0 ? ha.getNewOptionData : a, h = e.onCreateOption, g = e.options, x = g === void 0 ? [] : g, b = e.onChange, d = tn(e, d6), f = d.getOptionValue, p = f === void 0 ? c1 : f, y = d.getOptionLabel, v = y === void 0 ? a1 : y, E = d.inputValue, C = d.isLoading, I = d.isMulti, A = d.value, w = d.name, _ =
|
|
12457
|
+
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? ha.formatCreateLabel : i, c = e.isValidNewOption, l = c === void 0 ? ha.isValidNewOption : c, a = e.getNewOptionData, u = a === void 0 ? ha.getNewOptionData : a, h = e.onCreateOption, g = e.options, x = g === void 0 ? [] : g, b = e.onChange, d = tn(e, d6), f = d.getOptionValue, p = f === void 0 ? c1 : f, y = d.getOptionLabel, v = y === void 0 ? a1 : y, E = d.inputValue, C = d.isLoading, I = d.isMulti, A = d.value, w = d.name, _ = Pe(function() {
|
|
12458
12458
|
return l(E, is(A), x, {
|
|
12459
12459
|
getOptionValue: p,
|
|
12460
12460
|
getOptionLabel: v
|
|
12461
12461
|
}) ? u(E, s(E)) : void 0;
|
|
12462
|
-
}, [s, u, v, p, E, l, x, A]), R =
|
|
12462
|
+
}, [s, u, v, p, E, l, x, A]), R = Pe(function() {
|
|
12463
12463
|
return (n || !C) && _ ? o === "first" ? [_].concat(kr(x)) : [].concat(kr(x), [_]) : x;
|
|
12464
12464
|
}, [n, o, C, _, x]), L = Te(function(O, k) {
|
|
12465
12465
|
if (k.action !== "select-option")
|
|
12466
12466
|
return b(O, k);
|
|
12467
|
-
var
|
|
12468
|
-
if (
|
|
12467
|
+
var P = Array.isArray(O) ? O : [O];
|
|
12468
|
+
if (P[P.length - 1] === _) {
|
|
12469
12469
|
if (h) h(E);
|
|
12470
12470
|
else {
|
|
12471
12471
|
var V = u(E, E), z = {
|
|
@@ -12486,7 +12486,7 @@ function f6(e) {
|
|
|
12486
12486
|
}
|
|
12487
12487
|
var h6 = /* @__PURE__ */ ds(function(e, t) {
|
|
12488
12488
|
var n = E1(e), r = Uc(n), o = f6(r);
|
|
12489
|
-
return /* @__PURE__ */ D.createElement(
|
|
12489
|
+
return /* @__PURE__ */ D.createElement(Ms, le({
|
|
12490
12490
|
ref: t
|
|
12491
12491
|
}, o));
|
|
12492
12492
|
}), p6 = h6;
|
|
@@ -12521,41 +12521,41 @@ function y6({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
12521
12521
|
isApiSearchEnabled: x = !1,
|
|
12522
12522
|
isInfiniteScrollable: b = !1,
|
|
12523
12523
|
loadOptionsOnFocus: d = !1
|
|
12524
|
-
} = n, { getValue: f, closeMenuOnScroll: p } = y1({ options: r, isMulti: u, isScrollTarget: t }), y = (k,
|
|
12525
|
-
(k,
|
|
12524
|
+
} = n, { getValue: f, closeMenuOnScroll: p } = y1({ options: r, isMulti: u, isScrollTarget: t }), y = (k, P, V) => (a.current && a.current.abort("stale data"), a.current = new AbortController(), g == null ? void 0 : g(k, P, V, a.current)), v = m6(
|
|
12525
|
+
(k, P) => {
|
|
12526
12526
|
if (s(k), r.length > 0 && !x) {
|
|
12527
12527
|
const z = r.filter((J) => J && typeof J == "object" && "label" in J && typeof J.label == "string" ? J.label.toLowerCase().includes(k.toLowerCase()) : !1);
|
|
12528
|
-
|
|
12528
|
+
P(z);
|
|
12529
12529
|
return;
|
|
12530
12530
|
}
|
|
12531
12531
|
const V = (z) => {
|
|
12532
|
-
|
|
12532
|
+
P(z), o(z);
|
|
12533
12533
|
};
|
|
12534
12534
|
y == null || y(k, V, !1);
|
|
12535
12535
|
},
|
|
12536
12536
|
300
|
|
12537
|
-
), E = (k,
|
|
12538
|
-
l(!1), !(
|
|
12537
|
+
), E = (k, P) => {
|
|
12538
|
+
l(!1), !(P && "isError" in P && P.isError) && o(k);
|
|
12539
12539
|
}, C = (k) => {
|
|
12540
|
-
var
|
|
12541
|
-
(
|
|
12542
|
-
}, I = (k,
|
|
12540
|
+
var P;
|
|
12541
|
+
(P = n.onMenuScrollToBottom) == null || P.call(n, k), b && g && !c && (l(!0), y(i, E, !0));
|
|
12542
|
+
}, I = (k, P) => {
|
|
12543
12543
|
var V;
|
|
12544
|
-
(V = n.onInputChange) == null || V.call(n, k,
|
|
12544
|
+
(V = n.onInputChange) == null || V.call(n, k, P), P.action === "input-change" && x && (s(k), o([]), k || (l(!0), v(k, E)));
|
|
12545
12545
|
}, A = (k) => {
|
|
12546
|
-
var
|
|
12547
|
-
s(""), (
|
|
12546
|
+
var P;
|
|
12547
|
+
s(""), (P = n.onBlur) == null || P.call(n, k);
|
|
12548
12548
|
}, w = (k) => {
|
|
12549
|
-
var
|
|
12550
|
-
(
|
|
12551
|
-
}, _ = (k) => (
|
|
12549
|
+
var P;
|
|
12550
|
+
(P = n.onFocus) == null || P.call(n, k), !c && d && (o([]), l(!0), y == null || y(i, E, !1));
|
|
12551
|
+
}, _ = (k) => (P) => {
|
|
12552
12552
|
var z;
|
|
12553
|
-
const V =
|
|
12553
|
+
const V = P.find((J) => J.label === k);
|
|
12554
12554
|
!n.isMulti && V && ((z = n.onChange) == null || z.call(n, V, {
|
|
12555
12555
|
action: "select-option",
|
|
12556
12556
|
name: n.name,
|
|
12557
12557
|
option: V
|
|
12558
|
-
})), o(
|
|
12558
|
+
})), o(P), l(!1);
|
|
12559
12559
|
}, R = (k) => {
|
|
12560
12560
|
l(!0), h == null || h(k, _(k));
|
|
12561
12561
|
}, L = () => {
|
|
@@ -12594,7 +12594,7 @@ function y6({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
12594
12594
|
}
|
|
12595
12595
|
);
|
|
12596
12596
|
}
|
|
12597
|
-
const ho = "table-cell-form-field",
|
|
12597
|
+
const ho = "table-cell-form-field", Ps = "60px", js = "24px", C6 = F(fe)`
|
|
12598
12598
|
width: 100%;
|
|
12599
12599
|
`, x6 = F(fe)`
|
|
12600
12600
|
width: 100%;
|
|
@@ -12688,7 +12688,7 @@ const ho = "table-cell-form-field", Ms = "60px", js = "24px", C6 = F(fe)`
|
|
|
12688
12688
|
font-weight: bold;
|
|
12689
12689
|
`, S6 = F(Wh)`
|
|
12690
12690
|
&.${ho} .MuiInputBase-root {
|
|
12691
|
-
height: ${
|
|
12691
|
+
height: ${Ps};
|
|
12692
12692
|
border: 0;
|
|
12693
12693
|
padding-left: ${js};
|
|
12694
12694
|
}
|
|
@@ -12741,7 +12741,7 @@ function L6(e) {
|
|
|
12741
12741
|
}
|
|
12742
12742
|
const O6 = F(Xh)`
|
|
12743
12743
|
&.${ho} {
|
|
12744
|
-
--v-margin: calc((${
|
|
12744
|
+
--v-margin: calc((${Ps} - 36px) / 2);
|
|
12745
12745
|
--h-margin: calc((100% - 36px) / 2);
|
|
12746
12746
|
margin: var(--v-margin) var(--h-margin);
|
|
12747
12747
|
}
|
|
@@ -12799,7 +12799,7 @@ const O6 = F(Xh)`
|
|
|
12799
12799
|
onFocus: x,
|
|
12800
12800
|
onValidationError: b
|
|
12801
12801
|
}) => {
|
|
12802
|
-
const d = t ?? [], f = (o == null ? void 0 : o.validations) ?? {}, p = ye(), y = ye({}), [v, E] = U({}), { colsLength: C, colsTemplate: I, colWidth: A } =
|
|
12802
|
+
const d = t ?? [], f = (o == null ? void 0 : o.validations) ?? {}, p = ye(), y = ye({}), [v, E] = U({}), { colsLength: C, colsTemplate: I, colWidth: A } = Pe(() => {
|
|
12803
12803
|
let j = 0, H = "";
|
|
12804
12804
|
for (const B of r) {
|
|
12805
12805
|
let W = B.cols ? Number(B.cols) : 1;
|
|
@@ -12810,7 +12810,7 @@ const O6 = F(Xh)`
|
|
|
12810
12810
|
colsTemplate: H.trim(),
|
|
12811
12811
|
colWidth: `${isNaN(c) ? T1 : c}px`
|
|
12812
12812
|
};
|
|
12813
|
-
}, [r, c, s]), { fieldDependency: w, fieldConfigs: _ } =
|
|
12813
|
+
}, [r, c, s]), { fieldDependency: w, fieldConfigs: _ } = Pe(() => {
|
|
12814
12814
|
const j = {}, H = {};
|
|
12815
12815
|
for (const B of r) {
|
|
12816
12816
|
if (!B.valueConfig)
|
|
@@ -12855,7 +12855,7 @@ const O6 = F(Xh)`
|
|
|
12855
12855
|
}, k = (j, { columnNames: H = [], operationType: B }) => {
|
|
12856
12856
|
const W = H.map((Q) => j[Q]);
|
|
12857
12857
|
return "" + du(W, B);
|
|
12858
|
-
},
|
|
12858
|
+
}, P = (j, H) => {
|
|
12859
12859
|
const B = d.map((W) => j !== W[rr] ? W : {
|
|
12860
12860
|
...W,
|
|
12861
12861
|
...H
|
|
@@ -12878,13 +12878,13 @@ const O6 = F(Xh)`
|
|
|
12878
12878
|
[H]: Q
|
|
12879
12879
|
};
|
|
12880
12880
|
if (w[H])
|
|
12881
|
-
for (const
|
|
12882
|
-
const re = k(ie, _[
|
|
12883
|
-
ie[
|
|
12881
|
+
for (const M of w[H]) {
|
|
12882
|
+
const re = k(ie, _[M]);
|
|
12883
|
+
ie[M] = re;
|
|
12884
12884
|
}
|
|
12885
|
-
|
|
12885
|
+
P(j, ie);
|
|
12886
12886
|
}, J = (j, H, B) => {
|
|
12887
|
-
|
|
12887
|
+
P(j, { [H]: B });
|
|
12888
12888
|
}, Y = (j, H, B, W) => {
|
|
12889
12889
|
if (B && typeof B == "object" && "value" in B && typeof B.value == "string" && typeof W.name < "u") {
|
|
12890
12890
|
const Q = "prefillValues" in B && B.prefillValues, ie = {
|
|
@@ -12894,15 +12894,15 @@ const O6 = F(Xh)`
|
|
|
12894
12894
|
};
|
|
12895
12895
|
for (const se in ie)
|
|
12896
12896
|
if (w[se])
|
|
12897
|
-
for (const
|
|
12898
|
-
const re = k(ie, _[
|
|
12899
|
-
ie[
|
|
12897
|
+
for (const M of w[se]) {
|
|
12898
|
+
const re = k(ie, _[M]);
|
|
12899
|
+
ie[M] = re;
|
|
12900
12900
|
}
|
|
12901
|
-
|
|
12901
|
+
P(j, ie);
|
|
12902
12902
|
}
|
|
12903
12903
|
(W == null ? void 0 : W.action) === "clear" && W.name && V(j, [W.name]);
|
|
12904
12904
|
}, ee = (j, H, B) => {
|
|
12905
|
-
|
|
12905
|
+
P(j, { [H]: (B == null ? void 0 : B.toISOString()) ?? "" });
|
|
12906
12906
|
}, de = (j, H, B, W) => {
|
|
12907
12907
|
W && E((Q) => {
|
|
12908
12908
|
const ie = Q[j] ?? {};
|
|
@@ -12932,7 +12932,7 @@ const O6 = F(Xh)`
|
|
|
12932
12932
|
inputChangeHandler: (se) => z(j, B, H, se),
|
|
12933
12933
|
checkboxChangeHandler: (...se) => J(j, B, se[1]),
|
|
12934
12934
|
selectChangeHandler: (...se) => Y(j, H, ...se),
|
|
12935
|
-
dateChangeHandler: (se,
|
|
12935
|
+
dateChangeHandler: (se, M) => ee(j, se, M),
|
|
12936
12936
|
onValidationError: (...se) => de(j, ...se),
|
|
12937
12937
|
fetchConfig: a == null ? void 0 : a[B],
|
|
12938
12938
|
createConfig: u == null ? void 0 : u[B],
|
|
@@ -12961,7 +12961,7 @@ const O6 = F(Xh)`
|
|
|
12961
12961
|
" "
|
|
12962
12962
|
] }),
|
|
12963
12963
|
/* @__PURE__ */ m.jsx("span", { children: du(
|
|
12964
|
-
d.map((
|
|
12964
|
+
d.map((M) => M[H]),
|
|
12965
12965
|
B
|
|
12966
12966
|
) }),
|
|
12967
12967
|
/* @__PURE__ */ m.jsx("span", { children: n[se] ?? ie })
|
|
@@ -12980,7 +12980,7 @@ const F6 = F(fe)`
|
|
|
12980
12980
|
}
|
|
12981
12981
|
`, N6 = F(zh)`
|
|
12982
12982
|
&.${ho} {
|
|
12983
|
-
height: ${
|
|
12983
|
+
height: ${Ps};
|
|
12984
12984
|
position: relative;
|
|
12985
12985
|
& > div {
|
|
12986
12986
|
height: 100%;
|
|
@@ -13003,7 +13003,7 @@ const F6 = F(fe)`
|
|
|
13003
13003
|
r.currentTarget && r.currentTarget.blur(), r.stopPropagation();
|
|
13004
13004
|
};
|
|
13005
13005
|
return /* @__PURE__ */ m.jsx(F6, { children: /* @__PURE__ */ m.jsx(N6, { ...t, inputProps: { onWheel: n, ...e } }) });
|
|
13006
|
-
},
|
|
13006
|
+
}, M6 = F(k6)`
|
|
13007
13007
|
& .MuiFormHelperText-root {
|
|
13008
13008
|
position: absolute;
|
|
13009
13009
|
bottom: -24px;
|
|
@@ -13118,7 +13118,7 @@ const F6 = F(fe)`
|
|
|
13118
13118
|
}
|
|
13119
13119
|
|
|
13120
13120
|
& .${ho} {
|
|
13121
|
-
height: ${
|
|
13121
|
+
height: ${Ps};
|
|
13122
13122
|
.hiverFormField__control {
|
|
13123
13123
|
height: 100%;
|
|
13124
13124
|
border: 0;
|
|
@@ -13142,7 +13142,7 @@ const F6 = F(fe)`
|
|
|
13142
13142
|
&.helper--error {
|
|
13143
13143
|
color: #d32f2f;
|
|
13144
13144
|
}
|
|
13145
|
-
`,
|
|
13145
|
+
`, P6 = F(fe)`
|
|
13146
13146
|
width: 100%;
|
|
13147
13147
|
position: relative;
|
|
13148
13148
|
& .MuiInputBase-root {
|
|
@@ -13235,56 +13235,56 @@ const F6 = F(fe)`
|
|
|
13235
13235
|
showGlobalLoader: A = !1,
|
|
13236
13236
|
hideHelperText: w = !1,
|
|
13237
13237
|
meta: { isExpandable: _ = y === "table", isExpanded: R = !0 } = {}
|
|
13238
|
-
} = g, [L, O] = U(!1), [k,
|
|
13238
|
+
} = g, [L, O] = U(!1), [k, P] = U(""), [V, z] = U(R);
|
|
13239
13239
|
pe(() => {
|
|
13240
13240
|
L || Y(g.value, !1);
|
|
13241
13241
|
}, [L, g.value]);
|
|
13242
|
-
const J = (
|
|
13242
|
+
const J = (M) => {
|
|
13243
13243
|
var re;
|
|
13244
|
-
|
|
13244
|
+
M && !L && O(!0), (re = g.onFocus) == null || re.call(g, M);
|
|
13245
13245
|
};
|
|
13246
|
-
function Y(
|
|
13246
|
+
function Y(M, re = !0, Ee) {
|
|
13247
13247
|
let Z = "";
|
|
13248
|
-
if ((x != null && x.isRequired || C) && (Z =
|
|
13249
|
-
const je = x.isRequired(
|
|
13248
|
+
if ((x != null && x.isRequired || C) && (Z = M ? "" : Hu, !M && typeof (x == null ? void 0 : x.isRequired) == "function")) {
|
|
13249
|
+
const je = x.isRequired(M);
|
|
13250
13250
|
je && typeof je == "boolean" ? Z = Hu : je && (Z = je);
|
|
13251
13251
|
}
|
|
13252
13252
|
let Ze = { id: d, name: p, label: f };
|
|
13253
|
-
if (g.type === "date" ? Ze = { ...Ze, disableFuture: g.disableFuture, disablePast: g.disablePast } : g.type === "number" ? Ze = { ...Ze, min: g.min, max: g.max } : g.type === "text" && g.multiline && (Ze = { ...Ze, maxCharacters: g.maxCharacters }),
|
|
13254
|
-
const je = x.validate(
|
|
13253
|
+
if (g.type === "date" ? Ze = { ...Ze, disableFuture: g.disableFuture, disablePast: g.disablePast } : g.type === "number" ? Ze = { ...Ze, min: g.min, max: g.max } : g.type === "text" && g.multiline && (Ze = { ...Ze, maxCharacters: g.maxCharacters }), M && !Z && (x != null && x.validate)) {
|
|
13254
|
+
const je = x.validate(M, { ...Ze, ...Ee });
|
|
13255
13255
|
typeof je == "boolean" && je === !1 ? Z = a6 : typeof je == "string" && (Z = je);
|
|
13256
13256
|
}
|
|
13257
|
-
re &&
|
|
13257
|
+
re && P(Z), s == null || s(p, Z, re);
|
|
13258
13258
|
}
|
|
13259
|
-
const ee = (
|
|
13259
|
+
const ee = (M) => {
|
|
13260
13260
|
var re;
|
|
13261
|
-
L || O(!0), (re = g.onBlur) == null || re.call(g,
|
|
13262
|
-
}, de = () => w ? null : g.helperText ? /* @__PURE__ */ m.jsx(Uu, { children: b }) : L && k ? /* @__PURE__ */ m.jsx(Uu, { className: "helper--error", children: k }) : null, ne = (
|
|
13263
|
-
|
|
13264
|
-
}, j = (
|
|
13265
|
-
|
|
13266
|
-
}, H = (
|
|
13267
|
-
l == null || l(
|
|
13268
|
-
}, B = (
|
|
13269
|
-
a == null || a(p,
|
|
13270
|
-
}, W = (
|
|
13271
|
-
u == null || u(p,
|
|
13272
|
-
}, Q = (
|
|
13273
|
-
L && (s == null || s(
|
|
13274
|
-
}, ie = (
|
|
13261
|
+
L || O(!0), (re = g.onBlur) == null || re.call(g, M), L && v && Y(g.value);
|
|
13262
|
+
}, de = () => w ? null : g.helperText ? /* @__PURE__ */ m.jsx(Uu, { children: b }) : L && k ? /* @__PURE__ */ m.jsx(Uu, { className: "helper--error", children: k }) : null, ne = (M) => {
|
|
13263
|
+
M && !L && O(!0), c == null || c(M), L && E && Y(M.target.value);
|
|
13264
|
+
}, j = (M, re) => {
|
|
13265
|
+
M && !L && O(!0), h == null || h(M, re), L && E && Y(re);
|
|
13266
|
+
}, H = (M, re) => {
|
|
13267
|
+
l == null || l(M, re), M && !L && O(!0), M && typeof M == "object" && "value" in M && L && E && Y(M.value);
|
|
13268
|
+
}, B = (M, re) => {
|
|
13269
|
+
a == null || a(p, M, re), M && !L && O(!0), L && E && Y(M);
|
|
13270
|
+
}, W = (M) => {
|
|
13271
|
+
u == null || u(p, M);
|
|
13272
|
+
}, Q = (M, re) => {
|
|
13273
|
+
L && (s == null || s(M, re), P(typeof re == "string" ? re : ""));
|
|
13274
|
+
}, ie = (M) => {
|
|
13275
13275
|
z((re) => !re);
|
|
13276
|
-
}, se = (
|
|
13276
|
+
}, se = (M) => {
|
|
13277
13277
|
if (A)
|
|
13278
13278
|
return /* @__PURE__ */ m.jsx(Ic, { variant: "rounded", height: 29.69, animation: "wave" });
|
|
13279
|
-
switch (
|
|
13279
|
+
switch (M.type) {
|
|
13280
13280
|
case "select":
|
|
13281
13281
|
return /* @__PURE__ */ m.jsx(Zu, { children: /* @__PURE__ */ m.jsx(
|
|
13282
13282
|
zo,
|
|
13283
13283
|
{
|
|
13284
|
-
...
|
|
13284
|
+
...M,
|
|
13285
13285
|
stackIndex: o,
|
|
13286
13286
|
isScrollTarget: i,
|
|
13287
|
-
className: `formField__select ${k && L ? "formField__select--error" : ""} ${
|
|
13287
|
+
className: `formField__select ${k && L ? "formField__select--error" : ""} ${M.className || ""}`,
|
|
13288
13288
|
classNamePrefix: "hiverFormField",
|
|
13289
13289
|
onBlur: ee,
|
|
13290
13290
|
onChange: H,
|
|
@@ -13296,10 +13296,10 @@ const F6 = F(fe)`
|
|
|
13296
13296
|
return /* @__PURE__ */ m.jsx(Zu, { children: /* @__PURE__ */ m.jsx(
|
|
13297
13297
|
y6,
|
|
13298
13298
|
{
|
|
13299
|
-
...
|
|
13299
|
+
...M,
|
|
13300
13300
|
stackIndex: o,
|
|
13301
13301
|
isScrollTarget: i,
|
|
13302
|
-
className: `formField__select ${k && L ? "formField__select--error" : ""} ${
|
|
13302
|
+
className: `formField__select ${k && L ? "formField__select--error" : ""} ${M.className || ""}`,
|
|
13303
13303
|
classNamePrefix: "hiverFormField",
|
|
13304
13304
|
onBlur: ee,
|
|
13305
13305
|
onChange: H,
|
|
@@ -13313,7 +13313,7 @@ const F6 = F(fe)`
|
|
|
13313
13313
|
return /* @__PURE__ */ m.jsx(
|
|
13314
13314
|
L6,
|
|
13315
13315
|
{
|
|
13316
|
-
...
|
|
13316
|
+
...M,
|
|
13317
13317
|
label: void 0,
|
|
13318
13318
|
onBlur: ee,
|
|
13319
13319
|
onFocus: J,
|
|
@@ -13325,8 +13325,8 @@ const F6 = F(fe)`
|
|
|
13325
13325
|
return /* @__PURE__ */ m.jsx(
|
|
13326
13326
|
Bs,
|
|
13327
13327
|
{
|
|
13328
|
-
...
|
|
13329
|
-
value:
|
|
13328
|
+
...M,
|
|
13329
|
+
value: M.value,
|
|
13330
13330
|
onChange: W,
|
|
13331
13331
|
onFocus: J,
|
|
13332
13332
|
onValidationError: Q,
|
|
@@ -13336,26 +13336,26 @@ const F6 = F(fe)`
|
|
|
13336
13336
|
}
|
|
13337
13337
|
);
|
|
13338
13338
|
case "checkbox":
|
|
13339
|
-
return /* @__PURE__ */ m.jsx(R6, { ...
|
|
13339
|
+
return /* @__PURE__ */ m.jsx(R6, { ...M, onChange: j, onFocus: J, onBlur: ee });
|
|
13340
13340
|
default:
|
|
13341
13341
|
return /* @__PURE__ */ m.jsx(
|
|
13342
|
-
|
|
13342
|
+
M6,
|
|
13343
13343
|
{
|
|
13344
13344
|
variant: "outlined",
|
|
13345
13345
|
fullWidth: !0,
|
|
13346
13346
|
id: d,
|
|
13347
|
-
...
|
|
13348
|
-
value:
|
|
13347
|
+
...M,
|
|
13348
|
+
value: M.value,
|
|
13349
13349
|
label: void 0,
|
|
13350
13350
|
onBlur: ee,
|
|
13351
13351
|
onChange: ne,
|
|
13352
13352
|
onFocus: J,
|
|
13353
13353
|
error: !!(k && L),
|
|
13354
13354
|
inputProps: {
|
|
13355
|
-
type:
|
|
13356
|
-
min:
|
|
13357
|
-
max:
|
|
13358
|
-
...
|
|
13355
|
+
type: M.type,
|
|
13356
|
+
min: M.min,
|
|
13357
|
+
max: M.max,
|
|
13358
|
+
...M.inputProps
|
|
13359
13359
|
}
|
|
13360
13360
|
}
|
|
13361
13361
|
);
|
|
@@ -13382,7 +13382,7 @@ const F6 = F(fe)`
|
|
|
13382
13382
|
}
|
|
13383
13383
|
}
|
|
13384
13384
|
),
|
|
13385
|
-
/* @__PURE__ */ m.jsxs(
|
|
13385
|
+
/* @__PURE__ */ m.jsxs(P6, { className: "input-wrapper", children: [
|
|
13386
13386
|
/* @__PURE__ */ m.jsx(Ge, { title: g.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: se(g) }),
|
|
13387
13387
|
r != null && r.icon ? /* @__PURE__ */ m.jsx(Ge, { title: r.toolTipText, placement: "bottom", children: /* @__PURE__ */ m.jsx(V6, { className: "form--sideIcon", children: r == null ? void 0 : r.icon }) }) : null
|
|
13388
13388
|
] }),
|
|
@@ -13644,12 +13644,12 @@ const F6 = F(fe)`
|
|
|
13644
13644
|
};
|
|
13645
13645
|
}).addCase(mr.rejected, (t) => {
|
|
13646
13646
|
t.dropdownOptionsApis = te.FAILED;
|
|
13647
|
-
}).addCase(
|
|
13647
|
+
}).addCase(Pr.pending, (t) => {
|
|
13648
13648
|
t.previewCardApiStatus = te.LOADING;
|
|
13649
|
-
}).addCase(
|
|
13649
|
+
}).addCase(Pr.fulfilled, (t, n) => {
|
|
13650
13650
|
const { data: r } = n.payload;
|
|
13651
13651
|
r && (t.previewCardData = r), t.previewCardApiStatus = te.IDLE;
|
|
13652
|
-
}).addCase(
|
|
13652
|
+
}).addCase(Pr.rejected, (t) => {
|
|
13653
13653
|
t.previewCardApiStatus = te.FAILED;
|
|
13654
13654
|
});
|
|
13655
13655
|
}
|
|
@@ -13718,10 +13718,10 @@ const F6 = F(fe)`
|
|
|
13718
13718
|
hasMore: !1
|
|
13719
13719
|
};
|
|
13720
13720
|
}
|
|
13721
|
-
const
|
|
13721
|
+
const P = R.data.data.map((Y) => b ? {
|
|
13722
13722
|
...Y,
|
|
13723
13723
|
avatarUrl: Y.avatarUrl || G5
|
|
13724
|
-
} : (delete Y.avatarUrl, Y)), V = [...p, ...
|
|
13724
|
+
} : (delete Y.avatarUrl, Y)), V = [...p, ...P], z = E ? P.length >= I : !1, J = Ef(V, (Y) => Y.value);
|
|
13725
13725
|
return c == null || c(J), {
|
|
13726
13726
|
optionsList: J,
|
|
13727
13727
|
fieldName: r,
|
|
@@ -13748,7 +13748,7 @@ const F6 = F(fe)`
|
|
|
13748
13748
|
return u && u.length ? (i == null || i(u), !1) : !0;
|
|
13749
13749
|
}
|
|
13750
13750
|
}
|
|
13751
|
-
),
|
|
13751
|
+
), Pr = en(
|
|
13752
13752
|
"commonSlice/previewCard",
|
|
13753
13753
|
async ({
|
|
13754
13754
|
id: e,
|
|
@@ -13917,11 +13917,11 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
13917
13917
|
};
|
|
13918
13918
|
}).addCase(mr.rejected, (t) => {
|
|
13919
13919
|
t.dropdownOptionsApis = te.FAILED;
|
|
13920
|
-
}).addCase(
|
|
13920
|
+
}).addCase(Mi.pending, (t) => {
|
|
13921
13921
|
t.createFormApiStatus = te.LOADING;
|
|
13922
|
-
}).addCase(
|
|
13922
|
+
}).addCase(Mi.fulfilled, (t) => {
|
|
13923
13923
|
t.createFormApiStatus = te.IDLE;
|
|
13924
|
-
}).addCase(
|
|
13924
|
+
}).addCase(Mi.rejected, (t) => {
|
|
13925
13925
|
t.createFormApiStatus = te.FAILED;
|
|
13926
13926
|
}).addCase(Bi.pending, (t) => {
|
|
13927
13927
|
t.linkCardApiStatus = te.LOADING;
|
|
@@ -13935,11 +13935,11 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
13935
13935
|
t.unlinkCardApiStatus = te.IDLE;
|
|
13936
13936
|
}).addCase(ji.rejected, (t) => {
|
|
13937
13937
|
t.unlinkCardApiStatus = te.FAILED;
|
|
13938
|
-
}).addCase(
|
|
13938
|
+
}).addCase(Pi.pending, (t) => {
|
|
13939
13939
|
t.updateFormApiStatus = te.LOADING;
|
|
13940
|
-
}).addCase(
|
|
13940
|
+
}).addCase(Pi.fulfilled, (t) => {
|
|
13941
13941
|
t.updateFormApiStatus = te.IDLE;
|
|
13942
|
-
}).addCase(
|
|
13942
|
+
}).addCase(Pi.rejected, (t) => {
|
|
13943
13943
|
t.updateFormApiStatus = te.FAILED;
|
|
13944
13944
|
}).addCase(Vi.pending, (t) => {
|
|
13945
13945
|
t.currentResourceDetailsApiStatus = te.LOADING;
|
|
@@ -13999,7 +13999,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
13999
13999
|
dependentFieldsMap: c
|
|
14000
14000
|
};
|
|
14001
14001
|
}
|
|
14002
|
-
),
|
|
14002
|
+
), Mi = en(
|
|
14003
14003
|
"writeCapability/createForm",
|
|
14004
14004
|
async (e, { rejectWithValue: t }) => {
|
|
14005
14005
|
var l;
|
|
@@ -14011,7 +14011,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14011
14011
|
return o == null || o(a), We({ message: g, type: Et }), t(a);
|
|
14012
14012
|
}
|
|
14013
14013
|
}
|
|
14014
|
-
),
|
|
14014
|
+
), Pi = en(
|
|
14015
14015
|
"writeCapability/updateForm",
|
|
14016
14016
|
async (e, { rejectWithValue: t }) => {
|
|
14017
14017
|
const {
|
|
@@ -14083,7 +14083,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14083
14083
|
return We({ message: Os, type: Et }), t(c);
|
|
14084
14084
|
}
|
|
14085
14085
|
}
|
|
14086
|
-
), { resetState: YI, setCurrentCardInEdit: jr, resetCurrentResourceDetails: N7, setHasUnsavedChanges: Ju } = F1.actions, k7 = F1.reducer,
|
|
14086
|
+
), { resetState: YI, setCurrentCardInEdit: jr, resetCurrentResourceDetails: N7, setHasUnsavedChanges: Ju } = F1.actions, k7 = F1.reducer, M7 = () => {
|
|
14087
14087
|
const [e, t] = U(null), [n, r] = U({
|
|
14088
14088
|
isVertical: !1,
|
|
14089
14089
|
isHorizontal: !1,
|
|
@@ -14116,8 +14116,8 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14116
14116
|
e.removeEventListener("scroll", a), i && window.clearTimeout(i), c && window.clearTimeout(c);
|
|
14117
14117
|
};
|
|
14118
14118
|
}, [e]), [n, o];
|
|
14119
|
-
},
|
|
14120
|
-
const o = Kt(), { sendTrackingEvent: i, currentSmIds: s } = Ye(qe), { userGroupId: c } = wn() || {}, [l, a] =
|
|
14119
|
+
}, P7 = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.8016%2011.709L12.3416%205.16893L11.4298%204.25712L4.88979%2010.7972V11.709H5.8016ZM6.33618%2012.9987H3.6001V10.2626L10.9739%202.88875C11.0948%202.76786%2011.2588%202.69995%2011.4298%202.69995C11.6008%202.69995%2011.7648%202.76786%2011.8857%202.88875L13.71%204.71302C13.8309%204.83395%2013.8988%204.99794%2013.8988%205.16893C13.8988%205.33992%2013.8309%205.50391%2013.71%205.62484L6.33618%2012.9987ZM3.6001%2014.2884H15.2073V15.578H3.6001V14.2884Z'%20fill='%236C7B94'/%3e%3c/svg%3e", j7 = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
14120
|
+
const o = Kt(), { sendTrackingEvent: i, currentSmIds: s } = Ye(qe), { userGroupId: c } = wn() || {}, [l, a] = M7(), { isScrolling: u, isVertical: h } = l, g = u && h, x = Pe(() => (e == null ? void 0 : e[0].data.map((p) => p.label)) || [], [e]), b = Pe(() => e.map((p) => {
|
|
14121
14121
|
const y = {
|
|
14122
14122
|
cells: {},
|
|
14123
14123
|
externalResourceId: p.externalResourceId
|
|
@@ -14148,14 +14148,14 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14148
14148
|
] }) }),
|
|
14149
14149
|
/* @__PURE__ */ m.jsx(Jh, { children: b.map((p, y) => /* @__PURE__ */ m.jsxs(Tb, { children: [
|
|
14150
14150
|
Object.values(p.cells).map((v, E) => d(v, E)),
|
|
14151
|
-
/* @__PURE__ */ m.jsx(Lb, { children: !g && p.externalResourceId && /* @__PURE__ */ m.jsx(Ge, { title: N0, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { className: "row-edit", onClick: () => f(p.externalResourceId), children: /* @__PURE__ */ m.jsx("img", { src:
|
|
14151
|
+
/* @__PURE__ */ m.jsx(Lb, { children: !g && p.externalResourceId && /* @__PURE__ */ m.jsx(Ge, { title: N0, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { className: "row-edit", onClick: () => f(p.externalResourceId), children: /* @__PURE__ */ m.jsx("img", { src: P7 }) }) }) })
|
|
14152
14152
|
] }, `id_${y}`)) })
|
|
14153
14153
|
] }) })
|
|
14154
14154
|
] });
|
|
14155
14155
|
}, B7 = (e) => e.cardList.connectorCards, V7 = (e) => e.cardList.connectorsEnabled, G7 = (e) => e.cardList.connectorApiStatus, H7 = (e) => e.cardList.cardSpecificData, W7 = (e) => e.cardList.specificConnectorApiStatus, Z7 = (e) => e.cardList.specificConnectorErrorCode, U7 = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%204.8675L14.6475%2014.625H3.3525L9%204.8675ZM9%201.875L0.75%2016.125H17.25L9%201.875Z'%20fill='%23F07530'/%3e%3cpath%20d='M9.75%2012.375H8.25V13.875H9.75V12.375Z'%20fill='%23F07530'/%3e%3cpath%20d='M9.75%207.875H8.25V11.625H9.75V7.875Z'%20fill='%23F07530'/%3e%3c/svg%3e", Qu = (e) => {
|
|
14156
14156
|
const t = /\(Error code: (.*?)\)$/, n = e.match(t), r = n ? n[1] : null, o = n ? e.replace(t, "").trim() : e;
|
|
14157
14157
|
return { error_code: r, error_message: o };
|
|
14158
|
-
}, X7 = (e, t) => `${
|
|
14158
|
+
}, X7 = (e, t) => `${P0} (Error code: ${e})`.replace(/{{connector_name}}/g, (t == null ? void 0 : t[0]) || ""), qu = (e) => {
|
|
14159
14159
|
const {
|
|
14160
14160
|
value: t,
|
|
14161
14161
|
error: n,
|
|
@@ -14172,12 +14172,12 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14172
14172
|
isCardLevelError: x,
|
|
14173
14173
|
fieldName: b,
|
|
14174
14174
|
showErrorIcon: d
|
|
14175
|
-
} = e, f = ye(null), p = ye(null), { email: y, currentSmIds: v, conversationId: E, sendTrackingEvent: C, connectorFunctions: I } = Ye(qe), A = _e(Z7), w = A == null ? void 0 : A[g], [_, R] = U(!1), L =
|
|
14175
|
+
} = e, f = ye(null), p = ye(null), { email: y, currentSmIds: v, conversationId: E, sendTrackingEvent: C, connectorFunctions: I } = Ye(qe), A = _e(Z7), w = A == null ? void 0 : A[g], [_, R] = U(!1), L = Pe(() => {
|
|
14176
14176
|
if (n && x) {
|
|
14177
14177
|
const { error_message: ee } = Qu(n);
|
|
14178
14178
|
return ee;
|
|
14179
14179
|
}
|
|
14180
|
-
return l ?
|
|
14180
|
+
return l ? P0.replace(/{{connector_name}}/g, (a == null ? void 0 : a[0]) || "") : Hl;
|
|
14181
14181
|
}, [n, l, a, x]), O = Te(() => {
|
|
14182
14182
|
const ee = n || X7(w, a), { error_code: de, error_message: ne } = Qu(ee);
|
|
14183
14183
|
C == null || C(Ym, {
|
|
@@ -14213,8 +14213,8 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14213
14213
|
}
|
|
14214
14214
|
}, [t, r]);
|
|
14215
14215
|
const k = o == Ga.NOT_FOUND;
|
|
14216
|
-
let
|
|
14217
|
-
s === "date" &&
|
|
14216
|
+
let P = k ? Si : t;
|
|
14217
|
+
s === "date" && P && !k && (P = new Date(parseInt(P)).toLocaleDateString(navigator.language));
|
|
14218
14218
|
const V = !!n || l, z = () => {
|
|
14219
14219
|
c ? I == null || I.redirectToAdmin() : window.open(R3, "_blank");
|
|
14220
14220
|
}, J = () => {
|
|
@@ -14232,7 +14232,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14232
14232
|
return i ? /* @__PURE__ */ m.jsx(Un, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : V ? /* @__PURE__ */ m.jsxs(X0, { gap: "7px", children: [
|
|
14233
14233
|
d ? /* @__PURE__ */ m.jsx($, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ m.jsx("img", { src: U7, width: "18px", height: "18px" }) }) : null,
|
|
14234
14234
|
/* @__PURE__ */ m.jsx(z0, { variant: "body2", children: L ? Y(L) : Hl })
|
|
14235
|
-
] }) : /* @__PURE__ */ m.jsx(Ge, { title: _ ?
|
|
14235
|
+
] }) : /* @__PURE__ */ m.jsx(Ge, { title: _ ? P : null, placement: "bottom", children: r ? /* @__PURE__ */ m.jsx(
|
|
14236
14236
|
$0,
|
|
14237
14237
|
{
|
|
14238
14238
|
ref: p,
|
|
@@ -14241,9 +14241,9 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14241
14241
|
href: r,
|
|
14242
14242
|
fontSize: "13px",
|
|
14243
14243
|
onClick: J,
|
|
14244
|
-
children:
|
|
14244
|
+
children: P || Si
|
|
14245
14245
|
}
|
|
14246
|
-
) : /* @__PURE__ */ m.jsx(Ib, { ref: f, variant: "body2", children:
|
|
14246
|
+
) : /* @__PURE__ */ m.jsx(Ib, { ref: f, variant: "body2", children: P || Si }) });
|
|
14247
14247
|
}, N1 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_825_73646)'%3e%3cpath%20d='M19%206.41L17.59%205L12%2010.59L6.41%205L5%206.41L10.59%2012L5%2017.59L6.41%2019L12%2013.41L17.59%2019L19%2017.59L13.41%2012L19%206.41Z'%20fill='%236F7C90'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_825_73646'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", $o = ({
|
|
14248
14248
|
shown: e,
|
|
14249
14249
|
setShown: t,
|
|
@@ -14273,16 +14273,16 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14273
14273
|
}
|
|
14274
14274
|
), k1 = (e) => {
|
|
14275
14275
|
var j, H, B;
|
|
14276
|
-
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, c = 24, l = (o == null ? void 0 : o[t]) === te.IDLE, a = (o == null ? void 0 : o[t]) === te.LOADING, u = (o == null ? void 0 : o[t]) === te.FAILED, { cardType: h, data: g, cardErrorMessage: x, redirectToAdminTab: b, connectorNames: d } = (r == null ? void 0 : r[t]) || {}, f = h === "flat", [p, y] = U(!1), [v, E] = U(!1), [C, I] = U(!1), [A, w] = U(!1), _ = ((j = g == null ? void 0 : g.listItems) == null ? void 0 : j.statusCode) !== 401, R =
|
|
14276
|
+
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, c = 24, l = (o == null ? void 0 : o[t]) === te.IDLE, a = (o == null ? void 0 : o[t]) === te.LOADING, u = (o == null ? void 0 : o[t]) === te.FAILED, { cardType: h, data: g, cardErrorMessage: x, redirectToAdminTab: b, connectorNames: d } = (r == null ? void 0 : r[t]) || {}, f = h === "flat", [p, y] = U(!1), [v, E] = U(!1), [C, I] = U(!1), [A, w] = U(!1), _ = ((j = g == null ? void 0 : g.listItems) == null ? void 0 : j.statusCode) !== 401, R = Pe(() => {
|
|
14277
14277
|
var W, Q, ie, se;
|
|
14278
14278
|
return f && ((W = g == null ? void 0 : g.flatDisplay) != null && W.data) ? g.flatDisplay.data : !f && ((se = (ie = (Q = g == null ? void 0 : g.listItems) == null ? void 0 : Q.fields) == null ? void 0 : ie[0]) != null && se.data) ? g.listItems.fields[0].data : [];
|
|
14279
|
-
}, [f, g]), L =
|
|
14279
|
+
}, [f, g]), L = Pe(() => R == null ? void 0 : R.slice(0, 5), [R]), [O, k] = U([]), P = ye(null), [V, z] = U(0), J = p ? -180 : 0, Y = f ? !1 : !!((H = g == null ? void 0 : g.listItems) != null && H.errorMessage), ee = Y || u || x, de = l && !Y && i && (C || v);
|
|
14280
14280
|
io(() => {
|
|
14281
14281
|
var W;
|
|
14282
|
-
(W =
|
|
14283
|
-
}, [o == null ? void 0 : o[t], O,
|
|
14284
|
-
var se,
|
|
14285
|
-
const W = ((R == null ? void 0 : R.length) || 0) > 5, Q = !f && (((
|
|
14282
|
+
(W = P.current) != null && W.scrollHeight && z(P.current.scrollHeight + c);
|
|
14283
|
+
}, [o == null ? void 0 : o[t], O, P]), pe(() => {
|
|
14284
|
+
var se, M;
|
|
14285
|
+
const W = ((R == null ? void 0 : R.length) || 0) > 5, Q = !f && (((M = (se = g == null ? void 0 : g.listItems) == null ? void 0 : se.fields) == null ? void 0 : M.length) || 0) > 1;
|
|
14286
14286
|
I(W && !Q), E(Q);
|
|
14287
14287
|
}, [g, f, R == null ? void 0 : R.length]), pe(() => {
|
|
14288
14288
|
k(p ? R : L);
|
|
@@ -14300,7 +14300,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14300
14300
|
setShowModal: w
|
|
14301
14301
|
}
|
|
14302
14302
|
) }),
|
|
14303
|
-
/* @__PURE__ */ m.jsx(yb, { className: i ? "" : "slideUp", height: V, children: /* @__PURE__ */ m.jsx($, { ref:
|
|
14303
|
+
/* @__PURE__ */ m.jsx(yb, { className: i ? "" : "slideUp", height: V, children: /* @__PURE__ */ m.jsx($, { ref: P, gap: 1, margin: "12px", children: a && !(O != null && O.length) ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14304
14304
|
/* @__PURE__ */ m.jsx(Un, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
|
|
14305
14305
|
/* @__PURE__ */ m.jsx(Un, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
|
|
14306
14306
|
] }) : /* @__PURE__ */ m.jsx(m.Fragment, { children: ee ? /* @__PURE__ */ m.jsx(fe, { margin: "8px 0", children: /* @__PURE__ */ m.jsx(
|
|
@@ -14318,7 +14318,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14318
14318
|
isCardLevelError: !0
|
|
14319
14319
|
}
|
|
14320
14320
|
) }) : O != null && O.length ? O == null ? void 0 : O.map((W) => {
|
|
14321
|
-
const { value: Q, label: ie, deepLink: se, type:
|
|
14321
|
+
const { value: Q, label: ie, deepLink: se, type: M } = W, re = "errorMessage" in W ? W.errorMessage : null, Ee = "statusCode" in W ? W.statusCode : null;
|
|
14322
14322
|
return /* @__PURE__ */ m.jsxs("div", { children: [
|
|
14323
14323
|
/* @__PURE__ */ m.jsx(Cb, { variant: "overline", children: ie }),
|
|
14324
14324
|
/* @__PURE__ */ m.jsx(
|
|
@@ -14329,7 +14329,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14329
14329
|
deepLink: se,
|
|
14330
14330
|
statusCode: Ee,
|
|
14331
14331
|
isLoading: a,
|
|
14332
|
-
type:
|
|
14332
|
+
type: M,
|
|
14333
14333
|
cardTitle: n,
|
|
14334
14334
|
currentCard: s,
|
|
14335
14335
|
cardId: t,
|
|
@@ -14353,7 +14353,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14353
14353
|
connectorsEnabled: !1,
|
|
14354
14354
|
specificConnectorErrorCode: null,
|
|
14355
14355
|
conversationEmailHeaders: null
|
|
14356
|
-
},
|
|
14356
|
+
}, M1 = "/v1/api", $7 = `${M1}/connectors/cards`, Y7 = `${M1}/connectors/cards/:id/data`, J7 = ({
|
|
14357
14357
|
inboxIds: e,
|
|
14358
14358
|
conversationId: t,
|
|
14359
14359
|
channelType: n = "email"
|
|
@@ -14369,7 +14369,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14369
14369
|
url: `${Y7.replace(":id", e)}?${o.toString()}`,
|
|
14370
14370
|
method: mt.GET
|
|
14371
14371
|
});
|
|
14372
|
-
},
|
|
14372
|
+
}, P1 = Zc({
|
|
14373
14373
|
name: "connectorCardLibrary",
|
|
14374
14374
|
initialState: z7,
|
|
14375
14375
|
reducers: {
|
|
@@ -14461,7 +14461,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14461
14461
|
});
|
|
14462
14462
|
}
|
|
14463
14463
|
}
|
|
14464
|
-
), q7 =
|
|
14464
|
+
), q7 = P1.reducer, Ku = P1.actions, j1 = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.76618%202.23341C8.79952%201.26675%207.47285%200.666748%205.99952%200.666748C3.05285%200.666748%200.672852%203.05341%200.672852%206.00008C0.672852%208.94675%203.05285%2011.3334%205.99952%2011.3334C8.48619%2011.3334%2010.5595%209.63341%2011.1529%207.33341H9.76618C9.21952%208.88675%207.73952%2010.0001%205.99952%2010.0001C3.79285%2010.0001%201.99952%208.20675%201.99952%206.00008C1.99952%203.79341%203.79285%202.00008%205.99952%202.00008C7.10618%202.00008%208.09285%202.46008%208.81285%203.18675L6.66618%205.33341H11.3329V0.666748L9.76618%202.23341Z'%20fill='%236C7B94'/%3e%3c/svg%3e", K7 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4587%206.7528C11.2244%206.51848%2010.8445%206.51848%2010.6102%206.7528C10.3759%206.98711%2010.3759%207.36701%2010.6102%207.60132L11.4587%206.7528ZM12.1916%208.33414L12.6158%207.90988L12.1916%208.33414ZM8.33462%2012.1911L8.75888%2011.7668L8.33462%2012.1911ZM7.6018%2010.6097C7.36748%2010.3754%206.98758%2010.3754%206.75327%2010.6097C6.51895%2010.8441%206.51895%2011.224%206.75327%2011.4583L7.6018%2010.6097ZM4.43911%209.14411C4.67343%209.37842%205.05333%209.37842%205.28764%209.14411C5.52196%208.9098%205.52196%208.5299%205.28764%208.29558L4.43911%209.14411ZM3.70629%207.56276L4.13056%207.1385L3.70629%207.56276ZM7.56324%203.70582L7.9875%203.28155L7.56324%203.70582ZM8.29606%205.28716C8.53037%205.52148%208.91027%205.52148%209.14459%205.28716C9.3789%205.05285%209.3789%204.67295%209.14459%204.43864L8.29606%205.28716ZM10.6102%207.60132L11.7673%208.75841L12.6158%207.90988L11.4587%206.7528L10.6102%207.60132ZM11.7673%208.75841C12.1662%209.15735%2012.3904%209.69843%2012.3904%2010.2626L13.5904%2010.2626C13.5904%209.38017%2013.2398%208.53387%2012.6158%207.90988L11.7673%208.75841ZM12.3904%2010.2626C12.3904%2010.8268%2012.1662%2011.3679%2011.7673%2011.7668L12.6158%2012.6154C13.2398%2011.9914%2013.5904%2011.1451%2013.5904%2010.2626L12.3904%2010.2626ZM11.7673%2011.7668C10.9365%2012.5976%209.58963%2012.5976%208.75888%2011.7668L7.91035%2012.6154C9.20973%2013.9147%2011.3164%2013.9147%2012.6158%2012.6154L11.7673%2011.7668ZM8.75888%2011.7668L7.6018%2010.6097L6.75327%2011.4583L7.91035%2012.6154L8.75888%2011.7668ZM5.28764%208.29558L4.13056%207.1385L3.28203%207.98703L4.43911%209.14411L5.28764%208.29558ZM4.13056%207.1385C3.73162%206.73956%203.50749%206.19848%203.50749%205.63429L2.30749%205.63429C2.30749%206.51674%202.65804%207.36304%203.28203%207.98703L4.13056%207.1385ZM3.50749%205.63429C3.50749%205.0701%203.73162%204.52902%204.13056%204.13008L3.28203%203.28155C2.65804%203.90554%202.30749%204.75184%202.30749%205.63429L3.50749%205.63429ZM4.13056%204.13008C4.96131%203.29933%206.30822%203.29933%207.13897%204.13008L7.9875%203.28155C6.68812%201.98217%204.58141%201.98217%203.28203%203.28155L4.13056%204.13008ZM7.13897%204.13008L8.29606%205.28716L9.14459%204.43864L7.9875%203.28155L7.13897%204.13008Z'%20fill='%236C7B94'/%3e%3crect%20x='5.08887'%20y='6.0791'%20width='1.33333'%20height='6.66667'%20rx='0.666667'%20transform='rotate(-45%205.08887%206.0791)'%20fill='%236C7B94'/%3e%3cpath%20d='M5.59961%2014.3998V12.7998'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.7998%205.59961H14.3998'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.40039%2011.2002H4.00039'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.2002%202.40039V4.00039'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ex = "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_5908_39767)'%3e%3cpath%20d='M9.37333%206.01333L9.98667%206.62667L3.94667%2012.6667H3.33333V12.0533L9.37333%206.01333ZM11.7733%202C11.6067%202%2011.4333%202.06667%2011.3067%202.19333L10.0867%203.41333L12.5867%205.91333L13.8067%204.69333C14.0667%204.43333%2014.0667%204.01333%2013.8067%203.75333L12.2467%202.19333C12.1133%202.06%2011.9467%202%2011.7733%202ZM9.37333%204.12667L2%2011.5V14H4.5L11.8733%206.62667L9.37333%204.12667Z'%20fill='%236C7B94'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5908_39767'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", B1 = (e) => e.write.createObjectList, tx = (e) => e.write.createObjectConnectorNamesList, V1 = (e) => e.write.linkObjectList, nx = (e) => e.write.editObjectList, rx = (e) => e.write.objectDict, ox = (e) => e.write.formFields, ix = (e) => e.write.linkCardApiStatus, sx = (e) => e.write.unlinkCardApiStatus, ax = (e) => e.write.dependentFieldsMap, cx = (e) => e.write.createFormApiStatus, lx = (e) => e.write.updateFormApiStatus, ux = (e) => e.write.currentResourceDetails, dx = (e) => e.write.currentResourceDetailsApiStatus, G1 = (e) => e.write.currentCardInEdit, H1 = (e) => e.write.hasUnsavedChanges, fx = (e) => typeof e == "string" ? /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/.test(e) : typeof e == "object" && "_isValid" in e, ed = (e) => Object.keys(e).sort((n, r) => r.localeCompare(n)).reduce((n, r) => {
|
|
14465
14465
|
var o;
|
|
14466
14466
|
return (typeof e[r] == "string" || typeof e[r] == "object" && e[r] !== null) && fx(e[r]) ? n[r] = (o = /* @__PURE__ */ new Date(`${e[r]}`)) == null ? void 0 : o.toString() : n[r] = e[r], n;
|
|
14467
14467
|
}, {}), hx = (e) => _3.replace("{{connectorName}}", e), px = ({
|
|
@@ -14475,7 +14475,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14475
14475
|
}) => {
|
|
14476
14476
|
const c = Kt(), { sendTrackingEvent: l } = Ye(qe), u = _e(sx) === te.LOADING, h = () => {
|
|
14477
14477
|
i && o && c(ji({ id: n, conversationId: i, externalResourceId: o })).unwrap().then(() => {
|
|
14478
|
-
l(
|
|
14478
|
+
l(Mm, {
|
|
14479
14479
|
connector_name: s,
|
|
14480
14480
|
conversation_id: i
|
|
14481
14481
|
}), t(!1), r(), We({
|
|
@@ -14517,30 +14517,30 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14517
14517
|
} = e, c = Kt(), { availableFeatures: l, sendTrackingEvent: a, conversationId: u, currentSmIds: h } = Ye(qe), { userGroupId: g } = wn() || {}, [x, b] = U(!!i), [d, f] = U(!1), [p, y] = U(!1), [v, E] = U(!1), { id: C, title: I, externalResourceId: A = "", forms: w = [], logoUrl: _ } = t;
|
|
14518
14518
|
let R = C;
|
|
14519
14519
|
A && (R = `${R}_${A}`);
|
|
14520
|
-
const { data: L, cardType: O, cardErrorMessage: k, connectorNames:
|
|
14521
|
-
var
|
|
14520
|
+
const { data: L, cardType: O, cardErrorMessage: k, connectorNames: P } = (n == null ? void 0 : n[R]) ?? {}, V = (P == null ? void 0 : P[0]) || "", z = (o == null ? void 0 : o[R]) === te.LOADING, J = (o == null ? void 0 : o[R]) === te.FAILED, Y = !!(gt(l, S0) && A), ee = Pe(() => {
|
|
14521
|
+
var M, re;
|
|
14522
14522
|
if (k || J || !(gt(l, f3) && w.some((Ee) => Ee.type === "edit")))
|
|
14523
14523
|
return !1;
|
|
14524
14524
|
switch (O) {
|
|
14525
14525
|
case "flat":
|
|
14526
14526
|
return !!((L == null ? void 0 : L.flatDisplay.externalResourceId) ?? t.externalResourceId);
|
|
14527
14527
|
case "flat_with_list":
|
|
14528
|
-
return ((
|
|
14528
|
+
return ((M = L == null ? void 0 : L.listItems) == null ? void 0 : M.fields.length) === 1 ? (re = L == null ? void 0 : L.listItems) == null ? void 0 : re.fields.some((Ee) => Ee.externalResourceId) : !1;
|
|
14529
14529
|
default:
|
|
14530
14530
|
return !1;
|
|
14531
14531
|
}
|
|
14532
14532
|
}, [L, O, l, w, t, k, J]), de = Te(
|
|
14533
|
-
(
|
|
14534
|
-
const re =
|
|
14533
|
+
(M = !1) => {
|
|
14534
|
+
const re = M ? Gm : Vm;
|
|
14535
14535
|
r && C && u && c(ko({ id: C, email: r, conversationId: u, externalResourceId: A })).unwrap().then((Ee) => {
|
|
14536
14536
|
const Z = {
|
|
14537
|
-
...Zl(Ee, I,
|
|
14537
|
+
...Zl(Ee, I, M, !0),
|
|
14538
14538
|
sm_ids: h
|
|
14539
14539
|
};
|
|
14540
14540
|
a(re, Z);
|
|
14541
14541
|
}).catch((Ee) => {
|
|
14542
14542
|
const Z = {
|
|
14543
|
-
...Zl(Ee, I,
|
|
14543
|
+
...Zl(Ee, I, M, !1),
|
|
14544
14544
|
sm_ids: h
|
|
14545
14545
|
};
|
|
14546
14546
|
a(re, Z);
|
|
@@ -14551,26 +14551,26 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14551
14551
|
pe(() => {
|
|
14552
14552
|
x && de(!0);
|
|
14553
14553
|
}, [x, de]);
|
|
14554
|
-
const ne = (
|
|
14554
|
+
const ne = (M, re) => {
|
|
14555
14555
|
var Z;
|
|
14556
|
-
|
|
14556
|
+
M == null || M.stopPropagation(), c(ko({ id: re, email: r, conversationId: u, isRefresh: !0, externalResourceId: A })).unwrap().then(() => {
|
|
14557
14557
|
a(_m, {
|
|
14558
14558
|
id: re
|
|
14559
14559
|
});
|
|
14560
14560
|
});
|
|
14561
|
-
const Ee =
|
|
14561
|
+
const Ee = M.target.tagName === "BUTTON" ? (Z = M.target) == null ? void 0 : Z.firstChild : M.target;
|
|
14562
14562
|
Ee.className && (Ee.className = ""), setTimeout(() => Ee.className = "selected", 1);
|
|
14563
|
-
}, j = (
|
|
14564
|
-
|
|
14563
|
+
}, j = (M, re) => {
|
|
14564
|
+
M.stopPropagation(), !(n != null && n[re]) && !z && de(), a(x ? Am : wm, {
|
|
14565
14565
|
id: re
|
|
14566
14566
|
}), b((Ee) => !Ee);
|
|
14567
|
-
}, H = (
|
|
14568
|
-
|
|
14569
|
-
const re =
|
|
14567
|
+
}, H = (M) => {
|
|
14568
|
+
M.stopPropagation();
|
|
14569
|
+
const re = M.currentTarget.offsetWidth < M.currentTarget.scrollWidth;
|
|
14570
14570
|
f(!!re);
|
|
14571
|
-
}, B = (
|
|
14571
|
+
}, B = (M) => {
|
|
14572
14572
|
var Ee, Z;
|
|
14573
|
-
|
|
14573
|
+
M.stopPropagation(), a(T0, {
|
|
14574
14574
|
card_title: I,
|
|
14575
14575
|
connector_name: V,
|
|
14576
14576
|
ug_id: g,
|
|
@@ -14578,8 +14578,8 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14578
14578
|
});
|
|
14579
14579
|
let re;
|
|
14580
14580
|
O === "flat" ? re = (L == null ? void 0 : L.flatDisplay.externalResourceId) ?? t.externalResourceId : O === "flat_with_list" && (re = (Z = (Ee = L == null ? void 0 : L.listItems) == null ? void 0 : Ee.fields[0]) == null ? void 0 : Z.externalResourceId), re ? c(jr({ ...t, externalResourceId: re })) : We({ message: Os, type: Et });
|
|
14581
|
-
}, W = (
|
|
14582
|
-
|
|
14581
|
+
}, W = (M) => {
|
|
14582
|
+
M.stopPropagation(), y(!0);
|
|
14583
14583
|
}, Q = () => {
|
|
14584
14584
|
E(!0);
|
|
14585
14585
|
}, ie = () => {
|
|
@@ -14591,7 +14591,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14591
14591
|
disabled: z,
|
|
14592
14592
|
shown: Y,
|
|
14593
14593
|
iconSrc: K7,
|
|
14594
|
-
action: (
|
|
14594
|
+
action: (M) => W(M)
|
|
14595
14595
|
},
|
|
14596
14596
|
{
|
|
14597
14597
|
id: "refresh",
|
|
@@ -14599,7 +14599,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14599
14599
|
disabled: z,
|
|
14600
14600
|
shown: !0,
|
|
14601
14601
|
iconSrc: j1,
|
|
14602
|
-
action: (
|
|
14602
|
+
action: (M) => ne(M, C)
|
|
14603
14603
|
},
|
|
14604
14604
|
{
|
|
14605
14605
|
id: "edit",
|
|
@@ -14607,18 +14607,18 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14607
14607
|
disabled: z,
|
|
14608
14608
|
shown: ee,
|
|
14609
14609
|
iconSrc: ex,
|
|
14610
|
-
action: (
|
|
14610
|
+
action: (M) => B(M)
|
|
14611
14611
|
}
|
|
14612
14612
|
];
|
|
14613
14613
|
return /* @__PURE__ */ m.jsxs(gb, { "data-testid": `test_${C}`, onMouseEnter: Q, onMouseLeave: ie, children: [
|
|
14614
|
-
/* @__PURE__ */ m.jsxs(mb, { className: x ? "hiver-card-expanded" : "", onClick: (
|
|
14614
|
+
/* @__PURE__ */ m.jsxs(mb, { className: x ? "hiver-card-expanded" : "", onClick: (M) => j(M, R), children: [
|
|
14615
14615
|
/* @__PURE__ */ m.jsxs(bb, { children: [
|
|
14616
14616
|
_ && /* @__PURE__ */ m.jsx("img", { src: _, alt: I }),
|
|
14617
|
-
/* @__PURE__ */ m.jsx(Ge, { title: d ? I : "", placement: "bottom", children: /* @__PURE__ */ m.jsx(vb, { variant: "h4", onMouseOver: (
|
|
14617
|
+
/* @__PURE__ */ m.jsx(Ge, { title: d ? I : "", placement: "bottom", children: /* @__PURE__ */ m.jsx(vb, { variant: "h4", onMouseOver: (M) => H(M), onMouseLeave: (M) => H(M), children: I }) })
|
|
14618
14618
|
] }),
|
|
14619
14619
|
/* @__PURE__ */ m.jsxs(X0, { children: [
|
|
14620
14620
|
/* @__PURE__ */ m.jsx(gx, { actions: se, isHovered: v }),
|
|
14621
|
-
/* @__PURE__ */ m.jsx(Ge, { title: x ? O0 :
|
|
14621
|
+
/* @__PURE__ */ m.jsx(Ge, { title: x ? O0 : Mc, placement: "bottom", children: /* @__PURE__ */ m.jsx(to, { onClick: (M) => j(M, R), children: /* @__PURE__ */ m.jsx(Vc, { className: x ? "" : "hiver-up" }) }) })
|
|
14622
14622
|
] })
|
|
14623
14623
|
] }),
|
|
14624
14624
|
/* @__PURE__ */ m.jsx(
|
|
@@ -14709,7 +14709,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14709
14709
|
width: 100%;
|
|
14710
14710
|
margin-bottom: 20px;
|
|
14711
14711
|
margin-top: 12px;
|
|
14712
|
-
`,
|
|
14712
|
+
`, Mx = F(ue)`
|
|
14713
14713
|
color: ${X.palette.gray.gray1};
|
|
14714
14714
|
font-size: 13px;
|
|
14715
14715
|
margin-bottom: 24px;
|
|
@@ -14723,7 +14723,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14723
14723
|
background-color: #e3dfff;
|
|
14724
14724
|
border: 1px solid ${X.palette.purple.primary};
|
|
14725
14725
|
}
|
|
14726
|
-
`,
|
|
14726
|
+
`, Px = F($)`
|
|
14727
14727
|
margin-top: 16px;
|
|
14728
14728
|
justify-content: center;
|
|
14729
14729
|
align-items: center;
|
|
@@ -14745,7 +14745,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14745
14745
|
}, u = s ? Lx : Sx;
|
|
14746
14746
|
return /* @__PURE__ */ m.jsxs(Dx, { "data-testid": "noConnectors", children: [
|
|
14747
14747
|
i ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14748
|
-
t ? null : /* @__PURE__ */ m.jsx(ue, { variant: "h2", children: s ?
|
|
14748
|
+
t ? null : /* @__PURE__ */ m.jsx(ue, { variant: "h2", children: s ? Pc : Rx }),
|
|
14749
14749
|
/* @__PURE__ */ m.jsx(kx, { onClick: a, href: Tx, target: "_blank", children: /* @__PURE__ */ m.jsx(
|
|
14750
14750
|
z6,
|
|
14751
14751
|
{
|
|
@@ -14758,7 +14758,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14758
14758
|
/* @__PURE__ */ m.jsx(Nx, { variant: "body1_medium", children: yx }),
|
|
14759
14759
|
/* @__PURE__ */ m.jsx("img", { src: Vx, alt: Cx })
|
|
14760
14760
|
] }),
|
|
14761
|
-
/* @__PURE__ */ m.jsx(
|
|
14761
|
+
/* @__PURE__ */ m.jsx(Mx, { variant: "body2", children: xx }),
|
|
14762
14762
|
e ? /* @__PURE__ */ m.jsx(
|
|
14763
14763
|
td,
|
|
14764
14764
|
{
|
|
@@ -14769,7 +14769,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14769
14769
|
}
|
|
14770
14770
|
) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14771
14771
|
/* @__PURE__ */ m.jsx(td, { onClick: l, children: wx }),
|
|
14772
|
-
/* @__PURE__ */ m.jsxs(
|
|
14772
|
+
/* @__PURE__ */ m.jsxs(Px, { direction: "row", children: [
|
|
14773
14773
|
/* @__PURE__ */ m.jsx(jx, {}),
|
|
14774
14774
|
/* @__PURE__ */ m.jsx(Bx, { variant: "caption", children: _x })
|
|
14775
14775
|
] })
|
|
@@ -14790,7 +14790,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14790
14790
|
alignItems: "center",
|
|
14791
14791
|
children: [
|
|
14792
14792
|
t ? /* @__PURE__ */ m.jsx(G0, { width: "20px", height: "20px" }) : /* @__PURE__ */ m.jsx(W0, {}),
|
|
14793
|
-
/* @__PURE__ */ m.jsx(Z0, { variant: "h2", children: t ?
|
|
14793
|
+
/* @__PURE__ */ m.jsx(Z0, { variant: "h2", children: t ? Pc : R0 })
|
|
14794
14794
|
]
|
|
14795
14795
|
}
|
|
14796
14796
|
),
|
|
@@ -14801,10 +14801,10 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14801
14801
|
] })
|
|
14802
14802
|
] });
|
|
14803
14803
|
}, Zx = () => {
|
|
14804
|
-
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Ye(qe), [o, i] = U(!1), s = ye(null), [c, l] = U(0), { templateUpdates: a } = e || {}, { sections: u = [], actionButtons: h = [], title: g } = a || {}, { version: x = "" } = a || {}, b = N3(x), d =
|
|
14804
|
+
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Ye(qe), [o, i] = U(!1), s = ye(null), [c, l] = U(0), { templateUpdates: a } = e || {}, { sections: u = [], actionButtons: h = [], title: g } = a || {}, { version: x = "" } = a || {}, b = N3(x), d = Pe(
|
|
14805
14805
|
() => F3(x),
|
|
14806
14806
|
[x]
|
|
14807
|
-
), f =
|
|
14807
|
+
), f = Pe(() => (h == null ? void 0 : h.filter(({ isAdminPanelLink: E }) => !(!n && E))) ?? [], [h, n]);
|
|
14808
14808
|
if (pe(() => {
|
|
14809
14809
|
!d && a && qs(x, !0);
|
|
14810
14810
|
}, [d, x, a]), io(() => {
|
|
@@ -14831,10 +14831,10 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14831
14831
|
/* @__PURE__ */ m.jsx(Fb, { variant: "h3", children: g }),
|
|
14832
14832
|
/* @__PURE__ */ m.jsxs(fe, { children: [
|
|
14833
14833
|
o ? /* @__PURE__ */ m.jsx(Ge, { title: E3, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: v, children: /* @__PURE__ */ m.jsx(jt.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
|
|
14834
|
-
/* @__PURE__ */ m.jsx(Ge, { title: o ? x3 :
|
|
14834
|
+
/* @__PURE__ */ m.jsx(Ge, { title: o ? x3 : Mc, placement: "bottom", children: /* @__PURE__ */ m.jsx(to, { onClick: p, children: /* @__PURE__ */ m.jsx(Vc, { className: o ? "" : "hiver-up" }) }) })
|
|
14835
14835
|
] })
|
|
14836
14836
|
] }),
|
|
14837
|
-
/* @__PURE__ */ m.jsx(
|
|
14837
|
+
/* @__PURE__ */ m.jsx(Mb, { className: o ? "slideDown" : "slideUp", ref: s, height: c, children: /* @__PURE__ */ m.jsxs(Pb, { children: [
|
|
14838
14838
|
u.map(({ title: E, items: C, type: I }) => /* @__PURE__ */ m.jsxs(Hb, { children: [
|
|
14839
14839
|
/* @__PURE__ */ m.jsx(ue, { variant: "body2_medium", children: E }),
|
|
14840
14840
|
C.map((A) => {
|
|
@@ -15051,7 +15051,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15051
15051
|
s(!!f);
|
|
15052
15052
|
}, b = (d) => {
|
|
15053
15053
|
var p;
|
|
15054
|
-
o(
|
|
15054
|
+
o(Pr({ id: n, args: r, isRefresh: !0 }));
|
|
15055
15055
|
const f = d.target.tagName === "BUTTON" ? (p = d.target) == null ? void 0 : p.firstChild : d.target;
|
|
15056
15056
|
f.className && (f.className = ""), setTimeout(() => f.className = "selected", 1);
|
|
15057
15057
|
};
|
|
@@ -15074,7 +15074,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15074
15074
|
] }),
|
|
15075
15075
|
/* @__PURE__ */ m.jsxs($, { direction: "row", alignItems: "center", children: [
|
|
15076
15076
|
c ? /* @__PURE__ */ m.jsx(Ge, { title: L0, placement: "bottom", children: /* @__PURE__ */ m.jsx(to, { onClick: (d) => b(d), children: /* @__PURE__ */ m.jsx("img", { src: j1 }) }) }) : null,
|
|
15077
|
-
/* @__PURE__ */ m.jsx(Ge, { title: c ? O0 :
|
|
15077
|
+
/* @__PURE__ */ m.jsx(Ge, { title: c ? O0 : Mc, placement: "bottom", children: /* @__PURE__ */ m.jsx(to, { onClick: () => l((d) => !d), children: /* @__PURE__ */ m.jsx(Vc, { className: c ? "" : "hiver-up" }) }) })
|
|
15078
15078
|
] })
|
|
15079
15079
|
] }),
|
|
15080
15080
|
/* @__PURE__ */ m.jsx(
|
|
@@ -15146,7 +15146,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15146
15146
|
return z1;
|
|
15147
15147
|
}
|
|
15148
15148
|
return e;
|
|
15149
|
-
}, $1 = () =>
|
|
15149
|
+
}, $1 = () => Mh(cE, z1), Y1 = ({ state: e, dispatch: t, validations: n }) => {
|
|
15150
15150
|
const r = e.errors, o = (h, g) => {
|
|
15151
15151
|
t({ type: dn.SET_FIELD_VALUE, payload: { value: { value: g, name: h } } });
|
|
15152
15152
|
}, i = Te(() => Object.keys(r).filter((g) => !!r[g]).length > 0, [r]), s = (h) => {
|
|
@@ -15252,7 +15252,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15252
15252
|
}
|
|
15253
15253
|
};
|
|
15254
15254
|
}, {}), J1 = ({ formFields: e, formState: t, formId: n, conversationId: r }) => {
|
|
15255
|
-
const o = Kt(), i =
|
|
15255
|
+
const o = Kt(), i = Pe(() => {
|
|
15256
15256
|
if (e && e.length) {
|
|
15257
15257
|
const c = rd({ formFields: e, formId: n, formState: t, appDispatch: o });
|
|
15258
15258
|
return e.reduce((a, u) => {
|
|
@@ -15269,7 +15269,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15269
15269
|
}, c);
|
|
15270
15270
|
}
|
|
15271
15271
|
return null;
|
|
15272
|
-
}, [e, t, n, o]), s =
|
|
15272
|
+
}, [e, t, n, o]), s = Pe(() => {
|
|
15273
15273
|
const c = od({ formFields: e, formId: n, formState: t, conversationId: r, appDispatch: o });
|
|
15274
15274
|
return e.reduce((a, u) => {
|
|
15275
15275
|
const h = u.columns;
|
|
@@ -15315,7 +15315,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15315
15315
|
connectors: s
|
|
15316
15316
|
}) => {
|
|
15317
15317
|
var Jn;
|
|
15318
|
-
const { userGroupId: c, userId: l } = wn() || {}, [a, u] = U(null), [h, g] = U(!1), x = ye(null), [b, d] = $1(), f = _e(G1), p = _e(t ? nx : B1), y = _e(ox), v = _e(rx), E = _e(ax), C = _e(cx), I = _e(lx), A = _e(ux), w = _e(dx), _ = _e(H1), R = v == null ? void 0 : v[(a == null ? void 0 : a.value) ?? ""], L = R == null ? void 0 : R.expandedView, { formConfigs: O, formViewConfigs: k } =
|
|
15318
|
+
const { userGroupId: c, userId: l } = wn() || {}, [a, u] = U(null), [h, g] = U(!1), x = ye(null), [b, d] = $1(), f = _e(G1), p = _e(t ? nx : B1), y = _e(ox), v = _e(rx), E = _e(ax), C = _e(cx), I = _e(lx), A = _e(ux), w = _e(dx), _ = _e(H1), R = v == null ? void 0 : v[(a == null ? void 0 : a.value) ?? ""], L = R == null ? void 0 : R.expandedView, { formConfigs: O, formViewConfigs: k } = Pe(() => {
|
|
15319
15319
|
if (a && "value" in a && y && y[a.value] && Array.isArray(y[a.value])) {
|
|
15320
15320
|
const Re = y[a.value], it = [
|
|
15321
15321
|
{
|
|
@@ -15333,7 +15333,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15333
15333
|
formConfigs: he,
|
|
15334
15334
|
formViewConfigs: he
|
|
15335
15335
|
};
|
|
15336
|
-
}, [y, a, L]),
|
|
15336
|
+
}, [y, a, L]), P = Pe(() => {
|
|
15337
15337
|
var Re;
|
|
15338
15338
|
const he = ((Re = O == null ? void 0 : O[0]) == null ? void 0 : Re.formFields) || [];
|
|
15339
15339
|
return nl({ formFields: he });
|
|
@@ -15345,19 +15345,19 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15345
15345
|
clearDependentFields: ee,
|
|
15346
15346
|
handleValidationError: de,
|
|
15347
15347
|
isErrorInValidations: ne
|
|
15348
|
-
} = Y1({ state: b, dispatch: d, validations:
|
|
15348
|
+
} = Y1({ state: b, dispatch: d, validations: P }), {
|
|
15349
15349
|
conversationId: j,
|
|
15350
15350
|
sendTrackingEvent: H,
|
|
15351
15351
|
currentSmIds: B,
|
|
15352
15352
|
connectorFunctions: { getFormElement: W, toggleFormElement: Q },
|
|
15353
15353
|
stackingContext: ie,
|
|
15354
15354
|
userEmail: se
|
|
15355
|
-
} = Ye(qe), { userGroupId:
|
|
15355
|
+
} = Ye(qe), { userGroupId: M } = wn() || {}, { fetchConfig: re, createConfig: Ee } = J1({
|
|
15356
15356
|
formFields: O[0].formFields,
|
|
15357
15357
|
formId: O[0].id,
|
|
15358
15358
|
formState: b,
|
|
15359
15359
|
conversationId: j
|
|
15360
|
-
}), Z = (Jn = f == null ? void 0 : f.forms.find((he) => he.type === "edit")) == null ? void 0 : Jn.id, { externalResourceId: Ze } = f ?? {}, je = [C, I, w].includes(te.LOADING), nt =
|
|
15360
|
+
}), Z = (Jn = f == null ? void 0 : f.forms.find((he) => he.type === "edit")) == null ? void 0 : Jn.id, { externalResourceId: Ze } = f ?? {}, je = [C, I, w].includes(te.LOADING), nt = Pe(() => !L || !W ? null : W(), [L, W]), dt = Kt();
|
|
15361
15361
|
pe(() => (L && Q && Q(!0), () => {
|
|
15362
15362
|
L && Q && Q(!1);
|
|
15363
15363
|
}), [L, Q]), pe(() => {
|
|
@@ -15385,7 +15385,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15385
15385
|
}, bt = (he, Re) => {
|
|
15386
15386
|
V(he, Re);
|
|
15387
15387
|
}, ft = (he, Re, it) => {
|
|
15388
|
-
if (Re.action === "clear" && Re.name && (V(Re.name, ""), a != null && a.value && ee(Re.name, E == null ? void 0 : E[a.value]),
|
|
15388
|
+
if (Re.action === "clear" && Re.name && (V(Re.name, ""), a != null && a.value && ee(Re.name, E == null ? void 0 : E[a.value]), P[Re.name].isRequired && de(Re.name, !0)), he && typeof he == "object" && "label" in he && typeof he.label == "string" && "value" in he && (typeof he.value == "string" || typeof he.value == "number") && typeof Re.name < "u")
|
|
15389
15389
|
if (Re.name === "form-object")
|
|
15390
15390
|
x.current = { value: he.value, label: he.label }, b.values && he.value !== (a == null ? void 0 : a.value) && (Object.values(b.values).filter((Dt) => Dt !== "").length > 0 ? g(!0) : nn());
|
|
15391
15391
|
else {
|
|
@@ -15404,14 +15404,14 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15404
15404
|
connector_name: he,
|
|
15405
15405
|
card_title: Re,
|
|
15406
15406
|
sm_ids: B,
|
|
15407
|
-
ug_id:
|
|
15407
|
+
ug_id: M
|
|
15408
15408
|
});
|
|
15409
15409
|
const it = v[Z].interfaceDetails;
|
|
15410
15410
|
if (!it || !A)
|
|
15411
15411
|
return;
|
|
15412
15412
|
const { id: It, args: Dt = {}, previousArgs: Qn = {} } = it, gn = Fi(A, Qn), rn = Fi(b, Dt);
|
|
15413
15413
|
dt(
|
|
15414
|
-
|
|
15414
|
+
Pi({
|
|
15415
15415
|
formId: String(Z),
|
|
15416
15416
|
conversationId: j,
|
|
15417
15417
|
args: rn,
|
|
@@ -15427,7 +15427,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15427
15427
|
connector_name: he,
|
|
15428
15428
|
card_title: Re,
|
|
15429
15429
|
sm_ids: B,
|
|
15430
|
-
ug_id:
|
|
15430
|
+
ug_id: M
|
|
15431
15431
|
});
|
|
15432
15432
|
}).finally(() => {
|
|
15433
15433
|
dt(jr(null));
|
|
@@ -15440,7 +15440,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15440
15440
|
return;
|
|
15441
15441
|
const { id: Re, args: it = {} } = he, It = Fi(b, it);
|
|
15442
15442
|
dt(
|
|
15443
|
-
|
|
15443
|
+
Mi({
|
|
15444
15444
|
formId: String(a.value),
|
|
15445
15445
|
conversationId: j,
|
|
15446
15446
|
args: It,
|
|
@@ -15532,7 +15532,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15532
15532
|
fetchConfig: re,
|
|
15533
15533
|
createConfig: Ee,
|
|
15534
15534
|
values: b.values,
|
|
15535
|
-
validations:
|
|
15535
|
+
validations: P,
|
|
15536
15536
|
...L ? {
|
|
15537
15537
|
cols: $u,
|
|
15538
15538
|
stackIndex: ie.expandedForm
|
|
@@ -15631,7 +15631,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15631
15631
|
const y = {
|
|
15632
15632
|
externalResourceId: h
|
|
15633
15633
|
}, v = o === te.LOADING, E = i === te.LOADING, C = () => {
|
|
15634
|
-
!c && a && "value" in a && (f(
|
|
15634
|
+
!c && a && "value" in a && (f(Pm, { object_type: a.label }), n(Pr({ id: String(a == null ? void 0 : a.value), args: y })).unwrap().catch((O) => {
|
|
15635
15635
|
(O == null ? void 0 : O.status) === 400 ? We({ message: zu, type: Et }) : We({ message: b7, type: Et });
|
|
15636
15636
|
})), l((O) => !O);
|
|
15637
15637
|
}, I = () => {
|
|
@@ -15652,8 +15652,8 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15652
15652
|
const { value: k } = (O == null ? void 0 : O.target) || {};
|
|
15653
15653
|
g(k), l(!1);
|
|
15654
15654
|
}, R = (O, k) => {
|
|
15655
|
-
b((
|
|
15656
|
-
...
|
|
15655
|
+
b((P) => ({
|
|
15656
|
+
...P,
|
|
15657
15657
|
[O]: !!k
|
|
15658
15658
|
}));
|
|
15659
15659
|
}, L = () => Object.keys(x).filter((k) => x[k]).length > 0;
|
|
@@ -15762,7 +15762,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15762
15762
|
] }) : null,
|
|
15763
15763
|
r ? /* @__PURE__ */ m.jsxs(hE, { fullWidth: !0, color: "tertiary", variant: "outlined", onClick: t, size: "medium", children: [
|
|
15764
15764
|
/* @__PURE__ */ m.jsx(mE, {}),
|
|
15765
|
-
/* @__PURE__ */ m.jsx("span", { className: "content__btn", children:
|
|
15765
|
+
/* @__PURE__ */ m.jsx("span", { className: "content__btn", children: M0 })
|
|
15766
15766
|
] }) : null
|
|
15767
15767
|
] })
|
|
15768
15768
|
] }), vE = (e) => e.write.searchObjectList, rh = (e) => e.write.objectDict, yE = (e) => e.write.formFields, CE = (e) => e.write.dependentFieldsMap, xE = "Search in Connectors", EE = "Search in Apps", IE = "Start typing to search..", wE = "Smart search suggestions", AE = ":count result:countSuffix found for :searchObject in :connectorName", _E = "Back to search results", TE = "No search results found", SE = (e) => /* @__PURE__ */ D.createElement("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { id: "icons/Actions/Search" }, /* @__PURE__ */ D.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" }))), LE = F($)`
|
|
@@ -15837,7 +15837,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15837
15837
|
...e,
|
|
15838
15838
|
zIndex: 3
|
|
15839
15839
|
})
|
|
15840
|
-
},
|
|
15840
|
+
}, ME = ({
|
|
15841
15841
|
options: e,
|
|
15842
15842
|
value: t,
|
|
15843
15843
|
inputValue: n,
|
|
@@ -15888,14 +15888,14 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15888
15888
|
...typeof l == "boolean" && { menuIsOpen: l }
|
|
15889
15889
|
}
|
|
15890
15890
|
);
|
|
15891
|
-
},
|
|
15891
|
+
}, PE = F($)`
|
|
15892
15892
|
margin: ${({ isEmpty: e }) => e ? "0" : "12px 0"};
|
|
15893
15893
|
`, jE = ({ objectId: e, searchString: t, fetchSearchResults: n }) => {
|
|
15894
15894
|
var E;
|
|
15895
|
-
const [r, o] = $1(), i = ye(null), s = _e(rh), c = _e(yE), l = _e(CE), a =
|
|
15895
|
+
const [r, o] = $1(), i = ye(null), s = _e(rh), c = _e(yE), l = _e(CE), a = Pe(() => e && c && c[e] && Array.isArray(c[e]) ? {
|
|
15896
15896
|
id: e,
|
|
15897
15897
|
formFields: c[e]
|
|
15898
|
-
} : { id: "emptyFormId", formFields: [] }, [c, e]), u =
|
|
15898
|
+
} : { id: "emptyFormId", formFields: [] }, [c, e]), u = Pe(() => {
|
|
15899
15899
|
const C = (a == null ? void 0 : a.formFields) || [];
|
|
15900
15900
|
return nl({ formFields: C });
|
|
15901
15901
|
}, [a]), {
|
|
@@ -15919,7 +15919,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15919
15919
|
);
|
|
15920
15920
|
pe(() => {
|
|
15921
15921
|
const C = r.values, I = a.id, A = a.formFields;
|
|
15922
|
-
if (Object.values(C).filter((
|
|
15922
|
+
if (Object.values(C).filter((P) => !!P).length < A.length || !s || f()) {
|
|
15923
15923
|
i.current && clearTimeout(i.current);
|
|
15924
15924
|
return;
|
|
15925
15925
|
}
|
|
@@ -15945,7 +15945,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15945
15945
|
h(I.name, _), b(I.name, l[e]);
|
|
15946
15946
|
}
|
|
15947
15947
|
};
|
|
15948
|
-
return /* @__PURE__ */ m.jsx(
|
|
15948
|
+
return /* @__PURE__ */ m.jsx(PE, { isEmpty: ((E = a.formFields) == null ? void 0 : E.length) === 0, children: /* @__PURE__ */ m.jsx(
|
|
15949
15949
|
S1,
|
|
15950
15950
|
{
|
|
15951
15951
|
showGlobalLoader: !1,
|
|
@@ -15961,7 +15961,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15961
15961
|
}
|
|
15962
15962
|
) });
|
|
15963
15963
|
}, ma = "@connector-agent-global-search-priority", ba = k5(), BE = ({ objectList: e }) => ({
|
|
15964
|
-
sortedObjectList:
|
|
15964
|
+
sortedObjectList: Pe(() => {
|
|
15965
15965
|
const r = ba.getItem(ma);
|
|
15966
15966
|
return r ? [...e].sort((o, i) => (r[o.value] ?? 0) > (r[i.value] ?? 0) ? -1 : 1) : e;
|
|
15967
15967
|
}, [e]),
|
|
@@ -16190,11 +16190,11 @@ var ir, kn, Vr, yd, $E = (yd = class extends go {
|
|
|
16190
16190
|
var t;
|
|
16191
16191
|
return typeof S(this, ir) == "boolean" ? S(this, ir) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
|
|
16192
16192
|
}
|
|
16193
|
-
}, ir = new WeakMap(), kn = new WeakMap(), Vr = new WeakMap(), yd), ol = new $E(), Gr,
|
|
16193
|
+
}, ir = new WeakMap(), kn = new WeakMap(), Vr = new WeakMap(), yd), ol = new $E(), Gr, Mn, Hr, Cd, YE = (Cd = class extends go {
|
|
16194
16194
|
constructor() {
|
|
16195
16195
|
super();
|
|
16196
16196
|
ae(this, Gr, !0);
|
|
16197
|
-
ae(this,
|
|
16197
|
+
ae(this, Mn);
|
|
16198
16198
|
ae(this, Hr);
|
|
16199
16199
|
K(this, Hr, (t) => {
|
|
16200
16200
|
if (!xr && window.addEventListener) {
|
|
@@ -16206,15 +16206,15 @@ var ir, kn, Vr, yd, $E = (yd = class extends go {
|
|
|
16206
16206
|
});
|
|
16207
16207
|
}
|
|
16208
16208
|
onSubscribe() {
|
|
16209
|
-
S(this,
|
|
16209
|
+
S(this, Mn) || this.setEventListener(S(this, Hr));
|
|
16210
16210
|
}
|
|
16211
16211
|
onUnsubscribe() {
|
|
16212
16212
|
var t;
|
|
16213
|
-
this.hasListeners() || ((t = S(this,
|
|
16213
|
+
this.hasListeners() || ((t = S(this, Mn)) == null || t.call(this), K(this, Mn, void 0));
|
|
16214
16214
|
}
|
|
16215
16215
|
setEventListener(t) {
|
|
16216
16216
|
var n;
|
|
16217
|
-
K(this, Hr, t), (n = S(this,
|
|
16217
|
+
K(this, Hr, t), (n = S(this, Mn)) == null || n.call(this), K(this, Mn, t(this.setOnline.bind(this)));
|
|
16218
16218
|
}
|
|
16219
16219
|
setOnline(t) {
|
|
16220
16220
|
S(this, Gr) !== t && (K(this, Gr, t), this.listeners.forEach((r) => {
|
|
@@ -16224,7 +16224,7 @@ var ir, kn, Vr, yd, $E = (yd = class extends go {
|
|
|
16224
16224
|
isOnline() {
|
|
16225
16225
|
return S(this, Gr);
|
|
16226
16226
|
}
|
|
16227
|
-
}, Gr = new WeakMap(),
|
|
16227
|
+
}, Gr = new WeakMap(), Mn = new WeakMap(), Hr = new WeakMap(), Cd), us = new YE();
|
|
16228
16228
|
function fc() {
|
|
16229
16229
|
let e, t;
|
|
16230
16230
|
const n = new Promise((o, i) => {
|
|
@@ -17133,17 +17133,17 @@ function r8(e, { pages: t, pageParams: n }) {
|
|
|
17133
17133
|
var r;
|
|
17134
17134
|
return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
|
|
17135
17135
|
}
|
|
17136
|
-
var Xe,
|
|
17136
|
+
var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
17137
17137
|
constructor(e = {}) {
|
|
17138
17138
|
ae(this, Xe);
|
|
17139
|
-
ae(this,
|
|
17139
|
+
ae(this, Pn);
|
|
17140
17140
|
ae(this, jn);
|
|
17141
17141
|
ae(this, Ur);
|
|
17142
17142
|
ae(this, Xr);
|
|
17143
17143
|
ae(this, Bn);
|
|
17144
17144
|
ae(this, zr);
|
|
17145
17145
|
ae(this, $r);
|
|
17146
|
-
K(this, Xe, e.queryCache || new e8()), K(this,
|
|
17146
|
+
K(this, Xe, e.queryCache || new e8()), K(this, Pn, e.mutationCache || new n8()), K(this, jn, e.defaultOptions || {}), K(this, Ur, /* @__PURE__ */ new Map()), K(this, Xr, /* @__PURE__ */ new Map()), K(this, Bn, 0);
|
|
17147
17147
|
}
|
|
17148
17148
|
mount() {
|
|
17149
17149
|
ui(this, Bn)._++, S(this, Bn) === 1 && (K(this, zr, ol.subscribe(async (e) => {
|
|
@@ -17160,7 +17160,7 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17160
17160
|
return S(this, Xe).findAll({ ...e, fetchStatus: "fetching" }).length;
|
|
17161
17161
|
}
|
|
17162
17162
|
isMutating(e) {
|
|
17163
|
-
return S(this,
|
|
17163
|
+
return S(this, Pn).findAll({ ...e, status: "pending" }).length;
|
|
17164
17164
|
}
|
|
17165
17165
|
getQueryData(e) {
|
|
17166
17166
|
var n;
|
|
@@ -17269,13 +17269,13 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17269
17269
|
return e.behavior = ud(e.pages), this.ensureQueryData(e);
|
|
17270
17270
|
}
|
|
17271
17271
|
resumePausedMutations() {
|
|
17272
|
-
return us.isOnline() ? S(this,
|
|
17272
|
+
return us.isOnline() ? S(this, Pn).resumePausedMutations() : Promise.resolve();
|
|
17273
17273
|
}
|
|
17274
17274
|
getQueryCache() {
|
|
17275
17275
|
return S(this, Xe);
|
|
17276
17276
|
}
|
|
17277
17277
|
getMutationCache() {
|
|
17278
|
-
return S(this,
|
|
17278
|
+
return S(this, Pn);
|
|
17279
17279
|
}
|
|
17280
17280
|
getDefaultOptions() {
|
|
17281
17281
|
return S(this, jn);
|
|
@@ -17330,12 +17330,12 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17330
17330
|
};
|
|
17331
17331
|
}
|
|
17332
17332
|
clear() {
|
|
17333
|
-
S(this, Xe).clear(), S(this,
|
|
17333
|
+
S(this, Xe).clear(), S(this, Pn).clear();
|
|
17334
17334
|
}
|
|
17335
|
-
}, Xe = new WeakMap(),
|
|
17335
|
+
}, Xe = new WeakMap(), Pn = new WeakMap(), jn = new WeakMap(), Ur = new WeakMap(), Xr = new WeakMap(), Bn = new WeakMap(), zr = new WeakMap(), $r = new WeakMap(), _d), At, Ie, qo, Ct, ur, Yr, Vn, cn, Ko, Jr, Qr, dr, fr, Gn, qr, Me, Ro, hc, pc, gc, mc, bc, vc, yc, hh, Td, i8 = (Td = class extends go {
|
|
17336
17336
|
constructor(t, n) {
|
|
17337
17337
|
super();
|
|
17338
|
-
ae(this,
|
|
17338
|
+
ae(this, Me);
|
|
17339
17339
|
ae(this, At);
|
|
17340
17340
|
ae(this, Ie);
|
|
17341
17341
|
ae(this, qo);
|
|
@@ -17361,7 +17361,7 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17361
17361
|
this.refetch = this.refetch.bind(this);
|
|
17362
17362
|
}
|
|
17363
17363
|
onSubscribe() {
|
|
17364
|
-
this.listeners.size === 1 && (S(this, Ie).addObserver(this), fd(S(this, Ie), this.options) ? ve(this,
|
|
17364
|
+
this.listeners.size === 1 && (S(this, Ie).addObserver(this), fd(S(this, Ie), this.options) ? ve(this, Me, Ro).call(this) : this.updateResult(), ve(this, Me, mc).call(this));
|
|
17365
17365
|
}
|
|
17366
17366
|
onUnsubscribe() {
|
|
17367
17367
|
this.hasListeners() || this.destroy();
|
|
@@ -17381,7 +17381,7 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17381
17381
|
);
|
|
17382
17382
|
}
|
|
17383
17383
|
destroy() {
|
|
17384
|
-
this.listeners = /* @__PURE__ */ new Set(), ve(this,
|
|
17384
|
+
this.listeners = /* @__PURE__ */ new Set(), ve(this, Me, bc).call(this), ve(this, Me, vc).call(this), S(this, Ie).removeObserver(this);
|
|
17385
17385
|
}
|
|
17386
17386
|
setOptions(t, n) {
|
|
17387
17387
|
const r = this.options, o = S(this, Ie);
|
|
@@ -17389,7 +17389,7 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17389
17389
|
throw new Error(
|
|
17390
17390
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
17391
17391
|
);
|
|
17392
|
-
ve(this,
|
|
17392
|
+
ve(this, Me, yc).call(this), S(this, Ie).setOptions(this.options), r._defaulted && !cs(this.options, r) && S(this, At).getQueryCache().notify({
|
|
17393
17393
|
type: "observerOptionsUpdated",
|
|
17394
17394
|
query: S(this, Ie),
|
|
17395
17395
|
observer: this
|
|
@@ -17400,9 +17400,9 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17400
17400
|
o,
|
|
17401
17401
|
this.options,
|
|
17402
17402
|
r
|
|
17403
|
-
) && ve(this,
|
|
17404
|
-
const s = ve(this,
|
|
17405
|
-
i && (S(this, Ie) !== o || Jt(this.options.enabled, S(this, Ie)) !== Jt(r.enabled, S(this, Ie)) || s !== S(this, Gn)) && ve(this,
|
|
17403
|
+
) && ve(this, Me, Ro).call(this), this.updateResult(n), i && (S(this, Ie) !== o || Jt(this.options.enabled, S(this, Ie)) !== Jt(r.enabled, S(this, Ie)) || Br(this.options.staleTime, S(this, Ie)) !== Br(r.staleTime, S(this, Ie))) && ve(this, Me, hc).call(this);
|
|
17404
|
+
const s = ve(this, Me, pc).call(this);
|
|
17405
|
+
i && (S(this, Ie) !== o || Jt(this.options.enabled, S(this, Ie)) !== Jt(r.enabled, S(this, Ie)) || s !== S(this, Gn)) && ve(this, Me, gc).call(this, s);
|
|
17406
17406
|
}
|
|
17407
17407
|
getOptimisticResult(t) {
|
|
17408
17408
|
const n = S(this, At).getQueryCache().build(S(this, At), t), r = this.createResult(n, t);
|
|
@@ -17437,7 +17437,7 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17437
17437
|
return r.fetch().then(() => this.createResult(r, n));
|
|
17438
17438
|
}
|
|
17439
17439
|
fetch(t) {
|
|
17440
|
-
return ve(this,
|
|
17440
|
+
return ve(this, Me, Ro).call(this, {
|
|
17441
17441
|
...t,
|
|
17442
17442
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
17443
17443
|
}).then(() => (this.updateResult(), S(this, Ct)));
|
|
@@ -17552,20 +17552,20 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17552
17552
|
return S(this, Ct)[u] !== n[u] && l.has(u);
|
|
17553
17553
|
});
|
|
17554
17554
|
};
|
|
17555
|
-
(t == null ? void 0 : t.listeners) !== !1 && i() && (o.listeners = !0), ve(this,
|
|
17555
|
+
(t == null ? void 0 : t.listeners) !== !1 && i() && (o.listeners = !0), ve(this, Me, hh).call(this, { ...o, ...t });
|
|
17556
17556
|
}
|
|
17557
17557
|
onQueryUpdate() {
|
|
17558
|
-
this.updateResult(), this.hasListeners() && ve(this,
|
|
17558
|
+
this.updateResult(), this.hasListeners() && ve(this, Me, mc).call(this);
|
|
17559
17559
|
}
|
|
17560
|
-
}, At = new WeakMap(), Ie = new WeakMap(), qo = new WeakMap(), Ct = new WeakMap(), ur = new WeakMap(), Yr = new WeakMap(), Vn = new WeakMap(), cn = new WeakMap(), Ko = new WeakMap(), Jr = new WeakMap(), Qr = new WeakMap(), dr = new WeakMap(), fr = new WeakMap(), Gn = new WeakMap(), qr = new WeakMap(),
|
|
17561
|
-
ve(this,
|
|
17560
|
+
}, At = new WeakMap(), Ie = new WeakMap(), qo = new WeakMap(), Ct = new WeakMap(), ur = new WeakMap(), Yr = new WeakMap(), Vn = new WeakMap(), cn = new WeakMap(), Ko = new WeakMap(), Jr = new WeakMap(), Qr = new WeakMap(), dr = new WeakMap(), fr = new WeakMap(), Gn = new WeakMap(), qr = new WeakMap(), Me = new WeakSet(), Ro = function(t) {
|
|
17561
|
+
ve(this, Me, yc).call(this);
|
|
17562
17562
|
let n = S(this, Ie).fetch(
|
|
17563
17563
|
this.options,
|
|
17564
17564
|
t
|
|
17565
17565
|
);
|
|
17566
17566
|
return t != null && t.throwOnError || (n = n.catch(Ut)), n;
|
|
17567
17567
|
}, hc = function() {
|
|
17568
|
-
ve(this,
|
|
17568
|
+
ve(this, Me, bc).call(this);
|
|
17569
17569
|
const t = Br(
|
|
17570
17570
|
this.options.staleTime,
|
|
17571
17571
|
S(this, Ie)
|
|
@@ -17579,11 +17579,11 @@ var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
|
17579
17579
|
}, pc = function() {
|
|
17580
17580
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(S(this, Ie)) : this.options.refetchInterval) ?? !1;
|
|
17581
17581
|
}, gc = function(t) {
|
|
17582
|
-
ve(this,
|
|
17583
|
-
(this.options.refetchIntervalInBackground || ol.isFocused()) && ve(this,
|
|
17582
|
+
ve(this, Me, vc).call(this), K(this, Gn, t), !(xr || Jt(this.options.enabled, S(this, Ie)) === !1 || !cc(S(this, Gn)) || S(this, Gn) === 0) && K(this, fr, setInterval(() => {
|
|
17583
|
+
(this.options.refetchIntervalInBackground || ol.isFocused()) && ve(this, Me, Ro).call(this);
|
|
17584
17584
|
}, S(this, Gn)));
|
|
17585
17585
|
}, mc = function() {
|
|
17586
|
-
ve(this,
|
|
17586
|
+
ve(this, Me, hc).call(this), ve(this, Me, gc).call(this, ve(this, Me, pc).call(this));
|
|
17587
17587
|
}, bc = function() {
|
|
17588
17588
|
S(this, dr) && (clearTimeout(S(this, dr)), K(this, dr, void 0));
|
|
17589
17589
|
}, vc = function() {
|
|
@@ -17917,7 +17917,7 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
17917
17917
|
enabled: g && !!c,
|
|
17918
17918
|
conversationId: String(c),
|
|
17919
17919
|
senderEmail: l
|
|
17920
|
-
}), f = (d == null ? void 0 : d.suggestedOptions) ?? [], p =
|
|
17920
|
+
}), f = (d == null ? void 0 : d.suggestedOptions) ?? [], p = Pe(() => !h || !x.length ? [] : x.map(({ value: v }) => {
|
|
17921
17921
|
const E = h[v];
|
|
17922
17922
|
return E ? {
|
|
17923
17923
|
description: `${E.connectorName ?? ""} - ${E.searchObject}`,
|
|
@@ -17932,7 +17932,7 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
17932
17932
|
};
|
|
17933
17933
|
return p.length ? /* @__PURE__ */ m.jsxs($, { children: [
|
|
17934
17934
|
/* @__PURE__ */ m.jsx(
|
|
17935
|
-
|
|
17935
|
+
ME,
|
|
17936
17936
|
{
|
|
17937
17937
|
value: e,
|
|
17938
17938
|
options: p.map((v) => ({ ...v, label: i })),
|
|
@@ -17985,7 +17985,7 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
17985
17985
|
letter-spacing: 0.4px;
|
|
17986
17986
|
text-align: center;
|
|
17987
17987
|
vertical-align: middle;
|
|
17988
|
-
`,
|
|
17988
|
+
`, M8 = ({
|
|
17989
17989
|
meta: { externalResourceId: e, formId: t, searchKeyword: n, searchResultLabel: r },
|
|
17990
17990
|
onBack: o,
|
|
17991
17991
|
onLink: i
|
|
@@ -17994,7 +17994,7 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
17994
17994
|
externalResourceId: e
|
|
17995
17995
|
};
|
|
17996
17996
|
pe(() => {
|
|
17997
|
-
s(
|
|
17997
|
+
s(Pr({ id: t, args: { externalResourceId: e } }));
|
|
17998
17998
|
}, [e, t, s]);
|
|
17999
17999
|
const p = () => {
|
|
18000
18000
|
a(r3, {
|
|
@@ -18044,8 +18044,8 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
18044
18044
|
}
|
|
18045
18045
|
}
|
|
18046
18046
|
`};
|
|
18047
|
-
`, M8 = "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", j8 = () => /* @__PURE__ */ m.jsxs(fe, { justifyItems: "center", marginTop: "40px", children: [
|
|
18048
|
-
/* @__PURE__ */ m.jsx("img", { src:
|
|
18047
|
+
`, P8 = "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", j8 = () => /* @__PURE__ */ m.jsxs(fe, { justifyItems: "center", marginTop: "40px", children: [
|
|
18048
|
+
/* @__PURE__ */ m.jsx("img", { src: P8, width: 124, height: 107 }),
|
|
18049
18049
|
/* @__PURE__ */ m.jsx(ue, { variant: "body2", color: X.palette.gray.gray3, children: TE })
|
|
18050
18050
|
] }), B8 = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: r }) => {
|
|
18051
18051
|
const o = Kt(), { sendTrackingEvent: i, currentSmIds: s } = Ye(qe), [c, l] = U(null), a = uo(AE, {
|
|
@@ -18070,7 +18070,7 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
18070
18070
|
}, g = () => {
|
|
18071
18071
|
n(), r(), h();
|
|
18072
18072
|
};
|
|
18073
|
-
return e.length ? c ? /* @__PURE__ */ m.jsx(
|
|
18073
|
+
return e.length ? c ? /* @__PURE__ */ m.jsx(M8, { meta: c, onBack: h, onLink: g }) : /* @__PURE__ */ m.jsxs($, { gap: "14px", marginTop: "12px", children: [
|
|
18074
18074
|
/* @__PURE__ */ m.jsx(ue, { variant: "body2", children: a }),
|
|
18075
18075
|
/* @__PURE__ */ m.jsx($, { gap: "17px", children: e == null ? void 0 : e.map(({ externalResourceId: x, name: b, description: d }) => /* @__PURE__ */ m.jsxs(Ch, { onClick: () => u(x, b), direction: "row", children: [
|
|
18076
18076
|
/* @__PURE__ */ m.jsxs($, { flexGrow: 1, children: [
|
|
@@ -18151,7 +18151,7 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
18151
18151
|
};
|
|
18152
18152
|
}, Z8 = ({ isAdmin: e = !1 }) => {
|
|
18153
18153
|
var li;
|
|
18154
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = Ye(qe), s = Kt(), { userGroupId: c, userId: l } = wn() || {}, a = ye(!1), u = ye(null), h = ye(null), g = ye(null), [x, b] = U({}), [d, f] = U(!1), [p, y] = U(!1), [v, E] = U(!1), [C, I] = U(!1), [A, w] = U(), [_, R] = U(!1), [L, O] = U(null), [k,
|
|
18154
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = Ye(qe), s = Kt(), { userGroupId: c, userId: l } = wn() || {}, a = ye(!1), u = ye(null), h = ye(null), g = ye(null), [x, b] = U({}), [d, f] = U(!1), [p, y] = U(!1), [v, E] = U(!1), [C, I] = U(!1), [A, w] = U(), [_, R] = U(!1), [L, O] = U(null), [k, P] = U(), [V, z] = U(null), [J, Y] = U(!1), [ee, de] = U(!1), ne = _e(B7), j = _e(V7), H = _e(H7), B = _e(W7), W = _e(G7), Q = _e(B1), ie = _e(tx), se = _e(V1), M = _e(G1), re = _e(H1), Ee = _e(rE), Z = gt(o, l3), Ze = gt(o, S0), je = gt(o, g3), nt = gt(o, b3), dt = gt(o, v3), nn = gt(o, y3), bt = k3(H), { data: ft, isLoading: Je } = vh({
|
|
18155
18155
|
senderEmail: t,
|
|
18156
18156
|
conversationId: String(i),
|
|
18157
18157
|
enabled: nt && !!t
|
|
@@ -18219,18 +18219,18 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
18219
18219
|
l && (Y(await Xd(l)), de(await jp(l)));
|
|
18220
18220
|
})();
|
|
18221
18221
|
}, [l]), pe(() => {
|
|
18222
|
-
Je ||
|
|
18222
|
+
Je || P(Gt || t);
|
|
18223
18223
|
}, [t, Gt, Je]), pe(() => {
|
|
18224
18224
|
ee && l && Bp(l);
|
|
18225
18225
|
}, [ee, l]), pe(() => {
|
|
18226
18226
|
var we;
|
|
18227
|
-
if (
|
|
18227
|
+
if (M) {
|
|
18228
18228
|
y(!0);
|
|
18229
|
-
const { externalResourceId: Ue } =
|
|
18229
|
+
const { externalResourceId: Ue } = M, Ht = (we = M.forms.find((mn) => mn.type === "edit")) == null ? void 0 : we.id;
|
|
18230
18230
|
si(Ht, Ue);
|
|
18231
18231
|
} else
|
|
18232
18232
|
y(!1), s(N7());
|
|
18233
|
-
}, [
|
|
18233
|
+
}, [M, si, s]), pe(() => (rn(), wr(), () => {
|
|
18234
18234
|
s(Ku.clearConnectorList());
|
|
18235
18235
|
}), [s, rn, wr]), pe(() => (ne && ne.length && !a.current && (r(Tm, {
|
|
18236
18236
|
numOfCards: ne.length,
|
|
@@ -18284,8 +18284,8 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
18284
18284
|
}, Ar = (we) => {
|
|
18285
18285
|
r(we, A), re ? R(!0) : (E(!1), z(null));
|
|
18286
18286
|
}, mo = (we) => {
|
|
18287
|
-
if (
|
|
18288
|
-
const { connectorName: Ue, title: Ht } =
|
|
18287
|
+
if (M) {
|
|
18288
|
+
const { connectorName: Ue, title: Ht } = M;
|
|
18289
18289
|
r(we, {
|
|
18290
18290
|
connector_name: Ue,
|
|
18291
18291
|
card_title: Ht,
|
|
@@ -18378,7 +18378,7 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
18378
18378
|
selectedEmail: k,
|
|
18379
18379
|
root: u.current,
|
|
18380
18380
|
isLoading: Je,
|
|
18381
|
-
setSelectedEmail:
|
|
18381
|
+
setSelectedEmail: P
|
|
18382
18382
|
}
|
|
18383
18383
|
) : null,
|
|
18384
18384
|
Z ? /* @__PURE__ */ m.jsx(Zx, {}) : null,
|
|
@@ -18471,7 +18471,7 @@ const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
|
18471
18471
|
stackingContext: u,
|
|
18472
18472
|
isAdmin: h = !1
|
|
18473
18473
|
}) => {
|
|
18474
|
-
const g =
|
|
18474
|
+
const g = Pe(
|
|
18475
18475
|
() => ({
|
|
18476
18476
|
userEmail: i,
|
|
18477
18477
|
email: n,
|
|
@@ -19554,11 +19554,7 @@ class K8 {
|
|
|
19554
19554
|
document.querySelectorAll(n).forEach((o) => {
|
|
19555
19555
|
this.isElementVisible(o) && this.highlightInElement(o);
|
|
19556
19556
|
});
|
|
19557
|
-
}), this.onHighlightsUpdated &&
|
|
19558
|
-
var r;
|
|
19559
|
-
const n = Array.from(document.querySelectorAll(".gmail-highlight"));
|
|
19560
|
-
(r = this.onHighlightsUpdated) == null || r.call(this, n);
|
|
19561
|
-
}, 1e3);
|
|
19557
|
+
}), this.onHighlightsUpdated && this.observeHighlightChanges();
|
|
19562
19558
|
} finally {
|
|
19563
19559
|
setTimeout(() => {
|
|
19564
19560
|
this.isHighlighting = !1;
|
|
@@ -19610,6 +19606,34 @@ class K8 {
|
|
|
19610
19606
|
escapeRegex(t) {
|
|
19611
19607
|
return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
19612
19608
|
}
|
|
19609
|
+
// Observe DOM changes for newly added highlights
|
|
19610
|
+
observeHighlightChanges() {
|
|
19611
|
+
const t = new MutationObserver((r) => {
|
|
19612
|
+
var i;
|
|
19613
|
+
let o = !1;
|
|
19614
|
+
if (r.forEach((s) => {
|
|
19615
|
+
s.type === "childList" && s.addedNodes.forEach((c) => {
|
|
19616
|
+
var l, a;
|
|
19617
|
+
if (c.nodeType === 1) {
|
|
19618
|
+
const u = c;
|
|
19619
|
+
((l = u.classList) != null && l.contains("gmail-highlight") || (a = u.querySelector) != null && a.call(u, ".gmail-highlight")) && (o = !0);
|
|
19620
|
+
}
|
|
19621
|
+
});
|
|
19622
|
+
}), o && this.onHighlightsUpdated) {
|
|
19623
|
+
const s = Array.from(document.querySelectorAll(".gmail-highlight"));
|
|
19624
|
+
(i = this.onHighlightsUpdated) == null || i.call(this, s), t.disconnect();
|
|
19625
|
+
}
|
|
19626
|
+
}), n = this.findGmailContainer();
|
|
19627
|
+
n && (t.observe(n, {
|
|
19628
|
+
childList: !0,
|
|
19629
|
+
subtree: !0
|
|
19630
|
+
}), setTimeout(() => {
|
|
19631
|
+
if (t.disconnect(), this.onHighlightsUpdated) {
|
|
19632
|
+
const r = Array.from(document.querySelectorAll(".gmail-highlight"));
|
|
19633
|
+
this.onHighlightsUpdated(r);
|
|
19634
|
+
}
|
|
19635
|
+
}, 200));
|
|
19636
|
+
}
|
|
19613
19637
|
refreshHighlights() {
|
|
19614
19638
|
this.highlightAllEmails();
|
|
19615
19639
|
}
|
|
@@ -19858,9 +19882,9 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19858
19882
|
} = e.cardData || {};
|
|
19859
19883
|
if (pe(() => {
|
|
19860
19884
|
var V, z, J;
|
|
19861
|
-
const
|
|
19862
|
-
if (
|
|
19863
|
-
const Y =
|
|
19885
|
+
const P = (J = (z = (V = e == null ? void 0 : e.cardData) == null ? void 0 : V.data) == null ? void 0 : z.flatDetails) == null ? void 0 : J.data;
|
|
19886
|
+
if (P) {
|
|
19887
|
+
const Y = P.sort((ee, de) => ee.priority - de.priority);
|
|
19864
19888
|
x(Y), c(Nn.OBJECT_HOVERED, { key: C, cardId: y });
|
|
19865
19889
|
}
|
|
19866
19890
|
}, [e, C, c, y]), !g || g.length === 0) return null;
|
|
@@ -19878,15 +19902,15 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19878
19902
|
connectorId: E,
|
|
19879
19903
|
externalResourceId: v
|
|
19880
19904
|
});
|
|
19881
|
-
}, w = (
|
|
19905
|
+
}, w = (P) => {
|
|
19882
19906
|
const V = {
|
|
19883
19907
|
card_id: y,
|
|
19884
19908
|
entity_id: v,
|
|
19885
|
-
comment:
|
|
19886
|
-
option:
|
|
19909
|
+
comment: P.feedbackComment,
|
|
19910
|
+
option: P.feedbackOption,
|
|
19887
19911
|
feedback_type: "entity_extraction"
|
|
19888
19912
|
};
|
|
19889
|
-
typeof
|
|
19913
|
+
typeof P.isThumbsUp < "u" && (V.positive_feedback = P.isThumbsUp), b(
|
|
19890
19914
|
{
|
|
19891
19915
|
conversationId: n,
|
|
19892
19916
|
feedbackData: V
|
|
@@ -19913,17 +19937,17 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19913
19937
|
connectorId: E,
|
|
19914
19938
|
externalResourceId: v
|
|
19915
19939
|
});
|
|
19916
|
-
}, R = (
|
|
19917
|
-
w({ ...
|
|
19940
|
+
}, R = (P) => {
|
|
19941
|
+
w({ ...P, isThumbsUp: !1 });
|
|
19918
19942
|
}, L = () => {
|
|
19919
19943
|
o == null || o(E), s();
|
|
19920
19944
|
}, O = () => {
|
|
19921
19945
|
i == null || i();
|
|
19922
|
-
}, k = (
|
|
19946
|
+
}, k = (P) => {
|
|
19923
19947
|
c(Nn.PERMALINK_CLICKED, {
|
|
19924
19948
|
key: C,
|
|
19925
19949
|
cardId: y,
|
|
19926
|
-
clickedValue:
|
|
19950
|
+
clickedValue: P,
|
|
19927
19951
|
connectorId: E,
|
|
19928
19952
|
externalResourceId: v
|
|
19929
19953
|
});
|
|
@@ -19939,7 +19963,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19939
19963
|
r ? /* @__PURE__ */ m.jsx(SI, { variant: "text", size: "small", endIcon: /* @__PURE__ */ m.jsx(jt.ArrowForward, {}), onClick: O, children: sI }) : null
|
|
19940
19964
|
] }),
|
|
19941
19965
|
/* @__PURE__ */ m.jsx(EI, {}),
|
|
19942
|
-
/* @__PURE__ */ m.jsx(fe, { paddingY: "16px", children: g.map(({ key:
|
|
19966
|
+
/* @__PURE__ */ m.jsx(fe, { paddingY: "16px", children: g.map(({ key: P, value: V, label: z, deepLink: J }) => /* @__PURE__ */ m.jsxs(_I, { children: [
|
|
19943
19967
|
/* @__PURE__ */ m.jsxs(wI, { children: [
|
|
19944
19968
|
z,
|
|
19945
19969
|
":"
|
|
@@ -19955,7 +19979,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19955
19979
|
children: Ul(V || "N/A", Ca)
|
|
19956
19980
|
}
|
|
19957
19981
|
) : /* @__PURE__ */ m.jsx(AI, { children: Ul(V || "N/A", Ca) }) })
|
|
19958
|
-
] },
|
|
19982
|
+
] }, P)) })
|
|
19959
19983
|
] }),
|
|
19960
19984
|
/* @__PURE__ */ m.jsxs(TI, { children: [
|
|
19961
19985
|
/* @__PURE__ */ m.jsx($, { flexDirection: "row", alignItems: "center", children: t ? /* @__PURE__ */ m.jsx(So, { arrow: !0, title: oI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { onClick: L, children: /* @__PURE__ */ m.jsx(RI, {}) }) }) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
@@ -19993,7 +20017,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19993
20017
|
const r = e.getBoundingClientRect(), o = window.innerHeight, i = window.innerWidth, s = r.top, c = o - r.bottom;
|
|
19994
20018
|
return c >= t || c > s ? r.left < n / 2 ? "bottom-start" : i - r.right < n / 2 ? "bottom-end" : "bottom" : r.left < n / 2 ? "top-start" : i - r.right < n / 2 ? "top-end" : "top";
|
|
19995
20019
|
}, kI = F(({ className: e, ...t }) => /* @__PURE__ */ m.jsx(Ge, { ...t, classes: { popper: e } }))(() => ({
|
|
19996
|
-
[`& .${
|
|
20020
|
+
[`& .${Md.tooltip}`]: {
|
|
19997
20021
|
backgroundColor: "#fff",
|
|
19998
20022
|
padding: 0,
|
|
19999
20023
|
maxWidth: "288px",
|
|
@@ -20006,7 +20030,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
20006
20030
|
position: "relative"
|
|
20007
20031
|
}
|
|
20008
20032
|
}));
|
|
20009
|
-
function
|
|
20033
|
+
function MI({ elements: e, title: t, onKeyChange: n }) {
|
|
20010
20034
|
const [r, o] = U(!1), [i, s] = U(null), [c, l] = U(""), [a, u] = U("bottom"), [h, g] = U(!1), x = Ce.useRef(null), b = Ce.useRef({ x: 0, y: 0 }), d = Ce.useCallback(() => {
|
|
20011
20035
|
x.current && (clearTimeout(x.current), x.current = null);
|
|
20012
20036
|
}, []);
|
|
@@ -20030,7 +20054,7 @@ function PI({ elements: e, title: t, onKeyChange: n }) {
|
|
|
20030
20054
|
break;
|
|
20031
20055
|
}
|
|
20032
20056
|
if (!L) {
|
|
20033
|
-
const O = document.querySelector(`.${
|
|
20057
|
+
const O = document.querySelector(`.${Md.tooltip}`);
|
|
20034
20058
|
O && bd(_, R, O.getBoundingClientRect()) && (L = !0);
|
|
20035
20059
|
}
|
|
20036
20060
|
L || (o(!1), s(null));
|
|
@@ -20075,7 +20099,7 @@ function PI({ elements: e, title: t, onKeyChange: n }) {
|
|
|
20075
20099
|
}
|
|
20076
20100
|
);
|
|
20077
20101
|
}
|
|
20078
|
-
const
|
|
20102
|
+
const PI = ({
|
|
20079
20103
|
conversationId: e,
|
|
20080
20104
|
hasSmList: t,
|
|
20081
20105
|
isAdmin: n,
|
|
@@ -20092,7 +20116,7 @@ const MI = ({
|
|
|
20092
20116
|
g && g.destroy(), window.tooltipCleanup && delete window.tooltipCleanup;
|
|
20093
20117
|
};
|
|
20094
20118
|
}, [s, e, i]), /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsx(
|
|
20095
|
-
|
|
20119
|
+
MI,
|
|
20096
20120
|
{
|
|
20097
20121
|
elements: l,
|
|
20098
20122
|
title: (g, x) => {
|
|
@@ -20114,7 +20138,7 @@ const MI = ({
|
|
|
20114
20138
|
) });
|
|
20115
20139
|
}, jI = ({ children: e }) => /* @__PURE__ */ m.jsx(Q0, { store: Eh, children: /* @__PURE__ */ m.jsx(kd, { custom: !0, children: /* @__PURE__ */ m.jsx(xh, { children: /* @__PURE__ */ m.jsx(Od, { fallback: /* @__PURE__ */ m.jsx(m.Fragment, {}), children: e }) }) }) }), qI = ({ conversationId: e, hasSmList: t, isAdmin: n, connectorFunctions: r }) => /* @__PURE__ */ m.jsx(Ih, { children: /* @__PURE__ */ m.jsxs(jI, { children: [
|
|
20116
20140
|
/* @__PURE__ */ m.jsx(
|
|
20117
|
-
|
|
20141
|
+
PI,
|
|
20118
20142
|
{
|
|
20119
20143
|
hasSmList: t,
|
|
20120
20144
|
conversationId: e,
|