@hiver/connector-admin 3.1.2-unifiedView2-beta.14 → 3.1.2-unifiedView2-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.es.js +434 -424
- package/index.umd.js +106 -106
- package/package.json +1 -1
- package/style.css +1 -1
- package/v2/components/ui/connector-item/index.d.ts +2 -1
- package/v2/components/ui/connector-item/index.d.ts.map +1 -1
- package/v2/constants/global-constants.d.ts +1 -1
- package/v2/constants/global-constants.d.ts.map +1 -1
- package/v2/features/native-integrations/components/native-connectors-list/index.d.ts.map +1 -1
- package/v2/types/app.d.ts +1 -0
- package/v2/types/app.d.ts.map +1 -1
package/index.es.js
CHANGED
|
@@ -17,7 +17,7 @@ import * as S from "react";
|
|
|
17
17
|
import ge, { useState as ue, useRef as He, useSyncExternalStore as fv, useLayoutEffect as ll, useEffect as me, isValidElement as oi, cloneElement as qu, createContext as TA, Suspense as NB, useContext as Ye, useMemo as Pe, useCallback as At, memo as Bv, useReducer as gd, Fragment as Sc, Component as ul, forwardRef as dd } from "react";
|
|
18
18
|
import * as hv from "react-dom";
|
|
19
19
|
import FB, { unstable_batchedUpdates as ps, createPortal as gl, render as pv, unmountComponentAtNode as Qv } from "react-dom";
|
|
20
|
-
import { HiverProvider as PB, styled as T, Stack as G, Box as ye, Typography as se, Skeleton as Vo, theme as ae, Icon as Ho, CircularProgress as Wo, palette as Qn, Button as Et, Tab as _c, Chip as
|
|
20
|
+
import { HiverProvider as PB, styled as T, Stack as G, Box as ye, Typography as se, Skeleton as Vo, theme as ae, Icon as Ho, CircularProgress as Wo, palette as Qn, Button as Et, Tab as _c, Chip as ns, Alert as ii, icons as Nt, Dialog as Cd, Tooltip as Zt, IconButton as nr, brandIcons as kB, tooltipClasses as Do, Checkbox as Oi, TextField as Ed, Autocomplete as yi, Tabs as Id, Grid as MB, Switch as fd, DatePicker as mv, DateTextField as vv, InputAdornment as bv, Accordion as jB, AccordionSummary as UB, accordionSummaryClasses as GB, AccordionDetails as VB, Snackbar as HB, Link as WB, ScopedCssBaseline as yv, DialogCloseButton as xv, MenuSearch as wv, InputBase as Tv, MenuScrollable as Sv, MenuItem as _v } from "@hiver/hiver-ui-kit";
|
|
21
21
|
var Xe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
22
22
|
function dl(e) {
|
|
23
23
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -41,7 +41,7 @@ function Rv(e) {
|
|
|
41
41
|
});
|
|
42
42
|
}), n;
|
|
43
43
|
}
|
|
44
|
-
var Zu = { exports: {} },
|
|
44
|
+
var Zu = { exports: {} }, ea = {};
|
|
45
45
|
/**
|
|
46
46
|
* @license React
|
|
47
47
|
* react-jsx-runtime.production.min.js
|
|
@@ -53,7 +53,7 @@ var Zu = { exports: {} }, $i = {};
|
|
|
53
53
|
*/
|
|
54
54
|
var ZC;
|
|
55
55
|
function Dv() {
|
|
56
|
-
if (ZC) return
|
|
56
|
+
if (ZC) return ea;
|
|
57
57
|
ZC = 1;
|
|
58
58
|
var e = ge, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, A = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
59
59
|
function i(s, a, c) {
|
|
@@ -63,9 +63,9 @@ function Dv() {
|
|
|
63
63
|
if (s && s.defaultProps) for (l in a = s.defaultProps, a) g[l] === void 0 && (g[l] = a[l]);
|
|
64
64
|
return { $$typeof: t, type: s, key: I, ref: p, props: g, _owner: A.current };
|
|
65
65
|
}
|
|
66
|
-
return
|
|
66
|
+
return ea.Fragment = n, ea.jsx = i, ea.jsxs = i, ea;
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var ta = {};
|
|
69
69
|
/**
|
|
70
70
|
* @license React
|
|
71
71
|
* react-jsx-runtime.development.js
|
|
@@ -666,8 +666,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
666
666
|
return sr(x, U, $, !1);
|
|
667
667
|
}
|
|
668
668
|
var L = _, W = On;
|
|
669
|
-
|
|
670
|
-
}()),
|
|
669
|
+
ta.Fragment = r, ta.jsx = L, ta.jsxs = W;
|
|
670
|
+
}()), ta;
|
|
671
671
|
}
|
|
672
672
|
process.env.NODE_ENV === "production" ? Zu.exports = Dv() : Zu.exports = Ov();
|
|
673
673
|
var u = Zu.exports;
|
|
@@ -684,7 +684,7 @@ function XA() {
|
|
|
684
684
|
for (var e, t, n = 0, r = "", A = arguments.length; n < A; n++) (e = arguments[n]) && (t = YB(e)) && (r && (r += " "), r += t);
|
|
685
685
|
return r;
|
|
686
686
|
}
|
|
687
|
-
const
|
|
687
|
+
const Oa = (e) => typeof e == "number" && !isNaN(e), Oo = (e) => typeof e == "string", lr = (e) => typeof e == "function", Ys = (e) => Oo(e) || lr(e) ? e : null, $u = (e) => oi(e) || Oo(e) || lr(e) || Oa(e);
|
|
688
688
|
function Lv(e, t, n) {
|
|
689
689
|
n === void 0 && (n = 300);
|
|
690
690
|
const { scrollHeight: r, style: A } = e;
|
|
@@ -716,7 +716,7 @@ function eE(e, t) {
|
|
|
716
716
|
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 } : {};
|
|
717
717
|
}
|
|
718
718
|
const Wn = /* @__PURE__ */ new Map();
|
|
719
|
-
let
|
|
719
|
+
let La = [];
|
|
720
720
|
const eg = /* @__PURE__ */ new Set(), Nv = (e) => eg.forEach((t) => t(e)), zB = () => Wn.size > 0;
|
|
721
721
|
function JB(e, t) {
|
|
722
722
|
var n;
|
|
@@ -727,7 +727,7 @@ function JB(e, t) {
|
|
|
727
727
|
}), r;
|
|
728
728
|
}
|
|
729
729
|
function XB(e, t) {
|
|
730
|
-
$u(e) && (zB() ||
|
|
730
|
+
$u(e) && (zB() || La.push({ content: e, options: t }), Wn.forEach((n) => {
|
|
731
731
|
n.buildToast(e, t);
|
|
732
732
|
}));
|
|
733
733
|
}
|
|
@@ -769,7 +769,7 @@ function Fv(e) {
|
|
|
769
769
|
const we = { ...B, style: B.toastStyle, key: p++, ...Object.fromEntries(Object.entries(w).filter((z) => {
|
|
770
770
|
let [j, J] = z;
|
|
771
771
|
return J != null;
|
|
772
|
-
})), toastId: F, updateId: N, data: Y, closeToast: le, isIn: !1, className: Ys(w.className || B.toastClassName), bodyClassName: Ys(w.bodyClassName || B.bodyClassName), progressClassName: Ys(w.progressClassName || B.progressClassName), autoClose: !w.isLoading && (te = w.autoClose, ce = B.autoClose, te === !1 ||
|
|
772
|
+
})), toastId: F, updateId: N, data: Y, closeToast: le, isIn: !1, className: Ys(w.className || B.toastClassName), bodyClassName: Ys(w.bodyClassName || B.bodyClassName), progressClassName: Ys(w.progressClassName || B.progressClassName), autoClose: !w.isLoading && (te = w.autoClose, ce = B.autoClose, te === !1 || Oa(te) && te > 0 ? te : ce), deleteToast() {
|
|
773
773
|
const z = h.get(F), { onClose: j, children: J } = z.props;
|
|
774
774
|
lr(j) && j(oi(J) && J.props), I(eE(z, "removed")), h.delete(F), f--, f < 0 && (f = 0), d.length > 0 ? y(d.shift()) : m();
|
|
775
775
|
} };
|
|
@@ -778,7 +778,7 @@ function Fv(e) {
|
|
|
778
778
|
let O = v;
|
|
779
779
|
oi(v) && !Oo(v.type) ? O = qu(v, { closeToast: le, toastProps: we, data: Y }) : lr(v) && (O = v({ closeToast: le, toastProps: we, data: Y }));
|
|
780
780
|
const M = { content: O, props: we, staleId: V };
|
|
781
|
-
B.limit && B.limit > 0 && f > B.limit && Ee ? d.push(M) :
|
|
781
|
+
B.limit && B.limit > 0 && f > B.limit && Ee ? d.push(M) : Oa(P) ? setTimeout(() => {
|
|
782
782
|
y(M);
|
|
783
783
|
}, P) : y(M);
|
|
784
784
|
}, setProps(v) {
|
|
@@ -789,7 +789,7 @@ function Fv(e) {
|
|
|
789
789
|
}(i, o, Nv);
|
|
790
790
|
Wn.set(i, a);
|
|
791
791
|
const c = a.observe(s);
|
|
792
|
-
return
|
|
792
|
+
return La.forEach((l) => XB(l.content, l.options)), La = [], () => {
|
|
793
793
|
c(), Wn.delete(i);
|
|
794
794
|
};
|
|
795
795
|
}, setProps(s) {
|
|
@@ -863,21 +863,21 @@ function kv(e) {
|
|
|
863
863
|
let Mv = 1;
|
|
864
864
|
const KB = () => "" + Mv++;
|
|
865
865
|
function jv(e) {
|
|
866
|
-
return e && (Oo(e.toastId) ||
|
|
866
|
+
return e && (Oo(e.toastId) || Oa(e.toastId)) ? e.toastId : KB();
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Qa(e, t) {
|
|
869
869
|
return XB(e, t), t.toastId;
|
|
870
870
|
}
|
|
871
871
|
function Rc(e, t) {
|
|
872
872
|
return { ...t, type: t && t.type || e, toastId: jv(t) };
|
|
873
873
|
}
|
|
874
874
|
function Qs(e) {
|
|
875
|
-
return (t, n) =>
|
|
875
|
+
return (t, n) => Qa(t, Rc(e, n));
|
|
876
876
|
}
|
|
877
877
|
function st(e, t) {
|
|
878
|
-
return
|
|
878
|
+
return Qa(e, Rc("default", t));
|
|
879
879
|
}
|
|
880
|
-
st.loading = (e, t) =>
|
|
880
|
+
st.loading = (e, t) => Qa(e, Rc("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), st.promise = function(e, t, n) {
|
|
881
881
|
let r, { pending: A, error: o, success: i } = t;
|
|
882
882
|
A && (r = Oo(A) ? st.loading(A, n) : st.loading(A.render, { ...n, ...A }));
|
|
883
883
|
const s = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, a = (l, g, I) => {
|
|
@@ -886,11 +886,11 @@ st.loading = (e, t) => pa(e, Rc("default", { isLoading: !0, autoClose: !1, close
|
|
|
886
886
|
return r ? st.update(r, { ...p, ...f }) : st(f.render, { ...p, ...f }), I;
|
|
887
887
|
}, c = lr(e) ? e() : e;
|
|
888
888
|
return c.then((l) => a("success", i, l)).catch((l) => a("error", o, l)), c;
|
|
889
|
-
}, st.success = Qs("success"), st.info = Qs("info"), st.error = Qs("error"), st.warning = Qs("warning"), st.warn = st.warning, st.dark = (e, t) =>
|
|
889
|
+
}, st.success = Qs("success"), st.info = Qs("info"), st.error = Qs("error"), st.warning = Qs("warning"), st.warn = st.warning, st.dark = (e, t) => Qa(e, Rc("default", { theme: "dark", ...t })), st.dismiss = function(e) {
|
|
890
890
|
(function(t) {
|
|
891
891
|
var n;
|
|
892
892
|
if (zB()) {
|
|
893
|
-
if (t == null || Oo(n = t) ||
|
|
893
|
+
if (t == null || Oo(n = t) || Oa(n)) Wn.forEach((r) => {
|
|
894
894
|
r.removeToast(t);
|
|
895
895
|
});
|
|
896
896
|
else if (t && ("containerId" in t || "id" in t)) {
|
|
@@ -899,7 +899,7 @@ st.loading = (e, t) => pa(e, Rc("default", { isLoading: !0, autoClose: !1, close
|
|
|
899
899
|
A.removeToast(t.id);
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
} else
|
|
902
|
+
} else La = La.filter((r) => t != null && r.options.toastId !== t);
|
|
903
903
|
})(e);
|
|
904
904
|
}, st.clearWaitingQueue = function(e) {
|
|
905
905
|
e === void 0 && (e = {}), Wn.forEach((t) => {
|
|
@@ -916,7 +916,7 @@ st.loading = (e, t) => pa(e, Rc("default", { isLoading: !0, autoClose: !1, close
|
|
|
916
916
|
const { props: r, content: A } = n, o = { delay: 100, ...r, ...t, toastId: t.toastId || e, updateId: KB() };
|
|
917
917
|
o.toastId !== e && (o.staleId = e);
|
|
918
918
|
const i = o.render || A;
|
|
919
|
-
delete o.render,
|
|
919
|
+
delete o.render, Qa(i, o);
|
|
920
920
|
}
|
|
921
921
|
}, st.done = (e) => {
|
|
922
922
|
st.update(e, { progress: 1 });
|
|
@@ -1358,7 +1358,7 @@ var s1 = typeof Symbol == "function" && Symbol.observable || "@@observable", aE
|
|
|
1358
1358
|
REPLACE: `@@redux/REPLACE${/* @__PURE__ */ ou()}`,
|
|
1359
1359
|
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${ou()}`
|
|
1360
1360
|
}, Lo = c1;
|
|
1361
|
-
function
|
|
1361
|
+
function rs(e) {
|
|
1362
1362
|
if (typeof e != "object" || e === null)
|
|
1363
1363
|
return !1;
|
|
1364
1364
|
let t = e;
|
|
@@ -1449,7 +1449,7 @@ function Ah(e, t, n) {
|
|
|
1449
1449
|
};
|
|
1450
1450
|
}
|
|
1451
1451
|
function I(C) {
|
|
1452
|
-
if (!
|
|
1452
|
+
if (!rs(C))
|
|
1453
1453
|
throw new Error(process.env.NODE_ENV === "production" ? xn(7) : `Actions must be plain objects. Instead, the actual type was: '${FA(C)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);
|
|
1454
1454
|
if (typeof C.type > "u")
|
|
1455
1455
|
throw new Error(process.env.NODE_ENV === "production" ? xn(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
|
@@ -1521,7 +1521,7 @@ function C1(e, t, n, r) {
|
|
|
1521
1521
|
const A = Object.keys(t), o = n && n.type === Lo.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer";
|
|
1522
1522
|
if (A.length === 0)
|
|
1523
1523
|
return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";
|
|
1524
|
-
if (!
|
|
1524
|
+
if (!rs(e))
|
|
1525
1525
|
return `The ${o} has unexpected type of "${FA(e)}". Expected argument to be an object with the following keys: "${A.join('", "')}"`;
|
|
1526
1526
|
const i = Object.keys(e).filter((s) => !t.hasOwnProperty(s) && !r[s]);
|
|
1527
1527
|
if (i.forEach((s) => {
|
|
@@ -1597,7 +1597,7 @@ function I1(...e) {
|
|
|
1597
1597
|
};
|
|
1598
1598
|
}
|
|
1599
1599
|
function oh(e) {
|
|
1600
|
-
return
|
|
1600
|
+
return rs(e) && "type" in e && typeof e.type == "string";
|
|
1601
1601
|
}
|
|
1602
1602
|
var ih = Symbol.for("immer-nothing"), cE = Symbol.for("immer-draftable"), Er = Symbol.for("immer-state"), f1 = process.env.NODE_ENV !== "production" ? [
|
|
1603
1603
|
// All error codes, starting by 0:
|
|
@@ -1730,9 +1730,9 @@ function Fo(e) {
|
|
|
1730
1730
|
const t = Q1[e];
|
|
1731
1731
|
return t || $n(0, e), t;
|
|
1732
1732
|
}
|
|
1733
|
-
var
|
|
1733
|
+
var Na;
|
|
1734
1734
|
function ch() {
|
|
1735
|
-
return
|
|
1735
|
+
return Na;
|
|
1736
1736
|
}
|
|
1737
1737
|
function m1(e, t) {
|
|
1738
1738
|
return {
|
|
@@ -1752,10 +1752,10 @@ function Ag(e) {
|
|
|
1752
1752
|
og(e), e.drafts_.forEach(v1), e.drafts_ = null;
|
|
1753
1753
|
}
|
|
1754
1754
|
function og(e) {
|
|
1755
|
-
e ===
|
|
1755
|
+
e === Na && (Na = e.parent_);
|
|
1756
1756
|
}
|
|
1757
1757
|
function uE(e) {
|
|
1758
|
-
return
|
|
1758
|
+
return Na = m1(Na, e);
|
|
1759
1759
|
}
|
|
1760
1760
|
function v1(e) {
|
|
1761
1761
|
const t = e[Er];
|
|
@@ -1843,7 +1843,7 @@ function b1(e, t) {
|
|
|
1843
1843
|
isManual_: !1
|
|
1844
1844
|
};
|
|
1845
1845
|
let A = r, o = Qd;
|
|
1846
|
-
n && (A = [r], o =
|
|
1846
|
+
n && (A = [r], o = Fa);
|
|
1847
1847
|
const { revoke: i, proxy: s } = Proxy.revocable(A, o);
|
|
1848
1848
|
return r.draft_ = s, r.revoke_ = i, s;
|
|
1849
1849
|
}
|
|
@@ -1902,16 +1902,16 @@ var Qd = {
|
|
|
1902
1902
|
setPrototypeOf() {
|
|
1903
1903
|
$n(12);
|
|
1904
1904
|
}
|
|
1905
|
-
},
|
|
1905
|
+
}, Fa = {};
|
|
1906
1906
|
Oc(Qd, (e, t) => {
|
|
1907
|
-
|
|
1907
|
+
Fa[e] = function() {
|
|
1908
1908
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
1909
1909
|
};
|
|
1910
1910
|
});
|
|
1911
|
-
|
|
1912
|
-
return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && $n(13),
|
|
1911
|
+
Fa.deleteProperty = function(e, t) {
|
|
1912
|
+
return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && $n(13), Fa.set.call(this, e, t, void 0);
|
|
1913
1913
|
};
|
|
1914
|
-
|
|
1914
|
+
Fa.set = function(e, t, n) {
|
|
1915
1915
|
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && $n(14), Qd.set.call(this, e[0], t, n, e[0]);
|
|
1916
1916
|
};
|
|
1917
1917
|
function iu(e, t) {
|
|
@@ -2068,7 +2068,7 @@ var T1 = dh(), S1 = dh, _1 = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTE
|
|
|
2068
2068
|
if (arguments.length !== 0)
|
|
2069
2069
|
return typeof arguments[0] == "object" ? Dc : Dc.apply(null, arguments);
|
|
2070
2070
|
}, Ch = (e) => e && typeof e.match == "function";
|
|
2071
|
-
function
|
|
2071
|
+
function ma(e, t) {
|
|
2072
2072
|
function n(...r) {
|
|
2073
2073
|
if (t) {
|
|
2074
2074
|
let A = t(...r);
|
|
@@ -2128,18 +2128,18 @@ It is disabled in production builds, so you don't need to worry about that.`);
|
|
|
2128
2128
|
}
|
|
2129
2129
|
};
|
|
2130
2130
|
}
|
|
2131
|
-
var Ih = class
|
|
2131
|
+
var Ih = class Ia extends Array {
|
|
2132
2132
|
constructor(...t) {
|
|
2133
|
-
super(...t), Object.setPrototypeOf(this,
|
|
2133
|
+
super(...t), Object.setPrototypeOf(this, Ia.prototype);
|
|
2134
2134
|
}
|
|
2135
2135
|
static get [Symbol.species]() {
|
|
2136
|
-
return
|
|
2136
|
+
return Ia;
|
|
2137
2137
|
}
|
|
2138
2138
|
concat(...t) {
|
|
2139
2139
|
return super.concat.apply(this, t);
|
|
2140
2140
|
}
|
|
2141
2141
|
prepend(...t) {
|
|
2142
|
-
return t.length === 1 && Array.isArray(t[0]) ? new
|
|
2142
|
+
return t.length === 1 && Array.isArray(t[0]) ? new Ia(...t[0].concat(this)) : new Ia(...t.concat(this));
|
|
2143
2143
|
}
|
|
2144
2144
|
};
|
|
2145
2145
|
function CE(e) {
|
|
@@ -2252,7 +2252,7 @@ function F1(e = {}) {
|
|
|
2252
2252
|
}
|
|
2253
2253
|
function hh(e) {
|
|
2254
2254
|
const t = typeof e;
|
|
2255
|
-
return e == null || t === "string" || t === "boolean" || t === "number" || Array.isArray(e) ||
|
|
2255
|
+
return e == null || t === "string" || t === "boolean" || t === "number" || Array.isArray(e) || rs(e);
|
|
2256
2256
|
}
|
|
2257
2257
|
function sg(e, t = "", n = hh, r, A = [], o) {
|
|
2258
2258
|
let i;
|
|
@@ -2404,7 +2404,7 @@ function mh(e) {
|
|
|
2404
2404
|
let s;
|
|
2405
2405
|
if (typeof n == "function")
|
|
2406
2406
|
s = n;
|
|
2407
|
-
else if (
|
|
2407
|
+
else if (rs(n))
|
|
2408
2408
|
s = hd(n);
|
|
2409
2409
|
else
|
|
2410
2410
|
throw new Error(process.env.NODE_ENV === "production" ? Pt(1) : "`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");
|
|
@@ -2551,7 +2551,7 @@ var z1 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", J1
|
|
|
2551
2551
|
};
|
|
2552
2552
|
}, Tt = /* @__PURE__ */ (() => {
|
|
2553
2553
|
function e(t, n, r) {
|
|
2554
|
-
const A =
|
|
2554
|
+
const A = ma(t + "/fulfilled", (a, c, l, g) => ({
|
|
2555
2555
|
payload: a,
|
|
2556
2556
|
meta: {
|
|
2557
2557
|
...g || {},
|
|
@@ -2559,7 +2559,7 @@ var z1 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", J1
|
|
|
2559
2559
|
requestId: c,
|
|
2560
2560
|
requestStatus: "fulfilled"
|
|
2561
2561
|
}
|
|
2562
|
-
})), o =
|
|
2562
|
+
})), o = ma(t + "/pending", (a, c, l) => ({
|
|
2563
2563
|
payload: void 0,
|
|
2564
2564
|
meta: {
|
|
2565
2565
|
...l || {},
|
|
@@ -2567,7 +2567,7 @@ var z1 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", J1
|
|
|
2567
2567
|
requestId: a,
|
|
2568
2568
|
requestStatus: "pending"
|
|
2569
2569
|
}
|
|
2570
|
-
})), i =
|
|
2570
|
+
})), i = ma(t + "/rejected", (a, c, l, g, I) => ({
|
|
2571
2571
|
payload: g,
|
|
2572
2572
|
error: (r && r.serializeError || K1)(a || "Rejected"),
|
|
2573
2573
|
meta: {
|
|
@@ -2856,7 +2856,7 @@ function Ab({
|
|
|
2856
2856
|
o = r.reducer, i = r.prepare;
|
|
2857
2857
|
} else
|
|
2858
2858
|
o = r;
|
|
2859
|
-
A.addCase(e, o).exposeCaseReducer(t, o).exposeAction(t, i ?
|
|
2859
|
+
A.addCase(e, o).exposeCaseReducer(t, o).exposeAction(t, i ? ma(e, i) : ma(e));
|
|
2860
2860
|
}
|
|
2861
2861
|
function ob(e) {
|
|
2862
2862
|
return e._reducerDefinitionType === "asyncThunk";
|
|
@@ -2920,7 +2920,7 @@ const sb = {
|
|
|
2920
2920
|
setTimeout(() => {
|
|
2921
2921
|
n({ data: e + 10 });
|
|
2922
2922
|
});
|
|
2923
|
-
})).data), lb = cb.reducer, ub = "rls-connectors-enabled", gb = "ftr-connectors-enabled", db = "ftr-connector-blue-dot", Cb = "ftr-connectors-admin-schedule-call", Eb = "ftr-connectors-admin-guide-links", Ib = "ftr-connectors-enhancements", fb = "ftr-connector-preview", Bb = "ftr-connectors-oauth-flow-improvements", hb = "On a higher plan", pb = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.", Qb = "Upgrade", mb = "Learn more", vb = "Have any questions?", bh = "Contact us", bb = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", yb = "Hiver Chat Support", xb = "Copy", wb = "Authentication failed",
|
|
2923
|
+
})).data), lb = cb.reducer, ub = "rls-connectors-enabled", gb = "ftr-connectors-enabled", db = "ftr-connector-blue-dot", Cb = "ftr-connectors-admin-schedule-call", Eb = "ftr-connectors-admin-guide-links", Ib = "ftr-connectors-enhancements", fb = "ftr-connector-preview", Bb = "ftr-connectors-oauth-flow-improvements", hb = "On a higher plan", pb = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.", Qb = "Upgrade", mb = "Learn more", vb = "Have any questions?", bh = "Contact us", bb = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", yb = "Hiver Chat Support", xb = "Copy", wb = "Authentication failed", As = "hiver_connectors", Tb = "enableAllConnectorFtr";
|
|
2924
2924
|
function yh(e, t) {
|
|
2925
2925
|
const n = {};
|
|
2926
2926
|
return e.forEach((r) => {
|
|
@@ -2939,7 +2939,7 @@ function fE(e) {
|
|
|
2939
2939
|
});
|
|
2940
2940
|
}), t;
|
|
2941
2941
|
}
|
|
2942
|
-
const oA = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[Tb]) === !0 : (e == null ? void 0 : e[t]) === !0, Sb = (e) => oA(e, ub) && !oA(e, gb),
|
|
2942
|
+
const oA = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[Tb]) === !0 : (e == null ? void 0 : e[t]) === !0, Sb = (e) => oA(e, ub) && !oA(e, gb), Pa = (e) => oA(e, db), wh = (e) => oA(e, Ib), Th = (e, t, n) => {
|
|
2943
2943
|
const r = "?email=&name=&referrer=", s = window.innerWidth - 388, a = window.open(
|
|
2944
2944
|
`${bb}${r}`,
|
|
2945
2945
|
yb,
|
|
@@ -2965,7 +2965,7 @@ const oA = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[Tb])
|
|
|
2965
2965
|
}).catch(() => {
|
|
2966
2966
|
console.log("something went wrong while copying using navigator.clipboard function. Trying fallback copy"), _b(e, t);
|
|
2967
2967
|
});
|
|
2968
|
-
}, Db = (e) => ["sm.full"].some((n) => e.includes(n)), Sh = (e) => Object.keys(e).filter((t) => e[t]).join(" "), ys = (e, t) => Array.from({ length: e }, (n, r) => t(r)),
|
|
2968
|
+
}, Db = (e) => ["sm.full"].some((n) => e.includes(n)), Sh = (e) => Object.keys(e).filter((t) => e[t]).join(" "), ys = (e, t) => Array.from({ length: e }, (n, r) => t(r)), va = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), rr = {
|
|
2969
2969
|
GET: "GET",
|
|
2970
2970
|
POST: "POST",
|
|
2971
2971
|
DELETE: "DELETE",
|
|
@@ -2992,9 +2992,9 @@ function _h(e, t) {
|
|
|
2992
2992
|
const { toString: Lb } = Object.prototype, { getPrototypeOf: md } = Object, pl = /* @__PURE__ */ ((e) => (t) => {
|
|
2993
2993
|
const n = Lb.call(t);
|
|
2994
2994
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2995
|
-
})(/* @__PURE__ */ Object.create(null)), Mr = (e) => (e = e.toLowerCase(), (t) => pl(t) === e), Ql = (e) => (t) => typeof t === e, { isArray: Li } = Array,
|
|
2995
|
+
})(/* @__PURE__ */ Object.create(null)), Mr = (e) => (e = e.toLowerCase(), (t) => pl(t) === e), Ql = (e) => (t) => typeof t === e, { isArray: Li } = Array, ka = Ql("undefined");
|
|
2996
2996
|
function Nb(e) {
|
|
2997
|
-
return e !== null && !
|
|
2997
|
+
return e !== null && !ka(e) && e.constructor !== null && !ka(e.constructor) && dr(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2998
2998
|
}
|
|
2999
2999
|
const Rh = Mr("ArrayBuffer");
|
|
3000
3000
|
function Fb(e) {
|
|
@@ -3011,7 +3011,7 @@ const Pb = Ql("string"), dr = Ql("function"), Dh = Ql("number"), ml = (e) => e !
|
|
|
3011
3011
|
return e && (typeof FormData == "function" && e instanceof FormData || dr(e.append) && ((t = pl(e)) === "formdata" || // detect form-data instance
|
|
3012
3012
|
t === "object" && dr(e.toString) && e.toString() === "[object FormData]"));
|
|
3013
3013
|
}, Wb = Mr("URLSearchParams"), [Yb, zb, Jb, Xb] = ["ReadableStream", "Request", "Response", "Headers"].map(Mr), Kb = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
3014
|
-
function
|
|
3014
|
+
function os(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
3015
3015
|
if (e === null || typeof e > "u")
|
|
3016
3016
|
return;
|
|
3017
3017
|
let r, A;
|
|
@@ -3034,17 +3034,17 @@ function Oh(e, t) {
|
|
|
3034
3034
|
return A;
|
|
3035
3035
|
return null;
|
|
3036
3036
|
}
|
|
3037
|
-
const Qo = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : Xe, Lh = (e) => !
|
|
3037
|
+
const Qo = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : Xe, Lh = (e) => !ka(e) && e !== Qo;
|
|
3038
3038
|
function lg() {
|
|
3039
3039
|
const { caseless: e } = Lh(this) && this || {}, t = {}, n = (r, A) => {
|
|
3040
3040
|
const o = e && Oh(t, A) || A;
|
|
3041
3041
|
zs(t[o]) && zs(r) ? t[o] = lg(t[o], r) : zs(r) ? t[o] = lg({}, r) : Li(r) ? t[o] = r.slice() : t[o] = r;
|
|
3042
3042
|
};
|
|
3043
3043
|
for (let r = 0, A = arguments.length; r < A; r++)
|
|
3044
|
-
arguments[r] &&
|
|
3044
|
+
arguments[r] && os(arguments[r], n);
|
|
3045
3045
|
return t;
|
|
3046
3046
|
}
|
|
3047
|
-
const qb = (e, t, n, { allOwnKeys: r } = {}) => (
|
|
3047
|
+
const qb = (e, t, n, { allOwnKeys: r } = {}) => (os(t, (A, o) => {
|
|
3048
3048
|
n && dr(A) ? e[o] = _h(A, n) : e[o] = A;
|
|
3049
3049
|
}, { allOwnKeys: r }), e), Zb = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), $b = (e, t, n, r) => {
|
|
3050
3050
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -3093,7 +3093,7 @@ const qb = (e, t, n, { allOwnKeys: r } = {}) => (As(t, (A, o) => {
|
|
|
3093
3093
|
}
|
|
3094
3094
|
), BE = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), sy = Mr("RegExp"), Nh = (e, t) => {
|
|
3095
3095
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
3096
|
-
|
|
3096
|
+
os(n, (A, o) => {
|
|
3097
3097
|
let i;
|
|
3098
3098
|
(i = t(A, o, e)) !== !1 && (r[o] = i || A);
|
|
3099
3099
|
}), Object.defineProperties(e, r);
|
|
@@ -3142,9 +3142,9 @@ const Ey = (e) => {
|
|
|
3142
3142
|
if (!("toJSON" in r)) {
|
|
3143
3143
|
t[A] = r;
|
|
3144
3144
|
const o = Li(r) ? [] : {};
|
|
3145
|
-
return
|
|
3145
|
+
return os(r, (i, s) => {
|
|
3146
3146
|
const a = n(i, A + 1);
|
|
3147
|
-
!
|
|
3147
|
+
!ka(a) && (o[s] = a);
|
|
3148
3148
|
}), t[A] = void 0, o;
|
|
3149
3149
|
}
|
|
3150
3150
|
}
|
|
@@ -3174,7 +3174,7 @@ var Z = {
|
|
|
3174
3174
|
isRequest: zb,
|
|
3175
3175
|
isResponse: Jb,
|
|
3176
3176
|
isHeaders: Xb,
|
|
3177
|
-
isUndefined:
|
|
3177
|
+
isUndefined: ka,
|
|
3178
3178
|
isDate: Mb,
|
|
3179
3179
|
isFile: jb,
|
|
3180
3180
|
isBlob: Ub,
|
|
@@ -3184,7 +3184,7 @@ var Z = {
|
|
|
3184
3184
|
isURLSearchParams: Wb,
|
|
3185
3185
|
isTypedArray: ry,
|
|
3186
3186
|
isFileList: Gb,
|
|
3187
|
-
forEach:
|
|
3187
|
+
forEach: os,
|
|
3188
3188
|
merge: lg,
|
|
3189
3189
|
extend: qb,
|
|
3190
3190
|
trim: Kb,
|
|
@@ -3613,7 +3613,7 @@ var Py = (e) => {
|
|
|
3613
3613
|
}), t;
|
|
3614
3614
|
};
|
|
3615
3615
|
const vE = Symbol("internals");
|
|
3616
|
-
function
|
|
3616
|
+
function na(e) {
|
|
3617
3617
|
return e && String(e).trim().toLowerCase();
|
|
3618
3618
|
}
|
|
3619
3619
|
function Js(e) {
|
|
@@ -3658,7 +3658,7 @@ class bl {
|
|
|
3658
3658
|
set(t, n, r) {
|
|
3659
3659
|
const A = this;
|
|
3660
3660
|
function o(s, a, c) {
|
|
3661
|
-
const l =
|
|
3661
|
+
const l = na(a);
|
|
3662
3662
|
if (!l)
|
|
3663
3663
|
throw new Error("header name must be a non-empty string");
|
|
3664
3664
|
const g = Z.findKey(A, l);
|
|
@@ -3677,7 +3677,7 @@ class bl {
|
|
|
3677
3677
|
return this;
|
|
3678
3678
|
}
|
|
3679
3679
|
get(t, n) {
|
|
3680
|
-
if (t =
|
|
3680
|
+
if (t = na(t), t) {
|
|
3681
3681
|
const r = Z.findKey(this, t);
|
|
3682
3682
|
if (r) {
|
|
3683
3683
|
const A = this[r];
|
|
@@ -3694,7 +3694,7 @@ class bl {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
has(t, n) {
|
|
3697
|
-
if (t =
|
|
3697
|
+
if (t = na(t), t) {
|
|
3698
3698
|
const r = Z.findKey(this, t);
|
|
3699
3699
|
return !!(r && this[r] !== void 0 && (!n || uu(this, this[r], r, n)));
|
|
3700
3700
|
}
|
|
@@ -3704,7 +3704,7 @@ class bl {
|
|
|
3704
3704
|
const r = this;
|
|
3705
3705
|
let A = !1;
|
|
3706
3706
|
function o(i) {
|
|
3707
|
-
if (i =
|
|
3707
|
+
if (i = na(i), i) {
|
|
3708
3708
|
const s = Z.findKey(r, i);
|
|
3709
3709
|
s && (!n || uu(r, r[s], s, n)) && (delete r[s], A = !0);
|
|
3710
3710
|
}
|
|
@@ -3763,7 +3763,7 @@ class bl {
|
|
|
3763
3763
|
accessors: {}
|
|
3764
3764
|
}).accessors, A = this.prototype;
|
|
3765
3765
|
function o(i) {
|
|
3766
|
-
const s =
|
|
3766
|
+
const s = na(i);
|
|
3767
3767
|
r[s] || (Uy(A, i), r[s] = !0);
|
|
3768
3768
|
}
|
|
3769
3769
|
return Z.isArray(t) ? t.forEach(o) : o(t), this;
|
|
@@ -5041,7 +5041,7 @@ var Px = function() {
|
|
|
5041
5041
|
}
|
|
5042
5042
|
};
|
|
5043
5043
|
Qt.getRefreshInterval = Px;
|
|
5044
|
-
var
|
|
5044
|
+
var ra = {}, Tr = {}, DE;
|
|
5045
5045
|
function np() {
|
|
5046
5046
|
if (DE) return Tr;
|
|
5047
5047
|
DE = 1;
|
|
@@ -5391,7 +5391,7 @@ var OE = oo, jx = nA, Ux = function(e, t) {
|
|
|
5391
5391
|
xl.subscribeToOnlineEvent = Ux;
|
|
5392
5392
|
var LE;
|
|
5393
5393
|
function rp() {
|
|
5394
|
-
if (LE) return
|
|
5394
|
+
if (LE) return ra;
|
|
5395
5395
|
LE = 1;
|
|
5396
5396
|
var e = Xe && Xe.__awaiter || function(f, d, C, E) {
|
|
5397
5397
|
function B(h) {
|
|
@@ -5479,7 +5479,7 @@ function rp() {
|
|
|
5479
5479
|
return { value: y[0] ? y[1] : void 0, done: !0 };
|
|
5480
5480
|
}
|
|
5481
5481
|
};
|
|
5482
|
-
Object.defineProperty(
|
|
5482
|
+
Object.defineProperty(ra, "__esModule", { value: !0 }), ra.fetchAccessToken = void 0;
|
|
5483
5483
|
var n = np(), r = oo, A = Qt, o = xl, i, s, a, c = function(f, d, C, E, B, h) {
|
|
5484
5484
|
return h === void 0 && (h = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
|
|
5485
5485
|
var Q, m, b, y, v, w, F, N, Y;
|
|
@@ -5623,7 +5623,7 @@ function rp() {
|
|
|
5623
5623
|
});
|
|
5624
5624
|
});
|
|
5625
5625
|
};
|
|
5626
|
-
return
|
|
5626
|
+
return ra.fetchAccessToken = p, ra;
|
|
5627
5627
|
}
|
|
5628
5628
|
var NE;
|
|
5629
5629
|
function Ap() {
|
|
@@ -5809,7 +5809,7 @@ function Ap() {
|
|
|
5809
5809
|
}
|
|
5810
5810
|
return lo.hiverAxiosCall = f, lo;
|
|
5811
5811
|
}
|
|
5812
|
-
var
|
|
5812
|
+
var Aa = {}, kt = {}, Kt = {};
|
|
5813
5813
|
Object.defineProperty(Kt, "__esModule", { value: !0 });
|
|
5814
5814
|
Kt.TIERS = Kt.APP_UI = Kt.CONFIG_HIVER = Kt.REFETCH_CHECK_DELAY = Kt.INITIAL_RETRY_DELAY = Kt.MAX_BACKOFF_LIMIT = Kt.MAX_CONFLICT_RETRY_DELAY = Kt.MAX_RETRY_DELAY = Kt.GET_METHOD = void 0;
|
|
5815
5815
|
Kt.GET_METHOD = "GET";
|
|
@@ -6060,7 +6060,7 @@ var A2 = function(e, t, n) {
|
|
|
6060
6060
|
}
|
|
6061
6061
|
};
|
|
6062
6062
|
kt.getConfig = A2;
|
|
6063
|
-
var
|
|
6063
|
+
var oa = {}, EA = {}, FE;
|
|
6064
6064
|
function o2() {
|
|
6065
6065
|
if (FE) return EA;
|
|
6066
6066
|
FE = 1;
|
|
@@ -6259,7 +6259,7 @@ function o2() {
|
|
|
6259
6259
|
}
|
|
6260
6260
|
var PE;
|
|
6261
6261
|
function ap() {
|
|
6262
|
-
if (PE) return
|
|
6262
|
+
if (PE) return oa;
|
|
6263
6263
|
PE = 1;
|
|
6264
6264
|
var e = Xe && Xe.__awaiter || function(p, f, d, C) {
|
|
6265
6265
|
function E(B) {
|
|
@@ -6347,7 +6347,7 @@ function ap() {
|
|
|
6347
6347
|
return { value: b[0] ? b[1] : void 0, done: !0 };
|
|
6348
6348
|
}
|
|
6349
6349
|
};
|
|
6350
|
-
Object.defineProperty(
|
|
6350
|
+
Object.defineProperty(oa, "__esModule", { value: !0 }), oa.fetchToken = void 0;
|
|
6351
6351
|
var n = o2(), r = Kt, A = kt, o, i, s, a = function(p, f, d) {
|
|
6352
6352
|
return d === void 0 && (d = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
|
|
6353
6353
|
var C, E, B, h, Q, m, b, y, v;
|
|
@@ -6485,11 +6485,11 @@ function ap() {
|
|
|
6485
6485
|
});
|
|
6486
6486
|
});
|
|
6487
6487
|
};
|
|
6488
|
-
return
|
|
6488
|
+
return oa.fetchToken = I, oa;
|
|
6489
6489
|
}
|
|
6490
6490
|
var kE;
|
|
6491
6491
|
function sp() {
|
|
6492
|
-
if (kE) return
|
|
6492
|
+
if (kE) return Aa;
|
|
6493
6493
|
kE = 1;
|
|
6494
6494
|
var e = Xe && Xe.__assign || function() {
|
|
6495
6495
|
return e = Object.assign || function(I) {
|
|
@@ -6585,7 +6585,7 @@ function sp() {
|
|
|
6585
6585
|
return { value: m[0] ? m[1] : void 0, done: !0 };
|
|
6586
6586
|
}
|
|
6587
6587
|
};
|
|
6588
|
-
Object.defineProperty(
|
|
6588
|
+
Object.defineProperty(Aa, "__esModule", { value: !0 }), Aa.makeAxiosCall = void 0;
|
|
6589
6589
|
var r = ep, A = kt, o = ap(), i, s = 2, a = function(I, p) {
|
|
6590
6590
|
var f = p.fetchCsrfToken();
|
|
6591
6591
|
I.formData ? I.formData.append("_csrf_token", f) : (I.data = I.data || {}, I.data._csrf_token = f);
|
|
@@ -6637,7 +6637,7 @@ function sp() {
|
|
|
6637
6637
|
});
|
|
6638
6638
|
});
|
|
6639
6639
|
}
|
|
6640
|
-
return
|
|
6640
|
+
return Aa.makeAxiosCall = g, Aa;
|
|
6641
6641
|
}
|
|
6642
6642
|
(function(e) {
|
|
6643
6643
|
var t = Xe && Xe.__awaiter || function(p, f, d, C) {
|
|
@@ -6893,13 +6893,13 @@ const Sr = {
|
|
|
6893
6893
|
t.templateListApiStatus = De.IDLE, t.connectorTemplateList = n.payload.connectorList, t.connectorTemplates = n.payload.connectors;
|
|
6894
6894
|
}).addCase(Ks.rejected, (t, n) => {
|
|
6895
6895
|
t.templateListApiStatus = De.FAILED, console.error(n.error);
|
|
6896
|
-
}).addCase(
|
|
6896
|
+
}).addCase(ba.pending, (t) => {
|
|
6897
6897
|
t.templateDetailsApiStatus = De.LOADING;
|
|
6898
|
-
}).addCase(
|
|
6898
|
+
}).addCase(ba.fulfilled, (t, n) => {
|
|
6899
6899
|
t.templateDetailsApiStatus = De.IDLE;
|
|
6900
6900
|
const { templateData: r, templateId: A } = n.payload;
|
|
6901
6901
|
r && A && (t.connectorTemplates = { ...t.connectorTemplates, [A]: r });
|
|
6902
|
-
}).addCase(
|
|
6902
|
+
}).addCase(ba.rejected, (t, n) => {
|
|
6903
6903
|
t.templateDetailsApiStatus = De.FAILED, console.error(n.error);
|
|
6904
6904
|
});
|
|
6905
6905
|
}
|
|
@@ -6915,7 +6915,7 @@ const Sr = {
|
|
|
6915
6915
|
connectors: n,
|
|
6916
6916
|
connectorList: r
|
|
6917
6917
|
};
|
|
6918
|
-
}),
|
|
6918
|
+
}), ba = Tt("connectorLibrary/fetchTemplateDetails", async (e) => {
|
|
6919
6919
|
const t = await l2(e);
|
|
6920
6920
|
return !t || !t.data ? {
|
|
6921
6921
|
templateId: e,
|
|
@@ -6958,7 +6958,7 @@ const Sr = {
|
|
|
6958
6958
|
method: rr.PATCH,
|
|
6959
6959
|
data: t
|
|
6960
6960
|
}), b2 = (e) => It({
|
|
6961
|
-
url:
|
|
6961
|
+
url: va(h2, { cardId: e }),
|
|
6962
6962
|
method: rr.GET
|
|
6963
6963
|
}), y2 = aA({
|
|
6964
6964
|
name: "connectorLibrary",
|
|
@@ -6983,9 +6983,9 @@ const Sr = {
|
|
|
6983
6983
|
var A;
|
|
6984
6984
|
const { id: r } = ((A = n == null ? void 0 : n.meta) == null ? void 0 : A.arg) || {};
|
|
6985
6985
|
t.currentUpdatingConnectors = { ...t.currentUpdatingConnectors, [r]: De.FAILED }, console.error(n.error);
|
|
6986
|
-
}).addCase(
|
|
6986
|
+
}).addCase(ya.pending, (t) => {
|
|
6987
6987
|
t.connectorDetailApiStatus = De.LOADING;
|
|
6988
|
-
}).addCase(
|
|
6988
|
+
}).addCase(ya.fulfilled, (t, n) => {
|
|
6989
6989
|
var o;
|
|
6990
6990
|
t.connectorDetailApiStatus = De.IDLE;
|
|
6991
6991
|
const { connector: r, connectorId: A } = n.payload;
|
|
@@ -6996,7 +6996,7 @@ const Sr = {
|
|
|
6996
6996
|
...r
|
|
6997
6997
|
}
|
|
6998
6998
|
});
|
|
6999
|
-
}).addCase(
|
|
6999
|
+
}).addCase(ya.rejected, (t, n) => {
|
|
7000
7000
|
t.connectorDetailApiStatus = De.FAILED, console.error(n.error);
|
|
7001
7001
|
}).addCase(Zs.pending, (t) => {
|
|
7002
7002
|
t.fetchInboxApiStatus = De.LOADING;
|
|
@@ -7074,7 +7074,7 @@ const Sr = {
|
|
|
7074
7074
|
connectors: n,
|
|
7075
7075
|
connectorList: r
|
|
7076
7076
|
};
|
|
7077
|
-
}),
|
|
7077
|
+
}), ya = Tt("auth/fetchConnector", async (e) => {
|
|
7078
7078
|
const t = await m2(e);
|
|
7079
7079
|
return !t || !t.data ? {
|
|
7080
7080
|
connectorId: e,
|
|
@@ -7330,7 +7330,7 @@ function UE(e, t) {
|
|
|
7330
7330
|
if (r) {
|
|
7331
7331
|
if (t.queryHash !== Nd(i, t.options))
|
|
7332
7332
|
return !1;
|
|
7333
|
-
} else if (!
|
|
7333
|
+
} else if (!Ma(t.queryKey, i))
|
|
7334
7334
|
return !1;
|
|
7335
7335
|
}
|
|
7336
7336
|
if (n !== "all") {
|
|
@@ -7348,7 +7348,7 @@ function GE(e, t) {
|
|
|
7348
7348
|
if (n) {
|
|
7349
7349
|
if (Mo(t.options.mutationKey) !== Mo(o))
|
|
7350
7350
|
return !1;
|
|
7351
|
-
} else if (!
|
|
7351
|
+
} else if (!Ma(t.options.mutationKey, o))
|
|
7352
7352
|
return !1;
|
|
7353
7353
|
}
|
|
7354
7354
|
return !(r && t.state.status !== r || A && !A(t));
|
|
@@ -7362,8 +7362,8 @@ function Mo(e) {
|
|
|
7362
7362
|
(t, n) => pg(n) ? Object.keys(n).sort().reduce((r, A) => (r[A] = n[A], r), {}) : n
|
|
7363
7363
|
);
|
|
7364
7364
|
}
|
|
7365
|
-
function
|
|
7366
|
-
return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? !Object.keys(t).some((n) => !
|
|
7365
|
+
function Ma(e, t) {
|
|
7366
|
+
return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? !Object.keys(t).some((n) => !Ma(e[n], t[n])) : !1;
|
|
7367
7367
|
}
|
|
7368
7368
|
function hg(e, t) {
|
|
7369
7369
|
if (e === t)
|
|
@@ -7687,7 +7687,7 @@ var Cn = $2(), yo, yB, pp = (yB = class {
|
|
|
7687
7687
|
clearGcTimeout() {
|
|
7688
7688
|
D(this, yo) && (clearTimeout(D(this, yo)), Se(this, yo, void 0));
|
|
7689
7689
|
}
|
|
7690
|
-
}, yo = new WeakMap(), yB), Ei, Ii, mr, xo, Pn,
|
|
7690
|
+
}, yo = new WeakMap(), yB), Ei, Ii, mr, xo, Pn, Za, wo, _r, IA, xB, ew = (xB = class extends pp {
|
|
7691
7691
|
constructor(t) {
|
|
7692
7692
|
super();
|
|
7693
7693
|
Me(this, _r);
|
|
@@ -7696,9 +7696,9 @@ var Cn = $2(), yo, yB, pp = (yB = class {
|
|
|
7696
7696
|
Me(this, mr);
|
|
7697
7697
|
Me(this, xo);
|
|
7698
7698
|
Me(this, Pn);
|
|
7699
|
-
Me(this,
|
|
7699
|
+
Me(this, Za);
|
|
7700
7700
|
Me(this, wo);
|
|
7701
|
-
Se(this, wo, !1), Se(this,
|
|
7701
|
+
Se(this, wo, !1), Se(this, Za, t.defaultOptions), this.setOptions(t.options), this.observers = [], Se(this, xo, t.client), Se(this, mr, D(this, xo).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, Se(this, Ei, tw(this.options)), this.state = t.state ?? D(this, Ei), this.scheduleGc();
|
|
7702
7702
|
}
|
|
7703
7703
|
get meta() {
|
|
7704
7704
|
return this.options.meta;
|
|
@@ -7708,7 +7708,7 @@ var Cn = $2(), yo, yB, pp = (yB = class {
|
|
|
7708
7708
|
return (t = D(this, Pn)) == null ? void 0 : t.promise;
|
|
7709
7709
|
}
|
|
7710
7710
|
setOptions(t) {
|
|
7711
|
-
this.options = { ...D(this,
|
|
7711
|
+
this.options = { ...D(this, Za), ...t }, this.updateGcTime(this.options.gcTime);
|
|
7712
7712
|
}
|
|
7713
7713
|
optionalRemove() {
|
|
7714
7714
|
!this.observers.length && this.state.fetchStatus === "idle" && D(this, mr).remove(this);
|
|
@@ -7874,7 +7874,7 @@ var Cn = $2(), yo, yB, pp = (yB = class {
|
|
|
7874
7874
|
canRun: () => !0
|
|
7875
7875
|
})), D(this, Pn).start();
|
|
7876
7876
|
}
|
|
7877
|
-
}, Ei = new WeakMap(), Ii = new WeakMap(), mr = new WeakMap(), xo = new WeakMap(), Pn = new WeakMap(),
|
|
7877
|
+
}, Ei = new WeakMap(), Ii = new WeakMap(), mr = new WeakMap(), xo = new WeakMap(), Pn = new WeakMap(), Za = new WeakMap(), wo = new WeakMap(), _r = new WeakSet(), IA = function(t) {
|
|
7878
7878
|
const n = (r) => {
|
|
7879
7879
|
switch (t.type) {
|
|
7880
7880
|
case "failed":
|
|
@@ -8241,18 +8241,18 @@ function mp() {
|
|
|
8241
8241
|
submittedAt: 0
|
|
8242
8242
|
};
|
|
8243
8243
|
}
|
|
8244
|
-
var pA, Rr,
|
|
8244
|
+
var pA, Rr, $a, SB, Aw = (SB = class extends ki {
|
|
8245
8245
|
constructor(t = {}) {
|
|
8246
8246
|
super();
|
|
8247
8247
|
Me(this, pA);
|
|
8248
8248
|
Me(this, Rr);
|
|
8249
|
-
Me(this,
|
|
8250
|
-
this.config = t, Se(this, pA, /* @__PURE__ */ new Set()), Se(this, Rr, /* @__PURE__ */ new Map()), Se(this,
|
|
8249
|
+
Me(this, $a);
|
|
8250
|
+
this.config = t, Se(this, pA, /* @__PURE__ */ new Set()), Se(this, Rr, /* @__PURE__ */ new Map()), Se(this, $a, 0);
|
|
8251
8251
|
}
|
|
8252
8252
|
build(t, n, r) {
|
|
8253
8253
|
const A = new rw({
|
|
8254
8254
|
mutationCache: this,
|
|
8255
|
-
mutationId: ++hs(this,
|
|
8255
|
+
mutationId: ++hs(this, $a)._,
|
|
8256
8256
|
options: t.defaultMutationOptions(n),
|
|
8257
8257
|
state: r
|
|
8258
8258
|
});
|
|
@@ -8334,7 +8334,7 @@ var pA, Rr, Za, SB, Aw = (SB = class extends ki {
|
|
|
8334
8334
|
)
|
|
8335
8335
|
);
|
|
8336
8336
|
}
|
|
8337
|
-
}, pA = new WeakMap(), Rr = new WeakMap(),
|
|
8337
|
+
}, pA = new WeakMap(), Rr = new WeakMap(), $a = new WeakMap(), SB);
|
|
8338
8338
|
function xs(e) {
|
|
8339
8339
|
var t;
|
|
8340
8340
|
return (t = e.options.scope) == null ? void 0 : t.id;
|
|
@@ -8581,7 +8581,7 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8581
8581
|
getQueryDefaults(e) {
|
|
8582
8582
|
const t = [...D(this, fi).values()], n = {};
|
|
8583
8583
|
return t.forEach((r) => {
|
|
8584
|
-
|
|
8584
|
+
Ma(e, r.queryKey) && Object.assign(n, r.defaultOptions);
|
|
8585
8585
|
}), n;
|
|
8586
8586
|
}
|
|
8587
8587
|
setMutationDefaults(e, t) {
|
|
@@ -8593,7 +8593,7 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8593
8593
|
getMutationDefaults(e) {
|
|
8594
8594
|
const t = [...D(this, Bi).values()], n = {};
|
|
8595
8595
|
return t.forEach((r) => {
|
|
8596
|
-
|
|
8596
|
+
Ma(e, r.mutationKey) && Object.assign(n, r.defaultOptions);
|
|
8597
8597
|
}), n;
|
|
8598
8598
|
}
|
|
8599
8599
|
defaultQueryOptions(e) {
|
|
@@ -8621,19 +8621,19 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8621
8621
|
clear() {
|
|
8622
8622
|
D(this, Xt).clear(), D(this, GA).clear();
|
|
8623
8623
|
}
|
|
8624
|
-
}, Xt = new WeakMap(), GA = new WeakMap(), VA = new WeakMap(), fi = new WeakMap(), Bi = new WeakMap(), HA = new WeakMap(), hi = new WeakMap(), pi = new WeakMap(), _B), Xn, at,
|
|
8624
|
+
}, Xt = new WeakMap(), GA = new WeakMap(), VA = new WeakMap(), fi = new WeakMap(), Bi = new WeakMap(), HA = new WeakMap(), hi = new WeakMap(), pi = new WeakMap(), _B), Xn, at, es, Gn, So, Qi, WA, Xr, ts, mi, vi, _o, Ro, YA, bi, wt, fa, vg, bg, yg, xg, wg, Tg, Sg, bp, RB, iw = (RB = class extends ki {
|
|
8625
8625
|
constructor(t, n) {
|
|
8626
8626
|
super();
|
|
8627
8627
|
Me(this, wt);
|
|
8628
8628
|
Me(this, Xn);
|
|
8629
8629
|
Me(this, at);
|
|
8630
|
-
Me(this,
|
|
8630
|
+
Me(this, es);
|
|
8631
8631
|
Me(this, Gn);
|
|
8632
8632
|
Me(this, So);
|
|
8633
8633
|
Me(this, Qi);
|
|
8634
8634
|
Me(this, WA);
|
|
8635
8635
|
Me(this, Xr);
|
|
8636
|
-
Me(this,
|
|
8636
|
+
Me(this, ts);
|
|
8637
8637
|
Me(this, mi);
|
|
8638
8638
|
// This property keeps track of the last query with defined data.
|
|
8639
8639
|
// It will be used to pass the previous data and query to the placeholder function between renders.
|
|
@@ -8650,7 +8650,7 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8650
8650
|
this.refetch = this.refetch.bind(this);
|
|
8651
8651
|
}
|
|
8652
8652
|
onSubscribe() {
|
|
8653
|
-
this.listeners.size === 1 && (D(this, at).addObserver(this), zE(D(this, at), this.options) ? et(this, wt,
|
|
8653
|
+
this.listeners.size === 1 && (D(this, at).addObserver(this), zE(D(this, at), this.options) ? et(this, wt, fa).call(this) : this.updateResult(), et(this, wt, xg).call(this));
|
|
8654
8654
|
}
|
|
8655
8655
|
onUnsubscribe() {
|
|
8656
8656
|
this.hasListeners() || this.destroy();
|
|
@@ -8689,7 +8689,7 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8689
8689
|
A,
|
|
8690
8690
|
this.options,
|
|
8691
8691
|
r
|
|
8692
|
-
) && et(this, wt,
|
|
8692
|
+
) && et(this, wt, fa).call(this), this.updateResult(n), o && (D(this, at) !== A || Or(this.options.enabled, D(this, at)) !== Or(r.enabled, D(this, at)) || ai(this.options.staleTime, D(this, at)) !== ai(r.staleTime, D(this, at))) && et(this, wt, vg).call(this);
|
|
8693
8693
|
const i = et(this, wt, bg).call(this);
|
|
8694
8694
|
o && (D(this, at) !== A || Or(this.options.enabled, D(this, at)) !== Or(r.enabled, D(this, at)) || i !== D(this, YA)) && et(this, wt, yg).call(this, i);
|
|
8695
8695
|
}
|
|
@@ -8726,14 +8726,14 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8726
8726
|
return r.fetch().then(() => this.createResult(r, n));
|
|
8727
8727
|
}
|
|
8728
8728
|
fetch(t) {
|
|
8729
|
-
return et(this, wt,
|
|
8729
|
+
return et(this, wt, fa).call(this, {
|
|
8730
8730
|
...t,
|
|
8731
8731
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
8732
8732
|
}).then(() => (this.updateResult(), D(this, Gn)));
|
|
8733
8733
|
}
|
|
8734
8734
|
createResult(t, n) {
|
|
8735
8735
|
var v;
|
|
8736
|
-
const r = D(this, at), A = this.options, o = D(this, Gn), i = D(this, So), s = D(this, Qi), c = t !== r ? t.state : D(this,
|
|
8736
|
+
const r = D(this, at), A = this.options, o = D(this, Gn), i = D(this, So), s = D(this, Qi), c = t !== r ? t.state : D(this, es), { state: l } = t;
|
|
8737
8737
|
let g = { ...l }, I = !1, p;
|
|
8738
8738
|
if (n._optimisticResults) {
|
|
8739
8739
|
const w = this.hasListeners(), F = !w && zE(t, n), N = w && JE(t, r, n, A);
|
|
@@ -8744,11 +8744,11 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8744
8744
|
}
|
|
8745
8745
|
let { error: f, errorUpdatedAt: d, status: C } = g;
|
|
8746
8746
|
if (n.select && g.data !== void 0)
|
|
8747
|
-
if (o && g.data === (i == null ? void 0 : i.data) && n.select === D(this,
|
|
8747
|
+
if (o && g.data === (i == null ? void 0 : i.data) && n.select === D(this, ts))
|
|
8748
8748
|
p = D(this, mi);
|
|
8749
8749
|
else
|
|
8750
8750
|
try {
|
|
8751
|
-
Se(this,
|
|
8751
|
+
Se(this, ts, n.select), p = n.select(g.data), p = Qg(o == null ? void 0 : o.data, p, n), Se(this, mi, p), Se(this, Xr, null);
|
|
8752
8752
|
} catch (w) {
|
|
8753
8753
|
Se(this, Xr, w);
|
|
8754
8754
|
}
|
|
@@ -8846,7 +8846,7 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8846
8846
|
onQueryUpdate() {
|
|
8847
8847
|
this.updateResult(), this.hasListeners() && et(this, wt, xg).call(this);
|
|
8848
8848
|
}
|
|
8849
|
-
}, Xn = new WeakMap(), at = new WeakMap(),
|
|
8849
|
+
}, Xn = new WeakMap(), at = new WeakMap(), es = new WeakMap(), Gn = new WeakMap(), So = new WeakMap(), Qi = new WeakMap(), WA = new WeakMap(), Xr = new WeakMap(), ts = new WeakMap(), mi = new WeakMap(), vi = new WeakMap(), _o = new WeakMap(), Ro = new WeakMap(), YA = new WeakMap(), bi = new WeakMap(), wt = new WeakSet(), fa = function(t) {
|
|
8850
8850
|
et(this, wt, Sg).call(this);
|
|
8851
8851
|
let n = D(this, at).fetch(
|
|
8852
8852
|
this.options,
|
|
@@ -8869,7 +8869,7 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8869
8869
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(D(this, at)) : this.options.refetchInterval) ?? !1;
|
|
8870
8870
|
}, yg = function(t) {
|
|
8871
8871
|
et(this, wt, Tg).call(this), Se(this, YA, t), !(ko || Or(this.options.enabled, D(this, at)) === !1 || !Bg(D(this, YA)) || D(this, YA) === 0) && Se(this, Ro, setInterval(() => {
|
|
8872
|
-
(this.options.refetchIntervalInBackground || Fd.isFocused()) && et(this, wt,
|
|
8872
|
+
(this.options.refetchIntervalInBackground || Fd.isFocused()) && et(this, wt, fa).call(this);
|
|
8873
8873
|
}, D(this, YA)));
|
|
8874
8874
|
}, xg = function() {
|
|
8875
8875
|
et(this, wt, vg).call(this), et(this, wt, yg).call(this, et(this, wt, bg).call(this));
|
|
@@ -8882,7 +8882,7 @@ var Xt, GA, VA, fi, Bi, HA, hi, pi, _B, vp = (_B = class {
|
|
|
8882
8882
|
if (t === D(this, at))
|
|
8883
8883
|
return;
|
|
8884
8884
|
const n = D(this, at);
|
|
8885
|
-
Se(this, at, t), Se(this,
|
|
8885
|
+
Se(this, at, t), Se(this, es, t.state), this.hasListeners() && (n == null || n.removeObserver(this), t.addObserver(this));
|
|
8886
8886
|
}, bp = function(t) {
|
|
8887
8887
|
Cn.batch(() => {
|
|
8888
8888
|
t.listeners && this.listeners.forEach((n) => {
|
|
@@ -9160,7 +9160,7 @@ function bw(e) {
|
|
|
9160
9160
|
search: i,
|
|
9161
9161
|
hash: s
|
|
9162
9162
|
} = r.location;
|
|
9163
|
-
return
|
|
9163
|
+
return ja(
|
|
9164
9164
|
"",
|
|
9165
9165
|
{
|
|
9166
9166
|
pathname: o,
|
|
@@ -9200,7 +9200,7 @@ function qE(e, t) {
|
|
|
9200
9200
|
idx: t
|
|
9201
9201
|
};
|
|
9202
9202
|
}
|
|
9203
|
-
function
|
|
9203
|
+
function ja(e, t, n, r) {
|
|
9204
9204
|
return n === void 0 && (n = null), Wt({
|
|
9205
9205
|
pathname: typeof e == "string" ? e : e.pathname,
|
|
9206
9206
|
search: "",
|
|
@@ -9257,7 +9257,7 @@ function xw(e, t, n, r) {
|
|
|
9257
9257
|
}
|
|
9258
9258
|
function I(C, E) {
|
|
9259
9259
|
s = an.Push;
|
|
9260
|
-
let B =
|
|
9260
|
+
let B = ja(d.location, C, E);
|
|
9261
9261
|
c = l() + 1;
|
|
9262
9262
|
let h = qE(B, c), Q = d.createHref(B);
|
|
9263
9263
|
try {
|
|
@@ -9275,7 +9275,7 @@ function xw(e, t, n, r) {
|
|
|
9275
9275
|
}
|
|
9276
9276
|
function p(C, E) {
|
|
9277
9277
|
s = an.Replace;
|
|
9278
|
-
let B =
|
|
9278
|
+
let B = ja(d.location, C, E);
|
|
9279
9279
|
c = l();
|
|
9280
9280
|
let h = qE(B, c), Q = d.createHref(B);
|
|
9281
9281
|
i.replaceState(h, "", Q), o && a && a({
|
|
@@ -9330,7 +9330,7 @@ const ww = /* @__PURE__ */ new Set(["lazy", "caseSensitive", "path", "id", "inde
|
|
|
9330
9330
|
function Tw(e) {
|
|
9331
9331
|
return e.index === !0;
|
|
9332
9332
|
}
|
|
9333
|
-
function
|
|
9333
|
+
function Ua(e, t, n, r) {
|
|
9334
9334
|
return n === void 0 && (n = []), r === void 0 && (r = {}), e.map((A, o) => {
|
|
9335
9335
|
let i = [...n, String(o)], s = typeof A.id == "string" ? A.id : i.join("-");
|
|
9336
9336
|
if (je(A.index !== !0 || !A.children, "Cannot specify children on an index route"), je(!r[s], 'Found a route id collision on id "' + s + `". Route id's must be globally unique within Data Router usages`), Tw(A)) {
|
|
@@ -9343,7 +9343,7 @@ function ja(e, t, n, r) {
|
|
|
9343
9343
|
id: s,
|
|
9344
9344
|
children: void 0
|
|
9345
9345
|
});
|
|
9346
|
-
return r[s] = a, A.children && (a.children =
|
|
9346
|
+
return r[s] = a, A.children && (a.children = Ua(A.children, t, i, r)), a;
|
|
9347
9347
|
}
|
|
9348
9348
|
});
|
|
9349
9349
|
}
|
|
@@ -9592,7 +9592,7 @@ const Op = ["post", "put", "patch", "delete"], zw = new Set(Op), Jw = ["get", ..
|
|
|
9592
9592
|
formData: void 0,
|
|
9593
9593
|
json: void 0,
|
|
9594
9594
|
text: void 0
|
|
9595
|
-
},
|
|
9595
|
+
}, ia = {
|
|
9596
9596
|
state: "unblocked",
|
|
9597
9597
|
proceed: void 0,
|
|
9598
9598
|
reset: void 0,
|
|
@@ -9613,7 +9613,7 @@ function eT(e) {
|
|
|
9613
9613
|
});
|
|
9614
9614
|
} else
|
|
9615
9615
|
A = $w;
|
|
9616
|
-
let o = {}, i =
|
|
9616
|
+
let o = {}, i = Ua(e.routes, A, void 0, o), s, a = e.basename || "/", c = e.unstable_dataStrategy || iT, l = e.unstable_patchRoutesOnNavigation, g = Wt({
|
|
9617
9617
|
v7_fetcherPersist: !1,
|
|
9618
9618
|
v7_normalizeFormMethod: !1,
|
|
9619
9619
|
v7_partialHydration: !1,
|
|
@@ -9702,7 +9702,7 @@ function eT(e) {
|
|
|
9702
9702
|
},
|
|
9703
9703
|
reset() {
|
|
9704
9704
|
let Ie = new Map(v.blockers);
|
|
9705
|
-
Ie.set(U,
|
|
9705
|
+
Ie.set(U, ia), Ge({
|
|
9706
9706
|
blockers: Ie
|
|
9707
9707
|
});
|
|
9708
9708
|
}
|
|
@@ -9743,7 +9743,7 @@ function eT(e) {
|
|
|
9743
9743
|
} = W === void 0 ? {} : W, Ie = v.actionData != null && v.navigation.formMethod != null && Dr(v.navigation.formMethod) && v.navigation.state === "loading" && ((x = _.state) == null ? void 0 : x._isRedirect) !== !0, oe;
|
|
9744
9744
|
L.actionData ? Object.keys(L.actionData).length > 0 ? oe = L.actionData : oe = null : Ie ? oe = v.actionData : oe = null;
|
|
9745
9745
|
let ve = L.loaderData ? oI(v.loaderData, L.loaderData, L.matches || [], L.errors) : v.loaderData, Ce = v.blockers;
|
|
9746
|
-
Ce.size > 0 && (Ce = new Map(Ce), Ce.forEach((ke, ze) => Ce.set(ze,
|
|
9746
|
+
Ce.size > 0 && (Ce = new Map(Ce), Ce.forEach((ke, ze) => Ce.set(ze, ia)));
|
|
9747
9747
|
let de = F === !0 || v.navigation.formMethod != null && Dr(v.navigation.formMethod) && ((U = _.state) == null ? void 0 : U._isRedirect) !== !0;
|
|
9748
9748
|
s && (i = s, s = void 0), le || w === an.Pop || (w === an.Push ? e.history.push(_, _.state) : w === an.Replace && e.history.replace(_, _.state));
|
|
9749
9749
|
let We;
|
|
@@ -9788,7 +9788,7 @@ function eT(e) {
|
|
|
9788
9788
|
path: x,
|
|
9789
9789
|
submission: U,
|
|
9790
9790
|
error: $
|
|
9791
|
-
} = $E(g.v7_normalizeFormMethod, !1, W, L), Ie = v.location, oe =
|
|
9791
|
+
} = $E(g.v7_normalizeFormMethod, !1, W, L), Ie = v.location, oe = ja(v.location, x, L && L.state);
|
|
9792
9792
|
oe = Wt({}, oe, e.history.encodeLocation(oe));
|
|
9793
9793
|
let ve = L && L.replace != null ? L.replace : void 0, Ce = an.Push;
|
|
9794
9794
|
ve === !0 ? Ce = an.Replace : ve === !1 || U != null && Dr(U.formMethod) && U.formAction === v.location.pathname + v.location.search && (Ce = an.Replace);
|
|
@@ -9811,7 +9811,7 @@ function eT(e) {
|
|
|
9811
9811
|
},
|
|
9812
9812
|
reset() {
|
|
9813
9813
|
let ze = new Map(v.blockers);
|
|
9814
|
-
ze.set(ke,
|
|
9814
|
+
ze.set(ke, ia), Ge({
|
|
9815
9815
|
blockers: ze
|
|
9816
9816
|
});
|
|
9817
9817
|
}
|
|
@@ -9958,7 +9958,7 @@ function eT(e) {
|
|
|
9958
9958
|
};
|
|
9959
9959
|
}
|
|
9960
9960
|
}
|
|
9961
|
-
let oe, ve =
|
|
9961
|
+
let oe, ve = Ba(x, L);
|
|
9962
9962
|
if (!ve.route.action && !ve.route.lazy)
|
|
9963
9963
|
oe = {
|
|
9964
9964
|
type: Lt.error,
|
|
@@ -10136,7 +10136,7 @@ function eT(e) {
|
|
|
10136
10136
|
}
|
|
10137
10137
|
function Sn(_) {
|
|
10138
10138
|
return _.forEach((L) => {
|
|
10139
|
-
let W = v.fetchers.get(L.key), x =
|
|
10139
|
+
let W = v.fetchers.get(L.key), x = aa(void 0, W ? W.data : void 0);
|
|
10140
10140
|
v.fetchers.set(L.key, x);
|
|
10141
10141
|
}), new Map(v.fetchers);
|
|
10142
10142
|
}
|
|
@@ -10164,7 +10164,7 @@ function eT(e) {
|
|
|
10164
10164
|
});
|
|
10165
10165
|
return;
|
|
10166
10166
|
}
|
|
10167
|
-
let ke =
|
|
10167
|
+
let ke = Ba(oe, Ce);
|
|
10168
10168
|
if (F = (x && x.preventScrollReset) === !0, de && Dr(de.formMethod)) {
|
|
10169
10169
|
RA(_, L, Ce, ke, oe, ve.active, U, de);
|
|
10170
10170
|
return;
|
|
@@ -10209,7 +10209,7 @@ function eT(e) {
|
|
|
10209
10209
|
});
|
|
10210
10210
|
return;
|
|
10211
10211
|
} else if (re.matches) {
|
|
10212
|
-
if (U = re.matches, x =
|
|
10212
|
+
if (U = re.matches, x = Ba(U, W), ve(x))
|
|
10213
10213
|
return;
|
|
10214
10214
|
} else {
|
|
10215
10215
|
jt(_, L, Vn(404, {
|
|
@@ -10237,7 +10237,7 @@ function eT(e) {
|
|
|
10237
10237
|
Rn(_, kA(void 0));
|
|
10238
10238
|
return;
|
|
10239
10239
|
} else
|
|
10240
|
-
return j.add(_), Rn(_,
|
|
10240
|
+
return j.add(_), Rn(_, aa(oe)), Yn(We, Je, !1, {
|
|
10241
10241
|
fetcherSubmission: oe
|
|
10242
10242
|
});
|
|
10243
10243
|
if (cr(Je)) {
|
|
@@ -10253,11 +10253,11 @@ function eT(e) {
|
|
|
10253
10253
|
je(Ln, "Didn't find any matches after fetcher action");
|
|
10254
10254
|
let Vr = ++O;
|
|
10255
10255
|
z.set(_, Vr);
|
|
10256
|
-
let hr =
|
|
10256
|
+
let hr = aa(oe, Je.data);
|
|
10257
10257
|
v.fetchers.set(_, hr);
|
|
10258
10258
|
let [Jo, pr] = eI(e.history, v, Ln, oe, Ot, !1, g.v7_skipActionErrorRevalidation, Ee, we, te, ne, J, j, Jt, a, [x.route.id, Je]);
|
|
10259
10259
|
pr.filter((re) => re.key !== _).forEach((re) => {
|
|
10260
|
-
let Be = re.key, fe = v.fetchers.get(Be), he =
|
|
10260
|
+
let Be = re.key, fe = v.fetchers.get(Be), he = aa(void 0, fe ? fe.data : void 0);
|
|
10261
10261
|
v.fetchers.set(Be, he), ce.has(Be) && Dn(Be), re.controller && ce.set(Be, re.controller);
|
|
10262
10262
|
}), Ge({
|
|
10263
10263
|
fetchers: new Map(v.fetchers)
|
|
@@ -10297,7 +10297,7 @@ function eT(e) {
|
|
|
10297
10297
|
}
|
|
10298
10298
|
async function DA(_, L, W, x, U, $, Ie, oe) {
|
|
10299
10299
|
let ve = v.fetchers.get(_);
|
|
10300
|
-
Rn(_,
|
|
10300
|
+
Rn(_, aa(oe, ve ? ve.data : void 0), {
|
|
10301
10301
|
flushSync: Ie
|
|
10302
10302
|
});
|
|
10303
10303
|
let Ce = new AbortController(), de = qo(e.history, W, Ce.signal);
|
|
@@ -10314,7 +10314,7 @@ function eT(e) {
|
|
|
10314
10314
|
});
|
|
10315
10315
|
return;
|
|
10316
10316
|
} else if (Je.matches)
|
|
10317
|
-
U = Je.matches, x =
|
|
10317
|
+
U = Je.matches, x = Ba(U, W);
|
|
10318
10318
|
else {
|
|
10319
10319
|
jt(_, L, Vn(404, {
|
|
10320
10320
|
pathname: W
|
|
@@ -10355,7 +10355,7 @@ function eT(e) {
|
|
|
10355
10355
|
L.response.headers.has("X-Remix-Revalidate") && (Ee = !0);
|
|
10356
10356
|
let oe = L.response.headers.get("Location");
|
|
10357
10357
|
je(oe, "Expected a Location header on the redirect Response"), oe = nI(oe, new URL(_.url), a);
|
|
10358
|
-
let ve =
|
|
10358
|
+
let ve = ja(v.location, oe, {
|
|
10359
10359
|
_isRedirect: !0
|
|
10360
10360
|
});
|
|
10361
10361
|
if (n) {
|
|
@@ -10516,14 +10516,14 @@ function eT(e) {
|
|
|
10516
10516
|
return CA(L), L.length > 0;
|
|
10517
10517
|
}
|
|
10518
10518
|
function Br(_, L) {
|
|
10519
|
-
let W = v.blockers.get(_) ||
|
|
10519
|
+
let W = v.blockers.get(_) || ia;
|
|
10520
10520
|
return Qe.get(_) !== L && Qe.set(_, L), W;
|
|
10521
10521
|
}
|
|
10522
10522
|
function Ut(_) {
|
|
10523
10523
|
v.blockers.delete(_), Qe.delete(_);
|
|
10524
10524
|
}
|
|
10525
10525
|
function gt(_, L) {
|
|
10526
|
-
let W = v.blockers.get(_) ||
|
|
10526
|
+
let W = v.blockers.get(_) || ia;
|
|
10527
10527
|
je(W.state === "unblocked" && L.state === "blocked" || W.state === "blocked" && L.state === "blocked" || W.state === "blocked" && L.state === "proceeding" || W.state === "blocked" && L.state === "unblocked" || W.state === "proceeding" && L.state === "unblocked", "Invalid blocker state transition: " + W.state + " -> " + L.state);
|
|
10528
10528
|
let x = new Map(v.blockers);
|
|
10529
10529
|
x.set(_, L), Ge({
|
|
@@ -10671,7 +10671,7 @@ function eT(e) {
|
|
|
10671
10671
|
L.add(_);
|
|
10672
10672
|
}
|
|
10673
10673
|
function sr(_) {
|
|
10674
|
-
o = {}, s =
|
|
10674
|
+
o = {}, s = Ua(_, A, void 0, o);
|
|
10675
10675
|
}
|
|
10676
10676
|
function On(_, L) {
|
|
10677
10677
|
let W = s == null;
|
|
@@ -10883,7 +10883,7 @@ function eI(e, t, n, r, A, o, i, s, a, c, l, g, I, p, f, d) {
|
|
|
10883
10883
|
});
|
|
10884
10884
|
return;
|
|
10885
10885
|
}
|
|
10886
|
-
let Y = t.fetchers.get(F), V =
|
|
10886
|
+
let Y = t.fetchers.get(F), V = Ba(N, w.path), P = !1;
|
|
10887
10887
|
I.has(F) ? P = !1 : c.has(F) ? (c.delete(F), P = !0) : Y && Y.state !== "idle" && Y.data === void 0 ? P = s : P = tI(V, Wt({
|
|
10888
10888
|
currentUrl: E,
|
|
10889
10889
|
currentParams: t.matches[t.matches.length - 1].params,
|
|
@@ -10948,10 +10948,10 @@ function Fp(e, t, n, r, A) {
|
|
|
10948
10948
|
var o;
|
|
10949
10949
|
let i = r[e];
|
|
10950
10950
|
je(i, "No route found to patch children into: routeId = " + e);
|
|
10951
|
-
let s =
|
|
10951
|
+
let s = Ua(t, A, [e, "patch", String(((o = i.children) == null ? void 0 : o.length) || "0")], r);
|
|
10952
10952
|
i.children ? i.children.push(...s) : i.children = s;
|
|
10953
10953
|
} else {
|
|
10954
|
-
let i =
|
|
10954
|
+
let i = Ua(t, A, ["patch", String(n.length || "0")], r);
|
|
10955
10955
|
n.push(...i);
|
|
10956
10956
|
}
|
|
10957
10957
|
}
|
|
@@ -11390,7 +11390,7 @@ async function Ud(e, t, n) {
|
|
|
11390
11390
|
function Gd(e) {
|
|
11391
11391
|
return new URLSearchParams(e).getAll("index").some((t) => t === "");
|
|
11392
11392
|
}
|
|
11393
|
-
function
|
|
11393
|
+
function Ba(e, t) {
|
|
11394
11394
|
let n = typeof t == "string" ? io(t).search : t.search;
|
|
11395
11395
|
if (e[e.length - 1].route.index && Gd(n || ""))
|
|
11396
11396
|
return e[e.length - 1];
|
|
@@ -11469,7 +11469,7 @@ function hT(e, t) {
|
|
|
11469
11469
|
text: t.text
|
|
11470
11470
|
};
|
|
11471
11471
|
}
|
|
11472
|
-
function
|
|
11472
|
+
function aa(e, t) {
|
|
11473
11473
|
return e ? {
|
|
11474
11474
|
state: "loading",
|
|
11475
11475
|
formMethod: e.formMethod,
|
|
@@ -11579,7 +11579,7 @@ function bT(e, t) {
|
|
|
11579
11579
|
let {
|
|
11580
11580
|
relative: n
|
|
11581
11581
|
} = t === void 0 ? {} : t;
|
|
11582
|
-
|
|
11582
|
+
is() || (process.env.NODE_ENV !== "production" ? je(
|
|
11583
11583
|
!1,
|
|
11584
11584
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
11585
11585
|
// router loaded. We can help them understand how to avoid that.
|
|
@@ -11592,7 +11592,7 @@ function bT(e, t) {
|
|
|
11592
11592
|
hash: o,
|
|
11593
11593
|
pathname: i,
|
|
11594
11594
|
search: s
|
|
11595
|
-
} =
|
|
11595
|
+
} = as(e, {
|
|
11596
11596
|
relative: n
|
|
11597
11597
|
}), a = i;
|
|
11598
11598
|
return r !== "/" && (a = i === "/" ? r : rA([r, i])), A.createHref({
|
|
@@ -11601,11 +11601,11 @@ function bT(e, t) {
|
|
|
11601
11601
|
hash: o
|
|
11602
11602
|
});
|
|
11603
11603
|
}
|
|
11604
|
-
function
|
|
11604
|
+
function is() {
|
|
11605
11605
|
return S.useContext(_l) != null;
|
|
11606
11606
|
}
|
|
11607
11607
|
function ao() {
|
|
11608
|
-
return
|
|
11608
|
+
return is() || (process.env.NODE_ENV !== "production" ? je(
|
|
11609
11609
|
!1,
|
|
11610
11610
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
11611
11611
|
// router loaded. We can help them understand how to avoid that.
|
|
@@ -11623,7 +11623,7 @@ function mn() {
|
|
|
11623
11623
|
return e ? MT() : yT();
|
|
11624
11624
|
}
|
|
11625
11625
|
function yT() {
|
|
11626
|
-
|
|
11626
|
+
is() || (process.env.NODE_ENV !== "production" ? je(
|
|
11627
11627
|
!1,
|
|
11628
11628
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
11629
11629
|
// router loaded. We can help them understand how to avoid that.
|
|
@@ -11663,7 +11663,7 @@ function so() {
|
|
|
11663
11663
|
} = S.useContext(Ur), t = e[e.length - 1];
|
|
11664
11664
|
return t ? t.params : {};
|
|
11665
11665
|
}
|
|
11666
|
-
function
|
|
11666
|
+
function as(e, t) {
|
|
11667
11667
|
let {
|
|
11668
11668
|
relative: n
|
|
11669
11669
|
} = t === void 0 ? {} : t, {
|
|
@@ -11676,7 +11676,7 @@ function is(e, t) {
|
|
|
11676
11676
|
return S.useMemo(() => Md(e, JSON.parse(i), o, n === "path"), [e, i, o, n]);
|
|
11677
11677
|
}
|
|
11678
11678
|
function TT(e, t, n, r) {
|
|
11679
|
-
|
|
11679
|
+
is() || (process.env.NODE_ENV !== "production" ? je(
|
|
11680
11680
|
!1,
|
|
11681
11681
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
11682
11682
|
// router loaded. We can help them understand how to avoid that.
|
|
@@ -11848,9 +11848,9 @@ function OT(e, t, n, r) {
|
|
|
11848
11848
|
}
|
|
11849
11849
|
var Up = /* @__PURE__ */ function(e) {
|
|
11850
11850
|
return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
|
|
11851
|
-
}(Up || {}),
|
|
11851
|
+
}(Up || {}), Ga = /* @__PURE__ */ function(e) {
|
|
11852
11852
|
return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
|
|
11853
|
-
}(
|
|
11853
|
+
}(Ga || {});
|
|
11854
11854
|
function Hd(e) {
|
|
11855
11855
|
return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
|
|
11856
11856
|
}
|
|
@@ -11871,17 +11871,17 @@ function Wd(e) {
|
|
|
11871
11871
|
return n.route.id || (process.env.NODE_ENV !== "production" ? je(!1, e + ' can only be used on routes that contain a unique "id"') : je(!1)), n.route.id;
|
|
11872
11872
|
}
|
|
11873
11873
|
function PT() {
|
|
11874
|
-
return Wd(
|
|
11874
|
+
return Wd(Ga.UseRouteId);
|
|
11875
11875
|
}
|
|
11876
11876
|
function kT() {
|
|
11877
11877
|
var e;
|
|
11878
|
-
let t = S.useContext(Vd), n = NT(
|
|
11878
|
+
let t = S.useContext(Vd), n = NT(Ga.UseRouteError), r = Wd(Ga.UseRouteError);
|
|
11879
11879
|
return t !== void 0 ? t : (e = n.errors) == null ? void 0 : e[r];
|
|
11880
11880
|
}
|
|
11881
11881
|
function MT() {
|
|
11882
11882
|
let {
|
|
11883
11883
|
router: e
|
|
11884
|
-
} = LT(Up.UseNavigateStable), t = Wd(
|
|
11884
|
+
} = LT(Up.UseNavigateStable), t = Wd(Ga.UseNavigateStable), n = S.useRef(!1);
|
|
11885
11885
|
return jp(() => {
|
|
11886
11886
|
n.current = !0;
|
|
11887
11887
|
}), S.useCallback(function(A, o) {
|
|
@@ -11907,7 +11907,7 @@ function UT(e) {
|
|
|
11907
11907
|
static: i = !1,
|
|
11908
11908
|
future: s
|
|
11909
11909
|
} = e;
|
|
11910
|
-
|
|
11910
|
+
is() && (process.env.NODE_ENV !== "production" ? je(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.") : je(!1));
|
|
11911
11911
|
let a = t.replace(/^\/*/, "/"), c = S.useMemo(() => ({
|
|
11912
11912
|
basename: a,
|
|
11913
11913
|
navigator: o,
|
|
@@ -12139,7 +12139,7 @@ const AS = "startTransition", uI = S[AS], oS = "flushSync", gI = hv[oS];
|
|
|
12139
12139
|
function iS(e) {
|
|
12140
12140
|
uI ? uI(e) : e();
|
|
12141
12141
|
}
|
|
12142
|
-
function
|
|
12142
|
+
function sa(e) {
|
|
12143
12143
|
gI ? gI(e) : e();
|
|
12144
12144
|
}
|
|
12145
12145
|
class aS {
|
|
@@ -12175,11 +12175,11 @@ function Wp(e) {
|
|
|
12175
12175
|
});
|
|
12176
12176
|
let V = n.window == null || n.window.document == null || typeof n.window.document.startViewTransition != "function";
|
|
12177
12177
|
if (!Y || V) {
|
|
12178
|
-
N ?
|
|
12178
|
+
N ? sa(() => o(v)) : B(() => o(v));
|
|
12179
12179
|
return;
|
|
12180
12180
|
}
|
|
12181
12181
|
if (N) {
|
|
12182
|
-
|
|
12182
|
+
sa(() => {
|
|
12183
12183
|
I && (l && l.resolve(), I.skipTransition()), c({
|
|
12184
12184
|
isTransitioning: !0,
|
|
12185
12185
|
flushSync: !0,
|
|
@@ -12188,15 +12188,15 @@ function Wp(e) {
|
|
|
12188
12188
|
});
|
|
12189
12189
|
});
|
|
12190
12190
|
let P = n.window.document.startViewTransition(() => {
|
|
12191
|
-
|
|
12191
|
+
sa(() => o(v));
|
|
12192
12192
|
});
|
|
12193
12193
|
P.finished.finally(() => {
|
|
12194
|
-
|
|
12194
|
+
sa(() => {
|
|
12195
12195
|
g(void 0), p(void 0), s(void 0), c({
|
|
12196
12196
|
isTransitioning: !1
|
|
12197
12197
|
});
|
|
12198
12198
|
});
|
|
12199
|
-
}),
|
|
12199
|
+
}), sa(() => p(P));
|
|
12200
12200
|
return;
|
|
12201
12201
|
}
|
|
12202
12202
|
I ? (l && l.resolve(), I.skipTransition(), d({
|
|
@@ -12341,7 +12341,7 @@ const gS = /* @__PURE__ */ S.forwardRef(function(t, n) {
|
|
|
12341
12341
|
to: a,
|
|
12342
12342
|
unstable_viewTransition: c,
|
|
12343
12343
|
children: l
|
|
12344
|
-
} = t, g = Yd(t, $T), I =
|
|
12344
|
+
} = t, g = Yd(t, $T), I = as(a, {
|
|
12345
12345
|
relative: g.relative
|
|
12346
12346
|
}), p = ao(), f = S.useContext(Sl), {
|
|
12347
12347
|
navigator: d,
|
|
@@ -12430,7 +12430,7 @@ function ES(e, t) {
|
|
|
12430
12430
|
preventScrollReset: o,
|
|
12431
12431
|
relative: i,
|
|
12432
12432
|
unstable_viewTransition: s
|
|
12433
|
-
} = t === void 0 ? {} : t, a = mn(), c = ao(), l =
|
|
12433
|
+
} = t === void 0 ? {} : t, a = mn(), c = ao(), l = as(e, {
|
|
12434
12434
|
relative: i
|
|
12435
12435
|
});
|
|
12436
12436
|
return S.useCallback((g) => {
|
|
@@ -12512,7 +12512,7 @@ function pS(e, t) {
|
|
|
12512
12512
|
basename: r
|
|
12513
12513
|
} = S.useContext(jr), A = S.useContext(Ur);
|
|
12514
12514
|
A || (process.env.NODE_ENV !== "production" ? je(!1, "useFormAction must be used inside a RouteContext") : je(!1));
|
|
12515
|
-
let [o] = A.matches.slice(-1), i = ro({},
|
|
12515
|
+
let [o] = A.matches.slice(-1), i = ro({}, as(e || ".", {
|
|
12516
12516
|
relative: n
|
|
12517
12517
|
})), s = ao();
|
|
12518
12518
|
if (e == null) {
|
|
@@ -12528,7 +12528,7 @@ function QS(e, t) {
|
|
|
12528
12528
|
n == null && (process.env.NODE_ENV !== "production" ? je(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : je(!1));
|
|
12529
12529
|
let {
|
|
12530
12530
|
basename: r
|
|
12531
|
-
} = zp(Wc.useViewTransitionState), A =
|
|
12531
|
+
} = zp(Wc.useViewTransitionState), A = as(e, {
|
|
12532
12532
|
relative: t.relative
|
|
12533
12533
|
});
|
|
12534
12534
|
if (!n.isTransitioning)
|
|
@@ -12747,7 +12747,7 @@ const mS = T(G)`
|
|
|
12747
12747
|
height: 32px;
|
|
12748
12748
|
`, hI = T(_c)`
|
|
12749
12749
|
width: 198px;
|
|
12750
|
-
`,
|
|
12750
|
+
`, Va = T(ns)`
|
|
12751
12751
|
height: 20px;
|
|
12752
12752
|
background: linear-gradient(to right, #ffe250, #ffc350);
|
|
12753
12753
|
color: ${Qn.gray.gray1};
|
|
@@ -12765,11 +12765,11 @@ const mS = T(G)`
|
|
|
12765
12765
|
return /* @__PURE__ */ u.jsx(o3, { "data-testid": "connector-library", component: "ul", children: i === De.LOADING ? /* @__PURE__ */ u.jsx(A3, {}) : /* @__PURE__ */ u.jsx(u.Fragment, { children: A.map((a) => {
|
|
12766
12766
|
const c = o == null ? void 0 : o[a];
|
|
12767
12767
|
if (!c) return null;
|
|
12768
|
-
const { isTemplateNew: l } = c, g =
|
|
12768
|
+
const { isTemplateNew: l } = c, g = Pa(e) && l;
|
|
12769
12769
|
return /* @__PURE__ */ u.jsxs(i3, { onClick: (I) => s(I, a), component: "li", children: [
|
|
12770
12770
|
/* @__PURE__ */ u.jsxs(G, { direction: "row", justifyContent: "space-between", children: [
|
|
12771
12771
|
/* @__PURE__ */ u.jsx(a3, { children: /* @__PURE__ */ u.jsx("img", { src: c.logo ?? "", alt: c.name }) }),
|
|
12772
|
-
/* @__PURE__ */ u.jsx(
|
|
12772
|
+
/* @__PURE__ */ u.jsx(Va, { hidden: !g, label: Jd })
|
|
12773
12773
|
] }),
|
|
12774
12774
|
/* @__PURE__ */ u.jsx(Fg, { variant: "h2", children: c.name }),
|
|
12775
12775
|
/* @__PURE__ */ u.jsx(s3, { variant: "body1", color: "rgba(108, 123, 148, 1)", children: c.description })
|
|
@@ -12974,7 +12974,7 @@ const $p = (e) => e.connectorLirary.connectorList, Dl = (e) => e.connectorLirary
|
|
|
12974
12974
|
`, a4 = T(Nt.InfoOutlined)`
|
|
12975
12975
|
width: 16px;
|
|
12976
12976
|
color: ${ae.palette.gray.gray3};
|
|
12977
|
-
`,
|
|
12977
|
+
`, xa = "success", qA = "error", rQ = "info-dark", s4 = "Error in toggling connector state", c4 = "Connector disabled successfully", l4 = "data:image/svg+xml,%3csvg%20width='22'%20height='22'%20viewBox='0%200%2022%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_3354_177467'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='22'%20height='22'%3e%3crect%20width='22'%20height='22'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3354_177467)'%3e%3cpath%20d='M15.5827%2015.584C15.9646%2015.584%2016.2893%2015.4503%2016.5566%2015.1829C16.824%2014.9156%2016.9577%2014.5909%2016.9577%2014.209C16.9577%2013.827%2016.824%2013.5024%2016.5566%2013.235C16.2893%2012.9677%2015.9646%2012.834%2015.5827%2012.834C15.2007%2012.834%2014.8761%2012.9677%2014.6087%2013.235C14.3414%2013.5024%2014.2077%2013.827%2014.2077%2014.209C14.2077%2014.5909%2014.3414%2014.9156%2014.6087%2015.1829C14.8761%2015.4503%2015.2007%2015.584%2015.5827%2015.584ZM15.5827%2018.334C16.0563%2018.334%2016.4917%2018.2232%2016.8889%2018.0017C17.2862%2017.7802%2017.607%2017.4861%2017.8514%2017.1194C17.5153%2016.9208%2017.1563%2016.768%2016.7743%2016.6611C16.3924%2016.5541%2015.9952%2016.5007%2015.5827%2016.5007C15.1702%2016.5007%2014.773%2016.5541%2014.391%2016.6611C14.0091%2016.768%2013.65%2016.9208%2013.3139%2017.1194C13.5584%2017.4861%2013.8792%2017.7802%2014.2764%2018.0017C14.6737%2018.2232%2015.1091%2018.334%2015.5827%2018.334ZM10.9993%2020.1673C8.87574%2019.6326%207.12261%2018.4142%205.73997%2016.5121C4.35734%2014.61%203.66602%2012.4979%203.66602%2010.1757V4.58398L10.9993%201.83398L18.3327%204.58398V9.78607C18.0424%209.66385%2017.7445%209.55308%2017.4389%209.45378C17.1334%209.35447%2016.8202%209.2819%2016.4993%209.23607V5.86732L10.9993%203.80482L5.49935%205.86732V10.1757C5.49935%2010.8937%205.59484%2011.6118%205.78581%2012.3298C5.97678%2013.0479%206.24414%2013.7316%206.58789%2014.3809C6.93164%2015.0302%207.34796%2015.6298%207.83685%2016.1798C8.32574%2016.7298%208.8681%2017.1882%209.46393%2017.5548C9.63199%2018.0437%209.85352%2018.5097%2010.1285%2018.9527C10.4035%2019.3958%2010.7167%2019.793%2011.0681%2020.1444C11.0528%2020.1444%2011.0414%2020.1482%2011.0337%2020.1559C11.0261%2020.1635%2011.0146%2020.1673%2010.9993%2020.1673ZM15.5827%2020.1673C14.3146%2020.1673%2013.2337%2019.7204%2012.34%2018.8267C11.4462%2017.9329%2010.9993%2016.852%2010.9993%2015.584C10.9993%2014.3159%2011.4462%2013.235%2012.34%2012.3413C13.2337%2011.4475%2014.3146%2011.0007%2015.5827%2011.0007C16.8507%2011.0007%2017.9316%2011.4475%2018.8254%2012.3413C19.7191%2013.235%2020.166%2014.3159%2020.166%2015.584C20.166%2016.852%2019.7191%2017.9329%2018.8254%2018.8267C17.9316%2019.7204%2016.8507%2020.1673%2015.5827%2020.1673Z'%20fill='%233E4C5A'/%3e%3c/g%3e%3c/svg%3e", AQ = "data:image/svg+xml,%3csvg%20width='92'%20height='92'%20viewBox='0%200%2092%2092'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='46'%20cy='46'%20r='23'%20fill='%2336A40F'/%3e%3ccircle%20opacity='0.1'%20cx='45.5'%20cy='45.5'%20r='34.5'%20fill='%235AAA3D'/%3e%3ccircle%20opacity='0.1'%20cx='46'%20cy='46'%20r='46'%20fill='%232CAA00'/%3e%3cpath%20d='M37%2046L44%2053L58%2039'%20stroke='white'%20stroke-width='3'/%3e%3c/svg%3e", u4 = "Connector enabled", g4 = "Access and manage the information from the connector directly from Hiver’s right panel for seamless integration and easy reference.", d4 = "Got it", C4 = "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", qd = ({
|
|
12978
12978
|
shown: e,
|
|
12979
12979
|
setShown: t,
|
|
12980
12980
|
children: n,
|
|
@@ -13068,7 +13068,7 @@ function br(e) {
|
|
|
13068
13068
|
};
|
|
13069
13069
|
let o;
|
|
13070
13070
|
switch (n) {
|
|
13071
|
-
case
|
|
13071
|
+
case xa: {
|
|
13072
13072
|
o = st.success(/* @__PURE__ */ u.jsx(Ss, { message: t }), { ...A, icon: !1 });
|
|
13073
13073
|
break;
|
|
13074
13074
|
}
|
|
@@ -13205,14 +13205,14 @@ function $d(e) {
|
|
|
13205
13205
|
} = Ar(e);
|
|
13206
13206
|
return e instanceof t;
|
|
13207
13207
|
}
|
|
13208
|
-
function
|
|
13208
|
+
function ss(e) {
|
|
13209
13209
|
return Ui(e) ? !1 : e instanceof Ar(e).HTMLElement;
|
|
13210
13210
|
}
|
|
13211
13211
|
function oQ(e) {
|
|
13212
13212
|
return e instanceof Ar(e).SVGElement;
|
|
13213
13213
|
}
|
|
13214
13214
|
function Gi(e) {
|
|
13215
|
-
return e ? Ui(e) ? e.document : Zd(e) ? $d(e) ? e :
|
|
13215
|
+
return e ? Ui(e) ? e.document : Zd(e) ? $d(e) ? e : ss(e) || oQ(e) ? e.ownerDocument : document : document : document;
|
|
13216
13216
|
}
|
|
13217
13217
|
const iA = Ol ? ll : me;
|
|
13218
13218
|
function eC(e) {
|
|
@@ -13233,14 +13233,14 @@ function k4() {
|
|
|
13233
13233
|
}, []);
|
|
13234
13234
|
return [t, n];
|
|
13235
13235
|
}
|
|
13236
|
-
function
|
|
13236
|
+
function Ha(e, t) {
|
|
13237
13237
|
t === void 0 && (t = [e]);
|
|
13238
13238
|
const n = He(e);
|
|
13239
13239
|
return iA(() => {
|
|
13240
13240
|
n.current !== e && (n.current = e);
|
|
13241
13241
|
}, t), n;
|
|
13242
13242
|
}
|
|
13243
|
-
function
|
|
13243
|
+
function cs(e, t) {
|
|
13244
13244
|
const n = He();
|
|
13245
13245
|
return Pe(
|
|
13246
13246
|
() => {
|
|
@@ -13268,7 +13268,7 @@ function Pg(e) {
|
|
|
13268
13268
|
}, [e]), t.current;
|
|
13269
13269
|
}
|
|
13270
13270
|
let Qu = {};
|
|
13271
|
-
function
|
|
13271
|
+
function ls(e, t) {
|
|
13272
13272
|
return Pe(() => {
|
|
13273
13273
|
if (t)
|
|
13274
13274
|
return t;
|
|
@@ -13498,7 +13498,7 @@ function K4(e) {
|
|
|
13498
13498
|
const {
|
|
13499
13499
|
announce: o,
|
|
13500
13500
|
announcement: i
|
|
13501
|
-
} = W4(), s =
|
|
13501
|
+
} = W4(), s = ls("DndLiveRegion"), [a, c] = ue(!1);
|
|
13502
13502
|
if (me(() => {
|
|
13503
13503
|
c(!0);
|
|
13504
13504
|
}, []), Y4(Pe(() => ({
|
|
@@ -13817,7 +13817,7 @@ function nC(e, t) {
|
|
|
13817
13817
|
return n;
|
|
13818
13818
|
if ($d(A) && A.scrollingElement != null && !n.includes(A.scrollingElement))
|
|
13819
13819
|
return n.push(A.scrollingElement), n;
|
|
13820
|
-
if (!
|
|
13820
|
+
if (!ss(A) || oQ(A) || n.includes(A))
|
|
13821
13821
|
return n;
|
|
13822
13822
|
const o = Ar(e).getComputedStyle(A);
|
|
13823
13823
|
return A !== e && u_(A, o) && n.push(A), l_(A, o) ? n : r(A.parentNode);
|
|
@@ -13829,7 +13829,7 @@ function gQ(e) {
|
|
|
13829
13829
|
return t ?? null;
|
|
13830
13830
|
}
|
|
13831
13831
|
function mu(e) {
|
|
13832
|
-
return !Ol || !e ? null : Ui(e) ? e : Zd(e) ? $d(e) || e === Gi(e).scrollingElement ? window :
|
|
13832
|
+
return !Ol || !e ? null : Ui(e) ? e : Zd(e) ? $d(e) || e === Gi(e).scrollingElement ? window : ss(e) ? e : null : null;
|
|
13833
13833
|
}
|
|
13834
13834
|
function dQ(e) {
|
|
13835
13835
|
return Ui(e) ? e.scrollX : e.scrollLeft;
|
|
@@ -13980,7 +13980,7 @@ class rC {
|
|
|
13980
13980
|
});
|
|
13981
13981
|
}
|
|
13982
13982
|
}
|
|
13983
|
-
class
|
|
13983
|
+
class wa {
|
|
13984
13984
|
constructor(t) {
|
|
13985
13985
|
this.target = void 0, this.listeners = [], this.removeAll = () => {
|
|
13986
13986
|
this.listeners.forEach((n) => {
|
|
@@ -14057,7 +14057,7 @@ class hQ {
|
|
|
14057
14057
|
target: n
|
|
14058
14058
|
}
|
|
14059
14059
|
} = t;
|
|
14060
|
-
this.props = t, this.listeners = new
|
|
14060
|
+
this.props = t, this.listeners = new wa(Gi(n)), this.windowListeners = new wa(Ar(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
14061
14061
|
}
|
|
14062
14062
|
attach() {
|
|
14063
14063
|
this.handleStart(), this.windowListeners.add(yr.Resize, this.handleCancel), this.windowListeners.add(yr.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(yr.Keydown, this.handleKeyDown));
|
|
@@ -14213,7 +14213,7 @@ class AC {
|
|
|
14213
14213
|
} = t, {
|
|
14214
14214
|
target: i
|
|
14215
14215
|
} = o;
|
|
14216
|
-
this.props = t, this.events = n, this.document = Gi(i), this.documentListeners = new
|
|
14216
|
+
this.props = t, this.events = n, this.document = Gi(i), this.documentListeners = new wa(this.document), this.listeners = new wa(r), this.windowListeners = new wa(Ar(i)), this.initialCoordinates = (A = kg(o)) != null ? A : Pr, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
|
|
14217
14217
|
}
|
|
14218
14218
|
attach() {
|
|
14219
14219
|
const {
|
|
@@ -14406,10 +14406,10 @@ y_.activators = [{
|
|
|
14406
14406
|
}), !0);
|
|
14407
14407
|
}
|
|
14408
14408
|
}];
|
|
14409
|
-
var
|
|
14409
|
+
var Ta;
|
|
14410
14410
|
(function(e) {
|
|
14411
14411
|
e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
|
|
14412
|
-
})(
|
|
14412
|
+
})(Ta || (Ta = {}));
|
|
14413
14413
|
var Xc;
|
|
14414
14414
|
(function(e) {
|
|
14415
14415
|
e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
@@ -14417,7 +14417,7 @@ var Xc;
|
|
|
14417
14417
|
function x_(e) {
|
|
14418
14418
|
let {
|
|
14419
14419
|
acceleration: t,
|
|
14420
|
-
activator: n =
|
|
14420
|
+
activator: n = Ta.Pointer,
|
|
14421
14421
|
canScroll: r,
|
|
14422
14422
|
draggingRect: A,
|
|
14423
14423
|
enabled: o,
|
|
@@ -14440,14 +14440,14 @@ function x_(e) {
|
|
|
14440
14440
|
y: 0
|
|
14441
14441
|
}), B = Pe(() => {
|
|
14442
14442
|
switch (n) {
|
|
14443
|
-
case
|
|
14443
|
+
case Ta.Pointer:
|
|
14444
14444
|
return a ? {
|
|
14445
14445
|
top: a.y,
|
|
14446
14446
|
bottom: a.y,
|
|
14447
14447
|
left: a.x,
|
|
14448
14448
|
right: a.x
|
|
14449
14449
|
} : null;
|
|
14450
|
-
case
|
|
14450
|
+
case Ta.DraggableRect:
|
|
14451
14451
|
return A;
|
|
14452
14452
|
}
|
|
14453
14453
|
}, [n, A, a]), h = He(null), Q = At(() => {
|
|
@@ -14525,7 +14525,7 @@ function T_(e) {
|
|
|
14525
14525
|
disabled: n
|
|
14526
14526
|
} = e;
|
|
14527
14527
|
const r = Pg(t);
|
|
14528
|
-
return
|
|
14528
|
+
return cs((A) => {
|
|
14529
14529
|
if (n || !r || !A)
|
|
14530
14530
|
return w_;
|
|
14531
14531
|
const o = {
|
|
@@ -14546,7 +14546,7 @@ function T_(e) {
|
|
|
14546
14546
|
}
|
|
14547
14547
|
function S_(e, t) {
|
|
14548
14548
|
const n = t != null ? e.get(t) : void 0, r = n ? n.node.current : null;
|
|
14549
|
-
return
|
|
14549
|
+
return cs((A) => {
|
|
14550
14550
|
var o;
|
|
14551
14551
|
return t == null ? null : (o = r ?? A) != null ? o : null;
|
|
14552
14552
|
}, [r, t]);
|
|
@@ -14562,10 +14562,10 @@ function __(e, t) {
|
|
|
14562
14562
|
return [...n, ...o];
|
|
14563
14563
|
}, []), [e, t]);
|
|
14564
14564
|
}
|
|
14565
|
-
var
|
|
14565
|
+
var Wa;
|
|
14566
14566
|
(function(e) {
|
|
14567
14567
|
e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
|
|
14568
|
-
})(
|
|
14568
|
+
})(Wa || (Wa = {}));
|
|
14569
14569
|
var Ug;
|
|
14570
14570
|
(function(e) {
|
|
14571
14571
|
e.Optimized = "optimized";
|
|
@@ -14581,9 +14581,9 @@ function R_(e, t) {
|
|
|
14581
14581
|
frequency: s,
|
|
14582
14582
|
measure: a,
|
|
14583
14583
|
strategy: c
|
|
14584
|
-
} = A, l = He(e), g = C(), I =
|
|
14584
|
+
} = A, l = He(e), g = C(), I = Ha(g), p = At(function(E) {
|
|
14585
14585
|
E === void 0 && (E = []), !I.current && i((B) => B === null ? E : B.concat(E.filter((h) => !B.includes(h))));
|
|
14586
|
-
}, [I]), f = He(null), d =
|
|
14586
|
+
}, [I]), f = He(null), d = cs((E) => {
|
|
14587
14587
|
if (g && !n)
|
|
14588
14588
|
return xI;
|
|
14589
14589
|
if (!E || E === xI || l.current !== e || o != null) {
|
|
@@ -14631,9 +14631,9 @@ function R_(e, t) {
|
|
|
14631
14631
|
};
|
|
14632
14632
|
function C() {
|
|
14633
14633
|
switch (c) {
|
|
14634
|
-
case
|
|
14634
|
+
case Wa.Always:
|
|
14635
14635
|
return !1;
|
|
14636
|
-
case
|
|
14636
|
+
case Wa.BeforeDragging:
|
|
14637
14637
|
return n;
|
|
14638
14638
|
default:
|
|
14639
14639
|
return !n;
|
|
@@ -14641,7 +14641,7 @@ function R_(e, t) {
|
|
|
14641
14641
|
}
|
|
14642
14642
|
}
|
|
14643
14643
|
function pQ(e, t) {
|
|
14644
|
-
return
|
|
14644
|
+
return cs((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
|
|
14645
14645
|
}
|
|
14646
14646
|
function D_(e, t) {
|
|
14647
14647
|
return pQ(e, t);
|
|
@@ -14728,7 +14728,7 @@ function N_(e) {
|
|
|
14728
14728
|
}
|
|
14729
14729
|
const TI = [];
|
|
14730
14730
|
function F_(e) {
|
|
14731
|
-
const t = He(e), n =
|
|
14731
|
+
const t = He(e), n = cs((r) => e ? r && r !== TI && e && t.current && e.parentNode === t.current.parentNode ? r : nC(e) : TI, [e]);
|
|
14732
14732
|
return me(() => {
|
|
14733
14733
|
t.current = e;
|
|
14734
14734
|
}, [e]), n;
|
|
@@ -14835,7 +14835,7 @@ function U_(e) {
|
|
|
14835
14835
|
if (e.children.length > 1)
|
|
14836
14836
|
return e;
|
|
14837
14837
|
const t = e.children[0];
|
|
14838
|
-
return
|
|
14838
|
+
return ss(t) ? t : e;
|
|
14839
14839
|
}
|
|
14840
14840
|
function G_(e) {
|
|
14841
14841
|
let {
|
|
@@ -14845,7 +14845,7 @@ function G_(e) {
|
|
|
14845
14845
|
for (const {
|
|
14846
14846
|
target: l
|
|
14847
14847
|
} of c)
|
|
14848
|
-
if (
|
|
14848
|
+
if (ss(l)) {
|
|
14849
14849
|
r((g) => {
|
|
14850
14850
|
const I = t(l);
|
|
14851
14851
|
return g ? {
|
|
@@ -14882,14 +14882,14 @@ const V_ = [{
|
|
|
14882
14882
|
},
|
|
14883
14883
|
droppable: {
|
|
14884
14884
|
measure: mI,
|
|
14885
|
-
strategy:
|
|
14885
|
+
strategy: Wa.WhileDragging,
|
|
14886
14886
|
frequency: Ug.Optimized
|
|
14887
14887
|
},
|
|
14888
14888
|
dragOverlay: {
|
|
14889
14889
|
measure: Vi
|
|
14890
14890
|
}
|
|
14891
14891
|
};
|
|
14892
|
-
class
|
|
14892
|
+
class Sa extends Map {
|
|
14893
14893
|
get(t) {
|
|
14894
14894
|
var n;
|
|
14895
14895
|
return t != null && (n = super.get(t)) != null ? n : void 0;
|
|
@@ -14919,7 +14919,7 @@ const W_ = {
|
|
|
14919
14919
|
containerNodeRect: null,
|
|
14920
14920
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
14921
14921
|
droppableRects: /* @__PURE__ */ new Map(),
|
|
14922
|
-
droppableContainers: /* @__PURE__ */ new
|
|
14922
|
+
droppableContainers: /* @__PURE__ */ new Sa(),
|
|
14923
14923
|
over: null,
|
|
14924
14924
|
dragOverlay: {
|
|
14925
14925
|
nodeRef: {
|
|
@@ -14962,7 +14962,7 @@ function z_() {
|
|
|
14962
14962
|
}
|
|
14963
14963
|
},
|
|
14964
14964
|
droppable: {
|
|
14965
|
-
containers: new
|
|
14965
|
+
containers: new Sa()
|
|
14966
14966
|
}
|
|
14967
14967
|
};
|
|
14968
14968
|
}
|
|
@@ -15010,7 +15010,7 @@ function J_(e, t) {
|
|
|
15010
15010
|
element: n
|
|
15011
15011
|
} = t, {
|
|
15012
15012
|
id: r
|
|
15013
|
-
} = n, A = new
|
|
15013
|
+
} = n, A = new Sa(e.droppable.containers);
|
|
15014
15014
|
return A.set(r, n), {
|
|
15015
15015
|
...e,
|
|
15016
15016
|
droppable: {
|
|
@@ -15027,7 +15027,7 @@ function J_(e, t) {
|
|
|
15027
15027
|
} = t, o = e.droppable.containers.get(n);
|
|
15028
15028
|
if (!o || r !== o.key)
|
|
15029
15029
|
return e;
|
|
15030
|
-
const i = new
|
|
15030
|
+
const i = new Sa(e.droppable.containers);
|
|
15031
15031
|
return i.set(n, {
|
|
15032
15032
|
...o,
|
|
15033
15033
|
disabled: A
|
|
@@ -15046,7 +15046,7 @@ function J_(e, t) {
|
|
|
15046
15046
|
} = t, A = e.droppable.containers.get(n);
|
|
15047
15047
|
if (!A || r !== A.key)
|
|
15048
15048
|
return e;
|
|
15049
|
-
const o = new
|
|
15049
|
+
const o = new Sa(e.droppable.containers);
|
|
15050
15050
|
return o.delete(n), {
|
|
15051
15051
|
...e,
|
|
15052
15052
|
droppable: {
|
|
@@ -15201,7 +15201,7 @@ const bQ = /* @__PURE__ */ Bv(function(t) {
|
|
|
15201
15201
|
data: (St = N == null ? void 0 : N.data) != null ? St : H_,
|
|
15202
15202
|
rect: Y
|
|
15203
15203
|
} : null;
|
|
15204
|
-
}, [y, N]), P = He(null), [le, Ee] = ue(null), [we, te] = ue(null), ce =
|
|
15204
|
+
}, [y, N]), P = He(null), [le, Ee] = ue(null), [we, te] = ue(null), ce = Ha(f, Object.values(f)), O = ls("DndDescribedBy", i), M = Pe(() => F.getEnabled(), [F]), z = q_(I), {
|
|
15205
15205
|
droppableRects: j,
|
|
15206
15206
|
measureDroppableContainers: J,
|
|
15207
15207
|
measuringScheduled: Ae
|
|
@@ -15526,7 +15526,7 @@ function tR(e) {
|
|
|
15526
15526
|
disabled: r = !1,
|
|
15527
15527
|
attributes: A
|
|
15528
15528
|
} = e;
|
|
15529
|
-
const o =
|
|
15529
|
+
const o = ls(eR), {
|
|
15530
15530
|
activators: i,
|
|
15531
15531
|
activatorEvent: s,
|
|
15532
15532
|
active: a,
|
|
@@ -15538,7 +15538,7 @@ function tR(e) {
|
|
|
15538
15538
|
role: p = RI,
|
|
15539
15539
|
roleDescription: f = "draggable",
|
|
15540
15540
|
tabIndex: d = 0
|
|
15541
|
-
} = A ?? {}, C = (a == null ? void 0 : a.id) === t, E = Ye(C ? vQ : $_), [B, h] = Yc(), [Q, m] = Yc(), b = M_(i, t), y =
|
|
15541
|
+
} = A ?? {}, C = (a == null ? void 0 : a.id) === t, E = Ye(C ? vQ : $_), [B, h] = Yc(), [Q, m] = Yc(), b = M_(i, t), y = Ha(n);
|
|
15542
15542
|
iA(
|
|
15543
15543
|
() => (g.set(t, {
|
|
15544
15544
|
id: t,
|
|
@@ -15588,7 +15588,7 @@ function oR(e) {
|
|
|
15588
15588
|
id: r,
|
|
15589
15589
|
resizeObserverConfig: A
|
|
15590
15590
|
} = e;
|
|
15591
|
-
const o =
|
|
15591
|
+
const o = ls(rR), {
|
|
15592
15592
|
active: i,
|
|
15593
15593
|
dispatch: s,
|
|
15594
15594
|
over: a,
|
|
@@ -15602,7 +15602,7 @@ function oR(e) {
|
|
|
15602
15602
|
} = {
|
|
15603
15603
|
...AR,
|
|
15604
15604
|
...A
|
|
15605
|
-
}, E =
|
|
15605
|
+
}, E = Ha(d ?? r), B = At(
|
|
15606
15606
|
() => {
|
|
15607
15607
|
if (!g.current) {
|
|
15608
15608
|
g.current = !0;
|
|
@@ -15619,7 +15619,7 @@ function oR(e) {
|
|
|
15619
15619
|
disabled: f || !i
|
|
15620
15620
|
}), Q = At((v, w) => {
|
|
15621
15621
|
h && (w && (h.unobserve(w), g.current = !1), v && h.observe(v));
|
|
15622
|
-
}, [h]), [m, b] = Yc(Q), y =
|
|
15622
|
+
}, [h]), [m, b] = Yc(Q), y = Ha(t);
|
|
15623
15623
|
return me(() => {
|
|
15624
15624
|
!h || !m.current || (h.disconnect(), g.current = !1, h.observe(m.current));
|
|
15625
15625
|
}, [m, h]), me(
|
|
@@ -15769,7 +15769,7 @@ function SQ(e) {
|
|
|
15769
15769
|
droppableRects: a,
|
|
15770
15770
|
over: c,
|
|
15771
15771
|
measureDroppableContainers: l
|
|
15772
|
-
} = nR(), g =
|
|
15772
|
+
} = nR(), g = ls(wQ, n), I = s.rect !== null, p = Pe(() => r.map((b) => typeof b == "object" && "id" in b ? b.id : b), [r]), f = i != null, d = i ? p.indexOf(i.id) : -1, C = c ? p.indexOf(c.id) : -1, E = He(p), B = !aR(p, E.current), h = C !== -1 && d === -1 || B, Q = sR(o);
|
|
15773
15773
|
iA(() => {
|
|
15774
15774
|
B && f && l(p);
|
|
15775
15775
|
}, [B, p, f, l]), me(() => {
|
|
@@ -16044,7 +16044,7 @@ const fR = T(G)`
|
|
|
16044
16044
|
}
|
|
16045
16045
|
}
|
|
16046
16046
|
`, hR = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cellipse%20cx='7.48148'%20cy='4.94'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='7.48148'%20cy='10.7'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='7.48148'%20cy='16.46'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='4.94'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='10.7'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='16.46'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3c/svg%3e", pR = ({ field: e, toggleSelected: t, hideNewChip: n }) => {
|
|
16047
|
-
const { availableFeatures: r } = Ye(In), { key: A, label: o, enabled: i, isFieldNew: s } = e, { attributes: a, listeners: c, setNodeRef: l, transform: g, transition: I } = RQ({ id: A }), p = He(null), [f, d] = ue(!1), C =
|
|
16047
|
+
const { availableFeatures: r } = Ye(In), { key: A, label: o, enabled: i, isFieldNew: s } = e, { attributes: a, listeners: c, setNodeRef: l, transform: g, transition: I } = RQ({ id: A }), p = He(null), [f, d] = ue(!1), C = Pa(r) && s && !n, E = {
|
|
16048
16048
|
transform: Si.Transform.toString(g),
|
|
16049
16049
|
transition: I
|
|
16050
16050
|
};
|
|
@@ -16056,7 +16056,7 @@ const fR = T(G)`
|
|
|
16056
16056
|
/* @__PURE__ */ u.jsx(Oi, { checked: i, onChange: () => t(A), sx: { marginLeft: "-6px" } }),
|
|
16057
16057
|
/* @__PURE__ */ u.jsx(Zt, { title: o, disableHoverListener: !f, children: /* @__PURE__ */ u.jsxs(G, { direction: "row", gap: "5px", alignItems: "center", children: [
|
|
16058
16058
|
/* @__PURE__ */ u.jsx(se, { ref: p, variant: "body2", maxWidth: "325px", noWrap: !0, children: o }),
|
|
16059
|
-
C ? /* @__PURE__ */ u.jsx(
|
|
16059
|
+
C ? /* @__PURE__ */ u.jsx(Va, { label: Jd }) : null
|
|
16060
16060
|
] }) })
|
|
16061
16061
|
] });
|
|
16062
16062
|
}, QR = (e) => ({
|
|
@@ -16070,7 +16070,7 @@ const fR = T(G)`
|
|
|
16070
16070
|
}
|
|
16071
16071
|
}), Hi = () => {
|
|
16072
16072
|
try {
|
|
16073
|
-
return JSON.parse(localStorage.getItem(
|
|
16073
|
+
return JSON.parse(localStorage.getItem(As) || "{}");
|
|
16074
16074
|
} catch {
|
|
16075
16075
|
return {};
|
|
16076
16076
|
}
|
|
@@ -16083,7 +16083,7 @@ const fR = T(G)`
|
|
|
16083
16083
|
}, mR = (e) => {
|
|
16084
16084
|
if (!e) return;
|
|
16085
16085
|
const t = Hi(), n = Wi();
|
|
16086
|
-
(Object.keys(t).length === 0 || n != e) && localStorage.setItem(
|
|
16086
|
+
(Object.keys(t).length === 0 || n != e) && localStorage.setItem(As, JSON.stringify(QR(e)));
|
|
16087
16087
|
}, vR = (e, t) => {
|
|
16088
16088
|
var i, s, a, c, l, g;
|
|
16089
16089
|
if (!e || !t) return;
|
|
@@ -16104,7 +16104,7 @@ const fR = T(G)`
|
|
|
16104
16104
|
}
|
|
16105
16105
|
}
|
|
16106
16106
|
};
|
|
16107
|
-
localStorage.setItem(
|
|
16107
|
+
localStorage.setItem(As, JSON.stringify(o));
|
|
16108
16108
|
}, oC = (e, t) => {
|
|
16109
16109
|
var A, o;
|
|
16110
16110
|
const n = Wi();
|
|
@@ -16129,7 +16129,7 @@ const fR = T(G)`
|
|
|
16129
16129
|
}
|
|
16130
16130
|
}
|
|
16131
16131
|
};
|
|
16132
|
-
localStorage.setItem(
|
|
16132
|
+
localStorage.setItem(As, JSON.stringify(o));
|
|
16133
16133
|
}, yR = (e, t) => {
|
|
16134
16134
|
var A;
|
|
16135
16135
|
const n = Wi();
|
|
@@ -16150,7 +16150,7 @@ const fR = T(G)`
|
|
|
16150
16150
|
]
|
|
16151
16151
|
}
|
|
16152
16152
|
};
|
|
16153
|
-
localStorage.setItem(
|
|
16153
|
+
localStorage.setItem(As, JSON.stringify(A));
|
|
16154
16154
|
}, wR = ({ fields: e, setFields: t, cardId: n }) => {
|
|
16155
16155
|
const r = cQ(sQ(Ll)), { userId: A } = SA() || {}, o = ut(Z3), i = (c) => {
|
|
16156
16156
|
const { active: l, over: g } = c;
|
|
@@ -16211,7 +16211,7 @@ const fR = T(G)`
|
|
|
16211
16211
|
display: flex;
|
|
16212
16212
|
align-items: center;
|
|
16213
16213
|
}
|
|
16214
|
-
`, RR = T(
|
|
16214
|
+
`, RR = T(ns)`
|
|
16215
16215
|
border: 1px solid ${Qn.gray.gray3};
|
|
16216
16216
|
letter-spacing: 0.3px;
|
|
16217
16217
|
color: ${Qn.gray.gray3};
|
|
@@ -16369,7 +16369,7 @@ const fR = T(G)`
|
|
|
16369
16369
|
return !1;
|
|
16370
16370
|
}
|
|
16371
16371
|
return !0;
|
|
16372
|
-
}, [s, b, d, t]), V = B.length !== 0 && b.filter((j) => j.enabled).length === 0, P = C === De.LOADING || F && N && Y || V, le = Pe(() => !!(s != null && s.some((j) => j.isFieldNew)), [s]), Ee = E && oC(t, E), te =
|
|
16372
|
+
}, [s, b, d, t]), V = B.length !== 0 && b.filter((j) => j.enabled).length === 0, P = C === De.LOADING || F && N && Y || V, le = Pe(() => !!(s != null && s.some((j) => j.isFieldNew)), [s]), Ee = E && oC(t, E), te = Pa(c) && le && !Ee ? LQ : "", ce = (j) => {
|
|
16373
16373
|
j.stopPropagation();
|
|
16374
16374
|
const J = Q != null && Q.name ? [Q.name] : [], Ae = B.map((ie) => ie.id), ne = b.map((ie, Qe) => ({ ...ie, priority: Qe + 1 }));
|
|
16375
16375
|
g(
|
|
@@ -16395,7 +16395,7 @@ const fR = T(G)`
|
|
|
16395
16395
|
card_title: i
|
|
16396
16396
|
}), !Qe && (Q != null && Q.name) && Ae.length ? r(!0) : ie && br({
|
|
16397
16397
|
message: Q3.replace(p3, ie),
|
|
16398
|
-
type:
|
|
16398
|
+
type: xa
|
|
16399
16399
|
});
|
|
16400
16400
|
}).catch(() => {
|
|
16401
16401
|
br({ message: m3, type: qA });
|
|
@@ -16409,7 +16409,7 @@ const fR = T(G)`
|
|
|
16409
16409
|
const Ae = (ne = Object.values(go).find((ie) => ie.ID === j)) == null ? void 0 : ne.LABEL;
|
|
16410
16410
|
return /* @__PURE__ */ u.jsxs(G, { direction: "row", alignItems: "center", gap: 1.25, children: [
|
|
16411
16411
|
Ae,
|
|
16412
|
-
J ? /* @__PURE__ */ u.jsx(
|
|
16412
|
+
J ? /* @__PURE__ */ u.jsx(Va, { label: J }) : null
|
|
16413
16413
|
] });
|
|
16414
16414
|
};
|
|
16415
16415
|
return /* @__PURE__ */ u.jsx(_3, { children: /* @__PURE__ */ u.jsxs(N3, { children: [
|
|
@@ -16498,11 +16498,11 @@ const PR = T(G)`
|
|
|
16498
16498
|
}, Q = () => {
|
|
16499
16499
|
g(!0), C(Ct.CONFIGURE_VISIBILITY_CLICKED);
|
|
16500
16500
|
}, m = Pe(
|
|
16501
|
-
() =>
|
|
16501
|
+
() => Pa(f) && s && B && !yR(e.id, B),
|
|
16502
16502
|
/* eslint-disable-next-line react-hooks/exhaustive-deps */
|
|
16503
16503
|
[f, e, B, l, s]
|
|
16504
16504
|
), b = Pe(
|
|
16505
|
-
() => B &&
|
|
16505
|
+
() => B && Pa(f) && i.some((w) => w.isFieldNew) && !oC(e.id, B),
|
|
16506
16506
|
/* eslint-disable-next-line react-hooks/exhaustive-deps */
|
|
16507
16507
|
[f, e, B, l, i]
|
|
16508
16508
|
);
|
|
@@ -16511,8 +16511,8 @@ const PR = T(G)`
|
|
|
16511
16511
|
/* @__PURE__ */ u.jsxs(G, { gap: "8px", direction: "row", children: [
|
|
16512
16512
|
e.title,
|
|
16513
16513
|
/* @__PURE__ */ u.jsxs(G, { gap: "5px", direction: "row", children: [
|
|
16514
|
-
/* @__PURE__ */ u.jsx(
|
|
16515
|
-
/* @__PURE__ */ u.jsx(
|
|
16514
|
+
/* @__PURE__ */ u.jsx(Va, { hidden: !m, label: Jd }),
|
|
16515
|
+
/* @__PURE__ */ u.jsx(Va, { hidden: !b, label: LQ })
|
|
16516
16516
|
] })
|
|
16517
16517
|
] }),
|
|
16518
16518
|
/* @__PURE__ */ u.jsxs(PR, { children: [
|
|
@@ -18144,8 +18144,8 @@ const nO = /* @__PURE__ */ dl(HQ);
|
|
|
18144
18144
|
}
|
|
18145
18145
|
Ft.length > 0 && ($e[dt] = Ft);
|
|
18146
18146
|
} else {
|
|
18147
|
-
var
|
|
18148
|
-
|
|
18147
|
+
var $i = (0, k.default)(xe, dt, Bt, $e, he);
|
|
18148
|
+
$i && ($e[dt] = $i), $e = (0, X.default)(he, dt, $e);
|
|
18149
18149
|
}
|
|
18150
18150
|
}
|
|
18151
18151
|
return $e;
|
|
@@ -18558,8 +18558,8 @@ const nO = /* @__PURE__ */ dl(HQ);
|
|
|
18558
18558
|
for (var Jn in lt) {
|
|
18559
18559
|
var Xo = (0, X.default)(Jn);
|
|
18560
18560
|
if (Ft.indexOf(Xo) > -1 && Xo !== "order")
|
|
18561
|
-
for (var
|
|
18562
|
-
on.unshift(Ft.replace(Xo, Be[
|
|
18561
|
+
for (var $i = lt[Jn], $l = 0, Cv = $i.length; $l < Cv; ++$l)
|
|
18562
|
+
on.unshift(Ft.replace(Xo, Be[$i[$l]] + Xo));
|
|
18563
18563
|
}
|
|
18564
18564
|
$e[dt] = on.join(",");
|
|
18565
18565
|
}
|
|
@@ -19160,8 +19160,8 @@ function TO(e, t) {
|
|
|
19160
19160
|
function SO(e, t) {
|
|
19161
19161
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
|
|
19162
19162
|
}
|
|
19163
|
-
var
|
|
19164
|
-
Hn.UNMOUNTED =
|
|
19163
|
+
var ha = "unmounted";
|
|
19164
|
+
Hn.UNMOUNTED = ha;
|
|
19165
19165
|
var Io = "exited";
|
|
19166
19166
|
Hn.EXITED = Io;
|
|
19167
19167
|
var fo = "entering";
|
|
@@ -19176,7 +19176,7 @@ var cA = /* @__PURE__ */ function(e) {
|
|
|
19176
19176
|
var o;
|
|
19177
19177
|
o = e.call(this, r, A) || this;
|
|
19178
19178
|
var i = A.transitionGroup, s = i && !i.isMounting ? r.enter : r.appear, a;
|
|
19179
|
-
return o.appearStatus = null, r.in ? s ? (a = Io, o.appearStatus = fo) : a = ei : r.unmountOnExit || r.mountOnEnter ? a =
|
|
19179
|
+
return o.appearStatus = null, r.in ? s ? (a = Io, o.appearStatus = fo) : a = ei : r.unmountOnExit || r.mountOnEnter ? a = ha : a = Io, o.state = {
|
|
19180
19180
|
status: a
|
|
19181
19181
|
}, o.nextCallback = null, o;
|
|
19182
19182
|
}
|
|
@@ -19188,7 +19188,7 @@ var cA = /* @__PURE__ */ function(e) {
|
|
|
19188
19188
|
};
|
|
19189
19189
|
}, t.getDerivedStateFromProps = function(A, o) {
|
|
19190
19190
|
var i = A.in;
|
|
19191
|
-
return i && o.status ===
|
|
19191
|
+
return i && o.status === ha ? {
|
|
19192
19192
|
status: Io
|
|
19193
19193
|
} : null;
|
|
19194
19194
|
}, n.componentDidMount = function() {
|
|
@@ -19215,7 +19215,7 @@ var cA = /* @__PURE__ */ function(e) {
|
|
|
19215
19215
|
var i = bO.default.findDOMNode(this);
|
|
19216
19216
|
o === fo ? this.performEnter(i, A) : this.performExit(i);
|
|
19217
19217
|
} else this.props.unmountOnExit && this.state.status === Io && this.setState({
|
|
19218
|
-
status:
|
|
19218
|
+
status: ha
|
|
19219
19219
|
});
|
|
19220
19220
|
}, n.performEnter = function(A, o) {
|
|
19221
19221
|
var i = this, s = this.props.enter, a = this.context.transitionGroup ? this.context.transitionGroup.isMounting : o, c = this.getTimeouts(), l = a ? c.appear : c.enter;
|
|
@@ -19280,7 +19280,7 @@ var cA = /* @__PURE__ */ function(e) {
|
|
|
19280
19280
|
this.props.addEndListener && this.props.addEndListener(A, this.nextCallback), o != null && setTimeout(this.nextCallback, o);
|
|
19281
19281
|
}, n.render = function() {
|
|
19282
19282
|
var A = this.state.status;
|
|
19283
|
-
if (A ===
|
|
19283
|
+
if (A === ha)
|
|
19284
19284
|
return null;
|
|
19285
19285
|
var o = this.props, i = o.children, s = TO(o, ["children"]);
|
|
19286
19286
|
if (delete s.in, delete s.mountOnEnter, delete s.unmountOnExit, delete s.appear, delete s.enter, delete s.exit, delete s.timeout, delete s.addEndListener, delete s.onEnter, delete s.onEntering, delete s.onEntered, delete s.onExit, delete s.onExiting, delete s.onExited, typeof i == "function")
|
|
@@ -20066,7 +20066,7 @@ var tm = function(t, n) {
|
|
|
20066
20066
|
/* : string */
|
|
20067
20067
|
qO(tm(t, n))
|
|
20068
20068
|
);
|
|
20069
|
-
},
|
|
20069
|
+
}, us = function(t, n) {
|
|
20070
20070
|
return (
|
|
20071
20071
|
/* string */
|
|
20072
20072
|
KD(t).toString(36)
|
|
@@ -20074,7 +20074,7 @@ var tm = function(t, n) {
|
|
|
20074
20074
|
}, KO = function(t) {
|
|
20075
20075
|
return (
|
|
20076
20076
|
/* : string */
|
|
20077
|
-
|
|
20077
|
+
us(JSON.stringify(t))
|
|
20078
20078
|
);
|
|
20079
20079
|
}, qO = function(t) {
|
|
20080
20080
|
return (
|
|
@@ -20669,7 +20669,7 @@ var NL = zt(function(e, t) {
|
|
|
20669
20669
|
return l.indexOf("Moz") > -1 ? C : (I["Webkit" + (0, A.default)(l)] = d, I["Moz" + (0, A.default)(l)] = C, f);
|
|
20670
20670
|
}
|
|
20671
20671
|
}
|
|
20672
|
-
}), FL = Yt(NL), Oe = ["Webkit"], Lu = ["Moz"], Ls = ["ms"], Nn = ["Webkit", "Moz"], Bn = ["Webkit", "ms"],
|
|
20672
|
+
}), FL = Yt(NL), Oe = ["Webkit"], Lu = ["Moz"], Ls = ["ms"], Nn = ["Webkit", "Moz"], Bn = ["Webkit", "ms"], ca = ["Webkit", "Moz", "ms"], PL = {
|
|
20673
20673
|
plugins: [nL, AL, iL, sL, lL, gL, CL, IL, BL, pL, mL, bL, xL, TL, FL],
|
|
20674
20674
|
prefixMap: {
|
|
20675
20675
|
transform: Bn,
|
|
@@ -20691,7 +20691,7 @@ var NL = zt(function(e, t) {
|
|
|
20691
20691
|
animationPlayState: Oe,
|
|
20692
20692
|
animationTimingFunction: Oe,
|
|
20693
20693
|
appearance: Nn,
|
|
20694
|
-
userSelect:
|
|
20694
|
+
userSelect: ca,
|
|
20695
20695
|
fontKerning: Oe,
|
|
20696
20696
|
textEmphasisPosition: Oe,
|
|
20697
20697
|
textEmphasis: Oe,
|
|
@@ -20722,9 +20722,9 @@ var NL = zt(function(e, t) {
|
|
|
20722
20722
|
textDecorationColor: Nn,
|
|
20723
20723
|
filter: Oe,
|
|
20724
20724
|
fontFeatureSettings: Nn,
|
|
20725
|
-
breakAfter:
|
|
20726
|
-
breakBefore:
|
|
20727
|
-
breakInside:
|
|
20725
|
+
breakAfter: ca,
|
|
20726
|
+
breakBefore: ca,
|
|
20727
|
+
breakInside: ca,
|
|
20728
20728
|
columnCount: Nn,
|
|
20729
20729
|
columnFill: Nn,
|
|
20730
20730
|
columnGap: Nn,
|
|
@@ -20761,7 +20761,7 @@ var NL = zt(function(e, t) {
|
|
|
20761
20761
|
shapeImageThreshold: Oe,
|
|
20762
20762
|
shapeImageMargin: Oe,
|
|
20763
20763
|
shapeImageOutside: Oe,
|
|
20764
|
-
hyphens:
|
|
20764
|
+
hyphens: ca,
|
|
20765
20765
|
flowInto: Bn,
|
|
20766
20766
|
flowFrom: Bn,
|
|
20767
20767
|
regionFragment: Bn,
|
|
@@ -20916,7 +20916,7 @@ var NL = zt(function(e, t) {
|
|
|
20916
20916
|
} else
|
|
20917
20917
|
return t;
|
|
20918
20918
|
}
|
|
20919
|
-
}, Uo = {},
|
|
20919
|
+
}, Uo = {}, Ya = [], _i = !1, am = function(t, n) {
|
|
20920
20920
|
var r;
|
|
20921
20921
|
if (!Uo[t]) {
|
|
20922
20922
|
if (!_i) {
|
|
@@ -20924,7 +20924,7 @@ var NL = zt(function(e, t) {
|
|
|
20924
20924
|
throw new Error("Cannot automatically buffer without a document");
|
|
20925
20925
|
_i = !0, nO(um);
|
|
20926
20926
|
}
|
|
20927
|
-
(r =
|
|
20927
|
+
(r = Ya).push.apply(r, em(n)), Uo[t] = !0;
|
|
20928
20928
|
}
|
|
20929
20929
|
}, sm = function(t, n, r, A) {
|
|
20930
20930
|
var o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : [];
|
|
@@ -20933,19 +20933,19 @@ var NL = zt(function(e, t) {
|
|
|
20933
20933
|
am(t, i);
|
|
20934
20934
|
}
|
|
20935
20935
|
}, Zc = function() {
|
|
20936
|
-
|
|
20936
|
+
Ya = [], Uo = {}, _i = !1, Qr = null;
|
|
20937
20937
|
}, VL = function(t) {
|
|
20938
20938
|
delete Uo[t];
|
|
20939
20939
|
}, HL = function() {
|
|
20940
|
-
return
|
|
20940
|
+
return Ya;
|
|
20941
20941
|
}, cm = function() {
|
|
20942
20942
|
if (_i)
|
|
20943
20943
|
throw new Error("Cannot buffer while already buffering");
|
|
20944
20944
|
_i = !0;
|
|
20945
20945
|
}, lm = function() {
|
|
20946
20946
|
_i = !1;
|
|
20947
|
-
var t =
|
|
20948
|
-
return
|
|
20947
|
+
var t = Ya;
|
|
20948
|
+
return Ya = [], t;
|
|
20949
20949
|
}, WL = function() {
|
|
20950
20950
|
return lm().join("");
|
|
20951
20951
|
}, um = function() {
|
|
@@ -20974,11 +20974,11 @@ var NL = zt(function(e, t) {
|
|
|
20974
20974
|
if (A.length === 0)
|
|
20975
20975
|
return "";
|
|
20976
20976
|
var s;
|
|
20977
|
-
return process.env.NODE_ENV === "production" ? s = A.length === 1 ? "_".concat(A[0]) : "_".concat(
|
|
20977
|
+
return process.env.NODE_ENV === "production" ? s = A.length === 1 ? "_".concat(A[0]) : "_".concat(us(A.join())).concat((i % 36).toString(36)) : s = A.join("-o_O-"), sm(s, ".".concat(s), o, t, r), s;
|
|
20978
20978
|
}, gm = function(t, n) {
|
|
20979
|
-
return "".concat(n, "_").concat(
|
|
20979
|
+
return "".concat(n, "_").concat(us(t));
|
|
20980
20980
|
}, KL = function() {
|
|
20981
|
-
return process.env.NODE_ENV === "production" ?
|
|
20981
|
+
return process.env.NODE_ENV === "production" ? us : gm;
|
|
20982
20982
|
}, dm = KL(), qL = {
|
|
20983
20983
|
create: function(t) {
|
|
20984
20984
|
for (var n = {}, r = Object.keys(t), A = 0; A < r.length; A += 1) {
|
|
@@ -21069,7 +21069,7 @@ function Cm(e) {
|
|
|
21069
21069
|
StyleSheetServer: ZL,
|
|
21070
21070
|
StyleSheetTestUtils: $L,
|
|
21071
21071
|
minify: function(r) {
|
|
21072
|
-
dm = r ?
|
|
21072
|
+
dm = r ? us : gm;
|
|
21073
21073
|
},
|
|
21074
21074
|
css: function() {
|
|
21075
21075
|
for (var r = arguments.length, A = new Array(r), o = 0; o < r; o++)
|
|
@@ -22512,7 +22512,7 @@ const q5 = {
|
|
|
22512
22512
|
`, BN = () => {
|
|
22513
22513
|
const { availableFeatures: e, sendTrackingEvent: t } = Ye(In), n = mn(), r = ut(Dl), A = ut(Od), o = ut(Kd), i = ut(lp), s = co(), { id: a = "" } = so(), [c] = Yo(), l = c.get("isEdit") === "true", g = (r == null ? void 0 : r[a]) || null, I = (A == null ? void 0 : A[a]) || null;
|
|
22514
22514
|
me(() => {
|
|
22515
|
-
s(l ?
|
|
22515
|
+
s(l ? ya(a) : ba(a));
|
|
22516
22516
|
}, [l, s, a]);
|
|
22517
22517
|
const p = (B) => {
|
|
22518
22518
|
B == null || B.stopPropagation(), t(Ct.CONNECTOR_BACK_CLICKED, { connector_name: f == null ? void 0 : f.name }), n(ct.BASEPATH);
|
|
@@ -22885,7 +22885,7 @@ function rd(e, t) {
|
|
|
22885
22885
|
function wn(e, t) {
|
|
22886
22886
|
return e.charCodeAt(t) | 0;
|
|
22887
22887
|
}
|
|
22888
|
-
function
|
|
22888
|
+
function za(e, t, n) {
|
|
22889
22889
|
return e.slice(t, n);
|
|
22890
22890
|
}
|
|
22891
22891
|
function Kr(e) {
|
|
@@ -22904,7 +22904,7 @@ var Vl = 1, Di = 1, Mm = 0, tr = 0, sn = 0, Xi = "";
|
|
|
22904
22904
|
function Hl(e, t, n, r, A, o, i) {
|
|
22905
22905
|
return { value: e, root: t, parent: n, type: r, props: A, children: o, line: Vl, column: Di, length: i, return: "" };
|
|
22906
22906
|
}
|
|
22907
|
-
function
|
|
22907
|
+
function la(e, t) {
|
|
22908
22908
|
return A9(Hl("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
22909
22909
|
}
|
|
22910
22910
|
function s9() {
|
|
@@ -22922,10 +22922,10 @@ function AA() {
|
|
|
22922
22922
|
function gc() {
|
|
22923
22923
|
return tr;
|
|
22924
22924
|
}
|
|
22925
|
-
function
|
|
22926
|
-
return
|
|
22925
|
+
function gs(e, t) {
|
|
22926
|
+
return za(Xi, e, t);
|
|
22927
22927
|
}
|
|
22928
|
-
function
|
|
22928
|
+
function Ja(e) {
|
|
22929
22929
|
switch (e) {
|
|
22930
22930
|
case 0:
|
|
22931
22931
|
case 9:
|
|
@@ -22964,17 +22964,17 @@ function Um(e) {
|
|
|
22964
22964
|
return Xi = "", e;
|
|
22965
22965
|
}
|
|
22966
22966
|
function dc(e) {
|
|
22967
|
-
return km(
|
|
22967
|
+
return km(gs(tr - 1, Ad(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
22968
22968
|
}
|
|
22969
22969
|
function l9(e) {
|
|
22970
22970
|
for (; (sn = AA()) && sn < 33; )
|
|
22971
22971
|
Cr();
|
|
22972
|
-
return
|
|
22972
|
+
return Ja(e) > 2 || Ja(sn) > 3 ? "" : " ";
|
|
22973
22973
|
}
|
|
22974
22974
|
function u9(e, t) {
|
|
22975
22975
|
for (; --t && Cr() && !(sn < 48 || sn > 102 || sn > 57 && sn < 65 || sn > 70 && sn < 97); )
|
|
22976
22976
|
;
|
|
22977
|
-
return
|
|
22977
|
+
return gs(e, gc() + (t < 6 && AA() == 32 && Cr() == 32));
|
|
22978
22978
|
}
|
|
22979
22979
|
function Ad(e) {
|
|
22980
22980
|
for (; Cr(); )
|
|
@@ -22998,12 +22998,12 @@ function g9(e, t) {
|
|
|
22998
22998
|
for (; Cr() && e + sn !== 57; )
|
|
22999
22999
|
if (e + sn === 84 && AA() === 47)
|
|
23000
23000
|
break;
|
|
23001
|
-
return "/*" +
|
|
23001
|
+
return "/*" + gs(t, tr - 1) + "*" + Gl(e === 47 ? e : Cr());
|
|
23002
23002
|
}
|
|
23003
23003
|
function d9(e) {
|
|
23004
|
-
for (; !
|
|
23004
|
+
for (; !Ja(AA()); )
|
|
23005
23005
|
Cr();
|
|
23006
|
-
return
|
|
23006
|
+
return gs(e, tr);
|
|
23007
23007
|
}
|
|
23008
23008
|
function C9(e) {
|
|
23009
23009
|
return Um(Cc("", null, null, null, [""], e = jm(e), 0, [0], e));
|
|
@@ -23099,15 +23099,15 @@ function Cc(e, t, n, r, A, o, i, s, a) {
|
|
|
23099
23099
|
}
|
|
23100
23100
|
function df(e, t, n, r, A, o, i, s, a, c, l) {
|
|
23101
23101
|
for (var g = A - 1, I = A === 0 ? o : [""], p = bC(I), f = 0, d = 0, C = 0; f < r; ++f)
|
|
23102
|
-
for (var E = 0, B =
|
|
23102
|
+
for (var E = 0, B = za(e, g + 1, g = r9(d = i[f])), h = e; E < p; ++E)
|
|
23103
23103
|
(h = km(d > 0 ? I[E] + " " + B : pt(B, /&\f/g, I[E]))) && (a[C++] = h);
|
|
23104
23104
|
return Hl(e, t, n, A === 0 ? mC : s, a, c, l);
|
|
23105
23105
|
}
|
|
23106
23106
|
function E9(e, t, n) {
|
|
23107
|
-
return Hl(e, t, n, Fm, Gl(s9()),
|
|
23107
|
+
return Hl(e, t, n, Fm, Gl(s9()), za(e, 2, -2), 0);
|
|
23108
23108
|
}
|
|
23109
23109
|
function Cf(e, t, n, r) {
|
|
23110
|
-
return Hl(e, t, n, vC,
|
|
23110
|
+
return Hl(e, t, n, vC, za(e, 0, r), za(e, r + 1, -1), r);
|
|
23111
23111
|
}
|
|
23112
23112
|
function li(e, t) {
|
|
23113
23113
|
for (var n = "", r = bC(e), A = 0; A < r; A++)
|
|
@@ -23150,13 +23150,13 @@ function h9(e) {
|
|
|
23150
23150
|
};
|
|
23151
23151
|
}
|
|
23152
23152
|
var p9 = function(t, n, r) {
|
|
23153
|
-
for (var A = 0, o = 0; A = o, o = AA(), A === 38 && o === 12 && (n[r] = 1), !
|
|
23153
|
+
for (var A = 0, o = 0; A = o, o = AA(), A === 38 && o === 12 && (n[r] = 1), !Ja(o); )
|
|
23154
23154
|
Cr();
|
|
23155
|
-
return
|
|
23155
|
+
return gs(t, tr);
|
|
23156
23156
|
}, Q9 = function(t, n) {
|
|
23157
23157
|
var r = -1, A = 44;
|
|
23158
23158
|
do
|
|
23159
|
-
switch (
|
|
23159
|
+
switch (Ja(A)) {
|
|
23160
23160
|
case 0:
|
|
23161
23161
|
A === 38 && AA() === 12 && (n[r] = 1), t[r] += p9(tr - 1, n, r);
|
|
23162
23162
|
break;
|
|
@@ -23313,7 +23313,7 @@ var y9 = function(t, n, r, A) {
|
|
|
23313
23313
|
t.return = Gm(t.value, t.length);
|
|
23314
23314
|
break;
|
|
23315
23315
|
case Pm:
|
|
23316
|
-
return li([
|
|
23316
|
+
return li([la(t, {
|
|
23317
23317
|
value: pt(t.value, "@", "@" + ht)
|
|
23318
23318
|
})], A);
|
|
23319
23319
|
case mC:
|
|
@@ -23321,15 +23321,15 @@ var y9 = function(t, n, r, A) {
|
|
|
23321
23321
|
switch (i9(o, /(::plac\w+|:read-\w+)/)) {
|
|
23322
23322
|
case ":read-only":
|
|
23323
23323
|
case ":read-write":
|
|
23324
|
-
return li([
|
|
23324
|
+
return li([la(t, {
|
|
23325
23325
|
props: [pt(o, /:(read-\w+)/, ":" + el + "$1")]
|
|
23326
23326
|
})], A);
|
|
23327
23327
|
case "::placeholder":
|
|
23328
|
-
return li([
|
|
23328
|
+
return li([la(t, {
|
|
23329
23329
|
props: [pt(o, /:(plac\w+)/, ":" + ht + "input-$1")]
|
|
23330
|
-
}),
|
|
23330
|
+
}), la(t, {
|
|
23331
23331
|
props: [pt(o, /:(plac\w+)/, ":" + el + "$1")]
|
|
23332
|
-
}),
|
|
23332
|
+
}), la(t, {
|
|
23333
23333
|
props: [pt(o, /:(plac\w+)/, Fn + "input-$1")]
|
|
23334
23334
|
})], A);
|
|
23335
23335
|
}
|
|
@@ -23685,7 +23685,7 @@ var P9 = {
|
|
|
23685
23685
|
}
|
|
23686
23686
|
return P9[t] !== 1 && !Ym(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
23687
23687
|
}, U9 = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
23688
|
-
function
|
|
23688
|
+
function Xa(e, t, n) {
|
|
23689
23689
|
if (n == null)
|
|
23690
23690
|
return "";
|
|
23691
23691
|
var r = n;
|
|
@@ -23720,7 +23720,7 @@ function Ja(e, t, n) {
|
|
|
23720
23720
|
case "function": {
|
|
23721
23721
|
if (e !== void 0) {
|
|
23722
23722
|
var a = qr, c = n(e);
|
|
23723
|
-
return qr = a,
|
|
23723
|
+
return qr = a, Xa(e, t, c);
|
|
23724
23724
|
}
|
|
23725
23725
|
break;
|
|
23726
23726
|
}
|
|
@@ -23732,7 +23732,7 @@ function G9(e, t, n) {
|
|
|
23732
23732
|
var r = "";
|
|
23733
23733
|
if (Array.isArray(n))
|
|
23734
23734
|
for (var A = 0; A < n.length; A++)
|
|
23735
|
-
r +=
|
|
23735
|
+
r += Xa(e, t, n[A]) + ";";
|
|
23736
23736
|
else
|
|
23737
23737
|
for (var o in n) {
|
|
23738
23738
|
var i = n[o];
|
|
@@ -23746,7 +23746,7 @@ function G9(e, t, n) {
|
|
|
23746
23746
|
for (var a = 0; a < i.length; a++)
|
|
23747
23747
|
Bf(i[a]) && (r += Mu(o) + ":" + hf(o, i[a]) + ";");
|
|
23748
23748
|
else {
|
|
23749
|
-
var c =
|
|
23749
|
+
var c = Xa(e, t, i);
|
|
23750
23750
|
switch (o) {
|
|
23751
23751
|
case "animation":
|
|
23752
23752
|
case "animationName": {
|
|
@@ -23769,13 +23769,13 @@ function zm(e, t, n) {
|
|
|
23769
23769
|
qr = void 0;
|
|
23770
23770
|
var o = e[0];
|
|
23771
23771
|
if (o == null || o.raw === void 0)
|
|
23772
|
-
r = !1, A +=
|
|
23772
|
+
r = !1, A += Xa(n, t, o);
|
|
23773
23773
|
else {
|
|
23774
23774
|
var i = o;
|
|
23775
23775
|
A += i[0];
|
|
23776
23776
|
}
|
|
23777
23777
|
for (var s = 1; s < e.length; s++)
|
|
23778
|
-
if (A +=
|
|
23778
|
+
if (A += Xa(n, t, e[s]), r) {
|
|
23779
23779
|
var a = o;
|
|
23780
23780
|
A += a[s];
|
|
23781
23781
|
}
|
|
@@ -24894,7 +24894,7 @@ var _P = function(t) {
|
|
|
24894
24894
|
"single-value": !0,
|
|
24895
24895
|
"single-value--is-disabled": r
|
|
24896
24896
|
}), A), n);
|
|
24897
|
-
}, jP = MP,
|
|
24897
|
+
}, jP = MP, ds = {
|
|
24898
24898
|
ClearIndicator: rP,
|
|
24899
24899
|
Control: uP,
|
|
24900
24900
|
DropdownIndicator: tP,
|
|
@@ -24921,7 +24921,7 @@ var _P = function(t) {
|
|
|
24921
24921
|
SingleValue: jP,
|
|
24922
24922
|
ValueContainer: zF
|
|
24923
24923
|
}, UP = function(t) {
|
|
24924
|
-
return Fe(Fe({},
|
|
24924
|
+
return Fe(Fe({}, ds), t.components);
|
|
24925
24925
|
}, Tf = Number.isNaN || function(t) {
|
|
24926
24926
|
return typeof t == "number" && t !== t;
|
|
24927
24927
|
};
|
|
@@ -25459,7 +25459,7 @@ function Nf() {
|
|
|
25459
25459
|
function Ff() {
|
|
25460
25460
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
25461
25461
|
}
|
|
25462
|
-
var Pf = !!(typeof window < "u" && window.document && window.document.createElement),
|
|
25462
|
+
var Pf = !!(typeof window < "u" && window.document && window.document.createElement), ua = 0, $o = {
|
|
25463
25463
|
capture: !1,
|
|
25464
25464
|
passive: !1
|
|
25465
25465
|
};
|
|
@@ -25470,19 +25470,19 @@ function o6(e) {
|
|
|
25470
25470
|
if (r && Rf.forEach(function(f) {
|
|
25471
25471
|
var d = l && l[f];
|
|
25472
25472
|
A.current[f] = d;
|
|
25473
|
-
}), r &&
|
|
25473
|
+
}), r && ua < 1) {
|
|
25474
25474
|
var g = parseInt(A.current.paddingRight, 10) || 0, I = document.body ? document.body.clientWidth : 0, p = window.innerWidth - I + g || 0;
|
|
25475
25475
|
Object.keys(Df).forEach(function(f) {
|
|
25476
25476
|
var d = Df[f];
|
|
25477
25477
|
l && (l[f] = d);
|
|
25478
25478
|
}), l && (l.paddingRight = "".concat(p, "px"));
|
|
25479
25479
|
}
|
|
25480
|
-
c && Ff() && (c.addEventListener("touchmove", Of, $o), a && (a.addEventListener("touchstart", Nf, $o), a.addEventListener("touchmove", Lf, $o))),
|
|
25480
|
+
c && Ff() && (c.addEventListener("touchmove", Of, $o), a && (a.addEventListener("touchstart", Nf, $o), a.addEventListener("touchmove", Lf, $o))), ua += 1;
|
|
25481
25481
|
}
|
|
25482
25482
|
}, [r]), s = At(function(a) {
|
|
25483
25483
|
if (Pf) {
|
|
25484
25484
|
var c = document.body, l = c && c.style;
|
|
25485
|
-
|
|
25485
|
+
ua = Math.max(ua - 1, 0), r && ua < 1 && Rf.forEach(function(g) {
|
|
25486
25486
|
var I = A.current[g];
|
|
25487
25487
|
l && (l[g] = I);
|
|
25488
25488
|
}), c && Ff() && (c.removeEventListener("touchmove", Of, $o), a && (a.removeEventListener("touchstart", Nf, $o), a.removeEventListener("touchmove", Lf, $o)));
|
|
@@ -26712,7 +26712,7 @@ const N6 = T(ye)`
|
|
|
26712
26712
|
`;
|
|
26713
26713
|
function Q0(e) {
|
|
26714
26714
|
const { data: t } = e;
|
|
26715
|
-
return /* @__PURE__ */ u.jsx(
|
|
26715
|
+
return /* @__PURE__ */ u.jsx(ds.Option, { ...e, children: /* @__PURE__ */ u.jsxs(N6, { children: [
|
|
26716
26716
|
t.avatarUrl ? /* @__PURE__ */ u.jsx(F6, { className: "selectField__avatar", src: t.avatarUrl, alt: `${e.label}'s avatar` }) : null,
|
|
26717
26717
|
/* @__PURE__ */ u.jsx("span", { children: e.children })
|
|
26718
26718
|
] }) });
|
|
@@ -26742,7 +26742,7 @@ const P6 = T(ye)`
|
|
|
26742
26742
|
&:after {
|
|
26743
26743
|
transform: rotate(-45deg);
|
|
26744
26744
|
}
|
|
26745
|
-
`, m0 = (e) => /* @__PURE__ */ u.jsx(
|
|
26745
|
+
`, m0 = (e) => /* @__PURE__ */ u.jsx(ds.ClearIndicator, { ...e, children: /* @__PURE__ */ u.jsx(P6, {}) }), k6 = T(G)`
|
|
26746
26746
|
width: 0;
|
|
26747
26747
|
height: 0;
|
|
26748
26748
|
`, M6 = ({ root: e, rootMargin: t, callback: n }) => {
|
|
@@ -26766,7 +26766,7 @@ const P6 = T(ye)`
|
|
|
26766
26766
|
[e, t, n]
|
|
26767
26767
|
);
|
|
26768
26768
|
return /* @__PURE__ */ u.jsx(k6, { ref: A });
|
|
26769
|
-
}, j6 = (e) => /* @__PURE__ */ u.jsx(
|
|
26769
|
+
}, j6 = (e) => /* @__PURE__ */ u.jsx(ds.DropdownIndicator, { ...e, children: /* @__PURE__ */ u.jsx(Ho, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ u.jsx(Nt.ArrowDropUp, {}) : /* @__PURE__ */ u.jsx(Nt.ArrowDropDown, {}) }) }), v0 = () => ({
|
|
26770
26770
|
ClearIndicator: m0,
|
|
26771
26771
|
DropdownIndicator: j6,
|
|
26772
26772
|
IndicatorSeparator: () => null,
|
|
@@ -26981,7 +26981,7 @@ var z6 = /* @__PURE__ */ dd(function(e, t) {
|
|
|
26981
26981
|
}, r));
|
|
26982
26982
|
}), J6 = z6;
|
|
26983
26983
|
function X6(e) {
|
|
26984
|
-
return /* @__PURE__ */ u.jsx(
|
|
26984
|
+
return /* @__PURE__ */ u.jsx(ds.DropdownIndicator, { ...e, children: /* @__PURE__ */ u.jsx(Ho, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ u.jsx(Nt.ArrowDropUp, {}) : /* @__PURE__ */ u.jsx(Nt.ArrowDropDown, {}) }) });
|
|
26985
26985
|
}
|
|
26986
26986
|
function K6(e) {
|
|
26987
26987
|
const [t, n] = ue([]), [r, A] = ue(""), [o, i] = ue(!1), { loadOptions: s, isApiSearchEnabled: a = !1, isInfiniteScrollable: c = !1, loadOptionsOnFocus: l = !1 } = e, g = (E, B) => {
|
|
@@ -27329,7 +27329,7 @@ const r8 = T(UB)`
|
|
|
27329
27329
|
}, a8 = () => /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
27330
27330
|
/* @__PURE__ */ u.jsx(Lr, { variant: "rounded", width: 180, height: 24, animation: "wave", margin: "12px 0px 10px 0px" }),
|
|
27331
27331
|
/* @__PURE__ */ u.jsx(Lr, { variant: "rounded", width: 450, height: 40, animation: "wave" })
|
|
27332
|
-
] }),
|
|
27332
|
+
] }), Cs = "Oauth2", w0 = "ApiKey", Es = "BasicAuth";
|
|
27333
27333
|
function s8(e, t) {
|
|
27334
27334
|
return e in t;
|
|
27335
27335
|
}
|
|
@@ -27362,10 +27362,10 @@ const Hf = (e) => !C8.includes(e.id), T0 = (e, t, n) => {
|
|
|
27362
27362
|
return;
|
|
27363
27363
|
let a;
|
|
27364
27364
|
switch (o.authType) {
|
|
27365
|
-
case
|
|
27365
|
+
case Cs:
|
|
27366
27366
|
a = LC[i], a !== vA.authType && a !== void 0 && (o[a] = s);
|
|
27367
27367
|
break;
|
|
27368
|
-
case
|
|
27368
|
+
case Es:
|
|
27369
27369
|
a = FC[i], a !== vA.authType && a !== void 0 && (o[a] = s);
|
|
27370
27370
|
break;
|
|
27371
27371
|
default:
|
|
@@ -27379,7 +27379,7 @@ function u8(e) {
|
|
|
27379
27379
|
if (s8(r, n)) {
|
|
27380
27380
|
const A = n[r];
|
|
27381
27381
|
let o;
|
|
27382
|
-
if (e.authType ===
|
|
27382
|
+
if (e.authType === Cs) {
|
|
27383
27383
|
const i = e[A];
|
|
27384
27384
|
Array.isArray(i) ? o = i.join(", ") : o = i;
|
|
27385
27385
|
} else
|
|
@@ -27394,7 +27394,7 @@ const g8 = (e, t) => {
|
|
|
27394
27394
|
return e.forEach((r) => {
|
|
27395
27395
|
n[r.name] = t[r.name];
|
|
27396
27396
|
}), n;
|
|
27397
|
-
},
|
|
27397
|
+
}, ga = (e) => {
|
|
27398
27398
|
if (e && typeof e == "string") {
|
|
27399
27399
|
const t = e.replace(/\/$/, "");
|
|
27400
27400
|
return t.startsWith("https://") ? e.endsWith("/") ? SN : /^https:\/\/([a-z0-9-]+(\.[a-z0-9-]+)+)(:[0-9]{1,5})?(\/[^\s/]*)*$/i.test(t) ? !0 : wN : TN;
|
|
@@ -27405,18 +27405,18 @@ const g8 = (e, t) => {
|
|
|
27405
27405
|
return Object.fromEntries(t);
|
|
27406
27406
|
}, S0 = (e) => {
|
|
27407
27407
|
switch (e) {
|
|
27408
|
-
case ds:
|
|
27409
|
-
return LC;
|
|
27410
27408
|
case Cs:
|
|
27409
|
+
return LC;
|
|
27410
|
+
case Es:
|
|
27411
27411
|
return FC;
|
|
27412
27412
|
default:
|
|
27413
27413
|
return NC;
|
|
27414
27414
|
}
|
|
27415
27415
|
}, Wf = (e) => {
|
|
27416
27416
|
switch (e) {
|
|
27417
|
-
case ds:
|
|
27418
|
-
return I8;
|
|
27419
27417
|
case Cs:
|
|
27418
|
+
return I8;
|
|
27419
|
+
case Es:
|
|
27420
27420
|
return B8;
|
|
27421
27421
|
default:
|
|
27422
27422
|
return f8;
|
|
@@ -27461,15 +27461,15 @@ const g8 = (e, t) => {
|
|
|
27461
27461
|
...ti
|
|
27462
27462
|
}, ZA = {
|
|
27463
27463
|
apiToken: { label: "API Token", value: w0 },
|
|
27464
|
-
oAuth: { label: "OAuth2.0", value:
|
|
27465
|
-
basicAuth: { label: "Basic Auth", value:
|
|
27464
|
+
oAuth: { label: "OAuth2.0", value: Cs },
|
|
27465
|
+
basicAuth: { label: "Basic Auth", value: Es }
|
|
27466
27466
|
}, zl = {
|
|
27467
27467
|
header: { label: "Header", value: "header" },
|
|
27468
27468
|
queryParam: { label: "Query Param", value: "queryParam" }
|
|
27469
27469
|
}, C8 = ["basicForm"], E8 = {
|
|
27470
27470
|
id: "basicForm",
|
|
27471
27471
|
formFields: []
|
|
27472
|
-
},
|
|
27472
|
+
}, da = {
|
|
27473
27473
|
id: "dynamicAuthForm",
|
|
27474
27474
|
formFields: []
|
|
27475
27475
|
}, Us = [
|
|
@@ -27660,7 +27660,7 @@ const g8 = (e, t) => {
|
|
|
27660
27660
|
], Kf = {
|
|
27661
27661
|
[Le.baseUrl]: {
|
|
27662
27662
|
isRequired: !0,
|
|
27663
|
-
validate:
|
|
27663
|
+
validate: ga
|
|
27664
27664
|
},
|
|
27665
27665
|
[Le.authType]: {
|
|
27666
27666
|
isRequired: !0
|
|
@@ -27700,19 +27700,19 @@ const g8 = (e, t) => {
|
|
|
27700
27700
|
},
|
|
27701
27701
|
[Le.oAuthEndUrl]: {
|
|
27702
27702
|
isRequired: !0,
|
|
27703
|
-
validate:
|
|
27703
|
+
validate: ga
|
|
27704
27704
|
},
|
|
27705
27705
|
[Le.oAuthTokenUrl]: {
|
|
27706
27706
|
isRequired: !0,
|
|
27707
|
-
validate:
|
|
27707
|
+
validate: ga
|
|
27708
27708
|
},
|
|
27709
27709
|
[Le.oAuthRefreshTokenUrl]: {
|
|
27710
27710
|
isRequired: !0,
|
|
27711
|
-
validate:
|
|
27711
|
+
validate: ga
|
|
27712
27712
|
},
|
|
27713
27713
|
[Le.oAuthRedirectUrl]: {
|
|
27714
27714
|
isRequired: !0,
|
|
27715
|
-
validate:
|
|
27715
|
+
validate: ga
|
|
27716
27716
|
},
|
|
27717
27717
|
[Le.oAuthHeaderName]: {
|
|
27718
27718
|
isRequired: !0
|
|
@@ -27924,11 +27924,11 @@ const g8 = (e, t) => {
|
|
|
27924
27924
|
if (d)
|
|
27925
27925
|
if (E) {
|
|
27926
27926
|
const { advanced: M, basic: z } = T0(d, C);
|
|
27927
|
-
|
|
27927
|
+
da.formFields = M, te.formFields = z;
|
|
27928
27928
|
} else
|
|
27929
|
-
|
|
27929
|
+
da.formFields = [...d];
|
|
27930
27930
|
let ce = [];
|
|
27931
|
-
|
|
27931
|
+
da.formFields && da.formFields.length && (ce = [da]);
|
|
27932
27932
|
const O = a.values.authType;
|
|
27933
27933
|
if (E) {
|
|
27934
27934
|
const M = typeof O == "object" ? O.value : void 0, z = [...Us];
|
|
@@ -28157,7 +28157,7 @@ const G8 = T(G)`
|
|
|
28157
28157
|
ON
|
|
28158
28158
|
] }) : null
|
|
28159
28159
|
] }), R0 = (e, t) => {
|
|
28160
|
-
const n = t.authType ===
|
|
28160
|
+
const n = t.authType === Es, r = t.authType === w0;
|
|
28161
28161
|
if (!e || !e.data)
|
|
28162
28162
|
return {
|
|
28163
28163
|
authUrl: "",
|
|
@@ -28243,7 +28243,7 @@ const G8 = T(G)`
|
|
|
28243
28243
|
var t;
|
|
28244
28244
|
try {
|
|
28245
28245
|
const n = await It({
|
|
28246
|
-
url:
|
|
28246
|
+
url: va(R2, { connectorId: e }),
|
|
28247
28247
|
method: rr.GET
|
|
28248
28248
|
});
|
|
28249
28249
|
return !n || !((t = n == null ? void 0 : n.data) != null && t.status) ? {
|
|
@@ -28284,7 +28284,7 @@ const G8 = T(G)`
|
|
|
28284
28284
|
},
|
|
28285
28285
|
[w]
|
|
28286
28286
|
), me(() => {
|
|
28287
|
-
w(I ?
|
|
28287
|
+
w(I ? ya(l) : ba(l));
|
|
28288
28288
|
}, [I, w, l]), me(() => {
|
|
28289
28289
|
let Y, V;
|
|
28290
28290
|
const P = (le) => {
|
|
@@ -28313,7 +28313,7 @@ const G8 = T(G)`
|
|
|
28313
28313
|
}, [b, h, E]), me(() => {
|
|
28314
28314
|
switch ((y === _t.OAUTH_SUCCESS || y === _t.OAUTH_FAILED || y === _t.API_KEY_SUCCESS || y === _t.API_KEY_FAILED || y === _t.BASIC_AUTH_SUCCESS || y === _t.BASIC_AUTH_FAILED) && c(ct.BASEPATH), y) {
|
|
28315
28315
|
case _t.OAUTH_SUCCESS: {
|
|
28316
|
-
br({ message: C ? Pu : sf, type:
|
|
28316
|
+
br({ message: C ? Pu : sf, type: xa }), e(Ct.CONNECTOR_AUTH_SUCCESS, {
|
|
28317
28317
|
connector_name: d == null ? void 0 : d.name
|
|
28318
28318
|
});
|
|
28319
28319
|
break;
|
|
@@ -28327,7 +28327,7 @@ const G8 = T(G)`
|
|
|
28327
28327
|
break;
|
|
28328
28328
|
}
|
|
28329
28329
|
case _t.API_KEY_SUCCESS: {
|
|
28330
|
-
br({ message: C ? Pu : xN, type:
|
|
28330
|
+
br({ message: C ? Pu : xN, type: xa }), e(Ct.CONNECTOR_AUTH_SUCCESS, {
|
|
28331
28331
|
connector_name: d == null ? void 0 : d.name
|
|
28332
28332
|
});
|
|
28333
28333
|
break;
|
|
@@ -28337,7 +28337,7 @@ const G8 = T(G)`
|
|
|
28337
28337
|
break;
|
|
28338
28338
|
}
|
|
28339
28339
|
case _t.BASIC_AUTH_SUCCESS: {
|
|
28340
|
-
br({ message: C ? Pu : sf, type:
|
|
28340
|
+
br({ message: C ? Pu : sf, type: xa }), e(Ct.CONNECTOR_AUTH_SUCCESS, {
|
|
28341
28341
|
connector_name: d == null ? void 0 : d.name
|
|
28342
28342
|
});
|
|
28343
28343
|
break;
|
|
@@ -29386,7 +29386,7 @@ const G8 = T(G)`
|
|
|
29386
29386
|
] })
|
|
29387
29387
|
}
|
|
29388
29388
|
) }) });
|
|
29389
|
-
}, vk = "rls-connectors-enabled", bk = "ftr-connectors-enabled", yk = "ftr-connector-blue-dot", xk = "ftr-connectors-admin-schedule-call", wk = "ftr-connectors-admin-guide-links", Tk = "ftr-connectors-enhancements", Sk = "ftr-connector-preview", _k = "ftr-connectors-oauth-flow-improvements", sl = "Apps", Rk = "On a higher plan", Dk = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.", Ok = "Upgrade", Lk = "Learn more", Nk = "Have any questions?", Fk = "Contact us", Pk = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", kk = "Hiver Chat Support", Mk = "Copy",
|
|
29389
|
+
}, vk = "rls-connectors-enabled", bk = "ftr-connectors-enabled", yk = "ftr-connector-blue-dot", xk = "ftr-connectors-admin-schedule-call", wk = "ftr-connectors-admin-guide-links", Tk = "ftr-connectors-enhancements", Sk = "ftr-connector-preview", _k = "ftr-connectors-oauth-flow-improvements", sl = "Apps", Rk = "On a higher plan", Dk = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.", Ok = "Upgrade", Lk = "Learn more", Nk = "Have any questions?", Fk = "Contact us", Pk = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", kk = "Hiver Chat Support", Mk = "Copy", Is = "hiver_connectors", jk = "enableAllConnectorFtr", Uk = "Authentication expired. Click to reconnect your app.", Gk = "New update available. Click to upgrade your app.", Vk = "Support ending soon. Switch to the new :connectorName app.", Hk = "Your app is inactive. Click to enable it.", Wk = "New upgrade is available for :connectorName. Re-authenticate to get access to all updates.", Yk = "Authentication failed for :connectorName. Re-authenticate to resolve the issue.", zk = ":connectorName is deprecated";
|
|
29390
29390
|
function O0(e, t) {
|
|
29391
29391
|
const n = {};
|
|
29392
29392
|
return e.forEach((r) => {
|
|
@@ -29405,7 +29405,7 @@ function Zf(e) {
|
|
|
29405
29405
|
});
|
|
29406
29406
|
}), t;
|
|
29407
29407
|
}
|
|
29408
|
-
const kr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[jk]) === !0 : (e == null ? void 0 : e[t]) === !0, Jk = (e) => kr(e, vk) && !kr(e, bk),
|
|
29408
|
+
const kr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[jk]) === !0 : (e == null ? void 0 : e[t]) === !0, Jk = (e) => kr(e, vk) && !kr(e, bk), Ka = (e) => kr(e, yk), N0 = (e) => kr(e, Tk), Xk = (e, t, n) => {
|
|
29409
29409
|
const r = "?email=&name=&referrer=", s = window.innerWidth - 388, a = window.open(
|
|
29410
29410
|
`${Pk}${r}`,
|
|
29411
29411
|
kk,
|
|
@@ -29431,7 +29431,7 @@ const kr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[jk])
|
|
|
29431
29431
|
}).catch(() => {
|
|
29432
29432
|
console.log("something went wrong while copying using navigator.clipboard function. Trying fallback copy"), Kk(e, t);
|
|
29433
29433
|
});
|
|
29434
|
-
}, Zk = (e) => ["sm.full"].some((n) => e.includes(n)), F0 = (e) => Object.keys(e).filter((t) => e[t]).join(" "), Gs = (e, t) => Array.from({ length: e }, (n, r) => t(r)),
|
|
29434
|
+
}, Zk = (e) => ["sm.full"].some((n) => e.includes(n)), F0 = (e) => Object.keys(e).filter((t) => e[t]).join(" "), Gs = (e, t) => Array.from({ length: e }, (n, r) => t(r)), Ki = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), P0 = ({
|
|
29435
29435
|
connector: e,
|
|
29436
29436
|
isTemplate: t = !1
|
|
29437
29437
|
}) => {
|
|
@@ -29473,13 +29473,13 @@ const kr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[jk])
|
|
|
29473
29473
|
t.templateListApiStatus = be.IDLE, t.connectorTemplateList = n.payload.connectorList, t.connectorTemplates = n.payload.connectors;
|
|
29474
29474
|
}).addCase(Ic.rejected, (t, n) => {
|
|
29475
29475
|
t.templateListApiStatus = be.FAILED, console.error(n.error);
|
|
29476
|
-
}).addCase(
|
|
29476
|
+
}).addCase(_a.pending, (t) => {
|
|
29477
29477
|
t.templateDetailsApiStatus = be.LOADING;
|
|
29478
|
-
}).addCase(
|
|
29478
|
+
}).addCase(_a.fulfilled, (t, n) => {
|
|
29479
29479
|
t.templateDetailsApiStatus = be.IDLE;
|
|
29480
29480
|
const { templateData: r, templateId: A } = n.payload;
|
|
29481
29481
|
r && A && (t.connectorTemplates = { ...t.connectorTemplates, [A]: r });
|
|
29482
|
-
}).addCase(
|
|
29482
|
+
}).addCase(_a.rejected, (t, n) => {
|
|
29483
29483
|
t.templateDetailsApiStatus = be.FAILED, console.error(n.error);
|
|
29484
29484
|
});
|
|
29485
29485
|
}
|
|
@@ -29495,7 +29495,7 @@ const kr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[jk])
|
|
|
29495
29495
|
connectors: n,
|
|
29496
29496
|
connectorList: r
|
|
29497
29497
|
};
|
|
29498
|
-
}),
|
|
29498
|
+
}), _a = Tt("connectorLibrary/fetchTemplateDetails", async (e) => {
|
|
29499
29499
|
const t = await rM(e);
|
|
29500
29500
|
return !t || !t.data ? {
|
|
29501
29501
|
templateId: e,
|
|
@@ -29540,20 +29540,20 @@ const kr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[jk])
|
|
|
29540
29540
|
method: Tn.PATCH,
|
|
29541
29541
|
data: t
|
|
29542
29542
|
}), QM = (e) => It({
|
|
29543
|
-
url:
|
|
29543
|
+
url: Ki(CM, { cardId: e }),
|
|
29544
29544
|
method: Tn.GET
|
|
29545
29545
|
}), mM = (e) => It({
|
|
29546
|
-
url:
|
|
29546
|
+
url: Ki(EM, { connectorId: e }),
|
|
29547
29547
|
method: Tn.GET
|
|
29548
29548
|
}), vM = ({ connectorId: e, data: t }) => It({
|
|
29549
|
-
url:
|
|
29549
|
+
url: Ki(IM, { connectorId: e }),
|
|
29550
29550
|
method: Tn.PATCH,
|
|
29551
29551
|
data: t
|
|
29552
29552
|
}), bM = ({
|
|
29553
29553
|
connectorId: e,
|
|
29554
29554
|
data: t
|
|
29555
29555
|
}) => It({
|
|
29556
|
-
url:
|
|
29556
|
+
url: Ki(lM, { connectorId: e }),
|
|
29557
29557
|
method: Tn.PATCH,
|
|
29558
29558
|
data: t
|
|
29559
29559
|
}), yM = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%3e%3cpath%20fill='%23ffffff'%20fill-rule='nonzero'%20d='M8.821%207.496L14.716%201.6A.937.937%200%201%200%2013.391.275L7.496%206.17%201.6.275A.937.937%200%201%200%20.275%201.601L6.17%207.496.275%2013.39A.937.937%200%201%200%201.6%2014.716L7.496%208.82l5.895%205.895a.935.935%200%200%200%201.325%200%20.937.937%200%200%200%200-1.326L8.821%207.496z'%20opacity='.8'/%3e%3c/svg%3e", xM = T(ye)`
|
|
@@ -29622,16 +29622,16 @@ function kn(e) {
|
|
|
29622
29622
|
function DM(e) {
|
|
29623
29623
|
st.dismiss(e);
|
|
29624
29624
|
}
|
|
29625
|
-
const
|
|
29625
|
+
const pa = {
|
|
29626
29626
|
ADMIN: "Admin",
|
|
29627
29627
|
MAILBOX_ADMIN: "Mailbox Admin",
|
|
29628
29628
|
SUPERVISOR: "Supervisor",
|
|
29629
29629
|
MEMBER: "Member"
|
|
29630
29630
|
}, OM = {
|
|
29631
|
-
[
|
|
29632
|
-
[
|
|
29633
|
-
[
|
|
29634
|
-
[
|
|
29631
|
+
[pa.ADMIN]: "Admin",
|
|
29632
|
+
[pa.MAILBOX_ADMIN]: "Mailbox Admin (and above)",
|
|
29633
|
+
[pa.SUPERVISOR]: "Supervisor (and above)",
|
|
29634
|
+
[pa.MEMBER]: "Everyone in the SM"
|
|
29635
29635
|
}, LM = aA({
|
|
29636
29636
|
name: "connectorLibrary",
|
|
29637
29637
|
initialState: sM,
|
|
@@ -29643,21 +29643,21 @@ const ha = {
|
|
|
29643
29643
|
t.connectorsApiStatus = be.IDLE, t.connectorList = n.payload.connectorList, t.connectors = n.payload.connectors, t.requireUpgradeConnectors = n.payload.requireUpgradeConnectors, t.notAuthenticatedConnectors = n.payload.notAuthenticatedConnectors;
|
|
29644
29644
|
}).addCase(hc.rejected, (t, n) => {
|
|
29645
29645
|
t.connectorsApiStatus = be.FAILED, console.error(n.error);
|
|
29646
|
-
}).addCase(
|
|
29646
|
+
}).addCase(Ra.pending, (t, n) => {
|
|
29647
29647
|
var A;
|
|
29648
29648
|
const { id: r } = ((A = n == null ? void 0 : n.meta) == null ? void 0 : A.arg) || {};
|
|
29649
29649
|
t.currentUpdatingConnectors = { ...t.currentUpdatingConnectors, [r]: be.LOADING };
|
|
29650
|
-
}).addCase(
|
|
29650
|
+
}).addCase(Ra.fulfilled, (t, n) => {
|
|
29651
29651
|
var o, i;
|
|
29652
29652
|
const { id: r = "", enabled: A } = ((o = n == null ? void 0 : n.meta) == null ? void 0 : o.arg) || {};
|
|
29653
29653
|
t.currentUpdatingConnectors[r] && (t.currentUpdatingConnectors[r] = be.IDLE), (i = t == null ? void 0 : t.connectors) != null && i[r] && (t.connectors[r].isEnabled = A);
|
|
29654
|
-
}).addCase(
|
|
29654
|
+
}).addCase(Ra.rejected, (t, n) => {
|
|
29655
29655
|
var A;
|
|
29656
29656
|
const { id: r } = ((A = n == null ? void 0 : n.meta) == null ? void 0 : A.arg) || {};
|
|
29657
29657
|
t.currentUpdatingConnectors = { ...t.currentUpdatingConnectors, [r]: be.FAILED }, console.error(n.error);
|
|
29658
|
-
}).addCase(
|
|
29658
|
+
}).addCase(Da.pending, (t) => {
|
|
29659
29659
|
t.connectorDetailApiStatus = be.LOADING;
|
|
29660
|
-
}).addCase(
|
|
29660
|
+
}).addCase(Da.fulfilled, (t, n) => {
|
|
29661
29661
|
var o;
|
|
29662
29662
|
t.connectorDetailApiStatus = be.IDLE;
|
|
29663
29663
|
const { connector: r, connectorId: A } = n.payload;
|
|
@@ -29668,7 +29668,7 @@ const ha = {
|
|
|
29668
29668
|
...r
|
|
29669
29669
|
}
|
|
29670
29670
|
});
|
|
29671
|
-
}).addCase(
|
|
29671
|
+
}).addCase(Da.rejected, (t, n) => {
|
|
29672
29672
|
t.connectorDetailApiStatus = be.FAILED, console.error(n.error);
|
|
29673
29673
|
}).addCase(Bc.pending, (t) => {
|
|
29674
29674
|
t.rolesAndPermissionsApiStatus = be.LOADING;
|
|
@@ -29741,7 +29741,7 @@ const ha = {
|
|
|
29741
29741
|
});
|
|
29742
29742
|
});
|
|
29743
29743
|
}
|
|
29744
|
-
}),
|
|
29744
|
+
}), Ra = Tt(
|
|
29745
29745
|
"connectorLibrary/updateConnectors",
|
|
29746
29746
|
async (e) => (await BM(e), { params: e })
|
|
29747
29747
|
), fc = Tt(
|
|
@@ -29778,7 +29778,7 @@ const ha = {
|
|
|
29778
29778
|
requireUpgradeConnectors: t,
|
|
29779
29779
|
notAuthenticatedConnectors: n
|
|
29780
29780
|
};
|
|
29781
|
-
}),
|
|
29781
|
+
}), Da = Tt("connectorLibrary/fetchConnector", async (e) => {
|
|
29782
29782
|
const t = await hM(e);
|
|
29783
29783
|
return !t || !t.data ? {
|
|
29784
29784
|
connectorId: e,
|
|
@@ -30144,7 +30144,7 @@ const ha = {
|
|
|
30144
30144
|
height: 32px;
|
|
30145
30145
|
`, AB = T(_c)`
|
|
30146
30146
|
width: 198px;
|
|
30147
|
-
`,
|
|
30147
|
+
`, qa = T(ns)`
|
|
30148
30148
|
height: 20px;
|
|
30149
30149
|
background: linear-gradient(to right, #ffe250, #ffc350);
|
|
30150
30150
|
color: ${Qn.gray.gray1};
|
|
@@ -30152,58 +30152,59 @@ const ha = {
|
|
|
30152
30152
|
id: e,
|
|
30153
30153
|
logo: t,
|
|
30154
30154
|
name: n,
|
|
30155
|
-
|
|
30156
|
-
|
|
30157
|
-
|
|
30158
|
-
|
|
30159
|
-
|
|
30160
|
-
|
|
30161
|
-
|
|
30162
|
-
|
|
30155
|
+
replacementName: r,
|
|
30156
|
+
isEnabled: A,
|
|
30157
|
+
isAuthenticated: o,
|
|
30158
|
+
showUpgradeButton: i,
|
|
30159
|
+
isDeprecated: s,
|
|
30160
|
+
showIcons: a,
|
|
30161
|
+
showTooltip: c,
|
|
30162
|
+
showNewChip: l,
|
|
30163
|
+
onClick: g
|
|
30163
30164
|
}) => {
|
|
30164
|
-
const
|
|
30165
|
-
if (!
|
|
30165
|
+
const I = () => {
|
|
30166
|
+
if (!a)
|
|
30166
30167
|
return null;
|
|
30167
30168
|
switch (!0) {
|
|
30168
|
-
case !
|
|
30169
|
+
case !o:
|
|
30169
30170
|
return /* @__PURE__ */ u.jsx(Nt.ErrorOutline, { sx: { fontSize: "20px" }, color: "error" });
|
|
30170
|
-
case !
|
|
30171
|
+
case !A:
|
|
30171
30172
|
return /* @__PURE__ */ u.jsx(Nt.InfoOutlined, { sx: { fontSize: "20px" } });
|
|
30172
|
-
case o:
|
|
30173
|
-
return /* @__PURE__ */ u.jsx(J0, {});
|
|
30174
30173
|
case i:
|
|
30174
|
+
return /* @__PURE__ */ u.jsx(J0, {});
|
|
30175
|
+
case s:
|
|
30175
30176
|
return /* @__PURE__ */ u.jsx(X0, {});
|
|
30176
30177
|
default:
|
|
30177
30178
|
return /* @__PURE__ */ u.jsx(Nt.CheckCircle, { sx: { fontSize: "20px" }, color: "success" });
|
|
30178
30179
|
}
|
|
30179
|
-
},
|
|
30180
|
-
if (!
|
|
30180
|
+
}, p = () => {
|
|
30181
|
+
if (!c)
|
|
30181
30182
|
return null;
|
|
30182
30183
|
switch (!0) {
|
|
30183
|
-
case !
|
|
30184
|
+
case !o:
|
|
30184
30185
|
return Uk;
|
|
30185
|
-
case !
|
|
30186
|
+
case !A:
|
|
30186
30187
|
return Hk;
|
|
30187
|
-
case o:
|
|
30188
|
-
return Gk;
|
|
30189
30188
|
case i:
|
|
30190
|
-
return
|
|
30189
|
+
return Gk;
|
|
30190
|
+
case s:
|
|
30191
|
+
return Ki(Vk, { connectorName: r || "" });
|
|
30191
30192
|
default:
|
|
30192
30193
|
return "";
|
|
30193
30194
|
}
|
|
30194
30195
|
};
|
|
30195
|
-
return /* @__PURE__ */ u.jsx(Zt, { title:
|
|
30196
|
+
return /* @__PURE__ */ u.jsx(Zt, { title: p(), placement: "bottom", arrow: !0, classes: { tooltip: "max-w-[252px]!" }, children: /* @__PURE__ */ u.jsxs(
|
|
30196
30197
|
"li",
|
|
30197
30198
|
{
|
|
30198
|
-
className: `w-65 h-15 flex border-gray-6 border rounded-lg items-center p-3 justify-between cursor-pointer hover:border-gray-2 ${
|
|
30199
|
-
onClick: () =>
|
|
30199
|
+
className: `w-65 h-15 flex border-gray-6 border rounded-lg items-center p-3 justify-between cursor-pointer hover:border-gray-2 ${o && !A ? "opacity-70 bg-gray-6a" : ""}`,
|
|
30200
|
+
onClick: () => g(e),
|
|
30200
30201
|
children: [
|
|
30201
30202
|
/* @__PURE__ */ u.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
30202
30203
|
t ? /* @__PURE__ */ u.jsx("div", { className: "w-8.75 h-8.75 shadow-icon rounded-md overflow-hidden", children: /* @__PURE__ */ u.jsx("img", { src: t, alt: `${n} logo`, className: "w-full h-full" }) }) : null,
|
|
30203
30204
|
/* @__PURE__ */ u.jsx("div", { className: "text-body1", children: n })
|
|
30204
30205
|
] }),
|
|
30205
|
-
|
|
30206
|
-
/* @__PURE__ */ u.jsx(
|
|
30206
|
+
I(),
|
|
30207
|
+
/* @__PURE__ */ u.jsx(qa, { hidden: !l, label: kC })
|
|
30207
30208
|
]
|
|
30208
30209
|
},
|
|
30209
30210
|
e
|
|
@@ -30220,7 +30221,7 @@ const ha = {
|
|
|
30220
30221
|
return /* @__PURE__ */ u.jsx("ul", { className: "flex gap-5 flex-wrap", "data-testid": "connector-library", children: o === be.LOADING ? /* @__PURE__ */ u.jsx(Tc, {}) : /* @__PURE__ */ u.jsx(u.Fragment, { children: r.map((s) => {
|
|
30221
30222
|
const a = A == null ? void 0 : A[s];
|
|
30222
30223
|
if (!a) return null;
|
|
30223
|
-
const { isTemplateNew: c } = a, l =
|
|
30224
|
+
const { isTemplateNew: c } = a, l = Ka(t) && c;
|
|
30224
30225
|
return /* @__PURE__ */ u.jsx(
|
|
30225
30226
|
MC,
|
|
30226
30227
|
{
|
|
@@ -30251,7 +30252,7 @@ const ha = {
|
|
|
30251
30252
|
switch (t) {
|
|
30252
30253
|
case "upgrade":
|
|
30253
30254
|
return /* @__PURE__ */ u.jsxs(ii, { severity: "info", icon: /* @__PURE__ */ u.jsx(J0, {}), className: "bg-[#F0F3FF]! w-fit h-auto!", children: [
|
|
30254
|
-
|
|
30255
|
+
va(Wk, { connectorName: n }),
|
|
30255
30256
|
i()
|
|
30256
30257
|
] });
|
|
30257
30258
|
case "notAuthenticated":
|
|
@@ -30262,7 +30263,7 @@ const ha = {
|
|
|
30262
30263
|
icon: /* @__PURE__ */ u.jsx(Nt.ErrorOutline, { sx: { fontSize: "20px" }, color: "error" }),
|
|
30263
30264
|
className: "bg-[#FFE6E6]! w-fit h-auto!",
|
|
30264
30265
|
children: [
|
|
30265
|
-
|
|
30266
|
+
va(Yk, { connectorName: n }),
|
|
30266
30267
|
i()
|
|
30267
30268
|
]
|
|
30268
30269
|
}
|
|
@@ -30274,7 +30275,7 @@ const ha = {
|
|
|
30274
30275
|
severity: "error",
|
|
30275
30276
|
icon: /* @__PURE__ */ u.jsx(X0, { className: "**:[path]:fill-red-hover" }),
|
|
30276
30277
|
className: "bg-[#FFE0E3]! w-fit h-auto!",
|
|
30277
|
-
children: /* @__PURE__ */ u.jsx("span", { className: "text-red-hover", children:
|
|
30278
|
+
children: /* @__PURE__ */ u.jsx("span", { className: "text-red-hover", children: va(zk, { connectorName: n }) })
|
|
30278
30279
|
}
|
|
30279
30280
|
);
|
|
30280
30281
|
default:
|
|
@@ -30694,18 +30695,27 @@ const ha = {
|
|
|
30694
30695
|
};
|
|
30695
30696
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
30696
30697
|
/* @__PURE__ */ u.jsx("ul", { className: "flex gap-5 flex-wrap", "data-testid": "connector-native-card", children: e.map((I) => {
|
|
30697
|
-
const {
|
|
30698
|
+
const {
|
|
30699
|
+
id: p,
|
|
30700
|
+
name: f,
|
|
30701
|
+
logo: d,
|
|
30702
|
+
isInboxLevConnector: C = !1,
|
|
30703
|
+
featureKey: E,
|
|
30704
|
+
isDeprecated: B = !1,
|
|
30705
|
+
replacementName: h = ""
|
|
30706
|
+
} = I;
|
|
30698
30707
|
return kr(t, E) ? /* @__PURE__ */ u.jsx(
|
|
30699
30708
|
MC,
|
|
30700
30709
|
{
|
|
30701
30710
|
id: p,
|
|
30702
30711
|
name: f,
|
|
30703
30712
|
logo: d,
|
|
30704
|
-
onClick: (
|
|
30713
|
+
onClick: (Q) => c(Q, C, B),
|
|
30705
30714
|
isEnabled: !0,
|
|
30706
30715
|
isAuthenticated: !0,
|
|
30707
30716
|
isDeprecated: B,
|
|
30708
30717
|
showIcons: B,
|
|
30718
|
+
replacementName: h,
|
|
30709
30719
|
showTooltip: !0
|
|
30710
30720
|
},
|
|
30711
30721
|
p
|
|
@@ -31008,7 +31018,7 @@ const ha = {
|
|
|
31008
31018
|
}
|
|
31009
31019
|
}
|
|
31010
31020
|
`, QU = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cellipse%20cx='7.48148'%20cy='4.94'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='7.48148'%20cy='10.7'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='7.48148'%20cy='16.46'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='4.94'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='10.7'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3cellipse%20cx='12.42'%20cy='16.46'%20rx='1.48148'%20ry='1.44'%20fill='%23828EA5'/%3e%3c/svg%3e", mU = ({ field: e, toggleSelected: t, hideNewChip: n }) => {
|
|
31011
|
-
const { availableFeatures: r } = Ye(tn), { key: A, label: o, enabled: i, isFieldNew: s } = e, { attributes: a, listeners: c, setNodeRef: l, transform: g, transition: I } = RQ({ id: A }), p = He(null), [f, d] = ue(!1), C =
|
|
31021
|
+
const { availableFeatures: r } = Ye(tn), { key: A, label: o, enabled: i, isFieldNew: s } = e, { attributes: a, listeners: c, setNodeRef: l, transform: g, transition: I } = RQ({ id: A }), p = He(null), [f, d] = ue(!1), C = Ka(r) && s && !n, E = {
|
|
31012
31022
|
transform: Si.Transform.toString(g),
|
|
31013
31023
|
transition: I
|
|
31014
31024
|
};
|
|
@@ -31020,7 +31030,7 @@ const ha = {
|
|
|
31020
31030
|
/* @__PURE__ */ u.jsx(Oi, { checked: i, onChange: () => t(A), sx: { marginLeft: "-6px" } }),
|
|
31021
31031
|
/* @__PURE__ */ u.jsx(Zt, { title: o, disableHoverListener: !f, children: /* @__PURE__ */ u.jsxs(G, { direction: "row", gap: "5px", alignItems: "center", children: [
|
|
31022
31032
|
/* @__PURE__ */ u.jsx(se, { ref: p, variant: "body2", maxWidth: "325px", noWrap: !0, children: o }),
|
|
31023
|
-
C ? /* @__PURE__ */ u.jsx(
|
|
31033
|
+
C ? /* @__PURE__ */ u.jsx(qa, { label: kC }) : null
|
|
31024
31034
|
] }) })
|
|
31025
31035
|
] });
|
|
31026
31036
|
}, vU = (e) => ({
|
|
@@ -31032,28 +31042,28 @@ const ha = {
|
|
|
31032
31042
|
cards: {}
|
|
31033
31043
|
}
|
|
31034
31044
|
}
|
|
31035
|
-
}),
|
|
31045
|
+
}), qi = () => {
|
|
31036
31046
|
try {
|
|
31037
|
-
return JSON.parse(localStorage.getItem(
|
|
31047
|
+
return JSON.parse(localStorage.getItem(Is) || "{}");
|
|
31038
31048
|
} catch {
|
|
31039
31049
|
return {};
|
|
31040
31050
|
}
|
|
31041
|
-
},
|
|
31042
|
-
const e =
|
|
31051
|
+
}, Zi = () => {
|
|
31052
|
+
const e = qi();
|
|
31043
31053
|
return Object.keys(e)[0];
|
|
31044
31054
|
}, tv = (e) => {
|
|
31045
31055
|
var t;
|
|
31046
|
-
return (t =
|
|
31056
|
+
return (t = qi()) == null ? void 0 : t[e];
|
|
31047
31057
|
}, bU = (e) => {
|
|
31048
31058
|
if (!e) return;
|
|
31049
|
-
const t =
|
|
31050
|
-
(Object.keys(t).length === 0 || n != e) && localStorage.setItem(
|
|
31059
|
+
const t = qi(), n = Zi();
|
|
31060
|
+
(Object.keys(t).length === 0 || n != e) && localStorage.setItem(Is, JSON.stringify(vU(e)));
|
|
31051
31061
|
}, yU = (e, t) => {
|
|
31052
31062
|
var i, s, a, c, l, g;
|
|
31053
31063
|
if (!e || !t) return;
|
|
31054
|
-
const n =
|
|
31064
|
+
const n = Zi() ?? "";
|
|
31055
31065
|
if (!n) return;
|
|
31056
|
-
const r =
|
|
31066
|
+
const r = qi(), A = r[n], o = {
|
|
31057
31067
|
...r,
|
|
31058
31068
|
[n]: {
|
|
31059
31069
|
...A,
|
|
@@ -31068,19 +31078,19 @@ const ha = {
|
|
|
31068
31078
|
}
|
|
31069
31079
|
}
|
|
31070
31080
|
};
|
|
31071
|
-
localStorage.setItem(
|
|
31081
|
+
localStorage.setItem(Is, JSON.stringify(o));
|
|
31072
31082
|
}, YC = (e, t) => {
|
|
31073
31083
|
var A, o;
|
|
31074
|
-
const n =
|
|
31084
|
+
const n = Zi();
|
|
31075
31085
|
if (!n || !e || !t) return !1;
|
|
31076
31086
|
const r = tv(n);
|
|
31077
31087
|
return !!((o = (A = r == null ? void 0 : r.fieldVisibility) == null ? void 0 : A.cards[e]) != null && o.includes(t));
|
|
31078
31088
|
}, xU = (e, t) => {
|
|
31079
31089
|
var i, s, a;
|
|
31080
31090
|
if (!e || !t) return;
|
|
31081
|
-
const n =
|
|
31091
|
+
const n = Zi() ?? "";
|
|
31082
31092
|
if (!n) return;
|
|
31083
|
-
const r =
|
|
31093
|
+
const r = qi(), A = r[n], o = {
|
|
31084
31094
|
...r,
|
|
31085
31095
|
[n]: {
|
|
31086
31096
|
...A,
|
|
@@ -31093,17 +31103,17 @@ const ha = {
|
|
|
31093
31103
|
}
|
|
31094
31104
|
}
|
|
31095
31105
|
};
|
|
31096
|
-
localStorage.setItem(
|
|
31106
|
+
localStorage.setItem(Is, JSON.stringify(o));
|
|
31097
31107
|
}, wU = (e, t) => {
|
|
31098
31108
|
var A;
|
|
31099
|
-
const n =
|
|
31109
|
+
const n = Zi();
|
|
31100
31110
|
if (!n || !e || !t) return !1;
|
|
31101
31111
|
const r = tv(n);
|
|
31102
31112
|
return !!((A = r == null ? void 0 : r.cards[e]) != null && A.includes(t));
|
|
31103
31113
|
}, TU = (e) => {
|
|
31104
31114
|
var o;
|
|
31105
31115
|
if (!e) return;
|
|
31106
|
-
const t =
|
|
31116
|
+
const t = qi(), n = Zi();
|
|
31107
31117
|
if (!n) return;
|
|
31108
31118
|
const r = t[n], A = {
|
|
31109
31119
|
[n]: {
|
|
@@ -31114,7 +31124,7 @@ const ha = {
|
|
|
31114
31124
|
]
|
|
31115
31125
|
}
|
|
31116
31126
|
};
|
|
31117
|
-
localStorage.setItem(
|
|
31127
|
+
localStorage.setItem(Is, JSON.stringify(A));
|
|
31118
31128
|
}, SU = ({ fields: e, setFields: t, cardId: n }) => {
|
|
31119
31129
|
const r = cQ(sQ(Ll)), { userId: A } = SA() || {}, o = Ke(Aj), i = (c) => {
|
|
31120
31130
|
const { active: l, over: g } = c;
|
|
@@ -31161,7 +31171,7 @@ const ha = {
|
|
|
31161
31171
|
border-color: transparent;
|
|
31162
31172
|
}
|
|
31163
31173
|
}
|
|
31164
|
-
`, RU = T(
|
|
31174
|
+
`, RU = T(ns)`
|
|
31165
31175
|
border: 1px solid ${Qn.gray.gray3};
|
|
31166
31176
|
letter-spacing: 0.3px;
|
|
31167
31177
|
color: ${Qn.gray.gray3};
|
|
@@ -31320,7 +31330,7 @@ const ha = {
|
|
|
31320
31330
|
return !1;
|
|
31321
31331
|
}
|
|
31322
31332
|
return !0;
|
|
31323
|
-
}, [s, b, d, t]), V = B.length !== 0 && b.filter((j) => j.enabled).length === 0, P = C === be.LOADING || F && N && Y || V, le = Pe(() => !!(s != null && s.some((j) => j.isFieldNew)), [s]), Ee = E && YC(t, E), te =
|
|
31333
|
+
}, [s, b, d, t]), V = B.length !== 0 && b.filter((j) => j.enabled).length === 0, P = C === be.LOADING || F && N && Y || V, le = Pe(() => !!(s != null && s.some((j) => j.isFieldNew)), [s]), Ee = E && YC(t, E), te = Ka(c) && le && !Ee ? rv : "", ce = (j) => {
|
|
31324
31334
|
j.stopPropagation();
|
|
31325
31335
|
const J = Q != null && Q.name ? [Q.name] : [], Ae = B.map((ie) => ie.id), ne = b.map((ie, Qe) => ({ ...ie, priority: Qe + 1 }));
|
|
31326
31336
|
g(
|
|
@@ -31360,7 +31370,7 @@ const ha = {
|
|
|
31360
31370
|
const Ae = (ne = Object.values(Co).find((ie) => ie.ID === j)) == null ? void 0 : ne.LABEL;
|
|
31361
31371
|
return /* @__PURE__ */ u.jsxs(G, { direction: "row", alignItems: "center", gap: 1.25, children: [
|
|
31362
31372
|
Ae,
|
|
31363
|
-
J ? /* @__PURE__ */ u.jsx(
|
|
31373
|
+
J ? /* @__PURE__ */ u.jsx(qa, { label: J }) : null
|
|
31364
31374
|
] });
|
|
31365
31375
|
};
|
|
31366
31376
|
return /* @__PURE__ */ u.jsx(Y7, { children: /* @__PURE__ */ u.jsxs(q7, { children: [
|
|
@@ -31456,11 +31466,11 @@ const PU = T(nr)`
|
|
|
31456
31466
|
I(!0);
|
|
31457
31467
|
}), E(it.CONFIGURE_VISIBILITY_CLICKED);
|
|
31458
31468
|
}, w = Pe(
|
|
31459
|
-
() =>
|
|
31469
|
+
() => Ka(d) && a && b && e.isEnabledCustomCard && !wU(e.id, b),
|
|
31460
31470
|
/* eslint-disable-next-line react-hooks/exhaustive-deps */
|
|
31461
31471
|
[d, e, b, g, a]
|
|
31462
31472
|
), F = Pe(
|
|
31463
|
-
() => b &&
|
|
31473
|
+
() => b && Ka(d) && s.some((V) => V.isFieldNew) && e.isEnabledCustomCard && !YC(e.id, b),
|
|
31464
31474
|
/* eslint-disable-next-line react-hooks/exhaustive-deps */
|
|
31465
31475
|
[d, e, b, g, s]
|
|
31466
31476
|
);
|
|
@@ -31469,8 +31479,8 @@ const PU = T(nr)`
|
|
|
31469
31479
|
/* @__PURE__ */ u.jsxs(G, { gap: "8px", direction: "row", children: [
|
|
31470
31480
|
e.title,
|
|
31471
31481
|
/* @__PURE__ */ u.jsxs(G, { gap: "5px", direction: "row", children: [
|
|
31472
|
-
/* @__PURE__ */ u.jsx(
|
|
31473
|
-
/* @__PURE__ */ u.jsx(
|
|
31482
|
+
/* @__PURE__ */ u.jsx(qa, { hidden: !w, label: kC }),
|
|
31483
|
+
/* @__PURE__ */ u.jsx(qa, { hidden: !F, label: rv })
|
|
31474
31484
|
] })
|
|
31475
31485
|
] }),
|
|
31476
31486
|
/* @__PURE__ */ u.jsxs(FU, { children: [
|
|
@@ -31574,7 +31584,7 @@ const PU = T(nr)`
|
|
|
31574
31584
|
isConnectorCard: r = !1
|
|
31575
31585
|
}) => {
|
|
31576
31586
|
const { sendTrackingEvent: A } = Ye(tn), { id: o, name: i, logo: s, description: a, isAuthenticated: c, showUpgradeButton: l = !1, updates: g } = e, I = Ke(q0), p = Ke(jC), f = Ke(Kl), [d, C] = ue(!1), E = gA(), B = mn(), h = (P, le) => {
|
|
31577
|
-
P == null || P.stopPropagation(), E(
|
|
31587
|
+
P == null || P.stopPropagation(), E(Ra({ id: le, enabled: P.target.checked })).unwrap().then(() => {
|
|
31578
31588
|
P.target.checked ? A(it.TOGGLE_ENABLED, { connector_name: i }) : (A(it.TOGGLE_DISABLED, { connector_name: i }), kn({
|
|
31579
31589
|
message: G0,
|
|
31580
31590
|
type: PC
|
|
@@ -31852,7 +31862,7 @@ const PU = T(nr)`
|
|
|
31852
31862
|
`, sG = () => {
|
|
31853
31863
|
const { availableFeatures: e, sendTrackingEvent: t } = Ye(tn), n = mn(), r = Ke(Xl), A = Ke(Jl), o = Ke(Kl), i = Ke(M0), s = gA(), { id: a = "" } = so(), [c] = Yo(), l = c.get("isEdit") === "true", g = (r == null ? void 0 : r[a]) || null, I = (A == null ? void 0 : A[a]) || null;
|
|
31854
31864
|
me(() => {
|
|
31855
|
-
s(l ?
|
|
31865
|
+
s(l ? Da(a) : _a(a));
|
|
31856
31866
|
}, [l, s, a]);
|
|
31857
31867
|
const p = (B) => {
|
|
31858
31868
|
B == null || B.stopPropagation(), t(it.CONNECTOR_BACK_CLICKED, { connector_name: f == null ? void 0 : f.name }), n(tt.BASEPATH);
|
|
@@ -31933,7 +31943,7 @@ const PU = T(nr)`
|
|
|
31933
31943
|
}) });
|
|
31934
31944
|
}, gG = "Settings", dG = "Setup", CG = T(ye)`
|
|
31935
31945
|
background-color: ${({ active: e }) => e ? ae.palette.green.primary : ae.palette.gray.gray4};
|
|
31936
|
-
`, EG = T(
|
|
31946
|
+
`, EG = T(ns)`
|
|
31937
31947
|
background-color: ${({ active: e }) => e ? "#BBF0BB80" : ae.palette.gray.gray6};
|
|
31938
31948
|
color: ${({ active: e }) => e ? ae.palette.gray.gray3 : ae.palette.gray.gray4};
|
|
31939
31949
|
height: 36px;
|
|
@@ -32086,7 +32096,7 @@ const UG = (e, t) => {
|
|
|
32086
32096
|
return e.forEach((r) => {
|
|
32087
32097
|
n[r.name] = t[r.name];
|
|
32088
32098
|
}), n;
|
|
32089
|
-
},
|
|
32099
|
+
}, Ca = (e) => {
|
|
32090
32100
|
if (e && typeof e == "string") {
|
|
32091
32101
|
const t = e.replace(/\/$/, "");
|
|
32092
32102
|
return t.startsWith("https://") ? e.endsWith("/") ? yG : /^https:\/\/([a-z0-9-]+(\.[a-z0-9-]+)+)(:[0-9]{1,5})?(\/[^\s/]*)*$/i.test(t) ? !0 : vG : bG;
|
|
@@ -32161,7 +32171,7 @@ const UG = (e, t) => {
|
|
|
32161
32171
|
}, VG = ["basicForm"], HG = {
|
|
32162
32172
|
id: "basicForm",
|
|
32163
32173
|
formFields: []
|
|
32164
|
-
},
|
|
32174
|
+
}, Ea = {
|
|
32165
32175
|
id: "dynamicAuthForm",
|
|
32166
32176
|
formFields: []
|
|
32167
32177
|
}, Ws = [
|
|
@@ -32352,7 +32362,7 @@ const UG = (e, t) => {
|
|
|
32352
32362
|
], BB = {
|
|
32353
32363
|
[Ne.baseUrl]: {
|
|
32354
32364
|
isRequired: !0,
|
|
32355
|
-
validate:
|
|
32365
|
+
validate: Ca
|
|
32356
32366
|
},
|
|
32357
32367
|
[Ne.authType]: {
|
|
32358
32368
|
isRequired: !0
|
|
@@ -32392,19 +32402,19 @@ const UG = (e, t) => {
|
|
|
32392
32402
|
},
|
|
32393
32403
|
[Ne.oAuthEndUrl]: {
|
|
32394
32404
|
isRequired: !0,
|
|
32395
|
-
validate:
|
|
32405
|
+
validate: Ca
|
|
32396
32406
|
},
|
|
32397
32407
|
[Ne.oAuthTokenUrl]: {
|
|
32398
32408
|
isRequired: !0,
|
|
32399
|
-
validate:
|
|
32409
|
+
validate: Ca
|
|
32400
32410
|
},
|
|
32401
32411
|
[Ne.oAuthRefreshTokenUrl]: {
|
|
32402
32412
|
isRequired: !0,
|
|
32403
|
-
validate:
|
|
32413
|
+
validate: Ca
|
|
32404
32414
|
},
|
|
32405
32415
|
[Ne.oAuthRedirectUrl]: {
|
|
32406
32416
|
isRequired: !0,
|
|
32407
|
-
validate:
|
|
32417
|
+
validate: Ca
|
|
32408
32418
|
},
|
|
32409
32419
|
[Ne.oAuthHeaderName]: {
|
|
32410
32420
|
isRequired: !0
|
|
@@ -32619,11 +32629,11 @@ const qG = T(se)`
|
|
|
32619
32629
|
if (E)
|
|
32620
32630
|
if (h) {
|
|
32621
32631
|
const { advanced: j, basic: J } = cv(E, B);
|
|
32622
|
-
|
|
32632
|
+
Ea.formFields = j, O.formFields = J;
|
|
32623
32633
|
} else
|
|
32624
|
-
|
|
32634
|
+
Ea.formFields = [...E];
|
|
32625
32635
|
let M = [];
|
|
32626
|
-
|
|
32636
|
+
Ea.formFields && Ea.formFields.length && (M = [Ea]);
|
|
32627
32637
|
const z = c.values.authType;
|
|
32628
32638
|
if (h) {
|
|
32629
32639
|
const j = typeof z == "object" ? z.value : void 0, J = [...Ws];
|
|
@@ -32943,7 +32953,7 @@ const IV = T(G)`
|
|
|
32943
32953
|
var t;
|
|
32944
32954
|
try {
|
|
32945
32955
|
const n = await It({
|
|
32946
|
-
url:
|
|
32956
|
+
url: Ki(jM, { connectorId: e }),
|
|
32947
32957
|
method: Tn.GET
|
|
32948
32958
|
});
|
|
32949
32959
|
return !n || !((t = n == null ? void 0 : n.data) != null && t.status) ? {
|
|
@@ -32985,7 +32995,7 @@ const IV = T(G)`
|
|
|
32985
32995
|
},
|
|
32986
32996
|
[b]
|
|
32987
32997
|
), me(() => {
|
|
32988
|
-
g ? (b(
|
|
32998
|
+
g ? (b(Da(c)), b(Qc(c))) : b(_a(c));
|
|
32989
32999
|
}, [g, b, c]), me(() => {
|
|
32990
33000
|
let v, w;
|
|
32991
33001
|
const F = (N) => {
|
|
@@ -33107,7 +33117,7 @@ const IV = T(G)`
|
|
|
33107
33117
|
},
|
|
33108
33118
|
{ name: gG }
|
|
33109
33119
|
], m = (b, y) => {
|
|
33110
|
-
b == null || b.stopPropagation(), e(
|
|
33120
|
+
b == null || b.stopPropagation(), e(Ra({ id: y, enabled: b.target.checked })).unwrap().then(() => {
|
|
33111
33121
|
b.target.checked ? t(it.TOGGLE_ENABLED, { connector_name: C == null ? void 0 : C.name }) : (t(it.TOGGLE_DISABLED, { connector_name: C == null ? void 0 : C.name }), kn({
|
|
33112
33122
|
message: G0,
|
|
33113
33123
|
type: PC
|
|
@@ -33221,7 +33231,7 @@ const IV = T(G)`
|
|
|
33221
33231
|
] }, a);
|
|
33222
33232
|
});
|
|
33223
33233
|
}, jV = () => {
|
|
33224
|
-
const { sendTrackingEvent: e } = Ye(tn), t = mn(), n = gA(), r = Ke(UC) ?? [], A = Ke(ql) ?? [], o = r.find((b) => b.name ===
|
|
33234
|
+
const { sendTrackingEvent: e } = Ye(tn), t = mn(), n = gA(), r = Ke(UC) ?? [], A = Ke(ql) ?? [], o = r.find((b) => b.name === pa.MEMBER), i = Ke(Jl), s = Ke(sj) === be.LOADING, [a, c] = ue([]), [l, g] = ue(o), [I, p] = ue(!1), { id: f = "" } = so(), [d] = Yo(), C = d.get("connectorId"), E = (i == null ? void 0 : i[f]) || null, B = s || !a.length || !l.name, h = [
|
|
33225
33235
|
{ name: sl, route: `${tt.BASEPATH}${tt.DASHBOARD}` },
|
|
33226
33236
|
{
|
|
33227
33237
|
name: (E == null ? void 0 : E.name) || "",
|