@ukpc-lib/react 0.13.1-dev.7 → 0.13.1-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/PopUp/types.d.ts +1 -1
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +99 -93
- package/dist/components/main.d.ts +1 -0
- package/dist/{index.esm2017-PBMi68u0.cjs → index.esm2017-C3w5APcd.cjs} +84 -84
- package/dist/{index.esm2017-BaUD-cIs.js → index.esm2017-DJ5XZpWt.js} +4254 -4222
- package/dist/share/hooks/index.d.ts +1 -0
- package/dist/share/hooks/useSyncBackdrop.d.ts +4 -0
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +63 -52
- package/package.json +1 -1
- package/web-components-bundle/favorite-menu/index.js +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-DofEXbsA.js → index-2K0_9D9S.js} +2550 -2518
package/dist/components/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import ii, { jsxs as M, Fragment as le, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import * as N from "react";
|
|
3
3
|
import ye, { useState as W, useContext as $e, useEffect as q, useRef as Se, useCallback as Mt, forwardRef as ai, createElement as sr, PureComponent as si } from "react";
|
|
4
|
-
import { c as ne, a as gt, C as Le, t as ct, p as li, L as Xr, u as ci, b as ui, S as qn, d as di, e as fi, Q as Zn, f as Et, g as Xn, h as hi, s as Ct, _ as
|
|
5
|
-
import { H as au, G as su, K as lu, E as cu, F as uu, J as du } from "../index.esm2017-
|
|
4
|
+
import { c as ne, a as gt, C as Le, t as ct, p as li, L as Xr, u as ci, b as ui, S as qn, d as di, e as fi, Q as Zn, f as Et, g as Xn, h as hi, s as Ct, _ as j, P as R, i as pe, j as mi, o as pi, k as Ne, l as gi, m as yi, n as Jr, q as Ot, r as Qr, I as vi, v as bi, w as en, D as xi, x as Jn, y as Qn, z as Si, A as wi, B as _i } from "../index.esm2017-DJ5XZpWt.js";
|
|
5
|
+
import { H as au, G as su, K as lu, E as cu, F as uu, J as du } from "../index.esm2017-DJ5XZpWt.js";
|
|
6
6
|
import Q from "moment";
|
|
7
7
|
import { Stack as me, Dialog as Ei, DialogTitle as Ci, Typography as Ce, DialogContent as Ti, DialogActions as Ii, Button as pr, Box as ki, ClickAwayListener as Mi, TextField as eo, IconButton as Oi, CircularProgress as $i, Fade as Ai, Paper as Ni, Checkbox as Ri, Breadcrumbs as Pi } from "@mui/material";
|
|
8
8
|
import "axios";
|
|
@@ -451,7 +451,7 @@ const Di = (e) => {
|
|
|
451
451
|
}
|
|
452
452
|
) });
|
|
453
453
|
};
|
|
454
|
-
function
|
|
454
|
+
function Bi({
|
|
455
455
|
iconColor: e = "#fff",
|
|
456
456
|
baseUrl: t,
|
|
457
457
|
notiPath: r,
|
|
@@ -543,7 +543,7 @@ function ji({
|
|
|
543
543
|
) })
|
|
544
544
|
] });
|
|
545
545
|
}
|
|
546
|
-
const
|
|
546
|
+
const ji = ".avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;left:-10rem;top:3.2rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar-wrapper{top:0;left:0;width:100%;height:64px;display:flex;z-index:1000;background:#292929;padding-left:2.5rem}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between;position:relative}.logo-container{height:100%;display:flex;align-items:center}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#ddd;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}.topbar-search-label{display:flex;position:relative}.topbar-search-input{color:#292929;border-radius:3px;height:40px;outline:none;font-size:14px;text-overflow:ellipsis;max-width:166px}#icon{position:absolute;left:9px;top:8px;width:16px;height:24px}", Hi = ".StyledReactSearchAutocomplete ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:5px}.StyledReactSearchAutocomplete ::-webkit-scrollbar-thumb{background:#c2c2c2;border-radius:5px}.StyledReactSearchAutocomplete ::-webkit-scrollbar-thumb:hover{background:#757575}.StyledReactSearchAutocomplete .container{display:flex;width:100%;height:100vh;justify-content:center;align-items:center}.StyledReactSearchAutocomplete .container>div{width:300px;height:40px}.StyledReactSearchAutocomplete .container>div input{width:100%;height:40px;border:1px solid #ccc;border-radius:5px;font-size:14px;color:#000}.StyledReactSearchAutocomplete .container>div input:focus{outline:1px solid rgb(83,172,255)}.StyledReactSearchAutocomplete .list{display:flex;flex-direction:column;max-height:220px;width:inherit;overflow:auto;overflow-x:hidden;box-shadow:#0000001f 0 1px 3px,#0000003d 0 1px 2px;color:#000}.StyledReactSearchAutocomplete .list button{background:none;border:none;width:100%;height:100%;max-height:3em;padding:10px;text-align:left;cursor:pointer;border-bottom:1px solid #ccc}.StyledReactSearchAutocomplete .list button:hover{background:#f8f8f8}.StyledReactSearchAutocomplete .list button:last-child{border-bottom:none}.StyledReactSearchAutocomplete{position:relative;height:46px}.StyledReactSearchAutocomplete .wrapper{position:absolute;display:flex;flex-direction:column;width:100%;border:1px solid #dfe1e5;background-color:#fff;color:#212121;font-size:14px;font-family:inherit;z-index:0;margin-top:2px;border-radius:3px}.StyledReactSearchAutocomplete .wrapper:hover,.StyledReactSearchAutocomplete .wrapper:active,.StyledReactSearchAutocomplete .wrapper:focus-within{box-shadow:#20212447 0 1px 6px}.StyledResults{position:absolute;display:flex;flex-direction:column;border:1px solid #dfe1e5;background-color:#fff;color:#212121;font-size:14px;font-family:inherit;z-index:0;min-width:250px;max-width:400px;top:calc(100% - 2px);left:0}.StyledResults>div.line{border-top-color:#e8eaed;border-top-style:solid;border-top-width:1px;margin:0 20px 0 14px;padding-bottom:4px}.StyledResults>ul{list-style-type:none;margin:0;padding:0 0 16px;max-height:300px;max-width:450px}#autocomplete-results strong,#autocomplete-results li strong,#autocomplete-results li div strong{font-weight:700!important}.StyledResults>ul>li{display:flex;align-items:center;padding:4px 10px 4px 0;font-size:14px;width:100%}.StyledResults>ul>li>div{margin-left:13px;font-size:14px}.StyledResults .ellipsis{text-align:left;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.StyledResults .selectedSearch{color:#fff;text-decoration:none;background-color:#0d6efd}.StyledSearchInput{min-height:40px;width:100%;display:flex;align-items:center}.StyledSearchInput input{width:100%}.StyledSearchInput>input::-moz-placeholder{color:gray;opacity:1}.StyledSearchInput>input::placeholder{color:gray;opacity:1}.StyledSearchInput>input:-ms-input-placeholder{color:gray}.StyledSearchInput>input::-ms-input-placeholder{color:gray}.StyledClearIcon{margin:0 0 0 5px}.StyledClearIcon:hover{cursor:pointer}.StyledClearIcon>svg{fill:gray}.StyledSearchIcon{flex-shrink:0;margin:0 0 0 10px;fill:gray}.search-icon{position:unset!important;float:left;margin-right:5px;margin-left:5px}", Vi = ':root{--textPrimary: #292929;--textWhite: #fff;--primary500: #2E7D32;--grey100: #FAFAFA;--gray200: #EEEEEE;--gray600: #85858A;--link: #007BFF }.list-content{overflow-y:auto;overflow-x:hidden}.mark-all-read{text-align:right;color:#007bff;margin-bottom:12px;font-size:12px}.notification-items__wrapper{overflow:hidden}.notification-items__content{height:calc(100vh - 275px);overflow-x:hidden;overflow-y:auto;color:#292929}.notitification-item__container{display:flex;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:46px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__content-wrapper{width:100%;display:flex;align-items:center;justify-content:space-between}.notification-item__context-link{color:#007bff}.notification-item__context-text{color:#292929}.notification-item__content{width:68%;padding-right:16px}.notification-item__user-name{margin-bottom:2px;font-size:14px}.notification-item__time{margin-right:15px;text-align:right}.notification-item__read-at{border-width:2px;border-style:solid;border-radius:50%;width:10px;height:10px;display:block;position:relative}.notification-item__read-at:before{position:absolute;top:-30px;right:0;width:91px;background-color:#85858a;color:#fff;border-radius:4px;font-size:10px;text-align:center;padding:4px;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1;visibility:visible}.notification-item__read-at.read:before{content:"Mark as unread"}.notification-item__read-at.unread:before{content:"Mark as read"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}.list-dot{border-radius:50%;width:8px;height:8px;margin-right:4px;display:block}', Wi = "._subscription-diaglog_1bysb_2{position:fixed;width:100vw;height:100vh;top:0;left:0;background-color:#0006;z-index:10000;display:flex;align-items:center;justify-content:center}._subscription-container_1bysb_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1bysb_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1bysb_25,._subscription-text_1bysb_34{margin-bottom:24px}._subscription-btn__container_1bysb_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1bysb_44,._btn-cancel_1bysb_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms}._btn-cancel_1bysb_45{background-color:#ddd}._btn-cancel_1bysb_45:hover{background-color:#c5c5c5}._btn-success_1bysb_44{background-color:#93d500}._btn-success_1bysb_44:hover{background-color:#2e7d32}", ro = '.notification-massage_container{background:#fff;padding:0 64px 0 72px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif;text-decoration:none;color:inherit}.notification-massage_container:before{position:absolute;content:"";width:48px;height:48px;background:url(https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg) no-repeat center/100%;top:12px;left:24px}.notification-name{font-weight:500;font-size:14px;margin:0}.notification-message_service{font-size:12px}.notification-message_button-close{position:absolute;top:12px;right:24px;width:24px;height:24px}';
|
|
547
547
|
function Ui(e) {
|
|
548
548
|
return /* @__PURE__ */ M(
|
|
549
549
|
"svg",
|
|
@@ -1805,7 +1805,7 @@ function La({
|
|
|
1805
1805
|
const cn = ({ children: e }) => /* @__PURE__ */ M("div", { className: "StyledResults", children: [
|
|
1806
1806
|
/* @__PURE__ */ u("div", { className: "line" }),
|
|
1807
1807
|
/* @__PURE__ */ u("ul", { id: "autocomplete-results", children: e })
|
|
1808
|
-
] }),
|
|
1808
|
+
] }), Ba = ({
|
|
1809
1809
|
showClear: e,
|
|
1810
1810
|
setSearchString: t,
|
|
1811
1811
|
searchString: r,
|
|
@@ -1834,7 +1834,7 @@ const cn = ({ children: e }) => /* @__PURE__ */ M("div", { className: "StyledRes
|
|
|
1834
1834
|
}
|
|
1835
1835
|
);
|
|
1836
1836
|
};
|
|
1837
|
-
function
|
|
1837
|
+
function ja({
|
|
1838
1838
|
searchString: e,
|
|
1839
1839
|
setSearchString: t,
|
|
1840
1840
|
setHighlightedItem: r,
|
|
@@ -1911,7 +1911,7 @@ function Ba({
|
|
|
1911
1911
|
}
|
|
1912
1912
|
),
|
|
1913
1913
|
/* @__PURE__ */ u(
|
|
1914
|
-
|
|
1914
|
+
Ba,
|
|
1915
1915
|
{
|
|
1916
1916
|
showClear: d,
|
|
1917
1917
|
setSearchString: t,
|
|
@@ -1956,7 +1956,7 @@ function Wa({
|
|
|
1956
1956
|
({ ...p });
|
|
1957
1957
|
const S = { ...ln, ...t }, I = new rt(e, S);
|
|
1958
1958
|
I.setCollection(e);
|
|
1959
|
-
const [k, O] = W(y), [C, $] = W([]), [P, U] = W(-1), [re, he] = W(!1), [ze, Ee] = W(!1), [at, ke] = W(!1), [
|
|
1959
|
+
const [k, O] = W(y), [C, $] = W([]), [P, U] = W(-1), [re, he] = W(!1), [ze, Ee] = W(!1), [at, ke] = W(!1), [Be, je] = W(!1);
|
|
1960
1960
|
q(() => {
|
|
1961
1961
|
O(y);
|
|
1962
1962
|
const z = setTimeout(
|
|
@@ -1968,12 +1968,12 @@ function Wa({
|
|
|
1968
1968
|
(k == null ? void 0 : k.length) >= 3 ? e && (e == null ? void 0 : e.length) > 0 && $(e) : $([]);
|
|
1969
1969
|
}, [e]), q(() => {
|
|
1970
1970
|
const z = () => {
|
|
1971
|
-
We(),
|
|
1971
|
+
We(), je(!1);
|
|
1972
1972
|
};
|
|
1973
1973
|
return document.addEventListener("click", z), () => document.removeEventListener("click", z);
|
|
1974
1974
|
}, []), q(() => {
|
|
1975
1975
|
(() => {
|
|
1976
|
-
_ && k.length > 0 && !ze && C.length === 0 && !re ? ke(!0) : ke(!1), E && C.length === 0 && k.length === 0 &&
|
|
1976
|
+
_ && k.length > 0 && !ze && C.length === 0 && !re ? ke(!0) : ke(!1), E && C.length === 0 && k.length === 0 && Be && $(e.slice(0, h));
|
|
1977
1977
|
})();
|
|
1978
1978
|
}, [
|
|
1979
1979
|
ze,
|
|
@@ -1982,10 +1982,10 @@ function Wa({
|
|
|
1982
1982
|
k,
|
|
1983
1983
|
C,
|
|
1984
1984
|
E,
|
|
1985
|
-
|
|
1985
|
+
Be
|
|
1986
1986
|
]);
|
|
1987
1987
|
const He = (z) => {
|
|
1988
|
-
c && a(z),
|
|
1988
|
+
c && a(z), je(!0);
|
|
1989
1989
|
}, ge = (z) => {
|
|
1990
1990
|
let T = [];
|
|
1991
1991
|
(z == null ? void 0 : z.length) > 0 && (T = wt(z)), $(T), n(z, T), Ee(!1);
|
|
@@ -2024,7 +2024,7 @@ function Wa({
|
|
|
2024
2024
|
};
|
|
2025
2025
|
return /* @__PURE__ */ u(le, { children: /* @__PURE__ */ M("div", { className: "StyledReactSearchAutocomplete", children: [
|
|
2026
2026
|
/* @__PURE__ */ u("div", { className: "wrapper", children: /* @__PURE__ */ u(
|
|
2027
|
-
|
|
2027
|
+
ja,
|
|
2028
2028
|
{
|
|
2029
2029
|
searchString: k,
|
|
2030
2030
|
setSearchString: ar,
|
|
@@ -2121,7 +2121,7 @@ function Ua({ classNames: e = "", ...t }) {
|
|
|
2121
2121
|
qn,
|
|
2122
2122
|
{
|
|
2123
2123
|
styles: [
|
|
2124
|
-
|
|
2124
|
+
ji,
|
|
2125
2125
|
// tabStyles,
|
|
2126
2126
|
Vi,
|
|
2127
2127
|
ro,
|
|
@@ -2182,7 +2182,7 @@ function Ua({ classNames: e = "", ...t }) {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
),
|
|
2184
2184
|
/* @__PURE__ */ u(
|
|
2185
|
-
|
|
2185
|
+
Bi,
|
|
2186
2186
|
{
|
|
2187
2187
|
iconColor: l == null ? void 0 : l.headerTextColor,
|
|
2188
2188
|
baseUrl: o,
|
|
@@ -2755,9 +2755,15 @@ function K1(e) {
|
|
|
2755
2755
|
function Y1(e) {
|
|
2756
2756
|
const t = Xa(typeof e == "boolean" ? e : void 0);
|
|
2757
2757
|
return {
|
|
2758
|
-
setTrue:
|
|
2758
|
+
setTrue: () => {
|
|
2759
|
+
var r, n;
|
|
2760
|
+
t.setTrue(), (n = (r = window.top) == null ? void 0 : r.HostBridge) == null || n.openBackdrop(!0);
|
|
2761
|
+
},
|
|
2759
2762
|
open: t.value,
|
|
2760
|
-
onClose:
|
|
2763
|
+
onClose: () => {
|
|
2764
|
+
var r, n;
|
|
2765
|
+
t.setFalse(), (n = (r = window.top) == null ? void 0 : r.HostBridge) == null || n.openBackdrop(!1);
|
|
2766
|
+
},
|
|
2761
2767
|
onConfirm: typeof e != "boolean" ? e == null ? void 0 : e.onConfirm : void 0
|
|
2762
2768
|
};
|
|
2763
2769
|
}
|
|
@@ -2921,7 +2927,7 @@ function go(e) {
|
|
|
2921
2927
|
function we(e, t, r = {
|
|
2922
2928
|
clone: !0
|
|
2923
2929
|
}) {
|
|
2924
|
-
const n = r.clone ?
|
|
2930
|
+
const n = r.clone ? j({}, e) : e;
|
|
2925
2931
|
return Oe(e) && Oe(t) && Object.keys(t).forEach((o) => {
|
|
2926
2932
|
/* @__PURE__ */ N.isValidElement(t[o]) ? n[o] = t[o] : Oe(t[o]) && // Avoid prototype pollution
|
|
2927
2933
|
Object.prototype.hasOwnProperty.call(e, o) && Oe(e[o]) ? n[o] = we(e[o], t[o], r) : r.clone ? n[o] = Oe(t[o]) ? go(t[o]) : t[o] : n[o] = t[o];
|
|
@@ -3176,7 +3182,7 @@ function ds(e) {
|
|
|
3176
3182
|
function fs(e, t) {
|
|
3177
3183
|
if (process.env.NODE_ENV === "production")
|
|
3178
3184
|
return () => null;
|
|
3179
|
-
const r = t ?
|
|
3185
|
+
const r = t ? j({}, t.propTypes) : null;
|
|
3180
3186
|
return (o) => (i, a, l, c, d, ...f) => {
|
|
3181
3187
|
const h = d || a, m = r == null ? void 0 : r[h];
|
|
3182
3188
|
if (m) {
|
|
@@ -3338,13 +3344,13 @@ function Ts() {
|
|
|
3338
3344
|
};
|
|
3339
3345
|
}
|
|
3340
3346
|
function Cr(e, t) {
|
|
3341
|
-
const r =
|
|
3347
|
+
const r = j({}, t);
|
|
3342
3348
|
return Object.keys(e).forEach((n) => {
|
|
3343
3349
|
if (n.toString().match(/^(components|slots)$/))
|
|
3344
|
-
r[n] =
|
|
3350
|
+
r[n] = j({}, e[n], r[n]);
|
|
3345
3351
|
else if (n.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
3346
3352
|
const o = e[n] || {}, i = t[n];
|
|
3347
|
-
r[n] = {}, !i || !Object.keys(i) ? r[n] = o : !o || !Object.keys(o) ? r[n] = i : (r[n] =
|
|
3353
|
+
r[n] = {}, !i || !Object.keys(i) ? r[n] = o : !o || !Object.keys(o) ? r[n] = i : (r[n] = j({}, i), Object.keys(o).forEach((a) => {
|
|
3348
3354
|
r[n][a] = Cr(o[a], i[a]);
|
|
3349
3355
|
}));
|
|
3350
3356
|
} else
|
|
@@ -3458,11 +3464,11 @@ function Ls(e) {
|
|
|
3458
3464
|
if (document.styleSheets[t].ownerNode === e)
|
|
3459
3465
|
return document.styleSheets[t];
|
|
3460
3466
|
}
|
|
3461
|
-
function
|
|
3467
|
+
function Bs(e) {
|
|
3462
3468
|
var t = document.createElement("style");
|
|
3463
3469
|
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
3464
3470
|
}
|
|
3465
|
-
var
|
|
3471
|
+
var js = /* @__PURE__ */ function() {
|
|
3466
3472
|
function e(r) {
|
|
3467
3473
|
var n = this;
|
|
3468
3474
|
this._insertTag = function(o) {
|
|
@@ -3474,7 +3480,7 @@ var Bs = /* @__PURE__ */ function() {
|
|
|
3474
3480
|
return t.hydrate = function(n) {
|
|
3475
3481
|
n.forEach(this._insertTag);
|
|
3476
3482
|
}, t.insert = function(n) {
|
|
3477
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
3483
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Bs(this));
|
|
3478
3484
|
var o = this.tags[this.tags.length - 1];
|
|
3479
3485
|
if (this.isSpeedy) {
|
|
3480
3486
|
var i = Ls(o);
|
|
@@ -3516,7 +3522,7 @@ function ft(e, t, r) {
|
|
|
3516
3522
|
function ve(e) {
|
|
3517
3523
|
return e.length;
|
|
3518
3524
|
}
|
|
3519
|
-
function
|
|
3525
|
+
function Br(e) {
|
|
3520
3526
|
return e.length;
|
|
3521
3527
|
}
|
|
3522
3528
|
function It(e, t) {
|
|
@@ -3723,7 +3729,7 @@ function Nt(e, t, r, n, o, i, a, l, c) {
|
|
|
3723
3729
|
return i;
|
|
3724
3730
|
}
|
|
3725
3731
|
function yn(e, t, r, n, o, i, a, l, c, d, f) {
|
|
3726
|
-
for (var h = o - 1, m = o === 0 ? i : [""], v =
|
|
3732
|
+
for (var h = o - 1, m = o === 0 ? i : [""], v = Br(m), p = 0, s = 0, y = 0; p < n; ++p)
|
|
3727
3733
|
for (var x = 0, _ = ft(e, h + 1, h = Ws(s = a[p])), w = e; x < v; ++x)
|
|
3728
3734
|
(w = To(s > 0 ? m[x] + " " + _ : F(_, /&\f/g, m[x]))) && (c[y++] = w);
|
|
3729
3735
|
return Yt(e, t, r, o === 0 ? Fr : l, c, d, f);
|
|
@@ -3735,7 +3741,7 @@ function vn(e, t, r, n) {
|
|
|
3735
3741
|
return Yt(e, t, r, Lr, ft(e, 0, n), ft(e, n + 1, -1), n);
|
|
3736
3742
|
}
|
|
3737
3743
|
function Qe(e, t) {
|
|
3738
|
-
for (var r = "", n =
|
|
3744
|
+
for (var r = "", n = Br(e), o = 0; o < n; o++)
|
|
3739
3745
|
r += t(e[o], o, e, t) || "";
|
|
3740
3746
|
return r;
|
|
3741
3747
|
}
|
|
@@ -3757,7 +3763,7 @@ function nl(e, t, r, n) {
|
|
|
3757
3763
|
return ve(r = Qe(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
3758
3764
|
}
|
|
3759
3765
|
function ol(e) {
|
|
3760
|
-
var t =
|
|
3766
|
+
var t = Br(e);
|
|
3761
3767
|
return function(r, n, o, i) {
|
|
3762
3768
|
for (var a = "", l = 0; l < t; l++)
|
|
3763
3769
|
a += e[l](r, n, o, i) || "";
|
|
@@ -4001,7 +4007,7 @@ var dl = function(t, r, n, o) {
|
|
|
4001
4007
|
}
|
|
4002
4008
|
var p = {
|
|
4003
4009
|
key: r,
|
|
4004
|
-
sheet: new
|
|
4010
|
+
sheet: new js({
|
|
4005
4011
|
key: r,
|
|
4006
4012
|
container: a,
|
|
4007
4013
|
nonce: t.nonce,
|
|
@@ -4091,7 +4097,7 @@ function hl() {
|
|
|
4091
4097
|
return typeof b == "string" || typeof b == "function" || b === n || b === d || b === i || b === o || b === h || b === m || typeof b == "object" && b !== null && (b.$$typeof === p || b.$$typeof === v || b.$$typeof === a || b.$$typeof === l || b.$$typeof === f || b.$$typeof === y || b.$$typeof === x || b.$$typeof === _ || b.$$typeof === s);
|
|
4092
4098
|
}, L.typeOf = w, L;
|
|
4093
4099
|
}
|
|
4094
|
-
var
|
|
4100
|
+
var B = {};
|
|
4095
4101
|
/** @license React v16.13.1
|
|
4096
4102
|
* react-is.development.js
|
|
4097
4103
|
*
|
|
@@ -4147,10 +4153,10 @@ function ml() {
|
|
|
4147
4153
|
function ke(T) {
|
|
4148
4154
|
return E(T) === d;
|
|
4149
4155
|
}
|
|
4150
|
-
function
|
|
4156
|
+
function Be(T) {
|
|
4151
4157
|
return E(T) === l;
|
|
4152
4158
|
}
|
|
4153
|
-
function
|
|
4159
|
+
function je(T) {
|
|
4154
4160
|
return E(T) === a;
|
|
4155
4161
|
}
|
|
4156
4162
|
function He(T) {
|
|
@@ -4180,8 +4186,8 @@ function ml() {
|
|
|
4180
4186
|
function z(T) {
|
|
4181
4187
|
return E(T) === h;
|
|
4182
4188
|
}
|
|
4183
|
-
|
|
4184
|
-
}()),
|
|
4189
|
+
B.AsyncMode = b, B.ConcurrentMode = g, B.ContextConsumer = S, B.ContextProvider = I, B.Element = k, B.ForwardRef = O, B.Fragment = C, B.Lazy = $, B.Memo = P, B.Portal = U, B.Profiler = re, B.StrictMode = he, B.Suspense = ze, B.isAsyncMode = at, B.isConcurrentMode = ke, B.isContextConsumer = Be, B.isContextProvider = je, B.isElement = He, B.isForwardRef = ge, B.isFragment = Ve, B.isLazy = ir, B.isMemo = wt, B.isPortal = ar, B.isProfiler = We, B.isStrictMode = _t, B.isSuspense = z, B.isValidElementType = w, B.typeOf = E;
|
|
4190
|
+
}()), B;
|
|
4185
4191
|
}
|
|
4186
4192
|
process.env.NODE_ENV === "production" ? kr.exports = hl() : kr.exports = ml();
|
|
4187
4193
|
var pl = kr.exports, No = pl, gl = {
|
|
@@ -4207,7 +4213,7 @@ function Po(e, t, r) {
|
|
|
4207
4213
|
e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " ");
|
|
4208
4214
|
}), n;
|
|
4209
4215
|
}
|
|
4210
|
-
var
|
|
4216
|
+
var jr = function(t, r, n) {
|
|
4211
4217
|
var o = t.key + "-" + r.name;
|
|
4212
4218
|
// we only need to add the styles to the registered cache if the
|
|
4213
4219
|
// class name could be used further down
|
|
@@ -4220,7 +4226,7 @@ var Br = function(t, r, n) {
|
|
|
4220
4226
|
// also, note that this check will be dead code eliminated in the browser
|
|
4221
4227
|
vl === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
|
|
4222
4228
|
}, Hr = function(t, r, n) {
|
|
4223
|
-
|
|
4229
|
+
jr(t, r, n);
|
|
4224
4230
|
var o = t.key + "-" + r.name;
|
|
4225
4231
|
if (t.inserted[r.name] === void 0) {
|
|
4226
4232
|
var i = r;
|
|
@@ -4445,7 +4451,7 @@ var El = function(t) {
|
|
|
4445
4451
|
return n[Mr] = t, n;
|
|
4446
4452
|
}, Il = function(t) {
|
|
4447
4453
|
var r = t.cache, n = t.serialized, o = t.isStringTag;
|
|
4448
|
-
return
|
|
4454
|
+
return jr(r, n, o), Fo(function() {
|
|
4449
4455
|
return Hr(r, n, o);
|
|
4450
4456
|
}), null;
|
|
4451
4457
|
}, kl = /* @__PURE__ */ Vr(function(e, t, r) {
|
|
@@ -4502,13 +4508,13 @@ var Ol = /* @__PURE__ */ Vr(function(e, t) {
|
|
|
4502
4508
|
t.insert("", n, a, !1);
|
|
4503
4509
|
}, [t, n.name]), null;
|
|
4504
4510
|
});
|
|
4505
|
-
function
|
|
4511
|
+
function Bo() {
|
|
4506
4512
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
4507
4513
|
t[r] = arguments[r];
|
|
4508
4514
|
return Gt(t);
|
|
4509
4515
|
}
|
|
4510
4516
|
function $l() {
|
|
4511
|
-
var e =
|
|
4517
|
+
var e = Bo.apply(void 0, arguments), t = "animation-" + e.name;
|
|
4512
4518
|
return {
|
|
4513
4519
|
name: t,
|
|
4514
4520
|
styles: "@keyframes " + t + "{" + e.styles + "}",
|
|
@@ -4541,7 +4547,7 @@ var Al = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
4541
4547
|
return typeof o != "function" && n && (o = t.__emotion_forwardProp), o;
|
|
4542
4548
|
}, zl = function(t) {
|
|
4543
4549
|
var r = t.cache, n = t.serialized, o = t.isStringTag;
|
|
4544
|
-
return
|
|
4550
|
+
return jr(r, n, o), Fo(function() {
|
|
4545
4551
|
return Hr(r, n, o);
|
|
4546
4552
|
}), null;
|
|
4547
4553
|
}, Dl = function e(t, r) {
|
|
@@ -4583,7 +4589,7 @@ var Al = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
4583
4589
|
return "." + a;
|
|
4584
4590
|
}
|
|
4585
4591
|
}), s.withComponent = function(y, x) {
|
|
4586
|
-
var _ = e(y,
|
|
4592
|
+
var _ = e(y, j({}, r, x, {
|
|
4587
4593
|
shouldForwardProp: kn(s, x, !0)
|
|
4588
4594
|
}));
|
|
4589
4595
|
return _.apply(void 0, h);
|
|
@@ -4734,7 +4740,7 @@ typeof document == "object" && ($r = Ao({
|
|
|
4734
4740
|
key: "css",
|
|
4735
4741
|
prepend: !0
|
|
4736
4742
|
}));
|
|
4737
|
-
function
|
|
4743
|
+
function jo(e) {
|
|
4738
4744
|
const {
|
|
4739
4745
|
injectFirst: t,
|
|
4740
4746
|
children: r
|
|
@@ -4744,7 +4750,7 @@ function Bo(e) {
|
|
|
4744
4750
|
children: r
|
|
4745
4751
|
}) : r;
|
|
4746
4752
|
}
|
|
4747
|
-
process.env.NODE_ENV !== "production" && (
|
|
4753
|
+
process.env.NODE_ENV !== "production" && (jo.propTypes = {
|
|
4748
4754
|
/**
|
|
4749
4755
|
* Your component tree.
|
|
4750
4756
|
*/
|
|
@@ -4779,7 +4785,7 @@ process.env.NODE_ENV !== "production" && (Ho.propTypes = {
|
|
|
4779
4785
|
* This source code is licensed under the MIT license found in the
|
|
4780
4786
|
* LICENSE file in the root directory of this source tree.
|
|
4781
4787
|
*/
|
|
4782
|
-
function
|
|
4788
|
+
function Bl(e, t) {
|
|
4783
4789
|
const r = Or(e, t);
|
|
4784
4790
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
4785
4791
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
@@ -4787,23 +4793,23 @@ function jl(e, t) {
|
|
|
4787
4793
|
`)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
4788
4794
|
} : r;
|
|
4789
4795
|
}
|
|
4790
|
-
const
|
|
4796
|
+
const jl = (e, t) => {
|
|
4791
4797
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
4792
4798
|
}, Hl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4793
4799
|
__proto__: null,
|
|
4794
4800
|
GlobalStyles: Ho,
|
|
4795
|
-
StyledEngineProvider:
|
|
4801
|
+
StyledEngineProvider: jo,
|
|
4796
4802
|
ThemeContext: qt,
|
|
4797
|
-
css:
|
|
4798
|
-
default:
|
|
4799
|
-
internal_processStyles:
|
|
4803
|
+
css: Bo,
|
|
4804
|
+
default: Bl,
|
|
4805
|
+
internal_processStyles: jl,
|
|
4800
4806
|
keyframes: $l
|
|
4801
4807
|
}, Symbol.toStringTag, { value: "Module" })), Vl = /* @__PURE__ */ pe(Hl), Wl = /* @__PURE__ */ pe(Qa), Ul = /* @__PURE__ */ pe(as), Kl = /* @__PURE__ */ pe(is), Yl = ["values", "unit", "step"], Gl = (e) => {
|
|
4802
4808
|
const t = Object.keys(e).map((r) => ({
|
|
4803
4809
|
key: r,
|
|
4804
4810
|
val: e[r]
|
|
4805
4811
|
})) || [];
|
|
4806
|
-
return t.sort((r, n) => r.val - n.val), t.reduce((r, n) =>
|
|
4812
|
+
return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => j({}, r, {
|
|
4807
4813
|
[n.key]: n.val
|
|
4808
4814
|
}), {});
|
|
4809
4815
|
};
|
|
@@ -4843,7 +4849,7 @@ function Vo(e) {
|
|
|
4843
4849
|
const v = a.indexOf(m);
|
|
4844
4850
|
return v === 0 ? l(a[1]) : v === a.length - 1 ? c(a[v]) : d(m, a[a.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
4845
4851
|
}
|
|
4846
|
-
return
|
|
4852
|
+
return j({
|
|
4847
4853
|
keys: a,
|
|
4848
4854
|
values: i,
|
|
4849
4855
|
up: l,
|
|
@@ -4924,7 +4930,7 @@ function Zt(e, t, r = !0) {
|
|
|
4924
4930
|
}
|
|
4925
4931
|
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
4926
4932
|
}
|
|
4927
|
-
function
|
|
4933
|
+
function Bt(e, t, r, n = r) {
|
|
4928
4934
|
let o;
|
|
4929
4935
|
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = Zt(e, r) || n, t && (o = t(o, n, e)), o;
|
|
4930
4936
|
}
|
|
@@ -4939,8 +4945,8 @@ function Z(e) {
|
|
|
4939
4945
|
return null;
|
|
4940
4946
|
const l = a[t], c = a.theme, d = Zt(c, n) || {};
|
|
4941
4947
|
return Ie(a, l, (h) => {
|
|
4942
|
-
let m =
|
|
4943
|
-
return h === m && typeof h == "string" && (m =
|
|
4948
|
+
let m = Bt(d, o, h);
|
|
4949
|
+
return h === m && typeof h == "string" && (m = Bt(d, o, `${t}${h === "default" ? "" : Ae(h)}`, h)), r === !1 ? m : {
|
|
4944
4950
|
[r]: m
|
|
4945
4951
|
};
|
|
4946
4952
|
});
|
|
@@ -5504,8 +5510,8 @@ function Ko() {
|
|
|
5504
5510
|
};
|
|
5505
5511
|
const m = Zt(o, d) || {};
|
|
5506
5512
|
return h ? h(a) : Ie(a, n, (p) => {
|
|
5507
|
-
let s =
|
|
5508
|
-
return p === s && typeof p == "string" && (s =
|
|
5513
|
+
let s = Bt(m, f, p);
|
|
5514
|
+
return p === s && typeof p == "string" && (s = Bt(m, f, `${r}${p === "default" ? "" : Ae(p)}`, p)), c === !1 ? s : {
|
|
5509
5515
|
[c]: s
|
|
5510
5516
|
};
|
|
5511
5517
|
});
|
|
@@ -5575,13 +5581,13 @@ function Go(e = {}, ...t) {
|
|
|
5575
5581
|
direction: "ltr",
|
|
5576
5582
|
components: {},
|
|
5577
5583
|
// Inject component definitions.
|
|
5578
|
-
palette:
|
|
5584
|
+
palette: j({
|
|
5579
5585
|
mode: "light"
|
|
5580
5586
|
}, n),
|
|
5581
5587
|
spacing: c,
|
|
5582
|
-
shape:
|
|
5588
|
+
shape: j({}, ql, i)
|
|
5583
5589
|
}, a);
|
|
5584
|
-
return d.applyStyles = Yo, d = t.reduce((f, h) => we(f, h), d), d.unstable_sxConfig =
|
|
5590
|
+
return d.applyStyles = Yo, d = t.reduce((f, h) => we(f, h), d), d.unstable_sxConfig = j({}, St, a == null ? void 0 : a.unstable_sxConfig), d.unstable_sx = function(h) {
|
|
5585
5591
|
return or({
|
|
5586
5592
|
sx: h,
|
|
5587
5593
|
theme: this
|
|
@@ -5593,7 +5599,7 @@ const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5593
5599
|
default: Go,
|
|
5594
5600
|
private_createBreakpoints: Vo,
|
|
5595
5601
|
unstable_applyStyles: Yo
|
|
5596
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5602
|
+
}, Symbol.toStringTag, { value: "Module" })), Bc = /* @__PURE__ */ pe(Lc), jc = ["sx"], Hc = (e) => {
|
|
5597
5603
|
var t, r;
|
|
5598
5604
|
const n = {
|
|
5599
5605
|
systemProps: {},
|
|
@@ -5606,15 +5612,15 @@ const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5606
5612
|
function Vc(e) {
|
|
5607
5613
|
const {
|
|
5608
5614
|
sx: t
|
|
5609
|
-
} = e, r = Ne(e,
|
|
5615
|
+
} = e, r = Ne(e, jc), {
|
|
5610
5616
|
systemProps: n,
|
|
5611
5617
|
otherProps: o
|
|
5612
5618
|
} = Hc(r);
|
|
5613
5619
|
let i;
|
|
5614
5620
|
return Array.isArray(t) ? i = [n, ...t] : typeof t == "function" ? i = (...a) => {
|
|
5615
5621
|
const l = t(...a);
|
|
5616
|
-
return Oe(l) ?
|
|
5617
|
-
} : i =
|
|
5622
|
+
return Oe(l) ? j({}, n, l) : n;
|
|
5623
|
+
} : i = j({}, n, t), j({}, o, {
|
|
5618
5624
|
sx: i
|
|
5619
5625
|
});
|
|
5620
5626
|
}
|
|
@@ -5632,7 +5638,7 @@ Object.defineProperty(yt, "__esModule", {
|
|
|
5632
5638
|
var Kc = yt.default = a0;
|
|
5633
5639
|
yt.shouldForwardProp = Rt;
|
|
5634
5640
|
yt.systemDefaultTheme = void 0;
|
|
5635
|
-
var ce = ot(Ds), Ar = ot(Fs), $n = t0(Vl), Yc = Wl, Gc = ot(Ul), qc = ot(Kl), Zc = ot(
|
|
5641
|
+
var ce = ot(Ds), Ar = ot(Fs), $n = t0(Vl), Yc = Wl, Gc = ot(Ul), qc = ot(Kl), Zc = ot(Bc), Xc = ot(Uc);
|
|
5636
5642
|
const Jc = ["ownerState"], Qc = ["variants"], e0 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
5637
5643
|
function qo(e) {
|
|
5638
5644
|
if (typeof WeakMap != "function")
|
|
@@ -5794,7 +5800,7 @@ function a0(e = {}) {
|
|
|
5794
5800
|
};
|
|
5795
5801
|
}
|
|
5796
5802
|
function s0(e, t) {
|
|
5797
|
-
return
|
|
5803
|
+
return j({
|
|
5798
5804
|
toolbar: {
|
|
5799
5805
|
minHeight: 56,
|
|
5800
5806
|
[e.up("xs")]: {
|
|
@@ -5821,7 +5827,7 @@ var u0 = X.darken = Gr;
|
|
|
5821
5827
|
X.decomposeColor = de;
|
|
5822
5828
|
X.emphasize = ti;
|
|
5823
5829
|
var Nn = X.getContrastRatio = g0;
|
|
5824
|
-
X.getLuminance =
|
|
5830
|
+
X.getLuminance = jt;
|
|
5825
5831
|
X.hexToRgb = Xo;
|
|
5826
5832
|
X.hslToRgb = Qo;
|
|
5827
5833
|
var d0 = X.lighten = qr;
|
|
@@ -5911,13 +5917,13 @@ function Qo(e) {
|
|
|
5911
5917
|
values: c
|
|
5912
5918
|
});
|
|
5913
5919
|
}
|
|
5914
|
-
function
|
|
5920
|
+
function jt(e) {
|
|
5915
5921
|
e = de(e);
|
|
5916
5922
|
let t = e.type === "hsl" || e.type === "hsla" ? de(Qo(e)).values : e.values;
|
|
5917
5923
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
5918
5924
|
}
|
|
5919
5925
|
function g0(e, t) {
|
|
5920
|
-
const r =
|
|
5926
|
+
const r = jt(e), n = jt(t);
|
|
5921
5927
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
5922
5928
|
}
|
|
5923
5929
|
function ei(e, t) {
|
|
@@ -5964,7 +5970,7 @@ function b0(e, t, r) {
|
|
|
5964
5970
|
}
|
|
5965
5971
|
}
|
|
5966
5972
|
function ti(e, t = 0.15) {
|
|
5967
|
-
return
|
|
5973
|
+
return jt(e) > 0.5 ? Gr(e, t) : qr(e, t);
|
|
5968
5974
|
}
|
|
5969
5975
|
function x0(e, t, r) {
|
|
5970
5976
|
try {
|
|
@@ -6192,7 +6198,7 @@ function O0(e) {
|
|
|
6192
6198
|
lightShade: _ = 300,
|
|
6193
6199
|
darkShade: w = 700
|
|
6194
6200
|
}) => {
|
|
6195
|
-
if (s =
|
|
6201
|
+
if (s = j({}, s), !s.main && s[x] && (s.main = s[x]), !s.hasOwnProperty("main"))
|
|
6196
6202
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${y ? ` (${y})` : ""} provided to augmentColor(color) is invalid.
|
|
6197
6203
|
The color object needs to have a \`main\` property or a \`${x}\` property.` : dt(11, y ? ` (${y})` : "", x));
|
|
6198
6204
|
if (typeof s.main != "string")
|
|
@@ -6215,9 +6221,9 @@ const theme2 = createTheme({ palette: {
|
|
|
6215
6221
|
dark: dr,
|
|
6216
6222
|
light: Pn
|
|
6217
6223
|
};
|
|
6218
|
-
return process.env.NODE_ENV !== "production" && (v[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), we(
|
|
6224
|
+
return process.env.NODE_ENV !== "production" && (v[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), we(j({
|
|
6219
6225
|
// A collection of common colors.
|
|
6220
|
-
common:
|
|
6226
|
+
common: j({}, pt),
|
|
6221
6227
|
// prevent mutable object.
|
|
6222
6228
|
// The palette mode, can be light or dark.
|
|
6223
6229
|
mode: t,
|
|
@@ -6294,7 +6300,7 @@ function N0(e, t) {
|
|
|
6294
6300
|
pxToRem: h
|
|
6295
6301
|
} = r, m = Ne(r, $0);
|
|
6296
6302
|
process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
6297
|
-
const v = o / 14, p = h || ((x) => `${x / d * v}rem`), s = (x, _, w, E, b) =>
|
|
6303
|
+
const v = o / 14, p = h || ((x) => `${x / d * v}rem`), s = (x, _, w, E, b) => j({
|
|
6298
6304
|
fontFamily: n,
|
|
6299
6305
|
fontWeight: x,
|
|
6300
6306
|
fontSize: p(_),
|
|
@@ -6325,7 +6331,7 @@ function N0(e, t) {
|
|
|
6325
6331
|
letterSpacing: "inherit"
|
|
6326
6332
|
}
|
|
6327
6333
|
};
|
|
6328
|
-
return we(
|
|
6334
|
+
return we(j({
|
|
6329
6335
|
htmlFontSize: d,
|
|
6330
6336
|
pxToRem: p,
|
|
6331
6337
|
fontFamily: n,
|
|
@@ -6353,7 +6359,7 @@ const D0 = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2,
|
|
|
6353
6359
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
6354
6360
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
6355
6361
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
6356
|
-
},
|
|
6362
|
+
}, B0 = {
|
|
6357
6363
|
shortest: 150,
|
|
6358
6364
|
shorter: 200,
|
|
6359
6365
|
short: 250,
|
|
@@ -6369,16 +6375,16 @@ const D0 = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2,
|
|
|
6369
6375
|
function Ln(e) {
|
|
6370
6376
|
return `${Math.round(e)}ms`;
|
|
6371
6377
|
}
|
|
6372
|
-
function
|
|
6378
|
+
function j0(e) {
|
|
6373
6379
|
if (!e)
|
|
6374
6380
|
return 0;
|
|
6375
6381
|
const t = e / 36;
|
|
6376
6382
|
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
6377
6383
|
}
|
|
6378
6384
|
function H0(e) {
|
|
6379
|
-
const t =
|
|
6380
|
-
return
|
|
6381
|
-
getAutoHeightDuration:
|
|
6385
|
+
const t = j({}, L0, e.easing), r = j({}, B0, e.duration);
|
|
6386
|
+
return j({
|
|
6387
|
+
getAutoHeightDuration: j0,
|
|
6382
6388
|
create: (o = ["all"], i = {}) => {
|
|
6383
6389
|
const {
|
|
6384
6390
|
duration: a = r.standard,
|
|
@@ -6426,7 +6432,7 @@ function U0(e = {}, ...t) {
|
|
|
6426
6432
|
shadows: D0.slice(),
|
|
6427
6433
|
typography: N0(l, i),
|
|
6428
6434
|
transitions: H0(o),
|
|
6429
|
-
zIndex:
|
|
6435
|
+
zIndex: j({}, V0)
|
|
6430
6436
|
});
|
|
6431
6437
|
if (d = we(d, a), d = t.reduce((f, h) => we(f, h), d), process.env.NODE_ENV !== "production") {
|
|
6432
6438
|
const f = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (m, v) => {
|
|
@@ -6452,7 +6458,7 @@ function U0(e = {}, ...t) {
|
|
|
6452
6458
|
v && m.indexOf("Mui") === 0 && h(v, m);
|
|
6453
6459
|
});
|
|
6454
6460
|
}
|
|
6455
|
-
return d.unstable_sxConfig =
|
|
6461
|
+
return d.unstable_sxConfig = j({}, St, a == null ? void 0 : a.unstable_sxConfig), d.unstable_sx = function(h) {
|
|
6456
6462
|
return or({
|
|
6457
6463
|
sx: h,
|
|
6458
6464
|
theme: this
|
|
@@ -6534,7 +6540,7 @@ const J0 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
6534
6540
|
inheritViewBox: f = !1,
|
|
6535
6541
|
titleAccess: h,
|
|
6536
6542
|
viewBox: m = "0 0 24 24"
|
|
6537
|
-
} = n, v = Ne(n, J0), p = /* @__PURE__ */ N.isValidElement(o) && o.type === "svg", s =
|
|
6543
|
+
} = n, v = Ne(n, J0), p = /* @__PURE__ */ N.isValidElement(o) && o.type === "svg", s = j({}, n, {
|
|
6538
6544
|
color: a,
|
|
6539
6545
|
component: l,
|
|
6540
6546
|
fontSize: c,
|
|
@@ -6545,7 +6551,7 @@ const J0 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
6545
6551
|
}), y = {};
|
|
6546
6552
|
f || (y.viewBox = m);
|
|
6547
6553
|
const x = Q0(s);
|
|
6548
|
-
return /* @__PURE__ */ M(e1,
|
|
6554
|
+
return /* @__PURE__ */ M(e1, j({
|
|
6549
6555
|
as: l,
|
|
6550
6556
|
className: gi(x.root, i),
|
|
6551
6557
|
focusable: "false",
|
|
@@ -6635,7 +6641,7 @@ process.env.NODE_ENV !== "production" && (Ht.propTypes = {
|
|
|
6635
6641
|
Ht.muiName = "SvgIcon";
|
|
6636
6642
|
function ri(e, t) {
|
|
6637
6643
|
function r(n, o) {
|
|
6638
|
-
return /* @__PURE__ */ u(Ht,
|
|
6644
|
+
return /* @__PURE__ */ u(Ht, j({
|
|
6639
6645
|
"data-testid": `${t}Icon`,
|
|
6640
6646
|
ref: o
|
|
6641
6647
|
}, n, {
|
|
@@ -6672,11 +6678,11 @@ const t1 = {
|
|
|
6672
6678
|
}, Symbol.toStringTag, { value: "Module" })), n1 = ri(/* @__PURE__ */ u("path", {
|
|
6673
6679
|
d: "m7 10 5 5 5-5z"
|
|
6674
6680
|
}), "ArrowDropDown");
|
|
6675
|
-
var
|
|
6681
|
+
var Bn = Number.isNaN || function(t) {
|
|
6676
6682
|
return typeof t == "number" && t !== t;
|
|
6677
6683
|
};
|
|
6678
6684
|
function o1(e, t) {
|
|
6679
|
-
return !!(e === t ||
|
|
6685
|
+
return !!(e === t || Bn(e) && Bn(t));
|
|
6680
6686
|
}
|
|
6681
6687
|
function i1(e, t) {
|
|
6682
6688
|
if (e.length !== t.length)
|
|
@@ -6696,7 +6702,7 @@ function fr(e, t) {
|
|
|
6696
6702
|
}
|
|
6697
6703
|
return a;
|
|
6698
6704
|
}
|
|
6699
|
-
var a1 = typeof performance == "object" && typeof performance.now == "function",
|
|
6705
|
+
var a1 = typeof performance == "object" && typeof performance.now == "function", jn = a1 ? function() {
|
|
6700
6706
|
return performance.now();
|
|
6701
6707
|
} : function() {
|
|
6702
6708
|
return Date.now();
|
|
@@ -6705,9 +6711,9 @@ function Hn(e) {
|
|
|
6705
6711
|
cancelAnimationFrame(e.id);
|
|
6706
6712
|
}
|
|
6707
6713
|
function s1(e, t) {
|
|
6708
|
-
var r =
|
|
6714
|
+
var r = jn();
|
|
6709
6715
|
function n() {
|
|
6710
|
-
|
|
6716
|
+
jn() - r >= t ? e.call(null) : o.id = requestAnimationFrame(n);
|
|
6711
6717
|
}
|
|
6712
6718
|
var o = {
|
|
6713
6719
|
id: requestAnimationFrame(n)
|
|
@@ -6884,9 +6890,9 @@ function u1(e) {
|
|
|
6884
6890
|
}, v.componentWillUnmount = function() {
|
|
6885
6891
|
this._resetIsScrollingTimeoutId !== null && Hn(this._resetIsScrollingTimeoutId);
|
|
6886
6892
|
}, v.render = function() {
|
|
6887
|
-
var s = this.props, y = s.children, x = s.className, _ = s.direction, w = s.height, E = s.innerRef, b = s.innerElementType, g = s.innerTagName, S = s.itemCount, I = s.itemData, k = s.itemKey, O = k === void 0 ? c1 : k, C = s.layout, $ = s.outerElementType, P = s.outerTagName, U = s.style, re = s.useIsScrolling, he = s.width, ze = this.state.isScrolling, Ee = _ === "horizontal" || C === "horizontal", at = Ee ? this._onScrollHorizontal : this._onScrollVertical, ke = this._getRangeToRender(),
|
|
6893
|
+
var s = this.props, y = s.children, x = s.className, _ = s.direction, w = s.height, E = s.innerRef, b = s.innerElementType, g = s.innerTagName, S = s.itemCount, I = s.itemData, k = s.itemKey, O = k === void 0 ? c1 : k, C = s.layout, $ = s.outerElementType, P = s.outerTagName, U = s.style, re = s.useIsScrolling, he = s.width, ze = this.state.isScrolling, Ee = _ === "horizontal" || C === "horizontal", at = Ee ? this._onScrollHorizontal : this._onScrollVertical, ke = this._getRangeToRender(), Be = ke[0], je = ke[1], He = [];
|
|
6888
6894
|
if (S > 0)
|
|
6889
|
-
for (var ge =
|
|
6895
|
+
for (var ge = Be; ge <= je; ge++)
|
|
6890
6896
|
He.push(sr(y, {
|
|
6891
6897
|
data: I,
|
|
6892
6898
|
key: O(ge, I),
|
|
@@ -6899,7 +6905,7 @@ function u1(e) {
|
|
|
6899
6905
|
className: x,
|
|
6900
6906
|
onScroll: at,
|
|
6901
6907
|
ref: this._outerRefSetter,
|
|
6902
|
-
style:
|
|
6908
|
+
style: j({
|
|
6903
6909
|
position: "relative",
|
|
6904
6910
|
height: w,
|
|
6905
6911
|
width: he,
|