fastapi-rtk 0.0.71 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fastapi-rtk.es.js +130 -130
- package/dist/fastapi-rtk.umd.js +29 -29
- package/package.json +1 -1
package/dist/fastapi-rtk.es.js
CHANGED
|
@@ -96,7 +96,7 @@ function md() {
|
|
|
96
96
|
function z(g) {
|
|
97
97
|
return g.displayName || "Context";
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function J(g) {
|
|
100
100
|
if (g == null)
|
|
101
101
|
return null;
|
|
102
102
|
if (typeof g.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof g == "function")
|
|
@@ -129,11 +129,11 @@ function md() {
|
|
|
129
129
|
return M(g, g.render, "ForwardRef");
|
|
130
130
|
case u:
|
|
131
131
|
var W = g.displayName || null;
|
|
132
|
-
return W !== null ? W :
|
|
132
|
+
return W !== null ? W : J(g.type) || "Memo";
|
|
133
133
|
case p: {
|
|
134
134
|
var se = g, ue = se._payload, oe = se._init;
|
|
135
135
|
try {
|
|
136
|
-
return
|
|
136
|
+
return J(oe(ue));
|
|
137
137
|
} catch {
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
@@ -141,14 +141,14 @@ function md() {
|
|
|
141
141
|
}
|
|
142
142
|
return null;
|
|
143
143
|
}
|
|
144
|
-
var ie = Object.assign, ge = 0, V,
|
|
144
|
+
var ie = Object.assign, ge = 0, V, ee, ae, He, C, $, q;
|
|
145
145
|
function L() {
|
|
146
146
|
}
|
|
147
147
|
L.__reactDisabledLog = !0;
|
|
148
148
|
function G() {
|
|
149
149
|
{
|
|
150
150
|
if (ge === 0) {
|
|
151
|
-
V = console.log,
|
|
151
|
+
V = console.log, ee = console.info, ae = console.warn, He = console.error, C = console.group, $ = console.groupCollapsed, q = console.groupEnd;
|
|
152
152
|
var g = {
|
|
153
153
|
configurable: !0,
|
|
154
154
|
enumerable: !0,
|
|
@@ -181,7 +181,7 @@ function md() {
|
|
|
181
181
|
value: V
|
|
182
182
|
}),
|
|
183
183
|
info: ie({}, g, {
|
|
184
|
-
value:
|
|
184
|
+
value: ee
|
|
185
185
|
}),
|
|
186
186
|
warn: ie({}, g, {
|
|
187
187
|
value: ae
|
|
@@ -217,13 +217,13 @@ function md() {
|
|
|
217
217
|
` + Y + g;
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
var
|
|
220
|
+
var Z = !1, X;
|
|
221
221
|
{
|
|
222
222
|
var $e = typeof WeakMap == "function" ? WeakMap : Map;
|
|
223
223
|
X = new $e();
|
|
224
224
|
}
|
|
225
225
|
function R(g, S) {
|
|
226
|
-
if (!g ||
|
|
226
|
+
if (!g || Z)
|
|
227
227
|
return "";
|
|
228
228
|
{
|
|
229
229
|
var N = X.get(g);
|
|
@@ -231,7 +231,7 @@ function md() {
|
|
|
231
231
|
return N;
|
|
232
232
|
}
|
|
233
233
|
var W;
|
|
234
|
-
|
|
234
|
+
Z = !0;
|
|
235
235
|
var se = Error.prepareStackTrace;
|
|
236
236
|
Error.prepareStackTrace = void 0;
|
|
237
237
|
var ue;
|
|
@@ -279,16 +279,16 @@ function md() {
|
|
|
279
279
|
if (E !== 1 || j !== 1)
|
|
280
280
|
do
|
|
281
281
|
if (E--, j--, j < 0 || A[E] !== b[j]) {
|
|
282
|
-
var
|
|
282
|
+
var Q = `
|
|
283
283
|
` + A[E].replace(" at new ", " at ");
|
|
284
|
-
return g.displayName &&
|
|
284
|
+
return g.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", g.displayName)), typeof g == "function" && X.set(g, Q), Q;
|
|
285
285
|
}
|
|
286
286
|
while (E >= 1 && j >= 0);
|
|
287
287
|
break;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
} finally {
|
|
291
|
-
|
|
291
|
+
Z = !1, H.current = ue, U(), Error.prepareStackTrace = se;
|
|
292
292
|
}
|
|
293
293
|
var Ee = g ? g.displayName || g.name : "", be = Ee ? K(Ee) : "";
|
|
294
294
|
return typeof g == "function" && X.set(g, be), be;
|
|
@@ -405,8 +405,8 @@ function md() {
|
|
|
405
405
|
}
|
|
406
406
|
function mt(g, S) {
|
|
407
407
|
if (typeof g.ref == "string" && Dt.current && S && Dt.current.stateNode !== S) {
|
|
408
|
-
var N =
|
|
409
|
-
lr[N] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
408
|
+
var N = J(Dt.current.type);
|
|
409
|
+
lr[N] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', J(Dt.current.type), g.ref), lr[N] = !0);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
function Mt(g, S) {
|
|
@@ -494,7 +494,7 @@ function md() {
|
|
|
494
494
|
function gn() {
|
|
495
495
|
{
|
|
496
496
|
if (Ot.current) {
|
|
497
|
-
var g =
|
|
497
|
+
var g = J(Ot.current.type);
|
|
498
498
|
if (g)
|
|
499
499
|
return `
|
|
500
500
|
|
|
@@ -529,7 +529,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
529
529
|
return;
|
|
530
530
|
fr[N] = !0;
|
|
531
531
|
var W = "";
|
|
532
|
-
g && g._owner && g._owner !== Ot.current && (W = " It was passed a child from " +
|
|
532
|
+
g && g._owner && g._owner !== Ot.current && (W = " It was passed a child from " + J(g._owner.type) + "."), Nt(g), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', N, W), Nt(null);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
function bn(g, S) {
|
|
@@ -566,11 +566,11 @@ Check the top-level render call using <` + N + ">.");
|
|
|
566
566
|
else
|
|
567
567
|
return;
|
|
568
568
|
if (N) {
|
|
569
|
-
var W =
|
|
569
|
+
var W = J(S);
|
|
570
570
|
dn(N, g.props, "prop", W, g);
|
|
571
571
|
} else if (S.PropTypes !== void 0 && !we) {
|
|
572
572
|
we = !0;
|
|
573
|
-
var se =
|
|
573
|
+
var se = J(S);
|
|
574
574
|
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", se || "Unknown");
|
|
575
575
|
}
|
|
576
576
|
typeof S.getDefaultProps == "function" && !S.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -598,26 +598,26 @@ Check the top-level render call using <` + N + ">.");
|
|
|
598
598
|
var b = yn();
|
|
599
599
|
b ? A += b : A += gn();
|
|
600
600
|
var E;
|
|
601
|
-
g === null ? E = "null" : Pr(g) ? E = "array" : g !== void 0 && g.$$typeof === t ? (E = "<" + (
|
|
601
|
+
g === null ? E = "null" : Pr(g) ? E = "array" : g !== void 0 && g.$$typeof === t ? (E = "<" + (J(g.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : E = typeof g, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, A);
|
|
602
602
|
}
|
|
603
603
|
var j = Li(g, S, N, se, ue);
|
|
604
604
|
if (j == null)
|
|
605
605
|
return j;
|
|
606
606
|
if (oe) {
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
607
|
+
var Q = S.children;
|
|
608
|
+
if (Q !== void 0)
|
|
609
609
|
if (W)
|
|
610
|
-
if (Pr(
|
|
611
|
-
for (var Ee = 0; Ee <
|
|
612
|
-
bn(
|
|
613
|
-
Object.freeze && Object.freeze(
|
|
610
|
+
if (Pr(Q)) {
|
|
611
|
+
for (var Ee = 0; Ee < Q.length; Ee++)
|
|
612
|
+
bn(Q[Ee], g);
|
|
613
|
+
Object.freeze && Object.freeze(Q);
|
|
614
614
|
} else
|
|
615
615
|
P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
616
616
|
else
|
|
617
|
-
bn(
|
|
617
|
+
bn(Q, g);
|
|
618
618
|
}
|
|
619
619
|
if (Ze.call(S, "key")) {
|
|
620
|
-
var be =
|
|
620
|
+
var be = J(g), me = Object.keys(S).filter(function(Me) {
|
|
621
621
|
return Me !== "key";
|
|
622
622
|
}), Qe = me.length > 0 ? "{key: someKey, " + me.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
623
623
|
if (!Tn[be + Qe]) {
|
|
@@ -1185,8 +1185,8 @@ function mr(e) {
|
|
|
1185
1185
|
disableStackTrace: M.disableStackTrace || O
|
|
1186
1186
|
}, u, M.params);
|
|
1187
1187
|
for (const ie of Object.keys(z)) z[ie] = P(z[ie]);
|
|
1188
|
-
const
|
|
1189
|
-
return
|
|
1188
|
+
const J = new ze(ze.formatError(M.message || p, z), r, z.path, M.type || c, z.disableStackTrace);
|
|
1189
|
+
return J.params = z, J;
|
|
1190
1190
|
}
|
|
1191
1191
|
const I = x ? s : l;
|
|
1192
1192
|
let _ = {
|
|
@@ -2974,7 +2974,8 @@ function xp(e) {
|
|
|
2974
2974
|
signout: s,
|
|
2975
2975
|
update: l,
|
|
2976
2976
|
resetPassword: c,
|
|
2977
|
-
oauth_signin: f
|
|
2977
|
+
oauth_signin: f,
|
|
2978
|
+
refetch: i
|
|
2978
2979
|
};
|
|
2979
2980
|
}
|
|
2980
2981
|
function _p(e, t) {
|
|
@@ -3014,7 +3015,8 @@ const da = tc({
|
|
|
3014
3015
|
signout: async () => null,
|
|
3015
3016
|
update: async (e) => null,
|
|
3016
3017
|
resetPassword: async (e) => null,
|
|
3017
|
-
oauth_signin: (e, t) => null
|
|
3018
|
+
oauth_signin: (e, t) => null,
|
|
3019
|
+
refetch: async () => null
|
|
3018
3020
|
},
|
|
3019
3021
|
info: {
|
|
3020
3022
|
/**
|
|
@@ -3042,7 +3044,7 @@ const Sp = async (e, t, r) => {
|
|
|
3042
3044
|
const { fetchPath: n, options: i } = Ye({ path: je(t, "/download"), method: "POST" }), o = await fetch(n, { ...i, body: JSON.stringify(r) });
|
|
3043
3045
|
let a = null;
|
|
3044
3046
|
const s = o.headers.get("content-type");
|
|
3045
|
-
if (s && s.includes("application/json") ? a = await o.json() :
|
|
3047
|
+
if (s && s.includes("application/json") ? a = await o.json() : a = await o.blob(), !o.ok)
|
|
3046
3048
|
throw typeof a == "object" ? new Error(typeof a.detail == "string" ? a.detail : JSON.stringify(a, null, 2)) : new Error(a);
|
|
3047
3049
|
const l = document.createElement("a"), c = URL.createObjectURL(a);
|
|
3048
3050
|
l.href = c, l.download = e.toLowerCase() + ".csv", l.click();
|
|
@@ -3069,16 +3071,14 @@ function wp({
|
|
|
3069
3071
|
} : l,
|
|
3070
3072
|
[r, l]
|
|
3071
3073
|
), u = Oe(
|
|
3072
|
-
(V) => c((
|
|
3073
|
-
if (!
|
|
3074
|
+
(V) => c((ee) => {
|
|
3075
|
+
if (!ee)
|
|
3074
3076
|
return An(null, V);
|
|
3075
|
-
const ae = An({ ...
|
|
3076
|
-
if (JSON.stringify(ae) === JSON.stringify(J))
|
|
3077
|
-
return J;
|
|
3077
|
+
const ae = An({ ...ee }, V);
|
|
3078
3078
|
if (s) {
|
|
3079
|
-
if (V.page && V.page !==
|
|
3079
|
+
if (V.page && V.page !== ee.page && !V.streaming)
|
|
3080
3080
|
throw new Error("You cannot change page in streaming mode, use streaming.fetch() instead");
|
|
3081
|
-
if (V.page_size && V.page_size !==
|
|
3081
|
+
if (V.page_size && V.page_size !== ee.page_size)
|
|
3082
3082
|
throw new Error("You cannot change page size in streaming mode, use streaming.fetch() instead");
|
|
3083
3083
|
(V.filters || V.order_column || V.order_direction) && (ae.page = 0);
|
|
3084
3084
|
}
|
|
@@ -3121,27 +3121,27 @@ function wp({
|
|
|
3121
3121
|
const h = Oe(
|
|
3122
3122
|
async (V) => {
|
|
3123
3123
|
try {
|
|
3124
|
-
const
|
|
3125
|
-
return y(),
|
|
3126
|
-
} catch (
|
|
3127
|
-
v({ message: `Couldn't fetch item with id ${V}`, originalError:
|
|
3124
|
+
const ee = await _d(e, at(V));
|
|
3125
|
+
return y(), ee;
|
|
3126
|
+
} catch (ee) {
|
|
3127
|
+
v({ message: `Couldn't fetch item with id ${V}`, originalError: ee });
|
|
3128
3128
|
}
|
|
3129
3129
|
},
|
|
3130
3130
|
[e, y]
|
|
3131
3131
|
), D = Oe(
|
|
3132
|
-
async (V,
|
|
3132
|
+
async (V, ee) => {
|
|
3133
3133
|
try {
|
|
3134
3134
|
const ae = await bd(e, V);
|
|
3135
|
-
return
|
|
3135
|
+
return ee || (P(), k()), y(), ae;
|
|
3136
3136
|
} catch (ae) {
|
|
3137
3137
|
v({ message: "Couldn't add item", originalError: ae });
|
|
3138
3138
|
}
|
|
3139
3139
|
},
|
|
3140
3140
|
[k, P, e, y]
|
|
3141
3141
|
), M = Oe(
|
|
3142
|
-
async (V,
|
|
3142
|
+
async (V, ee, ae) => {
|
|
3143
3143
|
try {
|
|
3144
|
-
const He = await Td(e, at(V),
|
|
3144
|
+
const He = await Td(e, at(V), ee);
|
|
3145
3145
|
return ae || (P(), k()), y(), He;
|
|
3146
3146
|
} catch (He) {
|
|
3147
3147
|
v({ message: `Couldn't update item with id ${V}`, originalError: He });
|
|
@@ -3149,21 +3149,21 @@ function wp({
|
|
|
3149
3149
|
},
|
|
3150
3150
|
[k, P, e, y]
|
|
3151
3151
|
), z = Oe(
|
|
3152
|
-
async (V,
|
|
3152
|
+
async (V, ee) => {
|
|
3153
3153
|
try {
|
|
3154
3154
|
const ae = await xd(e, at(V));
|
|
3155
|
-
return
|
|
3155
|
+
return ee || (P(), k()), y(), ae;
|
|
3156
3156
|
} catch (ae) {
|
|
3157
3157
|
v({ message: `Couldn't delete item with id ${V}`, originalError: ae });
|
|
3158
3158
|
}
|
|
3159
3159
|
},
|
|
3160
3160
|
[k, P, e, y]
|
|
3161
|
-
),
|
|
3161
|
+
), J = Oe(
|
|
3162
3162
|
async (V) => {
|
|
3163
3163
|
try {
|
|
3164
3164
|
await Sp(V, e, f);
|
|
3165
|
-
} catch (
|
|
3166
|
-
v({ message: "Couldn't download", originalError:
|
|
3165
|
+
} catch (ee) {
|
|
3166
|
+
v({ message: "Couldn't download", originalError: ee });
|
|
3167
3167
|
}
|
|
3168
3168
|
},
|
|
3169
3169
|
[e, f]
|
|
@@ -3180,9 +3180,9 @@ function wp({
|
|
|
3180
3180
|
});
|
|
3181
3181
|
}, [u, ge, s]), Se(() => {
|
|
3182
3182
|
s && I && ge((V) => {
|
|
3183
|
-
let
|
|
3183
|
+
let ee = Object.keys(V.data).length;
|
|
3184
3184
|
const ae = { isEnd: !1 };
|
|
3185
|
-
return f.page <
|
|
3185
|
+
return f.page < ee ? (ee = f.page, ae.data = { [f.page]: I.result }) : ae.data = { ...V.data, [f.page]: I.result }, I.result.length < f.page_size ? (ae.isEnd = !0, ae.fetch = () => null) : ae.fetch = () => u({ page: ee + 1, streaming: !0 }), ae;
|
|
3186
3186
|
});
|
|
3187
3187
|
}, [I, u, ge, s]), {
|
|
3188
3188
|
path: e,
|
|
@@ -3199,7 +3199,7 @@ function wp({
|
|
|
3199
3199
|
addEntry: D,
|
|
3200
3200
|
updateEntry: M,
|
|
3201
3201
|
deleteEntry: z,
|
|
3202
|
-
download:
|
|
3202
|
+
download: J
|
|
3203
3203
|
};
|
|
3204
3204
|
}
|
|
3205
3205
|
const Cp = async (e, t, r) => {
|
|
@@ -6285,11 +6285,11 @@ function uu() {
|
|
|
6285
6285
|
t.isSupported = typeof au == "function" && typeof w == "function" && k && k.createHTMLDocument !== void 0;
|
|
6286
6286
|
const {
|
|
6287
6287
|
MUSTACHE_EXPR: z,
|
|
6288
|
-
ERB_EXPR:
|
|
6288
|
+
ERB_EXPR: J,
|
|
6289
6289
|
TMPLIT_EXPR: ie,
|
|
6290
6290
|
DATA_ATTR: ge,
|
|
6291
6291
|
ARIA_ATTR: V,
|
|
6292
|
-
IS_SCRIPT_OR_DATA:
|
|
6292
|
+
IS_SCRIPT_OR_DATA: ee,
|
|
6293
6293
|
ATTR_WHITESPACE: ae,
|
|
6294
6294
|
CUSTOM_ELEMENT: He
|
|
6295
6295
|
} = Fs;
|
|
@@ -6318,7 +6318,7 @@ function uu() {
|
|
|
6318
6318
|
enumerable: !0,
|
|
6319
6319
|
value: !1
|
|
6320
6320
|
}
|
|
6321
|
-
})), H = null, Y = null, K = !0,
|
|
6321
|
+
})), H = null, Y = null, K = !0, Z = !0, X = !1, $e = !0, R = !1, Pe = !0, F = !1, We = !1, Ze = !1, ct = !1, Gt = !1, wt = !1, dn = !0, pn = !1;
|
|
6322
6322
|
const Pr = "user-content-";
|
|
6323
6323
|
let Ir = !0, Yt = !1, Ct = {}, At = null;
|
|
6324
6324
|
const Dt = te({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -6351,7 +6351,7 @@ function uu() {
|
|
|
6351
6351
|
// eslint-disable-line indent
|
|
6352
6352
|
we
|
|
6353
6353
|
// eslint-disable-line indent
|
|
6354
|
-
) : Dr, At = gt(b, "FORBID_CONTENTS") ? te({}, b.FORBID_CONTENTS, we) : Dt, H = gt(b, "FORBID_TAGS") ? te({}, b.FORBID_TAGS, we) : {}, Y = gt(b, "FORBID_ATTR") ? te({}, b.FORBID_ATTR, we) : {}, Ct = gt(b, "USE_PROFILES") ? b.USE_PROFILES : !1, K = b.ALLOW_ARIA_ATTR !== !1,
|
|
6354
|
+
) : Dr, At = gt(b, "FORBID_CONTENTS") ? te({}, b.FORBID_CONTENTS, we) : Dt, H = gt(b, "FORBID_TAGS") ? te({}, b.FORBID_TAGS, we) : {}, Y = gt(b, "FORBID_ATTR") ? te({}, b.FORBID_ATTR, we) : {}, Ct = gt(b, "USE_PROFILES") ? b.USE_PROFILES : !1, K = b.ALLOW_ARIA_ATTR !== !1, Z = b.ALLOW_DATA_ATTR !== !1, X = b.ALLOW_UNKNOWN_PROTOCOLS || !1, $e = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, R = b.SAFE_FOR_TEMPLATES || !1, Pe = b.SAFE_FOR_XML !== !1, F = b.WHOLE_DOCUMENT || !1, ct = b.RETURN_DOM || !1, Gt = b.RETURN_DOM_FRAGMENT || !1, wt = b.RETURN_TRUSTED_TYPE || !1, Ze = b.FORCE_BODY || !1, dn = b.SANITIZE_DOM !== !1, pn = b.SANITIZE_NAMED_PROPS || !1, Ir = b.KEEP_CONTENT !== !1, Yt = b.IN_PLACE || !1, C = b.ALLOWED_URI_REGEXP || lu, Mt = b.NAMESPACE || mt, U = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && yn(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (U.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && yn(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (U.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (U.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), R && (Z = !1), Gt && (ct = !0), Ct && ($ = te({}, Ds), L = [], Ct.html === !0 && (te($, Is), te(L, Ms)), Ct.svg === !0 && (te($, Ki), te(L, Zi), te(L, In)), Ct.svgFilters === !0 && (te($, Xi), te(L, Zi), te(L, In)), Ct.mathMl === !0 && (te($, Ji), te(L, Ns), te(L, In))), b.ADD_TAGS && ($ === q && ($ = Xt($)), te($, b.ADD_TAGS, we)), b.ADD_ATTR && (L === G && (L = Xt(L)), te(L, b.ADD_ATTR, we)), b.ADD_URI_SAFE_ATTR && te(sr, b.ADD_URI_SAFE_ATTR, we), b.FORBID_CONTENTS && (At === Dt && (At = Xt(At)), te(At, b.FORBID_CONTENTS, we)), Ir && ($["#text"] = !0), F && te($, ["html", "head", "body"]), $.table && (te($, ["tbody"]), delete H.tbody), b.TRUSTED_TYPES_POLICY) {
|
|
6355
6355
|
if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
6356
6356
|
throw Vr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
6357
6357
|
if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -6367,8 +6367,8 @@ function uu() {
|
|
|
6367
6367
|
namespaceURI: Mt,
|
|
6368
6368
|
tagName: "template"
|
|
6369
6369
|
});
|
|
6370
|
-
const j = Bn(b.tagName),
|
|
6371
|
-
return Nr[b.namespaceURI] ? b.namespaceURI === ur ? E.namespaceURI === mt ? j === "svg" : E.namespaceURI === cr ? j === "svg" && (
|
|
6370
|
+
const j = Bn(b.tagName), Q = Bn(E.tagName);
|
|
6371
|
+
return Nr[b.namespaceURI] ? b.namespaceURI === ur ? E.namespaceURI === mt ? j === "svg" : E.namespaceURI === cr ? j === "svg" && (Q === "annotation-xml" || vn[Q]) : !!xn[j] : b.namespaceURI === cr ? E.namespaceURI === mt ? j === "math" : E.namespaceURI === ur ? j === "math" && Fr[Q] : !!_n[j] : b.namespaceURI === mt ? E.namespaceURI === ur && !Fr[Q] || E.namespaceURI === cr && !vn[Q] ? !1 : !_n[j] && (bn[j] || !xn[j]) : !!(Ot === "application/xhtml+xml" && Nr[b.namespaceURI]) : !1;
|
|
6372
6372
|
}, nt = function(b) {
|
|
6373
6373
|
Ur(t.removed, {
|
|
6374
6374
|
element: b
|
|
@@ -6410,16 +6410,16 @@ function uu() {
|
|
|
6410
6410
|
j = be && be[0];
|
|
6411
6411
|
}
|
|
6412
6412
|
Ot === "application/xhtml+xml" && Mt === mt && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
|
|
6413
|
-
const
|
|
6413
|
+
const Q = I ? I.createHTML(b) : b;
|
|
6414
6414
|
if (Mt === mt)
|
|
6415
6415
|
try {
|
|
6416
|
-
E = new p().parseFromString(
|
|
6416
|
+
E = new p().parseFromString(Q, Ot);
|
|
6417
6417
|
} catch {
|
|
6418
6418
|
}
|
|
6419
6419
|
if (!E || !E.documentElement) {
|
|
6420
6420
|
E = k.createDocument(Mt, "template", null);
|
|
6421
6421
|
try {
|
|
6422
|
-
E.documentElement.innerHTML = Mr ? _ :
|
|
6422
|
+
E.documentElement.innerHTML = Mr ? _ : Q;
|
|
6423
6423
|
} catch {
|
|
6424
6424
|
}
|
|
6425
6425
|
}
|
|
@@ -6438,8 +6438,8 @@ function uu() {
|
|
|
6438
6438
|
}, g = function(b) {
|
|
6439
6439
|
return typeof s == "function" && b instanceof s;
|
|
6440
6440
|
}, S = function(b, E, j) {
|
|
6441
|
-
M[b] && Pn(M[b], (
|
|
6442
|
-
|
|
6441
|
+
M[b] && Pn(M[b], (Q) => {
|
|
6442
|
+
Q.call(t, E, j, xt);
|
|
6443
6443
|
});
|
|
6444
6444
|
}, N = function(b) {
|
|
6445
6445
|
let E = null;
|
|
@@ -6455,26 +6455,26 @@ function uu() {
|
|
|
6455
6455
|
if (!H[j] && se(j) && (U.tagNameCheck instanceof RegExp && Ge(U.tagNameCheck, j) || U.tagNameCheck instanceof Function && U.tagNameCheck(j)))
|
|
6456
6456
|
return !1;
|
|
6457
6457
|
if (Ir && !At[j]) {
|
|
6458
|
-
const
|
|
6459
|
-
if (Ee &&
|
|
6458
|
+
const Q = w(b) || b.parentNode, Ee = P(b) || b.childNodes;
|
|
6459
|
+
if (Ee && Q) {
|
|
6460
6460
|
const be = Ee.length;
|
|
6461
6461
|
for (let me = be - 1; me >= 0; --me) {
|
|
6462
6462
|
const Qe = y(Ee[me], !0);
|
|
6463
|
-
Qe.__removalCount = (b.__removalCount || 0) + 1,
|
|
6463
|
+
Qe.__removalCount = (b.__removalCount || 0) + 1, Q.insertBefore(Qe, O(b));
|
|
6464
6464
|
}
|
|
6465
6465
|
}
|
|
6466
6466
|
}
|
|
6467
6467
|
return nt(b), !0;
|
|
6468
6468
|
}
|
|
6469
|
-
return b instanceof l && !Tn(b) || (j === "noscript" || j === "noembed" || j === "noframes") && Ge(/<\/no(script|embed|frames)/i, b.innerHTML) ? (nt(b), !0) : (R && b.nodeType === Wr.text && (E = b.textContent, Pn([z,
|
|
6470
|
-
E = Br(E,
|
|
6469
|
+
return b instanceof l && !Tn(b) || (j === "noscript" || j === "noembed" || j === "noframes") && Ge(/<\/no(script|embed|frames)/i, b.innerHTML) ? (nt(b), !0) : (R && b.nodeType === Wr.text && (E = b.textContent, Pn([z, J, ie], (Q) => {
|
|
6470
|
+
E = Br(E, Q, " ");
|
|
6471
6471
|
}), b.textContent !== E && (Ur(t.removed, {
|
|
6472
6472
|
element: b.cloneNode()
|
|
6473
6473
|
}), b.textContent = E)), S("afterSanitizeElements", b, null), !1);
|
|
6474
6474
|
}, W = function(b, E, j) {
|
|
6475
6475
|
if (dn && (E === "id" || E === "name") && (j in r || j in gn))
|
|
6476
6476
|
return !1;
|
|
6477
|
-
if (!(
|
|
6477
|
+
if (!(Z && !Y[E] && Ge(ge, E))) {
|
|
6478
6478
|
if (!(K && Ge(V, E))) {
|
|
6479
6479
|
if (!L[E] || Y[E]) {
|
|
6480
6480
|
if (
|
|
@@ -6488,7 +6488,7 @@ function uu() {
|
|
|
6488
6488
|
} else if (!sr[E]) {
|
|
6489
6489
|
if (!Ge(C, Br(j, ae, ""))) {
|
|
6490
6490
|
if (!((E === "src" || E === "xlink:href" || E === "href") && b !== "script" && bm(j, "data:") === 0 && hn[b])) {
|
|
6491
|
-
if (!(X && !Ge(
|
|
6491
|
+
if (!(X && !Ge(ee, Br(j, ae, "")))) {
|
|
6492
6492
|
if (j)
|
|
6493
6493
|
return !1;
|
|
6494
6494
|
}
|
|
@@ -6513,9 +6513,9 @@ function uu() {
|
|
|
6513
6513
|
keepAttr: !0,
|
|
6514
6514
|
allowedAttributes: L
|
|
6515
6515
|
};
|
|
6516
|
-
let
|
|
6517
|
-
for (;
|
|
6518
|
-
const Ee = E[
|
|
6516
|
+
let Q = E.length;
|
|
6517
|
+
for (; Q--; ) {
|
|
6518
|
+
const Ee = E[Q], {
|
|
6519
6519
|
name: be,
|
|
6520
6520
|
namespaceURI: me,
|
|
6521
6521
|
value: Qe
|
|
@@ -6531,7 +6531,7 @@ function uu() {
|
|
|
6531
6531
|
dr(be, b);
|
|
6532
6532
|
continue;
|
|
6533
6533
|
}
|
|
6534
|
-
R && Pn([z,
|
|
6534
|
+
R && Pn([z, J, ie], (Ga) => {
|
|
6535
6535
|
Me = Br(Me, Ga, " ");
|
|
6536
6536
|
});
|
|
6537
6537
|
const Wa = we(b.nodeName);
|
|
@@ -6562,7 +6562,7 @@ function uu() {
|
|
|
6562
6562
|
S("afterSanitizeShadowDOM", b, null);
|
|
6563
6563
|
};
|
|
6564
6564
|
return t.sanitize = function(A) {
|
|
6565
|
-
let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, E = null, j = null,
|
|
6565
|
+
let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, E = null, j = null, Q = null, Ee = null;
|
|
6566
6566
|
if (Mr = !A, Mr && (A = "<!-->"), typeof A != "string" && !g(A))
|
|
6567
6567
|
if (typeof A.toString == "function") {
|
|
6568
6568
|
if (A = A.toString(), typeof A != "string")
|
|
@@ -6588,8 +6588,8 @@ function uu() {
|
|
|
6588
6588
|
}
|
|
6589
6589
|
E && Ze && nt(E.firstChild);
|
|
6590
6590
|
const be = Sn(Yt ? A : E);
|
|
6591
|
-
for (;
|
|
6592
|
-
N(
|
|
6591
|
+
for (; Q = be.nextNode(); )
|
|
6592
|
+
N(Q) || (Q.content instanceof o && oe(Q.content), ue(Q));
|
|
6593
6593
|
if (Yt)
|
|
6594
6594
|
return A;
|
|
6595
6595
|
if (ct) {
|
|
@@ -6602,7 +6602,7 @@ function uu() {
|
|
|
6602
6602
|
}
|
|
6603
6603
|
let me = F ? E.outerHTML : E.innerHTML;
|
|
6604
6604
|
return F && $["!doctype"] && E.ownerDocument && E.ownerDocument.doctype && E.ownerDocument.doctype.name && Ge(cu, E.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + E.ownerDocument.doctype.name + `>
|
|
6605
|
-
` + me), R && Pn([z,
|
|
6605
|
+
` + me), R && Pn([z, J, ie], (Qe) => {
|
|
6606
6606
|
me = Br(me, Qe, " ");
|
|
6607
6607
|
}), I && wt ? I.createHTML(me) : me;
|
|
6608
6608
|
}, t.setConfig = function() {
|
|
@@ -6612,8 +6612,8 @@ function uu() {
|
|
|
6612
6612
|
xt = null, We = !1;
|
|
6613
6613
|
}, t.isValidAttribute = function(A, b, E) {
|
|
6614
6614
|
xt || fr({});
|
|
6615
|
-
const j = we(A),
|
|
6616
|
-
return W(j,
|
|
6615
|
+
const j = we(A), Q = we(b);
|
|
6616
|
+
return W(j, Q, E);
|
|
6617
6617
|
}, t.addHook = function(A, b) {
|
|
6618
6618
|
typeof b == "function" && (M[A] = M[A] || [], Ur(M[A], b));
|
|
6619
6619
|
}, t.removeHook = function(A) {
|
|
@@ -8454,7 +8454,7 @@ function eC() {
|
|
|
8454
8454
|
}
|
|
8455
8455
|
}
|
|
8456
8456
|
}
|
|
8457
|
-
var _ = l, k = c, B = s, ne = a, h = t, D = f, M = n, z = m,
|
|
8457
|
+
var _ = l, k = c, B = s, ne = a, h = t, D = f, M = n, z = m, J = v, ie = r, ge = o, V = i, ee = u, ae = !1;
|
|
8458
8458
|
function He(R) {
|
|
8459
8459
|
return ae || (ae = !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.")), C(R) || I(R) === l;
|
|
8460
8460
|
}
|
|
@@ -8485,7 +8485,7 @@ function eC() {
|
|
|
8485
8485
|
function K(R) {
|
|
8486
8486
|
return I(R) === r;
|
|
8487
8487
|
}
|
|
8488
|
-
function
|
|
8488
|
+
function Z(R) {
|
|
8489
8489
|
return I(R) === o;
|
|
8490
8490
|
}
|
|
8491
8491
|
function X(R) {
|
|
@@ -8494,7 +8494,7 @@ function eC() {
|
|
|
8494
8494
|
function $e(R) {
|
|
8495
8495
|
return I(R) === u;
|
|
8496
8496
|
}
|
|
8497
|
-
de.AsyncMode = _, de.ConcurrentMode = k, de.ContextConsumer = B, de.ContextProvider = ne, de.Element = h, de.ForwardRef = D, de.Fragment = M, de.Lazy = z, de.Memo =
|
|
8497
|
+
de.AsyncMode = _, de.ConcurrentMode = k, de.ContextConsumer = B, de.ContextProvider = ne, de.Element = h, de.ForwardRef = D, de.Fragment = M, de.Lazy = z, de.Memo = J, de.Portal = ie, de.Profiler = ge, de.StrictMode = V, de.Suspense = ee, de.isAsyncMode = He, de.isConcurrentMode = C, de.isContextConsumer = $, de.isContextProvider = q, de.isElement = L, de.isForwardRef = G, de.isFragment = U, de.isLazy = H, de.isMemo = Y, de.isPortal = K, de.isProfiler = Z, de.isStrictMode = X, de.isSuspense = $e, de.isValidElementType = w, de.typeOf = I;
|
|
8498
8498
|
}()), de;
|
|
8499
8499
|
}
|
|
8500
8500
|
var Sl;
|
|
@@ -8655,7 +8655,7 @@ function nC() {
|
|
|
8655
8655
|
oneOf: B,
|
|
8656
8656
|
oneOfType: h,
|
|
8657
8657
|
shape: z,
|
|
8658
|
-
exact:
|
|
8658
|
+
exact: J
|
|
8659
8659
|
};
|
|
8660
8660
|
function m(C, $) {
|
|
8661
8661
|
return C === $ ? C !== 0 || 1 / C === 1 / $ : C !== C && $ !== $;
|
|
@@ -8667,7 +8667,7 @@ function nC() {
|
|
|
8667
8667
|
function x(C) {
|
|
8668
8668
|
if (process.env.NODE_ENV !== "production")
|
|
8669
8669
|
var $ = {}, q = 0;
|
|
8670
|
-
function L(U, H, Y, K,
|
|
8670
|
+
function L(U, H, Y, K, Z, X, $e) {
|
|
8671
8671
|
if (K = K || p, X = X || Y, $e !== r) {
|
|
8672
8672
|
if (l) {
|
|
8673
8673
|
var R = new Error(
|
|
@@ -8682,16 +8682,16 @@ function nC() {
|
|
|
8682
8682
|
), $[Pe] = !0, q++);
|
|
8683
8683
|
}
|
|
8684
8684
|
}
|
|
8685
|
-
return H[Y] == null ? U ? H[Y] === null ? new y("The " +
|
|
8685
|
+
return H[Y] == null ? U ? H[Y] === null ? new y("The " + Z + " `" + X + "` is marked as required " + ("in `" + K + "`, but its value is `null`.")) : new y("The " + Z + " `" + X + "` is marked as required in " + ("`" + K + "`, but its value is `undefined`.")) : null : C(H, Y, K, Z, X);
|
|
8686
8686
|
}
|
|
8687
8687
|
var G = L.bind(null, !1);
|
|
8688
8688
|
return G.isRequired = L.bind(null, !0), G;
|
|
8689
8689
|
}
|
|
8690
8690
|
function O(C) {
|
|
8691
8691
|
function $(q, L, G, U, H, Y) {
|
|
8692
|
-
var K = q[L],
|
|
8693
|
-
if (
|
|
8694
|
-
var X =
|
|
8692
|
+
var K = q[L], Z = V(K);
|
|
8693
|
+
if (Z !== C) {
|
|
8694
|
+
var X = ee(K);
|
|
8695
8695
|
return new y(
|
|
8696
8696
|
"Invalid " + U + " `" + H + "` of type " + ("`" + X + "` supplied to `" + G + "`, expected ") + ("`" + C + "`."),
|
|
8697
8697
|
{ expectedType: C }
|
|
@@ -8713,8 +8713,8 @@ function nC() {
|
|
|
8713
8713
|
var K = V(Y);
|
|
8714
8714
|
return new y("Invalid " + U + " `" + H + "` of type " + ("`" + K + "` supplied to `" + G + "`, expected an array."));
|
|
8715
8715
|
}
|
|
8716
|
-
for (var
|
|
8717
|
-
var X = C(Y,
|
|
8716
|
+
for (var Z = 0; Z < Y.length; Z++) {
|
|
8717
|
+
var X = C(Y, Z, G, U, H + "[" + Z + "]", r);
|
|
8718
8718
|
if (X instanceof Error)
|
|
8719
8719
|
return X;
|
|
8720
8720
|
}
|
|
@@ -8763,11 +8763,11 @@ function nC() {
|
|
|
8763
8763
|
for (var Y = q[L], K = 0; K < C.length; K++)
|
|
8764
8764
|
if (m(Y, C[K]))
|
|
8765
8765
|
return null;
|
|
8766
|
-
var
|
|
8767
|
-
var Pe =
|
|
8766
|
+
var Z = JSON.stringify(C, function($e, R) {
|
|
8767
|
+
var Pe = ee(R);
|
|
8768
8768
|
return Pe === "symbol" ? String(R) : R;
|
|
8769
8769
|
});
|
|
8770
|
-
return new y("Invalid " + U + " `" + H + "` of value `" + String(Y) + "` " + ("supplied to `" + G + "`, expected one of " +
|
|
8770
|
+
return new y("Invalid " + U + " `" + H + "` of value `" + String(Y) + "` " + ("supplied to `" + G + "`, expected one of " + Z + "."));
|
|
8771
8771
|
}
|
|
8772
8772
|
return x($);
|
|
8773
8773
|
}
|
|
@@ -8778,9 +8778,9 @@ function nC() {
|
|
|
8778
8778
|
var Y = q[L], K = V(Y);
|
|
8779
8779
|
if (K !== "object")
|
|
8780
8780
|
return new y("Invalid " + U + " `" + H + "` of type " + ("`" + K + "` supplied to `" + G + "`, expected an object."));
|
|
8781
|
-
for (var
|
|
8782
|
-
if (n(Y,
|
|
8783
|
-
var X = C(Y,
|
|
8781
|
+
for (var Z in Y)
|
|
8782
|
+
if (n(Y, Z)) {
|
|
8783
|
+
var X = C(Y, Z, G, U, H + "." + Z, r);
|
|
8784
8784
|
if (X instanceof Error)
|
|
8785
8785
|
return X;
|
|
8786
8786
|
}
|
|
@@ -8799,13 +8799,13 @@ function nC() {
|
|
|
8799
8799
|
), a;
|
|
8800
8800
|
}
|
|
8801
8801
|
function L(G, U, H, Y, K) {
|
|
8802
|
-
for (var
|
|
8802
|
+
for (var Z = [], X = 0; X < C.length; X++) {
|
|
8803
8803
|
var $e = C[X], R = $e(G, U, H, Y, K, r);
|
|
8804
8804
|
if (R == null)
|
|
8805
8805
|
return null;
|
|
8806
|
-
R.data && n(R.data, "expectedType") &&
|
|
8806
|
+
R.data && n(R.data, "expectedType") && Z.push(R.data.expectedType);
|
|
8807
8807
|
}
|
|
8808
|
-
var Pe =
|
|
8808
|
+
var Pe = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
|
|
8809
8809
|
return new y("Invalid " + Y + " `" + K + "` supplied to " + ("`" + H + "`" + Pe + "."));
|
|
8810
8810
|
}
|
|
8811
8811
|
return x(L);
|
|
@@ -8826,11 +8826,11 @@ function nC() {
|
|
|
8826
8826
|
var Y = q[L], K = V(Y);
|
|
8827
8827
|
if (K !== "object")
|
|
8828
8828
|
return new y("Invalid " + U + " `" + H + "` of type `" + K + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
8829
|
-
for (var
|
|
8830
|
-
var X = C[
|
|
8829
|
+
for (var Z in C) {
|
|
8830
|
+
var X = C[Z];
|
|
8831
8831
|
if (typeof X != "function")
|
|
8832
|
-
return M(G, U, H,
|
|
8833
|
-
var $e = X(Y,
|
|
8832
|
+
return M(G, U, H, Z, ee(X));
|
|
8833
|
+
var $e = X(Y, Z, G, U, H + "." + Z, r);
|
|
8834
8834
|
if ($e)
|
|
8835
8835
|
return $e;
|
|
8836
8836
|
}
|
|
@@ -8838,16 +8838,16 @@ function nC() {
|
|
|
8838
8838
|
}
|
|
8839
8839
|
return x($);
|
|
8840
8840
|
}
|
|
8841
|
-
function
|
|
8841
|
+
function J(C) {
|
|
8842
8842
|
function $(q, L, G, U, H) {
|
|
8843
8843
|
var Y = q[L], K = V(Y);
|
|
8844
8844
|
if (K !== "object")
|
|
8845
8845
|
return new y("Invalid " + U + " `" + H + "` of type `" + K + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
8846
|
-
var
|
|
8847
|
-
for (var X in
|
|
8846
|
+
var Z = t({}, q[L], C);
|
|
8847
|
+
for (var X in Z) {
|
|
8848
8848
|
var $e = C[X];
|
|
8849
8849
|
if (n(C, X) && typeof $e != "function")
|
|
8850
|
-
return M(G, U, H, X,
|
|
8850
|
+
return M(G, U, H, X, ee($e));
|
|
8851
8851
|
if (!$e)
|
|
8852
8852
|
return new y(
|
|
8853
8853
|
"Invalid " + U + " `" + H + "` key `" + X + "` supplied to `" + G + "`.\nBad object: " + JSON.stringify(q[L], null, " ") + `
|
|
@@ -8901,7 +8901,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
8901
8901
|
var $ = typeof C;
|
|
8902
8902
|
return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : ge($, C) ? "symbol" : $;
|
|
8903
8903
|
}
|
|
8904
|
-
function
|
|
8904
|
+
function ee(C) {
|
|
8905
8905
|
if (typeof C > "u" || C === null)
|
|
8906
8906
|
return "" + C;
|
|
8907
8907
|
var $ = V(C);
|
|
@@ -8914,7 +8914,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
8914
8914
|
return $;
|
|
8915
8915
|
}
|
|
8916
8916
|
function ae(C) {
|
|
8917
|
-
var $ =
|
|
8917
|
+
var $ = ee(C);
|
|
8918
8918
|
switch ($) {
|
|
8919
8919
|
case "array":
|
|
8920
8920
|
case "object":
|
|
@@ -9126,7 +9126,7 @@ function cC() {
|
|
|
9126
9126
|
}
|
|
9127
9127
|
}
|
|
9128
9128
|
}
|
|
9129
|
-
var k = a, B = o, ne = e, h = l, D = r, M = p, z = u,
|
|
9129
|
+
var k = a, B = o, ne = e, h = l, D = r, M = p, z = u, J = t, ie = i, ge = n, V = c, ee = f, ae = !1, He = !1;
|
|
9130
9130
|
function C(F) {
|
|
9131
9131
|
return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
9132
9132
|
}
|
|
@@ -9154,7 +9154,7 @@ function cC() {
|
|
|
9154
9154
|
function K(F) {
|
|
9155
9155
|
return _(F) === u;
|
|
9156
9156
|
}
|
|
9157
|
-
function
|
|
9157
|
+
function Z(F) {
|
|
9158
9158
|
return _(F) === t;
|
|
9159
9159
|
}
|
|
9160
9160
|
function X(F) {
|
|
@@ -9169,7 +9169,7 @@ function cC() {
|
|
|
9169
9169
|
function Pe(F) {
|
|
9170
9170
|
return _(F) === f;
|
|
9171
9171
|
}
|
|
9172
|
-
he.ContextConsumer = k, he.ContextProvider = B, he.Element = ne, he.ForwardRef = h, he.Fragment = D, he.Lazy = M, he.Memo = z, he.Portal =
|
|
9172
|
+
he.ContextConsumer = k, he.ContextProvider = B, he.Element = ne, he.ForwardRef = h, he.Fragment = D, he.Lazy = M, he.Memo = z, he.Portal = J, he.Profiler = ie, he.StrictMode = ge, he.Suspense = V, he.SuspenseList = ee, he.isAsyncMode = C, he.isConcurrentMode = $, he.isContextConsumer = q, he.isContextProvider = L, he.isElement = G, he.isForwardRef = U, he.isFragment = H, he.isLazy = Y, he.isMemo = K, he.isPortal = Z, he.isProfiler = X, he.isStrictMode = $e, he.isSuspense = R, he.isSuspenseList = Pe, he.isValidElementType = I, he.typeOf = _;
|
|
9173
9173
|
}()), he;
|
|
9174
9174
|
}
|
|
9175
9175
|
process.env.NODE_ENV === "production" ? Lo.exports = lC() : Lo.exports = cC();
|
|
@@ -10063,7 +10063,7 @@ function yf(e) {
|
|
|
10063
10063
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
10064
10064
|
};
|
|
10065
10065
|
}
|
|
10066
|
-
var fA = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, dA = /* @__PURE__ */ yf(
|
|
10066
|
+
var fA = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, dA = /* @__PURE__ */ yf(
|
|
10067
10067
|
function(e) {
|
|
10068
10068
|
return fA.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
10069
10069
|
}
|
|
@@ -10072,7 +10072,7 @@ var fA = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
10072
10072
|
function hA(e, t, r) {
|
|
10073
10073
|
var n = "";
|
|
10074
10074
|
return r.split(" ").forEach(function(i) {
|
|
10075
|
-
e[i] !== void 0 ? t.push(e[i] + ";") : n += i + " ";
|
|
10075
|
+
e[i] !== void 0 ? t.push(e[i] + ";") : i && (n += i + " ");
|
|
10076
10076
|
}), n;
|
|
10077
10077
|
}
|
|
10078
10078
|
var vf = function(t, r, n) {
|
|
@@ -10265,7 +10265,7 @@ function TA(e, t, r) {
|
|
|
10265
10265
|
}
|
|
10266
10266
|
return n;
|
|
10267
10267
|
}
|
|
10268
|
-
var zl = /label:\s*([^\s
|
|
10268
|
+
var zl = /label:\s*([^\s;{]+)\s*(;|$)/g, Et;
|
|
10269
10269
|
function EA(e, t, r) {
|
|
10270
10270
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
10271
10271
|
return e[0];
|
|
@@ -10724,16 +10724,16 @@ function UA(e = {}) {
|
|
|
10724
10724
|
let ne = I(k);
|
|
10725
10725
|
const h = B ? B.map(I) : [];
|
|
10726
10726
|
c && v && h.push((z) => {
|
|
10727
|
-
const
|
|
10728
|
-
if (!
|
|
10727
|
+
const J = Vo(t, z.theme, r);
|
|
10728
|
+
if (!J.components || !J.components[c] || !J.components[c].styleOverrides)
|
|
10729
10729
|
return null;
|
|
10730
|
-
const ie =
|
|
10731
|
-
for (const
|
|
10732
|
-
ge[
|
|
10730
|
+
const ie = J.components[c].styleOverrides, ge = {}, V = Nn(z, t, r);
|
|
10731
|
+
for (const ee in ie)
|
|
10732
|
+
ge[ee] = Hn(ie[ee], V);
|
|
10733
10733
|
return v(z, ge);
|
|
10734
10734
|
}), c && !y && h.push((z) => {
|
|
10735
10735
|
var ge, V;
|
|
10736
|
-
const
|
|
10736
|
+
const J = Vo(t, z.theme, r), ie = (V = (ge = J == null ? void 0 : J.components) == null ? void 0 : ge[c]) == null ? void 0 : V.variants;
|
|
10737
10737
|
return ie ? Hn({
|
|
10738
10738
|
variants: ie
|
|
10739
10739
|
}, Nn(z, t, r)) : null;
|
|
@@ -11065,15 +11065,15 @@ function eO(e, t = {}) {
|
|
|
11065
11065
|
css: M
|
|
11066
11066
|
}]) => {
|
|
11067
11067
|
var ie, ge;
|
|
11068
|
-
const z = (ge = (ie = o[D]) == null ? void 0 : ie.palette) == null ? void 0 : ge.mode,
|
|
11068
|
+
const z = (ge = (ie = o[D]) == null ? void 0 : ie.palette) == null ? void 0 : ge.mode, J = !n && z ? {
|
|
11069
11069
|
colorScheme: z,
|
|
11070
11070
|
...M
|
|
11071
11071
|
} : {
|
|
11072
11072
|
...M
|
|
11073
11073
|
};
|
|
11074
11074
|
_(r(D, {
|
|
11075
|
-
...
|
|
11076
|
-
}),
|
|
11075
|
+
...J
|
|
11076
|
+
}), J);
|
|
11077
11077
|
}), w;
|
|
11078
11078
|
}
|
|
11079
11079
|
};
|
|
@@ -11870,8 +11870,8 @@ function PO(e = {}, ...t) {
|
|
|
11870
11870
|
};
|
|
11871
11871
|
Object.keys(w.colorSchemes).forEach((ne) => {
|
|
11872
11872
|
const h = w.colorSchemes[ne].palette, D = (M) => {
|
|
11873
|
-
const z = M.split("-"),
|
|
11874
|
-
return u(M, h[
|
|
11873
|
+
const z = M.split("-"), J = z[1], ie = z[2];
|
|
11874
|
+
return u(M, h[J][ie]);
|
|
11875
11875
|
};
|
|
11876
11876
|
if (h.mode === "light" && (T(h.common, "background", "#fff"), T(h.common, "onBackground", "#000")), h.mode === "dark" && (T(h.common, "background", "#000"), T(h.common, "onBackground", "#fff")), kO(h, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), h.mode === "light") {
|
|
11877
11877
|
T(h.Alert, "errorColor", ye(h.error.light, 0.6)), T(h.Alert, "infoColor", ye(h.info.light, 0.6)), T(h.Alert, "successColor", ye(h.success.light, 0.6)), T(h.Alert, "warningColor", ye(h.warning.light, 0.6)), T(h.Alert, "errorFilledBg", D("palette-error-main")), T(h.Alert, "infoFilledBg", D("palette-info-main")), T(h.Alert, "successFilledBg", D("palette-success-main")), T(h.Alert, "warningFilledBg", D("palette-warning-main")), T(h.Alert, "errorFilledColor", _t(() => h.getContrastText(h.error.main))), T(h.Alert, "infoFilledColor", _t(() => h.getContrastText(h.info.main))), T(h.Alert, "successFilledColor", _t(() => h.getContrastText(h.success.main))), T(h.Alert, "warningFilledColor", _t(() => h.getContrastText(h.warning.main))), T(h.Alert, "errorStandardBg", ve(h.error.light, 0.9)), T(h.Alert, "infoStandardBg", ve(h.info.light, 0.9)), T(h.Alert, "successStandardBg", ve(h.success.light, 0.9)), T(h.Alert, "warningStandardBg", ve(h.warning.light, 0.9)), T(h.Alert, "errorIconColor", D("palette-error-main")), T(h.Alert, "infoIconColor", D("palette-info-main")), T(h.Alert, "successIconColor", D("palette-success-main")), T(h.Alert, "warningIconColor", D("palette-warning-main")), T(h.AppBar, "defaultBg", D("palette-grey-100")), T(h.Avatar, "defaultBg", D("palette-grey-400")), T(h.Button, "inheritContainedBg", D("palette-grey-300")), T(h.Button, "inheritContainedHoverBg", D("palette-grey-A100")), T(h.Chip, "defaultBorder", D("palette-grey-400")), T(h.Chip, "defaultAvatarColor", D("palette-grey-700")), T(h.Chip, "defaultIconColor", D("palette-grey-700")), T(h.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), T(h.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), T(h.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), T(h.LinearProgress, "primaryBg", ve(h.primary.main, 0.62)), T(h.LinearProgress, "secondaryBg", ve(h.secondary.main, 0.62)), T(h.LinearProgress, "errorBg", ve(h.error.main, 0.62)), T(h.LinearProgress, "infoBg", ve(h.info.main, 0.62)), T(h.LinearProgress, "successBg", ve(h.success.main, 0.62)), T(h.LinearProgress, "warningBg", ve(h.warning.main, 0.62)), T(h.Skeleton, "bg", `rgba(${D("palette-text-primaryChannel")} / 0.11)`), T(h.Slider, "primaryTrack", ve(h.primary.main, 0.62)), T(h.Slider, "secondaryTrack", ve(h.secondary.main, 0.62)), T(h.Slider, "errorTrack", ve(h.error.main, 0.62)), T(h.Slider, "infoTrack", ve(h.info.main, 0.62)), T(h.Slider, "successTrack", ve(h.success.main, 0.62)), T(h.Slider, "warningTrack", ve(h.warning.main, 0.62));
|