@hiver/connector-agent 4.27.0-appWidgets-beta.13 → 4.27.0-appWidgets-beta.14
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/features/app-widget/loader.d.ts +2 -0
- package/features/app-widget/loader.d.ts.map +1 -1
- package/features/app-widget/model.d.ts +1 -1
- package/features/app-widget/model.d.ts.map +1 -1
- package/features/app-widget/useAppWidgetData.d.ts.map +1 -1
- package/index.es.js +424 -418
- package/index.umd.js +51 -51
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -13,7 +13,7 @@ var Mi = (e, t, n, r) => ({
|
|
|
13
13
|
return _(e, t, r);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import * as
|
|
16
|
+
import * as S from "react";
|
|
17
17
|
import ut, { createContext as Bo, useState as P, useContext as Qe, useEffect as re, useRef as se, useCallback as ie, useSyncExternalStore as il, useLayoutEffect as to, isValidElement as Ou, cloneElement as Ts, forwardRef as wo, useMemo as $, Component as FC, Fragment as B0, useId as Jr, memo as sl, useReducer as z2, Suspense as hi } from "react";
|
|
18
18
|
import { keyframes as fl, styled as w, Stack as U, IconButton as Ft, Typography as Y, Box as Q, Tooltip as Le, Button as Re, icons as xt, Menu as X2, MenuItem as Eo, ListItemIcon as mC, brandIcons as Z2, Grid as EC, Link as gi, theme as R, Skeleton as uu, TableHead as bC, TableCell as Ff, TableRow as J2, Icon as K2, DatePicker as xC, DateTextField as vC, InputAdornment as yC, LinearProgress as BC, Dialog as cl, TextField as ll, tooltipClasses as Un, ListSubheader as rs, InputBase as wC, CircularProgress as au, FormControl as mf, Select as Dl, Chip as IC, Paper as Ef, Popper as SC, ClickAwayListener as bf, HiverCacheProvider as kC, HiverThemeProvider as TC, ThemeProvider as xf, createTheme as Ci, GlobalStyles as ed, TableContainer as LC, Table as RC, TableBody as OC, useTheme as NC, Divider as jC, RadioGroup as Y2, FormControlLabel as q2, Radio as $2, Checkbox as e8, OutlinedInput as t8, Switch as n8, Popover as w0, Autocomplete as r8, MenuList as _C } from "@hiver/hiver-ui-kit";
|
|
19
19
|
import MC, { createPortal as jr, unstable_batchedUpdates as m1 } from "react-dom";
|
|
@@ -105,14 +105,14 @@ function $C() {
|
|
|
105
105
|
ct.unshift("Warning: " + ce), Function.prototype.apply.call(console[H], console, ct);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
var E = !1, b = !1, B = !1, v = !1, y = !1,
|
|
109
|
-
|
|
108
|
+
var E = !1, b = !1, B = !1, v = !1, y = !1, I;
|
|
109
|
+
I = Symbol.for("react.module.reference");
|
|
110
110
|
function L(H) {
|
|
111
111
|
return !!(typeof H == "string" || typeof H == "function" || H === r || H === u || y || H === o || H === c || H === l || v || H === F || E || b || B || typeof H == "object" && H !== null && (H.$$typeof === C || H.$$typeof === D || H.$$typeof === i || H.$$typeof === s || H.$$typeof === f || // This needs to include all possible module reference object
|
|
112
112
|
// types supported by any Flight configuration anywhere since
|
|
113
113
|
// we don't know which Flight build this will end up being used
|
|
114
114
|
// with.
|
|
115
|
-
H.$$typeof ===
|
|
115
|
+
H.$$typeof === I || H.getModuleId !== void 0));
|
|
116
116
|
}
|
|
117
117
|
function j(H, ce, me) {
|
|
118
118
|
var He = H.displayName;
|
|
@@ -1474,8 +1474,8 @@ var yr, P2, l8 = (P2 = class extends gu {
|
|
|
1474
1474
|
var o, u, i, s, f, c, l, D, C, F, p, A, d, h, m, g, E, b, B, v;
|
|
1475
1475
|
Ce(this, Vo, s8({
|
|
1476
1476
|
fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
|
|
1477
|
-
onFail: (y,
|
|
1478
|
-
Ve(this, wr, io).call(this, { type: "failed", failureCount: y, error:
|
|
1477
|
+
onFail: (y, I) => {
|
|
1478
|
+
Ve(this, wr, io).call(this, { type: "failed", failureCount: y, error: I });
|
|
1479
1479
|
},
|
|
1480
1480
|
onPause: () => {
|
|
1481
1481
|
Ve(this, wr, io).call(this, { type: "pause" });
|
|
@@ -1496,10 +1496,10 @@ var yr, P2, l8 = (P2 = class extends gu {
|
|
|
1496
1496
|
t,
|
|
1497
1497
|
this
|
|
1498
1498
|
));
|
|
1499
|
-
const
|
|
1500
|
-
|
|
1499
|
+
const I = await ((s = (i = this.options).onMutate) == null ? void 0 : s.call(i, t));
|
|
1500
|
+
I !== this.state.context && Ve(this, wr, io).call(this, {
|
|
1501
1501
|
type: "pending",
|
|
1502
|
-
context:
|
|
1502
|
+
context: I,
|
|
1503
1503
|
variables: t,
|
|
1504
1504
|
isPaused: r
|
|
1505
1505
|
});
|
|
@@ -1758,10 +1758,10 @@ function js(e) {
|
|
|
1758
1758
|
d(B);
|
|
1759
1759
|
const v = await h(
|
|
1760
1760
|
B
|
|
1761
|
-
), { maxPages: y } = t.options,
|
|
1761
|
+
), { maxPages: y } = t.options, I = b ? rF : nF;
|
|
1762
1762
|
return {
|
|
1763
|
-
pages:
|
|
1764
|
-
pageParams:
|
|
1763
|
+
pages: I(g.pages, v, y),
|
|
1764
|
+
pageParams: I(g.pageParams, E, y)
|
|
1765
1765
|
};
|
|
1766
1766
|
};
|
|
1767
1767
|
if (o && u.length) {
|
|
@@ -2131,7 +2131,7 @@ var Qt, Do, Ao, Gu, Vu, po, zu, Xu, U2, dF = (U2 = class {
|
|
|
2131
2131
|
const r = _(this, it), o = this.options, u = _(this, mn), i = _(this, zo), s = _(this, Zu), c = t !== r ? t.state : _(this, li), { state: l } = t;
|
|
2132
2132
|
let D = { ...l }, C = !1, F;
|
|
2133
2133
|
if (n._optimisticResults) {
|
|
2134
|
-
const
|
|
2134
|
+
const I = this.hasListeners(), L = !I && id(t, n), j = I && sd(t, r, n, o);
|
|
2135
2135
|
(L || j) && (D = {
|
|
2136
2136
|
...D,
|
|
2137
2137
|
...c8(l.data, t.options)
|
|
@@ -2144,27 +2144,27 @@ var Qt, Do, Ao, Gu, Vu, po, zu, Xu, U2, dF = (U2 = class {
|
|
|
2144
2144
|
else
|
|
2145
2145
|
try {
|
|
2146
2146
|
Ce(this, Di, n.select), F = n.select(D.data), F = T0(u == null ? void 0 : u.data, F, n), Ce(this, Ju, F), Ce(this, Ir, null);
|
|
2147
|
-
} catch (
|
|
2148
|
-
Ce(this, Ir,
|
|
2147
|
+
} catch (I) {
|
|
2148
|
+
Ce(this, Ir, I);
|
|
2149
2149
|
}
|
|
2150
2150
|
else
|
|
2151
2151
|
F = D.data;
|
|
2152
2152
|
if (n.placeholderData !== void 0 && F === void 0 && d === "pending") {
|
|
2153
|
-
let
|
|
2153
|
+
let I;
|
|
2154
2154
|
if (u != null && u.isPlaceholderData && n.placeholderData === (s == null ? void 0 : s.placeholderData))
|
|
2155
|
-
|
|
2156
|
-
else if (
|
|
2155
|
+
I = u.data;
|
|
2156
|
+
else if (I = typeof n.placeholderData == "function" ? n.placeholderData(
|
|
2157
2157
|
(y = _(this, Ku)) == null ? void 0 : y.state.data,
|
|
2158
2158
|
_(this, Ku)
|
|
2159
|
-
) : n.placeholderData, n.select &&
|
|
2159
|
+
) : n.placeholderData, n.select && I !== void 0)
|
|
2160
2160
|
try {
|
|
2161
|
-
|
|
2161
|
+
I = n.select(I), Ce(this, Ir, null);
|
|
2162
2162
|
} catch (L) {
|
|
2163
2163
|
Ce(this, Ir, L);
|
|
2164
2164
|
}
|
|
2165
|
-
|
|
2165
|
+
I !== void 0 && (d = "success", F = T0(
|
|
2166
2166
|
u == null ? void 0 : u.data,
|
|
2167
|
-
|
|
2167
|
+
I,
|
|
2168
2168
|
n
|
|
2169
2169
|
), C = !0);
|
|
2170
2170
|
}
|
|
@@ -2197,15 +2197,15 @@ var Qt, Do, Ao, Gu, Vu, po, zu, Xu, U2, dF = (U2 = class {
|
|
|
2197
2197
|
promise: _(this, ho)
|
|
2198
2198
|
};
|
|
2199
2199
|
if (this.options.experimental_prefetchInRender) {
|
|
2200
|
-
const
|
|
2200
|
+
const I = (k) => {
|
|
2201
2201
|
v.status === "error" ? k.reject(v.error) : v.data !== void 0 && k.resolve(v.data);
|
|
2202
2202
|
}, L = () => {
|
|
2203
2203
|
const k = Ce(this, ho, v.promise = L0());
|
|
2204
|
-
|
|
2204
|
+
I(k);
|
|
2205
2205
|
}, j = _(this, ho);
|
|
2206
2206
|
switch (j.status) {
|
|
2207
2207
|
case "pending":
|
|
2208
|
-
t.queryHash === r.queryHash &&
|
|
2208
|
+
t.queryHash === r.queryHash && I(j);
|
|
2209
2209
|
break;
|
|
2210
2210
|
case "fulfilled":
|
|
2211
2211
|
(v.status === "error" || v.data !== j.value) && L();
|
|
@@ -2556,19 +2556,19 @@ var Jo, tr, qu, $u, nr, Co, di, Ai, pi, fn, U0, W0, G0, V0, z0, G2, gF = (G2 = c
|
|
|
2556
2556
|
D(_(this, mo));
|
|
2557
2557
|
});
|
|
2558
2558
|
});
|
|
2559
|
-
}, V2), h8 =
|
|
2559
|
+
}, V2), h8 = S.createContext(
|
|
2560
2560
|
void 0
|
|
2561
2561
|
), Wt = (e) => {
|
|
2562
|
-
const t =
|
|
2562
|
+
const t = S.useContext(h8);
|
|
2563
2563
|
if (!t)
|
|
2564
2564
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
2565
2565
|
return t;
|
|
2566
2566
|
}, hl = ({
|
|
2567
2567
|
client: e,
|
|
2568
2568
|
children: t
|
|
2569
|
-
}) => (
|
|
2569
|
+
}) => (S.useEffect(() => (e.mount(), () => {
|
|
2570
2570
|
e.unmount();
|
|
2571
|
-
}), [e]), /* @__PURE__ */ a.jsx(h8.Provider, { value: e, children: t })), g8 =
|
|
2571
|
+
}), [e]), /* @__PURE__ */ a.jsx(h8.Provider, { value: e, children: t })), g8 = S.createContext(!1), C8 = () => S.useContext(g8);
|
|
2572
2572
|
g8.Provider;
|
|
2573
2573
|
function mF() {
|
|
2574
2574
|
let e = !1;
|
|
@@ -2582,7 +2582,7 @@ function mF() {
|
|
|
2582
2582
|
isReset: () => e
|
|
2583
2583
|
};
|
|
2584
2584
|
}
|
|
2585
|
-
var EF =
|
|
2585
|
+
var EF = S.createContext(mF()), F8 = () => S.useContext(EF);
|
|
2586
2586
|
function m8(e, t) {
|
|
2587
2587
|
return typeof e == "function" ? e(...t) : !!e;
|
|
2588
2588
|
}
|
|
@@ -2591,7 +2591,7 @@ function _s() {
|
|
|
2591
2591
|
var E8 = (e, t) => {
|
|
2592
2592
|
(e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
|
|
2593
2593
|
}, b8 = (e) => {
|
|
2594
|
-
|
|
2594
|
+
S.useEffect(() => {
|
|
2595
2595
|
e.clearReset();
|
|
2596
2596
|
}, [e]);
|
|
2597
2597
|
}, x8 = ({
|
|
@@ -2610,7 +2610,7 @@ function gl({
|
|
|
2610
2610
|
queries: e,
|
|
2611
2611
|
...t
|
|
2612
2612
|
}, n) {
|
|
2613
|
-
const r = Wt(), o = C8(), u = F8(), i =
|
|
2613
|
+
const r = Wt(), o = C8(), u = F8(), i = S.useMemo(
|
|
2614
2614
|
() => e.map((A) => {
|
|
2615
2615
|
const d = r.defaultQueryOptions(
|
|
2616
2616
|
A
|
|
@@ -2622,7 +2622,7 @@ function gl({
|
|
|
2622
2622
|
i.forEach((A) => {
|
|
2623
2623
|
v8(A), E8(A, u);
|
|
2624
2624
|
}), b8(u);
|
|
2625
|
-
const [s] =
|
|
2625
|
+
const [s] = S.useState(
|
|
2626
2626
|
() => new gF(
|
|
2627
2627
|
r,
|
|
2628
2628
|
i,
|
|
@@ -2632,14 +2632,14 @@ function gl({
|
|
|
2632
2632
|
i,
|
|
2633
2633
|
t.combine
|
|
2634
2634
|
), D = !o && t.subscribed !== !1;
|
|
2635
|
-
|
|
2636
|
-
|
|
2635
|
+
S.useSyncExternalStore(
|
|
2636
|
+
S.useCallback(
|
|
2637
2637
|
(A) => D ? s.subscribe(Ht.batchCalls(A)) : _s,
|
|
2638
2638
|
[s, D]
|
|
2639
2639
|
),
|
|
2640
2640
|
() => s.getCurrentResult(),
|
|
2641
2641
|
() => s.getCurrentResult()
|
|
2642
|
-
),
|
|
2642
|
+
), S.useEffect(() => {
|
|
2643
2643
|
s.setQueries(
|
|
2644
2644
|
i,
|
|
2645
2645
|
t,
|
|
@@ -2691,14 +2691,14 @@ function B8(e, t, n) {
|
|
|
2691
2691
|
), process.env.NODE_ENV !== "production" && (i.queryFn || console.error(
|
|
2692
2692
|
`[${i.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
|
|
2693
2693
|
)), i._optimisticResults = o ? "isRestoring" : "optimistic", v8(i), E8(i, u), b8(u);
|
|
2694
|
-
const s = !r.getQueryCache().get(i.queryHash), [f] =
|
|
2694
|
+
const s = !r.getQueryCache().get(i.queryHash), [f] = S.useState(
|
|
2695
2695
|
() => new t(
|
|
2696
2696
|
r,
|
|
2697
2697
|
i
|
|
2698
2698
|
)
|
|
2699
2699
|
), c = f.getOptimisticResult(i), l = !o && e.subscribed !== !1;
|
|
2700
|
-
if (
|
|
2701
|
-
|
|
2700
|
+
if (S.useSyncExternalStore(
|
|
2701
|
+
S.useCallback(
|
|
2702
2702
|
(d) => {
|
|
2703
2703
|
const h = l ? f.subscribe(Ht.batchCalls(d)) : _s;
|
|
2704
2704
|
return f.updateResult(), h;
|
|
@@ -2707,7 +2707,7 @@ function B8(e, t, n) {
|
|
|
2707
2707
|
),
|
|
2708
2708
|
() => f.getCurrentResult(),
|
|
2709
2709
|
() => f.getCurrentResult()
|
|
2710
|
-
),
|
|
2710
|
+
), S.useEffect(() => {
|
|
2711
2711
|
f.setOptions(i, { listeners: !1 });
|
|
2712
2712
|
}, [i, f]), Z0(i, c))
|
|
2713
2713
|
throw Ms(i, f, u);
|
|
@@ -2741,23 +2741,23 @@ function kt(e, t) {
|
|
|
2741
2741
|
return B8(e, vf);
|
|
2742
2742
|
}
|
|
2743
2743
|
function Xn(e, t) {
|
|
2744
|
-
const n = Wt(), [r] =
|
|
2744
|
+
const n = Wt(), [r] = S.useState(
|
|
2745
2745
|
() => new FF(
|
|
2746
2746
|
n,
|
|
2747
2747
|
e
|
|
2748
2748
|
)
|
|
2749
2749
|
);
|
|
2750
|
-
|
|
2750
|
+
S.useEffect(() => {
|
|
2751
2751
|
r.setOptions(e);
|
|
2752
2752
|
}, [r, e]);
|
|
2753
|
-
const o =
|
|
2754
|
-
|
|
2753
|
+
const o = S.useSyncExternalStore(
|
|
2754
|
+
S.useCallback(
|
|
2755
2755
|
(i) => r.subscribe(Ht.batchCalls(i)),
|
|
2756
2756
|
[r]
|
|
2757
2757
|
),
|
|
2758
2758
|
() => r.getCurrentResult(),
|
|
2759
2759
|
() => r.getCurrentResult()
|
|
2760
|
-
), u =
|
|
2760
|
+
), u = S.useCallback(
|
|
2761
2761
|
(i, s) => {
|
|
2762
2762
|
r.mutate(i, s).catch(_s);
|
|
2763
2763
|
},
|
|
@@ -4387,8 +4387,8 @@ const Cm = async (e) => {
|
|
|
4387
4387
|
const g = oc && (c === "stream" || c === "response");
|
|
4388
4388
|
if (oc && (s || g && A)) {
|
|
4389
4389
|
const b = {};
|
|
4390
|
-
["status", "statusText", "headers"].forEach((
|
|
4391
|
-
b[
|
|
4390
|
+
["status", "statusText", "headers"].forEach((I) => {
|
|
4391
|
+
b[I] = m[I];
|
|
4392
4392
|
});
|
|
4393
4393
|
const B = ee.toFiniteNumber(m.headers.get("content-length")), [v, y] = s && vd(
|
|
4394
4394
|
B,
|
|
@@ -5259,15 +5259,15 @@ function up() {
|
|
|
5259
5259
|
function b(y) {
|
|
5260
5260
|
try {
|
|
5261
5261
|
v(h.next(y));
|
|
5262
|
-
} catch (
|
|
5263
|
-
E(
|
|
5262
|
+
} catch (I) {
|
|
5263
|
+
E(I);
|
|
5264
5264
|
}
|
|
5265
5265
|
}
|
|
5266
5266
|
function B(y) {
|
|
5267
5267
|
try {
|
|
5268
5268
|
v(h.throw(y));
|
|
5269
|
-
} catch (
|
|
5270
|
-
E(
|
|
5269
|
+
} catch (I) {
|
|
5270
|
+
E(I);
|
|
5271
5271
|
}
|
|
5272
5272
|
}
|
|
5273
5273
|
function v(y) {
|
|
@@ -5387,7 +5387,7 @@ function up() {
|
|
|
5387
5387
|
};
|
|
5388
5388
|
}, l = function(p, A, d, h, m) {
|
|
5389
5389
|
return e(void 0, void 0, void 0, function() {
|
|
5390
|
-
var g, E, b, B, v, y,
|
|
5390
|
+
var g, E, b, B, v, y, I;
|
|
5391
5391
|
return t(this, function(L) {
|
|
5392
5392
|
switch (L.label) {
|
|
5393
5393
|
case 0:
|
|
@@ -5397,7 +5397,7 @@ function up() {
|
|
|
5397
5397
|
atToken: (B = E == null ? void 0 : E.data.at) === null || B === void 0 ? void 0 : B.token,
|
|
5398
5398
|
expiryTime: (v = E == null ? void 0 : E.data.at) === null || v === void 0 ? void 0 : v.expires_at,
|
|
5399
5399
|
userId: (y = E == null ? void 0 : E.data) === null || y === void 0 ? void 0 : y.user_id,
|
|
5400
|
-
userGroupId: (
|
|
5400
|
+
userGroupId: (I = E == null ? void 0 : E.data) === null || I === void 0 ? void 0 : I.usergroup_id
|
|
5401
5401
|
}];
|
|
5402
5402
|
case 2:
|
|
5403
5403
|
return [2, {}];
|
|
@@ -5414,7 +5414,7 @@ function up() {
|
|
|
5414
5414
|
fr.getAccessToken = l;
|
|
5415
5415
|
var D = function(p, A, d, h, m, g) {
|
|
5416
5416
|
return e(void 0, void 0, void 0, function() {
|
|
5417
|
-
var E, b, B, v, y,
|
|
5417
|
+
var E, b, B, v, y, I, L;
|
|
5418
5418
|
return t(this, function(j) {
|
|
5419
5419
|
switch (j.label) {
|
|
5420
5420
|
case 0:
|
|
@@ -5425,7 +5425,7 @@ function up() {
|
|
|
5425
5425
|
return b = j.sent(), [2, {
|
|
5426
5426
|
userId: (v = b == null ? void 0 : b.data) === null || v === void 0 ? void 0 : v.user_id,
|
|
5427
5427
|
userGroupId: (y = b == null ? void 0 : b.data) === null || y === void 0 ? void 0 : y.usergroup_id,
|
|
5428
|
-
atToken: (
|
|
5428
|
+
atToken: (I = b == null ? void 0 : b.data.at) === null || I === void 0 ? void 0 : I.token,
|
|
5429
5429
|
expiryTime: (L = b == null ? void 0 : b.data.at) === null || L === void 0 ? void 0 : L.expires_at
|
|
5430
5430
|
}];
|
|
5431
5431
|
case 3:
|
|
@@ -5620,22 +5620,22 @@ function ap() {
|
|
|
5620
5620
|
});
|
|
5621
5621
|
}
|
|
5622
5622
|
return new (h || (h = Promise))(function(E, b) {
|
|
5623
|
-
function B(
|
|
5623
|
+
function B(I) {
|
|
5624
5624
|
try {
|
|
5625
|
-
y(m.next(
|
|
5625
|
+
y(m.next(I));
|
|
5626
5626
|
} catch (L) {
|
|
5627
5627
|
b(L);
|
|
5628
5628
|
}
|
|
5629
5629
|
}
|
|
5630
|
-
function v(
|
|
5630
|
+
function v(I) {
|
|
5631
5631
|
try {
|
|
5632
|
-
y(m.throw(
|
|
5632
|
+
y(m.throw(I));
|
|
5633
5633
|
} catch (L) {
|
|
5634
5634
|
b(L);
|
|
5635
5635
|
}
|
|
5636
5636
|
}
|
|
5637
|
-
function y(
|
|
5638
|
-
|
|
5637
|
+
function y(I) {
|
|
5638
|
+
I.done ? E(I.value) : g(I.value).then(B, v);
|
|
5639
5639
|
}
|
|
5640
5640
|
y((m = m.apply(A, d || [])).next());
|
|
5641
5641
|
});
|
|
@@ -5648,8 +5648,8 @@ function ap() {
|
|
|
5648
5648
|
return this;
|
|
5649
5649
|
}), b;
|
|
5650
5650
|
function B(y) {
|
|
5651
|
-
return function(
|
|
5652
|
-
return v([y,
|
|
5651
|
+
return function(I) {
|
|
5652
|
+
return v([y, I]);
|
|
5653
5653
|
};
|
|
5654
5654
|
}
|
|
5655
5655
|
function v(y) {
|
|
@@ -5690,8 +5690,8 @@ function ap() {
|
|
|
5690
5690
|
continue;
|
|
5691
5691
|
}
|
|
5692
5692
|
y = d.call(A, h);
|
|
5693
|
-
} catch (
|
|
5694
|
-
y = [6,
|
|
5693
|
+
} catch (I) {
|
|
5694
|
+
y = [6, I], g = 0;
|
|
5695
5695
|
} finally {
|
|
5696
5696
|
m = E = 0;
|
|
5697
5697
|
}
|
|
@@ -5702,7 +5702,7 @@ function ap() {
|
|
|
5702
5702
|
Object.defineProperty(ya, "__esModule", { value: !0 }), ya.fetchAccessToken = void 0;
|
|
5703
5703
|
var n = up(), r = Pr, o = At, u = Rf, i = lu, s, f, c, l = function(A, d, h, m, g, E) {
|
|
5704
5704
|
return E === void 0 && (E = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
|
|
5705
|
-
var b, B, v, y,
|
|
5705
|
+
var b, B, v, y, I, L, j, k, T;
|
|
5706
5706
|
return t(this, function(O) {
|
|
5707
5707
|
switch (O.label) {
|
|
5708
5708
|
case 0:
|
|
@@ -5718,7 +5718,7 @@ function ap() {
|
|
|
5718
5718
|
case 5:
|
|
5719
5719
|
return [4, (0, n.getLoginToken)(B, r.CONFIG_HIVER, A, m, d.userId, d.usergroupId)];
|
|
5720
5720
|
case 6:
|
|
5721
|
-
return v = O.sent(), y = v.userId,
|
|
5721
|
+
return v = O.sent(), y = v.userId, I = v.userGroupId, L = v.atToken, j = v.expiryTime, (0, o.setTokenAndExpiry)(L, j), (0, o.setUserDetails)(y, I), [3, 12];
|
|
5722
5722
|
case 7:
|
|
5723
5723
|
k = O.sent(), console.log("ERROR debug: in error login:", k, E), T = h, O.label = 8;
|
|
5724
5724
|
case 8:
|
|
@@ -5740,8 +5740,8 @@ function ap() {
|
|
|
5740
5740
|
return t(this, function(y) {
|
|
5741
5741
|
switch (y.label) {
|
|
5742
5742
|
case 0:
|
|
5743
|
-
return d < r.MAX_CONFLICT_RETRY_DELAY ? [4, new Promise(function(
|
|
5744
|
-
return setTimeout(
|
|
5743
|
+
return d < r.MAX_CONFLICT_RETRY_DELAY ? [4, new Promise(function(I) {
|
|
5744
|
+
return setTimeout(I, A);
|
|
5745
5745
|
})] : [3, 3];
|
|
5746
5746
|
case 1:
|
|
5747
5747
|
return y.sent(), d += A, A * 2 <= r.MAX_BACKOFF_LIMIT ? A *= 2 : A = r.MAX_BACKOFF_LIMIT, E = h.retryDelay, b = h.configs, B = h.apiParams, v = h.appUI, [4, C(E, A, d, b, B, m, g, v)];
|
|
@@ -5754,13 +5754,13 @@ function ap() {
|
|
|
5754
5754
|
});
|
|
5755
5755
|
}, C = function(A, d, h, m, g, E, b, B, v) {
|
|
5756
5756
|
return B === void 0 && (B = "default"), e(void 0, void 0, void 0, function() {
|
|
5757
|
-
var y,
|
|
5757
|
+
var y, I, L, j, k, T, O, N, M, z, Z, X, G, q;
|
|
5758
5758
|
return t(this, function(J) {
|
|
5759
5759
|
switch (J.label) {
|
|
5760
5760
|
case 0:
|
|
5761
5761
|
return J.trys.push([0, 2, , 12]), [4, (0, n.getAccessToken)(r.CONFIG_HIVER, m, g, E, B)];
|
|
5762
5762
|
case 1:
|
|
5763
|
-
return y = J.sent(),
|
|
5763
|
+
return y = J.sent(), I = y.atToken, L = y.expiryTime, j = y.userId, k = y.userGroupId, I && L && (0, o.setTokenAndExpiry)(I, L), j && k && (0, o.setUserDetails)(j, k), A = r.INITIAL_RETRY_DELAY, d = r.INITIAL_RETRY_DELAY, h = 0, [3, 12];
|
|
5764
5764
|
case 2:
|
|
5765
5765
|
return T = J.sent(), console.log("ERROR: Heimdall fetch token", T), ((M = T.response) === null || M === void 0 ? void 0 : M.status) === 401 || ((z = T.request) === null || z === void 0 ? void 0 : z.status) === 401 ? (O = 1, [4, l(m, g, O, E, b, v)]) : [3, 4];
|
|
5766
5766
|
case 3:
|
|
@@ -5793,7 +5793,7 @@ function ap() {
|
|
|
5793
5793
|
});
|
|
5794
5794
|
}, F = function(A, d, h, m, g, E, b, B) {
|
|
5795
5795
|
return h === void 0 && (h = r.INITIAL_RETRY_DELAY), m === void 0 && (m = r.INITIAL_RETRY_DELAY), e(void 0, void 0, void 0, function() {
|
|
5796
|
-
var v, y,
|
|
5796
|
+
var v, y, I;
|
|
5797
5797
|
return t(this, function(L) {
|
|
5798
5798
|
switch (L.label) {
|
|
5799
5799
|
case 0:
|
|
@@ -5807,7 +5807,7 @@ function ap() {
|
|
|
5807
5807
|
case 3:
|
|
5808
5808
|
return [3, 5];
|
|
5809
5809
|
case 4:
|
|
5810
|
-
throw
|
|
5810
|
+
throw I = L.sent(), I;
|
|
5811
5811
|
case 5:
|
|
5812
5812
|
return [2];
|
|
5813
5813
|
}
|
|
@@ -5815,24 +5815,24 @@ function ap() {
|
|
|
5815
5815
|
});
|
|
5816
5816
|
}, p = function(A, d, h, m, g, E, b) {
|
|
5817
5817
|
return e(void 0, void 0, void 0, function() {
|
|
5818
|
-
var B, v, y,
|
|
5818
|
+
var B, v, y, I, L, j;
|
|
5819
5819
|
return t(this, function(k) {
|
|
5820
5820
|
switch (k.label) {
|
|
5821
5821
|
case 0:
|
|
5822
|
-
s = A, f = d, B = r.INITIAL_RETRY_DELAY, v = r.INITIAL_RETRY_DELAY, y = 0,
|
|
5822
|
+
s = A, f = d, B = r.INITIAL_RETRY_DELAY, v = r.INITIAL_RETRY_DELAY, y = 0, I = (0, o.getConfig)(s, f), k.label = 1;
|
|
5823
5823
|
case 1:
|
|
5824
5824
|
return k.trys.push([1, 3, , 4]), [4, (0, i.coalesceTokenFetch)((0, i.buildTokenFetchKey)(h.userId, h.usergroupId, m), function() {
|
|
5825
|
-
return C(B, v, y,
|
|
5825
|
+
return C(B, v, y, I, h, m, g, E, b);
|
|
5826
5826
|
})];
|
|
5827
5827
|
case 2:
|
|
5828
5828
|
return k.sent(), clearInterval(c), c = setInterval(function() {
|
|
5829
|
-
return F(
|
|
5829
|
+
return F(I, h, r.INITIAL_RETRY_DELAY, r.INITIAL_RETRY_DELAY, 0, m, g, b);
|
|
5830
5830
|
}, r.REFETCH_CHECK_DELAY), L = function() {
|
|
5831
5831
|
return e(void 0, void 0, void 0, function() {
|
|
5832
5832
|
return t(this, function(T) {
|
|
5833
5833
|
switch (T.label) {
|
|
5834
5834
|
case 0:
|
|
5835
|
-
return [4, F(
|
|
5835
|
+
return [4, F(I, h, r.INITIAL_RETRY_DELAY, r.INITIAL_RETRY_DELAY, 0, m, g, b)];
|
|
5836
5836
|
case 1:
|
|
5837
5837
|
return T.sent(), [2];
|
|
5838
5838
|
}
|
|
@@ -5868,22 +5868,22 @@ function ip() {
|
|
|
5868
5868
|
});
|
|
5869
5869
|
}
|
|
5870
5870
|
return new (h || (h = Promise))(function(E, b) {
|
|
5871
|
-
function B(
|
|
5871
|
+
function B(I) {
|
|
5872
5872
|
try {
|
|
5873
|
-
y(m.next(
|
|
5873
|
+
y(m.next(I));
|
|
5874
5874
|
} catch (L) {
|
|
5875
5875
|
b(L);
|
|
5876
5876
|
}
|
|
5877
5877
|
}
|
|
5878
|
-
function v(
|
|
5878
|
+
function v(I) {
|
|
5879
5879
|
try {
|
|
5880
|
-
y(m.throw(
|
|
5880
|
+
y(m.throw(I));
|
|
5881
5881
|
} catch (L) {
|
|
5882
5882
|
b(L);
|
|
5883
5883
|
}
|
|
5884
5884
|
}
|
|
5885
|
-
function y(
|
|
5886
|
-
|
|
5885
|
+
function y(I) {
|
|
5886
|
+
I.done ? E(I.value) : g(I.value).then(B, v);
|
|
5887
5887
|
}
|
|
5888
5888
|
y((m = m.apply(A, d || [])).next());
|
|
5889
5889
|
});
|
|
@@ -5896,8 +5896,8 @@ function ip() {
|
|
|
5896
5896
|
return this;
|
|
5897
5897
|
}), b;
|
|
5898
5898
|
function B(y) {
|
|
5899
|
-
return function(
|
|
5900
|
-
return v([y,
|
|
5899
|
+
return function(I) {
|
|
5900
|
+
return v([y, I]);
|
|
5901
5901
|
};
|
|
5902
5902
|
}
|
|
5903
5903
|
function v(y) {
|
|
@@ -5938,8 +5938,8 @@ function ip() {
|
|
|
5938
5938
|
continue;
|
|
5939
5939
|
}
|
|
5940
5940
|
y = d.call(A, h);
|
|
5941
|
-
} catch (
|
|
5942
|
-
y = [6,
|
|
5941
|
+
} catch (I) {
|
|
5942
|
+
y = [6, I], g = 0;
|
|
5943
5943
|
} finally {
|
|
5944
5944
|
m = E = 0;
|
|
5945
5945
|
}
|
|
@@ -5986,13 +5986,13 @@ function ip() {
|
|
|
5986
5986
|
function p(A, d, h, m, g) {
|
|
5987
5987
|
var E, b, B, v;
|
|
5988
5988
|
return g === void 0 && (g = 0), t(this, void 0, void 0, function() {
|
|
5989
|
-
var y,
|
|
5989
|
+
var y, I, L, j, k, T, O, N;
|
|
5990
5990
|
return n(this, function(M) {
|
|
5991
5991
|
switch (M.label) {
|
|
5992
5992
|
case 0:
|
|
5993
5993
|
if (M.trys.push([0, 4, , 5]), !(h.getToken && !(0, o.hasValidToken)(d))) return [3, 2];
|
|
5994
|
-
if (y = A.appEnv,
|
|
5995
|
-
throw Error("appEnv or tier missing : ".concat(y, "/").concat(
|
|
5994
|
+
if (y = A.appEnv, I = A.tier, !y || !I)
|
|
5995
|
+
throw Error("appEnv or tier missing : ".concat(y, "/").concat(I));
|
|
5996
5996
|
return "userId" in d && "usergroupId" in d ? (L = {
|
|
5997
5997
|
userId: d.userId,
|
|
5998
5998
|
usergroupId: d.usergroupId
|
|
@@ -6489,15 +6489,15 @@ function cp() {
|
|
|
6489
6489
|
function b(y) {
|
|
6490
6490
|
try {
|
|
6491
6491
|
v(h.next(y));
|
|
6492
|
-
} catch (
|
|
6493
|
-
E(
|
|
6492
|
+
} catch (I) {
|
|
6493
|
+
E(I);
|
|
6494
6494
|
}
|
|
6495
6495
|
}
|
|
6496
6496
|
function B(y) {
|
|
6497
6497
|
try {
|
|
6498
6498
|
v(h.throw(y));
|
|
6499
|
-
} catch (
|
|
6500
|
-
E(
|
|
6499
|
+
} catch (I) {
|
|
6500
|
+
E(I);
|
|
6501
6501
|
}
|
|
6502
6502
|
}
|
|
6503
6503
|
function v(y) {
|
|
@@ -6568,7 +6568,7 @@ function cp() {
|
|
|
6568
6568
|
Object.defineProperty(wa, "__esModule", { value: !0 }), wa.fetchToken = void 0;
|
|
6569
6569
|
var n = WE(), r = _t, o = Tt, u = lu, i, s, f, c = function(p, A, d, h) {
|
|
6570
6570
|
return h === void 0 && (h = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
|
|
6571
|
-
var m, g, E, b, B, v, y,
|
|
6571
|
+
var m, g, E, b, B, v, y, I, L;
|
|
6572
6572
|
return t(this, function(j) {
|
|
6573
6573
|
switch (j.label) {
|
|
6574
6574
|
case 0:
|
|
@@ -6580,7 +6580,7 @@ function cp() {
|
|
|
6580
6580
|
case 3:
|
|
6581
6581
|
return E = j.sent(), b = E.userId, B = E.userGroupId, v = E.atToken, y = E.expiryTime, (0, o.setTokenAndExpiry)(v, y), (0, o.setUserDetails)(b, B), [3, 9];
|
|
6582
6582
|
case 4:
|
|
6583
|
-
|
|
6583
|
+
I = j.sent(), console.log("ERROR debug: in error login:", I, h), L = A, j.label = 5;
|
|
6584
6584
|
case 5:
|
|
6585
6585
|
return L < m ? [4, c(p, L + 1, d, h)] : [3, 8];
|
|
6586
6586
|
case 6:
|
|
@@ -6588,7 +6588,7 @@ function cp() {
|
|
|
6588
6588
|
case 7:
|
|
6589
6589
|
return L++, [3, 5];
|
|
6590
6590
|
case 8:
|
|
6591
|
-
throw
|
|
6591
|
+
throw I;
|
|
6592
6592
|
case 9:
|
|
6593
6593
|
return [2];
|
|
6594
6594
|
}
|
|
@@ -6614,13 +6614,13 @@ function cp() {
|
|
|
6614
6614
|
});
|
|
6615
6615
|
}, D = function(p, A, d, h, m, g, E) {
|
|
6616
6616
|
return g === void 0 && (g = "default"), e(void 0, void 0, void 0, function() {
|
|
6617
|
-
var b, B, v, y,
|
|
6617
|
+
var b, B, v, y, I, L, j, k, T, O, N, M, z, Z;
|
|
6618
6618
|
return t(this, function(X) {
|
|
6619
6619
|
switch (X.label) {
|
|
6620
6620
|
case 0:
|
|
6621
6621
|
return X.trys.push([0, 2, , 12]), [4, (0, n.getAccessToken)(r.CONFIG_HIVER, h, m, g)];
|
|
6622
6622
|
case 1:
|
|
6623
|
-
return b = X.sent(), B = b.atToken, v = b.expiryTime, y = b.userId,
|
|
6623
|
+
return b = X.sent(), B = b.atToken, v = b.expiryTime, y = b.userId, I = b.userGroupId, B && v && (0, o.setTokenAndExpiry)(B, v), y && I && (0, o.setUserDetails)(y, I), p = r.INITIAL_RETRY_DELAY, A = r.INITIAL_RETRY_DELAY, d = 0, [3, 12];
|
|
6624
6624
|
case 2:
|
|
6625
6625
|
return L = X.sent(), ((T = L.response) === null || T === void 0 ? void 0 : T.status) === 401 || ((O = L.request) === null || O === void 0 ? void 0 : O.status) === 401 ? (j = 1, [4, c(h, j, m, E)]) : [3, 4];
|
|
6626
6626
|
case 3:
|
|
@@ -6676,16 +6676,16 @@ function cp() {
|
|
|
6676
6676
|
}, F = function(p, A, d, h, m, g) {
|
|
6677
6677
|
return e(void 0, void 0, void 0, function() {
|
|
6678
6678
|
var E, b, B, v, y;
|
|
6679
|
-
return t(this, function(
|
|
6680
|
-
switch (
|
|
6679
|
+
return t(this, function(I) {
|
|
6680
|
+
switch (I.label) {
|
|
6681
6681
|
case 0:
|
|
6682
|
-
i = p, s = A, E = r.INITIAL_RETRY_DELAY, b = r.INITIAL_RETRY_DELAY, B = 0, v = (0, o.getConfig)(i, s, h),
|
|
6682
|
+
i = p, s = A, E = r.INITIAL_RETRY_DELAY, b = r.INITIAL_RETRY_DELAY, B = 0, v = (0, o.getConfig)(i, s, h), I.label = 1;
|
|
6683
6683
|
case 1:
|
|
6684
|
-
return
|
|
6684
|
+
return I.trys.push([1, 3, , 4]), [4, (0, u.coalesceTokenFetch)((0, u.buildTokenFetchKey)(d.userId, d.usergroupId, d.tenant), function() {
|
|
6685
6685
|
return D(E, b, B, v, d, m, g);
|
|
6686
6686
|
})];
|
|
6687
6687
|
case 2:
|
|
6688
|
-
return
|
|
6688
|
+
return I.sent(), clearInterval(f), f = setInterval(function() {
|
|
6689
6689
|
return C(v, d);
|
|
6690
6690
|
}, r.REFETCH_CHECK_DELAY), window.addEventListener("online", function() {
|
|
6691
6691
|
return e(void 0, void 0, void 0, function() {
|
|
@@ -6700,7 +6700,7 @@ function cp() {
|
|
|
6700
6700
|
});
|
|
6701
6701
|
}), [3, 4];
|
|
6702
6702
|
case 3:
|
|
6703
|
-
throw y =
|
|
6703
|
+
throw y = I.sent(), y;
|
|
6704
6704
|
case 4:
|
|
6705
6705
|
return [2];
|
|
6706
6706
|
}
|
|
@@ -6731,15 +6731,15 @@ function lp() {
|
|
|
6731
6731
|
function b(y) {
|
|
6732
6732
|
try {
|
|
6733
6733
|
v(h.next(y));
|
|
6734
|
-
} catch (
|
|
6735
|
-
E(
|
|
6734
|
+
} catch (I) {
|
|
6735
|
+
E(I);
|
|
6736
6736
|
}
|
|
6737
6737
|
}
|
|
6738
6738
|
function B(y) {
|
|
6739
6739
|
try {
|
|
6740
6740
|
v(h.throw(y));
|
|
6741
|
-
} catch (
|
|
6742
|
-
E(
|
|
6741
|
+
} catch (I) {
|
|
6742
|
+
E(I);
|
|
6743
6743
|
}
|
|
6744
6744
|
}
|
|
6745
6745
|
function v(y) {
|
|
@@ -6836,7 +6836,7 @@ function lp() {
|
|
|
6836
6836
|
function F(p, A, d, h) {
|
|
6837
6837
|
var m, g;
|
|
6838
6838
|
return h === void 0 && (h = 0), t(this, void 0, void 0, function() {
|
|
6839
|
-
var E, b, B, v, y,
|
|
6839
|
+
var E, b, B, v, y, I;
|
|
6840
6840
|
return n(this, function(L) {
|
|
6841
6841
|
switch (L.label) {
|
|
6842
6842
|
case 0:
|
|
@@ -6855,9 +6855,9 @@ function lp() {
|
|
|
6855
6855
|
case 3:
|
|
6856
6856
|
return v = L.sent(), p.onSuccess && p.onSuccess(v), [2, v];
|
|
6857
6857
|
case 4:
|
|
6858
|
-
if (y = L.sent(),
|
|
6858
|
+
if (y = L.sent(), I = ((m = y.response) === null || m === void 0 ? void 0 : m.status) === 403 || ((g = y.request) === null || g === void 0 ? void 0 : g.status) === 403, h < f && I)
|
|
6859
6859
|
return (0, o.expireToken)(), [2, F(p, A, d, h + 1)];
|
|
6860
|
-
if (h >= f &&
|
|
6860
|
+
if (h >= f && I || !I)
|
|
6861
6861
|
throw p.onFail && p.onFail(y), console.log("ERROR: Reached make Axios", y), y;
|
|
6862
6862
|
return [3, 5];
|
|
6863
6863
|
case 5:
|
|
@@ -6879,15 +6879,15 @@ function lp() {
|
|
|
6879
6879
|
function b(y) {
|
|
6880
6880
|
try {
|
|
6881
6881
|
v(h.next(y));
|
|
6882
|
-
} catch (
|
|
6883
|
-
E(
|
|
6882
|
+
} catch (I) {
|
|
6883
|
+
E(I);
|
|
6884
6884
|
}
|
|
6885
6885
|
}
|
|
6886
6886
|
function B(y) {
|
|
6887
6887
|
try {
|
|
6888
6888
|
v(h.throw(y));
|
|
6889
|
-
} catch (
|
|
6890
|
-
E(
|
|
6889
|
+
} catch (I) {
|
|
6890
|
+
E(I);
|
|
6891
6891
|
}
|
|
6892
6892
|
}
|
|
6893
6893
|
function v(y) {
|
|
@@ -7102,7 +7102,7 @@ const $n = {
|
|
|
7102
7102
|
isHiverApiDomain: !0
|
|
7103
7103
|
},
|
|
7104
7104
|
withCredentials: !0
|
|
7105
|
-
}), VE = (e) => /* @__PURE__ */
|
|
7105
|
+
}), VE = (e) => /* @__PURE__ */ S.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ S.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "var(--connector-neutral-icon, #343C45)" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ S.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), zE = (e) => /* @__PURE__ */ S.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ S.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ S.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ S.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), wl = (e) => /* @__PURE__ */ S.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ S.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "var(--connector-neutral-icon, #6F7C90)" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ S.createElement("rect", { width: 24, height: 24, fill: "white" })))), XE = "Rate your experience with Hiver Apps", ZE = "Share feedback on Apps", JE = "Got any feedback?", Dp = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", KE = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", YE = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", qE = "enable_connectors_clicked", $E = "learn_more_clicked", eb = "connector_card_expand_clicked", tb = "connector_card_collapsed_clicked", nb = "connector_card_refresh_clicked", rb = "connector_cards_loaded", ob = "connector_whats_new_card_viewed", ub = "connector_whats_new_explore_now_clicked", ab = "connector_whats_new_learn_more_clicked", ib = "connector_whats_new_dismissed", sb = "connector_create_new_object_clicked", fb = "connector_link_new_object_clicked", cb = "connector_new_object_created_by_form", dp = "connector_new_object_linked_by_form", lb = "connector_object_unlinked_by_form", Ap = "connector_link_preview_clicked", Db = "connector_create_panel_cancel_clicked", Pd = "connector_create_panel_back_clicked", db = "card_loaded_on_click", Ab = "card_loaded", pb = "schedule_call_clicked", hb = "schedule_call_cross_clicked", pp = "CONNECTOR_EDIT_CLICKED", gb = "CONNECTOR_EDIT_REQUEST_SEND", Cb = "CONNECTOR_EDIT_CANCELLED", Qd = "CONNECTOR_EDIT_BACK_CLICKED", Fb = "CONNECTOR_EDIT_SUCCESS", mb = "connector_video_clicked", Eb = "connector_card_error", sc = "got_any_feedback_clicked", bb = "connector_deeplink_clicked", xb = "search_bar_tapped", vb = "search_suggestions_selected", yb = "search_initiated", Bb = "no_results_found", wb = "search_results_found", Ib = "search_result_selected", Sb = "search_result_linked", kb = "feedback_closed_clicked", Tb = "help_btn_clicked", Lb = "connector_chat_support_clicked", Rb = "add_custom_field_clicked", Ob = "add_custom_field_success", Nb = "update_custom_field_success", Hd = "clicked_on_lookup_config", jb = "id_lookup_options_shown", _b = "id_lookup_option_selected", Mb = "id_lookup_card_result", k1 = "related_records_lookup_result", Pb = "clicked_on_lookup_field", Qb = "saved_lookup_config", Hb = "settings_defaults_modal_opened", Ub = "defaults_configuration_saved", Wb = "connector_form_attachments_submitted", Gb = "connector_card_attachment_preview_failed", Il = "slack_connect_initiated", Sl = "slack_connect_success", kl = "slack_connect_failed", hp = "slack_start_clicked", Vb = "slack_start_suboption_selected", gp = "slack_existing_channel_linked", zb = "slack_new_channel_linked", Xb = "slack_reply_sent", fc = "slack_older_messages_loaded", Cp = "slack_link_existing_clicked", Zb = "slack_existing_thread_linked", Fp = "slack_conversation_unlinked", Jb = "slack_link_switched", Kb = "pm_link_panel_opened", Ud = "pm_link_level_selected", Yb = "pm_link_task_searched", qb = "pm_link_result_selected", $b = "pm_link_task_linked", T1 = "pm_link_failed", e7 = {
|
|
7106
7106
|
userEmail: "",
|
|
7107
7107
|
email: "",
|
|
7108
7108
|
baseUrls: {},
|
|
@@ -7194,7 +7194,7 @@ const $n = {
|
|
|
7194
7194
|
function Zd(e, t) {
|
|
7195
7195
|
return e.length > t ? e.substring(0, t) + "..." : e;
|
|
7196
7196
|
}
|
|
7197
|
-
const N7 = (e) => /* @__PURE__ */
|
|
7197
|
+
const N7 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_1187_180)" }, /* @__PURE__ */ S.createElement("path", { d: "M18.3333 7.81995L12.3417 7.30329L10 1.78662L7.65833 7.31162L1.66666 7.81995L6.21666 11.7616L4.85 17.62L10 14.5116L15.15 17.62L13.7917 11.7616L18.3333 7.81995ZM10 12.9533L6.86666 14.845L7.7 11.2783L4.93333 8.87829L8.58333 8.56162L10 5.20329L11.425 8.56995L15.075 8.88662L12.3083 11.2866L13.1417 14.8533L10 12.9533Z", fill: "var(--connector-neutral-icon, #4D596C)" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_1187_180" }, /* @__PURE__ */ S.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0 0.120117)" })))), j7 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 21, height: 20, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_847_49587)" }, /* @__PURE__ */ S.createElement("path", { d: "M10.6668 14.392L15.8168 17.5003L14.4502 11.642L19.0002 7.70033L13.0085 7.19199L10.6668 1.66699L8.32516 7.19199L2.3335 7.70033L6.8835 11.642L5.51683 17.5003L10.6668 14.392Z", fill: "#FFE250" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_847_49587" }, /* @__PURE__ */ S.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0.666992)" })))), _7 = fl`
|
|
7198
7198
|
from {
|
|
7199
7199
|
transform: translateY(-100%);
|
|
7200
7200
|
opacity: 0;
|
|
@@ -7511,9 +7511,9 @@ const N7 = (e) => /* @__PURE__ */ I.createElement("svg", { width: 20, height: 21
|
|
|
7511
7511
|
J7
|
|
7512
7512
|
] }) })
|
|
7513
7513
|
] });
|
|
7514
|
-
}, kp = (e) => /* @__PURE__ */
|
|
7514
|
+
}, kp = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("mask", { id: "mask0_4649_80352", style: {
|
|
7515
7515
|
maskType: "alpha"
|
|
7516
|
-
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 20, height: 21 }, /* @__PURE__ */
|
|
7516
|
+
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 20, height: 21 }, /* @__PURE__ */ S.createElement("rect", { y: 0.320312, width: 20, height: 20, fill: "#D9D9D9" })), /* @__PURE__ */ S.createElement("g", { mask: "url(#mask0_4649_80352)" }, /* @__PURE__ */ S.createElement("path", { d: "M9.16797 14.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013 18.654C8.84852 18.654 7.76519 18.4352 6.7513 17.9977C5.73741 17.5602 4.85547 16.9665 4.10547 16.2165C3.35547 15.4665 2.76172 14.5845 2.32422 13.5706C1.88672 12.5567 1.66797 11.4734 1.66797 10.3206C1.66797 9.16786 1.88672 8.08453 2.32422 7.07064C2.76172 6.05675 3.35547 5.1748 4.10547 4.4248C4.85547 3.6748 5.73741 3.08105 6.7513 2.64355C7.76519 2.20605 8.84852 1.9873 10.0013 1.9873C11.1541 1.9873 12.2374 2.20605 13.2513 2.64355C14.2652 3.08105 15.1471 3.6748 15.8971 4.4248C16.6471 5.1748 17.2409 6.05675 17.6784 7.07064C18.1159 8.08453 18.3346 9.16786 18.3346 10.3206C18.3346 11.4734 18.1159 12.5567 17.6784 13.5706C17.2409 14.5845 16.6471 15.4665 15.8971 16.2165C15.1471 16.9665 14.2652 17.5602 13.2513 17.9977C12.2374 18.4352 11.1541 18.654 10.0013 18.654ZM10.0013 16.9873C11.8624 16.9873 13.4388 16.3415 14.7305 15.0498C16.0221 13.7581 16.668 12.1817 16.668 10.3206C16.668 8.45953 16.0221 6.88314 14.7305 5.59147C13.4388 4.2998 11.8624 3.65397 10.0013 3.65397C8.14019 3.65397 6.5638 4.2998 5.27214 5.59147C3.98047 6.88314 3.33464 8.45953 3.33464 10.3206C3.33464 12.1817 3.98047 13.7581 5.27214 15.0498C6.5638 16.3415 8.14019 16.9873 10.0013 16.9873Z", fill: "var(--connector-neutral-icon, #4D596C)" }))), _l = (e) => /* @__PURE__ */ S.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_8444_63907)" }, /* @__PURE__ */ S.createElement("path", { d: "M7.99967 13.333L8.93967 12.393L5.21968 8.66634H13.333V7.33301L5.21968 7.33301L8.93967 3.60634L7.99967 2.66634L2.66634 7.99967L7.99967 13.333Z", fill: "currentColor" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_8444_63907" }, /* @__PURE__ */ S.createElement("rect", { width: 16, height: 16, fill: "white", transform: "matrix(-1 0 0 -1 16 16)" })))), ux = (e) => /* @__PURE__ */ S.createElement("svg", { width: 21, height: 21, viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_1012_80924)" }, /* @__PURE__ */ S.createElement("path", { d: "M9.66663 15.1202H11.3333V13.4535H9.66663V15.1202ZM10.5 1.78687C5.89996 1.78687 2.16663 5.5202 2.16663 10.1202C2.16663 14.7202 5.89996 18.4535 10.5 18.4535C15.1 18.4535 18.8333 14.7202 18.8333 10.1202C18.8333 5.5202 15.1 1.78687 10.5 1.78687ZM10.5 16.7869C6.82496 16.7869 3.83329 13.7952 3.83329 10.1202C3.83329 6.4452 6.82496 3.45353 10.5 3.45353C14.175 3.45353 17.1666 6.4452 17.1666 10.1202C17.1666 13.7952 14.175 16.7869 10.5 16.7869ZM10.5 5.1202C8.65829 5.1202 7.16663 6.61187 7.16663 8.45353H8.83329C8.83329 7.53687 9.58329 6.78687 10.5 6.78687C11.4166 6.78687 12.1666 7.53687 12.1666 8.45353C12.1666 10.1202 9.66663 9.91187 9.66663 12.6202H11.3333C11.3333 10.7452 13.8333 10.5369 13.8333 8.45353C13.8333 6.61187 12.3416 5.1202 10.5 5.1202Z", fill: "var(--connector-neutral-icon, #4D596C)" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_1012_80924" }, /* @__PURE__ */ S.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0.5 0.120117)" })))), ax = (e) => /* @__PURE__ */ S.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ S.createElement("path", { d: "M15 1.5H3C2.175 1.5 1.5 2.175 1.5 3V16.5L4.5 13.5H15C15.825 13.5 16.5 12.825 16.5 12V3C16.5 2.175 15.825 1.5 15 1.5ZM15 12H4.5L3 13.5V3H15V12ZM5.25 6.75H6.75V8.25H5.25V6.75ZM8.25 6.75H9.75V8.25H8.25V6.75ZM11.25 6.75H12.75V8.25H11.25V6.75Z", fill: "currentColor" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ S.createElement("rect", { width: 18, height: 18, fill: "white" })))), ix = (e) => /* @__PURE__ */ S.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ S.createElement("path", { d: "M16.5 6.93L11.1075 6.465L9 1.5L6.8925 6.4725L1.5 6.93L5.595 10.4775L4.365 15.75L9 12.9525L13.635 15.75L12.4125 10.4775L16.5 6.93ZM9 11.55L6.18 13.2525L6.93 10.0425L4.44 7.8825L7.725 7.5975L9 4.575L10.2825 7.605L13.5675 7.89L11.0775 10.05L11.8275 13.26L9 11.55Z", fill: "var(--connector-neutral-icon, #6F7C90)" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ S.createElement("rect", { width: 18, height: 18, fill: "white" })))), Tp = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M14.3462 8.73757C14.0406 8.43198 13.5451 8.43198 13.2395 8.73757C12.9339 9.04316 12.9339 9.53863 13.2395 9.84422L14.3462 8.73757ZM15.2392 10.7372L15.7925 10.1839L15.2392 10.7372ZM16.2377 13.1478L15.4552 13.1478L16.2377 13.1478ZM15.2392 15.5584L14.6859 15.0051L15.2392 15.5584ZM10.418 15.5584L9.86469 16.1118L10.418 15.5584ZM9.52499 13.5588C9.2194 13.2532 8.72393 13.2532 8.41834 13.5588C8.11275 13.8643 8.11275 14.3598 8.41834 14.6654L9.52499 13.5588ZM5.52477 11.7731C5.83036 12.0787 6.32583 12.0787 6.63142 11.7731C6.93701 11.4675 6.93701 10.972 6.63142 10.6665L5.52477 11.7731ZM9.45292 4.95224L10.0062 4.39892L9.45292 4.95224ZM10.346 6.95192C10.6515 7.25752 11.147 7.25752 11.4526 6.95192C11.7582 6.64633 11.7582 6.15087 11.4526 5.84527L10.346 6.95192ZM13.2395 9.84422L14.6859 11.2906L15.7925 10.1839L14.3462 8.73757L13.2395 9.84422ZM14.6859 11.2906C15.1785 11.7832 15.4552 12.4512 15.4552 13.1478L17.0202 13.1478C17.0202 12.0362 16.5786 10.97 15.7925 10.1839L14.6859 11.2906ZM15.4552 13.1478C15.4552 13.8445 15.1785 14.5125 14.6859 15.0051L15.7925 16.1118C16.5786 15.3257 17.0202 14.2595 17.0202 13.1478L15.4552 13.1478ZM14.6859 15.0051C13.6601 16.0308 11.9971 16.0308 10.9713 15.0051L9.86469 16.1118C11.5016 17.7487 14.1556 17.7487 15.7925 16.1118L14.6859 15.0051ZM10.9713 15.0051L9.52499 13.5588L8.41834 14.6654L9.86469 16.1118L10.9713 15.0051ZM6.63142 10.6665L5.18507 9.2201L4.07842 10.3268L5.52477 11.7731L6.63142 10.6665ZM5.18507 9.2201C4.69249 8.72752 4.41576 8.05944 4.41576 7.36283H2.85072C2.85072 8.47452 3.29234 9.54067 4.07842 10.3268L5.18507 9.2201ZM4.41576 7.36283C4.41576 6.66622 4.69249 5.99815 5.18507 5.50557L4.07842 4.39892C3.29234 5.185 2.85072 6.25115 2.85072 7.36283H4.41576ZM5.18507 5.50557C6.21081 4.47983 7.87386 4.47983 8.8996 5.50557L10.0062 4.39892C8.36932 2.76199 5.71534 2.76199 4.07842 4.39892L5.18507 5.50557ZM8.8996 5.50557L10.346 6.95192L11.4526 5.84527L10.0062 4.39892L8.8996 5.50557Z", fill: "var(--connector-neutral-icon, #4D596C)" }), /* @__PURE__ */ S.createElement("rect", { x: 6.36328, y: 7.91895, width: 1.66667, height: 8.33333, rx: 0.833333, transform: "rotate(-45 6.36328 7.91895)", fill: "var(--connector-neutral-icon, #4D596C)" })), Lp = () => {
|
|
7517
7517
|
const { connectorId: e, store: t } = Qe(ft), [n, r] = P(!e), [o, u] = P("");
|
|
7518
7518
|
return re(() => {
|
|
7519
7519
|
if (t && e) {
|
|
@@ -7573,7 +7573,7 @@ const N7 = (e) => /* @__PURE__ */ I.createElement("svg", { width: 20, height: 21
|
|
|
7573
7573
|
'& svg [stroke]:not([stroke="none"])': {
|
|
7574
7574
|
stroke: "currentColor"
|
|
7575
7575
|
}
|
|
7576
|
-
}, lx = (e) => /* @__PURE__ */
|
|
7576
|
+
}, lx = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M15.505 1.84634C15.1241 1.46545 14.6074 1.25146 14.0688 1.25146C13.5301 1.25146 13.0134 1.46545 12.6325 1.84634L10.6244 3.85447C10.6108 3.3249 10.391 2.82156 10.0116 2.45179C9.63228 2.08203 9.12349 1.87508 8.59375 1.87509H3.90625C3.36753 1.87509 2.85087 2.0891 2.46994 2.47003C2.08901 2.85097 1.875 3.36762 1.875 3.90634V16.0938C1.875 16.6326 2.08901 17.1492 2.46994 17.5302C2.85087 17.9111 3.36753 18.1251 3.90625 18.1251H16.0938C16.6325 18.1251 17.1491 17.9111 17.5301 17.5302C17.911 17.1492 18.125 16.6326 18.125 16.0938V11.4063C18.125 10.8775 17.9189 10.3696 17.5503 9.99039C17.1817 9.6112 16.6798 9.39069 16.1512 9.37572L18.1569 7.37072C18.5378 6.98979 18.7518 6.47316 18.7518 5.93447C18.7518 5.39578 18.5378 4.87915 18.1569 4.49822L15.505 1.84634ZM11.985 9.37509H10.625V8.01509L11.985 9.37509ZM13.5162 2.73009C13.5888 2.65753 13.6749 2.59996 13.7697 2.56069C13.8645 2.52141 13.9661 2.5012 14.0688 2.5012C14.1714 2.5012 14.273 2.52141 14.3678 2.56069C14.4626 2.59996 14.5487 2.65753 14.6212 2.73009L17.2725 5.38197C17.3451 5.45452 17.4026 5.54065 17.4419 5.63545C17.4812 5.73025 17.5014 5.83186 17.5014 5.93447C17.5014 6.03708 17.4812 6.13869 17.4419 6.23349C17.4026 6.32829 17.3451 6.41442 17.2725 6.48697L14.6212 9.13822C14.5487 9.21079 14.4626 9.26835 14.3678 9.30763C14.273 9.3469 14.1714 9.36711 14.0688 9.36711C13.9661 9.36711 13.8645 9.3469 13.7697 9.30763C13.6749 9.26835 13.5888 9.21079 13.5162 9.13822L10.8644 6.48697C10.7918 6.41442 10.7342 6.32829 10.695 6.23349C10.6557 6.13869 10.6355 6.03708 10.6355 5.93447C10.6355 5.83186 10.6557 5.73025 10.695 5.63545C10.7342 5.54065 10.7918 5.45452 10.8644 5.38197L13.5162 2.73009ZM9.375 3.90634V9.37509H3.125V3.90634C3.125 3.47509 3.475 3.12509 3.90625 3.12509H8.59375C9.025 3.12509 9.375 3.47509 9.375 3.90634ZM3.125 16.0938V10.6251H9.375V16.8751H3.90625C3.475 16.8751 3.125 16.5251 3.125 16.0938ZM10.625 10.6251H16.0938C16.525 10.6251 16.875 10.9751 16.875 11.4063V16.0938C16.875 16.5251 16.525 16.8751 16.0938 16.8751H10.625V10.6251Z", fill: "#3E4C5A" }), /* @__PURE__ */ S.createElement("rect", { x: 10.877, y: 5.90918, width: 4.54545, height: 4.54545, rx: 1, transform: "rotate(-45 10.877 5.90918)", fill: "#FFE250" }), /* @__PURE__ */ S.createElement("path", { d: "M3.77344 12.2727C3.77344 11.7204 4.22115 11.2727 4.77344 11.2727H7.77344C8.32572 11.2727 8.77344 11.7204 8.77344 12.2727V15.2727C8.77344 15.825 8.32572 16.2727 7.77344 16.2727H4.77344C4.22115 16.2727 3.77344 15.825 3.77344 15.2727L3.77344 12.2727Z", fill: "#FFE250" })), Dx = (e) => /* @__PURE__ */ S.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.7 9.71005L6.19497 7.20503C5.92161 6.93166 5.47839 6.93166 5.20503 7.20503C4.93166 7.47839 4.93166 7.92161 5.20503 8.19497L8.20503 11.195C8.47839 11.4683 8.92161 11.4683 9.19497 11.195L12.195 8.19497C12.4683 7.92161 12.4683 7.47839 12.195 7.20503C11.9216 6.93166 11.4784 6.93166 11.205 7.20503L8.7 9.71005Z", fill: "#196FE0" })), Op = w(Z2.Connector)`
|
|
7577
7577
|
width: 20px;
|
|
7578
7578
|
height: 20px;
|
|
7579
7579
|
color: var(--connector-icon-primary);
|
|
@@ -8032,7 +8032,7 @@ const Ax = w(Q)`
|
|
|
8032
8032
|
}
|
|
8033
8033
|
);
|
|
8034
8034
|
T.observe(j), c.current = T;
|
|
8035
|
-
}, []),
|
|
8035
|
+
}, []), I = (j) => {
|
|
8036
8036
|
h(Tb, {
|
|
8037
8037
|
sm_ids: m,
|
|
8038
8038
|
ug_id: E,
|
|
@@ -8068,7 +8068,7 @@ const Ax = w(Q)`
|
|
|
8068
8068
|
/* @__PURE__ */ a.jsx(Us, { variant: "body_sm_medium", children: B ? Ll : xp })
|
|
8069
8069
|
] }),
|
|
8070
8070
|
/* @__PURE__ */ a.jsxs(U, { direction: "row", children: [
|
|
8071
|
-
/* @__PURE__ */ a.jsx(Le, { title: JE, placement: "bottom", children: /* @__PURE__ */ a.jsx(Ft, { onClick:
|
|
8071
|
+
/* @__PURE__ */ a.jsx(Le, { title: JE, placement: "bottom", children: /* @__PURE__ */ a.jsx(Ft, { onClick: I, id: "help-button", sx: O1, children: /* @__PURE__ */ a.jsx(ux, { "aria-hidden": !0 }) }) }),
|
|
8072
8072
|
t && (o != null && o.length) && !s ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
8073
8073
|
r ? /* @__PURE__ */ a.jsx(Le, { title: Bp, placement: "bottom", children: /* @__PURE__ */ a.jsx(Ft, { onClick: i, sx: O1, children: /* @__PURE__ */ a.jsx(Tp, { "aria-hidden": !0 }) }) }) : null,
|
|
8074
8074
|
n ? /* @__PURE__ */ a.jsx(Le, { title: Ol, placement: "bottom", children: /* @__PURE__ */ a.jsx(Ft, { onClick: u, sx: O1, children: /* @__PURE__ */ a.jsx(kp, { "aria-hidden": !0 }) }) }) : null
|
|
@@ -8170,12 +8170,12 @@ function Yx() {
|
|
|
8170
8170
|
return N;
|
|
8171
8171
|
var M = C(j);
|
|
8172
8172
|
return F !== void 0 && F(N, M) ? N : (b = j, B = M, M);
|
|
8173
|
-
}, y = D === void 0 ? null : D,
|
|
8173
|
+
}, y = D === void 0 ? null : D, I = function() {
|
|
8174
8174
|
return v(l());
|
|
8175
8175
|
}, L = y === null ? void 0 : function() {
|
|
8176
8176
|
return v(y());
|
|
8177
8177
|
};
|
|
8178
|
-
return [
|
|
8178
|
+
return [I, L];
|
|
8179
8179
|
}, [l, D, C, F]), h = d[0], m = d[1], g = r(c, h, m);
|
|
8180
8180
|
return u(function() {
|
|
8181
8181
|
A.hasValue = !0, A.value = g;
|
|
@@ -8188,7 +8188,7 @@ process.env.NODE_ENV === "production" ? Ac.exports = Kx() : Ac.exports = Yx();
|
|
|
8188
8188
|
var qx = Ac.exports, Qn = (
|
|
8189
8189
|
// prettier-ignore
|
|
8190
8190
|
// @ts-ignore
|
|
8191
|
-
"default" in
|
|
8191
|
+
"default" in S ? S.default : S
|
|
8192
8192
|
), qd = Symbol.for("react-redux-context"), $d = typeof globalThis < "u" ? globalThis : (
|
|
8193
8193
|
/* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
|
|
8194
8194
|
{}
|
|
@@ -9698,9 +9698,9 @@ var sy = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", fy
|
|
|
9698
9698
|
name: "ConditionError",
|
|
9699
9699
|
message: "Aborted due to condition callback returning false."
|
|
9700
9700
|
};
|
|
9701
|
-
const v = new Promise((y,
|
|
9701
|
+
const v = new Promise((y, I) => {
|
|
9702
9702
|
p = () => {
|
|
9703
|
-
|
|
9703
|
+
I({
|
|
9704
9704
|
name: "AbortError",
|
|
9705
9705
|
message: A || "Aborted"
|
|
9706
9706
|
});
|
|
@@ -9719,8 +9719,8 @@ var sy = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", fy
|
|
|
9719
9719
|
requestId: C,
|
|
9720
9720
|
signal: F.signal,
|
|
9721
9721
|
abort: d,
|
|
9722
|
-
rejectWithValue: (y,
|
|
9723
|
-
fulfillWithValue: (y,
|
|
9722
|
+
rejectWithValue: (y, I) => new Q1(y, I),
|
|
9723
|
+
fulfillWithValue: (y, I) => new D3(y, I)
|
|
9724
9724
|
})).then((y) => {
|
|
9725
9725
|
if (y instanceof Q1)
|
|
9726
9726
|
throw y;
|
|
@@ -9857,10 +9857,10 @@ function hy({
|
|
|
9857
9857
|
});
|
|
9858
9858
|
return l3(y, v, {
|
|
9859
9859
|
insert: () => {
|
|
9860
|
-
const
|
|
9860
|
+
const I = {};
|
|
9861
9861
|
for (const [L, j] of Object.entries(o.selectors ?? {}))
|
|
9862
|
-
|
|
9863
|
-
return
|
|
9862
|
+
I[L] = gy(j, v, d, E);
|
|
9863
|
+
return I;
|
|
9864
9864
|
}
|
|
9865
9865
|
});
|
|
9866
9866
|
}
|
|
@@ -10063,36 +10063,36 @@ function Sy(e) {
|
|
|
10063
10063
|
const g = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Set(), b = () => {
|
|
10064
10064
|
h = Array.from(g.values()), E.forEach((y) => y());
|
|
10065
10065
|
}, B = (y) => {
|
|
10066
|
-
d = y == null ? [] : d.filter((
|
|
10066
|
+
d = y == null ? [] : d.filter((I) => I !== y), b();
|
|
10067
10067
|
}, v = (y) => {
|
|
10068
|
-
const { toastId:
|
|
10069
|
-
y.staleId && g.delete(y.staleId), g.set(
|
|
10068
|
+
const { toastId: I, onOpen: L, updateId: j, children: k } = y.props, T = j == null;
|
|
10069
|
+
y.staleId && g.delete(y.staleId), g.set(I, y), d = [...d, y.props.toastId].filter((O) => O !== y.staleId), b(), C(d3(y, T ? "added" : "updated")), T && Hn(L) && L(Ou(k) && k.props);
|
|
10070
10070
|
};
|
|
10071
|
-
return { id: l, props: m, observe: (y) => (E.add(y), () => E.delete(y)), toggle: (y,
|
|
10071
|
+
return { id: l, props: m, observe: (y) => (E.add(y), () => E.delete(y)), toggle: (y, I) => {
|
|
10072
10072
|
g.forEach((L) => {
|
|
10073
|
-
|
|
10073
|
+
I != null && I !== L.props.toastId || Hn(L.toggle) && L.toggle(y);
|
|
10074
10074
|
});
|
|
10075
10075
|
}, removeToast: B, toasts: g, clearQueue: () => {
|
|
10076
10076
|
p -= A.length, A = [];
|
|
10077
|
-
}, buildToast: (y,
|
|
10077
|
+
}, buildToast: (y, I) => {
|
|
10078
10078
|
if (((J) => {
|
|
10079
10079
|
let { containerId: fe, toastId: de, updateId: W } = J;
|
|
10080
10080
|
const ae = fe ? fe !== l : l !== 1, he = g.has(de) && W == null;
|
|
10081
10081
|
return ae || he;
|
|
10082
|
-
})(
|
|
10083
|
-
const { toastId: L, updateId: j, data: k, staleId: T, delay: O } =
|
|
10082
|
+
})(I)) return;
|
|
10083
|
+
const { toastId: L, updateId: j, data: k, staleId: T, delay: O } = I, N = () => {
|
|
10084
10084
|
B(L);
|
|
10085
10085
|
}, M = j == null;
|
|
10086
10086
|
M && p++;
|
|
10087
|
-
const z = { ...m, style: m.toastStyle, key: F++, ...Object.fromEntries(Object.entries(
|
|
10087
|
+
const z = { ...m, style: m.toastStyle, key: F++, ...Object.fromEntries(Object.entries(I).filter((J) => {
|
|
10088
10088
|
let [fe, de] = J;
|
|
10089
10089
|
return de != null;
|
|
10090
|
-
})), toastId: L, updateId: j, data: k, closeToast: N, isIn: !1, className: ls(
|
|
10090
|
+
})), toastId: L, updateId: j, data: k, closeToast: N, isIn: !1, className: ls(I.className || m.toastClassName), bodyClassName: ls(I.bodyClassName || m.bodyClassName), progressClassName: ls(I.progressClassName || m.progressClassName), autoClose: !I.isLoading && (Z = I.autoClose, X = m.autoClose, Z === !1 || ti(Z) && Z > 0 ? Z : X), deleteToast() {
|
|
10091
10091
|
const J = g.get(L), { onClose: fe, children: de } = J.props;
|
|
10092
10092
|
Hn(fe) && fe(Ou(de) && de.props), C(d3(J, "removed")), g.delete(L), p--, p < 0 && (p = 0), A.length > 0 ? v(A.shift()) : b();
|
|
10093
10093
|
} };
|
|
10094
10094
|
var Z, X;
|
|
10095
|
-
z.closeButton = m.closeButton,
|
|
10095
|
+
z.closeButton = m.closeButton, I.closeButton === !1 || bc(I.closeButton) ? z.closeButton = I.closeButton : I.closeButton === !0 && (z.closeButton = !bc(m.closeButton) || m.closeButton);
|
|
10096
10096
|
let G = y;
|
|
10097
10097
|
Ou(y) && !$o(y.type) ? G = Ts(y, { closeToast: N, toastProps: z, data: k }) : Hn(y) && (G = y({ closeToast: N, toastProps: z, data: k }));
|
|
10098
10098
|
const q = { content: G, props: z, staleId: T };
|
|
@@ -10101,9 +10101,9 @@ function Sy(e) {
|
|
|
10101
10101
|
}, O) : v(q);
|
|
10102
10102
|
}, setProps(y) {
|
|
10103
10103
|
m = y;
|
|
10104
|
-
}, setToggle: (y,
|
|
10105
|
-
g.get(y).toggle =
|
|
10106
|
-
}, isToastActive: (y) => d.some((
|
|
10104
|
+
}, setToggle: (y, I) => {
|
|
10105
|
+
g.get(y).toggle = I;
|
|
10106
|
+
}, isToastActive: (y) => d.some((I) => I === y), getSnapshot: () => m.newestOnTop ? h.reverse() : h };
|
|
10107
10107
|
}(i, u, Iy);
|
|
10108
10108
|
En.set(i, f);
|
|
10109
10109
|
const c = f.observe(s);
|
|
@@ -10257,7 +10257,7 @@ const Oy = typeof window < "u" ? to : re, Wi = (e) => {
|
|
|
10257
10257
|
}, spinner: function() {
|
|
10258
10258
|
return ut.createElement("div", { className: "Toastify__spinner" });
|
|
10259
10259
|
} }, Ny = (e) => {
|
|
10260
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: u } = ky(e), { closeButton: i, children: s, autoClose: f, onClick: c, type: l, hideProgressBar: D, closeToast: C, transition: F, position: p, className: A, style: d, bodyClassName: h, bodyStyle: m, progressClassName: g, progressStyle: E, updateId: b, role: B, progress: v, rtl: y, toastId:
|
|
10260
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: u } = ky(e), { closeButton: i, children: s, autoClose: f, onClick: c, type: l, hideProgressBar: D, closeToast: C, transition: F, position: p, className: A, style: d, bodyClassName: h, bodyStyle: m, progressClassName: g, progressStyle: E, updateId: b, role: B, progress: v, rtl: y, toastId: I, deleteToast: L, isIn: j, isLoading: k, closeOnClick: T, theme: O } = e, N = bo("Toastify__toast", `Toastify__toast-theme--${O}`, `Toastify__toast--${l}`, { "Toastify__toast--rtl": y }, { "Toastify__toast--close-on-click": T }), M = Hn(A) ? A({ rtl: y, position: p, type: l, defaultClassName: N }) : bo(N, A), z = function(q) {
|
|
10261
10261
|
let { theme: J, type: fe, isLoading: de, icon: W } = q, ae = null;
|
|
10262
10262
|
const he = { theme: J, type: fe };
|
|
10263
10263
|
return W === !1 || (Hn(W) ? ae = W({ ...he, isLoading: de }) : Ou(W) ? ae = Ts(W, he) : de ? ae = H1.spinner() : ((Be) => Be in H1)(fe) && (ae = H1[fe](he))), ae;
|
|
@@ -10268,7 +10268,7 @@ const Oy = typeof window < "u" ? to : re, Wi = (e) => {
|
|
|
10268
10268
|
return ut.createElement("button", { className: `Toastify__close-button Toastify__close-button--${fe}`, type: "button", onClick: (W) => {
|
|
10269
10269
|
W.stopPropagation(), J(W);
|
|
10270
10270
|
}, "aria-label": de }, ut.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, ut.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
10271
|
-
}(X)), ut.createElement(F, { isIn: j, done: L, position: p, preventExitTransition: n, nodeRef: r, playToast: u }, ut.createElement("div", { id:
|
|
10271
|
+
}(X)), ut.createElement(F, { isIn: j, done: L, position: p, preventExitTransition: n, nodeRef: r, playToast: u }, ut.createElement("div", { id: I, onClick: c, "data-in": j, className: M, ...o, style: d, ref: r }, ut.createElement("div", { ...j && { role: B }, className: Hn(h) ? h({ type: l }) : bo("Toastify__toast-body", h), style: m }, z != null && ut.createElement("div", { className: bo("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !k }) }, z), ut.createElement("div", null, s)), G, ut.createElement(Ty, { ...b && !Z ? { key: `pb-${b}` } : {}, rtl: y, theme: O, delay: f, isRunning: t, isIn: j, closeToast: C, hide: D, type: l, style: E, className: g, controlledProgress: Z, progress: v || 0 })));
|
|
10272
10272
|
}, Hf = function(e, t) {
|
|
10273
10273
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
10274
10274
|
}, jy = Qf(Hf("bounce", !0));
|
|
@@ -11341,7 +11341,7 @@ function Fr(e, t) {
|
|
|
11341
11341
|
}
|
|
11342
11342
|
var Ky = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
11343
11343
|
function Gl(e) {
|
|
11344
|
-
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, u = e.defaultValue, i = u === void 0 ? null : u, s = e.inputValue, f = e.menuIsOpen, c = e.onChange, l = e.onInputChange, D = e.onMenuClose, C = e.onMenuOpen, F = e.value, p = Fr(e, Ky), A = P(s !== void 0 ? s : n), d = nn(A, 2), h = d[0], m = d[1], g = P(f !== void 0 ? f : o), E = nn(g, 2), b = E[0], B = E[1], v = P(F !== void 0 ? F : i), y = nn(v, 2),
|
|
11344
|
+
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, u = e.defaultValue, i = u === void 0 ? null : u, s = e.inputValue, f = e.menuIsOpen, c = e.onChange, l = e.onInputChange, D = e.onMenuClose, C = e.onMenuOpen, F = e.value, p = Fr(e, Ky), A = P(s !== void 0 ? s : n), d = nn(A, 2), h = d[0], m = d[1], g = P(f !== void 0 ? f : o), E = nn(g, 2), b = E[0], B = E[1], v = P(F !== void 0 ? F : i), y = nn(v, 2), I = y[0], L = y[1], j = ie(function(Z, X) {
|
|
11345
11345
|
typeof c == "function" && c(Z, X), L(Z);
|
|
11346
11346
|
}, [c]), k = ie(function(Z, X) {
|
|
11347
11347
|
var G;
|
|
@@ -11350,7 +11350,7 @@ function Gl(e) {
|
|
|
11350
11350
|
typeof C == "function" && C(), B(!0);
|
|
11351
11351
|
}, [C]), O = ie(function() {
|
|
11352
11352
|
typeof D == "function" && D(), B(!1);
|
|
11353
|
-
}, [D]), N = s !== void 0 ? s : h, M = f !== void 0 ? f : b, z = F !== void 0 ? F :
|
|
11353
|
+
}, [D]), N = s !== void 0 ? s : h, M = f !== void 0 ? f : b, z = F !== void 0 ? F : I;
|
|
11354
11354
|
return je(je({}, p), {}, {
|
|
11355
11355
|
inputValue: N,
|
|
11356
11356
|
menuIsOpen: M,
|
|
@@ -12131,7 +12131,7 @@ function MB() {
|
|
|
12131
12131
|
}
|
|
12132
12132
|
}
|
|
12133
12133
|
}
|
|
12134
|
-
var b = f, B = c, v = s, y = i,
|
|
12134
|
+
var b = f, B = c, v = s, y = i, I = t, L = l, j = r, k = p, T = F, O = n, N = u, M = o, z = D, Z = !1;
|
|
12135
12135
|
function X(K) {
|
|
12136
12136
|
return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), G(K) || E(K) === f;
|
|
12137
12137
|
}
|
|
@@ -12171,7 +12171,7 @@ function MB() {
|
|
|
12171
12171
|
function le(K) {
|
|
12172
12172
|
return E(K) === D;
|
|
12173
12173
|
}
|
|
12174
|
-
gt.AsyncMode = b, gt.ConcurrentMode = B, gt.ContextConsumer = v, gt.ContextProvider = y, gt.Element =
|
|
12174
|
+
gt.AsyncMode = b, gt.ConcurrentMode = B, gt.ContextConsumer = v, gt.ContextProvider = y, gt.Element = I, gt.ForwardRef = L, gt.Fragment = j, gt.Lazy = k, gt.Memo = T, gt.Portal = O, gt.Profiler = N, gt.StrictMode = M, gt.Suspense = z, gt.isAsyncMode = X, gt.isConcurrentMode = G, gt.isContextConsumer = q, gt.isContextProvider = J, gt.isElement = fe, gt.isForwardRef = de, gt.isFragment = W, gt.isLazy = ae, gt.isMemo = he, gt.isPortal = Be, gt.isProfiler = We, gt.isStrictMode = ve, gt.isSuspense = le, gt.isValidElementType = g, gt.typeOf = E;
|
|
12175
12175
|
}()), gt;
|
|
12176
12176
|
}
|
|
12177
12177
|
process.env.NODE_ENV === "production" ? Ic.exports = _B() : Ic.exports = MB();
|
|
@@ -12415,7 +12415,7 @@ function T5(e, t, n) {
|
|
|
12415
12415
|
}
|
|
12416
12416
|
var qB = function(t) {
|
|
12417
12417
|
return t();
|
|
12418
|
-
}, $B =
|
|
12418
|
+
}, $B = S.useInsertionEffect ? S.useInsertionEffect : !1, ew = $B || qB, tw = !1, L5 = /* @__PURE__ */ S.createContext(
|
|
12419
12419
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
12420
12420
|
// because this module is primarily intended for the browser and node
|
|
12421
12421
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -12432,7 +12432,7 @@ var nw = function(t) {
|
|
|
12432
12432
|
var o = Qe(L5);
|
|
12433
12433
|
return t(n, o, r);
|
|
12434
12434
|
});
|
|
12435
|
-
}, rw = /* @__PURE__ */
|
|
12435
|
+
}, rw = /* @__PURE__ */ S.createContext({}), Zl = {}.hasOwnProperty, Sc = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", ow = function(t, n) {
|
|
12436
12436
|
var r = {};
|
|
12437
12437
|
for (var o in n)
|
|
12438
12438
|
Zl.call(n, o) && (r[o] = n[o]);
|
|
@@ -12449,26 +12449,26 @@ var nw = function(t) {
|
|
|
12449
12449
|
typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
|
|
12450
12450
|
var o = e[Sc], u = [r], i = "";
|
|
12451
12451
|
typeof e.className == "string" ? i = WB(t.registered, u, e.className) : e.className != null && (i = e.className + " ");
|
|
12452
|
-
var s = T5(u, void 0,
|
|
12452
|
+
var s = T5(u, void 0, S.useContext(rw));
|
|
12453
12453
|
i += t.key + "-" + s.name;
|
|
12454
12454
|
var f = {};
|
|
12455
12455
|
for (var c in e)
|
|
12456
12456
|
Zl.call(e, c) && c !== "css" && c !== Sc && !tw && (f[c] = e[c]);
|
|
12457
|
-
return f.className = i, n && (f.ref = n), /* @__PURE__ */
|
|
12457
|
+
return f.className = i, n && (f.ref = n), /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(uw, {
|
|
12458
12458
|
cache: t,
|
|
12459
12459
|
serialized: s,
|
|
12460
12460
|
isStringTag: typeof o == "string"
|
|
12461
|
-
}), /* @__PURE__ */
|
|
12461
|
+
}), /* @__PURE__ */ S.createElement(o, f));
|
|
12462
12462
|
}
|
|
12463
12463
|
), iw = aw, Pe = function(t, n) {
|
|
12464
12464
|
var r = arguments;
|
|
12465
12465
|
if (n == null || !Zl.call(n, "css"))
|
|
12466
|
-
return
|
|
12466
|
+
return S.createElement.apply(void 0, r);
|
|
12467
12467
|
var o = r.length, u = new Array(o);
|
|
12468
12468
|
u[0] = iw, u[1] = ow(t, n);
|
|
12469
12469
|
for (var i = 2; i < o; i++)
|
|
12470
12470
|
u[i] = r[i];
|
|
12471
|
-
return
|
|
12471
|
+
return S.createElement.apply(null, u);
|
|
12472
12472
|
};
|
|
12473
12473
|
function Jl() {
|
|
12474
12474
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
@@ -12868,7 +12868,7 @@ function Pw(e) {
|
|
|
12868
12868
|
maxHeight: t
|
|
12869
12869
|
};
|
|
12870
12870
|
if (!n || !n.offsetParent) return c;
|
|
12871
|
-
var l = f.getBoundingClientRect(), D = l.height, C = n.getBoundingClientRect(), F = C.bottom, p = C.height, A = C.top, d = n.offsetParent.getBoundingClientRect(), h = d.top, m = i ? window.innerHeight : ww(f), g = P5(f), E = parseInt(getComputedStyle(n).marginBottom, 10), b = parseInt(getComputedStyle(n).marginTop, 10), B = h - b, v = m - A, y = B + g,
|
|
12871
|
+
var l = f.getBoundingClientRect(), D = l.height, C = n.getBoundingClientRect(), F = C.bottom, p = C.height, A = C.top, d = n.offsetParent.getBoundingClientRect(), h = d.top, m = i ? window.innerHeight : ww(f), g = P5(f), E = parseInt(getComputedStyle(n).marginBottom, 10), b = parseInt(getComputedStyle(n).marginTop, 10), B = h - b, v = m - A, y = B + g, I = D - g - A, L = F - m + g + E, j = g + A - b, k = 160;
|
|
12872
12872
|
switch (o) {
|
|
12873
12873
|
case "auto":
|
|
12874
12874
|
case "bottom":
|
|
@@ -12877,14 +12877,14 @@ function Pw(e) {
|
|
|
12877
12877
|
placement: "bottom",
|
|
12878
12878
|
maxHeight: t
|
|
12879
12879
|
};
|
|
12880
|
-
if (
|
|
12880
|
+
if (I >= p && !i)
|
|
12881
12881
|
return u && Xi(f, L, k), {
|
|
12882
12882
|
placement: "bottom",
|
|
12883
12883
|
maxHeight: t
|
|
12884
12884
|
};
|
|
12885
|
-
if (!i &&
|
|
12885
|
+
if (!i && I >= r || i && v >= r) {
|
|
12886
12886
|
u && Xi(f, L, k);
|
|
12887
|
-
var T = i ? v - E :
|
|
12887
|
+
var T = i ? v - E : I - E;
|
|
12888
12888
|
return {
|
|
12889
12889
|
placement: "bottom",
|
|
12890
12890
|
maxHeight: T
|
|
@@ -13042,9 +13042,9 @@ var H5 = function(t) {
|
|
|
13042
13042
|
};
|
|
13043
13043
|
}, []), A = P(null), d = nn(A, 2), h = d[0], m = d[1], g = ie(function() {
|
|
13044
13044
|
if (o) {
|
|
13045
|
-
var v = kw(o), y = s === "fixed" ? 0 : window.pageYOffset,
|
|
13046
|
-
(
|
|
13047
|
-
offset:
|
|
13045
|
+
var v = kw(o), y = s === "fixed" ? 0 : window.pageYOffset, I = v[C] + y;
|
|
13046
|
+
(I !== (h == null ? void 0 : h.offset) || v.left !== (h == null ? void 0 : h.rect.left) || v.width !== (h == null ? void 0 : h.rect.width)) && m({
|
|
13047
|
+
offset: I,
|
|
13048
13048
|
rect: v
|
|
13049
13049
|
});
|
|
13050
13050
|
}
|
|
@@ -13644,7 +13644,7 @@ var tS = process.env.NODE_ENV === "production" ? {
|
|
|
13644
13644
|
}, oS = function(t) {
|
|
13645
13645
|
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, u = t.focusableOptions, i = t.isFocused, s = t.selectValue, f = t.selectProps, c = t.id, l = t.isAppleDevice, D = f.ariaLiveMessages, C = f.getOptionLabel, F = f.inputValue, p = f.isMulti, A = f.isOptionDisabled, d = f.isSearchable, h = f.menuIsOpen, m = f.options, g = f.screenReaderStatus, E = f.tabSelectsValue, b = f.isLoading, B = f["aria-label"], v = f["aria-live"], y = $(function() {
|
|
13646
13646
|
return je(je({}, rS), D || {});
|
|
13647
|
-
}, [D]),
|
|
13647
|
+
}, [D]), I = $(function() {
|
|
13648
13648
|
var N = "";
|
|
13649
13649
|
if (n && y.onChange) {
|
|
13650
13650
|
var M = n.option, z = n.options, Z = n.removedValue, X = n.removedValues, G = n.value, q = function(Be) {
|
|
@@ -13704,7 +13704,7 @@ var tS = process.env.NODE_ENV === "production" ? {
|
|
|
13704
13704
|
return N;
|
|
13705
13705
|
}, [B, r, o, p, A, d, h, y, s, E, k]), O = Pe(B0, null, Pe("span", {
|
|
13706
13706
|
id: "aria-selection"
|
|
13707
|
-
},
|
|
13707
|
+
}, I), Pe("span", {
|
|
13708
13708
|
id: "aria-focused"
|
|
13709
13709
|
}, L), Pe("span", {
|
|
13710
13710
|
id: "aria-results"
|
|
@@ -14032,8 +14032,8 @@ var DS = function(t) {
|
|
|
14032
14032
|
function dS(e) {
|
|
14033
14033
|
var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, o = e.onTopArrive, u = e.onTopLeave, i = se(!1), s = se(!1), f = se(0), c = se(null), l = ie(function(d, h) {
|
|
14034
14034
|
if (c.current !== null) {
|
|
14035
|
-
var m = c.current, g = m.scrollTop, E = m.scrollHeight, b = m.clientHeight, B = c.current, v = h > 0, y = E - b - g,
|
|
14036
|
-
y > h && i.current && (r && r(d), i.current = !1), v && s.current && (u && u(d), s.current = !1), v && h > y ? (n && !i.current && n(d), B.scrollTop = E,
|
|
14035
|
+
var m = c.current, g = m.scrollTop, E = m.scrollHeight, b = m.clientHeight, B = c.current, v = h > 0, y = E - b - g, I = !1;
|
|
14036
|
+
y > h && i.current && (r && r(d), i.current = !1), v && s.current && (u && u(d), s.current = !1), v && h > y ? (n && !i.current && n(d), B.scrollTop = E, I = !0, i.current = !0) : !v && -h > g && (o && !s.current && o(d), B.scrollTop = 0, I = !0, s.current = !0), I && DS(d);
|
|
14037
14037
|
}
|
|
14038
14038
|
}, [n, r, o, u]), D = ie(function(d) {
|
|
14039
14039
|
l(d, d.deltaY);
|
|
@@ -14955,7 +14955,7 @@ var a4 = function(t) {
|
|
|
14955
14955
|
} : {
|
|
14956
14956
|
"aria-describedby": this.getElementId("placeholder")
|
|
14957
14957
|
});
|
|
14958
|
-
return i ? /* @__PURE__ */
|
|
14958
|
+
return i ? /* @__PURE__ */ S.createElement(p, Ue({}, m, {
|
|
14959
14959
|
autoCapitalize: "none",
|
|
14960
14960
|
autoComplete: "off",
|
|
14961
14961
|
autoCorrect: "off",
|
|
@@ -14971,7 +14971,7 @@ var a4 = function(t) {
|
|
|
14971
14971
|
form: l,
|
|
14972
14972
|
type: "text",
|
|
14973
14973
|
value: f
|
|
14974
|
-
}, E)) : /* @__PURE__ */
|
|
14974
|
+
}, E)) : /* @__PURE__ */ S.createElement(lS, Ue({
|
|
14975
14975
|
id: g,
|
|
14976
14976
|
innerRef: this.getInputRef,
|
|
14977
14977
|
onBlur: this.onInputBlur,
|
|
@@ -14990,7 +14990,7 @@ var a4 = function(t) {
|
|
|
14990
14990
|
value: function() {
|
|
14991
14991
|
var o = this, u = this.getComponents(), i = u.MultiValue, s = u.MultiValueContainer, f = u.MultiValueLabel, c = u.MultiValueRemove, l = u.SingleValue, D = u.Placeholder, C = this.commonProps, F = this.props, p = F.controlShouldRenderValue, A = F.isDisabled, d = F.isMulti, h = F.inputValue, m = F.placeholder, g = this.state, E = g.selectValue, b = g.focusedValue, B = g.isFocused;
|
|
14992
14992
|
if (!this.hasValue() || !p)
|
|
14993
|
-
return h ? null : /* @__PURE__ */
|
|
14993
|
+
return h ? null : /* @__PURE__ */ S.createElement(D, Ue({}, C, {
|
|
14994
14994
|
key: "placeholder",
|
|
14995
14995
|
isDisabled: A,
|
|
14996
14996
|
isFocused: B,
|
|
@@ -14999,9 +14999,9 @@ var a4 = function(t) {
|
|
|
14999
14999
|
}
|
|
15000
15000
|
}), m);
|
|
15001
15001
|
if (d)
|
|
15002
|
-
return E.map(function(y,
|
|
15002
|
+
return E.map(function(y, I) {
|
|
15003
15003
|
var L = y === b, j = "".concat(o.getOptionLabel(y), "-").concat(o.getOptionValue(y));
|
|
15004
|
-
return /* @__PURE__ */
|
|
15004
|
+
return /* @__PURE__ */ S.createElement(i, Ue({}, C, {
|
|
15005
15005
|
components: {
|
|
15006
15006
|
Container: s,
|
|
15007
15007
|
Label: f,
|
|
@@ -15010,7 +15010,7 @@ var a4 = function(t) {
|
|
|
15010
15010
|
isFocused: L,
|
|
15011
15011
|
isDisabled: A,
|
|
15012
15012
|
key: j,
|
|
15013
|
-
index:
|
|
15013
|
+
index: I,
|
|
15014
15014
|
removeProps: {
|
|
15015
15015
|
onClick: function() {
|
|
15016
15016
|
return o.removeValue(y);
|
|
@@ -15028,7 +15028,7 @@ var a4 = function(t) {
|
|
|
15028
15028
|
if (h)
|
|
15029
15029
|
return null;
|
|
15030
15030
|
var v = E[0];
|
|
15031
|
-
return /* @__PURE__ */
|
|
15031
|
+
return /* @__PURE__ */ S.createElement(l, Ue({}, C, {
|
|
15032
15032
|
data: v,
|
|
15033
15033
|
isDisabled: A
|
|
15034
15034
|
}), this.formatOptionLabel(v, "value"));
|
|
@@ -15044,7 +15044,7 @@ var a4 = function(t) {
|
|
|
15044
15044
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
15045
15045
|
"aria-hidden": "true"
|
|
15046
15046
|
};
|
|
15047
|
-
return /* @__PURE__ */
|
|
15047
|
+
return /* @__PURE__ */ S.createElement(u, Ue({}, i, {
|
|
15048
15048
|
innerProps: D,
|
|
15049
15049
|
isFocused: l
|
|
15050
15050
|
}));
|
|
@@ -15057,7 +15057,7 @@ var a4 = function(t) {
|
|
|
15057
15057
|
var D = {
|
|
15058
15058
|
"aria-hidden": "true"
|
|
15059
15059
|
};
|
|
15060
|
-
return /* @__PURE__ */
|
|
15060
|
+
return /* @__PURE__ */ S.createElement(u, Ue({}, i, {
|
|
15061
15061
|
innerProps: D,
|
|
15062
15062
|
isDisabled: f,
|
|
15063
15063
|
isFocused: l
|
|
@@ -15069,7 +15069,7 @@ var a4 = function(t) {
|
|
|
15069
15069
|
var o = this.getComponents(), u = o.DropdownIndicator, i = o.IndicatorSeparator;
|
|
15070
15070
|
if (!u || !i) return null;
|
|
15071
15071
|
var s = this.commonProps, f = this.props.isDisabled, c = this.state.isFocused;
|
|
15072
|
-
return /* @__PURE__ */
|
|
15072
|
+
return /* @__PURE__ */ S.createElement(i, Ue({}, s, {
|
|
15073
15073
|
isDisabled: f,
|
|
15074
15074
|
isFocused: c
|
|
15075
15075
|
}));
|
|
@@ -15084,7 +15084,7 @@ var a4 = function(t) {
|
|
|
15084
15084
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
15085
15085
|
"aria-hidden": "true"
|
|
15086
15086
|
};
|
|
15087
|
-
return /* @__PURE__ */
|
|
15087
|
+
return /* @__PURE__ */ S.createElement(u, Ue({}, i, {
|
|
15088
15088
|
innerProps: c,
|
|
15089
15089
|
isDisabled: s,
|
|
15090
15090
|
isFocused: f
|
|
@@ -15093,7 +15093,7 @@ var a4 = function(t) {
|
|
|
15093
15093
|
}, {
|
|
15094
15094
|
key: "renderMenu",
|
|
15095
15095
|
value: function() {
|
|
15096
|
-
var o = this, u = this.getComponents(), i = u.Group, s = u.GroupHeading, f = u.Menu, c = u.MenuList, l = u.MenuPortal, D = u.LoadingMessage, C = u.NoOptionsMessage, F = u.Option, p = this.commonProps, A = this.state.focusedOption, d = this.props, h = d.captureMenuScroll, m = d.inputValue, g = d.isLoading, E = d.loadingMessage, b = d.minMenuHeight, B = d.maxMenuHeight, v = d.menuIsOpen, y = d.menuPlacement,
|
|
15096
|
+
var o = this, u = this.getComponents(), i = u.Group, s = u.GroupHeading, f = u.Menu, c = u.MenuList, l = u.MenuPortal, D = u.LoadingMessage, C = u.NoOptionsMessage, F = u.Option, p = this.commonProps, A = this.state.focusedOption, d = this.props, h = d.captureMenuScroll, m = d.inputValue, g = d.isLoading, E = d.loadingMessage, b = d.minMenuHeight, B = d.maxMenuHeight, v = d.menuIsOpen, y = d.menuPlacement, I = d.menuPosition, L = d.menuPortalTarget, j = d.menuShouldBlockScroll, k = d.menuShouldScrollIntoView, T = d.noOptionsMessage, O = d.onMenuScrollToTop, N = d.onMenuScrollToBottom;
|
|
15097
15097
|
if (!v) return null;
|
|
15098
15098
|
var M = function(fe, de) {
|
|
15099
15099
|
var W = fe.type, ae = fe.data, he = fe.isDisabled, Be = fe.isSelected, We = fe.label, ve = fe.value, le = A === ae, K = he ? void 0 : function() {
|
|
@@ -15110,7 +15110,7 @@ var a4 = function(t) {
|
|
|
15110
15110
|
"aria-selected": o.isAppleDevice ? void 0 : Be
|
|
15111
15111
|
// is not supported on Apple devices
|
|
15112
15112
|
};
|
|
15113
|
-
return /* @__PURE__ */
|
|
15113
|
+
return /* @__PURE__ */ S.createElement(F, Ue({}, p, {
|
|
15114
15114
|
innerProps: ne,
|
|
15115
15115
|
data: ae,
|
|
15116
15116
|
isDisabled: he,
|
|
@@ -15127,7 +15127,7 @@ var a4 = function(t) {
|
|
|
15127
15127
|
z = this.getCategorizedOptions().map(function(J) {
|
|
15128
15128
|
if (J.type === "group") {
|
|
15129
15129
|
var fe = J.data, de = J.options, W = J.index, ae = "".concat(o.getElementId("group"), "-").concat(W), he = "".concat(ae, "-heading");
|
|
15130
|
-
return /* @__PURE__ */
|
|
15130
|
+
return /* @__PURE__ */ S.createElement(i, Ue({}, p, {
|
|
15131
15131
|
key: ae,
|
|
15132
15132
|
data: fe,
|
|
15133
15133
|
options: de,
|
|
@@ -15148,23 +15148,23 @@ var a4 = function(t) {
|
|
|
15148
15148
|
inputValue: m
|
|
15149
15149
|
});
|
|
15150
15150
|
if (Z === null) return null;
|
|
15151
|
-
z = /* @__PURE__ */
|
|
15151
|
+
z = /* @__PURE__ */ S.createElement(D, p, Z);
|
|
15152
15152
|
} else {
|
|
15153
15153
|
var X = T({
|
|
15154
15154
|
inputValue: m
|
|
15155
15155
|
});
|
|
15156
15156
|
if (X === null) return null;
|
|
15157
|
-
z = /* @__PURE__ */
|
|
15157
|
+
z = /* @__PURE__ */ S.createElement(C, p, X);
|
|
15158
15158
|
}
|
|
15159
15159
|
var G = {
|
|
15160
15160
|
minMenuHeight: b,
|
|
15161
15161
|
maxMenuHeight: B,
|
|
15162
15162
|
menuPlacement: y,
|
|
15163
|
-
menuPosition:
|
|
15163
|
+
menuPosition: I,
|
|
15164
15164
|
menuShouldScrollIntoView: k
|
|
15165
|
-
}, q = /* @__PURE__ */
|
|
15165
|
+
}, q = /* @__PURE__ */ S.createElement(Uw, Ue({}, p, G), function(J) {
|
|
15166
15166
|
var fe = J.ref, de = J.placerProps, W = de.placement, ae = de.maxHeight;
|
|
15167
|
-
return /* @__PURE__ */
|
|
15167
|
+
return /* @__PURE__ */ S.createElement(f, Ue({}, p, G, {
|
|
15168
15168
|
innerRef: fe,
|
|
15169
15169
|
innerProps: {
|
|
15170
15170
|
onMouseDown: o.onMenuMouseDown,
|
|
@@ -15172,13 +15172,13 @@ var a4 = function(t) {
|
|
|
15172
15172
|
},
|
|
15173
15173
|
isLoading: g,
|
|
15174
15174
|
placement: W
|
|
15175
|
-
}), /* @__PURE__ */
|
|
15175
|
+
}), /* @__PURE__ */ S.createElement(CS, {
|
|
15176
15176
|
captureEnabled: h,
|
|
15177
15177
|
onTopArrive: O,
|
|
15178
15178
|
onBottomArrive: N,
|
|
15179
15179
|
lockEnabled: j
|
|
15180
15180
|
}, function(he) {
|
|
15181
|
-
return /* @__PURE__ */
|
|
15181
|
+
return /* @__PURE__ */ S.createElement(c, Ue({}, p, {
|
|
15182
15182
|
innerRef: function(We) {
|
|
15183
15183
|
o.getMenuListRef(We), he(We);
|
|
15184
15184
|
},
|
|
@@ -15193,11 +15193,11 @@ var a4 = function(t) {
|
|
|
15193
15193
|
}), z);
|
|
15194
15194
|
}));
|
|
15195
15195
|
});
|
|
15196
|
-
return L ||
|
|
15196
|
+
return L || I === "fixed" ? /* @__PURE__ */ S.createElement(l, Ue({}, p, {
|
|
15197
15197
|
appendTo: L,
|
|
15198
15198
|
controlElement: this.controlRef,
|
|
15199
15199
|
menuPlacement: y,
|
|
15200
|
-
menuPosition:
|
|
15200
|
+
menuPosition: I
|
|
15201
15201
|
}), q) : q;
|
|
15202
15202
|
}
|
|
15203
15203
|
}, {
|
|
@@ -15205,7 +15205,7 @@ var a4 = function(t) {
|
|
|
15205
15205
|
value: function() {
|
|
15206
15206
|
var o = this, u = this.props, i = u.delimiter, s = u.isDisabled, f = u.isMulti, c = u.name, l = u.required, D = this.state.selectValue;
|
|
15207
15207
|
if (l && !this.hasValue() && !s)
|
|
15208
|
-
return /* @__PURE__ */
|
|
15208
|
+
return /* @__PURE__ */ S.createElement(bS, {
|
|
15209
15209
|
name: c,
|
|
15210
15210
|
onFocus: this.onValueInputFocus
|
|
15211
15211
|
});
|
|
@@ -15215,29 +15215,29 @@ var a4 = function(t) {
|
|
|
15215
15215
|
var C = D.map(function(A) {
|
|
15216
15216
|
return o.getOptionValue(A);
|
|
15217
15217
|
}).join(i);
|
|
15218
|
-
return /* @__PURE__ */
|
|
15218
|
+
return /* @__PURE__ */ S.createElement("input", {
|
|
15219
15219
|
name: c,
|
|
15220
15220
|
type: "hidden",
|
|
15221
15221
|
value: C
|
|
15222
15222
|
});
|
|
15223
15223
|
} else {
|
|
15224
15224
|
var F = D.length > 0 ? D.map(function(A, d) {
|
|
15225
|
-
return /* @__PURE__ */
|
|
15225
|
+
return /* @__PURE__ */ S.createElement("input", {
|
|
15226
15226
|
key: "i-".concat(d),
|
|
15227
15227
|
name: c,
|
|
15228
15228
|
type: "hidden",
|
|
15229
15229
|
value: o.getOptionValue(A)
|
|
15230
15230
|
});
|
|
15231
|
-
}) : /* @__PURE__ */
|
|
15231
|
+
}) : /* @__PURE__ */ S.createElement("input", {
|
|
15232
15232
|
name: c,
|
|
15233
15233
|
type: "hidden",
|
|
15234
15234
|
value: ""
|
|
15235
15235
|
});
|
|
15236
|
-
return /* @__PURE__ */
|
|
15236
|
+
return /* @__PURE__ */ S.createElement("div", null, F);
|
|
15237
15237
|
}
|
|
15238
15238
|
else {
|
|
15239
15239
|
var p = D[0] ? this.getOptionValue(D[0]) : "";
|
|
15240
|
-
return /* @__PURE__ */
|
|
15240
|
+
return /* @__PURE__ */ S.createElement("input", {
|
|
15241
15241
|
name: c,
|
|
15242
15242
|
type: "hidden",
|
|
15243
15243
|
value: p
|
|
@@ -15248,7 +15248,7 @@ var a4 = function(t) {
|
|
|
15248
15248
|
key: "renderLiveRegion",
|
|
15249
15249
|
value: function() {
|
|
15250
15250
|
var o = this.commonProps, u = this.state, i = u.ariaSelection, s = u.focusedOption, f = u.focusedValue, c = u.isFocused, l = u.selectValue, D = this.getFocusableOptions();
|
|
15251
|
-
return /* @__PURE__ */
|
|
15251
|
+
return /* @__PURE__ */ S.createElement(uS, Ue({}, o, {
|
|
15252
15252
|
id: this.getElementId("live-region"),
|
|
15253
15253
|
ariaSelection: i,
|
|
15254
15254
|
focusedOption: s,
|
|
@@ -15263,7 +15263,7 @@ var a4 = function(t) {
|
|
|
15263
15263
|
key: "render",
|
|
15264
15264
|
value: function() {
|
|
15265
15265
|
var o = this.getComponents(), u = o.Control, i = o.IndicatorsContainer, s = o.SelectContainer, f = o.ValueContainer, c = this.props, l = c.className, D = c.id, C = c.isDisabled, F = c.menuIsOpen, p = this.state.isFocused, A = this.commonProps = this.getCommonProps();
|
|
15266
|
-
return /* @__PURE__ */
|
|
15266
|
+
return /* @__PURE__ */ S.createElement(s, Ue({}, A, {
|
|
15267
15267
|
className: l,
|
|
15268
15268
|
innerProps: {
|
|
15269
15269
|
id: D,
|
|
@@ -15271,7 +15271,7 @@ var a4 = function(t) {
|
|
|
15271
15271
|
},
|
|
15272
15272
|
isDisabled: C,
|
|
15273
15273
|
isFocused: p
|
|
15274
|
-
}), this.renderLiveRegion(), /* @__PURE__ */
|
|
15274
|
+
}), this.renderLiveRegion(), /* @__PURE__ */ S.createElement(u, Ue({}, A, {
|
|
15275
15275
|
innerRef: this.getControlRef,
|
|
15276
15276
|
innerProps: {
|
|
15277
15277
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -15280,9 +15280,9 @@ var a4 = function(t) {
|
|
|
15280
15280
|
isDisabled: C,
|
|
15281
15281
|
isFocused: p,
|
|
15282
15282
|
menuIsOpen: F
|
|
15283
|
-
}), /* @__PURE__ */
|
|
15283
|
+
}), /* @__PURE__ */ S.createElement(f, Ue({}, A, {
|
|
15284
15284
|
isDisabled: C
|
|
15285
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */
|
|
15285
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ S.createElement(i, Ue({}, A, {
|
|
15286
15286
|
isDisabled: C
|
|
15287
15287
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
15288
15288
|
}
|
|
@@ -15301,7 +15301,7 @@ var a4 = function(t) {
|
|
|
15301
15301
|
clearFocusValueOnUpdate: !1
|
|
15302
15302
|
};
|
|
15303
15303
|
}
|
|
15304
|
-
var
|
|
15304
|
+
var I = f != null && o !== i ? {
|
|
15305
15305
|
inputIsHidden: f,
|
|
15306
15306
|
inputIsHiddenAfterUpdate: void 0
|
|
15307
15307
|
} : {}, L = c, j = l && D;
|
|
@@ -15309,7 +15309,7 @@ var a4 = function(t) {
|
|
|
15309
15309
|
value: _a(h, m, m[0] || null),
|
|
15310
15310
|
options: m,
|
|
15311
15311
|
action: "initial-input-focus"
|
|
15312
|
-
}, j = !D), (c == null ? void 0 : c.action) === "initial-input-focus" && (L = null), je(je(je({}, g),
|
|
15312
|
+
}, j = !D), (c == null ? void 0 : c.action) === "initial-input-focus" && (L = null), je(je(je({}, g), I), {}, {
|
|
15313
15313
|
prevProps: o,
|
|
15314
15314
|
ariaSelection: L,
|
|
15315
15315
|
prevWasFocused: j
|
|
@@ -15320,7 +15320,7 @@ var a4 = function(t) {
|
|
|
15320
15320
|
Xf.defaultProps = NS;
|
|
15321
15321
|
var QS = /* @__PURE__ */ wo(function(e, t) {
|
|
15322
15322
|
var n = Gl(e);
|
|
15323
|
-
return /* @__PURE__ */
|
|
15323
|
+
return /* @__PURE__ */ S.createElement(Xf, Ue({
|
|
15324
15324
|
ref: t
|
|
15325
15325
|
}, n));
|
|
15326
15326
|
}), HS = QS;
|
|
@@ -15344,7 +15344,7 @@ const US = w(Q)`
|
|
|
15344
15344
|
height: 24px;
|
|
15345
15345
|
border-radius: 50%;
|
|
15346
15346
|
margin-right: 12px;
|
|
15347
|
-
`, i4 = (e) => /* @__PURE__ */
|
|
15347
|
+
`, i4 = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 12, height: 10, viewBox: "0 0 12 10", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M4.0001 8.0299L1.2201 5.2499L0.273438 6.1899L4.0001 9.91656L12.0001 1.91656L11.0601 0.976562L4.0001 8.0299Z" }));
|
|
15348
15348
|
function s4(e) {
|
|
15349
15349
|
const { data: t, isSelected: n } = e;
|
|
15350
15350
|
return /* @__PURE__ */ a.jsx(Zn.Option, { ...e, children: /* @__PURE__ */ a.jsxs(US, { children: [
|
|
@@ -15562,7 +15562,7 @@ var A4 = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(A4 || {}), KS = ["d
|
|
|
15562
15562
|
function p4(e) {
|
|
15563
15563
|
var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, u = e.loadOptions;
|
|
15564
15564
|
e.options;
|
|
15565
|
-
var i = e.isLoading, s = i === void 0 ? !1 : i, f = e.onInputChange, c = e.filterOption, l = c === void 0 ? null : c, D = Fr(e, KS), C = D.inputValue, F = se(void 0), p = se(!1), A = P(Array.isArray(n) ? n : void 0), d = nn(A, 2), h = d[0], m = d[1], g = P(typeof C < "u" ? C : ""), E = nn(g, 2), b = E[0], B = E[1], v = P(n === !0), y = nn(v, 2),
|
|
15565
|
+
var i = e.isLoading, s = i === void 0 ? !1 : i, f = e.onInputChange, c = e.filterOption, l = c === void 0 ? null : c, D = Fr(e, KS), C = D.inputValue, F = se(void 0), p = se(!1), A = P(Array.isArray(n) ? n : void 0), d = nn(A, 2), h = d[0], m = d[1], g = P(typeof C < "u" ? C : ""), E = nn(g, 2), b = E[0], B = E[1], v = P(n === !0), y = nn(v, 2), I = y[0], L = y[1], j = P(void 0), k = nn(j, 2), T = k[0], O = k[1], N = P([]), M = nn(N, 2), z = M[0], Z = M[1], X = P(!1), G = nn(X, 2), q = G[0], J = G[1], fe = P({}), de = nn(fe, 2), W = de[0], ae = de[1], he = P(void 0), Be = nn(he, 2), We = Be[0], ve = Be[1], le = P(void 0), K = nn(le, 2), V = K[0], oe = K[1];
|
|
15566
15566
|
o !== V && (ae({}), oe(o)), n !== We && (m(Array.isArray(n) ? n : void 0), ve(n)), re(function() {
|
|
15567
15567
|
return p.current = !0, function() {
|
|
15568
15568
|
p.current = !1;
|
|
@@ -15597,14 +15597,14 @@ function p4(e) {
|
|
|
15597
15597
|
}, [o, ne, T, W, f]), Ee = q ? [] : b && T ? z : h || [];
|
|
15598
15598
|
return je(je({}, D), {}, {
|
|
15599
15599
|
options: Ee,
|
|
15600
|
-
isLoading:
|
|
15600
|
+
isLoading: I || s,
|
|
15601
15601
|
onInputChange: ue,
|
|
15602
15602
|
filterOption: l
|
|
15603
15603
|
});
|
|
15604
15604
|
}
|
|
15605
15605
|
var YS = /* @__PURE__ */ wo(function(e, t) {
|
|
15606
15606
|
var n = p4(e), r = Gl(n);
|
|
15607
|
-
return /* @__PURE__ */
|
|
15607
|
+
return /* @__PURE__ */ S.createElement(Xf, Ue({
|
|
15608
15608
|
ref: t
|
|
15609
15609
|
}, r));
|
|
15610
15610
|
}), qS = YS, $S = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], G3 = function() {
|
|
@@ -15630,18 +15630,18 @@ var YS = /* @__PURE__ */ wo(function(e, t) {
|
|
|
15630
15630
|
}
|
|
15631
15631
|
};
|
|
15632
15632
|
function ek(e) {
|
|
15633
|
-
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, u = e.formatCreateLabel, i = u === void 0 ? J1.formatCreateLabel : u, s = e.isValidNewOption, f = s === void 0 ? J1.isValidNewOption : s, c = e.getNewOptionData, l = c === void 0 ? J1.getNewOptionData : c, D = e.onCreateOption, C = e.options, F = C === void 0 ? [] : C, p = e.onChange, A = Fr(e, $S), d = A.getOptionValue, h = d === void 0 ? $5 : d, m = A.getOptionLabel, g = m === void 0 ? q5 : m, E = A.inputValue, b = A.isLoading, B = A.isMulti, v = A.value, y = A.name,
|
|
15633
|
+
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, u = e.formatCreateLabel, i = u === void 0 ? J1.formatCreateLabel : u, s = e.isValidNewOption, f = s === void 0 ? J1.isValidNewOption : s, c = e.getNewOptionData, l = c === void 0 ? J1.getNewOptionData : c, D = e.onCreateOption, C = e.options, F = C === void 0 ? [] : C, p = e.onChange, A = Fr(e, $S), d = A.getOptionValue, h = d === void 0 ? $5 : d, m = A.getOptionLabel, g = m === void 0 ? q5 : m, E = A.inputValue, b = A.isLoading, B = A.isMulti, v = A.value, y = A.name, I = $(function() {
|
|
15634
15634
|
return f(E, tf(v), F, {
|
|
15635
15635
|
getOptionValue: h,
|
|
15636
15636
|
getOptionLabel: g
|
|
15637
15637
|
}) ? l(E, i(E)) : void 0;
|
|
15638
15638
|
}, [i, l, g, h, E, f, F, v]), L = $(function() {
|
|
15639
|
-
return (n || !b) &&
|
|
15640
|
-
}, [n, o, b,
|
|
15639
|
+
return (n || !b) && I ? o === "first" ? [I].concat(ju(F)) : [].concat(ju(F), [I]) : F;
|
|
15640
|
+
}, [n, o, b, I, F]), j = ie(function(k, T) {
|
|
15641
15641
|
if (T.action !== "select-option")
|
|
15642
15642
|
return p(k, T);
|
|
15643
15643
|
var O = Array.isArray(k) ? k : [k];
|
|
15644
|
-
if (O[O.length - 1] ===
|
|
15644
|
+
if (O[O.length - 1] === I) {
|
|
15645
15645
|
if (D) D(E);
|
|
15646
15646
|
else {
|
|
15647
15647
|
var N = l(E, E), M = {
|
|
@@ -15654,7 +15654,7 @@ function ek(e) {
|
|
|
15654
15654
|
return;
|
|
15655
15655
|
}
|
|
15656
15656
|
p(k, T);
|
|
15657
|
-
}, [l, E, B, y,
|
|
15657
|
+
}, [l, E, B, y, I, D, p, v]);
|
|
15658
15658
|
return je(je({}, A), {}, {
|
|
15659
15659
|
options: L,
|
|
15660
15660
|
onChange: j
|
|
@@ -15662,7 +15662,7 @@ function ek(e) {
|
|
|
15662
15662
|
}
|
|
15663
15663
|
var tk = /* @__PURE__ */ wo(function(e, t) {
|
|
15664
15664
|
var n = p4(e), r = Gl(n), o = ek(r);
|
|
15665
|
-
return /* @__PURE__ */
|
|
15665
|
+
return /* @__PURE__ */ S.createElement(Xf, Ue({
|
|
15666
15666
|
ref: t
|
|
15667
15667
|
}, o));
|
|
15668
15668
|
}), nk = tk;
|
|
@@ -15678,7 +15678,7 @@ const rk = w(Y)`
|
|
|
15678
15678
|
e(...o);
|
|
15679
15679
|
}, t);
|
|
15680
15680
|
};
|
|
15681
|
-
}, g4 = (e) => /* @__PURE__ */
|
|
15681
|
+
}, g4 = (e) => /* @__PURE__ */ S.createElement("svg", { width: "8px", height: "8px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" }));
|
|
15682
15682
|
function ok(e) {
|
|
15683
15683
|
return /* @__PURE__ */ a.jsx(Zn.DropdownIndicator, { ...e, children: /* @__PURE__ */ a.jsx(K2, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ a.jsx(xt.ArrowDropUp, {}) : /* @__PURE__ */ a.jsx(xt.ArrowDropDown, {}) }) });
|
|
15684
15684
|
}
|
|
@@ -15732,7 +15732,7 @@ function ak({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
15732
15732
|
}, y = (T) => {
|
|
15733
15733
|
var O;
|
|
15734
15734
|
(O = n.onFocus) == null || O.call(n, T), !s && A && (o([]), f(!0), m == null || m(u, E, !1));
|
|
15735
|
-
},
|
|
15735
|
+
}, I = (T) => (O) => {
|
|
15736
15736
|
var M;
|
|
15737
15737
|
const N = O.find((z) => z.label === T);
|
|
15738
15738
|
!n.isMulti && N && ((M = n.onChange) == null || M.call(n, N, {
|
|
@@ -15741,7 +15741,7 @@ function ak({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
15741
15741
|
option: N
|
|
15742
15742
|
})), o(O), f(!1);
|
|
15743
15743
|
}, L = (T) => {
|
|
15744
|
-
f(!0), D == null || D(T,
|
|
15744
|
+
f(!0), D == null || D(T, I(T));
|
|
15745
15745
|
}, j = () => {
|
|
15746
15746
|
f(!0), m == null || m(u, E, !1);
|
|
15747
15747
|
}, k = D ? nk : qS;
|
|
@@ -16355,7 +16355,7 @@ const zk = {
|
|
|
16355
16355
|
t ? /* @__PURE__ */ a.jsx("span", { className: "required__star", children: "*" }) : null
|
|
16356
16356
|
]
|
|
16357
16357
|
}
|
|
16358
|
-
) : null, oT = (e) => /* @__PURE__ */
|
|
16358
|
+
) : null, oT = (e) => /* @__PURE__ */ S.createElement("svg", { width: "8px", height: "8px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4z" })), O4 = 250, fo = "__id", q1 = (e) => e != null && e !== "" && e !== !1, ka = {
|
|
16359
16359
|
isExpandable: !0,
|
|
16360
16360
|
isExpanded: !0,
|
|
16361
16361
|
defaultNumberOfRows: 1,
|
|
@@ -16382,7 +16382,7 @@ const zk = {
|
|
|
16382
16382
|
onFocus: F,
|
|
16383
16383
|
onValidationError: p
|
|
16384
16384
|
}) => {
|
|
16385
|
-
const A = $(() => t ?? [], [t]), d = $(() => (o == null ? void 0 : o.validations) ?? {}, [o]), h = !!(o != null && o.isRequired), m = se(), g = se({}), [E, b] = P({}), [B, v] = P(!1), { colsLength: y, colsTemplate:
|
|
16385
|
+
const A = $(() => t ?? [], [t]), d = $(() => (o == null ? void 0 : o.validations) ?? {}, [o]), h = !!(o != null && o.isRequired), m = se(), g = se({}), [E, b] = P({}), [B, v] = P(!1), { colsLength: y, colsTemplate: I, colWidth: L } = $(() => {
|
|
16386
16386
|
let V = 0, oe = "";
|
|
16387
16387
|
for (const ne of r) {
|
|
16388
16388
|
let ue = ne.cols ? Number(ne.cols) : 1;
|
|
@@ -16539,7 +16539,7 @@ const zk = {
|
|
|
16539
16539
|
v(!0), F == null || F(V);
|
|
16540
16540
|
}, K = !h || A.length > 1;
|
|
16541
16541
|
return /* @__PURE__ */ a.jsxs(ik, { children: [
|
|
16542
|
-
/* @__PURE__ */ a.jsx(sk, { ref: m, children: /* @__PURE__ */ a.jsxs(fk, { gridColumns:
|
|
16542
|
+
/* @__PURE__ */ a.jsx(sk, { ref: m, children: /* @__PURE__ */ a.jsxs(fk, { gridColumns: I, minWidth: `calc( ${y} * ${L} )`, children: [
|
|
16543
16543
|
/* @__PURE__ */ a.jsx(lk, { children: r.map(({ name: V, label: oe }) => /* @__PURE__ */ a.jsx(K1, { children: /* @__PURE__ */ a.jsx(R4, { label: oe, isRequired: O.has(V) }) }, V)) }),
|
|
16544
16544
|
A.map(({ [fo]: V, ...oe }) => /* @__PURE__ */ a.jsxs(C4, { children: [
|
|
16545
16545
|
r.map(({ name: ne, key: ue, ...Ee }) => {
|
|
@@ -16719,7 +16719,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
16719
16719
|
if (g.current >= DT) break;
|
|
16720
16720
|
O.status !== "uploading" || m.current.has(O.tempId) || (T = v.current) == null || T.call(v, O.tempId);
|
|
16721
16721
|
}
|
|
16722
|
-
}, []),
|
|
16722
|
+
}, []), I = ie(
|
|
16723
16723
|
(T) => {
|
|
16724
16724
|
const O = d.current[T], N = p.current;
|
|
16725
16725
|
if (!O || !N) return;
|
|
@@ -16769,7 +16769,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
16769
16769
|
},
|
|
16770
16770
|
[B, b, y, E]
|
|
16771
16771
|
);
|
|
16772
|
-
v.current =
|
|
16772
|
+
v.current = I;
|
|
16773
16773
|
const L = ie(
|
|
16774
16774
|
(T) => {
|
|
16775
16775
|
var z, Z, X, G;
|
|
@@ -16838,7 +16838,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
16838
16838
|
typeof URL < "u" && typeof URL.revokeObjectURL == "function" && Object.values(T).forEach((O) => URL.revokeObjectURL(O));
|
|
16839
16839
|
};
|
|
16840
16840
|
}, []), { items: f, addFiles: L, removeItem: j, retry: k };
|
|
16841
|
-
}, hT = (e) => /* @__PURE__ */
|
|
16841
|
+
}, hT = (e) => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 50 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H30L40 10L50 20V56C50 60.4183 46.4183 64 42 64H8C3.58172 64 0 60.4183 0 56V8Z", fill: "#255C87" }), /* @__PURE__ */ S.createElement("path", { d: "M17.2721 46.7279L23.8686 40.1314C24.2646 39.7354 24.4627 39.5373 24.691 39.4632C24.8918 39.3979 25.1082 39.3979 25.309 39.4632C25.5373 39.5373 25.7354 39.7354 26.1314 40.1314L32.6839 46.6839M27 41L29.8686 38.1314C30.2646 37.7354 30.4627 37.5373 30.691 37.4632C30.8918 37.3979 31.1082 37.3979 31.309 37.4632C31.5373 37.5373 31.7354 37.7354 32.1314 38.1314L35 41M23 35C23 36.1046 22.1046 37 21 37C19.8954 37 19 36.1046 19 35C19 33.8954 19.8954 33 21 33C22.1046 33 23 33.8954 23 35ZM19.8 47H30.2C31.8802 47 32.7202 47 33.362 46.673C33.9265 46.3854 34.3854 45.9265 34.673 45.362C35 44.7202 35 43.8802 35 42.2V33.8C35 32.1198 35 31.2798 34.673 30.638C34.3854 30.0735 33.9265 29.6146 33.362 29.327C32.7202 29 31.8802 29 30.2 29H19.8C18.1198 29 17.2798 29 16.638 29.327C16.0735 29.6146 15.6146 30.0735 15.327 30.638C15 31.2798 15 32.1198 15 33.8V42.2C15 43.8802 15 44.7202 15.327 45.362C15.6146 45.9265 16.0735 46.3854 16.638 46.673C17.2798 47 18.1198 47 19.8 47Z", stroke: "white", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M30 16V0L50 20H34C31.7909 20 30 18.2091 30 16Z", fill: "#DBE9F5" })), gT = (e) => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 50 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H30L40 10L50 20V56C50 60.4183 46.4183 64 42 64H8C3.58172 64 0 60.4183 0 56V8Z", fill: "#8789C5" }), /* @__PURE__ */ S.createElement("path", { d: "M25 48V28M20 48V43M20 33V28M30 48V43M30 33V28M15 33H35M15 43H35M35 43.2V32.8C35 31.1198 35 30.2798 34.673 29.638C34.3854 29.0735 33.9265 28.6146 33.362 28.327C32.7202 28 31.8802 28 30.2 28H19.8C18.1198 28 17.2798 28 16.638 28.327C16.0735 28.6146 15.6146 29.0735 15.327 29.638C15 30.2798 15 31.1198 15 32.8V43.2C15 44.8802 15 45.7202 15.327 46.362C15.6146 46.9265 16.0735 47.3854 16.638 47.673C17.2798 48 18.1198 48 19.8 48H30.2C31.8802 48 32.7202 48 33.362 47.673C33.9265 47.3854 34.3854 46.9265 34.673 46.362C35 45.7202 35 44.8802 35 43.2Z", stroke: "white", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M30 16V0L50 20H34C31.7909 20 30 18.2091 30 16Z", fill: "#E7E7F3" })), CT = (e) => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 50 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H30L40 10L50 20V56C50 60.4183 46.4183 64 42 64H8C3.58172 64 0 60.4183 0 56V8Z", fill: "#852326" }), /* @__PURE__ */ S.createElement("path", { d: "M16.6323 35.7197C17.8299 35.7197 18.7038 35.9779 19.2539 36.4941C19.804 37.0062 20.0791 37.7129 20.0791 38.6143C20.0791 39.0205 20.0177 39.4098 19.895 39.7822C19.7723 40.1504 19.5713 40.4784 19.292 40.7661C19.0169 41.0539 18.6488 41.2824 18.1875 41.4517C17.7262 41.6167 17.1571 41.6992 16.48 41.6992H15.6357V45H13.668V35.7197H16.6323ZM16.5308 37.332H15.6357V40.0869H16.2832C16.6514 40.0869 16.9709 40.0382 17.2417 39.9409C17.5125 39.8436 17.722 39.6912 17.8701 39.4839C18.0182 39.2765 18.0923 39.0099 18.0923 38.6841C18.0923 38.2271 17.9653 37.8885 17.7114 37.6685C17.4575 37.4442 17.064 37.332 16.5308 37.332ZM29.5308 40.271C29.5308 41.3162 29.3298 42.1901 28.9277 42.8926C28.5299 43.5908 27.9523 44.1177 27.1948 44.4731C26.4373 44.8244 25.5254 45 24.459 45H21.8311V35.7197H24.7446C25.7179 35.7197 26.5622 35.8932 27.2773 36.2402C27.9925 36.583 28.5469 37.0929 28.9404 37.77C29.334 38.4429 29.5308 39.2765 29.5308 40.271ZM27.4868 40.3218C27.4868 39.6362 27.3853 39.0734 27.1821 38.6333C26.9832 38.189 26.687 37.861 26.2935 37.6494C25.9041 37.4378 25.4217 37.332 24.8462 37.332H23.7988V43.375H24.6431C25.6037 43.375 26.3167 43.119 26.7822 42.6069C27.252 42.0949 27.4868 41.3332 27.4868 40.3218ZM33.3901 45H31.4541V35.7197H36.7734V37.332H33.3901V39.7251H36.5386V41.3311H33.3901V45Z", fill: "white" }), /* @__PURE__ */ S.createElement("path", { d: "M30 16V0L50 20H34C31.7909 20 30 18.2091 30 16Z", fill: "#F5DBDA" })), FT = (e) => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 50 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M0 8C0 3.58172 3.58172 0 8 0H30L40 10L50 20V56C50 60.4183 46.4183 64 42 64H8C3.58172 64 0 60.4183 0 56V8Z", fill: "#94A3B8" }), /* @__PURE__ */ S.createElement("path", { d: "M30 16V0L50 20H34C31.7909 20 30 18.2091 30 16Z", fill: "#F1F5F9" }), /* @__PURE__ */ S.createElement("path", { d: "M16 38H34M16 32H34M16 44H28", stroke: "white", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" })), mT = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_3775_7404)" }, /* @__PURE__ */ S.createElement("path", { d: "M7.99999 3C4.66666 3 1.81999 5.07333 0.666656 8C1.81999 10.9267 4.66666 13 7.99999 13C11.3333 13 14.18 10.9267 15.3333 8C14.18 5.07333 11.3333 3 7.99999 3ZM7.99999 11.3333C6.15999 11.3333 4.66666 9.84 4.66666 8C4.66666 6.16 6.15999 4.66667 7.99999 4.66667C9.83999 4.66667 11.3333 6.16 11.3333 8C11.3333 9.84 9.83999 11.3333 7.99999 11.3333ZM7.99999 6C6.89332 6 5.99999 6.89333 5.99999 8C5.99999 9.10667 6.89332 10 7.99999 10C9.10666 10 9.99999 9.10667 9.99999 8C9.99999 6.89333 9.10666 6 7.99999 6Z", fill: "#4D596C" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_3775_7404" }, /* @__PURE__ */ S.createElement("rect", { width: 16, height: 16, fill: "white" })))), ET = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_3775_7401)" }, /* @__PURE__ */ S.createElement("path", { d: "M12.9 6.69334C12.4467 4.39334 10.4267 2.66667 8 2.66667C6.07333 2.66667 4.4 3.76 3.56667 5.36001C1.56 5.57334 0 7.27334 0 9.33334C0 11.54 1.79333 13.3333 4 13.3333H12.6667C14.5067 13.3333 16 11.84 16 10C16 8.24001 14.6333 6.81334 12.9 6.69334ZM12.6667 12H4C2.52667 12 1.33333 10.8067 1.33333 9.33334C1.33333 7.96667 2.35333 6.82667 3.70667 6.68667L4.42 6.61334L4.75333 5.98001C5.38667 4.76001 6.62667 4.00001 8 4.00001C9.74667 4.00001 11.2533 5.24001 11.5933 6.95334L11.7933 7.95334L12.8133 8.02667C13.8533 8.09334 14.6667 8.96667 14.6667 10C14.6667 11.1 13.7667 12 12.6667 12ZM8.96667 6.66667H7.03333V8.66667H5.33333L8 11.3333L10.6667 8.66667H8.96667V6.66667Z", fill: "#4D596C" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_3775_7401" }, /* @__PURE__ */ S.createElement("rect", { width: 16, height: 16, fill: "white" })))), bT = mT, P4 = ET, Q4 = ({ mimeType: e }) => e && /^image\//.test(e) ? /* @__PURE__ */ a.jsx(hT, {}) : e && /^video\//.test(e) ? /* @__PURE__ */ a.jsx(gT, {}) : e === "application/pdf" ? /* @__PURE__ */ a.jsx(CT, {}) : /* @__PURE__ */ a.jsx(FT, {}), Nc = "var(--connector-border-strong, #D6DDE8)", xT = "color-mix(in srgb, var(--connector-negative, #E42525) 12%, var(--connector-surface, #FFFFFF))", oD = `
|
|
16842
16842
|
display: inline-flex;
|
|
16843
16843
|
align-items: center;
|
|
16844
16844
|
justify-content: center;
|
|
@@ -17174,7 +17174,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17174
17174
|
]
|
|
17175
17175
|
}
|
|
17176
17176
|
);
|
|
17177
|
-
}, GT = (e) => /* @__PURE__ */
|
|
17177
|
+
}, GT = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 20, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 1.6, strokeLinecap: "round", strokeLinejoin: "round", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M16 16l-4-4-4 4" }), /* @__PURE__ */ S.createElement("path", { d: "M12 12v9" }), /* @__PURE__ */ S.createElement("path", { d: "M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3" })), VT = 10, zT = 25, XT = "*", ZT = (e) => Array.isArray(e) ? e : [], JT = ({ name: e, value: t, meta: n, onChange: r, upload: o, onToast: u }) => {
|
|
17178
17178
|
const i = se(null), [s, f] = P(!1), [c, l] = P(null), [D, C] = P(!1), F = (N) => {
|
|
17179
17179
|
l(N), C(!0);
|
|
17180
17180
|
}, p = (n == null ? void 0 : n.maxFiles) ?? VT, A = (n == null ? void 0 : n.maxFileSizeMb) ?? zT, d = (n == null ? void 0 : n.acceptedTypes) ?? XT, h = n == null ? void 0 : n.excludedTypes, m = (n == null ? void 0 : n.supportsDelete) !== !1, g = (n == null ? void 0 : n.fieldKey) ?? e, E = $(() => ({ fieldKey: g }), [g]), { items: b, addFiles: B, removeItem: v, retry: y } = pT({
|
|
@@ -17188,17 +17188,17 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17188
17188
|
uploadContext: E,
|
|
17189
17189
|
onChange: r,
|
|
17190
17190
|
onToast: u
|
|
17191
|
-
}),
|
|
17191
|
+
}), I = b.length >= p, L = () => {
|
|
17192
17192
|
var N;
|
|
17193
|
-
|
|
17193
|
+
I || (N = i.current) == null || N.click();
|
|
17194
17194
|
}, j = (N) => {
|
|
17195
17195
|
const M = N.target.files ? Array.from(N.target.files) : [];
|
|
17196
17196
|
B(M), N.target.value = "";
|
|
17197
17197
|
}, k = (N) => {
|
|
17198
|
-
|
|
17198
|
+
I || (N.preventDefault(), f(!0));
|
|
17199
17199
|
}, T = () => f(!1), O = (N) => {
|
|
17200
17200
|
var z;
|
|
17201
|
-
if (N.preventDefault(), f(!1),
|
|
17201
|
+
if (N.preventDefault(), f(!1), I) return;
|
|
17202
17202
|
const M = (z = N.dataTransfer) != null && z.files ? Array.from(N.dataTransfer.files) : [];
|
|
17203
17203
|
B(M);
|
|
17204
17204
|
};
|
|
@@ -17220,7 +17220,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17220
17220
|
role: "button",
|
|
17221
17221
|
tabIndex: 0,
|
|
17222
17222
|
dragOver: s,
|
|
17223
|
-
disabled:
|
|
17223
|
+
disabled: I,
|
|
17224
17224
|
onClick: L,
|
|
17225
17225
|
onKeyDown: (N) => {
|
|
17226
17226
|
(N.key === "Enter" || N.key === " ") && (N.preventDefault(), L());
|
|
@@ -17230,7 +17230,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17230
17230
|
onDrop: O,
|
|
17231
17231
|
children: [
|
|
17232
17232
|
/* @__PURE__ */ a.jsx(GT, {}),
|
|
17233
|
-
|
|
17233
|
+
I ? `Maximum ${p} files reached` : "Click here to upload"
|
|
17234
17234
|
]
|
|
17235
17235
|
}
|
|
17236
17236
|
),
|
|
@@ -17515,7 +17515,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17515
17515
|
transform: translate(5px, 0);
|
|
17516
17516
|
height: 34px;
|
|
17517
17517
|
width: 34px;
|
|
17518
|
-
`, oL = (e) => /* @__PURE__ */
|
|
17518
|
+
`, oL = (e) => /* @__PURE__ */ S.createElement("svg", { width: "8px", height: "8px", viewBox: "8.59 6 7.41 12", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" })), vo = ({
|
|
17519
17519
|
fetchConfig: e,
|
|
17520
17520
|
createConfig: t,
|
|
17521
17521
|
menuPortalTarget: n,
|
|
@@ -17543,7 +17543,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17543
17543
|
validateOnBlur: B = !0,
|
|
17544
17544
|
validateOnChange: v = !0,
|
|
17545
17545
|
isRequired: y,
|
|
17546
|
-
labelSpacing:
|
|
17546
|
+
labelSpacing: I = 1,
|
|
17547
17547
|
showGlobalLoader: L = !1,
|
|
17548
17548
|
hideHelperText: j = !1,
|
|
17549
17549
|
meta: { isExpandable: k = b === "table", isExpanded: T = !0 } = {}
|
|
@@ -17704,7 +17704,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17704
17704
|
return /* @__PURE__ */ a.jsxs(
|
|
17705
17705
|
nL,
|
|
17706
17706
|
{
|
|
17707
|
-
spacing:
|
|
17707
|
+
spacing: I,
|
|
17708
17708
|
useFlexGap: !0,
|
|
17709
17709
|
...k && {
|
|
17710
17710
|
className: `expandable ${Z ? "open" : "close"}`
|
|
@@ -17773,12 +17773,12 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17773
17773
|
showGlobalLoader: E = !1,
|
|
17774
17774
|
cols: b = 1
|
|
17775
17775
|
}) => {
|
|
17776
|
-
const B = (v) => (y,
|
|
17777
|
-
n == null || n(y,
|
|
17776
|
+
const B = (v) => (y, I) => {
|
|
17777
|
+
n == null || n(y, I, v);
|
|
17778
17778
|
};
|
|
17779
|
-
return /* @__PURE__ */ a.jsx(uL, { spacing: A, children: e.map(({ id: v, title: y, formFields:
|
|
17780
|
-
y &&
|
|
17781
|
-
/* @__PURE__ */ a.jsx(aL, { useFlexGap: !0, spacing: d, cols: b, children:
|
|
17779
|
+
return /* @__PURE__ */ a.jsx(uL, { spacing: A, children: e.map(({ id: v, title: y, formFields: I }) => I.every((j) => j.hideInUI) ? null : /* @__PURE__ */ a.jsxs(ut.Fragment, { children: [
|
|
17780
|
+
y && I.length ? /* @__PURE__ */ a.jsx(Y, { variant: "h3", className: "authform__section-title", children: y }) : null,
|
|
17781
|
+
/* @__PURE__ */ a.jsx(aL, { useFlexGap: !0, spacing: d, cols: b, children: I.map((j) => {
|
|
17782
17782
|
var k;
|
|
17783
17783
|
return l && typeof l == "object" && j.name in l && l[j.name] === !1 || j.hideInUI ? null : /* @__PURE__ */ a.jsx(iL, { cols: j.cols ?? 1, children: /* @__PURE__ */ a.jsx(
|
|
17784
17784
|
vo,
|
|
@@ -17830,7 +17830,7 @@ const AT = () => `att-${Date.now()}-${++dT}`, pT = ({
|
|
|
17830
17830
|
width: 40px;
|
|
17831
17831
|
height: 40px;
|
|
17832
17832
|
}
|
|
17833
|
-
`, fL = (e) => /* @__PURE__ */
|
|
17833
|
+
`, fL = (e) => /* @__PURE__ */ S.createElement("svg", { width: 35, height: 35, viewBox: "0 0 35 35", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("rect", { x: 9, y: 9, width: 15, height: 17, fill: "white" }), /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_7787_114457)" }, /* @__PURE__ */ S.createElement("path", { d: "M17.1981 2.86633C9.28704 2.86633 2.86646 9.28691 2.86646 17.198C2.86646 25.1091 9.28704 31.5296 17.1981 31.5296C25.1092 31.5296 31.5298 25.1091 31.5298 17.198C31.5298 9.28691 25.1092 2.86633 17.1981 2.86633ZM14.3318 23.6472V10.7487L22.9308 17.198L14.3318 23.6472Z", fill: "#4D596C" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_7787_114457" }, /* @__PURE__ */ S.createElement("rect", { width: 34.396, height: 34.396, fill: "white" })))), cL = ({ aspectRatio: e = "auto", ...t }) => {
|
|
17834
17834
|
const [n, r] = P(!1);
|
|
17835
17835
|
return n ? null : /* @__PURE__ */ a.jsxs(sL, { aspectRatio: e, children: [
|
|
17836
17836
|
/* @__PURE__ */ a.jsx("img", { className: "preview-img", onError: () => r(!0), ...t }),
|
|
@@ -18023,8 +18023,8 @@ const af = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, G
|
|
|
18023
18023
|
const L = new Set(v.map((j) => j.value));
|
|
18024
18024
|
y = [...v, ...d.filter((j) => !L.has(j.value))];
|
|
18025
18025
|
}
|
|
18026
|
-
const
|
|
18027
|
-
return !
|
|
18026
|
+
const I = s.trim().toLowerCase();
|
|
18027
|
+
return !I || u ? y : y.filter((L) => String(L.label).toLowerCase().includes(I));
|
|
18028
18028
|
}, [d, s, c, l, u, t]), b = $(() => {
|
|
18029
18029
|
const v = {};
|
|
18030
18030
|
for (const y of l)
|
|
@@ -18325,7 +18325,7 @@ const af = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, G
|
|
|
18325
18325
|
}
|
|
18326
18326
|
const O = String(T);
|
|
18327
18327
|
O !== nA && l({ value: O, label: g[O] });
|
|
18328
|
-
},
|
|
18328
|
+
}, I = (k) => {
|
|
18329
18329
|
l(p.filter((T) => String(T.value) !== String(k)));
|
|
18330
18330
|
}, L = n ? F.length > 0 : !!C, j = () => n ? p.length ? /* @__PURE__ */ a.jsx(Q, { sx: SL, children: p.map((k) => /* @__PURE__ */ a.jsx(
|
|
18331
18331
|
IC,
|
|
@@ -18334,7 +18334,7 @@ const af = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, G
|
|
|
18334
18334
|
size: "small",
|
|
18335
18335
|
sx: kL,
|
|
18336
18336
|
onMouseDown: (T) => T.stopPropagation(),
|
|
18337
|
-
onDelete: () =>
|
|
18337
|
+
onDelete: () => I(k.value),
|
|
18338
18338
|
deleteIcon: /* @__PURE__ */ a.jsx(TL, { onMouseDown: (T) => T.stopPropagation() })
|
|
18339
18339
|
},
|
|
18340
18340
|
String(k.value)
|
|
@@ -18937,7 +18937,7 @@ const HL = { m: 0, minWidth: 0, width: "100%" }, UL = {
|
|
|
18937
18937
|
search: B,
|
|
18938
18938
|
optionsProps: v,
|
|
18939
18939
|
observerProps: y,
|
|
18940
|
-
filteredOptions:
|
|
18940
|
+
filteredOptions: I,
|
|
18941
18941
|
paginationEnabled: L,
|
|
18942
18942
|
labelsMap: j,
|
|
18943
18943
|
setSearch: k
|
|
@@ -19049,7 +19049,7 @@ const HL = { m: 0, minWidth: 0, width: "100%" }, UL = {
|
|
|
19049
19049
|
search: B,
|
|
19050
19050
|
searchPlaceholder: r,
|
|
19051
19051
|
paginationEnabled: L,
|
|
19052
|
-
filteredOptions:
|
|
19052
|
+
filteredOptions: I,
|
|
19053
19053
|
observerProps: y,
|
|
19054
19054
|
optionsProps: v,
|
|
19055
19055
|
setSearch: k,
|
|
@@ -19179,7 +19179,7 @@ const HL = { m: 0, minWidth: 0, width: "100%" }, UL = {
|
|
|
19179
19179
|
E,
|
|
19180
19180
|
d
|
|
19181
19181
|
] });
|
|
19182
|
-
}, dR = (e) => /* @__PURE__ */
|
|
19182
|
+
}, dR = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 15, height: 15, viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_833_38792)" }, /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.4 2.52266C11.4 2.86744 11.537 3.1981 11.7808 3.4419C12.0246 3.68569 12.3552 3.82266 12.7 3.82266C13.0448 3.82266 13.3754 3.68569 13.6192 3.4419C13.863 3.1981 14 2.86744 14 2.52266C14 2.17788 13.863 1.84722 13.6192 1.60342C13.3754 1.35962 13.0448 1.22266 12.7 1.22266C12.3552 1.22266 12.0246 1.35962 11.7808 1.60342C11.537 1.84722 11.4 2.17788 11.4 2.52266ZM1 2.52266C1 2.86744 1.13696 3.1981 1.38076 3.44189C1.62456 3.68569 1.95522 3.82266 2.3 3.82266C2.64478 3.82266 2.97544 3.68569 3.21924 3.44189C3.46304 3.1981 3.6 2.86744 3.6 2.52266C3.6 2.17788 3.46304 1.84721 3.21924 1.60342C2.97544 1.35962 2.64478 1.22266 2.3 1.22266C1.95522 1.22266 1.62456 1.35962 1.38076 1.60342C1.13696 1.84721 1 2.17787 1 2.52266Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.4 12.3449C11.4 12.6897 11.537 13.0204 11.7808 13.2642C12.0246 13.508 12.3552 13.6449 12.7 13.6449C13.0448 13.6449 13.3754 13.508 13.6192 13.2642C13.863 13.0204 14 12.6897 14 12.3449C14 12.0001 13.863 11.6695 13.6192 11.4257C13.3754 11.1819 13.0448 11.0449 12.7 11.0449C12.3552 11.0449 12.0246 11.1819 11.7808 11.4257C11.537 11.6695 11.4 12.0001 11.4 12.3449ZM1 12.3449C1 12.6897 1.13696 13.0204 1.38076 13.2642C1.62456 13.508 1.95522 13.6449 2.3 13.6449C2.64478 13.6449 2.97544 13.508 3.21924 13.2642C3.46304 13.0204 3.6 12.6897 3.6 12.3449C3.6 12.0001 3.46304 11.6695 3.21924 11.4257C2.97544 11.1819 2.64478 11.0449 2.3 11.0449C1.95522 11.0449 1.62456 11.1819 1.38076 11.4257C1.13696 11.6695 1 12.0001 1 12.3449Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M11.3984 2.52344L3.59844 2.52344L5.77656 2.52344", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M11.3984 12.3457L3.59844 12.3457L5.77656 12.3457", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_833_38792" }, /* @__PURE__ */ S.createElement("rect", { width: 15, height: 15, fill: "white", transform: "translate(15) rotate(90)" })))), u0 = {
|
|
19183
19183
|
outer: {
|
|
19184
19184
|
display: "flex",
|
|
19185
19185
|
alignItems: "center",
|
|
@@ -19220,7 +19220,7 @@ const HL = { m: 0, minWidth: 0, width: "100%" }, UL = {
|
|
|
19220
19220
|
n(!0);
|
|
19221
19221
|
};
|
|
19222
19222
|
return t ? null : /* @__PURE__ */ a.jsx(pR, { ...e, onError: r });
|
|
19223
|
-
}, gR = (e) => /* @__PURE__ */
|
|
19223
|
+
}, gR = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 17, height: 15, viewBox: "0 0 17 15", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M9.17193 1.59562C8.83327 1.17229 8.9019 0.554585 9.32522 0.215925C9.74855 -0.122735 10.3663 -0.0541004 10.7049 0.369224L9.93842 0.982422L9.17193 1.59562ZM15.0918 7.42414L15.8583 6.81094C16.1451 7.16944 16.1451 7.67884 15.8583 8.03734L15.0918 7.42414ZM10.7049 14.4791C10.3663 14.9024 9.74855 14.971 9.32522 14.6324C8.9019 14.2937 8.83327 13.676 9.17193 13.2527L9.93842 13.8659L10.7049 14.4791ZM14.7237 6.3812C15.2658 6.3812 15.7053 6.82068 15.7053 7.3628C15.7053 7.90492 15.2658 8.34439 14.7237 8.34439V7.3628V6.3812ZM0.981368 8.34439C0.439248 8.34439 -0.000226974 7.90492 -0.000226974 7.3628C-0.000226974 6.82068 0.439248 6.3812 0.981368 6.3812V7.3628V8.34439ZM9.93842 0.982422L10.7049 0.369224L15.8583 6.81094L15.0918 7.42414L14.3253 8.03734L9.17193 1.59562L9.93842 0.982422ZM15.0918 7.42414L15.8583 8.03734L10.7049 14.4791L9.93842 13.8659L9.17193 13.2527L14.3253 6.81094L15.0918 7.42414ZM14.7237 7.3628V8.34439H0.981368V7.3628V6.3812H14.7237V7.3628Z", fill: "currentColor" })), cr = "'Hanken Grotesk', system-ui, sans-serif", CR = (e, t) => (e == null ? void 0 : e.connectorFontFamily) ?? t, FR = w("button")`
|
|
19224
19224
|
position: relative;
|
|
19225
19225
|
flex-shrink: 0;
|
|
19226
19226
|
padding: 0;
|
|
@@ -19542,7 +19542,7 @@ const QR = ({
|
|
|
19542
19542
|
onFieldChange: m,
|
|
19543
19543
|
selectionCard: g
|
|
19544
19544
|
}) => {
|
|
19545
|
-
const [E, b] = P({}), [B, v] = P({}), [y,
|
|
19545
|
+
const [E, b] = P({}), [B, v] = P({}), [y, I] = P(!1), L = $(() => w4(500), []), j = $(() => {
|
|
19546
19546
|
if (!Array.isArray(r) || !r.length) return [];
|
|
19547
19547
|
const G = /* @__PURE__ */ new Set();
|
|
19548
19548
|
return r.filter((J) => $L.includes(J.type) || g && J.name === g.fieldName || G.has(J.name) ? !1 : (G.add(J.name), !0)).sort((J, fe) => J.priority - fe.priority);
|
|
@@ -19568,7 +19568,7 @@ const QR = ({
|
|
|
19568
19568
|
var fe;
|
|
19569
19569
|
return !!((fe = J.validations) != null && fe.isRequired);
|
|
19570
19570
|
}).filter((J) => !E[J.name]);
|
|
19571
|
-
|
|
19571
|
+
I(q.length > 0);
|
|
19572
19572
|
});
|
|
19573
19573
|
}, [L, E, r, D]);
|
|
19574
19574
|
const M = () => {
|
|
@@ -20851,7 +20851,7 @@ const sA = {
|
|
|
20851
20851
|
);
|
|
20852
20852
|
if (!m || !("data" in m) || !("output_variables" in m.data) || !("external_resource_id" in m.data.output_variables))
|
|
20853
20853
|
throw m;
|
|
20854
|
-
const g = m.data.output_variables, { external_resource_id: E, ...b } = g, v = [{ label: o, value: E, prefillValues: b }, ...F], y = v4(v, (
|
|
20854
|
+
const g = m.data.output_variables, { external_resource_id: E, ...b } = g, v = [{ label: o, value: E, prefillValues: b }, ...F], y = v4(v, (I) => I.value);
|
|
20855
20855
|
return l == null || l(y), {
|
|
20856
20856
|
optionsList: y,
|
|
20857
20857
|
key: D,
|
|
@@ -20866,7 +20866,7 @@ const sA = {
|
|
|
20866
20866
|
), eu = Cr(
|
|
20867
20867
|
"commonSlice/fetchDropDownOptions",
|
|
20868
20868
|
async (e, { getState: t, rejectWithValue: n }) => {
|
|
20869
|
-
var v, y,
|
|
20869
|
+
var v, y, I;
|
|
20870
20870
|
const {
|
|
20871
20871
|
fieldName: r,
|
|
20872
20872
|
formId: o,
|
|
@@ -20909,7 +20909,7 @@ const sA = {
|
|
|
20909
20909
|
key: C
|
|
20910
20910
|
};
|
|
20911
20911
|
} catch (L) {
|
|
20912
|
-
const { common: j } = t(), k = ((
|
|
20912
|
+
const { common: j } = t(), k = ((I = j.optionsMap) == null ? void 0 : I[C]) || {};
|
|
20913
20913
|
return s == null || s(k.options ?? [], { isError: !0 }), n(L);
|
|
20914
20914
|
}
|
|
20915
20915
|
},
|
|
@@ -21412,7 +21412,7 @@ Do you want to continue?`, ZO = "Select an object to create", cA = "Select an ob
|
|
|
21412
21412
|
e.removeEventListener("scroll", c), u && window.clearTimeout(u), s && window.clearTimeout(s);
|
|
21413
21413
|
};
|
|
21414
21414
|
}, [e]), [n, o];
|
|
21415
|
-
}, rN = (e) => /* @__PURE__ */
|
|
21415
|
+
}, rN = (e) => /* @__PURE__ */ S.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M5.8016 11.709L12.3416 5.16893L11.4298 4.25712L4.88979 10.7972V11.709H5.8016ZM6.33618 12.9987H3.6001V10.2626L10.9739 2.88875C11.0948 2.76786 11.2588 2.69995 11.4298 2.69995C11.6008 2.69995 11.7648 2.76786 11.8857 2.88875L13.71 4.71302C13.8309 4.83395 13.8988 4.99794 13.8988 5.16893C13.8988 5.33992 13.8309 5.50391 13.71 5.62484L6.33618 12.9987ZM3.6001 14.2884H15.2073V15.578H3.6001V14.2884Z", fill: "var(--connector-neutral-icon, #6C7B94)" })), E6 = /^No\s.+\sfound\sfor\s(email|Email)\s.+@.+\..+$/, oN = (e) => !!e && /^No\s.+\sfound\sfor\s/.test(e), ff = (e) => typeof e == "boolean" ? e ? "Yes" : "No" : String(e), b6 = (e) => {
|
|
21416
21416
|
const t = /\(Error code: (.*?)\)$/, n = e.match(t), r = n ? n[1] : null, o = n ? e.replace(t, "").trim() : e;
|
|
21417
21417
|
return { error_code: r, error_message: o };
|
|
21418
21418
|
}, uN = (e, t) => `${wp} (Error code: ${e})`.replace(/{{connector_name}}/g, (t == null ? void 0 : t[0]) || ""), aN = (e, t) => {
|
|
@@ -21759,8 +21759,8 @@ const cN = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
21759
21759
|
fieldName: p,
|
|
21760
21760
|
showErrorIcon: A,
|
|
21761
21761
|
attachmentKey: d
|
|
21762
|
-
} = e, h = se(null), m = se(null), { email: g, currentSmIds: E, conversationId: b, sendTrackingEvent: B, connectorFunctions: v } = Qe(ft), y = _e(pN),
|
|
21763
|
-
const J = n || uN(
|
|
21762
|
+
} = e, h = se(null), m = se(null), { email: g, currentSmIds: E, conversationId: b, sendTrackingEvent: B, connectorFunctions: v } = Qe(ft), y = _e(pN), I = y == null ? void 0 : y[C], [L, j] = P(!1), k = $(() => n && F ? aN(n, D == null ? void 0 : D.userAuthEnabled) : f ? wp.replace(/{{connector_name}}/g, (c == null ? void 0 : c[0]) || "") : Vd, [n, f, c, F, D == null ? void 0 : D.userAuthEnabled]), T = ie(() => {
|
|
21763
|
+
const J = n || uN(I, c), { error_code: fe, error_message: de } = b6(J);
|
|
21764
21764
|
B == null || B(Eb, {
|
|
21765
21765
|
sm_ids: E,
|
|
21766
21766
|
frontend_req_params: {
|
|
@@ -21775,7 +21775,7 @@ const cN = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
21775
21775
|
});
|
|
21776
21776
|
}, [
|
|
21777
21777
|
n,
|
|
21778
|
-
|
|
21778
|
+
I,
|
|
21779
21779
|
B,
|
|
21780
21780
|
E,
|
|
21781
21781
|
g,
|
|
@@ -21785,8 +21785,8 @@ const cN = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
21785
21785
|
D == null ? void 0 : D.externalResourceId
|
|
21786
21786
|
]);
|
|
21787
21787
|
re(() => {
|
|
21788
|
-
(n && F || f &&
|
|
21789
|
-
}, [T,
|
|
21788
|
+
(n && F || f && I) && T();
|
|
21789
|
+
}, [T, I, f, n, F]), re(() => {
|
|
21790
21790
|
const J = r ? m.current : h.current;
|
|
21791
21791
|
if (J) {
|
|
21792
21792
|
const fe = J.scrollHeight > J.clientHeight || J.scrollWidth > J.clientWidth;
|
|
@@ -21898,7 +21898,7 @@ const cN = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
21898
21898
|
isHeld: s,
|
|
21899
21899
|
emptyMessage: f,
|
|
21900
21900
|
onRetry: c
|
|
21901
|
-
} = e, l = 24, D = (o == null ? void 0 : o[t]) === xe.IDLE, C = (o == null ? void 0 : o[t]) === xe.LOADING, F = (o == null ? void 0 : o[t]) === xe.FAILED, { cardType: p, data: A, cardErrorMessage: d, redirectToAdminTab: h, connectorNames: m } = (r == null ? void 0 : r[t]) || {}, g = p === "flat", [E, b] = P(!1), [B, v] = P(!1), [y,
|
|
21901
|
+
} = e, l = 24, D = (o == null ? void 0 : o[t]) === xe.IDLE, C = (o == null ? void 0 : o[t]) === xe.LOADING, F = (o == null ? void 0 : o[t]) === xe.FAILED, { cardType: p, data: A, cardErrorMessage: d, redirectToAdminTab: h, connectorNames: m } = (r == null ? void 0 : r[t]) || {}, g = p === "flat", [E, b] = P(!1), [B, v] = P(!1), [y, I] = P(!1), [L, j] = P(!1), k = ((W = A == null ? void 0 : A.listItems) == null ? void 0 : W.statusCode) !== 401, T = $(() => {
|
|
21902
21902
|
var Be, We, ve, le;
|
|
21903
21903
|
return g && ((Be = A == null ? void 0 : A.flatDisplay) != null && Be.data) ? A.flatDisplay.data : !g && ((le = (ve = (We = A == null ? void 0 : A.listItems) == null ? void 0 : We.fields) == null ? void 0 : ve[0]) != null && le.data) ? A.listItems.fields[0].data : [];
|
|
21904
21904
|
}, [g, A]), O = $(() => T == null ? void 0 : T.slice(0, 5), [T]), [N, M] = P([]), z = se(null), [Z, X] = P(0), G = E ? -180 : 0, q = g ? !1 : !!((ae = A == null ? void 0 : A.listItems) != null && ae.errorMessage), J = q || F || d, fe = D && !q && u && (y || B);
|
|
@@ -21914,7 +21914,7 @@ const cN = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
21914
21914
|
}, [o == null ? void 0 : o[t], N]), re(() => {
|
|
21915
21915
|
var le, K;
|
|
21916
21916
|
const Be = ((T == null ? void 0 : T.length) || 0) > 5, We = !g && (((K = (le = A == null ? void 0 : A.listItems) == null ? void 0 : le.fields) == null ? void 0 : K.length) || 0) > 1;
|
|
21917
|
-
|
|
21917
|
+
I(Be && !We), v(We);
|
|
21918
21918
|
}, [A, g, T == null ? void 0 : T.length]), re(() => {
|
|
21919
21919
|
M(E ? T : O);
|
|
21920
21920
|
}, [A, E, O, T]);
|
|
@@ -22224,7 +22224,7 @@ const pA = /* @__PURE__ */ new Set(), DD = () => Uc.forEach((e) => e()), t1 = (e
|
|
|
22224
22224
|
}, nj = (e, t) => {
|
|
22225
22225
|
const n = N6(e);
|
|
22226
22226
|
return t ? n[t] : void 0;
|
|
22227
|
-
}, j6 = (e) => /* @__PURE__ */
|
|
22227
|
+
}, j6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M9.76618 2.23341C8.79952 1.26675 7.47285 0.666748 5.99952 0.666748C3.05285 0.666748 0.672852 3.05341 0.672852 6.00008C0.672852 8.94675 3.05285 11.3334 5.99952 11.3334C8.48619 11.3334 10.5595 9.63341 11.1529 7.33341H9.76618C9.21952 8.88675 7.73952 10.0001 5.99952 10.0001C3.79285 10.0001 1.99952 8.20675 1.99952 6.00008C1.99952 3.79341 3.79285 2.00008 5.99952 2.00008C7.10618 2.00008 8.09285 2.46008 8.81285 3.18675L6.66618 5.33341H11.3329V0.666748L9.76618 2.23341Z", fill: "var(--connector-neutral-icon, #6C7B94)" })), rj = (e) => /* @__PURE__ */ S.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M11.4587 6.7528C11.2244 6.51848 10.8445 6.51848 10.6102 6.7528C10.3759 6.98711 10.3759 7.36701 10.6102 7.60132L11.4587 6.7528ZM12.1916 8.33414L12.6158 7.90988L12.1916 8.33414ZM8.33462 12.1911L8.75888 11.7668L8.33462 12.1911ZM7.6018 10.6097C7.36748 10.3754 6.98758 10.3754 6.75327 10.6097C6.51895 10.8441 6.51895 11.224 6.75327 11.4583L7.6018 10.6097ZM4.43911 9.14411C4.67343 9.37842 5.05333 9.37842 5.28764 9.14411C5.52196 8.9098 5.52196 8.5299 5.28764 8.29558L4.43911 9.14411ZM3.70629 7.56276L4.13056 7.1385L3.70629 7.56276ZM7.56324 3.70582L7.9875 3.28155L7.56324 3.70582ZM8.29606 5.28716C8.53037 5.52148 8.91027 5.52148 9.14459 5.28716C9.3789 5.05285 9.3789 4.67295 9.14459 4.43864L8.29606 5.28716ZM10.6102 7.60132L11.7673 8.75841L12.6158 7.90988L11.4587 6.7528L10.6102 7.60132ZM11.7673 8.75841C12.1662 9.15735 12.3904 9.69843 12.3904 10.2626L13.5904 10.2626C13.5904 9.38017 13.2398 8.53387 12.6158 7.90988L11.7673 8.75841ZM12.3904 10.2626C12.3904 10.8268 12.1662 11.3679 11.7673 11.7668L12.6158 12.6154C13.2398 11.9914 13.5904 11.1451 13.5904 10.2626L12.3904 10.2626ZM11.7673 11.7668C10.9365 12.5976 9.58963 12.5976 8.75888 11.7668L7.91035 12.6154C9.20973 13.9147 11.3164 13.9147 12.6158 12.6154L11.7673 11.7668ZM8.75888 11.7668L7.6018 10.6097L6.75327 11.4583L7.91035 12.6154L8.75888 11.7668ZM5.28764 8.29558L4.13056 7.1385L3.28203 7.98703L4.43911 9.14411L5.28764 8.29558ZM4.13056 7.1385C3.73162 6.73956 3.50749 6.19848 3.50749 5.63429L2.30749 5.63429C2.30749 6.51674 2.65804 7.36304 3.28203 7.98703L4.13056 7.1385ZM3.50749 5.63429C3.50749 5.0701 3.73162 4.52902 4.13056 4.13008L3.28203 3.28155C2.65804 3.90554 2.30749 4.75184 2.30749 5.63429L3.50749 5.63429ZM4.13056 4.13008C4.96131 3.29933 6.30822 3.29933 7.13897 4.13008L7.9875 3.28155C6.68812 1.98217 4.58141 1.98217 3.28203 3.28155L4.13056 4.13008ZM7.13897 4.13008L8.29606 5.28716L9.14459 4.43864L7.9875 3.28155L7.13897 4.13008Z", fill: "currentColor" }), /* @__PURE__ */ S.createElement("rect", { x: 5.08887, y: 6.0791, width: 1.33333, height: 6.66667, rx: 0.666667, transform: "rotate(-45 5.08887 6.0791)", fill: "currentColor" }), /* @__PURE__ */ S.createElement("path", { d: "M5.59961 14.3998V12.7998", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M12.7998 5.59961H14.3998", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M2.40039 11.2002H4.00039", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M11.2002 2.40039V4.00039", stroke: "currentColor", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), oj = (e) => /* @__PURE__ */ S.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_5908_39767)" }, /* @__PURE__ */ S.createElement("path", { d: "M9.37333 6.01333L9.98667 6.62667L3.94667 12.6667H3.33333V12.0533L9.37333 6.01333ZM11.7733 2C11.6067 2 11.4333 2.06667 11.3067 2.19333L10.0867 3.41333L12.5867 5.91333L13.8067 4.69333C14.0667 4.43333 14.0667 4.01333 13.8067 3.75333L12.2467 2.19333C12.1133 2.06 11.9467 2 11.7733 2ZM9.37333 4.12667L2 11.5V14H4.5L11.8733 6.62667L9.37333 4.12667Z", fill: "var(--connector-neutral-icon, #6C7B94)" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_5908_39767" }, /* @__PURE__ */ S.createElement("rect", { width: 16, height: 16, fill: "white" })))), bn = Bo({}), _6 = () => {
|
|
22228
22228
|
const { currentSmIds: e } = Qe(ft), { smIds: t } = Qe(bn);
|
|
22229
22229
|
return e != null && e.length ? e : t;
|
|
22230
22230
|
}, wi = () => {
|
|
@@ -22307,7 +22307,7 @@ const pA = /* @__PURE__ */ new Set(), DD = () => Uc.forEach((e) => e()), t1 = (e
|
|
|
22307
22307
|
specificConnectorApiStatus: o,
|
|
22308
22308
|
defaultOpenState: u = !1,
|
|
22309
22309
|
onCardUnlinking: i
|
|
22310
|
-
} = e, s = cn(), { availableFeatures: f, sendTrackingEvent: c, conversationId: l, currentSmIds: D } = Qe(ft), { userGroupId: C } = On() || {}, [F, p] = P(!!u), [A, d] = P(!1), [h, m] = P(!1), [g, E] = P(!1), { id: b, title: B, externalResourceId: v = "", forms: y = [], logoUrl:
|
|
22310
|
+
} = e, s = cn(), { availableFeatures: f, sendTrackingEvent: c, conversationId: l, currentSmIds: D } = Qe(ft), { userGroupId: C } = On() || {}, [F, p] = P(!!u), [A, d] = P(!1), [h, m] = P(!1), [g, E] = P(!1), { id: b, title: B, externalResourceId: v = "", forms: y = [], logoUrl: I, isIdRecordCard: L = !1 } = t;
|
|
22311
22311
|
let j = b;
|
|
22312
22312
|
v && (j = `${j}_${v}`);
|
|
22313
22313
|
const { data: k, cardType: T, cardErrorMessage: O, connectorNames: N } = (n == null ? void 0 : n[j]) ?? {}, M = (N == null ? void 0 : N[0]) || "", z = (o == null ? void 0 : o[j]) === xe.LOADING, Z = (o == null ? void 0 : o[j]) === xe.FAILED, X = !!(wt(f, mp) && v && !L), { isEnabled: G, heldConnectorIds: q, trackIdLookupEvent: J } = L6(), fe = nj(G ? l : void 0, t.connectorId), de = $(
|
|
@@ -22460,7 +22460,7 @@ const pA = /* @__PURE__ */ new Set(), DD = () => Uc.forEach((e) => e()), t1 = (e
|
|
|
22460
22460
|
return /* @__PURE__ */ a.jsxs(Ax, { "data-testid": `test_${b}`, onMouseEnter: ln, onMouseLeave: Mt, children: [
|
|
22461
22461
|
/* @__PURE__ */ a.jsxs(px, { className: F ? "hiver-card-expanded" : "", onClick: (Te) => Ae(Te, j), children: [
|
|
22462
22462
|
/* @__PURE__ */ a.jsxs(hx, { children: [
|
|
22463
|
-
|
|
22463
|
+
I && /* @__PURE__ */ a.jsx("img", { src: I, alt: B }),
|
|
22464
22464
|
/* @__PURE__ */ a.jsx(Le, { title: A ? B : "", placement: "bottom", children: /* @__PURE__ */ a.jsx(
|
|
22465
22465
|
gx,
|
|
22466
22466
|
{
|
|
@@ -23061,7 +23061,7 @@ const Lj = w(Q)`
|
|
|
23061
23061
|
e.map((o) => /* @__PURE__ */ a.jsx(Uj, { connector: o, onConnected: t }, o.connectorId)),
|
|
23062
23062
|
!r && n
|
|
23063
23063
|
] });
|
|
23064
|
-
}, K6 = (e) => /* @__PURE__ */
|
|
23064
|
+
}, K6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.86993 0.652446C7.56922 0.248711 8.43078 0.248711 9.13007 0.652446L13.7981 3.34755C14.4974 3.75129 14.9282 4.49742 14.9282 5.30489V10.6951C14.9282 11.5026 14.4974 12.2487 13.7981 12.6524L9.13007 15.3476C8.43078 15.7513 7.56922 15.7513 6.86993 15.3476L2.20187 12.6524C1.50258 12.2487 1.0718 11.5026 1.0718 10.6951V5.30489C1.0718 4.49742 1.50258 3.75129 2.20187 3.34755L6.86993 0.652446Z", fill: "#FFD122" }), /* @__PURE__ */ S.createElement("g", { filter: "url(#filter0_d_360_39563)" }, /* @__PURE__ */ S.createElement("path", { d: "M5.83154 4.43359V4.43359C6.84296 4.43359 7.66287 5.25351 7.66287 6.26492V11.5179V11.5179C6.65146 11.5179 5.83154 10.698 5.83154 9.68661V4.43359Z", fill: "white" })), /* @__PURE__ */ S.createElement("g", { filter: "url(#filter1_d_360_39563)" }, /* @__PURE__ */ S.createElement("path", { d: "M8.57812 7.66211V7.66211C9.58954 7.66211 10.4095 8.48202 10.4095 9.49343V11.7103V11.7103C9.39804 11.7103 8.57812 10.8904 8.57812 9.87898V7.66211Z", fill: "white" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("filter", { id: "filter0_d_360_39563", x: 4.76488, y: 3.36693, width: 3.96488, height: 9.21732, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ S.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ S.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ S.createElement("feOffset", null), /* @__PURE__ */ S.createElement("feGaussianBlur", { stdDeviation: 0.533333 }), /* @__PURE__ */ S.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.114019 0" }), /* @__PURE__ */ S.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_360_39563" }), /* @__PURE__ */ S.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_360_39563", result: "shape" })), /* @__PURE__ */ S.createElement("filter", { id: "filter1_d_360_39563", x: 7.51146, y: 6.59544, width: 3.96488, height: 6.18216, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ S.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ S.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ S.createElement("feOffset", null), /* @__PURE__ */ S.createElement("feGaussianBlur", { stdDeviation: 0.533333 }), /* @__PURE__ */ S.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.114019 0" }), /* @__PURE__ */ S.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_360_39563" }), /* @__PURE__ */ S.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_360_39563", result: "shape" })))), Gj = ({ size: e = 24 }) => /* @__PURE__ */ a.jsxs("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": !0, children: [
|
|
23065
23065
|
/* @__PURE__ */ a.jsx("path", { d: "M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3z", fill: "var(--connector-icon-secondary)" }),
|
|
23066
23066
|
/* @__PURE__ */ a.jsx("path", { d: "M21 9l-3.99-4v3H10v2h7.01v3L21 9z", fill: "var(--connector-icon-secondary)" })
|
|
23067
23067
|
] }), Vj = () => {
|
|
@@ -23329,7 +23329,7 @@ const zj = "Bring your favourite tools into Hiver", Xj = "Plugin image", Zj = "I
|
|
|
23329
23329
|
l.map(({ title: E, items: b, type: B }) => /* @__PURE__ */ a.jsxs(Ux, { children: [
|
|
23330
23330
|
/* @__PURE__ */ a.jsx(Y, { variant: "body2_medium", children: E }),
|
|
23331
23331
|
b.map((v) => {
|
|
23332
|
-
const y = B === y7, { deeplink:
|
|
23332
|
+
const y = B === y7, { deeplink: I, textHtml: L, imageUrl: j } = v, k = () => /* @__PURE__ */ a.jsx(
|
|
23333
23333
|
Ex,
|
|
23334
23334
|
{
|
|
23335
23335
|
className: y ? "" : "ellipsisClass",
|
|
@@ -23342,12 +23342,12 @@ const zj = "Bring your favourite tools into Hiver", Xj = "Plugin image", Zj = "I
|
|
|
23342
23342
|
);
|
|
23343
23343
|
return /* @__PURE__ */ a.jsx(Mx, { component: "ul", children: /* @__PURE__ */ a.jsxs(Px, { component: y ? "li" : "div", marginLeft: j ? "0" : "14px", children: [
|
|
23344
23344
|
j ? /* @__PURE__ */ a.jsx("img", { src: j }) : null,
|
|
23345
|
-
|
|
23345
|
+
I ? /* @__PURE__ */ a.jsx(
|
|
23346
23346
|
Mp,
|
|
23347
23347
|
{
|
|
23348
23348
|
target: "_blank",
|
|
23349
23349
|
underline: "none",
|
|
23350
|
-
onClick: (T) => m(T,
|
|
23350
|
+
onClick: (T) => m(T, I),
|
|
23351
23351
|
fontSize: `${R.typography.body2.fontSize}px`,
|
|
23352
23352
|
children: k()
|
|
23353
23353
|
}
|
|
@@ -23809,7 +23809,7 @@ const zj = "Bring your favourite tools into Hiver", Xj = "Plugin image", Zj = "I
|
|
|
23809
23809
|
return z ? Yi(s, k, z) : Z ? Yi(s, k, bA(Z, "default_preselect")) : JN(s, k), !0;
|
|
23810
23810
|
},
|
|
23811
23811
|
[b, i, n, s, v, c == null ? void 0 : c.options]
|
|
23812
|
-
),
|
|
23812
|
+
), I = ie(() => {
|
|
23813
23813
|
[...Object.keys(v), ...Object.keys(F)].forEach(
|
|
23814
23814
|
(k) => La(s, k)
|
|
23815
23815
|
), KN(s), h();
|
|
@@ -23863,7 +23863,7 @@ const zj = "Bring your favourite tools into Hiver", Xj = "Plugin image", Zj = "I
|
|
|
23863
23863
|
selectIdOption: E,
|
|
23864
23864
|
setRelatedKey: B,
|
|
23865
23865
|
handleRecordUnlinked: y,
|
|
23866
|
-
clearIdKeys:
|
|
23866
|
+
clearIdKeys: I,
|
|
23867
23867
|
trackIdLookupEvent: g
|
|
23868
23868
|
};
|
|
23869
23869
|
}, z_ = 2e3, X_ = (e) => {
|
|
@@ -23893,9 +23893,9 @@ const zj = "Bring your favourite tools into Hiver", Xj = "Plugin image", Zj = "I
|
|
|
23893
23893
|
async (F, p) => {
|
|
23894
23894
|
const { connectorId: A, cardId: d, externalResourceId: h, fallbackCard: m } = F;
|
|
23895
23895
|
if (!u) return;
|
|
23896
|
-
const g = (r.getState().cardList.connectorCards ?? []).filter((
|
|
23896
|
+
const g = (r.getState().cardList.connectorCards ?? []).filter((I) => I.connectorId === A), E = p ?? g;
|
|
23897
23897
|
f.current[A] = { target: F, templates: E };
|
|
23898
|
-
const B = g.some((
|
|
23898
|
+
const B = g.some((I) => I.id === d && I.externalResourceId === h) ? [] : [
|
|
23899
23899
|
{
|
|
23900
23900
|
title: "",
|
|
23901
23901
|
priority: 0,
|
|
@@ -23906,20 +23906,20 @@ const zj = "Bring your favourite tools into Hiver", Xj = "Plugin image", Zj = "I
|
|
|
23906
23906
|
externalResourceId: h,
|
|
23907
23907
|
connectorId: A
|
|
23908
23908
|
}
|
|
23909
|
-
], v = { id: d, externalResourceId: h }, y = (
|
|
23909
|
+
], v = { id: d, externalResourceId: h }, y = (I, L) => n(
|
|
23910
23910
|
Zr.replaceAppCards({
|
|
23911
23911
|
connectorId: A,
|
|
23912
23912
|
pinned: v,
|
|
23913
|
-
cards: [...B, ...
|
|
23914
|
-
cardData:
|
|
23913
|
+
cards: [...B, ...I.cards],
|
|
23914
|
+
cardData: I.cardData,
|
|
23915
23915
|
lookupKey: L
|
|
23916
23916
|
})
|
|
23917
23917
|
);
|
|
23918
23918
|
c(F, "loading");
|
|
23919
23919
|
try {
|
|
23920
|
-
const
|
|
23920
|
+
const I = { cardId: d, conversationId: u, externalResourceId: h, inboxIds: i }, L = await yA(I).catch(async (O) => {
|
|
23921
23921
|
if (!X_(O)) throw O;
|
|
23922
|
-
return await new Promise((N) => setTimeout(N, z_)), yA(
|
|
23922
|
+
return await new Promise((N) => setTimeout(N, z_)), yA(I);
|
|
23923
23923
|
});
|
|
23924
23924
|
if (!L.hiverParam || !L.value || !L.cards.length) {
|
|
23925
23925
|
o.invalidateQueries({ queryKey: Va(u) }), m1(() => {
|
|
@@ -24327,7 +24327,7 @@ const J_ = w(Ef)`
|
|
|
24327
24327
|
optionBadge: m,
|
|
24328
24328
|
footer: g
|
|
24329
24329
|
}) => {
|
|
24330
|
-
const E = se(null), [b, B] = P(!1), [v, y] = P(""), [
|
|
24330
|
+
const E = se(null), [b, B] = P(!1), [v, y] = P(""), [I, L] = P(0), j = () => {
|
|
24331
24331
|
B(!1), v && (y(""), D(""));
|
|
24332
24332
|
}, k = (M) => {
|
|
24333
24333
|
var z;
|
|
@@ -24335,7 +24335,7 @@ const J_ = w(Ef)`
|
|
|
24335
24335
|
}, T = rh({
|
|
24336
24336
|
open: b,
|
|
24337
24337
|
options: r,
|
|
24338
|
-
activeIndex:
|
|
24338
|
+
activeIndex: I,
|
|
24339
24339
|
setActiveIndex: L,
|
|
24340
24340
|
isOptionDisabled: d,
|
|
24341
24341
|
onSelect: k,
|
|
@@ -24395,7 +24395,7 @@ const J_ = w(Ef)`
|
|
|
24395
24395
|
anchorEl: E.current,
|
|
24396
24396
|
open: b && !i,
|
|
24397
24397
|
options: r,
|
|
24398
|
-
activeIndex:
|
|
24398
|
+
activeIndex: I,
|
|
24399
24399
|
setActiveIndex: L,
|
|
24400
24400
|
onSelect: k,
|
|
24401
24401
|
onClose: j,
|
|
@@ -24488,13 +24488,13 @@ const J_ = w(Ef)`
|
|
|
24488
24488
|
t.loadOptions(L, k, !1, j);
|
|
24489
24489
|
}, B = (L) => {
|
|
24490
24490
|
C(L), clearTimeout(E.current), E.current = setTimeout(() => b(L), NM);
|
|
24491
|
-
}, v = D.trim().toLowerCase(), y = v ? c.filter((L) => L.label.toLowerCase().includes(v)) : c,
|
|
24491
|
+
}, v = D.trim().toLowerCase(), y = v ? c.filter((L) => L.label.toLowerCase().includes(v)) : c, I = n ? { value: String(n.value), label: n.label, raw: n } : null;
|
|
24492
24492
|
return /* @__PURE__ */ a.jsx(
|
|
24493
24493
|
oh,
|
|
24494
24494
|
{
|
|
24495
24495
|
id: `pm-link-level-${e.name}`,
|
|
24496
24496
|
label: e.label,
|
|
24497
|
-
value:
|
|
24497
|
+
value: I,
|
|
24498
24498
|
options: y,
|
|
24499
24499
|
placeholder: o,
|
|
24500
24500
|
helperText: i,
|
|
@@ -24559,7 +24559,7 @@ const J_ = w(Ef)`
|
|
|
24559
24559
|
const A = se(null), [d, h] = P(null), [m, g] = P(!1), [E, b] = P(0), B = r ? o.map((k) => zc(k)) : [], v = (k) => !!k.row.alreadyLinked, y = (k) => {
|
|
24560
24560
|
var T;
|
|
24561
24561
|
p(k), g(!1), (T = A.current) == null || T.blur();
|
|
24562
|
-
},
|
|
24562
|
+
}, I = rh({
|
|
24563
24563
|
open: m,
|
|
24564
24564
|
options: B,
|
|
24565
24565
|
activeIndex: E,
|
|
@@ -24614,7 +24614,7 @@ const J_ = w(Ef)`
|
|
|
24614
24614
|
k.preventDefault(), b(0), g(!0);
|
|
24615
24615
|
return;
|
|
24616
24616
|
}
|
|
24617
|
-
|
|
24617
|
+
I(k);
|
|
24618
24618
|
}
|
|
24619
24619
|
}
|
|
24620
24620
|
),
|
|
@@ -24831,7 +24831,7 @@ const J_ = w(Ef)`
|
|
|
24831
24831
|
const l = cn(), { conversationId: D, sendTrackingEvent: C, email: F } = Qe(ft), p = _e(Q6), A = _e(U6), d = _e(hD), h = _e(gD), m = _e(H6), g = n.mode === "level", E = n.objectLabel ?? "Item", b = $(() => g ? n.levels ?? [] : [], [g, n.levels]), B = $(() => n.optionalLevels ?? [], [n.optionalLevels]), v = $(() => {
|
|
24832
24832
|
const ge = (p == null ? void 0 : p[e]) ?? [];
|
|
24833
24833
|
return b.map((Xe) => ge.find((bt) => bt.name === Xe)).filter((Xe) => !!Xe);
|
|
24834
|
-
}, [p, e, b]), [y,
|
|
24834
|
+
}, [p, e, b]), [y, I] = P(eP), [L, j] = P(""), k = se(L);
|
|
24835
24835
|
k.current = L;
|
|
24836
24836
|
const [T, O] = P(null), [N, M] = P("search"), [z, Z] = P(""), X = se(), G = b.filter((ge) => !B.includes(ge)).every((ge) => !!y.values[ge]), q = v.find(
|
|
24837
24837
|
(ge) => !B.includes(ge.name) && !y.values[ge.name]
|
|
@@ -24890,7 +24890,7 @@ const J_ = w(Ef)`
|
|
|
24890
24890
|
const V = (ge, Xe) => {
|
|
24891
24891
|
var zt;
|
|
24892
24892
|
const bt = y.values[ge];
|
|
24893
|
-
if (!(Xe && bt && String(bt.value) === String(Xe.value)) && (
|
|
24893
|
+
if (!(Xe && bt && String(bt.value) === String(Xe.value)) && (I((Nt) => {
|
|
24894
24894
|
const Dn = { ...Nt.values, [ge]: Xe ?? "" }, Rt = (vn) => {
|
|
24895
24895
|
var jn, _n;
|
|
24896
24896
|
(_n = (jn = A == null ? void 0 : A[e]) == null ? void 0 : jn[vn]) == null || _n.forEach((be) => {
|
|
@@ -25385,7 +25385,7 @@ const J_ = w(Ef)`
|
|
|
25385
25385
|
re(() => {
|
|
25386
25386
|
m && F(m);
|
|
25387
25387
|
}, [m]);
|
|
25388
|
-
const
|
|
25388
|
+
const I = (k) => {
|
|
25389
25389
|
const T = y.map((N) => ({
|
|
25390
25390
|
name: N.name,
|
|
25391
25391
|
type: N.isMultiSelect ? "multi-select" : N.type
|
|
@@ -25418,7 +25418,7 @@ const J_ = w(Ef)`
|
|
|
25418
25418
|
isLoading: c || g,
|
|
25419
25419
|
isSaving: B,
|
|
25420
25420
|
fetchOptions: L,
|
|
25421
|
-
onSave:
|
|
25421
|
+
onSave: I,
|
|
25422
25422
|
onClose: () => D == null ? void 0 : D(),
|
|
25423
25423
|
onCancel: () => D == null ? void 0 : D(),
|
|
25424
25424
|
onFieldChange: j
|
|
@@ -25893,7 +25893,7 @@ const SQ = w(U)`
|
|
|
25893
25893
|
sendTrackingEvent: E,
|
|
25894
25894
|
currentSmIds: b,
|
|
25895
25895
|
connectorFunctions: { redirectToAdmin: B, getFormElement: v, toggleFormElement: y },
|
|
25896
|
-
stackingContext:
|
|
25896
|
+
stackingContext: I,
|
|
25897
25897
|
isAdmin: L,
|
|
25898
25898
|
variables: j
|
|
25899
25899
|
} = Qe(ft), [k, T] = sh(), O = jP(), N = _e(W6), M = _e(t ? aj : M6), z = _e(Q6), Z = _e(n1), X = _e(U6), G = _e(sj), q = _e(fj), J = _e(cj), fe = _e(lj), de = _e(G6), W = Z == null ? void 0 : Z[(D == null ? void 0 : D.value) ?? ""];
|
|
@@ -26374,7 +26374,7 @@ const SQ = w(U)`
|
|
|
26374
26374
|
validations: vt,
|
|
26375
26375
|
...ue ? {
|
|
26376
26376
|
cols: lA,
|
|
26377
|
-
stackIndex:
|
|
26377
|
+
stackIndex: I.expandedForm
|
|
26378
26378
|
} : null
|
|
26379
26379
|
}
|
|
26380
26380
|
),
|
|
@@ -26416,7 +26416,7 @@ const SQ = w(U)`
|
|
|
26416
26416
|
] })
|
|
26417
26417
|
] });
|
|
26418
26418
|
return ue && ct ? jr(Ni, ct) : Ni;
|
|
26419
|
-
}, vh = (e) => /* @__PURE__ */
|
|
26419
|
+
}, vh = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M9.70785 5.66671H5.70785V9.66671H4.37451V5.66671H0.374512V4.33337H4.37451V0.333374H5.70785V4.33337H9.70785V5.66671Z", fill: "var(--connector-neutral-icon, #4D596C)" })), RQ = w(U)`
|
|
26420
26420
|
box-sizing: border-box;
|
|
26421
26421
|
width: 100%;
|
|
26422
26422
|
flex-flow: row nowrap;
|
|
@@ -26508,7 +26508,7 @@ const OQ = w(U)`
|
|
|
26508
26508
|
fill: var(--connector-accent) !important;
|
|
26509
26509
|
}
|
|
26510
26510
|
`, MQ = ({ setOpenTaskLinking: e, onCancel: t, onLinkingSuccess: n, onSearchViewChange: r }) => {
|
|
26511
|
-
const o = cn(), u = _e(hD), i = _e(gD), s = _e(H6), f = _e(P6), c = _e(n1), [l, D] = P(!1), [C, F] = P(null), [p, A] = P(""), [d, h] = P({}), [m, g] = P([]), { conversationId: E, sendTrackingEvent: b, email: B, availableFeatures: v } = Qe(ft), y = wt(v, xi),
|
|
26511
|
+
const o = cn(), u = _e(hD), i = _e(gD), s = _e(H6), f = _e(P6), c = _e(n1), [l, D] = P(!1), [C, F] = P(null), [p, A] = P(""), [d, h] = P({}), [m, g] = P([]), { conversationId: E, sendTrackingEvent: b, email: B, availableFeatures: v } = Qe(ft), y = wt(v, xi), I = wt(v, p7);
|
|
26512
26512
|
re(() => {
|
|
26513
26513
|
f && f.length && F(f[0]);
|
|
26514
26514
|
}, [f]), re(() => {
|
|
@@ -26562,7 +26562,7 @@ const OQ = w(U)`
|
|
|
26562
26562
|
), q = C && "value" in C ? c == null ? void 0 : c[String(C.value)] : void 0, J = q ? String(q.id) : "", fe = ie(
|
|
26563
26563
|
() => g((W) => W.includes(J) ? W : [...W, J]),
|
|
26564
26564
|
[J]
|
|
26565
|
-
), de = !!(
|
|
26565
|
+
), de = !!(I && (q != null && q.linkSearch) && !m.includes(J));
|
|
26566
26566
|
return re(() => {
|
|
26567
26567
|
r == null || r(de);
|
|
26568
26568
|
}, [de, r]), re(() => () => r == null ? void 0 : r(!1), [r]), de && (q != null && q.linkSearch) ? /* @__PURE__ */ a.jsx(
|
|
@@ -26693,7 +26693,7 @@ const OQ = w(U)`
|
|
|
26693
26693
|
/* @__PURE__ */ a.jsx("span", { className: "content__btn", children: Bp })
|
|
26694
26694
|
] }) : null
|
|
26695
26695
|
] })
|
|
26696
|
-
] }), UQ = (e) => e.write.searchObjectList, vD = (e) => e.write.objectDict, WQ = (e) => e.write.formFields, GQ = (e) => e.write.dependentFieldsMap, VQ = "Search in Connectors", zQ = "Search in Apps", XQ = "Start typing to search..", ZQ = "Smart search suggestions", JQ = ":count result:countSuffix found for :searchObject in :connectorName", KQ = "Back to search results", YQ = "No search results found", qQ = "Link all related records", Ih = (e) => /* @__PURE__ */
|
|
26696
|
+
] }), UQ = (e) => e.write.searchObjectList, vD = (e) => e.write.objectDict, WQ = (e) => e.write.formFields, GQ = (e) => e.write.dependentFieldsMap, VQ = "Search in Connectors", zQ = "Search in Apps", XQ = "Start typing to search..", ZQ = "Smart search suggestions", JQ = ":count result:countSuffix found for :searchObject in :connectorName", KQ = "Back to search results", YQ = "No search results found", qQ = "Link all related records", Ih = (e) => /* @__PURE__ */ S.createElement("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "var(--connector-neutral-icon, #97A3B7)", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { id: "icons/Actions/Search" }, /* @__PURE__ */ S.createElement("path", { id: "Shape", fillRule: "evenodd", clipRule: "evenodd", d: "M8.57633 7.54717H8.03431L7.8422 7.36192C8.51458 6.57976 8.91938 5.56432 8.91938 4.45969C8.91938 1.99657 6.92281 0 4.45969 0C1.99657 0 0 1.99657 0 4.45969C0 6.92281 1.99657 8.91938 4.45969 8.91938C5.56432 8.91938 6.57976 8.51458 7.36192 7.8422L7.54717 8.03431V8.57633L10.9777 12L12 10.9777L8.57633 7.54717ZM4.45969 7.54717C2.75129 7.54717 1.37221 6.1681 1.37221 4.45969C1.37221 2.75129 2.75129 1.37221 4.45969 1.37221C6.1681 1.37221 7.54717 2.75129 7.54717 4.45969C7.54717 6.1681 6.1681 7.54717 4.45969 7.54717Z" }))), $Q = w(U)`
|
|
26697
26697
|
flex-flow: row nowrap;
|
|
26698
26698
|
align-items: center;
|
|
26699
26699
|
column-gap: 12px;
|
|
@@ -26888,12 +26888,12 @@ const OQ = w(U)`
|
|
|
26888
26888
|
const y = i[e].searchInterfaceDetails;
|
|
26889
26889
|
if (!y)
|
|
26890
26890
|
return;
|
|
26891
|
-
const
|
|
26891
|
+
const I = i[e].connectorName, { id: L, args: j = {} } = y, k = Tu(r, j);
|
|
26892
26892
|
m({
|
|
26893
26893
|
id: B,
|
|
26894
26894
|
interfaceId: L,
|
|
26895
26895
|
searchString: t,
|
|
26896
|
-
connectorName:
|
|
26896
|
+
connectorName: I,
|
|
26897
26897
|
args: k
|
|
26898
26898
|
});
|
|
26899
26899
|
}, [r, c, i, e, t, d, m]), re(() => () => {
|
|
@@ -26903,8 +26903,8 @@ const OQ = w(U)`
|
|
|
26903
26903
|
if (B.action === "clear" && B.name && (D(B.name, ""), p(B.name, f[e]), l[B.name].isRequired && A(B.name, !0)), b && typeof b == "object" && "label" in b && typeof b.label == "string" && "value" in b && (typeof b.value == "string" || typeof b.value == "number") && typeof B.name < "u") {
|
|
26904
26904
|
let y = !1;
|
|
26905
26905
|
v && (y = v.isMultiSelect || !1);
|
|
26906
|
-
const
|
|
26907
|
-
D(B.name,
|
|
26906
|
+
const I = y ? [{ value: b.value, label: b.label }] : { value: b.value, label: b.label };
|
|
26907
|
+
D(B.name, I), p(B.name, f[e]);
|
|
26908
26908
|
}
|
|
26909
26909
|
};
|
|
26910
26910
|
return /* @__PURE__ */ a.jsx(iH, { isEmpty: ((E = c.formFields) == null ? void 0 : E.length) === 0, children: /* @__PURE__ */ a.jsx(
|
|
@@ -27063,7 +27063,7 @@ const OQ = w(U)`
|
|
|
27063
27063
|
e.value
|
|
27064
27064
|
) : null
|
|
27065
27065
|
] }) : null;
|
|
27066
|
-
}, yD = (e) => /* @__PURE__ */
|
|
27066
|
+
}, yD = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "var(--connector-neutral-icon, #6C7B94)", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.00483 12.5052C7.73146 12.7786 7.73146 13.2218 8.00483 13.4952C8.2782 13.7685 8.72141 13.7685 8.99478 13.4952L11.9948 10.4952C12.2681 10.2218 12.2681 9.77859 11.9948 9.50522L8.99478 6.50522C8.72141 6.23185 8.2782 6.23185 8.00483 6.50522C7.73146 6.77859 7.73146 7.2218 8.00483 7.49517L10.5099 10.0002L8.00483 12.5052Z" })), bH = async ({ id: e, externalResourceId: t, conversationId: n, channelType: r = "email", email: o }) => {
|
|
27067
27067
|
const u = new URLSearchParams();
|
|
27068
27068
|
u.append("channel_type", r), o && u.append("senderEmail", o), await Ie({
|
|
27069
27069
|
url: `${dO.replace(":id", e)}?${u.toString()}`,
|
|
@@ -27131,8 +27131,8 @@ const OQ = w(U)`
|
|
|
27131
27131
|
onLinkAllRelated: i,
|
|
27132
27132
|
onLinkAllRelatedStart: s
|
|
27133
27133
|
}) => {
|
|
27134
|
-
var
|
|
27135
|
-
const f = cn(), { conversationId: c, currentSmIds: l, sendTrackingEvent: D, email: C } = Qe(ft), F = _e(hD), p = _e(gD), A = _e(vD), d = !!i && !!((
|
|
27134
|
+
var I;
|
|
27135
|
+
const f = cn(), { conversationId: c, currentSmIds: l, sendTrackingEvent: D, email: C } = Qe(ft), F = _e(hD), p = _e(gD), A = _e(vD), d = !!i && !!((I = A == null ? void 0 : A[t]) != null && I.supportsRelatedLookup), h = se("link"), m = se(void 0), g = () => i == null ? void 0 : i({ externalResourceId: e, formId: t, searchKeyword: n, searchResultLabel: r }), { mutate: E, isPending: b } = vH({
|
|
27136
27136
|
onSuccess: () => {
|
|
27137
27137
|
h.current === "link_all_related" ? g() : u();
|
|
27138
27138
|
},
|
|
@@ -27526,7 +27526,7 @@ const Kc = /* @__PURE__ */ new Set(), RH = (e, t) => {
|
|
|
27526
27526
|
}, [n, e, r, o]);
|
|
27527
27527
|
}, KH = ({ isAdmin: e = !1 }) => {
|
|
27528
27528
|
var ZD, JD, KD, YD;
|
|
27529
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: u, connectorId: i, connectorFunctions: s } = Qe(ft), f = cn(), { userGroupId: c, userId: l } = On() || {}, D = se(!1), C = se(null), F = se(null), p = se(null), [A, d] = P({}), [h, m] = P(!1), [g, E] = P(!1), [b, B] = P(!1), [v, y] = P(!1), [
|
|
27529
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: u, connectorId: i, connectorFunctions: s } = Qe(ft), f = cn(), { userGroupId: c, userId: l } = On() || {}, D = se(!1), C = se(null), F = se(null), p = se(null), [A, d] = P({}), [h, m] = P(!1), [g, E] = P(!1), [b, B] = P(!1), [v, y] = P(!1), [I, L] = P(!1), [j, k] = P(), [T, O] = P(!1), [N, M] = P(null), [z, Z] = P(), [X, G] = P(null), [q, J] = P(!1), [fe, de] = P(!1), [W, ae] = P(!1), [he, Be] = P(!1), [We, ve] = P(void 0), le = se(), K = _e(y6), V = _e(lN), oe = _e(dN), ne = _e(AN), ue = _e(CN), Ee = _e(DN), ye = _e(M6), Ae = _e(uj), Fe = _e(P6), Ge = _e(W6), tt = _e(G6), ln = _e(q_), Mt = wt(o, t7), Vt = wt(o, mp), Te = wt(o, i7), ze = wt(o, f7), ot = wt(o, c7), Zt = wt(o, l7), en = wt(o, xi), Kt = (ZD = On()) == null ? void 0 : ZD.tenantPlatform, Yt = wt(
|
|
27530
27530
|
o,
|
|
27531
27531
|
Kt === "HIVERWEB" ? `hot-${Wd}` : Wd
|
|
27532
27532
|
), vt = wt(
|
|
@@ -27895,7 +27895,7 @@ const Kc = /* @__PURE__ */ new Set(), RH = (e, t) => {
|
|
|
27895
27895
|
ref: C,
|
|
27896
27896
|
"data-testid": Array.isArray(K) ? "connector-agent" : "loading",
|
|
27897
27897
|
id: "connector-agent-container",
|
|
27898
|
-
style: v &&
|
|
27898
|
+
style: v && I ? { padding: 0 } : void 0,
|
|
27899
27899
|
stopOverflow: b || v,
|
|
27900
27900
|
children: [
|
|
27901
27901
|
/* @__PURE__ */ a.jsx(Vj, {}),
|
|
@@ -27920,7 +27920,7 @@ const Kc = /* @__PURE__ */ new Set(), RH = (e, t) => {
|
|
|
27920
27920
|
cards: K,
|
|
27921
27921
|
handleCreateNewObject: () => VD(zd.ICON),
|
|
27922
27922
|
handleLinkNewObject: cC,
|
|
27923
|
-
onBack: v &&
|
|
27923
|
+
onBack: v && I ? h1 : void 0
|
|
27924
27924
|
}
|
|
27925
27925
|
),
|
|
27926
27926
|
Te && !AC ? /* @__PURE__ */ a.jsx(
|
|
@@ -27997,7 +27997,7 @@ const Kc = /* @__PURE__ */ new Set(), RH = (e, t) => {
|
|
|
27997
27997
|
)
|
|
27998
27998
|
}
|
|
27999
27999
|
) }, "edit-form"),
|
|
28000
|
-
/* @__PURE__ */ a.jsx(Wr, { condition: v, children: /* @__PURE__ */ a.jsx(c0, { onClose: h1, hideBar:
|
|
28000
|
+
/* @__PURE__ */ a.jsx(Wr, { condition: v, children: /* @__PURE__ */ a.jsx(c0, { onClose: h1, hideBar: I, children: /* @__PURE__ */ a.jsx(
|
|
28001
28001
|
MQ,
|
|
28002
28002
|
{
|
|
28003
28003
|
setOpenTaskLinking: y,
|
|
@@ -28699,7 +28699,7 @@ const sU = "Everything looks good", fU = "Something is not working", cU = "Share
|
|
|
28699
28699
|
color: var(--connector-accent);
|
|
28700
28700
|
padding: 5px 12px;
|
|
28701
28701
|
min-width: 100px;
|
|
28702
|
-
`, Ph = (e) => /* @__PURE__ */ I.createElement("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M7.87354 2.73877C7.87354 2.30139 7.53821 1.94227 7.11084 1.90381L5.09229 6.44775C5.06387 6.51167 5.02799 6.57074 4.98975 6.62744V12.3667H10.4722C11.0395 12.3665 11.5225 11.9529 11.6089 11.3921L12.2368 7.30811C12.3437 6.61168 11.8047 5.98395 11.1001 5.98389H9.05615C8.40276 5.98371 7.87354 5.45372 7.87354 4.80029V2.73877ZM2.07275 11.8003C2.07275 12.1133 2.32718 12.3667 2.64014 12.3667H3.78955V7.1499H2.64014C2.32718 7.1499 2.07275 7.40432 2.07275 7.71729V11.8003ZM9.07275 4.78369H11.1001C12.5403 4.78375 13.6412 6.0673 13.4224 7.49072L12.7944 11.5747C12.6179 12.7208 11.6318 13.5667 10.4722 13.5669H2.64014C1.66443 13.5669 0.873535 12.776 0.873535 11.8003V7.71729C0.873535 6.74158 1.66443 5.95068 2.64014 5.95068H3.99951L6.04834 1.34131L6.12256 1.20166C6.31844 0.892431 6.66142 0.700708 7.03467 0.700684C8.16045 0.700684 9.07275 1.61299 9.07275 2.73877V4.78369Z", fill: "var(--connector-neutral-icon, #97A3B7)" })), Qh = (e) => /* @__PURE__ */ I.createElement("svg", { width: 13, height: 14, viewBox: "0 0 13 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M11.8008 3.16651C11.8008 2.83026 11.7996 2.61407 11.7861 2.44972C11.7733 2.29228 11.7516 2.23558 11.7383 2.20948C11.684 2.10311 11.5976 2.0167 11.4912 1.96241C11.4651 1.94911 11.4084 1.92742 11.251 1.91456C11.0866 1.90113 10.8698 1.89991 10.5332 1.89991H10.084V7.11671H10.5332C10.8697 7.11671 11.0866 7.11647 11.251 7.10304C11.4084 7.09017 11.4651 7.06848 11.4912 7.05519C11.5977 7.00085 11.684 6.91369 11.7383 6.80714C11.7516 6.78095 11.7733 6.72473 11.7861 6.56788C11.7996 6.40344 11.8008 6.18671 11.8008 5.85011V3.16651ZM6.00001 11.5288C6.00014 11.9658 6.33491 12.3239 6.76173 12.3628L8.68946 8.02784C8.73905 7.91626 8.79776 7.77463 8.8838 7.6421V1.89991H4.30275C3.86739 1.89991 3.57385 1.9011 3.34571 1.91847C3.12524 1.93527 3.00982 1.96482 2.92677 2.00245C2.72742 2.09281 2.55809 2.23906 2.43849 2.42237C2.38875 2.49873 2.34108 2.60774 2.29103 2.82276C2.23917 3.04561 2.19414 3.33583 2.12794 3.76612L1.82325 5.74952C1.73618 6.31551 1.67724 6.70248 1.65724 7.00245C1.63765 7.29653 1.66125 7.4439 1.69923 7.54347C1.79436 7.79282 1.97309 8.00139 2.20509 8.13331C2.29773 8.18598 2.43978 8.23198 2.73341 8.25733C3.03294 8.28318 3.42441 8.2837 3.99708 8.2837H4.46681C4.62026 8.2837 4.77205 8.28306 4.89943 8.29347C5.00019 8.30172 5.11526 8.31839 5.23439 8.36085L5.3545 8.41261L5.51271 8.51026C5.61292 8.58313 5.70157 8.67078 5.77443 8.77101L5.8711 8.93019L5.92286 9.0503C5.96524 9.1694 5.98202 9.28456 5.99025 9.38526C6.00063 9.51256 6.00001 9.66359 6.00001 9.8169V11.5288ZM13 5.85011C13 6.1669 13.0008 6.44089 12.9824 6.66554C12.9635 6.89709 12.9214 7.12868 12.8076 7.35206C12.6383 7.68439 12.3684 7.95514 12.0361 8.12452C11.8127 8.23838 11.5803 8.2804 11.3486 8.29933C11.124 8.31767 10.8499 8.3169 10.5332 8.3169H10.0899C9.97739 8.31691 9.91771 8.31637 9.87501 8.31886C9.85536 8.35692 9.83103 8.41194 9.78517 8.51515L7.82521 12.9263C7.6519 13.3159 7.26532 13.5669 6.83888 13.5669C5.71318 13.5669 4.80093 12.6545 4.80079 11.5288V9.8169C4.80079 9.64881 4.799 9.55553 4.79396 9.48878C4.72728 9.48383 4.63383 9.4839 4.46681 9.4839H3.99708C3.44579 9.4839 2.99395 9.48395 2.63087 9.45265C2.26202 9.42082 1.92186 9.35223 1.61232 9.17628C1.13824 8.90671 0.772529 8.48073 0.578136 7.9712C0.451217 7.63844 0.43534 7.29185 0.459972 6.92237C0.484222 6.55869 0.552876 6.11195 0.63673 5.5669L0.942394 3.58351C1.00581 3.17132 1.05751 2.82883 1.12208 2.55128C1.18838 2.26634 1.27691 2.00629 1.4336 1.76612C1.67803 1.39152 2.02424 1.0943 2.43165 0.909678C2.69285 0.791323 2.96319 0.743407 3.25489 0.721201C3.53908 0.699573 3.8856 0.700693 4.30275 0.700693H10.5332C10.8499 0.700693 11.124 0.69993 11.3486 0.718272C11.5803 0.737198 11.8127 0.779216 12.0361 0.893076C12.3683 1.06241 12.6383 1.33244 12.8076 1.66456C12.9215 1.88802 12.9635 2.12041 12.9824 2.35206C13.0008 2.57656 13 2.85001 13 3.16651V5.85011Z", fill: "var(--connector-neutral-icon, #97A3B7)" })), NU = (e) => /* @__PURE__ */ I.createElement("svg", { width: 15, height: 15, viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M6.02637 0.261719C6.91006 0.100716 7.81654 0.108586 8.69727 0.285156C8.77943 0.301685 8.85737 0.335356 8.92578 0.383789C8.99413 0.432207 9.05187 0.494446 9.09473 0.566406L10.1699 2.37109L12.2686 2.40137C12.3521 2.40267 12.4348 2.42105 12.5107 2.45605C12.5866 2.49114 12.6547 2.5417 12.71 2.60449L12.9268 2.8623C13.4177 3.47393 13.8044 4.1638 14.0703 4.90332H14.0713C14.1006 4.98499 14.1111 5.07276 14.1035 5.15918C14.0958 5.24545 14.0694 5.32914 14.0264 5.4043L13.0107 7.17676L14.0654 8.97949C14.1089 9.05374 14.1349 9.13706 14.1436 9.22266C14.1522 9.30829 14.143 9.39509 14.1152 9.47656C13.8308 10.316 13.3846 11.0919 12.8008 11.7588C12.7442 11.8235 12.6731 11.8748 12.5947 11.9102C12.5163 11.9454 12.4307 11.9644 12.3447 11.9639L10.2559 11.9512L9.22656 13.7188C9.18293 13.7935 9.12263 13.8576 9.05176 13.9072C8.98094 13.9567 8.90045 13.9914 8.81543 14.0068C7.9318 14.1675 7.02506 14.1583 6.14453 13.9814L6.14355 13.9824C6.0797 13.9694 6.01838 13.9446 5.96191 13.9121C5.87332 13.8615 5.7985 13.7897 5.74609 13.7021L4.67188 11.8955L2.56934 11.8682C2.48571 11.8669 2.4031 11.8485 2.32715 11.8135C2.25108 11.7784 2.18323 11.727 2.12793 11.6641C1.60736 11.0751 1.18875 10.4045 0.888672 9.67969L0.767578 9.36621C0.738264 9.28452 0.726773 9.19681 0.734375 9.11035C0.742031 9.02393 0.768379 8.93953 0.811523 8.86426L1.82617 7.0918L0.772461 5.28906C0.729026 5.2148 0.702006 5.1315 0.693359 5.0459C0.684801 4.96052 0.695058 4.87421 0.722656 4.79297C1.00784 3.95289 1.45608 3.17678 2.04102 2.50977C2.09771 2.44503 2.16762 2.39274 2.24609 2.35742C2.32438 2.32222 2.40928 2.30426 2.49512 2.30469L4.58398 2.31543L5.61426 0.549805C5.65789 0.474997 5.71718 0.410066 5.78809 0.360352C5.8591 0.31064 5.94107 0.277156 6.02637 0.261719ZM7.53809 14.0195C7.59898 14.0196 7.65982 14.0181 7.7207 14.0166C7.65982 14.0181 7.59898 14.0196 7.53809 14.0195ZM7.2334 14.0117C7.28581 14.014 7.33818 14.0164 7.39062 14.0176C7.33818 14.0164 7.28581 14.014 7.2334 14.0117ZM7.85742 14.0127C7.89653 14.0109 7.93552 14.0073 7.97461 14.0049C7.93552 14.0073 7.89654 14.0109 7.85742 14.0127ZM6.91113 13.9902C6.97295 13.9958 7.03476 14.0009 7.09668 14.0049C7.03476 14.0009 6.97295 13.9958 6.91113 13.9902ZM6.6543 13.9619C6.6898 13.9665 6.72519 13.9716 6.76074 13.9756C6.72519 13.9716 6.6898 13.9665 6.6543 13.9619ZM5.91016 13.75C5.94027 13.7795 5.97474 13.8051 6.01172 13.8262L5.95898 13.791C5.94197 13.7782 5.92535 13.7649 5.91016 13.75ZM6.58008 12.9414H6.58105H6.58008ZM8.2002 1.41895C7.63858 1.33129 7.06722 1.32543 6.50391 1.40137L5.5127 3.10059C5.45667 3.19686 5.37383 3.27503 5.27539 3.32715C5.21254 3.36088 5.14878 3.39942 5.08594 3.43555L5.08496 3.43457C4.99197 3.48895 4.88605 3.51825 4.77832 3.51758L2.77637 3.50586C2.43354 3.9367 2.15694 4.41647 1.95508 4.92871L2.96875 6.66211H2.96973C3.01013 6.73278 3.03531 6.81132 3.04492 6.8916L3.04883 6.97461C3.04667 7.04613 3.0485 7.11658 3.05078 7.18945C3.0548 7.30124 3.02821 7.41268 2.97266 7.50977L1.99609 9.21289C2.21404 9.7388 2.50744 10.2299 2.86621 10.6719L4.88281 10.7012H4.88379C4.99002 10.7034 5.09368 10.7341 5.18457 10.7891L5.39258 10.9082C5.45916 10.9464 5.51715 10.9978 5.56445 11.0576L5.6084 11.1201L6.6416 12.8486C7.20362 12.9365 7.77513 12.9432 8.33887 12.8672L9.3291 11.1689C9.38528 11.0722 9.46843 10.9926 9.56738 10.9404C9.63017 10.9067 9.69505 10.8701 9.75781 10.834L9.8291 10.7988C9.90336 10.7678 9.98341 10.7514 10.0645 10.752L12.0664 10.7646C12.4092 10.3324 12.6847 9.85062 12.8857 9.33691L11.8711 7.60645L11.8721 7.60547C11.8181 7.51108 11.7903 7.40365 11.792 7.29492L11.791 7.29395C11.7932 7.22206 11.7923 7.15042 11.79 7.07715C11.7862 6.96565 11.8128 6.85466 11.8682 6.75781L12.8438 5.05371C12.6258 4.52811 12.3333 4.03648 11.9746 3.59473L9.95801 3.56641H9.95703C9.85067 3.56414 9.74722 3.53265 9.65625 3.47754V3.47852L9.45898 3.36426L9.39258 3.32129C9.32844 3.27486 9.27351 3.21669 9.23242 3.14844V3.14746L8.2002 1.41895ZM2.4668 11.7559L2.57031 11.7686H2.57129C2.50157 11.7675 2.43246 11.7518 2.36914 11.7227L2.4668 11.7559ZM1.78809 11.082V11.0811V11.082ZM13.0244 11.3203C13.0502 11.2862 13.0774 11.2533 13.1025 11.2188C13.0774 11.2533 13.0502 11.2862 13.0244 11.3203ZM13.2051 11.0713C13.2348 11.0279 13.2643 10.9845 13.293 10.9404C13.2643 10.9845 13.2348 11.0279 13.2051 11.0713ZM9.90918 10.876C9.90231 10.8782 9.89544 10.8803 9.88867 10.8828C9.89545 10.8803 9.90231 10.8782 9.90918 10.876ZM13.3535 10.8447C13.3903 10.7861 13.426 10.7268 13.4609 10.667C13.426 10.7268 13.3903 10.7861 13.3535 10.8447ZM13.5049 10.5928C13.5426 10.5264 13.5789 10.4593 13.6143 10.3916C13.5789 10.4593 13.5426 10.5264 13.5049 10.5928ZM13.6582 10.3066C13.695 10.2337 13.7305 10.1602 13.7646 10.0859C13.7305 10.1602 13.695 10.2337 13.6582 10.3066ZM7.2168 4.04004C7.82858 3.99994 8.43974 4.14269 8.9707 4.44922C9.68176 4.86085 10.2003 5.53844 10.4131 6.33203C10.6256 7.12573 10.5145 7.97155 10.1045 8.68359C9.79803 9.21429 9.34157 9.64291 8.79199 9.91406C8.24214 10.1852 7.62346 10.287 7.01562 10.207C6.40793 10.127 5.83684 9.86895 5.37598 9.46484C4.91529 9.06072 4.58448 8.52844 4.42578 7.93652C4.26721 7.34451 4.28843 6.71808 4.48535 6.1377C4.68236 5.55755 5.04627 5.04792 5.53223 4.6748C6.01845 4.30171 6.60526 4.08027 7.2168 4.04004ZM13.7852 10.041C13.8281 9.94559 13.8697 9.84945 13.9082 9.75195V9.75098C13.8696 9.84876 13.8283 9.94531 13.7852 10.041ZM6.40918 9.95703C6.46044 9.97542 6.51219 9.99222 6.56445 10.0078C6.51219 9.99225 6.46044 9.97539 6.40918 9.95703ZM6.20996 9.87695C6.25096 9.89508 6.2922 9.91244 6.33398 9.92871C6.2922 9.91247 6.25097 9.89505 6.20996 9.87695ZM6.02832 9.79004C6.0678 9.81077 6.10809 9.82969 6.14844 9.84863C6.10808 9.82972 6.06781 9.81074 6.02832 9.79004ZM5.84082 9.68262C5.87596 9.70443 5.9113 9.72578 5.94727 9.74609C5.91128 9.7258 5.87597 9.7044 5.84082 9.68262ZM12.9131 9.53613C12.9421 9.46825 12.9707 9.40012 12.9971 9.33105L12.9961 9.33008C12.9697 9.3993 12.9422 9.46808 12.9131 9.53613ZM5.66602 9.56543C5.7015 9.59105 5.73694 9.61662 5.77344 9.64062C5.73693 9.61664 5.70151 9.59104 5.66602 9.56543ZM1.97461 9.41699C1.99284 9.4575 2.01311 9.49704 2.03223 9.53711C1.98023 9.42813 1.93016 9.31814 1.88477 9.20605L1.97461 9.41699ZM5.59277 9.5127C5.59556 9.51484 5.59877 9.51642 5.60156 9.51855C5.54737 9.47722 5.49386 9.43478 5.44238 9.38965L5.59277 9.5127ZM8.03125 5.33496C7.67547 5.21424 7.29063 5.20159 6.92773 5.29883C6.56509 5.39617 6.23977 5.59952 5.99219 5.88184C5.74452 6.16433 5.58615 6.51424 5.53711 6.88672C5.48824 7.25901 5.54977 7.63783 5.71582 7.97461C5.88202 8.31152 6.14537 8.59145 6.4707 8.7793C6.90703 9.0311 7.42549 9.09913 7.91211 8.96875C8.39876 8.83831 8.81448 8.52031 9.06641 8.08398C9.25414 7.7587 9.3409 7.38453 9.31641 7.00977C9.2918 6.635 9.15631 6.27555 8.92773 5.97754C8.69908 5.67961 8.38685 5.45577 8.03125 5.33496ZM6.17676 8.69922C6.25355 8.76023 6.3343 8.81676 6.41992 8.86621L6.4209 8.86523C6.33525 8.81578 6.2536 8.76024 6.17676 8.69922ZM8.47754 8.83203V8.83105V8.83203ZM5.77637 8.27246C5.83227 8.35318 5.89399 8.4295 5.96094 8.50098L5.86426 8.38965C5.83359 8.35168 5.80422 8.31265 5.77637 8.27246ZM4.52246 7.91113C4.5608 8.0541 4.60948 8.19346 4.66797 8.32812C4.60945 8.19325 4.56083 8.05334 4.52246 7.91016V7.91113ZM9.40039 6.85645C9.40722 6.90519 9.41278 6.95457 9.41602 7.00391C9.41922 7.05311 9.42035 7.1023 9.41992 7.15137C9.42035 7.10204 9.41926 7.05239 9.41602 7.00293C9.41279 6.95379 9.40719 6.90498 9.40039 6.85645ZM11.9004 6.95215C11.8982 6.96247 11.897 6.97295 11.8955 6.9834C11.8971 6.97295 11.8982 6.96247 11.9004 6.95215ZM4.65137 5.97754C4.62849 6.03229 4.60852 6.08831 4.58887 6.14453C4.60851 6.0883 4.6285 6.03229 4.65137 5.97754ZM4.73633 5.79492C4.7241 5.81941 4.71274 5.8443 4.70117 5.86914C4.71273 5.8443 4.72411 5.81941 4.73633 5.79492ZM4.84473 5.59863C4.82627 5.62957 4.80836 5.66078 4.79102 5.69238C4.80835 5.66077 4.82628 5.62957 4.84473 5.59863ZM4.95605 5.42383C4.93113 5.45972 4.90714 5.49624 4.88379 5.5332C4.90712 5.49623 4.93114 5.45973 4.95605 5.42383ZM8.31445 4.27051C8.52443 4.33607 8.72746 4.42504 8.91992 4.53613L8.9209 4.53516C8.72801 4.42379 8.52395 4.33516 8.31348 4.26953L8.31445 4.27051ZM5.09082 5.24609C5.06172 5.28198 5.03326 5.3183 5.00586 5.35547C5.03325 5.31828 5.06173 5.28199 5.09082 5.24609ZM6.63965 5.29199C6.64276 5.29067 6.6463 5.29037 6.64941 5.28906C6.6463 5.29037 6.64276 5.29067 6.63965 5.29199ZM7.9209 5.19824H7.92188H7.9209ZM6.90234 5.20215H6.90332H6.90234ZM5.23145 5.08496C5.19896 5.11965 5.16651 5.15429 5.13574 5.19043C5.1665 5.15428 5.19897 5.11966 5.23145 5.08496ZM13.9766 4.93652V4.9375V4.93652ZM0.922852 4.53613C0.885573 4.63126 0.850299 4.72727 0.817383 4.82422V4.8252C0.850362 4.72803 0.885496 4.63148 0.922852 4.53613ZM2.01855 4.5293H2.01953H2.01855ZM1.04688 4.24316C1.02195 4.29878 0.998013 4.35481 0.974609 4.41113C0.998008 4.35481 1.02196 4.29878 1.04688 4.24316ZM7.22363 4.13965L7.22461 4.14062L7.22363 4.13965ZM7.66699 4.14453L7.66602 4.14355L7.66699 4.14453ZM1.17188 3.97852C1.1445 4.03303 1.11865 4.08828 1.09277 4.14355C1.11864 4.08828 1.14451 4.03304 1.17188 3.97852ZM12.4287 4.0498V4.04883V4.0498ZM12.6348 2.66992V2.6709C12.8546 2.91962 13.0566 3.1828 13.2383 3.45898C13.1171 3.27471 12.987 3.09618 12.8486 2.92383C12.7796 2.83782 12.708 2.75273 12.6348 2.66992ZM1.30859 3.72168C1.28765 3.75921 1.26729 3.79703 1.24707 3.83496C1.26728 3.79703 1.28765 3.75921 1.30859 3.72168ZM2.72656 3.40723V3.4082L4.7793 3.41797V3.41699L2.72656 3.40723ZM12.0234 3.49707C12.0719 3.55591 12.1198 3.61522 12.166 3.67578L12.0234 3.49609L9.95898 3.4668L12.0234 3.49707ZM1.47852 3.43457C1.45114 3.47831 1.42381 3.52205 1.39746 3.56641C1.4238 3.52204 1.45115 3.47831 1.47852 3.43457ZM9.78809 3.43164C9.79329 3.43365 9.79845 3.43566 9.80371 3.4375C9.79845 3.43567 9.79329 3.43365 9.78809 3.43164ZM5.22852 3.23926V3.24023V3.23926ZM1.64746 3.17676C1.61837 3.21879 1.58963 3.26104 1.56152 3.30371C1.58963 3.26104 1.61837 3.21879 1.64746 3.17676ZM2.11523 2.5752H2.11621H2.11523ZM8.94629 0.53418C8.96978 0.559626 8.99096 0.587273 9.00879 0.617188C8.97313 0.557368 8.92497 0.505135 8.86816 0.464844L8.94629 0.53418ZM6.37305 0.307617C6.26302 0.322319 6.15337 0.34041 6.04395 0.360352C6.15337 0.340409 6.26301 0.322304 6.37305 0.307617ZM8.35059 0.325195C8.25055 0.310024 8.15027 0.296933 8.0498 0.286133C8.15027 0.296945 8.25055 0.310026 8.35059 0.325195ZM7.92578 0.275391C7.85971 0.269476 7.79372 0.26282 7.72754 0.258789C7.79372 0.262834 7.85971 0.269466 7.92578 0.275391ZM6.9502 0.255859C6.89287 0.258741 6.83558 0.262311 6.77832 0.266602C6.83559 0.262325 6.89287 0.258726 6.9502 0.255859ZM7.58008 0.25293C7.53418 0.251105 7.4883 0.248968 7.44238 0.248047C7.4883 0.24898 7.53418 0.251094 7.58008 0.25293ZM7.12988 0.249023C7.17448 0.24794 7.21907 0.247302 7.26367 0.24707C7.21907 0.247314 7.17448 0.247928 7.12988 0.249023ZM6.67871 0.274414C6.57668 0.283521 6.47471 0.294033 6.37305 0.307617C6.47471 0.294047 6.57668 0.283499 6.67871 0.274414Z", fill: "var(--connector-neutral-icon, #97A3B7)" })), jU = (e) => /* @__PURE__ */ I.createElement("svg", { width: 14, height: 15, viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("g", { clipPath: "url(#clip0_189_1728)" }, /* @__PURE__ */ I.createElement("path", { d: "M2.33317 2.4672H11.6665V9.4672H3.01567L2.33317 10.1497V2.4672ZM2.33317 1.30054C1.6915 1.30054 1.17234 1.82554 1.17234 2.4672L1.1665 12.9672L3.49984 10.6339H11.6665C12.3082 10.6339 12.8332 10.1089 12.8332 9.4672V2.4672C12.8332 1.82554 12.3082 1.30054 11.6665 1.30054H2.33317ZM3.49984 7.13387H8.1665V8.30054H3.49984V7.13387ZM3.49984 5.38387H10.4998V6.55054H3.49984V5.38387ZM3.49984 3.63387H10.4998V4.80054H3.49984V3.63387Z", fill: "var(--connector-neutral-icon, #97A3B7)" })), /* @__PURE__ */ I.createElement("defs", null, /* @__PURE__ */ I.createElement("clipPath", { id: "clip0_189_1728" }, /* @__PURE__ */ I.createElement("rect", { width: 14, height: 14, fill: "white", transform: "translate(0 0.133789)" })))), _U = (e) => /* @__PURE__ */ I.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("g", { clipPath: "url(#clip0_3803_129233)" }, /* @__PURE__ */ I.createElement("path", { d: "M7.3335 4.66683H8.66683V6.00016H7.3335V4.66683ZM7.3335 7.3335H8.66683V11.3335H7.3335V7.3335ZM8.00016 1.3335C4.32016 1.3335 1.3335 4.32016 1.3335 8.00016C1.3335 11.6802 4.32016 14.6668 8.00016 14.6668C11.6802 14.6668 14.6668 11.6802 14.6668 8.00016C14.6668 4.32016 11.6802 1.3335 8.00016 1.3335ZM8.00016 13.3335C5.06016 13.3335 2.66683 10.9402 2.66683 8.00016C2.66683 5.06016 5.06016 2.66683 8.00016 2.66683C10.9402 2.66683 13.3335 5.06016 13.3335 8.00016C13.3335 10.9402 10.9402 13.3335 8.00016 13.3335Z", fill: "var(--connector-neutral-icon, #6F7C90)" })), /* @__PURE__ */ I.createElement("defs", null, /* @__PURE__ */ I.createElement("clipPath", { id: "clip0_3803_129233" }, /* @__PURE__ */ I.createElement("rect", { width: 16, height: 16, fill: "white" })))), MU = ({
|
|
28702
|
+
`, Ph = (e) => /* @__PURE__ */ S.createElement("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M7.87354 2.73877C7.87354 2.30139 7.53821 1.94227 7.11084 1.90381L5.09229 6.44775C5.06387 6.51167 5.02799 6.57074 4.98975 6.62744V12.3667H10.4722C11.0395 12.3665 11.5225 11.9529 11.6089 11.3921L12.2368 7.30811C12.3437 6.61168 11.8047 5.98395 11.1001 5.98389H9.05615C8.40276 5.98371 7.87354 5.45372 7.87354 4.80029V2.73877ZM2.07275 11.8003C2.07275 12.1133 2.32718 12.3667 2.64014 12.3667H3.78955V7.1499H2.64014C2.32718 7.1499 2.07275 7.40432 2.07275 7.71729V11.8003ZM9.07275 4.78369H11.1001C12.5403 4.78375 13.6412 6.0673 13.4224 7.49072L12.7944 11.5747C12.6179 12.7208 11.6318 13.5667 10.4722 13.5669H2.64014C1.66443 13.5669 0.873535 12.776 0.873535 11.8003V7.71729C0.873535 6.74158 1.66443 5.95068 2.64014 5.95068H3.99951L6.04834 1.34131L6.12256 1.20166C6.31844 0.892431 6.66142 0.700708 7.03467 0.700684C8.16045 0.700684 9.07275 1.61299 9.07275 2.73877V4.78369Z", fill: "var(--connector-neutral-icon, #97A3B7)" })), Qh = (e) => /* @__PURE__ */ S.createElement("svg", { width: 13, height: 14, viewBox: "0 0 13 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M11.8008 3.16651C11.8008 2.83026 11.7996 2.61407 11.7861 2.44972C11.7733 2.29228 11.7516 2.23558 11.7383 2.20948C11.684 2.10311 11.5976 2.0167 11.4912 1.96241C11.4651 1.94911 11.4084 1.92742 11.251 1.91456C11.0866 1.90113 10.8698 1.89991 10.5332 1.89991H10.084V7.11671H10.5332C10.8697 7.11671 11.0866 7.11647 11.251 7.10304C11.4084 7.09017 11.4651 7.06848 11.4912 7.05519C11.5977 7.00085 11.684 6.91369 11.7383 6.80714C11.7516 6.78095 11.7733 6.72473 11.7861 6.56788C11.7996 6.40344 11.8008 6.18671 11.8008 5.85011V3.16651ZM6.00001 11.5288C6.00014 11.9658 6.33491 12.3239 6.76173 12.3628L8.68946 8.02784C8.73905 7.91626 8.79776 7.77463 8.8838 7.6421V1.89991H4.30275C3.86739 1.89991 3.57385 1.9011 3.34571 1.91847C3.12524 1.93527 3.00982 1.96482 2.92677 2.00245C2.72742 2.09281 2.55809 2.23906 2.43849 2.42237C2.38875 2.49873 2.34108 2.60774 2.29103 2.82276C2.23917 3.04561 2.19414 3.33583 2.12794 3.76612L1.82325 5.74952C1.73618 6.31551 1.67724 6.70248 1.65724 7.00245C1.63765 7.29653 1.66125 7.4439 1.69923 7.54347C1.79436 7.79282 1.97309 8.00139 2.20509 8.13331C2.29773 8.18598 2.43978 8.23198 2.73341 8.25733C3.03294 8.28318 3.42441 8.2837 3.99708 8.2837H4.46681C4.62026 8.2837 4.77205 8.28306 4.89943 8.29347C5.00019 8.30172 5.11526 8.31839 5.23439 8.36085L5.3545 8.41261L5.51271 8.51026C5.61292 8.58313 5.70157 8.67078 5.77443 8.77101L5.8711 8.93019L5.92286 9.0503C5.96524 9.1694 5.98202 9.28456 5.99025 9.38526C6.00063 9.51256 6.00001 9.66359 6.00001 9.8169V11.5288ZM13 5.85011C13 6.1669 13.0008 6.44089 12.9824 6.66554C12.9635 6.89709 12.9214 7.12868 12.8076 7.35206C12.6383 7.68439 12.3684 7.95514 12.0361 8.12452C11.8127 8.23838 11.5803 8.2804 11.3486 8.29933C11.124 8.31767 10.8499 8.3169 10.5332 8.3169H10.0899C9.97739 8.31691 9.91771 8.31637 9.87501 8.31886C9.85536 8.35692 9.83103 8.41194 9.78517 8.51515L7.82521 12.9263C7.6519 13.3159 7.26532 13.5669 6.83888 13.5669C5.71318 13.5669 4.80093 12.6545 4.80079 11.5288V9.8169C4.80079 9.64881 4.799 9.55553 4.79396 9.48878C4.72728 9.48383 4.63383 9.4839 4.46681 9.4839H3.99708C3.44579 9.4839 2.99395 9.48395 2.63087 9.45265C2.26202 9.42082 1.92186 9.35223 1.61232 9.17628C1.13824 8.90671 0.772529 8.48073 0.578136 7.9712C0.451217 7.63844 0.43534 7.29185 0.459972 6.92237C0.484222 6.55869 0.552876 6.11195 0.63673 5.5669L0.942394 3.58351C1.00581 3.17132 1.05751 2.82883 1.12208 2.55128C1.18838 2.26634 1.27691 2.00629 1.4336 1.76612C1.67803 1.39152 2.02424 1.0943 2.43165 0.909678C2.69285 0.791323 2.96319 0.743407 3.25489 0.721201C3.53908 0.699573 3.8856 0.700693 4.30275 0.700693H10.5332C10.8499 0.700693 11.124 0.69993 11.3486 0.718272C11.5803 0.737198 11.8127 0.779216 12.0361 0.893076C12.3683 1.06241 12.6383 1.33244 12.8076 1.66456C12.9215 1.88802 12.9635 2.12041 12.9824 2.35206C13.0008 2.57656 13 2.85001 13 3.16651V5.85011Z", fill: "var(--connector-neutral-icon, #97A3B7)" })), NU = (e) => /* @__PURE__ */ S.createElement("svg", { width: 15, height: 15, viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M6.02637 0.261719C6.91006 0.100716 7.81654 0.108586 8.69727 0.285156C8.77943 0.301685 8.85737 0.335356 8.92578 0.383789C8.99413 0.432207 9.05187 0.494446 9.09473 0.566406L10.1699 2.37109L12.2686 2.40137C12.3521 2.40267 12.4348 2.42105 12.5107 2.45605C12.5866 2.49114 12.6547 2.5417 12.71 2.60449L12.9268 2.8623C13.4177 3.47393 13.8044 4.1638 14.0703 4.90332H14.0713C14.1006 4.98499 14.1111 5.07276 14.1035 5.15918C14.0958 5.24545 14.0694 5.32914 14.0264 5.4043L13.0107 7.17676L14.0654 8.97949C14.1089 9.05374 14.1349 9.13706 14.1436 9.22266C14.1522 9.30829 14.143 9.39509 14.1152 9.47656C13.8308 10.316 13.3846 11.0919 12.8008 11.7588C12.7442 11.8235 12.6731 11.8748 12.5947 11.9102C12.5163 11.9454 12.4307 11.9644 12.3447 11.9639L10.2559 11.9512L9.22656 13.7188C9.18293 13.7935 9.12263 13.8576 9.05176 13.9072C8.98094 13.9567 8.90045 13.9914 8.81543 14.0068C7.9318 14.1675 7.02506 14.1583 6.14453 13.9814L6.14355 13.9824C6.0797 13.9694 6.01838 13.9446 5.96191 13.9121C5.87332 13.8615 5.7985 13.7897 5.74609 13.7021L4.67188 11.8955L2.56934 11.8682C2.48571 11.8669 2.4031 11.8485 2.32715 11.8135C2.25108 11.7784 2.18323 11.727 2.12793 11.6641C1.60736 11.0751 1.18875 10.4045 0.888672 9.67969L0.767578 9.36621C0.738264 9.28452 0.726773 9.19681 0.734375 9.11035C0.742031 9.02393 0.768379 8.93953 0.811523 8.86426L1.82617 7.0918L0.772461 5.28906C0.729026 5.2148 0.702006 5.1315 0.693359 5.0459C0.684801 4.96052 0.695058 4.87421 0.722656 4.79297C1.00784 3.95289 1.45608 3.17678 2.04102 2.50977C2.09771 2.44503 2.16762 2.39274 2.24609 2.35742C2.32438 2.32222 2.40928 2.30426 2.49512 2.30469L4.58398 2.31543L5.61426 0.549805C5.65789 0.474997 5.71718 0.410066 5.78809 0.360352C5.8591 0.31064 5.94107 0.277156 6.02637 0.261719ZM7.53809 14.0195C7.59898 14.0196 7.65982 14.0181 7.7207 14.0166C7.65982 14.0181 7.59898 14.0196 7.53809 14.0195ZM7.2334 14.0117C7.28581 14.014 7.33818 14.0164 7.39062 14.0176C7.33818 14.0164 7.28581 14.014 7.2334 14.0117ZM7.85742 14.0127C7.89653 14.0109 7.93552 14.0073 7.97461 14.0049C7.93552 14.0073 7.89654 14.0109 7.85742 14.0127ZM6.91113 13.9902C6.97295 13.9958 7.03476 14.0009 7.09668 14.0049C7.03476 14.0009 6.97295 13.9958 6.91113 13.9902ZM6.6543 13.9619C6.6898 13.9665 6.72519 13.9716 6.76074 13.9756C6.72519 13.9716 6.6898 13.9665 6.6543 13.9619ZM5.91016 13.75C5.94027 13.7795 5.97474 13.8051 6.01172 13.8262L5.95898 13.791C5.94197 13.7782 5.92535 13.7649 5.91016 13.75ZM6.58008 12.9414H6.58105H6.58008ZM8.2002 1.41895C7.63858 1.33129 7.06722 1.32543 6.50391 1.40137L5.5127 3.10059C5.45667 3.19686 5.37383 3.27503 5.27539 3.32715C5.21254 3.36088 5.14878 3.39942 5.08594 3.43555L5.08496 3.43457C4.99197 3.48895 4.88605 3.51825 4.77832 3.51758L2.77637 3.50586C2.43354 3.9367 2.15694 4.41647 1.95508 4.92871L2.96875 6.66211H2.96973C3.01013 6.73278 3.03531 6.81132 3.04492 6.8916L3.04883 6.97461C3.04667 7.04613 3.0485 7.11658 3.05078 7.18945C3.0548 7.30124 3.02821 7.41268 2.97266 7.50977L1.99609 9.21289C2.21404 9.7388 2.50744 10.2299 2.86621 10.6719L4.88281 10.7012H4.88379C4.99002 10.7034 5.09368 10.7341 5.18457 10.7891L5.39258 10.9082C5.45916 10.9464 5.51715 10.9978 5.56445 11.0576L5.6084 11.1201L6.6416 12.8486C7.20362 12.9365 7.77513 12.9432 8.33887 12.8672L9.3291 11.1689C9.38528 11.0722 9.46843 10.9926 9.56738 10.9404C9.63017 10.9067 9.69505 10.8701 9.75781 10.834L9.8291 10.7988C9.90336 10.7678 9.98341 10.7514 10.0645 10.752L12.0664 10.7646C12.4092 10.3324 12.6847 9.85062 12.8857 9.33691L11.8711 7.60645L11.8721 7.60547C11.8181 7.51108 11.7903 7.40365 11.792 7.29492L11.791 7.29395C11.7932 7.22206 11.7923 7.15042 11.79 7.07715C11.7862 6.96565 11.8128 6.85466 11.8682 6.75781L12.8438 5.05371C12.6258 4.52811 12.3333 4.03648 11.9746 3.59473L9.95801 3.56641H9.95703C9.85067 3.56414 9.74722 3.53265 9.65625 3.47754V3.47852L9.45898 3.36426L9.39258 3.32129C9.32844 3.27486 9.27351 3.21669 9.23242 3.14844V3.14746L8.2002 1.41895ZM2.4668 11.7559L2.57031 11.7686H2.57129C2.50157 11.7675 2.43246 11.7518 2.36914 11.7227L2.4668 11.7559ZM1.78809 11.082V11.0811V11.082ZM13.0244 11.3203C13.0502 11.2862 13.0774 11.2533 13.1025 11.2188C13.0774 11.2533 13.0502 11.2862 13.0244 11.3203ZM13.2051 11.0713C13.2348 11.0279 13.2643 10.9845 13.293 10.9404C13.2643 10.9845 13.2348 11.0279 13.2051 11.0713ZM9.90918 10.876C9.90231 10.8782 9.89544 10.8803 9.88867 10.8828C9.89545 10.8803 9.90231 10.8782 9.90918 10.876ZM13.3535 10.8447C13.3903 10.7861 13.426 10.7268 13.4609 10.667C13.426 10.7268 13.3903 10.7861 13.3535 10.8447ZM13.5049 10.5928C13.5426 10.5264 13.5789 10.4593 13.6143 10.3916C13.5789 10.4593 13.5426 10.5264 13.5049 10.5928ZM13.6582 10.3066C13.695 10.2337 13.7305 10.1602 13.7646 10.0859C13.7305 10.1602 13.695 10.2337 13.6582 10.3066ZM7.2168 4.04004C7.82858 3.99994 8.43974 4.14269 8.9707 4.44922C9.68176 4.86085 10.2003 5.53844 10.4131 6.33203C10.6256 7.12573 10.5145 7.97155 10.1045 8.68359C9.79803 9.21429 9.34157 9.64291 8.79199 9.91406C8.24214 10.1852 7.62346 10.287 7.01562 10.207C6.40793 10.127 5.83684 9.86895 5.37598 9.46484C4.91529 9.06072 4.58448 8.52844 4.42578 7.93652C4.26721 7.34451 4.28843 6.71808 4.48535 6.1377C4.68236 5.55755 5.04627 5.04792 5.53223 4.6748C6.01845 4.30171 6.60526 4.08027 7.2168 4.04004ZM13.7852 10.041C13.8281 9.94559 13.8697 9.84945 13.9082 9.75195V9.75098C13.8696 9.84876 13.8283 9.94531 13.7852 10.041ZM6.40918 9.95703C6.46044 9.97542 6.51219 9.99222 6.56445 10.0078C6.51219 9.99225 6.46044 9.97539 6.40918 9.95703ZM6.20996 9.87695C6.25096 9.89508 6.2922 9.91244 6.33398 9.92871C6.2922 9.91247 6.25097 9.89505 6.20996 9.87695ZM6.02832 9.79004C6.0678 9.81077 6.10809 9.82969 6.14844 9.84863C6.10808 9.82972 6.06781 9.81074 6.02832 9.79004ZM5.84082 9.68262C5.87596 9.70443 5.9113 9.72578 5.94727 9.74609C5.91128 9.7258 5.87597 9.7044 5.84082 9.68262ZM12.9131 9.53613C12.9421 9.46825 12.9707 9.40012 12.9971 9.33105L12.9961 9.33008C12.9697 9.3993 12.9422 9.46808 12.9131 9.53613ZM5.66602 9.56543C5.7015 9.59105 5.73694 9.61662 5.77344 9.64062C5.73693 9.61664 5.70151 9.59104 5.66602 9.56543ZM1.97461 9.41699C1.99284 9.4575 2.01311 9.49704 2.03223 9.53711C1.98023 9.42813 1.93016 9.31814 1.88477 9.20605L1.97461 9.41699ZM5.59277 9.5127C5.59556 9.51484 5.59877 9.51642 5.60156 9.51855C5.54737 9.47722 5.49386 9.43478 5.44238 9.38965L5.59277 9.5127ZM8.03125 5.33496C7.67547 5.21424 7.29063 5.20159 6.92773 5.29883C6.56509 5.39617 6.23977 5.59952 5.99219 5.88184C5.74452 6.16433 5.58615 6.51424 5.53711 6.88672C5.48824 7.25901 5.54977 7.63783 5.71582 7.97461C5.88202 8.31152 6.14537 8.59145 6.4707 8.7793C6.90703 9.0311 7.42549 9.09913 7.91211 8.96875C8.39876 8.83831 8.81448 8.52031 9.06641 8.08398C9.25414 7.7587 9.3409 7.38453 9.31641 7.00977C9.2918 6.635 9.15631 6.27555 8.92773 5.97754C8.69908 5.67961 8.38685 5.45577 8.03125 5.33496ZM6.17676 8.69922C6.25355 8.76023 6.3343 8.81676 6.41992 8.86621L6.4209 8.86523C6.33525 8.81578 6.2536 8.76024 6.17676 8.69922ZM8.47754 8.83203V8.83105V8.83203ZM5.77637 8.27246C5.83227 8.35318 5.89399 8.4295 5.96094 8.50098L5.86426 8.38965C5.83359 8.35168 5.80422 8.31265 5.77637 8.27246ZM4.52246 7.91113C4.5608 8.0541 4.60948 8.19346 4.66797 8.32812C4.60945 8.19325 4.56083 8.05334 4.52246 7.91016V7.91113ZM9.40039 6.85645C9.40722 6.90519 9.41278 6.95457 9.41602 7.00391C9.41922 7.05311 9.42035 7.1023 9.41992 7.15137C9.42035 7.10204 9.41926 7.05239 9.41602 7.00293C9.41279 6.95379 9.40719 6.90498 9.40039 6.85645ZM11.9004 6.95215C11.8982 6.96247 11.897 6.97295 11.8955 6.9834C11.8971 6.97295 11.8982 6.96247 11.9004 6.95215ZM4.65137 5.97754C4.62849 6.03229 4.60852 6.08831 4.58887 6.14453C4.60851 6.0883 4.6285 6.03229 4.65137 5.97754ZM4.73633 5.79492C4.7241 5.81941 4.71274 5.8443 4.70117 5.86914C4.71273 5.8443 4.72411 5.81941 4.73633 5.79492ZM4.84473 5.59863C4.82627 5.62957 4.80836 5.66078 4.79102 5.69238C4.80835 5.66077 4.82628 5.62957 4.84473 5.59863ZM4.95605 5.42383C4.93113 5.45972 4.90714 5.49624 4.88379 5.5332C4.90712 5.49623 4.93114 5.45973 4.95605 5.42383ZM8.31445 4.27051C8.52443 4.33607 8.72746 4.42504 8.91992 4.53613L8.9209 4.53516C8.72801 4.42379 8.52395 4.33516 8.31348 4.26953L8.31445 4.27051ZM5.09082 5.24609C5.06172 5.28198 5.03326 5.3183 5.00586 5.35547C5.03325 5.31828 5.06173 5.28199 5.09082 5.24609ZM6.63965 5.29199C6.64276 5.29067 6.6463 5.29037 6.64941 5.28906C6.6463 5.29037 6.64276 5.29067 6.63965 5.29199ZM7.9209 5.19824H7.92188H7.9209ZM6.90234 5.20215H6.90332H6.90234ZM5.23145 5.08496C5.19896 5.11965 5.16651 5.15429 5.13574 5.19043C5.1665 5.15428 5.19897 5.11966 5.23145 5.08496ZM13.9766 4.93652V4.9375V4.93652ZM0.922852 4.53613C0.885573 4.63126 0.850299 4.72727 0.817383 4.82422V4.8252C0.850362 4.72803 0.885496 4.63148 0.922852 4.53613ZM2.01855 4.5293H2.01953H2.01855ZM1.04688 4.24316C1.02195 4.29878 0.998013 4.35481 0.974609 4.41113C0.998008 4.35481 1.02196 4.29878 1.04688 4.24316ZM7.22363 4.13965L7.22461 4.14062L7.22363 4.13965ZM7.66699 4.14453L7.66602 4.14355L7.66699 4.14453ZM1.17188 3.97852C1.1445 4.03303 1.11865 4.08828 1.09277 4.14355C1.11864 4.08828 1.14451 4.03304 1.17188 3.97852ZM12.4287 4.0498V4.04883V4.0498ZM12.6348 2.66992V2.6709C12.8546 2.91962 13.0566 3.1828 13.2383 3.45898C13.1171 3.27471 12.987 3.09618 12.8486 2.92383C12.7796 2.83782 12.708 2.75273 12.6348 2.66992ZM1.30859 3.72168C1.28765 3.75921 1.26729 3.79703 1.24707 3.83496C1.26728 3.79703 1.28765 3.75921 1.30859 3.72168ZM2.72656 3.40723V3.4082L4.7793 3.41797V3.41699L2.72656 3.40723ZM12.0234 3.49707C12.0719 3.55591 12.1198 3.61522 12.166 3.67578L12.0234 3.49609L9.95898 3.4668L12.0234 3.49707ZM1.47852 3.43457C1.45114 3.47831 1.42381 3.52205 1.39746 3.56641C1.4238 3.52204 1.45115 3.47831 1.47852 3.43457ZM9.78809 3.43164C9.79329 3.43365 9.79845 3.43566 9.80371 3.4375C9.79845 3.43567 9.79329 3.43365 9.78809 3.43164ZM5.22852 3.23926V3.24023V3.23926ZM1.64746 3.17676C1.61837 3.21879 1.58963 3.26104 1.56152 3.30371C1.58963 3.26104 1.61837 3.21879 1.64746 3.17676ZM2.11523 2.5752H2.11621H2.11523ZM8.94629 0.53418C8.96978 0.559626 8.99096 0.587273 9.00879 0.617188C8.97313 0.557368 8.92497 0.505135 8.86816 0.464844L8.94629 0.53418ZM6.37305 0.307617C6.26302 0.322319 6.15337 0.34041 6.04395 0.360352C6.15337 0.340409 6.26301 0.322304 6.37305 0.307617ZM8.35059 0.325195C8.25055 0.310024 8.15027 0.296933 8.0498 0.286133C8.15027 0.296945 8.25055 0.310026 8.35059 0.325195ZM7.92578 0.275391C7.85971 0.269476 7.79372 0.26282 7.72754 0.258789C7.79372 0.262834 7.85971 0.269466 7.92578 0.275391ZM6.9502 0.255859C6.89287 0.258741 6.83558 0.262311 6.77832 0.266602C6.83559 0.262325 6.89287 0.258726 6.9502 0.255859ZM7.58008 0.25293C7.53418 0.251105 7.4883 0.248968 7.44238 0.248047C7.4883 0.24898 7.53418 0.251094 7.58008 0.25293ZM7.12988 0.249023C7.17448 0.24794 7.21907 0.247302 7.26367 0.24707C7.21907 0.247314 7.17448 0.247928 7.12988 0.249023ZM6.67871 0.274414C6.57668 0.283521 6.47471 0.294033 6.37305 0.307617C6.47471 0.294047 6.57668 0.283499 6.67871 0.274414Z", fill: "var(--connector-neutral-icon, #97A3B7)" })), jU = (e) => /* @__PURE__ */ S.createElement("svg", { width: 14, height: 15, viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_189_1728)" }, /* @__PURE__ */ S.createElement("path", { d: "M2.33317 2.4672H11.6665V9.4672H3.01567L2.33317 10.1497V2.4672ZM2.33317 1.30054C1.6915 1.30054 1.17234 1.82554 1.17234 2.4672L1.1665 12.9672L3.49984 10.6339H11.6665C12.3082 10.6339 12.8332 10.1089 12.8332 9.4672V2.4672C12.8332 1.82554 12.3082 1.30054 11.6665 1.30054H2.33317ZM3.49984 7.13387H8.1665V8.30054H3.49984V7.13387ZM3.49984 5.38387H10.4998V6.55054H3.49984V5.38387ZM3.49984 3.63387H10.4998V4.80054H3.49984V3.63387Z", fill: "var(--connector-neutral-icon, #97A3B7)" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_189_1728" }, /* @__PURE__ */ S.createElement("rect", { width: 14, height: 14, fill: "white", transform: "translate(0 0.133789)" })))), _U = (e) => /* @__PURE__ */ S.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_3803_129233)" }, /* @__PURE__ */ S.createElement("path", { d: "M7.3335 4.66683H8.66683V6.00016H7.3335V4.66683ZM7.3335 7.3335H8.66683V11.3335H7.3335V7.3335ZM8.00016 1.3335C4.32016 1.3335 1.3335 4.32016 1.3335 8.00016C1.3335 11.6802 4.32016 14.6668 8.00016 14.6668C11.6802 14.6668 14.6668 11.6802 14.6668 8.00016C14.6668 4.32016 11.6802 1.3335 8.00016 1.3335ZM8.00016 13.3335C5.06016 13.3335 2.66683 10.9402 2.66683 8.00016C2.66683 5.06016 5.06016 2.66683 8.00016 2.66683C10.9402 2.66683 13.3335 5.06016 13.3335 8.00016C13.3335 10.9402 10.9402 13.3335 8.00016 13.3335Z", fill: "var(--connector-neutral-icon, #6F7C90)" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_3803_129233" }, /* @__PURE__ */ S.createElement("rect", { width: 16, height: 16, fill: "white" })))), MU = ({
|
|
28703
28703
|
analysisData: e,
|
|
28704
28704
|
isAdmin: t = !1,
|
|
28705
28705
|
smIds: n,
|
|
@@ -28718,7 +28718,7 @@ const sU = "Everything looks good", fU = "Something is not working", cU = "Share
|
|
|
28718
28718
|
connectorId: B,
|
|
28719
28719
|
connectorType: v,
|
|
28720
28720
|
textToHighlight: y
|
|
28721
|
-
} = e.cardData || {},
|
|
28721
|
+
} = e.cardData || {}, I = $(
|
|
28722
28722
|
() => ({
|
|
28723
28723
|
key: y,
|
|
28724
28724
|
card_id: E,
|
|
@@ -28735,20 +28735,20 @@ const sU = "Everything looks good", fU = "Something is not working", cU = "Share
|
|
|
28735
28735
|
if (re(() => {
|
|
28736
28736
|
const X = Date.now();
|
|
28737
28737
|
return () => {
|
|
28738
|
-
f(vr.DATA_CARD_DURATION, { ...
|
|
28738
|
+
f(vr.DATA_CARD_DURATION, { ...I, duration: Date.now() - X });
|
|
28739
28739
|
};
|
|
28740
28740
|
}, [f, E]), re(() => {
|
|
28741
28741
|
var G, q, J;
|
|
28742
28742
|
const X = (J = (q = (G = e == null ? void 0 : e.cardData) == null ? void 0 : G.data) == null ? void 0 : q.flatDetails) == null ? void 0 : J.data;
|
|
28743
28743
|
if (X) {
|
|
28744
28744
|
const fe = X.sort((de, W) => de.priority - W.priority);
|
|
28745
|
-
A(fe), f(vr.OBJECT_HOVERED,
|
|
28745
|
+
A(fe), f(vr.OBJECT_HOVERED, I);
|
|
28746
28746
|
}
|
|
28747
|
-
}, [e, f,
|
|
28747
|
+
}, [e, f, I]), !p || p.length === 0) return null;
|
|
28748
28748
|
const L = () => {
|
|
28749
|
-
l(!0), f(vr.FEEDBACK_OPTION_CLICKED,
|
|
28749
|
+
l(!0), f(vr.FEEDBACK_OPTION_CLICKED, I);
|
|
28750
28750
|
}, j = () => {
|
|
28751
|
-
F(!0), f(vr.NEGATIVE_FEEDBACK_CLICKED,
|
|
28751
|
+
F(!0), f(vr.NEGATIVE_FEEDBACK_CLICKED, I);
|
|
28752
28752
|
}, k = (X) => {
|
|
28753
28753
|
const G = {
|
|
28754
28754
|
card_id: E,
|
|
@@ -28764,7 +28764,7 @@ const sU = "Everything looks good", fU = "Something is not working", cU = "Share
|
|
|
28764
28764
|
},
|
|
28765
28765
|
{
|
|
28766
28766
|
onSuccess: () => {
|
|
28767
|
-
c ? f(vr.FEEDBACK_OPTION_SUBMITTED,
|
|
28767
|
+
c ? f(vr.FEEDBACK_OPTION_SUBMITTED, I) : C && f(vr.NEGATIVE_FEEDBACK_SUBMITTED, I), l(!1), F(!1), et({ message: mU, type: ur });
|
|
28768
28768
|
},
|
|
28769
28769
|
onError: () => {
|
|
28770
28770
|
et({ message: EU, type: St });
|
|
@@ -28772,7 +28772,7 @@ const sU = "Everything looks good", fU = "Something is not working", cU = "Share
|
|
|
28772
28772
|
}
|
|
28773
28773
|
);
|
|
28774
28774
|
}, T = () => {
|
|
28775
|
-
k({ isThumbsUp: !0 }), f(vr.POSITIVE_FEEDBACK_CLICKED,
|
|
28775
|
+
k({ isThumbsUp: !0 }), f(vr.POSITIVE_FEEDBACK_CLICKED, I);
|
|
28776
28776
|
}, O = (X) => {
|
|
28777
28777
|
k({ ...X, isThumbsUp: !1 });
|
|
28778
28778
|
}, N = () => {
|
|
@@ -28781,11 +28781,11 @@ const sU = "Everything looks good", fU = "Something is not working", cU = "Share
|
|
|
28781
28781
|
i == null || i();
|
|
28782
28782
|
}, z = (X) => {
|
|
28783
28783
|
f(vr.PERMALINK_CLICKED, {
|
|
28784
|
-
...
|
|
28784
|
+
...I,
|
|
28785
28785
|
clicked_value: X
|
|
28786
28786
|
});
|
|
28787
28787
|
}, Z = () => {
|
|
28788
|
-
D.current || (f(vr.DATA_CARD_SCROLLED,
|
|
28788
|
+
D.current || (f(vr.DATA_CARD_SCROLLED, I), D.current = !0);
|
|
28789
28789
|
};
|
|
28790
28790
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
28791
28791
|
/* @__PURE__ */ a.jsxs(yU, { children: [
|
|
@@ -28873,8 +28873,8 @@ function QU({ elements: e, title: t, onKeyChange: n }) {
|
|
|
28873
28873
|
re(() => {
|
|
28874
28874
|
if (e && e.length > 0) {
|
|
28875
28875
|
const b = (y) => {
|
|
28876
|
-
const
|
|
28877
|
-
l(j), f(L), n && n(L), i(
|
|
28876
|
+
const I = y.currentTarget, L = I.textContent || "", j = GA(I);
|
|
28877
|
+
l(j), f(L), n && n(L), i(I), o(!0);
|
|
28878
28878
|
}, B = () => {
|
|
28879
28879
|
if (r && u) {
|
|
28880
28880
|
const y = GA(u);
|
|
@@ -28882,16 +28882,16 @@ function QU({ elements: e, title: t, onKeyChange: n }) {
|
|
|
28882
28882
|
}
|
|
28883
28883
|
}, v = (y) => {
|
|
28884
28884
|
if (p.current = { x: y.clientX, y: y.clientY }, !r || D) return;
|
|
28885
|
-
const
|
|
28885
|
+
const I = y.clientX, L = y.clientY;
|
|
28886
28886
|
let j = !1;
|
|
28887
28887
|
for (const k of e)
|
|
28888
|
-
if (WA(
|
|
28888
|
+
if (WA(I, L, k.getBoundingClientRect())) {
|
|
28889
28889
|
j = !0;
|
|
28890
28890
|
break;
|
|
28891
28891
|
}
|
|
28892
28892
|
if (!j) {
|
|
28893
28893
|
const k = document.querySelector(`.${Un.tooltip}`);
|
|
28894
|
-
k && WA(
|
|
28894
|
+
k && WA(I, L, k.getBoundingClientRect()) && (j = !0);
|
|
28895
28895
|
}
|
|
28896
28896
|
j || (o(!1), i(null));
|
|
28897
28897
|
};
|
|
@@ -29117,7 +29117,7 @@ const zU = (e) => {
|
|
|
29117
29117
|
}, Hh = (e) => {
|
|
29118
29118
|
const { emailLogSettings: t, messageLogStatus: n, selectedEntities: r, autoLogEnabled: o } = e;
|
|
29119
29119
|
return (t == null ? void 0 : t.connectorStatus) === Df.UNAUTHENTICATED ? Me.UNAUTHENTICATED : n.pending > 0 ? Me.PENDING : n.failed ? Me.ERROR : r.length === 0 ? Me.NOT_LOGGED : o ? Me.LOGGED : Me.PAUSED;
|
|
29120
|
-
}, Yc = (e) => /* @__PURE__ */
|
|
29120
|
+
}, Yc = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "#D24B58", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M6.3335 8.99967H7.66683V10.333H6.3335V8.99967ZM6.3335 3.66634H7.66683V7.66634H6.3335V3.66634ZM6.9935 0.333008C3.3135 0.333008 0.333496 3.31967 0.333496 6.99967C0.333496 10.6797 3.3135 13.6663 6.9935 13.6663C10.6802 13.6663 13.6668 10.6797 13.6668 6.99967C13.6668 3.31967 10.6802 0.333008 6.9935 0.333008ZM7.00016 12.333C4.0535 12.333 1.66683 9.94634 1.66683 6.99967C1.66683 4.05301 4.0535 1.66634 7.00016 1.66634C9.94683 1.66634 12.3335 4.05301 12.3335 6.99967C12.3335 9.94634 9.94683 12.333 7.00016 12.333Z" })), XU = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 12, height: 10, viewBox: "0 0 12 10", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M4.0001 8.0299L1.2201 5.2499L0.273438 6.1899L4.0001 9.91656L12.0001 1.91656L11.0601 0.976562L4.0001 8.0299Z", fill: "white" })), ZU = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0.940918 0 18 18", fill: "var(--connector-neutral-icon, #6F7C90)", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_532_206243)" }, /* @__PURE__ */ S.createElement("path", { d: "M9.94092 3V0.75L6.94092 3.75L9.94092 6.75V4.5C12.4234 4.5 14.4409 6.5175 14.4409 9C14.4409 9.7575 14.2534 10.4775 13.9159 11.1L15.0109 12.195C15.5959 11.2725 15.9409 10.1775 15.9409 9C15.9409 5.685 13.2559 3 9.94092 3ZM9.94092 13.5C7.45842 13.5 5.44092 11.4825 5.44092 9C5.44092 8.2425 5.62842 7.5225 5.96592 6.9L4.87092 5.805C4.28592 6.7275 3.94092 7.8225 3.94092 9C3.94092 12.315 6.62592 15 9.94092 15V17.25L12.9409 14.25L9.94092 11.25V13.5Z" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_532_206243" }, /* @__PURE__ */ S.createElement("rect", { width: 18, height: 18, fill: "white", transform: "translate(0.940918)" })))), JU = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ...e }, /* @__PURE__ */ S.createElement("g", { clipPath: "url(#clip0_1_11813)" }, /* @__PURE__ */ S.createElement("path", { d: "M9.05859 0C4.09059 0 0.0585938 4.032 0.0585938 9C0.0585938 13.968 4.09059 18 9.05859 18C14.0266 18 18.0586 13.968 18.0586 9C18.0586 4.032 14.0266 0 9.05859 0ZM8.15859 12.6H6.35859V5.4H8.15859V12.6ZM11.7586 12.6H9.95859V5.4H11.7586V12.6Z", fill: "#F2A579" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_1_11813" }, /* @__PURE__ */ S.createElement("rect", { width: 18, height: 18, fill: "white" })))), a1 = fl`
|
|
29121
29121
|
from {
|
|
29122
29122
|
transform: rotate(0deg);
|
|
29123
29123
|
}
|
|
@@ -29318,7 +29318,7 @@ const zU = (e) => {
|
|
|
29318
29318
|
align-items: center;
|
|
29319
29319
|
margin-top: 20px;
|
|
29320
29320
|
width: 100%;
|
|
29321
|
-
`, EW = (e) => /* @__PURE__ */
|
|
29321
|
+
`, EW = (e) => /* @__PURE__ */ S.createElement("svg", { width: 58, height: 26, viewBox: "0 0 58 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M8.9082 1.37598C10.221 0.614497 11.8414 0.614651 13.1543 1.37598L19.9619 5.32422C21.2668 6.08111 22.0702 7.47589 22.0703 8.98438V16.916C22.0703 18.4247 21.2669 19.8192 19.9619 20.5762L13.1543 24.5244C11.8414 25.2858 10.2211 25.2859 8.9082 24.5244L2.10156 20.5762C0.796567 19.8192 -0.00683594 18.4247 -0.00683594 16.916V8.98438C-0.00668786 7.47589 0.796688 6.08111 2.10156 5.32422L8.9082 1.37598ZM11.9531 15.9727C11.9531 17.5841 13.2597 18.8906 14.8711 18.8906V15.3281C14.871 13.7167 13.5645 12.4102 11.9531 12.4102V15.9727ZM7.57617 15.6641C7.57619 17.2755 8.88271 18.582 10.4941 18.582V10.1592C10.4939 8.54793 9.18748 7.24219 7.57617 7.24219V15.6641Z", fill: "#D0D8E3" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M27.4643 7.74676V11.8643C27.8476 11.0201 28.9238 10.6646 29.6462 10.6646C31.4006 10.6646 32.4325 11.8199 32.4325 13.7898V17.0335C32.4325 17.4482 32.0935 17.8037 31.6512 17.8037C31.2384 17.8037 30.914 17.4482 30.914 17.0335V13.8787C30.914 12.7975 30.2359 12.1606 29.3808 12.1606C28.511 12.1606 27.4643 12.6493 27.4643 14.012V17.0335C27.4643 17.4482 27.1252 17.8037 26.6829 17.8037C26.2701 17.8037 25.9458 17.4482 25.9458 17.0335V7.74676C25.9458 7.33204 26.2849 6.97656 26.7272 6.97656C27.1399 6.97656 27.4643 7.33204 27.4643 7.74676ZM33.6052 8.01336C33.6052 7.46534 34.0769 7.05062 34.6224 7.05062C35.1826 7.05062 35.6249 7.46534 35.6249 8.01336C35.6249 8.56139 35.1826 8.97611 34.6224 8.97611C34.0769 8.97611 33.6052 8.56139 33.6052 8.01336ZM35.389 17.0335C35.389 17.4482 35.0499 17.8037 34.6077 17.8037C34.1949 17.8037 33.8705 17.4482 33.8705 17.0335V11.5089C33.8705 11.0941 34.1949 10.7387 34.6077 10.7387C35.0499 10.7387 35.389 11.0941 35.389 11.5089V17.0335ZM42.7241 11.7014L40.4685 17.1076C40.2915 17.5371 39.9967 17.8037 39.5544 17.8037H39.466C39.0237 17.8037 38.7141 17.5371 38.5372 17.1076L36.2963 11.7014C36.1341 11.3163 36.3848 10.8275 36.7976 10.7535C37.1956 10.6794 37.5642 10.872 37.7116 11.2571L39.5102 15.7894L41.3088 11.2571C41.4562 10.872 41.8248 10.6794 42.2228 10.7535C42.6356 10.8275 42.8862 11.3163 42.7241 11.7014ZM44.6044 13.701H48.5996C48.4522 12.6197 47.6708 11.9976 46.6388 11.9976C45.5774 11.9976 44.7518 12.6345 44.6044 13.701ZM50.0886 14.1157C50.0886 14.5156 49.7643 14.8118 49.3957 14.8118H44.6044C44.7518 15.8782 45.6069 16.5447 46.7125 16.5447C47.4349 16.5447 47.8477 16.293 48.349 15.8782C48.5996 15.6709 49.0124 15.5672 49.322 15.819C49.6021 16.0412 49.6168 16.5003 49.3515 16.7817C48.6586 17.5075 47.6561 17.8778 46.6388 17.8778C44.6781 17.8778 43.1006 16.4411 43.1006 14.249C43.1006 12.0569 44.6781 10.6646 46.6388 10.6646C48.5554 10.6646 50.0296 11.9976 50.0886 14.1157ZM54.4162 12.1013C53.1188 12.1013 52.5733 13.4047 52.5733 15.2413V17.0335C52.5733 17.4482 52.2343 17.8037 51.792 17.8037C51.3792 17.8037 51.0548 17.4482 51.0548 17.0335V11.5089C51.0548 11.0941 51.3792 10.7387 51.792 10.7387C52.2343 10.7387 52.5733 11.0941 52.5733 11.5089V12.3975C52.9272 11.1682 53.6053 10.6646 54.4604 10.6646C54.6815 10.6646 54.9027 10.6794 55.1091 10.7239C55.4924 10.8127 55.743 11.1978 55.6545 11.5977C55.5218 12.2642 54.8584 12.1013 54.4162 12.1013Z", fill: "#D0D8E3" })), bW = ({ isAdmin: e, connectorId: t, connectorName: n, close: r }) => {
|
|
29322
29322
|
const o = e ? JP : KP, { connectorFunctions: u } = Qe(bn), i = u == null ? void 0 : u.redirectToAdmin, s = () => {
|
|
29323
29323
|
r(), i == null || i(t);
|
|
29324
29324
|
};
|
|
@@ -29366,9 +29366,9 @@ const zU = (e) => {
|
|
|
29366
29366
|
localStorage.setItem(jA, "true"), l(!0), C(!0), f == null || f(gn.email_logging_intro_popup_continue_clicked, { app_name: p });
|
|
29367
29367
|
};
|
|
29368
29368
|
return c ? h ? /* @__PURE__ */ a.jsx(xW, { connectorId: F, connectorName: p, isAdmin: t, isAuthenticated: !1, children: e }) : o ? /* @__PURE__ */ a.jsx(Le, { title: qP, children: e }) : m ? /* @__PURE__ */ a.jsx(Le, { title: YP.replace(":connectorName", p), children: e }) : u ? /* @__PURE__ */ a.jsx(uW, { defaultOpen: D, renderTooltip: u, compact: i, children: e }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e }) : /* @__PURE__ */ a.jsx(AW, { onContinue: d ? g : void 0, connectorName: p, children: e });
|
|
29369
|
-
}, yW = (e) => /* @__PURE__ */
|
|
29369
|
+
}, yW = (e) => /* @__PURE__ */ S.createElement("svg", { width: 124, height: 107, viewBox: "0 0 124 107", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M28.6168 54.7446C28.6931 52.5589 31.0146 51.1102 33.0842 51.8174C35.9985 52.8133 40.0375 53.9024 44.0621 54.043C48.0034 54.1806 51.968 53.4097 54.8762 52.6339C57.0264 52.0602 59.2927 53.6932 59.215 55.9172C59.1742 57.0856 58.4742 58.1269 57.3723 58.5178C54.8051 59.4284 49.7633 60.8927 44.3075 60.7022C38.7694 60.5088 33.1999 58.6241 30.4004 57.5311C29.2637 57.0873 28.5742 55.9641 28.6168 54.7446Z", fill: "url(#paint0_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "url(#paint1_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("mask", { id: "mask0_8481_102191", style: {
|
|
29370
29370
|
maskType: "luminance"
|
|
29371
|
-
}, maskUnits: "userSpaceOnUse", x: 46, y: 14, width: 60, height: 79 }, /* @__PURE__ */ I.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "white" })), /* @__PURE__ */ I.createElement("g", { mask: "url(#mask0_8481_102191)" }, /* @__PURE__ */ I.createElement("ellipse", { cx: 63.7775, cy: 46.8684, rx: 1.48152, ry: 1.39438, transform: "rotate(-12 63.7775 46.8684)", fill: "#435C71" }), /* @__PURE__ */ I.createElement("rect", { x: 47.4368, y: 59.3203, width: 53.657, height: 13.2235, transform: "rotate(-12 47.4368 59.3203)", fill: "url(#paint2_linear_8481_102191)" }), /* @__PURE__ */ I.createElement("rect", { x: 51.1907, y: 76.9824, width: 53.657, height: 10.4263, transform: "rotate(-12 51.1907 76.9824)", fill: "url(#paint3_linear_8481_102191)" })), /* @__PURE__ */ I.createElement("path", { opacity: 0.883952, d: "M113.939 51.0679C114.775 55 112.265 58.865 108.333 59.7008L107.842 59.8052C103.639 60.6986 99.5073 58.0155 98.6139 53.8123L97.205 47.1837L105.307 45.4616C109.239 44.6259 113.104 47.1359 113.939 51.0679Z", fill: "url(#paint4_linear_8481_102191)" }), /* @__PURE__ */ I.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M68.7215 66.4138C67.1801 64.8725 67.6745 62.2062 69.587 61.1603C72.4457 59.5969 76.2861 57.1773 79.3785 54.0849C82.4099 51.0535 84.752 47.3461 86.2775 44.5465C87.3388 42.5989 90.0598 42.0819 91.6282 43.6503C92.4782 44.5003 92.758 45.7623 92.2604 46.8566C91.0829 49.4466 88.5191 54.344 84.4346 58.4285C80.2853 62.5778 74.8639 65.591 72.0553 66.9952C70.9363 67.5548 69.6062 67.2985 68.7215 66.4138Z", fill: "url(#paint5_linear_8481_102191)" }), /* @__PURE__ */ I.createElement("rect", { x: 48.7264, y: 33.7744, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 48.7264 33.7744)", fill: "url(#paint6_linear_8481_102191)" }), /* @__PURE__ */ I.createElement("rect", { x: 50.0175, y: 35.8193, width: 4.0158, height: 3.84848, rx: 1.92424, transform: "rotate(-12 50.0175 35.8193)", fill: "#435C71" }), /* @__PURE__ */ I.createElement("rect", { x: 59.2875, y: 31.5723, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 59.2875 31.5723)", fill: "#FFFEFE" }), /* @__PURE__ */ I.createElement("path", { opacity: 0.883952, d: "M111.25 38.5376C110.415 34.6055 106.55 32.0955 102.618 32.9313L102.127 33.0356C97.9234 33.9291 95.2403 38.0607 96.1337 42.2639L97.5426 48.8925L105.644 47.1705C109.576 46.3347 112.086 42.4696 111.25 38.5376Z", fill: "url(#paint7_linear_8481_102191)" }), /* @__PURE__ */ I.createElement("rect", { x: 60.0181, y: 33.8037, width: 3.84848, height: 3.84848, rx: 1.90724, transform: "rotate(-12 60.0181 33.8037)", fill: "#435C71" }), /* @__PURE__ */ I.createElement("path", { d: "M36.9246 59.1604C36.4487 60.717 34.7371 61.6271 33.1805 61.1512C32.3613 60.9007 31.7241 60.3475 31.3259 59.5987L25.2059 46.7983C24.9784 46.3703 25.1286 45.8788 25.5566 45.6513L28.338 44.1724C28.7659 43.9449 29.2574 44.0951 29.4849 44.5231L36.6496 56.8367C37.0728 57.5036 37.15 58.423 36.9246 59.1604Z", fill: "#FFDF9F" }), /* @__PURE__ */ I.createElement("rect", { x: 27.9973, y: 44.333, width: 2.39869, height: 3.59807, transform: "rotate(152 27.9973 44.333)", fill: "#FF9090" }), /* @__PURE__ */ I.createElement("path", { d: "M26.6628 44.3769L26.9472 44.9118L28.0169 44.343L26.3106 41.1338L24.171 42.2714L25.0243 43.876C25.6661 43.5347 26.3215 43.7351 26.6628 44.3769Z", fill: "#FFB19F" }), /* @__PURE__ */ I.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.26386 27.248C9.3428 20.4481 16.5101 16.6372 23.31 18.7161C30.11 20.7951 33.9209 27.9624 31.8419 34.7623C29.763 41.5622 22.5956 45.3731 15.7958 43.2942C8.99587 41.2152 5.18493 34.0479 7.26386 27.248ZM9.72157 27.9983C8.06843 33.4055 11.1399 39.1821 16.5471 40.8352C21.9543 42.4884 27.7309 39.4168 29.384 34.0096C31.0372 28.6024 27.9657 22.8258 22.5585 21.1727C17.1513 19.5196 11.3747 22.5911 9.72157 27.9983Z", fill: "#FFE69F" }), /* @__PURE__ */ I.createElement("circle", { opacity: 0.414016, cx: 19.5529, cy: 31.0039, r: 10.2804, transform: "rotate(17 19.5529 31.0039)", fill: "#BBDEFC" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3685 30.6746C15.7299 27.6867 18.9391 25.9803 22.1776 26.5225L22.2595 26.5475C23.7024 26.8095 24.3854 24.8682 23.1497 24.2218C22.3806 23.8074 21.5613 23.557 20.717 23.3884C17.3715 22.9031 14.0553 24.6664 12.6939 27.6543C12.2796 28.4235 12.0859 29.3497 12.0244 30.1372C11.8444 31.6051 13.8607 32.0424 14.4503 30.6997C14.3434 30.7566 14.3685 30.6746 14.3685 30.6746Z", fill: "#F6FBFF" }), /* @__PURE__ */ I.createElement("path", { d: "M10.2904 29.0679C11.9436 23.6607 17.7202 20.5893 23.1274 22.2424C25.6671 23.0189 27.5785 24.6783 28.9301 26.704C27.7539 24.1048 25.508 22.0744 22.5586 21.1727C17.1514 19.5196 11.3748 22.591 9.72165 27.9982C8.81993 30.9476 9.32924 33.97 10.7444 36.3735C9.82081 34.1203 9.51395 31.6077 10.2904 29.0679Z", fill: "#ADCBE7" }), /* @__PURE__ */ I.createElement("path", { opacity: 0.406087, d: "M36.4864 56.8021L36.1373 56.2691C36.3845 56.8563 36.428 57.5516 36.2372 58.1754C35.9273 59.189 34.5593 59.1971 34.0713 58.2806L28.3787 47.5877C28.0534 46.9767 27.3508 46.7619 26.7395 47.0866L25.7206 47.6277L31.4395 59.3516C31.7648 59.9627 32.27 60.5434 32.8706 60.8123C33.7054 61.1528 34.6593 61.1034 35.3726 60.7247C36.0858 60.3459 36.6602 59.5837 36.8444 58.7021C37.0351 58.0783 36.8117 57.4132 36.4864 56.8021Z", fill: "white" }), /* @__PURE__ */ I.createElement("path", { d: "M29.8826 48.4977C29.8006 48.4726 29.6368 48.4225 29.5799 48.3155L28.1579 45.6411C28.0442 45.4272 28.1193 45.1814 28.3332 45.0677C28.5472 44.9539 28.7929 45.0291 28.9067 45.243L30.3287 47.9174C30.4424 48.1313 30.3673 48.3771 30.1534 48.4908C30.1284 48.5728 29.9645 48.5227 29.8826 48.4977Z", fill: "#FFF5EB" }), /* @__PURE__ */ I.createElement("ellipse", { cx: 29.2637, cy: 54.631, rx: 1.50593, ry: 3.17918, transform: "rotate(-23 29.2637 54.631)", fill: "#FFC478" }), /* @__PURE__ */ I.createElement("ellipse", { cx: 34.0592, cy: 52.4078, rx: 0.920288, ry: 1.67325, transform: "rotate(106 34.0592 52.4078)", fill: "#FFC478" }), /* @__PURE__ */ I.createElement("path", { d: "M89.1282 19.2055L68.2257 26.8725L45.9197 28.3898L44.4929 16.4082C44.3371 13.798 47.5283 11.4502 50.9859 11.6309L65.1429 12.369L67.3969 12.4869C68.5309 12.5463 69.7066 12.3289 70.7522 11.8627L78.6899 8.34726C81.725 6.99992 85.3012 7.87475 86.2125 10.1876L89.1282 19.2055Z", fill: "url(#paint8_linear_8481_102191)" }), /* @__PURE__ */ I.createElement("path", { opacity: 0.479771, d: "M88.6262 19.0953L68.3101 26.5288L65.3314 12.5149L67.5211 12.6263C68.6228 12.6824 69.7652 12.471 70.7816 12.0192L78.4972 8.61266C81.4474 7.30707 84.9208 8.14856 85.8036 10.3829L88.6262 19.0953Z", fill: "#ADCBE7" }), /* @__PURE__ */ I.createElement("path", { d: "M91.6332 26.6212L46.9517 36.1186L46.0387 28.4438L89.2535 19.2582L91.6332 26.6212Z", fill: "#717DAD" }), /* @__PURE__ */ I.createElement("path", { d: "M102.961 24.2033C103.125 24.9722 102.371 25.7829 101.278 26.015L37.9675 39.4722C36.8754 39.7043 35.8568 39.2704 35.6933 38.5015C35.5301 37.7336 36.284 36.922 37.3761 36.6898L100.687 23.2327C101.779 23.0005 102.798 23.4354 102.961 24.2033Z", fill: "#9ED1FF" }), /* @__PURE__ */ I.createElement("path", { d: "M102.703 24.1718C102.838 24.805 102.067 25.5045 100.983 25.7349L69.5583 32.4144L69.0712 30.123L100.496 23.4436C101.58 23.2131 102.569 23.5394 102.703 24.1718Z", fill: "#78AFE1" }), /* @__PURE__ */ I.createElement("defs", null, /* @__PURE__ */ I.createElement("linearGradient", { id: "paint0_linear_8481_102191", x1: 32.2665, y1: 59.6553, x2: 59.0518, y2: 60.5906, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ I.createElement("linearGradient", { id: "paint1_linear_8481_102191", x1: 67.3434, y1: 85.966, x2: 103.216, y2: 78.3411, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "#FFFABC" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#FFA650" })), /* @__PURE__ */ I.createElement("linearGradient", { id: "paint2_linear_8481_102191", x1: 51.4347, y1: 74.8197, x2: 91.1539, y2: 74.8197, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ I.createElement("linearGradient", { id: "paint3_linear_8481_102191", x1: 55.1887, y1: 89.2031, x2: 94.9078, y2: 89.2031, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ I.createElement("linearGradient", { id: "paint4_linear_8481_102191", x1: 94.5023, y1: 53.1799, x2: 106.762, y2: 58.7056, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ I.createElement("linearGradient", { id: "paint5_linear_8481_102191", x1: 74.9906, y1: 66.9871, x2: 94.9778, y2: 46.9999, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ I.createElement("linearGradient", { id: "paint6_linear_8481_102191", x1: 50.5805, y1: 44.0581, x2: 59.9372, y2: 44.0581, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "white" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#E3EEF3" })), /* @__PURE__ */ I.createElement("linearGradient", { id: "paint7_linear_8481_102191", x1: 88.4187, y1: 43.3906, x2: 99.3981, y2: 25.1833, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ I.createElement("linearGradient", { id: "paint8_linear_8481_102191", x1: 56.4985, y1: 29.5482, x2: 100.532, y2: 20.1885, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ I.createElement("stop", { stopColor: "#ECF7FF" }), /* @__PURE__ */ I.createElement("stop", { offset: 1, stopColor: "#C2E0FF" })))), ID = ({ message: e }) => /* @__PURE__ */ a.jsxs(U, { justifyContent: "center", alignItems: "center", height: "100%", "data-section": "empty", children: [
|
|
29371
|
+
}, maskUnits: "userSpaceOnUse", x: 46, y: 14, width: 60, height: 79 }, /* @__PURE__ */ S.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "white" })), /* @__PURE__ */ S.createElement("g", { mask: "url(#mask0_8481_102191)" }, /* @__PURE__ */ S.createElement("ellipse", { cx: 63.7775, cy: 46.8684, rx: 1.48152, ry: 1.39438, transform: "rotate(-12 63.7775 46.8684)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("rect", { x: 47.4368, y: 59.3203, width: 53.657, height: 13.2235, transform: "rotate(-12 47.4368 59.3203)", fill: "url(#paint2_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 51.1907, y: 76.9824, width: 53.657, height: 10.4263, transform: "rotate(-12 51.1907 76.9824)", fill: "url(#paint3_linear_8481_102191)" })), /* @__PURE__ */ S.createElement("path", { opacity: 0.883952, d: "M113.939 51.0679C114.775 55 112.265 58.865 108.333 59.7008L107.842 59.8052C103.639 60.6986 99.5073 58.0155 98.6139 53.8123L97.205 47.1837L105.307 45.4616C109.239 44.6259 113.104 47.1359 113.939 51.0679Z", fill: "url(#paint4_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M68.7215 66.4138C67.1801 64.8725 67.6745 62.2062 69.587 61.1603C72.4457 59.5969 76.2861 57.1773 79.3785 54.0849C82.4099 51.0535 84.752 47.3461 86.2775 44.5465C87.3388 42.5989 90.0598 42.0819 91.6282 43.6503C92.4782 44.5003 92.758 45.7623 92.2604 46.8566C91.0829 49.4466 88.5191 54.344 84.4346 58.4285C80.2853 62.5778 74.8639 65.591 72.0553 66.9952C70.9363 67.5548 69.6062 67.2985 68.7215 66.4138Z", fill: "url(#paint5_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 48.7264, y: 33.7744, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 48.7264 33.7744)", fill: "url(#paint6_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 50.0175, y: 35.8193, width: 4.0158, height: 3.84848, rx: 1.92424, transform: "rotate(-12 50.0175 35.8193)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("rect", { x: 59.2875, y: 31.5723, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 59.2875 31.5723)", fill: "#FFFEFE" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.883952, d: "M111.25 38.5376C110.415 34.6055 106.55 32.0955 102.618 32.9313L102.127 33.0356C97.9234 33.9291 95.2403 38.0607 96.1337 42.2639L97.5426 48.8925L105.644 47.1705C109.576 46.3347 112.086 42.4696 111.25 38.5376Z", fill: "url(#paint7_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 60.0181, y: 33.8037, width: 3.84848, height: 3.84848, rx: 1.90724, transform: "rotate(-12 60.0181 33.8037)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("path", { d: "M36.9246 59.1604C36.4487 60.717 34.7371 61.6271 33.1805 61.1512C32.3613 60.9007 31.7241 60.3475 31.3259 59.5987L25.2059 46.7983C24.9784 46.3703 25.1286 45.8788 25.5566 45.6513L28.338 44.1724C28.7659 43.9449 29.2574 44.0951 29.4849 44.5231L36.6496 56.8367C37.0728 57.5036 37.15 58.423 36.9246 59.1604Z", fill: "#FFDF9F" }), /* @__PURE__ */ S.createElement("rect", { x: 27.9973, y: 44.333, width: 2.39869, height: 3.59807, transform: "rotate(152 27.9973 44.333)", fill: "#FF9090" }), /* @__PURE__ */ S.createElement("path", { d: "M26.6628 44.3769L26.9472 44.9118L28.0169 44.343L26.3106 41.1338L24.171 42.2714L25.0243 43.876C25.6661 43.5347 26.3215 43.7351 26.6628 44.3769Z", fill: "#FFB19F" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.26386 27.248C9.3428 20.4481 16.5101 16.6372 23.31 18.7161C30.11 20.7951 33.9209 27.9624 31.8419 34.7623C29.763 41.5622 22.5956 45.3731 15.7958 43.2942C8.99587 41.2152 5.18493 34.0479 7.26386 27.248ZM9.72157 27.9983C8.06843 33.4055 11.1399 39.1821 16.5471 40.8352C21.9543 42.4884 27.7309 39.4168 29.384 34.0096C31.0372 28.6024 27.9657 22.8258 22.5585 21.1727C17.1513 19.5196 11.3747 22.5911 9.72157 27.9983Z", fill: "#FFE69F" }), /* @__PURE__ */ S.createElement("circle", { opacity: 0.414016, cx: 19.5529, cy: 31.0039, r: 10.2804, transform: "rotate(17 19.5529 31.0039)", fill: "#BBDEFC" }), /* @__PURE__ */ S.createElement("path", { d: "M14.3685 30.6746C15.7299 27.6867 18.9391 25.9803 22.1776 26.5225L22.2595 26.5475C23.7024 26.8095 24.3854 24.8682 23.1497 24.2218C22.3806 23.8074 21.5613 23.557 20.717 23.3884C17.3715 22.9031 14.0553 24.6664 12.6939 27.6543C12.2796 28.4235 12.0859 29.3497 12.0244 30.1372C11.8444 31.6051 13.8607 32.0424 14.4503 30.6997C14.3434 30.7566 14.3685 30.6746 14.3685 30.6746Z", fill: "#F6FBFF" }), /* @__PURE__ */ S.createElement("path", { d: "M10.2904 29.0679C11.9436 23.6607 17.7202 20.5893 23.1274 22.2424C25.6671 23.0189 27.5785 24.6783 28.9301 26.704C27.7539 24.1048 25.508 22.0744 22.5586 21.1727C17.1514 19.5196 11.3748 22.591 9.72165 27.9982C8.81993 30.9476 9.32924 33.97 10.7444 36.3735C9.82081 34.1203 9.51395 31.6077 10.2904 29.0679Z", fill: "#ADCBE7" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.406087, d: "M36.4864 56.8021L36.1373 56.2691C36.3845 56.8563 36.428 57.5516 36.2372 58.1754C35.9273 59.189 34.5593 59.1971 34.0713 58.2806L28.3787 47.5877C28.0534 46.9767 27.3508 46.7619 26.7395 47.0866L25.7206 47.6277L31.4395 59.3516C31.7648 59.9627 32.27 60.5434 32.8706 60.8123C33.7054 61.1528 34.6593 61.1034 35.3726 60.7247C36.0858 60.3459 36.6602 59.5837 36.8444 58.7021C37.0351 58.0783 36.8117 57.4132 36.4864 56.8021Z", fill: "white" }), /* @__PURE__ */ S.createElement("path", { d: "M29.8826 48.4977C29.8006 48.4726 29.6368 48.4225 29.5799 48.3155L28.1579 45.6411C28.0442 45.4272 28.1193 45.1814 28.3332 45.0677C28.5472 44.9539 28.7929 45.0291 28.9067 45.243L30.3287 47.9174C30.4424 48.1313 30.3673 48.3771 30.1534 48.4908C30.1284 48.5728 29.9645 48.5227 29.8826 48.4977Z", fill: "#FFF5EB" }), /* @__PURE__ */ S.createElement("ellipse", { cx: 29.2637, cy: 54.631, rx: 1.50593, ry: 3.17918, transform: "rotate(-23 29.2637 54.631)", fill: "#FFC478" }), /* @__PURE__ */ S.createElement("ellipse", { cx: 34.0592, cy: 52.4078, rx: 0.920288, ry: 1.67325, transform: "rotate(106 34.0592 52.4078)", fill: "#FFC478" }), /* @__PURE__ */ S.createElement("path", { d: "M89.1282 19.2055L68.2257 26.8725L45.9197 28.3898L44.4929 16.4082C44.3371 13.798 47.5283 11.4502 50.9859 11.6309L65.1429 12.369L67.3969 12.4869C68.5309 12.5463 69.7066 12.3289 70.7522 11.8627L78.6899 8.34726C81.725 6.99992 85.3012 7.87475 86.2125 10.1876L89.1282 19.2055Z", fill: "url(#paint8_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.479771, d: "M88.6262 19.0953L68.3101 26.5288L65.3314 12.5149L67.5211 12.6263C68.6228 12.6824 69.7652 12.471 70.7816 12.0192L78.4972 8.61266C81.4474 7.30707 84.9208 8.14856 85.8036 10.3829L88.6262 19.0953Z", fill: "#ADCBE7" }), /* @__PURE__ */ S.createElement("path", { d: "M91.6332 26.6212L46.9517 36.1186L46.0387 28.4438L89.2535 19.2582L91.6332 26.6212Z", fill: "#717DAD" }), /* @__PURE__ */ S.createElement("path", { d: "M102.961 24.2033C103.125 24.9722 102.371 25.7829 101.278 26.015L37.9675 39.4722C36.8754 39.7043 35.8568 39.2704 35.6933 38.5015C35.5301 37.7336 36.284 36.922 37.3761 36.6898L100.687 23.2327C101.779 23.0005 102.798 23.4354 102.961 24.2033Z", fill: "#9ED1FF" }), /* @__PURE__ */ S.createElement("path", { d: "M102.703 24.1718C102.838 24.805 102.067 25.5045 100.983 25.7349L69.5583 32.4144L69.0712 30.123L100.496 23.4436C101.58 23.2131 102.569 23.5394 102.703 24.1718Z", fill: "#78AFE1" }), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("linearGradient", { id: "paint0_linear_8481_102191", x1: 32.2665, y1: 59.6553, x2: 59.0518, y2: 60.5906, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint1_linear_8481_102191", x1: 67.3434, y1: 85.966, x2: 103.216, y2: 78.3411, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFABC" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFA650" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint2_linear_8481_102191", x1: 51.4347, y1: 74.8197, x2: 91.1539, y2: 74.8197, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint3_linear_8481_102191", x1: 55.1887, y1: 89.2031, x2: 94.9078, y2: 89.2031, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint4_linear_8481_102191", x1: 94.5023, y1: 53.1799, x2: 106.762, y2: 58.7056, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint5_linear_8481_102191", x1: 74.9906, y1: 66.9871, x2: 94.9778, y2: 46.9999, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint6_linear_8481_102191", x1: 50.5805, y1: 44.0581, x2: 59.9372, y2: 44.0581, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "white" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#E3EEF3" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint7_linear_8481_102191", x1: 88.4187, y1: 43.3906, x2: 99.3981, y2: 25.1833, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint8_linear_8481_102191", x1: 56.4985, y1: 29.5482, x2: 100.532, y2: 20.1885, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#ECF7FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#C2E0FF" })))), ID = ({ message: e }) => /* @__PURE__ */ a.jsxs(U, { justifyContent: "center", alignItems: "center", height: "100%", "data-section": "empty", children: [
|
|
29372
29372
|
/* @__PURE__ */ a.jsx(yW, { width: 124, height: 107, className: "empty-illustration" }),
|
|
29373
29373
|
/* @__PURE__ */ a.jsx(Y, { variant: "body2", color: R.palette.gray.gray3, children: e })
|
|
29374
29374
|
] }), BW = async ({
|
|
@@ -29401,7 +29401,7 @@ const zU = (e) => {
|
|
|
29401
29401
|
onSuccess: e,
|
|
29402
29402
|
onError: t
|
|
29403
29403
|
});
|
|
29404
|
-
}, SD = (e) => /* @__PURE__ */
|
|
29404
|
+
}, SD = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "var(--connector-neutral-icon, #6F7C90)", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M6.99967 13.6654C6.08856 13.6654 5.22745 13.4903 4.41634 13.14C3.60523 12.7898 2.89701 12.312 2.29167 11.7067C1.68634 11.1014 1.20856 10.3931 0.858341 9.58203C0.508119 8.77092 0.333008 7.90981 0.333008 6.9987C0.333008 6.07648 0.508119 5.2127 0.858341 4.40736C1.20856 3.60203 1.68634 2.89648 2.29167 2.2907C2.89701 1.68492 3.60523 1.20714 4.41634 0.857365C5.22745 0.507587 6.08856 0.332476 6.99967 0.332031C7.18856 0.332031 7.34701 0.396031 7.47501 0.524031C7.60301 0.652031 7.66679 0.810253 7.66634 0.998698C7.6659 1.18714 7.6019 1.34559 7.47434 1.47403C7.34679 1.60248 7.18856 1.66625 6.99967 1.66536C5.5219 1.66536 4.26345 2.18492 3.22434 3.22403C2.18523 4.26314 1.6659 5.52136 1.66634 6.9987C1.66679 8.47603 2.18634 9.73448 3.22501 10.774C4.26367 11.8136 5.5219 12.3329 6.99967 12.332C8.47745 12.3311 9.7359 11.8118 10.775 10.774C11.8141 9.73625 12.3335 8.47781 12.333 6.9987C12.333 6.80981 12.397 6.65159 12.525 6.52403C12.653 6.39648 12.8112 6.33248 12.9997 6.33203C13.1881 6.33159 13.3466 6.39559 13.475 6.52403C13.6035 6.65248 13.6672 6.8107 13.6663 6.9987C13.6663 7.90981 13.4912 8.77092 13.141 9.58203C12.7908 10.3931 12.313 11.1016 11.7077 11.7074C11.1023 12.3131 10.3968 12.7909 9.59101 13.1407C8.78523 13.4905 7.92145 13.6654 6.99967 13.6654Z" })), IW = w(U)`
|
|
29405
29405
|
display: flex;
|
|
29406
29406
|
flex-flow: row nowrap;
|
|
29407
29407
|
justify-content: flex-start;
|
|
@@ -30239,7 +30239,7 @@ const fG = w(U)`
|
|
|
30239
30239
|
}
|
|
30240
30240
|
}), d = (B, v, y) => {
|
|
30241
30241
|
!B.length || !i || F || (p(y), A({
|
|
30242
|
-
payload: { entities: B.map((
|
|
30242
|
+
payload: { entities: B.map((I) => OA(I, v)) },
|
|
30243
30243
|
conversationId: i
|
|
30244
30244
|
}), b(v, B.length));
|
|
30245
30245
|
}, h = !!r, m = n.some(lf), g = h && m, E = (B) => {
|
|
@@ -30278,20 +30278,20 @@ const fG = w(U)`
|
|
|
30278
30278
|
/* @__PURE__ */ a.jsxs(hG, { role: "group", "aria-labelledby": D, children: [
|
|
30279
30279
|
/* @__PURE__ */ a.jsx(gG, { id: D, children: c ? rQ : nQ }),
|
|
30280
30280
|
n.map((B, v) => {
|
|
30281
|
-
const y = AP(B, v),
|
|
30282
|
-
return /* @__PURE__ */ a.jsxs(CG, { "data-section": "task-row", "data-pending": j, title:
|
|
30281
|
+
const y = AP(B, v), I = dP(B), L = lf(B), j = F === y || F === RA;
|
|
30282
|
+
return /* @__PURE__ */ a.jsxs(CG, { "data-section": "task-row", "data-pending": j, title: I, children: [
|
|
30283
30283
|
/* @__PURE__ */ a.jsx(
|
|
30284
30284
|
FG,
|
|
30285
30285
|
{
|
|
30286
30286
|
type: "checkbox",
|
|
30287
30287
|
checked: L,
|
|
30288
30288
|
disabled: j,
|
|
30289
|
-
"aria-label": aQ.replace(":taskName",
|
|
30289
|
+
"aria-label": aQ.replace(":taskName", I),
|
|
30290
30290
|
onChange: () => d([B], !L, y)
|
|
30291
30291
|
}
|
|
30292
30292
|
),
|
|
30293
30293
|
/* @__PURE__ */ a.jsx(mG, { "aria-hidden": !0, children: c ? /* @__PURE__ */ a.jsx("i", { children: /* @__PURE__ */ a.jsx(vG, {}) }) : /* @__PURE__ */ a.jsx(xG, {}) }),
|
|
30294
|
-
/* @__PURE__ */ a.jsx(EG, { children:
|
|
30294
|
+
/* @__PURE__ */ a.jsx(EG, { children: I })
|
|
30295
30295
|
] }, y);
|
|
30296
30296
|
})
|
|
30297
30297
|
] }),
|
|
@@ -30478,7 +30478,7 @@ const fG = w(U)`
|
|
|
30478
30478
|
search_keyword: l
|
|
30479
30479
|
});
|
|
30480
30480
|
}, {
|
|
30481
|
-
mutate:
|
|
30481
|
+
mutate: I,
|
|
30482
30482
|
data: L,
|
|
30483
30483
|
isPending: j,
|
|
30484
30484
|
isIdle: k,
|
|
@@ -30570,7 +30570,7 @@ const fG = w(U)`
|
|
|
30570
30570
|
searchText: l,
|
|
30571
30571
|
connectorName: i,
|
|
30572
30572
|
options: u,
|
|
30573
|
-
onSearch:
|
|
30573
|
+
onSearch: I
|
|
30574
30574
|
}
|
|
30575
30575
|
) }, "search-options"),
|
|
30576
30576
|
/* @__PURE__ */ a.jsx(No, { condition: !!l && !k, children: /* @__PURE__ */ a.jsx(
|
|
@@ -31796,12 +31796,12 @@ const gV = w("div")`
|
|
|
31796
31796
|
[]
|
|
31797
31797
|
);
|
|
31798
31798
|
if (!t || !u || !i) return null;
|
|
31799
|
-
const v = Hh(i), y = i.messageLogStatus,
|
|
31799
|
+
const v = Hh(i), y = i.messageLogStatus, I = v === Me.UNAUTHENTICATED, L = (O) => O.stopPropagation(), j = () => {
|
|
31800
31800
|
A.current && (window.clearTimeout(A.current), A.current = null);
|
|
31801
31801
|
}, k = () => {
|
|
31802
31802
|
j(), A.current = window.setTimeout(() => C(!1), 150);
|
|
31803
31803
|
}, T = () => {
|
|
31804
|
-
|
|
31804
|
+
I && (j(), C(!0));
|
|
31805
31805
|
};
|
|
31806
31806
|
return /* @__PURE__ */ a.jsxs(
|
|
31807
31807
|
cV,
|
|
@@ -31810,7 +31810,7 @@ const gV = w("div")`
|
|
|
31810
31810
|
onClick: L,
|
|
31811
31811
|
onMouseDown: L,
|
|
31812
31812
|
onMouseEnter: T,
|
|
31813
|
-
onMouseLeave:
|
|
31813
|
+
onMouseLeave: I ? k : void 0,
|
|
31814
31814
|
children: [
|
|
31815
31815
|
/* @__PURE__ */ a.jsx(
|
|
31816
31816
|
BV,
|
|
@@ -31820,11 +31820,11 @@ const gV = w("div")`
|
|
|
31820
31820
|
totalCount: (y == null ? void 0 : y.total) ?? 0,
|
|
31821
31821
|
isRetrying: E,
|
|
31822
31822
|
perTask: !!i.perTaskLogging,
|
|
31823
|
-
onClick: () =>
|
|
31823
|
+
onClick: () => I ? T() : l((O) => !O),
|
|
31824
31824
|
onRetry: b
|
|
31825
31825
|
}
|
|
31826
31826
|
),
|
|
31827
|
-
D &&
|
|
31827
|
+
D && I ? jr(
|
|
31828
31828
|
/* @__PURE__ */ a.jsx(
|
|
31829
31829
|
"div",
|
|
31830
31830
|
{
|
|
@@ -32675,8 +32675,8 @@ function sg({
|
|
|
32675
32675
|
const j = new Set(L.map(n));
|
|
32676
32676
|
return [...t(y).filter((T) => !j.has(n(T))), ...L];
|
|
32677
32677
|
});
|
|
32678
|
-
const
|
|
32679
|
-
D(y.isTrimmed ?
|
|
32678
|
+
const I = y.nextCursor && y.nextCursor !== E ? y.nextCursor : null;
|
|
32679
|
+
D(y.isTrimmed ? I : null), requestAnimationFrame(() => {
|
|
32680
32680
|
const L = u.current;
|
|
32681
32681
|
L && (L.scrollTop = v + (L.scrollHeight - B));
|
|
32682
32682
|
}), s == null || s();
|
|
@@ -36256,7 +36256,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
36256
36256
|
const { hiverConvId: c, boxedMessages: l } = ar(), D = _D(), C = $(
|
|
36257
36257
|
() => hg(df(e.text), t, n),
|
|
36258
36258
|
[e.text, t, n]
|
|
36259
|
-
), F = !!e.deletedAt || e.subtype === "tombstone", p = !!e.editedAt && !F, A = !!e.isPending, d = A ? 0.55 : 1, h = e.reactions ?? [], m = e.author.name || e.author.externalUserId, g = l && e.author.isSelf ? "You" : `${m}${!l && e.author.isSelf ? " (You)" : ""}`, E = Wt(), b = Si(), [B, v] = P(!1), [y,
|
|
36259
|
+
), F = !!e.deletedAt || e.subtype === "tombstone", p = !!e.editedAt && !F, A = !!e.isPending, d = A ? 0.55 : 1, h = e.reactions ?? [], m = e.author.name || e.author.externalUserId, g = l && e.author.isSelf ? "You" : `${m}${!l && e.author.isSelf ? " (You)" : ""}`, E = Wt(), b = Si(), [B, v] = P(!1), [y, I] = P(!1), L = e.author.isSelf && !F && !A, [j, k] = P(!1), [T, O] = P(!1), N = se(null), M = l ? 3 : 5;
|
|
36260
36260
|
to(() => {
|
|
36261
36261
|
if (!i || j) return;
|
|
36262
36262
|
const X = N.current;
|
|
@@ -36264,7 +36264,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
36264
36264
|
}, [i, j, C]);
|
|
36265
36265
|
const z = async () => {
|
|
36266
36266
|
if (!y) {
|
|
36267
|
-
|
|
36267
|
+
I(!0);
|
|
36268
36268
|
try {
|
|
36269
36269
|
await yz(e.externalMessageId, c, D), v(!1), await E.invalidateQueries({
|
|
36270
36270
|
predicate: (X) => X.queryKey.includes("slack") && X.queryKey.includes(c)
|
|
@@ -36272,7 +36272,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
36272
36272
|
} catch (X) {
|
|
36273
36273
|
pu(X) && b();
|
|
36274
36274
|
} finally {
|
|
36275
|
-
|
|
36275
|
+
I(!1);
|
|
36276
36276
|
}
|
|
36277
36277
|
}
|
|
36278
36278
|
};
|
|
@@ -36454,9 +36454,9 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
36454
36454
|
let n = e;
|
|
36455
36455
|
for (const r of t) n = n.replace(r.displayText, `<@${r.externalUserId}>`);
|
|
36456
36456
|
return n;
|
|
36457
|
-
}, IX = [8203, 8204, 8205, 8288, 65279, 160], SX = new RegExp(`[${IX.map((e) => String.fromCodePoint(e)).join("")}]`, "g"), Is = (e) => e.replace(SX, "").trim().length > 0, kX = (e) => /* @__PURE__ */
|
|
36457
|
+
}, IX = [8203, 8204, 8205, 8288, 65279, 160], SX = new RegExp(`[${IX.map((e) => String.fromCodePoint(e)).join("")}]`, "g"), Is = (e) => e.replace(SX, "").trim().length > 0, kX = (e) => /* @__PURE__ */ S.createElement("svg", { preserveAspectRatio: "none", width: "100%", height: "100%", overflow: "visible", style: {
|
|
36458
36458
|
display: "block"
|
|
36459
|
-
}, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */
|
|
36459
|
+
}, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("g", { id: "Frame", clipPath: "url(#clip0_0_32)" }, /* @__PURE__ */ S.createElement("path", { id: "Vector", d: "M5.33301 9.33398C5.33301 9.33398 6.33301 10.6673 7.99967 10.6673C9.66634 10.6673 10.6663 9.33398 10.6663 9.33398M9.99967 6.00065H10.0063M5.99967 6.00065H6.00634M14.6663 8.00065C14.6663 11.6825 11.6815 14.6673 7.99967 14.6673C4.31777 14.6673 1.33301 11.6825 1.33301 8.00065C1.33301 4.31875 4.31777 1.33398 7.99967 1.33398C11.6815 1.33398 14.6663 4.31875 14.6663 8.00065ZM10.333 6.00065C10.333 6.18474 10.1837 6.33398 9.99967 6.33398C9.81561 6.33398 9.66634 6.18474 9.66634 6.00065C9.66634 5.81656 9.81561 5.66732 9.99967 5.66732C10.1837 5.66732 10.333 5.81656 10.333 6.00065ZM6.33301 6.00065C6.33301 6.18474 6.18377 6.33398 5.99967 6.33398C5.81558 6.33398 5.66634 6.18474 5.66634 6.00065C5.66634 5.81656 5.81558 5.66732 5.99967 5.66732C6.18377 5.66732 6.33301 5.81656 6.33301 6.00065Z", stroke: "var(--connector-neutral-icon, #5C5C5C)", strokeWidth: 1.4, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("clipPath", { id: "clip0_0_32" }, /* @__PURE__ */ S.createElement("rect", { width: 16, height: 16, fill: "white" })))), xg = ({
|
|
36460
36460
|
anchor: e,
|
|
36461
36461
|
query: t,
|
|
36462
36462
|
members: n,
|
|
@@ -36626,7 +36626,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
36626
36626
|
linkType: i,
|
|
36627
36627
|
disabled: s
|
|
36628
36628
|
}) => {
|
|
36629
|
-
const { hiverConvId: f, sendTrackingEvent: c, openEmojiPicker: l, boxedMessages: D } = ar(), C = _D(), F = r || D ? 2 : 4, p = r || D ? 40 : 80, A = Si(), d = Wt(), [h, m] = P(""), [g, E] = P(!1), [b, B] = P([]), [v, y] = P(null), [
|
|
36629
|
+
const { hiverConvId: f, sendTrackingEvent: c, openEmojiPicker: l, boxedMessages: D } = ar(), C = _D(), F = r || D ? 2 : 4, p = r || D ? 40 : 80, A = Si(), d = Wt(), [h, m] = P(""), [g, E] = P(!1), [b, B] = P([]), [v, y] = P(null), [I, L] = P(null), [j, k] = P(""), [T, O] = P(0), N = se(null), M = se(null), z = se(null), [Z, X] = P([]), G = se(null), q = Is(h) && !g && !s, J = $(() => HD(Z, j), [Z, j]);
|
|
36630
36630
|
re(() => {
|
|
36631
36631
|
O(0);
|
|
36632
36632
|
}, [j, Z.length]);
|
|
@@ -36661,7 +36661,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
36661
36661
|
}
|
|
36662
36662
|
}
|
|
36663
36663
|
}, he = (le) => {
|
|
36664
|
-
if (
|
|
36664
|
+
if (I) {
|
|
36665
36665
|
if (le.key === "Escape") {
|
|
36666
36666
|
le.preventDefault(), W();
|
|
36667
36667
|
return;
|
|
@@ -36963,7 +36963,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
36963
36963
|
/* @__PURE__ */ a.jsx(
|
|
36964
36964
|
xg,
|
|
36965
36965
|
{
|
|
36966
|
-
anchor:
|
|
36966
|
+
anchor: I,
|
|
36967
36967
|
query: j,
|
|
36968
36968
|
members: Z,
|
|
36969
36969
|
highlightIdx: T,
|
|
@@ -37396,7 +37396,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
37396
37396
|
N && M.delete(N);
|
|
37397
37397
|
const z = Array.from(M.values()).sort((G, q) => Number(G.postedAt) - Number(q.postedAt));
|
|
37398
37398
|
return MD(z);
|
|
37399
|
-
}, [C.data, m]), y = !!((T = C.data) != null && T.root.deletedAt) || ((O = C.data) == null ? void 0 : O.root.subtype) === "tombstone",
|
|
37399
|
+
}, [C.data, m]), y = !!((T = C.data) != null && T.root.deletedAt) || ((O = C.data) == null ? void 0 : O.root.subtype) === "tombstone", I = (N) => {
|
|
37400
37400
|
N.currentTarget.scrollTop <= 64 && B && g();
|
|
37401
37401
|
};
|
|
37402
37402
|
return /* @__PURE__ */ a.jsxs(Fg, { isBoxed: !!c, children: [
|
|
@@ -37442,7 +37442,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
37442
37442
|
]
|
|
37443
37443
|
}
|
|
37444
37444
|
) }),
|
|
37445
|
-
/* @__PURE__ */ a.jsx(ws, { ref: A, onScroll:
|
|
37445
|
+
/* @__PURE__ */ a.jsx(ws, { ref: A, onScroll: I, boxed: c, children: C.isLoading ? /* @__PURE__ */ a.jsx(WX, { boxed: c }) : C.data ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
37446
37446
|
/* @__PURE__ */ a.jsx(ou, { message: C.data.root, memberNames: p, mentionsResolving: n }),
|
|
37447
37447
|
(B || E || b) && /* @__PURE__ */ a.jsx(ul, { isLoading: E, error: b, onLoad: g }),
|
|
37448
37448
|
v.length > 0 && /* @__PURE__ */ a.jsx(Eg, { children: v.map(
|
|
@@ -37516,15 +37516,15 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
37516
37516
|
}, [d, m]), E = $(() => {
|
|
37517
37517
|
var be;
|
|
37518
37518
|
return ((be = D.data) == null ? void 0 : be.threads) ?? [];
|
|
37519
|
-
}, [(Pt = D.data) == null ? void 0 : Pt.threads]), b = ((ge = D.data) == null ? void 0 : ge.targetKind) === "channel" || E.length > 0, [B, v] = P(null), y = ((Xe = D.data) == null ? void 0 : Xe.viewerPostBlockReason) ?? null,
|
|
37519
|
+
}, [(Pt = D.data) == null ? void 0 : Pt.threads]), b = ((ge = D.data) == null ? void 0 : ge.targetKind) === "channel" || E.length > 0, [B, v] = P(null), y = ((Xe = D.data) == null ? void 0 : Xe.viewerPostBlockReason) ?? null, I = C || y === "not_in_channel", L = y === "channel_unavailable", j = y === "no_access", k = !I && !L && !j && y === "slack_not_connected";
|
|
37520
37520
|
re(() => {
|
|
37521
37521
|
k && p();
|
|
37522
37522
|
}, [k, p]);
|
|
37523
|
-
const T = L ? "channel_unavailable" : j ? "no_access" : null, O = !
|
|
37523
|
+
const T = L ? "channel_unavailable" : j ? "no_access" : null, O = !I && !k && !T, N = () => {
|
|
37524
37524
|
var Ke;
|
|
37525
37525
|
if (k) return /* @__PURE__ */ a.jsx(UX, {});
|
|
37526
37526
|
const be = b ? "channel" : "thread", Oe = (Ke = D.data) == null ? void 0 : Ke.channelName, pt = Oe ? `Message #${Oe}` : void 0;
|
|
37527
|
-
return
|
|
37527
|
+
return I ? /* @__PURE__ */ a.jsx(vg, { children: /* @__PURE__ */ a.jsx("span", { style: { display: "block" }, children: /* @__PURE__ */ a.jsx(za, { disabled: !0, linkType: be, placeholder: pt }) }) }) : T ? /* @__PURE__ */ a.jsx(za, { disabled: !0, linkType: be, placeholder: pt }) : /* @__PURE__ */ a.jsx(za, { guard: F, linkType: be, placeholder: pt });
|
|
37528
37528
|
}, { parent: M, pageZeroReplies: z } = $(() => {
|
|
37529
37529
|
var Ke;
|
|
37530
37530
|
const be = ((Ke = D.data) == null ? void 0 : Ke.messages) ?? [];
|
|
@@ -37715,7 +37715,7 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
37715
37715
|
threadTs: B,
|
|
37716
37716
|
memberNames: g,
|
|
37717
37717
|
mentionsResolving: h,
|
|
37718
|
-
hasLeftChannel:
|
|
37718
|
+
hasLeftChannel: I,
|
|
37719
37719
|
guard: F,
|
|
37720
37720
|
onBack: () => v(null)
|
|
37721
37721
|
}
|
|
@@ -37801,9 +37801,9 @@ const df = (e) => QD.replace_colons(e), i2 = /<([^<>]+)>/g, rX = /^(https?:|mail
|
|
|
37801
37801
|
if (!u) return null;
|
|
37802
37802
|
const i = t.searchParams.get("thread_ts") || u;
|
|
37803
37803
|
return { channelId: (t.searchParams.get("cid") || r).toUpperCase(), threadTs: i };
|
|
37804
|
-
}, Bg = () => ar().tenant === "hig" ? "hig" : "omni", Ti = (e) => /* @__PURE__ */
|
|
37804
|
+
}, Bg = () => ar().tenant === "hig" ? "hig" : "omni", Ti = (e) => /* @__PURE__ */ S.createElement("svg", { preserveAspectRatio: "none", width: "100%", height: "100%", overflow: "visible", style: {
|
|
37805
37805
|
display: "block"
|
|
37806
|
-
}, viewBox: "0 0 8.1 8.1", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */
|
|
37806
|
+
}, viewBox: "0 0 8.1 8.1", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { id: "Vector", d: "M7.55 0.55L0.55 7.55M0.55 0.55L7.55 7.55", stroke: "currentColor", strokeWidth: 1.1, strokeLinecap: "round", strokeLinejoin: "round" })), Xa = ({ variant: e }) => e === "thread" ? /* @__PURE__ */ a.jsx("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", style: { flex: "none" }, "aria-hidden": "true", children: /* @__PURE__ */ a.jsx(
|
|
37807
37807
|
"path",
|
|
37808
37808
|
{
|
|
37809
37809
|
d: "M1.75 4.55C1.75 3.56991 1.75 3.07986 1.94074 2.70552C2.10852 2.37623 2.37623 2.10852 2.70552 1.94074C3.07986 1.75 3.56991 1.75 4.55 1.75H9.45C10.4301 1.75 10.9201 1.75 11.2945 1.94074C11.6238 2.10852 11.8915 2.37623 12.0592 2.70552C12.25 3.07986 12.25 3.56991 12.25 4.55V7.7C12.25 8.68012 12.25 9.17012 12.0592 9.5445C11.8915 9.87379 11.6238 10.1415 11.2945 10.3092C10.9201 10.5 10.4301 10.5 9.45 10.5H5.64885C5.28482 10.5 5.10281 10.5 4.92871 10.5358C4.77425 10.5674 4.62478 10.6199 4.48437 10.6916C4.3261 10.7725 4.18397 10.8862 3.89971 11.1135L2.50819 12.2268C2.26547 12.421 2.14412 12.518 2.04198 12.5182C1.95316 12.5183 1.86913 12.4779 1.81372 12.4084C1.75 12.3286 1.75 12.1732 1.75 11.8624V4.55Z",
|
|
@@ -38282,7 +38282,7 @@ const Eu = () => {
|
|
|
38282
38282
|
background-color: ${x.color.slateSurfaceDisabled};
|
|
38283
38283
|
color: ${x.color.slateTextDisabled};
|
|
38284
38284
|
}
|
|
38285
|
-
`, oZ = (e) => /* @__PURE__ */
|
|
38285
|
+
`, oZ = (e) => /* @__PURE__ */ S.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("circle", { cx: 7, cy: 7, r: 5.25, stroke: "currentColor", strokeWidth: 1.3 }), /* @__PURE__ */ S.createElement("path", { d: "M14 14L11 11", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round" })), uZ = ({ value: e, onChange: t }) => {
|
|
38286
38286
|
var h, m;
|
|
38287
38287
|
const n = wg(), r = (h = n.data) == null ? void 0 : h.channels, o = $(() => r ?? [], [r]), u = n.isLoading, i = ((m = n.data) == null ? void 0 : m.warmState) === "warming", [s, f] = P(""), [c, l] = P(!1), D = $(() => {
|
|
38288
38288
|
const g = s.trim().toLowerCase();
|
|
@@ -38565,12 +38565,12 @@ const Eu = () => {
|
|
|
38565
38565
|
slack_api_error: "Slack rejected that link. Check it and try again.",
|
|
38566
38566
|
workspace_connector_missing: "Slack isn’t set up for this mailbox. Contact your admin."
|
|
38567
38567
|
}, pf = ({ open: e, onClose: t, onLinked: n, linkedCount: r }) => {
|
|
38568
|
-
const { hiverConvId: o, sendTrackingEvent: u } = ar(), s = Bg() === "hig", f = Si(), c = Wt(), [l, D] = P("thread"), [C, F] = P(!1), [p, A] = P(null), [d, h] = P(""), [m, g] = P(!1), [E, b] = P(null), [B, v] = P(null), [y,
|
|
38569
|
-
D("thread"), h(""), v(null),
|
|
38568
|
+
const { hiverConvId: o, sendTrackingEvent: u } = ar(), s = Bg() === "hig", f = Si(), c = Wt(), [l, D] = P("thread"), [C, F] = P(!1), [p, A] = P(null), [d, h] = P(""), [m, g] = P(!1), [E, b] = P(null), [B, v] = P(null), [y, I] = P(null), [L, j] = P(null), k = ie(() => {
|
|
38569
|
+
D("thread"), h(""), v(null), I(null), b(null), g(!1), j(null), A(null), F(!1);
|
|
38570
38570
|
}, []), T = ie(() => {
|
|
38571
38571
|
k(), t();
|
|
38572
38572
|
}, [k, t]), O = (G) => {
|
|
38573
|
-
h(G), v(null),
|
|
38573
|
+
h(G), v(null), I(null), b(null), A(null);
|
|
38574
38574
|
}, N = async () => {
|
|
38575
38575
|
if (!m) {
|
|
38576
38576
|
if (!JX(d)) {
|
|
@@ -38584,7 +38584,7 @@ const Eu = () => {
|
|
|
38584
38584
|
b("You don’t have access to that Slack conversation, so it can’t be linked.");
|
|
38585
38585
|
return;
|
|
38586
38586
|
}
|
|
38587
|
-
v(G),
|
|
38587
|
+
v(G), I({ channelId: G.channelId, threadTs: G.threadTs });
|
|
38588
38588
|
} catch (G) {
|
|
38589
38589
|
if (pu(G)) {
|
|
38590
38590
|
f();
|
|
@@ -39274,13 +39274,13 @@ const m2 = ({ user: e, size: t }) => /* @__PURE__ */ a.jsx(
|
|
|
39274
39274
|
(B, v) => t(B, bg(B, v)),
|
|
39275
39275
|
[t]
|
|
39276
39276
|
), g = (B) => {
|
|
39277
|
-
const v = B.target.value, y = o.filter((
|
|
39277
|
+
const v = B.target.value, y = o.filter((I) => v.includes(I.displayText));
|
|
39278
39278
|
if (u(y), m(v, y), C.current !== null) {
|
|
39279
|
-
const
|
|
39280
|
-
if (
|
|
39279
|
+
const I = C.current, L = B.target.selectionStart;
|
|
39280
|
+
if (I >= L || v[I] !== "@")
|
|
39281
39281
|
h();
|
|
39282
39282
|
else {
|
|
39283
|
-
const j = v.slice(
|
|
39283
|
+
const j = v.slice(I + 1, L);
|
|
39284
39284
|
/\s/.test(j) ? h() : c(j);
|
|
39285
39285
|
}
|
|
39286
39286
|
}
|
|
@@ -39292,12 +39292,12 @@ const m2 = ({ user: e, size: t }) => /* @__PURE__ */ a.jsx(
|
|
|
39292
39292
|
h();
|
|
39293
39293
|
return;
|
|
39294
39294
|
}
|
|
39295
|
-
const
|
|
39295
|
+
const I = e.slice(0, v), L = e.slice(y), j = `@${B.name}`, k = `${I}${j} ${L}`, T = [...o, { displayText: j, externalUserId: B.externalUserId }];
|
|
39296
39296
|
u(T), m(k, T), h(), requestAnimationFrame(() => {
|
|
39297
39297
|
const N = F.current;
|
|
39298
39298
|
if (N) {
|
|
39299
39299
|
N.focus();
|
|
39300
|
-
const M = (
|
|
39300
|
+
const M = (I + j + " ").length;
|
|
39301
39301
|
N.setSelectionRange(M, M);
|
|
39302
39302
|
}
|
|
39303
39303
|
});
|
|
@@ -39358,7 +39358,7 @@ const m2 = ({ user: e, size: t }) => /* @__PURE__ */ a.jsx(
|
|
|
39358
39358
|
}
|
|
39359
39359
|
)
|
|
39360
39360
|
] });
|
|
39361
|
-
}, Wg = (e) => /* @__PURE__ */
|
|
39361
|
+
}, Wg = (e) => /* @__PURE__ */ S.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
39362
39362
|
function vZ({ value: e, options: t, onChange: n }) {
|
|
39363
39363
|
var l;
|
|
39364
39364
|
const r = se(null), [o, u] = P(!1), i = t.find((D) => D.value === e), s = Eu(), f = s ? qe.chevronSize : 16, c = () => u(!1);
|
|
@@ -39547,7 +39547,7 @@ const yZ = (e) => e.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, "
|
|
|
39547
39547
|
ae !== d && (h(ae), D == null || D(Vb, {
|
|
39548
39548
|
option: ae === "thread" ? "existing_channel" : "new_channel"
|
|
39549
39549
|
}));
|
|
39550
|
-
}, [b, B] = P(null), [v, y] = P(""), [
|
|
39550
|
+
}, [b, B] = P(null), [v, y] = P(""), [I, L] = P(""), [j, k] = P({
|
|
39551
39551
|
channelName: "",
|
|
39552
39552
|
channelType: "private",
|
|
39553
39553
|
members: [],
|
|
@@ -39586,7 +39586,7 @@ const yZ = (e) => e.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, "
|
|
|
39586
39586
|
hiverConvId: u,
|
|
39587
39587
|
channelId: b,
|
|
39588
39588
|
// Post the Slack-mention form so picked @names actually notify.
|
|
39589
|
-
messageText:
|
|
39589
|
+
messageText: I || v
|
|
39590
39590
|
});
|
|
39591
39591
|
D == null || D(gp, {
|
|
39592
39592
|
via: "start_flow",
|
|
@@ -39721,12 +39721,12 @@ const yZ = (e) => e.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, "
|
|
|
39721
39721
|
i ? void 0 : 0
|
|
39722
39722
|
), E = RD(t, m && !!f, i ? void 0 : 0), b = ((ne = E.data) == null ? void 0 : ne.links) ?? [], B = se(c), v = se(0);
|
|
39723
39723
|
B.current !== c && (B.current = c, v.current = Date.now());
|
|
39724
|
-
const y = E.dataUpdatedAt > v.current, [
|
|
39724
|
+
const y = E.dataUpdatedAt > v.current, [I, L] = P(null), j = se(0), k = ie((ue) => {
|
|
39725
39725
|
j.current = Date.now(), L(ue);
|
|
39726
39726
|
}, []);
|
|
39727
39727
|
re(() => {
|
|
39728
|
-
!f || c || !
|
|
39729
|
-
}, [f, c,
|
|
39728
|
+
!f || c || !I || !E.data || E.dataUpdatedAt <= j.current || E.data.links.some((ue) => ue.id === I) || L(null);
|
|
39729
|
+
}, [f, c, I, E.data, E.dataUpdatedAt]);
|
|
39730
39730
|
const T = (ue) => {
|
|
39731
39731
|
if (l) {
|
|
39732
39732
|
const Ee = ue.find((ye) => String(ye.id) === String(l));
|
|
@@ -39761,7 +39761,7 @@ const yZ = (e) => e.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, "
|
|
|
39761
39761
|
p,
|
|
39762
39762
|
k
|
|
39763
39763
|
]);
|
|
39764
|
-
const N = c ??
|
|
39764
|
+
const N = c ?? I, M = N ? b.find((ue) => ue.id === N) ?? null : null;
|
|
39765
39765
|
pz({
|
|
39766
39766
|
hiverConvId: t,
|
|
39767
39767
|
linkId: f && i ? N : null,
|
|
@@ -39831,10 +39831,10 @@ const yZ = (e) => e.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, "
|
|
|
39831
39831
|
return E.data && y && !b.some((ue) => ue.id === c) ? /* @__PURE__ */ a.jsx(qn, { children: /* @__PURE__ */ a.jsx(Iu, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: x.color.slateTextBody, maxWidth: 320 }, children: "This Slack conversation is no longer linked." }) }) }) : /* @__PURE__ */ a.jsx(qn, { children: /* @__PURE__ */ a.jsx(x0, { linkId: c }) });
|
|
39832
39832
|
if (E.data && b.length > 0)
|
|
39833
39833
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
39834
|
-
/* @__PURE__ */ a.jsx(qn, { children:
|
|
39834
|
+
/* @__PURE__ */ a.jsx(qn, { children: I ? /* @__PURE__ */ a.jsx(
|
|
39835
39835
|
x0,
|
|
39836
39836
|
{
|
|
39837
|
-
linkId:
|
|
39837
|
+
linkId: I,
|
|
39838
39838
|
onBack: () => L(null),
|
|
39839
39839
|
onUnlinked: () => L(null)
|
|
39840
39840
|
}
|
|
@@ -40395,7 +40395,7 @@ const yZ = (e) => e.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, "
|
|
|
40395
40395
|
}), Object.entries(B ?? {}).forEach(([le, K]) => {
|
|
40396
40396
|
K && !ve.has(le) && ve.set(le, K);
|
|
40397
40397
|
}), ve;
|
|
40398
|
-
}, [E, B]), [y,
|
|
40398
|
+
}, [E, B]), [y, I] = P(!0), [L, j] = P(!1), [k, T] = P(!1), O = p === "in_progress", N = ie(() => {
|
|
40399
40399
|
const ve = p === "reauth_required" || p === "workspace_mismatch";
|
|
40400
40400
|
F.current = ve, f == null || f(Il, { is_reauth: ve }), A();
|
|
40401
40401
|
}, [A, f, p]), M = ie(() => {
|
|
@@ -40526,7 +40526,7 @@ const yZ = (e) => e.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, "
|
|
|
40526
40526
|
W(),
|
|
40527
40527
|
ae
|
|
40528
40528
|
] }) : /* @__PURE__ */ a.jsxs(_Z, { children: [
|
|
40529
|
-
/* @__PURE__ */ a.jsxs(MZ, { role: "button", tabIndex: 0, onClick: () =>
|
|
40529
|
+
/* @__PURE__ */ a.jsxs(MZ, { role: "button", tabIndex: 0, onClick: () => I((ve) => !ve), children: [
|
|
40530
40530
|
/* @__PURE__ */ a.jsxs(PZ, { children: [
|
|
40531
40531
|
/* @__PURE__ */ a.jsx(E2, { size: 20 }),
|
|
40532
40532
|
/* @__PURE__ */ a.jsx(QZ, { children: "Slack" }),
|
|
@@ -40994,14 +40994,14 @@ const jK = (e) => Ie({
|
|
|
40994
40994
|
return "";
|
|
40995
40995
|
}, tC = /^Your connection to .+ has expired\./, HJ = (e) => e.some(
|
|
40996
40996
|
({ data: t, errorStatus: n }) => n === wJ || !!(t != null && t.redirectToAdminTab) || tC.test((t == null ? void 0 : t.cardErrorMessage) ?? "")
|
|
40997
|
-
), UJ = (e, t) => t === BJ || t === Kg || !!(e != null && e.cardErrorMessage) && !tC.test((e == null ? void 0 : e.cardErrorMessage) ?? "") || cD(e), WJ = 2, nC = (e, t, n = !0) => {
|
|
40998
|
-
const
|
|
40997
|
+
), UJ = (e, t) => t === BJ || t === Kg || !!(e != null && e.cardErrorMessage) && !tC.test((e == null ? void 0 : e.cardErrorMessage) ?? "") || cD(e), WJ = 2, nC = (e, t, n = !0, r = !1) => {
|
|
40998
|
+
const o = NJ(RJ(e, t)), u = o.filter((l) => l.linked), i = o.filter((l) => !l.linked), s = [...MJ(e, u), ..._J(e, i)], f = e.uncounted ?? [], c = u.length + i.filter((l) => !f.includes(l.record)).length;
|
|
40999
40999
|
return {
|
|
41000
41000
|
category: e.category,
|
|
41001
|
-
summary: QJ(e,
|
|
41002
|
-
records:
|
|
41003
|
-
total:
|
|
41004
|
-
connection: HJ(t) ? "expired" : "ok",
|
|
41001
|
+
summary: QJ(e, o),
|
|
41002
|
+
records: s.slice(0, WJ).map(GJ),
|
|
41003
|
+
total: c,
|
|
41004
|
+
connection: r || HJ(t) ? "expired" : "ok",
|
|
41005
41005
|
available: n
|
|
41006
41006
|
};
|
|
41007
41007
|
}, GJ = (e) => ({
|
|
@@ -41014,27 +41014,32 @@ const jK = (e) => Ie({
|
|
|
41014
41014
|
externalResourceId: e.externalResourceId,
|
|
41015
41015
|
linked: e.linked,
|
|
41016
41016
|
restricted: e.restricted
|
|
41017
|
-
}), VJ = /* @__PURE__ */ new Set(["create", "link", "search_and_link"]), zJ = async ({
|
|
41017
|
+
}), VJ = /* @__PURE__ */ new Set(["create", "link", "search_and_link"]), zJ = async ({
|
|
41018
|
+
connectorId: e,
|
|
41019
|
+
conversationId: t,
|
|
41020
|
+
inboxIds: n
|
|
41021
|
+
}) => {
|
|
41018
41022
|
var r;
|
|
41019
41023
|
try {
|
|
41020
41024
|
const o = await l6({ inboxIds: n, channelType: "email", conversationId: t, connectorId: e }), u = (r = o == null ? void 0 : o.data) == null ? void 0 : r.formsList;
|
|
41021
|
-
|
|
41022
|
-
|
|
41023
|
-
|
|
41025
|
+
if (!Array.isArray(u)) return { hasForms: !0, unauthenticated: !1 };
|
|
41026
|
+
const i = u.filter((s) => !s.connectorId || s.connectorId === e);
|
|
41027
|
+
return {
|
|
41028
|
+
hasForms: i.some((s) => VJ.has(String(s.type))),
|
|
41029
|
+
unauthenticated: i.length > 0 && i.every((s) => s.authenticated === !1)
|
|
41030
|
+
};
|
|
41024
41031
|
} catch {
|
|
41025
|
-
return !0;
|
|
41032
|
+
return { hasForms: !0, unauthenticated: !1 };
|
|
41026
41033
|
}
|
|
41027
41034
|
}, rC = async (e, t) => {
|
|
41028
|
-
var
|
|
41029
|
-
const { connectorId: n, conversationId: r, inboxIds: o } = t, u = await w6({ inboxIds: o, conversationId: r, connectorId: n }), i = (
|
|
41035
|
+
var l;
|
|
41036
|
+
const { connectorId: n, conversationId: r, inboxIds: o } = t, u = await w6({ inboxIds: o, conversationId: r, connectorId: n }), i = (l = u == null ? void 0 : u.data) == null ? void 0 : l.cards, s = Array.isArray(i) ? i.filter((D) => D.connectorId === n) : [], f = s.filter(
|
|
41037
|
+
(D) => !!e.cards[D.id] && (!e.linkedOnly || !!D.externalResourceId)
|
|
41038
|
+
), c = e.availableViaForms && f.length === 0 ? await zJ(t) : null;
|
|
41030
41039
|
return {
|
|
41031
|
-
|
|
41032
|
-
|
|
41033
|
-
|
|
41034
|
-
),
|
|
41035
|
-
// A template can let forms stand in for cards: a PM tool's link-only cards are left out until
|
|
41036
|
-
// something is linked. Otherwise an app with no cards has nothing to look up ("Enable Cards").
|
|
41037
|
-
available: s.length > 0 || !!e.availableViaForms && await zJ(t)
|
|
41040
|
+
cards: f,
|
|
41041
|
+
available: s.length > 0 || !!(c != null && c.hasForms),
|
|
41042
|
+
formsUnauthenticated: !!(c != null && c.unauthenticated)
|
|
41038
41043
|
};
|
|
41039
41044
|
}, oC = async (e, { conversationId: t, contactEmail: n, inboxIds: r }, o = !1) => {
|
|
41040
41045
|
var u;
|
|
@@ -41057,8 +41062,8 @@ const jK = (e) => Ie({
|
|
|
41057
41062
|
if (!e.conversationId) return null;
|
|
41058
41063
|
const n = await Jg(e.connectorId);
|
|
41059
41064
|
if (!n) return null;
|
|
41060
|
-
const { cards: r, available: o } = await rC(n, e),
|
|
41061
|
-
return nC(n,
|
|
41065
|
+
const { cards: r, available: o, formsUnauthenticated: u } = await rC(n, e), i = await Promise.all(r.map((s) => oC(s, e, t)));
|
|
41066
|
+
return nC(n, i, o, u);
|
|
41062
41067
|
}, XJ = 5e3, R2 = /* @__PURE__ */ new Map(), O2 = (e, t) => ["appWidget", e, t], uC = ({
|
|
41063
41068
|
connectorId: e,
|
|
41064
41069
|
connectorName: t,
|
|
@@ -41067,7 +41072,7 @@ const jK = (e) => Ie({
|
|
|
41067
41072
|
inboxIds: o,
|
|
41068
41073
|
enabled: u = !0
|
|
41069
41074
|
}) => {
|
|
41070
|
-
var
|
|
41075
|
+
var v, y;
|
|
41071
41076
|
const i = kt({
|
|
41072
41077
|
queryKey: ["appWidgetConfig", e],
|
|
41073
41078
|
enabled: u && !!e,
|
|
@@ -41078,27 +41083,28 @@ const jK = (e) => Ie({
|
|
|
41078
41083
|
enabled: f,
|
|
41079
41084
|
queryFn: () => s ? rC(s, C) : Promise.resolve({ cards: [], available: !1 })
|
|
41080
41085
|
}), p = $(() => {
|
|
41081
|
-
var
|
|
41082
|
-
return ((
|
|
41083
|
-
}, [F.data]), A = ((
|
|
41084
|
-
queries: p.map((
|
|
41085
|
-
queryKey: [...D, "card",
|
|
41086
|
+
var I;
|
|
41087
|
+
return ((I = F.data) == null ? void 0 : I.cards) ?? [];
|
|
41088
|
+
}, [F.data]), A = ((v = F.data) == null ? void 0 : v.available) ?? !0, d = !!((y = F.data) != null && y.formsUnauthenticated), h = gl({
|
|
41089
|
+
queries: p.map((I) => ({
|
|
41090
|
+
queryKey: [...D, "card", I.id, I.externalResourceId ?? "", r],
|
|
41086
41091
|
enabled: f,
|
|
41087
41092
|
retry: !1,
|
|
41088
|
-
queryFn: () => oC(
|
|
41093
|
+
queryFn: () => oC(I, C, Date.now() < (R2.get(l) ?? 0))
|
|
41089
41094
|
}))
|
|
41090
|
-
}),
|
|
41095
|
+
}), m = h.some((I) => I.isLoading), g = h.map((I) => I.data), E = h.map((I) => I.dataUpdatedAt).join(","), b = $(() => !s || F.isLoading || m ? null : nC(
|
|
41091
41096
|
s,
|
|
41092
|
-
|
|
41093
|
-
A
|
|
41094
|
-
|
|
41097
|
+
g.filter((I) => !!I),
|
|
41098
|
+
A,
|
|
41099
|
+
d
|
|
41100
|
+
), [s, F.isLoading, m, E, A, d]), B = ie(() => {
|
|
41095
41101
|
R2.set(l, Date.now() + XJ), c.invalidateQueries({ queryKey: O2(e, n) });
|
|
41096
41102
|
}, [c, l, e, n]);
|
|
41097
41103
|
return {
|
|
41098
41104
|
app: s,
|
|
41099
|
-
model:
|
|
41100
|
-
isLoading: u && i.isLoading || f && (F.isLoading ||
|
|
41101
|
-
refresh:
|
|
41105
|
+
model: b,
|
|
41106
|
+
isLoading: u && i.isLoading || f && (F.isLoading || m),
|
|
41107
|
+
refresh: B
|
|
41102
41108
|
};
|
|
41103
41109
|
}, aC = (e, t) => {
|
|
41104
41110
|
const [n, r] = P(!1);
|