biblio-react 3.0.0-alpha279-popup → 3.0.0-alpha280-popup
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/README.md +30 -30
- package/dist/index.js +681 -677
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,17 +2,17 @@ var WP = Object.defineProperty;
|
|
|
2
2
|
var s = (t, e) => WP(t, "name", { value: e, configurable: !0 });
|
|
3
3
|
import { jsx as b, jsxs as H, Fragment as _n } from "react/jsx-runtime";
|
|
4
4
|
import * as S from "react";
|
|
5
|
-
import wt, { forwardRef as gc, useContext as Je, createElement as Yv, isValidElement as cr, cloneElement as zn, Children as
|
|
6
|
-
import { MenuItem as eo, ListItemIcon as Zi, ListItemText as es, useMediaQuery as Rr, Typography as Ko, Box as Re, useTheme as Np, Card as Jy, CardContent as uT, Stack as ts, Tooltip as wo, IconButton as En, createTheme as UP, ThemeProvider as GP, Chip as Jv, Menu as
|
|
7
|
-
import { useTranslate as Ht, useUserMenu as r2, useResourceDefinitions as Xy, AppBar as o2, UserMenu as i2, Logout as s2, required as a2, minValue as l2, TopToolbar as mT, ShowButton as c2, useNotify as gT, useDataProvider as ui, useResourceContext as pt, useListContext as To, useRedirect as Ro, useUnselectAll as u2, ResourceDefinitionContext as yT, useStoreContext as d2, NumberField as p2, DateField as e1, TextField as
|
|
8
|
-
import { Link as lg, useNavigate as Bp, useLocation as co, Routes as $T, Route as LT, useParams as FT, matchPath as
|
|
9
|
-
import { useGridApiContext as Os, useGridSelector as
|
|
5
|
+
import wt, { forwardRef as gc, useContext as Je, createElement as Yv, isValidElement as cr, cloneElement as zn, Children as Wl, createContext as Bt, useState as Te, useMemo as it, useRef as vn, useCallback as je, useEffect as xe, memo as lT, Fragment as Or, useImperativeHandle as HP, useDebugValue as cT, useId as qP } from "react";
|
|
6
|
+
import { MenuItem as eo, ListItemIcon as Zi, ListItemText as es, useMediaQuery as Rr, Typography as Ko, Box as Re, useTheme as Np, Card as Jy, CardContent as uT, Stack as ts, Tooltip as wo, IconButton as En, createTheme as UP, ThemeProvider as GP, Chip as Jv, Menu as ua, alpha as KP, StyledEngineProvider as dT, CircularProgress as pT, DialogTitle as sg, Dialog as Ku, DialogContent as ag, Collapse as YP, List as fT, Switch as JP, DialogActions as Xv, Button as Qv, Paper as hT, Table as XP, TableHead as QP, TableRow as Zv, TableCell as Ti, Skeleton as Ei, TableBody as ZP, ToggleButtonGroup as Dp, ToggleButton as cn, ListItem as e2, ListItemButton as t2, FormHelperText as n2 } from "@mui/material";
|
|
7
|
+
import { useTranslate as Ht, useUserMenu as r2, useResourceDefinitions as Xy, AppBar as o2, UserMenu as i2, Logout as s2, required as a2, minValue as l2, TopToolbar as mT, ShowButton as c2, useNotify as gT, useDataProvider as ui, useResourceContext as pt, useListContext as To, useRedirect as Ro, useUnselectAll as u2, ResourceDefinitionContext as yT, useStoreContext as d2, NumberField as p2, DateField as e1, TextField as il, ReferenceField as f2, useGetResourceLabel as $p, ResourceContextProvider as Zs, useRecordContext as mr, useCreatePath as h2, useResourceDefinition as Qy, BulkActionsToolbar as bT, Button as On, useInput as Lp, useGetList as vT, Labeled as ST, Confirm as Fp, Form as Ia, SaveButton as yc, useGetOne as xT, useCreateController as m2, CreateContextProvider as g2, useDeleteWithConfirmController as y2, Toolbar as CT, ToolbarClasses as b2, useDelete as wT, useSaveContext as v2, Create as S2, Loading as Es, useListController as x2, ListContextProvider as C2, List as TT, Pagination as w2, Edit as T2, useEditContext as E2, useSidebarState as ET, Menu as O2, DashboardMenuItem as k2, MenuItemLink as OT, Layout as M2, FilterContext as R2, FilterButton as P2, sanitizeListRestProps as A2, useLogin as I2, TextInput as to, PasswordInput as kT, Show as N2, useShowContext as D2, useSplatPathBase as $2, getTabbedFormTabFullPath as Jc, TabbedFormTabs as MT, defaultTheme as RT, FormTab as L2, BooleanField as F2, ImageInput as B2, ImageField as _2, FileInput as z2, BooleanInput as V2, ReferenceInput as PT, useChoicesContext as AT, AutocompleteInput as j2, SelectInput as W2, ReferenceArrayInput as H2, AutocompleteArrayInput as q2, SearchInput as U2, RadioButtonGroupInput as IT, useRecordSelection as NT, ListActions as G2, Datagrid as K2, SelectAllButton as Y2, ValidationError as J2, FieldTitle as DT } from "react-admin";
|
|
8
|
+
import { Link as lg, useNavigate as Bp, useLocation as co, Routes as $T, Route as LT, useParams as FT, matchPath as Hl } from "react-router-dom";
|
|
9
|
+
import { useGridApiContext as Os, useGridSelector as da, gridColumnVisibilityModelSelector as BT, gridColumnDefinitionsSelector as _T, GridColumnIcon as X2, gridSortModelSelector as Q2, GridArrowUpwardIcon as Z2, GridArrowDownwardIcon as eA, GridToolbarContainer as tA, GridClearIcon as nA, GridToolbarQuickFilter as rA, GridPivotIcon as oA, GridToolbarExport as iA, useGridApiRef as Zy, gridClasses as cg, useKeepGroupedColumnsHidden as zT, GridActionsCellItem as Ua, isAutogeneratedRow as Xc, DataGridPremium as eb } from "@mui/x-data-grid-premium";
|
|
10
10
|
import { useFormContext as en, useController as VT, useFormState as sA, useWatch as aA } from "react-hook-form";
|
|
11
11
|
import { useDispatch as Po, useSelector as tb } from "react-redux";
|
|
12
12
|
import { isAfter as lA } from "date-fns";
|
|
13
13
|
import { useMutation as cA, useQueryClient as nb } from "@tanstack/react-query";
|
|
14
14
|
import * as ug from "react-dom";
|
|
15
|
-
import
|
|
15
|
+
import sl, { createPortal as uA } from "react-dom";
|
|
16
16
|
import { deepmerge as jT } from "@mui/utils";
|
|
17
17
|
import WT from "ra-language-english";
|
|
18
18
|
import gr from "@blackbox-vision/ra-language-spanish";
|
|
@@ -943,13 +943,13 @@ function Jt(t, e, n = {
|
|
|
943
943
|
}), r;
|
|
944
944
|
}
|
|
945
945
|
s(Jt, "deepmerge");
|
|
946
|
-
function
|
|
946
|
+
function yl(t, e) {
|
|
947
947
|
return e ? Jt(t, e, {
|
|
948
948
|
clone: !1
|
|
949
949
|
// No need to clone deep, it's way faster.
|
|
950
950
|
}) : t;
|
|
951
951
|
}
|
|
952
|
-
s(
|
|
952
|
+
s(yl, "merge");
|
|
953
953
|
const di = process.env.NODE_ENV !== "production" ? c.oneOfType([c.number, c.string, c.object, c.array]) : {};
|
|
954
954
|
function y1(t, e) {
|
|
955
955
|
if (!t.containerQueries)
|
|
@@ -1196,7 +1196,7 @@ function LA(t, e, n, r) {
|
|
|
1196
1196
|
s(LA, "resolveCssProperty");
|
|
1197
1197
|
function XT(t, e) {
|
|
1198
1198
|
const n = jp(t.theme);
|
|
1199
|
-
return Object.keys(t).map((r) => LA(t, e, r, n)).reduce(
|
|
1199
|
+
return Object.keys(t).map((r) => LA(t, e, r, n)).reduce(yl, {});
|
|
1200
1200
|
}
|
|
1201
1201
|
s(XT, "style$2");
|
|
1202
1202
|
function It(t) {
|
|
@@ -1215,7 +1215,7 @@ process.env.NODE_ENV !== "production" && DA.reduce((t, e) => (t[e] = di, t), {})
|
|
|
1215
1215
|
function Wp(...t) {
|
|
1216
1216
|
const e = t.reduce((r, o) => (o.filterProps.forEach((i) => {
|
|
1217
1217
|
r[i] = o;
|
|
1218
|
-
}), r), {}), n = /* @__PURE__ */ s((r) => Object.keys(r).reduce((o, i) => e[i] ?
|
|
1218
|
+
}), r), {}), n = /* @__PURE__ */ s((r) => Object.keys(r).reduce((o, i) => e[i] ? yl(o, e[i](r)) : o, {}), "fn");
|
|
1219
1219
|
return n.propTypes = process.env.NODE_ENV !== "production" ? t.reduce((r, o) => Object.assign(r, o.propTypes), {}) : {}, n.filterProps = t.reduce((r, o) => r.concat(o.filterProps), []), n;
|
|
1220
1220
|
}
|
|
1221
1221
|
s(Wp, "compose");
|
|
@@ -1726,7 +1726,7 @@ function mI() {
|
|
|
1726
1726
|
if (y != null)
|
|
1727
1727
|
if (typeof y == "object")
|
|
1728
1728
|
if (a[m])
|
|
1729
|
-
h =
|
|
1729
|
+
h = yl(h, t(m, y, o, a));
|
|
1730
1730
|
else {
|
|
1731
1731
|
const g = Pr({
|
|
1732
1732
|
theme: o
|
|
@@ -1737,10 +1737,10 @@ function mI() {
|
|
|
1737
1737
|
sx: y,
|
|
1738
1738
|
theme: o,
|
|
1739
1739
|
nested: !0
|
|
1740
|
-
}) : h =
|
|
1740
|
+
}) : h = yl(h, g);
|
|
1741
1741
|
}
|
|
1742
1742
|
else
|
|
1743
|
-
h =
|
|
1743
|
+
h = yl(h, t(m, y, o, a));
|
|
1744
1744
|
}), !i && o.modularCssLayers ? {
|
|
1745
1745
|
"@layer sx": y1(o, dg(f, h))
|
|
1746
1746
|
} : y1(o, dg(f, h));
|
|
@@ -1839,7 +1839,7 @@ var vI = /* @__PURE__ */ (function() {
|
|
|
1839
1839
|
return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
|
|
1840
1840
|
}), this.tags = [], this.ctr = 0;
|
|
1841
1841
|
}, "flush"), t;
|
|
1842
|
-
})(), gn = "-ms-", Xu = "-moz-",
|
|
1842
|
+
})(), gn = "-ms-", Xu = "-moz-", st = "-webkit-", QT = "comm", sb = "rule", ab = "decl", SI = "@import", ZT = "@keyframes", xI = "@layer", CI = Math.abs, Yp = String.fromCharCode, wI = Object.assign;
|
|
1843
1843
|
function TI(t, e) {
|
|
1844
1844
|
return sn(t, 0) ^ 45 ? (((e << 2 ^ sn(t, 0)) << 2 ^ sn(t, 1)) << 2 ^ sn(t, 2)) << 2 ^ sn(t, 3) : 0;
|
|
1845
1845
|
}
|
|
@@ -1852,10 +1852,10 @@ function EI(t, e) {
|
|
|
1852
1852
|
return (t = e.exec(t)) ? t[0] : t;
|
|
1853
1853
|
}
|
|
1854
1854
|
s(EI, "match$2");
|
|
1855
|
-
function
|
|
1855
|
+
function at(t, e, n) {
|
|
1856
1856
|
return t.replace(e, n);
|
|
1857
1857
|
}
|
|
1858
|
-
s(
|
|
1858
|
+
s(at, "replace$1");
|
|
1859
1859
|
function fg(t, e) {
|
|
1860
1860
|
return t.indexOf(e);
|
|
1861
1861
|
}
|
|
@@ -1864,10 +1864,10 @@ function sn(t, e) {
|
|
|
1864
1864
|
return t.charCodeAt(e) | 0;
|
|
1865
1865
|
}
|
|
1866
1866
|
s(sn, "charat");
|
|
1867
|
-
function
|
|
1867
|
+
function ql(t, e, n) {
|
|
1868
1868
|
return t.slice(e, n);
|
|
1869
1869
|
}
|
|
1870
|
-
s(
|
|
1870
|
+
s(ql, "substr");
|
|
1871
1871
|
function Kr(t) {
|
|
1872
1872
|
return t.length;
|
|
1873
1873
|
}
|
|
@@ -1884,29 +1884,29 @@ function OI(t, e) {
|
|
|
1884
1884
|
return t.map(e).join("");
|
|
1885
1885
|
}
|
|
1886
1886
|
s(OI, "combine");
|
|
1887
|
-
var Jp = 1,
|
|
1887
|
+
var Jp = 1, pa = 1, tE = 0, Hn = 0, Vt = 0, Na = "";
|
|
1888
1888
|
function Xp(t, e, n, r, o, i, a) {
|
|
1889
|
-
return { value: t, root: e, parent: n, type: r, props: o, children: i, line: Jp, column:
|
|
1889
|
+
return { value: t, root: e, parent: n, type: r, props: o, children: i, line: Jp, column: pa, length: a, return: "" };
|
|
1890
1890
|
}
|
|
1891
1891
|
s(Xp, "node");
|
|
1892
|
-
function
|
|
1892
|
+
function Ga(t, e) {
|
|
1893
1893
|
return wI(Xp("", null, null, "", null, null, 0), t, { length: -t.length }, e);
|
|
1894
1894
|
}
|
|
1895
|
-
s(
|
|
1895
|
+
s(Ga, "copy$1");
|
|
1896
1896
|
function kI() {
|
|
1897
1897
|
return Vt;
|
|
1898
1898
|
}
|
|
1899
1899
|
s(kI, "char");
|
|
1900
1900
|
function MI() {
|
|
1901
|
-
return Vt = Hn > 0 ? sn(
|
|
1901
|
+
return Vt = Hn > 0 ? sn(Na, --Hn) : 0, pa--, Vt === 10 && (pa = 1, Jp--), Vt;
|
|
1902
1902
|
}
|
|
1903
1903
|
s(MI, "prev");
|
|
1904
1904
|
function Jn() {
|
|
1905
|
-
return Vt = Hn < tE ? sn(
|
|
1905
|
+
return Vt = Hn < tE ? sn(Na, Hn++) : 0, pa++, Vt === 10 && (pa = 1, Jp++), Vt;
|
|
1906
1906
|
}
|
|
1907
1907
|
s(Jn, "next");
|
|
1908
1908
|
function no() {
|
|
1909
|
-
return sn(
|
|
1909
|
+
return sn(Na, Hn);
|
|
1910
1910
|
}
|
|
1911
1911
|
s(no, "peek");
|
|
1912
1912
|
function $u() {
|
|
@@ -1914,10 +1914,10 @@ function $u() {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
s($u, "caret");
|
|
1916
1916
|
function Sc(t, e) {
|
|
1917
|
-
return
|
|
1917
|
+
return ql(Na, t, e);
|
|
1918
1918
|
}
|
|
1919
1919
|
s(Sc, "slice");
|
|
1920
|
-
function
|
|
1920
|
+
function Ul(t) {
|
|
1921
1921
|
switch (t) {
|
|
1922
1922
|
// \0 \t \n \r \s whitespace token
|
|
1923
1923
|
case 0:
|
|
@@ -1955,13 +1955,13 @@ function ql(t) {
|
|
|
1955
1955
|
}
|
|
1956
1956
|
return 0;
|
|
1957
1957
|
}
|
|
1958
|
-
s(
|
|
1958
|
+
s(Ul, "token");
|
|
1959
1959
|
function nE(t) {
|
|
1960
|
-
return Jp =
|
|
1960
|
+
return Jp = pa = 1, tE = Kr(Na = t), Hn = 0, [];
|
|
1961
1961
|
}
|
|
1962
1962
|
s(nE, "alloc");
|
|
1963
1963
|
function rE(t) {
|
|
1964
|
-
return
|
|
1964
|
+
return Na = "", t;
|
|
1965
1965
|
}
|
|
1966
1966
|
s(rE, "dealloc");
|
|
1967
1967
|
function Lu(t) {
|
|
@@ -1971,7 +1971,7 @@ s(Lu, "delimit");
|
|
|
1971
1971
|
function RI(t) {
|
|
1972
1972
|
for (; (Vt = no()) && Vt < 33; )
|
|
1973
1973
|
Jn();
|
|
1974
|
-
return
|
|
1974
|
+
return Ul(t) > 2 || Ul(Vt) > 3 ? "" : " ";
|
|
1975
1975
|
}
|
|
1976
1976
|
s(RI, "whitespace$1");
|
|
1977
1977
|
function PI(t, e) {
|
|
@@ -2011,7 +2011,7 @@ function AI(t, e) {
|
|
|
2011
2011
|
}
|
|
2012
2012
|
s(AI, "commenter");
|
|
2013
2013
|
function II(t) {
|
|
2014
|
-
for (; !
|
|
2014
|
+
for (; !Ul(no()); )
|
|
2015
2015
|
Jn();
|
|
2016
2016
|
return Sc(t, Hn);
|
|
2017
2017
|
}
|
|
@@ -2026,7 +2026,7 @@ function Fu(t, e, n, r, o, i, a, l, u) {
|
|
|
2026
2026
|
// (
|
|
2027
2027
|
case 40:
|
|
2028
2028
|
if (y != 108 && sn(R, f - 1) == 58) {
|
|
2029
|
-
fg(R +=
|
|
2029
|
+
fg(R += at(Lu(T), "&", "&\f"), "&\f") != -1 && (x = -1);
|
|
2030
2030
|
break;
|
|
2031
2031
|
}
|
|
2032
2032
|
// " ' [
|
|
@@ -2071,7 +2071,7 @@ function Fu(t, e, n, r, o, i, a, l, u) {
|
|
|
2071
2071
|
v = 0;
|
|
2072
2072
|
// ;
|
|
2073
2073
|
case 59 + p:
|
|
2074
|
-
x == -1 && (R =
|
|
2074
|
+
x == -1 && (R = at(R, /\f/g, "")), m > 0 && Kr(R) - f && nu(m > 32 ? x1(R + ";", r, n, f - 1) : x1(at(R, " ", "") + ";", r, n, f - 2), u);
|
|
2075
2075
|
break;
|
|
2076
2076
|
// @ ;
|
|
2077
2077
|
case 59:
|
|
@@ -2129,17 +2129,17 @@ function Fu(t, e, n, r, o, i, a, l, u) {
|
|
|
2129
2129
|
s(Fu, "parse$2");
|
|
2130
2130
|
function S1(t, e, n, r, o, i, a, l, u, d, p) {
|
|
2131
2131
|
for (var f = o - 1, h = o === 0 ? i : [""], m = lb(h), y = 0, g = 0, v = 0; y < r; ++y)
|
|
2132
|
-
for (var x = 0, T =
|
|
2133
|
-
(E = eE(g > 0 ? h[x] + " " + T :
|
|
2132
|
+
for (var x = 0, T = ql(t, f + 1, f = CI(g = a[y])), E = t; x < m; ++x)
|
|
2133
|
+
(E = eE(g > 0 ? h[x] + " " + T : at(T, /&\f/g, h[x]))) && (u[v++] = E);
|
|
2134
2134
|
return Xp(t, e, n, o === 0 ? sb : l, u, d, p);
|
|
2135
2135
|
}
|
|
2136
2136
|
s(S1, "ruleset");
|
|
2137
2137
|
function DI(t, e, n) {
|
|
2138
|
-
return Xp(t, e, n, QT, Yp(kI()),
|
|
2138
|
+
return Xp(t, e, n, QT, Yp(kI()), ql(t, 2, -2), 0);
|
|
2139
2139
|
}
|
|
2140
2140
|
s(DI, "comment");
|
|
2141
2141
|
function x1(t, e, n, r) {
|
|
2142
|
-
return Xp(t, e, n, ab,
|
|
2142
|
+
return Xp(t, e, n, ab, ql(t, 0, r), ql(t, r + 1, -1), r);
|
|
2143
2143
|
}
|
|
2144
2144
|
s(x1, "declaration");
|
|
2145
2145
|
function ta(t, e) {
|
|
@@ -2188,13 +2188,13 @@ function oE(t) {
|
|
|
2188
2188
|
}
|
|
2189
2189
|
s(oE, "memoize$1");
|
|
2190
2190
|
var BI = /* @__PURE__ */ s(function(e, n, r) {
|
|
2191
|
-
for (var o = 0, i = 0; o = i, i = no(), o === 38 && i === 12 && (n[r] = 1), !
|
|
2191
|
+
for (var o = 0, i = 0; o = i, i = no(), o === 38 && i === 12 && (n[r] = 1), !Ul(i); )
|
|
2192
2192
|
Jn();
|
|
2193
2193
|
return Sc(e, Hn);
|
|
2194
2194
|
}, "identifierWithPointTracking"), _I = /* @__PURE__ */ s(function(e, n) {
|
|
2195
2195
|
var r = -1, o = 44;
|
|
2196
2196
|
do
|
|
2197
|
-
switch (
|
|
2197
|
+
switch (Ul(o)) {
|
|
2198
2198
|
case 0:
|
|
2199
2199
|
o === 38 && no() === 12 && (n[r] = 1), e[r] += BI(Hn - 1, n, r);
|
|
2200
2200
|
break;
|
|
@@ -2239,7 +2239,7 @@ function iE(t, e) {
|
|
|
2239
2239
|
switch (TI(t, e)) {
|
|
2240
2240
|
// color-adjust
|
|
2241
2241
|
case 5103:
|
|
2242
|
-
return
|
|
2242
|
+
return st + "print-" + t + t;
|
|
2243
2243
|
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
2244
2244
|
case 5737:
|
|
2245
2245
|
case 4201:
|
|
@@ -2269,58 +2269,58 @@ function iE(t, e) {
|
|
|
2269
2269
|
case 5365:
|
|
2270
2270
|
case 5621:
|
|
2271
2271
|
case 3829:
|
|
2272
|
-
return
|
|
2272
|
+
return st + t + t;
|
|
2273
2273
|
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
2274
2274
|
case 5349:
|
|
2275
2275
|
case 4246:
|
|
2276
2276
|
case 4810:
|
|
2277
2277
|
case 6968:
|
|
2278
2278
|
case 2756:
|
|
2279
|
-
return
|
|
2279
|
+
return st + t + Xu + t + gn + t + t;
|
|
2280
2280
|
// flex, flex-direction
|
|
2281
2281
|
case 6828:
|
|
2282
2282
|
case 4268:
|
|
2283
|
-
return
|
|
2283
|
+
return st + t + gn + t + t;
|
|
2284
2284
|
// order
|
|
2285
2285
|
case 6165:
|
|
2286
|
-
return
|
|
2286
|
+
return st + t + gn + "flex-" + t + t;
|
|
2287
2287
|
// align-items
|
|
2288
2288
|
case 5187:
|
|
2289
|
-
return
|
|
2289
|
+
return st + t + at(t, /(\w+).+(:[^]+)/, st + "box-$1$2" + gn + "flex-$1$2") + t;
|
|
2290
2290
|
// align-self
|
|
2291
2291
|
case 5443:
|
|
2292
|
-
return
|
|
2292
|
+
return st + t + gn + "flex-item-" + at(t, /flex-|-self/, "") + t;
|
|
2293
2293
|
// align-content
|
|
2294
2294
|
case 4675:
|
|
2295
|
-
return
|
|
2295
|
+
return st + t + gn + "flex-line-pack" + at(t, /align-content|flex-|-self/, "") + t;
|
|
2296
2296
|
// flex-shrink
|
|
2297
2297
|
case 5548:
|
|
2298
|
-
return
|
|
2298
|
+
return st + t + gn + at(t, "shrink", "negative") + t;
|
|
2299
2299
|
// flex-basis
|
|
2300
2300
|
case 5292:
|
|
2301
|
-
return
|
|
2301
|
+
return st + t + gn + at(t, "basis", "preferred-size") + t;
|
|
2302
2302
|
// flex-grow
|
|
2303
2303
|
case 6060:
|
|
2304
|
-
return
|
|
2304
|
+
return st + "box-" + at(t, "-grow", "") + st + t + gn + at(t, "grow", "positive") + t;
|
|
2305
2305
|
// transition
|
|
2306
2306
|
case 4554:
|
|
2307
|
-
return
|
|
2307
|
+
return st + at(t, /([^-])(transform)/g, "$1" + st + "$2") + t;
|
|
2308
2308
|
// cursor
|
|
2309
2309
|
case 6187:
|
|
2310
|
-
return
|
|
2310
|
+
return at(at(at(t, /(zoom-|grab)/, st + "$1"), /(image-set)/, st + "$1"), t, "") + t;
|
|
2311
2311
|
// background, background-image
|
|
2312
2312
|
case 5495:
|
|
2313
2313
|
case 3959:
|
|
2314
|
-
return
|
|
2314
|
+
return at(t, /(image-set\([^]*)/, st + "$1$`$1");
|
|
2315
2315
|
// justify-content
|
|
2316
2316
|
case 4968:
|
|
2317
|
-
return
|
|
2317
|
+
return at(at(t, /(.+:)(flex-)?(.*)/, st + "box-pack:$3" + gn + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + st + t + t;
|
|
2318
2318
|
// (margin|padding)-inline-(start|end)
|
|
2319
2319
|
case 4095:
|
|
2320
2320
|
case 3583:
|
|
2321
2321
|
case 4068:
|
|
2322
2322
|
case 2532:
|
|
2323
|
-
return
|
|
2323
|
+
return at(t, /(.+)-inline(.+)/, st + "$1$2") + t;
|
|
2324
2324
|
// (min|max)?(width|height|inline-size|block-size)
|
|
2325
2325
|
case 8116:
|
|
2326
2326
|
case 7059:
|
|
@@ -2340,10 +2340,10 @@ function iE(t, e) {
|
|
|
2340
2340
|
if (sn(t, e + 4) !== 45) break;
|
|
2341
2341
|
// (f)ill-available, (f)it-content
|
|
2342
2342
|
case 102:
|
|
2343
|
-
return
|
|
2343
|
+
return at(t, /(.+:)(.+)-([^]+)/, "$1" + st + "$2-$3$1" + Xu + (sn(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
|
|
2344
2344
|
// (s)tretch
|
|
2345
2345
|
case 115:
|
|
2346
|
-
return ~fg(t, "stretch") ? iE(
|
|
2346
|
+
return ~fg(t, "stretch") ? iE(at(t, "stretch", "fill-available"), e) + t : t;
|
|
2347
2347
|
}
|
|
2348
2348
|
break;
|
|
2349
2349
|
// position: sticky
|
|
@@ -2354,10 +2354,10 @@ function iE(t, e) {
|
|
|
2354
2354
|
switch (sn(t, Kr(t) - 3 - (~fg(t, "!important") && 10))) {
|
|
2355
2355
|
// stic(k)y
|
|
2356
2356
|
case 107:
|
|
2357
|
-
return
|
|
2357
|
+
return at(t, ":", ":" + st) + t;
|
|
2358
2358
|
// (inline-)?fl(e)x
|
|
2359
2359
|
case 101:
|
|
2360
|
-
return
|
|
2360
|
+
return at(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + st + (sn(t, 14) === 45 ? "inline-" : "") + "box$3$1" + st + "$2$3$1" + gn + "$2box$3") + t;
|
|
2361
2361
|
}
|
|
2362
2362
|
break;
|
|
2363
2363
|
// writing-mode
|
|
@@ -2365,15 +2365,15 @@ function iE(t, e) {
|
|
|
2365
2365
|
switch (sn(t, e + 11)) {
|
|
2366
2366
|
// vertical-l(r)
|
|
2367
2367
|
case 114:
|
|
2368
|
-
return
|
|
2368
|
+
return st + t + gn + at(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
|
|
2369
2369
|
// vertical-r(l)
|
|
2370
2370
|
case 108:
|
|
2371
|
-
return
|
|
2371
|
+
return st + t + gn + at(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
|
|
2372
2372
|
// horizontal(-)tb
|
|
2373
2373
|
case 45:
|
|
2374
|
-
return
|
|
2374
|
+
return st + t + gn + at(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
|
|
2375
2375
|
}
|
|
2376
|
-
return
|
|
2376
|
+
return st + t + gn + t + t;
|
|
2377
2377
|
}
|
|
2378
2378
|
return t;
|
|
2379
2379
|
}
|
|
@@ -2384,8 +2384,8 @@ var WI = /* @__PURE__ */ s(function(e, n, r, o) {
|
|
|
2384
2384
|
e.return = iE(e.value, e.length);
|
|
2385
2385
|
break;
|
|
2386
2386
|
case ZT:
|
|
2387
|
-
return ta([
|
|
2388
|
-
value:
|
|
2387
|
+
return ta([Ga(e, {
|
|
2388
|
+
value: at(e.value, "@", "@" + st)
|
|
2389
2389
|
})], o);
|
|
2390
2390
|
case sb:
|
|
2391
2391
|
if (e.length) return OI(e.props, function(i) {
|
|
@@ -2393,17 +2393,17 @@ var WI = /* @__PURE__ */ s(function(e, n, r, o) {
|
|
|
2393
2393
|
// :read-(only|write)
|
|
2394
2394
|
case ":read-only":
|
|
2395
2395
|
case ":read-write":
|
|
2396
|
-
return ta([
|
|
2397
|
-
props: [
|
|
2396
|
+
return ta([Ga(e, {
|
|
2397
|
+
props: [at(i, /:(read-\w+)/, ":" + Xu + "$1")]
|
|
2398
2398
|
})], o);
|
|
2399
2399
|
// :placeholder
|
|
2400
2400
|
case "::placeholder":
|
|
2401
|
-
return ta([
|
|
2402
|
-
props: [
|
|
2403
|
-
}),
|
|
2404
|
-
props: [
|
|
2405
|
-
}),
|
|
2406
|
-
props: [
|
|
2401
|
+
return ta([Ga(e, {
|
|
2402
|
+
props: [at(i, /:(plac\w+)/, ":" + st + "input-$1")]
|
|
2403
|
+
}), Ga(e, {
|
|
2404
|
+
props: [at(i, /:(plac\w+)/, ":" + Xu + "$1")]
|
|
2405
|
+
}), Ga(e, {
|
|
2406
|
+
props: [at(i, /:(plac\w+)/, gn + "input-$1")]
|
|
2407
2407
|
})], o);
|
|
2408
2408
|
}
|
|
2409
2409
|
return "";
|
|
@@ -2818,7 +2818,7 @@ var QI = {
|
|
|
2818
2818
|
}
|
|
2819
2819
|
return QI[e] !== 1 && !aE(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
2820
2820
|
}, "processStyleValue");
|
|
2821
|
-
function
|
|
2821
|
+
function Gl(t, e, n) {
|
|
2822
2822
|
if (n == null)
|
|
2823
2823
|
return "";
|
|
2824
2824
|
var r = n;
|
|
@@ -2853,7 +2853,7 @@ function Ul(t, e, n) {
|
|
|
2853
2853
|
case "function": {
|
|
2854
2854
|
if (t !== void 0) {
|
|
2855
2855
|
var u = Yr, d = n(t);
|
|
2856
|
-
return Yr = u,
|
|
2856
|
+
return Yr = u, Gl(t, e, d);
|
|
2857
2857
|
}
|
|
2858
2858
|
break;
|
|
2859
2859
|
}
|
|
@@ -2864,12 +2864,12 @@ function Ul(t, e, n) {
|
|
|
2864
2864
|
var f = e[p];
|
|
2865
2865
|
return f !== void 0 ? f : p;
|
|
2866
2866
|
}
|
|
2867
|
-
s(
|
|
2867
|
+
s(Gl, "handleInterpolation");
|
|
2868
2868
|
function tN(t, e, n) {
|
|
2869
2869
|
var r = "";
|
|
2870
2870
|
if (Array.isArray(n))
|
|
2871
2871
|
for (var o = 0; o < n.length; o++)
|
|
2872
|
-
r +=
|
|
2872
|
+
r += Gl(t, e, n[o]) + ";";
|
|
2873
2873
|
else
|
|
2874
2874
|
for (var i in n) {
|
|
2875
2875
|
var a = n[i];
|
|
@@ -2880,7 +2880,7 @@ function tN(t, e, n) {
|
|
|
2880
2880
|
for (var u = 0; u < a.length; u++)
|
|
2881
2881
|
k1(a[u]) && (r += lh(i) + ":" + M1(i, a[u]) + ";");
|
|
2882
2882
|
else {
|
|
2883
|
-
var d =
|
|
2883
|
+
var d = Gl(t, e, a);
|
|
2884
2884
|
switch (i) {
|
|
2885
2885
|
case "animation":
|
|
2886
2886
|
case "animationName": {
|
|
@@ -2903,13 +2903,13 @@ function xc(t, e, n) {
|
|
|
2903
2903
|
Yr = void 0;
|
|
2904
2904
|
var i = t[0];
|
|
2905
2905
|
if (i == null || i.raw === void 0)
|
|
2906
|
-
r = !1, o +=
|
|
2906
|
+
r = !1, o += Gl(n, e, i);
|
|
2907
2907
|
else {
|
|
2908
2908
|
var a = i;
|
|
2909
2909
|
o += a[0];
|
|
2910
2910
|
}
|
|
2911
2911
|
for (var l = 1; l < t.length; l++)
|
|
2912
|
-
if (o +=
|
|
2912
|
+
if (o += Gl(n, e, t[l]), r) {
|
|
2913
2913
|
var u = i;
|
|
2914
2914
|
o += u[l];
|
|
2915
2915
|
}
|
|
@@ -3698,7 +3698,7 @@ function yE(t) {
|
|
|
3698
3698
|
}
|
|
3699
3699
|
s(yE, "lowercaseFirstLetter");
|
|
3700
3700
|
const bE = gE();
|
|
3701
|
-
function
|
|
3701
|
+
function Kl(t, e, n = !1) {
|
|
3702
3702
|
const r = {
|
|
3703
3703
|
...e
|
|
3704
3704
|
};
|
|
@@ -3723,7 +3723,7 @@ function Gl(t, e, n = !1) {
|
|
|
3723
3723
|
for (const u in a)
|
|
3724
3724
|
if (Object.prototype.hasOwnProperty.call(a, u)) {
|
|
3725
3725
|
const d = u;
|
|
3726
|
-
r[i][d] =
|
|
3726
|
+
r[i][d] = Kl(a[d], l[d], n);
|
|
3727
3727
|
}
|
|
3728
3728
|
}
|
|
3729
3729
|
} else i === "className" && n && e.className ? r.className = ae(t?.className, e?.className) : i === "style" && n && e.style ? r.style = {
|
|
@@ -3733,14 +3733,14 @@ function Gl(t, e, n = !1) {
|
|
|
3733
3733
|
}
|
|
3734
3734
|
return r;
|
|
3735
3735
|
}
|
|
3736
|
-
s(
|
|
3736
|
+
s(Kl, "resolveProps");
|
|
3737
3737
|
function vE(t) {
|
|
3738
3738
|
const {
|
|
3739
3739
|
theme: e,
|
|
3740
3740
|
name: n,
|
|
3741
3741
|
props: r
|
|
3742
3742
|
} = t;
|
|
3743
|
-
return !e || !e.components || !e.components[n] || !e.components[n].defaultProps ? r :
|
|
3743
|
+
return !e || !e.components || !e.components[n] || !e.components[n].defaultProps ? r : Kl(e.components[n].defaultProps, r);
|
|
3744
3744
|
}
|
|
3745
3745
|
s(vE, "getThemeProps$1");
|
|
3746
3746
|
function Zp({
|
|
@@ -3870,7 +3870,7 @@ s(si, "decomposeColor");
|
|
|
3870
3870
|
const zN = /* @__PURE__ */ s((t) => {
|
|
3871
3871
|
const e = si(t);
|
|
3872
3872
|
return e.values.slice(0, 3).map((n, r) => e.type.includes("hsl") && r !== 0 ? `${n}%` : n).join(" ");
|
|
3873
|
-
}, "colorChannel"),
|
|
3873
|
+
}, "colorChannel"), al = /* @__PURE__ */ s((t, e) => {
|
|
3874
3874
|
try {
|
|
3875
3875
|
return zN(t);
|
|
3876
3876
|
} catch {
|
|
@@ -3912,13 +3912,13 @@ function L1(t, e) {
|
|
|
3912
3912
|
return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
|
|
3913
3913
|
}
|
|
3914
3914
|
s(L1, "getContrastRatio");
|
|
3915
|
-
function
|
|
3915
|
+
function fa(t, e) {
|
|
3916
3916
|
return t = si(t), e = gb(e), (t.type === "rgb" || t.type === "hsl") && (t.type += "a"), t.type === "color" ? t.values[3] = `/${e}` : t.values[3] = e, ef(t);
|
|
3917
3917
|
}
|
|
3918
|
-
s(
|
|
3918
|
+
s(fa, "alpha$1");
|
|
3919
3919
|
function Oi(t, e, n) {
|
|
3920
3920
|
try {
|
|
3921
|
-
return
|
|
3921
|
+
return fa(t, e);
|
|
3922
3922
|
} catch {
|
|
3923
3923
|
return n && process.env.NODE_ENV !== "production" && console.warn(n), t;
|
|
3924
3924
|
}
|
|
@@ -4049,7 +4049,7 @@ process.env.NODE_ENV !== "production" && (wE.propTypes = {
|
|
|
4049
4049
|
children: c.node,
|
|
4050
4050
|
value: c.bool
|
|
4051
4051
|
});
|
|
4052
|
-
const
|
|
4052
|
+
const Da = /* @__PURE__ */ s(() => S.useContext(CE) ?? !1, "useRtl"), TE = /* @__PURE__ */ S.createContext(void 0);
|
|
4053
4053
|
function EE({
|
|
4054
4054
|
value: t,
|
|
4055
4055
|
children: e
|
|
@@ -4083,7 +4083,7 @@ function UN(t) {
|
|
|
4083
4083
|
if (!e || !e.components || !e.components[n])
|
|
4084
4084
|
return r;
|
|
4085
4085
|
const o = e.components[n];
|
|
4086
|
-
return o.defaultProps ?
|
|
4086
|
+
return o.defaultProps ? Kl(o.defaultProps, r, e.components.mergeClassNameAndStyle) : !o.styleOverrides && !o.variants ? Kl(o, r, e.components.mergeClassNameAndStyle) : r;
|
|
4087
4087
|
}
|
|
4088
4088
|
s(UN, "getThemeProps");
|
|
4089
4089
|
function GN({
|
|
@@ -4162,7 +4162,7 @@ function z1(t, e, n, r = !1) {
|
|
|
4162
4162
|
}, [t, e, n, r]);
|
|
4163
4163
|
}
|
|
4164
4164
|
s(z1, "useThemeScoping");
|
|
4165
|
-
function
|
|
4165
|
+
function Yl(t) {
|
|
4166
4166
|
const {
|
|
4167
4167
|
children: e,
|
|
4168
4168
|
theme: n,
|
|
@@ -4185,8 +4185,8 @@ function Kl(t) {
|
|
|
4185
4185
|
})
|
|
4186
4186
|
});
|
|
4187
4187
|
}
|
|
4188
|
-
s(
|
|
4189
|
-
process.env.NODE_ENV !== "production" && (
|
|
4188
|
+
s(Yl, "ThemeProvider$1");
|
|
4189
|
+
process.env.NODE_ENV !== "production" && (Yl.propTypes = {
|
|
4190
4190
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
4191
4191
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
4192
4192
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -4204,7 +4204,7 @@ process.env.NODE_ENV !== "production" && (Kl.propTypes = {
|
|
|
4204
4204
|
*/
|
|
4205
4205
|
themeId: c.string
|
|
4206
4206
|
});
|
|
4207
|
-
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (
|
|
4207
|
+
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (Yl.propTypes = Oc(Yl.propTypes));
|
|
4208
4208
|
const V1 = {
|
|
4209
4209
|
theme: void 0
|
|
4210
4210
|
};
|
|
@@ -4580,7 +4580,7 @@ function iD(t) {
|
|
|
4580
4580
|
let qe = !0;
|
|
4581
4581
|
(O || U.cssVariables === !1 || z && V?.cssVarPrefix === Y) && (qe = !1);
|
|
4582
4582
|
const Lt = /* @__PURE__ */ H(S.Fragment, {
|
|
4583
|
-
children: [/* @__PURE__ */ b(
|
|
4583
|
+
children: [/* @__PURE__ */ b(Yl, {
|
|
4584
4584
|
themeId: F ? e : void 0,
|
|
4585
4585
|
theme: Be,
|
|
4586
4586
|
children: T
|
|
@@ -4855,7 +4855,7 @@ function na(t, e) {
|
|
|
4855
4855
|
) !== -1;
|
|
4856
4856
|
}
|
|
4857
4857
|
s(na, "isMuiElement");
|
|
4858
|
-
const dD = /* @__PURE__ */ s((t, e) => t.filter((n) => e.includes(n)), "filterBreakpointKeys"),
|
|
4858
|
+
const dD = /* @__PURE__ */ s((t, e) => t.filter((n) => e.includes(n)), "filterBreakpointKeys"), $a = /* @__PURE__ */ s((t, e, n) => {
|
|
4859
4859
|
const r = t.keys[0];
|
|
4860
4860
|
Array.isArray(e) ? e.forEach((o, i) => {
|
|
4861
4861
|
n((a, l) => {
|
|
@@ -4885,7 +4885,7 @@ const H1 = "--Grid-columns", ra = "--Grid-parent-columns", pD = /* @__PURE__ */
|
|
|
4885
4885
|
ownerState: e
|
|
4886
4886
|
}) => {
|
|
4887
4887
|
const n = {};
|
|
4888
|
-
return
|
|
4888
|
+
return $a(t.breakpoints, e.size, (r, o) => {
|
|
4889
4889
|
let i = {};
|
|
4890
4890
|
o === "grow" && (i = {
|
|
4891
4891
|
flexBasis: 0,
|
|
@@ -4908,7 +4908,7 @@ const H1 = "--Grid-columns", ra = "--Grid-parent-columns", pD = /* @__PURE__ */
|
|
|
4908
4908
|
ownerState: e
|
|
4909
4909
|
}) => {
|
|
4910
4910
|
const n = {};
|
|
4911
|
-
return
|
|
4911
|
+
return $a(t.breakpoints, e.offset, (r, o) => {
|
|
4912
4912
|
let i = {};
|
|
4913
4913
|
o === "auto" && (i = {
|
|
4914
4914
|
marginLeft: "auto"
|
|
@@ -4925,7 +4925,7 @@ const H1 = "--Grid-columns", ra = "--Grid-parent-columns", pD = /* @__PURE__ */
|
|
|
4925
4925
|
const n = {
|
|
4926
4926
|
[H1]: 12
|
|
4927
4927
|
};
|
|
4928
|
-
return
|
|
4928
|
+
return $a(t.breakpoints, e.columns, (r, o) => {
|
|
4929
4929
|
const i = o ?? 12;
|
|
4930
4930
|
r(n, {
|
|
4931
4931
|
[H1]: i,
|
|
@@ -4941,7 +4941,7 @@ const H1 = "--Grid-columns", ra = "--Grid-parent-columns", pD = /* @__PURE__ */
|
|
|
4941
4941
|
if (!e.container)
|
|
4942
4942
|
return {};
|
|
4943
4943
|
const n = {};
|
|
4944
|
-
return
|
|
4944
|
+
return $a(t.breakpoints, e.rowSpacing, (r, o) => {
|
|
4945
4945
|
const i = typeof o == "string" ? o : t.spacing?.(o);
|
|
4946
4946
|
r(n, {
|
|
4947
4947
|
[Zu("row")]: i,
|
|
@@ -4957,7 +4957,7 @@ const H1 = "--Grid-columns", ra = "--Grid-parent-columns", pD = /* @__PURE__ */
|
|
|
4957
4957
|
if (!e.container)
|
|
4958
4958
|
return {};
|
|
4959
4959
|
const n = {};
|
|
4960
|
-
return
|
|
4960
|
+
return $a(t.breakpoints, e.columnSpacing, (r, o) => {
|
|
4961
4961
|
const i = typeof o == "string" ? o : t.spacing?.(o);
|
|
4962
4962
|
r(n, {
|
|
4963
4963
|
[Zu("column")]: i,
|
|
@@ -4973,7 +4973,7 @@ const H1 = "--Grid-columns", ra = "--Grid-parent-columns", pD = /* @__PURE__ */
|
|
|
4973
4973
|
if (!e.container)
|
|
4974
4974
|
return {};
|
|
4975
4975
|
const n = {};
|
|
4976
|
-
return
|
|
4976
|
+
return $a(t.breakpoints, e.direction, (r, o) => {
|
|
4977
4977
|
r(n, {
|
|
4978
4978
|
flexDirection: o
|
|
4979
4979
|
});
|
|
@@ -5231,7 +5231,7 @@ function DD(t = {}) {
|
|
|
5231
5231
|
}), a;
|
|
5232
5232
|
}
|
|
5233
5233
|
s(DD, "createStack");
|
|
5234
|
-
const
|
|
5234
|
+
const Jl = {
|
|
5235
5235
|
black: "#000",
|
|
5236
5236
|
white: "#fff"
|
|
5237
5237
|
}, xb = {
|
|
@@ -5347,8 +5347,8 @@ function kE() {
|
|
|
5347
5347
|
// The background colors used to style the surfaces.
|
|
5348
5348
|
// Consistency between these values is important.
|
|
5349
5349
|
background: {
|
|
5350
|
-
paper:
|
|
5351
|
-
default:
|
|
5350
|
+
paper: Jl.white,
|
|
5351
|
+
default: Jl.white
|
|
5352
5352
|
},
|
|
5353
5353
|
// The colors used to style the action elements.
|
|
5354
5354
|
action: {
|
|
@@ -5376,7 +5376,7 @@ const ME = kE();
|
|
|
5376
5376
|
function RE() {
|
|
5377
5377
|
return {
|
|
5378
5378
|
text: {
|
|
5379
|
-
primary:
|
|
5379
|
+
primary: Jl.white,
|
|
5380
5380
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
5381
5381
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
5382
5382
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -5387,7 +5387,7 @@ function RE() {
|
|
|
5387
5387
|
default: "#121212"
|
|
5388
5388
|
},
|
|
5389
5389
|
action: {
|
|
5390
|
-
active:
|
|
5390
|
+
active: Jl.white,
|
|
5391
5391
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
5392
5392
|
hoverOpacity: 0.08,
|
|
5393
5393
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -5543,7 +5543,7 @@ const theme2 = createTheme({ palette: {
|
|
|
5543
5543
|
return e === "light" ? y = kE() : e === "dark" && (y = RE()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${e}\` is not supported.`)), Jt({
|
|
5544
5544
|
// A collection of common colors.
|
|
5545
5545
|
common: {
|
|
5546
|
-
...
|
|
5546
|
+
...Jl
|
|
5547
5547
|
},
|
|
5548
5548
|
// prevent mutable object.
|
|
5549
5549
|
// The palette mode, can be light or dark.
|
|
@@ -5827,7 +5827,7 @@ function n$(t) {
|
|
|
5827
5827
|
Object.assign(t, {
|
|
5828
5828
|
alpha(e, n) {
|
|
5829
5829
|
const r = this || t;
|
|
5830
|
-
return r.colorSpace ? `oklch(from ${e} l c h / ${typeof n == "string" ? `calc(${n})` : n})` : r.vars ? `rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof n == "string" ? `calc(${n})` : n})` :
|
|
5830
|
+
return r.colorSpace ? `oklch(from ${e} l c h / ${typeof n == "string" ? `calc(${n})` : n})` : r.vars ? `rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof n == "string" ? `calc(${n})` : n})` : fa(e, t$(n));
|
|
5831
5831
|
},
|
|
5832
5832
|
lighten(e, n) {
|
|
5833
5833
|
const r = this || t;
|
|
@@ -6007,12 +6007,12 @@ function K(t, e, n) {
|
|
|
6007
6007
|
!t[e] && n && (t[e] = n);
|
|
6008
6008
|
}
|
|
6009
6009
|
s(K, "setColor");
|
|
6010
|
-
function
|
|
6010
|
+
function ll(t) {
|
|
6011
6011
|
return typeof t != "string" || !t.startsWith("hsl") ? t : xE(t);
|
|
6012
6012
|
}
|
|
6013
|
-
s(
|
|
6013
|
+
s(ll, "toRgb");
|
|
6014
6014
|
function ho(t, e) {
|
|
6015
|
-
`${e}Channel` in t || (t[`${e}Channel`] =
|
|
6015
|
+
`${e}Channel` in t || (t[`${e}Channel`] = al(ll(t[e]), `MUI: Can't create \`palette.${e}Channel\` because \`palette.${e}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
6016
6016
|
To suppress this warning, you need to explicitly provide the \`palette.${e}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
6017
6017
|
}
|
|
6018
6018
|
s(ho, "setColorChannel");
|
|
@@ -6131,7 +6131,7 @@ function d$(t = {}, ...e) {
|
|
|
6131
6131
|
}
|
|
6132
6132
|
ho(O.background, "default"), ho(O.background, "paper"), ho(O.common, "background"), ho(O.common, "onBackground"), ho(O, "divider"), Object.keys(O).forEach(($) => {
|
|
6133
6133
|
const L = O[$];
|
|
6134
|
-
$ !== "tonalOffset" && L && typeof L == "object" && (L.main && K(O[$], "mainChannel",
|
|
6134
|
+
$ !== "tonalOffset" && L && typeof L == "object" && (L.main && K(O[$], "mainChannel", al(ll(L.main))), L.light && K(O[$], "lightChannel", al(ll(L.light))), L.dark && K(O[$], "darkChannel", al(ll(L.dark))), L.contrastText && K(O[$], "contrastTextChannel", al(ll(L.contrastText))), $ === "text" && (ho(O[$], "primary"), ho(O[$], "secondary")), $ === "action" && (L.active && ho(O[$], "active"), L.selected && ho(O[$], "selected")));
|
|
6135
6135
|
});
|
|
6136
6136
|
}), k = e.reduce((I, O) => Jt(I, O), k);
|
|
6137
6137
|
const R = {
|
|
@@ -6627,7 +6627,7 @@ function v$(t, e) {
|
|
|
6627
6627
|
return t[0] === "o" && t[1] === "n" && n >= 65 && n <= 90 && typeof e == "function";
|
|
6628
6628
|
}
|
|
6629
6629
|
s(v$, "isEventHandler");
|
|
6630
|
-
function
|
|
6630
|
+
function Xl(t, e) {
|
|
6631
6631
|
if (!t)
|
|
6632
6632
|
return e;
|
|
6633
6633
|
function n(a, l) {
|
|
@@ -6681,7 +6681,7 @@ function Jl(t, e) {
|
|
|
6681
6681
|
}
|
|
6682
6682
|
};
|
|
6683
6683
|
}
|
|
6684
|
-
s(
|
|
6684
|
+
s(Xl, "mergeSlotProps$1");
|
|
6685
6685
|
const LE = de(/* @__PURE__ */ b("path", {
|
|
6686
6686
|
d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"
|
|
6687
6687
|
}), "Lock"), S$ = de(/* @__PURE__ */ b("path", {
|
|
@@ -6756,7 +6756,7 @@ function T$({
|
|
|
6756
6756
|
...e
|
|
6757
6757
|
}) {
|
|
6758
6758
|
const n = kr in t ? t[kr] : void 0;
|
|
6759
|
-
return /* @__PURE__ */ b(
|
|
6759
|
+
return /* @__PURE__ */ b(Yl, {
|
|
6760
6760
|
...e,
|
|
6761
6761
|
themeId: n ? kr : void 0,
|
|
6762
6762
|
theme: n || t
|
|
@@ -6821,7 +6821,7 @@ function BE({
|
|
|
6821
6821
|
s(BE, "ThemeProvider");
|
|
6822
6822
|
const Mc = de(/* @__PURE__ */ b("path", {
|
|
6823
6823
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
6824
|
-
}), "Add"),
|
|
6824
|
+
}), "Add"), bl = de(/* @__PURE__ */ b("path", {
|
|
6825
6825
|
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"
|
|
6826
6826
|
}), "Cancel"), Rc = de(/* @__PURE__ */ b("path", {
|
|
6827
6827
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
@@ -6838,10 +6838,10 @@ function M$(t) {
|
|
|
6838
6838
|
return e.body === t ? pn(t).innerWidth > e.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
|
|
6839
6839
|
}
|
|
6840
6840
|
s(M$, "isOverflowing");
|
|
6841
|
-
function
|
|
6841
|
+
function vl(t, e) {
|
|
6842
6842
|
e ? t.setAttribute("aria-hidden", "true") : t.removeAttribute("aria-hidden");
|
|
6843
6843
|
}
|
|
6844
|
-
s(
|
|
6844
|
+
s(vl, "ariaHidden");
|
|
6845
6845
|
function eS(t) {
|
|
6846
6846
|
return parseFloat(pn(t).getComputedStyle(t).paddingRight) || 0;
|
|
6847
6847
|
}
|
|
@@ -6855,7 +6855,7 @@ function tS(t, e, n, r, o) {
|
|
|
6855
6855
|
const i = [e, n, ...r];
|
|
6856
6856
|
[].forEach.call(t.children, (a) => {
|
|
6857
6857
|
const l = !i.includes(a), u = !R$(a);
|
|
6858
|
-
l && u &&
|
|
6858
|
+
l && u && vl(a, o);
|
|
6859
6859
|
});
|
|
6860
6860
|
}
|
|
6861
6861
|
s(tS, "ariaHiddenSiblings");
|
|
@@ -6930,7 +6930,7 @@ const j0 = class j0 {
|
|
|
6930
6930
|
let r = this.modals.indexOf(e);
|
|
6931
6931
|
if (r !== -1)
|
|
6932
6932
|
return r;
|
|
6933
|
-
r = this.modals.length, this.modals.push(e), e.modalRef &&
|
|
6933
|
+
r = this.modals.length, this.modals.push(e), e.modalRef && vl(e.modalRef, !1);
|
|
6934
6934
|
const o = A$(n);
|
|
6935
6935
|
tS(n, e.mount, e.modalRef, o, !0);
|
|
6936
6936
|
const i = hh(this.containers, (a) => a.container === n);
|
|
@@ -6951,10 +6951,10 @@ const j0 = class j0 {
|
|
|
6951
6951
|
return r;
|
|
6952
6952
|
const o = hh(this.containers, (a) => a.modals.includes(e)), i = this.containers[o];
|
|
6953
6953
|
if (i.modals.splice(i.modals.indexOf(e), 1), this.modals.splice(r, 1), i.modals.length === 0)
|
|
6954
|
-
i.restore && i.restore(), e.modalRef &&
|
|
6954
|
+
i.restore && i.restore(), e.modalRef && vl(e.modalRef, n), tS(i.container, e.mount, e.modalRef, i.hiddenSiblings, !1), this.containers.splice(o, 1);
|
|
6955
6955
|
else {
|
|
6956
6956
|
const a = i.modals[i.modals.length - 1];
|
|
6957
|
-
a.modalRef &&
|
|
6957
|
+
a.modalRef && vl(a.modalRef, !1);
|
|
6958
6958
|
}
|
|
6959
6959
|
return r;
|
|
6960
6960
|
}
|
|
@@ -7188,7 +7188,7 @@ function _$(t) {
|
|
|
7188
7188
|
return typeof t == "function" ? t() : t;
|
|
7189
7189
|
}
|
|
7190
7190
|
s(_$, "getContainer$1");
|
|
7191
|
-
const
|
|
7191
|
+
const Ql = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
7192
7192
|
const {
|
|
7193
7193
|
children: r,
|
|
7194
7194
|
container: o,
|
|
@@ -7212,7 +7212,7 @@ const Xl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
7212
7212
|
}
|
|
7213
7213
|
return a && /* @__PURE__ */ ug.createPortal(r, a);
|
|
7214
7214
|
}, "Portal"));
|
|
7215
|
-
process.env.NODE_ENV !== "production" && (
|
|
7215
|
+
process.env.NODE_ENV !== "production" && (Ql.propTypes = {
|
|
7216
7216
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
7217
7217
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
7218
7218
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -7238,13 +7238,13 @@ process.env.NODE_ENV !== "production" && (Xl.propTypes = {
|
|
|
7238
7238
|
*/
|
|
7239
7239
|
disablePortal: c.bool
|
|
7240
7240
|
});
|
|
7241
|
-
process.env.NODE_ENV !== "production" && (
|
|
7242
|
-
function
|
|
7241
|
+
process.env.NODE_ENV !== "production" && (Ql.propTypes = Oc(Ql.propTypes));
|
|
7242
|
+
function ha(t) {
|
|
7243
7243
|
return typeof t == "string";
|
|
7244
7244
|
}
|
|
7245
|
-
s(
|
|
7245
|
+
s(ha, "isHostComponent");
|
|
7246
7246
|
function VE(t, e, n) {
|
|
7247
|
-
return t === void 0 ||
|
|
7247
|
+
return t === void 0 || ha(t) ? e : {
|
|
7248
7248
|
...e,
|
|
7249
7249
|
ownerState: {
|
|
7250
7250
|
...e.ownerState,
|
|
@@ -7417,19 +7417,19 @@ process.env.NODE_ENV !== "production" && c.oneOfType([c.string, c.shape({
|
|
|
7417
7417
|
const rd = wt.createContext(null);
|
|
7418
7418
|
var V$ = /* @__PURE__ */ s(function(e) {
|
|
7419
7419
|
return e.scrollTop;
|
|
7420
|
-
}, "forceReflow"),
|
|
7420
|
+
}, "forceReflow"), cl = "unmounted", Ni = "exited", Di = "entering", zs = "entered", Tg = "exiting", Dr = /* @__PURE__ */ (function(t) {
|
|
7421
7421
|
UE(e, t);
|
|
7422
7422
|
function e(r, o) {
|
|
7423
7423
|
var i;
|
|
7424
7424
|
i = t.call(this, r, o) || this;
|
|
7425
7425
|
var a = o, l = a && !a.isMounting ? r.enter : r.appear, u;
|
|
7426
|
-
return i.appearStatus = null, r.in ? l ? (u = Ni, i.appearStatus = Di) : u = zs : r.unmountOnExit || r.mountOnEnter ? u =
|
|
7426
|
+
return i.appearStatus = null, r.in ? l ? (u = Ni, i.appearStatus = Di) : u = zs : r.unmountOnExit || r.mountOnEnter ? u = cl : u = Ni, i.state = {
|
|
7427
7427
|
status: u
|
|
7428
7428
|
}, i.nextCallback = null, i;
|
|
7429
7429
|
}
|
|
7430
7430
|
s(e, "Transition"), e.getDerivedStateFromProps = /* @__PURE__ */ s(function(o, i) {
|
|
7431
7431
|
var a = o.in;
|
|
7432
|
-
return a && i.status ===
|
|
7432
|
+
return a && i.status === cl ? {
|
|
7433
7433
|
status: Ni
|
|
7434
7434
|
} : null;
|
|
7435
7435
|
}, "getDerivedStateFromProps");
|
|
@@ -7456,17 +7456,17 @@ var V$ = /* @__PURE__ */ s(function(e) {
|
|
|
7456
7456
|
if (o === void 0 && (o = !1), i !== null)
|
|
7457
7457
|
if (this.cancelNextCallback(), i === Di) {
|
|
7458
7458
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
7459
|
-
var a = this.props.nodeRef ? this.props.nodeRef.current :
|
|
7459
|
+
var a = this.props.nodeRef ? this.props.nodeRef.current : sl.findDOMNode(this);
|
|
7460
7460
|
a && V$(a);
|
|
7461
7461
|
}
|
|
7462
7462
|
this.performEnter(o);
|
|
7463
7463
|
} else
|
|
7464
7464
|
this.performExit();
|
|
7465
7465
|
else this.props.unmountOnExit && this.state.status === Ni && this.setState({
|
|
7466
|
-
status:
|
|
7466
|
+
status: cl
|
|
7467
7467
|
});
|
|
7468
7468
|
}, "updateStatus"), n.performEnter = /* @__PURE__ */ s(function(o) {
|
|
7469
|
-
var i = this, a = this.props.enter, l = this.context ? this.context.isMounting : o, u = this.props.nodeRef ? [l] : [
|
|
7469
|
+
var i = this, a = this.props.enter, l = this.context ? this.context.isMounting : o, u = this.props.nodeRef ? [l] : [sl.findDOMNode(this), l], d = u[0], p = u[1], f = this.getTimeouts(), h = l ? f.appear : f.enter;
|
|
7470
7470
|
if (!o && !a || rS.disabled) {
|
|
7471
7471
|
this.safeSetState({
|
|
7472
7472
|
status: zs
|
|
@@ -7487,7 +7487,7 @@ var V$ = /* @__PURE__ */ s(function(e) {
|
|
|
7487
7487
|
});
|
|
7488
7488
|
});
|
|
7489
7489
|
}, "performEnter"), n.performExit = /* @__PURE__ */ s(function() {
|
|
7490
|
-
var o = this, i = this.props.exit, a = this.getTimeouts(), l = this.props.nodeRef ? void 0 :
|
|
7490
|
+
var o = this, i = this.props.exit, a = this.getTimeouts(), l = this.props.nodeRef ? void 0 : sl.findDOMNode(this);
|
|
7491
7491
|
if (!i || rS.disabled) {
|
|
7492
7492
|
this.safeSetState({
|
|
7493
7493
|
status: Ni
|
|
@@ -7520,7 +7520,7 @@ var V$ = /* @__PURE__ */ s(function(e) {
|
|
|
7520
7520
|
}, this.nextCallback;
|
|
7521
7521
|
}, "setNextCallback"), n.onTransitionEnd = /* @__PURE__ */ s(function(o, i) {
|
|
7522
7522
|
this.setNextCallback(i);
|
|
7523
|
-
var a = this.props.nodeRef ? this.props.nodeRef.current :
|
|
7523
|
+
var a = this.props.nodeRef ? this.props.nodeRef.current : sl.findDOMNode(this), l = o == null && !this.props.addEndListener;
|
|
7524
7524
|
if (!a || l) {
|
|
7525
7525
|
setTimeout(this.nextCallback, 0);
|
|
7526
7526
|
return;
|
|
@@ -7532,7 +7532,7 @@ var V$ = /* @__PURE__ */ s(function(e) {
|
|
|
7532
7532
|
o != null && setTimeout(this.nextCallback, o);
|
|
7533
7533
|
}, "onTransitionEnd"), n.render = /* @__PURE__ */ s(function() {
|
|
7534
7534
|
var o = this.state.status;
|
|
7535
|
-
if (o ===
|
|
7535
|
+
if (o === cl)
|
|
7536
7536
|
return null;
|
|
7537
7537
|
var i = this.props, a = i.children;
|
|
7538
7538
|
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;
|
|
@@ -7732,7 +7732,7 @@ Dr.defaultProps = {
|
|
|
7732
7732
|
onExiting: Ds,
|
|
7733
7733
|
onExited: Ds
|
|
7734
7734
|
};
|
|
7735
|
-
Dr.UNMOUNTED =
|
|
7735
|
+
Dr.UNMOUNTED = cl;
|
|
7736
7736
|
Dr.EXITED = Ni;
|
|
7737
7737
|
Dr.ENTERING = Di;
|
|
7738
7738
|
Dr.ENTERED = zs;
|
|
@@ -7747,7 +7747,7 @@ function Tb(t, e) {
|
|
|
7747
7747
|
var n = /* @__PURE__ */ s(function(i) {
|
|
7748
7748
|
return e && cr(i) ? e(i) : i;
|
|
7749
7749
|
}, "mapper"), r = /* @__PURE__ */ Object.create(null);
|
|
7750
|
-
return t &&
|
|
7750
|
+
return t && Wl.map(t, function(o) {
|
|
7751
7751
|
return o;
|
|
7752
7752
|
}).forEach(function(o) {
|
|
7753
7753
|
r[o.key] = n(o);
|
|
@@ -8318,7 +8318,7 @@ function eL(t) {
|
|
|
8318
8318
|
const $ = Q$(e) || E().body;
|
|
8319
8319
|
su.add(C(), $), m.current && w();
|
|
8320
8320
|
}), R = /* @__PURE__ */ s(() => su.isTopModal(C()), "isTopModal"), D = kn(($) => {
|
|
8321
|
-
h.current = $, $ && (d && R() ? w() : m.current &&
|
|
8321
|
+
h.current = $, $ && (d && R() ? w() : m.current && vl(m.current, T));
|
|
8322
8322
|
}), A = S.useCallback(() => {
|
|
8323
8323
|
su.remove(C(), T);
|
|
8324
8324
|
}, [T]);
|
|
@@ -8529,7 +8529,7 @@ const nL = /* @__PURE__ */ s((t) => {
|
|
|
8529
8529
|
className: ae(i?.className, X?.backdrop),
|
|
8530
8530
|
ownerState: U
|
|
8531
8531
|
});
|
|
8532
|
-
return !w && !A && (!F || _) ? null : /* @__PURE__ */ b(
|
|
8532
|
+
return !w && !A && (!F || _) ? null : /* @__PURE__ */ b(Ql, {
|
|
8533
8533
|
ref: j,
|
|
8534
8534
|
container: p,
|
|
8535
8535
|
disablePortal: x,
|
|
@@ -8836,7 +8836,7 @@ const aL = /* @__PURE__ */ s((t) => {
|
|
|
8836
8836
|
"--Paper-overlay": o.vars.overlays?.[l]
|
|
8837
8837
|
},
|
|
8838
8838
|
...!o.vars && o.palette.mode === "dark" && {
|
|
8839
|
-
"--Paper-overlay": `linear-gradient(${
|
|
8839
|
+
"--Paper-overlay": `linear-gradient(${fa("#fff", Sg(l))}, ${fa("#fff", Sg(l))})`
|
|
8840
8840
|
}
|
|
8841
8841
|
},
|
|
8842
8842
|
...p.style
|
|
@@ -9917,7 +9917,7 @@ process.env.NODE_ENV !== "production" && (Nc.propTypes = {
|
|
|
9917
9917
|
sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object])
|
|
9918
9918
|
});
|
|
9919
9919
|
const YE = Bt(), Dc = /* @__PURE__ */ s(({ children: t }) => {
|
|
9920
|
-
const [e, n] = Te(!1), [r, o] = Te(""), i =
|
|
9920
|
+
const [e, n] = Te(!1), [r, o] = Te(""), i = it(
|
|
9921
9921
|
() => ({
|
|
9922
9922
|
open: e,
|
|
9923
9923
|
mensaje: r,
|
|
@@ -9929,7 +9929,7 @@ const YE = Bt(), Dc = /* @__PURE__ */ s(({ children: t }) => {
|
|
|
9929
9929
|
[e, r, n, o]
|
|
9930
9930
|
);
|
|
9931
9931
|
return /* @__PURE__ */ b(YE.Provider, { value: i, children: t });
|
|
9932
|
-
}, "ProgressProvider"),
|
|
9932
|
+
}, "ProgressProvider"), La = /* @__PURE__ */ s(() => Je(YE), "useFormProgress"), Og = Bt(), $L = /* @__PURE__ */ s((t, e) => {
|
|
9933
9933
|
for (let n = t.length - 1; n >= 0; n -= 1)
|
|
9934
9934
|
if (e(t[n], n))
|
|
9935
9935
|
return n;
|
|
@@ -9949,7 +9949,7 @@ const YE = Bt(), Dc = /* @__PURE__ */ s(({ children: t }) => {
|
|
|
9949
9949
|
}
|
|
9950
9950
|
return null;
|
|
9951
9951
|
}, "getHideMatcher"), BL = /* @__PURE__ */ s(({ children: t, isolate: e = !1 }) => {
|
|
9952
|
-
const n = Je(Og), [r, o] = Te([]), [i, a] = Te(null), l = r.length > 0, u = r[r.length - 1] || {}, d =
|
|
9952
|
+
const n = Je(Og), [r, o] = Te([]), [i, a] = Te(null), l = r.length > 0, u = r[r.length - 1] || {}, d = it(
|
|
9953
9953
|
() => ({
|
|
9954
9954
|
open: l,
|
|
9955
9955
|
props: u,
|
|
@@ -9997,7 +9997,7 @@ const YE = Bt(), Dc = /* @__PURE__ */ s(({ children: t }) => {
|
|
|
9997
9997
|
xe(() => {
|
|
9998
9998
|
!m && f === "pivot" && h("grilla");
|
|
9999
9999
|
}, [m, f]);
|
|
10000
|
-
const v =
|
|
10000
|
+
const v = it(
|
|
10001
10001
|
() => ({
|
|
10002
10002
|
props: {
|
|
10003
10003
|
...d,
|
|
@@ -10900,7 +10900,7 @@ const Mg = /* @__PURE__ */ s((t = "scope") => (cS += 1, `${t}-${cS}`), "createRe
|
|
|
10900
10900
|
},
|
|
10901
10901
|
[o, l]
|
|
10902
10902
|
);
|
|
10903
|
-
const d =
|
|
10903
|
+
const d = it(
|
|
10904
10904
|
() => ({
|
|
10905
10905
|
estado: t.estado,
|
|
10906
10906
|
initialValues: t.initialValues,
|
|
@@ -11304,7 +11304,7 @@ const Mg = /* @__PURE__ */ s((t = "scope") => (cS += 1, `${t}-${cS}`), "createRe
|
|
|
11304
11304
|
...l,
|
|
11305
11305
|
[i]: a
|
|
11306
11306
|
}));
|
|
11307
|
-
}, "setVisibilidad"), o =
|
|
11307
|
+
}, "setVisibilidad"), o = it(
|
|
11308
11308
|
() => ({
|
|
11309
11309
|
hidden: e,
|
|
11310
11310
|
setHidden: r
|
|
@@ -11318,7 +11318,7 @@ const Mg = /* @__PURE__ */ s((t = "scope") => (cS += 1, `${t}-${cS}`), "createRe
|
|
|
11318
11318
|
n.refetchQueries({ queryKey: [e], type: "active" });
|
|
11319
11319
|
}, [n, e]);
|
|
11320
11320
|
}, "useResourceRefresh"), Fc = /* @__PURE__ */ s(() => ({}), "useDefaultHook"), lf = /* @__PURE__ */ s((t) => {
|
|
11321
|
-
const e = To(), n = vr(), r = Ro(), o = Bp(), i =
|
|
11321
|
+
const e = To(), n = vr(), r = Ro(), o = Bp(), i = La(), a = pt(t), l = dO(t), u = u2(a), d = Ao(), p = Io(), f = Ht(), h = tO(), [m] = Db(a), y = Je(yT), g = Xy(), v = `lista_${a.split("_")[1]}`, { getItem: x } = d2(), T = x(`${v}.selectedIds`), E = x(`${v}.selectedDetails`), C = /* @__PURE__ */ s((w) => {
|
|
11322
11322
|
const k = w?.name;
|
|
11323
11323
|
!k || g?.[k] || y?.register?.(w);
|
|
11324
11324
|
}, "registerResource");
|
|
@@ -11344,7 +11344,7 @@ const Mg = /* @__PURE__ */ s((t = "scope") => (cS += 1, `${t}-${cS}`), "createRe
|
|
|
11344
11344
|
registerResource: C
|
|
11345
11345
|
};
|
|
11346
11346
|
}, "useUtilsGrilla"), VY = /* @__PURE__ */ s((t) => {
|
|
11347
|
-
const e = nO(), n = rO(), r = oO(), o = iO(), i = sO(), a = aO(), l =
|
|
11347
|
+
const e = nO(), n = rO(), r = oO(), o = iO(), i = sO(), a = aO(), l = La(), u = vr(), d = Ro(), p = Bp(), f = pt(t), h = Ao(), {
|
|
11348
11348
|
propsContenidos: m,
|
|
11349
11349
|
setPropsContenidos: y,
|
|
11350
11350
|
fichaProps: { etrs: g = {} } = {}
|
|
@@ -11366,18 +11366,18 @@ const Mg = /* @__PURE__ */ s((t = "scope") => (cS += 1, `${t}-${cS}`), "createRe
|
|
|
11366
11366
|
etrs: g,
|
|
11367
11367
|
asisEtr: v
|
|
11368
11368
|
};
|
|
11369
|
-
}, "useUtilsSubmit"),
|
|
11369
|
+
}, "useUtilsSubmit"), Ka = /* @__PURE__ */ new Map(), Lr = /* @__PURE__ */ s((t) => {
|
|
11370
11370
|
const e = pt(t), n = t?.id ?? "new", r = `${e}-${n}`, o = en();
|
|
11371
11371
|
xe(() => {
|
|
11372
|
-
const P =
|
|
11373
|
-
return o && !P.form && (P.form = o), P.count += 1,
|
|
11374
|
-
const $ =
|
|
11375
|
-
$.count--, $.count === 0 &&
|
|
11372
|
+
const P = Ka.get(r) ?? { form: null, count: 0 };
|
|
11373
|
+
return o && !P.form && (P.form = o), P.count += 1, Ka.set(r, P), () => {
|
|
11374
|
+
const $ = Ka.get(r);
|
|
11375
|
+
$.count--, $.count === 0 && Ka.delete(r);
|
|
11376
11376
|
};
|
|
11377
11377
|
}, [r, !!o]);
|
|
11378
|
-
const a = /* @__PURE__ */ s(() => o ||
|
|
11378
|
+
const a = /* @__PURE__ */ s(() => o || Ka.get(r)?.form || null, "getForm"), l = /* @__PURE__ */ s((...P) => a()?.trigger?.(...P), "trigger"), u = /* @__PURE__ */ s((P) => ($, L) => {
|
|
11379
11379
|
P($, L), setTimeout(() => l($), 0);
|
|
11380
|
-
}, "withRevalidate"), d = uO(), p = nO(), f = rO(), h = oO(), m = iO(), y = sO(), g = aO(), v =
|
|
11380
|
+
}, "withRevalidate"), d = uO(), p = nO(), f = rO(), h = oO(), m = iO(), y = sO(), g = aO(), v = La(), x = vr(), T = Ro(), E = Bp(), C = Ao(), w = tO(), k = Je(yT), R = Xy(), {
|
|
11381
11381
|
propsContenidos: D,
|
|
11382
11382
|
setPropsContenidos: A,
|
|
11383
11383
|
fichaProps: { etrs: N = {} } = {}
|
|
@@ -11442,7 +11442,7 @@ const Mg = /* @__PURE__ */ s((t = "scope") => (cS += 1, `${t}-${cS}`), "createRe
|
|
|
11442
11442
|
const { tipo: e, ...n } = t, { propsContenido: r, hidden: o } = fO(n), i = {
|
|
11443
11443
|
...r
|
|
11444
11444
|
};
|
|
11445
|
-
return !o && (e === "N" || e === "D" ? /* @__PURE__ */ b(p2, { ...i }) : e === "F" ? /* @__PURE__ */ b(e1, { ...i }) : e === "Z" ? /* @__PURE__ */ b(e1, { ...i, showTime: !0 }) : /* @__PURE__ */ b(
|
|
11445
|
+
return !o && (e === "N" || e === "D" ? /* @__PURE__ */ b(p2, { ...i }) : e === "F" ? /* @__PURE__ */ b(e1, { ...i }) : e === "Z" ? /* @__PURE__ */ b(e1, { ...i, showTime: !0 }) : /* @__PURE__ */ b(il, { ...i }));
|
|
11446
11446
|
}, "TextField$1"), jY = /* @__PURE__ */ s((t, e, n) => (r) => /* @__PURE__ */ b(
|
|
11447
11447
|
f2,
|
|
11448
11448
|
{
|
|
@@ -11943,7 +11943,7 @@ const SF = ee("div")(({ theme: t }) => ({
|
|
|
11943
11943
|
}), "ToggleOn"), AF = de(/* @__PURE__ */ b("path", {
|
|
11944
11944
|
d: "m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"
|
|
11945
11945
|
}), "StarOutline"), IF = /* @__PURE__ */ s((t) => {
|
|
11946
|
-
const e = Os(), n = Np(), r =
|
|
11946
|
+
const e = Os(), n = Np(), r = da(
|
|
11947
11947
|
e,
|
|
11948
11948
|
BT
|
|
11949
11949
|
), o = S.useMemo(
|
|
@@ -12256,10 +12256,10 @@ function xO(t) {
|
|
|
12256
12256
|
}
|
|
12257
12257
|
s(xO, "usePreviousProps");
|
|
12258
12258
|
const tr = c.oneOfType([c.func, c.object]);
|
|
12259
|
-
var Vn = "top", fr = "bottom", hr = "right", jn = "left", Lb = "auto", _c = [Vn, fr, hr, jn],
|
|
12260
|
-
return t.concat([e + "-" +
|
|
12259
|
+
var Vn = "top", fr = "bottom", hr = "right", jn = "left", Lb = "auto", _c = [Vn, fr, hr, jn], ma = "start", Zl = "end", NF = "clippingParents", CO = "viewport", Ya = "popper", DF = "reference", dS = /* @__PURE__ */ _c.reduce(function(t, e) {
|
|
12260
|
+
return t.concat([e + "-" + ma, e + "-" + Zl]);
|
|
12261
12261
|
}, []), wO = /* @__PURE__ */ [].concat(_c, [Lb]).reduce(function(t, e) {
|
|
12262
|
-
return t.concat([e, e + "-" +
|
|
12262
|
+
return t.concat([e, e + "-" + ma, e + "-" + Zl]);
|
|
12263
12263
|
}, []), $F = "beforeRead", LF = "read", FF = "afterRead", BF = "beforeMain", _F = "main", zF = "afterMain", VF = "beforeWrite", jF = "write", WF = "afterWrite", HF = [$F, LF, FF, BF, _F, zF, VF, jF, WF];
|
|
12264
12264
|
function so(t) {
|
|
12265
12265
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -12340,7 +12340,7 @@ function ro(t) {
|
|
|
12340
12340
|
return t.split("-")[0];
|
|
12341
12341
|
}
|
|
12342
12342
|
s(ro, "getBasePlacement");
|
|
12343
|
-
var ns = Math.max, ad = Math.min,
|
|
12343
|
+
var ns = Math.max, ad = Math.min, ga = Math.round;
|
|
12344
12344
|
function Ag() {
|
|
12345
12345
|
var t = navigator.userAgentData;
|
|
12346
12346
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -12352,10 +12352,10 @@ function TO() {
|
|
|
12352
12352
|
return !/^((?!chrome|android).)*safari/i.test(Ag());
|
|
12353
12353
|
}
|
|
12354
12354
|
s(TO, "isLayoutViewport");
|
|
12355
|
-
function
|
|
12355
|
+
function ya(t, e, n) {
|
|
12356
12356
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
12357
12357
|
var r = t.getBoundingClientRect(), o = 1, i = 1;
|
|
12358
|
-
e && ur(t) && (o = t.offsetWidth > 0 &&
|
|
12358
|
+
e && ur(t) && (o = t.offsetWidth > 0 && ga(r.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && ga(r.height) / t.offsetHeight || 1);
|
|
12359
12359
|
var a = ms(t) ? Qn(t) : window, l = a.visualViewport, u = !TO() && n, d = (r.left + (u && l ? l.offsetLeft : 0)) / o, p = (r.top + (u && l ? l.offsetTop : 0)) / i, f = r.width / o, h = r.height / i;
|
|
12360
12360
|
return {
|
|
12361
12361
|
width: f,
|
|
@@ -12368,9 +12368,9 @@ function ga(t, e, n) {
|
|
|
12368
12368
|
y: p
|
|
12369
12369
|
};
|
|
12370
12370
|
}
|
|
12371
|
-
s(
|
|
12371
|
+
s(ya, "getBoundingClientRect");
|
|
12372
12372
|
function Bb(t) {
|
|
12373
|
-
var e =
|
|
12373
|
+
var e = ya(t), n = t.offsetWidth, r = t.offsetHeight;
|
|
12374
12374
|
return Math.abs(e.width - n) <= 1 && (n = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
|
|
12375
12375
|
x: t.offsetLeft,
|
|
12376
12376
|
y: t.offsetTop,
|
|
@@ -12454,12 +12454,12 @@ function _b(t) {
|
|
|
12454
12454
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
12455
12455
|
}
|
|
12456
12456
|
s(_b, "getMainAxisFromPlacement");
|
|
12457
|
-
function
|
|
12457
|
+
function Sl(t, e, n) {
|
|
12458
12458
|
return ns(t, ad(e, n));
|
|
12459
12459
|
}
|
|
12460
|
-
s(
|
|
12460
|
+
s(Sl, "within");
|
|
12461
12461
|
function JF(t, e, n) {
|
|
12462
|
-
var r =
|
|
12462
|
+
var r = Sl(t, e, n);
|
|
12463
12463
|
return r > n ? n : r;
|
|
12464
12464
|
}
|
|
12465
12465
|
s(JF, "withinMaxClamp");
|
|
@@ -12490,7 +12490,7 @@ var XF = /* @__PURE__ */ s(function(e, n) {
|
|
|
12490
12490
|
function QF(t) {
|
|
12491
12491
|
var e, n = t.state, r = t.name, o = t.options, i = n.elements.arrow, a = n.modifiersData.popperOffsets, l = ro(n.placement), u = _b(l), d = [jn, hr].indexOf(l) >= 0, p = d ? "height" : "width";
|
|
12492
12492
|
if (!(!i || !a)) {
|
|
12493
|
-
var f = XF(o.padding, n), h = Bb(i), m = u === "y" ? Vn : jn, y = u === "y" ? fr : hr, g = n.rects.reference[p] + n.rects.reference[u] - a[u] - n.rects.popper[p], v = a[u] - n.rects.reference[u], x = zc(i), T = x ? u === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, E = g / 2 - v / 2, C = f[m], w = T - h[p] - f[y], k = T / 2 - h[p] / 2 + E, R =
|
|
12493
|
+
var f = XF(o.padding, n), h = Bb(i), m = u === "y" ? Vn : jn, y = u === "y" ? fr : hr, g = n.rects.reference[p] + n.rects.reference[u] - a[u] - n.rects.popper[p], v = a[u] - n.rects.reference[u], x = zc(i), T = x ? u === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, E = g / 2 - v / 2, C = f[m], w = T - h[p] - f[y], k = T / 2 - h[p] / 2 + E, R = Sl(C, k, w), D = u;
|
|
12494
12494
|
n.modifiersData[r] = (e = {}, e[D] = R, e.centerOffset = R - k, e);
|
|
12495
12495
|
}
|
|
12496
12496
|
}
|
|
@@ -12509,10 +12509,10 @@ const eB = {
|
|
|
12509
12509
|
requires: ["popperOffsets"],
|
|
12510
12510
|
requiresIfExists: ["preventOverflow"]
|
|
12511
12511
|
};
|
|
12512
|
-
function
|
|
12512
|
+
function ba(t) {
|
|
12513
12513
|
return t.split("-")[1];
|
|
12514
12514
|
}
|
|
12515
|
-
s(
|
|
12515
|
+
s(ba, "getVariation");
|
|
12516
12516
|
var tB = {
|
|
12517
12517
|
top: "auto",
|
|
12518
12518
|
right: "auto",
|
|
@@ -12522,8 +12522,8 @@ var tB = {
|
|
|
12522
12522
|
function nB(t, e) {
|
|
12523
12523
|
var n = t.x, r = t.y, o = e.devicePixelRatio || 1;
|
|
12524
12524
|
return {
|
|
12525
|
-
x:
|
|
12526
|
-
y:
|
|
12525
|
+
x: ga(n * o) / o || 0,
|
|
12526
|
+
y: ga(r * o) / o || 0
|
|
12527
12527
|
};
|
|
12528
12528
|
}
|
|
12529
12529
|
s(nB, "roundOffsetsByDPR");
|
|
@@ -12539,7 +12539,7 @@ function fS(t) {
|
|
|
12539
12539
|
var x = a.hasOwnProperty("x"), T = a.hasOwnProperty("y"), E = jn, C = Vn, w = window;
|
|
12540
12540
|
if (d) {
|
|
12541
12541
|
var k = zc(n), R = "clientHeight", D = "clientWidth";
|
|
12542
|
-
if (k === Qn(n) && (k = pi(n), Oo(k).position !== "static" && l === "absolute" && (R = "scrollHeight", D = "scrollWidth")), k = k, o === Vn || (o === jn || o === hr) && i ===
|
|
12542
|
+
if (k === Qn(n) && (k = pi(n), Oo(k).position !== "static" && l === "absolute" && (R = "scrollHeight", D = "scrollWidth")), k = k, o === Vn || (o === jn || o === hr) && i === Zl) {
|
|
12543
12543
|
C = fr;
|
|
12544
12544
|
var A = f && k === w && w.visualViewport ? w.visualViewport.height : (
|
|
12545
12545
|
// $FlowFixMe[prop-missing]
|
|
@@ -12547,7 +12547,7 @@ function fS(t) {
|
|
|
12547
12547
|
);
|
|
12548
12548
|
g -= A - r.height, g *= u ? 1 : -1;
|
|
12549
12549
|
}
|
|
12550
|
-
if (o === jn || (o === Vn || o === fr) && i ===
|
|
12550
|
+
if (o === jn || (o === Vn || o === fr) && i === Zl) {
|
|
12551
12551
|
E = hr;
|
|
12552
12552
|
var N = f && k === w && w.visualViewport ? w.visualViewport.width : (
|
|
12553
12553
|
// $FlowFixMe[prop-missing]
|
|
@@ -12575,7 +12575,7 @@ s(fS, "mapToStyles");
|
|
|
12575
12575
|
function rB(t) {
|
|
12576
12576
|
var e = t.state, n = t.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, i = n.adaptive, a = i === void 0 ? !0 : i, l = n.roundOffsets, u = l === void 0 ? !0 : l, d = {
|
|
12577
12577
|
placement: ro(e.placement),
|
|
12578
|
-
variation:
|
|
12578
|
+
variation: ba(e.placement),
|
|
12579
12579
|
popper: e.elements.popper,
|
|
12580
12580
|
popperRect: e.rects.popper,
|
|
12581
12581
|
gpuAcceleration: o,
|
|
@@ -12657,7 +12657,7 @@ function zb(t) {
|
|
|
12657
12657
|
}
|
|
12658
12658
|
s(zb, "getWindowScroll");
|
|
12659
12659
|
function Vb(t) {
|
|
12660
|
-
return
|
|
12660
|
+
return ya(pi(t)).left + zb(t).scrollLeft;
|
|
12661
12661
|
}
|
|
12662
12662
|
s(Vb, "getWindowScrollBarX");
|
|
12663
12663
|
function cB(t, e) {
|
|
@@ -12694,16 +12694,16 @@ function RO(t) {
|
|
|
12694
12694
|
return ["html", "body", "#document"].indexOf(so(t)) >= 0 ? t.ownerDocument.body : ur(t) && jb(t) ? t : RO(df(t));
|
|
12695
12695
|
}
|
|
12696
12696
|
s(RO, "getScrollParent");
|
|
12697
|
-
function
|
|
12697
|
+
function xl(t, e) {
|
|
12698
12698
|
var n;
|
|
12699
12699
|
e === void 0 && (e = []);
|
|
12700
12700
|
var r = RO(t), o = r === ((n = t.ownerDocument) == null ? void 0 : n.body), i = Qn(r), a = o ? [i].concat(i.visualViewport || [], jb(r) ? r : []) : r, l = e.concat(a);
|
|
12701
12701
|
return o ? l : (
|
|
12702
12702
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
12703
|
-
l.concat(
|
|
12703
|
+
l.concat(xl(df(a)))
|
|
12704
12704
|
);
|
|
12705
12705
|
}
|
|
12706
|
-
s(
|
|
12706
|
+
s(xl, "listScrollParents");
|
|
12707
12707
|
function Ig(t) {
|
|
12708
12708
|
return Object.assign({}, t, {
|
|
12709
12709
|
left: t.x,
|
|
@@ -12714,7 +12714,7 @@ function Ig(t) {
|
|
|
12714
12714
|
}
|
|
12715
12715
|
s(Ig, "rectToClientRect");
|
|
12716
12716
|
function dB(t, e) {
|
|
12717
|
-
var n =
|
|
12717
|
+
var n = ya(t, !1, e === "fixed");
|
|
12718
12718
|
return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
12719
12719
|
}
|
|
12720
12720
|
s(dB, "getInnerBoundingClientRect");
|
|
@@ -12723,7 +12723,7 @@ function mS(t, e, n) {
|
|
|
12723
12723
|
}
|
|
12724
12724
|
s(mS, "getClientRectFromMixedType");
|
|
12725
12725
|
function pB(t) {
|
|
12726
|
-
var e =
|
|
12726
|
+
var e = xl(df(t)), n = ["absolute", "fixed"].indexOf(Oo(t).position) >= 0, r = n && ur(t) ? zc(t) : t;
|
|
12727
12727
|
return ms(r) ? e.filter(function(o) {
|
|
12728
12728
|
return ms(o) && EO(o, r) && so(o) !== "body";
|
|
12729
12729
|
}) : [];
|
|
@@ -12738,7 +12738,7 @@ function fB(t, e, n, r) {
|
|
|
12738
12738
|
}
|
|
12739
12739
|
s(fB, "getClippingRect");
|
|
12740
12740
|
function PO(t) {
|
|
12741
|
-
var e = t.reference, n = t.element, r = t.placement, o = r ? ro(r) : null, i = r ?
|
|
12741
|
+
var e = t.reference, n = t.element, r = t.placement, o = r ? ro(r) : null, i = r ? ba(r) : null, a = e.x + e.width / 2 - n.width / 2, l = e.y + e.height / 2 - n.height / 2, u;
|
|
12742
12742
|
switch (o) {
|
|
12743
12743
|
case Vn:
|
|
12744
12744
|
u = {
|
|
@@ -12774,10 +12774,10 @@ function PO(t) {
|
|
|
12774
12774
|
if (d != null) {
|
|
12775
12775
|
var p = d === "y" ? "height" : "width";
|
|
12776
12776
|
switch (i) {
|
|
12777
|
-
case
|
|
12777
|
+
case ma:
|
|
12778
12778
|
u[d] = u[d] - (e[p] / 2 - n[p] / 2);
|
|
12779
12779
|
break;
|
|
12780
|
-
case
|
|
12780
|
+
case Zl:
|
|
12781
12781
|
u[d] = u[d] + (e[p] / 2 - n[p] / 2);
|
|
12782
12782
|
break;
|
|
12783
12783
|
}
|
|
@@ -12785,19 +12785,19 @@ function PO(t) {
|
|
|
12785
12785
|
return u;
|
|
12786
12786
|
}
|
|
12787
12787
|
s(PO, "computeOffsets");
|
|
12788
|
-
function
|
|
12788
|
+
function ec(t, e) {
|
|
12789
12789
|
e === void 0 && (e = {});
|
|
12790
|
-
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, a = i === void 0 ? t.strategy : i, l = n.boundary, u = l === void 0 ? NF : l, d = n.rootBoundary, p = d === void 0 ? CO : d, f = n.elementContext, h = f === void 0 ?
|
|
12790
|
+
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, a = i === void 0 ? t.strategy : i, l = n.boundary, u = l === void 0 ? NF : l, d = n.rootBoundary, p = d === void 0 ? CO : d, f = n.elementContext, h = f === void 0 ? Ya : f, m = n.altBoundary, y = m === void 0 ? !1 : m, g = n.padding, v = g === void 0 ? 0 : g, x = kO(typeof v != "number" ? v : MO(v, _c)), T = h === Ya ? DF : Ya, E = t.rects.popper, C = t.elements[y ? T : h], w = fB(ms(C) ? C : C.contextElement || pi(t.elements.popper), u, p, a), k = ya(t.elements.reference), R = PO({
|
|
12791
12791
|
reference: k,
|
|
12792
12792
|
element: E,
|
|
12793
12793
|
placement: o
|
|
12794
|
-
}), D = Ig(Object.assign({}, E, R)), A = h ===
|
|
12794
|
+
}), D = Ig(Object.assign({}, E, R)), A = h === Ya ? D : k, N = {
|
|
12795
12795
|
top: w.top - A.top + x.top,
|
|
12796
12796
|
bottom: A.bottom - w.bottom + x.bottom,
|
|
12797
12797
|
left: w.left - A.left + x.left,
|
|
12798
12798
|
right: A.right - w.right + x.right
|
|
12799
12799
|
}, I = t.modifiersData.offset;
|
|
12800
|
-
if (h ===
|
|
12800
|
+
if (h === Ya && I) {
|
|
12801
12801
|
var O = I[o];
|
|
12802
12802
|
Object.keys(N).forEach(function(M) {
|
|
12803
12803
|
var P = [hr, fr].indexOf(M) >= 0 ? 1 : -1, $ = [Vn, fr].indexOf(M) >= 0 ? "y" : "x";
|
|
@@ -12806,17 +12806,17 @@ function Zl(t, e) {
|
|
|
12806
12806
|
}
|
|
12807
12807
|
return N;
|
|
12808
12808
|
}
|
|
12809
|
-
s(
|
|
12809
|
+
s(ec, "detectOverflow");
|
|
12810
12810
|
function hB(t, e) {
|
|
12811
12811
|
e === void 0 && (e = {});
|
|
12812
|
-
var n = e, r = n.placement, o = n.boundary, i = n.rootBoundary, a = n.padding, l = n.flipVariations, u = n.allowedAutoPlacements, d = u === void 0 ? wO : u, p =
|
|
12813
|
-
return
|
|
12812
|
+
var n = e, r = n.placement, o = n.boundary, i = n.rootBoundary, a = n.padding, l = n.flipVariations, u = n.allowedAutoPlacements, d = u === void 0 ? wO : u, p = ba(r), f = p ? l ? dS : dS.filter(function(y) {
|
|
12813
|
+
return ba(y) === p;
|
|
12814
12814
|
}) : _c, h = f.filter(function(y) {
|
|
12815
12815
|
return d.indexOf(y) >= 0;
|
|
12816
12816
|
});
|
|
12817
12817
|
h.length === 0 && (h = f);
|
|
12818
12818
|
var m = h.reduce(function(y, g) {
|
|
12819
|
-
return y[g] =
|
|
12819
|
+
return y[g] = ec(t, {
|
|
12820
12820
|
placement: g,
|
|
12821
12821
|
boundary: o,
|
|
12822
12822
|
rootBoundary: i,
|
|
@@ -12848,7 +12848,7 @@ function gB(t) {
|
|
|
12848
12848
|
allowedAutoPlacements: g
|
|
12849
12849
|
}) : Y);
|
|
12850
12850
|
}, []), w = e.rects.reference, k = e.rects.popper, R = /* @__PURE__ */ new Map(), D = !0, A = C[0], N = 0; N < C.length; N++) {
|
|
12851
|
-
var I = C[N], O = ro(I), M =
|
|
12851
|
+
var I = C[N], O = ro(I), M = ba(I) === ma, P = [Vn, fr].indexOf(O) >= 0, $ = P ? "width" : "height", L = ec(e, {
|
|
12852
12852
|
placement: I,
|
|
12853
12853
|
boundary: p,
|
|
12854
12854
|
rootBoundary: f,
|
|
@@ -12913,9 +12913,9 @@ function yS(t) {
|
|
|
12913
12913
|
}
|
|
12914
12914
|
s(yS, "isAnySideFullyClipped");
|
|
12915
12915
|
function bB(t) {
|
|
12916
|
-
var e = t.state, n = t.name, r = e.rects.reference, o = e.rects.popper, i = e.modifiersData.preventOverflow, a =
|
|
12916
|
+
var e = t.state, n = t.name, r = e.rects.reference, o = e.rects.popper, i = e.modifiersData.preventOverflow, a = ec(e, {
|
|
12917
12917
|
elementContext: "reference"
|
|
12918
|
-
}), l =
|
|
12918
|
+
}), l = ec(e, {
|
|
12919
12919
|
altBoundary: !0
|
|
12920
12920
|
}), u = gS(a, r), d = gS(l, o, i), p = yS(u), f = yS(d);
|
|
12921
12921
|
e.modifiersData[n] = {
|
|
@@ -12984,12 +12984,12 @@ function EB(t) {
|
|
|
12984
12984
|
}
|
|
12985
12985
|
s(EB, "getAltAxis");
|
|
12986
12986
|
function OB(t) {
|
|
12987
|
-
var e = t.state, n = t.options, r = t.name, o = n.mainAxis, i = o === void 0 ? !0 : o, a = n.altAxis, l = a === void 0 ? !1 : a, u = n.boundary, d = n.rootBoundary, p = n.altBoundary, f = n.padding, h = n.tether, m = h === void 0 ? !0 : h, y = n.tetherOffset, g = y === void 0 ? 0 : y, v =
|
|
12987
|
+
var e = t.state, n = t.options, r = t.name, o = n.mainAxis, i = o === void 0 ? !0 : o, a = n.altAxis, l = a === void 0 ? !1 : a, u = n.boundary, d = n.rootBoundary, p = n.altBoundary, f = n.padding, h = n.tether, m = h === void 0 ? !0 : h, y = n.tetherOffset, g = y === void 0 ? 0 : y, v = ec(e, {
|
|
12988
12988
|
boundary: u,
|
|
12989
12989
|
rootBoundary: d,
|
|
12990
12990
|
padding: f,
|
|
12991
12991
|
altBoundary: p
|
|
12992
|
-
}), x = ro(e.placement), T =
|
|
12992
|
+
}), x = ro(e.placement), T = ba(e.placement), E = !T, C = _b(x), w = EB(C), k = e.modifiersData.popperOffsets, R = e.rects.reference, D = e.rects.popper, A = typeof g == "function" ? g(Object.assign({}, e.rects, {
|
|
12993
12993
|
placement: e.placement
|
|
12994
12994
|
})) : g, N = typeof A == "number" ? {
|
|
12995
12995
|
mainAxis: A,
|
|
@@ -13003,14 +13003,14 @@ function OB(t) {
|
|
|
13003
13003
|
};
|
|
13004
13004
|
if (k) {
|
|
13005
13005
|
if (i) {
|
|
13006
|
-
var M, P = C === "y" ? Vn : jn, $ = C === "y" ? fr : hr, L = C === "y" ? "height" : "width", V = k[C], j = V + v[P], z = V - v[$], _ = m ? -D[L] / 2 : 0, F = T ===
|
|
13006
|
+
var M, P = C === "y" ? Vn : jn, $ = C === "y" ? fr : hr, L = C === "y" ? "height" : "width", V = k[C], j = V + v[P], z = V - v[$], _ = m ? -D[L] / 2 : 0, F = T === ma ? R[L] : D[L], U = T === ma ? -D[L] : -R[L], X = e.elements.arrow, W = m && X ? Bb(X) : {
|
|
13007
13007
|
width: 0,
|
|
13008
13008
|
height: 0
|
|
13009
|
-
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : OO(), te = Y[P], G = Y[$], ie =
|
|
13009
|
+
}, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : OO(), te = Y[P], G = Y[$], ie = Sl(0, R[L], W[L]), ne = E ? R[L] / 2 - _ - ie - te - N.mainAxis : F - ie - te - N.mainAxis, Q = E ? -R[L] / 2 + _ + ie + G + N.mainAxis : U + ie + G + N.mainAxis, oe = e.elements.arrow && zc(e.elements.arrow), B = oe ? C === "y" ? oe.clientTop || 0 : oe.clientLeft || 0 : 0, se = (M = I?.[C]) != null ? M : 0, J = V + ne - se - B, fe = V + Q - se, me = Sl(m ? ad(j, J) : j, V, m ? ns(z, fe) : z);
|
|
13010
13010
|
k[C] = me, O[C] = me - V;
|
|
13011
13011
|
}
|
|
13012
13012
|
if (l) {
|
|
13013
|
-
var ge, ke = C === "x" ? Vn : jn, Me = C === "x" ? fr : hr, _e = k[w], Be = w === "y" ? "height" : "width", Z = _e + v[ke], be = _e - v[Me], qe = [Vn, jn].indexOf(x) !== -1, Lt = (ge = I?.[w]) != null ? ge : 0, Ue = qe ? Z : _e - R[Be] - D[Be] - Lt + N.altAxis, Se = qe ? _e + R[Be] + D[Be] - Lt - N.altAxis : be, et = m && qe ? JF(Ue, _e, Se) :
|
|
13013
|
+
var ge, ke = C === "x" ? Vn : jn, Me = C === "x" ? fr : hr, _e = k[w], Be = w === "y" ? "height" : "width", Z = _e + v[ke], be = _e - v[Me], qe = [Vn, jn].indexOf(x) !== -1, Lt = (ge = I?.[w]) != null ? ge : 0, Ue = qe ? Z : _e - R[Be] - D[Be] - Lt + N.altAxis, Se = qe ? _e + R[Be] + D[Be] - Lt - N.altAxis : be, et = m && qe ? JF(Ue, _e, Se) : Sl(m ? Ue : Z, _e, m ? Se : be);
|
|
13014
13014
|
k[w] = et, O[w] = et - _e;
|
|
13015
13015
|
}
|
|
13016
13016
|
e.modifiersData[r] = O;
|
|
@@ -13036,13 +13036,13 @@ function RB(t) {
|
|
|
13036
13036
|
}
|
|
13037
13037
|
s(RB, "getNodeScroll");
|
|
13038
13038
|
function PB(t) {
|
|
13039
|
-
var e = t.getBoundingClientRect(), n =
|
|
13039
|
+
var e = t.getBoundingClientRect(), n = ga(e.width) / t.offsetWidth || 1, r = ga(e.height) / t.offsetHeight || 1;
|
|
13040
13040
|
return n !== 1 || r !== 1;
|
|
13041
13041
|
}
|
|
13042
13042
|
s(PB, "isElementScaled");
|
|
13043
13043
|
function AB(t, e, n) {
|
|
13044
13044
|
n === void 0 && (n = !1);
|
|
13045
|
-
var r = ur(e), o = ur(e) && PB(e), i = pi(e), a =
|
|
13045
|
+
var r = ur(e), o = ur(e) && PB(e), i = pi(e), a = ya(t, o, n), l = {
|
|
13046
13046
|
scrollLeft: 0,
|
|
13047
13047
|
scrollTop: 0
|
|
13048
13048
|
}, u = {
|
|
@@ -13050,7 +13050,7 @@ function AB(t, e, n) {
|
|
|
13050
13050
|
y: 0
|
|
13051
13051
|
};
|
|
13052
13052
|
return (r || !r && !n) && ((so(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
13053
|
-
jb(i)) && (l = RB(e)), ur(e) ? (u =
|
|
13053
|
+
jb(i)) && (l = RB(e)), ur(e) ? (u = ya(e, !0), u.x += e.clientLeft, u.y += e.clientTop) : i && (u.x = Vb(i))), {
|
|
13054
13054
|
x: a.left + l.scrollLeft - u.x,
|
|
13055
13055
|
y: a.top + l.scrollTop - u.y,
|
|
13056
13056
|
width: a.width,
|
|
@@ -13145,8 +13145,8 @@ function LB(t) {
|
|
|
13145
13145
|
setOptions: /* @__PURE__ */ s(function(x) {
|
|
13146
13146
|
var T = typeof x == "function" ? x(p.options) : x;
|
|
13147
13147
|
g(), p.options = Object.assign({}, i, p.options, T), p.scrollParents = {
|
|
13148
|
-
reference: ms(l) ?
|
|
13149
|
-
popper:
|
|
13148
|
+
reference: ms(l) ? xl(l) : l.contextElement ? xl(l.contextElement) : [],
|
|
13149
|
+
popper: xl(u)
|
|
13150
13150
|
};
|
|
13151
13151
|
var E = NB($B([].concat(r, p.options.modifiers)));
|
|
13152
13152
|
return p.orderedModifiers = E.filter(function(C) {
|
|
@@ -13228,7 +13228,7 @@ s(LB, "popperGenerator");
|
|
|
13228
13228
|
var FB = [sB, TB, oB, GF, CB, yB, kB, eB, vB], BB = /* @__PURE__ */ LB({
|
|
13229
13229
|
defaultModifiers: FB
|
|
13230
13230
|
});
|
|
13231
|
-
function
|
|
13231
|
+
function va(t) {
|
|
13232
13232
|
const {
|
|
13233
13233
|
elementType: e,
|
|
13234
13234
|
externalSlotProps: n,
|
|
@@ -13247,13 +13247,13 @@ function ba(t) {
|
|
|
13247
13247
|
ref: d
|
|
13248
13248
|
}, r);
|
|
13249
13249
|
}
|
|
13250
|
-
s(
|
|
13251
|
-
function
|
|
13250
|
+
s(va, "useSlotProps");
|
|
13251
|
+
function Fa() {
|
|
13252
13252
|
return !(/jsdom|HappyDOM/.test(window.navigator.userAgent) || // TODO(v9): Remove the test environment check
|
|
13253
13253
|
// eslint-disable-next-line mui/consistent-production-guard
|
|
13254
13254
|
process.env.NODE_ENV === "test");
|
|
13255
13255
|
}
|
|
13256
|
-
s(
|
|
13256
|
+
s(Fa, "isLayoutSupported");
|
|
13257
13257
|
function _B(t) {
|
|
13258
13258
|
return Ee("MuiPopper", t);
|
|
13259
13259
|
}
|
|
@@ -13330,7 +13330,7 @@ const jB = /* @__PURE__ */ s((t) => {
|
|
|
13330
13330
|
}, "handlePopperUpdate");
|
|
13331
13331
|
if (process.env.NODE_ENV !== "production" && A && pf(A) && A.nodeType === 1) {
|
|
13332
13332
|
const j = A.getBoundingClientRect();
|
|
13333
|
-
|
|
13333
|
+
Fa() && j.top === 0 && j.left === 0 && j.right === 0 && j.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
13334
13334
|
`));
|
|
13335
13335
|
}
|
|
13336
13336
|
let L = [{
|
|
@@ -13367,7 +13367,7 @@ const jB = /* @__PURE__ */ s((t) => {
|
|
|
13367
13367
|
placement: R
|
|
13368
13368
|
};
|
|
13369
13369
|
y !== null && (I.TransitionProps = y);
|
|
13370
|
-
const O = jB(e), M = m.root ?? "div", P =
|
|
13370
|
+
const O = jB(e), M = m.root ?? "div", P = va({
|
|
13371
13371
|
elementType: M,
|
|
13372
13372
|
externalSlotProps: h.root,
|
|
13373
13373
|
externalForwardedProps: v,
|
|
@@ -13419,7 +13419,7 @@ const jB = /* @__PURE__ */ s((t) => {
|
|
|
13419
13419
|
onEnter: w,
|
|
13420
13420
|
onExited: k
|
|
13421
13421
|
} : void 0;
|
|
13422
|
-
return /* @__PURE__ */ b(
|
|
13422
|
+
return /* @__PURE__ */ b(Ql, {
|
|
13423
13423
|
disablePortal: l,
|
|
13424
13424
|
container: R,
|
|
13425
13425
|
children: /* @__PURE__ */ b(HB, {
|
|
@@ -13465,7 +13465,7 @@ process.env.NODE_ENV !== "production" && (AO.propTypes = {
|
|
|
13465
13465
|
const e = ld(t.anchorEl);
|
|
13466
13466
|
if (e && pf(e) && e.nodeType === 1) {
|
|
13467
13467
|
const n = e.getBoundingClientRect();
|
|
13468
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
13468
|
+
if (process.env.NODE_ENV !== "production" && Fa() && n.top === 0 && n.left === 0 && n.right === 0 && n.bottom === 0)
|
|
13469
13469
|
return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
13470
13470
|
`));
|
|
13471
13471
|
} else if (!e || typeof e.getBoundingClientRect != "function" || VB(e) && e.contextElement != null && e.contextElement.nodeType !== 1)
|
|
@@ -13574,7 +13574,7 @@ const qB = ee(AO, {
|
|
|
13574
13574
|
name: "MuiPopper",
|
|
13575
13575
|
slot: "Root"
|
|
13576
13576
|
})({}), Wb = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
13577
|
-
const r =
|
|
13577
|
+
const r = Da(), o = Ae({
|
|
13578
13578
|
props: e,
|
|
13579
13579
|
name: "MuiPopper"
|
|
13580
13580
|
}), {
|
|
@@ -13769,7 +13769,7 @@ function GB(t, e, n, r, o) {
|
|
|
13769
13769
|
}
|
|
13770
13770
|
s(GB, "elementTypeAcceptingRef");
|
|
13771
13771
|
const gs = Nr(c.elementType, GB);
|
|
13772
|
-
function
|
|
13772
|
+
function Sa(t) {
|
|
13773
13773
|
try {
|
|
13774
13774
|
return t.matches(":focus-visible");
|
|
13775
13775
|
} catch {
|
|
@@ -13778,24 +13778,24 @@ function va(t) {
|
|
|
13778
13778
|
}
|
|
13779
13779
|
return !1;
|
|
13780
13780
|
}
|
|
13781
|
-
s(
|
|
13781
|
+
s(Sa, "isFocusVisible");
|
|
13782
13782
|
const SS = {};
|
|
13783
13783
|
function IO(t, e) {
|
|
13784
13784
|
const n = S.useRef(SS);
|
|
13785
13785
|
return n.current === SS && (n.current = t(e)), n;
|
|
13786
13786
|
}
|
|
13787
13787
|
s(IO, "useLazyRef");
|
|
13788
|
-
const
|
|
13788
|
+
const Il = class Il {
|
|
13789
13789
|
/** React ref to the ripple instance */
|
|
13790
13790
|
/** If the ripple component should be mounted */
|
|
13791
13791
|
/** Promise that resolves when the ripple component is mounted */
|
|
13792
13792
|
/** If the ripple component has been mounted */
|
|
13793
13793
|
/** React state hook setter */
|
|
13794
13794
|
static create() {
|
|
13795
|
-
return new
|
|
13795
|
+
return new Il();
|
|
13796
13796
|
}
|
|
13797
13797
|
static use() {
|
|
13798
|
-
const e = IO(
|
|
13798
|
+
const e = IO(Il.create).current, [n, r] = S.useState(!1);
|
|
13799
13799
|
return e.shouldMount = n, e.setShouldMount = r, S.useEffect(e.mountEffect, [n]), e;
|
|
13800
13800
|
}
|
|
13801
13801
|
constructor() {
|
|
@@ -13820,8 +13820,8 @@ const Al = class Al {
|
|
|
13820
13820
|
this.mount().then(() => this.ref.current?.pulsate(...e));
|
|
13821
13821
|
}
|
|
13822
13822
|
};
|
|
13823
|
-
s(
|
|
13824
|
-
let Ng =
|
|
13823
|
+
s(Il, "LazyRipple");
|
|
13824
|
+
let Ng = Il;
|
|
13825
13825
|
function KB() {
|
|
13826
13826
|
return Ng.use();
|
|
13827
13827
|
}
|
|
@@ -14264,9 +14264,9 @@ const i_ = Pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), s_ = /* @_
|
|
|
14264
14264
|
const W = mo(z, "start", R, f), Y = mo(z, "stop", x, f), te = mo(z, "stop", T, f), G = mo(z, "stop", A, f), ie = mo(z, "stop", (Z) => {
|
|
14265
14265
|
F && Z.preventDefault(), D && D(Z);
|
|
14266
14266
|
}, f), ne = mo(z, "start", O, f), Q = mo(z, "stop", N, f), oe = mo(z, "stop", I, f), B = mo(z, "stop", (Z) => {
|
|
14267
|
-
|
|
14267
|
+
Sa(Z.target) || U(!1), g && g(Z);
|
|
14268
14268
|
}, !1), se = kn((Z) => {
|
|
14269
|
-
j.current || (j.current = Z.currentTarget),
|
|
14269
|
+
j.current || (j.current = Z.currentTarget), Sa(Z.target) && (U(!0), C && C(Z)), E && E(Z);
|
|
14270
14270
|
}), J = /* @__PURE__ */ s(() => {
|
|
14271
14271
|
const Z = j.current;
|
|
14272
14272
|
return u && u !== "button" && !(Z.tagName === "A" && Z.href);
|
|
@@ -14931,14 +14931,14 @@ process.env.NODE_ENV !== "production" && ($O.propTypes = {
|
|
|
14931
14931
|
*/
|
|
14932
14932
|
value: c.oneOfType([c.arrayOf(c.string), c.number, c.string])
|
|
14933
14933
|
});
|
|
14934
|
-
function
|
|
14934
|
+
function Ba({
|
|
14935
14935
|
props: t,
|
|
14936
14936
|
states: e,
|
|
14937
14937
|
muiFormControl: n
|
|
14938
14938
|
}) {
|
|
14939
14939
|
return e.reduce((r, o) => (r[o] = t[o], n && typeof t[o] > "u" && (r[o] = n[o]), r), {});
|
|
14940
14940
|
}
|
|
14941
|
-
s(
|
|
14941
|
+
s(Ba, "formControlState");
|
|
14942
14942
|
const ff = /* @__PURE__ */ S.createContext(void 0);
|
|
14943
14943
|
process.env.NODE_ENV !== "production" && (ff.displayName = "FormControlContext");
|
|
14944
14944
|
function Ps() {
|
|
@@ -14961,7 +14961,7 @@ function m_(t) {
|
|
|
14961
14961
|
return Ee("MuiInputBase", t);
|
|
14962
14962
|
}
|
|
14963
14963
|
s(m_, "getInputBaseUtilityClass");
|
|
14964
|
-
const
|
|
14964
|
+
const xa = Pe("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
|
|
14965
14965
|
var wS;
|
|
14966
14966
|
const hf = /* @__PURE__ */ s((t, e) => {
|
|
14967
14967
|
const {
|
|
@@ -15011,7 +15011,7 @@ const hf = /* @__PURE__ */ s((t, e) => {
|
|
|
15011
15011
|
cursor: "text",
|
|
15012
15012
|
display: "inline-flex",
|
|
15013
15013
|
alignItems: "center",
|
|
15014
|
-
[`&.${
|
|
15014
|
+
[`&.${xa.disabled}`]: {
|
|
15015
15015
|
color: (t.vars || t).palette.text.disabled,
|
|
15016
15016
|
cursor: "default"
|
|
15017
15017
|
},
|
|
@@ -15096,7 +15096,7 @@ const hf = /* @__PURE__ */ s((t, e) => {
|
|
|
15096
15096
|
WebkitAppearance: "none"
|
|
15097
15097
|
},
|
|
15098
15098
|
// Show and hide the placeholder logic
|
|
15099
|
-
[`label[data-shrink=false] + .${
|
|
15099
|
+
[`label[data-shrink=false] + .${xa.formControl} &`]: {
|
|
15100
15100
|
"&::-webkit-input-placeholder": r,
|
|
15101
15101
|
"&::-moz-placeholder": r,
|
|
15102
15102
|
// Firefox 19+
|
|
@@ -15108,7 +15108,7 @@ const hf = /* @__PURE__ */ s((t, e) => {
|
|
|
15108
15108
|
"&:focus::-ms-input-placeholder": o
|
|
15109
15109
|
// Edge
|
|
15110
15110
|
},
|
|
15111
|
-
[`&.${
|
|
15111
|
+
[`&.${xa.disabled}`]: {
|
|
15112
15112
|
opacity: 1,
|
|
15113
15113
|
// Reset iOS opacity
|
|
15114
15114
|
WebkitTextFillColor: (t.vars || t).palette.text.disabled
|
|
@@ -15218,7 +15218,7 @@ const hf = /* @__PURE__ */ s((t, e) => {
|
|
|
15218
15218
|
if (J)
|
|
15219
15219
|
return J.registerEffect();
|
|
15220
15220
|
}, [J]);
|
|
15221
|
-
const fe =
|
|
15221
|
+
const fe = Ba({
|
|
15222
15222
|
props: r,
|
|
15223
15223
|
muiFormControl: J,
|
|
15224
15224
|
states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
|
|
@@ -15301,7 +15301,7 @@ const hf = /* @__PURE__ */ s((t, e) => {
|
|
|
15301
15301
|
ref: n,
|
|
15302
15302
|
onClick: Z,
|
|
15303
15303
|
...te,
|
|
15304
|
-
...!
|
|
15304
|
+
...!ha(et) && {
|
|
15305
15305
|
ownerState: {
|
|
15306
15306
|
...Ue,
|
|
15307
15307
|
...nt.ownerState
|
|
@@ -15329,7 +15329,7 @@ const hf = /* @__PURE__ */ s((t, e) => {
|
|
|
15329
15329
|
onKeyUp: $,
|
|
15330
15330
|
type: W,
|
|
15331
15331
|
...qe,
|
|
15332
|
-
...!
|
|
15332
|
+
...!ha(jt) && {
|
|
15333
15333
|
as: be,
|
|
15334
15334
|
ownerState: {
|
|
15335
15335
|
...Ue,
|
|
@@ -15581,8 +15581,8 @@ function y_(t) {
|
|
|
15581
15581
|
return Ee("MuiInput", t);
|
|
15582
15582
|
}
|
|
15583
15583
|
s(y_, "getInputUtilityClass");
|
|
15584
|
-
const
|
|
15585
|
-
...
|
|
15584
|
+
const Ja = {
|
|
15585
|
+
...xa,
|
|
15586
15586
|
...Pe("MuiInput", ["root", "underline", "input"])
|
|
15587
15587
|
};
|
|
15588
15588
|
function b_(t) {
|
|
@@ -15590,7 +15590,7 @@ function b_(t) {
|
|
|
15590
15590
|
}
|
|
15591
15591
|
s(b_, "getOutlinedInputUtilityClass");
|
|
15592
15592
|
const Fn = {
|
|
15593
|
-
...
|
|
15593
|
+
...xa,
|
|
15594
15594
|
...Pe("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
15595
15595
|
};
|
|
15596
15596
|
function v_(t) {
|
|
@@ -15598,7 +15598,7 @@ function v_(t) {
|
|
|
15598
15598
|
}
|
|
15599
15599
|
s(v_, "getFilledInputUtilityClass");
|
|
15600
15600
|
const ki = {
|
|
15601
|
-
...
|
|
15601
|
+
...xa,
|
|
15602
15602
|
...Pe("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
|
|
15603
15603
|
}, S_ = de(/* @__PURE__ */ b("path", {
|
|
15604
15604
|
d: "M7 10l5 5 5-5z"
|
|
@@ -16407,7 +16407,7 @@ const bh = Pe("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
16407
16407
|
disableRipple: f,
|
|
16408
16408
|
slots: m,
|
|
16409
16409
|
slotProps: {
|
|
16410
|
-
input:
|
|
16410
|
+
input: Xl(typeof C == "function" ? C(T) : C, {
|
|
16411
16411
|
"data-indeterminate": l
|
|
16412
16412
|
})
|
|
16413
16413
|
}
|
|
@@ -17373,7 +17373,7 @@ function BO(t, e) {
|
|
|
17373
17373
|
return n === void 0 && (n = t.textContent), n = n.trim().toLowerCase(), n.length === 0 ? !1 : e.repeating ? n[0] === e.keys[0] : n.startsWith(e.keys.join(""));
|
|
17374
17374
|
}
|
|
17375
17375
|
s(BO, "textCriteriaMatches");
|
|
17376
|
-
function
|
|
17376
|
+
function Xa(t, e, n, r, o, i) {
|
|
17377
17377
|
let a = !1, l = o(t, e, e ? n : !1);
|
|
17378
17378
|
for (; l; ) {
|
|
17379
17379
|
if (l === t.firstChild) {
|
|
@@ -17389,7 +17389,7 @@ function Ja(t, e, n, r, o, i) {
|
|
|
17389
17389
|
}
|
|
17390
17390
|
return !1;
|
|
17391
17391
|
}
|
|
17392
|
-
s(
|
|
17392
|
+
s(Xa, "moveFocus$1");
|
|
17393
17393
|
const _O = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
17394
17394
|
const {
|
|
17395
17395
|
// private
|
|
@@ -17432,18 +17432,18 @@ const _O = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
17432
17432
|
}
|
|
17433
17433
|
const R = qs(Kt(C));
|
|
17434
17434
|
if (w === "ArrowDown")
|
|
17435
|
-
E.preventDefault(),
|
|
17435
|
+
E.preventDefault(), Xa(C, R, d, u, vh);
|
|
17436
17436
|
else if (w === "ArrowUp")
|
|
17437
|
-
E.preventDefault(),
|
|
17437
|
+
E.preventDefault(), Xa(C, R, d, u, AS);
|
|
17438
17438
|
else if (w === "Home")
|
|
17439
|
-
E.preventDefault(),
|
|
17439
|
+
E.preventDefault(), Xa(C, null, d, u, vh);
|
|
17440
17440
|
else if (w === "End")
|
|
17441
|
-
E.preventDefault(),
|
|
17441
|
+
E.preventDefault(), Xa(C, null, d, u, AS);
|
|
17442
17442
|
else if (w.length === 1) {
|
|
17443
17443
|
const D = y.current, A = w.toLowerCase(), N = performance.now();
|
|
17444
17444
|
D.keys.length > 0 && (N - D.lastTime > 500 ? (D.keys = [], D.repeating = !0, D.previousKeyMatched = !0) : D.repeating && A !== D.keys[0] && (D.repeating = !1)), D.lastTime = N, D.keys.push(A);
|
|
17445
17445
|
const I = R && !D.repeating && BO(R, D);
|
|
17446
|
-
D.previousKeyMatched && (I ||
|
|
17446
|
+
D.previousKeyMatched && (I || Xa(C, R, !1, u, vh, D)) ? E.preventDefault() : D.previousKeyMatched = !1;
|
|
17447
17447
|
}
|
|
17448
17448
|
p && p(E);
|
|
17449
17449
|
}, "handleKeyDown"), v = $t(m, n);
|
|
@@ -17522,7 +17522,7 @@ function n4(t) {
|
|
|
17522
17522
|
return Ee("MuiMenuItem", t);
|
|
17523
17523
|
}
|
|
17524
17524
|
s(n4, "getMenuItemUtilityClass");
|
|
17525
|
-
const
|
|
17525
|
+
const Qa = Pe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), r4 = /* @__PURE__ */ s((t, e) => {
|
|
17526
17526
|
const {
|
|
17527
17527
|
ownerState: n
|
|
17528
17528
|
} = t;
|
|
@@ -17569,23 +17569,23 @@ const Xa = Pe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
17569
17569
|
backgroundColor: "transparent"
|
|
17570
17570
|
}
|
|
17571
17571
|
},
|
|
17572
|
-
[`&.${
|
|
17572
|
+
[`&.${Qa.selected}`]: {
|
|
17573
17573
|
backgroundColor: t.alpha((t.vars || t).palette.primary.main, (t.vars || t).palette.action.selectedOpacity),
|
|
17574
|
-
[`&.${
|
|
17574
|
+
[`&.${Qa.focusVisible}`]: {
|
|
17575
17575
|
backgroundColor: t.alpha((t.vars || t).palette.primary.main, `${(t.vars || t).palette.action.selectedOpacity} + ${(t.vars || t).palette.action.focusOpacity}`)
|
|
17576
17576
|
}
|
|
17577
17577
|
},
|
|
17578
|
-
[`&.${
|
|
17578
|
+
[`&.${Qa.selected}:hover`]: {
|
|
17579
17579
|
backgroundColor: t.alpha((t.vars || t).palette.primary.main, `${(t.vars || t).palette.action.selectedOpacity} + ${(t.vars || t).palette.action.hoverOpacity}`),
|
|
17580
17580
|
// Reset on touch devices, it doesn't add specificity
|
|
17581
17581
|
"@media (hover: none)": {
|
|
17582
17582
|
backgroundColor: t.alpha((t.vars || t).palette.primary.main, (t.vars || t).palette.action.selectedOpacity)
|
|
17583
17583
|
}
|
|
17584
17584
|
},
|
|
17585
|
-
[`&.${
|
|
17585
|
+
[`&.${Qa.focusVisible}`]: {
|
|
17586
17586
|
backgroundColor: (t.vars || t).palette.action.focus
|
|
17587
17587
|
},
|
|
17588
|
-
[`&.${
|
|
17588
|
+
[`&.${Qa.disabled}`]: {
|
|
17589
17589
|
opacity: (t.vars || t).palette.action.disabledOpacity
|
|
17590
17590
|
},
|
|
17591
17591
|
[`& + .${OS.root}`]: {
|
|
@@ -17821,12 +17821,12 @@ const s4 = /* @__PURE__ */ s((t) => {
|
|
|
17821
17821
|
pointerEvents: "none"
|
|
17822
17822
|
// Transparent to the hover style.
|
|
17823
17823
|
},
|
|
17824
|
-
[`&.${
|
|
17824
|
+
[`&.${Ja.focused}:after`]: {
|
|
17825
17825
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
17826
17826
|
// See https://github.com/mui/material-ui/issues/31766
|
|
17827
17827
|
transform: "scaleX(1) translateX(0)"
|
|
17828
17828
|
},
|
|
17829
|
-
[`&.${
|
|
17829
|
+
[`&.${Ja.error}`]: {
|
|
17830
17830
|
"&::before, &::after": {
|
|
17831
17831
|
borderBottomColor: (t.vars || t).palette.error.main
|
|
17832
17832
|
}
|
|
@@ -17844,14 +17844,14 @@ const s4 = /* @__PURE__ */ s((t) => {
|
|
|
17844
17844
|
pointerEvents: "none"
|
|
17845
17845
|
// Transparent to the hover style.
|
|
17846
17846
|
},
|
|
17847
|
-
[`&:hover:not(.${
|
|
17847
|
+
[`&:hover:not(.${Ja.disabled}, .${Ja.error}):before`]: {
|
|
17848
17848
|
borderBottom: `2px solid ${(t.vars || t).palette.text.primary}`,
|
|
17849
17849
|
// Reset on touch devices, it doesn't add specificity
|
|
17850
17850
|
"@media (hover: none)": {
|
|
17851
17851
|
borderBottom: `1px solid ${n}`
|
|
17852
17852
|
}
|
|
17853
17853
|
},
|
|
17854
|
-
[`&.${
|
|
17854
|
+
[`&.${Ja.disabled}:before`]: {
|
|
17855
17855
|
borderBottomStyle: "dotted"
|
|
17856
17856
|
}
|
|
17857
17857
|
}
|
|
@@ -18891,7 +18891,7 @@ const h4 = /* @__PURE__ */ s((t) => {
|
|
|
18891
18891
|
slotProps: f = {},
|
|
18892
18892
|
type: h = "text",
|
|
18893
18893
|
...m
|
|
18894
|
-
} = r, y = h4(r), g = Ps(), v =
|
|
18894
|
+
} = r, y = h4(r), g = Ps(), v = Ba({
|
|
18895
18895
|
props: r,
|
|
18896
18896
|
muiFormControl: g,
|
|
18897
18897
|
states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
|
|
@@ -19121,7 +19121,7 @@ function b4(t) {
|
|
|
19121
19121
|
return Ee("MuiFormLabel", t);
|
|
19122
19122
|
}
|
|
19123
19123
|
s(b4, "getFormLabelUtilityClasses");
|
|
19124
|
-
const
|
|
19124
|
+
const Cl = Pe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), v4 = /* @__PURE__ */ s((t) => {
|
|
19125
19125
|
const {
|
|
19126
19126
|
classes: e,
|
|
19127
19127
|
color: n,
|
|
@@ -19157,17 +19157,17 @@ const xl = Pe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
|
|
|
19157
19157
|
color: e
|
|
19158
19158
|
},
|
|
19159
19159
|
style: {
|
|
19160
|
-
[`&.${
|
|
19160
|
+
[`&.${Cl.focused}`]: {
|
|
19161
19161
|
color: (t.vars || t).palette[e].main
|
|
19162
19162
|
}
|
|
19163
19163
|
}
|
|
19164
19164
|
})), {
|
|
19165
19165
|
props: {},
|
|
19166
19166
|
style: {
|
|
19167
|
-
[`&.${
|
|
19167
|
+
[`&.${Cl.disabled}`]: {
|
|
19168
19168
|
color: (t.vars || t).palette.text.disabled
|
|
19169
19169
|
},
|
|
19170
|
-
[`&.${
|
|
19170
|
+
[`&.${Cl.error}`]: {
|
|
19171
19171
|
color: (t.vars || t).palette.error.main
|
|
19172
19172
|
}
|
|
19173
19173
|
}
|
|
@@ -19178,7 +19178,7 @@ const xl = Pe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
|
|
|
19178
19178
|
})(ze(({
|
|
19179
19179
|
theme: t
|
|
19180
19180
|
}) => ({
|
|
19181
|
-
[`&.${
|
|
19181
|
+
[`&.${Cl.error}`]: {
|
|
19182
19182
|
color: (t.vars || t).palette.error.main
|
|
19183
19183
|
}
|
|
19184
19184
|
}))), VO = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
@@ -19196,7 +19196,7 @@ const xl = Pe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
|
|
|
19196
19196
|
focused: f,
|
|
19197
19197
|
required: h,
|
|
19198
19198
|
...m
|
|
19199
|
-
} = r, y = Ps(), g =
|
|
19199
|
+
} = r, y = Ps(), g = Ba({
|
|
19200
19200
|
props: r,
|
|
19201
19201
|
muiFormControl: y,
|
|
19202
19202
|
states: ["color", "required", "focused", "disabled", "error", "filled"]
|
|
@@ -19309,7 +19309,7 @@ const w4 = /* @__PURE__ */ s((t) => {
|
|
|
19309
19309
|
ownerState: n
|
|
19310
19310
|
} = t;
|
|
19311
19311
|
return [{
|
|
19312
|
-
[`& .${
|
|
19312
|
+
[`& .${Cl.asterisk}`]: e.asterisk
|
|
19313
19313
|
}, e.root, n.formControl && e.formControl, n.size === "small" && e.sizeSmall, n.shrink && e.shrink, !n.disableAnimation && e.animated, n.focused && e.focused, e[n.variant]];
|
|
19314
19314
|
}, "overridesResolver")
|
|
19315
19315
|
})(ze(({
|
|
@@ -19448,7 +19448,7 @@ const w4 = /* @__PURE__ */ s((t) => {
|
|
|
19448
19448
|
} = r, p = Ps();
|
|
19449
19449
|
let f = a;
|
|
19450
19450
|
typeof f > "u" && p && (f = p.filled || p.focused || p.adornedStart);
|
|
19451
|
-
const h =
|
|
19451
|
+
const h = Ba({
|
|
19452
19452
|
props: r,
|
|
19453
19453
|
muiFormControl: p,
|
|
19454
19454
|
states: ["size", "variant", "required", "focused"]
|
|
@@ -19845,7 +19845,7 @@ const R4 = /* @__PURE__ */ s((t) => {
|
|
|
19845
19845
|
required: h,
|
|
19846
19846
|
variant: m,
|
|
19847
19847
|
...y
|
|
19848
|
-
} = r, g = Ps(), v =
|
|
19848
|
+
} = r, g = Ps(), v = Ba({
|
|
19849
19849
|
props: r,
|
|
19850
19850
|
muiFormControl: g,
|
|
19851
19851
|
states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
|
|
@@ -19950,7 +19950,7 @@ const A4 = {
|
|
|
19950
19950
|
opacity: 1,
|
|
19951
19951
|
transform: "none"
|
|
19952
19952
|
}
|
|
19953
|
-
}, Sh = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent),
|
|
19953
|
+
}, Sh = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), tc = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
19954
19954
|
const {
|
|
19955
19955
|
addEndListener: r,
|
|
19956
19956
|
appear: o = !0,
|
|
@@ -20049,7 +20049,7 @@ const A4 = {
|
|
|
20049
20049
|
}), "children")
|
|
20050
20050
|
});
|
|
20051
20051
|
}, "Grow"));
|
|
20052
|
-
process.env.NODE_ENV !== "production" && (
|
|
20052
|
+
process.env.NODE_ENV !== "production" && (tc.propTypes = {
|
|
20053
20053
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
20054
20054
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
20055
20055
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -20123,7 +20123,7 @@ process.env.NODE_ENV !== "production" && (ec.propTypes = {
|
|
|
20123
20123
|
exit: c.number
|
|
20124
20124
|
})])
|
|
20125
20125
|
});
|
|
20126
|
-
|
|
20126
|
+
tc && (tc.muiSupportAuto = !0);
|
|
20127
20127
|
function I4(t) {
|
|
20128
20128
|
return Ee("MuiPopover", t);
|
|
20129
20129
|
}
|
|
@@ -20143,10 +20143,10 @@ function FS(t) {
|
|
|
20143
20143
|
return [t.horizontal, t.vertical].map((e) => typeof e == "number" ? `${e}px` : e).join(" ");
|
|
20144
20144
|
}
|
|
20145
20145
|
s(FS, "getTransformOriginValue");
|
|
20146
|
-
function
|
|
20146
|
+
function ul(t) {
|
|
20147
20147
|
return typeof t == "function" ? t() : t;
|
|
20148
20148
|
}
|
|
20149
|
-
s(
|
|
20149
|
+
s(ul, "resolveAnchorEl");
|
|
20150
20150
|
const N4 = /* @__PURE__ */ s((t) => {
|
|
20151
20151
|
const {
|
|
20152
20152
|
classes: e
|
|
@@ -20220,10 +20220,10 @@ const N4 = /* @__PURE__ */ s((t) => {
|
|
|
20220
20220
|
}, N = N4(A), I = S.useCallback(() => {
|
|
20221
20221
|
if (u === "anchorPosition")
|
|
20222
20222
|
return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
|
|
20223
|
-
const Q =
|
|
20223
|
+
const Q = ul(i), oe = Q && Q.nodeType === 1 ? Q : Kt(D.current).body, B = oe.getBoundingClientRect();
|
|
20224
20224
|
if (process.env.NODE_ENV !== "production") {
|
|
20225
20225
|
const se = oe.getBoundingClientRect();
|
|
20226
|
-
|
|
20226
|
+
Fa() && se.top === 0 && se.left === 0 && se.right === 0 && se.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
20227
20227
|
`));
|
|
20228
20228
|
}
|
|
20229
20229
|
return {
|
|
@@ -20246,7 +20246,7 @@ const N4 = /* @__PURE__ */ s((t) => {
|
|
|
20246
20246
|
};
|
|
20247
20247
|
const se = I();
|
|
20248
20248
|
let J = se.top - B.vertical, fe = se.left - B.horizontal;
|
|
20249
|
-
const me = J + oe.height, ge = fe + oe.width, ke = pn(
|
|
20249
|
+
const me = J + oe.height, ge = fe + oe.width, ke = pn(ul(i)), Me = ke.innerHeight - m, _e = ke.innerWidth - m;
|
|
20250
20250
|
if (m !== null && J < m) {
|
|
20251
20251
|
const Be = J - m;
|
|
20252
20252
|
J -= Be, B.vertical += Be;
|
|
@@ -20291,7 +20291,7 @@ const N4 = /* @__PURE__ */ s((t) => {
|
|
|
20291
20291
|
return;
|
|
20292
20292
|
const Q = kc(() => {
|
|
20293
20293
|
L();
|
|
20294
|
-
}), oe = pn(
|
|
20294
|
+
}), oe = pn(ul(i));
|
|
20295
20295
|
return oe.addEventListener("resize", Q), () => {
|
|
20296
20296
|
Q.clear(), oe.removeEventListener("resize", Q);
|
|
20297
20297
|
};
|
|
@@ -20308,7 +20308,7 @@ const N4 = /* @__PURE__ */ s((t) => {
|
|
|
20308
20308
|
...x
|
|
20309
20309
|
}
|
|
20310
20310
|
}, [F, U] = Fe("transition", {
|
|
20311
|
-
elementType:
|
|
20311
|
+
elementType: tc,
|
|
20312
20312
|
externalForwardedProps: _,
|
|
20313
20313
|
ownerState: A,
|
|
20314
20314
|
getSlotProps: /* @__PURE__ */ s((Q) => ({
|
|
@@ -20326,7 +20326,7 @@ const N4 = /* @__PURE__ */ s((t) => {
|
|
|
20326
20326
|
}
|
|
20327
20327
|
});
|
|
20328
20328
|
C === "auto" && !F.muiSupportAuto && (z = void 0);
|
|
20329
|
-
const X = f || (i ? Kt(
|
|
20329
|
+
const X = f || (i ? Kt(ul(i)).body : void 0), [W, {
|
|
20330
20330
|
slots: Y,
|
|
20331
20331
|
slotProps: te,
|
|
20332
20332
|
...G
|
|
@@ -20343,7 +20343,7 @@ const N4 = /* @__PURE__ */ s((t) => {
|
|
|
20343
20343
|
backdrop: v.backdrop
|
|
20344
20344
|
},
|
|
20345
20345
|
slotProps: {
|
|
20346
|
-
backdrop:
|
|
20346
|
+
backdrop: Xl(typeof x.backdrop == "function" ? x.backdrop(A) : x.backdrop, {
|
|
20347
20347
|
invisible: !0
|
|
20348
20348
|
})
|
|
20349
20349
|
},
|
|
@@ -20368,7 +20368,7 @@ const N4 = /* @__PURE__ */ s((t) => {
|
|
|
20368
20368
|
});
|
|
20369
20369
|
return /* @__PURE__ */ b(W, {
|
|
20370
20370
|
...G,
|
|
20371
|
-
...!
|
|
20371
|
+
...!ha(W) && {
|
|
20372
20372
|
slots: Y,
|
|
20373
20373
|
slotProps: te,
|
|
20374
20374
|
disableScrollLock: k
|
|
@@ -20400,10 +20400,10 @@ process.env.NODE_ENV !== "production" && (UO.propTypes = {
|
|
|
20400
20400
|
*/
|
|
20401
20401
|
anchorEl: Nr(c.oneOfType([io, c.func]), (t) => {
|
|
20402
20402
|
if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
|
|
20403
|
-
const e =
|
|
20403
|
+
const e = ul(t.anchorEl);
|
|
20404
20404
|
if (e && e.nodeType === 1) {
|
|
20405
20405
|
const n = e.getBoundingClientRect();
|
|
20406
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
20406
|
+
if (process.env.NODE_ENV !== "production" && Fa() && n.top === 0 && n.left === 0 && n.right === 0 && n.bottom === 0)
|
|
20407
20407
|
return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
20408
20408
|
`));
|
|
20409
20409
|
} else
|
|
@@ -20645,7 +20645,7 @@ const L4 = {
|
|
|
20645
20645
|
slots: x = {},
|
|
20646
20646
|
slotProps: T = {},
|
|
20647
20647
|
...E
|
|
20648
|
-
} = r, C =
|
|
20648
|
+
} = r, C = Da(), w = {
|
|
20649
20649
|
...r,
|
|
20650
20650
|
autoFocus: o,
|
|
20651
20651
|
disableAutoFocusItem: l,
|
|
@@ -20675,7 +20675,7 @@ const L4 = {
|
|
|
20675
20675
|
paper: f,
|
|
20676
20676
|
...T
|
|
20677
20677
|
}
|
|
20678
|
-
}, M =
|
|
20678
|
+
}, M = va({
|
|
20679
20679
|
elementType: x.root,
|
|
20680
20680
|
externalSlotProps: T.root,
|
|
20681
20681
|
ownerState: w,
|
|
@@ -21082,7 +21082,7 @@ function JO(t) {
|
|
|
21082
21082
|
return Ee("MuiSelect", t);
|
|
21083
21083
|
}
|
|
21084
21084
|
s(JO, "getSelectUtilityClasses");
|
|
21085
|
-
const
|
|
21085
|
+
const Za = Pe("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
|
|
21086
21086
|
var BS;
|
|
21087
21087
|
const U4 = ee(GO, {
|
|
21088
21088
|
name: "MuiSelect",
|
|
@@ -21094,22 +21094,22 @@ const U4 = ee(GO, {
|
|
|
21094
21094
|
return [
|
|
21095
21095
|
// Win specificity over the input base
|
|
21096
21096
|
{
|
|
21097
|
-
[`&.${
|
|
21097
|
+
[`&.${Za.select}`]: e.select
|
|
21098
21098
|
},
|
|
21099
21099
|
{
|
|
21100
|
-
[`&.${
|
|
21100
|
+
[`&.${Za.select}`]: e[n.variant]
|
|
21101
21101
|
},
|
|
21102
21102
|
{
|
|
21103
|
-
[`&.${
|
|
21103
|
+
[`&.${Za.error}`]: e.error
|
|
21104
21104
|
},
|
|
21105
21105
|
{
|
|
21106
|
-
[`&.${
|
|
21106
|
+
[`&.${Za.multiple}`]: e.multiple
|
|
21107
21107
|
}
|
|
21108
21108
|
];
|
|
21109
21109
|
}, "overridesResolver")
|
|
21110
21110
|
})({
|
|
21111
21111
|
// Win specificity over the input base
|
|
21112
|
-
[`&.${
|
|
21112
|
+
[`&.${Za.select}`]: {
|
|
21113
21113
|
height: "auto",
|
|
21114
21114
|
// Resets for multiple select with chips
|
|
21115
21115
|
minHeight: "1.4375em",
|
|
@@ -21627,7 +21627,7 @@ const X4 = /* @__PURE__ */ s((t) => {
|
|
|
21627
21627
|
SelectDisplayProps: R,
|
|
21628
21628
|
variant: D = "outlined",
|
|
21629
21629
|
...A
|
|
21630
|
-
} = r, N = T ? YO : XO, I = Ps(), O =
|
|
21630
|
+
} = r, N = T ? YO : XO, I = Ps(), O = Ba({
|
|
21631
21631
|
props: r,
|
|
21632
21632
|
muiFormControl: I,
|
|
21633
21633
|
states: ["variant", "error"]
|
|
@@ -22666,7 +22666,7 @@ const s3 = /* @__PURE__ */ s((t) => {
|
|
|
22666
22666
|
width: "1em",
|
|
22667
22667
|
height: "1em"
|
|
22668
22668
|
}), Er = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
22669
|
-
const r = S.useContext(QO), o = S.useContext(ZO), i =
|
|
22669
|
+
const r = S.useContext(QO), o = S.useContext(ZO), i = Kl(r, e), a = Ae({
|
|
22670
22670
|
props: i,
|
|
22671
22671
|
name: "MuiButton"
|
|
22672
22672
|
}), {
|
|
@@ -23136,7 +23136,7 @@ const f3 = /* @__PURE__ */ s((t) => {
|
|
|
23136
23136
|
})));
|
|
23137
23137
|
let uu = !1;
|
|
23138
23138
|
const VS = new cd();
|
|
23139
|
-
let
|
|
23139
|
+
let el = {
|
|
23140
23140
|
x: 0,
|
|
23141
23141
|
y: 0
|
|
23142
23142
|
};
|
|
@@ -23182,7 +23182,7 @@ const wf = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23182
23182
|
...L
|
|
23183
23183
|
} = r, V = /* @__PURE__ */ S.isValidElement(i) ? i : /* @__PURE__ */ b("span", {
|
|
23184
23184
|
children: i
|
|
23185
|
-
}), j = br(), z =
|
|
23185
|
+
}), j = br(), z = Da(), [_, F] = S.useState(), [U, X] = S.useState(null), W = S.useRef(!1), Y = h || x, te = Us(), G = Us(), ie = Us(), ne = Us(), [Q, oe] = td({
|
|
23186
23186
|
controlled: R,
|
|
23187
23187
|
default: !1,
|
|
23188
23188
|
name: "Tooltip",
|
|
@@ -23225,7 +23225,7 @@ const wf = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23225
23225
|
});
|
|
23226
23226
|
}, "handleMouseLeave"), [, _e] = S.useState(!1), Be = /* @__PURE__ */ s((Ne) => {
|
|
23227
23227
|
const Ut = Ne?.target ?? _;
|
|
23228
|
-
if (!Ut || !
|
|
23228
|
+
if (!Ut || !Sa(Ut)) {
|
|
23229
23229
|
_e(!1);
|
|
23230
23230
|
const he = Ne ?? new Event("blur");
|
|
23231
23231
|
!Ne && Ut && (Object.defineProperty(he, "target", {
|
|
@@ -23235,7 +23235,7 @@ const wf = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23235
23235
|
})), Me(he);
|
|
23236
23236
|
}
|
|
23237
23237
|
}, "handleBlur"), Z = /* @__PURE__ */ s((Ne) => {
|
|
23238
|
-
_ || F(Ne.currentTarget),
|
|
23238
|
+
_ || F(Ne.currentTarget), Sa(Ne.target) && (_e(!0), ke(Ne));
|
|
23239
23239
|
}, "handleFocus"), be = /* @__PURE__ */ s((Ne) => {
|
|
23240
23240
|
W.current = !0;
|
|
23241
23241
|
const Ut = V.props;
|
|
@@ -23263,7 +23263,7 @@ const wf = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23263
23263
|
!M && M !== 0 && (B = !1);
|
|
23264
23264
|
const Se = S.useRef(), et = /* @__PURE__ */ s((Ne) => {
|
|
23265
23265
|
const Ut = V.props;
|
|
23266
|
-
Ut.onMouseMove && Ut.onMouseMove(Ne),
|
|
23266
|
+
Ut.onMouseMove && Ut.onMouseMove(Ne), el = {
|
|
23267
23267
|
x: Ne.clientX,
|
|
23268
23268
|
y: Ne.clientY
|
|
23269
23269
|
}, Se.current && Se.current.update();
|
|
@@ -23336,7 +23336,7 @@ const wf = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23336
23336
|
ownerState: Et,
|
|
23337
23337
|
className: ae(Nn.popper, N?.className)
|
|
23338
23338
|
}), [wn, mn] = Fe("transition", {
|
|
23339
|
-
elementType:
|
|
23339
|
+
elementType: tc,
|
|
23340
23340
|
externalForwardedProps: pe,
|
|
23341
23341
|
ownerState: Et
|
|
23342
23342
|
}), [po, Ke] = Fe("tooltip", {
|
|
@@ -23357,10 +23357,10 @@ const wf = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23357
23357
|
placement: D,
|
|
23358
23358
|
anchorEl: x ? {
|
|
23359
23359
|
getBoundingClientRect: /* @__PURE__ */ s(() => ({
|
|
23360
|
-
top:
|
|
23361
|
-
left:
|
|
23362
|
-
right:
|
|
23363
|
-
bottom:
|
|
23360
|
+
top: el.y,
|
|
23361
|
+
left: el.x,
|
|
23362
|
+
right: el.x,
|
|
23363
|
+
bottom: el.y,
|
|
23364
23364
|
width: 0,
|
|
23365
23365
|
height: 0
|
|
23366
23366
|
}), "getBoundingClientRect")
|
|
@@ -23817,17 +23817,17 @@ const O3 = Pe("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
23817
23817
|
orientation: u,
|
|
23818
23818
|
disabled: d,
|
|
23819
23819
|
...p
|
|
23820
|
-
} = r, f =
|
|
23820
|
+
} = r, f = Da(), h = {
|
|
23821
23821
|
isRtl: f,
|
|
23822
23822
|
...r
|
|
23823
|
-
}, m = k3(h), y = i.StartScrollButtonIcon ?? S3, g = i.EndScrollButtonIcon ?? x3, v =
|
|
23823
|
+
}, m = k3(h), y = i.StartScrollButtonIcon ?? S3, g = i.EndScrollButtonIcon ?? x3, v = va({
|
|
23824
23824
|
elementType: y,
|
|
23825
23825
|
externalSlotProps: a.startScrollButtonIcon,
|
|
23826
23826
|
additionalProps: {
|
|
23827
23827
|
fontSize: "small"
|
|
23828
23828
|
},
|
|
23829
23829
|
ownerState: h
|
|
23830
|
-
}), x =
|
|
23830
|
+
}), x = va({
|
|
23831
23831
|
elementType: g,
|
|
23832
23832
|
externalSlotProps: a.endScrollButtonIcon,
|
|
23833
23833
|
additionalProps: {
|
|
@@ -24121,7 +24121,7 @@ const ok = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24121
24121
|
const r = Ae({
|
|
24122
24122
|
props: e,
|
|
24123
24123
|
name: "MuiTabs"
|
|
24124
|
-
}), o = br(), i =
|
|
24124
|
+
}), o = br(), i = Da(), {
|
|
24125
24125
|
"aria-label": a,
|
|
24126
24126
|
"aria-labelledby": l,
|
|
24127
24127
|
action: u,
|
|
@@ -24165,11 +24165,11 @@ const ok = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24165
24165
|
scrollableY: M && P,
|
|
24166
24166
|
centered: d && !M,
|
|
24167
24167
|
scrollButtonsHideMobile: !m
|
|
24168
|
-
}, F = P3(_), U =
|
|
24168
|
+
}, F = P3(_), U = va({
|
|
24169
24169
|
elementType: C.StartScrollButtonIcon,
|
|
24170
24170
|
externalSlotProps: w.startScrollButtonIcon,
|
|
24171
24171
|
ownerState: _
|
|
24172
|
-
}), X =
|
|
24172
|
+
}), X = va({
|
|
24173
24173
|
elementType: C.EndScrollButtonIcon,
|
|
24174
24174
|
externalSlotProps: w.endScrollButtonIcon,
|
|
24175
24175
|
ownerState: _
|
|
@@ -24207,7 +24207,7 @@ const ok = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24207
24207
|
if (tt.length > 0) {
|
|
24208
24208
|
const Ct = tt[me.get(A)];
|
|
24209
24209
|
process.env.NODE_ENV !== "production" && (Ct || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${A}".`, me.keys ? `You can provide one of the following values: ${Array.from(me.keys()).join(", ")}.` : null].join(`
|
|
24210
|
-
`))), Ze = Ct ? Ct.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" &&
|
|
24210
|
+
`))), Ze = Ct ? Ct.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && Fa() && !qS && Ze && Ze.width === 0 && Ze.height === 0 && // if the whole Tabs component is hidden, don't warn
|
|
24211
24211
|
we.clientWidth !== 0 && (we = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${A}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
|
|
24212
24212
|
`)), qS = !0);
|
|
24213
24213
|
}
|
|
@@ -24364,9 +24364,9 @@ const ok = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24364
24364
|
Br.observe(Ze);
|
|
24365
24365
|
const Si = /* @__PURE__ */ s((xi) => {
|
|
24366
24366
|
oe(!xi[0].isIntersecting);
|
|
24367
|
-
}, "handleScrollButtonEnd"),
|
|
24368
|
-
return
|
|
24369
|
-
Br.disconnect(),
|
|
24367
|
+
}, "handleScrollButtonEnd"), za = new IntersectionObserver(Si, Ct);
|
|
24368
|
+
return za.observe(tt), () => {
|
|
24369
|
+
Br.disconnect(), za.disconnect();
|
|
24370
24370
|
};
|
|
24371
24371
|
}
|
|
24372
24372
|
}, [M, T, B, p?.length]), S.useEffect(() => {
|
|
@@ -25140,14 +25140,14 @@ function X3(t, e) {
|
|
|
25140
25140
|
}, d;
|
|
25141
25141
|
}
|
|
25142
25142
|
s(X3, "lruMemoize");
|
|
25143
|
-
var
|
|
25143
|
+
var la, Q3 = (la = class {
|
|
25144
25144
|
constructor(e) {
|
|
25145
25145
|
this.value = e;
|
|
25146
25146
|
}
|
|
25147
25147
|
deref() {
|
|
25148
25148
|
return this.value;
|
|
25149
25149
|
}
|
|
25150
|
-
}, s(
|
|
25150
|
+
}, s(la, "StrongRef"), la), Z3 = typeof WeakRef < "u" ? WeakRef : Q3, ez = 0, KS = 1;
|
|
25151
25151
|
function fu() {
|
|
25152
25152
|
return {
|
|
25153
25153
|
s: ez,
|
|
@@ -26103,7 +26103,7 @@ const Fz = /* @__PURE__ */ s((t, e) => {
|
|
|
26103
26103
|
...h,
|
|
26104
26104
|
children: [/* @__PURE__ */ b(L, {
|
|
26105
26105
|
...V,
|
|
26106
|
-
...!
|
|
26106
|
+
...!ha(L) && {
|
|
26107
26107
|
as: z,
|
|
26108
26108
|
ownerState: {
|
|
26109
26109
|
...N,
|
|
@@ -26120,7 +26120,7 @@ const Fz = /* @__PURE__ */ s((t, e) => {
|
|
|
26120
26120
|
...V,
|
|
26121
26121
|
as: z,
|
|
26122
26122
|
ref: O,
|
|
26123
|
-
...!
|
|
26123
|
+
...!ha(L) && {
|
|
26124
26124
|
ownerState: {
|
|
26125
26125
|
...N,
|
|
26126
26126
|
...V.ownerState
|
|
@@ -26446,7 +26446,7 @@ process.env.NODE_ENV !== "production" && (e0.propTypes = {
|
|
|
26446
26446
|
const e = wk(t.container);
|
|
26447
26447
|
if (e && e.nodeType === 1) {
|
|
26448
26448
|
const n = e.getBoundingClientRect();
|
|
26449
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
26449
|
+
if (process.env.NODE_ENV !== "production" && Fa() && n.top === 0 && n.left === 0 && n.right === 0 && n.bottom === 0)
|
|
26450
26450
|
return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
26451
26451
|
`));
|
|
26452
26452
|
} else if (!e || typeof e.getBoundingClientRect != "function" || e.contextElement != null && e.contextElement.nodeType !== 1)
|
|
@@ -26659,17 +26659,17 @@ function $i(t) {
|
|
|
26659
26659
|
return ["left", "right"].includes(t);
|
|
26660
26660
|
}
|
|
26661
26661
|
s($i, "isHorizontal");
|
|
26662
|
-
function
|
|
26662
|
+
function dl({
|
|
26663
26663
|
direction: t
|
|
26664
26664
|
}, e) {
|
|
26665
26665
|
return t === "rtl" && $i(e) ? Ek[e] : e;
|
|
26666
26666
|
}
|
|
26667
|
-
s(
|
|
26667
|
+
s(dl, "getAnchor");
|
|
26668
26668
|
const Ok = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
26669
26669
|
const r = Ae({
|
|
26670
26670
|
props: e,
|
|
26671
26671
|
name: "MuiDrawer"
|
|
26672
|
-
}), o = br(), i =
|
|
26672
|
+
}), o = br(), i = Da(), a = {
|
|
26673
26673
|
enter: o.transitions.duration.enteringScreen,
|
|
26674
26674
|
exit: o.transitions.duration.leavingScreen
|
|
26675
26675
|
}, {
|
|
@@ -26698,7 +26698,7 @@ const Ok = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
26698
26698
|
S.useEffect(() => {
|
|
26699
26699
|
A.current = !0;
|
|
26700
26700
|
}, []);
|
|
26701
|
-
const N =
|
|
26701
|
+
const N = dl({
|
|
26702
26702
|
direction: i ? "rtl" : "ltr"
|
|
26703
26703
|
}, l), O = {
|
|
26704
26704
|
...r,
|
|
@@ -26716,7 +26716,7 @@ const Ok = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
26716
26716
|
paper: x,
|
|
26717
26717
|
transition: T,
|
|
26718
26718
|
...R,
|
|
26719
|
-
backdrop:
|
|
26719
|
+
backdrop: Xl(R.backdrop || {
|
|
26720
26720
|
...u,
|
|
26721
26721
|
...m
|
|
26722
26722
|
}, {
|
|
@@ -27005,10 +27005,10 @@ function Th(t, e, n) {
|
|
|
27005
27005
|
return t === "bottom" ? n.innerHeight - e[0].clientY : e[0].clientY;
|
|
27006
27006
|
}
|
|
27007
27007
|
s(Th, "calculateCurrentY");
|
|
27008
|
-
function
|
|
27008
|
+
function tl(t, e) {
|
|
27009
27009
|
return t ? e.clientWidth : e.clientHeight;
|
|
27010
27010
|
}
|
|
27011
|
-
s(
|
|
27011
|
+
s(tl, "getMaxTranslate");
|
|
27012
27012
|
function YS(t, e, n, r) {
|
|
27013
27013
|
return Math.min(Math.max(n ? e - t : r + e - t, 0), r);
|
|
27014
27014
|
}
|
|
@@ -27094,7 +27094,7 @@ const Jz = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
27094
27094
|
const {
|
|
27095
27095
|
mode: ne = null,
|
|
27096
27096
|
changeTransition: Q = !0
|
|
27097
|
-
} = ie, oe =
|
|
27097
|
+
} = ie, oe = dl(o, a), B = ["right", "bottom"].includes(oe) ? 1 : -1, se = $i(a), J = se ? `translate(${B * G}px, 0)` : `translate(0, ${B * G}px)`, fe = L.current.style;
|
|
27098
27098
|
fe.webkitTransform = J, fe.transform = J;
|
|
27099
27099
|
let me = "";
|
|
27100
27100
|
if (ne && (me = o.transitions.create("all", hs({
|
|
@@ -27105,7 +27105,7 @@ const Jz = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
27105
27105
|
mode: ne
|
|
27106
27106
|
}))), Q && (fe.webkitTransition = me, fe.transition = me), !l && !p) {
|
|
27107
27107
|
const ge = $.current.style;
|
|
27108
|
-
ge.opacity = 1 - G /
|
|
27108
|
+
ge.opacity = 1 - G / tl(se, L.current), Q && (ge.webkitTransition = me, ge.transition = me);
|
|
27109
27109
|
}
|
|
27110
27110
|
}, [a, l, p, o, k]), F = kn((G) => {
|
|
27111
27111
|
if (!j.current)
|
|
@@ -27117,17 +27117,17 @@ const Jz = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
27117
27117
|
return;
|
|
27118
27118
|
}
|
|
27119
27119
|
M.current.isSwiping = null;
|
|
27120
|
-
const ie =
|
|
27120
|
+
const ie = dl(o, a), ne = $i(a);
|
|
27121
27121
|
let Q;
|
|
27122
27122
|
ne ? Q = wh(ie, G.changedTouches, Kt(G.currentTarget)) : Q = Th(ie, G.changedTouches, pn(G.currentTarget));
|
|
27123
|
-
const oe = ne ? M.current.startX : M.current.startY, B =
|
|
27123
|
+
const oe = ne ? M.current.startX : M.current.startY, B = tl(ne, L.current), se = YS(Q, oe, T, B), J = se / B;
|
|
27124
27124
|
if (Math.abs(M.current.velocity) > m && (z.current = Math.abs((B - se) / M.current.velocity) * 1e3), T) {
|
|
27125
27125
|
M.current.velocity > m || J > f ? v() : _(0, {
|
|
27126
27126
|
mode: "exit"
|
|
27127
27127
|
});
|
|
27128
27128
|
return;
|
|
27129
27129
|
}
|
|
27130
|
-
M.current.velocity < -m || 1 - J > f ? x() : _(
|
|
27130
|
+
M.current.velocity < -m || 1 - J > f ? x() : _(tl(ne, L.current), {
|
|
27131
27131
|
mode: "enter"
|
|
27132
27132
|
});
|
|
27133
27133
|
}), U = /* @__PURE__ */ s((G = !1) => {
|
|
@@ -27136,7 +27136,7 @@ const Jz = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
27136
27136
|
O(!0);
|
|
27137
27137
|
});
|
|
27138
27138
|
const ie = $i(a);
|
|
27139
|
-
!T && L.current && _(
|
|
27139
|
+
!T && L.current && _(tl(ie, L.current) + (u ? 15 : -Ch), {
|
|
27140
27140
|
changeTransition: !1
|
|
27141
27141
|
}), M.current.velocity = 0, M.current.lastTime = null, M.current.lastTranslate = null, M.current.paperHit = !1, j.current = !0;
|
|
27142
27142
|
}
|
|
@@ -27144,7 +27144,7 @@ const Jz = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
27144
27144
|
if (!L.current || !j.current || go !== null && go !== M.current)
|
|
27145
27145
|
return;
|
|
27146
27146
|
U(!0);
|
|
27147
|
-
const ie =
|
|
27147
|
+
const ie = dl(o, a), ne = $i(a), Q = wh(ie, G.touches, Kt(G.currentTarget)), oe = Th(ie, G.touches, pn(G.currentTarget));
|
|
27148
27148
|
if (T && L.current.contains(G.target) && go === null) {
|
|
27149
27149
|
const me = Kz(G.target, L.current);
|
|
27150
27150
|
if (Yz({
|
|
@@ -27170,7 +27170,7 @@ const Jz = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
27170
27170
|
}
|
|
27171
27171
|
if (!M.current.isSwiping)
|
|
27172
27172
|
return;
|
|
27173
|
-
const B =
|
|
27173
|
+
const B = tl(ne, L.current);
|
|
27174
27174
|
let se = ne ? M.current.startX : M.current.startY;
|
|
27175
27175
|
T && !M.current.paperHit && (se = Math.min(se, B));
|
|
27176
27176
|
const J = YS(ne ? Q : oe, se, T, B);
|
|
@@ -27187,7 +27187,7 @@ const Jz = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
27187
27187
|
}), W = kn((G) => {
|
|
27188
27188
|
if (G.defaultPrevented || G.defaultMuiPrevented || T && (p || !$.current.contains(G.target)) && !L.current.contains(G.target))
|
|
27189
27189
|
return;
|
|
27190
|
-
const ie =
|
|
27190
|
+
const ie = dl(o, a), ne = $i(a), Q = wh(ie, G.touches, Kt(G.currentTarget)), oe = Th(ie, G.touches, pn(G.currentTarget));
|
|
27191
27191
|
if (!T) {
|
|
27192
27192
|
if (d || !(G.target === P.current || L.current?.contains(G.target) && (typeof h == "function" ? h(G, P.current, L.current) : h)))
|
|
27193
27193
|
return;
|
|
@@ -27255,10 +27255,10 @@ const Jz = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
27255
27255
|
slots: D,
|
|
27256
27256
|
slotProps: {
|
|
27257
27257
|
...A,
|
|
27258
|
-
backdrop:
|
|
27258
|
+
backdrop: Xl(A.backdrop ?? y, {
|
|
27259
27259
|
ref: $
|
|
27260
27260
|
}),
|
|
27261
|
-
paper:
|
|
27261
|
+
paper: Xl(A.paper ?? E, {
|
|
27262
27262
|
style: {
|
|
27263
27263
|
pointerEvents: R === "temporary" && !T && !h ? "none" : ""
|
|
27264
27264
|
},
|
|
@@ -27558,7 +27558,7 @@ function t0(t) {
|
|
|
27558
27558
|
}
|
|
27559
27559
|
s(t0, "Drawer");
|
|
27560
27560
|
function Qz(t) {
|
|
27561
|
-
const { listView: e, container: n } = t, [r, o] = S.useState(!1), i = Os(), a =
|
|
27561
|
+
const { listView: e, container: n } = t, [r, o] = S.useState(!1), i = Os(), a = da(i, _T), l = da(
|
|
27562
27562
|
i,
|
|
27563
27563
|
BT
|
|
27564
27564
|
), u = /* @__PURE__ */ s((d) => {
|
|
@@ -27602,7 +27602,7 @@ const Zz = de(/* @__PURE__ */ b("path", {
|
|
|
27602
27602
|
d: "M16 17.01V10h-2v7.01h-3L15 21l4-3.99zM9 3 5 6.99h3V14h2V6.99h3z"
|
|
27603
27603
|
}), "SwapVert");
|
|
27604
27604
|
function eV(t) {
|
|
27605
|
-
const { listView: e, container: n } = t, [r, o] = S.useState(!1), i = Os(), a =
|
|
27605
|
+
const { listView: e, container: n } = t, [r, o] = S.useState(!1), i = Os(), a = da(i, _T), l = da(i, Q2), u = a.filter((f) => f.sortable), d = l.length, p = /* @__PURE__ */ s((f, h) => {
|
|
27606
27606
|
i.current.sortColumn(f, h, !0);
|
|
27607
27607
|
}, "handleSortChange");
|
|
27608
27608
|
return /* @__PURE__ */ H(S.Fragment, { children: [
|
|
@@ -27698,7 +27698,7 @@ function nV(t) {
|
|
|
27698
27698
|
pivotActive: i = !1
|
|
27699
27699
|
} = t, a = Os(), { exporter: l } = To(), {
|
|
27700
27700
|
props: { actionsContainerRef: u, pivotUi: d = "mui" }
|
|
27701
|
-
} = Io(), p =
|
|
27701
|
+
} = Io(), p = da(
|
|
27702
27702
|
a,
|
|
27703
27703
|
Tz
|
|
27704
27704
|
), f = o && p > 0, h = /* @__PURE__ */ s(() => {
|
|
@@ -27795,9 +27795,9 @@ s(nV, "Toolbar");
|
|
|
27795
27795
|
const jg = de(/* @__PURE__ */ b("path", {
|
|
27796
27796
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
|
|
27797
27797
|
}), "RemoveRedEye"), Ak = Bt({ resolve: null }), HY = /* @__PURE__ */ s(({ resolve: t, children: e }) => {
|
|
27798
|
-
const n =
|
|
27798
|
+
const n = it(() => ({ resolve: t }), [t]);
|
|
27799
27799
|
return /* @__PURE__ */ b(Ak.Provider, { value: n, children: e });
|
|
27800
|
-
}, "FormResolverProvider"), rV = /* @__PURE__ */ s(() => Je(Ak), "useFormResolver"),
|
|
27800
|
+
}, "FormResolverProvider"), rV = /* @__PURE__ */ s(() => Je(Ak), "useFormResolver"), nl = {
|
|
27801
27801
|
maxWidth: "md",
|
|
27802
27802
|
fullWidth: !0,
|
|
27803
27803
|
scroll: "paper",
|
|
@@ -28008,7 +28008,7 @@ const jg = de(/* @__PURE__ */ b("path", {
|
|
|
28008
28008
|
}, C = x.maxWidth, w = x.maxHeight, k = x.minWidth, R = x.minHeight, D = h ? "100%" : "100vw", A = h ? "100%" : "100dvh";
|
|
28009
28009
|
return S.useMemo(
|
|
28010
28010
|
() => ({
|
|
28011
|
-
...
|
|
28011
|
+
...nl,
|
|
28012
28012
|
...h ? { container: h } : {},
|
|
28013
28013
|
fullScreen: h ? !1 : d,
|
|
28014
28014
|
popupControls: {
|
|
@@ -28018,12 +28018,12 @@ const jg = de(/* @__PURE__ */ b("path", {
|
|
|
28018
28018
|
resetSizeAriaLabel: "Restablecer tamaño"
|
|
28019
28019
|
},
|
|
28020
28020
|
sx: {
|
|
28021
|
-
...
|
|
28021
|
+
...nl.sx,
|
|
28022
28022
|
...h ? {
|
|
28023
28023
|
position: "absolute",
|
|
28024
28024
|
inset: 0,
|
|
28025
28025
|
"& .MuiDialog-container": {
|
|
28026
|
-
...
|
|
28026
|
+
...nl.sx?.["& .MuiDialog-container"],
|
|
28027
28027
|
position: "absolute",
|
|
28028
28028
|
inset: 0
|
|
28029
28029
|
},
|
|
@@ -28034,10 +28034,10 @@ const jg = de(/* @__PURE__ */ b("path", {
|
|
|
28034
28034
|
} : {}
|
|
28035
28035
|
},
|
|
28036
28036
|
PaperProps: {
|
|
28037
|
-
...
|
|
28037
|
+
...nl.PaperProps,
|
|
28038
28038
|
ref: f,
|
|
28039
28039
|
sx: {
|
|
28040
|
-
...
|
|
28040
|
+
...nl.PaperProps?.sx,
|
|
28041
28041
|
width: { xs: D, sm: `${E.width}px` },
|
|
28042
28042
|
maxWidth: {
|
|
28043
28043
|
xs: D,
|
|
@@ -29093,50 +29093,50 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29093
29093
|
sort: { field: Rt, order: Ye },
|
|
29094
29094
|
filter: At,
|
|
29095
29095
|
meta: Cr
|
|
29096
|
-
}).then((
|
|
29097
|
-
const Jf =
|
|
29098
|
-
|
|
29099
|
-
) ?
|
|
29096
|
+
}).then((ja) => {
|
|
29097
|
+
const Jf = ja.data || [], Uv = Array.isArray(
|
|
29098
|
+
ja.pivotColumns
|
|
29099
|
+
) ? ja.pivotColumns : [], Xf = $e.rows || [], BP = $e.columns || [], Gv = $e.values || [], _P = Xf.map(vu).filter(Boolean), Gc = (re.groupFields || []).map(vu).filter(Boolean), Wa = re.groupKeys || [], zP = _P.length > 0 && BP.length === 0 && Gv.length === 0, VP = Jf.some(
|
|
29100
29100
|
(Fo) => Fo?.childrenCount != null || Fo?.__childrenCount != null
|
|
29101
29101
|
);
|
|
29102
|
-
let
|
|
29102
|
+
let Ha = Jf, Qf = ja.total ?? 0;
|
|
29103
29103
|
if (zP && !VP && Gc.length > 0) {
|
|
29104
29104
|
const Fo = Gc.slice(
|
|
29105
29105
|
0,
|
|
29106
|
-
|
|
29106
|
+
Wa.length
|
|
29107
29107
|
), Kc = Jf.filter(
|
|
29108
29108
|
(Bo) => Fo.every(
|
|
29109
|
-
(Ci, wi) => String(Bo?.[Ci] ?? "") === String(
|
|
29109
|
+
(Ci, wi) => String(Bo?.[Ci] ?? "") === String(Wa[wi] ?? "")
|
|
29110
29110
|
)
|
|
29111
|
-
), Yc =
|
|
29111
|
+
), Yc = Wa.length;
|
|
29112
29112
|
if (Yc < Gc.length) {
|
|
29113
29113
|
const Bo = Gc[Yc], Ci = /* @__PURE__ */ new Map();
|
|
29114
29114
|
Kc.forEach((wi) => {
|
|
29115
|
-
const
|
|
29115
|
+
const qa = wi?.[Bo], Zf = qa == null ? "" : String(qa), Kv = Ci.get(Zf);
|
|
29116
29116
|
if (Kv) {
|
|
29117
29117
|
Kv.childrenCount += 1;
|
|
29118
29118
|
return;
|
|
29119
29119
|
}
|
|
29120
29120
|
Ci.set(Zf, {
|
|
29121
29121
|
groupValue: Zf,
|
|
29122
|
-
rawValue:
|
|
29122
|
+
rawValue: qa,
|
|
29123
29123
|
childrenCount: 1
|
|
29124
29124
|
});
|
|
29125
|
-
}),
|
|
29125
|
+
}), Ha = Array.from(
|
|
29126
29126
|
Ci.values()
|
|
29127
|
-
).map((wi,
|
|
29128
|
-
id: `pivot-group-${Bo}-${
|
|
29127
|
+
).map((wi, qa) => ({
|
|
29128
|
+
id: `pivot-group-${Bo}-${Wa.join("|")}-${wi.groupValue || qa}`,
|
|
29129
29129
|
[Bo]: wi.rawValue,
|
|
29130
29130
|
childrenCount: wi.childrenCount
|
|
29131
|
-
})), Qf =
|
|
29131
|
+
})), Qf = Ha.length;
|
|
29132
29132
|
} else
|
|
29133
|
-
|
|
29133
|
+
Ha = Kc.map(
|
|
29134
29134
|
(Bo, Ci) => ({
|
|
29135
29135
|
...Bo,
|
|
29136
|
-
id: Bo?.id ?? `pivot-leaf-${
|
|
29136
|
+
id: Bo?.id ?? `pivot-leaf-${Wa.join("|")}-${Ci}`,
|
|
29137
29137
|
childrenCount: 0
|
|
29138
29138
|
})
|
|
29139
|
-
), Qf =
|
|
29139
|
+
), Qf = Ha.length;
|
|
29140
29140
|
}
|
|
29141
29141
|
const jP = Uv.length === 0 && Gv.length === 0 && Xf.length > 0 ? Xf.map(vu).filter(Boolean).map((Fo) => {
|
|
29142
29142
|
const Kc = i.find(
|
|
@@ -29149,10 +29149,10 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29149
29149
|
};
|
|
29150
29150
|
}) : Uv;
|
|
29151
29151
|
return {
|
|
29152
|
-
rows:
|
|
29152
|
+
rows: Ha,
|
|
29153
29153
|
rowCount: Qf,
|
|
29154
29154
|
pivotColumns: jP,
|
|
29155
|
-
aggregateRow:
|
|
29155
|
+
aggregateRow: ja.aggregateRow
|
|
29156
29156
|
};
|
|
29157
29157
|
});
|
|
29158
29158
|
return mn.current = { key: Gt, promise: Is }, Is;
|
|
@@ -29182,7 +29182,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29182
29182
|
hiddenactions: Ct = [],
|
|
29183
29183
|
user: Tn = [],
|
|
29184
29184
|
lang: Br = []
|
|
29185
|
-
} = tt, Si = Bk(Ct),
|
|
29185
|
+
} = tt, Si = Bk(Ct), za = C && !Si, xi = Je(eO), $o = o0(), Hc = (be.current?.state?.rowGrouping?.model?.length ?? 0) > 0, Iv = Hc && !Z ? `${j.h + 4}px` : 0;
|
|
29186
29186
|
xe(() => {
|
|
29187
29187
|
if (!Z || Me === "custom" || !be.current?.showSidebar || be.current?.state?.sidebar?.open && be.current?.state?.sidebar?.value === "pivot")
|
|
29188
29188
|
return;
|
|
@@ -29231,14 +29231,14 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29231
29231
|
}
|
|
29232
29232
|
);
|
|
29233
29233
|
}, "renderCell")
|
|
29234
|
-
},
|
|
29234
|
+
}, Va = S.useMemo(() => `metiri_rowGrouping_${(W || "").toString().trim() || "default"}`, [W]), As = S.useMemo(() => {
|
|
29235
29235
|
try {
|
|
29236
|
-
const q = localStorage.getItem(
|
|
29236
|
+
const q = localStorage.getItem(Va), re = q ? JSON.parse(q) : [];
|
|
29237
29237
|
return Array.isArray(re) ? re : [];
|
|
29238
29238
|
} catch {
|
|
29239
29239
|
return [];
|
|
29240
29240
|
}
|
|
29241
|
-
}, [
|
|
29241
|
+
}, [Va]), Nv = S.useMemo(
|
|
29242
29242
|
() => i.map((q) => {
|
|
29243
29243
|
const re = Tn[q.field.replace("_lis", "")];
|
|
29244
29244
|
return re ? { ...q, ...re } : q;
|
|
@@ -29284,13 +29284,13 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29284
29284
|
(q = []) => {
|
|
29285
29285
|
if (!Z) {
|
|
29286
29286
|
try {
|
|
29287
|
-
localStorage.setItem(
|
|
29287
|
+
localStorage.setItem(Va, JSON.stringify(q));
|
|
29288
29288
|
} catch {
|
|
29289
29289
|
}
|
|
29290
29290
|
L((re) => re + 1);
|
|
29291
29291
|
}
|
|
29292
29292
|
},
|
|
29293
|
-
[
|
|
29293
|
+
[Va, Z]
|
|
29294
29294
|
);
|
|
29295
29295
|
S.useEffect(() => {
|
|
29296
29296
|
if (!(!be.current || Z))
|
|
@@ -29346,7 +29346,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29346
29346
|
)).map((Qe, Pt) => {
|
|
29347
29347
|
const { handler: $n, key: At, ...Gt } = Qe;
|
|
29348
29348
|
return /* @__PURE__ */ b(
|
|
29349
|
-
|
|
29349
|
+
Ua,
|
|
29350
29350
|
{
|
|
29351
29351
|
sx: {
|
|
29352
29352
|
// Ícono del menú
|
|
@@ -29367,7 +29367,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29367
29367
|
`gaci-${Pt}`
|
|
29368
29368
|
);
|
|
29369
29369
|
});
|
|
29370
|
-
if (
|
|
29370
|
+
if (za) {
|
|
29371
29371
|
const Qe = /* @__PURE__ */ s(() => {
|
|
29372
29372
|
Ze({
|
|
29373
29373
|
id: Rt,
|
|
@@ -29377,7 +29377,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29377
29377
|
}, "handleClick");
|
|
29378
29378
|
Ye.unshift(
|
|
29379
29379
|
/* @__PURE__ */ b(
|
|
29380
|
-
|
|
29380
|
+
Ua,
|
|
29381
29381
|
{
|
|
29382
29382
|
sx: {
|
|
29383
29383
|
fontSize: "0.75rem"
|
|
@@ -29404,7 +29404,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29404
29404
|
}, "handleClick");
|
|
29405
29405
|
Ye.unshift(
|
|
29406
29406
|
/* @__PURE__ */ b(
|
|
29407
|
-
|
|
29407
|
+
Ua,
|
|
29408
29408
|
{
|
|
29409
29409
|
sx: {
|
|
29410
29410
|
fontSize: "0.75rem"
|
|
@@ -29426,7 +29426,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29426
29426
|
record: q.row
|
|
29427
29427
|
}
|
|
29428
29428
|
) : /* @__PURE__ */ b(
|
|
29429
|
-
|
|
29429
|
+
Ua,
|
|
29430
29430
|
{
|
|
29431
29431
|
label: U("ra.action.edit"),
|
|
29432
29432
|
icon: $V(
|
|
@@ -29461,7 +29461,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29461
29461
|
...Ye
|
|
29462
29462
|
] : Ve ? [
|
|
29463
29463
|
/* @__PURE__ */ b(
|
|
29464
|
-
|
|
29464
|
+
Ua,
|
|
29465
29465
|
{
|
|
29466
29466
|
label: "ra.action.create",
|
|
29467
29467
|
icon: /* @__PURE__ */ b(Mc, { color: "primary" }),
|
|
@@ -29486,7 +29486,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29486
29486
|
e,
|
|
29487
29487
|
n,
|
|
29488
29488
|
be,
|
|
29489
|
-
|
|
29489
|
+
za,
|
|
29490
29490
|
x,
|
|
29491
29491
|
Ct,
|
|
29492
29492
|
y,
|
|
@@ -29558,7 +29558,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
29558
29558
|
if (Array.isArray(q) && q.length)
|
|
29559
29559
|
try {
|
|
29560
29560
|
localStorage.setItem(
|
|
29561
|
-
|
|
29561
|
+
Va,
|
|
29562
29562
|
JSON.stringify(q)
|
|
29563
29563
|
);
|
|
29564
29564
|
} catch {
|
|
@@ -30003,7 +30003,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30003
30003
|
Z ? "grid-pivot" : "grid-standard"
|
|
30004
30004
|
),
|
|
30005
30005
|
/* @__PURE__ */ b(
|
|
30006
|
-
|
|
30006
|
+
ua,
|
|
30007
30007
|
{
|
|
30008
30008
|
open: Wv,
|
|
30009
30009
|
onClose: Ue,
|
|
@@ -30303,7 +30303,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30303
30303
|
opacity: 0.6,
|
|
30304
30304
|
position: "relative"
|
|
30305
30305
|
}, jV = /* @__PURE__ */ s((t) => {
|
|
30306
|
-
const e = en(), n =
|
|
30306
|
+
const e = en(), n = La(), r = vn(Mg("etr")).current, o = Po(), i = n.open ? VV : zV;
|
|
30307
30307
|
return xe(
|
|
30308
30308
|
() => () => {
|
|
30309
30309
|
o(kg(r));
|
|
@@ -30335,7 +30335,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30335
30335
|
}, "EtrChildrenWrapper"), Vk = /* @__PURE__ */ s((t) => /* @__PURE__ */ H(Pc, { open: t.open, onClose: t.onClose, fullWidth: !0, children: [
|
|
30336
30336
|
/* @__PURE__ */ b(Nc, { children: `${t.labelEstado} ${t.label}` }),
|
|
30337
30337
|
/* @__PURE__ */ b(Pb, { component: "span", children: /* @__PURE__ */ b(Dc, { children: /* @__PURE__ */ b(
|
|
30338
|
-
|
|
30338
|
+
Ia,
|
|
30339
30339
|
{
|
|
30340
30340
|
mode: "onBlur",
|
|
30341
30341
|
record: _V,
|
|
@@ -30354,11 +30354,11 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30354
30354
|
camposClaveFila: a,
|
|
30355
30355
|
setOpen: l,
|
|
30356
30356
|
open: u
|
|
30357
|
-
} = t, { dirtyFields: d, isValid: p } = sA(), { fichaProps: { [t.source]: f = {} } = {} } = kt(), h =
|
|
30357
|
+
} = t, { dirtyFields: d, isValid: p } = sA(), { fichaProps: { [t.source]: f = {} } = {} } = kt(), h = La(), { onAfterRenderAsistente: m, ...y } = f, g = Lr({ resource: n });
|
|
30358
30358
|
return xe(() => {
|
|
30359
30359
|
u && typeof m == "function" && m({ ...g, form: e }, r);
|
|
30360
30360
|
}, [u]), /* @__PURE__ */ H(_n, { children: [
|
|
30361
|
-
/* @__PURE__ */ b(Ic, { children: /* @__PURE__ */ b(ts, { spacing: 4, children:
|
|
30361
|
+
/* @__PURE__ */ b(Ic, { children: /* @__PURE__ */ b(ts, { spacing: 4, children: Wl.map(
|
|
30362
30362
|
o,
|
|
30363
30363
|
(v, x) => zn(v, {
|
|
30364
30364
|
resource: n,
|
|
@@ -30385,12 +30385,12 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30385
30385
|
onClick: /* @__PURE__ */ s((v) => {
|
|
30386
30386
|
l(!1), v.stopPropagation();
|
|
30387
30387
|
}, "onClick"),
|
|
30388
|
-
children: /* @__PURE__ */ b(
|
|
30388
|
+
children: /* @__PURE__ */ b(bl, {})
|
|
30389
30389
|
}
|
|
30390
30390
|
)
|
|
30391
30391
|
] })
|
|
30392
30392
|
] });
|
|
30393
|
-
}, "EtrDialogChild"),
|
|
30393
|
+
}, "EtrDialogChild"), Ca = /* @__PURE__ */ s((t, e, n, r) => {
|
|
30394
30394
|
}, "fnEmpty"), cx = /* @__PURE__ */ s((t) => typeof t == "number" && Number.isFinite(t), "isFiniteNumber"), ux = /* @__PURE__ */ s((t) => Array.from(t.current?.getRowModels?.().values?.() || []), "getRowsSnapshot"), WV = /* @__PURE__ */ s((t) => {
|
|
30395
30395
|
const {
|
|
30396
30396
|
editors: e,
|
|
@@ -30399,8 +30399,8 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30399
30399
|
label: o,
|
|
30400
30400
|
source: i,
|
|
30401
30401
|
enviarTodo: a,
|
|
30402
|
-
onBeforeSubmitAsistente: l =
|
|
30403
|
-
onAfterSubmitAsistente: u =
|
|
30402
|
+
onBeforeSubmitAsistente: l = Ca,
|
|
30403
|
+
onAfterSubmitAsistente: u = Ca,
|
|
30404
30404
|
validateAllowAdd: d
|
|
30405
30405
|
} = t, [p, f] = S.useState(!1), h = pt(t), m = en(), y = Os(), g = mO({ apiRef: y, source: i, enviarTodo: a }), v = "N", { estado: x } = kt(), T = Lr(), C = Ht()("ra.action.create");
|
|
30406
30406
|
return /* @__PURE__ */ H(_n, { children: [
|
|
@@ -30461,8 +30461,8 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30461
30461
|
source: i,
|
|
30462
30462
|
row: a,
|
|
30463
30463
|
enviarTodo: l,
|
|
30464
|
-
onBeforeSubmitAsistente: u =
|
|
30465
|
-
onAfterSubmitAsistente: d =
|
|
30464
|
+
onBeforeSubmitAsistente: u = Ca,
|
|
30465
|
+
onAfterSubmitAsistente: d = Ca
|
|
30466
30466
|
} = t, p = Ht(), [f, h] = S.useState(!1), m = Os(), y = en(), g = gO({ apiRef: m, source: i, enviarTodo: l }), v = "M", { estado: x } = kt(), T = Lr(), E = p("ra.action.edit");
|
|
30467
30467
|
return /* @__PURE__ */ H(_n, { children: [
|
|
30468
30468
|
/* @__PURE__ */ b(
|
|
@@ -30520,8 +30520,8 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30520
30520
|
row: r,
|
|
30521
30521
|
source: o,
|
|
30522
30522
|
enviarTodo: i,
|
|
30523
|
-
onBeforeSubmitAsistente: a =
|
|
30524
|
-
onAfterSubmitAsistente: l =
|
|
30523
|
+
onBeforeSubmitAsistente: a = Ca,
|
|
30524
|
+
onAfterSubmitAsistente: l = Ca
|
|
30525
30525
|
} = t, [u, d] = S.useState(!1), p = Os(), f = en(), h = yO({ apiRef: p, source: o, enviarTodo: i }), { estado: m } = kt(), y = Lr();
|
|
30526
30526
|
return /* @__PURE__ */ H(Or, { children: [
|
|
30527
30527
|
/* @__PURE__ */ b(
|
|
@@ -30733,7 +30733,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30733
30733
|
);
|
|
30734
30734
|
}, "renderCell")
|
|
30735
30735
|
}));
|
|
30736
|
-
const Ce =
|
|
30736
|
+
const Ce = it(() => pe, [JSON.stringify(pe)]), St = it(
|
|
30737
30737
|
() => ({
|
|
30738
30738
|
...E.initialState?.columns?.columnVisibilityModel || {},
|
|
30739
30739
|
...zt.initialState?.columns?.columnVisibilityModel || {},
|
|
@@ -30748,12 +30748,12 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30748
30748
|
hn.initialState?.columns?.columnVisibilityModel
|
|
30749
30749
|
)
|
|
30750
30750
|
]
|
|
30751
|
-
), wn =
|
|
30751
|
+
), wn = it(
|
|
30752
30752
|
() => Ce.filter(
|
|
30753
30753
|
(Ke) => St[Ke?.field] !== !1
|
|
30754
30754
|
),
|
|
30755
30755
|
[Ce, St]
|
|
30756
|
-
), mn =
|
|
30756
|
+
), mn = it(
|
|
30757
30757
|
() => wn.reduce((Ke, Kn) => cx(Kn?.width) ? Ke + Kn.width : cx(Kn?.minWidth) ? Ke + Kn.minWidth : Ke + 140, 0),
|
|
30758
30758
|
[wn]
|
|
30759
30759
|
), po = !0;
|
|
@@ -30933,7 +30933,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
30933
30933
|
enableLoad: i = !0,
|
|
30934
30934
|
initialState: a,
|
|
30935
30935
|
...l
|
|
30936
|
-
} = t, { isLoading: u } = kt(), d = mr(), [p, f] = Te(n), [{ field: h, sort: m }] = n, y =
|
|
30936
|
+
} = t, { isLoading: u } = kt(), d = mr(), [p, f] = Te(n), [{ field: h, sort: m }] = n, y = it(
|
|
30937
30937
|
() => [...r],
|
|
30938
30938
|
[JSON.stringify(r)]
|
|
30939
30939
|
);
|
|
@@ -31208,7 +31208,7 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
31208
31208
|
r(!0);
|
|
31209
31209
|
}, []), i = je(() => {
|
|
31210
31210
|
r(!1);
|
|
31211
|
-
}, []), a =
|
|
31211
|
+
}, []), a = it(
|
|
31212
31212
|
() => ({
|
|
31213
31213
|
isOpen: n,
|
|
31214
31214
|
open: o,
|
|
@@ -31298,10 +31298,10 @@ const zk = /* @__PURE__ */ s((t) => {
|
|
|
31298
31298
|
}
|
|
31299
31299
|
)
|
|
31300
31300
|
] });
|
|
31301
|
-
}, "DeleteButtonWithValidation"),
|
|
31302
|
-
form: `${
|
|
31301
|
+
}, "DeleteButtonWithValidation"), nc = "FormEtriek", Vu = {
|
|
31302
|
+
form: `${nc}-form`,
|
|
31303
31303
|
tab: "StickyFormTab",
|
|
31304
|
-
contenido: `${
|
|
31304
|
+
contenido: `${nc}-contenido`
|
|
31305
31305
|
}, rj = ".MuiDialog-paper", s0 = /* @__PURE__ */ s((t) => ({
|
|
31306
31306
|
[`& .${Vu.form}`]: {
|
|
31307
31307
|
display: "flex",
|
|
@@ -31441,7 +31441,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31441
31441
|
enabled: n
|
|
31442
31442
|
},
|
|
31443
31443
|
T
|
|
31444
|
-
), w = m && typeof m == "object" && !Array.isArray(m) ? { ...m, ...E || {} } : E, k =
|
|
31444
|
+
), w = m && typeof m == "object" && !Array.isArray(m) ? { ...m, ...E || {} } : E, k = it(
|
|
31445
31445
|
() => ({
|
|
31446
31446
|
estado: f,
|
|
31447
31447
|
initialValues: w || {},
|
|
@@ -31483,7 +31483,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31483
31483
|
popupMutationOptions: a,
|
|
31484
31484
|
children: l,
|
|
31485
31485
|
...u
|
|
31486
|
-
} = t, { fichaProps: d } = i0(t), p = r === "ventana" ? ej : S2, f =
|
|
31486
|
+
} = t, { fichaProps: d } = i0(t), p = r === "ventana" ? ej : S2, f = it(
|
|
31487
31487
|
() => Jk(i, a),
|
|
31488
31488
|
[i, a]
|
|
31489
31489
|
), h = /* @__PURE__ */ b(
|
|
@@ -31560,7 +31560,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31560
31560
|
i
|
|
31561
31561
|
]), d ? null : /* @__PURE__ */ b(dx, { ...t });
|
|
31562
31562
|
}, "CreateEtriek"), JY = ee(lj, {
|
|
31563
|
-
name:
|
|
31563
|
+
name: nc,
|
|
31564
31564
|
overridesResolver: /* @__PURE__ */ s((t, e) => e.root, "overridesResolver")
|
|
31565
31565
|
})(({ theme: t }) => s0(t)), cj = /* @__PURE__ */ s((t) => {
|
|
31566
31566
|
const e = pt(t), n = Gk(t);
|
|
@@ -31807,7 +31807,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31807
31807
|
typeof t[n] == "string" && t[n].trim().length === 0 || (t[n] == null && (t[n] = ""), e[n] = t[n]);
|
|
31808
31808
|
return e;
|
|
31809
31809
|
}, "defaultTransform"), yj = /* @__PURE__ */ s((t) => {
|
|
31810
|
-
const { children: e, fichaProps: n, mutationOptions: r } = t, o = E2(), [i, a] = Te(null), l = co(), u = ui(), d = pt(t), { record: p, isFetching: f } = o, h = t.estado ?? (l?.state?.estado || "M"), m = p?.id ?? l?.state?.id ?? "edit", y = `${d}:${h}:${m}`, g =
|
|
31810
|
+
const { children: e, fichaProps: n, mutationOptions: r } = t, o = E2(), [i, a] = Te(null), l = co(), u = ui(), d = pt(t), { record: p, isFetching: f } = o, h = t.estado ?? (l?.state?.estado || "M"), m = p?.id ?? l?.state?.id ?? "edit", y = `${d}:${h}:${m}`, g = it(
|
|
31811
31811
|
() => ({
|
|
31812
31812
|
estado: h,
|
|
31813
31813
|
initialValues: p,
|
|
@@ -31845,7 +31845,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31845
31845
|
popupMutationOptions: o,
|
|
31846
31846
|
children: i,
|
|
31847
31847
|
...a
|
|
31848
|
-
} = t, l = FT(), u = QE(t) ?? l?.id, { fichaProps: d } = i0(t), p =
|
|
31848
|
+
} = t, l = FT(), u = QE(t) ?? l?.id, { fichaProps: d } = i0(t), p = it(
|
|
31849
31849
|
() => Jk(r, o),
|
|
31850
31850
|
[r, o]
|
|
31851
31851
|
), f = /* @__PURE__ */ b(
|
|
@@ -31874,7 +31874,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31874
31874
|
const e = co(), n = Ao(), r = Ro(), o = vr(), i = pt(t), a = md({
|
|
31875
31875
|
resource: i,
|
|
31876
31876
|
dockviewTabParent: !0
|
|
31877
|
-
}), l = $p(), u = FT(), d = vn(!1), p = e?.state?._asistentePopup === "router" && typeof n?.show == "function", f =
|
|
31877
|
+
}), l = $p(), u = FT(), d = vn(!1), p = e?.state?._asistentePopup === "router" && typeof n?.show == "function", f = Hl(`/${i}/:id/*`, e.pathname) || Hl(`/${i}/:id`, e.pathname), h = t.id ?? u?.id ?? e?.state?.id ?? e?.state?.record?.id ?? t.record?.id ?? f?.params?.id, m = p && !!h, y = m ? `${i}:${h}` : null;
|
|
31878
31878
|
return xe(() => {
|
|
31879
31879
|
if (!m || d.current || (d.current = !0, y && (Cu.has(y) || n?.open && n?.props?._popupKey === y) || !y))
|
|
31880
31880
|
return;
|
|
@@ -31921,7 +31921,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31921
31921
|
i
|
|
31922
31922
|
]), m ? null : /* @__PURE__ */ b(mx, { ...t });
|
|
31923
31923
|
}, "EditEtriek"), ZY = ee(bj, {
|
|
31924
|
-
name:
|
|
31924
|
+
name: nc,
|
|
31925
31925
|
overridesResolver: /* @__PURE__ */ s((t, e) => e.root, "overridesResolver")
|
|
31926
31926
|
})(({ theme: t }) => s0(t)), eJ = S.forwardRef((t, e) => {
|
|
31927
31927
|
const {
|
|
@@ -31947,7 +31947,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31947
31947
|
"aria-labelledby": "form-dialog-title",
|
|
31948
31948
|
children: [
|
|
31949
31949
|
/* @__PURE__ */ b(Nc, { id: "form-dialog-title", children: i }),
|
|
31950
|
-
/* @__PURE__ */ H(
|
|
31950
|
+
/* @__PURE__ */ H(Ia, { resource: f, onSubmit: r, children: [
|
|
31951
31951
|
/* @__PURE__ */ H(Ic, { dividers: !0, children: [
|
|
31952
31952
|
/* @__PURE__ */ b(Pb, { children: a }),
|
|
31953
31953
|
/* @__PURE__ */ b(un, { sx: { mt: 2 }, children: l })
|
|
@@ -31959,7 +31959,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
31959
31959
|
label: "ra.action.cancel",
|
|
31960
31960
|
disabled: p,
|
|
31961
31961
|
onClick: /* @__PURE__ */ s((m) => h(m), "onClick"),
|
|
31962
|
-
children: /* @__PURE__ */ b(
|
|
31962
|
+
children: /* @__PURE__ */ b(bl, {})
|
|
31963
31963
|
}
|
|
31964
31964
|
),
|
|
31965
31965
|
u && /* @__PURE__ */ b(
|
|
@@ -32011,7 +32011,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
32011
32011
|
}, xj = ".MuiDialog-paper", Ph = /* @__PURE__ */ s((t) => {
|
|
32012
32012
|
t.preventDefault();
|
|
32013
32013
|
}, "disableKeyboardEvents"), Cj = /* @__PURE__ */ s(() => typeof document > "u" ? !1 : !!document.activeElement?.closest?.(xj), "isDialogInteraction"), wj = /* @__PURE__ */ s((t, e) => typeof t?.hide != "function" || !t?.open ? !1 : e ? !0 : Cj() ? !!(t?.props?._popupKey || t?.props?.tipo === "vista") : !1, "canHideAsistentePopup"), Qk = /* @__PURE__ */ s((t) => {
|
|
32014
|
-
const e =
|
|
32014
|
+
const e = La(), n = co(), r = pt(), o = Ro(), i = mr(), a = Ao(), { estado: l, mutationOptions: u = {} } = kt(), d = u?._popupKey, p = l === "B" || n.state?.estado === "B", f = Rf({ borrar: p, ...t }), h = e.open || p, m = e.open ? Sj : vj;
|
|
32015
32015
|
return /* @__PURE__ */ H(_n, { children: [
|
|
32016
32016
|
e.open && /* @__PURE__ */ b(
|
|
32017
32017
|
Es,
|
|
@@ -32130,7 +32130,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
32130
32130
|
]
|
|
32131
32131
|
}
|
|
32132
32132
|
);
|
|
32133
|
-
}, "StickySimpleFormView"), Oj = /* @__PURE__ */ b(Mf, {}), kj = ee(
|
|
32133
|
+
}, "StickySimpleFormView"), Oj = /* @__PURE__ */ b(Mf, {}), kj = ee(Ia)(() => ({
|
|
32134
32134
|
display: "flex",
|
|
32135
32135
|
flexDirection: "column",
|
|
32136
32136
|
flex: 1,
|
|
@@ -32213,7 +32213,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
32213
32213
|
paddingLeft: (t.children.props.children[0] ? t.children.props.children[0].key : "").startsWith("menu") ? 2 : 0,
|
|
32214
32214
|
backgroundColor: /* @__PURE__ */ s((p) => (
|
|
32215
32215
|
//alpha(theme.palette.grey['400'], 0.24),
|
|
32216
|
-
|
|
32216
|
+
fa(p.palette.secondary.light, 0.24)
|
|
32217
32217
|
), "backgroundColor"),
|
|
32218
32218
|
"& a": {
|
|
32219
32219
|
transition: "padding-left 195ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",
|
|
@@ -32371,7 +32371,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
32371
32371
|
}, "handleSubMenuItemSelect");
|
|
32372
32372
|
delete p.hasCreate;
|
|
32373
32373
|
const Q = S.useMemo(
|
|
32374
|
-
() =>
|
|
32374
|
+
() => Wl.map(i, (B, se) => {
|
|
32375
32375
|
const J = B.props || {};
|
|
32376
32376
|
if (Array.isArray(J.options) && J.options.length > 0)
|
|
32377
32377
|
return {
|
|
@@ -32476,7 +32476,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
32476
32476
|
}
|
|
32477
32477
|
}), se;
|
|
32478
32478
|
});
|
|
32479
|
-
}, [oe]),
|
|
32479
|
+
}, [oe]), it(
|
|
32480
32480
|
() => /* @__PURE__ */ H(mT, { className: n, ...A2(p), children: [
|
|
32481
32481
|
a ? null : r ? zn(r, {
|
|
32482
32482
|
resource: w,
|
|
@@ -32504,7 +32504,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
32504
32504
|
z && _ !== "custom" && U === "pivot" && /* @__PURE__ */ b(En, { onClick: ie, children: /* @__PURE__ */ b(sd, {}) }),
|
|
32505
32505
|
!l && oe.length > 0 && /* @__PURE__ */ b(En, { onClick: Y, children: /* @__PURE__ */ b(Aj, {}) }),
|
|
32506
32506
|
!l && oe.length > 0 && /* @__PURE__ */ b(
|
|
32507
|
-
|
|
32507
|
+
ua,
|
|
32508
32508
|
{
|
|
32509
32509
|
anchorEl: f,
|
|
32510
32510
|
open: !!f,
|
|
@@ -32557,7 +32557,7 @@ const Yk = /* @__PURE__ */ s(() => {
|
|
|
32557
32557
|
`menu-${B.index}`
|
|
32558
32558
|
),
|
|
32559
32559
|
/* @__PURE__ */ b(
|
|
32560
|
-
|
|
32560
|
+
ua,
|
|
32561
32561
|
{
|
|
32562
32562
|
anchorEl: f,
|
|
32563
32563
|
open: m === B.index,
|
|
@@ -33086,7 +33086,7 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33086
33086
|
nameSource: n = "username",
|
|
33087
33087
|
passwordSource: r = "password"
|
|
33088
33088
|
} = t, [o, i] = Te(!1), a = Ht(), l = a("ra.auth.sign_in"), u = vr(), d = I2(), p = co();
|
|
33089
|
-
return /* @__PURE__ */ b(
|
|
33089
|
+
return /* @__PURE__ */ b(Ia, { onSubmit: /* @__PURE__ */ s((m) => {
|
|
33090
33090
|
i(!0), d(m, p.state ? p.state.nextPathname : "/").catch(
|
|
33091
33091
|
(y) => {
|
|
33092
33092
|
i(!1), u(
|
|
@@ -33205,7 +33205,7 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33205
33205
|
// NUEVO (opcional): si querés forzar el tooltip del botón, aunque el seleccionado sea otro
|
|
33206
33206
|
title: i
|
|
33207
33207
|
// string
|
|
33208
|
-
} = t, [a, l] = Te(!1), u = vn(), d = pt(t), { menuModel: p, leafOptions: f } =
|
|
33208
|
+
} = t, [a, l] = Te(!1), u = vn(), d = pt(t), { menuModel: p, leafOptions: f } = it(() => {
|
|
33209
33209
|
const C = [], w = [];
|
|
33210
33210
|
return (e || []).forEach((k) => {
|
|
33211
33211
|
Array.isArray(k?.children) && k.children.length > 0 ? (w.push({
|
|
@@ -33336,7 +33336,7 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33336
33336
|
)
|
|
33337
33337
|
] });
|
|
33338
33338
|
}, "MultiTextField"), Xj = /* @__PURE__ */ s((t) => {
|
|
33339
|
-
const { children: e, fichaProps: n } = t, r = D2(), [o, i] = Te(null), a = co(), l = ui(), u = pt(t), { record: d, isFetching: p } = r, f = a?.state?.estado || "M", h = d?.id ?? a?.state?.id ?? "show", m = `${u}:${f}:${h}`, y =
|
|
33339
|
+
const { children: e, fichaProps: n } = t, r = D2(), [o, i] = Te(null), a = co(), l = ui(), u = pt(t), { record: d, isFetching: p } = r, f = a?.state?.estado || "M", h = d?.id ?? a?.state?.id ?? "show", m = `${u}:${f}:${h}`, y = it(
|
|
33340
33340
|
() => ({
|
|
33341
33341
|
estado: f,
|
|
33342
33342
|
initialValues: d,
|
|
@@ -33362,17 +33362,17 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33362
33362
|
const { useFormulario: e, children: n, ...r } = t, o = QE(t), { fichaProps: i } = i0(t);
|
|
33363
33363
|
return /* @__PURE__ */ b(Dc, { children: /* @__PURE__ */ b(N2, { id: o, emptyWhileLoading: !0, ...r, ...i?.panel, children: /* @__PURE__ */ b(Xj, { fichaProps: i, children: n }) }) });
|
|
33364
33364
|
}, "ShowEtriek"), sJ = ee(Qj, {
|
|
33365
|
-
name:
|
|
33365
|
+
name: nc,
|
|
33366
33366
|
overridesResolver: /* @__PURE__ */ s((t, e) => e.root, "overridesResolver")
|
|
33367
33367
|
})(({ theme: t }) => s0(t)), rM = de(/* @__PURE__ */ b("path", {
|
|
33368
33368
|
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
33369
|
-
}), "ChevronLeft"),
|
|
33370
|
-
header: `${
|
|
33371
|
-
headerDivider: `${
|
|
33372
|
-
navigation: `${
|
|
33373
|
-
tabs: `${
|
|
33369
|
+
}), "ChevronLeft"), pl = "RaTabbedForm", Ln = {
|
|
33370
|
+
header: `${pl}-header`,
|
|
33371
|
+
headerDivider: `${pl}-headerDivider`,
|
|
33372
|
+
navigation: `${pl}-navigation`,
|
|
33373
|
+
tabs: `${pl}-tabs`
|
|
33374
33374
|
}, Zj = /* @__PURE__ */ s(() => {
|
|
33375
|
-
const t = co(), e =
|
|
33375
|
+
const t = co(), e = Hl(":resource/create/*", t.pathname), n = Hl(":resource/:id/*", t.pathname);
|
|
33376
33376
|
return e ? e.pathnameBase : n ? n.pathnameBase : "";
|
|
33377
33377
|
}, "useFormRootPath"), e6 = /* @__PURE__ */ s(({ children: t }) => /* @__PURE__ */ b(
|
|
33378
33378
|
Xk,
|
|
@@ -33393,7 +33393,7 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33393
33393
|
), "DefaultComponent"), yx = /* @__PURE__ */ s((t) => cr(t) && ("label" in t.props || "path" in t.props || "icon" in t.props), "isTabElement"), t6 = /* @__PURE__ */ s((t) => {
|
|
33394
33394
|
const e = FE({
|
|
33395
33395
|
props: t,
|
|
33396
|
-
name:
|
|
33396
|
+
name: pl
|
|
33397
33397
|
}), {
|
|
33398
33398
|
children: n,
|
|
33399
33399
|
className: r,
|
|
@@ -33415,12 +33415,12 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33415
33415
|
},
|
|
33416
33416
|
F
|
|
33417
33417
|
)), l.props.onChange && l.props.onChange(F, U);
|
|
33418
|
-
}, "handleTabChange"), D =
|
|
33418
|
+
}, "handleTabChange"), D = it(() => Wl.toArray(n), [n]), A = it(
|
|
33419
33419
|
() => D.reduce((F, U) => yx(U) ? [...F, { tab: U, tabIndex: F.length }] : F, []),
|
|
33420
33420
|
[D]
|
|
33421
|
-
), N =
|
|
33421
|
+
), N = it(() => a ? A.findIndex(({ tab: F, tabIndex: U }) => {
|
|
33422
33422
|
const X = Jc(F, U);
|
|
33423
|
-
return
|
|
33423
|
+
return Hl(
|
|
33424
33424
|
`${g}/${X}`,
|
|
33425
33425
|
f.pathname
|
|
33426
33426
|
);
|
|
@@ -33430,7 +33430,7 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33430
33430
|
a,
|
|
33431
33431
|
m,
|
|
33432
33432
|
A
|
|
33433
|
-
]), I =
|
|
33433
|
+
]), I = it(() => !a || N >= 0 ? N : A.length ? 0 : -1, [N, a, A.length]), O = it(() => {
|
|
33434
33434
|
if (a) {
|
|
33435
33435
|
const F = A[I];
|
|
33436
33436
|
return F ? Jc(
|
|
@@ -33446,7 +33446,7 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33446
33446
|
const F = w + C, U = I < 0 ? 0 : I;
|
|
33447
33447
|
U < w ? k(U) : U >= F && k(U - C + 1), M.current = N;
|
|
33448
33448
|
}, [I, C, w]);
|
|
33449
|
-
const P =
|
|
33449
|
+
const P = it(() => (T ? A : A.slice(w, w + C)).map(({ tab: U, tabIndex: X }) => {
|
|
33450
33450
|
const W = a ? Jc(U, X) : X;
|
|
33451
33451
|
return U.props?.value === W ? U : zn(U, { value: W });
|
|
33452
33452
|
}), [T, C, w, a, A]), $ = w > 0, L = w + C < A.length, V = /* @__PURE__ */ s(() => {
|
|
@@ -33574,7 +33574,7 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33574
33574
|
},
|
|
33575
33575
|
children: /* @__PURE__ */ b(o, { children: (() => {
|
|
33576
33576
|
let F = -1;
|
|
33577
|
-
return
|
|
33577
|
+
return Wl.map(n, (U) => {
|
|
33578
33578
|
if (!U)
|
|
33579
33579
|
return null;
|
|
33580
33580
|
if (!yx(U))
|
|
@@ -33612,7 +33612,7 @@ const rJ = /* @__PURE__ */ s((t) => {
|
|
|
33612
33612
|
]
|
|
33613
33613
|
}
|
|
33614
33614
|
);
|
|
33615
|
-
}, "StickyTabbedFormView"), n6 = /* @__PURE__ */ b(MT, {}), r6 = /* @__PURE__ */ b(Mf, {}), o6 = ee(
|
|
33615
|
+
}, "StickyTabbedFormView"), n6 = /* @__PURE__ */ b(MT, {}), r6 = /* @__PURE__ */ b(Mf, {}), o6 = ee(Ia)(() => ({
|
|
33616
33616
|
display: "flex",
|
|
33617
33617
|
flexDirection: "column",
|
|
33618
33618
|
flex: 1,
|
|
@@ -34122,7 +34122,7 @@ const Sx = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
34122
34122
|
disabled: e,
|
|
34123
34123
|
onClick: x,
|
|
34124
34124
|
color: "inherit",
|
|
34125
|
-
children: /* @__PURE__ */ b(
|
|
34125
|
+
children: /* @__PURE__ */ b(bl, {})
|
|
34126
34126
|
}
|
|
34127
34127
|
)
|
|
34128
34128
|
] }) }),
|
|
@@ -34243,7 +34243,7 @@ const Sx = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
34243
34243
|
label: R,
|
|
34244
34244
|
disabled: e,
|
|
34245
34245
|
onClick: x,
|
|
34246
|
-
children: /* @__PURE__ */ b(
|
|
34246
|
+
children: /* @__PURE__ */ b(bl, {})
|
|
34247
34247
|
}
|
|
34248
34248
|
),
|
|
34249
34249
|
!A && C && /* @__PURE__ */ b(
|
|
@@ -34273,7 +34273,7 @@ const Sx = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
34273
34273
|
minHeight: 0
|
|
34274
34274
|
}
|
|
34275
34275
|
},
|
|
34276
|
-
children: A ? I : /* @__PURE__ */ b(
|
|
34276
|
+
children: A ? I : /* @__PURE__ */ b(Ia, { resource: n, onSubmit: v, children: I })
|
|
34277
34277
|
}
|
|
34278
34278
|
)
|
|
34279
34279
|
] });
|
|
@@ -34298,7 +34298,7 @@ const Sx = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
34298
34298
|
label: T,
|
|
34299
34299
|
disabled: e,
|
|
34300
34300
|
onClick: x,
|
|
34301
|
-
children: /* @__PURE__ */ b(
|
|
34301
|
+
children: /* @__PURE__ */ b(bl, {})
|
|
34302
34302
|
}
|
|
34303
34303
|
),
|
|
34304
34304
|
w !== !1 && /* @__PURE__ */ b(
|
|
@@ -34759,7 +34759,7 @@ const v6 = Pe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
34759
34759
|
return t.alpha(i, 0.4);
|
|
34760
34760
|
}
|
|
34761
34761
|
const r = Gr(t, `palette.${n}.main`, !1) || Gr(t, `palette.${n}`, !1) || e.color, o = Gr(t, `palette.${n}.mainChannel`) || Gr(t, `palette.${n}Channel`);
|
|
34762
|
-
return "vars" in t && o ? `rgba(${o} / 0.4)` :
|
|
34762
|
+
return "vars" in t && o ? `rgba(${o} / 0.4)` : fa(r, 0.4);
|
|
34763
34763
|
}, "getTextDecoration"), Cx = {
|
|
34764
34764
|
primary: !0,
|
|
34765
34765
|
secondary: !0,
|
|
@@ -34916,9 +34916,9 @@ const v6 = Pe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
34916
34916
|
sx: m,
|
|
34917
34917
|
...y
|
|
34918
34918
|
} = r, [g, v] = S.useState(!1), x = /* @__PURE__ */ s((w) => {
|
|
34919
|
-
|
|
34919
|
+
Sa(w.target) || v(!1), u && u(w);
|
|
34920
34920
|
}, "handleBlur"), T = /* @__PURE__ */ s((w) => {
|
|
34921
|
-
|
|
34921
|
+
Sa(w.target) && v(!0), d && d(w);
|
|
34922
34922
|
}, "handleFocus"), E = {
|
|
34923
34923
|
...r,
|
|
34924
34924
|
color: a,
|
|
@@ -35313,12 +35313,12 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
35313
35313
|
children: /* @__PURE__ */ b(V2, { ...e })
|
|
35314
35314
|
}
|
|
35315
35315
|
);
|
|
35316
|
-
}, "CheckBox"), M6 = gc((t, e) => /* @__PURE__ */ b(wo, { ref: e, ...t })),
|
|
35316
|
+
}, "CheckBox"), M6 = gc((t, e) => /* @__PURE__ */ b(wo, { ref: e, ...t })), ia = /* @__PURE__ */ s((t, e) => String(t ?? "") === String(e ?? ""), "sameId"), R6 = /* @__PURE__ */ s((t) => typeof t != "string" ? null : t.endsWith("cod") ? `${t.slice(0, -3)}nom` : t.endsWith("id") ? `${t.slice(0, -2)}name` : null, "inferLabelFieldFromSource"), c0 = /* @__PURE__ */ s((t, e) => {
|
|
35317
35317
|
if (t == null)
|
|
35318
35318
|
return "";
|
|
35319
35319
|
if (typeof t != "object")
|
|
35320
35320
|
return String(t);
|
|
35321
|
-
const n = R6(e), r = e ? t[e] : void 0, o = n ? t[n] : void 0, a = (t.etiqueta !== void 0 && t.etiqueta !== null && (
|
|
35321
|
+
const n = R6(e), r = e ? t[e] : void 0, o = n ? t[n] : void 0, a = (t.etiqueta !== void 0 && t.etiqueta !== null && (ia(t.etiqueta, t.id) || ia(t.etiqueta, r)) && o ? o : void 0) ?? t.etiqueta ?? t.label ?? t.nombre ?? t.name ?? t.descripcion ?? t.description ?? t.denominacion ?? t.detalle ?? o ?? r ?? t.id;
|
|
35322
35322
|
return a == null ? "" : String(a);
|
|
35323
35323
|
}, "resolveChoiceLabel"), P6 = /* @__PURE__ */ s((t, e, n) => {
|
|
35324
35324
|
const r = t && typeof t == "object" ? { ...t } : {};
|
|
@@ -35336,15 +35336,15 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
35336
35336
|
isFetching: u,
|
|
35337
35337
|
allChoices: d,
|
|
35338
35338
|
availableChoices: p
|
|
35339
|
-
} = AT(), f = vn(null), h =
|
|
35340
|
-
const
|
|
35339
|
+
} = AT(), f = vn(null), h = it(() => {
|
|
35340
|
+
const y = Array.isArray(p) ? p : [];
|
|
35341
35341
|
if (!Array.isArray(i) || i.length === 0)
|
|
35342
|
-
return
|
|
35343
|
-
const
|
|
35344
|
-
return
|
|
35345
|
-
|
|
35346
|
-
}),
|
|
35347
|
-
}, [p, i]);
|
|
35342
|
+
return y;
|
|
35343
|
+
const g = [...i];
|
|
35344
|
+
return y.forEach((v) => {
|
|
35345
|
+
g.some((x) => ia(x?.id, v?.id)) || g.push(v);
|
|
35346
|
+
}), g;
|
|
35347
|
+
}, [p, i]), m = it(() => l?.isRequired || !Array.isArray(h) ? !1 : !h.some((y) => ia(y?.id, "0")), [h, l?.isRequired]);
|
|
35348
35348
|
return xe(() => {
|
|
35349
35349
|
u || typeof e == "function" && e(Object.values([d]));
|
|
35350
35350
|
}, [d, e, u]), /* @__PURE__ */ b(M6, { title: f.current?.value || "", placement: "top", arrow: !0, children: /* @__PURE__ */ b(
|
|
@@ -35372,15 +35372,17 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
35372
35372
|
},
|
|
35373
35373
|
...l,
|
|
35374
35374
|
choices: h,
|
|
35375
|
-
|
|
35376
|
-
|
|
35377
|
-
|
|
35375
|
+
emptyText: m ? "" : l.emptyText,
|
|
35376
|
+
emptyValue: m ? "0" : l.emptyValue,
|
|
35377
|
+
onChange: /* @__PURE__ */ s((y) => {
|
|
35378
|
+
const g = h.find(
|
|
35379
|
+
(v) => ia(v?.id, y)
|
|
35378
35380
|
);
|
|
35379
35381
|
o({
|
|
35380
35382
|
target: {
|
|
35381
|
-
value:
|
|
35383
|
+
value: y
|
|
35382
35384
|
},
|
|
35383
|
-
label: c0(
|
|
35385
|
+
label: c0(g, l.source)
|
|
35384
35386
|
});
|
|
35385
35387
|
}, "onChange"),
|
|
35386
35388
|
TextFieldProps: { inputRef: f }
|
|
@@ -35405,7 +35407,7 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
35405
35407
|
(A, N) => {
|
|
35406
35408
|
const I = A?.id ?? A?.[m] ?? N?.id ?? N?.data?.id ?? N?.data?.[m], O = P6(A, I, m);
|
|
35407
35409
|
O && O.id !== void 0 && O.id !== null && O.id !== "" && x((M) => M.some(
|
|
35408
|
-
($) =>
|
|
35410
|
+
($) => ia($?.id, O.id)
|
|
35409
35411
|
) ? M : [O, ...M].slice(0, 50)), o.invalidateQueries({
|
|
35410
35412
|
queryKey: [y, "getList"]
|
|
35411
35413
|
}), o.invalidateQueries({
|
|
@@ -35492,19 +35494,21 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
35492
35494
|
const { propsContenido: e, hidden: n } = In(t), { conts: r = {} } = Je(er) || {}, o = r?.[t.source]?.options, i = S.useMemo(() => {
|
|
35493
35495
|
if (!(typeof o != "string" || o.trim() === ""))
|
|
35494
35496
|
try {
|
|
35495
|
-
const
|
|
35496
|
-
return Array.isArray(
|
|
35497
|
+
const d = JSON.parse(o);
|
|
35498
|
+
return Array.isArray(d) ? d : void 0;
|
|
35497
35499
|
} catch {
|
|
35498
35500
|
return;
|
|
35499
35501
|
}
|
|
35500
35502
|
}, [o]), a = S.useMemo(() => {
|
|
35501
|
-
const
|
|
35502
|
-
return
|
|
35503
|
-
}, [e?.choices, t?.choices, i]), l = S.useMemo(() =>
|
|
35504
|
-
|
|
35505
|
-
|
|
35506
|
-
|
|
35507
|
-
|
|
35503
|
+
const d = e?.choices, p = t?.choices;
|
|
35504
|
+
return d !== void 0 && d !== p ? d : i !== void 0 ? i : p;
|
|
35505
|
+
}, [e?.choices, t?.choices, i]), l = S.useMemo(() => e?.isRequired || !Array.isArray(a) ? !1 : !a.some(
|
|
35506
|
+
(d) => String(d?.id ?? "").trim() === "0"
|
|
35507
|
+
), [a, e?.isRequired]), u = S.useMemo(() => {
|
|
35508
|
+
const d = { ...e };
|
|
35509
|
+
return a !== void 0 ? d.choices = a : "choices" in d && delete d.choices, l && (d.emptyValue = "0"), d;
|
|
35510
|
+
}, [e, a, l]);
|
|
35511
|
+
return n ? null : /* @__PURE__ */ b(W2, { ...u });
|
|
35508
35512
|
}, "ComboBoxManual"), SJ = /* @__PURE__ */ s((t) => {
|
|
35509
35513
|
const { title: e, source: n, src: r } = t, o = mr(t), i = `${r}/${o[n]}`;
|
|
35510
35514
|
return /* @__PURE__ */ b(a0, { title: e, src: i });
|
|
@@ -36171,10 +36175,10 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36171
36175
|
}), "Person"), uM = de(/* @__PURE__ */ b("path", {
|
|
36172
36176
|
d: "M8.65 5.82C9.36 4.72 10.6 4 12 4c2.21 0 4 1.79 4 4 0 1.4-.72 2.64-1.82 3.35zM20 17.17c-.02-1.1-.63-2.11-1.61-2.62-.54-.28-1.13-.54-1.77-.76zm1.19 4.02L2.81 2.81 1.39 4.22l8.89 8.89c-1.81.23-3.39.79-4.67 1.45-1 .51-1.61 1.54-1.61 2.66V20h13.17l2.61 2.61z"
|
|
36173
36177
|
}), "PersonOff"), U6 = /* @__PURE__ */ s(({ onRecordsLoaded: t }) => {
|
|
36174
|
-
const { data: e = [], isPending: n, isLoading: r, isFetching: o } = To(), i =
|
|
36178
|
+
const { data: e = [], isPending: n, isLoading: r, isFetching: o } = To(), i = it(
|
|
36175
36179
|
() => Array.isArray(e) ? e : Object.values(e),
|
|
36176
36180
|
[e]
|
|
36177
|
-
), a =
|
|
36181
|
+
), a = it(
|
|
36178
36182
|
() => i.map((u) => String(u.id)).join("|"),
|
|
36179
36183
|
[i]
|
|
36180
36184
|
), l = S.useRef(i);
|
|
@@ -36252,10 +36256,10 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36252
36256
|
}
|
|
36253
36257
|
},
|
|
36254
36258
|
children: [
|
|
36255
|
-
/* @__PURE__ */ b(
|
|
36256
|
-
/* @__PURE__ */ b(
|
|
36257
|
-
/* @__PURE__ */ b(
|
|
36258
|
-
/* @__PURE__ */ b(
|
|
36259
|
+
/* @__PURE__ */ b(il, { source: "funcod", sortable: !0, label: "Código" }),
|
|
36260
|
+
/* @__PURE__ */ b(il, { source: "funced", sortable: !0, label: "Cédula" }),
|
|
36261
|
+
/* @__PURE__ */ b(il, { source: "funpriape", sortable: !0, label: "Apellido" }),
|
|
36262
|
+
/* @__PURE__ */ b(il, { source: "funprinom", sortable: !0, label: "Nombre" })
|
|
36259
36263
|
]
|
|
36260
36264
|
}
|
|
36261
36265
|
);
|
|
@@ -36299,7 +36303,7 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36299
36303
|
0
|
|
36300
36304
|
);
|
|
36301
36305
|
return `${Ox(n)}@${Ox(r)}`;
|
|
36302
|
-
}, "getMonthRange"),
|
|
36306
|
+
}, "getMonthRange"), rl = [
|
|
36303
36307
|
{
|
|
36304
36308
|
key: "activos",
|
|
36305
36309
|
label: "Activos",
|
|
@@ -36342,13 +36346,13 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36342
36346
|
meta: n,
|
|
36343
36347
|
onRecordsLoaded: r,
|
|
36344
36348
|
onListParamsChange: o,
|
|
36345
|
-
initialFilterKey: i =
|
|
36349
|
+
initialFilterKey: i = rl[0].key,
|
|
36346
36350
|
filterOptionKeys: a
|
|
36347
|
-
} = t, l =
|
|
36351
|
+
} = t, l = it(() => !Array.isArray(a) || a.length === 0 ? rl : rl.filter(
|
|
36348
36352
|
(z) => a.includes(z.key)
|
|
36349
36353
|
), [a]), [u, d] = Te(X6), [p, f] = Te([]), [h, m] = Te(null), [y, g] = Te(!0), [v, x] = Te(!1), [T, E] = Te(
|
|
36350
|
-
l.find((z) => z.key === i) || l[0] ||
|
|
36351
|
-
), C = ui(), w = br(), k = !!h, R =
|
|
36354
|
+
l.find((z) => z.key === i) || l[0] || rl[0]
|
|
36355
|
+
), C = ui(), w = br(), k = !!h, R = it(
|
|
36352
36356
|
() => ({
|
|
36353
36357
|
...n || {},
|
|
36354
36358
|
...T.getMeta()
|
|
@@ -36356,7 +36360,7 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36356
36360
|
[n, T]
|
|
36357
36361
|
);
|
|
36358
36362
|
xe(() => {
|
|
36359
|
-
const z = l.find((_) => _.key === i) || l[0] ||
|
|
36363
|
+
const z = l.find((_) => _.key === i) || l[0] || rl[0];
|
|
36360
36364
|
E(z), g(!0);
|
|
36361
36365
|
}, [l, i]), xe(() => {
|
|
36362
36366
|
o && o({
|
|
@@ -36544,7 +36548,7 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36544
36548
|
}
|
|
36545
36549
|
),
|
|
36546
36550
|
/* @__PURE__ */ b(
|
|
36547
|
-
|
|
36551
|
+
ua,
|
|
36548
36552
|
{
|
|
36549
36553
|
anchorEl: h,
|
|
36550
36554
|
open: k,
|
|
@@ -36789,14 +36793,14 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36789
36793
|
Icon: nW,
|
|
36790
36794
|
popupFilterKey: "todos"
|
|
36791
36795
|
}
|
|
36792
|
-
],
|
|
36796
|
+
], fl = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "normalizeSoloActivos"), pM = /* @__PURE__ */ s(({ soloActivos: t = "A" } = {}) => ({
|
|
36793
36797
|
seleccion: "",
|
|
36794
36798
|
all: !0,
|
|
36795
36799
|
none: !1,
|
|
36796
36800
|
asistente: "224",
|
|
36797
36801
|
filtro: "",
|
|
36798
36802
|
soloActivos: t
|
|
36799
|
-
}), "createDefaultValue"), rc = /* @__PURE__ */ s((t) => t === !0 || t === "true" || t === 1 || t === "1", "isTrue"),
|
|
36803
|
+
}), "createDefaultValue"), rc = /* @__PURE__ */ s((t) => t === !0 || t === "true" || t === 1 || t === "1", "isTrue"), wl = /* @__PURE__ */ s((t) => t == null ? "" : Array.isArray(t) ? t.filter(Boolean).join(",") : String(t), "normalizeSelectionValue"), kx = /* @__PURE__ */ s((t) => t === "" || t === null || t === void 0 ? !0 : typeof t != "object" || Array.isArray(t) ? !1 : wl(t.seleccion) === "" && !rc(t.all) && (t.soloActivos === void 0 || t.soloActivos === null || t.soloActivos === ""), "isUninitializedStatusValue"), Mx = /* @__PURE__ */ s((t, e = {}) => {
|
|
36800
36804
|
const n = pM(e);
|
|
36801
36805
|
return t === "" ? {
|
|
36802
36806
|
...n,
|
|
@@ -36805,18 +36809,18 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36805
36809
|
none: !0
|
|
36806
36810
|
} : t == null ? n : typeof t != "object" || Array.isArray(t) ? {
|
|
36807
36811
|
...n,
|
|
36808
|
-
seleccion:
|
|
36812
|
+
seleccion: wl(t),
|
|
36809
36813
|
all: !1,
|
|
36810
|
-
none:
|
|
36814
|
+
none: wl(t) === ""
|
|
36811
36815
|
} : {
|
|
36812
36816
|
...n,
|
|
36813
36817
|
...t,
|
|
36814
|
-
seleccion:
|
|
36818
|
+
seleccion: wl(t.seleccion),
|
|
36815
36819
|
all: rc(t.all),
|
|
36816
36820
|
none: rc(t.none),
|
|
36817
36821
|
asistente: "224",
|
|
36818
36822
|
filtro: t.filtro === void 0 || t.filtro === null ? "" : String(t.filtro),
|
|
36819
|
-
soloActivos:
|
|
36823
|
+
soloActivos: fl(t.soloActivos)
|
|
36820
36824
|
};
|
|
36821
36825
|
}, "normalizeFieldValue"), rW = /* @__PURE__ */ s((t) => t, "parse"), OJ = /* @__PURE__ */ s((t) => {
|
|
36822
36826
|
const { source: e, onChange: n, fullWidth: r = !1 } = t, [o, i] = Te(!1), [a, l] = Te(null), u = en(), { estado: d, fichaProps: p = {} } = kt(), f = vn(!1), {
|
|
@@ -36833,20 +36837,20 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36833
36837
|
...w
|
|
36834
36838
|
}
|
|
36835
36839
|
} = In(t), { [e]: k = {} } = p, R = Lr(t), D = k.onChange === void 0 ? n : k.onChange, A = T !== !1, [N, I] = Te(
|
|
36836
|
-
|
|
36837
|
-
), O =
|
|
36840
|
+
fl(T)
|
|
36841
|
+
), O = it(
|
|
36838
36842
|
() => Ih.find((W) => W.value === N) || Ih[0],
|
|
36839
36843
|
[N]
|
|
36840
36844
|
);
|
|
36841
36845
|
xe(() => {
|
|
36842
|
-
I(
|
|
36846
|
+
I(fl(T));
|
|
36843
36847
|
}, [T]), xe(() => {
|
|
36844
36848
|
f.current || (setTimeout(() => {
|
|
36845
36849
|
const W = u.getValues(e);
|
|
36846
36850
|
(A ? kx(W) : W == null || W === "") && u.setValue(
|
|
36847
36851
|
e,
|
|
36848
36852
|
pM({
|
|
36849
|
-
soloActivos:
|
|
36853
|
+
soloActivos: fl(T)
|
|
36850
36854
|
})
|
|
36851
36855
|
);
|
|
36852
36856
|
}, 0), f.current = !0);
|
|
@@ -36869,14 +36873,14 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
36869
36873
|
), $ = je(
|
|
36870
36874
|
(W) => ({
|
|
36871
36875
|
...Mx(u.getValues(e), {
|
|
36872
|
-
soloActivos:
|
|
36876
|
+
soloActivos: fl(T)
|
|
36873
36877
|
}),
|
|
36874
36878
|
asistente: "224",
|
|
36875
36879
|
soloActivos: N,
|
|
36876
36880
|
filtro: "",
|
|
36877
36881
|
...W,
|
|
36878
36882
|
...Object.prototype.hasOwnProperty.call(W, "seleccion") ? {
|
|
36879
|
-
seleccion:
|
|
36883
|
+
seleccion: wl(
|
|
36880
36884
|
W.seleccion
|
|
36881
36885
|
)
|
|
36882
36886
|
} : {},
|
|
@@ -37030,7 +37034,7 @@ const w6 = de([/* @__PURE__ */ b("circle", {
|
|
|
37030
37034
|
}
|
|
37031
37035
|
),
|
|
37032
37036
|
/* @__PURE__ */ b(
|
|
37033
|
-
|
|
37037
|
+
ua,
|
|
37034
37038
|
{
|
|
37035
37039
|
anchorEl: a,
|
|
37036
37040
|
open: !!a,
|
|
@@ -37620,7 +37624,7 @@ xt.none = [];
|
|
|
37620
37624
|
const q0 = class q0 extends Error {
|
|
37621
37625
|
};
|
|
37622
37626
|
s(q0, "ReplaceError");
|
|
37623
|
-
let
|
|
37627
|
+
let wa = q0;
|
|
37624
37628
|
const Wo = class Wo {
|
|
37625
37629
|
/**
|
|
37626
37630
|
Create a slice. When specifying a non-zero open depth, you must
|
|
@@ -37726,9 +37730,9 @@ function gM(t, e, n, r) {
|
|
|
37726
37730
|
s(gM, "insertInto");
|
|
37727
37731
|
function oW(t, e, n) {
|
|
37728
37732
|
if (n.openStart > t.depth)
|
|
37729
|
-
throw new
|
|
37733
|
+
throw new wa("Inserted content deeper than insertion position");
|
|
37730
37734
|
if (t.depth - n.openStart != e.depth - n.openEnd)
|
|
37731
|
-
throw new
|
|
37735
|
+
throw new wa("Inconsistent open depths");
|
|
37732
37736
|
return yM(t, e, n, 0);
|
|
37733
37737
|
}
|
|
37734
37738
|
s(oW, "replace");
|
|
@@ -37750,7 +37754,7 @@ function yM(t, e, n, r) {
|
|
|
37750
37754
|
s(yM, "replaceOuter");
|
|
37751
37755
|
function bM(t, e) {
|
|
37752
37756
|
if (!e.type.compatibleContent(t.type))
|
|
37753
|
-
throw new
|
|
37757
|
+
throw new wa("Cannot join " + e.type.name + " onto " + t.type.name);
|
|
37754
37758
|
}
|
|
37755
37759
|
s(bM, "checkJoin");
|
|
37756
37760
|
function Yg(t, e, n) {
|
|
@@ -37763,30 +37767,30 @@ function rs(t, e) {
|
|
|
37763
37767
|
n >= 0 && t.isText && t.sameMarkup(e[n]) ? e[n] = t.withText(e[n].text + t.text) : e.push(t);
|
|
37764
37768
|
}
|
|
37765
37769
|
s(rs, "addNode");
|
|
37766
|
-
function
|
|
37770
|
+
function Tl(t, e, n, r) {
|
|
37767
37771
|
let o = (e || t).node(n), i = 0, a = e ? e.index(n) : o.childCount;
|
|
37768
37772
|
t && (i = t.index(n), t.depth > n ? i++ : t.textOffset && (rs(t.nodeAfter, r), i++));
|
|
37769
37773
|
for (let l = i; l < a; l++)
|
|
37770
37774
|
rs(o.child(l), r);
|
|
37771
37775
|
e && e.depth == n && e.textOffset && rs(e.nodeBefore, r);
|
|
37772
37776
|
}
|
|
37773
|
-
s(
|
|
37777
|
+
s(Tl, "addRange");
|
|
37774
37778
|
function is(t, e) {
|
|
37775
37779
|
return t.type.checkContent(e), t.copy(e);
|
|
37776
37780
|
}
|
|
37777
37781
|
s(is, "close");
|
|
37778
37782
|
function vM(t, e, n, r, o) {
|
|
37779
37783
|
let i = t.depth > o && Yg(t, e, o + 1), a = r.depth > o && Yg(n, r, o + 1), l = [];
|
|
37780
|
-
return
|
|
37784
|
+
return Tl(null, t, o, l), i && a && e.index(o) == n.index(o) ? (bM(i, a), rs(is(i, vM(t, e, n, r, o + 1)), l)) : (i && rs(is(i, yd(t, e, o + 1)), l), Tl(e, n, o, l), a && rs(is(a, yd(n, r, o + 1)), l)), Tl(r, null, o, l), new ce(l);
|
|
37781
37785
|
}
|
|
37782
37786
|
s(vM, "replaceThreeWay");
|
|
37783
37787
|
function yd(t, e, n) {
|
|
37784
37788
|
let r = [];
|
|
37785
|
-
if (
|
|
37789
|
+
if (Tl(null, t, n, r), t.depth > n) {
|
|
37786
37790
|
let o = Yg(t, e, n + 1);
|
|
37787
37791
|
rs(is(o, yd(t, e, n + 1)), r);
|
|
37788
37792
|
}
|
|
37789
|
-
return
|
|
37793
|
+
return Tl(e, null, n, r), new ce(r);
|
|
37790
37794
|
}
|
|
37791
37795
|
s(yd, "replaceTwoWay");
|
|
37792
37796
|
function iW(t, e) {
|
|
@@ -37799,7 +37803,7 @@ function iW(t, e) {
|
|
|
37799
37803
|
};
|
|
37800
37804
|
}
|
|
37801
37805
|
s(iW, "prepareSliceForReplace");
|
|
37802
|
-
const
|
|
37806
|
+
const Nl = class Nl {
|
|
37803
37807
|
/**
|
|
37804
37808
|
@internal
|
|
37805
37809
|
*/
|
|
@@ -37984,7 +37988,7 @@ const Il = class Il {
|
|
|
37984
37988
|
return e.blockRange(this);
|
|
37985
37989
|
for (let r = this.depth - (this.parent.inlineContent || this.pos == e.pos ? 1 : 0); r >= 0; r--)
|
|
37986
37990
|
if (e.pos <= this.end(r) && (!n || n(this.node(r))))
|
|
37987
|
-
return new
|
|
37991
|
+
return new Ta(this, e, r);
|
|
37988
37992
|
return null;
|
|
37989
37993
|
}
|
|
37990
37994
|
/**
|
|
@@ -38027,7 +38031,7 @@ const Il = class Il {
|
|
|
38027
38031
|
break;
|
|
38028
38032
|
i = d - 1, o += u + 1;
|
|
38029
38033
|
}
|
|
38030
|
-
return new
|
|
38034
|
+
return new Nl(n, r, i);
|
|
38031
38035
|
}
|
|
38032
38036
|
/**
|
|
38033
38037
|
@internal
|
|
@@ -38042,12 +38046,12 @@ const Il = class Il {
|
|
|
38042
38046
|
}
|
|
38043
38047
|
else
|
|
38044
38048
|
Rx.set(e, r = new Jg());
|
|
38045
|
-
let o = r.elts[r.i] =
|
|
38049
|
+
let o = r.elts[r.i] = Nl.resolve(e, n);
|
|
38046
38050
|
return r.i = (r.i + 1) % sW, o;
|
|
38047
38051
|
}
|
|
38048
38052
|
};
|
|
38049
|
-
s(
|
|
38050
|
-
let bd =
|
|
38053
|
+
s(Nl, "ResolvedPos");
|
|
38054
|
+
let bd = Nl;
|
|
38051
38055
|
const U0 = class U0 {
|
|
38052
38056
|
constructor() {
|
|
38053
38057
|
this.elts = [], this.i = 0;
|
|
@@ -38096,7 +38100,7 @@ const sW = 12, Rx = /* @__PURE__ */ new WeakMap(), G0 = class G0 {
|
|
|
38096
38100
|
}
|
|
38097
38101
|
};
|
|
38098
38102
|
s(G0, "NodeRange");
|
|
38099
|
-
let
|
|
38103
|
+
let Ta = G0;
|
|
38100
38104
|
const aW = /* @__PURE__ */ Object.create(null);
|
|
38101
38105
|
var oi;
|
|
38102
38106
|
let ss = (oi = class {
|
|
@@ -38463,7 +38467,7 @@ let ss = (oi = class {
|
|
|
38463
38467
|
}
|
|
38464
38468
|
}, s(oi, "Node"), oi);
|
|
38465
38469
|
ss.prototype.text = void 0;
|
|
38466
|
-
const
|
|
38470
|
+
const Dl = class Dl extends ss {
|
|
38467
38471
|
/**
|
|
38468
38472
|
@internal
|
|
38469
38473
|
*/
|
|
@@ -38485,10 +38489,10 @@ const Nl = class Nl extends ss {
|
|
|
38485
38489
|
return this.text.length;
|
|
38486
38490
|
}
|
|
38487
38491
|
mark(e) {
|
|
38488
|
-
return e == this.marks ? this : new
|
|
38492
|
+
return e == this.marks ? this : new Dl(this.type, this.attrs, this.text, e);
|
|
38489
38493
|
}
|
|
38490
38494
|
withText(e) {
|
|
38491
|
-
return e == this.text ? this : new
|
|
38495
|
+
return e == this.text ? this : new Dl(this.type, this.attrs, e, this.marks);
|
|
38492
38496
|
}
|
|
38493
38497
|
cut(e = 0, n = this.text.length) {
|
|
38494
38498
|
return e == 0 && n == this.text.length ? this : this.withText(this.text.slice(e, n));
|
|
@@ -38501,8 +38505,8 @@ const Nl = class Nl extends ss {
|
|
|
38501
38505
|
return e.text = this.text, e;
|
|
38502
38506
|
}
|
|
38503
38507
|
};
|
|
38504
|
-
s(
|
|
38505
|
-
let Xg =
|
|
38508
|
+
s(Dl, "TextNode");
|
|
38509
|
+
let Xg = Dl;
|
|
38506
38510
|
function SM(t, e) {
|
|
38507
38511
|
for (let n = t.length - 1; n >= 0; n--)
|
|
38508
38512
|
e = t[n].type.name + "(" + e + ")";
|
|
@@ -39284,7 +39288,7 @@ function bW(t) {
|
|
|
39284
39288
|
return t.style != null;
|
|
39285
39289
|
}
|
|
39286
39290
|
s(bW, "isStyleRule");
|
|
39287
|
-
const
|
|
39291
|
+
const $l = class $l {
|
|
39288
39292
|
/**
|
|
39289
39293
|
Create a parser that targets the given schema, using the given
|
|
39290
39294
|
parsing rules.
|
|
@@ -39397,11 +39401,11 @@ const Dl = class Dl {
|
|
|
39397
39401
|
[priority](https://prosemirror.net/docs/ref/#model.ParseRule.priority).
|
|
39398
39402
|
*/
|
|
39399
39403
|
static fromSchema(e) {
|
|
39400
|
-
return e.cached.domParser || (e.cached.domParser = new
|
|
39404
|
+
return e.cached.domParser || (e.cached.domParser = new $l(e, $l.schemaRules(e)));
|
|
39401
39405
|
}
|
|
39402
39406
|
};
|
|
39403
|
-
s(
|
|
39404
|
-
let as =
|
|
39407
|
+
s($l, "DOMParser");
|
|
39408
|
+
let as = $l;
|
|
39405
39409
|
const kM = {
|
|
39406
39410
|
address: !0,
|
|
39407
39411
|
article: !0,
|
|
@@ -39442,14 +39446,14 @@ const kM = {
|
|
|
39442
39446
|
script: !0,
|
|
39443
39447
|
style: !0,
|
|
39444
39448
|
title: !0
|
|
39445
|
-
}, MM = { ol: !0, ul: !0 }, xd = 1, Cd = 2,
|
|
39449
|
+
}, MM = { ol: !0, ul: !0 }, xd = 1, Cd = 2, El = 4;
|
|
39446
39450
|
function Dx(t, e, n) {
|
|
39447
|
-
return e != null ? (e ? xd : 0) | (e === "full" ? Cd : 0) : t && t.whitespace == "pre" ? xd | Cd : n & ~
|
|
39451
|
+
return e != null ? (e ? xd : 0) | (e === "full" ? Cd : 0) : t && t.whitespace == "pre" ? xd | Cd : n & ~El;
|
|
39448
39452
|
}
|
|
39449
39453
|
s(Dx, "wsOptionsFor");
|
|
39450
39454
|
const X0 = class X0 {
|
|
39451
39455
|
constructor(e, n, r, o, i, a) {
|
|
39452
|
-
this.type = e, this.attrs = n, this.marks = r, this.solid = o, this.options = a, this.content = [], this.activeMarks = xt.none, this.match = i || (a &
|
|
39456
|
+
this.type = e, this.attrs = n, this.marks = r, this.solid = o, this.options = a, this.content = [], this.activeMarks = xt.none, this.match = i || (a & El ? null : e.contentMatch);
|
|
39453
39457
|
}
|
|
39454
39458
|
findWrapping(e) {
|
|
39455
39459
|
if (!this.match) {
|
|
@@ -39485,7 +39489,7 @@ let Ks = X0;
|
|
|
39485
39489
|
const Q0 = class Q0 {
|
|
39486
39490
|
constructor(e, n, r) {
|
|
39487
39491
|
this.parser = e, this.options = n, this.isOpen = r, this.open = 0;
|
|
39488
|
-
let o = n.topNode, i, a = Dx(null, n.preserveWhitespace, 0) | (r ?
|
|
39492
|
+
let o = n.topNode, i, a = Dx(null, n.preserveWhitespace, 0) | (r ? El : 0);
|
|
39489
39493
|
o ? i = new Ks(o.type, o.attrs, xt.none, !0, n.topMatch || o.type.contentMatch, a) : r ? i = new Ks(null, null, xt.none, !0, null, a) : i = new Ks(e.schema.topNodeType, null, xt.none, !0, null, a), this.nodes = [i], this.find = n.findPositions, this.needsBlock = !1;
|
|
39490
39494
|
}
|
|
39491
39495
|
get top() {
|
|
@@ -39652,7 +39656,7 @@ const Q0 = class Q0 {
|
|
|
39652
39656
|
let a = this.top;
|
|
39653
39657
|
a.match = a.match && a.match.matchType(e);
|
|
39654
39658
|
let l = Dx(e, i, a.options);
|
|
39655
|
-
a.options &
|
|
39659
|
+
a.options & El && a.content.length == 0 && (l |= El);
|
|
39656
39660
|
let u = xt.none;
|
|
39657
39661
|
return r = r.filter((d) => (a.type ? a.type.allowsMarkType(d.type) : Lx(d.type, e)) ? (u = d.addToSet(u), !1) : !0), this.nodes.push(new Ks(e, n, u, o, null, l)), this.open++, r;
|
|
39658
39662
|
}
|
|
@@ -40298,7 +40302,7 @@ const Fi = class Fi {
|
|
|
40298
40302
|
try {
|
|
40299
40303
|
return Fi.ok(e.replace(n, r, o));
|
|
40300
40304
|
} catch (i) {
|
|
40301
|
-
if (i instanceof
|
|
40305
|
+
if (i instanceof wa)
|
|
40302
40306
|
return Fi.fail(i.message);
|
|
40303
40307
|
throw i;
|
|
40304
40308
|
}
|
|
@@ -40443,7 +40447,7 @@ const zi = class zi extends Qt {
|
|
|
40443
40447
|
s(zi, "AddNodeMarkStep");
|
|
40444
40448
|
let sc = zi;
|
|
40445
40449
|
Qt.jsonID("addNodeMark", sc);
|
|
40446
|
-
const
|
|
40450
|
+
const Ll = class Ll extends Qt {
|
|
40447
40451
|
/**
|
|
40448
40452
|
Create a mark-removing step.
|
|
40449
40453
|
*/
|
|
@@ -40463,7 +40467,7 @@ const $l = class $l extends Qt {
|
|
|
40463
40467
|
}
|
|
40464
40468
|
map(e) {
|
|
40465
40469
|
let n = e.mapResult(this.pos, 1);
|
|
40466
|
-
return n.deletedAfter ? null : new
|
|
40470
|
+
return n.deletedAfter ? null : new Ll(n.pos, this.mark);
|
|
40467
40471
|
}
|
|
40468
40472
|
toJSON() {
|
|
40469
40473
|
return { stepType: "removeNodeMark", pos: this.pos, mark: this.mark.toJSON() };
|
|
@@ -40474,11 +40478,11 @@ const $l = class $l extends Qt {
|
|
|
40474
40478
|
static fromJSON(e, n) {
|
|
40475
40479
|
if (typeof n.pos != "number")
|
|
40476
40480
|
throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");
|
|
40477
|
-
return new
|
|
40481
|
+
return new Ll(n.pos, e.markFromJSON(n.mark));
|
|
40478
40482
|
}
|
|
40479
40483
|
};
|
|
40480
|
-
s(
|
|
40481
|
-
let ac =
|
|
40484
|
+
s(Ll, "RemoveNodeMarkStep");
|
|
40485
|
+
let ac = Ll;
|
|
40482
40486
|
Qt.jsonID("removeNodeMark", ac);
|
|
40483
40487
|
const So = class So extends Qt {
|
|
40484
40488
|
/**
|
|
@@ -40680,7 +40684,7 @@ function MW(t, e, n) {
|
|
|
40680
40684
|
return (e == 0 || t.canReplace(e, t.childCount)) && (n == t.childCount || t.canReplace(0, n));
|
|
40681
40685
|
}
|
|
40682
40686
|
s(MW, "canCut");
|
|
40683
|
-
function
|
|
40687
|
+
function _a(t) {
|
|
40684
40688
|
let n = t.parent.content.cutByIndex(t.startIndex, t.endIndex);
|
|
40685
40689
|
for (let r = t.depth; ; --r) {
|
|
40686
40690
|
let o = t.$from.node(r), i = t.$from.index(r), a = t.$to.indexAfter(r);
|
|
@@ -40691,7 +40695,7 @@ function Ba(t) {
|
|
|
40691
40695
|
}
|
|
40692
40696
|
return null;
|
|
40693
40697
|
}
|
|
40694
|
-
s(
|
|
40698
|
+
s(_a, "liftTarget");
|
|
40695
40699
|
function RW(t, e, n) {
|
|
40696
40700
|
let { $from: r, $to: o, depth: i } = e, a = r.before(i + 1), l = o.after(i + 1), u = a, d = l, p = ce.empty, f = 0;
|
|
40697
40701
|
for (let y = i, g = !1; y > n; y--)
|
|
@@ -41005,9 +41009,9 @@ const tv = class tv {
|
|
|
41005
41009
|
let { content: e, openStart: n, openEnd: r } = this.unplaced, o = Lh(e, n);
|
|
41006
41010
|
if (o.childCount <= 1 && n > 0) {
|
|
41007
41011
|
let i = e.size - n <= n + o.size;
|
|
41008
|
-
this.unplaced = new ye(
|
|
41012
|
+
this.unplaced = new ye(hl(e, n - 1, 1), n - 1, i ? n - 1 : r);
|
|
41009
41013
|
} else
|
|
41010
|
-
this.unplaced = new ye(
|
|
41014
|
+
this.unplaced = new ye(hl(e, n, 1), n, r);
|
|
41011
41015
|
}
|
|
41012
41016
|
// Move content from the unplaced slice at `sliceDepth` to the
|
|
41013
41017
|
// frontier node at `frontierDepth`. Close that frontier node when
|
|
@@ -41032,12 +41036,12 @@ const tv = class tv {
|
|
|
41032
41036
|
d++, (d > 1 || u == 0 || g.content.size) && (f = v, p.push(_M(g.mark(h.allowedMarks(g.marks)), d == 1 ? u : 0, d == l.childCount ? m : -1)));
|
|
41033
41037
|
}
|
|
41034
41038
|
let y = d == l.childCount;
|
|
41035
|
-
y || (m = -1), this.placed =
|
|
41039
|
+
y || (m = -1), this.placed = ml(this.placed, n, ce.from(p)), this.frontier[n].match = f, y && m < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
|
|
41036
41040
|
for (let g = 0, v = l; g < m; g++) {
|
|
41037
41041
|
let x = v.lastChild;
|
|
41038
41042
|
this.frontier.push({ type: x.type, match: x.contentMatchAt(x.childCount) }), v = x.content;
|
|
41039
41043
|
}
|
|
41040
|
-
this.unplaced = y ? e == 0 ? ye.empty : new ye(
|
|
41044
|
+
this.unplaced = y ? e == 0 ? ye.empty : new ye(hl(a.content, e - 1, 1), e - 1, m < 0 ? a.openEnd : e - 1) : new ye(hl(a.content, e, d), a.openStart, a.openEnd);
|
|
41041
41045
|
}
|
|
41042
41046
|
mustMoveInline() {
|
|
41043
41047
|
if (!this.$to.parent.isTextblock)
|
|
@@ -41069,7 +41073,7 @@ const tv = class tv {
|
|
|
41069
41073
|
return null;
|
|
41070
41074
|
for (; this.depth > n.depth; )
|
|
41071
41075
|
this.closeFrontierNode();
|
|
41072
|
-
n.fit.childCount && (this.placed =
|
|
41076
|
+
n.fit.childCount && (this.placed = ml(this.placed, n.depth, n.fit)), e = n.move;
|
|
41073
41077
|
for (let r = n.depth + 1; r <= e.depth; r++) {
|
|
41074
41078
|
let o = e.node(r), i = o.type.contentMatch.fillBefore(o.content, !0, e.index(r));
|
|
41075
41079
|
this.openFrontierNode(o.type, o.attrs, i);
|
|
@@ -41078,23 +41082,23 @@ const tv = class tv {
|
|
|
41078
41082
|
}
|
|
41079
41083
|
openFrontierNode(e, n = null, r) {
|
|
41080
41084
|
let o = this.frontier[this.depth];
|
|
41081
|
-
o.match = o.match.matchType(e), this.placed =
|
|
41085
|
+
o.match = o.match.matchType(e), this.placed = ml(this.placed, this.depth, ce.from(e.create(n, r))), this.frontier.push({ type: e, match: e.contentMatch });
|
|
41082
41086
|
}
|
|
41083
41087
|
closeFrontierNode() {
|
|
41084
41088
|
let n = this.frontier.pop().match.fillBefore(ce.empty, !0);
|
|
41085
|
-
n.childCount && (this.placed =
|
|
41089
|
+
n.childCount && (this.placed = ml(this.placed, this.frontier.length, n));
|
|
41086
41090
|
}
|
|
41087
41091
|
};
|
|
41088
41092
|
s(tv, "Fitter");
|
|
41089
41093
|
let ty = tv;
|
|
41090
|
-
function fl(t, e, n) {
|
|
41091
|
-
return e == 0 ? t.cutByIndex(n, t.childCount) : t.replaceChild(0, t.firstChild.copy(fl(t.firstChild.content, e - 1, n)));
|
|
41092
|
-
}
|
|
41093
|
-
s(fl, "dropFromFragment");
|
|
41094
41094
|
function hl(t, e, n) {
|
|
41095
|
-
return e == 0 ? t.
|
|
41095
|
+
return e == 0 ? t.cutByIndex(n, t.childCount) : t.replaceChild(0, t.firstChild.copy(hl(t.firstChild.content, e - 1, n)));
|
|
41096
|
+
}
|
|
41097
|
+
s(hl, "dropFromFragment");
|
|
41098
|
+
function ml(t, e, n) {
|
|
41099
|
+
return e == 0 ? t.append(n) : t.replaceChild(t.childCount - 1, t.lastChild.copy(ml(t.lastChild.content, e - 1, n)));
|
|
41096
41100
|
}
|
|
41097
|
-
s(
|
|
41101
|
+
s(ml, "addToFragment");
|
|
41098
41102
|
function Lh(t, e) {
|
|
41099
41103
|
for (let n = 0; n < e; n++)
|
|
41100
41104
|
t = t.firstChild.content;
|
|
@@ -41261,7 +41265,7 @@ const Xs = class Xs extends Qt {
|
|
|
41261
41265
|
s(Xs, "AttrStep");
|
|
41262
41266
|
let Ed = Xs;
|
|
41263
41267
|
Qt.jsonID("attr", Ed);
|
|
41264
|
-
const
|
|
41268
|
+
const Fl = class Fl extends Qt {
|
|
41265
41269
|
/**
|
|
41266
41270
|
Construct an attribute step.
|
|
41267
41271
|
*/
|
|
@@ -41280,7 +41284,7 @@ const Ll = class Ll extends Qt {
|
|
|
41280
41284
|
return ko.empty;
|
|
41281
41285
|
}
|
|
41282
41286
|
invert(e) {
|
|
41283
|
-
return new
|
|
41287
|
+
return new Fl(this.attr, e.attrs[this.attr]);
|
|
41284
41288
|
}
|
|
41285
41289
|
map(e) {
|
|
41286
41290
|
return this;
|
|
@@ -41291,22 +41295,22 @@ const Ll = class Ll extends Qt {
|
|
|
41291
41295
|
static fromJSON(e, n) {
|
|
41292
41296
|
if (typeof n.attr != "string")
|
|
41293
41297
|
throw new RangeError("Invalid input for DocAttrStep.fromJSON");
|
|
41294
|
-
return new
|
|
41298
|
+
return new Fl(n.attr, n.value);
|
|
41295
41299
|
}
|
|
41296
41300
|
};
|
|
41297
|
-
s(
|
|
41298
|
-
let Od =
|
|
41301
|
+
s(Fl, "DocAttrStep");
|
|
41302
|
+
let Od = Fl;
|
|
41299
41303
|
Qt.jsonID("docAttr", Od);
|
|
41300
|
-
var
|
|
41301
|
-
let
|
|
41302
|
-
}, s(
|
|
41303
|
-
|
|
41304
|
+
var ca;
|
|
41305
|
+
let Ea = (ca = class extends Error {
|
|
41306
|
+
}, s(ca, "TransformError"), ca);
|
|
41307
|
+
Ea = /* @__PURE__ */ s(function t(e) {
|
|
41304
41308
|
let n = Error.call(this, e);
|
|
41305
41309
|
return n.__proto__ = t.prototype, n;
|
|
41306
41310
|
}, "TransformError");
|
|
41307
|
-
|
|
41308
|
-
|
|
41309
|
-
|
|
41311
|
+
Ea.prototype = Object.create(Error.prototype);
|
|
41312
|
+
Ea.prototype.constructor = Ea;
|
|
41313
|
+
Ea.prototype.name = "TransformError";
|
|
41310
41314
|
const nv = class nv {
|
|
41311
41315
|
/**
|
|
41312
41316
|
Create a transform that starts with the given document.
|
|
@@ -41327,7 +41331,7 @@ const nv = class nv {
|
|
|
41327
41331
|
step(e) {
|
|
41328
41332
|
let n = this.maybeStep(e);
|
|
41329
41333
|
if (n.failed)
|
|
41330
|
-
throw new
|
|
41334
|
+
throw new Ea(n.failed);
|
|
41331
41335
|
return this;
|
|
41332
41336
|
}
|
|
41333
41337
|
/**
|
|
@@ -42146,7 +42150,7 @@ const UW = [
|
|
|
42146
42150
|
}
|
|
42147
42151
|
};
|
|
42148
42152
|
s(av, "Configuration");
|
|
42149
|
-
let
|
|
42153
|
+
let Ol = av;
|
|
42150
42154
|
const Wi = class Wi {
|
|
42151
42155
|
/**
|
|
42152
42156
|
@internal
|
|
@@ -42239,7 +42243,7 @@ const Wi = class Wi {
|
|
|
42239
42243
|
Create a new state.
|
|
42240
42244
|
*/
|
|
42241
42245
|
static create(e) {
|
|
42242
|
-
let n = new
|
|
42246
|
+
let n = new Ol(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new Wi(n);
|
|
42243
42247
|
for (let o = 0; o < n.fields.length; o++)
|
|
42244
42248
|
r[n.fields[o].name] = n.fields[o].init(e, r);
|
|
42245
42249
|
return r;
|
|
@@ -42253,7 +42257,7 @@ const Wi = class Wi {
|
|
|
42253
42257
|
configuration object..
|
|
42254
42258
|
*/
|
|
42255
42259
|
reconfigure(e) {
|
|
42256
|
-
let n = new
|
|
42260
|
+
let n = new Ol(this.schema, e.plugins), r = n.fields, o = new Wi(n);
|
|
42257
42261
|
for (let i = 0; i < r.length; i++) {
|
|
42258
42262
|
let a = r[i].name;
|
|
42259
42263
|
o[a] = this.hasOwnProperty(a) ? this[a] : r[i].init(e, o);
|
|
@@ -42290,7 +42294,7 @@ const Wi = class Wi {
|
|
|
42290
42294
|
throw new RangeError("Invalid input for EditorState.fromJSON");
|
|
42291
42295
|
if (!e.schema)
|
|
42292
42296
|
throw new RangeError("Required config field 'schema' missing");
|
|
42293
|
-
let o = new
|
|
42297
|
+
let o = new Ol(e.schema, e.plugins), i = new Wi(o);
|
|
42294
42298
|
return o.fields.forEach((a) => {
|
|
42295
42299
|
if (a.name == "doc")
|
|
42296
42300
|
i.doc = ss.fromJSON(e.schema, n.doc);
|
|
@@ -42485,7 +42489,7 @@ function ZW(t, e, n) {
|
|
|
42485
42489
|
s(ZW, "caretFromPoint");
|
|
42486
42490
|
const ao = typeof navigator < "u" ? navigator : null, Kx = typeof document < "u" ? document : null, mi = ao && ao.userAgent || "", ay = /Edge\/(\d+)/.exec(mi), HM = /MSIE \d/.exec(mi), ly = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(mi), Wn = !!(HM || ly || ay), ti = HM ? document.documentMode : ly ? +ly[1] : ay ? +ay[1] : 0, Ar = !Wn && /gecko\/(\d+)/i.test(mi);
|
|
42487
42491
|
Ar && +(/Firefox\/(\d+)/.exec(mi) || [0, 0])[1];
|
|
42488
|
-
const cy = !Wn && /Chrome\/(\d+)/.exec(mi), bn = !!cy, qM = cy ? +cy[1] : 0, Rn = !Wn && !!ao && /Apple Computer/.test(ao.vendor),
|
|
42492
|
+
const cy = !Wn && /Chrome\/(\d+)/.exec(mi), bn = !!cy, qM = cy ? +cy[1] : 0, Rn = !Wn && !!ao && /Apple Computer/.test(ao.vendor), Oa = Rn && (/Mobile\/\w+/.test(mi) || !!ao && ao.maxTouchPoints > 2), sr = Oa || (ao ? /Mac/.test(ao.platform) : !1), eH = ao ? /Win/.test(ao.platform) : !1, Tr = /Android \d/.test(mi), Wc = !!Kx && "webkitFontSmoothing" in Kx.documentElement.style, tH = Wc ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
42489
42493
|
function nH(t) {
|
|
42490
42494
|
let e = t.defaultView && t.defaultView.visualViewport;
|
|
42491
42495
|
return e ? {
|
|
@@ -42726,13 +42730,13 @@ function JM(t, e, n) {
|
|
|
42726
42730
|
if (d.top == u.top) {
|
|
42727
42731
|
let p = zo(vo(r, o, o + 1), -1);
|
|
42728
42732
|
if (p.top != u.top)
|
|
42729
|
-
return
|
|
42733
|
+
return ol(p, p.left < d.left);
|
|
42730
42734
|
}
|
|
42731
42735
|
}
|
|
42732
42736
|
return u;
|
|
42733
42737
|
} else {
|
|
42734
42738
|
let u = o, d = o, p = n < 0 ? 1 : -1;
|
|
42735
|
-
return n < 0 && !o ? (d++, p = -1) : n >= 0 && o == r.nodeValue.length ? (u--, p = 1) : n < 0 ? u-- : d++,
|
|
42739
|
+
return n < 0 && !o ? (d++, p = -1) : n >= 0 && o == r.nodeValue.length ? (u--, p = 1) : n < 0 ? u-- : d++, ol(zo(vo(r, u, d), p), p < 0);
|
|
42736
42740
|
}
|
|
42737
42741
|
if (!t.state.doc.resolve(e - (i || 0)).parent.inlineContent) {
|
|
42738
42742
|
if (i == null && o && (n < 0 || o == lr(r))) {
|
|
@@ -42750,7 +42754,7 @@ function JM(t, e, n) {
|
|
|
42750
42754
|
if (i == null && o && (n < 0 || o == lr(r))) {
|
|
42751
42755
|
let u = r.childNodes[o - 1], d = u.nodeType == 3 ? vo(u, lr(u) - (a ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
|
|
42752
42756
|
if (d)
|
|
42753
|
-
return
|
|
42757
|
+
return ol(zo(d, 1), !1);
|
|
42754
42758
|
}
|
|
42755
42759
|
if (i == null && o < lr(r)) {
|
|
42756
42760
|
let u = r.childNodes[o];
|
|
@@ -42758,18 +42762,18 @@ function JM(t, e, n) {
|
|
|
42758
42762
|
u = u.nextSibling;
|
|
42759
42763
|
let d = u ? u.nodeType == 3 ? vo(u, 0, a ? 0 : 1) : u.nodeType == 1 ? u : null : null;
|
|
42760
42764
|
if (d)
|
|
42761
|
-
return
|
|
42765
|
+
return ol(zo(d, -1), !0);
|
|
42762
42766
|
}
|
|
42763
|
-
return
|
|
42767
|
+
return ol(zo(r.nodeType == 3 ? vo(r) : r, -n), n >= 0);
|
|
42764
42768
|
}
|
|
42765
42769
|
s(JM, "coordsAtPos");
|
|
42766
|
-
function
|
|
42770
|
+
function ol(t, e) {
|
|
42767
42771
|
if (t.width == 0)
|
|
42768
42772
|
return t;
|
|
42769
42773
|
let n = e ? t.left : t.right;
|
|
42770
42774
|
return { top: t.top, bottom: t.bottom, left: n, right: n };
|
|
42771
42775
|
}
|
|
42772
|
-
s(
|
|
42776
|
+
s(ol, "flattenV");
|
|
42773
42777
|
function zh(t, e) {
|
|
42774
42778
|
if (t.height == 0)
|
|
42775
42779
|
return t;
|
|
@@ -43241,13 +43245,13 @@ const pv = class pv extends Cs {
|
|
|
43241
43245
|
};
|
|
43242
43246
|
s(pv, "CompositionViewDesc");
|
|
43243
43247
|
let uy = pv;
|
|
43244
|
-
const
|
|
43248
|
+
const Bl = class Bl extends Cs {
|
|
43245
43249
|
constructor(e, n, r, o) {
|
|
43246
43250
|
super(e, [], r, o), this.mark = n;
|
|
43247
43251
|
}
|
|
43248
43252
|
static create(e, n, r, o) {
|
|
43249
43253
|
let i = o.nodeViews[n.type.name], a = i && i(n, o, r);
|
|
43250
|
-
return (!a || !a.dom) && (a = vs.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new
|
|
43254
|
+
return (!a || !a.dom) && (a = vs.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new Bl(e, n, a.dom, a.contentDOM || a.dom);
|
|
43251
43255
|
}
|
|
43252
43256
|
parseRule() {
|
|
43253
43257
|
return this.dirty & lo || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
@@ -43264,15 +43268,15 @@ const Fl = class Fl extends Cs {
|
|
|
43264
43268
|
}
|
|
43265
43269
|
}
|
|
43266
43270
|
slice(e, n, r) {
|
|
43267
|
-
let o =
|
|
43271
|
+
let o = Bl.create(this.parent, this.mark, !0, r), i = this.children, a = this.size;
|
|
43268
43272
|
n < a && (i = hy(i, n, a, r)), e > 0 && (i = hy(i, 0, e, r));
|
|
43269
43273
|
for (let l = 0; l < i.length; l++)
|
|
43270
43274
|
i[l].parent = o;
|
|
43271
43275
|
return o.children = i, o;
|
|
43272
43276
|
}
|
|
43273
43277
|
};
|
|
43274
|
-
s(
|
|
43275
|
-
let
|
|
43278
|
+
s(Bl, "MarkViewDesc");
|
|
43279
|
+
let ka = Bl;
|
|
43276
43280
|
const kp = class kp extends Cs {
|
|
43277
43281
|
constructor(e, n, r, o, i, a, l, u, d) {
|
|
43278
43282
|
super(e, [], i, a), this.node = n, this.outerDeco = r, this.innerDeco = o, this.nodeDOM = l;
|
|
@@ -43344,7 +43348,7 @@ const kp = class kp extends Cs {
|
|
|
43344
43348
|
u.syncToMarks(d.marks, r, e);
|
|
43345
43349
|
let m;
|
|
43346
43350
|
u.findNodeMatch(d, p, f, h) || l && e.state.selection.from > o && e.state.selection.to < o + d.nodeSize && (m = u.findIndexWithChild(i.node)) > -1 && u.updateNodeAt(d, p, f, m, e) || u.updateNextNode(d, p, f, e, h, o) || u.addNode(d, p, f, e, o), o += d.nodeSize;
|
|
43347
|
-
}), u.syncToMarks([], r, e), this.node.isTextblock && u.addTextblockHacks(), u.destroyRest(), (u.changed || this.dirty == Yi) && (a && this.protectLocalComposition(e, a), QM(this.contentDOM, this.children, e),
|
|
43351
|
+
}), u.syncToMarks([], r, e), this.node.isTextblock && u.addTextblockHacks(), u.destroyRest(), (u.changed || this.dirty == Yi) && (a && this.protectLocalComposition(e, a), QM(this.contentDOM, this.children, e), Oa && xH(this.dom));
|
|
43348
43352
|
}
|
|
43349
43353
|
localCompositionInfo(e, n) {
|
|
43350
43354
|
let { from: r, to: o } = e.state.selection;
|
|
@@ -43514,7 +43518,7 @@ function QM(t, e, n) {
|
|
|
43514
43518
|
r = r.nextSibling;
|
|
43515
43519
|
} else
|
|
43516
43520
|
o = !0, t.insertBefore(l, r);
|
|
43517
|
-
if (a instanceof
|
|
43521
|
+
if (a instanceof ka) {
|
|
43518
43522
|
let u = r ? r.previousSibling : t.lastChild;
|
|
43519
43523
|
QM(a.contentDOM, a.children, n), r = u ? u.nextSibling : t.firstChild;
|
|
43520
43524
|
}
|
|
@@ -43524,22 +43528,22 @@ function QM(t, e, n) {
|
|
|
43524
43528
|
o && n.trackWrites == t && (n.trackWrites = null);
|
|
43525
43529
|
}
|
|
43526
43530
|
s(QM, "renderDescs");
|
|
43527
|
-
const
|
|
43531
|
+
const kl = /* @__PURE__ */ s(function(t) {
|
|
43528
43532
|
t && (this.nodeName = t);
|
|
43529
43533
|
}, "OuterDecoLevel");
|
|
43530
|
-
|
|
43531
|
-
const Ji = [new
|
|
43534
|
+
kl.prototype = /* @__PURE__ */ Object.create(null);
|
|
43535
|
+
const Ji = [new kl()];
|
|
43532
43536
|
function py(t, e, n) {
|
|
43533
43537
|
if (t.length == 0)
|
|
43534
43538
|
return Ji;
|
|
43535
|
-
let r = n ? Ji[0] : new
|
|
43539
|
+
let r = n ? Ji[0] : new kl(), o = [r];
|
|
43536
43540
|
for (let i = 0; i < t.length; i++) {
|
|
43537
43541
|
let a = t[i].type.attrs;
|
|
43538
43542
|
if (a) {
|
|
43539
|
-
a.nodeName && o.push(r = new
|
|
43543
|
+
a.nodeName && o.push(r = new kl(a.nodeName));
|
|
43540
43544
|
for (let l in a) {
|
|
43541
43545
|
let u = a[l];
|
|
43542
|
-
u != null && (n && o.length == 1 && o.push(r = new
|
|
43546
|
+
u != null && (n && o.length == 1 && o.push(r = new kl(e.isInline ? "span" : "div")), l == "class" ? r.class = (r.class ? r.class + " " : "") + u : l == "style" ? r.style = (r.style ? r.style + ";" : "") + u : l != "nodeName" && (r[l] = u));
|
|
43543
43547
|
}
|
|
43544
43548
|
}
|
|
43545
43549
|
}
|
|
@@ -43640,7 +43644,7 @@ const mv = class mv {
|
|
|
43640
43644
|
if (l > -1)
|
|
43641
43645
|
l > this.index && (this.changed = !0, this.destroyBetween(this.index, l)), this.top = this.top.children[this.index];
|
|
43642
43646
|
else {
|
|
43643
|
-
let u =
|
|
43647
|
+
let u = ka.create(this.top, e[i], n, r);
|
|
43644
43648
|
this.top.children.splice(this.index, 0, u), this.top = u, this.changed = !0;
|
|
43645
43649
|
}
|
|
43646
43650
|
this.index = 0, i++;
|
|
@@ -43733,7 +43737,7 @@ const mv = class mv {
|
|
|
43733
43737
|
// contentEditable.
|
|
43734
43738
|
addTextblockHacks() {
|
|
43735
43739
|
let e = this.top.children[this.index - 1], n = this.top;
|
|
43736
|
-
for (; e instanceof
|
|
43740
|
+
for (; e instanceof ka; )
|
|
43737
43741
|
n = e, e = n.children[n.children.length - 1];
|
|
43738
43742
|
(!e || // Empty textblock
|
|
43739
43743
|
!(e instanceof Pd) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Rn || bn) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
|
|
@@ -43761,7 +43765,7 @@ function bH(t, e) {
|
|
|
43761
43765
|
for (; ; )
|
|
43762
43766
|
if (r) {
|
|
43763
43767
|
let d = n.children[r - 1];
|
|
43764
|
-
if (d instanceof
|
|
43768
|
+
if (d instanceof ka)
|
|
43765
43769
|
n = d, r = d.children.length;
|
|
43766
43770
|
else {
|
|
43767
43771
|
l = d, r--;
|
|
@@ -44059,11 +44063,11 @@ function Nd(t) {
|
|
|
44059
44063
|
return t.nodeType == 3 ? t.nodeValue.length : t.childNodes.length;
|
|
44060
44064
|
}
|
|
44061
44065
|
s(Nd, "nodeLen");
|
|
44062
|
-
function
|
|
44066
|
+
function Ml(t, e) {
|
|
44063
44067
|
let n = t.pmViewDesc;
|
|
44064
44068
|
return n && n.size == 0 && (e < 0 || t.nextSibling || t.nodeName != "BR");
|
|
44065
44069
|
}
|
|
44066
|
-
s(
|
|
44070
|
+
s(Ml, "isIgnorable");
|
|
44067
44071
|
function Fs(t, e) {
|
|
44068
44072
|
return e < 0 ? OH(t) : kH(t);
|
|
44069
44073
|
}
|
|
@@ -44073,13 +44077,13 @@ function OH(t) {
|
|
|
44073
44077
|
if (!n)
|
|
44074
44078
|
return;
|
|
44075
44079
|
let o, i, a = !1;
|
|
44076
|
-
for (Ar && n.nodeType == 1 && r < Nd(n) &&
|
|
44080
|
+
for (Ar && n.nodeType == 1 && r < Nd(n) && Ml(n.childNodes[r], -1) && (a = !0); ; )
|
|
44077
44081
|
if (r > 0) {
|
|
44078
44082
|
if (n.nodeType != 1)
|
|
44079
44083
|
break;
|
|
44080
44084
|
{
|
|
44081
44085
|
let l = n.childNodes[r - 1];
|
|
44082
|
-
if (
|
|
44086
|
+
if (Ml(l, -1))
|
|
44083
44087
|
o = n, i = --r;
|
|
44084
44088
|
else if (l.nodeType == 3)
|
|
44085
44089
|
n = l, r = n.nodeValue.length;
|
|
@@ -44091,7 +44095,7 @@ function OH(t) {
|
|
|
44091
44095
|
break;
|
|
44092
44096
|
{
|
|
44093
44097
|
let l = n.previousSibling;
|
|
44094
|
-
for (; l &&
|
|
44098
|
+
for (; l && Ml(l, -1); )
|
|
44095
44099
|
o = n.parentNode, i = an(l), l = l.previousSibling;
|
|
44096
44100
|
if (l)
|
|
44097
44101
|
n = l, r = Nd(n);
|
|
@@ -44115,7 +44119,7 @@ function kH(t) {
|
|
|
44115
44119
|
if (n.nodeType != 1)
|
|
44116
44120
|
break;
|
|
44117
44121
|
let l = n.childNodes[r];
|
|
44118
|
-
if (
|
|
44122
|
+
if (Ml(l, 1))
|
|
44119
44123
|
i = n, a = ++r;
|
|
44120
44124
|
else
|
|
44121
44125
|
break;
|
|
@@ -44124,7 +44128,7 @@ function kH(t) {
|
|
|
44124
44128
|
break;
|
|
44125
44129
|
{
|
|
44126
44130
|
let l = n.nextSibling;
|
|
44127
|
-
for (; l &&
|
|
44131
|
+
for (; l && Ml(l, 1); )
|
|
44128
44132
|
i = l.parentNode, a = an(l) + 1, l = l.nextSibling;
|
|
44129
44133
|
if (l)
|
|
44130
44134
|
n = l, r = 0, o = Nd(n);
|
|
@@ -44546,7 +44550,7 @@ s(WH, "dispatchEvent");
|
|
|
44546
44550
|
An.keydown = (t, e) => {
|
|
44547
44551
|
let n = e;
|
|
44548
44552
|
if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !fR(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(Tr && bn && n.keyCode == 13)))
|
|
44549
|
-
if (n.keyCode != 229 && t.domObserver.forceFlush(),
|
|
44553
|
+
if (n.keyCode != 229 && t.domObserver.forceFlush(), Oa && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
|
|
44550
44554
|
let r = Date.now();
|
|
44551
44555
|
t.input.lastIOSEnter = r, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
44552
44556
|
t.input.lastIOSEnter == r && (t.someProp("handleKeyDown", (o) => o(t, Li(13, "Enter"))), t.input.lastIOSEnter = 0);
|
|
@@ -44589,18 +44593,18 @@ function y0(t, e, n, r, o) {
|
|
|
44589
44593
|
return !1;
|
|
44590
44594
|
}
|
|
44591
44595
|
s(y0, "runHandlerOnContext");
|
|
44592
|
-
function
|
|
44596
|
+
function sa(t, e, n) {
|
|
44593
44597
|
if (t.focused || t.focus(), t.state.selection.eq(e))
|
|
44594
44598
|
return;
|
|
44595
44599
|
let r = t.state.tr.setSelection(e);
|
|
44596
44600
|
r.setMeta("pointer", !0), t.dispatch(r);
|
|
44597
44601
|
}
|
|
44598
|
-
s(
|
|
44602
|
+
s(sa, "updateSelection");
|
|
44599
44603
|
function qH(t, e) {
|
|
44600
44604
|
if (e == -1)
|
|
44601
44605
|
return !1;
|
|
44602
44606
|
let n = t.state.doc.resolve(e), r = n.nodeAfter;
|
|
44603
|
-
return r && r.isAtom && De.isSelectable(r) ? (
|
|
44607
|
+
return r && r.isAtom && De.isSelectable(r) ? (sa(t, new De(n)), !0) : !1;
|
|
44604
44608
|
}
|
|
44605
44609
|
s(qH, "selectClickedLeaf");
|
|
44606
44610
|
function UH(t, e) {
|
|
@@ -44616,7 +44620,7 @@ function UH(t, e) {
|
|
|
44616
44620
|
break;
|
|
44617
44621
|
}
|
|
44618
44622
|
}
|
|
44619
|
-
return o != null ? (
|
|
44623
|
+
return o != null ? (sa(t, De.create(t.state.doc, o)), !0) : !1;
|
|
44620
44624
|
}
|
|
44621
44625
|
s(UH, "selectClickedNode");
|
|
44622
44626
|
function GH(t, e, n, r, o) {
|
|
@@ -44636,14 +44640,14 @@ function JH(t, e, n) {
|
|
|
44636
44640
|
return !1;
|
|
44637
44641
|
let r = t.state.doc;
|
|
44638
44642
|
if (e == -1)
|
|
44639
|
-
return r.inlineContent ? (
|
|
44643
|
+
return r.inlineContent ? (sa(t, He.create(r, 0, r.content.size)), !0) : !1;
|
|
44640
44644
|
let o = r.resolve(e);
|
|
44641
44645
|
for (let i = o.depth + 1; i > 0; i--) {
|
|
44642
44646
|
let a = i > o.depth ? o.nodeAfter : o.node(i), l = o.before(i);
|
|
44643
44647
|
if (a.inlineContent)
|
|
44644
|
-
|
|
44648
|
+
sa(t, He.create(r, l + 1, l + 1 + a.content.size));
|
|
44645
44649
|
else if (De.isSelectable(a))
|
|
44646
|
-
|
|
44650
|
+
sa(t, De.create(r, l));
|
|
44647
44651
|
else
|
|
44648
44652
|
continue;
|
|
44649
44653
|
return !0;
|
|
@@ -44700,7 +44704,7 @@ const yv = class yv {
|
|
|
44700
44704
|
// (hidden) cursor is doesn't change the selection, and
|
|
44701
44705
|
// thus doesn't get a reaction from ProseMirror. This
|
|
44702
44706
|
// works around that.
|
|
44703
|
-
bn && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (
|
|
44707
|
+
bn && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (sa(this.view, We.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : Zo(this.view, "pointer");
|
|
44704
44708
|
}
|
|
44705
44709
|
move(e) {
|
|
44706
44710
|
this.updateAllowDefault(e), Zo(this.view, "pointer"), e.buttons == 0 && this.done();
|
|
@@ -44805,7 +44809,7 @@ function e9(t, e) {
|
|
|
44805
44809
|
}, 50);
|
|
44806
44810
|
}
|
|
44807
44811
|
s(e9, "captureCopy");
|
|
44808
|
-
const cc = Wn && ti < 15 ||
|
|
44812
|
+
const cc = Wn && ti < 15 || Oa && tH < 604;
|
|
44809
44813
|
Pn.copy = An.cut = (t, e) => {
|
|
44810
44814
|
let n = e, r = t.state.selection, o = n.type == "cut";
|
|
44811
44815
|
if (r.empty)
|
|
@@ -44977,7 +44981,7 @@ const Rp = class Rp {
|
|
|
44977
44981
|
};
|
|
44978
44982
|
s(Rp, "WidgetType");
|
|
44979
44983
|
let Ld = Rp;
|
|
44980
|
-
const
|
|
44984
|
+
const _l = class _l {
|
|
44981
44985
|
constructor(e, n) {
|
|
44982
44986
|
this.attrs = e, this.spec = n || cs;
|
|
44983
44987
|
}
|
|
@@ -44989,16 +44993,16 @@ const Bl = class Bl {
|
|
|
44989
44993
|
return n.from < n.to;
|
|
44990
44994
|
}
|
|
44991
44995
|
eq(e) {
|
|
44992
|
-
return this == e || e instanceof
|
|
44996
|
+
return this == e || e instanceof _l && dc(this.attrs, e.attrs) && dc(this.spec, e.spec);
|
|
44993
44997
|
}
|
|
44994
44998
|
static is(e) {
|
|
44995
|
-
return e.type instanceof
|
|
44999
|
+
return e.type instanceof _l;
|
|
44996
45000
|
}
|
|
44997
45001
|
destroy() {
|
|
44998
45002
|
}
|
|
44999
45003
|
};
|
|
45000
|
-
s(
|
|
45001
|
-
let ls =
|
|
45004
|
+
s(_l, "InlineType");
|
|
45005
|
+
let ls = _l;
|
|
45002
45006
|
const Pp = class Pp {
|
|
45003
45007
|
constructor(e, n) {
|
|
45004
45008
|
this.attrs = e, this.spec = n || cs;
|
|
@@ -45740,7 +45744,7 @@ function f9(t, e, n, r, o) {
|
|
|
45740
45744
|
let u = t.state.selection, d = u9(t, e, n), p = t.state.doc, f = p.slice(d.from, d.to), h, m;
|
|
45741
45745
|
t.input.lastKeyCode === 8 && Date.now() - 100 < t.input.lastKeyCodeTime ? (h = t.state.selection.to, m = "end") : (h = t.state.selection.from, m = "start"), t.input.lastKeyCode = null;
|
|
45742
45746
|
let y = g9(f.content, d.doc.content, d.from, h, m);
|
|
45743
|
-
if (y && t.input.domChangeCount++, (
|
|
45747
|
+
if (y && t.input.domChangeCount++, (Oa && t.input.lastIOSEnter > Date.now() - 225 || Tr) && o.some((A) => A.nodeType == 1 && !p9.test(A.nodeName)) && (!y || y.endA >= y.endB) && t.someProp("handleKeyDown", (A) => A(t, Li(13, "Enter")))) {
|
|
45744
45748
|
t.input.lastIOSEnter = 0;
|
|
45745
45749
|
return;
|
|
45746
45750
|
}
|
|
@@ -45759,7 +45763,7 @@ function f9(t, e, n, r, o) {
|
|
|
45759
45763
|
}
|
|
45760
45764
|
t.state.selection.from < t.state.selection.to && y.start == y.endB && t.state.selection instanceof He && (y.start > t.state.selection.from && y.start <= t.state.selection.from + 2 && t.state.selection.from >= d.from ? y.start = t.state.selection.from : y.endA < t.state.selection.to && y.endA >= t.state.selection.to - 2 && t.state.selection.to <= d.to && (y.endB += t.state.selection.to - y.endA, y.endA = t.state.selection.to)), Wn && ti <= 11 && y.endB == y.start + 1 && y.endA == y.start && y.start > d.from && d.doc.textBetween(y.start - d.from - 1, y.start - d.from + 1) == " " && (y.start--, y.endA--, y.endB--);
|
|
45761
45765
|
let g = d.doc.resolveNoCache(y.start - d.from), v = d.doc.resolveNoCache(y.endB - d.from), x = p.resolve(y.start), T = g.sameParent(v) && g.parent.inlineContent && x.end() >= y.endA, E;
|
|
45762
|
-
if ((
|
|
45766
|
+
if ((Oa && t.input.lastIOSEnter > Date.now() - 225 && (!T || o.some((A) => A.nodeName == "DIV" || A.nodeName == "P")) || !T && g.pos < d.doc.content.size && !g.sameParent(v) && (E = We.findFrom(d.doc.resolve(g.pos + 1), 1, !0)) && E.head == v.pos) && t.someProp("handleKeyDown", (A) => A(t, Li(13, "Enter")))) {
|
|
45763
45767
|
t.input.lastIOSEnter = 0;
|
|
45764
45768
|
return;
|
|
45765
45769
|
}
|
|
@@ -46421,19 +46425,19 @@ const wR = /* @__PURE__ */ s((t, e, n) => {
|
|
|
46421
46425
|
return !1;
|
|
46422
46426
|
let o = x0(r);
|
|
46423
46427
|
if (!o) {
|
|
46424
|
-
let a = r.blockRange(), l = a &&
|
|
46428
|
+
let a = r.blockRange(), l = a && _a(a);
|
|
46425
46429
|
return l == null ? !1 : (e && e(t.tr.lift(a, l).scrollIntoView()), !0);
|
|
46426
46430
|
}
|
|
46427
46431
|
let i = o.nodeBefore;
|
|
46428
46432
|
if (IR(t, o, e, -1))
|
|
46429
46433
|
return !0;
|
|
46430
|
-
if (r.parent.content.size == 0 && (
|
|
46434
|
+
if (r.parent.content.size == 0 && (Ma(i, "end") || De.isSelectable(i)))
|
|
46431
46435
|
for (let a = r.depth; ; a--) {
|
|
46432
46436
|
let l = If(t.doc, r.before(a), r.after(a), ye.empty);
|
|
46433
46437
|
if (l && l.slice.size < l.to - l.from) {
|
|
46434
46438
|
if (e) {
|
|
46435
46439
|
let u = t.tr.step(l);
|
|
46436
|
-
u.setSelection(
|
|
46440
|
+
u.setSelection(Ma(i, "end") ? We.findFrom(u.doc.resolve(u.mapping.map(o.pos, -1)), -1) : De.create(u.doc, o.pos - i.nodeSize)), e(u.scrollIntoView());
|
|
46437
46441
|
}
|
|
46438
46442
|
return !0;
|
|
46439
46443
|
}
|
|
@@ -46483,7 +46487,7 @@ function TR(t, e, n) {
|
|
|
46483
46487
|
return !0;
|
|
46484
46488
|
}
|
|
46485
46489
|
s(TR, "joinTextblocksAround");
|
|
46486
|
-
function
|
|
46490
|
+
function Ma(t, e, n = !1) {
|
|
46487
46491
|
for (let r = t; r; r = e == "start" ? r.firstChild : r.lastChild) {
|
|
46488
46492
|
if (r.isTextblock)
|
|
46489
46493
|
return !0;
|
|
@@ -46492,7 +46496,7 @@ function ka(t, e, n = !1) {
|
|
|
46492
46496
|
}
|
|
46493
46497
|
return !1;
|
|
46494
46498
|
}
|
|
46495
|
-
s(
|
|
46499
|
+
s(Ma, "textblockAt");
|
|
46496
46500
|
const ER = /* @__PURE__ */ s((t, e, n) => {
|
|
46497
46501
|
let { $head: r, empty: o } = t.selection, i = r;
|
|
46498
46502
|
if (!o)
|
|
@@ -46531,12 +46535,12 @@ const kR = /* @__PURE__ */ s((t, e, n) => {
|
|
|
46531
46535
|
let i = o.nodeAfter;
|
|
46532
46536
|
if (IR(t, o, e, 1))
|
|
46533
46537
|
return !0;
|
|
46534
|
-
if (r.parent.content.size == 0 && (
|
|
46538
|
+
if (r.parent.content.size == 0 && (Ma(i, "start") || De.isSelectable(i))) {
|
|
46535
46539
|
let a = If(t.doc, r.before(), r.after(), ye.empty);
|
|
46536
46540
|
if (a && a.slice.size < a.to - a.from) {
|
|
46537
46541
|
if (e) {
|
|
46538
46542
|
let l = t.tr.step(a);
|
|
46539
|
-
l.setSelection(
|
|
46543
|
+
l.setSelection(Ma(i, "start") ? We.findFrom(l.doc.resolve(l.mapping.map(o.pos)), 1) : De.create(l.doc, l.mapping.map(o.pos))), e(l.scrollIntoView());
|
|
46540
46544
|
}
|
|
46541
46545
|
return !0;
|
|
46542
46546
|
}
|
|
@@ -46589,7 +46593,7 @@ const M9 = /* @__PURE__ */ s((t, e) => {
|
|
|
46589
46593
|
return !1;
|
|
46590
46594
|
return e && e(t.tr.join(r).scrollIntoView()), !0;
|
|
46591
46595
|
}, "joinDown$1"), P9 = /* @__PURE__ */ s((t, e) => {
|
|
46592
|
-
let { $from: n, $to: r } = t.selection, o = n.blockRange(r), i = o &&
|
|
46596
|
+
let { $from: n, $to: r } = t.selection, o = n.blockRange(r), i = o && _a(o);
|
|
46593
46597
|
return i == null ? !1 : (e && e(t.tr.lift(o, i).scrollIntoView()), !0);
|
|
46594
46598
|
}, "lift$1"), RR = /* @__PURE__ */ s((t, e) => {
|
|
46595
46599
|
let { $head: n, $anchor: r } = t.selection;
|
|
@@ -46638,7 +46642,7 @@ const A9 = /* @__PURE__ */ s((t, e) => {
|
|
|
46638
46642
|
if (xo(t.doc, i))
|
|
46639
46643
|
return e && e(t.tr.split(i).scrollIntoView()), !0;
|
|
46640
46644
|
}
|
|
46641
|
-
let r = n.blockRange(), o = r &&
|
|
46645
|
+
let r = n.blockRange(), o = r && _a(r);
|
|
46642
46646
|
return o == null ? !1 : (e && e(t.tr.lift(r, o).scrollIntoView()), !0);
|
|
46643
46647
|
}, "liftEmptyBlock$1");
|
|
46644
46648
|
function I9(t) {
|
|
@@ -46694,10 +46698,10 @@ function IR(t, e, n, r) {
|
|
|
46694
46698
|
}
|
|
46695
46699
|
return !0;
|
|
46696
46700
|
}
|
|
46697
|
-
let p = i.type.spec.isolating || r > 0 && u ? null : We.findFrom(e, 1), f = p && p.$from.blockRange(p.$to), h = f &&
|
|
46701
|
+
let p = i.type.spec.isolating || r > 0 && u ? null : We.findFrom(e, 1), f = p && p.$from.blockRange(p.$to), h = f && _a(f);
|
|
46698
46702
|
if (h != null && h >= e.depth)
|
|
46699
46703
|
return n && n(t.tr.lift(f, h).scrollIntoView()), !0;
|
|
46700
|
-
if (d &&
|
|
46704
|
+
if (d && Ma(i, "start", !0) && Ma(o, "end")) {
|
|
46701
46705
|
let m = o, y = [];
|
|
46702
46706
|
for (; y.push(m), !m.isTextblock; )
|
|
46703
46707
|
m = m.lastChild;
|
|
@@ -46791,7 +46795,7 @@ function _9(t, e = null) {
|
|
|
46791
46795
|
if (o.index(a.depth - 1) == 0)
|
|
46792
46796
|
return !1;
|
|
46793
46797
|
let p = n.doc.resolve(a.start - 2);
|
|
46794
|
-
u = new
|
|
46798
|
+
u = new Ta(p, p, a.depth), a.endIndex < a.parent.childCount && (a = new Ta(o, n.doc.resolve(i.end(a.depth)), a.depth)), l = !0;
|
|
46795
46799
|
}
|
|
46796
46800
|
let d = p0(u, t, e, a);
|
|
46797
46801
|
return d ? (r && r(z9(n.tr, a, d, l, t).scrollIntoView()), !0) : !1;
|
|
@@ -46821,8 +46825,8 @@ function V9(t) {
|
|
|
46821
46825
|
s(V9, "liftListItem$1");
|
|
46822
46826
|
function j9(t, e, n, r) {
|
|
46823
46827
|
let o = t.tr, i = r.end, a = r.$to.end(r.depth);
|
|
46824
|
-
i < a && (o.step(new Sn(i - 1, a, i, a, new ye(ce.from(n.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new
|
|
46825
|
-
const l =
|
|
46828
|
+
i < a && (o.step(new Sn(i - 1, a, i, a, new ye(ce.from(n.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new Ta(o.doc.resolve(r.$from.pos), o.doc.resolve(a), r.depth));
|
|
46829
|
+
const l = _a(r);
|
|
46826
46830
|
if (l == null)
|
|
46827
46831
|
return !1;
|
|
46828
46832
|
o.lift(r, l);
|
|
@@ -46950,7 +46954,7 @@ const Cv = class Cv {
|
|
|
46950
46954
|
}
|
|
46951
46955
|
};
|
|
46952
46956
|
s(Cv, "CommandManager");
|
|
46953
|
-
let
|
|
46957
|
+
let Ra = Cv;
|
|
46954
46958
|
const wv = class wv {
|
|
46955
46959
|
constructor() {
|
|
46956
46960
|
this.callbacks = {};
|
|
@@ -47236,7 +47240,7 @@ const Tv = class Tv {
|
|
|
47236
47240
|
}
|
|
47237
47241
|
};
|
|
47238
47242
|
s(Tv, "InputRule");
|
|
47239
|
-
let
|
|
47243
|
+
let Pa = Tv;
|
|
47240
47244
|
const Y9 = /* @__PURE__ */ s((t, e) => {
|
|
47241
47245
|
if (E0(e))
|
|
47242
47246
|
return e.exec(t);
|
|
@@ -47271,7 +47275,7 @@ function Eu(t) {
|
|
|
47271
47275
|
}), v = {
|
|
47272
47276
|
from: r - (m[0].length - i.length),
|
|
47273
47277
|
to: o
|
|
47274
|
-
}, { commands: x, chain: T, can: E } = new
|
|
47278
|
+
}, { commands: x, chain: T, can: E } = new Ra({
|
|
47275
47279
|
editor: n,
|
|
47276
47280
|
state: g
|
|
47277
47281
|
});
|
|
@@ -47377,7 +47381,7 @@ function Ff(t, e) {
|
|
|
47377
47381
|
}), n;
|
|
47378
47382
|
}
|
|
47379
47383
|
s(Ff, "mergeDeep");
|
|
47380
|
-
const
|
|
47384
|
+
const zl = class zl {
|
|
47381
47385
|
constructor(e = {}) {
|
|
47382
47386
|
this.type = "mark", this.name = "mark", this.parent = null, this.child = null, this.config = {
|
|
47383
47387
|
name: this.name,
|
|
@@ -47393,7 +47397,7 @@ const _l = class _l {
|
|
|
47393
47397
|
})) || {};
|
|
47394
47398
|
}
|
|
47395
47399
|
static create(e = {}) {
|
|
47396
|
-
return new
|
|
47400
|
+
return new zl(e);
|
|
47397
47401
|
}
|
|
47398
47402
|
configure(e = {}) {
|
|
47399
47403
|
const n = this.extend({
|
|
@@ -47403,7 +47407,7 @@ const _l = class _l {
|
|
|
47403
47407
|
return n.name = this.name, n.parent = this.parent, n;
|
|
47404
47408
|
}
|
|
47405
47409
|
extend(e = {}) {
|
|
47406
|
-
const n = new
|
|
47410
|
+
const n = new zl(e);
|
|
47407
47411
|
return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = Xe(ve(n, "addOptions", {
|
|
47408
47412
|
name: n.name
|
|
47409
47413
|
})), n.storage = Xe(ve(n, "addStorage", {
|
|
@@ -47423,8 +47427,8 @@ const _l = class _l {
|
|
|
47423
47427
|
return !1;
|
|
47424
47428
|
}
|
|
47425
47429
|
};
|
|
47426
|
-
s(
|
|
47427
|
-
let Ir =
|
|
47430
|
+
s(zl, "Mark");
|
|
47431
|
+
let Ir = zl;
|
|
47428
47432
|
function Q9(t) {
|
|
47429
47433
|
return typeof t == "number";
|
|
47430
47434
|
}
|
|
@@ -47446,7 +47450,7 @@ const Z9 = /* @__PURE__ */ s((t, e, n) => {
|
|
|
47446
47450
|
}) : [];
|
|
47447
47451
|
}, "pasteRuleMatcherHandler");
|
|
47448
47452
|
function e8(t) {
|
|
47449
|
-
const { editor: e, state: n, from: r, to: o, rule: i, pasteEvent: a, dropEvent: l } = t, { commands: u, chain: d, can: p } = new
|
|
47453
|
+
const { editor: e, state: n, from: r, to: o, rule: i, pasteEvent: a, dropEvent: l } = t, { commands: u, chain: d, can: p } = new Ra({
|
|
47450
47454
|
editor: e,
|
|
47451
47455
|
state: n
|
|
47452
47456
|
}), f = [];
|
|
@@ -47722,7 +47726,7 @@ const qi = class qi {
|
|
|
47722
47726
|
};
|
|
47723
47727
|
s(qi, "ExtensionManager");
|
|
47724
47728
|
let My = qi;
|
|
47725
|
-
const
|
|
47729
|
+
const Vl = class Vl {
|
|
47726
47730
|
constructor(e = {}) {
|
|
47727
47731
|
this.type = "extension", this.name = "extension", this.parent = null, this.child = null, this.config = {
|
|
47728
47732
|
name: this.name,
|
|
@@ -47738,7 +47742,7 @@ const zl = class zl {
|
|
|
47738
47742
|
})) || {};
|
|
47739
47743
|
}
|
|
47740
47744
|
static create(e = {}) {
|
|
47741
|
-
return new
|
|
47745
|
+
return new Vl(e);
|
|
47742
47746
|
}
|
|
47743
47747
|
configure(e = {}) {
|
|
47744
47748
|
const n = this.extend({
|
|
@@ -47748,7 +47752,7 @@ const zl = class zl {
|
|
|
47748
47752
|
return n.name = this.name, n.parent = this.parent, n;
|
|
47749
47753
|
}
|
|
47750
47754
|
extend(e = {}) {
|
|
47751
|
-
const n = new
|
|
47755
|
+
const n = new Vl({ ...this.config, ...e });
|
|
47752
47756
|
return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = Xe(ve(n, "addOptions", {
|
|
47753
47757
|
name: n.name
|
|
47754
47758
|
})), n.storage = Xe(ve(n, "addStorage", {
|
|
@@ -47757,8 +47761,8 @@ const zl = class zl {
|
|
|
47757
47761
|
})), n;
|
|
47758
47762
|
}
|
|
47759
47763
|
};
|
|
47760
|
-
s(
|
|
47761
|
-
let xn =
|
|
47764
|
+
s(Vl, "Extension");
|
|
47765
|
+
let xn = Vl;
|
|
47762
47766
|
function LR(t, e, n) {
|
|
47763
47767
|
const { from: r, to: o } = e, { blockSeparator: i = `
|
|
47764
47768
|
|
|
@@ -47819,7 +47823,7 @@ const o8 = xn.create({
|
|
|
47819
47823
|
const { doc: d, mapping: p } = e, f = d.resolve(p.map(u)), h = d.resolve(p.map(u + l.nodeSize)), m = f.blockRange(h);
|
|
47820
47824
|
if (!m)
|
|
47821
47825
|
return;
|
|
47822
|
-
const y =
|
|
47826
|
+
const y = _a(m);
|
|
47823
47827
|
if (l.type.isTextblock) {
|
|
47824
47828
|
const { defaultType: g } = f.parent.contentMatchAt(f.index());
|
|
47825
47829
|
e.setNodeMarkup(m.start, g);
|
|
@@ -48878,7 +48882,7 @@ const k7 = xn.create({
|
|
|
48878
48882
|
const h = n.tr, m = $f({
|
|
48879
48883
|
state: n,
|
|
48880
48884
|
transaction: h
|
|
48881
|
-
}), { commands: y } = new
|
|
48885
|
+
}), { commands: y } = new Ra({
|
|
48882
48886
|
editor: this.editor,
|
|
48883
48887
|
state: m
|
|
48884
48888
|
});
|
|
@@ -49274,7 +49278,7 @@ const Ov = class Ov extends Ey {
|
|
|
49274
49278
|
* Creates an command manager.
|
|
49275
49279
|
*/
|
|
49276
49280
|
createCommandManager() {
|
|
49277
|
-
this.commandManager = new
|
|
49281
|
+
this.commandManager = new Ra({
|
|
49278
49282
|
editor: this
|
|
49279
49283
|
});
|
|
49280
49284
|
}
|
|
@@ -49469,7 +49473,7 @@ const Ov = class Ov extends Ey {
|
|
|
49469
49473
|
s(Ov, "Editor");
|
|
49470
49474
|
let Ny = Ov;
|
|
49471
49475
|
function ws(t) {
|
|
49472
|
-
return new
|
|
49476
|
+
return new Pa({
|
|
49473
49477
|
find: t.find,
|
|
49474
49478
|
handler: /* @__PURE__ */ s(({ state: e, range: n, match: r }) => {
|
|
49475
49479
|
const o = Xe(t.getAttributes, void 0, r);
|
|
@@ -49489,7 +49493,7 @@ function ws(t) {
|
|
|
49489
49493
|
}
|
|
49490
49494
|
s(ws, "markInputRule");
|
|
49491
49495
|
function WR(t) {
|
|
49492
|
-
return new
|
|
49496
|
+
return new Pa({
|
|
49493
49497
|
find: t.find,
|
|
49494
49498
|
handler: /* @__PURE__ */ s(({ state: e, range: n, match: r }) => {
|
|
49495
49499
|
const o = Xe(t.getAttributes, void 0, r) || {}, { tr: i } = e, a = n.from;
|
|
@@ -49511,7 +49515,7 @@ function WR(t) {
|
|
|
49511
49515
|
}
|
|
49512
49516
|
s(WR, "nodeInputRule");
|
|
49513
49517
|
function Dy(t) {
|
|
49514
|
-
return new
|
|
49518
|
+
return new Pa({
|
|
49515
49519
|
find: t.find,
|
|
49516
49520
|
handler: /* @__PURE__ */ s(({ state: e, range: n, match: r }) => {
|
|
49517
49521
|
const o = e.doc.resolve(n.from), i = Xe(t.getAttributes, void 0, r) || {};
|
|
@@ -49523,7 +49527,7 @@ function Dy(t) {
|
|
|
49523
49527
|
}
|
|
49524
49528
|
s(Dy, "textblockTypeInputRule");
|
|
49525
49529
|
function fc(t) {
|
|
49526
|
-
return new
|
|
49530
|
+
return new Pa({
|
|
49527
49531
|
find: t.find,
|
|
49528
49532
|
handler: /* @__PURE__ */ s(({ state: e, range: n, match: r, chain: o }) => {
|
|
49529
49533
|
const i = Xe(t.getAttributes, void 0, r) || {}, a = e.tr.delete(n.from, n.to), u = a.doc.resolve(n.from).blockRange(), d = u && p0(u, t.type, i);
|
|
@@ -49546,7 +49550,7 @@ function fc(t) {
|
|
|
49546
49550
|
});
|
|
49547
49551
|
}
|
|
49548
49552
|
s(fc, "wrappingInputRule");
|
|
49549
|
-
const
|
|
49553
|
+
const jl = class jl {
|
|
49550
49554
|
constructor(e = {}) {
|
|
49551
49555
|
this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
|
|
49552
49556
|
name: this.name,
|
|
@@ -49562,7 +49566,7 @@ const Vl = class Vl {
|
|
|
49562
49566
|
})) || {};
|
|
49563
49567
|
}
|
|
49564
49568
|
static create(e = {}) {
|
|
49565
|
-
return new
|
|
49569
|
+
return new jl(e);
|
|
49566
49570
|
}
|
|
49567
49571
|
configure(e = {}) {
|
|
49568
49572
|
const n = this.extend({
|
|
@@ -49572,7 +49576,7 @@ const Vl = class Vl {
|
|
|
49572
49576
|
return n.name = this.name, n.parent = this.parent, n;
|
|
49573
49577
|
}
|
|
49574
49578
|
extend(e = {}) {
|
|
49575
|
-
const n = new
|
|
49579
|
+
const n = new jl(e);
|
|
49576
49580
|
return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = Xe(ve(n, "addOptions", {
|
|
49577
49581
|
name: n.name
|
|
49578
49582
|
})), n.storage = Xe(ve(n, "addStorage", {
|
|
@@ -49581,8 +49585,8 @@ const Vl = class Vl {
|
|
|
49581
49585
|
})), n;
|
|
49582
49586
|
}
|
|
49583
49587
|
};
|
|
49584
|
-
s(
|
|
49585
|
-
let Un =
|
|
49588
|
+
s(jl, "Node");
|
|
49589
|
+
let Un = jl;
|
|
49586
49590
|
function ci(t) {
|
|
49587
49591
|
return new ky({
|
|
49588
49592
|
find: t.find,
|
|
@@ -49778,7 +49782,7 @@ const L7 = Ir.create({
|
|
|
49778
49782
|
})
|
|
49779
49783
|
];
|
|
49780
49784
|
}
|
|
49781
|
-
}), W7 = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", H7 = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",
|
|
49785
|
+
}), W7 = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", H7 = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Aa = /* @__PURE__ */ s((t, e) => {
|
|
49782
49786
|
for (const n in e)
|
|
49783
49787
|
t[n] = e[n];
|
|
49784
49788
|
return t;
|
|
@@ -49916,10 +49920,10 @@ Bn.prototype = {
|
|
|
49916
49920
|
return o.j[t] = e, e;
|
|
49917
49921
|
const i = e;
|
|
49918
49922
|
let a, l = o.go(t);
|
|
49919
|
-
if (l ? (a = new Bn(),
|
|
49923
|
+
if (l ? (a = new Bn(), Aa(a.j, l.j), a.jr.push.apply(a.jr, l.jr), a.jd = l.jd, a.t = l.t) : a = new Bn(), i) {
|
|
49920
49924
|
if (r)
|
|
49921
49925
|
if (a.t && typeof a.t == "string") {
|
|
49922
|
-
const u =
|
|
49926
|
+
const u = Aa(K7(a.t, r), n);
|
|
49923
49927
|
Qi(i, u, r);
|
|
49924
49928
|
} else n && Qi(i, n, r);
|
|
49925
49929
|
a.t = i;
|
|
@@ -49927,7 +49931,7 @@ Bn.prototype = {
|
|
|
49927
49931
|
return o.j[t] = a, a;
|
|
49928
49932
|
}
|
|
49929
49933
|
};
|
|
49930
|
-
const Ge = /* @__PURE__ */ s((t, e, n, r, o) => t.ta(e, n, r, o), "ta"), rr = /* @__PURE__ */ s((t, e, n, r, o) => t.tr(e, n, r, o), "tr"), DC = /* @__PURE__ */ s((t, e, n, r, o) => t.ts(e, n, r, o), "ts"), ue = /* @__PURE__ */ s((t, e, n, r, o) => t.tt(e, n, r, o), "tt"), bo = "WORD", _y = "UWORD", hc = "LOCALHOST", zy = "TLD", Vy = "UTLD", Uu = "SCHEME", Hs = "SLASH_SCHEME", A0 = "NUM", qR = "WS", I0 = "NL",
|
|
49934
|
+
const Ge = /* @__PURE__ */ s((t, e, n, r, o) => t.ta(e, n, r, o), "ta"), rr = /* @__PURE__ */ s((t, e, n, r, o) => t.tr(e, n, r, o), "tr"), DC = /* @__PURE__ */ s((t, e, n, r, o) => t.ts(e, n, r, o), "ts"), ue = /* @__PURE__ */ s((t, e, n, r, o) => t.tt(e, n, r, o), "tt"), bo = "WORD", _y = "UWORD", hc = "LOCALHOST", zy = "TLD", Vy = "UTLD", Uu = "SCHEME", Hs = "SLASH_SCHEME", A0 = "NUM", qR = "WS", I0 = "NL", Rl = "OPENBRACE", Pl = "CLOSEBRACE", jd = "OPENBRACKET", Wd = "CLOSEBRACKET", Hd = "OPENPAREN", qd = "CLOSEPAREN", Ud = "OPENANGLEBRACKET", Gd = "CLOSEANGLEBRACKET", Kd = "FULLWIDTHLEFTPAREN", Yd = "FULLWIDTHRIGHTPAREN", Jd = "LEFTCORNERBRACKET", Xd = "RIGHTCORNERBRACKET", Qd = "LEFTWHITECORNERBRACKET", Zd = "RIGHTWHITECORNERBRACKET", ep = "FULLWIDTHLESSTHAN", tp = "FULLWIDTHGREATERTHAN", np = "AMPERSAND", rp = "APOSTROPHE", op = "ASTERISK", jo = "AT", ip = "BACKSLASH", sp = "BACKTICK", ap = "CARET", Yo = "COLON", N0 = "COMMA", lp = "DOLLAR", Vr = "DOT", cp = "EQUALS", D0 = "EXCLAMATION", jr = "HYPHEN", up = "PERCENT", dp = "PIPE", pp = "PLUS", fp = "POUND", hp = "QUERY", $0 = "QUOTE", L0 = "SEMI", Wr = "SLASH", Al = "TILDE", mp = "UNDERSCORE", UR = "EMOJI", gp = "SYM";
|
|
49931
49935
|
var GR = /* @__PURE__ */ Object.freeze({
|
|
49932
49936
|
__proto__: null,
|
|
49933
49937
|
WORD: bo,
|
|
@@ -49940,8 +49944,8 @@ var GR = /* @__PURE__ */ Object.freeze({
|
|
|
49940
49944
|
NUM: A0,
|
|
49941
49945
|
WS: qR,
|
|
49942
49946
|
NL: I0,
|
|
49943
|
-
OPENBRACE:
|
|
49944
|
-
CLOSEBRACE:
|
|
49947
|
+
OPENBRACE: Rl,
|
|
49948
|
+
CLOSEBRACE: Pl,
|
|
49945
49949
|
OPENBRACKET: jd,
|
|
49946
49950
|
CLOSEBRACKET: Wd,
|
|
49947
49951
|
OPENPAREN: Hd,
|
|
@@ -49978,7 +49982,7 @@ var GR = /* @__PURE__ */ Object.freeze({
|
|
|
49978
49982
|
QUOTE: $0,
|
|
49979
49983
|
SEMI: L0,
|
|
49980
49984
|
SLASH: Wr,
|
|
49981
|
-
TILDE:
|
|
49985
|
+
TILDE: Al,
|
|
49982
49986
|
UNDERSCORE: mp,
|
|
49983
49987
|
EMOJI: UR,
|
|
49984
49988
|
SYM: gp
|
|
@@ -49991,7 +49995,7 @@ function X7(t) {
|
|
|
49991
49995
|
const e = {};
|
|
49992
49996
|
Bn.groups = e;
|
|
49993
49997
|
const n = new Bn();
|
|
49994
|
-
Ru == null && (Ru = FC(W7)), Pu == null && (Pu = FC(H7)), ue(n, "'", rp), ue(n, "{",
|
|
49998
|
+
Ru == null && (Ru = FC(W7)), Pu == null && (Pu = FC(H7)), ue(n, "'", rp), ue(n, "{", Rl), ue(n, "}", Pl), ue(n, "[", jd), ue(n, "]", Wd), ue(n, "(", Hd), ue(n, ")", qd), ue(n, "<", Ud), ue(n, ">", Gd), ue(n, "(", Kd), ue(n, ")", Yd), ue(n, "「", Jd), ue(n, "」", Xd), ue(n, "『", Qd), ue(n, "』", Zd), ue(n, "<", ep), ue(n, ">", tp), ue(n, "&", np), ue(n, "*", op), ue(n, "@", jo), ue(n, "`", sp), ue(n, "^", ap), ue(n, ":", Yo), ue(n, ",", N0), ue(n, "$", lp), ue(n, ".", Vr), ue(n, "=", cp), ue(n, "!", D0), ue(n, "-", jr), ue(n, "%", up), ue(n, "|", dp), ue(n, "+", pp), ue(n, "#", fp), ue(n, "?", hp), ue(n, '"', $0), ue(n, "/", Wr), ue(n, ";", L0), ue(n, "~", Al), ue(n, "_", mp), ue(n, "\\", ip);
|
|
49995
49999
|
const r = rr(n, Xh, A0, {
|
|
49996
50000
|
[$y]: !0
|
|
49997
50001
|
});
|
|
@@ -50046,7 +50050,7 @@ function X7(t) {
|
|
|
50046
50050
|
ascii: !0
|
|
50047
50051
|
}), n.jd = new Bn(gp), {
|
|
50048
50052
|
start: n,
|
|
50049
|
-
tokens:
|
|
50053
|
+
tokens: Aa({
|
|
50050
50054
|
groups: e
|
|
50051
50055
|
}, GR)
|
|
50052
50056
|
};
|
|
@@ -50129,8 +50133,8 @@ const mc = {
|
|
|
50129
50133
|
};
|
|
50130
50134
|
function F0(t, e) {
|
|
50131
50135
|
e === void 0 && (e = null);
|
|
50132
|
-
let n =
|
|
50133
|
-
t && (n =
|
|
50136
|
+
let n = Aa({}, mc);
|
|
50137
|
+
t && (n = Aa(n, t instanceof F0 ? t.o : t));
|
|
50134
50138
|
const r = n.ignoreTags, o = [];
|
|
50135
50139
|
for (let i = 0; i < r.length; i++)
|
|
50136
50140
|
o.push(r[i].toUpperCase());
|
|
@@ -50303,7 +50307,7 @@ KR.prototype = {
|
|
|
50303
50307
|
*/
|
|
50304
50308
|
render(t) {
|
|
50305
50309
|
const e = this, n = this.toHref(t.get("defaultProtocol")), r = t.get("formatHref", n, this), o = t.get("tagName", n, e), i = this.toFormattedString(t), a = {}, l = t.get("className", n, e), u = t.get("target", n, e), d = t.get("rel", n, e), p = t.getObj("attributes", n, e), f = t.getObj("events", n, e);
|
|
50306
|
-
return a.href = r, l && (a.class = l), u && (a.target = u), d && (a.rel = d), p &&
|
|
50310
|
+
return a.href = r, l && (a.class = l), u && (a.target = u), d && (a.rel = d), p && Aa(a, p), {
|
|
50307
50311
|
tagName: o,
|
|
50308
50312
|
attributes: a,
|
|
50309
50313
|
content: i,
|
|
@@ -50354,7 +50358,7 @@ function tq(t) {
|
|
|
50354
50358
|
let {
|
|
50355
50359
|
groups: e
|
|
50356
50360
|
} = t;
|
|
50357
|
-
const n = e.domain.concat([np, op, jo, ip, sp, ap, lp, cp, jr, A0, up, dp, pp, fp, Wr, gp,
|
|
50361
|
+
const n = e.domain.concat([np, op, jo, ip, sp, ap, lp, cp, jr, A0, up, dp, pp, fp, Wr, gp, Al, mp]), r = [rp, Yo, N0, Vr, D0, hp, $0, L0, Ud, Gd, Rl, Pl, Wd, jd, Hd, qd, Kd, Yd, Jd, Xd, Qd, Zd, ep, tp], o = [np, rp, op, ip, sp, ap, lp, cp, jr, Rl, Pl, up, dp, pp, fp, hp, Wr, gp, Al, mp], i = or(), a = ue(i, Al);
|
|
50358
50362
|
Ge(a, o, a), Ge(a, e.domain, a);
|
|
50359
50363
|
const l = or(), u = or(), d = or();
|
|
50360
50364
|
Ge(i, e.domain, l), Ge(i, e.scheme, u), Ge(i, e.slashscheme, d), Ge(l, o, a), Ge(l, e.domain, l);
|
|
@@ -50383,7 +50387,7 @@ function tq(t) {
|
|
|
50383
50387
|
const D = ue(u, Yo), A = ue(d, Yo), N = ue(A, Wr), I = ue(N, Wr);
|
|
50384
50388
|
Ge(u, e.domain, l), ue(u, Vr, T), ue(u, jr, x), Ge(d, e.domain, l), ue(d, Vr, T), ue(d, jr, x), Ge(D, e.domain, k), ue(D, Wr, k), Ge(I, e.domain, k), Ge(I, n, k), ue(I, Wr, k);
|
|
50385
50389
|
const O = [
|
|
50386
|
-
[
|
|
50390
|
+
[Rl, Pl],
|
|
50387
50391
|
// {}
|
|
50388
50392
|
[jd, Wd],
|
|
50389
50393
|
// []
|
|
@@ -50933,7 +50937,7 @@ function Sq() {
|
|
|
50933
50937
|
setRenderer(n, r) {
|
|
50934
50938
|
e = {
|
|
50935
50939
|
...e,
|
|
50936
|
-
[n]:
|
|
50940
|
+
[n]: sl.createPortal(r.reactElement, r.element, n)
|
|
50937
50941
|
}, t.forEach((o) => o());
|
|
50938
50942
|
},
|
|
50939
50943
|
/**
|
|
@@ -53429,7 +53433,7 @@ function SG() {
|
|
|
53429
53433
|
}
|
|
53430
53434
|
s(SG, "requireGet");
|
|
53431
53435
|
var xG = SG();
|
|
53432
|
-
const
|
|
53436
|
+
const gl = /* @__PURE__ */ rb(xG), CG = {
|
|
53433
53437
|
translate: /* @__PURE__ */ s((t, e) => e?._ ? zw(e._, e) : zw(t, e), "translate"),
|
|
53434
53438
|
changeLocale: /* @__PURE__ */ s(() => Promise.resolve(), "changeLocale"),
|
|
53435
53439
|
getLocale: /* @__PURE__ */ s(() => "en", "getLocale")
|
|
@@ -53482,13 +53486,13 @@ const NG = /* @__PURE__ */ s(({ args: t }) => ({
|
|
|
53482
53486
|
}), "oneOfTypeMessage");
|
|
53483
53487
|
vi((t, e = NG) => (n, r) => !yi(n) && t.indexOf(n) === -1 ? bi(e, { list: t }, n, r) : void 0);
|
|
53484
53488
|
const DG = /* @__PURE__ */ s((t) => t && t.isRequired ? !0 : Array.isArray(t) ? !!t.find((e) => e.isRequired) : !1, "isRequired"), $G = /* @__PURE__ */ s(({ inputProps: t, isArrayInput: e, fieldArrayInputControl: n }) => {
|
|
53485
|
-
const { defaultValue: r, source: o, disabled: i } = t, a = dP(o), l = lP(t), { getValues: u, resetField: d, reset: p, subscribe: f } = en(), h =
|
|
53489
|
+
const { defaultValue: r, source: o, disabled: i } = t, a = dP(o), l = lP(t), { getValues: u, resetField: d, reset: p, subscribe: f } = en(), h = gl(l, a), m = gl(u(), a), y = vn(void 0);
|
|
53486
53490
|
xe(() => f({
|
|
53487
53491
|
// Even though we only need dirtyFields, we subscribe to values as well to
|
|
53488
53492
|
// ensure we properly receive dirtyFields updates for newly added items in an ArrayInput
|
|
53489
53493
|
formState: { values: !0, dirtyFields: !0 },
|
|
53490
53494
|
callback: /* @__PURE__ */ s(({ dirtyFields: g }) => {
|
|
53491
|
-
y.current =
|
|
53495
|
+
y.current = gl(g ?? {}, a, !1);
|
|
53492
53496
|
}, "callback")
|
|
53493
53497
|
}), [a, f]), xe(() => {
|
|
53494
53498
|
if (r == null || m != null || // When the input is disabled, its value may always be undefined, no matter the default value.
|
|
@@ -53499,7 +53503,7 @@ const DG = /* @__PURE__ */ s((t) => t && t.isRequired ? !0 : Array.isArray(t) ?
|
|
|
53499
53503
|
return;
|
|
53500
53504
|
if (a.split(".").some((v) => LG.test(v))) {
|
|
53501
53505
|
const v = a.split(".").slice(0, -1).join(".");
|
|
53502
|
-
if (
|
|
53506
|
+
if (gl(u(), v) == null)
|
|
53503
53507
|
return;
|
|
53504
53508
|
}
|
|
53505
53509
|
if (e) {
|
|
@@ -54250,7 +54254,7 @@ const UG = lT(pP), GG = /* @__PURE__ */ s((t) => {
|
|
|
54250
54254
|
}, [g, y, h]);
|
|
54251
54255
|
const E = Array.isArray(p) ? AG(p) : p, { field: C, fieldState: w, formState: k } = VT({
|
|
54252
54256
|
name: m,
|
|
54253
|
-
defaultValue:
|
|
54257
|
+
defaultValue: gl(v, h, e),
|
|
54254
54258
|
rules: {
|
|
54255
54259
|
validate: /* @__PURE__ */ s(async (N, I) => {
|
|
54256
54260
|
if (!E)
|
|
@@ -54588,12 +54592,12 @@ const bp = "RaLabeled", vp = {
|
|
|
54588
54592
|
fT,
|
|
54589
54593
|
{ component: "nav", "aria-label": e("ra.tiptap.select_level", {
|
|
54590
54594
|
_: "Select the level"
|
|
54591
|
-
}), dense: !0, disablePadding: !0, className:
|
|
54595
|
+
}), dense: !0, disablePadding: !0, className: aa.list },
|
|
54592
54596
|
S.createElement(
|
|
54593
54597
|
e2,
|
|
54594
54598
|
{ className: ae({
|
|
54595
|
-
[
|
|
54596
|
-
[
|
|
54599
|
+
[aa.sizeSmall]: i === "small",
|
|
54600
|
+
[aa.sizeLarge]: i === "large"
|
|
54597
54601
|
}) },
|
|
54598
54602
|
S.createElement(
|
|
54599
54603
|
t2,
|
|
@@ -54607,7 +54611,7 @@ const bp = "RaLabeled", vp = {
|
|
|
54607
54611
|
)
|
|
54608
54612
|
)
|
|
54609
54613
|
),
|
|
54610
|
-
S.createElement(
|
|
54614
|
+
S.createElement(ua, { anchorEl: r, open: !!r, id: "level-menu", onClose: p }, Nu.map((f, h) => S.createElement(eo, { key: f.label, selected: f === a, onClick: /* @__PURE__ */ s((m) => {
|
|
54611
54615
|
u(m, h);
|
|
54612
54616
|
}, "onClick") }, e(f.label, { _: f.defaultLabel }))))
|
|
54613
54617
|
);
|
|
@@ -54653,23 +54657,23 @@ const bp = "RaLabeled", vp = {
|
|
|
54653
54657
|
value: "heading",
|
|
54654
54658
|
level: 6
|
|
54655
54659
|
}
|
|
54656
|
-
], og = "RaRichTextInputLevelSelect",
|
|
54660
|
+
], og = "RaRichTextInputLevelSelect", aa = {
|
|
54657
54661
|
list: `${og}-list`,
|
|
54658
54662
|
sizeSmall: `${og}-sizeSmall`,
|
|
54659
54663
|
sizeLarge: `${og}-sizeLarge`
|
|
54660
54664
|
}, RK = ee("div")(({ theme: t }) => ({
|
|
54661
|
-
[`&.${
|
|
54665
|
+
[`&.${aa.list}`]: {
|
|
54662
54666
|
borderRadius: t.shape.borderRadius,
|
|
54663
54667
|
border: `1px solid color-mix(in srgb, ${(t.vars || t).palette.action.active}, transparent 12%)`
|
|
54664
54668
|
},
|
|
54665
|
-
[`& .${
|
|
54669
|
+
[`& .${aa.sizeSmall}`]: {
|
|
54666
54670
|
paddingTop: 1,
|
|
54667
54671
|
paddingBottom: 1,
|
|
54668
54672
|
"& .MuiTypography-root": {
|
|
54669
54673
|
fontSize: t.typography.pxToRem(13)
|
|
54670
54674
|
}
|
|
54671
54675
|
},
|
|
54672
|
-
[`& .${
|
|
54676
|
+
[`& .${aa.sizeLarge}`]: {
|
|
54673
54677
|
paddingTop: 8,
|
|
54674
54678
|
paddingBottom: 8,
|
|
54675
54679
|
"& .MuiTypography-root": {
|