@ukpc-lib/react 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/GlobalMenu/components/MenuItem.d.ts +2 -4
- package/dist/components/Topbar/index.d.ts +1 -14
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +4 -4
- package/dist/index-5bc96a1f.js +147 -0
- package/dist/index-b3ac4c73.cjs +1 -0
- package/dist/{index.module-5fdb50ba.cjs → index.module-be2c9027.cjs} +117 -117
- package/dist/{index.module-16bdfef5.js → index.module-fcfb53fb.js} +7046 -6534
- package/dist/share/AuthProvider/index.d.ts +6 -6
- package/dist/share/BrandThemeProvider/Colors.d.ts +33 -0
- package/dist/share/BrandThemeProvider/Theme.d.ts +21 -0
- package/dist/share/BrandThemeProvider/index.d.ts +15 -0
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.d.ts +1 -0
- package/dist/share/index.js +27 -25
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +12 -129
- package/package.json +2 -2
- package/web-components-bundle/access-denied/index.cjs +1 -1
- package/web-components-bundle/access-denied/index.js +2 -2
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +2 -2
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +4 -4
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +4 -4
- package/web-components-bundle/{index-5627e1e9.cjs → index-389a5bed.cjs} +2 -2
- package/web-components-bundle/{index-4173d527.js → index-8081b070.js} +5733 -5680
- package/web-components-bundle/{index-c0edc305.js → index-bf404503.js} +170 -170
- package/web-components-bundle/{index-813b234d.cjs → index-c311c558.cjs} +14 -14
- package/web-components-bundle/{index-a716cadc.js → index-feebf9bf.js} +661 -635
- package/web-components-bundle/{index-6c123355.cjs → index-ff7fd2be.cjs} +79 -79
- package/web-components-bundle/{react-to-web-component-5d347552.cjs → react-to-web-component-3847ebf5.cjs} +8 -8
- package/web-components-bundle/{react-to-web-component-24d28041.js → react-to-web-component-469d91d4.js} +508 -506
- package/dist/Colors-4ad88021.js +0 -29
- package/dist/Colors-51ce6654.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as Rl, r as x, j as A, a as Ie, e as Ol, R as Qf, _ as ed, s as td } from "./react-to-web-component-469d91d4.js";
|
|
2
2
|
function _l(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
@@ -7,30 +7,30 @@ function _l(e, t) {
|
|
|
7
7
|
const { toString: nd } = Object.prototype, { getPrototypeOf: ro } = Object, Sr = ((e) => (t) => {
|
|
8
8
|
const n = nd.call(t);
|
|
9
9
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
10
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), Le = (e) => (e = e.toLowerCase(), (t) => Sr(t) === e), Er = (e) => (t) => typeof t === e, { isArray: Bt } = Array, ln = Er("undefined");
|
|
11
11
|
function rd(e) {
|
|
12
12
|
return e !== null && !ln(e) && e.constructor !== null && !ln(e.constructor) && Ee(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
14
|
-
const Ml =
|
|
14
|
+
const Ml = Le("ArrayBuffer");
|
|
15
15
|
function id(e) {
|
|
16
16
|
let t;
|
|
17
17
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ml(e.buffer), t;
|
|
18
18
|
}
|
|
19
|
-
const od = Er("string"), Ee = Er("function"),
|
|
19
|
+
const od = Er("string"), Ee = Er("function"), Fl = Er("number"), Cr = (e) => e !== null && typeof e == "object", sd = (e) => e === !0 || e === !1, Dn = (e) => {
|
|
20
20
|
if (Sr(e) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const t = ro(e);
|
|
23
23
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
24
|
-
}, ad =
|
|
24
|
+
}, ad = Le("Date"), ld = Le("File"), ud = Le("Blob"), cd = Le("FileList"), fd = (e) => Cr(e) && Ee(e.pipe), dd = (e) => {
|
|
25
25
|
let t;
|
|
26
26
|
return e && (typeof FormData == "function" && e instanceof FormData || Ee(e.append) && ((t = Sr(e)) === "formdata" || // detect form-data instance
|
|
27
27
|
t === "object" && Ee(e.toString) && e.toString() === "[object FormData]"));
|
|
28
|
-
}, hd =
|
|
28
|
+
}, hd = Le("URLSearchParams"), pd = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
29
|
function vn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
30
30
|
if (e === null || typeof e > "u")
|
|
31
31
|
return;
|
|
32
32
|
let r, i;
|
|
33
|
-
if (typeof e != "object" && (e = [e]),
|
|
33
|
+
if (typeof e != "object" && (e = [e]), Bt(e))
|
|
34
34
|
for (r = 0, i = e.length; r < i; r++)
|
|
35
35
|
t.call(null, e[r], r, e);
|
|
36
36
|
else {
|
|
@@ -40,7 +40,7 @@ function vn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
40
40
|
a = o[r], t.call(null, e[a], a, e);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Vl(e, t) {
|
|
44
44
|
t = t.toLowerCase();
|
|
45
45
|
const n = Object.keys(e);
|
|
46
46
|
let r = n.length, i;
|
|
@@ -49,11 +49,11 @@ function Ll(e, t) {
|
|
|
49
49
|
return i;
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
-
const
|
|
52
|
+
const Ll = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Dl = (e) => !ln(e) && e !== Ll;
|
|
53
53
|
function Ei() {
|
|
54
54
|
const { caseless: e } = Dl(this) && this || {}, t = {}, n = (r, i) => {
|
|
55
|
-
const o = e &&
|
|
56
|
-
Dn(t[o]) && Dn(r) ? t[o] = Ei(t[o], r) : Dn(r) ? t[o] = Ei({}, r) :
|
|
55
|
+
const o = e && Vl(t, i) || i;
|
|
56
|
+
Dn(t[o]) && Dn(r) ? t[o] = Ei(t[o], r) : Dn(r) ? t[o] = Ei({}, r) : Bt(r) ? t[o] = r.slice() : t[o] = r;
|
|
57
57
|
};
|
|
58
58
|
for (let r = 0, i = arguments.length; r < i; r++)
|
|
59
59
|
arguments[r] && vn(arguments[r], n);
|
|
@@ -83,10 +83,10 @@ const md = (e, t, n, { allOwnKeys: r } = {}) => (vn(t, (i, o) => {
|
|
|
83
83
|
}, bd = (e) => {
|
|
84
84
|
if (!e)
|
|
85
85
|
return null;
|
|
86
|
-
if (
|
|
86
|
+
if (Bt(e))
|
|
87
87
|
return e;
|
|
88
88
|
let t = e.length;
|
|
89
|
-
if (!
|
|
89
|
+
if (!Fl(t))
|
|
90
90
|
return null;
|
|
91
91
|
const n = new Array(t);
|
|
92
92
|
for (; t-- > 0; )
|
|
@@ -105,12 +105,12 @@ const md = (e, t, n, { allOwnKeys: r } = {}) => (vn(t, (i, o) => {
|
|
|
105
105
|
for (; (n = e.exec(t)) !== null; )
|
|
106
106
|
r.push(n);
|
|
107
107
|
return r;
|
|
108
|
-
}, Cd =
|
|
108
|
+
}, Cd = Le("HTMLFormElement"), kd = (e) => e.toLowerCase().replace(
|
|
109
109
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
110
110
|
function(n, r, i) {
|
|
111
111
|
return r.toUpperCase() + i;
|
|
112
112
|
}
|
|
113
|
-
), ts = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Td =
|
|
113
|
+
), ts = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Td = Le("RegExp"), jl = (e, t) => {
|
|
114
114
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
115
115
|
vn(n, (i, o) => {
|
|
116
116
|
let s;
|
|
@@ -131,14 +131,14 @@ const md = (e, t, n, { allOwnKeys: r } = {}) => (vn(t, (i, o) => {
|
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
|
-
},
|
|
134
|
+
}, Ad = (e, t) => {
|
|
135
135
|
const n = {}, r = (i) => {
|
|
136
136
|
i.forEach((o) => {
|
|
137
137
|
n[o] = !0;
|
|
138
138
|
});
|
|
139
139
|
};
|
|
140
|
-
return
|
|
141
|
-
},
|
|
140
|
+
return Bt(e) ? r(e) : r(String(e).split(t)), n;
|
|
141
|
+
}, Rd = () => {
|
|
142
142
|
}, Od = (e, t) => (e = +e, Number.isFinite(e) ? e : t), qr = "abcdefghijklmnopqrstuvwxyz", ns = "0123456789", Il = {
|
|
143
143
|
DIGIT: ns,
|
|
144
144
|
ALPHA: qr,
|
|
@@ -153,14 +153,14 @@ const md = (e, t, n, { allOwnKeys: r } = {}) => (vn(t, (i, o) => {
|
|
|
153
153
|
function Md(e) {
|
|
154
154
|
return !!(e && Ee(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
155
155
|
}
|
|
156
|
-
const
|
|
156
|
+
const Fd = (e) => {
|
|
157
157
|
const t = new Array(10), n = (r, i) => {
|
|
158
158
|
if (Cr(r)) {
|
|
159
159
|
if (t.indexOf(r) >= 0)
|
|
160
160
|
return;
|
|
161
161
|
if (!("toJSON" in r)) {
|
|
162
162
|
t[i] = r;
|
|
163
|
-
const o =
|
|
163
|
+
const o = Bt(r) ? [] : {};
|
|
164
164
|
return vn(r, (s, a) => {
|
|
165
165
|
const l = n(s, i + 1);
|
|
166
166
|
!ln(l) && (o[a] = l);
|
|
@@ -170,14 +170,14 @@ const Vd = (e) => {
|
|
|
170
170
|
return r;
|
|
171
171
|
};
|
|
172
172
|
return n(e, 0);
|
|
173
|
-
},
|
|
174
|
-
isArray:
|
|
173
|
+
}, Vd = Le("AsyncFunction"), Ld = (e) => e && (Cr(e) || Ee(e)) && Ee(e.then) && Ee(e.catch), w = {
|
|
174
|
+
isArray: Bt,
|
|
175
175
|
isArrayBuffer: Ml,
|
|
176
176
|
isBuffer: rd,
|
|
177
177
|
isFormData: dd,
|
|
178
178
|
isArrayBufferView: id,
|
|
179
179
|
isString: od,
|
|
180
|
-
isNumber:
|
|
180
|
+
isNumber: Fl,
|
|
181
181
|
isBoolean: sd,
|
|
182
182
|
isObject: Cr,
|
|
183
183
|
isPlainObject: Dn,
|
|
@@ -199,7 +199,7 @@ const Vd = (e) => {
|
|
|
199
199
|
inherits: yd,
|
|
200
200
|
toFlatObject: vd,
|
|
201
201
|
kindOf: Sr,
|
|
202
|
-
kindOfTest:
|
|
202
|
+
kindOfTest: Le,
|
|
203
203
|
endsWith: xd,
|
|
204
204
|
toArray: bd,
|
|
205
205
|
forEachEntry: Sd,
|
|
@@ -210,24 +210,24 @@ const Vd = (e) => {
|
|
|
210
210
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
211
211
|
reduceDescriptors: jl,
|
|
212
212
|
freezeMethods: Pd,
|
|
213
|
-
toObjectSet:
|
|
213
|
+
toObjectSet: Ad,
|
|
214
214
|
toCamelCase: kd,
|
|
215
|
-
noop:
|
|
215
|
+
noop: Rd,
|
|
216
216
|
toFiniteNumber: Od,
|
|
217
|
-
findKey:
|
|
218
|
-
global:
|
|
217
|
+
findKey: Vl,
|
|
218
|
+
global: Ll,
|
|
219
219
|
isContextDefined: Dl,
|
|
220
220
|
ALPHABET: Il,
|
|
221
221
|
generateString: _d,
|
|
222
222
|
isSpecCompliantForm: Md,
|
|
223
|
-
toJSONObject:
|
|
224
|
-
isAsyncFn:
|
|
225
|
-
isThenable:
|
|
223
|
+
toJSONObject: Fd,
|
|
224
|
+
isAsyncFn: Vd,
|
|
225
|
+
isThenable: Ld
|
|
226
226
|
};
|
|
227
|
-
function
|
|
227
|
+
function L(e, t, n, r, i) {
|
|
228
228
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), i && (this.response = i);
|
|
229
229
|
}
|
|
230
|
-
w.inherits(
|
|
230
|
+
w.inherits(L, Error, {
|
|
231
231
|
toJSON: function() {
|
|
232
232
|
return {
|
|
233
233
|
// Standard
|
|
@@ -248,7 +248,7 @@ w.inherits(F, Error, {
|
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
|
-
const
|
|
251
|
+
const Bl = L.prototype, Nl = {};
|
|
252
252
|
[
|
|
253
253
|
"ERR_BAD_OPTION_VALUE",
|
|
254
254
|
"ERR_BAD_OPTION",
|
|
@@ -264,15 +264,15 @@ const Nl = F.prototype, Bl = {};
|
|
|
264
264
|
"ERR_INVALID_URL"
|
|
265
265
|
// eslint-disable-next-line func-names
|
|
266
266
|
].forEach((e) => {
|
|
267
|
-
|
|
267
|
+
Nl[e] = { value: e };
|
|
268
268
|
});
|
|
269
|
-
Object.defineProperties(
|
|
270
|
-
Object.defineProperty(
|
|
271
|
-
|
|
272
|
-
const s = Object.create(
|
|
269
|
+
Object.defineProperties(L, Nl);
|
|
270
|
+
Object.defineProperty(Bl, "isAxiosError", { value: !0 });
|
|
271
|
+
L.from = (e, t, n, r, i, o) => {
|
|
272
|
+
const s = Object.create(Bl);
|
|
273
273
|
return w.toFlatObject(e, s, function(l) {
|
|
274
274
|
return l !== Error.prototype;
|
|
275
|
-
}, (a) => a !== "isAxiosError"),
|
|
275
|
+
}, (a) => a !== "isAxiosError"), L.call(s, e.message, t, n, r, i), s.cause = e, s.name = e.name, o && Object.assign(s, o), s;
|
|
276
276
|
};
|
|
277
277
|
const Dd = null;
|
|
278
278
|
function Ci(e) {
|
|
@@ -311,7 +311,7 @@ function kr(e, t, n) {
|
|
|
311
311
|
if (w.isDate(p))
|
|
312
312
|
return p.toISOString();
|
|
313
313
|
if (!l && w.isBlob(p))
|
|
314
|
-
throw new
|
|
314
|
+
throw new L("Blob is not supported. Use a Buffer instead.");
|
|
315
315
|
return w.isArrayBuffer(p) || w.isTypedArray(p) ? l && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
316
316
|
}
|
|
317
317
|
function f(p, m, g) {
|
|
@@ -383,13 +383,13 @@ zl.toString = function(t) {
|
|
|
383
383
|
return n(i[0]) + "=" + n(i[1]);
|
|
384
384
|
}, "").join("&");
|
|
385
385
|
};
|
|
386
|
-
function
|
|
386
|
+
function Bd(e) {
|
|
387
387
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
388
388
|
}
|
|
389
389
|
function Ul(e, t, n) {
|
|
390
390
|
if (!t)
|
|
391
391
|
return e;
|
|
392
|
-
const r = n && n.encode ||
|
|
392
|
+
const r = n && n.encode || Bd, i = n && n.serialize;
|
|
393
393
|
let o;
|
|
394
394
|
if (i ? o = i(t, n) : o = w.isURLSearchParams(t) ? t.toString() : new io(t, n).toString(r), o) {
|
|
395
395
|
const s = e.indexOf("#");
|
|
@@ -397,7 +397,7 @@ function Ul(e, t, n) {
|
|
|
397
397
|
}
|
|
398
398
|
return e;
|
|
399
399
|
}
|
|
400
|
-
class
|
|
400
|
+
class Nd {
|
|
401
401
|
constructor() {
|
|
402
402
|
this.handlers = [];
|
|
403
403
|
}
|
|
@@ -451,7 +451,7 @@ class Bd {
|
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
const os =
|
|
454
|
+
const os = Nd, Wl = {
|
|
455
455
|
silentJSONParsing: !0,
|
|
456
456
|
forcedJSONParsing: !0,
|
|
457
457
|
clarifyTimeoutError: !1
|
|
@@ -469,14 +469,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
469
469
|
hasBrowserEnv: Hl,
|
|
470
470
|
hasStandardBrowserEnv: Hd,
|
|
471
471
|
hasStandardBrowserWebWorkerEnv: qd
|
|
472
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
472
|
+
}, Symbol.toStringTag, { value: "Module" })), Fe = {
|
|
473
473
|
...Gd,
|
|
474
474
|
...Wd
|
|
475
475
|
};
|
|
476
476
|
function Xd(e, t) {
|
|
477
|
-
return kr(e, new
|
|
477
|
+
return kr(e, new Fe.classes.URLSearchParams(), Object.assign({
|
|
478
478
|
visitor: function(n, r, i, o) {
|
|
479
|
-
return
|
|
479
|
+
return Fe.isNode && w.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
480
480
|
}
|
|
481
481
|
}, t));
|
|
482
482
|
}
|
|
@@ -552,7 +552,7 @@ const oo = {
|
|
|
552
552
|
return JSON.parse(t);
|
|
553
553
|
} catch (a) {
|
|
554
554
|
if (s)
|
|
555
|
-
throw a.name === "SyntaxError" ?
|
|
555
|
+
throw a.name === "SyntaxError" ? L.from(a, L.ERR_BAD_RESPONSE, this, null, this.response) : a;
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
return t;
|
|
@@ -567,8 +567,8 @@ const oo = {
|
|
|
567
567
|
maxContentLength: -1,
|
|
568
568
|
maxBodyLength: -1,
|
|
569
569
|
env: {
|
|
570
|
-
FormData:
|
|
571
|
-
Blob:
|
|
570
|
+
FormData: Fe.classes.FormData,
|
|
571
|
+
Blob: Fe.classes.Blob
|
|
572
572
|
},
|
|
573
573
|
validateStatus: function(t) {
|
|
574
574
|
return t >= 200 && t < 300;
|
|
@@ -767,9 +767,9 @@ w.reduceDescriptors(Tr.prototype, ({ value: e }, t) => {
|
|
|
767
767
|
};
|
|
768
768
|
});
|
|
769
769
|
w.freezeMethods(Tr);
|
|
770
|
-
const
|
|
770
|
+
const Ne = Tr;
|
|
771
771
|
function Xr(e, t) {
|
|
772
|
-
const n = this || so, r = t || n, i =
|
|
772
|
+
const n = this || so, r = t || n, i = Ne.from(r.headers);
|
|
773
773
|
let o = r.data;
|
|
774
774
|
return w.forEach(e, function(a) {
|
|
775
775
|
o = a.call(n, o, i.normalize(), t ? t.status : void 0);
|
|
@@ -779,22 +779,22 @@ function Gl(e) {
|
|
|
779
779
|
return !!(e && e.__CANCEL__);
|
|
780
780
|
}
|
|
781
781
|
function xn(e, t, n) {
|
|
782
|
-
|
|
782
|
+
L.call(this, e ?? "canceled", L.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
783
783
|
}
|
|
784
|
-
w.inherits(xn,
|
|
784
|
+
w.inherits(xn, L, {
|
|
785
785
|
__CANCEL__: !0
|
|
786
786
|
});
|
|
787
787
|
function ih(e, t, n) {
|
|
788
788
|
const r = n.config.validateStatus;
|
|
789
|
-
!n.status || !r || r(n.status) ? e(n) : t(new
|
|
789
|
+
!n.status || !r || r(n.status) ? e(n) : t(new L(
|
|
790
790
|
"Request failed with status code " + n.status,
|
|
791
|
-
[
|
|
791
|
+
[L.ERR_BAD_REQUEST, L.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
792
792
|
n.config,
|
|
793
793
|
n.request,
|
|
794
794
|
n
|
|
795
795
|
));
|
|
796
796
|
}
|
|
797
|
-
const oh =
|
|
797
|
+
const oh = Fe.hasStandardBrowserEnv ? (
|
|
798
798
|
// Standard browser envs support document.cookie
|
|
799
799
|
{
|
|
800
800
|
write(e, t, n, r, i, o) {
|
|
@@ -830,7 +830,7 @@ function ah(e, t) {
|
|
|
830
830
|
function Xl(e, t) {
|
|
831
831
|
return e && !sh(t) ? ah(e, t) : t;
|
|
832
832
|
}
|
|
833
|
-
const lh =
|
|
833
|
+
const lh = Fe.hasStandardBrowserEnv ? (
|
|
834
834
|
// Standard browser envs have full support of the APIs needed to test
|
|
835
835
|
// whether the request URL is of the same origin as current location.
|
|
836
836
|
function() {
|
|
@@ -903,14 +903,14 @@ function as(e, t) {
|
|
|
903
903
|
const fh = typeof XMLHttpRequest < "u", dh = fh && function(e) {
|
|
904
904
|
return new Promise(function(n, r) {
|
|
905
905
|
let i = e.data;
|
|
906
|
-
const o =
|
|
906
|
+
const o = Ne.from(e.headers).normalize();
|
|
907
907
|
let { responseType: s, withXSRFToken: a } = e, l;
|
|
908
908
|
function u() {
|
|
909
909
|
e.cancelToken && e.cancelToken.unsubscribe(l), e.signal && e.signal.removeEventListener("abort", l);
|
|
910
910
|
}
|
|
911
911
|
let f;
|
|
912
912
|
if (w.isFormData(i)) {
|
|
913
|
-
if (
|
|
913
|
+
if (Fe.hasStandardBrowserEnv || Fe.hasStandardBrowserWebWorkerEnv)
|
|
914
914
|
o.setContentType(!1);
|
|
915
915
|
else if ((f = o.getContentType()) !== !1) {
|
|
916
916
|
const [m, ...g] = f ? f.split(";").map((y) => y.trim()).filter(Boolean) : [];
|
|
@@ -927,7 +927,7 @@ const fh = typeof XMLHttpRequest < "u", dh = fh && function(e) {
|
|
|
927
927
|
function h() {
|
|
928
928
|
if (!c)
|
|
929
929
|
return;
|
|
930
|
-
const m =
|
|
930
|
+
const m = Ne.from(
|
|
931
931
|
"getAllResponseHeaders" in c && c.getAllResponseHeaders()
|
|
932
932
|
), y = {
|
|
933
933
|
data: !s || s === "text" || s === "json" ? c.responseText : c.response,
|
|
@@ -946,19 +946,19 @@ const fh = typeof XMLHttpRequest < "u", dh = fh && function(e) {
|
|
|
946
946
|
if ("onloadend" in c ? c.onloadend = h : c.onreadystatechange = function() {
|
|
947
947
|
!c || c.readyState !== 4 || c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0) || setTimeout(h);
|
|
948
948
|
}, c.onabort = function() {
|
|
949
|
-
c && (r(new
|
|
949
|
+
c && (r(new L("Request aborted", L.ECONNABORTED, e, c)), c = null);
|
|
950
950
|
}, c.onerror = function() {
|
|
951
|
-
r(new
|
|
951
|
+
r(new L("Network Error", L.ERR_NETWORK, e, c)), c = null;
|
|
952
952
|
}, c.ontimeout = function() {
|
|
953
953
|
let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
954
954
|
const y = e.transitional || Wl;
|
|
955
|
-
e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new
|
|
955
|
+
e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new L(
|
|
956
956
|
g,
|
|
957
|
-
y.clarifyTimeoutError ?
|
|
957
|
+
y.clarifyTimeoutError ? L.ETIMEDOUT : L.ECONNABORTED,
|
|
958
958
|
e,
|
|
959
959
|
c
|
|
960
960
|
)), c = null;
|
|
961
|
-
},
|
|
961
|
+
}, Fe.hasStandardBrowserEnv && (a && w.isFunction(a) && (a = a(e)), a || a !== !1 && lh(d))) {
|
|
962
962
|
const m = e.xsrfHeaderName && e.xsrfCookieName && oh.read(e.xsrfCookieName);
|
|
963
963
|
m && o.set(e.xsrfHeaderName, m);
|
|
964
964
|
}
|
|
@@ -968,8 +968,8 @@ const fh = typeof XMLHttpRequest < "u", dh = fh && function(e) {
|
|
|
968
968
|
c && (r(!m || m.type ? new xn(null, e, c) : m), c.abort(), c = null);
|
|
969
969
|
}, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l)));
|
|
970
970
|
const p = uh(d);
|
|
971
|
-
if (p &&
|
|
972
|
-
r(new
|
|
971
|
+
if (p && Fe.protocols.indexOf(p) === -1) {
|
|
972
|
+
r(new L("Unsupported protocol " + p + ":", L.ERR_BAD_REQUEST, e));
|
|
973
973
|
return;
|
|
974
974
|
}
|
|
975
975
|
c.send(i || null);
|
|
@@ -997,7 +997,7 @@ const ls = (e) => `- ${e}`, hh = (e) => w.isFunction(e) || e === null || e === !
|
|
|
997
997
|
n = e[o];
|
|
998
998
|
let s;
|
|
999
999
|
if (r = n, !hh(n) && (r = ki[(s = String(n)).toLowerCase()], r === void 0))
|
|
1000
|
-
throw new
|
|
1000
|
+
throw new L(`Unknown adapter '${s}'`);
|
|
1001
1001
|
if (r)
|
|
1002
1002
|
break;
|
|
1003
1003
|
i[s || "#" + o] = r;
|
|
@@ -1009,7 +1009,7 @@ const ls = (e) => `- ${e}`, hh = (e) => w.isFunction(e) || e === null || e === !
|
|
|
1009
1009
|
let s = t ? o.length > 1 ? `since :
|
|
1010
1010
|
` + o.map(ls).join(`
|
|
1011
1011
|
`) : " " + ls(o[0]) : "as no adapter specified";
|
|
1012
|
-
throw new
|
|
1012
|
+
throw new L(
|
|
1013
1013
|
"There is no suitable adapter to dispatch the request " + s,
|
|
1014
1014
|
"ERR_NOT_SUPPORT"
|
|
1015
1015
|
);
|
|
@@ -1023,7 +1023,7 @@ function Kr(e) {
|
|
|
1023
1023
|
throw new xn(null, e);
|
|
1024
1024
|
}
|
|
1025
1025
|
function us(e) {
|
|
1026
|
-
return Kr(e), e.headers =
|
|
1026
|
+
return Kr(e), e.headers = Ne.from(e.headers), e.data = Xr.call(
|
|
1027
1027
|
e,
|
|
1028
1028
|
e.transformRequest
|
|
1029
1029
|
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Kl.getAdapter(e.adapter || so.adapter)(e).then(function(r) {
|
|
@@ -1031,16 +1031,16 @@ function us(e) {
|
|
|
1031
1031
|
e,
|
|
1032
1032
|
e.transformResponse,
|
|
1033
1033
|
r
|
|
1034
|
-
), r.headers =
|
|
1034
|
+
), r.headers = Ne.from(r.headers), r;
|
|
1035
1035
|
}, function(r) {
|
|
1036
1036
|
return Gl(r) || (Kr(e), r && r.response && (r.response.data = Xr.call(
|
|
1037
1037
|
e,
|
|
1038
1038
|
e.transformResponse,
|
|
1039
1039
|
r.response
|
|
1040
|
-
), r.response.headers =
|
|
1040
|
+
), r.response.headers = Ne.from(r.response.headers))), Promise.reject(r);
|
|
1041
1041
|
});
|
|
1042
1042
|
}
|
|
1043
|
-
const cs = (e) => e instanceof
|
|
1043
|
+
const cs = (e) => e instanceof Ne ? e.toJSON() : e;
|
|
1044
1044
|
function Dt(e, t) {
|
|
1045
1045
|
t = t || {};
|
|
1046
1046
|
const n = {};
|
|
@@ -1120,9 +1120,9 @@ ao.transitional = function(t, n, r) {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
return (o, s, a) => {
|
|
1122
1122
|
if (t === !1)
|
|
1123
|
-
throw new
|
|
1123
|
+
throw new L(
|
|
1124
1124
|
i(s, " has been removed" + (n ? " in " + n : "")),
|
|
1125
|
-
|
|
1125
|
+
L.ERR_DEPRECATED
|
|
1126
1126
|
);
|
|
1127
1127
|
return n && !fs[s] && (fs[s] = !0, console.warn(
|
|
1128
1128
|
i(
|
|
@@ -1134,7 +1134,7 @@ ao.transitional = function(t, n, r) {
|
|
|
1134
1134
|
};
|
|
1135
1135
|
function ph(e, t, n) {
|
|
1136
1136
|
if (typeof e != "object")
|
|
1137
|
-
throw new
|
|
1137
|
+
throw new L("options must be an object", L.ERR_BAD_OPTION_VALUE);
|
|
1138
1138
|
const r = Object.keys(e);
|
|
1139
1139
|
let i = r.length;
|
|
1140
1140
|
for (; i-- > 0; ) {
|
|
@@ -1142,11 +1142,11 @@ function ph(e, t, n) {
|
|
|
1142
1142
|
if (s) {
|
|
1143
1143
|
const a = e[o], l = a === void 0 || s(a, o, e);
|
|
1144
1144
|
if (l !== !0)
|
|
1145
|
-
throw new
|
|
1145
|
+
throw new L("option " + o + " must be " + l, L.ERR_BAD_OPTION_VALUE);
|
|
1146
1146
|
continue;
|
|
1147
1147
|
}
|
|
1148
1148
|
if (n !== !0)
|
|
1149
|
-
throw new
|
|
1149
|
+
throw new L("Unknown option " + o, L.ERR_BAD_OPTION);
|
|
1150
1150
|
}
|
|
1151
1151
|
}
|
|
1152
1152
|
const Ti = {
|
|
@@ -1190,7 +1190,7 @@ class Zn {
|
|
|
1190
1190
|
(p) => {
|
|
1191
1191
|
delete o[p];
|
|
1192
1192
|
}
|
|
1193
|
-
), n.headers =
|
|
1193
|
+
), n.headers = Ne.concat(s, o);
|
|
1194
1194
|
const a = [];
|
|
1195
1195
|
let l = !0;
|
|
1196
1196
|
this.interceptors.request.forEach(function(m) {
|
|
@@ -1417,7 +1417,7 @@ Z.CancelToken = mh;
|
|
|
1417
1417
|
Z.isCancel = Gl;
|
|
1418
1418
|
Z.VERSION = Yl;
|
|
1419
1419
|
Z.toFormData = kr;
|
|
1420
|
-
Z.AxiosError =
|
|
1420
|
+
Z.AxiosError = L;
|
|
1421
1421
|
Z.Cancel = Z.CanceledError;
|
|
1422
1422
|
Z.all = function(t) {
|
|
1423
1423
|
return Promise.all(t);
|
|
@@ -1425,7 +1425,7 @@ Z.all = function(t) {
|
|
|
1425
1425
|
Z.spread = gh;
|
|
1426
1426
|
Z.isAxiosError = yh;
|
|
1427
1427
|
Z.mergeConfig = Dt;
|
|
1428
|
-
Z.AxiosHeaders =
|
|
1428
|
+
Z.AxiosHeaders = Ne;
|
|
1429
1429
|
Z.formToJSON = (e) => ql(w.isHTMLForm(e) ? new FormData(e) : e);
|
|
1430
1430
|
Z.getAdapter = Kl.getAdapter;
|
|
1431
1431
|
Z.HttpStatusCode = vh;
|
|
@@ -1448,20 +1448,20 @@ function Ph(e) {
|
|
|
1448
1448
|
var i = Th.call(e);
|
|
1449
1449
|
return r && (t ? e[Ht] = n : delete e[Ht]), i;
|
|
1450
1450
|
}
|
|
1451
|
-
var
|
|
1451
|
+
var Ah = Object.prototype, Rh = Ah.toString;
|
|
1452
1452
|
function Oh(e) {
|
|
1453
|
-
return
|
|
1453
|
+
return Rh.call(e);
|
|
1454
1454
|
}
|
|
1455
1455
|
var _h = "[object Null]", Mh = "[object Undefined]", ds = Qn ? Qn.toStringTag : void 0;
|
|
1456
|
-
function
|
|
1456
|
+
function Fh(e) {
|
|
1457
1457
|
return e == null ? e === void 0 ? Mh : _h : ds && ds in Object(e) ? Ph(e) : Oh(e);
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1459
|
+
function Vh(e) {
|
|
1460
1460
|
return e != null && typeof e == "object";
|
|
1461
1461
|
}
|
|
1462
|
-
var
|
|
1462
|
+
var Lh = "[object Symbol]";
|
|
1463
1463
|
function Dh(e) {
|
|
1464
|
-
return typeof e == "symbol" ||
|
|
1464
|
+
return typeof e == "symbol" || Vh(e) && Fh(e) == Lh;
|
|
1465
1465
|
}
|
|
1466
1466
|
var jh = /\s/;
|
|
1467
1467
|
function Ih(e) {
|
|
@@ -1469,9 +1469,9 @@ function Ih(e) {
|
|
|
1469
1469
|
;
|
|
1470
1470
|
return t;
|
|
1471
1471
|
}
|
|
1472
|
-
var
|
|
1473
|
-
function
|
|
1474
|
-
return e && e.slice(0, Ih(e) + 1).replace(
|
|
1472
|
+
var Bh = /^\s+/;
|
|
1473
|
+
function Nh(e) {
|
|
1474
|
+
return e && e.slice(0, Ih(e) + 1).replace(Bh, "");
|
|
1475
1475
|
}
|
|
1476
1476
|
function er(e) {
|
|
1477
1477
|
var t = typeof e;
|
|
@@ -1489,7 +1489,7 @@ function ps(e) {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
if (typeof e != "string")
|
|
1491
1491
|
return e === 0 ? e : +e;
|
|
1492
|
-
e =
|
|
1492
|
+
e = Nh(e);
|
|
1493
1493
|
var n = zh.test(e);
|
|
1494
1494
|
return n || Uh.test(e) ? Wh(e.slice(2), n ? 2 : 8) : $h.test(e) ? hs : +e;
|
|
1495
1495
|
}
|
|
@@ -1498,7 +1498,7 @@ var Hh = function() {
|
|
|
1498
1498
|
};
|
|
1499
1499
|
const Yr = Hh;
|
|
1500
1500
|
var qh = "Expected a function", Gh = Math.max, Xh = Math.min;
|
|
1501
|
-
function
|
|
1501
|
+
function Bn(e, t, n) {
|
|
1502
1502
|
var r, i, o, s, a, l, u = 0, f = !1, c = !1, d = !0;
|
|
1503
1503
|
if (typeof e != "function")
|
|
1504
1504
|
throw new TypeError(qh);
|
|
@@ -1550,14 +1550,14 @@ function Yh(e, t, n) {
|
|
|
1550
1550
|
var r = !0, i = !0;
|
|
1551
1551
|
if (typeof e != "function")
|
|
1552
1552
|
throw new TypeError(Kh);
|
|
1553
|
-
return er(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i),
|
|
1553
|
+
return er(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Bn(e, t, {
|
|
1554
1554
|
leading: r,
|
|
1555
1555
|
maxWait: t,
|
|
1556
1556
|
trailing: i
|
|
1557
1557
|
});
|
|
1558
1558
|
}
|
|
1559
1559
|
var Jh = !!(typeof window < "u" && window.document && window.document.createElement), Zh = Jh;
|
|
1560
|
-
const eu = /* @__PURE__ */
|
|
1560
|
+
const eu = /* @__PURE__ */ Rl(Zh);
|
|
1561
1561
|
var _t = function() {
|
|
1562
1562
|
return _t = Object.assign || function(t) {
|
|
1563
1563
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
@@ -1567,20 +1567,20 @@ var _t = function() {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
return t;
|
|
1569
1569
|
}, _t.apply(this, arguments);
|
|
1570
|
-
},
|
|
1570
|
+
}, At = null, ms = null;
|
|
1571
1571
|
eu && window.addEventListener("resize", function() {
|
|
1572
|
-
ms !== window.devicePixelRatio && (ms = window.devicePixelRatio,
|
|
1572
|
+
ms !== window.devicePixelRatio && (ms = window.devicePixelRatio, At = null);
|
|
1573
1573
|
});
|
|
1574
1574
|
function gs() {
|
|
1575
|
-
if (
|
|
1575
|
+
if (At === null) {
|
|
1576
1576
|
if (typeof document > "u")
|
|
1577
|
-
return
|
|
1577
|
+
return At = 0, At;
|
|
1578
1578
|
var e = document.body, t = document.createElement("div");
|
|
1579
1579
|
t.classList.add("simplebar-hide-scrollbar"), e.appendChild(t);
|
|
1580
1580
|
var n = t.getBoundingClientRect().right;
|
|
1581
|
-
e.removeChild(t),
|
|
1581
|
+
e.removeChild(t), At = n;
|
|
1582
1582
|
}
|
|
1583
|
-
return
|
|
1583
|
+
return At;
|
|
1584
1584
|
}
|
|
1585
1585
|
function tu(e) {
|
|
1586
1586
|
return !e || !e.ownerDocument || !e.ownerDocument.defaultView ? window : e.ownerDocument.defaultView;
|
|
@@ -1713,7 +1713,7 @@ var Qh = /* @__PURE__ */ Object.freeze({
|
|
|
1713
1713
|
}
|
|
1714
1714
|
}, typeof this.el != "object" || !this.el.nodeName)
|
|
1715
1715
|
throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));
|
|
1716
|
-
this.onMouseMove = Yh(this._onMouseMove, 64), this.onWindowResize =
|
|
1716
|
+
this.onMouseMove = Yh(this._onMouseMove, 64), this.onWindowResize = Bn(this._onWindowResize, 64, { leading: !0 }), this.onStopScrolling = Bn(this._onStopScrolling, this.stopScrollDelay), this.onMouseEntered = Bn(this._onMouseEntered, this.stopScrollDelay), this.init();
|
|
1717
1717
|
}
|
|
1718
1718
|
return e.getRtlHelpers = function() {
|
|
1719
1719
|
if (e.rtlHelpers)
|
|
@@ -1976,14 +1976,14 @@ function op({
|
|
|
1976
1976
|
var o;
|
|
1977
1977
|
((o = i.target) == null ? void 0 : o.id) === "modal-wrapper" && t();
|
|
1978
1978
|
}
|
|
1979
|
-
return /* @__PURE__ */
|
|
1980
|
-
/* @__PURE__ */
|
|
1981
|
-
/* @__PURE__ */
|
|
1982
|
-
/* @__PURE__ */
|
|
1983
|
-
/* @__PURE__ */
|
|
1984
|
-
/* @__PURE__ */
|
|
1985
|
-
/* @__PURE__ */
|
|
1986
|
-
/* @__PURE__ */
|
|
1979
|
+
return /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
|
|
1980
|
+
/* @__PURE__ */ A.jsx("style", { type: "text/css", children: ip }),
|
|
1981
|
+
/* @__PURE__ */ A.jsx("div", { onClick: r, className: "modal-overlay", id: "modal-wrapper", children: /* @__PURE__ */ A.jsxs("div", { className: "modal-container", children: [
|
|
1982
|
+
/* @__PURE__ */ A.jsx("h3", { className: "modal-title", children: "Log out" }),
|
|
1983
|
+
/* @__PURE__ */ A.jsx("p", { className: "text-sm", children: "Are you sure want to log out?" }),
|
|
1984
|
+
/* @__PURE__ */ A.jsxs("div", { className: "modal-footer", children: [
|
|
1985
|
+
/* @__PURE__ */ A.jsx("button", { className: "modal-button", onClick: t, children: "Cancel" }),
|
|
1986
|
+
/* @__PURE__ */ A.jsx(
|
|
1987
1987
|
"button",
|
|
1988
1988
|
{
|
|
1989
1989
|
onClick: n,
|
|
@@ -1995,7 +1995,7 @@ function op({
|
|
|
1995
1995
|
] }) })
|
|
1996
1996
|
] });
|
|
1997
1997
|
}
|
|
1998
|
-
var
|
|
1998
|
+
var Nt = {};
|
|
1999
1999
|
/**
|
|
2000
2000
|
* @license React
|
|
2001
2001
|
* react-dom-server-legacy.browser.production.min.js
|
|
@@ -2073,7 +2073,7 @@ ne.xlinkHref = new ae("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/
|
|
|
2073
2073
|
["src", "href", "action", "formAction"].forEach(function(e) {
|
|
2074
2074
|
ne[e] = new ae(e, 1, !1, e.toLowerCase(), null, !0, !0);
|
|
2075
2075
|
});
|
|
2076
|
-
var
|
|
2076
|
+
var Nn = {
|
|
2077
2077
|
animationIterationCount: !0,
|
|
2078
2078
|
aspectRatio: !0,
|
|
2079
2079
|
borderImageOutset: !0,
|
|
@@ -2118,9 +2118,9 @@ var Bn = {
|
|
|
2118
2118
|
strokeOpacity: !0,
|
|
2119
2119
|
strokeWidth: !0
|
|
2120
2120
|
}, ap = ["Webkit", "ms", "Moz", "O"];
|
|
2121
|
-
Object.keys(
|
|
2121
|
+
Object.keys(Nn).forEach(function(e) {
|
|
2122
2122
|
ap.forEach(function(t) {
|
|
2123
|
-
t = t + e.charAt(0).toUpperCase() + e.substring(1),
|
|
2123
|
+
t = t + e.charAt(0).toUpperCase() + e.substring(1), Nn[t] = Nn[e];
|
|
2124
2124
|
});
|
|
2125
2125
|
});
|
|
2126
2126
|
var lp = /["'&<>]/;
|
|
@@ -2157,7 +2157,7 @@ function se(e) {
|
|
|
2157
2157
|
}
|
|
2158
2158
|
return e;
|
|
2159
2159
|
}
|
|
2160
|
-
var up = /([A-Z])/g, cp = /^ms-/,
|
|
2160
|
+
var up = /([A-Z])/g, cp = /^ms-/, Ai = Array.isArray;
|
|
2161
2161
|
function je(e, t) {
|
|
2162
2162
|
return { insertionMode: e, selectedValue: t };
|
|
2163
2163
|
}
|
|
@@ -2199,7 +2199,7 @@ function cu(e, t, n) {
|
|
|
2199
2199
|
} else {
|
|
2200
2200
|
o = r;
|
|
2201
2201
|
var s = xs.get(o);
|
|
2202
|
-
s !== void 0 || (s = se(o.replace(up, "-$1").toLowerCase().replace(cp, "-ms-")), xs.set(o, s)), o = s, i = typeof i == "number" ? i === 0 || ce.call(
|
|
2202
|
+
s !== void 0 || (s = se(o.replace(up, "-$1").toLowerCase().replace(cp, "-ms-")), xs.set(o, s)), o = s, i = typeof i == "number" ? i === 0 || ce.call(Nn, r) ? "" + i : i + "px" : se(("" + i).trim());
|
|
2203
2203
|
}
|
|
2204
2204
|
t ? (t = !1, e.push(' style="', o, ":", i)) : e.push(";", o, ":", i);
|
|
2205
2205
|
}
|
|
@@ -2273,7 +2273,7 @@ function dp(e) {
|
|
|
2273
2273
|
}), t;
|
|
2274
2274
|
}
|
|
2275
2275
|
function Zr(e, t, n, r) {
|
|
2276
|
-
e.push(
|
|
2276
|
+
e.push(Re(n));
|
|
2277
2277
|
var i = n = null, o;
|
|
2278
2278
|
for (o in t)
|
|
2279
2279
|
if (ce.call(t, o)) {
|
|
@@ -2293,7 +2293,7 @@ function Zr(e, t, n, r) {
|
|
|
2293
2293
|
return e.push(">"), $n(e, i, n), typeof n == "string" ? (e.push(se(n)), null) : n;
|
|
2294
2294
|
}
|
|
2295
2295
|
var hp = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, bs = /* @__PURE__ */ new Map();
|
|
2296
|
-
function
|
|
2296
|
+
function Re(e) {
|
|
2297
2297
|
var t = bs.get(e);
|
|
2298
2298
|
if (t === void 0) {
|
|
2299
2299
|
if (!hp.test(e))
|
|
@@ -2305,7 +2305,7 @@ function Ae(e) {
|
|
|
2305
2305
|
function pp(e, t, n, r, i) {
|
|
2306
2306
|
switch (t) {
|
|
2307
2307
|
case "select":
|
|
2308
|
-
e.push(
|
|
2308
|
+
e.push(Re("select"));
|
|
2309
2309
|
var o = null, s = null;
|
|
2310
2310
|
for (f in n)
|
|
2311
2311
|
if (ce.call(n, f)) {
|
|
@@ -2327,7 +2327,7 @@ function pp(e, t, n, r, i) {
|
|
|
2327
2327
|
}
|
|
2328
2328
|
return e.push(">"), $n(e, s, o), o;
|
|
2329
2329
|
case "option":
|
|
2330
|
-
s = i.selectedValue, e.push(
|
|
2330
|
+
s = i.selectedValue, e.push(Re("option"));
|
|
2331
2331
|
var l = a = null, u = null, f = null;
|
|
2332
2332
|
for (o in n)
|
|
2333
2333
|
if (ce.call(n, o)) {
|
|
@@ -2350,7 +2350,7 @@ function pp(e, t, n, r, i) {
|
|
|
2350
2350
|
}
|
|
2351
2351
|
}
|
|
2352
2352
|
if (s != null)
|
|
2353
|
-
if (n = l !== null ? "" + l : dp(a),
|
|
2353
|
+
if (n = l !== null ? "" + l : dp(a), Ai(s)) {
|
|
2354
2354
|
for (r = 0; r < s.length; r++)
|
|
2355
2355
|
if ("" + s[r] === n) {
|
|
2356
2356
|
e.push(' selected=""');
|
|
@@ -2362,7 +2362,7 @@ function pp(e, t, n, r, i) {
|
|
|
2362
2362
|
u && e.push(' selected=""');
|
|
2363
2363
|
return e.push(">"), $n(e, f, a), a;
|
|
2364
2364
|
case "textarea":
|
|
2365
|
-
e.push(
|
|
2365
|
+
e.push(Re("textarea")), f = s = o = null;
|
|
2366
2366
|
for (a in n)
|
|
2367
2367
|
if (ce.call(n, a) && (l = n[a], l != null))
|
|
2368
2368
|
switch (a) {
|
|
@@ -2388,7 +2388,7 @@ function pp(e, t, n, r, i) {
|
|
|
2388
2388
|
if (o === null && s !== null && (o = s), e.push(">"), f != null) {
|
|
2389
2389
|
if (o != null)
|
|
2390
2390
|
throw Error(_(92));
|
|
2391
|
-
if (
|
|
2391
|
+
if (Ai(f) && 1 < f.length)
|
|
2392
2392
|
throw Error(_(93));
|
|
2393
2393
|
o = "" + f;
|
|
2394
2394
|
}
|
|
@@ -2396,7 +2396,7 @@ function pp(e, t, n, r, i) {
|
|
|
2396
2396
|
` && e.push(`
|
|
2397
2397
|
`), o !== null && e.push(se("" + o)), null;
|
|
2398
2398
|
case "input":
|
|
2399
|
-
e.push(
|
|
2399
|
+
e.push(Re("input")), l = f = a = o = null;
|
|
2400
2400
|
for (s in n)
|
|
2401
2401
|
if (ce.call(n, s) && (u = n[s], u != null))
|
|
2402
2402
|
switch (s) {
|
|
@@ -2420,7 +2420,7 @@ function pp(e, t, n, r, i) {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
return f !== null ? he(e, r, "checked", f) : l !== null && he(e, r, "checked", l), o !== null ? he(e, r, "value", o) : a !== null && he(e, r, "value", a), e.push("/>"), null;
|
|
2422
2422
|
case "menuitem":
|
|
2423
|
-
e.push(
|
|
2423
|
+
e.push(Re("menuitem"));
|
|
2424
2424
|
for (var d in n)
|
|
2425
2425
|
if (ce.call(n, d) && (o = n[d], o != null))
|
|
2426
2426
|
switch (d) {
|
|
@@ -2432,7 +2432,7 @@ function pp(e, t, n, r, i) {
|
|
|
2432
2432
|
}
|
|
2433
2433
|
return e.push(">"), null;
|
|
2434
2434
|
case "title":
|
|
2435
|
-
e.push(
|
|
2435
|
+
e.push(Re("title")), o = null;
|
|
2436
2436
|
for (c in n)
|
|
2437
2437
|
if (ce.call(n, c) && (s = n[c], s != null))
|
|
2438
2438
|
switch (c) {
|
|
@@ -2447,7 +2447,7 @@ function pp(e, t, n, r, i) {
|
|
|
2447
2447
|
return e.push(">"), o;
|
|
2448
2448
|
case "listing":
|
|
2449
2449
|
case "pre":
|
|
2450
|
-
e.push(
|
|
2450
|
+
e.push(Re(t)), s = o = null;
|
|
2451
2451
|
for (l in n)
|
|
2452
2452
|
if (ce.call(n, l) && (a = n[l], a != null))
|
|
2453
2453
|
switch (l) {
|
|
@@ -2486,7 +2486,7 @@ function pp(e, t, n, r, i) {
|
|
|
2486
2486
|
case "source":
|
|
2487
2487
|
case "track":
|
|
2488
2488
|
case "wbr":
|
|
2489
|
-
e.push(
|
|
2489
|
+
e.push(Re(t));
|
|
2490
2490
|
for (var h in n)
|
|
2491
2491
|
if (ce.call(n, h) && (o = n[h], o != null))
|
|
2492
2492
|
switch (h) {
|
|
@@ -2516,7 +2516,7 @@ function pp(e, t, n, r, i) {
|
|
|
2516
2516
|
default:
|
|
2517
2517
|
if (t.indexOf("-") === -1 && typeof n.is != "string")
|
|
2518
2518
|
return Zr(e, n, t, r);
|
|
2519
|
-
e.push(
|
|
2519
|
+
e.push(Re(t)), s = o = null;
|
|
2520
2520
|
for (u in n)
|
|
2521
2521
|
if (ce.call(n, u) && (a = n[u], a != null))
|
|
2522
2522
|
switch (u) {
|
|
@@ -2607,7 +2607,7 @@ function Ss(e, t, n, r) {
|
|
|
2607
2607
|
return n.generateStaticMarkup ? (e.push(se(t)), !1) : (t === "" ? e = r : (r && e.push("<!-- -->"), e.push(se(t)), e = !0), e);
|
|
2608
2608
|
}
|
|
2609
2609
|
var Qt = Object.assign, xp = Symbol.for("react.element"), fu = Symbol.for("react.portal"), du = Symbol.for("react.fragment"), hu = Symbol.for("react.strict_mode"), pu = Symbol.for("react.profiler"), mu = Symbol.for("react.provider"), gu = Symbol.for("react.context"), yu = Symbol.for("react.forward_ref"), vu = Symbol.for("react.suspense"), xu = Symbol.for("react.suspense_list"), bu = Symbol.for("react.memo"), fo = Symbol.for("react.lazy"), bp = Symbol.for("react.scope"), wp = Symbol.for("react.debug_trace_mode"), Sp = Symbol.for("react.legacy_hidden"), Ep = Symbol.for("react.default_value"), Es = Symbol.iterator;
|
|
2610
|
-
function
|
|
2610
|
+
function Ri(e) {
|
|
2611
2611
|
if (e == null)
|
|
2612
2612
|
return null;
|
|
2613
2613
|
if (typeof e == "function")
|
|
@@ -2638,11 +2638,11 @@ function Ai(e) {
|
|
|
2638
2638
|
var t = e.render;
|
|
2639
2639
|
return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
2640
2640
|
case bu:
|
|
2641
|
-
return t = e.displayName || null, t !== null ? t :
|
|
2641
|
+
return t = e.displayName || null, t !== null ? t : Ri(e.type) || "Memo";
|
|
2642
2642
|
case fo:
|
|
2643
2643
|
t = e._payload, e = e._init;
|
|
2644
2644
|
try {
|
|
2645
|
-
return
|
|
2645
|
+
return Ri(e(t));
|
|
2646
2646
|
} catch {
|
|
2647
2647
|
}
|
|
2648
2648
|
}
|
|
@@ -2740,17 +2740,17 @@ var zn = Math.clz32 ? Math.clz32 : Pp, kp = Math.log, Tp = Math.LN2;
|
|
|
2740
2740
|
function Pp(e) {
|
|
2741
2741
|
return e >>>= 0, e === 0 ? 32 : 31 - (kp(e) / Tp | 0) | 0;
|
|
2742
2742
|
}
|
|
2743
|
-
function
|
|
2743
|
+
function Ap(e, t) {
|
|
2744
2744
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
2745
2745
|
}
|
|
2746
|
-
var
|
|
2746
|
+
var Rp = typeof Object.is == "function" ? Object.is : Ap, Ue = null, ho = null, Un = null, D = null, Xt = !1, nr = !1, un = 0, nt = null, Ar = 0;
|
|
2747
2747
|
function pt() {
|
|
2748
2748
|
if (Ue === null)
|
|
2749
2749
|
throw Error(_(321));
|
|
2750
2750
|
return Ue;
|
|
2751
2751
|
}
|
|
2752
2752
|
function Ps() {
|
|
2753
|
-
if (0 <
|
|
2753
|
+
if (0 < Ar)
|
|
2754
2754
|
throw Error(_(312));
|
|
2755
2755
|
return { memoizedState: null, queue: null, next: null };
|
|
2756
2756
|
}
|
|
@@ -2758,12 +2758,12 @@ function po() {
|
|
|
2758
2758
|
return D === null ? Un === null ? (Xt = !1, Un = D = Ps()) : (Xt = !0, D = Un) : D.next === null ? (Xt = !1, D = D.next = Ps()) : (Xt = !0, D = D.next), D;
|
|
2759
2759
|
}
|
|
2760
2760
|
function mo() {
|
|
2761
|
-
ho = Ue = null, nr = !1, Un = null,
|
|
2761
|
+
ho = Ue = null, nr = !1, Un = null, Ar = 0, D = nt = null;
|
|
2762
2762
|
}
|
|
2763
2763
|
function Tu(e, t) {
|
|
2764
2764
|
return typeof t == "function" ? t(e) : t;
|
|
2765
2765
|
}
|
|
2766
|
-
function
|
|
2766
|
+
function As(e, t, n) {
|
|
2767
2767
|
if (Ue = pt(), D = po(), Xt) {
|
|
2768
2768
|
var r = D.queue;
|
|
2769
2769
|
if (t = r.dispatch, nt !== null && (n = nt.get(r), n !== void 0)) {
|
|
@@ -2777,7 +2777,7 @@ function Rs(e, t, n) {
|
|
|
2777
2777
|
}
|
|
2778
2778
|
return e = e === Tu ? typeof t == "function" ? t() : t : n !== void 0 ? n(t) : t, D.memoizedState = e, e = D.queue = { last: null, dispatch: null }, e = e.dispatch = Op.bind(null, Ue, e), [D.memoizedState, e];
|
|
2779
2779
|
}
|
|
2780
|
-
function
|
|
2780
|
+
function Rs(e, t) {
|
|
2781
2781
|
if (Ue = pt(), D = po(), t = t === void 0 ? null : t, D !== null) {
|
|
2782
2782
|
var n = D.memoizedState;
|
|
2783
2783
|
if (n !== null && t !== null) {
|
|
@@ -2787,7 +2787,7 @@ function As(e, t) {
|
|
|
2787
2787
|
r = !1;
|
|
2788
2788
|
else {
|
|
2789
2789
|
for (var i = 0; i < r.length && i < t.length; i++)
|
|
2790
|
-
if (!
|
|
2790
|
+
if (!Rp(t[i], r[i])) {
|
|
2791
2791
|
r = !1;
|
|
2792
2792
|
break e;
|
|
2793
2793
|
}
|
|
@@ -2800,7 +2800,7 @@ function As(e, t) {
|
|
|
2800
2800
|
return e = e(), D.memoizedState = [e, t], e;
|
|
2801
2801
|
}
|
|
2802
2802
|
function Op(e, t, n) {
|
|
2803
|
-
if (25 <=
|
|
2803
|
+
if (25 <= Ar)
|
|
2804
2804
|
throw Error(_(301));
|
|
2805
2805
|
if (e === Ue)
|
|
2806
2806
|
if (nr = !0, e = { action: n, next: null }, nt === null && (nt = /* @__PURE__ */ new Map()), n = nt.get(t), n === void 0)
|
|
@@ -2820,15 +2820,15 @@ var Os = { readContext: function(e) {
|
|
|
2820
2820
|
return e._currentValue2;
|
|
2821
2821
|
}, useContext: function(e) {
|
|
2822
2822
|
return pt(), e._currentValue2;
|
|
2823
|
-
}, useMemo:
|
|
2823
|
+
}, useMemo: Rs, useReducer: As, useRef: function(e) {
|
|
2824
2824
|
Ue = pt(), D = po();
|
|
2825
2825
|
var t = D.memoizedState;
|
|
2826
2826
|
return t === null ? (e = { current: e }, D.memoizedState = e) : t;
|
|
2827
2827
|
}, useState: function(e) {
|
|
2828
|
-
return
|
|
2828
|
+
return As(Tu, e);
|
|
2829
2829
|
}, useInsertionEffect: Tn, useLayoutEffect: function() {
|
|
2830
2830
|
}, useCallback: function(e, t) {
|
|
2831
|
-
return
|
|
2831
|
+
return Rs(function() {
|
|
2832
2832
|
return e;
|
|
2833
2833
|
}, t);
|
|
2834
2834
|
}, useImperativeHandle: Tn, useEffect: Tn, useDebugValue: Tn, useDeferredValue: function(e) {
|
|
@@ -2857,7 +2857,7 @@ function Mp(e) {
|
|
|
2857
2857
|
}
|
|
2858
2858
|
function Kt() {
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2860
|
+
function Fp(e, t, n, r, i, o, s, a, l) {
|
|
2861
2861
|
var u = [], f = /* @__PURE__ */ new Set();
|
|
2862
2862
|
return t = { destination: null, responseState: t, progressiveChunkSize: r === void 0 ? 12800 : r, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: f, pingedTasks: u, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: i === void 0 ? Mp : i, onAllReady: o === void 0 ? Kt : o, onShellReady: s === void 0 ? Kt : s, onShellError: a === void 0 ? Kt : a, onFatalError: l === void 0 ? Kt : l }, n = rr(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = go(t, e, null, n, f, wu, null, Cp), u.push(e), t;
|
|
2863
2863
|
}
|
|
@@ -2865,7 +2865,7 @@ function go(e, t, n, r, i, o, s, a) {
|
|
|
2865
2865
|
e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
|
|
2866
2866
|
var l = { node: t, ping: function() {
|
|
2867
2867
|
var u = e.pingedTasks;
|
|
2868
|
-
u.push(l), u.length === 1 &&
|
|
2868
|
+
u.push(l), u.length === 1 && Ru(e);
|
|
2869
2869
|
}, blockedBoundary: n, blockedSegment: r, abortSet: i, legacyContext: o, context: s, treeContext: a };
|
|
2870
2870
|
return i.add(l), l;
|
|
2871
2871
|
}
|
|
@@ -2883,7 +2883,7 @@ function ir(e, t) {
|
|
|
2883
2883
|
}
|
|
2884
2884
|
function _s(e, t, n, r, i) {
|
|
2885
2885
|
for (Ue = {}, ho = t, un = 0, e = n(r, i); nr; )
|
|
2886
|
-
nr = !1, un = 0,
|
|
2886
|
+
nr = !1, un = 0, Ar += 1, D = null, e = n(r, i);
|
|
2887
2887
|
return mo(), e;
|
|
2888
2888
|
}
|
|
2889
2889
|
function Ms(e, t, n, r) {
|
|
@@ -2896,14 +2896,14 @@ function Ms(e, t, n, r) {
|
|
|
2896
2896
|
n = n.getChildContext();
|
|
2897
2897
|
for (var a in n)
|
|
2898
2898
|
if (!(a in o))
|
|
2899
|
-
throw Error(_(108,
|
|
2899
|
+
throw Error(_(108, Ri(r) || "Unknown", a));
|
|
2900
2900
|
r = Qt({}, s, n);
|
|
2901
2901
|
}
|
|
2902
2902
|
t.legacyContext = r, ge(e, t, i), t.legacyContext = s;
|
|
2903
2903
|
} else
|
|
2904
2904
|
ge(e, t, i);
|
|
2905
2905
|
}
|
|
2906
|
-
function
|
|
2906
|
+
function Fs(e, t) {
|
|
2907
2907
|
if (e && e.defaultProps) {
|
|
2908
2908
|
t = Qt({}, t), e = e.defaultProps;
|
|
2909
2909
|
for (var n in e)
|
|
@@ -3006,7 +3006,7 @@ function _i(e, t, n, r, i) {
|
|
|
3006
3006
|
ge(e, t, r);
|
|
3007
3007
|
return;
|
|
3008
3008
|
case bu:
|
|
3009
|
-
n = n.type, r =
|
|
3009
|
+
n = n.type, r = Fs(n, r), _i(e, t, n, r, i);
|
|
3010
3010
|
return;
|
|
3011
3011
|
case mu:
|
|
3012
3012
|
if (i = r.children, n = n._context, r = r.value, o = n._currentValue2, n._currentValue2 = r, s = yt, yt = r = { parent: s, depth: s === null ? 0 : s.depth + 1, context: n, parentValue: o, value: r }, t.context = r, ge(e, t, i), e = yt, e === null)
|
|
@@ -3017,7 +3017,7 @@ function _i(e, t, n, r, i) {
|
|
|
3017
3017
|
r = r.children, r = r(n._currentValue2), ge(e, t, r);
|
|
3018
3018
|
return;
|
|
3019
3019
|
case fo:
|
|
3020
|
-
i = n._init, n = i(n._payload), r =
|
|
3020
|
+
i = n._init, n = i(n._payload), r = Fs(n, r), _i(
|
|
3021
3021
|
e,
|
|
3022
3022
|
t,
|
|
3023
3023
|
n,
|
|
@@ -3042,8 +3042,8 @@ function ge(e, t, n) {
|
|
|
3042
3042
|
n = r(n._payload), ge(e, t, n);
|
|
3043
3043
|
return;
|
|
3044
3044
|
}
|
|
3045
|
-
if (
|
|
3046
|
-
|
|
3045
|
+
if (Ai(n)) {
|
|
3046
|
+
Vs(e, t, n);
|
|
3047
3047
|
return;
|
|
3048
3048
|
}
|
|
3049
3049
|
if (n === null || typeof n != "object" ? r = null : (r = Es && n[Es] || n["@@iterator"], r = typeof r == "function" ? r : null), r && (r = r.call(n))) {
|
|
@@ -3052,7 +3052,7 @@ function ge(e, t, n) {
|
|
|
3052
3052
|
do
|
|
3053
3053
|
i.push(n.value), n = r.next();
|
|
3054
3054
|
while (!n.done);
|
|
3055
|
-
|
|
3055
|
+
Vs(e, t, i);
|
|
3056
3056
|
}
|
|
3057
3057
|
return;
|
|
3058
3058
|
}
|
|
@@ -3060,7 +3060,7 @@ function ge(e, t, n) {
|
|
|
3060
3060
|
}
|
|
3061
3061
|
typeof n == "string" ? (r = t.blockedSegment, r.lastPushedText = Ss(t.blockedSegment.chunks, n, e.responseState, r.lastPushedText)) : typeof n == "number" && (r = t.blockedSegment, r.lastPushedText = Ss(t.blockedSegment.chunks, "" + n, e.responseState, r.lastPushedText));
|
|
3062
3062
|
}
|
|
3063
|
-
function
|
|
3063
|
+
function Vs(e, t, n) {
|
|
3064
3064
|
for (var r = n.length, i = 0; i < r; i++) {
|
|
3065
3065
|
var o = t.treeContext;
|
|
3066
3066
|
t.treeContext = Oi(o, r, i);
|
|
@@ -3084,9 +3084,9 @@ function Mi(e, t, n) {
|
|
|
3084
3084
|
throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = o, tr(o), l;
|
|
3085
3085
|
}
|
|
3086
3086
|
}
|
|
3087
|
-
function
|
|
3087
|
+
function Vp(e) {
|
|
3088
3088
|
var t = e.blockedBoundary;
|
|
3089
|
-
e = e.blockedSegment, e.status = 3,
|
|
3089
|
+
e = e.blockedSegment, e.status = 3, Au(this, t, e);
|
|
3090
3090
|
}
|
|
3091
3091
|
function Pu(e, t, n) {
|
|
3092
3092
|
var r = e.blockedBoundary;
|
|
@@ -3101,7 +3101,7 @@ function or(e, t) {
|
|
|
3101
3101
|
} else
|
|
3102
3102
|
e.completedSegments.push(t);
|
|
3103
3103
|
}
|
|
3104
|
-
function
|
|
3104
|
+
function Au(e, t, n) {
|
|
3105
3105
|
if (t === null) {
|
|
3106
3106
|
if (n.parentFlushed) {
|
|
3107
3107
|
if (e.completedRootSegment !== null)
|
|
@@ -3110,10 +3110,10 @@ function Ru(e, t, n) {
|
|
|
3110
3110
|
}
|
|
3111
3111
|
e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = Kt, t = e.onShellReady, t());
|
|
3112
3112
|
} else
|
|
3113
|
-
t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && or(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(
|
|
3113
|
+
t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && or(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(Vp, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (or(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
|
|
3114
3114
|
e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
|
|
3115
3115
|
}
|
|
3116
|
-
function
|
|
3116
|
+
function Ru(e) {
|
|
3117
3117
|
if (e.status !== 2) {
|
|
3118
3118
|
var t = yt, n = ei.current;
|
|
3119
3119
|
ei.current = Os;
|
|
@@ -3126,7 +3126,7 @@ function Au(e) {
|
|
|
3126
3126
|
if (l.status === 0) {
|
|
3127
3127
|
tr(s.context);
|
|
3128
3128
|
try {
|
|
3129
|
-
ge(a, s, s.node), a.responseState.generateStaticMarkup || l.lastPushedText && l.textEmbedded && l.chunks.push("<!-- -->"), s.abortSet.delete(s), l.status = 1,
|
|
3129
|
+
ge(a, s, s.node), a.responseState.generateStaticMarkup || l.lastPushedText && l.textEmbedded && l.chunks.push("<!-- -->"), s.abortSet.delete(s), l.status = 1, Au(a, s.blockedBoundary, l);
|
|
3130
3130
|
} catch (p) {
|
|
3131
3131
|
if (mo(), typeof p == "object" && p !== null && typeof p.then == "function") {
|
|
3132
3132
|
var u = s.ping;
|
|
@@ -3165,7 +3165,7 @@ function Pn(e, t, n) {
|
|
|
3165
3165
|
for (var s = 0; s < n.length; s++) {
|
|
3166
3166
|
for (i = n[s]; o < i.index; o++)
|
|
3167
3167
|
t.push(r[o]);
|
|
3168
|
-
i =
|
|
3168
|
+
i = Rr(e, t, i);
|
|
3169
3169
|
}
|
|
3170
3170
|
for (; o < r.length - 1; o++)
|
|
3171
3171
|
t.push(r[o]);
|
|
@@ -3174,7 +3174,7 @@ function Pn(e, t, n) {
|
|
|
3174
3174
|
throw Error(_(390));
|
|
3175
3175
|
}
|
|
3176
3176
|
}
|
|
3177
|
-
function
|
|
3177
|
+
function Rr(e, t, n) {
|
|
3178
3178
|
var r = n.boundary;
|
|
3179
3179
|
if (r === null)
|
|
3180
3180
|
return Pn(e, t, n);
|
|
@@ -3189,10 +3189,10 @@ function Ar(e, t, n) {
|
|
|
3189
3189
|
return r.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(r), ws(t, e.responseState, r.id), Pn(e, t, n), t.push("<!--/$-->");
|
|
3190
3190
|
if (e.responseState.generateStaticMarkup || t.push("<!--$-->"), n = r.completedSegments, n.length !== 1)
|
|
3191
3191
|
throw Error(_(391));
|
|
3192
|
-
return
|
|
3192
|
+
return Rr(e, t, n[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
|
|
3193
3193
|
}
|
|
3194
|
-
function
|
|
3195
|
-
return mp(t, e.responseState, n.formatContext, n.id),
|
|
3194
|
+
function Ls(e, t, n) {
|
|
3195
|
+
return mp(t, e.responseState, n.formatContext, n.id), Rr(e, t, n), gp(t, n.formatContext);
|
|
3196
3196
|
}
|
|
3197
3197
|
function Ds(e, t, n) {
|
|
3198
3198
|
for (var r = n.completedSegments, i = 0; i < r.length; i++)
|
|
@@ -3208,15 +3208,15 @@ function Ou(e, t, n, r) {
|
|
|
3208
3208
|
if (i === -1) {
|
|
3209
3209
|
if ((r.id = n.rootSegmentID) === -1)
|
|
3210
3210
|
throw Error(_(392));
|
|
3211
|
-
return
|
|
3211
|
+
return Ls(e, t, r);
|
|
3212
3212
|
}
|
|
3213
|
-
return
|
|
3213
|
+
return Ls(e, t, r), e = e.responseState, t.push(e.startInlineScript), e.sentCompleteSegmentFunction ? t.push('$RS("') : (e.sentCompleteSegmentFunction = !0, t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')), t.push(e.segmentPrefix), i = i.toString(16), t.push(i), t.push('","'), t.push(e.placeholderPrefix), t.push(i), t.push('")<\/script>');
|
|
3214
3214
|
}
|
|
3215
3215
|
function yo(e, t) {
|
|
3216
3216
|
try {
|
|
3217
3217
|
var n = e.completedRootSegment;
|
|
3218
3218
|
if (n !== null && e.pendingRootTasks === 0) {
|
|
3219
|
-
|
|
3219
|
+
Rr(e, t, n), e.completedRootSegment = null;
|
|
3220
3220
|
var r = e.responseState.bootstrapChunks;
|
|
3221
3221
|
for (n = 0; n < r.length - 1; n++)
|
|
3222
3222
|
t.push(r[n]);
|
|
@@ -3288,7 +3288,7 @@ function yo(e, t) {
|
|
|
3288
3288
|
e.allPendingTasks === 0 && e.pingedTasks.length === 0 && e.clientRenderedBoundaries.length === 0 && e.completedBoundaries.length === 0 && t.push(null);
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
|
-
function
|
|
3291
|
+
function Lp(e, t) {
|
|
3292
3292
|
try {
|
|
3293
3293
|
var n = e.abortableTasks;
|
|
3294
3294
|
n.forEach(function(r) {
|
|
@@ -3306,9 +3306,9 @@ function _u(e, t, n, r) {
|
|
|
3306
3306
|
}, destroy: function(u) {
|
|
3307
3307
|
i = !0, o = u;
|
|
3308
3308
|
} }, l = !1;
|
|
3309
|
-
if (e =
|
|
3309
|
+
if (e = Fp(e, vp(n, t ? t.identifierPrefix : void 0), { insertionMode: 1, selectedValue: null }, 1 / 0, Dp, void 0, function() {
|
|
3310
3310
|
l = !0;
|
|
3311
|
-
}, void 0, void 0),
|
|
3311
|
+
}, void 0, void 0), Ru(e), Lp(e, r), e.status === 1)
|
|
3312
3312
|
e.status = 2, a.destroy(e.fatalError);
|
|
3313
3313
|
else if (e.status !== 2 && e.destination === null) {
|
|
3314
3314
|
e.destination = a;
|
|
@@ -3324,19 +3324,19 @@ function _u(e, t, n, r) {
|
|
|
3324
3324
|
throw Error(_(426));
|
|
3325
3325
|
return s;
|
|
3326
3326
|
}
|
|
3327
|
-
|
|
3327
|
+
Nt.renderToNodeStream = function() {
|
|
3328
3328
|
throw Error(_(207));
|
|
3329
3329
|
};
|
|
3330
|
-
|
|
3330
|
+
Nt.renderToStaticMarkup = function(e, t) {
|
|
3331
3331
|
return _u(e, t, !0, 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server');
|
|
3332
3332
|
};
|
|
3333
|
-
|
|
3333
|
+
Nt.renderToStaticNodeStream = function() {
|
|
3334
3334
|
throw Error(_(208));
|
|
3335
3335
|
};
|
|
3336
|
-
|
|
3336
|
+
Nt.renderToString = function(e, t) {
|
|
3337
3337
|
return _u(e, t, !1, 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server');
|
|
3338
3338
|
};
|
|
3339
|
-
|
|
3339
|
+
Nt.version = "18.2.0";
|
|
3340
3340
|
var vo = {};
|
|
3341
3341
|
/**
|
|
3342
3342
|
* @license React
|
|
@@ -3348,13 +3348,13 @@ var vo = {};
|
|
|
3348
3348
|
* LICENSE file in the root directory of this source tree.
|
|
3349
3349
|
*/
|
|
3350
3350
|
var Mu = x;
|
|
3351
|
-
function
|
|
3351
|
+
function F(e) {
|
|
3352
3352
|
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++)
|
|
3353
3353
|
t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
3354
3354
|
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
3355
3355
|
}
|
|
3356
3356
|
var ye = null, ve = 0;
|
|
3357
|
-
function
|
|
3357
|
+
function R(e, t) {
|
|
3358
3358
|
if (t.length !== 0)
|
|
3359
3359
|
if (512 < t.length)
|
|
3360
3360
|
0 < ve && (e.enqueue(new Uint8Array(ye.buffer, 0, ve)), ye = new Uint8Array(512), ve = 0), e.enqueue(t);
|
|
@@ -3363,25 +3363,25 @@ function A(e, t) {
|
|
|
3363
3363
|
n < t.length && (n === 0 ? e.enqueue(ye) : (ye.set(t.subarray(0, n), ve), e.enqueue(ye), t = t.subarray(n)), ye = new Uint8Array(512), ve = 0), ye.set(t, ve), ve += t.length;
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
|
-
function
|
|
3367
|
-
return
|
|
3366
|
+
function N(e, t) {
|
|
3367
|
+
return R(e, t), !0;
|
|
3368
3368
|
}
|
|
3369
3369
|
function js(e) {
|
|
3370
3370
|
ye && 0 < ve && (e.enqueue(new Uint8Array(ye.buffer, 0, ve)), ye = null, ve = 0);
|
|
3371
3371
|
}
|
|
3372
|
-
var
|
|
3373
|
-
function
|
|
3374
|
-
return
|
|
3372
|
+
var Fu = new TextEncoder();
|
|
3373
|
+
function V(e) {
|
|
3374
|
+
return Fu.encode(e);
|
|
3375
3375
|
}
|
|
3376
3376
|
function C(e) {
|
|
3377
|
-
return
|
|
3377
|
+
return Fu.encode(e);
|
|
3378
3378
|
}
|
|
3379
|
-
function
|
|
3379
|
+
function Vu(e, t) {
|
|
3380
3380
|
typeof e.error == "function" ? e.error(t) : e.close();
|
|
3381
3381
|
}
|
|
3382
|
-
var fe = Object.prototype.hasOwnProperty, jp = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, Is = {},
|
|
3383
|
-
function
|
|
3384
|
-
return fe.call(
|
|
3382
|
+
var fe = Object.prototype.hasOwnProperty, jp = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, Is = {}, Bs = {};
|
|
3383
|
+
function Lu(e) {
|
|
3384
|
+
return fe.call(Bs, e) ? !0 : fe.call(Is, e) ? !1 : jp.test(e) ? Bs[e] = !0 : (Is[e] = !0, !1);
|
|
3385
3385
|
}
|
|
3386
3386
|
function le(e, t, n, r, i, o, s) {
|
|
3387
3387
|
this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = i, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = o, this.removeEmptyString = s;
|
|
@@ -3491,12 +3491,12 @@ Object.keys(Hn).forEach(function(e) {
|
|
|
3491
3491
|
t = t + e.charAt(0).toUpperCase() + e.substring(1), Hn[t] = Hn[e];
|
|
3492
3492
|
});
|
|
3493
3493
|
});
|
|
3494
|
-
var
|
|
3494
|
+
var Bp = /["'&<>]/;
|
|
3495
3495
|
function te(e) {
|
|
3496
3496
|
if (typeof e == "boolean" || typeof e == "number")
|
|
3497
3497
|
return "" + e;
|
|
3498
3498
|
e = "" + e;
|
|
3499
|
-
var t =
|
|
3499
|
+
var t = Bp.exec(e);
|
|
3500
3500
|
if (t) {
|
|
3501
3501
|
var n = "", r, i = 0;
|
|
3502
3502
|
for (r = t.index; r < e.length; r++) {
|
|
@@ -3525,19 +3525,19 @@ function te(e) {
|
|
|
3525
3525
|
}
|
|
3526
3526
|
return e;
|
|
3527
3527
|
}
|
|
3528
|
-
var
|
|
3528
|
+
var Np = /([A-Z])/g, $p = /^ms-/, Fi = Array.isArray, zp = C("<script>"), Up = C("<\/script>"), Wp = C('<script src="'), Hp = C('<script type="module" src="'), Ns = C('" async=""><\/script>'), qp = /(<\/|<)(s)(cript)/gi;
|
|
3529
3529
|
function Gp(e, t, n, r) {
|
|
3530
3530
|
return "" + t + (n === "s" ? "\\u0073" : "\\u0053") + r;
|
|
3531
3531
|
}
|
|
3532
3532
|
function Xp(e, t, n, r, i) {
|
|
3533
3533
|
e = e === void 0 ? "" : e, t = t === void 0 ? zp : C('<script nonce="' + te(t) + '">');
|
|
3534
3534
|
var o = [];
|
|
3535
|
-
if (n !== void 0 && o.push(t,
|
|
3535
|
+
if (n !== void 0 && o.push(t, V(("" + n).replace(qp, Gp)), Up), r !== void 0)
|
|
3536
3536
|
for (n = 0; n < r.length; n++)
|
|
3537
|
-
o.push(Wp,
|
|
3537
|
+
o.push(Wp, V(te(r[n])), Ns);
|
|
3538
3538
|
if (i !== void 0)
|
|
3539
3539
|
for (r = 0; r < i.length; r++)
|
|
3540
|
-
o.push(Hp,
|
|
3540
|
+
o.push(Hp, V(te(i[r])), Ns);
|
|
3541
3541
|
return { bootstrapChunks: o, startInlineScript: t, placeholderPrefix: C(e + "P:"), segmentPrefix: C(e + "S:"), boundaryPrefix: e + "B:", idPrefix: e, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1 };
|
|
3542
3542
|
}
|
|
3543
3543
|
function Oe(e, t) {
|
|
@@ -3571,31 +3571,31 @@ function Yp(e, t, n) {
|
|
|
3571
3571
|
}
|
|
3572
3572
|
var wo = C("<!-- -->");
|
|
3573
3573
|
function $s(e, t, n, r) {
|
|
3574
|
-
return t === "" ? r : (r && e.push(wo), e.push(
|
|
3574
|
+
return t === "" ? r : (r && e.push(wo), e.push(V(te(t))), !0);
|
|
3575
3575
|
}
|
|
3576
3576
|
var zs = /* @__PURE__ */ new Map(), Jp = C(' style="'), Us = C(":"), Zp = C(";");
|
|
3577
3577
|
function Du(e, t, n) {
|
|
3578
3578
|
if (typeof n != "object")
|
|
3579
|
-
throw Error(
|
|
3579
|
+
throw Error(F(62));
|
|
3580
3580
|
t = !0;
|
|
3581
3581
|
for (var r in n)
|
|
3582
3582
|
if (fe.call(n, r)) {
|
|
3583
3583
|
var i = n[r];
|
|
3584
3584
|
if (i != null && typeof i != "boolean" && i !== "") {
|
|
3585
3585
|
if (r.indexOf("--") === 0) {
|
|
3586
|
-
var o =
|
|
3587
|
-
i =
|
|
3586
|
+
var o = V(te(r));
|
|
3587
|
+
i = V(te(("" + i).trim()));
|
|
3588
3588
|
} else {
|
|
3589
3589
|
o = r;
|
|
3590
3590
|
var s = zs.get(o);
|
|
3591
|
-
s !== void 0 || (s = C(te(o.replace(
|
|
3591
|
+
s !== void 0 || (s = C(te(o.replace(Np, "-$1").toLowerCase().replace($p, "-ms-"))), zs.set(o, s)), o = s, i = typeof i == "number" ? i === 0 || fe.call(Hn, r) ? V("" + i) : V(i + "px") : V(te(("" + i).trim()));
|
|
3592
3592
|
}
|
|
3593
3593
|
t ? (t = !1, e.push(Jp, o, Us, i)) : e.push(Zp, o, Us, i);
|
|
3594
3594
|
}
|
|
3595
3595
|
}
|
|
3596
3596
|
t || e.push(mt);
|
|
3597
3597
|
}
|
|
3598
|
-
var Je = C(" "),
|
|
3598
|
+
var Je = C(" "), Rt = C('="'), mt = C('"'), Ws = C('=""');
|
|
3599
3599
|
function pe(e, t, n, r) {
|
|
3600
3600
|
switch (n) {
|
|
3601
3601
|
case "style":
|
|
@@ -3618,23 +3618,23 @@ function pe(e, t, n, r) {
|
|
|
3618
3618
|
if (!t.acceptsBooleans)
|
|
3619
3619
|
return;
|
|
3620
3620
|
}
|
|
3621
|
-
switch (n =
|
|
3621
|
+
switch (n = V(t.attributeName), t.type) {
|
|
3622
3622
|
case 3:
|
|
3623
3623
|
r && e.push(Je, n, Ws);
|
|
3624
3624
|
break;
|
|
3625
3625
|
case 4:
|
|
3626
|
-
r === !0 ? e.push(Je, n, Ws) : r !== !1 && e.push(Je, n,
|
|
3626
|
+
r === !0 ? e.push(Je, n, Ws) : r !== !1 && e.push(Je, n, Rt, V(te(r)), mt);
|
|
3627
3627
|
break;
|
|
3628
3628
|
case 5:
|
|
3629
|
-
isNaN(r) || e.push(Je, n,
|
|
3629
|
+
isNaN(r) || e.push(Je, n, Rt, V(te(r)), mt);
|
|
3630
3630
|
break;
|
|
3631
3631
|
case 6:
|
|
3632
|
-
!isNaN(r) && 1 <= r && e.push(Je, n,
|
|
3632
|
+
!isNaN(r) && 1 <= r && e.push(Je, n, Rt, V(te(r)), mt);
|
|
3633
3633
|
break;
|
|
3634
3634
|
default:
|
|
3635
|
-
t.sanitizeURL && (r = "" + r), e.push(Je, n,
|
|
3635
|
+
t.sanitizeURL && (r = "" + r), e.push(Je, n, Rt, V(te(r)), mt);
|
|
3636
3636
|
}
|
|
3637
|
-
} else if (
|
|
3637
|
+
} else if (Lu(n)) {
|
|
3638
3638
|
switch (typeof r) {
|
|
3639
3639
|
case "function":
|
|
3640
3640
|
case "symbol":
|
|
@@ -3643,7 +3643,7 @@ function pe(e, t, n, r) {
|
|
|
3643
3643
|
if (t = n.toLowerCase().slice(0, 5), t !== "data-" && t !== "aria-")
|
|
3644
3644
|
return;
|
|
3645
3645
|
}
|
|
3646
|
-
e.push(Je,
|
|
3646
|
+
e.push(Je, V(n), Rt, V(te(r)), mt);
|
|
3647
3647
|
}
|
|
3648
3648
|
}
|
|
3649
3649
|
}
|
|
@@ -3651,10 +3651,10 @@ var Ze = C(">"), Hs = C("/>");
|
|
|
3651
3651
|
function qn(e, t, n) {
|
|
3652
3652
|
if (t != null) {
|
|
3653
3653
|
if (n != null)
|
|
3654
|
-
throw Error(
|
|
3654
|
+
throw Error(F(60));
|
|
3655
3655
|
if (typeof t != "object" || !("__html" in t))
|
|
3656
|
-
throw Error(
|
|
3657
|
-
t = t.__html, t != null && e.push(
|
|
3656
|
+
throw Error(F(61));
|
|
3657
|
+
t = t.__html, t != null && e.push(V("" + t));
|
|
3658
3658
|
}
|
|
3659
3659
|
}
|
|
3660
3660
|
function Qp(e) {
|
|
@@ -3682,7 +3682,7 @@ function ni(e, t, n, r) {
|
|
|
3682
3682
|
pe(e, r, o, s);
|
|
3683
3683
|
}
|
|
3684
3684
|
}
|
|
3685
|
-
return e.push(Ze), qn(e, i, n), typeof n == "string" ? (e.push(
|
|
3685
|
+
return e.push(Ze), qn(e, i, n), typeof n == "string" ? (e.push(V(te(n))), null) : n;
|
|
3686
3686
|
}
|
|
3687
3687
|
var ri = C(`
|
|
3688
3688
|
`), em = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, qs = /* @__PURE__ */ new Map();
|
|
@@ -3690,7 +3690,7 @@ function _e(e) {
|
|
|
3690
3690
|
var t = qs.get(e);
|
|
3691
3691
|
if (t === void 0) {
|
|
3692
3692
|
if (!em.test(e))
|
|
3693
|
-
throw Error(
|
|
3693
|
+
throw Error(F(65, e));
|
|
3694
3694
|
t = C("<" + e), qs.set(e, t);
|
|
3695
3695
|
}
|
|
3696
3696
|
return t;
|
|
@@ -3744,7 +3744,7 @@ function nm(e, t, n, r, i) {
|
|
|
3744
3744
|
}
|
|
3745
3745
|
}
|
|
3746
3746
|
if (s != null)
|
|
3747
|
-
if (n = l !== null ? "" + l : Qp(a),
|
|
3747
|
+
if (n = l !== null ? "" + l : Qp(a), Fi(s)) {
|
|
3748
3748
|
for (r = 0; r < s.length; r++)
|
|
3749
3749
|
if ("" + s[r] === n) {
|
|
3750
3750
|
e.push(ti);
|
|
@@ -3770,19 +3770,19 @@ function nm(e, t, n, r, i) {
|
|
|
3770
3770
|
s = l;
|
|
3771
3771
|
break;
|
|
3772
3772
|
case "dangerouslySetInnerHTML":
|
|
3773
|
-
throw Error(
|
|
3773
|
+
throw Error(F(91));
|
|
3774
3774
|
default:
|
|
3775
3775
|
pe(e, r, a, l);
|
|
3776
3776
|
}
|
|
3777
3777
|
if (o === null && s !== null && (o = s), e.push(Ze), f != null) {
|
|
3778
3778
|
if (o != null)
|
|
3779
|
-
throw Error(
|
|
3780
|
-
if (
|
|
3781
|
-
throw Error(
|
|
3779
|
+
throw Error(F(92));
|
|
3780
|
+
if (Fi(f) && 1 < f.length)
|
|
3781
|
+
throw Error(F(93));
|
|
3782
3782
|
o = "" + f;
|
|
3783
3783
|
}
|
|
3784
3784
|
return typeof o == "string" && o[0] === `
|
|
3785
|
-
` && e.push(ri), o !== null && e.push(
|
|
3785
|
+
` && e.push(ri), o !== null && e.push(V(te("" + o))), null;
|
|
3786
3786
|
case "input":
|
|
3787
3787
|
e.push(_e("input")), l = f = a = o = null;
|
|
3788
3788
|
for (s in n)
|
|
@@ -3790,7 +3790,7 @@ function nm(e, t, n, r, i) {
|
|
|
3790
3790
|
switch (s) {
|
|
3791
3791
|
case "children":
|
|
3792
3792
|
case "dangerouslySetInnerHTML":
|
|
3793
|
-
throw Error(
|
|
3793
|
+
throw Error(F(399, "input"));
|
|
3794
3794
|
case "defaultChecked":
|
|
3795
3795
|
l = u;
|
|
3796
3796
|
break;
|
|
@@ -3819,7 +3819,7 @@ function nm(e, t, n, r, i) {
|
|
|
3819
3819
|
switch (d) {
|
|
3820
3820
|
case "children":
|
|
3821
3821
|
case "dangerouslySetInnerHTML":
|
|
3822
|
-
throw Error(
|
|
3822
|
+
throw Error(F(400));
|
|
3823
3823
|
default:
|
|
3824
3824
|
pe(e, r, d, o);
|
|
3825
3825
|
}
|
|
@@ -3833,7 +3833,7 @@ function nm(e, t, n, r, i) {
|
|
|
3833
3833
|
o = s;
|
|
3834
3834
|
break;
|
|
3835
3835
|
case "dangerouslySetInnerHTML":
|
|
3836
|
-
throw Error(
|
|
3836
|
+
throw Error(F(434));
|
|
3837
3837
|
default:
|
|
3838
3838
|
pe(e, r, c, s);
|
|
3839
3839
|
}
|
|
@@ -3855,11 +3855,11 @@ function nm(e, t, n, r, i) {
|
|
|
3855
3855
|
}
|
|
3856
3856
|
if (e.push(Ze), s != null) {
|
|
3857
3857
|
if (o != null)
|
|
3858
|
-
throw Error(
|
|
3858
|
+
throw Error(F(60));
|
|
3859
3859
|
if (typeof s != "object" || !("__html" in s))
|
|
3860
|
-
throw Error(
|
|
3860
|
+
throw Error(F(61));
|
|
3861
3861
|
n = s.__html, n != null && (typeof n == "string" && 0 < n.length && n[0] === `
|
|
3862
|
-
` ? e.push(ri,
|
|
3862
|
+
` ? e.push(ri, V(n)) : e.push(V("" + n)));
|
|
3863
3863
|
}
|
|
3864
3864
|
return typeof o == "string" && o[0] === `
|
|
3865
3865
|
` && e.push(ri), o;
|
|
@@ -3883,7 +3883,7 @@ function nm(e, t, n, r, i) {
|
|
|
3883
3883
|
switch (h) {
|
|
3884
3884
|
case "children":
|
|
3885
3885
|
case "dangerouslySetInnerHTML":
|
|
3886
|
-
throw Error(
|
|
3886
|
+
throw Error(F(399, t));
|
|
3887
3887
|
default:
|
|
3888
3888
|
pe(e, r, h, o);
|
|
3889
3889
|
}
|
|
@@ -3919,7 +3919,7 @@ function nm(e, t, n, r, i) {
|
|
|
3919
3919
|
case "suppressHydrationWarning":
|
|
3920
3920
|
break;
|
|
3921
3921
|
default:
|
|
3922
|
-
|
|
3922
|
+
Lu(u) && typeof a != "function" && typeof a != "symbol" && e.push(Je, V(u), Rt, V(te(a)), mt);
|
|
3923
3923
|
}
|
|
3924
3924
|
return e.push(Ze), qn(e, s, o), o;
|
|
3925
3925
|
}
|
|
@@ -3929,57 +3929,57 @@ C(' data-msg="');
|
|
|
3929
3929
|
C(' data-stck="');
|
|
3930
3930
|
var mm = C("></template>");
|
|
3931
3931
|
function Gs(e, t, n) {
|
|
3932
|
-
if (
|
|
3933
|
-
throw Error(
|
|
3934
|
-
return
|
|
3932
|
+
if (R(e, lm), n === null)
|
|
3933
|
+
throw Error(F(395));
|
|
3934
|
+
return R(e, n), N(e, um);
|
|
3935
3935
|
}
|
|
3936
|
-
var gm = C('<div hidden id="'), ym = C('">'), vm = C("</div>"), xm = C('<svg aria-hidden="true" style="display:none" id="'), bm = C('">'), wm = C("</svg>"), Sm = C('<math aria-hidden="true" style="display:none" id="'), Em = C('">'), Cm = C("</math>"), km = C('<table hidden id="'), Tm = C('">'), Pm = C("</table>"),
|
|
3936
|
+
var gm = C('<div hidden id="'), ym = C('">'), vm = C("</div>"), xm = C('<svg aria-hidden="true" style="display:none" id="'), bm = C('">'), wm = C("</svg>"), Sm = C('<math aria-hidden="true" style="display:none" id="'), Em = C('">'), Cm = C("</math>"), km = C('<table hidden id="'), Tm = C('">'), Pm = C("</table>"), Am = C('<table hidden><tbody id="'), Rm = C('">'), Om = C("</tbody></table>"), _m = C('<table hidden><tr id="'), Mm = C('">'), Fm = C("</tr></table>"), Vm = C('<table hidden><colgroup id="'), Lm = C('">'), Dm = C("</colgroup></table>");
|
|
3937
3937
|
function jm(e, t, n, r) {
|
|
3938
3938
|
switch (n.insertionMode) {
|
|
3939
3939
|
case 0:
|
|
3940
3940
|
case 1:
|
|
3941
|
-
return
|
|
3941
|
+
return R(e, gm), R(e, t.segmentPrefix), R(e, V(r.toString(16))), N(e, ym);
|
|
3942
3942
|
case 2:
|
|
3943
|
-
return
|
|
3943
|
+
return R(e, xm), R(e, t.segmentPrefix), R(e, V(r.toString(16))), N(e, bm);
|
|
3944
3944
|
case 3:
|
|
3945
|
-
return
|
|
3945
|
+
return R(e, Sm), R(e, t.segmentPrefix), R(e, V(r.toString(16))), N(e, Em);
|
|
3946
3946
|
case 4:
|
|
3947
|
-
return
|
|
3947
|
+
return R(e, km), R(e, t.segmentPrefix), R(e, V(r.toString(16))), N(e, Tm);
|
|
3948
3948
|
case 5:
|
|
3949
|
-
return
|
|
3949
|
+
return R(e, Am), R(e, t.segmentPrefix), R(e, V(r.toString(16))), N(e, Rm);
|
|
3950
3950
|
case 6:
|
|
3951
|
-
return
|
|
3951
|
+
return R(e, _m), R(e, t.segmentPrefix), R(e, V(r.toString(16))), N(e, Mm);
|
|
3952
3952
|
case 7:
|
|
3953
|
-
return
|
|
3953
|
+
return R(
|
|
3954
3954
|
e,
|
|
3955
|
-
|
|
3956
|
-
),
|
|
3955
|
+
Vm
|
|
3956
|
+
), R(e, t.segmentPrefix), R(e, V(r.toString(16))), N(e, Lm);
|
|
3957
3957
|
default:
|
|
3958
|
-
throw Error(
|
|
3958
|
+
throw Error(F(397));
|
|
3959
3959
|
}
|
|
3960
3960
|
}
|
|
3961
3961
|
function Im(e, t) {
|
|
3962
3962
|
switch (t.insertionMode) {
|
|
3963
3963
|
case 0:
|
|
3964
3964
|
case 1:
|
|
3965
|
-
return
|
|
3965
|
+
return N(e, vm);
|
|
3966
3966
|
case 2:
|
|
3967
|
-
return
|
|
3967
|
+
return N(e, wm);
|
|
3968
3968
|
case 3:
|
|
3969
|
-
return
|
|
3969
|
+
return N(e, Cm);
|
|
3970
3970
|
case 4:
|
|
3971
|
-
return
|
|
3971
|
+
return N(e, Pm);
|
|
3972
3972
|
case 5:
|
|
3973
|
-
return
|
|
3973
|
+
return N(e, Om);
|
|
3974
3974
|
case 6:
|
|
3975
|
-
return
|
|
3975
|
+
return N(e, Fm);
|
|
3976
3976
|
case 7:
|
|
3977
|
-
return
|
|
3977
|
+
return N(e, Dm);
|
|
3978
3978
|
default:
|
|
3979
|
-
throw Error(
|
|
3979
|
+
throw Error(F(397));
|
|
3980
3980
|
}
|
|
3981
3981
|
}
|
|
3982
|
-
var
|
|
3982
|
+
var Bm = C('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'), Nm = C('$RS("'), $m = C('","'), zm = C('")<\/script>'), Um = C('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'), Wm = C('$RC("'), Hm = C('","'), qm = C('")<\/script>'), Gm = C('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'), Xm = C('$RX("'), Km = C('"'), Ym = C(")<\/script>"), ii = C(","), Jm = /[<\u2028\u2029]/g;
|
|
3983
3983
|
function oi(e) {
|
|
3984
3984
|
return JSON.stringify(e).replace(Jm, function(t) {
|
|
3985
3985
|
switch (t) {
|
|
@@ -3994,8 +3994,8 @@ function oi(e) {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
});
|
|
3996
3996
|
}
|
|
3997
|
-
var en = Object.assign, Zm = Symbol.for("react.element"), ju = Symbol.for("react.portal"), Iu = Symbol.for("react.fragment"),
|
|
3998
|
-
function
|
|
3997
|
+
var en = Object.assign, Zm = Symbol.for("react.element"), ju = Symbol.for("react.portal"), Iu = Symbol.for("react.fragment"), Bu = Symbol.for("react.strict_mode"), Nu = Symbol.for("react.profiler"), $u = Symbol.for("react.provider"), zu = Symbol.for("react.context"), Uu = Symbol.for("react.forward_ref"), Wu = Symbol.for("react.suspense"), Hu = Symbol.for("react.suspense_list"), qu = Symbol.for("react.memo"), So = Symbol.for("react.lazy"), Qm = Symbol.for("react.scope"), eg = Symbol.for("react.debug_trace_mode"), tg = Symbol.for("react.legacy_hidden"), ng = Symbol.for("react.default_value"), Xs = Symbol.iterator;
|
|
3998
|
+
function Vi(e) {
|
|
3999
3999
|
if (e == null)
|
|
4000
4000
|
return null;
|
|
4001
4001
|
if (typeof e == "function")
|
|
@@ -4007,9 +4007,9 @@ function Li(e) {
|
|
|
4007
4007
|
return "Fragment";
|
|
4008
4008
|
case ju:
|
|
4009
4009
|
return "Portal";
|
|
4010
|
-
case Bu:
|
|
4011
|
-
return "Profiler";
|
|
4012
4010
|
case Nu:
|
|
4011
|
+
return "Profiler";
|
|
4012
|
+
case Bu:
|
|
4013
4013
|
return "StrictMode";
|
|
4014
4014
|
case Wu:
|
|
4015
4015
|
return "Suspense";
|
|
@@ -4026,11 +4026,11 @@ function Li(e) {
|
|
|
4026
4026
|
var t = e.render;
|
|
4027
4027
|
return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
4028
4028
|
case qu:
|
|
4029
|
-
return t = e.displayName || null, t !== null ? t :
|
|
4029
|
+
return t = e.displayName || null, t !== null ? t : Vi(e.type) || "Memo";
|
|
4030
4030
|
case So:
|
|
4031
4031
|
t = e._payload, e = e._init;
|
|
4032
4032
|
try {
|
|
4033
|
-
return
|
|
4033
|
+
return Vi(e(t));
|
|
4034
4034
|
} catch {
|
|
4035
4035
|
}
|
|
4036
4036
|
}
|
|
@@ -4052,10 +4052,10 @@ function Or(e, t) {
|
|
|
4052
4052
|
var n = t.parent;
|
|
4053
4053
|
if (e === null) {
|
|
4054
4054
|
if (n !== null)
|
|
4055
|
-
throw Error(
|
|
4055
|
+
throw Error(F(401));
|
|
4056
4056
|
} else {
|
|
4057
4057
|
if (n === null)
|
|
4058
|
-
throw Error(
|
|
4058
|
+
throw Error(F(401));
|
|
4059
4059
|
Or(e, n);
|
|
4060
4060
|
}
|
|
4061
4061
|
t.context._currentValue = t.value;
|
|
@@ -4070,13 +4070,13 @@ function Ku(e) {
|
|
|
4070
4070
|
}
|
|
4071
4071
|
function Yu(e, t) {
|
|
4072
4072
|
if (e.context._currentValue = e.parentValue, e = e.parent, e === null)
|
|
4073
|
-
throw Error(
|
|
4073
|
+
throw Error(F(402));
|
|
4074
4074
|
e.depth === t.depth ? Or(e, t) : Yu(e, t);
|
|
4075
4075
|
}
|
|
4076
4076
|
function Ju(e, t) {
|
|
4077
4077
|
var n = t.parent;
|
|
4078
4078
|
if (n === null)
|
|
4079
|
-
throw Error(
|
|
4079
|
+
throw Error(F(402));
|
|
4080
4080
|
e.depth === n.depth ? Or(e, n) : Ju(e, n), t.context._currentValue = t.value;
|
|
4081
4081
|
}
|
|
4082
4082
|
function sr(e) {
|
|
@@ -4112,7 +4112,7 @@ function Js(e, t, n, r) {
|
|
|
4112
4112
|
o.queue = null;
|
|
4113
4113
|
}
|
|
4114
4114
|
var rg = { id: 1, overflow: "" };
|
|
4115
|
-
function
|
|
4115
|
+
function Li(e, t, n) {
|
|
4116
4116
|
var r = e.id;
|
|
4117
4117
|
e = e.overflow;
|
|
4118
4118
|
var i = 32 - Gn(r) - 1;
|
|
@@ -4134,12 +4134,12 @@ function ag(e, t) {
|
|
|
4134
4134
|
var lg = typeof Object.is == "function" ? Object.is : ag, We = null, Eo = null, Xn = null, j = null, Yt = !1, ar = !1, fn = 0, rt = null, _r = 0;
|
|
4135
4135
|
function gt() {
|
|
4136
4136
|
if (We === null)
|
|
4137
|
-
throw Error(
|
|
4137
|
+
throw Error(F(321));
|
|
4138
4138
|
return We;
|
|
4139
4139
|
}
|
|
4140
4140
|
function Zs() {
|
|
4141
4141
|
if (0 < _r)
|
|
4142
|
-
throw Error(
|
|
4142
|
+
throw Error(F(312));
|
|
4143
4143
|
return { memoizedState: null, queue: null, next: null };
|
|
4144
4144
|
}
|
|
4145
4145
|
function Co() {
|
|
@@ -4189,7 +4189,7 @@ function ea(e, t) {
|
|
|
4189
4189
|
}
|
|
4190
4190
|
function ug(e, t, n) {
|
|
4191
4191
|
if (25 <= _r)
|
|
4192
|
-
throw Error(
|
|
4192
|
+
throw Error(F(301));
|
|
4193
4193
|
if (e === We)
|
|
4194
4194
|
if (ar = !0, e = { action: n, next: null }, rt === null && (rt = /* @__PURE__ */ new Map()), n = rt.get(t), n === void 0)
|
|
4195
4195
|
rt.set(t, e);
|
|
@@ -4200,9 +4200,9 @@ function ug(e, t, n) {
|
|
|
4200
4200
|
}
|
|
4201
4201
|
}
|
|
4202
4202
|
function cg() {
|
|
4203
|
-
throw Error(
|
|
4203
|
+
throw Error(F(394));
|
|
4204
4204
|
}
|
|
4205
|
-
function
|
|
4205
|
+
function An() {
|
|
4206
4206
|
}
|
|
4207
4207
|
var ta = { readContext: function(e) {
|
|
4208
4208
|
return e._currentValue;
|
|
@@ -4214,12 +4214,12 @@ var ta = { readContext: function(e) {
|
|
|
4214
4214
|
return t === null ? (e = { current: e }, j.memoizedState = e) : t;
|
|
4215
4215
|
}, useState: function(e) {
|
|
4216
4216
|
return Qs(Zu, e);
|
|
4217
|
-
}, useInsertionEffect:
|
|
4217
|
+
}, useInsertionEffect: An, useLayoutEffect: function() {
|
|
4218
4218
|
}, useCallback: function(e, t) {
|
|
4219
4219
|
return ea(function() {
|
|
4220
4220
|
return e;
|
|
4221
4221
|
}, t);
|
|
4222
|
-
}, useImperativeHandle:
|
|
4222
|
+
}, useImperativeHandle: An, useEffect: An, useDebugValue: An, useDeferredValue: function(e) {
|
|
4223
4223
|
return gt(), e;
|
|
4224
4224
|
}, useTransition: function() {
|
|
4225
4225
|
return gt(), [!1, cg];
|
|
@@ -4228,13 +4228,13 @@ var ta = { readContext: function(e) {
|
|
|
4228
4228
|
e = e.id, e = (e & ~(1 << 32 - Gn(e) - 1)).toString(32) + t;
|
|
4229
4229
|
var n = Kn;
|
|
4230
4230
|
if (n === null)
|
|
4231
|
-
throw Error(
|
|
4231
|
+
throw Error(F(404));
|
|
4232
4232
|
return t = fn++, e = ":" + n.idPrefix + "R" + e, 0 < t && (e += "H" + t.toString(32)), e + ":";
|
|
4233
4233
|
}, useMutableSource: function(e, t) {
|
|
4234
4234
|
return gt(), t(e._source);
|
|
4235
4235
|
}, useSyncExternalStore: function(e, t, n) {
|
|
4236
4236
|
if (n === void 0)
|
|
4237
|
-
throw Error(
|
|
4237
|
+
throw Error(F(407));
|
|
4238
4238
|
return n();
|
|
4239
4239
|
} }, Kn = null, si = Mu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
|
|
4240
4240
|
function fg(e) {
|
|
@@ -4264,7 +4264,7 @@ function dn(e, t) {
|
|
|
4264
4264
|
}
|
|
4265
4265
|
function ur(e, t) {
|
|
4266
4266
|
var n = e.onShellError;
|
|
4267
|
-
n(t), n = e.onFatalError, n(t), e.destination !== null ? (e.status = 2,
|
|
4267
|
+
n(t), n = e.onFatalError, n(t), e.destination !== null ? (e.status = 2, Vu(e.destination, t)) : (e.status = 1, e.fatalError = t);
|
|
4268
4268
|
}
|
|
4269
4269
|
function na(e, t, n, r, i) {
|
|
4270
4270
|
for (We = {}, Eo = t, fn = 0, e = n(r, i); ar; )
|
|
@@ -4281,7 +4281,7 @@ function ra(e, t, n, r) {
|
|
|
4281
4281
|
n = n.getChildContext();
|
|
4282
4282
|
for (var a in n)
|
|
4283
4283
|
if (!(a in o))
|
|
4284
|
-
throw Error(
|
|
4284
|
+
throw Error(F(108, Vi(r) || "Unknown", a));
|
|
4285
4285
|
r = en({}, s, n);
|
|
4286
4286
|
}
|
|
4287
4287
|
t.legacyContext = r, xe(e, t, i), t.legacyContext = s;
|
|
@@ -4309,7 +4309,7 @@ function Di(e, t, n, r, i) {
|
|
|
4309
4309
|
if (typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0)
|
|
4310
4310
|
Js(i, n, r, o), ra(e, t, i, n);
|
|
4311
4311
|
else if (s) {
|
|
4312
|
-
r = t.treeContext, t.treeContext =
|
|
4312
|
+
r = t.treeContext, t.treeContext = Li(r, 1, 0);
|
|
4313
4313
|
try {
|
|
4314
4314
|
xe(e, t, i);
|
|
4315
4315
|
} finally {
|
|
@@ -4337,15 +4337,15 @@ function Di(e, t, n, r, i) {
|
|
|
4337
4337
|
case "wbr":
|
|
4338
4338
|
break;
|
|
4339
4339
|
default:
|
|
4340
|
-
i.chunks.push(rm,
|
|
4340
|
+
i.chunks.push(rm, V(n), im);
|
|
4341
4341
|
}
|
|
4342
4342
|
i.lastPushedText = !1;
|
|
4343
4343
|
} else {
|
|
4344
4344
|
switch (n) {
|
|
4345
4345
|
case tg:
|
|
4346
4346
|
case eg:
|
|
4347
|
-
case Nu:
|
|
4348
4347
|
case Bu:
|
|
4348
|
+
case Nu:
|
|
4349
4349
|
case Iu:
|
|
4350
4350
|
xe(e, t, r.children);
|
|
4351
4351
|
return;
|
|
@@ -4353,7 +4353,7 @@ function Di(e, t, n, r, i) {
|
|
|
4353
4353
|
xe(e, t, r.children);
|
|
4354
4354
|
return;
|
|
4355
4355
|
case Qm:
|
|
4356
|
-
throw Error(
|
|
4356
|
+
throw Error(F(343));
|
|
4357
4357
|
case Wu:
|
|
4358
4358
|
e: {
|
|
4359
4359
|
n = t.blockedBoundary, i = t.blockedSegment, o = r.fallback, r = r.children, s = /* @__PURE__ */ new Set();
|
|
@@ -4381,7 +4381,7 @@ function Di(e, t, n, r, i) {
|
|
|
4381
4381
|
switch (n.$$typeof) {
|
|
4382
4382
|
case Uu:
|
|
4383
4383
|
if (r = na(e, t, n.render, r, i), fn !== 0) {
|
|
4384
|
-
n = t.treeContext, t.treeContext =
|
|
4384
|
+
n = t.treeContext, t.treeContext = Li(n, 1, 0);
|
|
4385
4385
|
try {
|
|
4386
4386
|
xe(e, t, r);
|
|
4387
4387
|
} finally {
|
|
@@ -4395,7 +4395,7 @@ function Di(e, t, n, r, i) {
|
|
|
4395
4395
|
return;
|
|
4396
4396
|
case $u:
|
|
4397
4397
|
if (i = r.children, n = n._context, r = r.value, o = n._currentValue, n._currentValue = r, s = vt, vt = r = { parent: s, depth: s === null ? 0 : s.depth + 1, context: n, parentValue: o, value: r }, t.context = r, xe(e, t, i), e = vt, e === null)
|
|
4398
|
-
throw Error(
|
|
4398
|
+
throw Error(F(403));
|
|
4399
4399
|
r = e.parentValue, e.context._currentValue = r === ng ? e.context._defaultValue : r, e = vt = e.parent, t.context = e;
|
|
4400
4400
|
return;
|
|
4401
4401
|
case zu:
|
|
@@ -4405,7 +4405,7 @@ function Di(e, t, n, r, i) {
|
|
|
4405
4405
|
i = n._init, n = i(n._payload), r = ia(n, r), Di(e, t, n, r, void 0);
|
|
4406
4406
|
return;
|
|
4407
4407
|
}
|
|
4408
|
-
throw Error(
|
|
4408
|
+
throw Error(F(
|
|
4409
4409
|
130,
|
|
4410
4410
|
n == null ? n : typeof n,
|
|
4411
4411
|
""
|
|
@@ -4419,13 +4419,13 @@ function xe(e, t, n) {
|
|
|
4419
4419
|
Di(e, t, n.type, n.props, n.ref);
|
|
4420
4420
|
return;
|
|
4421
4421
|
case ju:
|
|
4422
|
-
throw Error(
|
|
4422
|
+
throw Error(F(257));
|
|
4423
4423
|
case So:
|
|
4424
4424
|
var r = n._init;
|
|
4425
4425
|
n = r(n._payload), xe(e, t, n);
|
|
4426
4426
|
return;
|
|
4427
4427
|
}
|
|
4428
|
-
if (
|
|
4428
|
+
if (Fi(n)) {
|
|
4429
4429
|
oa(e, t, n);
|
|
4430
4430
|
return;
|
|
4431
4431
|
}
|
|
@@ -4439,14 +4439,14 @@ function xe(e, t, n) {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
return;
|
|
4441
4441
|
}
|
|
4442
|
-
throw e = Object.prototype.toString.call(n), Error(
|
|
4442
|
+
throw e = Object.prototype.toString.call(n), Error(F(31, e === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : e));
|
|
4443
4443
|
}
|
|
4444
4444
|
typeof n == "string" ? (r = t.blockedSegment, r.lastPushedText = $s(t.blockedSegment.chunks, n, e.responseState, r.lastPushedText)) : typeof n == "number" && (r = t.blockedSegment, r.lastPushedText = $s(t.blockedSegment.chunks, "" + n, e.responseState, r.lastPushedText));
|
|
4445
4445
|
}
|
|
4446
4446
|
function oa(e, t, n) {
|
|
4447
4447
|
for (var r = n.length, i = 0; i < r; i++) {
|
|
4448
4448
|
var o = t.treeContext;
|
|
4449
|
-
t.treeContext =
|
|
4449
|
+
t.treeContext = Li(o, r, i);
|
|
4450
4450
|
try {
|
|
4451
4451
|
ji(e, t, n[i]);
|
|
4452
4452
|
} finally {
|
|
@@ -4473,7 +4473,7 @@ function hg(e) {
|
|
|
4473
4473
|
}
|
|
4474
4474
|
function Qu(e, t, n) {
|
|
4475
4475
|
var r = e.blockedBoundary;
|
|
4476
|
-
e.blockedSegment.status = 3, r === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.close())) : (r.pendingTasks--, r.forceClientRender || (r.forceClientRender = !0, e = n === void 0 ? Error(
|
|
4476
|
+
e.blockedSegment.status = 3, r === null ? (t.allPendingTasks--, t.status !== 2 && (t.status = 2, t.destination !== null && t.destination.close())) : (r.pendingTasks--, r.forceClientRender || (r.forceClientRender = !0, e = n === void 0 ? Error(F(432)) : n, r.errorDigest = t.onError(e), r.parentFlushed && t.clientRenderedBoundaries.push(r)), r.fallbackAbortableTasks.forEach(function(i) {
|
|
4477
4477
|
return Qu(i, t, n);
|
|
4478
4478
|
}), r.fallbackAbortableTasks.clear(), t.allPendingTasks--, t.allPendingTasks === 0 && (r = t.onAllReady, r()));
|
|
4479
4479
|
}
|
|
@@ -4488,7 +4488,7 @@ function ec(e, t, n) {
|
|
|
4488
4488
|
if (t === null) {
|
|
4489
4489
|
if (n.parentFlushed) {
|
|
4490
4490
|
if (e.completedRootSegment !== null)
|
|
4491
|
-
throw Error(
|
|
4491
|
+
throw Error(F(389));
|
|
4492
4492
|
e.completedRootSegment = n;
|
|
4493
4493
|
}
|
|
4494
4494
|
e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = Jt, t = e.onShellReady, t());
|
|
@@ -4534,11 +4534,11 @@ function tc(e) {
|
|
|
4534
4534
|
}
|
|
4535
4535
|
}
|
|
4536
4536
|
}
|
|
4537
|
-
function
|
|
4537
|
+
function Rn(e, t, n) {
|
|
4538
4538
|
switch (n.parentFlushed = !0, n.status) {
|
|
4539
4539
|
case 0:
|
|
4540
4540
|
var r = n.id = e.nextSegmentId++;
|
|
4541
|
-
return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState,
|
|
4541
|
+
return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, R(t, om), R(t, e.placeholderPrefix), e = V(r.toString(16)), R(t, e), N(t, sm);
|
|
4542
4542
|
case 1:
|
|
4543
4543
|
n.status = 2;
|
|
4544
4544
|
var i = !0;
|
|
@@ -4547,34 +4547,34 @@ function An(e, t, n) {
|
|
|
4547
4547
|
n = n.children;
|
|
4548
4548
|
for (var s = 0; s < n.length; s++) {
|
|
4549
4549
|
for (i = n[s]; o < i.index; o++)
|
|
4550
|
-
|
|
4550
|
+
R(t, r[o]);
|
|
4551
4551
|
i = Mr(e, t, i);
|
|
4552
4552
|
}
|
|
4553
4553
|
for (; o < r.length - 1; o++)
|
|
4554
|
-
|
|
4555
|
-
return o < r.length && (i =
|
|
4554
|
+
R(t, r[o]);
|
|
4555
|
+
return o < r.length && (i = N(t, r[o])), i;
|
|
4556
4556
|
default:
|
|
4557
|
-
throw Error(
|
|
4557
|
+
throw Error(F(390));
|
|
4558
4558
|
}
|
|
4559
4559
|
}
|
|
4560
4560
|
function Mr(e, t, n) {
|
|
4561
4561
|
var r = n.boundary;
|
|
4562
4562
|
if (r === null)
|
|
4563
|
-
return
|
|
4563
|
+
return Rn(e, t, n);
|
|
4564
4564
|
if (r.parentFlushed = !0, r.forceClientRender)
|
|
4565
|
-
r = r.errorDigest,
|
|
4565
|
+
r = r.errorDigest, N(t, cm), R(t, dm), r && (R(t, pm), R(t, V(te(r))), R(t, hm)), N(t, mm), Rn(e, t, n);
|
|
4566
4566
|
else if (0 < r.pendingTasks) {
|
|
4567
4567
|
r.rootSegmentID = e.nextSegmentId++, 0 < r.completedSegments.length && e.partialBoundaries.push(r);
|
|
4568
4568
|
var i = e.responseState, o = i.nextSuspenseID++;
|
|
4569
|
-
i = C(i.boundaryPrefix + o.toString(16)), r = r.id = i, Gs(t, e.responseState, r),
|
|
4569
|
+
i = C(i.boundaryPrefix + o.toString(16)), r = r.id = i, Gs(t, e.responseState, r), Rn(e, t, n);
|
|
4570
4570
|
} else if (r.byteSize > e.progressiveChunkSize)
|
|
4571
|
-
r.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(r), Gs(t, e.responseState, r.id),
|
|
4571
|
+
r.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(r), Gs(t, e.responseState, r.id), Rn(e, t, n);
|
|
4572
4572
|
else {
|
|
4573
|
-
if (
|
|
4574
|
-
throw Error(
|
|
4573
|
+
if (N(t, am), n = r.completedSegments, n.length !== 1)
|
|
4574
|
+
throw Error(F(391));
|
|
4575
4575
|
Mr(e, t, n[0]);
|
|
4576
4576
|
}
|
|
4577
|
-
return
|
|
4577
|
+
return N(t, fm);
|
|
4578
4578
|
}
|
|
4579
4579
|
function sa(e, t, n) {
|
|
4580
4580
|
return jm(t, e.responseState, n.formatContext, n.id), Mr(e, t, n), Im(t, n.formatContext);
|
|
@@ -4582,9 +4582,9 @@ function sa(e, t, n) {
|
|
|
4582
4582
|
function aa(e, t, n) {
|
|
4583
4583
|
for (var r = n.completedSegments, i = 0; i < r.length; i++)
|
|
4584
4584
|
nc(e, t, n, r[i]);
|
|
4585
|
-
if (r.length = 0, e = e.responseState, r = n.id, n = n.rootSegmentID,
|
|
4586
|
-
throw Error(
|
|
4587
|
-
return n =
|
|
4585
|
+
if (r.length = 0, e = e.responseState, r = n.id, n = n.rootSegmentID, R(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? R(t, Wm) : (e.sentCompleteBoundaryFunction = !0, R(t, Um)), r === null)
|
|
4586
|
+
throw Error(F(395));
|
|
4587
|
+
return n = V(n.toString(16)), R(t, r), R(t, Hm), R(t, e.segmentPrefix), R(t, n), N(t, qm);
|
|
4588
4588
|
}
|
|
4589
4589
|
function nc(e, t, n, r) {
|
|
4590
4590
|
if (r.status === 2)
|
|
@@ -4592,10 +4592,10 @@ function nc(e, t, n, r) {
|
|
|
4592
4592
|
var i = r.id;
|
|
4593
4593
|
if (i === -1) {
|
|
4594
4594
|
if ((r.id = n.rootSegmentID) === -1)
|
|
4595
|
-
throw Error(
|
|
4595
|
+
throw Error(F(392));
|
|
4596
4596
|
return sa(e, t, r);
|
|
4597
4597
|
}
|
|
4598
|
-
return sa(e, t, r), e = e.responseState,
|
|
4598
|
+
return sa(e, t, r), e = e.responseState, R(t, e.startInlineScript), e.sentCompleteSegmentFunction ? R(t, Nm) : (e.sentCompleteSegmentFunction = !0, R(t, Bm)), R(t, e.segmentPrefix), i = V(i.toString(16)), R(t, i), R(t, $m), R(t, e.placeholderPrefix), R(t, i), N(t, zm);
|
|
4599
4599
|
}
|
|
4600
4600
|
function Po(e, t) {
|
|
4601
4601
|
ye = new Uint8Array(512), ve = 0;
|
|
@@ -4605,20 +4605,20 @@ function Po(e, t) {
|
|
|
4605
4605
|
Mr(e, t, n), e.completedRootSegment = null;
|
|
4606
4606
|
var r = e.responseState.bootstrapChunks;
|
|
4607
4607
|
for (n = 0; n < r.length - 1; n++)
|
|
4608
|
-
|
|
4609
|
-
n < r.length &&
|
|
4608
|
+
R(t, r[n]);
|
|
4609
|
+
n < r.length && N(t, r[n]);
|
|
4610
4610
|
}
|
|
4611
4611
|
var i = e.clientRenderedBoundaries, o;
|
|
4612
4612
|
for (o = 0; o < i.length; o++) {
|
|
4613
4613
|
var s = i[o];
|
|
4614
4614
|
r = t;
|
|
4615
4615
|
var a = e.responseState, l = s.id, u = s.errorDigest, f = s.errorMessage, c = s.errorComponentStack;
|
|
4616
|
-
if (
|
|
4616
|
+
if (R(r, a.startInlineScript), a.sentClientRenderFunction ? R(r, Xm) : (a.sentClientRenderFunction = !0, R(
|
|
4617
4617
|
r,
|
|
4618
4618
|
Gm
|
|
4619
4619
|
)), l === null)
|
|
4620
|
-
throw Error(
|
|
4621
|
-
|
|
4620
|
+
throw Error(F(395));
|
|
4621
|
+
R(r, l), R(r, Km), (u || f || c) && (R(r, ii), R(r, V(oi(u || "")))), (f || c) && (R(r, ii), R(r, V(oi(f || "")))), c && (R(r, ii), R(r, V(oi(c)))), N(r, Ym);
|
|
4622
4622
|
}
|
|
4623
4623
|
i.splice(0, o);
|
|
4624
4624
|
var d = e.completedBoundaries;
|
|
@@ -4675,7 +4675,7 @@ vo.renderToReadableStream = function(e, t) {
|
|
|
4675
4675
|
}), a = dg(e, Xp(t ? t.identifierPrefix : void 0, t ? t.nonce : void 0, t ? t.bootstrapScriptContent : void 0, t ? t.bootstrapScripts : void 0, t ? t.bootstrapModules : void 0), Kp(t ? t.namespaceURI : void 0), t ? t.progressiveChunkSize : void 0, t ? t.onError : void 0, o, function() {
|
|
4676
4676
|
var f = new ReadableStream({ type: "bytes", pull: function(c) {
|
|
4677
4677
|
if (a.status === 1)
|
|
4678
|
-
a.status = 2,
|
|
4678
|
+
a.status = 2, Vu(c, a.fatalError);
|
|
4679
4679
|
else if (a.status !== 2 && a.destination === null) {
|
|
4680
4680
|
a.destination = c;
|
|
4681
4681
|
try {
|
|
@@ -4703,7 +4703,7 @@ vo.renderToReadableStream = function(e, t) {
|
|
|
4703
4703
|
};
|
|
4704
4704
|
vo.version = "18.2.0";
|
|
4705
4705
|
var $t, rc;
|
|
4706
|
-
$t =
|
|
4706
|
+
$t = Nt, rc = vo;
|
|
4707
4707
|
$t.version;
|
|
4708
4708
|
var pg = $t.renderToString;
|
|
4709
4709
|
$t.renderToStaticMarkup;
|
|
@@ -4756,7 +4756,7 @@ var vg = function() {
|
|
|
4756
4756
|
};
|
|
4757
4757
|
ic.exports = vg();
|
|
4758
4758
|
var Y = ic.exports;
|
|
4759
|
-
const ke = /* @__PURE__ */
|
|
4759
|
+
const ke = /* @__PURE__ */ Rl(Y);
|
|
4760
4760
|
var xg = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4761
4761
|
function ac(e, t) {
|
|
4762
4762
|
return e(t = { exports: {} }, t.exports), t.exports;
|
|
@@ -4888,11 +4888,11 @@ function Ii(e) {
|
|
|
4888
4888
|
var t = e.children, n = uc(e, ["children"]);
|
|
4889
4889
|
return typeof t != "string" && (t = pg(t)), Ie.createElement("template", lc({}, n, { dangerouslySetInnerHTML: { __html: t } }));
|
|
4890
4890
|
}
|
|
4891
|
-
function
|
|
4891
|
+
function Bi(e) {
|
|
4892
4892
|
var t = e.root, n = e.children;
|
|
4893
4893
|
return Ol.createPortal(n, t);
|
|
4894
4894
|
}
|
|
4895
|
-
function
|
|
4895
|
+
function Ag(e) {
|
|
4896
4896
|
var t = x.forwardRef(function(n, r) {
|
|
4897
4897
|
var i, o, s = n.mode, a = n.delegatesFocus, l = n.styleSheets, u = n.ssr, f = n.children, c = uc(n, ["mode", "delegatesFocus", "styleSheets", "ssr", "children"]), d = (o = x.useRef((i = r) && i.current), x.useEffect(function() {
|
|
4898
4898
|
i && (i.current = o.current);
|
|
@@ -4918,34 +4918,34 @@ function Rg(e) {
|
|
|
4918
4918
|
}
|
|
4919
4919
|
})({ error: S, styleSheets: l, root: m });
|
|
4920
4920
|
}
|
|
4921
|
-
}, [r, d, l]), Ie.createElement(Ie.Fragment, null, Ie.createElement(e.tag, lc({ key: y, ref: d }, c), (m || u) && Ie.createElement(Pg.Provider, { value: m }, u ? Ie.createElement(Ii, { shadowroot: s, shadowrootmode: s }, e.render({ root: m, ssr: u, children: f })) : Ie.createElement(
|
|
4921
|
+
}, [r, d, l]), Ie.createElement(Ie.Fragment, null, Ie.createElement(e.tag, lc({ key: y, ref: d }, c), (m || u) && Ie.createElement(Pg.Provider, { value: m }, u ? Ie.createElement(Ii, { shadowroot: s, shadowrootmode: s }, e.render({ root: m, ssr: u, children: f })) : Ie.createElement(Bi, { root: m }, e.render({ root: m, ssr: u, children: f })))));
|
|
4922
4922
|
});
|
|
4923
4923
|
return t.propTypes = { mode: ke.oneOf(["open", "closed"]), delegatesFocus: ke.bool, styleSheets: ke.arrayOf(ke.instanceOf(globalThis.CSSStyleSheet)), ssr: ke.bool, children: ke.node }, t.defaultProps = { mode: "open", delegatesFocus: !1, styleSheets: [], ssr: !1, children: null }, t;
|
|
4924
4924
|
}
|
|
4925
|
-
Ii.propTypes = { children: ke.oneOfType([ke.string, ke.node]) }, Ii.defaultProps = { children: "" },
|
|
4925
|
+
Ii.propTypes = { children: ke.oneOfType([ke.string, ke.node]) }, Ii.defaultProps = { children: "" }, Bi.propTypes = { root: ke.object.isRequired, children: ke.node }, Bi.defaultProps = { children: null };
|
|
4926
4926
|
var ai = /* @__PURE__ */ new Map();
|
|
4927
|
-
function
|
|
4927
|
+
function Rg() {
|
|
4928
4928
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "core", n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(r) {
|
|
4929
4929
|
return r.children;
|
|
4930
4930
|
};
|
|
4931
4931
|
return new Proxy(e, { get: function(r, i) {
|
|
4932
4932
|
var o = bg(i, { separator: "-" }), s = "".concat(t, "-").concat(o);
|
|
4933
|
-
return ai.has(s) || ai.set(s,
|
|
4933
|
+
return ai.has(s) || ai.set(s, Ag({ tag: o, render: n })), ai.get(s);
|
|
4934
4934
|
} });
|
|
4935
4935
|
}
|
|
4936
|
-
var Og =
|
|
4936
|
+
var Og = Rg();
|
|
4937
4937
|
const _g = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
|
|
4938
4938
|
`;
|
|
4939
4939
|
function Mg({ children: e, styles: t = [], ...n }) {
|
|
4940
|
-
return /* @__PURE__ */
|
|
4941
|
-
[_g, ...t].map((r, i) => /* @__PURE__ */
|
|
4940
|
+
return /* @__PURE__ */ A.jsxs(Og.div, { ...n, children: [
|
|
4941
|
+
[_g, ...t].map((r, i) => /* @__PURE__ */ A.jsx("style", { type: "text/css", children: r }, i)),
|
|
4942
4942
|
e
|
|
4943
4943
|
] });
|
|
4944
4944
|
}
|
|
4945
|
-
const
|
|
4946
|
-
let
|
|
4945
|
+
const Ao = (e) => typeof e == "number" && !isNaN(e), tn = (e) => typeof e == "string", cc = (e) => typeof e == "function", Fg = (e) => x.isValidElement(e) || tn(e) || cc(e) || Ao(e), Me = /* @__PURE__ */ new Map();
|
|
4946
|
+
let Ni = [];
|
|
4947
4947
|
const ca = /* @__PURE__ */ new Set(), fc = () => Me.size > 0;
|
|
4948
|
-
function
|
|
4948
|
+
function Vg(e, t) {
|
|
4949
4949
|
var n;
|
|
4950
4950
|
if (t)
|
|
4951
4951
|
return !((n = Me.get(t)) == null || !n.isToastActive(e));
|
|
@@ -4954,8 +4954,8 @@ function Lg(e, t) {
|
|
|
4954
4954
|
i.isToastActive(e) && (r = !0);
|
|
4955
4955
|
}), r;
|
|
4956
4956
|
}
|
|
4957
|
-
function
|
|
4958
|
-
|
|
4957
|
+
function Lg(e, t) {
|
|
4958
|
+
Fg(e) && (fc() || Ni.push({ content: e, options: t }), Me.forEach((n) => {
|
|
4959
4959
|
n.buildToast(e, t);
|
|
4960
4960
|
}));
|
|
4961
4961
|
}
|
|
@@ -4967,10 +4967,10 @@ function fa(e, t) {
|
|
|
4967
4967
|
let Dg = 1;
|
|
4968
4968
|
const dc = () => "" + Dg++;
|
|
4969
4969
|
function jg(e) {
|
|
4970
|
-
return e && (tn(e.toastId) ||
|
|
4970
|
+
return e && (tn(e.toastId) || Ao(e.toastId)) ? e.toastId : dc();
|
|
4971
4971
|
}
|
|
4972
4972
|
function nn(e, t) {
|
|
4973
|
-
return
|
|
4973
|
+
return Lg(e, t), t.toastId;
|
|
4974
4974
|
}
|
|
4975
4975
|
function fr(e, t) {
|
|
4976
4976
|
return { ...t, type: t && t.type || e, toastId: jg(t) };
|
|
@@ -4978,24 +4978,24 @@ function fr(e, t) {
|
|
|
4978
4978
|
function On(e) {
|
|
4979
4979
|
return (t, n) => nn(t, fr(e, n));
|
|
4980
4980
|
}
|
|
4981
|
-
function
|
|
4981
|
+
function B(e, t) {
|
|
4982
4982
|
return nn(e, fr("default", t));
|
|
4983
4983
|
}
|
|
4984
|
-
|
|
4984
|
+
B.loading = (e, t) => nn(e, fr("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), B.promise = function(e, t, n) {
|
|
4985
4985
|
let r, { pending: i, error: o, success: s } = t;
|
|
4986
|
-
i && (r = tn(i) ?
|
|
4986
|
+
i && (r = tn(i) ? B.loading(i, n) : B.loading(i.render, { ...n, ...i }));
|
|
4987
4987
|
const a = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, l = (f, c, d) => {
|
|
4988
4988
|
if (c == null)
|
|
4989
|
-
return void
|
|
4989
|
+
return void B.dismiss(r);
|
|
4990
4990
|
const h = { type: f, ...a, ...n, data: d }, p = tn(c) ? { render: c } : c;
|
|
4991
|
-
return r ?
|
|
4991
|
+
return r ? B.update(r, { ...h, ...p }) : B(p.render, { ...h, ...p }), d;
|
|
4992
4992
|
}, u = cc(e) ? e() : e;
|
|
4993
4993
|
return u.then((f) => l("success", s, f)).catch((f) => l("error", o, f)), u;
|
|
4994
|
-
},
|
|
4994
|
+
}, B.success = On("success"), B.info = On("info"), B.error = On("error"), B.warning = On("warning"), B.warn = B.warning, B.dark = (e, t) => nn(e, fr("default", { theme: "dark", ...t })), B.dismiss = function(e) {
|
|
4995
4995
|
(function(t) {
|
|
4996
4996
|
var n;
|
|
4997
4997
|
if (fc()) {
|
|
4998
|
-
if (t == null || tn(n = t) ||
|
|
4998
|
+
if (t == null || tn(n = t) || Ao(n))
|
|
4999
4999
|
Me.forEach((i) => {
|
|
5000
5000
|
i.removeToast(t);
|
|
5001
5001
|
});
|
|
@@ -5006,13 +5006,13 @@ N.loading = (e, t) => nn(e, fr("default", { isLoading: !0, autoClose: !1, closeO
|
|
|
5006
5006
|
});
|
|
5007
5007
|
}
|
|
5008
5008
|
} else
|
|
5009
|
-
|
|
5009
|
+
Ni = Ni.filter((i) => t != null && i.options.toastId !== t);
|
|
5010
5010
|
})(e);
|
|
5011
|
-
},
|
|
5011
|
+
}, B.clearWaitingQueue = function(e) {
|
|
5012
5012
|
e === void 0 && (e = {}), Me.forEach((t) => {
|
|
5013
5013
|
!t.props.limit || e.containerId && t.id !== e.containerId || t.clearQueue();
|
|
5014
5014
|
});
|
|
5015
|
-
},
|
|
5015
|
+
}, B.isActive = Vg, B.update = function(e, t) {
|
|
5016
5016
|
t === void 0 && (t = {});
|
|
5017
5017
|
const n = ((r, i) => {
|
|
5018
5018
|
var o;
|
|
@@ -5025,13 +5025,13 @@ N.loading = (e, t) => nn(e, fr("default", { isLoading: !0, autoClose: !1, closeO
|
|
|
5025
5025
|
const s = o.render || i;
|
|
5026
5026
|
delete o.render, nn(s, o);
|
|
5027
5027
|
}
|
|
5028
|
-
},
|
|
5029
|
-
|
|
5030
|
-
},
|
|
5028
|
+
}, B.done = (e) => {
|
|
5029
|
+
B.update(e, { progress: 1 });
|
|
5030
|
+
}, B.onChange = function(e) {
|
|
5031
5031
|
return ca.add(e), () => {
|
|
5032
5032
|
ca.delete(e);
|
|
5033
5033
|
};
|
|
5034
|
-
},
|
|
5034
|
+
}, B.play = (e) => fa(!0, e), B.pause = (e) => fa(!1, e);
|
|
5035
5035
|
const $i = {
|
|
5036
5036
|
primary100: "#F0F6E1",
|
|
5037
5037
|
primary200: "#E5F5ED",
|
|
@@ -5059,7 +5059,7 @@ const $i = {
|
|
|
5059
5059
|
linkLight: "#007BFF10"
|
|
5060
5060
|
};
|
|
5061
5061
|
function Ig() {
|
|
5062
|
-
return /* @__PURE__ */
|
|
5062
|
+
return /* @__PURE__ */ A.jsxs(
|
|
5063
5063
|
"svg",
|
|
5064
5064
|
{
|
|
5065
5065
|
width: "22",
|
|
@@ -5068,7 +5068,7 @@ function Ig() {
|
|
|
5068
5068
|
fill: "none",
|
|
5069
5069
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5070
5070
|
children: [
|
|
5071
|
-
/* @__PURE__ */
|
|
5071
|
+
/* @__PURE__ */ A.jsx(
|
|
5072
5072
|
"path",
|
|
5073
5073
|
{
|
|
5074
5074
|
fillRule: "evenodd",
|
|
@@ -5080,7 +5080,7 @@ function Ig() {
|
|
|
5080
5080
|
strokeLinejoin: "round"
|
|
5081
5081
|
}
|
|
5082
5082
|
),
|
|
5083
|
-
/* @__PURE__ */
|
|
5083
|
+
/* @__PURE__ */ A.jsx(
|
|
5084
5084
|
"path",
|
|
5085
5085
|
{
|
|
5086
5086
|
d: "M10.9942 6.89636V11.6737",
|
|
@@ -5090,7 +5090,7 @@ function Ig() {
|
|
|
5090
5090
|
strokeLinejoin: "round"
|
|
5091
5091
|
}
|
|
5092
5092
|
),
|
|
5093
|
-
/* @__PURE__ */
|
|
5093
|
+
/* @__PURE__ */ A.jsx(
|
|
5094
5094
|
"path",
|
|
5095
5095
|
{
|
|
5096
5096
|
d: "M10.9941 15.1038H11.0049",
|
|
@@ -5104,18 +5104,18 @@ function Ig() {
|
|
|
5104
5104
|
}
|
|
5105
5105
|
);
|
|
5106
5106
|
}
|
|
5107
|
-
const
|
|
5107
|
+
const Bg = {
|
|
5108
5108
|
paddingLeft: "16px",
|
|
5109
5109
|
borderLeft: "2px solid",
|
|
5110
5110
|
boxShadow: "none",
|
|
5111
5111
|
fontFamily: "inherit"
|
|
5112
|
-
},
|
|
5112
|
+
}, Ng = ({ closeToast: e }) => /* @__PURE__ */ A.jsx(
|
|
5113
5113
|
"i",
|
|
5114
5114
|
{
|
|
5115
5115
|
className: "material-icons",
|
|
5116
5116
|
onClick: e,
|
|
5117
5117
|
style: { cursor: "pointer" },
|
|
5118
|
-
children: /* @__PURE__ */
|
|
5118
|
+
children: /* @__PURE__ */ A.jsx(
|
|
5119
5119
|
"svg",
|
|
5120
5120
|
{
|
|
5121
5121
|
width: "24",
|
|
@@ -5123,7 +5123,7 @@ const Ng = {
|
|
|
5123
5123
|
viewBox: "0 0 24 25",
|
|
5124
5124
|
fill: "none",
|
|
5125
5125
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5126
|
-
children: /* @__PURE__ */
|
|
5126
|
+
children: /* @__PURE__ */ A.jsx(
|
|
5127
5127
|
"path",
|
|
5128
5128
|
{
|
|
5129
5129
|
d: "M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",
|
|
@@ -5134,19 +5134,19 @@ const Ng = {
|
|
|
5134
5134
|
)
|
|
5135
5135
|
}
|
|
5136
5136
|
), $g = (e) => {
|
|
5137
|
-
|
|
5138
|
-
icon: /* @__PURE__ */
|
|
5137
|
+
B.error(e, {
|
|
5138
|
+
icon: /* @__PURE__ */ A.jsx(Ig, {}),
|
|
5139
5139
|
position: "bottom-right",
|
|
5140
5140
|
style: {
|
|
5141
|
-
...
|
|
5141
|
+
...Bg,
|
|
5142
5142
|
background: "#F7E4E1",
|
|
5143
5143
|
borderColor: $i.danger,
|
|
5144
5144
|
color: $i.danger
|
|
5145
5145
|
}
|
|
5146
5146
|
});
|
|
5147
|
-
},
|
|
5148
|
-
|
|
5149
|
-
closeButton:
|
|
5147
|
+
}, sw = (e) => {
|
|
5148
|
+
B(e, {
|
|
5149
|
+
closeButton: Ng,
|
|
5150
5150
|
toastId: "notify",
|
|
5151
5151
|
position: "top-right",
|
|
5152
5152
|
closeOnClick: !1,
|
|
@@ -5163,9 +5163,9 @@ const Ng = {
|
|
|
5163
5163
|
transformPagePoint: (e) => e,
|
|
5164
5164
|
isStatic: !1,
|
|
5165
5165
|
reducedMotion: "never"
|
|
5166
|
-
}),
|
|
5166
|
+
}), Fr = x.createContext({}), Ro = x.createContext(null), Vr = typeof document < "u", zg = Vr ? x.useLayoutEffect : x.useEffect, pc = x.createContext({ strict: !1 }), Oo = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Ug = "framerAppearId", mc = "data-" + Oo(Ug);
|
|
5167
5167
|
function Wg(e, t, n, r) {
|
|
5168
|
-
const { visualElement: i } = x.useContext(
|
|
5168
|
+
const { visualElement: i } = x.useContext(Fr), o = x.useContext(pc), s = x.useContext(Ro), a = x.useContext(hc).reducedMotion, l = x.useRef();
|
|
5169
5169
|
r = r || o.renderer, !l.current && r && (l.current = r(e, {
|
|
5170
5170
|
visualState: t,
|
|
5171
5171
|
parent: i,
|
|
@@ -5204,7 +5204,7 @@ function Hg(e, t, n) {
|
|
|
5204
5204
|
function hn(e) {
|
|
5205
5205
|
return typeof e == "string" || Array.isArray(e);
|
|
5206
5206
|
}
|
|
5207
|
-
function
|
|
5207
|
+
function Lr(e) {
|
|
5208
5208
|
return e !== null && typeof e == "object" && typeof e.start == "function";
|
|
5209
5209
|
}
|
|
5210
5210
|
const _o = [
|
|
@@ -5217,7 +5217,7 @@ const _o = [
|
|
|
5217
5217
|
"exit"
|
|
5218
5218
|
], Mo = ["initial", ..._o];
|
|
5219
5219
|
function Dr(e) {
|
|
5220
|
-
return
|
|
5220
|
+
return Lr(e.animate) || Mo.some((t) => hn(e[t]));
|
|
5221
5221
|
}
|
|
5222
5222
|
function gc(e) {
|
|
5223
5223
|
return !!(Dr(e) || e.variants);
|
|
@@ -5233,7 +5233,7 @@ function qg(e, t) {
|
|
|
5233
5233
|
return e.inherit !== !1 ? t : {};
|
|
5234
5234
|
}
|
|
5235
5235
|
function Gg(e) {
|
|
5236
|
-
const { initial: t, animate: n } = qg(e, x.useContext(
|
|
5236
|
+
const { initial: t, animate: n } = qg(e, x.useContext(Fr));
|
|
5237
5237
|
return x.useMemo(() => ({ initial: t, animate: n }), [da(t), da(n)]);
|
|
5238
5238
|
}
|
|
5239
5239
|
function da(e) {
|
|
@@ -5280,7 +5280,7 @@ function Yg({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
5280
5280
|
...a,
|
|
5281
5281
|
layoutId: Jg(a)
|
|
5282
5282
|
}, { isStatic: c } = f, d = Gg(a), h = r(a, c);
|
|
5283
|
-
if (!c &&
|
|
5283
|
+
if (!c && Vr) {
|
|
5284
5284
|
d.visualElement = Wg(i, h, f, t);
|
|
5285
5285
|
const p = x.useContext(vc), m = x.useContext(pc).strict;
|
|
5286
5286
|
d.visualElement && (u = d.visualElement.loadFeatures(
|
|
@@ -5292,7 +5292,7 @@ function Yg({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
5292
5292
|
));
|
|
5293
5293
|
}
|
|
5294
5294
|
return x.createElement(
|
|
5295
|
-
|
|
5295
|
+
Fr.Provider,
|
|
5296
5296
|
{ value: d },
|
|
5297
5297
|
u && d.visualElement ? x.createElement(u, { visualElement: d.visualElement, ...f }) : null,
|
|
5298
5298
|
n(i, a, Hg(h, d.visualElement, l), h, c, d.visualElement)
|
|
@@ -5348,7 +5348,7 @@ const Qg = [
|
|
|
5348
5348
|
"use",
|
|
5349
5349
|
"view"
|
|
5350
5350
|
];
|
|
5351
|
-
function
|
|
5351
|
+
function Fo(e) {
|
|
5352
5352
|
return (
|
|
5353
5353
|
/**
|
|
5354
5354
|
* If it's not a string, it's a custom React component. Currently we only support
|
|
@@ -5429,10 +5429,10 @@ const Sn = (e) => ({
|
|
|
5429
5429
|
test: (t) => wn(t) && t.endsWith(e) && t.split(" ").length === 1,
|
|
5430
5430
|
parse: parseFloat,
|
|
5431
5431
|
transform: (t) => `${t}${e}`
|
|
5432
|
-
}), Qe = Sn("deg"),
|
|
5433
|
-
...
|
|
5434
|
-
parse: (e) =>
|
|
5435
|
-
transform: (e) =>
|
|
5432
|
+
}), Qe = Sn("deg"), Ve = Sn("%"), O = Sn("px"), ay = Sn("vh"), ly = Sn("vw"), pa = {
|
|
5433
|
+
...Ve,
|
|
5434
|
+
parse: (e) => Ve.parse(e) / 100,
|
|
5435
|
+
transform: (e) => Ve.transform(e * 100)
|
|
5436
5436
|
}, ma = {
|
|
5437
5437
|
...St,
|
|
5438
5438
|
transform: Math.round
|
|
@@ -5502,7 +5502,7 @@ const Sn = (e) => ({
|
|
|
5502
5502
|
strokeOpacity: rn,
|
|
5503
5503
|
numOctaves: ma
|
|
5504
5504
|
};
|
|
5505
|
-
function
|
|
5505
|
+
function Vo(e, t, n, r) {
|
|
5506
5506
|
const { style: i, vars: o, transform: s, transformOrigin: a } = e;
|
|
5507
5507
|
let l = !1, u = !1, f = !0;
|
|
5508
5508
|
for (const c in t) {
|
|
@@ -5524,7 +5524,7 @@ function Lo(e, t, n, r) {
|
|
|
5524
5524
|
i.transformOrigin = `${c} ${d} ${h}`;
|
|
5525
5525
|
}
|
|
5526
5526
|
}
|
|
5527
|
-
const
|
|
5527
|
+
const Lo = () => ({
|
|
5528
5528
|
style: {},
|
|
5529
5529
|
transform: {},
|
|
5530
5530
|
transformOrigin: {},
|
|
@@ -5536,8 +5536,8 @@ function Cc(e, t, n) {
|
|
|
5536
5536
|
}
|
|
5537
5537
|
function uy({ transformTemplate: e }, t, n) {
|
|
5538
5538
|
return x.useMemo(() => {
|
|
5539
|
-
const r =
|
|
5540
|
-
return
|
|
5539
|
+
const r = Lo();
|
|
5540
|
+
return Vo(r, t, { enableHardwareAcceleration: !n }, e), Object.assign({}, r.vars, r.style);
|
|
5541
5541
|
}, [t]);
|
|
5542
5542
|
}
|
|
5543
5543
|
function cy(e, t, n) {
|
|
@@ -5632,7 +5632,7 @@ function Do(e, {
|
|
|
5632
5632
|
// This is object creation, which we try to avoid per-frame.
|
|
5633
5633
|
...u
|
|
5634
5634
|
}, f, c, d) {
|
|
5635
|
-
if (
|
|
5635
|
+
if (Vo(e, u, f, d), c) {
|
|
5636
5636
|
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
|
|
5637
5637
|
return;
|
|
5638
5638
|
}
|
|
@@ -5641,7 +5641,7 @@ function Do(e, {
|
|
|
5641
5641
|
h.transform && (m && (p.transform = h.transform), delete h.transform), m && (i !== void 0 || o !== void 0 || p.transform) && (p.transformOrigin = my(m, i !== void 0 ? i : 0.5, o !== void 0 ? o : 0.5)), t !== void 0 && (h.x = t), n !== void 0 && (h.y = n), r !== void 0 && (h.scale = r), s !== void 0 && vy(h, s, a, l, !1);
|
|
5642
5642
|
}
|
|
5643
5643
|
const Tc = () => ({
|
|
5644
|
-
...
|
|
5644
|
+
...Lo(),
|
|
5645
5645
|
attrs: {}
|
|
5646
5646
|
}), jo = (e) => typeof e == "string" && e.toLowerCase() === "svg";
|
|
5647
5647
|
function xy(e, t, n, r) {
|
|
@@ -5660,7 +5660,7 @@ function xy(e, t, n, r) {
|
|
|
5660
5660
|
}
|
|
5661
5661
|
function by(e = !1) {
|
|
5662
5662
|
return (n, r, i, { latestValues: o }, s) => {
|
|
5663
|
-
const l = (
|
|
5663
|
+
const l = (Fo(n) ? xy : fy)(r, o, s, n), f = {
|
|
5664
5664
|
...py(r, typeof n == "string", e),
|
|
5665
5665
|
...l,
|
|
5666
5666
|
ref: i
|
|
@@ -5676,7 +5676,7 @@ function Pc(e, { style: t, vars: n }, r, i) {
|
|
|
5676
5676
|
for (const o in n)
|
|
5677
5677
|
e.style.setProperty(o, n[o]);
|
|
5678
5678
|
}
|
|
5679
|
-
const
|
|
5679
|
+
const Ac = /* @__PURE__ */ new Set([
|
|
5680
5680
|
"baseFrequency",
|
|
5681
5681
|
"diffuseConstant",
|
|
5682
5682
|
"kernelMatrix",
|
|
@@ -5701,10 +5701,10 @@ const Rc = /* @__PURE__ */ new Set([
|
|
|
5701
5701
|
"textLength",
|
|
5702
5702
|
"lengthAdjust"
|
|
5703
5703
|
]);
|
|
5704
|
-
function
|
|
5704
|
+
function Rc(e, t, n, r) {
|
|
5705
5705
|
Pc(e, t, void 0, r);
|
|
5706
5706
|
for (const i in t.attrs)
|
|
5707
|
-
e.setAttribute(
|
|
5707
|
+
e.setAttribute(Ac.has(i) ? i : Oo(i), t.attrs[i]);
|
|
5708
5708
|
}
|
|
5709
5709
|
function Io(e, t) {
|
|
5710
5710
|
const { style: n } = e, r = {};
|
|
@@ -5721,7 +5721,7 @@ function Oc(e, t) {
|
|
|
5721
5721
|
}
|
|
5722
5722
|
return n;
|
|
5723
5723
|
}
|
|
5724
|
-
function
|
|
5724
|
+
function Bo(e, t, n, r = {}, i = {}) {
|
|
5725
5725
|
return typeof t == "function" && (t = t(n !== void 0 ? n : e.custom, r, i)), typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function" && (t = t(n !== void 0 ? n : e.custom, r, i)), t;
|
|
5726
5726
|
}
|
|
5727
5727
|
function wy(e) {
|
|
@@ -5741,7 +5741,7 @@ function Cy({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: n }
|
|
|
5741
5741
|
return n && (s.mount = (a) => n(r, a, s)), s;
|
|
5742
5742
|
}
|
|
5743
5743
|
const _c = (e) => (t, n) => {
|
|
5744
|
-
const r = x.useContext(
|
|
5744
|
+
const r = x.useContext(Fr), i = x.useContext(Ro), o = () => Cy(e, t, r, i);
|
|
5745
5745
|
return n ? o() : wy(o);
|
|
5746
5746
|
};
|
|
5747
5747
|
function ky(e, t, n, r) {
|
|
@@ -5754,8 +5754,8 @@ function ky(e, t, n, r) {
|
|
|
5754
5754
|
let f = n ? n.initial === !1 : !1;
|
|
5755
5755
|
f = f || s === !1;
|
|
5756
5756
|
const c = f ? a : s;
|
|
5757
|
-
return c && typeof c != "boolean" && !
|
|
5758
|
-
const p =
|
|
5757
|
+
return c && typeof c != "boolean" && !Lr(c) && (Array.isArray(c) ? c : [c]).forEach((h) => {
|
|
5758
|
+
const p = Bo(e, h);
|
|
5759
5759
|
if (!p)
|
|
5760
5760
|
return;
|
|
5761
5761
|
const { transitionEnd: m, transition: g, ...y } = p;
|
|
@@ -5830,7 +5830,7 @@ const Mn = [
|
|
|
5830
5830
|
"render",
|
|
5831
5831
|
"postRender"
|
|
5832
5832
|
], Py = 40;
|
|
5833
|
-
function
|
|
5833
|
+
function Ay(e, t) {
|
|
5834
5834
|
let n = !1, r = !0;
|
|
5835
5835
|
const i = {
|
|
5836
5836
|
delta: 0,
|
|
@@ -5847,7 +5847,7 @@ function Ry(e, t) {
|
|
|
5847
5847
|
return c[d] = (p, m = !1, g = !1) => (n || l(), h.schedule(p, m, g)), c;
|
|
5848
5848
|
}, {}), cancel: (c) => Mn.forEach((d) => o[d].cancel(c)), state: i, steps: o };
|
|
5849
5849
|
}
|
|
5850
|
-
const { schedule: $, cancel: He, state: ie, steps: li } =
|
|
5850
|
+
const { schedule: $, cancel: He, state: ie, steps: li } = Ay(typeof requestAnimationFrame < "u" ? requestAnimationFrame : H, !0), Ry = {
|
|
5851
5851
|
useVisualState: _c({
|
|
5852
5852
|
scrapeMotionValuesFromProps: Oc,
|
|
5853
5853
|
createRenderState: Tc,
|
|
@@ -5864,26 +5864,26 @@ const { schedule: $, cancel: He, state: ie, steps: li } = Ry(typeof requestAnima
|
|
|
5864
5864
|
};
|
|
5865
5865
|
}
|
|
5866
5866
|
}), $.render(() => {
|
|
5867
|
-
Do(n, r, { enableHardwareAcceleration: !1 }, jo(t.tagName), e.transformTemplate),
|
|
5867
|
+
Do(n, r, { enableHardwareAcceleration: !1 }, jo(t.tagName), e.transformTemplate), Rc(t, n);
|
|
5868
5868
|
});
|
|
5869
5869
|
}
|
|
5870
5870
|
})
|
|
5871
5871
|
}, Oy = {
|
|
5872
5872
|
useVisualState: _c({
|
|
5873
5873
|
scrapeMotionValuesFromProps: Io,
|
|
5874
|
-
createRenderState:
|
|
5874
|
+
createRenderState: Lo
|
|
5875
5875
|
})
|
|
5876
5876
|
};
|
|
5877
5877
|
function _y(e, { forwardMotionProps: t = !1 }, n, r) {
|
|
5878
5878
|
return {
|
|
5879
|
-
...
|
|
5879
|
+
...Fo(e) ? Ry : Oy,
|
|
5880
5880
|
preloadedFeatures: n,
|
|
5881
5881
|
useRender: by(t),
|
|
5882
5882
|
createVisualElement: r,
|
|
5883
5883
|
Component: e
|
|
5884
5884
|
};
|
|
5885
5885
|
}
|
|
5886
|
-
function
|
|
5886
|
+
function Be(e, t, n, r = { passive: !0 }) {
|
|
5887
5887
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n);
|
|
5888
5888
|
}
|
|
5889
5889
|
const Mc = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
|
|
@@ -5897,10 +5897,10 @@ function Ir(e, t = "page") {
|
|
|
5897
5897
|
}
|
|
5898
5898
|
const My = (e) => (t) => Mc(t) && e(t, Ir(t));
|
|
5899
5899
|
function $e(e, t, n, r) {
|
|
5900
|
-
return
|
|
5900
|
+
return Be(e, t, My(n), r);
|
|
5901
5901
|
}
|
|
5902
|
-
const
|
|
5903
|
-
function
|
|
5902
|
+
const Fy = (e, t) => (n) => t(e(n)), it = (...e) => e.reduce(Fy);
|
|
5903
|
+
function Fc(e) {
|
|
5904
5904
|
let t = null;
|
|
5905
5905
|
return () => {
|
|
5906
5906
|
const n = () => {
|
|
@@ -5909,8 +5909,8 @@ function Vc(e) {
|
|
|
5909
5909
|
return t === null ? (t = e, n) : !1;
|
|
5910
5910
|
};
|
|
5911
5911
|
}
|
|
5912
|
-
const va =
|
|
5913
|
-
function
|
|
5912
|
+
const va = Fc("dragHorizontal"), xa = Fc("dragVertical");
|
|
5913
|
+
function Vc(e) {
|
|
5914
5914
|
let t = !1;
|
|
5915
5915
|
if (e === "y")
|
|
5916
5916
|
t = xa();
|
|
@@ -5924,8 +5924,8 @@ function Lc(e) {
|
|
|
5924
5924
|
}
|
|
5925
5925
|
return t;
|
|
5926
5926
|
}
|
|
5927
|
-
function
|
|
5928
|
-
const e =
|
|
5927
|
+
function Lc() {
|
|
5928
|
+
const e = Vc(!0);
|
|
5929
5929
|
return e ? (e(), !1) : !0;
|
|
5930
5930
|
}
|
|
5931
5931
|
class lt {
|
|
@@ -5937,7 +5937,7 @@ class lt {
|
|
|
5937
5937
|
}
|
|
5938
5938
|
function ba(e, t) {
|
|
5939
5939
|
const n = "pointer" + (t ? "enter" : "leave"), r = "onHover" + (t ? "Start" : "End"), i = (o, s) => {
|
|
5940
|
-
if (o.pointerType === "touch" ||
|
|
5940
|
+
if (o.pointerType === "touch" || Lc())
|
|
5941
5941
|
return;
|
|
5942
5942
|
const a = e.getProps();
|
|
5943
5943
|
e.animationState && a.whileHover && e.animationState.setActive("whileHover", t), a[r] && $.update(() => a[r](o, s));
|
|
@@ -5946,14 +5946,14 @@ function ba(e, t) {
|
|
|
5946
5946
|
passive: !e.getProps()[r]
|
|
5947
5947
|
});
|
|
5948
5948
|
}
|
|
5949
|
-
class
|
|
5949
|
+
class Vy extends lt {
|
|
5950
5950
|
mount() {
|
|
5951
5951
|
this.unmount = it(ba(this.node, !0), ba(this.node, !1));
|
|
5952
5952
|
}
|
|
5953
5953
|
unmount() {
|
|
5954
5954
|
}
|
|
5955
5955
|
}
|
|
5956
|
-
class
|
|
5956
|
+
class Ly extends lt {
|
|
5957
5957
|
constructor() {
|
|
5958
5958
|
super(...arguments), this.isActive = !1;
|
|
5959
5959
|
}
|
|
@@ -5970,7 +5970,7 @@ class Fy extends lt {
|
|
|
5970
5970
|
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
|
|
5971
5971
|
}
|
|
5972
5972
|
mount() {
|
|
5973
|
-
this.unmount = it(
|
|
5973
|
+
this.unmount = it(Be(this.node.current, "focus", () => this.onFocus()), Be(this.node.current, "blur", () => this.onBlur()));
|
|
5974
5974
|
}
|
|
5975
5975
|
unmount() {
|
|
5976
5976
|
}
|
|
@@ -6007,12 +6007,12 @@ class Dy extends lt {
|
|
|
6007
6007
|
f && $.update(() => f(l, u));
|
|
6008
6008
|
});
|
|
6009
6009
|
};
|
|
6010
|
-
this.removeEndListeners(), this.removeEndListeners =
|
|
6010
|
+
this.removeEndListeners(), this.removeEndListeners = Be(this.node.current, "keyup", s), ui("down", (a, l) => {
|
|
6011
6011
|
this.startPress(a, l);
|
|
6012
6012
|
});
|
|
6013
|
-
}, n =
|
|
6013
|
+
}, n = Be(this.node.current, "keydown", t), r = () => {
|
|
6014
6014
|
this.isPressing && ui("cancel", (o, s) => this.cancelPress(o, s));
|
|
6015
|
-
}, i =
|
|
6015
|
+
}, i = Be(this.node.current, "blur", r);
|
|
6016
6016
|
this.removeAccessibleListeners = it(n, i);
|
|
6017
6017
|
};
|
|
6018
6018
|
}
|
|
@@ -6022,7 +6022,7 @@ class Dy extends lt {
|
|
|
6022
6022
|
i && this.node.animationState && this.node.animationState.setActive("whileTap", !0), r && $.update(() => r(t, n));
|
|
6023
6023
|
}
|
|
6024
6024
|
checkPressEnd() {
|
|
6025
|
-
return this.removeEndListeners(), this.isPressing = !1, this.node.getProps().whileTap && this.node.animationState && this.node.animationState.setActive("whileTap", !1), !
|
|
6025
|
+
return this.removeEndListeners(), this.isPressing = !1, this.node.getProps().whileTap && this.node.animationState && this.node.animationState.setActive("whileTap", !1), !Lc();
|
|
6026
6026
|
}
|
|
6027
6027
|
cancelPress(t, n) {
|
|
6028
6028
|
if (!this.checkPressEnd())
|
|
@@ -6031,7 +6031,7 @@ class Dy extends lt {
|
|
|
6031
6031
|
r && $.update(() => r(t, n));
|
|
6032
6032
|
}
|
|
6033
6033
|
mount() {
|
|
6034
|
-
const t = this.node.getProps(), n = $e(t.globalTapTarget ? window : this.node.current, "pointerdown", this.startPointerPress, { passive: !(t.onTapStart || t.onPointerStart) }), r =
|
|
6034
|
+
const t = this.node.getProps(), n = $e(t.globalTapTarget ? window : this.node.current, "pointerdown", this.startPointerPress, { passive: !(t.onTapStart || t.onPointerStart) }), r = Be(this.node.current, "focus", this.startAccessiblePress);
|
|
6035
6035
|
this.removeStartListeners = it(n, r);
|
|
6036
6036
|
}
|
|
6037
6037
|
unmount() {
|
|
@@ -6044,14 +6044,14 @@ const Ui = /* @__PURE__ */ new WeakMap(), ci = /* @__PURE__ */ new WeakMap(), jy
|
|
|
6044
6044
|
}, Iy = (e) => {
|
|
6045
6045
|
e.forEach(jy);
|
|
6046
6046
|
};
|
|
6047
|
-
function
|
|
6047
|
+
function By({ root: e, ...t }) {
|
|
6048
6048
|
const n = e || document;
|
|
6049
6049
|
ci.has(n) || ci.set(n, {});
|
|
6050
6050
|
const r = ci.get(n), i = JSON.stringify(t);
|
|
6051
6051
|
return r[i] || (r[i] = new IntersectionObserver(Iy, { root: e, ...t })), r[i];
|
|
6052
6052
|
}
|
|
6053
|
-
function
|
|
6054
|
-
const r =
|
|
6053
|
+
function Ny(e, t, n) {
|
|
6054
|
+
const r = By(t);
|
|
6055
6055
|
return Ui.set(e, n), r.observe(e), () => {
|
|
6056
6056
|
Ui.delete(e), r.unobserve(e);
|
|
6057
6057
|
};
|
|
@@ -6078,7 +6078,7 @@ class zy extends lt {
|
|
|
6078
6078
|
const { onViewportEnter: f, onViewportLeave: c } = this.node.getProps(), d = u ? f : c;
|
|
6079
6079
|
d && d(l);
|
|
6080
6080
|
};
|
|
6081
|
-
return
|
|
6081
|
+
return Ny(this.node.current, s, a);
|
|
6082
6082
|
}
|
|
6083
6083
|
mount() {
|
|
6084
6084
|
this.startObserver();
|
|
@@ -6103,10 +6103,10 @@ const Wy = {
|
|
|
6103
6103
|
Feature: Dy
|
|
6104
6104
|
},
|
|
6105
6105
|
focus: {
|
|
6106
|
-
Feature:
|
|
6106
|
+
Feature: Ly
|
|
6107
6107
|
},
|
|
6108
6108
|
hover: {
|
|
6109
|
-
Feature:
|
|
6109
|
+
Feature: Vy
|
|
6110
6110
|
}
|
|
6111
6111
|
};
|
|
6112
6112
|
function jc(e, t) {
|
|
@@ -6128,18 +6128,18 @@ function qy(e) {
|
|
|
6128
6128
|
const t = {};
|
|
6129
6129
|
return e.values.forEach((n, r) => t[r] = n.getVelocity()), t;
|
|
6130
6130
|
}
|
|
6131
|
-
function
|
|
6131
|
+
function Br(e, t, n) {
|
|
6132
6132
|
const r = e.getProps();
|
|
6133
|
-
return
|
|
6133
|
+
return Bo(r, t, n !== void 0 ? n : r.custom, Hy(e), qy(e));
|
|
6134
6134
|
}
|
|
6135
|
-
let Gy = H,
|
|
6135
|
+
let Gy = H, No = H;
|
|
6136
6136
|
const ot = (e) => e * 1e3, ze = (e) => e / 1e3, Xy = {
|
|
6137
6137
|
current: !1
|
|
6138
6138
|
}, Ic = (e) => Array.isArray(e) && typeof e[0] == "number";
|
|
6139
|
-
function
|
|
6140
|
-
return !!(!e || typeof e == "string" &&
|
|
6139
|
+
function Bc(e) {
|
|
6140
|
+
return !!(!e || typeof e == "string" && Nc[e] || Ic(e) || Array.isArray(e) && e.every(Bc));
|
|
6141
6141
|
}
|
|
6142
|
-
const Zt = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`,
|
|
6142
|
+
const Zt = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Nc = {
|
|
6143
6143
|
linear: "linear",
|
|
6144
6144
|
ease: "ease",
|
|
6145
6145
|
easeIn: "ease-in",
|
|
@@ -6152,7 +6152,7 @@ const Zt = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Bc = {
|
|
|
6152
6152
|
};
|
|
6153
6153
|
function $c(e) {
|
|
6154
6154
|
if (e)
|
|
6155
|
-
return Ic(e) ? Zt(e) : Array.isArray(e) ? e.map($c) :
|
|
6155
|
+
return Ic(e) ? Zt(e) : Array.isArray(e) ? e.map($c) : Nc[e];
|
|
6156
6156
|
}
|
|
6157
6157
|
function Ky(e, t, n, { delay: r = 0, duration: i, repeat: o = 0, repeatType: s = "loop", ease: a, times: l } = {}) {
|
|
6158
6158
|
const u = { [t]: n };
|
|
@@ -6199,7 +6199,7 @@ const e0 = En(0.42, 0, 1, 1), t0 = En(0, 0, 0.58, 1), Uc = En(0.42, 0, 0.58, 1),
|
|
|
6199
6199
|
anticipate: o0
|
|
6200
6200
|
}, wa = (e) => {
|
|
6201
6201
|
if (Array.isArray(e)) {
|
|
6202
|
-
|
|
6202
|
+
No(e.length === 4);
|
|
6203
6203
|
const [t, n, r, i] = e;
|
|
6204
6204
|
return En(t, n, r, i);
|
|
6205
6205
|
} else if (typeof e == "string")
|
|
@@ -6236,14 +6236,14 @@ const Wi = {
|
|
|
6236
6236
|
test: Uo("#"),
|
|
6237
6237
|
parse: l0,
|
|
6238
6238
|
transform: xt.transform
|
|
6239
|
-
},
|
|
6239
|
+
}, Ft = {
|
|
6240
6240
|
test: Uo("hsl", "hue"),
|
|
6241
6241
|
parse: Xc("hue", "saturation", "lightness"),
|
|
6242
|
-
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " +
|
|
6242
|
+
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Ve.transform(on(t)) + ", " + Ve.transform(on(n)) + ", " + on(rn.transform(r)) + ")"
|
|
6243
6243
|
}, oe = {
|
|
6244
|
-
test: (e) => xt.test(e) || Wi.test(e) ||
|
|
6245
|
-
parse: (e) => xt.test(e) ? xt.parse(e) :
|
|
6246
|
-
transform: (e) => wn(e) ? e : e.hasOwnProperty("red") ? xt.transform(e) :
|
|
6244
|
+
test: (e) => xt.test(e) || Wi.test(e) || Ft.test(e),
|
|
6245
|
+
parse: (e) => xt.test(e) ? xt.parse(e) : Ft.test(e) ? Ft.parse(e) : Wi.parse(e),
|
|
6246
|
+
transform: (e) => wn(e) ? e : e.hasOwnProperty("red") ? xt.transform(e) : Ft.transform(e)
|
|
6247
6247
|
}, W = (e, t, n) => -n * e + n * t + e;
|
|
6248
6248
|
function di(e, t, n) {
|
|
6249
6249
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
|
|
@@ -6267,11 +6267,11 @@ function u0({ hue: e, saturation: t, lightness: n, alpha: r }) {
|
|
|
6267
6267
|
const hi = (e, t, n) => {
|
|
6268
6268
|
const r = e * e;
|
|
6269
6269
|
return Math.sqrt(Math.max(0, n * (t * t - r) + r));
|
|
6270
|
-
}, c0 = [Wi, xt,
|
|
6270
|
+
}, c0 = [Wi, xt, Ft], f0 = (e) => c0.find((t) => t.test(e));
|
|
6271
6271
|
function Sa(e) {
|
|
6272
6272
|
const t = f0(e);
|
|
6273
6273
|
let n = t.parse(e);
|
|
6274
|
-
return t ===
|
|
6274
|
+
return t === Ft && (n = u0(n)), n;
|
|
6275
6275
|
}
|
|
6276
6276
|
const Kc = (e, t) => {
|
|
6277
6277
|
const n = Sa(e), r = Sa(t), i = { ...n };
|
|
@@ -6378,7 +6378,7 @@ function y0(e, t, n) {
|
|
|
6378
6378
|
}
|
|
6379
6379
|
function sf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
|
|
6380
6380
|
const o = e.length;
|
|
6381
|
-
if (
|
|
6381
|
+
if (No(o === t.length), o === 1)
|
|
6382
6382
|
return () => t[0];
|
|
6383
6383
|
e[0] > e[o - 1] && (e = [...e].reverse(), t = [...t].reverse());
|
|
6384
6384
|
const s = y0(t, r, i), a = s.length, l = (u) => {
|
|
@@ -6451,7 +6451,7 @@ function T0({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1
|
|
|
6451
6451
|
const f = Math.exp(-u * e), c = (n - u) * (e * e);
|
|
6452
6452
|
return f * c;
|
|
6453
6453
|
});
|
|
6454
|
-
const a = 5 / e, l =
|
|
6454
|
+
const a = 5 / e, l = A0(i, o, a);
|
|
6455
6455
|
if (e = ot(e), isNaN(l))
|
|
6456
6456
|
return {
|
|
6457
6457
|
stiffness: 100,
|
|
@@ -6468,7 +6468,7 @@ function T0({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1
|
|
|
6468
6468
|
}
|
|
6469
6469
|
}
|
|
6470
6470
|
const P0 = 12;
|
|
6471
|
-
function
|
|
6471
|
+
function A0(e, t, n) {
|
|
6472
6472
|
let r = n;
|
|
6473
6473
|
for (let i = 1; i < P0; i++)
|
|
6474
6474
|
r = r - e(r) / t(r);
|
|
@@ -6477,7 +6477,7 @@ function R0(e, t, n) {
|
|
|
6477
6477
|
function Hi(e, t) {
|
|
6478
6478
|
return e * Math.sqrt(1 - t * t);
|
|
6479
6479
|
}
|
|
6480
|
-
const
|
|
6480
|
+
const R0 = ["duration", "bounce"], O0 = ["stiffness", "damping", "mass"];
|
|
6481
6481
|
function ka(e, t) {
|
|
6482
6482
|
return t.some((n) => e[n] !== void 0);
|
|
6483
6483
|
}
|
|
@@ -6490,7 +6490,7 @@ function _0(e) {
|
|
|
6490
6490
|
isResolvedFromDuration: !1,
|
|
6491
6491
|
...e
|
|
6492
6492
|
};
|
|
6493
|
-
if (!ka(e, O0) && ka(e,
|
|
6493
|
+
if (!ka(e, O0) && ka(e, R0)) {
|
|
6494
6494
|
const n = T0(e);
|
|
6495
6495
|
t = {
|
|
6496
6496
|
...t,
|
|
@@ -6581,7 +6581,7 @@ const M0 = (e) => {
|
|
|
6581
6581
|
now: () => ie.isProcessing ? ie.timestamp : performance.now()
|
|
6582
6582
|
};
|
|
6583
6583
|
}, Pa = 2e4;
|
|
6584
|
-
function
|
|
6584
|
+
function Aa(e) {
|
|
6585
6585
|
let t = 0;
|
|
6586
6586
|
const n = 50;
|
|
6587
6587
|
let r = e.next(t);
|
|
@@ -6589,7 +6589,7 @@ function Ra(e) {
|
|
|
6589
6589
|
t += n, r = e.next(t);
|
|
6590
6590
|
return t >= Pa ? 1 / 0 : t;
|
|
6591
6591
|
}
|
|
6592
|
-
const
|
|
6592
|
+
const F0 = {
|
|
6593
6593
|
decay: Ta,
|
|
6594
6594
|
inertia: Ta,
|
|
6595
6595
|
tween: gr,
|
|
@@ -6605,7 +6605,7 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6605
6605
|
};
|
|
6606
6606
|
y();
|
|
6607
6607
|
let b;
|
|
6608
|
-
const v =
|
|
6608
|
+
const v = F0[i] || gr;
|
|
6609
6609
|
let S;
|
|
6610
6610
|
v !== gr && typeof r[0] != "number" && (S = sf([0, 100], r, {
|
|
6611
6611
|
clamp: !1
|
|
@@ -6618,7 +6618,7 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6618
6618
|
velocity: -(d.velocity || 0)
|
|
6619
6619
|
}));
|
|
6620
6620
|
let T = "idle", P = null, M = null, q = null;
|
|
6621
|
-
E.calculatedDuration === null && o && (E.calculatedDuration =
|
|
6621
|
+
E.calculatedDuration === null && o && (E.calculatedDuration = Aa(E));
|
|
6622
6622
|
const { calculatedDuration: U } = E;
|
|
6623
6623
|
let z = 1 / 0, G = 1 / 0;
|
|
6624
6624
|
U !== null && (z = U + s, G = z * (o + 1) - s);
|
|
@@ -6666,7 +6666,7 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6666
6666
|
I = ot(I), K = I, P !== null || !b || h === 0 ? P = I : M = b.now() - I / h;
|
|
6667
6667
|
},
|
|
6668
6668
|
get duration() {
|
|
6669
|
-
const I = E.calculatedDuration === null ?
|
|
6669
|
+
const I = E.calculatedDuration === null ? Aa(E) : E.calculatedDuration;
|
|
6670
6670
|
return ze(I);
|
|
6671
6671
|
},
|
|
6672
6672
|
get speed() {
|
|
@@ -6695,19 +6695,19 @@ function yr({ autoplay: e = !0, delay: t = 0, driver: n = M0, keyframes: r, type
|
|
|
6695
6695
|
};
|
|
6696
6696
|
return Et;
|
|
6697
6697
|
}
|
|
6698
|
-
function
|
|
6698
|
+
function V0(e) {
|
|
6699
6699
|
let t;
|
|
6700
6700
|
return () => (t === void 0 && (t = e()), t);
|
|
6701
6701
|
}
|
|
6702
|
-
const
|
|
6702
|
+
const L0 = V0(() => Object.hasOwnProperty.call(Element.prototype, "animate")), D0 = /* @__PURE__ */ new Set([
|
|
6703
6703
|
"opacity",
|
|
6704
6704
|
"clipPath",
|
|
6705
6705
|
"filter",
|
|
6706
6706
|
"transform",
|
|
6707
6707
|
"backgroundColor"
|
|
6708
|
-
]),
|
|
6709
|
-
function
|
|
6710
|
-
if (!(
|
|
6708
|
+
]), Fn = 10, j0 = 2e4, I0 = (e, t) => t.type === "spring" || e === "backgroundColor" || !Bc(t.ease);
|
|
6709
|
+
function B0(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
6710
|
+
if (!(L0() && D0.has(t) && !i.repeatDelay && i.repeatType !== "mirror" && i.damping !== 0 && i.type !== "inertia"))
|
|
6711
6711
|
return !1;
|
|
6712
6712
|
let s = !1, a, l, u = !1;
|
|
6713
6713
|
const f = () => {
|
|
@@ -6727,8 +6727,8 @@ function N0(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
|
6727
6727
|
const E = [];
|
|
6728
6728
|
let k = 0;
|
|
6729
6729
|
for (; !S.done && k < j0; )
|
|
6730
|
-
S = v.sample(k), E.push(S.value), k +=
|
|
6731
|
-
p = void 0, c = E, d = k -
|
|
6730
|
+
S = v.sample(k), E.push(S.value), k += Fn;
|
|
6731
|
+
p = void 0, c = E, d = k - Fn, h = "linear";
|
|
6732
6732
|
}
|
|
6733
6733
|
const m = Ky(e.owner.current, t, c, {
|
|
6734
6734
|
...i,
|
|
@@ -6785,7 +6785,7 @@ function N0(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
|
6785
6785
|
...i,
|
|
6786
6786
|
autoplay: !1
|
|
6787
6787
|
});
|
|
6788
|
-
e.setWithVelocity(S.sample(v -
|
|
6788
|
+
e.setWithVelocity(S.sample(v - Fn).value, S.sample(v).value, Fn);
|
|
6789
6789
|
}
|
|
6790
6790
|
y();
|
|
6791
6791
|
},
|
|
@@ -6795,7 +6795,7 @@ function N0(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
|
6795
6795
|
cancel: y
|
|
6796
6796
|
};
|
|
6797
6797
|
}
|
|
6798
|
-
function
|
|
6798
|
+
function N0({ keyframes: e, delay: t, onUpdate: n, onComplete: r }) {
|
|
6799
6799
|
const i = () => (n && n(e[e.length - 1]), r && r(), {
|
|
6800
6800
|
time: 0,
|
|
6801
6801
|
speed: 1,
|
|
@@ -6925,7 +6925,7 @@ const Q0 = {
|
|
|
6925
6925
|
...h,
|
|
6926
6926
|
...H0(e, h)
|
|
6927
6927
|
}), h.duration && (h.duration = ot(h.duration)), h.repeatDelay && (h.repeatDelay = ot(h.repeatDelay)), !c || !d || Xy.current || o.type === !1 || Q0.skipAnimations)
|
|
6928
|
-
return
|
|
6928
|
+
return N0(h);
|
|
6929
6929
|
if (
|
|
6930
6930
|
/**
|
|
6931
6931
|
* If this is a handoff animation, the optimised animation will be running via
|
|
@@ -6938,7 +6938,7 @@ const Q0 = {
|
|
|
6938
6938
|
*/
|
|
6939
6939
|
!t.owner.getProps().onUpdate
|
|
6940
6940
|
) {
|
|
6941
|
-
const p =
|
|
6941
|
+
const p = B0(t, e, h);
|
|
6942
6942
|
if (p)
|
|
6943
6943
|
return p;
|
|
6944
6944
|
}
|
|
@@ -7177,12 +7177,12 @@ function jt(e, t) {
|
|
|
7177
7177
|
const hf = (e) => (t) => t.test(e), nv = {
|
|
7178
7178
|
test: (e) => e === "auto",
|
|
7179
7179
|
parse: (e) => e
|
|
7180
|
-
}, pf = [St, O,
|
|
7180
|
+
}, pf = [St, O, Ve, Qe, ly, ay, nv], qt = (e) => pf.find(hf(e)), rv = [...pf, oe, at], iv = (e) => rv.find(hf(e));
|
|
7181
7181
|
function ov(e, t, n) {
|
|
7182
7182
|
e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, jt(n));
|
|
7183
7183
|
}
|
|
7184
7184
|
function sv(e, t) {
|
|
7185
|
-
const n =
|
|
7185
|
+
const n = Br(e, t);
|
|
7186
7186
|
let { transitionEnd: r = {}, transition: i = {}, ...o } = n ? e.makeTargetAnimatable(n, !1) : {};
|
|
7187
7187
|
o = { ...o, ...r };
|
|
7188
7188
|
for (const s in o) {
|
|
@@ -7262,7 +7262,7 @@ function mf(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
7262
7262
|
}), u;
|
|
7263
7263
|
}
|
|
7264
7264
|
function Xi(e, t, n = {}) {
|
|
7265
|
-
const r =
|
|
7265
|
+
const r = Br(e, t, n.custom);
|
|
7266
7266
|
let { transition: i = e.getDefaultTransition() || {} } = r || {};
|
|
7267
7267
|
n.transitionOverride && (i = n.transitionOverride);
|
|
7268
7268
|
const o = r ? () => Promise.all(mf(e, r, n)) : () => Promise.resolve(), s = e.variantChildren && e.variantChildren.size ? (l = 0) => {
|
|
@@ -7296,7 +7296,7 @@ function pv(e, t, n = {}) {
|
|
|
7296
7296
|
} else if (typeof t == "string")
|
|
7297
7297
|
r = Xi(e, t, n);
|
|
7298
7298
|
else {
|
|
7299
|
-
const i = typeof t == "function" ?
|
|
7299
|
+
const i = typeof t == "function" ? Br(e, t, n.custom) : t;
|
|
7300
7300
|
r = Promise.all(mf(e, i, n));
|
|
7301
7301
|
}
|
|
7302
7302
|
return r.then(() => e.notify("AnimationComplete", t));
|
|
@@ -7310,7 +7310,7 @@ function vv(e) {
|
|
|
7310
7310
|
const n = bv();
|
|
7311
7311
|
let r = !0;
|
|
7312
7312
|
const i = (l, u) => {
|
|
7313
|
-
const f =
|
|
7313
|
+
const f = Br(e, u);
|
|
7314
7314
|
if (f) {
|
|
7315
7315
|
const { transition: c, transitionEnd: d, ...h } = f;
|
|
7316
7316
|
l = { ...l, ...h, ...d };
|
|
@@ -7330,7 +7330,7 @@ function vv(e) {
|
|
|
7330
7330
|
if (T && r && e.manuallyAnimateOnMount && (T = !1), v.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
|
|
7331
7331
|
!v.isActive && k === null || // If we didn't and don't have any defined prop for this animation type
|
|
7332
7332
|
!S && !v.prevProp || // Or if the prop doesn't define an animation
|
|
7333
|
-
|
|
7333
|
+
Lr(S) || typeof S == "boolean")
|
|
7334
7334
|
continue;
|
|
7335
7335
|
let M = xv(v.prevProp, S) || // If we're making this variant active, we want to always make it active
|
|
7336
7336
|
b === u && v.isActive && !T && E || // If we removed a higher-priority variant (i is in reverse order)
|
|
@@ -7419,7 +7419,7 @@ class wv extends lt {
|
|
|
7419
7419
|
}
|
|
7420
7420
|
updateAnimationControlsSubscription() {
|
|
7421
7421
|
const { animate: t } = this.node.getProps();
|
|
7422
|
-
this.unmount(),
|
|
7422
|
+
this.unmount(), Lr(t) && (this.unmount = t.subscribe(this.node));
|
|
7423
7423
|
}
|
|
7424
7424
|
/**
|
|
7425
7425
|
* Subscribe any provided AnimationControls to the component's VisualElement
|
|
@@ -7462,9 +7462,9 @@ const Cv = {
|
|
|
7462
7462
|
exit: {
|
|
7463
7463
|
Feature: Ev
|
|
7464
7464
|
}
|
|
7465
|
-
},
|
|
7465
|
+
}, Ra = (e, t) => Math.abs(e - t);
|
|
7466
7466
|
function kv(e, t) {
|
|
7467
|
-
const n =
|
|
7467
|
+
const n = Ra(e.x, t.x), r = Ra(e.y, t.y);
|
|
7468
7468
|
return Math.sqrt(n ** 2 + r ** 2);
|
|
7469
7469
|
}
|
|
7470
7470
|
class gf {
|
|
@@ -7556,19 +7556,19 @@ function sn(e, t, n, r) {
|
|
|
7556
7556
|
function Ma(e, t, n) {
|
|
7557
7557
|
e.min = n.min + t.min, e.max = e.min + be(t);
|
|
7558
7558
|
}
|
|
7559
|
-
function
|
|
7559
|
+
function Av(e, t, n) {
|
|
7560
7560
|
Ma(e.x, t.x, n.x), Ma(e.y, t.y, n.y);
|
|
7561
7561
|
}
|
|
7562
|
-
function
|
|
7562
|
+
function Fa(e, t, n) {
|
|
7563
7563
|
e.min = t.min - n.min, e.max = e.min + be(t);
|
|
7564
7564
|
}
|
|
7565
7565
|
function an(e, t, n) {
|
|
7566
|
-
|
|
7566
|
+
Fa(e.x, t.x, n.x), Fa(e.y, t.y, n.y);
|
|
7567
7567
|
}
|
|
7568
|
-
function
|
|
7568
|
+
function Rv(e, { min: t, max: n }, r) {
|
|
7569
7569
|
return t !== void 0 && e < t ? e = r ? W(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? W(n, e, r.max) : Math.min(e, n)), e;
|
|
7570
7570
|
}
|
|
7571
|
-
function
|
|
7571
|
+
function Va(e, t, n) {
|
|
7572
7572
|
return {
|
|
7573
7573
|
min: t !== void 0 ? e.min + t : void 0,
|
|
7574
7574
|
max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
|
|
@@ -7576,18 +7576,18 @@ function La(e, t, n) {
|
|
|
7576
7576
|
}
|
|
7577
7577
|
function Ov(e, { top: t, left: n, bottom: r, right: i }) {
|
|
7578
7578
|
return {
|
|
7579
|
-
x:
|
|
7580
|
-
y:
|
|
7579
|
+
x: Va(e.x, n, i),
|
|
7580
|
+
y: Va(e.y, t, r)
|
|
7581
7581
|
};
|
|
7582
7582
|
}
|
|
7583
|
-
function
|
|
7583
|
+
function La(e, t) {
|
|
7584
7584
|
let n = t.min - e.min, r = t.max - e.max;
|
|
7585
7585
|
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r };
|
|
7586
7586
|
}
|
|
7587
7587
|
function _v(e, t) {
|
|
7588
7588
|
return {
|
|
7589
|
-
x:
|
|
7590
|
-
y:
|
|
7589
|
+
x: La(e.x, t.x),
|
|
7590
|
+
y: La(e.y, t.y)
|
|
7591
7591
|
};
|
|
7592
7592
|
}
|
|
7593
7593
|
function Mv(e, t) {
|
|
@@ -7595,12 +7595,12 @@ function Mv(e, t) {
|
|
|
7595
7595
|
const r = be(e), i = be(t);
|
|
7596
7596
|
return i > r ? n = mn(t.min, t.max - r, e.min) : r > i && (n = mn(e.min, e.max - i, t.min)), st(0, 1, n);
|
|
7597
7597
|
}
|
|
7598
|
-
function
|
|
7598
|
+
function Fv(e, t) {
|
|
7599
7599
|
const n = {};
|
|
7600
7600
|
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
|
|
7601
7601
|
}
|
|
7602
7602
|
const Yi = 0.35;
|
|
7603
|
-
function
|
|
7603
|
+
function Vv(e = Yi) {
|
|
7604
7604
|
return e === !1 ? e = 0 : e === !0 && (e = Yi), {
|
|
7605
7605
|
x: Da(e, "left", "right"),
|
|
7606
7606
|
y: Da(e, "top", "bottom")
|
|
@@ -7620,12 +7620,12 @@ const Ia = () => ({
|
|
|
7620
7620
|
scale: 1,
|
|
7621
7621
|
origin: 0,
|
|
7622
7622
|
originPoint: 0
|
|
7623
|
-
}),
|
|
7623
|
+
}), Vt = () => ({
|
|
7624
7624
|
x: Ia(),
|
|
7625
7625
|
y: Ia()
|
|
7626
|
-
}),
|
|
7627
|
-
x:
|
|
7628
|
-
y:
|
|
7626
|
+
}), Ba = () => ({ min: 0, max: 0 }), J = () => ({
|
|
7627
|
+
x: Ba(),
|
|
7628
|
+
y: Ba()
|
|
7629
7629
|
});
|
|
7630
7630
|
function Se(e) {
|
|
7631
7631
|
return [e("x"), e("y")];
|
|
@@ -7636,7 +7636,7 @@ function vf({ top: e, left: t, right: n, bottom: r }) {
|
|
|
7636
7636
|
y: { min: e, max: r }
|
|
7637
7637
|
};
|
|
7638
7638
|
}
|
|
7639
|
-
function
|
|
7639
|
+
function Lv({ x: e, y: t }) {
|
|
7640
7640
|
return { top: t.min, right: e.max, bottom: t.max, left: e.min };
|
|
7641
7641
|
}
|
|
7642
7642
|
function Dv(e, t) {
|
|
@@ -7660,9 +7660,9 @@ function dt(e) {
|
|
|
7660
7660
|
return Ji(e) || xf(e) || e.z || e.rotate || e.rotateX || e.rotateY;
|
|
7661
7661
|
}
|
|
7662
7662
|
function xf(e) {
|
|
7663
|
-
return
|
|
7663
|
+
return Na(e.x) || Na(e.y);
|
|
7664
7664
|
}
|
|
7665
|
-
function
|
|
7665
|
+
function Na(e) {
|
|
7666
7666
|
return e && e !== "0%";
|
|
7667
7667
|
}
|
|
7668
7668
|
function xr(e, t, n) {
|
|
@@ -7687,10 +7687,10 @@ function jv(e, t, n, r = !1) {
|
|
|
7687
7687
|
for (let a = 0; a < i; a++) {
|
|
7688
7688
|
o = n[a], s = o.projectionDelta;
|
|
7689
7689
|
const l = o.instance;
|
|
7690
|
-
l && l.style && l.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root &&
|
|
7690
|
+
l && l.style && l.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root && Lt(e, {
|
|
7691
7691
|
x: -o.scroll.offset.x,
|
|
7692
7692
|
y: -o.scroll.offset.y
|
|
7693
|
-
}), s && (t.x *= s.x.scale, t.y *= s.y.scale, bf(e, s)), r && dt(o.latestValues) &&
|
|
7693
|
+
}), s && (t.x *= s.x.scale, t.y *= s.y.scale, bf(e, s)), r && dt(o.latestValues) && Lt(e, o.latestValues));
|
|
7694
7694
|
}
|
|
7695
7695
|
t.x = za(t.x), t.y = za(t.y);
|
|
7696
7696
|
}
|
|
@@ -7704,14 +7704,14 @@ function Ua(e, t, [n, r, i]) {
|
|
|
7704
7704
|
const o = t[i] !== void 0 ? t[i] : 0.5, s = W(e.min, e.max, o);
|
|
7705
7705
|
Zi(e, t[n], t[r], s, t.scale);
|
|
7706
7706
|
}
|
|
7707
|
-
const Iv = ["x", "scaleX", "originX"],
|
|
7708
|
-
function
|
|
7709
|
-
Ua(e.x, t, Iv), Ua(e.y, t,
|
|
7707
|
+
const Iv = ["x", "scaleX", "originX"], Bv = ["y", "scaleY", "originY"];
|
|
7708
|
+
function Lt(e, t) {
|
|
7709
|
+
Ua(e.x, t, Iv), Ua(e.y, t, Bv);
|
|
7710
7710
|
}
|
|
7711
7711
|
function wf(e, t) {
|
|
7712
7712
|
return vf(Dv(e.getBoundingClientRect(), t));
|
|
7713
7713
|
}
|
|
7714
|
-
function
|
|
7714
|
+
function Nv(e, t, n) {
|
|
7715
7715
|
const r = wf(e, n), { scroll: i } = t;
|
|
7716
7716
|
return i && (et(r.x, i.offset.x), et(r.y, i.offset.y)), r;
|
|
7717
7717
|
}
|
|
@@ -7729,11 +7729,11 @@ class zv {
|
|
|
7729
7729
|
c ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(Ir(f, "page").point);
|
|
7730
7730
|
}, o = (f, c) => {
|
|
7731
7731
|
const { drag: d, dragPropagation: h, onDragStart: p } = this.getProps();
|
|
7732
|
-
if (d && !h && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock =
|
|
7732
|
+
if (d && !h && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = Vc(d), !this.openGlobalLock))
|
|
7733
7733
|
return;
|
|
7734
7734
|
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Se((g) => {
|
|
7735
7735
|
let y = this.getAxisMotionValue(g).get() || 0;
|
|
7736
|
-
if (
|
|
7736
|
+
if (Ve.test(y)) {
|
|
7737
7737
|
const { projection: b } = this.visualElement;
|
|
7738
7738
|
if (b && b.layout) {
|
|
7739
7739
|
const v = b.layout.layoutBox[g];
|
|
@@ -7788,17 +7788,17 @@ class zv {
|
|
|
7788
7788
|
}
|
|
7789
7789
|
updateAxis(t, n, r) {
|
|
7790
7790
|
const { drag: i } = this.getProps();
|
|
7791
|
-
if (!r || !
|
|
7791
|
+
if (!r || !Vn(t, i, this.currentDirection))
|
|
7792
7792
|
return;
|
|
7793
7793
|
const o = this.getAxisMotionValue(t);
|
|
7794
7794
|
let s = this.originPoint[t] + r[t];
|
|
7795
|
-
this.constraints && this.constraints[t] && (s =
|
|
7795
|
+
this.constraints && this.constraints[t] && (s = Rv(s, this.constraints[t], this.elastic[t])), o.set(s);
|
|
7796
7796
|
}
|
|
7797
7797
|
resolveConstraints() {
|
|
7798
7798
|
var t;
|
|
7799
7799
|
const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, o = this.constraints;
|
|
7800
|
-
n && Mt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = Ov(i.layoutBox, n) : this.constraints = !1, this.elastic =
|
|
7801
|
-
this.getAxisMotionValue(s) && (this.constraints[s] =
|
|
7800
|
+
n && Mt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = Ov(i.layoutBox, n) : this.constraints = !1, this.elastic = Vv(r), o !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && Se((s) => {
|
|
7801
|
+
this.getAxisMotionValue(s) && (this.constraints[s] = Fv(i.layoutBox[s], this.constraints[s]));
|
|
7802
7802
|
});
|
|
7803
7803
|
}
|
|
7804
7804
|
resolveRefConstraints() {
|
|
@@ -7808,17 +7808,17 @@ class zv {
|
|
|
7808
7808
|
const r = t.current, { projection: i } = this.visualElement;
|
|
7809
7809
|
if (!i || !i.layout)
|
|
7810
7810
|
return !1;
|
|
7811
|
-
const o =
|
|
7811
|
+
const o = Nv(r, i.root, this.visualElement.getTransformPagePoint());
|
|
7812
7812
|
let s = _v(i.layout.layoutBox, o);
|
|
7813
7813
|
if (n) {
|
|
7814
|
-
const a = n(
|
|
7814
|
+
const a = n(Lv(s));
|
|
7815
7815
|
this.hasMutatedConstraints = !!a, a && (s = vf(a));
|
|
7816
7816
|
}
|
|
7817
7817
|
return s;
|
|
7818
7818
|
}
|
|
7819
7819
|
startAnimation(t) {
|
|
7820
7820
|
const { drag: n, dragMomentum: r, dragElastic: i, dragTransition: o, dragSnapToOrigin: s, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, u = Se((f) => {
|
|
7821
|
-
if (!
|
|
7821
|
+
if (!Vn(f, n, this.currentDirection))
|
|
7822
7822
|
return;
|
|
7823
7823
|
let c = l && l[f] || {};
|
|
7824
7824
|
s && (c = { min: 0, max: 0 });
|
|
@@ -7867,7 +7867,7 @@ class zv {
|
|
|
7867
7867
|
snapToCursor(t) {
|
|
7868
7868
|
Se((n) => {
|
|
7869
7869
|
const { drag: r } = this.getProps();
|
|
7870
|
-
if (!
|
|
7870
|
+
if (!Vn(n, r, this.currentDirection))
|
|
7871
7871
|
return;
|
|
7872
7872
|
const { projection: i } = this.visualElement, o = this.getAxisMotionValue(n);
|
|
7873
7873
|
if (i && i.layout) {
|
|
@@ -7898,7 +7898,7 @@ class zv {
|
|
|
7898
7898
|
});
|
|
7899
7899
|
const { transformTemplate: o } = this.visualElement.getProps();
|
|
7900
7900
|
this.visualElement.current.style.transform = o ? o({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.resolveConstraints(), Se((s) => {
|
|
7901
|
-
if (!
|
|
7901
|
+
if (!Vn(s, t, null))
|
|
7902
7902
|
return;
|
|
7903
7903
|
const a = this.getAxisMotionValue(s), { min: l, max: u } = this.constraints[s];
|
|
7904
7904
|
a.set(W(l, u, i[s]));
|
|
@@ -7916,7 +7916,7 @@ class zv {
|
|
|
7916
7916
|
Mt(l) && (this.constraints = this.resolveRefConstraints());
|
|
7917
7917
|
}, { projection: i } = this.visualElement, o = i.addEventListener("measure", r);
|
|
7918
7918
|
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), r();
|
|
7919
|
-
const s =
|
|
7919
|
+
const s = Be(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: u }) => {
|
|
7920
7920
|
this.isDragging && u && (Se((f) => {
|
|
7921
7921
|
const c = this.getAxisMotionValue(f);
|
|
7922
7922
|
c && (this.originPoint[f] += l[f].translate, c.set(c.get() + l[f].translate));
|
|
@@ -7939,7 +7939,7 @@ class zv {
|
|
|
7939
7939
|
};
|
|
7940
7940
|
}
|
|
7941
7941
|
}
|
|
7942
|
-
function
|
|
7942
|
+
function Vn(e, t, n) {
|
|
7943
7943
|
return (t === !0 || t === e) && (n === null || n === e);
|
|
7944
7944
|
}
|
|
7945
7945
|
function Uv(e, t = 10) {
|
|
@@ -7993,7 +7993,7 @@ class Hv extends lt {
|
|
|
7993
7993
|
}
|
|
7994
7994
|
}
|
|
7995
7995
|
function qv() {
|
|
7996
|
-
const e = x.useContext(
|
|
7996
|
+
const e = x.useContext(Ro);
|
|
7997
7997
|
if (e === null)
|
|
7998
7998
|
return [!0, null];
|
|
7999
7999
|
const { isPresent: t, onExitComplete: n, register: r } = e, i = x.useId();
|
|
@@ -8109,7 +8109,7 @@ function Jv(e, t, n, r, i, o) {
|
|
|
8109
8109
|
let l = Xa(t, a), u = Xa(n, a);
|
|
8110
8110
|
if (l === void 0 && u === void 0)
|
|
8111
8111
|
continue;
|
|
8112
|
-
l || (l = 0), u || (u = 0), l === 0 || u === 0 || Ga(l) === Ga(u) ? (e[a] = Math.max(W(qa(l), qa(u), r), 0), (
|
|
8112
|
+
l || (l = 0), u || (u = 0), l === 0 || u === 0 || Ga(l) === Ga(u) ? (e[a] = Math.max(W(qa(l), qa(u), r), 0), (Ve.test(u) || Ve.test(l)) && (e[a] += "%")) : e[a] = u;
|
|
8113
8113
|
}
|
|
8114
8114
|
(t.rotate || n.rotate) && (e.rotate = W(t.rotate || 0, n.rotate || 0, r));
|
|
8115
8115
|
}
|
|
@@ -8130,7 +8130,7 @@ function Ya(e, t, n, r, i) {
|
|
|
8130
8130
|
return e -= t, e = xr(e, 1 / n, r), i !== void 0 && (e = xr(e, 1 / i, r)), e;
|
|
8131
8131
|
}
|
|
8132
8132
|
function ex(e, t = 0, n = 1, r = 0.5, i, o = e, s = e) {
|
|
8133
|
-
if (
|
|
8133
|
+
if (Ve.test(t) && (t = parseFloat(t), t = W(s.min, s.max, t / 100) - s.min), typeof t != "number")
|
|
8134
8134
|
return;
|
|
8135
8135
|
let a = W(o.min, o.max, r);
|
|
8136
8136
|
e === o && (a -= t), e.min = Ya(e.min, t, n, a, i), e.max = Ya(e.max, t, n, a, i);
|
|
@@ -8261,7 +8261,7 @@ const ht = {
|
|
|
8261
8261
|
resolvedTargetDeltas: 0,
|
|
8262
8262
|
recalculatedProjection: 0
|
|
8263
8263
|
};
|
|
8264
|
-
function
|
|
8264
|
+
function Af({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
|
|
8265
8265
|
return class {
|
|
8266
8266
|
constructor(s = {}, a = t == null ? void 0 : t()) {
|
|
8267
8267
|
this.id = dx++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
|
|
@@ -8455,12 +8455,12 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8455
8455
|
we(l, s);
|
|
8456
8456
|
for (let u = 0; u < this.path.length; u++) {
|
|
8457
8457
|
const f = this.path[u];
|
|
8458
|
-
!a && f.options.layoutScroll && f.scroll && f !== f.root &&
|
|
8458
|
+
!a && f.options.layoutScroll && f.scroll && f !== f.root && Lt(l, {
|
|
8459
8459
|
x: -f.scroll.offset.x,
|
|
8460
8460
|
y: -f.scroll.offset.y
|
|
8461
|
-
}), dt(f.latestValues) &&
|
|
8461
|
+
}), dt(f.latestValues) && Lt(l, f.latestValues);
|
|
8462
8462
|
}
|
|
8463
|
-
return dt(this.latestValues) &&
|
|
8463
|
+
return dt(this.latestValues) && Lt(l, this.latestValues), l;
|
|
8464
8464
|
}
|
|
8465
8465
|
removeTransform(s) {
|
|
8466
8466
|
const a = J();
|
|
@@ -8505,7 +8505,7 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8505
8505
|
h && h.layout && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = J(), this.relativeTargetOrigin = J(), an(this.relativeTargetOrigin, this.layout.layoutBox, h.layout.layoutBox), we(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
8506
8506
|
}
|
|
8507
8507
|
if (!(!this.relativeTarget && !this.targetDelta)) {
|
|
8508
|
-
if (this.target || (this.target = J(), this.targetWithTransforms = J()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(),
|
|
8508
|
+
if (this.target || (this.target = J(), this.targetWithTransforms = J()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Av(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : we(this.target, this.layout.layoutBox), bf(this.target, this.targetDelta)) : we(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
|
|
8509
8509
|
this.attemptToResolveRelativeTarget = !1;
|
|
8510
8510
|
const h = this.getClosestProjectingParent();
|
|
8511
8511
|
h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = J(), this.relativeTargetOrigin = J(), an(this.relativeTargetOrigin, this.target, h.target), we(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
@@ -8535,10 +8535,10 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8535
8535
|
jv(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox);
|
|
8536
8536
|
const { target: p } = a;
|
|
8537
8537
|
if (!p) {
|
|
8538
|
-
this.projectionTransform && (this.projectionDelta =
|
|
8538
|
+
this.projectionTransform && (this.projectionDelta = Vt(), this.projectionTransform = "none", this.scheduleRender());
|
|
8539
8539
|
return;
|
|
8540
8540
|
}
|
|
8541
|
-
this.projectionDelta || (this.projectionDelta =
|
|
8541
|
+
this.projectionDelta || (this.projectionDelta = Vt(), this.projectionDeltaWithTransform = Vt());
|
|
8542
8542
|
const m = this.projectionTransform;
|
|
8543
8543
|
sn(this.projectionDelta, this.layoutCorrected, p, this.latestValues), this.projectionTransform = tl(this.projectionDelta, this.treeScale), (this.projectionTransform !== m || this.treeScale.x !== d || this.treeScale.y !== h) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", p)), ht.recalculatedProjection++;
|
|
8544
8544
|
}
|
|
@@ -8556,7 +8556,7 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8556
8556
|
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
|
|
8557
8557
|
}
|
|
8558
8558
|
setAnimationOrigin(s, a = !1) {
|
|
8559
|
-
const l = this.snapshot, u = l ? l.latestValues : {}, f = { ...this.latestValues }, c =
|
|
8559
|
+
const l = this.snapshot, u = l ? l.latestValues : {}, f = { ...this.latestValues }, c = Vt();
|
|
8560
8560
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
8561
8561
|
const d = J(), h = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, m = h !== p, g = this.getStack(), y = !g || g.members.length <= 1, b = !!(m && !y && this.options.crossfade === !0 && !this.path.some(kx));
|
|
8562
8562
|
this.animationProgress = 0;
|
|
@@ -8591,14 +8591,14 @@ function Rf({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
8591
8591
|
const s = this.getLead();
|
|
8592
8592
|
let { targetWithTransforms: a, target: l, layout: u, latestValues: f } = s;
|
|
8593
8593
|
if (!(!a || !l || !u)) {
|
|
8594
|
-
if (this !== s && this.layout && u &&
|
|
8594
|
+
if (this !== s && this.layout && u && Rf(this.options.animationType, this.layout.layoutBox, u.layoutBox)) {
|
|
8595
8595
|
l = this.target || J();
|
|
8596
8596
|
const c = be(this.layout.layoutBox.x);
|
|
8597
8597
|
l.x.min = s.target.x.min, l.x.max = l.x.min + c;
|
|
8598
8598
|
const d = be(this.layout.layoutBox.y);
|
|
8599
8599
|
l.y.min = s.target.y.min, l.y.max = l.y.min + d;
|
|
8600
8600
|
}
|
|
8601
|
-
we(a, l),
|
|
8601
|
+
we(a, l), Lt(a, f), sn(this.projectionDeltaWithTransform, this.layoutCorrected, a, f);
|
|
8602
8602
|
}
|
|
8603
8603
|
}
|
|
8604
8604
|
registerSharedNode(s, a) {
|
|
@@ -8710,13 +8710,13 @@ function px(e) {
|
|
|
8710
8710
|
o === "size" ? Se((c) => {
|
|
8711
8711
|
const d = s ? n.measuredBox[c] : n.layoutBox[c], h = be(d);
|
|
8712
8712
|
d.min = r[c].min, d.max = d.min + h;
|
|
8713
|
-
}) :
|
|
8713
|
+
}) : Rf(o, n.layoutBox, r) && Se((c) => {
|
|
8714
8714
|
const d = s ? n.measuredBox[c] : n.layoutBox[c], h = be(r[c]);
|
|
8715
8715
|
d.max = d.min + h, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[c].max = e.relativeTarget[c].min + h);
|
|
8716
8716
|
});
|
|
8717
|
-
const a =
|
|
8717
|
+
const a = Vt();
|
|
8718
8718
|
sn(a, r, n.layoutBox);
|
|
8719
|
-
const l =
|
|
8719
|
+
const l = Vt();
|
|
8720
8720
|
s ? sn(l, e.applyTransform(i, !0), n.measuredBox) : sn(l, r, n.layoutBox);
|
|
8721
8721
|
const u = !Tf(a);
|
|
8722
8722
|
let f = !1;
|
|
@@ -8802,11 +8802,11 @@ function cl(e) {
|
|
|
8802
8802
|
function Px(e) {
|
|
8803
8803
|
cl(e.x), cl(e.y);
|
|
8804
8804
|
}
|
|
8805
|
-
function
|
|
8805
|
+
function Rf(e, t, n) {
|
|
8806
8806
|
return e === "position" || e === "preserve-aspect" && !Ki(el(t), el(n), 0.2);
|
|
8807
8807
|
}
|
|
8808
|
-
const
|
|
8809
|
-
attachResizeListener: (e, t) =>
|
|
8808
|
+
const Ax = Af({
|
|
8809
|
+
attachResizeListener: (e, t) => Be(e, "resize", t),
|
|
8810
8810
|
measureScroll: () => ({
|
|
8811
8811
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
8812
8812
|
y: document.documentElement.scrollTop || document.body.scrollTop
|
|
@@ -8814,14 +8814,14 @@ const Rx = Rf({
|
|
|
8814
8814
|
checkIsScrollRoot: () => !0
|
|
8815
8815
|
}), xi = {
|
|
8816
8816
|
current: void 0
|
|
8817
|
-
}, Of =
|
|
8817
|
+
}, Of = Af({
|
|
8818
8818
|
measureScroll: (e) => ({
|
|
8819
8819
|
x: e.scrollLeft,
|
|
8820
8820
|
y: e.scrollTop
|
|
8821
8821
|
}),
|
|
8822
8822
|
defaultParent: () => {
|
|
8823
8823
|
if (!xi.current) {
|
|
8824
|
-
const e = new
|
|
8824
|
+
const e = new Ax({});
|
|
8825
8825
|
e.mount(window), e.setOptions({ layoutScroll: !0 }), xi.current = e;
|
|
8826
8826
|
}
|
|
8827
8827
|
return xi.current;
|
|
@@ -8830,7 +8830,7 @@ const Rx = Rf({
|
|
|
8830
8830
|
e.style.transform = t !== void 0 ? t : "none";
|
|
8831
8831
|
},
|
|
8832
8832
|
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
|
|
8833
|
-
}),
|
|
8833
|
+
}), Rx = {
|
|
8834
8834
|
pan: {
|
|
8835
8835
|
Feature: Hv
|
|
8836
8836
|
},
|
|
@@ -8878,7 +8878,7 @@ function Mx(e, { ...t }, n) {
|
|
|
8878
8878
|
}
|
|
8879
8879
|
return { target: t, transitionEnd: n };
|
|
8880
8880
|
}
|
|
8881
|
-
const
|
|
8881
|
+
const Fx = /* @__PURE__ */ new Set([
|
|
8882
8882
|
"width",
|
|
8883
8883
|
"height",
|
|
8884
8884
|
"top",
|
|
@@ -8889,7 +8889,7 @@ const Vx = /* @__PURE__ */ new Set([
|
|
|
8889
8889
|
"y",
|
|
8890
8890
|
"translateX",
|
|
8891
8891
|
"translateY"
|
|
8892
|
-
]), _f = (e) =>
|
|
8892
|
+
]), _f = (e) => Fx.has(e), Vx = (e) => Object.keys(e).some(_f), fl = (e) => e === St || e === O, dl = (e, t) => parseFloat(e.split(", ")[t]), hl = (e, t) => (n, { transform: r }) => {
|
|
8893
8893
|
if (r === "none" || !r)
|
|
8894
8894
|
return 0;
|
|
8895
8895
|
const i = r.match(/^matrix3d\((.+)\)$/);
|
|
@@ -8899,7 +8899,7 @@ const Vx = /* @__PURE__ */ new Set([
|
|
|
8899
8899
|
const o = r.match(/^matrix\((.+)\)$/);
|
|
8900
8900
|
return o ? dl(o[1], e) : 0;
|
|
8901
8901
|
}
|
|
8902
|
-
},
|
|
8902
|
+
}, Lx = /* @__PURE__ */ new Set(["x", "y", "z"]), Dx = bn.filter((e) => !Lx.has(e));
|
|
8903
8903
|
function jx(e) {
|
|
8904
8904
|
const t = [];
|
|
8905
8905
|
return Dx.forEach((n) => {
|
|
@@ -8931,7 +8931,7 @@ const Ix = (e, t, n) => {
|
|
|
8931
8931
|
const f = t.getValue(u);
|
|
8932
8932
|
f && f.jump(a[u]), e[u] = It[u](l, o);
|
|
8933
8933
|
}), e;
|
|
8934
|
-
},
|
|
8934
|
+
}, Bx = (e, t, n = {}, r = {}) => {
|
|
8935
8935
|
t = { ...t }, r = { ...r };
|
|
8936
8936
|
const i = Object.keys(t).filter(_f);
|
|
8937
8937
|
let o = [], s = !1;
|
|
@@ -8947,7 +8947,7 @@ const Ix = (e, t, n) => {
|
|
|
8947
8947
|
const p = d.length, m = d[0] === null ? 1 : 0;
|
|
8948
8948
|
f = d[m], c = qt(f);
|
|
8949
8949
|
for (let g = m; g < p && d[g] !== null; g++)
|
|
8950
|
-
h ?
|
|
8950
|
+
h ? No(qt(d[g]) === h) : h = qt(d[g]);
|
|
8951
8951
|
} else
|
|
8952
8952
|
h = qt(d);
|
|
8953
8953
|
if (c !== h)
|
|
@@ -8960,19 +8960,19 @@ const Ix = (e, t, n) => {
|
|
|
8960
8960
|
const l = a.indexOf("height") >= 0 ? window.pageYOffset : null, u = Ix(t, e, a);
|
|
8961
8961
|
return o.length && o.forEach(([f, c]) => {
|
|
8962
8962
|
e.getValue(f).set(c);
|
|
8963
|
-
}), e.render(),
|
|
8963
|
+
}), e.render(), Vr && l !== null && window.scrollTo({ top: l }), { target: u, transitionEnd: r };
|
|
8964
8964
|
} else
|
|
8965
8965
|
return { target: t, transitionEnd: r };
|
|
8966
8966
|
};
|
|
8967
|
-
function
|
|
8968
|
-
return
|
|
8967
|
+
function Nx(e, t, n, r) {
|
|
8968
|
+
return Vx(t) ? Bx(e, t, n, r) : { target: t, transitionEnd: r };
|
|
8969
8969
|
}
|
|
8970
8970
|
const $x = (e, t, n, r) => {
|
|
8971
8971
|
const i = Mx(e, t, r);
|
|
8972
|
-
return t = i.target, r = i.transitionEnd,
|
|
8972
|
+
return t = i.target, r = i.transitionEnd, Nx(e, t, n, r);
|
|
8973
8973
|
}, eo = { current: null }, Mf = { current: !1 };
|
|
8974
8974
|
function zx() {
|
|
8975
|
-
if (Mf.current = !0, !!
|
|
8975
|
+
if (Mf.current = !0, !!Vr)
|
|
8976
8976
|
if (window.matchMedia) {
|
|
8977
8977
|
const e = window.matchMedia("(prefers-reduced-motion)"), t = () => eo.current = e.matches;
|
|
8978
8978
|
e.addListener(t), t();
|
|
@@ -9000,7 +9000,7 @@ function Ux(e, t, n) {
|
|
|
9000
9000
|
t[i] === void 0 && e.removeValue(i);
|
|
9001
9001
|
return t;
|
|
9002
9002
|
}
|
|
9003
|
-
const pl = /* @__PURE__ */ new WeakMap(),
|
|
9003
|
+
const pl = /* @__PURE__ */ new WeakMap(), Ff = Object.keys(pn), Wx = Ff.length, ml = [
|
|
9004
9004
|
"AnimationStart",
|
|
9005
9005
|
"AnimationComplete",
|
|
9006
9006
|
"Update",
|
|
@@ -9057,7 +9057,7 @@ class qx {
|
|
|
9057
9057
|
loadFeatures({ children: t, ...n }, r, i, o) {
|
|
9058
9058
|
let s, a;
|
|
9059
9059
|
for (let l = 0; l < Wx; l++) {
|
|
9060
|
-
const u =
|
|
9060
|
+
const u = Ff[l], { isEnabled: f, Feature: c, ProjectionNode: d, MeasureLayout: h } = pn[u];
|
|
9061
9061
|
d && (s = d), f(n) && (!this.features[u] && c && (this.features[u] = new c(this)), h && (a = h));
|
|
9062
9062
|
}
|
|
9063
9063
|
if ((this.type === "html" || this.type === "svg") && !this.projection && s) {
|
|
@@ -9222,7 +9222,7 @@ class qx {
|
|
|
9222
9222
|
*/
|
|
9223
9223
|
getBaseTarget(t) {
|
|
9224
9224
|
var n;
|
|
9225
|
-
const { initial: r } = this.props, i = typeof r == "string" || typeof r == "object" ? (n =
|
|
9225
|
+
const { initial: r } = this.props, i = typeof r == "string" || typeof r == "object" ? (n = Bo(this.props, r)) === null || n === void 0 ? void 0 : n[t] : void 0;
|
|
9226
9226
|
if (r && i !== void 0)
|
|
9227
9227
|
return i;
|
|
9228
9228
|
const o = this.getBaseTargetFromProps(this.props, t);
|
|
@@ -9235,7 +9235,7 @@ class qx {
|
|
|
9235
9235
|
this.events[t] && this.events[t].notify(...n);
|
|
9236
9236
|
}
|
|
9237
9237
|
}
|
|
9238
|
-
class
|
|
9238
|
+
class Vf extends qx {
|
|
9239
9239
|
sortInstanceNodePosition(t, n) {
|
|
9240
9240
|
return t.compareDocumentPosition(n) & 2 ? 1 : -1;
|
|
9241
9241
|
}
|
|
@@ -9262,7 +9262,7 @@ class Lf extends qx {
|
|
|
9262
9262
|
function Gx(e) {
|
|
9263
9263
|
return window.getComputedStyle(e);
|
|
9264
9264
|
}
|
|
9265
|
-
class Xx extends
|
|
9265
|
+
class Xx extends Vf {
|
|
9266
9266
|
constructor() {
|
|
9267
9267
|
super(...arguments), this.type = "html";
|
|
9268
9268
|
}
|
|
@@ -9279,7 +9279,7 @@ class Xx extends Lf {
|
|
|
9279
9279
|
return wf(t, n);
|
|
9280
9280
|
}
|
|
9281
9281
|
build(t, n, r, i) {
|
|
9282
|
-
|
|
9282
|
+
Vo(t, n, r, i.transformTemplate);
|
|
9283
9283
|
}
|
|
9284
9284
|
scrapeMotionValuesFromProps(t, n) {
|
|
9285
9285
|
return Io(t, n);
|
|
@@ -9295,7 +9295,7 @@ class Xx extends Lf {
|
|
|
9295
9295
|
Pc(t, n, r, i);
|
|
9296
9296
|
}
|
|
9297
9297
|
}
|
|
9298
|
-
class Kx extends
|
|
9298
|
+
class Kx extends Vf {
|
|
9299
9299
|
constructor() {
|
|
9300
9300
|
super(...arguments), this.type = "svg", this.isSVGTag = !1;
|
|
9301
9301
|
}
|
|
@@ -9307,7 +9307,7 @@ class Kx extends Lf {
|
|
|
9307
9307
|
const r = Wo(n);
|
|
9308
9308
|
return r && r.default || 0;
|
|
9309
9309
|
}
|
|
9310
|
-
return n =
|
|
9310
|
+
return n = Ac.has(n) ? n : Oo(n), t.getAttribute(n);
|
|
9311
9311
|
}
|
|
9312
9312
|
measureInstanceViewportBox() {
|
|
9313
9313
|
return J();
|
|
@@ -9319,13 +9319,13 @@ class Kx extends Lf {
|
|
|
9319
9319
|
Do(t, n, r, this.isSVGTag, i.transformTemplate);
|
|
9320
9320
|
}
|
|
9321
9321
|
renderInstance(t, n, r, i) {
|
|
9322
|
-
|
|
9322
|
+
Rc(t, n, r, i);
|
|
9323
9323
|
}
|
|
9324
9324
|
mount(t) {
|
|
9325
9325
|
this.isSVGTag = jo(t.tagName), super.mount(t);
|
|
9326
9326
|
}
|
|
9327
9327
|
}
|
|
9328
|
-
const Yx = (e, t) =>
|
|
9328
|
+
const Yx = (e, t) => Fo(e) ? new Kx(t, { enableHardwareAcceleration: !1 }) : new Xx(t, { enableHardwareAcceleration: !0 }), Jx = {
|
|
9329
9329
|
layout: {
|
|
9330
9330
|
ProjectionNode: Of,
|
|
9331
9331
|
MeasureLayout: Ef
|
|
@@ -9333,7 +9333,7 @@ const Yx = (e, t) => Vo(e) ? new Kx(t, { enableHardwareAcceleration: !1 }) : new
|
|
|
9333
9333
|
}, Zx = {
|
|
9334
9334
|
...Cv,
|
|
9335
9335
|
...Wy,
|
|
9336
|
-
...
|
|
9336
|
+
...Rx,
|
|
9337
9337
|
...Jx
|
|
9338
9338
|
}, Qx = /* @__PURE__ */ Zg((e, t) => _y(e, t, Zx, Yx));
|
|
9339
9339
|
/**
|
|
@@ -9405,7 +9405,7 @@ function to(e, t, n, r) {
|
|
|
9405
9405
|
pathname: typeof e == "string" ? e : e.pathname,
|
|
9406
9406
|
search: "",
|
|
9407
9407
|
hash: ""
|
|
9408
|
-
}, typeof t == "string" ?
|
|
9408
|
+
}, typeof t == "string" ? Nr(t) : t, {
|
|
9409
9409
|
state: n,
|
|
9410
9410
|
// TODO: This could be cleaned up. push/replace should probably just take
|
|
9411
9411
|
// full Locations now and avoid the need to run through this flow at all
|
|
@@ -9422,7 +9422,7 @@ function br(e) {
|
|
|
9422
9422
|
} = e;
|
|
9423
9423
|
return n && n !== "?" && (t += n.charAt(0) === "?" ? n : "?" + n), r && r !== "#" && (t += r.charAt(0) === "#" ? r : "#" + r), t;
|
|
9424
9424
|
}
|
|
9425
|
-
function
|
|
9425
|
+
function Nr(e) {
|
|
9426
9426
|
let t = {};
|
|
9427
9427
|
if (e) {
|
|
9428
9428
|
let n = e.indexOf("#");
|
|
@@ -9526,7 +9526,7 @@ var vl;
|
|
|
9526
9526
|
(function(e) {
|
|
9527
9527
|
e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
|
|
9528
9528
|
})(vl || (vl = {}));
|
|
9529
|
-
function
|
|
9529
|
+
function Lf(e, t) {
|
|
9530
9530
|
if (t === "/")
|
|
9531
9531
|
return e;
|
|
9532
9532
|
if (!e.toLowerCase().startsWith(t.toLowerCase()))
|
|
@@ -9540,7 +9540,7 @@ function rb(e, t) {
|
|
|
9540
9540
|
pathname: n,
|
|
9541
9541
|
search: r = "",
|
|
9542
9542
|
hash: i = ""
|
|
9543
|
-
} = typeof e == "string" ?
|
|
9543
|
+
} = typeof e == "string" ? Nr(e) : e;
|
|
9544
9544
|
return {
|
|
9545
9545
|
pathname: n ? n.startsWith("/") ? n : ib(n, t) : t,
|
|
9546
9546
|
search: sb(r),
|
|
@@ -9566,7 +9566,7 @@ function Df(e, t) {
|
|
|
9566
9566
|
function jf(e, t, n, r) {
|
|
9567
9567
|
r === void 0 && (r = !1);
|
|
9568
9568
|
let i;
|
|
9569
|
-
typeof e == "string" ? i =
|
|
9569
|
+
typeof e == "string" ? i = Nr(e) : (i = gn({}, e), Te(!i.pathname || !i.pathname.includes("?"), bi("?", "pathname", "search", i)), Te(!i.pathname || !i.pathname.includes("#"), bi("#", "pathname", "hash", i)), Te(!i.search || !i.search.includes("#"), bi("#", "search", "hash", i)));
|
|
9570
9570
|
let o = e === "" || i.pathname === "", s = o ? "/" : i.pathname, a;
|
|
9571
9571
|
if (s == null)
|
|
9572
9572
|
a = n;
|
|
@@ -9583,9 +9583,9 @@ function jf(e, t, n, r) {
|
|
|
9583
9583
|
let l = rb(i, a), u = s && s !== "/" && s.endsWith("/"), f = (o || s === ".") && n.endsWith("/");
|
|
9584
9584
|
return !l.pathname.endsWith("/") && (u || f) && (l.pathname += "/"), l;
|
|
9585
9585
|
}
|
|
9586
|
-
const If = (e) => e.join("/").replace(/\/\/+/g, "/"), sb = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, ab = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e,
|
|
9587
|
-
new Set(
|
|
9588
|
-
const lb = ["get", ...
|
|
9586
|
+
const If = (e) => e.join("/").replace(/\/\/+/g, "/"), sb = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, ab = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Bf = ["post", "put", "patch", "delete"];
|
|
9587
|
+
new Set(Bf);
|
|
9588
|
+
const lb = ["get", ...Bf];
|
|
9589
9589
|
new Set(lb);
|
|
9590
9590
|
/**
|
|
9591
9591
|
* React Router v6.22.3
|
|
@@ -9607,7 +9607,7 @@ function wr() {
|
|
|
9607
9607
|
return e;
|
|
9608
9608
|
}, wr.apply(this, arguments);
|
|
9609
9609
|
}
|
|
9610
|
-
const
|
|
9610
|
+
const Nf = /* @__PURE__ */ x.createContext(null), zt = /* @__PURE__ */ x.createContext(null), Yo = /* @__PURE__ */ x.createContext(null), $r = /* @__PURE__ */ x.createContext({
|
|
9611
9611
|
outlet: null,
|
|
9612
9612
|
matches: [],
|
|
9613
9613
|
isDataRoute: !1
|
|
@@ -9650,7 +9650,7 @@ function cb() {
|
|
|
9650
9650
|
}
|
|
9651
9651
|
function fb() {
|
|
9652
9652
|
zr() || Te(!1);
|
|
9653
|
-
let e = x.useContext(
|
|
9653
|
+
let e = x.useContext(Nf), {
|
|
9654
9654
|
basename: t,
|
|
9655
9655
|
future: n,
|
|
9656
9656
|
navigator: r
|
|
@@ -9690,7 +9690,7 @@ var Uf = /* @__PURE__ */ function(e) {
|
|
|
9690
9690
|
return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
|
|
9691
9691
|
}(Wf || {});
|
|
9692
9692
|
function db(e) {
|
|
9693
|
-
let t = x.useContext(
|
|
9693
|
+
let t = x.useContext(Nf);
|
|
9694
9694
|
return t || Te(!1), t;
|
|
9695
9695
|
}
|
|
9696
9696
|
function hb(e) {
|
|
@@ -9732,7 +9732,7 @@ function gb(e) {
|
|
|
9732
9732
|
v7_relativeSplatPath: !1
|
|
9733
9733
|
}, a)
|
|
9734
9734
|
}), [l, a, o, s]);
|
|
9735
|
-
typeof r == "string" && (r =
|
|
9735
|
+
typeof r == "string" && (r = Nr(r));
|
|
9736
9736
|
let {
|
|
9737
9737
|
pathname: f = "/",
|
|
9738
9738
|
search: c = "",
|
|
@@ -9740,7 +9740,7 @@ function gb(e) {
|
|
|
9740
9740
|
state: h = null,
|
|
9741
9741
|
key: p = "default"
|
|
9742
9742
|
} = r, m = x.useMemo(() => {
|
|
9743
|
-
let g =
|
|
9743
|
+
let g = Lf(f, l);
|
|
9744
9744
|
return g == null ? null : {
|
|
9745
9745
|
location: {
|
|
9746
9746
|
pathname: g,
|
|
@@ -9847,7 +9847,7 @@ const Cb = typeof window < "u" && typeof window.document < "u" && typeof window.
|
|
|
9847
9847
|
} = x.useContext(zt), p, m = !1;
|
|
9848
9848
|
if (typeof u == "string" && kb.test(u) && (p = u, Cb))
|
|
9849
9849
|
try {
|
|
9850
|
-
let v = new URL(window.location.href), S = u.startsWith("//") ? new URL(v.protocol + u) : new URL(u), E =
|
|
9850
|
+
let v = new URL(window.location.href), S = u.startsWith("//") ? new URL(v.protocol + u) : new URL(u), E = Lf(S.pathname, h);
|
|
9851
9851
|
S.origin === v.origin && E != null ? u = E + S.search + S.hash : m = !0;
|
|
9852
9852
|
} catch {
|
|
9853
9853
|
}
|
|
@@ -9915,7 +9915,7 @@ function Hf(e, t) {
|
|
|
9915
9915
|
i = r[o], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
9916
9916
|
return n;
|
|
9917
9917
|
}
|
|
9918
|
-
const
|
|
9918
|
+
const lw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9919
9919
|
__proto__: null,
|
|
9920
9920
|
default: Hf
|
|
9921
9921
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -9929,11 +9929,11 @@ function yn() {
|
|
|
9929
9929
|
return e;
|
|
9930
9930
|
}, yn.apply(this, arguments);
|
|
9931
9931
|
}
|
|
9932
|
-
const
|
|
9932
|
+
const uw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9933
9933
|
__proto__: null,
|
|
9934
9934
|
default: yn
|
|
9935
9935
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9936
|
-
function
|
|
9936
|
+
function Ab(e, t) {
|
|
9937
9937
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, ed(e, t);
|
|
9938
9938
|
}
|
|
9939
9939
|
function wi(e, t, n) {
|
|
@@ -9947,36 +9947,36 @@ function wi(e, t, n) {
|
|
|
9947
9947
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
9948
9948
|
* MIT Licensed
|
|
9949
9949
|
*/
|
|
9950
|
-
var Sl = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,
|
|
9950
|
+
var Sl = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, Rb = /\\([\u000b\u0020-\u00ff])/g, Ob = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, _b = Mb;
|
|
9951
9951
|
function Mb(e) {
|
|
9952
9952
|
if (!e)
|
|
9953
9953
|
throw new TypeError("argument string is required");
|
|
9954
|
-
var t = typeof e == "object" ?
|
|
9954
|
+
var t = typeof e == "object" ? Fb(e) : e;
|
|
9955
9955
|
if (typeof t != "string")
|
|
9956
9956
|
throw new TypeError("argument string is required to be a string");
|
|
9957
9957
|
var n = t.indexOf(";"), r = n !== -1 ? t.slice(0, n).trim() : t.trim();
|
|
9958
9958
|
if (!Ob.test(r))
|
|
9959
9959
|
throw new TypeError("invalid media type");
|
|
9960
|
-
var i = new
|
|
9960
|
+
var i = new Vb(r.toLowerCase());
|
|
9961
9961
|
if (n !== -1) {
|
|
9962
9962
|
var o, s, a;
|
|
9963
9963
|
for (Sl.lastIndex = n; s = Sl.exec(t); ) {
|
|
9964
9964
|
if (s.index !== n)
|
|
9965
9965
|
throw new TypeError("invalid parameter format");
|
|
9966
|
-
n += s[0].length, o = s[1].toLowerCase(), a = s[2], a.charCodeAt(0) === 34 && (a = a.slice(1, -1), a.indexOf("\\") !== -1 && (a = a.replace(
|
|
9966
|
+
n += s[0].length, o = s[1].toLowerCase(), a = s[2], a.charCodeAt(0) === 34 && (a = a.slice(1, -1), a.indexOf("\\") !== -1 && (a = a.replace(Rb, "$1"))), i.parameters[o] = a;
|
|
9967
9967
|
}
|
|
9968
9968
|
if (n !== t.length)
|
|
9969
9969
|
throw new TypeError("invalid parameter format");
|
|
9970
9970
|
}
|
|
9971
9971
|
return i;
|
|
9972
9972
|
}
|
|
9973
|
-
function
|
|
9973
|
+
function Fb(e) {
|
|
9974
9974
|
var t;
|
|
9975
9975
|
if (typeof e.getHeader == "function" ? t = e.getHeader("content-type") : typeof e.headers == "object" && (t = e.headers && e.headers["content-type"]), typeof t != "string")
|
|
9976
9976
|
throw new TypeError("content-type header is missing from object");
|
|
9977
9977
|
return t;
|
|
9978
9978
|
}
|
|
9979
|
-
function
|
|
9979
|
+
function Vb(e) {
|
|
9980
9980
|
this.parameters = /* @__PURE__ */ Object.create(null), this.type = e;
|
|
9981
9981
|
}
|
|
9982
9982
|
var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
@@ -10012,7 +10012,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10012
10012
|
}, i.open("GET", t), i.withCredentials = n, i.overrideMimeType && i.overrideMimeType("text/xml"), i.send();
|
|
10013
10013
|
}, tt = {}, Cl = function(t, n) {
|
|
10014
10014
|
tt[t] = tt[t] || [], tt[t].push(n);
|
|
10015
|
-
},
|
|
10015
|
+
}, Lb = function(t) {
|
|
10016
10016
|
for (var n = function(s, a) {
|
|
10017
10017
|
setTimeout(function() {
|
|
10018
10018
|
if (Array.isArray(tt[t])) {
|
|
@@ -10036,30 +10036,30 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10036
10036
|
}
|
|
10037
10037
|
Ot.set(t, void 0), Cl(t, r), Gf(t, n, function(o, s) {
|
|
10038
10038
|
var a;
|
|
10039
|
-
o ? Ot.set(t, o) : ((a = s.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && Ot.set(t, s.responseXML.documentElement),
|
|
10039
|
+
o ? Ot.set(t, o) : ((a = s.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && Ot.set(t, s.responseXML.documentElement), Lb(t);
|
|
10040
10040
|
});
|
|
10041
10041
|
}, jb = function(t, n, r) {
|
|
10042
10042
|
Gf(t, n, function(i, o) {
|
|
10043
10043
|
var s;
|
|
10044
10044
|
i ? r(i) : ((s = o.responseXML) === null || s === void 0 ? void 0 : s.documentElement) instanceof SVGSVGElement && r(null, o.responseXML.documentElement);
|
|
10045
10045
|
});
|
|
10046
|
-
}, Ib = 0,
|
|
10046
|
+
}, Ib = 0, Bb = function() {
|
|
10047
10047
|
return ++Ib;
|
|
10048
|
-
},
|
|
10048
|
+
}, Ae = [], kl = {}, Nb = "http://www.w3.org/2000/svg", Si = "http://www.w3.org/1999/xlink", Tl = function(t, n, r, i, o, s, a) {
|
|
10049
10049
|
var l = t.getAttribute("data-src") || t.getAttribute("src");
|
|
10050
10050
|
if (!l) {
|
|
10051
10051
|
a(new Error("Invalid data-src or src attribute"));
|
|
10052
10052
|
return;
|
|
10053
10053
|
}
|
|
10054
|
-
if (
|
|
10055
|
-
|
|
10054
|
+
if (Ae.indexOf(t) !== -1) {
|
|
10055
|
+
Ae.splice(Ae.indexOf(t), 1), t = null;
|
|
10056
10056
|
return;
|
|
10057
10057
|
}
|
|
10058
|
-
|
|
10058
|
+
Ae.push(t), t.setAttribute("src", "");
|
|
10059
10059
|
var u = i ? Db : jb;
|
|
10060
10060
|
u(l, o, function(f, c) {
|
|
10061
10061
|
if (!c) {
|
|
10062
|
-
|
|
10062
|
+
Ae.splice(Ae.indexOf(t), 1), t = null, a(f);
|
|
10063
10063
|
return;
|
|
10064
10064
|
}
|
|
10065
10065
|
var d = t.getAttribute("id");
|
|
@@ -10095,7 +10095,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10095
10095
|
Object.keys(v).forEach(function(ee) {
|
|
10096
10096
|
S = ee, k = v[ee], E = c.querySelectorAll(S + "[id]");
|
|
10097
10097
|
for (var qe = function(kt, Wr) {
|
|
10098
|
-
T = E[kt].id, P = T + "-" +
|
|
10098
|
+
T = E[kt].id, P = T + "-" + Bb();
|
|
10099
10099
|
var ut;
|
|
10100
10100
|
Array.prototype.forEach.call(k, function(Hr) {
|
|
10101
10101
|
ut = c.querySelectorAll("[" + Hr + '*="' + T + '"]');
|
|
@@ -10126,11 +10126,11 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10126
10126
|
var Pe = c.querySelectorAll("style");
|
|
10127
10127
|
if (Array.prototype.forEach.call(Pe, function(ee) {
|
|
10128
10128
|
ee.textContent += "";
|
|
10129
|
-
}), c.setAttribute("xmlns",
|
|
10130
|
-
|
|
10129
|
+
}), c.setAttribute("xmlns", Nb), c.setAttribute("xmlns:xlink", Si), s(c), !t.parentNode) {
|
|
10130
|
+
Ae.splice(Ae.indexOf(t), 1), t = null, a(new Error("Parent node is null"));
|
|
10131
10131
|
return;
|
|
10132
10132
|
}
|
|
10133
|
-
t.parentNode.replaceChild(c, t),
|
|
10133
|
+
t.parentNode.replaceChild(c, t), Ae.splice(Ae.indexOf(t), 1), t = null, a(null, c);
|
|
10134
10134
|
});
|
|
10135
10135
|
}, $b = function(t, n) {
|
|
10136
10136
|
var r = n === void 0 ? {} : n, i = r.afterAll, o = i === void 0 ? function() {
|
|
@@ -10157,8 +10157,8 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10157
10157
|
if (t[i] !== n[i])
|
|
10158
10158
|
return !0;
|
|
10159
10159
|
return !1;
|
|
10160
|
-
}, Wb = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"],
|
|
10161
|
-
|
|
10160
|
+
}, Wb = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], Ln = "http://www.w3.org/2000/svg", Pl = "http://www.w3.org/1999/xlink", Jo = /* @__PURE__ */ function(e) {
|
|
10161
|
+
Ab(t, e);
|
|
10162
10162
|
function t() {
|
|
10163
10163
|
for (var r, i = arguments.length, o = new Array(i), s = 0; s < i; s++)
|
|
10164
10164
|
o[s] = arguments[s];
|
|
@@ -10174,7 +10174,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10174
10174
|
var i = this;
|
|
10175
10175
|
if (this.reactWrapper instanceof zb(this.reactWrapper).Node) {
|
|
10176
10176
|
var o = this.props, s = o.desc, a = o.evalScripts, l = o.httpRequestWithCredentials, u = o.renumerateIRIElements, f = o.src, c = o.title, d = o.useRequestCache, h = this.props.onError, p = this.props.beforeInjection, m = this.props.afterInjection, g = this.props.wrapper, y, b;
|
|
10177
|
-
g === "svg" ? (y = document.createElementNS(
|
|
10177
|
+
g === "svg" ? (y = document.createElementNS(Ln, g), y.setAttribute("xmlns", Ln), y.setAttribute("xmlns:xlink", Pl), b = document.createElementNS(Ln, g)) : (y = document.createElement(g), b = document.createElement(g)), y.appendChild(b), b.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(y);
|
|
10178
10178
|
var v = function(T) {
|
|
10179
10179
|
if (i.removeSVG(), !i._isMounted) {
|
|
10180
10180
|
h(T);
|
|
@@ -10257,7 +10257,7 @@ var Ot = /* @__PURE__ */ new Map(), qf = function(t) {
|
|
|
10257
10257
|
return /* @__PURE__ */ x.createElement(u, yn({}, l, {
|
|
10258
10258
|
ref: this.refCallback
|
|
10259
10259
|
}, a === "svg" ? {
|
|
10260
|
-
xmlns:
|
|
10260
|
+
xmlns: Ln,
|
|
10261
10261
|
xmlnsXlink: Pl
|
|
10262
10262
|
} : {}), this.state.isLoading && s && /* @__PURE__ */ x.createElement(s, null), this.state.hasError && o && /* @__PURE__ */ x.createElement(o, null));
|
|
10263
10263
|
}, t;
|
|
@@ -10295,7 +10295,7 @@ Jo.propTypes = {
|
|
|
10295
10295
|
wrapper: Y.oneOf(["div", "span", "svg"])
|
|
10296
10296
|
};
|
|
10297
10297
|
function Hb(e) {
|
|
10298
|
-
return /* @__PURE__ */
|
|
10298
|
+
return /* @__PURE__ */ A.jsx(
|
|
10299
10299
|
"svg",
|
|
10300
10300
|
{
|
|
10301
10301
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10304,7 +10304,7 @@ function Hb(e) {
|
|
|
10304
10304
|
fill: "currentColor",
|
|
10305
10305
|
viewBox: "0 0 16 16",
|
|
10306
10306
|
...e,
|
|
10307
|
-
children: /* @__PURE__ */
|
|
10307
|
+
children: /* @__PURE__ */ A.jsx(
|
|
10308
10308
|
"path",
|
|
10309
10309
|
{
|
|
10310
10310
|
fill: "currenColor",
|
|
@@ -10325,7 +10325,7 @@ function qb(e) {
|
|
|
10325
10325
|
});
|
|
10326
10326
|
}
|
|
10327
10327
|
}, [n]), r ? t : Ol.createPortal(
|
|
10328
|
-
/* @__PURE__ */
|
|
10328
|
+
/* @__PURE__ */ A.jsx(
|
|
10329
10329
|
"div",
|
|
10330
10330
|
{
|
|
10331
10331
|
style: {
|
|
@@ -10344,7 +10344,7 @@ function Gb(e) {
|
|
|
10344
10344
|
const { children: t, title: n, hasTooltip: r } = e, i = x.useRef(), [o, s] = x.useState(!1), [a, l] = x.useState({ top: 0, left: 0 });
|
|
10345
10345
|
return (
|
|
10346
10346
|
// Tooltip wrapper
|
|
10347
|
-
/* @__PURE__ */
|
|
10347
|
+
/* @__PURE__ */ A.jsxs(
|
|
10348
10348
|
"div",
|
|
10349
10349
|
{
|
|
10350
10350
|
className: "tooltip-item__wrapper",
|
|
@@ -10360,8 +10360,8 @@ function Gb(e) {
|
|
|
10360
10360
|
onMouseLeave: () => s(!1),
|
|
10361
10361
|
ref: i,
|
|
10362
10362
|
children: [
|
|
10363
|
-
/* @__PURE__ */
|
|
10364
|
-
o && r && /* @__PURE__ */
|
|
10363
|
+
/* @__PURE__ */ A.jsx("div", { children: t }),
|
|
10364
|
+
o && r && /* @__PURE__ */ A.jsx(
|
|
10365
10365
|
"div",
|
|
10366
10366
|
{
|
|
10367
10367
|
className: "tooltip-item__content",
|
|
@@ -10387,6 +10387,32 @@ function Gb(e) {
|
|
|
10387
10387
|
)
|
|
10388
10388
|
);
|
|
10389
10389
|
}
|
|
10390
|
+
const Xb = {
|
|
10391
|
+
primary100: "#F0F6E1",
|
|
10392
|
+
primary200: "#E5F5ED",
|
|
10393
|
+
primary300: "#93D500",
|
|
10394
|
+
primary400: "#009D4F",
|
|
10395
|
+
primary500: "#2E7D32",
|
|
10396
|
+
secondary: "#CC0066",
|
|
10397
|
+
secondaryDark: "#AE1857",
|
|
10398
|
+
textPrimary: "#292929",
|
|
10399
|
+
white: "#FFFFFF",
|
|
10400
|
+
grey100: "#FAFAFA",
|
|
10401
|
+
grey200: "#EEEEEE",
|
|
10402
|
+
grey300: "#DDDDDD",
|
|
10403
|
+
grey400: "#C5C5C5",
|
|
10404
|
+
grey500: "#BFBFBF",
|
|
10405
|
+
grey600: "#85858A",
|
|
10406
|
+
success: "#009D4F",
|
|
10407
|
+
successLight: "#009D4F10",
|
|
10408
|
+
warning: "#FFB600",
|
|
10409
|
+
warningLight: "#FFB60010",
|
|
10410
|
+
danger: "#E01B00",
|
|
10411
|
+
dangerLight: "#E01B0010",
|
|
10412
|
+
dangerDark: "#BE1700",
|
|
10413
|
+
linkPrimary: "#007BFF",
|
|
10414
|
+
linkLight: "#007BFF10"
|
|
10415
|
+
};
|
|
10390
10416
|
function Xf({ item: e, level: t = 0, ...n }) {
|
|
10391
10417
|
var U, z, G, K;
|
|
10392
10418
|
const { isActive: r, isCollapsed: i, expanded: o, toggleExpand: s } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", u = r(e.id) ? "active" : "", f = (Q, X = a) => `${Q} ${X} ${l} ${u}`, c = !!((U = e.children) != null && U.length), [d, h] = x.useState(!1), p = x.useRef(), m = window.location.origin, g = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, y = window.location.pathname.split("/")[1], b = g.pathname.split("/")[1], v = n.ssr || !m.includes("local") && m !== g.origin || b !== y, S = c || t === 0 ? "div" : v ? "a" : Tb, E = e.path || "#", k = t + 1, T = c && !(i && k >= 2 && !d), P = i || t === 0 ? void 0 : `${t}rem`;
|
|
@@ -10396,7 +10422,7 @@ function Xf({ item: e, level: t = 0, ...n }) {
|
|
|
10396
10422
|
}, q = () => {
|
|
10397
10423
|
h(!1);
|
|
10398
10424
|
};
|
|
10399
|
-
return /* @__PURE__ */
|
|
10425
|
+
return /* @__PURE__ */ A.jsxs(
|
|
10400
10426
|
"div",
|
|
10401
10427
|
{
|
|
10402
10428
|
ref: p,
|
|
@@ -10404,11 +10430,11 @@ function Xf({ item: e, level: t = 0, ...n }) {
|
|
|
10404
10430
|
onMouseOver: M,
|
|
10405
10431
|
onMouseOut: q,
|
|
10406
10432
|
children: [
|
|
10407
|
-
/* @__PURE__ */
|
|
10433
|
+
/* @__PURE__ */ A.jsx(
|
|
10408
10434
|
Gb,
|
|
10409
10435
|
{
|
|
10410
10436
|
hasTooltip: i && t === 1,
|
|
10411
|
-
children: /* @__PURE__ */
|
|
10437
|
+
children: /* @__PURE__ */ A.jsxs(
|
|
10412
10438
|
S,
|
|
10413
10439
|
{
|
|
10414
10440
|
to: E,
|
|
@@ -10418,16 +10444,16 @@ function Xf({ item: e, level: t = 0, ...n }) {
|
|
|
10418
10444
|
paddingLeft: P,
|
|
10419
10445
|
transition: "all 0.3s",
|
|
10420
10446
|
// transitionDelay: '0.1s',
|
|
10421
|
-
color: r(e.id) ? ((z = n.
|
|
10422
|
-
backgroundColor: r(e.id) ? (G = n.
|
|
10447
|
+
color: r(e.id) ? ((z = n.brandColors) == null ? void 0 : z.primary400) || Xb.primary400 : void 0,
|
|
10448
|
+
backgroundColor: r(e.id) && t === 1 ? (G = n.brandColors) == null ? void 0 : G.primary200 : void 0
|
|
10423
10449
|
},
|
|
10424
10450
|
onClick: (Q) => {
|
|
10425
10451
|
c && (Q.preventDefault(), i || s(e.id));
|
|
10426
10452
|
},
|
|
10427
10453
|
children: [
|
|
10428
|
-
t !== 0 && /* @__PURE__ */
|
|
10429
|
-
/* @__PURE__ */
|
|
10430
|
-
c && /* @__PURE__ */
|
|
10454
|
+
t !== 0 && /* @__PURE__ */ A.jsx(Kb, { cls: f, item: e }),
|
|
10455
|
+
/* @__PURE__ */ A.jsx("span", { className: f("menu-item__label"), children: e.name }),
|
|
10456
|
+
c && /* @__PURE__ */ A.jsx("div", { className: f("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ A.jsx(
|
|
10431
10457
|
Hb,
|
|
10432
10458
|
{
|
|
10433
10459
|
className: f(
|
|
@@ -10441,12 +10467,12 @@ function Xf({ item: e, level: t = 0, ...n }) {
|
|
|
10441
10467
|
title: e.name
|
|
10442
10468
|
}
|
|
10443
10469
|
),
|
|
10444
|
-
T && /* @__PURE__ */
|
|
10470
|
+
T && /* @__PURE__ */ A.jsx(
|
|
10445
10471
|
qb,
|
|
10446
10472
|
{
|
|
10447
10473
|
parentRef: p,
|
|
10448
10474
|
onlyChild: !i || i && k < 2,
|
|
10449
|
-
children: /* @__PURE__ */
|
|
10475
|
+
children: /* @__PURE__ */ A.jsx(
|
|
10450
10476
|
Qx.div,
|
|
10451
10477
|
{
|
|
10452
10478
|
className: f(
|
|
@@ -10477,12 +10503,12 @@ function Xf({ item: e, level: t = 0, ...n }) {
|
|
|
10477
10503
|
}
|
|
10478
10504
|
);
|
|
10479
10505
|
}
|
|
10480
|
-
function
|
|
10506
|
+
function Kb({ item: e, cls: t }) {
|
|
10481
10507
|
var s, a;
|
|
10482
10508
|
const [n, r] = x.useState(!e.icon), i = () => {
|
|
10483
10509
|
r(!0);
|
|
10484
10510
|
}, o = (s = e.icon) == null ? void 0 : s.endsWith(".svg");
|
|
10485
|
-
return /* @__PURE__ */
|
|
10511
|
+
return /* @__PURE__ */ A.jsx("div", { className: t("menu-item__icon"), children: n ? /* @__PURE__ */ A.jsx(
|
|
10486
10512
|
"div",
|
|
10487
10513
|
{
|
|
10488
10514
|
style: {
|
|
@@ -10496,7 +10522,7 @@ function Xb({ item: e, cls: t }) {
|
|
|
10496
10522
|
},
|
|
10497
10523
|
children: (a = e.name.trim().at(0)) == null ? void 0 : a.toUpperCase()
|
|
10498
10524
|
}
|
|
10499
|
-
) : o ? /* @__PURE__ */
|
|
10525
|
+
) : o ? /* @__PURE__ */ A.jsx(
|
|
10500
10526
|
Jo,
|
|
10501
10527
|
{
|
|
10502
10528
|
src: e.icon,
|
|
@@ -10506,7 +10532,7 @@ function Xb({ item: e, cls: t }) {
|
|
|
10506
10532
|
});
|
|
10507
10533
|
}
|
|
10508
10534
|
}
|
|
10509
|
-
) : /* @__PURE__ */
|
|
10535
|
+
) : /* @__PURE__ */ A.jsx(
|
|
10510
10536
|
"img",
|
|
10511
10537
|
{
|
|
10512
10538
|
src: e.icon || "/",
|
|
@@ -10516,8 +10542,8 @@ function Xb({ item: e, cls: t }) {
|
|
|
10516
10542
|
}
|
|
10517
10543
|
) });
|
|
10518
10544
|
}
|
|
10519
|
-
function
|
|
10520
|
-
return /* @__PURE__ */
|
|
10545
|
+
function Yb() {
|
|
10546
|
+
return /* @__PURE__ */ A.jsx(
|
|
10521
10547
|
"svg",
|
|
10522
10548
|
{
|
|
10523
10549
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10527,12 +10553,12 @@ function Kb() {
|
|
|
10527
10553
|
stroke: "currentColor",
|
|
10528
10554
|
strokeWidth: "0",
|
|
10529
10555
|
viewBox: "0 0 24 24",
|
|
10530
|
-
children: /* @__PURE__ */
|
|
10556
|
+
children: /* @__PURE__ */ A.jsx("path", { d: "M21 18v2H3v-2h18zM6.596 3.903L8.01 5.318 4.828 8.5 8.01 11.68l-1.414 1.415L2 8.5l4.596-4.597zM21 11v2h-9v-2h9zm0-7v2h-9V4h9z" })
|
|
10531
10557
|
}
|
|
10532
10558
|
);
|
|
10533
10559
|
}
|
|
10534
|
-
function
|
|
10535
|
-
return /* @__PURE__ */
|
|
10560
|
+
function Jb() {
|
|
10561
|
+
return /* @__PURE__ */ A.jsx(
|
|
10536
10562
|
"svg",
|
|
10537
10563
|
{
|
|
10538
10564
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10542,12 +10568,12 @@ function Yb() {
|
|
|
10542
10568
|
stroke: "currentColor",
|
|
10543
10569
|
strokeWidth: "0",
|
|
10544
10570
|
viewBox: "0 0 24 24",
|
|
10545
|
-
children: /* @__PURE__ */
|
|
10571
|
+
children: /* @__PURE__ */ A.jsx("path", { d: "M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z" })
|
|
10546
10572
|
}
|
|
10547
10573
|
);
|
|
10548
10574
|
}
|
|
10549
|
-
function
|
|
10550
|
-
return /* @__PURE__ */
|
|
10575
|
+
function Zb(e) {
|
|
10576
|
+
return /* @__PURE__ */ A.jsx(
|
|
10551
10577
|
"svg",
|
|
10552
10578
|
{
|
|
10553
10579
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10556,7 +10582,7 @@ function Jb(e) {
|
|
|
10556
10582
|
fill: "none",
|
|
10557
10583
|
viewBox: "0 0 18 20",
|
|
10558
10584
|
...e,
|
|
10559
|
-
children: /* @__PURE__ */
|
|
10585
|
+
children: /* @__PURE__ */ A.jsx(
|
|
10560
10586
|
"path",
|
|
10561
10587
|
{
|
|
10562
10588
|
fill: "#E01B00",
|
|
@@ -10568,11 +10594,11 @@ function Jb(e) {
|
|
|
10568
10594
|
}
|
|
10569
10595
|
);
|
|
10570
10596
|
}
|
|
10571
|
-
const
|
|
10572
|
-
`,
|
|
10573
|
-
function
|
|
10597
|
+
const Qb = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.expanded.level-2,.menu-item__link.active.expanded.level-3,.menu-item__link.active.expanded.level-4,.menu-item__link.active.expanded.level-5,.menu-item__link.active.expanded.level-6,.menu-item__link.active.expanded.level-7,.menu-item__link.active.expanded.level-8,.menu-item__link.active.expanded.level-9,.menu-item__link.active.expanded.level-10{background-color:unset;color:inherit}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1}.menu-item__label.level-1.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0,.menu-item__label.collapsed.level-1{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:0}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__wrapper.level-0.collapsed{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
|
|
10598
|
+
`, Al = localStorage.getItem("isCollapsed");
|
|
10599
|
+
function ew(e) {
|
|
10574
10600
|
const { baseUrl: t, menuPath: n } = e, r = Ur(), [i, o] = x.useState([]), [s, a] = x.useState(
|
|
10575
|
-
|
|
10601
|
+
Al === null ? !0 : Al === "true"
|
|
10576
10602
|
), [l, u] = x.useState({}), f = Zo(i), [c, d] = x.useState(window.location.href);
|
|
10577
10603
|
x.useEffect(() => {
|
|
10578
10604
|
d(window.location.href);
|
|
@@ -10601,7 +10627,7 @@ function Qb(e) {
|
|
|
10601
10627
|
parentKey: 0
|
|
10602
10628
|
}));
|
|
10603
10629
|
U = Jf(U), e.replacePath && (U = Yf(U, e.replacePath));
|
|
10604
|
-
const z =
|
|
10630
|
+
const z = nw(U);
|
|
10605
10631
|
u(z), o(U);
|
|
10606
10632
|
} catch (P) {
|
|
10607
10633
|
console.log(P), $g(
|
|
@@ -10611,16 +10637,16 @@ function Qb(e) {
|
|
|
10611
10637
|
})();
|
|
10612
10638
|
}, [t, n, e.replacePath]);
|
|
10613
10639
|
const [g, y] = x.useState(!1), b = s ? "collapsed" : "expanded", v = (E) => `${E} ${b}`, S = x.useRef(null);
|
|
10614
|
-
return /* @__PURE__ */
|
|
10615
|
-
/* @__PURE__ */
|
|
10640
|
+
return /* @__PURE__ */ A.jsxs("div", { className: v("side-bar"), children: [
|
|
10641
|
+
/* @__PURE__ */ A.jsx("div", { className: v("wrap-section side-bar__wrapper-toggle-btn"), children: /* @__PURE__ */ A.jsx(
|
|
10616
10642
|
"button",
|
|
10617
10643
|
{
|
|
10618
10644
|
className: "icon-btn side-bar__toggle-btn",
|
|
10619
10645
|
onClick: m,
|
|
10620
|
-
children: s ? /* @__PURE__ */
|
|
10646
|
+
children: s ? /* @__PURE__ */ A.jsx(Jb, {}) : /* @__PURE__ */ A.jsx(Yb, {})
|
|
10621
10647
|
}
|
|
10622
10648
|
) }),
|
|
10623
|
-
/* @__PURE__ */
|
|
10649
|
+
/* @__PURE__ */ A.jsx(
|
|
10624
10650
|
au,
|
|
10625
10651
|
{
|
|
10626
10652
|
ref: S,
|
|
@@ -10634,7 +10660,7 @@ function Qb(e) {
|
|
|
10634
10660
|
},
|
|
10635
10661
|
children: i.map((E) => {
|
|
10636
10662
|
const k = (T) => h.some((P) => P.id === T);
|
|
10637
|
-
return /* @__PURE__ */
|
|
10663
|
+
return /* @__PURE__ */ A.jsx(
|
|
10638
10664
|
Xf,
|
|
10639
10665
|
{
|
|
10640
10666
|
item: E,
|
|
@@ -10644,26 +10670,26 @@ function Qb(e) {
|
|
|
10644
10670
|
toggleExpand: p,
|
|
10645
10671
|
replacePath: e.replacePath,
|
|
10646
10672
|
ssr: e.ssr,
|
|
10647
|
-
|
|
10673
|
+
brandColors: e.brandColors
|
|
10648
10674
|
},
|
|
10649
10675
|
E.id
|
|
10650
10676
|
);
|
|
10651
10677
|
})
|
|
10652
10678
|
}
|
|
10653
10679
|
),
|
|
10654
|
-
/* @__PURE__ */
|
|
10655
|
-
/* @__PURE__ */
|
|
10680
|
+
/* @__PURE__ */ A.jsxs("div", { className: v("wrap-section side-bar__wrap-btn-logout"), children: [
|
|
10681
|
+
/* @__PURE__ */ A.jsxs(
|
|
10656
10682
|
"button",
|
|
10657
10683
|
{
|
|
10658
10684
|
className: v("side-bar__logout-btn"),
|
|
10659
10685
|
onClick: () => y(!0),
|
|
10660
10686
|
children: [
|
|
10661
|
-
/* @__PURE__ */
|
|
10662
|
-
/* @__PURE__ */
|
|
10687
|
+
/* @__PURE__ */ A.jsx(Zb, { className: v("side-bar__icon-logout") }),
|
|
10688
|
+
/* @__PURE__ */ A.jsx("span", { className: v("side-bar__logout-btn__text"), children: "Logout" })
|
|
10663
10689
|
]
|
|
10664
10690
|
}
|
|
10665
10691
|
),
|
|
10666
|
-
/* @__PURE__ */
|
|
10692
|
+
/* @__PURE__ */ A.jsx(
|
|
10667
10693
|
op,
|
|
10668
10694
|
{
|
|
10669
10695
|
isOpen: g,
|
|
@@ -10680,7 +10706,7 @@ function Zo(e) {
|
|
|
10680
10706
|
t.push(n), n.children && (t = t.concat(Zo(n.children)));
|
|
10681
10707
|
return t;
|
|
10682
10708
|
}
|
|
10683
|
-
function
|
|
10709
|
+
function tw(e, t) {
|
|
10684
10710
|
const n = new URL(e).searchParams, r = new URL(t).searchParams;
|
|
10685
10711
|
return Array.from(r).filter(
|
|
10686
10712
|
([i, o]) => o === n.get(i)
|
|
@@ -10690,7 +10716,7 @@ function Kf(e, t) {
|
|
|
10690
10716
|
const n = new URL(t), r = e.filter((s) => s.path && s.path.includes("http")).map((s) => ({
|
|
10691
10717
|
item: s,
|
|
10692
10718
|
itemUrl: new URL(s.path),
|
|
10693
|
-
matchingParamsCount:
|
|
10719
|
+
matchingParamsCount: tw(t, s.path)
|
|
10694
10720
|
})).sort((s, a) => {
|
|
10695
10721
|
const l = new URL(s.itemUrl).searchParams, u = new URL(a.itemUrl).searchParams;
|
|
10696
10722
|
return Array.from(l).length - Array.from(u).length;
|
|
@@ -10711,50 +10737,50 @@ function Jf(e) {
|
|
|
10711
10737
|
path: window.location.origin + n.path
|
|
10712
10738
|
} : (n.children && (n.children = Jf(n.children)), n));
|
|
10713
10739
|
}
|
|
10714
|
-
function
|
|
10740
|
+
function nw(e) {
|
|
10715
10741
|
const t = Zo(e), n = Kf(t, window.location.href), r = {};
|
|
10716
10742
|
return n.forEach((i) => r[i.id] = !0), t.forEach((i) => {
|
|
10717
10743
|
i.parentKey || (r[i.id] = !0);
|
|
10718
10744
|
}), r;
|
|
10719
10745
|
}
|
|
10720
|
-
function
|
|
10721
|
-
return /* @__PURE__ */
|
|
10746
|
+
function rw(e) {
|
|
10747
|
+
return /* @__PURE__ */ A.jsx(
|
|
10722
10748
|
Mg,
|
|
10723
10749
|
{
|
|
10724
|
-
styles: [np,
|
|
10750
|
+
styles: [np, Qb],
|
|
10725
10751
|
style: { position: "sticky", zIndex: 20 },
|
|
10726
|
-
children: /* @__PURE__ */
|
|
10752
|
+
children: /* @__PURE__ */ A.jsx(ew, { ...e })
|
|
10727
10753
|
}
|
|
10728
10754
|
);
|
|
10729
10755
|
}
|
|
10730
|
-
function
|
|
10731
|
-
return /* @__PURE__ */
|
|
10756
|
+
function iw(e) {
|
|
10757
|
+
return /* @__PURE__ */ A.jsx(Eb, { children: /* @__PURE__ */ A.jsx(rw, { ...e, ssr: !0 }) });
|
|
10732
10758
|
}
|
|
10733
10759
|
{
|
|
10734
|
-
const e = td(
|
|
10760
|
+
const e = td(iw, {
|
|
10735
10761
|
props: {
|
|
10736
10762
|
baseUrl: "string",
|
|
10737
10763
|
menuPath: "string",
|
|
10738
10764
|
logout: "function",
|
|
10739
10765
|
replacePath: "function",
|
|
10740
10766
|
ssr: "boolean",
|
|
10741
|
-
|
|
10767
|
+
brandColors: "json"
|
|
10742
10768
|
}
|
|
10743
10769
|
// shadow: 'open',
|
|
10744
10770
|
});
|
|
10745
10771
|
customElements.define("global-menu", e);
|
|
10746
10772
|
}
|
|
10747
10773
|
export {
|
|
10748
|
-
|
|
10774
|
+
rw as G,
|
|
10749
10775
|
op as L,
|
|
10750
10776
|
Mg as S,
|
|
10751
10777
|
yn as _,
|
|
10752
10778
|
xh as a,
|
|
10753
10779
|
Hf as b,
|
|
10754
10780
|
$i as c,
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10781
|
+
uw as d,
|
|
10782
|
+
Ab as e,
|
|
10783
|
+
sw as n,
|
|
10784
|
+
lw as o,
|
|
10759
10785
|
$g as p
|
|
10760
10786
|
};
|