@abyss-project/commons-front-core 16.0.0 → 16.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/{CookieConsentSettings-B7NfjgaI.js → CookieConsentSettings-DM0P2po1.js} +1 -1
- package/dist/{Surface-BEhoEhyC.js → Surface-DW78GtlG.js} +6 -0
- package/dist/{Tabs-DJ9_ZFjM.js → Tabs-DGh_2Lgc.js} +1 -1
- package/dist/components/data/DataTable/DataTableDesktop.d.ts +1 -1
- package/dist/components/data/DataTable/DataTableMobile.d.ts +1 -1
- package/dist/components/data/DataTable/data-table.types.d.ts +5 -0
- package/dist/components/editors/MarkdownEditor/MarkdownEditor.d.ts +22 -1
- package/dist/components/editors/MarkdownEditor/index.d.ts +1 -1
- package/dist/components/inputs/DropTargetOverlay/DropTargetOverlay.d.ts +12 -0
- package/dist/components/inputs/DropTargetOverlay/DropTargetOverlay.spec.d.ts +1 -0
- package/dist/components/inputs/index.d.ts +1 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/{design-theme-N9jJSXdK.js → design-theme-BNfby4u0.js} +95 -90
- package/dist/{editors-QM76tqZI.js → editors-CoA-ElkI.js} +6654 -6626
- package/dist/editors.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-file-drop-target.hook.d.ts +34 -0
- package/dist/hooks/use-rich-intl.hook.d.ts +38 -0
- package/dist/{index-DCk0q3d7.js → index--WDnqvkI.js} +3 -3
- package/dist/{index-COUUAr5G.js → index-9AhVX_o8.js} +1 -1
- package/dist/{index-3-SmpH5N.js → index-B4W3BpjI.js} +4 -4
- package/dist/{index-CQU0eEXk.js → index-BIX2oQnD.js} +4 -4
- package/dist/{index-mmrA4ErC.js → index-BNnh8uiO.js} +2 -2
- package/dist/{index-5OVR3WNo.js → index-BPIERrcr.js} +3 -3
- package/dist/{index-DmAoL9-1.js → index-BX4GOdlN.js} +4 -4
- package/dist/{index-D1M_muSg.js → index-BXY3SD83.js} +2 -2
- package/dist/{index-4b2f7sdW.js → index-C2MJfXbp.js} +2 -2
- package/dist/{index-BKAfoA1a.js → index-CMyVfh9D.js} +2 -2
- package/dist/{index-D8ncJrf1.js → index-CpJ_UF5V.js} +2 -2
- package/dist/{index-DYXAfA_s.js → index-DF-LePxe.js} +2 -2
- package/dist/{index-jZGexiyT.js → index-DJ4F-yGQ.js} +3 -3
- package/dist/{index-pX3CTxFd.js → index-DSRCuEE1.js} +2 -2
- package/dist/{index-C6jhogFt.js → index-DakS19sw.js} +2 -2
- package/dist/{index-Taee9VIc.js → index-Dgongfv-.js} +2 -2
- package/dist/{index-DA-HUFp6.js → index-Dl1yghiT.js} +2 -2
- package/dist/{index-Ce0rv5wr.js → index-MEKGvAmO.js} +3 -3
- package/dist/{index-nKbvjf2P.js → index-SJdLMrNS.js} +2 -2
- package/dist/{index-DW3SBSsW.js → index-ebpXyaXh.js} +2 -2
- package/dist/{index-CM5COMvb.js → index-jHXiCbzE.js} +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5657 -5426
- package/dist/legacy/theme/create-theme.d.ts +7 -1
- package/dist/legacy/theme/create-theme.spec.d.ts +1 -0
- package/dist/legacy.js +581 -571
- package/dist/motion/Appear.d.ts +25 -0
- package/dist/motion/AppearList.d.ts +31 -0
- package/dist/motion/index.d.ts +4 -0
- package/dist/motion/motion.d.ts +24 -0
- package/dist/motion/motion.spec.d.ts +1 -0
- package/dist/motion/use-added-keys.hook.d.ts +7 -0
- package/dist/motion/use-added-keys.hook.spec.d.ts +1 -0
- package/dist/theme/AbyssThemeProvider.d.ts +2 -1
- package/dist/theme/DesignCssVariables.d.ts +2 -1
- package/dist/theme/augmentation.d.ts +2 -1
- package/dist/theme/create-abyss-theme.d.ts +4 -1
- package/dist/theme/design-theme.d.ts +1 -1
- package/dist/theme/index.d.ts +2 -1
- package/dist/theme/reduced-motion.d.ts +7 -0
- package/dist/theme/reduced-motion.spec.d.ts +1 -0
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/fr.d.ts +3 -0
- package/package.json +3 -3
package/dist/legacy.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as t, jsxs as g, Fragment as xe } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme as J, alpha as c, DialogTitle as pn, Box as d, Typography as A, DialogContent as Et, DialogActions as un, Button as fe, Popover as Wt, Checkbox as fo, Tooltip as
|
|
2
|
+
import { useTheme as J, alpha as c, DialogTitle as pn, Box as d, Typography as A, DialogContent as Et, DialogActions as un, Button as fe, Popover as Wt, Checkbox as fo, Tooltip as we, CircularProgress as Ge, Collapse as St, Stack as de, Autocomplete as rt, TextField as Oe, InputAdornment as Ue, IconButton as ve, Card as vr, CardContent as Hr, Chip as Ae, Divider as Ne, Avatar as nt, Skeleton as rn, FormControl as Pi, InputLabel as Fi, Select as xo, MenuItem as ct, darken as _i, Dialog as bo, List as Tr, ListItemButton as mn, ListItemText as Lt, ButtonBase as Sr, useMediaQuery as Kt, LinearProgress as Ni, Badge as hn, TableContainer as Bi, Table as Hi, TableHead as ji, TableRow as jr, TableCell as Gr, TableBody as Gi, styled as Er, ClickAwayListener as _t, Popper as Ui, Grow as Vi, Paper as Yi, keyframes as Ze, ListItem as Pn, Menu as yo, ListItemIcon as kr, GlobalStyles as Xi, Link as qi, CssBaseline as Ki, Drawer as wr, AppBar as vo, Toolbar as ko, Portal as Qi, createTheme as Ji } from "@mui/material";
|
|
3
3
|
import * as bt from "react";
|
|
4
|
-
import _e, { useState as F, useCallback as V, useMemo as ge, useEffect as ye, createElement as De, useRef as $e, useId as Co, Fragment as Zi, useLayoutEffect as ea, useContext as Wr, createContext as
|
|
5
|
-
import
|
|
4
|
+
import _e, { useState as F, useCallback as V, useMemo as ge, useEffect as ye, createElement as De, useRef as $e, useId as Co, Fragment as Zi, useLayoutEffect as ea, useContext as Wr, createContext as So } from "react";
|
|
5
|
+
import wo from "@mui/icons-material/Group";
|
|
6
6
|
import ta from "@mui/icons-material/Folder";
|
|
7
7
|
import ra from "@mui/icons-material/Extension";
|
|
8
|
-
import { r as na, a as oa, t as ia, w as aa, h as Fn, e as He, b as Cr, c as ht, s as Je, m as Ur, d as _n, f as Fe, p as Nn, g as zt, i as We, j as Bn, k as la, l as sa, n as da, A as Qt, o as Rr, Q as ca, q as nn, u as Ro, v as Mo, x as Ht, y as _, z as
|
|
9
|
-
import { aQ as
|
|
8
|
+
import { r as na, a as oa, t as ia, w as aa, h as Fn, e as He, b as Cr, c as ht, s as Je, m as Ur, d as _n, f as Fe, p as Nn, g as zt, i as We, j as Bn, k as la, l as sa, n as da, A as Qt, o as Rr, Q as ca, q as nn, u as Ro, v as Mo, x as Ht, y as _, z as wt, B as Qe, C as Ao, H as pa, D as ua, W as Mr, E as Jt, X as Ar, K as gn, J as $t, U as fn, F as xn, G as Ot, I as yt, L as Zt, V as ma, M as ha, S as ga, N as fa, O as xa, P as ba, R as ya, T as va, Y as ka, Z as Ca, _ as Sa, $ as Dr, a0 as je, a1 as ut, a2 as Vt, a3 as wa, a4 as Se, a5 as vt, a6 as Io, a7 as st, a8 as bn, a9 as dt, aa as Ra, ab as Ma, ac as Aa, ad as Ia, ae as za, af as ur, ag as La, ah as $a, ai as Oa, aj as zo, ak as Ta, al as Lo, am as Ea, an as Wa, ao as $o, ap as Da, aq as Pa, ar as Ke, as as Fa, at as _a, au as Na, av as Ba, aw as Ha, ax as ja, ay as Ga, az as Ua, aA as Va, aB as kt, aC as Ct } from "./design-theme-BNfby4u0.js";
|
|
9
|
+
import { aQ as K0, aF as Q0, aG as J0, aH as Z0, aD as eh, aE as th, aW as rh, aJ as nh, aK as oh, aS as ih, aT as ah, aN as lh, aO as sh, aU as dh, aV as ch, aL as ph, aM as uh, aR as mh, aI as hh, aP as gh } from "./design-theme-BNfby4u0.js";
|
|
10
10
|
import Ya from "@mui/icons-material/Apps";
|
|
11
|
-
import { Description as Oo, FolderOpen as Yt, Folder as Xa, Refresh as qa, OpenInNew as Xt, Cloud as Vr, InsertDriveFile as To, Download as Ka, CloudOff as Qa, CopyAll as Ja, Share as Za, FamilyRestroom as xt, AddRounded as Hn, MailOutlineRounded as el, Person as yn, Warning as vn, Circle as Eo, Fingerprint as tl, MessageOutlined as rl, KeyboardArrowDown as nl, LocalOffer as Wo, ImageOutlined as Do, Favorite as Ir, Star as kn, Visibility as Cn, RemoveRedEyeOutlined as ol, ChatBubble as il, Edit as Po, Delete as al, VisibilityOff as Fo, Error as _o, Info as No, Reorder as ll, Article as sl, Note as dl, Book as cl, MenuBook as pl, LibraryBooks as ul, Subject as ml, Assignment as hl, ListAlt as gl, ViewList as fl, Bookmarks as xl, Class as bl, School as yl, Code as vl, BugReport as kl, Build as Cl, Settings as
|
|
12
|
-
import { u as ke, T as Un } from "./Surface-
|
|
13
|
-
import { f as
|
|
11
|
+
import { Description as Oo, FolderOpen as Yt, Folder as Xa, Refresh as qa, OpenInNew as Xt, Cloud as Vr, InsertDriveFile as To, Download as Ka, CloudOff as Qa, CopyAll as Ja, Share as Za, FamilyRestroom as xt, AddRounded as Hn, MailOutlineRounded as el, Person as yn, Warning as vn, Circle as Eo, Fingerprint as tl, MessageOutlined as rl, KeyboardArrowDown as nl, LocalOffer as Wo, ImageOutlined as Do, Favorite as Ir, Star as kn, Visibility as Cn, RemoveRedEyeOutlined as ol, ChatBubble as il, Edit as Po, Delete as al, VisibilityOff as Fo, Error as _o, Info as No, Reorder as ll, Article as sl, Note as dl, Book as cl, MenuBook as pl, LibraryBooks as ul, Subject as ml, Assignment as hl, ListAlt as gl, ViewList as fl, Bookmarks as xl, Class as bl, School as yl, Code as vl, BugReport as kl, Build as Cl, Settings as Sn, Help as Sl, Flag as wl, Label as Rl, Lightbulb as Ml, EmojiObjects as Al, Psychology as Il, Science as zl, Calculate as Ll, Functions as $l, Check as Ol, CheckCircle as Tl, Security as El, Shield as Wl, Lock as Dl, Key as Pl, VpnKey as Fl, Upload as Bo, DeleteForever as _l, CalendarMonth as on, Radar as Nl, Search as Ho, ExpandMore as jo, TableRows as Bl, FilterList as Hl, ArrowUpward as jl, ArrowDownward as Gl, KeyboardArrowUp as Ul, FirstPage as Vl, ChevronLeft as Go, ChevronRight as Yl, LastPage as Xl, Palette as ql, CloudUpload as Yr, Business as zr, Apps as jn, KeyboardDoubleArrowRight as Kl, KeyboardDoubleArrowLeft as Ql, Close as Jl, NotificationsActive as Zl, NotificationsOff as es, CreditCardRounded as ts, BugReportOutlined as rs, Logout as ns, ExpandLess as os, MenuRounded as is, LightModeRounded as as, DarkModeRounded as ls, SearchRounded as Gn, CheckCircleRounded as ss, CloseRounded as ds } from "@mui/icons-material";
|
|
12
|
+
import { u as ke, T as Un } from "./Surface-DW78GtlG.js";
|
|
13
|
+
import { f as xh } from "./Surface-DW78GtlG.js";
|
|
14
14
|
import { SupportTicketCategory as cs, AbyssService as ps, ProjectStatus as an, byteSizeIEC as Vn, getServiceName as us, AbyssCore as ms, buildBillingDeepLink as hs, BillingDeepLinkAction as mr } from "@abyss-project/main";
|
|
15
15
|
import { toast as Lr } from "react-toastify";
|
|
16
16
|
import "@mui/icons-material/InsertDriveFile";
|
|
@@ -25,10 +25,10 @@ import { WebhookType as hr } from "@abyss-project/storage";
|
|
|
25
25
|
import ln from "@mui/icons-material/BusinessRounded";
|
|
26
26
|
import fs from "@mui/icons-material/LocationOnOutlined";
|
|
27
27
|
import xs from "@mui/icons-material/CalendarTodayOutlined";
|
|
28
|
-
import { A as
|
|
28
|
+
import { A as yh, d as vh, C as kh, b as Ch, D as Sh, R as wh, V as Rh, e as Mh, r as Ah, f as Ih, u as zh, c as Lh, a as $h, w as Oh } from "./CookieConsentSettings-DM0P2po1.js";
|
|
29
29
|
import { flexRender as Gt, useReactTable as bs, getPaginationRowModel as ys, getFilteredRowModel as vs, getSortedRowModel as ks, getCoreRowModel as Cs } from "@tanstack/react-table";
|
|
30
|
-
import { useIntl as mt, IntlContext as
|
|
31
|
-
import { visuallyHidden as
|
|
30
|
+
import { useIntl as mt, IntlContext as Ss } from "react-intl";
|
|
31
|
+
import { visuallyHidden as ws, unstable_generateUtilityClass as Rs, unstable_generateUtilityClasses as Ms, unstable_useForkRef as As, unstable_useEnhancedEffect as Is, unstable_composeClasses as zs } from "@mui/utils";
|
|
32
32
|
import { useTheme as Uo, alpha as qt, useThemeProps as Ls, styled as Vo } from "@mui/material/styles";
|
|
33
33
|
import { LocalizationProvider as $s, TimeField as Xn, DateCalendar as Os, DatePicker as Ts, DateTimePicker as Es } from "@mui/x-date-pickers";
|
|
34
34
|
import { i as Ws, b as Ds, r as Xr, A as Yo, P as j, u as Ps } from "./index-C27b790L.js";
|
|
@@ -93,49 +93,49 @@ function kd(e) {
|
|
|
93
93
|
function Cd(e) {
|
|
94
94
|
return e.endAngle;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Sd(e) {
|
|
97
97
|
return e && e.padAngle;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function wd(e, r, n, i, a, p, s, o) {
|
|
100
100
|
var u = n - e, l = i - r, h = s - a, m = o - p, x = m * u - h * l;
|
|
101
101
|
if (!(x * x < He))
|
|
102
102
|
return x = (h * (r - p) - m * (e - a)) / x, [e + x * u, r + x * l];
|
|
103
103
|
}
|
|
104
104
|
function gr(e, r, n, i, a, p, s) {
|
|
105
|
-
var o = e - n, u = r - i, l = (s ? p : -p) / zt(o * o + u * u), h = l * u, m = -l * o, x = e + h, k = r + m,
|
|
105
|
+
var o = e - n, u = r - i, l = (s ? p : -p) / zt(o * o + u * u), h = l * u, m = -l * o, x = e + h, k = r + m, S = n + h, v = i + m, f = (x + S) / 2, y = (k + v) / 2, b = S - x, C = v - k, R = b * b + C * C, w = a - p, M = x * v - S * k, E = (C < 0 ? -1 : 1) * zt(sa(0, w * w * R - M * M)), T = (M * C - b * E) / R, L = (-M * b - C * E) / R, z = (M * C + b * E) / R, B = (-M * b + C * E) / R, P = T - f, W = L - y, $ = z - f, I = B - y;
|
|
106
106
|
return P * P + W * W > $ * $ + I * I && (T = z, L = B), {
|
|
107
107
|
cx: T,
|
|
108
108
|
cy: L,
|
|
109
109
|
x01: -h,
|
|
110
110
|
y01: -m,
|
|
111
|
-
x11: T * (a /
|
|
112
|
-
y11: L * (a /
|
|
111
|
+
x11: T * (a / w - 1),
|
|
112
|
+
y11: L * (a / w - 1)
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
function Rd() {
|
|
116
|
-
var e = yd, r = vd, n = Fe(0), i = null, a = kd, p = Cd, s =
|
|
116
|
+
var e = yd, r = vd, n = Fe(0), i = null, a = kd, p = Cd, s = Sd, o = null, u = aa(l);
|
|
117
117
|
function l() {
|
|
118
|
-
var h, m, x = +e.apply(this, arguments), k = +r.apply(this, arguments),
|
|
118
|
+
var h, m, x = +e.apply(this, arguments), k = +r.apply(this, arguments), S = a.apply(this, arguments) - Fn, v = p.apply(this, arguments) - Fn, f = _n(v - S), y = v > S;
|
|
119
119
|
if (o || (o = h = u()), k < x && (m = k, k = x, x = m), !(k > He)) o.moveTo(0, 0);
|
|
120
120
|
else if (f > Cr - He)
|
|
121
|
-
o.moveTo(k * ht(
|
|
121
|
+
o.moveTo(k * ht(S), k * Je(S)), o.arc(0, 0, k, S, v, !y), x > He && (o.moveTo(x * ht(v), x * Je(v)), o.arc(0, 0, x, v, S, y));
|
|
122
122
|
else {
|
|
123
|
-
var b =
|
|
123
|
+
var b = S, C = v, R = S, w = v, M = f, E = f, T = s.apply(this, arguments) / 2, L = T > He && (i ? +i.apply(this, arguments) : zt(x * x + k * k)), z = Ur(_n(k - x) / 2, +n.apply(this, arguments)), B = z, P = z, W, $;
|
|
124
124
|
if (L > He) {
|
|
125
125
|
var I = Bn(L / x * Je(T)), Y = Bn(L / k * Je(T));
|
|
126
|
-
(M -= I * 2) > He ? (I *= y ? 1 : -1, R += I,
|
|
126
|
+
(M -= I * 2) > He ? (I *= y ? 1 : -1, R += I, w -= I) : (M = 0, R = w = (S + v) / 2), (E -= Y * 2) > He ? (Y *= y ? 1 : -1, b += Y, C -= Y) : (E = 0, b = C = (S + v) / 2);
|
|
127
127
|
}
|
|
128
|
-
var X = k * ht(b), pe = k * Je(b), ie = x * ht(
|
|
128
|
+
var X = k * ht(b), pe = k * Je(b), ie = x * ht(w), se = x * Je(w);
|
|
129
129
|
if (z > He) {
|
|
130
130
|
var re = k * ht(C), ae = k * Je(C), le = x * ht(R), he = x * Je(R), q;
|
|
131
131
|
if (f < Nn)
|
|
132
|
-
if (q =
|
|
132
|
+
if (q = wd(X, pe, le, he, re, ae, ie, se)) {
|
|
133
133
|
var U = X - q[0], Q = pe - q[1], ee = re - q[0], H = ae - q[1], O = 1 / Je(la((U * ee + Q * H) / (zt(U * U + Q * Q) * zt(ee * ee + H * H))) / 2), N = zt(q[0] * q[0] + q[1] * q[1]);
|
|
134
134
|
B = Ur(z, (x - N) / (O - 1)), P = Ur(z, (k - N) / (O + 1));
|
|
135
135
|
} else
|
|
136
136
|
B = P = 0;
|
|
137
137
|
}
|
|
138
|
-
E > He ? P > He ? (W = gr(le, he, X, pe, k, P, y), $ = gr(re, ae, ie, se, k, P, y), o.moveTo(W.cx + W.x01, W.cy + W.y01), P < z ? o.arc(W.cx, W.cy, P, We(W.y01, W.x01), We($.y01, $.x01), !y) : (o.arc(W.cx, W.cy, P, We(W.y01, W.x01), We(W.y11, W.x11), !y), o.arc(0, 0, k, We(W.cy + W.y11, W.cx + W.x11), We($.cy + $.y11, $.cx + $.x11), !y), o.arc($.cx, $.cy, P, We($.y11, $.x11), We($.y01, $.x01), !y))) : (o.moveTo(X, pe), o.arc(0, 0, k, b, C, !y)) : o.moveTo(X, pe), !(x > He) || !(M > He) ? o.lineTo(ie, se) : B > He ? (W = gr(ie, se, re, ae, x, -B, y), $ = gr(X, pe, le, he, x, -B, y), o.lineTo(W.cx + W.x01, W.cy + W.y01), B < z ? o.arc(W.cx, W.cy, B, We(W.y01, W.x01), We($.y01, $.x01), !y) : (o.arc(W.cx, W.cy, B, We(W.y01, W.x01), We(W.y11, W.x11), !y), o.arc(0, 0, x, We(W.cy + W.y11, W.cx + W.x11), We($.cy + $.y11, $.cx + $.x11), y), o.arc($.cx, $.cy, B, We($.y11, $.x11), We($.y01, $.x01), !y))) : o.arc(0, 0, x,
|
|
138
|
+
E > He ? P > He ? (W = gr(le, he, X, pe, k, P, y), $ = gr(re, ae, ie, se, k, P, y), o.moveTo(W.cx + W.x01, W.cy + W.y01), P < z ? o.arc(W.cx, W.cy, P, We(W.y01, W.x01), We($.y01, $.x01), !y) : (o.arc(W.cx, W.cy, P, We(W.y01, W.x01), We(W.y11, W.x11), !y), o.arc(0, 0, k, We(W.cy + W.y11, W.cx + W.x11), We($.cy + $.y11, $.cx + $.x11), !y), o.arc($.cx, $.cy, P, We($.y11, $.x11), We($.y01, $.x01), !y))) : (o.moveTo(X, pe), o.arc(0, 0, k, b, C, !y)) : o.moveTo(X, pe), !(x > He) || !(M > He) ? o.lineTo(ie, se) : B > He ? (W = gr(ie, se, re, ae, x, -B, y), $ = gr(X, pe, le, he, x, -B, y), o.lineTo(W.cx + W.x01, W.cy + W.y01), B < z ? o.arc(W.cx, W.cy, B, We(W.y01, W.x01), We($.y01, $.x01), !y) : (o.arc(W.cx, W.cy, B, We(W.y01, W.x01), We(W.y11, W.x11), !y), o.arc(0, 0, x, We(W.cy + W.y11, W.cx + W.x11), We($.cy + $.y11, $.cx + $.x11), y), o.arc($.cx, $.cy, B, We($.y11, $.x11), We($.y01, $.x01), !y))) : o.arc(0, 0, x, w, R, y);
|
|
139
139
|
}
|
|
140
140
|
if (o.closePath(), h) return o = null, h + "" || null;
|
|
141
141
|
}
|
|
@@ -169,15 +169,15 @@ function Ad(e) {
|
|
|
169
169
|
function Id() {
|
|
170
170
|
var e = Ad, r = Md, n = null, i = Fe(0), a = Fe(Cr), p = Fe(0);
|
|
171
171
|
function s(o) {
|
|
172
|
-
var u, l = (o = da(o)).length, h, m, x = 0, k = new Array(l),
|
|
172
|
+
var u, l = (o = da(o)).length, h, m, x = 0, k = new Array(l), S = new Array(l), v = +i.apply(this, arguments), f = Math.min(Cr, Math.max(-Cr, a.apply(this, arguments) - v)), y, b = Math.min(Math.abs(f) / l, p.apply(this, arguments)), C = b * (f < 0 ? -1 : 1), R;
|
|
173
173
|
for (u = 0; u < l; ++u)
|
|
174
|
-
(R =
|
|
175
|
-
for (r != null ? k.sort(function(
|
|
176
|
-
return r(w
|
|
177
|
-
}) : n != null && k.sort(function(
|
|
178
|
-
return n(o[
|
|
174
|
+
(R = S[k[u] = u] = +e(o[u], u, o)) > 0 && (x += R);
|
|
175
|
+
for (r != null ? k.sort(function(w, M) {
|
|
176
|
+
return r(S[w], S[M]);
|
|
177
|
+
}) : n != null && k.sort(function(w, M) {
|
|
178
|
+
return n(o[w], o[M]);
|
|
179
179
|
}), u = 0, m = x ? (f - l * C) / x : 0; u < l; ++u, v = y)
|
|
180
|
-
h = k[u], R =
|
|
180
|
+
h = k[u], R = S[h], y = v + (R > 0 ? R * m : 0) + C, S[h] = {
|
|
181
181
|
data: o[h],
|
|
182
182
|
index: u,
|
|
183
183
|
value: R,
|
|
@@ -185,7 +185,7 @@ function Id() {
|
|
|
185
185
|
endAngle: y,
|
|
186
186
|
padAngle: b
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return S;
|
|
189
189
|
}
|
|
190
190
|
return s.value = function(o) {
|
|
191
191
|
return arguments.length ? (e = typeof o == "function" ? o : Fe(+o), s) : e;
|
|
@@ -216,7 +216,7 @@ const zd = ({
|
|
|
216
216
|
sx: m,
|
|
217
217
|
variant: x = "default",
|
|
218
218
|
icon: k,
|
|
219
|
-
fullWidth:
|
|
219
|
+
fullWidth: S
|
|
220
220
|
}) => {
|
|
221
221
|
const [v, f] = F(!1), y = ke(), b = J(), C = {
|
|
222
222
|
default: { color: b.palette.primary.main, icon: null },
|
|
@@ -244,7 +244,7 @@ const zd = ({
|
|
|
244
244
|
} finally {
|
|
245
245
|
f(!1);
|
|
246
246
|
}
|
|
247
|
-
}, [l]),
|
|
247
|
+
}, [l]), w = C[x], M = k !== void 0 ? k : w.icon, E = v || s;
|
|
248
248
|
return /* @__PURE__ */ g(
|
|
249
249
|
Qt,
|
|
250
250
|
{
|
|
@@ -252,14 +252,14 @@ const zd = ({
|
|
|
252
252
|
open: p,
|
|
253
253
|
onClose: u,
|
|
254
254
|
disableCloseButton: !0,
|
|
255
|
-
fullWidth:
|
|
255
|
+
fullWidth: S,
|
|
256
256
|
sx: {
|
|
257
257
|
"& .MuiDialog-paper": {
|
|
258
258
|
backgroundColor: b.palette.background.paper,
|
|
259
|
-
border: `1px solid ${c(
|
|
259
|
+
border: `1px solid ${c(w.color, 0.15)}`,
|
|
260
260
|
borderRadius: "14px",
|
|
261
261
|
backgroundImage: `radial-gradient(ellipse at top, ${c(
|
|
262
|
-
|
|
262
|
+
w.color,
|
|
263
263
|
0.04
|
|
264
264
|
)} 0%, transparent 60%)`,
|
|
265
265
|
overflow: "hidden",
|
|
@@ -299,9 +299,9 @@ const zd = ({
|
|
|
299
299
|
display: "flex",
|
|
300
300
|
alignItems: "center",
|
|
301
301
|
justifyContent: "center",
|
|
302
|
-
backgroundColor: c(
|
|
303
|
-
border: `1px solid ${c(
|
|
304
|
-
color:
|
|
302
|
+
backgroundColor: c(w.color, 0.1),
|
|
303
|
+
border: `1px solid ${c(w.color, 0.2)}`,
|
|
304
|
+
color: w.color,
|
|
305
305
|
flexShrink: 0
|
|
306
306
|
},
|
|
307
307
|
children: M
|
|
@@ -397,20 +397,20 @@ const zd = ({
|
|
|
397
397
|
borderRadius: "8px",
|
|
398
398
|
px: 2.5,
|
|
399
399
|
...x === "danger" && {
|
|
400
|
-
background: c(
|
|
401
|
-
borderColor: c(
|
|
402
|
-
color:
|
|
400
|
+
background: c(w.color, 0.12),
|
|
401
|
+
borderColor: c(w.color, 0.3),
|
|
402
|
+
color: w.color,
|
|
403
403
|
"&:hover": {
|
|
404
|
-
background: c(
|
|
405
|
-
borderColor: c(
|
|
406
|
-
boxShadow: `0 0 20px ${c(
|
|
404
|
+
background: c(w.color, 0.22),
|
|
405
|
+
borderColor: c(w.color, 0.5),
|
|
406
|
+
boxShadow: `0 0 20px ${c(w.color, 0.15)}`
|
|
407
407
|
}
|
|
408
408
|
},
|
|
409
409
|
...x !== "danger" && x !== "default" && {
|
|
410
|
-
background:
|
|
410
|
+
background: w.color,
|
|
411
411
|
"&:hover": {
|
|
412
|
-
background: c(
|
|
413
|
-
boxShadow: `0 0 20px ${c(
|
|
412
|
+
background: c(w.color, 0.85),
|
|
413
|
+
boxShadow: `0 0 20px ${c(w.color, 0.15)}`
|
|
414
414
|
}
|
|
415
415
|
},
|
|
416
416
|
"&.Mui-disabled": {
|
|
@@ -438,14 +438,14 @@ const zd = ({
|
|
|
438
438
|
accept: s,
|
|
439
439
|
getFileThumbnailUrl: o
|
|
440
440
|
}) => {
|
|
441
|
-
const u = J(), [l, h] = F(null), [m, x] = F(!1), [k,
|
|
441
|
+
const u = J(), [l, h] = F(null), [m, x] = F(!1), [k, S] = F(!1), v = e.isEncrypt, f = !!l, y = (M) => {
|
|
442
442
|
h(M.currentTarget);
|
|
443
443
|
}, b = () => {
|
|
444
444
|
h(null);
|
|
445
445
|
}, C = !!(n && n < e.sizeOctet), R = !!(i || []).find(
|
|
446
446
|
(M) => M.id === e.id
|
|
447
|
-
),
|
|
448
|
-
return C || !
|
|
447
|
+
), w = Ws(e, s);
|
|
448
|
+
return C || !w ? /* @__PURE__ */ t(xe, {}) : /* @__PURE__ */ g(d, { children: [
|
|
449
449
|
e.thumbnailPublicAccessId && !v && !m && k ? /* @__PURE__ */ t(
|
|
450
450
|
Wt,
|
|
451
451
|
{
|
|
@@ -539,7 +539,7 @@ const zd = ({
|
|
|
539
539
|
draggable: "false",
|
|
540
540
|
src: o(e.thumbnailPublicAccessId),
|
|
541
541
|
onError: () => x(!0),
|
|
542
|
-
onLoad: () =>
|
|
542
|
+
onLoad: () => S(!0)
|
|
543
543
|
}
|
|
544
544
|
),
|
|
545
545
|
!k && !m ? /* @__PURE__ */ t(Ge, { size: "20px" }) : /* @__PURE__ */ t(xe, {})
|
|
@@ -547,7 +547,7 @@ const zd = ({
|
|
|
547
547
|
}
|
|
548
548
|
) : /* @__PURE__ */ t(Oo, { htmlColor: u.palette.primary.light }),
|
|
549
549
|
children: /* @__PURE__ */ t(
|
|
550
|
-
|
|
550
|
+
we,
|
|
551
551
|
{
|
|
552
552
|
title: e.name,
|
|
553
553
|
disableInteractive: !0,
|
|
@@ -587,11 +587,11 @@ const zd = ({
|
|
|
587
587
|
accept: h,
|
|
588
588
|
getFileThumbnailUrl: m
|
|
589
589
|
}) => {
|
|
590
|
-
const x = J(), [k,
|
|
590
|
+
const x = J(), [k, S] = F(!0), v = _s(e.childFolder || []), f = [
|
|
591
591
|
...e.childFile || [],
|
|
592
|
-
...v.flatMap((
|
|
593
|
-
].filter((
|
|
594
|
-
(
|
|
592
|
+
...v.flatMap((w) => w.childFile || [])
|
|
593
|
+
].filter((w) => !!w.thumbnailPublicAccessId), y = f.map((w) => w.id), b = (i || []).map((w) => w.id), C = y.every((w) => b.includes(w)) && f.some((w) => !!w.thumbnailPublicAccessId), R = !!(o || []).find(
|
|
594
|
+
(w) => w.id === e.id
|
|
595
595
|
);
|
|
596
596
|
return /* @__PURE__ */ g(d, { flexGrow: 1, display: "flex", flexDirection: "column", children: [
|
|
597
597
|
/* @__PURE__ */ g(
|
|
@@ -627,10 +627,10 @@ const zd = ({
|
|
|
627
627
|
px: C || R ? 1.5 : ""
|
|
628
628
|
},
|
|
629
629
|
onClick: () => {
|
|
630
|
-
|
|
630
|
+
S(!k), u && s && (R ? u([e]) : s([e]));
|
|
631
631
|
},
|
|
632
632
|
startIcon: k ? /* @__PURE__ */ t(Xa, { htmlColor: x.palette.primary.light }) : /* @__PURE__ */ t(Yt, { htmlColor: x.palette.primary.light }),
|
|
633
|
-
children: /* @__PURE__ */ t(
|
|
633
|
+
children: /* @__PURE__ */ t(we, { title: e.name, disableInteractive: !0, children: /* @__PURE__ */ t(
|
|
634
634
|
A,
|
|
635
635
|
{
|
|
636
636
|
textTransform: "none",
|
|
@@ -645,11 +645,11 @@ const zd = ({
|
|
|
645
645
|
]
|
|
646
646
|
}
|
|
647
647
|
),
|
|
648
|
-
/* @__PURE__ */ t(
|
|
649
|
-
(e.childFolder || []).map((
|
|
648
|
+
/* @__PURE__ */ t(St, { in: !k, children: /* @__PURE__ */ t(d, { ml: 1, mt: 0.3, children: /* @__PURE__ */ g(de, { spacing: 0.3, children: [
|
|
649
|
+
(e.childFolder || []).map((w) => /* @__PURE__ */ t(
|
|
650
650
|
Zo,
|
|
651
651
|
{
|
|
652
|
-
folder:
|
|
652
|
+
folder: w,
|
|
653
653
|
multiple: r,
|
|
654
654
|
maxSize: n,
|
|
655
655
|
selectedFiles: i,
|
|
@@ -662,12 +662,12 @@ const zd = ({
|
|
|
662
662
|
accept: h,
|
|
663
663
|
getFileThumbnailUrl: m
|
|
664
664
|
},
|
|
665
|
-
|
|
665
|
+
w.id
|
|
666
666
|
)),
|
|
667
|
-
l ? /* @__PURE__ */ t(xe, {}) : (e.childFile || []).map((
|
|
667
|
+
l ? /* @__PURE__ */ t(xe, {}) : (e.childFile || []).map((w) => /* @__PURE__ */ t(
|
|
668
668
|
Jo,
|
|
669
669
|
{
|
|
670
|
-
file:
|
|
670
|
+
file: w,
|
|
671
671
|
multiple: r,
|
|
672
672
|
maxSize: n,
|
|
673
673
|
selectedFiles: i,
|
|
@@ -676,7 +676,7 @@ const zd = ({
|
|
|
676
676
|
accept: h,
|
|
677
677
|
getFileThumbnailUrl: m
|
|
678
678
|
},
|
|
679
|
-
|
|
679
|
+
w.id
|
|
680
680
|
))
|
|
681
681
|
] }) }) })
|
|
682
682
|
] });
|
|
@@ -702,8 +702,8 @@ const zd = ({
|
|
|
702
702
|
hasError: m,
|
|
703
703
|
refresh: x,
|
|
704
704
|
onCreateCloud: k,
|
|
705
|
-
fetchCloudRepository:
|
|
706
|
-
} = a, v = J(), [f, y] = F([]), [b, C] = F(null), [R,
|
|
705
|
+
fetchCloudRepository: S
|
|
706
|
+
} = a, v = J(), [f, y] = F([]), [b, C] = F(null), [R, w] = F(null), [M, E] = F(!1), [T, L] = F(!1), z = ke(), B = mt(), P = ge(() => {
|
|
707
707
|
const q = [], U = [...l ?? []], Q = /* @__PURE__ */ new Map(), ee = z.formatRichMessage({
|
|
708
708
|
id: "file-importation.import-cloud.modal.section-organization"
|
|
709
709
|
});
|
|
@@ -751,14 +751,14 @@ const zd = ({
|
|
|
751
751
|
if (!(b != null && b.id))
|
|
752
752
|
return;
|
|
753
753
|
E(!0);
|
|
754
|
-
const q = await
|
|
755
|
-
|
|
754
|
+
const q = await S(b.id);
|
|
755
|
+
w(q), y([]);
|
|
756
756
|
} catch {
|
|
757
757
|
Lr.error(z.formatRichMessage({ id: "general.unknown-error" }));
|
|
758
758
|
} finally {
|
|
759
759
|
E(!1);
|
|
760
760
|
}
|
|
761
|
-
}, [b,
|
|
761
|
+
}, [b, S, z]), I = V(async () => {
|
|
762
762
|
if (!await x()) {
|
|
763
763
|
Lr.error(
|
|
764
764
|
z.formatRichMessage({
|
|
@@ -809,7 +809,7 @@ const zd = ({
|
|
|
809
809
|
C(q);
|
|
810
810
|
}, le = (q) => typeof q == "string" ? q : typeof q == "number" ? String(q) : "";
|
|
811
811
|
ye(() => {
|
|
812
|
-
|
|
812
|
+
w(null), x();
|
|
813
813
|
}, []), ye(() => {
|
|
814
814
|
if (b && W.some((Q) => Q.id === b.id))
|
|
815
815
|
return;
|
|
@@ -985,7 +985,7 @@ const zd = ({
|
|
|
985
985
|
}
|
|
986
986
|
),
|
|
987
987
|
/* @__PURE__ */ t(
|
|
988
|
-
|
|
988
|
+
we,
|
|
989
989
|
{
|
|
990
990
|
title: z.formatRichMessage({
|
|
991
991
|
id: "file-importation.import-cloud.modal.refresh"
|
|
@@ -1017,7 +1017,7 @@ const zd = ({
|
|
|
1017
1017
|
}
|
|
1018
1018
|
),
|
|
1019
1019
|
/* @__PURE__ */ t(
|
|
1020
|
-
|
|
1020
|
+
we,
|
|
1021
1021
|
{
|
|
1022
1022
|
title: z.formatRichMessage({
|
|
1023
1023
|
id: "file-importation.import-cloud.modal.open-in-cloud"
|
|
@@ -1387,7 +1387,7 @@ const zd = ({
|
|
|
1387
1387
|
)
|
|
1388
1388
|
}
|
|
1389
1389
|
);
|
|
1390
|
-
},
|
|
1390
|
+
}, Cm = ({
|
|
1391
1391
|
isOpen: e,
|
|
1392
1392
|
onClose: r,
|
|
1393
1393
|
url: n,
|
|
@@ -1398,7 +1398,7 @@ const zd = ({
|
|
|
1398
1398
|
if (n) {
|
|
1399
1399
|
o(!0);
|
|
1400
1400
|
try {
|
|
1401
|
-
const
|
|
1401
|
+
const S = await ca.toDataURL(n, {
|
|
1402
1402
|
color: {
|
|
1403
1403
|
dark: s.palette.primary.main,
|
|
1404
1404
|
light: "#0000"
|
|
@@ -1407,7 +1407,7 @@ const zd = ({
|
|
|
1407
1407
|
width: 200,
|
|
1408
1408
|
margin: 2
|
|
1409
1409
|
});
|
|
1410
|
-
l(
|
|
1410
|
+
l(S);
|
|
1411
1411
|
} finally {
|
|
1412
1412
|
o(!1);
|
|
1413
1413
|
}
|
|
@@ -2005,7 +2005,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2005
2005
|
)}`,
|
|
2006
2006
|
currentFamily: u
|
|
2007
2007
|
}) => {
|
|
2008
|
-
const l = ke(), h = J(), [m, x] = F(!1), k = m || p,
|
|
2008
|
+
const l = ke(), h = J(), [m, x] = F(!1), k = m || p, S = V(() => {
|
|
2009
2009
|
r();
|
|
2010
2010
|
}, [r]), v = Ro({
|
|
2011
2011
|
initialValues: { alias: "", phone: "", name: "", familyName: "" },
|
|
@@ -2039,7 +2039,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2039
2039
|
{
|
|
2040
2040
|
maxWidth: "sm",
|
|
2041
2041
|
fullWidth: !0,
|
|
2042
|
-
onClose:
|
|
2042
|
+
onClose: S,
|
|
2043
2043
|
open: e,
|
|
2044
2044
|
disablePaperPadding: !0,
|
|
2045
2045
|
slotProps: { paper: { sx: { px: "0!important" } } },
|
|
@@ -2137,7 +2137,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2137
2137
|
rel: "noreferrer",
|
|
2138
2138
|
style: { textDecoration: "none", flexShrink: 0 },
|
|
2139
2139
|
children: /* @__PURE__ */ t(
|
|
2140
|
-
|
|
2140
|
+
we,
|
|
2141
2141
|
{
|
|
2142
2142
|
title: l.formatRichMessage({
|
|
2143
2143
|
id: "user-settings.modal.open-full-profile"
|
|
@@ -2418,7 +2418,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2418
2418
|
fullWidth: !0,
|
|
2419
2419
|
color: "inherit",
|
|
2420
2420
|
variant: "text",
|
|
2421
|
-
onClick:
|
|
2421
|
+
onClick: S,
|
|
2422
2422
|
sx: {
|
|
2423
2423
|
flex: 1,
|
|
2424
2424
|
minWidth: 0,
|
|
@@ -2452,9 +2452,9 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2452
2452
|
)
|
|
2453
2453
|
}
|
|
2454
2454
|
);
|
|
2455
|
-
},
|
|
2455
|
+
}, Sm = ({ fetchMe: e, ...r }) => /* @__PURE__ */ t(Wd, { ...r, onSave: async () => {
|
|
2456
2456
|
await e();
|
|
2457
|
-
} }),
|
|
2457
|
+
} }), wn = 32, Rn = 0.625, Mn = {
|
|
2458
2458
|
border: "1px solid",
|
|
2459
2459
|
borderColor: "primary.main",
|
|
2460
2460
|
transition: "all 0.25s cubic-bezier(0.4, 0, 0.2, 1)",
|
|
@@ -2472,13 +2472,13 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2472
2472
|
profileInfo: l,
|
|
2473
2473
|
onClick: h
|
|
2474
2474
|
}) => {
|
|
2475
|
-
const m = J(), [x, k] = F(!n), [
|
|
2475
|
+
const m = J(), [x, k] = F(!n), [S, v] = F(!1), [f, y] = F(!i), [b, C] = F(!1), [R, w] = F(null), M = s(e) + (p ? `?${p}` : ""), E = o ? o(e) + (p ? `?${p}` : "") : "", T = a && typeof a == "object" && !Array.isArray(a) ? a : {}, L = typeof T.width == "number" ? T.width : wn;
|
|
2476
2476
|
ye(() => {
|
|
2477
2477
|
k(!n), v(!1);
|
|
2478
2478
|
}, [p, n]);
|
|
2479
2479
|
const z = V(
|
|
2480
2480
|
($) => {
|
|
2481
|
-
u &&
|
|
2481
|
+
u && w($.currentTarget), h == null || h();
|
|
2482
2482
|
},
|
|
2483
2483
|
[u, h]
|
|
2484
2484
|
), B = u || !!h, P = !!R, W = x || !n;
|
|
@@ -2513,7 +2513,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2513
2513
|
...Array.isArray(a) ? a : [a]
|
|
2514
2514
|
],
|
|
2515
2515
|
children: [
|
|
2516
|
-
!
|
|
2516
|
+
!S && !x && n ? /* @__PURE__ */ t(d, { display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ t(
|
|
2517
2517
|
Ge,
|
|
2518
2518
|
{
|
|
2519
2519
|
size: L * Rn,
|
|
@@ -2528,7 +2528,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2528
2528
|
objectFit: "cover",
|
|
2529
2529
|
width: "100%",
|
|
2530
2530
|
height: "100%",
|
|
2531
|
-
display:
|
|
2531
|
+
display: S && !x ? "block" : "none"
|
|
2532
2532
|
},
|
|
2533
2533
|
alt: r,
|
|
2534
2534
|
src: M,
|
|
@@ -2544,7 +2544,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2544
2544
|
{
|
|
2545
2545
|
open: P,
|
|
2546
2546
|
anchorEl: R,
|
|
2547
|
-
onClose: () =>
|
|
2547
|
+
onClose: () => w(null),
|
|
2548
2548
|
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
2549
2549
|
transformOrigin: { vertical: "top", horizontal: "center" },
|
|
2550
2550
|
slotProps: { paper: { sx: { mt: 1, minWidth: 280, p: 0 } } },
|
|
@@ -2696,7 +2696,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2696
2696
|
justifyContent: "center"
|
|
2697
2697
|
},
|
|
2698
2698
|
children: /* @__PURE__ */ t(
|
|
2699
|
-
|
|
2699
|
+
wo,
|
|
2700
2700
|
{
|
|
2701
2701
|
sx: {
|
|
2702
2702
|
fontSize: 14,
|
|
@@ -2900,7 +2900,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2900
2900
|
profileInfo: o,
|
|
2901
2901
|
onClick: u
|
|
2902
2902
|
}) => {
|
|
2903
|
-
const l = J(), [h, m] = F(!n), [x, k] = F(!1), [
|
|
2903
|
+
const l = J(), [h, m] = F(!n), [x, k] = F(!1), [S, v] = F(null), f = p(e) + (a ? `?${a}` : ""), y = i && typeof i == "object" && !Array.isArray(i) ? i : {}, b = typeof y.width == "number" ? y.width : wn;
|
|
2904
2904
|
ye(() => {
|
|
2905
2905
|
m(!n), k(!1);
|
|
2906
2906
|
}, [a, n]);
|
|
@@ -2909,7 +2909,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2909
2909
|
s && v(M.currentTarget), u == null || u();
|
|
2910
2910
|
},
|
|
2911
2911
|
[s, u]
|
|
2912
|
-
), R = s || !!u,
|
|
2912
|
+
), R = s || !!u, w = !!S;
|
|
2913
2913
|
return /* @__PURE__ */ g(xe, { children: [
|
|
2914
2914
|
/* @__PURE__ */ g(
|
|
2915
2915
|
nt,
|
|
@@ -2970,8 +2970,8 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
2970
2970
|
s && /* @__PURE__ */ t(
|
|
2971
2971
|
Wt,
|
|
2972
2972
|
{
|
|
2973
|
-
open:
|
|
2974
|
-
anchorEl:
|
|
2973
|
+
open: w,
|
|
2974
|
+
anchorEl: S,
|
|
2975
2975
|
onClose: () => v(null),
|
|
2976
2976
|
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
2977
2977
|
transformOrigin: { vertical: "top", horizontal: "center" },
|
|
@@ -3109,7 +3109,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3109
3109
|
sx: { display: "flex", alignItems: "center", gap: 0.5 },
|
|
3110
3110
|
children: [
|
|
3111
3111
|
/* @__PURE__ */ t(
|
|
3112
|
-
|
|
3112
|
+
wo,
|
|
3113
3113
|
{
|
|
3114
3114
|
sx: {
|
|
3115
3115
|
fontSize: 13,
|
|
@@ -3222,7 +3222,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3222
3222
|
profileInfo: o,
|
|
3223
3223
|
onClick: u
|
|
3224
3224
|
}) => {
|
|
3225
|
-
const l = J(), [h, m] = F(!n), [x, k] = F(!1), [
|
|
3225
|
+
const l = J(), [h, m] = F(!n), [x, k] = F(!1), [S, v] = F(null), f = p(e) + (a ? `?${a}` : ""), y = i && typeof i == "object" && !Array.isArray(i) ? i : {}, b = typeof y.width == "number" ? y.width : wn;
|
|
3226
3226
|
ye(() => {
|
|
3227
3227
|
m(!n), k(!1);
|
|
3228
3228
|
}, [a, n]);
|
|
@@ -3231,7 +3231,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3231
3231
|
s && v(T.currentTarget), u == null || u();
|
|
3232
3232
|
},
|
|
3233
3233
|
[s, u]
|
|
3234
|
-
), R = s || !!u,
|
|
3234
|
+
), R = s || !!u, w = !!S, M = h || !n, E = (o == null ? void 0 : o.status) === "online" ? l.palette.success.main : (o == null ? void 0 : o.status) === "away" ? l.palette.warning.main : l.palette.text.disabled;
|
|
3235
3235
|
return /* @__PURE__ */ g(xe, { children: [
|
|
3236
3236
|
/* @__PURE__ */ g(d, { sx: { position: "relative", display: "inline-flex" }, children: [
|
|
3237
3237
|
/* @__PURE__ */ g(
|
|
@@ -3310,8 +3310,8 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3310
3310
|
s && /* @__PURE__ */ t(
|
|
3311
3311
|
Wt,
|
|
3312
3312
|
{
|
|
3313
|
-
open:
|
|
3314
|
-
anchorEl:
|
|
3313
|
+
open: w,
|
|
3314
|
+
anchorEl: S,
|
|
3315
3315
|
onClose: () => v(null),
|
|
3316
3316
|
anchorOrigin: { vertical: "bottom", horizontal: "center" },
|
|
3317
3317
|
transformOrigin: { vertical: "top", horizontal: "center" },
|
|
@@ -3504,7 +3504,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3504
3504
|
const l = e.slice(0, a), h = e.length - l.length;
|
|
3505
3505
|
return /* @__PURE__ */ g(d, { display: "flex", alignItems: "center", sx: p, children: [
|
|
3506
3506
|
/* @__PURE__ */ g(d, { display: "flex", alignItems: "center", children: [
|
|
3507
|
-
l.map((m, x) => /* @__PURE__ */ t(
|
|
3507
|
+
l.map((m, x) => /* @__PURE__ */ t(we, { title: m.alias ?? "", disableInteractive: !0, children: /* @__PURE__ */ t(
|
|
3508
3508
|
d,
|
|
3509
3509
|
{
|
|
3510
3510
|
sx: {
|
|
@@ -3612,7 +3612,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3612
3612
|
}
|
|
3613
3613
|
)
|
|
3614
3614
|
] });
|
|
3615
|
-
},
|
|
3615
|
+
}, Rm = ({
|
|
3616
3616
|
bankAccount: e,
|
|
3617
3617
|
accountTransaction: r,
|
|
3618
3618
|
index: n,
|
|
@@ -3624,7 +3624,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3624
3624
|
handleOpenCommentModal: u,
|
|
3625
3625
|
customActions: l
|
|
3626
3626
|
}) => {
|
|
3627
|
-
const h = J(), m = ke(), x =
|
|
3627
|
+
const h = J(), m = ke(), x = wt(), [k, S] = F(!1);
|
|
3628
3628
|
return /* @__PURE__ */ g(
|
|
3629
3629
|
d,
|
|
3630
3630
|
{
|
|
@@ -3645,7 +3645,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3645
3645
|
children: [
|
|
3646
3646
|
/* @__PURE__ */ g(d, { display: "flex", alignItems: "center", width: "100%", flexGrow: 1, children: [
|
|
3647
3647
|
/* @__PURE__ */ t(
|
|
3648
|
-
|
|
3648
|
+
we,
|
|
3649
3649
|
{
|
|
3650
3650
|
disableInteractive: !0,
|
|
3651
3651
|
title: `${m.formatRichMessage({
|
|
@@ -3734,7 +3734,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3734
3734
|
}
|
|
3735
3735
|
),
|
|
3736
3736
|
/* @__PURE__ */ t(
|
|
3737
|
-
|
|
3737
|
+
we,
|
|
3738
3738
|
{
|
|
3739
3739
|
title: u ? m.formatRichMessage({
|
|
3740
3740
|
id: "abyss-banking.transactions.open-button-tooltip"
|
|
@@ -3765,7 +3765,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3765
3765
|
direction: { md: "row", xs: "row" },
|
|
3766
3766
|
spacing: 1,
|
|
3767
3767
|
children: [
|
|
3768
|
-
r.comment && /* @__PURE__ */ t(d, { display: "flex", alignItems: "center", children: /* @__PURE__ */ t(
|
|
3768
|
+
r.comment && /* @__PURE__ */ t(d, { display: "flex", alignItems: "center", children: /* @__PURE__ */ t(we, { title: r.comment, children: /* @__PURE__ */ t(rl, { sx: { color: h.palette.text.secondary } }) }) }),
|
|
3769
3769
|
i && /* @__PURE__ */ t(d, { sx: { width: { md: "250px", xs: "100%" } }, children: /* @__PURE__ */ t(
|
|
3770
3770
|
Dd,
|
|
3771
3771
|
{
|
|
@@ -3785,7 +3785,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3785
3785
|
ve,
|
|
3786
3786
|
{
|
|
3787
3787
|
size: "small",
|
|
3788
|
-
onClick: () =>
|
|
3788
|
+
onClick: () => S(!k),
|
|
3789
3789
|
children: /* @__PURE__ */ t(
|
|
3790
3790
|
nl,
|
|
3791
3791
|
{
|
|
@@ -3818,7 +3818,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3818
3818
|
`transaction_${r.id}_category_chip_${f.id}`
|
|
3819
3819
|
) : null;
|
|
3820
3820
|
}) }) }),
|
|
3821
|
-
s && /* @__PURE__ */ t(
|
|
3821
|
+
s && /* @__PURE__ */ t(St, { in: k, timeout: "auto", children: /* @__PURE__ */ g(d, { px: 0.5, children: [
|
|
3822
3822
|
/* @__PURE__ */ t(
|
|
3823
3823
|
d,
|
|
3824
3824
|
{
|
|
@@ -3959,7 +3959,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3959
3959
|
}
|
|
3960
3960
|
}
|
|
3961
3961
|
);
|
|
3962
|
-
}, Fd = (e) => String(e),
|
|
3962
|
+
}, Fd = (e) => String(e), Mm = ({
|
|
3963
3963
|
bannerUrl: e,
|
|
3964
3964
|
logoUrl: r,
|
|
3965
3965
|
isStarred: n,
|
|
@@ -3975,7 +3975,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
3975
3975
|
formatNumber: x,
|
|
3976
3976
|
variant: k = "default"
|
|
3977
3977
|
}) => {
|
|
3978
|
-
const
|
|
3978
|
+
const S = J(), v = wt(), f = S.palette.primary.main, y = S.palette.primary.dark, b = S.palette.warning.main, C = S.palette.text.secondary, R = a.createdAt && !isNaN(new Date(a.createdAt).getTime()) ? u ? u(new Date(a.createdAt)) : Qe(new Date(a.createdAt), "P", { locale: v }) : "", w = x ?? Fd, M = k === "compact", E = M ? 90 : 175;
|
|
3979
3979
|
return /* @__PURE__ */ g(
|
|
3980
3980
|
d,
|
|
3981
3981
|
{
|
|
@@ -4139,8 +4139,8 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4139
4139
|
flexShrink: 0
|
|
4140
4140
|
},
|
|
4141
4141
|
children: [
|
|
4142
|
-
!!n && /* @__PURE__ */ t(
|
|
4143
|
-
!!i && /* @__PURE__ */ t(
|
|
4142
|
+
!!n && /* @__PURE__ */ t(we, { title: l ?? "", arrow: !0, children: /* @__PURE__ */ t(Ir, { sx: { fontSize: "1rem", color: f } }) }),
|
|
4143
|
+
!!i && /* @__PURE__ */ t(we, { title: h ?? "", arrow: !0, children: /* @__PURE__ */ t(kn, { sx: { fontSize: "1rem", color: b } }) })
|
|
4144
4144
|
]
|
|
4145
4145
|
}
|
|
4146
4146
|
)
|
|
@@ -4207,7 +4207,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4207
4207
|
variant: "caption",
|
|
4208
4208
|
color: "text.secondary",
|
|
4209
4209
|
fontWeight: 600,
|
|
4210
|
-
children:
|
|
4210
|
+
children: w(s)
|
|
4211
4211
|
}
|
|
4212
4212
|
)
|
|
4213
4213
|
] }),
|
|
@@ -4219,7 +4219,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4219
4219
|
variant: "caption",
|
|
4220
4220
|
color: "text.secondary",
|
|
4221
4221
|
fontWeight: 600,
|
|
4222
|
-
children:
|
|
4222
|
+
children: w(p)
|
|
4223
4223
|
}
|
|
4224
4224
|
)
|
|
4225
4225
|
] })
|
|
@@ -4242,7 +4242,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4242
4242
|
]
|
|
4243
4243
|
}
|
|
4244
4244
|
);
|
|
4245
|
-
}, _d = (e) => String(e),
|
|
4245
|
+
}, _d = (e) => String(e), Am = ({
|
|
4246
4246
|
project: e,
|
|
4247
4247
|
onEdit: r,
|
|
4248
4248
|
onDelete: n,
|
|
@@ -4258,17 +4258,17 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4258
4258
|
formatLanguage: x
|
|
4259
4259
|
}) => {
|
|
4260
4260
|
var $, I, Y, X, pe;
|
|
4261
|
-
const k = J(),
|
|
4261
|
+
const k = J(), S = ke(), v = wt(), f = k.palette.primary.main, y = k.palette.warning.main, b = h ?? ((ie) => Qe(ie, "PP", { locale: v })), C = m ?? _d, R = e.createdAt ? b(new Date(e.createdAt)) : "", w = S.formatRichMessage({
|
|
4262
4262
|
id: "project.spotlight.view-button"
|
|
4263
|
-
}), M =
|
|
4263
|
+
}), M = S.formatRichMessage({
|
|
4264
4264
|
id: "project.spotlight.edit-button"
|
|
4265
|
-
}), E =
|
|
4265
|
+
}), E = S.formatRichMessage({
|
|
4266
4266
|
id: "project.spotlight.delete-button"
|
|
4267
|
-
}), T =
|
|
4267
|
+
}), T = S.formatRichMessage({
|
|
4268
4268
|
id: "project.not-published"
|
|
4269
|
-
}), L =
|
|
4269
|
+
}), L = S.formatRichMessage({ id: "project.spotlight.views" }), z = S.formatRichMessage({ id: "project.spotlight.posts" }), B = S.formatRichMessage({
|
|
4270
4270
|
id: "project.spotlight.followers"
|
|
4271
|
-
}), P =
|
|
4271
|
+
}), P = S.formatRichMessage({
|
|
4272
4272
|
id: "project.spotlight.favorites"
|
|
4273
4273
|
}), W = [
|
|
4274
4274
|
{
|
|
@@ -4502,7 +4502,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4502
4502
|
fontWeight: 600,
|
|
4503
4503
|
fontSize: "0.75rem"
|
|
4504
4504
|
},
|
|
4505
|
-
children:
|
|
4505
|
+
children: w
|
|
4506
4506
|
}
|
|
4507
4507
|
)
|
|
4508
4508
|
}
|
|
@@ -4647,7 +4647,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4647
4647
|
}, Nd = 20, Bd = 10, Hd = 2, jd = (e) => Math.min(
|
|
4648
4648
|
Bd,
|
|
4649
4649
|
Math.max(Hd, Math.floor(e / Nd))
|
|
4650
|
-
), ro = (e) => e instanceof Date ? e.getTime() : typeof e == "number" ? e : parseFloat(e),
|
|
4650
|
+
), ro = (e) => e instanceof Date ? e.getTime() : typeof e == "number" ? e : parseFloat(e), Im = ({
|
|
4651
4651
|
data: e,
|
|
4652
4652
|
xLabel: r,
|
|
4653
4653
|
yLabel: n,
|
|
@@ -4662,13 +4662,13 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4662
4662
|
enableArea: m = !1,
|
|
4663
4663
|
curve: x = "linear",
|
|
4664
4664
|
xScaleType: k = "point",
|
|
4665
|
-
enablePoints:
|
|
4665
|
+
enablePoints: S = !1,
|
|
4666
4666
|
xTickValues: v
|
|
4667
4667
|
}) => {
|
|
4668
4668
|
const f = J(), y = Fr(), b = $e(null), C = `abyss-line-area-${Co().replace(
|
|
4669
4669
|
/[^a-zA-Z0-9_-]/g,
|
|
4670
4670
|
""
|
|
4671
|
-
)}`, R = (D) => `${C}-${D}`, [
|
|
4671
|
+
)}`, R = (D) => `${C}-${D}`, [w, M] = F([]), E = p !== void 0, T = E ? p : w, L = V(
|
|
4672
4672
|
(D) => {
|
|
4673
4673
|
s && s(D), E || M(
|
|
4674
4674
|
(G) => G.includes(D) ? G.filter((Z) => Z !== D) : [...G, D]
|
|
@@ -4818,7 +4818,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4818
4818
|
enableArea: m,
|
|
4819
4819
|
areaOpacity: 1,
|
|
4820
4820
|
areaBlendMode: "normal",
|
|
4821
|
-
enablePoints:
|
|
4821
|
+
enablePoints: S,
|
|
4822
4822
|
enableGridX: !1,
|
|
4823
4823
|
enableGridY: !0,
|
|
4824
4824
|
gridYValues: Te,
|
|
@@ -4997,7 +4997,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
4997
4997
|
}
|
|
4998
4998
|
)
|
|
4999
4999
|
] });
|
|
5000
|
-
},
|
|
5000
|
+
}, zm = ({
|
|
5001
5001
|
data: e,
|
|
5002
5002
|
keys: r,
|
|
5003
5003
|
indexBy: n,
|
|
@@ -5012,7 +5012,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
5012
5012
|
isInteractive: m = !0,
|
|
5013
5013
|
showLegend: x = !0,
|
|
5014
5014
|
showAxis: k = !0,
|
|
5015
|
-
sx:
|
|
5015
|
+
sx: S
|
|
5016
5016
|
}) => {
|
|
5017
5017
|
const v = J(), f = Fr(), y = $e(null), b = [
|
|
5018
5018
|
v.palette.primary.main,
|
|
@@ -5020,9 +5020,9 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
5020
5020
|
v.palette.warning.main,
|
|
5021
5021
|
v.palette.success.main,
|
|
5022
5022
|
v.palette.error.main
|
|
5023
|
-
], C = o ?? b, [R,
|
|
5023
|
+
], C = o ?? b, [R, w] = F([]), M = l !== void 0, E = M ? l : R, T = V(
|
|
5024
5024
|
(N) => {
|
|
5025
|
-
h && h(N), M ||
|
|
5025
|
+
h && h(N), M || w(
|
|
5026
5026
|
(te) => te.includes(N) ? te.filter((ce) => ce !== N) : [...te, N]
|
|
5027
5027
|
);
|
|
5028
5028
|
},
|
|
@@ -5085,7 +5085,7 @@ const eo = ({ icon: e, title: r, color: n }) => {
|
|
|
5085
5085
|
const N = y.current.getBoundingClientRect(), te = 50, be = N.width - te - 20, Re = e.length - 1 || 1, Te = X / Re, K = ie / Re, D = te + Math.min(Te, K) * be, G = te + Math.max(Te, K) * be;
|
|
5086
5086
|
return { left: D, width: G - D };
|
|
5087
5087
|
}, [I, X, ie, e]), H = x && r.length > 0 ? 32 : 0, O = i - H;
|
|
5088
|
-
return /* @__PURE__ */ g(d, { sx: { display: "flex", flexDirection: "column", height: i, ...
|
|
5088
|
+
return /* @__PURE__ */ g(d, { sx: { display: "flex", flexDirection: "column", height: i, ...S }, children: [
|
|
5089
5089
|
/* @__PURE__ */ g(
|
|
5090
5090
|
d,
|
|
5091
5091
|
{
|
|
@@ -5387,7 +5387,7 @@ var Gd = { pointerEvents: "none" }, Ud = function(e) {
|
|
|
5387
5387
|
return n.filter(function(b) {
|
|
5388
5388
|
return Math.abs(gn(b.arc.endAngle - b.arc.startAngle)) >= s;
|
|
5389
5389
|
});
|
|
5390
|
-
}, [n, s]),
|
|
5390
|
+
}, [n, s]), S = Kd(k, p, i), v = S.transition, f = S.interpolate, y = l;
|
|
5391
5391
|
return t("g", { transform: "translate(" + r[0] + "," + r[1] + ")", children: v(function(b, C) {
|
|
5392
5392
|
return De(y, { key: C.id, datum: C, label: h(C), style: Ce({}, b, { transform: f(b.startAngle, b.endAngle, b.innerRadius, b.outerRadius), textColor: x(C) }) });
|
|
5393
5393
|
}) });
|
|
@@ -5406,42 +5406,42 @@ var Gd = { pointerEvents: "none" }, Ud = function(e) {
|
|
|
5406
5406
|
return e.y;
|
|
5407
5407
|
}), tc = function(e, r, n, i, a, p, s) {
|
|
5408
5408
|
return Zt([e, r, n, i, a, p, s], function(o, u, l, h, m, x, k) {
|
|
5409
|
-
var
|
|
5410
|
-
return ec(
|
|
5409
|
+
var S = ii({ startAngle: o, endAngle: u, outerRadius: h }, m, x, k).points;
|
|
5410
|
+
return ec(S);
|
|
5411
5411
|
});
|
|
5412
5412
|
}, rc = function(e, r, n, i) {
|
|
5413
5413
|
return Zt([e, r, n, i], function(a, p, s, o) {
|
|
5414
5414
|
return Zd({ startAngle: a, endAngle: p });
|
|
5415
5415
|
});
|
|
5416
5416
|
}, nc = function(e, r, n, i, a, p, s, o) {
|
|
5417
|
-
return Zt([e, r, n, i, a, p, s, o], function(u, l, h, m, x, k,
|
|
5418
|
-
var f = ii({ startAngle: u, endAngle: l, outerRadius: m }, x, k,
|
|
5417
|
+
return Zt([e, r, n, i, a, p, s, o], function(u, l, h, m, x, k, S, v) {
|
|
5418
|
+
var f = ii({ startAngle: u, endAngle: l, outerRadius: m }, x, k, S), y = f.points, b = f.side, C = y[2];
|
|
5419
5419
|
return b === "before" ? C.x -= v : C.x += v, "translate(" + C.x + "," + C.y + ")";
|
|
5420
5420
|
});
|
|
5421
5421
|
}, oc = function(e) {
|
|
5422
|
-
var r = e.data, n = e.offset, i = n === void 0 ? 0 : n, a = e.diagonalLength, p = e.straightLength, s = e.skipAngle, o = s === void 0 ? 0 : s, u = e.textOffset, l = e.linkColor, h = e.textColor, m = fn(), x = m.animate, k = m.config,
|
|
5422
|
+
var r = e.data, n = e.offset, i = n === void 0 ? 0 : n, a = e.diagonalLength, p = e.straightLength, s = e.skipAngle, o = s === void 0 ? 0 : s, u = e.textOffset, l = e.linkColor, h = e.textColor, m = fn(), x = m.animate, k = m.config, S = Jt(), v = Ar(l, S), f = Ar(h, S), y = function(C, R) {
|
|
5423
5423
|
return ge(function() {
|
|
5424
5424
|
return Vd(C, R);
|
|
5425
5425
|
}, [C, R]);
|
|
5426
5426
|
}(r, o), b = function(C) {
|
|
5427
|
-
var R = C.offset,
|
|
5427
|
+
var R = C.offset, w = C.diagonalLength, M = C.straightLength, E = C.textOffset, T = C.getLinkColor, L = C.getTextColor;
|
|
5428
5428
|
return ge(function() {
|
|
5429
5429
|
return { enter: function(z) {
|
|
5430
5430
|
return { startAngle: z.arc.startAngle, endAngle: z.arc.endAngle, innerRadius: z.arc.innerRadius, outerRadius: z.arc.outerRadius, offset: R, diagonalLength: 0, straightLength: 0, textOffset: E, linkColor: T(z), textColor: L(z), opacity: 0 };
|
|
5431
5431
|
}, update: function(z) {
|
|
5432
|
-
return { startAngle: z.arc.startAngle, endAngle: z.arc.endAngle, innerRadius: z.arc.innerRadius, outerRadius: z.arc.outerRadius, offset: R, diagonalLength:
|
|
5432
|
+
return { startAngle: z.arc.startAngle, endAngle: z.arc.endAngle, innerRadius: z.arc.innerRadius, outerRadius: z.arc.outerRadius, offset: R, diagonalLength: w, straightLength: M, textOffset: E, linkColor: T(z), textColor: L(z), opacity: 1 };
|
|
5433
5433
|
}, leave: function(z) {
|
|
5434
5434
|
return { startAngle: z.arc.startAngle, endAngle: z.arc.endAngle, innerRadius: z.arc.innerRadius, outerRadius: z.arc.outerRadius, offset: R, diagonalLength: 0, straightLength: 0, textOffset: E, linkColor: T(z), textColor: L(z), opacity: 0 };
|
|
5435
5435
|
} };
|
|
5436
|
-
}, [
|
|
5436
|
+
}, [w, M, E, T, L, R]);
|
|
5437
5437
|
}({ offset: i, diagonalLength: a, straightLength: p, textOffset: u, getLinkColor: v, getTextColor: f });
|
|
5438
5438
|
return { transition: xn(y, { keys: function(C) {
|
|
5439
5439
|
return C.id;
|
|
5440
5440
|
}, initial: b.update, from: b.enter, enter: b.update, update: b.update, leave: b.leave, config: k, immediate: !x }), interpolateLink: tc, interpolateTextAnchor: rc, interpolateTextPosition: nc };
|
|
5441
5441
|
}, ic = function(e) {
|
|
5442
|
-
var r = e.center, n = e.data, i = e.label, a = e.skipAngle, p = e.offset, s = e.diagonalLength, o = e.straightLength, u = e.strokeWidth, l = e.textOffset, h = e.textColor, m = e.linkColor, x = e.component, k = x === void 0 ? Jd : x,
|
|
5443
|
-
return t("g", { transform: "translate(" + r[0] + "," + r[1] + ")", children: f(function(
|
|
5444
|
-
return De(R, { key: M.id, datum: M, label:
|
|
5442
|
+
var r = e.center, n = e.data, i = e.label, a = e.skipAngle, p = e.offset, s = e.diagonalLength, o = e.straightLength, u = e.strokeWidth, l = e.textOffset, h = e.textColor, m = e.linkColor, x = e.component, k = x === void 0 ? Jd : x, S = Mr(i), v = oc({ data: n, skipAngle: a, offset: p, diagonalLength: s, straightLength: o, textOffset: l, linkColor: m, textColor: h }), f = v.transition, y = v.interpolateLink, b = v.interpolateTextAnchor, C = v.interpolateTextPosition, R = k;
|
|
5443
|
+
return t("g", { transform: "translate(" + r[0] + "," + r[1] + ")", children: f(function(w, M) {
|
|
5444
|
+
return De(R, { key: M.id, datum: M, label: S(M), style: Ce({}, w, { thickness: u, path: y(w.startAngle, w.endAngle, w.innerRadius, w.outerRadius, w.offset, w.diagonalLength, w.straightLength), textAnchor: b(w.startAngle, w.endAngle, w.innerRadius, w.outerRadius), textPosition: C(w.startAngle, w.endAngle, w.innerRadius, w.outerRadius, w.offset, w.diagonalLength, w.straightLength, w.textOffset) }) });
|
|
5445
5445
|
}) });
|
|
5446
5446
|
}, ac = function(e) {
|
|
5447
5447
|
var r = e.datum, n = e.style, i = e.onClick, a = e.onMouseEnter, p = e.onMouseMove, s = e.onMouseLeave, o = V(function(m) {
|
|
@@ -5465,12 +5465,12 @@ var Gd = { pointerEvents: "none" }, Ud = function(e) {
|
|
|
5465
5465
|
return o.id;
|
|
5466
5466
|
}, initial: s.update, from: s.enter, enter: s.update, update: s.update, leave: s.leave, config: p, immediate: !a }), interpolate: lc };
|
|
5467
5467
|
}, dc = function(e) {
|
|
5468
|
-
var r = e.center, n = e.data, i = e.arcGenerator, a = e.borderWidth, p = e.borderColor, s = e.onClick, o = e.onMouseEnter, u = e.onMouseMove, l = e.onMouseLeave, h = e.transitionMode, m = e.component, x = m === void 0 ? ac : m, k = Jt(),
|
|
5469
|
-
return { opacity: 0, color: C.color, borderColor:
|
|
5468
|
+
var r = e.center, n = e.data, i = e.arcGenerator, a = e.borderWidth, p = e.borderColor, s = e.onClick, o = e.onMouseEnter, u = e.onMouseMove, l = e.onMouseLeave, h = e.transitionMode, m = e.component, x = m === void 0 ? ac : m, k = Jt(), S = Ar(p, k), v = sc(n, h, { enter: function(C) {
|
|
5469
|
+
return { opacity: 0, color: C.color, borderColor: S(C) };
|
|
5470
5470
|
}, update: function(C) {
|
|
5471
|
-
return { opacity: 1, color: C.color, borderColor:
|
|
5471
|
+
return { opacity: 1, color: C.color, borderColor: S(C) };
|
|
5472
5472
|
}, leave: function(C) {
|
|
5473
|
-
return { opacity: 0, color: C.color, borderColor:
|
|
5473
|
+
return { opacity: 0, color: C.color, borderColor: S(C) };
|
|
5474
5474
|
} }), f = v.transition, y = v.interpolate, b = x;
|
|
5475
5475
|
return t("g", { transform: "translate(" + r[0] + "," + r[1] + ")", children: f(function(C, R) {
|
|
5476
5476
|
return De(b, { key: R.id, datum: R, style: Ce({}, C, { borderWidth: a, path: y(C.startAngle, C.endAngle, C.innerRadius, C.outerRadius, i) }), onClick: s, onMouseEnter: o, onMouseMove: u, onMouseLeave: l });
|
|
@@ -5493,8 +5493,8 @@ var Gd = { pointerEvents: "none" }, Ud = function(e) {
|
|
|
5493
5493
|
return f[0];
|
|
5494
5494
|
}), x = s.map(function(f) {
|
|
5495
5495
|
return f[1];
|
|
5496
|
-
}), k = Math.min.apply(Math, m),
|
|
5497
|
-
return { points: s, x: k, y: v, width:
|
|
5496
|
+
}), k = Math.min.apply(Math, m), S = Math.max.apply(Math, m), v = Math.min.apply(Math, x);
|
|
5497
|
+
return { points: s, x: k, y: v, width: S - k, height: Math.max.apply(Math, x) - v };
|
|
5498
5498
|
}, pc = function(e) {
|
|
5499
5499
|
var r = e === void 0 ? {} : e, n = r.cornerRadius, i = n === void 0 ? 0 : n, a = r.padAngle, p = a === void 0 ? 0 : a;
|
|
5500
5500
|
return ge(function() {
|
|
@@ -5528,12 +5528,12 @@ var uc = function(e) {
|
|
|
5528
5528
|
}) });
|
|
5529
5529
|
}, oe = { id: "id", value: "value", sortByValue: !1, innerRadius: 0, padAngle: 0, cornerRadius: 0, layers: ["arcs", "arcLinkLabels", "arcLabels", "legends"], startAngle: 0, endAngle: 360, fit: !0, activeInnerRadiusOffset: 0, activeOuterRadiusOffset: 0, borderWidth: 0, borderColor: { from: "color", modifiers: [["darker", 1]] }, enableArcLabels: !0, arcLabel: "formattedValue", arcLabelsSkipAngle: 0, arcLabelsRadiusOffset: 0.5, arcLabelsTextColor: { theme: "labels.text.fill" }, enableArcLinkLabels: !0, arcLinkLabel: "id", arcLinkLabelsSkipAngle: 0, arcLinkLabelsOffset: 0, arcLinkLabelsDiagonalLength: 16, arcLinkLabelsStraightLength: 24, arcLinkLabelsThickness: 1, arcLinkLabelsTextOffset: 6, arcLinkLabelsTextColor: { theme: "labels.text.fill" }, arcLinkLabelsColor: { theme: "axis.ticks.line.stroke" }, colors: { scheme: "nivo" }, defs: [], fill: [], isInteractive: !0, animate: !0, motionConfig: "gentle", transitionMode: "innerRadius", tooltip: function(e) {
|
|
5530
5530
|
var r = e.datum;
|
|
5531
|
-
return t(
|
|
5531
|
+
return t(Sa, { id: r.id, value: r.formattedValue, enableChip: !0, color: r.color });
|
|
5532
5532
|
}, legends: [], role: "img" }, mc = ["points"], hc = function(e) {
|
|
5533
5533
|
var r = e.data, n = e.id, i = n === void 0 ? oe.id : n, a = e.value, p = a === void 0 ? oe.value : a, s = e.valueFormat, o = e.colors, u = o === void 0 ? oe.colors : o, l = Mr(i), h = Mr(p), m = ya(s), x = va(u, "id");
|
|
5534
5534
|
return ge(function() {
|
|
5535
5535
|
return r.map(function(k) {
|
|
5536
|
-
var
|
|
5536
|
+
var S, v = l(k), f = h(k), y = { id: v, label: (S = k.label) != null ? S : v, hidden: !1, value: f, formattedValue: m(f), data: k };
|
|
5537
5537
|
return pt({}, y, { color: x(y) });
|
|
5538
5538
|
});
|
|
5539
5539
|
}, [r, l, h, m, x]);
|
|
@@ -5543,7 +5543,7 @@ var uc = function(e) {
|
|
|
5543
5543
|
return b.value;
|
|
5544
5544
|
}).startAngle(yt(n)).endAngle(yt(i)).padAngle(yt(s));
|
|
5545
5545
|
return o || y.sortValues(null), y;
|
|
5546
|
-
}, [n, i, s, o]),
|
|
5546
|
+
}, [n, i, s, o]), S = ge(function() {
|
|
5547
5547
|
var y = r.filter(function(b) {
|
|
5548
5548
|
return !m.includes(b.id);
|
|
5549
5549
|
});
|
|
@@ -5553,24 +5553,24 @@ var uc = function(e) {
|
|
|
5553
5553
|
}), legendData: r.map(function(b) {
|
|
5554
5554
|
return { id: b.id, label: b.label, color: b.color, hidden: m.includes(b.id), data: b };
|
|
5555
5555
|
}) };
|
|
5556
|
-
}, [k, r, m, u, a, l, p, h]), v =
|
|
5556
|
+
}, [k, r, m, u, a, l, p, h]), v = S.legendData, f = $e(x);
|
|
5557
5557
|
return ye(function() {
|
|
5558
5558
|
typeof f.current == "function" && f.current(v);
|
|
5559
|
-
}, [f, v]),
|
|
5559
|
+
}, [f, v]), S;
|
|
5560
5560
|
}, fc = function(e) {
|
|
5561
5561
|
var r = e.activeId, n = e.onActiveIdChange, i = e.defaultActiveId, a = r !== void 0, p = F(a || i === void 0 ? null : i), s = p[0], o = p[1];
|
|
5562
5562
|
return { activeId: a ? r : s, setActiveId: V(function(u) {
|
|
5563
5563
|
n && n(u), a || o(u);
|
|
5564
5564
|
}, [a, n, o]) };
|
|
5565
5565
|
}, xc = function(e) {
|
|
5566
|
-
var r = e.data, n = e.width, i = e.height, a = e.innerRadius, p = a === void 0 ? oe.innerRadius : a, s = e.startAngle, o = s === void 0 ? oe.startAngle : s, u = e.endAngle, l = u === void 0 ? oe.endAngle : u, h = e.padAngle, m = h === void 0 ? oe.padAngle : h, x = e.sortByValue, k = x === void 0 ? oe.sortByValue : x,
|
|
5566
|
+
var r = e.data, n = e.width, i = e.height, a = e.innerRadius, p = a === void 0 ? oe.innerRadius : a, s = e.startAngle, o = s === void 0 ? oe.startAngle : s, u = e.endAngle, l = u === void 0 ? oe.endAngle : u, h = e.padAngle, m = h === void 0 ? oe.padAngle : h, x = e.sortByValue, k = x === void 0 ? oe.sortByValue : x, S = e.cornerRadius, v = S === void 0 ? oe.cornerRadius : S, f = e.fit, y = f === void 0 ? oe.fit : f, b = e.activeInnerRadiusOffset, C = b === void 0 ? oe.activeInnerRadiusOffset : b, R = e.activeOuterRadiusOffset, w = R === void 0 ? oe.activeOuterRadiusOffset : R, M = e.activeId, E = e.onActiveIdChange, T = e.defaultActiveId, L = e.forwardLegendData, z = fc({ activeId: M, onActiveIdChange: E, defaultActiveId: T }), B = z.activeId, P = z.setActiveId, W = F([]), $ = W[0], I = W[1], Y = ge(function() {
|
|
5567
5567
|
var ie, se = Math.min(n, i) / 2, re = se * Math.min(p, 1), ae = n / 2, le = i / 2;
|
|
5568
5568
|
if (y) {
|
|
5569
5569
|
var he = cc(ae, le, se, o - 90, l - 90), q = he.points, U = ai(he, mc), Q = Math.min(n / U.width, i / U.height), ee = { width: U.width * Q, height: U.height * Q };
|
|
5570
5570
|
ee.x = (n - ee.width) / 2, ee.y = (i - ee.height) / 2, ae = (ae - U.x) / U.width * U.width * Q + ee.x, le = (le - U.y) / U.height * U.height * Q + ee.y, ie = { box: U, ratio: Q, points: q }, se *= Q, re *= Q;
|
|
5571
5571
|
}
|
|
5572
5572
|
return { centerX: ae, centerY: le, radius: se, innerRadius: re, debug: ie };
|
|
5573
|
-
}, [n, i, p, o, l, y]), X = gc({ data: r, startAngle: o, endAngle: l, innerRadius: Y.innerRadius, outerRadius: Y.radius, padAngle: m, sortByValue: k, activeId: B, activeInnerRadiusOffset: C, activeOuterRadiusOffset:
|
|
5573
|
+
}, [n, i, p, o, l, y]), X = gc({ data: r, startAngle: o, endAngle: l, innerRadius: Y.innerRadius, outerRadius: Y.radius, padAngle: m, sortByValue: k, activeId: B, activeInnerRadiusOffset: C, activeOuterRadiusOffset: w, hiddenIds: $, forwardLegendData: L }), pe = V(function(ie) {
|
|
5574
5574
|
I(function(se) {
|
|
5575
5575
|
return se.indexOf(ie) > -1 ? se.filter(function(re) {
|
|
5576
5576
|
return re !== ie;
|
|
@@ -5584,41 +5584,41 @@ var uc = function(e) {
|
|
|
5584
5584
|
return { dataWithArc: r, arcGenerator: n, centerX: i, centerY: a, radius: p, innerRadius: s };
|
|
5585
5585
|
}, [r, n, i, a, p, s]);
|
|
5586
5586
|
}, yc = function(e) {
|
|
5587
|
-
var r = e.center, n = e.data, i = e.arcGenerator, a = e.borderWidth, p = e.borderColor, s = e.isInteractive, o = e.onClick, u = e.onMouseEnter, l = e.onMouseMove, h = e.onMouseLeave, m = e.setActiveId, x = e.tooltip, k = e.transitionMode,
|
|
5588
|
-
if (s) return function(
|
|
5589
|
-
o == null || o(
|
|
5587
|
+
var r = e.center, n = e.data, i = e.arcGenerator, a = e.borderWidth, p = e.borderColor, s = e.isInteractive, o = e.onClick, u = e.onMouseEnter, l = e.onMouseMove, h = e.onMouseLeave, m = e.setActiveId, x = e.tooltip, k = e.transitionMode, S = ka(), v = S.showTooltipFromEvent, f = S.hideTooltip, y = ge(function() {
|
|
5588
|
+
if (s) return function(w, M) {
|
|
5589
|
+
o == null || o(w, M);
|
|
5590
5590
|
};
|
|
5591
5591
|
}, [s, o]), b = ge(function() {
|
|
5592
|
-
if (s) return function(
|
|
5593
|
-
v(De(x, { datum:
|
|
5592
|
+
if (s) return function(w, M) {
|
|
5593
|
+
v(De(x, { datum: w }), M), m(w.id), u == null || u(w, M);
|
|
5594
5594
|
};
|
|
5595
5595
|
}, [s, v, m, u, x]), C = ge(function() {
|
|
5596
|
-
if (s) return function(
|
|
5597
|
-
v(De(x, { datum:
|
|
5596
|
+
if (s) return function(w, M) {
|
|
5597
|
+
v(De(x, { datum: w }), M), l == null || l(w, M);
|
|
5598
5598
|
};
|
|
5599
5599
|
}, [s, v, l, x]), R = ge(function() {
|
|
5600
|
-
if (s) return function(
|
|
5601
|
-
f(), m(null), h == null || h(
|
|
5600
|
+
if (s) return function(w, M) {
|
|
5601
|
+
f(), m(null), h == null || h(w, M);
|
|
5602
5602
|
};
|
|
5603
5603
|
}, [s, f, m, h]);
|
|
5604
5604
|
return t(dc, { center: r, data: n, arcGenerator: i, borderWidth: a, borderColor: p, transitionMode: k, onClick: y, onMouseEnter: b, onMouseMove: C, onMouseLeave: R });
|
|
5605
5605
|
}, vc = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], kc = function(e) {
|
|
5606
|
-
var r = e.data, n = e.id, i = n === void 0 ? oe.id : n, a = e.value, p = a === void 0 ? oe.value : a, s = e.valueFormat, o = e.sortByValue, u = o === void 0 ? oe.sortByValue : o, l = e.layers, h = l === void 0 ? oe.layers : l, m = e.startAngle, x = m === void 0 ? oe.startAngle : m, k = e.endAngle,
|
|
5606
|
+
var r = e.data, n = e.id, i = n === void 0 ? oe.id : n, a = e.value, p = a === void 0 ? oe.value : a, s = e.valueFormat, o = e.sortByValue, u = o === void 0 ? oe.sortByValue : o, l = e.layers, h = l === void 0 ? oe.layers : l, m = e.startAngle, x = m === void 0 ? oe.startAngle : m, k = e.endAngle, S = k === void 0 ? oe.endAngle : k, v = e.padAngle, f = v === void 0 ? oe.padAngle : v, y = e.fit, b = y === void 0 ? oe.fit : y, C = e.innerRadius, R = C === void 0 ? oe.innerRadius : C, w = e.cornerRadius, M = w === void 0 ? oe.cornerRadius : w, E = e.activeInnerRadiusOffset, T = E === void 0 ? oe.activeInnerRadiusOffset : E, L = e.activeOuterRadiusOffset, z = L === void 0 ? oe.activeOuterRadiusOffset : L, B = e.width, P = e.height, W = e.margin, $ = e.colors, I = $ === void 0 ? oe.colors : $, Y = e.borderWidth, X = Y === void 0 ? oe.borderWidth : Y, pe = e.borderColor, ie = pe === void 0 ? oe.borderColor : pe, se = e.enableArcLabels, re = se === void 0 ? oe.enableArcLabels : se, ae = e.arcLabel, le = ae === void 0 ? oe.arcLabel : ae, he = e.arcLabelsSkipAngle, q = he === void 0 ? oe.arcLabelsSkipAngle : he, U = e.arcLabelsTextColor, Q = U === void 0 ? oe.arcLabelsTextColor : U, ee = e.arcLabelsRadiusOffset, H = ee === void 0 ? oe.arcLabelsRadiusOffset : ee, O = e.arcLabelsComponent, N = e.enableArcLinkLabels, te = N === void 0 ? oe.enableArcLinkLabels : N, ce = e.arcLinkLabel, be = ce === void 0 ? oe.arcLinkLabel : ce, Re = e.arcLinkLabelsSkipAngle, Te = Re === void 0 ? oe.arcLinkLabelsSkipAngle : Re, K = e.arcLinkLabelsOffset, D = K === void 0 ? oe.arcLinkLabelsOffset : K, G = e.arcLinkLabelsDiagonalLength, Z = G === void 0 ? oe.arcLinkLabelsDiagonalLength : G, me = e.arcLinkLabelsStraightLength, ze = me === void 0 ? oe.arcLinkLabelsStraightLength : me, Me = e.arcLinkLabelsThickness, Be = Me === void 0 ? oe.arcLinkLabelsThickness : Me, Pe = e.arcLinkLabelsTextOffset, Ee = Pe === void 0 ? oe.arcLinkLabelsTextOffset : Pe, ot = e.arcLinkLabelsTextColor, Xe = ot === void 0 ? oe.arcLinkLabelsTextColor : ot, Dt = e.arcLinkLabelsColor, tr = Dt === void 0 ? oe.arcLinkLabelsColor : Dt, Nr = e.arcLinkLabelComponent, rr = e.defs, Rt = rr === void 0 ? oe.defs : rr, nr = e.fill, or = nr === void 0 ? oe.fill : nr, ir = e.isInteractive, ar = ir === void 0 ? oe.isInteractive : ir, Br = e.onClick, lr = e.onMouseEnter, sr = e.onMouseMove, ne = e.onMouseLeave, ue = e.tooltip, Le = ue === void 0 ? oe.tooltip : ue, Ve = e.activeId, Mt = e.onActiveIdChange, Ci = e.defaultActiveId, zn = e.transitionMode, Ln = zn === void 0 ? oe.transitionMode : zn, $n = e.legends, On = $n === void 0 ? oe.legends : $n, Si = e.forwardLegendData, Tn = e.role, wi = Tn === void 0 ? oe.role : Tn, Pt = fa(B, P, W), Ri = Pt.outerWidth, Mi = Pt.outerHeight, Ai = Pt.margin, En = Pt.innerWidth, Wn = Pt.innerHeight, Ii = hc({ data: r, id: i, value: p, valueFormat: s, colors: I }), et = xc({ data: Ii, width: En, height: Wn, fit: b, innerRadius: R, startAngle: x, endAngle: S, padAngle: f, sortByValue: u, cornerRadius: M, activeInnerRadiusOffset: T, activeOuterRadiusOffset: z, activeId: Ve, onActiveIdChange: Mt, defaultActiveId: Ci, forwardLegendData: Si }), Ft = et.dataWithArc, zi = et.legendData, Dn = et.arcGenerator, dr = et.centerX, cr = et.centerY, Li = et.radius, $i = et.innerRadius, Oi = et.setActiveId, Ti = et.toggleSerie, Ei = xa(Rt, Ft, or), At = { arcs: null, arcLinkLabels: null, arcLabels: null, legends: null };
|
|
5607
5607
|
h.includes("arcs") && (At.arcs = t(yc, { center: [dr, cr], data: Ft, arcGenerator: Dn, borderWidth: X, borderColor: ie, isInteractive: ar, onClick: Br, onMouseEnter: lr, onMouseMove: sr, onMouseLeave: ne, setActiveId: Oi, tooltip: Le, transitionMode: Ln }, "arcs")), te && h.includes("arcLinkLabels") && (At.arcLinkLabels = t(ic, { center: [dr, cr], data: Ft, label: be, skipAngle: Te, offset: D, diagonalLength: Z, straightLength: ze, strokeWidth: Be, textOffset: Ee, textColor: Xe, linkColor: tr, component: Nr }, "arcLinkLabels")), re && h.includes("arcLabels") && (At.arcLabels = t(Qd, { center: [dr, cr], data: Ft, label: le, radiusOffset: H, skipAngle: q, textColor: Q, transitionMode: Ln, component: O }, "arcLabels")), On.length > 0 && h.includes("legends") && (At.legends = t(uc, { width: En, height: Wn, data: zi, legends: On, toggleSerie: Ti }, "legends"));
|
|
5608
5608
|
var Wi = bc({ dataWithArc: Ft, arcGenerator: Dn, centerX: dr, centerY: cr, radius: Li, innerRadius: $i });
|
|
5609
|
-
return t(ba, { width: Ri, height: Mi, margin: Ai, defs: Ei, role:
|
|
5609
|
+
return t(ba, { width: Ri, height: Mi, margin: Ai, defs: Ei, role: wi, children: h.map(function(pr, Di) {
|
|
5610
5610
|
return At[pr] !== void 0 ? At[pr] : typeof pr == "function" ? t(Zi, { children: De(pr, Wi) }, Di) : null;
|
|
5611
5611
|
}) });
|
|
5612
5612
|
}, Cc = function(e) {
|
|
5613
5613
|
var r = e.isInteractive, n = r === void 0 ? oe.isInteractive : r, i = e.animate, a = i === void 0 ? oe.animate : i, p = e.motionConfig, s = p === void 0 ? oe.motionConfig : p, o = e.theme, u = e.renderWrapper, l = ai(e, vc);
|
|
5614
5614
|
return t(ga, { animate: a, isInteractive: n, motionConfig: s, renderWrapper: u, theme: o, children: t(kc, pt({ isInteractive: n }, l)) });
|
|
5615
|
-
},
|
|
5615
|
+
}, Sc = function(e) {
|
|
5616
5616
|
return t(ha, { children: function(r) {
|
|
5617
5617
|
var n = r.width, i = r.height;
|
|
5618
5618
|
return t(Cc, pt({ width: n, height: i }, e));
|
|
5619
5619
|
} });
|
|
5620
5620
|
};
|
|
5621
|
-
const
|
|
5621
|
+
const Lm = ({
|
|
5622
5622
|
data: e,
|
|
5623
5623
|
height: r = 300,
|
|
5624
5624
|
donut: n = !0,
|
|
@@ -5634,18 +5634,18 @@ const zm = ({
|
|
|
5634
5634
|
o.palette.success.main,
|
|
5635
5635
|
o.palette.error.main
|
|
5636
5636
|
], h = i ?? l, m = a && e.length > 0 ? 32 : 0, x = _e.useMemo(() => {
|
|
5637
|
-
const
|
|
5637
|
+
const S = {};
|
|
5638
5638
|
return e.forEach((v, f) => {
|
|
5639
|
-
|
|
5640
|
-
}),
|
|
5639
|
+
S[v.id] = h[f % h.length];
|
|
5640
|
+
}), S;
|
|
5641
5641
|
}, [e, h]), k = r - m;
|
|
5642
5642
|
return /* @__PURE__ */ g(d, { sx: { display: "flex", flexDirection: "column", height: r, ...s }, children: [
|
|
5643
5643
|
/* @__PURE__ */ t(d, { sx: { height: k, minHeight: 0, position: "relative" }, children: /* @__PURE__ */ t(
|
|
5644
|
-
|
|
5644
|
+
Sc,
|
|
5645
5645
|
{
|
|
5646
5646
|
data: e,
|
|
5647
5647
|
theme: u,
|
|
5648
|
-
colors: (
|
|
5648
|
+
colors: (S) => x[S.id] ?? h[0],
|
|
5649
5649
|
margin: {
|
|
5650
5650
|
top: 15,
|
|
5651
5651
|
right: 15,
|
|
@@ -5659,7 +5659,7 @@ const zm = ({
|
|
|
5659
5659
|
borderWidth: 0,
|
|
5660
5660
|
enableArcLinkLabels: !1,
|
|
5661
5661
|
enableArcLabels: !1,
|
|
5662
|
-
tooltip: ({ datum:
|
|
5662
|
+
tooltip: ({ datum: S }) => /* @__PURE__ */ g(
|
|
5663
5663
|
d,
|
|
5664
5664
|
{
|
|
5665
5665
|
sx: {
|
|
@@ -5684,16 +5684,16 @@ const zm = ({
|
|
|
5684
5684
|
width: 10,
|
|
5685
5685
|
height: 10,
|
|
5686
5686
|
borderRadius: "50%",
|
|
5687
|
-
backgroundColor:
|
|
5687
|
+
backgroundColor: S.color,
|
|
5688
5688
|
flexShrink: 0
|
|
5689
5689
|
}
|
|
5690
5690
|
}
|
|
5691
5691
|
),
|
|
5692
5692
|
/* @__PURE__ */ g("span", { children: [
|
|
5693
|
-
/* @__PURE__ */ t("strong", { children:
|
|
5693
|
+
/* @__PURE__ */ t("strong", { children: S.label ?? S.id }),
|
|
5694
5694
|
":",
|
|
5695
5695
|
" ",
|
|
5696
|
-
p ? p(
|
|
5696
|
+
p ? p(S.value) : S.value
|
|
5697
5697
|
] })
|
|
5698
5698
|
]
|
|
5699
5699
|
}
|
|
@@ -5712,8 +5712,8 @@ const zm = ({
|
|
|
5712
5712
|
height: m,
|
|
5713
5713
|
alignItems: "center"
|
|
5714
5714
|
},
|
|
5715
|
-
children: e.map((
|
|
5716
|
-
const v = x[
|
|
5715
|
+
children: e.map((S) => {
|
|
5716
|
+
const v = x[S.id] ?? h[0];
|
|
5717
5717
|
return /* @__PURE__ */ g(
|
|
5718
5718
|
d,
|
|
5719
5719
|
{
|
|
@@ -5740,12 +5740,12 @@ const zm = ({
|
|
|
5740
5740
|
color: o.palette.text.secondary,
|
|
5741
5741
|
fontFamily: "Lexend, Inter, sans-serif"
|
|
5742
5742
|
},
|
|
5743
|
-
children:
|
|
5743
|
+
children: S.label ?? S.id
|
|
5744
5744
|
}
|
|
5745
5745
|
)
|
|
5746
5746
|
]
|
|
5747
5747
|
},
|
|
5748
|
-
|
|
5748
|
+
S.id
|
|
5749
5749
|
);
|
|
5750
5750
|
})
|
|
5751
5751
|
}
|
|
@@ -5764,12 +5764,12 @@ const zm = ({
|
|
|
5764
5764
|
}, no = (e, r) => {
|
|
5765
5765
|
const n = new Date(e);
|
|
5766
5766
|
return Number.isNaN(n.getTime()) ? e : r.formatDate(n, { day: "2-digit", month: "short" });
|
|
5767
|
-
},
|
|
5767
|
+
}, $m = ({
|
|
5768
5768
|
data: e,
|
|
5769
5769
|
currency: r,
|
|
5770
5770
|
height: n = 300
|
|
5771
5771
|
}) => {
|
|
5772
|
-
var k,
|
|
5772
|
+
var k, S;
|
|
5773
5773
|
const i = J(), a = Fr(), p = ke(), s = {
|
|
5774
5774
|
id: "Balance",
|
|
5775
5775
|
data: e.map((v) => ({ x: v.date, y: v.balance }))
|
|
@@ -5778,7 +5778,7 @@ const zm = ({
|
|
|
5778
5778
|
((k = e[0]) == null ? void 0 : k.balance) ?? 0
|
|
5779
5779
|
), h = e.reduce(
|
|
5780
5780
|
(v, f) => f.balance > v ? f.balance : v,
|
|
5781
|
-
((
|
|
5781
|
+
((S = e[0]) == null ? void 0 : S.balance) ?? 0
|
|
5782
5782
|
), m = u ? i.palette.error.main : i.palette.primary.main, x = u ? i.palette.error.main : i.palette.primary.main;
|
|
5783
5783
|
return /* @__PURE__ */ g(
|
|
5784
5784
|
vr,
|
|
@@ -5898,7 +5898,7 @@ const zm = ({
|
|
|
5898
5898
|
]
|
|
5899
5899
|
}
|
|
5900
5900
|
);
|
|
5901
|
-
},
|
|
5901
|
+
}, Om = ({ level: e }) => /* @__PURE__ */ t(
|
|
5902
5902
|
Ae,
|
|
5903
5903
|
{
|
|
5904
5904
|
size: "small",
|
|
@@ -5907,7 +5907,7 @@ const zm = ({
|
|
|
5907
5907
|
label: it[e]
|
|
5908
5908
|
},
|
|
5909
5909
|
it[e]
|
|
5910
|
-
), xr = (e) => e === null || e === an.ACTIVE ? Dr[500] : e === an.ARCHIVED ? je[300] : ut[400],
|
|
5910
|
+
), xr = (e) => e === null || e === an.ACTIVE ? Dr[500] : e === an.ARCHIVED ? je[300] : ut[400], Tm = [
|
|
5911
5911
|
{ name: "Article", component: sl },
|
|
5912
5912
|
{ name: "Description", component: Oo },
|
|
5913
5913
|
{ name: "Note", component: dl },
|
|
@@ -5925,12 +5925,12 @@ const zm = ({
|
|
|
5925
5925
|
{ name: "Code", component: vl },
|
|
5926
5926
|
{ name: "BugReport", component: kl },
|
|
5927
5927
|
{ name: "Build", component: Cl },
|
|
5928
|
-
{ name: "Settings", component:
|
|
5928
|
+
{ name: "Settings", component: Sn },
|
|
5929
5929
|
{ name: "Info", component: No },
|
|
5930
|
-
{ name: "Help", component:
|
|
5930
|
+
{ name: "Help", component: Sl },
|
|
5931
5931
|
{ name: "Star", component: kn },
|
|
5932
5932
|
{ name: "Favorite", component: Ir },
|
|
5933
|
-
{ name: "Flag", component:
|
|
5933
|
+
{ name: "Flag", component: wl },
|
|
5934
5934
|
{ name: "Label", component: Rl },
|
|
5935
5935
|
{ name: "LocalOffer", component: Wo },
|
|
5936
5936
|
{ name: "Lightbulb", component: Ml },
|
|
@@ -5948,7 +5948,7 @@ const zm = ({
|
|
|
5948
5948
|
{ name: "Lock", component: Dl },
|
|
5949
5949
|
{ name: "Key", component: Pl },
|
|
5950
5950
|
{ name: "VpnKey", component: Fl }
|
|
5951
|
-
],
|
|
5951
|
+
], Em = [
|
|
5952
5952
|
"#FF6B6B",
|
|
5953
5953
|
"#4ECDC4",
|
|
5954
5954
|
"#45B7D1",
|
|
@@ -5969,7 +5969,7 @@ const zm = ({
|
|
|
5969
5969
|
"#FDCB6E",
|
|
5970
5970
|
"#55EFC4",
|
|
5971
5971
|
"#81ECEC"
|
|
5972
|
-
],
|
|
5972
|
+
], Wm = ({ status: e }) => {
|
|
5973
5973
|
const r = ke();
|
|
5974
5974
|
return /* @__PURE__ */ t(
|
|
5975
5975
|
d,
|
|
@@ -6012,7 +6012,7 @@ const zm = ({
|
|
|
6012
6012
|
] })
|
|
6013
6013
|
}
|
|
6014
6014
|
);
|
|
6015
|
-
},
|
|
6015
|
+
}, Dm = ({ responseCode: e }) => {
|
|
6016
6016
|
const { palette: r } = J(), n = r.mode === "dark", i = (p) => n ? p.light : _i(p.dark, 0.1), a = e ? e >= 200 && e < 300 ? i(r.success) : e >= 300 && e < 400 ? r.text.primary : e >= 400 && e < 500 ? i(r.warning) : i(r.error) : r.text.primary;
|
|
6017
6017
|
return /* @__PURE__ */ t(
|
|
6018
6018
|
d,
|
|
@@ -6038,7 +6038,7 @@ const zm = ({
|
|
|
6038
6038
|
)
|
|
6039
6039
|
}
|
|
6040
6040
|
);
|
|
6041
|
-
},
|
|
6041
|
+
}, Pm = ({ value: e }) => /* @__PURE__ */ t(
|
|
6042
6042
|
Ae,
|
|
6043
6043
|
{
|
|
6044
6044
|
size: "small",
|
|
@@ -6047,7 +6047,7 @@ const zm = ({
|
|
|
6047
6047
|
label: e
|
|
6048
6048
|
},
|
|
6049
6049
|
e
|
|
6050
|
-
),
|
|
6050
|
+
), Fm = ({ value: e }) => /* @__PURE__ */ t(
|
|
6051
6051
|
Ae,
|
|
6052
6052
|
{
|
|
6053
6053
|
size: "small",
|
|
@@ -6056,7 +6056,7 @@ const zm = ({
|
|
|
6056
6056
|
label: e
|
|
6057
6057
|
},
|
|
6058
6058
|
e
|
|
6059
|
-
),
|
|
6059
|
+
), _m = ({ value: e }) => /* @__PURE__ */ t(
|
|
6060
6060
|
d,
|
|
6061
6061
|
{
|
|
6062
6062
|
px: 2,
|
|
@@ -6073,7 +6073,7 @@ const zm = ({
|
|
|
6073
6073
|
children: e
|
|
6074
6074
|
},
|
|
6075
6075
|
e
|
|
6076
|
-
),
|
|
6076
|
+
), wc = 420, Nm = ({
|
|
6077
6077
|
open: e,
|
|
6078
6078
|
onClose: r,
|
|
6079
6079
|
query: n,
|
|
@@ -6085,15 +6085,15 @@ const zm = ({
|
|
|
6085
6085
|
emptyLabel: u,
|
|
6086
6086
|
loadingLabel: l,
|
|
6087
6087
|
footerHints: h,
|
|
6088
|
-
maxHeight: m =
|
|
6088
|
+
maxHeight: m = wc,
|
|
6089
6089
|
inputTrailing: x,
|
|
6090
6090
|
highlightVariant: k = "filled",
|
|
6091
|
-
linkComponent:
|
|
6091
|
+
linkComponent: S,
|
|
6092
6092
|
fullScreen: v = !1,
|
|
6093
6093
|
paperSx: f,
|
|
6094
6094
|
slotProps: y
|
|
6095
6095
|
}) => {
|
|
6096
|
-
const b = J(), C = k === "accent", [R,
|
|
6096
|
+
const b = J(), C = k === "accent", [R, w] = F(0), M = $e(null), E = $e([]), T = ge(
|
|
6097
6097
|
() => a.filter(($) => $.items.length > 0),
|
|
6098
6098
|
[a]
|
|
6099
6099
|
), L = ge(
|
|
@@ -6103,7 +6103,7 @@ const zm = ({
|
|
|
6103
6103
|
[T]
|
|
6104
6104
|
), z = L.length > 0;
|
|
6105
6105
|
ye(() => {
|
|
6106
|
-
|
|
6106
|
+
w(0);
|
|
6107
6107
|
}, [a, n]), ye(() => {
|
|
6108
6108
|
if (!e)
|
|
6109
6109
|
return;
|
|
@@ -6118,10 +6118,10 @@ const zm = ({
|
|
|
6118
6118
|
}, [R]);
|
|
6119
6119
|
const B = V(
|
|
6120
6120
|
($, I) => {
|
|
6121
|
-
const Y = I === "click" &&
|
|
6121
|
+
const Y = I === "click" && S != null && $.item.href != null;
|
|
6122
6122
|
p($.item, $.groupKey, { source: I, viaAnchor: Y });
|
|
6123
6123
|
},
|
|
6124
|
-
[p,
|
|
6124
|
+
[p, S]
|
|
6125
6125
|
), P = ($) => {
|
|
6126
6126
|
if ($.key === "Escape") {
|
|
6127
6127
|
$.preventDefault(), r();
|
|
@@ -6129,9 +6129,9 @@ const zm = ({
|
|
|
6129
6129
|
}
|
|
6130
6130
|
if (L.length !== 0) {
|
|
6131
6131
|
if ($.key === "ArrowDown")
|
|
6132
|
-
$.preventDefault(),
|
|
6132
|
+
$.preventDefault(), w((I) => (I + 1) % L.length);
|
|
6133
6133
|
else if ($.key === "ArrowUp")
|
|
6134
|
-
$.preventDefault(),
|
|
6134
|
+
$.preventDefault(), w(
|
|
6135
6135
|
(I) => (I - 1 + L.length) % L.length
|
|
6136
6136
|
);
|
|
6137
6137
|
else if ($.key === "Enter") {
|
|
@@ -6236,9 +6236,9 @@ const zm = ({
|
|
|
6236
6236
|
E.current[Y] = pe;
|
|
6237
6237
|
},
|
|
6238
6238
|
selected: X,
|
|
6239
|
-
onMouseEnter: () =>
|
|
6239
|
+
onMouseEnter: () => w(Y),
|
|
6240
6240
|
onClick: () => B({ item: I, groupKey: $.key }, "click"),
|
|
6241
|
-
...
|
|
6241
|
+
...S && I.href ? { component: S, to: I.href } : {},
|
|
6242
6242
|
sx: {
|
|
6243
6243
|
display: "flex",
|
|
6244
6244
|
alignItems: "center",
|
|
@@ -6353,7 +6353,7 @@ const zm = ({
|
|
|
6353
6353
|
]
|
|
6354
6354
|
}
|
|
6355
6355
|
);
|
|
6356
|
-
},
|
|
6356
|
+
}, Bm = (e, r = !0) => {
|
|
6357
6357
|
ye(() => {
|
|
6358
6358
|
if (!r)
|
|
6359
6359
|
return;
|
|
@@ -6362,7 +6362,7 @@ const zm = ({
|
|
|
6362
6362
|
};
|
|
6363
6363
|
return window.addEventListener("keydown", n), () => window.removeEventListener("keydown", n);
|
|
6364
6364
|
}, [e, r]);
|
|
6365
|
-
}, Rc = "https://suggestions.pappers.fr/v2",
|
|
6365
|
+
}, Rc = "https://suggestions.pappers.fr/v2", Hm = ({
|
|
6366
6366
|
value: e,
|
|
6367
6367
|
onInputChange: r,
|
|
6368
6368
|
onSelect: n,
|
|
@@ -6371,15 +6371,15 @@ const zm = ({
|
|
|
6371
6371
|
label: p,
|
|
6372
6372
|
placeholder: s
|
|
6373
6373
|
}) => {
|
|
6374
|
-
const o = J(), u = ke(), l =
|
|
6375
|
-
if (
|
|
6374
|
+
const o = J(), u = ke(), l = wt(), [h, m] = F([]), [x, k] = F(!1), [S, v] = F(!1), f = $e(null), y = V(async (w) => {
|
|
6375
|
+
if (w.length < 2) {
|
|
6376
6376
|
m([]), v(!1);
|
|
6377
6377
|
return;
|
|
6378
6378
|
}
|
|
6379
6379
|
k(!0), v(!1);
|
|
6380
6380
|
try {
|
|
6381
6381
|
const M = await fetch(
|
|
6382
|
-
`${Rc}?q=${encodeURIComponent(
|
|
6382
|
+
`${Rc}?q=${encodeURIComponent(w)}&cibles=nom_entreprise`
|
|
6383
6383
|
);
|
|
6384
6384
|
if (!M.ok)
|
|
6385
6385
|
throw new Error(`Pappers suggestions request failed: ${M.status}`);
|
|
@@ -6391,18 +6391,18 @@ const zm = ({
|
|
|
6391
6391
|
k(!1);
|
|
6392
6392
|
}
|
|
6393
6393
|
}, []), b = V(
|
|
6394
|
-
(
|
|
6394
|
+
(w, M) => {
|
|
6395
6395
|
r(M), f.current && clearTimeout(f.current), f.current = setTimeout(() => y(M), 300);
|
|
6396
6396
|
},
|
|
6397
6397
|
[r, y]
|
|
6398
6398
|
), C = V(
|
|
6399
|
-
(
|
|
6399
|
+
(w, M) => {
|
|
6400
6400
|
M && typeof M != "string" && (n(M), m([]));
|
|
6401
6401
|
},
|
|
6402
6402
|
[n]
|
|
6403
|
-
), R = (
|
|
6404
|
-
|
|
6405
|
-
|
|
6403
|
+
), R = (w) => w && [
|
|
6404
|
+
w.adresse,
|
|
6405
|
+
w.code_postal && w.ville ? `${w.code_postal} ${w.ville}` : w.ville
|
|
6406
6406
|
].filter(Boolean).join(", ") || null;
|
|
6407
6407
|
return /* @__PURE__ */ t(
|
|
6408
6408
|
rt,
|
|
@@ -6410,21 +6410,21 @@ const zm = ({
|
|
|
6410
6410
|
freeSolo: !0,
|
|
6411
6411
|
size: a,
|
|
6412
6412
|
options: h,
|
|
6413
|
-
getOptionLabel: (
|
|
6413
|
+
getOptionLabel: (w) => typeof w == "string" ? w : w.nom_entreprise,
|
|
6414
6414
|
inputValue: e,
|
|
6415
6415
|
onInputChange: b,
|
|
6416
6416
|
onChange: C,
|
|
6417
6417
|
loading: x,
|
|
6418
6418
|
loadingText: u.formatRichMessage({ id: "general.loading" }),
|
|
6419
|
-
filterOptions: (
|
|
6419
|
+
filterOptions: (w) => w,
|
|
6420
6420
|
disabled: i,
|
|
6421
|
-
renderOption: (
|
|
6421
|
+
renderOption: (w, M) => {
|
|
6422
6422
|
const E = R(M.siege);
|
|
6423
6423
|
return /* @__PURE__ */ De(
|
|
6424
6424
|
d,
|
|
6425
6425
|
{
|
|
6426
6426
|
component: "li",
|
|
6427
|
-
...
|
|
6427
|
+
...w,
|
|
6428
6428
|
key: M.siren,
|
|
6429
6429
|
sx: {
|
|
6430
6430
|
display: "flex",
|
|
@@ -6498,8 +6498,8 @@ const zm = ({
|
|
|
6498
6498
|
sx: { fontSize: "0.72rem" },
|
|
6499
6499
|
children: (() => {
|
|
6500
6500
|
try {
|
|
6501
|
-
const T =
|
|
6502
|
-
return
|
|
6501
|
+
const T = wa(M.date_creation);
|
|
6502
|
+
return Se(T) ? Qe(T, "P", { locale: l }) : M.date_creation;
|
|
6503
6503
|
} catch {
|
|
6504
6504
|
return M.date_creation;
|
|
6505
6505
|
}
|
|
@@ -6539,21 +6539,21 @@ const zm = ({
|
|
|
6539
6539
|
] })
|
|
6540
6540
|
);
|
|
6541
6541
|
},
|
|
6542
|
-
renderInput: (
|
|
6542
|
+
renderInput: (w) => /* @__PURE__ */ t(
|
|
6543
6543
|
Oe,
|
|
6544
6544
|
{
|
|
6545
|
-
...
|
|
6545
|
+
...w,
|
|
6546
6546
|
label: p ?? u.formatRichMessage({ id: "company-search-autocomplete.label" }),
|
|
6547
6547
|
placeholder: s ?? u.formatRichMessage({
|
|
6548
6548
|
id: "company-search-autocomplete.placeholder"
|
|
6549
6549
|
}),
|
|
6550
|
-
error:
|
|
6551
|
-
helperText:
|
|
6550
|
+
error: S,
|
|
6551
|
+
helperText: S ? u.formatRichMessage({
|
|
6552
6552
|
id: "company-search-autocomplete.error"
|
|
6553
6553
|
}) : void 0,
|
|
6554
6554
|
slotProps: {
|
|
6555
6555
|
input: {
|
|
6556
|
-
...
|
|
6556
|
+
...w.InputProps,
|
|
6557
6557
|
startAdornment: /* @__PURE__ */ t(
|
|
6558
6558
|
ln,
|
|
6559
6559
|
{
|
|
@@ -6563,7 +6563,7 @@ const zm = ({
|
|
|
6563
6563
|
),
|
|
6564
6564
|
endAdornment: /* @__PURE__ */ g(xe, { children: [
|
|
6565
6565
|
x ? /* @__PURE__ */ t(Ge, { size: 16 }) : null,
|
|
6566
|
-
|
|
6566
|
+
w.InputProps.endAdornment
|
|
6567
6567
|
] })
|
|
6568
6568
|
}
|
|
6569
6569
|
}
|
|
@@ -6597,10 +6597,10 @@ function Ic({
|
|
|
6597
6597
|
const C = b.filter((R) => y.includes(R));
|
|
6598
6598
|
return C.includes(f) ? C.filter((R) => R !== f) : [...C, f];
|
|
6599
6599
|
});
|
|
6600
|
-
},
|
|
6600
|
+
}, S = new Map(
|
|
6601
6601
|
r.map((f) => [f.column.id, f])
|
|
6602
6602
|
), v = (f) => {
|
|
6603
|
-
const y =
|
|
6603
|
+
const y = S.get(f);
|
|
6604
6604
|
return !y || y.isPlaceholder ? null : Gt(y.column.columnDef.header, y.getContext());
|
|
6605
6605
|
};
|
|
6606
6606
|
return e.length === 0 && !p ? /* @__PURE__ */ t(d, { sx: { py: 6, px: 2 }, children: s }) : /* @__PURE__ */ t(
|
|
@@ -6632,7 +6632,7 @@ function Ic({
|
|
|
6632
6632
|
(L) => n[L.column.id] === "primary"
|
|
6633
6633
|
), R = b.filter(
|
|
6634
6634
|
(L) => n[L.column.id] === "secondary"
|
|
6635
|
-
),
|
|
6635
|
+
), w = m.includes(f.original), M = `${h}-details-${f.id}`, E = /* @__PURE__ */ t(
|
|
6636
6636
|
d,
|
|
6637
6637
|
{
|
|
6638
6638
|
sx: {
|
|
@@ -6648,7 +6648,7 @@ function Ic({
|
|
|
6648
6648
|
{
|
|
6649
6649
|
sx: { display: "inline-flex", alignItems: "center" },
|
|
6650
6650
|
children: [
|
|
6651
|
-
/* @__PURE__ */ t(d, { component: "span", sx:
|
|
6651
|
+
/* @__PURE__ */ t(d, { component: "span", sx: ws, children: v(L.column.id) }),
|
|
6652
6652
|
/* @__PURE__ */ t(d, { component: "span", sx: { display: "inline-flex" }, children: Gt(
|
|
6653
6653
|
L.column.columnDef.cell,
|
|
6654
6654
|
L.getContext()
|
|
@@ -6682,7 +6682,7 @@ function Ic({
|
|
|
6682
6682
|
children: [
|
|
6683
6683
|
/* @__PURE__ */ g(d, { sx: { display: "flex", alignItems: "stretch" }, children: [
|
|
6684
6684
|
i ? /* @__PURE__ */ t(
|
|
6685
|
-
|
|
6685
|
+
Sr,
|
|
6686
6686
|
{
|
|
6687
6687
|
component: "div",
|
|
6688
6688
|
onClick: () => i(f.original),
|
|
@@ -6703,10 +6703,10 @@ function Ic({
|
|
|
6703
6703
|
ve,
|
|
6704
6704
|
{
|
|
6705
6705
|
onClick: () => k(f.original),
|
|
6706
|
-
"aria-expanded":
|
|
6707
|
-
"aria-controls":
|
|
6706
|
+
"aria-expanded": w,
|
|
6707
|
+
"aria-controls": w ? M : void 0,
|
|
6708
6708
|
"aria-label": l.formatMessage({
|
|
6709
|
-
id:
|
|
6709
|
+
id: w ? "table.details.hide" : "table.details.show"
|
|
6710
6710
|
}),
|
|
6711
6711
|
sx: {
|
|
6712
6712
|
alignSelf: "center",
|
|
@@ -6722,14 +6722,14 @@ function Ic({
|
|
|
6722
6722
|
sx: {
|
|
6723
6723
|
fontSize: 22,
|
|
6724
6724
|
transition: "transform 0.15s ease",
|
|
6725
|
-
transform:
|
|
6725
|
+
transform: w ? "rotate(180deg)" : "none"
|
|
6726
6726
|
}
|
|
6727
6727
|
}
|
|
6728
6728
|
)
|
|
6729
6729
|
}
|
|
6730
6730
|
)
|
|
6731
6731
|
] }),
|
|
6732
|
-
R.length > 0 && /* @__PURE__ */ t(
|
|
6732
|
+
R.length > 0 && /* @__PURE__ */ t(St, { in: w, unmountOnExit: !0, children: /* @__PURE__ */ t(
|
|
6733
6733
|
d,
|
|
6734
6734
|
{
|
|
6735
6735
|
id: M,
|
|
@@ -6839,7 +6839,7 @@ function _c(e, r) {
|
|
|
6839
6839
|
const [n] = e;
|
|
6840
6840
|
return !n || n.id !== r ? [{ id: r, desc: !1 }] : n.desc ? [] : [{ id: r, desc: !0 }];
|
|
6841
6841
|
}
|
|
6842
|
-
function
|
|
6842
|
+
function jm({
|
|
6843
6843
|
data: e,
|
|
6844
6844
|
columns: r,
|
|
6845
6845
|
enableGlobalFilter: n = !0,
|
|
@@ -6854,14 +6854,14 @@ function Hm({
|
|
|
6854
6854
|
manualPagination: m = !1,
|
|
6855
6855
|
pageCount: x,
|
|
6856
6856
|
totalItems: k,
|
|
6857
|
-
currentPage:
|
|
6857
|
+
currentPage: S,
|
|
6858
6858
|
onPageChange: v,
|
|
6859
6859
|
onPageSizeChange: f,
|
|
6860
6860
|
filters: y,
|
|
6861
6861
|
onSearchChange: b,
|
|
6862
6862
|
searchValue: C,
|
|
6863
6863
|
searchPlaceholder: R,
|
|
6864
|
-
searchDebounceMs:
|
|
6864
|
+
searchDebounceMs: w = 400,
|
|
6865
6865
|
emptyMessage: M,
|
|
6866
6866
|
emptyContent: E,
|
|
6867
6867
|
onRowClick: T,
|
|
@@ -6880,7 +6880,7 @@ function Hm({
|
|
|
6880
6880
|
externalSorting: s,
|
|
6881
6881
|
internalSorting: se
|
|
6882
6882
|
}), [le, he] = F(""), [q, U] = F([]), [Q, ee] = F({
|
|
6883
|
-
pageIndex:
|
|
6883
|
+
pageIndex: S ?? 0,
|
|
6884
6884
|
pageSize: l
|
|
6885
6885
|
}), [H, O] = F(!1), N = Lc(b), [te, ce] = F(C ?? ""), be = $e(null);
|
|
6886
6886
|
ye(() => {
|
|
@@ -6891,10 +6891,10 @@ function Hm({
|
|
|
6891
6891
|
const Re = (ne) => {
|
|
6892
6892
|
ce(ne), be.current && clearTimeout(be.current), be.current = setTimeout(() => {
|
|
6893
6893
|
b == null || b(ne);
|
|
6894
|
-
},
|
|
6894
|
+
}, w);
|
|
6895
6895
|
}, Te = zc({
|
|
6896
6896
|
manualPagination: m,
|
|
6897
|
-
externalCurrentPage:
|
|
6897
|
+
externalCurrentPage: S,
|
|
6898
6898
|
internalPageIndex: Q.pageIndex
|
|
6899
6899
|
}), K = { ...Q, pageIndex: Te }, D = n && !N, G = i && y && y.length > 0, Z = n || G, me = D || i, ze = q.filter(
|
|
6900
6900
|
(ne) => ne.value !== void 0 && ne.value !== "" && ne.value !== null
|
|
@@ -7087,7 +7087,7 @@ function Hm({
|
|
|
7087
7087
|
}
|
|
7088
7088
|
),
|
|
7089
7089
|
G && /* @__PURE__ */ t(
|
|
7090
|
-
|
|
7090
|
+
we,
|
|
7091
7091
|
{
|
|
7092
7092
|
title: X.formatMessage({
|
|
7093
7093
|
id: H ? "table.hide-filters" : "table.show-filters"
|
|
@@ -7135,7 +7135,7 @@ function Hm({
|
|
|
7135
7135
|
]
|
|
7136
7136
|
}
|
|
7137
7137
|
),
|
|
7138
|
-
G && /* @__PURE__ */ t(
|
|
7138
|
+
G && /* @__PURE__ */ t(St, { in: H, children: /* @__PURE__ */ g(
|
|
7139
7139
|
d,
|
|
7140
7140
|
{
|
|
7141
7141
|
sx: {
|
|
@@ -7523,14 +7523,14 @@ function Hm({
|
|
|
7523
7523
|
)
|
|
7524
7524
|
] });
|
|
7525
7525
|
}
|
|
7526
|
-
const
|
|
7526
|
+
const Gm = Er(d)(({ theme: e }) => ({
|
|
7527
7527
|
border: `1px solid ${c(e.palette.primary.main, 0.25)}`,
|
|
7528
7528
|
borderRadius: "10px",
|
|
7529
7529
|
padding: "10px 14px",
|
|
7530
7530
|
backgroundColor: c(e.palette.primary.main, 0.06),
|
|
7531
7531
|
backdropFilter: "blur(8px)",
|
|
7532
7532
|
borderLeft: `3px solid ${e.palette.primary.main}`
|
|
7533
|
-
})),
|
|
7533
|
+
})), Um = Er(d)(({ theme: e }) => ({
|
|
7534
7534
|
backgroundColor: c(e.palette.error.main, 0.08),
|
|
7535
7535
|
border: `1px solid ${c(e.palette.error.main, 0.2)}`,
|
|
7536
7536
|
borderRadius: "10px",
|
|
@@ -7539,14 +7539,14 @@ const jm = Er(d)(({ theme: e }) => ({
|
|
|
7539
7539
|
color: e.palette.text.primary,
|
|
7540
7540
|
backdropFilter: "blur(8px)",
|
|
7541
7541
|
borderLeft: `3px solid ${e.palette.error.main}`
|
|
7542
|
-
})),
|
|
7542
|
+
})), Vm = Er(d)(({ theme: e }) => ({
|
|
7543
7543
|
border: `1px solid ${c(e.palette.warning.main, 0.25)}`,
|
|
7544
7544
|
borderRadius: "10px",
|
|
7545
7545
|
padding: "10px 14px",
|
|
7546
7546
|
backgroundColor: c(e.palette.warning.main, 0.06),
|
|
7547
7547
|
backdropFilter: "blur(8px)",
|
|
7548
7548
|
borderLeft: `3px solid ${e.palette.warning.main}`
|
|
7549
|
-
})),
|
|
7549
|
+
})), Ym = Er(d)(({ theme: e }) => ({
|
|
7550
7550
|
border: `1px solid ${c(e.palette.success.main, 0.25)}`,
|
|
7551
7551
|
borderRadius: "10px",
|
|
7552
7552
|
padding: "10px 14px",
|
|
@@ -7557,7 +7557,7 @@ const jm = Er(d)(({ theme: e }) => ({
|
|
|
7557
7557
|
sm: 22,
|
|
7558
7558
|
md: 28,
|
|
7559
7559
|
lg: 36
|
|
7560
|
-
},
|
|
7560
|
+
}, Xm = ({
|
|
7561
7561
|
value: e,
|
|
7562
7562
|
onChange: r,
|
|
7563
7563
|
size: n = "md",
|
|
@@ -7608,12 +7608,12 @@ const jm = Er(d)(({ theme: e }) => ({
|
|
|
7608
7608
|
)
|
|
7609
7609
|
}
|
|
7610
7610
|
);
|
|
7611
|
-
return a ? /* @__PURE__ */ t(
|
|
7611
|
+
return a ? /* @__PURE__ */ t(we, { title: a, children: h }) : h;
|
|
7612
7612
|
}, Bc = {
|
|
7613
7613
|
sm: 18,
|
|
7614
7614
|
md: 22,
|
|
7615
7615
|
lg: 28
|
|
7616
|
-
},
|
|
7616
|
+
}, qm = ({
|
|
7617
7617
|
colors: e,
|
|
7618
7618
|
value: r,
|
|
7619
7619
|
onChange: n,
|
|
@@ -7635,33 +7635,33 @@ const jm = Er(d)(({ theme: e }) => ({
|
|
|
7635
7635
|
...o
|
|
7636
7636
|
},
|
|
7637
7637
|
children: [
|
|
7638
|
-
e.map((
|
|
7639
|
-
const v = r ===
|
|
7640
|
-
return /* @__PURE__ */ t(
|
|
7638
|
+
e.map((S) => {
|
|
7639
|
+
const v = r === S;
|
|
7640
|
+
return /* @__PURE__ */ t(we, { title: S, disableInteractive: !0, children: /* @__PURE__ */ t(
|
|
7641
7641
|
d,
|
|
7642
7642
|
{
|
|
7643
|
-
onClick: () => n(
|
|
7643
|
+
onClick: () => n(S),
|
|
7644
7644
|
sx: {
|
|
7645
7645
|
width: x,
|
|
7646
7646
|
height: x,
|
|
7647
7647
|
borderRadius: k,
|
|
7648
|
-
bgcolor:
|
|
7648
|
+
bgcolor: S,
|
|
7649
7649
|
cursor: "pointer",
|
|
7650
7650
|
border: v ? `2px solid ${u.palette.common.white}` : "2px solid transparent",
|
|
7651
|
-
boxShadow: v ? `0 0 0 2px ${
|
|
7651
|
+
boxShadow: v ? `0 0 0 2px ${S}` : `inset 0 0 0 1px ${qt(
|
|
7652
7652
|
u.palette.text.primary,
|
|
7653
7653
|
0.15
|
|
7654
7654
|
)}`,
|
|
7655
7655
|
transition: "transform 0.1s, box-shadow 0.1s",
|
|
7656
7656
|
"&:hover": {
|
|
7657
7657
|
transform: "scale(1.15)",
|
|
7658
|
-
boxShadow: `0 0 0 2px ${
|
|
7658
|
+
boxShadow: `0 0 0 2px ${S}`
|
|
7659
7659
|
}
|
|
7660
7660
|
}
|
|
7661
7661
|
}
|
|
7662
|
-
) },
|
|
7662
|
+
) }, S);
|
|
7663
7663
|
}),
|
|
7664
|
-
p && !h && /* @__PURE__ */ t(
|
|
7664
|
+
p && !h && /* @__PURE__ */ t(we, { title: s, disableInteractive: !0, children: /* @__PURE__ */ t(
|
|
7665
7665
|
ve,
|
|
7666
7666
|
{
|
|
7667
7667
|
size: "small",
|
|
@@ -7670,12 +7670,12 @@ const jm = Er(d)(({ theme: e }) => ({
|
|
|
7670
7670
|
children: /* @__PURE__ */ t(ql, { sx: { fontSize: x * 0.75 } })
|
|
7671
7671
|
}
|
|
7672
7672
|
) }),
|
|
7673
|
-
p && h && /* @__PURE__ */ t(
|
|
7673
|
+
p && h && /* @__PURE__ */ t(we, { title: s, disableInteractive: !0, children: /* @__PURE__ */ t(
|
|
7674
7674
|
d,
|
|
7675
7675
|
{
|
|
7676
7676
|
onClick: () => {
|
|
7677
|
-
var
|
|
7678
|
-
return (
|
|
7677
|
+
var S;
|
|
7678
|
+
return (S = l.current) == null ? void 0 : S.click();
|
|
7679
7679
|
},
|
|
7680
7680
|
sx: {
|
|
7681
7681
|
width: x,
|
|
@@ -7694,7 +7694,7 @@ const jm = Er(d)(({ theme: e }) => ({
|
|
|
7694
7694
|
ref: l,
|
|
7695
7695
|
type: "color",
|
|
7696
7696
|
value: r,
|
|
7697
|
-
onChange: (
|
|
7697
|
+
onChange: (S) => n(S.target.value),
|
|
7698
7698
|
sx: {
|
|
7699
7699
|
position: "absolute",
|
|
7700
7700
|
inset: 0,
|
|
@@ -7933,14 +7933,14 @@ const gt = Ms("MuiPickersDay", ["root", "dayWithMargin", "dayOutsideMonth", "hid
|
|
|
7933
7933
|
onClick: m,
|
|
7934
7934
|
onDaySelect: x,
|
|
7935
7935
|
onFocus: k = Nt,
|
|
7936
|
-
onBlur:
|
|
7936
|
+
onBlur: S = Nt,
|
|
7937
7937
|
onKeyDown: v = Nt,
|
|
7938
7938
|
onMouseDown: f = Nt,
|
|
7939
7939
|
onMouseEnter: y = Nt,
|
|
7940
7940
|
outsideCurrentMonth: b,
|
|
7941
7941
|
selected: C = !1,
|
|
7942
7942
|
showDaysOutsideCurrentMonth: R = !1,
|
|
7943
|
-
children:
|
|
7943
|
+
children: w,
|
|
7944
7944
|
today: M = !1
|
|
7945
7945
|
} = i, E = Hc(i, qc), T = vt({}, i, {
|
|
7946
7946
|
autoFocus: a,
|
|
@@ -7971,13 +7971,13 @@ const gt = Ms("MuiPickersDay", ["root", "dayWithMargin", "dayOutsideMonth", "hid
|
|
|
7971
7971
|
tabIndex: C ? 0 : -1,
|
|
7972
7972
|
onKeyDown: (I) => v(I, s),
|
|
7973
7973
|
onFocus: (I) => k(I, s),
|
|
7974
|
-
onBlur: (I) =>
|
|
7974
|
+
onBlur: (I) => S(I, s),
|
|
7975
7975
|
onMouseEnter: (I) => y(I, s),
|
|
7976
7976
|
onClick: $,
|
|
7977
7977
|
onMouseDown: W
|
|
7978
7978
|
}, E, {
|
|
7979
7979
|
ownerState: T,
|
|
7980
|
-
children:
|
|
7980
|
+
children: w || z.format(s, "dayOfMonth")
|
|
7981
7981
|
}));
|
|
7982
7982
|
});
|
|
7983
7983
|
process.env.NODE_ENV !== "production" && (pi.propTypes = {
|
|
@@ -8133,11 +8133,11 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8133
8133
|
}, ui = (e, r, n) => {
|
|
8134
8134
|
const i = new Date(e);
|
|
8135
8135
|
return i.setHours(r, n, 0, 0), i;
|
|
8136
|
-
}, op = (e, r, n) => n === "minute" ? r &&
|
|
8136
|
+
}, op = (e, r, n) => n === "minute" ? r && Se(r) ? Or(e, r) : ui(e, ep, tp) : st(e), ip = (e, r, n) => n === "minute" ? r && Se(r) ? Or(e, r) : ui(e, rp, np) : dt(e), ap = (e) => {
|
|
8137
8137
|
const { editing: r, picked: n, startDate: i, endDate: a } = e, p = e.granularity ?? "day";
|
|
8138
8138
|
if (r === "start") {
|
|
8139
8139
|
let o = op(n, i, p);
|
|
8140
|
-
return a &&
|
|
8140
|
+
return a && Se(a) && Io(o, a) && (o = p === "minute" ? new Date(a) : st(a)), {
|
|
8141
8141
|
start: o,
|
|
8142
8142
|
end: a,
|
|
8143
8143
|
startChanged: !0,
|
|
@@ -8145,7 +8145,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8145
8145
|
};
|
|
8146
8146
|
}
|
|
8147
8147
|
let s = ip(n, a, p);
|
|
8148
|
-
return i &&
|
|
8148
|
+
return i && Se(i) && bn(s, i) && (s = p === "minute" ? new Date(i) : dt(i)), {
|
|
8149
8149
|
start: i,
|
|
8150
8150
|
end: s,
|
|
8151
8151
|
startChanged: !1,
|
|
@@ -8154,18 +8154,18 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8154
8154
|
}, lp = (e) => {
|
|
8155
8155
|
const { editing: r, time: n, startDate: i, endDate: a } = e;
|
|
8156
8156
|
if (r === "start") {
|
|
8157
|
-
const o = i &&
|
|
8157
|
+
const o = i && Se(i) ? i : n;
|
|
8158
8158
|
let u = Or(o, n);
|
|
8159
|
-
return a &&
|
|
8159
|
+
return a && Se(a) && Io(u, a) && (u = new Date(a)), {
|
|
8160
8160
|
start: u,
|
|
8161
8161
|
end: a,
|
|
8162
8162
|
startChanged: !0,
|
|
8163
8163
|
endChanged: !1
|
|
8164
8164
|
};
|
|
8165
8165
|
}
|
|
8166
|
-
const p = a &&
|
|
8166
|
+
const p = a && Se(a) ? a : n;
|
|
8167
8167
|
let s = Or(p, n);
|
|
8168
|
-
return i &&
|
|
8168
|
+
return i && Se(i) && bn(s, i) && (s = new Date(i)), {
|
|
8169
8169
|
start: i,
|
|
8170
8170
|
end: s,
|
|
8171
8171
|
startChanged: !1,
|
|
@@ -8199,7 +8199,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8199
8199
|
]
|
|
8200
8200
|
}
|
|
8201
8201
|
], dp = ({ rangeStart: e, rangeEnd: r, day: n, selected: i, ...a }) => {
|
|
8202
|
-
const p = J(), s = p.palette.primary.main, o = e &&
|
|
8202
|
+
const p = J(), s = p.palette.primary.main, o = e && Se(e) && ur(n, e), u = r && Se(r) && ur(n, r), l = e && r && Se(e) && Se(r) && !bn(r, e) && La(n, {
|
|
8203
8203
|
start: st(e),
|
|
8204
8204
|
end: dt(r)
|
|
8205
8205
|
}) && !o && !u, h = o || u;
|
|
@@ -8223,7 +8223,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8223
8223
|
}
|
|
8224
8224
|
},
|
|
8225
8225
|
// Half band for start endpoint
|
|
8226
|
-
...o && r &&
|
|
8226
|
+
...o && r && Se(r) && !ur(e, r) && {
|
|
8227
8227
|
"&::before": {
|
|
8228
8228
|
content: '""',
|
|
8229
8229
|
position: "absolute",
|
|
@@ -8237,7 +8237,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8237
8237
|
}
|
|
8238
8238
|
},
|
|
8239
8239
|
// Half band for end endpoint
|
|
8240
|
-
...u && e &&
|
|
8240
|
+
...u && e && Se(e) && !ur(e, r) && {
|
|
8241
8241
|
"&::before": {
|
|
8242
8242
|
content: '""',
|
|
8243
8243
|
position: "absolute",
|
|
@@ -8281,7 +8281,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8281
8281
|
)
|
|
8282
8282
|
}
|
|
8283
8283
|
);
|
|
8284
|
-
},
|
|
8284
|
+
}, Km = ({
|
|
8285
8285
|
startDate: e,
|
|
8286
8286
|
endDate: r,
|
|
8287
8287
|
onStartDateChange: n,
|
|
@@ -8296,10 +8296,10 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8296
8296
|
startLabel: m,
|
|
8297
8297
|
endLabel: x,
|
|
8298
8298
|
hideSummary: k = !1,
|
|
8299
|
-
customLabel:
|
|
8299
|
+
customLabel: S,
|
|
8300
8300
|
locale: v
|
|
8301
8301
|
}) => {
|
|
8302
|
-
const f = J(), y = _(f.palette.mode), b = ke(), C =
|
|
8302
|
+
const f = J(), y = _(f.palette.mode), b = ke(), C = wt(), R = v ?? C, w = m ?? b.formatRichMessage({ id: "inputs.date.start" }), M = x ?? b.formatRichMessage({ id: "inputs.date.end" }), E = S ?? b.formatRichMessage({ id: "inputs.period-picker.labels.custom" }), [T, L] = F(null), [z, B] = F(!1), [P, W] = F("start"), $ = $e(null), I = ge(
|
|
8303
8303
|
() => o ?? sp((K) => b.formatRichMessage({ id: K })),
|
|
8304
8304
|
[o, b]
|
|
8305
8305
|
), Y = $e([]), [X, pe] = F(null), [ie, se] = F(!1), re = I.length, ae = V(
|
|
@@ -8352,7 +8352,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8352
8352
|
]
|
|
8353
8353
|
), U = V(
|
|
8354
8354
|
(K, D) => {
|
|
8355
|
-
if (!D || !
|
|
8355
|
+
if (!D || !Se(D))
|
|
8356
8356
|
return;
|
|
8357
8357
|
const { start: G, end: Z, startChanged: me, endChanged: ze } = lp({
|
|
8358
8358
|
editing: K,
|
|
@@ -8366,16 +8366,16 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8366
8366
|
), Q = V((K) => {
|
|
8367
8367
|
W(K), B(!0);
|
|
8368
8368
|
}, []), ee = p === "compact" || p === "inline", H = ee ? "MMM d" : "MMM d, yyyy", O = ge(() => {
|
|
8369
|
-
if (e &&
|
|
8369
|
+
if (e && Se(e) && r && Se(r)) {
|
|
8370
8370
|
const K = ee ? "MMM d" : "MMM d, yyyy", D = s === "minute" ? `${K} HH:mm` : K, G = Qe(e, D, { locale: R }), Z = Qe(r, D, { locale: R });
|
|
8371
8371
|
return `${G} — ${Z}`;
|
|
8372
8372
|
}
|
|
8373
8373
|
return null;
|
|
8374
8374
|
}, [e, r, ee, s, R]), N = ge(() => {
|
|
8375
|
-
if (!(e &&
|
|
8375
|
+
if (!(e && Se(e)))
|
|
8376
8376
|
return null;
|
|
8377
8377
|
const K = s === "minute" ? "MMM d, HH:mm" : "MMM d", D = Qe(e, K, { locale: R });
|
|
8378
|
-
if (r &&
|
|
8378
|
+
if (r && Se(r)) {
|
|
8379
8379
|
const G = Qe(r, K, { locale: R });
|
|
8380
8380
|
return `${D} – ${G}`;
|
|
8381
8381
|
}
|
|
@@ -8389,7 +8389,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8389
8389
|
);
|
|
8390
8390
|
return K >= 0 ? K : null;
|
|
8391
8391
|
}
|
|
8392
|
-
return e &&
|
|
8392
|
+
return e && Se(e) ? re : null;
|
|
8393
8393
|
}, [
|
|
8394
8394
|
z,
|
|
8395
8395
|
T,
|
|
@@ -8510,10 +8510,10 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8510
8510
|
sx: {
|
|
8511
8511
|
fontSize: ee ? "0.75rem" : "0.8rem",
|
|
8512
8512
|
fontWeight: 600,
|
|
8513
|
-
color: D &&
|
|
8513
|
+
color: D && Se(D) ? "text.primary" : "text.disabled",
|
|
8514
8514
|
lineHeight: 1.2
|
|
8515
8515
|
},
|
|
8516
|
-
children: D &&
|
|
8516
|
+
children: D && Se(D) ? Qe(D, H, { locale: R }) : "—"
|
|
8517
8517
|
}
|
|
8518
8518
|
)
|
|
8519
8519
|
] })
|
|
@@ -8549,7 +8549,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8549
8549
|
{
|
|
8550
8550
|
sx: { display: "flex", gap: 1, px: 1.5, pt: 1.5, pb: 0.5 },
|
|
8551
8551
|
children: ["start", "end"].map((G) => {
|
|
8552
|
-
const Z = P === G, me = G === "start" ? e : r, ze = G === "start" ?
|
|
8552
|
+
const Z = P === G, me = G === "start" ? e : r, ze = G === "start" ? w : M;
|
|
8553
8553
|
return /* @__PURE__ */ g(
|
|
8554
8554
|
d,
|
|
8555
8555
|
{
|
|
@@ -8591,10 +8591,10 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8591
8591
|
sx: {
|
|
8592
8592
|
fontSize: "0.8rem",
|
|
8593
8593
|
fontWeight: 600,
|
|
8594
|
-
color: me &&
|
|
8594
|
+
color: me && Se(me) ? "text.primary" : "text.disabled",
|
|
8595
8595
|
lineHeight: 1.2
|
|
8596
8596
|
},
|
|
8597
|
-
children: me &&
|
|
8597
|
+
children: me && Se(me) ? Qe(
|
|
8598
8598
|
me,
|
|
8599
8599
|
s === "minute" ? "MMM d, HH:mm" : "MMM d",
|
|
8600
8600
|
{ locale: R }
|
|
@@ -8812,7 +8812,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8812
8812
|
}
|
|
8813
8813
|
),
|
|
8814
8814
|
I.map((Z, me) => /* @__PURE__ */ t(
|
|
8815
|
-
|
|
8815
|
+
Sr,
|
|
8816
8816
|
{
|
|
8817
8817
|
ref: (ze) => {
|
|
8818
8818
|
Y.current[me] = ze;
|
|
@@ -8826,7 +8826,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8826
8826
|
Z.label
|
|
8827
8827
|
)),
|
|
8828
8828
|
/* @__PURE__ */ t(
|
|
8829
|
-
|
|
8829
|
+
Sr,
|
|
8830
8830
|
{
|
|
8831
8831
|
ref: (Z) => {
|
|
8832
8832
|
Y.current[re] = Z;
|
|
@@ -8967,7 +8967,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8967
8967
|
}
|
|
8968
8968
|
),
|
|
8969
8969
|
Re(
|
|
8970
|
-
|
|
8970
|
+
w,
|
|
8971
8971
|
e,
|
|
8972
8972
|
"start",
|
|
8973
8973
|
z && P === "start"
|
|
@@ -8996,7 +8996,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
8996
8996
|
),
|
|
8997
8997
|
/* @__PURE__ */ g(de, { direction: "row", spacing: 0.75, alignItems: "center", children: [
|
|
8998
8998
|
Re(
|
|
8999
|
-
|
|
8999
|
+
w,
|
|
9000
9000
|
e,
|
|
9001
9001
|
"start",
|
|
9002
9002
|
z && P === "start"
|
|
@@ -9032,7 +9032,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
9032
9032
|
),
|
|
9033
9033
|
/* @__PURE__ */ g(de, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9034
9034
|
Re(
|
|
9035
|
-
|
|
9035
|
+
w,
|
|
9036
9036
|
e,
|
|
9037
9037
|
"start",
|
|
9038
9038
|
z && P === "start"
|
|
@@ -9064,19 +9064,19 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
9064
9064
|
),
|
|
9065
9065
|
Te(!1)
|
|
9066
9066
|
] }) });
|
|
9067
|
-
},
|
|
9067
|
+
}, Qm = (e) => /* @__PURE__ */ t(
|
|
9068
9068
|
Ts,
|
|
9069
9069
|
{
|
|
9070
9070
|
...e,
|
|
9071
9071
|
value: e.value ? new Date(e.value) : void 0
|
|
9072
9072
|
}
|
|
9073
|
-
),
|
|
9073
|
+
), Jm = (e) => /* @__PURE__ */ t(
|
|
9074
9074
|
Es,
|
|
9075
9075
|
{
|
|
9076
9076
|
...e,
|
|
9077
9077
|
value: e.value ? new Date(e.value) : void 0
|
|
9078
9078
|
}
|
|
9079
|
-
),
|
|
9079
|
+
), Zm = ({
|
|
9080
9080
|
name: e,
|
|
9081
9081
|
label: r,
|
|
9082
9082
|
placeholder: n,
|
|
@@ -9091,7 +9091,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
9091
9091
|
helperText: m,
|
|
9092
9092
|
required: x,
|
|
9093
9093
|
autoFocus: k,
|
|
9094
|
-
id:
|
|
9094
|
+
id: S,
|
|
9095
9095
|
inputProps: v,
|
|
9096
9096
|
onKeyDown: f,
|
|
9097
9097
|
onKeyUp: y,
|
|
@@ -9102,7 +9102,7 @@ const Zc = /* @__PURE__ */ bt.memo(pi), ep = 0, tp = 0, rp = 23, np = 59, Or = (
|
|
|
9102
9102
|
Oe,
|
|
9103
9103
|
{
|
|
9104
9104
|
sx: u,
|
|
9105
|
-
id:
|
|
9105
|
+
id: S,
|
|
9106
9106
|
size: o,
|
|
9107
9107
|
type: C ? "text" : "password",
|
|
9108
9108
|
name: e,
|
|
@@ -9174,7 +9174,7 @@ function io(e, r) {
|
|
|
9174
9174
|
const a = parseFloat(i);
|
|
9175
9175
|
return Number.isNaN(a) ? null : a;
|
|
9176
9176
|
}
|
|
9177
|
-
const
|
|
9177
|
+
const e0 = ({
|
|
9178
9178
|
value: e,
|
|
9179
9179
|
onChange: r,
|
|
9180
9180
|
mode: n = "number",
|
|
@@ -9188,7 +9188,7 @@ const Zm = ({
|
|
|
9188
9188
|
allowNegative: h = !1,
|
|
9189
9189
|
...m
|
|
9190
9190
|
}) => {
|
|
9191
|
-
const x = m.onFocus, k = m.onBlur,
|
|
9191
|
+
const x = m.onFocus, k = m.onBlur, S = Wr(Ss), v = p ?? (S == null ? void 0 : S.locale) ?? "fr-FR", f = s ?? (n === "currency" ? 2 : 0), y = ge(() => {
|
|
9192
9192
|
const B = cp(v);
|
|
9193
9193
|
return {
|
|
9194
9194
|
decimal: B.decimal,
|
|
@@ -9196,18 +9196,18 @@ const Zm = ({
|
|
|
9196
9196
|
};
|
|
9197
9197
|
}, [v, o]), [b, C] = F(
|
|
9198
9198
|
() => Jr(e, f, y)
|
|
9199
|
-
), [R,
|
|
9199
|
+
), [R, w] = F(!1), M = $e(null);
|
|
9200
9200
|
ye(() => {
|
|
9201
9201
|
R || C(Jr(e, f, y));
|
|
9202
9202
|
}, [e, f, y, R]);
|
|
9203
9203
|
const E = V(
|
|
9204
9204
|
(B) => {
|
|
9205
|
-
|
|
9205
|
+
w(!0), e != null && !Number.isNaN(e) && C(String(e).replace(".", y.decimal)), x == null || x(B);
|
|
9206
9206
|
},
|
|
9207
9207
|
[e, y.decimal, x]
|
|
9208
9208
|
), T = V(
|
|
9209
9209
|
(B) => {
|
|
9210
|
-
|
|
9210
|
+
w(!1);
|
|
9211
9211
|
let P = io(b, y);
|
|
9212
9212
|
P !== null && (!h && P < 0 && (P = 0), u !== void 0 && P < u && (P = u), l !== void 0 && P > l && (P = l), P = parseFloat(P.toFixed(f))), r(P), C(Jr(P, f, y)), k == null || k(B);
|
|
9213
9213
|
},
|
|
@@ -9250,7 +9250,7 @@ const Zm = ({
|
|
|
9250
9250
|
}
|
|
9251
9251
|
}
|
|
9252
9252
|
);
|
|
9253
|
-
},
|
|
9253
|
+
}, t0 = ({
|
|
9254
9254
|
onDrop: e,
|
|
9255
9255
|
title: r,
|
|
9256
9256
|
circular: n,
|
|
@@ -9265,7 +9265,7 @@ const Zm = ({
|
|
|
9265
9265
|
customHelperContent: m,
|
|
9266
9266
|
cloudImport: x
|
|
9267
9267
|
}) => {
|
|
9268
|
-
const k = J(), [
|
|
9268
|
+
const k = J(), [S, v] = F(null), [f, y] = F(!1), b = ke(), C = (z) => {
|
|
9269
9269
|
if (!z.length)
|
|
9270
9270
|
return;
|
|
9271
9271
|
if (z.length === 1) {
|
|
@@ -9290,7 +9290,7 @@ const Zm = ({
|
|
|
9290
9290
|
), e(B);
|
|
9291
9291
|
}, R = V((z) => {
|
|
9292
9292
|
v(z.currentTarget);
|
|
9293
|
-
}, []),
|
|
9293
|
+
}, []), w = V(() => {
|
|
9294
9294
|
v(null);
|
|
9295
9295
|
}, []), { getRootProps: M, getInputProps: E, isDragActive: T } = Ps({
|
|
9296
9296
|
onDrop: C,
|
|
@@ -9427,9 +9427,9 @@ const Zm = ({
|
|
|
9427
9427
|
/* @__PURE__ */ t(
|
|
9428
9428
|
Wt,
|
|
9429
9429
|
{
|
|
9430
|
-
open: !!
|
|
9431
|
-
anchorEl:
|
|
9432
|
-
onClose:
|
|
9430
|
+
open: !!S,
|
|
9431
|
+
anchorEl: S,
|
|
9432
|
+
onClose: w,
|
|
9433
9433
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
9434
9434
|
transitionDuration: 200,
|
|
9435
9435
|
children: /* @__PURE__ */ t(d, { p: 1, children: /* @__PURE__ */ t(
|
|
@@ -9446,7 +9446,7 @@ const Zm = ({
|
|
|
9446
9446
|
fontSize: "0.75rem"
|
|
9447
9447
|
},
|
|
9448
9448
|
onClick: () => {
|
|
9449
|
-
|
|
9449
|
+
w(), y(!0);
|
|
9450
9450
|
},
|
|
9451
9451
|
children: b.formatRichMessage({
|
|
9452
9452
|
id: "file-importation.import-cloud.open-modal-button"
|
|
@@ -9520,7 +9520,7 @@ const Zm = ({
|
|
|
9520
9520
|
}
|
|
9521
9521
|
);
|
|
9522
9522
|
};
|
|
9523
|
-
function
|
|
9523
|
+
function r0({
|
|
9524
9524
|
onChange: e,
|
|
9525
9525
|
projects: r,
|
|
9526
9526
|
selectedProject: n,
|
|
@@ -9643,7 +9643,7 @@ function t0({
|
|
|
9643
9643
|
}
|
|
9644
9644
|
);
|
|
9645
9645
|
}
|
|
9646
|
-
function
|
|
9646
|
+
function n0({
|
|
9647
9647
|
onChange: e,
|
|
9648
9648
|
organizations: r,
|
|
9649
9649
|
selectedOrganization: n,
|
|
@@ -9766,7 +9766,7 @@ function r0({
|
|
|
9766
9766
|
}
|
|
9767
9767
|
);
|
|
9768
9768
|
}
|
|
9769
|
-
const
|
|
9769
|
+
const o0 = ({
|
|
9770
9770
|
organizationId: e,
|
|
9771
9771
|
abyssProjectId: r,
|
|
9772
9772
|
abyssProjectApplicationId: n,
|
|
@@ -9780,7 +9780,7 @@ const n0 = ({
|
|
|
9780
9780
|
fetchApplications: h,
|
|
9781
9781
|
hideApplication: m
|
|
9782
9782
|
}) => {
|
|
9783
|
-
const x = J(), k = ke(),
|
|
9783
|
+
const x = J(), k = ke(), S = k.formatRichMessage({
|
|
9784
9784
|
id: "project.link.selector.organization-label"
|
|
9785
9785
|
}), v = k.formatRichMessage({
|
|
9786
9786
|
id: "project.link.selector.project-label"
|
|
@@ -9794,7 +9794,7 @@ const n0 = ({
|
|
|
9794
9794
|
id: "project.link.selector.application-placeholder"
|
|
9795
9795
|
}), R = k.formatRichMessage({
|
|
9796
9796
|
id: "project.link.selector.no-organization"
|
|
9797
|
-
}),
|
|
9797
|
+
}), w = k.formatRichMessage({
|
|
9798
9798
|
id: "project.link.selector.no-project"
|
|
9799
9799
|
}), M = k.formatRichMessage({
|
|
9800
9800
|
id: "project.link.selector.no-application"
|
|
@@ -9863,7 +9863,7 @@ const n0 = ({
|
|
|
9863
9863
|
Oe,
|
|
9864
9864
|
{
|
|
9865
9865
|
...H,
|
|
9866
|
-
label:
|
|
9866
|
+
label: S,
|
|
9867
9867
|
placeholder: y,
|
|
9868
9868
|
slotProps: {
|
|
9869
9869
|
input: {
|
|
@@ -9969,7 +9969,7 @@ const n0 = ({
|
|
|
9969
9969
|
getOptionLabel: (H) => H.name,
|
|
9970
9970
|
isOptionEqualToValue: (H, O) => H.id === O.id,
|
|
9971
9971
|
loading: z,
|
|
9972
|
-
noOptionsText:
|
|
9972
|
+
noOptionsText: w,
|
|
9973
9973
|
renderInput: (H) => /* @__PURE__ */ t(
|
|
9974
9974
|
Oe,
|
|
9975
9975
|
{
|
|
@@ -10149,7 +10149,7 @@ const n0 = ({
|
|
|
10149
10149
|
)
|
|
10150
10150
|
] });
|
|
10151
10151
|
}, up = "__personal__";
|
|
10152
|
-
function
|
|
10152
|
+
function i0({
|
|
10153
10153
|
organizations: e,
|
|
10154
10154
|
selectedOrganizationId: r,
|
|
10155
10155
|
onChange: n,
|
|
@@ -10167,7 +10167,7 @@ function o0({
|
|
|
10167
10167
|
}, k = [
|
|
10168
10168
|
...l ? [] : [x],
|
|
10169
10169
|
...e
|
|
10170
|
-
],
|
|
10170
|
+
], S = l && e[0] || x, v = r && e.find((C) => C.id === r) || S, f = (C) => C.id || up, y = (C) => f(C) === f(v), b = (C, R) => C.id ? C.logoId ? /* @__PURE__ */ t(
|
|
10171
10171
|
$r,
|
|
10172
10172
|
{
|
|
10173
10173
|
getLogoUrl: i,
|
|
@@ -10310,7 +10310,7 @@ const mp = {
|
|
|
10310
10310
|
INDONESIAN: "🇮🇩",
|
|
10311
10311
|
FILIPINO: "🇵🇭",
|
|
10312
10312
|
SWAHILI: "🇰🇪"
|
|
10313
|
-
}, hp = (e) => mp[e] ?? "",
|
|
10313
|
+
}, hp = (e) => mp[e] ?? "", a0 = ({
|
|
10314
10314
|
code: e,
|
|
10315
10315
|
label: r,
|
|
10316
10316
|
variant: n = "body2",
|
|
@@ -10338,7 +10338,7 @@ const mp = {
|
|
|
10338
10338
|
case "project":
|
|
10339
10339
|
return `project:${e.organizationId}:${e.projectId}`;
|
|
10340
10340
|
}
|
|
10341
|
-
}, Bt = { fontSize: 20, color: "text.secondary" },
|
|
10341
|
+
}, Bt = { fontSize: 20, color: "text.secondary" }, l0 = ({
|
|
10342
10342
|
data: e,
|
|
10343
10343
|
value: r,
|
|
10344
10344
|
onChange: n,
|
|
@@ -10412,9 +10412,9 @@ const mp = {
|
|
|
10412
10412
|
}
|
|
10413
10413
|
});
|
|
10414
10414
|
return y;
|
|
10415
|
-
}, [e, i, l, h, m, x]),
|
|
10416
|
-
() => k.find((f) => f.key ===
|
|
10417
|
-
[k,
|
|
10415
|
+
}, [e, i, l, h, m, x]), S = gp(r), v = ge(
|
|
10416
|
+
() => k.find((f) => f.key === S) ?? k[0] ?? null,
|
|
10417
|
+
[k, S]
|
|
10418
10418
|
);
|
|
10419
10419
|
return /* @__PURE__ */ t(
|
|
10420
10420
|
rt,
|
|
@@ -10676,7 +10676,7 @@ const mp = {
|
|
|
10676
10676
|
},
|
|
10677
10677
|
n ? "dark" : "light"
|
|
10678
10678
|
);
|
|
10679
|
-
}, vp = 275, kp = 72, lo = "abyss-drawer-collapsed",
|
|
10679
|
+
}, vp = 275, kp = 72, lo = "abyss-drawer-collapsed", s0 = ({
|
|
10680
10680
|
elements: e,
|
|
10681
10681
|
handleDrawerToggle: r,
|
|
10682
10682
|
header: n,
|
|
@@ -10691,7 +10691,7 @@ const mp = {
|
|
|
10691
10691
|
}, [l, i]);
|
|
10692
10692
|
const k = V(() => {
|
|
10693
10693
|
u || h((y) => !y);
|
|
10694
|
-
}, [u]),
|
|
10694
|
+
}, [u]), S = V(
|
|
10695
10695
|
(y) => /* @__PURE__ */ t(
|
|
10696
10696
|
d,
|
|
10697
10697
|
{
|
|
@@ -10775,7 +10775,7 @@ const mp = {
|
|
|
10775
10775
|
`divider-${b}`
|
|
10776
10776
|
) : /* @__PURE__ */ t(xe, {}),
|
|
10777
10777
|
...y.elements.map((C) => {
|
|
10778
|
-
const R = v(C),
|
|
10778
|
+
const R = v(C), w = /* @__PURE__ */ g(
|
|
10779
10779
|
d,
|
|
10780
10780
|
{
|
|
10781
10781
|
display: "flex",
|
|
@@ -10785,7 +10785,7 @@ const mp = {
|
|
|
10785
10785
|
justifyContent: l ? "center" : "flex-start",
|
|
10786
10786
|
sx: { transition: "0.3s cubic-bezier(0.4, 0, 0.2, 1)" },
|
|
10787
10787
|
children: [
|
|
10788
|
-
|
|
10788
|
+
S(C),
|
|
10789
10789
|
/* @__PURE__ */ g(
|
|
10790
10790
|
d,
|
|
10791
10791
|
{
|
|
@@ -10828,12 +10828,12 @@ const mp = {
|
|
|
10828
10828
|
to: C.link,
|
|
10829
10829
|
target: C.isExternal ? "_blank" : "_self",
|
|
10830
10830
|
style: { width: "100%" },
|
|
10831
|
-
children:
|
|
10831
|
+
children: w
|
|
10832
10832
|
}
|
|
10833
10833
|
)
|
|
10834
10834
|
}
|
|
10835
10835
|
);
|
|
10836
|
-
return /* @__PURE__ */ t(Pn, { disablePadding: !0, children: l ? /* @__PURE__ */ t(
|
|
10836
|
+
return /* @__PURE__ */ t(Pn, { disablePadding: !0, children: l ? /* @__PURE__ */ t(we, { title: R, placement: "right", arrow: !0, children: M }) : M }, C.link);
|
|
10837
10837
|
})
|
|
10838
10838
|
]), [
|
|
10839
10839
|
s,
|
|
@@ -10843,7 +10843,7 @@ const mp = {
|
|
|
10843
10843
|
v,
|
|
10844
10844
|
r,
|
|
10845
10845
|
o.palette.divider,
|
|
10846
|
-
|
|
10846
|
+
S
|
|
10847
10847
|
]);
|
|
10848
10848
|
return /* @__PURE__ */ g(
|
|
10849
10849
|
Tr,
|
|
@@ -10987,7 +10987,7 @@ const mp = {
|
|
|
10987
10987
|
to: n.mainPath || "/",
|
|
10988
10988
|
style: { textDecoration: "none", display: "flex", width: "auto" },
|
|
10989
10989
|
children: /* @__PURE__ */ t(
|
|
10990
|
-
|
|
10990
|
+
we,
|
|
10991
10991
|
{
|
|
10992
10992
|
title: l ? n.title : "",
|
|
10993
10993
|
placement: "right",
|
|
@@ -11093,7 +11093,7 @@ const mp = {
|
|
|
11093
11093
|
}
|
|
11094
11094
|
),
|
|
11095
11095
|
!u && /* @__PURE__ */ t(
|
|
11096
|
-
|
|
11096
|
+
we,
|
|
11097
11097
|
{
|
|
11098
11098
|
title: s.formatRichMessage({
|
|
11099
11099
|
id: l ? "general.expand-sidebar" : "general.collapse-sidebar"
|
|
@@ -11162,7 +11162,7 @@ const mp = {
|
|
|
11162
11162
|
]
|
|
11163
11163
|
}
|
|
11164
11164
|
);
|
|
11165
|
-
},
|
|
11165
|
+
}, d0 = ({
|
|
11166
11166
|
children: e,
|
|
11167
11167
|
variant: r = "default",
|
|
11168
11168
|
fixed: n = !1,
|
|
@@ -11307,7 +11307,7 @@ const mp = {
|
|
|
11307
11307
|
]
|
|
11308
11308
|
}
|
|
11309
11309
|
);
|
|
11310
|
-
},
|
|
11310
|
+
}, c0 = 10 * 1024 * 1024, p0 = ({
|
|
11311
11311
|
isLoading: e,
|
|
11312
11312
|
handleUploadFromUrl: r,
|
|
11313
11313
|
handleFileUpload: n,
|
|
@@ -11317,7 +11317,7 @@ const mp = {
|
|
|
11317
11317
|
accept: s,
|
|
11318
11318
|
cloudImport: o
|
|
11319
11319
|
}) => {
|
|
11320
|
-
const u = J(), l = $e(null), [h, m] = F(!1), [x, k] = F(!1), [
|
|
11320
|
+
const u = J(), l = $e(null), [h, m] = F(!1), [x, k] = F(!1), [S, v] = F(null), f = ke(), y = Ro({
|
|
11321
11321
|
initialValues: {
|
|
11322
11322
|
url: ""
|
|
11323
11323
|
},
|
|
@@ -11337,7 +11337,7 @@ const mp = {
|
|
|
11337
11337
|
v(null);
|
|
11338
11338
|
}, []), R = V(() => {
|
|
11339
11339
|
m(!0);
|
|
11340
|
-
}, []),
|
|
11340
|
+
}, []), w = V(() => {
|
|
11341
11341
|
m(!1);
|
|
11342
11342
|
}, []), M = V(() => {
|
|
11343
11343
|
k(!0);
|
|
@@ -11370,7 +11370,7 @@ const mp = {
|
|
|
11370
11370
|
{
|
|
11371
11371
|
maxWidth: "xs",
|
|
11372
11372
|
open: h,
|
|
11373
|
-
onClose:
|
|
11373
|
+
onClose: w,
|
|
11374
11374
|
fullWidth: !0,
|
|
11375
11375
|
children: [
|
|
11376
11376
|
/* @__PURE__ */ t(pn, { variant: "h4", fontWeight: 500, children: f.formatRichMessage({
|
|
@@ -11394,7 +11394,7 @@ const mp = {
|
|
|
11394
11394
|
}
|
|
11395
11395
|
) }),
|
|
11396
11396
|
/* @__PURE__ */ g(un, { children: [
|
|
11397
|
-
/* @__PURE__ */ t(fe, { autoFocus: !0, onClick:
|
|
11397
|
+
/* @__PURE__ */ t(fe, { autoFocus: !0, onClick: w, size: "small", children: f.formatRichMessage({
|
|
11398
11398
|
id: "modal.cancel"
|
|
11399
11399
|
}) }),
|
|
11400
11400
|
/* @__PURE__ */ t(
|
|
@@ -11417,8 +11417,8 @@ const mp = {
|
|
|
11417
11417
|
/* @__PURE__ */ g(
|
|
11418
11418
|
yo,
|
|
11419
11419
|
{
|
|
11420
|
-
open: !!
|
|
11421
|
-
anchorEl:
|
|
11420
|
+
open: !!S,
|
|
11421
|
+
anchorEl: S,
|
|
11422
11422
|
onClose: C,
|
|
11423
11423
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
11424
11424
|
transformOrigin: { vertical: "top", horizontal: "left" },
|
|
@@ -11598,13 +11598,13 @@ const mp = {
|
|
|
11598
11598
|
}
|
|
11599
11599
|
)
|
|
11600
11600
|
] });
|
|
11601
|
-
}, Cp = 24 * 60 * 60 * 1e3,
|
|
11602
|
-
const i = Date.now() - e.getTime() < Cp, a =
|
|
11601
|
+
}, Cp = 24 * 60 * 60 * 1e3, Sp = ({ date: e, formatDate: r }) => {
|
|
11602
|
+
const i = Date.now() - e.getTime() < Cp, a = wt(), p = ge(
|
|
11603
11603
|
() => $a(e, { addSuffix: !0, locale: a }),
|
|
11604
11604
|
[e, a]
|
|
11605
11605
|
), s = ge(() => r(e), [e, r]);
|
|
11606
11606
|
return /* @__PURE__ */ t(
|
|
11607
|
-
|
|
11607
|
+
we,
|
|
11608
11608
|
{
|
|
11609
11609
|
title: i ? s : p,
|
|
11610
11610
|
placement: "top",
|
|
@@ -11624,7 +11624,7 @@ const mp = {
|
|
|
11624
11624
|
)
|
|
11625
11625
|
}
|
|
11626
11626
|
);
|
|
11627
|
-
},
|
|
11627
|
+
}, wp = ({
|
|
11628
11628
|
getProfilePictureUrl: e,
|
|
11629
11629
|
handleNotificationActionButton: r,
|
|
11630
11630
|
actionButtonText: n,
|
|
@@ -11644,7 +11644,7 @@ const mp = {
|
|
|
11644
11644
|
[l, i]
|
|
11645
11645
|
);
|
|
11646
11646
|
return /* @__PURE__ */ t(de, { spacing: 0.75, children: p.length ? p.map((k) => {
|
|
11647
|
-
const
|
|
11647
|
+
const S = a.find((f) => f.id === k.userId), v = n(k, S);
|
|
11648
11648
|
return /* @__PURE__ */ t(
|
|
11649
11649
|
d,
|
|
11650
11650
|
{
|
|
@@ -11675,13 +11675,13 @@ const mp = {
|
|
|
11675
11675
|
}
|
|
11676
11676
|
}
|
|
11677
11677
|
),
|
|
11678
|
-
|
|
11678
|
+
S && /* @__PURE__ */ t(d, { sx: { flexShrink: 0 }, children: /* @__PURE__ */ t(
|
|
11679
11679
|
Pr,
|
|
11680
11680
|
{
|
|
11681
|
-
userId:
|
|
11681
|
+
userId: S.id,
|
|
11682
11682
|
getProfilePictureUrl: e,
|
|
11683
|
-
alias:
|
|
11684
|
-
hasThumbnail: !!
|
|
11683
|
+
alias: S.alias ?? "",
|
|
11684
|
+
hasThumbnail: !!S.profilePictureThumbnailId,
|
|
11685
11685
|
sx: { width: 28, height: 28, fontSize: "0.75rem" }
|
|
11686
11686
|
}
|
|
11687
11687
|
) }),
|
|
@@ -11711,11 +11711,11 @@ const mp = {
|
|
|
11711
11711
|
WebkitBoxOrient: "vertical",
|
|
11712
11712
|
overflow: "hidden"
|
|
11713
11713
|
},
|
|
11714
|
-
children: o(k,
|
|
11714
|
+
children: o(k, S)
|
|
11715
11715
|
}
|
|
11716
11716
|
),
|
|
11717
11717
|
/* @__PURE__ */ t(
|
|
11718
|
-
|
|
11718
|
+
Sp,
|
|
11719
11719
|
{
|
|
11720
11720
|
date: new Date(k.createdAt || /* @__PURE__ */ new Date()),
|
|
11721
11721
|
formatDate: s
|
|
@@ -11737,16 +11737,16 @@ const mp = {
|
|
|
11737
11737
|
WebkitBoxOrient: "vertical",
|
|
11738
11738
|
overflow: "hidden"
|
|
11739
11739
|
},
|
|
11740
|
-
children: u(k,
|
|
11740
|
+
children: u(k, S)
|
|
11741
11741
|
}
|
|
11742
11742
|
),
|
|
11743
11743
|
r && v && /* @__PURE__ */ t(d, { sx: { mt: 0.5 }, children: /* @__PURE__ */ t(
|
|
11744
|
-
|
|
11744
|
+
Sr,
|
|
11745
11745
|
{
|
|
11746
11746
|
onClick: () => {
|
|
11747
11747
|
r(
|
|
11748
11748
|
k,
|
|
11749
|
-
|
|
11749
|
+
S || null
|
|
11750
11750
|
), x(k.id);
|
|
11751
11751
|
},
|
|
11752
11752
|
sx: {
|
|
@@ -11829,7 +11829,7 @@ const mp = {
|
|
|
11829
11829
|
]
|
|
11830
11830
|
}
|
|
11831
11831
|
) });
|
|
11832
|
-
}, br = 2e3,
|
|
11832
|
+
}, br = 2e3, u0 = ({
|
|
11833
11833
|
getProfilePictureUrl: e,
|
|
11834
11834
|
fetchNotifications: r,
|
|
11835
11835
|
onOpenNotification: n,
|
|
@@ -11844,13 +11844,13 @@ const mp = {
|
|
|
11844
11844
|
disableSSE: m,
|
|
11845
11845
|
enableSoundNotification: x,
|
|
11846
11846
|
onSoundToggle: k,
|
|
11847
|
-
notificationSoundUrl:
|
|
11847
|
+
notificationSoundUrl: S,
|
|
11848
11848
|
onAllNotificationsClick: v,
|
|
11849
11849
|
onPreferencesClick: f
|
|
11850
11850
|
}) => {
|
|
11851
11851
|
const y = J(), b = ke(), C = b.formatRichMessage({ id: "notifications.title" }), R = b.formatRichMessage({
|
|
11852
11852
|
id: "notifications.see-all-button"
|
|
11853
|
-
}),
|
|
11853
|
+
}), w = b.formatRichMessage({
|
|
11854
11854
|
id: "notifications.no-notification"
|
|
11855
11855
|
}), M = b.formatRichMessage({
|
|
11856
11856
|
id: "notifications.sound.enable"
|
|
@@ -11919,7 +11919,7 @@ const mp = {
|
|
|
11919
11919
|
alignItems: "center"
|
|
11920
11920
|
},
|
|
11921
11921
|
children: [
|
|
11922
|
-
|
|
11922
|
+
S && /* @__PURE__ */ t("audio", { ref: le, src: S }),
|
|
11923
11923
|
se && /* @__PURE__ */ t(xe, { children: [1, 2, 3].map((O) => /* @__PURE__ */ t(
|
|
11924
11924
|
d,
|
|
11925
11925
|
{
|
|
@@ -12029,15 +12029,15 @@ const mp = {
|
|
|
12029
12029
|
}
|
|
12030
12030
|
),
|
|
12031
12031
|
/* @__PURE__ */ g(de, { direction: "row", alignItems: "center", spacing: 0.5, children: [
|
|
12032
|
-
k && /* @__PURE__ */ t(ve, { size: "small", onClick: k, children: x ? /* @__PURE__ */ t(
|
|
12033
|
-
f && /* @__PURE__ */ t(
|
|
12032
|
+
k && /* @__PURE__ */ t(ve, { size: "small", onClick: k, children: x ? /* @__PURE__ */ t(we, { title: E, children: /* @__PURE__ */ t(Zl, { fontSize: "small", color: "primary" }) }) : /* @__PURE__ */ t(we, { title: M, children: /* @__PURE__ */ t(es, { fontSize: "small" }) }) }),
|
|
12033
|
+
f && /* @__PURE__ */ t(we, { title: T, children: /* @__PURE__ */ t(
|
|
12034
12034
|
ve,
|
|
12035
12035
|
{
|
|
12036
12036
|
size: "small",
|
|
12037
12037
|
onClick: () => {
|
|
12038
12038
|
W(!1), f();
|
|
12039
12039
|
},
|
|
12040
|
-
children: /* @__PURE__ */ t(
|
|
12040
|
+
children: /* @__PURE__ */ t(Sn, { fontSize: "small" })
|
|
12041
12041
|
}
|
|
12042
12042
|
) })
|
|
12043
12043
|
] })
|
|
@@ -12061,7 +12061,7 @@ const mp = {
|
|
|
12061
12061
|
sx: { flex: 1, overflow: "auto", px: 1, py: 1, mx: 0.5 },
|
|
12062
12062
|
className: "customScrollBar",
|
|
12063
12063
|
children: /* @__PURE__ */ t(
|
|
12064
|
-
|
|
12064
|
+
wp,
|
|
12065
12065
|
{
|
|
12066
12066
|
formatDate: o,
|
|
12067
12067
|
notifications: $,
|
|
@@ -12073,7 +12073,7 @@ const mp = {
|
|
|
12073
12073
|
formatTitle: i,
|
|
12074
12074
|
formatContent: a,
|
|
12075
12075
|
onOpenNotification: n,
|
|
12076
|
-
noNotificationsLabel:
|
|
12076
|
+
noNotificationsLabel: w
|
|
12077
12077
|
}
|
|
12078
12078
|
)
|
|
12079
12079
|
}
|
|
@@ -12100,7 +12100,7 @@ const mp = {
|
|
|
12100
12100
|
}
|
|
12101
12101
|
)
|
|
12102
12102
|
] });
|
|
12103
|
-
},
|
|
12103
|
+
}, m0 = () => {
|
|
12104
12104
|
const e = J(), r = e.palette.mode === "dark", n = r ? c(e.palette.background.paper, 0.9) : c("#fff", 0.92), i = r ? c("#fff", 0.07) : c("#000", 0.08), a = r ? "0 8px 32px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3)" : "0 8px 32px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06)", p = e.palette.text.primary, s = e.palette.text.secondary, o = r ? c("#fff", 0.3) : c("#000", 0.3), u = r ? c("#fff", 0.6) : c("#000", 0.6), l = e.palette.success.main, h = e.palette.error.main, m = e.palette.warning.main, x = e.palette.primary.main;
|
|
12105
12105
|
return /* @__PURE__ */ t(
|
|
12106
12106
|
Xi,
|
|
@@ -12234,7 +12234,7 @@ const mp = {
|
|
|
12234
12234
|
}
|
|
12235
12235
|
}
|
|
12236
12236
|
);
|
|
12237
|
-
},
|
|
12237
|
+
}, h0 = ({
|
|
12238
12238
|
title: e,
|
|
12239
12239
|
mainPath: r,
|
|
12240
12240
|
subtitle: n,
|
|
@@ -12394,7 +12394,7 @@ const mp = {
|
|
|
12394
12394
|
ACCOUNT: "/dashboard/account",
|
|
12395
12395
|
SETTINGS: "/dashboard/account/settings",
|
|
12396
12396
|
BILLING: "/dashboard/account/billing"
|
|
12397
|
-
}, Rp = "https://discord.gg/Bn4yKQzmm7", yr = { fontSize: 18, color: "text.secondary" },
|
|
12397
|
+
}, Rp = "https://discord.gg/Bn4yKQzmm7", yr = { fontSize: 18, color: "text.secondary" }, g0 = ({
|
|
12398
12398
|
user: e,
|
|
12399
12399
|
getProfilePictureUrl: r,
|
|
12400
12400
|
onLogout: n,
|
|
@@ -12402,14 +12402,14 @@ const mp = {
|
|
|
12402
12402
|
themeToggle: a,
|
|
12403
12403
|
abyssUrl: p
|
|
12404
12404
|
}) => {
|
|
12405
|
-
var b, C, R,
|
|
12405
|
+
var b, C, R, w, M;
|
|
12406
12406
|
const s = J(), o = mt(), u = Ta(), [l, h] = F(null), m = V((E) => {
|
|
12407
12407
|
h(E.currentTarget);
|
|
12408
12408
|
}, []), x = V(() => {
|
|
12409
12409
|
h(null);
|
|
12410
|
-
}, []), k = e != null && e.id ? r(e.id) : void 0,
|
|
12410
|
+
}, []), k = e != null && e.id ? r(e.id) : void 0, S = ((C = (b = e == null ? void 0 : e.alias) == null ? void 0 : b[0]) == null ? void 0 : C.toUpperCase()) ?? ((w = (R = e == null ? void 0 : e.name) == null ? void 0 : R[0]) == null ? void 0 : w.toUpperCase()) ?? "?", v = (M = e == null ? void 0 : e.billingAccount) == null ? void 0 : M.planTemplate, f = p != null && p.endsWith("/") ? p.slice(0, -1) : p, y = (E) => f ? { href: `${f}${E}`, target: "_blank" } : { path: E };
|
|
12411
12411
|
return /* @__PURE__ */ g(xe, { children: [
|
|
12412
|
-
/* @__PURE__ */ t(ve, { onClick: m, size: "small", sx: { p: 0 }, children: /* @__PURE__ */ t(nt, { src: k, sx: { width: 34, height: 34, fontSize: 14 }, children:
|
|
12412
|
+
/* @__PURE__ */ t(ve, { onClick: m, size: "small", sx: { p: 0 }, children: /* @__PURE__ */ t(nt, { src: k, sx: { width: 34, height: 34, fontSize: 14 }, children: S }) }),
|
|
12413
12413
|
/* @__PURE__ */ g(
|
|
12414
12414
|
yo,
|
|
12415
12415
|
{
|
|
@@ -12506,7 +12506,7 @@ const mp = {
|
|
|
12506
12506
|
/* @__PURE__ */ t(
|
|
12507
12507
|
ft,
|
|
12508
12508
|
{
|
|
12509
|
-
icon: /* @__PURE__ */ t(
|
|
12509
|
+
icon: /* @__PURE__ */ t(Sn, { sx: yr }),
|
|
12510
12510
|
...y(tn.SETTINGS),
|
|
12511
12511
|
onClick: x,
|
|
12512
12512
|
children: o.formatMessage({ id: "commons.menu.settings" })
|
|
@@ -12643,7 +12643,7 @@ const mp = {
|
|
|
12643
12643
|
onHome: a,
|
|
12644
12644
|
fullHeight: p = !0
|
|
12645
12645
|
}) => {
|
|
12646
|
-
const s = J(), o = mt(), u = s.palette.error.main, [l, h] = F(!1), [m, x] = F(""), [k,
|
|
12646
|
+
const s = J(), o = mt(), u = s.palette.error.main, [l, h] = F(!1), [m, x] = F(""), [k, S] = F("idle"), v = !!(r != null && r.name || r != null && r.message || r != null && r.stack), f = V(() => {
|
|
12647
12647
|
const E = `abyss-error-${Date.now()}.json`;
|
|
12648
12648
|
Ap(E, Mp(e, r, n));
|
|
12649
12649
|
}, [e, r, n]), y = V(() => {
|
|
@@ -12660,7 +12660,7 @@ const mp = {
|
|
|
12660
12660
|
typeof window < "u" && window.location.reload();
|
|
12661
12661
|
}, [i]), C = V(async () => {
|
|
12662
12662
|
if (r) {
|
|
12663
|
-
|
|
12663
|
+
S("sending");
|
|
12664
12664
|
try {
|
|
12665
12665
|
await ms.sdk.crashReport.send({
|
|
12666
12666
|
error: {
|
|
@@ -12674,9 +12674,9 @@ const mp = {
|
|
|
12674
12674
|
userComment: m.trim() || null,
|
|
12675
12675
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
12676
12676
|
appName: e
|
|
12677
|
-
}),
|
|
12677
|
+
}), S("sent");
|
|
12678
12678
|
} catch {
|
|
12679
|
-
|
|
12679
|
+
S("error");
|
|
12680
12680
|
}
|
|
12681
12681
|
}
|
|
12682
12682
|
}, [r, n, m, e]), R = ge(() => {
|
|
@@ -12690,7 +12690,7 @@ const mp = {
|
|
|
12690
12690
|
default:
|
|
12691
12691
|
return o.formatMessage({ id: "error-page.report.send" });
|
|
12692
12692
|
}
|
|
12693
|
-
}, [o, k]),
|
|
12693
|
+
}, [o, k]), w = !r || k === "sending" || k === "sent", M = ge(
|
|
12694
12694
|
() => ({
|
|
12695
12695
|
width: "100%",
|
|
12696
12696
|
maxWidth: 520,
|
|
@@ -12806,7 +12806,7 @@ const mp = {
|
|
|
12806
12806
|
color: k === "error" ? "error" : "primary",
|
|
12807
12807
|
startIcon: k === "sending" ? /* @__PURE__ */ t(Ge, { size: 16, color: "inherit" }) : /* @__PURE__ */ t(Ko, {}),
|
|
12808
12808
|
onClick: C,
|
|
12809
|
-
disabled:
|
|
12809
|
+
disabled: w,
|
|
12810
12810
|
sx: { borderRadius: 2, alignSelf: "center", px: 3 },
|
|
12811
12811
|
children: R
|
|
12812
12812
|
}
|
|
@@ -12834,7 +12834,7 @@ const mp = {
|
|
|
12834
12834
|
})
|
|
12835
12835
|
}
|
|
12836
12836
|
),
|
|
12837
|
-
/* @__PURE__ */ g(
|
|
12837
|
+
/* @__PURE__ */ g(St, { in: l, unmountOnExit: !0, children: [
|
|
12838
12838
|
/* @__PURE__ */ g(
|
|
12839
12839
|
d,
|
|
12840
12840
|
{
|
|
@@ -12903,7 +12903,7 @@ const mp = {
|
|
|
12903
12903
|
] })
|
|
12904
12904
|
}
|
|
12905
12905
|
);
|
|
12906
|
-
},
|
|
12906
|
+
}, f0 = ({
|
|
12907
12907
|
appName: e,
|
|
12908
12908
|
children: r,
|
|
12909
12909
|
onReset: n,
|
|
@@ -12940,7 +12940,7 @@ const mp = {
|
|
|
12940
12940
|
}, so = () => De(xt, {
|
|
12941
12941
|
sx: { fontSize: 18, color: "text.secondary" }
|
|
12942
12942
|
}), co = "/family/new";
|
|
12943
|
-
function
|
|
12943
|
+
function x0(e, r, n) {
|
|
12944
12944
|
const i = r != null && r.endsWith("/") ? r.slice(0, -1) : r;
|
|
12945
12945
|
if (!e) {
|
|
12946
12946
|
const o = i ? `${i}${co}` : void 0, u = i ? void 0 : co;
|
|
@@ -13087,7 +13087,7 @@ const zp = ({
|
|
|
13087
13087
|
]
|
|
13088
13088
|
}
|
|
13089
13089
|
);
|
|
13090
|
-
},
|
|
13090
|
+
}, b0 = ({ title: e, abyssLandingUrl: r }) => /* @__PURE__ */ t(zp, { abyssLandingUrl: r, children: /* @__PURE__ */ g("div", { children: [
|
|
13091
13091
|
/* @__PURE__ */ t(_r, {}),
|
|
13092
13092
|
/* @__PURE__ */ t(
|
|
13093
13093
|
"div",
|
|
@@ -13110,7 +13110,7 @@ const zp = ({
|
|
|
13110
13110
|
}
|
|
13111
13111
|
}
|
|
13112
13112
|
` })
|
|
13113
|
-
] }) }), dn = vp, mi = kp,
|
|
13113
|
+
] }) }), dn = vp, mi = kp, y0 = ({
|
|
13114
13114
|
drawer: e,
|
|
13115
13115
|
isMobileOpen: r,
|
|
13116
13116
|
handleDrawerToggle: n,
|
|
@@ -13144,7 +13144,7 @@ const zp = ({
|
|
|
13144
13144
|
},
|
|
13145
13145
|
children: [
|
|
13146
13146
|
/* @__PURE__ */ t(
|
|
13147
|
-
|
|
13147
|
+
wr,
|
|
13148
13148
|
{
|
|
13149
13149
|
variant: "temporary",
|
|
13150
13150
|
open: r,
|
|
@@ -13165,7 +13165,7 @@ const zp = ({
|
|
|
13165
13165
|
}
|
|
13166
13166
|
),
|
|
13167
13167
|
/* @__PURE__ */ t(
|
|
13168
|
-
|
|
13168
|
+
wr,
|
|
13169
13169
|
{
|
|
13170
13170
|
variant: "permanent",
|
|
13171
13171
|
sx: {
|
|
@@ -13220,7 +13220,7 @@ const zp = ({
|
|
|
13220
13220
|
]
|
|
13221
13221
|
}
|
|
13222
13222
|
);
|
|
13223
|
-
},
|
|
13223
|
+
}, v0 = ({
|
|
13224
13224
|
handleDrawerToggle: e,
|
|
13225
13225
|
hasDrawer: r,
|
|
13226
13226
|
drawerCollapsed: n = !1,
|
|
@@ -13328,7 +13328,7 @@ const zp = ({
|
|
|
13328
13328
|
)
|
|
13329
13329
|
}
|
|
13330
13330
|
);
|
|
13331
|
-
}, hi =
|
|
13331
|
+
}, hi = So(null), k0 = ({ store: e, children: r }) => /* @__PURE__ */ t(hi.Provider, { value: e, children: r }), An = () => {
|
|
13332
13332
|
const e = Wr(hi);
|
|
13333
13333
|
if (!e)
|
|
13334
13334
|
throw new Error(
|
|
@@ -13416,7 +13416,7 @@ const cn = (e) => (r) => {
|
|
|
13416
13416
|
);
|
|
13417
13417
|
a.getInitialState = () => x;
|
|
13418
13418
|
let k;
|
|
13419
|
-
const
|
|
13419
|
+
const S = () => {
|
|
13420
13420
|
var v, f;
|
|
13421
13421
|
if (!l) return;
|
|
13422
13422
|
s = !1, o.forEach((b) => {
|
|
@@ -13442,9 +13442,9 @@ const cn = (e) => (r) => {
|
|
|
13442
13442
|
return [!1, void 0];
|
|
13443
13443
|
}).then((b) => {
|
|
13444
13444
|
var C;
|
|
13445
|
-
const [R,
|
|
13445
|
+
const [R, w] = b;
|
|
13446
13446
|
if (k = p.merge(
|
|
13447
|
-
|
|
13447
|
+
w,
|
|
13448
13448
|
(C = i()) != null ? C : x
|
|
13449
13449
|
), n(k, !0), R)
|
|
13450
13450
|
return h();
|
|
@@ -13465,7 +13465,7 @@ const cn = (e) => (r) => {
|
|
|
13465
13465
|
l == null || l.removeItem(p.name);
|
|
13466
13466
|
},
|
|
13467
13467
|
getOptions: () => p,
|
|
13468
|
-
rehydrate: () =>
|
|
13468
|
+
rehydrate: () => S(),
|
|
13469
13469
|
hasHydrated: () => s,
|
|
13470
13470
|
onHydrate: (v) => (o.add(v), () => {
|
|
13471
13471
|
o.delete(v);
|
|
@@ -13473,8 +13473,8 @@ const cn = (e) => (r) => {
|
|
|
13473
13473
|
onFinishHydration: (v) => (u.add(v), () => {
|
|
13474
13474
|
u.delete(v);
|
|
13475
13475
|
})
|
|
13476
|
-
}, p.skipHydration ||
|
|
13477
|
-
}, Op = $p,
|
|
13476
|
+
}, p.skipHydration || S(), k || x;
|
|
13477
|
+
}, Op = $p, C0 = (e) => Da()(
|
|
13478
13478
|
Op(
|
|
13479
13479
|
(r) => ({
|
|
13480
13480
|
sidebarCollapsed: !1,
|
|
@@ -13490,7 +13490,7 @@ const cn = (e) => (r) => {
|
|
|
13490
13490
|
partialize: (r) => ({ sidebarCollapsed: r.sidebarCollapsed })
|
|
13491
13491
|
}
|
|
13492
13492
|
)
|
|
13493
|
-
),
|
|
13493
|
+
), S0 = ({
|
|
13494
13494
|
sidebar: e,
|
|
13495
13495
|
header: r,
|
|
13496
13496
|
footer: n,
|
|
@@ -13604,10 +13604,10 @@ const cn = (e) => (r) => {
|
|
|
13604
13604
|
!r && u && (p ? /* @__PURE__ */ t(os, { fontSize: "small" }) : /* @__PURE__ */ t(jo, { fontSize: "small" }))
|
|
13605
13605
|
]
|
|
13606
13606
|
}
|
|
13607
|
-
),
|
|
13607
|
+
), S = r ? e.tooltip || e.label : e.tooltip;
|
|
13608
13608
|
return /* @__PURE__ */ g(xe, { children: [
|
|
13609
|
-
|
|
13610
|
-
u && !r && /* @__PURE__ */ t(
|
|
13609
|
+
S ? /* @__PURE__ */ t(we, { title: S, placement: "right", arrow: !0, children: k }) : k,
|
|
13610
|
+
u && !r && /* @__PURE__ */ t(St, { in: p, timeout: "auto", unmountOnExit: !0, children: /* @__PURE__ */ t(Tr, { disablePadding: !0, children: e.children.map((v, f) => /* @__PURE__ */ t(
|
|
13611
13611
|
gi,
|
|
13612
13612
|
{
|
|
13613
13613
|
item: v,
|
|
@@ -13627,7 +13627,7 @@ const cn = (e) => (r) => {
|
|
|
13627
13627
|
collapsedWidth: s = xi,
|
|
13628
13628
|
sxProps: o
|
|
13629
13629
|
}) => {
|
|
13630
|
-
const u = J(), l = Kt(u.breakpoints.down("sm")), h = An(), m = h((y) => y.sidebarCollapsed), x = h((y) => y.mobileMenuOpen), k = h((y) => y.setMobileMenu),
|
|
13630
|
+
const u = J(), l = Kt(u.breakpoints.down("sm")), h = An(), m = h((y) => y.sidebarCollapsed), x = h((y) => y.mobileMenuOpen), k = h((y) => y.setMobileMenu), S = a && m && !l, v = S ? s : p, f = /* @__PURE__ */ t(
|
|
13631
13631
|
d,
|
|
13632
13632
|
{
|
|
13633
13633
|
sx: {
|
|
@@ -13640,9 +13640,9 @@ const cn = (e) => (r) => {
|
|
|
13640
13640
|
...o
|
|
13641
13641
|
},
|
|
13642
13642
|
children: r && r.length > 0 ? /* @__PURE__ */ g(xe, { children: [
|
|
13643
|
-
e && /* @__PURE__ */ t(d, { sx: { p:
|
|
13643
|
+
e && /* @__PURE__ */ t(d, { sx: { p: S ? 1 : 2, pb: 1, flexShrink: 0 }, children: e }),
|
|
13644
13644
|
/* @__PURE__ */ t(d, { sx: { py: 1, flexShrink: 0 }, children: r.map((y, b) => /* @__PURE__ */ g(d, { sx: { mb: 0.5 }, children: [
|
|
13645
|
-
y.title && !
|
|
13645
|
+
y.title && !S && /* @__PURE__ */ g(
|
|
13646
13646
|
d,
|
|
13647
13647
|
{
|
|
13648
13648
|
sx: {
|
|
@@ -13673,7 +13673,7 @@ const cn = (e) => (r) => {
|
|
|
13673
13673
|
]
|
|
13674
13674
|
}
|
|
13675
13675
|
),
|
|
13676
|
-
b > 0 &&
|
|
13676
|
+
b > 0 && S && /* @__PURE__ */ t(
|
|
13677
13677
|
Ne,
|
|
13678
13678
|
{
|
|
13679
13679
|
sx: {
|
|
@@ -13683,11 +13683,11 @@ const cn = (e) => (r) => {
|
|
|
13683
13683
|
}
|
|
13684
13684
|
}
|
|
13685
13685
|
),
|
|
13686
|
-
/* @__PURE__ */ t(Tr, { disablePadding: !0, sx: { px:
|
|
13686
|
+
/* @__PURE__ */ t(Tr, { disablePadding: !0, sx: { px: S ? 0.75 : 1 }, children: y.items.map((C, R) => /* @__PURE__ */ t(
|
|
13687
13687
|
gi,
|
|
13688
13688
|
{
|
|
13689
13689
|
item: C,
|
|
13690
|
-
collapsed:
|
|
13690
|
+
collapsed: S
|
|
13691
13691
|
},
|
|
13692
13692
|
C.path || R
|
|
13693
13693
|
)) })
|
|
@@ -13713,7 +13713,7 @@ const cn = (e) => (r) => {
|
|
|
13713
13713
|
sx: {
|
|
13714
13714
|
borderTop: `1px solid ${u.palette.divider}`,
|
|
13715
13715
|
py: 0.5,
|
|
13716
|
-
px:
|
|
13716
|
+
px: S ? 0.75 : 1,
|
|
13717
13717
|
flexShrink: 0
|
|
13718
13718
|
},
|
|
13719
13719
|
children: i
|
|
@@ -13726,7 +13726,7 @@ const cn = (e) => (r) => {
|
|
|
13726
13726
|
}
|
|
13727
13727
|
);
|
|
13728
13728
|
return l ? /* @__PURE__ */ t(
|
|
13729
|
-
|
|
13729
|
+
wr,
|
|
13730
13730
|
{
|
|
13731
13731
|
variant: "temporary",
|
|
13732
13732
|
open: x,
|
|
@@ -13752,7 +13752,7 @@ const cn = (e) => (r) => {
|
|
|
13752
13752
|
children: f
|
|
13753
13753
|
}
|
|
13754
13754
|
) : /* @__PURE__ */ t(
|
|
13755
|
-
|
|
13755
|
+
wr,
|
|
13756
13756
|
{
|
|
13757
13757
|
variant: "permanent",
|
|
13758
13758
|
sx: {
|
|
@@ -13773,7 +13773,7 @@ const cn = (e) => (r) => {
|
|
|
13773
13773
|
children: f
|
|
13774
13774
|
}
|
|
13775
13775
|
);
|
|
13776
|
-
}, po = "0.3s cubic-bezier(0.4, 0, 0.2, 1)",
|
|
13776
|
+
}, po = "0.3s cubic-bezier(0.4, 0, 0.2, 1)", R0 = ({
|
|
13777
13777
|
left: e,
|
|
13778
13778
|
right: r,
|
|
13779
13779
|
showSidebarToggle: n = !0,
|
|
@@ -13783,7 +13783,7 @@ const cn = (e) => (r) => {
|
|
|
13783
13783
|
sidebarWidth: s = fi,
|
|
13784
13784
|
sidebarCollapsedWidth: o = xi
|
|
13785
13785
|
}) => {
|
|
13786
|
-
const u = mt(), l = J(), h = Kt(l.breakpoints.down("sm")), m = An(), x = m((f) => f.sidebarCollapsed), k = m((f) => f.setMobileMenu),
|
|
13786
|
+
const u = mt(), l = J(), h = Kt(l.breakpoints.down("sm")), m = An(), x = m((f) => f.sidebarCollapsed), k = m((f) => f.setMobileMenu), S = m((f) => f.toggleSidebar), v = a ? h ? 0 : x ? o : s : 0;
|
|
13787
13787
|
return /* @__PURE__ */ t(
|
|
13788
13788
|
vo,
|
|
13789
13789
|
{
|
|
@@ -13843,7 +13843,7 @@ const cn = (e) => (r) => {
|
|
|
13843
13843
|
i && !h && x && /* @__PURE__ */ t(
|
|
13844
13844
|
ve,
|
|
13845
13845
|
{
|
|
13846
|
-
onClick:
|
|
13846
|
+
onClick: S,
|
|
13847
13847
|
size: "small",
|
|
13848
13848
|
sx: {
|
|
13849
13849
|
color: l.palette.text.secondary,
|
|
@@ -13872,9 +13872,9 @@ const cn = (e) => (r) => {
|
|
|
13872
13872
|
)
|
|
13873
13873
|
}
|
|
13874
13874
|
);
|
|
13875
|
-
},
|
|
13875
|
+
}, M0 = ({ mode: e, onToggle: r }) => {
|
|
13876
13876
|
const n = J(), i = ke(), a = i.formatRichMessage({ id: "general.theme-light" }), p = i.formatRichMessage({ id: "general.theme-dark" });
|
|
13877
|
-
return /* @__PURE__ */ t(
|
|
13877
|
+
return /* @__PURE__ */ t(we, { title: e === "dark" ? a : p, children: /* @__PURE__ */ t(
|
|
13878
13878
|
ve,
|
|
13879
13879
|
{
|
|
13880
13880
|
onClick: r,
|
|
@@ -13890,7 +13890,7 @@ const cn = (e) => (r) => {
|
|
|
13890
13890
|
children: e === "dark" ? /* @__PURE__ */ t(as, { fontSize: "small" }) : /* @__PURE__ */ t(ls, { fontSize: "small" })
|
|
13891
13891
|
}
|
|
13892
13892
|
) });
|
|
13893
|
-
},
|
|
13893
|
+
}, A0 = ({ onOpen: e, placeholder: r, shortcut: n }) => {
|
|
13894
13894
|
const i = J(), a = ke(), p = r ?? a.formatRichMessage({ id: "general.search" });
|
|
13895
13895
|
return Kt(i.breakpoints.down("sm")) ? /* @__PURE__ */ t(
|
|
13896
13896
|
ve,
|
|
@@ -13954,7 +13954,7 @@ const cn = (e) => (r) => {
|
|
|
13954
13954
|
]
|
|
13955
13955
|
}
|
|
13956
13956
|
);
|
|
13957
|
-
}, uo = "/dashboard/account/billing",
|
|
13957
|
+
}, uo = "/dashboard/account/billing", I0 = ({
|
|
13958
13958
|
planTemplate: e,
|
|
13959
13959
|
label: r,
|
|
13960
13960
|
abyssUrl: n
|
|
@@ -14026,7 +14026,7 @@ const cn = (e) => (r) => {
|
|
|
14026
14026
|
`, Ep = Ze`
|
|
14027
14027
|
0% { transform: translateX(-100%); }
|
|
14028
14028
|
100% { transform: translateX(200%); }
|
|
14029
|
-
`,
|
|
14029
|
+
`, z0 = () => {
|
|
14030
14030
|
const e = J();
|
|
14031
14031
|
return /* @__PURE__ */ g(
|
|
14032
14032
|
d,
|
|
@@ -14102,13 +14102,13 @@ const cn = (e) => (r) => {
|
|
|
14102
14102
|
`, Wp = Ze`
|
|
14103
14103
|
0%, 100% { opacity: 0.6; }
|
|
14104
14104
|
50% { opacity: 1; }
|
|
14105
|
-
`,
|
|
14105
|
+
`, L0 = ({
|
|
14106
14106
|
invitations: e,
|
|
14107
14107
|
onAccept: r,
|
|
14108
14108
|
onDecline: n,
|
|
14109
14109
|
getProfilePictureUrl: i
|
|
14110
14110
|
}) => {
|
|
14111
|
-
const a = J(), p =
|
|
14111
|
+
const a = J(), p = wt(), [s, o] = F(null);
|
|
14112
14112
|
if (!e.length)
|
|
14113
14113
|
return null;
|
|
14114
14114
|
const u = async (h, m) => {
|
|
@@ -14355,7 +14355,7 @@ const Pp = ({
|
|
|
14355
14355
|
hideOverageNote: p = !1,
|
|
14356
14356
|
height: s = 12
|
|
14357
14357
|
}) => {
|
|
14358
|
-
const o = J(), u = ke(), l = a ?? ((M) => u.formatNumber(M)), h = $e(null), [m, x] = F(0), [k,
|
|
14358
|
+
const o = J(), u = ke(), l = a ?? ((M) => u.formatNumber(M)), h = $e(null), [m, x] = F(0), [k, S] = F(null), [v, f] = F(
|
|
14359
14359
|
null
|
|
14360
14360
|
), y = Pp({ current: e, includedLimit: r, ceiling: n });
|
|
14361
14361
|
ye(() => {
|
|
@@ -14384,7 +14384,7 @@ const Pp = ({
|
|
|
14384
14384
|
);
|
|
14385
14385
|
if (y.max <= 0)
|
|
14386
14386
|
return /* @__PURE__ */ t(A, { variant: "body2", color: "text.secondary", children: u.formatRichMessage({ id: "quota-gauge.unlimited" }) });
|
|
14387
|
-
const C = i.find((M) => M.kind === v) ?? null, R = C ? ho(C.value, y) : null,
|
|
14387
|
+
const C = i.find((M) => M.kind === v) ?? null, R = C ? ho(C.value, y) : null, w = R === null ? null : Dp(R * m, m, bi);
|
|
14388
14388
|
return /* @__PURE__ */ g(d, { sx: { position: "relative", width: "100%" }, children: [
|
|
14389
14389
|
/* @__PURE__ */ t(
|
|
14390
14390
|
d,
|
|
@@ -14408,8 +14408,8 @@ const Pp = ({
|
|
|
14408
14408
|
title: u.formatRichMessage({
|
|
14409
14409
|
id: `quota-gauge.segment.${M.kind.toLowerCase().replace(/_/g, "-")}`
|
|
14410
14410
|
}),
|
|
14411
|
-
onMouseEnter: () =>
|
|
14412
|
-
onMouseLeave: () =>
|
|
14411
|
+
onMouseEnter: () => S(M.kind),
|
|
14412
|
+
onMouseLeave: () => S(null),
|
|
14413
14413
|
sx: {
|
|
14414
14414
|
width: `${M.ratio * 100}%`,
|
|
14415
14415
|
backgroundColor: b(M.kind),
|
|
@@ -14448,7 +14448,7 @@ const Pp = ({
|
|
|
14448
14448
|
M.kind
|
|
14449
14449
|
);
|
|
14450
14450
|
}),
|
|
14451
|
-
C &&
|
|
14451
|
+
C && w && w.width > 0 && /* @__PURE__ */ t(Qi, { container: h.current ?? void 0, children: /* @__PURE__ */ g(
|
|
14452
14452
|
d,
|
|
14453
14453
|
{
|
|
14454
14454
|
onMouseEnter: () => f(C.kind),
|
|
@@ -14456,8 +14456,8 @@ const Pp = ({
|
|
|
14456
14456
|
sx: {
|
|
14457
14457
|
position: "absolute",
|
|
14458
14458
|
top: s + 10,
|
|
14459
|
-
left:
|
|
14460
|
-
width:
|
|
14459
|
+
left: w.left,
|
|
14460
|
+
width: w.width,
|
|
14461
14461
|
p: 1.5,
|
|
14462
14462
|
borderRadius: 1,
|
|
14463
14463
|
backgroundColor: o.palette.background.paper,
|
|
@@ -14471,7 +14471,7 @@ const Pp = ({
|
|
|
14471
14471
|
sx: {
|
|
14472
14472
|
position: "absolute",
|
|
14473
14473
|
top: -6,
|
|
14474
|
-
left:
|
|
14474
|
+
left: w.arrow - 6,
|
|
14475
14475
|
width: 12,
|
|
14476
14476
|
height: 12,
|
|
14477
14477
|
backgroundColor: o.palette.background.paper,
|
|
@@ -14531,7 +14531,7 @@ const Pp = ({
|
|
|
14531
14531
|
default:
|
|
14532
14532
|
return mr.EXTENSION;
|
|
14533
14533
|
}
|
|
14534
|
-
},
|
|
14534
|
+
}, $0 = ({
|
|
14535
14535
|
unit: e,
|
|
14536
14536
|
metricKey: r,
|
|
14537
14537
|
branches: n,
|
|
@@ -14545,11 +14545,11 @@ const Pp = ({
|
|
|
14545
14545
|
onNavigateToBilling: h,
|
|
14546
14546
|
...m
|
|
14547
14547
|
}) => {
|
|
14548
|
-
const x = J(), k = ke(), [
|
|
14548
|
+
const x = J(), k = ke(), [S, v] = F(!1), f = p ?? ((L) => k.formatNumber(L)), y = Pa(m);
|
|
14549
14549
|
if (y === Ke.HEALTHY)
|
|
14550
14550
|
return null;
|
|
14551
14551
|
const b = y === Ke.CEILING_REACHED || y === Ke.LIMIT_REACHED_NO_OVERAGE;
|
|
14552
|
-
if (
|
|
14552
|
+
if (S && !b)
|
|
14553
14553
|
return null;
|
|
14554
14554
|
const C = k.formatRichMessage({
|
|
14555
14555
|
id: `quota-offer.state.${y}`
|
|
@@ -14557,7 +14557,7 @@ const Pp = ({
|
|
|
14557
14557
|
m.current,
|
|
14558
14558
|
m.includedLimit,
|
|
14559
14559
|
m.lotSize
|
|
14560
|
-
),
|
|
14560
|
+
), w = `quota-reached.metric.${r}`, M = w in k.messages ? k.formatRichMessage({ id: w }) : r, E = m.includedLimit === -1 ? `${f(m.current)} / ∞` : `${f(m.current)} / ${f(m.includedLimit)}`, T = (L) => L.price === null ? k.formatRichMessage({ id: "quota-offer.price-unavailable" }) : k.formatRichMessage(
|
|
14561
14561
|
{ id: `quota-offer.branch.${L.kind}` },
|
|
14562
14562
|
{ price: L.price, unit: e, lot: L.lot ? String(L.lot) : "" }
|
|
14563
14563
|
);
|
|
@@ -14572,7 +14572,7 @@ const Pp = ({
|
|
|
14572
14572
|
organizationId: u,
|
|
14573
14573
|
returnUrl: l
|
|
14574
14574
|
}) : void 0, z = b ? x.palette.error.main : x.palette.warning.main, B = b ? qo : td;
|
|
14575
|
-
return /* @__PURE__ */ t(
|
|
14575
|
+
return /* @__PURE__ */ t(St, { in: !0, children: /* @__PURE__ */ t(
|
|
14576
14576
|
d,
|
|
14577
14577
|
{
|
|
14578
14578
|
role: "alert",
|
|
@@ -14829,7 +14829,7 @@ const Pp = ({
|
|
|
14829
14829
|
"& .MuiChip-icon": { color: n, marginLeft: "4px" },
|
|
14830
14830
|
"& .MuiChip-label": { px: 0.75 }
|
|
14831
14831
|
};
|
|
14832
|
-
},
|
|
14832
|
+
}, O0 = ({
|
|
14833
14833
|
onUpgrade: e
|
|
14834
14834
|
}) => {
|
|
14835
14835
|
const r = J(), n = ke(), { open: i, payload: a, hide: p } = Na();
|
|
@@ -15024,7 +15024,7 @@ const Pp = ({
|
|
|
15024
15024
|
fontWeight: qe.semibold,
|
|
15025
15025
|
textTransform: "none"
|
|
15026
15026
|
}
|
|
15027
|
-
},
|
|
15027
|
+
}, T0 = {
|
|
15028
15028
|
sm: 16,
|
|
15029
15029
|
md: 20,
|
|
15030
15030
|
lg: 24,
|
|
@@ -15684,7 +15684,7 @@ const Pp = ({
|
|
|
15684
15684
|
opacity: 1;
|
|
15685
15685
|
transform: translateY(0);
|
|
15686
15686
|
}
|
|
15687
|
-
`,
|
|
15687
|
+
`, E0 = er`
|
|
15688
15688
|
0% {
|
|
15689
15689
|
opacity: 0;
|
|
15690
15690
|
transform: translateY(8px);
|
|
@@ -15693,13 +15693,13 @@ const Pp = ({
|
|
|
15693
15693
|
opacity: 1;
|
|
15694
15694
|
transform: translateY(0);
|
|
15695
15695
|
}
|
|
15696
|
-
`,
|
|
15696
|
+
`, W0 = er`
|
|
15697
15697
|
0%, 100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.3); }
|
|
15698
15698
|
50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.6), 0 0 30px rgba(99, 102, 241, 0.4); }
|
|
15699
|
-
`,
|
|
15699
|
+
`, D0 = er`
|
|
15700
15700
|
0% { background-position: -200% 0; }
|
|
15701
15701
|
100% { background-position: 200% 0; }
|
|
15702
|
-
`,
|
|
15702
|
+
`, P0 = er`
|
|
15703
15703
|
0%, 100% { box-shadow: 0 0 5px rgba(34, 211, 238, 0.2); }
|
|
15704
15704
|
50% { box-shadow: 0 0 15px rgba(34, 211, 238, 0.4), 0 0 25px rgba(34, 211, 238, 0.2); }
|
|
15705
15705
|
`, Xp = {
|
|
@@ -16039,46 +16039,56 @@ const Pp = ({
|
|
|
16039
16039
|
...qp,
|
|
16040
16040
|
...Kp,
|
|
16041
16041
|
...Vp
|
|
16042
|
+
}, Jp = {
|
|
16043
|
+
shortest: 0,
|
|
16044
|
+
shorter: 0,
|
|
16045
|
+
short: 0,
|
|
16046
|
+
standard: 0,
|
|
16047
|
+
complex: 0,
|
|
16048
|
+
enteringScreen: 0,
|
|
16049
|
+
leavingScreen: 0
|
|
16042
16050
|
};
|
|
16043
|
-
function
|
|
16044
|
-
const r = e === "dark";
|
|
16051
|
+
function Zp(e = "dark", r) {
|
|
16052
|
+
const n = (r == null ? void 0 : r.reducedMotion) ?? !1, i = e === "dark";
|
|
16045
16053
|
return Ji({
|
|
16046
|
-
palette:
|
|
16054
|
+
palette: i ? Ga : Ua,
|
|
16047
16055
|
typography: jp,
|
|
16048
16056
|
shape: {
|
|
16049
16057
|
borderRadius: 6
|
|
16050
16058
|
},
|
|
16051
16059
|
spacing: 8,
|
|
16052
16060
|
// MUI default 8px grid
|
|
16053
|
-
abyss:
|
|
16061
|
+
abyss: i ? Ha : ja,
|
|
16054
16062
|
// The new components read `theme.design`: they render in an app still on this theme.
|
|
16055
16063
|
design: Ba(
|
|
16056
|
-
|
|
16057
|
-
Va.Comfortable
|
|
16064
|
+
i ? Un.Dark : Un.Light,
|
|
16065
|
+
Va.Comfortable,
|
|
16066
|
+
n
|
|
16058
16067
|
),
|
|
16068
|
+
...n ? { transitions: { duration: Jp } } : {},
|
|
16059
16069
|
components: Qp
|
|
16060
16070
|
});
|
|
16061
16071
|
}
|
|
16062
|
-
const
|
|
16072
|
+
const F0 = Zp("dark"), _0 = {
|
|
16063
16073
|
FREEMIUM: je[500],
|
|
16064
16074
|
DEFAULT: "#3B82F6",
|
|
16065
16075
|
CUSTOM: ut[500],
|
|
16066
16076
|
SYSTEM: kt[500]
|
|
16067
|
-
}, _0 = {
|
|
16068
|
-
ACTIVE: Ct[500]
|
|
16069
16077
|
}, N0 = {
|
|
16078
|
+
ACTIVE: Ct[500]
|
|
16079
|
+
}, B0 = {
|
|
16070
16080
|
PAID: Ct[500],
|
|
16071
16081
|
OPEN: ut[500],
|
|
16072
16082
|
DRAFT: je[500],
|
|
16073
16083
|
VOID: je[400],
|
|
16074
16084
|
UNCOLLECTIBLE: kt[500]
|
|
16075
|
-
},
|
|
16085
|
+
}, H0 = {
|
|
16076
16086
|
MONTHLY_BILLING: "#3B82F6",
|
|
16077
16087
|
EUR_TOPUP: Ct[500],
|
|
16078
16088
|
PLAN_UPGRADE: ut[500],
|
|
16079
16089
|
OVERAGE: kt[500],
|
|
16080
16090
|
MODULE_PURCHASE: Vt[500]
|
|
16081
|
-
},
|
|
16091
|
+
}, j0 = {
|
|
16082
16092
|
OVERAGE_DEDUCTION: kt[500],
|
|
16083
16093
|
ADMIN_ADJUSTMENT: "#3B82F6",
|
|
16084
16094
|
GIFT_CODE: Ct[500],
|
|
@@ -16089,24 +16099,24 @@ const P0 = Jp("dark"), F0 = {
|
|
|
16089
16099
|
FUNDING_GRANT: Ct[500],
|
|
16090
16100
|
FUNDING_EXPIRY: je[500],
|
|
16091
16101
|
FUNDING_REVOCATION: kt[500]
|
|
16092
|
-
},
|
|
16102
|
+
}, G0 = {
|
|
16093
16103
|
STRIPE_PURCHASE: Ct[500],
|
|
16094
16104
|
INVOICE_DEDUCTION: ut[500],
|
|
16095
16105
|
ADMIN_ADJUSTMENT: "#3B82F6",
|
|
16096
16106
|
// Rouge : c'est le seul mouvement EUR ou l'argent QUITTE le portefeuille sans
|
|
16097
16107
|
// rien acheter — Stripe l'a rendu au client.
|
|
16098
16108
|
STRIPE_REFUND: kt[500]
|
|
16099
|
-
},
|
|
16109
|
+
}, U0 = (e) => e ? e.startsWith("image/") ? Vt[700] : e === "application/pdf" ? kt[500] : e.startsWith("video/") ? ut[500] : e.startsWith("audio/") ? Ct[500] : Dr[500] : je[500], ki = (e) => Promise.resolve(!0), eu = {
|
|
16100
16110
|
confirmRef: {
|
|
16101
16111
|
current: ki
|
|
16102
16112
|
}
|
|
16103
|
-
}, In =
|
|
16113
|
+
}, In = So(eu), V0 = ({ children: e }) => {
|
|
16104
16114
|
const r = $e(ki);
|
|
16105
16115
|
return /* @__PURE__ */ g(In.Provider, { value: { confirmRef: r }, children: [
|
|
16106
16116
|
e,
|
|
16107
|
-
/* @__PURE__ */ t(
|
|
16117
|
+
/* @__PURE__ */ t(tu, {})
|
|
16108
16118
|
] });
|
|
16109
|
-
},
|
|
16119
|
+
}, tu = () => {
|
|
16110
16120
|
const [e, r] = F(!1), [n, i] = F(), a = $e((u) => {
|
|
16111
16121
|
}), { confirmRef: p } = Wr(In);
|
|
16112
16122
|
p.current = (u) => new Promise((l) => {
|
|
@@ -16130,7 +16140,7 @@ const P0 = Jp("dark"), F0 = {
|
|
|
16130
16140
|
isOpen: e
|
|
16131
16141
|
}
|
|
16132
16142
|
);
|
|
16133
|
-
},
|
|
16143
|
+
}, Y0 = () => {
|
|
16134
16144
|
const { confirmRef: e } = Wr(In);
|
|
16135
16145
|
return {
|
|
16136
16146
|
confirm: V(
|
|
@@ -16143,149 +16153,149 @@ export {
|
|
|
16143
16153
|
fi as ABYSS_SIDEBAR_WIDTH,
|
|
16144
16154
|
xi as ABYSS_SIDEBAR_WIDTH_COLLAPSED,
|
|
16145
16155
|
Mn as AVATAR_BASE_SX,
|
|
16146
|
-
|
|
16156
|
+
wn as AVATAR_BASE_WIDTH,
|
|
16147
16157
|
Rn as AVATAR_WIDTH_RATIO,
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16158
|
-
|
|
16158
|
+
d0 as AbyssBackground,
|
|
16159
|
+
zm as AbyssBarChart,
|
|
16160
|
+
I0 as AbyssBillingPlan,
|
|
16161
|
+
$m as AbyssCashFlowChart,
|
|
16162
|
+
Nm as AbyssCommandPalette,
|
|
16163
|
+
yh as AbyssCookieConsentProvider,
|
|
16164
|
+
S0 as AbyssDashboardLayout,
|
|
16165
|
+
Qm as AbyssDatePicker,
|
|
16166
|
+
Jm as AbyssDateTimePicker,
|
|
16167
|
+
s0 as AbyssDrawer,
|
|
16168
|
+
f0 as AbyssErrorBoundary,
|
|
16159
16169
|
Ip as AbyssErrorPage,
|
|
16160
16170
|
Td as AbyssFamilyBanner,
|
|
16161
|
-
|
|
16162
|
-
|
|
16163
|
-
|
|
16164
|
-
|
|
16165
|
-
|
|
16166
|
-
|
|
16167
|
-
|
|
16171
|
+
R0 as AbyssHeader,
|
|
16172
|
+
h0 as AbyssHeaderTitle,
|
|
16173
|
+
g0 as AbyssLayoutMenu,
|
|
16174
|
+
u0 as AbyssLayoutNotifications,
|
|
16175
|
+
k0 as AbyssLayoutProvider,
|
|
16176
|
+
Im as AbyssLineChart,
|
|
16177
|
+
z0 as AbyssLoadingScreen,
|
|
16168
16178
|
ft as AbyssMenuItem,
|
|
16169
16179
|
Qt as AbyssModal,
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16180
|
+
wp as AbyssNotifications,
|
|
16181
|
+
e0 as AbyssNumberField,
|
|
16182
|
+
L0 as AbyssPendingInvitations,
|
|
16183
|
+
Lm as AbyssPieChart,
|
|
16174
16184
|
go as AbyssQuotaGauge,
|
|
16175
|
-
|
|
16176
|
-
|
|
16177
|
-
|
|
16178
|
-
|
|
16179
|
-
|
|
16185
|
+
$0 as AbyssQuotaOffer,
|
|
16186
|
+
i0 as AbyssScopeSwitcher,
|
|
16187
|
+
A0 as AbyssSearchBar,
|
|
16188
|
+
n0 as AbyssSelectOrganization,
|
|
16189
|
+
r0 as AbyssSelectProject,
|
|
16180
16190
|
w0 as AbyssSidebar,
|
|
16181
|
-
|
|
16182
|
-
|
|
16183
|
-
|
|
16184
|
-
|
|
16185
|
-
|
|
16186
|
-
|
|
16187
|
-
|
|
16191
|
+
jm as AbyssTable,
|
|
16192
|
+
M0 as AbyssThemeToggle,
|
|
16193
|
+
m0 as AbyssToast,
|
|
16194
|
+
Rm as AccountTransactionsRow,
|
|
16195
|
+
_m as ApplicationSentinelTypeChip,
|
|
16196
|
+
Fm as ApplicationWebhookTypeChip,
|
|
16197
|
+
N0 as BILLING_ACCOUNT_STATUS_COLORS,
|
|
16188
16198
|
bi as BUBBLE_MAX_WIDTH,
|
|
16189
|
-
|
|
16190
|
-
|
|
16199
|
+
vh as COOKIE_NAME,
|
|
16200
|
+
j0 as CREDIT_TRANSACTION_TYPE_COLORS,
|
|
16191
16201
|
Ld as CloudImport,
|
|
16192
16202
|
Jo as CloudImportFile,
|
|
16193
16203
|
Zo as CloudImportFolder,
|
|
16194
|
-
|
|
16195
|
-
|
|
16196
|
-
|
|
16204
|
+
qm as ColorPalette,
|
|
16205
|
+
Xm as ColorPicker,
|
|
16206
|
+
Hm as CompanySearchAutocomplete,
|
|
16197
16207
|
zd as ConfirmModal,
|
|
16198
|
-
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16208
|
+
V0 as ConfirmModalContextProvider,
|
|
16209
|
+
l0 as ContextSelector,
|
|
16210
|
+
kh as CookieConsentBanner,
|
|
16211
|
+
Ch as CookieConsentSettings,
|
|
16212
|
+
Sh as DEFAULT_PRIVACY_HREF,
|
|
16203
16213
|
kp as DRAWER_WIDTH_COLLAPSED,
|
|
16204
16214
|
vp as DRAWER_WIDTH_EXPANDED,
|
|
16205
|
-
|
|
16206
|
-
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
|
+
y0 as DashboardLayout,
|
|
16216
|
+
v0 as DashboardLayoutHeader,
|
|
16217
|
+
Km as DatePeriodPicker,
|
|
16218
|
+
t0 as DropZone,
|
|
16219
|
+
G0 as EUR_TRANSACTION_TYPE_COLORS,
|
|
16220
|
+
Um as ErrorInfoBox,
|
|
16221
|
+
Em as GROUP_COLORS,
|
|
16222
|
+
B0 as INVOICE_STATUS_COLORS,
|
|
16223
|
+
H0 as INVOICE_TYPE_COLORS,
|
|
16224
|
+
p0 as ImportButton,
|
|
16215
16225
|
ei as ImportFromCloudModal,
|
|
16216
|
-
|
|
16217
|
-
|
|
16226
|
+
Gm as InfoBox,
|
|
16227
|
+
Am as InternalProjectCard,
|
|
16218
16228
|
mp as LANGUAGE_FLAGS,
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
|
|
16222
|
-
|
|
16229
|
+
a0 as LanguageFlagLabel,
|
|
16230
|
+
b0 as LoadingLayout,
|
|
16231
|
+
Om as LogTypeChip,
|
|
16232
|
+
c0 as MAX_PICTURE_SIZE,
|
|
16223
16233
|
zp as MainLayout,
|
|
16224
16234
|
$r as OrganizationAvatar,
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16235
|
+
Tm as PAGE_ICONS,
|
|
16236
|
+
_0 as PLAN_TIER_COLORS,
|
|
16237
|
+
Zm as PasswordInput,
|
|
16228
16238
|
sn as ProjectAvatar,
|
|
16229
|
-
|
|
16239
|
+
Mm as ProjectCard,
|
|
16230
16240
|
ti as ProjectCategoryBadge,
|
|
16231
|
-
|
|
16232
|
-
|
|
16241
|
+
o0 as ProjectLinkSelector,
|
|
16242
|
+
Wm as ProjectStatusChip,
|
|
16233
16243
|
ri as ProjectTagChip,
|
|
16234
|
-
|
|
16244
|
+
Cm as QRCodeModal,
|
|
16235
16245
|
yi as QUOTA_SERVICE_META,
|
|
16236
16246
|
Ke as QuotaOfferState,
|
|
16237
|
-
|
|
16247
|
+
O0 as QuotaReachedDialog,
|
|
16238
16248
|
jt as QuotaSegmentKind,
|
|
16239
16249
|
wh as ReconcileAction,
|
|
16240
|
-
|
|
16250
|
+
Ym as SuccessInfoBox,
|
|
16241
16251
|
Pr as UserAvatar,
|
|
16242
16252
|
wm as UserAvatarList,
|
|
16243
|
-
|
|
16253
|
+
Sm as UserSettings,
|
|
16244
16254
|
Wd as UserSettingsModal,
|
|
16245
|
-
|
|
16246
|
-
|
|
16255
|
+
Rh as VALIDITY_DAYS,
|
|
16256
|
+
Vm as WarnInfoBox,
|
|
16247
16257
|
_r as WaterParticles,
|
|
16248
|
-
|
|
16249
|
-
|
|
16258
|
+
Dm as WebhookResponseCodeChip,
|
|
16259
|
+
Pm as WebhookTypeChip,
|
|
16250
16260
|
ut as amber,
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
|
|
16261
|
+
P0 as bioluminescentPulse,
|
|
16262
|
+
K0 as brand,
|
|
16263
|
+
x0 as buildAbyssFamilyMenuSection,
|
|
16254
16264
|
Pp as buildQuotaAxis,
|
|
16255
16265
|
Bp as buildQuotaServiceChipSx,
|
|
16256
|
-
|
|
16257
|
-
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
|
|
16261
|
-
|
|
16262
|
-
|
|
16263
|
-
|
|
16266
|
+
Q0 as chipColors,
|
|
16267
|
+
Mh as clearCookie,
|
|
16268
|
+
J0 as colorPool,
|
|
16269
|
+
Z0 as colorPoolExtended,
|
|
16270
|
+
eh as colors,
|
|
16271
|
+
C0 as createAbyssLayoutStore,
|
|
16272
|
+
Zp as createAbyssTheme,
|
|
16273
|
+
th as cyan,
|
|
16264
16274
|
Ha as darkCustom,
|
|
16265
16275
|
Ga as darkPalette,
|
|
16266
16276
|
Pa as deriveQuotaOfferState,
|
|
16267
16277
|
at as duration,
|
|
16268
16278
|
lt as easing,
|
|
16269
|
-
|
|
16270
|
-
|
|
16279
|
+
E0 as fadeIn,
|
|
16280
|
+
xh as flattenTranslations,
|
|
16271
16281
|
Hp as fontFamily,
|
|
16272
16282
|
Ye as fontSize,
|
|
16273
16283
|
qe as fontWeight,
|
|
16274
|
-
|
|
16275
|
-
|
|
16284
|
+
U0 as getFileColor,
|
|
16285
|
+
rh as getFileIcon,
|
|
16276
16286
|
hp as getLanguageFlag,
|
|
16277
|
-
|
|
16278
|
-
|
|
16287
|
+
nh as getPoolColor,
|
|
16288
|
+
oh as getPoolColorExtended,
|
|
16279
16289
|
xr as getProjectColor,
|
|
16280
16290
|
vi as getQuotaServiceColor,
|
|
16281
|
-
|
|
16282
|
-
|
|
16283
|
-
|
|
16284
|
-
|
|
16285
|
-
|
|
16286
|
-
|
|
16291
|
+
ih as glassDark,
|
|
16292
|
+
ah as glassLight,
|
|
16293
|
+
lh as glow,
|
|
16294
|
+
sh as glowCyan,
|
|
16295
|
+
dh as gradientsDark,
|
|
16296
|
+
ch as gradientsLight,
|
|
16287
16297
|
Ct as green,
|
|
16288
|
-
|
|
16298
|
+
T0 as iconSize,
|
|
16289
16299
|
Dr as indigo,
|
|
16290
16300
|
_ as legacyTokens,
|
|
16291
16301
|
ja as lightCustom,
|
|
@@ -16294,29 +16304,29 @@ export {
|
|
|
16294
16304
|
je as neutral,
|
|
16295
16305
|
_a as offersAction,
|
|
16296
16306
|
Dp as placeBubble,
|
|
16297
|
-
|
|
16307
|
+
W0 as pulseGlow,
|
|
16298
16308
|
Vt as purple,
|
|
16299
16309
|
Ie as radius,
|
|
16300
|
-
|
|
16301
|
-
|
|
16310
|
+
Ah as readCookie,
|
|
16311
|
+
Ih as reconcile,
|
|
16302
16312
|
kt as red,
|
|
16303
16313
|
Np as renderQuotaServiceIcon,
|
|
16304
|
-
|
|
16305
|
-
|
|
16306
|
-
|
|
16314
|
+
ph as shadow,
|
|
16315
|
+
uh as shadowLight,
|
|
16316
|
+
D0 as shimmer,
|
|
16307
16317
|
Fa as shouldSuggestModule,
|
|
16308
16318
|
Yp as slideInUp,
|
|
16309
|
-
|
|
16310
|
-
|
|
16311
|
-
|
|
16312
|
-
|
|
16319
|
+
mh as social,
|
|
16320
|
+
hh as tagColorPool,
|
|
16321
|
+
gh as textShadow,
|
|
16322
|
+
F0 as theme,
|
|
16313
16323
|
Ut as transition,
|
|
16314
16324
|
jp as typographyVariants,
|
|
16315
|
-
|
|
16325
|
+
zh as useAbyssCookieConsent,
|
|
16316
16326
|
An as useAbyssLayoutStore,
|
|
16317
|
-
|
|
16318
|
-
|
|
16319
|
-
|
|
16320
|
-
|
|
16321
|
-
|
|
16327
|
+
Bm as useCommandPaletteHotkey,
|
|
16328
|
+
Y0 as useConfirm,
|
|
16329
|
+
Lh as useCookieConsent,
|
|
16330
|
+
$h as useOptionalAbyssCookieConsent,
|
|
16331
|
+
Oh as writeCookie
|
|
16322
16332
|
};
|