@hiver/connector-agent 4.8.1 → 4.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/connector-cards.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/Card.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/card-content-value.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
- package/features/feedback/index.d.ts.map +1 -1
- package/index.es.js +674 -677
- package/index.umd.js +70 -71
- package/package.json +2 -2
package/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var Nh = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var zl = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
5
|
var kh = (e, t, n) => t in e ? Nh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
6
|
-
var Be = (e, t, n) => kh(e, typeof t != "symbol" ? t + "" : t, n), la = (e, t, n) => t.has(e) ||
|
|
7
|
-
var L = (e, t, n) => (la(e, t, "read from private field"), n ? n.call(e) : t.get(e)), fe = (e, t, n) => t.has(e) ?
|
|
6
|
+
var Be = (e, t, n) => kh(e, typeof t != "symbol" ? t + "" : t, n), la = (e, t, n) => t.has(e) || zl("Cannot " + n);
|
|
7
|
+
var L = (e, t, n) => (la(e, t, "read from private field"), n ? n.call(e) : t.get(e)), fe = (e, t, n) => t.has(e) ? zl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), te = (e, t, n, r) => (la(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), Ee = (e, t, n) => (la(e, t, "access private method"), n);
|
|
8
8
|
var Ai = (e, t, n, r) => ({
|
|
9
9
|
set _(o) {
|
|
10
10
|
te(e, t, o, n);
|
|
@@ -14,9 +14,9 @@ var Ai = (e, t, n, r) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as A from "react";
|
|
17
|
-
import Ae, { useState as U, useRef as Ie, useSyncExternalStore as
|
|
17
|
+
import Ae, { useState as U, useRef as Ie, useSyncExternalStore as T0, useLayoutEffect as Eo, useEffect as ue, isValidElement as Jr, cloneElement as Za, createContext as Jc, useContext as Oe, useCallback as Te, forwardRef as Ss, useMemo as we, Component as Mh, Fragment as Ua, useReducer as Ph, memo as S0, Suspense as qc } from "react";
|
|
18
18
|
import jh, { createPortal as Io } from "react-dom";
|
|
19
|
-
import { keyframes as Qc, styled as O, Stack as B, theme as Z, IconButton as ut, Typography as ee, Box as ie, Tooltip as _e, Button as Ze, icons as vt, Menu as Bh, MenuItem as
|
|
19
|
+
import { keyframes as Qc, styled as O, Stack as B, theme as Z, IconButton as ut, Typography as ee, Box as ie, Tooltip as _e, Button as Ze, icons as vt, Menu as Bh, MenuItem as L0, ListItemIcon as Vh, brandIcons as O0, Grid as Gh, Link as vi, Skeleton as Kc, TableHead as Hh, TableCell as Ls, TableRow as R0, palette as Wh, Icon as F0, DatePicker as Zh, DateTextField as Uh, InputAdornment as Xh, Checkbox as D0, TextField as $h, tooltipClasses as ei, TableContainer as zh, Table as Yh, TableBody as Jh, Dialog as qh, Paper as Qh, Select as Kh, HiverProvider as el, CircularProgress as N0, FormControl as k0, RadioGroup as M0, FormControlLabel as P0, Radio as j0, ClickAwayListener as ep, OutlinedInput as tp, Switch as np } from "@hiver/hiver-ui-kit";
|
|
20
20
|
var ye = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Xa = { exports: {} }, Mo = {};
|
|
21
21
|
/**
|
|
22
22
|
* @license React
|
|
@@ -27,10 +27,10 @@ var ye = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
27
27
|
* This source code is licensed under the MIT license found in the
|
|
28
28
|
* LICENSE file in the root directory of this source tree.
|
|
29
29
|
*/
|
|
30
|
-
var
|
|
30
|
+
var Yl;
|
|
31
31
|
function rp() {
|
|
32
|
-
if (
|
|
33
|
-
|
|
32
|
+
if (Yl) return Mo;
|
|
33
|
+
Yl = 1;
|
|
34
34
|
var e = Ae, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
35
35
|
function s(a, c, l) {
|
|
36
36
|
var d, g = {}, m = null, C = null;
|
|
@@ -51,9 +51,9 @@ var Po = {};
|
|
|
51
51
|
* This source code is licensed under the MIT license found in the
|
|
52
52
|
* LICENSE file in the root directory of this source tree.
|
|
53
53
|
*/
|
|
54
|
-
var
|
|
54
|
+
var Jl;
|
|
55
55
|
function op() {
|
|
56
|
-
return
|
|
56
|
+
return Jl || (Jl = 1, process.env.NODE_ENV !== "production" && function() {
|
|
57
57
|
var e = Ae, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), b = Symbol.iterator, f = "@@iterator";
|
|
58
58
|
function h(S) {
|
|
59
59
|
if (S === null || typeof S != "object")
|
|
@@ -647,17 +647,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
647
647
|
}
|
|
648
648
|
process.env.NODE_ENV === "production" ? Xa.exports = rp() : Xa.exports = op();
|
|
649
649
|
var u = Xa.exports;
|
|
650
|
-
function
|
|
650
|
+
function B0(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 = B0(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 Kn() {
|
|
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 = B0(e)) && (r && (r += " "), r += t);
|
|
661
661
|
return r;
|
|
662
662
|
}
|
|
663
663
|
const ti = (e) => typeof e == "number" && !isNaN(e), Lr = (e) => typeof e == "string", jt = (e) => typeof e == "function", Vi = (e) => Lr(e) || jt(e) ? e : null, $a = (e) => Jr(e) || Lr(e) || jt(e) || ti(e);
|
|
@@ -688,13 +688,13 @@ function Os(e) {
|
|
|
688
688
|
}, [m]), Ae.createElement(Ae.Fragment, null, a);
|
|
689
689
|
};
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function ql(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 wt = /* @__PURE__ */ new Map();
|
|
695
695
|
let ni = [];
|
|
696
|
-
const za = /* @__PURE__ */ new Set(), sp = (e) => za.forEach((t) => t(e)),
|
|
697
|
-
function
|
|
696
|
+
const za = /* @__PURE__ */ new Set(), sp = (e) => za.forEach((t) => t(e)), V0 = () => wt.size > 0;
|
|
697
|
+
function G0(e, t) {
|
|
698
698
|
var n;
|
|
699
699
|
if (t) return !((n = wt.get(t)) == null || !n.isToastActive(e));
|
|
700
700
|
let r = !1;
|
|
@@ -702,12 +702,12 @@ function V0(e, t) {
|
|
|
702
702
|
o.isToastActive(e) && (r = !0);
|
|
703
703
|
}), r;
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
$a(e) && (
|
|
705
|
+
function H0(e, t) {
|
|
706
|
+
$a(e) && (V0() || ni.push({ content: e, options: t }), wt.forEach((n) => {
|
|
707
707
|
n.buildToast(e, t);
|
|
708
708
|
}));
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function Ql(e, t) {
|
|
711
711
|
wt.forEach((n) => {
|
|
712
712
|
t != null && t != null && t.containerId ? (t == null ? void 0 : t.containerId) === n.id && n.toggle(e, t == null ? void 0 : t.id) : n.toggle(e, t == null ? void 0 : t.id);
|
|
713
713
|
});
|
|
@@ -724,7 +724,7 @@ function ap(e) {
|
|
|
724
724
|
h = w == null ? [] : h.filter((T) => T !== w), x();
|
|
725
725
|
}, _ = (w) => {
|
|
726
726
|
const { toastId: T, onOpen: R, updateId: F, children: D } = w.props, N = F == null;
|
|
727
|
-
w.staleId && y.delete(w.staleId), y.set(T, w), h = [...h, w.props.toastId].filter((V) => V !== w.staleId), x(), m(
|
|
727
|
+
w.staleId && y.delete(w.staleId), y.set(T, w), h = [...h, w.props.toastId].filter((V) => V !== w.staleId), x(), m(ql(w, N ? "added" : "updated")), N && jt(R) && R(Jr(D) && D.props);
|
|
728
728
|
};
|
|
729
729
|
return { id: d, props: v, observe: (w) => (E.add(w), () => E.delete(w)), toggle: (w, T) => {
|
|
730
730
|
y.forEach((R) => {
|
|
@@ -747,7 +747,7 @@ function ap(e) {
|
|
|
747
747
|
return W != null;
|
|
748
748
|
})), toastId: R, updateId: F, data: D, closeToast: J, isIn: !1, className: Vi(T.className || v.toastClassName), bodyClassName: Vi(T.bodyClassName || v.bodyClassName), progressClassName: Vi(T.progressClassName || v.progressClassName), autoClose: !T.isLoading && ($ = T.autoClose, q = v.autoClose, $ === !1 || ti($) && $ > 0 ? $ : q), deleteToast() {
|
|
749
749
|
const j = y.get(R), { onClose: M, children: W } = j.props;
|
|
750
|
-
jt(M) && M(Jr(W) && W.props), m(
|
|
750
|
+
jt(M) && M(Jr(W) && W.props), m(ql(j, "removed")), y.delete(R), b--, b < 0 && (b = 0), f.length > 0 ? _(f.shift()) : x();
|
|
751
751
|
} };
|
|
752
752
|
var $, q;
|
|
753
753
|
H.closeButton = v.closeButton, T.closeButton === !1 || $a(T.closeButton) ? H.closeButton = T.closeButton : T.closeButton === !0 && (H.closeButton = !$a(v.closeButton) || v.closeButton);
|
|
@@ -765,7 +765,7 @@ function ap(e) {
|
|
|
765
765
|
}(s, i, sp);
|
|
766
766
|
wt.set(s, c);
|
|
767
767
|
const l = c.observe(a);
|
|
768
|
-
return ni.forEach((d) =>
|
|
768
|
+
return ni.forEach((d) => H0(d.content, d.options)), ni = [], () => {
|
|
769
769
|
l(), wt.delete(s);
|
|
770
770
|
};
|
|
771
771
|
}, setProps(a) {
|
|
@@ -777,7 +777,7 @@ function ap(e) {
|
|
|
777
777
|
} };
|
|
778
778
|
}(e)).current;
|
|
779
779
|
r(e);
|
|
780
|
-
const o =
|
|
780
|
+
const o = T0(t, n, n);
|
|
781
781
|
return { getToastToRender: function(i) {
|
|
782
782
|
if (!o) return [];
|
|
783
783
|
const s = /* @__PURE__ */ new Map();
|
|
@@ -785,7 +785,7 @@ function ap(e) {
|
|
|
785
785
|
const { position: c } = a.props;
|
|
786
786
|
s.has(c) || s.set(c, []), s.get(c).push(a);
|
|
787
787
|
}), Array.from(s, (a) => i(a[0], a[1]));
|
|
788
|
-
}, isToastActive:
|
|
788
|
+
}, isToastActive: G0, count: o == null ? void 0 : o.length };
|
|
789
789
|
}
|
|
790
790
|
function cp(e) {
|
|
791
791
|
const [t, n] = U(!1), [r, o] = U(!1), i = Ie(null), s = Ie({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: a, pauseOnHover: c, closeToast: l, onClick: d, closeOnClick: g } = e;
|
|
@@ -837,12 +837,12 @@ function lp(e) {
|
|
|
837
837
|
return Ae.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": C }, Ae.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${o}` }), Ae.createElement("div", { role: "progressbar", "aria-hidden": C ? "true" : "false", "aria-label": "notification timer", className: h, style: b, ...p }));
|
|
838
838
|
}
|
|
839
839
|
let up = 1;
|
|
840
|
-
const
|
|
840
|
+
const W0 = () => "" + up++;
|
|
841
841
|
function dp(e) {
|
|
842
|
-
return e && (Lr(e.toastId) || ti(e.toastId)) ? e.toastId :
|
|
842
|
+
return e && (Lr(e.toastId) || ti(e.toastId)) ? e.toastId : W0();
|
|
843
843
|
}
|
|
844
844
|
function Jo(e, t) {
|
|
845
|
-
return
|
|
845
|
+
return H0(e, t), t.toastId;
|
|
846
846
|
}
|
|
847
847
|
function ss(e, t) {
|
|
848
848
|
return { ...t, type: t && t.type || e, toastId: dp(t) };
|
|
@@ -865,7 +865,7 @@ He.loading = (e, t) => Jo(e, ss("default", { isLoading: !0, autoClose: !1, close
|
|
|
865
865
|
}, He.success = Ti("success"), He.info = Ti("info"), He.error = Ti("error"), He.warning = Ti("warning"), He.warn = He.warning, He.dark = (e, t) => Jo(e, ss("default", { theme: "dark", ...t })), He.dismiss = function(e) {
|
|
866
866
|
(function(t) {
|
|
867
867
|
var n;
|
|
868
|
-
if (
|
|
868
|
+
if (V0()) {
|
|
869
869
|
if (t == null || Lr(n = t) || ti(n)) wt.forEach((r) => {
|
|
870
870
|
r.removeToast(t);
|
|
871
871
|
});
|
|
@@ -881,7 +881,7 @@ He.loading = (e, t) => Jo(e, ss("default", { isLoading: !0, autoClose: !1, close
|
|
|
881
881
|
e === void 0 && (e = {}), wt.forEach((t) => {
|
|
882
882
|
!t.props.limit || e.containerId && t.id !== e.containerId || t.clearQueue();
|
|
883
883
|
});
|
|
884
|
-
}, He.isActive =
|
|
884
|
+
}, He.isActive = G0, He.update = function(e, t) {
|
|
885
885
|
t === void 0 && (t = {});
|
|
886
886
|
const n = ((r, o) => {
|
|
887
887
|
var i;
|
|
@@ -889,7 +889,7 @@ He.loading = (e, t) => Jo(e, ss("default", { isLoading: !0, autoClose: !1, close
|
|
|
889
889
|
return (i = wt.get(s || 1)) == null ? void 0 : i.toasts.get(r);
|
|
890
890
|
})(e, t);
|
|
891
891
|
if (n) {
|
|
892
|
-
const { props: r, content: o } = n, i = { delay: 100, ...r, ...t, toastId: t.toastId || e, updateId:
|
|
892
|
+
const { props: r, content: o } = n, i = { delay: 100, ...r, ...t, toastId: t.toastId || e, updateId: W0() };
|
|
893
893
|
i.toastId !== e && (i.staleId = e);
|
|
894
894
|
const s = i.render || o;
|
|
895
895
|
delete i.render, Jo(s, i);
|
|
@@ -900,7 +900,7 @@ He.loading = (e, t) => Jo(e, ss("default", { isLoading: !0, autoClose: !1, close
|
|
|
900
900
|
return za.add(e), () => {
|
|
901
901
|
za.delete(e);
|
|
902
902
|
};
|
|
903
|
-
}, He.play = (e) =>
|
|
903
|
+
}, He.play = (e) => Ql(!0, e), He.pause = (e) => Ql(!1, e);
|
|
904
904
|
const fp = typeof window < "u" ? Eo : ue, Si = (e) => {
|
|
905
905
|
let { theme: t, type: n, isLoading: r, ...o } = e;
|
|
906
906
|
return Ae.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...o });
|
|
@@ -991,7 +991,7 @@ function mp(e, t) {
|
|
|
991
991
|
function Ya(e) {
|
|
992
992
|
return typeof e == "number" && e >= 0 && e !== 1 / 0;
|
|
993
993
|
}
|
|
994
|
-
function
|
|
994
|
+
function Z0(e, t) {
|
|
995
995
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
996
996
|
}
|
|
997
997
|
function qr(e, t) {
|
|
@@ -1000,7 +1000,7 @@ function qr(e, t) {
|
|
|
1000
1000
|
function sn(e, t) {
|
|
1001
1001
|
return typeof e == "function" ? e(t) : e;
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function Kl(e, t) {
|
|
1004
1004
|
const {
|
|
1005
1005
|
type: n = "all",
|
|
1006
1006
|
exact: r,
|
|
@@ -1023,7 +1023,7 @@ function Ql(e, t) {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
return !(typeof a == "boolean" && t.isStale() !== a || o && o !== t.state.fetchStatus || i && !i(t));
|
|
1025
1025
|
}
|
|
1026
|
-
function
|
|
1026
|
+
function eu(e, t) {
|
|
1027
1027
|
const { exact: n, status: r, predicate: o, mutationKey: i } = e;
|
|
1028
1028
|
if (i) {
|
|
1029
1029
|
if (!t.options.mutationKey)
|
|
@@ -1051,7 +1051,7 @@ function ri(e, t) {
|
|
|
1051
1051
|
function Ja(e, t) {
|
|
1052
1052
|
if (e === t)
|
|
1053
1053
|
return e;
|
|
1054
|
-
const n =
|
|
1054
|
+
const n = tu(e) && tu(t);
|
|
1055
1055
|
if (n || qa(e) && qa(t)) {
|
|
1056
1056
|
const r = n ? e : Object.keys(e), o = r.length, i = n ? t : Object.keys(t), s = i.length, a = n ? [] : {};
|
|
1057
1057
|
let c = 0;
|
|
@@ -1071,19 +1071,19 @@ function as(e, t) {
|
|
|
1071
1071
|
return !1;
|
|
1072
1072
|
return !0;
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function tu(e) {
|
|
1075
1075
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
1076
1076
|
}
|
|
1077
1077
|
function qa(e) {
|
|
1078
|
-
if (!
|
|
1078
|
+
if (!nu(e))
|
|
1079
1079
|
return !1;
|
|
1080
1080
|
const t = e.constructor;
|
|
1081
1081
|
if (t === void 0)
|
|
1082
1082
|
return !0;
|
|
1083
1083
|
const n = t.prototype;
|
|
1084
|
-
return !(!
|
|
1084
|
+
return !(!nu(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
1085
1085
|
}
|
|
1086
|
-
function
|
|
1086
|
+
function nu(e) {
|
|
1087
1087
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
1088
1088
|
}
|
|
1089
1089
|
function bp(e) {
|
|
@@ -1116,12 +1116,12 @@ function yp(e, t, n = 0) {
|
|
|
1116
1116
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
1117
1117
|
}
|
|
1118
1118
|
var cs = Symbol();
|
|
1119
|
-
function
|
|
1119
|
+
function U0(e, t) {
|
|
1120
1120
|
return process.env.NODE_ENV !== "production" && e.queryFn === cs && console.error(
|
|
1121
1121
|
`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
|
|
1122
1122
|
), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === cs ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
1123
1123
|
}
|
|
1124
|
-
var xr, Zn, no,
|
|
1124
|
+
var xr, Zn, no, b0, Cp = (b0 = class extends wo {
|
|
1125
1125
|
constructor() {
|
|
1126
1126
|
super();
|
|
1127
1127
|
fe(this, xr);
|
|
@@ -1162,7 +1162,7 @@ var xr, Zn, no, m0, Cp = (m0 = class extends wo {
|
|
|
1162
1162
|
var t;
|
|
1163
1163
|
return typeof L(this, xr) == "boolean" ? L(this, xr) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
|
|
1164
1164
|
}
|
|
1165
|
-
}, xr = new WeakMap(), Zn = new WeakMap(), no = new WeakMap(),
|
|
1165
|
+
}, xr = new WeakMap(), Zn = new WeakMap(), no = new WeakMap(), b0), rl = new Cp(), ro, Un, oo, v0, xp = (v0 = class extends wo {
|
|
1166
1166
|
constructor() {
|
|
1167
1167
|
super();
|
|
1168
1168
|
fe(this, ro, !0);
|
|
@@ -1196,7 +1196,7 @@ var xr, Zn, no, m0, Cp = (m0 = class extends wo {
|
|
|
1196
1196
|
isOnline() {
|
|
1197
1197
|
return L(this, ro);
|
|
1198
1198
|
}
|
|
1199
|
-
}, ro = new WeakMap(), Un = new WeakMap(), oo = new WeakMap(),
|
|
1199
|
+
}, ro = new WeakMap(), Un = new WeakMap(), oo = new WeakMap(), v0), ls = new xp();
|
|
1200
1200
|
function Ka() {
|
|
1201
1201
|
let e, t;
|
|
1202
1202
|
const n = new Promise((o, i) => {
|
|
@@ -1222,27 +1222,27 @@ function Ka() {
|
|
|
1222
1222
|
function Ep(e) {
|
|
1223
1223
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function X0(e) {
|
|
1226
1226
|
return (e ?? "online") === "online" ? ls.isOnline() : !0;
|
|
1227
1227
|
}
|
|
1228
|
-
var
|
|
1228
|
+
var $0 = class extends Error {
|
|
1229
1229
|
constructor(e) {
|
|
1230
1230
|
super("CancelledError"), this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
|
|
1231
1231
|
}
|
|
1232
1232
|
};
|
|
1233
1233
|
function da(e) {
|
|
1234
|
-
return e instanceof
|
|
1234
|
+
return e instanceof $0;
|
|
1235
1235
|
}
|
|
1236
|
-
function
|
|
1236
|
+
function z0(e) {
|
|
1237
1237
|
let t = !1, n = 0, r = !1, o;
|
|
1238
1238
|
const i = Ka(), s = (f) => {
|
|
1239
1239
|
var h;
|
|
1240
|
-
r || (m(new
|
|
1240
|
+
r || (m(new $0(f)), (h = e.abort) == null || h.call(e));
|
|
1241
1241
|
}, a = () => {
|
|
1242
1242
|
t = !0;
|
|
1243
1243
|
}, c = () => {
|
|
1244
1244
|
t = !1;
|
|
1245
|
-
}, l = () => rl.isFocused() && (e.networkMode === "always" || ls.isOnline()) && e.canRun(), d = () =>
|
|
1245
|
+
}, l = () => rl.isFocused() && (e.networkMode === "always" || ls.isOnline()) && e.canRun(), d = () => X0(e.networkMode) && e.canRun(), g = (f) => {
|
|
1246
1246
|
var h;
|
|
1247
1247
|
r || (r = !0, (h = e.onSuccess) == null || h.call(e, f), o == null || o(), i.resolve(f));
|
|
1248
1248
|
}, m = (f) => {
|
|
@@ -1349,7 +1349,7 @@ function Ip() {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
};
|
|
1351
1351
|
}
|
|
1352
|
-
var lt = Ip(), Er,
|
|
1352
|
+
var lt = Ip(), Er, y0, Y0 = (y0 = class {
|
|
1353
1353
|
constructor() {
|
|
1354
1354
|
fe(this, Er);
|
|
1355
1355
|
}
|
|
@@ -1370,7 +1370,7 @@ var lt = Ip(), Er, v0, z0 = (v0 = class {
|
|
|
1370
1370
|
clearGcTimeout() {
|
|
1371
1371
|
L(this, Er) && (clearTimeout(L(this, Er)), te(this, Er, void 0));
|
|
1372
1372
|
}
|
|
1373
|
-
}, Er = new WeakMap(),
|
|
1373
|
+
}, Er = new WeakMap(), y0), io, so, Yt, Ir, bt, pi, wr, rn, Rn, C0, wp = (C0 = class extends Y0 {
|
|
1374
1374
|
constructor(t) {
|
|
1375
1375
|
super();
|
|
1376
1376
|
fe(this, rn);
|
|
@@ -1433,7 +1433,7 @@ var lt = Ip(), Er, v0, z0 = (v0 = class {
|
|
|
1433
1433
|
) : this.state.data === void 0;
|
|
1434
1434
|
}
|
|
1435
1435
|
isStaleByTime(t = 0) {
|
|
1436
|
-
return this.state.isInvalidated || this.state.data === void 0 || !
|
|
1436
|
+
return this.state.isInvalidated || this.state.data === void 0 || !Z0(this.state.dataUpdatedAt, t);
|
|
1437
1437
|
}
|
|
1438
1438
|
onFocus() {
|
|
1439
1439
|
var n;
|
|
@@ -1478,7 +1478,7 @@ var lt = Ip(), Er, v0, z0 = (v0 = class {
|
|
|
1478
1478
|
get: () => (te(this, wr, !0), r.signal)
|
|
1479
1479
|
});
|
|
1480
1480
|
}, i = () => {
|
|
1481
|
-
const g =
|
|
1481
|
+
const g = U0(this.options, n), m = {
|
|
1482
1482
|
client: L(this, Ir),
|
|
1483
1483
|
queryKey: this.queryKey,
|
|
1484
1484
|
meta: this.meta
|
|
@@ -1516,7 +1516,7 @@ var lt = Ip(), Er, v0, z0 = (v0 = class {
|
|
|
1516
1516
|
this
|
|
1517
1517
|
)), this.scheduleGc();
|
|
1518
1518
|
};
|
|
1519
|
-
return te(this, bt,
|
|
1519
|
+
return te(this, bt, z0({
|
|
1520
1520
|
initialPromise: n == null ? void 0 : n.initialPromise,
|
|
1521
1521
|
fn: s.fetchFn,
|
|
1522
1522
|
abort: r.abort.bind(r),
|
|
@@ -1579,7 +1579,7 @@ var lt = Ip(), Er, v0, z0 = (v0 = class {
|
|
|
1579
1579
|
case "fetch":
|
|
1580
1580
|
return {
|
|
1581
1581
|
...r,
|
|
1582
|
-
...
|
|
1582
|
+
...J0(r.data, this.options),
|
|
1583
1583
|
fetchMeta: t.meta ?? null
|
|
1584
1584
|
};
|
|
1585
1585
|
case "success":
|
|
@@ -1626,12 +1626,12 @@ var lt = Ip(), Er, v0, z0 = (v0 = class {
|
|
|
1626
1626
|
r.onQueryUpdate();
|
|
1627
1627
|
}), L(this, Yt).notify({ query: this, type: "updated", action: t });
|
|
1628
1628
|
});
|
|
1629
|
-
},
|
|
1630
|
-
function
|
|
1629
|
+
}, C0);
|
|
1630
|
+
function J0(e, t) {
|
|
1631
1631
|
return {
|
|
1632
1632
|
fetchFailureCount: 0,
|
|
1633
1633
|
fetchFailureReason: null,
|
|
1634
|
-
fetchStatus:
|
|
1634
|
+
fetchStatus: X0(t.networkMode) ? "fetching" : "paused",
|
|
1635
1635
|
...e === void 0 && {
|
|
1636
1636
|
error: null,
|
|
1637
1637
|
status: "pending"
|
|
@@ -1655,7 +1655,7 @@ function _p(e) {
|
|
|
1655
1655
|
fetchStatus: "idle"
|
|
1656
1656
|
};
|
|
1657
1657
|
}
|
|
1658
|
-
var mn,
|
|
1658
|
+
var mn, x0, Ap = (x0 = class extends wo {
|
|
1659
1659
|
constructor(t = {}) {
|
|
1660
1660
|
super();
|
|
1661
1661
|
fe(this, mn);
|
|
@@ -1699,12 +1699,12 @@ var mn, C0, Ap = (C0 = class extends wo {
|
|
|
1699
1699
|
find(t) {
|
|
1700
1700
|
const n = { exact: !0, ...t };
|
|
1701
1701
|
return this.getAll().find(
|
|
1702
|
-
(r) =>
|
|
1702
|
+
(r) => Kl(n, r)
|
|
1703
1703
|
);
|
|
1704
1704
|
}
|
|
1705
1705
|
findAll(t = {}) {
|
|
1706
1706
|
const n = this.getAll();
|
|
1707
|
-
return Object.keys(t).length > 0 ? n.filter((r) =>
|
|
1707
|
+
return Object.keys(t).length > 0 ? n.filter((r) => Kl(t, r)) : n;
|
|
1708
1708
|
}
|
|
1709
1709
|
notify(t) {
|
|
1710
1710
|
lt.batch(() => {
|
|
@@ -1727,14 +1727,14 @@ var mn, C0, Ap = (C0 = class extends wo {
|
|
|
1727
1727
|
});
|
|
1728
1728
|
});
|
|
1729
1729
|
}
|
|
1730
|
-
}, mn = new WeakMap(),
|
|
1730
|
+
}, mn = new WeakMap(), x0), bn, Et, _r, vn, Hn, E0, Tp = (E0 = class extends Y0 {
|
|
1731
1731
|
constructor(t) {
|
|
1732
1732
|
super();
|
|
1733
1733
|
fe(this, vn);
|
|
1734
1734
|
fe(this, bn);
|
|
1735
1735
|
fe(this, Et);
|
|
1736
1736
|
fe(this, _r);
|
|
1737
|
-
this.mutationId = t.mutationId, te(this, Et, t.mutationCache), te(this, bn, []), this.state = t.state ||
|
|
1737
|
+
this.mutationId = t.mutationId, te(this, Et, t.mutationCache), te(this, bn, []), this.state = t.state || q0(), this.setOptions(t.options), this.scheduleGc();
|
|
1738
1738
|
}
|
|
1739
1739
|
setOptions(t) {
|
|
1740
1740
|
this.options = t, this.updateGcTime(this.options.gcTime);
|
|
@@ -1766,7 +1766,7 @@ var mn, C0, Ap = (C0 = class extends wo {
|
|
|
1766
1766
|
}
|
|
1767
1767
|
async execute(t) {
|
|
1768
1768
|
var o, i, s, a, c, l, d, g, m, C, b, f, h, p, v, y, E, x, I, _;
|
|
1769
|
-
te(this, _r,
|
|
1769
|
+
te(this, _r, z0({
|
|
1770
1770
|
fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
|
|
1771
1771
|
onFail: (w, T) => {
|
|
1772
1772
|
Ee(this, vn, Hn).call(this, { type: "failed", failureCount: w, error: T });
|
|
@@ -1910,8 +1910,8 @@ var mn, C0, Ap = (C0 = class extends wo {
|
|
|
1910
1910
|
action: t
|
|
1911
1911
|
});
|
|
1912
1912
|
});
|
|
1913
|
-
},
|
|
1914
|
-
function
|
|
1913
|
+
}, E0);
|
|
1914
|
+
function q0() {
|
|
1915
1915
|
return {
|
|
1916
1916
|
context: void 0,
|
|
1917
1917
|
data: void 0,
|
|
@@ -1924,7 +1924,7 @@ function J0() {
|
|
|
1924
1924
|
submittedAt: 0
|
|
1925
1925
|
};
|
|
1926
1926
|
}
|
|
1927
|
-
var Fn, on, gi,
|
|
1927
|
+
var Fn, on, gi, I0, Sp = (I0 = class extends wo {
|
|
1928
1928
|
constructor(t = {}) {
|
|
1929
1929
|
super();
|
|
1930
1930
|
fe(this, Fn);
|
|
@@ -1996,11 +1996,11 @@ var Fn, on, gi, E0, Sp = (E0 = class extends wo {
|
|
|
1996
1996
|
find(t) {
|
|
1997
1997
|
const n = { exact: !0, ...t };
|
|
1998
1998
|
return this.getAll().find(
|
|
1999
|
-
(r) =>
|
|
1999
|
+
(r) => eu(n, r)
|
|
2000
2000
|
);
|
|
2001
2001
|
}
|
|
2002
2002
|
findAll(t = {}) {
|
|
2003
|
-
return this.getAll().filter((n) =>
|
|
2003
|
+
return this.getAll().filter((n) => eu(t, n));
|
|
2004
2004
|
}
|
|
2005
2005
|
notify(t) {
|
|
2006
2006
|
lt.batch(() => {
|
|
@@ -2017,12 +2017,12 @@ var Fn, on, gi, E0, Sp = (E0 = class extends wo {
|
|
|
2017
2017
|
)
|
|
2018
2018
|
);
|
|
2019
2019
|
}
|
|
2020
|
-
}, Fn = new WeakMap(), on = new WeakMap(), gi = new WeakMap(),
|
|
2020
|
+
}, Fn = new WeakMap(), on = new WeakMap(), gi = new WeakMap(), I0);
|
|
2021
2021
|
function Li(e) {
|
|
2022
2022
|
var t;
|
|
2023
2023
|
return (t = e.options.scope) == null ? void 0 : t.id;
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function ru(e) {
|
|
2026
2026
|
return {
|
|
2027
2027
|
onFetch: (t, n) => {
|
|
2028
2028
|
var d, g, m, C, b;
|
|
@@ -2037,7 +2037,7 @@ function nu(e) {
|
|
|
2037
2037
|
f = !0;
|
|
2038
2038
|
}), t.signal)
|
|
2039
2039
|
});
|
|
2040
|
-
}, p =
|
|
2040
|
+
}, p = U0(t.options, t.fetchOptions), v = async (y, E, x) => {
|
|
2041
2041
|
if (f)
|
|
2042
2042
|
return Promise.reject();
|
|
2043
2043
|
if (E == null && y.pages.length)
|
|
@@ -2059,7 +2059,7 @@ function nu(e) {
|
|
|
2059
2059
|
};
|
|
2060
2060
|
};
|
|
2061
2061
|
if (o && i.length) {
|
|
2062
|
-
const y = o === "backward", E = y ? Lp :
|
|
2062
|
+
const y = o === "backward", E = y ? Lp : ou, x = {
|
|
2063
2063
|
pages: i,
|
|
2064
2064
|
pageParams: s
|
|
2065
2065
|
}, I = E(r, x);
|
|
@@ -2067,7 +2067,7 @@ function nu(e) {
|
|
|
2067
2067
|
} else {
|
|
2068
2068
|
const y = e ?? i.length;
|
|
2069
2069
|
do {
|
|
2070
|
-
const E = c === 0 ? s[0] ?? r.initialPageParam :
|
|
2070
|
+
const E = c === 0 ? s[0] ?? r.initialPageParam : ou(r, a);
|
|
2071
2071
|
if (c > 0 && E == null)
|
|
2072
2072
|
break;
|
|
2073
2073
|
a = await v(a, E), c++;
|
|
@@ -2092,7 +2092,7 @@ function nu(e) {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
};
|
|
2094
2094
|
}
|
|
2095
|
-
function
|
|
2095
|
+
function ou(e, { pages: t, pageParams: n }) {
|
|
2096
2096
|
const r = t.length - 1;
|
|
2097
2097
|
return t.length > 0 ? e.getNextPageParam(
|
|
2098
2098
|
t[r],
|
|
@@ -2105,7 +2105,7 @@ function Lp(e, { pages: t, pageParams: n }) {
|
|
|
2105
2105
|
var r;
|
|
2106
2106
|
return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
|
|
2107
2107
|
}
|
|
2108
|
-
var qe, Xn, $n, ao, co, zn, lo, uo,
|
|
2108
|
+
var qe, Xn, $n, ao, co, zn, lo, uo, w0, Op = (w0 = class {
|
|
2109
2109
|
constructor(e = {}) {
|
|
2110
2110
|
fe(this, qe);
|
|
2111
2111
|
fe(this, Xn);
|
|
@@ -2232,13 +2232,13 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2232
2232
|
return this.fetchQuery(e).then(Jt).catch(Jt);
|
|
2233
2233
|
}
|
|
2234
2234
|
fetchInfiniteQuery(e) {
|
|
2235
|
-
return e.behavior =
|
|
2235
|
+
return e.behavior = ru(e.pages), this.fetchQuery(e);
|
|
2236
2236
|
}
|
|
2237
2237
|
prefetchInfiniteQuery(e) {
|
|
2238
2238
|
return this.fetchInfiniteQuery(e).then(Jt).catch(Jt);
|
|
2239
2239
|
}
|
|
2240
2240
|
ensureInfiniteQueryData(e) {
|
|
2241
|
-
return e.behavior =
|
|
2241
|
+
return e.behavior = ru(e.pages), this.ensureQueryData(e);
|
|
2242
2242
|
}
|
|
2243
2243
|
resumePausedMutations() {
|
|
2244
2244
|
return ls.isOnline() ? L(this, Xn).resumePausedMutations() : Promise.resolve();
|
|
@@ -2304,7 +2304,7 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2304
2304
|
clear() {
|
|
2305
2305
|
L(this, qe).clear(), L(this, Xn).clear();
|
|
2306
2306
|
}
|
|
2307
|
-
}, qe = new WeakMap(), Xn = new WeakMap(), $n = new WeakMap(), ao = new WeakMap(), co = new WeakMap(), zn = new WeakMap(), lo = new WeakMap(), uo = new WeakMap(),
|
|
2307
|
+
}, qe = new WeakMap(), Xn = new WeakMap(), $n = new WeakMap(), ao = new WeakMap(), co = new WeakMap(), zn = new WeakMap(), lo = new WeakMap(), uo = new WeakMap(), w0), Lt, Se, mi, It, Ar, fo, Yn, yn, bi, ho, po, Tr, Sr, Jn, go, We, Xo, ec, tc, nc, rc, oc, ic, sc, Q0, _0, Rp = (_0 = class extends wo {
|
|
2308
2308
|
constructor(t, n) {
|
|
2309
2309
|
super();
|
|
2310
2310
|
fe(this, We);
|
|
@@ -2333,7 +2333,7 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2333
2333
|
this.refetch = this.refetch.bind(this);
|
|
2334
2334
|
}
|
|
2335
2335
|
onSubscribe() {
|
|
2336
|
-
this.listeners.size === 1 && (L(this, Se).addObserver(this),
|
|
2336
|
+
this.listeners.size === 1 && (L(this, Se).addObserver(this), iu(L(this, Se), this.options) ? Ee(this, We, Xo).call(this) : this.updateResult(), Ee(this, We, rc).call(this));
|
|
2337
2337
|
}
|
|
2338
2338
|
onUnsubscribe() {
|
|
2339
2339
|
this.hasListeners() || this.destroy();
|
|
@@ -2367,7 +2367,7 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2367
2367
|
observer: this
|
|
2368
2368
|
});
|
|
2369
2369
|
const i = this.hasListeners();
|
|
2370
|
-
i &&
|
|
2370
|
+
i && su(
|
|
2371
2371
|
L(this, Se),
|
|
2372
2372
|
o,
|
|
2373
2373
|
this.options,
|
|
@@ -2419,10 +2419,10 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2419
2419
|
const r = L(this, Se), o = this.options, i = L(this, It), s = L(this, Ar), a = L(this, fo), l = t !== r ? t.state : L(this, mi), { state: d } = t;
|
|
2420
2420
|
let g = { ...d }, m = !1, C;
|
|
2421
2421
|
if (n._optimisticResults) {
|
|
2422
|
-
const T = this.hasListeners(), R = !T &&
|
|
2422
|
+
const T = this.hasListeners(), R = !T && iu(t, n), F = T && su(t, r, n, o);
|
|
2423
2423
|
(R || F) && (g = {
|
|
2424
2424
|
...g,
|
|
2425
|
-
...
|
|
2425
|
+
...J0(d.data, t.options)
|
|
2426
2426
|
}), n._optimisticResults === "isRestoring" && (g.fetchStatus = "idle");
|
|
2427
2427
|
}
|
|
2428
2428
|
let { error: b, errorUpdatedAt: f, status: h } = g;
|
|
@@ -2524,7 +2524,7 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2524
2524
|
return L(this, It)[d] !== n[d] && c.has(d);
|
|
2525
2525
|
});
|
|
2526
2526
|
};
|
|
2527
|
-
(t == null ? void 0 : t.listeners) !== !1 && i() && (o.listeners = !0), Ee(this, We,
|
|
2527
|
+
(t == null ? void 0 : t.listeners) !== !1 && i() && (o.listeners = !0), Ee(this, We, Q0).call(this, { ...o, ...t });
|
|
2528
2528
|
}
|
|
2529
2529
|
onQueryUpdate() {
|
|
2530
2530
|
this.updateResult(), this.hasListeners() && Ee(this, We, rc).call(this);
|
|
@@ -2544,7 +2544,7 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2544
2544
|
);
|
|
2545
2545
|
if (Dr || L(this, It).isStale || !Ya(t))
|
|
2546
2546
|
return;
|
|
2547
|
-
const r =
|
|
2547
|
+
const r = Z0(L(this, It).dataUpdatedAt, t) + 1;
|
|
2548
2548
|
te(this, Tr, setTimeout(() => {
|
|
2549
2549
|
L(this, It).isStale || this.updateResult();
|
|
2550
2550
|
}, r));
|
|
@@ -2566,7 +2566,7 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2566
2566
|
return;
|
|
2567
2567
|
const n = L(this, Se);
|
|
2568
2568
|
te(this, Se, t), te(this, mi, t.state), this.hasListeners() && (n == null || n.removeObserver(this), t.addObserver(this));
|
|
2569
|
-
},
|
|
2569
|
+
}, Q0 = function(t) {
|
|
2570
2570
|
lt.batch(() => {
|
|
2571
2571
|
t.listeners && this.listeners.forEach((n) => {
|
|
2572
2572
|
n(L(this, It));
|
|
@@ -2575,11 +2575,11 @@ var qe, Xn, $n, ao, co, zn, lo, uo, I0, Op = (I0 = class {
|
|
|
2575
2575
|
type: "observerResultsUpdated"
|
|
2576
2576
|
});
|
|
2577
2577
|
});
|
|
2578
|
-
},
|
|
2578
|
+
}, _0);
|
|
2579
2579
|
function Fp(e, t) {
|
|
2580
2580
|
return sn(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function iu(e, t) {
|
|
2583
2583
|
return Fp(e, t) || e.state.data !== void 0 && ac(e, t, t.refetchOnMount);
|
|
2584
2584
|
}
|
|
2585
2585
|
function ac(e, t, n) {
|
|
@@ -2589,7 +2589,7 @@ function ac(e, t, n) {
|
|
|
2589
2589
|
}
|
|
2590
2590
|
return !1;
|
|
2591
2591
|
}
|
|
2592
|
-
function
|
|
2592
|
+
function su(e, t, n, r) {
|
|
2593
2593
|
return (e !== t || sn(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && ol(e, n);
|
|
2594
2594
|
}
|
|
2595
2595
|
function ol(e, t) {
|
|
@@ -2598,7 +2598,7 @@ function ol(e, t) {
|
|
|
2598
2598
|
function Dp(e, t) {
|
|
2599
2599
|
return !as(e.getCurrentResult(), t);
|
|
2600
2600
|
}
|
|
2601
|
-
var qn, Qn, Ot, Dn, kn, Gi, cc,
|
|
2601
|
+
var qn, Qn, Ot, Dn, kn, Gi, cc, A0, Np = (A0 = class extends wo {
|
|
2602
2602
|
constructor(n, r) {
|
|
2603
2603
|
super();
|
|
2604
2604
|
fe(this, kn);
|
|
@@ -2640,7 +2640,7 @@ var qn, Qn, Ot, Dn, kn, Gi, cc, _0, Np = (_0 = class extends wo {
|
|
|
2640
2640
|
}
|
|
2641
2641
|
}, qn = new WeakMap(), Qn = new WeakMap(), Ot = new WeakMap(), Dn = new WeakMap(), kn = new WeakSet(), Gi = function() {
|
|
2642
2642
|
var r;
|
|
2643
|
-
const n = ((r = L(this, Ot)) == null ? void 0 : r.state) ??
|
|
2643
|
+
const n = ((r = L(this, Ot)) == null ? void 0 : r.state) ?? q0();
|
|
2644
2644
|
te(this, Qn, {
|
|
2645
2645
|
...n,
|
|
2646
2646
|
isPending: n.status === "pending",
|
|
@@ -2667,10 +2667,10 @@ var qn, Qn, Ot, Dn, kn, Gi, cc, _0, Np = (_0 = class extends wo {
|
|
|
2667
2667
|
g(L(this, Qn));
|
|
2668
2668
|
});
|
|
2669
2669
|
});
|
|
2670
|
-
},
|
|
2670
|
+
}, A0), K0 = A.createContext(
|
|
2671
2671
|
void 0
|
|
2672
2672
|
), yi = (e) => {
|
|
2673
|
-
const t = A.useContext(
|
|
2673
|
+
const t = A.useContext(K0);
|
|
2674
2674
|
if (!t)
|
|
2675
2675
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
2676
2676
|
return t;
|
|
@@ -2679,8 +2679,8 @@ var qn, Qn, Ot, Dn, kn, Gi, cc, _0, Np = (_0 = class extends wo {
|
|
|
2679
2679
|
children: t
|
|
2680
2680
|
}) => (A.useEffect(() => (e.mount(), () => {
|
|
2681
2681
|
e.unmount();
|
|
2682
|
-
}), [e]), /* @__PURE__ */ u.jsx(
|
|
2683
|
-
|
|
2682
|
+
}), [e]), /* @__PURE__ */ u.jsx(K0.Provider, { value: e, children: t })), e1 = A.createContext(!1), Mp = () => A.useContext(e1);
|
|
2683
|
+
e1.Provider;
|
|
2684
2684
|
function Pp() {
|
|
2685
2685
|
let e = !1;
|
|
2686
2686
|
return {
|
|
@@ -2694,7 +2694,7 @@ function Pp() {
|
|
|
2694
2694
|
};
|
|
2695
2695
|
}
|
|
2696
2696
|
var jp = A.createContext(Pp()), Bp = () => A.useContext(jp);
|
|
2697
|
-
function
|
|
2697
|
+
function t1(e, t) {
|
|
2698
2698
|
return typeof e == "function" ? e(...t) : !!e;
|
|
2699
2699
|
}
|
|
2700
2700
|
function lc() {
|
|
@@ -2711,10 +2711,10 @@ var Vp = (e, t) => {
|
|
|
2711
2711
|
throwOnError: n,
|
|
2712
2712
|
query: r,
|
|
2713
2713
|
suspense: o
|
|
2714
|
-
}) => e.isError && !t.isReset() && !e.isFetching && r && (o && e.data === void 0 ||
|
|
2714
|
+
}) => e.isError && !t.isReset() && !e.isFetching && r && (o && e.data === void 0 || t1(n, [e.error, r])), Wp = (e) => {
|
|
2715
2715
|
const t = e.staleTime;
|
|
2716
2716
|
e.suspense && (e.staleTime = typeof t == "function" ? (...n) => Math.max(t(...n), 1e3) : Math.max(t ?? 1e3, 1e3), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, 1e3)));
|
|
2717
|
-
}, Zp = (e, t) => e.isLoading && e.isFetching && !t, Up = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending,
|
|
2717
|
+
}, Zp = (e, t) => e.isLoading && e.isFetching && !t, Up = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, au = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
2718
2718
|
n.clearReset();
|
|
2719
2719
|
});
|
|
2720
2720
|
function Xp(e, t, n) {
|
|
@@ -2749,7 +2749,7 @@ function Xp(e, t, n) {
|
|
|
2749
2749
|
), A.useEffect(() => {
|
|
2750
2750
|
c.setOptions(s, { listeners: !1 });
|
|
2751
2751
|
}, [s, c]), Up(s, l))
|
|
2752
|
-
throw
|
|
2752
|
+
throw au(s, c, i);
|
|
2753
2753
|
if (Hp({
|
|
2754
2754
|
result: l,
|
|
2755
2755
|
errorResetBoundary: i,
|
|
@@ -2765,7 +2765,7 @@ function Xp(e, t, n) {
|
|
|
2765
2765
|
), s.experimental_prefetchInRender && !Dr && Zp(l, o)) {
|
|
2766
2766
|
const h = a ? (
|
|
2767
2767
|
// Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
|
|
2768
|
-
|
|
2768
|
+
au(s, c, i)
|
|
2769
2769
|
) : (
|
|
2770
2770
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
2771
2771
|
(f = r.getQueryCache().get(s.queryHash)) == null ? void 0 : f.promise
|
|
@@ -2802,14 +2802,14 @@ function Tn(e, t) {
|
|
|
2802
2802
|
},
|
|
2803
2803
|
[r]
|
|
2804
2804
|
);
|
|
2805
|
-
if (o.error &&
|
|
2805
|
+
if (o.error && t1(r.options.throwOnError, [o.error]))
|
|
2806
2806
|
throw o.error;
|
|
2807
2807
|
return { ...o, mutate: i, mutateAsync: o.mutate };
|
|
2808
2808
|
}
|
|
2809
2809
|
const uc = (e, t) => t.some((n) => e instanceof n);
|
|
2810
|
-
let
|
|
2810
|
+
let cu, lu;
|
|
2811
2811
|
function $p() {
|
|
2812
|
-
return
|
|
2812
|
+
return cu || (cu = [
|
|
2813
2813
|
IDBDatabase,
|
|
2814
2814
|
IDBObjectStore,
|
|
2815
2815
|
IDBIndex,
|
|
@@ -2818,7 +2818,7 @@ function $p() {
|
|
|
2818
2818
|
]);
|
|
2819
2819
|
}
|
|
2820
2820
|
function zp() {
|
|
2821
|
-
return
|
|
2821
|
+
return lu || (lu = [
|
|
2822
2822
|
IDBCursor.prototype.advance,
|
|
2823
2823
|
IDBCursor.prototype.continue,
|
|
2824
2824
|
IDBCursor.prototype.continuePrimaryKey
|
|
@@ -2870,7 +2870,7 @@ let fc = {
|
|
|
2870
2870
|
return e instanceof IDBTransaction && (t === "done" || t === "store") ? !0 : t in e;
|
|
2871
2871
|
}
|
|
2872
2872
|
};
|
|
2873
|
-
function
|
|
2873
|
+
function n1(e) {
|
|
2874
2874
|
fc = e(fc);
|
|
2875
2875
|
}
|
|
2876
2876
|
function qp(e) {
|
|
@@ -2907,7 +2907,7 @@ function Kp(e, t, { blocked: n, upgrade: r, blocking: o, terminated: i } = {}) {
|
|
|
2907
2907
|
}), a;
|
|
2908
2908
|
}
|
|
2909
2909
|
const eg = ["get", "getKey", "getAll", "getAllKeys", "count"], tg = ["put", "add", "delete", "clear"], ha = /* @__PURE__ */ new Map();
|
|
2910
|
-
function
|
|
2910
|
+
function uu(e, t) {
|
|
2911
2911
|
if (!(e instanceof IDBDatabase && !(t in e) && typeof t == "string"))
|
|
2912
2912
|
return;
|
|
2913
2913
|
if (ha.get(t))
|
|
@@ -2928,18 +2928,18 @@ function lu(e, t) {
|
|
|
2928
2928
|
};
|
|
2929
2929
|
return ha.set(t, i), i;
|
|
2930
2930
|
}
|
|
2931
|
-
|
|
2931
|
+
n1((e) => ({
|
|
2932
2932
|
...e,
|
|
2933
|
-
get: (t, n, r) =>
|
|
2934
|
-
has: (t, n) => !!
|
|
2933
|
+
get: (t, n, r) => uu(t, n) || e.get(t, n, r),
|
|
2934
|
+
has: (t, n) => !!uu(t, n) || e.has(t, n)
|
|
2935
2935
|
}));
|
|
2936
|
-
const ng = ["continue", "continuePrimaryKey", "advance"],
|
|
2936
|
+
const ng = ["continue", "continuePrimaryKey", "advance"], du = {}, pc = /* @__PURE__ */ new WeakMap(), r1 = /* @__PURE__ */ new WeakMap(), rg = {
|
|
2937
2937
|
get(e, t) {
|
|
2938
2938
|
if (!ng.includes(t))
|
|
2939
2939
|
return e[t];
|
|
2940
|
-
let n =
|
|
2941
|
-
return n || (n =
|
|
2942
|
-
pc.set(this,
|
|
2940
|
+
let n = du[t];
|
|
2941
|
+
return n || (n = du[t] = function(...r) {
|
|
2942
|
+
pc.set(this, r1.get(this)[t](...r));
|
|
2943
2943
|
}), n;
|
|
2944
2944
|
}
|
|
2945
2945
|
};
|
|
@@ -2949,24 +2949,24 @@ async function* og(...e) {
|
|
|
2949
2949
|
return;
|
|
2950
2950
|
t = t;
|
|
2951
2951
|
const n = new Proxy(t, rg);
|
|
2952
|
-
for (
|
|
2952
|
+
for (r1.set(n, t), Fs.set(n, hc(t)); t; )
|
|
2953
2953
|
yield n, t = await (pc.get(n) || t.continue()), pc.delete(n);
|
|
2954
2954
|
}
|
|
2955
|
-
function
|
|
2955
|
+
function fu(e, t) {
|
|
2956
2956
|
return t === Symbol.asyncIterator && uc(e, [IDBIndex, IDBObjectStore, IDBCursor]) || t === "iterate" && uc(e, [IDBIndex, IDBObjectStore]);
|
|
2957
2957
|
}
|
|
2958
|
-
|
|
2958
|
+
n1((e) => ({
|
|
2959
2959
|
...e,
|
|
2960
2960
|
get(t, n, r) {
|
|
2961
|
-
return
|
|
2961
|
+
return fu(t, n) ? og : e.get(t, n, r);
|
|
2962
2962
|
},
|
|
2963
2963
|
has(t, n) {
|
|
2964
|
-
return
|
|
2964
|
+
return fu(t, n) || e.has(t, n);
|
|
2965
2965
|
}
|
|
2966
2966
|
}));
|
|
2967
2967
|
const ig = "connector-db", sg = 1, Ds = {
|
|
2968
2968
|
FEEDBACK: "feedback"
|
|
2969
|
-
}, oi = `${Ds.FEEDBACK}:data`, us = `${Ds.FEEDBACK}:last_submitted`, ii = `${Ds.FEEDBACK}:capture_on_demand`, si = `${Ds.FEEDBACK}:show_notification`, ag = 12 * 60 * 60 * 1e3, gc = (e, t = /* @__PURE__ */ new Date()) => e ? Math.abs(t.getTime() - e.getTime()) >= ag : !0,
|
|
2969
|
+
}, oi = `${Ds.FEEDBACK}:data`, us = `${Ds.FEEDBACK}:last_submitted`, ii = `${Ds.FEEDBACK}:capture_on_demand`, si = `${Ds.FEEDBACK}:show_notification`, ag = 12 * 60 * 60 * 1e3, gc = (e, t = /* @__PURE__ */ new Date()) => e ? Math.abs(t.getTime() - e.getTime()) >= ag : !0, o1 = (e, t = !1) => e.captureFeedback && (gc(e.firstViewed) && (!e.lastSubmittedFeedback || gc(e.lastSubmittedFeedback)) || !!t);
|
|
2970
2970
|
let pr = null;
|
|
2971
2971
|
const rr = async () => {
|
|
2972
2972
|
try {
|
|
@@ -3048,7 +3048,7 @@ const rr = async () => {
|
|
|
3048
3048
|
if (t)
|
|
3049
3049
|
try {
|
|
3050
3050
|
const n = await il(e), r = await Ns(e), o = /* @__PURE__ */ new Date(), i = n.map((s) => {
|
|
3051
|
-
const a =
|
|
3051
|
+
const a = o1(s, r);
|
|
3052
3052
|
return {
|
|
3053
3053
|
...s,
|
|
3054
3054
|
lastSubmittedFeedback: a ? o : s.lastSubmittedFeedback,
|
|
@@ -3060,7 +3060,7 @@ const rr = async () => {
|
|
|
3060
3060
|
} catch (n) {
|
|
3061
3061
|
console.error("Error updating feedback submission date:", n);
|
|
3062
3062
|
}
|
|
3063
|
-
},
|
|
3063
|
+
}, hu = async (e, t) => {
|
|
3064
3064
|
if (!e) return;
|
|
3065
3065
|
const n = await rr();
|
|
3066
3066
|
if (n)
|
|
@@ -3081,9 +3081,9 @@ const rr = async () => {
|
|
|
3081
3081
|
}, hg = async (e) => {
|
|
3082
3082
|
const t = await il(e), n = await Ns(e);
|
|
3083
3083
|
return t.filter(
|
|
3084
|
-
(o) =>
|
|
3084
|
+
(o) => o1(o, n)
|
|
3085
3085
|
);
|
|
3086
|
-
},
|
|
3086
|
+
}, i1 = async (e) => {
|
|
3087
3087
|
const t = await cg(e);
|
|
3088
3088
|
return t && !gc(t) ? !1 : await Ns(e) && !t ? !0 : !!(await hg(e)).length;
|
|
3089
3089
|
}, kT = async (e, t) => {
|
|
@@ -3092,12 +3092,12 @@ const rr = async () => {
|
|
|
3092
3092
|
e && await dg(e);
|
|
3093
3093
|
}, MT = async (e, t) => {
|
|
3094
3094
|
const n = await Ns(e);
|
|
3095
|
-
t ? n !== !1 && await
|
|
3096
|
-
}, pg = async (e) => await lg(e) && await
|
|
3095
|
+
t ? n !== !1 && await hu(e, t) : await hu(e, void 0);
|
|
3096
|
+
}, pg = async (e) => await lg(e) && await i1(e), gg = async (e) => {
|
|
3097
3097
|
await fg(e);
|
|
3098
3098
|
};
|
|
3099
3099
|
var mc = {}, gr = {};
|
|
3100
|
-
function
|
|
3100
|
+
function s1(e, t) {
|
|
3101
3101
|
return function() {
|
|
3102
3102
|
return e.apply(t, arguments);
|
|
3103
3103
|
};
|
|
@@ -3109,12 +3109,12 @@ const { toString: mg } = Object.prototype, { getPrototypeOf: sl } = Object, ks =
|
|
|
3109
3109
|
function bg(e) {
|
|
3110
3110
|
return e !== null && !ai(e) && e.constructor !== null && !ai(e.constructor) && Ht(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
3111
3111
|
}
|
|
3112
|
-
const
|
|
3112
|
+
const a1 = cn("ArrayBuffer");
|
|
3113
3113
|
function vg(e) {
|
|
3114
3114
|
let t;
|
|
3115
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
3115
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && a1(e.buffer), t;
|
|
3116
3116
|
}
|
|
3117
|
-
const yg = Ms("string"), Ht = Ms("function"),
|
|
3117
|
+
const yg = Ms("string"), Ht = Ms("function"), c1 = Ms("number"), Ps = (e) => e !== null && typeof e == "object", Cg = (e) => e === !0 || e === !1, Wi = (e) => {
|
|
3118
3118
|
if (ks(e) !== "object")
|
|
3119
3119
|
return !1;
|
|
3120
3120
|
const t = sl(e);
|
|
@@ -3138,7 +3138,7 @@ function Ci(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
3138
3138
|
a = i[r], t.call(null, e[a], a, e);
|
|
3139
3139
|
}
|
|
3140
3140
|
}
|
|
3141
|
-
function
|
|
3141
|
+
function l1(e, t) {
|
|
3142
3142
|
t = t.toLowerCase();
|
|
3143
3143
|
const n = Object.keys(e);
|
|
3144
3144
|
let r = n.length, o;
|
|
@@ -3147,10 +3147,10 @@ function c1(e, t) {
|
|
|
3147
3147
|
return o;
|
|
3148
3148
|
return null;
|
|
3149
3149
|
}
|
|
3150
|
-
const Cr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : ye,
|
|
3150
|
+
const Cr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : ye, u1 = (e) => !ai(e) && e !== Cr;
|
|
3151
3151
|
function bc() {
|
|
3152
|
-
const { caseless: e } =
|
|
3153
|
-
const i = e &&
|
|
3152
|
+
const { caseless: e } = u1(this) && this || {}, t = {}, n = (r, o) => {
|
|
3153
|
+
const i = e && l1(t, o) || o;
|
|
3154
3154
|
Wi(t[i]) && Wi(r) ? t[i] = bc(t[i], r) : Wi(r) ? t[i] = bc({}, r) : _o(r) ? t[i] = r.slice() : t[i] = r;
|
|
3155
3155
|
};
|
|
3156
3156
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
@@ -3158,7 +3158,7 @@ function bc() {
|
|
|
3158
3158
|
return t;
|
|
3159
3159
|
}
|
|
3160
3160
|
const Dg = (e, t, n, { allOwnKeys: r } = {}) => (Ci(t, (o, i) => {
|
|
3161
|
-
n && Ht(o) ? e[i] =
|
|
3161
|
+
n && Ht(o) ? e[i] = s1(o, n) : e[i] = o;
|
|
3162
3162
|
}, { allOwnKeys: r }), e), Ng = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), kg = (e, t, n, r) => {
|
|
3163
3163
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
3164
3164
|
value: t.prototype
|
|
@@ -3181,7 +3181,7 @@ const Dg = (e, t, n, { allOwnKeys: r } = {}) => (Ci(t, (o, i) => {
|
|
|
3181
3181
|
if (!e) return null;
|
|
3182
3182
|
if (_o(e)) return e;
|
|
3183
3183
|
let t = e.length;
|
|
3184
|
-
if (!
|
|
3184
|
+
if (!c1(t)) return null;
|
|
3185
3185
|
const n = new Array(t);
|
|
3186
3186
|
for (; t-- > 0; )
|
|
3187
3187
|
n[t] = e[t];
|
|
@@ -3204,14 +3204,14 @@ const Dg = (e, t, n, { allOwnKeys: r } = {}) => (Ci(t, (o, i) => {
|
|
|
3204
3204
|
function(n, r, o) {
|
|
3205
3205
|
return r.toUpperCase() + o;
|
|
3206
3206
|
}
|
|
3207
|
-
),
|
|
3207
|
+
), pu = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Zg = cn("RegExp"), d1 = (e, t) => {
|
|
3208
3208
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
3209
3209
|
Ci(n, (o, i) => {
|
|
3210
3210
|
let s;
|
|
3211
3211
|
(s = t(o, i, e)) !== !1 && (r[i] = s || o);
|
|
3212
3212
|
}), Object.defineProperties(e, r);
|
|
3213
3213
|
}, Ug = (e) => {
|
|
3214
|
-
|
|
3214
|
+
d1(e, (t, n) => {
|
|
3215
3215
|
if (Ht(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
3216
3216
|
return !1;
|
|
3217
3217
|
const r = e[n];
|
|
@@ -3233,11 +3233,11 @@ const Dg = (e, t, n, { allOwnKeys: r } = {}) => (Ci(t, (o, i) => {
|
|
|
3233
3233
|
};
|
|
3234
3234
|
return _o(e) ? r(e) : r(String(e).split(t)), n;
|
|
3235
3235
|
}, $g = () => {
|
|
3236
|
-
}, zg = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, pa = "abcdefghijklmnopqrstuvwxyz",
|
|
3237
|
-
DIGIT:
|
|
3236
|
+
}, zg = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, pa = "abcdefghijklmnopqrstuvwxyz", gu = "0123456789", f1 = {
|
|
3237
|
+
DIGIT: gu,
|
|
3238
3238
|
ALPHA: pa,
|
|
3239
|
-
ALPHA_DIGIT: pa + pa.toUpperCase() +
|
|
3240
|
-
}, Yg = (e = 16, t =
|
|
3239
|
+
ALPHA_DIGIT: pa + pa.toUpperCase() + gu
|
|
3240
|
+
}, Yg = (e = 16, t = f1.ALPHA_DIGIT) => {
|
|
3241
3241
|
let n = "";
|
|
3242
3242
|
const { length: r } = t;
|
|
3243
3243
|
for (; e--; )
|
|
@@ -3264,22 +3264,22 @@ const qg = (e) => {
|
|
|
3264
3264
|
return r;
|
|
3265
3265
|
};
|
|
3266
3266
|
return n(e, 0);
|
|
3267
|
-
}, Qg = cn("AsyncFunction"), Kg = (e) => e && (Ps(e) || Ht(e)) && Ht(e.then) && Ht(e.catch),
|
|
3267
|
+
}, Qg = cn("AsyncFunction"), Kg = (e) => e && (Ps(e) || Ht(e)) && Ht(e.then) && Ht(e.catch), h1 = ((e, t) => e ? setImmediate : t ? ((n, r) => (Cr.addEventListener("message", ({ source: o, data: i }) => {
|
|
3268
3268
|
o === Cr && i === n && r.length && r.shift()();
|
|
3269
3269
|
}, !1), (o) => {
|
|
3270
3270
|
r.push(o), Cr.postMessage(n, "*");
|
|
3271
3271
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
3272
3272
|
typeof setImmediate == "function",
|
|
3273
3273
|
Ht(Cr.postMessage)
|
|
3274
|
-
), em = typeof queueMicrotask < "u" ? queueMicrotask.bind(Cr) : typeof process < "u" && process.nextTick ||
|
|
3274
|
+
), em = typeof queueMicrotask < "u" ? queueMicrotask.bind(Cr) : typeof process < "u" && process.nextTick || h1;
|
|
3275
3275
|
var k = {
|
|
3276
3276
|
isArray: _o,
|
|
3277
|
-
isArrayBuffer:
|
|
3277
|
+
isArrayBuffer: a1,
|
|
3278
3278
|
isBuffer: bg,
|
|
3279
3279
|
isFormData: Ag,
|
|
3280
3280
|
isArrayBufferView: vg,
|
|
3281
3281
|
isString: yg,
|
|
3282
|
-
isNumber:
|
|
3282
|
+
isNumber: c1,
|
|
3283
3283
|
isBoolean: Cg,
|
|
3284
3284
|
isObject: Ps,
|
|
3285
3285
|
isPlainObject: Wi,
|
|
@@ -3311,25 +3311,25 @@ var k = {
|
|
|
3311
3311
|
forEachEntry: Vg,
|
|
3312
3312
|
matchAll: Gg,
|
|
3313
3313
|
isHTMLForm: Hg,
|
|
3314
|
-
hasOwnProperty:
|
|
3315
|
-
hasOwnProp:
|
|
3314
|
+
hasOwnProperty: pu,
|
|
3315
|
+
hasOwnProp: pu,
|
|
3316
3316
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
3317
|
-
reduceDescriptors:
|
|
3317
|
+
reduceDescriptors: d1,
|
|
3318
3318
|
freezeMethods: Ug,
|
|
3319
3319
|
toObjectSet: Xg,
|
|
3320
3320
|
toCamelCase: Wg,
|
|
3321
3321
|
noop: $g,
|
|
3322
3322
|
toFiniteNumber: zg,
|
|
3323
|
-
findKey:
|
|
3323
|
+
findKey: l1,
|
|
3324
3324
|
global: Cr,
|
|
3325
|
-
isContextDefined:
|
|
3326
|
-
ALPHABET:
|
|
3325
|
+
isContextDefined: u1,
|
|
3326
|
+
ALPHABET: f1,
|
|
3327
3327
|
generateString: Yg,
|
|
3328
3328
|
isSpecCompliantForm: Jg,
|
|
3329
3329
|
toJSONObject: qg,
|
|
3330
3330
|
isAsyncFn: Qg,
|
|
3331
3331
|
isThenable: Kg,
|
|
3332
|
-
setImmediate:
|
|
3332
|
+
setImmediate: h1,
|
|
3333
3333
|
asap: em
|
|
3334
3334
|
};
|
|
3335
3335
|
function xe(e, t, n, r, o) {
|
|
@@ -3356,7 +3356,7 @@ k.inherits(xe, Error, {
|
|
|
3356
3356
|
};
|
|
3357
3357
|
}
|
|
3358
3358
|
});
|
|
3359
|
-
const
|
|
3359
|
+
const p1 = xe.prototype, g1 = {};
|
|
3360
3360
|
[
|
|
3361
3361
|
"ERR_BAD_OPTION_VALUE",
|
|
3362
3362
|
"ERR_BAD_OPTION",
|
|
@@ -3372,12 +3372,12 @@ const h1 = xe.prototype, p1 = {};
|
|
|
3372
3372
|
"ERR_INVALID_URL"
|
|
3373
3373
|
// eslint-disable-next-line func-names
|
|
3374
3374
|
].forEach((e) => {
|
|
3375
|
-
|
|
3375
|
+
g1[e] = { value: e };
|
|
3376
3376
|
});
|
|
3377
|
-
Object.defineProperties(xe,
|
|
3378
|
-
Object.defineProperty(
|
|
3377
|
+
Object.defineProperties(xe, g1);
|
|
3378
|
+
Object.defineProperty(p1, "isAxiosError", { value: !0 });
|
|
3379
3379
|
xe.from = (e, t, n, r, o, i) => {
|
|
3380
|
-
const s = Object.create(
|
|
3380
|
+
const s = Object.create(p1);
|
|
3381
3381
|
return k.toFlatObject(e, s, function(c) {
|
|
3382
3382
|
return c !== Error.prototype;
|
|
3383
3383
|
}, (a) => a !== "isAxiosError"), xe.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, i && Object.assign(s, i), s;
|
|
@@ -3386,12 +3386,12 @@ var tm = null;
|
|
|
3386
3386
|
function vc(e) {
|
|
3387
3387
|
return k.isPlainObject(e) || k.isArray(e);
|
|
3388
3388
|
}
|
|
3389
|
-
function
|
|
3389
|
+
function m1(e) {
|
|
3390
3390
|
return k.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
3391
3391
|
}
|
|
3392
|
-
function
|
|
3392
|
+
function mu(e, t, n) {
|
|
3393
3393
|
return e ? e.concat(t).map(function(o, i) {
|
|
3394
|
-
return o =
|
|
3394
|
+
return o = m1(o), !n && i ? "[" + o + "]" : o;
|
|
3395
3395
|
}).join(n ? "." : "") : t;
|
|
3396
3396
|
}
|
|
3397
3397
|
function nm(e) {
|
|
@@ -3427,15 +3427,15 @@ function js(e, t, n) {
|
|
|
3427
3427
|
if (k.endsWith(f, "{}"))
|
|
3428
3428
|
f = r ? f : f.slice(0, -2), b = JSON.stringify(b);
|
|
3429
3429
|
else if (k.isArray(b) && nm(b) || (k.isFileList(b) || k.endsWith(f, "[]")) && (p = k.toArray(b)))
|
|
3430
|
-
return f =
|
|
3430
|
+
return f = m1(f), p.forEach(function(y, E) {
|
|
3431
3431
|
!(k.isUndefined(y) || y === null) && t.append(
|
|
3432
3432
|
// eslint-disable-next-line no-nested-ternary
|
|
3433
|
-
s === !0 ?
|
|
3433
|
+
s === !0 ? mu([f], E, i) : s === null ? f : f + "[]",
|
|
3434
3434
|
l(y)
|
|
3435
3435
|
);
|
|
3436
3436
|
}), !1;
|
|
3437
3437
|
}
|
|
3438
|
-
return vc(b) ? !0 : (t.append(
|
|
3438
|
+
return vc(b) ? !0 : (t.append(mu(h, f, i), l(b)), !1);
|
|
3439
3439
|
}
|
|
3440
3440
|
const g = [], m = Object.assign(rm, {
|
|
3441
3441
|
defaultVisitor: d,
|
|
@@ -3461,7 +3461,7 @@ function js(e, t, n) {
|
|
|
3461
3461
|
throw new TypeError("data must be an object");
|
|
3462
3462
|
return C(e), t;
|
|
3463
3463
|
}
|
|
3464
|
-
function
|
|
3464
|
+
function bu(e) {
|
|
3465
3465
|
const t = {
|
|
3466
3466
|
"!": "%21",
|
|
3467
3467
|
"'": "%27",
|
|
@@ -3478,14 +3478,14 @@ function mu(e) {
|
|
|
3478
3478
|
function al(e, t) {
|
|
3479
3479
|
this._pairs = [], e && js(e, this, t);
|
|
3480
3480
|
}
|
|
3481
|
-
const
|
|
3482
|
-
|
|
3481
|
+
const b1 = al.prototype;
|
|
3482
|
+
b1.append = function(t, n) {
|
|
3483
3483
|
this._pairs.push([t, n]);
|
|
3484
3484
|
};
|
|
3485
|
-
|
|
3485
|
+
b1.toString = function(t) {
|
|
3486
3486
|
const n = t ? function(r) {
|
|
3487
|
-
return t.call(this, r,
|
|
3488
|
-
} :
|
|
3487
|
+
return t.call(this, r, bu);
|
|
3488
|
+
} : bu;
|
|
3489
3489
|
return this._pairs.map(function(o) {
|
|
3490
3490
|
return n(o[0]) + "=" + n(o[1]);
|
|
3491
3491
|
}, "").join("&");
|
|
@@ -3493,7 +3493,7 @@ m1.toString = function(t) {
|
|
|
3493
3493
|
function om(e) {
|
|
3494
3494
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
3495
3495
|
}
|
|
3496
|
-
function
|
|
3496
|
+
function v1(e, t, n) {
|
|
3497
3497
|
if (!t)
|
|
3498
3498
|
return e;
|
|
3499
3499
|
const r = n && n.encode || om, o = n && n.serialize;
|
|
@@ -3558,7 +3558,7 @@ class im {
|
|
|
3558
3558
|
});
|
|
3559
3559
|
}
|
|
3560
3560
|
}
|
|
3561
|
-
var
|
|
3561
|
+
var vu = im, y1 = {
|
|
3562
3562
|
silentJSONParsing: !0,
|
|
3563
3563
|
forcedJSONParsing: !0,
|
|
3564
3564
|
clarifyTimeoutError: !1
|
|
@@ -3603,7 +3603,7 @@ function mm(e) {
|
|
|
3603
3603
|
i = n[r], t[i] = e[i];
|
|
3604
3604
|
return t;
|
|
3605
3605
|
}
|
|
3606
|
-
function
|
|
3606
|
+
function C1(e) {
|
|
3607
3607
|
function t(n, r, o, i) {
|
|
3608
3608
|
let s = n[i++];
|
|
3609
3609
|
if (s === "__proto__") return !0;
|
|
@@ -3629,12 +3629,12 @@ function bm(e, t, n) {
|
|
|
3629
3629
|
return (0, JSON.stringify)(e);
|
|
3630
3630
|
}
|
|
3631
3631
|
const ll = {
|
|
3632
|
-
transitional:
|
|
3632
|
+
transitional: y1,
|
|
3633
3633
|
adapter: ["xhr", "http", "fetch"],
|
|
3634
3634
|
transformRequest: [function(t, n) {
|
|
3635
3635
|
const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, i = k.isObject(t);
|
|
3636
3636
|
if (i && k.isHTMLForm(t) && (t = new FormData(t)), k.isFormData(t))
|
|
3637
|
-
return o ? JSON.stringify(
|
|
3637
|
+
return o ? JSON.stringify(C1(t)) : t;
|
|
3638
3638
|
if (k.isArrayBuffer(t) || k.isBuffer(t) || k.isStream(t) || k.isFile(t) || k.isBlob(t) || k.isReadableStream(t))
|
|
3639
3639
|
return t;
|
|
3640
3640
|
if (k.isArrayBufferView(t))
|
|
@@ -3725,7 +3725,7 @@ var ym = (e) => {
|
|
|
3725
3725
|
o = s.indexOf(":"), n = s.substring(0, o).trim().toLowerCase(), r = s.substring(o + 1).trim(), !(!n || t[n] && vm[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
3726
3726
|
}), t;
|
|
3727
3727
|
};
|
|
3728
|
-
const
|
|
3728
|
+
const yu = Symbol("internals");
|
|
3729
3729
|
function jo(e) {
|
|
3730
3730
|
return e && String(e).trim().toLowerCase();
|
|
3731
3731
|
}
|
|
@@ -3872,7 +3872,7 @@ class Bs {
|
|
|
3872
3872
|
return n.forEach((o) => r.set(o)), r;
|
|
3873
3873
|
}
|
|
3874
3874
|
static accessor(t) {
|
|
3875
|
-
const r = (this[
|
|
3875
|
+
const r = (this[yu] = this[yu] = {
|
|
3876
3876
|
accessors: {}
|
|
3877
3877
|
}).accessors, o = this.prototype;
|
|
3878
3878
|
function i(s) {
|
|
@@ -3901,7 +3901,7 @@ function ma(e, t) {
|
|
|
3901
3901
|
i = a.call(n, i, o.normalize(), t ? t.status : void 0);
|
|
3902
3902
|
}), o.normalize(), i;
|
|
3903
3903
|
}
|
|
3904
|
-
function
|
|
3904
|
+
function x1(e) {
|
|
3905
3905
|
return !!(e && e.__CANCEL__);
|
|
3906
3906
|
}
|
|
3907
3907
|
function Ao(e, t, n) {
|
|
@@ -3910,7 +3910,7 @@ function Ao(e, t, n) {
|
|
|
3910
3910
|
k.inherits(Ao, xe, {
|
|
3911
3911
|
__CANCEL__: !0
|
|
3912
3912
|
});
|
|
3913
|
-
function
|
|
3913
|
+
function E1(e, t, n) {
|
|
3914
3914
|
const r = n.config.validateStatus;
|
|
3915
3915
|
!n.status || !r || r(n.status) ? e(n) : t(new xe(
|
|
3916
3916
|
"Request failed with status code " + n.status,
|
|
@@ -3971,14 +3971,14 @@ const ds = (e, t, n = 3) => {
|
|
|
3971
3971
|
};
|
|
3972
3972
|
e(g);
|
|
3973
3973
|
}, n);
|
|
3974
|
-
},
|
|
3974
|
+
}, Cu = (e, t) => {
|
|
3975
3975
|
const n = e != null;
|
|
3976
3976
|
return [(r) => t[0]({
|
|
3977
3977
|
lengthComputable: n,
|
|
3978
3978
|
total: e,
|
|
3979
3979
|
loaded: r
|
|
3980
3980
|
}), t[1]];
|
|
3981
|
-
},
|
|
3981
|
+
}, xu = (e) => (...t) => k.asap(() => e(...t));
|
|
3982
3982
|
var Tm = Nt.hasStandardBrowserEnv ? (
|
|
3983
3983
|
// Standard browser envs have full support of the APIs needed to test
|
|
3984
3984
|
// whether the request URL is of the same origin as current location.
|
|
@@ -4043,10 +4043,10 @@ function Lm(e) {
|
|
|
4043
4043
|
function Om(e, t) {
|
|
4044
4044
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
4045
4045
|
}
|
|
4046
|
-
function
|
|
4046
|
+
function I1(e, t) {
|
|
4047
4047
|
return e && !Lm(t) ? Om(e, t) : t;
|
|
4048
4048
|
}
|
|
4049
|
-
const
|
|
4049
|
+
const Eu = (e) => e instanceof an ? { ...e } : e;
|
|
4050
4050
|
function kr(e, t) {
|
|
4051
4051
|
t = t || {};
|
|
4052
4052
|
const n = {};
|
|
@@ -4104,17 +4104,17 @@ function kr(e, t) {
|
|
|
4104
4104
|
socketPath: s,
|
|
4105
4105
|
responseEncoding: s,
|
|
4106
4106
|
validateStatus: a,
|
|
4107
|
-
headers: (l, d) => o(
|
|
4107
|
+
headers: (l, d) => o(Eu(l), Eu(d), !0)
|
|
4108
4108
|
};
|
|
4109
4109
|
return k.forEach(Object.keys(Object.assign({}, e, t)), function(d) {
|
|
4110
4110
|
const g = c[d] || o, m = g(e[d], t[d], d);
|
|
4111
4111
|
k.isUndefined(m) && g !== a || (n[d] = m);
|
|
4112
4112
|
}), n;
|
|
4113
4113
|
}
|
|
4114
|
-
var
|
|
4114
|
+
var w1 = (e) => {
|
|
4115
4115
|
const t = kr({}, e);
|
|
4116
4116
|
let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: i, headers: s, auth: a } = t;
|
|
4117
|
-
t.headers = s = an.from(s), t.url =
|
|
4117
|
+
t.headers = s = an.from(s), t.url = v1(I1(t.baseURL, t.url), e.params, e.paramsSerializer), a && s.set(
|
|
4118
4118
|
"Authorization",
|
|
4119
4119
|
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
4120
4120
|
);
|
|
@@ -4136,7 +4136,7 @@ var I1 = (e) => {
|
|
|
4136
4136
|
const Rm = typeof XMLHttpRequest < "u";
|
|
4137
4137
|
var Fm = Rm && function(e) {
|
|
4138
4138
|
return new Promise(function(n, r) {
|
|
4139
|
-
const o =
|
|
4139
|
+
const o = w1(e);
|
|
4140
4140
|
let i = o.data;
|
|
4141
4141
|
const s = an.from(o.headers).normalize();
|
|
4142
4142
|
let { responseType: a, onUploadProgress: c, onDownloadProgress: l } = o, d, g, m, C, b;
|
|
@@ -4158,7 +4158,7 @@ var Fm = Rm && function(e) {
|
|
|
4158
4158
|
config: e,
|
|
4159
4159
|
request: h
|
|
4160
4160
|
};
|
|
4161
|
-
|
|
4161
|
+
E1(function(_) {
|
|
4162
4162
|
n(_), f();
|
|
4163
4163
|
}, function(_) {
|
|
4164
4164
|
r(_), f();
|
|
@@ -4172,7 +4172,7 @@ var Fm = Rm && function(e) {
|
|
|
4172
4172
|
r(new xe("Network Error", xe.ERR_NETWORK, e, h)), h = null;
|
|
4173
4173
|
}, h.ontimeout = function() {
|
|
4174
4174
|
let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
4175
|
-
const x = o.transitional ||
|
|
4175
|
+
const x = o.transitional || y1;
|
|
4176
4176
|
o.timeoutErrorMessage && (E = o.timeoutErrorMessage), r(new xe(
|
|
4177
4177
|
E,
|
|
4178
4178
|
x.clarifyTimeoutError ? xe.ETIMEDOUT : xe.ECONNABORTED,
|
|
@@ -4245,7 +4245,7 @@ const km = function* (e, t) {
|
|
|
4245
4245
|
} finally {
|
|
4246
4246
|
await t.cancel();
|
|
4247
4247
|
}
|
|
4248
|
-
},
|
|
4248
|
+
}, Iu = (e, t, n, r) => {
|
|
4249
4249
|
const o = Mm(e, t);
|
|
4250
4250
|
let i = 0, s, a = (c) => {
|
|
4251
4251
|
s || (s = !0, r && r(c));
|
|
@@ -4274,13 +4274,13 @@ const km = function* (e, t) {
|
|
|
4274
4274
|
}, {
|
|
4275
4275
|
highWaterMark: 2
|
|
4276
4276
|
});
|
|
4277
|
-
}, Vs = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
4277
|
+
}, Vs = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", _1 = Vs && typeof ReadableStream == "function", jm = Vs && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), A1 = (e, ...t) => {
|
|
4278
4278
|
try {
|
|
4279
4279
|
return !!e(...t);
|
|
4280
4280
|
} catch {
|
|
4281
4281
|
return !1;
|
|
4282
4282
|
}
|
|
4283
|
-
}, Bm =
|
|
4283
|
+
}, Bm = _1 && A1(() => {
|
|
4284
4284
|
let e = !1;
|
|
4285
4285
|
const t = new Request(Nt.origin, {
|
|
4286
4286
|
body: new ReadableStream(),
|
|
@@ -4290,7 +4290,7 @@ const km = function* (e, t) {
|
|
|
4290
4290
|
}
|
|
4291
4291
|
}).headers.has("Content-Type");
|
|
4292
4292
|
return e && !t;
|
|
4293
|
-
}),
|
|
4293
|
+
}), wu = 64 * 1024, Cc = _1 && A1(() => k.isReadableStream(new Response("").body)), fs = {
|
|
4294
4294
|
stream: Cc && ((e) => e.body)
|
|
4295
4295
|
};
|
|
4296
4296
|
Vs && ((e) => {
|
|
@@ -4332,7 +4332,7 @@ var Hm = Vs && (async (e) => {
|
|
|
4332
4332
|
headers: d,
|
|
4333
4333
|
withCredentials: g = "same-origin",
|
|
4334
4334
|
fetchOptions: m
|
|
4335
|
-
} =
|
|
4335
|
+
} = w1(e);
|
|
4336
4336
|
l = l ? (l + "").toLowerCase() : "text";
|
|
4337
4337
|
let C = Nm([o, i && i.toAbortSignal()], s), b;
|
|
4338
4338
|
const f = C && C.unsubscribe && (() => {
|
|
@@ -4347,11 +4347,11 @@ var Hm = Vs && (async (e) => {
|
|
|
4347
4347
|
duplex: "half"
|
|
4348
4348
|
}), I;
|
|
4349
4349
|
if (k.isFormData(r) && (I = x.headers.get("content-type")) && d.setContentType(I), x.body) {
|
|
4350
|
-
const [_, w] =
|
|
4350
|
+
const [_, w] = Cu(
|
|
4351
4351
|
h,
|
|
4352
|
-
ds(
|
|
4352
|
+
ds(xu(c))
|
|
4353
4353
|
);
|
|
4354
|
-
r =
|
|
4354
|
+
r = Iu(x.body, wu, _, w);
|
|
4355
4355
|
}
|
|
4356
4356
|
}
|
|
4357
4357
|
k.isString(g) || (g = g ? "include" : "omit");
|
|
@@ -4372,12 +4372,12 @@ var Hm = Vs && (async (e) => {
|
|
|
4372
4372
|
["status", "statusText", "headers"].forEach((T) => {
|
|
4373
4373
|
x[T] = v[T];
|
|
4374
4374
|
});
|
|
4375
|
-
const I = k.toFiniteNumber(v.headers.get("content-length")), [_, w] = a &&
|
|
4375
|
+
const I = k.toFiniteNumber(v.headers.get("content-length")), [_, w] = a && Cu(
|
|
4376
4376
|
I,
|
|
4377
|
-
ds(
|
|
4377
|
+
ds(xu(a), !0)
|
|
4378
4378
|
) || [];
|
|
4379
4379
|
v = new Response(
|
|
4380
|
-
|
|
4380
|
+
Iu(v.body, wu, _, () => {
|
|
4381
4381
|
w && w(), f && f();
|
|
4382
4382
|
}),
|
|
4383
4383
|
x
|
|
@@ -4386,7 +4386,7 @@ var Hm = Vs && (async (e) => {
|
|
|
4386
4386
|
l = l || "text";
|
|
4387
4387
|
let E = await fs[k.findKey(fs, l) || "text"](v, e);
|
|
4388
4388
|
return !y && f && f(), await new Promise((x, I) => {
|
|
4389
|
-
|
|
4389
|
+
E1(x, I, {
|
|
4390
4390
|
data: E,
|
|
4391
4391
|
headers: an.from(v.headers),
|
|
4392
4392
|
status: v.status,
|
|
@@ -4418,8 +4418,8 @@ k.forEach(xc, (e, t) => {
|
|
|
4418
4418
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
4419
4419
|
}
|
|
4420
4420
|
});
|
|
4421
|
-
const
|
|
4422
|
-
var
|
|
4421
|
+
const _u = (e) => `- ${e}`, Wm = (e) => k.isFunction(e) || e === null || e === !1;
|
|
4422
|
+
var T1 = {
|
|
4423
4423
|
getAdapter: (e) => {
|
|
4424
4424
|
e = k.isArray(e) ? e : [e];
|
|
4425
4425
|
const { length: t } = e;
|
|
@@ -4439,8 +4439,8 @@ var A1 = {
|
|
|
4439
4439
|
([a, c]) => `adapter ${a} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
4440
4440
|
);
|
|
4441
4441
|
let s = t ? i.length > 1 ? `since :
|
|
4442
|
-
` + i.map(
|
|
4443
|
-
`) : " " +
|
|
4442
|
+
` + i.map(_u).join(`
|
|
4443
|
+
`) : " " + _u(i[0]) : "as no adapter specified";
|
|
4444
4444
|
throw new xe(
|
|
4445
4445
|
"There is no suitable adapter to dispatch the request " + s,
|
|
4446
4446
|
"ERR_NOT_SUPPORT"
|
|
@@ -4454,34 +4454,34 @@ function ba(e) {
|
|
|
4454
4454
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
4455
4455
|
throw new Ao(null, e);
|
|
4456
4456
|
}
|
|
4457
|
-
function
|
|
4457
|
+
function Au(e) {
|
|
4458
4458
|
return ba(e), e.headers = an.from(e.headers), e.data = ma.call(
|
|
4459
4459
|
e,
|
|
4460
4460
|
e.transformRequest
|
|
4461
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
4461
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), T1.getAdapter(e.adapter || ul.adapter)(e).then(function(r) {
|
|
4462
4462
|
return ba(e), r.data = ma.call(
|
|
4463
4463
|
e,
|
|
4464
4464
|
e.transformResponse,
|
|
4465
4465
|
r
|
|
4466
4466
|
), r.headers = an.from(r.headers), r;
|
|
4467
4467
|
}, function(r) {
|
|
4468
|
-
return
|
|
4468
|
+
return x1(r) || (ba(e), r && r.response && (r.response.data = ma.call(
|
|
4469
4469
|
e,
|
|
4470
4470
|
e.transformResponse,
|
|
4471
4471
|
r.response
|
|
4472
4472
|
), r.response.headers = an.from(r.response.headers))), Promise.reject(r);
|
|
4473
4473
|
});
|
|
4474
4474
|
}
|
|
4475
|
-
const
|
|
4475
|
+
const S1 = "1.7.7", dl = {};
|
|
4476
4476
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
4477
4477
|
dl[e] = function(r) {
|
|
4478
4478
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
4479
4479
|
};
|
|
4480
4480
|
});
|
|
4481
|
-
const
|
|
4481
|
+
const Tu = {};
|
|
4482
4482
|
dl.transitional = function(t, n, r) {
|
|
4483
4483
|
function o(i, s) {
|
|
4484
|
-
return "[Axios v" +
|
|
4484
|
+
return "[Axios v" + S1 + "] Transitional option '" + i + "'" + s + (r ? ". " + r : "");
|
|
4485
4485
|
}
|
|
4486
4486
|
return (i, s, a) => {
|
|
4487
4487
|
if (t === !1)
|
|
@@ -4489,7 +4489,7 @@ dl.transitional = function(t, n, r) {
|
|
|
4489
4489
|
o(s, " has been removed" + (n ? " in " + n : "")),
|
|
4490
4490
|
xe.ERR_DEPRECATED
|
|
4491
4491
|
);
|
|
4492
|
-
return n && !
|
|
4492
|
+
return n && !Tu[s] && (Tu[s] = !0, console.warn(
|
|
4493
4493
|
o(
|
|
4494
4494
|
s,
|
|
4495
4495
|
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
@@ -4522,8 +4522,8 @@ const Gn = Ec.validators;
|
|
|
4522
4522
|
let hs = class {
|
|
4523
4523
|
constructor(t) {
|
|
4524
4524
|
this.defaults = t, this.interceptors = {
|
|
4525
|
-
request: new
|
|
4526
|
-
response: new
|
|
4525
|
+
request: new vu(),
|
|
4526
|
+
response: new vu()
|
|
4527
4527
|
};
|
|
4528
4528
|
}
|
|
4529
4529
|
/**
|
|
@@ -4585,7 +4585,7 @@ let hs = class {
|
|
|
4585
4585
|
});
|
|
4586
4586
|
let d, g = 0, m;
|
|
4587
4587
|
if (!c) {
|
|
4588
|
-
const b = [
|
|
4588
|
+
const b = [Au.bind(this), void 0];
|
|
4589
4589
|
for (b.unshift.apply(b, a), b.push.apply(b, l), m = b.length, d = Promise.resolve(n); g < m; )
|
|
4590
4590
|
d = d.then(b[g++], b[g++]);
|
|
4591
4591
|
return d;
|
|
@@ -4602,7 +4602,7 @@ let hs = class {
|
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
4604
4604
|
try {
|
|
4605
|
-
d =
|
|
4605
|
+
d = Au.call(this, C);
|
|
4606
4606
|
} catch (b) {
|
|
4607
4607
|
return Promise.reject(b);
|
|
4608
4608
|
}
|
|
@@ -4612,8 +4612,8 @@ let hs = class {
|
|
|
4612
4612
|
}
|
|
4613
4613
|
getUri(t) {
|
|
4614
4614
|
t = kr(this.defaults, t);
|
|
4615
|
-
const n =
|
|
4616
|
-
return
|
|
4615
|
+
const n = I1(t.baseURL, t.url);
|
|
4616
|
+
return v1(n, t.params, t.paramsSerializer);
|
|
4617
4617
|
}
|
|
4618
4618
|
};
|
|
4619
4619
|
k.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -4792,18 +4792,18 @@ Object.entries(Ic).forEach(([e, t]) => {
|
|
|
4792
4792
|
Ic[t] = e;
|
|
4793
4793
|
});
|
|
4794
4794
|
var zm = Ic;
|
|
4795
|
-
function
|
|
4796
|
-
const t = new Ui(e), n =
|
|
4795
|
+
function L1(e) {
|
|
4796
|
+
const t = new Ui(e), n = s1(Ui.prototype.request, t);
|
|
4797
4797
|
return k.extend(n, Ui.prototype, t, { allOwnKeys: !0 }), k.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
4798
|
-
return
|
|
4798
|
+
return L1(kr(e, o));
|
|
4799
4799
|
}, n;
|
|
4800
4800
|
}
|
|
4801
|
-
const st =
|
|
4801
|
+
const st = L1(ul);
|
|
4802
4802
|
st.Axios = Ui;
|
|
4803
4803
|
st.CanceledError = Ao;
|
|
4804
4804
|
st.CancelToken = Um;
|
|
4805
|
-
st.isCancel =
|
|
4806
|
-
st.VERSION =
|
|
4805
|
+
st.isCancel = x1;
|
|
4806
|
+
st.VERSION = S1;
|
|
4807
4807
|
st.toFormData = js;
|
|
4808
4808
|
st.AxiosError = xe;
|
|
4809
4809
|
st.Cancel = st.CanceledError;
|
|
@@ -4814,11 +4814,11 @@ st.spread = Xm;
|
|
|
4814
4814
|
st.isAxiosError = $m;
|
|
4815
4815
|
st.mergeConfig = kr;
|
|
4816
4816
|
st.AxiosHeaders = an;
|
|
4817
|
-
st.formToJSON = (e) =>
|
|
4818
|
-
st.getAdapter =
|
|
4817
|
+
st.formToJSON = (e) => C1(k.isHTMLForm(e) ? new FormData(e) : e);
|
|
4818
|
+
st.getAdapter = T1.getAdapter;
|
|
4819
4819
|
st.HttpStatusCode = zm;
|
|
4820
4820
|
st.default = st;
|
|
4821
|
-
var
|
|
4821
|
+
var O1 = st, Pe = {}, or = {};
|
|
4822
4822
|
(function(e) {
|
|
4823
4823
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.PLATFORM = e.TENANT_PLATFORM = e.API_CALL_ORIGIN = e.TIERS = e.APP_UI = e.CONFIG_HIVER = e.DEFAULT_INIT_CONFIG_HIVER = e.TWO_MINUTES_IN_MS = e.REFETCH_CHECK_DELAY = e.RETRY_DELAY_IN_CASE_OF_CORRUPTED_EXPIRY = e.INITIAL_RETRY_DELAY = e.MAX_BACKOFF_LIMIT = e.MAX_CONFLICT_RETRY_DELAY = e.MAX_RETRY_DELAY = e.GET_METHOD = void 0, e.GET_METHOD = "GET", e.MAX_RETRY_DELAY = 18e4, e.MAX_CONFLICT_RETRY_DELAY = 63e3, e.MAX_BACKOFF_LIMIT = 8e3, e.INITIAL_RETRY_DELAY = 1e3, e.RETRY_DELAY_IN_CASE_OF_CORRUPTED_EXPIRY = 3e3, e.REFETCH_CHECK_DELAY = 168e4, e.TWO_MINUTES_IN_MS = 2 * 60 * 1e3, e.DEFAULT_INIT_CONFIG_HIVER = {
|
|
4824
4824
|
getToken: !0,
|
|
@@ -5064,7 +5064,7 @@ var Nn = or, Ur = Rt, Bt = En, pl = function() {
|
|
|
5064
5064
|
Pe.validateAccount = gl;
|
|
5065
5065
|
var l3 = function(e) {
|
|
5066
5066
|
var t = gl(e);
|
|
5067
|
-
return !
|
|
5067
|
+
return !R1() && t;
|
|
5068
5068
|
};
|
|
5069
5069
|
Pe.validateToken = l3;
|
|
5070
5070
|
var u3 = function(e) {
|
|
@@ -5105,14 +5105,14 @@ var m3 = function() {
|
|
|
5105
5105
|
return { token: t, expiryTime: e, userId: n, usergroupId: r };
|
|
5106
5106
|
};
|
|
5107
5107
|
Pe.getStoredAuthData = m3;
|
|
5108
|
-
var
|
|
5108
|
+
var R1 = function() {
|
|
5109
5109
|
var e = (0, Bt.getItemFromStorage)("hiverAuthTokenExpiry") || "";
|
|
5110
5110
|
if (!e)
|
|
5111
5111
|
return !0;
|
|
5112
5112
|
var t = pl(), n = new Date(e), r = 4 * 60 * 1e3, o = n.getTime() - t.getTime() < r;
|
|
5113
5113
|
return console.log({ currentTime: t, expiry: n, isInExpiryWindow: o }), o;
|
|
5114
5114
|
};
|
|
5115
|
-
Pe.isTokenInExpiryWindow =
|
|
5115
|
+
Pe.isTokenInExpiryWindow = R1;
|
|
5116
5116
|
var b3 = function(e) {
|
|
5117
5117
|
return a3(void 0, void 0, void 0, function() {
|
|
5118
5118
|
return c3(this, function(t) {
|
|
@@ -5154,10 +5154,10 @@ var y3 = function() {
|
|
|
5154
5154
|
}
|
|
5155
5155
|
};
|
|
5156
5156
|
Pe.getRefreshInterval = y3;
|
|
5157
|
-
var Bo = {}, tn = {},
|
|
5158
|
-
function
|
|
5159
|
-
if (
|
|
5160
|
-
|
|
5157
|
+
var Bo = {}, tn = {}, Su;
|
|
5158
|
+
function F1() {
|
|
5159
|
+
if (Su) return tn;
|
|
5160
|
+
Su = 1;
|
|
5161
5161
|
var e = ye && ye.__awaiter || function(b, f, h, p) {
|
|
5162
5162
|
function v(y) {
|
|
5163
5163
|
return y instanceof h ? y : new h(function(E) {
|
|
@@ -5245,7 +5245,7 @@ function R1() {
|
|
|
5245
5245
|
}
|
|
5246
5246
|
};
|
|
5247
5247
|
Object.defineProperty(tn, "__esModule", { value: !0 }), tn.logoutFromHeimdall = tn.getTenantLoginCode = tn.getLoginToken = tn.getAccessToken = void 0;
|
|
5248
|
-
var n = or, r =
|
|
5248
|
+
var n = or, r = N1(), o = Pe, i = function(b, f, h, p) {
|
|
5249
5249
|
var v = (0, o.getStoredAuthData)(), y = h === n.TENANT_PLATFORM.HIVERWEB ? n.TENANT_PLATFORM.HIVERWEB : n.TENANT_PLATFORM.GMAIL;
|
|
5250
5250
|
return {
|
|
5251
5251
|
root_url: b.heimdallUrl,
|
|
@@ -5479,9 +5479,9 @@ var Gs = {}, C3 = ye && ye.__awaiter || function(e, t, n, r) {
|
|
|
5479
5479
|
};
|
|
5480
5480
|
Object.defineProperty(Gs, "__esModule", { value: !0 });
|
|
5481
5481
|
Gs.subscribeToOnlineEvent = void 0;
|
|
5482
|
-
var
|
|
5482
|
+
var Lu = or, E3 = In, I3 = function(e, t) {
|
|
5483
5483
|
switch (t === void 0 && (t = (0, E3.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
|
|
5484
|
-
case
|
|
5484
|
+
case Lu.PLATFORM.WEB:
|
|
5485
5485
|
return window.addEventListener("online", function() {
|
|
5486
5486
|
return C3(void 0, void 0, void 0, function() {
|
|
5487
5487
|
return x3(this, function(n) {
|
|
@@ -5494,7 +5494,7 @@ var Su = or, E3 = In, I3 = function(e, t) {
|
|
|
5494
5494
|
});
|
|
5495
5495
|
});
|
|
5496
5496
|
});
|
|
5497
|
-
case
|
|
5497
|
+
case Lu.PLATFORM.MOBILE:
|
|
5498
5498
|
e();
|
|
5499
5499
|
return;
|
|
5500
5500
|
default:
|
|
@@ -5502,10 +5502,10 @@ var Su = or, E3 = In, I3 = function(e, t) {
|
|
|
5502
5502
|
}
|
|
5503
5503
|
};
|
|
5504
5504
|
Gs.subscribeToOnlineEvent = I3;
|
|
5505
|
-
var
|
|
5506
|
-
function
|
|
5507
|
-
if (
|
|
5508
|
-
|
|
5505
|
+
var Ou;
|
|
5506
|
+
function D1() {
|
|
5507
|
+
if (Ou) return Bo;
|
|
5508
|
+
Ou = 1;
|
|
5509
5509
|
var e = ye && ye.__awaiter || function(b, f, h, p) {
|
|
5510
5510
|
function v(y) {
|
|
5511
5511
|
return y instanceof h ? y : new h(function(E) {
|
|
@@ -5593,7 +5593,7 @@ function F1() {
|
|
|
5593
5593
|
}
|
|
5594
5594
|
};
|
|
5595
5595
|
Object.defineProperty(Bo, "__esModule", { value: !0 }), Bo.fetchAccessToken = void 0;
|
|
5596
|
-
var n =
|
|
5596
|
+
var n = F1(), r = or, o = Pe, i = Gs, s, a, c, l = function(b, f, h, p, v, y) {
|
|
5597
5597
|
return y === void 0 && (y = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
|
|
5598
5598
|
var E, x, I, _, w, T, R, F, D;
|
|
5599
5599
|
return t(this, function(N) {
|
|
@@ -5738,10 +5738,10 @@ function F1() {
|
|
|
5738
5738
|
};
|
|
5739
5739
|
return Bo.fetchAccessToken = C, Bo;
|
|
5740
5740
|
}
|
|
5741
|
-
var
|
|
5742
|
-
function
|
|
5743
|
-
if (
|
|
5744
|
-
|
|
5741
|
+
var Ru;
|
|
5742
|
+
function N1() {
|
|
5743
|
+
if (Ru) return gr;
|
|
5744
|
+
Ru = 1;
|
|
5745
5745
|
var e = ye && ye.__assign || function() {
|
|
5746
5746
|
return e = Object.assign || function(f) {
|
|
5747
5747
|
for (var h, p = 1, v = arguments.length; p < v; p++) {
|
|
@@ -5837,7 +5837,7 @@ function D1() {
|
|
|
5837
5837
|
}
|
|
5838
5838
|
};
|
|
5839
5839
|
Object.defineProperty(gr, "__esModule", { value: !0 }), gr.hiverAxiosCall = gr.performAxiosCall = void 0;
|
|
5840
|
-
var r =
|
|
5840
|
+
var r = O1, o = Pe, i = D1(), s = En, a = or, c, l = 2, d = function(f, h) {
|
|
5841
5841
|
var p = h.fetchCsrfToken();
|
|
5842
5842
|
f.formData ? f.formData.append("_csrf_token", p) : (f.data = f.data || {}, f.data._csrf_token = p);
|
|
5843
5843
|
}, g = function(f, h) {
|
|
@@ -6090,7 +6090,7 @@ var O3 = ye && ye.__awaiter || function(e, t, n, r) {
|
|
|
6090
6090
|
};
|
|
6091
6091
|
Object.defineProperty(ze, "__esModule", { value: !0 });
|
|
6092
6092
|
ze.expireToken = ze.validateToken = ze.validateAccount = ze.getConfig = ze.introduceDelay = ze.isTokenInExpiryWindow = ze.getStoredAuthData = ze.setUserDetails = ze.setTokenAndExpiry = ze.getRandomDelay = ze.hasValidToken = void 0;
|
|
6093
|
-
var va = Qe, mr = Ft,
|
|
6093
|
+
var va = Qe, mr = Ft, k1 = function() {
|
|
6094
6094
|
var e = /* @__PURE__ */ new Date(), t = new Date(e.getTime() + e.getTimezoneOffset() * 6e4);
|
|
6095
6095
|
return t;
|
|
6096
6096
|
}, ml = function(e) {
|
|
@@ -6100,7 +6100,7 @@ var va = Qe, mr = Ft, N1 = function() {
|
|
|
6100
6100
|
ze.validateAccount = ml;
|
|
6101
6101
|
var F3 = function(e) {
|
|
6102
6102
|
var t = ml(e);
|
|
6103
|
-
return !
|
|
6103
|
+
return !M1() && t;
|
|
6104
6104
|
};
|
|
6105
6105
|
ze.validateToken = F3;
|
|
6106
6106
|
var D3 = function() {
|
|
@@ -6113,7 +6113,7 @@ var D3 = function() {
|
|
|
6113
6113
|
ze.expireToken = D3;
|
|
6114
6114
|
var N3 = function(e) {
|
|
6115
6115
|
console.log("Heimdall: checking if there is a valid token");
|
|
6116
|
-
var t = sessionStorage.getItem("hiverAuthTokenExpiry") || "", n = new Date(t), r =
|
|
6116
|
+
var t = sessionStorage.getItem("hiverAuthTokenExpiry") || "", n = new Date(t), r = k1(), o = ml(e);
|
|
6117
6117
|
return r < n && o;
|
|
6118
6118
|
};
|
|
6119
6119
|
ze.hasValidToken = N3;
|
|
@@ -6138,14 +6138,14 @@ var j3 = function() {
|
|
|
6138
6138
|
return { token: t, expiryTime: e, userId: n, usergroupId: r };
|
|
6139
6139
|
};
|
|
6140
6140
|
ze.getStoredAuthData = j3;
|
|
6141
|
-
var
|
|
6141
|
+
var M1 = function() {
|
|
6142
6142
|
var e = sessionStorage.getItem("hiverAuthTokenExpiry") || "";
|
|
6143
6143
|
if (!e)
|
|
6144
6144
|
return !0;
|
|
6145
|
-
var t =
|
|
6145
|
+
var t = k1(), n = new Date(e), r = 4 * 60 * 1e3, o = n.getTime() - t.getTime() < r;
|
|
6146
6146
|
return console.log({ currentTime: t, expiry: n, isInExpiryWindow: o }), o;
|
|
6147
6147
|
};
|
|
6148
|
-
ze.isTokenInExpiryWindow =
|
|
6148
|
+
ze.isTokenInExpiryWindow = M1;
|
|
6149
6149
|
var B3 = function(e) {
|
|
6150
6150
|
return O3(void 0, void 0, void 0, function() {
|
|
6151
6151
|
return R3(this, function(t) {
|
|
@@ -6173,10 +6173,10 @@ var V3 = function(e, t, n) {
|
|
|
6173
6173
|
}
|
|
6174
6174
|
};
|
|
6175
6175
|
ze.getConfig = V3;
|
|
6176
|
-
var Go = {}, On = {},
|
|
6176
|
+
var Go = {}, On = {}, Fu;
|
|
6177
6177
|
function G3() {
|
|
6178
|
-
if (
|
|
6179
|
-
|
|
6178
|
+
if (Fu) return On;
|
|
6179
|
+
Fu = 1;
|
|
6180
6180
|
var e = ye && ye.__awaiter || function(m, C, b, f) {
|
|
6181
6181
|
function h(p) {
|
|
6182
6182
|
return p instanceof b ? p : new b(function(v) {
|
|
@@ -6264,7 +6264,7 @@ function G3() {
|
|
|
6264
6264
|
}
|
|
6265
6265
|
};
|
|
6266
6266
|
Object.defineProperty(On, "__esModule", { value: !0 }), On.getV2LoginCode = On.getLoginToken = On.getAccessToken = void 0;
|
|
6267
|
-
var n = Qe, r =
|
|
6267
|
+
var n = Qe, r = j1(), o = ze, i = function(m, C, b) {
|
|
6268
6268
|
var f = (0, o.getStoredAuthData)();
|
|
6269
6269
|
return {
|
|
6270
6270
|
root_url: m.heimdallUrl,
|
|
@@ -6370,10 +6370,10 @@ function G3() {
|
|
|
6370
6370
|
};
|
|
6371
6371
|
return On.getV2LoginCode = g, On;
|
|
6372
6372
|
}
|
|
6373
|
-
var
|
|
6374
|
-
function
|
|
6375
|
-
if (
|
|
6376
|
-
|
|
6373
|
+
var Du;
|
|
6374
|
+
function P1() {
|
|
6375
|
+
if (Du) return Go;
|
|
6376
|
+
Du = 1;
|
|
6377
6377
|
var e = ye && ye.__awaiter || function(C, b, f, h) {
|
|
6378
6378
|
function p(v) {
|
|
6379
6379
|
return v instanceof f ? v : new f(function(y) {
|
|
@@ -6600,10 +6600,10 @@ function M1() {
|
|
|
6600
6600
|
};
|
|
6601
6601
|
return Go.fetchToken = m, Go;
|
|
6602
6602
|
}
|
|
6603
|
-
var
|
|
6604
|
-
function
|
|
6605
|
-
if (
|
|
6606
|
-
|
|
6603
|
+
var Nu;
|
|
6604
|
+
function j1() {
|
|
6605
|
+
if (Nu) return Vo;
|
|
6606
|
+
Nu = 1;
|
|
6607
6607
|
var e = ye && ye.__assign || function() {
|
|
6608
6608
|
return e = Object.assign || function(m) {
|
|
6609
6609
|
for (var C, b = 1, f = arguments.length; b < f; b++) {
|
|
@@ -6699,7 +6699,7 @@ function P1() {
|
|
|
6699
6699
|
}
|
|
6700
6700
|
};
|
|
6701
6701
|
Object.defineProperty(Vo, "__esModule", { value: !0 }), Vo.makeAxiosCall = void 0;
|
|
6702
|
-
var r =
|
|
6702
|
+
var r = O1, o = ze, i = P1(), s, a = 2, c = function(m, C) {
|
|
6703
6703
|
var b = C.fetchCsrfToken();
|
|
6704
6704
|
m.formData ? m.formData.append("_csrf_token", b) : (m.data = m.data || {}, m.data._csrf_token = b);
|
|
6705
6705
|
}, l = function(m) {
|
|
@@ -6840,17 +6840,17 @@ function P1() {
|
|
|
6840
6840
|
}
|
|
6841
6841
|
};
|
|
6842
6842
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.DEFAULT_INIT_CONFIG_HIVER = e.TENANT_PLATFORM = e.fetchToken = e.makeAxiosCall = e.Bifrost = void 0;
|
|
6843
|
-
var r =
|
|
6843
|
+
var r = N1(), o = D1(), i = or;
|
|
6844
6844
|
Object.defineProperty(e, "TENANT_PLATFORM", { enumerable: !0, get: function() {
|
|
6845
6845
|
return i.TENANT_PLATFORM;
|
|
6846
6846
|
} }), Object.defineProperty(e, "DEFAULT_INIT_CONFIG_HIVER", { enumerable: !0, get: function() {
|
|
6847
6847
|
return i.DEFAULT_INIT_CONFIG_HIVER;
|
|
6848
6848
|
} });
|
|
6849
|
-
var s =
|
|
6849
|
+
var s = F1(), a = Pe, c = En, l = j1();
|
|
6850
6850
|
Object.defineProperty(e, "makeAxiosCall", { enumerable: !0, get: function() {
|
|
6851
6851
|
return l.makeAxiosCall;
|
|
6852
6852
|
} });
|
|
6853
|
-
var d =
|
|
6853
|
+
var d = P1();
|
|
6854
6854
|
Object.defineProperty(e, "fetchToken", { enumerable: !0, get: function() {
|
|
6855
6855
|
return d.fetchToken;
|
|
6856
6856
|
} });
|
|
@@ -6989,7 +6989,7 @@ const nn = {
|
|
|
6989
6989
|
isHiverApiDomain: !0
|
|
6990
6990
|
},
|
|
6991
6991
|
withCredentials: !0
|
|
6992
|
-
}), W3 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ A.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), Z3 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ A.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__ */ A.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), U3 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ A.createElement("rect", { width: 24, height: 24, fill: "white" })))), X3 = "Rate your experience with Hiver Apps", $3 = "Share feedback on Apps", z3 = "Got any feedback?",
|
|
6992
|
+
}), W3 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ A.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), Z3 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ A.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__ */ A.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), U3 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ A.createElement("rect", { width: 24, height: 24, fill: "white" })))), X3 = "Rate your experience with Hiver Apps", $3 = "Share feedback on Apps", z3 = "Got any feedback?", B1 = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", Y3 = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", J3 = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", q3 = "enable_connectors_clicked", Q3 = "learn_more_clicked", K3 = "connector_card_expand_clicked", e5 = "connector_card_collapsed_clicked", t5 = "connector_card_refresh_clicked", n5 = "connector_cards_loaded", r5 = "connector_whats_new_card_viewed", o5 = "connector_whats_new_explore_now_clicked", i5 = "connector_whats_new_learn_more_clicked", s5 = "connector_whats_new_dismissed", a5 = "connector_create_new_object_clicked", c5 = "connector_link_new_object_clicked", l5 = "connector_new_object_created_by_form", u5 = "connector_new_object_linked_by_form", d5 = "connector_object_unlinked_by_form", f5 = "connector_link_preview_clicked", h5 = "connector_create_panel_cancel_clicked", p5 = "connector_create_panel_back_clicked", g5 = "card_loaded_on_click", m5 = "card_loaded", b5 = "schedule_call_clicked", v5 = "schedule_call_cross_clicked", V1 = "CONNECTOR_EDIT_CLICKED", y5 = "CONNECTOR_EDIT_REQUEST_SEND", C5 = "CONNECTOR_EDIT_CANCELLED", x5 = "CONNECTOR_EDIT_BACK_CLICKED", E5 = "CONNECTOR_EDIT_SUCCESS", I5 = "connector_video_clicked", w5 = "connector_card_error", wc = "got_any_feedback_clicked", _5 = "connector_deeplink_clicked", A5 = "search_bar_tapped", T5 = "search_suggestions_selected", S5 = "search_initiated", L5 = "no_results_found", O5 = "search_results_found", R5 = "search_result_selected", F5 = "search_result_linked", D5 = "feedback_closed_clicked", N5 = "help_btn_clicked", k5 = "connector_chat_support_clicked", M5 = "add_custom_field_clicked", P5 = "add_custom_field_success", j5 = "update_custom_field_success", ku = "clicked_on_lookup_config", B5 = "clicked_on_lookup_field", V5 = "saved_lookup_config", G5 = {
|
|
6993
6993
|
userEmail: "",
|
|
6994
6994
|
email: "",
|
|
6995
6995
|
baseUrls: {},
|
|
@@ -7005,20 +7005,20 @@ const nn = {
|
|
|
7005
7005
|
stackingContext: {}
|
|
7006
7006
|
}, Je = Jc(G5), Xi = "hiver_connectors", _c = {
|
|
7007
7007
|
NOT_FOUND: 404
|
|
7008
|
-
}, H5 = "ftr-connector-blue-dot",
|
|
7008
|
+
}, H5 = "ftr-connector-blue-dot", G1 = "ftr-connectors-write-flow", W5 = "ftr-connectors-enhancements", Z5 = "ftr-connector-schedule-call-agent", U5 = "ftr-connectors-edit", X5 = "enableAllConnectorFtr", $5 = "ftr-cards-open-state", z5 = "ftr-connectors-global-search", Y5 = "ftr-connectors-smart-suggestions", J5 = "ftr-connectors-email-selection", q5 = "ftr-connector-agent-feedback", Hs = "ftr-connector-unified-view", Q5 = "ftr-connectors-expanded-form", Mu = "ftr-apps-lookup-revamp", K5 = "ftr-ci-configurable-fields", Pu = "Please refresh and try again", e4 = "No data available", $i = "-", H1 = "Refresh", W1 = "Minimize", bl = "Expand", Z1 = "Connectors", vl = "Apps", t4 = "Collapse", n4 = "Close", U1 = "Link", r4 = "Create", o4 = "Update", X1 = "Unlink", $1 = "Edit", yl = "Cancel", Cl = "Create new object", z1 = "Link existing object", i4 = "Are you sure you want to unlink this object?", s4 = "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.", a4 = "Edit card", c4 = "bullet_list", l4 = "Expanded", u4 = "Collapsed", Y1 = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", J1 = "UNKNOWN_ERROR", d4 = "https://help.hiverhq.com/custom-connectors/common-connector-errors", ju = {
|
|
7009
7009
|
MAIN_BUTTON: "main_button",
|
|
7010
7010
|
ICON: "create_icon"
|
|
7011
|
-
}, f4 = " Add custom field",
|
|
7011
|
+
}, f4 = " Add custom field", xl = (e) => {
|
|
7012
7012
|
let t = localStorage.getItem(Xi);
|
|
7013
7013
|
return t = t ? JSON.parse(t) : !1, t == null ? void 0 : t[e];
|
|
7014
|
-
}, h4 = (e) => !!
|
|
7014
|
+
}, h4 = (e) => !!xl(e), q1 = () => {
|
|
7015
7015
|
const { userId: e = "" } = _n() || {};
|
|
7016
7016
|
return String(e);
|
|
7017
7017
|
}, p4 = (e, t = q1()) => {
|
|
7018
|
-
const n =
|
|
7018
|
+
const n = xl(e);
|
|
7019
7019
|
return ((n == null ? void 0 : n.isExtensionNew) ?? []).includes(t);
|
|
7020
7020
|
}, ya = (e, t = !1, n = !1) => {
|
|
7021
|
-
const r = q1(), o =
|
|
7021
|
+
const r = q1(), o = xl(e);
|
|
7022
7022
|
if (t || !o) {
|
|
7023
7023
|
localStorage.removeItem(Xi);
|
|
7024
7024
|
const i = {
|
|
@@ -7040,7 +7040,7 @@ const nn = {
|
|
|
7040
7040
|
localStorage.setItem(Xi, JSON.stringify(a));
|
|
7041
7041
|
return;
|
|
7042
7042
|
}
|
|
7043
|
-
}, ft = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[X5]) === !0 : (e == null ? void 0 : e[t]) === !0, _t = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""),
|
|
7043
|
+
}, ft = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[X5]) === !0 : (e == null ? void 0 : e[t]) === !0, _t = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), Bu = (e, t, n, r = !1) => {
|
|
7044
7044
|
var i;
|
|
7045
7045
|
const o = {};
|
|
7046
7046
|
return o.card_title = t, o.card_state = n ? l4 : u4, r && e ? (o.data_state = e == null ? void 0 : e.status, o.connector_names = (i = e == null ? void 0 : e.data) == null ? void 0 : i.connectorNames) : e && (o.data_state = (e == null ? void 0 : e.status) || "unknown_error"), o;
|
|
@@ -7078,7 +7078,7 @@ const nn = {
|
|
|
7078
7078
|
r.searchParams.set(o, i);
|
|
7079
7079
|
}), r.toString();
|
|
7080
7080
|
};
|
|
7081
|
-
function
|
|
7081
|
+
function Vu(e, t) {
|
|
7082
7082
|
return e.length > t ? e.substring(0, t) + "..." : e;
|
|
7083
7083
|
}
|
|
7084
7084
|
const m4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1187_180)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1187_180" }, /* @__PURE__ */ A.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0 0.120117)" })))), b4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 21, height: 20, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_847_49587)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_847_49587" }, /* @__PURE__ */ A.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0.666992)" })))), v4 = Qc`
|
|
@@ -7243,7 +7243,7 @@ const m4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7243
7243
|
}) });
|
|
7244
7244
|
}, T4 = ({ connectors: e, expanded: t = !1 }) => {
|
|
7245
7245
|
const { currentSmIds: n, sendTrackingEvent: r, userEmail: o } = Oe(Je), { userGroupId: i, userId: s } = _n() || {}, a = Ac({
|
|
7246
|
-
url:
|
|
7246
|
+
url: B1,
|
|
7247
7247
|
params: {
|
|
7248
7248
|
email: o,
|
|
7249
7249
|
user_id: s,
|
|
@@ -7253,7 +7253,7 @@ const m4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7253
7253
|
source: "collapsed_feedback_btn"
|
|
7254
7254
|
}
|
|
7255
7255
|
}), [c, l] = U(t), [d, g] = U(!1), [m, C] = U(0), b = () => {
|
|
7256
|
-
r(wc, {
|
|
7256
|
+
window.open(a, "_blank", "noopener,noreferrer"), r(wc, {
|
|
7257
7257
|
sm_ids: n,
|
|
7258
7258
|
ug_id: i,
|
|
7259
7259
|
connector_names: e,
|
|
@@ -7308,23 +7308,12 @@ const m4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7308
7308
|
]
|
|
7309
7309
|
}
|
|
7310
7310
|
),
|
|
7311
|
-
/* @__PURE__ */ u.jsx(C4, { className: d || !c ? "fade-in" : "", children: /* @__PURE__ */ u.jsxs(
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
variant: "outlined",
|
|
7316
|
-
color: "tertiary",
|
|
7317
|
-
href: a,
|
|
7318
|
-
target: "_blank",
|
|
7319
|
-
onClick: b,
|
|
7320
|
-
children: [
|
|
7321
|
-
/* @__PURE__ */ u.jsx(W3, {}),
|
|
7322
|
-
$3
|
|
7323
|
-
]
|
|
7324
|
-
}
|
|
7325
|
-
) })
|
|
7311
|
+
/* @__PURE__ */ u.jsx(C4, { className: d || !c ? "fade-in" : "", children: /* @__PURE__ */ u.jsxs(Ze, { size: "small", variant: "outlined", color: "tertiary", onClick: b, children: [
|
|
7312
|
+
/* @__PURE__ */ u.jsx(W3, {}),
|
|
7313
|
+
$3
|
|
7314
|
+
] }) })
|
|
7326
7315
|
] });
|
|
7327
|
-
}, S4 = "Need setup help?", L4 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", O4 = "Schedule call", R4 = "https://calendar.app.google/V2cJcwKMV4ax9rpk9",
|
|
7316
|
+
}, S4 = "Need setup help?", L4 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", O4 = "Schedule call", R4 = "https://calendar.app.google/V2cJcwKMV4ax9rpk9", Gu = "agent_panel", Ca = "hiver_schedule_call_close_button_click", F4 = O(B)`
|
|
7328
7317
|
padding: 12px;
|
|
7329
7318
|
width: 250px;
|
|
7330
7319
|
min-height: 151px;
|
|
@@ -7368,11 +7357,11 @@ const m4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7368
7357
|
}, []);
|
|
7369
7358
|
const i = () => {
|
|
7370
7359
|
localStorage.setItem(Ca, "true"), o(!1), t(v5, {
|
|
7371
|
-
source:
|
|
7360
|
+
source: Gu
|
|
7372
7361
|
});
|
|
7373
7362
|
}, s = () => {
|
|
7374
7363
|
window.open(R4, "_blank"), t(b5, {
|
|
7375
|
-
source:
|
|
7364
|
+
source: Gu
|
|
7376
7365
|
});
|
|
7377
7366
|
};
|
|
7378
7367
|
return !r || !n ? null : /* @__PURE__ */ u.jsxs(F4, { justifyContent: "space-between", alignItems: "baseline", gap: "16px", children: [
|
|
@@ -7388,7 +7377,7 @@ const m4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7388
7377
|
O4
|
|
7389
7378
|
] }) })
|
|
7390
7379
|
] });
|
|
7391
|
-
}, V4 = "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", K1 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.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__ */ A.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__ */ A.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" })), G4 = "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", H4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ A.createElement("rect", { width: 18, height: 18, fill: "white" })))), W4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ A.createElement("rect", { width: 18, height: 18, fill: "white" })))), Z4 = "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", U4 = ({ options: e, anchor: t, open: n, onClose: r }) => /* @__PURE__ */ u.jsx(Bh, { id: "help-dropdown", open: n, onClose: r, anchorEl: t, children: e.map((o) => /* @__PURE__ */ u.jsxs(S0, { onClick: o.onClick, children: [
|
|
7380
|
+
}, V4 = "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", K1 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.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__ */ A.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__ */ A.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" })), G4 = "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", H4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ A.createElement("rect", { width: 18, height: 18, fill: "white" })))), W4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ A.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__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ A.createElement("rect", { width: 18, height: 18, fill: "white" })))), Z4 = "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", U4 = ({ options: e, anchor: t, open: n, onClose: r }) => /* @__PURE__ */ u.jsx(Bh, { id: "help-dropdown", open: n, onClose: r, anchorEl: t, children: e.map((o) => /* @__PURE__ */ u.jsxs(L0, { onClick: o.onClick, children: [
|
|
7392
7381
|
/* @__PURE__ */ u.jsx(Vh, { children: o.icon }),
|
|
7393
7382
|
o.label
|
|
7394
7383
|
] }, o.id)) }), ef = "connector-header-stuck", X4 = O(B)`
|
|
@@ -7411,16 +7400,12 @@ const m4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7411
7400
|
`, $4 = O(B)`
|
|
7412
7401
|
width: 0;
|
|
7413
7402
|
height: 0;
|
|
7414
|
-
`, tf = O(
|
|
7403
|
+
`, tf = O(O0.Connector)`
|
|
7415
7404
|
width: 20px;
|
|
7416
7405
|
height: 20px;
|
|
7417
7406
|
`, nf = O(ee)`
|
|
7418
|
-
font-size: 14px;
|
|
7419
|
-
font-weight: 400;
|
|
7420
|
-
line-height: 20px;
|
|
7421
|
-
letter-spacing: 0.1px;
|
|
7422
7407
|
text-align: left;
|
|
7423
|
-
color:
|
|
7408
|
+
color: ${Z.palette.gray.black};
|
|
7424
7409
|
`, rf = O(Gh)`
|
|
7425
7410
|
position: relative;
|
|
7426
7411
|
width: 100%;
|
|
@@ -7528,7 +7513,7 @@ const Y4 = O(ie)`
|
|
|
7528
7513
|
text-overflow: ellipsis;
|
|
7529
7514
|
-webkit-line-clamp: 3;
|
|
7530
7515
|
color: ${Z.palette.gray.gray1};
|
|
7531
|
-
`,
|
|
7516
|
+
`, El = O(ie)`
|
|
7532
7517
|
position: relative;
|
|
7533
7518
|
top: 1px;
|
|
7534
7519
|
content: '';
|
|
@@ -7625,7 +7610,7 @@ const Y4 = O(ie)`
|
|
|
7625
7610
|
&:nth-last-child(2) {
|
|
7626
7611
|
border-radius: 0px 5px 0px 0px;
|
|
7627
7612
|
}
|
|
7628
|
-
`, ab = O(
|
|
7613
|
+
`, ab = O(R0)`
|
|
7629
7614
|
.row-edit {
|
|
7630
7615
|
visibility: hidden;
|
|
7631
7616
|
}
|
|
@@ -7668,7 +7653,6 @@ const Y4 = O(ie)`
|
|
|
7668
7653
|
transform: rotate(${(e) => e.transformAngle}deg);
|
|
7669
7654
|
`, fb = O(ee)`
|
|
7670
7655
|
display: flex;
|
|
7671
|
-
font-size: 12px;
|
|
7672
7656
|
color: ${Z.palette.blue.primary};
|
|
7673
7657
|
justify-content: flex-end;
|
|
7674
7658
|
align-items: center;
|
|
@@ -7767,7 +7751,7 @@ const Y4 = O(ie)`
|
|
|
7767
7751
|
onClick: () => {
|
|
7768
7752
|
d(null);
|
|
7769
7753
|
const I = Ac({
|
|
7770
|
-
url:
|
|
7754
|
+
url: B1,
|
|
7771
7755
|
params: {
|
|
7772
7756
|
email: f,
|
|
7773
7757
|
user_id: p,
|
|
@@ -7835,13 +7819,13 @@ const Y4 = O(ie)`
|
|
|
7835
7819
|
/* @__PURE__ */ u.jsxs(X4, { ref: a, children: [
|
|
7836
7820
|
/* @__PURE__ */ u.jsxs(B, { direction: "row", alignItems: "center", gap: "8px", children: [
|
|
7837
7821
|
v ? /* @__PURE__ */ u.jsx(K1, { width: "20px", height: "20px" }) : /* @__PURE__ */ u.jsx(tf, {}),
|
|
7838
|
-
/* @__PURE__ */ u.jsx(nf, { variant: "
|
|
7822
|
+
/* @__PURE__ */ u.jsx(nf, { variant: "body_sm_medium", children: v ? vl : Z1 })
|
|
7839
7823
|
] }),
|
|
7840
7824
|
/* @__PURE__ */ u.jsxs(B, { direction: "row", children: [
|
|
7841
7825
|
/* @__PURE__ */ u.jsx(_e, { title: z3, placement: "bottom", children: /* @__PURE__ */ u.jsx(ut, { onClick: x, id: "help-button", sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ u.jsx("img", { src: G4, alt: "Help", height: "20px" }) }) }),
|
|
7842
7826
|
t && (o != null && o.length) ? /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
7843
7827
|
r ? /* @__PURE__ */ u.jsx(_e, { title: z1, placement: "bottom", children: /* @__PURE__ */ u.jsx(ut, { onClick: s, sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ u.jsx("img", { src: Z4, alt: "Link Task", height: "20px" }) }) }) : null,
|
|
7844
|
-
n ? /* @__PURE__ */ u.jsx(_e, { title:
|
|
7828
|
+
n ? /* @__PURE__ */ u.jsx(_e, { title: Cl, placement: "bottom", children: /* @__PURE__ */ u.jsx(ut, { onClick: i, sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ u.jsx("img", { src: V4, alt: "Add", height: "20px" }) }) }) : null
|
|
7845
7829
|
] }) : null
|
|
7846
7830
|
] })
|
|
7847
7831
|
] })
|
|
@@ -7857,10 +7841,10 @@ var Tc = { exports: {} }, xa = {};
|
|
|
7857
7841
|
* This source code is licensed under the MIT license found in the
|
|
7858
7842
|
* LICENSE file in the root directory of this source tree.
|
|
7859
7843
|
*/
|
|
7860
|
-
var
|
|
7844
|
+
var Hu;
|
|
7861
7845
|
function Tb() {
|
|
7862
|
-
if (
|
|
7863
|
-
|
|
7846
|
+
if (Hu) return xa;
|
|
7847
|
+
Hu = 1;
|
|
7864
7848
|
var e = Ae;
|
|
7865
7849
|
function t(c, l) {
|
|
7866
7850
|
return c === l && (c !== 0 || 1 / c === 1 / l) || c !== c && l !== l;
|
|
@@ -7908,9 +7892,9 @@ var Ea = {};
|
|
|
7908
7892
|
* This source code is licensed under the MIT license found in the
|
|
7909
7893
|
* LICENSE file in the root directory of this source tree.
|
|
7910
7894
|
*/
|
|
7911
|
-
var
|
|
7895
|
+
var Wu;
|
|
7912
7896
|
function Sb() {
|
|
7913
|
-
return
|
|
7897
|
+
return Wu || (Wu = 1, process.env.NODE_ENV !== "production" && function() {
|
|
7914
7898
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
7915
7899
|
var e = Ae;
|
|
7916
7900
|
function t(l, d) {
|
|
@@ -7959,14 +7943,14 @@ var Lb = Tc.exports, Vt = (
|
|
|
7959
7943
|
// prettier-ignore
|
|
7960
7944
|
// @ts-ignore
|
|
7961
7945
|
"default" in A ? A.default : A
|
|
7962
|
-
),
|
|
7946
|
+
), Zu = Symbol.for("react-redux-context"), Uu = typeof globalThis < "u" ? globalThis : (
|
|
7963
7947
|
/* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
|
|
7964
7948
|
{}
|
|
7965
7949
|
);
|
|
7966
7950
|
function Ob() {
|
|
7967
7951
|
if (!Vt.createContext)
|
|
7968
7952
|
return {};
|
|
7969
|
-
const e = Zu
|
|
7953
|
+
const e = Uu[Zu] ?? (Uu[Zu] = /* @__PURE__ */ new Map());
|
|
7970
7954
|
let t = e.get(Vt.createContext);
|
|
7971
7955
|
return t || (t = Vt.createContext(
|
|
7972
7956
|
null
|
|
@@ -7975,7 +7959,7 @@ function Ob() {
|
|
|
7975
7959
|
var nr = /* @__PURE__ */ Ob(), Rb = () => {
|
|
7976
7960
|
throw new Error("uSES not initialized!");
|
|
7977
7961
|
};
|
|
7978
|
-
function
|
|
7962
|
+
function Il(e = nr) {
|
|
7979
7963
|
return function() {
|
|
7980
7964
|
const n = Vt.useContext(e);
|
|
7981
7965
|
if (process.env.NODE_ENV !== "production" && !n)
|
|
@@ -7985,11 +7969,11 @@ function El(e = nr) {
|
|
|
7985
7969
|
return n;
|
|
7986
7970
|
};
|
|
7987
7971
|
}
|
|
7988
|
-
var cf = /* @__PURE__ */
|
|
7972
|
+
var cf = /* @__PURE__ */ Il(), lf = Rb, Fb = (e) => {
|
|
7989
7973
|
lf = e;
|
|
7990
7974
|
}, Db = (e, t) => e === t;
|
|
7991
7975
|
function Nb(e = nr) {
|
|
7992
|
-
const t = e === nr ? cf :
|
|
7976
|
+
const t = e === nr ? cf : Il(e), n = (r, o = {}) => {
|
|
7993
7977
|
const { equalityFn: i = Db, devModeChecks: s = {} } = typeof o == "function" ? { equalityFn: o } : o;
|
|
7994
7978
|
if (process.env.NODE_ENV !== "production") {
|
|
7995
7979
|
if (!r)
|
|
@@ -8110,13 +8094,13 @@ function Pb() {
|
|
|
8110
8094
|
}
|
|
8111
8095
|
};
|
|
8112
8096
|
}
|
|
8113
|
-
var
|
|
8097
|
+
var Xu = {
|
|
8114
8098
|
notify() {
|
|
8115
8099
|
},
|
|
8116
8100
|
get: () => []
|
|
8117
8101
|
};
|
|
8118
8102
|
function jb(e, t) {
|
|
8119
|
-
let n, r =
|
|
8103
|
+
let n, r = Xu, o = 0, i = !1;
|
|
8120
8104
|
function s(f) {
|
|
8121
8105
|
d();
|
|
8122
8106
|
const h = r.subscribe(f);
|
|
@@ -8138,7 +8122,7 @@ function jb(e, t) {
|
|
|
8138
8122
|
o++, n || (n = e.subscribe(c), r = Pb());
|
|
8139
8123
|
}
|
|
8140
8124
|
function g() {
|
|
8141
|
-
o--, n && o === 0 && (n(), n = void 0, r.clear(), r =
|
|
8125
|
+
o--, n && o === 0 && (n(), n = void 0, r.clear(), r = Xu);
|
|
8142
8126
|
}
|
|
8143
8127
|
function m() {
|
|
8144
8128
|
i || (i = !0, d());
|
|
@@ -8185,11 +8169,11 @@ function Hb({
|
|
|
8185
8169
|
const c = t || nr;
|
|
8186
8170
|
return /* @__PURE__ */ Vt.createElement(c.Provider, { value: s }, n);
|
|
8187
8171
|
}
|
|
8188
|
-
var
|
|
8172
|
+
var wl = Hb;
|
|
8189
8173
|
function uf(e = nr) {
|
|
8190
8174
|
const t = e === nr ? cf : (
|
|
8191
8175
|
// @ts-ignore
|
|
8192
|
-
|
|
8176
|
+
Il(e)
|
|
8193
8177
|
), n = () => {
|
|
8194
8178
|
const { store: r } = t();
|
|
8195
8179
|
return r;
|
|
@@ -8217,11 +8201,11 @@ const ln = Ub.withTypes(), Le = kb.withTypes(), $e = {
|
|
|
8217
8201
|
IDLE: "idle",
|
|
8218
8202
|
LOADING: "loading",
|
|
8219
8203
|
FAILED: "failed"
|
|
8220
|
-
}, Xb = "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%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.7%209.71005L6.19497%207.20503C5.92161%206.93166%205.47839%206.93166%205.20503%207.20503C4.93166%207.47839%204.93166%207.92161%205.20503%208.19497L8.20503%2011.195C8.47839%2011.4683%208.92161%2011.4683%209.19497%2011.195L12.195%208.19497C12.4683%207.92161%2012.4683%207.47839%2012.195%207.20503C11.9216%206.93166%2011.4784%206.93166%2011.205%207.20503L8.7%209.71005Z'%20fill='%23196FE0'/%3e%3c/svg%3e",
|
|
8204
|
+
}, Xb = "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%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.7%209.71005L6.19497%207.20503C5.92161%206.93166%205.47839%206.93166%205.20503%207.20503C4.93166%207.47839%204.93166%207.92161%205.20503%208.19497L8.20503%2011.195C8.47839%2011.4683%208.92161%2011.4683%209.19497%2011.195L12.195%208.19497C12.4683%207.92161%2012.4683%207.47839%2012.195%207.20503C11.9216%206.93166%2011.4784%206.93166%2011.205%207.20503L8.7%209.71005Z'%20fill='%23196FE0'/%3e%3c/svg%3e", $u = "Show more", $b = "Show less", zb = "Show preview", Yb = "Hide preview", Jb = "Select email";
|
|
8221
8205
|
function ht(e) {
|
|
8222
8206
|
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
8223
8207
|
}
|
|
8224
|
-
var qb = typeof Symbol == "function" && Symbol.observable || "@@observable",
|
|
8208
|
+
var qb = typeof Symbol == "function" && Symbol.observable || "@@observable", zu = qb, Ia = () => Math.random().toString(36).substring(7).split("").join("."), Qb = {
|
|
8225
8209
|
INIT: `@@redux/INIT${/* @__PURE__ */ Ia()}`,
|
|
8226
8210
|
REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Ia()}`,
|
|
8227
8211
|
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Ia()}`
|
|
@@ -8363,7 +8347,7 @@ function df(e, t, n) {
|
|
|
8363
8347
|
unsubscribe: h(v)
|
|
8364
8348
|
};
|
|
8365
8349
|
},
|
|
8366
|
-
[
|
|
8350
|
+
[zu]() {
|
|
8367
8351
|
return this;
|
|
8368
8352
|
}
|
|
8369
8353
|
};
|
|
@@ -8375,10 +8359,10 @@ function df(e, t, n) {
|
|
|
8375
8359
|
subscribe: g,
|
|
8376
8360
|
getState: d,
|
|
8377
8361
|
replaceReducer: C,
|
|
8378
|
-
[
|
|
8362
|
+
[zu]: b
|
|
8379
8363
|
};
|
|
8380
8364
|
}
|
|
8381
|
-
function
|
|
8365
|
+
function Yu(e) {
|
|
8382
8366
|
typeof console < "u" && typeof console.error == "function" && console.error(e);
|
|
8383
8367
|
try {
|
|
8384
8368
|
throw new Error(e);
|
|
@@ -8414,7 +8398,7 @@ function ff(e) {
|
|
|
8414
8398
|
const t = Object.keys(e), n = {};
|
|
8415
8399
|
for (let s = 0; s < t.length; s++) {
|
|
8416
8400
|
const a = t[s];
|
|
8417
|
-
process.env.NODE_ENV !== "production" && typeof e[a] > "u" &&
|
|
8401
|
+
process.env.NODE_ENV !== "production" && typeof e[a] > "u" && Yu(`No reducer provided for key "${a}"`), typeof e[a] == "function" && (n[a] = e[a]);
|
|
8418
8402
|
}
|
|
8419
8403
|
const r = Object.keys(n);
|
|
8420
8404
|
let o;
|
|
@@ -8430,7 +8414,7 @@ function ff(e) {
|
|
|
8430
8414
|
throw i;
|
|
8431
8415
|
if (process.env.NODE_ENV !== "production") {
|
|
8432
8416
|
const g = r9(a, n, c, o);
|
|
8433
|
-
g &&
|
|
8417
|
+
g && Yu(g);
|
|
8434
8418
|
}
|
|
8435
8419
|
let l = !1;
|
|
8436
8420
|
const d = {};
|
|
@@ -8467,7 +8451,7 @@ function i9(...e) {
|
|
|
8467
8451
|
function hf(e) {
|
|
8468
8452
|
return xi(e) && "type" in e && typeof e.type == "string";
|
|
8469
8453
|
}
|
|
8470
|
-
var pf = Symbol.for("immer-nothing"),
|
|
8454
|
+
var pf = Symbol.for("immer-nothing"), Ju = Symbol.for("immer-draftable"), Zt = Symbol.for("immer-state"), s9 = process.env.NODE_ENV !== "production" ? [
|
|
8471
8455
|
// All error codes, starting by 0:
|
|
8472
8456
|
function(e) {
|
|
8473
8457
|
return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
|
|
@@ -8513,7 +8497,7 @@ function Mr(e) {
|
|
|
8513
8497
|
}
|
|
8514
8498
|
function Mn(e) {
|
|
8515
8499
|
var t;
|
|
8516
|
-
return e ? gf(e) || Array.isArray(e) || !!e[
|
|
8500
|
+
return e ? gf(e) || Array.isArray(e) || !!e[Ju] || !!((t = e.constructor) != null && t[Ju]) || Zs(e) || Us(e) : !1;
|
|
8517
8501
|
}
|
|
8518
8502
|
var a9 = Object.prototype.constructor.toString();
|
|
8519
8503
|
function gf(e) {
|
|
@@ -8584,8 +8568,8 @@ function Lc(e, t) {
|
|
|
8584
8568
|
return Object.assign(o, e);
|
|
8585
8569
|
}
|
|
8586
8570
|
}
|
|
8587
|
-
function
|
|
8588
|
-
return Xs(e) || Mr(e) || !Mn(e) || (Ws(e) > 1 && (e.set = e.add = e.clear = e.delete = l9), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) =>
|
|
8571
|
+
function _l(e, t = !1) {
|
|
8572
|
+
return Xs(e) || Mr(e) || !Mn(e) || (Ws(e) > 1 && (e.set = e.add = e.clear = e.delete = l9), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => _l(r, !0))), e;
|
|
8589
8573
|
}
|
|
8590
8574
|
function l9() {
|
|
8591
8575
|
Dt(2);
|
|
@@ -8613,7 +8597,7 @@ function d9(e, t) {
|
|
|
8613
8597
|
unfinalizedDrafts_: 0
|
|
8614
8598
|
};
|
|
8615
8599
|
}
|
|
8616
|
-
function
|
|
8600
|
+
function qu(e, t) {
|
|
8617
8601
|
t && (Pr("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
|
|
8618
8602
|
}
|
|
8619
8603
|
function Oc(e) {
|
|
@@ -8622,14 +8606,14 @@ function Oc(e) {
|
|
|
8622
8606
|
function Rc(e) {
|
|
8623
8607
|
e === ci && (ci = e.parent_);
|
|
8624
8608
|
}
|
|
8625
|
-
function
|
|
8609
|
+
function Qu(e) {
|
|
8626
8610
|
return ci = d9(ci, e);
|
|
8627
8611
|
}
|
|
8628
8612
|
function f9(e) {
|
|
8629
8613
|
const t = e[Zt];
|
|
8630
8614
|
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
|
|
8631
8615
|
}
|
|
8632
|
-
function
|
|
8616
|
+
function Ku(e, t) {
|
|
8633
8617
|
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
8634
8618
|
const n = t.drafts_[0];
|
|
8635
8619
|
return e !== void 0 && e !== n ? (n[Zt].modified_ && (Oc(t), Dt(4)), Mn(e) && (e = ms(t, e), t.parent_ || bs(t, e)), t.patches_ && Pr("Patches").generateReplacementPatches_(
|
|
@@ -8646,7 +8630,7 @@ function ms(e, t, n) {
|
|
|
8646
8630
|
if (!r)
|
|
8647
8631
|
return gs(
|
|
8648
8632
|
t,
|
|
8649
|
-
(o, i) =>
|
|
8633
|
+
(o, i) => ed(e, r, t, o, i, n)
|
|
8650
8634
|
), t;
|
|
8651
8635
|
if (r.scope_ !== e)
|
|
8652
8636
|
return t;
|
|
@@ -8658,7 +8642,7 @@ function ms(e, t, n) {
|
|
|
8658
8642
|
let i = o, s = !1;
|
|
8659
8643
|
r.type_ === 3 && (i = new Set(o), o.clear(), s = !0), gs(
|
|
8660
8644
|
i,
|
|
8661
|
-
(a, c) =>
|
|
8645
|
+
(a, c) => ed(e, r, o, a, c, n, s)
|
|
8662
8646
|
), bs(e, o, !1), n && e.patches_ && Pr("Patches").generatePatches_(
|
|
8663
8647
|
r,
|
|
8664
8648
|
n,
|
|
@@ -8668,7 +8652,7 @@ function ms(e, t, n) {
|
|
|
8668
8652
|
}
|
|
8669
8653
|
return r.copy_;
|
|
8670
8654
|
}
|
|
8671
|
-
function
|
|
8655
|
+
function ed(e, t, n, r, o, i, s) {
|
|
8672
8656
|
if (process.env.NODE_ENV !== "production" && o === n && Dt(5), Mr(o)) {
|
|
8673
8657
|
const a = i && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
|
|
8674
8658
|
!Sc(t.assigned_, r) ? i.concat(r) : void 0, c = ms(e, o, a);
|
|
@@ -8684,7 +8668,7 @@ function Ku(e, t, n, r, o, i, s) {
|
|
|
8684
8668
|
}
|
|
8685
8669
|
}
|
|
8686
8670
|
function bs(e, t, n = !1) {
|
|
8687
|
-
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ &&
|
|
8671
|
+
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && _l(t, n);
|
|
8688
8672
|
}
|
|
8689
8673
|
function h9(e, t) {
|
|
8690
8674
|
const n = Array.isArray(e), r = {
|
|
@@ -8710,12 +8694,12 @@ function h9(e, t) {
|
|
|
8710
8694
|
revoke_: null,
|
|
8711
8695
|
isManual_: !1
|
|
8712
8696
|
};
|
|
8713
|
-
let o = r, i =
|
|
8697
|
+
let o = r, i = Al;
|
|
8714
8698
|
n && (o = [r], i = li);
|
|
8715
8699
|
const { revoke: s, proxy: a } = Proxy.revocable(o, i);
|
|
8716
8700
|
return r.draft_ = a, r.revoke_ = s, a;
|
|
8717
8701
|
}
|
|
8718
|
-
var
|
|
8702
|
+
var Al = {
|
|
8719
8703
|
get(e, t) {
|
|
8720
8704
|
if (t === Zt)
|
|
8721
8705
|
return e;
|
|
@@ -8771,7 +8755,7 @@ var _l = {
|
|
|
8771
8755
|
Dt(12);
|
|
8772
8756
|
}
|
|
8773
8757
|
}, li = {};
|
|
8774
|
-
gs(
|
|
8758
|
+
gs(Al, (e, t) => {
|
|
8775
8759
|
li[e] = function() {
|
|
8776
8760
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
8777
8761
|
};
|
|
@@ -8780,7 +8764,7 @@ li.deleteProperty = function(e, t) {
|
|
|
8780
8764
|
return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Dt(13), li.set.call(this, e, t, void 0);
|
|
8781
8765
|
};
|
|
8782
8766
|
li.set = function(e, t, n) {
|
|
8783
|
-
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Dt(14),
|
|
8767
|
+
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Dt(14), Al.set.call(this, e[0], t, n, e[0]);
|
|
8784
8768
|
};
|
|
8785
8769
|
function wa(e, t) {
|
|
8786
8770
|
const n = e[Zt];
|
|
@@ -8829,16 +8813,16 @@ var g9 = class {
|
|
|
8829
8813
|
typeof n != "function" && Dt(6), r !== void 0 && typeof r != "function" && Dt(7);
|
|
8830
8814
|
let o;
|
|
8831
8815
|
if (Mn(t)) {
|
|
8832
|
-
const i =
|
|
8816
|
+
const i = Qu(this), s = Dc(t, void 0);
|
|
8833
8817
|
let a = !0;
|
|
8834
8818
|
try {
|
|
8835
8819
|
o = n(s), a = !1;
|
|
8836
8820
|
} finally {
|
|
8837
8821
|
a ? Oc(i) : Rc(i);
|
|
8838
8822
|
}
|
|
8839
|
-
return
|
|
8823
|
+
return qu(i, r), Ku(o, i);
|
|
8840
8824
|
} else if (!t || typeof t != "object") {
|
|
8841
|
-
if (o = n(t), o === void 0 && (o = t), o === pf && (o = void 0), this.autoFreeze_ &&
|
|
8825
|
+
if (o = n(t), o === void 0 && (o = t), o === pf && (o = void 0), this.autoFreeze_ && _l(o, !0), r) {
|
|
8842
8826
|
const i = [], s = [];
|
|
8843
8827
|
Pr("Patches").generateReplacementPatches_(t, o, i, s), r(i, s);
|
|
8844
8828
|
}
|
|
@@ -8856,14 +8840,14 @@ var g9 = class {
|
|
|
8856
8840
|
}
|
|
8857
8841
|
createDraft(e) {
|
|
8858
8842
|
Mn(e) || Dt(8), Mr(e) && (e = m9(e));
|
|
8859
|
-
const t =
|
|
8843
|
+
const t = Qu(this), n = Dc(e, void 0);
|
|
8860
8844
|
return n[Zt].isManual_ = !0, Rc(t), n;
|
|
8861
8845
|
}
|
|
8862
8846
|
finishDraft(e, t) {
|
|
8863
8847
|
const n = e && e[Zt];
|
|
8864
8848
|
(!n || !n.isManual_) && Dt(9);
|
|
8865
8849
|
const { scope_: r } = n;
|
|
8866
|
-
return
|
|
8850
|
+
return qu(r, t), Ku(void 0, r);
|
|
8867
8851
|
}
|
|
8868
8852
|
/**
|
|
8869
8853
|
* Pass true to automatically freeze all copies created by Immer.
|
|
@@ -9010,11 +8994,11 @@ var wf = class $o extends Array {
|
|
|
9010
8994
|
return t.length === 1 && Array.isArray(t[0]) ? new $o(...t[0].concat(this)) : new $o(...t.concat(this));
|
|
9011
8995
|
}
|
|
9012
8996
|
};
|
|
9013
|
-
function
|
|
8997
|
+
function td(e) {
|
|
9014
8998
|
return Mn(e) ? Cf(e, () => {
|
|
9015
8999
|
}) : e;
|
|
9016
9000
|
}
|
|
9017
|
-
function
|
|
9001
|
+
function nd(e, t, n) {
|
|
9018
9002
|
if (e.has(t)) {
|
|
9019
9003
|
let o = e.get(t);
|
|
9020
9004
|
return n.update && (o = n.update(o, t, e), e.set(t, o)), o;
|
|
@@ -9346,9 +9330,9 @@ function N9(e, t) {
|
|
|
9346
9330
|
throw new Error(process.env.NODE_ENV === "production" ? Xe(8) : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");
|
|
9347
9331
|
let [n, r, o] = Of(t), i;
|
|
9348
9332
|
if (D9(e))
|
|
9349
|
-
i = () =>
|
|
9333
|
+
i = () => td(e());
|
|
9350
9334
|
else {
|
|
9351
|
-
const a =
|
|
9335
|
+
const a = td(e);
|
|
9352
9336
|
i = () => a;
|
|
9353
9337
|
}
|
|
9354
9338
|
function s(a = i(), c) {
|
|
@@ -9398,7 +9382,7 @@ var P9 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", j9
|
|
|
9398
9382
|
Be(this, "_type");
|
|
9399
9383
|
this.payload = e, this.meta = t;
|
|
9400
9384
|
}
|
|
9401
|
-
},
|
|
9385
|
+
}, rd = class {
|
|
9402
9386
|
constructor(e, t) {
|
|
9403
9387
|
/*
|
|
9404
9388
|
type-only property to distinguish between RejectWithValue and FulfillWithMeta
|
|
@@ -9490,11 +9474,11 @@ var P9 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", j9
|
|
|
9490
9474
|
signal: C.signal,
|
|
9491
9475
|
abort: h,
|
|
9492
9476
|
rejectWithValue: (w, T) => new Aa(w, T),
|
|
9493
|
-
fulfillWithValue: (w, T) => new
|
|
9477
|
+
fulfillWithValue: (w, T) => new rd(w, T)
|
|
9494
9478
|
})).then((w) => {
|
|
9495
9479
|
if (w instanceof Aa)
|
|
9496
9480
|
throw w;
|
|
9497
|
-
return w instanceof
|
|
9481
|
+
return w instanceof rd ? o(w.payload, m, c, w.meta) : o(w, m, c);
|
|
9498
9482
|
})]);
|
|
9499
9483
|
} catch (I) {
|
|
9500
9484
|
v = I instanceof Aa ? s(null, m, c, I.payload, I.meta) : s(I, m, c);
|
|
@@ -9622,10 +9606,10 @@ function U9({
|
|
|
9622
9606
|
return w;
|
|
9623
9607
|
}
|
|
9624
9608
|
function I(_ = m) {
|
|
9625
|
-
const w =
|
|
9609
|
+
const w = nd(C, E, {
|
|
9626
9610
|
insert: () => /* @__PURE__ */ new WeakMap()
|
|
9627
9611
|
});
|
|
9628
|
-
return
|
|
9612
|
+
return nd(w, _, {
|
|
9629
9613
|
insert: () => {
|
|
9630
9614
|
const T = {};
|
|
9631
9615
|
for (const [R, F] of Object.entries(o.selectors ?? {}))
|
|
@@ -9680,7 +9664,7 @@ function X9(e, t, n, r) {
|
|
|
9680
9664
|
}
|
|
9681
9665
|
return o.unwrapped = e, o;
|
|
9682
9666
|
}
|
|
9683
|
-
var
|
|
9667
|
+
var Tl = /* @__PURE__ */ U9();
|
|
9684
9668
|
function $9() {
|
|
9685
9669
|
function e(t, n) {
|
|
9686
9670
|
return {
|
|
@@ -9765,7 +9749,7 @@ const An = "success", it = "error", Rf = "Some error occured. Please contact sup
|
|
|
9765
9749
|
`, o6 = O(ie)`
|
|
9766
9750
|
padding: 5px 8px;
|
|
9767
9751
|
color: white;
|
|
9768
|
-
`, i6 = O(
|
|
9752
|
+
`, i6 = O(O0.Logo)(() => ({
|
|
9769
9753
|
height: "26px",
|
|
9770
9754
|
width: "26px",
|
|
9771
9755
|
color: "#FFFFFF",
|
|
@@ -9828,7 +9812,7 @@ function Ne(e) {
|
|
|
9828
9812
|
function c6(e) {
|
|
9829
9813
|
He.dismiss(e);
|
|
9830
9814
|
}
|
|
9831
|
-
const
|
|
9815
|
+
const od = {
|
|
9832
9816
|
updateFormApiStatus: ne.IDLE,
|
|
9833
9817
|
createObjectList: [],
|
|
9834
9818
|
createObjectConnectorNamesList: [],
|
|
@@ -9854,7 +9838,7 @@ const rd = {
|
|
|
9854
9838
|
DELETE: "DELETE",
|
|
9855
9839
|
PATCH: "PATCH",
|
|
9856
9840
|
PUT: "PUT"
|
|
9857
|
-
}, d6 = "Required Field", f6 = "Invalid date", Nf = /^https:\/\/([a-z0-9-]+(\.[a-z0-9-]+)+)(:[0-9]{1,5})?(\/[^\s/]*)*$/i, h6 = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, kf = "Please enter a valid URL", p6 = "Please enter valid ID", g6 = "Please enter valid input", m6 = "URL must start with https://", b6 = "URL should not end with a slash", v6 = "Invalid email address", y6 = "Email must be a string",
|
|
9841
|
+
}, d6 = "Required Field", f6 = "Invalid date", Nf = /^https:\/\/([a-z0-9-]+(\.[a-z0-9-]+)+)(:[0-9]{1,5})?(\/[^\s/]*)*$/i, h6 = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, kf = "Please enter a valid URL", p6 = "Please enter valid ID", g6 = "Please enter valid input", m6 = "URL must start with https://", b6 = "URL should not end with a slash", v6 = "Invalid email address", y6 = "Email must be a string", id = "Invalid date", C6 = "Date cannot be in the past", x6 = "Date cannot be in the future", E6 = "Invalid number", I6 = "Invalid text", BT = async (e) => {
|
|
9858
9842
|
const t = new URLSearchParams(), { inboxIds: n, channelType: r, conversationId: o, fetchAuthenticatedConnectors: i } = e || {};
|
|
9859
9843
|
return n == null || n.forEach((a) => {
|
|
9860
9844
|
t.append("inbox_ids", a);
|
|
@@ -9930,12 +9914,12 @@ var kc = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.MULTIPLY = "MULTIPLY", e))(kc
|
|
|
9930
9914
|
const L6 = {
|
|
9931
9915
|
[kc.ADD]: (e, t) => e + t,
|
|
9932
9916
|
[kc.MULTIPLY]: (e, t) => e * t
|
|
9933
|
-
}, O6 = (e) => e,
|
|
9917
|
+
}, O6 = (e) => e, sd = () => {
|
|
9934
9918
|
if ("crypto" in window && "randomUUID" in window.crypto)
|
|
9935
9919
|
return window.crypto.randomUUID();
|
|
9936
9920
|
const e = Date.now().toString(16), t = Math.random().toString(16).substring(2, 8);
|
|
9937
9921
|
return `${e}-${t}`;
|
|
9938
|
-
},
|
|
9922
|
+
}, ad = (e, t) => {
|
|
9939
9923
|
let n;
|
|
9940
9924
|
const r = L6[t] ?? O6;
|
|
9941
9925
|
for (const o of e) {
|
|
@@ -9959,21 +9943,21 @@ const L6 = {
|
|
|
9959
9943
|
}, F6 = (e) => (t) => t && typeof t == "string" ? h6.test(t) ? !0 : e || v6 : y6, D6 = (e) => (t) => t == null || t === "" ? e || d6 : !0, N6 = (e) => (t, n) => {
|
|
9960
9944
|
var r;
|
|
9961
9945
|
if (!t || (t == null ? void 0 : t.toString()) === f6)
|
|
9962
|
-
return
|
|
9946
|
+
return id;
|
|
9963
9947
|
if (typeof t == "object") {
|
|
9964
9948
|
const o = t, i = /* @__PURE__ */ new Date();
|
|
9965
9949
|
i.setHours(0, 0, 0, 0);
|
|
9966
9950
|
const s = n.disablePast, a = n.disableFuture;
|
|
9967
9951
|
return s && o < i ? e || C6 : a && o > i ? e || x6 : !0;
|
|
9968
9952
|
}
|
|
9969
|
-
return typeof t == "string" && ((r = new Date(t)) == null ? void 0 : r.toString()) !== "Invalid Date" ? !0 :
|
|
9953
|
+
return typeof t == "string" && ((r = new Date(t)) == null ? void 0 : r.toString()) !== "Invalid Date" ? !0 : id;
|
|
9970
9954
|
}, k6 = (e) => (t, n) => {
|
|
9971
9955
|
if (t = Number(t), typeof t == "number" && !isNaN(t)) {
|
|
9972
9956
|
const r = n.min, o = n.max;
|
|
9973
9957
|
return r !== void 0 && t < r ? e || `Value should not be less than ${r}` : o !== void 0 && t > o ? e || `Value should not be greater than ${o}` : !0;
|
|
9974
9958
|
}
|
|
9975
9959
|
return e || E6;
|
|
9976
|
-
},
|
|
9960
|
+
}, Sl = (e) => (t, n) => {
|
|
9977
9961
|
if (typeof t == "string") {
|
|
9978
9962
|
const r = n.limit;
|
|
9979
9963
|
return r !== void 0 && t.length > r ? e || `Maximum characters allowed are ${r}` : !0;
|
|
@@ -10010,7 +9994,7 @@ function Yr(e, t, n) {
|
|
|
10010
9994
|
writable: !0
|
|
10011
9995
|
}) : e[t] = n, e;
|
|
10012
9996
|
}
|
|
10013
|
-
function
|
|
9997
|
+
function cd(e, t) {
|
|
10014
9998
|
var n = Object.keys(e);
|
|
10015
9999
|
if (Object.getOwnPropertySymbols) {
|
|
10016
10000
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -10023,9 +10007,9 @@ function ad(e, t) {
|
|
|
10023
10007
|
function ae(e) {
|
|
10024
10008
|
for (var t = 1; t < arguments.length; t++) {
|
|
10025
10009
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
10026
|
-
t % 2 ?
|
|
10010
|
+
t % 2 ? cd(Object(n), !0).forEach(function(r) {
|
|
10027
10011
|
Yr(e, r, n[r]);
|
|
10028
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
10012
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cd(Object(n)).forEach(function(r) {
|
|
10029
10013
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
10030
10014
|
});
|
|
10031
10015
|
}
|
|
@@ -10093,7 +10077,7 @@ function dn(e, t) {
|
|
|
10093
10077
|
return o;
|
|
10094
10078
|
}
|
|
10095
10079
|
var H6 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
10096
|
-
function
|
|
10080
|
+
function Ll(e) {
|
|
10097
10081
|
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, s = i === void 0 ? null : i, a = e.inputValue, c = e.menuIsOpen, l = e.onChange, d = e.onInputChange, g = e.onMenuClose, m = e.onMenuOpen, C = e.value, b = dn(e, H6), f = U(a !== void 0 ? a : n), h = dt(f, 2), p = h[0], v = h[1], y = U(c !== void 0 ? c : o), E = dt(y, 2), x = E[0], I = E[1], _ = U(C !== void 0 ? C : s), w = dt(_, 2), T = w[0], R = w[1], F = Te(function($, q) {
|
|
10098
10082
|
typeof l == "function" && l($, q), R($);
|
|
10099
10083
|
}, [l]), D = Te(function($, q) {
|
|
@@ -10126,14 +10110,14 @@ function ge() {
|
|
|
10126
10110
|
function W6(e, t) {
|
|
10127
10111
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
10128
10112
|
}
|
|
10129
|
-
function
|
|
10113
|
+
function ld(e, t) {
|
|
10130
10114
|
for (var n = 0; n < t.length; n++) {
|
|
10131
10115
|
var r = t[n];
|
|
10132
10116
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, jf(r.key), r);
|
|
10133
10117
|
}
|
|
10134
10118
|
}
|
|
10135
10119
|
function Z6(e, t, n) {
|
|
10136
|
-
return t &&
|
|
10120
|
+
return t && ld(e.prototype, t), n && ld(e, n), Object.defineProperty(e, "prototype", {
|
|
10137
10121
|
writable: !1
|
|
10138
10122
|
}), e;
|
|
10139
10123
|
}
|
|
@@ -10243,7 +10227,7 @@ var tv = /* @__PURE__ */ function() {
|
|
|
10243
10227
|
return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
|
|
10244
10228
|
}), this.tags = [], this.ctr = 0;
|
|
10245
10229
|
}, e;
|
|
10246
|
-
}(), mt = "-ms-", ys = "-moz-", ke = "-webkit-", Gf = "comm",
|
|
10230
|
+
}(), mt = "-ms-", ys = "-moz-", ke = "-webkit-", Gf = "comm", Ol = "rule", Rl = "decl", nv = "@import", Hf = "@keyframes", rv = "@layer", ov = Math.abs, $s = String.fromCharCode, iv = Object.assign;
|
|
10247
10231
|
function sv(e, t) {
|
|
10248
10232
|
return pt(e, 0) ^ 45 ? (((t << 2 ^ pt(e, 0)) << 2 ^ pt(e, 1)) << 2 ^ pt(e, 2)) << 2 ^ pt(e, 3) : 0;
|
|
10249
10233
|
}
|
|
@@ -10268,7 +10252,7 @@ function ui(e, t, n) {
|
|
|
10268
10252
|
function Cn(e) {
|
|
10269
10253
|
return e.length;
|
|
10270
10254
|
}
|
|
10271
|
-
function
|
|
10255
|
+
function Fl(e) {
|
|
10272
10256
|
return e.length;
|
|
10273
10257
|
}
|
|
10274
10258
|
function Di(e, t) {
|
|
@@ -10427,12 +10411,12 @@ function Ji(e, t, n, r, o, i, s, a, c) {
|
|
|
10427
10411
|
case 125:
|
|
10428
10412
|
h = 0;
|
|
10429
10413
|
case 59 + d:
|
|
10430
|
-
p == -1 && (_ = Me(_, /\f/g, "")), C > 0 && Cn(_) - g && Di(C > 32 ?
|
|
10414
|
+
p == -1 && (_ = Me(_, /\f/g, "")), C > 0 && Cn(_) - g && Di(C > 32 ? dd(_ + ";", r, n, g - 1) : dd(Me(_, " ", "") + ";", r, n, g - 2), c);
|
|
10431
10415
|
break;
|
|
10432
10416
|
case 59:
|
|
10433
10417
|
_ += ";";
|
|
10434
10418
|
default:
|
|
10435
|
-
if (Di(I =
|
|
10419
|
+
if (Di(I = ud(_, t, n, l, d, o, a, y, E = [], x = [], g), i), v === 123)
|
|
10436
10420
|
if (d === 0)
|
|
10437
10421
|
Ji(_, t, I, I, E, i, g, a, x);
|
|
10438
10422
|
else
|
|
@@ -10441,7 +10425,7 @@ function Ji(e, t, n, r, o, i, s, a, c) {
|
|
|
10441
10425
|
case 108:
|
|
10442
10426
|
case 109:
|
|
10443
10427
|
case 115:
|
|
10444
|
-
Ji(e, I, I, r && Di(
|
|
10428
|
+
Ji(e, I, I, r && Di(ud(e, I, I, 0, 0, o, a, y, o, E = [], g), x), o, x, g, a, r ? E : x);
|
|
10445
10429
|
break;
|
|
10446
10430
|
default:
|
|
10447
10431
|
Ji(_, I, I, I, [""], x, 0, a, x);
|
|
@@ -10474,20 +10458,20 @@ function Ji(e, t, n, r, o, i, s, a, c) {
|
|
|
10474
10458
|
}
|
|
10475
10459
|
return i;
|
|
10476
10460
|
}
|
|
10477
|
-
function
|
|
10478
|
-
for (var g = o - 1, m = o === 0 ? i : [""], C =
|
|
10461
|
+
function ud(e, t, n, r, o, i, s, a, c, l, d) {
|
|
10462
|
+
for (var g = o - 1, m = o === 0 ? i : [""], C = Fl(m), b = 0, f = 0, h = 0; b < r; ++b)
|
|
10479
10463
|
for (var p = 0, v = ui(e, g + 1, g = ov(f = s[b])), y = e; p < C; ++p)
|
|
10480
10464
|
(y = Wf(f > 0 ? m[p] + " " + v : Me(v, /&\f/g, m[p]))) && (c[h++] = y);
|
|
10481
|
-
return Ys(e, t, n, o === 0 ?
|
|
10465
|
+
return Ys(e, t, n, o === 0 ? Ol : a, c, l, d);
|
|
10482
10466
|
}
|
|
10483
10467
|
function mv(e, t, n) {
|
|
10484
10468
|
return Ys(e, t, n, Gf, $s(lv()), ui(e, 2, -2), 0);
|
|
10485
10469
|
}
|
|
10486
|
-
function
|
|
10487
|
-
return Ys(e, t, n,
|
|
10470
|
+
function dd(e, t, n, r) {
|
|
10471
|
+
return Ys(e, t, n, Rl, ui(e, 0, r), ui(e, r + 1, -1), r);
|
|
10488
10472
|
}
|
|
10489
10473
|
function Kr(e, t) {
|
|
10490
|
-
for (var n = "", r =
|
|
10474
|
+
for (var n = "", r = Fl(e), o = 0; o < r; o++)
|
|
10491
10475
|
n += t(e[o], o, e, t) || "";
|
|
10492
10476
|
return n;
|
|
10493
10477
|
}
|
|
@@ -10496,19 +10480,19 @@ function bv(e, t, n, r) {
|
|
|
10496
10480
|
case rv:
|
|
10497
10481
|
if (e.children.length) break;
|
|
10498
10482
|
case nv:
|
|
10499
|
-
case
|
|
10483
|
+
case Rl:
|
|
10500
10484
|
return e.return = e.return || e.value;
|
|
10501
10485
|
case Gf:
|
|
10502
10486
|
return "";
|
|
10503
10487
|
case Hf:
|
|
10504
10488
|
return e.return = e.value + "{" + Kr(e.children, r) + "}";
|
|
10505
|
-
case
|
|
10489
|
+
case Ol:
|
|
10506
10490
|
e.value = e.props.join(",");
|
|
10507
10491
|
}
|
|
10508
10492
|
return Cn(n = Kr(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
10509
10493
|
}
|
|
10510
10494
|
function vv(e) {
|
|
10511
|
-
var t =
|
|
10495
|
+
var t = Fl(e);
|
|
10512
10496
|
return function(n, r, o, i) {
|
|
10513
10497
|
for (var s = "", a = 0; a < t; a++)
|
|
10514
10498
|
s += e[a](n, r, o, i) || "";
|
|
@@ -10552,14 +10536,14 @@ var xv = function(t, n, r) {
|
|
|
10552
10536
|
return t;
|
|
10553
10537
|
}, Iv = function(t, n) {
|
|
10554
10538
|
return Xf(Ev(Uf(t), n));
|
|
10555
|
-
},
|
|
10539
|
+
}, fd = /* @__PURE__ */ new WeakMap(), wv = function(t) {
|
|
10556
10540
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
10557
10541
|
// negative .length indicates that this rule has been already prefixed
|
|
10558
10542
|
t.length < 1)) {
|
|
10559
10543
|
for (var n = t.value, r = t.parent, o = t.column === r.column && t.line === r.line; r.type !== "rule"; )
|
|
10560
10544
|
if (r = r.parent, !r) return;
|
|
10561
|
-
if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !
|
|
10562
|
-
|
|
10545
|
+
if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !fd.get(r)) && !o) {
|
|
10546
|
+
fd.set(t, !0);
|
|
10563
10547
|
for (var i = [], s = Iv(n, i), a = r.props, c = 0, l = 0; c < s.length; c++)
|
|
10564
10548
|
for (var d = 0; d < a.length; d++, l++)
|
|
10565
10549
|
t.props[l] = i[c] ? s[c].replace(/&\f/g, a[d]) : a[d] + " " + s[c];
|
|
@@ -10686,14 +10670,14 @@ function $f(e, t) {
|
|
|
10686
10670
|
}
|
|
10687
10671
|
var Av = function(t, n, r, o) {
|
|
10688
10672
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
10689
|
-
case
|
|
10673
|
+
case Rl:
|
|
10690
10674
|
t.return = $f(t.value, t.length);
|
|
10691
10675
|
break;
|
|
10692
10676
|
case Hf:
|
|
10693
10677
|
return Kr([Ho(t, {
|
|
10694
10678
|
value: Me(t.value, "@", "@" + ke)
|
|
10695
10679
|
})], o);
|
|
10696
|
-
case
|
|
10680
|
+
case Ol:
|
|
10697
10681
|
if (t.length) return cv(t.props, function(i) {
|
|
10698
10682
|
switch (av(i, /(::plac\w+|:read-\w+)/)) {
|
|
10699
10683
|
case ":read-only":
|
|
@@ -10769,10 +10753,10 @@ var Av = function(t, n, r, o) {
|
|
|
10769
10753
|
* This source code is licensed under the MIT license found in the
|
|
10770
10754
|
* LICENSE file in the root directory of this source tree.
|
|
10771
10755
|
*/
|
|
10772
|
-
var
|
|
10756
|
+
var hd;
|
|
10773
10757
|
function Lv() {
|
|
10774
|
-
if (
|
|
10775
|
-
|
|
10758
|
+
if (hd) return Ve;
|
|
10759
|
+
hd = 1;
|
|
10776
10760
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, p = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
|
|
10777
10761
|
function y(x) {
|
|
10778
10762
|
if (typeof x == "object" && x !== null) {
|
|
@@ -10844,9 +10828,9 @@ var Ge = {};
|
|
|
10844
10828
|
* This source code is licensed under the MIT license found in the
|
|
10845
10829
|
* LICENSE file in the root directory of this source tree.
|
|
10846
10830
|
*/
|
|
10847
|
-
var
|
|
10831
|
+
var pd;
|
|
10848
10832
|
function Ov() {
|
|
10849
|
-
return
|
|
10833
|
+
return pd || (pd = 1, process.env.NODE_ENV !== "production" && function() {
|
|
10850
10834
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, p = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
|
|
10851
10835
|
function y(z) {
|
|
10852
10836
|
return typeof z == "string" || typeof z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -11043,11 +11027,11 @@ var jv = {
|
|
|
11043
11027
|
strokeWidth: 1
|
|
11044
11028
|
}, Bv = !1, Vv = /[A-Z]|^ms/g, Gv = /_EMO_([^_]+?)_([^]*?)_EMO_/g, qf = function(t) {
|
|
11045
11029
|
return t.charCodeAt(1) === 45;
|
|
11046
|
-
},
|
|
11030
|
+
}, gd = function(t) {
|
|
11047
11031
|
return t != null && typeof t != "boolean";
|
|
11048
11032
|
}, Ta = /* @__PURE__ */ Cv(function(e) {
|
|
11049
11033
|
return qf(e) ? e : e.replace(Vv, "-$&").toLowerCase();
|
|
11050
|
-
}),
|
|
11034
|
+
}), md = function(t, n) {
|
|
11051
11035
|
switch (t) {
|
|
11052
11036
|
case "animation":
|
|
11053
11037
|
case "animationName":
|
|
@@ -11115,13 +11099,13 @@ function Wv(e, t, n) {
|
|
|
11115
11099
|
var s = n[i];
|
|
11116
11100
|
if (typeof s != "object") {
|
|
11117
11101
|
var a = s;
|
|
11118
|
-
|
|
11102
|
+
gd(a) && (r += Ta(i) + ":" + md(i, a) + ";");
|
|
11119
11103
|
} else {
|
|
11120
11104
|
if (i === "NO_COMPONENT_SELECTOR" && Bv)
|
|
11121
11105
|
throw new Error(Hv);
|
|
11122
11106
|
if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
11123
11107
|
for (var c = 0; c < s.length; c++)
|
|
11124
|
-
|
|
11108
|
+
gd(s[c]) && (r += Ta(i) + ":" + md(i, s[c]) + ";");
|
|
11125
11109
|
else {
|
|
11126
11110
|
var l = fi(e, t, s);
|
|
11127
11111
|
switch (i) {
|
|
@@ -11138,7 +11122,7 @@ function Wv(e, t, n) {
|
|
|
11138
11122
|
}
|
|
11139
11123
|
return r;
|
|
11140
11124
|
}
|
|
11141
|
-
var
|
|
11125
|
+
var bd = /label:\s*([^\s;{]+)\s*(;|$)/g, xn;
|
|
11142
11126
|
function Qf(e, t, n) {
|
|
11143
11127
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
11144
11128
|
return e[0];
|
|
@@ -11156,8 +11140,8 @@ function Qf(e, t, n) {
|
|
|
11156
11140
|
var c = i;
|
|
11157
11141
|
o += c[a];
|
|
11158
11142
|
}
|
|
11159
|
-
|
|
11160
|
-
for (var l = "", d; (d =
|
|
11143
|
+
bd.lastIndex = 0;
|
|
11144
|
+
for (var l = "", d; (d = bd.exec(o)) !== null; )
|
|
11161
11145
|
l += "-" + d[1];
|
|
11162
11146
|
var g = Pv(o) + l;
|
|
11163
11147
|
return {
|
|
@@ -11185,10 +11169,10 @@ var zv = function(t) {
|
|
|
11185
11169
|
var o = Oe(Kf);
|
|
11186
11170
|
return t(n, o, r);
|
|
11187
11171
|
});
|
|
11188
|
-
}, Yv = /* @__PURE__ */ A.createContext({}),
|
|
11172
|
+
}, Yv = /* @__PURE__ */ A.createContext({}), Dl = {}.hasOwnProperty, Gc = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Jv = function(t, n) {
|
|
11189
11173
|
var r = {};
|
|
11190
11174
|
for (var o in n)
|
|
11191
|
-
|
|
11175
|
+
Dl.call(n, o) && (r[o] = n[o]);
|
|
11192
11176
|
return r[Gc] = t, r;
|
|
11193
11177
|
}, qv = function(t) {
|
|
11194
11178
|
var n = t.cache, r = t.serialized, o = t.isStringTag;
|
|
@@ -11206,7 +11190,7 @@ var zv = function(t) {
|
|
|
11206
11190
|
s += t.key + "-" + a.name;
|
|
11207
11191
|
var c = {};
|
|
11208
11192
|
for (var l in e)
|
|
11209
|
-
|
|
11193
|
+
Dl.call(e, l) && l !== "css" && l !== Gc && !$v && (c[l] = e[l]);
|
|
11210
11194
|
return c.className = s, n && (c.ref = n), /* @__PURE__ */ A.createElement(A.Fragment, null, /* @__PURE__ */ A.createElement(qv, {
|
|
11211
11195
|
cache: t,
|
|
11212
11196
|
serialized: a,
|
|
@@ -11215,7 +11199,7 @@ var zv = function(t) {
|
|
|
11215
11199
|
}
|
|
11216
11200
|
), Kv = Qv, he = function(t, n) {
|
|
11217
11201
|
var r = arguments;
|
|
11218
|
-
if (n == null || !
|
|
11202
|
+
if (n == null || !Dl.call(n, "css"))
|
|
11219
11203
|
return A.createElement.apply(void 0, r);
|
|
11220
11204
|
var o = r.length, i = new Array(o);
|
|
11221
11205
|
i[0] = Kv, i[1] = Jv(t, n);
|
|
@@ -11223,13 +11207,13 @@ var zv = function(t) {
|
|
|
11223
11207
|
i[s] = r[s];
|
|
11224
11208
|
return A.createElement.apply(null, i);
|
|
11225
11209
|
};
|
|
11226
|
-
function
|
|
11210
|
+
function Nl() {
|
|
11227
11211
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
11228
11212
|
t[n] = arguments[n];
|
|
11229
11213
|
return Qf(t);
|
|
11230
11214
|
}
|
|
11231
11215
|
var ey = function() {
|
|
11232
|
-
var t =
|
|
11216
|
+
var t = Nl.apply(void 0, arguments), n = "animation-" + t.name;
|
|
11233
11217
|
return {
|
|
11234
11218
|
name: n,
|
|
11235
11219
|
styles: "@keyframes " + n + "{" + t.styles + "}",
|
|
@@ -11288,10 +11272,10 @@ function n2(e) {
|
|
|
11288
11272
|
function iy(e) {
|
|
11289
11273
|
return Js() ? e instanceof Element || e instanceof Pn(e).Element : !1;
|
|
11290
11274
|
}
|
|
11291
|
-
function
|
|
11275
|
+
function kl(e) {
|
|
11292
11276
|
return Js() ? e instanceof HTMLElement || e instanceof Pn(e).HTMLElement : !1;
|
|
11293
11277
|
}
|
|
11294
|
-
function
|
|
11278
|
+
function vd(e) {
|
|
11295
11279
|
return !Js() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Pn(e).ShadowRoot;
|
|
11296
11280
|
}
|
|
11297
11281
|
function r2(e) {
|
|
@@ -11300,7 +11284,7 @@ function r2(e) {
|
|
|
11300
11284
|
overflowX: n,
|
|
11301
11285
|
overflowY: r,
|
|
11302
11286
|
display: o
|
|
11303
|
-
} =
|
|
11287
|
+
} = Ml(e);
|
|
11304
11288
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
|
|
11305
11289
|
}
|
|
11306
11290
|
function sy() {
|
|
@@ -11309,7 +11293,7 @@ function sy() {
|
|
|
11309
11293
|
function ay(e) {
|
|
11310
11294
|
return ["html", "body", "#document"].includes(e2(e));
|
|
11311
11295
|
}
|
|
11312
|
-
function
|
|
11296
|
+
function Ml(e) {
|
|
11313
11297
|
return Pn(e).getComputedStyle(e);
|
|
11314
11298
|
}
|
|
11315
11299
|
function cy(e) {
|
|
@@ -11319,14 +11303,14 @@ function cy(e) {
|
|
|
11319
11303
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
11320
11304
|
e.assignedSlot || // DOM Element detected.
|
|
11321
11305
|
e.parentNode || // ShadowRoot detected.
|
|
11322
|
-
|
|
11306
|
+
vd(e) && e.host || // Fallback.
|
|
11323
11307
|
t2(e)
|
|
11324
11308
|
);
|
|
11325
|
-
return
|
|
11309
|
+
return vd(t) ? t.host : t;
|
|
11326
11310
|
}
|
|
11327
11311
|
function o2(e) {
|
|
11328
11312
|
const t = cy(e);
|
|
11329
|
-
return ay(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
|
11313
|
+
return ay(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : kl(t) && r2(t) ? t : o2(t);
|
|
11330
11314
|
}
|
|
11331
11315
|
function Es(e, t, n) {
|
|
11332
11316
|
var r;
|
|
@@ -11342,21 +11326,21 @@ function Hc(e) {
|
|
|
11342
11326
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
11343
11327
|
}
|
|
11344
11328
|
function ly(e) {
|
|
11345
|
-
const t =
|
|
11329
|
+
const t = Ml(e);
|
|
11346
11330
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
11347
|
-
const o =
|
|
11331
|
+
const o = kl(e), i = o ? e.offsetWidth : n, s = o ? e.offsetHeight : r, a = Cs(n) !== i || Cs(r) !== s;
|
|
11348
11332
|
return a && (n = i, r = s), {
|
|
11349
11333
|
width: n,
|
|
11350
11334
|
height: r,
|
|
11351
11335
|
$: a
|
|
11352
11336
|
};
|
|
11353
11337
|
}
|
|
11354
|
-
function
|
|
11338
|
+
function Pl(e) {
|
|
11355
11339
|
return iy(e) ? e : e.contextElement;
|
|
11356
11340
|
}
|
|
11357
|
-
function
|
|
11358
|
-
const t =
|
|
11359
|
-
if (!
|
|
11341
|
+
function yd(e) {
|
|
11342
|
+
const t = Pl(e);
|
|
11343
|
+
if (!kl(t))
|
|
11360
11344
|
return xs(1);
|
|
11361
11345
|
const n = t.getBoundingClientRect(), {
|
|
11362
11346
|
width: r,
|
|
@@ -11380,18 +11364,18 @@ function dy(e) {
|
|
|
11380
11364
|
function fy(e, t, n) {
|
|
11381
11365
|
return !1;
|
|
11382
11366
|
}
|
|
11383
|
-
function
|
|
11367
|
+
function Cd(e, t, n, r) {
|
|
11384
11368
|
t === void 0 && (t = !1);
|
|
11385
|
-
const o = e.getBoundingClientRect(), i =
|
|
11369
|
+
const o = e.getBoundingClientRect(), i = Pl(e);
|
|
11386
11370
|
let s = xs(1);
|
|
11387
|
-
t && (s =
|
|
11371
|
+
t && (s = yd(e));
|
|
11388
11372
|
const a = fy() ? dy(i) : xs(0);
|
|
11389
11373
|
let c = (o.left + a.x) / s.x, l = (o.top + a.y) / s.y, d = o.width / s.x, g = o.height / s.y;
|
|
11390
11374
|
if (i) {
|
|
11391
11375
|
const m = Pn(i), C = r;
|
|
11392
11376
|
let b = m, f = Hc(b);
|
|
11393
11377
|
for (; f && r && C !== b; ) {
|
|
11394
|
-
const h =
|
|
11378
|
+
const h = yd(f), p = f.getBoundingClientRect(), v = Ml(f), y = p.left + (f.clientLeft + parseFloat(v.paddingLeft)) * h.x, E = p.top + (f.clientTop + parseFloat(v.paddingTop)) * h.y;
|
|
11395
11379
|
c *= h.x, l *= h.y, d *= h.x, g *= h.y, c += y, l += E, b = Pn(f), f = Hc(b);
|
|
11396
11380
|
}
|
|
11397
11381
|
}
|
|
@@ -11456,7 +11440,7 @@ function py(e, t, n, r) {
|
|
|
11456
11440
|
elementResize: s = typeof ResizeObserver == "function",
|
|
11457
11441
|
layoutShift: a = typeof IntersectionObserver == "function",
|
|
11458
11442
|
animationFrame: c = !1
|
|
11459
|
-
} = r, l =
|
|
11443
|
+
} = r, l = Pl(e), d = o || i ? [...l ? Es(l) : [], ...Es(t)] : [];
|
|
11460
11444
|
d.forEach((p) => {
|
|
11461
11445
|
o && p.addEventListener("scroll", n, {
|
|
11462
11446
|
passive: !0
|
|
@@ -11471,10 +11455,10 @@ function py(e, t, n, r) {
|
|
|
11471
11455
|
(y = C) == null || y.observe(t);
|
|
11472
11456
|
})), n();
|
|
11473
11457
|
}), l && !c && C.observe(l), C.observe(t));
|
|
11474
|
-
let b, f = c ?
|
|
11458
|
+
let b, f = c ? Cd(e) : null;
|
|
11475
11459
|
c && h();
|
|
11476
11460
|
function h() {
|
|
11477
|
-
const p =
|
|
11461
|
+
const p = Cd(e);
|
|
11478
11462
|
f && (p.x !== f.x || p.y !== f.y || p.width !== f.width || p.height !== f.height) && n(), f = p, b = requestAnimationFrame(h);
|
|
11479
11463
|
}
|
|
11480
11464
|
return n(), () => {
|
|
@@ -11558,7 +11542,7 @@ function ki(e, t) {
|
|
|
11558
11542
|
}
|
|
11559
11543
|
c();
|
|
11560
11544
|
}
|
|
11561
|
-
function
|
|
11545
|
+
function xd(e, t) {
|
|
11562
11546
|
var n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), o = t.offsetHeight / 3;
|
|
11563
11547
|
r.bottom + o > n.bottom ? _s(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + o, e.scrollHeight)) : r.top - o < n.top && _s(e, Math.max(t.offsetTop - o, 0));
|
|
11564
11548
|
}
|
|
@@ -11573,7 +11557,7 @@ function Ey(e) {
|
|
|
11573
11557
|
width: t.width
|
|
11574
11558
|
};
|
|
11575
11559
|
}
|
|
11576
|
-
function
|
|
11560
|
+
function Ed() {
|
|
11577
11561
|
try {
|
|
11578
11562
|
return document.createEvent("TouchEvent"), !0;
|
|
11579
11563
|
} catch {
|
|
@@ -11876,7 +11860,7 @@ var c2 = function(t) {
|
|
|
11876
11860
|
return he("div", ge({}, Ke(t, "indicatorsContainer", {
|
|
11877
11861
|
indicators: !0
|
|
11878
11862
|
}), r), n);
|
|
11879
|
-
},
|
|
11863
|
+
}, Id, qy = ["size"], Qy = ["innerProps", "isRtl", "size"];
|
|
11880
11864
|
function Ky() {
|
|
11881
11865
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
11882
11866
|
}
|
|
@@ -11898,7 +11882,7 @@ var e7 = process.env.NODE_ENV === "production" ? {
|
|
|
11898
11882
|
focusable: "false",
|
|
11899
11883
|
css: e7
|
|
11900
11884
|
}, r));
|
|
11901
|
-
},
|
|
11885
|
+
}, jl = function(t) {
|
|
11902
11886
|
return he(d2, ge({
|
|
11903
11887
|
size: 20
|
|
11904
11888
|
}, t), he("path", {
|
|
@@ -11934,7 +11918,7 @@ var e7 = process.env.NODE_ENV === "production" ? {
|
|
|
11934
11918
|
return he("div", ge({}, Ke(t, "clearIndicator", {
|
|
11935
11919
|
indicator: !0,
|
|
11936
11920
|
"clear-indicator": !0
|
|
11937
|
-
}), r), n || he(
|
|
11921
|
+
}), r), n || he(jl, null));
|
|
11938
11922
|
}, i7 = function(t, n) {
|
|
11939
11923
|
var r = t.isDisabled, o = t.theme, i = o.spacing.baseUnit, s = o.colors;
|
|
11940
11924
|
return ae({
|
|
@@ -11951,7 +11935,7 @@ var e7 = process.env.NODE_ENV === "production" ? {
|
|
|
11951
11935
|
return he("span", ge({}, n, Ke(t, "indicatorSeparator", {
|
|
11952
11936
|
"indicator-separator": !0
|
|
11953
11937
|
})));
|
|
11954
|
-
}, a7 = ey(
|
|
11938
|
+
}, a7 = ey(Id || (Id = ty([`
|
|
11955
11939
|
0%, 80%, 100% { opacity: 0; }
|
|
11956
11940
|
40% { opacity: 1; }
|
|
11957
11941
|
`]))), c7 = function(t, n) {
|
|
@@ -11973,7 +11957,7 @@ var e7 = process.env.NODE_ENV === "production" ? {
|
|
|
11973
11957
|
}, Sa = function(t) {
|
|
11974
11958
|
var n = t.delay, r = t.offset;
|
|
11975
11959
|
return he("span", {
|
|
11976
|
-
css: /* @__PURE__ */
|
|
11960
|
+
css: /* @__PURE__ */ Nl({
|
|
11977
11961
|
animation: "".concat(a7, " 1s ease-in-out ").concat(n, "ms infinite;"),
|
|
11978
11962
|
backgroundColor: "currentColor",
|
|
11979
11963
|
borderRadius: "1em",
|
|
@@ -12178,7 +12162,7 @@ function O7(e) {
|
|
|
12178
12162
|
var t = e.children, n = e.innerProps;
|
|
12179
12163
|
return he("div", ge({
|
|
12180
12164
|
role: "button"
|
|
12181
|
-
}, n), t || he(
|
|
12165
|
+
}, n), t || he(jl, {
|
|
12182
12166
|
size: 14
|
|
12183
12167
|
}));
|
|
12184
12168
|
}
|
|
@@ -12276,7 +12260,7 @@ var R7 = function(t) {
|
|
|
12276
12260
|
Control: f7,
|
|
12277
12261
|
DropdownIndicator: n7,
|
|
12278
12262
|
DownChevron: f2,
|
|
12279
|
-
CrossIcon:
|
|
12263
|
+
CrossIcon: jl,
|
|
12280
12264
|
Group: v7,
|
|
12281
12265
|
GroupHeading: b7,
|
|
12282
12266
|
IndicatorsContainer: Jy,
|
|
@@ -12299,11 +12283,11 @@ var R7 = function(t) {
|
|
|
12299
12283
|
ValueContainer: zy
|
|
12300
12284
|
}, H7 = function(t) {
|
|
12301
12285
|
return ae(ae({}, Sn), t.components);
|
|
12302
|
-
},
|
|
12286
|
+
}, wd = Number.isNaN || function(t) {
|
|
12303
12287
|
return typeof t == "number" && t !== t;
|
|
12304
12288
|
};
|
|
12305
12289
|
function W7(e, t) {
|
|
12306
|
-
return !!(e === t ||
|
|
12290
|
+
return !!(e === t || wd(e) && wd(t));
|
|
12307
12291
|
}
|
|
12308
12292
|
function Z7(e, t) {
|
|
12309
12293
|
if (e.length !== t.length)
|
|
@@ -12347,7 +12331,7 @@ var $7 = process.env.NODE_ENV === "production" ? {
|
|
|
12347
12331
|
return he("span", ge({
|
|
12348
12332
|
css: $7
|
|
12349
12333
|
}, t));
|
|
12350
|
-
},
|
|
12334
|
+
}, _d = z7, Y7 = {
|
|
12351
12335
|
guidance: function(t) {
|
|
12352
12336
|
var n = t.isSearchable, r = t.isMulti, o = t.tabSelectsValue, i = t.context, s = t.isInitialFocus;
|
|
12353
12337
|
switch (i) {
|
|
@@ -12464,9 +12448,9 @@ var $7 = process.env.NODE_ENV === "production" ? {
|
|
|
12464
12448
|
}, F), he("span", {
|
|
12465
12449
|
id: "aria-guidance"
|
|
12466
12450
|
}, N));
|
|
12467
|
-
return he(Ua, null, he(
|
|
12451
|
+
return he(Ua, null, he(_d, {
|
|
12468
12452
|
id: l
|
|
12469
|
-
}, D && V), he(
|
|
12453
|
+
}, D && V), he(_d, {
|
|
12470
12454
|
"aria-live": _,
|
|
12471
12455
|
"aria-atomic": "false",
|
|
12472
12456
|
"aria-relevant": "additions text",
|
|
@@ -12734,7 +12718,7 @@ var b2 = function(t) {
|
|
|
12734
12718
|
return t.replace(Q7, function(n) {
|
|
12735
12719
|
return m2[n];
|
|
12736
12720
|
});
|
|
12737
|
-
}, K7 = U7(b2),
|
|
12721
|
+
}, K7 = U7(b2), Ad = function(t) {
|
|
12738
12722
|
return t.replace(/^\s+|\s+$/g, "");
|
|
12739
12723
|
}, eC = function(t) {
|
|
12740
12724
|
return "".concat(t.label, " ").concat(t.value);
|
|
@@ -12747,7 +12731,7 @@ var b2 = function(t) {
|
|
|
12747
12731
|
stringify: eC,
|
|
12748
12732
|
trim: !0,
|
|
12749
12733
|
matchFrom: "any"
|
|
12750
|
-
}, t), i = o.ignoreCase, s = o.ignoreAccents, a = o.stringify, c = o.trim, l = o.matchFrom, d = c ?
|
|
12734
|
+
}, t), i = o.ignoreCase, s = o.ignoreAccents, a = o.stringify, c = o.trim, l = o.matchFrom, d = c ? Ad(r) : r, g = c ? Ad(a(n)) : a(n);
|
|
12751
12735
|
return i && (d = d.toLowerCase(), g = g.toLowerCase()), s && (d = K7(d), g = b2(g)), l === "start" ? g.substr(0, d.length) === d : g.indexOf(d) > -1;
|
|
12752
12736
|
};
|
|
12753
12737
|
}, nC = ["innerRef"];
|
|
@@ -12756,7 +12740,7 @@ function rC(e) {
|
|
|
12756
12740
|
return he("input", ge({
|
|
12757
12741
|
ref: t
|
|
12758
12742
|
}, r, {
|
|
12759
|
-
css: /* @__PURE__ */
|
|
12743
|
+
css: /* @__PURE__ */ Nl({
|
|
12760
12744
|
label: "dummyInput",
|
|
12761
12745
|
// get rid of any default styles
|
|
12762
12746
|
background: 0,
|
|
@@ -12816,53 +12800,53 @@ function iC(e) {
|
|
|
12816
12800
|
l.current = h;
|
|
12817
12801
|
};
|
|
12818
12802
|
}
|
|
12819
|
-
var
|
|
12803
|
+
var Td = ["boxSizing", "height", "overflow", "paddingRight", "position"], Sd = {
|
|
12820
12804
|
boxSizing: "border-box",
|
|
12821
12805
|
// account for possible declaration `width: 100%;` on body
|
|
12822
12806
|
overflow: "hidden",
|
|
12823
12807
|
position: "relative",
|
|
12824
12808
|
height: "100%"
|
|
12825
12809
|
};
|
|
12826
|
-
function
|
|
12810
|
+
function Ld(e) {
|
|
12827
12811
|
e.preventDefault();
|
|
12828
12812
|
}
|
|
12829
|
-
function
|
|
12813
|
+
function Od(e) {
|
|
12830
12814
|
e.stopPropagation();
|
|
12831
12815
|
}
|
|
12832
|
-
function
|
|
12816
|
+
function Rd() {
|
|
12833
12817
|
var e = this.scrollTop, t = this.scrollHeight, n = e + this.offsetHeight;
|
|
12834
12818
|
e === 0 ? this.scrollTop = 1 : n === t && (this.scrollTop = e - 1);
|
|
12835
12819
|
}
|
|
12836
|
-
function
|
|
12820
|
+
function Fd() {
|
|
12837
12821
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
12838
12822
|
}
|
|
12839
|
-
var
|
|
12823
|
+
var Dd = !!(typeof window < "u" && window.document && window.document.createElement), Wo = 0, $r = {
|
|
12840
12824
|
capture: !1,
|
|
12841
12825
|
passive: !1
|
|
12842
12826
|
};
|
|
12843
12827
|
function sC(e) {
|
|
12844
12828
|
var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, o = Ie({}), i = Ie(null), s = Te(function(c) {
|
|
12845
|
-
if (
|
|
12829
|
+
if (Dd) {
|
|
12846
12830
|
var l = document.body, d = l && l.style;
|
|
12847
|
-
if (r &&
|
|
12831
|
+
if (r && Td.forEach(function(b) {
|
|
12848
12832
|
var f = d && d[b];
|
|
12849
12833
|
o.current[b] = f;
|
|
12850
12834
|
}), r && Wo < 1) {
|
|
12851
12835
|
var g = parseInt(o.current.paddingRight, 10) || 0, m = document.body ? document.body.clientWidth : 0, C = window.innerWidth - m + g || 0;
|
|
12852
|
-
Object.keys(
|
|
12853
|
-
var f =
|
|
12836
|
+
Object.keys(Sd).forEach(function(b) {
|
|
12837
|
+
var f = Sd[b];
|
|
12854
12838
|
d && (d[b] = f);
|
|
12855
12839
|
}), d && (d.paddingRight = "".concat(C, "px"));
|
|
12856
12840
|
}
|
|
12857
|
-
l &&
|
|
12841
|
+
l && Fd() && (l.addEventListener("touchmove", Ld, $r), c && (c.addEventListener("touchstart", Rd, $r), c.addEventListener("touchmove", Od, $r))), Wo += 1;
|
|
12858
12842
|
}
|
|
12859
12843
|
}, [r]), a = Te(function(c) {
|
|
12860
|
-
if (
|
|
12844
|
+
if (Dd) {
|
|
12861
12845
|
var l = document.body, d = l && l.style;
|
|
12862
|
-
Wo = Math.max(Wo - 1, 0), r && Wo < 1 &&
|
|
12846
|
+
Wo = Math.max(Wo - 1, 0), r && Wo < 1 && Td.forEach(function(g) {
|
|
12863
12847
|
var m = o.current[g];
|
|
12864
12848
|
d && (d[g] = m);
|
|
12865
|
-
}), l &&
|
|
12849
|
+
}), l && Fd() && (l.removeEventListener("touchmove", Ld, $r), c && (c.removeEventListener("touchstart", Rd, $r), c.removeEventListener("touchmove", Od, $r)));
|
|
12866
12850
|
}
|
|
12867
12851
|
}, [r]);
|
|
12868
12852
|
return ue(function() {
|
|
@@ -12933,18 +12917,18 @@ var fC = process.env.NODE_ENV === "production" ? {
|
|
|
12933
12917
|
}
|
|
12934
12918
|
});
|
|
12935
12919
|
}, pC = hC;
|
|
12936
|
-
function
|
|
12920
|
+
function Bl(e) {
|
|
12937
12921
|
var t;
|
|
12938
12922
|
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;
|
|
12939
12923
|
}
|
|
12940
12924
|
function gC() {
|
|
12941
|
-
return
|
|
12925
|
+
return Bl(/^iPhone/i);
|
|
12942
12926
|
}
|
|
12943
12927
|
function v2() {
|
|
12944
|
-
return
|
|
12928
|
+
return Bl(/^Mac/i);
|
|
12945
12929
|
}
|
|
12946
12930
|
function mC() {
|
|
12947
|
-
return
|
|
12931
|
+
return Bl(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
12948
12932
|
v2() && navigator.maxTouchPoints > 1;
|
|
12949
12933
|
}
|
|
12950
12934
|
function bC() {
|
|
@@ -13013,8 +12997,8 @@ var yC = function(t) {
|
|
|
13013
12997
|
}, TC = {
|
|
13014
12998
|
"aria-live": "polite",
|
|
13015
12999
|
backspaceRemovesValue: !0,
|
|
13016
|
-
blurInputOnSelect:
|
|
13017
|
-
captureMenuScroll: !
|
|
13000
|
+
blurInputOnSelect: Ed(),
|
|
13001
|
+
captureMenuScroll: !Ed(),
|
|
13018
13002
|
classNames: {},
|
|
13019
13003
|
closeMenuOnSelect: !0,
|
|
13020
13004
|
closeMenuOnScroll: !1,
|
|
@@ -13058,7 +13042,7 @@ var yC = function(t) {
|
|
|
13058
13042
|
tabSelectsValue: !0,
|
|
13059
13043
|
unstyled: !1
|
|
13060
13044
|
};
|
|
13061
|
-
function
|
|
13045
|
+
function Nd(e, t, n, r) {
|
|
13062
13046
|
var o = w2(e, t, n), i = _2(e, t, n), s = I2(e, t), a = As(e, t);
|
|
13063
13047
|
return {
|
|
13064
13048
|
type: "option",
|
|
@@ -13074,9 +13058,9 @@ function qi(e, t) {
|
|
|
13074
13058
|
return e.options.map(function(n, r) {
|
|
13075
13059
|
if ("options" in n) {
|
|
13076
13060
|
var o = n.options.map(function(s, a) {
|
|
13077
|
-
return
|
|
13061
|
+
return Nd(e, s, t, a);
|
|
13078
13062
|
}).filter(function(s) {
|
|
13079
|
-
return
|
|
13063
|
+
return Md(e, s);
|
|
13080
13064
|
});
|
|
13081
13065
|
return o.length > 0 ? {
|
|
13082
13066
|
type: "group",
|
|
@@ -13085,8 +13069,8 @@ function qi(e, t) {
|
|
|
13085
13069
|
index: r
|
|
13086
13070
|
} : void 0;
|
|
13087
13071
|
}
|
|
13088
|
-
var i =
|
|
13089
|
-
return
|
|
13072
|
+
var i = Nd(e, n, t, r);
|
|
13073
|
+
return Md(e, i) ? i : void 0;
|
|
13090
13074
|
}).filter(Ay);
|
|
13091
13075
|
}
|
|
13092
13076
|
function E2(e) {
|
|
@@ -13096,7 +13080,7 @@ function E2(e) {
|
|
|
13096
13080
|
}))) : t.push(n.data), t;
|
|
13097
13081
|
}, []);
|
|
13098
13082
|
}
|
|
13099
|
-
function
|
|
13083
|
+
function kd(e, t) {
|
|
13100
13084
|
return e.reduce(function(n, r) {
|
|
13101
13085
|
return r.type === "group" ? n.push.apply(n, Qr(r.options.map(function(o) {
|
|
13102
13086
|
return {
|
|
@@ -13112,7 +13096,7 @@ function Nd(e, t) {
|
|
|
13112
13096
|
function SC(e, t) {
|
|
13113
13097
|
return E2(qi(e, t));
|
|
13114
13098
|
}
|
|
13115
|
-
function
|
|
13099
|
+
function Md(e, t) {
|
|
13116
13100
|
var n = e.inputValue, r = n === void 0 ? "" : n, o = t.data, i = t.isSelected, s = t.label, a = t.value;
|
|
13117
13101
|
return (!T2(e) || !i) && A2(e, {
|
|
13118
13102
|
label: s,
|
|
@@ -13247,7 +13231,7 @@ var T2 = function(t) {
|
|
|
13247
13231
|
}, o.getFocusedOptionId = function(c) {
|
|
13248
13232
|
return Da(o.state.focusableOptionsWithIds, c);
|
|
13249
13233
|
}, o.getFocusableOptionsWithIds = function() {
|
|
13250
|
-
return
|
|
13234
|
+
return kd(qi(o.props, o.state.selectValue), o.getElementId("option"));
|
|
13251
13235
|
}, o.getValue = function() {
|
|
13252
13236
|
return o.state.selectValue;
|
|
13253
13237
|
}, o.cx = function() {
|
|
@@ -13457,7 +13441,7 @@ var T2 = function(t) {
|
|
|
13457
13441
|
return Z6(n, [{
|
|
13458
13442
|
key: "componentDidMount",
|
|
13459
13443
|
value: function() {
|
|
13460
|
-
this.startListeningComposition(), this.startListeningToTouch(), this.props.closeMenuOnScroll && document && document.addEventListener && document.addEventListener("scroll", this.onScroll, !0), this.props.autoFocus && this.focusInput(), this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef &&
|
|
13444
|
+
this.startListeningComposition(), this.startListeningToTouch(), this.props.closeMenuOnScroll && document && document.addEventListener && document.addEventListener("scroll", this.onScroll, !0), this.props.autoFocus && this.focusInput(), this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef && xd(this.menuListRef, this.focusedOptionRef);
|
|
13461
13445
|
}
|
|
13462
13446
|
}, {
|
|
13463
13447
|
key: "componentDidUpdate",
|
|
@@ -13469,7 +13453,7 @@ var T2 = function(t) {
|
|
|
13469
13453
|
isFocused: !1
|
|
13470
13454
|
}, this.onMenuClose) : !c && !s && o.isDisabled && this.inputRef === document.activeElement && this.setState({
|
|
13471
13455
|
isFocused: !0
|
|
13472
|
-
}), this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate && (
|
|
13456
|
+
}), this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate && (xd(this.menuListRef, this.focusedOptionRef), this.scrollToFocusedOptionOnUpdate = !1);
|
|
13473
13457
|
}
|
|
13474
13458
|
}, {
|
|
13475
13459
|
key: "componentWillUnmount",
|
|
@@ -14044,7 +14028,7 @@ var T2 = function(t) {
|
|
|
14044
14028
|
value: function(o, i) {
|
|
14045
14029
|
var s = i.prevProps, a = i.clearFocusValueOnUpdate, c = i.inputIsHiddenAfterUpdate, l = i.ariaSelection, d = i.isFocused, g = i.prevWasFocused, m = i.instancePrefix, C = o.options, b = o.value, f = o.menuIsOpen, h = o.inputValue, p = o.isMulti, v = ws(b), y = {};
|
|
14046
14030
|
if (s && (b !== s.value || C !== s.options || f !== s.menuIsOpen || h !== s.inputValue)) {
|
|
14047
|
-
var E = f ? SC(o, v) : [], x = f ?
|
|
14031
|
+
var E = f ? SC(o, v) : [], x = f ? kd(qi(o, v), "".concat(m, "-option")) : [], I = a ? LC(i, v) : null, _ = OC(i, E), w = Da(x, _);
|
|
14048
14032
|
y = {
|
|
14049
14033
|
selectValue: v,
|
|
14050
14034
|
focusedOption: _,
|
|
@@ -14072,7 +14056,7 @@ var T2 = function(t) {
|
|
|
14072
14056
|
}(Mh);
|
|
14073
14057
|
Qs.defaultProps = TC;
|
|
14074
14058
|
var FC = /* @__PURE__ */ Ss(function(e, t) {
|
|
14075
|
-
var n =
|
|
14059
|
+
var n = Ll(e);
|
|
14076
14060
|
return /* @__PURE__ */ A.createElement(Qs, ge({
|
|
14077
14061
|
ref: t
|
|
14078
14062
|
}, n));
|
|
@@ -14081,9 +14065,12 @@ const NC = O(ie)`
|
|
|
14081
14065
|
display: flex;
|
|
14082
14066
|
align-items: center;
|
|
14083
14067
|
gap: 2px;
|
|
14084
|
-
font-family:
|
|
14068
|
+
font-family: Inter, 'Open Sans', sans-serif;
|
|
14085
14069
|
font-size: 13px;
|
|
14086
|
-
|
|
14070
|
+
font-weight: 400;
|
|
14071
|
+
line-height: 19px;
|
|
14072
|
+
letter-spacing: -0.005em;
|
|
14073
|
+
color: ${Z.palette.gray.black};
|
|
14087
14074
|
& > span {
|
|
14088
14075
|
max-width: 100%;
|
|
14089
14076
|
overflow-wrap: break-word;
|
|
@@ -14202,7 +14189,7 @@ const MC = O(ie)`
|
|
|
14202
14189
|
return !n || !c ? !1 : n(c);
|
|
14203
14190
|
} : void 0
|
|
14204
14191
|
};
|
|
14205
|
-
}, BC = (e) => /* @__PURE__ */ u.jsx(Sn.DropdownIndicator, { ...e, children: /* @__PURE__ */ u.jsx(
|
|
14192
|
+
}, BC = (e) => /* @__PURE__ */ u.jsx(Sn.DropdownIndicator, { ...e, children: /* @__PURE__ */ u.jsx(F0, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ u.jsx(vt.ArrowDropUp, {}) : /* @__PURE__ */ u.jsx(vt.ArrowDropDown, {}) }) }), F2 = () => ({
|
|
14206
14193
|
ClearIndicator: L2,
|
|
14207
14194
|
DropdownIndicator: BC,
|
|
14208
14195
|
IndicatorSeparator: () => null,
|
|
@@ -14232,7 +14219,7 @@ const MC = O(ie)`
|
|
|
14232
14219
|
] });
|
|
14233
14220
|
};
|
|
14234
14221
|
hi.getDefaultComponents = F2;
|
|
14235
|
-
const
|
|
14222
|
+
const Pd = "Required Field", VC = "Validation Failed";
|
|
14236
14223
|
var D2 = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(D2 || {}), GC = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
|
|
14237
14224
|
function N2(e) {
|
|
14238
14225
|
var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, i = e.loadOptions;
|
|
@@ -14278,11 +14265,11 @@ function N2(e) {
|
|
|
14278
14265
|
});
|
|
14279
14266
|
}
|
|
14280
14267
|
var HC = /* @__PURE__ */ Ss(function(e, t) {
|
|
14281
|
-
var n = N2(e), r =
|
|
14268
|
+
var n = N2(e), r = Ll(n);
|
|
14282
14269
|
return /* @__PURE__ */ A.createElement(Qs, ge({
|
|
14283
14270
|
ref: t
|
|
14284
14271
|
}, r));
|
|
14285
|
-
}), WC = HC, ZC = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"],
|
|
14272
|
+
}), WC = HC, ZC = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], jd = function() {
|
|
14286
14273
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, o = String(t).toLowerCase(), i = String(r.getOptionValue(n)).toLowerCase(), s = String(r.getOptionLabel(n)).toLowerCase();
|
|
14287
14274
|
return i === o || s === o;
|
|
14288
14275
|
}, Na = {
|
|
@@ -14291,9 +14278,9 @@ var HC = /* @__PURE__ */ Ss(function(e, t) {
|
|
|
14291
14278
|
},
|
|
14292
14279
|
isValidNewOption: function(t, n, r, o) {
|
|
14293
14280
|
return !(!t || n.some(function(i) {
|
|
14294
|
-
return
|
|
14281
|
+
return jd(t, i, o);
|
|
14295
14282
|
}) || r.some(function(i) {
|
|
14296
|
-
return
|
|
14283
|
+
return jd(t, i, o);
|
|
14297
14284
|
}));
|
|
14298
14285
|
},
|
|
14299
14286
|
getNewOptionData: function(t, n) {
|
|
@@ -14336,7 +14323,7 @@ function UC(e) {
|
|
|
14336
14323
|
});
|
|
14337
14324
|
}
|
|
14338
14325
|
var XC = /* @__PURE__ */ Ss(function(e, t) {
|
|
14339
|
-
var n = N2(e), r =
|
|
14326
|
+
var n = N2(e), r = Ll(n), o = UC(r);
|
|
14340
14327
|
return /* @__PURE__ */ A.createElement(Qs, ge({
|
|
14341
14328
|
ref: t
|
|
14342
14329
|
}, o));
|
|
@@ -14355,7 +14342,7 @@ const zC = O(ee)`
|
|
|
14355
14342
|
};
|
|
14356
14343
|
}, k2 = (e) => /* @__PURE__ */ A.createElement("svg", { width: "8px", height: "8px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" }));
|
|
14357
14344
|
function JC(e) {
|
|
14358
|
-
return /* @__PURE__ */ u.jsx(Sn.DropdownIndicator, { ...e, children: /* @__PURE__ */ u.jsx(
|
|
14345
|
+
return /* @__PURE__ */ u.jsx(Sn.DropdownIndicator, { ...e, children: /* @__PURE__ */ u.jsx(F0, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ u.jsx(vt.ArrowDropUp, {}) : /* @__PURE__ */ u.jsx(vt.ArrowDropDown, {}) }) });
|
|
14359
14346
|
}
|
|
14360
14347
|
const qC = (e) => /* @__PURE__ */ u.jsxs(B, { direction: "row", flexWrap: "nowrap", alignItems: "center", width: "100%", children: [
|
|
14361
14348
|
/* @__PURE__ */ u.jsx(B, { flexShrink: 0, children: /* @__PURE__ */ u.jsx(k2, { width: 14, height: 14, fill: "rgb(80, 109, 255)" }) }),
|
|
@@ -14590,7 +14577,7 @@ function c8(e) {
|
|
|
14590
14577
|
}
|
|
14591
14578
|
);
|
|
14592
14579
|
}
|
|
14593
|
-
const l8 = O(
|
|
14580
|
+
const l8 = O(D0)`
|
|
14594
14581
|
&.${Oo} {
|
|
14595
14582
|
--v-margin: calc((${Ks} - 36px) / 2);
|
|
14596
14583
|
--h-margin: calc((100% - 36px) / 2);
|
|
@@ -14612,7 +14599,7 @@ const l8 = O(F0)`
|
|
|
14612
14599
|
}, j2 = ({ label: e, isRequired: t, prefixNode: n, ...r }) => e ? /* @__PURE__ */ u.jsxs(
|
|
14613
14600
|
ee,
|
|
14614
14601
|
{
|
|
14615
|
-
variant: "
|
|
14602
|
+
variant: "body_sm_medium",
|
|
14616
14603
|
component: "label",
|
|
14617
14604
|
color: Z.palette.gray.gray1,
|
|
14618
14605
|
className: "hiver__field--label",
|
|
@@ -14681,7 +14668,7 @@ const l8 = O(F0)`
|
|
|
14681
14668
|
return;
|
|
14682
14669
|
const j = [];
|
|
14683
14670
|
for (let M = 0; M < i; M++) {
|
|
14684
|
-
const W =
|
|
14671
|
+
const W = sd();
|
|
14685
14672
|
j.push({ [yr]: W });
|
|
14686
14673
|
}
|
|
14687
14674
|
m(j);
|
|
@@ -14691,7 +14678,7 @@ const l8 = O(F0)`
|
|
|
14691
14678
|
return (j == null ? void 0 : j[1]) ?? "";
|
|
14692
14679
|
}, F = () => {
|
|
14693
14680
|
const j = {
|
|
14694
|
-
[yr]:
|
|
14681
|
+
[yr]: sd()
|
|
14695
14682
|
};
|
|
14696
14683
|
m([...f, j]);
|
|
14697
14684
|
}, D = (j) => {
|
|
@@ -14705,7 +14692,7 @@ const l8 = O(F0)`
|
|
|
14705
14692
|
b == null || b(e, R());
|
|
14706
14693
|
}, N = (j, { columnNames: M = [], operationType: W }) => {
|
|
14707
14694
|
const G = M.map((Y) => j[Y]);
|
|
14708
|
-
return "" +
|
|
14695
|
+
return "" + ad(G, W);
|
|
14709
14696
|
}, V = (j, M) => {
|
|
14710
14697
|
const W = f.map((G) => j !== G[yr] ? G : {
|
|
14711
14698
|
...G,
|
|
@@ -14811,7 +14798,7 @@ const l8 = O(F0)`
|
|
|
14811
14798
|
n[Y] ?? G,
|
|
14812
14799
|
" "
|
|
14813
14800
|
] }),
|
|
14814
|
-
/* @__PURE__ */ u.jsx("span", { children:
|
|
14801
|
+
/* @__PURE__ */ u.jsx("span", { children: ad(
|
|
14815
14802
|
f.map((P) => P[M]),
|
|
14816
14803
|
W
|
|
14817
14804
|
) }),
|
|
@@ -14863,6 +14850,7 @@ const f8 = O(ie)`
|
|
|
14863
14850
|
}
|
|
14864
14851
|
& .MuiOutlinedInput-root {
|
|
14865
14852
|
font-size: 13px;
|
|
14853
|
+
line-height: 19px;
|
|
14866
14854
|
}
|
|
14867
14855
|
&.MuiInputBase-root.MuiInputBase-multiline {
|
|
14868
14856
|
padding: 0px 0px;
|
|
@@ -14873,14 +14861,14 @@ const f8 = O(ie)`
|
|
|
14873
14861
|
&.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
|
|
14874
14862
|
border-width: 1px;
|
|
14875
14863
|
}
|
|
14876
|
-
`,
|
|
14864
|
+
`, Bd = O(ie)`
|
|
14877
14865
|
& .hiverFormField__placeholder {
|
|
14878
14866
|
color: #97a3b7;
|
|
14879
14867
|
}
|
|
14880
14868
|
& .formField__select {
|
|
14881
14869
|
font-size: 13px;
|
|
14882
14870
|
font-weight: 400;
|
|
14883
|
-
line-height:
|
|
14871
|
+
line-height: 19px;
|
|
14884
14872
|
color: #3e4c5a;
|
|
14885
14873
|
}
|
|
14886
14874
|
& .hiverFormField__menu-list {
|
|
@@ -14981,7 +14969,7 @@ const f8 = O(ie)`
|
|
|
14981
14969
|
height: 100%;
|
|
14982
14970
|
}
|
|
14983
14971
|
}
|
|
14984
|
-
`,
|
|
14972
|
+
`, Vd = O(ie)`
|
|
14985
14973
|
font-size: 12px;
|
|
14986
14974
|
font-weight: 400;
|
|
14987
14975
|
font-family: ${Z.typography.fontFamily};
|
|
@@ -15096,9 +15084,9 @@ const f8 = O(ie)`
|
|
|
15096
15084
|
};
|
|
15097
15085
|
function $(P, oe = !0, Re) {
|
|
15098
15086
|
let z = "";
|
|
15099
|
-
if ((C != null && C.isRequired || x) && (z = P ? "" :
|
|
15087
|
+
if ((C != null && C.isRequired || x) && (z = P ? "" : Pd, !P && typeof (C == null ? void 0 : C.isRequired) == "function")) {
|
|
15100
15088
|
const Ue = C.isRequired(P);
|
|
15101
|
-
Ue && typeof Ue == "boolean" ? z =
|
|
15089
|
+
Ue && typeof Ue == "boolean" ? z = Pd : Ue && (z = Ue);
|
|
15102
15090
|
}
|
|
15103
15091
|
let Ye = { id: f, name: p, label: h };
|
|
15104
15092
|
if (m.type === "date" ? Ye = { ...Ye, disableFuture: m.disableFuture, disablePast: m.disablePast } : m.type === "number" ? Ye = { ...Ye, min: m.min, max: m.max } : m.type === "text" && m.multiline && (Ye = { ...Ye, maxCharacters: m.maxCharacters }), P && !z && (C != null && C.validate)) {
|
|
@@ -15110,7 +15098,7 @@ const f8 = O(ie)`
|
|
|
15110
15098
|
const q = (P) => {
|
|
15111
15099
|
var oe;
|
|
15112
15100
|
F || D(!0), (oe = m.onBlur) == null || oe.call(m, P), F && y && $(m.value);
|
|
15113
|
-
}, le = () => w ? null : m.helperText ? /* @__PURE__ */ u.jsx(
|
|
15101
|
+
}, le = () => w ? null : m.helperText ? /* @__PURE__ */ u.jsx(Vd, { children: b }) : F && N ? /* @__PURE__ */ u.jsx(Vd, { className: "helper--error", children: N }) : null, pe = (P) => {
|
|
15114
15102
|
P && !F && D(!0), a == null || a(P), F && E && $(P.target.value);
|
|
15115
15103
|
}, j = (P, oe) => {
|
|
15116
15104
|
P && !F && D(!0), g == null || g(P, oe), F && E && $(oe);
|
|
@@ -15129,7 +15117,7 @@ const f8 = O(ie)`
|
|
|
15129
15117
|
return /* @__PURE__ */ u.jsx(Kc, { variant: "rounded", height: 29.69, animation: "wave" });
|
|
15130
15118
|
switch (P.type) {
|
|
15131
15119
|
case "select":
|
|
15132
|
-
return /* @__PURE__ */ u.jsx(
|
|
15120
|
+
return /* @__PURE__ */ u.jsx(Bd, { children: /* @__PURE__ */ u.jsx(
|
|
15133
15121
|
hi,
|
|
15134
15122
|
{
|
|
15135
15123
|
...P,
|
|
@@ -15144,7 +15132,7 @@ const f8 = O(ie)`
|
|
|
15144
15132
|
}
|
|
15145
15133
|
) });
|
|
15146
15134
|
case "async-select":
|
|
15147
|
-
return /* @__PURE__ */ u.jsx(
|
|
15135
|
+
return /* @__PURE__ */ u.jsx(Bd, { children: /* @__PURE__ */ u.jsx(
|
|
15148
15136
|
QC,
|
|
15149
15137
|
{
|
|
15150
15138
|
...P,
|
|
@@ -15363,7 +15351,7 @@ const f8 = O(ie)`
|
|
|
15363
15351
|
};
|
|
15364
15352
|
},
|
|
15365
15353
|
{}
|
|
15366
|
-
) : {},
|
|
15354
|
+
) : {}, Vl = ({ formFields: e }) => {
|
|
15367
15355
|
const t = {};
|
|
15368
15356
|
return e.forEach((n) => {
|
|
15369
15357
|
var r, o, i, s, a, c;
|
|
@@ -15377,11 +15365,11 @@ const f8 = O(ie)`
|
|
|
15377
15365
|
return;
|
|
15378
15366
|
}
|
|
15379
15367
|
if (n.type === "text" && n.limit) {
|
|
15380
|
-
t[n.name].validate =
|
|
15368
|
+
t[n.name].validate = Sl();
|
|
15381
15369
|
return;
|
|
15382
15370
|
}
|
|
15383
15371
|
if (n.type === "table") {
|
|
15384
|
-
const l =
|
|
15372
|
+
const l = Vl({ formFields: n.columns ?? [] });
|
|
15385
15373
|
t[n.name].validations = l;
|
|
15386
15374
|
}
|
|
15387
15375
|
if ((a = n.validations) != null && a.isUrl) {
|
|
@@ -15454,18 +15442,18 @@ const f8 = O(ie)`
|
|
|
15454
15442
|
args: t
|
|
15455
15443
|
}
|
|
15456
15444
|
});
|
|
15457
|
-
}, B8 = "https://avatars.githubusercontent.com/u/62397590",
|
|
15445
|
+
}, B8 = "https://avatars.githubusercontent.com/u/62397590", Gd = {
|
|
15458
15446
|
optionsMap: null,
|
|
15459
15447
|
createOptionApi: ne.IDLE,
|
|
15460
15448
|
dropdownOptionsApis: ne.IDLE,
|
|
15461
15449
|
previewCardData: null,
|
|
15462
15450
|
previewCardApiStatus: ne.IDLE,
|
|
15463
15451
|
selectedSuggestionType: "basic"
|
|
15464
|
-
}, W2 =
|
|
15452
|
+
}, W2 = Tl({
|
|
15465
15453
|
name: "commonSlice",
|
|
15466
|
-
initialState:
|
|
15454
|
+
initialState: Gd,
|
|
15467
15455
|
reducers: {
|
|
15468
|
-
resetState: () =>
|
|
15456
|
+
resetState: () => Gd,
|
|
15469
15457
|
resetPreviewCardData: (e) => {
|
|
15470
15458
|
e.previewCardData = null, e.previewCardApiStatus = ne.IDLE;
|
|
15471
15459
|
},
|
|
@@ -15669,8 +15657,8 @@ const f8 = O(ie)`
|
|
|
15669
15657
|
url: `${$8.replace(":formId", e)}?${i.toString()}`,
|
|
15670
15658
|
method: $e.GET
|
|
15671
15659
|
});
|
|
15672
|
-
}, K8 = "Error in previewing the card",
|
|
15673
|
-
Do you want to continue?`, ux = "Select an object to create", dx = "Select an object to link", U2 = "Select object", fx = "Paste URL or ID", hx = "Object ID/Link", px = "Card updated", gx = "Card updation failed",
|
|
15660
|
+
}, K8 = "Error in previewing the card", Hd = "Link format isn't recognized. Please check that you've entered a valid URL", ex = "Item already linked", tx = "Card linked successfully", nx = "Error in linking the card", rx = "New card created", ox = "Card creation failed", ix = "Create and link objects from different apps to this conversation", sx = "Are you sure you want to change the primary object?", ax = "Changing the primary object will reset all the information you’ve entered and all data will be lost and can’t be recovered.", cx = "Are you sure you want to leave?", lx = `If you go back now, all the information you’ve entered will be lost and can’t be recovered.
|
|
15661
|
+
Do you want to continue?`, ux = "Select an object to create", dx = "Select an object to link", U2 = "Select object", fx = "Paste URL or ID", hx = "Object ID/Link", px = "Card updated", gx = "Card updation failed", Wd = 3, Xc = (e, t) => {
|
|
15674
15662
|
var r, o, i, s, a, c, l, d, g, m, C, b, f;
|
|
15675
15663
|
let n = {};
|
|
15676
15664
|
switch (e.type) {
|
|
@@ -15729,11 +15717,11 @@ Do you want to continue?`, ux = "Select an object to create", dx = "Select an ob
|
|
|
15729
15717
|
n = { ...e };
|
|
15730
15718
|
}
|
|
15731
15719
|
return "value" in n && (n.defaultValue = n.value, delete n.value), { ...n, ...t };
|
|
15732
|
-
}, X2 =
|
|
15720
|
+
}, X2 = Tl({
|
|
15733
15721
|
name: "writeCapability",
|
|
15734
|
-
initialState:
|
|
15722
|
+
initialState: od,
|
|
15735
15723
|
reducers: {
|
|
15736
|
-
resetState: () =>
|
|
15724
|
+
resetState: () => od,
|
|
15737
15725
|
resetCurrentResourceDetails: (e) => {
|
|
15738
15726
|
e.currentResourceDetails = null, e.currentResourceDetailsApiStatus = ne.IDLE;
|
|
15739
15727
|
},
|
|
@@ -15941,7 +15929,7 @@ Do you want to continue?`, ux = "Select an object to create", dx = "Select an ob
|
|
|
15941
15929
|
return Ne({ message: jn, type: it }), t(a);
|
|
15942
15930
|
}
|
|
15943
15931
|
}
|
|
15944
|
-
), { resetState: GT, setCurrentCardInEdit: to, resetCurrentResourceDetails: mx, setHasUnsavedChanges:
|
|
15932
|
+
), { resetState: GT, setCurrentCardInEdit: to, resetCurrentResourceDetails: mx, setHasUnsavedChanges: Zd } = X2.actions, bx = X2.reducer, vx = () => {
|
|
15945
15933
|
const [e, t] = U(null), [n, r] = U({
|
|
15946
15934
|
isVertical: !1,
|
|
15947
15935
|
isHorizontal: !1,
|
|
@@ -15990,7 +15978,7 @@ Do you want to continue?`, ux = "Select an object to create", dx = "Select an ob
|
|
|
15990
15978
|
}
|
|
15991
15979
|
}), v;
|
|
15992
15980
|
}), [e, C]), f = (p, v) => /* @__PURE__ */ u.jsx(cb, { align: "left", children: p.deepLink ? /* @__PURE__ */ u.jsx(vi, { target: "_blank", underline: "none", href: p.deepLink, children: p.label }) : /* @__PURE__ */ u.jsx(ee, { variant: "body2", color: "gray.black", children: p.label }) }, `${v}_${p.label}`), h = (p) => {
|
|
15993
|
-
!p || !n || (r(!1), i(
|
|
15981
|
+
!p || !n || (r(!1), i(V1, {
|
|
15994
15982
|
card_title: n.title,
|
|
15995
15983
|
connector_name: n.connectorName,
|
|
15996
15984
|
ug_id: a,
|
|
@@ -16000,13 +15988,13 @@ Do you want to continue?`, ux = "Select an object to create", dx = "Select an ob
|
|
|
16000
15988
|
return /* @__PURE__ */ u.jsxs(B, { maxHeight: "340px", maxWidth: "700px", padding: "32px 0px 32px 32px", overflow: "auto", children: [
|
|
16001
15989
|
/* @__PURE__ */ u.jsx(ee, { variant: "h2", color: "gray.black", marginBottom: "16px", children: t }),
|
|
16002
15990
|
/* @__PURE__ */ u.jsx(zh, { ref: l, children: /* @__PURE__ */ u.jsxs(Yh, { stickyHeader: !0, children: [
|
|
16003
|
-
/* @__PURE__ */ u.jsx(ib, { children: /* @__PURE__ */ u.jsxs(
|
|
15991
|
+
/* @__PURE__ */ u.jsx(ib, { children: /* @__PURE__ */ u.jsxs(R0, { children: [
|
|
16004
15992
|
C.map((p) => /* @__PURE__ */ u.jsx(sb, { sx: { whiteSpace: "nowrap" }, children: /* @__PURE__ */ u.jsx(ee, { variant: "overline", color: "gray.gray3", children: p }) }, p)),
|
|
16005
15993
|
/* @__PURE__ */ u.jsx(ub, {})
|
|
16006
15994
|
] }) }),
|
|
16007
15995
|
/* @__PURE__ */ u.jsx(Jh, { children: b.map((p, v) => /* @__PURE__ */ u.jsxs(ab, { children: [
|
|
16008
15996
|
Object.values(p.cells).map((y, E) => f(y, E)),
|
|
16009
|
-
/* @__PURE__ */ u.jsx(lb, { children: !m && p.externalResourceId && /* @__PURE__ */ u.jsx(_e, { title:
|
|
15997
|
+
/* @__PURE__ */ u.jsx(lb, { children: !m && p.externalResourceId && /* @__PURE__ */ u.jsx(_e, { title: $1, placement: "bottom", children: /* @__PURE__ */ u.jsx(ut, { className: "row-edit", onClick: () => h(p.externalResourceId), children: /* @__PURE__ */ u.jsx("img", { src: yx }) }) }) })
|
|
16010
15998
|
] }, `id_${v}`)) })
|
|
16011
15999
|
] }) })
|
|
16012
16000
|
] });
|
|
@@ -16015,7 +16003,7 @@ Do you want to continue?`, ux = "Select an object to create", dx = "Select an ob
|
|
|
16015
16003
|
return t !== ne.IDLE || !n ? !1 : Object.values(n).every(
|
|
16016
16004
|
(r) => r === ne.IDLE || r === ne.FAILED
|
|
16017
16005
|
);
|
|
16018
|
-
}, Sx = "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", $2 = /^No\s.+\sfound\sfor\s(email|Email)\s.+@.+\..+$/,
|
|
16006
|
+
}, Sx = "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", $2 = /^No\s.+\sfound\sfor\s(email|Email)\s.+@.+\..+$/, Ud = (e) => {
|
|
16019
16007
|
const t = /\(Error code: (.*?)\)$/, n = e.match(t), r = n ? n[1] : null, o = n ? e.replace(t, "").trim() : e;
|
|
16020
16008
|
return { error_code: r, error_message: o };
|
|
16021
16009
|
}, Lx = (e, t) => `${Y1} (Error code: ${e})`.replace(/{{connector_name}}/g, (t == null ? void 0 : t[0]) || ""), Ox = (e, t, n) => {
|
|
@@ -16054,7 +16042,7 @@ function Rx(e, t, n) {
|
|
|
16054
16042
|
total_cards_with_errors: s
|
|
16055
16043
|
};
|
|
16056
16044
|
}
|
|
16057
|
-
const
|
|
16045
|
+
const Xd = (e) => {
|
|
16058
16046
|
const {
|
|
16059
16047
|
value: t,
|
|
16060
16048
|
error: n,
|
|
@@ -16073,12 +16061,12 @@ const Ud = (e) => {
|
|
|
16073
16061
|
showErrorIcon: f
|
|
16074
16062
|
} = e, h = Ie(null), p = Ie(null), { email: v, currentSmIds: y, conversationId: E, sendTrackingEvent: x, connectorFunctions: I } = Oe(Je), _ = Le(Ax), w = _ == null ? void 0 : _[m], [T, R] = U(!1), F = we(() => {
|
|
16075
16063
|
if (n && C) {
|
|
16076
|
-
const { error_message: q } =
|
|
16064
|
+
const { error_message: q } = Ud(n);
|
|
16077
16065
|
return q;
|
|
16078
16066
|
}
|
|
16079
|
-
return c ? Y1.replace(/{{connector_name}}/g, (l == null ? void 0 : l[0]) || "") :
|
|
16067
|
+
return c ? Y1.replace(/{{connector_name}}/g, (l == null ? void 0 : l[0]) || "") : Pu;
|
|
16080
16068
|
}, [n, c, l, C]), D = Te(() => {
|
|
16081
|
-
const q = n || Lx(w, l), { error_code: le, error_message: pe } =
|
|
16069
|
+
const q = n || Lx(w, l), { error_code: le, error_message: pe } = Ud(q);
|
|
16082
16070
|
x == null || x(w5, {
|
|
16083
16071
|
sm_ids: y,
|
|
16084
16072
|
frontend_req_params: {
|
|
@@ -16130,7 +16118,7 @@ const Ud = (e) => {
|
|
|
16130
16118
|
};
|
|
16131
16119
|
return i ? /* @__PURE__ */ u.jsx(er, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : J ? /* @__PURE__ */ u.jsxs(of, { gap: "7px", children: [
|
|
16132
16120
|
f ? /* @__PURE__ */ u.jsx(B, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ u.jsx("img", { src: Sx, width: "18px", height: "18px" }) }) : null,
|
|
16133
|
-
/* @__PURE__ */ u.jsx(sf, { variant: "
|
|
16121
|
+
/* @__PURE__ */ u.jsx(sf, { variant: "body_sm_regular", children: F ? $(F) : Pu })
|
|
16134
16122
|
] }) : /* @__PURE__ */ u.jsx(_e, { title: T ? V : null, placement: "bottom", children: r ? /* @__PURE__ */ u.jsx(
|
|
16135
16123
|
af,
|
|
16136
16124
|
{
|
|
@@ -16142,7 +16130,7 @@ const Ud = (e) => {
|
|
|
16142
16130
|
onClick: H,
|
|
16143
16131
|
children: V || $i
|
|
16144
16132
|
}
|
|
16145
|
-
) : /* @__PURE__ */ u.jsx(rb, { ref: h, variant: "
|
|
16133
|
+
) : /* @__PURE__ */ u.jsx(rb, { ref: h, variant: "caption_regular", children: V || $i }) });
|
|
16146
16134
|
}, Y2 = "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", Vr = ({
|
|
16147
16135
|
shown: e,
|
|
16148
16136
|
setShown: t,
|
|
@@ -16203,7 +16191,7 @@ const Ud = (e) => {
|
|
|
16203
16191
|
/* @__PURE__ */ u.jsx(er, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
|
|
16204
16192
|
/* @__PURE__ */ u.jsx(er, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
|
|
16205
16193
|
] }) : /* @__PURE__ */ u.jsx(u.Fragment, { children: q ? /* @__PURE__ */ u.jsx(ie, { margin: "8px 0", children: /* @__PURE__ */ u.jsx(
|
|
16206
|
-
|
|
16194
|
+
Xd,
|
|
16207
16195
|
{
|
|
16208
16196
|
error: C,
|
|
16209
16197
|
isLoading: l,
|
|
@@ -16219,9 +16207,9 @@ const Ud = (e) => {
|
|
|
16219
16207
|
) }) : D != null && D.length ? D == null ? void 0 : D.map((G) => {
|
|
16220
16208
|
const { value: Y, label: ce, deepLink: se, type: P } = G, oe = "errorMessage" in G ? G.errorMessage : null, Re = "statusCode" in G ? G.statusCode : null;
|
|
16221
16209
|
return /* @__PURE__ */ u.jsxs("div", { children: [
|
|
16222
|
-
/* @__PURE__ */ u.jsx(eb, { variant: "
|
|
16210
|
+
/* @__PURE__ */ u.jsx(eb, { variant: "overline_medium", children: ce }),
|
|
16223
16211
|
/* @__PURE__ */ u.jsx(
|
|
16224
|
-
|
|
16212
|
+
Xd,
|
|
16225
16213
|
{
|
|
16226
16214
|
value: Y,
|
|
16227
16215
|
error: oe,
|
|
@@ -16236,11 +16224,11 @@ const Ud = (e) => {
|
|
|
16236
16224
|
}
|
|
16237
16225
|
)
|
|
16238
16226
|
] }, ce);
|
|
16239
|
-
}) : /* @__PURE__ */ u.jsx(ie, { margin: "8px 0", children: /* @__PURE__ */ u.jsx(sf, { children: e4 }) }) }) }) }),
|
|
16240
|
-
!C && le && /* @__PURE__ */ u.jsx(fb, { variant: "
|
|
16241
|
-
p ? $b :
|
|
16227
|
+
}) : /* @__PURE__ */ u.jsx(ie, { margin: "8px 0", children: /* @__PURE__ */ u.jsx(sf, { variant: "body_sm_regular", children: e4 }) }) }) }) }),
|
|
16228
|
+
!C && le && /* @__PURE__ */ u.jsx(fb, { variant: "body_xs_medium", onClick: pe, children: x ? /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
16229
|
+
p ? $b : $u,
|
|
16242
16230
|
/* @__PURE__ */ u.jsx(db, { src: Xb, transformAngle: H })
|
|
16243
|
-
] }) :
|
|
16231
|
+
] }) : $u })
|
|
16244
16232
|
] });
|
|
16245
16233
|
}, Fx = {
|
|
16246
16234
|
connectorCards: null,
|
|
@@ -16268,7 +16256,7 @@ const Ud = (e) => {
|
|
|
16268
16256
|
url: `${Nx.replace(":id", e)}?${o.toString()}`,
|
|
16269
16257
|
method: $e.GET
|
|
16270
16258
|
});
|
|
16271
|
-
}, Q2 =
|
|
16259
|
+
}, Q2 = Tl({
|
|
16272
16260
|
name: "connectorCardLibrary",
|
|
16273
16261
|
initialState: Fx,
|
|
16274
16262
|
reducers: {
|
|
@@ -16360,7 +16348,7 @@ const Ud = (e) => {
|
|
|
16360
16348
|
});
|
|
16361
16349
|
}
|
|
16362
16350
|
}
|
|
16363
|
-
), Px = Q2.reducer,
|
|
16351
|
+
), Px = Q2.reducer, $d = Q2.actions, K2 = "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", jx = "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", Bx = "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", eh = (e) => e.write.createObjectList, Vx = (e) => e.write.createObjectConnectorNamesList, th = (e) => e.write.linkObjectList, Gx = (e) => e.write.editObjectList, Hx = (e) => e.write.objectDict, Wx = (e) => e.write.formFields, Zx = (e) => e.write.linkCardApiStatus, Ux = (e) => e.write.unlinkCardApiStatus, Xx = (e) => e.write.dependentFieldsMap, $x = (e) => e.write.createFormApiStatus, zx = (e) => e.write.updateFormApiStatus, Yx = (e) => e.write.currentResourceDetails, Jx = (e) => e.write.currentResourceDetailsApiStatus, nh = (e) => e.write.currentCardInEdit, rh = (e) => e.write.hasUnsavedChanges, qx = (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, zd = (e) => Object.keys(e).sort((n, r) => r.localeCompare(n)).reduce((n, r) => {
|
|
16364
16352
|
var o;
|
|
16365
16353
|
return (typeof e[r] == "string" || typeof e[r] == "object" && e[r] !== null) && qx(e[r]) ? n[r] = (o = /* @__PURE__ */ new Date(`${e[r]}`)) == null ? void 0 : o.toString() : n[r] = e[r], n;
|
|
16366
16354
|
}, {}), Qx = (e) => s4.replace("{{connectorName}}", e), Kx = ({
|
|
@@ -16393,7 +16381,7 @@ const Ud = (e) => {
|
|
|
16393
16381
|
/* @__PURE__ */ u.jsx(ee, { variant: "body2", children: Qx(s) }),
|
|
16394
16382
|
/* @__PURE__ */ u.jsxs(B, { direction: "row", gap: "8px", marginTop: "20px", justifyContent: "flex-end", children: [
|
|
16395
16383
|
/* @__PURE__ */ u.jsx(Ze, { variant: "text", onClick: () => t(!1), children: yl }),
|
|
16396
|
-
/* @__PURE__ */ u.jsx(Ze, { disabled: d, color: "error", onClick: g, children:
|
|
16384
|
+
/* @__PURE__ */ u.jsx(Ze, { disabled: d, color: "error", onClick: g, children: X1 })
|
|
16397
16385
|
] })
|
|
16398
16386
|
] }) });
|
|
16399
16387
|
}, eE = ({ actions: e, isHovered: t = !1 }) => {
|
|
@@ -16416,7 +16404,7 @@ const Ud = (e) => {
|
|
|
16416
16404
|
} = e, a = ln(), { availableFeatures: c, sendTrackingEvent: l, conversationId: d, currentSmIds: g } = Oe(Je), { userGroupId: m } = _n() || {}, [C, b] = U(!!i), [f, h] = U(!1), [p, v] = U(!1), [y, E] = U(!1), { id: x, title: I, externalResourceId: _ = "", forms: w = [], logoUrl: T } = t;
|
|
16417
16405
|
let R = x;
|
|
16418
16406
|
_ && (R = `${R}_${_}`);
|
|
16419
|
-
const { data: F, cardType: D, cardErrorMessage: N, connectorNames: V } = (n == null ? void 0 : n[R]) ?? {}, J = (V == null ? void 0 : V[0]) || "", Q = (o == null ? void 0 : o[R]) === ne.LOADING, H = (o == null ? void 0 : o[R]) === ne.FAILED, $ = !!(ft(c,
|
|
16407
|
+
const { data: F, cardType: D, cardErrorMessage: N, connectorNames: V } = (n == null ? void 0 : n[R]) ?? {}, J = (V == null ? void 0 : V[0]) || "", Q = (o == null ? void 0 : o[R]) === ne.LOADING, H = (o == null ? void 0 : o[R]) === ne.FAILED, $ = !!(ft(c, G1) && _), q = we(() => {
|
|
16420
16408
|
var P, oe;
|
|
16421
16409
|
if (N || H || !(ft(c, U5) && w.some((Re) => Re.type === "edit")))
|
|
16422
16410
|
return !1;
|
|
@@ -16433,13 +16421,13 @@ const Ud = (e) => {
|
|
|
16433
16421
|
const oe = P ? m5 : g5;
|
|
16434
16422
|
r && x && d && a(Ko({ id: x, email: r, conversationId: d, externalResourceId: _ })).unwrap().then((Re) => {
|
|
16435
16423
|
const z = {
|
|
16436
|
-
...
|
|
16424
|
+
...Bu(Re, I, P, !0),
|
|
16437
16425
|
sm_ids: g
|
|
16438
16426
|
};
|
|
16439
16427
|
l(oe, z);
|
|
16440
16428
|
}).catch((Re) => {
|
|
16441
16429
|
const z = {
|
|
16442
|
-
...
|
|
16430
|
+
...Bu(Re, I, P, !1),
|
|
16443
16431
|
sm_ids: g
|
|
16444
16432
|
};
|
|
16445
16433
|
l(oe, z);
|
|
@@ -16469,7 +16457,7 @@ const Ud = (e) => {
|
|
|
16469
16457
|
h(!!oe);
|
|
16470
16458
|
}, W = (P) => {
|
|
16471
16459
|
var Re, z;
|
|
16472
|
-
P.stopPropagation(), l(
|
|
16460
|
+
P.stopPropagation(), l(V1, {
|
|
16473
16461
|
card_title: I,
|
|
16474
16462
|
connector_name: J,
|
|
16475
16463
|
ug_id: m,
|
|
@@ -16486,7 +16474,7 @@ const Ud = (e) => {
|
|
|
16486
16474
|
}, se = [
|
|
16487
16475
|
{
|
|
16488
16476
|
id: "unlink",
|
|
16489
|
-
label:
|
|
16477
|
+
label: X1,
|
|
16490
16478
|
disabled: Q,
|
|
16491
16479
|
shown: $,
|
|
16492
16480
|
iconSrc: jx,
|
|
@@ -16494,7 +16482,7 @@ const Ud = (e) => {
|
|
|
16494
16482
|
},
|
|
16495
16483
|
{
|
|
16496
16484
|
id: "refresh",
|
|
16497
|
-
label:
|
|
16485
|
+
label: H1,
|
|
16498
16486
|
disabled: Q,
|
|
16499
16487
|
shown: !0,
|
|
16500
16488
|
iconSrc: K2,
|
|
@@ -16502,7 +16490,7 @@ const Ud = (e) => {
|
|
|
16502
16490
|
},
|
|
16503
16491
|
{
|
|
16504
16492
|
id: "edit",
|
|
16505
|
-
label:
|
|
16493
|
+
label: $1,
|
|
16506
16494
|
disabled: Q,
|
|
16507
16495
|
shown: q,
|
|
16508
16496
|
iconSrc: Bx,
|
|
@@ -16513,11 +16501,19 @@ const Ud = (e) => {
|
|
|
16513
16501
|
/* @__PURE__ */ u.jsxs(J4, { className: C ? "hiver-card-expanded" : "", onClick: (P) => j(P, R), children: [
|
|
16514
16502
|
/* @__PURE__ */ u.jsxs(q4, { children: [
|
|
16515
16503
|
T && /* @__PURE__ */ u.jsx("img", { src: T, alt: I }),
|
|
16516
|
-
/* @__PURE__ */ u.jsx(_e, { title: f ? I : "", placement: "bottom", children: /* @__PURE__ */ u.jsx(
|
|
16504
|
+
/* @__PURE__ */ u.jsx(_e, { title: f ? I : "", placement: "bottom", children: /* @__PURE__ */ u.jsx(
|
|
16505
|
+
Q4,
|
|
16506
|
+
{
|
|
16507
|
+
variant: "body_sm_regular",
|
|
16508
|
+
onMouseOver: (P) => M(P),
|
|
16509
|
+
onMouseLeave: (P) => M(P),
|
|
16510
|
+
children: I
|
|
16511
|
+
}
|
|
16512
|
+
) })
|
|
16517
16513
|
] }),
|
|
16518
16514
|
/* @__PURE__ */ u.jsxs(of, { children: [
|
|
16519
16515
|
/* @__PURE__ */ u.jsx(eE, { actions: se, isHovered: y }),
|
|
16520
|
-
/* @__PURE__ */ u.jsx(_e, { title: C ?
|
|
16516
|
+
/* @__PURE__ */ u.jsx(_e, { title: C ? W1 : bl, placement: "bottom", children: /* @__PURE__ */ u.jsx(vo, { onClick: (P) => j(P, R), children: /* @__PURE__ */ u.jsx(El, { className: C ? "" : "hiver-up" }) }) })
|
|
16521
16517
|
] })
|
|
16522
16518
|
] }),
|
|
16523
16519
|
/* @__PURE__ */ u.jsx(
|
|
@@ -16612,7 +16608,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16612
16608
|
color: ${Z.palette.gray.gray1};
|
|
16613
16609
|
font-size: 13px;
|
|
16614
16610
|
margin-bottom: 24px;
|
|
16615
|
-
`,
|
|
16611
|
+
`, Yd = O(Ze)`
|
|
16616
16612
|
width: 100%;
|
|
16617
16613
|
color: ${Z.palette.gray.black};
|
|
16618
16614
|
background-color: white;
|
|
@@ -16632,7 +16628,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16632
16628
|
color: ${Z.palette.gray.gray3};
|
|
16633
16629
|
`, wE = O(ee)`
|
|
16634
16630
|
color: ${Z.palette.gray.gray3};
|
|
16635
|
-
`, _E = "https://cdn.hiverhq.com/connectors-module/assets/PlugIn.svg", AE = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_HIVER_CDN_URL: "https://cdn.hiverhq.com/", VITE_MY_ENV_VAR: "myVariable From Agent" }, { VITE_HIVER_CDN_URL: TE } = AE,
|
|
16631
|
+
`, _E = "https://cdn.hiverhq.com/connectors-module/assets/PlugIn.svg", AE = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_HIVER_CDN_URL: "https://cdn.hiverhq.com/", VITE_MY_ENV_VAR: "myVariable From Agent" }, { VITE_HIVER_CDN_URL: TE } = AE, Jd = ({ isAdmin: e = !0, hideHeading: t = !1 }) => {
|
|
16636
16632
|
const { sendTrackingEvent: n, availableFeatures: r, connectorFunctions: o } = Oe(Je), i = ft(r, W5), s = ft(r, Hs), a = (g) => {
|
|
16637
16633
|
g.stopPropagation(), n(q3), o == null || o.redirectToAdmin();
|
|
16638
16634
|
}, c = (g) => {
|
|
@@ -16659,7 +16655,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16659
16655
|
] }),
|
|
16660
16656
|
/* @__PURE__ */ u.jsx(xE, { variant: "body2", children: sE }),
|
|
16661
16657
|
e ? /* @__PURE__ */ u.jsx(
|
|
16662
|
-
|
|
16658
|
+
Yd,
|
|
16663
16659
|
{
|
|
16664
16660
|
endIcon: /* @__PURE__ */ u.jsx(vt.ArrowForward, {}),
|
|
16665
16661
|
onClick: a,
|
|
@@ -16667,7 +16663,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16667
16663
|
children: s ? cE : aE
|
|
16668
16664
|
}
|
|
16669
16665
|
) : /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
16670
|
-
/* @__PURE__ */ u.jsx(
|
|
16666
|
+
/* @__PURE__ */ u.jsx(Yd, { onClick: c, children: lE }),
|
|
16671
16667
|
/* @__PURE__ */ u.jsxs(EE, { direction: "row", children: [
|
|
16672
16668
|
/* @__PURE__ */ u.jsx(IE, {}),
|
|
16673
16669
|
/* @__PURE__ */ u.jsx(wE, { variant: "caption", children: dE })
|
|
@@ -16689,7 +16685,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16689
16685
|
alignItems: "center",
|
|
16690
16686
|
children: [
|
|
16691
16687
|
t ? /* @__PURE__ */ u.jsx(K1, { width: "20px", height: "20px" }) : /* @__PURE__ */ u.jsx(tf, {}),
|
|
16692
|
-
/* @__PURE__ */ u.jsx(nf, { variant: "
|
|
16688
|
+
/* @__PURE__ */ u.jsx(nf, { variant: "body_sm_medium", children: t ? vl : Z1 })
|
|
16693
16689
|
]
|
|
16694
16690
|
}
|
|
16695
16691
|
),
|
|
@@ -16730,7 +16726,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16730
16726
|
/* @__PURE__ */ u.jsx(hb, { variant: "h3", children: m }),
|
|
16731
16727
|
/* @__PURE__ */ u.jsxs(ie, { children: [
|
|
16732
16728
|
o ? /* @__PURE__ */ u.jsx(_e, { title: n4, placement: "bottom", children: /* @__PURE__ */ u.jsx(ut, { onClick: y, children: /* @__PURE__ */ u.jsx(vt.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
|
|
16733
|
-
/* @__PURE__ */ u.jsx(_e, { title: o ? t4 : bl, placement: "bottom", children: /* @__PURE__ */ u.jsx(vo, { onClick: p, children: /* @__PURE__ */ u.jsx(
|
|
16729
|
+
/* @__PURE__ */ u.jsx(_e, { title: o ? t4 : bl, placement: "bottom", children: /* @__PURE__ */ u.jsx(vo, { onClick: p, children: /* @__PURE__ */ u.jsx(El, { className: o ? "" : "hiver-up" }) }) })
|
|
16734
16730
|
] })
|
|
16735
16731
|
] }),
|
|
16736
16732
|
/* @__PURE__ */ u.jsx(mb, { className: o ? "slideDown" : "slideUp", ref: s, height: a, children: /* @__PURE__ */ u.jsxs(bb, { children: [
|
|
@@ -16779,14 +16775,14 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16779
16775
|
}, [e]), { textRef: t, isOverflow: n };
|
|
16780
16776
|
}, FE = (e) => {
|
|
16781
16777
|
const { textRef: t, isOverflow: n } = oh(e.data.label);
|
|
16782
|
-
return /* @__PURE__ */ u.jsx(_e, { title: n ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ u.jsx(Ib, { ref: t, variant: "
|
|
16778
|
+
return /* @__PURE__ */ u.jsx(_e, { title: n ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ u.jsx(Ib, { ref: t, variant: "body_sm_regular", paddingTop: n ? "5px" : "0px", children: e.data.label }) });
|
|
16783
16779
|
}, DE = (e) => /* @__PURE__ */ u.jsxs(Sn.MenuList, { ...e, children: [
|
|
16784
|
-
/* @__PURE__ */ u.jsx(wb, { children: /* @__PURE__ */ u.jsx(ee, { variant: "
|
|
16780
|
+
/* @__PURE__ */ u.jsx(wb, { children: /* @__PURE__ */ u.jsx(ee, { variant: "body_sm_medium", children: Jb }) }),
|
|
16785
16781
|
e.children
|
|
16786
16782
|
] }), NE = (e) => {
|
|
16787
16783
|
const { isSelected: t } = e, { textRef: n, isOverflow: r } = oh(e.data.label);
|
|
16788
16784
|
return /* @__PURE__ */ u.jsx(Sn.Option, { ...e, children: /* @__PURE__ */ u.jsxs(B, { direction: "row", gap: "5px", justifyContent: "space-between", alignItems: "center", children: [
|
|
16789
|
-
/* @__PURE__ */ u.jsx(_e, { title: r ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ u.jsx(_b, { ref: n, className: "dropdown-item-text", variant: "
|
|
16785
|
+
/* @__PURE__ */ u.jsx(_e, { title: r ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ u.jsx(_b, { ref: n, className: "dropdown-item-text", variant: "body_sm_regular", children: e.data.label }) }),
|
|
16790
16786
|
t ? /* @__PURE__ */ u.jsx("img", { src: RE, width: "14px", height: "14px" }) : null
|
|
16791
16787
|
] }) });
|
|
16792
16788
|
}, kE = (e) => /* @__PURE__ */ u.jsx(Sn.ValueContainer, { ...e, children: /* @__PURE__ */ u.jsxs(B, { direction: "row", alignItems: "center", gap: "4px", children: [
|
|
@@ -16909,7 +16905,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16909
16905
|
/* @__PURE__ */ u.jsxs(BE, { className: "layover-paper", elevation: 0, children: [
|
|
16910
16906
|
/* @__PURE__ */ u.jsxs(B, { direction: "row", alignItems: "center", marginLeft: "-8px", children: [
|
|
16911
16907
|
/* @__PURE__ */ u.jsx(_e, { title: i, placement: "bottom", children: /* @__PURE__ */ u.jsx(ut, { onClick: r, children: /* @__PURE__ */ u.jsx(VE, { src: HE }) }) }),
|
|
16912
|
-
/* @__PURE__ */ u.jsx(ee, { children: o })
|
|
16908
|
+
/* @__PURE__ */ u.jsx(ee, { variant: "body_sm_medium", children: o })
|
|
16913
16909
|
] }),
|
|
16914
16910
|
/* @__PURE__ */ u.jsx(GE, { children: e })
|
|
16915
16911
|
] }),
|
|
@@ -16977,8 +16973,8 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
16977
16973
|
) })
|
|
16978
16974
|
] }),
|
|
16979
16975
|
/* @__PURE__ */ u.jsxs(B, { direction: "row", alignItems: "center", children: [
|
|
16980
|
-
a ? /* @__PURE__ */ u.jsx(_e, { title:
|
|
16981
|
-
/* @__PURE__ */ u.jsx(_e, { title: a ?
|
|
16976
|
+
a ? /* @__PURE__ */ u.jsx(_e, { title: H1, placement: "bottom", children: /* @__PURE__ */ u.jsx(vo, { onClick: (f) => b(f), children: /* @__PURE__ */ u.jsx("img", { src: K2 }) }) }) : null,
|
|
16977
|
+
/* @__PURE__ */ u.jsx(_e, { title: a ? W1 : bl, placement: "bottom", children: /* @__PURE__ */ u.jsx(vo, { onClick: () => c((f) => !f), children: /* @__PURE__ */ u.jsx(El, { className: a ? "" : "hiver-up" }) }) })
|
|
16982
16978
|
] })
|
|
16983
16979
|
] }),
|
|
16984
16980
|
/* @__PURE__ */ u.jsx(
|
|
@@ -17101,7 +17097,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17101
17097
|
handleValidationError: d,
|
|
17102
17098
|
clearDependentFields: g
|
|
17103
17099
|
};
|
|
17104
|
-
},
|
|
17100
|
+
}, qd = ({ formFields: e, formId: t, formState: n, appDispatch: r }) => e.reduce((o, i) => {
|
|
17105
17101
|
if (i.type !== "async-select" || !i.interfaceDetails)
|
|
17106
17102
|
return o;
|
|
17107
17103
|
const s = i.interfaceDetails, a = {
|
|
@@ -17136,7 +17132,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17136
17132
|
...o,
|
|
17137
17133
|
[i.name]: a
|
|
17138
17134
|
};
|
|
17139
|
-
}, {}),
|
|
17135
|
+
}, {}), Qd = ({
|
|
17140
17136
|
formFields: e,
|
|
17141
17137
|
formId: t,
|
|
17142
17138
|
formState: n,
|
|
@@ -17176,12 +17172,12 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17176
17172
|
}, {}), dh = ({ formFields: e, formState: t, formId: n, conversationId: r }) => {
|
|
17177
17173
|
const o = ln(), i = we(() => {
|
|
17178
17174
|
if (e && e.length) {
|
|
17179
|
-
const a =
|
|
17175
|
+
const a = qd({ formFields: e, formId: n, formState: t, appDispatch: o });
|
|
17180
17176
|
return e.reduce((l, d) => {
|
|
17181
17177
|
const g = d.columns;
|
|
17182
17178
|
if (!g)
|
|
17183
17179
|
return l;
|
|
17184
|
-
const m =
|
|
17180
|
+
const m = qd({ formFields: g, formId: n, formState: t, appDispatch: o });
|
|
17185
17181
|
return {
|
|
17186
17182
|
...l,
|
|
17187
17183
|
[d.name]: {
|
|
@@ -17192,12 +17188,12 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17192
17188
|
}
|
|
17193
17189
|
return null;
|
|
17194
17190
|
}, [e, t, n, o]), s = we(() => {
|
|
17195
|
-
const a =
|
|
17191
|
+
const a = Qd({ formFields: e, formId: n, formState: t, conversationId: r, appDispatch: o });
|
|
17196
17192
|
return e.reduce((l, d) => {
|
|
17197
17193
|
const g = d.columns;
|
|
17198
17194
|
if (!g)
|
|
17199
17195
|
return l;
|
|
17200
|
-
const m =
|
|
17196
|
+
const m = Qd({
|
|
17201
17197
|
formFields: g,
|
|
17202
17198
|
formId: n,
|
|
17203
17199
|
formState: t,
|
|
@@ -17249,7 +17245,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17249
17245
|
},
|
|
17250
17246
|
i.label.split(" ").join("_").toLowerCase()
|
|
17251
17247
|
)) })
|
|
17252
|
-
] }) }), hh = "connector-agent-expanded-write-form",
|
|
17248
|
+
] }) }), hh = "connector-agent-expanded-write-form", Kd = ({
|
|
17253
17249
|
metaData: e,
|
|
17254
17250
|
isEdit: t = !1,
|
|
17255
17251
|
defaultOption: n,
|
|
@@ -17288,7 +17284,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17288
17284
|
];
|
|
17289
17285
|
return {
|
|
17290
17286
|
formConfigs: ct,
|
|
17291
|
-
formViewConfigs: G ? S8(Fe,
|
|
17287
|
+
formViewConfigs: G ? S8(Fe, Wd) : ct
|
|
17292
17288
|
};
|
|
17293
17289
|
}
|
|
17294
17290
|
const be = [{ id: "emptyFormId", formFields: [] }];
|
|
@@ -17299,7 +17295,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17299
17295
|
}, [T, W, a, G]), se = we(() => {
|
|
17300
17296
|
var Fe;
|
|
17301
17297
|
const be = ((Fe = Y == null ? void 0 : Y[0]) == null ? void 0 : Fe.formFields) || [];
|
|
17302
|
-
return
|
|
17298
|
+
return Vl({ formFields: be });
|
|
17303
17299
|
}, [Y]), {
|
|
17304
17300
|
setValue: P,
|
|
17305
17301
|
inputChangeHandler: oe,
|
|
@@ -17318,8 +17314,8 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17318
17314
|
G && v && v(!1);
|
|
17319
17315
|
}), [G, v]), ue(() => {
|
|
17320
17316
|
Qt(
|
|
17321
|
-
|
|
17322
|
-
t ? !(V && "values" in V && "values" in x && JSON.stringify(
|
|
17317
|
+
Zd(
|
|
17318
|
+
t ? !(V && "values" in V && "values" in x && JSON.stringify(zd(x.values)) === JSON.stringify(zd(V.values))) : (e == null ? void 0 : e.fields_filled) !== void 0 && e.fields_filled > 0
|
|
17323
17319
|
)
|
|
17324
17320
|
);
|
|
17325
17321
|
}, [t, e, V, x, Qt]), ue(() => (t && V && I({ type: qt.SET_FIELDS, payload: V }), () => {
|
|
@@ -17462,7 +17458,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17462
17458
|
}
|
|
17463
17459
|
),
|
|
17464
17460
|
G ? /* @__PURE__ */ u.jsxs(qE, { children: [
|
|
17465
|
-
/* @__PURE__ */ u.jsxs(ee, { children: [
|
|
17461
|
+
/* @__PURE__ */ u.jsxs(ee, { variant: "body_sm_medium", children: [
|
|
17466
17462
|
t ? "Edit" : "Add",
|
|
17467
17463
|
" to ",
|
|
17468
17464
|
H.connectorName
|
|
@@ -17502,7 +17498,7 @@ const oE = "Bring your favourite tools into Hiver", iE = "Plugin image", sE = "I
|
|
|
17502
17498
|
values: x.values,
|
|
17503
17499
|
validations: se,
|
|
17504
17500
|
...G ? {
|
|
17505
|
-
cols:
|
|
17501
|
+
cols: Wd,
|
|
17506
17502
|
stackIndex: y.expandedForm
|
|
17507
17503
|
} : null
|
|
17508
17504
|
}
|
|
@@ -17607,7 +17603,7 @@ const KE = O(ph)`
|
|
|
17607
17603
|
externalResourceId: g
|
|
17608
17604
|
}, y = o === ne.LOADING, E = i === ne.LOADING, x = () => {
|
|
17609
17605
|
!a && l && "value" in l && (h(f5, { object_type: l.label }), n(eo({ id: String(l == null ? void 0 : l.value), args: v })).unwrap().catch((D) => {
|
|
17610
|
-
(D == null ? void 0 : D.status) === 400 ? Ne({ message:
|
|
17606
|
+
(D == null ? void 0 : D.status) === 400 ? Ne({ message: Hd, type: it }) : Ne({ message: K8, type: it });
|
|
17611
17607
|
})), c((D) => !D);
|
|
17612
17608
|
}, I = () => {
|
|
17613
17609
|
l && "value" in l && f && n(rs({ id: String(l.value), externalResourceId: g, conversationId: f, email: p })).unwrap().then(() => {
|
|
@@ -17616,7 +17612,7 @@ const KE = O(ph)`
|
|
|
17616
17612
|
input_type: g
|
|
17617
17613
|
}), Ne({ message: tx, type: An }), e(!1), t();
|
|
17618
17614
|
}).catch((D) => {
|
|
17619
|
-
(D == null ? void 0 : D.status) === 400 ? Ne({ message:
|
|
17615
|
+
(D == null ? void 0 : D.status) === 400 ? Ne({ message: Hd, type: it }) : (D == null ? void 0 : D.status) === 409 ? Ne({ message: ex, type: it }) : Ne({ message: nx, type: it });
|
|
17620
17616
|
});
|
|
17621
17617
|
}, _ = () => {
|
|
17622
17618
|
e(!1), c(!1);
|
|
@@ -17686,7 +17682,7 @@ const KE = O(ph)`
|
|
|
17686
17682
|
)
|
|
17687
17683
|
] }),
|
|
17688
17684
|
/* @__PURE__ */ u.jsxs(gh, { children: [
|
|
17689
|
-
/* @__PURE__ */ u.jsx(Ze, { onClick: I, disabled: F() || E, size: "small", children:
|
|
17685
|
+
/* @__PURE__ */ u.jsx(Ze, { onClick: I, disabled: F() || E, size: "small", children: U1 }),
|
|
17690
17686
|
/* @__PURE__ */ u.jsx(
|
|
17691
17687
|
vh,
|
|
17692
17688
|
{
|
|
@@ -17733,7 +17729,7 @@ const KE = O(ph)`
|
|
|
17733
17729
|
/* @__PURE__ */ u.jsxs(B, { gap: "12px", children: [
|
|
17734
17730
|
n ? /* @__PURE__ */ u.jsxs(nI, { fullWidth: !0, onClick: e, size: "medium", children: [
|
|
17735
17731
|
/* @__PURE__ */ u.jsx(rI, {}),
|
|
17736
|
-
/* @__PURE__ */ u.jsx("span", { className: "content__btn", children:
|
|
17732
|
+
/* @__PURE__ */ u.jsx("span", { className: "content__btn", children: Cl })
|
|
17737
17733
|
] }) : null,
|
|
17738
17734
|
r ? /* @__PURE__ */ u.jsxs(tI, { fullWidth: !0, color: "tertiary", variant: "outlined", onClick: t, size: "medium", children: [
|
|
17739
17735
|
/* @__PURE__ */ u.jsx(oI, {}),
|
|
@@ -17872,7 +17868,7 @@ const KE = O(ph)`
|
|
|
17872
17868
|
formFields: a[e]
|
|
17873
17869
|
} : { id: "emptyFormId", formFields: [] }, [a, e]), d = we(() => {
|
|
17874
17870
|
const x = (l == null ? void 0 : l.formFields) || [];
|
|
17875
|
-
return
|
|
17871
|
+
return Vl({ formFields: x });
|
|
17876
17872
|
}, [l]), {
|
|
17877
17873
|
setValue: g,
|
|
17878
17874
|
inputChangeHandler: m,
|
|
@@ -18162,7 +18158,7 @@ const KE = O(ph)`
|
|
|
18162
18158
|
args: h
|
|
18163
18159
|
}
|
|
18164
18160
|
),
|
|
18165
|
-
/* @__PURE__ */ u.jsx(B, { alignItems: "flex-end", children: /* @__PURE__ */ u.jsx(Ze, { size: "small", disabled: f || b, onClick: p, children:
|
|
18161
|
+
/* @__PURE__ */ u.jsx(B, { alignItems: "flex-end", children: /* @__PURE__ */ u.jsx(Ze, { size: "small", disabled: f || b, onClick: p, children: U1 }) })
|
|
18166
18162
|
] })
|
|
18167
18163
|
] });
|
|
18168
18164
|
}, _h = O(B)`
|
|
@@ -18230,7 +18226,7 @@ const KE = O(ph)`
|
|
|
18230
18226
|
let $c = {};
|
|
18231
18227
|
const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
18232
18228
|
$c = { ...$c, [e]: t }, zc.forEach((n) => n());
|
|
18233
|
-
}, qI = (e) => (zc.add(e), () => zc.delete(e)), HT = (e) =>
|
|
18229
|
+
}, qI = (e) => (zc.add(e), () => zc.delete(e)), HT = (e) => T0(qI, () => $c)[e], QI = async ({ id: e, searchString: t, args: n }) => {
|
|
18234
18230
|
try {
|
|
18235
18231
|
if (e === void 0 || t === void 0)
|
|
18236
18232
|
return [];
|
|
@@ -18255,7 +18251,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18255
18251
|
onSuccess: (n, { searchString: r, connectorName: o }) => {
|
|
18256
18252
|
t(r, n, o);
|
|
18257
18253
|
}
|
|
18258
|
-
}),
|
|
18254
|
+
}), e0 = {
|
|
18259
18255
|
/**
|
|
18260
18256
|
* Custom Event triggered to open expanded form view.
|
|
18261
18257
|
* @param {Object} detail - detail passed when creating custom event.
|
|
@@ -18313,12 +18309,12 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18313
18309
|
borderRadius: "8px",
|
|
18314
18310
|
fontWeight: 400,
|
|
18315
18311
|
"& .MuiOutlinedInput-notchedOutline": { borderColor: "#ECEFF6" }
|
|
18316
|
-
}, aw = { border: `1px solid ${Z.palette.gray.gray5}`, borderRadius: "8px", padding: "12px" },
|
|
18312
|
+
}, aw = { border: `1px solid ${Z.palette.gray.gray5}`, borderRadius: "8px", padding: "12px" }, t0 = { flex: 1, height: "1px", backgroundColor: Z.palette.gray.gray6 }, cw = { flexShrink: 0, border: `1px solid ${Z.palette.gray.gray6}`, borderRadius: "15px" }, lw = {
|
|
18317
18313
|
border: `1px solid ${Z.palette.gray.gray6}`,
|
|
18318
18314
|
backgroundColor: Z.palette.gray.gray6a,
|
|
18319
18315
|
borderRadius: "8px",
|
|
18320
18316
|
padding: "8px 10px"
|
|
18321
|
-
}, uw =
|
|
18317
|
+
}, uw = S0(function({
|
|
18322
18318
|
connector: t,
|
|
18323
18319
|
selectedHiverParam: n,
|
|
18324
18320
|
onChange: r,
|
|
@@ -18353,10 +18349,10 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18353
18349
|
/* @__PURE__ */ u.jsx("span", { children: l })
|
|
18354
18350
|
] });
|
|
18355
18351
|
},
|
|
18356
|
-
children: (t.presets ?? []).map((c) => /* @__PURE__ */ u.jsx(
|
|
18352
|
+
children: (t.presets ?? []).map((c) => /* @__PURE__ */ u.jsx(L0, { value: c.hiverParam, sx: { fontSize: "14px" }, children: c.label }, c.hiverParam))
|
|
18357
18353
|
}
|
|
18358
18354
|
),
|
|
18359
|
-
/* @__PURE__ */ u.jsx(ie, { sx:
|
|
18355
|
+
/* @__PURE__ */ u.jsx(ie, { sx: t0 }),
|
|
18360
18356
|
/* @__PURE__ */ u.jsxs(B, { direction: "row", alignItems: "center", gap: "4px", padding: "4px 12px", sx: cw, children: [
|
|
18361
18357
|
t.logo && /* @__PURE__ */ u.jsx("img", { src: t.logo, width: 16, height: 16, alt: t.connectorName }),
|
|
18362
18358
|
/* @__PURE__ */ u.jsxs(ee, { variant: "body2", color: Z.palette.gray.gray3, children: [
|
|
@@ -18365,10 +18361,10 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18365
18361
|
"'s"
|
|
18366
18362
|
] })
|
|
18367
18363
|
] }),
|
|
18368
|
-
/* @__PURE__ */ u.jsx(ie, { sx:
|
|
18364
|
+
/* @__PURE__ */ u.jsx(ie, { sx: t0 }),
|
|
18369
18365
|
/* @__PURE__ */ u.jsx(ie, { sx: lw, children: /* @__PURE__ */ u.jsx(ee, { variant: "body2", fontSize: 14, children: i }) })
|
|
18370
18366
|
] });
|
|
18371
|
-
}), dw =
|
|
18367
|
+
}), dw = S0(function({
|
|
18372
18368
|
open: t,
|
|
18373
18369
|
onClose: n,
|
|
18374
18370
|
connectors: r,
|
|
@@ -18452,9 +18448,9 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18452
18448
|
}, [n, e]);
|
|
18453
18449
|
}, hw = ({ isAdmin: e = !1 }) => {
|
|
18454
18450
|
var K, me;
|
|
18455
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = Oe(Je), s = ln(), { userGroupId: a, userId: c } = _n() || {}, l = Ie(!1), d = Ie(null), g = Ie(null), m = Ie(null), [C, b] = U({}), [f, h] = U(!1), [p, v] = U(!1), [y, E] = U(!1), [x, I] = U(!1), [_, w] = U(), [T, R] = U(!1), [F, D] = U(null), [N, V] = U(), [J, Q] = U(null), [H, $] = U(!1), [q, le] = U(!1), [pe, j] = U(!1), M = Le(xx), W = Le(Ex), G = Le(wx), Y = Le(_x), ce = Le(Tx), se = Le(Ix), P = Le(eh), oe = Le(Vx), Re = Le(th), z = Le(nh), Ye = Le(rh), Ue = Le(WE), at = ft(o, H5), Mt = ft(o,
|
|
18451
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = Oe(Je), s = ln(), { userGroupId: a, userId: c } = _n() || {}, l = Ie(!1), d = Ie(null), g = Ie(null), m = Ie(null), [C, b] = U({}), [f, h] = U(!1), [p, v] = U(!1), [y, E] = U(!1), [x, I] = U(!1), [_, w] = U(), [T, R] = U(!1), [F, D] = U(null), [N, V] = U(), [J, Q] = U(null), [H, $] = U(!1), [q, le] = U(!1), [pe, j] = U(!1), M = Le(xx), W = Le(Ex), G = Le(wx), Y = Le(_x), ce = Le(Tx), se = Le(Ix), P = Le(eh), oe = Le(Vx), Re = Le(th), z = Le(nh), Ye = Le(rh), Ue = Le(WE), at = ft(o, H5), Mt = ft(o, G1), hn = ft(o, z5), At = ft(o, J5), et = ft(o, q5), tt = ft(o, Q5), Bn = (K = _n()) == null ? void 0 : K.tenantPlatform, gt = ft(
|
|
18456
18452
|
o,
|
|
18457
|
-
Bn === "HIVERWEB" ? `hot-${
|
|
18453
|
+
Bn === "HIVERWEB" ? `hot-${Mu}` : Mu
|
|
18458
18454
|
), { data: Qt } = tr({
|
|
18459
18455
|
queryKey: ["connectors", "enabledAuthenticated"],
|
|
18460
18456
|
queryFn: _6,
|
|
@@ -18540,7 +18536,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18540
18536
|
);
|
|
18541
18537
|
if (ue(() => {
|
|
18542
18538
|
(async () => {
|
|
18543
|
-
c && ($(await
|
|
18539
|
+
c && ($(await i1(c)), le(await pg(c)));
|
|
18544
18540
|
})();
|
|
18545
18541
|
}, [c]), ue(() => {
|
|
18546
18542
|
Ln || V(lr || t);
|
|
@@ -18557,7 +18553,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18557
18553
|
} else
|
|
18558
18554
|
v(!1), s(mx());
|
|
18559
18555
|
}, [z, Fo, s]), ue(() => (Ct(), Fe(), () => {
|
|
18560
|
-
s(
|
|
18556
|
+
s($d.clearConnectorList());
|
|
18561
18557
|
}), [s, Ct, Fe]), ue(() => {
|
|
18562
18558
|
if (ce && M && M.length && ar && !l.current) {
|
|
18563
18559
|
const { cards_per_app: re, total_empty_cards: de, total_cards_with_errors: ve } = ar;
|
|
@@ -18590,8 +18586,8 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18590
18586
|
const ve = (Ce = de.detail) == null ? void 0 : Ce.connectorKey;
|
|
18591
18587
|
b({ connectorKey: ve });
|
|
18592
18588
|
};
|
|
18593
|
-
return window.addEventListener(
|
|
18594
|
-
window.removeEventListener(
|
|
18589
|
+
return window.addEventListener(e0.OPEN_FORM_VIEW, re), () => {
|
|
18590
|
+
window.removeEventListener(e0.OPEN_FORM_VIEW, re);
|
|
18595
18591
|
};
|
|
18596
18592
|
}, []), ue(() => {
|
|
18597
18593
|
if (!(P != null && P.length) || !C.connectorKey)
|
|
@@ -18633,7 +18629,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18633
18629
|
}, sa = () => {
|
|
18634
18630
|
E(!1), s(to(null)), w(void 0), R(!1);
|
|
18635
18631
|
}, _i = () => {
|
|
18636
|
-
Ct(), s(
|
|
18632
|
+
Ct(), s($d.clearConnectorList());
|
|
18637
18633
|
}, aa = [
|
|
18638
18634
|
{
|
|
18639
18635
|
label: "Go back",
|
|
@@ -18650,10 +18646,10 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18650
18646
|
{
|
|
18651
18647
|
haveCreateObjects: ko,
|
|
18652
18648
|
haveLinkObjects: S,
|
|
18653
|
-
onCreateClick: () => wi(
|
|
18649
|
+
onCreateClick: () => wi(ju.MAIN_BUTTON),
|
|
18654
18650
|
onLinkClick: () => I(!0)
|
|
18655
18651
|
}
|
|
18656
|
-
) : /* @__PURE__ */ u.jsx(
|
|
18652
|
+
) : /* @__PURE__ */ u.jsx(Jd, { isAdmin: e, hideHeading: !0 });
|
|
18657
18653
|
return /* @__PURE__ */ u.jsxs(
|
|
18658
18654
|
rf,
|
|
18659
18655
|
{
|
|
@@ -18681,7 +18677,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18681
18677
|
haveCreateObjects: ko,
|
|
18682
18678
|
haveLinkObjects: S,
|
|
18683
18679
|
cards: M,
|
|
18684
|
-
handleCreateNewObject: () => wi(
|
|
18680
|
+
handleCreateNewObject: () => wi(ju.ICON),
|
|
18685
18681
|
handleLinkNewObject: ia
|
|
18686
18682
|
}
|
|
18687
18683
|
),
|
|
@@ -18724,7 +18720,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18724
18720
|
"aria-label": "Open customer identity mapping settings",
|
|
18725
18721
|
sx: { height: "32px", width: "32px", marginTop: "12px", flexShrink: 0 },
|
|
18726
18722
|
onClick: () => {
|
|
18727
|
-
r(
|
|
18723
|
+
r(ku, { page: "agent_connector_panel" }), j(!0);
|
|
18728
18724
|
},
|
|
18729
18725
|
children: /* @__PURE__ */ u.jsx(vt.SettingsOutlined, { sx: { height: "20px", width: "20px" } })
|
|
18730
18726
|
}
|
|
@@ -18753,7 +18749,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18753
18749
|
}
|
|
18754
18750
|
},
|
|
18755
18751
|
onClick: () => {
|
|
18756
|
-
r(
|
|
18752
|
+
r(ku, { page: "agent_connector_panel" }), j(!0);
|
|
18757
18753
|
},
|
|
18758
18754
|
children: "Customer identity mapping"
|
|
18759
18755
|
}
|
|
@@ -18777,7 +18773,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18777
18773
|
] })
|
|
18778
18774
|
] }, "cards")
|
|
18779
18775
|
] })
|
|
18780
|
-
] }) : /* @__PURE__ */ u.jsx(
|
|
18776
|
+
] }) : /* @__PURE__ */ u.jsx(Jd, { isAdmin: e }) }),
|
|
18781
18777
|
/* @__PURE__ */ u.jsx(
|
|
18782
18778
|
Ma,
|
|
18783
18779
|
{
|
|
@@ -18788,7 +18784,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18788
18784
|
portalId: "connector-layover-portal",
|
|
18789
18785
|
backButtonTooltip: "Back",
|
|
18790
18786
|
children: /* @__PURE__ */ u.jsx(
|
|
18791
|
-
|
|
18787
|
+
Kd,
|
|
18792
18788
|
{
|
|
18793
18789
|
isEdit: !0,
|
|
18794
18790
|
onClose: () => No(C5),
|
|
@@ -18806,8 +18802,9 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18806
18802
|
portalId: "connector-layover-portal",
|
|
18807
18803
|
isOpen: y,
|
|
18808
18804
|
setIsOpen: E,
|
|
18805
|
+
title: Cl,
|
|
18809
18806
|
children: /* @__PURE__ */ u.jsx(
|
|
18810
|
-
|
|
18807
|
+
Kd,
|
|
18811
18808
|
{
|
|
18812
18809
|
onClose: () => Do(h5),
|
|
18813
18810
|
onCreateSuccess: _i,
|
|
@@ -18888,14 +18885,14 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18888
18885
|
]
|
|
18889
18886
|
);
|
|
18890
18887
|
return /* @__PURE__ */ u.jsx(Je.Provider, { value: C, children: e });
|
|
18891
|
-
},
|
|
18888
|
+
}, Gl = ({ children: e }) => {
|
|
18892
18889
|
const [t] = U(() => new Op());
|
|
18893
18890
|
return /* @__PURE__ */ u.jsx(kp, { client: t, children: e });
|
|
18894
18891
|
}, gw = ff({
|
|
18895
18892
|
cardList: Px,
|
|
18896
18893
|
write: bx,
|
|
18897
18894
|
common: H8
|
|
18898
|
-
}),
|
|
18895
|
+
}), Hl = F9({
|
|
18899
18896
|
reducer: gw,
|
|
18900
18897
|
devTools: !0
|
|
18901
18898
|
}), mw = ({
|
|
@@ -18908,7 +18905,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18908
18905
|
connectorFunctions: s,
|
|
18909
18906
|
stackingContext: a,
|
|
18910
18907
|
actionQueue: c
|
|
18911
|
-
}) => /* @__PURE__ */ u.jsx(
|
|
18908
|
+
}) => /* @__PURE__ */ u.jsx(wl, { store: Hl, children: /* @__PURE__ */ u.jsx(el, { inter: !0, children: /* @__PURE__ */ u.jsx(Gl, { children: /* @__PURE__ */ u.jsx(
|
|
18912
18909
|
pw,
|
|
18913
18910
|
{
|
|
18914
18911
|
userEmail: t,
|
|
@@ -18925,7 +18922,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
18925
18922
|
isAdmin: n == null ? void 0 : n.isAdmin,
|
|
18926
18923
|
children: /* @__PURE__ */ u.jsx(qc, { fallback: /* @__PURE__ */ u.jsx(u.Fragment, {}), children: e })
|
|
18927
18924
|
}
|
|
18928
|
-
) }) }) }),
|
|
18925
|
+
) }) }) }), Wl = O(ie)`
|
|
18929
18926
|
height: inherit;
|
|
18930
18927
|
.MuiScopedCssBaseline-root {
|
|
18931
18928
|
height: inherit;
|
|
@@ -19764,7 +19761,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
19764
19761
|
transform: rotate(360deg);
|
|
19765
19762
|
}
|
|
19766
19763
|
}
|
|
19767
|
-
`,
|
|
19764
|
+
`, Zl = O(bw)`
|
|
19768
19765
|
.Toastify__toast-container {
|
|
19769
19766
|
min-width: 320px !important;
|
|
19770
19767
|
font-size: 16px;
|
|
@@ -19822,7 +19819,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
19822
19819
|
connectorFunctions: i,
|
|
19823
19820
|
stackingContext: s = {},
|
|
19824
19821
|
actionQueue: a
|
|
19825
|
-
}) => /* @__PURE__ */ u.jsx(
|
|
19822
|
+
}) => /* @__PURE__ */ u.jsx(Wl, { children: /* @__PURE__ */ u.jsxs(
|
|
19826
19823
|
mw,
|
|
19827
19824
|
{
|
|
19828
19825
|
userEmail: e,
|
|
@@ -19836,7 +19833,7 @@ const zc = /* @__PURE__ */ new Set(), JI = (e, t) => {
|
|
|
19836
19833
|
children: [
|
|
19837
19834
|
/* @__PURE__ */ u.jsx(hw, { isAdmin: r == null ? void 0 : r.isAdmin }),
|
|
19838
19835
|
Io(
|
|
19839
|
-
/* @__PURE__ */ u.jsx(
|
|
19836
|
+
/* @__PURE__ */ u.jsx(Zl, { id: "toast-message", children: /* @__PURE__ */ u.jsx(
|
|
19840
19837
|
tl,
|
|
19841
19838
|
{
|
|
19842
19839
|
position: "bottom-left",
|
|
@@ -20080,7 +20077,7 @@ const ww = "Everything looks good", _w = "Something is not working", Aw = "Share
|
|
|
20080
20077
|
FEEDBACK_OPTION_SUBMITTED: "app_object_detection_general_feedback_submitted",
|
|
20081
20078
|
DATA_CARD_DURATION: "app_object_detection_data_card_duration",
|
|
20082
20079
|
DATA_CARD_SCROLLED: "app_object_detection_data_card_scrolled"
|
|
20083
|
-
}, Th = (e) => /* @__PURE__ */ u.jsx(Ze, { ...e, disabled: e.isLoading || e.disabled, children: e.isLoading ? /* @__PURE__ */ u.jsx(
|
|
20080
|
+
}, Th = (e) => /* @__PURE__ */ u.jsx(Ze, { ...e, disabled: e.isLoading || e.disabled, children: e.isLoading ? /* @__PURE__ */ u.jsx(N0, { sx: { color: "#97A3B7" }, size: 20 }) : e.label }), jw = O(ie)`
|
|
20084
20081
|
max-height: 340px;
|
|
20085
20082
|
width: 440px;
|
|
20086
20083
|
border-radius: 12px;
|
|
@@ -20102,7 +20099,7 @@ const ww = "Everything looks good", _w = "Something is not working", Aw = "Share
|
|
|
20102
20099
|
justify-content: flex-end;
|
|
20103
20100
|
margin-top: 30px;
|
|
20104
20101
|
gap: 8px;
|
|
20105
|
-
`,
|
|
20102
|
+
`, n0 = ({ onCancel: e, onSubmit: t, isLoading: n, showOptions: r = !0, title: o }) => {
|
|
20106
20103
|
const [i, s] = U(""), [a, c] = U(""), l = (b) => {
|
|
20107
20104
|
s(b.target.value);
|
|
20108
20105
|
}, d = (b) => {
|
|
@@ -20117,14 +20114,14 @@ const ww = "Everything looks good", _w = "Something is not working", Aw = "Share
|
|
|
20117
20114
|
return /* @__PURE__ */ u.jsxs(jw, { children: [
|
|
20118
20115
|
/* @__PURE__ */ u.jsx(ee, { variant: "h3", children: o }),
|
|
20119
20116
|
/* @__PURE__ */ u.jsx(Bw, {}),
|
|
20120
|
-
r ? /* @__PURE__ */ u.jsx(
|
|
20121
|
-
|
|
20117
|
+
r ? /* @__PURE__ */ u.jsx(k0, { children: /* @__PURE__ */ u.jsx(
|
|
20118
|
+
M0,
|
|
20122
20119
|
{
|
|
20123
20120
|
"aria-labelledby": "demo-controlled-radio-buttons-group",
|
|
20124
20121
|
name: "controlled-radio-buttons-group",
|
|
20125
20122
|
value: i,
|
|
20126
20123
|
onChange: l,
|
|
20127
|
-
children: Dw.map((b) => /* @__PURE__ */ u.jsx(
|
|
20124
|
+
children: Dw.map((b) => /* @__PURE__ */ u.jsx(P0, { value: b.value, control: /* @__PURE__ */ u.jsx(j0, {}), label: b.label }, b.value))
|
|
20128
20125
|
}
|
|
20129
20126
|
) }) : null,
|
|
20130
20127
|
/* @__PURE__ */ u.jsx(
|
|
@@ -20138,7 +20135,7 @@ const ww = "Everything looks good", _w = "Something is not working", Aw = "Share
|
|
|
20138
20135
|
multiline: !0,
|
|
20139
20136
|
rows: 5,
|
|
20140
20137
|
limit: 250,
|
|
20141
|
-
validation: { validate:
|
|
20138
|
+
validation: { validate: Sl() }
|
|
20142
20139
|
}
|
|
20143
20140
|
),
|
|
20144
20141
|
/* @__PURE__ */ u.jsxs(Vw, { children: [
|
|
@@ -20346,9 +20343,9 @@ const ww = "Everything looks good", _w = "Something is not working", Aw = "Share
|
|
|
20346
20343
|
rel: "noopener noreferrer",
|
|
20347
20344
|
style: { textDecoration: "none", color: Z.palette.primary.main },
|
|
20348
20345
|
onClick: () => Q(q),
|
|
20349
|
-
children:
|
|
20346
|
+
children: Vu(q || "N/A", Va)
|
|
20350
20347
|
}
|
|
20351
|
-
) : /* @__PURE__ */ u.jsx($w, { children:
|
|
20348
|
+
) : /* @__PURE__ */ u.jsx($w, { children: Vu(q || "N/A", Va) }) })
|
|
20352
20349
|
] }, $)) })
|
|
20353
20350
|
] }),
|
|
20354
20351
|
/* @__PURE__ */ u.jsxs(Yw, { children: [
|
|
@@ -20364,7 +20361,7 @@ const ww = "Everything looks good", _w = "Something is not working", Aw = "Share
|
|
|
20364
20361
|
] })
|
|
20365
20362
|
] }),
|
|
20366
20363
|
/* @__PURE__ */ u.jsx(Vr, { shown: l, setShown: d, borderRadius: 12, sx: { zIndex: 15002 }, children: /* @__PURE__ */ u.jsx(
|
|
20367
|
-
|
|
20364
|
+
n0,
|
|
20368
20365
|
{
|
|
20369
20366
|
onCancel: () => d(!1),
|
|
20370
20367
|
onSubmit: F,
|
|
@@ -20374,7 +20371,7 @@ const ww = "Everything looks good", _w = "Something is not working", Aw = "Share
|
|
|
20374
20371
|
}
|
|
20375
20372
|
) }),
|
|
20376
20373
|
/* @__PURE__ */ u.jsx(Vr, { shown: m, setShown: C, borderRadius: 12, sx: { zIndex: 15002 }, children: /* @__PURE__ */ u.jsx(
|
|
20377
|
-
|
|
20374
|
+
n0,
|
|
20378
20375
|
{
|
|
20379
20376
|
onCancel: () => C(!1),
|
|
20380
20377
|
onSubmit: N,
|
|
@@ -20383,7 +20380,7 @@ const ww = "Everything looks good", _w = "Something is not working", Aw = "Share
|
|
|
20383
20380
|
}
|
|
20384
20381
|
) })
|
|
20385
20382
|
] });
|
|
20386
|
-
},
|
|
20383
|
+
}, r0 = (e, t, n, r = 10) => e >= n.left - r && e <= n.right + r && t >= n.top - r && t <= n.bottom + r, o0 = (e, t = 350, n = 400) => {
|
|
20387
20384
|
const r = e.getBoundingClientRect(), o = window.innerHeight, i = window.innerWidth, s = r.top, a = o - r.bottom;
|
|
20388
20385
|
return a >= t || a > 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";
|
|
20389
20386
|
}, t_ = O(({ className: e, ...t }) => /* @__PURE__ */ u.jsx(_e, { ...t, classes: { popper: e } }))(() => ({
|
|
@@ -20407,11 +20404,11 @@ function n_({ elements: e, title: t, onKeyChange: n }) {
|
|
|
20407
20404
|
ue(() => {
|
|
20408
20405
|
if (e && e.length > 0) {
|
|
20409
20406
|
const x = (w) => {
|
|
20410
|
-
const T = w.currentTarget, R = T.textContent || "", F =
|
|
20407
|
+
const T = w.currentTarget, R = T.textContent || "", F = o0(T);
|
|
20411
20408
|
d(F), c(R), n && n(R), s(T), o(!0);
|
|
20412
20409
|
}, I = () => {
|
|
20413
20410
|
if (r && i) {
|
|
20414
|
-
const w =
|
|
20411
|
+
const w = o0(i);
|
|
20415
20412
|
d(w);
|
|
20416
20413
|
}
|
|
20417
20414
|
}, _ = (w) => {
|
|
@@ -20419,13 +20416,13 @@ function n_({ elements: e, title: t, onKeyChange: n }) {
|
|
|
20419
20416
|
const T = w.clientX, R = w.clientY;
|
|
20420
20417
|
let F = !1;
|
|
20421
20418
|
for (const D of e)
|
|
20422
|
-
if (
|
|
20419
|
+
if (r0(T, R, D.getBoundingClientRect())) {
|
|
20423
20420
|
F = !0;
|
|
20424
20421
|
break;
|
|
20425
20422
|
}
|
|
20426
20423
|
if (!F) {
|
|
20427
20424
|
const D = document.querySelector(`.${ei.tooltip}`);
|
|
20428
|
-
D &&
|
|
20425
|
+
D && r0(T, R, D.getBoundingClientRect()) && (F = !0);
|
|
20429
20426
|
}
|
|
20430
20427
|
F || (o(!1), s(null));
|
|
20431
20428
|
};
|
|
@@ -20526,7 +20523,7 @@ const r_ = ({
|
|
|
20526
20523
|
}
|
|
20527
20524
|
}
|
|
20528
20525
|
) });
|
|
20529
|
-
}, o_ = ({ children: e }) => /* @__PURE__ */ u.jsx(
|
|
20526
|
+
}, o_ = ({ children: e }) => /* @__PURE__ */ u.jsx(wl, { store: Hl, children: /* @__PURE__ */ u.jsx(el, { inter: !0, children: /* @__PURE__ */ u.jsx(Gl, { children: /* @__PURE__ */ u.jsx(qc, { fallback: /* @__PURE__ */ u.jsx(u.Fragment, {}), children: e }) }) }) }), ZT = ({ conversationId: e, hasSmList: t, smIds: n, isAdmin: r, connectorFunctions: o }) => /* @__PURE__ */ u.jsx(Wl, { children: /* @__PURE__ */ u.jsxs(o_, { children: [
|
|
20530
20527
|
/* @__PURE__ */ u.jsx(
|
|
20531
20528
|
r_,
|
|
20532
20529
|
{
|
|
@@ -20540,7 +20537,7 @@ const r_ = ({
|
|
|
20540
20537
|
}
|
|
20541
20538
|
),
|
|
20542
20539
|
Io(
|
|
20543
|
-
/* @__PURE__ */ u.jsx(
|
|
20540
|
+
/* @__PURE__ */ u.jsx(Zl, { id: "toast-message", children: /* @__PURE__ */ u.jsx(
|
|
20544
20541
|
tl,
|
|
20545
20542
|
{
|
|
20546
20543
|
position: "bottom-left",
|
|
@@ -20555,7 +20552,7 @@ const r_ = ({
|
|
|
20555
20552
|
) }),
|
|
20556
20553
|
document.body
|
|
20557
20554
|
)
|
|
20558
|
-
] }) }),
|
|
20555
|
+
] }) }), i0 = {
|
|
20559
20556
|
OPEN_CREATE_FORM: "OPEN_CREATE_FORM"
|
|
20560
20557
|
}, i_ = ({ conversationId: e, openCreateForm: t }) => (n) => {
|
|
20561
20558
|
n.conversationId === e && t();
|
|
@@ -20570,7 +20567,7 @@ class UT {
|
|
|
20570
20567
|
openCreateForm: () => {
|
|
20571
20568
|
}
|
|
20572
20569
|
});
|
|
20573
|
-
Be(this, "ACTIONS",
|
|
20570
|
+
Be(this, "ACTIONS", i0);
|
|
20574
20571
|
this._processDelay = t;
|
|
20575
20572
|
}
|
|
20576
20573
|
register(t) {
|
|
@@ -20588,7 +20585,7 @@ class UT {
|
|
|
20588
20585
|
const t = this._queue.shift();
|
|
20589
20586
|
if (t)
|
|
20590
20587
|
switch (t.type) {
|
|
20591
|
-
case
|
|
20588
|
+
case i0.OPEN_CREATE_FORM:
|
|
20592
20589
|
i_(this._queueProps)(t.payload);
|
|
20593
20590
|
break;
|
|
20594
20591
|
}
|
|
@@ -20627,17 +20624,17 @@ const s_ = (e) => {
|
|
|
20627
20624
|
to {
|
|
20628
20625
|
transform: rotate(360deg);
|
|
20629
20626
|
}
|
|
20630
|
-
`,
|
|
20627
|
+
`, Ul = O(B)`
|
|
20631
20628
|
width: 16px;
|
|
20632
20629
|
height: 16px;
|
|
20633
20630
|
border-radius: 50%;
|
|
20634
20631
|
justify-content: center;
|
|
20635
20632
|
align-items: center;
|
|
20636
|
-
`, d_ = O(
|
|
20633
|
+
`, d_ = O(Ul)`
|
|
20637
20634
|
background-color: #ffe250;
|
|
20638
|
-
`, f_ = O(
|
|
20635
|
+
`, f_ = O(Ul)`
|
|
20639
20636
|
background-color: #00bc7e;
|
|
20640
|
-
`, h_ = O(
|
|
20637
|
+
`, h_ = O(Ul)`
|
|
20641
20638
|
animation: ${na} 1s linear infinite;
|
|
20642
20639
|
animation-fill-mode: backwards;
|
|
20643
20640
|
animation-direction: reverse;
|
|
@@ -20711,7 +20708,7 @@ const s_ = (e) => {
|
|
|
20711
20708
|
children: e
|
|
20712
20709
|
}
|
|
20713
20710
|
) }) });
|
|
20714
|
-
}, x_ = "Turn off to stop syncing this conversation.", E_ = "Turn on to continue syncing this conversation.", I_ = "Authentication failed", w_ = "Retry authentication to use this functionality and save in ':connectorName'", __ = "Reach out to your admin to reauthenticate :connectorName", A_ = "Syncing this conversation to :connectorName. Refresh the page to see updates.", T_ = "Something went wrong while syncing this conversation. Please try again.", S_ = "No recommendations found", L_ = "Already synced email cannot be removed", O_ = "https://cdn.hiverhq.com/connectors-module/assets/sync_conversation_preview.png", R_ = "Log this email thread to your CRM", F_ = "Automatically sync Hiver conversations with your CRM to unify and audit customer records easily.",
|
|
20711
|
+
}, x_ = "Turn off to stop syncing this conversation.", E_ = "Turn on to continue syncing this conversation.", I_ = "Authentication failed", w_ = "Retry authentication to use this functionality and save in ':connectorName'", __ = "Reach out to your admin to reauthenticate :connectorName", A_ = "Syncing this conversation to :connectorName. Refresh the page to see updates.", T_ = "Something went wrong while syncing this conversation. Please try again.", S_ = "No recommendations found", L_ = "Already synced email cannot be removed", O_ = "https://cdn.hiverhq.com/connectors-module/assets/sync_conversation_preview.png", R_ = "Log this email thread to your CRM", F_ = "Automatically sync Hiver conversations with your CRM to unify and audit customer records easily.", s0 = "connector-agent_email-logger_welcomed", a0 = "connector-agent_email-logger_welcome_shown", D_ = "Tell us how we can improve", N_ = "Everything looks good", k_ = "Something is not working", M_ = "Please provide your feedback", P_ = "Feedback submitted", j_ = "Failed to submit feedback", c0 = "email-logging", B_ = [
|
|
20715
20712
|
{
|
|
20716
20713
|
label: "Records are not accurate",
|
|
20717
20714
|
value: "not_accurate"
|
|
@@ -20778,14 +20775,14 @@ const s_ = (e) => {
|
|
|
20778
20775
|
flex-flow: row nowrap;
|
|
20779
20776
|
justify-content: flex-end;
|
|
20780
20777
|
column-gap: 8px;
|
|
20781
|
-
`,
|
|
20778
|
+
`, l0 = Mf(), $_ = ({ onContinue: e, connectorName: t }) => {
|
|
20782
20779
|
const { connectorFunctions: n } = Oe(fn), r = n == null ? void 0 : n.sendTrackingEvent;
|
|
20783
20780
|
return ue(() => {
|
|
20784
|
-
const o =
|
|
20781
|
+
const o = l0.getItem(a0);
|
|
20785
20782
|
if (!r || !t || o === "true")
|
|
20786
20783
|
return;
|
|
20787
20784
|
const i = setTimeout(() => {
|
|
20788
|
-
r(Gt.email_logging_intro_popup_shown, { app_name: t }),
|
|
20785
|
+
r(Gt.email_logging_intro_popup_shown, { app_name: t }), l0.setItem(a0, "true");
|
|
20789
20786
|
}, 1500);
|
|
20790
20787
|
return () => {
|
|
20791
20788
|
clearTimeout(i);
|
|
@@ -20879,13 +20876,13 @@ const s_ = (e) => {
|
|
|
20879
20876
|
retry: o,
|
|
20880
20877
|
renderEntities: i
|
|
20881
20878
|
}) => {
|
|
20882
|
-
const { connectorFunctions: s } = Oe(fn), a = s == null ? void 0 : s.sendTrackingEvent, [c, l] = U(() => localStorage.getItem(
|
|
20883
|
-
localStorage.setItem(
|
|
20879
|
+
const { connectorFunctions: s } = Oe(fn), a = s == null ? void 0 : s.sendTrackingEvent, [c, l] = U(() => localStorage.getItem(s0) === "true"), [d, g] = U(!1), { connectorId: m, connectorName: C, connectorStatus: b } = n ?? {}, f = t || b !== Ts.DISABLED, h = b === Ts.UNAUTHENTICATED, p = r === De.PENDING, v = () => {
|
|
20880
|
+
localStorage.setItem(s0, "true"), l(!0), g(!0), a == null || a(Gt.email_logging_intro_popup_continue_clicked, { app_name: C });
|
|
20884
20881
|
};
|
|
20885
20882
|
return c ? h ? /* @__PURE__ */ u.jsx(rA, { connectorId: m, connectorName: C, isAdmin: t, isAuthenticated: !1, children: e }) : o ? /* @__PURE__ */ u.jsx(_e, { title: T_, children: e }) : p ? /* @__PURE__ */ u.jsx(_e, { title: A_.replace(":connectorName", C), children: e }) : i ? /* @__PURE__ */ u.jsx(C_, { defaultOpen: d, renderTooltip: i, children: e }) : /* @__PURE__ */ u.jsx(u.Fragment, { children: e }) : /* @__PURE__ */ u.jsx(z_, { onContinue: f ? v : void 0, connectorName: C, children: e });
|
|
20886
20883
|
}, iA = (e) => /* @__PURE__ */ A.createElement("svg", { width: 124, height: 107, viewBox: "0 0 124 107", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M28.6168 54.7446C28.6931 52.5589 31.0146 51.1102 33.0842 51.8174C35.9985 52.8133 40.0375 53.9024 44.0621 54.043C48.0034 54.1806 51.968 53.4097 54.8762 52.6339C57.0264 52.0602 59.2927 53.6932 59.215 55.9172C59.1742 57.0856 58.4742 58.1269 57.3723 58.5178C54.8051 59.4284 49.7633 60.8927 44.3075 60.7022C38.7694 60.5088 33.1999 58.6241 30.4004 57.5311C29.2637 57.0873 28.5742 55.9641 28.6168 54.7446Z", fill: "url(#paint0_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "url(#paint1_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("mask", { id: "mask0_8481_102191", style: {
|
|
20887
20884
|
maskType: "luminance"
|
|
20888
|
-
}, maskUnits: "userSpaceOnUse", x: 46, y: 14, width: 60, height: 79 }, /* @__PURE__ */ A.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "white" })), /* @__PURE__ */ A.createElement("g", { mask: "url(#mask0_8481_102191)" }, /* @__PURE__ */ A.createElement("ellipse", { cx: 63.7775, cy: 46.8684, rx: 1.48152, ry: 1.39438, transform: "rotate(-12 63.7775 46.8684)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("rect", { x: 47.4368, y: 59.3203, width: 53.657, height: 13.2235, transform: "rotate(-12 47.4368 59.3203)", fill: "url(#paint2_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 51.1907, y: 76.9824, width: 53.657, height: 10.4263, transform: "rotate(-12 51.1907 76.9824)", fill: "url(#paint3_linear_8481_102191)" })), /* @__PURE__ */ A.createElement("path", { opacity: 0.883952, d: "M113.939 51.0679C114.775 55 112.265 58.865 108.333 59.7008L107.842 59.8052C103.639 60.6986 99.5073 58.0155 98.6139 53.8123L97.205 47.1837L105.307 45.4616C109.239 44.6259 113.104 47.1359 113.939 51.0679Z", fill: "url(#paint4_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M68.7215 66.4138C67.1801 64.8725 67.6745 62.2062 69.587 61.1603C72.4457 59.5969 76.2861 57.1773 79.3785 54.0849C82.4099 51.0535 84.752 47.3461 86.2775 44.5465C87.3388 42.5989 90.0598 42.0819 91.6282 43.6503C92.4782 44.5003 92.758 45.7623 92.2604 46.8566C91.0829 49.4466 88.5191 54.344 84.4346 58.4285C80.2853 62.5778 74.8639 65.591 72.0553 66.9952C70.9363 67.5548 69.6062 67.2985 68.7215 66.4138Z", fill: "url(#paint5_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 48.7264, y: 33.7744, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 48.7264 33.7744)", fill: "url(#paint6_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 50.0175, y: 35.8193, width: 4.0158, height: 3.84848, rx: 1.92424, transform: "rotate(-12 50.0175 35.8193)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("rect", { x: 59.2875, y: 31.5723, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 59.2875 31.5723)", fill: "#FFFEFE" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.883952, d: "M111.25 38.5376C110.415 34.6055 106.55 32.0955 102.618 32.9313L102.127 33.0356C97.9234 33.9291 95.2403 38.0607 96.1337 42.2639L97.5426 48.8925L105.644 47.1705C109.576 46.3347 112.086 42.4696 111.25 38.5376Z", fill: "url(#paint7_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 60.0181, y: 33.8037, width: 3.84848, height: 3.84848, rx: 1.90724, transform: "rotate(-12 60.0181 33.8037)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("path", { d: "M36.9246 59.1604C36.4487 60.717 34.7371 61.6271 33.1805 61.1512C32.3613 60.9007 31.7241 60.3475 31.3259 59.5987L25.2059 46.7983C24.9784 46.3703 25.1286 45.8788 25.5566 45.6513L28.338 44.1724C28.7659 43.9449 29.2574 44.0951 29.4849 44.5231L36.6496 56.8367C37.0728 57.5036 37.15 58.423 36.9246 59.1604Z", fill: "#FFDF9F" }), /* @__PURE__ */ A.createElement("rect", { x: 27.9973, y: 44.333, width: 2.39869, height: 3.59807, transform: "rotate(152 27.9973 44.333)", fill: "#FF9090" }), /* @__PURE__ */ A.createElement("path", { d: "M26.6628 44.3769L26.9472 44.9118L28.0169 44.343L26.3106 41.1338L24.171 42.2714L25.0243 43.876C25.6661 43.5347 26.3215 43.7351 26.6628 44.3769Z", fill: "#FFB19F" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.26386 27.248C9.3428 20.4481 16.5101 16.6372 23.31 18.7161C30.11 20.7951 33.9209 27.9624 31.8419 34.7623C29.763 41.5622 22.5956 45.3731 15.7958 43.2942C8.99587 41.2152 5.18493 34.0479 7.26386 27.248ZM9.72157 27.9983C8.06843 33.4055 11.1399 39.1821 16.5471 40.8352C21.9543 42.4884 27.7309 39.4168 29.384 34.0096C31.0372 28.6024 27.9657 22.8258 22.5585 21.1727C17.1513 19.5196 11.3747 22.5911 9.72157 27.9983Z", fill: "#FFE69F" }), /* @__PURE__ */ A.createElement("circle", { opacity: 0.414016, cx: 19.5529, cy: 31.0039, r: 10.2804, transform: "rotate(17 19.5529 31.0039)", fill: "#BBDEFC" }), /* @__PURE__ */ A.createElement("path", { d: "M14.3685 30.6746C15.7299 27.6867 18.9391 25.9803 22.1776 26.5225L22.2595 26.5475C23.7024 26.8095 24.3854 24.8682 23.1497 24.2218C22.3806 23.8074 21.5613 23.557 20.717 23.3884C17.3715 22.9031 14.0553 24.6664 12.6939 27.6543C12.2796 28.4235 12.0859 29.3497 12.0244 30.1372C11.8444 31.6051 13.8607 32.0424 14.4503 30.6997C14.3434 30.7566 14.3685 30.6746 14.3685 30.6746Z", fill: "#F6FBFF" }), /* @__PURE__ */ A.createElement("path", { d: "M10.2904 29.0679C11.9436 23.6607 17.7202 20.5893 23.1274 22.2424C25.6671 23.0189 27.5785 24.6783 28.9301 26.704C27.7539 24.1048 25.508 22.0744 22.5586 21.1727C17.1514 19.5196 11.3748 22.591 9.72165 27.9982C8.81993 30.9476 9.32924 33.97 10.7444 36.3735C9.82081 34.1203 9.51395 31.6077 10.2904 29.0679Z", fill: "#ADCBE7" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.406087, d: "M36.4864 56.8021L36.1373 56.2691C36.3845 56.8563 36.428 57.5516 36.2372 58.1754C35.9273 59.189 34.5593 59.1971 34.0713 58.2806L28.3787 47.5877C28.0534 46.9767 27.3508 46.7619 26.7395 47.0866L25.7206 47.6277L31.4395 59.3516C31.7648 59.9627 32.27 60.5434 32.8706 60.8123C33.7054 61.1528 34.6593 61.1034 35.3726 60.7247C36.0858 60.3459 36.6602 59.5837 36.8444 58.7021C37.0351 58.0783 36.8117 57.4132 36.4864 56.8021Z", fill: "white" }), /* @__PURE__ */ A.createElement("path", { d: "M29.8826 48.4977C29.8006 48.4726 29.6368 48.4225 29.5799 48.3155L28.1579 45.6411C28.0442 45.4272 28.1193 45.1814 28.3332 45.0677C28.5472 44.9539 28.7929 45.0291 28.9067 45.243L30.3287 47.9174C30.4424 48.1313 30.3673 48.3771 30.1534 48.4908C30.1284 48.5728 29.9645 48.5227 29.8826 48.4977Z", fill: "#FFF5EB" }), /* @__PURE__ */ A.createElement("ellipse", { cx: 29.2637, cy: 54.631, rx: 1.50593, ry: 3.17918, transform: "rotate(-23 29.2637 54.631)", fill: "#FFC478" }), /* @__PURE__ */ A.createElement("ellipse", { cx: 34.0592, cy: 52.4078, rx: 0.920288, ry: 1.67325, transform: "rotate(106 34.0592 52.4078)", fill: "#FFC478" }), /* @__PURE__ */ A.createElement("path", { d: "M89.1282 19.2055L68.2257 26.8725L45.9197 28.3898L44.4929 16.4082C44.3371 13.798 47.5283 11.4502 50.9859 11.6309L65.1429 12.369L67.3969 12.4869C68.5309 12.5463 69.7066 12.3289 70.7522 11.8627L78.6899 8.34726C81.725 6.99992 85.3012 7.87475 86.2125 10.1876L89.1282 19.2055Z", fill: "url(#paint8_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.479771, d: "M88.6262 19.0953L68.3101 26.5288L65.3314 12.5149L67.5211 12.6263C68.6228 12.6824 69.7652 12.471 70.7816 12.0192L78.4972 8.61266C81.4474 7.30707 84.9208 8.14856 85.8036 10.3829L88.6262 19.0953Z", fill: "#ADCBE7" }), /* @__PURE__ */ A.createElement("path", { d: "M91.6332 26.6212L46.9517 36.1186L46.0387 28.4438L89.2535 19.2582L91.6332 26.6212Z", fill: "#717DAD" }), /* @__PURE__ */ A.createElement("path", { d: "M102.961 24.2033C103.125 24.9722 102.371 25.7829 101.278 26.015L37.9675 39.4722C36.8754 39.7043 35.8568 39.2704 35.6933 38.5015C35.5301 37.7336 36.284 36.922 37.3761 36.6898L100.687 23.2327C101.779 23.0005 102.798 23.4354 102.961 24.2033Z", fill: "#9ED1FF" }), /* @__PURE__ */ A.createElement("path", { d: "M102.703 24.1718C102.838 24.805 102.067 25.5045 100.983 25.7349L69.5583 32.4144L69.0712 30.123L100.496 23.4436C101.58 23.2131 102.569 23.5394 102.703 24.1718Z", fill: "#78AFE1" }), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("linearGradient", { id: "paint0_linear_8481_102191", x1: 32.2665, y1: 59.6553, x2: 59.0518, y2: 60.5906, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint1_linear_8481_102191", x1: 67.3434, y1: 85.966, x2: 103.216, y2: 78.3411, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFABC" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFA650" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint2_linear_8481_102191", x1: 51.4347, y1: 74.8197, x2: 91.1539, y2: 74.8197, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint3_linear_8481_102191", x1: 55.1887, y1: 89.2031, x2: 94.9078, y2: 89.2031, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint4_linear_8481_102191", x1: 94.5023, y1: 53.1799, x2: 106.762, y2: 58.7056, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint5_linear_8481_102191", x1: 74.9906, y1: 66.9871, x2: 94.9778, y2: 46.9999, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint6_linear_8481_102191", x1: 50.5805, y1: 44.0581, x2: 59.9372, y2: 44.0581, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "white" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#E3EEF3" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint7_linear_8481_102191", x1: 88.4187, y1: 43.3906, x2: 99.3981, y2: 25.1833, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint8_linear_8481_102191", x1: 56.4985, y1: 29.5482, x2: 100.532, y2: 20.1885, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#ECF7FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#C2E0FF" })))), Ul = ({ message: e }) => /* @__PURE__ */ u.jsxs(B, { justifyContent: "center", alignItems: "center", height: "100%", children: [
|
|
20885
|
+
}, maskUnits: "userSpaceOnUse", x: 46, y: 14, width: 60, height: 79 }, /* @__PURE__ */ A.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "white" })), /* @__PURE__ */ A.createElement("g", { mask: "url(#mask0_8481_102191)" }, /* @__PURE__ */ A.createElement("ellipse", { cx: 63.7775, cy: 46.8684, rx: 1.48152, ry: 1.39438, transform: "rotate(-12 63.7775 46.8684)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("rect", { x: 47.4368, y: 59.3203, width: 53.657, height: 13.2235, transform: "rotate(-12 47.4368 59.3203)", fill: "url(#paint2_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 51.1907, y: 76.9824, width: 53.657, height: 10.4263, transform: "rotate(-12 51.1907 76.9824)", fill: "url(#paint3_linear_8481_102191)" })), /* @__PURE__ */ A.createElement("path", { opacity: 0.883952, d: "M113.939 51.0679C114.775 55 112.265 58.865 108.333 59.7008L107.842 59.8052C103.639 60.6986 99.5073 58.0155 98.6139 53.8123L97.205 47.1837L105.307 45.4616C109.239 44.6259 113.104 47.1359 113.939 51.0679Z", fill: "url(#paint4_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M68.7215 66.4138C67.1801 64.8725 67.6745 62.2062 69.587 61.1603C72.4457 59.5969 76.2861 57.1773 79.3785 54.0849C82.4099 51.0535 84.752 47.3461 86.2775 44.5465C87.3388 42.5989 90.0598 42.0819 91.6282 43.6503C92.4782 44.5003 92.758 45.7623 92.2604 46.8566C91.0829 49.4466 88.5191 54.344 84.4346 58.4285C80.2853 62.5778 74.8639 65.591 72.0553 66.9952C70.9363 67.5548 69.6062 67.2985 68.7215 66.4138Z", fill: "url(#paint5_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 48.7264, y: 33.7744, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 48.7264 33.7744)", fill: "url(#paint6_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 50.0175, y: 35.8193, width: 4.0158, height: 3.84848, rx: 1.92424, transform: "rotate(-12 50.0175 35.8193)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("rect", { x: 59.2875, y: 31.5723, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 59.2875 31.5723)", fill: "#FFFEFE" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.883952, d: "M111.25 38.5376C110.415 34.6055 106.55 32.0955 102.618 32.9313L102.127 33.0356C97.9234 33.9291 95.2403 38.0607 96.1337 42.2639L97.5426 48.8925L105.644 47.1705C109.576 46.3347 112.086 42.4696 111.25 38.5376Z", fill: "url(#paint7_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("rect", { x: 60.0181, y: 33.8037, width: 3.84848, height: 3.84848, rx: 1.90724, transform: "rotate(-12 60.0181 33.8037)", fill: "#435C71" }), /* @__PURE__ */ A.createElement("path", { d: "M36.9246 59.1604C36.4487 60.717 34.7371 61.6271 33.1805 61.1512C32.3613 60.9007 31.7241 60.3475 31.3259 59.5987L25.2059 46.7983C24.9784 46.3703 25.1286 45.8788 25.5566 45.6513L28.338 44.1724C28.7659 43.9449 29.2574 44.0951 29.4849 44.5231L36.6496 56.8367C37.0728 57.5036 37.15 58.423 36.9246 59.1604Z", fill: "#FFDF9F" }), /* @__PURE__ */ A.createElement("rect", { x: 27.9973, y: 44.333, width: 2.39869, height: 3.59807, transform: "rotate(152 27.9973 44.333)", fill: "#FF9090" }), /* @__PURE__ */ A.createElement("path", { d: "M26.6628 44.3769L26.9472 44.9118L28.0169 44.343L26.3106 41.1338L24.171 42.2714L25.0243 43.876C25.6661 43.5347 26.3215 43.7351 26.6628 44.3769Z", fill: "#FFB19F" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.26386 27.248C9.3428 20.4481 16.5101 16.6372 23.31 18.7161C30.11 20.7951 33.9209 27.9624 31.8419 34.7623C29.763 41.5622 22.5956 45.3731 15.7958 43.2942C8.99587 41.2152 5.18493 34.0479 7.26386 27.248ZM9.72157 27.9983C8.06843 33.4055 11.1399 39.1821 16.5471 40.8352C21.9543 42.4884 27.7309 39.4168 29.384 34.0096C31.0372 28.6024 27.9657 22.8258 22.5585 21.1727C17.1513 19.5196 11.3747 22.5911 9.72157 27.9983Z", fill: "#FFE69F" }), /* @__PURE__ */ A.createElement("circle", { opacity: 0.414016, cx: 19.5529, cy: 31.0039, r: 10.2804, transform: "rotate(17 19.5529 31.0039)", fill: "#BBDEFC" }), /* @__PURE__ */ A.createElement("path", { d: "M14.3685 30.6746C15.7299 27.6867 18.9391 25.9803 22.1776 26.5225L22.2595 26.5475C23.7024 26.8095 24.3854 24.8682 23.1497 24.2218C22.3806 23.8074 21.5613 23.557 20.717 23.3884C17.3715 22.9031 14.0553 24.6664 12.6939 27.6543C12.2796 28.4235 12.0859 29.3497 12.0244 30.1372C11.8444 31.6051 13.8607 32.0424 14.4503 30.6997C14.3434 30.7566 14.3685 30.6746 14.3685 30.6746Z", fill: "#F6FBFF" }), /* @__PURE__ */ A.createElement("path", { d: "M10.2904 29.0679C11.9436 23.6607 17.7202 20.5893 23.1274 22.2424C25.6671 23.0189 27.5785 24.6783 28.9301 26.704C27.7539 24.1048 25.508 22.0744 22.5586 21.1727C17.1514 19.5196 11.3748 22.591 9.72165 27.9982C8.81993 30.9476 9.32924 33.97 10.7444 36.3735C9.82081 34.1203 9.51395 31.6077 10.2904 29.0679Z", fill: "#ADCBE7" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.406087, d: "M36.4864 56.8021L36.1373 56.2691C36.3845 56.8563 36.428 57.5516 36.2372 58.1754C35.9273 59.189 34.5593 59.1971 34.0713 58.2806L28.3787 47.5877C28.0534 46.9767 27.3508 46.7619 26.7395 47.0866L25.7206 47.6277L31.4395 59.3516C31.7648 59.9627 32.27 60.5434 32.8706 60.8123C33.7054 61.1528 34.6593 61.1034 35.3726 60.7247C36.0858 60.3459 36.6602 59.5837 36.8444 58.7021C37.0351 58.0783 36.8117 57.4132 36.4864 56.8021Z", fill: "white" }), /* @__PURE__ */ A.createElement("path", { d: "M29.8826 48.4977C29.8006 48.4726 29.6368 48.4225 29.5799 48.3155L28.1579 45.6411C28.0442 45.4272 28.1193 45.1814 28.3332 45.0677C28.5472 44.9539 28.7929 45.0291 28.9067 45.243L30.3287 47.9174C30.4424 48.1313 30.3673 48.3771 30.1534 48.4908C30.1284 48.5728 29.9645 48.5227 29.8826 48.4977Z", fill: "#FFF5EB" }), /* @__PURE__ */ A.createElement("ellipse", { cx: 29.2637, cy: 54.631, rx: 1.50593, ry: 3.17918, transform: "rotate(-23 29.2637 54.631)", fill: "#FFC478" }), /* @__PURE__ */ A.createElement("ellipse", { cx: 34.0592, cy: 52.4078, rx: 0.920288, ry: 1.67325, transform: "rotate(106 34.0592 52.4078)", fill: "#FFC478" }), /* @__PURE__ */ A.createElement("path", { d: "M89.1282 19.2055L68.2257 26.8725L45.9197 28.3898L44.4929 16.4082C44.3371 13.798 47.5283 11.4502 50.9859 11.6309L65.1429 12.369L67.3969 12.4869C68.5309 12.5463 69.7066 12.3289 70.7522 11.8627L78.6899 8.34726C81.725 6.99992 85.3012 7.87475 86.2125 10.1876L89.1282 19.2055Z", fill: "url(#paint8_linear_8481_102191)" }), /* @__PURE__ */ A.createElement("path", { opacity: 0.479771, d: "M88.6262 19.0953L68.3101 26.5288L65.3314 12.5149L67.5211 12.6263C68.6228 12.6824 69.7652 12.471 70.7816 12.0192L78.4972 8.61266C81.4474 7.30707 84.9208 8.14856 85.8036 10.3829L88.6262 19.0953Z", fill: "#ADCBE7" }), /* @__PURE__ */ A.createElement("path", { d: "M91.6332 26.6212L46.9517 36.1186L46.0387 28.4438L89.2535 19.2582L91.6332 26.6212Z", fill: "#717DAD" }), /* @__PURE__ */ A.createElement("path", { d: "M102.961 24.2033C103.125 24.9722 102.371 25.7829 101.278 26.015L37.9675 39.4722C36.8754 39.7043 35.8568 39.2704 35.6933 38.5015C35.5301 37.7336 36.284 36.922 37.3761 36.6898L100.687 23.2327C101.779 23.0005 102.798 23.4354 102.961 24.2033Z", fill: "#9ED1FF" }), /* @__PURE__ */ A.createElement("path", { d: "M102.703 24.1718C102.838 24.805 102.067 25.5045 100.983 25.7349L69.5583 32.4144L69.0712 30.123L100.496 23.4436C101.58 23.2131 102.569 23.5394 102.703 24.1718Z", fill: "#78AFE1" }), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("linearGradient", { id: "paint0_linear_8481_102191", x1: 32.2665, y1: 59.6553, x2: 59.0518, y2: 60.5906, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint1_linear_8481_102191", x1: 67.3434, y1: 85.966, x2: 103.216, y2: 78.3411, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFABC" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFA650" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint2_linear_8481_102191", x1: 51.4347, y1: 74.8197, x2: 91.1539, y2: 74.8197, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint3_linear_8481_102191", x1: 55.1887, y1: 89.2031, x2: 94.9078, y2: 89.2031, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint4_linear_8481_102191", x1: 94.5023, y1: 53.1799, x2: 106.762, y2: 58.7056, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint5_linear_8481_102191", x1: 74.9906, y1: 66.9871, x2: 94.9778, y2: 46.9999, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint6_linear_8481_102191", x1: 50.5805, y1: 44.0581, x2: 59.9372, y2: 44.0581, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "white" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#E3EEF3" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint7_linear_8481_102191", x1: 88.4187, y1: 43.3906, x2: 99.3981, y2: 25.1833, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ A.createElement("linearGradient", { id: "paint8_linear_8481_102191", x1: 56.4985, y1: 29.5482, x2: 100.532, y2: 20.1885, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ A.createElement("stop", { stopColor: "#ECF7FF" }), /* @__PURE__ */ A.createElement("stop", { offset: 1, stopColor: "#C2E0FF" })))), Xl = ({ message: e }) => /* @__PURE__ */ u.jsxs(B, { justifyContent: "center", alignItems: "center", height: "100%", children: [
|
|
20889
20886
|
/* @__PURE__ */ u.jsx(iA, { width: 124, height: 107 }),
|
|
20890
20887
|
/* @__PURE__ */ u.jsx(ee, { variant: "body2", color: Z.palette.gray.gray3, children: e })
|
|
20891
20888
|
] }), ir = "/v1/api", sA = `${ir}/connector/conversation/:conversationId/email_log_status`, aA = `${ir}/connector/conversation/:conversationId/entity_recommendations`, cA = `${ir}/connector/conversation/:conversationId/retry_emails_log`, lA = `${ir}/connector/conversation/:conversationId/validate_entity`, uA = `${ir}/connectors/forms/:formId/search`, dA = `${ir}/connector/conversation/:conversationId/log_emails`, fA = `${ir}/connector/feedback/conversation/:conversationId`, hA = `${ir}/connector/conversation/:conversationId/log_emails`, pA = async ({
|
|
@@ -20913,7 +20910,7 @@ const s_ = (e) => {
|
|
|
20913
20910
|
mutationFn: pA,
|
|
20914
20911
|
onSuccess: e,
|
|
20915
20912
|
onError: t
|
|
20916
|
-
}),
|
|
20913
|
+
}), $l = (e) => /* @__PURE__ */ A.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "#6F7C90", ...e }, /* @__PURE__ */ A.createElement("path", { d: "M6.99967 13.6654C6.08856 13.6654 5.22745 13.4903 4.41634 13.14C3.60523 12.7898 2.89701 12.312 2.29167 11.7067C1.68634 11.1014 1.20856 10.3931 0.858341 9.58203C0.508119 8.77092 0.333008 7.90981 0.333008 6.9987C0.333008 6.07648 0.508119 5.2127 0.858341 4.40736C1.20856 3.60203 1.68634 2.89648 2.29167 2.2907C2.89701 1.68492 3.60523 1.20714 4.41634 0.857365C5.22745 0.507587 6.08856 0.332476 6.99967 0.332031C7.18856 0.332031 7.34701 0.396031 7.47501 0.524031C7.60301 0.652031 7.66679 0.810253 7.66634 0.998698C7.6659 1.18714 7.6019 1.34559 7.47434 1.47403C7.34679 1.60248 7.18856 1.66625 6.99967 1.66536C5.5219 1.66536 4.26345 2.18492 3.22434 3.22403C2.18523 4.26314 1.6659 5.52136 1.66634 6.9987C1.66679 8.47603 2.18634 9.73448 3.22501 10.774C4.26367 11.8136 5.5219 12.3329 6.99967 12.332C8.47745 12.3311 9.7359 11.8118 10.775 10.774C11.8141 9.73625 12.3335 8.47781 12.333 6.9987C12.333 6.80981 12.397 6.65159 12.525 6.52403C12.653 6.39648 12.8112 6.33248 12.9997 6.33203C13.1881 6.33159 13.3466 6.39559 13.475 6.52403C13.6035 6.65248 13.6672 6.8107 13.6663 6.9987C13.6663 7.90981 13.4912 8.77092 13.141 9.58203C12.7908 10.3931 12.313 11.1016 11.7077 11.7074C11.1023 12.3131 10.3968 12.7909 9.59101 13.1407C8.78523 13.4905 7.92145 13.6654 6.99967 13.6654Z" })), mA = O(B)`
|
|
20917
20914
|
display: flex;
|
|
20918
20915
|
flex-flow: row nowrap;
|
|
20919
20916
|
justify-content: flex-start;
|
|
@@ -20929,7 +20926,7 @@ const s_ = (e) => {
|
|
|
20929
20926
|
cursor: not-allowed;
|
|
20930
20927
|
}
|
|
20931
20928
|
` : null}
|
|
20932
|
-
`, bA = O(
|
|
20929
|
+
`, bA = O(D0)`
|
|
20933
20930
|
padding: 0;
|
|
20934
20931
|
margin: 0;
|
|
20935
20932
|
svg {
|
|
@@ -20945,7 +20942,7 @@ const s_ = (e) => {
|
|
|
20945
20942
|
input:checked:disabled ~ svg {
|
|
20946
20943
|
fill: #d6dde8;
|
|
20947
20944
|
}
|
|
20948
|
-
`, vA = O(
|
|
20945
|
+
`, vA = O($l)`
|
|
20949
20946
|
width: 16px;
|
|
20950
20947
|
height: 16px;
|
|
20951
20948
|
fill: #506dff;
|
|
@@ -20955,7 +20952,7 @@ const s_ = (e) => {
|
|
|
20955
20952
|
overflow: hidden;
|
|
20956
20953
|
text-overflow: ellipsis;
|
|
20957
20954
|
white-space: nowrap;
|
|
20958
|
-
`,
|
|
20955
|
+
`, u0 = O(B)`
|
|
20959
20956
|
margin-left: auto;
|
|
20960
20957
|
flex-shrink: 0;
|
|
20961
20958
|
`, CA = ({ connectorName: e, entity: t, checked: n, disabled: r, setCheckedEntities: o }) => {
|
|
@@ -20985,8 +20982,8 @@ const s_ = (e) => {
|
|
|
20985
20982
|
return /* @__PURE__ */ u.jsx(_e, { title: r ? L_ : "", placement: "top", children: /* @__PURE__ */ u.jsxs(mA, { disabled: b || f, onClick: h, children: [
|
|
20986
20983
|
/* @__PURE__ */ u.jsx(bA, { value: n, checked: n, disabled: r }),
|
|
20987
20984
|
/* @__PURE__ */ u.jsx(_e, { title: (c == null ? void 0 : c.length) > 30 ? c : null, placement: "right", children: /* @__PURE__ */ u.jsx(yA, { variant: "body2", children: c }) }),
|
|
20988
|
-
b ? /* @__PURE__ */ u.jsx(
|
|
20989
|
-
f ? /* @__PURE__ */ u.jsx(_e, { title: "Record not found in " + e, children: /* @__PURE__ */ u.jsx(
|
|
20985
|
+
b ? /* @__PURE__ */ u.jsx(u0, { children: /* @__PURE__ */ u.jsx(vA, {}) }) : null,
|
|
20986
|
+
f ? /* @__PURE__ */ u.jsx(_e, { title: "Record not found in " + e, children: /* @__PURE__ */ u.jsx(u0, { children: /* @__PURE__ */ u.jsx(Yc, {}) }) }) : null
|
|
20990
20987
|
] }) });
|
|
20991
20988
|
}, xA = O(B)`
|
|
20992
20989
|
color: #343c45;
|
|
@@ -21035,7 +21032,7 @@ const EA = O(B)`
|
|
|
21035
21032
|
text-transform: capitalize;
|
|
21036
21033
|
`, _A = O(B)`
|
|
21037
21034
|
overflow: hidden;
|
|
21038
|
-
`, Rh = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "#6C7B94", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.00483 12.5052C7.73146 12.7786 7.73146 13.2218 8.00483 13.4952C8.2782 13.7685 8.72141 13.7685 8.99478 13.4952L11.9948 10.4952C12.2681 10.2218 12.2681 9.77859 11.9948 9.50522L8.99478 6.50522C8.72141 6.23185 8.2782 6.23185 8.00483 6.50522C7.73146 6.77859 7.73146 7.2218 8.00483 7.49517L10.5099 10.0002L8.00483 12.5052Z" })),
|
|
21035
|
+
`, Rh = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "#6C7B94", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.00483 12.5052C7.73146 12.7786 7.73146 13.2218 8.00483 13.4952C8.2782 13.7685 8.72141 13.7685 8.99478 13.4952L11.9948 10.4952C12.2681 10.2218 12.2681 9.77859 11.9948 9.50522L8.99478 6.50522C8.72141 6.23185 8.2782 6.23185 8.00483 6.50522C7.73146 6.77859 7.73146 7.2218 8.00483 7.49517L10.5099 10.0002L8.00483 12.5052Z" })), d0 = ({
|
|
21039
21036
|
connectorName: e,
|
|
21040
21037
|
entities: t,
|
|
21041
21038
|
checkedEntities: n = {},
|
|
@@ -21065,7 +21062,7 @@ const EA = O(B)`
|
|
|
21065
21062
|
},
|
|
21066
21063
|
c.formId
|
|
21067
21064
|
)) })
|
|
21068
|
-
] }, a.type)) }) : /* @__PURE__ */ u.jsx(
|
|
21065
|
+
] }, a.type)) }) : /* @__PURE__ */ u.jsx(Xl, { message: S_ });
|
|
21069
21066
|
}, AA = O(B)`
|
|
21070
21067
|
padding: 18px 0;
|
|
21071
21068
|
row-gap: 12px;
|
|
@@ -21138,7 +21135,7 @@ const EA = O(B)`
|
|
|
21138
21135
|
}, NA = ({ connectorName: e, results: t, formId: n, searchObject: r, addEntity: o }) => {
|
|
21139
21136
|
const i = t.length, { connectorFunctions: s } = Oe(fn), a = s == null ? void 0 : s.sendTrackingEvent;
|
|
21140
21137
|
if (!(t != null && t.length))
|
|
21141
|
-
return /* @__PURE__ */ u.jsx(
|
|
21138
|
+
return /* @__PURE__ */ u.jsx(Xl, { message: "No results found" });
|
|
21142
21139
|
const c = (l) => {
|
|
21143
21140
|
o(l), a == null || a(Gt.email_logging_search_result_selected, {
|
|
21144
21141
|
app_name: e,
|
|
@@ -21171,7 +21168,7 @@ const EA = O(B)`
|
|
|
21171
21168
|
row-gap: 8px;
|
|
21172
21169
|
align-items: center;
|
|
21173
21170
|
justify-content: center;
|
|
21174
|
-
`, MA = O(
|
|
21171
|
+
`, MA = O($l)`
|
|
21175
21172
|
width: 32px;
|
|
21176
21173
|
height: 32px;
|
|
21177
21174
|
fill: #506dff;
|
|
@@ -21283,7 +21280,7 @@ const EA = O(B)`
|
|
|
21283
21280
|
disabled: d || !g,
|
|
21284
21281
|
onClick: m,
|
|
21285
21282
|
children: [
|
|
21286
|
-
d ? /* @__PURE__ */ u.jsx(
|
|
21283
|
+
d ? /* @__PURE__ */ u.jsx(N0, { sx: { color: "#97A3B7" }, size: 12 }) : null,
|
|
21287
21284
|
"Save & Enable"
|
|
21288
21285
|
]
|
|
21289
21286
|
}
|
|
@@ -21334,14 +21331,14 @@ const EA = O(B)`
|
|
|
21334
21331
|
return /* @__PURE__ */ u.jsxs(UA, { width: i, children: [
|
|
21335
21332
|
/* @__PURE__ */ u.jsx(ee, { variant: "h3", children: o }),
|
|
21336
21333
|
/* @__PURE__ */ u.jsx(XA, {}),
|
|
21337
|
-
r ? /* @__PURE__ */ u.jsx(
|
|
21338
|
-
|
|
21334
|
+
r ? /* @__PURE__ */ u.jsx(k0, { children: /* @__PURE__ */ u.jsx(
|
|
21335
|
+
M0,
|
|
21339
21336
|
{
|
|
21340
21337
|
"aria-labelledby": "demo-controlled-radio-buttons-group",
|
|
21341
21338
|
name: "controlled-radio-buttons-group",
|
|
21342
21339
|
value: c,
|
|
21343
21340
|
onChange: m,
|
|
21344
|
-
children: s.map((p) => /* @__PURE__ */ u.jsx(
|
|
21341
|
+
children: s.map((p) => /* @__PURE__ */ u.jsx(P0, { value: p.value, control: /* @__PURE__ */ u.jsx(j0, {}), label: p.label }, p.value))
|
|
21345
21342
|
}
|
|
21346
21343
|
) }) : null,
|
|
21347
21344
|
/* @__PURE__ */ u.jsx(
|
|
@@ -21355,7 +21352,7 @@ const EA = O(B)`
|
|
|
21355
21352
|
multiline: !0,
|
|
21356
21353
|
rows: 5,
|
|
21357
21354
|
limit: 250,
|
|
21358
|
-
validation: { validate:
|
|
21355
|
+
validation: { validate: Sl() }
|
|
21359
21356
|
}
|
|
21360
21357
|
),
|
|
21361
21358
|
/* @__PURE__ */ u.jsxs($A, { children: [
|
|
@@ -21414,7 +21411,7 @@ const qA = O(B)`
|
|
|
21414
21411
|
padding: 6px 12px;
|
|
21415
21412
|
margin-top: auto;
|
|
21416
21413
|
background-color: #f6f8fc;
|
|
21417
|
-
`,
|
|
21414
|
+
`, f0 = O(ut)`
|
|
21418
21415
|
&:disabled {
|
|
21419
21416
|
opacity: 0.4;
|
|
21420
21417
|
}
|
|
@@ -21424,7 +21421,7 @@ const qA = O(B)`
|
|
|
21424
21421
|
font-weight: 400;
|
|
21425
21422
|
line-height: 12px;
|
|
21426
21423
|
letter-spacing: 0;
|
|
21427
|
-
`,
|
|
21424
|
+
`, h0 = O(_e)`
|
|
21428
21425
|
padding: 6px;
|
|
21429
21426
|
border-radius: 6px;
|
|
21430
21427
|
`, KA = () => {
|
|
@@ -21434,14 +21431,14 @@ const qA = O(B)`
|
|
|
21434
21431
|
onSuccess: r
|
|
21435
21432
|
}), s = () => {
|
|
21436
21433
|
o({ conversationId: e, feedbackData: {
|
|
21437
|
-
feedback_type:
|
|
21434
|
+
feedback_type: c0,
|
|
21438
21435
|
positive_feedback: !1
|
|
21439
21436
|
} });
|
|
21440
21437
|
}, a = () => {
|
|
21441
21438
|
n(!0);
|
|
21442
21439
|
}, c = ({ feedbackComment: l, feedbackOption: d }) => {
|
|
21443
21440
|
o({ conversationId: e, feedbackData: {
|
|
21444
|
-
feedback_type:
|
|
21441
|
+
feedback_type: c0,
|
|
21445
21442
|
comment: l,
|
|
21446
21443
|
option: d,
|
|
21447
21444
|
positive_feedback: !1
|
|
@@ -21450,8 +21447,8 @@ const qA = O(B)`
|
|
|
21450
21447
|
return /* @__PURE__ */ u.jsxs(qA, { children: [
|
|
21451
21448
|
/* @__PURE__ */ u.jsx(QA, { children: M_ }),
|
|
21452
21449
|
/* @__PURE__ */ u.jsxs(B, { flexDirection: "row", alignItems: "flex-end", children: [
|
|
21453
|
-
/* @__PURE__ */ u.jsx(
|
|
21454
|
-
|
|
21450
|
+
/* @__PURE__ */ u.jsx(h0, { arrow: !0, title: N_, placement: "top", children: /* @__PURE__ */ u.jsx(
|
|
21451
|
+
f0,
|
|
21455
21452
|
{
|
|
21456
21453
|
className: "feedback-button",
|
|
21457
21454
|
size: "small",
|
|
@@ -21460,8 +21457,8 @@ const qA = O(B)`
|
|
|
21460
21457
|
children: /* @__PURE__ */ u.jsx(Sh, {})
|
|
21461
21458
|
}
|
|
21462
21459
|
) }),
|
|
21463
|
-
/* @__PURE__ */ u.jsx(
|
|
21464
|
-
|
|
21460
|
+
/* @__PURE__ */ u.jsx(h0, { arrow: !0, title: k_, placement: "top", children: /* @__PURE__ */ u.jsx(
|
|
21461
|
+
f0,
|
|
21465
21462
|
{
|
|
21466
21463
|
className: "feedback-button",
|
|
21467
21464
|
size: "small",
|
|
@@ -21571,11 +21568,11 @@ const qA = O(B)`
|
|
|
21571
21568
|
height: 16px;
|
|
21572
21569
|
`, fT = O(B)`
|
|
21573
21570
|
flex-grow: 1;
|
|
21574
|
-
`,
|
|
21571
|
+
`, p0 = O(B)`
|
|
21575
21572
|
flex-grow: 1;
|
|
21576
21573
|
flex-basis: 0;
|
|
21577
21574
|
min-height: 0;
|
|
21578
|
-
`,
|
|
21575
|
+
`, g0 = O(B)`
|
|
21579
21576
|
padding: 0 16px;
|
|
21580
21577
|
min-height: 100%;
|
|
21581
21578
|
max-height: 100%;
|
|
@@ -21638,7 +21635,7 @@ const qA = O(B)`
|
|
|
21638
21635
|
"& .MuiSwitch-track": {
|
|
21639
21636
|
borderRadius: 8
|
|
21640
21637
|
}
|
|
21641
|
-
})), vT = O(
|
|
21638
|
+
})), vT = O($l)`
|
|
21642
21639
|
width: 14px;
|
|
21643
21640
|
height: 14px;
|
|
21644
21641
|
fill: #4d596c;
|
|
@@ -21705,7 +21702,7 @@ const qA = O(B)`
|
|
|
21705
21702
|
] }),
|
|
21706
21703
|
/* @__PURE__ */ u.jsx(fT, { children: /* @__PURE__ */ u.jsxs(xo, { children: [
|
|
21707
21704
|
/* @__PURE__ */ u.jsxs(br, { condition: l, children: [
|
|
21708
|
-
/* @__PURE__ */ u.jsx(
|
|
21705
|
+
/* @__PURE__ */ u.jsx(p0, { children: /* @__PURE__ */ u.jsx(g0, { children: /* @__PURE__ */ u.jsx(d0, { connectorName: s, entities: o, disabled: !0 }) }) }),
|
|
21709
21706
|
/* @__PURE__ */ u.jsx(KA, {})
|
|
21710
21707
|
] }, "disabled-view"),
|
|
21711
21708
|
/* @__PURE__ */ u.jsxs(br, { fallback: !0, children: [
|
|
@@ -21721,10 +21718,10 @@ const qA = O(B)`
|
|
|
21721
21718
|
size: "small"
|
|
21722
21719
|
}
|
|
21723
21720
|
) }),
|
|
21724
|
-
/* @__PURE__ */ u.jsx(
|
|
21721
|
+
/* @__PURE__ */ u.jsx(p0, { children: /* @__PURE__ */ u.jsx(g0, { children: /* @__PURE__ */ u.jsxs(xo, { children: [
|
|
21725
21722
|
/* @__PURE__ */ u.jsx(br, { condition: j, children: /* @__PURE__ */ u.jsx(PA, { message: R ? "Searching..." : "Loading..." }) }, "loading"),
|
|
21726
21723
|
/* @__PURE__ */ u.jsx(br, { condition: d === "" && H.length > 0, children: /* @__PURE__ */ u.jsx(
|
|
21727
|
-
|
|
21724
|
+
d0,
|
|
21728
21725
|
{
|
|
21729
21726
|
connectorName: s,
|
|
21730
21727
|
checkedEntities: b,
|
|
@@ -21750,7 +21747,7 @@ const qA = O(B)`
|
|
|
21750
21747
|
addEntity: q
|
|
21751
21748
|
}
|
|
21752
21749
|
) }, "search-results"),
|
|
21753
|
-
/* @__PURE__ */ u.jsx(br, { condition: !H.length && E, children: /* @__PURE__ */ u.jsx(
|
|
21750
|
+
/* @__PURE__ */ u.jsx(br, { condition: !H.length && E, children: /* @__PURE__ */ u.jsx(Xl, { message: jn }) }, "error")
|
|
21754
21751
|
] }) }) }),
|
|
21755
21752
|
d ? null : /* @__PURE__ */ u.jsx(
|
|
21756
21753
|
WA,
|
|
@@ -21884,7 +21881,7 @@ const qA = O(B)`
|
|
|
21884
21881
|
[e, t, n]
|
|
21885
21882
|
);
|
|
21886
21883
|
return /* @__PURE__ */ u.jsx(fn.Provider, { value: o, children: r });
|
|
21887
|
-
}, LT = ({ children: e, ...t }) => /* @__PURE__ */ u.jsx(
|
|
21884
|
+
}, LT = ({ children: e, ...t }) => /* @__PURE__ */ u.jsx(wl, { store: Hl, children: /* @__PURE__ */ u.jsx(el, { inter: !0, children: /* @__PURE__ */ u.jsx(Gl, { children: /* @__PURE__ */ u.jsx(qc, { fallback: /* @__PURE__ */ u.jsx(u.Fragment, {}), children: /* @__PURE__ */ u.jsx(ST, { ...t, children: e }) }) }) }) }), ji = ".hiver-log-crm-button", Bi = ".hiver-log-crm-compose-button", m0 = ".hiver-log-crm-subject-button";
|
|
21888
21885
|
class XT {
|
|
21889
21886
|
constructor({
|
|
21890
21887
|
emailNodeFilter: t,
|
|
@@ -21943,10 +21940,10 @@ class XT {
|
|
|
21943
21940
|
var r, o, i;
|
|
21944
21941
|
if (this.disableAutoLogInSubject || !this.subjectContainer)
|
|
21945
21942
|
return;
|
|
21946
|
-
const t = (r = this.subjectContainer) == null ? void 0 : r.querySelectorAll(
|
|
21943
|
+
const t = (r = this.subjectContainer) == null ? void 0 : r.querySelectorAll(m0);
|
|
21947
21944
|
t == null || t.forEach((s) => s.remove());
|
|
21948
21945
|
const n = document.createElement("div");
|
|
21949
|
-
n.classList.add(
|
|
21946
|
+
n.classList.add(m0.slice(1)), n.style.display = "inline-block", (o = this.subjectContainer) == null || o.appendChild(n), (i = this.setSubjectButtonContainers) == null || i.call(this, { crm_subject: { element: n } });
|
|
21950
21947
|
});
|
|
21951
21948
|
this.emailNodeFilter = t || this._defaultEmailNodeFilter, this.composeNodeFilter = n || this._defaultComposeNodeFilter, this.emailHeaderTargetSelector = r, this.composeHeaderTargetSelector = o, this.emailMessageContainerSelector = i, this.subjectContainer = s, this.disableAutoLogInEmail = a, this.disableAutoLogInCompose = c, this.disableAutoLogInSubject = l;
|
|
21952
21949
|
}
|
|
@@ -21982,10 +21979,10 @@ class XT {
|
|
|
21982
21979
|
document.querySelectorAll(ji).forEach((r) => r.remove()), document.querySelectorAll(Bi).forEach((r) => r.remove()), this.observer && (this.observer.disconnect(), this.observer = null);
|
|
21983
21980
|
}
|
|
21984
21981
|
}
|
|
21985
|
-
const $T = ({ observer: e, ...t }) => /* @__PURE__ */ u.jsx(
|
|
21982
|
+
const $T = ({ observer: e, ...t }) => /* @__PURE__ */ u.jsx(Wl, { children: /* @__PURE__ */ u.jsxs(LT, { ...t, children: [
|
|
21986
21983
|
/* @__PURE__ */ u.jsx(TT, { observer: e }),
|
|
21987
21984
|
Io(
|
|
21988
|
-
/* @__PURE__ */ u.jsx(
|
|
21985
|
+
/* @__PURE__ */ u.jsx(Zl, { id: "toast-message", children: /* @__PURE__ */ u.jsx(
|
|
21989
21986
|
tl,
|
|
21990
21987
|
{
|
|
21991
21988
|
position: "bottom-left",
|
|
@@ -22007,7 +22004,7 @@ const $T = ({ observer: e, ...t }) => /* @__PURE__ */ u.jsx(Hl, { children: /* @
|
|
|
22007
22004
|
});
|
|
22008
22005
|
export {
|
|
22009
22006
|
UT as ActionQueue,
|
|
22010
|
-
|
|
22007
|
+
e0 as CONNECTORS_AGENT_EVENTS,
|
|
22011
22008
|
WT as ConnectorCardList,
|
|
22012
22009
|
$T as EmailLogger,
|
|
22013
22010
|
XT as GmailLogObserver,
|
|
@@ -22020,7 +22017,7 @@ export {
|
|
|
22020
22017
|
BT as getMetaData,
|
|
22021
22018
|
jT as initConnectorsBifrost,
|
|
22022
22019
|
MT as setCaptureFeedbackOnDemand,
|
|
22023
|
-
|
|
22020
|
+
i1 as shouldCaptureFeedback,
|
|
22024
22021
|
pg as shouldShowNotification,
|
|
22025
22022
|
HT as useConnectorSelectedEmail
|
|
22026
22023
|
};
|