fastapi-rtk 0.0.70 → 0.0.72
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 +126 -128
- 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 _ = {
|
|
@@ -3042,7 +3042,7 @@ const Sp = async (e, t, r) => {
|
|
|
3042
3042
|
const { fetchPath: n, options: i } = Ye({ path: je(t, "/download"), method: "POST" }), o = await fetch(n, { ...i, body: JSON.stringify(r) });
|
|
3043
3043
|
let a = null;
|
|
3044
3044
|
const s = o.headers.get("content-type");
|
|
3045
|
-
if (s && s.includes("application/json") ? a = await o.json() :
|
|
3045
|
+
if (s && s.includes("application/json") ? a = await o.json() : a = await o.blob(), !o.ok)
|
|
3046
3046
|
throw typeof a == "object" ? new Error(typeof a.detail == "string" ? a.detail : JSON.stringify(a, null, 2)) : new Error(a);
|
|
3047
3047
|
const l = document.createElement("a"), c = URL.createObjectURL(a);
|
|
3048
3048
|
l.href = c, l.download = e.toLowerCase() + ".csv", l.click();
|
|
@@ -3069,16 +3069,14 @@ function wp({
|
|
|
3069
3069
|
} : l,
|
|
3070
3070
|
[r, l]
|
|
3071
3071
|
), u = Oe(
|
|
3072
|
-
(V) => c((
|
|
3073
|
-
if (!
|
|
3072
|
+
(V) => c((ee) => {
|
|
3073
|
+
if (!ee)
|
|
3074
3074
|
return An(null, V);
|
|
3075
|
-
const ae = An({ ...
|
|
3076
|
-
if (JSON.stringify(ae) === JSON.stringify(J))
|
|
3077
|
-
return J;
|
|
3075
|
+
const ae = An({ ...ee }, V);
|
|
3078
3076
|
if (s) {
|
|
3079
|
-
if (V.page && V.page !==
|
|
3077
|
+
if (V.page && V.page !== ee.page && !V.streaming)
|
|
3080
3078
|
throw new Error("You cannot change page in streaming mode, use streaming.fetch() instead");
|
|
3081
|
-
if (V.page_size && V.page_size !==
|
|
3079
|
+
if (V.page_size && V.page_size !== ee.page_size)
|
|
3082
3080
|
throw new Error("You cannot change page size in streaming mode, use streaming.fetch() instead");
|
|
3083
3081
|
(V.filters || V.order_column || V.order_direction) && (ae.page = 0);
|
|
3084
3082
|
}
|
|
@@ -3121,27 +3119,27 @@ function wp({
|
|
|
3121
3119
|
const h = Oe(
|
|
3122
3120
|
async (V) => {
|
|
3123
3121
|
try {
|
|
3124
|
-
const
|
|
3125
|
-
return y(),
|
|
3126
|
-
} catch (
|
|
3127
|
-
v({ message: `Couldn't fetch item with id ${V}`, originalError:
|
|
3122
|
+
const ee = await _d(e, at(V));
|
|
3123
|
+
return y(), ee;
|
|
3124
|
+
} catch (ee) {
|
|
3125
|
+
v({ message: `Couldn't fetch item with id ${V}`, originalError: ee });
|
|
3128
3126
|
}
|
|
3129
3127
|
},
|
|
3130
3128
|
[e, y]
|
|
3131
3129
|
), D = Oe(
|
|
3132
|
-
async (V,
|
|
3130
|
+
async (V, ee) => {
|
|
3133
3131
|
try {
|
|
3134
3132
|
const ae = await bd(e, V);
|
|
3135
|
-
return
|
|
3133
|
+
return ee || (P(), k()), y(), ae;
|
|
3136
3134
|
} catch (ae) {
|
|
3137
3135
|
v({ message: "Couldn't add item", originalError: ae });
|
|
3138
3136
|
}
|
|
3139
3137
|
},
|
|
3140
3138
|
[k, P, e, y]
|
|
3141
3139
|
), M = Oe(
|
|
3142
|
-
async (V,
|
|
3140
|
+
async (V, ee, ae) => {
|
|
3143
3141
|
try {
|
|
3144
|
-
const He = await Td(e, at(V),
|
|
3142
|
+
const He = await Td(e, at(V), ee);
|
|
3145
3143
|
return ae || (P(), k()), y(), He;
|
|
3146
3144
|
} catch (He) {
|
|
3147
3145
|
v({ message: `Couldn't update item with id ${V}`, originalError: He });
|
|
@@ -3149,21 +3147,21 @@ function wp({
|
|
|
3149
3147
|
},
|
|
3150
3148
|
[k, P, e, y]
|
|
3151
3149
|
), z = Oe(
|
|
3152
|
-
async (V,
|
|
3150
|
+
async (V, ee) => {
|
|
3153
3151
|
try {
|
|
3154
3152
|
const ae = await xd(e, at(V));
|
|
3155
|
-
return
|
|
3153
|
+
return ee || (P(), k()), y(), ae;
|
|
3156
3154
|
} catch (ae) {
|
|
3157
3155
|
v({ message: `Couldn't delete item with id ${V}`, originalError: ae });
|
|
3158
3156
|
}
|
|
3159
3157
|
},
|
|
3160
3158
|
[k, P, e, y]
|
|
3161
|
-
),
|
|
3159
|
+
), J = Oe(
|
|
3162
3160
|
async (V) => {
|
|
3163
3161
|
try {
|
|
3164
3162
|
await Sp(V, e, f);
|
|
3165
|
-
} catch (
|
|
3166
|
-
v({ message: "Couldn't download", originalError:
|
|
3163
|
+
} catch (ee) {
|
|
3164
|
+
v({ message: "Couldn't download", originalError: ee });
|
|
3167
3165
|
}
|
|
3168
3166
|
},
|
|
3169
3167
|
[e, f]
|
|
@@ -3180,9 +3178,9 @@ function wp({
|
|
|
3180
3178
|
});
|
|
3181
3179
|
}, [u, ge, s]), Se(() => {
|
|
3182
3180
|
s && I && ge((V) => {
|
|
3183
|
-
let
|
|
3181
|
+
let ee = Object.keys(V.data).length;
|
|
3184
3182
|
const ae = { isEnd: !1 };
|
|
3185
|
-
return f.page <
|
|
3183
|
+
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
3184
|
});
|
|
3187
3185
|
}, [I, u, ge, s]), {
|
|
3188
3186
|
path: e,
|
|
@@ -3199,7 +3197,7 @@ function wp({
|
|
|
3199
3197
|
addEntry: D,
|
|
3200
3198
|
updateEntry: M,
|
|
3201
3199
|
deleteEntry: z,
|
|
3202
|
-
download:
|
|
3200
|
+
download: J
|
|
3203
3201
|
};
|
|
3204
3202
|
}
|
|
3205
3203
|
const Cp = async (e, t, r) => {
|
|
@@ -6285,11 +6283,11 @@ function uu() {
|
|
|
6285
6283
|
t.isSupported = typeof au == "function" && typeof w == "function" && k && k.createHTMLDocument !== void 0;
|
|
6286
6284
|
const {
|
|
6287
6285
|
MUSTACHE_EXPR: z,
|
|
6288
|
-
ERB_EXPR:
|
|
6286
|
+
ERB_EXPR: J,
|
|
6289
6287
|
TMPLIT_EXPR: ie,
|
|
6290
6288
|
DATA_ATTR: ge,
|
|
6291
6289
|
ARIA_ATTR: V,
|
|
6292
|
-
IS_SCRIPT_OR_DATA:
|
|
6290
|
+
IS_SCRIPT_OR_DATA: ee,
|
|
6293
6291
|
ATTR_WHITESPACE: ae,
|
|
6294
6292
|
CUSTOM_ELEMENT: He
|
|
6295
6293
|
} = Fs;
|
|
@@ -6318,7 +6316,7 @@ function uu() {
|
|
|
6318
6316
|
enumerable: !0,
|
|
6319
6317
|
value: !1
|
|
6320
6318
|
}
|
|
6321
|
-
})), H = null, Y = null, K = !0,
|
|
6319
|
+
})), 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
6320
|
const Pr = "user-content-";
|
|
6323
6321
|
let Ir = !0, Yt = !1, Ct = {}, At = null;
|
|
6324
6322
|
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 +6349,7 @@ function uu() {
|
|
|
6351
6349
|
// eslint-disable-line indent
|
|
6352
6350
|
we
|
|
6353
6351
|
// 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,
|
|
6352
|
+
) : 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
6353
|
if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
6356
6354
|
throw Vr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
6357
6355
|
if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -6367,8 +6365,8 @@ function uu() {
|
|
|
6367
6365
|
namespaceURI: Mt,
|
|
6368
6366
|
tagName: "template"
|
|
6369
6367
|
});
|
|
6370
|
-
const j = Bn(b.tagName),
|
|
6371
|
-
return Nr[b.namespaceURI] ? b.namespaceURI === ur ? E.namespaceURI === mt ? j === "svg" : E.namespaceURI === cr ? j === "svg" && (
|
|
6368
|
+
const j = Bn(b.tagName), Q = Bn(E.tagName);
|
|
6369
|
+
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
6370
|
}, nt = function(b) {
|
|
6373
6371
|
Ur(t.removed, {
|
|
6374
6372
|
element: b
|
|
@@ -6410,16 +6408,16 @@ function uu() {
|
|
|
6410
6408
|
j = be && be[0];
|
|
6411
6409
|
}
|
|
6412
6410
|
Ot === "application/xhtml+xml" && Mt === mt && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
|
|
6413
|
-
const
|
|
6411
|
+
const Q = I ? I.createHTML(b) : b;
|
|
6414
6412
|
if (Mt === mt)
|
|
6415
6413
|
try {
|
|
6416
|
-
E = new p().parseFromString(
|
|
6414
|
+
E = new p().parseFromString(Q, Ot);
|
|
6417
6415
|
} catch {
|
|
6418
6416
|
}
|
|
6419
6417
|
if (!E || !E.documentElement) {
|
|
6420
6418
|
E = k.createDocument(Mt, "template", null);
|
|
6421
6419
|
try {
|
|
6422
|
-
E.documentElement.innerHTML = Mr ? _ :
|
|
6420
|
+
E.documentElement.innerHTML = Mr ? _ : Q;
|
|
6423
6421
|
} catch {
|
|
6424
6422
|
}
|
|
6425
6423
|
}
|
|
@@ -6438,8 +6436,8 @@ function uu() {
|
|
|
6438
6436
|
}, g = function(b) {
|
|
6439
6437
|
return typeof s == "function" && b instanceof s;
|
|
6440
6438
|
}, S = function(b, E, j) {
|
|
6441
|
-
M[b] && Pn(M[b], (
|
|
6442
|
-
|
|
6439
|
+
M[b] && Pn(M[b], (Q) => {
|
|
6440
|
+
Q.call(t, E, j, xt);
|
|
6443
6441
|
});
|
|
6444
6442
|
}, N = function(b) {
|
|
6445
6443
|
let E = null;
|
|
@@ -6455,26 +6453,26 @@ function uu() {
|
|
|
6455
6453
|
if (!H[j] && se(j) && (U.tagNameCheck instanceof RegExp && Ge(U.tagNameCheck, j) || U.tagNameCheck instanceof Function && U.tagNameCheck(j)))
|
|
6456
6454
|
return !1;
|
|
6457
6455
|
if (Ir && !At[j]) {
|
|
6458
|
-
const
|
|
6459
|
-
if (Ee &&
|
|
6456
|
+
const Q = w(b) || b.parentNode, Ee = P(b) || b.childNodes;
|
|
6457
|
+
if (Ee && Q) {
|
|
6460
6458
|
const be = Ee.length;
|
|
6461
6459
|
for (let me = be - 1; me >= 0; --me) {
|
|
6462
6460
|
const Qe = y(Ee[me], !0);
|
|
6463
|
-
Qe.__removalCount = (b.__removalCount || 0) + 1,
|
|
6461
|
+
Qe.__removalCount = (b.__removalCount || 0) + 1, Q.insertBefore(Qe, O(b));
|
|
6464
6462
|
}
|
|
6465
6463
|
}
|
|
6466
6464
|
}
|
|
6467
6465
|
return nt(b), !0;
|
|
6468
6466
|
}
|
|
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,
|
|
6467
|
+
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) => {
|
|
6468
|
+
E = Br(E, Q, " ");
|
|
6471
6469
|
}), b.textContent !== E && (Ur(t.removed, {
|
|
6472
6470
|
element: b.cloneNode()
|
|
6473
6471
|
}), b.textContent = E)), S("afterSanitizeElements", b, null), !1);
|
|
6474
6472
|
}, W = function(b, E, j) {
|
|
6475
6473
|
if (dn && (E === "id" || E === "name") && (j in r || j in gn))
|
|
6476
6474
|
return !1;
|
|
6477
|
-
if (!(
|
|
6475
|
+
if (!(Z && !Y[E] && Ge(ge, E))) {
|
|
6478
6476
|
if (!(K && Ge(V, E))) {
|
|
6479
6477
|
if (!L[E] || Y[E]) {
|
|
6480
6478
|
if (
|
|
@@ -6488,7 +6486,7 @@ function uu() {
|
|
|
6488
6486
|
} else if (!sr[E]) {
|
|
6489
6487
|
if (!Ge(C, Br(j, ae, ""))) {
|
|
6490
6488
|
if (!((E === "src" || E === "xlink:href" || E === "href") && b !== "script" && bm(j, "data:") === 0 && hn[b])) {
|
|
6491
|
-
if (!(X && !Ge(
|
|
6489
|
+
if (!(X && !Ge(ee, Br(j, ae, "")))) {
|
|
6492
6490
|
if (j)
|
|
6493
6491
|
return !1;
|
|
6494
6492
|
}
|
|
@@ -6513,9 +6511,9 @@ function uu() {
|
|
|
6513
6511
|
keepAttr: !0,
|
|
6514
6512
|
allowedAttributes: L
|
|
6515
6513
|
};
|
|
6516
|
-
let
|
|
6517
|
-
for (;
|
|
6518
|
-
const Ee = E[
|
|
6514
|
+
let Q = E.length;
|
|
6515
|
+
for (; Q--; ) {
|
|
6516
|
+
const Ee = E[Q], {
|
|
6519
6517
|
name: be,
|
|
6520
6518
|
namespaceURI: me,
|
|
6521
6519
|
value: Qe
|
|
@@ -6531,7 +6529,7 @@ function uu() {
|
|
|
6531
6529
|
dr(be, b);
|
|
6532
6530
|
continue;
|
|
6533
6531
|
}
|
|
6534
|
-
R && Pn([z,
|
|
6532
|
+
R && Pn([z, J, ie], (Ga) => {
|
|
6535
6533
|
Me = Br(Me, Ga, " ");
|
|
6536
6534
|
});
|
|
6537
6535
|
const Wa = we(b.nodeName);
|
|
@@ -6562,7 +6560,7 @@ function uu() {
|
|
|
6562
6560
|
S("afterSanitizeShadowDOM", b, null);
|
|
6563
6561
|
};
|
|
6564
6562
|
return t.sanitize = function(A) {
|
|
6565
|
-
let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, E = null, j = null,
|
|
6563
|
+
let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, E = null, j = null, Q = null, Ee = null;
|
|
6566
6564
|
if (Mr = !A, Mr && (A = "<!-->"), typeof A != "string" && !g(A))
|
|
6567
6565
|
if (typeof A.toString == "function") {
|
|
6568
6566
|
if (A = A.toString(), typeof A != "string")
|
|
@@ -6588,8 +6586,8 @@ function uu() {
|
|
|
6588
6586
|
}
|
|
6589
6587
|
E && Ze && nt(E.firstChild);
|
|
6590
6588
|
const be = Sn(Yt ? A : E);
|
|
6591
|
-
for (;
|
|
6592
|
-
N(
|
|
6589
|
+
for (; Q = be.nextNode(); )
|
|
6590
|
+
N(Q) || (Q.content instanceof o && oe(Q.content), ue(Q));
|
|
6593
6591
|
if (Yt)
|
|
6594
6592
|
return A;
|
|
6595
6593
|
if (ct) {
|
|
@@ -6602,7 +6600,7 @@ function uu() {
|
|
|
6602
6600
|
}
|
|
6603
6601
|
let me = F ? E.outerHTML : E.innerHTML;
|
|
6604
6602
|
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,
|
|
6603
|
+
` + me), R && Pn([z, J, ie], (Qe) => {
|
|
6606
6604
|
me = Br(me, Qe, " ");
|
|
6607
6605
|
}), I && wt ? I.createHTML(me) : me;
|
|
6608
6606
|
}, t.setConfig = function() {
|
|
@@ -6612,8 +6610,8 @@ function uu() {
|
|
|
6612
6610
|
xt = null, We = !1;
|
|
6613
6611
|
}, t.isValidAttribute = function(A, b, E) {
|
|
6614
6612
|
xt || fr({});
|
|
6615
|
-
const j = we(A),
|
|
6616
|
-
return W(j,
|
|
6613
|
+
const j = we(A), Q = we(b);
|
|
6614
|
+
return W(j, Q, E);
|
|
6617
6615
|
}, t.addHook = function(A, b) {
|
|
6618
6616
|
typeof b == "function" && (M[A] = M[A] || [], Ur(M[A], b));
|
|
6619
6617
|
}, t.removeHook = function(A) {
|
|
@@ -8454,7 +8452,7 @@ function eC() {
|
|
|
8454
8452
|
}
|
|
8455
8453
|
}
|
|
8456
8454
|
}
|
|
8457
|
-
var _ = l, k = c, B = s, ne = a, h = t, D = f, M = n, z = m,
|
|
8455
|
+
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
8456
|
function He(R) {
|
|
8459
8457
|
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
8458
|
}
|
|
@@ -8485,7 +8483,7 @@ function eC() {
|
|
|
8485
8483
|
function K(R) {
|
|
8486
8484
|
return I(R) === r;
|
|
8487
8485
|
}
|
|
8488
|
-
function
|
|
8486
|
+
function Z(R) {
|
|
8489
8487
|
return I(R) === o;
|
|
8490
8488
|
}
|
|
8491
8489
|
function X(R) {
|
|
@@ -8494,7 +8492,7 @@ function eC() {
|
|
|
8494
8492
|
function $e(R) {
|
|
8495
8493
|
return I(R) === u;
|
|
8496
8494
|
}
|
|
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 =
|
|
8495
|
+
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
8496
|
}()), de;
|
|
8499
8497
|
}
|
|
8500
8498
|
var Sl;
|
|
@@ -8655,7 +8653,7 @@ function nC() {
|
|
|
8655
8653
|
oneOf: B,
|
|
8656
8654
|
oneOfType: h,
|
|
8657
8655
|
shape: z,
|
|
8658
|
-
exact:
|
|
8656
|
+
exact: J
|
|
8659
8657
|
};
|
|
8660
8658
|
function m(C, $) {
|
|
8661
8659
|
return C === $ ? C !== 0 || 1 / C === 1 / $ : C !== C && $ !== $;
|
|
@@ -8667,7 +8665,7 @@ function nC() {
|
|
|
8667
8665
|
function x(C) {
|
|
8668
8666
|
if (process.env.NODE_ENV !== "production")
|
|
8669
8667
|
var $ = {}, q = 0;
|
|
8670
|
-
function L(U, H, Y, K,
|
|
8668
|
+
function L(U, H, Y, K, Z, X, $e) {
|
|
8671
8669
|
if (K = K || p, X = X || Y, $e !== r) {
|
|
8672
8670
|
if (l) {
|
|
8673
8671
|
var R = new Error(
|
|
@@ -8682,16 +8680,16 @@ function nC() {
|
|
|
8682
8680
|
), $[Pe] = !0, q++);
|
|
8683
8681
|
}
|
|
8684
8682
|
}
|
|
8685
|
-
return H[Y] == null ? U ? H[Y] === null ? new y("The " +
|
|
8683
|
+
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
8684
|
}
|
|
8687
8685
|
var G = L.bind(null, !1);
|
|
8688
8686
|
return G.isRequired = L.bind(null, !0), G;
|
|
8689
8687
|
}
|
|
8690
8688
|
function O(C) {
|
|
8691
8689
|
function $(q, L, G, U, H, Y) {
|
|
8692
|
-
var K = q[L],
|
|
8693
|
-
if (
|
|
8694
|
-
var X =
|
|
8690
|
+
var K = q[L], Z = V(K);
|
|
8691
|
+
if (Z !== C) {
|
|
8692
|
+
var X = ee(K);
|
|
8695
8693
|
return new y(
|
|
8696
8694
|
"Invalid " + U + " `" + H + "` of type " + ("`" + X + "` supplied to `" + G + "`, expected ") + ("`" + C + "`."),
|
|
8697
8695
|
{ expectedType: C }
|
|
@@ -8713,8 +8711,8 @@ function nC() {
|
|
|
8713
8711
|
var K = V(Y);
|
|
8714
8712
|
return new y("Invalid " + U + " `" + H + "` of type " + ("`" + K + "` supplied to `" + G + "`, expected an array."));
|
|
8715
8713
|
}
|
|
8716
|
-
for (var
|
|
8717
|
-
var X = C(Y,
|
|
8714
|
+
for (var Z = 0; Z < Y.length; Z++) {
|
|
8715
|
+
var X = C(Y, Z, G, U, H + "[" + Z + "]", r);
|
|
8718
8716
|
if (X instanceof Error)
|
|
8719
8717
|
return X;
|
|
8720
8718
|
}
|
|
@@ -8763,11 +8761,11 @@ function nC() {
|
|
|
8763
8761
|
for (var Y = q[L], K = 0; K < C.length; K++)
|
|
8764
8762
|
if (m(Y, C[K]))
|
|
8765
8763
|
return null;
|
|
8766
|
-
var
|
|
8767
|
-
var Pe =
|
|
8764
|
+
var Z = JSON.stringify(C, function($e, R) {
|
|
8765
|
+
var Pe = ee(R);
|
|
8768
8766
|
return Pe === "symbol" ? String(R) : R;
|
|
8769
8767
|
});
|
|
8770
|
-
return new y("Invalid " + U + " `" + H + "` of value `" + String(Y) + "` " + ("supplied to `" + G + "`, expected one of " +
|
|
8768
|
+
return new y("Invalid " + U + " `" + H + "` of value `" + String(Y) + "` " + ("supplied to `" + G + "`, expected one of " + Z + "."));
|
|
8771
8769
|
}
|
|
8772
8770
|
return x($);
|
|
8773
8771
|
}
|
|
@@ -8778,9 +8776,9 @@ function nC() {
|
|
|
8778
8776
|
var Y = q[L], K = V(Y);
|
|
8779
8777
|
if (K !== "object")
|
|
8780
8778
|
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,
|
|
8779
|
+
for (var Z in Y)
|
|
8780
|
+
if (n(Y, Z)) {
|
|
8781
|
+
var X = C(Y, Z, G, U, H + "." + Z, r);
|
|
8784
8782
|
if (X instanceof Error)
|
|
8785
8783
|
return X;
|
|
8786
8784
|
}
|
|
@@ -8799,13 +8797,13 @@ function nC() {
|
|
|
8799
8797
|
), a;
|
|
8800
8798
|
}
|
|
8801
8799
|
function L(G, U, H, Y, K) {
|
|
8802
|
-
for (var
|
|
8800
|
+
for (var Z = [], X = 0; X < C.length; X++) {
|
|
8803
8801
|
var $e = C[X], R = $e(G, U, H, Y, K, r);
|
|
8804
8802
|
if (R == null)
|
|
8805
8803
|
return null;
|
|
8806
|
-
R.data && n(R.data, "expectedType") &&
|
|
8804
|
+
R.data && n(R.data, "expectedType") && Z.push(R.data.expectedType);
|
|
8807
8805
|
}
|
|
8808
|
-
var Pe =
|
|
8806
|
+
var Pe = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
|
|
8809
8807
|
return new y("Invalid " + Y + " `" + K + "` supplied to " + ("`" + H + "`" + Pe + "."));
|
|
8810
8808
|
}
|
|
8811
8809
|
return x(L);
|
|
@@ -8826,11 +8824,11 @@ function nC() {
|
|
|
8826
8824
|
var Y = q[L], K = V(Y);
|
|
8827
8825
|
if (K !== "object")
|
|
8828
8826
|
return new y("Invalid " + U + " `" + H + "` of type `" + K + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
8829
|
-
for (var
|
|
8830
|
-
var X = C[
|
|
8827
|
+
for (var Z in C) {
|
|
8828
|
+
var X = C[Z];
|
|
8831
8829
|
if (typeof X != "function")
|
|
8832
|
-
return M(G, U, H,
|
|
8833
|
-
var $e = X(Y,
|
|
8830
|
+
return M(G, U, H, Z, ee(X));
|
|
8831
|
+
var $e = X(Y, Z, G, U, H + "." + Z, r);
|
|
8834
8832
|
if ($e)
|
|
8835
8833
|
return $e;
|
|
8836
8834
|
}
|
|
@@ -8838,16 +8836,16 @@ function nC() {
|
|
|
8838
8836
|
}
|
|
8839
8837
|
return x($);
|
|
8840
8838
|
}
|
|
8841
|
-
function
|
|
8839
|
+
function J(C) {
|
|
8842
8840
|
function $(q, L, G, U, H) {
|
|
8843
8841
|
var Y = q[L], K = V(Y);
|
|
8844
8842
|
if (K !== "object")
|
|
8845
8843
|
return new y("Invalid " + U + " `" + H + "` of type `" + K + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
8846
|
-
var
|
|
8847
|
-
for (var X in
|
|
8844
|
+
var Z = t({}, q[L], C);
|
|
8845
|
+
for (var X in Z) {
|
|
8848
8846
|
var $e = C[X];
|
|
8849
8847
|
if (n(C, X) && typeof $e != "function")
|
|
8850
|
-
return M(G, U, H, X,
|
|
8848
|
+
return M(G, U, H, X, ee($e));
|
|
8851
8849
|
if (!$e)
|
|
8852
8850
|
return new y(
|
|
8853
8851
|
"Invalid " + U + " `" + H + "` key `" + X + "` supplied to `" + G + "`.\nBad object: " + JSON.stringify(q[L], null, " ") + `
|
|
@@ -8901,7 +8899,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
8901
8899
|
var $ = typeof C;
|
|
8902
8900
|
return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : ge($, C) ? "symbol" : $;
|
|
8903
8901
|
}
|
|
8904
|
-
function
|
|
8902
|
+
function ee(C) {
|
|
8905
8903
|
if (typeof C > "u" || C === null)
|
|
8906
8904
|
return "" + C;
|
|
8907
8905
|
var $ = V(C);
|
|
@@ -8914,7 +8912,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
8914
8912
|
return $;
|
|
8915
8913
|
}
|
|
8916
8914
|
function ae(C) {
|
|
8917
|
-
var $ =
|
|
8915
|
+
var $ = ee(C);
|
|
8918
8916
|
switch ($) {
|
|
8919
8917
|
case "array":
|
|
8920
8918
|
case "object":
|
|
@@ -9126,7 +9124,7 @@ function cC() {
|
|
|
9126
9124
|
}
|
|
9127
9125
|
}
|
|
9128
9126
|
}
|
|
9129
|
-
var k = a, B = o, ne = e, h = l, D = r, M = p, z = u,
|
|
9127
|
+
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
9128
|
function C(F) {
|
|
9131
9129
|
return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
9132
9130
|
}
|
|
@@ -9154,7 +9152,7 @@ function cC() {
|
|
|
9154
9152
|
function K(F) {
|
|
9155
9153
|
return _(F) === u;
|
|
9156
9154
|
}
|
|
9157
|
-
function
|
|
9155
|
+
function Z(F) {
|
|
9158
9156
|
return _(F) === t;
|
|
9159
9157
|
}
|
|
9160
9158
|
function X(F) {
|
|
@@ -9169,7 +9167,7 @@ function cC() {
|
|
|
9169
9167
|
function Pe(F) {
|
|
9170
9168
|
return _(F) === f;
|
|
9171
9169
|
}
|
|
9172
|
-
he.ContextConsumer = k, he.ContextProvider = B, he.Element = ne, he.ForwardRef = h, he.Fragment = D, he.Lazy = M, he.Memo = z, he.Portal =
|
|
9170
|
+
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
9171
|
}()), he;
|
|
9174
9172
|
}
|
|
9175
9173
|
process.env.NODE_ENV === "production" ? Lo.exports = lC() : Lo.exports = cC();
|
|
@@ -10063,7 +10061,7 @@ function yf(e) {
|
|
|
10063
10061
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
10064
10062
|
};
|
|
10065
10063
|
}
|
|
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(
|
|
10064
|
+
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
10065
|
function(e) {
|
|
10068
10066
|
return fA.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
10069
10067
|
}
|
|
@@ -10072,7 +10070,7 @@ var fA = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
10072
10070
|
function hA(e, t, r) {
|
|
10073
10071
|
var n = "";
|
|
10074
10072
|
return r.split(" ").forEach(function(i) {
|
|
10075
|
-
e[i] !== void 0 ? t.push(e[i] + ";") : n += i + " ";
|
|
10073
|
+
e[i] !== void 0 ? t.push(e[i] + ";") : i && (n += i + " ");
|
|
10076
10074
|
}), n;
|
|
10077
10075
|
}
|
|
10078
10076
|
var vf = function(t, r, n) {
|
|
@@ -10265,7 +10263,7 @@ function TA(e, t, r) {
|
|
|
10265
10263
|
}
|
|
10266
10264
|
return n;
|
|
10267
10265
|
}
|
|
10268
|
-
var zl = /label:\s*([^\s
|
|
10266
|
+
var zl = /label:\s*([^\s;{]+)\s*(;|$)/g, Et;
|
|
10269
10267
|
function EA(e, t, r) {
|
|
10270
10268
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
10271
10269
|
return e[0];
|
|
@@ -10724,16 +10722,16 @@ function UA(e = {}) {
|
|
|
10724
10722
|
let ne = I(k);
|
|
10725
10723
|
const h = B ? B.map(I) : [];
|
|
10726
10724
|
c && v && h.push((z) => {
|
|
10727
|
-
const
|
|
10728
|
-
if (!
|
|
10725
|
+
const J = Vo(t, z.theme, r);
|
|
10726
|
+
if (!J.components || !J.components[c] || !J.components[c].styleOverrides)
|
|
10729
10727
|
return null;
|
|
10730
|
-
const ie =
|
|
10731
|
-
for (const
|
|
10732
|
-
ge[
|
|
10728
|
+
const ie = J.components[c].styleOverrides, ge = {}, V = Nn(z, t, r);
|
|
10729
|
+
for (const ee in ie)
|
|
10730
|
+
ge[ee] = Hn(ie[ee], V);
|
|
10733
10731
|
return v(z, ge);
|
|
10734
10732
|
}), c && !y && h.push((z) => {
|
|
10735
10733
|
var ge, V;
|
|
10736
|
-
const
|
|
10734
|
+
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
10735
|
return ie ? Hn({
|
|
10738
10736
|
variants: ie
|
|
10739
10737
|
}, Nn(z, t, r)) : null;
|
|
@@ -11065,15 +11063,15 @@ function eO(e, t = {}) {
|
|
|
11065
11063
|
css: M
|
|
11066
11064
|
}]) => {
|
|
11067
11065
|
var ie, ge;
|
|
11068
|
-
const z = (ge = (ie = o[D]) == null ? void 0 : ie.palette) == null ? void 0 : ge.mode,
|
|
11066
|
+
const z = (ge = (ie = o[D]) == null ? void 0 : ie.palette) == null ? void 0 : ge.mode, J = !n && z ? {
|
|
11069
11067
|
colorScheme: z,
|
|
11070
11068
|
...M
|
|
11071
11069
|
} : {
|
|
11072
11070
|
...M
|
|
11073
11071
|
};
|
|
11074
11072
|
_(r(D, {
|
|
11075
|
-
...
|
|
11076
|
-
}),
|
|
11073
|
+
...J
|
|
11074
|
+
}), J);
|
|
11077
11075
|
}), w;
|
|
11078
11076
|
}
|
|
11079
11077
|
};
|
|
@@ -11870,8 +11868,8 @@ function PO(e = {}, ...t) {
|
|
|
11870
11868
|
};
|
|
11871
11869
|
Object.keys(w.colorSchemes).forEach((ne) => {
|
|
11872
11870
|
const h = w.colorSchemes[ne].palette, D = (M) => {
|
|
11873
|
-
const z = M.split("-"),
|
|
11874
|
-
return u(M, h[
|
|
11871
|
+
const z = M.split("-"), J = z[1], ie = z[2];
|
|
11872
|
+
return u(M, h[J][ie]);
|
|
11875
11873
|
};
|
|
11876
11874
|
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
11875
|
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));
|