@mitodl/smoot-design 6.0.0 → 6.0.1
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/bundles/remoteTutorDrawer.es.js +677 -677
- package/dist/bundles/remoteTutorDrawer.umd.js +18 -18
- package/dist/cjs/bundles/RemoteTutorDrawer/FlashcardsScreen.js +1 -1
- package/dist/cjs/bundles/RemoteTutorDrawer/RemoteTutorDrawer.js +5 -5
- package/dist/esm/bundles/RemoteTutorDrawer/FlashcardsScreen.js +1 -1
- package/dist/esm/bundles/RemoteTutorDrawer/RemoteTutorDrawer.js +5 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -70,7 +70,7 @@ function tA() {
|
|
|
70
70
|
var k = H.prototype = new R();
|
|
71
71
|
k.constructor = H, O(k, L.prototype), k.isPureReactComponent = !0;
|
|
72
72
|
var P = Array.isArray, I = { H: null, A: null, T: null, S: null }, M = Object.prototype.hasOwnProperty;
|
|
73
|
-
function
|
|
73
|
+
function j(C, J, oe, D, ce, Oe) {
|
|
74
74
|
return oe = Oe.ref, {
|
|
75
75
|
$$typeof: e,
|
|
76
76
|
type: C,
|
|
@@ -80,7 +80,7 @@ function tA() {
|
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
function ae(C, J) {
|
|
83
|
-
return
|
|
83
|
+
return j(
|
|
84
84
|
C.type,
|
|
85
85
|
J,
|
|
86
86
|
void 0,
|
|
@@ -89,7 +89,7 @@ function tA() {
|
|
|
89
89
|
C.props
|
|
90
90
|
);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function V(C) {
|
|
93
93
|
return typeof C == "object" && C !== null && C.$$typeof === e;
|
|
94
94
|
}
|
|
95
95
|
function A(C) {
|
|
@@ -98,11 +98,11 @@ function tA() {
|
|
|
98
98
|
return J[oe];
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
var
|
|
102
|
-
function
|
|
101
|
+
var Y = /\/+/g;
|
|
102
|
+
function X(C, J) {
|
|
103
103
|
return typeof C == "object" && C !== null && C.key != null ? A("" + C.key) : J.toString(36);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function K() {
|
|
106
106
|
}
|
|
107
107
|
function Z(C) {
|
|
108
108
|
switch (C.status) {
|
|
@@ -111,7 +111,7 @@ function tA() {
|
|
|
111
111
|
case "rejected":
|
|
112
112
|
throw C.reason;
|
|
113
113
|
default:
|
|
114
|
-
switch (typeof C.status == "string" ? C.then(
|
|
114
|
+
switch (typeof C.status == "string" ? C.then(K, K) : (C.status = "pending", C.then(
|
|
115
115
|
function(J) {
|
|
116
116
|
C.status === "pending" && (C.status = "fulfilled", C.value = J);
|
|
117
117
|
},
|
|
@@ -156,12 +156,12 @@ function tA() {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
if (Se)
|
|
159
|
-
return ce = ce(C), Se = D === "" ? "." +
|
|
159
|
+
return ce = ce(C), Se = D === "" ? "." + X(C, 0) : D, P(ce) ? (oe = "", Se != null && (oe = Se.replace(Y, "$&/") + "/"), re(ce, J, oe, "", function($e) {
|
|
160
160
|
return $e;
|
|
161
|
-
})) : ce != null && (
|
|
161
|
+
})) : ce != null && (V(ce) && (ce = ae(
|
|
162
162
|
ce,
|
|
163
163
|
oe + (ce.key == null || C && C.key === ce.key ? "" : ("" + ce.key).replace(
|
|
164
|
-
|
|
164
|
+
Y,
|
|
165
165
|
"$&/"
|
|
166
166
|
) + "/") + Se
|
|
167
167
|
)), J.push(ce)), 1;
|
|
@@ -169,7 +169,7 @@ function tA() {
|
|
|
169
169
|
var et = D === "" ? "." : D + ":";
|
|
170
170
|
if (P(C))
|
|
171
171
|
for (var Me = 0; Me < C.length; Me++)
|
|
172
|
-
D = C[Me], Oe = et +
|
|
172
|
+
D = C[Me], Oe = et + X(D, Me), Se += re(
|
|
173
173
|
D,
|
|
174
174
|
J,
|
|
175
175
|
oe,
|
|
@@ -178,7 +178,7 @@ function tA() {
|
|
|
178
178
|
);
|
|
179
179
|
else if (Me = S(C), typeof Me == "function")
|
|
180
180
|
for (C = Me.call(C), Me = 0; !(D = C.next()).done; )
|
|
181
|
-
D = D.value, Oe = et +
|
|
181
|
+
D = D.value, Oe = et + X(D, Me++), Se += re(
|
|
182
182
|
D,
|
|
183
183
|
J,
|
|
184
184
|
oe,
|
|
@@ -200,7 +200,7 @@ function tA() {
|
|
|
200
200
|
}
|
|
201
201
|
return Se;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Q(C, J, oe) {
|
|
204
204
|
if (C == null) return C;
|
|
205
205
|
var D = [], ce = 0;
|
|
206
206
|
return re(C, D, "", "", function(Oe) {
|
|
@@ -240,9 +240,9 @@ function tA() {
|
|
|
240
240
|
function be() {
|
|
241
241
|
}
|
|
242
242
|
return tt.Children = {
|
|
243
|
-
map:
|
|
243
|
+
map: Q,
|
|
244
244
|
forEach: function(C, J, oe) {
|
|
245
|
-
|
|
245
|
+
Q(
|
|
246
246
|
C,
|
|
247
247
|
function() {
|
|
248
248
|
J.apply(this, arguments);
|
|
@@ -252,17 +252,17 @@ function tA() {
|
|
|
252
252
|
},
|
|
253
253
|
count: function(C) {
|
|
254
254
|
var J = 0;
|
|
255
|
-
return
|
|
255
|
+
return Q(C, function() {
|
|
256
256
|
J++;
|
|
257
257
|
}), J;
|
|
258
258
|
},
|
|
259
259
|
toArray: function(C) {
|
|
260
|
-
return
|
|
260
|
+
return Q(C, function(J) {
|
|
261
261
|
return J;
|
|
262
262
|
}) || [];
|
|
263
263
|
},
|
|
264
264
|
only: function(C) {
|
|
265
|
-
if (!
|
|
265
|
+
if (!V(C))
|
|
266
266
|
throw Error(
|
|
267
267
|
"React.Children.only expected to receive a single React element child."
|
|
268
268
|
);
|
|
@@ -290,7 +290,7 @@ function tA() {
|
|
|
290
290
|
et[Me] = arguments[Me + 2];
|
|
291
291
|
D.children = et;
|
|
292
292
|
}
|
|
293
|
-
return
|
|
293
|
+
return j(C.type, ce, void 0, void 0, Oe, D);
|
|
294
294
|
}, tt.createContext = function(C) {
|
|
295
295
|
return C = {
|
|
296
296
|
$$typeof: c,
|
|
@@ -318,12 +318,12 @@ function tA() {
|
|
|
318
318
|
if (C && C.defaultProps)
|
|
319
319
|
for (D in Se = C.defaultProps, Se)
|
|
320
320
|
ce[D] === void 0 && (ce[D] = Se[D]);
|
|
321
|
-
return
|
|
321
|
+
return j(C, Oe, void 0, void 0, null, ce);
|
|
322
322
|
}, tt.createRef = function() {
|
|
323
323
|
return { current: null };
|
|
324
324
|
}, tt.forwardRef = function(C) {
|
|
325
325
|
return { $$typeof: d, render: C };
|
|
326
|
-
}, tt.isValidElement =
|
|
326
|
+
}, tt.isValidElement = V, tt.lazy = function(C) {
|
|
327
327
|
return {
|
|
328
328
|
$$typeof: b,
|
|
329
329
|
_payload: { _status: -1, _result: C },
|
|
@@ -411,38 +411,38 @@ var x0 = { exports: {} }, $l = {}, _0 = { exports: {} }, v0 = {};
|
|
|
411
411
|
var _b;
|
|
412
412
|
function nA() {
|
|
413
413
|
return _b || (_b = 1, function(e) {
|
|
414
|
-
function t(
|
|
415
|
-
var ne =
|
|
416
|
-
|
|
414
|
+
function t(Q, se) {
|
|
415
|
+
var ne = Q.length;
|
|
416
|
+
Q.push(se);
|
|
417
417
|
e: for (; 0 < ne; ) {
|
|
418
|
-
var be = ne - 1 >>> 1, C =
|
|
418
|
+
var be = ne - 1 >>> 1, C = Q[be];
|
|
419
419
|
if (0 < l(C, se))
|
|
420
|
-
|
|
420
|
+
Q[be] = se, Q[ne] = C, ne = be;
|
|
421
421
|
else break e;
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
function r(
|
|
425
|
-
return
|
|
424
|
+
function r(Q) {
|
|
425
|
+
return Q.length === 0 ? null : Q[0];
|
|
426
426
|
}
|
|
427
|
-
function i(
|
|
428
|
-
if (
|
|
429
|
-
var se =
|
|
427
|
+
function i(Q) {
|
|
428
|
+
if (Q.length === 0) return null;
|
|
429
|
+
var se = Q[0], ne = Q.pop();
|
|
430
430
|
if (ne !== se) {
|
|
431
|
-
|
|
432
|
-
e: for (var be = 0, C =
|
|
433
|
-
var oe = 2 * (be + 1) - 1, D =
|
|
431
|
+
Q[0] = ne;
|
|
432
|
+
e: for (var be = 0, C = Q.length, J = C >>> 1; be < J; ) {
|
|
433
|
+
var oe = 2 * (be + 1) - 1, D = Q[oe], ce = oe + 1, Oe = Q[ce];
|
|
434
434
|
if (0 > l(D, ne))
|
|
435
|
-
ce < C && 0 > l(Oe, D) ? (
|
|
435
|
+
ce < C && 0 > l(Oe, D) ? (Q[be] = Oe, Q[ce] = ne, be = ce) : (Q[be] = D, Q[oe] = ne, be = oe);
|
|
436
436
|
else if (ce < C && 0 > l(Oe, ne))
|
|
437
|
-
|
|
437
|
+
Q[be] = Oe, Q[ce] = ne, be = ce;
|
|
438
438
|
else break e;
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
return se;
|
|
442
442
|
}
|
|
443
|
-
function l(
|
|
444
|
-
var ne =
|
|
445
|
-
return ne !== 0 ? ne :
|
|
443
|
+
function l(Q, se) {
|
|
444
|
+
var ne = Q.sortIndex - se.sortIndex;
|
|
445
|
+
return ne !== 0 ? ne : Q.id - se.id;
|
|
446
446
|
}
|
|
447
447
|
if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
|
|
448
448
|
var s = performance;
|
|
@@ -456,32 +456,32 @@ function nA() {
|
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
458
|
var p = [], m = [], b = 1, E = null, S = 3, y = !1, O = !1, _ = !1, L = typeof setTimeout == "function" ? setTimeout : null, R = typeof clearTimeout == "function" ? clearTimeout : null, H = typeof setImmediate < "u" ? setImmediate : null;
|
|
459
|
-
function k(
|
|
459
|
+
function k(Q) {
|
|
460
460
|
for (var se = r(m); se !== null; ) {
|
|
461
461
|
if (se.callback === null) i(m);
|
|
462
|
-
else if (se.startTime <=
|
|
462
|
+
else if (se.startTime <= Q)
|
|
463
463
|
i(m), se.sortIndex = se.expirationTime, t(p, se);
|
|
464
464
|
else break;
|
|
465
465
|
se = r(m);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function P(
|
|
469
|
-
if (_ = !1, k(
|
|
468
|
+
function P(Q) {
|
|
469
|
+
if (_ = !1, k(Q), !O)
|
|
470
470
|
if (r(p) !== null)
|
|
471
471
|
O = !0, Z();
|
|
472
472
|
else {
|
|
473
473
|
var se = r(m);
|
|
474
|
-
se !== null && re(P, se.startTime -
|
|
474
|
+
se !== null && re(P, se.startTime - Q);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
var I = !1, M = -1,
|
|
478
|
-
function
|
|
479
|
-
return !(e.unstable_now() - ae <
|
|
477
|
+
var I = !1, M = -1, j = 5, ae = -1;
|
|
478
|
+
function V() {
|
|
479
|
+
return !(e.unstable_now() - ae < j);
|
|
480
480
|
}
|
|
481
481
|
function A() {
|
|
482
482
|
if (I) {
|
|
483
|
-
var
|
|
484
|
-
ae =
|
|
483
|
+
var Q = e.unstable_now();
|
|
484
|
+
ae = Q;
|
|
485
485
|
var se = !0;
|
|
486
486
|
try {
|
|
487
487
|
e: {
|
|
@@ -489,18 +489,18 @@ function nA() {
|
|
|
489
489
|
var ne = S;
|
|
490
490
|
try {
|
|
491
491
|
t: {
|
|
492
|
-
for (k(
|
|
492
|
+
for (k(Q), E = r(p); E !== null && !(E.expirationTime > Q && V()); ) {
|
|
493
493
|
var be = E.callback;
|
|
494
494
|
if (typeof be == "function") {
|
|
495
495
|
E.callback = null, S = E.priorityLevel;
|
|
496
496
|
var C = be(
|
|
497
|
-
E.expirationTime <=
|
|
497
|
+
E.expirationTime <= Q
|
|
498
498
|
);
|
|
499
|
-
if (
|
|
500
|
-
E.callback = C, k(
|
|
499
|
+
if (Q = e.unstable_now(), typeof C == "function") {
|
|
500
|
+
E.callback = C, k(Q), se = !0;
|
|
501
501
|
break t;
|
|
502
502
|
}
|
|
503
|
-
E === r(p) && i(p), k(
|
|
503
|
+
E === r(p) && i(p), k(Q);
|
|
504
504
|
} else i(p);
|
|
505
505
|
E = r(p);
|
|
506
506
|
}
|
|
@@ -509,7 +509,7 @@ function nA() {
|
|
|
509
509
|
var J = r(m);
|
|
510
510
|
J !== null && re(
|
|
511
511
|
P,
|
|
512
|
-
J.startTime -
|
|
512
|
+
J.startTime - Q
|
|
513
513
|
), se = !1;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -520,45 +520,45 @@ function nA() {
|
|
|
520
520
|
se = void 0;
|
|
521
521
|
}
|
|
522
522
|
} finally {
|
|
523
|
-
se ?
|
|
523
|
+
se ? Y() : I = !1;
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
var
|
|
527
|
+
var Y;
|
|
528
528
|
if (typeof H == "function")
|
|
529
|
-
|
|
529
|
+
Y = function() {
|
|
530
530
|
H(A);
|
|
531
531
|
};
|
|
532
532
|
else if (typeof MessageChannel < "u") {
|
|
533
|
-
var
|
|
534
|
-
|
|
535
|
-
|
|
533
|
+
var X = new MessageChannel(), K = X.port2;
|
|
534
|
+
X.port1.onmessage = A, Y = function() {
|
|
535
|
+
K.postMessage(null);
|
|
536
536
|
};
|
|
537
537
|
} else
|
|
538
|
-
|
|
538
|
+
Y = function() {
|
|
539
539
|
L(A, 0);
|
|
540
540
|
};
|
|
541
541
|
function Z() {
|
|
542
|
-
I || (I = !0,
|
|
542
|
+
I || (I = !0, Y());
|
|
543
543
|
}
|
|
544
|
-
function re(
|
|
544
|
+
function re(Q, se) {
|
|
545
545
|
M = L(function() {
|
|
546
|
-
|
|
546
|
+
Q(e.unstable_now());
|
|
547
547
|
}, se);
|
|
548
548
|
}
|
|
549
|
-
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(
|
|
550
|
-
|
|
549
|
+
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(Q) {
|
|
550
|
+
Q.callback = null;
|
|
551
551
|
}, e.unstable_continueExecution = function() {
|
|
552
552
|
O || y || (O = !0, Z());
|
|
553
|
-
}, e.unstable_forceFrameRate = function(
|
|
554
|
-
0 >
|
|
553
|
+
}, e.unstable_forceFrameRate = function(Q) {
|
|
554
|
+
0 > Q || 125 < Q ? console.error(
|
|
555
555
|
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
|
|
556
|
-
) :
|
|
556
|
+
) : j = 0 < Q ? Math.floor(1e3 / Q) : 5;
|
|
557
557
|
}, e.unstable_getCurrentPriorityLevel = function() {
|
|
558
558
|
return S;
|
|
559
559
|
}, e.unstable_getFirstCallbackNode = function() {
|
|
560
560
|
return r(p);
|
|
561
|
-
}, e.unstable_next = function(
|
|
561
|
+
}, e.unstable_next = function(Q) {
|
|
562
562
|
switch (S) {
|
|
563
563
|
case 1:
|
|
564
564
|
case 2:
|
|
@@ -571,14 +571,14 @@ function nA() {
|
|
|
571
571
|
var ne = S;
|
|
572
572
|
S = se;
|
|
573
573
|
try {
|
|
574
|
-
return
|
|
574
|
+
return Q();
|
|
575
575
|
} finally {
|
|
576
576
|
S = ne;
|
|
577
577
|
}
|
|
578
578
|
}, e.unstable_pauseExecution = function() {
|
|
579
579
|
}, e.unstable_requestPaint = function() {
|
|
580
|
-
}, e.unstable_runWithPriority = function(
|
|
581
|
-
switch (
|
|
580
|
+
}, e.unstable_runWithPriority = function(Q, se) {
|
|
581
|
+
switch (Q) {
|
|
582
582
|
case 1:
|
|
583
583
|
case 2:
|
|
584
584
|
case 3:
|
|
@@ -586,18 +586,18 @@ function nA() {
|
|
|
586
586
|
case 5:
|
|
587
587
|
break;
|
|
588
588
|
default:
|
|
589
|
-
|
|
589
|
+
Q = 3;
|
|
590
590
|
}
|
|
591
591
|
var ne = S;
|
|
592
|
-
S =
|
|
592
|
+
S = Q;
|
|
593
593
|
try {
|
|
594
594
|
return se();
|
|
595
595
|
} finally {
|
|
596
596
|
S = ne;
|
|
597
597
|
}
|
|
598
|
-
}, e.unstable_scheduleCallback = function(
|
|
598
|
+
}, e.unstable_scheduleCallback = function(Q, se, ne) {
|
|
599
599
|
var be = e.unstable_now();
|
|
600
|
-
switch (typeof ne == "object" && ne !== null ? (ne = ne.delay, ne = typeof ne == "number" && 0 < ne ? be + ne : be) : ne = be,
|
|
600
|
+
switch (typeof ne == "object" && ne !== null ? (ne = ne.delay, ne = typeof ne == "number" && 0 < ne ? be + ne : be) : ne = be, Q) {
|
|
601
601
|
case 1:
|
|
602
602
|
var C = -1;
|
|
603
603
|
break;
|
|
@@ -613,21 +613,21 @@ function nA() {
|
|
|
613
613
|
default:
|
|
614
614
|
C = 5e3;
|
|
615
615
|
}
|
|
616
|
-
return C = ne + C,
|
|
616
|
+
return C = ne + C, Q = {
|
|
617
617
|
id: b++,
|
|
618
618
|
callback: se,
|
|
619
|
-
priorityLevel:
|
|
619
|
+
priorityLevel: Q,
|
|
620
620
|
startTime: ne,
|
|
621
621
|
expirationTime: C,
|
|
622
622
|
sortIndex: -1
|
|
623
|
-
}, ne > be ? (
|
|
624
|
-
}, e.unstable_shouldYield =
|
|
623
|
+
}, ne > be ? (Q.sortIndex = ne, t(m, Q), r(p) === null && Q === r(m) && (_ ? (R(M), M = -1) : _ = !0, re(P, ne - be))) : (Q.sortIndex = C, t(p, Q), O || y || (O = !0, Z())), Q;
|
|
624
|
+
}, e.unstable_shouldYield = V, e.unstable_wrapCallback = function(Q) {
|
|
625
625
|
var se = S;
|
|
626
626
|
return function() {
|
|
627
627
|
var ne = S;
|
|
628
628
|
S = se;
|
|
629
629
|
try {
|
|
630
|
-
return
|
|
630
|
+
return Q.apply(this, arguments);
|
|
631
631
|
} finally {
|
|
632
632
|
S = ne;
|
|
633
633
|
}
|
|
@@ -826,11 +826,11 @@ function iA() {
|
|
|
826
826
|
function M(n) {
|
|
827
827
|
return n === null || typeof n != "object" ? null : (n = I && n[I] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
828
828
|
}
|
|
829
|
-
var
|
|
829
|
+
var j = Symbol.for("react.client.reference");
|
|
830
830
|
function ae(n) {
|
|
831
831
|
if (n == null) return null;
|
|
832
832
|
if (typeof n == "function")
|
|
833
|
-
return n.$$typeof ===
|
|
833
|
+
return n.$$typeof === j ? null : n.displayName || n.name || null;
|
|
834
834
|
if (typeof n == "string") return n;
|
|
835
835
|
switch (n) {
|
|
836
836
|
case p:
|
|
@@ -866,18 +866,18 @@ function iA() {
|
|
|
866
866
|
}
|
|
867
867
|
return null;
|
|
868
868
|
}
|
|
869
|
-
var
|
|
870
|
-
function
|
|
871
|
-
if (
|
|
869
|
+
var V = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.assign, Y, X;
|
|
870
|
+
function K(n) {
|
|
871
|
+
if (Y === void 0)
|
|
872
872
|
try {
|
|
873
873
|
throw Error();
|
|
874
874
|
} catch (u) {
|
|
875
875
|
var a = u.stack.trim().match(/\n( *(at )?)/);
|
|
876
|
-
|
|
876
|
+
Y = a && a[1] || "", X = -1 < u.stack.indexOf(`
|
|
877
877
|
at`) ? " (<anonymous>)" : -1 < u.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
878
878
|
}
|
|
879
879
|
return `
|
|
880
|
-
` +
|
|
880
|
+
` + Y + n + X;
|
|
881
881
|
}
|
|
882
882
|
var Z = !1;
|
|
883
883
|
function re(n, a) {
|
|
@@ -968,20 +968,20 @@ function iA() {
|
|
|
968
968
|
} finally {
|
|
969
969
|
Z = !1, Error.prepareStackTrace = u;
|
|
970
970
|
}
|
|
971
|
-
return (u = n ? n.displayName || n.name : "") ?
|
|
971
|
+
return (u = n ? n.displayName || n.name : "") ? K(u) : "";
|
|
972
972
|
}
|
|
973
|
-
function
|
|
973
|
+
function Q(n) {
|
|
974
974
|
switch (n.tag) {
|
|
975
975
|
case 26:
|
|
976
976
|
case 27:
|
|
977
977
|
case 5:
|
|
978
|
-
return
|
|
978
|
+
return K(n.type);
|
|
979
979
|
case 16:
|
|
980
|
-
return
|
|
980
|
+
return K("Lazy");
|
|
981
981
|
case 13:
|
|
982
|
-
return
|
|
982
|
+
return K("Suspense");
|
|
983
983
|
case 19:
|
|
984
|
-
return
|
|
984
|
+
return K("SuspenseList");
|
|
985
985
|
case 0:
|
|
986
986
|
case 15:
|
|
987
987
|
return n = re(n.type, !1), n;
|
|
@@ -997,7 +997,7 @@ function iA() {
|
|
|
997
997
|
try {
|
|
998
998
|
var a = "";
|
|
999
999
|
do
|
|
1000
|
-
a +=
|
|
1000
|
+
a += Q(n), n = n.return;
|
|
1001
1001
|
while (n);
|
|
1002
1002
|
return a;
|
|
1003
1003
|
} catch (u) {
|
|
@@ -3037,8 +3037,8 @@ Error generating stack: ` + u.message + `
|
|
|
3037
3037
|
}
|
|
3038
3038
|
), o;
|
|
3039
3039
|
}
|
|
3040
|
-
var Jm =
|
|
3041
|
-
|
|
3040
|
+
var Jm = V.S;
|
|
3041
|
+
V.S = function(n, a) {
|
|
3042
3042
|
typeof a == "object" && a !== null && typeof a.then == "function" && zC(n, a), Jm !== null && Jm(n, a);
|
|
3043
3043
|
};
|
|
3044
3044
|
var ci = Me(null);
|
|
@@ -3064,7 +3064,7 @@ Error generating stack: ` + u.message + `
|
|
|
3064
3064
|
return !0;
|
|
3065
3065
|
}
|
|
3066
3066
|
function Zf(n, a, u, o, f, h) {
|
|
3067
|
-
return Ra = h, rt = a, a.memoizedState = null, a.updateQueue = null, a.lanes = 0,
|
|
3067
|
+
return Ra = h, rt = a, a.memoizedState = null, a.updateQueue = null, a.lanes = 0, V.H = n === null || n.memoizedState === null ? di : Oa, fi = !1, h = u(o, f), fi = !1, ru && (h = n1(
|
|
3068
3068
|
a,
|
|
3069
3069
|
u,
|
|
3070
3070
|
o,
|
|
@@ -3072,7 +3072,7 @@ Error generating stack: ` + u.message + `
|
|
|
3072
3072
|
)), t1(n), h;
|
|
3073
3073
|
}
|
|
3074
3074
|
function t1(n) {
|
|
3075
|
-
|
|
3075
|
+
V.H = Br;
|
|
3076
3076
|
var a = Ct !== null && Ct.next !== null;
|
|
3077
3077
|
if (Ra = 0, en = Ct = rt = null, As = !1, bl = 0, au = null, a) throw Error(i(300));
|
|
3078
3078
|
n === null || dn || (n = n.dependencies, n !== null && Is(n) && (dn = !0));
|
|
@@ -3086,12 +3086,12 @@ Error generating stack: ` + u.message + `
|
|
|
3086
3086
|
var h = n.updateQueue;
|
|
3087
3087
|
h.lastEffect = null, h.events = null, h.stores = null, h.memoCache != null && (h.memoCache.index = 0);
|
|
3088
3088
|
}
|
|
3089
|
-
|
|
3089
|
+
V.H = hi, h = a(u, o);
|
|
3090
3090
|
} while (ru);
|
|
3091
3091
|
return h;
|
|
3092
3092
|
}
|
|
3093
3093
|
function VC() {
|
|
3094
|
-
var n =
|
|
3094
|
+
var n = V.H, a = n.useState()[0];
|
|
3095
3095
|
return a = typeof a.then == "function" ? El(a) : a, n = n.useState()[0], (Ct !== null ? Ct.memoizedState : null) !== n && (rt.flags |= 1024), a;
|
|
3096
3096
|
}
|
|
3097
3097
|
function Jf() {
|
|
@@ -3148,7 +3148,7 @@ Error generating stack: ` + u.message + `
|
|
|
3148
3148
|
};
|
|
3149
3149
|
function El(n) {
|
|
3150
3150
|
var a = bl;
|
|
3151
|
-
return bl += 1, au === null && (au = []), n = $m(au, n, a), a = rt, (en === null ? a.memoizedState : en.next) === null && (a = a.alternate,
|
|
3151
|
+
return bl += 1, au === null && (au = []), n = $m(au, n, a), a = rt, (en === null ? a.memoizedState : en.next) === null && (a = a.alternate, V.H = a === null || a.memoizedState === null ? di : Oa), n;
|
|
3152
3152
|
}
|
|
3153
3153
|
function vs(n) {
|
|
3154
3154
|
if (n !== null && typeof n == "object") {
|
|
@@ -3352,21 +3352,21 @@ Error generating stack: ` + u.message + `
|
|
|
3352
3352
|
h.listeners.push(T);
|
|
3353
3353
|
}
|
|
3354
3354
|
};
|
|
3355
|
-
|
|
3355
|
+
V.T !== null ? u(!0) : h.isTransition = !1, o(h), u = a.pending, u === null ? (h.next = a.pending = h, c1(a, h)) : (h.next = u.next, a.pending = u.next = h);
|
|
3356
3356
|
}
|
|
3357
3357
|
}
|
|
3358
3358
|
function c1(n, a) {
|
|
3359
3359
|
var u = a.action, o = a.payload, f = n.state;
|
|
3360
3360
|
if (a.isTransition) {
|
|
3361
|
-
var h =
|
|
3362
|
-
|
|
3361
|
+
var h = V.T, T = {};
|
|
3362
|
+
V.T = T;
|
|
3363
3363
|
try {
|
|
3364
|
-
var v = u(f, o), B =
|
|
3364
|
+
var v = u(f, o), B = V.S;
|
|
3365
3365
|
B !== null && B(T, v), f1(n, a, v);
|
|
3366
3366
|
} catch (z) {
|
|
3367
3367
|
ud(n, a, z);
|
|
3368
3368
|
} finally {
|
|
3369
|
-
|
|
3369
|
+
V.T = h;
|
|
3370
3370
|
}
|
|
3371
3371
|
} else
|
|
3372
3372
|
try {
|
|
@@ -3581,10 +3581,10 @@ Error generating stack: ` + u.message + `
|
|
|
3581
3581
|
function O1(n, a, u, o, f) {
|
|
3582
3582
|
var h = ce.p;
|
|
3583
3583
|
ce.p = h !== 0 && 8 > h ? h : 8;
|
|
3584
|
-
var T =
|
|
3585
|
-
|
|
3584
|
+
var T = V.T, v = {};
|
|
3585
|
+
V.T = v, dd(n, !1, a, u);
|
|
3586
3586
|
try {
|
|
3587
|
-
var B = f(), z =
|
|
3587
|
+
var B = f(), z = V.S;
|
|
3588
3588
|
if (z !== null && z(v, B), B !== null && typeof B == "object" && typeof B.then == "function") {
|
|
3589
3589
|
var le = YC(
|
|
3590
3590
|
B,
|
|
@@ -3612,7 +3612,7 @@ Error generating stack: ` + u.message + `
|
|
|
3612
3612
|
Qn()
|
|
3613
3613
|
);
|
|
3614
3614
|
} finally {
|
|
3615
|
-
ce.p = h,
|
|
3615
|
+
ce.p = h, V.T = T;
|
|
3616
3616
|
}
|
|
3617
3617
|
}
|
|
3618
3618
|
function GC() {
|
|
@@ -6959,7 +6959,7 @@ Error generating stack: ` + u.message + `
|
|
|
6959
6959
|
function Qn() {
|
|
6960
6960
|
if ((Yt & 2) !== 0 && dt !== 0)
|
|
6961
6961
|
return dt & -dt;
|
|
6962
|
-
if (
|
|
6962
|
+
if (V.T !== null) {
|
|
6963
6963
|
var n = tu;
|
|
6964
6964
|
return n !== 0 ? n : t0();
|
|
6965
6965
|
}
|
|
@@ -7207,18 +7207,18 @@ Error generating stack: ` + u.message + `
|
|
|
7207
7207
|
return da = a, ds(), u;
|
|
7208
7208
|
}
|
|
7209
7209
|
function Dg(n, a) {
|
|
7210
|
-
rt = null,
|
|
7210
|
+
rt = null, V.H = Br, a === fl ? (a = qm(), Dt = 3) : a === jm ? (a = qm(), Dt = 4) : Dt = a === V1 ? 8 : a !== null && typeof a == "object" && typeof a.then == "function" ? 6 : 1, Xn = a, lt === null && ($t = 1, Ls(
|
|
7211
7211
|
n,
|
|
7212
7212
|
or(a, n.current)
|
|
7213
7213
|
));
|
|
7214
7214
|
}
|
|
7215
7215
|
function Lg() {
|
|
7216
|
-
var n =
|
|
7217
|
-
return
|
|
7216
|
+
var n = V.H;
|
|
7217
|
+
return V.H = Br, n === null ? Br : n;
|
|
7218
7218
|
}
|
|
7219
7219
|
function Ig() {
|
|
7220
|
-
var n =
|
|
7221
|
-
return
|
|
7220
|
+
var n = V.A;
|
|
7221
|
+
return V.A = r6, n;
|
|
7222
7222
|
}
|
|
7223
7223
|
function Kd() {
|
|
7224
7224
|
$t = 4, fa || (dt & 4194176) !== dt && fr.current !== null || (su = !0), (Pa & 134217727) === 0 && (yi & 134217727) === 0 || kt === null || ha(
|
|
@@ -7262,7 +7262,7 @@ Error generating stack: ` + u.message + `
|
|
|
7262
7262
|
Dg(n, le);
|
|
7263
7263
|
}
|
|
7264
7264
|
while (!0);
|
|
7265
|
-
return a && n.shellSuspendCounter++, ia = mi = null, Yt = o,
|
|
7265
|
+
return a && n.shellSuspendCounter++, ia = mi = null, Yt = o, V.H = f, V.A = h, lt === null && (kt = null, dt = 0, ds()), T;
|
|
7266
7266
|
}
|
|
7267
7267
|
function u6() {
|
|
7268
7268
|
for (; lt !== null; ) wg(lt);
|
|
@@ -7339,7 +7339,7 @@ Error generating stack: ` + u.message + `
|
|
|
7339
7339
|
Dg(n, le);
|
|
7340
7340
|
}
|
|
7341
7341
|
while (!0);
|
|
7342
|
-
return ia = mi = null,
|
|
7342
|
+
return ia = mi = null, V.H = o, V.A = f, Yt = u, lt !== null ? 0 : (kt = null, dt = 0, ds(), $t);
|
|
7343
7343
|
}
|
|
7344
7344
|
function o6() {
|
|
7345
7345
|
for (; lt !== null && !Sn(); )
|
|
@@ -7451,9 +7451,9 @@ Error generating stack: ` + u.message + `
|
|
|
7451
7451
|
$t = 6, lt = null;
|
|
7452
7452
|
}
|
|
7453
7453
|
function Pg(n, a, u, o, f, h, T, v, B, z) {
|
|
7454
|
-
var le =
|
|
7454
|
+
var le = V.T, he = ce.p;
|
|
7455
7455
|
try {
|
|
7456
|
-
ce.p = 2,
|
|
7456
|
+
ce.p = 2, V.T = null, s6(
|
|
7457
7457
|
n,
|
|
7458
7458
|
a,
|
|
7459
7459
|
u,
|
|
@@ -7467,7 +7467,7 @@ Error generating stack: ` + u.message + `
|
|
|
7467
7467
|
z
|
|
7468
7468
|
);
|
|
7469
7469
|
} finally {
|
|
7470
|
-
|
|
7470
|
+
V.T = le, ce.p = he;
|
|
7471
7471
|
}
|
|
7472
7472
|
}
|
|
7473
7473
|
function s6(n, a, u, o, f, h, T, v) {
|
|
@@ -7489,7 +7489,7 @@ Error generating stack: ` + u.message + `
|
|
|
7489
7489
|
v
|
|
7490
7490
|
), n === kt && (lt = kt = null, dt = 0), (B.subtreeFlags & 10256) === 0 && (B.flags & 10256) === 0 || zs || (zs = !0, $d = z, qd = u, h6(Ae, function() {
|
|
7491
7491
|
return hu(), null;
|
|
7492
|
-
})), u = (B.flags & 15990) !== 0, (B.subtreeFlags & 15990) !== 0 || u ? (u =
|
|
7492
|
+
})), u = (B.flags & 15990) !== 0, (B.subtreeFlags & 15990) !== 0 || u ? (u = V.T, V.T = null, h = ce.p, ce.p = 2, T = Yt, Yt |= 4, ZC(n, B), bg(B, n), IC(s0, n.containerInfo), tc = !!o0, s0 = o0 = null, n.current = B, hg(n, B.alternate, B), Ie(), Yt = T, ce.p = h, V.T = u) : n.current = B, zs ? (zs = !1, Ti = n, Dl = o) : Ug(n, z), z = n.pendingLanes, z === 0 && (Ua = null), ke(B.stateNode), Ur(n), a !== null)
|
|
7493
7493
|
for (f = n.onRecoverableError, B = 0; B < a.length; B++)
|
|
7494
7494
|
z = a[B], f(z.value, {
|
|
7495
7495
|
componentStack: z.stack
|
|
@@ -7503,9 +7503,9 @@ Error generating stack: ` + u.message + `
|
|
|
7503
7503
|
if (Ti !== null) {
|
|
7504
7504
|
var n = Ti, a = $d;
|
|
7505
7505
|
$d = 0;
|
|
7506
|
-
var u = Gp(Dl), o =
|
|
7506
|
+
var u = Gp(Dl), o = V.T, f = ce.p;
|
|
7507
7507
|
try {
|
|
7508
|
-
if (ce.p = 32 > u ? 32 : u,
|
|
7508
|
+
if (ce.p = 32 > u ? 32 : u, V.T = null, Ti === null)
|
|
7509
7509
|
var h = !1;
|
|
7510
7510
|
else {
|
|
7511
7511
|
u = qd, qd = null;
|
|
@@ -7522,7 +7522,7 @@ Error generating stack: ` + u.message + `
|
|
|
7522
7522
|
}
|
|
7523
7523
|
return h;
|
|
7524
7524
|
} finally {
|
|
7525
|
-
ce.p = f,
|
|
7525
|
+
ce.p = f, V.T = o, Ug(n, a);
|
|
7526
7526
|
}
|
|
7527
7527
|
}
|
|
7528
7528
|
return !1;
|
|
@@ -9558,23 +9558,23 @@ Error generating stack: ` + u.message + `
|
|
|
9558
9558
|
}
|
|
9559
9559
|
var tc = !0;
|
|
9560
9560
|
function $6(n, a, u, o) {
|
|
9561
|
-
var f =
|
|
9562
|
-
|
|
9561
|
+
var f = V.T;
|
|
9562
|
+
V.T = null;
|
|
9563
9563
|
var h = ce.p;
|
|
9564
9564
|
try {
|
|
9565
9565
|
ce.p = 2, E0(n, a, u, o);
|
|
9566
9566
|
} finally {
|
|
9567
|
-
ce.p = h,
|
|
9567
|
+
ce.p = h, V.T = f;
|
|
9568
9568
|
}
|
|
9569
9569
|
}
|
|
9570
9570
|
function q6(n, a, u, o) {
|
|
9571
|
-
var f =
|
|
9572
|
-
|
|
9571
|
+
var f = V.T;
|
|
9572
|
+
V.T = null;
|
|
9573
9573
|
var h = ce.p;
|
|
9574
9574
|
try {
|
|
9575
9575
|
ce.p = 8, E0(n, a, u, o);
|
|
9576
9576
|
} finally {
|
|
9577
|
-
ce.p = h,
|
|
9577
|
+
ce.p = h, V.T = f;
|
|
9578
9578
|
}
|
|
9579
9579
|
}
|
|
9580
9580
|
function E0(n, a, u, o) {
|
|
@@ -9998,7 +9998,7 @@ Error generating stack: ` + u.message + `
|
|
|
9998
9998
|
bundleType: 0,
|
|
9999
9999
|
version: "19.0.0",
|
|
10000
10000
|
rendererPackageName: "react-dom",
|
|
10001
|
-
currentDispatcherRef:
|
|
10001
|
+
currentDispatcherRef: V,
|
|
10002
10002
|
findFiberByHostInstance: ti,
|
|
10003
10003
|
reconcilerVersion: "19.0.0"
|
|
10004
10004
|
};
|
|
@@ -10279,30 +10279,30 @@ function Ey(e) {
|
|
|
10279
10279
|
return Wh(_c("", null, null, null, [""], e = Kh(e), 0, [0], e));
|
|
10280
10280
|
}
|
|
10281
10281
|
function _c(e, t, r, i, l, s, c, d, p) {
|
|
10282
|
-
for (var m = 0, b = 0, E = c, S = 0, y = 0, O = 0, _ = 1, L = 1, R = 1, H = 0, k = "", P = l, I = s, M = i,
|
|
10282
|
+
for (var m = 0, b = 0, E = c, S = 0, y = 0, O = 0, _ = 1, L = 1, R = 1, H = 0, k = "", P = l, I = s, M = i, j = k; L; )
|
|
10283
10283
|
switch (O = H, H = Dn()) {
|
|
10284
10284
|
// (
|
|
10285
10285
|
case 40:
|
|
10286
|
-
if (O != 108 && Ht(
|
|
10287
|
-
mo(
|
|
10286
|
+
if (O != 108 && Ht(j, E - 1) == 58) {
|
|
10287
|
+
mo(j += we(ao(H), "&", "&\f"), "&\f") != -1 && (R = -1);
|
|
10288
10288
|
break;
|
|
10289
10289
|
}
|
|
10290
10290
|
// " ' [
|
|
10291
10291
|
case 34:
|
|
10292
10292
|
case 39:
|
|
10293
10293
|
case 91:
|
|
10294
|
-
|
|
10294
|
+
j += ao(H);
|
|
10295
10295
|
break;
|
|
10296
10296
|
// \t \n \r \s
|
|
10297
10297
|
case 9:
|
|
10298
10298
|
case 10:
|
|
10299
10299
|
case 13:
|
|
10300
10300
|
case 32:
|
|
10301
|
-
|
|
10301
|
+
j += EA(O);
|
|
10302
10302
|
break;
|
|
10303
10303
|
// \
|
|
10304
10304
|
case 92:
|
|
10305
|
-
|
|
10305
|
+
j += yA(xc() - 1, 7);
|
|
10306
10306
|
continue;
|
|
10307
10307
|
// /
|
|
10308
10308
|
case 47:
|
|
@@ -10312,12 +10312,12 @@ function _c(e, t, r, i, l, s, c, d, p) {
|
|
|
10312
10312
|
oc(CA(TA(Dn(), xc()), t, r), p);
|
|
10313
10313
|
break;
|
|
10314
10314
|
default:
|
|
10315
|
-
|
|
10315
|
+
j += "/";
|
|
10316
10316
|
}
|
|
10317
10317
|
break;
|
|
10318
10318
|
// {
|
|
10319
10319
|
case 123 * _:
|
|
10320
|
-
d[m++] = yr(
|
|
10320
|
+
d[m++] = yr(j) * R;
|
|
10321
10321
|
// } ; \0
|
|
10322
10322
|
case 125 * _:
|
|
10323
10323
|
case 59:
|
|
@@ -10329,18 +10329,18 @@ function _c(e, t, r, i, l, s, c, d, p) {
|
|
|
10329
10329
|
L = 0;
|
|
10330
10330
|
// ;
|
|
10331
10331
|
case 59 + b:
|
|
10332
|
-
R == -1 && (
|
|
10332
|
+
R == -1 && (j = we(j, /\f/g, "")), y > 0 && yr(j) - E && oc(y > 32 ? Lb(j + ";", i, r, E - 1) : Lb(we(j, " ", "") + ";", i, r, E - 2), p);
|
|
10333
10333
|
break;
|
|
10334
10334
|
// @ ;
|
|
10335
10335
|
case 59:
|
|
10336
|
-
|
|
10336
|
+
j += ";";
|
|
10337
10337
|
// { rule/at-rule
|
|
10338
10338
|
default:
|
|
10339
|
-
if (oc(M = Db(
|
|
10339
|
+
if (oc(M = Db(j, t, r, m, b, l, d, k, P = [], I = [], E), s), H === 123)
|
|
10340
10340
|
if (b === 0)
|
|
10341
|
-
_c(
|
|
10341
|
+
_c(j, t, M, M, P, s, E, d, I);
|
|
10342
10342
|
else
|
|
10343
|
-
switch (S === 99 && Ht(
|
|
10343
|
+
switch (S === 99 && Ht(j, 3) === 110 ? 100 : S) {
|
|
10344
10344
|
// d l m s
|
|
10345
10345
|
case 100:
|
|
10346
10346
|
case 108:
|
|
@@ -10349,14 +10349,14 @@ function _c(e, t, r, i, l, s, c, d, p) {
|
|
|
10349
10349
|
_c(e, M, M, i && oc(Db(e, M, M, 0, 0, l, d, k, l, P = [], E), I), l, I, E, d, i ? P : I);
|
|
10350
10350
|
break;
|
|
10351
10351
|
default:
|
|
10352
|
-
_c(
|
|
10352
|
+
_c(j, M, M, M, [""], I, 0, d, I);
|
|
10353
10353
|
}
|
|
10354
10354
|
}
|
|
10355
|
-
m = b = y = 0, _ = R = 1, k =
|
|
10355
|
+
m = b = y = 0, _ = R = 1, k = j = "", E = c;
|
|
10356
10356
|
break;
|
|
10357
10357
|
// :
|
|
10358
10358
|
case 58:
|
|
10359
|
-
E = 1 + yr(
|
|
10359
|
+
E = 1 + yr(j), y = O;
|
|
10360
10360
|
default:
|
|
10361
10361
|
if (_ < 1) {
|
|
10362
10362
|
if (H == 123)
|
|
@@ -10364,22 +10364,22 @@ function _c(e, t, r, i, l, s, c, d, p) {
|
|
|
10364
10364
|
else if (H == 125 && _++ == 0 && bA() == 125)
|
|
10365
10365
|
continue;
|
|
10366
10366
|
}
|
|
10367
|
-
switch (
|
|
10367
|
+
switch (j += jo(H), H * _) {
|
|
10368
10368
|
// &
|
|
10369
10369
|
case 38:
|
|
10370
|
-
R = b > 0 ? 1 : (
|
|
10370
|
+
R = b > 0 ? 1 : (j += "\f", -1);
|
|
10371
10371
|
break;
|
|
10372
10372
|
// ,
|
|
10373
10373
|
case 44:
|
|
10374
|
-
d[m++] = (yr(
|
|
10374
|
+
d[m++] = (yr(j) - 1) * R, R = 1;
|
|
10375
10375
|
break;
|
|
10376
10376
|
// @
|
|
10377
10377
|
case 64:
|
|
10378
|
-
tr() === 45 && (
|
|
10378
|
+
tr() === 45 && (j += ao(Dn())), S = tr(), b = E = yr(k = j += SA(xc())), H++;
|
|
10379
10379
|
break;
|
|
10380
10380
|
// -
|
|
10381
10381
|
case 45:
|
|
10382
|
-
O === 45 && yr(
|
|
10382
|
+
O === 45 && yr(j) == 2 && (_ = 0);
|
|
10383
10383
|
}
|
|
10384
10384
|
}
|
|
10385
10385
|
return s;
|
|
@@ -10831,9 +10831,9 @@ function IA() {
|
|
|
10831
10831
|
for (var k = c(O), P = c(_), I = 0; I < H.length; ++I) {
|
|
10832
10832
|
var M = H[I];
|
|
10833
10833
|
if (!r[M] && !(L && L[M]) && !(P && P[M]) && !(k && k[M])) {
|
|
10834
|
-
var
|
|
10834
|
+
var j = b(_, M);
|
|
10835
10835
|
try {
|
|
10836
|
-
d(O, M,
|
|
10836
|
+
d(O, M, j);
|
|
10837
10837
|
} catch {
|
|
10838
10838
|
}
|
|
10839
10839
|
}
|
|
@@ -11167,16 +11167,16 @@ var Zh = function() {
|
|
|
11167
11167
|
I.theme = x.useContext(Vo);
|
|
11168
11168
|
}
|
|
11169
11169
|
typeof _.className == "string" ? k = MA(L.registered, P, _.className) : _.className != null && (k = _.className + " ");
|
|
11170
|
-
var
|
|
11171
|
-
k += L.key + "-" +
|
|
11172
|
-
var ae = m && d === void 0 ? zb(H) : p,
|
|
11170
|
+
var j = Xc(E.concat(P), L.registered, I);
|
|
11171
|
+
k += L.key + "-" + j.name, c !== void 0 && (k += " " + c);
|
|
11172
|
+
var ae = m && d === void 0 ? zb(H) : p, V = {};
|
|
11173
11173
|
for (var A in _)
|
|
11174
|
-
m && A === "as" || ae(A) && (
|
|
11175
|
-
return
|
|
11174
|
+
m && A === "as" || ae(A) && (V[A] = _[A]);
|
|
11175
|
+
return V.className = k, R && (V.ref = R), /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(XA, {
|
|
11176
11176
|
cache: L,
|
|
11177
|
-
serialized:
|
|
11177
|
+
serialized: j,
|
|
11178
11178
|
isStringTag: typeof H == "string"
|
|
11179
|
-
}), /* @__PURE__ */ x.createElement(H,
|
|
11179
|
+
}), /* @__PURE__ */ x.createElement(H, V));
|
|
11180
11180
|
});
|
|
11181
11181
|
return O.displayName = s !== void 0 ? s : "Styled(" + (typeof l == "string" ? l : l.displayName || l.name || "Component") + ")", O.defaultProps = t.defaultProps, O.__emotion_real = O, O.__emotion_base = l, O.__emotion_styles = E, O.__emotion_forwardProp = d, Object.defineProperty(O, "toString", {
|
|
11182
11182
|
value: function() {
|
|
@@ -12523,78 +12523,78 @@ function h4() {
|
|
|
12523
12523
|
if (!_) return [];
|
|
12524
12524
|
L = L || {};
|
|
12525
12525
|
var R = 1, H = 1;
|
|
12526
|
-
function k(
|
|
12527
|
-
var Z =
|
|
12526
|
+
function k(K) {
|
|
12527
|
+
var Z = K.match(t);
|
|
12528
12528
|
Z && (R += Z.length);
|
|
12529
|
-
var re =
|
|
12530
|
-
H = ~re ?
|
|
12529
|
+
var re = K.lastIndexOf(p);
|
|
12530
|
+
H = ~re ? K.length - re : H + K.length;
|
|
12531
12531
|
}
|
|
12532
12532
|
function P() {
|
|
12533
|
-
var
|
|
12533
|
+
var K = { line: R, column: H };
|
|
12534
12534
|
return function(Z) {
|
|
12535
|
-
return Z.position = new I(
|
|
12535
|
+
return Z.position = new I(K), ae(), Z;
|
|
12536
12536
|
};
|
|
12537
12537
|
}
|
|
12538
|
-
function I(
|
|
12539
|
-
this.start =
|
|
12538
|
+
function I(K) {
|
|
12539
|
+
this.start = K, this.end = { line: R, column: H }, this.source = L.source;
|
|
12540
12540
|
}
|
|
12541
12541
|
I.prototype.content = _;
|
|
12542
|
-
function M(
|
|
12542
|
+
function M(K) {
|
|
12543
12543
|
var Z = new Error(
|
|
12544
|
-
L.source + ":" + R + ":" + H + ": " +
|
|
12544
|
+
L.source + ":" + R + ":" + H + ": " + K
|
|
12545
12545
|
);
|
|
12546
|
-
if (Z.reason =
|
|
12546
|
+
if (Z.reason = K, Z.filename = L.source, Z.line = R, Z.column = H, Z.source = _, !L.silent) throw Z;
|
|
12547
12547
|
}
|
|
12548
|
-
function
|
|
12549
|
-
var Z =
|
|
12548
|
+
function j(K) {
|
|
12549
|
+
var Z = K.exec(_);
|
|
12550
12550
|
if (Z) {
|
|
12551
12551
|
var re = Z[0];
|
|
12552
12552
|
return k(re), _ = _.slice(re.length), Z;
|
|
12553
12553
|
}
|
|
12554
12554
|
}
|
|
12555
12555
|
function ae() {
|
|
12556
|
-
|
|
12556
|
+
j(r);
|
|
12557
12557
|
}
|
|
12558
|
-
function
|
|
12558
|
+
function V(K) {
|
|
12559
12559
|
var Z;
|
|
12560
|
-
for (
|
|
12561
|
-
Z !== !1 &&
|
|
12562
|
-
return
|
|
12560
|
+
for (K = K || []; Z = A(); )
|
|
12561
|
+
Z !== !1 && K.push(Z);
|
|
12562
|
+
return K;
|
|
12563
12563
|
}
|
|
12564
12564
|
function A() {
|
|
12565
|
-
var
|
|
12565
|
+
var K = P();
|
|
12566
12566
|
if (!(m != _.charAt(0) || b != _.charAt(1))) {
|
|
12567
12567
|
for (var Z = 2; E != _.charAt(Z) && (b != _.charAt(Z) || m != _.charAt(Z + 1)); )
|
|
12568
12568
|
++Z;
|
|
12569
12569
|
if (Z += 2, E === _.charAt(Z - 1))
|
|
12570
12570
|
return M("End of comment missing");
|
|
12571
12571
|
var re = _.slice(2, Z - 2);
|
|
12572
|
-
return H += 2, k(re), _ = _.slice(Z), H += 2,
|
|
12572
|
+
return H += 2, k(re), _ = _.slice(Z), H += 2, K({
|
|
12573
12573
|
type: S,
|
|
12574
12574
|
comment: re
|
|
12575
12575
|
});
|
|
12576
12576
|
}
|
|
12577
12577
|
}
|
|
12578
|
-
function
|
|
12579
|
-
var
|
|
12578
|
+
function Y() {
|
|
12579
|
+
var K = P(), Z = j(i);
|
|
12580
12580
|
if (Z) {
|
|
12581
|
-
if (A(), !
|
|
12582
|
-
var re =
|
|
12581
|
+
if (A(), !j(l)) return M("property missing ':'");
|
|
12582
|
+
var re = j(s), Q = K({
|
|
12583
12583
|
type: y,
|
|
12584
12584
|
property: O(Z[0].replace(e, E)),
|
|
12585
12585
|
value: re ? O(re[0].replace(e, E)) : E
|
|
12586
12586
|
});
|
|
12587
|
-
return
|
|
12587
|
+
return j(c), Q;
|
|
12588
12588
|
}
|
|
12589
12589
|
}
|
|
12590
|
-
function
|
|
12591
|
-
var
|
|
12592
|
-
|
|
12593
|
-
for (var Z; Z =
|
|
12594
|
-
Z !== !1 && (
|
|
12595
|
-
return
|
|
12590
|
+
function X() {
|
|
12591
|
+
var K = [];
|
|
12592
|
+
V(K);
|
|
12593
|
+
for (var Z; Z = Y(); )
|
|
12594
|
+
Z !== !1 && (K.push(Z), V(K));
|
|
12595
|
+
return K;
|
|
12596
12596
|
}
|
|
12597
|
-
return ae(),
|
|
12597
|
+
return ae(), X();
|
|
12598
12598
|
};
|
|
12599
12599
|
function O(_) {
|
|
12600
12600
|
return _ ? _.replace(d, E) : E;
|
|
@@ -13314,15 +13314,15 @@ function nx(e) {
|
|
|
13314
13314
|
break;
|
|
13315
13315
|
}
|
|
13316
13316
|
R(i);
|
|
13317
|
-
let
|
|
13318
|
-
for (;
|
|
13319
|
-
t.events[
|
|
13317
|
+
let j = P;
|
|
13318
|
+
for (; j < t.events.length; )
|
|
13319
|
+
t.events[j][1].end = Object.assign({}, M), j++;
|
|
13320
13320
|
return ya(
|
|
13321
13321
|
t.events,
|
|
13322
13322
|
I + 1,
|
|
13323
13323
|
0,
|
|
13324
13324
|
t.events.slice(P)
|
|
13325
|
-
), t.events.length =
|
|
13325
|
+
), t.events.length = j, m(k);
|
|
13326
13326
|
}
|
|
13327
13327
|
return d(k);
|
|
13328
13328
|
}
|
|
@@ -13386,23 +13386,23 @@ function nx(e) {
|
|
|
13386
13386
|
l.events[M][1].end.offset > c)
|
|
13387
13387
|
)
|
|
13388
13388
|
return;
|
|
13389
|
-
const
|
|
13390
|
-
let ae =
|
|
13389
|
+
const j = t.events.length;
|
|
13390
|
+
let ae = j, V, A;
|
|
13391
13391
|
for (; ae--; )
|
|
13392
13392
|
if (t.events[ae][0] === "exit" && t.events[ae][1].type === "chunkFlow") {
|
|
13393
|
-
if (
|
|
13393
|
+
if (V) {
|
|
13394
13394
|
A = t.events[ae][1].end;
|
|
13395
13395
|
break;
|
|
13396
13396
|
}
|
|
13397
|
-
|
|
13397
|
+
V = !0;
|
|
13398
13398
|
}
|
|
13399
|
-
for (R(i), M =
|
|
13399
|
+
for (R(i), M = j; M < t.events.length; )
|
|
13400
13400
|
t.events[M][1].end = Object.assign({}, A), M++;
|
|
13401
13401
|
ya(
|
|
13402
13402
|
t.events,
|
|
13403
13403
|
ae + 1,
|
|
13404
13404
|
0,
|
|
13405
|
-
t.events.slice(
|
|
13405
|
+
t.events.slice(j)
|
|
13406
13406
|
), t.events.length = M;
|
|
13407
13407
|
}
|
|
13408
13408
|
}
|
|
@@ -13644,8 +13644,8 @@ function px(e, t, r) {
|
|
|
13644
13644
|
return m(M);
|
|
13645
13645
|
}
|
|
13646
13646
|
function m(M) {
|
|
13647
|
-
const
|
|
13648
|
-
return s =
|
|
13647
|
+
const j = i.events[i.events.length - 1];
|
|
13648
|
+
return s = j && j[1].type === "linePrefix" ? j[2].sliceSerialize(j[1], !0).length : 0, d = M, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), b(M);
|
|
13649
13649
|
}
|
|
13650
13650
|
function b(M) {
|
|
13651
13651
|
return M === d ? (c++, e.consume(M), b) : c < 3 ? r(M) : (e.exit("codeFencedFenceSequence"), Et(M) ? Mt(e, E, "whitespace")(M) : E(M));
|
|
@@ -13684,23 +13684,23 @@ function px(e, t, r) {
|
|
|
13684
13684
|
function P(M) {
|
|
13685
13685
|
return e.exit("codeFenced"), t(M);
|
|
13686
13686
|
}
|
|
13687
|
-
function I(M,
|
|
13688
|
-
let
|
|
13687
|
+
function I(M, j, ae) {
|
|
13688
|
+
let V = 0;
|
|
13689
13689
|
return A;
|
|
13690
13690
|
function A(re) {
|
|
13691
|
-
return M.enter("lineEnding"), M.consume(re), M.exit("lineEnding"),
|
|
13691
|
+
return M.enter("lineEnding"), M.consume(re), M.exit("lineEnding"), Y;
|
|
13692
13692
|
}
|
|
13693
|
-
function
|
|
13694
|
-
return M.enter("codeFencedFence"), Et(re) ? Mt(M,
|
|
13693
|
+
function Y(re) {
|
|
13694
|
+
return M.enter("codeFencedFence"), Et(re) ? Mt(M, X, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(re) : X(re);
|
|
13695
13695
|
}
|
|
13696
|
-
function
|
|
13697
|
-
return re === d ? (M.enter("codeFencedFenceSequence"),
|
|
13696
|
+
function X(re) {
|
|
13697
|
+
return re === d ? (M.enter("codeFencedFenceSequence"), K(re)) : ae(re);
|
|
13698
13698
|
}
|
|
13699
|
-
function
|
|
13700
|
-
return re === d ? (
|
|
13699
|
+
function K(re) {
|
|
13700
|
+
return re === d ? (V++, M.consume(re), K) : V >= c ? (M.exit("codeFencedFenceSequence"), Et(re) ? Mt(M, Z, "whitespace")(re) : Z(re)) : ae(re);
|
|
13701
13701
|
}
|
|
13702
13702
|
function Z(re) {
|
|
13703
|
-
return re === null || Ve(re) ? (M.exit("codeFencedFence"),
|
|
13703
|
+
return re === null || Ve(re) ? (M.exit("codeFencedFence"), j(re)) : ae(re);
|
|
13704
13704
|
}
|
|
13705
13705
|
}
|
|
13706
13706
|
}
|
|
@@ -14359,7 +14359,7 @@ function Vx(e, t, r) {
|
|
|
14359
14359
|
}
|
|
14360
14360
|
function O(D) {
|
|
14361
14361
|
const ce = "CDATA[";
|
|
14362
|
-
return D === ce.charCodeAt(d++) ? (e.consume(D), d === ce.length ? i.interrupt ? t :
|
|
14362
|
+
return D === ce.charCodeAt(d++) ? (e.consume(D), d === ce.length ? i.interrupt ? t : X : O) : r(D);
|
|
14363
14363
|
}
|
|
14364
14364
|
function _(D) {
|
|
14365
14365
|
return Vr(D) ? (e.consume(D), c = String.fromCharCode(D), L) : r(D);
|
|
@@ -14367,12 +14367,12 @@ function Vx(e, t, r) {
|
|
|
14367
14367
|
function L(D) {
|
|
14368
14368
|
if (D === null || D === 47 || D === 62 || Un(D)) {
|
|
14369
14369
|
const ce = D === 47, Oe = c.toLowerCase();
|
|
14370
|
-
return !ce && !s && cE.includes(Oe) ? (l = 1, i.interrupt ? t(D) :
|
|
14370
|
+
return !ce && !s && cE.includes(Oe) ? (l = 1, i.interrupt ? t(D) : X(D)) : Hx.includes(c.toLowerCase()) ? (l = 6, ce ? (e.consume(D), R) : i.interrupt ? t(D) : X(D)) : (l = 7, i.interrupt && !i.parser.lazy[i.now().line] ? r(D) : s ? H(D) : k(D));
|
|
14371
14371
|
}
|
|
14372
14372
|
return D === 45 || er(D) ? (e.consume(D), c += String.fromCharCode(D), L) : r(D);
|
|
14373
14373
|
}
|
|
14374
14374
|
function R(D) {
|
|
14375
|
-
return D === 62 ? (e.consume(D), i.interrupt ? t :
|
|
14375
|
+
return D === 62 ? (e.consume(D), i.interrupt ? t : X) : r(D);
|
|
14376
14376
|
}
|
|
14377
14377
|
function H(D) {
|
|
14378
14378
|
return Et(D) ? (e.consume(D), H) : A(D);
|
|
@@ -14387,53 +14387,53 @@ function Vx(e, t, r) {
|
|
|
14387
14387
|
return D === 61 ? (e.consume(D), M) : Et(D) ? (e.consume(D), I) : k(D);
|
|
14388
14388
|
}
|
|
14389
14389
|
function M(D) {
|
|
14390
|
-
return D === null || D === 60 || D === 61 || D === 62 || D === 96 ? r(D) : D === 34 || D === 39 ? (e.consume(D), p = D,
|
|
14390
|
+
return D === null || D === 60 || D === 61 || D === 62 || D === 96 ? r(D) : D === 34 || D === 39 ? (e.consume(D), p = D, j) : Et(D) ? (e.consume(D), M) : ae(D);
|
|
14391
14391
|
}
|
|
14392
|
-
function
|
|
14393
|
-
return D === p ? (e.consume(D), p = null,
|
|
14392
|
+
function j(D) {
|
|
14393
|
+
return D === p ? (e.consume(D), p = null, V) : D === null || Ve(D) ? r(D) : (e.consume(D), j);
|
|
14394
14394
|
}
|
|
14395
14395
|
function ae(D) {
|
|
14396
14396
|
return D === null || D === 34 || D === 39 || D === 47 || D === 60 || D === 61 || D === 62 || D === 96 || Un(D) ? I(D) : (e.consume(D), ae);
|
|
14397
14397
|
}
|
|
14398
|
-
function
|
|
14398
|
+
function V(D) {
|
|
14399
14399
|
return D === 47 || D === 62 || Et(D) ? k(D) : r(D);
|
|
14400
14400
|
}
|
|
14401
14401
|
function A(D) {
|
|
14402
|
-
return D === 62 ? (e.consume(D),
|
|
14402
|
+
return D === 62 ? (e.consume(D), Y) : r(D);
|
|
14403
14403
|
}
|
|
14404
|
-
function
|
|
14405
|
-
return D === null || Ve(D) ?
|
|
14404
|
+
function Y(D) {
|
|
14405
|
+
return D === null || Ve(D) ? X(D) : Et(D) ? (e.consume(D), Y) : r(D);
|
|
14406
14406
|
}
|
|
14407
|
-
function
|
|
14408
|
-
return D === 45 && l === 2 ? (e.consume(D),
|
|
14407
|
+
function X(D) {
|
|
14408
|
+
return D === 45 && l === 2 ? (e.consume(D), Q) : D === 60 && l === 1 ? (e.consume(D), se) : D === 62 && l === 4 ? (e.consume(D), J) : D === 63 && l === 3 ? (e.consume(D), C) : D === 93 && l === 5 ? (e.consume(D), be) : Ve(D) && (l === 6 || l === 7) ? (e.exit("htmlFlowData"), e.check(zx, oe, K)(D)) : D === null || Ve(D) ? (e.exit("htmlFlowData"), K(D)) : (e.consume(D), X);
|
|
14409
14409
|
}
|
|
14410
|
-
function
|
|
14410
|
+
function K(D) {
|
|
14411
14411
|
return e.check(Yx, Z, oe)(D);
|
|
14412
14412
|
}
|
|
14413
14413
|
function Z(D) {
|
|
14414
14414
|
return e.enter("lineEnding"), e.consume(D), e.exit("lineEnding"), re;
|
|
14415
14415
|
}
|
|
14416
14416
|
function re(D) {
|
|
14417
|
-
return D === null || Ve(D) ?
|
|
14417
|
+
return D === null || Ve(D) ? K(D) : (e.enter("htmlFlowData"), X(D));
|
|
14418
14418
|
}
|
|
14419
|
-
function
|
|
14420
|
-
return D === 45 ? (e.consume(D), C) :
|
|
14419
|
+
function Q(D) {
|
|
14420
|
+
return D === 45 ? (e.consume(D), C) : X(D);
|
|
14421
14421
|
}
|
|
14422
14422
|
function se(D) {
|
|
14423
|
-
return D === 47 ? (e.consume(D), c = "", ne) :
|
|
14423
|
+
return D === 47 ? (e.consume(D), c = "", ne) : X(D);
|
|
14424
14424
|
}
|
|
14425
14425
|
function ne(D) {
|
|
14426
14426
|
if (D === 62) {
|
|
14427
14427
|
const ce = c.toLowerCase();
|
|
14428
|
-
return cE.includes(ce) ? (e.consume(D), J) :
|
|
14428
|
+
return cE.includes(ce) ? (e.consume(D), J) : X(D);
|
|
14429
14429
|
}
|
|
14430
|
-
return Vr(D) && c.length < 8 ? (e.consume(D), c += String.fromCharCode(D), ne) :
|
|
14430
|
+
return Vr(D) && c.length < 8 ? (e.consume(D), c += String.fromCharCode(D), ne) : X(D);
|
|
14431
14431
|
}
|
|
14432
14432
|
function be(D) {
|
|
14433
|
-
return D === 93 ? (e.consume(D), C) :
|
|
14433
|
+
return D === 93 ? (e.consume(D), C) : X(D);
|
|
14434
14434
|
}
|
|
14435
14435
|
function C(D) {
|
|
14436
|
-
return D === 62 ? (e.consume(D), J) : D === 45 && l === 2 ? (e.consume(D), C) :
|
|
14436
|
+
return D === 62 ? (e.consume(D), J) : D === 45 && l === 2 ? (e.consume(D), C) : X(D);
|
|
14437
14437
|
}
|
|
14438
14438
|
function J(D) {
|
|
14439
14439
|
return D === null || Ve(D) ? (e.exit("htmlFlowData"), oe(D)) : (e.consume(D), J);
|
|
@@ -14485,7 +14485,7 @@ function Xx(e, t, r) {
|
|
|
14485
14485
|
return C === 45 ? (e.consume(C), y) : E(C);
|
|
14486
14486
|
}
|
|
14487
14487
|
function y(C) {
|
|
14488
|
-
return C === 62 ?
|
|
14488
|
+
return C === 62 ? Q(C) : C === 45 ? S(C) : E(C);
|
|
14489
14489
|
}
|
|
14490
14490
|
function O(C) {
|
|
14491
14491
|
const J = "CDATA[";
|
|
@@ -14498,51 +14498,51 @@ function Xx(e, t, r) {
|
|
|
14498
14498
|
return C === 93 ? (e.consume(C), R) : _(C);
|
|
14499
14499
|
}
|
|
14500
14500
|
function R(C) {
|
|
14501
|
-
return C === 62 ?
|
|
14501
|
+
return C === 62 ? Q(C) : C === 93 ? (e.consume(C), R) : _(C);
|
|
14502
14502
|
}
|
|
14503
14503
|
function H(C) {
|
|
14504
|
-
return C === null || C === 62 ?
|
|
14504
|
+
return C === null || C === 62 ? Q(C) : Ve(C) ? (c = H, se(C)) : (e.consume(C), H);
|
|
14505
14505
|
}
|
|
14506
14506
|
function k(C) {
|
|
14507
14507
|
return C === null ? r(C) : C === 63 ? (e.consume(C), P) : Ve(C) ? (c = k, se(C)) : (e.consume(C), k);
|
|
14508
14508
|
}
|
|
14509
14509
|
function P(C) {
|
|
14510
|
-
return C === 62 ?
|
|
14510
|
+
return C === 62 ? Q(C) : k(C);
|
|
14511
14511
|
}
|
|
14512
14512
|
function I(C) {
|
|
14513
14513
|
return Vr(C) ? (e.consume(C), M) : r(C);
|
|
14514
14514
|
}
|
|
14515
14515
|
function M(C) {
|
|
14516
|
-
return C === 45 || er(C) ? (e.consume(C), M) :
|
|
14516
|
+
return C === 45 || er(C) ? (e.consume(C), M) : j(C);
|
|
14517
14517
|
}
|
|
14518
|
-
function
|
|
14519
|
-
return Ve(C) ? (c =
|
|
14518
|
+
function j(C) {
|
|
14519
|
+
return Ve(C) ? (c = j, se(C)) : Et(C) ? (e.consume(C), j) : Q(C);
|
|
14520
14520
|
}
|
|
14521
14521
|
function ae(C) {
|
|
14522
|
-
return C === 45 || er(C) ? (e.consume(C), ae) : C === 47 || C === 62 || Un(C) ?
|
|
14522
|
+
return C === 45 || er(C) ? (e.consume(C), ae) : C === 47 || C === 62 || Un(C) ? V(C) : r(C);
|
|
14523
14523
|
}
|
|
14524
|
-
function
|
|
14525
|
-
return C === 47 ? (e.consume(C),
|
|
14524
|
+
function V(C) {
|
|
14525
|
+
return C === 47 ? (e.consume(C), Q) : C === 58 || C === 95 || Vr(C) ? (e.consume(C), A) : Ve(C) ? (c = V, se(C)) : Et(C) ? (e.consume(C), V) : Q(C);
|
|
14526
14526
|
}
|
|
14527
14527
|
function A(C) {
|
|
14528
|
-
return C === 45 || C === 46 || C === 58 || C === 95 || er(C) ? (e.consume(C), A) :
|
|
14528
|
+
return C === 45 || C === 46 || C === 58 || C === 95 || er(C) ? (e.consume(C), A) : Y(C);
|
|
14529
14529
|
}
|
|
14530
|
-
function
|
|
14531
|
-
return C === 61 ? (e.consume(C),
|
|
14530
|
+
function Y(C) {
|
|
14531
|
+
return C === 61 ? (e.consume(C), X) : Ve(C) ? (c = Y, se(C)) : Et(C) ? (e.consume(C), Y) : V(C);
|
|
14532
14532
|
}
|
|
14533
|
-
function
|
|
14534
|
-
return C === null || C === 60 || C === 61 || C === 62 || C === 96 ? r(C) : C === 34 || C === 39 ? (e.consume(C), l = C,
|
|
14533
|
+
function X(C) {
|
|
14534
|
+
return C === null || C === 60 || C === 61 || C === 62 || C === 96 ? r(C) : C === 34 || C === 39 ? (e.consume(C), l = C, K) : Ve(C) ? (c = X, se(C)) : Et(C) ? (e.consume(C), X) : (e.consume(C), Z);
|
|
14535
14535
|
}
|
|
14536
|
-
function
|
|
14537
|
-
return C === l ? (e.consume(C), l = void 0, re) : C === null ? r(C) : Ve(C) ? (c =
|
|
14536
|
+
function K(C) {
|
|
14537
|
+
return C === l ? (e.consume(C), l = void 0, re) : C === null ? r(C) : Ve(C) ? (c = K, se(C)) : (e.consume(C), K);
|
|
14538
14538
|
}
|
|
14539
14539
|
function Z(C) {
|
|
14540
|
-
return C === null || C === 34 || C === 39 || C === 60 || C === 61 || C === 96 ? r(C) : C === 47 || C === 62 || Un(C) ?
|
|
14540
|
+
return C === null || C === 34 || C === 39 || C === 60 || C === 61 || C === 96 ? r(C) : C === 47 || C === 62 || Un(C) ? V(C) : (e.consume(C), Z);
|
|
14541
14541
|
}
|
|
14542
14542
|
function re(C) {
|
|
14543
|
-
return C === 47 || C === 62 || Un(C) ?
|
|
14543
|
+
return C === 47 || C === 62 || Un(C) ? V(C) : r(C);
|
|
14544
14544
|
}
|
|
14545
|
-
function
|
|
14545
|
+
function Q(C) {
|
|
14546
14546
|
return C === 62 ? (e.consume(C), e.exit("htmlTextData"), e.exit("htmlText"), t) : r(C);
|
|
14547
14547
|
}
|
|
14548
14548
|
function se(C) {
|
|
@@ -15022,9 +15022,9 @@ function __(e, t, r) {
|
|
|
15022
15022
|
consume: H,
|
|
15023
15023
|
enter: k,
|
|
15024
15024
|
exit: P,
|
|
15025
|
-
attempt:
|
|
15026
|
-
check:
|
|
15027
|
-
interrupt:
|
|
15025
|
+
attempt: j(I),
|
|
15026
|
+
check: j(M),
|
|
15027
|
+
interrupt: j(M, {
|
|
15028
15028
|
interrupt: !0
|
|
15029
15029
|
})
|
|
15030
15030
|
}, m = {
|
|
@@ -15041,62 +15041,62 @@ function __(e, t, r) {
|
|
|
15041
15041
|
};
|
|
15042
15042
|
let b = t.tokenize.call(m, p);
|
|
15043
15043
|
return t.resolveAll && s.push(t), m;
|
|
15044
|
-
function E(
|
|
15045
|
-
return c = Tr(c,
|
|
15044
|
+
function E(Y) {
|
|
15045
|
+
return c = Tr(c, Y), L(), c[c.length - 1] !== null ? [] : (ae(t, 0), m.events = ip(s, m.events, m), m.events);
|
|
15046
15046
|
}
|
|
15047
|
-
function S(
|
|
15048
|
-
return R_(y(
|
|
15047
|
+
function S(Y, X) {
|
|
15048
|
+
return R_(y(Y), X);
|
|
15049
15049
|
}
|
|
15050
|
-
function y(
|
|
15051
|
-
return v_(c,
|
|
15050
|
+
function y(Y) {
|
|
15051
|
+
return v_(c, Y);
|
|
15052
15052
|
}
|
|
15053
15053
|
function O() {
|
|
15054
|
-
const { line:
|
|
15054
|
+
const { line: Y, column: X, offset: K, _index: Z, _bufferIndex: re } = i;
|
|
15055
15055
|
return {
|
|
15056
|
-
line:
|
|
15057
|
-
column:
|
|
15058
|
-
offset:
|
|
15056
|
+
line: Y,
|
|
15057
|
+
column: X,
|
|
15058
|
+
offset: K,
|
|
15059
15059
|
_index: Z,
|
|
15060
15060
|
_bufferIndex: re
|
|
15061
15061
|
};
|
|
15062
15062
|
}
|
|
15063
|
-
function _(
|
|
15064
|
-
l[
|
|
15063
|
+
function _(Y) {
|
|
15064
|
+
l[Y.line] = Y.column, A();
|
|
15065
15065
|
}
|
|
15066
15066
|
function L() {
|
|
15067
|
-
let
|
|
15067
|
+
let Y;
|
|
15068
15068
|
for (; i._index < c.length; ) {
|
|
15069
|
-
const
|
|
15070
|
-
if (typeof
|
|
15071
|
-
for (
|
|
15072
|
-
R(
|
|
15069
|
+
const X = c[i._index];
|
|
15070
|
+
if (typeof X == "string")
|
|
15071
|
+
for (Y = i._index, i._bufferIndex < 0 && (i._bufferIndex = 0); i._index === Y && i._bufferIndex < X.length; )
|
|
15072
|
+
R(X.charCodeAt(i._bufferIndex));
|
|
15073
15073
|
else
|
|
15074
|
-
R(
|
|
15074
|
+
R(X);
|
|
15075
15075
|
}
|
|
15076
15076
|
}
|
|
15077
|
-
function R(
|
|
15078
|
-
b = b(
|
|
15077
|
+
function R(Y) {
|
|
15078
|
+
b = b(Y);
|
|
15079
15079
|
}
|
|
15080
|
-
function H(
|
|
15081
|
-
Ve(
|
|
15080
|
+
function H(Y) {
|
|
15081
|
+
Ve(Y) ? (i.line++, i.column = 1, i.offset += Y === -3 ? 2 : 1, A()) : Y !== -1 && (i.column++, i.offset++), i._bufferIndex < 0 ? i._index++ : (i._bufferIndex++, i._bufferIndex === c[i._index].length && (i._bufferIndex = -1, i._index++)), m.previous = Y;
|
|
15082
15082
|
}
|
|
15083
|
-
function k(
|
|
15084
|
-
const
|
|
15085
|
-
return
|
|
15083
|
+
function k(Y, X) {
|
|
15084
|
+
const K = X || {};
|
|
15085
|
+
return K.type = Y, K.start = O(), m.events.push(["enter", K, m]), d.push(K), K;
|
|
15086
15086
|
}
|
|
15087
|
-
function P(
|
|
15088
|
-
const
|
|
15089
|
-
return
|
|
15087
|
+
function P(Y) {
|
|
15088
|
+
const X = d.pop();
|
|
15089
|
+
return X.end = O(), m.events.push(["exit", X, m]), X;
|
|
15090
15090
|
}
|
|
15091
|
-
function I(
|
|
15092
|
-
ae(
|
|
15091
|
+
function I(Y, X) {
|
|
15092
|
+
ae(Y, X.from);
|
|
15093
15093
|
}
|
|
15094
|
-
function M(
|
|
15095
|
-
|
|
15094
|
+
function M(Y, X) {
|
|
15095
|
+
X.restore();
|
|
15096
15096
|
}
|
|
15097
|
-
function Y
|
|
15098
|
-
return
|
|
15099
|
-
function
|
|
15097
|
+
function j(Y, X) {
|
|
15098
|
+
return K;
|
|
15099
|
+
function K(Z, re, Q) {
|
|
15100
15100
|
let se, ne, be, C;
|
|
15101
15101
|
return Array.isArray(Z) ? oe(Z) : "tokenize" in Z ? (
|
|
15102
15102
|
// @ts-expect-error Looks like a construct.
|
|
@@ -15115,16 +15115,16 @@ function __(e, t, r) {
|
|
|
15115
15115
|
}
|
|
15116
15116
|
}
|
|
15117
15117
|
function oe(Se) {
|
|
15118
|
-
return se = Se, ne = 0, Se.length === 0 ?
|
|
15118
|
+
return se = Se, ne = 0, Se.length === 0 ? Q : D(Se[ne]);
|
|
15119
15119
|
}
|
|
15120
15120
|
function D(Se) {
|
|
15121
15121
|
return et;
|
|
15122
15122
|
function et(Me) {
|
|
15123
|
-
return C =
|
|
15123
|
+
return C = V(), be = Se, Se.partial || (m.currentConstruct = Se), Se.name && m.parser.constructs.disable.null.includes(Se.name) ? Oe() : Se.tokenize.call(
|
|
15124
15124
|
// If we do have fields, create an object w/ `context` as its
|
|
15125
15125
|
// prototype.
|
|
15126
15126
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
15127
|
-
|
|
15127
|
+
X ? Object.assign(Object.create(m), X) : m,
|
|
15128
15128
|
p,
|
|
15129
15129
|
ce,
|
|
15130
15130
|
Oe
|
|
@@ -15132,29 +15132,29 @@ function __(e, t, r) {
|
|
|
15132
15132
|
}
|
|
15133
15133
|
}
|
|
15134
15134
|
function ce(Se) {
|
|
15135
|
-
return
|
|
15135
|
+
return Y(be, C), re;
|
|
15136
15136
|
}
|
|
15137
15137
|
function Oe(Se) {
|
|
15138
|
-
return C.restore(), ++ne < se.length ? D(se[ne]) :
|
|
15138
|
+
return C.restore(), ++ne < se.length ? D(se[ne]) : Q;
|
|
15139
15139
|
}
|
|
15140
15140
|
}
|
|
15141
15141
|
}
|
|
15142
|
-
function ae(
|
|
15143
|
-
|
|
15142
|
+
function ae(Y, X) {
|
|
15143
|
+
Y.resolveAll && !s.includes(Y) && s.push(Y), Y.resolve && ya(
|
|
15144
15144
|
m.events,
|
|
15145
|
-
|
|
15146
|
-
m.events.length -
|
|
15147
|
-
|
|
15148
|
-
),
|
|
15145
|
+
X,
|
|
15146
|
+
m.events.length - X,
|
|
15147
|
+
Y.resolve(m.events.slice(X), m)
|
|
15148
|
+
), Y.resolveTo && (m.events = Y.resolveTo(m.events, m));
|
|
15149
15149
|
}
|
|
15150
|
-
function
|
|
15151
|
-
const
|
|
15150
|
+
function V() {
|
|
15151
|
+
const Y = O(), X = m.previous, K = m.currentConstruct, Z = m.events.length, re = Array.from(d);
|
|
15152
15152
|
return {
|
|
15153
|
-
restore:
|
|
15153
|
+
restore: Q,
|
|
15154
15154
|
from: Z
|
|
15155
15155
|
};
|
|
15156
|
-
function
|
|
15157
|
-
i =
|
|
15156
|
+
function Q() {
|
|
15157
|
+
i = Y, m.previous = X, m.currentConstruct = K, m.events.length = Z, d = re, A();
|
|
15158
15158
|
}
|
|
15159
15159
|
}
|
|
15160
15160
|
function A() {
|
|
@@ -15366,20 +15366,20 @@ function $_(e) {
|
|
|
15366
15366
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
|
15367
15367
|
enter: {
|
|
15368
15368
|
autolink: s(st),
|
|
15369
|
-
autolinkProtocol:
|
|
15370
|
-
autolinkEmail:
|
|
15369
|
+
autolinkProtocol: V,
|
|
15370
|
+
autolinkEmail: V,
|
|
15371
15371
|
atxHeading: s(Be),
|
|
15372
15372
|
blockQuote: s(xe),
|
|
15373
|
-
characterEscape:
|
|
15374
|
-
characterReference:
|
|
15373
|
+
characterEscape: V,
|
|
15374
|
+
characterReference: V,
|
|
15375
15375
|
codeFenced: s(Ge),
|
|
15376
15376
|
codeFencedFenceInfo: c,
|
|
15377
15377
|
codeFencedFenceMeta: c,
|
|
15378
15378
|
codeIndented: s(Ge, c),
|
|
15379
15379
|
codeText: s(ve, c),
|
|
15380
|
-
codeTextData:
|
|
15381
|
-
data:
|
|
15382
|
-
codeFlowValue:
|
|
15380
|
+
codeTextData: V,
|
|
15381
|
+
data: V,
|
|
15382
|
+
codeFlowValue: V,
|
|
15383
15383
|
definition: s(Re),
|
|
15384
15384
|
definitionDestinationString: c,
|
|
15385
15385
|
definitionLabelString: c,
|
|
@@ -15388,9 +15388,9 @@ function $_(e) {
|
|
|
15388
15388
|
hardBreakEscape: s(at),
|
|
15389
15389
|
hardBreakTrailing: s(at),
|
|
15390
15390
|
htmlFlow: s(je, c),
|
|
15391
|
-
htmlFlowData:
|
|
15391
|
+
htmlFlowData: V,
|
|
15392
15392
|
htmlText: s(je, c),
|
|
15393
|
-
htmlTextData:
|
|
15393
|
+
htmlTextData: V,
|
|
15394
15394
|
image: s(Ue),
|
|
15395
15395
|
label: c,
|
|
15396
15396
|
link: s(st),
|
|
@@ -15433,17 +15433,17 @@ function $_(e) {
|
|
|
15433
15433
|
definitionLabelString: H,
|
|
15434
15434
|
definitionTitleString: k,
|
|
15435
15435
|
emphasis: p(),
|
|
15436
|
-
hardBreakEscape: p(
|
|
15437
|
-
hardBreakTrailing: p(
|
|
15438
|
-
htmlFlow: p(
|
|
15436
|
+
hardBreakEscape: p(X),
|
|
15437
|
+
hardBreakTrailing: p(X),
|
|
15438
|
+
htmlFlow: p(K),
|
|
15439
15439
|
htmlFlowData: A,
|
|
15440
15440
|
htmlText: p(Z),
|
|
15441
15441
|
htmlTextData: A,
|
|
15442
15442
|
image: p(se),
|
|
15443
15443
|
label: be,
|
|
15444
15444
|
labelText: ne,
|
|
15445
|
-
lineEnding:
|
|
15446
|
-
link: p(
|
|
15445
|
+
lineEnding: Y,
|
|
15446
|
+
link: p(Q),
|
|
15447
15447
|
listItem: p(),
|
|
15448
15448
|
listOrdered: p(),
|
|
15449
15449
|
listUnordered: p(),
|
|
@@ -15453,7 +15453,7 @@ function $_(e) {
|
|
|
15453
15453
|
resourceTitleString: J,
|
|
15454
15454
|
resource: oe,
|
|
15455
15455
|
setextHeading: p(ae),
|
|
15456
|
-
setextHeadingLineSequence:
|
|
15456
|
+
setextHeadingLineSequence: j,
|
|
15457
15457
|
setextHeadingText: M,
|
|
15458
15458
|
strong: p(),
|
|
15459
15459
|
thematicBreak: p()
|
|
@@ -15649,14 +15649,14 @@ function $_(e) {
|
|
|
15649
15649
|
function M() {
|
|
15650
15650
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
15651
15651
|
}
|
|
15652
|
-
function
|
|
15652
|
+
function j(ee) {
|
|
15653
15653
|
const de = this.stack[this.stack.length - 1];
|
|
15654
15654
|
de.depth = this.sliceSerialize(ee).codePointAt(0) === 61 ? 1 : 2;
|
|
15655
15655
|
}
|
|
15656
15656
|
function ae() {
|
|
15657
15657
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
15658
15658
|
}
|
|
15659
|
-
function
|
|
15659
|
+
function V(ee) {
|
|
15660
15660
|
const Ae = this.stack[this.stack.length - 1].children;
|
|
15661
15661
|
let He = Ae[Ae.length - 1];
|
|
15662
15662
|
(!He || He.type !== "text") && (He = Xe(), He.position = {
|
|
@@ -15669,19 +15669,19 @@ function $_(e) {
|
|
|
15669
15669
|
const de = this.stack.pop();
|
|
15670
15670
|
de.value += this.sliceSerialize(ee), de.position.end = Va(ee.end);
|
|
15671
15671
|
}
|
|
15672
|
-
function
|
|
15672
|
+
function Y(ee) {
|
|
15673
15673
|
const de = this.stack[this.stack.length - 1];
|
|
15674
15674
|
if (this.data.atHardBreak) {
|
|
15675
15675
|
const Ae = de.children[de.children.length - 1];
|
|
15676
15676
|
Ae.position.end = Va(ee.end), this.data.atHardBreak = void 0;
|
|
15677
15677
|
return;
|
|
15678
15678
|
}
|
|
15679
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(de.type) && (
|
|
15679
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(de.type) && (V.call(this, ee), A.call(this, ee));
|
|
15680
15680
|
}
|
|
15681
|
-
function
|
|
15681
|
+
function X() {
|
|
15682
15682
|
this.data.atHardBreak = !0;
|
|
15683
15683
|
}
|
|
15684
|
-
function
|
|
15684
|
+
function K() {
|
|
15685
15685
|
const ee = this.resume(), de = this.stack[this.stack.length - 1];
|
|
15686
15686
|
de.value = ee;
|
|
15687
15687
|
}
|
|
@@ -15693,7 +15693,7 @@ function $_(e) {
|
|
|
15693
15693
|
const ee = this.resume(), de = this.stack[this.stack.length - 1];
|
|
15694
15694
|
de.value = ee;
|
|
15695
15695
|
}
|
|
15696
|
-
function
|
|
15696
|
+
function Q() {
|
|
15697
15697
|
const ee = this.stack[this.stack.length - 1];
|
|
15698
15698
|
if (this.data.inReference) {
|
|
15699
15699
|
const de = this.data.referenceType || "shortcut";
|
|
@@ -27280,18 +27280,18 @@ function yN(e) {
|
|
|
27280
27280
|
}, [d]), x.useEffect(() => {
|
|
27281
27281
|
if (!d || !O.current)
|
|
27282
27282
|
return;
|
|
27283
|
-
const k = Wa(O.current), P = (
|
|
27284
|
-
L.current =
|
|
27283
|
+
const k = Wa(O.current), P = (j) => {
|
|
27284
|
+
L.current = j, !(i || !c() || j.key !== "Tab") && k.activeElement === O.current && j.shiftKey && (p.current = !0, b.current && b.current.focus());
|
|
27285
27285
|
}, I = () => {
|
|
27286
|
-
var
|
|
27287
|
-
const
|
|
27288
|
-
if (
|
|
27286
|
+
var V, A;
|
|
27287
|
+
const j = O.current;
|
|
27288
|
+
if (j === null)
|
|
27289
27289
|
return;
|
|
27290
27290
|
if (!k.hasFocus() || !c() || p.current) {
|
|
27291
27291
|
p.current = !1;
|
|
27292
27292
|
return;
|
|
27293
27293
|
}
|
|
27294
|
-
if (
|
|
27294
|
+
if (j.contains(k.activeElement) || i && k.activeElement !== m.current && k.activeElement !== b.current)
|
|
27295
27295
|
return;
|
|
27296
27296
|
if (k.activeElement !== S.current)
|
|
27297
27297
|
S.current = null;
|
|
@@ -27301,10 +27301,10 @@ function yN(e) {
|
|
|
27301
27301
|
return;
|
|
27302
27302
|
let ae = [];
|
|
27303
27303
|
if ((k.activeElement === m.current || k.activeElement === b.current) && (ae = s(O.current)), ae.length > 0) {
|
|
27304
|
-
const
|
|
27305
|
-
typeof
|
|
27304
|
+
const Y = !!((V = L.current) != null && V.shiftKey && ((A = L.current) == null ? void 0 : A.key) === "Tab"), X = ae[0], K = ae[ae.length - 1];
|
|
27305
|
+
typeof X != "string" && typeof K != "string" && (Y ? K.focus() : X.focus());
|
|
27306
27306
|
} else
|
|
27307
|
-
|
|
27307
|
+
j.focus();
|
|
27308
27308
|
};
|
|
27309
27309
|
k.addEventListener("focusin", I), k.addEventListener("keydown", P, !0);
|
|
27310
27310
|
const M = setInterval(() => {
|
|
@@ -28400,8 +28400,8 @@ function N9(e = {}) {
|
|
|
28400
28400
|
...O
|
|
28401
28401
|
}), k = (I) => {
|
|
28402
28402
|
if (typeof I == "function" && I.__emotion_real !== I)
|
|
28403
|
-
return function(
|
|
28404
|
-
return Nc(
|
|
28403
|
+
return function(j) {
|
|
28404
|
+
return Nc(j, I);
|
|
28405
28405
|
};
|
|
28406
28406
|
if ($r(I)) {
|
|
28407
28407
|
const M = kS(I);
|
|
@@ -28411,26 +28411,26 @@ function N9(e = {}) {
|
|
|
28411
28411
|
}
|
|
28412
28412
|
return I;
|
|
28413
28413
|
}, P = (...I) => {
|
|
28414
|
-
const M = [],
|
|
28415
|
-
if (M.push(s), m && y && ae.push(function(
|
|
28416
|
-
var
|
|
28417
|
-
const Z = (se = (
|
|
28414
|
+
const M = [], j = I.map(k), ae = [];
|
|
28415
|
+
if (M.push(s), m && y && ae.push(function(X) {
|
|
28416
|
+
var Q, se;
|
|
28417
|
+
const Z = (se = (Q = X.theme.components) == null ? void 0 : Q[m]) == null ? void 0 : se.styleOverrides;
|
|
28418
28418
|
if (!Z)
|
|
28419
28419
|
return null;
|
|
28420
28420
|
const re = {};
|
|
28421
28421
|
for (const ne in Z)
|
|
28422
|
-
re[ne] = Nc(
|
|
28423
|
-
return y(
|
|
28424
|
-
}), m && !_ && ae.push(function(
|
|
28425
|
-
var re,
|
|
28426
|
-
const
|
|
28427
|
-
return Z ? DS(
|
|
28428
|
-
}), L || ae.push(ki), Array.isArray(
|
|
28429
|
-
const
|
|
28422
|
+
re[ne] = Nc(X, Z[ne]);
|
|
28423
|
+
return y(X, re);
|
|
28424
|
+
}), m && !_ && ae.push(function(X) {
|
|
28425
|
+
var re, Q;
|
|
28426
|
+
const K = X.theme, Z = (Q = (re = K == null ? void 0 : K.components) == null ? void 0 : re[m]) == null ? void 0 : Q.variants;
|
|
28427
|
+
return Z ? DS(X, Z) : null;
|
|
28428
|
+
}), L || ae.push(ki), Array.isArray(j[0])) {
|
|
28429
|
+
const Y = j.shift(), X = new Array(M.length).fill(""), K = new Array(ae.length).fill("");
|
|
28430
28430
|
let Z;
|
|
28431
|
-
Z = [...
|
|
28431
|
+
Z = [...X, ...Y, ...K], Z.raw = [...X, ...Y.raw, ...K], M.unshift(Z);
|
|
28432
28432
|
}
|
|
28433
|
-
const
|
|
28433
|
+
const V = [...M, ...j, ...ae], A = H(...V);
|
|
28434
28434
|
return d.muiName && (A.muiName = d.muiName), A;
|
|
28435
28435
|
};
|
|
28436
28436
|
return H.withConfig && (P.withConfig = H.withConfig), P;
|
|
@@ -28844,7 +28844,7 @@ function W9(e) {
|
|
|
28844
28844
|
}) : E((P) => {
|
|
28845
28845
|
const I = {
|
|
28846
28846
|
...P
|
|
28847
|
-
}, M = k.light === null ? r : k.light,
|
|
28847
|
+
}, M = k.light === null ? r : k.light, j = k.dark === null ? i : k.dark;
|
|
28848
28848
|
if (M)
|
|
28849
28849
|
if (!p.includes(M))
|
|
28850
28850
|
console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`);
|
|
@@ -28855,13 +28855,13 @@ function W9(e) {
|
|
|
28855
28855
|
} catch {
|
|
28856
28856
|
}
|
|
28857
28857
|
}
|
|
28858
|
-
if (
|
|
28859
|
-
if (!p.includes(
|
|
28860
|
-
console.error(`\`${
|
|
28858
|
+
if (j)
|
|
28859
|
+
if (!p.includes(j))
|
|
28860
|
+
console.error(`\`${j}\` does not exist in \`theme.colorSchemes\`.`);
|
|
28861
28861
|
else {
|
|
28862
|
-
I.darkColorScheme =
|
|
28862
|
+
I.darkColorScheme = j;
|
|
28863
28863
|
try {
|
|
28864
|
-
localStorage.setItem(`${c}-dark`,
|
|
28864
|
+
localStorage.setItem(`${c}-dark`, j);
|
|
28865
28865
|
} catch {
|
|
28866
28866
|
}
|
|
28867
28867
|
}
|
|
@@ -28954,16 +28954,16 @@ function J9(e) {
|
|
|
28954
28954
|
disableTransitionOnChange: P = s,
|
|
28955
28955
|
storageWindow: I = typeof window > "u" ? void 0 : window,
|
|
28956
28956
|
documentNode: M = typeof document > "u" ? void 0 : document,
|
|
28957
|
-
colorSchemeNode:
|
|
28957
|
+
colorSchemeNode: j = typeof document > "u" ? void 0 : document.documentElement,
|
|
28958
28958
|
disableNestedContext: ae = !1,
|
|
28959
|
-
disableStyleSheetGeneration:
|
|
28959
|
+
disableStyleSheetGeneration: V = !1,
|
|
28960
28960
|
defaultMode: A = "system"
|
|
28961
|
-
} = _,
|
|
28961
|
+
} = _, Y = x.useRef(!1), X = Ip(), K = x.useContext(m), Z = !!K && !ae, re = x.useMemo(() => R || (typeof r == "function" ? r() : r), [R]), Q = re[t], {
|
|
28962
28962
|
colorSchemes: se = {},
|
|
28963
28963
|
components: ne = {},
|
|
28964
28964
|
cssVarPrefix: be,
|
|
28965
28965
|
...C
|
|
28966
|
-
} =
|
|
28966
|
+
} = Q || re, J = Object.keys(se).filter((de) => !!se[de]).join(","), oe = x.useMemo(() => J.split(","), [J]), D = typeof c == "string" ? c : c.light, ce = typeof c == "string" ? c : c.dark, Oe = se[D] && se[ce] ? A : ((Ie = (Sn = se[C.defaultColorScheme]) == null ? void 0 : Sn.palette) == null ? void 0 : Ie.mode) || ((Xe = C.palette) == null ? void 0 : Xe.mode), {
|
|
28967
28967
|
mode: Se,
|
|
28968
28968
|
setMode: et,
|
|
28969
28969
|
systemMode: Me,
|
|
@@ -28981,7 +28981,7 @@ function J9(e) {
|
|
|
28981
28981
|
storageWindow: I
|
|
28982
28982
|
});
|
|
28983
28983
|
let Re = Se, Ce = Ge;
|
|
28984
|
-
Z && (Re =
|
|
28984
|
+
Z && (Re = K.mode, Ce = K.colorScheme);
|
|
28985
28985
|
const Be = Ce || C.defaultColorScheme, at = ((jt = C.generateThemeVars) == null ? void 0 : jt.call(C)) || C.vars, je = {
|
|
28986
28986
|
...C,
|
|
28987
28987
|
components: ne,
|
|
@@ -29000,25 +29000,25 @@ function J9(e) {
|
|
|
29000
29000
|
}
|
|
29001
29001
|
const Ue = C.colorSchemeSelector;
|
|
29002
29002
|
x.useEffect(() => {
|
|
29003
|
-
if (Ce &&
|
|
29003
|
+
if (Ce && j && Ue && Ue !== "media") {
|
|
29004
29004
|
const de = Ue;
|
|
29005
29005
|
let Ae = Ue;
|
|
29006
29006
|
if (de === "class" && (Ae = ".%s"), de === "data" && (Ae = "[data-%s]"), de != null && de.startsWith("data-") && !de.includes("%s") && (Ae = `[${de}="%s"]`), Ae.startsWith("."))
|
|
29007
|
-
|
|
29007
|
+
j.classList.remove(...oe.map((He) => Ae.substring(1).replace("%s", He))), j.classList.add(Ae.substring(1).replace("%s", Ce));
|
|
29008
29008
|
else {
|
|
29009
29009
|
const He = Ae.replace("%s", Ce).match(/\[([^\]]+)\]/);
|
|
29010
29010
|
if (He) {
|
|
29011
29011
|
const [nt, Qe] = He[1].split("=");
|
|
29012
29012
|
Qe || oe.forEach((Cn) => {
|
|
29013
|
-
|
|
29014
|
-
}),
|
|
29013
|
+
j.removeAttribute(nt.replace(Ce, Cn));
|
|
29014
|
+
}), j.setAttribute(nt, Qe ? Qe.replace(/"|'/g, "") : "");
|
|
29015
29015
|
} else
|
|
29016
|
-
|
|
29016
|
+
j.setAttribute(Ae, Ce);
|
|
29017
29017
|
}
|
|
29018
29018
|
}
|
|
29019
|
-
}, [Ce, Ue,
|
|
29019
|
+
}, [Ce, Ue, j, oe]), x.useEffect(() => {
|
|
29020
29020
|
let de;
|
|
29021
|
-
if (P &&
|
|
29021
|
+
if (P && Y.current && M) {
|
|
29022
29022
|
const Ae = M.createElement("style");
|
|
29023
29023
|
Ae.appendChild(M.createTextNode(Z9)), M.head.appendChild(Ae), window.getComputedStyle(M.body), de = setTimeout(() => {
|
|
29024
29024
|
M.head.removeChild(Ae);
|
|
@@ -29027,8 +29027,8 @@ function J9(e) {
|
|
|
29027
29027
|
return () => {
|
|
29028
29028
|
clearTimeout(de);
|
|
29029
29029
|
};
|
|
29030
|
-
}, [Ce, P, M]), x.useEffect(() => (
|
|
29031
|
-
|
|
29030
|
+
}, [Ce, P, M]), x.useEffect(() => (Y.current = !0, () => {
|
|
29031
|
+
Y.current = !1;
|
|
29032
29032
|
}), []);
|
|
29033
29033
|
const st = x.useMemo(() => ({
|
|
29034
29034
|
allColorSchemes: oe,
|
|
@@ -29041,10 +29041,10 @@ function J9(e) {
|
|
|
29041
29041
|
systemMode: Me
|
|
29042
29042
|
}), [oe, Ce, xe, $e, Re, ve, et, Me]);
|
|
29043
29043
|
let St = !0;
|
|
29044
|
-
(
|
|
29044
|
+
(V || C.cssVariables === !1 || Z && (X == null ? void 0 : X.cssVarPrefix) === be) && (St = !1);
|
|
29045
29045
|
const Zt = /* @__PURE__ */ me.jsxs(x.Fragment, {
|
|
29046
29046
|
children: [/* @__PURE__ */ me.jsx(MS, {
|
|
29047
|
-
themeId:
|
|
29047
|
+
themeId: Q ? t : void 0,
|
|
29048
29048
|
theme: d ? d(je) : je,
|
|
29049
29049
|
children: L
|
|
29050
29050
|
}), St && /* @__PURE__ */ me.jsx(RS, {
|
|
@@ -29138,9 +29138,9 @@ function rk(e, t = {}) {
|
|
|
29138
29138
|
const {
|
|
29139
29139
|
vars: I,
|
|
29140
29140
|
css: M,
|
|
29141
|
-
varsWithDefaults:
|
|
29141
|
+
varsWithDefaults: j
|
|
29142
29142
|
} = eh(P, t);
|
|
29143
|
-
S = Hn(S,
|
|
29143
|
+
S = Hn(S, j), y[k] = {
|
|
29144
29144
|
css: M,
|
|
29145
29145
|
vars: I
|
|
29146
29146
|
};
|
|
@@ -29156,12 +29156,12 @@ function rk(e, t = {}) {
|
|
|
29156
29156
|
};
|
|
29157
29157
|
}
|
|
29158
29158
|
function L(k, P) {
|
|
29159
|
-
var M,
|
|
29159
|
+
var M, j;
|
|
29160
29160
|
let I = l;
|
|
29161
29161
|
if (l === "class" && (I = ".%s"), l === "data" && (I = "[data-%s]"), l != null && l.startsWith("data-") && !l.includes("%s") && (I = `[${l}="%s"]`), k) {
|
|
29162
29162
|
if (I === "media")
|
|
29163
29163
|
return e.defaultColorScheme === k ? ":root" : {
|
|
29164
|
-
[`@media (prefers-color-scheme: ${((
|
|
29164
|
+
[`@media (prefers-color-scheme: ${((j = (M = s[k]) == null ? void 0 : M.palette) == null ? void 0 : j.mode) || k})`]: {
|
|
29165
29165
|
":root": P
|
|
29166
29166
|
}
|
|
29167
29167
|
};
|
|
@@ -29183,12 +29183,12 @@ function rk(e, t = {}) {
|
|
|
29183
29183
|
}), k;
|
|
29184
29184
|
},
|
|
29185
29185
|
generateStyleSheets: () => {
|
|
29186
|
-
var ae,
|
|
29186
|
+
var ae, V;
|
|
29187
29187
|
const k = [], P = e.defaultColorScheme || "light";
|
|
29188
|
-
function I(A,
|
|
29189
|
-
Object.keys(
|
|
29188
|
+
function I(A, Y) {
|
|
29189
|
+
Object.keys(Y).length && k.push(typeof A == "string" ? {
|
|
29190
29190
|
[A]: {
|
|
29191
|
-
...
|
|
29191
|
+
...Y
|
|
29192
29192
|
}
|
|
29193
29193
|
} : A);
|
|
29194
29194
|
}
|
|
@@ -29197,34 +29197,34 @@ function rk(e, t = {}) {
|
|
|
29197
29197
|
}), b);
|
|
29198
29198
|
const {
|
|
29199
29199
|
[P]: M,
|
|
29200
|
-
...
|
|
29200
|
+
...j
|
|
29201
29201
|
} = y;
|
|
29202
29202
|
if (M) {
|
|
29203
29203
|
const {
|
|
29204
29204
|
css: A
|
|
29205
|
-
} = M,
|
|
29206
|
-
colorScheme:
|
|
29205
|
+
} = M, Y = (V = (ae = s[P]) == null ? void 0 : ae.palette) == null ? void 0 : V.mode, X = !i && Y ? {
|
|
29206
|
+
colorScheme: Y,
|
|
29207
29207
|
...A
|
|
29208
29208
|
} : {
|
|
29209
29209
|
...A
|
|
29210
29210
|
};
|
|
29211
29211
|
I(r(P, {
|
|
29212
|
-
...
|
|
29213
|
-
}),
|
|
29212
|
+
...X
|
|
29213
|
+
}), X);
|
|
29214
29214
|
}
|
|
29215
|
-
return Object.entries(
|
|
29216
|
-
css:
|
|
29215
|
+
return Object.entries(j).forEach(([A, {
|
|
29216
|
+
css: Y
|
|
29217
29217
|
}]) => {
|
|
29218
29218
|
var Z, re;
|
|
29219
|
-
const
|
|
29220
|
-
colorScheme:
|
|
29221
|
-
...
|
|
29219
|
+
const X = (re = (Z = s[A]) == null ? void 0 : Z.palette) == null ? void 0 : re.mode, K = !i && X ? {
|
|
29220
|
+
colorScheme: X,
|
|
29221
|
+
...Y
|
|
29222
29222
|
} : {
|
|
29223
|
-
...
|
|
29223
|
+
...Y
|
|
29224
29224
|
};
|
|
29225
29225
|
I(r(A, {
|
|
29226
|
-
...
|
|
29227
|
-
}),
|
|
29226
|
+
...K
|
|
29227
|
+
}), K);
|
|
29228
29228
|
}), k;
|
|
29229
29229
|
}
|
|
29230
29230
|
};
|
|
@@ -29923,26 +29923,26 @@ function wk(e = {}, ...t) {
|
|
|
29923
29923
|
},
|
|
29924
29924
|
spacing: Lk(m.spacing)
|
|
29925
29925
|
};
|
|
29926
|
-
Object.keys(P.colorSchemes).forEach((
|
|
29927
|
-
const A = P.colorSchemes[
|
|
29928
|
-
const
|
|
29929
|
-
return S(
|
|
29926
|
+
Object.keys(P.colorSchemes).forEach((V) => {
|
|
29927
|
+
const A = P.colorSchemes[V].palette, Y = (X) => {
|
|
29928
|
+
const K = X.split("-"), Z = K[1], re = K[2];
|
|
29929
|
+
return S(X, A[Z][re]);
|
|
29930
29930
|
};
|
|
29931
29931
|
if (A.mode === "light" && (ie(A.common, "background", "#fff"), ie(A.common, "onBackground", "#000")), A.mode === "dark" && (ie(A.common, "background", "#000"), ie(A.common, "onBackground", "#fff")), Dk(A, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), A.mode === "light") {
|
|
29932
|
-
ie(A.Alert, "errorColor", _t(A.error.light, 0.6)), ie(A.Alert, "infoColor", _t(A.info.light, 0.6)), ie(A.Alert, "successColor", _t(A.success.light, 0.6)), ie(A.Alert, "warningColor", _t(A.warning.light, 0.6)), ie(A.Alert, "errorFilledBg",
|
|
29933
|
-
const
|
|
29934
|
-
ie(A.SnackbarContent, "bg",
|
|
29932
|
+
ie(A.Alert, "errorColor", _t(A.error.light, 0.6)), ie(A.Alert, "infoColor", _t(A.info.light, 0.6)), ie(A.Alert, "successColor", _t(A.success.light, 0.6)), ie(A.Alert, "warningColor", _t(A.warning.light, 0.6)), ie(A.Alert, "errorFilledBg", Y("palette-error-main")), ie(A.Alert, "infoFilledBg", Y("palette-info-main")), ie(A.Alert, "successFilledBg", Y("palette-success-main")), ie(A.Alert, "warningFilledBg", Y("palette-warning-main")), ie(A.Alert, "errorFilledColor", Hr(() => A.getContrastText(A.error.main))), ie(A.Alert, "infoFilledColor", Hr(() => A.getContrastText(A.info.main))), ie(A.Alert, "successFilledColor", Hr(() => A.getContrastText(A.success.main))), ie(A.Alert, "warningFilledColor", Hr(() => A.getContrastText(A.warning.main))), ie(A.Alert, "errorStandardBg", vt(A.error.light, 0.9)), ie(A.Alert, "infoStandardBg", vt(A.info.light, 0.9)), ie(A.Alert, "successStandardBg", vt(A.success.light, 0.9)), ie(A.Alert, "warningStandardBg", vt(A.warning.light, 0.9)), ie(A.Alert, "errorIconColor", Y("palette-error-main")), ie(A.Alert, "infoIconColor", Y("palette-info-main")), ie(A.Alert, "successIconColor", Y("palette-success-main")), ie(A.Alert, "warningIconColor", Y("palette-warning-main")), ie(A.AppBar, "defaultBg", Y("palette-grey-100")), ie(A.Avatar, "defaultBg", Y("palette-grey-400")), ie(A.Button, "inheritContainedBg", Y("palette-grey-300")), ie(A.Button, "inheritContainedHoverBg", Y("palette-grey-A100")), ie(A.Chip, "defaultBorder", Y("palette-grey-400")), ie(A.Chip, "defaultAvatarColor", Y("palette-grey-700")), ie(A.Chip, "defaultIconColor", Y("palette-grey-700")), ie(A.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), ie(A.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), ie(A.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), ie(A.LinearProgress, "primaryBg", vt(A.primary.main, 0.62)), ie(A.LinearProgress, "secondaryBg", vt(A.secondary.main, 0.62)), ie(A.LinearProgress, "errorBg", vt(A.error.main, 0.62)), ie(A.LinearProgress, "infoBg", vt(A.info.main, 0.62)), ie(A.LinearProgress, "successBg", vt(A.success.main, 0.62)), ie(A.LinearProgress, "warningBg", vt(A.warning.main, 0.62)), ie(A.Skeleton, "bg", `rgba(${Y("palette-text-primaryChannel")} / 0.11)`), ie(A.Slider, "primaryTrack", vt(A.primary.main, 0.62)), ie(A.Slider, "secondaryTrack", vt(A.secondary.main, 0.62)), ie(A.Slider, "errorTrack", vt(A.error.main, 0.62)), ie(A.Slider, "infoTrack", vt(A.info.main, 0.62)), ie(A.Slider, "successTrack", vt(A.success.main, 0.62)), ie(A.Slider, "warningTrack", vt(A.warning.main, 0.62));
|
|
29933
|
+
const X = mc(A.background.default, 0.8);
|
|
29934
|
+
ie(A.SnackbarContent, "bg", X), ie(A.SnackbarContent, "color", Hr(() => A.getContrastText(X))), ie(A.SpeedDialAction, "fabHoverBg", mc(A.background.paper, 0.15)), ie(A.StepConnector, "border", Y("palette-grey-400")), ie(A.StepContent, "border", Y("palette-grey-400")), ie(A.Switch, "defaultColor", Y("palette-common-white")), ie(A.Switch, "defaultDisabledColor", Y("palette-grey-100")), ie(A.Switch, "primaryDisabledColor", vt(A.primary.main, 0.62)), ie(A.Switch, "secondaryDisabledColor", vt(A.secondary.main, 0.62)), ie(A.Switch, "errorDisabledColor", vt(A.error.main, 0.62)), ie(A.Switch, "infoDisabledColor", vt(A.info.main, 0.62)), ie(A.Switch, "successDisabledColor", vt(A.success.main, 0.62)), ie(A.Switch, "warningDisabledColor", vt(A.warning.main, 0.62)), ie(A.TableCell, "border", vt(pc(A.divider, 1), 0.88)), ie(A.Tooltip, "bg", pc(A.grey[700], 0.92));
|
|
29935
29935
|
}
|
|
29936
29936
|
if (A.mode === "dark") {
|
|
29937
|
-
ie(A.Alert, "errorColor", vt(A.error.light, 0.6)), ie(A.Alert, "infoColor", vt(A.info.light, 0.6)), ie(A.Alert, "successColor", vt(A.success.light, 0.6)), ie(A.Alert, "warningColor", vt(A.warning.light, 0.6)), ie(A.Alert, "errorFilledBg",
|
|
29938
|
-
const
|
|
29939
|
-
ie(A.SnackbarContent, "bg",
|
|
29937
|
+
ie(A.Alert, "errorColor", vt(A.error.light, 0.6)), ie(A.Alert, "infoColor", vt(A.info.light, 0.6)), ie(A.Alert, "successColor", vt(A.success.light, 0.6)), ie(A.Alert, "warningColor", vt(A.warning.light, 0.6)), ie(A.Alert, "errorFilledBg", Y("palette-error-dark")), ie(A.Alert, "infoFilledBg", Y("palette-info-dark")), ie(A.Alert, "successFilledBg", Y("palette-success-dark")), ie(A.Alert, "warningFilledBg", Y("palette-warning-dark")), ie(A.Alert, "errorFilledColor", Hr(() => A.getContrastText(A.error.dark))), ie(A.Alert, "infoFilledColor", Hr(() => A.getContrastText(A.info.dark))), ie(A.Alert, "successFilledColor", Hr(() => A.getContrastText(A.success.dark))), ie(A.Alert, "warningFilledColor", Hr(() => A.getContrastText(A.warning.dark))), ie(A.Alert, "errorStandardBg", _t(A.error.light, 0.9)), ie(A.Alert, "infoStandardBg", _t(A.info.light, 0.9)), ie(A.Alert, "successStandardBg", _t(A.success.light, 0.9)), ie(A.Alert, "warningStandardBg", _t(A.warning.light, 0.9)), ie(A.Alert, "errorIconColor", Y("palette-error-main")), ie(A.Alert, "infoIconColor", Y("palette-info-main")), ie(A.Alert, "successIconColor", Y("palette-success-main")), ie(A.Alert, "warningIconColor", Y("palette-warning-main")), ie(A.AppBar, "defaultBg", Y("palette-grey-900")), ie(A.AppBar, "darkBg", Y("palette-background-paper")), ie(A.AppBar, "darkColor", Y("palette-text-primary")), ie(A.Avatar, "defaultBg", Y("palette-grey-600")), ie(A.Button, "inheritContainedBg", Y("palette-grey-800")), ie(A.Button, "inheritContainedHoverBg", Y("palette-grey-700")), ie(A.Chip, "defaultBorder", Y("palette-grey-700")), ie(A.Chip, "defaultAvatarColor", Y("palette-grey-300")), ie(A.Chip, "defaultIconColor", Y("palette-grey-300")), ie(A.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), ie(A.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), ie(A.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), ie(A.LinearProgress, "primaryBg", _t(A.primary.main, 0.5)), ie(A.LinearProgress, "secondaryBg", _t(A.secondary.main, 0.5)), ie(A.LinearProgress, "errorBg", _t(A.error.main, 0.5)), ie(A.LinearProgress, "infoBg", _t(A.info.main, 0.5)), ie(A.LinearProgress, "successBg", _t(A.success.main, 0.5)), ie(A.LinearProgress, "warningBg", _t(A.warning.main, 0.5)), ie(A.Skeleton, "bg", `rgba(${Y("palette-text-primaryChannel")} / 0.13)`), ie(A.Slider, "primaryTrack", _t(A.primary.main, 0.5)), ie(A.Slider, "secondaryTrack", _t(A.secondary.main, 0.5)), ie(A.Slider, "errorTrack", _t(A.error.main, 0.5)), ie(A.Slider, "infoTrack", _t(A.info.main, 0.5)), ie(A.Slider, "successTrack", _t(A.success.main, 0.5)), ie(A.Slider, "warningTrack", _t(A.warning.main, 0.5));
|
|
29938
|
+
const X = mc(A.background.default, 0.98);
|
|
29939
|
+
ie(A.SnackbarContent, "bg", X), ie(A.SnackbarContent, "color", Hr(() => A.getContrastText(X))), ie(A.SpeedDialAction, "fabHoverBg", mc(A.background.paper, 0.15)), ie(A.StepConnector, "border", Y("palette-grey-600")), ie(A.StepContent, "border", Y("palette-grey-600")), ie(A.Switch, "defaultColor", Y("palette-grey-300")), ie(A.Switch, "defaultDisabledColor", Y("palette-grey-600")), ie(A.Switch, "primaryDisabledColor", _t(A.primary.main, 0.55)), ie(A.Switch, "secondaryDisabledColor", _t(A.secondary.main, 0.55)), ie(A.Switch, "errorDisabledColor", _t(A.error.main, 0.55)), ie(A.Switch, "infoDisabledColor", _t(A.info.main, 0.55)), ie(A.Switch, "successDisabledColor", _t(A.success.main, 0.55)), ie(A.Switch, "warningDisabledColor", _t(A.warning.main, 0.55)), ie(A.TableCell, "border", _t(pc(A.divider, 1), 0.68)), ie(A.Tooltip, "bg", pc(A.grey[700], 0.92));
|
|
29940
29940
|
}
|
|
29941
|
-
ma(A.background, "default"), ma(A.background, "paper"), ma(A.common, "background"), ma(A.common, "onBackground"), ma(A, "divider"), Object.keys(A).forEach((
|
|
29942
|
-
const
|
|
29943
|
-
|
|
29941
|
+
ma(A.background, "default"), ma(A.background, "paper"), ma(A.common, "background"), ma(A.common, "onBackground"), ma(A, "divider"), Object.keys(A).forEach((X) => {
|
|
29942
|
+
const K = A[X];
|
|
29943
|
+
K && typeof K == "object" && (K.main && ie(A[X], "mainChannel", eo(to(K.main))), K.light && ie(A[X], "lightChannel", eo(to(K.light))), K.dark && ie(A[X], "darkChannel", eo(to(K.dark))), K.contrastText && ie(A[X], "contrastTextChannel", eo(to(K.contrastText))), X === "text" && (ma(A[X], "primary"), ma(A[X], "secondary")), X === "action" && (K.active && ma(A[X], "active"), K.selected && ma(A[X], "selected")));
|
|
29944
29944
|
});
|
|
29945
|
-
}), P = t.reduce((
|
|
29945
|
+
}), P = t.reduce((V, A) => Hn(V, A), P);
|
|
29946
29946
|
const I = {
|
|
29947
29947
|
prefix: s,
|
|
29948
29948
|
disableCssColorScheme: l,
|
|
@@ -29950,12 +29950,12 @@ function wk(e = {}, ...t) {
|
|
|
29950
29950
|
getSelector: kk(P)
|
|
29951
29951
|
}, {
|
|
29952
29952
|
vars: M,
|
|
29953
|
-
generateThemeVars:
|
|
29953
|
+
generateThemeVars: j,
|
|
29954
29954
|
generateStyleSheets: ae
|
|
29955
29955
|
} = rk(P, I);
|
|
29956
|
-
return P.vars = M, Object.entries(P.colorSchemes[P.defaultColorScheme]).forEach(([
|
|
29957
|
-
P[
|
|
29958
|
-
}), P.generateThemeVars =
|
|
29956
|
+
return P.vars = M, Object.entries(P.colorSchemes[P.defaultColorScheme]).forEach(([V, A]) => {
|
|
29957
|
+
P[V] = A;
|
|
29958
|
+
}), P.generateThemeVars = j, P.generateStyleSheets = ae, P.generateSpacing = function() {
|
|
29959
29959
|
return OS(m.spacing, Op(this));
|
|
29960
29960
|
}, P.getColorSchemeSelector = ak(d), P.spacing = P.generateSpacing(), P.shouldSkipGeneratingVar = c, P.unstable_sxConfig = {
|
|
29961
29961
|
...Jo,
|
|
@@ -30102,8 +30102,8 @@ function Uu(e, t) {
|
|
|
30102
30102
|
},
|
|
30103
30103
|
ref: H
|
|
30104
30104
|
}, P);
|
|
30105
|
-
return Object.keys(k).forEach((
|
|
30106
|
-
delete M[
|
|
30105
|
+
return Object.keys(k).forEach((j) => {
|
|
30106
|
+
delete M[j];
|
|
30107
30107
|
}), [y, M];
|
|
30108
30108
|
}
|
|
30109
30109
|
function VS(e, t) {
|
|
@@ -30450,20 +30450,20 @@ const qk = {
|
|
|
30450
30450
|
...k
|
|
30451
30451
|
} = t, P = x.useRef(null), I = Ar(P, uf(d), r), M = (Z) => (re) => {
|
|
30452
30452
|
if (Z) {
|
|
30453
|
-
const
|
|
30454
|
-
re === void 0 ? Z(
|
|
30453
|
+
const Q = P.current;
|
|
30454
|
+
re === void 0 ? Z(Q) : Z(Q, re);
|
|
30455
30455
|
}
|
|
30456
|
-
},
|
|
30456
|
+
}, j = M(S), ae = M((Z, re) => {
|
|
30457
30457
|
qS(Z);
|
|
30458
|
-
const
|
|
30458
|
+
const Q = Fc({
|
|
30459
30459
|
style: L,
|
|
30460
30460
|
timeout: R,
|
|
30461
30461
|
easing: p
|
|
30462
30462
|
}, {
|
|
30463
30463
|
mode: "enter"
|
|
30464
30464
|
});
|
|
30465
|
-
Z.style.webkitTransition = i.transitions.create("opacity",
|
|
30466
|
-
}),
|
|
30465
|
+
Z.style.webkitTransition = i.transitions.create("opacity", Q), Z.style.transition = i.transitions.create("opacity", Q), b && b(Z, re);
|
|
30466
|
+
}), V = M(E), A = M(_), Y = M((Z) => {
|
|
30467
30467
|
const re = Fc({
|
|
30468
30468
|
style: L,
|
|
30469
30469
|
timeout: R,
|
|
@@ -30472,7 +30472,7 @@ const qk = {
|
|
|
30472
30472
|
mode: "exit"
|
|
30473
30473
|
});
|
|
30474
30474
|
Z.style.webkitTransition = i.transitions.create("opacity", re), Z.style.transition = i.transitions.create("opacity", re), y && y(Z);
|
|
30475
|
-
}),
|
|
30475
|
+
}), X = M(O), K = (Z) => {
|
|
30476
30476
|
s && s(P.current, Z);
|
|
30477
30477
|
};
|
|
30478
30478
|
return /* @__PURE__ */ me.jsx(H, {
|
|
@@ -30480,12 +30480,12 @@ const qk = {
|
|
|
30480
30480
|
in: m,
|
|
30481
30481
|
nodeRef: P,
|
|
30482
30482
|
onEnter: ae,
|
|
30483
|
-
onEntered:
|
|
30484
|
-
onEntering:
|
|
30485
|
-
onExit:
|
|
30486
|
-
onExited:
|
|
30483
|
+
onEntered: V,
|
|
30484
|
+
onEntering: j,
|
|
30485
|
+
onExit: Y,
|
|
30486
|
+
onExited: X,
|
|
30487
30487
|
onExiting: A,
|
|
30488
|
-
addEndListener:
|
|
30488
|
+
addEndListener: K,
|
|
30489
30489
|
timeout: R,
|
|
30490
30490
|
...k,
|
|
30491
30491
|
children: (Z, re) => /* @__PURE__ */ x.cloneElement(d, {
|
|
@@ -30583,16 +30583,16 @@ const Qk = (e) => {
|
|
|
30583
30583
|
externalForwardedProps: P,
|
|
30584
30584
|
className: ft(R.root, s),
|
|
30585
30585
|
ownerState: L
|
|
30586
|
-
}), [
|
|
30586
|
+
}), [j, ae] = Uu("transition", {
|
|
30587
30587
|
elementType: Gk,
|
|
30588
30588
|
externalForwardedProps: P,
|
|
30589
30589
|
ownerState: L
|
|
30590
|
-
}),
|
|
30591
|
-
return /* @__PURE__ */ me.jsx(
|
|
30590
|
+
}), V = Qk(ae);
|
|
30591
|
+
return /* @__PURE__ */ me.jsx(j, {
|
|
30592
30592
|
in: p,
|
|
30593
30593
|
timeout: O,
|
|
30594
30594
|
..._,
|
|
30595
|
-
...
|
|
30595
|
+
...V,
|
|
30596
30596
|
children: /* @__PURE__ */ me.jsx(I, {
|
|
30597
30597
|
"aria-hidden": !0,
|
|
30598
30598
|
...M,
|
|
@@ -30631,30 +30631,30 @@ function tD(e) {
|
|
|
30631
30631
|
}, M = Ea(() => {
|
|
30632
30632
|
const re = Jk(t) || k().body;
|
|
30633
30633
|
gc.add(P(), re), y.current && I();
|
|
30634
|
-
}),
|
|
30635
|
-
S.current = re, re && (m &&
|
|
30636
|
-
}),
|
|
30634
|
+
}), j = () => gc.isTopModal(P()), ae = Ea((re) => {
|
|
30635
|
+
S.current = re, re && (m && j() ? I() : y.current && ho(y.current, H));
|
|
30636
|
+
}), V = x.useCallback(() => {
|
|
30637
30637
|
gc.remove(P(), H);
|
|
30638
30638
|
}, [H]);
|
|
30639
30639
|
x.useEffect(() => () => {
|
|
30640
|
-
|
|
30641
|
-
}, [
|
|
30642
|
-
m ? M() : (!R || !l) &&
|
|
30643
|
-
}, [m,
|
|
30644
|
-
const A = (re) => (
|
|
30640
|
+
V();
|
|
30641
|
+
}, [V]), x.useEffect(() => {
|
|
30642
|
+
m ? M() : (!R || !l) && V();
|
|
30643
|
+
}, [m, V, R, l, M]);
|
|
30644
|
+
const A = (re) => (Q) => {
|
|
30645
30645
|
var se;
|
|
30646
|
-
(se = re.onKeyDown) == null || se.call(re,
|
|
30647
|
-
!
|
|
30648
|
-
},
|
|
30646
|
+
(se = re.onKeyDown) == null || se.call(re, Q), !(Q.key !== "Escape" || Q.which === 229 || // Wait until IME is settled.
|
|
30647
|
+
!j()) && (r || (Q.stopPropagation(), p && p(Q, "escapeKeyDown")));
|
|
30648
|
+
}, Y = (re) => (Q) => {
|
|
30649
30649
|
var se;
|
|
30650
|
-
(se = re.onClick) == null || se.call(re,
|
|
30650
|
+
(se = re.onClick) == null || se.call(re, Q), Q.target === Q.currentTarget && p && p(Q, "backdropClick");
|
|
30651
30651
|
};
|
|
30652
30652
|
return {
|
|
30653
30653
|
getRootProps: (re = {}) => {
|
|
30654
|
-
const
|
|
30655
|
-
delete
|
|
30654
|
+
const Q = CS(e);
|
|
30655
|
+
delete Q.onTransitionEnter, delete Q.onTransitionExited;
|
|
30656
30656
|
const se = {
|
|
30657
|
-
...
|
|
30657
|
+
...Q,
|
|
30658
30658
|
...re
|
|
30659
30659
|
};
|
|
30660
30660
|
return {
|
|
@@ -30671,28 +30671,28 @@ function tD(e) {
|
|
|
30671
30671
|
};
|
|
30672
30672
|
},
|
|
30673
30673
|
getBackdropProps: (re = {}) => {
|
|
30674
|
-
const
|
|
30674
|
+
const Q = re;
|
|
30675
30675
|
return {
|
|
30676
30676
|
"aria-hidden": !0,
|
|
30677
|
-
...
|
|
30678
|
-
onClick:
|
|
30677
|
+
...Q,
|
|
30678
|
+
onClick: Y(Q),
|
|
30679
30679
|
open: m
|
|
30680
30680
|
};
|
|
30681
30681
|
},
|
|
30682
30682
|
getTransitionProps: () => {
|
|
30683
30683
|
const re = () => {
|
|
30684
30684
|
L(!1), s && s();
|
|
30685
|
-
},
|
|
30686
|
-
L(!0), c && c(), l &&
|
|
30685
|
+
}, Q = () => {
|
|
30686
|
+
L(!0), c && c(), l && V();
|
|
30687
30687
|
};
|
|
30688
30688
|
return {
|
|
30689
30689
|
onEnter: e2(re, d == null ? void 0 : d.props.onEnter),
|
|
30690
|
-
onExited: e2(
|
|
30690
|
+
onExited: e2(Q, d == null ? void 0 : d.props.onExited)
|
|
30691
30691
|
};
|
|
30692
30692
|
},
|
|
30693
30693
|
rootRef: O,
|
|
30694
30694
|
portalRef: ae,
|
|
30695
|
-
isTopModal:
|
|
30695
|
+
isTopModal: j,
|
|
30696
30696
|
exited: _,
|
|
30697
30697
|
hasTransition: R
|
|
30698
30698
|
};
|
|
@@ -30937,14 +30937,14 @@ const uD = (e) => {
|
|
|
30937
30937
|
hideBackdrop: P = !1,
|
|
30938
30938
|
keepMounted: I = !1,
|
|
30939
30939
|
onBackdropClick: M,
|
|
30940
|
-
onClose:
|
|
30940
|
+
onClose: j,
|
|
30941
30941
|
onTransitionEnter: ae,
|
|
30942
|
-
onTransitionExited:
|
|
30942
|
+
onTransitionExited: V,
|
|
30943
30943
|
open: A,
|
|
30944
|
-
slotProps:
|
|
30945
|
-
slots:
|
|
30944
|
+
slotProps: Y = {},
|
|
30945
|
+
slots: X = {},
|
|
30946
30946
|
// eslint-disable-next-line react/prop-types
|
|
30947
|
-
theme:
|
|
30947
|
+
theme: K,
|
|
30948
30948
|
...Z
|
|
30949
30949
|
} = i, re = {
|
|
30950
30950
|
...i,
|
|
@@ -30958,7 +30958,7 @@ const uD = (e) => {
|
|
|
30958
30958
|
hideBackdrop: P,
|
|
30959
30959
|
keepMounted: I
|
|
30960
30960
|
}, {
|
|
30961
|
-
getRootProps:
|
|
30961
|
+
getRootProps: Q,
|
|
30962
30962
|
getBackdropProps: se,
|
|
30963
30963
|
getTransitionProps: ne,
|
|
30964
30964
|
portalRef: be,
|
|
@@ -30984,16 +30984,16 @@ const uD = (e) => {
|
|
|
30984
30984
|
slots: {
|
|
30985
30985
|
root: S.Root,
|
|
30986
30986
|
backdrop: S.Backdrop,
|
|
30987
|
-
...
|
|
30987
|
+
...X
|
|
30988
30988
|
},
|
|
30989
30989
|
slotProps: {
|
|
30990
30990
|
...y,
|
|
30991
|
-
...
|
|
30991
|
+
...Y
|
|
30992
30992
|
}
|
|
30993
30993
|
}, [et, Me] = Uu("root", {
|
|
30994
30994
|
elementType: lD,
|
|
30995
30995
|
externalForwardedProps: Se,
|
|
30996
|
-
getSlotProps:
|
|
30996
|
+
getSlotProps: Q,
|
|
30997
30997
|
additionalProps: {
|
|
30998
30998
|
ref: r,
|
|
30999
30999
|
as: E
|
|
@@ -31082,11 +31082,11 @@ const dD = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
31082
31082
|
// eslint-disable-next-line react/prop-types
|
|
31083
31083
|
TransitionComponent: I = Wr,
|
|
31084
31084
|
...M
|
|
31085
|
-
} = t,
|
|
31086
|
-
ne && (be === void 0 ? ne(
|
|
31087
|
-
}, A =
|
|
31085
|
+
} = t, j = x.useRef(null), ae = Ar(uf(p), j, r), V = (ne) => (be) => {
|
|
31086
|
+
ne && (be === void 0 ? ne(j.current) : ne(j.current, be));
|
|
31087
|
+
}, A = V((ne, be) => {
|
|
31088
31088
|
bc(b, ne, m), qS(ne), y && y(ne, be);
|
|
31089
|
-
}),
|
|
31089
|
+
}), Y = V((ne, be) => {
|
|
31090
31090
|
const C = Fc({
|
|
31091
31091
|
timeout: P,
|
|
31092
31092
|
style: k,
|
|
@@ -31099,7 +31099,7 @@ const dD = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
31099
31099
|
}), ne.style.transition = i.transitions.create("transform", {
|
|
31100
31100
|
...C
|
|
31101
31101
|
}), ne.style.webkitTransform = "none", ne.style.transform = "none", _ && _(ne, be);
|
|
31102
|
-
}),
|
|
31102
|
+
}), X = V(O), K = V(H), Z = V((ne) => {
|
|
31103
31103
|
const be = Fc({
|
|
31104
31104
|
timeout: P,
|
|
31105
31105
|
style: k,
|
|
@@ -31108,33 +31108,33 @@ const dD = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
31108
31108
|
mode: "exit"
|
|
31109
31109
|
});
|
|
31110
31110
|
ne.style.webkitTransition = i.transitions.create("-webkit-transform", be), ne.style.transition = i.transitions.create("transform", be), bc(b, ne, m), L && L(ne);
|
|
31111
|
-
}), re =
|
|
31111
|
+
}), re = V((ne) => {
|
|
31112
31112
|
ne.style.webkitTransition = "", ne.style.transition = "", R && R(ne);
|
|
31113
|
-
}),
|
|
31114
|
-
c && c(
|
|
31113
|
+
}), Q = (ne) => {
|
|
31114
|
+
c && c(j.current, ne);
|
|
31115
31115
|
}, se = x.useCallback(() => {
|
|
31116
|
-
|
|
31116
|
+
j.current && bc(b, j.current, m);
|
|
31117
31117
|
}, [b, m]);
|
|
31118
31118
|
return x.useEffect(() => {
|
|
31119
31119
|
if (S || b === "down" || b === "right")
|
|
31120
31120
|
return;
|
|
31121
31121
|
const ne = af(() => {
|
|
31122
|
-
|
|
31123
|
-
}), be = Qr(
|
|
31122
|
+
j.current && bc(b, j.current, m);
|
|
31123
|
+
}), be = Qr(j.current);
|
|
31124
31124
|
return be.addEventListener("resize", ne), () => {
|
|
31125
31125
|
ne.clear(), be.removeEventListener("resize", ne);
|
|
31126
31126
|
};
|
|
31127
31127
|
}, [b, S, m]), x.useEffect(() => {
|
|
31128
31128
|
S || se();
|
|
31129
31129
|
}, [S, se]), /* @__PURE__ */ me.jsx(I, {
|
|
31130
|
-
nodeRef:
|
|
31130
|
+
nodeRef: j,
|
|
31131
31131
|
onEnter: A,
|
|
31132
|
-
onEntered:
|
|
31133
|
-
onEntering:
|
|
31132
|
+
onEntered: X,
|
|
31133
|
+
onEntering: Y,
|
|
31134
31134
|
onExit: Z,
|
|
31135
31135
|
onExited: re,
|
|
31136
|
-
onExiting:
|
|
31137
|
-
addEndListener:
|
|
31136
|
+
onExiting: K,
|
|
31137
|
+
addEndListener: Q,
|
|
31138
31138
|
appear: d,
|
|
31139
31139
|
in: S,
|
|
31140
31140
|
timeout: P,
|
|
@@ -31412,9 +31412,9 @@ const CD = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
31412
31412
|
transitionDuration: P = c,
|
|
31413
31413
|
variant: I = "temporary",
|
|
31414
31414
|
...M
|
|
31415
|
-
} = i,
|
|
31415
|
+
} = i, j = x.useRef(!1);
|
|
31416
31416
|
x.useEffect(() => {
|
|
31417
|
-
|
|
31417
|
+
j.current = !0;
|
|
31418
31418
|
}, []);
|
|
31419
31419
|
const ae = SD({
|
|
31420
31420
|
direction: s ? "rtl" : "ltr"
|
|
@@ -31425,43 +31425,43 @@ const CD = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
31425
31425
|
open: L,
|
|
31426
31426
|
variant: I,
|
|
31427
31427
|
...M
|
|
31428
|
-
},
|
|
31428
|
+
}, Y = bD(A), X = /* @__PURE__ */ me.jsx(yD, {
|
|
31429
31429
|
elevation: I === "temporary" ? E : 0,
|
|
31430
31430
|
square: !0,
|
|
31431
31431
|
...R,
|
|
31432
|
-
className: ft(
|
|
31432
|
+
className: ft(Y.paper, R.className),
|
|
31433
31433
|
ownerState: A,
|
|
31434
31434
|
children: m
|
|
31435
31435
|
});
|
|
31436
31436
|
if (I === "permanent")
|
|
31437
31437
|
return /* @__PURE__ */ me.jsx(A2, {
|
|
31438
|
-
className: ft(
|
|
31438
|
+
className: ft(Y.root, Y.docked, b),
|
|
31439
31439
|
ownerState: A,
|
|
31440
31440
|
ref: r,
|
|
31441
31441
|
...M,
|
|
31442
|
-
children:
|
|
31442
|
+
children: X
|
|
31443
31443
|
});
|
|
31444
|
-
const
|
|
31444
|
+
const K = /* @__PURE__ */ me.jsx(k, {
|
|
31445
31445
|
in: L,
|
|
31446
31446
|
direction: QS[ae],
|
|
31447
31447
|
timeout: P,
|
|
31448
|
-
appear:
|
|
31448
|
+
appear: j.current,
|
|
31449
31449
|
...H,
|
|
31450
|
-
children:
|
|
31450
|
+
children: X
|
|
31451
31451
|
});
|
|
31452
31452
|
return I === "persistent" ? /* @__PURE__ */ me.jsx(A2, {
|
|
31453
|
-
className: ft(
|
|
31453
|
+
className: ft(Y.root, Y.docked, b),
|
|
31454
31454
|
ownerState: A,
|
|
31455
31455
|
ref: r,
|
|
31456
31456
|
...M,
|
|
31457
|
-
children:
|
|
31457
|
+
children: K
|
|
31458
31458
|
}) : /* @__PURE__ */ me.jsx(ED, {
|
|
31459
31459
|
BackdropProps: {
|
|
31460
31460
|
...p,
|
|
31461
31461
|
...y,
|
|
31462
31462
|
transitionDuration: P
|
|
31463
31463
|
},
|
|
31464
|
-
className: ft(
|
|
31464
|
+
className: ft(Y.root, Y.modal, b),
|
|
31465
31465
|
open: L,
|
|
31466
31466
|
ownerState: A,
|
|
31467
31467
|
onClose: _,
|
|
@@ -31469,7 +31469,7 @@ const CD = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
31469
31469
|
ref: r,
|
|
31470
31470
|
...M,
|
|
31471
31471
|
...O,
|
|
31472
|
-
children:
|
|
31472
|
+
children: K
|
|
31473
31473
|
});
|
|
31474
31474
|
});
|
|
31475
31475
|
class Yc {
|
|
@@ -31672,9 +31672,9 @@ const Er = jn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
31672
31672
|
const {
|
|
31673
31673
|
pulsate: I,
|
|
31674
31674
|
rippleX: M,
|
|
31675
|
-
rippleY:
|
|
31675
|
+
rippleY: j,
|
|
31676
31676
|
rippleSize: ae,
|
|
31677
|
-
cb:
|
|
31677
|
+
cb: V
|
|
31678
31678
|
} = P;
|
|
31679
31679
|
m((A) => [...A, /* @__PURE__ */ me.jsx(DD, {
|
|
31680
31680
|
classes: {
|
|
@@ -31688,15 +31688,15 @@ const Er = jn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
31688
31688
|
timeout: Uh,
|
|
31689
31689
|
pulsate: I,
|
|
31690
31690
|
rippleX: M,
|
|
31691
|
-
rippleY:
|
|
31691
|
+
rippleY: j,
|
|
31692
31692
|
rippleSize: ae
|
|
31693
|
-
}, b.current)]), b.current += 1, E.current =
|
|
31693
|
+
}, b.current)]), b.current += 1, E.current = V;
|
|
31694
31694
|
}, [s]), R = x.useCallback((P = {}, I = {}, M = () => {
|
|
31695
31695
|
}) => {
|
|
31696
31696
|
const {
|
|
31697
|
-
pulsate:
|
|
31697
|
+
pulsate: j = !1,
|
|
31698
31698
|
center: ae = l || I.pulsate,
|
|
31699
|
-
fakeElement:
|
|
31699
|
+
fakeElement: V = !1
|
|
31700
31700
|
// For test purposes
|
|
31701
31701
|
} = I;
|
|
31702
31702
|
if ((P == null ? void 0 : P.type) === "mousedown" && S.current) {
|
|
@@ -31704,42 +31704,42 @@ const Er = jn("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
31704
31704
|
return;
|
|
31705
31705
|
}
|
|
31706
31706
|
(P == null ? void 0 : P.type) === "touchstart" && (S.current = !0);
|
|
31707
|
-
const A =
|
|
31707
|
+
const A = V ? null : _.current, Y = A ? A.getBoundingClientRect() : {
|
|
31708
31708
|
width: 0,
|
|
31709
31709
|
height: 0,
|
|
31710
31710
|
left: 0,
|
|
31711
31711
|
top: 0
|
|
31712
31712
|
};
|
|
31713
|
-
let
|
|
31713
|
+
let X, K, Z;
|
|
31714
31714
|
if (ae || P === void 0 || P.clientX === 0 && P.clientY === 0 || !P.clientX && !P.touches)
|
|
31715
|
-
|
|
31715
|
+
X = Math.round(Y.width / 2), K = Math.round(Y.height / 2);
|
|
31716
31716
|
else {
|
|
31717
31717
|
const {
|
|
31718
31718
|
clientX: re,
|
|
31719
|
-
clientY:
|
|
31719
|
+
clientY: Q
|
|
31720
31720
|
} = P.touches && P.touches.length > 0 ? P.touches[0] : P;
|
|
31721
|
-
|
|
31721
|
+
X = Math.round(re - Y.left), K = Math.round(Q - Y.top);
|
|
31722
31722
|
}
|
|
31723
31723
|
if (ae)
|
|
31724
|
-
Z = Math.sqrt((2 *
|
|
31724
|
+
Z = Math.sqrt((2 * Y.width ** 2 + Y.height ** 2) / 3), Z % 2 === 0 && (Z += 1);
|
|
31725
31725
|
else {
|
|
31726
|
-
const re = Math.max(Math.abs((A ? A.clientWidth : 0) -
|
|
31727
|
-
Z = Math.sqrt(re ** 2 +
|
|
31726
|
+
const re = Math.max(Math.abs((A ? A.clientWidth : 0) - X), X) * 2 + 2, Q = Math.max(Math.abs((A ? A.clientHeight : 0) - K), K) * 2 + 2;
|
|
31727
|
+
Z = Math.sqrt(re ** 2 + Q ** 2);
|
|
31728
31728
|
}
|
|
31729
31729
|
P != null && P.touches ? O.current === null && (O.current = () => {
|
|
31730
31730
|
L({
|
|
31731
|
-
pulsate:
|
|
31732
|
-
rippleX:
|
|
31733
|
-
rippleY:
|
|
31731
|
+
pulsate: j,
|
|
31732
|
+
rippleX: X,
|
|
31733
|
+
rippleY: K,
|
|
31734
31734
|
rippleSize: Z,
|
|
31735
31735
|
cb: M
|
|
31736
31736
|
});
|
|
31737
31737
|
}, y.start(vD, () => {
|
|
31738
31738
|
O.current && (O.current(), O.current = null);
|
|
31739
31739
|
})) : L({
|
|
31740
|
-
pulsate:
|
|
31741
|
-
rippleX:
|
|
31742
|
-
rippleY:
|
|
31740
|
+
pulsate: j,
|
|
31741
|
+
rippleX: X,
|
|
31742
|
+
rippleY: K,
|
|
31743
31743
|
rippleSize: Z,
|
|
31744
31744
|
cb: M
|
|
31745
31745
|
});
|
|
@@ -31851,16 +31851,16 @@ const wD = jn("MuiButtonBase", ["root", "disabled", "focusVisible"]), MD = (e) =
|
|
|
31851
31851
|
onFocusVisible: P,
|
|
31852
31852
|
onKeyDown: I,
|
|
31853
31853
|
onKeyUp: M,
|
|
31854
|
-
onMouseDown:
|
|
31854
|
+
onMouseDown: j,
|
|
31855
31855
|
onMouseLeave: ae,
|
|
31856
|
-
onMouseUp:
|
|
31856
|
+
onMouseUp: V,
|
|
31857
31857
|
onTouchEnd: A,
|
|
31858
|
-
onTouchMove:
|
|
31859
|
-
onTouchStart:
|
|
31860
|
-
tabIndex:
|
|
31858
|
+
onTouchMove: Y,
|
|
31859
|
+
onTouchStart: X,
|
|
31860
|
+
tabIndex: K = 0,
|
|
31861
31861
|
TouchRippleProps: Z,
|
|
31862
31862
|
touchRippleRef: re,
|
|
31863
|
-
type:
|
|
31863
|
+
type: Q,
|
|
31864
31864
|
...se
|
|
31865
31865
|
} = i, ne = x.useRef(null), be = AD(), C = Ar(be.ref, re), [J, oe] = x.useState(!1);
|
|
31866
31866
|
m && J && oe(!1), x.useImperativeHandle(l, () => ({
|
|
@@ -31875,9 +31875,9 @@ const wD = jn("MuiButtonBase", ["root", "disabled", "focusVisible"]), MD = (e) =
|
|
|
31875
31875
|
function ce(Ie, Xe, jt = E) {
|
|
31876
31876
|
return Ea((ee) => (Xe && Xe(ee), jt || be[Ie](ee), !0));
|
|
31877
31877
|
}
|
|
31878
|
-
const Oe = ce("start",
|
|
31878
|
+
const Oe = ce("start", j), Se = ce("stop", R), et = ce("stop", H), Me = ce("stop", V), $e = ce("stop", (Ie) => {
|
|
31879
31879
|
J && Ie.preventDefault(), ae && ae(Ie);
|
|
31880
|
-
}), xe = ce("start",
|
|
31880
|
+
}), xe = ce("start", X), Ge = ce("stop", A), ve = ce("stop", Y), Re = ce("stop", (Ie) => {
|
|
31881
31881
|
n2(Ie.target) || oe(!1), _ && _(Ie);
|
|
31882
31882
|
}, !1), Ce = Ea((Ie) => {
|
|
31883
31883
|
ne.current || (ne.current = Ie.currentTarget), n2(Ie.target) && (oe(!0), P && P(Ie)), k && k(Ie);
|
|
@@ -31896,7 +31896,7 @@ const wD = jn("MuiButtonBase", ["root", "disabled", "focusVisible"]), MD = (e) =
|
|
|
31896
31896
|
let Ue = p;
|
|
31897
31897
|
Ue === "button" && (se.href || se.to) && (Ue = O);
|
|
31898
31898
|
const st = {};
|
|
31899
|
-
Ue === "button" ? (st.type =
|
|
31899
|
+
Ue === "button" ? (st.type = Q === void 0 ? "button" : Q, st.disabled = m) : (!se.href && !se.to && (st.role = "button"), m && (st["aria-disabled"] = m));
|
|
31900
31900
|
const St = Ar(r, ne), Zt = {
|
|
31901
31901
|
...i,
|
|
31902
31902
|
centerRipple: s,
|
|
@@ -31905,7 +31905,7 @@ const wD = jn("MuiButtonBase", ["root", "disabled", "focusVisible"]), MD = (e) =
|
|
|
31905
31905
|
disableRipple: b,
|
|
31906
31906
|
disableTouchRipple: E,
|
|
31907
31907
|
focusRipple: S,
|
|
31908
|
-
tabIndex:
|
|
31908
|
+
tabIndex: K,
|
|
31909
31909
|
focusVisible: J
|
|
31910
31910
|
}, Sn = MD(Zt);
|
|
31911
31911
|
return /* @__PURE__ */ me.jsxs(BD, {
|
|
@@ -31926,8 +31926,8 @@ const wD = jn("MuiButtonBase", ["root", "disabled", "focusVisible"]), MD = (e) =
|
|
|
31926
31926
|
onTouchMove: ve,
|
|
31927
31927
|
onTouchStart: xe,
|
|
31928
31928
|
ref: St,
|
|
31929
|
-
tabIndex: m ? -1 :
|
|
31930
|
-
type:
|
|
31929
|
+
tabIndex: m ? -1 : K,
|
|
31930
|
+
type: Q,
|
|
31931
31931
|
...st,
|
|
31932
31932
|
...se,
|
|
31933
31933
|
children: [c, D ? /* @__PURE__ */ me.jsx(LD, {
|
|
@@ -32142,11 +32142,11 @@ const br = jn("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
32142
32142
|
fullWidth: d,
|
|
32143
32143
|
textColor: R,
|
|
32144
32144
|
wrapped: k
|
|
32145
|
-
}, M = UD(I),
|
|
32145
|
+
}, M = UD(I), j = p && E && /* @__PURE__ */ x.isValidElement(p) ? /* @__PURE__ */ x.cloneElement(p, {
|
|
32146
32146
|
className: ft(M.icon, p.props.className)
|
|
32147
32147
|
}) : p, ae = (A) => {
|
|
32148
32148
|
!_ && S && S(A, H), y && y(A);
|
|
32149
|
-
},
|
|
32149
|
+
}, V = (A) => {
|
|
32150
32150
|
L && !_ && S && S(A, H), O && O(A);
|
|
32151
32151
|
};
|
|
32152
32152
|
return /* @__PURE__ */ me.jsxs(HD, {
|
|
@@ -32157,14 +32157,14 @@ const br = jn("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
32157
32157
|
"aria-selected": _,
|
|
32158
32158
|
disabled: s,
|
|
32159
32159
|
onClick: ae,
|
|
32160
|
-
onFocus:
|
|
32160
|
+
onFocus: V,
|
|
32161
32161
|
ownerState: I,
|
|
32162
32162
|
tabIndex: _ ? 0 : -1,
|
|
32163
32163
|
...P,
|
|
32164
32164
|
children: [m === "top" || m === "start" ? /* @__PURE__ */ me.jsxs(x.Fragment, {
|
|
32165
|
-
children: [
|
|
32165
|
+
children: [j, E]
|
|
32166
32166
|
}) : /* @__PURE__ */ me.jsxs(x.Fragment, {
|
|
32167
|
-
children: [E,
|
|
32167
|
+
children: [E, j]
|
|
32168
32168
|
}), b]
|
|
32169
32169
|
});
|
|
32170
32170
|
});
|
|
@@ -32551,13 +32551,13 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32551
32551
|
slots: P = {},
|
|
32552
32552
|
slotProps: I = {},
|
|
32553
32553
|
TabIndicatorProps: M = {},
|
|
32554
|
-
TabScrollButtonProps:
|
|
32554
|
+
TabScrollButtonProps: j = {},
|
|
32555
32555
|
textColor: ae = "primary",
|
|
32556
|
-
value:
|
|
32556
|
+
value: V,
|
|
32557
32557
|
variant: A = "standard",
|
|
32558
|
-
visibleScrollbar:
|
|
32559
|
-
...
|
|
32560
|
-
} = i,
|
|
32558
|
+
visibleScrollbar: Y = !1,
|
|
32559
|
+
...X
|
|
32560
|
+
} = i, K = A === "scrollable", Z = L === "vertical", re = Z ? "scrollTop" : "scrollLeft", Q = Z ? "top" : "left", se = Z ? "bottom" : "right", ne = Z ? "clientHeight" : "clientWidth", be = Z ? "height" : "width", C = {
|
|
32561
32561
|
...i,
|
|
32562
32562
|
component: S,
|
|
32563
32563
|
allowScrollButtonsMobile: y,
|
|
@@ -32567,12 +32567,12 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32567
32567
|
scrollButtons: H,
|
|
32568
32568
|
textColor: ae,
|
|
32569
32569
|
variant: A,
|
|
32570
|
-
visibleScrollbar:
|
|
32571
|
-
fixed: !
|
|
32572
|
-
hideScrollbar:
|
|
32573
|
-
scrollableX:
|
|
32574
|
-
scrollableY:
|
|
32575
|
-
centered: m && !
|
|
32570
|
+
visibleScrollbar: Y,
|
|
32571
|
+
fixed: !K,
|
|
32572
|
+
hideScrollbar: K && !Y,
|
|
32573
|
+
scrollableX: K && !Z,
|
|
32574
|
+
scrollableY: K && Z,
|
|
32575
|
+
centered: m && !K,
|
|
32576
32576
|
scrollButtonsHideMobile: !y
|
|
32577
32577
|
}, J = JD(C), oe = Pc({
|
|
32578
32578
|
elementType: P.StartScrollButtonIcon,
|
|
@@ -32602,10 +32602,10 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32602
32602
|
};
|
|
32603
32603
|
}
|
|
32604
32604
|
let Fe;
|
|
32605
|
-
if (ke &&
|
|
32605
|
+
if (ke && V !== !1) {
|
|
32606
32606
|
const Ke = Ue.current.children;
|
|
32607
32607
|
if (Ke.length > 0) {
|
|
32608
|
-
const Bt = Ke[at.get(
|
|
32608
|
+
const Bt = Ke[at.get(V)];
|
|
32609
32609
|
Fe = Bt ? Bt.getBoundingClientRect() : null;
|
|
32610
32610
|
}
|
|
32611
32611
|
}
|
|
@@ -32664,11 +32664,11 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32664
32664
|
});
|
|
32665
32665
|
}, []), de = () => {
|
|
32666
32666
|
const ke = {};
|
|
32667
|
-
ke.scrollbarSizeListener =
|
|
32667
|
+
ke.scrollbarSizeListener = K ? /* @__PURE__ */ me.jsx(aL, {
|
|
32668
32668
|
onChange: ee,
|
|
32669
32669
|
className: ft(J.scrollableX, J.hideScrollbar)
|
|
32670
32670
|
}) : null;
|
|
32671
|
-
const Fe =
|
|
32671
|
+
const Fe = K && (H === "auto" && (Me || xe) || H === !0);
|
|
32672
32672
|
return ke.scrollButtonStart = Fe ? /* @__PURE__ */ me.jsx(R, {
|
|
32673
32673
|
slots: {
|
|
32674
32674
|
StartScrollButtonIcon: P.StartScrollButtonIcon
|
|
@@ -32680,8 +32680,8 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32680
32680
|
direction: s ? "right" : "left",
|
|
32681
32681
|
onClick: Xe,
|
|
32682
32682
|
disabled: !Me,
|
|
32683
|
-
...
|
|
32684
|
-
className: ft(J.scrollButtons,
|
|
32683
|
+
...j,
|
|
32684
|
+
className: ft(J.scrollButtons, j.className)
|
|
32685
32685
|
}) : null, ke.scrollButtonEnd = Fe ? /* @__PURE__ */ me.jsx(R, {
|
|
32686
32686
|
slots: {
|
|
32687
32687
|
EndScrollButtonIcon: P.EndScrollButtonIcon
|
|
@@ -32693,8 +32693,8 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32693
32693
|
direction: s ? "left" : "right",
|
|
32694
32694
|
onClick: jt,
|
|
32695
32695
|
disabled: !xe,
|
|
32696
|
-
...
|
|
32697
|
-
className: ft(J.scrollButtons,
|
|
32696
|
+
...j,
|
|
32697
|
+
className: ft(J.scrollButtons, j.className)
|
|
32698
32698
|
}) : null, ke;
|
|
32699
32699
|
}, Ae = Ea((ke) => {
|
|
32700
32700
|
const {
|
|
@@ -32702,8 +32702,8 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32702
32702
|
tabMeta: Fe
|
|
32703
32703
|
} = st();
|
|
32704
32704
|
if (!(!Fe || !_e)) {
|
|
32705
|
-
if (Fe[
|
|
32706
|
-
const Ke = _e[re] + (Fe[
|
|
32705
|
+
if (Fe[Q] < _e[Q]) {
|
|
32706
|
+
const Ke = _e[re] + (Fe[Q] - _e[Q]);
|
|
32707
32707
|
Zt(Ke, {
|
|
32708
32708
|
animation: ke
|
|
32709
32709
|
});
|
|
@@ -32715,7 +32715,7 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32715
32715
|
}
|
|
32716
32716
|
}
|
|
32717
32717
|
}), He = Ea(() => {
|
|
32718
|
-
|
|
32718
|
+
K && H !== !1 && Re(!ve);
|
|
32719
32719
|
});
|
|
32720
32720
|
x.useEffect(() => {
|
|
32721
32721
|
const ke = af(() => {
|
|
@@ -32742,7 +32742,7 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32742
32742
|
};
|
|
32743
32743
|
}, [St, He]), x.useEffect(() => {
|
|
32744
32744
|
const ke = Array.from(Ue.current.children), _e = ke.length;
|
|
32745
|
-
if (typeof IntersectionObserver < "u" && _e > 0 &&
|
|
32745
|
+
if (typeof IntersectionObserver < "u" && _e > 0 && K && H !== !1) {
|
|
32746
32746
|
const Fe = ke[0], Ke = ke[_e - 1], Bt = {
|
|
32747
32747
|
root: je.current,
|
|
32748
32748
|
threshold: 0.99
|
|
@@ -32757,7 +32757,7 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32757
32757
|
ar.disconnect(), Ir.disconnect();
|
|
32758
32758
|
};
|
|
32759
32759
|
}
|
|
32760
|
-
}, [
|
|
32760
|
+
}, [K, H, ve, b == null ? void 0 : b.length]), x.useEffect(() => {
|
|
32761
32761
|
Oe(!0);
|
|
32762
32762
|
}, []), x.useEffect(() => {
|
|
32763
32763
|
St();
|
|
@@ -32782,7 +32782,7 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32782
32782
|
return null;
|
|
32783
32783
|
const _e = ke.props.value === void 0 ? Qe : ke.props.value;
|
|
32784
32784
|
at.set(_e, Qe);
|
|
32785
|
-
const Fe = _e ===
|
|
32785
|
+
const Fe = _e === V;
|
|
32786
32786
|
return Qe += 1, /* @__PURE__ */ x.cloneElement(ke, {
|
|
32787
32787
|
fullWidth: A === "fullWidth",
|
|
32788
32788
|
indicator: Fe && !ce && nt,
|
|
@@ -32791,7 +32791,7 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32791
32791
|
onChange: _,
|
|
32792
32792
|
textColor: ae,
|
|
32793
32793
|
value: _e,
|
|
32794
|
-
...Qe === 1 &&
|
|
32794
|
+
...Qe === 1 && V === !1 && !ke.props.tabIndex ? {
|
|
32795
32795
|
tabIndex: 0
|
|
32796
32796
|
} : {}
|
|
32797
32797
|
});
|
|
@@ -32820,13 +32820,13 @@ const nh = jn("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
32820
32820
|
ownerState: C,
|
|
32821
32821
|
ref: r,
|
|
32822
32822
|
as: S,
|
|
32823
|
-
...
|
|
32823
|
+
...X,
|
|
32824
32824
|
children: [Ft.scrollButtonStart, Ft.scrollbarSizeListener, /* @__PURE__ */ me.jsxs(tL, {
|
|
32825
32825
|
className: J.scroller,
|
|
32826
32826
|
ownerState: C,
|
|
32827
32827
|
style: {
|
|
32828
32828
|
overflow: Ce.overflow,
|
|
32829
|
-
[Z ? `margin${s ? "Left" : "Right"}` : "marginBottom"]:
|
|
32829
|
+
[Z ? `margin${s ? "Left" : "Right"}` : "marginBottom"]: Y ? void 0 : -Ce.scrollbarWidth
|
|
32830
32830
|
},
|
|
32831
32831
|
ref: je,
|
|
32832
32832
|
children: [/* @__PURE__ */ me.jsx(nL, {
|
|
@@ -33750,15 +33750,15 @@ const YL = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
33750
33750
|
const P = y.current;
|
|
33751
33751
|
P.style.width = k.width, P.value = R.value || t.placeholder || "x", P.value.slice(-1) === `
|
|
33752
33752
|
` && (P.value += " ");
|
|
33753
|
-
const I = k.boxSizing, M = Tc(k.paddingBottom) + Tc(k.paddingTop),
|
|
33753
|
+
const I = k.boxSizing, M = Tc(k.paddingBottom) + Tc(k.paddingTop), j = Tc(k.borderBottomWidth) + Tc(k.borderTopWidth), ae = P.scrollHeight;
|
|
33754
33754
|
P.value = "x";
|
|
33755
|
-
const
|
|
33755
|
+
const V = P.scrollHeight;
|
|
33756
33756
|
let A = ae;
|
|
33757
|
-
s && (A = Math.max(Number(s) *
|
|
33758
|
-
const
|
|
33757
|
+
s && (A = Math.max(Number(s) * V, A)), l && (A = Math.min(Number(l) * V, A)), A = Math.max(A, V);
|
|
33758
|
+
const Y = A + (I === "border-box" ? M + j : 0), X = Math.abs(A - ae) <= 1;
|
|
33759
33759
|
return {
|
|
33760
|
-
outerHeightStyle:
|
|
33761
|
-
overflowing:
|
|
33760
|
+
outerHeightStyle: Y,
|
|
33761
|
+
overflowing: X
|
|
33762
33762
|
};
|
|
33763
33763
|
}, [l, s, t.placeholder]), _ = x.useCallback(() => {
|
|
33764
33764
|
const R = O();
|
|
@@ -34057,16 +34057,16 @@ const GL = (e, t) => {
|
|
|
34057
34057
|
inputRef: P,
|
|
34058
34058
|
margin: I,
|
|
34059
34059
|
maxRows: M,
|
|
34060
|
-
minRows:
|
|
34060
|
+
minRows: j,
|
|
34061
34061
|
multiline: ae = !1,
|
|
34062
|
-
name:
|
|
34062
|
+
name: V,
|
|
34063
34063
|
onBlur: A,
|
|
34064
|
-
onChange:
|
|
34065
|
-
onClick:
|
|
34066
|
-
onFocus:
|
|
34064
|
+
onChange: Y,
|
|
34065
|
+
onClick: X,
|
|
34066
|
+
onFocus: K,
|
|
34067
34067
|
onKeyDown: Z,
|
|
34068
34068
|
onKeyUp: re,
|
|
34069
|
-
placeholder:
|
|
34069
|
+
placeholder: Q,
|
|
34070
34070
|
readOnly: se,
|
|
34071
34071
|
renderSuffix: ne,
|
|
34072
34072
|
rows: be,
|
|
@@ -34097,7 +34097,7 @@ const GL = (e, t) => {
|
|
|
34097
34097
|
});
|
|
34098
34098
|
}, [et, Ue, Me]);
|
|
34099
34099
|
const st = (Qe) => {
|
|
34100
|
-
|
|
34100
|
+
K && K(Qe), k.onFocus && k.onFocus(Qe), Ce && Ce.onFocus ? Ce.onFocus(Qe) : Re(!0);
|
|
34101
34101
|
}, St = (Qe) => {
|
|
34102
34102
|
A && A(Qe), k.onBlur && k.onBlur(Qe), Ce && Ce.onBlur ? Ce.onBlur(Qe) : Re(!1);
|
|
34103
34103
|
}, Zt = (Qe, ...Cn) => {
|
|
@@ -34109,13 +34109,13 @@ const GL = (e, t) => {
|
|
|
34109
34109
|
value: Jt.value
|
|
34110
34110
|
});
|
|
34111
34111
|
}
|
|
34112
|
-
k.onChange && k.onChange(Qe, ...Cn),
|
|
34112
|
+
k.onChange && k.onChange(Qe, ...Cn), Y && Y(Qe, ...Cn);
|
|
34113
34113
|
};
|
|
34114
34114
|
x.useEffect(() => {
|
|
34115
34115
|
Ue($e.current);
|
|
34116
34116
|
}, []);
|
|
34117
34117
|
const Sn = (Qe) => {
|
|
34118
|
-
$e.current && Qe.currentTarget === Qe.target && $e.current.focus(),
|
|
34118
|
+
$e.current && Qe.currentTarget === Qe.target && $e.current.focus(), X && X(Qe);
|
|
34119
34119
|
};
|
|
34120
34120
|
let Ie = H, Xe = k;
|
|
34121
34121
|
ae && Ie === "input" && (be ? Xe = {
|
|
@@ -34126,7 +34126,7 @@ const GL = (e, t) => {
|
|
|
34126
34126
|
} : Xe = {
|
|
34127
34127
|
type: void 0,
|
|
34128
34128
|
maxRows: M,
|
|
34129
|
-
minRows:
|
|
34129
|
+
minRows: j,
|
|
34130
34130
|
...Xe
|
|
34131
34131
|
}, Ie = YL);
|
|
34132
34132
|
const jt = (Qe) => {
|
|
@@ -34181,8 +34181,8 @@ const GL = (e, t) => {
|
|
|
34181
34181
|
disabled: Be.disabled,
|
|
34182
34182
|
id: R,
|
|
34183
34183
|
onAnimationStart: jt,
|
|
34184
|
-
name:
|
|
34185
|
-
placeholder:
|
|
34184
|
+
name: V,
|
|
34185
|
+
placeholder: Q,
|
|
34186
34186
|
readOnly: se,
|
|
34187
34187
|
required: Be.required,
|
|
34188
34188
|
rows: be,
|
|
@@ -34946,11 +34946,11 @@ const AI = jn("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
34946
34946
|
...b,
|
|
34947
34947
|
...L
|
|
34948
34948
|
}
|
|
34949
|
-
}, [
|
|
34949
|
+
}, [j, ae] = Uu("closeButton", {
|
|
34950
34950
|
elementType: vI,
|
|
34951
34951
|
externalForwardedProps: M,
|
|
34952
34952
|
ownerState: P
|
|
34953
|
-
}), [
|
|
34953
|
+
}), [V, A] = Uu("closeIcon", {
|
|
34954
34954
|
elementType: DI,
|
|
34955
34955
|
externalForwardedProps: M,
|
|
34956
34956
|
ownerState: P
|
|
@@ -34977,14 +34977,14 @@ const AI = jn("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
34977
34977
|
}) : null, l == null && y ? /* @__PURE__ */ me.jsx(z2, {
|
|
34978
34978
|
ownerState: P,
|
|
34979
34979
|
className: I.action,
|
|
34980
|
-
children: /* @__PURE__ */ me.jsx(
|
|
34980
|
+
children: /* @__PURE__ */ me.jsx(j, {
|
|
34981
34981
|
size: "small",
|
|
34982
34982
|
"aria-label": d,
|
|
34983
34983
|
title: d,
|
|
34984
34984
|
color: "inherit",
|
|
34985
34985
|
onClick: y,
|
|
34986
34986
|
...ae,
|
|
34987
|
-
children: /* @__PURE__ */ me.jsx(
|
|
34987
|
+
children: /* @__PURE__ */ me.jsx(V, {
|
|
34988
34988
|
fontSize: "small",
|
|
34989
34989
|
...A
|
|
34990
34990
|
})
|
|
@@ -36310,42 +36310,42 @@ async function w3(...e) {
|
|
|
36310
36310
|
const [y] = Yp(S);
|
|
36311
36311
|
if (!y) return;
|
|
36312
36312
|
const [O, _] = k3(t, y), [L, R, H, k] = ba.get(t), P = () => {
|
|
36313
|
-
const
|
|
36314
|
-
return (qr(s.revalidate) ? s.revalidate(O().data, S) : s.revalidate !== !1) && (delete H[y], delete k[y],
|
|
36313
|
+
const K = L[y];
|
|
36314
|
+
return (qr(s.revalidate) ? s.revalidate(O().data, S) : s.revalidate !== !1) && (delete H[y], delete k[y], K && K[0]) ? K[0](I3).then(() => O().data) : O().data;
|
|
36315
36315
|
};
|
|
36316
36316
|
if (e.length < 3)
|
|
36317
36317
|
return P();
|
|
36318
36318
|
let I = i, M;
|
|
36319
|
-
const
|
|
36319
|
+
const j = Gh();
|
|
36320
36320
|
R[y] = [
|
|
36321
|
-
|
|
36321
|
+
j,
|
|
36322
36322
|
0
|
|
36323
36323
|
];
|
|
36324
|
-
const ae = !gt(p),
|
|
36325
|
-
if (ae && (p = qr(p) ? p(
|
|
36324
|
+
const ae = !gt(p), V = O(), A = V.data, Y = V._c, X = gt(Y) ? A : Y;
|
|
36325
|
+
if (ae && (p = qr(p) ? p(X, A) : p, _({
|
|
36326
36326
|
data: p,
|
|
36327
|
-
_c:
|
|
36327
|
+
_c: X
|
|
36328
36328
|
})), qr(I))
|
|
36329
36329
|
try {
|
|
36330
|
-
I = I(
|
|
36331
|
-
} catch (
|
|
36332
|
-
M =
|
|
36330
|
+
I = I(X);
|
|
36331
|
+
} catch (K) {
|
|
36332
|
+
M = K;
|
|
36333
36333
|
}
|
|
36334
36334
|
if (I && xw(I))
|
|
36335
|
-
if (I = await I.catch((
|
|
36336
|
-
M =
|
|
36337
|
-
}),
|
|
36335
|
+
if (I = await I.catch((K) => {
|
|
36336
|
+
M = K;
|
|
36337
|
+
}), j !== R[y][0]) {
|
|
36338
36338
|
if (M) throw M;
|
|
36339
36339
|
return I;
|
|
36340
36340
|
} else M && ae && m(M) && (c = !0, _({
|
|
36341
|
-
data:
|
|
36341
|
+
data: X,
|
|
36342
36342
|
_c: Pn
|
|
36343
36343
|
}));
|
|
36344
36344
|
if (c && !M)
|
|
36345
36345
|
if (qr(c)) {
|
|
36346
|
-
const
|
|
36346
|
+
const K = c(I, X);
|
|
36347
36347
|
_({
|
|
36348
|
-
data:
|
|
36348
|
+
data: K,
|
|
36349
36349
|
error: Pn,
|
|
36350
36350
|
_c: Pn
|
|
36351
36351
|
});
|
|
@@ -36490,7 +36490,7 @@ const ey = Rt.use || ((e) => {
|
|
|
36490
36490
|
}), fh = {
|
|
36491
36491
|
dedupe: !0
|
|
36492
36492
|
}, Zw = (e, t, r) => {
|
|
36493
|
-
const { cache: i, compare: l, suspense: s, fallbackData: c, revalidateOnMount: d, revalidateIfStale: p, refreshInterval: m, refreshWhenHidden: b, refreshWhenOffline: E, keepPreviousData: S } = r, [y, O, _, L] = ba.get(i), [R, H] = Yp(e), k = x.useRef(!1), P = x.useRef(!1), I = x.useRef(R), M = x.useRef(t),
|
|
36493
|
+
const { cache: i, compare: l, suspense: s, fallbackData: c, revalidateOnMount: d, revalidateIfStale: p, refreshInterval: m, refreshWhenHidden: b, refreshWhenOffline: E, keepPreviousData: S } = r, [y, O, _, L] = ba.get(i), [R, H] = Yp(e), k = x.useRef(!1), P = x.useRef(!1), I = x.useRef(R), M = x.useRef(t), j = x.useRef(r), ae = () => j.current, V = () => ae().isVisible() && ae().isOnline(), [A, Y, X, K] = k3(i, R), Z = x.useRef({}).current, re = gt(c) ? r.fallback[R] : c, Q = (ve, Re) => {
|
|
36494
36494
|
for (const Ce in Z) {
|
|
36495
36495
|
const Be = Ce;
|
|
36496
36496
|
if (Be === "data") {
|
|
@@ -36508,12 +36508,12 @@ const ey = Rt.use || ((e) => {
|
|
|
36508
36508
|
isLoading: !0,
|
|
36509
36509
|
...St
|
|
36510
36510
|
} : St;
|
|
36511
|
-
}, Ce = A(), Be =
|
|
36511
|
+
}, Ce = A(), Be = K(), at = Re(Ce), je = Ce === Be ? at : Re(Be);
|
|
36512
36512
|
let Ue = at;
|
|
36513
36513
|
return [
|
|
36514
36514
|
() => {
|
|
36515
36515
|
const st = Re(A());
|
|
36516
|
-
return
|
|
36516
|
+
return Q(st, Ue) ? (Ue.data = st.data, Ue.isLoading = st.isLoading, Ue.isValidating = st.isValidating, Ue.error = st.error, Ue) : (Ue = st, st);
|
|
36517
36517
|
},
|
|
36518
36518
|
() => je
|
|
36519
36519
|
];
|
|
@@ -36521,8 +36521,8 @@ const ey = Rt.use || ((e) => {
|
|
|
36521
36521
|
i,
|
|
36522
36522
|
R
|
|
36523
36523
|
]), ne = Aw.useSyncExternalStore(x.useCallback(
|
|
36524
|
-
(ve) =>
|
|
36525
|
-
|
|
36524
|
+
(ve) => X(R, (Re, Ce) => {
|
|
36525
|
+
Q(Ce, Re) || ve();
|
|
36526
36526
|
}),
|
|
36527
36527
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
36528
36528
|
[
|
|
@@ -36539,7 +36539,7 @@ const ey = Rt.use || ((e) => {
|
|
|
36539
36539
|
isValidating: !1,
|
|
36540
36540
|
isLoading: !1
|
|
36541
36541
|
}, Zt = () => {
|
|
36542
|
-
|
|
36542
|
+
Y(St);
|
|
36543
36543
|
}, Sn = () => {
|
|
36544
36544
|
const Xe = _[R];
|
|
36545
36545
|
Xe && Xe[1] === Be && delete _[R];
|
|
@@ -36548,7 +36548,7 @@ const ey = Rt.use || ((e) => {
|
|
|
36548
36548
|
};
|
|
36549
36549
|
gt(A().data) && (Ie.isLoading = !0);
|
|
36550
36550
|
try {
|
|
36551
|
-
if (Ue && (
|
|
36551
|
+
if (Ue && (Y(Ie), r.loadingTimeout && gt(A().data) && setTimeout(() => {
|
|
36552
36552
|
at && st() && ae().onLoadingSlow(R, r);
|
|
36553
36553
|
}, r.loadingTimeout), _[R] = [
|
|
36554
36554
|
Re(H),
|
|
@@ -36567,7 +36567,7 @@ const ey = Rt.use || ((e) => {
|
|
|
36567
36567
|
} catch (Xe) {
|
|
36568
36568
|
Sn();
|
|
36569
36569
|
const jt = ae(), { shouldRetryOnError: ee } = jt;
|
|
36570
|
-
jt.isPaused() || (St.error = Xe, Ue && st() && (jt.onError(Xe, R, jt), (ee === !0 || qr(ee) && ee(Xe)) && (!ae().revalidateOnFocus || !ae().revalidateOnReconnect ||
|
|
36570
|
+
jt.isPaused() || (St.error = Xe, Ue && st() && (jt.onError(Xe, R, jt), (ee === !0 || qr(ee) && ee(Xe)) && (!ae().revalidateOnFocus || !ae().revalidateOnReconnect || V()) && jt.onErrorRetry(Xe, R, jt, (de) => {
|
|
36571
36571
|
const Ae = y[R];
|
|
36572
36572
|
Ae && Ae[0] && Ae[0](Zl.ERROR_REVALIDATE_EVENT, de);
|
|
36573
36573
|
}, {
|
|
@@ -36599,7 +36599,7 @@ const ey = Rt.use || ((e) => {
|
|
|
36599
36599
|
[]
|
|
36600
36600
|
);
|
|
36601
36601
|
if (sh(() => {
|
|
36602
|
-
M.current = t,
|
|
36602
|
+
M.current = t, j.current = r, gt(J) || (ce.current = J);
|
|
36603
36603
|
}), sh(() => {
|
|
36604
36604
|
if (!R) return;
|
|
36605
36605
|
const ve = xe.bind(Pn, fh);
|
|
@@ -36607,9 +36607,9 @@ const ey = Rt.use || ((e) => {
|
|
|
36607
36607
|
const Be = Ww(R, y, (at, je = {}) => {
|
|
36608
36608
|
if (at == Zl.FOCUS_EVENT) {
|
|
36609
36609
|
const Ue = Date.now();
|
|
36610
|
-
ae().revalidateOnFocus && Ue > Re &&
|
|
36610
|
+
ae().revalidateOnFocus && Ue > Re && V() && (Re = Ue + ae().focusThrottleInterval, ve());
|
|
36611
36611
|
} else if (at == Zl.RECONNECT_EVENT)
|
|
36612
|
-
ae().revalidateOnReconnect &&
|
|
36612
|
+
ae().revalidateOnReconnect && V() && ve();
|
|
36613
36613
|
else {
|
|
36614
36614
|
if (at == Zl.MUTATE_EVENT)
|
|
36615
36615
|
return xe();
|
|
@@ -36617,7 +36617,7 @@ const ey = Rt.use || ((e) => {
|
|
|
36617
36617
|
return xe(je);
|
|
36618
36618
|
}
|
|
36619
36619
|
});
|
|
36620
|
-
return P.current = !1, I.current = R, k.current = !0,
|
|
36620
|
+
return P.current = !1, I.current = R, k.current = !0, Y({
|
|
36621
36621
|
_k: H
|
|
36622
36622
|
}), Se && (gt(oe) || zo ? ve() : Iw(ve)), () => {
|
|
36623
36623
|
P.current = !0, Be();
|
|
@@ -36644,7 +36644,7 @@ const ey = Rt.use || ((e) => {
|
|
|
36644
36644
|
]), x.useDebugValue(Oe), s && gt(oe) && R) {
|
|
36645
36645
|
if (!W2 && zo)
|
|
36646
36646
|
throw new Error("Fallback data is required when using suspense in SSR.");
|
|
36647
|
-
M.current = t,
|
|
36647
|
+
M.current = t, j.current = r, P.current = !1;
|
|
36648
36648
|
const ve = L[R];
|
|
36649
36649
|
if (!gt(ve)) {
|
|
36650
36650
|
const Re = Ge(ve);
|
|
@@ -36703,18 +36703,18 @@ var nM = async (e, t, r, i, l, s, c, d, p, m, b, E, S, y, O, _, L) => {
|
|
|
36703
36703
|
({
|
|
36704
36704
|
role: I,
|
|
36705
36705
|
content: M,
|
|
36706
|
-
experimental_attachments:
|
|
36706
|
+
experimental_attachments: j,
|
|
36707
36707
|
data: ae,
|
|
36708
|
-
annotations:
|
|
36708
|
+
annotations: V,
|
|
36709
36709
|
toolInvocations: A
|
|
36710
36710
|
}) => ({
|
|
36711
36711
|
role: I,
|
|
36712
36712
|
content: M,
|
|
36713
|
-
...
|
|
36714
|
-
experimental_attachments:
|
|
36713
|
+
...j !== void 0 && {
|
|
36714
|
+
experimental_attachments: j
|
|
36715
36715
|
},
|
|
36716
36716
|
...ae !== void 0 && { data: ae },
|
|
36717
|
-
...
|
|
36717
|
+
...V !== void 0 && { annotations: V },
|
|
36718
36718
|
...A !== void 0 && { toolInvocations: A }
|
|
36719
36719
|
})
|
|
36720
36720
|
), P = l.current;
|
|
@@ -36771,22 +36771,22 @@ function rM({
|
|
|
36771
36771
|
keepLastMessageOnError: R = !0,
|
|
36772
36772
|
experimental_throttle: H
|
|
36773
36773
|
} = {}) {
|
|
36774
|
-
const k = x.useId(), P = t ?? k, I = typeof e == "string" ? [e, P] : P, [M] = x.useState([]), { data:
|
|
36774
|
+
const k = x.useId(), P = t ?? k, I = typeof e == "string" ? [e, P] : P, [M] = x.useState([]), { data: j, mutate: ae } = Ac(
|
|
36775
36775
|
[I, "messages"],
|
|
36776
36776
|
null,
|
|
36777
36777
|
{ fallbackData: r ?? M }
|
|
36778
|
-
),
|
|
36778
|
+
), V = x.useRef(j || []);
|
|
36779
36779
|
x.useEffect(() => {
|
|
36780
|
-
|
|
36781
|
-
}, [
|
|
36782
|
-
const { data: A, mutate:
|
|
36780
|
+
V.current = j || [];
|
|
36781
|
+
}, [j]);
|
|
36782
|
+
const { data: A, mutate: Y } = Ac([I, "streamData"], null), X = x.useRef(A);
|
|
36783
36783
|
x.useEffect(() => {
|
|
36784
|
-
|
|
36784
|
+
X.current = A;
|
|
36785
36785
|
}, [A]);
|
|
36786
|
-
const { data:
|
|
36786
|
+
const { data: K = !1, mutate: Z } = Ac(
|
|
36787
36787
|
[I, "loading"],
|
|
36788
36788
|
null
|
|
36789
|
-
), { data: re = void 0, mutate:
|
|
36789
|
+
), { data: re = void 0, mutate: Q } = Ac([I, "error"], null), se = x.useRef(null), ne = x.useRef({
|
|
36790
36790
|
credentials: S,
|
|
36791
36791
|
headers: y,
|
|
36792
36792
|
body: O
|
|
@@ -36800,19 +36800,19 @@ function rM({
|
|
|
36800
36800
|
}, [S, y, O]);
|
|
36801
36801
|
const be = x.useCallback(
|
|
36802
36802
|
async (xe) => {
|
|
36803
|
-
const Ge =
|
|
36803
|
+
const Ge = V.current.length;
|
|
36804
36804
|
try {
|
|
36805
|
-
Z(!0),
|
|
36805
|
+
Z(!0), Q(void 0);
|
|
36806
36806
|
const Ce = new AbortController();
|
|
36807
36807
|
se.current = Ce, await nM(
|
|
36808
36808
|
e,
|
|
36809
36809
|
xe,
|
|
36810
36810
|
// throttle streamed ui updates:
|
|
36811
36811
|
ny(ae, H),
|
|
36812
|
-
ny(
|
|
36813
|
-
|
|
36812
|
+
ny(Y, H),
|
|
36813
|
+
X,
|
|
36814
36814
|
ne,
|
|
36815
|
-
|
|
36815
|
+
V,
|
|
36816
36816
|
se,
|
|
36817
36817
|
_,
|
|
36818
36818
|
p,
|
|
@@ -36827,11 +36827,11 @@ function rM({
|
|
|
36827
36827
|
} catch (Ce) {
|
|
36828
36828
|
if (Ce.name === "AbortError")
|
|
36829
36829
|
return se.current = null, null;
|
|
36830
|
-
E && Ce instanceof Error && E(Ce),
|
|
36830
|
+
E && Ce instanceof Error && E(Ce), Q(Ce);
|
|
36831
36831
|
} finally {
|
|
36832
36832
|
Z(!1);
|
|
36833
36833
|
}
|
|
36834
|
-
const ve =
|
|
36834
|
+
const ve = V.current, Re = ve[ve.length - 1];
|
|
36835
36835
|
// ensure we actually have new messages (to prevent infinite loops in case of errors):
|
|
36836
36836
|
ve.length > Ge && // ensure there is a last message:
|
|
36837
36837
|
Re != null && // check if the feature is enabled:
|
|
@@ -36847,15 +36847,15 @@ function rM({
|
|
|
36847
36847
|
m,
|
|
36848
36848
|
b,
|
|
36849
36849
|
E,
|
|
36850
|
+
Q,
|
|
36851
|
+
Y,
|
|
36850
36852
|
X,
|
|
36851
|
-
V,
|
|
36852
|
-
K,
|
|
36853
36853
|
p,
|
|
36854
36854
|
l,
|
|
36855
36855
|
c,
|
|
36856
36856
|
s,
|
|
36857
36857
|
d,
|
|
36858
|
-
|
|
36858
|
+
V,
|
|
36859
36859
|
se,
|
|
36860
36860
|
_,
|
|
36861
36861
|
L,
|
|
@@ -36872,7 +36872,7 @@ function rM({
|
|
|
36872
36872
|
var Be, at;
|
|
36873
36873
|
const je = await X2(
|
|
36874
36874
|
Ce
|
|
36875
|
-
), Ue =
|
|
36875
|
+
), Ue = V.current.concat({
|
|
36876
36876
|
...xe,
|
|
36877
36877
|
id: (Be = xe.id) != null ? Be : _(),
|
|
36878
36878
|
createdAt: (at = xe.createdAt) != null ? at : /* @__PURE__ */ new Date(),
|
|
@@ -36883,7 +36883,7 @@ function rM({
|
|
|
36883
36883
|
[be, _]
|
|
36884
36884
|
), J = x.useCallback(
|
|
36885
36885
|
async ({ data: xe, headers: Ge, body: ve } = {}) => {
|
|
36886
|
-
const Re =
|
|
36886
|
+
const Re = V.current;
|
|
36887
36887
|
if (Re.length === 0)
|
|
36888
36888
|
return null;
|
|
36889
36889
|
const Ce = Re[Re.length - 1];
|
|
@@ -36899,14 +36899,14 @@ function rM({
|
|
|
36899
36899
|
se.current && (se.current.abort(), se.current = null);
|
|
36900
36900
|
}, []), D = x.useCallback(
|
|
36901
36901
|
(xe) => {
|
|
36902
|
-
typeof xe == "function" && (xe = xe(
|
|
36902
|
+
typeof xe == "function" && (xe = xe(V.current)), ae(xe, !1), V.current = xe;
|
|
36903
36903
|
},
|
|
36904
36904
|
[ae]
|
|
36905
36905
|
), ce = x.useCallback(
|
|
36906
36906
|
(xe) => {
|
|
36907
|
-
typeof xe == "function" && (xe = xe(
|
|
36907
|
+
typeof xe == "function" && (xe = xe(X.current)), Y(xe, !1), X.current = xe;
|
|
36908
36908
|
},
|
|
36909
|
-
[
|
|
36909
|
+
[Y]
|
|
36910
36910
|
), [Oe, Se] = x.useState(i), et = x.useCallback(
|
|
36911
36911
|
async (xe, Ge = {}, ve) => {
|
|
36912
36912
|
var Re;
|
|
@@ -36919,7 +36919,7 @@ function rM({
|
|
|
36919
36919
|
const Ce = await X2(
|
|
36920
36920
|
Ge.experimental_attachments
|
|
36921
36921
|
), at = {
|
|
36922
|
-
messages: !Oe && !Ce.length && Ge.allowEmptySubmit ?
|
|
36922
|
+
messages: !Oe && !Ce.length && Ge.allowEmptySubmit ? V.current : V.current.concat({
|
|
36923
36923
|
id: _(),
|
|
36924
36924
|
createdAt: /* @__PURE__ */ new Date(),
|
|
36925
36925
|
role: "user",
|
|
@@ -36935,7 +36935,7 @@ function rM({
|
|
|
36935
36935
|
[Oe, _, be]
|
|
36936
36936
|
);
|
|
36937
36937
|
return {
|
|
36938
|
-
messages:
|
|
36938
|
+
messages: j || [],
|
|
36939
36939
|
setMessages: D,
|
|
36940
36940
|
data: A,
|
|
36941
36941
|
setData: ce,
|
|
@@ -36949,12 +36949,12 @@ function rM({
|
|
|
36949
36949
|
Se(xe.target.value);
|
|
36950
36950
|
},
|
|
36951
36951
|
handleSubmit: et,
|
|
36952
|
-
isLoading:
|
|
36952
|
+
isLoading: K,
|
|
36953
36953
|
addToolResult: ({
|
|
36954
36954
|
toolCallId: xe,
|
|
36955
36955
|
result: Ge
|
|
36956
36956
|
}) => {
|
|
36957
|
-
const ve =
|
|
36957
|
+
const ve = V.current.map(
|
|
36958
36958
|
(Ce, Be, at) => (
|
|
36959
36959
|
// update the tool calls in the last assistant message:
|
|
36960
36960
|
Be === at.length - 1 && Ce.role === "assistant" && Ce.toolInvocations ? {
|
|
@@ -37180,12 +37180,12 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37180
37180
|
const O = x.useRef(null), _ = x.useRef(null), [L, R] = x.useState(t), H = x.useRef(null), [k, P] = x.useState(), {
|
|
37181
37181
|
messages: I,
|
|
37182
37182
|
input: M,
|
|
37183
|
-
handleInputChange:
|
|
37183
|
+
handleInputChange: j,
|
|
37184
37184
|
handleSubmit: ae,
|
|
37185
|
-
append:
|
|
37185
|
+
append: V,
|
|
37186
37186
|
isLoading: A,
|
|
37187
|
-
stop:
|
|
37188
|
-
error:
|
|
37187
|
+
stop: Y,
|
|
37188
|
+
error: X
|
|
37189
37189
|
} = oM(s, {
|
|
37190
37190
|
initialMessages: k,
|
|
37191
37191
|
id: E
|
|
@@ -37205,7 +37205,7 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37205
37205
|
);
|
|
37206
37206
|
}
|
|
37207
37207
|
}, [i]);
|
|
37208
|
-
const
|
|
37208
|
+
const K = x.useMemo(() => {
|
|
37209
37209
|
const oe = k == null ? void 0 : k.map((D) => D.id);
|
|
37210
37210
|
return I.map((D) => {
|
|
37211
37211
|
if (D.role === "assistant" && !(oe != null && oe.includes(D.id))) {
|
|
@@ -37214,13 +37214,13 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37214
37214
|
}
|
|
37215
37215
|
return D;
|
|
37216
37216
|
});
|
|
37217
|
-
}, [c, I, k]), Z =
|
|
37217
|
+
}, [c, I, k]), Z = K.length === ((k == null ? void 0 : k.length) || 0), re = !Z && !X && ((C = K[K.length - 1]) == null ? void 0 : C.role) === "user", Q = A && ((J = K[K.length - 1]) == null ? void 0 : J.role) !== "user", se = () => {
|
|
37218
37218
|
const oe = b || _.current;
|
|
37219
37219
|
oe == null || oe.scrollBy({
|
|
37220
37220
|
behavior: "instant",
|
|
37221
37221
|
top: oe == null ? void 0 : oe.scrollHeight
|
|
37222
37222
|
});
|
|
37223
|
-
}, ne =
|
|
37223
|
+
}, ne = K[K.length - 1], be = !!b;
|
|
37224
37224
|
return /* @__PURE__ */ x.createElement(
|
|
37225
37225
|
dM,
|
|
37226
37226
|
{
|
|
@@ -37241,7 +37241,7 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37241
37241
|
content: e,
|
|
37242
37242
|
id: `initial-${Math.random().toString().slice(2)}-0`
|
|
37243
37243
|
}
|
|
37244
|
-
]),
|
|
37244
|
+
]), V({ role: "user", content: oe }));
|
|
37245
37245
|
}
|
|
37246
37246
|
}
|
|
37247
37247
|
) : /* @__PURE__ */ x.createElement(
|
|
@@ -37274,7 +37274,7 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37274
37274
|
externalScroll: be,
|
|
37275
37275
|
ref: _
|
|
37276
37276
|
},
|
|
37277
|
-
|
|
37277
|
+
K.map((oe) => /* @__PURE__ */ x.createElement(
|
|
37278
37278
|
ay,
|
|
37279
37279
|
{
|
|
37280
37280
|
key: oe.id,
|
|
@@ -37292,7 +37292,7 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37292
37292
|
className: Tn.conversationStarter,
|
|
37293
37293
|
key: oe.content,
|
|
37294
37294
|
onClick: () => {
|
|
37295
|
-
se(),
|
|
37295
|
+
se(), V({ role: "user", content: oe.content });
|
|
37296
37296
|
}
|
|
37297
37297
|
},
|
|
37298
37298
|
oe.content
|
|
@@ -37308,7 +37308,7 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37308
37308
|
},
|
|
37309
37309
|
/* @__PURE__ */ x.createElement(iy, null, /* @__PURE__ */ x.createElement(XO, null))
|
|
37310
37310
|
) : null,
|
|
37311
|
-
|
|
37311
|
+
X ? /* @__PURE__ */ x.createElement(HI, { severity: "error", closable: !0 }, "An unexpected error has occurred.") : null
|
|
37312
37312
|
),
|
|
37313
37313
|
/* @__PURE__ */ x.createElement(
|
|
37314
37314
|
TM,
|
|
@@ -37320,7 +37320,7 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37320
37320
|
"form",
|
|
37321
37321
|
{
|
|
37322
37322
|
onSubmit: (oe) => {
|
|
37323
|
-
oe.preventDefault(), A &&
|
|
37323
|
+
oe.preventDefault(), A && Q ? Y() : (se(), ae(oe));
|
|
37324
37324
|
}
|
|
37325
37325
|
},
|
|
37326
37326
|
/* @__PURE__ */ x.createElement(
|
|
@@ -37333,13 +37333,13 @@ const uM = (e) => e, lM = (e) => async (t, r) => {
|
|
|
37333
37333
|
name: "message",
|
|
37334
37334
|
sx: { flex: 1 },
|
|
37335
37335
|
value: M,
|
|
37336
|
-
onChange:
|
|
37336
|
+
onChange: j,
|
|
37337
37337
|
endAdornment: A ? /* @__PURE__ */ x.createElement(
|
|
37338
37338
|
Fh,
|
|
37339
37339
|
{
|
|
37340
37340
|
"aria-label": "Stop",
|
|
37341
|
-
onClick:
|
|
37342
|
-
disabled: !
|
|
37341
|
+
onClick: Y,
|
|
37342
|
+
disabled: !Q
|
|
37343
37343
|
},
|
|
37344
37344
|
/* @__PURE__ */ x.createElement(yM, null)
|
|
37345
37345
|
) : /* @__PURE__ */ x.createElement(
|
|
@@ -37471,7 +37471,7 @@ const OM = ({
|
|
|
37471
37471
|
return x.useEffect(() => {
|
|
37472
37472
|
var d;
|
|
37473
37473
|
(d = s.current) == null || d.focus();
|
|
37474
|
-
}, [r]), x.useEffect(() => (window.addEventListener("keydown", c), () => window.removeEventListener("keydown", c)), [c]), e ? /* @__PURE__ */ x.createElement(xM, { ref: l }, /* @__PURE__ */ x.createElement(
|
|
37474
|
+
}, [r]), x.useEffect(() => (window.addEventListener("keydown", c), () => window.removeEventListener("keydown", c)), [c]), e != null && e.length ? /* @__PURE__ */ x.createElement(xM, { ref: l }, /* @__PURE__ */ x.createElement(
|
|
37475
37475
|
P3,
|
|
37476
37476
|
{
|
|
37477
37477
|
ref: s,
|
|
@@ -37639,20 +37639,20 @@ const OM = ({
|
|
|
37639
37639
|
fetchOpts: i,
|
|
37640
37640
|
target: l
|
|
37641
37641
|
}) => {
|
|
37642
|
-
var
|
|
37643
|
-
const [s, c] = x.useState(!1), [d, p] = x.useState(null), [m, b] = x.useState("chat"), { response: E } = PM((
|
|
37642
|
+
var j, ae, V, A;
|
|
37643
|
+
const [s, c] = x.useState(!1), [d, p] = x.useState(null), [m, b] = x.useState("chat"), { response: E } = PM((j = d == null ? void 0 : d.summary) == null ? void 0 : j.apiUrl), [S, y] = x.useState(!1), O = x.useRef(!1), _ = () => {
|
|
37644
37644
|
O.current = !0;
|
|
37645
37645
|
}, L = () => {
|
|
37646
37646
|
O.current || y(!0), O.current = !1;
|
|
37647
|
-
}, [R, H] = x.useState(null), k = (
|
|
37648
|
-
|
|
37647
|
+
}, [R, H] = x.useState(null), k = (Y) => {
|
|
37648
|
+
Y && H(Y);
|
|
37649
37649
|
};
|
|
37650
37650
|
if (x.useEffect(() => {
|
|
37651
|
-
const
|
|
37652
|
-
|
|
37651
|
+
const Y = (X) => {
|
|
37652
|
+
X.origin === e && X.data.type === "smoot-design::tutor-drawer-open" && X.data.payload.target === l && (c(!0), p(X.data.payload));
|
|
37653
37653
|
};
|
|
37654
|
-
return window.addEventListener("message",
|
|
37655
|
-
window.removeEventListener("message",
|
|
37654
|
+
return window.addEventListener("message", Y), () => {
|
|
37655
|
+
window.removeEventListener("message", Y);
|
|
37656
37656
|
};
|
|
37657
37657
|
}, [e, l]), !d)
|
|
37658
37658
|
return null;
|
|
@@ -37699,10 +37699,10 @@ const OM = ({
|
|
|
37699
37699
|
LM,
|
|
37700
37700
|
{
|
|
37701
37701
|
styleVariant: "chat",
|
|
37702
|
-
onChange: (
|
|
37702
|
+
onChange: (Y, X) => b(X)
|
|
37703
37703
|
},
|
|
37704
37704
|
/* @__PURE__ */ x.createElement(rh, { value: "chat", label: "Chat" }),
|
|
37705
|
-
/* @__PURE__ */ x.createElement(
|
|
37705
|
+
(V = E == null ? void 0 : E.flashcards) != null && V.length ? /* @__PURE__ */ x.createElement(
|
|
37706
37706
|
rh,
|
|
37707
37707
|
{
|
|
37708
37708
|
value: "flashcards",
|
|
@@ -37710,7 +37710,7 @@ const OM = ({
|
|
|
37710
37710
|
onMouseDown: _,
|
|
37711
37711
|
onFocus: L
|
|
37712
37712
|
}
|
|
37713
|
-
),
|
|
37713
|
+
) : null,
|
|
37714
37714
|
/* @__PURE__ */ x.createElement(rh, { value: "summary", label: "Summary" })
|
|
37715
37715
|
), /* @__PURE__ */ x.createElement(hh, { value: "chat" }, /* @__PURE__ */ x.createElement(
|
|
37716
37716
|
ly,
|
|
@@ -37721,13 +37721,13 @@ const OM = ({
|
|
|
37721
37721
|
scrollElement: R,
|
|
37722
37722
|
hasTabs: M
|
|
37723
37723
|
}
|
|
37724
|
-
)), /* @__PURE__ */ x.createElement(hh, { value: "flashcards" }, /* @__PURE__ */ x.createElement(
|
|
37724
|
+
)), (A = E == null ? void 0 : E.flashcards) != null && A.length ? /* @__PURE__ */ x.createElement(hh, { value: "flashcards" }, /* @__PURE__ */ x.createElement(
|
|
37725
37725
|
OM,
|
|
37726
37726
|
{
|
|
37727
37727
|
flashcards: E == null ? void 0 : E.flashcards,
|
|
37728
37728
|
wasKeyboardFocus: S
|
|
37729
37729
|
}
|
|
37730
|
-
)), /* @__PURE__ */ x.createElement(hh, { value: "summary" }, /* @__PURE__ */ x.createElement(Di, { variant: "h4", component: "h4" }), /* @__PURE__ */ x.createElement(wM, null, /* @__PURE__ */ x.createElement(fT, { rehypePlugins: [$O] }, (E == null ? void 0 : E.summary) ?? "")))) : null
|
|
37730
|
+
)) : null, /* @__PURE__ */ x.createElement(hh, { value: "summary" }, /* @__PURE__ */ x.createElement(Di, { variant: "h4", component: "h4" }), /* @__PURE__ */ x.createElement(wM, null, /* @__PURE__ */ x.createElement(fT, { rehypePlugins: [$O] }, (E == null ? void 0 : E.summary) ?? "")))) : null
|
|
37731
37731
|
);
|
|
37732
37732
|
}, HM = {
|
|
37733
37733
|
defaultProps: {
|