fastapi-rtk 0.0.87 → 0.0.88
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 +85 -85
- package/dist/fastapi-rtk.umd.js +13 -13
- package/package.json +1 -1
package/dist/fastapi-rtk.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Hu = Object.defineProperty;
|
|
2
2
|
var Gu = (e, t, r) => t in e ? Hu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var Si = (e, t, r) => Gu(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import * as
|
|
4
|
+
import * as Ke from "react";
|
|
5
5
|
import Ge, { useState as ne, useRef as Yu, useCallback as ve, useEffect as xe, useMemo as te, useReducer as qu, createContext as xl, useContext as oo, forwardRef as jt, createElement as Mo, memo as so, isValidElement as Ku, cloneElement as on, Fragment as _l } from "react";
|
|
6
6
|
import { createSearchParams as Ju, useNavigate as Xu } from "react-router-dom";
|
|
7
7
|
import { useDidUpdate as _r, useSetState as Zu, useHover as Qu, randomId as Pn, useInViewport as ef, useDebouncedValue as Ds, useDisclosure as tf, upperFirst as rf, useElementSize as wi } from "@mantine/hooks";
|
|
@@ -330,7 +330,7 @@ function zf() {
|
|
|
330
330
|
}
|
|
331
331
|
return "";
|
|
332
332
|
}
|
|
333
|
-
var
|
|
333
|
+
var Ze = Object.prototype.hasOwnProperty, it = {}, Vt = T.ReactDebugCurrentFrame;
|
|
334
334
|
function xt(g) {
|
|
335
335
|
if (g) {
|
|
336
336
|
var j = g._owner, M = Ye(g.type, g._source, j ? j.type : null);
|
|
@@ -340,7 +340,7 @@ function zf() {
|
|
|
340
340
|
}
|
|
341
341
|
function _n(g, j, M, J, ce) {
|
|
342
342
|
{
|
|
343
|
-
var de = Function.call.bind(
|
|
343
|
+
var de = Function.call.bind(Ze);
|
|
344
344
|
for (var ae in g)
|
|
345
345
|
if (de(g, ae)) {
|
|
346
346
|
var k = void 0;
|
|
@@ -389,7 +389,7 @@ function zf() {
|
|
|
389
389
|
}, Fr, nr, or;
|
|
390
390
|
or = {};
|
|
391
391
|
function sr(g) {
|
|
392
|
-
if (
|
|
392
|
+
if (Ze.call(g, "ref")) {
|
|
393
393
|
var j = Object.getOwnPropertyDescriptor(g, "ref").get;
|
|
394
394
|
if (j && j.isReactWarning)
|
|
395
395
|
return !1;
|
|
@@ -397,7 +397,7 @@ function zf() {
|
|
|
397
397
|
return g.ref !== void 0;
|
|
398
398
|
}
|
|
399
399
|
function ir(g) {
|
|
400
|
-
if (
|
|
400
|
+
if (Ze.call(g, "key")) {
|
|
401
401
|
var j = Object.getOwnPropertyDescriptor(g, "key").get;
|
|
402
402
|
if (j && j.isReactWarning)
|
|
403
403
|
return !1;
|
|
@@ -466,7 +466,7 @@ function zf() {
|
|
|
466
466
|
var de, ae = {}, k = null, v = null;
|
|
467
467
|
M !== void 0 && (Tt(M), k = "" + M), ir(j) && (Tt(j.key), k = "" + j.key), sr(j) && (v = j.ref, ft(j, ce));
|
|
468
468
|
for (de in j)
|
|
469
|
-
|
|
469
|
+
Ze.call(j, de) && !Sn.hasOwnProperty(de) && (ae[de] = j[de]);
|
|
470
470
|
if (g && g.defaultProps) {
|
|
471
471
|
var O = g.defaultProps;
|
|
472
472
|
for (de in O)
|
|
@@ -590,7 +590,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
592
|
var An = {};
|
|
593
|
-
function
|
|
593
|
+
function tt(g, j, M, J, ce, de) {
|
|
594
594
|
{
|
|
595
595
|
var ae = m(g);
|
|
596
596
|
if (!ae) {
|
|
@@ -617,28 +617,28 @@ Check the top-level render call using <` + M + ">.");
|
|
|
617
617
|
else
|
|
618
618
|
ar(se, g);
|
|
619
619
|
}
|
|
620
|
-
if (
|
|
620
|
+
if (Ze.call(j, "key")) {
|
|
621
621
|
var we = H(g), be = Object.keys(j).filter(function(Be) {
|
|
622
622
|
return Be !== "key";
|
|
623
|
-
}),
|
|
624
|
-
if (!An[we +
|
|
623
|
+
}), Qe = be.length > 0 ? "{key: someKey, " + be.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
624
|
+
if (!An[we + Qe]) {
|
|
625
625
|
var Gt = be.length > 0 ? "{" + be.join(": ..., ") + ": ...}" : "{}";
|
|
626
626
|
E(`A props object containing a "key" prop is being spread into JSX:
|
|
627
627
|
let props = %s;
|
|
628
628
|
<%s {...props} />
|
|
629
629
|
React keys must be passed directly to JSX without using spread:
|
|
630
630
|
let props = %s;
|
|
631
|
-
<%s key={someKey} {...props} />`,
|
|
631
|
+
<%s key={someKey} {...props} />`, Qe, we, Gt, we), An[we + Qe] = !0;
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
634
|
return g === n ? Cn(I) : En(I), I;
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
637
|
function lr(g, j, M) {
|
|
638
|
-
return
|
|
638
|
+
return tt(g, j, M, !0);
|
|
639
639
|
}
|
|
640
640
|
function On(g, j, M) {
|
|
641
|
-
return
|
|
641
|
+
return tt(g, j, M, !1);
|
|
642
642
|
}
|
|
643
643
|
var $n = On, jn = lr;
|
|
644
644
|
Vr.Fragment = n, Vr.jsx = $n, Vr.jsxs = jn;
|
|
@@ -646,7 +646,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
646
646
|
}
|
|
647
647
|
process.env.NODE_ENV === "production" ? cs.exports = Lf() : cs.exports = zf();
|
|
648
648
|
var c = cs.exports;
|
|
649
|
-
function
|
|
649
|
+
function Je({ path: e, method: t, body: r = void 0, queryParams: n = void 0 }) {
|
|
650
650
|
const o = Object.entries(n || {}).reduce((a, [l, u]) => ((Array.isArray(u) || typeof u == "object") && (u = JSON.stringify(u)), a[l] = u, a), {}), s = new Ju(o);
|
|
651
651
|
e = e + "?" + s;
|
|
652
652
|
const i = {
|
|
@@ -705,14 +705,14 @@ function Ls(e, { autoInvoke: t = !0, initialLoading: r = !1, clearDataOnRefetch:
|
|
|
705
705
|
}
|
|
706
706
|
function Uf({ path: e, autoInvoke: t = !0, initialLoading: r = !0 }) {
|
|
707
707
|
const { fetchPath: n, options: o } = te(
|
|
708
|
-
() =>
|
|
708
|
+
() => Je({ path: ke(e, "auth/user"), method: "GET" }),
|
|
709
709
|
[e]
|
|
710
710
|
), { data: s, loading: i, refetch: a, error: l } = Ls(n, { autoInvoke: t, initialLoading: r, ...o });
|
|
711
711
|
return { user: s, loading: i, refetch: a, error: l };
|
|
712
712
|
}
|
|
713
713
|
function Vf({ path: e, queryParams: t, autoInvoke: r = !0, clearDataOnRefetch: n = !1 }) {
|
|
714
714
|
const { fetchPath: o, options: s } = te(
|
|
715
|
-
() =>
|
|
715
|
+
() => Je({
|
|
716
716
|
path: ke(e, "/"),
|
|
717
717
|
method: "GET",
|
|
718
718
|
queryParams: t
|
|
@@ -729,7 +729,7 @@ function Vf({ path: e, queryParams: t, autoInvoke: r = !0, clearDataOnRefetch: n
|
|
|
729
729
|
}, [i]), loading: a, refetch: l, error: u };
|
|
730
730
|
}
|
|
731
731
|
const Wf = async (e, t) => {
|
|
732
|
-
const { fetchPath: r, options: n } =
|
|
732
|
+
const { fetchPath: r, options: n } = Je({
|
|
733
733
|
path: ke(e, "/"),
|
|
734
734
|
method: "POST",
|
|
735
735
|
body: t
|
|
@@ -740,21 +740,21 @@ const Wf = async (e, t) => {
|
|
|
740
740
|
throw typeof s == "object" ? new Error(typeof s.detail == "string" ? s.detail : JSON.stringify(s, null, 2)) : new Error(s);
|
|
741
741
|
return s;
|
|
742
742
|
}, Hf = async (e, t) => {
|
|
743
|
-
const { fetchPath: r, options: n } =
|
|
743
|
+
const { fetchPath: r, options: n } = Je({ path: ke(e, t.toString()), method: "DELETE" }), o = await fetch(r, n);
|
|
744
744
|
let s = null;
|
|
745
745
|
const i = o.headers.get("content-type");
|
|
746
746
|
if (i && i.includes("application/json") ? s = await o.json() : s = await o.text(), !o.ok)
|
|
747
747
|
throw typeof s == "object" ? new Error(typeof s.detail == "string" ? s.detail : JSON.stringify(s, null, 2)) : new Error(s);
|
|
748
748
|
return s;
|
|
749
749
|
}, Gf = async (e, t) => {
|
|
750
|
-
const { fetchPath: r, options: n } =
|
|
750
|
+
const { fetchPath: r, options: n } = Je({ path: ke(e, t.toString()), method: "GET" }), o = await fetch(r, n);
|
|
751
751
|
let s = null;
|
|
752
752
|
const i = o.headers.get("content-type");
|
|
753
753
|
if (i && i.includes("application/json") ? s = await o.json() : s = await o.text(), !o.ok)
|
|
754
754
|
throw typeof s == "object" ? new Error(typeof s.detail == "string" ? s.detail : JSON.stringify(s, null, 2)) : new Error(s);
|
|
755
755
|
return s;
|
|
756
756
|
}, Yf = async (e, t, r) => {
|
|
757
|
-
const { fetchPath: n, options: o } =
|
|
757
|
+
const { fetchPath: n, options: o } = Je({ path: ke(e, t.toString()), method: "PUT", body: r }), s = await fetch(n, o);
|
|
758
758
|
let i = null;
|
|
759
759
|
const a = s.headers.get("content-type");
|
|
760
760
|
if (a && a.includes("application/json") ? i = await s.json() : i = await s.text(), !s.ok)
|
|
@@ -1016,7 +1016,7 @@ let yt = {
|
|
|
1016
1016
|
const o = n != null && n !== r ? ` (cast from the value \`${vt(n, !0)}\`).` : ".";
|
|
1017
1017
|
return t !== "mixed" ? `${e} must be a \`${t}\` type, but the final value was: \`${vt(r, !0)}\`` + o : `${e} must match the configured type. The validated value was: \`${vt(r, !0)}\`` + o;
|
|
1018
1018
|
}
|
|
1019
|
-
},
|
|
1019
|
+
}, et = {
|
|
1020
1020
|
length: "${path} must be exactly ${length} characters",
|
|
1021
1021
|
min: "${path} must be at least ${min} characters",
|
|
1022
1022
|
max: "${path} must be at most ${max} characters",
|
|
@@ -1065,7 +1065,7 @@ let yt = {
|
|
|
1065
1065
|
};
|
|
1066
1066
|
var ql = Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
1067
1067
|
mixed: yt,
|
|
1068
|
-
string:
|
|
1068
|
+
string: et,
|
|
1069
1069
|
number: Mt,
|
|
1070
1070
|
date: fs,
|
|
1071
1071
|
object: ps,
|
|
@@ -1882,7 +1882,7 @@ class Ys extends He {
|
|
|
1882
1882
|
notRequired() {
|
|
1883
1883
|
return super.notRequired().withMutation((t) => (t.tests = t.tests.filter((r) => r.OPTIONS.name !== "required"), t));
|
|
1884
1884
|
}
|
|
1885
|
-
length(t, r =
|
|
1885
|
+
length(t, r = et.length) {
|
|
1886
1886
|
return this.test({
|
|
1887
1887
|
message: r,
|
|
1888
1888
|
name: "length",
|
|
@@ -1896,7 +1896,7 @@ class Ys extends He {
|
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
1898
|
}
|
|
1899
|
-
min(t, r =
|
|
1899
|
+
min(t, r = et.min) {
|
|
1900
1900
|
return this.test({
|
|
1901
1901
|
message: r,
|
|
1902
1902
|
name: "min",
|
|
@@ -1910,7 +1910,7 @@ class Ys extends He {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
});
|
|
1912
1912
|
}
|
|
1913
|
-
max(t, r =
|
|
1913
|
+
max(t, r = et.max) {
|
|
1914
1914
|
return this.test({
|
|
1915
1915
|
name: "max",
|
|
1916
1916
|
exclusive: !0,
|
|
@@ -1932,7 +1932,7 @@ class Ys extends He {
|
|
|
1932
1932
|
name: s
|
|
1933
1933
|
} = r : o = r), this.test({
|
|
1934
1934
|
name: s || "matches",
|
|
1935
|
-
message: o ||
|
|
1935
|
+
message: o || et.matches,
|
|
1936
1936
|
params: {
|
|
1937
1937
|
regex: t
|
|
1938
1938
|
},
|
|
@@ -1940,21 +1940,21 @@ class Ys extends He {
|
|
|
1940
1940
|
test: (i) => i === "" && n || i.search(t) !== -1
|
|
1941
1941
|
});
|
|
1942
1942
|
}
|
|
1943
|
-
email(t =
|
|
1943
|
+
email(t = et.email) {
|
|
1944
1944
|
return this.matches(Cd, {
|
|
1945
1945
|
name: "email",
|
|
1946
1946
|
message: t,
|
|
1947
1947
|
excludeEmptyString: !0
|
|
1948
1948
|
});
|
|
1949
1949
|
}
|
|
1950
|
-
url(t =
|
|
1950
|
+
url(t = et.url) {
|
|
1951
1951
|
return this.matches(Ad, {
|
|
1952
1952
|
name: "url",
|
|
1953
1953
|
message: t,
|
|
1954
1954
|
excludeEmptyString: !0
|
|
1955
1955
|
});
|
|
1956
1956
|
}
|
|
1957
|
-
uuid(t =
|
|
1957
|
+
uuid(t = et.uuid) {
|
|
1958
1958
|
return this.matches(Od, {
|
|
1959
1959
|
name: "uuid",
|
|
1960
1960
|
message: t,
|
|
@@ -1969,11 +1969,11 @@ class Ys extends He {
|
|
|
1969
1969
|
precision: o = void 0
|
|
1970
1970
|
} = t : r = t), this.matches(Rd, {
|
|
1971
1971
|
name: "datetime",
|
|
1972
|
-
message: r ||
|
|
1972
|
+
message: r || et.datetime,
|
|
1973
1973
|
excludeEmptyString: !0
|
|
1974
1974
|
}).test({
|
|
1975
1975
|
name: "datetime_offset",
|
|
1976
|
-
message: r ||
|
|
1976
|
+
message: r || et.datetime_offset,
|
|
1977
1977
|
params: {
|
|
1978
1978
|
allowOffset: n
|
|
1979
1979
|
},
|
|
@@ -1985,7 +1985,7 @@ class Ys extends He {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
}).test({
|
|
1987
1987
|
name: "datetime_precision",
|
|
1988
|
-
message: r ||
|
|
1988
|
+
message: r || et.datetime_precision,
|
|
1989
1989
|
params: {
|
|
1990
1990
|
precision: o
|
|
1991
1991
|
},
|
|
@@ -2001,14 +2001,14 @@ class Ys extends He {
|
|
|
2001
2001
|
ensure() {
|
|
2002
2002
|
return this.default("").transform((t) => t === null ? "" : t);
|
|
2003
2003
|
}
|
|
2004
|
-
trim(t =
|
|
2004
|
+
trim(t = et.trim) {
|
|
2005
2005
|
return this.transform((r) => r != null ? r.trim() : r).test({
|
|
2006
2006
|
message: t,
|
|
2007
2007
|
name: "trim",
|
|
2008
2008
|
test: kd
|
|
2009
2009
|
});
|
|
2010
2010
|
}
|
|
2011
|
-
lowercase(t =
|
|
2011
|
+
lowercase(t = et.lowercase) {
|
|
2012
2012
|
return this.transform((r) => ht(r) ? r : r.toLowerCase()).test({
|
|
2013
2013
|
message: t,
|
|
2014
2014
|
name: "string_case",
|
|
@@ -2017,7 +2017,7 @@ class Ys extends He {
|
|
|
2017
2017
|
test: (r) => ht(r) || r === r.toLowerCase()
|
|
2018
2018
|
});
|
|
2019
2019
|
}
|
|
2020
|
-
uppercase(t =
|
|
2020
|
+
uppercase(t = et.uppercase) {
|
|
2021
2021
|
return this.transform((r) => ht(r) ? r : r.toUpperCase()).test({
|
|
2022
2022
|
message: t,
|
|
2023
2023
|
name: "string_case",
|
|
@@ -2828,7 +2828,7 @@ const zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2828
2828
|
}, ec = (e) => !e && typeof e != "boolean" && typeof e != "number" ? null : typeof e == "boolean" ? e.toString() : Array.isArray(e) ? e.map((t) => t.name_ || JSON.stringify(t, null, 2)).join(", ") : typeof e == "object" ? e.name_ || JSON.stringify(e) : e;
|
|
2829
2829
|
function Wd({ path: e, autoInvoke: t = !0, clearDataOnRefetch: r = !1 }) {
|
|
2830
2830
|
const { fetchPath: n, options: o } = te(
|
|
2831
|
-
() =>
|
|
2831
|
+
() => Je({ path: ke(e, "_info"), method: "GET" }),
|
|
2832
2832
|
[e]
|
|
2833
2833
|
), { data: s, loading: i, refetch: a, error: l } = Ls(n, { autoInvoke: t, clearDataOnRefetch: r, ...o });
|
|
2834
2834
|
return { info: te(
|
|
@@ -2878,7 +2878,7 @@ function Gd(e) {
|
|
|
2878
2878
|
try {
|
|
2879
2879
|
const h = new FormData();
|
|
2880
2880
|
h.append("username", f), h.append("password", p);
|
|
2881
|
-
const { fetchPath: y, options: x } =
|
|
2881
|
+
const { fetchPath: y, options: x } = Je({
|
|
2882
2882
|
path: ke(e, "auth/login"),
|
|
2883
2883
|
method: "POST"
|
|
2884
2884
|
}), b = await fetch(y, {
|
|
@@ -2897,7 +2897,7 @@ function Gd(e) {
|
|
|
2897
2897
|
), a = ve(async () => {
|
|
2898
2898
|
r({ type: "initCall" });
|
|
2899
2899
|
try {
|
|
2900
|
-
const { fetchPath: f, options: p } =
|
|
2900
|
+
const { fetchPath: f, options: p } = Je({ path: ke(e, "auth/logout"), method: "POST" });
|
|
2901
2901
|
(await fetch(f, p)).ok || r({ type: "setError", payload: "Couldn't sign out user" }), r({ type: "setUser", payload: null });
|
|
2902
2902
|
} catch (f) {
|
|
2903
2903
|
console.error("signout error", f), r({ type: "setError", payload: "Failed to fetch" });
|
|
@@ -2908,7 +2908,7 @@ function Gd(e) {
|
|
|
2908
2908
|
async (f) => {
|
|
2909
2909
|
r({ type: "initCall" });
|
|
2910
2910
|
try {
|
|
2911
|
-
const { fetchPath: p, options: h } =
|
|
2911
|
+
const { fetchPath: p, options: h } = Je({
|
|
2912
2912
|
path: ke(e, "auth/user"),
|
|
2913
2913
|
method: "PUT",
|
|
2914
2914
|
body: f
|
|
@@ -2924,7 +2924,7 @@ function Gd(e) {
|
|
|
2924
2924
|
if (!n.email)
|
|
2925
2925
|
return r({ type: "setError", payload: "No email found" });
|
|
2926
2926
|
try {
|
|
2927
|
-
const { fetchPath: p, options: h } =
|
|
2927
|
+
const { fetchPath: p, options: h } = Je({
|
|
2928
2928
|
path: ke(e, "auth/forgot-password"),
|
|
2929
2929
|
method: "POST",
|
|
2930
2930
|
body: { email: n.email }
|
|
@@ -2933,7 +2933,7 @@ function Gd(e) {
|
|
|
2933
2933
|
r({ type: "setError", payload: "Couldn't request token to reset password" });
|
|
2934
2934
|
return;
|
|
2935
2935
|
}
|
|
2936
|
-
const x = await y.json(), { token: b } = x, { fetchPath: T, options: E } =
|
|
2936
|
+
const x = await y.json(), { token: b } = x, { fetchPath: T, options: E } = Je({
|
|
2937
2937
|
path: ke(e, "auth/reset-password"),
|
|
2938
2938
|
method: "POST",
|
|
2939
2939
|
body: { token: b, password: f }
|
|
@@ -2985,7 +2985,7 @@ function Yd(e, t) {
|
|
|
2985
2985
|
const u = async (d) => {
|
|
2986
2986
|
i(!0);
|
|
2987
2987
|
try {
|
|
2988
|
-
const { fetchPath: f, options: p } =
|
|
2988
|
+
const { fetchPath: f, options: p } = Je({ path: ke(d, "info/"), method: "GET" }), h = await fetch(f, p);
|
|
2989
2989
|
if (h.ok) {
|
|
2990
2990
|
const y = await h.json();
|
|
2991
2991
|
o(y);
|
|
@@ -3040,7 +3040,7 @@ function QO(e) {
|
|
|
3040
3040
|
return /* @__PURE__ */ c.jsx(ti.Provider, { value: { auth: o, info: s }, children: n });
|
|
3041
3041
|
}
|
|
3042
3042
|
const Jd = async (e, t, r) => {
|
|
3043
|
-
const { fetchPath: n, options: o } =
|
|
3043
|
+
const { fetchPath: n, options: o } = Je({ path: ke(t, "/download"), method: "POST" }), s = await fetch(n, { ...o, body: JSON.stringify(r) });
|
|
3044
3044
|
let i = null;
|
|
3045
3045
|
const a = s.headers.get("content-type");
|
|
3046
3046
|
if (a && a.includes("application/json") ? i = await s.json() : i = await s.blob(), !s.ok)
|
|
@@ -3216,7 +3216,7 @@ function Xd({
|
|
|
3216
3216
|
};
|
|
3217
3217
|
}
|
|
3218
3218
|
const Zd = async (e, t, r) => {
|
|
3219
|
-
const { fetchPath: n, options: o } =
|
|
3219
|
+
const { fetchPath: n, options: o } = Je({
|
|
3220
3220
|
path: ke(e, "/bulk", t),
|
|
3221
3221
|
method: "POST",
|
|
3222
3222
|
body: r
|
|
@@ -4054,7 +4054,7 @@ function Ap(...e) {
|
|
|
4054
4054
|
)
|
|
4055
4055
|
] });
|
|
4056
4056
|
}
|
|
4057
|
-
/*! @license DOMPurify 3.2.
|
|
4057
|
+
/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */
|
|
4058
4058
|
const {
|
|
4059
4059
|
entries: cc,
|
|
4060
4060
|
setPrototypeOf: Gi,
|
|
@@ -4063,14 +4063,14 @@ const {
|
|
|
4063
4063
|
getOwnPropertyDescriptor: jp
|
|
4064
4064
|
} = Object;
|
|
4065
4065
|
let {
|
|
4066
|
-
freeze:
|
|
4066
|
+
freeze: Xe,
|
|
4067
4067
|
seal: ct,
|
|
4068
4068
|
create: uc
|
|
4069
4069
|
} = Object, {
|
|
4070
4070
|
apply: bs,
|
|
4071
4071
|
construct: vs
|
|
4072
4072
|
} = typeof Reflect < "u" && Reflect;
|
|
4073
|
-
|
|
4073
|
+
Xe || (Xe = function(t) {
|
|
4074
4074
|
return t;
|
|
4075
4075
|
});
|
|
4076
4076
|
ct || (ct = function(t) {
|
|
@@ -4138,7 +4138,7 @@ function Yr(e, t) {
|
|
|
4138
4138
|
}
|
|
4139
4139
|
return r;
|
|
4140
4140
|
}
|
|
4141
|
-
const Ki =
|
|
4141
|
+
const Ki = Xe(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), zo = Xe(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Bo = Xe(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Dp = Xe(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Uo = Xe(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Mp = Xe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ji = Xe(["#text"]), Xi = Xe(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Vo = Xe(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Zi = Xe(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Fn = Xe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Fp = ct(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Np = ct(/<%[\w\W]*|[\w\W]*%>/gm), Lp = ct(/\${[\w\W]*}/gm), zp = ct(/^data-[\-\w.\u00B7-\uFFFF]/), Bp = ct(/^aria-[\-\w]+$/), fc = ct(
|
|
4142
4142
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4143
4143
|
// eslint-disable-line no-useless-escape
|
|
4144
4144
|
), Up = ct(/^(?:\w+script|data):/i), Vp = ct(
|
|
@@ -4199,7 +4199,7 @@ const qr = {
|
|
|
4199
4199
|
function pc() {
|
|
4200
4200
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Hp();
|
|
4201
4201
|
const t = (k) => pc(k);
|
|
4202
|
-
if (t.version = "3.2.
|
|
4202
|
+
if (t.version = "3.2.1", t.removed = [], !e || !e.document || e.document.nodeType !== qr.document)
|
|
4203
4203
|
return t.isSupported = !1, t;
|
|
4204
4204
|
let {
|
|
4205
4205
|
document: r
|
|
@@ -4265,7 +4265,7 @@ function pc() {
|
|
|
4265
4265
|
enumerable: !0,
|
|
4266
4266
|
value: !1
|
|
4267
4267
|
}
|
|
4268
|
-
})), q = null, F = null, Q = !0, re = !0, ee = !1, je = !0, D = !1, Ne = !0, B = !1, Ye = !1,
|
|
4268
|
+
})), q = null, F = null, Q = !0, re = !0, ee = !1, je = !0, D = !1, Ne = !0, B = !1, Ye = !1, Ze = !1, it = !1, Vt = !1, xt = !1, _n = !0, Tn = !1;
|
|
4269
4269
|
const Dr = "user-content-";
|
|
4270
4270
|
let Mr = !0, Wt = !1, _t = {}, Tt = null;
|
|
4271
4271
|
const Rt = ie({}, ["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"]);
|
|
@@ -4286,7 +4286,7 @@ function pc() {
|
|
|
4286
4286
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4287
4287
|
if (!(wt && wt === v)) {
|
|
4288
4288
|
if ((!v || typeof v != "object") && (v = {}), v = Yt(v), St = // eslint-disable-next-line unicorn/prefer-includes
|
|
4289
|
-
zr.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? wn : v.PARSER_MEDIA_TYPE, Re = St === "application/xhtml+xml" ? Lo : Wn, R = dt(v, "ALLOWED_TAGS") ? ie({}, v.ALLOWED_TAGS, Re) : W, z = dt(v, "ALLOWED_ATTR") ? ie({}, v.ALLOWED_ATTR, Re) : Y, Lr = dt(v, "ALLOWED_NAMESPACES") ? ie({}, v.ALLOWED_NAMESPACES, Lo) : Io, nr = dt(v, "ADD_URI_SAFE_ATTR") ? ie(Yt(or), v.ADD_URI_SAFE_ATTR, Re) : or, Sn = dt(v, "ADD_DATA_URI_TAGS") ? ie(Yt(Fr), v.ADD_DATA_URI_TAGS, Re) : Fr, Tt = dt(v, "FORBID_CONTENTS") ? ie({}, v.FORBID_CONTENTS, Re) : Rt, q = dt(v, "FORBID_TAGS") ? ie({}, v.FORBID_TAGS, Re) : {}, F = dt(v, "FORBID_ATTR") ? ie({}, v.FORBID_ATTR, Re) : {}, _t = dt(v, "USE_PROFILES") ? v.USE_PROFILES : !1, Q = v.ALLOW_ARIA_ATTR !== !1, re = v.ALLOW_DATA_ATTR !== !1, ee = v.ALLOW_UNKNOWN_PROTOCOLS || !1, je = v.ALLOW_SELF_CLOSE_IN_ATTR !== !1, D = v.SAFE_FOR_TEMPLATES || !1, Ne = v.SAFE_FOR_XML !== !1, B = v.WHOLE_DOCUMENT || !1, it = v.RETURN_DOM || !1, Vt = v.RETURN_DOM_FRAGMENT || !1, xt = v.RETURN_TRUSTED_TYPE || !1,
|
|
4289
|
+
zr.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? wn : v.PARSER_MEDIA_TYPE, Re = St === "application/xhtml+xml" ? Lo : Wn, R = dt(v, "ALLOWED_TAGS") ? ie({}, v.ALLOWED_TAGS, Re) : W, z = dt(v, "ALLOWED_ATTR") ? ie({}, v.ALLOWED_ATTR, Re) : Y, Lr = dt(v, "ALLOWED_NAMESPACES") ? ie({}, v.ALLOWED_NAMESPACES, Lo) : Io, nr = dt(v, "ADD_URI_SAFE_ATTR") ? ie(Yt(or), v.ADD_URI_SAFE_ATTR, Re) : or, Sn = dt(v, "ADD_DATA_URI_TAGS") ? ie(Yt(Fr), v.ADD_DATA_URI_TAGS, Re) : Fr, Tt = dt(v, "FORBID_CONTENTS") ? ie({}, v.FORBID_CONTENTS, Re) : Rt, q = dt(v, "FORBID_TAGS") ? ie({}, v.FORBID_TAGS, Re) : {}, F = dt(v, "FORBID_ATTR") ? ie({}, v.FORBID_ATTR, Re) : {}, _t = dt(v, "USE_PROFILES") ? v.USE_PROFILES : !1, Q = v.ALLOW_ARIA_ATTR !== !1, re = v.ALLOW_DATA_ATTR !== !1, ee = v.ALLOW_UNKNOWN_PROTOCOLS || !1, je = v.ALLOW_SELF_CLOSE_IN_ATTR !== !1, D = v.SAFE_FOR_TEMPLATES || !1, Ne = v.SAFE_FOR_XML !== !1, B = v.WHOLE_DOCUMENT || !1, it = v.RETURN_DOM || !1, Vt = v.RETURN_DOM_FRAGMENT || !1, xt = v.RETURN_TRUSTED_TYPE || !1, Ze = v.FORCE_BODY || !1, _n = v.SANITIZE_DOM !== !1, Tn = v.SANITIZE_NAMED_PROPS || !1, Mr = v.KEEP_CONTENT !== !1, Wt = v.IN_PLACE || !1, w = v.ALLOWED_URI_REGEXP || fc, kt = v.NAMESPACE || ft, It = v.MATHML_TEXT_INTEGRATION_POINTS || It, Ht = v.HTML_INTEGRATION_POINTS || Ht, U = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && Br(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (U.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && Br(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (U.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (U.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), D && (re = !1), Vt && (it = !0), _t && (R = ie({}, Ji), z = [], _t.html === !0 && (ie(R, Ki), ie(z, Xi)), _t.svg === !0 && (ie(R, zo), ie(z, Vo), ie(z, Fn)), _t.svgFilters === !0 && (ie(R, Bo), ie(z, Vo), ie(z, Fn)), _t.mathMl === !0 && (ie(R, Uo), ie(z, Zi), ie(z, Fn))), v.ADD_TAGS && (R === W && (R = Yt(R)), ie(R, v.ADD_TAGS, Re)), v.ADD_ATTR && (z === Y && (z = Yt(z)), ie(z, v.ADD_ATTR, Re)), v.ADD_URI_SAFE_ATTR && ie(nr, v.ADD_URI_SAFE_ATTR, Re), v.FORBID_CONTENTS && (Tt === Rt && (Tt = Yt(Tt)), ie(Tt, v.FORBID_CONTENTS, Re)), Mr && (R["#text"] = !0), B && ie(R, ["html", "head", "body"]), R.table && (ie(R, ["tbody"]), delete q.tbody), v.TRUSTED_TYPES_POLICY) {
|
|
4290
4290
|
if (typeof v.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4291
4291
|
throw Gr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4292
4292
|
if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -4294,7 +4294,7 @@ function pc() {
|
|
|
4294
4294
|
C = v.TRUSTED_TYPES_POLICY, _ = C.createHTML("");
|
|
4295
4295
|
} else
|
|
4296
4296
|
C === void 0 && (C = Gp(h, o)), C !== null && typeof _ == "string" && (_ = C.createHTML(""));
|
|
4297
|
-
|
|
4297
|
+
Xe && Xe(v), wt = v;
|
|
4298
4298
|
}
|
|
4299
4299
|
}, En = ie({}, [...zo, ...Bo, ...Dp]), Cn = ie({}, [...Uo, ...Mp]), An = function(v) {
|
|
4300
4300
|
let O = A(v);
|
|
@@ -4304,7 +4304,7 @@ function pc() {
|
|
|
4304
4304
|
});
|
|
4305
4305
|
const I = Wn(v.tagName), se = Wn(O.tagName);
|
|
4306
4306
|
return Lr[v.namespaceURI] ? v.namespaceURI === ir ? O.namespaceURI === ft ? I === "svg" : O.namespaceURI === sr ? I === "svg" && (se === "annotation-xml" || It[se]) : !!En[I] : v.namespaceURI === sr ? O.namespaceURI === ft ? I === "math" : O.namespaceURI === ir ? I === "math" && Ht[se] : !!Cn[I] : v.namespaceURI === ft ? O.namespaceURI === ir && !Ht[se] || O.namespaceURI === sr && !It[se] ? !1 : !Cn[I] && (Dt[I] || !En[I]) : !!(St === "application/xhtml+xml" && Lr[v.namespaceURI]) : !1;
|
|
4307
|
-
},
|
|
4307
|
+
}, tt = function(v) {
|
|
4308
4308
|
Wr(t.removed, {
|
|
4309
4309
|
element: v
|
|
4310
4310
|
});
|
|
@@ -4328,7 +4328,7 @@ function pc() {
|
|
|
4328
4328
|
if (O.removeAttribute(v), v === "is" && !z[v])
|
|
4329
4329
|
if (it || Vt)
|
|
4330
4330
|
try {
|
|
4331
|
-
|
|
4331
|
+
tt(O);
|
|
4332
4332
|
} catch {
|
|
4333
4333
|
}
|
|
4334
4334
|
else
|
|
@@ -4338,7 +4338,7 @@ function pc() {
|
|
|
4338
4338
|
}
|
|
4339
4339
|
}, On = function(v) {
|
|
4340
4340
|
let O = null, I = null;
|
|
4341
|
-
if (
|
|
4341
|
+
if (Ze)
|
|
4342
4342
|
v = "<remove></remove>" + v;
|
|
4343
4343
|
else {
|
|
4344
4344
|
const we = qi(v, /^[\r\n\t ]+/);
|
|
@@ -4381,13 +4381,13 @@ function pc() {
|
|
|
4381
4381
|
const M = function(v) {
|
|
4382
4382
|
let O = null;
|
|
4383
4383
|
if (j("beforeSanitizeElements", v, null), jn(v))
|
|
4384
|
-
return
|
|
4384
|
+
return tt(v), !0;
|
|
4385
4385
|
const I = Re(v.nodeName);
|
|
4386
4386
|
if (j("uponSanitizeElement", v, {
|
|
4387
4387
|
tagName: I,
|
|
4388
4388
|
allowedTags: R
|
|
4389
4389
|
}), v.hasChildNodes() && !g(v.firstElementChild) && qe(/<[/\w]/g, v.innerHTML) && qe(/<[/\w]/g, v.textContent) || v.nodeType === qr.progressingInstruction || Ne && v.nodeType === qr.comment && qe(/<[/\w]/g, v.data))
|
|
4390
|
-
return
|
|
4390
|
+
return tt(v), !0;
|
|
4391
4391
|
if (!R[I] || q[I]) {
|
|
4392
4392
|
if (!q[I] && ce(I) && (U.tagNameCheck instanceof RegExp && qe(U.tagNameCheck, I) || U.tagNameCheck instanceof Function && U.tagNameCheck(I)))
|
|
4393
4393
|
return !1;
|
|
@@ -4396,14 +4396,14 @@ function pc() {
|
|
|
4396
4396
|
if (Ae && se) {
|
|
4397
4397
|
const we = Ae.length;
|
|
4398
4398
|
for (let be = we - 1; be >= 0; --be) {
|
|
4399
|
-
const
|
|
4400
|
-
|
|
4399
|
+
const Qe = x(Ae[be], !0);
|
|
4400
|
+
Qe.__removalCount = (v.__removalCount || 0) + 1, se.insertBefore(Qe, T(v));
|
|
4401
4401
|
}
|
|
4402
4402
|
}
|
|
4403
4403
|
}
|
|
4404
|
-
return
|
|
4404
|
+
return tt(v), !0;
|
|
4405
4405
|
}
|
|
4406
|
-
return v instanceof l && !An(v) || (I === "noscript" || I === "noembed" || I === "noframes") && qe(/<\/no(script|embed|frames)/i, v.innerHTML) ? (
|
|
4406
|
+
return v instanceof l && !An(v) || (I === "noscript" || I === "noembed" || I === "noframes") && qe(/<\/no(script|embed|frames)/i, v.innerHTML) ? (tt(v), !0) : (D && v.nodeType === qr.text && (O = v.textContent, Mn([L, H, Z], (se) => {
|
|
4407
4407
|
O = Hr(O, se, " ");
|
|
4408
4408
|
}), v.textContent !== O && (Wr(t.removed, {
|
|
4409
4409
|
element: v.cloneNode()
|
|
@@ -4456,9 +4456,9 @@ function pc() {
|
|
|
4456
4456
|
const Ae = O[se], {
|
|
4457
4457
|
name: we,
|
|
4458
4458
|
namespaceURI: be,
|
|
4459
|
-
value:
|
|
4459
|
+
value: Qe
|
|
4460
4460
|
} = Ae, Gt = Re(we);
|
|
4461
|
-
let Be = we === "value" ?
|
|
4461
|
+
let Be = we === "value" ? Qe : Rp(Qe);
|
|
4462
4462
|
if (I.attrName = Gt, I.attrValue = Be, I.keepAttr = !0, I.forceKeepAttr = void 0, j("uponSanitizeAttribute", v, I), Be = I.attrValue, Tn && (Gt === "id" || Gt === "name") && (lr(we, v), Be = Dr + Be), Ne && qe(/((--!?|])>)|<\/(style|title)/i, Be)) {
|
|
4463
4463
|
lr(we, v);
|
|
4464
4464
|
continue;
|
|
@@ -4486,7 +4486,7 @@ function pc() {
|
|
|
4486
4486
|
}
|
|
4487
4487
|
}
|
|
4488
4488
|
try {
|
|
4489
|
-
be ? v.setAttributeNS(be, we, Be) : v.setAttribute(we, Be), jn(v) ?
|
|
4489
|
+
be ? v.setAttributeNS(be, we, Be) : v.setAttribute(we, Be), jn(v) ? tt(v) : Yi(t.removed);
|
|
4490
4490
|
} catch {
|
|
4491
4491
|
}
|
|
4492
4492
|
}
|
|
@@ -4511,8 +4511,8 @@ function pc() {
|
|
|
4511
4511
|
return k;
|
|
4512
4512
|
if (Ye || ar(v), t.removed = [], typeof k == "string" && (Wt = !1), Wt) {
|
|
4513
4513
|
if (k.nodeName) {
|
|
4514
|
-
const
|
|
4515
|
-
if (!R[
|
|
4514
|
+
const Qe = Re(k.nodeName);
|
|
4515
|
+
if (!R[Qe] || q[Qe])
|
|
4516
4516
|
throw Gr("root node is forbidden and cannot be sanitized in-place");
|
|
4517
4517
|
}
|
|
4518
4518
|
} else if (k instanceof a)
|
|
@@ -4524,7 +4524,7 @@ function pc() {
|
|
|
4524
4524
|
if (O = On(k), !O)
|
|
4525
4525
|
return it ? null : xt ? _ : "";
|
|
4526
4526
|
}
|
|
4527
|
-
O &&
|
|
4527
|
+
O && Ze && tt(O.firstChild);
|
|
4528
4528
|
const we = $n(Wt ? k : O);
|
|
4529
4529
|
for (; se = we.nextNode(); )
|
|
4530
4530
|
M(se) || (se.content instanceof s && ae(se.content), de(se));
|
|
@@ -4540,8 +4540,8 @@ function pc() {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
let be = B ? O.outerHTML : O.innerHTML;
|
|
4542
4542
|
return B && R["!doctype"] && O.ownerDocument && O.ownerDocument.doctype && O.ownerDocument.doctype.name && qe(dc, O.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + O.ownerDocument.doctype.name + `>
|
|
4543
|
-
` + be), D && Mn([L, H, Z], (
|
|
4544
|
-
be = Hr(be,
|
|
4543
|
+
` + be), D && Mn([L, H, Z], (Qe) => {
|
|
4544
|
+
be = Hr(be, Qe, " ");
|
|
4545
4545
|
}), C && xt ? C.createHTML(be) : be;
|
|
4546
4546
|
}, t.setConfig = function() {
|
|
4547
4547
|
let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -6607,7 +6607,7 @@ function At(e) {
|
|
|
6607
6607
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
6608
6608
|
}
|
|
6609
6609
|
function bu(e) {
|
|
6610
|
-
if (!At(e))
|
|
6610
|
+
if (/* @__PURE__ */ Ke.isValidElement(e) || !At(e))
|
|
6611
6611
|
return e;
|
|
6612
6612
|
const t = {};
|
|
6613
6613
|
return Object.keys(e).forEach((r) => {
|
|
@@ -6621,7 +6621,7 @@ function ot(e, t, r = {
|
|
|
6621
6621
|
...e
|
|
6622
6622
|
} : e;
|
|
6623
6623
|
return At(e) && At(t) && Object.keys(t).forEach((o) => {
|
|
6624
|
-
At(t[o]) && // Avoid prototype pollution
|
|
6624
|
+
/* @__PURE__ */ Ke.isValidElement(t[o]) ? n[o] = t[o] : At(t[o]) && // Avoid prototype pollution
|
|
6625
6625
|
Object.prototype.hasOwnProperty.call(e, o) && At(e[o]) ? n[o] = ot(e[o], t[o], r) : r.clone ? n[o] = At(t[o]) ? bu(t[o]) : t[o] : n[o] = t[o];
|
|
6626
6626
|
}), n;
|
|
6627
6627
|
}
|
|
@@ -7392,16 +7392,16 @@ function $w() {
|
|
|
7392
7392
|
var Ye = B.$$typeof;
|
|
7393
7393
|
switch (Ye) {
|
|
7394
7394
|
case e:
|
|
7395
|
-
var
|
|
7396
|
-
switch (
|
|
7395
|
+
var Ze = B.type;
|
|
7396
|
+
switch (Ze) {
|
|
7397
7397
|
case r:
|
|
7398
7398
|
case o:
|
|
7399
7399
|
case n:
|
|
7400
7400
|
case u:
|
|
7401
7401
|
case d:
|
|
7402
|
-
return
|
|
7402
|
+
return Ze;
|
|
7403
7403
|
default:
|
|
7404
|
-
var it =
|
|
7404
|
+
var it = Ze && Ze.$$typeof;
|
|
7405
7405
|
switch (it) {
|
|
7406
7406
|
case a:
|
|
7407
7407
|
case i:
|
|
@@ -8588,7 +8588,7 @@ function Au(e, t, r) {
|
|
|
8588
8588
|
}
|
|
8589
8589
|
var VE = function(t) {
|
|
8590
8590
|
return t();
|
|
8591
|
-
}, WE =
|
|
8591
|
+
}, WE = Ke.useInsertionEffect ? Ke.useInsertionEffect : !1, HE = WE || VE, GE = RE, YE = function(t) {
|
|
8592
8592
|
return t !== "theme";
|
|
8593
8593
|
}, sl = function(t) {
|
|
8594
8594
|
return typeof t == "string" && // 96 is one less than the char code
|
|
@@ -8628,7 +8628,7 @@ var VE = function(t) {
|
|
|
8628
8628
|
_ = {};
|
|
8629
8629
|
for (var $ in x)
|
|
8630
8630
|
_[$] = x[$];
|
|
8631
|
-
_.theme =
|
|
8631
|
+
_.theme = Ke.useContext(Pf);
|
|
8632
8632
|
}
|
|
8633
8633
|
typeof x.className == "string" ? A = IE(b.registered, C, x.className) : x.className != null && (A = x.className + " ");
|
|
8634
8634
|
var N = Au(f.concat(C), b.registered, _);
|
|
@@ -8636,11 +8636,11 @@ var VE = function(t) {
|
|
|
8636
8636
|
var V = u && a === void 0 ? sl(E) : l, K = {};
|
|
8637
8637
|
for (var m in x)
|
|
8638
8638
|
u && m === "as" || V(m) && (K[m] = x[m]);
|
|
8639
|
-
return K.className = A, T && (K.ref = T), /* @__PURE__ */
|
|
8639
|
+
return K.className = A, T && (K.ref = T), /* @__PURE__ */ Ke.createElement(Ke.Fragment, null, /* @__PURE__ */ Ke.createElement(KE, {
|
|
8640
8640
|
cache: b,
|
|
8641
8641
|
serialized: N,
|
|
8642
8642
|
isStringTag: typeof E == "string"
|
|
8643
|
-
}), /* @__PURE__ */
|
|
8643
|
+
}), /* @__PURE__ */ Ke.createElement(E, K));
|
|
8644
8644
|
});
|
|
8645
8645
|
return y.displayName = s !== void 0 ? s : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = o, y.__emotion_styles = f, y.__emotion_forwardProp = a, Object.defineProperty(y, "toString", {
|
|
8646
8646
|
value: function() {
|
|
@@ -8793,7 +8793,7 @@ XE.forEach(function(e) {
|
|
|
8793
8793
|
Ps[e] = Ps(e);
|
|
8794
8794
|
});
|
|
8795
8795
|
/**
|
|
8796
|
-
* @mui/styled-engine v6.1.
|
|
8796
|
+
* @mui/styled-engine v6.1.9
|
|
8797
8797
|
*
|
|
8798
8798
|
* @license MIT
|
|
8799
8799
|
* This source code is licensed under the MIT license found in the
|
|
@@ -9215,7 +9215,7 @@ function zn(e, t, r) {
|
|
|
9215
9215
|
return e;
|
|
9216
9216
|
}
|
|
9217
9217
|
}
|
|
9218
|
-
const gC = /* @__PURE__ */
|
|
9218
|
+
const gC = /* @__PURE__ */ Ke.createContext(void 0);
|
|
9219
9219
|
process.env.NODE_ENV !== "production" && (ue.node, ue.object);
|
|
9220
9220
|
function yC(e) {
|
|
9221
9221
|
const {
|
|
@@ -9232,7 +9232,7 @@ function bC({
|
|
|
9232
9232
|
props: e,
|
|
9233
9233
|
name: t
|
|
9234
9234
|
}) {
|
|
9235
|
-
const r =
|
|
9235
|
+
const r = Ke.useContext(gC);
|
|
9236
9236
|
return yC({
|
|
9237
9237
|
props: e,
|
|
9238
9238
|
name: t,
|
|
@@ -10434,7 +10434,7 @@ const dA = (e) => {
|
|
|
10434
10434
|
}
|
|
10435
10435
|
]
|
|
10436
10436
|
};
|
|
10437
|
-
})), un = /* @__PURE__ */
|
|
10437
|
+
})), un = /* @__PURE__ */ Ke.forwardRef(function(t, r) {
|
|
10438
10438
|
const n = uA({
|
|
10439
10439
|
props: t,
|
|
10440
10440
|
name: "MuiSvgIcon"
|
|
@@ -10449,7 +10449,7 @@ const dA = (e) => {
|
|
|
10449
10449
|
titleAccess: f,
|
|
10450
10450
|
viewBox: p = "0 0 24 24",
|
|
10451
10451
|
...h
|
|
10452
|
-
} = n, y = /* @__PURE__ */
|
|
10452
|
+
} = n, y = /* @__PURE__ */ Ke.isValidElement(o) && o.type === "svg", x = {
|
|
10453
10453
|
...n,
|
|
10454
10454
|
color: i,
|
|
10455
10455
|
component: a,
|
|
@@ -10560,7 +10560,7 @@ function vi(e, t) {
|
|
|
10560
10560
|
children: e
|
|
10561
10561
|
});
|
|
10562
10562
|
}
|
|
10563
|
-
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = un.muiName, /* @__PURE__ */
|
|
10563
|
+
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = un.muiName, /* @__PURE__ */ Ke.memo(/* @__PURE__ */ Ke.forwardRef(r));
|
|
10564
10564
|
}
|
|
10565
10565
|
const hA = vi(/* @__PURE__ */ c.jsx("path", {
|
|
10566
10566
|
d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"
|