biblio-react 3.0.0-alpha71 → 3.0.0-alpha72
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/dist/index.js +496 -495
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,16 +3,16 @@ var a = (e, t) => vw(e, "name", { value: t, configurable: !0 });
|
|
|
3
3
|
import ke, { jsx as v, jsxs as q, Fragment as un } from "react/jsx-runtime";
|
|
4
4
|
import * as x from "react";
|
|
5
5
|
import nt, { forwardRef as rd, useContext as Pe, createElement as Jy, Children as nd, isValidElement as Mn, cloneElement as Rn, createContext as Rt, useState as De, useMemo as hr, useCallback as He, useEffect as et, Fragment as dn, memo as Ux, useRef as od, useDebugValue as qx, useId as Ow } from "react";
|
|
6
|
-
import { unstable_ClassNameGenerator as Gx, exactProp as id, unstable_getScrollbarSize as xw, unstable_ownerDocument as An, unstable_ownerWindow as
|
|
7
|
-
import { MenuItem as yc, ListItemIcon as yf, ListItemText as vf, useMediaQuery as Oi, Typography as
|
|
8
|
-
import { useTranslate as St, useUserMenu as Vw, useResourceDefinitions as Hw, AppBar as Ww, UserMenu as Uw, Logout as qw, useDataProvider as im, useResourceContext as mt, useListContext as ta, useNotify as mn, useRedirect as ka, useUnselectAll as Gw, NumberField as Kw, DateField as rv, TextField as rc, ReferenceField as Yw, useCreatePath as
|
|
9
|
-
import { Link as
|
|
6
|
+
import { unstable_ClassNameGenerator as Gx, exactProp as id, unstable_getScrollbarSize as xw, unstable_ownerDocument as An, unstable_ownerWindow as Rs, unstable_useForkRef as ea, elementAcceptingRef as Sw, unstable_useEnhancedEffect as oi, unstable_setRef as Qy, HTMLElementType as bf, unstable_useEventCallback as Xy, unstable_createChainedFunction as Zy, unstable_debounce as Cw, usePreviousProps as Tw, unstable_getNormalizedScrollLeft as Ew, unstable_detectScrollType as kw, chainPropTypes as ww, refType as Pw, deepmerge as Kx } from "@mui/utils";
|
|
7
|
+
import { MenuItem as yc, ListItemIcon as yf, ListItemText as vf, useMediaQuery as Oi, Typography as As, Box as it, Grid as ev, Dialog as nm, DialogTitle as Yx, DialogContent as Mw, Stack as om, DialogActions as Rw, Tooltip as ad, IconButton as vc, createTheme as Aw, ThemeProvider as Fw, alpha as $w, StyledEngineProvider as Jx, Card as Qx, CircularProgress as Iw, CardContent as Xx, Collapse as Nw, List as Zx, Switch as Lw, Divider as Dw, Button as tv, Paper as e1, ToggleButtonGroup as sd, ToggleButton as _t, ListItem as _w, Menu as jw, useTheme as zw, FormHelperText as Bw } from "@mui/material";
|
|
8
|
+
import { useTranslate as St, useUserMenu as Vw, useResourceDefinitions as Hw, AppBar as Ww, UserMenu as Uw, Logout as qw, useDataProvider as im, useResourceContext as mt, useListContext as ta, useNotify as mn, useRedirect as ka, useUnselectAll as Gw, NumberField as Kw, DateField as rv, TextField as rc, ReferenceField as Yw, useCreatePath as il, Button as wr, Form as al, SaveButton as ld, Confirm as cd, useRecordContext as Lr, useListController as Jw, ListContextProvider as Qw, LoadingClasses as Oc, List as t1, useResourceDefinition as r1, BulkActionsToolbar as Xw, useInput as ud, useGetList as n1, useSafeSetState as am, useGetOne as o1, required as Zw, minValue as eP, TopToolbar as i1, ListButton as tP, ShowButton as rP, useCreateController as nP, CreateContextProvider as oP, useSaveContext as iP, Create as aP, useDelete as a1, useEditController as sP, Edit as lP, SimpleForm as cP, useSidebarState as s1, Menu as uP, DashboardMenuItem as dP, MenuItemLink as l1, Layout as pP, FilterContext as fP, sanitizeListRestProps as hP, FilterButton as mP, CreateButton as gP, ExportButton as bP, useLogin as yP, TextInput as ii, PasswordInput as c1, useShowController as vP, Show as OP, FormTab as xP, getTabbedFormTabFullPath as SP, TabbedFormTabs as CP, Toolbar as u1, defaultTheme as d1, BooleanField as TP, ImageInput as EP, ImageField as kP, FileInput as wP, BooleanInput as PP, ReferenceInput as p1, useChoicesContext as f1, AutocompleteInput as MP, SelectInput as RP, ReferenceArrayInput as AP, AutocompleteArrayInput as FP, RadioButtonGroupInput as h1, useRecordSelection as m1, ListActions as $P, Datagrid as IP, ValidationError as NP, FieldTitle as g1, NumberInput as LP } from "react-admin";
|
|
9
|
+
import { Link as Fs, useNavigate as sl, Routes as sm, Route as lm, useLocation as wa, matchPath as Of, useResolvedPath as DP } from "react-router-dom";
|
|
10
10
|
import { useGridApiContext as xi, useGridSelector as ra, gridColumnVisibilityModelSelector as b1, gridColumnDefinitionsSelector as y1, GridColumnIcon as _P, gridSortModelSelector as jP, GridArrowUpwardIcon as zP, GridArrowDownwardIcon as BP, selectedGridRowsSelector as VP, GridToolbarContainer as HP, GridClearIcon as WP, GridToolbarQuickFilter as UP, useGridApiRef as cm, useKeepGroupedColumnsHidden as v1, GridActionsCellItem as up, DataGridPremium as um, gridClasses as nv } from "@mui/x-data-grid-premium";
|
|
11
11
|
import { useFormContext as mr, useFormState as qP, useController as GP } from "react-hook-form";
|
|
12
12
|
import { useDispatch as Si, useSelector as dm } from "react-redux";
|
|
13
13
|
import { useMutation as KP, useQueryClient as pm } from "@tanstack/react-query";
|
|
14
14
|
import * as xf from "react-dom";
|
|
15
|
-
import
|
|
15
|
+
import ts from "react-dom";
|
|
16
16
|
import { isAfter as YP } from "date-fns";
|
|
17
17
|
import { ArrowDropDown as JP } from "@mui/icons-material";
|
|
18
18
|
import O1 from "ra-language-english";
|
|
@@ -843,7 +843,7 @@ function xe(e, t, r = void 0) {
|
|
|
843
843
|
), n;
|
|
844
844
|
}
|
|
845
845
|
a(xe, "composeClasses");
|
|
846
|
-
function
|
|
846
|
+
function $s(e, t) {
|
|
847
847
|
const r = E({}, t);
|
|
848
848
|
return Object.keys(e).forEach((n) => {
|
|
849
849
|
if (n.toString().match(/^(components|slots)$/))
|
|
@@ -851,12 +851,12 @@ function Fs(e, t) {
|
|
|
851
851
|
else if (n.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
852
852
|
const o = e[n] || {}, i = t[n];
|
|
853
853
|
r[n] = {}, !i || !Object.keys(i) ? r[n] = o : !o || !Object.keys(o) ? r[n] = i : (r[n] = E({}, i), Object.keys(o).forEach((s) => {
|
|
854
|
-
r[n][s] =
|
|
854
|
+
r[n][s] = $s(o[s], i[s]);
|
|
855
855
|
}));
|
|
856
856
|
} else r[n] === void 0 && (r[n] = e[n]);
|
|
857
857
|
}), r;
|
|
858
858
|
}
|
|
859
|
-
a(
|
|
859
|
+
a($s, "resolveProps");
|
|
860
860
|
const k1 = /* @__PURE__ */ x.createContext(void 0);
|
|
861
861
|
function w1({
|
|
862
862
|
value: e,
|
|
@@ -891,7 +891,7 @@ function uM(e) {
|
|
|
891
891
|
if (!t || !t.components || !t.components[r])
|
|
892
892
|
return n;
|
|
893
893
|
const o = t.components[r];
|
|
894
|
-
return o.defaultProps ?
|
|
894
|
+
return o.defaultProps ? $s(o.defaultProps, n) : !o.styleOverrides && !o.variants ? $s(o, n) : n;
|
|
895
895
|
}
|
|
896
896
|
a(uM, "getThemeProps$1");
|
|
897
897
|
function dM({
|
|
@@ -1033,10 +1033,10 @@ function Nt(e, t) {
|
|
|
1033
1033
|
return e.charCodeAt(t) | 0;
|
|
1034
1034
|
}
|
|
1035
1035
|
a(Nt, "charat");
|
|
1036
|
-
function
|
|
1036
|
+
function Is(e, t, r) {
|
|
1037
1037
|
return e.slice(t, r);
|
|
1038
1038
|
}
|
|
1039
|
-
a(
|
|
1039
|
+
a(Is, "substr");
|
|
1040
1040
|
function rn(e) {
|
|
1041
1041
|
return e.length;
|
|
1042
1042
|
}
|
|
@@ -1053,29 +1053,29 @@ function TM(e, t) {
|
|
|
1053
1053
|
return e.map(t).join("");
|
|
1054
1054
|
}
|
|
1055
1055
|
a(TM, "combine");
|
|
1056
|
-
var pd = 1, na = 1, F1 = 0, rr = 0, Ot = 0,
|
|
1056
|
+
var pd = 1, na = 1, F1 = 0, rr = 0, Ot = 0, Pa = "";
|
|
1057
1057
|
function fd(e, t, r, n, o, i, s) {
|
|
1058
1058
|
return { value: e, root: t, parent: r, type: n, props: o, children: i, line: pd, column: na, length: s, return: "" };
|
|
1059
1059
|
}
|
|
1060
1060
|
a(fd, "node");
|
|
1061
|
-
function
|
|
1061
|
+
function Wa(e, t) {
|
|
1062
1062
|
return xM(fd("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
1063
1063
|
}
|
|
1064
|
-
a(
|
|
1064
|
+
a(Wa, "copy$1");
|
|
1065
1065
|
function EM() {
|
|
1066
1066
|
return Ot;
|
|
1067
1067
|
}
|
|
1068
1068
|
a(EM, "char");
|
|
1069
1069
|
function kM() {
|
|
1070
|
-
return Ot = rr > 0 ? Nt(
|
|
1070
|
+
return Ot = rr > 0 ? Nt(Pa, --rr) : 0, na--, Ot === 10 && (na = 1, pd--), Ot;
|
|
1071
1071
|
}
|
|
1072
1072
|
a(kM, "prev");
|
|
1073
1073
|
function cr() {
|
|
1074
|
-
return Ot = rr < F1 ? Nt(
|
|
1074
|
+
return Ot = rr < F1 ? Nt(Pa, rr++) : 0, na++, Ot === 10 && (na = 1, pd++), Ot;
|
|
1075
1075
|
}
|
|
1076
1076
|
a(cr, "next");
|
|
1077
1077
|
function ln() {
|
|
1078
|
-
return Nt(
|
|
1078
|
+
return Nt(Pa, rr);
|
|
1079
1079
|
}
|
|
1080
1080
|
a(ln, "peek");
|
|
1081
1081
|
function nc() {
|
|
@@ -1083,10 +1083,10 @@ function nc() {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
a(nc, "caret");
|
|
1085
1085
|
function cl(e, t) {
|
|
1086
|
-
return
|
|
1086
|
+
return Is(Pa, e, t);
|
|
1087
1087
|
}
|
|
1088
1088
|
a(cl, "slice");
|
|
1089
|
-
function
|
|
1089
|
+
function Ns(e) {
|
|
1090
1090
|
switch (e) {
|
|
1091
1091
|
case 0:
|
|
1092
1092
|
case 9:
|
|
@@ -1118,13 +1118,13 @@ function Is(e) {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
return 0;
|
|
1120
1120
|
}
|
|
1121
|
-
a(
|
|
1121
|
+
a(Ns, "token");
|
|
1122
1122
|
function $1(e) {
|
|
1123
|
-
return pd = na = 1, F1 = rn(
|
|
1123
|
+
return pd = na = 1, F1 = rn(Pa = e), rr = 0, [];
|
|
1124
1124
|
}
|
|
1125
1125
|
a($1, "alloc");
|
|
1126
1126
|
function I1(e) {
|
|
1127
|
-
return
|
|
1127
|
+
return Pa = "", e;
|
|
1128
1128
|
}
|
|
1129
1129
|
a(I1, "dealloc");
|
|
1130
1130
|
function oc(e) {
|
|
@@ -1134,7 +1134,7 @@ a(oc, "delimit");
|
|
|
1134
1134
|
function wM(e) {
|
|
1135
1135
|
for (; (Ot = ln()) && Ot < 33; )
|
|
1136
1136
|
cr();
|
|
1137
|
-
return
|
|
1137
|
+
return Ns(e) > 2 || Ns(Ot) > 3 ? "" : " ";
|
|
1138
1138
|
}
|
|
1139
1139
|
a(wM, "whitespace$1");
|
|
1140
1140
|
function PM(e, t) {
|
|
@@ -1170,7 +1170,7 @@ function MM(e, t) {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
a(MM, "commenter");
|
|
1172
1172
|
function RM(e) {
|
|
1173
|
-
for (; !
|
|
1173
|
+
for (; !Ns(ln()); )
|
|
1174
1174
|
cr();
|
|
1175
1175
|
return cl(e, rr);
|
|
1176
1176
|
}
|
|
@@ -1271,17 +1271,17 @@ function ic(e, t, r, n, o, i, s, l, u) {
|
|
|
1271
1271
|
a(ic, "parse$2");
|
|
1272
1272
|
function gv(e, t, r, n, o, i, s, l, u, d, p) {
|
|
1273
1273
|
for (var f = o - 1, h = o === 0 ? i : [""], g = vm(h), m = 0, b = 0, y = 0; m < n; ++m)
|
|
1274
|
-
for (var O = 0, k =
|
|
1274
|
+
for (var O = 0, k = Is(e, f + 1, f = OM(b = s[m])), T = e; O < g; ++O)
|
|
1275
1275
|
(T = A1(b > 0 ? h[O] + " " + k : Ue(k, /&\f/g, h[O]))) && (u[y++] = T);
|
|
1276
1276
|
return fd(e, t, r, o === 0 ? bm : l, u, d, p);
|
|
1277
1277
|
}
|
|
1278
1278
|
a(gv, "ruleset");
|
|
1279
1279
|
function FM(e, t, r) {
|
|
1280
|
-
return fd(e, t, r, gm, dd(EM()),
|
|
1280
|
+
return fd(e, t, r, gm, dd(EM()), Is(e, 2, -2), 0);
|
|
1281
1281
|
}
|
|
1282
1282
|
a(FM, "comment");
|
|
1283
1283
|
function bv(e, t, r, n) {
|
|
1284
|
-
return fd(e, t, r, ym,
|
|
1284
|
+
return fd(e, t, r, ym, Is(e, 0, n), Is(e, n + 1, -1), n);
|
|
1285
1285
|
}
|
|
1286
1286
|
a(bv, "declaration");
|
|
1287
1287
|
function Wi(e, t) {
|
|
@@ -1323,13 +1323,13 @@ function NM(e) {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
a(NM, "rulesheet");
|
|
1325
1325
|
var LM = /* @__PURE__ */ a(function(t, r, n) {
|
|
1326
|
-
for (var o = 0, i = 0; o = i, i = ln(), o === 38 && i === 12 && (r[n] = 1), !
|
|
1326
|
+
for (var o = 0, i = 0; o = i, i = ln(), o === 38 && i === 12 && (r[n] = 1), !Ns(i); )
|
|
1327
1327
|
cr();
|
|
1328
1328
|
return cl(t, rr);
|
|
1329
1329
|
}, "identifierWithPointTracking"), DM = /* @__PURE__ */ a(function(t, r) {
|
|
1330
1330
|
var n = -1, o = 44;
|
|
1331
1331
|
do
|
|
1332
|
-
switch (
|
|
1332
|
+
switch (Ns(o)) {
|
|
1333
1333
|
case 0:
|
|
1334
1334
|
o === 38 && ln() === 12 && (r[n] = 1), t[n] += LM(rr - 1, r, n);
|
|
1335
1335
|
break;
|
|
@@ -1524,7 +1524,7 @@ var qM = /* @__PURE__ */ a(function(t, r, n, o) {
|
|
|
1524
1524
|
t.return = L1(t.value, t.length);
|
|
1525
1525
|
break;
|
|
1526
1526
|
case R1:
|
|
1527
|
-
return Wi([
|
|
1527
|
+
return Wi([Wa(t, {
|
|
1528
1528
|
value: Ue(t.value, "@", "@" + We)
|
|
1529
1529
|
})], o);
|
|
1530
1530
|
case bm:
|
|
@@ -1532,15 +1532,15 @@ var qM = /* @__PURE__ */ a(function(t, r, n, o) {
|
|
|
1532
1532
|
switch (CM(i, /(::plac\w+|:read-\w+)/)) {
|
|
1533
1533
|
case ":read-only":
|
|
1534
1534
|
case ":read-write":
|
|
1535
|
-
return Wi([
|
|
1535
|
+
return Wi([Wa(t, {
|
|
1536
1536
|
props: [Ue(i, /:(read-\w+)/, ":" + xc + "$1")]
|
|
1537
1537
|
})], o);
|
|
1538
1538
|
case "::placeholder":
|
|
1539
|
-
return Wi([
|
|
1539
|
+
return Wi([Wa(t, {
|
|
1540
1540
|
props: [Ue(i, /:(plac\w+)/, ":" + We + "input-$1")]
|
|
1541
|
-
}),
|
|
1541
|
+
}), Wa(t, {
|
|
1542
1542
|
props: [Ue(i, /:(plac\w+)/, ":" + xc + "$1")]
|
|
1543
|
-
}),
|
|
1543
|
+
}), Wa(t, {
|
|
1544
1544
|
props: [Ue(i, /:(plac\w+)/, Bt + "input-$1")]
|
|
1545
1545
|
})], o);
|
|
1546
1546
|
}
|
|
@@ -1946,7 +1946,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1946
1946
|
}, "processStyleValue");
|
|
1947
1947
|
}
|
|
1948
1948
|
var B1 = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
1949
|
-
function
|
|
1949
|
+
function Ls(e, t, r) {
|
|
1950
1950
|
if (r == null)
|
|
1951
1951
|
return "";
|
|
1952
1952
|
if (r.__emotion_styles !== void 0) {
|
|
@@ -1981,7 +1981,7 @@ function Ns(e, t, r) {
|
|
|
1981
1981
|
case "function": {
|
|
1982
1982
|
if (e !== void 0) {
|
|
1983
1983
|
var i = Br, s = r(e);
|
|
1984
|
-
return Br = i,
|
|
1984
|
+
return Br = i, Ls(e, t, s);
|
|
1985
1985
|
} else process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
|
|
1986
1986
|
break;
|
|
1987
1987
|
}
|
|
@@ -2005,12 +2005,12 @@ You should wrap it with \`css\` like this:
|
|
|
2005
2005
|
var d = t[r];
|
|
2006
2006
|
return d !== void 0 ? d : r;
|
|
2007
2007
|
}
|
|
2008
|
-
a(
|
|
2008
|
+
a(Ls, "handleInterpolation");
|
|
2009
2009
|
function cR(e, t, r) {
|
|
2010
2010
|
var n = "";
|
|
2011
2011
|
if (Array.isArray(r))
|
|
2012
2012
|
for (var o = 0; o < r.length; o++)
|
|
2013
|
-
n +=
|
|
2013
|
+
n += Ls(e, t, r[o]) + ";";
|
|
2014
2014
|
else
|
|
2015
2015
|
for (var i in r) {
|
|
2016
2016
|
var s = r[i];
|
|
@@ -2023,7 +2023,7 @@ function cR(e, t, r) {
|
|
|
2023
2023
|
for (var l = 0; l < s.length; l++)
|
|
2024
2024
|
Cv(s[l]) && (n += Op(i) + ":" + Sc(i, s[l]) + ";");
|
|
2025
2025
|
else {
|
|
2026
|
-
var u =
|
|
2026
|
+
var u = Ls(e, t, s);
|
|
2027
2027
|
switch (i) {
|
|
2028
2028
|
case "animation":
|
|
2029
2029
|
case "animationName": {
|
|
@@ -2047,9 +2047,9 @@ var Br, oa = /* @__PURE__ */ a(function(t, r, n) {
|
|
|
2047
2047
|
var o = !0, i = "";
|
|
2048
2048
|
Br = void 0;
|
|
2049
2049
|
var s = t[0];
|
|
2050
|
-
s == null || s.raw === void 0 ? (o = !1, i +=
|
|
2050
|
+
s == null || s.raw === void 0 ? (o = !1, i += Ls(n, r, s)) : (process.env.NODE_ENV !== "production" && s[0] === void 0 && console.error(Sv), i += s[0]);
|
|
2051
2051
|
for (var l = 1; l < t.length; l++)
|
|
2052
|
-
i +=
|
|
2052
|
+
i += Ls(n, r, t[l]), o && (process.env.NODE_ENV !== "production" && s[l] === void 0 && console.error(Sv), i += s[l]);
|
|
2053
2053
|
var u;
|
|
2054
2054
|
process.env.NODE_ENV !== "production" && (i = i.replace(V1, function(h) {
|
|
2055
2055
|
return u = h, "";
|
|
@@ -2286,7 +2286,7 @@ function bd() {
|
|
|
2286
2286
|
return oa(t);
|
|
2287
2287
|
}
|
|
2288
2288
|
a(bd, "css");
|
|
2289
|
-
var
|
|
2289
|
+
var Ma = /* @__PURE__ */ a(function() {
|
|
2290
2290
|
var t = bd.apply(void 0, arguments), r = "animation-" + t.name;
|
|
2291
2291
|
return {
|
|
2292
2292
|
name: r,
|
|
@@ -2651,7 +2651,7 @@ const q1 = /* @__PURE__ */ a((e, t) => {
|
|
|
2651
2651
|
css: bd,
|
|
2652
2652
|
default: Em,
|
|
2653
2653
|
internal_processStyles: q1,
|
|
2654
|
-
keyframes:
|
|
2654
|
+
keyframes: Ma
|
|
2655
2655
|
}, Symbol.toStringTag, { value: "Module" })), G1 = /* @__PURE__ */ gn(wR);
|
|
2656
2656
|
function wn(e) {
|
|
2657
2657
|
if (typeof e != "object" || e === null)
|
|
@@ -2982,13 +2982,13 @@ a(X1, "createBreakpoints");
|
|
|
2982
2982
|
const _R = {
|
|
2983
2983
|
borderRadius: 4
|
|
2984
2984
|
}, po = process.env.NODE_ENV !== "production" ? c.oneOfType([c.number, c.string, c.object, c.array]) : {};
|
|
2985
|
-
function
|
|
2985
|
+
function ss(e, t) {
|
|
2986
2986
|
return t ? Gt(e, t, {
|
|
2987
2987
|
clone: !1
|
|
2988
2988
|
// No need to clone deep, it's way faster.
|
|
2989
2989
|
}) : e;
|
|
2990
2990
|
}
|
|
2991
|
-
a(
|
|
2991
|
+
a(ss, "merge");
|
|
2992
2992
|
const km = {
|
|
2993
2993
|
xs: 0,
|
|
2994
2994
|
// phone
|
|
@@ -3172,7 +3172,7 @@ function GR(e, t, r, n) {
|
|
|
3172
3172
|
a(GR, "resolveCssProperty");
|
|
3173
3173
|
function tS(e, t) {
|
|
3174
3174
|
const r = wm(e.theme);
|
|
3175
|
-
return Object.keys(e).map((n) => GR(e, t, n, r)).reduce(
|
|
3175
|
+
return Object.keys(e).map((n) => GR(e, t, n, r)).reduce(ss, {});
|
|
3176
3176
|
}
|
|
3177
3177
|
a(tS, "style$2");
|
|
3178
3178
|
function ft(e) {
|
|
@@ -3203,7 +3203,7 @@ a(KR, "createSpacing");
|
|
|
3203
3203
|
function Od(...e) {
|
|
3204
3204
|
const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
|
|
3205
3205
|
n[i] = o;
|
|
3206
|
-
}), n), {}), r = /* @__PURE__ */ a((n) => Object.keys(n).reduce((o, i) => t[i] ?
|
|
3206
|
+
}), n), {}), r = /* @__PURE__ */ a((n) => Object.keys(n).reduce((o, i) => t[i] ? ss(o, t[i](n)) : o, {}), "fn");
|
|
3207
3207
|
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
|
|
3208
3208
|
}
|
|
3209
3209
|
a(Od, "compose");
|
|
@@ -3712,7 +3712,7 @@ function rS() {
|
|
|
3712
3712
|
if (m != null)
|
|
3713
3713
|
if (typeof m == "object")
|
|
3714
3714
|
if (s[g])
|
|
3715
|
-
h =
|
|
3715
|
+
h = ss(h, e(g, m, i, s));
|
|
3716
3716
|
else {
|
|
3717
3717
|
const b = nr({
|
|
3718
3718
|
theme: i
|
|
@@ -3722,10 +3722,10 @@ function rS() {
|
|
|
3722
3722
|
EA(b, m) ? h[g] = t({
|
|
3723
3723
|
sx: m,
|
|
3724
3724
|
theme: i
|
|
3725
|
-
}) : h =
|
|
3725
|
+
}) : h = ss(h, b);
|
|
3726
3726
|
}
|
|
3727
3727
|
else
|
|
3728
|
-
h =
|
|
3728
|
+
h = ss(h, e(g, m, i, s));
|
|
3729
3729
|
}), eS(f, h);
|
|
3730
3730
|
}
|
|
3731
3731
|
return a(l, "traverse"), Array.isArray(o) ? o.map(l) : l(o);
|
|
@@ -3733,8 +3733,8 @@ function rS() {
|
|
|
3733
3733
|
return a(t, "styleFunctionSx"), t;
|
|
3734
3734
|
}
|
|
3735
3735
|
a(rS, "unstable_createStyleFunctionSx");
|
|
3736
|
-
const
|
|
3737
|
-
|
|
3736
|
+
const Ra = rS();
|
|
3737
|
+
Ra.filterProps = ["sx"];
|
|
3738
3738
|
function nS(e, t) {
|
|
3739
3739
|
const r = this;
|
|
3740
3740
|
return r.vars && typeof r.getColorSchemeSelector == "function" ? {
|
|
@@ -3762,7 +3762,7 @@ function pl(e = {}, ...t) {
|
|
|
3762
3762
|
shape: E({}, _R, i)
|
|
3763
3763
|
}, s);
|
|
3764
3764
|
return d.applyStyles = nS, d = t.reduce((p, f) => Gt(p, f), d), d.unstable_sxConfig = E({}, dl, s == null ? void 0 : s.unstable_sxConfig), d.unstable_sx = /* @__PURE__ */ a(function(f) {
|
|
3765
|
-
return
|
|
3765
|
+
return Ra({
|
|
3766
3766
|
sx: f,
|
|
3767
3767
|
theme: this
|
|
3768
3768
|
});
|
|
@@ -3802,19 +3802,19 @@ function fl(e) {
|
|
|
3802
3802
|
a(fl, "extendSxProp");
|
|
3803
3803
|
const FA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3804
3804
|
__proto__: null,
|
|
3805
|
-
default:
|
|
3805
|
+
default: Ra,
|
|
3806
3806
|
extendSxProp: fl,
|
|
3807
3807
|
unstable_createStyleFunctionSx: rS,
|
|
3808
3808
|
unstable_defaultSxConfig: dl
|
|
3809
3809
|
}, Symbol.toStringTag, { value: "Module" })), $A = /* @__PURE__ */ gn(FA);
|
|
3810
|
-
var
|
|
3810
|
+
var Aa = Te;
|
|
3811
3811
|
Object.defineProperty(ll, "__esModule", {
|
|
3812
3812
|
value: !0
|
|
3813
3813
|
});
|
|
3814
3814
|
var IA = ll.default = KA;
|
|
3815
3815
|
ll.shouldForwardProp = ac;
|
|
3816
3816
|
ll.systemDefaultTheme = void 0;
|
|
3817
|
-
var xr =
|
|
3817
|
+
var xr = Aa(P1()), Mf = Aa(pM()), Bv = HA(G1), NA = MR, LA = Aa(RR), DA = Aa(NR), _A = Aa(MA), jA = Aa($A);
|
|
3818
3818
|
const zA = ["ownerState"], BA = ["variants"], VA = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
3819
3819
|
function oS(e) {
|
|
3820
3820
|
if (typeof WeakMap != "function") return null;
|
|
@@ -4057,7 +4057,7 @@ vt.private_safeColorChannel = void 0;
|
|
|
4057
4057
|
vt.private_safeDarken = uF;
|
|
4058
4058
|
vt.private_safeEmphasize = pF;
|
|
4059
4059
|
vt.private_safeLighten = dF;
|
|
4060
|
-
vt.recomposeColor =
|
|
4060
|
+
vt.recomposeColor = Fa;
|
|
4061
4061
|
vt.rgbToHex = sF;
|
|
4062
4062
|
var Uv = aS(ZA), oF = aS(tF);
|
|
4063
4063
|
function Mm(e, t = 0, r = 1) {
|
|
@@ -4112,7 +4112,7 @@ const aF = /* @__PURE__ */ a((e, t) => {
|
|
|
4112
4112
|
}
|
|
4113
4113
|
}, "private_safeColorChannel");
|
|
4114
4114
|
vt.private_safeColorChannel = aF;
|
|
4115
|
-
function
|
|
4115
|
+
function Fa(e) {
|
|
4116
4116
|
const {
|
|
4117
4117
|
type: t,
|
|
4118
4118
|
colorSpace: r
|
|
@@ -4122,7 +4122,7 @@ function Aa(e) {
|
|
|
4122
4122
|
} = e;
|
|
4123
4123
|
return t.indexOf("rgb") !== -1 ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.indexOf("color") !== -1 ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
|
|
4124
4124
|
}
|
|
4125
|
-
a(
|
|
4125
|
+
a(Fa, "recomposeColor$1");
|
|
4126
4126
|
function sF(e) {
|
|
4127
4127
|
if (e.indexOf("#") === 0)
|
|
4128
4128
|
return e;
|
|
@@ -4139,7 +4139,7 @@ function cS(e) {
|
|
|
4139
4139
|
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), s = /* @__PURE__ */ a((d, p = (d + r / 30) % 12) => o - i * Math.max(Math.min(p - 3, 9 - p, 1), -1), "f");
|
|
4140
4140
|
let l = "rgb";
|
|
4141
4141
|
const u = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
4142
|
-
return e.type === "hsla" && (l += "a", u.push(t[3])),
|
|
4142
|
+
return e.type === "hsla" && (l += "a", u.push(t[3])), Fa({
|
|
4143
4143
|
type: l,
|
|
4144
4144
|
values: u
|
|
4145
4145
|
});
|
|
@@ -4157,7 +4157,7 @@ function lF(e, t) {
|
|
|
4157
4157
|
}
|
|
4158
4158
|
a(lF, "getContrastRatio");
|
|
4159
4159
|
function uS(e, t) {
|
|
4160
|
-
return e = $r(e), t = Mm(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t,
|
|
4160
|
+
return e = $r(e), t = Mm(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Fa(e);
|
|
4161
4161
|
}
|
|
4162
4162
|
a(uS, "alpha$2");
|
|
4163
4163
|
function cF(e, t, r) {
|
|
@@ -4174,7 +4174,7 @@ function Rm(e, t) {
|
|
|
4174
4174
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
4175
4175
|
for (let r = 0; r < 3; r += 1)
|
|
4176
4176
|
e.values[r] *= 1 - t;
|
|
4177
|
-
return
|
|
4177
|
+
return Fa(e);
|
|
4178
4178
|
}
|
|
4179
4179
|
a(Rm, "darken");
|
|
4180
4180
|
function uF(e, t, r) {
|
|
@@ -4194,7 +4194,7 @@ function Am(e, t) {
|
|
|
4194
4194
|
else if (e.type.indexOf("color") !== -1)
|
|
4195
4195
|
for (let r = 0; r < 3; r += 1)
|
|
4196
4196
|
e.values[r] += (1 - e.values[r]) * t;
|
|
4197
|
-
return
|
|
4197
|
+
return Fa(e);
|
|
4198
4198
|
}
|
|
4199
4199
|
a(Am, "lighten");
|
|
4200
4200
|
function dF(e, t, r) {
|
|
@@ -4219,13 +4219,13 @@ function pF(e, t, r) {
|
|
|
4219
4219
|
a(pF, "private_safeEmphasize");
|
|
4220
4220
|
function fF(e, t, r, n = 1) {
|
|
4221
4221
|
const o = /* @__PURE__ */ a((u, d) => Math.round((u ** (1 / n) * (1 - r) + d ** (1 / n) * r) ** n), "blendChannel"), i = $r(e), s = $r(t), l = [o(i.values[0], s.values[0]), o(i.values[1], s.values[1]), o(i.values[2], s.values[2])];
|
|
4222
|
-
return
|
|
4222
|
+
return Fa({
|
|
4223
4223
|
type: "rgb",
|
|
4224
4224
|
values: l
|
|
4225
4225
|
});
|
|
4226
4226
|
}
|
|
4227
4227
|
a(fF, "blend");
|
|
4228
|
-
const
|
|
4228
|
+
const Ds = {
|
|
4229
4229
|
black: "#000",
|
|
4230
4230
|
white: "#fff"
|
|
4231
4231
|
}, Fm = {
|
|
@@ -4348,8 +4348,8 @@ const Ls = {
|
|
|
4348
4348
|
// The background colors used to style the surfaces.
|
|
4349
4349
|
// Consistency between these values is important.
|
|
4350
4350
|
background: {
|
|
4351
|
-
paper:
|
|
4352
|
-
default:
|
|
4351
|
+
paper: Ds.white,
|
|
4352
|
+
default: Ds.white
|
|
4353
4353
|
},
|
|
4354
4354
|
// The colors used to style the action elements.
|
|
4355
4355
|
action: {
|
|
@@ -4372,7 +4372,7 @@ const Ls = {
|
|
|
4372
4372
|
}
|
|
4373
4373
|
}, xp = {
|
|
4374
4374
|
text: {
|
|
4375
|
-
primary:
|
|
4375
|
+
primary: Ds.white,
|
|
4376
4376
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
4377
4377
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
4378
4378
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -4383,7 +4383,7 @@ const Ls = {
|
|
|
4383
4383
|
default: "#121212"
|
|
4384
4384
|
},
|
|
4385
4385
|
action: {
|
|
4386
|
-
active:
|
|
4386
|
+
active: Ds.white,
|
|
4387
4387
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
4388
4388
|
hoverOpacity: 0.08,
|
|
4389
4389
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -4522,7 +4522,7 @@ const theme2 = createTheme({ palette: {
|
|
|
4522
4522
|
};
|
|
4523
4523
|
return process.env.NODE_ENV !== "production" && (g[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Gt(E({
|
|
4524
4524
|
// A collection of common colors.
|
|
4525
|
-
common: E({},
|
|
4525
|
+
common: E({}, Ds),
|
|
4526
4526
|
// prevent mutable object.
|
|
4527
4527
|
// The palette mode, can be light or dark.
|
|
4528
4528
|
mode: t,
|
|
@@ -4763,7 +4763,7 @@ function pS(e = {}, ...t) {
|
|
|
4763
4763
|
});
|
|
4764
4764
|
}
|
|
4765
4765
|
return d.unstable_sxConfig = E({}, dl, s == null ? void 0 : s.unstable_sxConfig), d.unstable_sx = /* @__PURE__ */ a(function(f) {
|
|
4766
|
-
return
|
|
4766
|
+
return Ra({
|
|
4767
4767
|
sx: f,
|
|
4768
4768
|
theme: this
|
|
4769
4769
|
});
|
|
@@ -5047,7 +5047,7 @@ function gS(e, t, r, n, o) {
|
|
|
5047
5047
|
return typeof e[t] < "u" ? new Error(`The prop \`${i}\` is not supported. Please remove it.`) : null;
|
|
5048
5048
|
}
|
|
5049
5049
|
a(gS, "unsupportedProp");
|
|
5050
|
-
function
|
|
5050
|
+
function _s({
|
|
5051
5051
|
controlled: e,
|
|
5052
5052
|
default: t,
|
|
5053
5053
|
name: r,
|
|
@@ -5074,7 +5074,7 @@ function Ds({
|
|
|
5074
5074
|
}, []);
|
|
5075
5075
|
return [l, u];
|
|
5076
5076
|
}
|
|
5077
|
-
a(
|
|
5077
|
+
a(_s, "useControlled");
|
|
5078
5078
|
function lr(e) {
|
|
5079
5079
|
const t = x.useRef(e);
|
|
5080
5080
|
return bn(() => {
|
|
@@ -5123,14 +5123,14 @@ const Wu = class Wu {
|
|
|
5123
5123
|
}
|
|
5124
5124
|
};
|
|
5125
5125
|
a(Wu, "Timeout");
|
|
5126
|
-
let
|
|
5126
|
+
let js = Wu;
|
|
5127
5127
|
function Di() {
|
|
5128
|
-
const e = VF(
|
|
5128
|
+
const e = VF(js.create).current;
|
|
5129
5129
|
return WF(e.disposeEffect), e;
|
|
5130
5130
|
}
|
|
5131
5131
|
a(Di, "useTimeout");
|
|
5132
5132
|
let Ed = !0, Rf = !1;
|
|
5133
|
-
const UF = new
|
|
5133
|
+
const UF = new js(), qF = {
|
|
5134
5134
|
text: !0,
|
|
5135
5135
|
search: !0,
|
|
5136
5136
|
url: !0,
|
|
@@ -5222,7 +5222,7 @@ const XF = {
|
|
|
5222
5222
|
unstable_useEnhancedEffect: bn,
|
|
5223
5223
|
unstable_useId: ml,
|
|
5224
5224
|
unsupportedProp: gS,
|
|
5225
|
-
useControlled:
|
|
5225
|
+
useControlled: _s,
|
|
5226
5226
|
useEventCallback: lr,
|
|
5227
5227
|
useForkRef: Tt,
|
|
5228
5228
|
useIsFocusVisible: kd
|
|
@@ -5265,7 +5265,7 @@ const s$ = rd((e, t) => {
|
|
|
5265
5265
|
i ? /* @__PURE__ */ Jy(
|
|
5266
5266
|
yc,
|
|
5267
5267
|
{
|
|
5268
|
-
component:
|
|
5268
|
+
component: Fs,
|
|
5269
5269
|
ref: t,
|
|
5270
5270
|
...e,
|
|
5271
5271
|
key: "/form_275",
|
|
@@ -5278,7 +5278,7 @@ const s$ = rd((e, t) => {
|
|
|
5278
5278
|
s ? /* @__PURE__ */ Jy(
|
|
5279
5279
|
yc,
|
|
5280
5280
|
{
|
|
5281
|
-
component:
|
|
5281
|
+
component: Fs,
|
|
5282
5282
|
ref: t,
|
|
5283
5283
|
...e,
|
|
5284
5284
|
key: "/form_59",
|
|
@@ -5296,7 +5296,7 @@ const s$ = rd((e, t) => {
|
|
|
5296
5296
|
const t = Oi((r) => r.breakpoints.up("sm"));
|
|
5297
5297
|
return /* @__PURE__ */ q(Ww, { ...e, color: "secondary", userMenu: /* @__PURE__ */ v(l$, {}), children: [
|
|
5298
5298
|
/* @__PURE__ */ v(
|
|
5299
|
-
|
|
5299
|
+
As,
|
|
5300
5300
|
{
|
|
5301
5301
|
variant: "h6",
|
|
5302
5302
|
color: "inherit",
|
|
@@ -5364,7 +5364,7 @@ function f$(e = {}) {
|
|
|
5364
5364
|
generateClassName: o
|
|
5365
5365
|
} = e, i = Em("div", {
|
|
5366
5366
|
shouldForwardProp: /* @__PURE__ */ a((l) => l !== "theme" && l !== "sx" && l !== "as", "shouldForwardProp")
|
|
5367
|
-
})(
|
|
5367
|
+
})(Ra);
|
|
5368
5368
|
return /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(u, d) {
|
|
5369
5369
|
const p = wd(r), f = fl(u), {
|
|
5370
5370
|
className: h,
|
|
@@ -5444,7 +5444,7 @@ function x$(e = {}) {
|
|
|
5444
5444
|
defaultTheme: r = v$,
|
|
5445
5445
|
rootShouldForwardProp: n = Cp,
|
|
5446
5446
|
slotShouldForwardProp: o = Cp
|
|
5447
|
-
} = e, i = /* @__PURE__ */ a((s) =>
|
|
5447
|
+
} = e, i = /* @__PURE__ */ a((s) => Ra(E({}, s, {
|
|
5448
5448
|
theme: $l(E({}, s, {
|
|
5449
5449
|
defaultTheme: r,
|
|
5450
5450
|
themeId: t
|
|
@@ -5529,7 +5529,7 @@ function vS(e) {
|
|
|
5529
5529
|
name: r,
|
|
5530
5530
|
props: n
|
|
5531
5531
|
} = e;
|
|
5532
|
-
return !t || !t.components || !t.components[r] || !t.components[r].defaultProps ? n :
|
|
5532
|
+
return !t || !t.components || !t.components[r] || !t.components[r].defaultProps ? n : $s(t.components[r].defaultProps, n);
|
|
5533
5533
|
}
|
|
5534
5534
|
a(vS, "getThemeProps");
|
|
5535
5535
|
function C$({
|
|
@@ -5939,8 +5939,8 @@ var zm = {}, K$ = Te;
|
|
|
5939
5939
|
Object.defineProperty(zm, "__esModule", {
|
|
5940
5940
|
value: !0
|
|
5941
5941
|
});
|
|
5942
|
-
var
|
|
5943
|
-
|
|
5942
|
+
var zs = zm.default = void 0, Y$ = K$(we()), J$ = ke;
|
|
5943
|
+
zs = zm.default = (0, Y$.default)(/* @__PURE__ */ (0, J$.jsx)("path", {
|
|
5944
5944
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
|
|
5945
5945
|
}), "Cancel");
|
|
5946
5946
|
var Bm = {}, Q$ = Te;
|
|
@@ -5961,15 +5961,15 @@ kS = Vm.default = (0, tI.default)(/* @__PURE__ */ (0, rI.jsx)("path", {
|
|
|
5961
5961
|
}), "Edit");
|
|
5962
5962
|
function nI(e) {
|
|
5963
5963
|
const t = An(e);
|
|
5964
|
-
return t.body === e ?
|
|
5964
|
+
return t.body === e ? Rs(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
|
|
5965
5965
|
}
|
|
5966
5966
|
a(nI, "isOverflowing");
|
|
5967
|
-
function
|
|
5967
|
+
function ls(e, t) {
|
|
5968
5968
|
t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
|
|
5969
5969
|
}
|
|
5970
|
-
a(
|
|
5970
|
+
a(ls, "ariaHidden");
|
|
5971
5971
|
function i0(e) {
|
|
5972
|
-
return parseInt(
|
|
5972
|
+
return parseInt(Rs(e).getComputedStyle(e).paddingRight, 10) || 0;
|
|
5973
5973
|
}
|
|
5974
5974
|
a(i0, "getPaddingRight");
|
|
5975
5975
|
function oI(e) {
|
|
@@ -5981,7 +5981,7 @@ function a0(e, t, r, n, o) {
|
|
|
5981
5981
|
const i = [t, r, ...n];
|
|
5982
5982
|
[].forEach.call(e.children, (s) => {
|
|
5983
5983
|
const l = i.indexOf(s) === -1, u = !oI(s);
|
|
5984
|
-
l && u &&
|
|
5984
|
+
l && u && ls(s, o);
|
|
5985
5985
|
});
|
|
5986
5986
|
}
|
|
5987
5987
|
a(a0, "ariaHiddenSiblings");
|
|
@@ -6013,7 +6013,7 @@ function iI(e, t) {
|
|
|
6013
6013
|
if (n.parentNode instanceof DocumentFragment)
|
|
6014
6014
|
i = An(n).body;
|
|
6015
6015
|
else {
|
|
6016
|
-
const s = n.parentElement, l =
|
|
6016
|
+
const s = n.parentElement, l = Rs(n);
|
|
6017
6017
|
i = (s == null ? void 0 : s.nodeName) === "HTML" && l.getComputedStyle(s).overflowY === "scroll" ? s : n;
|
|
6018
6018
|
}
|
|
6019
6019
|
r.push({
|
|
@@ -6056,7 +6056,7 @@ const ny = class ny {
|
|
|
6056
6056
|
let n = this.modals.indexOf(t);
|
|
6057
6057
|
if (n !== -1)
|
|
6058
6058
|
return n;
|
|
6059
|
-
n = this.modals.length, this.modals.push(t), t.modalRef &&
|
|
6059
|
+
n = this.modals.length, this.modals.push(t), t.modalRef && ls(t.modalRef, !1);
|
|
6060
6060
|
const o = aI(r);
|
|
6061
6061
|
a0(r, t.mount, t.modalRef, o, !0);
|
|
6062
6062
|
const i = Tp(this.containers, (s) => s.container === r);
|
|
@@ -6077,10 +6077,10 @@ const ny = class ny {
|
|
|
6077
6077
|
return n;
|
|
6078
6078
|
const o = Tp(this.containers, (s) => s.modals.indexOf(t) !== -1), i = this.containers[o];
|
|
6079
6079
|
if (i.modals.splice(i.modals.indexOf(t), 1), this.modals.splice(n, 1), i.modals.length === 0)
|
|
6080
|
-
i.restore && i.restore(), t.modalRef &&
|
|
6080
|
+
i.restore && i.restore(), t.modalRef && ls(t.modalRef, r), a0(i.container, t.mount, t.modalRef, i.hiddenSiblings, !1), this.containers.splice(o, 1);
|
|
6081
6081
|
else {
|
|
6082
6082
|
const s = i.modals[i.modals.length - 1];
|
|
6083
|
-
s.modalRef &&
|
|
6083
|
+
s.modalRef && ls(s.modalRef, !1);
|
|
6084
6084
|
}
|
|
6085
6085
|
return n;
|
|
6086
6086
|
}
|
|
@@ -6123,8 +6123,8 @@ function wS(e, t, r, n, o) {
|
|
|
6123
6123
|
return typeof u == "function" && !sI(u) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
6124
6124
|
}
|
|
6125
6125
|
a(wS, "acceptingRef");
|
|
6126
|
-
const
|
|
6127
|
-
|
|
6126
|
+
const $a = vn(c.element, wS);
|
|
6127
|
+
$a.isRequired = vn(c.element.isRequired, wS);
|
|
6128
6128
|
function la(e) {
|
|
6129
6129
|
return typeof e == "string";
|
|
6130
6130
|
}
|
|
@@ -6373,7 +6373,7 @@ function mI(e) {
|
|
|
6373
6373
|
return typeof e == "function" ? e() : e;
|
|
6374
6374
|
}
|
|
6375
6375
|
a(mI, "getContainer$1");
|
|
6376
|
-
const
|
|
6376
|
+
const Bs = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
6377
6377
|
const {
|
|
6378
6378
|
children: n,
|
|
6379
6379
|
container: o,
|
|
@@ -6401,7 +6401,7 @@ const zs = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
6401
6401
|
children: s && /* @__PURE__ */ xf.createPortal(n, s)
|
|
6402
6402
|
});
|
|
6403
6403
|
}, "Portal"));
|
|
6404
|
-
process.env.NODE_ENV !== "production" && (
|
|
6404
|
+
process.env.NODE_ENV !== "production" && (Bs.propTypes = {
|
|
6405
6405
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
6406
6406
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
6407
6407
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -6427,7 +6427,7 @@ process.env.NODE_ENV !== "production" && (zs.propTypes = {
|
|
|
6427
6427
|
*/
|
|
6428
6428
|
disablePortal: c.bool
|
|
6429
6429
|
});
|
|
6430
|
-
process.env.NODE_ENV !== "production" && (
|
|
6430
|
+
process.env.NODE_ENV !== "production" && (Bs.propTypes = id(Bs.propTypes));
|
|
6431
6431
|
function Ff(e, t) {
|
|
6432
6432
|
return Ff = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : /* @__PURE__ */ a(function(n, o) {
|
|
6433
6433
|
return n.__proto__ = o, n;
|
|
@@ -6461,19 +6461,19 @@ process.env.NODE_ENV !== "production" && c.oneOfType([c.string, c.shape({
|
|
|
6461
6461
|
const Mc = nt.createContext(null);
|
|
6462
6462
|
var bI = /* @__PURE__ */ a(function(t) {
|
|
6463
6463
|
return t.scrollTop;
|
|
6464
|
-
}, "forceReflow"),
|
|
6464
|
+
}, "forceReflow"), rs = "unmounted", ko = "exited", wo = "entering", Ai = "entered", $f = "exiting", qr = /* @__PURE__ */ function(e) {
|
|
6465
6465
|
AS(t, e);
|
|
6466
6466
|
function t(n, o) {
|
|
6467
6467
|
var i;
|
|
6468
6468
|
i = e.call(this, n, o) || this;
|
|
6469
6469
|
var s = o, l = s && !s.isMounting ? n.enter : n.appear, u;
|
|
6470
|
-
return i.appearStatus = null, n.in ? l ? (u = ko, i.appearStatus = wo) : u = Ai : n.unmountOnExit || n.mountOnEnter ? u =
|
|
6470
|
+
return i.appearStatus = null, n.in ? l ? (u = ko, i.appearStatus = wo) : u = Ai : n.unmountOnExit || n.mountOnEnter ? u = rs : u = ko, i.state = {
|
|
6471
6471
|
status: u
|
|
6472
6472
|
}, i.nextCallback = null, i;
|
|
6473
6473
|
}
|
|
6474
6474
|
a(t, "Transition"), t.getDerivedStateFromProps = /* @__PURE__ */ a(function(o, i) {
|
|
6475
6475
|
var s = o.in;
|
|
6476
|
-
return s && i.status ===
|
|
6476
|
+
return s && i.status === rs ? {
|
|
6477
6477
|
status: ko
|
|
6478
6478
|
} : null;
|
|
6479
6479
|
}, "getDerivedStateFromProps");
|
|
@@ -6500,17 +6500,17 @@ var bI = /* @__PURE__ */ a(function(t) {
|
|
|
6500
6500
|
if (o === void 0 && (o = !1), i !== null)
|
|
6501
6501
|
if (this.cancelNextCallback(), i === wo) {
|
|
6502
6502
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
6503
|
-
var s = this.props.nodeRef ? this.props.nodeRef.current :
|
|
6503
|
+
var s = this.props.nodeRef ? this.props.nodeRef.current : ts.findDOMNode(this);
|
|
6504
6504
|
s && bI(s);
|
|
6505
6505
|
}
|
|
6506
6506
|
this.performEnter(o);
|
|
6507
6507
|
} else
|
|
6508
6508
|
this.performExit();
|
|
6509
6509
|
else this.props.unmountOnExit && this.state.status === ko && this.setState({
|
|
6510
|
-
status:
|
|
6510
|
+
status: rs
|
|
6511
6511
|
});
|
|
6512
6512
|
}, "updateStatus"), r.performEnter = /* @__PURE__ */ a(function(o) {
|
|
6513
|
-
var i = this, s = this.props.enter, l = this.context ? this.context.isMounting : o, u = this.props.nodeRef ? [l] : [
|
|
6513
|
+
var i = this, s = this.props.enter, l = this.context ? this.context.isMounting : o, u = this.props.nodeRef ? [l] : [ts.findDOMNode(this), l], d = u[0], p = u[1], f = this.getTimeouts(), h = l ? f.appear : f.enter;
|
|
6514
6514
|
if (!o && !s || l0.disabled) {
|
|
6515
6515
|
this.safeSetState({
|
|
6516
6516
|
status: Ai
|
|
@@ -6531,7 +6531,7 @@ var bI = /* @__PURE__ */ a(function(t) {
|
|
|
6531
6531
|
});
|
|
6532
6532
|
});
|
|
6533
6533
|
}, "performEnter"), r.performExit = /* @__PURE__ */ a(function() {
|
|
6534
|
-
var o = this, i = this.props.exit, s = this.getTimeouts(), l = this.props.nodeRef ? void 0 :
|
|
6534
|
+
var o = this, i = this.props.exit, s = this.getTimeouts(), l = this.props.nodeRef ? void 0 : ts.findDOMNode(this);
|
|
6535
6535
|
if (!i || l0.disabled) {
|
|
6536
6536
|
this.safeSetState({
|
|
6537
6537
|
status: ko
|
|
@@ -6564,7 +6564,7 @@ var bI = /* @__PURE__ */ a(function(t) {
|
|
|
6564
6564
|
}, this.nextCallback;
|
|
6565
6565
|
}, "setNextCallback"), r.onTransitionEnd = /* @__PURE__ */ a(function(o, i) {
|
|
6566
6566
|
this.setNextCallback(i);
|
|
6567
|
-
var s = this.props.nodeRef ? this.props.nodeRef.current :
|
|
6567
|
+
var s = this.props.nodeRef ? this.props.nodeRef.current : ts.findDOMNode(this), l = o == null && !this.props.addEndListener;
|
|
6568
6568
|
if (!s || l) {
|
|
6569
6569
|
setTimeout(this.nextCallback, 0);
|
|
6570
6570
|
return;
|
|
@@ -6576,7 +6576,7 @@ var bI = /* @__PURE__ */ a(function(t) {
|
|
|
6576
6576
|
o != null && setTimeout(this.nextCallback, o);
|
|
6577
6577
|
}, "onTransitionEnd"), r.render = /* @__PURE__ */ a(function() {
|
|
6578
6578
|
var o = this.state.status;
|
|
6579
|
-
if (o ===
|
|
6579
|
+
if (o === rs)
|
|
6580
6580
|
return null;
|
|
6581
6581
|
var i = this.props, s = i.children;
|
|
6582
6582
|
i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef;
|
|
@@ -6776,7 +6776,7 @@ qr.defaultProps = {
|
|
|
6776
6776
|
onExiting: ki,
|
|
6777
6777
|
onExited: ki
|
|
6778
6778
|
};
|
|
6779
|
-
qr.UNMOUNTED =
|
|
6779
|
+
qr.UNMOUNTED = rs;
|
|
6780
6780
|
qr.EXITED = ko;
|
|
6781
6781
|
qr.ENTERING = wo;
|
|
6782
6782
|
qr.ENTERED = Ai;
|
|
@@ -7081,7 +7081,7 @@ process.env.NODE_ENV !== "production" && (qm.propTypes = {
|
|
|
7081
7081
|
/**
|
|
7082
7082
|
* A single child content element.
|
|
7083
7083
|
*/
|
|
7084
|
-
children:
|
|
7084
|
+
children: $a.isRequired,
|
|
7085
7085
|
/**
|
|
7086
7086
|
* The transition timing function.
|
|
7087
7087
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -7340,7 +7340,7 @@ function $I(e) {
|
|
|
7340
7340
|
const j = RI(t) || C().body;
|
|
7341
7341
|
o.add(S(), j), m.current && w();
|
|
7342
7342
|
}), F = x.useCallback(() => o.isTopModal(S()), [o]), A = Xy((j) => {
|
|
7343
|
-
g.current = j, j && (p && F() ? w() : m.current &&
|
|
7343
|
+
g.current = j, j && (p && F() ? w() : m.current && ls(m.current, T));
|
|
7344
7344
|
}), M = x.useCallback(() => {
|
|
7345
7345
|
o.remove(S(), T);
|
|
7346
7346
|
}, [T, o]);
|
|
@@ -7520,7 +7520,7 @@ const NI = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7520
7520
|
className: re(se == null ? void 0 : se.className, f == null ? void 0 : f.className, J == null ? void 0 : J.backdrop),
|
|
7521
7521
|
ownerState: G
|
|
7522
7522
|
});
|
|
7523
|
-
return !M && !D && (!V || oe) ? null : /* @__PURE__ */ v(
|
|
7523
|
+
return !M && !D && (!V || oe) ? null : /* @__PURE__ */ v(Bs, {
|
|
7524
7524
|
ref: _,
|
|
7525
7525
|
container: b,
|
|
7526
7526
|
disablePortal: w,
|
|
@@ -7564,7 +7564,7 @@ process.env.NODE_ENV !== "production" && (Pd.propTypes = {
|
|
|
7564
7564
|
/**
|
|
7565
7565
|
* A single child content element.
|
|
7566
7566
|
*/
|
|
7567
|
-
children:
|
|
7567
|
+
children: $a.isRequired,
|
|
7568
7568
|
/**
|
|
7569
7569
|
* Override or extend the styles applied to the component.
|
|
7570
7570
|
*/
|
|
@@ -8680,7 +8680,7 @@ const IS = Rt(), Cl = /* @__PURE__ */ a(({ children: e }) => {
|
|
|
8680
8680
|
[t, n, r, o]
|
|
8681
8681
|
);
|
|
8682
8682
|
return /* @__PURE__ */ v(IS.Provider, { value: i, children: e });
|
|
8683
|
-
}, "ProgressProvider"),
|
|
8683
|
+
}, "ProgressProvider"), Ia = /* @__PURE__ */ a(() => Pe(IS), "useFormProgress"), NS = Rt(), Qm = /* @__PURE__ */ a(({ children: e }) => {
|
|
8684
8684
|
const [t, r] = De(!1), [n, o] = De({}), i = hr(
|
|
8685
8685
|
() => ({
|
|
8686
8686
|
open: t,
|
|
@@ -8850,7 +8850,7 @@ const IS = Rt(), Cl = /* @__PURE__ */ a(({ children: e }) => {
|
|
|
8850
8850
|
r.refetchQueries({ queryKey: [t], type: "active" });
|
|
8851
8851
|
}, [r, t]);
|
|
8852
8852
|
}, "useResourceRefresh"), Tl = /* @__PURE__ */ a((e) => ({}), "useDefaultHook"), Rd = /* @__PURE__ */ a((e) => {
|
|
8853
|
-
const t = ta(e), r = mn(), n = ka(), o =
|
|
8853
|
+
const t = ta(e), r = mn(), n = ka(), o = sl(), i = Ia(), s = mt(e), l = qS(e), u = Gw(s), d = Md(), p = Xm(), f = St(), [h] = Zm(s);
|
|
8854
8854
|
return {
|
|
8855
8855
|
ajax: h,
|
|
8856
8856
|
data: t,
|
|
@@ -8866,7 +8866,7 @@ const IS = Rt(), Cl = /* @__PURE__ */ a(({ children: e }) => {
|
|
|
8866
8866
|
translate: f
|
|
8867
8867
|
};
|
|
8868
8868
|
}, "useUtilsGrilla"), AN = /* @__PURE__ */ a((e) => {
|
|
8869
|
-
const t = DS(), r = _S(), n = jS(), o = zS(), i = BS(), s = VS(), l =
|
|
8869
|
+
const t = DS(), r = _S(), n = jS(), o = zS(), i = BS(), s = VS(), l = Ia(), u = mn(), d = ka(), p = sl(), f = mt(e), h = Md(), { propsContenidos: g, setPropsContenidos: m } = rg(), [b] = Zm(f), y = e.etrs || {};
|
|
8870
8870
|
return {
|
|
8871
8871
|
ajax: b,
|
|
8872
8872
|
notify: u,
|
|
@@ -8884,7 +8884,7 @@ const IS = Rt(), Cl = /* @__PURE__ */ a(({ children: e }) => {
|
|
|
8884
8884
|
etrs: y
|
|
8885
8885
|
};
|
|
8886
8886
|
}, "useUtilsSubmit"), On = /* @__PURE__ */ a((e) => {
|
|
8887
|
-
const t = DS(), r = _S(), n = jS(), o = zS(), i = BS(), s = VS(), l =
|
|
8887
|
+
const t = DS(), r = _S(), n = jS(), o = zS(), i = BS(), s = VS(), l = Ia(), u = mn(), d = ka(), p = sl(), f = mr(), h = mt(e), g = Md(), m = US(), { propsContenidos: b, setPropsContenidos: y } = rg(), [O] = Zm(h), k = e.etrs || {}, T = e.asisEtr || {}, C = f == null ? void 0 : f.trigger;
|
|
8888
8888
|
return {
|
|
8889
8889
|
form: f,
|
|
8890
8890
|
ajax: O,
|
|
@@ -8939,7 +8939,7 @@ const IS = Rt(), Cl = /* @__PURE__ */ a(({ children: e }) => {
|
|
|
8939
8939
|
etrs: k,
|
|
8940
8940
|
asisEtr: T
|
|
8941
8941
|
};
|
|
8942
|
-
}, "useUtilsFicha"), xt = Rt({}),
|
|
8942
|
+
}, "useUtilsFicha"), xt = Rt({}), Na = Rt(void 0), eg = Rt(), tg = /* @__PURE__ */ a(({ value: e, children: t }) => {
|
|
8943
8943
|
const [r, n] = De({}), o = hr(
|
|
8944
8944
|
() => ({
|
|
8945
8945
|
estado: e.estado,
|
|
@@ -9095,7 +9095,7 @@ a($N, "getCircularProgressUtilityClass");
|
|
|
9095
9095
|
Oe("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
9096
9096
|
const IN = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
|
|
9097
9097
|
let Ad = /* @__PURE__ */ a((e) => e, "_$1"), u0, d0, p0, f0;
|
|
9098
|
-
const zn = 44, NN =
|
|
9098
|
+
const zn = 44, NN = Ma(u0 || (u0 = Ad`
|
|
9099
9099
|
0% {
|
|
9100
9100
|
transform: rotate(0deg);
|
|
9101
9101
|
}
|
|
@@ -9103,7 +9103,7 @@ const zn = 44, NN = Pa(u0 || (u0 = Ad`
|
|
|
9103
9103
|
100% {
|
|
9104
9104
|
transform: rotate(360deg);
|
|
9105
9105
|
}
|
|
9106
|
-
`)), LN =
|
|
9106
|
+
`)), LN = Ma(d0 || (d0 = Ad`
|
|
9107
9107
|
0% {
|
|
9108
9108
|
stroke-dasharray: 1px, 200px;
|
|
9109
9109
|
stroke-dashoffset: 0;
|
|
@@ -9672,14 +9672,14 @@ function Ci() {
|
|
|
9672
9672
|
return x.useContext($d);
|
|
9673
9673
|
}
|
|
9674
9674
|
a(Ci, "useFormControl");
|
|
9675
|
-
function
|
|
9675
|
+
function La({
|
|
9676
9676
|
props: e,
|
|
9677
9677
|
states: t,
|
|
9678
9678
|
muiFormControl: r
|
|
9679
9679
|
}) {
|
|
9680
9680
|
return t.reduce((n, o) => (n[o] = e[o], r && typeof e[o] > "u" && (n[o] = r[o]), n), {});
|
|
9681
9681
|
}
|
|
9682
|
-
a(
|
|
9682
|
+
a(La, "formControlState");
|
|
9683
9683
|
function ZN(e) {
|
|
9684
9684
|
const {
|
|
9685
9685
|
prototype: t = {}
|
|
@@ -9733,7 +9733,7 @@ const ZS = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
9733
9733
|
} = t, u = ne(t, tL), {
|
|
9734
9734
|
current: d
|
|
9735
9735
|
} = x.useRef(l != null), p = x.useRef(null), f = ea(r, p), h = x.useRef(null), g = x.useRef(null), m = x.useCallback(() => {
|
|
9736
|
-
const O = p.current, T =
|
|
9736
|
+
const O = p.current, T = Rs(O).getComputedStyle(O);
|
|
9737
9737
|
if (T.width === "0px")
|
|
9738
9738
|
return {
|
|
9739
9739
|
outerHeightStyle: 0,
|
|
@@ -9768,7 +9768,7 @@ const ZS = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
9768
9768
|
cancelAnimationFrame(k), k = requestAnimationFrame(() => {
|
|
9769
9769
|
O();
|
|
9770
9770
|
});
|
|
9771
|
-
}, "rAFHandleResize"), C = Cw(O), S = p.current, w =
|
|
9771
|
+
}, "rAFHandleResize"), C = Cw(O), S = p.current, w = Rs(S);
|
|
9772
9772
|
w.addEventListener("resize", C);
|
|
9773
9773
|
let P;
|
|
9774
9774
|
return typeof ResizeObserver < "u" && (P = new ResizeObserver(process.env.NODE_ENV === "test" ? T : O), P.observe(S)), () => {
|
|
@@ -10090,7 +10090,7 @@ const da = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
10090
10090
|
if (ie)
|
|
10091
10091
|
return ie.registerEffect();
|
|
10092
10092
|
}, [ie]);
|
|
10093
|
-
const L =
|
|
10093
|
+
const L = La({
|
|
10094
10094
|
props: o,
|
|
10095
10095
|
muiFormControl: ie,
|
|
10096
10096
|
states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
|
|
@@ -10553,7 +10553,7 @@ const Sr = E({}, da, Oe("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
|
10553
10553
|
notched: m,
|
|
10554
10554
|
slots: b = {},
|
|
10555
10555
|
type: y = "text"
|
|
10556
|
-
} = u, O = ne(u, uL), k = dL(u), T = Ci(), C =
|
|
10556
|
+
} = u, O = ne(u, uL), k = dL(u), T = Ci(), C = La({
|
|
10557
10557
|
props: u,
|
|
10558
10558
|
muiFormControl: T,
|
|
10559
10559
|
states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
|
|
@@ -10830,7 +10830,7 @@ process.env.NODE_ENV !== "production" && (rC.propTypes = {
|
|
|
10830
10830
|
});
|
|
10831
10831
|
const Cr = Oe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), mL = ["center", "classes", "className"];
|
|
10832
10832
|
let jd = /* @__PURE__ */ a((e) => e, "_"), y0, v0, O0, x0;
|
|
10833
|
-
const Nf = 550, gL = 80, bL =
|
|
10833
|
+
const Nf = 550, gL = 80, bL = Ma(y0 || (y0 = jd`
|
|
10834
10834
|
0% {
|
|
10835
10835
|
transform: scale(0);
|
|
10836
10836
|
opacity: 0.1;
|
|
@@ -10840,7 +10840,7 @@ const Nf = 550, gL = 80, bL = Pa(y0 || (y0 = jd`
|
|
|
10840
10840
|
transform: scale(1);
|
|
10841
10841
|
opacity: 0.3;
|
|
10842
10842
|
}
|
|
10843
|
-
`)), yL =
|
|
10843
|
+
`)), yL = Ma(v0 || (v0 = jd`
|
|
10844
10844
|
0% {
|
|
10845
10845
|
opacity: 1;
|
|
10846
10846
|
}
|
|
@@ -10848,7 +10848,7 @@ const Nf = 550, gL = 80, bL = Pa(y0 || (y0 = jd`
|
|
|
10848
10848
|
100% {
|
|
10849
10849
|
opacity: 0;
|
|
10850
10850
|
}
|
|
10851
|
-
`)), vL =
|
|
10851
|
+
`)), vL = Ma(O0 || (O0 = jd`
|
|
10852
10852
|
0% {
|
|
10853
10853
|
transform: scale(1);
|
|
10854
10854
|
}
|
|
@@ -12699,7 +12699,7 @@ process.env.NODE_ENV !== "production" && (dg.propTypes = {
|
|
|
12699
12699
|
/**
|
|
12700
12700
|
* A single child content element.
|
|
12701
12701
|
*/
|
|
12702
|
-
children:
|
|
12702
|
+
children: $a.isRequired,
|
|
12703
12703
|
/**
|
|
12704
12704
|
* An HTML element, or a function that returns one.
|
|
12705
12705
|
* It's used to set the container the Slide is transitioning from.
|
|
@@ -12882,12 +12882,12 @@ function Po(e) {
|
|
|
12882
12882
|
return ["left", "right"].indexOf(e) !== -1;
|
|
12883
12883
|
}
|
|
12884
12884
|
a(Po, "isHorizontal");
|
|
12885
|
-
function
|
|
12885
|
+
function ns({
|
|
12886
12886
|
direction: e
|
|
12887
12887
|
}, t) {
|
|
12888
12888
|
return e === "rtl" && Po(t) ? cC[t] : t;
|
|
12889
12889
|
}
|
|
12890
|
-
a(
|
|
12890
|
+
a(ns, "getAnchor");
|
|
12891
12891
|
const uC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
12892
12892
|
const n = Se({
|
|
12893
12893
|
props: t,
|
|
@@ -12917,7 +12917,7 @@ const uC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
12917
12917
|
x.useEffect(() => {
|
|
12918
12918
|
P.current = !0;
|
|
12919
12919
|
}, []);
|
|
12920
|
-
const F =
|
|
12920
|
+
const F = ns({
|
|
12921
12921
|
direction: i ? "rtl" : "ltr"
|
|
12922
12922
|
}, l), M = E({}, n, {
|
|
12923
12923
|
anchor: l,
|
|
@@ -13127,10 +13127,10 @@ function Pp(e, t, r) {
|
|
|
13127
13127
|
return e === "bottom" ? r.innerHeight - t[0].clientY : t[0].clientY;
|
|
13128
13128
|
}
|
|
13129
13129
|
a(Pp, "calculateCurrentY");
|
|
13130
|
-
function
|
|
13130
|
+
function Ua(e, t) {
|
|
13131
13131
|
return e ? t.clientWidth : t.clientHeight;
|
|
13132
13132
|
}
|
|
13133
|
-
a(
|
|
13133
|
+
a(Ua, "getMaxTranslate");
|
|
13134
13134
|
function T0(e, t, r, n) {
|
|
13135
13135
|
return Math.min(Math.max(r ? t - e : n + t - e, 0), n);
|
|
13136
13136
|
}
|
|
@@ -13212,7 +13212,7 @@ const ED = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
13212
13212
|
const {
|
|
13213
13213
|
mode: J = null,
|
|
13214
13214
|
changeTransition: U = !0
|
|
13215
|
-
} = G, te =
|
|
13215
|
+
} = G, te = ns(o, s), X = ["right", "bottom"].indexOf(te) !== -1 ? 1 : -1, ae = Po(s), se = ae ? `translate(${X * V}px, 0)` : `translate(0, ${X * V}px)`, ie = I.current.style;
|
|
13216
13216
|
ie.webkitTransform = se, ie.transform = se;
|
|
13217
13217
|
let L = "";
|
|
13218
13218
|
if (J && (L = o.transitions.create("all", li({
|
|
@@ -13223,7 +13223,7 @@ const ED = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
13223
13223
|
mode: J
|
|
13224
13224
|
}))), U && (ie.webkitTransition = L, ie.transition = L), !l && !p) {
|
|
13225
13225
|
const ee = N.current.style;
|
|
13226
|
-
ee.opacity = 1 - V /
|
|
13226
|
+
ee.opacity = 1 - V / Ua(ae, I.current), U && (ee.webkitTransition = L, ee.transition = L);
|
|
13227
13227
|
}
|
|
13228
13228
|
}, [s, l, p, o, S]), Y = lr((V) => {
|
|
13229
13229
|
if (!j.current)
|
|
@@ -13235,17 +13235,17 @@ const ED = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
13235
13235
|
return;
|
|
13236
13236
|
}
|
|
13237
13237
|
R.current.isSwiping = null;
|
|
13238
|
-
const G =
|
|
13238
|
+
const G = ns(o, s), J = Po(s);
|
|
13239
13239
|
let U;
|
|
13240
13240
|
J ? U = wp(G, V.changedTouches, Pr(V.currentTarget)) : U = Pp(G, V.changedTouches, Hr(V.currentTarget));
|
|
13241
|
-
const te = J ? R.current.startX : R.current.startY, X =
|
|
13241
|
+
const te = J ? R.current.startX : R.current.startY, X = Ua(J, I.current), ae = T0(U, te, O, X), se = ae / X;
|
|
13242
13242
|
if (Math.abs(R.current.velocity) > g && (B.current = Math.abs((X - ae) / R.current.velocity) * 1e3), O) {
|
|
13243
13243
|
R.current.velocity > g || se > f ? b() : $(0, {
|
|
13244
13244
|
mode: "exit"
|
|
13245
13245
|
});
|
|
13246
13246
|
return;
|
|
13247
13247
|
}
|
|
13248
|
-
R.current.velocity < -g || 1 - se > f ? y() : $(
|
|
13248
|
+
R.current.velocity < -g || 1 - se > f ? y() : $(Ua(J, I.current), {
|
|
13249
13249
|
mode: "enter"
|
|
13250
13250
|
});
|
|
13251
13251
|
}), _ = /* @__PURE__ */ a((V = !1) => {
|
|
@@ -13254,7 +13254,7 @@ const ED = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
13254
13254
|
M(!0);
|
|
13255
13255
|
});
|
|
13256
13256
|
const G = Po(s);
|
|
13257
|
-
!O && I.current && $(
|
|
13257
|
+
!O && I.current && $(Ua(G, I.current) + (u ? 15 : -kp), {
|
|
13258
13258
|
changeTransition: !1
|
|
13259
13259
|
}), R.current.velocity = 0, R.current.lastTime = null, R.current.lastTranslate = null, R.current.paperHit = !1, j.current = !0;
|
|
13260
13260
|
}
|
|
@@ -13262,7 +13262,7 @@ const ED = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
13262
13262
|
if (!I.current || !j.current || Sn !== null && Sn !== R.current)
|
|
13263
13263
|
return;
|
|
13264
13264
|
_(!0);
|
|
13265
|
-
const G =
|
|
13265
|
+
const G = ns(o, s), J = Po(s), U = wp(G, V.touches, Pr(V.currentTarget)), te = Pp(G, V.touches, Hr(V.currentTarget));
|
|
13266
13266
|
if (O && I.current.contains(V.target) && Sn === null) {
|
|
13267
13267
|
const L = CD(V.target, I.current);
|
|
13268
13268
|
if (TD({
|
|
@@ -13288,7 +13288,7 @@ const ED = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
13288
13288
|
}
|
|
13289
13289
|
if (!R.current.isSwiping)
|
|
13290
13290
|
return;
|
|
13291
|
-
const X =
|
|
13291
|
+
const X = Ua(J, I.current);
|
|
13292
13292
|
let ae = J ? R.current.startX : R.current.startY;
|
|
13293
13293
|
O && !R.current.paperHit && (ae = Math.min(ae, X));
|
|
13294
13294
|
const se = T0(J ? U : te, ae, O, X);
|
|
@@ -13305,7 +13305,7 @@ const ED = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
13305
13305
|
}), oe = lr((V) => {
|
|
13306
13306
|
if (V.defaultPrevented || V.defaultMuiPrevented || O && (p || !N.current.contains(V.target)) && !I.current.contains(V.target))
|
|
13307
13307
|
return;
|
|
13308
|
-
const G =
|
|
13308
|
+
const G = ns(o, s), J = Po(s), U = wp(G, V.touches, Pr(V.currentTarget)), te = Pp(G, V.touches, Hr(V.currentTarget));
|
|
13309
13309
|
if (!O) {
|
|
13310
13310
|
var X;
|
|
13311
13311
|
if (d || !(V.target === D.current || (X = I.current) != null && X.contains(V.target) && (typeof h == "function" ? h(V, D.current, I.current) : h)))
|
|
@@ -14233,7 +14233,7 @@ const GD = /* @__PURE__ */ a((e) => {
|
|
|
14233
14233
|
isRowEditable: i,
|
|
14234
14234
|
borra: s,
|
|
14235
14235
|
nuevoDesde: l
|
|
14236
|
-
} = e, u = mt(e), d = St(), p =
|
|
14236
|
+
} = e, u = mt(e), d = St(), p = il(), f = sl(), h = Rd(e), g = !jf(t.row, i), m = o && g;
|
|
14237
14237
|
return /* @__PURE__ */ q(x.Fragment, { children: [
|
|
14238
14238
|
/* @__PURE__ */ v(
|
|
14239
14239
|
it,
|
|
@@ -21578,7 +21578,7 @@ const cj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21578
21578
|
...y,
|
|
21579
21579
|
children: p === "form" ? (/* @__PURE__ */ a(() => /* @__PURE__ */ q(dn, { children: [
|
|
21580
21580
|
/* @__PURE__ */ v(Yx, { id: "draggable-dialog-title", children: s }),
|
|
21581
|
-
/* @__PURE__ */ q(
|
|
21581
|
+
/* @__PURE__ */ q(al, { resource: r, onSubmit: u, children: [
|
|
21582
21582
|
/* @__PURE__ */ v(Mw, { dividers: m, variant: "dense", children: /* @__PURE__ */ v(om, { spacing: 2, children: l }) }),
|
|
21583
21583
|
/* @__PURE__ */ q(Rw, { children: [
|
|
21584
21584
|
f.map(
|
|
@@ -21603,7 +21603,7 @@ const cj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21603
21603
|
label: "ra.action.cancel",
|
|
21604
21604
|
disabled: t,
|
|
21605
21605
|
onClick: d,
|
|
21606
|
-
children: /* @__PURE__ */ v(
|
|
21606
|
+
children: /* @__PURE__ */ v(zs, {})
|
|
21607
21607
|
}
|
|
21608
21608
|
),
|
|
21609
21609
|
h && /* @__PURE__ */ v(
|
|
@@ -21649,7 +21649,7 @@ const cj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21649
21649
|
disabled: t,
|
|
21650
21650
|
onClick: d,
|
|
21651
21651
|
color: "inherit",
|
|
21652
|
-
children: /* @__PURE__ */ v(
|
|
21652
|
+
children: /* @__PURE__ */ v(zs, {})
|
|
21653
21653
|
}
|
|
21654
21654
|
)
|
|
21655
21655
|
] }) }),
|
|
@@ -21711,11 +21711,11 @@ const cj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21711
21711
|
label: r = "ra.action.create",
|
|
21712
21712
|
scrollToTop: n = !0,
|
|
21713
21713
|
...o
|
|
21714
|
-
} = e, i = mt(e), s = Lr(e), l =
|
|
21714
|
+
} = e, i = mt(e), s = Lr(e), l = il();
|
|
21715
21715
|
return /* @__PURE__ */ v(
|
|
21716
21716
|
yg,
|
|
21717
21717
|
{
|
|
21718
|
-
component:
|
|
21718
|
+
component: Fs,
|
|
21719
21719
|
to: l({ type: "create", resource: i }),
|
|
21720
21720
|
state: {
|
|
21721
21721
|
record: s,
|
|
@@ -21736,11 +21736,11 @@ const cj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21736
21736
|
label: r = "ra.action.edit",
|
|
21737
21737
|
scrollToTop: n = !0,
|
|
21738
21738
|
...o
|
|
21739
|
-
} = e, i = mt(e), s = Lr(e), l =
|
|
21739
|
+
} = e, i = mt(e), s = Lr(e), l = il();
|
|
21740
21740
|
return s ? /* @__PURE__ */ v(
|
|
21741
21741
|
yg,
|
|
21742
21742
|
{
|
|
21743
|
-
component:
|
|
21743
|
+
component: Fs,
|
|
21744
21744
|
to: l({ type: "edit", resource: i, id: s.id }),
|
|
21745
21745
|
state: gj[String(n)],
|
|
21746
21746
|
label: r,
|
|
@@ -21757,11 +21757,11 @@ const cj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21757
21757
|
resource: o,
|
|
21758
21758
|
scrollToTop: i = !0,
|
|
21759
21759
|
...s
|
|
21760
|
-
} = e, l = mt(e), u = Lr(e), d =
|
|
21760
|
+
} = e, l = mt(e), u = Lr(e), d = il();
|
|
21761
21761
|
return u ? /* @__PURE__ */ v(
|
|
21762
21762
|
yg,
|
|
21763
21763
|
{
|
|
21764
|
-
component:
|
|
21764
|
+
component: Fs,
|
|
21765
21765
|
to: d({ type: "show", resource: l, id: u.id }),
|
|
21766
21766
|
state: Oj[String(i)],
|
|
21767
21767
|
label: r,
|
|
@@ -21971,8 +21971,8 @@ const kC = /* @__PURE__ */ a((e) => {
|
|
|
21971
21971
|
} = e, i = St();
|
|
21972
21972
|
return /* @__PURE__ */ v(Lj, { className: t, ...o, children: /* @__PURE__ */ q("div", { className: Oc.message, children: [
|
|
21973
21973
|
/* @__PURE__ */ v(Fd, { className: Oc.icon }),
|
|
21974
|
-
/* @__PURE__ */ v(
|
|
21975
|
-
/* @__PURE__ */ v(
|
|
21974
|
+
/* @__PURE__ */ v(As, { variant: "h5", mt: 3, color: "text.secondary", children: i(r, { _: r }) }),
|
|
21975
|
+
/* @__PURE__ */ v(As, { variant: "body2", children: i(n, { _: n }) })
|
|
21976
21976
|
] }) });
|
|
21977
21977
|
}, "Loading"), Nj = "RaLoading", Lj = Q("div", {
|
|
21978
21978
|
name: Nj,
|
|
@@ -22110,7 +22110,7 @@ const kC = /* @__PURE__ */ a((e) => {
|
|
|
22110
22110
|
setFilters: W,
|
|
22111
22111
|
sort: oe,
|
|
22112
22112
|
setSort: V
|
|
22113
|
-
} = ta(), G =
|
|
22113
|
+
} = ta(), G = il(), J = sl(), U = cm(), te = Pe(PC), X = Pe(BB), ae = xg();
|
|
22114
22114
|
et(() => {
|
|
22115
22115
|
X && (X.current.activePanel.params.apiRef = U);
|
|
22116
22116
|
}, [X]);
|
|
@@ -22495,8 +22495,8 @@ const kC = /* @__PURE__ */ a((e) => {
|
|
|
22495
22495
|
opacity: 0.6,
|
|
22496
22496
|
position: "relative"
|
|
22497
22497
|
}, Uj = /* @__PURE__ */ a((e) => {
|
|
22498
|
-
const t = mr(), r =
|
|
22499
|
-
return /* @__PURE__ */ v(
|
|
22498
|
+
const t = mr(), r = Ia(), n = r.open ? Wj : Hj;
|
|
22499
|
+
return /* @__PURE__ */ v(Na.Provider, { value: { form: t }, children: /* @__PURE__ */ q(
|
|
22500
22500
|
Qx,
|
|
22501
22501
|
{
|
|
22502
22502
|
sx: {
|
|
@@ -22522,7 +22522,7 @@ const kC = /* @__PURE__ */ a((e) => {
|
|
|
22522
22522
|
}, "EtrChildrenWrapper"), RC = /* @__PURE__ */ a((e) => /* @__PURE__ */ q(vl, { open: e.open, onClose: e.onClose, fullWidth: !0, children: [
|
|
22523
22523
|
/* @__PURE__ */ v(Sl, { children: `${e.labelEstado} ${e.label}` }),
|
|
22524
22524
|
/* @__PURE__ */ v(Jm, { component: "span", children: /* @__PURE__ */ v(Cl, { children: /* @__PURE__ */ v(
|
|
22525
|
-
|
|
22525
|
+
al,
|
|
22526
22526
|
{
|
|
22527
22527
|
mode: "onBlur",
|
|
22528
22528
|
record: Vj,
|
|
@@ -22543,7 +22543,7 @@ const kC = /* @__PURE__ */ a((e) => {
|
|
|
22543
22543
|
open: u
|
|
22544
22544
|
} = e, { dirtyFields: d, isValid: p } = qP(), {
|
|
22545
22545
|
fichaProps: { [e.source]: f = {}, etrs: h }
|
|
22546
|
-
} = Pe(xt), g =
|
|
22546
|
+
} = Pe(xt), g = Ia(), m = Pe(Na), { onAfterRenderAsistente: b, ...y } = f, O = On({ resource: r, etrs: h, asisEtr: m });
|
|
22547
22547
|
return et(() => {
|
|
22548
22548
|
u && typeof b == "function" && b({ ...O, form: t }, n);
|
|
22549
22549
|
}, [u]), /* @__PURE__ */ q(un, { children: [
|
|
@@ -22574,7 +22574,7 @@ const kC = /* @__PURE__ */ a((e) => {
|
|
|
22574
22574
|
onClick: /* @__PURE__ */ a((k) => {
|
|
22575
22575
|
l(!1), k.stopPropagation();
|
|
22576
22576
|
}, "onClick"),
|
|
22577
|
-
children: /* @__PURE__ */ v(
|
|
22577
|
+
children: /* @__PURE__ */ v(zs, {})
|
|
22578
22578
|
}
|
|
22579
22579
|
)
|
|
22580
22580
|
] })
|
|
@@ -22593,7 +22593,7 @@ const kC = /* @__PURE__ */ a((e) => {
|
|
|
22593
22593
|
} = e, [d, p] = am(!1), f = mt(e), h = mr(), g = xi(), m = YS({ apiRef: g, source: i, enviarTodo: s }), b = "N", {
|
|
22594
22594
|
estado: y,
|
|
22595
22595
|
fichaProps: { etrs: O }
|
|
22596
|
-
} = Pe(xt), k = Pe(
|
|
22596
|
+
} = Pe(xt), k = Pe(Na), T = On({ etrs: O, asisEtr: k }), S = St()("ra.action.create");
|
|
22597
22597
|
return /* @__PURE__ */ q(un, { children: [
|
|
22598
22598
|
/* @__PURE__ */ v(
|
|
22599
22599
|
wr,
|
|
@@ -22656,7 +22656,7 @@ const kC = /* @__PURE__ */ a((e) => {
|
|
|
22656
22656
|
} = e, p = St(), [f, h] = am(!1), g = xi(), m = mr(), b = JS({ apiRef: g, source: i, enviarTodo: l }), y = "M", {
|
|
22657
22657
|
estado: O,
|
|
22658
22658
|
fichaProps: { etrs: k }
|
|
22659
|
-
} = Pe(xt), T = Pe(
|
|
22659
|
+
} = Pe(xt), T = Pe(Na), C = On({ etrs: k, asisEtr: T }), S = p("ra.action.edit");
|
|
22660
22660
|
return /* @__PURE__ */ q(un, { children: [
|
|
22661
22661
|
/* @__PURE__ */ v(
|
|
22662
22662
|
wr,
|
|
@@ -23150,7 +23150,7 @@ const P0 = Oe("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
|
|
|
23150
23150
|
}, t.orientation === "vertical" && {
|
|
23151
23151
|
paddingTop: `calc(${e.spacing(1)} * 1.2)`,
|
|
23152
23152
|
paddingBottom: `calc(${e.spacing(1)} * 1.2)`
|
|
23153
|
-
})),
|
|
23153
|
+
})), Vs = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
23154
23154
|
const n = Se({
|
|
23155
23155
|
props: t,
|
|
23156
23156
|
name: "MuiDivider"
|
|
@@ -23189,8 +23189,8 @@ const P0 = Oe("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
|
|
|
23189
23189
|
}) : null
|
|
23190
23190
|
}));
|
|
23191
23191
|
}, "Divider"));
|
|
23192
|
-
|
|
23193
|
-
process.env.NODE_ENV !== "production" && (
|
|
23192
|
+
Vs.muiSkipListHighlight = !0;
|
|
23193
|
+
process.env.NODE_ENV !== "production" && (Vs.propTypes = {
|
|
23194
23194
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
23195
23195
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
23196
23196
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -24334,7 +24334,7 @@ const wZ = /* @__PURE__ */ a((e) => {
|
|
|
24334
24334
|
))
|
|
24335
24335
|
}
|
|
24336
24336
|
),
|
|
24337
|
-
/* @__PURE__ */ v(
|
|
24337
|
+
/* @__PURE__ */ v(Vs, {}),
|
|
24338
24338
|
/* @__PURE__ */ v(i, { ...s, ...o[l] })
|
|
24339
24339
|
] });
|
|
24340
24340
|
}, "TabbedGrillaEtriek"), Sg = /* @__PURE__ */ a((e) => {
|
|
@@ -25153,7 +25153,7 @@ const Uz = /^(\d+)(th|st|nd|rd)?/i, qz = /\d+/i, Gz = {
|
|
|
25153
25153
|
firstWeekContainsDate: 1
|
|
25154
25154
|
}
|
|
25155
25155
|
}, ir = /* @__PURE__ */ a((e) => {
|
|
25156
|
-
const { source: t } = e, { estado: r, isLoading: n, fichaProps: o = {} } = Pe(xt), i = Pe(
|
|
25156
|
+
const { source: t } = e, { estado: r, isLoading: n, fichaProps: o = {} } = Pe(xt), i = Pe(Na), s = i !== void 0, l = dm((Ee) => {
|
|
25157
25157
|
const tt = Ee.configInputs ? Ee.configInputs.filter((rt) => rt.id === t) : [];
|
|
25158
25158
|
return tt[0] ? tt[0] : null;
|
|
25159
25159
|
}), {
|
|
@@ -25534,7 +25534,7 @@ const Uz = /^(\d+)(th|st|nd|rd)?/i, qz = /\d+/i, Gz = {
|
|
|
25534
25534
|
return typeof t == "function" ? l : void 0;
|
|
25535
25535
|
}, "useFormSubmit"), qB = /* @__PURE__ */ a((e) => {
|
|
25536
25536
|
var m, b;
|
|
25537
|
-
const { useFormulario: t, enableLoad: r = !0, tipo: n, ...o } = e, i = mt(e), s =
|
|
25537
|
+
const { useFormulario: t, enableLoad: r = !0, tipo: n, ...o } = e, i = mt(e), s = wa(), l = n === "ventana" ? WB : aP, u = ((m = s == null ? void 0 : s.state) == null ? void 0 : m.estado) || "N", d = ((b = s == null ? void 0 : s.state) == null ? void 0 : b.id) || "-1", { data: p, isFetching: f } = Cz(
|
|
25538
25538
|
i,
|
|
25539
25539
|
{
|
|
25540
25540
|
enabled: r
|
|
@@ -25547,7 +25547,7 @@ const Uz = /^(\d+)(th|st|nd|rd)?/i, qz = /\d+/i, Gz = {
|
|
|
25547
25547
|
isLoading: f,
|
|
25548
25548
|
fichaProps: h
|
|
25549
25549
|
}),
|
|
25550
|
-
[p, f, h]
|
|
25550
|
+
[p, f, h, u]
|
|
25551
25551
|
);
|
|
25552
25552
|
return /* @__PURE__ */ v(Cl, { children: /* @__PURE__ */ v(tg, { value: g, children: /* @__PURE__ */ v(Qm, { children: /* @__PURE__ */ v(
|
|
25553
25553
|
l,
|
|
@@ -25574,7 +25574,7 @@ const KB = {
|
|
|
25574
25574
|
opacity: 1,
|
|
25575
25575
|
transform: "none"
|
|
25576
25576
|
}
|
|
25577
|
-
}, Dp = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent),
|
|
25577
|
+
}, Dp = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), Hs = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
25578
25578
|
const {
|
|
25579
25579
|
addEndListener: n,
|
|
25580
25580
|
appear: o = !0,
|
|
@@ -25665,7 +25665,7 @@ const KB = {
|
|
|
25665
25665
|
}, j)), "children")
|
|
25666
25666
|
}));
|
|
25667
25667
|
}, "Grow"));
|
|
25668
|
-
process.env.NODE_ENV !== "production" && (
|
|
25668
|
+
process.env.NODE_ENV !== "production" && (Hs.propTypes = {
|
|
25669
25669
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
25670
25670
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
25671
25671
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -25685,7 +25685,7 @@ process.env.NODE_ENV !== "production" && (Vs.propTypes = {
|
|
|
25685
25685
|
/**
|
|
25686
25686
|
* A single child content element.
|
|
25687
25687
|
*/
|
|
25688
|
-
children:
|
|
25688
|
+
children: $a.isRequired,
|
|
25689
25689
|
/**
|
|
25690
25690
|
* The transition timing function.
|
|
25691
25691
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -25739,7 +25739,7 @@ process.env.NODE_ENV !== "production" && (Vs.propTypes = {
|
|
|
25739
25739
|
exit: c.number
|
|
25740
25740
|
})])
|
|
25741
25741
|
});
|
|
25742
|
-
|
|
25742
|
+
Hs.muiSupportAuto = !0;
|
|
25743
25743
|
var Eg = {};
|
|
25744
25744
|
Object.defineProperty(Eg, "__esModule", {
|
|
25745
25745
|
value: !0
|
|
@@ -25776,10 +25776,10 @@ function ZB(e = null) {
|
|
|
25776
25776
|
}
|
|
25777
25777
|
a(ZB, "useTheme");
|
|
25778
25778
|
zC = Eg.default = ZB;
|
|
25779
|
-
var Zt = "top", Ir = "bottom", Nr = "right", er = "left", kg = "auto", El = [Zt, Ir, Nr, er], fa = "start",
|
|
25780
|
-
return e.concat([t + "-" + fa, t + "-" +
|
|
25779
|
+
var Zt = "top", Ir = "bottom", Nr = "right", er = "left", kg = "auto", El = [Zt, Ir, Nr, er], fa = "start", Ws = "end", eV = "clippingParents", VC = "viewport", qa = "popper", tV = "reference", I0 = /* @__PURE__ */ El.reduce(function(e, t) {
|
|
25780
|
+
return e.concat([t + "-" + fa, t + "-" + Ws]);
|
|
25781
25781
|
}, []), HC = /* @__PURE__ */ [].concat(El, [kg]).reduce(function(e, t) {
|
|
25782
|
-
return e.concat([t, t + "-" + fa, t + "-" +
|
|
25782
|
+
return e.concat([t, t + "-" + fa, t + "-" + Ws]);
|
|
25783
25783
|
}, []), rV = "beforeRead", nV = "read", oV = "afterRead", iV = "beforeMain", aV = "main", sV = "afterMain", lV = "beforeWrite", cV = "write", uV = "afterWrite", dV = [rV, nV, oV, iV, aV, sV, lV, cV, uV];
|
|
25784
25784
|
function pn(e) {
|
|
25785
25785
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
@@ -25974,12 +25974,12 @@ function Mg(e) {
|
|
|
25974
25974
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
25975
25975
|
}
|
|
25976
25976
|
a(Mg, "getMainAxisFromPlacement");
|
|
25977
|
-
function
|
|
25977
|
+
function cs(e, t, r) {
|
|
25978
25978
|
return Go(e, Nc(t, r));
|
|
25979
25979
|
}
|
|
25980
|
-
a(
|
|
25980
|
+
a(cs, "within");
|
|
25981
25981
|
function bV(e, t, r) {
|
|
25982
|
-
var n =
|
|
25982
|
+
var n = cs(e, t, r);
|
|
25983
25983
|
return n > r ? r : n;
|
|
25984
25984
|
}
|
|
25985
25985
|
a(bV, "withinMaxClamp");
|
|
@@ -26010,7 +26010,7 @@ var yV = /* @__PURE__ */ a(function(t, r) {
|
|
|
26010
26010
|
function vV(e) {
|
|
26011
26011
|
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, s = r.modifiersData.popperOffsets, l = cn(r.placement), u = Mg(l), d = [er, Nr].indexOf(l) >= 0, p = d ? "height" : "width";
|
|
26012
26012
|
if (!(!i || !s)) {
|
|
26013
|
-
var f = yV(o.padding, r), h = Pg(i), g = u === "y" ? Zt : er, m = u === "y" ? Ir : Nr, b = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], y = s[u] - r.rects.reference[u], O = kl(i), k = O ? u === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, T = b / 2 - y / 2, C = f[g], S = k - h[p] - f[m], w = k / 2 - h[p] / 2 + T, P =
|
|
26013
|
+
var f = yV(o.padding, r), h = Pg(i), g = u === "y" ? Zt : er, m = u === "y" ? Ir : Nr, b = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], y = s[u] - r.rects.reference[u], O = kl(i), k = O ? u === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, T = b / 2 - y / 2, C = f[g], S = k - h[p] - f[m], w = k / 2 - h[p] / 2 + T, P = cs(C, w, S), F = u;
|
|
26014
26014
|
r.modifiersData[n] = (t = {}, t[F] = P, t.centerOffset = P - w, t);
|
|
26015
26015
|
}
|
|
26016
26016
|
}
|
|
@@ -26059,7 +26059,7 @@ function L0(e) {
|
|
|
26059
26059
|
var O = s.hasOwnProperty("x"), k = s.hasOwnProperty("y"), T = er, C = Zt, S = window;
|
|
26060
26060
|
if (d) {
|
|
26061
26061
|
var w = kl(r), P = "clientHeight", F = "clientWidth";
|
|
26062
|
-
if (w === pr(r) && (w = ho(r), Nn(w).position !== "static" && l === "absolute" && (P = "scrollHeight", F = "scrollWidth")), w = w, o === Zt || (o === er || o === Nr) && i ===
|
|
26062
|
+
if (w === pr(r) && (w = ho(r), Nn(w).position !== "static" && l === "absolute" && (P = "scrollHeight", F = "scrollWidth")), w = w, o === Zt || (o === er || o === Nr) && i === Ws) {
|
|
26063
26063
|
C = Ir;
|
|
26064
26064
|
var A = f && w === S && S.visualViewport ? S.visualViewport.height : (
|
|
26065
26065
|
// $FlowFixMe[prop-missing]
|
|
@@ -26067,7 +26067,7 @@ function L0(e) {
|
|
|
26067
26067
|
);
|
|
26068
26068
|
b -= A - n.height, b *= u ? 1 : -1;
|
|
26069
26069
|
}
|
|
26070
|
-
if (o === er || (o === Zt || o === Ir) && i ===
|
|
26070
|
+
if (o === er || (o === Zt || o === Ir) && i === Ws) {
|
|
26071
26071
|
T = Nr;
|
|
26072
26072
|
var M = f && w === S && S.visualViewport ? S.visualViewport.width : (
|
|
26073
26073
|
// $FlowFixMe[prop-missing]
|
|
@@ -26214,16 +26214,16 @@ function YC(e) {
|
|
|
26214
26214
|
return ["html", "body", "#document"].indexOf(pn(e)) >= 0 ? e.ownerDocument.body : Ar(e) && Fg(e) ? e : YC(Bd(e));
|
|
26215
26215
|
}
|
|
26216
26216
|
a(YC, "getScrollParent");
|
|
26217
|
-
function
|
|
26217
|
+
function us(e, t) {
|
|
26218
26218
|
var r;
|
|
26219
26219
|
t === void 0 && (t = []);
|
|
26220
26220
|
var n = YC(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), i = pr(n), s = o ? [i].concat(i.visualViewport || [], Fg(n) ? n : []) : n, l = t.concat(s);
|
|
26221
26221
|
return o ? l : (
|
|
26222
26222
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
26223
|
-
l.concat(
|
|
26223
|
+
l.concat(us(Bd(s)))
|
|
26224
26224
|
);
|
|
26225
26225
|
}
|
|
26226
|
-
a(
|
|
26226
|
+
a(us, "listScrollParents");
|
|
26227
26227
|
function Vf(e) {
|
|
26228
26228
|
return Object.assign({}, e, {
|
|
26229
26229
|
left: e.x,
|
|
@@ -26243,7 +26243,7 @@ function _0(e, t, r) {
|
|
|
26243
26243
|
}
|
|
26244
26244
|
a(_0, "getClientRectFromMixedType");
|
|
26245
26245
|
function $V(e) {
|
|
26246
|
-
var t =
|
|
26246
|
+
var t = us(Bd(e)), r = ["absolute", "fixed"].indexOf(Nn(e).position) >= 0, n = r && Ar(e) ? kl(e) : e;
|
|
26247
26247
|
return di(n) ? t.filter(function(o) {
|
|
26248
26248
|
return di(o) && UC(o, n) && pn(o) !== "body";
|
|
26249
26249
|
}) : [];
|
|
@@ -26297,7 +26297,7 @@ function JC(e) {
|
|
|
26297
26297
|
case fa:
|
|
26298
26298
|
u[d] = u[d] - (t[p] / 2 - r[p] / 2);
|
|
26299
26299
|
break;
|
|
26300
|
-
case
|
|
26300
|
+
case Ws:
|
|
26301
26301
|
u[d] = u[d] + (t[p] / 2 - r[p] / 2);
|
|
26302
26302
|
break;
|
|
26303
26303
|
}
|
|
@@ -26305,20 +26305,20 @@ function JC(e) {
|
|
|
26305
26305
|
return u;
|
|
26306
26306
|
}
|
|
26307
26307
|
a(JC, "computeOffsets");
|
|
26308
|
-
function
|
|
26308
|
+
function Us(e, t) {
|
|
26309
26309
|
t === void 0 && (t = {});
|
|
26310
|
-
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, s = i === void 0 ? e.strategy : i, l = r.boundary, u = l === void 0 ? eV : l, d = r.rootBoundary, p = d === void 0 ? VC : d, f = r.elementContext, h = f === void 0 ?
|
|
26310
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, s = i === void 0 ? e.strategy : i, l = r.boundary, u = l === void 0 ? eV : l, d = r.rootBoundary, p = d === void 0 ? VC : d, f = r.elementContext, h = f === void 0 ? qa : f, g = r.altBoundary, m = g === void 0 ? !1 : g, b = r.padding, y = b === void 0 ? 0 : b, O = GC(typeof y != "number" ? y : KC(y, El)), k = h === qa ? tV : qa, T = e.rects.popper, C = e.elements[m ? k : h], S = IV(di(C) ? C : C.contextElement || ho(e.elements.popper), u, p, s), w = ma(e.elements.reference), P = JC({
|
|
26311
26311
|
reference: w,
|
|
26312
26312
|
element: T,
|
|
26313
26313
|
strategy: "absolute",
|
|
26314
26314
|
placement: o
|
|
26315
|
-
}), F = Vf(Object.assign({}, T, P)), A = h ===
|
|
26315
|
+
}), F = Vf(Object.assign({}, T, P)), A = h === qa ? F : w, M = {
|
|
26316
26316
|
top: S.top - A.top + O.top,
|
|
26317
26317
|
bottom: A.bottom - S.bottom + O.bottom,
|
|
26318
26318
|
left: S.left - A.left + O.left,
|
|
26319
26319
|
right: A.right - S.right + O.right
|
|
26320
26320
|
}, R = e.modifiersData.offset;
|
|
26321
|
-
if (h ===
|
|
26321
|
+
if (h === qa && R) {
|
|
26322
26322
|
var D = R[o];
|
|
26323
26323
|
Object.keys(M).forEach(function(N) {
|
|
26324
26324
|
var I = [Nr, Ir].indexOf(N) >= 0 ? 1 : -1, z = [Zt, Ir].indexOf(N) >= 0 ? "y" : "x";
|
|
@@ -26327,7 +26327,7 @@ function Ws(e, t) {
|
|
|
26327
26327
|
}
|
|
26328
26328
|
return M;
|
|
26329
26329
|
}
|
|
26330
|
-
a(
|
|
26330
|
+
a(Us, "detectOverflow");
|
|
26331
26331
|
function NV(e, t) {
|
|
26332
26332
|
t === void 0 && (t = {});
|
|
26333
26333
|
var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, s = r.padding, l = r.flipVariations, u = r.allowedAutoPlacements, d = u === void 0 ? HC : u, p = ga(n), f = p ? l ? I0 : I0.filter(function(m) {
|
|
@@ -26337,7 +26337,7 @@ function NV(e, t) {
|
|
|
26337
26337
|
});
|
|
26338
26338
|
h.length === 0 && (h = f);
|
|
26339
26339
|
var g = h.reduce(function(m, b) {
|
|
26340
|
-
return m[b] =
|
|
26340
|
+
return m[b] = Us(e, {
|
|
26341
26341
|
placement: b,
|
|
26342
26342
|
boundary: o,
|
|
26343
26343
|
rootBoundary: i,
|
|
@@ -26369,7 +26369,7 @@ function DV(e) {
|
|
|
26369
26369
|
allowedAutoPlacements: b
|
|
26370
26370
|
}) : J);
|
|
26371
26371
|
}, []), S = t.rects.reference, w = t.rects.popper, P = /* @__PURE__ */ new Map(), F = !0, A = C[0], M = 0; M < C.length; M++) {
|
|
26372
|
-
var R = C[M], D = cn(R), N = ga(R) === fa, I = [Zt, Ir].indexOf(D) >= 0, z = I ? "width" : "height", j =
|
|
26372
|
+
var R = C[M], D = cn(R), N = ga(R) === fa, I = [Zt, Ir].indexOf(D) >= 0, z = I ? "width" : "height", j = Us(t, {
|
|
26373
26373
|
placement: R,
|
|
26374
26374
|
boundary: p,
|
|
26375
26375
|
rootBoundary: f,
|
|
@@ -26434,9 +26434,9 @@ function z0(e) {
|
|
|
26434
26434
|
}
|
|
26435
26435
|
a(z0, "isAnySideFullyClipped");
|
|
26436
26436
|
function jV(e) {
|
|
26437
|
-
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, s =
|
|
26437
|
+
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, s = Us(t, {
|
|
26438
26438
|
elementContext: "reference"
|
|
26439
|
-
}), l =
|
|
26439
|
+
}), l = Us(t, {
|
|
26440
26440
|
altBoundary: !0
|
|
26441
26441
|
}), u = j0(s, n), d = j0(l, o, i), p = z0(u), f = z0(d);
|
|
26442
26442
|
t.modifiersData[r] = {
|
|
@@ -26506,7 +26506,7 @@ function qV(e) {
|
|
|
26506
26506
|
}
|
|
26507
26507
|
a(qV, "getAltAxis");
|
|
26508
26508
|
function GV(e) {
|
|
26509
|
-
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, l = s === void 0 ? !1 : s, u = r.boundary, d = r.rootBoundary, p = r.altBoundary, f = r.padding, h = r.tether, g = h === void 0 ? !0 : h, m = r.tetherOffset, b = m === void 0 ? 0 : m, y =
|
|
26509
|
+
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, l = s === void 0 ? !1 : s, u = r.boundary, d = r.rootBoundary, p = r.altBoundary, f = r.padding, h = r.tether, g = h === void 0 ? !0 : h, m = r.tetherOffset, b = m === void 0 ? 0 : m, y = Us(t, {
|
|
26510
26510
|
boundary: u,
|
|
26511
26511
|
rootBoundary: d,
|
|
26512
26512
|
padding: f,
|
|
@@ -26528,11 +26528,11 @@ function GV(e) {
|
|
|
26528
26528
|
var N, I = C === "y" ? Zt : er, z = C === "y" ? Ir : Nr, j = C === "y" ? "height" : "width", B = w[C], $ = B + y[I], Y = B - y[z], _ = g ? -F[j] / 2 : 0, W = k === fa ? P[j] : F[j], oe = k === fa ? -F[j] : -P[j], V = t.elements.arrow, G = g && V ? Pg(V) : {
|
|
26529
26529
|
width: 0,
|
|
26530
26530
|
height: 0
|
|
26531
|
-
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : qC(), U = J[I], te = J[z], X =
|
|
26531
|
+
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : qC(), U = J[I], te = J[z], X = cs(0, P[j], G[j]), ae = T ? P[j] / 2 - _ - X - U - M.mainAxis : W - X - U - M.mainAxis, se = T ? -P[j] / 2 + _ + X + te + M.mainAxis : oe + X + te + M.mainAxis, ie = t.elements.arrow && kl(t.elements.arrow), L = ie ? C === "y" ? ie.clientTop || 0 : ie.clientLeft || 0 : 0, ee = (N = R == null ? void 0 : R[C]) != null ? N : 0, K = B + ae - ee - L, be = B + se - ee, Ve = cs(g ? Nc($, K) : $, B, g ? Go(Y, be) : Y);
|
|
26532
26532
|
w[C] = Ve, D[C] = Ve - B;
|
|
26533
26533
|
}
|
|
26534
26534
|
if (l) {
|
|
26535
|
-
var ze, Fe = C === "x" ? Zt : er, lt = C === "x" ? Ir : Nr, Be = w[S], Ee = S === "y" ? "height" : "width", tt = Be + y[Fe], rt = Be - y[lt], je = [Zt, er].indexOf(O) !== -1, ct = (ze = R == null ? void 0 : R[S]) != null ? ze : 0, Ct = je ? tt : Be - P[Ee] - F[Ee] - ct + M.altAxis, pe = je ? Be + P[Ee] + F[Ee] - ct - M.altAxis : rt, ve = g && je ? bV(Ct, Be, pe) :
|
|
26535
|
+
var ze, Fe = C === "x" ? Zt : er, lt = C === "x" ? Ir : Nr, Be = w[S], Ee = S === "y" ? "height" : "width", tt = Be + y[Fe], rt = Be - y[lt], je = [Zt, er].indexOf(O) !== -1, ct = (ze = R == null ? void 0 : R[S]) != null ? ze : 0, Ct = je ? tt : Be - P[Ee] - F[Ee] - ct + M.altAxis, pe = je ? Be + P[Ee] + F[Ee] - ct - M.altAxis : rt, ve = g && je ? bV(Ct, Be, pe) : cs(g ? Ct : tt, Be, g ? pe : rt);
|
|
26536
26536
|
w[S] = ve, D[S] = ve - Be;
|
|
26537
26537
|
}
|
|
26538
26538
|
t.modifiersData[n] = D;
|
|
@@ -26667,8 +26667,8 @@ function n5(e) {
|
|
|
26667
26667
|
setOptions: /* @__PURE__ */ a(function(O) {
|
|
26668
26668
|
var k = typeof O == "function" ? O(p.options) : O;
|
|
26669
26669
|
b(), p.options = Object.assign({}, i, p.options, k), p.scrollParents = {
|
|
26670
|
-
reference: di(l) ?
|
|
26671
|
-
popper:
|
|
26670
|
+
reference: di(l) ? us(l) : l.contextElement ? us(l.contextElement) : [],
|
|
26671
|
+
popper: us(u)
|
|
26672
26672
|
};
|
|
26673
26673
|
var T = e5(r5([].concat(n, p.options.modifiers)));
|
|
26674
26674
|
return p.orderedModifiers = T.filter(function(C) {
|
|
@@ -26913,7 +26913,7 @@ const d5 = /* @__PURE__ */ a((e) => {
|
|
|
26913
26913
|
onEnter: S,
|
|
26914
26914
|
onExited: w
|
|
26915
26915
|
} : void 0;
|
|
26916
|
-
return /* @__PURE__ */ v(
|
|
26916
|
+
return /* @__PURE__ */ v(Bs, {
|
|
26917
26917
|
disablePortal: l,
|
|
26918
26918
|
container: P,
|
|
26919
26919
|
children: /* @__PURE__ */ v(f5, E({
|
|
@@ -27411,8 +27411,8 @@ const v5 = /* @__PURE__ */ a((e) => {
|
|
|
27411
27411
|
}
|
|
27412
27412
|
}));
|
|
27413
27413
|
let zl = !1;
|
|
27414
|
-
const H0 = new
|
|
27415
|
-
let
|
|
27414
|
+
const H0 = new js();
|
|
27415
|
+
let Ga = {
|
|
27416
27416
|
x: 0,
|
|
27417
27417
|
y: 0
|
|
27418
27418
|
};
|
|
@@ -27453,11 +27453,11 @@ const Hd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
27453
27453
|
slotProps: ae = {},
|
|
27454
27454
|
slots: se = {},
|
|
27455
27455
|
title: ie,
|
|
27456
|
-
TransitionComponent: L =
|
|
27456
|
+
TransitionComponent: L = Hs,
|
|
27457
27457
|
TransitionProps: ee
|
|
27458
27458
|
} = w, K = ne(w, b5), be = /* @__PURE__ */ x.isValidElement(F) ? F : /* @__PURE__ */ v("span", {
|
|
27459
27459
|
children: F
|
|
27460
|
-
}), Ve = yn(), ze = gl(), [Fe, lt] = x.useState(), [Be, Ee] = x.useState(null), tt = x.useRef(!1), rt = I || Y, je = Di(), ct = Di(), Ct = Di(), pe = Di(), [ve, he] =
|
|
27460
|
+
}), Ve = yn(), ze = gl(), [Fe, lt] = x.useState(), [Be, Ee] = x.useState(null), tt = x.useRef(!1), rt = I || Y, je = Di(), ct = Di(), Ct = Di(), pe = Di(), [ve, he] = _s({
|
|
27461
27461
|
controlled: J,
|
|
27462
27462
|
default: !1,
|
|
27463
27463
|
name: "Tooltip",
|
|
@@ -27534,13 +27534,13 @@ const Hd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
27534
27534
|
!ie && ie !== 0 && (Ge = !1);
|
|
27535
27535
|
const sp = x.useRef(), fw = /* @__PURE__ */ a((Ie) => {
|
|
27536
27536
|
const ar = be.props;
|
|
27537
|
-
ar.onMouseMove && ar.onMouseMove(Ie),
|
|
27537
|
+
ar.onMouseMove && ar.onMouseMove(Ie), Ga = {
|
|
27538
27538
|
x: Ie.clientX,
|
|
27539
27539
|
y: Ie.clientY
|
|
27540
27540
|
}, sp.current && sp.current.update();
|
|
27541
|
-
}, "handleMouseMove"),
|
|
27542
|
-
R ? (
|
|
27543
|
-
const yr = E({},
|
|
27541
|
+
}, "handleMouseMove"), Ba = {}, lp = typeof ie == "string";
|
|
27542
|
+
R ? (Ba.title = !Ge && lp && !N ? ie : null, Ba["aria-describedby"] = Ge ? gt : null) : (Ba["aria-label"] = lp ? ie : null, Ba["aria-labelledby"] = Ge && !lp ? gt : null);
|
|
27543
|
+
const yr = E({}, Ba, K, be.props, {
|
|
27544
27544
|
className: re(K.className, be.props.className),
|
|
27545
27545
|
onTouchStart: Uy,
|
|
27546
27546
|
ref: pw
|
|
@@ -27551,8 +27551,8 @@ const Hd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
27551
27551
|
Fe && !Fe.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
27552
27552
|
`));
|
|
27553
27553
|
}, [Fe]));
|
|
27554
|
-
const
|
|
27555
|
-
z || (yr.onTouchStart = uw, yr.onTouchEnd = dw), N || (yr.onMouseOver = Bl(de, yr.onMouseOver), yr.onMouseLeave = Bl(Me, yr.onMouseLeave), rt || (
|
|
27554
|
+
const Va = {};
|
|
27555
|
+
z || (yr.onTouchStart = uw, yr.onTouchEnd = dw), N || (yr.onMouseOver = Bl(de, yr.onMouseOver), yr.onMouseLeave = Bl(Me, yr.onMouseLeave), rt || (Va.onMouseOver = de, Va.onMouseLeave = Me)), D || (yr.onFocus = Bl(Ti, yr.onFocus), yr.onBlur = Bl(zr, yr.onBlur), rt || (Va.onFocus = Ti, Va.onBlur = zr)), process.env.NODE_ENV !== "production" && be.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${be.props.title}\` or the Tooltip component.`].join(`
|
|
27556
27556
|
`));
|
|
27557
27557
|
const hw = x.useMemo(() => {
|
|
27558
27558
|
var Ie;
|
|
@@ -27567,30 +27567,30 @@ const Hd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
27567
27567
|
return (Ie = X.popperOptions) != null && Ie.modifiers && (ar = ar.concat(X.popperOptions.modifiers)), E({}, X.popperOptions, {
|
|
27568
27568
|
modifiers: ar
|
|
27569
27569
|
});
|
|
27570
|
-
}, [Be, X]),
|
|
27570
|
+
}, [Be, X]), Ha = E({}, w, {
|
|
27571
27571
|
isRtl: ze,
|
|
27572
27572
|
arrow: P,
|
|
27573
27573
|
disableInteractive: rt,
|
|
27574
27574
|
placement: U,
|
|
27575
27575
|
PopperComponentProp: te,
|
|
27576
27576
|
touch: tt.current
|
|
27577
|
-
}), cp = v5(
|
|
27577
|
+
}), cp = v5(Ha), qy = (n = (o = se.popper) != null ? o : A.Popper) != null ? n : O5, Gy = (i = (s = (l = se.transition) != null ? l : A.Transition) != null ? s : L) != null ? i : Hs, Ky = (u = (d = se.tooltip) != null ? d : A.Tooltip) != null ? u : x5, Yy = (p = (f = se.arrow) != null ? f : A.Arrow) != null ? p : S5, mw = _i(qy, E({}, X, (h = ae.popper) != null ? h : M.popper, {
|
|
27578
27578
|
className: re(cp.popper, X == null ? void 0 : X.className, (g = (m = ae.popper) != null ? m : M.popper) == null ? void 0 : g.className)
|
|
27579
|
-
}),
|
|
27579
|
+
}), Ha), gw = _i(Gy, E({}, ee, (b = ae.transition) != null ? b : M.transition), Ha), bw = _i(Ky, E({}, (y = ae.tooltip) != null ? y : M.tooltip, {
|
|
27580
27580
|
className: re(cp.tooltip, (O = (k = ae.tooltip) != null ? k : M.tooltip) == null ? void 0 : O.className)
|
|
27581
|
-
}),
|
|
27581
|
+
}), Ha), yw = _i(Yy, E({}, (T = ae.arrow) != null ? T : M.arrow, {
|
|
27582
27582
|
className: re(cp.arrow, (C = (S = ae.arrow) != null ? S : M.arrow) == null ? void 0 : C.className)
|
|
27583
|
-
}),
|
|
27583
|
+
}), Ha);
|
|
27584
27584
|
return /* @__PURE__ */ q(x.Fragment, {
|
|
27585
27585
|
children: [/* @__PURE__ */ x.cloneElement(be, yr), /* @__PURE__ */ v(qy, E({
|
|
27586
27586
|
as: te ?? $g,
|
|
27587
27587
|
placement: U,
|
|
27588
27588
|
anchorEl: Y ? {
|
|
27589
27589
|
getBoundingClientRect: /* @__PURE__ */ a(() => ({
|
|
27590
|
-
top:
|
|
27591
|
-
left:
|
|
27592
|
-
right:
|
|
27593
|
-
bottom:
|
|
27590
|
+
top: Ga.y,
|
|
27591
|
+
left: Ga.x,
|
|
27592
|
+
right: Ga.x,
|
|
27593
|
+
bottom: Ga.y,
|
|
27594
27594
|
width: 0,
|
|
27595
27595
|
height: 0
|
|
27596
27596
|
}), "getBoundingClientRect")
|
|
@@ -27599,7 +27599,7 @@ const Hd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
27599
27599
|
open: Fe ? Ge : !1,
|
|
27600
27600
|
id: gt,
|
|
27601
27601
|
transition: !0
|
|
27602
|
-
},
|
|
27602
|
+
}, Va, mw, {
|
|
27603
27603
|
popperOptions: hw,
|
|
27604
27604
|
children: /* @__PURE__ */ a(({
|
|
27605
27605
|
TransitionProps: Ie
|
|
@@ -27628,7 +27628,7 @@ process.env.NODE_ENV !== "production" && (Hd.propTypes = {
|
|
|
27628
27628
|
/**
|
|
27629
27629
|
* Tooltip reference element.
|
|
27630
27630
|
*/
|
|
27631
|
-
children:
|
|
27631
|
+
children: $a.isRequired,
|
|
27632
27632
|
/**
|
|
27633
27633
|
* Override or extend the styles applied to the component.
|
|
27634
27634
|
*/
|
|
@@ -27849,16 +27849,17 @@ const C5 = /* @__PURE__ */ a(({
|
|
|
27849
27849
|
typeof e[r] == "string" && e[r].trim().length === 0 || (e[r] == null && (e[r] = ""), t[r] = e[r]);
|
|
27850
27850
|
return t;
|
|
27851
27851
|
}, "defaultTransform"), E5 = /* @__PURE__ */ a((e) => {
|
|
27852
|
-
|
|
27852
|
+
var h;
|
|
27853
|
+
const { useFormulario: t, mutationMode: r = "pessimistic", ...n } = e, o = Pe(eg), i = sP({ mutationMode: r, id: o, ...n }), { record: s, isFetching: l } = i, { fichaProps: u } = Sg(e), d = wa(), p = ((h = d == null ? void 0 : d.state) == null ? void 0 : h.estado) || "M", f = hr(
|
|
27853
27854
|
() => ({
|
|
27854
|
-
estado:
|
|
27855
|
+
estado: p,
|
|
27855
27856
|
initialValues: s,
|
|
27856
27857
|
isLoading: l,
|
|
27857
27858
|
fichaProps: u
|
|
27858
27859
|
}),
|
|
27859
|
-
[s, l, u]
|
|
27860
|
+
[s, l, u, p]
|
|
27860
27861
|
);
|
|
27861
|
-
return /* @__PURE__ */ v(Cl, { children: /* @__PURE__ */ v(tg, { value:
|
|
27862
|
+
return /* @__PURE__ */ v(Cl, { children: /* @__PURE__ */ v(tg, { value: f, children: /* @__PURE__ */ v(Qm, { children: /* @__PURE__ */ v(
|
|
27862
27863
|
lP,
|
|
27863
27864
|
{
|
|
27864
27865
|
mutationMode: r,
|
|
@@ -27895,7 +27896,7 @@ const C5 = /* @__PURE__ */ a(({
|
|
|
27895
27896
|
"aria-labelledby": "form-dialog-title",
|
|
27896
27897
|
children: [
|
|
27897
27898
|
/* @__PURE__ */ v(Sl, { id: "form-dialog-title", children: i }),
|
|
27898
|
-
/* @__PURE__ */ q(
|
|
27899
|
+
/* @__PURE__ */ q(al, { resource: f, onSubmit: n, children: [
|
|
27899
27900
|
/* @__PURE__ */ q(xl, { dividers: !0, children: [
|
|
27900
27901
|
/* @__PURE__ */ v(Jm, { children: s }),
|
|
27901
27902
|
/* @__PURE__ */ v(ua, { sx: { mt: 2 }, children: l })
|
|
@@ -27907,7 +27908,7 @@ const C5 = /* @__PURE__ */ a(({
|
|
|
27907
27908
|
label: "ra.action.cancel",
|
|
27908
27909
|
disabled: p,
|
|
27909
27910
|
onClick: /* @__PURE__ */ a((g) => h(g), "onClick"),
|
|
27910
|
-
children: /* @__PURE__ */ v(
|
|
27911
|
+
children: /* @__PURE__ */ v(zs, {})
|
|
27911
27912
|
}
|
|
27912
27913
|
),
|
|
27913
27914
|
u && /* @__PURE__ */ v(
|
|
@@ -27941,7 +27942,7 @@ const C5 = /* @__PURE__ */ a(({
|
|
|
27941
27942
|
e.preventDefault();
|
|
27942
27943
|
}, "disableKeyboardEvents"), ZC = /* @__PURE__ */ a((e) => {
|
|
27943
27944
|
var h;
|
|
27944
|
-
const t =
|
|
27945
|
+
const t = Ia(), r = wa(), n = mt(), o = ka(), i = St(), s = mn(), l = Lr(), [u] = a1(
|
|
27945
27946
|
n,
|
|
27946
27947
|
{
|
|
27947
27948
|
id: l == null ? void 0 : l.id
|
|
@@ -28048,7 +28049,7 @@ eT = Ng.default = (0, F5.default)(/* @__PURE__ */ (0, $5.jsx)("path", {
|
|
|
28048
28049
|
const I5 = /* @__PURE__ */ a((e) => {
|
|
28049
28050
|
const { handleToggle: t, isOpen: r, name: n, icon: o, children: i, dense: s } = e, l = St(), [u] = s1(), d = /* @__PURE__ */ q(yc, { dense: s, onClick: t, children: [
|
|
28050
28051
|
/* @__PURE__ */ v(yf, { sx: { minWidth: 5 }, children: r ? /* @__PURE__ */ v(eT, {}) : o }),
|
|
28051
|
-
/* @__PURE__ */ v(
|
|
28052
|
+
/* @__PURE__ */ v(As, { variant: "inherit", color: "textSecondary", children: l(n) })
|
|
28052
28053
|
] });
|
|
28053
28054
|
return /* @__PURE__ */ q("div", { children: [
|
|
28054
28055
|
u || r ? d : /* @__PURE__ */ v(ad, { title: l(n), placement: "right", children: d }),
|
|
@@ -28731,7 +28732,7 @@ const r3 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
28731
28732
|
}, e.size === "small" && {
|
|
28732
28733
|
marginRight: -2
|
|
28733
28734
|
}, iT(e))), sn = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
28734
|
-
const n = x.useContext(nT), o = x.useContext(oT), i =
|
|
28735
|
+
const n = x.useContext(nT), o = x.useContext(oT), i = $s(n, t), s = Se({
|
|
28735
28736
|
props: i,
|
|
28736
28737
|
name: "MuiButton"
|
|
28737
28738
|
}), {
|
|
@@ -29018,8 +29019,8 @@ const ZZ = /* @__PURE__ */ a((e) => {
|
|
|
29018
29019
|
loginBackgroundImage: t,
|
|
29019
29020
|
nameSource: r = "username",
|
|
29020
29021
|
passwordSource: n = "password"
|
|
29021
|
-
} = e, [o, i] = De(!1), s = St(), l = s("ra.auth.sign_in"), u = mn(), d = yP(), p =
|
|
29022
|
-
return /* @__PURE__ */ v(
|
|
29022
|
+
} = e, [o, i] = De(!1), s = St(), l = s("ra.auth.sign_in"), u = mn(), d = yP(), p = wa();
|
|
29023
|
+
return /* @__PURE__ */ v(al, { onSubmit: /* @__PURE__ */ a((g) => {
|
|
29023
29024
|
i(!0), d(g, p.state ? p.state.nextPathname : "/").catch(
|
|
29024
29025
|
(m) => {
|
|
29025
29026
|
i(!1), u(
|
|
@@ -29149,7 +29150,7 @@ function lT(e, t) {
|
|
|
29149
29150
|
return r === void 0 && (r = e.textContent), r = r.trim().toLowerCase(), r.length === 0 ? !1 : t.repeating ? r[0] === t.keys[0] : r.indexOf(t.keys.join("")) === 0;
|
|
29150
29151
|
}
|
|
29151
29152
|
a(lT, "textCriteriaMatches");
|
|
29152
|
-
function
|
|
29153
|
+
function Ka(e, t, r, n, o, i) {
|
|
29153
29154
|
let s = !1, l = o(e, t, t ? r : !1);
|
|
29154
29155
|
for (; l; ) {
|
|
29155
29156
|
if (l === e.firstChild) {
|
|
@@ -29165,7 +29166,7 @@ function Ga(e, t, r, n, o, i) {
|
|
|
29165
29166
|
}
|
|
29166
29167
|
return !1;
|
|
29167
29168
|
}
|
|
29168
|
-
a(
|
|
29169
|
+
a(Ka, "moveFocus");
|
|
29169
29170
|
const cT = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
29170
29171
|
const {
|
|
29171
29172
|
// private
|
|
@@ -29202,18 +29203,18 @@ const cT = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
29202
29203
|
const b = /* @__PURE__ */ a((T) => {
|
|
29203
29204
|
const C = g.current, S = T.key, w = Pr(C).activeElement;
|
|
29204
29205
|
if (S === "ArrowDown")
|
|
29205
|
-
T.preventDefault(),
|
|
29206
|
+
T.preventDefault(), Ka(C, w, d, u, jp);
|
|
29206
29207
|
else if (S === "ArrowUp")
|
|
29207
|
-
T.preventDefault(),
|
|
29208
|
+
T.preventDefault(), Ka(C, w, d, u, W0);
|
|
29208
29209
|
else if (S === "Home")
|
|
29209
|
-
T.preventDefault(),
|
|
29210
|
+
T.preventDefault(), Ka(C, null, d, u, jp);
|
|
29210
29211
|
else if (S === "End")
|
|
29211
|
-
T.preventDefault(),
|
|
29212
|
+
T.preventDefault(), Ka(C, null, d, u, W0);
|
|
29212
29213
|
else if (S.length === 1) {
|
|
29213
29214
|
const P = m.current, F = S.toLowerCase(), A = performance.now();
|
|
29214
29215
|
P.keys.length > 0 && (A - P.lastTime > 500 ? (P.keys = [], P.repeating = !0, P.previousKeyMatched = !0) : P.repeating && F !== P.keys[0] && (P.repeating = !1)), P.lastTime = A, P.keys.push(F);
|
|
29215
29216
|
const M = w && !P.repeating && lT(w, P);
|
|
29216
|
-
P.previousKeyMatched && (M ||
|
|
29217
|
+
P.previousKeyMatched && (M || Ka(C, w, !1, u, jp, P)) ? T.preventDefault() : P.previousKeyMatched = !1;
|
|
29217
29218
|
}
|
|
29218
29219
|
p && p(T);
|
|
29219
29220
|
}, "handleKeyDown"), y = Tt(g, r);
|
|
@@ -29367,7 +29368,7 @@ const x3 = /* @__PURE__ */ a((e) => {
|
|
|
29367
29368
|
vertical: "top",
|
|
29368
29369
|
horizontal: "left"
|
|
29369
29370
|
},
|
|
29370
|
-
TransitionComponent: w =
|
|
29371
|
+
TransitionComponent: w = Hs,
|
|
29371
29372
|
transitionDuration: P = "auto",
|
|
29372
29373
|
TransitionProps: {
|
|
29373
29374
|
onEntering: F
|
|
@@ -29933,7 +29934,7 @@ function F3(e) {
|
|
|
29933
29934
|
return ye("MuiMenuItem", e);
|
|
29934
29935
|
}
|
|
29935
29936
|
a(F3, "getMenuItemUtilityClass");
|
|
29936
|
-
const
|
|
29937
|
+
const Ya = Oe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), $3 = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], I3 = /* @__PURE__ */ a((e, t) => {
|
|
29937
29938
|
const {
|
|
29938
29939
|
ownerState: r
|
|
29939
29940
|
} = e;
|
|
@@ -29984,23 +29985,23 @@ const Ka = Oe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
29984
29985
|
backgroundColor: "transparent"
|
|
29985
29986
|
}
|
|
29986
29987
|
},
|
|
29987
|
-
[`&.${
|
|
29988
|
+
[`&.${Ya.selected}`]: {
|
|
29988
29989
|
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : at(e.palette.primary.main, e.palette.action.selectedOpacity),
|
|
29989
|
-
[`&.${
|
|
29990
|
+
[`&.${Ya.focusVisible}`]: {
|
|
29990
29991
|
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : at(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
|
|
29991
29992
|
}
|
|
29992
29993
|
},
|
|
29993
|
-
[`&.${
|
|
29994
|
+
[`&.${Ya.selected}:hover`]: {
|
|
29994
29995
|
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : at(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
|
|
29995
29996
|
// Reset on touch devices, it doesn't add specificity
|
|
29996
29997
|
"@media (hover: none)": {
|
|
29997
29998
|
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : at(e.palette.primary.main, e.palette.action.selectedOpacity)
|
|
29998
29999
|
}
|
|
29999
30000
|
},
|
|
30000
|
-
[`&.${
|
|
30001
|
+
[`&.${Ya.focusVisible}`]: {
|
|
30001
30002
|
backgroundColor: (e.vars || e).palette.action.focus
|
|
30002
30003
|
},
|
|
30003
|
-
[`&.${
|
|
30004
|
+
[`&.${Ya.disabled}`]: {
|
|
30004
30005
|
opacity: (e.vars || e).palette.action.disabledOpacity
|
|
30005
30006
|
},
|
|
30006
30007
|
[`& + .${P0.root}`]: {
|
|
@@ -30238,7 +30239,7 @@ const eee = /* @__PURE__ */ a((e) => {
|
|
|
30238
30239
|
name: Ki,
|
|
30239
30240
|
overridesResolver: /* @__PURE__ */ a((e, t) => t.root, "overridesResolver")
|
|
30240
30241
|
})(({ theme: e }) => Tg(e)), _3 = /* @__PURE__ */ a(() => {
|
|
30241
|
-
const e =
|
|
30242
|
+
const e = wa(), t = Of(":resource/create/*", e.pathname), r = Of(":resource/:id/*", e.pathname);
|
|
30242
30243
|
return t ? t.pathnameBase : r ? r.pathnameBase : "";
|
|
30243
30244
|
}, "useFormRootPath"), j3 = /* @__PURE__ */ a((e) => {
|
|
30244
30245
|
const {
|
|
@@ -30251,7 +30252,7 @@ const eee = /* @__PURE__ */ a((e) => {
|
|
|
30251
30252
|
toolbar: l = H3,
|
|
30252
30253
|
onChange: u,
|
|
30253
30254
|
...d
|
|
30254
|
-
} = e, p =
|
|
30255
|
+
} = e, p = wa(), f = DP(""), h = mt(e), [g, m] = De(0), {
|
|
30255
30256
|
fichaProps: { etrs: b }
|
|
30256
30257
|
} = Pe(xt), y = On({ ...e, etrs: b }), { estado: O } = Pe(xt), k = /* @__PURE__ */ a((C, S) => {
|
|
30257
30258
|
i || (m(S), u && u(
|
|
@@ -30313,7 +30314,7 @@ const eee = /* @__PURE__ */ a((e) => {
|
|
|
30313
30314
|
}
|
|
30314
30315
|
})), q3 = /* @__PURE__ */ a(({ record: e, resource: t, ...r }) => r, "sanitizeRestPropsView"), hT = /* @__PURE__ */ a((e) => {
|
|
30315
30316
|
const { onChange: t, ...r } = e, n = _3();
|
|
30316
|
-
return /* @__PURE__ */ v(
|
|
30317
|
+
return /* @__PURE__ */ v(al, { formRootPathname: n, ...r, children: /* @__PURE__ */ v(
|
|
30317
30318
|
j3,
|
|
30318
30319
|
{
|
|
30319
30320
|
formRootPathname: n,
|
|
@@ -30917,7 +30918,7 @@ const Y0 = /* @__PURE__ */ a((e) => {
|
|
|
30917
30918
|
alignItems: "flex-start",
|
|
30918
30919
|
justifyContent: "flex-start",
|
|
30919
30920
|
sx: { "& .MuiStack-root": { position: "relative" } },
|
|
30920
|
-
divider: /* @__PURE__ */ v(
|
|
30921
|
+
divider: /* @__PURE__ */ v(Vs, { orientation: "vertical", variant: "middle", flexItem: !0 }),
|
|
30921
30922
|
children: [
|
|
30922
30923
|
/* @__PURE__ */ v(
|
|
30923
30924
|
EP,
|
|
@@ -30944,7 +30945,7 @@ const Y0 = /* @__PURE__ */ a((e) => {
|
|
|
30944
30945
|
alignItems: "flex-start",
|
|
30945
30946
|
justifyContent: "flex-start",
|
|
30946
30947
|
sx: { "& .MuiStack-root": { position: "relative" } },
|
|
30947
|
-
divider: /* @__PURE__ */ v(
|
|
30948
|
+
divider: /* @__PURE__ */ v(Vs, { orientation: "vertical", variant: "middle", flexItem: !0 }),
|
|
30948
30949
|
children: [
|
|
30949
30950
|
/* @__PURE__ */ v(
|
|
30950
30951
|
wP,
|
|
@@ -31109,7 +31110,7 @@ function y4(e) {
|
|
|
31109
31110
|
return ye("MuiGrid", e);
|
|
31110
31111
|
}
|
|
31111
31112
|
a(y4, "getGridUtilityClass");
|
|
31112
|
-
const v4 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], O4 = ["column-reverse", "column", "row-reverse", "row"], x4 = ["nowrap", "wrap-reverse", "wrap"],
|
|
31113
|
+
const v4 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], O4 = ["column-reverse", "column", "row-reverse", "row"], x4 = ["nowrap", "wrap-reverse", "wrap"], Ja = ["auto", !0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], qs = Oe("MuiGrid", [
|
|
31113
31114
|
"root",
|
|
31114
31115
|
"container",
|
|
31115
31116
|
"item",
|
|
@@ -31121,11 +31122,11 @@ const v4 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], O4 = ["column-reverse", "column",
|
|
|
31121
31122
|
// wrap values
|
|
31122
31123
|
...x4.map((e) => `wrap-xs-${e}`),
|
|
31123
31124
|
// grid sizes for all breakpoints
|
|
31124
|
-
...
|
|
31125
|
-
...
|
|
31126
|
-
...
|
|
31127
|
-
...
|
|
31128
|
-
...
|
|
31125
|
+
...Ja.map((e) => `grid-xs-${e}`),
|
|
31126
|
+
...Ja.map((e) => `grid-sm-${e}`),
|
|
31127
|
+
...Ja.map((e) => `grid-md-${e}`),
|
|
31128
|
+
...Ja.map((e) => `grid-lg-${e}`),
|
|
31129
|
+
...Ja.map((e) => `grid-xl-${e}`)
|
|
31129
31130
|
]), S4 = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
|
|
31130
31131
|
function Yi(e) {
|
|
31131
31132
|
const t = parseFloat(e);
|
|
@@ -31198,7 +31199,7 @@ function T4({
|
|
|
31198
31199
|
const o = {
|
|
31199
31200
|
flexDirection: n
|
|
31200
31201
|
};
|
|
31201
|
-
return n.indexOf("column") === 0 && (o[`& > .${
|
|
31202
|
+
return n.indexOf("column") === 0 && (o[`& > .${qs.item}`] = {
|
|
31202
31203
|
maxWidth: "none"
|
|
31203
31204
|
}), o;
|
|
31204
31205
|
});
|
|
@@ -31241,12 +31242,12 @@ function E4({
|
|
|
31241
31242
|
const p = e.spacing(l);
|
|
31242
31243
|
return p !== "0px" ? {
|
|
31243
31244
|
marginTop: `-${Yi(p)}`,
|
|
31244
|
-
[`& > .${
|
|
31245
|
+
[`& > .${qs.item}`]: {
|
|
31245
31246
|
paddingTop: Yi(p)
|
|
31246
31247
|
}
|
|
31247
31248
|
} : (d = s) != null && d.includes(u) ? {} : {
|
|
31248
31249
|
marginTop: 0,
|
|
31249
|
-
[`& > .${
|
|
31250
|
+
[`& > .${qs.item}`]: {
|
|
31250
31251
|
paddingTop: 0
|
|
31251
31252
|
}
|
|
31252
31253
|
};
|
|
@@ -31281,13 +31282,13 @@ function k4({
|
|
|
31281
31282
|
return p !== "0px" ? {
|
|
31282
31283
|
width: `calc(100% + ${Yi(p)})`,
|
|
31283
31284
|
marginLeft: `-${Yi(p)}`,
|
|
31284
|
-
[`& > .${
|
|
31285
|
+
[`& > .${qs.item}`]: {
|
|
31285
31286
|
paddingLeft: Yi(p)
|
|
31286
31287
|
}
|
|
31287
31288
|
} : (d = s) != null && d.includes(u) ? {} : {
|
|
31288
31289
|
width: "100%",
|
|
31289
31290
|
marginLeft: 0,
|
|
31290
|
-
[`& > .${
|
|
31291
|
+
[`& > .${qs.item}`]: {
|
|
31291
31292
|
paddingLeft: 0
|
|
31292
31293
|
}
|
|
31293
31294
|
};
|
|
@@ -31631,7 +31632,7 @@ const F4 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
31631
31632
|
tabIndex: S,
|
|
31632
31633
|
type: w,
|
|
31633
31634
|
value: P
|
|
31634
|
-
} = t, F = ne(t, F4), [A, M] =
|
|
31635
|
+
} = t, F = ne(t, F4), [A, M] = _s({
|
|
31635
31636
|
controlled: o,
|
|
31636
31637
|
default: !!l,
|
|
31637
31638
|
name: "SwitchBase",
|
|
@@ -32105,7 +32106,7 @@ const Q0 = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
|
|
|
32105
32106
|
Pn,
|
|
32106
32107
|
{
|
|
32107
32108
|
container: !0,
|
|
32108
|
-
spacing:
|
|
32109
|
+
spacing: 4,
|
|
32109
32110
|
sx: /* @__PURE__ */ a((M) => ({
|
|
32110
32111
|
justifyContent: "flex-start",
|
|
32111
32112
|
alignItems: "center",
|
|
@@ -32735,7 +32736,7 @@ const lH = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
32735
32736
|
sx: o,
|
|
32736
32737
|
onChange: i,
|
|
32737
32738
|
...s
|
|
32738
|
-
} = e, [l] = m1({ resource: "form_224" }), [u, d] = De(!1), p = mr(), { estado: f, fichaProps: h = {} } = Pe(xt), g = Pe(
|
|
32739
|
+
} = e, [l] = m1({ resource: "form_224" }), [u, d] = De(!1), p = mr(), { estado: f, fichaProps: h = {} } = Pe(xt), g = Pe(Na), {
|
|
32739
32740
|
hidden: m,
|
|
32740
32741
|
propsContenido: { readOnly: b, sx: y, label: O = "Funcionarios" }
|
|
32741
32742
|
} = ir(e), { [n]: k = {}, etrs: T } = h, C = On({ ...e, etrs: T, asisEtr: g }), S = k.onChange === void 0 ? i : k.onChange;
|
|
@@ -33528,30 +33529,30 @@ function Ko(e, t) {
|
|
|
33528
33529
|
r >= 0 && e.isText && e.sameMarkup(t[r]) ? t[r] = e.withText(t[r].text + e.text) : t.push(e);
|
|
33529
33530
|
}
|
|
33530
33531
|
a(Ko, "addNode");
|
|
33531
|
-
function
|
|
33532
|
+
function ds(e, t, r, n) {
|
|
33532
33533
|
let o = (t || e).node(r), i = 0, s = t ? t.index(r) : o.childCount;
|
|
33533
33534
|
e && (i = e.index(r), e.depth > r ? i++ : e.textOffset && (Ko(e.nodeAfter, n), i++));
|
|
33534
33535
|
for (let l = i; l < s; l++)
|
|
33535
33536
|
Ko(o.child(l), n);
|
|
33536
33537
|
t && t.depth == r && t.textOffset && Ko(t.nodeBefore, n);
|
|
33537
33538
|
}
|
|
33538
|
-
a(
|
|
33539
|
+
a(ds, "addRange");
|
|
33539
33540
|
function Yo(e, t) {
|
|
33540
33541
|
return e.type.checkContent(t), e.copy(t);
|
|
33541
33542
|
}
|
|
33542
33543
|
a(Yo, "close");
|
|
33543
33544
|
function MT(e, t, r, n, o) {
|
|
33544
33545
|
let i = e.depth > o && Uf(e, t, o + 1), s = n.depth > o && Uf(r, n, o + 1), l = [];
|
|
33545
|
-
return
|
|
33546
|
+
return ds(null, e, o, l), i && s && t.index(o) == r.index(o) ? (PT(i, s), Ko(Yo(i, MT(e, t, r, n, o + 1)), l)) : (i && Ko(Yo(i, jc(e, t, o + 1)), l), ds(t, r, o, l), s && Ko(Yo(s, jc(r, n, o + 1)), l)), ds(n, null, o, l), new le(l);
|
|
33546
33547
|
}
|
|
33547
33548
|
a(MT, "replaceThreeWay");
|
|
33548
33549
|
function jc(e, t, r) {
|
|
33549
33550
|
let n = [];
|
|
33550
|
-
if (
|
|
33551
|
+
if (ds(null, e, r, n), e.depth > r) {
|
|
33551
33552
|
let o = Uf(e, t, r + 1);
|
|
33552
33553
|
Ko(Yo(o, jc(e, t, r + 1)), n);
|
|
33553
33554
|
}
|
|
33554
|
-
return
|
|
33555
|
+
return ds(t, null, r, n), new le(n);
|
|
33555
33556
|
}
|
|
33556
33557
|
a(jc, "replaceTwoWay");
|
|
33557
33558
|
function TH(e, t) {
|
|
@@ -33564,7 +33565,7 @@ function TH(e, t) {
|
|
|
33564
33565
|
};
|
|
33565
33566
|
}
|
|
33566
33567
|
a(TH, "prepareSliceForReplace");
|
|
33567
|
-
const
|
|
33568
|
+
const Os = class Os {
|
|
33568
33569
|
/**
|
|
33569
33570
|
@internal
|
|
33570
33571
|
*/
|
|
@@ -33792,7 +33793,7 @@ const vs = class vs {
|
|
|
33792
33793
|
break;
|
|
33793
33794
|
i = d - 1, o += u + 1;
|
|
33794
33795
|
}
|
|
33795
|
-
return new
|
|
33796
|
+
return new Os(r, n, i);
|
|
33796
33797
|
}
|
|
33797
33798
|
/**
|
|
33798
33799
|
@internal
|
|
@@ -33807,12 +33808,12 @@ const vs = class vs {
|
|
|
33807
33808
|
}
|
|
33808
33809
|
else
|
|
33809
33810
|
Z0.set(t, n = new qf());
|
|
33810
|
-
let o = n.elts[n.i] =
|
|
33811
|
+
let o = n.elts[n.i] = Os.resolve(t, r);
|
|
33811
33812
|
return n.i = (n.i + 1) % EH, o;
|
|
33812
33813
|
}
|
|
33813
33814
|
};
|
|
33814
|
-
a(
|
|
33815
|
-
let zc =
|
|
33815
|
+
a(Os, "ResolvedPos");
|
|
33816
|
+
let zc = Os;
|
|
33816
33817
|
const iy = class iy {
|
|
33817
33818
|
constructor() {
|
|
33818
33819
|
this.elts = [], this.i = 0;
|
|
@@ -34228,7 +34229,7 @@ let Jo = (so = class {
|
|
|
34228
34229
|
}
|
|
34229
34230
|
}, a(so, "Node"), so);
|
|
34230
34231
|
Jo.prototype.text = void 0;
|
|
34231
|
-
const
|
|
34232
|
+
const xs = class xs extends Jo {
|
|
34232
34233
|
/**
|
|
34233
34234
|
@internal
|
|
34234
34235
|
*/
|
|
@@ -34250,10 +34251,10 @@ const Os = class Os extends Jo {
|
|
|
34250
34251
|
return this.text.length;
|
|
34251
34252
|
}
|
|
34252
34253
|
mark(t) {
|
|
34253
|
-
return t == this.marks ? this : new
|
|
34254
|
+
return t == this.marks ? this : new xs(this.type, this.attrs, this.text, t);
|
|
34254
34255
|
}
|
|
34255
34256
|
withText(t) {
|
|
34256
|
-
return t == this.text ? this : new
|
|
34257
|
+
return t == this.text ? this : new xs(this.type, this.attrs, t, this.marks);
|
|
34257
34258
|
}
|
|
34258
34259
|
cut(t = 0, r = this.text.length) {
|
|
34259
34260
|
return t == 0 && r == this.text.length ? this : this.withText(this.text.slice(t, r));
|
|
@@ -34266,8 +34267,8 @@ const Os = class Os extends Jo {
|
|
|
34266
34267
|
return t.text = this.text, t;
|
|
34267
34268
|
}
|
|
34268
34269
|
};
|
|
34269
|
-
a(
|
|
34270
|
-
let Gf =
|
|
34270
|
+
a(xs, "TextNode");
|
|
34271
|
+
let Gf = xs;
|
|
34271
34272
|
function RT(e, t) {
|
|
34272
34273
|
for (let r = e.length - 1; r >= 0; r--)
|
|
34273
34274
|
t = e[r].type.name + "(" + t + ")";
|
|
@@ -35049,7 +35050,7 @@ function DH(e) {
|
|
|
35049
35050
|
return e.style != null;
|
|
35050
35051
|
}
|
|
35051
35052
|
a(DH, "isStyleRule");
|
|
35052
|
-
const
|
|
35053
|
+
const Ss = class Ss {
|
|
35053
35054
|
/**
|
|
35054
35055
|
Create a parser that targets the given schema, using the given
|
|
35055
35056
|
parsing rules.
|
|
@@ -35162,11 +35163,11 @@ const xs = class xs {
|
|
|
35162
35163
|
[priority](https://prosemirror.net/docs/ref/#model.ParseRule.priority).
|
|
35163
35164
|
*/
|
|
35164
35165
|
static fromSchema(t) {
|
|
35165
|
-
return t.cached.domParser || (t.cached.domParser = new
|
|
35166
|
+
return t.cached.domParser || (t.cached.domParser = new Ss(t, Ss.schemaRules(t)));
|
|
35166
35167
|
}
|
|
35167
35168
|
};
|
|
35168
|
-
a(
|
|
35169
|
-
let Qo =
|
|
35169
|
+
a(Ss, "DOMParser");
|
|
35170
|
+
let Qo = Ss;
|
|
35170
35171
|
const DT = {
|
|
35171
35172
|
address: !0,
|
|
35172
35173
|
article: !0,
|
|
@@ -35207,14 +35208,14 @@ const DT = {
|
|
|
35207
35208
|
script: !0,
|
|
35208
35209
|
style: !0,
|
|
35209
35210
|
title: !0
|
|
35210
|
-
}, _T = { ol: !0, ul: !0 }, Hc = 1, Wc = 2,
|
|
35211
|
+
}, _T = { ol: !0, ul: !0 }, Hc = 1, Wc = 2, ps = 4;
|
|
35211
35212
|
function oO(e, t, r) {
|
|
35212
|
-
return t != null ? (t ? Hc : 0) | (t === "full" ? Wc : 0) : e && e.whitespace == "pre" ? Hc | Wc : r & ~
|
|
35213
|
+
return t != null ? (t ? Hc : 0) | (t === "full" ? Wc : 0) : e && e.whitespace == "pre" ? Hc | Wc : r & ~ps;
|
|
35213
35214
|
}
|
|
35214
35215
|
a(oO, "wsOptionsFor");
|
|
35215
35216
|
const uy = class uy {
|
|
35216
35217
|
constructor(t, r, n, o, i, s) {
|
|
35217
|
-
this.type = t, this.attrs = r, this.marks = n, this.solid = o, this.options = s, this.content = [], this.activeMarks = ot.none, this.match = i || (s &
|
|
35218
|
+
this.type = t, this.attrs = r, this.marks = n, this.solid = o, this.options = s, this.content = [], this.activeMarks = ot.none, this.match = i || (s & ps ? null : t.contentMatch);
|
|
35218
35219
|
}
|
|
35219
35220
|
findWrapping(t) {
|
|
35220
35221
|
if (!this.match) {
|
|
@@ -35250,7 +35251,7 @@ let ji = uy;
|
|
|
35250
35251
|
const dy = class dy {
|
|
35251
35252
|
constructor(t, r, n) {
|
|
35252
35253
|
this.parser = t, this.options = r, this.isOpen = n, this.open = 0;
|
|
35253
|
-
let o = r.topNode, i, s = oO(null, r.preserveWhitespace, 0) | (n ?
|
|
35254
|
+
let o = r.topNode, i, s = oO(null, r.preserveWhitespace, 0) | (n ? ps : 0);
|
|
35254
35255
|
o ? i = new ji(o.type, o.attrs, ot.none, !0, r.topMatch || o.type.contentMatch, s) : n ? i = new ji(null, null, ot.none, !0, null, s) : i = new ji(t.schema.topNodeType, null, ot.none, !0, null, s), this.nodes = [i], this.find = r.findPositions, this.needsBlock = !1;
|
|
35255
35256
|
}
|
|
35256
35257
|
get top() {
|
|
@@ -35417,7 +35418,7 @@ const dy = class dy {
|
|
|
35417
35418
|
let s = this.top;
|
|
35418
35419
|
s.match = s.match && s.match.matchType(t);
|
|
35419
35420
|
let l = oO(t, i, s.options);
|
|
35420
|
-
s.options &
|
|
35421
|
+
s.options & ps && s.content.length == 0 && (l |= ps);
|
|
35421
35422
|
let u = ot.none;
|
|
35422
35423
|
return n = n.filter((d) => (s.type ? s.type.allowsMarkType(d.type) : aO(d.type, t)) ? (u = d.addToSet(u), !1) : !0), this.nodes.push(new ji(t, r, u, o, null, l)), this.open++, n;
|
|
35423
35424
|
}
|
|
@@ -35783,7 +35784,7 @@ const BT = 1, VT = 2, pc = 4, HT = 8, py = class py {
|
|
|
35783
35784
|
}
|
|
35784
35785
|
};
|
|
35785
35786
|
a(py, "MapResult");
|
|
35786
|
-
let
|
|
35787
|
+
let Gs = py;
|
|
35787
35788
|
const Kn = class Kn {
|
|
35788
35789
|
/**
|
|
35789
35790
|
Create a position map. The modifications to the document are
|
|
@@ -35825,11 +35826,11 @@ const Kn = class Kn {
|
|
|
35825
35826
|
if (n)
|
|
35826
35827
|
return g;
|
|
35827
35828
|
let m = t == (r < 0 ? u : f) ? null : HH(l / 3, t - u), b = t == u ? VT : t == f ? BT : pc;
|
|
35828
|
-
return (r < 0 ? t != u : t != f) && (b |= HT), new
|
|
35829
|
+
return (r < 0 ? t != u : t != f) && (b |= HT), new Gs(g, b, m);
|
|
35829
35830
|
}
|
|
35830
35831
|
o += p - d;
|
|
35831
35832
|
}
|
|
35832
|
-
return n ? t + o : new
|
|
35833
|
+
return n ? t + o : new Gs(t + o, 0, null);
|
|
35833
35834
|
}
|
|
35834
35835
|
/**
|
|
35835
35836
|
@internal
|
|
@@ -35987,7 +35988,7 @@ const zi = class zi {
|
|
|
35987
35988
|
}
|
|
35988
35989
|
o |= l.delInfo, t = l.pos;
|
|
35989
35990
|
}
|
|
35990
|
-
return n ? t : new
|
|
35991
|
+
return n ? t : new Gs(t, o, null);
|
|
35991
35992
|
}
|
|
35992
35993
|
};
|
|
35993
35994
|
a(zi, "Mapping");
|
|
@@ -36119,8 +36120,8 @@ const Fo = class Fo extends Pt {
|
|
|
36119
36120
|
}
|
|
36120
36121
|
};
|
|
36121
36122
|
a(Fo, "AddMarkStep");
|
|
36122
|
-
let
|
|
36123
|
-
Pt.jsonID("addMark",
|
|
36123
|
+
let Ks = Fo;
|
|
36124
|
+
Pt.jsonID("addMark", Ks);
|
|
36124
36125
|
const $o = class $o extends Pt {
|
|
36125
36126
|
/**
|
|
36126
36127
|
Create a mark-removing step.
|
|
@@ -36133,7 +36134,7 @@ const $o = class $o extends Pt {
|
|
|
36133
36134
|
return jt.fromReplace(t, this.from, this.to, n);
|
|
36134
36135
|
}
|
|
36135
36136
|
invert() {
|
|
36136
|
-
return new
|
|
36137
|
+
return new Ks(this.from, this.to, this.mark);
|
|
36137
36138
|
}
|
|
36138
36139
|
map(t) {
|
|
36139
36140
|
let r = t.mapResult(this.from, 1), n = t.mapResult(this.to, -1);
|
|
@@ -36187,7 +36188,7 @@ const Io = class Io extends Pt {
|
|
|
36187
36188
|
return new Io(this.pos, this.mark);
|
|
36188
36189
|
}
|
|
36189
36190
|
}
|
|
36190
|
-
return new
|
|
36191
|
+
return new Js(this.pos, this.mark);
|
|
36191
36192
|
}
|
|
36192
36193
|
map(t) {
|
|
36193
36194
|
let r = t.mapResult(this.pos, 1);
|
|
@@ -36206,9 +36207,9 @@ const Io = class Io extends Pt {
|
|
|
36206
36207
|
}
|
|
36207
36208
|
};
|
|
36208
36209
|
a(Io, "AddNodeMarkStep");
|
|
36209
|
-
let
|
|
36210
|
-
Pt.jsonID("addNodeMark",
|
|
36211
|
-
const
|
|
36210
|
+
let Ys = Io;
|
|
36211
|
+
Pt.jsonID("addNodeMark", Ys);
|
|
36212
|
+
const Cs = class Cs extends Pt {
|
|
36212
36213
|
/**
|
|
36213
36214
|
Create a mark-removing step.
|
|
36214
36215
|
*/
|
|
@@ -36224,11 +36225,11 @@ const Ss = class Ss extends Pt {
|
|
|
36224
36225
|
}
|
|
36225
36226
|
invert(t) {
|
|
36226
36227
|
let r = t.nodeAt(this.pos);
|
|
36227
|
-
return !r || !this.mark.isInSet(r.marks) ? this : new
|
|
36228
|
+
return !r || !this.mark.isInSet(r.marks) ? this : new Ys(this.pos, this.mark);
|
|
36228
36229
|
}
|
|
36229
36230
|
map(t) {
|
|
36230
36231
|
let r = t.mapResult(this.pos, 1);
|
|
36231
|
-
return r.deletedAfter ? null : new
|
|
36232
|
+
return r.deletedAfter ? null : new Cs(r.pos, this.mark);
|
|
36232
36233
|
}
|
|
36233
36234
|
toJSON() {
|
|
36234
36235
|
return { stepType: "removeNodeMark", pos: this.pos, mark: this.mark.toJSON() };
|
|
@@ -36239,12 +36240,12 @@ const Ss = class Ss extends Pt {
|
|
|
36239
36240
|
static fromJSON(t, r) {
|
|
36240
36241
|
if (typeof r.pos != "number")
|
|
36241
36242
|
throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");
|
|
36242
|
-
return new
|
|
36243
|
+
return new Cs(r.pos, t.markFromJSON(r.mark));
|
|
36243
36244
|
}
|
|
36244
36245
|
};
|
|
36245
|
-
a(
|
|
36246
|
-
let
|
|
36247
|
-
Pt.jsonID("removeNodeMark",
|
|
36246
|
+
a(Cs, "RemoveNodeMarkStep");
|
|
36247
|
+
let Js = Cs;
|
|
36248
|
+
Pt.jsonID("removeNodeMark", Js);
|
|
36248
36249
|
const kn = class kn extends Pt {
|
|
36249
36250
|
/**
|
|
36250
36251
|
The given `slice` should fit the 'gap' between `from` and
|
|
@@ -36384,7 +36385,7 @@ function UH(e, t, r, n) {
|
|
|
36384
36385
|
let h = Math.max(d, t), g = Math.min(d + u.nodeSize, r), m = n.addToSet(f);
|
|
36385
36386
|
for (let b = 0; b < f.length; b++)
|
|
36386
36387
|
f[b].isInSet(m) || (s && s.to == h && s.mark.eq(f[b]) ? s.to = g : o.push(s = new hi(h, g, f[b])));
|
|
36387
|
-
l && l.to == h ? l.to = g : i.push(l = new
|
|
36388
|
+
l && l.to == h ? l.to = g : i.push(l = new Ks(h, g, n));
|
|
36388
36389
|
}
|
|
36389
36390
|
}), o.forEach((u) => e.step(u)), i.forEach((u) => e.step(u));
|
|
36390
36391
|
}
|
|
@@ -36445,7 +36446,7 @@ function GH(e, t, r) {
|
|
|
36445
36446
|
return (t == 0 || e.canReplace(t, e.childCount)) && (r == e.childCount || e.canReplace(0, r));
|
|
36446
36447
|
}
|
|
36447
36448
|
a(GH, "canCut");
|
|
36448
|
-
function
|
|
36449
|
+
function Da(e) {
|
|
36449
36450
|
let r = e.parent.content.cutByIndex(e.startIndex, e.endIndex);
|
|
36450
36451
|
for (let n = e.depth; ; --n) {
|
|
36451
36452
|
let o = e.$from.node(n), i = e.$from.index(n), s = e.$to.indexAfter(n);
|
|
@@ -36456,7 +36457,7 @@ function La(e) {
|
|
|
36456
36457
|
}
|
|
36457
36458
|
return null;
|
|
36458
36459
|
}
|
|
36459
|
-
a(
|
|
36460
|
+
a(Da, "liftTarget");
|
|
36460
36461
|
function KH(e, t, r) {
|
|
36461
36462
|
let { $from: n, $to: o, depth: i } = t, s = n.before(i + 1), l = o.after(i + 1), u = s, d = l, p = le.empty, f = 0;
|
|
36462
36463
|
for (let m = i, b = !1; m > r; m--)
|
|
@@ -36770,9 +36771,9 @@ const hy = class hy {
|
|
|
36770
36771
|
let { content: t, openStart: r, openEnd: n } = this.unplaced, o = Wp(t, r);
|
|
36771
36772
|
if (o.childCount <= 1 && r > 0) {
|
|
36772
36773
|
let i = t.size - r <= r + o.size;
|
|
36773
|
-
this.unplaced = new fe(
|
|
36774
|
+
this.unplaced = new fe(is(t, r - 1, 1), r - 1, i ? r - 1 : n);
|
|
36774
36775
|
} else
|
|
36775
|
-
this.unplaced = new fe(
|
|
36776
|
+
this.unplaced = new fe(is(t, r, 1), r, n);
|
|
36776
36777
|
}
|
|
36777
36778
|
// Move content from the unplaced slice at `sliceDepth` to the
|
|
36778
36779
|
// frontier node at `frontierDepth`. Close that frontier node when
|
|
@@ -36797,12 +36798,12 @@ const hy = class hy {
|
|
|
36797
36798
|
d++, (d > 1 || u == 0 || b.content.size) && (f = y, p.push(YT(b.mark(h.allowedMarks(b.marks)), d == 1 ? u : 0, d == l.childCount ? g : -1)));
|
|
36798
36799
|
}
|
|
36799
36800
|
let m = d == l.childCount;
|
|
36800
|
-
m || (g = -1), this.placed =
|
|
36801
|
+
m || (g = -1), this.placed = as(this.placed, r, le.from(p)), this.frontier[r].match = f, m && g < 0 && n && n.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
|
|
36801
36802
|
for (let b = 0, y = l; b < g; b++) {
|
|
36802
36803
|
let O = y.lastChild;
|
|
36803
36804
|
this.frontier.push({ type: O.type, match: O.contentMatchAt(O.childCount) }), y = O.content;
|
|
36804
36805
|
}
|
|
36805
|
-
this.unplaced = m ? t == 0 ? fe.empty : new fe(
|
|
36806
|
+
this.unplaced = m ? t == 0 ? fe.empty : new fe(is(s.content, t - 1, 1), t - 1, g < 0 ? s.openEnd : t - 1) : new fe(is(s.content, t, d), s.openStart, s.openEnd);
|
|
36806
36807
|
}
|
|
36807
36808
|
mustMoveInline() {
|
|
36808
36809
|
if (!this.$to.parent.isTextblock)
|
|
@@ -36834,7 +36835,7 @@ const hy = class hy {
|
|
|
36834
36835
|
return null;
|
|
36835
36836
|
for (; this.depth > r.depth; )
|
|
36836
36837
|
this.closeFrontierNode();
|
|
36837
|
-
r.fit.childCount && (this.placed =
|
|
36838
|
+
r.fit.childCount && (this.placed = as(this.placed, r.depth, r.fit)), t = r.move;
|
|
36838
36839
|
for (let n = r.depth + 1; n <= t.depth; n++) {
|
|
36839
36840
|
let o = t.node(n), i = o.type.contentMatch.fillBefore(o.content, !0, t.index(n));
|
|
36840
36841
|
this.openFrontierNode(o.type, o.attrs, i);
|
|
@@ -36843,23 +36844,23 @@ const hy = class hy {
|
|
|
36843
36844
|
}
|
|
36844
36845
|
openFrontierNode(t, r = null, n) {
|
|
36845
36846
|
let o = this.frontier[this.depth];
|
|
36846
|
-
o.match = o.match.matchType(t), this.placed =
|
|
36847
|
+
o.match = o.match.matchType(t), this.placed = as(this.placed, this.depth, le.from(t.create(r, n))), this.frontier.push({ type: t, match: t.contentMatch });
|
|
36847
36848
|
}
|
|
36848
36849
|
closeFrontierNode() {
|
|
36849
36850
|
let r = this.frontier.pop().match.fillBefore(le.empty, !0);
|
|
36850
|
-
r.childCount && (this.placed =
|
|
36851
|
+
r.childCount && (this.placed = as(this.placed, this.frontier.length, r));
|
|
36851
36852
|
}
|
|
36852
36853
|
};
|
|
36853
36854
|
a(hy, "Fitter");
|
|
36854
36855
|
let Qf = hy;
|
|
36855
|
-
function ns(e, t, r) {
|
|
36856
|
-
return t == 0 ? e.cutByIndex(r, e.childCount) : e.replaceChild(0, e.firstChild.copy(ns(e.firstChild.content, t - 1, r)));
|
|
36857
|
-
}
|
|
36858
|
-
a(ns, "dropFromFragment");
|
|
36859
36856
|
function is(e, t, r) {
|
|
36860
|
-
return t == 0 ? e.
|
|
36857
|
+
return t == 0 ? e.cutByIndex(r, e.childCount) : e.replaceChild(0, e.firstChild.copy(is(e.firstChild.content, t - 1, r)));
|
|
36858
|
+
}
|
|
36859
|
+
a(is, "dropFromFragment");
|
|
36860
|
+
function as(e, t, r) {
|
|
36861
|
+
return t == 0 ? e.append(r) : e.replaceChild(e.childCount - 1, e.lastChild.copy(as(e.lastChild.content, t - 1, r)));
|
|
36861
36862
|
}
|
|
36862
|
-
a(
|
|
36863
|
+
a(as, "addToFragment");
|
|
36863
36864
|
function Wp(e, t) {
|
|
36864
36865
|
for (let r = 0; r < t; r++)
|
|
36865
36866
|
e = e.firstChild.content;
|
|
@@ -37026,7 +37027,7 @@ const Vi = class Vi extends Pt {
|
|
|
37026
37027
|
a(Vi, "AttrStep");
|
|
37027
37028
|
let Gc = Vi;
|
|
37028
37029
|
Pt.jsonID("attr", Gc);
|
|
37029
|
-
const
|
|
37030
|
+
const Ts = class Ts extends Pt {
|
|
37030
37031
|
/**
|
|
37031
37032
|
Construct an attribute step.
|
|
37032
37033
|
*/
|
|
@@ -37045,7 +37046,7 @@ const Cs = class Cs extends Pt {
|
|
|
37045
37046
|
return Ln.empty;
|
|
37046
37047
|
}
|
|
37047
37048
|
invert(t) {
|
|
37048
|
-
return new
|
|
37049
|
+
return new Ts(this.attr, t.attrs[this.attr]);
|
|
37049
37050
|
}
|
|
37050
37051
|
map(t) {
|
|
37051
37052
|
return this;
|
|
@@ -37056,11 +37057,11 @@ const Cs = class Cs extends Pt {
|
|
|
37056
37057
|
static fromJSON(t, r) {
|
|
37057
37058
|
if (typeof r.attr != "string")
|
|
37058
37059
|
throw new RangeError("Invalid input for DocAttrStep.fromJSON");
|
|
37059
|
-
return new
|
|
37060
|
+
return new Ts(r.attr, r.value);
|
|
37060
37061
|
}
|
|
37061
37062
|
};
|
|
37062
|
-
a(
|
|
37063
|
-
let Kc =
|
|
37063
|
+
a(Ts, "DocAttrStep");
|
|
37064
|
+
let Kc = Ts;
|
|
37064
37065
|
Pt.jsonID("docAttr", Kc);
|
|
37065
37066
|
var Zi;
|
|
37066
37067
|
let va = (Zi = class extends Error {
|
|
@@ -37241,7 +37242,7 @@ const my = class my {
|
|
|
37241
37242
|
Add a mark to the node at position `pos`.
|
|
37242
37243
|
*/
|
|
37243
37244
|
addNodeMark(t, r) {
|
|
37244
|
-
return this.step(new
|
|
37245
|
+
return this.step(new Ys(t, r)), this;
|
|
37245
37246
|
}
|
|
37246
37247
|
/**
|
|
37247
37248
|
Remove a mark (or a mark of the given type) from the node at
|
|
@@ -37255,7 +37256,7 @@ const my = class my {
|
|
|
37255
37256
|
if (r = r.isInSet(n.marks), !r)
|
|
37256
37257
|
return this;
|
|
37257
37258
|
}
|
|
37258
|
-
return this.step(new
|
|
37259
|
+
return this.step(new Js(t, r)), this;
|
|
37259
37260
|
}
|
|
37260
37261
|
/**
|
|
37261
37262
|
Split the node at the given position, and optionally, if `depth` is
|
|
@@ -37911,7 +37912,7 @@ const dW = [
|
|
|
37911
37912
|
}
|
|
37912
37913
|
};
|
|
37913
37914
|
a(Oy, "Configuration");
|
|
37914
|
-
let
|
|
37915
|
+
let fs = Oy;
|
|
37915
37916
|
const Do = class Do {
|
|
37916
37917
|
/**
|
|
37917
37918
|
@internal
|
|
@@ -38004,7 +38005,7 @@ const Do = class Do {
|
|
|
38004
38005
|
Create a new state.
|
|
38005
38006
|
*/
|
|
38006
38007
|
static create(t) {
|
|
38007
|
-
let r = new
|
|
38008
|
+
let r = new fs(t.doc ? t.doc.type.schema : t.schema, t.plugins), n = new Do(r);
|
|
38008
38009
|
for (let o = 0; o < r.fields.length; o++)
|
|
38009
38010
|
n[r.fields[o].name] = r.fields[o].init(t, n);
|
|
38010
38011
|
return n;
|
|
@@ -38018,7 +38019,7 @@ const Do = class Do {
|
|
|
38018
38019
|
configuration object..
|
|
38019
38020
|
*/
|
|
38020
38021
|
reconfigure(t) {
|
|
38021
|
-
let r = new
|
|
38022
|
+
let r = new fs(this.schema, t.plugins), n = r.fields, o = new Do(r);
|
|
38022
38023
|
for (let i = 0; i < n.length; i++) {
|
|
38023
38024
|
let s = n[i].name;
|
|
38024
38025
|
o[s] = this.hasOwnProperty(s) ? this[s] : n[i].init(t, o);
|
|
@@ -38055,7 +38056,7 @@ const Do = class Do {
|
|
|
38055
38056
|
throw new RangeError("Invalid input for EditorState.fromJSON");
|
|
38056
38057
|
if (!t.schema)
|
|
38057
38058
|
throw new RangeError("Required config field 'schema' missing");
|
|
38058
|
-
let o = new
|
|
38059
|
+
let o = new fs(t.schema, t.plugins), i = new Do(o);
|
|
38059
38060
|
return o.fields.forEach((s) => {
|
|
38060
38061
|
if (s.name == "doc")
|
|
38061
38062
|
i.doc = Jo.fromJSON(t.schema, r.doc);
|
|
@@ -38135,7 +38136,7 @@ const Lt = /* @__PURE__ */ a(function(e) {
|
|
|
38135
38136
|
for (var t = 0; ; t++)
|
|
38136
38137
|
if (e = e.previousSibling, !e)
|
|
38137
38138
|
return t;
|
|
38138
|
-
}, "domIndex"),
|
|
38139
|
+
}, "domIndex"), Qs = /* @__PURE__ */ a(function(e) {
|
|
38139
38140
|
let t = e.assignedSlot || e.parentNode;
|
|
38140
38141
|
return t && t.nodeType == 11 ? t.host : t;
|
|
38141
38142
|
}, "parentNode");
|
|
@@ -38282,7 +38283,7 @@ function SW(e) {
|
|
|
38282
38283
|
a(SW, "clientRect");
|
|
38283
38284
|
function vO(e, t, r) {
|
|
38284
38285
|
let n = e.someProp("scrollThreshold") || 0, o = e.someProp("scrollMargin") || 5, i = e.dom.ownerDocument;
|
|
38285
|
-
for (let s = r || e.dom; s; s =
|
|
38286
|
+
for (let s = r || e.dom; s; s = Qs(s)) {
|
|
38286
38287
|
if (s.nodeType != 1)
|
|
38287
38288
|
continue;
|
|
38288
38289
|
let l = s, u = l == i.body, d = u ? xW(i) : SW(l), p = 0, f = 0;
|
|
@@ -38317,7 +38318,7 @@ function CW(e) {
|
|
|
38317
38318
|
a(CW, "storeScrollPos");
|
|
38318
38319
|
function rE(e) {
|
|
38319
38320
|
let t = [], r = e.ownerDocument;
|
|
38320
|
-
for (let n = e; n && (t.push({ dom: n, top: n.scrollTop, left: n.scrollLeft }), e != r); n =
|
|
38321
|
+
for (let n = e; n && (t.push({ dom: n, top: n.scrollTop, left: n.scrollLeft }), e != r); n = Qs(n))
|
|
38321
38322
|
;
|
|
38322
38323
|
return t;
|
|
38323
38324
|
}
|
|
@@ -38451,7 +38452,7 @@ function RW(e, t) {
|
|
|
38451
38452
|
return null;
|
|
38452
38453
|
}
|
|
38453
38454
|
if (Yt)
|
|
38454
|
-
for (let d = s; n && d; d =
|
|
38455
|
+
for (let d = s; n && d; d = Qs(d))
|
|
38455
38456
|
d.draggable && (n = void 0);
|
|
38456
38457
|
if (s = wW(s, t), n) {
|
|
38457
38458
|
if (Wr && n.nodeType == 1 && (o = Math.min(o, n.childNodes.length), o < n.childNodes.length)) {
|
|
@@ -38491,13 +38492,13 @@ function aE(e, t, r) {
|
|
|
38491
38492
|
if (d.top == u.top) {
|
|
38492
38493
|
let p = Wn(En(n, o, o + 1), -1);
|
|
38493
38494
|
if (p.top != u.top)
|
|
38494
|
-
return
|
|
38495
|
+
return Qa(p, p.left < d.left);
|
|
38495
38496
|
}
|
|
38496
38497
|
}
|
|
38497
38498
|
return u;
|
|
38498
38499
|
} else {
|
|
38499
38500
|
let u = o, d = o, p = r < 0 ? 1 : -1;
|
|
38500
|
-
return r < 0 && !o ? (d++, p = -1) : r >= 0 && o == n.nodeValue.length ? (u--, p = 1) : r < 0 ? u-- : d++,
|
|
38501
|
+
return r < 0 && !o ? (d++, p = -1) : r >= 0 && o == n.nodeValue.length ? (u--, p = 1) : r < 0 ? u-- : d++, Qa(Wn(En(n, u, d), p), p < 0);
|
|
38501
38502
|
}
|
|
38502
38503
|
if (!e.state.doc.resolve(t - (i || 0)).parent.inlineContent) {
|
|
38503
38504
|
if (i == null && o && (r < 0 || o == kr(n))) {
|
|
@@ -38515,7 +38516,7 @@ function aE(e, t, r) {
|
|
|
38515
38516
|
if (i == null && o && (r < 0 || o == kr(n))) {
|
|
38516
38517
|
let u = n.childNodes[o - 1], d = u.nodeType == 3 ? En(u, kr(u) - (s ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
|
|
38517
38518
|
if (d)
|
|
38518
|
-
return
|
|
38519
|
+
return Qa(Wn(d, 1), !1);
|
|
38519
38520
|
}
|
|
38520
38521
|
if (i == null && o < kr(n)) {
|
|
38521
38522
|
let u = n.childNodes[o];
|
|
@@ -38523,18 +38524,18 @@ function aE(e, t, r) {
|
|
|
38523
38524
|
u = u.nextSibling;
|
|
38524
38525
|
let d = u ? u.nodeType == 3 ? En(u, 0, s ? 0 : 1) : u.nodeType == 1 ? u : null : null;
|
|
38525
38526
|
if (d)
|
|
38526
|
-
return
|
|
38527
|
+
return Qa(Wn(d, -1), !0);
|
|
38527
38528
|
}
|
|
38528
|
-
return
|
|
38529
|
+
return Qa(Wn(n.nodeType == 3 ? En(n) : n, -r), r >= 0);
|
|
38529
38530
|
}
|
|
38530
38531
|
a(aE, "coordsAtPos");
|
|
38531
|
-
function
|
|
38532
|
+
function Qa(e, t) {
|
|
38532
38533
|
if (e.width == 0)
|
|
38533
38534
|
return e;
|
|
38534
38535
|
let r = t ? e.left : e.right;
|
|
38535
38536
|
return { top: e.top, bottom: e.bottom, left: r, right: r };
|
|
38536
38537
|
}
|
|
38537
|
-
a(
|
|
38538
|
+
a(Qa, "flattenV");
|
|
38538
38539
|
function Kp(e, t) {
|
|
38539
38540
|
if (e.height == 0)
|
|
38540
38541
|
return e;
|
|
@@ -39006,13 +39007,13 @@ const Ey = class Ey extends gi {
|
|
|
39006
39007
|
};
|
|
39007
39008
|
a(Ey, "CompositionViewDesc");
|
|
39008
39009
|
let ah = Ey;
|
|
39009
|
-
const
|
|
39010
|
+
const Es = class Es extends gi {
|
|
39010
39011
|
constructor(t, r, n, o) {
|
|
39011
39012
|
super(t, [], n, o), this.mark = r;
|
|
39012
39013
|
}
|
|
39013
39014
|
static create(t, r, n, o) {
|
|
39014
39015
|
let i = o.nodeViews[r.type.name], s = i && i(r, o, n);
|
|
39015
|
-
return (!s || !s.dom) && (s = fi.renderSpec(document, r.type.spec.toDOM(r, n), null, r.attrs)), new
|
|
39016
|
+
return (!s || !s.dom) && (s = fi.renderSpec(document, r.type.spec.toDOM(r, n), null, r.attrs)), new Es(t, r, s.dom, s.contentDOM || s.dom);
|
|
39016
39017
|
}
|
|
39017
39018
|
parseRule() {
|
|
39018
39019
|
return this.dirty & hn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
@@ -39029,15 +39030,15 @@ const Ts = class Ts extends gi {
|
|
|
39029
39030
|
}
|
|
39030
39031
|
}
|
|
39031
39032
|
slice(t, r, n) {
|
|
39032
|
-
let o =
|
|
39033
|
+
let o = Es.create(this.parent, this.mark, !0, n), i = this.children, s = this.size;
|
|
39033
39034
|
r < s && (i = uh(i, r, s, n)), t > 0 && (i = uh(i, 0, t, n));
|
|
39034
39035
|
for (let l = 0; l < i.length; l++)
|
|
39035
39036
|
i[l].parent = o;
|
|
39036
39037
|
return o.children = i, o;
|
|
39037
39038
|
}
|
|
39038
39039
|
};
|
|
39039
|
-
a(
|
|
39040
|
-
let xa =
|
|
39040
|
+
a(Es, "MarkViewDesc");
|
|
39041
|
+
let xa = Es;
|
|
39041
39042
|
const Ju = class Ju extends gi {
|
|
39042
39043
|
constructor(t, r, n, o, i, s, l, u, d) {
|
|
39043
39044
|
super(t, [], i, s), this.node = r, this.outerDeco = n, this.innerDeco = o, this.nodeDOM = l;
|
|
@@ -39289,22 +39290,22 @@ function lE(e, t, r) {
|
|
|
39289
39290
|
o && r.trackWrites == e && (r.trackWrites = null);
|
|
39290
39291
|
}
|
|
39291
39292
|
a(lE, "renderDescs");
|
|
39292
|
-
const
|
|
39293
|
+
const hs = /* @__PURE__ */ a(function(e) {
|
|
39293
39294
|
e && (this.nodeName = e);
|
|
39294
39295
|
}, "OuterDecoLevel");
|
|
39295
|
-
|
|
39296
|
-
const Ho = [new
|
|
39296
|
+
hs.prototype = /* @__PURE__ */ Object.create(null);
|
|
39297
|
+
const Ho = [new hs()];
|
|
39297
39298
|
function lh(e, t, r) {
|
|
39298
39299
|
if (e.length == 0)
|
|
39299
39300
|
return Ho;
|
|
39300
|
-
let n = r ? Ho[0] : new
|
|
39301
|
+
let n = r ? Ho[0] : new hs(), o = [n];
|
|
39301
39302
|
for (let i = 0; i < e.length; i++) {
|
|
39302
39303
|
let s = e[i].type.attrs;
|
|
39303
39304
|
if (s) {
|
|
39304
|
-
s.nodeName && o.push(n = new
|
|
39305
|
+
s.nodeName && o.push(n = new hs(s.nodeName));
|
|
39305
39306
|
for (let l in s) {
|
|
39306
39307
|
let u = s[l];
|
|
39307
|
-
u != null && (r && o.length == 1 && o.push(n = new
|
|
39308
|
+
u != null && (r && o.length == 1 && o.push(n = new hs(t.isInline ? "span" : "div")), l == "class" ? n.class = (n.class ? n.class + " " : "") + u : l == "style" ? n.style = (n.style ? n.style + ";" : "") + u : l != "nodeName" && (n[l] = u));
|
|
39308
39309
|
}
|
|
39309
39310
|
}
|
|
39310
39311
|
}
|
|
@@ -39824,11 +39825,11 @@ function tu(e) {
|
|
|
39824
39825
|
return e.nodeType == 3 ? e.nodeValue.length : e.childNodes.length;
|
|
39825
39826
|
}
|
|
39826
39827
|
a(tu, "nodeLen");
|
|
39827
|
-
function
|
|
39828
|
+
function ms(e, t) {
|
|
39828
39829
|
let r = e.pmViewDesc;
|
|
39829
39830
|
return r && r.size == 0 && (t < 0 || e.nextSibling || e.nodeName != "BR");
|
|
39830
39831
|
}
|
|
39831
|
-
a(
|
|
39832
|
+
a(ms, "isIgnorable");
|
|
39832
39833
|
function Pi(e, t) {
|
|
39833
39834
|
return t < 0 ? UW(e) : qW(e);
|
|
39834
39835
|
}
|
|
@@ -39838,13 +39839,13 @@ function UW(e) {
|
|
|
39838
39839
|
if (!r)
|
|
39839
39840
|
return;
|
|
39840
39841
|
let o, i, s = !1;
|
|
39841
|
-
for (Wr && r.nodeType == 1 && n < tu(r) &&
|
|
39842
|
+
for (Wr && r.nodeType == 1 && n < tu(r) && ms(r.childNodes[n], -1) && (s = !0); ; )
|
|
39842
39843
|
if (n > 0) {
|
|
39843
39844
|
if (r.nodeType != 1)
|
|
39844
39845
|
break;
|
|
39845
39846
|
{
|
|
39846
39847
|
let l = r.childNodes[n - 1];
|
|
39847
|
-
if (
|
|
39848
|
+
if (ms(l, -1))
|
|
39848
39849
|
o = r, i = --n;
|
|
39849
39850
|
else if (l.nodeType == 3)
|
|
39850
39851
|
r = l, n = r.nodeValue.length;
|
|
@@ -39856,7 +39857,7 @@ function UW(e) {
|
|
|
39856
39857
|
break;
|
|
39857
39858
|
{
|
|
39858
39859
|
let l = r.previousSibling;
|
|
39859
|
-
for (; l &&
|
|
39860
|
+
for (; l && ms(l, -1); )
|
|
39860
39861
|
o = r.parentNode, i = Lt(l), l = l.previousSibling;
|
|
39861
39862
|
if (l)
|
|
39862
39863
|
r = l, n = tu(r);
|
|
@@ -39880,7 +39881,7 @@ function qW(e) {
|
|
|
39880
39881
|
if (r.nodeType != 1)
|
|
39881
39882
|
break;
|
|
39882
39883
|
let l = r.childNodes[n];
|
|
39883
|
-
if (
|
|
39884
|
+
if (ms(l, 1))
|
|
39884
39885
|
i = r, s = ++n;
|
|
39885
39886
|
else
|
|
39886
39887
|
break;
|
|
@@ -39889,7 +39890,7 @@ function qW(e) {
|
|
|
39889
39890
|
break;
|
|
39890
39891
|
{
|
|
39891
39892
|
let l = r.nextSibling;
|
|
39892
|
-
for (; l &&
|
|
39893
|
+
for (; l && ms(l, 1); )
|
|
39893
39894
|
i = l.parentNode, s = Lt(l) + 1, l = l.nextSibling;
|
|
39894
39895
|
if (l)
|
|
39895
39896
|
r = l, n = 0, o = tu(r);
|
|
@@ -40570,12 +40571,12 @@ function v6(e, t) {
|
|
|
40570
40571
|
}, 50);
|
|
40571
40572
|
}
|
|
40572
40573
|
a(v6, "captureCopy");
|
|
40573
|
-
const
|
|
40574
|
+
const Xs = tr && oo < 15 || Oa && OW < 604;
|
|
40574
40575
|
Jt.copy = Qt.cut = (e, t) => {
|
|
40575
40576
|
let r = t, n = e.state.selection, o = r.type == "cut";
|
|
40576
40577
|
if (n.empty)
|
|
40577
40578
|
return;
|
|
40578
|
-
let i =
|
|
40579
|
+
let i = Xs ? null : r.clipboardData, s = n.content(), { dom: l, text: u } = mE(e, s);
|
|
40579
40580
|
i ? (r.preventDefault(), i.clearData(), i.setData("text/html", l.innerHTML), i.setData("text/plain", u)) : v6(e, l), o && e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent", "cut"));
|
|
40580
40581
|
};
|
|
40581
40582
|
function O6(e) {
|
|
@@ -40589,11 +40590,11 @@ function x6(e, t) {
|
|
|
40589
40590
|
r || (n.contentEditable = "true"), n.style.cssText = "position: fixed; left: -10000px; top: 10px", n.focus();
|
|
40590
40591
|
let o = e.input.shiftKey && e.input.lastKeyCode != 45;
|
|
40591
40592
|
setTimeout(() => {
|
|
40592
|
-
e.focus(), n.parentNode && n.parentNode.removeChild(n), r ?
|
|
40593
|
+
e.focus(), n.parentNode && n.parentNode.removeChild(n), r ? Zs(e, n.value, null, o, t) : Zs(e, n.textContent, n.innerHTML, o, t);
|
|
40593
40594
|
}, 50);
|
|
40594
40595
|
}
|
|
40595
40596
|
a(x6, "capturePaste");
|
|
40596
|
-
function
|
|
40597
|
+
function Zs(e, t, r, n, o) {
|
|
40597
40598
|
let i = gE(e, t, r, n, e.state.selection.$from);
|
|
40598
40599
|
if (e.someProp("handlePaste", (u) => u(e, o, i || fe.empty)))
|
|
40599
40600
|
return !0;
|
|
@@ -40602,7 +40603,7 @@ function Xs(e, t, r, n, o) {
|
|
|
40602
40603
|
let s = O6(i), l = s ? e.state.tr.replaceSelectionWith(s, n) : e.state.tr.replaceSelection(i);
|
|
40603
40604
|
return e.dispatch(l.scrollIntoView().setMeta("paste", !0).setMeta("uiEvent", "paste")), !0;
|
|
40604
40605
|
}
|
|
40605
|
-
a(
|
|
40606
|
+
a(Zs, "doPaste");
|
|
40606
40607
|
function kE(e) {
|
|
40607
40608
|
let t = e.getData("text/plain") || e.getData("Text");
|
|
40608
40609
|
if (t)
|
|
@@ -40615,8 +40616,8 @@ Qt.paste = (e, t) => {
|
|
|
40615
40616
|
let r = t;
|
|
40616
40617
|
if (e.composing && !Vr)
|
|
40617
40618
|
return;
|
|
40618
|
-
let n =
|
|
40619
|
-
n &&
|
|
40619
|
+
let n = Xs ? null : r.clipboardData, o = e.input.shiftKey && e.input.lastKeyCode != 45;
|
|
40620
|
+
n && Zs(e, kE(n), n.getData("text/html"), o, r) ? r.preventDefault() : x6(e, r);
|
|
40620
40621
|
};
|
|
40621
40622
|
const Ay = class Ay {
|
|
40622
40623
|
constructor(t, r, n) {
|
|
@@ -40640,7 +40641,7 @@ Jt.dragstart = (e, t) => {
|
|
|
40640
40641
|
}
|
|
40641
40642
|
}
|
|
40642
40643
|
let l = (s || e.state.selection).content(), { dom: u, text: d, slice: p } = mE(e, l);
|
|
40643
|
-
(!r.dataTransfer.files.length || !Ht || tE > 120) && r.dataTransfer.clearData(), r.dataTransfer.setData(
|
|
40644
|
+
(!r.dataTransfer.files.length || !Ht || tE > 120) && r.dataTransfer.clearData(), r.dataTransfer.setData(Xs ? "Text" : "text/html", u.innerHTML), r.dataTransfer.effectAllowed = "copyMove", Xs || r.dataTransfer.setData("text/plain", d), e.dragging = new nu(p, !r[wE], s);
|
|
40644
40645
|
};
|
|
40645
40646
|
Jt.dragend = (e) => {
|
|
40646
40647
|
let t = e.dragging;
|
|
@@ -40659,7 +40660,7 @@ Qt.drop = (e, t) => {
|
|
|
40659
40660
|
let i = e.state.doc.resolve(o.pos), s = n && n.slice;
|
|
40660
40661
|
s ? e.someProp("transformPasted", (m) => {
|
|
40661
40662
|
s = m(s, e);
|
|
40662
|
-
}) : s = gE(e, kE(r.dataTransfer),
|
|
40663
|
+
}) : s = gE(e, kE(r.dataTransfer), Xs ? null : r.dataTransfer.getData("text/html"), !1, i);
|
|
40663
40664
|
let l = !!(n && !r[wE]);
|
|
40664
40665
|
if (e.someProp("handleDrop", (m) => m(e, r, s || fe.empty, l))) {
|
|
40665
40666
|
r.preventDefault();
|
|
@@ -40710,7 +40711,7 @@ Jt.beforeinput = (e, t) => {
|
|
|
40710
40711
|
};
|
|
40711
40712
|
for (let e in Qt)
|
|
40712
40713
|
Jt[e] = Qt[e];
|
|
40713
|
-
function
|
|
40714
|
+
function el(e, t) {
|
|
40714
40715
|
if (e == t)
|
|
40715
40716
|
return !0;
|
|
40716
40717
|
for (let r in e)
|
|
@@ -40721,7 +40722,7 @@ function Zs(e, t) {
|
|
|
40721
40722
|
return !1;
|
|
40722
40723
|
return !0;
|
|
40723
40724
|
}
|
|
40724
|
-
a(
|
|
40725
|
+
a(el, "compareObjs");
|
|
40725
40726
|
const Xu = class Xu {
|
|
40726
40727
|
constructor(t, r) {
|
|
40727
40728
|
this.toDOM = t, this.spec = r || Zo, this.side = this.spec.side || 0;
|
|
@@ -40734,7 +40735,7 @@ const Xu = class Xu {
|
|
|
40734
40735
|
return !0;
|
|
40735
40736
|
}
|
|
40736
40737
|
eq(t) {
|
|
40737
|
-
return this == t || t instanceof Xu && (this.spec.key && this.spec.key == t.spec.key || this.toDOM == t.toDOM &&
|
|
40738
|
+
return this == t || t instanceof Xu && (this.spec.key && this.spec.key == t.spec.key || this.toDOM == t.toDOM && el(this.spec, t.spec));
|
|
40738
40739
|
}
|
|
40739
40740
|
destroy(t) {
|
|
40740
40741
|
this.spec.destroy && this.spec.destroy(t);
|
|
@@ -40742,7 +40743,7 @@ const Xu = class Xu {
|
|
|
40742
40743
|
};
|
|
40743
40744
|
a(Xu, "WidgetType");
|
|
40744
40745
|
let ou = Xu;
|
|
40745
|
-
const
|
|
40746
|
+
const ks = class ks {
|
|
40746
40747
|
constructor(t, r) {
|
|
40747
40748
|
this.attrs = t, this.spec = r || Zo;
|
|
40748
40749
|
}
|
|
@@ -40754,16 +40755,16 @@ const Es = class Es {
|
|
|
40754
40755
|
return r.from < r.to;
|
|
40755
40756
|
}
|
|
40756
40757
|
eq(t) {
|
|
40757
|
-
return this == t || t instanceof
|
|
40758
|
+
return this == t || t instanceof ks && el(this.attrs, t.attrs) && el(this.spec, t.spec);
|
|
40758
40759
|
}
|
|
40759
40760
|
static is(t) {
|
|
40760
|
-
return t.type instanceof
|
|
40761
|
+
return t.type instanceof ks;
|
|
40761
40762
|
}
|
|
40762
40763
|
destroy() {
|
|
40763
40764
|
}
|
|
40764
40765
|
};
|
|
40765
|
-
a(
|
|
40766
|
-
let Xo =
|
|
40766
|
+
a(ks, "InlineType");
|
|
40767
|
+
let Xo = ks;
|
|
40767
40768
|
const Zu = class Zu {
|
|
40768
40769
|
constructor(t, r) {
|
|
40769
40770
|
this.attrs = t, this.spec = r || Zo;
|
|
@@ -40780,7 +40781,7 @@ const Zu = class Zu {
|
|
|
40780
40781
|
return o == r.from && !(i = t.child(n)).isText && o + i.nodeSize == r.to;
|
|
40781
40782
|
}
|
|
40782
40783
|
eq(t) {
|
|
40783
|
-
return this == t || t instanceof Zu &&
|
|
40784
|
+
return this == t || t instanceof Zu && el(this.attrs, t.attrs) && el(this.spec, t.spec);
|
|
40784
40785
|
}
|
|
40785
40786
|
destroy() {
|
|
40786
40787
|
}
|
|
@@ -41324,9 +41325,9 @@ const $y = class $y {
|
|
|
41324
41325
|
if (!t.focusNode)
|
|
41325
41326
|
return !0;
|
|
41326
41327
|
let r = /* @__PURE__ */ new Set(), n;
|
|
41327
|
-
for (let i = t.focusNode; i; i =
|
|
41328
|
+
for (let i = t.focusNode; i; i = Qs(i))
|
|
41328
41329
|
r.add(i);
|
|
41329
|
-
for (let i = t.anchorNode; i; i =
|
|
41330
|
+
for (let i = t.anchorNode; i; i = Qs(i))
|
|
41330
41331
|
if (r.has(i)) {
|
|
41331
41332
|
n = i;
|
|
41332
41333
|
break;
|
|
@@ -41915,13 +41916,13 @@ const Iy = class Iy {
|
|
|
41915
41916
|
[`handlePaste`](https://prosemirror.net/docs/ref/#view.EditorProps.handlePaste) hook.
|
|
41916
41917
|
*/
|
|
41917
41918
|
pasteHTML(t, r) {
|
|
41918
|
-
return
|
|
41919
|
+
return Zs(this, "", t, !1, r || new ClipboardEvent("paste"));
|
|
41919
41920
|
}
|
|
41920
41921
|
/**
|
|
41921
41922
|
Run the editor's paste logic with the given plain-text input.
|
|
41922
41923
|
*/
|
|
41923
41924
|
pasteText(t, r) {
|
|
41924
|
-
return
|
|
41925
|
+
return Zs(this, t, null, !0, r || new ClipboardEvent("paste"));
|
|
41925
41926
|
}
|
|
41926
41927
|
/**
|
|
41927
41928
|
Removes the editor from the DOM and destroys all [node
|
|
@@ -42186,7 +42187,7 @@ const q6 = /* @__PURE__ */ a((e, t, r) => {
|
|
|
42186
42187
|
return !1;
|
|
42187
42188
|
let o = cb(n);
|
|
42188
42189
|
if (!o) {
|
|
42189
|
-
let s = n.blockRange(), l = s &&
|
|
42190
|
+
let s = n.blockRange(), l = s && Da(s);
|
|
42190
42191
|
return l == null ? !1 : (t && t(e.tr.lift(s, l).scrollIntoView()), !0);
|
|
42191
42192
|
}
|
|
42192
42193
|
let i = o.nodeBefore;
|
|
@@ -42354,7 +42355,7 @@ const X6 = /* @__PURE__ */ a((e, t) => {
|
|
|
42354
42355
|
return !1;
|
|
42355
42356
|
return t && t(e.tr.join(n).scrollIntoView()), !0;
|
|
42356
42357
|
}, "joinDown$1"), eU = /* @__PURE__ */ a((e, t) => {
|
|
42357
|
-
let { $from: r, $to: n } = e.selection, o = r.blockRange(n), i = o &&
|
|
42358
|
+
let { $from: r, $to: n } = e.selection, o = r.blockRange(n), i = o && Da(o);
|
|
42358
42359
|
return i == null ? !1 : (t && t(e.tr.lift(o, i).scrollIntoView()), !0);
|
|
42359
42360
|
}, "lift$1"), tU = /* @__PURE__ */ a((e, t) => {
|
|
42360
42361
|
let { $head: r, $anchor: n } = e.selection;
|
|
@@ -42403,7 +42404,7 @@ const rU = /* @__PURE__ */ a((e, t) => {
|
|
|
42403
42404
|
if (Ji(e.doc, i))
|
|
42404
42405
|
return t && t(e.tr.split(i).scrollIntoView()), !0;
|
|
42405
42406
|
}
|
|
42406
|
-
let n = r.blockRange(), o = n &&
|
|
42407
|
+
let n = r.blockRange(), o = n && Da(n);
|
|
42407
42408
|
return o == null ? !1 : (t && t(e.tr.lift(n, o).scrollIntoView()), !0);
|
|
42408
42409
|
}, "liftEmptyBlock$1"), iU = /* @__PURE__ */ a((e, t) => {
|
|
42409
42410
|
let { $from: r, to: n } = e.selection, o, i = r.sharedDepth(n);
|
|
@@ -42430,7 +42431,7 @@ function LE(e, t, r, n) {
|
|
|
42430
42431
|
}
|
|
42431
42432
|
return !0;
|
|
42432
42433
|
}
|
|
42433
|
-
let p = i.type.spec.isolating || n > 0 && u ? null : Re.findFrom(t, 1), f = p && p.$from.blockRange(p.$to), h = f &&
|
|
42434
|
+
let p = i.type.spec.isolating || n > 0 && u ? null : Re.findFrom(t, 1), f = p && p.$from.blockRange(p.$to), h = f && Da(f);
|
|
42434
42435
|
if (h != null && h >= t.depth)
|
|
42435
42436
|
return r && r(e.tr.lift(f, h).scrollIntoView()), !0;
|
|
42436
42437
|
if (d && Sa(i, "start", !0) && Sa(o, "end")) {
|
|
@@ -42546,7 +42547,7 @@ a(pU, "liftListItem$1");
|
|
|
42546
42547
|
function fU(e, t, r, n) {
|
|
42547
42548
|
let o = e.tr, i = n.end, s = n.$to.end(n.depth);
|
|
42548
42549
|
i < s && (o.step(new Wt(i - 1, s, i, s, new fe(le.from(r.create(null, n.parent.copy())), 1, 0), 1, !0)), n = new ya(o.doc.resolve(n.$from.pos), o.doc.resolve(s), n.depth));
|
|
42549
|
-
const l =
|
|
42550
|
+
const l = Da(n);
|
|
42550
42551
|
if (l == null)
|
|
42551
42552
|
return !1;
|
|
42552
42553
|
o.lift(n, l);
|
|
@@ -43101,7 +43102,7 @@ function Jd(e, t) {
|
|
|
43101
43102
|
}), r;
|
|
43102
43103
|
}
|
|
43103
43104
|
a(Jd, "mergeDeep");
|
|
43104
|
-
const
|
|
43105
|
+
const ws = class ws {
|
|
43105
43106
|
constructor(t = {}) {
|
|
43106
43107
|
this.type = "mark", this.name = "mark", this.parent = null, this.child = null, this.config = {
|
|
43107
43108
|
name: this.name,
|
|
@@ -43117,7 +43118,7 @@ const ks = class ks {
|
|
|
43117
43118
|
})) || {};
|
|
43118
43119
|
}
|
|
43119
43120
|
static create(t = {}) {
|
|
43120
|
-
return new
|
|
43121
|
+
return new ws(t);
|
|
43121
43122
|
}
|
|
43122
43123
|
configure(t = {}) {
|
|
43123
43124
|
const r = this.extend({
|
|
@@ -43127,7 +43128,7 @@ const ks = class ks {
|
|
|
43127
43128
|
return r.name = this.name, r.parent = this.parent, r;
|
|
43128
43129
|
}
|
|
43129
43130
|
extend(t = {}) {
|
|
43130
|
-
const r = new
|
|
43131
|
+
const r = new ws(t);
|
|
43131
43132
|
return r.parent = this, this.child = r, r.name = t.name ? t.name : r.parent.name, t.defaultOptions && Object.keys(t.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${r.name}".`), r.options = Ne(me(r, "addOptions", {
|
|
43132
43133
|
name: r.name
|
|
43133
43134
|
})), r.storage = Ne(me(r, "addStorage", {
|
|
@@ -43147,8 +43148,8 @@ const ks = class ks {
|
|
|
43147
43148
|
return !1;
|
|
43148
43149
|
}
|
|
43149
43150
|
};
|
|
43150
|
-
a(
|
|
43151
|
-
let Ur =
|
|
43151
|
+
a(ws, "Mark");
|
|
43152
|
+
let Ur = ws;
|
|
43152
43153
|
function CU(e) {
|
|
43153
43154
|
return typeof e == "number";
|
|
43154
43155
|
}
|
|
@@ -43446,7 +43447,7 @@ const jo = class jo {
|
|
|
43446
43447
|
};
|
|
43447
43448
|
a(jo, "ExtensionManager");
|
|
43448
43449
|
let Th = jo;
|
|
43449
|
-
const
|
|
43450
|
+
const Ps = class Ps {
|
|
43450
43451
|
constructor(t = {}) {
|
|
43451
43452
|
this.type = "extension", this.name = "extension", this.parent = null, this.child = null, this.config = {
|
|
43452
43453
|
name: this.name,
|
|
@@ -43462,7 +43463,7 @@ const ws = class ws {
|
|
|
43462
43463
|
})) || {};
|
|
43463
43464
|
}
|
|
43464
43465
|
static create(t = {}) {
|
|
43465
|
-
return new
|
|
43466
|
+
return new Ps(t);
|
|
43466
43467
|
}
|
|
43467
43468
|
configure(t = {}) {
|
|
43468
43469
|
const r = this.extend({
|
|
@@ -43472,7 +43473,7 @@ const ws = class ws {
|
|
|
43472
43473
|
return r.name = this.name, r.parent = this.parent, r;
|
|
43473
43474
|
}
|
|
43474
43475
|
extend(t = {}) {
|
|
43475
|
-
const r = new
|
|
43476
|
+
const r = new Ps({ ...this.config, ...t });
|
|
43476
43477
|
return r.parent = this, this.child = r, r.name = t.name ? t.name : r.parent.name, t.defaultOptions && Object.keys(t.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${r.name}".`), r.options = Ne(me(r, "addOptions", {
|
|
43477
43478
|
name: r.name
|
|
43478
43479
|
})), r.storage = Ne(me(r, "addStorage", {
|
|
@@ -43481,8 +43482,8 @@ const ws = class ws {
|
|
|
43481
43482
|
})), r;
|
|
43482
43483
|
}
|
|
43483
43484
|
};
|
|
43484
|
-
a(
|
|
43485
|
-
let Ut =
|
|
43485
|
+
a(Ps, "Extension");
|
|
43486
|
+
let Ut = Ps;
|
|
43486
43487
|
function zE(e, t, r) {
|
|
43487
43488
|
const { from: n, to: o } = t, { blockSeparator: i = `
|
|
43488
43489
|
|
|
@@ -43543,7 +43544,7 @@ const MU = Ut.create({
|
|
|
43543
43544
|
const { doc: d, mapping: p } = t, f = d.resolve(p.map(u)), h = d.resolve(p.map(u + l.nodeSize)), g = f.blockRange(h);
|
|
43544
43545
|
if (!g)
|
|
43545
43546
|
return;
|
|
43546
|
-
const m =
|
|
43547
|
+
const m = Da(g);
|
|
43547
43548
|
if (l.type.isTextblock) {
|
|
43548
43549
|
const { defaultType: b } = f.parent.contentMatchAt(f.index());
|
|
43549
43550
|
t.setNodeMarkup(g.start, b);
|
|
@@ -43864,7 +43865,7 @@ const a9 = /* @__PURE__ */ a((e) => ({ editor: t, view: r, tr: n, dispatch: o })
|
|
|
43864
43865
|
p && o && n.maybeStep(p);
|
|
43865
43866
|
}), !0;
|
|
43866
43867
|
}, "keyboardShortcut");
|
|
43867
|
-
function
|
|
43868
|
+
function tl(e, t, r = {}) {
|
|
43868
43869
|
const { from: n, to: o, empty: i } = e.selection, s = t ? Mt(t, e.schema) : null, l = [];
|
|
43869
43870
|
e.doc.nodesBetween(n, o, (f, h) => {
|
|
43870
43871
|
if (f.isText)
|
|
@@ -43879,10 +43880,10 @@ function el(e, t, r = {}) {
|
|
|
43879
43880
|
const u = o - n, d = l.filter((f) => s ? s.name === f.node.type.name : !0).filter((f) => lu(f.node.attrs, r, { strict: !1 }));
|
|
43880
43881
|
return i ? !!d.length : d.reduce((f, h) => f + h.to - h.from, 0) >= u;
|
|
43881
43882
|
}
|
|
43882
|
-
a(
|
|
43883
|
+
a(tl, "isNodeActive");
|
|
43883
43884
|
const s9 = /* @__PURE__ */ a((e, t = {}) => ({ state: r, dispatch: n }) => {
|
|
43884
43885
|
const o = Mt(e, r.schema);
|
|
43885
|
-
return
|
|
43886
|
+
return tl(r, o, t) ? eU(r, n) : !1;
|
|
43886
43887
|
}, "lift"), l9 = /* @__PURE__ */ a(() => ({ state: e, dispatch: t }) => oU(e, t), "liftEmptyBlock"), c9 = /* @__PURE__ */ a((e) => ({ state: t, dispatch: r }) => {
|
|
43887
43888
|
const n = Mt(e, t.schema);
|
|
43888
43889
|
return pU(n)(t, r);
|
|
@@ -44106,9 +44107,9 @@ function wh(e, t, r = {}) {
|
|
|
44106
44107
|
a(wh, "isMarkActive");
|
|
44107
44108
|
function R9(e, t, r = {}) {
|
|
44108
44109
|
if (!t)
|
|
44109
|
-
return
|
|
44110
|
+
return tl(e, null, r) || wh(e, null, r);
|
|
44110
44111
|
const n = Qd(t, e.schema);
|
|
44111
|
-
return n === "node" ?
|
|
44112
|
+
return n === "node" ? tl(e, t, r) : n === "mark" ? wh(e, t, r) : !1;
|
|
44112
44113
|
}
|
|
44113
44114
|
a(R9, "isActive");
|
|
44114
44115
|
function tx(e, t) {
|
|
@@ -44341,12 +44342,12 @@ const j9 = /* @__PURE__ */ a(({ keepMarks: e = !0 } = {}) => ({ tr: t, state: r,
|
|
|
44341
44342
|
const { extendEmptyMarkRange: i = !1 } = r, s = bo(e, n.schema);
|
|
44342
44343
|
return wh(n, s, t) ? o.unsetMark(s, { extendEmptyMarkRange: i }) : o.setMark(s, t);
|
|
44343
44344
|
}, "toggleMark"), H9 = /* @__PURE__ */ a((e, t, r = {}) => ({ state: n, commands: o }) => {
|
|
44344
|
-
const i = Mt(e, n.schema), s = Mt(t, n.schema), l =
|
|
44345
|
+
const i = Mt(e, n.schema), s = Mt(t, n.schema), l = tl(n, i, r);
|
|
44345
44346
|
let u;
|
|
44346
44347
|
return n.selection.$anchor.sameParent(n.selection.$head) && (u = n.selection.$anchor.parent.attrs), l ? o.setNode(s, u) : o.setNode(i, { ...u, ...r });
|
|
44347
44348
|
}, "toggleNode"), W9 = /* @__PURE__ */ a((e, t = {}) => ({ state: r, commands: n }) => {
|
|
44348
44349
|
const o = Mt(e, r.schema);
|
|
44349
|
-
return
|
|
44350
|
+
return tl(r, o, t) ? n.lift(o) : n.wrapIn(o, t);
|
|
44350
44351
|
}, "toggleWrap"), U9 = /* @__PURE__ */ a(() => ({ state: e, dispatch: t }) => {
|
|
44351
44352
|
const r = e.plugins;
|
|
44352
44353
|
for (let n = 0; n < r.length; n += 1) {
|
|
@@ -45246,7 +45247,7 @@ function Rh(e) {
|
|
|
45246
45247
|
});
|
|
45247
45248
|
}
|
|
45248
45249
|
a(Rh, "textblockTypeInputRule");
|
|
45249
|
-
function
|
|
45250
|
+
function rl(e) {
|
|
45250
45251
|
return new Ta({
|
|
45251
45252
|
find: e.find,
|
|
45252
45253
|
handler: /* @__PURE__ */ a(({ state: t, range: r, match: n, chain: o }) => {
|
|
@@ -45269,8 +45270,8 @@ function tl(e) {
|
|
|
45269
45270
|
}, "handler")
|
|
45270
45271
|
});
|
|
45271
45272
|
}
|
|
45272
|
-
a(
|
|
45273
|
-
const
|
|
45273
|
+
a(rl, "wrappingInputRule");
|
|
45274
|
+
const Ms = class Ms {
|
|
45274
45275
|
constructor(t = {}) {
|
|
45275
45276
|
this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
|
|
45276
45277
|
name: this.name,
|
|
@@ -45286,7 +45287,7 @@ const Ps = class Ps {
|
|
|
45286
45287
|
})) || {};
|
|
45287
45288
|
}
|
|
45288
45289
|
static create(t = {}) {
|
|
45289
|
-
return new
|
|
45290
|
+
return new Ms(t);
|
|
45290
45291
|
}
|
|
45291
45292
|
configure(t = {}) {
|
|
45292
45293
|
const r = this.extend({
|
|
@@ -45296,7 +45297,7 @@ const Ps = class Ps {
|
|
|
45296
45297
|
return r.name = this.name, r.parent = this.parent, r;
|
|
45297
45298
|
}
|
|
45298
45299
|
extend(t = {}) {
|
|
45299
|
-
const r = new
|
|
45300
|
+
const r = new Ms(t);
|
|
45300
45301
|
return r.parent = this, this.child = r, r.name = t.name ? t.name : r.parent.name, t.defaultOptions && Object.keys(t.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${r.name}".`), r.options = Ne(me(r, "addOptions", {
|
|
45301
45302
|
name: r.name
|
|
45302
45303
|
})), r.storage = Ne(me(r, "addStorage", {
|
|
@@ -45305,8 +45306,8 @@ const Ps = class Ps {
|
|
|
45305
45306
|
})), r;
|
|
45306
45307
|
}
|
|
45307
45308
|
};
|
|
45308
|
-
a(
|
|
45309
|
-
let or =
|
|
45309
|
+
a(Ms, "Node");
|
|
45310
|
+
let or = Ms;
|
|
45310
45311
|
function co(e) {
|
|
45311
45312
|
return new Ch({
|
|
45312
45313
|
find: e.find,
|
|
@@ -45651,12 +45652,12 @@ Xt.prototype = {
|
|
|
45651
45652
|
return o.j[e] = s, s;
|
|
45652
45653
|
}
|
|
45653
45654
|
};
|
|
45654
|
-
const $e = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), vr = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), ox = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), Tn = "WORD", Nh = "UWORD",
|
|
45655
|
+
const $e = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), vr = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), ox = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), Tn = "WORD", Nh = "UWORD", nl = "LOCALHOST", Lh = "TLD", Dh = "UTLD", mc = "SCHEME", Li = "SLASH_SCHEME", yb = "NUM", YE = "WS", vb = "NL", gs = "OPENBRACE", bs = "CLOSEBRACE", uu = "OPENBRACKET", du = "CLOSEBRACKET", pu = "OPENPAREN", fu = "CLOSEPAREN", hu = "OPENANGLEBRACKET", mu = "CLOSEANGLEBRACKET", gu = "FULLWIDTHLEFTPAREN", bu = "FULLWIDTHRIGHTPAREN", yu = "LEFTCORNERBRACKET", vu = "RIGHTCORNERBRACKET", Ou = "LEFTWHITECORNERBRACKET", xu = "RIGHTWHITECORNERBRACKET", Su = "FULLWIDTHLESSTHAN", Cu = "FULLWIDTHGREATERTHAN", Tu = "AMPERSAND", Eu = "APOSTROPHE", ku = "ASTERISK", qn = "AT", wu = "BACKSLASH", Pu = "BACKTICK", Mu = "CARET", Xn = "COLON", Ob = "COMMA", Ru = "DOLLAR", Yr = "DOT", Au = "EQUALS", xb = "EXCLAMATION", Jr = "HYPHEN", Fu = "PERCENT", $u = "PIPE", Iu = "PLUS", Nu = "POUND", Lu = "QUERY", Sb = "QUOTE", Cb = "SEMI", Qr = "SLASH", ys = "TILDE", Du = "UNDERSCORE", JE = "EMOJI", _u = "SYM";
|
|
45655
45656
|
var QE = /* @__PURE__ */ Object.freeze({
|
|
45656
45657
|
__proto__: null,
|
|
45657
45658
|
WORD: Tn,
|
|
45658
45659
|
UWORD: Nh,
|
|
45659
|
-
LOCALHOST:
|
|
45660
|
+
LOCALHOST: nl,
|
|
45660
45661
|
TLD: Lh,
|
|
45661
45662
|
UTLD: Dh,
|
|
45662
45663
|
SCHEME: mc,
|
|
@@ -45664,8 +45665,8 @@ var QE = /* @__PURE__ */ Object.freeze({
|
|
|
45664
45665
|
NUM: yb,
|
|
45665
45666
|
WS: YE,
|
|
45666
45667
|
NL: vb,
|
|
45667
|
-
OPENBRACE:
|
|
45668
|
-
CLOSEBRACE:
|
|
45668
|
+
OPENBRACE: gs,
|
|
45669
|
+
CLOSEBRACE: bs,
|
|
45669
45670
|
OPENBRACKET: uu,
|
|
45670
45671
|
CLOSEBRACKET: du,
|
|
45671
45672
|
OPENPAREN: pu,
|
|
@@ -45702,7 +45703,7 @@ var QE = /* @__PURE__ */ Object.freeze({
|
|
|
45702
45703
|
QUOTE: Sb,
|
|
45703
45704
|
SEMI: Cb,
|
|
45704
45705
|
SLASH: Qr,
|
|
45705
|
-
TILDE:
|
|
45706
|
+
TILDE: ys,
|
|
45706
45707
|
UNDERSCORE: Du,
|
|
45707
45708
|
EMOJI: JE,
|
|
45708
45709
|
SYM: _u
|
|
@@ -45715,7 +45716,7 @@ function Sq(e) {
|
|
|
45715
45716
|
const t = {};
|
|
45716
45717
|
Xt.groups = t;
|
|
45717
45718
|
const r = new Xt();
|
|
45718
|
-
Yl == null && (Yl = sx(hq)), Jl == null && (Jl = sx(mq)), ue(r, "'", Eu), ue(r, "{",
|
|
45719
|
+
Yl == null && (Yl = sx(hq)), Jl == null && (Jl = sx(mq)), ue(r, "'", Eu), ue(r, "{", gs), ue(r, "}", bs), ue(r, "[", uu), ue(r, "]", du), ue(r, "(", pu), ue(r, ")", fu), ue(r, "<", hu), ue(r, ">", mu), ue(r, "(", gu), ue(r, ")", bu), ue(r, "「", yu), ue(r, "」", vu), ue(r, "『", Ou), ue(r, "』", xu), ue(r, "<", Su), ue(r, ">", Cu), ue(r, "&", Tu), ue(r, "*", ku), ue(r, "@", qn), ue(r, "`", Pu), ue(r, "^", Mu), ue(r, ":", Xn), ue(r, ",", Ob), ue(r, "$", Ru), ue(r, ".", Yr), ue(r, "=", Au), ue(r, "!", xb), ue(r, "-", Jr), ue(r, "%", Fu), ue(r, "|", $u), ue(r, "+", Iu), ue(r, "#", Nu), ue(r, "?", Lu), ue(r, '"', Sb), ue(r, "/", Qr), ue(r, ";", Cb), ue(r, "~", ys), ue(r, "_", Du), ue(r, "\\", wu);
|
|
45719
45720
|
const n = vr(r, af, yb, {
|
|
45720
45721
|
[Ah]: !0
|
|
45721
45722
|
});
|
|
@@ -45766,7 +45767,7 @@ function Sq(e) {
|
|
|
45766
45767
|
};
|
|
45767
45768
|
h.indexOf("-") >= 0 ? m[Ih] = !0 : Mi.test(h) ? af.test(h) ? m[hc] = !0 : m[Fh] = !0 : m[Ah] = !0, ox(r, h, h, m);
|
|
45768
45769
|
}
|
|
45769
|
-
return ox(r, "localhost",
|
|
45770
|
+
return ox(r, "localhost", nl, {
|
|
45770
45771
|
ascii: !0
|
|
45771
45772
|
}), r.jd = new Xt(_u), {
|
|
45772
45773
|
start: r,
|
|
@@ -45835,7 +45836,7 @@ function sx(e) {
|
|
|
45835
45836
|
return t;
|
|
45836
45837
|
}
|
|
45837
45838
|
a(sx, "decodeTlds");
|
|
45838
|
-
const
|
|
45839
|
+
const ol = {
|
|
45839
45840
|
defaultProtocol: "http",
|
|
45840
45841
|
events: null,
|
|
45841
45842
|
format: lx,
|
|
@@ -45853,7 +45854,7 @@ const nl = {
|
|
|
45853
45854
|
};
|
|
45854
45855
|
function Tb(e, t) {
|
|
45855
45856
|
t === void 0 && (t = null);
|
|
45856
|
-
let r = Ea({},
|
|
45857
|
+
let r = Ea({}, ol);
|
|
45857
45858
|
e && (r = Ea(r, e instanceof Tb ? e.o : e));
|
|
45858
45859
|
const n = r.ignoreTags, o = [];
|
|
45859
45860
|
for (let i = 0; i < n.length; i++)
|
|
@@ -45862,7 +45863,7 @@ function Tb(e, t) {
|
|
|
45862
45863
|
}
|
|
45863
45864
|
a(Tb, "Options");
|
|
45864
45865
|
Tb.prototype = {
|
|
45865
|
-
o:
|
|
45866
|
+
o: ol,
|
|
45866
45867
|
/**
|
|
45867
45868
|
* @type string[]
|
|
45868
45869
|
*/
|
|
@@ -45898,7 +45899,7 @@ Tb.prototype = {
|
|
|
45898
45899
|
get(e, t, r) {
|
|
45899
45900
|
const n = t != null;
|
|
45900
45901
|
let o = this.o[e];
|
|
45901
|
-
return o && (typeof o == "object" ? (o = r.t in o ? o[r.t] :
|
|
45902
|
+
return o && (typeof o == "object" ? (o = r.t in o ? o[r.t] : ol[e], typeof o == "function" && n && (o = o(t, r))) : typeof o == "function" && n && (o = o(t, r.t, r)), o);
|
|
45902
45903
|
},
|
|
45903
45904
|
/**
|
|
45904
45905
|
* @template {keyof Opts} L
|
|
@@ -45990,7 +45991,7 @@ XE.prototype = {
|
|
|
45990
45991
|
@param {string} [protocol] `'http'` by default
|
|
45991
45992
|
*/
|
|
45992
45993
|
toObject(e) {
|
|
45993
|
-
return e === void 0 && (e =
|
|
45994
|
+
return e === void 0 && (e = ol.defaultProtocol), {
|
|
45994
45995
|
type: this.t,
|
|
45995
45996
|
value: this.toString(),
|
|
45996
45997
|
isLink: this.isLink,
|
|
@@ -46063,7 +46064,7 @@ const cx = Xd("email", {
|
|
|
46063
46064
|
@return {string} the full href
|
|
46064
46065
|
*/
|
|
46065
46066
|
toHref(e) {
|
|
46066
|
-
return e === void 0 && (e =
|
|
46067
|
+
return e === void 0 && (e = ol.defaultProtocol), this.hasProtocol() ? this.v : `${e}://${this.v}`;
|
|
46067
46068
|
},
|
|
46068
46069
|
/**
|
|
46069
46070
|
* Check whether this URL token has a protocol
|
|
@@ -46071,14 +46072,14 @@ const cx = Xd("email", {
|
|
|
46071
46072
|
*/
|
|
46072
46073
|
hasProtocol() {
|
|
46073
46074
|
const e = this.tk;
|
|
46074
|
-
return e.length >= 2 && e[0].t !==
|
|
46075
|
+
return e.length >= 2 && e[0].t !== nl && e[1].t === Xn;
|
|
46075
46076
|
}
|
|
46076
46077
|
}), Or = /* @__PURE__ */ a((e) => new Xt(e), "makeState");
|
|
46077
46078
|
function kq(e) {
|
|
46078
46079
|
let {
|
|
46079
46080
|
groups: t
|
|
46080
46081
|
} = e;
|
|
46081
|
-
const r = t.domain.concat([Tu, ku, qn, wu, Pu, Mu, Ru, Au, Jr, yb, Fu, $u, Iu, Nu, Qr, _u,
|
|
46082
|
+
const r = t.domain.concat([Tu, ku, qn, wu, Pu, Mu, Ru, Au, Jr, yb, Fu, $u, Iu, Nu, Qr, _u, ys, Du]), n = [Eu, Xn, Ob, Yr, xb, Lu, Sb, Cb, hu, mu, gs, bs, du, uu, pu, fu, gu, bu, yu, vu, Ou, xu, Su, Cu], o = [Tu, Eu, ku, wu, Pu, Mu, Ru, Au, Jr, gs, bs, Fu, $u, Iu, Nu, Lu, Qr, _u, ys, Du], i = Or(), s = ue(i, ys);
|
|
46082
46083
|
$e(s, o, s), $e(s, t.domain, s);
|
|
46083
46084
|
const l = Or(), u = Or(), d = Or();
|
|
46084
46085
|
$e(i, t.domain, l), $e(i, t.scheme, u), $e(i, t.slashscheme, d), $e(l, o, s), $e(l, t.domain, l);
|
|
@@ -46091,7 +46092,7 @@ function kq(e) {
|
|
|
46091
46092
|
const g = ue(h, Yr);
|
|
46092
46093
|
$e(g, t.domain, h);
|
|
46093
46094
|
const m = Or(cx);
|
|
46094
|
-
$e(g, t.tld, m), $e(g, t.utld, m), ue(p,
|
|
46095
|
+
$e(g, t.tld, m), $e(g, t.utld, m), ue(p, nl, m);
|
|
46095
46096
|
const b = ue(h, Jr);
|
|
46096
46097
|
$e(b, t.domain, h), $e(m, t.domain, h), ue(m, Yr, g), ue(m, Jr, b);
|
|
46097
46098
|
const y = ue(m, Xn);
|
|
@@ -46107,7 +46108,7 @@ function kq(e) {
|
|
|
46107
46108
|
const F = ue(u, Xn), A = ue(d, Xn), M = ue(A, Qr), R = ue(M, Qr);
|
|
46108
46109
|
$e(u, t.domain, l), ue(u, Yr, k), ue(u, Jr, O), $e(d, t.domain, l), ue(d, Yr, k), ue(d, Jr, O), $e(F, t.domain, w), ue(F, Qr, w), $e(R, t.domain, w), $e(R, r, w), ue(R, Qr, w);
|
|
46109
46110
|
const D = [
|
|
46110
|
-
[
|
|
46111
|
+
[gs, bs],
|
|
46111
46112
|
// {}
|
|
46112
46113
|
[uu, du],
|
|
46113
46114
|
// []
|
|
@@ -46132,7 +46133,7 @@ function kq(e) {
|
|
|
46132
46133
|
const $ = Or();
|
|
46133
46134
|
$e(j, n), $e(B, r, B), $e(B, n, $), $e($, r, B), $e($, n, $), ue(B, z, w), ue($, z, w);
|
|
46134
46135
|
}
|
|
46135
|
-
return ue(i,
|
|
46136
|
+
return ue(i, nl, T), ue(i, vb, Eq), {
|
|
46136
46137
|
start: i,
|
|
46137
46138
|
tokens: QE
|
|
46138
46139
|
};
|
|
@@ -46675,7 +46676,7 @@ function Uq() {
|
|
|
46675
46676
|
setRenderer(r, n) {
|
|
46676
46677
|
t = {
|
|
46677
46678
|
...t,
|
|
46678
|
-
[r]:
|
|
46679
|
+
[r]: ts.createPortal(n.reactElement, n.element, r)
|
|
46679
46680
|
}, e.forEach((o) => o());
|
|
46680
46681
|
},
|
|
46681
46682
|
/**
|
|
@@ -47144,7 +47145,7 @@ const i7 = /^\s*>\s$/, a7 = or.create({
|
|
|
47144
47145
|
},
|
|
47145
47146
|
addInputRules() {
|
|
47146
47147
|
return [
|
|
47147
|
-
|
|
47148
|
+
rl({
|
|
47148
47149
|
find: i7,
|
|
47149
47150
|
type: this.type
|
|
47150
47151
|
})
|
|
@@ -47249,11 +47250,11 @@ const i7 = /^\s*>\s$/, a7 = or.create({
|
|
|
47249
47250
|
};
|
|
47250
47251
|
},
|
|
47251
47252
|
addInputRules() {
|
|
47252
|
-
let e =
|
|
47253
|
+
let e = rl({
|
|
47253
47254
|
find: vx,
|
|
47254
47255
|
type: this.type
|
|
47255
47256
|
});
|
|
47256
|
-
return (this.options.keepMarks || this.options.keepAttributes) && (e =
|
|
47257
|
+
return (this.options.keepMarks || this.options.keepAttributes) && (e = rl({
|
|
47257
47258
|
find: vx,
|
|
47258
47259
|
type: this.type,
|
|
47259
47260
|
keepMarks: this.options.keepMarks,
|
|
@@ -48429,13 +48430,13 @@ const nk = rk(!1, !0), ok = rk(!0, !0), V7 = Ut.create({
|
|
|
48429
48430
|
};
|
|
48430
48431
|
},
|
|
48431
48432
|
addInputRules() {
|
|
48432
|
-
let e =
|
|
48433
|
+
let e = rl({
|
|
48433
48434
|
find: Cx,
|
|
48434
48435
|
type: this.type,
|
|
48435
48436
|
getAttributes: /* @__PURE__ */ a((t) => ({ start: +t[1] }), "getAttributes"),
|
|
48436
48437
|
joinPredicate: /* @__PURE__ */ a((t, r) => r.childCount + r.attrs.start === +t[1], "joinPredicate")
|
|
48437
48438
|
});
|
|
48438
|
-
return (this.options.keepMarks || this.options.keepAttributes) && (e =
|
|
48439
|
+
return (this.options.keepMarks || this.options.keepAttributes) && (e = rl({
|
|
48439
48440
|
find: Cx,
|
|
48440
48441
|
type: this.type,
|
|
48441
48442
|
keepMarks: this.options.keepMarks,
|
|
@@ -48542,16 +48543,16 @@ const nk = rk(!1, !0), ok = rk(!0, !0), V7 = Ut.create({
|
|
|
48542
48543
|
return this.options.bold !== !1 && k.push(d7.configure((e = this.options) === null || e === void 0 ? void 0 : e.bold)), this.options.blockquote !== !1 && k.push(a7.configure((t = this.options) === null || t === void 0 ? void 0 : t.blockquote)), this.options.bulletList !== !1 && k.push(f7.configure((r = this.options) === null || r === void 0 ? void 0 : r.bulletList)), this.options.code !== !1 && k.push(g7.configure((n = this.options) === null || n === void 0 ? void 0 : n.code)), this.options.codeBlock !== !1 && k.push(v7.configure((o = this.options) === null || o === void 0 ? void 0 : o.codeBlock)), this.options.document !== !1 && k.push(O7.configure((i = this.options) === null || i === void 0 ? void 0 : i.document)), this.options.dropcursor !== !1 && k.push(S7.configure((s = this.options) === null || s === void 0 ? void 0 : s.dropcursor)), this.options.gapcursor !== !1 && k.push(R7.configure((l = this.options) === null || l === void 0 ? void 0 : l.gapcursor)), this.options.hardBreak !== !1 && k.push(A7.configure((u = this.options) === null || u === void 0 ? void 0 : u.hardBreak)), this.options.heading !== !1 && k.push(F7.configure((d = this.options) === null || d === void 0 ? void 0 : d.heading)), this.options.history !== !1 && k.push(V7.configure((p = this.options) === null || p === void 0 ? void 0 : p.history)), this.options.horizontalRule !== !1 && k.push(H7.configure((f = this.options) === null || f === void 0 ? void 0 : f.horizontalRule)), this.options.italic !== !1 && k.push(K7.configure((h = this.options) === null || h === void 0 ? void 0 : h.italic)), this.options.listItem !== !1 && k.push(Y7.configure((g = this.options) === null || g === void 0 ? void 0 : g.listItem)), this.options.orderedList !== !1 && k.push(Q7.configure((m = this.options) === null || m === void 0 ? void 0 : m.orderedList)), this.options.paragraph !== !1 && k.push(X7.configure((b = this.options) === null || b === void 0 ? void 0 : b.paragraph)), this.options.strike !== !1 && k.push(tG.configure((y = this.options) === null || y === void 0 ? void 0 : y.strike)), this.options.text !== !1 && k.push(rG.configure((O = this.options) === null || O === void 0 ? void 0 : O.text)), k;
|
|
48543
48544
|
}
|
|
48544
48545
|
});
|
|
48545
|
-
var oG = typeof Ml == "object" && Ml && Ml.Object === Object && Ml, iG = oG, aG = iG, sG = typeof self == "object" && self && self.Object === Object && self, lG = aG || sG || Function("return this")(), Eb = lG, cG = Eb, uG = cG.Symbol, kb = uG, Tx = kb, ik = Object.prototype, dG = ik.hasOwnProperty, pG = ik.toString,
|
|
48546
|
+
var oG = typeof Ml == "object" && Ml && Ml.Object === Object && Ml, iG = oG, aG = iG, sG = typeof self == "object" && self && self.Object === Object && self, lG = aG || sG || Function("return this")(), Eb = lG, cG = Eb, uG = cG.Symbol, kb = uG, Tx = kb, ik = Object.prototype, dG = ik.hasOwnProperty, pG = ik.toString, Xa = Tx ? Tx.toStringTag : void 0;
|
|
48546
48547
|
function fG(e) {
|
|
48547
|
-
var t = dG.call(e,
|
|
48548
|
+
var t = dG.call(e, Xa), r = e[Xa];
|
|
48548
48549
|
try {
|
|
48549
|
-
e[
|
|
48550
|
+
e[Xa] = void 0;
|
|
48550
48551
|
var n = !0;
|
|
48551
48552
|
} catch {
|
|
48552
48553
|
}
|
|
48553
48554
|
var o = pG.call(e);
|
|
48554
|
-
return n && (t ? e[
|
|
48555
|
+
return n && (t ? e[Xa] = r : delete e[Xa]), o;
|
|
48555
48556
|
}
|
|
48556
48557
|
a(fG, "getRawTag$1");
|
|
48557
48558
|
var hG = fG, mG = Object.prototype, gG = mG.toString;
|
|
@@ -48679,20 +48680,20 @@ function z8(e, t) {
|
|
|
48679
48680
|
}
|
|
48680
48681
|
a(z8, "hashSet$1");
|
|
48681
48682
|
var B8 = z8, V8 = T8, H8 = k8, W8 = F8, U8 = D8, q8 = B8;
|
|
48682
|
-
function
|
|
48683
|
+
function _a(e) {
|
|
48683
48684
|
var t = -1, r = e == null ? 0 : e.length;
|
|
48684
48685
|
for (this.clear(); ++t < r; ) {
|
|
48685
48686
|
var n = e[t];
|
|
48686
48687
|
this.set(n[0], n[1]);
|
|
48687
48688
|
}
|
|
48688
48689
|
}
|
|
48689
|
-
a(
|
|
48690
|
-
|
|
48691
|
-
|
|
48692
|
-
|
|
48693
|
-
|
|
48694
|
-
|
|
48695
|
-
var G8 =
|
|
48690
|
+
a(_a, "Hash$1");
|
|
48691
|
+
_a.prototype.clear = V8;
|
|
48692
|
+
_a.prototype.delete = H8;
|
|
48693
|
+
_a.prototype.get = W8;
|
|
48694
|
+
_a.prototype.has = U8;
|
|
48695
|
+
_a.prototype.set = q8;
|
|
48696
|
+
var G8 = _a;
|
|
48696
48697
|
function K8() {
|
|
48697
48698
|
this.__data__ = [], this.size = 0;
|
|
48698
48699
|
}
|
|
@@ -48732,20 +48733,20 @@ function uK(e, t) {
|
|
|
48732
48733
|
}
|
|
48733
48734
|
a(uK, "listCacheSet$1");
|
|
48734
48735
|
var dK = uK, pK = Y8, fK = rK, hK = iK, mK = lK, gK = dK;
|
|
48735
|
-
function
|
|
48736
|
+
function ja(e) {
|
|
48736
48737
|
var t = -1, r = e == null ? 0 : e.length;
|
|
48737
48738
|
for (this.clear(); ++t < r; ) {
|
|
48738
48739
|
var n = e[t];
|
|
48739
48740
|
this.set(n[0], n[1]);
|
|
48740
48741
|
}
|
|
48741
48742
|
}
|
|
48742
|
-
a(
|
|
48743
|
-
|
|
48744
|
-
|
|
48745
|
-
|
|
48746
|
-
|
|
48747
|
-
|
|
48748
|
-
var bK =
|
|
48743
|
+
a(ja, "ListCache$1");
|
|
48744
|
+
ja.prototype.clear = pK;
|
|
48745
|
+
ja.prototype.delete = fK;
|
|
48746
|
+
ja.prototype.get = hK;
|
|
48747
|
+
ja.prototype.has = mK;
|
|
48748
|
+
ja.prototype.set = gK;
|
|
48749
|
+
var bK = ja, yK = lk, vK = Eb, OK = yK(vK, "Map"), xK = OK, Mx = G8, SK = bK, CK = xK;
|
|
48749
48750
|
function TK() {
|
|
48750
48751
|
this.size = 0, this.__data__ = {
|
|
48751
48752
|
hash: new Mx(),
|
|
@@ -48789,20 +48790,20 @@ function zK(e, t) {
|
|
|
48789
48790
|
}
|
|
48790
48791
|
a(zK, "mapCacheSet$1");
|
|
48791
48792
|
var BK = zK, VK = EK, HK = FK, WK = NK, UK = _K, qK = BK;
|
|
48792
|
-
function
|
|
48793
|
+
function za(e) {
|
|
48793
48794
|
var t = -1, r = e == null ? 0 : e.length;
|
|
48794
48795
|
for (this.clear(); ++t < r; ) {
|
|
48795
48796
|
var n = e[t];
|
|
48796
48797
|
this.set(n[0], n[1]);
|
|
48797
48798
|
}
|
|
48798
48799
|
}
|
|
48799
|
-
a(
|
|
48800
|
-
|
|
48801
|
-
|
|
48802
|
-
|
|
48803
|
-
|
|
48804
|
-
|
|
48805
|
-
var GK =
|
|
48800
|
+
a(za, "MapCache$1");
|
|
48801
|
+
za.prototype.clear = VK;
|
|
48802
|
+
za.prototype.delete = HK;
|
|
48803
|
+
za.prototype.get = WK;
|
|
48804
|
+
za.prototype.has = UK;
|
|
48805
|
+
za.prototype.set = qK;
|
|
48806
|
+
var GK = za, ck = GK, KK = "Expected a function";
|
|
48806
48807
|
function Mb(e, t) {
|
|
48807
48808
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
48808
48809
|
throw new TypeError(KK);
|
|
@@ -49997,7 +49998,7 @@ var CJ = /* @__PURE__ */ a(function(e) {
|
|
|
49997
49998
|
g !== !1 && o.props.label !== !1 && typeof o.type != "string" && // @ts-ignore
|
|
49998
49999
|
((r = o.type) === null || r === void 0 ? void 0 : r.displayName) !== "Labeled" && // @ts-ignore
|
|
49999
50000
|
((n = o.type) === null || n === void 0 ? void 0 : n.displayName) !== "Labeled" ? x.createElement(
|
|
50000
|
-
|
|
50001
|
+
As,
|
|
50001
50002
|
{ color: u, className: Vu.label },
|
|
50002
50003
|
x.createElement(mJ, { label: g || o.props.label, source: b || o.props.source, resource: m, isRequired: h })
|
|
50003
50004
|
) : null,
|
|
@@ -50293,7 +50294,7 @@ const FJ = ["children", "className", "component", "disabled", "error", "filled",
|
|
|
50293
50294
|
children: o,
|
|
50294
50295
|
className: i,
|
|
50295
50296
|
component: s = "p"
|
|
50296
|
-
} = n, l = ne(n, FJ), u = Ci(), d =
|
|
50297
|
+
} = n, l = ne(n, FJ), u = Ci(), d = La({
|
|
50297
50298
|
props: n,
|
|
50298
50299
|
muiFormControl: u,
|
|
50299
50300
|
states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
|
|
@@ -50385,7 +50386,7 @@ function NJ(e) {
|
|
|
50385
50386
|
return ye("MuiFormLabel", e);
|
|
50386
50387
|
}
|
|
50387
50388
|
a(NJ, "getFormLabelUtilityClasses");
|
|
50388
|
-
const
|
|
50389
|
+
const vs = Oe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), LJ = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"], DJ = /* @__PURE__ */ a((e) => {
|
|
50389
50390
|
const {
|
|
50390
50391
|
classes: t,
|
|
50391
50392
|
color: r,
|
|
@@ -50414,13 +50415,13 @@ const ys = Oe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
|
|
|
50414
50415
|
lineHeight: "1.4375em",
|
|
50415
50416
|
padding: 0,
|
|
50416
50417
|
position: "relative",
|
|
50417
|
-
[`&.${
|
|
50418
|
+
[`&.${vs.focused}`]: {
|
|
50418
50419
|
color: (e.vars || e).palette[t.color].main
|
|
50419
50420
|
},
|
|
50420
|
-
[`&.${
|
|
50421
|
+
[`&.${vs.disabled}`]: {
|
|
50421
50422
|
color: (e.vars || e).palette.text.disabled
|
|
50422
50423
|
},
|
|
50423
|
-
[`&.${
|
|
50424
|
+
[`&.${vs.error}`]: {
|
|
50424
50425
|
color: (e.vars || e).palette.error.main
|
|
50425
50426
|
}
|
|
50426
50427
|
})), jJ = Q("span", {
|
|
@@ -50430,7 +50431,7 @@ const ys = Oe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
|
|
|
50430
50431
|
})(({
|
|
50431
50432
|
theme: e
|
|
50432
50433
|
}) => ({
|
|
50433
|
-
[`&.${
|
|
50434
|
+
[`&.${vs.error}`]: {
|
|
50434
50435
|
color: (e.vars || e).palette.error.main
|
|
50435
50436
|
}
|
|
50436
50437
|
})), Ik = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
@@ -50441,7 +50442,7 @@ const ys = Oe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
|
|
|
50441
50442
|
children: o,
|
|
50442
50443
|
className: i,
|
|
50443
50444
|
component: s = "label"
|
|
50444
|
-
} = n, l = ne(n, LJ), u = Ci(), d =
|
|
50445
|
+
} = n, l = ne(n, LJ), u = Ci(), d = La({
|
|
50445
50446
|
props: n,
|
|
50446
50447
|
muiFormControl: u,
|
|
50447
50448
|
states: ["color", "required", "focused", "disabled", "error", "filled"]
|
|
@@ -50525,7 +50526,7 @@ function zJ(e) {
|
|
|
50525
50526
|
return ye("MuiInput", e);
|
|
50526
50527
|
}
|
|
50527
50528
|
a(zJ, "getInputUtilityClass");
|
|
50528
|
-
const
|
|
50529
|
+
const Za = E({}, da, Oe("MuiInput", ["root", "underline", "input"])), BJ = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], VJ = /* @__PURE__ */ a((e) => {
|
|
50529
50530
|
const {
|
|
50530
50531
|
classes: t,
|
|
50531
50532
|
disableUnderline: r
|
|
@@ -50572,12 +50573,12 @@ const Xa = E({}, da, Oe("MuiInput", ["root", "underline", "input"])), BJ = ["dis
|
|
|
50572
50573
|
pointerEvents: "none"
|
|
50573
50574
|
// Transparent to the hover style.
|
|
50574
50575
|
},
|
|
50575
|
-
[`&.${
|
|
50576
|
+
[`&.${Za.focused}:after`]: {
|
|
50576
50577
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
50577
50578
|
// See https://github.com/mui/material-ui/issues/31766
|
|
50578
50579
|
transform: "scaleX(1) translateX(0)"
|
|
50579
50580
|
},
|
|
50580
|
-
[`&.${
|
|
50581
|
+
[`&.${Za.error}`]: {
|
|
50581
50582
|
"&::before, &::after": {
|
|
50582
50583
|
borderBottomColor: (e.vars || e).palette.error.main
|
|
50583
50584
|
}
|
|
@@ -50596,14 +50597,14 @@ const Xa = E({}, da, Oe("MuiInput", ["root", "underline", "input"])), BJ = ["dis
|
|
|
50596
50597
|
pointerEvents: "none"
|
|
50597
50598
|
// Transparent to the hover style.
|
|
50598
50599
|
},
|
|
50599
|
-
[`&:hover:not(.${
|
|
50600
|
+
[`&:hover:not(.${Za.disabled}, .${Za.error}):before`]: {
|
|
50600
50601
|
borderBottom: `2px solid ${(e.vars || e).palette.text.primary}`,
|
|
50601
50602
|
// Reset on touch devices, it doesn't add specificity
|
|
50602
50603
|
"@media (hover: none)": {
|
|
50603
50604
|
borderBottom: `1px solid ${n}`
|
|
50604
50605
|
}
|
|
50605
50606
|
},
|
|
50606
|
-
[`&.${
|
|
50607
|
+
[`&.${Za.disabled}:before`]: {
|
|
50607
50608
|
borderBottomStyle: "dotted"
|
|
50608
50609
|
}
|
|
50609
50610
|
});
|
|
@@ -51264,7 +51265,7 @@ const QJ = ["disableAnimation", "margin", "shrink", "variant", "className"], XJ
|
|
|
51264
51265
|
ownerState: r
|
|
51265
51266
|
} = e;
|
|
51266
51267
|
return [{
|
|
51267
|
-
[`& .${
|
|
51268
|
+
[`& .${vs.asterisk}`]: t.asterisk
|
|
51268
51269
|
}, t.root, r.formControl && t.formControl, r.size === "small" && t.sizeSmall, r.shrink && t.shrink, !r.disableAnimation && t.animated, r.focused && t.focused, t[r.variant]];
|
|
51269
51270
|
}, "overridesResolver")
|
|
51270
51271
|
})(({
|
|
@@ -51339,7 +51340,7 @@ const QJ = ["disableAnimation", "margin", "shrink", "variant", "className"], XJ
|
|
|
51339
51340
|
} = n, l = ne(n, QJ), u = Ci();
|
|
51340
51341
|
let d = i;
|
|
51341
51342
|
typeof d > "u" && u && (d = u.filled || u.focused || u.adornedStart);
|
|
51342
|
-
const p =
|
|
51343
|
+
const p = La({
|
|
51343
51344
|
props: n,
|
|
51344
51345
|
muiFormControl: u,
|
|
51345
51346
|
states: ["size", "variant", "required", "focused"]
|
|
@@ -51627,7 +51628,7 @@ function iQ(e) {
|
|
|
51627
51628
|
return ye("MuiSelect", e);
|
|
51628
51629
|
}
|
|
51629
51630
|
a(iQ, "getSelectUtilityClasses");
|
|
51630
|
-
const
|
|
51631
|
+
const es = Oe("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
|
|
51631
51632
|
var _x;
|
|
51632
51633
|
const aQ = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"], sQ = Q("div", {
|
|
51633
51634
|
name: "MuiSelect",
|
|
@@ -51639,22 +51640,22 @@ const aQ = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
|
|
|
51639
51640
|
return [
|
|
51640
51641
|
// Win specificity over the input base
|
|
51641
51642
|
{
|
|
51642
|
-
[`&.${
|
|
51643
|
+
[`&.${es.select}`]: t.select
|
|
51643
51644
|
},
|
|
51644
51645
|
{
|
|
51645
|
-
[`&.${
|
|
51646
|
+
[`&.${es.select}`]: t[r.variant]
|
|
51646
51647
|
},
|
|
51647
51648
|
{
|
|
51648
|
-
[`&.${
|
|
51649
|
+
[`&.${es.error}`]: t.error
|
|
51649
51650
|
},
|
|
51650
51651
|
{
|
|
51651
|
-
[`&.${
|
|
51652
|
+
[`&.${es.multiple}`]: t.multiple
|
|
51652
51653
|
}
|
|
51653
51654
|
];
|
|
51654
51655
|
}, "overridesResolver")
|
|
51655
51656
|
})(Lk, {
|
|
51656
51657
|
// Win specificity over the input base
|
|
51657
|
-
[`&.${
|
|
51658
|
+
[`&.${es.select}`]: {
|
|
51658
51659
|
height: "auto",
|
|
51659
51660
|
// Resets for multiple select with chips
|
|
51660
51661
|
minHeight: "1.4375em",
|
|
@@ -51740,11 +51741,11 @@ const dQ = /* @__PURE__ */ a((e) => {
|
|
|
51740
51741
|
tabIndex: I,
|
|
51741
51742
|
value: z,
|
|
51742
51743
|
variant: j = "standard"
|
|
51743
|
-
} = t, B = ne(t, aQ), [$, Y] =
|
|
51744
|
+
} = t, B = ne(t, aQ), [$, Y] = _s({
|
|
51744
51745
|
controlled: z,
|
|
51745
51746
|
default: f,
|
|
51746
51747
|
name: "Select"
|
|
51747
|
-
}), [_, W] =
|
|
51748
|
+
}), [_, W] = _s({
|
|
51748
51749
|
controlled: M,
|
|
51749
51750
|
default: p,
|
|
51750
51751
|
name: "Select"
|
|
@@ -52131,7 +52132,7 @@ const pQ = fo(/* @__PURE__ */ v("path", {
|
|
|
52131
52132
|
renderValue: w,
|
|
52132
52133
|
SelectDisplayProps: P,
|
|
52133
52134
|
variant: F = "outlined"
|
|
52134
|
-
} = n, A = ne(n, fQ), M = k ? _k : jk, R = Ci(), D =
|
|
52135
|
+
} = n, A = ne(n, fQ), M = k ? _k : jk, R = Ci(), D = La({
|
|
52135
52136
|
props: n,
|
|
52136
52137
|
muiFormControl: R,
|
|
52137
52138
|
states: ["variant", "error"]
|
|
@@ -53790,7 +53791,7 @@ export {
|
|
|
53790
53791
|
CZ as useEtrActions,
|
|
53791
53792
|
rg as useFicha,
|
|
53792
53793
|
GS as useFieldController,
|
|
53793
|
-
|
|
53794
|
+
Ia as useFormProgress,
|
|
53794
53795
|
jC as useFormSubmit,
|
|
53795
53796
|
US as useFormToolbar,
|
|
53796
53797
|
RN as useGetJson,
|