@cm-sigoo-temp/ui 1.0.1 → 1.0.3
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.
|
@@ -2,7 +2,7 @@ var Yn = Object.defineProperty;
|
|
|
2
2
|
var qn = (e, r, t) => r in e ? Yn(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var rr = (e, r, t) => qn(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
import * as $e from "react";
|
|
5
|
-
import tt, { createContext as Zn, useContext as Xn, useCallback as ye, useMemo as Ze, useState as
|
|
5
|
+
import tt, { createContext as Zn, useContext as Xn, useCallback as ye, useMemo as Ze, useState as kr, createElement as eo, useRef as ro, useEffect as to } from "react";
|
|
6
6
|
import { createTheme as no, responsiveFontSizes as oo, ListItemIcon as Xe, Icon as _r, Tooltip as Ar, ListItem as ve, ListItemButton as Se, ListItemText as he, ListSubheader as nt, Divider as vr, Drawer as ao, Toolbar as mt, List as io, Skeleton as fe, Typography as xe, Box as le, Grid as sr, ButtonBase as pn, Paper as so, createSvgIcon as ht, Avatar as co, CircularProgress as mn, Menu as lo, MenuItem as ot, TextField as uo, AppBar as fo, Zoom as po, IconButton as wt, Collapse as mo, LinearProgress as ho, Popover as go, ThemeProvider as yo, Button as hn } from "@mui/material";
|
|
7
7
|
import bo from "@emotion/styled";
|
|
8
8
|
import "@emotion/react";
|
|
@@ -51,20 +51,20 @@ const Eo = async (e, r, t) => {
|
|
|
51
51
|
Authorization: `Bearer ${n}`
|
|
52
52
|
}
|
|
53
53
|
})).json();
|
|
54
|
-
}, Co = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE__URL__CERRAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/logout", VITE__URL__INICIAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/google", VITE__URL__OBTENER_PERMISOS_CON_CORREO: "https://autorizaciones-service-dev.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_PROD: "https://autorizaciones-service.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_TEST: "https://autorizaciones-service-test.coordinadora.com/permisos/generar", VITE__URL__OBTENER_TERMINALES_DEV: "https://maestros-services-dev.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_PROD: "https://maestros-services.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_TEST: "https://maestros-services-test.coordinadora.com/territorios/terminales" },
|
|
54
|
+
}, Co = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE__URL__CERRAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/logout", VITE__URL__INICIAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/google", VITE__URL__OBTENER_PERMISOS_CON_CORREO: "https://autorizaciones-service-dev.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_PROD: "https://autorizaciones-service.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_TEST: "https://autorizaciones-service-test.coordinadora.com/permisos/generar", VITE__URL__OBTENER_TERMINALES_DEV: "https://maestros-services-dev.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_PROD: "https://maestros-services.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_TEST: "https://maestros-services-test.coordinadora.com/territorios/terminales" }, To = {
|
|
55
55
|
dev: "_DEV",
|
|
56
56
|
test: "_TEST",
|
|
57
57
|
prod: "_PROD"
|
|
58
58
|
};
|
|
59
|
-
function
|
|
59
|
+
function ko(e, r) {
|
|
60
60
|
const t = `${e}${r}`;
|
|
61
61
|
if (import.meta === void 0) return "";
|
|
62
62
|
const n = Co;
|
|
63
63
|
return n && typeof n == "object" ? n[t] ?? "" : "";
|
|
64
64
|
}
|
|
65
65
|
function _o(e) {
|
|
66
|
-
const r =
|
|
67
|
-
return
|
|
66
|
+
const r = To[e];
|
|
67
|
+
return ko("VITE__URL__OBTENER_TERMINALES", r);
|
|
68
68
|
}
|
|
69
69
|
const Ro = async (e) => {
|
|
70
70
|
const r = bn();
|
|
@@ -120,8 +120,8 @@ const Ro = async (e) => {
|
|
|
120
120
|
params: t,
|
|
121
121
|
cookie: a
|
|
122
122
|
};
|
|
123
|
-
}, kc = () => {
|
|
124
123
|
}, Tc = () => {
|
|
124
|
+
}, kc = () => {
|
|
125
125
|
}, _c = () => {
|
|
126
126
|
};
|
|
127
127
|
function vn(e) {
|
|
@@ -186,8 +186,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
186
186
|
}).catch(function(m) {
|
|
187
187
|
y.setError(m);
|
|
188
188
|
});
|
|
189
|
-
var v =
|
|
190
|
-
function
|
|
189
|
+
var v = N();
|
|
190
|
+
function k() {
|
|
191
191
|
var m = function(P) {
|
|
192
192
|
P || (j.prompt = "none"), i.locale && (j.locale = i.locale), r.login(j).then(function() {
|
|
193
193
|
A.setSuccess();
|
|
@@ -200,7 +200,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
200
200
|
var I = function(ce) {
|
|
201
201
|
if (!(ce.origin !== window.location.origin || P.contentWindow !== ce.source)) {
|
|
202
202
|
var de = _(ce.data);
|
|
203
|
-
|
|
203
|
+
T(de, A), document.body.removeChild(P), window.removeEventListener("message", I);
|
|
204
204
|
}
|
|
205
205
|
};
|
|
206
206
|
window.addEventListener("message", I);
|
|
@@ -226,7 +226,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
226
226
|
var m = _(window.location.href);
|
|
227
227
|
if (m && window.history.replaceState(window.history.state, null, m.newUrl), m && m.valid)
|
|
228
228
|
return se().then(function() {
|
|
229
|
-
|
|
229
|
+
T(m, A);
|
|
230
230
|
}).catch(function(R) {
|
|
231
231
|
A.setError(R);
|
|
232
232
|
});
|
|
@@ -239,8 +239,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
239
239
|
}) : r.updateToken(-1).then(function() {
|
|
240
240
|
r.onAuthSuccess && r.onAuthSuccess(), A.setSuccess();
|
|
241
241
|
}).catch(function(R) {
|
|
242
|
-
r.onAuthError && r.onAuthError(), i.onLoad ?
|
|
243
|
-
})) : i.onLoad ?
|
|
242
|
+
r.onAuthError && r.onAuthError(), i.onLoad ? k() : A.setError(R);
|
|
243
|
+
})) : i.onLoad ? k() : A.setSuccess();
|
|
244
244
|
}
|
|
245
245
|
return v.then(function() {
|
|
246
246
|
M().then(b).catch(function(m) {
|
|
@@ -252,7 +252,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
252
252
|
}, r.login = function(i) {
|
|
253
253
|
return t.login(i);
|
|
254
254
|
};
|
|
255
|
-
function
|
|
255
|
+
function h(i) {
|
|
256
256
|
if (typeof crypto > "u" || typeof crypto.getRandomValues > "u")
|
|
257
257
|
throw new Error("Web Crypto API is not available.");
|
|
258
258
|
return crypto.getRandomValues(new Uint8Array(i));
|
|
@@ -261,7 +261,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
261
261
|
return E(i, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
|
|
262
262
|
}
|
|
263
263
|
function E(i, c) {
|
|
264
|
-
for (var y =
|
|
264
|
+
for (var y = h(i), A = new Array(i), v = 0; v < i; v++)
|
|
265
265
|
A[v] = c.charCodeAt(y[v] % c.length);
|
|
266
266
|
return String.fromCharCode.apply(null, A);
|
|
267
267
|
}
|
|
@@ -271,7 +271,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
271
271
|
const y = new Uint8Array(await Lo(c));
|
|
272
272
|
return Mo(y).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function g(i) {
|
|
275
275
|
var c = {
|
|
276
276
|
id_token: {
|
|
277
277
|
acr: i
|
|
@@ -287,13 +287,13 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
287
287
|
loginOptions: i
|
|
288
288
|
};
|
|
289
289
|
i && i.prompt && (v.prompt = i.prompt);
|
|
290
|
-
var
|
|
291
|
-
i && i.action == "register" ?
|
|
290
|
+
var k;
|
|
291
|
+
i && i.action == "register" ? k = r.endpoints.register() : k = r.endpoints.authorize();
|
|
292
292
|
var b = i && i.scope || r.scope;
|
|
293
293
|
b ? b.indexOf("openid") === -1 && (b = "openid " + b) : b = "openid";
|
|
294
|
-
var m =
|
|
294
|
+
var m = k + "?client_id=" + encodeURIComponent(r.clientId) + "&redirect_uri=" + encodeURIComponent(A) + "&state=" + encodeURIComponent(c) + "&response_mode=" + encodeURIComponent(r.responseMode) + "&response_type=" + encodeURIComponent(r.responseType) + "&scope=" + encodeURIComponent(b);
|
|
295
295
|
if (s && (m = m + "&nonce=" + encodeURIComponent(y)), i && i.prompt && (m += "&prompt=" + encodeURIComponent(i.prompt)), i && typeof i.maxAge == "number" && (m += "&max_age=" + encodeURIComponent(i.maxAge)), i && i.loginHint && (m += "&login_hint=" + encodeURIComponent(i.loginHint)), i && i.idpHint && (m += "&kc_idp_hint=" + encodeURIComponent(i.idpHint)), i && i.action && i.action != "register" && (m += "&kc_action=" + encodeURIComponent(i.action)), i && i.locale && (m += "&ui_locales=" + encodeURIComponent(i.locale)), i && i.acr) {
|
|
296
|
-
var R =
|
|
296
|
+
var R = g(i.acr);
|
|
297
297
|
m += "&claims=" + encodeURIComponent(R);
|
|
298
298
|
}
|
|
299
299
|
if ((i && i.acrValues || r.acrValues) && (m += "&acr_values=" + encodeURIComponent(i.acrValues || r.acrValues)), r.pkceMethod)
|
|
@@ -364,10 +364,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
364
364
|
if (i == -1 ? (v = !0, u("[KEYCLOAK] Refreshing token: forced refresh")) : (!r.tokenParsed || r.isTokenExpired(i)) && (v = !0, u("[KEYCLOAK] Refreshing token: token expired")), !v)
|
|
365
365
|
c.setSuccess(!1);
|
|
366
366
|
else {
|
|
367
|
-
var
|
|
367
|
+
var k = "grant_type=refresh_token&refresh_token=" + r.refreshToken, b = r.endpoints.token();
|
|
368
368
|
if (n.push(c), n.length == 1) {
|
|
369
369
|
var m = new XMLHttpRequest();
|
|
370
|
-
m.open("POST", b, !0), m.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m.withCredentials = !0,
|
|
370
|
+
m.open("POST", b, !0), m.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m.withCredentials = !0, k += "&client_id=" + encodeURIComponent(r.clientId);
|
|
371
371
|
var R = (/* @__PURE__ */ new Date()).getTime();
|
|
372
372
|
m.onreadystatechange = function() {
|
|
373
373
|
if (m.readyState == 4)
|
|
@@ -382,7 +382,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
382
382
|
for (var P = n.pop(); P != null; P = n.pop())
|
|
383
383
|
P.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.");
|
|
384
384
|
}
|
|
385
|
-
}, m.send(
|
|
385
|
+
}, m.send(k);
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
};
|
|
@@ -406,8 +406,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
406
406
|
function p() {
|
|
407
407
|
return window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "");
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
var y = i.code, A = i.error, v = i.prompt,
|
|
409
|
+
function T(i, c) {
|
|
410
|
+
var y = i.code, A = i.error, v = i.prompt, k = (/* @__PURE__ */ new Date()).getTime();
|
|
411
411
|
if (i.kc_action_status && r.onActionUpdate && r.onActionUpdate(i.kc_action_status, i.kc_action), A) {
|
|
412
412
|
if (v != "none")
|
|
413
413
|
if (i.error_description && i.error_description === "authentication_expired")
|
|
@@ -432,10 +432,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
432
432
|
}, j.send(m);
|
|
433
433
|
}
|
|
434
434
|
function P(z, I, ce, de) {
|
|
435
|
-
|
|
435
|
+
k = (k + (/* @__PURE__ */ new Date()).getTime()) / 2, B(z, I, ce, k), s && r.idTokenParsed && r.idTokenParsed.nonce != i.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), r.clearToken(), c && c.setError()) : de && (r.onAuthSuccess && r.onAuthSuccess(), c && c.setSuccess());
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function N() {
|
|
439
439
|
var i = F(), c;
|
|
440
440
|
typeof e == "string" && (c = e);
|
|
441
441
|
function y(b) {
|
|
@@ -504,10 +504,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
504
504
|
if (!v)
|
|
505
505
|
r.authServerUrl = e.url, r.realm = e.realm, y(null), i.setSuccess();
|
|
506
506
|
else if (typeof v == "string") {
|
|
507
|
-
var
|
|
508
|
-
v.charAt(v.length - 1) == "/" ?
|
|
507
|
+
var k;
|
|
508
|
+
v.charAt(v.length - 1) == "/" ? k = v + ".well-known/openid-configuration" : k = v + "/.well-known/openid-configuration";
|
|
509
509
|
var A = new XMLHttpRequest();
|
|
510
|
-
A.open("GET",
|
|
510
|
+
A.open("GET", k, !0), A.setRequestHeader("Accept", "application/json"), A.onreadystatechange = function() {
|
|
511
511
|
if (A.readyState == 4)
|
|
512
512
|
if (A.status == 200 || V(A)) {
|
|
513
513
|
var m = JSON.parse(A.responseText);
|
|
@@ -558,13 +558,13 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
558
558
|
break;
|
|
559
559
|
}
|
|
560
560
|
c.push("error"), c.push("error_description"), c.push("error_uri");
|
|
561
|
-
var y = i.indexOf("?"), A = i.indexOf("#"), v,
|
|
562
|
-
if (r.responseMode === "query" && y !== -1 ? (v = i.substring(0, y),
|
|
561
|
+
var y = i.indexOf("?"), A = i.indexOf("#"), v, k;
|
|
562
|
+
if (r.responseMode === "query" && y !== -1 ? (v = i.substring(0, y), k = W(i.substring(y + 1, A !== -1 ? A : i.length), c), k.paramsString !== "" && (v += "?" + k.paramsString), A !== -1 && (v += i.substring(A))) : r.responseMode === "fragment" && A !== -1 && (v = i.substring(0, A), k = W(i.substring(A + 1), c), k.paramsString !== "" && (v += "#" + k.paramsString)), k && k.oauthParams) {
|
|
563
563
|
if (r.flow === "standard" || r.flow === "hybrid") {
|
|
564
|
-
if ((
|
|
565
|
-
return
|
|
566
|
-
} else if (r.flow === "implicit" && (
|
|
567
|
-
return
|
|
564
|
+
if ((k.oauthParams.code || k.oauthParams.error) && k.oauthParams.state)
|
|
565
|
+
return k.oauthParams.newUrl = v, k.oauthParams;
|
|
566
|
+
} else if (r.flow === "implicit" && (k.oauthParams.access_token || k.oauthParams.error) && k.oauthParams.state)
|
|
567
|
+
return k.oauthParams.newUrl = v, k.oauthParams;
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
function W(i, c) {
|
|
@@ -572,8 +572,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
572
572
|
paramsString: "",
|
|
573
573
|
oauthParams: {}
|
|
574
574
|
}, v = 0; v < y.length; v++) {
|
|
575
|
-
var
|
|
576
|
-
c.indexOf(b) !== -1 ? A.oauthParams[b] = y[v].slice(
|
|
575
|
+
var k = y[v].indexOf("="), b = y[v].slice(0, k);
|
|
576
|
+
c.indexOf(b) !== -1 ? A.oauthParams[b] = y[v].slice(k + 1) : (A.paramsString !== "" && (A.paramsString += "&"), A.paramsString += y[v]);
|
|
577
577
|
}
|
|
578
578
|
return A;
|
|
579
579
|
}
|
|
@@ -591,7 +591,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
591
591
|
}), i;
|
|
592
592
|
}
|
|
593
593
|
function X(i, c, y) {
|
|
594
|
-
var A = null, v = new Promise(function(
|
|
594
|
+
var A = null, v = new Promise(function(k, b) {
|
|
595
595
|
A = setTimeout(function() {
|
|
596
596
|
b({ error: y });
|
|
597
597
|
}, c);
|
|
@@ -614,8 +614,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
614
614
|
var A = function(v) {
|
|
615
615
|
if (!(v.origin !== a.iframeOrigin || a.iframe.contentWindow !== v.source) && (v.data == "unchanged" || v.data == "changed" || v.data == "error")) {
|
|
616
616
|
v.data != "unchanged" && r.clearToken();
|
|
617
|
-
for (var
|
|
618
|
-
var m =
|
|
617
|
+
for (var k = a.callbackList.splice(0, a.callbackList.length), b = k.length - 1; b >= 0; --b) {
|
|
618
|
+
var m = k[b];
|
|
619
619
|
v.data == "error" ? m.setError() : m.setSuccess(v.data == "unchanged");
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -714,7 +714,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
714
714
|
}, v = function(b) {
|
|
715
715
|
var m = y(b);
|
|
716
716
|
return m.location = "no", b && b.prompt == "none" && (m.hidden = "yes"), A(m);
|
|
717
|
-
},
|
|
717
|
+
}, k = function() {
|
|
718
718
|
return r.redirectUri || "http://localhost";
|
|
719
719
|
};
|
|
720
720
|
return {
|
|
@@ -723,15 +723,15 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
723
723
|
I = !0, P.close();
|
|
724
724
|
};
|
|
725
725
|
return P.addEventListener("loadstart", function(de) {
|
|
726
|
-
if (de.url.indexOf(
|
|
726
|
+
if (de.url.indexOf(k()) == 0) {
|
|
727
727
|
var He = _(de.url);
|
|
728
|
-
|
|
728
|
+
T(He, m), ce(), z = !0;
|
|
729
729
|
}
|
|
730
730
|
}), P.addEventListener("loaderror", function(de) {
|
|
731
731
|
if (!z)
|
|
732
|
-
if (de.url.indexOf(
|
|
732
|
+
if (de.url.indexOf(k()) == 0) {
|
|
733
733
|
var He = _(de.url);
|
|
734
|
-
|
|
734
|
+
T(He, m), ce(), z = !0;
|
|
735
735
|
} else
|
|
736
736
|
m.setError(), ce();
|
|
737
737
|
}), P.addEventListener("exit", function(de) {
|
|
@@ -743,9 +743,9 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
743
743
|
logout: function(b) {
|
|
744
744
|
var m = F(), R = r.createLogoutUrl(b), j = c(R, "_blank", "location=no,hidden=yes,clearcache=yes"), P;
|
|
745
745
|
return j.addEventListener("loadstart", function(z) {
|
|
746
|
-
z.url.indexOf(
|
|
746
|
+
z.url.indexOf(k()) == 0 && j.close();
|
|
747
747
|
}), j.addEventListener("loaderror", function(z) {
|
|
748
|
-
z.url.indexOf(
|
|
748
|
+
z.url.indexOf(k()) == 0 || (P = !0), j.close();
|
|
749
749
|
}), j.addEventListener("exit", function(z) {
|
|
750
750
|
P ? m.setError() : (r.clearToken(), m.setSuccess());
|
|
751
751
|
}), m.promise;
|
|
@@ -753,10 +753,10 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
753
753
|
register: async function(b) {
|
|
754
754
|
var m = F(), R = await r.createRegisterUrl(), j = v(b), P = c(R, "_blank", j);
|
|
755
755
|
return P.addEventListener("loadstart", function(z) {
|
|
756
|
-
if (z.url.indexOf(
|
|
756
|
+
if (z.url.indexOf(k()) == 0) {
|
|
757
757
|
P.close();
|
|
758
758
|
var I = _(z.url);
|
|
759
|
-
|
|
759
|
+
T(I, m);
|
|
760
760
|
}
|
|
761
761
|
}), m.promise;
|
|
762
762
|
},
|
|
@@ -765,13 +765,13 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
765
765
|
if (typeof b < "u") {
|
|
766
766
|
var m = c(b, "_blank", "location=no");
|
|
767
767
|
m.addEventListener("loadstart", function(R) {
|
|
768
|
-
R.url.indexOf(
|
|
768
|
+
R.url.indexOf(k()) == 0 && m.close();
|
|
769
769
|
});
|
|
770
770
|
} else
|
|
771
771
|
throw "Not supported by the OIDC server";
|
|
772
772
|
},
|
|
773
773
|
redirectUri: function(b) {
|
|
774
|
-
return
|
|
774
|
+
return k();
|
|
775
775
|
}
|
|
776
776
|
};
|
|
777
777
|
}
|
|
@@ -782,7 +782,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
782
782
|
return universalLinks.subscribe("keycloak", function(j) {
|
|
783
783
|
universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
|
|
784
784
|
var P = _(j.url);
|
|
785
|
-
|
|
785
|
+
T(P, m);
|
|
786
786
|
}), window.cordova.plugins.browsertab.openUrl(R), m.promise;
|
|
787
787
|
},
|
|
788
788
|
logout: function(b) {
|
|
@@ -796,7 +796,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
796
796
|
return universalLinks.subscribe("keycloak", function(j) {
|
|
797
797
|
universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
|
|
798
798
|
var P = _(j.url);
|
|
799
|
-
|
|
799
|
+
T(P, m);
|
|
800
800
|
}), window.cordova.plugins.browsertab.openUrl(R), m.promise;
|
|
801
801
|
},
|
|
802
802
|
accountManagement: function() {
|
|
@@ -812,46 +812,46 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
812
812
|
};
|
|
813
813
|
throw "invalid adapter type: " + i;
|
|
814
814
|
}
|
|
815
|
-
const
|
|
815
|
+
const U = "kc-callback-";
|
|
816
816
|
var D = function() {
|
|
817
817
|
if (!(this instanceof D))
|
|
818
818
|
return new D();
|
|
819
819
|
localStorage.setItem("kc-test", "test"), localStorage.removeItem("kc-test");
|
|
820
820
|
var i = this;
|
|
821
821
|
function c() {
|
|
822
|
-
const
|
|
822
|
+
const k = Date.now();
|
|
823
823
|
for (const [b, m] of A()) {
|
|
824
824
|
const R = v(m);
|
|
825
|
-
(R === null || R <
|
|
825
|
+
(R === null || R < k) && localStorage.removeItem(b);
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
function y() {
|
|
829
|
-
for (const [
|
|
830
|
-
localStorage.removeItem(
|
|
829
|
+
for (const [k] of A())
|
|
830
|
+
localStorage.removeItem(k);
|
|
831
831
|
}
|
|
832
832
|
function A() {
|
|
833
|
-
return Object.entries(localStorage).filter(([
|
|
833
|
+
return Object.entries(localStorage).filter(([k]) => k.startsWith(U));
|
|
834
834
|
}
|
|
835
|
-
function v(
|
|
835
|
+
function v(k) {
|
|
836
836
|
let b;
|
|
837
837
|
try {
|
|
838
|
-
b = JSON.parse(
|
|
838
|
+
b = JSON.parse(k);
|
|
839
839
|
} catch {
|
|
840
840
|
return null;
|
|
841
841
|
}
|
|
842
842
|
return Wr(b) && "expires" in b && typeof b.expires == "number" ? b.expires : null;
|
|
843
843
|
}
|
|
844
|
-
i.get = function(
|
|
845
|
-
if (
|
|
846
|
-
var b =
|
|
844
|
+
i.get = function(k) {
|
|
845
|
+
if (k) {
|
|
846
|
+
var b = U + k, m = localStorage.getItem(b);
|
|
847
847
|
return m && (localStorage.removeItem(b), m = JSON.parse(m)), c(), m;
|
|
848
848
|
}
|
|
849
|
-
}, i.add = function(
|
|
849
|
+
}, i.add = function(k) {
|
|
850
850
|
c();
|
|
851
|
-
const b =
|
|
852
|
-
...
|
|
851
|
+
const b = U + k.state, m = JSON.stringify({
|
|
852
|
+
...k,
|
|
853
853
|
// Set the expiry time to 1 hour from now.
|
|
854
|
-
expires: Date.now() +
|
|
854
|
+
expires: Date.now() + 3600 * 1e3
|
|
855
855
|
});
|
|
856
856
|
try {
|
|
857
857
|
localStorage.setItem(b, m);
|
|
@@ -865,28 +865,28 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
865
865
|
var i = this;
|
|
866
866
|
i.get = function(v) {
|
|
867
867
|
if (v) {
|
|
868
|
-
var
|
|
869
|
-
if (A(
|
|
870
|
-
return JSON.parse(
|
|
868
|
+
var k = y(U + v);
|
|
869
|
+
if (A(U + v, "", c(-100)), k)
|
|
870
|
+
return JSON.parse(k);
|
|
871
871
|
}
|
|
872
872
|
}, i.add = function(v) {
|
|
873
|
-
A(
|
|
873
|
+
A(U + v.state, JSON.stringify(v), c(60));
|
|
874
874
|
}, i.removeItem = function(v) {
|
|
875
875
|
A(v, "", c(-100));
|
|
876
876
|
};
|
|
877
877
|
var c = function(v) {
|
|
878
|
-
var
|
|
879
|
-
return
|
|
878
|
+
var k = /* @__PURE__ */ new Date();
|
|
879
|
+
return k.setTime(k.getTime() + v * 60 * 1e3), k;
|
|
880
880
|
}, y = function(v) {
|
|
881
|
-
for (var
|
|
881
|
+
for (var k = v + "=", b = document.cookie.split(";"), m = 0; m < b.length; m++) {
|
|
882
882
|
for (var R = b[m]; R.charAt(0) == " "; )
|
|
883
883
|
R = R.substring(1);
|
|
884
|
-
if (R.indexOf(
|
|
885
|
-
return R.substring(
|
|
884
|
+
if (R.indexOf(k) == 0)
|
|
885
|
+
return R.substring(k.length, R.length);
|
|
886
886
|
}
|
|
887
887
|
return "";
|
|
888
|
-
}, A = function(v,
|
|
889
|
-
var m = v + "=" +
|
|
888
|
+
}, A = function(v, k, b) {
|
|
889
|
+
var m = v + "=" + k + "; expires=" + b.toUTCString() + "; ";
|
|
890
890
|
document.cookie = m;
|
|
891
891
|
};
|
|
892
892
|
};
|
|
@@ -919,7 +919,7 @@ function zr(e) {
|
|
|
919
919
|
throw new Error("Unable to decode token, payload not found.");
|
|
920
920
|
let n;
|
|
921
921
|
try {
|
|
922
|
-
n =
|
|
922
|
+
n = No(t);
|
|
923
923
|
} catch (o) {
|
|
924
924
|
throw new Error("Unable to decode token, payload is not a valid Base64URL value.", { cause: o });
|
|
925
925
|
}
|
|
@@ -929,7 +929,7 @@ function zr(e) {
|
|
|
929
929
|
throw new Error("Unable to decode token, payload is not a valid JSON value.", { cause: o });
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
|
-
function
|
|
932
|
+
function No(e) {
|
|
933
933
|
let r = e.replaceAll("-", "+").replaceAll("_", "/");
|
|
934
934
|
switch (r.length % 4) {
|
|
935
935
|
case 0:
|
|
@@ -944,12 +944,12 @@ function Uo(e) {
|
|
|
944
944
|
throw new Error("Input is not of the correct length.");
|
|
945
945
|
}
|
|
946
946
|
try {
|
|
947
|
-
return
|
|
947
|
+
return Uo(r);
|
|
948
948
|
} catch {
|
|
949
949
|
return atob(r);
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function Uo(e) {
|
|
953
953
|
return decodeURIComponent(atob(e).replace(/(.)/g, (r, t) => {
|
|
954
954
|
let n = t.charCodeAt(0).toString(16).toUpperCase();
|
|
955
955
|
return n.length < 2 && (n = "0" + n), "%" + n;
|
|
@@ -1030,18 +1030,18 @@ var nr = {};
|
|
|
1030
1030
|
*/
|
|
1031
1031
|
var Ct;
|
|
1032
1032
|
function Fo() {
|
|
1033
|
-
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1033
|
+
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
1034
1034
|
function e(c) {
|
|
1035
1035
|
if (c == null) return null;
|
|
1036
1036
|
if (typeof c == "function")
|
|
1037
1037
|
return c.$$typeof === H ? null : c.displayName || c.name || null;
|
|
1038
1038
|
if (typeof c == "string") return c;
|
|
1039
1039
|
switch (c) {
|
|
1040
|
-
case
|
|
1040
|
+
case T:
|
|
1041
1041
|
return "Fragment";
|
|
1042
1042
|
case V:
|
|
1043
1043
|
return "Profiler";
|
|
1044
|
-
case
|
|
1044
|
+
case N:
|
|
1045
1045
|
return "StrictMode";
|
|
1046
1046
|
case L:
|
|
1047
1047
|
return "Suspense";
|
|
@@ -1095,7 +1095,7 @@ function Fo() {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
1097
|
function n(c) {
|
|
1098
|
-
if (c ===
|
|
1098
|
+
if (c === T) return "<>";
|
|
1099
1099
|
if (typeof c == "object" && c !== null && c.$$typeof === X)
|
|
1100
1100
|
return "<...>";
|
|
1101
1101
|
try {
|
|
@@ -1137,7 +1137,7 @@ function Fo() {
|
|
|
1137
1137
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
1138
1138
|
)), c = this.props.ref, c !== void 0 ? c : null;
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1140
|
+
function h(c, y, A, v, k, b) {
|
|
1141
1141
|
var m = A.ref;
|
|
1142
1142
|
return c = {
|
|
1143
1143
|
$$typeof: C,
|
|
@@ -1162,7 +1162,7 @@ function Fo() {
|
|
|
1162
1162
|
configurable: !1,
|
|
1163
1163
|
enumerable: !1,
|
|
1164
1164
|
writable: !0,
|
|
1165
|
-
value:
|
|
1165
|
+
value: k
|
|
1166
1166
|
}), Object.defineProperty(c, "_debugTask", {
|
|
1167
1167
|
configurable: !1,
|
|
1168
1168
|
enumerable: !1,
|
|
@@ -1170,7 +1170,7 @@ function Fo() {
|
|
|
1170
1170
|
value: b
|
|
1171
1171
|
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
1172
1172
|
}
|
|
1173
|
-
function x(c, y, A, v,
|
|
1173
|
+
function x(c, y, A, v, k, b) {
|
|
1174
1174
|
var m = y.children;
|
|
1175
1175
|
if (m !== void 0)
|
|
1176
1176
|
if (v)
|
|
@@ -1209,12 +1209,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1209
1209
|
return m && u(
|
|
1210
1210
|
A,
|
|
1211
1211
|
typeof c == "function" ? c.displayName || c.name || "Unknown" : c
|
|
1212
|
-
),
|
|
1212
|
+
), h(
|
|
1213
1213
|
c,
|
|
1214
1214
|
m,
|
|
1215
1215
|
A,
|
|
1216
1216
|
o(),
|
|
1217
|
-
|
|
1217
|
+
k,
|
|
1218
1218
|
b
|
|
1219
1219
|
);
|
|
1220
1220
|
}
|
|
@@ -1224,19 +1224,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1224
1224
|
function w(c) {
|
|
1225
1225
|
return typeof c == "object" && c !== null && c.$$typeof === C;
|
|
1226
1226
|
}
|
|
1227
|
-
var
|
|
1227
|
+
var g = tt, C = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), $ = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), W = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), l = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, O = Array.isArray, U = console.createTask ? console.createTask : function() {
|
|
1228
1228
|
return null;
|
|
1229
1229
|
};
|
|
1230
|
-
|
|
1230
|
+
g = {
|
|
1231
1231
|
react_stack_bottom_frame: function(c) {
|
|
1232
1232
|
return c();
|
|
1233
1233
|
}
|
|
1234
1234
|
};
|
|
1235
|
-
var D, J = {}, ne =
|
|
1236
|
-
|
|
1235
|
+
var D, J = {}, ne = g.react_stack_bottom_frame.bind(
|
|
1236
|
+
g,
|
|
1237
1237
|
a
|
|
1238
|
-
)(), ue =
|
|
1239
|
-
nr.Fragment =
|
|
1238
|
+
)(), ue = U(n(a)), i = {};
|
|
1239
|
+
nr.Fragment = T, nr.jsx = function(c, y, A) {
|
|
1240
1240
|
var v = 1e4 > l.recentlyCreatedOwnerStacks++;
|
|
1241
1241
|
return x(
|
|
1242
1242
|
c,
|
|
@@ -1244,7 +1244,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1244
1244
|
A,
|
|
1245
1245
|
!1,
|
|
1246
1246
|
v ? Error("react-stack-top-frame") : ne,
|
|
1247
|
-
v ?
|
|
1247
|
+
v ? U(n(c)) : ue
|
|
1248
1248
|
);
|
|
1249
1249
|
}, nr.jsxs = function(c, y, A) {
|
|
1250
1250
|
var v = 1e4 > l.recentlyCreatedOwnerStacks++;
|
|
@@ -1254,14 +1254,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1254
1254
|
A,
|
|
1255
1255
|
!0,
|
|
1256
1256
|
v ? Error("react-stack-top-frame") : ne,
|
|
1257
|
-
v ?
|
|
1257
|
+
v ? U(n(c)) : ue
|
|
1258
1258
|
);
|
|
1259
1259
|
};
|
|
1260
|
-
}()), nr;
|
|
1260
|
+
})()), nr;
|
|
1261
1261
|
}
|
|
1262
|
-
var
|
|
1262
|
+
var Tt;
|
|
1263
1263
|
function zo() {
|
|
1264
|
-
return
|
|
1264
|
+
return Tt || (Tt = 1, process.env.NODE_ENV === "production" ? pr.exports = Vo() : pr.exports = Fo()), pr.exports;
|
|
1265
1265
|
}
|
|
1266
1266
|
var d = zo();
|
|
1267
1267
|
const Sn = Zn(null);
|
|
@@ -1623,7 +1623,7 @@ const ea = (e) => ({
|
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
1625
|
}
|
|
1626
|
-
}),
|
|
1626
|
+
}), kt = {
|
|
1627
1627
|
hours: "Horas",
|
|
1628
1628
|
minutes: "Minutos",
|
|
1629
1629
|
seconds: "Segundos",
|
|
@@ -1654,12 +1654,12 @@ const ea = (e) => ({
|
|
|
1654
1654
|
timePickerToolbarTitle: "Seleccionar hora",
|
|
1655
1655
|
dateRangePickerToolbarTitle: "Seleccionar rango de fecha",
|
|
1656
1656
|
// Clock labels
|
|
1657
|
-
clockLabelText: (e, r, t, n) => `Seleccione ${
|
|
1657
|
+
clockLabelText: (e, r, t, n) => `Seleccione ${kt[e]}. ${!n && (r === null || !t.isValid(r)) ? "No hay hora seleccionada" : `La hora seleccionada es ${n ?? t.format(r, "fullTime")}`}`,
|
|
1658
1658
|
hoursClockNumberText: (e) => `${e} horas`,
|
|
1659
1659
|
minutesClockNumberText: (e) => `${e} minutos`,
|
|
1660
1660
|
secondsClockNumberText: (e) => `${e} segundos`,
|
|
1661
1661
|
// Digital clock labels
|
|
1662
|
-
selectViewText: (e) => `Seleccionar ${
|
|
1662
|
+
selectViewText: (e) => `Seleccionar ${kt[e]}`,
|
|
1663
1663
|
// Calendar labels
|
|
1664
1664
|
calendarWeekNumberHeaderLabel: "Número de semana",
|
|
1665
1665
|
calendarWeekNumberHeaderText: "#",
|
|
@@ -1987,13 +1987,13 @@ let lt = no(
|
|
|
1987
1987
|
lt = oo(lt);
|
|
1988
1988
|
const _t = (e) => {
|
|
1989
1989
|
let r;
|
|
1990
|
-
const t = /* @__PURE__ */ new Set(), n = (
|
|
1991
|
-
const E = typeof
|
|
1990
|
+
const t = /* @__PURE__ */ new Set(), n = (h, x) => {
|
|
1991
|
+
const E = typeof h == "function" ? h(r) : h;
|
|
1992
1992
|
if (!Object.is(E, r)) {
|
|
1993
1993
|
const w = r;
|
|
1994
|
-
r = x ?? (typeof E != "object" || E === null) ? E : Object.assign({}, r, E), t.forEach((
|
|
1994
|
+
r = x ?? (typeof E != "object" || E === null) ? E : Object.assign({}, r, E), t.forEach((g) => g(r, w));
|
|
1995
1995
|
}
|
|
1996
|
-
}, o = () => r, u = { setState: n, getState: o, getInitialState: () => f, subscribe: (
|
|
1996
|
+
}, o = () => r, u = { setState: n, getState: o, getInitialState: () => f, subscribe: (h) => (t.add(h), () => t.delete(h)) }, f = r = e(n, o, u);
|
|
1997
1997
|
return u;
|
|
1998
1998
|
}, aa = (e) => e ? _t(e) : _t, ia = (e) => e;
|
|
1999
1999
|
function sa(e, r = ia) {
|
|
@@ -2026,8 +2026,8 @@ const Rt = (e) => {
|
|
|
2026
2026
|
});
|
|
2027
2027
|
}
|
|
2028
2028
|
})
|
|
2029
|
-
),
|
|
2030
|
-
const t =
|
|
2029
|
+
), Tn = xr, je = (e, r) => {
|
|
2030
|
+
const t = Tn(
|
|
2031
2031
|
(s) => s.toolbar.includes(e) || s.cargando.includes(e)
|
|
2032
2032
|
), n = ye(
|
|
2033
2033
|
(s) => xr.getState().set(e, s, r),
|
|
@@ -2040,19 +2040,19 @@ const Rt = (e) => {
|
|
|
2040
2040
|
() => [t, { setCargando: n, toogleCargando: o }],
|
|
2041
2041
|
[t, n, o]
|
|
2042
2042
|
);
|
|
2043
|
-
},
|
|
2043
|
+
}, ke = Rr(() => ({
|
|
2044
2044
|
abierto: !0,
|
|
2045
2045
|
cargando: !0,
|
|
2046
2046
|
toolbar: !0,
|
|
2047
2047
|
inhabilitado: !1
|
|
2048
|
-
})), Be =
|
|
2049
|
-
inhabilitado: typeof e == "boolean" ? e : e(
|
|
2050
|
-
}), jc = (e, r) =>
|
|
2048
|
+
})), Be = ke, Pc = (e) => ke.setState({
|
|
2049
|
+
inhabilitado: typeof e == "boolean" ? e : e(ke.getState().inhabilitado)
|
|
2050
|
+
}), jc = (e, r) => ke.setState({ seleccion: { menu: e, submenu: r } }), ca = ({
|
|
2051
2051
|
subMenu: e,
|
|
2052
2052
|
menu: r,
|
|
2053
2053
|
LinkComponent: t
|
|
2054
2054
|
}) => {
|
|
2055
|
-
const [n, o] =
|
|
2055
|
+
const [n, o] = kr(!1), a = Be(
|
|
2056
2056
|
({ seleccion: f }) => r === (f == null ? void 0 : f.menu) && (f == null ? void 0 : f.submenu) === e.id
|
|
2057
2057
|
), s = ye(
|
|
2058
2058
|
(f) => {
|
|
@@ -2073,7 +2073,7 @@ const Rt = (e) => {
|
|
|
2073
2073
|
sx: [{ px: 3 }],
|
|
2074
2074
|
...e.to ? { to: e.to } : {},
|
|
2075
2075
|
LinkComponent: t,
|
|
2076
|
-
onClick: () =>
|
|
2076
|
+
onClick: () => ke.setState({ seleccion: { menu: r, submenu: e.id } }),
|
|
2077
2077
|
children: [
|
|
2078
2078
|
u,
|
|
2079
2079
|
/* @__PURE__ */ d.jsx(
|
|
@@ -2104,7 +2104,7 @@ const Rt = (e) => {
|
|
|
2104
2104
|
separar: r,
|
|
2105
2105
|
LinkComponent: t
|
|
2106
2106
|
}) => {
|
|
2107
|
-
const [n, o] =
|
|
2107
|
+
const [n, o] = kr(!1), a = Be(
|
|
2108
2108
|
({ seleccion: f }) => (f == null ? void 0 : f.menu) === e.id
|
|
2109
2109
|
), s = ye(
|
|
2110
2110
|
(f) => {
|
|
@@ -2137,7 +2137,7 @@ const Rt = (e) => {
|
|
|
2137
2137
|
...Oe,
|
|
2138
2138
|
...e.to ? { to: e.to } : {},
|
|
2139
2139
|
LinkComponent: t,
|
|
2140
|
-
onClick: () =>
|
|
2140
|
+
onClick: () => ke.setState({ seleccion: { menu: e.id } }),
|
|
2141
2141
|
sx: [
|
|
2142
2142
|
{ px: 3 },
|
|
2143
2143
|
...Array.isArray(Oe == null ? void 0 : Oe.sx) ? Oe.sx : [Oe == null ? void 0 : Oe.sx]
|
|
@@ -2306,7 +2306,7 @@ const Rt = (e) => {
|
|
|
2306
2306
|
) }) })
|
|
2307
2307
|
] }) })
|
|
2308
2308
|
] }) : e.map((a, s) => {
|
|
2309
|
-
var u, f,
|
|
2309
|
+
var u, f, h;
|
|
2310
2310
|
return /* @__PURE__ */ eo(
|
|
2311
2311
|
la,
|
|
2312
2312
|
{
|
|
@@ -2314,7 +2314,7 @@ const Rt = (e) => {
|
|
|
2314
2314
|
key: `MENU_ITEM_DRAWER_${a.id}`,
|
|
2315
2315
|
menu: a,
|
|
2316
2316
|
LinkComponent: r,
|
|
2317
|
-
separar: !!((f = (u = e[s + 1]) == null ? void 0 : u.subMenus) != null && f.length || (
|
|
2317
|
+
separar: !!((f = (u = e[s + 1]) == null ? void 0 : u.subMenus) != null && f.length || (h = a.subMenus) != null && h.length && s !== e.length - 1)
|
|
2318
2318
|
}
|
|
2319
2319
|
);
|
|
2320
2320
|
})
|
|
@@ -2431,7 +2431,7 @@ var It;
|
|
|
2431
2431
|
function ga() {
|
|
2432
2432
|
if (It) return G;
|
|
2433
2433
|
It = 1;
|
|
2434
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111,
|
|
2434
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
2435
2435
|
function B(_) {
|
|
2436
2436
|
if (typeof _ == "object" && _ !== null) {
|
|
2437
2437
|
var L = _.$$typeof;
|
|
@@ -2439,7 +2439,7 @@ function ga() {
|
|
|
2439
2439
|
case r:
|
|
2440
2440
|
switch (_ = _.type, _) {
|
|
2441
2441
|
case f:
|
|
2442
|
-
case
|
|
2442
|
+
case h:
|
|
2443
2443
|
case n:
|
|
2444
2444
|
case a:
|
|
2445
2445
|
case o:
|
|
@@ -2450,7 +2450,7 @@ function ga() {
|
|
|
2450
2450
|
case u:
|
|
2451
2451
|
case x:
|
|
2452
2452
|
case C:
|
|
2453
|
-
case
|
|
2453
|
+
case g:
|
|
2454
2454
|
case s:
|
|
2455
2455
|
return _;
|
|
2456
2456
|
default:
|
|
@@ -2463,9 +2463,9 @@ function ga() {
|
|
|
2463
2463
|
}
|
|
2464
2464
|
}
|
|
2465
2465
|
function $(_) {
|
|
2466
|
-
return B(_) ===
|
|
2466
|
+
return B(_) === h;
|
|
2467
2467
|
}
|
|
2468
|
-
return G.AsyncMode = f, G.ConcurrentMode =
|
|
2468
|
+
return G.AsyncMode = f, G.ConcurrentMode = h, G.ContextConsumer = u, G.ContextProvider = s, G.Element = r, G.ForwardRef = x, G.Fragment = n, G.Lazy = C, G.Memo = g, G.Portal = t, G.Profiler = a, G.StrictMode = o, G.Suspense = E, G.isAsyncMode = function(_) {
|
|
2469
2469
|
return $(_) || B(_) === f;
|
|
2470
2470
|
}, G.isConcurrentMode = $, G.isContextConsumer = function(_) {
|
|
2471
2471
|
return B(_) === u;
|
|
@@ -2480,7 +2480,7 @@ function ga() {
|
|
|
2480
2480
|
}, G.isLazy = function(_) {
|
|
2481
2481
|
return B(_) === C;
|
|
2482
2482
|
}, G.isMemo = function(_) {
|
|
2483
|
-
return B(_) ===
|
|
2483
|
+
return B(_) === g;
|
|
2484
2484
|
}, G.isPortal = function(_) {
|
|
2485
2485
|
return B(_) === t;
|
|
2486
2486
|
}, G.isProfiler = function(_) {
|
|
@@ -2490,7 +2490,7 @@ function ga() {
|
|
|
2490
2490
|
}, G.isSuspense = function(_) {
|
|
2491
2491
|
return B(_) === E;
|
|
2492
2492
|
}, G.isValidElementType = function(_) {
|
|
2493
|
-
return typeof _ == "string" || typeof _ == "function" || _ === n || _ ===
|
|
2493
|
+
return typeof _ == "string" || typeof _ == "function" || _ === n || _ === h || _ === a || _ === o || _ === E || _ === w || typeof _ == "object" && _ !== null && (_.$$typeof === C || _.$$typeof === g || _.$$typeof === s || _.$$typeof === u || _.$$typeof === x || _.$$typeof === T || _.$$typeof === N || _.$$typeof === V || _.$$typeof === p);
|
|
2494
2494
|
}, G.typeOf = B, G;
|
|
2495
2495
|
}
|
|
2496
2496
|
var Y = {};
|
|
@@ -2504,11 +2504,11 @@ var Y = {};
|
|
|
2504
2504
|
*/
|
|
2505
2505
|
var Pt;
|
|
2506
2506
|
function ya() {
|
|
2507
|
-
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2508
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111,
|
|
2507
|
+
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
2508
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
2509
2509
|
function B(I) {
|
|
2510
2510
|
return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2511
|
-
I === n || I ===
|
|
2511
|
+
I === n || I === h || I === a || I === o || I === E || I === w || typeof I == "object" && I !== null && (I.$$typeof === C || I.$$typeof === g || I.$$typeof === s || I.$$typeof === u || I.$$typeof === x || I.$$typeof === T || I.$$typeof === N || I.$$typeof === V || I.$$typeof === p);
|
|
2512
2512
|
}
|
|
2513
2513
|
function $(I) {
|
|
2514
2514
|
if (typeof I == "object" && I !== null) {
|
|
@@ -2518,7 +2518,7 @@ function ya() {
|
|
|
2518
2518
|
var de = I.type;
|
|
2519
2519
|
switch (de) {
|
|
2520
2520
|
case f:
|
|
2521
|
-
case
|
|
2521
|
+
case h:
|
|
2522
2522
|
case n:
|
|
2523
2523
|
case a:
|
|
2524
2524
|
case o:
|
|
@@ -2530,7 +2530,7 @@ function ya() {
|
|
|
2530
2530
|
case u:
|
|
2531
2531
|
case x:
|
|
2532
2532
|
case C:
|
|
2533
|
-
case
|
|
2533
|
+
case g:
|
|
2534
2534
|
case s:
|
|
2535
2535
|
return He;
|
|
2536
2536
|
default:
|
|
@@ -2542,12 +2542,12 @@ function ya() {
|
|
|
2542
2542
|
}
|
|
2543
2543
|
}
|
|
2544
2544
|
}
|
|
2545
|
-
var _ = f, L =
|
|
2545
|
+
var _ = f, L = h, W = u, F = s, X = r, se = x, H = n, l = C, M = g, O = t, U = a, D = o, J = E, ne = !1;
|
|
2546
2546
|
function ue(I) {
|
|
2547
2547
|
return ne || (ne = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), i(I) || $(I) === f;
|
|
2548
2548
|
}
|
|
2549
2549
|
function i(I) {
|
|
2550
|
-
return $(I) ===
|
|
2550
|
+
return $(I) === h;
|
|
2551
2551
|
}
|
|
2552
2552
|
function c(I) {
|
|
2553
2553
|
return $(I) === u;
|
|
@@ -2561,14 +2561,14 @@ function ya() {
|
|
|
2561
2561
|
function v(I) {
|
|
2562
2562
|
return $(I) === x;
|
|
2563
2563
|
}
|
|
2564
|
-
function
|
|
2564
|
+
function k(I) {
|
|
2565
2565
|
return $(I) === n;
|
|
2566
2566
|
}
|
|
2567
2567
|
function b(I) {
|
|
2568
2568
|
return $(I) === C;
|
|
2569
2569
|
}
|
|
2570
2570
|
function m(I) {
|
|
2571
|
-
return $(I) ===
|
|
2571
|
+
return $(I) === g;
|
|
2572
2572
|
}
|
|
2573
2573
|
function R(I) {
|
|
2574
2574
|
return $(I) === t;
|
|
@@ -2582,11 +2582,11 @@ function ya() {
|
|
|
2582
2582
|
function z(I) {
|
|
2583
2583
|
return $(I) === E;
|
|
2584
2584
|
}
|
|
2585
|
-
Y.AsyncMode = _, Y.ConcurrentMode = L, Y.ContextConsumer = W, Y.ContextProvider = F, Y.Element = X, Y.ForwardRef = se, Y.Fragment = H, Y.Lazy = l, Y.Memo = M, Y.Portal = O, Y.Profiler =
|
|
2586
|
-
}()), Y;
|
|
2585
|
+
Y.AsyncMode = _, Y.ConcurrentMode = L, Y.ContextConsumer = W, Y.ContextProvider = F, Y.Element = X, Y.ForwardRef = se, Y.Fragment = H, Y.Lazy = l, Y.Memo = M, Y.Portal = O, Y.Profiler = U, Y.StrictMode = D, Y.Suspense = J, Y.isAsyncMode = ue, Y.isConcurrentMode = i, Y.isContextConsumer = c, Y.isContextProvider = y, Y.isElement = A, Y.isForwardRef = v, Y.isFragment = k, Y.isLazy = b, Y.isMemo = m, Y.isPortal = R, Y.isProfiler = j, Y.isStrictMode = P, Y.isSuspense = z, Y.isValidElementType = B, Y.typeOf = $;
|
|
2586
|
+
})()), Y;
|
|
2587
2587
|
}
|
|
2588
2588
|
var jt;
|
|
2589
|
-
function
|
|
2589
|
+
function kn() {
|
|
2590
2590
|
return jt || (jt = 1, process.env.NODE_ENV === "production" ? hr.exports = ga() : hr.exports = ya()), hr.exports;
|
|
2591
2591
|
}
|
|
2592
2592
|
/*
|
|
@@ -2618,23 +2618,23 @@ function ba() {
|
|
|
2618
2618
|
});
|
|
2619
2619
|
if (f.join("") !== "0123456789")
|
|
2620
2620
|
return !1;
|
|
2621
|
-
var
|
|
2621
|
+
var h = {};
|
|
2622
2622
|
return "abcdefghijklmnopqrst".split("").forEach(function(x) {
|
|
2623
|
-
|
|
2624
|
-
}), Object.keys(Object.assign({},
|
|
2623
|
+
h[x] = x;
|
|
2624
|
+
}), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst";
|
|
2625
2625
|
} catch {
|
|
2626
2626
|
return !1;
|
|
2627
2627
|
}
|
|
2628
2628
|
}
|
|
2629
2629
|
return Hr = o() ? Object.assign : function(a, s) {
|
|
2630
|
-
for (var u, f = n(a),
|
|
2630
|
+
for (var u, f = n(a), h, x = 1; x < arguments.length; x++) {
|
|
2631
2631
|
u = Object(arguments[x]);
|
|
2632
2632
|
for (var E in u)
|
|
2633
2633
|
r.call(u, E) && (f[E] = u[E]);
|
|
2634
2634
|
if (e) {
|
|
2635
|
-
|
|
2636
|
-
for (var w = 0; w <
|
|
2637
|
-
t.call(u,
|
|
2635
|
+
h = e(u);
|
|
2636
|
+
for (var w = 0; w < h.length; w++)
|
|
2637
|
+
t.call(u, h[w]) && (f[h[w]] = u[h[w]]);
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
2640
|
return f;
|
|
@@ -2651,10 +2651,10 @@ var Qr, Lt;
|
|
|
2651
2651
|
function _n() {
|
|
2652
2652
|
return Lt || (Lt = 1, Qr = Function.call.bind(Object.prototype.hasOwnProperty)), Qr;
|
|
2653
2653
|
}
|
|
2654
|
-
var Jr,
|
|
2654
|
+
var Jr, Nt;
|
|
2655
2655
|
function Aa() {
|
|
2656
|
-
if (
|
|
2657
|
-
|
|
2656
|
+
if (Nt) return Jr;
|
|
2657
|
+
Nt = 1;
|
|
2658
2658
|
var e = function() {
|
|
2659
2659
|
};
|
|
2660
2660
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2668,7 +2668,7 @@ function Aa() {
|
|
|
2668
2668
|
}
|
|
2669
2669
|
};
|
|
2670
2670
|
}
|
|
2671
|
-
function o(a, s, u, f,
|
|
2671
|
+
function o(a, s, u, f, h) {
|
|
2672
2672
|
if (process.env.NODE_ENV !== "production") {
|
|
2673
2673
|
for (var x in a)
|
|
2674
2674
|
if (n(a, x)) {
|
|
@@ -2688,9 +2688,9 @@ function Aa() {
|
|
|
2688
2688
|
(f || "React class") + ": type specification of " + u + " `" + x + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2689
2689
|
), E instanceof Error && !(E.message in t)) {
|
|
2690
2690
|
t[E.message] = !0;
|
|
2691
|
-
var
|
|
2691
|
+
var g = h ? h() : "";
|
|
2692
2692
|
e(
|
|
2693
|
-
"Failed " + u + " type: " + E.message + (
|
|
2693
|
+
"Failed " + u + " type: " + E.message + (g ?? "")
|
|
2694
2694
|
);
|
|
2695
2695
|
}
|
|
2696
2696
|
}
|
|
@@ -2700,11 +2700,11 @@ function Aa() {
|
|
|
2700
2700
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
2701
2701
|
}, Jr = o, Jr;
|
|
2702
2702
|
}
|
|
2703
|
-
var Gr,
|
|
2703
|
+
var Gr, Ut;
|
|
2704
2704
|
function va() {
|
|
2705
|
-
if (
|
|
2706
|
-
|
|
2707
|
-
var e =
|
|
2705
|
+
if (Ut) return Gr;
|
|
2706
|
+
Ut = 1;
|
|
2707
|
+
var e = kn(), r = ba(), t = /* @__PURE__ */ yt(), n = /* @__PURE__ */ _n(), o = /* @__PURE__ */ Aa(), a = function() {
|
|
2708
2708
|
};
|
|
2709
2709
|
process.env.NODE_ENV !== "production" && (a = function(u) {
|
|
2710
2710
|
var f = "Warning: " + u;
|
|
@@ -2718,21 +2718,21 @@ function va() {
|
|
|
2718
2718
|
return null;
|
|
2719
2719
|
}
|
|
2720
2720
|
return Gr = function(u, f) {
|
|
2721
|
-
var
|
|
2721
|
+
var h = typeof Symbol == "function" && Symbol.iterator, x = "@@iterator";
|
|
2722
2722
|
function E(i) {
|
|
2723
|
-
var c = i && (
|
|
2723
|
+
var c = i && (h && i[h] || i[x]);
|
|
2724
2724
|
if (typeof c == "function")
|
|
2725
2725
|
return c;
|
|
2726
2726
|
}
|
|
2727
|
-
var w = "<<anonymous>>",
|
|
2728
|
-
array:
|
|
2729
|
-
bigint:
|
|
2730
|
-
bool:
|
|
2731
|
-
func:
|
|
2732
|
-
number:
|
|
2733
|
-
object:
|
|
2734
|
-
string:
|
|
2735
|
-
symbol:
|
|
2727
|
+
var w = "<<anonymous>>", g = {
|
|
2728
|
+
array: N("array"),
|
|
2729
|
+
bigint: N("bigint"),
|
|
2730
|
+
bool: N("boolean"),
|
|
2731
|
+
func: N("function"),
|
|
2732
|
+
number: N("number"),
|
|
2733
|
+
object: N("object"),
|
|
2734
|
+
string: N("string"),
|
|
2735
|
+
symbol: N("symbol"),
|
|
2736
2736
|
any: V(),
|
|
2737
2737
|
arrayOf: B,
|
|
2738
2738
|
element: $(),
|
|
@@ -2752,10 +2752,10 @@ function va() {
|
|
|
2752
2752
|
this.message = i, this.data = c && typeof c == "object" ? c : {}, this.stack = "";
|
|
2753
2753
|
}
|
|
2754
2754
|
p.prototype = Error.prototype;
|
|
2755
|
-
function
|
|
2755
|
+
function T(i) {
|
|
2756
2756
|
if (process.env.NODE_ENV !== "production")
|
|
2757
2757
|
var c = {}, y = 0;
|
|
2758
|
-
function A(
|
|
2758
|
+
function A(k, b, m, R, j, P, z) {
|
|
2759
2759
|
if (R = R || w, P = P || m, z !== t) {
|
|
2760
2760
|
if (f) {
|
|
2761
2761
|
var I = new Error(
|
|
@@ -2770,84 +2770,84 @@ function va() {
|
|
|
2770
2770
|
), c[ce] = !0, y++);
|
|
2771
2771
|
}
|
|
2772
2772
|
}
|
|
2773
|
-
return b[m] == null ?
|
|
2773
|
+
return b[m] == null ? k ? b[m] === null ? new p("The " + j + " `" + P + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new p("The " + j + " `" + P + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : i(b, m, R, j, P);
|
|
2774
2774
|
}
|
|
2775
2775
|
var v = A.bind(null, !1);
|
|
2776
2776
|
return v.isRequired = A.bind(null, !0), v;
|
|
2777
2777
|
}
|
|
2778
|
-
function
|
|
2779
|
-
function c(y, A, v,
|
|
2778
|
+
function N(i) {
|
|
2779
|
+
function c(y, A, v, k, b, m) {
|
|
2780
2780
|
var R = y[A], j = D(R);
|
|
2781
2781
|
if (j !== i) {
|
|
2782
2782
|
var P = J(R);
|
|
2783
2783
|
return new p(
|
|
2784
|
-
"Invalid " +
|
|
2784
|
+
"Invalid " + k + " `" + b + "` of type " + ("`" + P + "` supplied to `" + v + "`, expected ") + ("`" + i + "`."),
|
|
2785
2785
|
{ expectedType: i }
|
|
2786
2786
|
);
|
|
2787
2787
|
}
|
|
2788
2788
|
return null;
|
|
2789
2789
|
}
|
|
2790
|
-
return
|
|
2790
|
+
return T(c);
|
|
2791
2791
|
}
|
|
2792
2792
|
function V() {
|
|
2793
|
-
return
|
|
2793
|
+
return T(s);
|
|
2794
2794
|
}
|
|
2795
2795
|
function B(i) {
|
|
2796
|
-
function c(y, A, v,
|
|
2796
|
+
function c(y, A, v, k, b) {
|
|
2797
2797
|
if (typeof i != "function")
|
|
2798
2798
|
return new p("Property `" + b + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
|
|
2799
2799
|
var m = y[A];
|
|
2800
2800
|
if (!Array.isArray(m)) {
|
|
2801
2801
|
var R = D(m);
|
|
2802
|
-
return new p("Invalid " +
|
|
2802
|
+
return new p("Invalid " + k + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected an array."));
|
|
2803
2803
|
}
|
|
2804
2804
|
for (var j = 0; j < m.length; j++) {
|
|
2805
|
-
var P = i(m, j, v,
|
|
2805
|
+
var P = i(m, j, v, k, b + "[" + j + "]", t);
|
|
2806
2806
|
if (P instanceof Error)
|
|
2807
2807
|
return P;
|
|
2808
2808
|
}
|
|
2809
2809
|
return null;
|
|
2810
2810
|
}
|
|
2811
|
-
return
|
|
2811
|
+
return T(c);
|
|
2812
2812
|
}
|
|
2813
2813
|
function $() {
|
|
2814
|
-
function i(c, y, A, v,
|
|
2814
|
+
function i(c, y, A, v, k) {
|
|
2815
2815
|
var b = c[y];
|
|
2816
2816
|
if (!u(b)) {
|
|
2817
2817
|
var m = D(b);
|
|
2818
|
-
return new p("Invalid " + v + " `" +
|
|
2818
|
+
return new p("Invalid " + v + " `" + k + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement."));
|
|
2819
2819
|
}
|
|
2820
2820
|
return null;
|
|
2821
2821
|
}
|
|
2822
|
-
return
|
|
2822
|
+
return T(i);
|
|
2823
2823
|
}
|
|
2824
2824
|
function _() {
|
|
2825
|
-
function i(c, y, A, v,
|
|
2825
|
+
function i(c, y, A, v, k) {
|
|
2826
2826
|
var b = c[y];
|
|
2827
2827
|
if (!e.isValidElementType(b)) {
|
|
2828
2828
|
var m = D(b);
|
|
2829
|
-
return new p("Invalid " + v + " `" +
|
|
2829
|
+
return new p("Invalid " + v + " `" + k + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement type."));
|
|
2830
2830
|
}
|
|
2831
2831
|
return null;
|
|
2832
2832
|
}
|
|
2833
|
-
return
|
|
2833
|
+
return T(i);
|
|
2834
2834
|
}
|
|
2835
2835
|
function L(i) {
|
|
2836
|
-
function c(y, A, v,
|
|
2836
|
+
function c(y, A, v, k, b) {
|
|
2837
2837
|
if (!(y[A] instanceof i)) {
|
|
2838
2838
|
var m = i.name || w, R = ue(y[A]);
|
|
2839
|
-
return new p("Invalid " +
|
|
2839
|
+
return new p("Invalid " + k + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected ") + ("instance of `" + m + "`."));
|
|
2840
2840
|
}
|
|
2841
2841
|
return null;
|
|
2842
2842
|
}
|
|
2843
|
-
return
|
|
2843
|
+
return T(c);
|
|
2844
2844
|
}
|
|
2845
2845
|
function W(i) {
|
|
2846
2846
|
if (!Array.isArray(i))
|
|
2847
2847
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
2848
2848
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2849
2849
|
) : a("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
2850
|
-
function c(y, A, v,
|
|
2850
|
+
function c(y, A, v, k, b) {
|
|
2851
2851
|
for (var m = y[A], R = 0; R < i.length; R++)
|
|
2852
2852
|
if (C(m, i[R]))
|
|
2853
2853
|
return null;
|
|
@@ -2855,26 +2855,26 @@ function va() {
|
|
|
2855
2855
|
var ce = J(I);
|
|
2856
2856
|
return ce === "symbol" ? String(I) : I;
|
|
2857
2857
|
});
|
|
2858
|
-
return new p("Invalid " +
|
|
2858
|
+
return new p("Invalid " + k + " `" + b + "` of value `" + String(m) + "` " + ("supplied to `" + v + "`, expected one of " + j + "."));
|
|
2859
2859
|
}
|
|
2860
|
-
return
|
|
2860
|
+
return T(c);
|
|
2861
2861
|
}
|
|
2862
2862
|
function F(i) {
|
|
2863
|
-
function c(y, A, v,
|
|
2863
|
+
function c(y, A, v, k, b) {
|
|
2864
2864
|
if (typeof i != "function")
|
|
2865
2865
|
return new p("Property `" + b + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
|
|
2866
2866
|
var m = y[A], R = D(m);
|
|
2867
2867
|
if (R !== "object")
|
|
2868
|
-
return new p("Invalid " +
|
|
2868
|
+
return new p("Invalid " + k + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected an object."));
|
|
2869
2869
|
for (var j in m)
|
|
2870
2870
|
if (n(m, j)) {
|
|
2871
|
-
var P = i(m, j, v,
|
|
2871
|
+
var P = i(m, j, v, k, b + "." + j, t);
|
|
2872
2872
|
if (P instanceof Error)
|
|
2873
2873
|
return P;
|
|
2874
2874
|
}
|
|
2875
2875
|
return null;
|
|
2876
2876
|
}
|
|
2877
|
-
return
|
|
2877
|
+
return T(c);
|
|
2878
2878
|
}
|
|
2879
2879
|
function X(i) {
|
|
2880
2880
|
if (!Array.isArray(i))
|
|
@@ -2886,9 +2886,9 @@ function va() {
|
|
|
2886
2886
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(y) + " at index " + c + "."
|
|
2887
2887
|
), s;
|
|
2888
2888
|
}
|
|
2889
|
-
function A(v,
|
|
2889
|
+
function A(v, k, b, m, R) {
|
|
2890
2890
|
for (var j = [], P = 0; P < i.length; P++) {
|
|
2891
|
-
var z = i[P], I = z(v,
|
|
2891
|
+
var z = i[P], I = z(v, k, b, m, R, t);
|
|
2892
2892
|
if (I == null)
|
|
2893
2893
|
return null;
|
|
2894
2894
|
I.data && n(I.data, "expectedType") && j.push(I.data.expectedType);
|
|
@@ -2896,13 +2896,13 @@ function va() {
|
|
|
2896
2896
|
var ce = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
|
|
2897
2897
|
return new p("Invalid " + m + " `" + R + "` supplied to " + ("`" + b + "`" + ce + "."));
|
|
2898
2898
|
}
|
|
2899
|
-
return
|
|
2899
|
+
return T(A);
|
|
2900
2900
|
}
|
|
2901
2901
|
function se() {
|
|
2902
|
-
function i(c, y, A, v,
|
|
2903
|
-
return O(c[y]) ? null : new p("Invalid " + v + " `" +
|
|
2902
|
+
function i(c, y, A, v, k) {
|
|
2903
|
+
return O(c[y]) ? null : new p("Invalid " + v + " `" + k + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
|
|
2904
2904
|
}
|
|
2905
|
-
return
|
|
2905
|
+
return T(i);
|
|
2906
2906
|
}
|
|
2907
2907
|
function H(i, c, y, A, v) {
|
|
2908
2908
|
return new p(
|
|
@@ -2910,44 +2910,44 @@ function va() {
|
|
|
2910
2910
|
);
|
|
2911
2911
|
}
|
|
2912
2912
|
function l(i) {
|
|
2913
|
-
function c(y, A, v,
|
|
2913
|
+
function c(y, A, v, k, b) {
|
|
2914
2914
|
var m = y[A], R = D(m);
|
|
2915
2915
|
if (R !== "object")
|
|
2916
|
-
return new p("Invalid " +
|
|
2916
|
+
return new p("Invalid " + k + " `" + b + "` of type `" + R + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
2917
2917
|
for (var j in i) {
|
|
2918
2918
|
var P = i[j];
|
|
2919
2919
|
if (typeof P != "function")
|
|
2920
|
-
return H(v,
|
|
2921
|
-
var z = P(m, j, v,
|
|
2920
|
+
return H(v, k, b, j, J(P));
|
|
2921
|
+
var z = P(m, j, v, k, b + "." + j, t);
|
|
2922
2922
|
if (z)
|
|
2923
2923
|
return z;
|
|
2924
2924
|
}
|
|
2925
2925
|
return null;
|
|
2926
2926
|
}
|
|
2927
|
-
return
|
|
2927
|
+
return T(c);
|
|
2928
2928
|
}
|
|
2929
2929
|
function M(i) {
|
|
2930
|
-
function c(y, A, v,
|
|
2930
|
+
function c(y, A, v, k, b) {
|
|
2931
2931
|
var m = y[A], R = D(m);
|
|
2932
2932
|
if (R !== "object")
|
|
2933
|
-
return new p("Invalid " +
|
|
2933
|
+
return new p("Invalid " + k + " `" + b + "` of type `" + R + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
2934
2934
|
var j = r({}, y[A], i);
|
|
2935
2935
|
for (var P in j) {
|
|
2936
2936
|
var z = i[P];
|
|
2937
2937
|
if (n(i, P) && typeof z != "function")
|
|
2938
|
-
return H(v,
|
|
2938
|
+
return H(v, k, b, P, J(z));
|
|
2939
2939
|
if (!z)
|
|
2940
2940
|
return new p(
|
|
2941
|
-
"Invalid " +
|
|
2941
|
+
"Invalid " + k + " `" + b + "` key `" + P + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(y[A], null, " ") + `
|
|
2942
2942
|
Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
2943
2943
|
);
|
|
2944
|
-
var I = z(m, P, v,
|
|
2944
|
+
var I = z(m, P, v, k, b + "." + P, t);
|
|
2945
2945
|
if (I)
|
|
2946
2946
|
return I;
|
|
2947
2947
|
}
|
|
2948
2948
|
return null;
|
|
2949
2949
|
}
|
|
2950
|
-
return
|
|
2950
|
+
return T(c);
|
|
2951
2951
|
}
|
|
2952
2952
|
function O(i) {
|
|
2953
2953
|
switch (typeof i) {
|
|
@@ -2982,12 +2982,12 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
2982
2982
|
return !1;
|
|
2983
2983
|
}
|
|
2984
2984
|
}
|
|
2985
|
-
function
|
|
2985
|
+
function U(i, c) {
|
|
2986
2986
|
return i === "symbol" ? !0 : c ? c["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && c instanceof Symbol : !1;
|
|
2987
2987
|
}
|
|
2988
2988
|
function D(i) {
|
|
2989
2989
|
var c = typeof i;
|
|
2990
|
-
return Array.isArray(i) ? "array" : i instanceof RegExp ? "object" :
|
|
2990
|
+
return Array.isArray(i) ? "array" : i instanceof RegExp ? "object" : U(c, i) ? "symbol" : c;
|
|
2991
2991
|
}
|
|
2992
2992
|
function J(i) {
|
|
2993
2993
|
if (typeof i > "u" || i === null)
|
|
@@ -3018,7 +3018,7 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
3018
3018
|
function ue(i) {
|
|
3019
3019
|
return !i.constructor || !i.constructor.name ? w : i.constructor.name;
|
|
3020
3020
|
}
|
|
3021
|
-
return
|
|
3021
|
+
return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
|
|
3022
3022
|
}, Gr;
|
|
3023
3023
|
}
|
|
3024
3024
|
var Yr, Dt;
|
|
@@ -3031,7 +3031,7 @@ function Sa() {
|
|
|
3031
3031
|
function t() {
|
|
3032
3032
|
}
|
|
3033
3033
|
return t.resetWarningCache = r, Yr = function() {
|
|
3034
|
-
function n(s, u, f,
|
|
3034
|
+
function n(s, u, f, h, x, E) {
|
|
3035
3035
|
if (E !== e) {
|
|
3036
3036
|
var w = new Error(
|
|
3037
3037
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -3073,7 +3073,7 @@ var Bt;
|
|
|
3073
3073
|
function xa() {
|
|
3074
3074
|
if (Bt) return mr.exports;
|
|
3075
3075
|
if (Bt = 1, process.env.NODE_ENV !== "production") {
|
|
3076
|
-
var e =
|
|
3076
|
+
var e = kn(), r = !0;
|
|
3077
3077
|
mr.exports = /* @__PURE__ */ va()(e.isElement, r);
|
|
3078
3078
|
} else
|
|
3079
3079
|
mr.exports = /* @__PURE__ */ Sa()();
|
|
@@ -3100,8 +3100,8 @@ function Ea(e, r, t = void 0) {
|
|
|
3100
3100
|
const a = e[o];
|
|
3101
3101
|
let s = "", u = !0;
|
|
3102
3102
|
for (let f = 0; f < a.length; f += 1) {
|
|
3103
|
-
const
|
|
3104
|
-
|
|
3103
|
+
const h = a[f];
|
|
3104
|
+
h && (s += (u === !0 ? "" : " ") + r(h), u = !1, t && t[h] && (s += " " + t[h]));
|
|
3105
3105
|
}
|
|
3106
3106
|
n[o] = s;
|
|
3107
3107
|
}
|
|
@@ -3121,18 +3121,18 @@ var Vt;
|
|
|
3121
3121
|
function Ca() {
|
|
3122
3122
|
if (Vt) return ee;
|
|
3123
3123
|
Vt = 1;
|
|
3124
|
-
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"),
|
|
3124
|
+
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), w = Symbol.for("react.view_transition"), g = Symbol.for("react.client.reference");
|
|
3125
3125
|
function C(p) {
|
|
3126
3126
|
if (typeof p == "object" && p !== null) {
|
|
3127
|
-
var
|
|
3128
|
-
switch (
|
|
3127
|
+
var T = p.$$typeof;
|
|
3128
|
+
switch (T) {
|
|
3129
3129
|
case e:
|
|
3130
3130
|
switch (p = p.type, p) {
|
|
3131
3131
|
case t:
|
|
3132
3132
|
case o:
|
|
3133
3133
|
case n:
|
|
3134
3134
|
case f:
|
|
3135
|
-
case
|
|
3135
|
+
case h:
|
|
3136
3136
|
case w:
|
|
3137
3137
|
return p;
|
|
3138
3138
|
default:
|
|
@@ -3145,15 +3145,15 @@ function Ca() {
|
|
|
3145
3145
|
case a:
|
|
3146
3146
|
return p;
|
|
3147
3147
|
default:
|
|
3148
|
-
return
|
|
3148
|
+
return T;
|
|
3149
3149
|
}
|
|
3150
3150
|
}
|
|
3151
3151
|
case r:
|
|
3152
|
-
return
|
|
3152
|
+
return T;
|
|
3153
3153
|
}
|
|
3154
3154
|
}
|
|
3155
3155
|
}
|
|
3156
|
-
return ee.ContextConsumer = a, ee.ContextProvider = s, ee.Element = e, ee.ForwardRef = u, ee.Fragment = t, ee.Lazy = E, ee.Memo = x, ee.Portal = r, ee.Profiler = o, ee.StrictMode = n, ee.Suspense = f, ee.SuspenseList =
|
|
3156
|
+
return ee.ContextConsumer = a, ee.ContextProvider = s, ee.Element = e, ee.ForwardRef = u, ee.Fragment = t, ee.Lazy = E, ee.Memo = x, ee.Portal = r, ee.Profiler = o, ee.StrictMode = n, ee.Suspense = f, ee.SuspenseList = h, ee.isContextConsumer = function(p) {
|
|
3157
3157
|
return C(p) === a;
|
|
3158
3158
|
}, ee.isContextProvider = function(p) {
|
|
3159
3159
|
return C(p) === s;
|
|
@@ -3176,9 +3176,9 @@ function Ca() {
|
|
|
3176
3176
|
}, ee.isSuspense = function(p) {
|
|
3177
3177
|
return C(p) === f;
|
|
3178
3178
|
}, ee.isSuspenseList = function(p) {
|
|
3179
|
-
return C(p) ===
|
|
3179
|
+
return C(p) === h;
|
|
3180
3180
|
}, ee.isValidElementType = function(p) {
|
|
3181
|
-
return typeof p == "string" || typeof p == "function" || p === t || p === o || p === n || p === f || p ===
|
|
3181
|
+
return typeof p == "string" || typeof p == "function" || p === t || p === o || p === n || p === f || p === h || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === x || p.$$typeof === s || p.$$typeof === a || p.$$typeof === u || p.$$typeof === g || p.getModuleId !== void 0);
|
|
3182
3182
|
}, ee.typeOf = C, ee;
|
|
3183
3183
|
}
|
|
3184
3184
|
var re = {};
|
|
@@ -3192,20 +3192,20 @@ var re = {};
|
|
|
3192
3192
|
* LICENSE file in the root directory of this source tree.
|
|
3193
3193
|
*/
|
|
3194
3194
|
var Ft;
|
|
3195
|
-
function
|
|
3196
|
-
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3195
|
+
function Ta() {
|
|
3196
|
+
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
3197
3197
|
function e(p) {
|
|
3198
3198
|
if (typeof p == "object" && p !== null) {
|
|
3199
|
-
var
|
|
3200
|
-
switch (
|
|
3199
|
+
var T = p.$$typeof;
|
|
3200
|
+
switch (T) {
|
|
3201
3201
|
case r:
|
|
3202
3202
|
switch (p = p.type, p) {
|
|
3203
3203
|
case n:
|
|
3204
3204
|
case a:
|
|
3205
3205
|
case o:
|
|
3206
|
-
case g:
|
|
3207
|
-
case x:
|
|
3208
3206
|
case h:
|
|
3207
|
+
case x:
|
|
3208
|
+
case g:
|
|
3209
3209
|
return p;
|
|
3210
3210
|
default:
|
|
3211
3211
|
switch (p = p && p.$$typeof, p) {
|
|
@@ -3217,16 +3217,16 @@ function ka() {
|
|
|
3217
3217
|
case s:
|
|
3218
3218
|
return p;
|
|
3219
3219
|
default:
|
|
3220
|
-
return
|
|
3220
|
+
return T;
|
|
3221
3221
|
}
|
|
3222
3222
|
}
|
|
3223
3223
|
case t:
|
|
3224
|
-
return
|
|
3224
|
+
return T;
|
|
3225
3225
|
}
|
|
3226
3226
|
}
|
|
3227
3227
|
}
|
|
3228
|
-
var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"),
|
|
3229
|
-
re.ContextConsumer = s, re.ContextProvider = u, re.Element = r, re.ForwardRef = f, re.Fragment = n, re.Lazy = w, re.Memo = E, re.Portal = t, re.Profiler = a, re.StrictMode = o, re.Suspense =
|
|
3228
|
+
var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), g = Symbol.for("react.view_transition"), C = Symbol.for("react.client.reference");
|
|
3229
|
+
re.ContextConsumer = s, re.ContextProvider = u, re.Element = r, re.ForwardRef = f, re.Fragment = n, re.Lazy = w, re.Memo = E, re.Portal = t, re.Profiler = a, re.StrictMode = o, re.Suspense = h, re.SuspenseList = x, re.isContextConsumer = function(p) {
|
|
3230
3230
|
return e(p) === s;
|
|
3231
3231
|
}, re.isContextProvider = function(p) {
|
|
3232
3232
|
return e(p) === u;
|
|
@@ -3247,27 +3247,27 @@ function ka() {
|
|
|
3247
3247
|
}, re.isStrictMode = function(p) {
|
|
3248
3248
|
return e(p) === o;
|
|
3249
3249
|
}, re.isSuspense = function(p) {
|
|
3250
|
-
return e(p) ===
|
|
3250
|
+
return e(p) === h;
|
|
3251
3251
|
}, re.isSuspenseList = function(p) {
|
|
3252
3252
|
return e(p) === x;
|
|
3253
3253
|
}, re.isValidElementType = function(p) {
|
|
3254
|
-
return typeof p == "string" || typeof p == "function" || p === n || p === a || p === o || p ===
|
|
3254
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === a || p === o || p === h || p === x || typeof p == "object" && p !== null && (p.$$typeof === w || p.$$typeof === E || p.$$typeof === u || p.$$typeof === s || p.$$typeof === f || p.$$typeof === C || p.getModuleId !== void 0);
|
|
3255
3255
|
}, re.typeOf = e;
|
|
3256
|
-
}()), re;
|
|
3256
|
+
})()), re;
|
|
3257
3257
|
}
|
|
3258
3258
|
var zt;
|
|
3259
|
-
function
|
|
3260
|
-
return zt || (zt = 1, process.env.NODE_ENV === "production" ? gr.exports = /* @__PURE__ */ Ca() : gr.exports = /* @__PURE__ */
|
|
3259
|
+
function ka() {
|
|
3260
|
+
return zt || (zt = 1, process.env.NODE_ENV === "production" ? gr.exports = /* @__PURE__ */ Ca() : gr.exports = /* @__PURE__ */ Ta()), gr.exports;
|
|
3261
3261
|
}
|
|
3262
|
-
var wr = /* @__PURE__ */
|
|
3263
|
-
function
|
|
3262
|
+
var wr = /* @__PURE__ */ ka();
|
|
3263
|
+
function Te(e) {
|
|
3264
3264
|
if (typeof e != "object" || e === null)
|
|
3265
3265
|
return !1;
|
|
3266
3266
|
const r = Object.getPrototypeOf(e);
|
|
3267
3267
|
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
3268
3268
|
}
|
|
3269
3269
|
function In(e) {
|
|
3270
|
-
if (/* @__PURE__ */ $e.isValidElement(e) || wr.isValidElementType(e) || !
|
|
3270
|
+
if (/* @__PURE__ */ $e.isValidElement(e) || wr.isValidElementType(e) || !Te(e))
|
|
3271
3271
|
return e;
|
|
3272
3272
|
const r = {};
|
|
3273
3273
|
return Object.keys(e).forEach((t) => {
|
|
@@ -3280,9 +3280,9 @@ function me(e, r, t = {
|
|
|
3280
3280
|
const n = t.clone ? {
|
|
3281
3281
|
...e
|
|
3282
3282
|
} : e;
|
|
3283
|
-
return
|
|
3284
|
-
/* @__PURE__ */ $e.isValidElement(r[o]) || wr.isValidElementType(r[o]) ? n[o] = r[o] :
|
|
3285
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
3283
|
+
return Te(e) && Te(r) && Object.keys(r).forEach((o) => {
|
|
3284
|
+
/* @__PURE__ */ $e.isValidElement(r[o]) || wr.isValidElementType(r[o]) ? n[o] = r[o] : Te(r[o]) && // Avoid prototype pollution
|
|
3285
|
+
Object.prototype.hasOwnProperty.call(e, o) && Te(e[o]) ? n[o] = me(e[o], r[o], t) : t.clone ? n[o] = Te(r[o]) ? In(r[o]) : r[o] : n[o] = r[o];
|
|
3286
3286
|
}), n;
|
|
3287
3287
|
}
|
|
3288
3288
|
function lr(e, r) {
|
|
@@ -3422,10 +3422,10 @@ function ie(e) {
|
|
|
3422
3422
|
} = e, a = (s) => {
|
|
3423
3423
|
if (s[r] == null)
|
|
3424
3424
|
return null;
|
|
3425
|
-
const u = s[r], f = s.theme,
|
|
3425
|
+
const u = s[r], f = s.theme, h = Ir(f, n) || {};
|
|
3426
3426
|
return _e(s, u, (E) => {
|
|
3427
|
-
let w = Er(
|
|
3428
|
-
return E === w && typeof E == "string" && (w = Er(
|
|
3427
|
+
let w = Er(h, o, E);
|
|
3428
|
+
return E === w && typeof E == "string" && (w = Er(h, o, `${r}${E === "default" ? "" : ze(E)}`, E)), t === !1 ? w : {
|
|
3429
3429
|
[t]: w
|
|
3430
3430
|
};
|
|
3431
3431
|
});
|
|
@@ -3461,7 +3461,7 @@ const $a = {
|
|
|
3461
3461
|
return [e];
|
|
3462
3462
|
const [r, t] = e.split(""), n = $a[r], o = Ma[t] || "";
|
|
3463
3463
|
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
3464
|
-
}), Pr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], jr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"],
|
|
3464
|
+
}), Pr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], jr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Na = [...Pr, ...jr];
|
|
3465
3465
|
function dr(e, r, t, n) {
|
|
3466
3466
|
const o = Ir(e, r, !0) ?? t;
|
|
3467
3467
|
return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
@@ -3483,13 +3483,13 @@ function bt(e) {
|
|
|
3483
3483
|
function fr(e, r) {
|
|
3484
3484
|
return typeof r == "string" || r == null ? r : e(r);
|
|
3485
3485
|
}
|
|
3486
|
-
function
|
|
3486
|
+
function Ua(e, r) {
|
|
3487
3487
|
return (t) => e.reduce((n, o) => (n[o] = fr(r, t), n), {});
|
|
3488
3488
|
}
|
|
3489
3489
|
function Da(e, r, t, n) {
|
|
3490
3490
|
if (!r.includes(t))
|
|
3491
3491
|
return null;
|
|
3492
|
-
const o = La(t), a =
|
|
3492
|
+
const o = La(t), a = Ua(o, n), s = e[t];
|
|
3493
3493
|
return _e(e, s, a);
|
|
3494
3494
|
}
|
|
3495
3495
|
function Pn(e, r) {
|
|
@@ -3506,7 +3506,7 @@ function ae(e) {
|
|
|
3506
3506
|
}
|
|
3507
3507
|
ae.propTypes = process.env.NODE_ENV !== "production" ? jr.reduce((e, r) => (e[r] = Le, e), {}) : {};
|
|
3508
3508
|
ae.filterProps = jr;
|
|
3509
|
-
process.env.NODE_ENV !== "production" &&
|
|
3509
|
+
process.env.NODE_ENV !== "production" && Na.reduce((e, r) => (e[r] = Le, e), {});
|
|
3510
3510
|
function $r(...e) {
|
|
3511
3511
|
const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
3512
3512
|
n[a] = o;
|
|
@@ -3550,7 +3550,7 @@ Lr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3550
3550
|
gap: Le
|
|
3551
3551
|
} : {};
|
|
3552
3552
|
Lr.filterProps = ["gap"];
|
|
3553
|
-
const
|
|
3553
|
+
const Nr = (e) => {
|
|
3554
3554
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
3555
3555
|
const r = dr(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
|
|
3556
3556
|
columnGap: fr(r, n)
|
|
@@ -3559,11 +3559,11 @@ const Ur = (e) => {
|
|
|
3559
3559
|
}
|
|
3560
3560
|
return null;
|
|
3561
3561
|
};
|
|
3562
|
-
|
|
3562
|
+
Nr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3563
3563
|
columnGap: Le
|
|
3564
3564
|
} : {};
|
|
3565
|
-
|
|
3566
|
-
const
|
|
3565
|
+
Nr.filterProps = ["columnGap"];
|
|
3566
|
+
const Ur = (e) => {
|
|
3567
3567
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
3568
3568
|
const r = dr(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
|
|
3569
3569
|
rowGap: fr(r, n)
|
|
@@ -3572,10 +3572,10 @@ const Nr = (e) => {
|
|
|
3572
3572
|
}
|
|
3573
3573
|
return null;
|
|
3574
3574
|
};
|
|
3575
|
-
|
|
3575
|
+
Ur.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3576
3576
|
rowGap: Le
|
|
3577
3577
|
} : {};
|
|
3578
|
-
|
|
3578
|
+
Ur.filterProps = ["rowGap"];
|
|
3579
3579
|
const Za = ie({
|
|
3580
3580
|
prop: "gridColumn"
|
|
3581
3581
|
}), Xa = ie({
|
|
@@ -3595,7 +3595,7 @@ const Za = ie({
|
|
|
3595
3595
|
}), ii = ie({
|
|
3596
3596
|
prop: "gridArea"
|
|
3597
3597
|
});
|
|
3598
|
-
$r(Lr,
|
|
3598
|
+
$r(Lr, Nr, Ur, Za, Xa, ei, ri, ti, ni, oi, ai, ii);
|
|
3599
3599
|
function qe(e, r) {
|
|
3600
3600
|
return r === "grey" ? r : e;
|
|
3601
3601
|
}
|
|
@@ -3881,10 +3881,10 @@ const Dr = {
|
|
|
3881
3881
|
style: Lr
|
|
3882
3882
|
},
|
|
3883
3883
|
rowGap: {
|
|
3884
|
-
style:
|
|
3884
|
+
style: Ur
|
|
3885
3885
|
},
|
|
3886
3886
|
columnGap: {
|
|
3887
|
-
style:
|
|
3887
|
+
style: Nr
|
|
3888
3888
|
},
|
|
3889
3889
|
gridColumn: {},
|
|
3890
3890
|
gridRow: {},
|
|
@@ -3972,17 +3972,17 @@ function bi() {
|
|
|
3972
3972
|
};
|
|
3973
3973
|
const {
|
|
3974
3974
|
cssProperty: f = t,
|
|
3975
|
-
themeKey:
|
|
3975
|
+
themeKey: h,
|
|
3976
3976
|
transform: x,
|
|
3977
3977
|
style: E
|
|
3978
3978
|
} = u;
|
|
3979
3979
|
if (n == null)
|
|
3980
3980
|
return null;
|
|
3981
|
-
if (
|
|
3981
|
+
if (h === "typography" && n === "inherit")
|
|
3982
3982
|
return {
|
|
3983
3983
|
[t]: n
|
|
3984
3984
|
};
|
|
3985
|
-
const w = Ir(o,
|
|
3985
|
+
const w = Ir(o, h) || {};
|
|
3986
3986
|
return E ? E(s) : _e(s, n, (C) => {
|
|
3987
3987
|
let p = Er(w, x, C);
|
|
3988
3988
|
return C === p && typeof C == "string" && (p = Er(w, x, `${t}${C === "default" ? "" : ze(C)}`, C)), f === !1 ? p : {
|
|
@@ -4000,35 +4000,35 @@ function bi() {
|
|
|
4000
4000
|
return null;
|
|
4001
4001
|
const s = o.unstable_sxConfig ?? Dr;
|
|
4002
4002
|
function u(f) {
|
|
4003
|
-
let
|
|
4003
|
+
let h = f;
|
|
4004
4004
|
if (typeof f == "function")
|
|
4005
|
-
|
|
4005
|
+
h = f(o);
|
|
4006
4006
|
else if (typeof f != "object")
|
|
4007
4007
|
return f;
|
|
4008
|
-
if (!
|
|
4008
|
+
if (!h)
|
|
4009
4009
|
return null;
|
|
4010
4010
|
const x = Pa(o.breakpoints), E = Object.keys(x);
|
|
4011
4011
|
let w = x;
|
|
4012
|
-
return Object.keys(
|
|
4013
|
-
const C = yi(g
|
|
4012
|
+
return Object.keys(h).forEach((g) => {
|
|
4013
|
+
const C = yi(h[g], o);
|
|
4014
4014
|
if (C != null)
|
|
4015
4015
|
if (typeof C == "object")
|
|
4016
|
-
if (s[
|
|
4017
|
-
w = lr(w, e(
|
|
4016
|
+
if (s[g])
|
|
4017
|
+
w = lr(w, e(g, C, o, s));
|
|
4018
4018
|
else {
|
|
4019
4019
|
const p = _e({
|
|
4020
4020
|
theme: o
|
|
4021
|
-
}, C, (
|
|
4022
|
-
[
|
|
4021
|
+
}, C, (T) => ({
|
|
4022
|
+
[g]: T
|
|
4023
4023
|
}));
|
|
4024
|
-
gi(p, C) ? w[
|
|
4024
|
+
gi(p, C) ? w[g] = r({
|
|
4025
4025
|
sx: C,
|
|
4026
4026
|
theme: o,
|
|
4027
4027
|
nested: !0
|
|
4028
4028
|
}) : w = lr(w, p);
|
|
4029
4029
|
}
|
|
4030
4030
|
else
|
|
4031
|
-
w = lr(w, e(
|
|
4031
|
+
w = lr(w, e(g, C, o, s));
|
|
4032
4032
|
}), !a && o.modularCssLayers ? {
|
|
4033
4033
|
"@layer sx": Wt(o, Kt(E, w))
|
|
4034
4034
|
} : Wt(o, Kt(E, w));
|
|
@@ -4186,15 +4186,15 @@ function Ei(e, r, t) {
|
|
|
4186
4186
|
for (var f = 0; f < s.length; f++)
|
|
4187
4187
|
Jt(s[f]) && (n += qr(a) + ":" + Gt(a, s[f]) + ";");
|
|
4188
4188
|
else {
|
|
4189
|
-
var
|
|
4189
|
+
var h = Cr(e, r, s);
|
|
4190
4190
|
switch (a) {
|
|
4191
4191
|
case "animation":
|
|
4192
4192
|
case "animationName": {
|
|
4193
|
-
n += qr(a) + ":" +
|
|
4193
|
+
n += qr(a) + ":" + h + ";";
|
|
4194
4194
|
break;
|
|
4195
4195
|
}
|
|
4196
4196
|
default:
|
|
4197
|
-
n += a + "{" +
|
|
4197
|
+
n += a + "{" + h + "}";
|
|
4198
4198
|
}
|
|
4199
4199
|
}
|
|
4200
4200
|
}
|
|
@@ -4219,9 +4219,9 @@ function Ci(e, r, t) {
|
|
|
4219
4219
|
o += f[u];
|
|
4220
4220
|
}
|
|
4221
4221
|
Yt.lastIndex = 0;
|
|
4222
|
-
for (var
|
|
4223
|
-
|
|
4224
|
-
var E = Ai(o) +
|
|
4222
|
+
for (var h = "", x; (x = Yt.exec(o)) !== null; )
|
|
4223
|
+
h += "-" + x[1];
|
|
4224
|
+
var E = Ai(o) + h;
|
|
4225
4225
|
return {
|
|
4226
4226
|
name: E,
|
|
4227
4227
|
styles: o,
|
|
@@ -4235,7 +4235,7 @@ function Ci(e, r, t) {
|
|
|
4235
4235
|
* This source code is licensed under the MIT license found in the
|
|
4236
4236
|
* LICENSE file in the root directory of this source tree.
|
|
4237
4237
|
*/
|
|
4238
|
-
function
|
|
4238
|
+
function Ti(e, r) {
|
|
4239
4239
|
const t = bo(e, r);
|
|
4240
4240
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
4241
4241
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
@@ -4243,7 +4243,7 @@ function ki(e, r) {
|
|
|
4243
4243
|
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
|
|
4244
4244
|
} : t;
|
|
4245
4245
|
}
|
|
4246
|
-
function
|
|
4246
|
+
function ki(e, r) {
|
|
4247
4247
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
|
|
4248
4248
|
}
|
|
4249
4249
|
const qt = [];
|
|
@@ -4286,23 +4286,23 @@ function Ri(e) {
|
|
|
4286
4286
|
function f(w) {
|
|
4287
4287
|
return `@media (max-width:${(typeof r[w] == "number" ? r[w] : w) - n / 100}${t})`;
|
|
4288
4288
|
}
|
|
4289
|
-
function
|
|
4290
|
-
const C = s.indexOf(
|
|
4291
|
-
return `@media (min-width:${typeof r[w] == "number" ? r[w] : w}${t}) and (max-width:${(C !== -1 && typeof r[s[C]] == "number" ? r[s[C]] :
|
|
4289
|
+
function h(w, g) {
|
|
4290
|
+
const C = s.indexOf(g);
|
|
4291
|
+
return `@media (min-width:${typeof r[w] == "number" ? r[w] : w}${t}) and (max-width:${(C !== -1 && typeof r[s[C]] == "number" ? r[s[C]] : g) - n / 100}${t})`;
|
|
4292
4292
|
}
|
|
4293
4293
|
function x(w) {
|
|
4294
|
-
return s.indexOf(w) + 1 < s.length ?
|
|
4294
|
+
return s.indexOf(w) + 1 < s.length ? h(w, s[s.indexOf(w) + 1]) : u(w);
|
|
4295
4295
|
}
|
|
4296
4296
|
function E(w) {
|
|
4297
|
-
const
|
|
4298
|
-
return
|
|
4297
|
+
const g = s.indexOf(w);
|
|
4298
|
+
return g === 0 ? u(s[1]) : g === s.length - 1 ? f(s[g]) : h(w, s[s.indexOf(w) + 1]).replace("@media", "@media not all and");
|
|
4299
4299
|
}
|
|
4300
4300
|
return {
|
|
4301
4301
|
keys: s,
|
|
4302
4302
|
values: a,
|
|
4303
4303
|
up: u,
|
|
4304
4304
|
down: f,
|
|
4305
|
-
between:
|
|
4305
|
+
between: h,
|
|
4306
4306
|
only: x,
|
|
4307
4307
|
not: E,
|
|
4308
4308
|
unit: t,
|
|
@@ -4344,7 +4344,7 @@ function Mn(e = {}, ...r) {
|
|
|
4344
4344
|
shape: a = {},
|
|
4345
4345
|
...s
|
|
4346
4346
|
} = e, u = Ri(t), f = $n(o);
|
|
4347
|
-
let
|
|
4347
|
+
let h = me({
|
|
4348
4348
|
breakpoints: u,
|
|
4349
4349
|
direction: "ltr",
|
|
4350
4350
|
components: {},
|
|
@@ -4359,15 +4359,15 @@ function Mn(e = {}, ...r) {
|
|
|
4359
4359
|
...a
|
|
4360
4360
|
}
|
|
4361
4361
|
}, s);
|
|
4362
|
-
return
|
|
4362
|
+
return h = Oa(h), h.applyStyles = Ii, h = r.reduce((x, E) => me(x, E), h), h.unstable_sxConfig = {
|
|
4363
4363
|
...Dr,
|
|
4364
4364
|
...s == null ? void 0 : s.unstable_sxConfig
|
|
4365
|
-
},
|
|
4365
|
+
}, h.unstable_sx = function(E) {
|
|
4366
4366
|
return er({
|
|
4367
4367
|
sx: E,
|
|
4368
4368
|
theme: this
|
|
4369
4369
|
});
|
|
4370
|
-
},
|
|
4370
|
+
}, h;
|
|
4371
4371
|
}
|
|
4372
4372
|
const Pi = {
|
|
4373
4373
|
active: "active",
|
|
@@ -4417,7 +4417,7 @@ function $i(e) {
|
|
|
4417
4417
|
}
|
|
4418
4418
|
}
|
|
4419
4419
|
}
|
|
4420
|
-
function
|
|
4420
|
+
function Nn(e) {
|
|
4421
4421
|
const {
|
|
4422
4422
|
variants: r,
|
|
4423
4423
|
...t
|
|
@@ -4434,13 +4434,13 @@ const Mi = Mn();
|
|
|
4434
4434
|
function Zr(e) {
|
|
4435
4435
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
4436
4436
|
}
|
|
4437
|
-
function
|
|
4437
|
+
function Ue(e, r) {
|
|
4438
4438
|
return r && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${r}{${String(e.styles)}}`), e;
|
|
4439
4439
|
}
|
|
4440
4440
|
function Li(e) {
|
|
4441
4441
|
return e ? (r, t) => t[e] : null;
|
|
4442
4442
|
}
|
|
4443
|
-
function
|
|
4443
|
+
function Ni(e, r, t) {
|
|
4444
4444
|
e.theme = Vi(e.theme) ? t : e.theme[r] || e.theme;
|
|
4445
4445
|
}
|
|
4446
4446
|
function br(e, r, t) {
|
|
@@ -4450,19 +4450,19 @@ function br(e, r, t) {
|
|
|
4450
4450
|
if (Array.isArray(n == null ? void 0 : n.variants)) {
|
|
4451
4451
|
let o;
|
|
4452
4452
|
if (n.isProcessed)
|
|
4453
|
-
o = t ?
|
|
4453
|
+
o = t ? Ue(n.style, t) : n.style;
|
|
4454
4454
|
else {
|
|
4455
4455
|
const {
|
|
4456
4456
|
variants: a,
|
|
4457
4457
|
...s
|
|
4458
4458
|
} = n;
|
|
4459
|
-
o = t ?
|
|
4459
|
+
o = t ? Ue(Ve(s), t) : s;
|
|
4460
4460
|
}
|
|
4461
|
-
return
|
|
4461
|
+
return Un(e, n.variants, [o], t);
|
|
4462
4462
|
}
|
|
4463
|
-
return n != null && n.isProcessed ? t ?
|
|
4463
|
+
return n != null && n.isProcessed ? t ? Ue(Ve(n.style), t) : n.style : t ? Ue(Ve(n), t) : n;
|
|
4464
4464
|
}
|
|
4465
|
-
function
|
|
4465
|
+
function Un(e, r, t = [], n = void 0) {
|
|
4466
4466
|
var a;
|
|
4467
4467
|
let o;
|
|
4468
4468
|
e: for (let s = 0; s < r.length; s += 1) {
|
|
@@ -4482,11 +4482,11 @@ function Nn(e, r, t = [], n = void 0) {
|
|
|
4482
4482
|
...e,
|
|
4483
4483
|
...e.ownerState,
|
|
4484
4484
|
ownerState: e.ownerState
|
|
4485
|
-
}), t.push(n ?
|
|
4485
|
+
}), t.push(n ? Ue(Ve(u.style(o)), n) : u.style(o))) : t.push(n ? Ue(Ve(u.style), n) : u.style);
|
|
4486
4486
|
}
|
|
4487
4487
|
return t;
|
|
4488
4488
|
}
|
|
4489
|
-
function
|
|
4489
|
+
function Ui(e = {}) {
|
|
4490
4490
|
const {
|
|
4491
4491
|
themeId: r,
|
|
4492
4492
|
defaultTheme: t = Mi,
|
|
@@ -4494,29 +4494,29 @@ function Ni(e = {}) {
|
|
|
4494
4494
|
slotShouldForwardProp: o = Zr
|
|
4495
4495
|
} = e;
|
|
4496
4496
|
function a(u) {
|
|
4497
|
-
|
|
4497
|
+
Ni(u, r, t);
|
|
4498
4498
|
}
|
|
4499
4499
|
return (u, f = {}) => {
|
|
4500
|
-
|
|
4500
|
+
ki(u, (L) => L.filter((W) => W !== er));
|
|
4501
4501
|
const {
|
|
4502
|
-
name:
|
|
4502
|
+
name: h,
|
|
4503
4503
|
slot: x,
|
|
4504
4504
|
skipVariantsResolver: E,
|
|
4505
4505
|
skipSx: w,
|
|
4506
4506
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
4507
4507
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4508
|
-
overridesResolver:
|
|
4508
|
+
overridesResolver: g = Li(Dn(x)),
|
|
4509
4509
|
...C
|
|
4510
|
-
} = f, p =
|
|
4510
|
+
} = f, p = h && h.startsWith("Mui") || x ? "components" : "custom", T = E !== void 0 ? E : (
|
|
4511
4511
|
// TODO v6: remove `Root` in the next major release
|
|
4512
4512
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4513
4513
|
x && x !== "Root" && x !== "root" || !1
|
|
4514
|
-
),
|
|
4514
|
+
), N = w || !1;
|
|
4515
4515
|
let V = Zr;
|
|
4516
4516
|
x === "Root" || x === "root" ? V = n : x ? V = o : Fi(u) && (V = void 0);
|
|
4517
|
-
const B =
|
|
4517
|
+
const B = Ti(u, {
|
|
4518
4518
|
shouldForwardProp: V,
|
|
4519
|
-
label: Bi(
|
|
4519
|
+
label: Bi(h, x),
|
|
4520
4520
|
...C
|
|
4521
4521
|
}), $ = (L) => {
|
|
4522
4522
|
if (L.__emotion_real === L)
|
|
@@ -4525,35 +4525,35 @@ function Ni(e = {}) {
|
|
|
4525
4525
|
return function(F) {
|
|
4526
4526
|
return br(F, L, F.theme.modularCssLayers ? p : void 0);
|
|
4527
4527
|
};
|
|
4528
|
-
if (
|
|
4529
|
-
const W =
|
|
4528
|
+
if (Te(L)) {
|
|
4529
|
+
const W = Nn(L);
|
|
4530
4530
|
return function(X) {
|
|
4531
|
-
return W.variants ? br(X, W, X.theme.modularCssLayers ? p : void 0) : X.theme.modularCssLayers ?
|
|
4531
|
+
return W.variants ? br(X, W, X.theme.modularCssLayers ? p : void 0) : X.theme.modularCssLayers ? Ue(W.style, p) : W.style;
|
|
4532
4532
|
};
|
|
4533
4533
|
}
|
|
4534
4534
|
return L;
|
|
4535
4535
|
}, _ = (...L) => {
|
|
4536
4536
|
const W = [], F = L.map($), X = [];
|
|
4537
|
-
if (W.push(a),
|
|
4537
|
+
if (W.push(a), h && g && X.push(function(M) {
|
|
4538
4538
|
var J, ne;
|
|
4539
|
-
const
|
|
4540
|
-
if (!
|
|
4539
|
+
const U = (ne = (J = M.theme.components) == null ? void 0 : J[h]) == null ? void 0 : ne.styleOverrides;
|
|
4540
|
+
if (!U)
|
|
4541
4541
|
return null;
|
|
4542
4542
|
const D = {};
|
|
4543
|
-
for (const ue in
|
|
4544
|
-
D[ue] = br(M,
|
|
4545
|
-
return
|
|
4546
|
-
}),
|
|
4543
|
+
for (const ue in U)
|
|
4544
|
+
D[ue] = br(M, U[ue], M.theme.modularCssLayers ? "theme" : void 0);
|
|
4545
|
+
return g(M, D);
|
|
4546
|
+
}), h && !T && X.push(function(M) {
|
|
4547
4547
|
var D, J;
|
|
4548
|
-
const O = M.theme,
|
|
4549
|
-
return
|
|
4550
|
-
}),
|
|
4548
|
+
const O = M.theme, U = (J = (D = O == null ? void 0 : O.components) == null ? void 0 : D[h]) == null ? void 0 : J.variants;
|
|
4549
|
+
return U ? Un(M, U, [], M.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
4550
|
+
}), N || X.push(er), Array.isArray(F[0])) {
|
|
4551
4551
|
const l = F.shift(), M = new Array(W.length).fill(""), O = new Array(X.length).fill("");
|
|
4552
|
-
let
|
|
4553
|
-
|
|
4552
|
+
let U;
|
|
4553
|
+
U = [...M, ...l, ...O], U.raw = [...M, ...l.raw, ...O], W.unshift(U);
|
|
4554
4554
|
}
|
|
4555
4555
|
const se = [...W, ...F, ...X], H = B(...se);
|
|
4556
|
-
return u.muiName && (H.muiName = u.muiName), process.env.NODE_ENV !== "production" && (H.displayName = Di(
|
|
4556
|
+
return u.muiName && (H.muiName = u.muiName), process.env.NODE_ENV !== "production" && (H.displayName = Di(h, x, u)), H;
|
|
4557
4557
|
};
|
|
4558
4558
|
return B.withConfig && (_.withConfig = B.withConfig), _;
|
|
4559
4559
|
};
|
|
@@ -4603,8 +4603,8 @@ function ut(e, r, t = !1) {
|
|
|
4603
4603
|
};
|
|
4604
4604
|
for (const f in s)
|
|
4605
4605
|
if (Object.prototype.hasOwnProperty.call(s, f)) {
|
|
4606
|
-
const
|
|
4607
|
-
n[a][
|
|
4606
|
+
const h = f;
|
|
4607
|
+
n[a][h] = ut(s[h], u[h], t);
|
|
4608
4608
|
}
|
|
4609
4609
|
}
|
|
4610
4610
|
} else a === "className" && t && r.className ? n.className = On(e == null ? void 0 : e.className, r == null ? void 0 : r.className) : a === "style" && t && r.style ? n.style = {
|
|
@@ -4672,7 +4672,7 @@ function Bn(e) {
|
|
|
4672
4672
|
e = Me(e);
|
|
4673
4673
|
const {
|
|
4674
4674
|
values: r
|
|
4675
|
-
} = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), s = (
|
|
4675
|
+
} = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), s = (h, x = (h + t / 30) % 12) => o - a * Math.max(Math.min(x - 3, 9 - x, 1), -1);
|
|
4676
4676
|
let u = "rgb";
|
|
4677
4677
|
const f = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
4678
4678
|
return e.type === "hsla" && (u += "a", f.push(r[3])), Br({
|
|
@@ -4692,7 +4692,7 @@ function Xt(e, r) {
|
|
|
4692
4692
|
function Vn(e, r) {
|
|
4693
4693
|
return e = Me(e), r = St(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Br(e);
|
|
4694
4694
|
}
|
|
4695
|
-
function
|
|
4695
|
+
function Ne(e, r, t) {
|
|
4696
4696
|
try {
|
|
4697
4697
|
return Vn(e, r);
|
|
4698
4698
|
} catch {
|
|
@@ -4775,7 +4775,7 @@ function Yi(e) {
|
|
|
4775
4775
|
let r, t;
|
|
4776
4776
|
return function(o) {
|
|
4777
4777
|
let a = r;
|
|
4778
|
-
return (a === void 0 || o.theme !== t) && (en.theme = o.theme, a =
|
|
4778
|
+
return (a === void 0 || o.theme !== t) && (en.theme = o.theme, a = Nn(e(en)), r = a, t = o.theme), a;
|
|
4779
4779
|
};
|
|
4780
4780
|
}
|
|
4781
4781
|
function qi(e = "") {
|
|
@@ -4807,12 +4807,12 @@ function Xr(e, r) {
|
|
|
4807
4807
|
} = r || {}, o = {}, a = {}, s = {};
|
|
4808
4808
|
return Zi(
|
|
4809
4809
|
e,
|
|
4810
|
-
(u, f,
|
|
4810
|
+
(u, f, h) => {
|
|
4811
4811
|
if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
|
|
4812
4812
|
const x = `--${t ? `${t}-` : ""}${u.join("-")}`, E = Xi(u, f);
|
|
4813
4813
|
Object.assign(o, {
|
|
4814
4814
|
[x]: E
|
|
4815
|
-
}), rn(a, u, `var(${x})`,
|
|
4815
|
+
}), rn(a, u, `var(${x})`, h), rn(s, u, `var(${x}, ${E})`, h);
|
|
4816
4816
|
}
|
|
4817
4817
|
},
|
|
4818
4818
|
(u) => u[0] === "vars"
|
|
@@ -4825,7 +4825,7 @@ function Xr(e, r) {
|
|
|
4825
4825
|
}
|
|
4826
4826
|
function es(e, r = {}) {
|
|
4827
4827
|
const {
|
|
4828
|
-
getSelector: t =
|
|
4828
|
+
getSelector: t = N,
|
|
4829
4829
|
disableCssColorScheme: n,
|
|
4830
4830
|
colorSchemeSelector: o,
|
|
4831
4831
|
enableContrastVars: a
|
|
@@ -4833,24 +4833,24 @@ function es(e, r = {}) {
|
|
|
4833
4833
|
colorSchemes: s = {},
|
|
4834
4834
|
components: u,
|
|
4835
4835
|
defaultColorScheme: f = "light",
|
|
4836
|
-
...
|
|
4836
|
+
...h
|
|
4837
4837
|
} = e, {
|
|
4838
4838
|
vars: x,
|
|
4839
4839
|
css: E,
|
|
4840
4840
|
varsWithDefaults: w
|
|
4841
|
-
} = Xr(
|
|
4842
|
-
let
|
|
4841
|
+
} = Xr(h, r);
|
|
4842
|
+
let g = w;
|
|
4843
4843
|
const C = {}, {
|
|
4844
4844
|
[f]: p,
|
|
4845
|
-
...
|
|
4845
|
+
...T
|
|
4846
4846
|
} = s;
|
|
4847
|
-
if (Object.entries(
|
|
4847
|
+
if (Object.entries(T || {}).forEach(([$, _]) => {
|
|
4848
4848
|
const {
|
|
4849
4849
|
vars: L,
|
|
4850
4850
|
css: W,
|
|
4851
4851
|
varsWithDefaults: F
|
|
4852
4852
|
} = Xr(_, r);
|
|
4853
|
-
|
|
4853
|
+
g = me(g, F), C[$] = {
|
|
4854
4854
|
css: W,
|
|
4855
4855
|
vars: L
|
|
4856
4856
|
};
|
|
@@ -4860,12 +4860,12 @@ function es(e, r = {}) {
|
|
|
4860
4860
|
vars: _,
|
|
4861
4861
|
varsWithDefaults: L
|
|
4862
4862
|
} = Xr(p, r);
|
|
4863
|
-
|
|
4863
|
+
g = me(g, L), C[f] = {
|
|
4864
4864
|
css: $,
|
|
4865
4865
|
vars: _
|
|
4866
4866
|
};
|
|
4867
4867
|
}
|
|
4868
|
-
function
|
|
4868
|
+
function N($, _) {
|
|
4869
4869
|
var W, F;
|
|
4870
4870
|
let L = o;
|
|
4871
4871
|
if (o === "class" && (L = ".%s"), o === "data" && (L = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (L = `[${o}="%s"]`), $) {
|
|
@@ -4881,7 +4881,7 @@ function es(e, r = {}) {
|
|
|
4881
4881
|
return ":root";
|
|
4882
4882
|
}
|
|
4883
4883
|
return {
|
|
4884
|
-
vars:
|
|
4884
|
+
vars: g,
|
|
4885
4885
|
generateThemeVars: () => {
|
|
4886
4886
|
let $ = {
|
|
4887
4887
|
...x
|
|
@@ -4925,8 +4925,8 @@ function es(e, r = {}) {
|
|
|
4925
4925
|
return Object.entries(F).forEach(([H, {
|
|
4926
4926
|
css: l
|
|
4927
4927
|
}]) => {
|
|
4928
|
-
var
|
|
4929
|
-
const M = (D = (
|
|
4928
|
+
var U, D;
|
|
4929
|
+
const M = (D = (U = s[H]) == null ? void 0 : U.palette) == null ? void 0 : D.mode, O = !n && M ? {
|
|
4930
4930
|
colorScheme: M,
|
|
4931
4931
|
...l
|
|
4932
4932
|
} : {
|
|
@@ -5164,33 +5164,33 @@ function xt(e) {
|
|
|
5164
5164
|
tonalOffset: n = 0.2,
|
|
5165
5165
|
colorSpace: o,
|
|
5166
5166
|
...a
|
|
5167
|
-
} = e, s = e.primary || ns(r), u = e.secondary || os(r), f = e.error || as(r),
|
|
5168
|
-
function w(
|
|
5167
|
+
} = e, s = e.primary || ns(r), u = e.secondary || os(r), f = e.error || as(r), h = e.info || is(r), x = e.success || ss(r), E = e.warning || cs(r);
|
|
5168
|
+
function w(T) {
|
|
5169
5169
|
if (o)
|
|
5170
|
-
return ls(
|
|
5171
|
-
const
|
|
5170
|
+
return ls(T);
|
|
5171
|
+
const N = Xt(T, ft.text.primary) >= t ? ft.text.primary : zn.text.primary;
|
|
5172
5172
|
if (process.env.NODE_ENV !== "production") {
|
|
5173
|
-
const V = Xt(
|
|
5174
|
-
V < 3 && console.error([`MUI: The contrast ratio of ${V}:1 for ${
|
|
5173
|
+
const V = Xt(T, N);
|
|
5174
|
+
V < 3 && console.error([`MUI: The contrast ratio of ${V}:1 for ${N} on ${T}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
5175
5175
|
`));
|
|
5176
5176
|
}
|
|
5177
|
-
return
|
|
5177
|
+
return N;
|
|
5178
5178
|
}
|
|
5179
|
-
const
|
|
5180
|
-
color:
|
|
5181
|
-
name:
|
|
5179
|
+
const g = ({
|
|
5180
|
+
color: T,
|
|
5181
|
+
name: N,
|
|
5182
5182
|
mainShade: V = 500,
|
|
5183
5183
|
lightShade: B = 300,
|
|
5184
5184
|
darkShade: $ = 700
|
|
5185
5185
|
}) => {
|
|
5186
|
-
if (
|
|
5187
|
-
...
|
|
5188
|
-
}, !
|
|
5189
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
5190
|
-
The color object needs to have a \`main\` property or a \`${V}\` property.` : Fe(11,
|
|
5191
|
-
if (typeof
|
|
5192
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
5193
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
5186
|
+
if (T = {
|
|
5187
|
+
...T
|
|
5188
|
+
}, !T.main && T[V] && (T.main = T[V]), !T.hasOwnProperty("main"))
|
|
5189
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${N ? ` (${N})` : ""} provided to augmentColor(color) is invalid.
|
|
5190
|
+
The color object needs to have a \`main\` property or a \`${V}\` property.` : Fe(11, N ? ` (${N})` : "", V));
|
|
5191
|
+
if (typeof T.main != "string")
|
|
5192
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${N ? ` (${N})` : ""} provided to augmentColor(color) is invalid.
|
|
5193
|
+
\`color.main\` should be a string, but \`${JSON.stringify(T.main)}\` was provided instead.
|
|
5194
5194
|
|
|
5195
5195
|
Did you intend to use one of the following approaches?
|
|
5196
5196
|
|
|
@@ -5202,8 +5202,8 @@ const theme1 = createTheme({ palette: {
|
|
|
5202
5202
|
|
|
5203
5203
|
const theme2 = createTheme({ palette: {
|
|
5204
5204
|
primary: { main: green[500] },
|
|
5205
|
-
} });` : Fe(12,
|
|
5206
|
-
return o ? (nn(o,
|
|
5205
|
+
} });` : Fe(12, N ? ` (${N})` : "", JSON.stringify(T.main)));
|
|
5206
|
+
return o ? (nn(o, T, "light", B, n), nn(o, T, "dark", $, n)) : (tn(T, "light", B, n), tn(T, "dark", $, n)), T.contrastText || (T.contrastText = w(T.main)), T;
|
|
5207
5207
|
};
|
|
5208
5208
|
let C;
|
|
5209
5209
|
return r === "light" ? C = Fn() : r === "dark" && (C = Wn()), process.env.NODE_ENV !== "production" && (C || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), me({
|
|
@@ -5215,12 +5215,12 @@ const theme2 = createTheme({ palette: {
|
|
|
5215
5215
|
// The palette mode, can be light or dark.
|
|
5216
5216
|
mode: r,
|
|
5217
5217
|
// The colors used to represent primary interface elements for a user.
|
|
5218
|
-
primary:
|
|
5218
|
+
primary: g({
|
|
5219
5219
|
color: s,
|
|
5220
5220
|
name: "primary"
|
|
5221
5221
|
}),
|
|
5222
5222
|
// The colors used to represent secondary interface elements for a user.
|
|
5223
|
-
secondary:
|
|
5223
|
+
secondary: g({
|
|
5224
5224
|
color: u,
|
|
5225
5225
|
name: "secondary",
|
|
5226
5226
|
mainShade: "A400",
|
|
@@ -5228,22 +5228,22 @@ const theme2 = createTheme({ palette: {
|
|
|
5228
5228
|
darkShade: "A700"
|
|
5229
5229
|
}),
|
|
5230
5230
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
5231
|
-
error:
|
|
5231
|
+
error: g({
|
|
5232
5232
|
color: f,
|
|
5233
5233
|
name: "error"
|
|
5234
5234
|
}),
|
|
5235
5235
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
5236
|
-
warning:
|
|
5236
|
+
warning: g({
|
|
5237
5237
|
color: E,
|
|
5238
5238
|
name: "warning"
|
|
5239
5239
|
}),
|
|
5240
5240
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
5241
|
-
info:
|
|
5242
|
-
color:
|
|
5241
|
+
info: g({
|
|
5242
|
+
color: h,
|
|
5243
5243
|
name: "info"
|
|
5244
5244
|
}),
|
|
5245
5245
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
5246
|
-
success:
|
|
5246
|
+
success: g({
|
|
5247
5247
|
color: x,
|
|
5248
5248
|
name: "success"
|
|
5249
5249
|
}),
|
|
@@ -5255,7 +5255,7 @@ const theme2 = createTheme({ palette: {
|
|
|
5255
5255
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
5256
5256
|
getContrastText: w,
|
|
5257
5257
|
// Generate a rich color object.
|
|
5258
|
-
augmentColor:
|
|
5258
|
+
augmentColor: g,
|
|
5259
5259
|
// Used by the functions below to shift a color's luminance by approximately
|
|
5260
5260
|
// two indexes within its tonal palette.
|
|
5261
5261
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
@@ -5307,24 +5307,24 @@ function ps(e, r) {
|
|
|
5307
5307
|
// 16px is the default font-size used by browsers.
|
|
5308
5308
|
htmlFontSize: f = 16,
|
|
5309
5309
|
// Apply the CSS properties to all the variants.
|
|
5310
|
-
allVariants:
|
|
5310
|
+
allVariants: h,
|
|
5311
5311
|
pxToRem: x,
|
|
5312
5312
|
...E
|
|
5313
5313
|
} = typeof r == "function" ? r(e) : r;
|
|
5314
5314
|
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
5315
|
-
const w = n / 14,
|
|
5315
|
+
const w = n / 14, g = x || ((T) => `${T / f * w}rem`), C = (T, N, V, B, $) => ({
|
|
5316
5316
|
fontFamily: t,
|
|
5317
|
-
fontWeight:
|
|
5318
|
-
fontSize:
|
|
5317
|
+
fontWeight: T,
|
|
5318
|
+
fontSize: g(N),
|
|
5319
5319
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
5320
5320
|
lineHeight: V,
|
|
5321
5321
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
5322
5322
|
// across font-families can cause issues with the kerning.
|
|
5323
5323
|
...t === an ? {
|
|
5324
|
-
letterSpacing: `${fs(B /
|
|
5324
|
+
letterSpacing: `${fs(B / N)}em`
|
|
5325
5325
|
} : {},
|
|
5326
5326
|
...$,
|
|
5327
|
-
...
|
|
5327
|
+
...h
|
|
5328
5328
|
}), p = {
|
|
5329
5329
|
h1: C(o, 96, 1.167, -1.5),
|
|
5330
5330
|
h2: C(o, 60, 1.2, -0.5),
|
|
@@ -5350,7 +5350,7 @@ function ps(e, r) {
|
|
|
5350
5350
|
};
|
|
5351
5351
|
return me({
|
|
5352
5352
|
htmlFontSize: f,
|
|
5353
|
-
pxToRem:
|
|
5353
|
+
pxToRem: g,
|
|
5354
5354
|
fontFamily: t,
|
|
5355
5355
|
fontSize: n,
|
|
5356
5356
|
fontWeightLight: o,
|
|
@@ -5414,12 +5414,12 @@ function Ss(e) {
|
|
|
5414
5414
|
duration: s = t.standard,
|
|
5415
5415
|
easing: u = r.easeInOut,
|
|
5416
5416
|
delay: f = 0,
|
|
5417
|
-
...
|
|
5417
|
+
...h
|
|
5418
5418
|
} = a;
|
|
5419
5419
|
if (process.env.NODE_ENV !== "production") {
|
|
5420
5420
|
const x = (w) => typeof w == "string", E = (w) => !Number.isNaN(parseFloat(w));
|
|
5421
5421
|
!x(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !E(s) && !x(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), x(u) || console.error('MUI: Argument "easing" must be a string.'), !E(f) && !x(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
5422
|
-
`)), Object.keys(
|
|
5422
|
+
`)), Object.keys(h).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(h).join(",")}].`);
|
|
5423
5423
|
}
|
|
5424
5424
|
return (Array.isArray(o) ? o : [o]).map((x) => `${x} ${typeof s == "string" ? s : sn(s)} ${u} ${typeof f == "string" ? f : sn(f)}`).join(",");
|
|
5425
5425
|
},
|
|
@@ -5439,7 +5439,7 @@ const xs = {
|
|
|
5439
5439
|
tooltip: 1500
|
|
5440
5440
|
};
|
|
5441
5441
|
function ws(e) {
|
|
5442
|
-
return
|
|
5442
|
+
return Te(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
5443
5443
|
}
|
|
5444
5444
|
function Hn(e = {}) {
|
|
5445
5445
|
const r = {
|
|
@@ -5449,7 +5449,7 @@ function Hn(e = {}) {
|
|
|
5449
5449
|
const o = Object.entries(n);
|
|
5450
5450
|
for (let a = 0; a < o.length; a++) {
|
|
5451
5451
|
const [s, u] = o[a];
|
|
5452
|
-
!ws(u) || s.startsWith("unstable_") ? delete n[s] :
|
|
5452
|
+
!ws(u) || s.startsWith("unstable_") ? delete n[s] : Te(u) && (n[s] = {
|
|
5453
5453
|
...u
|
|
5454
5454
|
}, t(n[s]));
|
|
5455
5455
|
}
|
|
@@ -5502,7 +5502,7 @@ function pt(e = {}, ...r) {
|
|
|
5502
5502
|
transitions: s = {},
|
|
5503
5503
|
typography: u = {},
|
|
5504
5504
|
shape: f,
|
|
5505
|
-
colorSpace:
|
|
5505
|
+
colorSpace: h,
|
|
5506
5506
|
...x
|
|
5507
5507
|
} = e;
|
|
5508
5508
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
@@ -5511,9 +5511,9 @@ function pt(e = {}, ...r) {
|
|
|
5511
5511
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Fe(20));
|
|
5512
5512
|
const E = xt({
|
|
5513
5513
|
...a,
|
|
5514
|
-
colorSpace:
|
|
5514
|
+
colorSpace: h
|
|
5515
5515
|
}), w = Mn(e);
|
|
5516
|
-
let
|
|
5516
|
+
let g = me(w, {
|
|
5517
5517
|
mixins: ds(w.breakpoints, n),
|
|
5518
5518
|
palette: E,
|
|
5519
5519
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
@@ -5524,48 +5524,48 @@ function pt(e = {}, ...r) {
|
|
|
5524
5524
|
...xs
|
|
5525
5525
|
}
|
|
5526
5526
|
});
|
|
5527
|
-
if (
|
|
5528
|
-
const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (
|
|
5527
|
+
if (g = me(g, x), g = r.reduce((C, p) => me(C, p), g), process.env.NODE_ENV !== "production") {
|
|
5528
|
+
const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (T, N) => {
|
|
5529
5529
|
let V;
|
|
5530
|
-
for (V in
|
|
5531
|
-
const B =
|
|
5530
|
+
for (V in T) {
|
|
5531
|
+
const B = T[V];
|
|
5532
5532
|
if (C.includes(V) && Object.keys(B).length > 0) {
|
|
5533
5533
|
if (process.env.NODE_ENV !== "production") {
|
|
5534
5534
|
const $ = vt("", V);
|
|
5535
|
-
console.error([`MUI: The \`${
|
|
5535
|
+
console.error([`MUI: The \`${N}\` component increases the CSS specificity of the \`${V}\` internal state.`, "You can not override it like this: ", JSON.stringify(T, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
|
|
5536
5536
|
root: {
|
|
5537
5537
|
[`&.${$}`]: B
|
|
5538
5538
|
}
|
|
5539
5539
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
5540
5540
|
`));
|
|
5541
5541
|
}
|
|
5542
|
-
|
|
5542
|
+
T[V] = {};
|
|
5543
5543
|
}
|
|
5544
5544
|
}
|
|
5545
5545
|
};
|
|
5546
|
-
Object.keys(
|
|
5547
|
-
const
|
|
5548
|
-
|
|
5546
|
+
Object.keys(g.components).forEach((T) => {
|
|
5547
|
+
const N = g.components[T].styleOverrides;
|
|
5548
|
+
N && T.startsWith("Mui") && p(N, T);
|
|
5549
5549
|
});
|
|
5550
5550
|
}
|
|
5551
|
-
return
|
|
5551
|
+
return g.unstable_sxConfig = {
|
|
5552
5552
|
...Dr,
|
|
5553
5553
|
...x == null ? void 0 : x.unstable_sxConfig
|
|
5554
|
-
},
|
|
5554
|
+
}, g.unstable_sx = function(p) {
|
|
5555
5555
|
return er({
|
|
5556
5556
|
sx: p,
|
|
5557
5557
|
theme: this
|
|
5558
5558
|
});
|
|
5559
|
-
},
|
|
5559
|
+
}, g.toRuntimeSource = Hn, Cs(g), g;
|
|
5560
5560
|
}
|
|
5561
|
-
function
|
|
5561
|
+
function Ts(e) {
|
|
5562
5562
|
let r;
|
|
5563
5563
|
return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
|
|
5564
5564
|
}
|
|
5565
|
-
const
|
|
5565
|
+
const ks = [...Array(25)].map((e, r) => {
|
|
5566
5566
|
if (r === 0)
|
|
5567
5567
|
return "none";
|
|
5568
|
-
const t =
|
|
5568
|
+
const t = Ts(r);
|
|
5569
5569
|
return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
|
|
5570
5570
|
});
|
|
5571
5571
|
function Kn(e) {
|
|
@@ -5577,7 +5577,7 @@ function Kn(e) {
|
|
|
5577
5577
|
};
|
|
5578
5578
|
}
|
|
5579
5579
|
function Qn(e) {
|
|
5580
|
-
return e === "dark" ?
|
|
5580
|
+
return e === "dark" ? ks : [];
|
|
5581
5581
|
}
|
|
5582
5582
|
function _s(e) {
|
|
5583
5583
|
const {
|
|
@@ -5717,15 +5717,15 @@ function Ms(e = {}, ...r) {
|
|
|
5717
5717
|
nativeColor: s = !1,
|
|
5718
5718
|
shouldSkipGeneratingVar: u = Rs,
|
|
5719
5719
|
colorSchemeSelector: f = t.light && t.dark ? "media" : void 0,
|
|
5720
|
-
rootSelector:
|
|
5720
|
+
rootSelector: h = ":root",
|
|
5721
5721
|
...x
|
|
5722
|
-
} = e, E = Object.keys(t)[0], w = n || (t.light && E !== "light" ? "light" : E),
|
|
5722
|
+
} = e, E = Object.keys(t)[0], w = n || (t.light && E !== "light" ? "light" : E), g = $s(a), {
|
|
5723
5723
|
[w]: C,
|
|
5724
5724
|
light: p,
|
|
5725
|
-
dark:
|
|
5726
|
-
...
|
|
5725
|
+
dark: T,
|
|
5726
|
+
...N
|
|
5727
5727
|
} = t, V = {
|
|
5728
|
-
...
|
|
5728
|
+
...N
|
|
5729
5729
|
};
|
|
5730
5730
|
let B = C;
|
|
5731
5731
|
if ((w === "dark" && !("dark" in t) || w === "light" && !("light" in t)) && (B = !0), !B)
|
|
@@ -5733,14 +5733,14 @@ function Ms(e = {}, ...r) {
|
|
|
5733
5733
|
let $;
|
|
5734
5734
|
s && ($ = "oklch");
|
|
5735
5735
|
const _ = et($, V, B, x, w);
|
|
5736
|
-
p && !V.light && et($, V, p, void 0, "light"),
|
|
5736
|
+
p && !V.light && et($, V, p, void 0, "light"), T && !V.dark && et($, V, T, void 0, "dark");
|
|
5737
5737
|
let L = {
|
|
5738
5738
|
defaultColorScheme: w,
|
|
5739
5739
|
..._,
|
|
5740
5740
|
cssVarPrefix: a,
|
|
5741
5741
|
colorSchemeSelector: f,
|
|
5742
|
-
rootSelector:
|
|
5743
|
-
getCssVar:
|
|
5742
|
+
rootSelector: h,
|
|
5743
|
+
getCssVar: g,
|
|
5744
5744
|
colorSchemes: V,
|
|
5745
5745
|
font: {
|
|
5746
5746
|
...us(_.typography),
|
|
@@ -5749,31 +5749,31 @@ function Ms(e = {}, ...r) {
|
|
|
5749
5749
|
spacing: js(x.spacing)
|
|
5750
5750
|
};
|
|
5751
5751
|
Object.keys(L.colorSchemes).forEach((H) => {
|
|
5752
|
-
const l = L.colorSchemes[H].palette, M = (
|
|
5753
|
-
const D =
|
|
5754
|
-
return
|
|
5752
|
+
const l = L.colorSchemes[H].palette, M = (U) => {
|
|
5753
|
+
const D = U.split("-"), J = D[1], ne = D[2];
|
|
5754
|
+
return g(U, l[J][ne]);
|
|
5755
5755
|
};
|
|
5756
5756
|
l.mode === "light" && (S(l.common, "background", "#fff"), S(l.common, "onBackground", "#000")), l.mode === "dark" && (S(l.common, "background", "#000"), S(l.common, "onBackground", "#fff"));
|
|
5757
|
-
function O(
|
|
5757
|
+
function O(U, D, J) {
|
|
5758
5758
|
if ($) {
|
|
5759
5759
|
let ne;
|
|
5760
|
-
return
|
|
5760
|
+
return U === Ne && (ne = `transparent ${((1 - J) * 100).toFixed(0)}%`), U === q && (ne = `#000 ${(J * 100).toFixed(0)}%`), U === Z && (ne = `#fff ${(J * 100).toFixed(0)}%`), `color-mix(in ${$}, ${D}, ${ne})`;
|
|
5761
5761
|
}
|
|
5762
|
-
return
|
|
5762
|
+
return U(D, J);
|
|
5763
5763
|
}
|
|
5764
5764
|
if (Ps(l, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), l.mode === "light") {
|
|
5765
|
-
S(l.Alert, "errorColor", O(q, s ?
|
|
5766
|
-
const
|
|
5767
|
-
S(l.SnackbarContent, "bg",
|
|
5765
|
+
S(l.Alert, "errorColor", O(q, s ? g("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(q, s ? g("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(q, s ? g("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(q, s ? g("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-main")), S(l.Alert, "infoFilledBg", M("palette-info-main")), S(l.Alert, "successFilledBg", M("palette-success-main")), S(l.Alert, "warningFilledBg", M("palette-warning-main")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.main))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.main))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.main))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.main))), S(l.Alert, "errorStandardBg", O(Z, s ? g("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(Z, s ? g("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(Z, s ? g("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(Z, s ? g("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-100")), S(l.Avatar, "defaultBg", M("palette-grey-400")), S(l.Button, "inheritContainedBg", M("palette-grey-300")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-A100")), S(l.Chip, "defaultBorder", M("palette-grey-400")), S(l.Chip, "defaultAvatarColor", M("palette-grey-700")), S(l.Chip, "defaultIconColor", M("palette-grey-700")), S(l.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), S(l.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), S(l.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), S(l.LinearProgress, "primaryBg", O(Z, s ? g("palette-primary-main") : l.primary.main, 0.62)), S(l.LinearProgress, "secondaryBg", O(Z, s ? g("palette-secondary-main") : l.secondary.main, 0.62)), S(l.LinearProgress, "errorBg", O(Z, s ? g("palette-error-main") : l.error.main, 0.62)), S(l.LinearProgress, "infoBg", O(Z, s ? g("palette-info-main") : l.info.main, 0.62)), S(l.LinearProgress, "successBg", O(Z, s ? g("palette-success-main") : l.success.main, 0.62)), S(l.LinearProgress, "warningBg", O(Z, s ? g("palette-warning-light") : l.warning.main, 0.62)), S(l.Skeleton, "bg", $ ? O(Ne, s ? g("palette-text-primary") : l.text.primary, 0.11) : `rgba(${M("palette-text-primaryChannel")} / 0.11)`), S(l.Slider, "primaryTrack", O(Z, s ? g("palette-primary-main") : l.primary.main, 0.62)), S(l.Slider, "secondaryTrack", O(Z, s ? g("palette-secondary-main") : l.secondary.main, 0.62)), S(l.Slider, "errorTrack", O(Z, s ? g("palette-error-main") : l.error.main, 0.62)), S(l.Slider, "infoTrack", O(Z, s ? g("palette-info-main") : l.info.main, 0.62)), S(l.Slider, "successTrack", O(Z, s ? g("palette-success-main") : l.success.main, 0.62)), S(l.Slider, "warningTrack", O(Z, s ? g("palette-warning-main") : l.warning.main, 0.62));
|
|
5766
|
+
const U = $ ? O(q, s ? g("palette-background-default") : l.background.default, 0.6825) : yr(l.background.default, 0.8);
|
|
5767
|
+
S(l.SnackbarContent, "bg", U), S(l.SnackbarContent, "color", Ae(() => $ ? ft.text.primary : l.getContrastText(U))), S(l.SpeedDialAction, "fabHoverBg", yr(l.background.paper, 0.15)), S(l.StepConnector, "border", M("palette-grey-400")), S(l.StepContent, "border", M("palette-grey-400")), S(l.Switch, "defaultColor", M("palette-common-white")), S(l.Switch, "defaultDisabledColor", M("palette-grey-100")), S(l.Switch, "primaryDisabledColor", O(Z, s ? g("palette-primary-main") : l.primary.main, 0.62)), S(l.Switch, "secondaryDisabledColor", O(Z, s ? g("palette-secondary-main") : l.secondary.main, 0.62)), S(l.Switch, "errorDisabledColor", O(Z, s ? g("palette-error-main") : l.error.main, 0.62)), S(l.Switch, "infoDisabledColor", O(Z, s ? g("palette-info-main") : l.info.main, 0.62)), S(l.Switch, "successDisabledColor", O(Z, s ? g("palette-success-main") : l.success.main, 0.62)), S(l.Switch, "warningDisabledColor", O(Z, s ? g("palette-warning-main") : l.warning.main, 0.62)), S(l.TableCell, "border", O(Z, Ne(s ? g("palette-divider") : l.divider, 1), 0.88)), S(l.Tooltip, "bg", O(Ne, s ? g("palette-grey-700") : l.grey[700], 0.92));
|
|
5768
5768
|
}
|
|
5769
5769
|
if (l.mode === "dark") {
|
|
5770
|
-
S(l.Alert, "errorColor", O(Z, s ?
|
|
5771
|
-
const
|
|
5772
|
-
S(l.SnackbarContent, "bg",
|
|
5770
|
+
S(l.Alert, "errorColor", O(Z, s ? g("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(Z, s ? g("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(Z, s ? g("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(Z, s ? g("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-dark")), S(l.Alert, "infoFilledBg", M("palette-info-dark")), S(l.Alert, "successFilledBg", M("palette-success-dark")), S(l.Alert, "warningFilledBg", M("palette-warning-dark")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.dark))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.dark))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.dark))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.dark))), S(l.Alert, "errorStandardBg", O(q, s ? g("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(q, s ? g("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(q, s ? g("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(q, s ? g("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-900")), S(l.AppBar, "darkBg", M("palette-background-paper")), S(l.AppBar, "darkColor", M("palette-text-primary")), S(l.Avatar, "defaultBg", M("palette-grey-600")), S(l.Button, "inheritContainedBg", M("palette-grey-800")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-700")), S(l.Chip, "defaultBorder", M("palette-grey-700")), S(l.Chip, "defaultAvatarColor", M("palette-grey-300")), S(l.Chip, "defaultIconColor", M("palette-grey-300")), S(l.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), S(l.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), S(l.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), S(l.LinearProgress, "primaryBg", O(q, s ? g("palette-primary-main") : l.primary.main, 0.5)), S(l.LinearProgress, "secondaryBg", O(q, s ? g("palette-secondary-main") : l.secondary.main, 0.5)), S(l.LinearProgress, "errorBg", O(q, s ? g("palette-error-main") : l.error.main, 0.5)), S(l.LinearProgress, "infoBg", O(q, s ? g("palette-info-main") : l.info.main, 0.5)), S(l.LinearProgress, "successBg", O(q, s ? g("palette-success-main") : l.success.main, 0.5)), S(l.LinearProgress, "warningBg", O(q, s ? g("palette-warning-main") : l.warning.main, 0.5)), S(l.Skeleton, "bg", $ ? O(Ne, s ? g("palette-text-primary") : l.text.primary, 0.13) : `rgba(${M("palette-text-primaryChannel")} / 0.13)`), S(l.Slider, "primaryTrack", O(q, s ? g("palette-primary-main") : l.primary.main, 0.5)), S(l.Slider, "secondaryTrack", O(q, s ? g("palette-secondary-main") : l.secondary.main, 0.5)), S(l.Slider, "errorTrack", O(q, s ? g("palette-error-main") : l.error.main, 0.5)), S(l.Slider, "infoTrack", O(q, s ? g("palette-info-main") : l.info.main, 0.5)), S(l.Slider, "successTrack", O(q, s ? g("palette-success-main") : l.success.main, 0.5)), S(l.Slider, "warningTrack", O(q, s ? g("palette-warning-light") : l.warning.main, 0.5));
|
|
5771
|
+
const U = $ ? O(Z, s ? g("palette-background-default") : l.background.default, 0.985) : yr(l.background.default, 0.98);
|
|
5772
|
+
S(l.SnackbarContent, "bg", U), S(l.SnackbarContent, "color", Ae(() => $ ? zn.text.primary : l.getContrastText(U))), S(l.SpeedDialAction, "fabHoverBg", yr(l.background.paper, 0.15)), S(l.StepConnector, "border", M("palette-grey-600")), S(l.StepContent, "border", M("palette-grey-600")), S(l.Switch, "defaultColor", M("palette-grey-300")), S(l.Switch, "defaultDisabledColor", M("palette-grey-600")), S(l.Switch, "primaryDisabledColor", O(q, s ? g("palette-primary-main") : l.primary.main, 0.55)), S(l.Switch, "secondaryDisabledColor", O(q, s ? g("palette-secondary-main") : l.secondary.main, 0.55)), S(l.Switch, "errorDisabledColor", O(q, s ? g("palette-error-main") : l.error.main, 0.55)), S(l.Switch, "infoDisabledColor", O(q, s ? g("palette-info-main") : l.info.main, 0.55)), S(l.Switch, "successDisabledColor", O(q, s ? g("palette-success-main") : l.success.main, 0.55)), S(l.Switch, "warningDisabledColor", O(q, s ? g("palette-warning-light") : l.warning.main, 0.55)), S(l.TableCell, "border", O(q, Ne(s ? g("palette-divider") : l.divider, 1), 0.68)), S(l.Tooltip, "bg", O(Ne, s ? g("palette-grey-700") : l.grey[700], 0.92));
|
|
5773
5773
|
}
|
|
5774
|
-
Ce(l.background, "default"), Ce(l.background, "paper"), Ce(l.common, "background"), Ce(l.common, "onBackground"), Ce(l, "divider"), Object.keys(l).forEach((
|
|
5775
|
-
const D = l[
|
|
5776
|
-
|
|
5774
|
+
Ce(l.background, "default"), Ce(l.background, "paper"), Ce(l.common, "background"), Ce(l.common, "onBackground"), Ce(l, "divider"), Object.keys(l).forEach((U) => {
|
|
5775
|
+
const D = l[U];
|
|
5776
|
+
U !== "tonalOffset" && D && typeof D == "object" && (D.main && S(l[U], "mainChannel", ar(ir(D.main))), D.light && S(l[U], "lightChannel", ar(ir(D.light))), D.dark && S(l[U], "darkChannel", ar(ir(D.dark))), D.contrastText && S(l[U], "contrastTextChannel", ar(ir(D.contrastText))), U === "text" && (Ce(l[U], "primary"), Ce(l[U], "secondary")), U === "action" && (D.active && Ce(l[U], "active"), D.selected && Ce(l[U], "selected")));
|
|
5777
5777
|
});
|
|
5778
5778
|
}), L = r.reduce((H, l) => me(H, l), L);
|
|
5779
5779
|
const W = {
|
|
@@ -5820,7 +5820,7 @@ function Ls(e = {}, ...r) {
|
|
|
5820
5820
|
},
|
|
5821
5821
|
defaultColorScheme: a = t == null ? void 0 : t.mode,
|
|
5822
5822
|
...s
|
|
5823
|
-
} = e, u = a || "light", f = o == null ? void 0 : o[u],
|
|
5823
|
+
} = e, u = a || "light", f = o == null ? void 0 : o[u], h = {
|
|
5824
5824
|
...o,
|
|
5825
5825
|
...t ? {
|
|
5826
5826
|
[u]: {
|
|
@@ -5833,35 +5833,35 @@ function Ls(e = {}, ...r) {
|
|
|
5833
5833
|
if (!("colorSchemes" in e))
|
|
5834
5834
|
return pt(e, ...r);
|
|
5835
5835
|
let x = t;
|
|
5836
|
-
"palette" in e ||
|
|
5836
|
+
"palette" in e || h[u] && (h[u] !== !0 ? x = h[u].palette : u === "dark" && (x = {
|
|
5837
5837
|
mode: "dark"
|
|
5838
5838
|
}));
|
|
5839
5839
|
const E = pt({
|
|
5840
5840
|
...e,
|
|
5841
5841
|
palette: x
|
|
5842
5842
|
}, ...r);
|
|
5843
|
-
return E.defaultColorScheme = u, E.colorSchemes =
|
|
5844
|
-
...
|
|
5843
|
+
return E.defaultColorScheme = u, E.colorSchemes = h, E.palette.mode === "light" && (E.colorSchemes.light = {
|
|
5844
|
+
...h.light !== !0 && h.light,
|
|
5845
5845
|
palette: E.palette
|
|
5846
|
-
}, ln(E, "dark",
|
|
5847
|
-
...
|
|
5846
|
+
}, ln(E, "dark", h.dark)), E.palette.mode === "dark" && (E.colorSchemes.dark = {
|
|
5847
|
+
...h.dark !== !0 && h.dark,
|
|
5848
5848
|
palette: E.palette
|
|
5849
|
-
}, ln(E, "light",
|
|
5849
|
+
}, ln(E, "light", h.light)), E;
|
|
5850
5850
|
}
|
|
5851
|
-
return !t && !("light" in
|
|
5851
|
+
return !t && !("light" in h) && u === "light" && (h.light = !0), Ms({
|
|
5852
5852
|
...s,
|
|
5853
|
-
colorSchemes:
|
|
5853
|
+
colorSchemes: h,
|
|
5854
5854
|
defaultColorScheme: u,
|
|
5855
5855
|
...typeof n != "boolean" && n
|
|
5856
5856
|
}, ...r);
|
|
5857
5857
|
}
|
|
5858
|
-
const
|
|
5858
|
+
const Ns = Ls(), Us = "$$material";
|
|
5859
5859
|
function Ds(e) {
|
|
5860
5860
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
5861
5861
|
}
|
|
5862
|
-
const Bs = (e) => Ds(e) && e !== "classes", Vs =
|
|
5863
|
-
themeId:
|
|
5864
|
-
defaultTheme:
|
|
5862
|
+
const Bs = (e) => Ds(e) && e !== "classes", Vs = Ui({
|
|
5863
|
+
themeId: Us,
|
|
5864
|
+
defaultTheme: Ns,
|
|
5865
5865
|
rootShouldForwardProp: Bs
|
|
5866
5866
|
}), Fs = Yi;
|
|
5867
5867
|
process.env.NODE_ENV !== "production" && (Q.node, Q.object.isRequired);
|
|
@@ -5893,7 +5893,7 @@ const Hs = (e) => {
|
|
|
5893
5893
|
})(Fs(({
|
|
5894
5894
|
theme: e
|
|
5895
5895
|
}) => {
|
|
5896
|
-
var r, t, n, o, a, s, u, f,
|
|
5896
|
+
var r, t, n, o, a, s, u, f, h, x, E, w, g, C;
|
|
5897
5897
|
return {
|
|
5898
5898
|
userSelect: "none",
|
|
5899
5899
|
width: "1em",
|
|
@@ -5941,18 +5941,18 @@ const Hs = (e) => {
|
|
|
5941
5941
|
fontSize: "large"
|
|
5942
5942
|
},
|
|
5943
5943
|
style: {
|
|
5944
|
-
fontSize: ((x = (
|
|
5944
|
+
fontSize: ((x = (h = e.typography) == null ? void 0 : h.pxToRem) == null ? void 0 : x.call(h, 35)) || "2.1875rem"
|
|
5945
5945
|
}
|
|
5946
5946
|
},
|
|
5947
5947
|
// TODO v5 deprecate color prop, v6 remove for sx
|
|
5948
5948
|
...Object.entries((e.vars ?? e).palette).filter(([, p]) => p && p.main).map(([p]) => {
|
|
5949
|
-
var
|
|
5949
|
+
var T, N;
|
|
5950
5950
|
return {
|
|
5951
5951
|
props: {
|
|
5952
5952
|
color: p
|
|
5953
5953
|
},
|
|
5954
5954
|
style: {
|
|
5955
|
-
color: (
|
|
5955
|
+
color: (N = (T = (e.vars ?? e).palette) == null ? void 0 : T[p]) == null ? void 0 : N.main
|
|
5956
5956
|
}
|
|
5957
5957
|
};
|
|
5958
5958
|
}),
|
|
@@ -5969,7 +5969,7 @@ const Hs = (e) => {
|
|
|
5969
5969
|
color: "disabled"
|
|
5970
5970
|
},
|
|
5971
5971
|
style: {
|
|
5972
|
-
color: (C = (
|
|
5972
|
+
color: (C = (g = (e.vars ?? e).palette) == null ? void 0 : g.action) == null ? void 0 : C.disabled
|
|
5973
5973
|
}
|
|
5974
5974
|
},
|
|
5975
5975
|
{
|
|
@@ -5982,7 +5982,7 @@ const Hs = (e) => {
|
|
|
5982
5982
|
}
|
|
5983
5983
|
]
|
|
5984
5984
|
};
|
|
5985
|
-
})),
|
|
5985
|
+
})), Tr = /* @__PURE__ */ $e.forwardRef(function(r, t) {
|
|
5986
5986
|
const n = zs({
|
|
5987
5987
|
props: r,
|
|
5988
5988
|
name: "MuiSvgIcon"
|
|
@@ -5992,11 +5992,11 @@ const Hs = (e) => {
|
|
|
5992
5992
|
color: s = "inherit",
|
|
5993
5993
|
component: u = "svg",
|
|
5994
5994
|
fontSize: f = "medium",
|
|
5995
|
-
htmlColor:
|
|
5995
|
+
htmlColor: h,
|
|
5996
5996
|
inheritViewBox: x = !1,
|
|
5997
5997
|
titleAccess: E,
|
|
5998
5998
|
viewBox: w = "0 0 24 24",
|
|
5999
|
-
...
|
|
5999
|
+
...g
|
|
6000
6000
|
} = n, C = /* @__PURE__ */ $e.isValidElement(o) && o.type === "svg", p = {
|
|
6001
6001
|
...n,
|
|
6002
6002
|
color: s,
|
|
@@ -6006,19 +6006,19 @@ const Hs = (e) => {
|
|
|
6006
6006
|
inheritViewBox: x,
|
|
6007
6007
|
viewBox: w,
|
|
6008
6008
|
hasSvgAsChild: C
|
|
6009
|
-
},
|
|
6010
|
-
x || (
|
|
6011
|
-
const
|
|
6009
|
+
}, T = {};
|
|
6010
|
+
x || (T.viewBox = w);
|
|
6011
|
+
const N = Hs(p);
|
|
6012
6012
|
return /* @__PURE__ */ d.jsxs(Ks, {
|
|
6013
6013
|
as: u,
|
|
6014
|
-
className: On(
|
|
6014
|
+
className: On(N.root, a),
|
|
6015
6015
|
focusable: "false",
|
|
6016
|
-
color:
|
|
6016
|
+
color: h,
|
|
6017
6017
|
"aria-hidden": E ? void 0 : !0,
|
|
6018
6018
|
role: E ? "img" : void 0,
|
|
6019
6019
|
ref: t,
|
|
6020
|
-
...
|
|
6021
|
-
...
|
|
6020
|
+
...T,
|
|
6021
|
+
...g,
|
|
6022
6022
|
...C && o.props,
|
|
6023
6023
|
ownerState: p,
|
|
6024
6024
|
children: [C ? o.props.children : o, E ? /* @__PURE__ */ d.jsx("title", {
|
|
@@ -6026,7 +6026,7 @@ const Hs = (e) => {
|
|
|
6026
6026
|
}) : null]
|
|
6027
6027
|
});
|
|
6028
6028
|
});
|
|
6029
|
-
process.env.NODE_ENV !== "production" && (
|
|
6029
|
+
process.env.NODE_ENV !== "production" && (Tr.propTypes = {
|
|
6030
6030
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
6031
6031
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
6032
6032
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -6098,17 +6098,17 @@ process.env.NODE_ENV !== "production" && (kr.propTypes = {
|
|
|
6098
6098
|
*/
|
|
6099
6099
|
viewBox: Q.string
|
|
6100
6100
|
});
|
|
6101
|
-
|
|
6101
|
+
Tr.muiName = "SvgIcon";
|
|
6102
6102
|
function Ee(e, r) {
|
|
6103
6103
|
function t(n, o) {
|
|
6104
|
-
return /* @__PURE__ */ d.jsx(
|
|
6104
|
+
return /* @__PURE__ */ d.jsx(Tr, {
|
|
6105
6105
|
"data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
|
|
6106
6106
|
ref: o,
|
|
6107
6107
|
...n,
|
|
6108
6108
|
children: e
|
|
6109
6109
|
});
|
|
6110
6110
|
}
|
|
6111
|
-
return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName =
|
|
6111
|
+
return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = Tr.muiName, /* @__PURE__ */ $e.memo(/* @__PURE__ */ $e.forwardRef(t));
|
|
6112
6112
|
}
|
|
6113
6113
|
const Qs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6114
6114
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 16H7v-.24C8.42 17.62 10.16 17 12 17s3.58.62 5 1.76zm2-1.14C17.2 16.09 14.73 15 12 15s-5.2 1.09-7 2.86V5h14zM12 13c1.93 0 3.5-1.57 3.5-3.5S13.93 6 12 6 8.5 7.57 8.5 9.5 10.07 13 12 13m0-5c.83 0 1.5.67 1.5 1.5S12.83 11 12 11s-1.5-.67-1.5-1.5S11.17 8 12 8"
|
|
@@ -6268,25 +6268,25 @@ function oc(e) {
|
|
|
6268
6268
|
};
|
|
6269
6269
|
}
|
|
6270
6270
|
const dn = We.setState.bind(We);
|
|
6271
|
-
We.setState = (e, r) => {
|
|
6271
|
+
We.setState = ((e, r) => {
|
|
6272
6272
|
dn(
|
|
6273
6273
|
e,
|
|
6274
6274
|
r
|
|
6275
6275
|
);
|
|
6276
6276
|
const t = We.getState(), n = oc(t);
|
|
6277
6277
|
n && dn(n);
|
|
6278
|
-
};
|
|
6278
|
+
});
|
|
6279
6279
|
const De = We, Re = We, ac = ({
|
|
6280
6280
|
onCerrarSesion: e,
|
|
6281
6281
|
acciones: r
|
|
6282
6282
|
}) => {
|
|
6283
|
-
const [t, n] =
|
|
6283
|
+
const [t, n] = kr(null), [o] = je(we.general), [a] = je(we.avatar), s = Ze(
|
|
6284
6284
|
() => o || a,
|
|
6285
6285
|
[o, a]
|
|
6286
|
-
), u = Re((w) => w.avatar), f = Re((w) => w.nombre),
|
|
6287
|
-
var
|
|
6286
|
+
), u = Re((w) => w.avatar), f = Re((w) => w.nombre), h = Ze(() => {
|
|
6287
|
+
var g, C;
|
|
6288
6288
|
const w = f == null ? void 0 : f.split(" ");
|
|
6289
|
-
return `${((
|
|
6289
|
+
return `${((g = w == null ? void 0 : w[0]) == null ? void 0 : g.charAt(0)) ?? ""}${((C = w == null ? void 0 : w[1]) == null ? void 0 : C.charAt(0)) ?? ""}`;
|
|
6290
6290
|
}, [f]), x = ye(
|
|
6291
6291
|
(w) => {
|
|
6292
6292
|
n(w.currentTarget);
|
|
@@ -6306,10 +6306,10 @@ const De = We, Re = We, ac = ({
|
|
|
6306
6306
|
co,
|
|
6307
6307
|
{
|
|
6308
6308
|
sx: {
|
|
6309
|
-
bgcolor: s || !
|
|
6309
|
+
bgcolor: s || !h ? "black12.main" : "primary.main"
|
|
6310
6310
|
},
|
|
6311
6311
|
src: s ? "" : u,
|
|
6312
|
-
children: s ? /* @__PURE__ */ d.jsx(mn, { size: 18 }) :
|
|
6312
|
+
children: s ? /* @__PURE__ */ d.jsx(mn, { size: 18 }) : h
|
|
6313
6313
|
}
|
|
6314
6314
|
)
|
|
6315
6315
|
}
|
|
@@ -6321,8 +6321,8 @@ const De = We, Re = We, ac = ({
|
|
|
6321
6321
|
anchorEl: t,
|
|
6322
6322
|
onClose: E,
|
|
6323
6323
|
children: [
|
|
6324
|
-
r == null ? void 0 : r.map(({ nombre: w, icono:
|
|
6325
|
-
const p = typeof
|
|
6324
|
+
r == null ? void 0 : r.map(({ nombre: w, icono: g, slotProps: C }) => {
|
|
6325
|
+
const p = typeof g == "string" ? /* @__PURE__ */ d.jsx(_r, { children: g }) : g ? /* @__PURE__ */ d.jsx(g, {}) : null;
|
|
6326
6326
|
return /* @__PURE__ */ d.jsxs(ot, { ...C == null ? void 0 : C.MenuItem, children: [
|
|
6327
6327
|
p && /* @__PURE__ */ d.jsx(Xe, { children: p }),
|
|
6328
6328
|
/* @__PURE__ */ d.jsx(
|
|
@@ -6498,23 +6498,23 @@ const De = We, Re = We, ac = ({
|
|
|
6498
6498
|
idApp: o,
|
|
6499
6499
|
iconoApp: a
|
|
6500
6500
|
}) => {
|
|
6501
|
-
const s =
|
|
6502
|
-
(
|
|
6503
|
-
), [u] = je(we.apps), [f] = je(we.general), [
|
|
6504
|
-
(
|
|
6505
|
-
),
|
|
6501
|
+
const s = Tn(
|
|
6502
|
+
(N) => !!N.toolbar.length
|
|
6503
|
+
), [u] = je(we.apps), [f] = je(we.general), [h] = je(we.nombreApp), x = Be((N) => N.inhabilitado), E = Re((N) => N.abrirApps), w = Re(
|
|
6504
|
+
(N) => N.mostrarBotonDrawer
|
|
6505
|
+
), g = ro(null), C = ye(() => {
|
|
6506
6506
|
De.setState({ abrirApps: !0 });
|
|
6507
6507
|
}, []), p = ye(() => {
|
|
6508
6508
|
De.setState({ abrirApps: !1 });
|
|
6509
|
-
}, []),
|
|
6510
|
-
|
|
6509
|
+
}, []), T = ye(() => {
|
|
6510
|
+
ke.setState({ abierto: !ke.getState().abierto });
|
|
6511
6511
|
}, []);
|
|
6512
6512
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
6513
6513
|
/* @__PURE__ */ d.jsxs(
|
|
6514
6514
|
fo,
|
|
6515
6515
|
{
|
|
6516
6516
|
position: "fixed",
|
|
6517
|
-
sx: { zIndex: (
|
|
6517
|
+
sx: { zIndex: (N) => N.zIndex.drawer + 1 },
|
|
6518
6518
|
children: [
|
|
6519
6519
|
/* @__PURE__ */ d.jsx(mt, { children: /* @__PURE__ */ d.jsxs(
|
|
6520
6520
|
le,
|
|
@@ -6528,14 +6528,14 @@ const De = We, Re = We, ac = ({
|
|
|
6528
6528
|
/* @__PURE__ */ d.jsx(po, { in: w, children: /* @__PURE__ */ d.jsx(
|
|
6529
6529
|
wt,
|
|
6530
6530
|
{
|
|
6531
|
-
onClick:
|
|
6531
|
+
onClick: T,
|
|
6532
6532
|
disabled: x,
|
|
6533
6533
|
children: /* @__PURE__ */ d.jsx(uc, {})
|
|
6534
6534
|
}
|
|
6535
6535
|
) }),
|
|
6536
6536
|
/* @__PURE__ */ d.jsxs(le, { display: "flex", alignItems: "center", ml: 3, children: [
|
|
6537
6537
|
/* @__PURE__ */ d.jsx("a", { href: "/", children: /* @__PURE__ */ d.jsx(Zo, { width: 88 }) }),
|
|
6538
|
-
|
|
6538
|
+
h || f ? /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 150, sx: { ml: 0.5 } }) : typeof r == "string" ? /* @__PURE__ */ d.jsx(xe, { variant: "body2", noWrap: !0, ml: 0.5, children: r }) : r
|
|
6539
6539
|
] })
|
|
6540
6540
|
] }),
|
|
6541
6541
|
/* @__PURE__ */ d.jsxs(le, { display: "flex", alignItems: "center", children: [
|
|
@@ -6550,7 +6550,7 @@ const De = We, Re = We, ac = ({
|
|
|
6550
6550
|
wt,
|
|
6551
6551
|
{
|
|
6552
6552
|
disabled: u || !e.length,
|
|
6553
|
-
ref:
|
|
6553
|
+
ref: g,
|
|
6554
6554
|
sx: { ml: 2 },
|
|
6555
6555
|
onClick: C,
|
|
6556
6556
|
children: u || f ? /* @__PURE__ */ d.jsx(mn, { size: 18 }) : /* @__PURE__ */ d.jsx(lc, {})
|
|
@@ -6568,7 +6568,7 @@ const De = We, Re = We, ac = ({
|
|
|
6568
6568
|
go,
|
|
6569
6569
|
{
|
|
6570
6570
|
open: E,
|
|
6571
|
-
anchorEl:
|
|
6571
|
+
anchorEl: g.current,
|
|
6572
6572
|
onClose: p,
|
|
6573
6573
|
anchorOrigin: {
|
|
6574
6574
|
vertical: "bottom",
|
|
@@ -6578,12 +6578,12 @@ const De = We, Re = We, ac = ({
|
|
|
6578
6578
|
pa,
|
|
6579
6579
|
{
|
|
6580
6580
|
apps: e.map(
|
|
6581
|
-
(
|
|
6582
|
-
...
|
|
6581
|
+
(N) => N.id === o ? {
|
|
6582
|
+
...N,
|
|
6583
6583
|
link: new URL(window.location.href),
|
|
6584
6584
|
...typeof r == "string" ? { nombre: r } : {},
|
|
6585
6585
|
...a ? { icono: a } : {}
|
|
6586
|
-
} :
|
|
6586
|
+
} : N
|
|
6587
6587
|
)
|
|
6588
6588
|
}
|
|
6589
6589
|
)
|
|
@@ -6601,7 +6601,7 @@ const De = We, Re = We, ac = ({
|
|
|
6601
6601
|
menus: u,
|
|
6602
6602
|
LinkComponent: f
|
|
6603
6603
|
}) => {
|
|
6604
|
-
const
|
|
6604
|
+
const h = Re(
|
|
6605
6605
|
(x) => typeof x.terminal == "number"
|
|
6606
6606
|
);
|
|
6607
6607
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
@@ -6620,7 +6620,7 @@ const De = We, Re = We, ac = ({
|
|
|
6620
6620
|
/* @__PURE__ */ d.jsx(mt, {}),
|
|
6621
6621
|
/* @__PURE__ */ d.jsxs(le, { display: "flex", children: [
|
|
6622
6622
|
/* @__PURE__ */ d.jsx(da, {}),
|
|
6623
|
-
/* @__PURE__ */ d.jsx("main", { style: { flexGrow: 1, display: "flex" }, children:
|
|
6623
|
+
/* @__PURE__ */ d.jsx("main", { style: { flexGrow: 1, display: "flex" }, children: h ? t : "Selecciona una terminal para comenzar" })
|
|
6624
6624
|
] })
|
|
6625
6625
|
] });
|
|
6626
6626
|
}, Gn = Rr(() => ({
|
|
@@ -6631,13 +6631,13 @@ const De = We, Re = We, ac = ({
|
|
|
6631
6631
|
), mc = (e, r, t) => {
|
|
6632
6632
|
const n = r.reduce(
|
|
6633
6633
|
(o, a) => {
|
|
6634
|
-
const s =
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6634
|
+
const s = Number(a.codigo_terminal);
|
|
6635
|
+
return e.some(
|
|
6636
|
+
({ id: h }) => Number(h) === s
|
|
6637
|
+
) || typeof t == "number" && s === t ? [
|
|
6638
6638
|
...o,
|
|
6639
6639
|
{
|
|
6640
|
-
codigo:
|
|
6640
|
+
codigo: s,
|
|
6641
6641
|
...a.abreviado && { abreviado: a.abreviado },
|
|
6642
6642
|
...a.nombre && { nombre: a.nombre }
|
|
6643
6643
|
}
|
|
@@ -6647,7 +6647,7 @@ const De = We, Re = We, ac = ({
|
|
|
6647
6647
|
);
|
|
6648
6648
|
if (typeof t == "number" && !n.some((o) => o.codigo === t)) {
|
|
6649
6649
|
const o = r.find(
|
|
6650
|
-
(a) => a.codigo_terminal === t
|
|
6650
|
+
(a) => Number(a.codigo_terminal) === t
|
|
6651
6651
|
);
|
|
6652
6652
|
return [
|
|
6653
6653
|
...n,
|
|
@@ -6670,19 +6670,19 @@ function hc({
|
|
|
6670
6670
|
LinkComponent: s,
|
|
6671
6671
|
tema: u
|
|
6672
6672
|
}) {
|
|
6673
|
-
const f = xn(),
|
|
6673
|
+
const f = xn(), h = pc((C) => C.permisos), [x, E] = kr([]), w = () => {
|
|
6674
6674
|
f.logout();
|
|
6675
|
-
},
|
|
6676
|
-
var
|
|
6677
|
-
const
|
|
6678
|
-
return
|
|
6675
|
+
}, g = o.reduce((C, p) => {
|
|
6676
|
+
var N, V;
|
|
6677
|
+
const T = (N = h == null ? void 0 : h.menus) == null ? void 0 : N.find(({ id: B }) => p.id === B);
|
|
6678
|
+
return T ? [
|
|
6679
6679
|
...C,
|
|
6680
6680
|
{
|
|
6681
6681
|
...p,
|
|
6682
6682
|
subMenus: (V = p.subMenus) == null ? void 0 : V.filter(
|
|
6683
6683
|
({ id: B }) => {
|
|
6684
6684
|
var $;
|
|
6685
|
-
return ($ =
|
|
6685
|
+
return ($ = T == null ? void 0 : T.sub_menu) == null ? void 0 : $.some(({ id: _ }) => B === _);
|
|
6686
6686
|
}
|
|
6687
6687
|
)
|
|
6688
6688
|
}
|
|
@@ -6705,16 +6705,16 @@ function hc({
|
|
|
6705
6705
|
// Tipos de keycloak-js no incluyen select_account; es válido en OIDC.
|
|
6706
6706
|
prompt: "select_account"
|
|
6707
6707
|
});
|
|
6708
|
-
const
|
|
6708
|
+
const T = f.idTokenParsed, { terminal: N, setTerminal: V } = De.getState(), B = `${(T == null ? void 0 : T.given_name) ?? ""}${T != null && T.given_name && (T != null && T.family_name) ? " " : ""}${T == null ? void 0 : T.family_name}`;
|
|
6709
6709
|
De.setState({
|
|
6710
6710
|
nombre: B
|
|
6711
6711
|
});
|
|
6712
|
-
const $ =
|
|
6713
|
-
typeof
|
|
6714
|
-
const _ =
|
|
6712
|
+
const $ = T.terminal;
|
|
6713
|
+
typeof N != "number" && typeof $ == "number" && V(Number($));
|
|
6714
|
+
const _ = T.email;
|
|
6715
6715
|
_ ? Eo(_, n).then(async (L) => {
|
|
6716
|
-
var O,
|
|
6717
|
-
const W = (J = (D = (
|
|
6716
|
+
var O, U, D, J, ne;
|
|
6717
|
+
const W = (J = (D = (U = (O = L.response) == null ? void 0 : O[0]) == null ? void 0 : U.permisos) == null ? void 0 : D.aplicaciones) == null ? void 0 : J.find(
|
|
6718
6718
|
({ id: ue }) => ue === r
|
|
6719
6719
|
);
|
|
6720
6720
|
if (!((ne = L.response) != null && ne[0]) || !W)
|
|
@@ -6732,11 +6732,11 @@ function hc({
|
|
|
6732
6732
|
permisos: W
|
|
6733
6733
|
});
|
|
6734
6734
|
const F = await Ro();
|
|
6735
|
-
if (F.isError || !F.data.length)
|
|
6735
|
+
if (F.isError || !F.data.terminales.length)
|
|
6736
6736
|
throw new Error("No se han encontrado terminales");
|
|
6737
|
-
const X = typeof (
|
|
6737
|
+
const X = typeof (T == null ? void 0 : T.terminal) == "number" ? T.terminal : void 0, se = mc(
|
|
6738
6738
|
L.response[0].terminales ?? [],
|
|
6739
|
-
F.data,
|
|
6739
|
+
F.data.terminales,
|
|
6740
6740
|
X
|
|
6741
6741
|
);
|
|
6742
6742
|
if (!se.length)
|
|
@@ -6745,8 +6745,8 @@ function hc({
|
|
|
6745
6745
|
terminales: se,
|
|
6746
6746
|
mostrarBotonDrawer: !0,
|
|
6747
6747
|
terminalDeNomina: X
|
|
6748
|
-
}),
|
|
6749
|
-
const { terminal: H, setTerminal: l } = De.getState(), M = Number(
|
|
6748
|
+
}), ke.setState({ cargando: !1 });
|
|
6749
|
+
const { terminal: H, setTerminal: l } = De.getState(), M = Number(T == null ? void 0 : T.terminal);
|
|
6750
6750
|
H || l(
|
|
6751
6751
|
Number.isNaN(M) ? se[0].codigo : M
|
|
6752
6752
|
);
|
|
@@ -6760,8 +6760,8 @@ function hc({
|
|
|
6760
6760
|
fc,
|
|
6761
6761
|
{
|
|
6762
6762
|
apps: x,
|
|
6763
|
-
menus:
|
|
6764
|
-
nombreApp: t ?? (
|
|
6763
|
+
menus: g,
|
|
6764
|
+
nombreApp: t ?? (h == null ? void 0 : h.nombre),
|
|
6765
6765
|
onCerrarSesion: w,
|
|
6766
6766
|
LinkComponent: s,
|
|
6767
6767
|
children: e
|
|
@@ -6957,8 +6957,8 @@ const Mc = {
|
|
|
6957
6957
|
toolbar: a
|
|
6958
6958
|
}) => {
|
|
6959
6959
|
var s, u;
|
|
6960
|
-
return `import { ${e}, estado${e}${((s = t == null ? void 0 : t.lib) == null ? void 0 : s.reduce((f,
|
|
6961
|
-
import { ${a ? "Toolbar as MuiToolbar, " : ""}Box, Button${((u = t == null ? void 0 : t.mui) == null ? void 0 : u.reduce((f,
|
|
6960
|
+
return `import { ${e}, estado${e}${((s = t == null ? void 0 : t.lib) == null ? void 0 : s.reduce((f, h) => ` ${f}, ${h}`, "")) ?? ""}, useEstado${e} } from "laLibXd";
|
|
6961
|
+
import { ${a ? "Toolbar as MuiToolbar, " : ""}Box, Button${((u = t == null ? void 0 : t.mui) == null ? void 0 : u.reduce((f, h) => ` ${f}, ${h}`, "")) ?? ""} } from "@mui/material";
|
|
6962
6962
|
|
|
6963
6963
|
const ${e}Story = () => {
|
|
6964
6964
|
const estado = useEstado${e}((est) => est);
|
|
@@ -6967,8 +6967,8 @@ const ${e}Story = () => {
|
|
|
6967
6967
|
<MuiToolbar />` : ""}
|
|
6968
6968
|
${o ? '<Box display="flex">' : "<>"}
|
|
6969
6969
|
<${e}${n != null && n.length ? n.map(
|
|
6970
|
-
({ fun: f, nombre:
|
|
6971
|
-
${
|
|
6970
|
+
({ fun: f, nombre: h }) => `
|
|
6971
|
+
${h}={${f.toString().split(`
|
|
6972
6972
|
`).join(`
|
|
6973
6973
|
`).replace("action(", "console.log(")}}`
|
|
6974
6974
|
).join("") : ""}${n != null && n.length ? `
|
|
@@ -6981,9 +6981,9 @@ const ${e}Story = () => {
|
|
|
6981
6981
|
alignItems="flex-end"
|
|
6982
6982
|
flexDirection="column"
|
|
6983
6983
|
>` : ""}${r != null && r.length ? r.map(
|
|
6984
|
-
({ nombre: f, onClick:
|
|
6984
|
+
({ nombre: f, onClick: h }) => `
|
|
6985
6985
|
<Button
|
|
6986
|
-
onClick={${
|
|
6986
|
+
onClick={${h.toString().split(`
|
|
6987
6987
|
`).join(`
|
|
6988
6988
|
`)}}
|
|
6989
6989
|
>
|
|
@@ -7007,7 +7007,7 @@ const ${e}Story = () => {
|
|
|
7007
7007
|
${a ? "</>" : ""});
|
|
7008
7008
|
};
|
|
7009
7009
|
`;
|
|
7010
|
-
},
|
|
7010
|
+
}, Nc = ({
|
|
7011
7011
|
children: e,
|
|
7012
7012
|
estado: r,
|
|
7013
7013
|
...t
|
|
@@ -7076,7 +7076,7 @@ export {
|
|
|
7076
7076
|
la as MenuItemDrawer,
|
|
7077
7077
|
sc as SelectorTerminalToolbar,
|
|
7078
7078
|
Zo as SigooLogo,
|
|
7079
|
-
|
|
7079
|
+
Nc as StorySiblingDecorator,
|
|
7080
7080
|
ca as SubMenuItemDrawer,
|
|
7081
7081
|
dc as Toolbar,
|
|
7082
7082
|
rc as UnloadIcono,
|
|
@@ -7085,7 +7085,7 @@ export {
|
|
|
7085
7085
|
K as colores,
|
|
7086
7086
|
mc as convertirTerminalesToolbar,
|
|
7087
7087
|
Gn as estadoAuth,
|
|
7088
|
-
|
|
7088
|
+
ke as estadoDrawer,
|
|
7089
7089
|
tc as estadoInicialToolbar,
|
|
7090
7090
|
De as estadoToolbar,
|
|
7091
7091
|
yn as getEnvActual,
|
|
@@ -7093,7 +7093,7 @@ export {
|
|
|
7093
7093
|
bn as getKeycloakToken,
|
|
7094
7094
|
Rc as getLoginKeycloak,
|
|
7095
7095
|
we as keysCargandoToolbar,
|
|
7096
|
-
|
|
7096
|
+
kc as menusPermitidos,
|
|
7097
7097
|
$c as obtenerAppsToolbar,
|
|
7098
7098
|
Oo as obtenerCookie,
|
|
7099
7099
|
jo as obtenerHash,
|
|
@@ -7108,12 +7108,12 @@ export {
|
|
|
7108
7108
|
jc as setMenuSeleccionado,
|
|
7109
7109
|
xr as storeCargando,
|
|
7110
7110
|
lt as tema,
|
|
7111
|
-
|
|
7111
|
+
Tc as terminalesPermitidas,
|
|
7112
7112
|
je as useCargando,
|
|
7113
7113
|
pc as useEstadoAuth,
|
|
7114
7114
|
Be as useEstadoDrawer,
|
|
7115
7115
|
Re as useEstadoToolbar,
|
|
7116
7116
|
xn as useLoginKeycloak,
|
|
7117
|
-
|
|
7117
|
+
Tn as useStoreCargando
|
|
7118
7118
|
};
|
|
7119
7119
|
//# sourceMappingURL=cm-sigoo-temp-ui.js.map
|