@wavoip/wavoip-webphone 1.1.12 → 1.1.13
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/LICENSE +21 -21
- package/README.md +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.es.js +779 -788
- package/dist/index.umd.js +35 -35
- package/package.json +70 -70
package/dist/index.es.js
CHANGED
|
@@ -31,9 +31,9 @@ var iC;
|
|
|
31
31
|
function HG() {
|
|
32
32
|
if (iC) return yA;
|
|
33
33
|
iC = 1;
|
|
34
|
-
var A = Symbol.for("react.element"), q = Symbol.for("react.portal"), V = Symbol.for("react.fragment"), t = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), B = Symbol.for("react.memo"), c = Symbol.for("react.lazy"),
|
|
34
|
+
var A = Symbol.for("react.element"), q = Symbol.for("react.portal"), V = Symbol.for("react.fragment"), t = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), B = Symbol.for("react.memo"), c = Symbol.for("react.lazy"), Y = Symbol.iterator;
|
|
35
35
|
function h(U) {
|
|
36
|
-
return U === null || typeof U != "object" ? null : (U =
|
|
36
|
+
return U === null || typeof U != "object" ? null : (U = Y && U[Y] || U["@@iterator"], typeof U == "function" ? U : null);
|
|
37
37
|
}
|
|
38
38
|
var Q = { isMounted: function() {
|
|
39
39
|
return !1;
|
|
@@ -241,11 +241,11 @@ function zG() {
|
|
|
241
241
|
aC = 1;
|
|
242
242
|
var A = Rs(), q = Symbol.for("react.element"), V = Symbol.for("react.fragment"), t = Object.prototype.hasOwnProperty, o = A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
243
243
|
function a(l, w, B) {
|
|
244
|
-
var c,
|
|
244
|
+
var c, Y = {}, h = null, Q = null;
|
|
245
245
|
B !== void 0 && (h = "" + B), w.key !== void 0 && (h = "" + w.key), w.ref !== void 0 && (Q = w.ref);
|
|
246
|
-
for (c in w) t.call(w, c) && !g.hasOwnProperty(c) && (
|
|
247
|
-
if (l && l.defaultProps) for (c in w = l.defaultProps, w)
|
|
248
|
-
return { $$typeof: q, type: l, key: h, ref: Q, props:
|
|
246
|
+
for (c in w) t.call(w, c) && !g.hasOwnProperty(c) && (Y[c] = w[c]);
|
|
247
|
+
if (l && l.defaultProps) for (c in w = l.defaultProps, w) Y[c] === void 0 && (Y[c] = w[c]);
|
|
248
|
+
return { $$typeof: q, type: l, key: h, ref: Q, props: Y, _owner: o.current };
|
|
249
249
|
}
|
|
250
250
|
return Ro.Fragment = V, Ro.jsx = a, Ro.jsxs = a, Ro;
|
|
251
251
|
}
|
|
@@ -307,7 +307,7 @@ function PG() {
|
|
|
307
307
|
return a.now() - l;
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
|
-
var w = [], B = [], c = 1,
|
|
310
|
+
var w = [], B = [], c = 1, Y = null, h = 3, Q = !1, D = !1, F = !1, G = typeof setTimeout == "function" ? setTimeout : null, I = typeof clearTimeout == "function" ? clearTimeout : null, p = typeof setImmediate < "u" ? setImmediate : null;
|
|
311
311
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
312
312
|
function K(d) {
|
|
313
313
|
for (var _ = V(B); _ !== null; ) {
|
|
@@ -328,23 +328,23 @@ function PG() {
|
|
|
328
328
|
D = !1, F && (F = !1, I(N), N = -1), Q = !0;
|
|
329
329
|
var P = h;
|
|
330
330
|
try {
|
|
331
|
-
for (K(_),
|
|
332
|
-
var U =
|
|
331
|
+
for (K(_), Y = V(w); Y !== null && (!(Y.expirationTime > _) || d && !QA()); ) {
|
|
332
|
+
var U = Y.callback;
|
|
333
333
|
if (typeof U == "function") {
|
|
334
|
-
|
|
335
|
-
var f = U(
|
|
336
|
-
_ = A.unstable_now(), typeof f == "function" ?
|
|
334
|
+
Y.callback = null, h = Y.priorityLevel;
|
|
335
|
+
var f = U(Y.expirationTime <= _);
|
|
336
|
+
_ = A.unstable_now(), typeof f == "function" ? Y.callback = f : Y === V(w) && t(w), K(_);
|
|
337
337
|
} else t(w);
|
|
338
|
-
|
|
338
|
+
Y = V(w);
|
|
339
339
|
}
|
|
340
|
-
if (
|
|
340
|
+
if (Y !== null) var v = !0;
|
|
341
341
|
else {
|
|
342
342
|
var qA = V(B);
|
|
343
343
|
qA !== null && VA(W, qA.startTime - _), v = !1;
|
|
344
344
|
}
|
|
345
345
|
return v;
|
|
346
346
|
} finally {
|
|
347
|
-
|
|
347
|
+
Y = null, h = P, Q = !1;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
var O = !1, k = null, N = -1, rA = 5, cA = -1;
|
|
@@ -492,9 +492,9 @@ function XG() {
|
|
|
492
492
|
function a(e, s) {
|
|
493
493
|
for (o[e] = s, e = 0; e < s.length; e++) t.add(s[e]);
|
|
494
494
|
}
|
|
495
|
-
var l = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), w = Object.prototype.hasOwnProperty, B = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, c = {},
|
|
495
|
+
var l = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), w = Object.prototype.hasOwnProperty, B = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, c = {}, Y = {};
|
|
496
496
|
function h(e) {
|
|
497
|
-
return w.call(
|
|
497
|
+
return w.call(Y, e) ? !0 : w.call(c, e) ? !1 : B.test(e) ? Y[e] = !0 : (c[e] = !0, !1);
|
|
498
498
|
}
|
|
499
499
|
function Q(e, s, i, r) {
|
|
500
500
|
if (i !== null && i.type === 0) return !1;
|
|
@@ -523,8 +523,8 @@ function XG() {
|
|
|
523
523
|
}
|
|
524
524
|
return !1;
|
|
525
525
|
}
|
|
526
|
-
function F(e, s, i, r, M,
|
|
527
|
-
this.acceptsBooleans = s === 2 || s === 3 || s === 4, this.attributeName = r, this.attributeNamespace = M, this.mustUseProperty = i, this.propertyName = e, this.type = s, this.sanitizeURL =
|
|
526
|
+
function F(e, s, i, r, M, C, m) {
|
|
527
|
+
this.acceptsBooleans = s === 2 || s === 3 || s === 4, this.attributeName = r, this.attributeNamespace = M, this.mustUseProperty = i, this.propertyName = e, this.type = s, this.sanitizeURL = C, this.removeEmptyString = m;
|
|
528
528
|
}
|
|
529
529
|
var G = {};
|
|
530
530
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e) {
|
|
@@ -624,12 +624,12 @@ function XG() {
|
|
|
624
624
|
} catch (R) {
|
|
625
625
|
if (R && r && typeof R.stack == "string") {
|
|
626
626
|
for (var M = R.stack.split(`
|
|
627
|
-
`),
|
|
628
|
-
`), m = M.length - 1, u =
|
|
629
|
-
for (; 1 <= m && 0 <= u; m--, u--) if (M[m] !==
|
|
627
|
+
`), C = r.stack.split(`
|
|
628
|
+
`), m = M.length - 1, u = C.length - 1; 1 <= m && 0 <= u && M[m] !== C[u]; ) u--;
|
|
629
|
+
for (; 1 <= m && 0 <= u; m--, u--) if (M[m] !== C[u]) {
|
|
630
630
|
if (m !== 1 || u !== 1)
|
|
631
631
|
do
|
|
632
|
-
if (m--, u--, 0 > u || M[m] !==
|
|
632
|
+
if (m--, u--, 0 > u || M[m] !== C[u]) {
|
|
633
633
|
var T = `
|
|
634
634
|
` + M[m].replace(" at new ", " at ");
|
|
635
635
|
return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), T;
|
|
@@ -772,11 +772,11 @@ function XG() {
|
|
|
772
772
|
function IA(e) {
|
|
773
773
|
var s = FA(e) ? "checked" : "value", i = Object.getOwnPropertyDescriptor(e.constructor.prototype, s), r = "" + e[s];
|
|
774
774
|
if (!e.hasOwnProperty(s) && typeof i < "u" && typeof i.get == "function" && typeof i.set == "function") {
|
|
775
|
-
var M = i.get,
|
|
775
|
+
var M = i.get, C = i.set;
|
|
776
776
|
return Object.defineProperty(e, s, { configurable: !0, get: function() {
|
|
777
777
|
return M.call(this);
|
|
778
778
|
}, set: function(m) {
|
|
779
|
-
r = "" + m,
|
|
779
|
+
r = "" + m, C.call(this, m);
|
|
780
780
|
} }), Object.defineProperty(e, s, { enumerable: i.enumerable }), { getValue: function() {
|
|
781
781
|
return r;
|
|
782
782
|
}, setValue: function(m) {
|
|
@@ -1075,7 +1075,7 @@ function XG() {
|
|
|
1075
1075
|
} catch {
|
|
1076
1076
|
We = !1;
|
|
1077
1077
|
}
|
|
1078
|
-
function $q(e, s, i, r, M,
|
|
1078
|
+
function $q(e, s, i, r, M, C, m, u, T) {
|
|
1079
1079
|
var R = Array.prototype.slice.call(arguments, 3);
|
|
1080
1080
|
try {
|
|
1081
1081
|
s.apply(i, R);
|
|
@@ -1086,10 +1086,10 @@ function XG() {
|
|
|
1086
1086
|
var ye = !1, aV = null, Vo = !1, tr = null, _F = { onError: function(e) {
|
|
1087
1087
|
ye = !0, aV = e;
|
|
1088
1088
|
} };
|
|
1089
|
-
function $F(e, s, i, r, M,
|
|
1089
|
+
function $F(e, s, i, r, M, C, m, u, T) {
|
|
1090
1090
|
ye = !1, aV = null, $q.apply(_F, arguments);
|
|
1091
1091
|
}
|
|
1092
|
-
function AD(e, s, i, r, M,
|
|
1092
|
+
function AD(e, s, i, r, M, C, m, u, T) {
|
|
1093
1093
|
if ($F.apply(this, arguments), ye) {
|
|
1094
1094
|
if (ye) {
|
|
1095
1095
|
var R = aV;
|
|
@@ -1128,43 +1128,43 @@ function XG() {
|
|
|
1128
1128
|
for (var i = e, r = s; ; ) {
|
|
1129
1129
|
var M = i.return;
|
|
1130
1130
|
if (M === null) break;
|
|
1131
|
-
var
|
|
1132
|
-
if (
|
|
1131
|
+
var C = M.alternate;
|
|
1132
|
+
if (C === null) {
|
|
1133
1133
|
if (r = M.return, r !== null) {
|
|
1134
1134
|
i = r;
|
|
1135
1135
|
continue;
|
|
1136
1136
|
}
|
|
1137
1137
|
break;
|
|
1138
1138
|
}
|
|
1139
|
-
if (M.child ===
|
|
1140
|
-
for (
|
|
1141
|
-
if (
|
|
1142
|
-
if (
|
|
1143
|
-
|
|
1139
|
+
if (M.child === C.child) {
|
|
1140
|
+
for (C = M.child; C; ) {
|
|
1141
|
+
if (C === i) return UM(M), e;
|
|
1142
|
+
if (C === r) return UM(M), s;
|
|
1143
|
+
C = C.sibling;
|
|
1144
1144
|
}
|
|
1145
1145
|
throw Error(V(188));
|
|
1146
1146
|
}
|
|
1147
|
-
if (i.return !== r.return) i = M, r =
|
|
1147
|
+
if (i.return !== r.return) i = M, r = C;
|
|
1148
1148
|
else {
|
|
1149
1149
|
for (var m = !1, u = M.child; u; ) {
|
|
1150
1150
|
if (u === i) {
|
|
1151
|
-
m = !0, i = M, r =
|
|
1151
|
+
m = !0, i = M, r = C;
|
|
1152
1152
|
break;
|
|
1153
1153
|
}
|
|
1154
1154
|
if (u === r) {
|
|
1155
|
-
m = !0, r = M, i =
|
|
1155
|
+
m = !0, r = M, i = C;
|
|
1156
1156
|
break;
|
|
1157
1157
|
}
|
|
1158
1158
|
u = u.sibling;
|
|
1159
1159
|
}
|
|
1160
1160
|
if (!m) {
|
|
1161
|
-
for (u =
|
|
1161
|
+
for (u = C.child; u; ) {
|
|
1162
1162
|
if (u === i) {
|
|
1163
|
-
m = !0, i =
|
|
1163
|
+
m = !0, i = C, r = M;
|
|
1164
1164
|
break;
|
|
1165
1165
|
}
|
|
1166
1166
|
if (u === r) {
|
|
1167
|
-
m = !0, r =
|
|
1167
|
+
m = !0, r = C, i = M;
|
|
1168
1168
|
break;
|
|
1169
1169
|
}
|
|
1170
1170
|
u = u.sibling;
|
|
@@ -1253,13 +1253,13 @@ function XG() {
|
|
|
1253
1253
|
function Ti(e, s) {
|
|
1254
1254
|
var i = e.pendingLanes;
|
|
1255
1255
|
if (i === 0) return 0;
|
|
1256
|
-
var r = 0, M = e.suspendedLanes,
|
|
1256
|
+
var r = 0, M = e.suspendedLanes, C = e.pingedLanes, m = i & 268435455;
|
|
1257
1257
|
if (m !== 0) {
|
|
1258
1258
|
var u = m & ~M;
|
|
1259
|
-
u !== 0 ? r = eo(u) : (
|
|
1260
|
-
} else m = i & ~M, m !== 0 ? r = eo(m) :
|
|
1259
|
+
u !== 0 ? r = eo(u) : (C &= m, C !== 0 && (r = eo(C)));
|
|
1260
|
+
} else m = i & ~M, m !== 0 ? r = eo(m) : C !== 0 && (r = eo(C));
|
|
1261
1261
|
if (r === 0) return 0;
|
|
1262
|
-
if (s !== 0 && s !== r && (s & M) === 0 && (M = r & -r,
|
|
1262
|
+
if (s !== 0 && s !== r && (s & M) === 0 && (M = r & -r, C = s & -s, M >= C || M === 16 && (C & 4194240) !== 0)) return s;
|
|
1263
1263
|
if ((r & 4) !== 0 && (r |= i & 16), s = e.entangledLanes, s !== 0) for (e = e.entanglements, s &= r; 0 < s; ) i = 31 - mV(s), M = 1 << i, r |= e[i], s &= ~M;
|
|
1264
1264
|
return r;
|
|
1265
1265
|
}
|
|
@@ -1305,9 +1305,9 @@ function XG() {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
}
|
|
1307
1307
|
function nD(e, s) {
|
|
1308
|
-
for (var i = e.suspendedLanes, r = e.pingedLanes, M = e.expirationTimes,
|
|
1309
|
-
var m = 31 - mV(
|
|
1310
|
-
T === -1 ? ((u & i) === 0 || (u & r) !== 0) && (M[m] = rD(u, s)) : T <= s && (e.expiredLanes |= u),
|
|
1308
|
+
for (var i = e.suspendedLanes, r = e.pingedLanes, M = e.expirationTimes, C = e.pendingLanes; 0 < C; ) {
|
|
1309
|
+
var m = 31 - mV(C), u = 1 << m, T = M[m];
|
|
1310
|
+
T === -1 ? ((u & i) === 0 || (u & r) !== 0) && (M[m] = rD(u, s)) : T <= s && (e.expiredLanes |= u), C &= ~u;
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
1313
|
function or(e) {
|
|
@@ -1329,8 +1329,8 @@ function XG() {
|
|
|
1329
1329
|
e.pendingLanes = s, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= s, e.mutableReadLanes &= s, e.entangledLanes &= s, s = e.entanglements;
|
|
1330
1330
|
var r = e.eventTimes;
|
|
1331
1331
|
for (e = e.expirationTimes; 0 < i; ) {
|
|
1332
|
-
var M = 31 - mV(i),
|
|
1333
|
-
s[M] = 0, r[M] = -1, e[M] = -1, i &= ~
|
|
1332
|
+
var M = 31 - mV(i), C = 1 << M;
|
|
1333
|
+
s[M] = 0, r[M] = -1, e[M] = -1, i &= ~C;
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
function gr(e, s) {
|
|
@@ -1368,8 +1368,8 @@ function XG() {
|
|
|
1368
1368
|
oo.delete(s.pointerId);
|
|
1369
1369
|
}
|
|
1370
1370
|
}
|
|
1371
|
-
function io(e, s, i, r, M,
|
|
1372
|
-
return e === null || e.nativeEvent !==
|
|
1371
|
+
function io(e, s, i, r, M, C) {
|
|
1372
|
+
return e === null || e.nativeEvent !== C ? (e = { blockedOn: s, domEventName: i, eventSystemFlags: r, nativeEvent: C, targetContainers: [M] }, s !== null && (s = mo(s), s !== null && ar(s)), e) : (e.eventSystemFlags |= r, s = e.targetContainers, M !== null && s.indexOf(M) === -1 && s.push(M), e);
|
|
1373
1373
|
}
|
|
1374
1374
|
function MD(e, s, i, r, M) {
|
|
1375
1375
|
switch (s) {
|
|
@@ -1380,10 +1380,10 @@ function XG() {
|
|
|
1380
1380
|
case "mouseover":
|
|
1381
1381
|
return Se = io(Se, e, s, i, r, M), !0;
|
|
1382
1382
|
case "pointerover":
|
|
1383
|
-
var
|
|
1384
|
-
return so.set(
|
|
1383
|
+
var C = M.pointerId;
|
|
1384
|
+
return so.set(C, io(so.get(C) || null, e, s, i, r, M)), !0;
|
|
1385
1385
|
case "gotpointercapture":
|
|
1386
|
-
return
|
|
1386
|
+
return C = M.pointerId, oo.set(C, io(oo.get(C) || null, e, s, i, r, M)), !0;
|
|
1387
1387
|
}
|
|
1388
1388
|
return !1;
|
|
1389
1389
|
}
|
|
@@ -1445,21 +1445,21 @@ function XG() {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
var bt = W.ReactCurrentBatchConfig, di = !0;
|
|
1447
1447
|
function YD(e, s, i, r) {
|
|
1448
|
-
var M = HA,
|
|
1448
|
+
var M = HA, C = bt.transition;
|
|
1449
1449
|
bt.transition = null;
|
|
1450
1450
|
try {
|
|
1451
1451
|
HA = 1, nr(e, s, i, r);
|
|
1452
1452
|
} finally {
|
|
1453
|
-
HA = M, bt.transition =
|
|
1453
|
+
HA = M, bt.transition = C;
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
1456
|
function CD(e, s, i, r) {
|
|
1457
|
-
var M = HA,
|
|
1457
|
+
var M = HA, C = bt.transition;
|
|
1458
1458
|
bt.transition = null;
|
|
1459
1459
|
try {
|
|
1460
1460
|
HA = 4, nr(e, s, i, r);
|
|
1461
1461
|
} finally {
|
|
1462
|
-
HA = M, bt.transition =
|
|
1462
|
+
HA = M, bt.transition = C;
|
|
1463
1463
|
}
|
|
1464
1464
|
}
|
|
1465
1465
|
function nr(e, s, i, r) {
|
|
@@ -1469,9 +1469,9 @@ function XG() {
|
|
|
1469
1469
|
else if (MD(M, e, s, i, r)) r.stopPropagation();
|
|
1470
1470
|
else if (jM(e, r), s & 4 && -1 < wD.indexOf(e)) {
|
|
1471
1471
|
for (; M !== null; ) {
|
|
1472
|
-
var
|
|
1473
|
-
if (
|
|
1474
|
-
M =
|
|
1472
|
+
var C = mo(M);
|
|
1473
|
+
if (C !== null && kM(C), C = lr(e, s, i, r), C === null && Kr(e, s, r, Li, i), C === M) break;
|
|
1474
|
+
M = C;
|
|
1475
1475
|
}
|
|
1476
1476
|
M !== null && r.stopPropagation();
|
|
1477
1477
|
} else Kr(e, s, r, null, i);
|
|
@@ -1584,10 +1584,10 @@ function XG() {
|
|
|
1584
1584
|
var Ne = null, wr = null, Wi = null;
|
|
1585
1585
|
function vM() {
|
|
1586
1586
|
if (Wi) return Wi;
|
|
1587
|
-
var e, s = wr, i = s.length, r, M = "value" in Ne ? Ne.value : Ne.textContent,
|
|
1587
|
+
var e, s = wr, i = s.length, r, M = "value" in Ne ? Ne.value : Ne.textContent, C = M.length;
|
|
1588
1588
|
for (e = 0; e < i && s[e] === M[e]; e++) ;
|
|
1589
1589
|
var m = i - e;
|
|
1590
|
-
for (r = 1; r <= m && s[i - r] === M[
|
|
1590
|
+
for (r = 1; r <= m && s[i - r] === M[C - r]; r++) ;
|
|
1591
1591
|
return Wi = M.slice(e, 1 < r ? 1 - r : void 0);
|
|
1592
1592
|
}
|
|
1593
1593
|
function yi(e) {
|
|
@@ -1601,10 +1601,10 @@ function XG() {
|
|
|
1601
1601
|
return !1;
|
|
1602
1602
|
}
|
|
1603
1603
|
function AV(e) {
|
|
1604
|
-
function s(i, r, M,
|
|
1605
|
-
this._reactName = i, this._targetInst = M, this.type = r, this.nativeEvent =
|
|
1606
|
-
for (var u in e) e.hasOwnProperty(u) && (i = e[u], this[u] = i ? i(
|
|
1607
|
-
return this.isDefaultPrevented = (
|
|
1604
|
+
function s(i, r, M, C, m) {
|
|
1605
|
+
this._reactName = i, this._targetInst = M, this.type = r, this.nativeEvent = C, this.target = m, this.currentTarget = null;
|
|
1606
|
+
for (var u in e) e.hasOwnProperty(u) && (i = e[u], this[u] = i ? i(C) : C[u]);
|
|
1607
|
+
return this.isDefaultPrevented = (C.defaultPrevented != null ? C.defaultPrevented : C.returnValue === !1) ? Ri : PM, this.isPropagationStopped = PM, this;
|
|
1608
1608
|
}
|
|
1609
1609
|
return P(s.prototype, { preventDefault: function() {
|
|
1610
1610
|
this.defaultPrevented = !0;
|
|
@@ -1875,13 +1875,13 @@ function XG() {
|
|
|
1875
1875
|
if (s = r.start, e = r.end, e === void 0 && (e = s), "selectionStart" in i) i.selectionStart = s, i.selectionEnd = Math.min(e, i.value.length);
|
|
1876
1876
|
else if (e = (s = i.ownerDocument || document) && s.defaultView || window, e.getSelection) {
|
|
1877
1877
|
e = e.getSelection();
|
|
1878
|
-
var M = i.textContent.length,
|
|
1879
|
-
r = r.end === void 0 ?
|
|
1878
|
+
var M = i.textContent.length, C = Math.min(r.start, M);
|
|
1879
|
+
r = r.end === void 0 ? C : Math.min(r.end, M), !e.extend && C > r && (M = r, r = C, C = M), M = nB(i, C);
|
|
1880
1880
|
var m = nB(
|
|
1881
1881
|
i,
|
|
1882
1882
|
r
|
|
1883
1883
|
);
|
|
1884
|
-
M && m && (e.rangeCount !== 1 || e.anchorNode !== M.node || e.anchorOffset !== M.offset || e.focusNode !== m.node || e.focusOffset !== m.offset) && (s = s.createRange(), s.setStart(M.node, M.offset), e.removeAllRanges(),
|
|
1884
|
+
M && m && (e.rangeCount !== 1 || e.anchorNode !== M.node || e.anchorOffset !== M.offset || e.focusNode !== m.node || e.focusOffset !== m.offset) && (s = s.createRange(), s.setStart(M.node, M.offset), e.removeAllRanges(), C > r ? (e.addRange(s), e.extend(m.node, m.offset)) : (s.setEnd(m.node, m.offset), e.addRange(s)));
|
|
1885
1885
|
}
|
|
1886
1886
|
}
|
|
1887
1887
|
for (s = [], e = i; e = e.parentNode; ) e.nodeType === 1 && s.push({ element: e, left: e.scrollLeft, top: e.scrollTop });
|
|
@@ -1926,15 +1926,15 @@ function XG() {
|
|
|
1926
1926
|
var r = e[i], M = r.event;
|
|
1927
1927
|
r = r.listeners;
|
|
1928
1928
|
A: {
|
|
1929
|
-
var
|
|
1929
|
+
var C = void 0;
|
|
1930
1930
|
if (s) for (var m = r.length - 1; 0 <= m; m--) {
|
|
1931
1931
|
var u = r[m], T = u.instance, R = u.currentTarget;
|
|
1932
|
-
if (u = u.listener, T !==
|
|
1933
|
-
FB(M, u, R),
|
|
1932
|
+
if (u = u.listener, T !== C && M.isPropagationStopped()) break A;
|
|
1933
|
+
FB(M, u, R), C = T;
|
|
1934
1934
|
}
|
|
1935
1935
|
else for (m = 0; m < r.length; m++) {
|
|
1936
|
-
if (u = r[m], T = u.instance, R = u.currentTarget, u = u.listener, T !==
|
|
1937
|
-
FB(M, u, R),
|
|
1936
|
+
if (u = r[m], T = u.instance, R = u.currentTarget, u = u.listener, T !== C && M.isPropagationStopped()) break A;
|
|
1937
|
+
FB(M, u, R), C = T;
|
|
1938
1938
|
}
|
|
1939
1939
|
}
|
|
1940
1940
|
}
|
|
@@ -1974,7 +1974,7 @@ function XG() {
|
|
|
1974
1974
|
i = M.bind(null, s, i, e), M = void 0, !We || s !== "touchstart" && s !== "touchmove" && s !== "wheel" || (M = !0), r ? M !== void 0 ? e.addEventListener(s, i, { capture: !0, passive: M }) : e.addEventListener(s, i, !0) : M !== void 0 ? e.addEventListener(s, i, { passive: M }) : e.addEventListener(s, i, !1);
|
|
1975
1975
|
}
|
|
1976
1976
|
function Kr(e, s, i, r, M) {
|
|
1977
|
-
var
|
|
1977
|
+
var C = r;
|
|
1978
1978
|
if ((s & 1) === 0 && (s & 2) === 0 && r !== null) A: for (; ; ) {
|
|
1979
1979
|
if (r === null) return;
|
|
1980
1980
|
var m = r.tag;
|
|
@@ -1989,7 +1989,7 @@ function XG() {
|
|
|
1989
1989
|
for (; u !== null; ) {
|
|
1990
1990
|
if (m = ht(u), m === null) return;
|
|
1991
1991
|
if (T = m.tag, T === 5 || T === 6) {
|
|
1992
|
-
r =
|
|
1992
|
+
r = C = m;
|
|
1993
1993
|
continue A;
|
|
1994
1994
|
}
|
|
1995
1995
|
u = u.parentNode;
|
|
@@ -1998,7 +1998,7 @@ function XG() {
|
|
|
1998
1998
|
r = r.return;
|
|
1999
1999
|
}
|
|
2000
2000
|
lq(function() {
|
|
2001
|
-
var R =
|
|
2001
|
+
var R = C, H = gV(i), b = [];
|
|
2002
2002
|
A: {
|
|
2003
2003
|
var j = hB.get(e);
|
|
2004
2004
|
if (j !== void 0) {
|
|
@@ -2168,8 +2168,8 @@ function XG() {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
function Ji(e, s) {
|
|
2170
2170
|
for (var i = s + "Capture", r = []; e !== null; ) {
|
|
2171
|
-
var M = e,
|
|
2172
|
-
M.tag === 5 &&
|
|
2171
|
+
var M = e, C = M.stateNode;
|
|
2172
|
+
M.tag === 5 && C !== null && (M = C, C = Fq(e, i), C != null && r.unshift(Eo(e, C, M)), C = Fq(e, s), C != null && r.push(Eo(e, C, M))), e = e.return;
|
|
2173
2173
|
}
|
|
2174
2174
|
return r;
|
|
2175
2175
|
}
|
|
@@ -2181,10 +2181,10 @@ function XG() {
|
|
|
2181
2181
|
return e || null;
|
|
2182
2182
|
}
|
|
2183
2183
|
function QB(e, s, i, r, M) {
|
|
2184
|
-
for (var
|
|
2184
|
+
for (var C = s._reactName, m = []; i !== null && i !== r; ) {
|
|
2185
2185
|
var u = i, T = u.alternate, R = u.stateNode;
|
|
2186
2186
|
if (T !== null && T === r) break;
|
|
2187
|
-
u.tag === 5 && R !== null && (u = R, M ? (T = Fq(i,
|
|
2187
|
+
u.tag === 5 && R !== null && (u = R, M ? (T = Fq(i, C), T != null && m.unshift(Eo(i, T, u))) : M || (T = Fq(i, C), T != null && m.push(Eo(i, T, u)))), i = i.return;
|
|
2188
2188
|
}
|
|
2189
2189
|
m.length !== 0 && e.push({ event: s, listeners: m });
|
|
2190
2190
|
}
|
|
@@ -2292,8 +2292,8 @@ function XG() {
|
|
|
2292
2292
|
if (!i) return Oe;
|
|
2293
2293
|
var r = e.stateNode;
|
|
2294
2294
|
if (r && r.__reactInternalMemoizedUnmaskedChildContext === s) return r.__reactInternalMemoizedMaskedChildContext;
|
|
2295
|
-
var M = {},
|
|
2296
|
-
for (
|
|
2295
|
+
var M = {}, C;
|
|
2296
|
+
for (C in i) M[C] = s[C];
|
|
2297
2297
|
return r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = s, e.__reactInternalMemoizedMaskedChildContext = M), M;
|
|
2298
2298
|
}
|
|
2299
2299
|
function fq(e) {
|
|
@@ -2359,11 +2359,11 @@ function XG() {
|
|
|
2359
2359
|
e = re;
|
|
2360
2360
|
var M = 32 - mV(r) - 1;
|
|
2361
2361
|
r &= ~(1 << M), i += 1;
|
|
2362
|
-
var
|
|
2363
|
-
if (30 <
|
|
2362
|
+
var C = 32 - mV(s) + M;
|
|
2363
|
+
if (30 < C) {
|
|
2364
2364
|
var m = M - M % 5;
|
|
2365
|
-
|
|
2366
|
-
} else ae = 1 <<
|
|
2365
|
+
C = (r & (1 << m) - 1).toString(32), r >>= m, M -= m, ae = 1 << 32 - mV(s) + M | i << M | r, re = C + e;
|
|
2366
|
+
} else ae = 1 << C | i << M | r, re = e;
|
|
2367
2367
|
}
|
|
2368
2368
|
function Zr(e) {
|
|
2369
2369
|
e.return !== null && (Dt(e, 1), dB(e, 1, 0));
|
|
@@ -2461,11 +2461,11 @@ function XG() {
|
|
|
2461
2461
|
var r = i.stateNode;
|
|
2462
2462
|
}
|
|
2463
2463
|
if (!r) throw Error(V(147, e));
|
|
2464
|
-
var M = r,
|
|
2465
|
-
return s !== null && s.ref !== null && typeof s.ref == "function" && s.ref._stringRef ===
|
|
2464
|
+
var M = r, C = "" + e;
|
|
2465
|
+
return s !== null && s.ref !== null && typeof s.ref == "function" && s.ref._stringRef === C ? s.ref : (s = function(m) {
|
|
2466
2466
|
var u = M.refs;
|
|
2467
|
-
m === null ? delete u[
|
|
2468
|
-
}, s._stringRef =
|
|
2467
|
+
m === null ? delete u[C] : u[C] = m;
|
|
2468
|
+
}, s._stringRef = C, s);
|
|
2469
2469
|
}
|
|
2470
2470
|
if (typeof e != "string") throw Error(V(284));
|
|
2471
2471
|
if (!i._owner) throw Error(V(290, e));
|
|
@@ -2498,7 +2498,7 @@ function XG() {
|
|
|
2498
2498
|
function M(L, x) {
|
|
2499
2499
|
return L = At(L, x), L.index = 0, L.sibling = null, L;
|
|
2500
2500
|
}
|
|
2501
|
-
function
|
|
2501
|
+
function C(L, x, y) {
|
|
2502
2502
|
return L.index = y, e ? (y = L.alternate, y !== null ? (y = y.index, y < x ? (L.flags |= 2, x) : y) : (L.flags |= 2, x)) : (L.flags |= 1048576, x);
|
|
2503
2503
|
}
|
|
2504
2504
|
function m(L) {
|
|
@@ -2581,14 +2581,14 @@ function XG() {
|
|
|
2581
2581
|
GA === null && (GA = Qq);
|
|
2582
2582
|
break;
|
|
2583
2583
|
}
|
|
2584
|
-
e && GA && fA.alternate === null && s(L, GA), x =
|
|
2584
|
+
e && GA && fA.alternate === null && s(L, GA), x = C(fA, x, uA), DA === null ? YA = fA : DA.sibling = fA, DA = fA, GA = Qq;
|
|
2585
2585
|
}
|
|
2586
2586
|
if (uA === y.length) return i(L, GA), Aq && Dt(L, uA), YA;
|
|
2587
2587
|
if (GA === null) {
|
|
2588
|
-
for (; uA < y.length; uA++) GA = b(L, y[uA], $), GA !== null && (x =
|
|
2588
|
+
for (; uA < y.length; uA++) GA = b(L, y[uA], $), GA !== null && (x = C(GA, x, uA), DA === null ? YA = GA : DA.sibling = GA, DA = GA);
|
|
2589
2589
|
return Aq && Dt(L, uA), YA;
|
|
2590
2590
|
}
|
|
2591
|
-
for (GA = r(L, GA); uA < y.length; uA++) Qq = oA(GA, L, uA, y[uA], $), Qq !== null && (e && Qq.alternate !== null && GA.delete(Qq.key === null ? uA : Qq.key), x =
|
|
2591
|
+
for (GA = r(L, GA); uA < y.length; uA++) Qq = oA(GA, L, uA, y[uA], $), Qq !== null && (e && Qq.alternate !== null && GA.delete(Qq.key === null ? uA : Qq.key), x = C(Qq, x, uA), DA === null ? YA = Qq : DA.sibling = Qq, DA = Qq);
|
|
2592
2592
|
return e && GA.forEach(function(qt) {
|
|
2593
2593
|
return s(L, qt);
|
|
2594
2594
|
}), Aq && Dt(L, uA), YA;
|
|
@@ -2604,17 +2604,17 @@ function XG() {
|
|
|
2604
2604
|
GA === null && (GA = Qq);
|
|
2605
2605
|
break;
|
|
2606
2606
|
}
|
|
2607
|
-
e && GA && qt.alternate === null && s(L, GA), x =
|
|
2607
|
+
e && GA && qt.alternate === null && s(L, GA), x = C(qt, x, uA), DA === null ? YA = qt : DA.sibling = qt, DA = qt, GA = Qq;
|
|
2608
2608
|
}
|
|
2609
2609
|
if (fA.done) return i(
|
|
2610
2610
|
L,
|
|
2611
2611
|
GA
|
|
2612
2612
|
), Aq && Dt(L, uA), YA;
|
|
2613
2613
|
if (GA === null) {
|
|
2614
|
-
for (; !fA.done; uA++, fA = y.next()) fA = b(L, fA.value, $), fA !== null && (x =
|
|
2614
|
+
for (; !fA.done; uA++, fA = y.next()) fA = b(L, fA.value, $), fA !== null && (x = C(fA, x, uA), DA === null ? YA = fA : DA.sibling = fA, DA = fA);
|
|
2615
2615
|
return Aq && Dt(L, uA), YA;
|
|
2616
2616
|
}
|
|
2617
|
-
for (GA = r(L, GA); !fA.done; uA++, fA = y.next()) fA = oA(GA, L, uA, fA.value, $), fA !== null && (e && fA.alternate !== null && GA.delete(fA.key === null ? uA : fA.key), x =
|
|
2617
|
+
for (GA = r(L, GA); !fA.done; uA++, fA = y.next()) fA = oA(GA, L, uA, fA.value, $), fA !== null && (e && fA.alternate !== null && GA.delete(fA.key === null ? uA : fA.key), x = C(fA, x, uA), DA === null ? YA = fA : DA.sibling = fA, DA = fA);
|
|
2618
2618
|
return e && GA.forEach(function(jG) {
|
|
2619
2619
|
return s(L, jG);
|
|
2620
2620
|
}), Aq && Dt(L, uA), YA;
|
|
@@ -2738,15 +2738,15 @@ function XG() {
|
|
|
2738
2738
|
function JB(e, s) {
|
|
2739
2739
|
var i = e.updateQueue, r = e.alternate;
|
|
2740
2740
|
if (r !== null && (r = r.updateQueue, i === r)) {
|
|
2741
|
-
var M = null,
|
|
2741
|
+
var M = null, C = null;
|
|
2742
2742
|
if (i = i.firstBaseUpdate, i !== null) {
|
|
2743
2743
|
do {
|
|
2744
2744
|
var m = { eventTime: i.eventTime, lane: i.lane, tag: i.tag, payload: i.payload, callback: i.callback, next: null };
|
|
2745
|
-
|
|
2745
|
+
C === null ? M = C = m : C = C.next = m, i = i.next;
|
|
2746
2746
|
} while (i !== null);
|
|
2747
|
-
|
|
2748
|
-
} else M =
|
|
2749
|
-
i = { baseState: r.baseState, firstBaseUpdate: M, lastBaseUpdate:
|
|
2747
|
+
C === null ? M = C = s : C = C.next = s;
|
|
2748
|
+
} else M = C = s;
|
|
2749
|
+
i = { baseState: r.baseState, firstBaseUpdate: M, lastBaseUpdate: C, shared: r.shared, effects: r.effects }, e.updateQueue = i;
|
|
2750
2750
|
return;
|
|
2751
2751
|
}
|
|
2752
2752
|
e = i.lastBaseUpdate, e === null ? i.firstBaseUpdate = s : e.next = s, i.lastBaseUpdate = s;
|
|
@@ -2754,17 +2754,17 @@ function XG() {
|
|
|
2754
2754
|
function eg(e, s, i, r) {
|
|
2755
2755
|
var M = e.updateQueue;
|
|
2756
2756
|
ze = !1;
|
|
2757
|
-
var
|
|
2757
|
+
var C = M.firstBaseUpdate, m = M.lastBaseUpdate, u = M.shared.pending;
|
|
2758
2758
|
if (u !== null) {
|
|
2759
2759
|
M.shared.pending = null;
|
|
2760
2760
|
var T = u, R = T.next;
|
|
2761
|
-
T.next = null, m === null ?
|
|
2761
|
+
T.next = null, m === null ? C = R : m.next = R, m = T;
|
|
2762
2762
|
var H = e.alternate;
|
|
2763
2763
|
H !== null && (H = H.updateQueue, u = H.lastBaseUpdate, u !== m && (u === null ? H.firstBaseUpdate = R : u.next = R, H.lastBaseUpdate = T));
|
|
2764
2764
|
}
|
|
2765
|
-
if (
|
|
2765
|
+
if (C !== null) {
|
|
2766
2766
|
var b = M.baseState;
|
|
2767
|
-
m = 0, H = R = T = null, u =
|
|
2767
|
+
m = 0, H = R = T = null, u = C;
|
|
2768
2768
|
do {
|
|
2769
2769
|
var j = u.lane, oA = u.eventTime;
|
|
2770
2770
|
if ((r & j) === j) {
|
|
@@ -2808,7 +2808,7 @@ function XG() {
|
|
|
2808
2808
|
do
|
|
2809
2809
|
m |= M.lane, M = M.next;
|
|
2810
2810
|
while (M !== s);
|
|
2811
|
-
} else
|
|
2811
|
+
} else C === null && (M.shared.lanes = 0);
|
|
2812
2812
|
ut |= m, e.lanes = m, e.memoizedState = b;
|
|
2813
2813
|
}
|
|
2814
2814
|
}
|
|
@@ -2883,12 +2883,12 @@ function XG() {
|
|
|
2883
2883
|
for (var i = 0; i < s.length && i < e.length; i++) if (!FV(e[i], s[i])) return !1;
|
|
2884
2884
|
return !0;
|
|
2885
2885
|
}
|
|
2886
|
-
function qn(e, s, i, r, M,
|
|
2887
|
-
if (It =
|
|
2888
|
-
|
|
2886
|
+
function qn(e, s, i, r, M, C) {
|
|
2887
|
+
if (It = C, eq = s, s.memoizedState = null, s.updateQueue = null, s.lanes = 0, sg.current = e === null || e.memoizedState === null ? YG : CG, e = i(r, M), Io) {
|
|
2888
|
+
C = 0;
|
|
2889
2889
|
do {
|
|
2890
|
-
if (Io = !1, uo = 0, 25 <=
|
|
2891
|
-
|
|
2890
|
+
if (Io = !1, uo = 0, 25 <= C) throw Error(V(301));
|
|
2891
|
+
C += 1, Dq = Cq = null, s.updateQueue = null, sg.current = cG, e = i(r, M);
|
|
2892
2892
|
} while (Io);
|
|
2893
2893
|
}
|
|
2894
2894
|
if (sg.current = ag, s = Cq !== null && Cq.next !== null, It = 0, Dq = Cq = eq = null, og = !1, s) throw Error(V(300));
|
|
@@ -2922,17 +2922,17 @@ function XG() {
|
|
|
2922
2922
|
var s = wV(), i = s.queue;
|
|
2923
2923
|
if (i === null) throw Error(V(311));
|
|
2924
2924
|
i.lastRenderedReducer = e;
|
|
2925
|
-
var r = Cq, M = r.baseQueue,
|
|
2926
|
-
if (
|
|
2925
|
+
var r = Cq, M = r.baseQueue, C = i.pending;
|
|
2926
|
+
if (C !== null) {
|
|
2927
2927
|
if (M !== null) {
|
|
2928
2928
|
var m = M.next;
|
|
2929
|
-
M.next =
|
|
2929
|
+
M.next = C.next, C.next = m;
|
|
2930
2930
|
}
|
|
2931
|
-
r.baseQueue = M =
|
|
2931
|
+
r.baseQueue = M = C, i.pending = null;
|
|
2932
2932
|
}
|
|
2933
2933
|
if (M !== null) {
|
|
2934
|
-
|
|
2935
|
-
var u = m = null, T = null, R =
|
|
2934
|
+
C = M.next, r = r.baseState;
|
|
2935
|
+
var u = m = null, T = null, R = C;
|
|
2936
2936
|
do {
|
|
2937
2937
|
var H = R.lane;
|
|
2938
2938
|
if ((It & H) === H) T !== null && (T = T.next = { lane: 0, action: R.action, hasEagerState: R.hasEagerState, eagerState: R.eagerState, next: null }), r = R.hasEagerState ? R.eagerState : e(r, R.action);
|
|
@@ -2947,13 +2947,13 @@ function XG() {
|
|
|
2947
2947
|
T === null ? (u = T = b, m = r) : T = T.next = b, eq.lanes |= H, ut |= H;
|
|
2948
2948
|
}
|
|
2949
2949
|
R = R.next;
|
|
2950
|
-
} while (R !== null && R !==
|
|
2950
|
+
} while (R !== null && R !== C);
|
|
2951
2951
|
T === null ? m = r : T.next = u, FV(r, s.memoizedState) || (Jq = !0), s.memoizedState = r, s.baseState = m, s.baseQueue = T, i.lastRenderedState = r;
|
|
2952
2952
|
}
|
|
2953
2953
|
if (e = i.interleaved, e !== null) {
|
|
2954
2954
|
M = e;
|
|
2955
2955
|
do
|
|
2956
|
-
|
|
2956
|
+
C = M.lane, eq.lanes |= C, ut |= C, M = M.next;
|
|
2957
2957
|
while (M !== e);
|
|
2958
2958
|
} else M === null && (i.lanes = 0);
|
|
2959
2959
|
return [s.memoizedState, i.dispatch];
|
|
@@ -2962,22 +2962,22 @@ function XG() {
|
|
|
2962
2962
|
var s = wV(), i = s.queue;
|
|
2963
2963
|
if (i === null) throw Error(V(311));
|
|
2964
2964
|
i.lastRenderedReducer = e;
|
|
2965
|
-
var r = i.dispatch, M = i.pending,
|
|
2965
|
+
var r = i.dispatch, M = i.pending, C = s.memoizedState;
|
|
2966
2966
|
if (M !== null) {
|
|
2967
2967
|
i.pending = null;
|
|
2968
2968
|
var m = M = M.next;
|
|
2969
2969
|
do
|
|
2970
|
-
|
|
2970
|
+
C = e(C, m.action), m = m.next;
|
|
2971
2971
|
while (m !== M);
|
|
2972
|
-
FV(
|
|
2972
|
+
FV(C, s.memoizedState) || (Jq = !0), s.memoizedState = C, s.baseQueue === null && (s.baseState = C), i.lastRenderedState = C;
|
|
2973
2973
|
}
|
|
2974
|
-
return [
|
|
2974
|
+
return [C, r];
|
|
2975
2975
|
}
|
|
2976
2976
|
function HB() {
|
|
2977
2977
|
}
|
|
2978
2978
|
function zB(e, s) {
|
|
2979
|
-
var i = eq, r = wV(), M = s(),
|
|
2980
|
-
if (
|
|
2979
|
+
var i = eq, r = wV(), M = s(), C = !FV(r.memoizedState, M);
|
|
2980
|
+
if (C && (r.memoizedState = M, Jq = !0), r = r.queue, sn(bB.bind(null, i, r, e), [e]), r.getSnapshot !== s || C || Dq !== null && Dq.memoizedState.tag & 1) {
|
|
2981
2981
|
if (i.flags |= 2048, Ko(9, PB.bind(null, i, r, M, s), void 0, null), Gq === null) throw Error(V(349));
|
|
2982
2982
|
(It & 30) !== 0 || vB(i, s, M);
|
|
2983
2983
|
}
|
|
@@ -3025,15 +3025,15 @@ function XG() {
|
|
|
3025
3025
|
function gg(e, s, i, r) {
|
|
3026
3026
|
var M = wV();
|
|
3027
3027
|
r = r === void 0 ? null : r;
|
|
3028
|
-
var
|
|
3028
|
+
var C = void 0;
|
|
3029
3029
|
if (Cq !== null) {
|
|
3030
3030
|
var m = Cq.memoizedState;
|
|
3031
|
-
if (
|
|
3032
|
-
M.memoizedState = Ko(s, i,
|
|
3031
|
+
if (C = m.destroy, r !== null && An(r, m.deps)) {
|
|
3032
|
+
M.memoizedState = Ko(s, i, C, r);
|
|
3033
3033
|
return;
|
|
3034
3034
|
}
|
|
3035
3035
|
}
|
|
3036
|
-
eq.flags |= e, M.memoizedState = Ko(1 | s, i,
|
|
3036
|
+
eq.flags |= e, M.memoizedState = Ko(1 | s, i, C, r);
|
|
3037
3037
|
}
|
|
3038
3038
|
function qY(e, s) {
|
|
3039
3039
|
return ig(8390656, 8, e, s);
|
|
@@ -3101,9 +3101,9 @@ function XG() {
|
|
|
3101
3101
|
var r = _e(e), M = { lane: r, action: i, hasEagerState: !1, eagerState: null, next: null };
|
|
3102
3102
|
if (rY(e)) nY(s, M);
|
|
3103
3103
|
else {
|
|
3104
|
-
var
|
|
3105
|
-
if (e.lanes === 0 && (
|
|
3106
|
-
var m = s.lastRenderedState, u =
|
|
3104
|
+
var C = e.alternate;
|
|
3105
|
+
if (e.lanes === 0 && (C === null || C.lanes === 0) && (C = s.lastRenderedReducer, C !== null)) try {
|
|
3106
|
+
var m = s.lastRenderedState, u = C(m, i);
|
|
3107
3107
|
if (M.hasEagerState = !0, M.eagerState = u, FV(u, m)) {
|
|
3108
3108
|
var T = s.interleaved;
|
|
3109
3109
|
T === null ? (M.next = M, zr(s)) : (M.next = T.next, T.next = M), s.interleaved = M;
|
|
@@ -3168,13 +3168,13 @@ function XG() {
|
|
|
3168
3168
|
(It & 30) !== 0 || vB(r, s, i);
|
|
3169
3169
|
}
|
|
3170
3170
|
M.memoizedState = i;
|
|
3171
|
-
var
|
|
3172
|
-
return M.queue =
|
|
3171
|
+
var C = { value: i, getSnapshot: s };
|
|
3172
|
+
return M.queue = C, qY(bB.bind(
|
|
3173
3173
|
null,
|
|
3174
3174
|
r,
|
|
3175
|
-
|
|
3175
|
+
C,
|
|
3176
3176
|
e
|
|
3177
|
-
), [e]), r.flags |= 2048, Ko(9, PB.bind(null, r,
|
|
3177
|
+
), [e]), r.flags |= 2048, Ko(9, PB.bind(null, r, C, i, s), void 0, null), i;
|
|
3178
3178
|
}, useId: function() {
|
|
3179
3179
|
var e = NV(), s = Gq.identifierPrefix;
|
|
3180
3180
|
if (Aq) {
|
|
@@ -3233,23 +3233,23 @@ function XG() {
|
|
|
3233
3233
|
return (e = e._reactInternals) ? Et(e) === e : !1;
|
|
3234
3234
|
}, enqueueSetState: function(e, s, i) {
|
|
3235
3235
|
e = e._reactInternals;
|
|
3236
|
-
var r = kq(), M = _e(e),
|
|
3237
|
-
|
|
3236
|
+
var r = kq(), M = _e(e), C = le(r, M);
|
|
3237
|
+
C.payload = s, i != null && (C.callback = i), s = ve(e, C, M), s !== null && (uV(s, e, M, r), Vg(s, e, M));
|
|
3238
3238
|
}, enqueueReplaceState: function(e, s, i) {
|
|
3239
3239
|
e = e._reactInternals;
|
|
3240
|
-
var r = kq(), M = _e(e),
|
|
3241
|
-
|
|
3240
|
+
var r = kq(), M = _e(e), C = le(r, M);
|
|
3241
|
+
C.tag = 1, C.payload = s, i != null && (C.callback = i), s = ve(e, C, M), s !== null && (uV(s, e, M, r), Vg(s, e, M));
|
|
3242
3242
|
}, enqueueForceUpdate: function(e, s) {
|
|
3243
3243
|
e = e._reactInternals;
|
|
3244
3244
|
var i = kq(), r = _e(e), M = le(i, r);
|
|
3245
3245
|
M.tag = 2, s != null && (M.callback = s), s = ve(e, M, r), s !== null && (uV(s, e, r, i), Vg(s, e, r));
|
|
3246
3246
|
} };
|
|
3247
|
-
function wY(e, s, i, r, M,
|
|
3248
|
-
return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r,
|
|
3247
|
+
function wY(e, s, i, r, M, C, m) {
|
|
3248
|
+
return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, C, m) : s.prototype && s.prototype.isPureReactComponent ? !Bo(i, r) || !Bo(M, C) : !0;
|
|
3249
3249
|
}
|
|
3250
3250
|
function MY(e, s, i) {
|
|
3251
|
-
var r = !1, M = Oe,
|
|
3252
|
-
return typeof
|
|
3251
|
+
var r = !1, M = Oe, C = s.contextType;
|
|
3252
|
+
return typeof C == "object" && C !== null ? C = lV(C) : (M = fq(s) ? mt : Uq.current, r = s.contextTypes, C = (r = r != null) ? ss(e, M) : Oe), s = new s(i, C), e.memoizedState = s.state !== null && s.state !== void 0 ? s.state : null, s.updater = rg, e.stateNode = s, s._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = M, e.__reactInternalMemoizedMaskedChildContext = C), s;
|
|
3253
3253
|
}
|
|
3254
3254
|
function BY(e, s, i, r) {
|
|
3255
3255
|
e = s.state, typeof s.componentWillReceiveProps == "function" && s.componentWillReceiveProps(i, r), typeof s.UNSAFE_componentWillReceiveProps == "function" && s.UNSAFE_componentWillReceiveProps(i, r), s.state !== e && rg.enqueueReplaceState(s, s.state, null);
|
|
@@ -3257,8 +3257,8 @@ function XG() {
|
|
|
3257
3257
|
function an(e, s, i, r) {
|
|
3258
3258
|
var M = e.stateNode;
|
|
3259
3259
|
M.props = i, M.state = e.memoizedState, M.refs = {}, vr(e);
|
|
3260
|
-
var
|
|
3261
|
-
typeof
|
|
3260
|
+
var C = s.contextType;
|
|
3261
|
+
typeof C == "object" && C !== null ? M.context = lV(C) : (C = fq(s) ? mt : Uq.current, M.context = ss(e, C)), M.state = e.memoizedState, C = s.getDerivedStateFromProps, typeof C == "function" && (gn(e, s, C, i), M.state = e.memoizedState), typeof s.getDerivedStateFromProps == "function" || typeof M.getSnapshotBeforeUpdate == "function" || typeof M.UNSAFE_componentWillMount != "function" && typeof M.componentWillMount != "function" || (s = M.state, typeof M.componentWillMount == "function" && M.componentWillMount(), typeof M.UNSAFE_componentWillMount == "function" && M.UNSAFE_componentWillMount(), s !== M.state && rg.enqueueReplaceState(M, M.state, null), eg(e, i, M, r), M.state = e.memoizedState), typeof M.componentDidMount == "function" && (e.flags |= 4194308);
|
|
3262
3262
|
}
|
|
3263
3263
|
function ws(e, s) {
|
|
3264
3264
|
try {
|
|
@@ -3267,10 +3267,10 @@ function XG() {
|
|
|
3267
3267
|
i += sA(r), r = r.return;
|
|
3268
3268
|
while (r);
|
|
3269
3269
|
var M = i;
|
|
3270
|
-
} catch (
|
|
3270
|
+
} catch (C) {
|
|
3271
3271
|
M = `
|
|
3272
|
-
Error generating stack: ` +
|
|
3273
|
-
` +
|
|
3272
|
+
Error generating stack: ` + C.message + `
|
|
3273
|
+
` + C.stack;
|
|
3274
3274
|
}
|
|
3275
3275
|
return { value: e, source: s, stack: M, digest: null };
|
|
3276
3276
|
}
|
|
@@ -3305,8 +3305,8 @@ Error generating stack: ` + Y.message + `
|
|
|
3305
3305
|
nn(e, s);
|
|
3306
3306
|
};
|
|
3307
3307
|
}
|
|
3308
|
-
var
|
|
3309
|
-
return
|
|
3308
|
+
var C = e.stateNode;
|
|
3309
|
+
return C !== null && typeof C.componentDidCatch == "function" && (i.callback = function() {
|
|
3310
3310
|
nn(e, s), typeof r != "function" && (be === null ? be = /* @__PURE__ */ new Set([this]) : be.add(this));
|
|
3311
3311
|
var m = s.stack;
|
|
3312
3312
|
this.componentDidCatch(s.value, { componentStack: m !== null ? m : "" });
|
|
@@ -3338,36 +3338,36 @@ Error generating stack: ` + Y.message + `
|
|
|
3338
3338
|
}
|
|
3339
3339
|
function mY(e, s, i, r, M) {
|
|
3340
3340
|
i = i.render;
|
|
3341
|
-
var
|
|
3342
|
-
return ns(s, M), r = qn(e, s, i, r,
|
|
3341
|
+
var C = s.ref;
|
|
3342
|
+
return ns(s, M), r = qn(e, s, i, r, C, M), i = Vn(), e !== null && !Jq ? (s.updateQueue = e.updateQueue, s.flags &= -2053, e.lanes &= ~M, we(e, s, M)) : (Aq && i && Zr(s), s.flags |= 1, Sq(e, s, r, M), s.child);
|
|
3343
3343
|
}
|
|
3344
3344
|
function FY(e, s, i, r, M) {
|
|
3345
3345
|
if (e === null) {
|
|
3346
|
-
var
|
|
3347
|
-
return typeof
|
|
3346
|
+
var C = i.type;
|
|
3347
|
+
return typeof C == "function" && !dn(C) && C.defaultProps === void 0 && i.compare === null && i.defaultProps === void 0 ? (s.tag = 15, s.type = C, DY(e, s, C, r, M)) : (e = Dg(i.type, null, r, s, s.mode, M), e.ref = s.ref, e.return = s, s.child = e);
|
|
3348
3348
|
}
|
|
3349
|
-
if (
|
|
3350
|
-
var m =
|
|
3349
|
+
if (C = e.child, (e.lanes & M) === 0) {
|
|
3350
|
+
var m = C.memoizedProps;
|
|
3351
3351
|
if (i = i.compare, i = i !== null ? i : Bo, i(m, r) && e.ref === s.ref) return we(e, s, M);
|
|
3352
3352
|
}
|
|
3353
|
-
return s.flags |= 1, e = At(
|
|
3353
|
+
return s.flags |= 1, e = At(C, r), e.ref = s.ref, e.return = s, s.child = e;
|
|
3354
3354
|
}
|
|
3355
3355
|
function DY(e, s, i, r, M) {
|
|
3356
3356
|
if (e !== null) {
|
|
3357
|
-
var
|
|
3358
|
-
if (Bo(
|
|
3357
|
+
var C = e.memoizedProps;
|
|
3358
|
+
if (Bo(C, r) && e.ref === s.ref) if (Jq = !1, s.pendingProps = r = C, (e.lanes & M) !== 0) (e.flags & 131072) !== 0 && (Jq = !0);
|
|
3359
3359
|
else return s.lanes = e.lanes, we(e, s, M);
|
|
3360
3360
|
}
|
|
3361
3361
|
return ln(e, s, i, r, M);
|
|
3362
3362
|
}
|
|
3363
3363
|
function GY(e, s, i) {
|
|
3364
|
-
var r = s.pendingProps, M = r.children,
|
|
3364
|
+
var r = s.pendingProps, M = r.children, C = e !== null ? e.memoizedState : null;
|
|
3365
3365
|
if (r.mode === "hidden") if ((s.mode & 1) === 0) s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, PA(Bs, eV), eV |= i;
|
|
3366
3366
|
else {
|
|
3367
|
-
if ((i & 1073741824) === 0) return e =
|
|
3368
|
-
s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, r =
|
|
3367
|
+
if ((i & 1073741824) === 0) return e = C !== null ? C.baseLanes | i : i, s.lanes = s.childLanes = 1073741824, s.memoizedState = { baseLanes: e, cachePool: null, transitions: null }, s.updateQueue = null, PA(Bs, eV), eV |= e, null;
|
|
3368
|
+
s.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, r = C !== null ? C.baseLanes : i, PA(Bs, eV), eV |= r;
|
|
3369
3369
|
}
|
|
3370
|
-
else
|
|
3370
|
+
else C !== null ? (r = C.baseLanes | i, s.memoizedState = null) : r = i, PA(Bs, eV), eV |= r;
|
|
3371
3371
|
return Sq(e, s, M, i), s.child;
|
|
3372
3372
|
}
|
|
3373
3373
|
function QY(e, s) {
|
|
@@ -3375,14 +3375,14 @@ Error generating stack: ` + Y.message + `
|
|
|
3375
3375
|
(e === null && i !== null || e !== null && e.ref !== i) && (s.flags |= 512, s.flags |= 2097152);
|
|
3376
3376
|
}
|
|
3377
3377
|
function ln(e, s, i, r, M) {
|
|
3378
|
-
var
|
|
3379
|
-
return
|
|
3378
|
+
var C = fq(i) ? mt : Uq.current;
|
|
3379
|
+
return C = ss(s, C), ns(s, M), i = qn(e, s, i, r, C, M), r = Vn(), e !== null && !Jq ? (s.updateQueue = e.updateQueue, s.flags &= -2053, e.lanes &= ~M, we(e, s, M)) : (Aq && r && Zr(s), s.flags |= 1, Sq(e, s, i, M), s.child);
|
|
3380
3380
|
}
|
|
3381
3381
|
function IY(e, s, i, r, M) {
|
|
3382
3382
|
if (fq(i)) {
|
|
3383
|
-
var
|
|
3383
|
+
var C = !0;
|
|
3384
3384
|
vi(s);
|
|
3385
|
-
} else
|
|
3385
|
+
} else C = !1;
|
|
3386
3386
|
if (ns(s, M), s.stateNode === null) lg(e, s), MY(s, i, r), an(s, i, r, M), r = !0;
|
|
3387
3387
|
else if (e === null) {
|
|
3388
3388
|
var m = s.stateNode, u = s.memoizedProps;
|
|
@@ -3400,15 +3400,15 @@ Error generating stack: ` + Y.message + `
|
|
|
3400
3400
|
var lA = s.memoizedState;
|
|
3401
3401
|
u !== b || j !== lA || Nq.current || ze ? (typeof oA == "function" && (gn(s, i, oA, r), lA = s.memoizedState), (R = ze || wY(s, i, R, r, j, lA, T) || !1) ? (H || typeof m.UNSAFE_componentWillUpdate != "function" && typeof m.componentWillUpdate != "function" || (typeof m.componentWillUpdate == "function" && m.componentWillUpdate(r, lA, T), typeof m.UNSAFE_componentWillUpdate == "function" && m.UNSAFE_componentWillUpdate(r, lA, T)), typeof m.componentDidUpdate == "function" && (s.flags |= 4), typeof m.getSnapshotBeforeUpdate == "function" && (s.flags |= 1024)) : (typeof m.componentDidUpdate != "function" || u === e.memoizedProps && j === e.memoizedState || (s.flags |= 4), typeof m.getSnapshotBeforeUpdate != "function" || u === e.memoizedProps && j === e.memoizedState || (s.flags |= 1024), s.memoizedProps = r, s.memoizedState = lA), m.props = r, m.state = lA, m.context = T, r = R) : (typeof m.componentDidUpdate != "function" || u === e.memoizedProps && j === e.memoizedState || (s.flags |= 4), typeof m.getSnapshotBeforeUpdate != "function" || u === e.memoizedProps && j === e.memoizedState || (s.flags |= 1024), r = !1);
|
|
3402
3402
|
}
|
|
3403
|
-
return wn(e, s, i, r,
|
|
3403
|
+
return wn(e, s, i, r, C, M);
|
|
3404
3404
|
}
|
|
3405
|
-
function wn(e, s, i, r, M,
|
|
3405
|
+
function wn(e, s, i, r, M, C) {
|
|
3406
3406
|
QY(e, s);
|
|
3407
3407
|
var m = (s.flags & 128) !== 0;
|
|
3408
|
-
if (!r && !m) return M && UB(s, i, !1), we(e, s,
|
|
3408
|
+
if (!r && !m) return M && UB(s, i, !1), we(e, s, C);
|
|
3409
3409
|
r = s.stateNode, hG.current = s;
|
|
3410
3410
|
var u = m && typeof i.getDerivedStateFromError != "function" ? null : r.render();
|
|
3411
|
-
return s.flags |= 1, e !== null && m ? (s.child = as(s, e.child, null,
|
|
3411
|
+
return s.flags |= 1, e !== null && m ? (s.child = as(s, e.child, null, C), s.child = as(s, null, u, C)) : Sq(e, s, u, C), s.memoizedState = r.state, M && UB(s, i, !0), s.child;
|
|
3412
3412
|
}
|
|
3413
3413
|
function uY(e) {
|
|
3414
3414
|
var s = e.stateNode;
|
|
@@ -3422,16 +3422,16 @@ Error generating stack: ` + Y.message + `
|
|
|
3422
3422
|
return { baseLanes: e, cachePool: null, transitions: null };
|
|
3423
3423
|
}
|
|
3424
3424
|
function KY(e, s, i) {
|
|
3425
|
-
var r = s.pendingProps, M = Vq.current,
|
|
3426
|
-
if ((u = m) || (u = e !== null && e.memoizedState === null ? !1 : (M & 2) !== 0), u ? (
|
|
3427
|
-
return Nr(s), e = s.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? ((s.mode & 1) === 0 ? s.lanes = 1 : e.data === "$!" ? s.lanes = 8 : s.lanes = 1073741824, null) : (m = r.children, e = r.fallback,
|
|
3425
|
+
var r = s.pendingProps, M = Vq.current, C = !1, m = (s.flags & 128) !== 0, u;
|
|
3426
|
+
if ((u = m) || (u = e !== null && e.memoizedState === null ? !1 : (M & 2) !== 0), u ? (C = !0, s.flags &= -129) : (e === null || e.memoizedState !== null) && (M |= 1), PA(Vq, M & 1), e === null)
|
|
3427
|
+
return Nr(s), e = s.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? ((s.mode & 1) === 0 ? s.lanes = 1 : e.data === "$!" ? s.lanes = 8 : s.lanes = 1073741824, null) : (m = r.children, e = r.fallback, C ? (r = s.mode, C = s.child, m = { mode: "hidden", children: m }, (r & 1) === 0 && C !== null ? (C.childLanes = 0, C.pendingProps = m) : C = Gg(m, r, 0, null), e = Ut(e, r, i, null), C.return = s, e.return = s, C.sibling = e, s.child = C, s.child.memoizedState = Bn(i), s.memoizedState = Mn, e) : Yn(s, m));
|
|
3428
3428
|
if (M = e.memoizedState, M !== null && (u = M.dehydrated, u !== null)) return mG(e, s, m, r, u, M, i);
|
|
3429
|
-
if (
|
|
3430
|
-
|
|
3429
|
+
if (C) {
|
|
3430
|
+
C = r.fallback, m = s.mode, M = e.child, u = M.sibling;
|
|
3431
3431
|
var T = { mode: "hidden", children: r.children };
|
|
3432
|
-
return (m & 1) === 0 && s.child !== M ? (r = s.child, r.childLanes = 0, r.pendingProps = T, s.deletions = null) : (r = At(M, T), r.subtreeFlags = M.subtreeFlags & 14680064), u !== null ?
|
|
3432
|
+
return (m & 1) === 0 && s.child !== M ? (r = s.child, r.childLanes = 0, r.pendingProps = T, s.deletions = null) : (r = At(M, T), r.subtreeFlags = M.subtreeFlags & 14680064), u !== null ? C = At(u, C) : (C = Ut(C, m, i, null), C.flags |= 2), C.return = s, r.return = s, r.sibling = C, s.child = r, r = C, C = s.child, m = e.child.memoizedState, m = m === null ? Bn(i) : { baseLanes: m.baseLanes | i, cachePool: null, transitions: m.transitions }, C.memoizedState = m, C.childLanes = e.childLanes & ~i, s.memoizedState = Mn, r;
|
|
3433
3433
|
}
|
|
3434
|
-
return
|
|
3434
|
+
return C = e.child, e = C.sibling, r = At(C, { mode: "visible", children: r.children }), (s.mode & 1) === 0 && (r.lanes = i), r.return = s, r.sibling = null, e !== null && (i = s.deletions, i === null ? (s.deletions = [e], s.flags |= 16) : i.push(e)), s.child = r, s.memoizedState = null, r;
|
|
3435
3435
|
}
|
|
3436
3436
|
function Yn(e, s) {
|
|
3437
3437
|
return s = Gg({ mode: "visible", children: s }, e.mode, 0, null), s.return = e, e.child = s;
|
|
@@ -3439,13 +3439,13 @@ Error generating stack: ` + Y.message + `
|
|
|
3439
3439
|
function ng(e, s, i, r) {
|
|
3440
3440
|
return r !== null && fr(r), as(s, e.child, null, i), e = Yn(s, s.pendingProps.children), e.flags |= 2, s.memoizedState = null, e;
|
|
3441
3441
|
}
|
|
3442
|
-
function mG(e, s, i, r, M,
|
|
3442
|
+
function mG(e, s, i, r, M, C, m) {
|
|
3443
3443
|
if (i)
|
|
3444
|
-
return s.flags & 256 ? (s.flags &= -257, r = rn(Error(V(422))), ng(e, s, m, r)) : s.memoizedState !== null ? (s.child = e.child, s.flags |= 128, null) : (
|
|
3444
|
+
return s.flags & 256 ? (s.flags &= -257, r = rn(Error(V(422))), ng(e, s, m, r)) : s.memoizedState !== null ? (s.child = e.child, s.flags |= 128, null) : (C = r.fallback, M = s.mode, r = Gg({ mode: "visible", children: r.children }, M, 0, null), C = Ut(C, M, m, null), C.flags |= 2, r.return = s, C.return = s, r.sibling = C, s.child = r, (s.mode & 1) !== 0 && as(s, e.child, null, m), s.child.memoizedState = Bn(m), s.memoizedState = Mn, C);
|
|
3445
3445
|
if ((s.mode & 1) === 0) return ng(e, s, m, null);
|
|
3446
3446
|
if (M.data === "$!") {
|
|
3447
3447
|
if (r = M.nextSibling && M.nextSibling.dataset, r) var u = r.dgst;
|
|
3448
|
-
return r = u,
|
|
3448
|
+
return r = u, C = Error(V(419)), r = rn(C, r, void 0), ng(e, s, m, r);
|
|
3449
3449
|
}
|
|
3450
3450
|
if (u = (m & e.childLanes) !== 0, Jq || u) {
|
|
3451
3451
|
if (r = Gq, r !== null) {
|
|
@@ -3485,11 +3485,11 @@ Error generating stack: ` + Y.message + `
|
|
|
3485
3485
|
default:
|
|
3486
3486
|
M = 0;
|
|
3487
3487
|
}
|
|
3488
|
-
M = (M & (r.suspendedLanes | m)) !== 0 ? 0 : M, M !== 0 && M !==
|
|
3488
|
+
M = (M & (r.suspendedLanes | m)) !== 0 ? 0 : M, M !== 0 && M !== C.retryLane && (C.retryLane = M, ne(e, M), uV(r, e, M, -1));
|
|
3489
3489
|
}
|
|
3490
3490
|
return xn(), r = rn(Error(V(421))), ng(e, s, m, r);
|
|
3491
3491
|
}
|
|
3492
|
-
return M.data === "$?" ? (s.flags |= 128, s.child = e.child, s = LG.bind(null, e), M._reactRetry = s, null) : (e =
|
|
3492
|
+
return M.data === "$?" ? (s.flags |= 128, s.child = e.child, s = LG.bind(null, e), M._reactRetry = s, null) : (e = C.treeContext, VV = Je(M.nextSibling), qV = s, Aq = !0, DV = null, e !== null && (rV[nV++] = ae, rV[nV++] = re, rV[nV++] = Ft, ae = e.id, re = e.overflow, Ft = s), s = Yn(s, r.children), s.flags |= 4096, s);
|
|
3493
3493
|
}
|
|
3494
3494
|
function TY(e, s, i) {
|
|
3495
3495
|
e.lanes |= s;
|
|
@@ -3497,11 +3497,11 @@ Error generating stack: ` + Y.message + `
|
|
|
3497
3497
|
r !== null && (r.lanes |= s), Hr(e.return, s, i);
|
|
3498
3498
|
}
|
|
3499
3499
|
function Cn(e, s, i, r, M) {
|
|
3500
|
-
var
|
|
3501
|
-
|
|
3500
|
+
var C = e.memoizedState;
|
|
3501
|
+
C === null ? e.memoizedState = { isBackwards: s, rendering: null, renderingStartTime: 0, last: r, tail: i, tailMode: M } : (C.isBackwards = s, C.rendering = null, C.renderingStartTime = 0, C.last = r, C.tail = i, C.tailMode = M);
|
|
3502
3502
|
}
|
|
3503
3503
|
function UY(e, s, i) {
|
|
3504
|
-
var r = s.pendingProps, M = r.revealOrder,
|
|
3504
|
+
var r = s.pendingProps, M = r.revealOrder, C = r.tail;
|
|
3505
3505
|
if (Sq(e, s, r.children, i), r = Vq.current, (r & 2) !== 0) r = r & 1 | 2, s.flags |= 128;
|
|
3506
3506
|
else {
|
|
3507
3507
|
if (e !== null && (e.flags & 128) !== 0) A: for (e = s.child; e !== null; ) {
|
|
@@ -3524,7 +3524,7 @@ Error generating stack: ` + Y.message + `
|
|
|
3524
3524
|
else switch (M) {
|
|
3525
3525
|
case "forwards":
|
|
3526
3526
|
for (i = s.child, M = null; i !== null; ) e = i.alternate, e !== null && tg(e) === null && (M = i), i = i.sibling;
|
|
3527
|
-
i = M, i === null ? (M = s.child, s.child = null) : (M = i.sibling, i.sibling = null), Cn(s, !1, M, i,
|
|
3527
|
+
i = M, i === null ? (M = s.child, s.child = null) : (M = i.sibling, i.sibling = null), Cn(s, !1, M, i, C);
|
|
3528
3528
|
break;
|
|
3529
3529
|
case "backwards":
|
|
3530
3530
|
for (i = null, M = s.child, s.child = null; M !== null; ) {
|
|
@@ -3534,7 +3534,7 @@ Error generating stack: ` + Y.message + `
|
|
|
3534
3534
|
}
|
|
3535
3535
|
e = M.sibling, M.sibling = i, i = M, M = e;
|
|
3536
3536
|
}
|
|
3537
|
-
Cn(s, !0, i, null,
|
|
3537
|
+
Cn(s, !0, i, null, C);
|
|
3538
3538
|
break;
|
|
3539
3539
|
case "together":
|
|
3540
3540
|
Cn(s, !1, null, null, void 0);
|
|
@@ -3612,16 +3612,16 @@ Error generating stack: ` + Y.message + `
|
|
|
3612
3612
|
var M = e.memoizedProps;
|
|
3613
3613
|
if (M !== r) {
|
|
3614
3614
|
e = s.stateNode, Qt(kV.current);
|
|
3615
|
-
var
|
|
3615
|
+
var C = null;
|
|
3616
3616
|
switch (i) {
|
|
3617
3617
|
case "input":
|
|
3618
|
-
M = Zq(e, M), r = Zq(e, r),
|
|
3618
|
+
M = Zq(e, M), r = Zq(e, r), C = [];
|
|
3619
3619
|
break;
|
|
3620
3620
|
case "select":
|
|
3621
|
-
M = P({}, M, { value: void 0 }), r = P({}, r, { value: void 0 }),
|
|
3621
|
+
M = P({}, M, { value: void 0 }), r = P({}, r, { value: void 0 }), C = [];
|
|
3622
3622
|
break;
|
|
3623
3623
|
case "textarea":
|
|
3624
|
-
M = Iq(e, M), r = Iq(e, r),
|
|
3624
|
+
M = Iq(e, M), r = Iq(e, r), C = [];
|
|
3625
3625
|
break;
|
|
3626
3626
|
default:
|
|
3627
3627
|
typeof M.onClick != "function" && typeof r.onClick == "function" && (e.onclick = Oi);
|
|
@@ -3632,20 +3632,20 @@ Error generating stack: ` + Y.message + `
|
|
|
3632
3632
|
for (R in M) if (!r.hasOwnProperty(R) && M.hasOwnProperty(R) && M[R] != null) if (R === "style") {
|
|
3633
3633
|
var u = M[R];
|
|
3634
3634
|
for (m in u) u.hasOwnProperty(m) && (i || (i = {}), i[m] = "");
|
|
3635
|
-
} else R !== "dangerouslySetInnerHTML" && R !== "children" && R !== "suppressContentEditableWarning" && R !== "suppressHydrationWarning" && R !== "autoFocus" && (o.hasOwnProperty(R) ?
|
|
3635
|
+
} else R !== "dangerouslySetInnerHTML" && R !== "children" && R !== "suppressContentEditableWarning" && R !== "suppressHydrationWarning" && R !== "autoFocus" && (o.hasOwnProperty(R) ? C || (C = []) : (C = C || []).push(R, null));
|
|
3636
3636
|
for (R in r) {
|
|
3637
3637
|
var T = r[R];
|
|
3638
3638
|
if (u = M?.[R], r.hasOwnProperty(R) && T !== u && (T != null || u != null)) if (R === "style") if (u) {
|
|
3639
3639
|
for (m in u) !u.hasOwnProperty(m) || T && T.hasOwnProperty(m) || (i || (i = {}), i[m] = "");
|
|
3640
3640
|
for (m in T) T.hasOwnProperty(m) && u[m] !== T[m] && (i || (i = {}), i[m] = T[m]);
|
|
3641
|
-
} else i || (
|
|
3641
|
+
} else i || (C || (C = []), C.push(
|
|
3642
3642
|
R,
|
|
3643
3643
|
i
|
|
3644
3644
|
)), i = T;
|
|
3645
|
-
else R === "dangerouslySetInnerHTML" ? (T = T ? T.__html : void 0, u = u ? u.__html : void 0, T != null && u !== T && (
|
|
3645
|
+
else R === "dangerouslySetInnerHTML" ? (T = T ? T.__html : void 0, u = u ? u.__html : void 0, T != null && u !== T && (C = C || []).push(R, T)) : R === "children" ? typeof T != "string" && typeof T != "number" || (C = C || []).push(R, "" + T) : R !== "suppressContentEditableWarning" && R !== "suppressHydrationWarning" && (o.hasOwnProperty(R) ? (T != null && R === "onScroll" && bA("scroll", e), C || u === T || (C = [])) : (C = C || []).push(R, T));
|
|
3646
3646
|
}
|
|
3647
|
-
i && (
|
|
3648
|
-
var R =
|
|
3647
|
+
i && (C = C || []).push("style", i);
|
|
3648
|
+
var R = C;
|
|
3649
3649
|
(s.updateQueue = R) && (s.flags |= 4);
|
|
3650
3650
|
}
|
|
3651
3651
|
}, LY = function(e, s, i, r) {
|
|
@@ -3699,8 +3699,8 @@ Error generating stack: ` + Y.message + `
|
|
|
3699
3699
|
}
|
|
3700
3700
|
if (e = Qt(kV.current), _i(s)) {
|
|
3701
3701
|
r = s.stateNode, i = s.type;
|
|
3702
|
-
var
|
|
3703
|
-
switch (r[SV] = s, r[ho] =
|
|
3702
|
+
var C = s.memoizedProps;
|
|
3703
|
+
switch (r[SV] = s, r[ho] = C, e = (s.mode & 1) !== 0, i) {
|
|
3704
3704
|
case "dialog":
|
|
3705
3705
|
bA("cancel", r), bA("close", r);
|
|
3706
3706
|
break;
|
|
@@ -3728,18 +3728,18 @@ Error generating stack: ` + Y.message + `
|
|
|
3728
3728
|
bA("toggle", r);
|
|
3729
3729
|
break;
|
|
3730
3730
|
case "input":
|
|
3731
|
-
Ke(r,
|
|
3731
|
+
Ke(r, C), bA("invalid", r);
|
|
3732
3732
|
break;
|
|
3733
3733
|
case "select":
|
|
3734
|
-
r._wrapperState = { wasMultiple: !!
|
|
3734
|
+
r._wrapperState = { wasMultiple: !!C.multiple }, bA("invalid", r);
|
|
3735
3735
|
break;
|
|
3736
3736
|
case "textarea":
|
|
3737
|
-
se(r,
|
|
3737
|
+
se(r, C), bA("invalid", r);
|
|
3738
3738
|
}
|
|
3739
|
-
Pt(i,
|
|
3740
|
-
for (var m in
|
|
3741
|
-
var u =
|
|
3742
|
-
m === "children" ? typeof u == "string" ? r.textContent !== u && (
|
|
3739
|
+
Pt(i, C), M = null;
|
|
3740
|
+
for (var m in C) if (C.hasOwnProperty(m)) {
|
|
3741
|
+
var u = C[m];
|
|
3742
|
+
m === "children" ? typeof u == "string" ? r.textContent !== u && (C.suppressHydrationWarning !== !0 && ji(r.textContent, u, e), M = ["children", u]) : typeof u == "number" && r.textContent !== "" + u && (C.suppressHydrationWarning !== !0 && ji(
|
|
3743
3743
|
r.textContent,
|
|
3744
3744
|
u,
|
|
3745
3745
|
e
|
|
@@ -3747,7 +3747,7 @@ Error generating stack: ` + Y.message + `
|
|
|
3747
3747
|
}
|
|
3748
3748
|
switch (i) {
|
|
3749
3749
|
case "input":
|
|
3750
|
-
WA(r), Xs(r,
|
|
3750
|
+
WA(r), Xs(r, C, !0);
|
|
3751
3751
|
break;
|
|
3752
3752
|
case "textarea":
|
|
3753
3753
|
WA(r), Fi(r);
|
|
@@ -3756,7 +3756,7 @@ Error generating stack: ` + Y.message + `
|
|
|
3756
3756
|
case "option":
|
|
3757
3757
|
break;
|
|
3758
3758
|
default:
|
|
3759
|
-
typeof
|
|
3759
|
+
typeof C.onClick == "function" && (r.onclick = Oi);
|
|
3760
3760
|
}
|
|
3761
3761
|
r = M, s.updateQueue = r, r !== null && (s.flags |= 4);
|
|
3762
3762
|
} else {
|
|
@@ -3806,9 +3806,9 @@ Error generating stack: ` + Y.message + `
|
|
|
3806
3806
|
M = r;
|
|
3807
3807
|
}
|
|
3808
3808
|
Pt(i, M), u = M;
|
|
3809
|
-
for (
|
|
3810
|
-
var T = u[
|
|
3811
|
-
|
|
3809
|
+
for (C in u) if (u.hasOwnProperty(C)) {
|
|
3810
|
+
var T = u[C];
|
|
3811
|
+
C === "style" ? Gi(e, T) : C === "dangerouslySetInnerHTML" ? (T = T ? T.__html : void 0, T != null && vt(e, T)) : C === "children" ? typeof T == "string" ? (i !== "textarea" || T !== "") && iV(e, T) : typeof T == "number" && iV(e, "" + T) : C !== "suppressContentEditableWarning" && C !== "suppressHydrationWarning" && C !== "autoFocus" && (o.hasOwnProperty(C) ? T != null && C === "onScroll" && bA("scroll", e) : T != null && K(e, C, T, m));
|
|
3812
3812
|
}
|
|
3813
3813
|
switch (i) {
|
|
3814
3814
|
case "input":
|
|
@@ -3821,7 +3821,7 @@ Error generating stack: ` + Y.message + `
|
|
|
3821
3821
|
r.value != null && e.setAttribute("value", "" + eA(r.value));
|
|
3822
3822
|
break;
|
|
3823
3823
|
case "select":
|
|
3824
|
-
e.multiple = !!r.multiple,
|
|
3824
|
+
e.multiple = !!r.multiple, C = r.value, C != null ? Te(e, !!r.multiple, C, !1) : r.defaultValue != null && Te(
|
|
3825
3825
|
e,
|
|
3826
3826
|
!!r.multiple,
|
|
3827
3827
|
r.defaultValue,
|
|
@@ -3855,29 +3855,29 @@ Error generating stack: ` + Y.message + `
|
|
|
3855
3855
|
else {
|
|
3856
3856
|
if (typeof r != "string" && s.stateNode === null) throw Error(V(166));
|
|
3857
3857
|
if (i = Qt(Qo.current), Qt(kV.current), _i(s)) {
|
|
3858
|
-
if (r = s.stateNode, i = s.memoizedProps, r[SV] = s, (
|
|
3858
|
+
if (r = s.stateNode, i = s.memoizedProps, r[SV] = s, (C = r.nodeValue !== i) && (e = qV, e !== null)) switch (e.tag) {
|
|
3859
3859
|
case 3:
|
|
3860
3860
|
ji(r.nodeValue, i, (e.mode & 1) !== 0);
|
|
3861
3861
|
break;
|
|
3862
3862
|
case 5:
|
|
3863
3863
|
e.memoizedProps.suppressHydrationWarning !== !0 && ji(r.nodeValue, i, (e.mode & 1) !== 0);
|
|
3864
3864
|
}
|
|
3865
|
-
|
|
3865
|
+
C && (s.flags |= 4);
|
|
3866
3866
|
} else r = (i.nodeType === 9 ? i : i.ownerDocument).createTextNode(r), r[SV] = s, s.stateNode = r;
|
|
3867
3867
|
}
|
|
3868
3868
|
return dq(s), null;
|
|
3869
3869
|
case 13:
|
|
3870
3870
|
if (XA(Vq), r = s.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
|
|
3871
|
-
if (Aq && VV !== null && (s.mode & 1) !== 0 && (s.flags & 128) === 0) RB(), gs(), s.flags |= 98560,
|
|
3872
|
-
else if (
|
|
3871
|
+
if (Aq && VV !== null && (s.mode & 1) !== 0 && (s.flags & 128) === 0) RB(), gs(), s.flags |= 98560, C = !1;
|
|
3872
|
+
else if (C = _i(s), r !== null && r.dehydrated !== null) {
|
|
3873
3873
|
if (e === null) {
|
|
3874
|
-
if (!
|
|
3875
|
-
if (
|
|
3876
|
-
|
|
3874
|
+
if (!C) throw Error(V(318));
|
|
3875
|
+
if (C = s.memoizedState, C = C !== null ? C.dehydrated : null, !C) throw Error(V(317));
|
|
3876
|
+
C[SV] = s;
|
|
3877
3877
|
} else gs(), (s.flags & 128) === 0 && (s.memoizedState = null), s.flags |= 4;
|
|
3878
|
-
dq(s),
|
|
3879
|
-
} else DV !== null && (Kn(DV), DV = null),
|
|
3880
|
-
if (!
|
|
3878
|
+
dq(s), C = !1;
|
|
3879
|
+
} else DV !== null && (Kn(DV), DV = null), C = !0;
|
|
3880
|
+
if (!C) return s.flags & 65536 ? s : null;
|
|
3881
3881
|
}
|
|
3882
3882
|
return (s.flags & 128) !== 0 ? (s.lanes = i, s) : (r = r !== null, r !== (e !== null && e.memoizedState !== null) && r && (s.child.flags |= 8192, (s.mode & 1) !== 0 && (e === null || (Vq.current & 1) !== 0 ? cq === 0 && (cq = 3) : xn())), s.updateQueue !== null && (s.flags |= 4), dq(s), null);
|
|
3883
3883
|
case 4:
|
|
@@ -3887,25 +3887,25 @@ Error generating stack: ` + Y.message + `
|
|
|
3887
3887
|
case 17:
|
|
3888
3888
|
return fq(s.type) && zi(), dq(s), null;
|
|
3889
3889
|
case 19:
|
|
3890
|
-
if (XA(Vq),
|
|
3891
|
-
if (r = (s.flags & 128) !== 0, m =
|
|
3890
|
+
if (XA(Vq), C = s.memoizedState, C === null) return dq(s), null;
|
|
3891
|
+
if (r = (s.flags & 128) !== 0, m = C.rendering, m === null) if (r) To(C, !1);
|
|
3892
3892
|
else {
|
|
3893
3893
|
if (cq !== 0 || e !== null && (e.flags & 128) !== 0) for (e = s.child; e !== null; ) {
|
|
3894
3894
|
if (m = tg(e), m !== null) {
|
|
3895
|
-
for (s.flags |= 128, To(
|
|
3895
|
+
for (s.flags |= 128, To(C, !1), r = m.updateQueue, r !== null && (s.updateQueue = r, s.flags |= 4), s.subtreeFlags = 0, r = i, i = s.child; i !== null; ) C = i, e = r, C.flags &= 14680066, m = C.alternate, m === null ? (C.childLanes = 0, C.lanes = e, C.child = null, C.subtreeFlags = 0, C.memoizedProps = null, C.memoizedState = null, C.updateQueue = null, C.dependencies = null, C.stateNode = null) : (C.childLanes = m.childLanes, C.lanes = m.lanes, C.child = m.child, C.subtreeFlags = 0, C.deletions = null, C.memoizedProps = m.memoizedProps, C.memoizedState = m.memoizedState, C.updateQueue = m.updateQueue, C.type = m.type, e = m.dependencies, C.dependencies = e === null ? null : { lanes: e.lanes, firstContext: e.firstContext }), i = i.sibling;
|
|
3896
3896
|
return PA(Vq, Vq.current & 1 | 2), s.child;
|
|
3897
3897
|
}
|
|
3898
3898
|
e = e.sibling;
|
|
3899
3899
|
}
|
|
3900
|
-
|
|
3900
|
+
C.tail !== null && gq() > Ys && (s.flags |= 128, r = !0, To(C, !1), s.lanes = 4194304);
|
|
3901
3901
|
}
|
|
3902
3902
|
else {
|
|
3903
3903
|
if (!r) if (e = tg(m), e !== null) {
|
|
3904
|
-
if (s.flags |= 128, r = !0, i = e.updateQueue, i !== null && (s.updateQueue = i, s.flags |= 4), To(
|
|
3905
|
-
} else 2 * gq() -
|
|
3906
|
-
|
|
3904
|
+
if (s.flags |= 128, r = !0, i = e.updateQueue, i !== null && (s.updateQueue = i, s.flags |= 4), To(C, !0), C.tail === null && C.tailMode === "hidden" && !m.alternate && !Aq) return dq(s), null;
|
|
3905
|
+
} else 2 * gq() - C.renderingStartTime > Ys && i !== 1073741824 && (s.flags |= 128, r = !0, To(C, !1), s.lanes = 4194304);
|
|
3906
|
+
C.isBackwards ? (m.sibling = s.child, s.child = m) : (i = C.last, i !== null ? i.sibling = m : s.child = m, C.last = m);
|
|
3907
3907
|
}
|
|
3908
|
-
return
|
|
3908
|
+
return C.tail !== null ? (s = C.tail, C.rendering = s, C.tail = s.sibling, C.renderingStartTime = gq(), s.sibling = null, i = Vq.current, PA(Vq, r ? i & 1 | 2 : i & 1), s) : (dq(s), null);
|
|
3909
3909
|
case 22:
|
|
3910
3910
|
case 23:
|
|
3911
3911
|
return Un(), r = s.memoizedState !== null, e !== null && e.memoizedState !== null !== r && (s.flags |= 8192), r && (s.mode & 1) !== 0 ? (eV & 1073741824) !== 0 && (dq(s), s.subtreeFlags & 6 && (s.flags |= 8192)) : dq(s), null;
|
|
@@ -3971,21 +3971,21 @@ Error generating stack: ` + Y.message + `
|
|
|
3971
3971
|
var r = i.getSelection && i.getSelection();
|
|
3972
3972
|
if (r && r.rangeCount !== 0) {
|
|
3973
3973
|
i = r.anchorNode;
|
|
3974
|
-
var M = r.anchorOffset,
|
|
3974
|
+
var M = r.anchorOffset, C = r.focusNode;
|
|
3975
3975
|
r = r.focusOffset;
|
|
3976
3976
|
try {
|
|
3977
|
-
i.nodeType,
|
|
3977
|
+
i.nodeType, C.nodeType;
|
|
3978
3978
|
} catch {
|
|
3979
3979
|
i = null;
|
|
3980
3980
|
break A;
|
|
3981
3981
|
}
|
|
3982
3982
|
var m = 0, u = -1, T = -1, R = 0, H = 0, b = e, j = null;
|
|
3983
3983
|
q: for (; ; ) {
|
|
3984
|
-
for (var oA; b !== i || M !== 0 && b.nodeType !== 3 || (u = m + M), b !==
|
|
3984
|
+
for (var oA; b !== i || M !== 0 && b.nodeType !== 3 || (u = m + M), b !== C || r !== 0 && b.nodeType !== 3 || (T = m + r), b.nodeType === 3 && (m += b.nodeValue.length), (oA = b.firstChild) !== null; )
|
|
3985
3985
|
j = b, b = oA;
|
|
3986
3986
|
for (; ; ) {
|
|
3987
3987
|
if (b === e) break q;
|
|
3988
|
-
if (j === i && ++R === M && (u = m), j ===
|
|
3988
|
+
if (j === i && ++R === M && (u = m), j === C && ++H === r && (T = m), (oA = b.nextSibling) !== null) break;
|
|
3989
3989
|
b = j, j = b.parentNode;
|
|
3990
3990
|
}
|
|
3991
3991
|
b = oA;
|
|
@@ -4040,8 +4040,8 @@ Error generating stack: ` + Y.message + `
|
|
|
4040
4040
|
var M = r = r.next;
|
|
4041
4041
|
do {
|
|
4042
4042
|
if ((M.tag & e) === e) {
|
|
4043
|
-
var
|
|
4044
|
-
M.destroy = void 0,
|
|
4043
|
+
var C = M.destroy;
|
|
4044
|
+
M.destroy = void 0, C !== void 0 && En(s, i, C);
|
|
4045
4045
|
}
|
|
4046
4046
|
M = M.next;
|
|
4047
4047
|
} while (M !== r);
|
|
@@ -4132,8 +4132,8 @@ Error generating stack: ` + Y.message + `
|
|
|
4132
4132
|
if (!Lq && (r = i.updateQueue, r !== null && (r = r.lastEffect, r !== null))) {
|
|
4133
4133
|
M = r = r.next;
|
|
4134
4134
|
do {
|
|
4135
|
-
var
|
|
4136
|
-
|
|
4135
|
+
var C = M, m = C.destroy;
|
|
4136
|
+
C = C.tag, m !== void 0 && ((C & 2) !== 0 || (C & 4) !== 0) && En(i, s, m), M = M.next;
|
|
4137
4137
|
} while (M !== r);
|
|
4138
4138
|
}
|
|
4139
4139
|
Pe(e, s, i);
|
|
@@ -4172,7 +4172,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4172
4172
|
if (i !== null) for (var r = 0; r < i.length; r++) {
|
|
4173
4173
|
var M = i[r];
|
|
4174
4174
|
try {
|
|
4175
|
-
var
|
|
4175
|
+
var C = e, m = s, u = m;
|
|
4176
4176
|
A: for (; u !== null; ) {
|
|
4177
4177
|
switch (u.tag) {
|
|
4178
4178
|
case 5:
|
|
@@ -4188,7 +4188,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4188
4188
|
u = u.return;
|
|
4189
4189
|
}
|
|
4190
4190
|
if (pq === null) throw Error(V(160));
|
|
4191
|
-
SY(
|
|
4191
|
+
SY(C, m, M), pq = null, QV = !1;
|
|
4192
4192
|
var T = M.alternate;
|
|
4193
4193
|
T !== null && (T.return = null), M.return = null;
|
|
4194
4194
|
} catch (R) {
|
|
@@ -4230,33 +4230,33 @@ Error generating stack: ` + Y.message + `
|
|
|
4230
4230
|
}
|
|
4231
4231
|
}
|
|
4232
4232
|
if (r & 4 && (M = e.stateNode, M != null)) {
|
|
4233
|
-
var
|
|
4233
|
+
var C = e.memoizedProps, m = i !== null ? i.memoizedProps : C, u = e.type, T = e.updateQueue;
|
|
4234
4234
|
if (e.updateQueue = null, T !== null) try {
|
|
4235
|
-
u === "input" &&
|
|
4236
|
-
var R = $s(u,
|
|
4235
|
+
u === "input" && C.type === "radio" && C.name != null && te(M, C), $s(u, m);
|
|
4236
|
+
var R = $s(u, C);
|
|
4237
4237
|
for (m = 0; m < T.length; m += 2) {
|
|
4238
4238
|
var H = T[m], b = T[m + 1];
|
|
4239
4239
|
H === "style" ? Gi(M, b) : H === "dangerouslySetInnerHTML" ? vt(M, b) : H === "children" ? iV(M, b) : K(M, H, b, R);
|
|
4240
4240
|
}
|
|
4241
4241
|
switch (u) {
|
|
4242
4242
|
case "input":
|
|
4243
|
-
Xq(M,
|
|
4243
|
+
Xq(M, C);
|
|
4244
4244
|
break;
|
|
4245
4245
|
case "textarea":
|
|
4246
|
-
mi(M,
|
|
4246
|
+
mi(M, C);
|
|
4247
4247
|
break;
|
|
4248
4248
|
case "select":
|
|
4249
4249
|
var j = M._wrapperState.wasMultiple;
|
|
4250
|
-
M._wrapperState.wasMultiple = !!
|
|
4251
|
-
var oA =
|
|
4252
|
-
oA != null ? Te(M, !!
|
|
4250
|
+
M._wrapperState.wasMultiple = !!C.multiple;
|
|
4251
|
+
var oA = C.value;
|
|
4252
|
+
oA != null ? Te(M, !!C.multiple, oA, !1) : j !== !!C.multiple && (C.defaultValue != null ? Te(
|
|
4253
4253
|
M,
|
|
4254
|
-
!!
|
|
4255
|
-
|
|
4254
|
+
!!C.multiple,
|
|
4255
|
+
C.defaultValue,
|
|
4256
4256
|
!0
|
|
4257
|
-
) : Te(M, !!
|
|
4257
|
+
) : Te(M, !!C.multiple, C.multiple ? [] : "", !1));
|
|
4258
4258
|
}
|
|
4259
|
-
M[ho] =
|
|
4259
|
+
M[ho] = C;
|
|
4260
4260
|
} catch (BA) {
|
|
4261
4261
|
sq(e, e.return, BA);
|
|
4262
4262
|
}
|
|
@@ -4265,9 +4265,9 @@ Error generating stack: ` + Y.message + `
|
|
|
4265
4265
|
case 6:
|
|
4266
4266
|
if (IV(s, e), fV(e), r & 4) {
|
|
4267
4267
|
if (e.stateNode === null) throw Error(V(162));
|
|
4268
|
-
M = e.stateNode,
|
|
4268
|
+
M = e.stateNode, C = e.memoizedProps;
|
|
4269
4269
|
try {
|
|
4270
|
-
M.nodeValue =
|
|
4270
|
+
M.nodeValue = C;
|
|
4271
4271
|
} catch (BA) {
|
|
4272
4272
|
sq(e, e.return, BA);
|
|
4273
4273
|
}
|
|
@@ -4284,7 +4284,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4284
4284
|
IV(s, e), fV(e);
|
|
4285
4285
|
break;
|
|
4286
4286
|
case 13:
|
|
4287
|
-
IV(s, e), fV(e), M = e.child, M.flags & 8192 && (
|
|
4287
|
+
IV(s, e), fV(e), M = e.child, M.flags & 8192 && (C = M.memoizedState !== null, M.stateNode.isHidden = C, !C || M.alternate !== null && M.alternate.memoizedState !== null || (Qn = gq())), r & 4 && kY(e);
|
|
4288
4288
|
break;
|
|
4289
4289
|
case 22:
|
|
4290
4290
|
if (H = i !== null && i.memoizedState !== null, e.mode & 1 ? (Lq = (R = Lq) || H, IV(s, e), Lq = R) : IV(s, e), fV(e), r & 8192) {
|
|
@@ -4327,7 +4327,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4327
4327
|
if (H === null) {
|
|
4328
4328
|
H = b;
|
|
4329
4329
|
try {
|
|
4330
|
-
M = b.stateNode, R ? (
|
|
4330
|
+
M = b.stateNode, R ? (C = M.style, typeof C.setProperty == "function" ? C.setProperty("display", "none", "important") : C.display = "none") : (u = b.stateNode, T = b.memoizedProps.style, m = T != null && T.hasOwnProperty("display") ? T.display : null, u.style.display = Di("display", m));
|
|
4331
4331
|
} catch (BA) {
|
|
4332
4332
|
sq(e, e.return, BA);
|
|
4333
4333
|
}
|
|
@@ -4381,8 +4381,8 @@ Error generating stack: ` + Y.message + `
|
|
|
4381
4381
|
case 5:
|
|
4382
4382
|
var M = r.stateNode;
|
|
4383
4383
|
r.flags & 32 && (iV(M, ""), r.flags &= -33);
|
|
4384
|
-
var
|
|
4385
|
-
Fn(e,
|
|
4384
|
+
var C = ZY(e);
|
|
4385
|
+
Fn(e, C, M);
|
|
4386
4386
|
break;
|
|
4387
4387
|
case 3:
|
|
4388
4388
|
case 4:
|
|
@@ -4404,7 +4404,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4404
4404
|
}
|
|
4405
4405
|
function fY(e, s, i) {
|
|
4406
4406
|
for (var r = (e.mode & 1) !== 0; aA !== null; ) {
|
|
4407
|
-
var M = aA,
|
|
4407
|
+
var M = aA, C = M.child;
|
|
4408
4408
|
if (M.tag === 22 && r) {
|
|
4409
4409
|
var m = M.memoizedState !== null || wg;
|
|
4410
4410
|
if (!m) {
|
|
@@ -4412,11 +4412,11 @@ Error generating stack: ` + Y.message + `
|
|
|
4412
4412
|
u = wg;
|
|
4413
4413
|
var R = Lq;
|
|
4414
4414
|
if (wg = m, (Lq = T) && !R) for (aA = M; aA !== null; ) m = aA, T = m.child, m.tag === 22 && m.memoizedState !== null ? OY(M) : T !== null ? (T.return = m, aA = T) : OY(M);
|
|
4415
|
-
for (;
|
|
4415
|
+
for (; C !== null; ) aA = C, fY(C), C = C.sibling;
|
|
4416
4416
|
aA = M, wg = u, Lq = R;
|
|
4417
4417
|
}
|
|
4418
4418
|
JY(e);
|
|
4419
|
-
} else (M.subtreeFlags & 8772) !== 0 &&
|
|
4419
|
+
} else (M.subtreeFlags & 8772) !== 0 && C !== null ? (C.return = M, aA = C) : JY(e);
|
|
4420
4420
|
}
|
|
4421
4421
|
}
|
|
4422
4422
|
function JY(e) {
|
|
@@ -4438,8 +4438,8 @@ Error generating stack: ` + Y.message + `
|
|
|
4438
4438
|
var M = s.elementType === s.type ? i.memoizedProps : GV(s.type, i.memoizedProps);
|
|
4439
4439
|
r.componentDidUpdate(M, i.memoizedState, r.__reactInternalSnapshotBeforeUpdate);
|
|
4440
4440
|
}
|
|
4441
|
-
var
|
|
4442
|
-
|
|
4441
|
+
var C = s.updateQueue;
|
|
4442
|
+
C !== null && jB(s, C, r);
|
|
4443
4443
|
break;
|
|
4444
4444
|
case 3:
|
|
4445
4445
|
var m = s.updateQueue;
|
|
@@ -4555,11 +4555,11 @@ Error generating stack: ` + Y.message + `
|
|
|
4555
4555
|
sq(s, M, T);
|
|
4556
4556
|
}
|
|
4557
4557
|
}
|
|
4558
|
-
var
|
|
4558
|
+
var C = s.return;
|
|
4559
4559
|
try {
|
|
4560
4560
|
hn(s);
|
|
4561
4561
|
} catch (T) {
|
|
4562
|
-
sq(s,
|
|
4562
|
+
sq(s, C, T);
|
|
4563
4563
|
}
|
|
4564
4564
|
break;
|
|
4565
4565
|
case 5:
|
|
@@ -4638,7 +4638,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4638
4638
|
s = r;
|
|
4639
4639
|
var M = NA;
|
|
4640
4640
|
NA |= 2;
|
|
4641
|
-
var
|
|
4641
|
+
var C = PY();
|
|
4642
4642
|
(Gq !== e || Kq !== s) && (Me = null, Ys = gq() + 500, Kt(e, s));
|
|
4643
4643
|
do
|
|
4644
4644
|
try {
|
|
@@ -4648,13 +4648,13 @@ Error generating stack: ` + Y.message + `
|
|
|
4648
4648
|
vY(e, u);
|
|
4649
4649
|
}
|
|
4650
4650
|
while (!0);
|
|
4651
|
-
jr(), Bg.current =
|
|
4651
|
+
jr(), Bg.current = C, NA = M, wq !== null ? s = 0 : (Gq = null, Kq = 0, s = cq);
|
|
4652
4652
|
}
|
|
4653
4653
|
if (s !== 0) {
|
|
4654
4654
|
if (s === 2 && (M = or(e), M !== 0 && (r = M, s = pn(e, M))), s === 1) throw i = xo, Kt(e, 0), $e(e, r), Oq(e, gq()), i;
|
|
4655
4655
|
if (s === 6) $e(e, r);
|
|
4656
4656
|
else {
|
|
4657
|
-
if (M = e.current.alternate, (r & 30) === 0 && !KG(M) && (s = Fg(e, r), s === 2 && (
|
|
4657
|
+
if (M = e.current.alternate, (r & 30) === 0 && !KG(M) && (s = Fg(e, r), s === 2 && (C = or(e), C !== 0 && (r = C, s = pn(e, C))), s === 1)) throw i = xo, Kt(e, 0), $e(e, r), Oq(e, gq()), i;
|
|
4658
4658
|
switch (e.finishedWork = M, e.finishedLanes = r, s) {
|
|
4659
4659
|
case 0:
|
|
4660
4660
|
case 1:
|
|
@@ -4678,7 +4678,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4678
4678
|
if ($e(e, r), (r & 4194240) === r) break;
|
|
4679
4679
|
for (s = e.eventTimes, M = -1; 0 < r; ) {
|
|
4680
4680
|
var m = 31 - mV(r);
|
|
4681
|
-
|
|
4681
|
+
C = 1 << m, m = s[m], m > M && (M = m), r &= ~C;
|
|
4682
4682
|
}
|
|
4683
4683
|
if (r = M, r = gq() - r, r = (120 > r ? 120 : 480 > r ? 480 : 1080 > r ? 1080 : 1920 > r ? 1920 : 3e3 > r ? 3e3 : 4320 > r ? 4320 : 1960 * pG(r / 1960)) - r, 10 < r) {
|
|
4684
4684
|
e.timeoutHandle = dr(Tt.bind(null, e, jq, Me), r);
|
|
@@ -4708,10 +4708,10 @@ Error generating stack: ` + Y.message + `
|
|
|
4708
4708
|
if (s.flags & 16384) {
|
|
4709
4709
|
var i = s.updateQueue;
|
|
4710
4710
|
if (i !== null && (i = i.stores, i !== null)) for (var r = 0; r < i.length; r++) {
|
|
4711
|
-
var M = i[r],
|
|
4711
|
+
var M = i[r], C = M.getSnapshot;
|
|
4712
4712
|
M = M.value;
|
|
4713
4713
|
try {
|
|
4714
|
-
if (!FV(
|
|
4714
|
+
if (!FV(C(), M)) return !1;
|
|
4715
4715
|
} catch {
|
|
4716
4716
|
return !1;
|
|
4717
4717
|
}
|
|
@@ -4808,10 +4808,10 @@ Error generating stack: ` + Y.message + `
|
|
|
4808
4808
|
if (Gq = e, wq = e = At(e.current, null), Kq = eV = s, cq = 0, xo = null, Gn = Yg = ut = 0, jq = Lo = null, Gt !== null) {
|
|
4809
4809
|
for (s = 0; s < Gt.length; s++) if (i = Gt[s], r = i.interleaved, r !== null) {
|
|
4810
4810
|
i.interleaved = null;
|
|
4811
|
-
var M = r.next,
|
|
4812
|
-
if (
|
|
4813
|
-
var m =
|
|
4814
|
-
|
|
4811
|
+
var M = r.next, C = i.pending;
|
|
4812
|
+
if (C !== null) {
|
|
4813
|
+
var m = C.next;
|
|
4814
|
+
C.next = M, r.next = m;
|
|
4815
4815
|
}
|
|
4816
4816
|
i.pending = r;
|
|
4817
4817
|
}
|
|
@@ -4835,7 +4835,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4835
4835
|
break;
|
|
4836
4836
|
}
|
|
4837
4837
|
A: {
|
|
4838
|
-
var
|
|
4838
|
+
var C = e, m = i.return, u = i, T = s;
|
|
4839
4839
|
if (s = Kq, u.flags |= 32768, T !== null && typeof T == "object" && typeof T.then == "function") {
|
|
4840
4840
|
var R = T, H = u, b = H.tag;
|
|
4841
4841
|
if ((H.mode & 1) === 0 && (b === 0 || b === 11 || b === 15)) {
|
|
@@ -4844,7 +4844,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4844
4844
|
}
|
|
4845
4845
|
var oA = EY(m);
|
|
4846
4846
|
if (oA !== null) {
|
|
4847
|
-
oA.flags &= -257, hY(oA, m, u,
|
|
4847
|
+
oA.flags &= -257, hY(oA, m, u, C, s), oA.mode & 1 && cY(C, R, s), s = oA, T = R;
|
|
4848
4848
|
var lA = s.updateQueue;
|
|
4849
4849
|
if (lA === null) {
|
|
4850
4850
|
var BA = /* @__PURE__ */ new Set();
|
|
@@ -4853,7 +4853,7 @@ Error generating stack: ` + Y.message + `
|
|
|
4853
4853
|
break A;
|
|
4854
4854
|
} else {
|
|
4855
4855
|
if ((s & 1) === 0) {
|
|
4856
|
-
cY(
|
|
4856
|
+
cY(C, R, s), xn();
|
|
4857
4857
|
break A;
|
|
4858
4858
|
}
|
|
4859
4859
|
T = Error(V(426));
|
|
@@ -4861,30 +4861,30 @@ Error generating stack: ` + Y.message + `
|
|
|
4861
4861
|
} else if (Aq && u.mode & 1) {
|
|
4862
4862
|
var aq = EY(m);
|
|
4863
4863
|
if (aq !== null) {
|
|
4864
|
-
(aq.flags & 65536) === 0 && (aq.flags |= 256), hY(aq, m, u,
|
|
4864
|
+
(aq.flags & 65536) === 0 && (aq.flags |= 256), hY(aq, m, u, C, s), fr(ws(T, u));
|
|
4865
4865
|
break A;
|
|
4866
4866
|
}
|
|
4867
4867
|
}
|
|
4868
|
-
|
|
4868
|
+
C = T = ws(T, u), cq !== 4 && (cq = 2), Lo === null ? Lo = [C] : Lo.push(C), C = m;
|
|
4869
4869
|
do {
|
|
4870
|
-
switch (
|
|
4870
|
+
switch (C.tag) {
|
|
4871
4871
|
case 3:
|
|
4872
|
-
|
|
4873
|
-
var L = YY(
|
|
4874
|
-
JB(
|
|
4872
|
+
C.flags |= 65536, s &= -s, C.lanes |= s;
|
|
4873
|
+
var L = YY(C, T, s);
|
|
4874
|
+
JB(C, L);
|
|
4875
4875
|
break A;
|
|
4876
4876
|
case 1:
|
|
4877
4877
|
u = T;
|
|
4878
|
-
var x =
|
|
4879
|
-
if ((
|
|
4880
|
-
|
|
4881
|
-
var $ = CY(
|
|
4882
|
-
JB(
|
|
4878
|
+
var x = C.type, y = C.stateNode;
|
|
4879
|
+
if ((C.flags & 128) === 0 && (typeof x.getDerivedStateFromError == "function" || y !== null && typeof y.componentDidCatch == "function" && (be === null || !be.has(y)))) {
|
|
4880
|
+
C.flags |= 65536, s &= -s, C.lanes |= s;
|
|
4881
|
+
var $ = CY(C, u, s);
|
|
4882
|
+
JB(C, $);
|
|
4883
4883
|
break A;
|
|
4884
4884
|
}
|
|
4885
4885
|
}
|
|
4886
|
-
|
|
4887
|
-
} while (
|
|
4886
|
+
C = C.return;
|
|
4887
|
+
} while (C !== null);
|
|
4888
4888
|
}
|
|
4889
4889
|
XY(i);
|
|
4890
4890
|
} catch (YA) {
|
|
@@ -4974,19 +4974,19 @@ Error generating stack: ` + Y.message + `
|
|
|
4974
4974
|
if (i === null) return null;
|
|
4975
4975
|
if (e.finishedWork = null, e.finishedLanes = 0, i === e.current) throw Error(V(177));
|
|
4976
4976
|
e.callbackNode = null, e.callbackPriority = 0;
|
|
4977
|
-
var
|
|
4978
|
-
if (lD(e,
|
|
4977
|
+
var C = i.lanes | i.childLanes;
|
|
4978
|
+
if (lD(e, C), e === Gq && (wq = Gq = null, Kq = 0), (i.subtreeFlags & 2064) === 0 && (i.flags & 2064) === 0 || cg || (cg = !0, qC(Ii, function() {
|
|
4979
4979
|
return Cs(), null;
|
|
4980
|
-
})),
|
|
4981
|
-
|
|
4980
|
+
})), C = (i.flags & 15990) !== 0, (i.subtreeFlags & 15990) !== 0 || C) {
|
|
4981
|
+
C = MV.transition, MV.transition = null;
|
|
4982
4982
|
var m = HA;
|
|
4983
4983
|
HA = 1;
|
|
4984
4984
|
var u = NA;
|
|
4985
|
-
NA |= 4, Dn.current = null, IG(e, i), NY(i, e), _D(Ur), di = !!Tr, Ur = Tr = null, e.current = i, uG(i), eD(), NA = u, HA = m, MV.transition =
|
|
4985
|
+
NA |= 4, Dn.current = null, IG(e, i), NY(i, e), _D(Ur), di = !!Tr, Ur = Tr = null, e.current = i, uG(i), eD(), NA = u, HA = m, MV.transition = C;
|
|
4986
4986
|
} else e.current = i;
|
|
4987
|
-
if (cg && (cg = !1, Xe = e, Eg = M),
|
|
4987
|
+
if (cg && (cg = !1, Xe = e, Eg = M), C = e.pendingLanes, C === 0 && (be = null), oD(i.stateNode), Oq(e, gq()), s !== null) for (r = e.onRecoverableError, i = 0; i < s.length; i++) M = s[i], r(M.value, { componentStack: M.stack, digest: M.digest });
|
|
4988
4988
|
if (Cg) throw Cg = !1, e = In, In = null, e;
|
|
4989
|
-
return (Eg & 1) !== 0 && e.tag !== 0 && Cs(),
|
|
4989
|
+
return (Eg & 1) !== 0 && e.tag !== 0 && Cs(), C = e.pendingLanes, (C & 1) !== 0 ? e === un ? Wo++ : (Wo = 0, un = e) : Wo = 0, He(), null;
|
|
4990
4990
|
}
|
|
4991
4991
|
function Cs() {
|
|
4992
4992
|
if (Xe !== null) {
|
|
@@ -4997,9 +4997,9 @@ Error generating stack: ` + Y.message + `
|
|
|
4997
4997
|
if (e = Xe, Xe = null, Eg = 0, (NA & 6) !== 0) throw Error(V(331));
|
|
4998
4998
|
var M = NA;
|
|
4999
4999
|
for (NA |= 4, aA = e.current; aA !== null; ) {
|
|
5000
|
-
var
|
|
5000
|
+
var C = aA, m = C.child;
|
|
5001
5001
|
if ((aA.flags & 16) !== 0) {
|
|
5002
|
-
var u =
|
|
5002
|
+
var u = C.deletions;
|
|
5003
5003
|
if (u !== null) {
|
|
5004
5004
|
for (var T = 0; T < u.length; T++) {
|
|
5005
5005
|
var R = u[T];
|
|
@@ -5009,7 +5009,7 @@ Error generating stack: ` + Y.message + `
|
|
|
5009
5009
|
case 0:
|
|
5010
5010
|
case 11:
|
|
5011
5011
|
case 15:
|
|
5012
|
-
Uo(8, H,
|
|
5012
|
+
Uo(8, H, C);
|
|
5013
5013
|
}
|
|
5014
5014
|
var b = H.child;
|
|
5015
5015
|
if (b !== null) b.return = H, aA = b;
|
|
@@ -5028,7 +5028,7 @@ Error generating stack: ` + Y.message + `
|
|
|
5028
5028
|
}
|
|
5029
5029
|
}
|
|
5030
5030
|
}
|
|
5031
|
-
var lA =
|
|
5031
|
+
var lA = C.alternate;
|
|
5032
5032
|
if (lA !== null) {
|
|
5033
5033
|
var BA = lA.child;
|
|
5034
5034
|
if (BA !== null) {
|
|
@@ -5039,23 +5039,23 @@ Error generating stack: ` + Y.message + `
|
|
|
5039
5039
|
} while (BA !== null);
|
|
5040
5040
|
}
|
|
5041
5041
|
}
|
|
5042
|
-
aA =
|
|
5042
|
+
aA = C;
|
|
5043
5043
|
}
|
|
5044
5044
|
}
|
|
5045
|
-
if ((
|
|
5045
|
+
if ((C.subtreeFlags & 2064) !== 0 && m !== null) m.return = C, aA = m;
|
|
5046
5046
|
else A: for (; aA !== null; ) {
|
|
5047
|
-
if (
|
|
5047
|
+
if (C = aA, (C.flags & 2048) !== 0) switch (C.tag) {
|
|
5048
5048
|
case 0:
|
|
5049
5049
|
case 11:
|
|
5050
5050
|
case 15:
|
|
5051
|
-
Uo(9,
|
|
5051
|
+
Uo(9, C, C.return);
|
|
5052
5052
|
}
|
|
5053
|
-
var L =
|
|
5053
|
+
var L = C.sibling;
|
|
5054
5054
|
if (L !== null) {
|
|
5055
|
-
L.return =
|
|
5055
|
+
L.return = C.return, aA = L;
|
|
5056
5056
|
break A;
|
|
5057
5057
|
}
|
|
5058
|
-
aA =
|
|
5058
|
+
aA = C.return;
|
|
5059
5059
|
}
|
|
5060
5060
|
}
|
|
5061
5061
|
var x = e.current;
|
|
@@ -5160,8 +5160,8 @@ Error generating stack: ` + Y.message + `
|
|
|
5160
5160
|
lg(e, s), e = s.pendingProps;
|
|
5161
5161
|
var M = ss(s, Uq.current);
|
|
5162
5162
|
ns(s, i), M = qn(null, s, r, e, M, i);
|
|
5163
|
-
var
|
|
5164
|
-
return s.flags |= 1, typeof M == "object" && M !== null && typeof M.render == "function" && M.$$typeof === void 0 ? (s.tag = 1, s.memoizedState = null, s.updateQueue = null, fq(r) ? (
|
|
5163
|
+
var C = Vn();
|
|
5164
|
+
return s.flags |= 1, typeof M == "object" && M !== null && typeof M.render == "function" && M.$$typeof === void 0 ? (s.tag = 1, s.memoizedState = null, s.updateQueue = null, fq(r) ? (C = !0, vi(s)) : C = !1, s.memoizedState = M.state !== null && M.state !== void 0 ? M.state : null, vr(s), M.updater = rg, s.stateNode = M, M._reactInternals = s, an(s, r, e, i), s = wn(null, s, r, !0, C, i)) : (s.tag = 0, Aq && C && Zr(s), Sq(null, s, M, i), s = s.child), s;
|
|
5165
5165
|
case 16:
|
|
5166
5166
|
r = s.elementType;
|
|
5167
5167
|
A: {
|
|
@@ -5193,9 +5193,9 @@ Error generating stack: ` + Y.message + `
|
|
|
5193
5193
|
case 3:
|
|
5194
5194
|
A: {
|
|
5195
5195
|
if (uY(s), e === null) throw Error(V(387));
|
|
5196
|
-
r = s.pendingProps,
|
|
5196
|
+
r = s.pendingProps, C = s.memoizedState, M = C.element, fB(e, s), eg(s, r, null, i);
|
|
5197
5197
|
var m = s.memoizedState;
|
|
5198
|
-
if (r = m.element,
|
|
5198
|
+
if (r = m.element, C.isDehydrated) if (C = { element: r, isDehydrated: !1, cache: m.cache, pendingSuspenseBoundaries: m.pendingSuspenseBoundaries, transitions: m.transitions }, s.updateQueue.baseState = C, s.memoizedState = C, s.flags & 256) {
|
|
5199
5199
|
M = ws(Error(V(423)), s), s = pY(e, s, r, i, M);
|
|
5200
5200
|
break A;
|
|
5201
5201
|
} else if (r !== M) {
|
|
@@ -5213,7 +5213,7 @@ Error generating stack: ` + Y.message + `
|
|
|
5213
5213
|
}
|
|
5214
5214
|
return s;
|
|
5215
5215
|
case 5:
|
|
5216
|
-
return OB(s), e === null && Nr(s), r = s.type, M = s.pendingProps,
|
|
5216
|
+
return OB(s), e === null && Nr(s), r = s.type, M = s.pendingProps, C = e !== null ? e.memoizedProps : null, m = M.children, xr(r, M) ? m = null : C !== null && xr(r, C) && (s.flags |= 32), QY(e, s), Sq(e, s, m, i), s.child;
|
|
5217
5217
|
case 6:
|
|
5218
5218
|
return e === null && Nr(s), null;
|
|
5219
5219
|
case 13:
|
|
@@ -5230,28 +5230,28 @@ Error generating stack: ` + Y.message + `
|
|
|
5230
5230
|
return Sq(e, s, s.pendingProps.children, i), s.child;
|
|
5231
5231
|
case 10:
|
|
5232
5232
|
A: {
|
|
5233
|
-
if (r = s.type._context, M = s.pendingProps,
|
|
5234
|
-
if (
|
|
5233
|
+
if (r = s.type._context, M = s.pendingProps, C = s.memoizedProps, m = M.value, PA(Ag, r._currentValue), r._currentValue = m, C !== null) if (FV(C.value, m)) {
|
|
5234
|
+
if (C.children === M.children && !Nq.current) {
|
|
5235
5235
|
s = we(e, s, i);
|
|
5236
5236
|
break A;
|
|
5237
5237
|
}
|
|
5238
|
-
} else for (
|
|
5239
|
-
var u =
|
|
5238
|
+
} else for (C = s.child, C !== null && (C.return = s); C !== null; ) {
|
|
5239
|
+
var u = C.dependencies;
|
|
5240
5240
|
if (u !== null) {
|
|
5241
|
-
m =
|
|
5241
|
+
m = C.child;
|
|
5242
5242
|
for (var T = u.firstContext; T !== null; ) {
|
|
5243
5243
|
if (T.context === r) {
|
|
5244
|
-
if (
|
|
5244
|
+
if (C.tag === 1) {
|
|
5245
5245
|
T = le(-1, i & -i), T.tag = 2;
|
|
5246
|
-
var R =
|
|
5246
|
+
var R = C.updateQueue;
|
|
5247
5247
|
if (R !== null) {
|
|
5248
5248
|
R = R.shared;
|
|
5249
5249
|
var H = R.pending;
|
|
5250
5250
|
H === null ? T.next = T : (T.next = H.next, H.next = T), R.pending = T;
|
|
5251
5251
|
}
|
|
5252
5252
|
}
|
|
5253
|
-
|
|
5254
|
-
|
|
5253
|
+
C.lanes |= i, T = C.alternate, T !== null && (T.lanes |= i), Hr(
|
|
5254
|
+
C.return,
|
|
5255
5255
|
i,
|
|
5256
5256
|
s
|
|
5257
5257
|
), u.lanes |= i;
|
|
@@ -5259,24 +5259,24 @@ Error generating stack: ` + Y.message + `
|
|
|
5259
5259
|
}
|
|
5260
5260
|
T = T.next;
|
|
5261
5261
|
}
|
|
5262
|
-
} else if (
|
|
5263
|
-
else if (
|
|
5264
|
-
if (m =
|
|
5265
|
-
m.lanes |= i, u = m.alternate, u !== null && (u.lanes |= i), Hr(m, i, s), m =
|
|
5266
|
-
} else m =
|
|
5267
|
-
if (m !== null) m.return =
|
|
5268
|
-
else for (m =
|
|
5262
|
+
} else if (C.tag === 10) m = C.type === s.type ? null : C.child;
|
|
5263
|
+
else if (C.tag === 18) {
|
|
5264
|
+
if (m = C.return, m === null) throw Error(V(341));
|
|
5265
|
+
m.lanes |= i, u = m.alternate, u !== null && (u.lanes |= i), Hr(m, i, s), m = C.sibling;
|
|
5266
|
+
} else m = C.child;
|
|
5267
|
+
if (m !== null) m.return = C;
|
|
5268
|
+
else for (m = C; m !== null; ) {
|
|
5269
5269
|
if (m === s) {
|
|
5270
5270
|
m = null;
|
|
5271
5271
|
break;
|
|
5272
5272
|
}
|
|
5273
|
-
if (
|
|
5274
|
-
|
|
5273
|
+
if (C = m.sibling, C !== null) {
|
|
5274
|
+
C.return = m.return, m = C;
|
|
5275
5275
|
break;
|
|
5276
5276
|
}
|
|
5277
5277
|
m = m.return;
|
|
5278
5278
|
}
|
|
5279
|
-
|
|
5279
|
+
C = m;
|
|
5280
5280
|
}
|
|
5281
5281
|
Sq(e, s, M.children, i), s = s.child;
|
|
5282
5282
|
}
|
|
@@ -5320,24 +5320,24 @@ Error generating stack: ` + Y.message + `
|
|
|
5320
5320
|
var i = e.alternate;
|
|
5321
5321
|
return i === null ? (i = BV(e.tag, s, e.key, e.mode), i.elementType = e.elementType, i.type = e.type, i.stateNode = e.stateNode, i.alternate = e, e.alternate = i) : (i.pendingProps = s, i.type = e.type, i.flags = 0, i.subtreeFlags = 0, i.deletions = null), i.flags = e.flags & 14680064, i.childLanes = e.childLanes, i.lanes = e.lanes, i.child = e.child, i.memoizedProps = e.memoizedProps, i.memoizedState = e.memoizedState, i.updateQueue = e.updateQueue, s = e.dependencies, i.dependencies = s === null ? null : { lanes: s.lanes, firstContext: s.firstContext }, i.sibling = e.sibling, i.index = e.index, i.ref = e.ref, i;
|
|
5322
5322
|
}
|
|
5323
|
-
function Dg(e, s, i, r, M,
|
|
5323
|
+
function Dg(e, s, i, r, M, C) {
|
|
5324
5324
|
var m = 2;
|
|
5325
5325
|
if (r = e, typeof e == "function") dn(e) && (m = 1);
|
|
5326
5326
|
else if (typeof e == "string") m = 5;
|
|
5327
5327
|
else A: switch (e) {
|
|
5328
5328
|
case k:
|
|
5329
|
-
return Ut(i.children, M,
|
|
5329
|
+
return Ut(i.children, M, C, s);
|
|
5330
5330
|
case N:
|
|
5331
5331
|
m = 8, M |= 8;
|
|
5332
5332
|
break;
|
|
5333
5333
|
case rA:
|
|
5334
|
-
return e = BV(12, i, s, M | 2), e.elementType = rA, e.lanes =
|
|
5334
|
+
return e = BV(12, i, s, M | 2), e.elementType = rA, e.lanes = C, e;
|
|
5335
5335
|
case iA:
|
|
5336
|
-
return e = BV(13, i, s, M), e.elementType = iA, e.lanes =
|
|
5336
|
+
return e = BV(13, i, s, M), e.elementType = iA, e.lanes = C, e;
|
|
5337
5337
|
case nA:
|
|
5338
|
-
return e = BV(19, i, s, M), e.elementType = nA, e.lanes =
|
|
5338
|
+
return e = BV(19, i, s, M), e.elementType = nA, e.lanes = C, e;
|
|
5339
5339
|
case VA:
|
|
5340
|
-
return Gg(i, M,
|
|
5340
|
+
return Gg(i, M, C, s);
|
|
5341
5341
|
default:
|
|
5342
5342
|
if (typeof e == "object" && e !== null) switch (e.$$typeof) {
|
|
5343
5343
|
case cA:
|
|
@@ -5358,7 +5358,7 @@ Error generating stack: ` + Y.message + `
|
|
|
5358
5358
|
}
|
|
5359
5359
|
throw Error(V(130, e == null ? e : typeof e, ""));
|
|
5360
5360
|
}
|
|
5361
|
-
return s = BV(m, i, s, M), s.elementType = e, s.type = r, s.lanes =
|
|
5361
|
+
return s = BV(m, i, s, M), s.elementType = e, s.type = r, s.lanes = C, s;
|
|
5362
5362
|
}
|
|
5363
5363
|
function Ut(e, s, i, r) {
|
|
5364
5364
|
return e = BV(7, e, r, s), e.lanes = i, e;
|
|
@@ -5375,8 +5375,8 @@ Error generating stack: ` + Y.message + `
|
|
|
5375
5375
|
function ZG(e, s, i, r, M) {
|
|
5376
5376
|
this.tag = s, this.containerInfo = e, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = ir(0), this.expirationTimes = ir(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ir(0), this.identifierPrefix = r, this.onRecoverableError = M, this.mutableSourceEagerHydrationData = null;
|
|
5377
5377
|
}
|
|
5378
|
-
function yn(e, s, i, r, M,
|
|
5379
|
-
return e = new ZG(e, s, i, u, T), s === 1 ? (s = 1,
|
|
5378
|
+
function yn(e, s, i, r, M, C, m, u, T) {
|
|
5379
|
+
return e = new ZG(e, s, i, u, T), s === 1 ? (s = 1, C === !0 && (s |= 8)) : s = 0, C = BV(3, null, null, s), e.current = C, C.stateNode = e, C.memoizedState = { element: r, isDehydrated: i, cache: null, transitions: null, pendingSuspenseBoundaries: null }, vr(C), e;
|
|
5380
5380
|
}
|
|
5381
5381
|
function SG(e, s, i) {
|
|
5382
5382
|
var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
@@ -5409,12 +5409,12 @@ Error generating stack: ` + Y.message + `
|
|
|
5409
5409
|
}
|
|
5410
5410
|
return s;
|
|
5411
5411
|
}
|
|
5412
|
-
function eC(e, s, i, r, M,
|
|
5413
|
-
return e = yn(i, r, !0, e, M,
|
|
5412
|
+
function eC(e, s, i, r, M, C, m, u, T) {
|
|
5413
|
+
return e = yn(i, r, !0, e, M, C, m, u, T), e.context = VC(null), i = e.current, r = kq(), M = _e(i), C = le(r, M), C.callback = s ?? null, ve(i, C, M), e.current.lanes = M, to(e, M, r), Oq(e, r), e;
|
|
5414
5414
|
}
|
|
5415
5415
|
function Qg(e, s, i, r) {
|
|
5416
|
-
var M = s.current,
|
|
5417
|
-
return i = VC(i), s.context === null ? s.context = i : s.pendingContext = i, s = le(
|
|
5416
|
+
var M = s.current, C = kq(), m = _e(M);
|
|
5417
|
+
return i = VC(i), s.context === null ? s.context = i : s.pendingContext = i, s = le(C, m), s.payload = { element: e }, r = r === void 0 ? null : r, r !== null && (s.callback = r), e = ve(M, s, m), e !== null && (uV(e, M, m, C), Vg(e, M, m)), m;
|
|
5418
5418
|
}
|
|
5419
5419
|
function Ig(e) {
|
|
5420
5420
|
if (e = e.current, !e.child) return null;
|
|
@@ -5479,10 +5479,10 @@ Error generating stack: ` + Y.message + `
|
|
|
5479
5479
|
function NG(e, s, i, r, M) {
|
|
5480
5480
|
if (M) {
|
|
5481
5481
|
if (typeof r == "function") {
|
|
5482
|
-
var
|
|
5482
|
+
var C = r;
|
|
5483
5483
|
r = function() {
|
|
5484
5484
|
var R = Ig(m);
|
|
5485
|
-
|
|
5485
|
+
C.call(R);
|
|
5486
5486
|
};
|
|
5487
5487
|
}
|
|
5488
5488
|
var m = eC(s, r, e, 0, null, !1, !1, "", oC);
|
|
@@ -5502,9 +5502,9 @@ Error generating stack: ` + Y.message + `
|
|
|
5502
5502
|
}), T;
|
|
5503
5503
|
}
|
|
5504
5504
|
function Kg(e, s, i, r, M) {
|
|
5505
|
-
var
|
|
5506
|
-
if (
|
|
5507
|
-
var m =
|
|
5505
|
+
var C = i._reactRootContainer;
|
|
5506
|
+
if (C) {
|
|
5507
|
+
var m = C;
|
|
5508
5508
|
if (typeof M == "function") {
|
|
5509
5509
|
var u = M;
|
|
5510
5510
|
M = function() {
|
|
@@ -5615,8 +5615,8 @@ Error generating stack: ` + Y.message + `
|
|
|
5615
5615
|
return Kg(null, e, s, !0, i);
|
|
5616
5616
|
}, Hq.hydrateRoot = function(e, s, i) {
|
|
5617
5617
|
if (!Sn(e)) throw Error(V(405));
|
|
5618
|
-
var r = i != null && i.hydratedSources || null, M = !1,
|
|
5619
|
-
if (i != null && (i.unstable_strictMode === !0 && (M = !0), i.identifierPrefix !== void 0 && (
|
|
5618
|
+
var r = i != null && i.hydratedSources || null, M = !1, C = "", m = sC;
|
|
5619
|
+
if (i != null && (i.unstable_strictMode === !0 && (M = !0), i.identifierPrefix !== void 0 && (C = i.identifierPrefix), i.onRecoverableError !== void 0 && (m = i.onRecoverableError)), s = eC(s, null, e, 1, i ?? null, M, !1, C, m), e[ie] = s.current, co(e), r) for (e = 0; e < r.length; e++) i = r[e], M = i._getVersion, M = M(i._source), s.mutableSourceEagerHydrationData == null ? s.mutableSourceEagerHydrationData = [i, M] : s.mutableSourceEagerHydrationData.push(
|
|
5620
5620
|
i,
|
|
5621
5621
|
M
|
|
5622
5622
|
);
|
|
@@ -6007,16 +6007,16 @@ function Ga(A, q, V) {
|
|
|
6007
6007
|
}
|
|
6008
6008
|
return Ll(D) ? !0 : (q.append(CC(G, F, g), B(D)), !1);
|
|
6009
6009
|
}
|
|
6010
|
-
const
|
|
6010
|
+
const Y = [], h = Object.assign(JQ, {
|
|
6011
6011
|
defaultVisitor: c,
|
|
6012
6012
|
convertValue: B,
|
|
6013
6013
|
isVisitable: Ll
|
|
6014
6014
|
});
|
|
6015
6015
|
function Q(D, F) {
|
|
6016
6016
|
if (!Z.isUndefined(D)) {
|
|
6017
|
-
if (
|
|
6017
|
+
if (Y.indexOf(D) !== -1)
|
|
6018
6018
|
throw Error("Circular reference detected in " + F.join("."));
|
|
6019
|
-
|
|
6019
|
+
Y.push(D), Z.forEach(D, function(I, p) {
|
|
6020
6020
|
(!(Z.isUndefined(I) || I === null) && o.call(
|
|
6021
6021
|
q,
|
|
6022
6022
|
I,
|
|
@@ -6024,7 +6024,7 @@ function Ga(A, q, V) {
|
|
|
6024
6024
|
F,
|
|
6025
6025
|
h
|
|
6026
6026
|
)) === !0 && Q(I, F ? F.concat(p) : [p]);
|
|
6027
|
-
}),
|
|
6027
|
+
}), Y.pop();
|
|
6028
6028
|
}
|
|
6029
6029
|
}
|
|
6030
6030
|
if (!Z.isObject(A))
|
|
@@ -6344,8 +6344,8 @@ let bq = class {
|
|
|
6344
6344
|
const c = Zo(w);
|
|
6345
6345
|
if (!c)
|
|
6346
6346
|
throw new Error("header name must be a non-empty string");
|
|
6347
|
-
const
|
|
6348
|
-
(!
|
|
6347
|
+
const Y = Z.findKey(o, c);
|
|
6348
|
+
(!Y || o[Y] === void 0 || B === !0 || B === void 0 && o[Y] !== !1) && (o[Y || w] = vg(l));
|
|
6349
6349
|
}
|
|
6350
6350
|
const a = (l, w) => Z.forEach(l, (B, c) => g(B, c, w));
|
|
6351
6351
|
if (Z.isPlainObject(q) || q instanceof this.constructor)
|
|
@@ -6508,9 +6508,9 @@ function rI(A, q) {
|
|
|
6508
6508
|
return q = q !== void 0 ? q : 1e3, function(w) {
|
|
6509
6509
|
const B = Date.now(), c = t[g];
|
|
6510
6510
|
a || (a = B), V[o] = w, t[o] = B;
|
|
6511
|
-
let
|
|
6512
|
-
for (;
|
|
6513
|
-
h += V[
|
|
6511
|
+
let Y = g, h = 0;
|
|
6512
|
+
for (; Y !== o; )
|
|
6513
|
+
h += V[Y++], Y = Y % A;
|
|
6514
6514
|
if (o = (o + 1) % A, o === g && (g = (g + 1) % A), B - a < q)
|
|
6515
6515
|
return;
|
|
6516
6516
|
const Q = c && B - c;
|
|
@@ -6523,10 +6523,10 @@ function nI(A, q) {
|
|
|
6523
6523
|
V = c, o = null, g && (clearTimeout(g), g = null), A(...B);
|
|
6524
6524
|
};
|
|
6525
6525
|
return [(...B) => {
|
|
6526
|
-
const c = Date.now(),
|
|
6527
|
-
|
|
6526
|
+
const c = Date.now(), Y = c - V;
|
|
6527
|
+
Y >= t ? a(B, c) : (o = B, g || (g = setTimeout(() => {
|
|
6528
6528
|
g = null, a(o);
|
|
6529
|
-
}, t -
|
|
6529
|
+
}, t - Y)));
|
|
6530
6530
|
}, () => o && a(o)];
|
|
6531
6531
|
}
|
|
6532
6532
|
const oa = (A, q, V = 3) => {
|
|
@@ -6535,7 +6535,7 @@ const oa = (A, q, V = 3) => {
|
|
|
6535
6535
|
return nI((g) => {
|
|
6536
6536
|
const a = g.loaded, l = g.lengthComputable ? g.total : void 0, w = a - t, B = o(w), c = a <= l;
|
|
6537
6537
|
t = a;
|
|
6538
|
-
const
|
|
6538
|
+
const Y = {
|
|
6539
6539
|
loaded: a,
|
|
6540
6540
|
total: l,
|
|
6541
6541
|
progress: l ? a / l : void 0,
|
|
@@ -6546,7 +6546,7 @@ const oa = (A, q, V = 3) => {
|
|
|
6546
6546
|
lengthComputable: l != null,
|
|
6547
6547
|
[q ? "download" : "upload"]: !0
|
|
6548
6548
|
};
|
|
6549
|
-
A(
|
|
6549
|
+
A(Y);
|
|
6550
6550
|
}, V);
|
|
6551
6551
|
}, mC = (A, q) => {
|
|
6552
6552
|
const V = A != null;
|
|
@@ -6601,14 +6601,14 @@ const DC = (A) => A instanceof bq ? { ...A } : A;
|
|
|
6601
6601
|
function kt(A, q) {
|
|
6602
6602
|
q = q || {};
|
|
6603
6603
|
const V = {};
|
|
6604
|
-
function t(B, c,
|
|
6604
|
+
function t(B, c, Y, h) {
|
|
6605
6605
|
return Z.isPlainObject(B) && Z.isPlainObject(c) ? Z.merge.call({ caseless: h }, B, c) : Z.isPlainObject(c) ? Z.merge({}, c) : Z.isArray(c) ? c.slice() : c;
|
|
6606
6606
|
}
|
|
6607
|
-
function o(B, c,
|
|
6607
|
+
function o(B, c, Y, h) {
|
|
6608
6608
|
if (Z.isUndefined(c)) {
|
|
6609
6609
|
if (!Z.isUndefined(B))
|
|
6610
|
-
return t(void 0, B,
|
|
6611
|
-
} else return t(B, c,
|
|
6610
|
+
return t(void 0, B, Y, h);
|
|
6611
|
+
} else return t(B, c, Y, h);
|
|
6612
6612
|
}
|
|
6613
6613
|
function g(B, c) {
|
|
6614
6614
|
if (!Z.isUndefined(c))
|
|
@@ -6620,10 +6620,10 @@ function kt(A, q) {
|
|
|
6620
6620
|
return t(void 0, B);
|
|
6621
6621
|
} else return t(void 0, c);
|
|
6622
6622
|
}
|
|
6623
|
-
function l(B, c,
|
|
6624
|
-
if (
|
|
6623
|
+
function l(B, c, Y) {
|
|
6624
|
+
if (Y in q)
|
|
6625
6625
|
return t(B, c);
|
|
6626
|
-
if (
|
|
6626
|
+
if (Y in A)
|
|
6627
6627
|
return t(void 0, B);
|
|
6628
6628
|
}
|
|
6629
6629
|
const w = {
|
|
@@ -6655,11 +6655,11 @@ function kt(A, q) {
|
|
|
6655
6655
|
socketPath: a,
|
|
6656
6656
|
responseEncoding: a,
|
|
6657
6657
|
validateStatus: l,
|
|
6658
|
-
headers: (B, c,
|
|
6658
|
+
headers: (B, c, Y) => o(DC(B), DC(c), Y, !0)
|
|
6659
6659
|
};
|
|
6660
6660
|
return Z.forEach(Object.keys({ ...A, ...q }), function(c) {
|
|
6661
|
-
const
|
|
6662
|
-
Z.isUndefined(h) &&
|
|
6661
|
+
const Y = w[c] || o, h = Y(A[c], q[c], c);
|
|
6662
|
+
Z.isUndefined(h) && Y !== l || (V[c] = h);
|
|
6663
6663
|
}), V;
|
|
6664
6664
|
}
|
|
6665
6665
|
const cE = (A) => {
|
|
@@ -6673,8 +6673,8 @@ const cE = (A) => {
|
|
|
6673
6673
|
a.setContentType(void 0);
|
|
6674
6674
|
else if (Z.isFunction(V.getHeaders)) {
|
|
6675
6675
|
const w = V.getHeaders(), B = ["content-type", "content-length"];
|
|
6676
|
-
Object.entries(w).forEach(([c,
|
|
6677
|
-
B.includes(c.toLowerCase()) && a.set(c,
|
|
6676
|
+
Object.entries(w).forEach(([c, Y]) => {
|
|
6677
|
+
B.includes(c.toLowerCase()) && a.set(c, Y);
|
|
6678
6678
|
});
|
|
6679
6679
|
}
|
|
6680
6680
|
}
|
|
@@ -6688,7 +6688,7 @@ const cE = (A) => {
|
|
|
6688
6688
|
const o = cE(A);
|
|
6689
6689
|
let g = o.data;
|
|
6690
6690
|
const a = bq.from(o.headers).normalize();
|
|
6691
|
-
let { responseType: l, onUploadProgress: w, onDownloadProgress: B } = o, c,
|
|
6691
|
+
let { responseType: l, onUploadProgress: w, onDownloadProgress: B } = o, c, Y, h, Q, D;
|
|
6692
6692
|
function F() {
|
|
6693
6693
|
Q && Q(), D && D(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
|
|
6694
6694
|
}
|
|
@@ -6731,7 +6731,7 @@ const cE = (A) => {
|
|
|
6731
6731
|
)), G = null;
|
|
6732
6732
|
}, g === void 0 && a.setContentType(null), "setRequestHeader" in G && Z.forEach(a.toJSON(), function(W, S) {
|
|
6733
6733
|
G.setRequestHeader(S, W);
|
|
6734
|
-
}), Z.isUndefined(o.withCredentials) || (G.withCredentials = !!o.withCredentials), l && l !== "json" && (G.responseType = o.responseType), B && ([h, D] = oa(B, !0), G.addEventListener("progress", h)), w && G.upload && ([
|
|
6734
|
+
}), Z.isUndefined(o.withCredentials) || (G.withCredentials = !!o.withCredentials), l && l !== "json" && (G.responseType = o.responseType), B && ([h, D] = oa(B, !0), G.addEventListener("progress", h)), w && G.upload && ([Y, Q] = oa(w), G.upload.addEventListener("progress", Y), G.upload.addEventListener("loadend", Q)), (o.cancelToken || o.signal) && (c = (K) => {
|
|
6735
6735
|
G && (t(!K || K.type ? new Ss(null, A, G) : K), G.abort(), G = null);
|
|
6736
6736
|
}, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
|
|
6737
6737
|
const p = aI(o.url);
|
|
@@ -6805,9 +6805,9 @@ const cE = (A) => {
|
|
|
6805
6805
|
l(), w.close();
|
|
6806
6806
|
return;
|
|
6807
6807
|
}
|
|
6808
|
-
let
|
|
6808
|
+
let Y = c.byteLength;
|
|
6809
6809
|
if (V) {
|
|
6810
|
-
let h = g +=
|
|
6810
|
+
let h = g += Y;
|
|
6811
6811
|
V(h);
|
|
6812
6812
|
}
|
|
6813
6813
|
w.enqueue(new Uint8Array(c));
|
|
@@ -6850,11 +6850,11 @@ const cE = (A) => {
|
|
|
6850
6850
|
}
|
|
6851
6851
|
}).headers.has("Content-Type");
|
|
6852
6852
|
return D && !F;
|
|
6853
|
-
}), c = a && l && pC(() => Z.isReadableStream(new t("").body)),
|
|
6853
|
+
}), c = a && l && pC(() => Z.isReadableStream(new t("").body)), Y = {
|
|
6854
6854
|
stream: c && ((D) => D.body)
|
|
6855
6855
|
};
|
|
6856
6856
|
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((D) => {
|
|
6857
|
-
!
|
|
6857
|
+
!Y[D] && (Y[D] = (F, G) => {
|
|
6858
6858
|
let I = F && F[D];
|
|
6859
6859
|
if (I)
|
|
6860
6860
|
return I.call(F);
|
|
@@ -6945,7 +6945,7 @@ const cE = (A) => {
|
|
|
6945
6945
|
);
|
|
6946
6946
|
}
|
|
6947
6947
|
k = k || "text";
|
|
6948
|
-
let P = await
|
|
6948
|
+
let P = await Y[Z.findKey(Y, k) || "text"](d, D);
|
|
6949
6949
|
return !_ && nA && nA(), await new Promise((U, f) => {
|
|
6950
6950
|
YE(U, f, {
|
|
6951
6951
|
data: P,
|
|
@@ -7173,17 +7173,17 @@ let Zt = class {
|
|
|
7173
7173
|
this.interceptors.response.forEach(function(F) {
|
|
7174
7174
|
B.push(F.fulfilled, F.rejected);
|
|
7175
7175
|
});
|
|
7176
|
-
let c,
|
|
7176
|
+
let c, Y = 0, h;
|
|
7177
7177
|
if (!w) {
|
|
7178
7178
|
const D = [TC.bind(this), void 0];
|
|
7179
|
-
for (D.unshift(...l), D.push(...B), h = D.length, c = Promise.resolve(V);
|
|
7180
|
-
c = c.then(D[
|
|
7179
|
+
for (D.unshift(...l), D.push(...B), h = D.length, c = Promise.resolve(V); Y < h; )
|
|
7180
|
+
c = c.then(D[Y++], D[Y++]);
|
|
7181
7181
|
return c;
|
|
7182
7182
|
}
|
|
7183
7183
|
h = l.length;
|
|
7184
7184
|
let Q = V;
|
|
7185
|
-
for (;
|
|
7186
|
-
const D = l[
|
|
7185
|
+
for (; Y < h; ) {
|
|
7186
|
+
const D = l[Y++], F = l[Y++];
|
|
7187
7187
|
try {
|
|
7188
7188
|
Q = D(Q);
|
|
7189
7189
|
} catch (G) {
|
|
@@ -7196,8 +7196,8 @@ let Zt = class {
|
|
|
7196
7196
|
} catch (D) {
|
|
7197
7197
|
return Promise.reject(D);
|
|
7198
7198
|
}
|
|
7199
|
-
for (
|
|
7200
|
-
c = c.then(B[
|
|
7199
|
+
for (Y = 0, h = B.length; Y < h; )
|
|
7200
|
+
c = c.then(B[Y++], B[Y++]);
|
|
7201
7201
|
return c;
|
|
7202
7202
|
}
|
|
7203
7203
|
getUri(q) {
|
|
@@ -8508,9 +8508,9 @@ class au extends ot {
|
|
|
8508
8508
|
let V = this.createTransport(q), t = !1;
|
|
8509
8509
|
ot.priorWebsocketSuccess = !1;
|
|
8510
8510
|
const o = () => {
|
|
8511
|
-
t || (V.send([{ type: "ping", data: "probe" }]), V.once("packet", (
|
|
8511
|
+
t || (V.send([{ type: "ping", data: "probe" }]), V.once("packet", (Y) => {
|
|
8512
8512
|
if (!t)
|
|
8513
|
-
if (
|
|
8513
|
+
if (Y.type === "pong" && Y.data === "probe") {
|
|
8514
8514
|
if (this.upgrading = !0, this.emitReserved("upgrading", V), !V)
|
|
8515
8515
|
return;
|
|
8516
8516
|
ot.priorWebsocketSuccess = V.name === "websocket", this.transport.pause(() => {
|
|
@@ -8525,8 +8525,8 @@ class au extends ot {
|
|
|
8525
8525
|
function g() {
|
|
8526
8526
|
t || (t = !0, c(), V.close(), V = null);
|
|
8527
8527
|
}
|
|
8528
|
-
const a = (
|
|
8529
|
-
const h = new Error("probe error: " +
|
|
8528
|
+
const a = (Y) => {
|
|
8529
|
+
const h = new Error("probe error: " + Y);
|
|
8530
8530
|
h.transport = V.name, g(), this.emitReserved("upgradeError", h);
|
|
8531
8531
|
};
|
|
8532
8532
|
function l() {
|
|
@@ -8535,8 +8535,8 @@ class au extends ot {
|
|
|
8535
8535
|
function w() {
|
|
8536
8536
|
a("socket closed");
|
|
8537
8537
|
}
|
|
8538
|
-
function B(
|
|
8539
|
-
V &&
|
|
8538
|
+
function B(Y) {
|
|
8539
|
+
V && Y.name !== V.name && g();
|
|
8540
8540
|
}
|
|
8541
8541
|
const c = () => {
|
|
8542
8542
|
V.removeListener("open", o), V.removeListener("error", a), V.removeListener("close", l), this.off("close", w), this.off("upgrading", B);
|
|
@@ -8978,8 +8978,8 @@ class yE extends Mq {
|
|
|
8978
8978
|
data: V
|
|
8979
8979
|
};
|
|
8980
8980
|
if (a.options = {}, a.options.compress = this.flags.compress !== !1, typeof V[V.length - 1] == "function") {
|
|
8981
|
-
const c = this.ids++,
|
|
8982
|
-
this._registerAckCallback(c,
|
|
8981
|
+
const c = this.ids++, Y = V.pop();
|
|
8982
|
+
this._registerAckCallback(c, Y), a.id = c;
|
|
8983
8983
|
}
|
|
8984
8984
|
const l = (o = (t = this.io.engine) === null || t === void 0 ? void 0 : t.transport) === null || o === void 0 ? void 0 : o.writable, w = this.connected && !(!((g = this.io.engine) === null || g === void 0) && g._hasPingExpired());
|
|
8985
8985
|
return this.flags.volatile && !l || (w ? (this.notifyOutgoingListeners(a), this.packet(a)) : this.sendBuffer.push(a)), this.flags = {}, this;
|
|
@@ -10005,9 +10005,9 @@ class pu {
|
|
|
10005
10005
|
}
|
|
10006
10006
|
bindDeviceEvents(q) {
|
|
10007
10007
|
q.socket.on("call:status", (V, t) => {
|
|
10008
|
-
var o, g, a, l, w, B, c,
|
|
10008
|
+
var o, g, a, l, w, B, c, Y, h, Q, D, F, G, I;
|
|
10009
10009
|
const p = this.calls.get(V);
|
|
10010
|
-
p && (p.status = t, (g = (o = p.callbacks).onStatus) == null || g.call(o, t), t === "ACTIVE" && ((l = (a = p.callbacks).onAccept) == null || l.call(a)), t === "NOT_ANSWERED" && ((B = (w = p.callbacks).onUnanswered) == null || B.call(w), (
|
|
10010
|
+
p && (p.status = t, (g = (o = p.callbacks).onStatus) == null || g.call(o, t), t === "ACTIVE" && ((l = (a = p.callbacks).onAccept) == null || l.call(a)), t === "NOT_ANSWERED" && ((B = (w = p.callbacks).onUnanswered) == null || B.call(w), (Y = (c = p.callbacks).onEnd) == null || Y.call(c), this.calls.delete(p.id)), t === "REJECTED" && ((Q = (h = p.callbacks).onReject) == null || Q.call(h), (F = (D = p.callbacks).onEnd) == null || F.call(D), this.calls.delete(p.id)), t === "ENDED" && ((I = (G = p.callbacks).onEnd) == null || I.call(G), this.calls.delete(p.id)));
|
|
10011
10011
|
}), q.socket.on("peer:mute", (V, t) => {
|
|
10012
10012
|
var o, g, a, l;
|
|
10013
10013
|
const w = this.calls.get(V);
|
|
@@ -10505,7 +10505,7 @@ class Wu extends Ht {
|
|
|
10505
10505
|
for (const t of q) {
|
|
10506
10506
|
if (this.devices.find((g) => q.includes(g.token))) continue;
|
|
10507
10507
|
const o = new ZC(t);
|
|
10508
|
-
this._devices.push(o), V.push(o);
|
|
10508
|
+
this._devices.push(o), V.push(o), this.bindDeviceEvents(o);
|
|
10509
10509
|
}
|
|
10510
10510
|
return V.map((t) => RC(t, this));
|
|
10511
10511
|
}
|
|
@@ -11309,7 +11309,7 @@ const Pu = /* @__PURE__ */ new Map([
|
|
|
11309
11309
|
...B
|
|
11310
11310
|
} = A, {
|
|
11311
11311
|
color: c = "currentColor",
|
|
11312
|
-
size:
|
|
11312
|
+
size: Y,
|
|
11313
11313
|
weight: h = "regular",
|
|
11314
11314
|
mirrored: Q = !1,
|
|
11315
11315
|
...D
|
|
@@ -11319,8 +11319,8 @@ const Pu = /* @__PURE__ */ new Map([
|
|
|
11319
11319
|
{
|
|
11320
11320
|
ref: q,
|
|
11321
11321
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11322
|
-
width: o ??
|
|
11323
|
-
height: o ??
|
|
11322
|
+
width: o ?? Y,
|
|
11323
|
+
height: o ?? Y,
|
|
11324
11324
|
fill: t ?? c,
|
|
11325
11325
|
viewBox: "0 0 256 256",
|
|
11326
11326
|
transform: a || Q ? "scale(-1, 1)" : void 0,
|
|
@@ -11540,8 +11540,8 @@ function Ip() {
|
|
|
11540
11540
|
function V() {
|
|
11541
11541
|
}
|
|
11542
11542
|
return V.resetWarningCache = q, $n = function() {
|
|
11543
|
-
function t(a, l, w, B, c,
|
|
11544
|
-
if (
|
|
11543
|
+
function t(a, l, w, B, c, Y) {
|
|
11544
|
+
if (Y !== A) {
|
|
11545
11545
|
var h = new Error(
|
|
11546
11546
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
11547
11547
|
);
|
|
@@ -11836,7 +11836,7 @@ function pp() {
|
|
|
11836
11836
|
if (o == null)
|
|
11837
11837
|
throw new Error("bad rs block @ typeNumber:" + V + "/errorCorrectLevel:" + t);
|
|
11838
11838
|
for (var g = o.length / 3, a = new Array(), l = 0; l < g; l++)
|
|
11839
|
-
for (var w = o[l * 3 + 0], B = o[l * 3 + 1], c = o[l * 3 + 2],
|
|
11839
|
+
for (var w = o[l * 3 + 0], B = o[l * 3 + 1], c = o[l * 3 + 2], Y = 0; Y < w; Y++)
|
|
11840
11840
|
a.push(new q(B, c));
|
|
11841
11841
|
return a;
|
|
11842
11842
|
}, q.getRsBlockTable = function(V, t) {
|
|
@@ -12094,10 +12094,10 @@ function Tp() {
|
|
|
12094
12094
|
getLostPoint: function(g) {
|
|
12095
12095
|
for (var a = g.getModuleCount(), l = 0, w = 0; w < a; w++)
|
|
12096
12096
|
for (var B = 0; B < a; B++) {
|
|
12097
|
-
for (var c = 0,
|
|
12097
|
+
for (var c = 0, Y = g.isDark(w, B), h = -1; h <= 1; h++)
|
|
12098
12098
|
if (!(w + h < 0 || a <= w + h))
|
|
12099
12099
|
for (var Q = -1; Q <= 1; Q++)
|
|
12100
|
-
B + Q < 0 || a <= B + Q || h == 0 && Q == 0 ||
|
|
12100
|
+
B + Q < 0 || a <= B + Q || h == 0 && Q == 0 || Y == g.isDark(w + h, B + Q) && c++;
|
|
12101
12101
|
c > 5 && (l += 3 + c - 5);
|
|
12102
12102
|
}
|
|
12103
12103
|
for (var w = 0; w < a - 1; w++)
|
|
@@ -12142,10 +12142,10 @@ function Up() {
|
|
|
12142
12142
|
if (this.typeNumber < 1) {
|
|
12143
12143
|
var l = 1;
|
|
12144
12144
|
for (l = 1; l < 40; l++) {
|
|
12145
|
-
for (var w = q.getRSBlocks(l, this.errorCorrectLevel), B = new V(), c = 0,
|
|
12146
|
-
c += w[
|
|
12147
|
-
for (var
|
|
12148
|
-
var h = this.dataList[
|
|
12145
|
+
for (var w = q.getRSBlocks(l, this.errorCorrectLevel), B = new V(), c = 0, Y = 0; Y < w.length; Y++)
|
|
12146
|
+
c += w[Y].dataCount;
|
|
12147
|
+
for (var Y = 0; Y < this.dataList.length; Y++) {
|
|
12148
|
+
var h = this.dataList[Y];
|
|
12149
12149
|
B.put(h.mode, 4), B.put(h.getLength(), t.getLengthInBits(h.mode, l)), h.write(B);
|
|
12150
12150
|
}
|
|
12151
12151
|
if (B.getLengthInBits() <= c * 8)
|
|
@@ -12175,12 +12175,12 @@ function Up() {
|
|
|
12175
12175
|
}
|
|
12176
12176
|
return w;
|
|
12177
12177
|
}, a.createMovieClip = function(l, w, B) {
|
|
12178
|
-
var c = l.createEmptyMovieClip(w, B),
|
|
12178
|
+
var c = l.createEmptyMovieClip(w, B), Y = 1;
|
|
12179
12179
|
this.make();
|
|
12180
12180
|
for (var h = 0; h < this.modules.length; h++)
|
|
12181
|
-
for (var Q = h *
|
|
12182
|
-
var F = D *
|
|
12183
|
-
G && (c.beginFill(0, 100), c.moveTo(F, Q), c.lineTo(F +
|
|
12181
|
+
for (var Q = h * Y, D = 0; D < this.modules[h].length; D++) {
|
|
12182
|
+
var F = D * Y, G = this.modules[h][D];
|
|
12183
|
+
G && (c.beginFill(0, 100), c.moveTo(F, Q), c.lineTo(F + Y, Q), c.lineTo(F + Y, Q + Y), c.lineTo(F, Q + Y), c.endFill());
|
|
12184
12184
|
}
|
|
12185
12185
|
return c;
|
|
12186
12186
|
}, a.setupTimingPattern = function() {
|
|
@@ -12191,11 +12191,11 @@ function Up() {
|
|
|
12191
12191
|
}, a.setupPositionAdjustPattern = function() {
|
|
12192
12192
|
for (var l = t.getPatternPosition(this.typeNumber), w = 0; w < l.length; w++)
|
|
12193
12193
|
for (var B = 0; B < l.length; B++) {
|
|
12194
|
-
var c = l[w],
|
|
12195
|
-
if (this.modules[c][
|
|
12194
|
+
var c = l[w], Y = l[B];
|
|
12195
|
+
if (this.modules[c][Y] == null)
|
|
12196
12196
|
for (var h = -2; h <= 2; h++)
|
|
12197
12197
|
for (var Q = -2; Q <= 2; Q++)
|
|
12198
|
-
h == -2 || h == 2 || Q == -2 || Q == 2 || h == 0 && Q == 0 ? this.modules[c + h][
|
|
12198
|
+
h == -2 || h == 2 || Q == -2 || Q == 2 || h == 0 && Q == 0 ? this.modules[c + h][Y + Q] = !0 : this.modules[c + h][Y + Q] = !1;
|
|
12199
12199
|
}
|
|
12200
12200
|
}, a.setupTypeNumber = function(l) {
|
|
12201
12201
|
for (var w = t.getBCHTypeNumber(this.typeNumber), B = 0; B < 18; B++) {
|
|
@@ -12207,24 +12207,24 @@ function Up() {
|
|
|
12207
12207
|
this.modules[B % 3 + this.moduleCount - 8 - 3][Math.floor(B / 3)] = c;
|
|
12208
12208
|
}
|
|
12209
12209
|
}, a.setupTypeInfo = function(l, w) {
|
|
12210
|
-
for (var B = this.errorCorrectLevel << 3 | w, c = t.getBCHTypeInfo(B),
|
|
12211
|
-
var h = !l && (c >>
|
|
12212
|
-
|
|
12210
|
+
for (var B = this.errorCorrectLevel << 3 | w, c = t.getBCHTypeInfo(B), Y = 0; Y < 15; Y++) {
|
|
12211
|
+
var h = !l && (c >> Y & 1) == 1;
|
|
12212
|
+
Y < 6 ? this.modules[Y][8] = h : Y < 8 ? this.modules[Y + 1][8] = h : this.modules[this.moduleCount - 15 + Y][8] = h;
|
|
12213
12213
|
}
|
|
12214
|
-
for (var
|
|
12215
|
-
var h = !l && (c >>
|
|
12216
|
-
|
|
12214
|
+
for (var Y = 0; Y < 15; Y++) {
|
|
12215
|
+
var h = !l && (c >> Y & 1) == 1;
|
|
12216
|
+
Y < 8 ? this.modules[8][this.moduleCount - Y - 1] = h : Y < 9 ? this.modules[8][15 - Y - 1 + 1] = h : this.modules[8][15 - Y - 1] = h;
|
|
12217
12217
|
}
|
|
12218
12218
|
this.modules[this.moduleCount - 8][8] = !l;
|
|
12219
12219
|
}, a.mapData = function(l, w) {
|
|
12220
|
-
for (var B = -1, c = this.moduleCount - 1,
|
|
12220
|
+
for (var B = -1, c = this.moduleCount - 1, Y = 7, h = 0, Q = this.moduleCount - 1; Q > 0; Q -= 2)
|
|
12221
12221
|
for (Q == 6 && Q--; ; ) {
|
|
12222
12222
|
for (var D = 0; D < 2; D++)
|
|
12223
12223
|
if (this.modules[c][Q - D] == null) {
|
|
12224
12224
|
var F = !1;
|
|
12225
|
-
h < l.length && (F = (l[h] >>>
|
|
12225
|
+
h < l.length && (F = (l[h] >>> Y & 1) == 1);
|
|
12226
12226
|
var G = t.getMask(w, c, Q - D);
|
|
12227
|
-
G && (F = !F), this.modules[c][Q - D] = F,
|
|
12227
|
+
G && (F = !F), this.modules[c][Q - D] = F, Y--, Y == -1 && (h++, Y = 7);
|
|
12228
12228
|
}
|
|
12229
12229
|
if (c += B, c < 0 || this.moduleCount <= c) {
|
|
12230
12230
|
c -= B, B = -B;
|
|
@@ -12232,23 +12232,23 @@ function Up() {
|
|
|
12232
12232
|
}
|
|
12233
12233
|
}
|
|
12234
12234
|
}, g.PAD0 = 236, g.PAD1 = 17, g.createData = function(l, w, B) {
|
|
12235
|
-
for (var c = q.getRSBlocks(l, w),
|
|
12235
|
+
for (var c = q.getRSBlocks(l, w), Y = new V(), h = 0; h < B.length; h++) {
|
|
12236
12236
|
var Q = B[h];
|
|
12237
|
-
|
|
12237
|
+
Y.put(Q.mode, 4), Y.put(Q.getLength(), t.getLengthInBits(Q.mode, l)), Q.write(Y);
|
|
12238
12238
|
}
|
|
12239
12239
|
for (var D = 0, h = 0; h < c.length; h++)
|
|
12240
12240
|
D += c[h].dataCount;
|
|
12241
|
-
if (
|
|
12242
|
-
throw new Error("code length overflow. (" +
|
|
12243
|
-
for (
|
|
12244
|
-
|
|
12245
|
-
for (; !(
|
|
12246
|
-
|
|
12247
|
-
return g.createBytes(
|
|
12241
|
+
if (Y.getLengthInBits() > D * 8)
|
|
12242
|
+
throw new Error("code length overflow. (" + Y.getLengthInBits() + ">" + D * 8 + ")");
|
|
12243
|
+
for (Y.getLengthInBits() + 4 <= D * 8 && Y.put(0, 4); Y.getLengthInBits() % 8 != 0; )
|
|
12244
|
+
Y.putBit(!1);
|
|
12245
|
+
for (; !(Y.getLengthInBits() >= D * 8 || (Y.put(g.PAD0, 8), Y.getLengthInBits() >= D * 8)); )
|
|
12246
|
+
Y.put(g.PAD1, 8);
|
|
12247
|
+
return g.createBytes(Y, c);
|
|
12248
12248
|
}, g.createBytes = function(l, w) {
|
|
12249
|
-
for (var B = 0, c = 0,
|
|
12249
|
+
for (var B = 0, c = 0, Y = 0, h = new Array(w.length), Q = new Array(w.length), D = 0; D < w.length; D++) {
|
|
12250
12250
|
var F = w[D].dataCount, G = w[D].totalCount - F;
|
|
12251
|
-
c = Math.max(c, F),
|
|
12251
|
+
c = Math.max(c, F), Y = Math.max(Y, G), h[D] = new Array(F);
|
|
12252
12252
|
for (var I = 0; I < h[D].length; I++)
|
|
12253
12253
|
h[D][I] = 255 & l.buffer[I + B];
|
|
12254
12254
|
B += F;
|
|
@@ -12264,7 +12264,7 @@ function Up() {
|
|
|
12264
12264
|
for (var k = new Array(O), N = 0, I = 0; I < c; I++)
|
|
12265
12265
|
for (var D = 0; D < w.length; D++)
|
|
12266
12266
|
I < h[D].length && (k[N++] = h[D][I]);
|
|
12267
|
-
for (var I = 0; I <
|
|
12267
|
+
for (var I = 0; I < Y; I++)
|
|
12268
12268
|
for (var D = 0; D < w.length; D++)
|
|
12269
12269
|
I < Q[D].length && (k[N++] = Q[D][I]);
|
|
12270
12270
|
return k;
|
|
@@ -12278,9 +12278,9 @@ function xp() {
|
|
|
12278
12278
|
});
|
|
12279
12279
|
var A = Object.assign || function(B) {
|
|
12280
12280
|
for (var c = 1; c < arguments.length; c++) {
|
|
12281
|
-
var
|
|
12282
|
-
for (var h in
|
|
12283
|
-
Object.prototype.hasOwnProperty.call(
|
|
12281
|
+
var Y = arguments[c];
|
|
12282
|
+
for (var h in Y)
|
|
12283
|
+
Object.prototype.hasOwnProperty.call(Y, h) && (B[h] = Y[h]);
|
|
12284
12284
|
}
|
|
12285
12285
|
return B;
|
|
12286
12286
|
}, q = /* @__PURE__ */ e0(), V = g(q), t = Rs(), o = g(t);
|
|
@@ -12288,10 +12288,10 @@ function xp() {
|
|
|
12288
12288
|
return B && B.__esModule ? B : { default: B };
|
|
12289
12289
|
}
|
|
12290
12290
|
function a(B, c) {
|
|
12291
|
-
var
|
|
12291
|
+
var Y = {};
|
|
12292
12292
|
for (var h in B)
|
|
12293
|
-
c.indexOf(h) >= 0 || Object.prototype.hasOwnProperty.call(B, h) && (
|
|
12294
|
-
return
|
|
12293
|
+
c.indexOf(h) >= 0 || Object.prototype.hasOwnProperty.call(B, h) && (Y[h] = B[h]);
|
|
12294
|
+
return Y;
|
|
12295
12295
|
}
|
|
12296
12296
|
var l = {
|
|
12297
12297
|
bgColor: V.default.oneOfType([V.default.object, V.default.string]).isRequired,
|
|
@@ -12303,7 +12303,7 @@ function xp() {
|
|
|
12303
12303
|
viewBoxSize: V.default.number.isRequired,
|
|
12304
12304
|
xmlns: V.default.string
|
|
12305
12305
|
}, w = (0, t.forwardRef)(function(B, c) {
|
|
12306
|
-
var
|
|
12306
|
+
var Y = B.bgColor, h = B.bgD, Q = B.fgD, D = B.fgColor, F = B.size, G = B.title, I = B.viewBoxSize, p = B.xmlns, K = p === void 0 ? "http://www.w3.org/2000/svg" : p, W = a(B, ["bgColor", "bgD", "fgD", "fgColor", "size", "title", "viewBoxSize", "xmlns"]);
|
|
12307
12307
|
return o.default.createElement(
|
|
12308
12308
|
"svg",
|
|
12309
12309
|
A({}, W, { height: F, ref: c, viewBox: "0 0 " + I + " " + I, width: F, xmlns: K }),
|
|
@@ -12312,7 +12312,7 @@ function xp() {
|
|
|
12312
12312
|
null,
|
|
12313
12313
|
G
|
|
12314
12314
|
) : null,
|
|
12315
|
-
o.default.createElement("path", { d: h, fill:
|
|
12315
|
+
o.default.createElement("path", { d: h, fill: Y }),
|
|
12316
12316
|
o.default.createElement("path", { d: Q, fill: D })
|
|
12317
12317
|
);
|
|
12318
12318
|
});
|
|
@@ -12331,8 +12331,8 @@ function dp() {
|
|
|
12331
12331
|
Object.prototype.hasOwnProperty.call(I, p) && (F[p] = I[p]);
|
|
12332
12332
|
}
|
|
12333
12333
|
return F;
|
|
12334
|
-
}, q = /* @__PURE__ */ e0(), V =
|
|
12335
|
-
function
|
|
12334
|
+
}, q = /* @__PURE__ */ e0(), V = Y(q), t = t0(), o = Y(t), g = Up(), a = Y(g), l = Rs(), w = Y(l), B = xp(), c = Y(B);
|
|
12335
|
+
function Y(F) {
|
|
12336
12336
|
return F && F.__esModule ? F : { default: F };
|
|
12337
12337
|
}
|
|
12338
12338
|
function h(F, G) {
|
|
@@ -12390,15 +12390,15 @@ const Ac = (A) => typeof A == "boolean" ? `${A}` : A === 0 ? "0" : A, qc = a0, U
|
|
|
12390
12390
|
var t;
|
|
12391
12391
|
if (q?.variants == null) return qc(A, V?.class, V?.className);
|
|
12392
12392
|
const { variants: o, defaultVariants: g } = q, a = Object.keys(o).map((B) => {
|
|
12393
|
-
const c = V?.[B],
|
|
12393
|
+
const c = V?.[B], Y = g?.[B];
|
|
12394
12394
|
if (c === null) return null;
|
|
12395
|
-
const h = Ac(c) || Ac(
|
|
12395
|
+
const h = Ac(c) || Ac(Y);
|
|
12396
12396
|
return o[B][h];
|
|
12397
12397
|
}), l = V && Object.entries(V).reduce((B, c) => {
|
|
12398
|
-
let [
|
|
12399
|
-
return h === void 0 || (B[
|
|
12398
|
+
let [Y, h] = c;
|
|
12399
|
+
return h === void 0 || (B[Y] = h), B;
|
|
12400
12400
|
}, {}), w = q == null || (t = q.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((B, c) => {
|
|
12401
|
-
let { class:
|
|
12401
|
+
let { class: Y, className: h, ...Q } = c;
|
|
12402
12402
|
return Object.entries(Q).every((D) => {
|
|
12403
12403
|
let [F, G] = D;
|
|
12404
12404
|
return Array.isArray(G) ? G.includes({
|
|
@@ -12410,7 +12410,7 @@ const Ac = (A) => typeof A == "boolean" ? `${A}` : A === 0 ? "0" : A, qc = a0, U
|
|
|
12410
12410
|
}[F] === G;
|
|
12411
12411
|
}) ? [
|
|
12412
12412
|
...B,
|
|
12413
|
-
|
|
12413
|
+
Y,
|
|
12414
12414
|
h
|
|
12415
12415
|
] : B;
|
|
12416
12416
|
}, []);
|
|
@@ -12535,11 +12535,11 @@ const Ac = (A) => typeof A == "boolean" ? `${A}` : A === 0 ? "0" : A, qc = a0, U
|
|
|
12535
12535
|
}
|
|
12536
12536
|
F === "[" ? a++ : F === "]" ? a-- : F === "(" ? l++ : F === ")" && l--;
|
|
12537
12537
|
}
|
|
12538
|
-
const c = g.length === 0 ? o : o.substring(w),
|
|
12538
|
+
const c = g.length === 0 ? o : o.substring(w), Y = Jp(c), h = Y !== c, Q = B && B > w ? B - w : void 0;
|
|
12539
12539
|
return {
|
|
12540
12540
|
modifiers: g,
|
|
12541
12541
|
hasImportantModifier: h,
|
|
12542
|
-
baseClassName:
|
|
12542
|
+
baseClassName: Y,
|
|
12543
12543
|
maybePostfixModifierPosition: Q
|
|
12544
12544
|
};
|
|
12545
12545
|
};
|
|
@@ -12587,13 +12587,13 @@ const Ac = (A) => typeof A == "boolean" ? `${A}` : A === 0 ? "0" : A, qc = a0, U
|
|
|
12587
12587
|
let w = "";
|
|
12588
12588
|
for (let B = l.length - 1; B >= 0; B -= 1) {
|
|
12589
12589
|
const c = l[B], {
|
|
12590
|
-
isExternal:
|
|
12590
|
+
isExternal: Y,
|
|
12591
12591
|
modifiers: h,
|
|
12592
12592
|
hasImportantModifier: Q,
|
|
12593
12593
|
baseClassName: D,
|
|
12594
12594
|
maybePostfixModifierPosition: F
|
|
12595
12595
|
} = V(c);
|
|
12596
|
-
if (
|
|
12596
|
+
if (Y) {
|
|
12597
12597
|
w = c + (w.length > 0 ? " " + w : w);
|
|
12598
12598
|
continue;
|
|
12599
12599
|
}
|
|
@@ -12639,7 +12639,7 @@ const n0 = (A) => {
|
|
|
12639
12639
|
function Pp(A, ...q) {
|
|
12640
12640
|
let V, t, o, g = a;
|
|
12641
12641
|
function a(w) {
|
|
12642
|
-
const B = q.reduce((c,
|
|
12642
|
+
const B = q.reduce((c, Y) => Y(c), A());
|
|
12643
12643
|
return V = Op(B), t = V.cache.get, o = V.cache.set, g = l, l(w);
|
|
12644
12644
|
}
|
|
12645
12645
|
function l(w) {
|
|
@@ -12668,7 +12668,7 @@ const Eq = (A) => {
|
|
|
12668
12668
|
const t = w0.exec(A);
|
|
12669
12669
|
return t ? t[1] ? q(t[1]) : V : !1;
|
|
12670
12670
|
}, B0 = (A) => A === "position" || A === "percentage", Y0 = (A) => A === "image" || A === "url", C0 = (A) => A === "length" || A === "size" || A === "bg-size", c0 = (A) => A === "length", lK = (A) => A === "number", wK = (A) => A === "family-name", E0 = (A) => A === "shadow", MK = () => {
|
|
12671
|
-
const A = Eq("color"), q = Eq("font"), V = Eq("text"), t = Eq("font-weight"), o = Eq("tracking"), g = Eq("leading"), a = Eq("breakpoint"), l = Eq("container"), w = Eq("spacing"), B = Eq("radius"), c = Eq("shadow"),
|
|
12671
|
+
const A = Eq("color"), q = Eq("font"), V = Eq("text"), t = Eq("font-weight"), o = Eq("tracking"), g = Eq("leading"), a = Eq("breakpoint"), l = Eq("container"), w = Eq("spacing"), B = Eq("radius"), c = Eq("shadow"), Y = Eq("inset-shadow"), h = Eq("text-shadow"), Q = Eq("drop-shadow"), D = Eq("blur"), F = Eq("perspective"), G = Eq("aspect"), I = Eq("ease"), p = Eq("animate"), K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], W = () => [
|
|
12672
12672
|
"center",
|
|
12673
12673
|
"top",
|
|
12674
12674
|
"bottom",
|
|
@@ -14075,7 +14075,7 @@ const Eq = (A) => {
|
|
|
14075
14075
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
14076
14076
|
*/
|
|
14077
14077
|
"inset-shadow": [{
|
|
14078
|
-
"inset-shadow": ["none",
|
|
14078
|
+
"inset-shadow": ["none", Y, Rg, yg]
|
|
14079
14079
|
}],
|
|
14080
14080
|
/**
|
|
14081
14081
|
* Inset Box Shadow Color
|
|
@@ -15182,7 +15182,7 @@ function Nt(A) {
|
|
|
15182
15182
|
const q = /* @__PURE__ */ YK(A), V = n.forwardRef((t, o) => {
|
|
15183
15183
|
const { children: g, ...a } = t, l = n.Children.toArray(g), w = l.find(cK);
|
|
15184
15184
|
if (w) {
|
|
15185
|
-
const B = w.props.children, c = l.map((
|
|
15185
|
+
const B = w.props.children, c = l.map((Y) => Y === w ? n.Children.count(B) > 1 ? n.Children.only(null) : n.isValidElement(B) ? B.props.children : null : Y);
|
|
15186
15186
|
return /* @__PURE__ */ E.jsx(q, { ...a, ref: o, children: n.isValidElement(B) ? n.cloneElement(B, void 0, c) : null });
|
|
15187
15187
|
}
|
|
15188
15188
|
return /* @__PURE__ */ E.jsx(q, { ...a, ref: o, children: g });
|
|
@@ -15409,16 +15409,16 @@ function Ae(A, q = []) {
|
|
|
15409
15409
|
function t(g, a) {
|
|
15410
15410
|
const l = n.createContext(a), w = V.length;
|
|
15411
15411
|
V = [...V, a];
|
|
15412
|
-
const B = (
|
|
15413
|
-
const { scope: h, children: Q, ...D } =
|
|
15412
|
+
const B = (Y) => {
|
|
15413
|
+
const { scope: h, children: Q, ...D } = Y, F = h?.[A]?.[w] || l, G = n.useMemo(() => D, Object.values(D));
|
|
15414
15414
|
return /* @__PURE__ */ E.jsx(F.Provider, { value: G, children: Q });
|
|
15415
15415
|
};
|
|
15416
15416
|
B.displayName = g + "Provider";
|
|
15417
|
-
function c(
|
|
15417
|
+
function c(Y, h) {
|
|
15418
15418
|
const Q = h?.[A]?.[w] || l, D = n.useContext(Q);
|
|
15419
15419
|
if (D) return D;
|
|
15420
15420
|
if (a !== void 0) return a;
|
|
15421
|
-
throw new Error(`\`${
|
|
15421
|
+
throw new Error(`\`${Y}\` must be used within \`${g}\``);
|
|
15422
15422
|
}
|
|
15423
15423
|
return [B, c];
|
|
15424
15424
|
}
|
|
@@ -15444,8 +15444,8 @@ function TK(...A) {
|
|
|
15444
15444
|
}));
|
|
15445
15445
|
return function(g) {
|
|
15446
15446
|
const a = t.reduce((l, { useScope: w, scopeName: B }) => {
|
|
15447
|
-
const
|
|
15448
|
-
return { ...l, ...
|
|
15447
|
+
const Y = w(g)[`__scope${B}`];
|
|
15448
|
+
return { ...l, ...Y };
|
|
15449
15449
|
}, {});
|
|
15450
15450
|
return n.useMemo(() => ({ [`__scope${q.scopeName}`]: a }), [a]);
|
|
15451
15451
|
};
|
|
@@ -15468,10 +15468,10 @@ function Q0(A) {
|
|
|
15468
15468
|
}
|
|
15469
15469
|
);
|
|
15470
15470
|
B.displayName = l;
|
|
15471
|
-
const c = A + "CollectionItemSlot",
|
|
15471
|
+
const c = A + "CollectionItemSlot", Y = "data-radix-collection-item", h = /* @__PURE__ */ Nt(c), Q = AA.forwardRef(
|
|
15472
15472
|
(F, G) => {
|
|
15473
15473
|
const { scope: I, children: p, ...K } = F, W = AA.useRef(null), S = zA(G, W), O = g(c, I);
|
|
15474
|
-
return AA.useEffect(() => (O.itemMap.set(W, { ref: W, ...K }), () => void O.itemMap.delete(W))), /* @__PURE__ */ E.jsx(h, { [
|
|
15474
|
+
return AA.useEffect(() => (O.itemMap.set(W, { ref: W, ...K }), () => void O.itemMap.delete(W))), /* @__PURE__ */ E.jsx(h, { [Y]: "", ref: S, children: p });
|
|
15475
15475
|
}
|
|
15476
15476
|
);
|
|
15477
15477
|
Q.displayName = c;
|
|
@@ -15480,7 +15480,7 @@ function Q0(A) {
|
|
|
15480
15480
|
return AA.useCallback(() => {
|
|
15481
15481
|
const p = G.collectionRef.current;
|
|
15482
15482
|
if (!p) return [];
|
|
15483
|
-
const K = Array.from(p.querySelectorAll(`[${
|
|
15483
|
+
const K = Array.from(p.querySelectorAll(`[${Y}]`));
|
|
15484
15484
|
return Array.from(G.itemMap.values()).sort(
|
|
15485
15485
|
(O, k) => K.indexOf(O.ref.current) - K.indexOf(k.ref.current)
|
|
15486
15486
|
);
|
|
@@ -15526,7 +15526,7 @@ var dK = "DismissableLayer", bl = "dismissableLayer.update", LK = "dismissableLa
|
|
|
15526
15526
|
onInteractOutside: a,
|
|
15527
15527
|
onDismiss: l,
|
|
15528
15528
|
...w
|
|
15529
|
-
} = A, B = n.useContext(I0), [c,
|
|
15529
|
+
} = A, B = n.useContext(I0), [c, Y] = n.useState(null), h = c?.ownerDocument ?? globalThis?.document, [, Q] = n.useState({}), D = zA(q, (k) => Y(k)), F = Array.from(B.layers), [G] = [...B.layersWithOutsidePointerEventsDisabled].slice(-1), I = F.indexOf(G), p = c ? F.indexOf(c) : -1, K = B.layersWithOutsidePointerEventsDisabled.size > 0, W = p >= I, S = ZK((k) => {
|
|
15530
15530
|
const N = k.target, rA = [...B.branches].some((cA) => cA.contains(N));
|
|
15531
15531
|
!W || rA || (o?.(k), a?.(k), k.defaultPrevented || l?.());
|
|
15532
15532
|
}, h), O = SK((k) => {
|
|
@@ -15648,7 +15648,7 @@ var ll = "focusScope.autoFocusOnMount", wl = "focusScope.autoFocusOnUnmount", Mc
|
|
|
15648
15648
|
onMountAutoFocus: o,
|
|
15649
15649
|
onUnmountAutoFocus: g,
|
|
15650
15650
|
...a
|
|
15651
|
-
} = A, [l, w] = n.useState(null), B = Fe(o), c = Fe(g),
|
|
15651
|
+
} = A, [l, w] = n.useState(null), B = Fe(o), c = Fe(g), Y = n.useRef(null), h = zA(q, (F) => w(F)), Q = n.useRef({
|
|
15652
15652
|
paused: !1,
|
|
15653
15653
|
pause() {
|
|
15654
15654
|
this.paused = !0;
|
|
@@ -15662,11 +15662,11 @@ var ll = "focusScope.autoFocusOnMount", wl = "focusScope.autoFocusOnUnmount", Mc
|
|
|
15662
15662
|
let F = function(K) {
|
|
15663
15663
|
if (Q.paused || !l) return;
|
|
15664
15664
|
const W = K.target;
|
|
15665
|
-
l.contains(W) ?
|
|
15665
|
+
l.contains(W) ? Y.current = W : et(Y.current, { select: !0 });
|
|
15666
15666
|
}, G = function(K) {
|
|
15667
15667
|
if (Q.paused || !l) return;
|
|
15668
15668
|
const W = K.relatedTarget;
|
|
15669
|
-
W !== null && (l.contains(W) || et(
|
|
15669
|
+
W !== null && (l.contains(W) || et(Y.current, { select: !0 }));
|
|
15670
15670
|
}, I = function(K) {
|
|
15671
15671
|
if (document.activeElement === document.body)
|
|
15672
15672
|
for (const S of K)
|
|
@@ -15889,7 +15889,7 @@ function hc(A, q, V) {
|
|
|
15889
15889
|
reference: t,
|
|
15890
15890
|
floating: o
|
|
15891
15891
|
} = A;
|
|
15892
|
-
const g = zV(q), a = Zw(q), l = Rw(a), w = Ge(q), B = g === "y", c = t.x + t.width / 2 - o.width / 2,
|
|
15892
|
+
const g = zV(q), a = Zw(q), l = Rw(a), w = Ge(q), B = g === "y", c = t.x + t.width / 2 - o.width / 2, Y = t.y + t.height / 2 - o.height / 2, h = t[l] / 2 - o[l] / 2;
|
|
15893
15893
|
let Q;
|
|
15894
15894
|
switch (w) {
|
|
15895
15895
|
case "top":
|
|
@@ -15907,13 +15907,13 @@ function hc(A, q, V) {
|
|
|
15907
15907
|
case "right":
|
|
15908
15908
|
Q = {
|
|
15909
15909
|
x: t.x + t.width,
|
|
15910
|
-
y:
|
|
15910
|
+
y: Y
|
|
15911
15911
|
};
|
|
15912
15912
|
break;
|
|
15913
15913
|
case "left":
|
|
15914
15914
|
Q = {
|
|
15915
15915
|
x: t.x - o.width,
|
|
15916
|
-
y:
|
|
15916
|
+
y: Y
|
|
15917
15917
|
};
|
|
15918
15918
|
break;
|
|
15919
15919
|
default:
|
|
@@ -15945,7 +15945,7 @@ const oT = async (A, q, V) => {
|
|
|
15945
15945
|
strategy: o
|
|
15946
15946
|
}), {
|
|
15947
15947
|
x: c,
|
|
15948
|
-
y:
|
|
15948
|
+
y: Y
|
|
15949
15949
|
} = hc(B, t, w), h = t, Q = {}, D = 0;
|
|
15950
15950
|
for (let F = 0; F < l.length; F++) {
|
|
15951
15951
|
const {
|
|
@@ -15958,7 +15958,7 @@ const oT = async (A, q, V) => {
|
|
|
15958
15958
|
reset: S
|
|
15959
15959
|
} = await I({
|
|
15960
15960
|
x: c,
|
|
15961
|
-
y:
|
|
15961
|
+
y: Y,
|
|
15962
15962
|
initialPlacement: t,
|
|
15963
15963
|
placement: h,
|
|
15964
15964
|
strategy: o,
|
|
@@ -15970,7 +15970,7 @@ const oT = async (A, q, V) => {
|
|
|
15970
15970
|
floating: q
|
|
15971
15971
|
}
|
|
15972
15972
|
});
|
|
15973
|
-
c = p ?? c,
|
|
15973
|
+
c = p ?? c, Y = K ?? Y, Q = {
|
|
15974
15974
|
...Q,
|
|
15975
15975
|
[G]: {
|
|
15976
15976
|
...Q[G],
|
|
@@ -15982,12 +15982,12 @@ const oT = async (A, q, V) => {
|
|
|
15982
15982
|
strategy: o
|
|
15983
15983
|
}) : S.rects), {
|
|
15984
15984
|
x: c,
|
|
15985
|
-
y:
|
|
15985
|
+
y: Y
|
|
15986
15986
|
} = hc(B, h, w)), F = -1);
|
|
15987
15987
|
}
|
|
15988
15988
|
return {
|
|
15989
15989
|
x: c,
|
|
15990
|
-
y:
|
|
15990
|
+
y: Y,
|
|
15991
15991
|
placement: h,
|
|
15992
15992
|
strategy: o,
|
|
15993
15993
|
middlewareData: Q
|
|
@@ -16006,15 +16006,15 @@ async function _o(A, q) {
|
|
|
16006
16006
|
} = A, {
|
|
16007
16007
|
boundary: B = "clippingAncestors",
|
|
16008
16008
|
rootBoundary: c = "viewport",
|
|
16009
|
-
elementContext:
|
|
16009
|
+
elementContext: Y = "floating",
|
|
16010
16010
|
altBoundary: h = !1,
|
|
16011
16011
|
padding: Q = 0
|
|
16012
|
-
} = De(q, A), D = K0(Q), G = l[h ?
|
|
16012
|
+
} = De(q, A), D = K0(Q), G = l[h ? Y === "floating" ? "reference" : "floating" : Y], I = aa(await g.getClippingRect({
|
|
16013
16013
|
element: (V = await (g.isElement == null ? void 0 : g.isElement(G))) == null || V ? G : G.contextElement || await (g.getDocumentElement == null ? void 0 : g.getDocumentElement(l.floating)),
|
|
16014
16014
|
boundary: B,
|
|
16015
16015
|
rootBoundary: c,
|
|
16016
16016
|
strategy: w
|
|
16017
|
-
})), p =
|
|
16017
|
+
})), p = Y === "floating" ? {
|
|
16018
16018
|
x: t,
|
|
16019
16019
|
y: o,
|
|
16020
16020
|
width: a.floating.width,
|
|
@@ -16056,13 +16056,13 @@ const iT = (A) => ({
|
|
|
16056
16056
|
} = De(A, q) || {};
|
|
16057
16057
|
if (B == null)
|
|
16058
16058
|
return {};
|
|
16059
|
-
const
|
|
16059
|
+
const Y = K0(c), h = {
|
|
16060
16060
|
x: V,
|
|
16061
16061
|
y: t
|
|
16062
16062
|
}, Q = Zw(o), D = Rw(Q), F = await a.getDimensions(B), G = Q === "y", I = G ? "top" : "left", p = G ? "bottom" : "right", K = G ? "clientHeight" : "clientWidth", W = g.reference[D] + g.reference[Q] - h[Q] - g.floating[D], S = h[Q] - g.reference[Q], O = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(B));
|
|
16063
16063
|
let k = O ? O[K] : 0;
|
|
16064
16064
|
(!k || !await (a.isElement == null ? void 0 : a.isElement(O))) && (k = l.floating[K] || g.floating[D]);
|
|
16065
|
-
const N = W / 2 - S / 2, rA = k / 2 - F[D] / 2 - 1, cA = gt(
|
|
16065
|
+
const N = W / 2 - S / 2, rA = k / 2 - F[D] / 2 - 1, cA = gt(Y[I], rA), QA = gt(Y[p], rA), CA = cA, iA = k - F[D] - QA, nA = k / 2 - F[D] / 2 + N, EA = Xl(CA, nA, iA), J = !w.arrow && js(o) != null && nA !== EA && g.reference[D] / 2 - (nA < CA ? cA : QA) - F[D] / 2 < 0, VA = J ? nA < CA ? nA - CA : nA - iA : 0;
|
|
16066
16066
|
return {
|
|
16067
16067
|
[Q]: h[Q] + VA,
|
|
16068
16068
|
data: {
|
|
@@ -16090,7 +16090,7 @@ const iT = (A) => ({
|
|
|
16090
16090
|
elements: B
|
|
16091
16091
|
} = q, {
|
|
16092
16092
|
mainAxis: c = !0,
|
|
16093
|
-
crossAxis:
|
|
16093
|
+
crossAxis: Y = !0,
|
|
16094
16094
|
fallbackPlacements: h,
|
|
16095
16095
|
fallbackStrategy: Q = "bestFit",
|
|
16096
16096
|
fallbackAxisSideDirection: D = "none",
|
|
@@ -16103,7 +16103,7 @@ const iT = (A) => ({
|
|
|
16103
16103
|
!h && O && S.push(...tT(l, F, D, W));
|
|
16104
16104
|
const k = [l, ...S], N = await _o(q, G), rA = [];
|
|
16105
16105
|
let cA = ((t = g.flip) == null ? void 0 : t.overflows) || [];
|
|
16106
|
-
if (c && rA.push(N[I]),
|
|
16106
|
+
if (c && rA.push(N[I]), Y) {
|
|
16107
16107
|
const nA = $K(o, a, W);
|
|
16108
16108
|
rA.push(N[nA[0]], N[nA[1]]);
|
|
16109
16109
|
}
|
|
@@ -16113,7 +16113,7 @@ const iT = (A) => ({
|
|
|
16113
16113
|
}], !rA.every((nA) => nA <= 0)) {
|
|
16114
16114
|
var QA, CA;
|
|
16115
16115
|
const nA = (((QA = g.flip) == null ? void 0 : QA.index) || 0) + 1, EA = k[nA];
|
|
16116
|
-
if (EA && (!(
|
|
16116
|
+
if (EA && (!(Y === "alignment" ? p !== zV(EA) : !1) || // We leave the current main axis only if every placement on that axis
|
|
16117
16117
|
// overflows the main axis.
|
|
16118
16118
|
cA.every((d) => zV(d.placement) === p ? d.overflows[0] > 0 : !0)))
|
|
16119
16119
|
return {
|
|
@@ -16215,19 +16215,19 @@ async function rT(A, q) {
|
|
|
16215
16215
|
placement: V,
|
|
16216
16216
|
platform: t,
|
|
16217
16217
|
elements: o
|
|
16218
|
-
} = A, g = await (t.isRTL == null ? void 0 : t.isRTL(o.floating)), a = Ge(V), l = js(V), w = zV(V) === "y", B = T0.has(a) ? -1 : 1, c = g && w ? -1 : 1,
|
|
16218
|
+
} = A, g = await (t.isRTL == null ? void 0 : t.isRTL(o.floating)), a = Ge(V), l = js(V), w = zV(V) === "y", B = T0.has(a) ? -1 : 1, c = g && w ? -1 : 1, Y = De(q, A);
|
|
16219
16219
|
let {
|
|
16220
16220
|
mainAxis: h,
|
|
16221
16221
|
crossAxis: Q,
|
|
16222
16222
|
alignmentAxis: D
|
|
16223
|
-
} = typeof
|
|
16224
|
-
mainAxis:
|
|
16223
|
+
} = typeof Y == "number" ? {
|
|
16224
|
+
mainAxis: Y,
|
|
16225
16225
|
crossAxis: 0,
|
|
16226
16226
|
alignmentAxis: null
|
|
16227
16227
|
} : {
|
|
16228
|
-
mainAxis:
|
|
16229
|
-
crossAxis:
|
|
16230
|
-
alignmentAxis:
|
|
16228
|
+
mainAxis: Y.mainAxis || 0,
|
|
16229
|
+
crossAxis: Y.crossAxis || 0,
|
|
16230
|
+
alignmentAxis: Y.alignmentAxis
|
|
16231
16231
|
};
|
|
16232
16232
|
return l && typeof D == "number" && (Q = l === "end" ? D * -1 : D), w ? {
|
|
16233
16233
|
x: Q * c,
|
|
@@ -16287,20 +16287,20 @@ const nT = function(A) {
|
|
|
16287
16287
|
} = De(A, q), B = {
|
|
16288
16288
|
x: V,
|
|
16289
16289
|
y: t
|
|
16290
|
-
}, c = await _o(q, w),
|
|
16291
|
-
let Q = B[h], D = B[
|
|
16290
|
+
}, c = await _o(q, w), Y = zV(Ge(o)), h = yw(Y);
|
|
16291
|
+
let Q = B[h], D = B[Y];
|
|
16292
16292
|
if (g) {
|
|
16293
16293
|
const G = h === "y" ? "top" : "left", I = h === "y" ? "bottom" : "right", p = Q + c[G], K = Q - c[I];
|
|
16294
16294
|
Q = Xl(p, Q, K);
|
|
16295
16295
|
}
|
|
16296
16296
|
if (a) {
|
|
16297
|
-
const G =
|
|
16297
|
+
const G = Y === "y" ? "top" : "left", I = Y === "y" ? "bottom" : "right", p = D + c[G], K = D - c[I];
|
|
16298
16298
|
D = Xl(p, D, K);
|
|
16299
16299
|
}
|
|
16300
16300
|
const F = l.fn({
|
|
16301
16301
|
...q,
|
|
16302
16302
|
[h]: Q,
|
|
16303
|
-
[
|
|
16303
|
+
[Y]: D
|
|
16304
16304
|
});
|
|
16305
16305
|
return {
|
|
16306
16306
|
...F,
|
|
@@ -16309,7 +16309,7 @@ const nT = function(A) {
|
|
|
16309
16309
|
y: F.y - t,
|
|
16310
16310
|
enabled: {
|
|
16311
16311
|
[h]: g,
|
|
16312
|
-
[
|
|
16312
|
+
[Y]: a
|
|
16313
16313
|
}
|
|
16314
16314
|
}
|
|
16315
16315
|
};
|
|
@@ -16332,8 +16332,8 @@ const nT = function(A) {
|
|
|
16332
16332
|
} = De(A, q), c = {
|
|
16333
16333
|
x: V,
|
|
16334
16334
|
y: t
|
|
16335
|
-
},
|
|
16336
|
-
let Q = c[h], D = c[
|
|
16335
|
+
}, Y = zV(o), h = yw(Y);
|
|
16336
|
+
let Q = c[h], D = c[Y];
|
|
16337
16337
|
const F = De(l, q), G = typeof F == "number" ? {
|
|
16338
16338
|
mainAxis: F,
|
|
16339
16339
|
crossAxis: 0
|
|
@@ -16348,12 +16348,12 @@ const nT = function(A) {
|
|
|
16348
16348
|
}
|
|
16349
16349
|
if (B) {
|
|
16350
16350
|
var I, p;
|
|
16351
|
-
const K = h === "y" ? "width" : "height", W = T0.has(Ge(o)), S = g.reference[
|
|
16351
|
+
const K = h === "y" ? "width" : "height", W = T0.has(Ge(o)), S = g.reference[Y] - g.floating[K] + (W && ((I = a.offset) == null ? void 0 : I[Y]) || 0) + (W ? 0 : G.crossAxis), O = g.reference[Y] + g.reference[K] + (W ? 0 : ((p = a.offset) == null ? void 0 : p[Y]) || 0) - (W ? G.crossAxis : 0);
|
|
16352
16352
|
D < S ? D = S : D > O && (D = O);
|
|
16353
16353
|
}
|
|
16354
16354
|
return {
|
|
16355
16355
|
[h]: Q,
|
|
16356
|
-
[
|
|
16356
|
+
[Y]: D
|
|
16357
16357
|
};
|
|
16358
16358
|
}
|
|
16359
16359
|
};
|
|
@@ -16372,12 +16372,12 @@ const nT = function(A) {
|
|
|
16372
16372
|
apply: w = () => {
|
|
16373
16373
|
},
|
|
16374
16374
|
...B
|
|
16375
|
-
} = De(A, q), c = await _o(q, B),
|
|
16375
|
+
} = De(A, q), c = await _o(q, B), Y = Ge(o), h = js(o), Q = zV(o) === "y", {
|
|
16376
16376
|
width: D,
|
|
16377
16377
|
height: F
|
|
16378
16378
|
} = g.floating;
|
|
16379
16379
|
let G, I;
|
|
16380
|
-
|
|
16380
|
+
Y === "top" || Y === "bottom" ? (G = Y, I = h === (await (a.isRTL == null ? void 0 : a.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (I = Y, G = h === "end" ? "top" : "bottom");
|
|
16381
16381
|
const p = F - c.top - c.bottom, K = D - c.left - c.right, W = gt(F - c[G], p), S = gt(D - c[I], K), O = !q.middlewareData.shift;
|
|
16382
16382
|
let k = W, N = S;
|
|
16383
16383
|
if ((V = q.middlewareData.shift) != null && V.enabled.x && (N = K), (t = q.middlewareData.shift) != null && t.enabled.y && (k = p), O && !h) {
|
|
@@ -16557,18 +16557,18 @@ function ft(A, q, V, t) {
|
|
|
16557
16557
|
let a = bV(1);
|
|
16558
16558
|
q && (t ? UV(t) && (a = us(t)) : a = us(A));
|
|
16559
16559
|
const l = QT(g, V, t) ? L0(g) : bV(0);
|
|
16560
|
-
let w = (o.left + l.x) / a.x, B = (o.top + l.y) / a.y, c = o.width / a.x,
|
|
16560
|
+
let w = (o.left + l.x) / a.x, B = (o.top + l.y) / a.y, c = o.width / a.x, Y = o.height / a.y;
|
|
16561
16561
|
if (g) {
|
|
16562
16562
|
const h = sV(g), Q = t && UV(t) ? sV(t) : t;
|
|
16563
16563
|
let D = h, F = $l(D);
|
|
16564
16564
|
for (; F && t && Q !== D; ) {
|
|
16565
16565
|
const G = us(F), I = F.getBoundingClientRect(), p = xV(F), K = I.left + (F.clientLeft + parseFloat(p.paddingLeft)) * G.x, W = I.top + (F.clientTop + parseFloat(p.paddingTop)) * G.y;
|
|
16566
|
-
w *= G.x, B *= G.y, c *= G.x,
|
|
16566
|
+
w *= G.x, B *= G.y, c *= G.x, Y *= G.y, w += K, B += W, D = sV(F), F = $l(D);
|
|
16567
16567
|
}
|
|
16568
16568
|
}
|
|
16569
16569
|
return aa({
|
|
16570
16570
|
width: c,
|
|
16571
|
-
height:
|
|
16571
|
+
height: Y,
|
|
16572
16572
|
x: w,
|
|
16573
16573
|
y: B
|
|
16574
16574
|
});
|
|
@@ -16598,12 +16598,12 @@ function IT(A) {
|
|
|
16598
16598
|
scrollLeft: 0,
|
|
16599
16599
|
scrollTop: 0
|
|
16600
16600
|
}, B = bV(1);
|
|
16601
|
-
const c = bV(0),
|
|
16602
|
-
if ((
|
|
16601
|
+
const c = bV(0), Y = _V(t);
|
|
16602
|
+
if ((Y || !Y && !g) && ((Os(t) !== "body" || ni(a)) && (w = da(t)), _V(t))) {
|
|
16603
16603
|
const Q = ft(t);
|
|
16604
16604
|
B = us(t), c.x = Q.x + t.clientLeft, c.y = Q.y + t.clientTop;
|
|
16605
16605
|
}
|
|
16606
|
-
const h = a && !
|
|
16606
|
+
const h = a && !Y && !g ? W0(a, w) : bV(0);
|
|
16607
16607
|
return {
|
|
16608
16608
|
width: V.width * B.x,
|
|
16609
16609
|
height: V.height * B.y,
|
|
@@ -16636,7 +16636,7 @@ function KT(A, q) {
|
|
|
16636
16636
|
}
|
|
16637
16637
|
const B = La(t);
|
|
16638
16638
|
if (B <= 0) {
|
|
16639
|
-
const c = t.ownerDocument,
|
|
16639
|
+
const c = t.ownerDocument, Y = c.body, h = getComputedStyle(Y), Q = c.compatMode === "CSS1Compat" && parseFloat(h.marginLeft) + parseFloat(h.marginRight) || 0, D = Math.abs(t.clientWidth - Y.clientWidth - Q);
|
|
16640
16640
|
D <= Gc && (g -= D);
|
|
16641
16641
|
} else B <= Gc && (g += B);
|
|
16642
16642
|
return {
|
|
@@ -16700,8 +16700,8 @@ function dT(A) {
|
|
|
16700
16700
|
strategy: o
|
|
16701
16701
|
} = A;
|
|
16702
16702
|
const a = [...V === "clippingAncestors" ? xa(q) ? [] : xT(q, this._c) : [].concat(V), t], l = a[0], w = a.reduce((B, c) => {
|
|
16703
|
-
const
|
|
16704
|
-
return B.top = tV(
|
|
16703
|
+
const Y = Qc(q, c, o);
|
|
16704
|
+
return B.top = tV(Y.top, B.top), B.right = gt(Y.right, B.right), B.bottom = gt(Y.bottom, B.bottom), B.left = tV(Y.left, B.left), B;
|
|
16705
16705
|
}, Qc(q, l, o));
|
|
16706
16706
|
return {
|
|
16707
16707
|
width: w.right - w.left,
|
|
@@ -16736,9 +16736,9 @@ function WT(A, q, V) {
|
|
|
16736
16736
|
w.x = Q.x + q.clientLeft, w.y = Q.y + q.clientTop;
|
|
16737
16737
|
} else o && B();
|
|
16738
16738
|
g && !t && o && B();
|
|
16739
|
-
const c = o && !t && !g ? W0(o, l) : bV(0),
|
|
16739
|
+
const c = o && !t && !g ? W0(o, l) : bV(0), Y = a.left + l.scrollLeft - w.x - c.x, h = a.top + l.scrollTop - w.y - c.y;
|
|
16740
16740
|
return {
|
|
16741
|
-
x:
|
|
16741
|
+
x: Y,
|
|
16742
16742
|
y: h,
|
|
16743
16743
|
width: a.width,
|
|
16744
16744
|
height: a.height
|
|
@@ -16814,13 +16814,13 @@ function ST(A, q) {
|
|
|
16814
16814
|
l === void 0 && (l = !1), w === void 0 && (w = 1), g();
|
|
16815
16815
|
const B = A.getBoundingClientRect(), {
|
|
16816
16816
|
left: c,
|
|
16817
|
-
top:
|
|
16817
|
+
top: Y,
|
|
16818
16818
|
width: h,
|
|
16819
16819
|
height: Q
|
|
16820
16820
|
} = B;
|
|
16821
16821
|
if (l || q(), !h || !Q)
|
|
16822
16822
|
return;
|
|
16823
|
-
const D = Zg(
|
|
16823
|
+
const D = Zg(Y), F = Zg(o.clientWidth - (c + h)), G = Zg(o.clientHeight - (Y + Q)), I = Zg(c), K = {
|
|
16824
16824
|
rootMargin: -D + "px " + -F + "px " + -G + "px " + -I + "px",
|
|
16825
16825
|
threshold: tV(0, gt(1, w)) || 1
|
|
16826
16826
|
};
|
|
@@ -16863,7 +16863,7 @@ function kT(A, q, V, t) {
|
|
|
16863
16863
|
passive: !0
|
|
16864
16864
|
}), g && I.addEventListener("resize", V);
|
|
16865
16865
|
});
|
|
16866
|
-
const
|
|
16866
|
+
const Y = B && l ? ST(B, V) : null;
|
|
16867
16867
|
let h = -1, Q = null;
|
|
16868
16868
|
a && (Q = new ResizeObserver((I) => {
|
|
16869
16869
|
let [p] = I;
|
|
@@ -16882,7 +16882,7 @@ function kT(A, q, V, t) {
|
|
|
16882
16882
|
var I;
|
|
16883
16883
|
c.forEach((p) => {
|
|
16884
16884
|
o && p.removeEventListener("scroll", V), g && p.removeEventListener("resize", V);
|
|
16885
|
-
}),
|
|
16885
|
+
}), Y?.(), (I = Q) == null || I.disconnect(), Q = null, w && cancelAnimationFrame(D);
|
|
16886
16886
|
};
|
|
16887
16887
|
}
|
|
16888
16888
|
const NT = nT, fT = lT, JT = gT, jT = MT, OT = aT, uc = iT, HT = wT, zT = (A, q, V) => {
|
|
@@ -16957,7 +16957,7 @@ function bT(A) {
|
|
|
16957
16957
|
transform: l = !0,
|
|
16958
16958
|
whileElementsMounted: w,
|
|
16959
16959
|
open: B
|
|
16960
|
-
} = A, [c,
|
|
16960
|
+
} = A, [c, Y] = n.useState({
|
|
16961
16961
|
x: 0,
|
|
16962
16962
|
y: 0,
|
|
16963
16963
|
strategy: V,
|
|
@@ -16988,12 +16988,12 @@ function bT(A) {
|
|
|
16988
16988
|
isPositioned: CA.current !== !1
|
|
16989
16989
|
};
|
|
16990
16990
|
nA.current && !ra(N.current, P) && (N.current = P, ai.flushSync(() => {
|
|
16991
|
-
|
|
16991
|
+
Y(P);
|
|
16992
16992
|
}));
|
|
16993
16993
|
});
|
|
16994
16994
|
}, [h, q, V, QA, CA]);
|
|
16995
16995
|
Aa(() => {
|
|
16996
|
-
B === !1 && N.current.isPositioned && (N.current.isPositioned = !1,
|
|
16996
|
+
B === !1 && N.current.isPositioned && (N.current.isPositioned = !1, Y((d) => ({
|
|
16997
16997
|
...d,
|
|
16998
16998
|
isPositioned: !1
|
|
16999
16999
|
})));
|
|
@@ -17154,7 +17154,7 @@ var Jw = "PopperContent", [gU, aU] = f0(Jw), z0 = n.forwardRef(
|
|
|
17154
17154
|
avoidCollisions: w = !0,
|
|
17155
17155
|
collisionBoundary: B = [],
|
|
17156
17156
|
collisionPadding: c = 0,
|
|
17157
|
-
sticky:
|
|
17157
|
+
sticky: Y = "partial",
|
|
17158
17158
|
hideWhenDetached: h = !1,
|
|
17159
17159
|
updatePositionStrategy: Q = "optimized",
|
|
17160
17160
|
onPlaced: D,
|
|
@@ -17179,7 +17179,7 @@ var Jw = "PopperContent", [gU, aU] = f0(Jw), z0 = n.forwardRef(
|
|
|
17179
17179
|
w && $T({
|
|
17180
17180
|
mainAxis: !0,
|
|
17181
17181
|
crossAxis: !1,
|
|
17182
|
-
limiter:
|
|
17182
|
+
limiter: Y === "partial" ? AU() : void 0,
|
|
17183
17183
|
...iA
|
|
17184
17184
|
}),
|
|
17185
17185
|
w && qU({ ...iA }),
|
|
@@ -17314,9 +17314,9 @@ var lU = (A) => ({
|
|
|
17314
17314
|
name: "transformOrigin",
|
|
17315
17315
|
options: A,
|
|
17316
17316
|
fn(q) {
|
|
17317
|
-
const { placement: V, rects: t, middlewareData: o } = q, a = o.arrow?.centerOffset !== 0, l = a ? 0 : A.arrowWidth, w = a ? 0 : A.arrowHeight, [B, c] = b0(V),
|
|
17317
|
+
const { placement: V, rects: t, middlewareData: o } = q, a = o.arrow?.centerOffset !== 0, l = a ? 0 : A.arrowWidth, w = a ? 0 : A.arrowHeight, [B, c] = b0(V), Y = { start: "0%", center: "50%", end: "100%" }[c], h = (o.arrow?.x ?? 0) + l / 2, Q = (o.arrow?.y ?? 0) + w / 2;
|
|
17318
17318
|
let D = "", F = "";
|
|
17319
|
-
return B === "bottom" ? (D = a ?
|
|
17319
|
+
return B === "bottom" ? (D = a ? Y : `${h}px`, F = `${-w}px`) : B === "top" ? (D = a ? Y : `${h}px`, F = `${t.floating.height + w}px`) : B === "right" ? (D = `${-w}px`, F = a ? Y : `${Q}px`) : B === "left" && (D = `${t.floating.width + w}px`, F = a ? Y : `${Q}px`), { data: { x: D, y: F } };
|
|
17320
17320
|
}
|
|
17321
17321
|
});
|
|
17322
17322
|
function b0(A) {
|
|
@@ -17345,17 +17345,17 @@ function rt({
|
|
|
17345
17345
|
{
|
|
17346
17346
|
const c = n.useRef(A !== void 0);
|
|
17347
17347
|
n.useEffect(() => {
|
|
17348
|
-
const
|
|
17349
|
-
|
|
17350
|
-
`${t} is changing from ${
|
|
17348
|
+
const Y = c.current;
|
|
17349
|
+
Y !== l && console.warn(
|
|
17350
|
+
`${t} is changing from ${Y ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
17351
17351
|
), c.current = l;
|
|
17352
17352
|
}, [l, t]);
|
|
17353
17353
|
}
|
|
17354
17354
|
const B = n.useCallback(
|
|
17355
17355
|
(c) => {
|
|
17356
17356
|
if (l) {
|
|
17357
|
-
const
|
|
17358
|
-
|
|
17357
|
+
const Y = YU(c) ? c(A) : c;
|
|
17358
|
+
Y !== A && a.current?.(Y);
|
|
17359
17359
|
} else
|
|
17360
17360
|
g(c);
|
|
17361
17361
|
},
|
|
@@ -17423,12 +17423,12 @@ var cU = $0, EU = function(A) {
|
|
|
17423
17423
|
}, mU = function(A, q, V, t) {
|
|
17424
17424
|
var o = hU(q, Array.isArray(A) ? A : [A]);
|
|
17425
17425
|
kg[V] || (kg[V] = /* @__PURE__ */ new WeakMap());
|
|
17426
|
-
var g = kg[V], a = [], l = /* @__PURE__ */ new Set(), w = new Set(o), B = function(
|
|
17427
|
-
!
|
|
17426
|
+
var g = kg[V], a = [], l = /* @__PURE__ */ new Set(), w = new Set(o), B = function(Y) {
|
|
17427
|
+
!Y || l.has(Y) || (l.add(Y), B(Y.parentNode));
|
|
17428
17428
|
};
|
|
17429
17429
|
o.forEach(B);
|
|
17430
|
-
var c = function(
|
|
17431
|
-
!
|
|
17430
|
+
var c = function(Y) {
|
|
17431
|
+
!Y || w.has(Y) || Array.prototype.forEach.call(Y.children, function(h) {
|
|
17432
17432
|
if (l.has(h))
|
|
17433
17433
|
c(h);
|
|
17434
17434
|
else
|
|
@@ -17441,9 +17441,9 @@ var cU = $0, EU = function(A) {
|
|
|
17441
17441
|
});
|
|
17442
17442
|
};
|
|
17443
17443
|
return c(q), l.clear(), Yl++, function() {
|
|
17444
|
-
a.forEach(function(
|
|
17445
|
-
var h = hs.get(
|
|
17446
|
-
hs.set(
|
|
17444
|
+
a.forEach(function(Y) {
|
|
17445
|
+
var h = hs.get(Y) - 1, Q = g.get(Y) - 1;
|
|
17446
|
+
hs.set(Y, h), g.set(Y, Q), h || (Sg.has(Y) || Y.removeAttribute(t), Sg.delete(Y)), Q || Y.removeAttribute(V);
|
|
17447
17447
|
}), Yl--, Yl || (hs = /* @__PURE__ */ new WeakMap(), hs = /* @__PURE__ */ new WeakMap(), Sg = /* @__PURE__ */ new WeakMap(), kg = {});
|
|
17448
17448
|
};
|
|
17449
17449
|
}, zw = function(A, q, V) {
|
|
@@ -17601,11 +17601,11 @@ var eh = TU(), cl = function() {
|
|
|
17601
17601
|
onScrollCapture: cl,
|
|
17602
17602
|
onWheelCapture: cl,
|
|
17603
17603
|
onTouchMoveCapture: cl
|
|
17604
|
-
}), o = t[0], g = t[1], a = A.forwardProps, l = A.children, w = A.className, B = A.removeScrollBar, c = A.enabled,
|
|
17604
|
+
}), o = t[0], g = t[1], a = A.forwardProps, l = A.children, w = A.className, B = A.removeScrollBar, c = A.enabled, Y = A.shards, h = A.sideCar, Q = A.noRelative, D = A.noIsolation, F = A.inert, G = A.allowPinchZoom, I = A.as, p = I === void 0 ? "div" : I, K = A.gapMode, W = qh(A, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), S = h, O = uU([V, q]), k = OV(OV({}, W), o);
|
|
17605
17605
|
return n.createElement(
|
|
17606
17606
|
n.Fragment,
|
|
17607
17607
|
null,
|
|
17608
|
-
c && n.createElement(S, { sideCar: eh, removeScrollBar: B, shards:
|
|
17608
|
+
c && n.createElement(S, { sideCar: eh, removeScrollBar: B, shards: Y, noRelative: Q, noIsolation: D, inert: F, setCallbacks: g, allowPinchZoom: !!G, lockRef: V, gapMode: K }),
|
|
17609
17609
|
a ? n.cloneElement(n.Children.only(l), OV(OV({}, k), { ref: O })) : n.createElement(p, OV({}, k, { className: w, ref: O }), l)
|
|
17610
17610
|
);
|
|
17611
17611
|
});
|
|
@@ -17804,12 +17804,12 @@ var ms = Aw ? { passive: !1 } : !1, OU = function(A) {
|
|
|
17804
17804
|
}, bU = function(A, q) {
|
|
17805
17805
|
return A === "h" && q === "rtl" ? -1 : 1;
|
|
17806
17806
|
}, XU = function(A, q, V, t, o) {
|
|
17807
|
-
var g = bU(A, window.getComputedStyle(q).direction), a = g * t, l = V.target, w = q.contains(l), B = !1, c = a > 0,
|
|
17807
|
+
var g = bU(A, window.getComputedStyle(q).direction), a = g * t, l = V.target, w = q.contains(l), B = !1, c = a > 0, Y = 0, h = 0;
|
|
17808
17808
|
do {
|
|
17809
17809
|
if (!l)
|
|
17810
17810
|
break;
|
|
17811
17811
|
var Q = ih(A, l), D = Q[0], F = Q[1], G = Q[2], I = F - G - g * D;
|
|
17812
|
-
(D || I) && oh(A, l) && (
|
|
17812
|
+
(D || I) && oh(A, l) && (Y += I, h += D);
|
|
17813
17813
|
var p = l.parentNode;
|
|
17814
17814
|
l = p && p.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? p.host : p;
|
|
17815
17815
|
} while (
|
|
@@ -17817,7 +17817,7 @@ var ms = Aw ? { passive: !1 } : !1, OU = function(A) {
|
|
|
17817
17817
|
!w && l !== document.body || // self content
|
|
17818
17818
|
w && (q.contains(l) || q === l)
|
|
17819
17819
|
);
|
|
17820
|
-
return (c && Math.abs(
|
|
17820
|
+
return (c && Math.abs(Y) < 1 || !c && Math.abs(h) < 1) && (B = !0), B;
|
|
17821
17821
|
}, fg = function(A) {
|
|
17822
17822
|
return "changedTouches" in A ? [A.changedTouches[0].clientX, A.changedTouches[0].clientY] : [0, 0];
|
|
17823
17823
|
}, xc = function(A) {
|
|
@@ -17890,15 +17890,15 @@ function qx(A) {
|
|
|
17890
17890
|
}, 1);
|
|
17891
17891
|
}, []), c = n.useCallback(function(F) {
|
|
17892
17892
|
V.current = fg(F), t.current = void 0;
|
|
17893
|
-
}, []),
|
|
17893
|
+
}, []), Y = n.useCallback(function(F) {
|
|
17894
17894
|
B(F.type, xc(F), F.target, l(F, A.lockRef.current));
|
|
17895
17895
|
}, []), h = n.useCallback(function(F) {
|
|
17896
17896
|
B(F.type, fg(F), F.target, l(F, A.lockRef.current));
|
|
17897
17897
|
}, []);
|
|
17898
17898
|
n.useEffect(function() {
|
|
17899
17899
|
return Fs.push(g), A.setCallbacks({
|
|
17900
|
-
onScrollCapture:
|
|
17901
|
-
onWheelCapture:
|
|
17900
|
+
onScrollCapture: Y,
|
|
17901
|
+
onWheelCapture: Y,
|
|
17902
17902
|
onTouchMoveCapture: h
|
|
17903
17903
|
}), document.addEventListener("wheel", w, ms), document.addEventListener("touchmove", w, ms), document.addEventListener("touchstart", c, ms), function() {
|
|
17904
17904
|
Fs = Fs.filter(function(F) {
|
|
@@ -17939,7 +17939,7 @@ var tx = [" ", "Enter", "ArrowUp", "ArrowDown"], sx = [" ", "Enter"], Jt = "Sele
|
|
|
17939
17939
|
onValueChange: w,
|
|
17940
17940
|
dir: B,
|
|
17941
17941
|
name: c,
|
|
17942
|
-
autoComplete:
|
|
17942
|
+
autoComplete: Y,
|
|
17943
17943
|
disabled: h,
|
|
17944
17944
|
required: Q,
|
|
17945
17945
|
form: D
|
|
@@ -17997,7 +17997,7 @@ var tx = [" ", "Enter", "ArrowUp", "ArrowDown"], sx = [" ", "Enter"], Jt = "Sele
|
|
|
17997
17997
|
required: Q,
|
|
17998
17998
|
tabIndex: -1,
|
|
17999
17999
|
name: c,
|
|
18000
|
-
autoComplete:
|
|
18000
|
+
autoComplete: Y,
|
|
18001
18001
|
value: rA,
|
|
18002
18002
|
onChange: (J) => cA(J.target.value),
|
|
18003
18003
|
disabled: h,
|
|
@@ -18016,7 +18016,7 @@ var tx = [" ", "Enter", "ArrowUp", "ArrowDown"], sx = [" ", "Enter"], Jt = "Sele
|
|
|
18016
18016
|
gh.displayName = Jt;
|
|
18017
18017
|
var ah = "SelectTrigger", rh = n.forwardRef(
|
|
18018
18018
|
(A, q) => {
|
|
18019
|
-
const { __scopeSelect: V, disabled: t = !1, ...o } = A, g = ka(V), a = lt(ah, V), l = a.disabled || t, w = zA(q, a.onTriggerChange), B = Sa(V), c = n.useRef("touch"), [
|
|
18019
|
+
const { __scopeSelect: V, disabled: t = !1, ...o } = A, g = ka(V), a = lt(ah, V), l = a.disabled || t, w = zA(q, a.onTriggerChange), B = Sa(V), c = n.useRef("touch"), [Y, h, Q] = xh((F) => {
|
|
18020
18020
|
const G = B().filter((K) => !K.disabled), I = G.find((K) => K.value === a.value), p = dh(G, F, I);
|
|
18021
18021
|
p !== void 0 && a.onValueChange(p.value);
|
|
18022
18022
|
}), D = (F) => {
|
|
@@ -18050,7 +18050,7 @@ var ah = "SelectTrigger", rh = n.forwardRef(
|
|
|
18050
18050
|
G.hasPointerCapture(F.pointerId) && G.releasePointerCapture(F.pointerId), F.button === 0 && F.ctrlKey === !1 && F.pointerType === "mouse" && (D(F), F.preventDefault());
|
|
18051
18051
|
}),
|
|
18052
18052
|
onKeyDown: pA(o.onKeyDown, (F) => {
|
|
18053
|
-
const G =
|
|
18053
|
+
const G = Y.current !== "";
|
|
18054
18054
|
!(F.ctrlKey || F.altKey || F.metaKey) && F.key.length === 1 && h(F.key), !(G && F.key === " ") && tx.includes(F.key) && (D(), F.preventDefault());
|
|
18055
18055
|
})
|
|
18056
18056
|
}
|
|
@@ -18060,14 +18060,14 @@ var ah = "SelectTrigger", rh = n.forwardRef(
|
|
|
18060
18060
|
rh.displayName = ah;
|
|
18061
18061
|
var nh = "SelectValue", lh = n.forwardRef(
|
|
18062
18062
|
(A, q) => {
|
|
18063
|
-
const { __scopeSelect: V, className: t, style: o, children: g, placeholder: a = "", ...l } = A, w = lt(nh, V), { onValueNodeHasChildrenChange: B } = w, c = g !== void 0,
|
|
18063
|
+
const { __scopeSelect: V, className: t, style: o, children: g, placeholder: a = "", ...l } = A, w = lt(nh, V), { onValueNodeHasChildrenChange: B } = w, c = g !== void 0, Y = zA(q, w.onValueNodeChange);
|
|
18064
18064
|
return mq(() => {
|
|
18065
18065
|
B(c);
|
|
18066
18066
|
}, [B, c]), /* @__PURE__ */ E.jsx(
|
|
18067
18067
|
dA.span,
|
|
18068
18068
|
{
|
|
18069
18069
|
...l,
|
|
18070
|
-
ref:
|
|
18070
|
+
ref: Y,
|
|
18071
18071
|
style: { pointerEvents: "none" },
|
|
18072
18072
|
children: Uh(w.value) ? /* @__PURE__ */ E.jsx(E.Fragment, { children: a }) : g
|
|
18073
18073
|
}
|
|
@@ -18114,7 +18114,7 @@ var pV = 10, [Yh, wt] = zs(jt), lx = "SelectContentImpl", wx = /* @__PURE__ */ N
|
|
|
18114
18114
|
sideOffset: w,
|
|
18115
18115
|
align: B,
|
|
18116
18116
|
alignOffset: c,
|
|
18117
|
-
arrowPadding:
|
|
18117
|
+
arrowPadding: Y,
|
|
18118
18118
|
collisionBoundary: h,
|
|
18119
18119
|
collisionPadding: Q,
|
|
18120
18120
|
sticky: D,
|
|
@@ -18184,7 +18184,7 @@ var pV = 10, [Yh, wt] = zs(jt), lx = "SelectContentImpl", wx = /* @__PURE__ */ N
|
|
|
18184
18184
|
sideOffset: w,
|
|
18185
18185
|
align: B,
|
|
18186
18186
|
alignOffset: c,
|
|
18187
|
-
arrowPadding:
|
|
18187
|
+
arrowPadding: Y,
|
|
18188
18188
|
collisionBoundary: h,
|
|
18189
18189
|
collisionPadding: Q,
|
|
18190
18190
|
sticky: D,
|
|
@@ -18270,7 +18270,7 @@ var pV = 10, [Yh, wt] = zs(jt), lx = "SelectContentImpl", wx = /* @__PURE__ */ N
|
|
|
18270
18270
|
);
|
|
18271
18271
|
Ch.displayName = lx;
|
|
18272
18272
|
var Mx = "SelectItemAlignedPosition", ch = n.forwardRef((A, q) => {
|
|
18273
|
-
const { __scopeSelect: V, onPlaced: t, ...o } = A, g = lt(jt, V), a = wt(jt, V), [l, w] = n.useState(null), [B, c] = n.useState(null),
|
|
18273
|
+
const { __scopeSelect: V, onPlaced: t, ...o } = A, g = lt(jt, V), a = wt(jt, V), [l, w] = n.useState(null), [B, c] = n.useState(null), Y = zA(q, (k) => c(k)), h = Sa(V), Q = n.useRef(!1), D = n.useRef(!0), { viewport: F, selectedItem: G, selectedItemText: I, focusSelectedItem: p } = a, K = n.useCallback(() => {
|
|
18274
18274
|
if (g.trigger && g.valueNode && l && B && F && G && I) {
|
|
18275
18275
|
const k = g.trigger.getBoundingClientRect(), N = B.getBoundingClientRect(), rA = g.valueNode.getBoundingClientRect(), cA = I.getBoundingClientRect();
|
|
18276
18276
|
if (g.dir !== "rtl") {
|
|
@@ -18357,7 +18357,7 @@ var Mx = "SelectItemAlignedPosition", ch = n.forwardRef((A, q) => {
|
|
|
18357
18357
|
dA.div,
|
|
18358
18358
|
{
|
|
18359
18359
|
...o,
|
|
18360
|
-
ref:
|
|
18360
|
+
ref: Y,
|
|
18361
18361
|
style: {
|
|
18362
18362
|
// When we get the height of the content, it includes borders. If we were to set
|
|
18363
18363
|
// the height without having `boxSizing: 'border-box'` it would be too big.
|
|
@@ -18437,14 +18437,14 @@ var [Yx, vw] = zs(jt, {}), Vw = "SelectViewport", Eh = n.forwardRef(
|
|
|
18437
18437
|
...o.style
|
|
18438
18438
|
},
|
|
18439
18439
|
onScroll: pA(o.onScroll, (B) => {
|
|
18440
|
-
const c = B.currentTarget, { contentWrapper:
|
|
18441
|
-
if (h?.current &&
|
|
18440
|
+
const c = B.currentTarget, { contentWrapper: Y, shouldExpandOnScrollRef: h } = a;
|
|
18441
|
+
if (h?.current && Y) {
|
|
18442
18442
|
const Q = Math.abs(w.current - c.scrollTop);
|
|
18443
18443
|
if (Q > 0) {
|
|
18444
|
-
const D = window.innerHeight - pV * 2, F = parseFloat(
|
|
18444
|
+
const D = window.innerHeight - pV * 2, F = parseFloat(Y.style.minHeight), G = parseFloat(Y.style.height), I = Math.max(F, G);
|
|
18445
18445
|
if (I < D) {
|
|
18446
18446
|
const p = I + Q, K = Math.min(D, p), W = p - K;
|
|
18447
|
-
|
|
18447
|
+
Y.style.height = K + "px", Y.style.bottom === "0px" && (c.scrollTop = W > 0 ? W : 0, Y.style.justifyContent = "flex-end");
|
|
18448
18448
|
}
|
|
18449
18449
|
}
|
|
18450
18450
|
}
|
|
@@ -18478,7 +18478,7 @@ var na = "SelectItem", [mx, Fh] = zs(na), Dh = n.forwardRef(
|
|
|
18478
18478
|
disabled: o = !1,
|
|
18479
18479
|
textValue: g,
|
|
18480
18480
|
...a
|
|
18481
|
-
} = A, l = lt(na, V), w = wt(na, V), B = l.value === t, [c,
|
|
18481
|
+
} = A, l = lt(na, V), w = wt(na, V), B = l.value === t, [c, Y] = n.useState(g ?? ""), [h, Q] = n.useState(!1), D = zA(
|
|
18482
18482
|
q,
|
|
18483
18483
|
(p) => w.itemRefCallback?.(p, t, o)
|
|
18484
18484
|
), F = PV(), G = n.useRef("touch"), I = () => {
|
|
@@ -18497,7 +18497,7 @@ var na = "SelectItem", [mx, Fh] = zs(na), Dh = n.forwardRef(
|
|
|
18497
18497
|
textId: F,
|
|
18498
18498
|
isSelected: B,
|
|
18499
18499
|
onItemTextChange: n.useCallback((p) => {
|
|
18500
|
-
|
|
18500
|
+
Y((K) => K || (p?.textContent ?? "").trim());
|
|
18501
18501
|
}, []),
|
|
18502
18502
|
children: /* @__PURE__ */ E.jsx(
|
|
18503
18503
|
Za.ItemSlot,
|
|
@@ -18550,9 +18550,9 @@ var na = "SelectItem", [mx, Fh] = zs(na), Dh = n.forwardRef(
|
|
|
18550
18550
|
Dh.displayName = na;
|
|
18551
18551
|
var vo = "SelectItemText", Gh = n.forwardRef(
|
|
18552
18552
|
(A, q) => {
|
|
18553
|
-
const { __scopeSelect: V, className: t, style: o, ...g } = A, a = lt(vo, V), l = wt(vo, V), w = Fh(vo, V), B = ax(vo, V), [c,
|
|
18553
|
+
const { __scopeSelect: V, className: t, style: o, ...g } = A, a = lt(vo, V), l = wt(vo, V), w = Fh(vo, V), B = ax(vo, V), [c, Y] = n.useState(null), h = zA(
|
|
18554
18554
|
q,
|
|
18555
|
-
(I) =>
|
|
18555
|
+
(I) => Y(I),
|
|
18556
18556
|
w.onItemTextChange,
|
|
18557
18557
|
(I) => l.itemTextRefCallback?.(I, w.value, w.disabled)
|
|
18558
18558
|
), Q = c?.textContent, D = n.useMemo(
|
|
@@ -18670,8 +18670,8 @@ var Qx = "SelectBubbleInput", Th = n.forwardRef(
|
|
|
18670
18670
|
"value"
|
|
18671
18671
|
).set;
|
|
18672
18672
|
if (a !== q && c) {
|
|
18673
|
-
const
|
|
18674
|
-
c.call(l, q), l.dispatchEvent(
|
|
18673
|
+
const Y = new Event("change", { bubbles: !0 });
|
|
18674
|
+
c.call(l, q), l.dispatchEvent(Y);
|
|
18675
18675
|
}
|
|
18676
18676
|
}, [a, q]), /* @__PURE__ */ E.jsx(
|
|
18677
18677
|
dA.select,
|
|
@@ -19026,8 +19026,8 @@ class Xx {
|
|
|
19026
19026
|
});
|
|
19027
19027
|
else if ($x(B) && !B.ok) {
|
|
19028
19028
|
g = !1;
|
|
19029
|
-
const
|
|
19030
|
-
message:
|
|
19029
|
+
const Y = typeof V.error == "function" ? await V.error(`HTTP error! status: ${B.status}`) : V.error, h = typeof V.description == "function" ? await V.description(`HTTP error! status: ${B.status}`) : V.description, D = typeof Y == "object" && !AA.isValidElement(Y) ? Y : {
|
|
19030
|
+
message: Y
|
|
19031
19031
|
};
|
|
19032
19032
|
this.create({
|
|
19033
19033
|
id: t,
|
|
@@ -19037,8 +19037,8 @@ class Xx {
|
|
|
19037
19037
|
});
|
|
19038
19038
|
} else if (B instanceof Error) {
|
|
19039
19039
|
g = !1;
|
|
19040
|
-
const
|
|
19041
|
-
message:
|
|
19040
|
+
const Y = typeof V.error == "function" ? await V.error(B) : V.error, h = typeof V.description == "function" ? await V.description(B) : V.description, D = typeof Y == "object" && !AA.isValidElement(Y) ? Y : {
|
|
19041
|
+
message: Y
|
|
19042
19042
|
};
|
|
19043
19043
|
this.create({
|
|
19044
19044
|
id: t,
|
|
@@ -19048,8 +19048,8 @@ class Xx {
|
|
|
19048
19048
|
});
|
|
19049
19049
|
} else if (V.success !== void 0) {
|
|
19050
19050
|
g = !1;
|
|
19051
|
-
const
|
|
19052
|
-
message:
|
|
19051
|
+
const Y = typeof V.success == "function" ? await V.success(B) : V.success, h = typeof V.description == "function" ? await V.description(B) : V.description, D = typeof Y == "object" && !AA.isValidElement(Y) ? Y : {
|
|
19052
|
+
message: Y
|
|
19053
19053
|
};
|
|
19054
19054
|
this.create({
|
|
19055
19055
|
id: t,
|
|
@@ -19064,13 +19064,13 @@ class Xx {
|
|
|
19064
19064
|
B
|
|
19065
19065
|
], V.error !== void 0) {
|
|
19066
19066
|
g = !1;
|
|
19067
|
-
const c = typeof V.error == "function" ? await V.error(B) : V.error,
|
|
19067
|
+
const c = typeof V.error == "function" ? await V.error(B) : V.error, Y = typeof V.description == "function" ? await V.description(B) : V.description, Q = typeof c == "object" && !AA.isValidElement(c) ? c : {
|
|
19068
19068
|
message: c
|
|
19069
19069
|
};
|
|
19070
19070
|
this.create({
|
|
19071
19071
|
id: t,
|
|
19072
19072
|
type: "error",
|
|
19073
|
-
description:
|
|
19073
|
+
description: Y,
|
|
19074
19074
|
...Q
|
|
19075
19075
|
});
|
|
19076
19076
|
}
|
|
@@ -19127,22 +19127,22 @@ function rd(A) {
|
|
|
19127
19127
|
}
|
|
19128
19128
|
const nd = (A) => {
|
|
19129
19129
|
var q, V, t, o, g, a, l, w, B;
|
|
19130
|
-
const { invert: c, toast:
|
|
19130
|
+
const { invert: c, toast: Y, unstyled: h, interacting: Q, setHeights: D, visibleToasts: F, heights: G, index: I, toasts: p, expanded: K, removeToast: W, defaultRichColors: S, closeButton: O, style: k, cancelButtonStyle: N, actionButtonStyle: rA, className: cA = "", descriptionClassName: QA = "", duration: CA, position: iA, gap: nA, expandByDefault: EA, classNames: J, icons: VA, closeButtonAriaLabel: d = "Close toast" } = A, [_, P] = AA.useState(null), [U, f] = AA.useState(null), [v, qA] = AA.useState(!1), [sA, hA] = AA.useState(!1), [z, eA] = AA.useState(!1), [FA, IA] = AA.useState(!1), [WA, ZA] = AA.useState(!1), [Bq, Zq] = AA.useState(0), [Ke, te] = AA.useState(0), Xq = AA.useRef(Y.duration || CA || Sc), Xs = AA.useRef(null), _q = AA.useRef(null), Bt = I === 0, Te = I + 1 <= F, Iq = Y.type, se = Y.dismissible !== !1, mi = Y.className || "", Fi = Y.descriptionClassName || "", Yt = AA.useMemo(() => G.findIndex((KA) => KA.toastId === Y.id) || 0, [
|
|
19131
19131
|
G,
|
|
19132
|
-
|
|
19132
|
+
Y.id
|
|
19133
19133
|
]), _s = AA.useMemo(() => {
|
|
19134
19134
|
var KA;
|
|
19135
|
-
return (KA =
|
|
19135
|
+
return (KA = Y.closeButton) != null ? KA : O;
|
|
19136
19136
|
}, [
|
|
19137
|
-
|
|
19137
|
+
Y.closeButton,
|
|
19138
19138
|
O
|
|
19139
|
-
]), Ct = AA.useMemo(() =>
|
|
19140
|
-
|
|
19139
|
+
]), Ct = AA.useMemo(() => Y.duration || CA || Sc, [
|
|
19140
|
+
Y.duration,
|
|
19141
19141
|
CA
|
|
19142
19142
|
]), vt = AA.useRef(0), iV = AA.useRef(0), Ue = AA.useRef(0), xe = AA.useRef(null), [Di, Gi] = iA.split("-"), Qi = AA.useMemo(() => G.reduce((KA, iq, Yq) => Yq >= Yt ? KA : KA + iq.height, 0), [
|
|
19143
19143
|
G,
|
|
19144
19144
|
Yt
|
|
19145
|
-
]), Pt = bx(), $s =
|
|
19145
|
+
]), Pt = bx(), $s = Y.invert || c, ct = Iq === "loading";
|
|
19146
19146
|
iV.current = AA.useMemo(() => Yt * nA + Qi, [
|
|
19147
19147
|
Yt,
|
|
19148
19148
|
Qi
|
|
@@ -19158,54 +19158,54 @@ const nd = (A) => {
|
|
|
19158
19158
|
const iq = KA.getBoundingClientRect().height;
|
|
19159
19159
|
return te(iq), D((Yq) => [
|
|
19160
19160
|
{
|
|
19161
|
-
toastId:
|
|
19161
|
+
toastId: Y.id,
|
|
19162
19162
|
height: iq,
|
|
19163
|
-
position:
|
|
19163
|
+
position: Y.position
|
|
19164
19164
|
},
|
|
19165
19165
|
...Yq
|
|
19166
|
-
]), () => D((Yq) => Yq.filter((Tq) => Tq.toastId !==
|
|
19166
|
+
]), () => D((Yq) => Yq.filter((Tq) => Tq.toastId !== Y.id));
|
|
19167
19167
|
}
|
|
19168
19168
|
}, [
|
|
19169
19169
|
D,
|
|
19170
|
-
|
|
19170
|
+
Y.id
|
|
19171
19171
|
]), AA.useLayoutEffect(() => {
|
|
19172
19172
|
if (!v) return;
|
|
19173
19173
|
const KA = _q.current, iq = KA.style.height;
|
|
19174
19174
|
KA.style.height = "auto";
|
|
19175
19175
|
const Yq = KA.getBoundingClientRect().height;
|
|
19176
|
-
KA.style.height = iq, te(Yq), D((Tq) => Tq.find((lq) => lq.toastId ===
|
|
19176
|
+
KA.style.height = iq, te(Yq), D((Tq) => Tq.find((lq) => lq.toastId === Y.id) ? Tq.map((lq) => lq.toastId === Y.id ? {
|
|
19177
19177
|
...lq,
|
|
19178
19178
|
height: Yq
|
|
19179
19179
|
} : lq) : [
|
|
19180
19180
|
{
|
|
19181
|
-
toastId:
|
|
19181
|
+
toastId: Y.id,
|
|
19182
19182
|
height: Yq,
|
|
19183
|
-
position:
|
|
19183
|
+
position: Y.position
|
|
19184
19184
|
},
|
|
19185
19185
|
...Tq
|
|
19186
19186
|
]);
|
|
19187
19187
|
}, [
|
|
19188
19188
|
v,
|
|
19189
|
-
|
|
19190
|
-
|
|
19189
|
+
Y.title,
|
|
19190
|
+
Y.description,
|
|
19191
19191
|
D,
|
|
19192
|
-
|
|
19193
|
-
|
|
19194
|
-
|
|
19195
|
-
|
|
19192
|
+
Y.id,
|
|
19193
|
+
Y.jsx,
|
|
19194
|
+
Y.action,
|
|
19195
|
+
Y.cancel
|
|
19196
19196
|
]);
|
|
19197
19197
|
const gV = AA.useCallback(() => {
|
|
19198
|
-
hA(!0), Zq(iV.current), D((KA) => KA.filter((iq) => iq.toastId !==
|
|
19199
|
-
W(
|
|
19198
|
+
hA(!0), Zq(iV.current), D((KA) => KA.filter((iq) => iq.toastId !== Y.id)), setTimeout(() => {
|
|
19199
|
+
W(Y);
|
|
19200
19200
|
}, ad);
|
|
19201
19201
|
}, [
|
|
19202
|
-
|
|
19202
|
+
Y,
|
|
19203
19203
|
W,
|
|
19204
19204
|
D,
|
|
19205
19205
|
iV
|
|
19206
19206
|
]);
|
|
19207
19207
|
AA.useEffect(() => {
|
|
19208
|
-
if (
|
|
19208
|
+
if (Y.promise && Iq === "loading" || Y.duration === 1 / 0 || Y.type === "loading") return;
|
|
19209
19209
|
let KA;
|
|
19210
19210
|
return K || Q || Pt ? (() => {
|
|
19211
19211
|
if (Ue.current < vt.current) {
|
|
@@ -19215,47 +19215,47 @@ const nd = (A) => {
|
|
|
19215
19215
|
Ue.current = (/* @__PURE__ */ new Date()).getTime();
|
|
19216
19216
|
})() : (() => {
|
|
19217
19217
|
Xq.current !== 1 / 0 && (vt.current = (/* @__PURE__ */ new Date()).getTime(), KA = setTimeout(() => {
|
|
19218
|
-
|
|
19218
|
+
Y.onAutoClose == null || Y.onAutoClose.call(Y, Y), gV();
|
|
19219
19219
|
}, Xq.current));
|
|
19220
19220
|
})(), () => clearTimeout(KA);
|
|
19221
19221
|
}, [
|
|
19222
19222
|
K,
|
|
19223
19223
|
Q,
|
|
19224
|
-
|
|
19224
|
+
Y,
|
|
19225
19225
|
Iq,
|
|
19226
19226
|
Pt,
|
|
19227
19227
|
gV
|
|
19228
19228
|
]), AA.useEffect(() => {
|
|
19229
|
-
|
|
19229
|
+
Y.delete && (gV(), Y.onDismiss == null || Y.onDismiss.call(Y, Y));
|
|
19230
19230
|
}, [
|
|
19231
19231
|
gV,
|
|
19232
|
-
|
|
19232
|
+
Y.delete
|
|
19233
19233
|
]);
|
|
19234
19234
|
function Ao() {
|
|
19235
19235
|
var KA;
|
|
19236
19236
|
if (VA?.loading) {
|
|
19237
19237
|
var iq;
|
|
19238
19238
|
return /* @__PURE__ */ AA.createElement("div", {
|
|
19239
|
-
className: jV(J?.loader,
|
|
19239
|
+
className: jV(J?.loader, Y == null || (iq = Y.classNames) == null ? void 0 : iq.loader, "sonner-loader"),
|
|
19240
19240
|
"data-visible": Iq === "loading"
|
|
19241
19241
|
}, VA.loading);
|
|
19242
19242
|
}
|
|
19243
19243
|
return /* @__PURE__ */ AA.createElement(jx, {
|
|
19244
|
-
className: jV(J?.loader,
|
|
19244
|
+
className: jV(J?.loader, Y == null || (KA = Y.classNames) == null ? void 0 : KA.loader),
|
|
19245
19245
|
visible: Iq === "loading"
|
|
19246
19246
|
});
|
|
19247
19247
|
}
|
|
19248
|
-
const de =
|
|
19248
|
+
const de = Y.icon || VA?.[Iq] || fx(Iq);
|
|
19249
19249
|
var oe, qo;
|
|
19250
19250
|
return /* @__PURE__ */ AA.createElement("li", {
|
|
19251
19251
|
tabIndex: 0,
|
|
19252
19252
|
ref: _q,
|
|
19253
|
-
className: jV(cA, mi, J?.toast,
|
|
19253
|
+
className: jV(cA, mi, J?.toast, Y == null || (q = Y.classNames) == null ? void 0 : q.toast, J?.default, J?.[Iq], Y == null || (V = Y.classNames) == null ? void 0 : V[Iq]),
|
|
19254
19254
|
"data-sonner-toast": "",
|
|
19255
|
-
"data-rich-colors": (oe =
|
|
19256
|
-
"data-styled": !(
|
|
19255
|
+
"data-rich-colors": (oe = Y.richColors) != null ? oe : S,
|
|
19256
|
+
"data-styled": !(Y.jsx || Y.unstyled || h),
|
|
19257
19257
|
"data-mounted": v,
|
|
19258
|
-
"data-promise": !!
|
|
19258
|
+
"data-promise": !!Y.promise,
|
|
19259
19259
|
"data-swiped": WA,
|
|
19260
19260
|
"data-removed": sA,
|
|
19261
19261
|
"data-visible": Te,
|
|
@@ -19270,7 +19270,7 @@ const nd = (A) => {
|
|
|
19270
19270
|
"data-swipe-out": FA,
|
|
19271
19271
|
"data-swipe-direction": U,
|
|
19272
19272
|
"data-expanded": !!(K || EA && v),
|
|
19273
|
-
"data-testid":
|
|
19273
|
+
"data-testid": Y.testId,
|
|
19274
19274
|
style: {
|
|
19275
19275
|
"--index": I,
|
|
19276
19276
|
"--toasts-before": I,
|
|
@@ -19278,7 +19278,7 @@ const nd = (A) => {
|
|
|
19278
19278
|
"--offset": `${sA ? Bq : iV.current}px`,
|
|
19279
19279
|
"--initial-height": EA ? "auto" : `${Ke}px`,
|
|
19280
19280
|
...k,
|
|
19281
|
-
...
|
|
19281
|
+
...Y.style
|
|
19282
19282
|
},
|
|
19283
19283
|
onDragEnd: () => {
|
|
19284
19284
|
eA(!1), P(null), xe.current = null;
|
|
@@ -19295,7 +19295,7 @@ const nd = (A) => {
|
|
|
19295
19295
|
xe.current = null;
|
|
19296
19296
|
const Tq = Number(((KA = _q.current) == null ? void 0 : KA.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), Le = Number(((iq = _q.current) == null ? void 0 : iq.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), lq = (/* @__PURE__ */ new Date()).getTime() - ((Yq = Xs.current) == null ? void 0 : Yq.getTime()), Fq = _ === "x" ? Tq : Le, We = Math.abs(Fq) / lq;
|
|
19297
19297
|
if (Math.abs(Fq) >= gd || We > 0.11) {
|
|
19298
|
-
Zq(iV.current),
|
|
19298
|
+
Zq(iV.current), Y.onDismiss == null || Y.onDismiss.call(Y, Y), f(_ === "x" ? Tq > 0 ? "right" : "left" : Le > 0 ? "down" : "up"), gV(), IA(!0);
|
|
19299
19299
|
return;
|
|
19300
19300
|
} else {
|
|
19301
19301
|
var uq, $q;
|
|
@@ -19332,44 +19332,44 @@ const nd = (A) => {
|
|
|
19332
19332
|
}
|
|
19333
19333
|
(Math.abs($q.x) > 0 || Math.abs($q.y) > 0) && ZA(!0), (Yq = _q.current) == null || Yq.style.setProperty("--swipe-amount-x", `${$q.x}px`), (Tq = _q.current) == null || Tq.style.setProperty("--swipe-amount-y", `${$q.y}px`);
|
|
19334
19334
|
}
|
|
19335
|
-
}, _s && !
|
|
19335
|
+
}, _s && !Y.jsx && Iq !== "loading" ? /* @__PURE__ */ AA.createElement("button", {
|
|
19336
19336
|
"aria-label": d,
|
|
19337
19337
|
"data-disabled": ct,
|
|
19338
19338
|
"data-close-button": !0,
|
|
19339
19339
|
onClick: ct || !se ? () => {
|
|
19340
19340
|
} : () => {
|
|
19341
|
-
gV(),
|
|
19341
|
+
gV(), Y.onDismiss == null || Y.onDismiss.call(Y, Y);
|
|
19342
19342
|
},
|
|
19343
|
-
className: jV(J?.closeButton,
|
|
19344
|
-
}, (qo = VA?.close) != null ? qo : Px) : null, (Iq ||
|
|
19343
|
+
className: jV(J?.closeButton, Y == null || (t = Y.classNames) == null ? void 0 : t.closeButton)
|
|
19344
|
+
}, (qo = VA?.close) != null ? qo : Px) : null, (Iq || Y.icon || Y.promise) && Y.icon !== null && (VA?.[Iq] !== null || Y.icon) ? /* @__PURE__ */ AA.createElement("div", {
|
|
19345
19345
|
"data-icon": "",
|
|
19346
|
-
className: jV(J?.icon,
|
|
19347
|
-
},
|
|
19346
|
+
className: jV(J?.icon, Y == null || (o = Y.classNames) == null ? void 0 : o.icon)
|
|
19347
|
+
}, Y.promise || Y.type === "loading" && !Y.icon ? Y.icon || Ao() : null, Y.type !== "loading" ? de : null) : null, /* @__PURE__ */ AA.createElement("div", {
|
|
19348
19348
|
"data-content": "",
|
|
19349
|
-
className: jV(J?.content,
|
|
19349
|
+
className: jV(J?.content, Y == null || (g = Y.classNames) == null ? void 0 : g.content)
|
|
19350
19350
|
}, /* @__PURE__ */ AA.createElement("div", {
|
|
19351
19351
|
"data-title": "",
|
|
19352
|
-
className: jV(J?.title,
|
|
19353
|
-
},
|
|
19352
|
+
className: jV(J?.title, Y == null || (a = Y.classNames) == null ? void 0 : a.title)
|
|
19353
|
+
}, Y.jsx ? Y.jsx : typeof Y.title == "function" ? Y.title() : Y.title), Y.description ? /* @__PURE__ */ AA.createElement("div", {
|
|
19354
19354
|
"data-description": "",
|
|
19355
|
-
className: jV(QA, Fi, J?.description,
|
|
19356
|
-
}, typeof
|
|
19355
|
+
className: jV(QA, Fi, J?.description, Y == null || (l = Y.classNames) == null ? void 0 : l.description)
|
|
19356
|
+
}, typeof Y.description == "function" ? Y.description() : Y.description) : null), /* @__PURE__ */ AA.isValidElement(Y.cancel) ? Y.cancel : Y.cancel && Jg(Y.cancel) ? /* @__PURE__ */ AA.createElement("button", {
|
|
19357
19357
|
"data-button": !0,
|
|
19358
19358
|
"data-cancel": !0,
|
|
19359
|
-
style:
|
|
19359
|
+
style: Y.cancelButtonStyle || N,
|
|
19360
19360
|
onClick: (KA) => {
|
|
19361
|
-
Jg(
|
|
19361
|
+
Jg(Y.cancel) && se && (Y.cancel.onClick == null || Y.cancel.onClick.call(Y.cancel, KA), gV());
|
|
19362
19362
|
},
|
|
19363
|
-
className: jV(J?.cancelButton,
|
|
19364
|
-
},
|
|
19363
|
+
className: jV(J?.cancelButton, Y == null || (w = Y.classNames) == null ? void 0 : w.cancelButton)
|
|
19364
|
+
}, Y.cancel.label) : null, /* @__PURE__ */ AA.isValidElement(Y.action) ? Y.action : Y.action && Jg(Y.action) ? /* @__PURE__ */ AA.createElement("button", {
|
|
19365
19365
|
"data-button": !0,
|
|
19366
19366
|
"data-action": !0,
|
|
19367
|
-
style:
|
|
19367
|
+
style: Y.actionButtonStyle || rA,
|
|
19368
19368
|
onClick: (KA) => {
|
|
19369
|
-
Jg(
|
|
19369
|
+
Jg(Y.action) && (Y.action.onClick == null || Y.action.onClick.call(Y.action, KA), !KA.defaultPrevented && gV());
|
|
19370
19370
|
},
|
|
19371
|
-
className: jV(J?.actionButton,
|
|
19372
|
-
},
|
|
19371
|
+
className: jV(J?.actionButton, Y == null || (B = Y.classNames) == null ? void 0 : B.actionButton)
|
|
19372
|
+
}, Y.action.label) : null);
|
|
19373
19373
|
};
|
|
19374
19374
|
function kc() {
|
|
19375
19375
|
if (typeof window > "u" || typeof document > "u") return "ltr";
|
|
@@ -19407,7 +19407,7 @@ const wd = /* @__PURE__ */ AA.forwardRef(function(q, V) {
|
|
|
19407
19407
|
const { id: t, invert: o, position: g = "bottom-right", hotkey: a = [
|
|
19408
19408
|
"altKey",
|
|
19409
19409
|
"KeyT"
|
|
19410
|
-
], expand: l, closeButton: w, className: B, offset: c, mobileOffset:
|
|
19410
|
+
], expand: l, closeButton: w, className: B, offset: c, mobileOffset: Y, theme: h = "light", richColors: Q, duration: D, style: F, visibleToasts: G = ed, toastOptions: I, dir: p = kc(), gap: K = id, icons: W, containerAriaLabel: S = "Notifications" } = q, [O, k] = AA.useState([]), N = AA.useMemo(() => t ? O.filter((v) => v.toasterId === t) : O.filter((v) => !v.toasterId), [
|
|
19411
19411
|
O,
|
|
19412
19412
|
t
|
|
19413
19413
|
]), rA = AA.useMemo(() => Array.from(new Set([
|
|
@@ -19525,7 +19525,7 @@ const wd = /* @__PURE__ */ AA.forwardRef(function(q, V) {
|
|
|
19525
19525
|
"--width": `${od}px`,
|
|
19526
19526
|
"--gap": `${K}px`,
|
|
19527
19527
|
...F,
|
|
19528
|
-
...ld(c,
|
|
19528
|
+
...ld(c, Y)
|
|
19529
19529
|
},
|
|
19530
19530
|
onBlur: (eA) => {
|
|
19531
19531
|
U.current && !eA.currentTarget.contains(eA.relatedTarget) && (U.current = !1, P.current && (P.current.focus({
|
|
@@ -19589,8 +19589,8 @@ function wa({ children: A, speed: q = 15, className: V }) {
|
|
|
19589
19589
|
}, [t]), n.useEffect(() => {
|
|
19590
19590
|
if (!a.current) return;
|
|
19591
19591
|
const B = new ResizeObserver((c) => {
|
|
19592
|
-
for (const
|
|
19593
|
-
o(
|
|
19592
|
+
for (const Y of c)
|
|
19593
|
+
o(Y.contentRect.width);
|
|
19594
19594
|
});
|
|
19595
19595
|
return B.observe(a?.current), () => B.disconnect();
|
|
19596
19596
|
}, []), /* @__PURE__ */ E.jsx("div", { className: "marquee-container", ref: g, children: /* @__PURE__ */ E.jsxs(
|
|
@@ -19620,37 +19620,37 @@ function Yd() {
|
|
|
19620
19620
|
if (Nc) return ml;
|
|
19621
19621
|
Nc = 1;
|
|
19622
19622
|
var A = Rs();
|
|
19623
|
-
function q(
|
|
19624
|
-
return
|
|
19623
|
+
function q(Y, h) {
|
|
19624
|
+
return Y === h && (Y !== 0 || 1 / Y === 1 / h) || Y !== Y && h !== h;
|
|
19625
19625
|
}
|
|
19626
19626
|
var V = typeof Object.is == "function" ? Object.is : q, t = A.useState, o = A.useEffect, g = A.useLayoutEffect, a = A.useDebugValue;
|
|
19627
|
-
function l(
|
|
19627
|
+
function l(Y, h) {
|
|
19628
19628
|
var Q = h(), D = t({ inst: { value: Q, getSnapshot: h } }), F = D[0].inst, G = D[1];
|
|
19629
19629
|
return g(
|
|
19630
19630
|
function() {
|
|
19631
19631
|
F.value = Q, F.getSnapshot = h, w(F) && G({ inst: F });
|
|
19632
19632
|
},
|
|
19633
|
-
[
|
|
19633
|
+
[Y, Q, h]
|
|
19634
19634
|
), o(
|
|
19635
19635
|
function() {
|
|
19636
|
-
return w(F) && G({ inst: F }),
|
|
19636
|
+
return w(F) && G({ inst: F }), Y(function() {
|
|
19637
19637
|
w(F) && G({ inst: F });
|
|
19638
19638
|
});
|
|
19639
19639
|
},
|
|
19640
|
-
[
|
|
19640
|
+
[Y]
|
|
19641
19641
|
), a(Q), Q;
|
|
19642
19642
|
}
|
|
19643
|
-
function w(
|
|
19644
|
-
var h =
|
|
19645
|
-
|
|
19643
|
+
function w(Y) {
|
|
19644
|
+
var h = Y.getSnapshot;
|
|
19645
|
+
Y = Y.value;
|
|
19646
19646
|
try {
|
|
19647
19647
|
var Q = h();
|
|
19648
|
-
return !V(
|
|
19648
|
+
return !V(Y, Q);
|
|
19649
19649
|
} catch {
|
|
19650
19650
|
return !0;
|
|
19651
19651
|
}
|
|
19652
19652
|
}
|
|
19653
|
-
function B(
|
|
19653
|
+
function B(Y, h) {
|
|
19654
19654
|
return h();
|
|
19655
19655
|
}
|
|
19656
19656
|
var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? B : l;
|
|
@@ -19721,8 +19721,8 @@ function Dd(A, { referrerPolicy: q, crossOrigin: V }) {
|
|
|
19721
19721
|
return mq(() => {
|
|
19722
19722
|
l(Jc(g, A));
|
|
19723
19723
|
}, [g, A]), mq(() => {
|
|
19724
|
-
const w = (
|
|
19725
|
-
l(
|
|
19724
|
+
const w = (Y) => () => {
|
|
19725
|
+
l(Y);
|
|
19726
19726
|
};
|
|
19727
19727
|
if (!g) return;
|
|
19728
19728
|
const B = w("loaded"), c = w("error");
|
|
@@ -19951,9 +19951,9 @@ function Ud(A, q, V = {}) {
|
|
|
19951
19951
|
height: w = A.clientHeight,
|
|
19952
19952
|
bars: B = 15,
|
|
19953
19953
|
gap: c = 2,
|
|
19954
|
-
color:
|
|
19954
|
+
color: Y = "#00ff66"
|
|
19955
19955
|
} = V;
|
|
19956
|
-
t.clearRect(0, 0, l, w), t.fillStyle =
|
|
19956
|
+
t.clearRect(0, 0, l, w), t.fillStyle = Y;
|
|
19957
19957
|
const h = Math.floor(q.length / B), Q = (l - c * (B - 1)) / B;
|
|
19958
19958
|
fo.length !== B && (fo = Array(B).fill(0));
|
|
19959
19959
|
const D = Math.floor(B / 2);
|
|
@@ -19987,9 +19987,9 @@ var Ld = (A, q, V, t, o, g, a, l) => {
|
|
|
19987
19987
|
(Array.isArray(A) ? A : [A]).forEach((D) => {
|
|
19988
19988
|
let F = D === "class", G = F && g ? o.map((I) => g[I] || I) : o;
|
|
19989
19989
|
F ? (w.classList.remove(...G), w.classList.add(g && g[Q] ? g[Q] : Q)) : w.setAttribute(D, Q);
|
|
19990
|
-
}),
|
|
19990
|
+
}), Y(Q);
|
|
19991
19991
|
}
|
|
19992
|
-
function
|
|
19992
|
+
function Y(Q) {
|
|
19993
19993
|
l && B.includes(Q) && (w.style.colorScheme = Q);
|
|
19994
19994
|
}
|
|
19995
19995
|
function h() {
|
|
@@ -20038,7 +20038,7 @@ function Sd(A) {
|
|
|
20038
20038
|
}
|
|
20039
20039
|
const Oh = n.createContext(void 0);
|
|
20040
20040
|
function kd({ children: A }) {
|
|
20041
|
-
const [q, V] = n.useState(!0), [t, o] = n.useState(!0), [g, a] = n.useState(!1), [l, w] = n.useState(!0), [B, c] = n.useState(!0), [
|
|
20041
|
+
const [q, V] = n.useState(!0), [t, o] = n.useState(!0), [g, a] = n.useState(!1), [l, w] = n.useState(!0), [B, c] = n.useState(!0), [Y, h] = n.useState(!0), [Q, D] = n.useState(!0), [F, G] = n.useState(!0);
|
|
20042
20042
|
return wi({
|
|
20043
20043
|
settings: {
|
|
20044
20044
|
showNotifications: q,
|
|
@@ -20046,7 +20046,7 @@ function kd({ children: A }) {
|
|
|
20046
20046
|
// showAudio,
|
|
20047
20047
|
showDevices: l,
|
|
20048
20048
|
showAddDevices: B,
|
|
20049
|
-
showEnableDevices:
|
|
20049
|
+
showEnableDevices: Y,
|
|
20050
20050
|
showRemoveDevices: Q,
|
|
20051
20051
|
showWidgetButton: F,
|
|
20052
20052
|
setShowNotifications: V,
|
|
@@ -20067,7 +20067,7 @@ function kd({ children: A }) {
|
|
|
20067
20067
|
showAudio: g,
|
|
20068
20068
|
showDevices: l,
|
|
20069
20069
|
showAddDevices: B,
|
|
20070
|
-
showEnableDevices:
|
|
20070
|
+
showEnableDevices: Y,
|
|
20071
20071
|
showRemoveDevices: Q,
|
|
20072
20072
|
showWidgetButton: F,
|
|
20073
20073
|
setShowWidgetButton: G,
|
|
@@ -20127,18 +20127,18 @@ const Jd = () => {
|
|
|
20127
20127
|
return A;
|
|
20128
20128
|
}, zh = n.createContext(void 0);
|
|
20129
20129
|
function jd({ children: A }) {
|
|
20130
|
-
const { theme: q } = Jd(), { showWidgetButton: V } = $w(), t = n.useRef(null), o = n.useRef({ x: 0, y: 0 }), [g, a] = n.useState({ x: 0, y: 0 }), [l, w] = n.useState(!1), [B, c] = n.useState(!0),
|
|
20130
|
+
const { theme: q } = Jd(), { showWidgetButton: V } = $w(), t = n.useRef(null), o = n.useRef({ x: 0, y: 0 }), [g, a] = n.useState({ x: 0, y: 0 }), [l, w] = n.useState(!1), [B, c] = n.useState(!0), Y = n.useCallback((I) => {
|
|
20131
20131
|
if (!t.current) return;
|
|
20132
20132
|
let p = I.clientX - o.current.x, K = I.clientY - o.current.y;
|
|
20133
20133
|
p < 0 && (p = 0), K < 0 && (K = 0), p > window.innerWidth - t.current.getBoundingClientRect().width && (p = window.innerWidth - t.current.getBoundingClientRect().width), K > document.body.clientHeight - t.current.getBoundingClientRect().height && (K = document.body.clientHeight - t.current.getBoundingClientRect().height), a({ x: p, y: K });
|
|
20134
20134
|
}, []), h = n.useCallback(
|
|
20135
20135
|
(I) => {
|
|
20136
|
-
document.body.style.userSelect = "none", w(!0), o.current = { x: I.clientX - g.x, y: I.clientY - g.y }, document.addEventListener("mousemove",
|
|
20136
|
+
document.body.style.userSelect = "none", w(!0), o.current = { x: I.clientX - g.x, y: I.clientY - g.y }, document.addEventListener("mousemove", Y);
|
|
20137
20137
|
},
|
|
20138
|
-
[
|
|
20138
|
+
[Y, g.x, g.y]
|
|
20139
20139
|
), Q = n.useCallback(() => {
|
|
20140
|
-
w(!1), document.body.style.userSelect = "unset", document.removeEventListener("mousemove",
|
|
20141
|
-
}, [
|
|
20140
|
+
w(!1), document.body.style.userSelect = "unset", document.removeEventListener("mousemove", Y);
|
|
20141
|
+
}, [Y]), D = n.useCallback(() => {
|
|
20142
20142
|
B && c(!1);
|
|
20143
20143
|
}, [B]), F = n.useCallback(() => {
|
|
20144
20144
|
B || c(!0);
|
|
@@ -20243,9 +20243,9 @@ function AM() {
|
|
|
20243
20243
|
const Po = new Audio(Md), bo = new Audio(Bd);
|
|
20244
20244
|
let Jo = null;
|
|
20245
20245
|
function Od({ wavoip: A, devices: q }) {
|
|
20246
|
-
const { setScreen: V } = fh(), { closed: t, setClosed: o, open: g } = AM(), [a, l] = n.useState([]), [w, B] = n.useState(void 0), [c,
|
|
20246
|
+
const { setScreen: V } = fh(), { closed: t, setClosed: o, open: g } = AM(), [a, l] = n.useState([]), [w, B] = n.useState(void 0), [c, Y] = n.useState(void 0), h = n.useCallback(() => {
|
|
20247
20247
|
zd(), Kd(), setTimeout(() => {
|
|
20248
|
-
Jo && (o(Jo), Jo = null), V("keyboard"), B(void 0),
|
|
20248
|
+
Jo && (o(Jo), Jo = null), V("keyboard"), B(void 0), Y(void 0), cV.call = null;
|
|
20249
20249
|
}, 3e3);
|
|
20250
20250
|
}, [V, o]), Q = n.useCallback(
|
|
20251
20251
|
(G) => {
|
|
@@ -20259,7 +20259,7 @@ function Od({ wavoip: A, devices: q }) {
|
|
|
20259
20259
|
});
|
|
20260
20260
|
}
|
|
20261
20261
|
};
|
|
20262
|
-
return V("call"),
|
|
20262
|
+
return V("call"), Y(I), cV.call = G, I;
|
|
20263
20263
|
},
|
|
20264
20264
|
[h, V]
|
|
20265
20265
|
), D = n.useCallback(
|
|
@@ -20375,45 +20375,36 @@ function Pd(A) {
|
|
|
20375
20375
|
const bd = bh();
|
|
20376
20376
|
function Xd({ wavoip: A }) {
|
|
20377
20377
|
const [q, V] = n.useState(
|
|
20378
|
-
() => A.getDevices().map((
|
|
20379
|
-
...l,
|
|
20380
|
-
enable: !!bd.get(l.token)?.enable && ["open", "CONNECTED"].includes(l.status)
|
|
20381
|
-
}))
|
|
20378
|
+
() => A.getDevices().map((w) => ({ ...w, enable: !!bd.get(w.token)?.enable }))
|
|
20382
20379
|
), t = n.useCallback(
|
|
20383
|
-
(
|
|
20384
|
-
const [
|
|
20385
|
-
|
|
20386
|
-
...B,
|
|
20387
|
-
{
|
|
20388
|
-
...w,
|
|
20389
|
-
enable: ["open", "CONNECTOED"].includes(w.status)
|
|
20390
|
-
}
|
|
20391
|
-
]);
|
|
20380
|
+
(w) => {
|
|
20381
|
+
const [B] = A.addDevices([w]);
|
|
20382
|
+
B && V((c) => [...c, { ...B, enable: B.status === "open" }]);
|
|
20392
20383
|
},
|
|
20393
20384
|
[A.addDevices]
|
|
20394
20385
|
), o = n.useCallback(
|
|
20395
|
-
(
|
|
20396
|
-
A.removeDevices([
|
|
20386
|
+
(w) => {
|
|
20387
|
+
A.removeDevices([w]), V((B) => B.filter((c) => c.token !== w));
|
|
20397
20388
|
},
|
|
20398
20389
|
[A.removeDevices]
|
|
20399
|
-
), g = n.useCallback((
|
|
20400
|
-
V((
|
|
20401
|
-
}, []), a = n.useCallback((
|
|
20402
|
-
V((
|
|
20390
|
+
), g = n.useCallback((w) => {
|
|
20391
|
+
V((B) => B.map((c) => c.token === w ? { ...c, enable: !0 } : c));
|
|
20392
|
+
}, []), a = n.useCallback((w) => {
|
|
20393
|
+
V((B) => B.map((c) => c.token === w ? { ...c, enable: !1 } : c));
|
|
20394
|
+
}, []), l = n.useCallback((w) => {
|
|
20395
|
+
w.onQRCode((B) => {
|
|
20396
|
+
V((c) => c.map((Y) => Y.token === w.token ? { ...w, qrcode: B } : Y));
|
|
20397
|
+
}), w.onStatus((B) => {
|
|
20398
|
+
B && V(
|
|
20399
|
+
(c) => c.map((Y) => Y.token === w.token ? { ...w, status: B, enable: B === "open" } : Y)
|
|
20400
|
+
);
|
|
20401
|
+
});
|
|
20403
20402
|
}, []);
|
|
20404
20403
|
return n.useEffect(() => {
|
|
20405
|
-
for (const
|
|
20406
|
-
l
|
|
20407
|
-
V((B) => B.map((c) => c.token === l.token ? { ...l, qrcode: w } : c));
|
|
20408
|
-
}), l.onStatus((w) => {
|
|
20409
|
-
V(
|
|
20410
|
-
(B) => B.map(
|
|
20411
|
-
(c) => c.token === l.token ? { ...l, status: w, enable: ["open", "CONNECTED"].includes(w) } : c
|
|
20412
|
-
)
|
|
20413
|
-
);
|
|
20414
|
-
});
|
|
20404
|
+
for (const w of q)
|
|
20405
|
+
l(w);
|
|
20415
20406
|
Pd(q);
|
|
20416
|
-
}, [q]), { devices: q, add: t, remove: o, enable: g, disable: a };
|
|
20407
|
+
}, [l, q]), { devices: q, add: t, remove: o, enable: g, disable: a };
|
|
20417
20408
|
}
|
|
20418
20409
|
const Xh = n.createContext(void 0), _d = ({ children: A, wavoip: q }) => {
|
|
20419
20410
|
const {
|
|
@@ -20430,16 +20421,16 @@ const Xh = n.createContext(void 0), _d = ({ children: A, wavoip: q }) => {
|
|
|
20430
20421
|
startCall: c,
|
|
20431
20422
|
getCallActive: () => {
|
|
20432
20423
|
if (!B) return;
|
|
20433
|
-
const { id:
|
|
20434
|
-
return { id:
|
|
20424
|
+
const { id: Y, type: h, status: Q, device_token: D, direction: F, peer: G, muted: I } = B;
|
|
20425
|
+
return { id: Y, type: h, status: Q, device_token: D, direction: F, peer: G, muted: I };
|
|
20435
20426
|
},
|
|
20436
20427
|
getCallOutgoing: () => {
|
|
20437
20428
|
if (!w) return;
|
|
20438
|
-
const { id:
|
|
20439
|
-
return { id:
|
|
20429
|
+
const { id: Y, type: h, status: Q, device_token: D, direction: F, peer: G, muted: I } = w;
|
|
20430
|
+
return { id: Y, type: h, status: Q, device_token: D, direction: F, peer: G, muted: I };
|
|
20440
20431
|
},
|
|
20441
|
-
getOffers: () => l.map(({ id:
|
|
20442
|
-
id:
|
|
20432
|
+
getOffers: () => l.map(({ id: Y, type: h, status: Q, device_token: D, direction: F, peer: G, muted: I }) => ({
|
|
20433
|
+
id: Y,
|
|
20443
20434
|
type: h,
|
|
20444
20435
|
status: Q,
|
|
20445
20436
|
device_token: D,
|
|
@@ -20449,7 +20440,7 @@ const Xh = n.createContext(void 0), _d = ({ children: A, wavoip: q }) => {
|
|
|
20449
20440
|
}))
|
|
20450
20441
|
},
|
|
20451
20442
|
device: {
|
|
20452
|
-
getDevices: q.getDevices,
|
|
20443
|
+
getDevices: () => q.getDevices(),
|
|
20453
20444
|
addDevice: t,
|
|
20454
20445
|
removeDevice: o,
|
|
20455
20446
|
enableDevice: a,
|
|
@@ -20515,7 +20506,7 @@ var Na = "Switch", [AL, JS] = Ae(Na), [qL, VL] = AL(Na), _h = n.forwardRef(
|
|
|
20515
20506
|
value: w = "on",
|
|
20516
20507
|
onCheckedChange: B,
|
|
20517
20508
|
form: c,
|
|
20518
|
-
...
|
|
20509
|
+
...Y
|
|
20519
20510
|
} = A, [h, Q] = n.useState(null), D = zA(q, (K) => Q(K)), F = n.useRef(!1), G = h ? c || !!h.closest("form") : !0, [I, p] = rt({
|
|
20520
20511
|
prop: o,
|
|
20521
20512
|
defaultProp: g ?? !1,
|
|
@@ -20534,7 +20525,7 @@ var Na = "Switch", [AL, JS] = Ae(Na), [qL, VL] = AL(Na), _h = n.forwardRef(
|
|
|
20534
20525
|
"data-disabled": l ? "" : void 0,
|
|
20535
20526
|
disabled: l,
|
|
20536
20527
|
value: w,
|
|
20537
|
-
...
|
|
20528
|
+
...Y,
|
|
20538
20529
|
ref: D,
|
|
20539
20530
|
onClick: pA(A.onClick, (K) => {
|
|
20540
20531
|
p((W) => !W), G && (F.current = K.isPropagationStopped(), F.current || K.stopPropagation());
|
|
@@ -20586,8 +20577,8 @@ var eL = "SwitchBubbleInput", qm = n.forwardRef(
|
|
|
20586
20577
|
return n.useEffect(() => {
|
|
20587
20578
|
const c = a.current;
|
|
20588
20579
|
if (!c) return;
|
|
20589
|
-
const
|
|
20590
|
-
|
|
20580
|
+
const Y = window.HTMLInputElement.prototype, Q = Object.getOwnPropertyDescriptor(
|
|
20581
|
+
Y,
|
|
20591
20582
|
"checked"
|
|
20592
20583
|
).set;
|
|
20593
20584
|
if (w !== V && Q) {
|
|
@@ -20676,7 +20667,7 @@ function gL(A) {
|
|
|
20676
20667
|
}, [A, w]), mq(() => {
|
|
20677
20668
|
if (q) {
|
|
20678
20669
|
let B;
|
|
20679
|
-
const c = q.ownerDocument.defaultView ?? window,
|
|
20670
|
+
const c = q.ownerDocument.defaultView ?? window, Y = (Q) => {
|
|
20680
20671
|
const F = jg(t.current).includes(CSS.escape(Q.animationName));
|
|
20681
20672
|
if (Q.target === q && F && (w("ANIMATION_END"), !o.current)) {
|
|
20682
20673
|
const G = q.style.animationFillMode;
|
|
@@ -20687,8 +20678,8 @@ function gL(A) {
|
|
|
20687
20678
|
}, h = (Q) => {
|
|
20688
20679
|
Q.target === q && (g.current = jg(t.current));
|
|
20689
20680
|
};
|
|
20690
|
-
return q.addEventListener("animationstart", h), q.addEventListener("animationcancel",
|
|
20691
|
-
c.clearTimeout(B), q.removeEventListener("animationstart", h), q.removeEventListener("animationcancel",
|
|
20681
|
+
return q.addEventListener("animationstart", h), q.addEventListener("animationcancel", Y), q.addEventListener("animationend", Y), () => {
|
|
20682
|
+
c.clearTimeout(B), q.removeEventListener("animationstart", h), q.removeEventListener("animationcancel", Y), q.removeEventListener("animationend", Y);
|
|
20692
20683
|
};
|
|
20693
20684
|
} else
|
|
20694
20685
|
w("ANIMATION_END");
|
|
@@ -20753,7 +20744,7 @@ var Ai = "Tooltip", [lL, Mi] = fa(Ai), sm = (A) => {
|
|
|
20753
20744
|
onOpenChange: g,
|
|
20754
20745
|
disableHoverableContent: a,
|
|
20755
20746
|
delayDuration: l
|
|
20756
|
-
} = A, w = qM(Ai, A.__scopeTooltip), B = Ja(q), [c,
|
|
20747
|
+
} = A, w = qM(Ai, A.__scopeTooltip), B = Ja(q), [c, Y] = n.useState(null), h = PV(), Q = n.useRef(0), D = a ?? w.disableHoverableContent, F = l ?? w.delayDuration, G = n.useRef(!1), [I, p] = rt({
|
|
20757
20748
|
prop: t,
|
|
20758
20749
|
defaultProp: o ?? !1,
|
|
20759
20750
|
onChange: (k) => {
|
|
@@ -20779,7 +20770,7 @@ var Ai = "Tooltip", [lL, Mi] = fa(Ai), sm = (A) => {
|
|
|
20779
20770
|
open: I,
|
|
20780
20771
|
stateAttribute: K,
|
|
20781
20772
|
trigger: c,
|
|
20782
|
-
onTriggerChange:
|
|
20773
|
+
onTriggerChange: Y,
|
|
20783
20774
|
onTriggerEnter: n.useCallback(() => {
|
|
20784
20775
|
w.isOpenDelayedRef.current ? O() : W();
|
|
20785
20776
|
}, [w.isOpenDelayedRef, O, W]),
|
|
@@ -20796,8 +20787,8 @@ var Ai = "Tooltip", [lL, Mi] = fa(Ai), sm = (A) => {
|
|
|
20796
20787
|
sm.displayName = Ai;
|
|
20797
20788
|
var gw = "TooltipTrigger", om = n.forwardRef(
|
|
20798
20789
|
(A, q) => {
|
|
20799
|
-
const { __scopeTooltip: V, ...t } = A, o = Mi(gw, V), g = qM(gw, V), a = Ja(V), l = n.useRef(null), w = zA(q, l, o.onTriggerChange), B = n.useRef(!1), c = n.useRef(!1),
|
|
20800
|
-
return n.useEffect(() => () => document.removeEventListener("pointerup",
|
|
20790
|
+
const { __scopeTooltip: V, ...t } = A, o = Mi(gw, V), g = qM(gw, V), a = Ja(V), l = n.useRef(null), w = zA(q, l, o.onTriggerChange), B = n.useRef(!1), c = n.useRef(!1), Y = n.useCallback(() => B.current = !1, []);
|
|
20791
|
+
return n.useEffect(() => () => document.removeEventListener("pointerup", Y), [Y]), /* @__PURE__ */ E.jsx(Wa, { asChild: !0, ...a, children: /* @__PURE__ */ E.jsx(
|
|
20801
20792
|
dA.button,
|
|
20802
20793
|
{
|
|
20803
20794
|
"aria-describedby": o.open ? o.contentId : void 0,
|
|
@@ -20811,7 +20802,7 @@ var gw = "TooltipTrigger", om = n.forwardRef(
|
|
|
20811
20802
|
o.onTriggerLeave(), c.current = !1;
|
|
20812
20803
|
}),
|
|
20813
20804
|
onPointerDown: pA(A.onPointerDown, () => {
|
|
20814
|
-
o.open && o.onClose(), B.current = !0, document.addEventListener("pointerup",
|
|
20805
|
+
o.open && o.onClose(), B.current = !0, document.addEventListener("pointerup", Y, { once: !0 });
|
|
20815
20806
|
}),
|
|
20816
20807
|
onFocus: pA(A.onFocus, () => {
|
|
20817
20808
|
B.current || o.onOpen();
|
|
@@ -20836,14 +20827,14 @@ var Ws = "TooltipContent", gm = n.forwardRef(
|
|
|
20836
20827
|
return /* @__PURE__ */ E.jsx(Ie, { present: t || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ E.jsx(am, { side: o, ...g, ref: q }) : /* @__PURE__ */ E.jsx(BL, { side: o, ...g, ref: q }) });
|
|
20837
20828
|
}
|
|
20838
20829
|
), BL = n.forwardRef((A, q) => {
|
|
20839
|
-
const V = Mi(Ws, A.__scopeTooltip), t = qM(Ws, A.__scopeTooltip), o = n.useRef(null), g = zA(q, o), [a, l] = n.useState(null), { trigger: w, onClose: B } = V, c = o.current, { onPointerInTransitChange:
|
|
20840
|
-
l(null),
|
|
20841
|
-
}, [
|
|
20830
|
+
const V = Mi(Ws, A.__scopeTooltip), t = qM(Ws, A.__scopeTooltip), o = n.useRef(null), g = zA(q, o), [a, l] = n.useState(null), { trigger: w, onClose: B } = V, c = o.current, { onPointerInTransitChange: Y } = t, h = n.useCallback(() => {
|
|
20831
|
+
l(null), Y(!1);
|
|
20832
|
+
}, [Y]), Q = n.useCallback(
|
|
20842
20833
|
(D, F) => {
|
|
20843
20834
|
const G = D.currentTarget, I = { x: D.clientX, y: D.clientY }, p = EL(I, G.getBoundingClientRect()), K = hL(I, p), W = mL(F.getBoundingClientRect()), S = DL([...K, ...W]);
|
|
20844
|
-
l(S),
|
|
20835
|
+
l(S), Y(!0);
|
|
20845
20836
|
},
|
|
20846
|
-
[
|
|
20837
|
+
[Y]
|
|
20847
20838
|
);
|
|
20848
20839
|
return n.useEffect(() => () => h(), [h]), n.useEffect(() => {
|
|
20849
20840
|
if (w && c) {
|
|
@@ -20873,10 +20864,10 @@ var Ws = "TooltipContent", gm = n.forwardRef(
|
|
|
20873
20864
|
} = A, w = Mi(Ws, V), B = Ja(V), { onClose: c } = w;
|
|
20874
20865
|
return n.useEffect(() => (document.addEventListener(iw, c), () => document.removeEventListener(iw, c)), [c]), n.useEffect(() => {
|
|
20875
20866
|
if (w.trigger) {
|
|
20876
|
-
const
|
|
20867
|
+
const Y = (h) => {
|
|
20877
20868
|
h.target?.contains(w.trigger) && c();
|
|
20878
20869
|
};
|
|
20879
|
-
return window.addEventListener("scroll",
|
|
20870
|
+
return window.addEventListener("scroll", Y, { capture: !0 }), () => window.removeEventListener("scroll", Y, { capture: !0 });
|
|
20880
20871
|
}
|
|
20881
20872
|
}, [w.trigger, c]), /* @__PURE__ */ E.jsx(
|
|
20882
20873
|
ri,
|
|
@@ -20885,7 +20876,7 @@ var Ws = "TooltipContent", gm = n.forwardRef(
|
|
|
20885
20876
|
disableOutsidePointerEvents: !1,
|
|
20886
20877
|
onEscapeKeyDown: g,
|
|
20887
20878
|
onPointerDownOutside: a,
|
|
20888
|
-
onFocusOutside: (
|
|
20879
|
+
onFocusOutside: (Y) => Y.preventDefault(),
|
|
20889
20880
|
onDismiss: c,
|
|
20890
20881
|
children: /* @__PURE__ */ E.jsxs(
|
|
20891
20882
|
Ow,
|
|
@@ -20981,8 +20972,8 @@ function FL(A, q) {
|
|
|
20981
20972
|
const { x: V, y: t } = A;
|
|
20982
20973
|
let o = !1;
|
|
20983
20974
|
for (let g = 0, a = q.length - 1; g < q.length; a = g++) {
|
|
20984
|
-
const l = q[g], w = q[a], B = l.x, c = l.y,
|
|
20985
|
-
c > t != h > t && V < (
|
|
20975
|
+
const l = q[g], w = q[a], B = l.x, c = l.y, Y = w.x, h = w.y;
|
|
20976
|
+
c > t != h > t && V < (Y - B) * (t - c) / (h - c) + B && (o = !o);
|
|
20986
20977
|
}
|
|
20987
20978
|
return o;
|
|
20988
20979
|
}
|
|
@@ -21188,7 +21179,7 @@ var ja = "Dialog", [lm, OS] = Ae(ja), [dL, yV] = lm(ja), wm = (A) => {
|
|
|
21188
21179
|
descriptionId: PV(),
|
|
21189
21180
|
open: B,
|
|
21190
21181
|
onOpenChange: c,
|
|
21191
|
-
onOpenToggle: n.useCallback(() => c((
|
|
21182
|
+
onOpenToggle: n.useCallback(() => c((Y) => !Y), [c]),
|
|
21192
21183
|
modal: a,
|
|
21193
21184
|
children: V
|
|
21194
21185
|
}
|
|
@@ -21505,7 +21496,7 @@ var oW = n.forwardRef((A, q) => {
|
|
|
21505
21496
|
onCurrentTabStopIdChange: w,
|
|
21506
21497
|
onEntryFocus: B,
|
|
21507
21498
|
preventScrollOnEntryFocus: c = !1,
|
|
21508
|
-
...
|
|
21499
|
+
...Y
|
|
21509
21500
|
} = A, h = n.useRef(null), Q = zA(q, h), D = Lw(g), [F, G] = rt({
|
|
21510
21501
|
prop: a,
|
|
21511
21502
|
defaultProp: l ?? null,
|
|
@@ -21542,7 +21533,7 @@ var oW = n.forwardRef((A, q) => {
|
|
|
21542
21533
|
{
|
|
21543
21534
|
tabIndex: I || O === 0 ? -1 : 0,
|
|
21544
21535
|
"data-orientation": t,
|
|
21545
|
-
...
|
|
21536
|
+
...Y,
|
|
21546
21537
|
ref: Q,
|
|
21547
21538
|
style: { outline: "none", ...A.style },
|
|
21548
21539
|
onMouseDown: pA(A.onMouseDown, () => {
|
|
@@ -21575,7 +21566,7 @@ var oW = n.forwardRef((A, q) => {
|
|
|
21575
21566
|
tabStopId: g,
|
|
21576
21567
|
children: a,
|
|
21577
21568
|
...l
|
|
21578
|
-
} = A, w = PV(), B = g || w, c = sW(xm, V),
|
|
21569
|
+
} = A, w = PV(), B = g || w, c = sW(xm, V), Y = c.currentTabStopId === B, h = Km(V), { onFocusableItemAdd: Q, onFocusableItemRemove: D, currentTabStopId: F } = c;
|
|
21579
21570
|
return n.useEffect(() => {
|
|
21580
21571
|
if (t)
|
|
21581
21572
|
return Q(), () => D();
|
|
@@ -21589,7 +21580,7 @@ var oW = n.forwardRef((A, q) => {
|
|
|
21589
21580
|
children: /* @__PURE__ */ E.jsx(
|
|
21590
21581
|
dA.span,
|
|
21591
21582
|
{
|
|
21592
|
-
tabIndex:
|
|
21583
|
+
tabIndex: Y ? 0 : -1,
|
|
21593
21584
|
"data-orientation": c.orientation,
|
|
21594
21585
|
...l,
|
|
21595
21586
|
ref: q,
|
|
@@ -21617,7 +21608,7 @@ var oW = n.forwardRef((A, q) => {
|
|
|
21617
21608
|
setTimeout(() => Lm(K));
|
|
21618
21609
|
}
|
|
21619
21610
|
}),
|
|
21620
|
-
children: typeof a == "function" ? a({ isCurrentTabStop:
|
|
21611
|
+
children: typeof a == "function" ? a({ isCurrentTabStop: Y, hasTabStop: F != null }) : a
|
|
21621
21612
|
}
|
|
21622
21613
|
)
|
|
21623
21614
|
}
|
|
@@ -21664,7 +21655,7 @@ var nW = Um, lW = dm, Oa = "Tabs", [wW, zS] = Ae(Oa, [
|
|
|
21664
21655
|
dir: l,
|
|
21665
21656
|
activationMode: w = "automatic",
|
|
21666
21657
|
...B
|
|
21667
|
-
} = A, c = Lw(l), [
|
|
21658
|
+
} = A, c = Lw(l), [Y, h] = rt({
|
|
21668
21659
|
prop: t,
|
|
21669
21660
|
onChange: o,
|
|
21670
21661
|
defaultProp: g ?? "",
|
|
@@ -21675,7 +21666,7 @@ var nW = Um, lW = dm, Oa = "Tabs", [wW, zS] = Ae(Oa, [
|
|
|
21675
21666
|
{
|
|
21676
21667
|
scope: V,
|
|
21677
21668
|
baseId: PV(),
|
|
21678
|
-
value:
|
|
21669
|
+
value: Y,
|
|
21679
21670
|
onValueChange: h,
|
|
21680
21671
|
orientation: a,
|
|
21681
21672
|
dir: c,
|
|
@@ -21742,15 +21733,15 @@ var Sm = "TabsTrigger", km = n.forwardRef(
|
|
|
21742
21733
|
id: w,
|
|
21743
21734
|
...g,
|
|
21744
21735
|
ref: q,
|
|
21745
|
-
onMouseDown: pA(A.onMouseDown, (
|
|
21746
|
-
!o &&
|
|
21736
|
+
onMouseDown: pA(A.onMouseDown, (Y) => {
|
|
21737
|
+
!o && Y.button === 0 && Y.ctrlKey === !1 ? a.onValueChange(t) : Y.preventDefault();
|
|
21747
21738
|
}),
|
|
21748
|
-
onKeyDown: pA(A.onKeyDown, (
|
|
21749
|
-
[" ", "Enter"].includes(
|
|
21739
|
+
onKeyDown: pA(A.onKeyDown, (Y) => {
|
|
21740
|
+
[" ", "Enter"].includes(Y.key) && a.onValueChange(t);
|
|
21750
21741
|
}),
|
|
21751
21742
|
onFocus: pA(A.onFocus, () => {
|
|
21752
|
-
const
|
|
21753
|
-
!c && !o &&
|
|
21743
|
+
const Y = a.activationMode !== "manual";
|
|
21744
|
+
!c && !o && Y && a.onValueChange(t);
|
|
21754
21745
|
})
|
|
21755
21746
|
}
|
|
21756
21747
|
)
|
|
@@ -21761,9 +21752,9 @@ var Sm = "TabsTrigger", km = n.forwardRef(
|
|
|
21761
21752
|
km.displayName = Sm;
|
|
21762
21753
|
var Nm = "TabsContent", fm = n.forwardRef(
|
|
21763
21754
|
(A, q) => {
|
|
21764
|
-
const { __scopeTabs: V, value: t, forceMount: o, children: g, ...a } = A, l = oM(Nm, V), w = Jm(l.baseId, t), B = jm(l.baseId, t), c = t === l.value,
|
|
21755
|
+
const { __scopeTabs: V, value: t, forceMount: o, children: g, ...a } = A, l = oM(Nm, V), w = Jm(l.baseId, t), B = jm(l.baseId, t), c = t === l.value, Y = n.useRef(c);
|
|
21765
21756
|
return n.useEffect(() => {
|
|
21766
|
-
const h = requestAnimationFrame(() =>
|
|
21757
|
+
const h = requestAnimationFrame(() => Y.current = !1);
|
|
21767
21758
|
return () => cancelAnimationFrame(h);
|
|
21768
21759
|
}, []), /* @__PURE__ */ E.jsx(Ie, { present: o || c, children: ({ present: h }) => /* @__PURE__ */ E.jsx(
|
|
21769
21760
|
dA.div,
|
|
@@ -21779,7 +21770,7 @@ var Nm = "TabsContent", fm = n.forwardRef(
|
|
|
21779
21770
|
ref: q,
|
|
21780
21771
|
style: {
|
|
21781
21772
|
...A.style,
|
|
21782
|
-
animationDuration:
|
|
21773
|
+
animationDuration: Y.current ? "0s" : void 0
|
|
21783
21774
|
},
|
|
21784
21775
|
children: h && g
|
|
21785
21776
|
}
|
|
@@ -21857,10 +21848,10 @@ function Hm() {
|
|
|
21857
21848
|
return n.useContext(Om);
|
|
21858
21849
|
}
|
|
21859
21850
|
const mW = n.forwardRef(({ devices: A }) => {
|
|
21860
|
-
const { addDevice: q } = nt(), { showAudio: V, showDevices: t, showAddDevices: o } = $w(), [g, a] = n.useState(!1), [l, w] = n.useState(""), [B, c] = n.useState(null), { wavoip:
|
|
21851
|
+
const { addDevice: q } = nt(), { showAudio: V, showDevices: t, showAddDevices: o } = $w(), [g, a] = n.useState(!1), [l, w] = n.useState(""), [B, c] = n.useState(null), { wavoip: Y } = nt(), h = n.useMemo(() => A.sort((D, F) => Number(F.enable) - Number(D.enable)), [A]), Q = Hm();
|
|
21861
21852
|
return n.useEffect(() => {
|
|
21862
|
-
|
|
21863
|
-
}, [g,
|
|
21853
|
+
Y && g && Y.getMultimediaDevices();
|
|
21854
|
+
}, [g, Y]), /* @__PURE__ */ E.jsxs(
|
|
21864
21855
|
bL,
|
|
21865
21856
|
{
|
|
21866
21857
|
modal: !0,
|
|
@@ -22006,7 +21997,7 @@ var Ha = "Popover", [zm, vS] = Ae(Ha, [
|
|
|
22006
21997
|
defaultOpen: o,
|
|
22007
21998
|
onOpenChange: g,
|
|
22008
21999
|
modal: a = !1
|
|
22009
|
-
} = A, l = Yi(q), w = n.useRef(null), [B, c] = n.useState(!1), [
|
|
22000
|
+
} = A, l = Yi(q), w = n.useRef(null), [B, c] = n.useState(!1), [Y, h] = rt({
|
|
22010
22001
|
prop: t,
|
|
22011
22002
|
defaultProp: o ?? !1,
|
|
22012
22003
|
onChange: g,
|
|
@@ -22018,7 +22009,7 @@ var Ha = "Popover", [zm, vS] = Ae(Ha, [
|
|
|
22018
22009
|
scope: q,
|
|
22019
22010
|
contentId: PV(),
|
|
22020
22011
|
triggerRef: w,
|
|
22021
|
-
open:
|
|
22012
|
+
open: Y,
|
|
22022
22013
|
onOpenChange: h,
|
|
22023
22014
|
onOpenToggle: n.useCallback(() => h((Q) => !Q), [h]),
|
|
22024
22015
|
hasCustomAnchor: B,
|
|
@@ -22135,7 +22126,7 @@ var pW = /* @__PURE__ */ Nt("PopoverContent.RemoveScroll"), KW = n.forwardRef(
|
|
|
22135
22126
|
onPointerDownOutside: w,
|
|
22136
22127
|
onFocusOutside: B,
|
|
22137
22128
|
onInteractOutside: c,
|
|
22138
|
-
...
|
|
22129
|
+
...Y
|
|
22139
22130
|
} = A, h = Mt(ys, V), Q = Yi(V);
|
|
22140
22131
|
return Ww(), /* @__PURE__ */ E.jsx(
|
|
22141
22132
|
Ta,
|
|
@@ -22162,10 +22153,10 @@ var pW = /* @__PURE__ */ Nt("PopoverContent.RemoveScroll"), KW = n.forwardRef(
|
|
|
22162
22153
|
role: "dialog",
|
|
22163
22154
|
id: h.contentId,
|
|
22164
22155
|
...Q,
|
|
22165
|
-
...
|
|
22156
|
+
...Y,
|
|
22166
22157
|
ref: q,
|
|
22167
22158
|
style: {
|
|
22168
|
-
...
|
|
22159
|
+
...Y.style,
|
|
22169
22160
|
"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
22170
22161
|
"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
|
|
22171
22162
|
"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
|
|
@@ -22294,7 +22285,7 @@ function NW({ children: A }) {
|
|
|
22294
22285
|
}
|
|
22295
22286
|
function tF() {
|
|
22296
22287
|
const A = n.useContext(eF);
|
|
22297
|
-
if (!A) throw new Error("
|
|
22288
|
+
if (!A) throw new Error("useNotificationManager deve ser usado dentro de <NotificationsProvider>");
|
|
22298
22289
|
return A;
|
|
22299
22290
|
}
|
|
22300
22291
|
//! moment.js
|
|
@@ -23121,8 +23112,8 @@ function _y(A) {
|
|
|
23121
23112
|
return this._weekdaysParseExact ? (JA(this, "_weekdaysRegex") || EM.call(this), A ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (JA(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ny), this._weekdaysMinStrictRegex && A ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
23122
23113
|
}
|
|
23123
23114
|
function EM() {
|
|
23124
|
-
function A(c,
|
|
23125
|
-
return
|
|
23115
|
+
function A(c, Y) {
|
|
23116
|
+
return Y.length - c.length;
|
|
23126
23117
|
}
|
|
23127
23118
|
var q = [], V = [], t = [], o = [], g, a, l, w, B;
|
|
23128
23119
|
for (g = 0; g < 7; g++)
|
|
@@ -24760,8 +24751,8 @@ function R1(A, q, V, t, o) {
|
|
|
24760
24751
|
return o.relativeTime(q || 1, !!V, A, t);
|
|
24761
24752
|
}
|
|
24762
24753
|
function Z1(A, q, V, t) {
|
|
24763
|
-
var o = RV(A).abs(), g = Ce(o.as("s")), a = Ce(o.as("m")), l = Ce(o.as("h")), w = Ce(o.as("d")), B = Ce(o.as("M")), c = Ce(o.as("w")),
|
|
24764
|
-
return V.w != null && (h = h || c <= 1 && ["w"] || c < V.w && ["ww", c]), h = h || B <= 1 && ["M"] || B < V.M && ["MM", B] ||
|
|
24754
|
+
var o = RV(A).abs(), g = Ce(o.as("s")), a = Ce(o.as("m")), l = Ce(o.as("h")), w = Ce(o.as("d")), B = Ce(o.as("M")), c = Ce(o.as("w")), Y = Ce(o.as("y")), h = g <= V.ss && ["s", g] || g < V.s && ["ss", g] || a <= 1 && ["m"] || a < V.m && ["mm", a] || l <= 1 && ["h"] || l < V.h && ["hh", l] || w <= 1 && ["d"] || w < V.d && ["dd", w];
|
|
24755
|
+
return V.w != null && (h = h || c <= 1 && ["w"] || c < V.w && ["ww", c]), h = h || B <= 1 && ["M"] || B < V.M && ["MM", B] || Y <= 1 && ["y"] || ["yy", Y], h[2] = q, h[3] = +A > 0, h[4] = t, R1.apply(null, h);
|
|
24765
24756
|
}
|
|
24766
24757
|
function S1(A) {
|
|
24767
24758
|
return A === void 0 ? Ce : typeof A == "function" ? (Ce = A, !0) : !1;
|
|
@@ -24782,8 +24773,8 @@ function Gs(A) {
|
|
|
24782
24773
|
function er() {
|
|
24783
24774
|
if (!this.isValid())
|
|
24784
24775
|
return this.localeData().invalidDate();
|
|
24785
|
-
var A = Tl(this._milliseconds) / 1e3, q = Tl(this._days), V = Tl(this._months), t, o, g, a, l = this.asSeconds(), w, B, c,
|
|
24786
|
-
return l ? (t = CV(A / 60), o = CV(t / 60), A %= 60, t %= 60, g = CV(V / 12), V %= 12, a = A ? A.toFixed(3).replace(/\.?0+$/, "") : "", w = l < 0 ? "-" : "", B = Gs(this._months) !== Gs(l) ? "-" : "", c = Gs(this._days) !== Gs(l) ? "-" : "",
|
|
24776
|
+
var A = Tl(this._milliseconds) / 1e3, q = Tl(this._days), V = Tl(this._months), t, o, g, a, l = this.asSeconds(), w, B, c, Y;
|
|
24777
|
+
return l ? (t = CV(A / 60), o = CV(t / 60), A %= 60, t %= 60, g = CV(V / 12), V %= 12, a = A ? A.toFixed(3).replace(/\.?0+$/, "") : "", w = l < 0 ? "-" : "", B = Gs(this._months) !== Gs(l) ? "-" : "", c = Gs(this._days) !== Gs(l) ? "-" : "", Y = Gs(this._milliseconds) !== Gs(l) ? "-" : "", w + "P" + (g ? B + g + "Y" : "") + (V ? B + V + "M" : "") + (q ? c + q + "D" : "") + (o || t || A ? "T" : "") + (o ? Y + o + "H" : "") + (t ? Y + t + "M" : "") + (A ? Y + a + "S" : "")) : "P0D";
|
|
24787
24778
|
}
|
|
24788
24779
|
var kA = qr.prototype;
|
|
24789
24780
|
kA.isValid = LR;
|
|
@@ -25358,7 +25349,7 @@ const b1 = "data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4Ljc2LjEwM
|
|
|
25358
25349
|
}
|
|
25359
25350
|
], xl = new Audio(b1);
|
|
25360
25351
|
function rS() {
|
|
25361
|
-
const [A, q] = n.useState(""), [V, t] = n.useState(""), [o, g] = n.useState(""), [a, l] = n.useState(!1), { startCall: w, devices: B } = nt(), { addNotification: c } = tF(),
|
|
25352
|
+
const [A, q] = n.useState(""), [V, t] = n.useState(""), [o, g] = n.useState(""), [a, l] = n.useState(!1), { startCall: w, devices: B } = nt(), { addNotification: c } = tF(), Y = async (h) => {
|
|
25362
25353
|
const Q = h.length <= 1, D = h[0];
|
|
25363
25354
|
l(!0), g(""), t(`Ligando de ${D}`), await w(A, [D]).then(({ err: F }) => {
|
|
25364
25355
|
if (!F) {
|
|
@@ -25383,7 +25374,7 @@ function rS() {
|
|
|
25383
25374
|
created_at: /* @__PURE__ */ new Date()
|
|
25384
25375
|
}), Q ? (t("Nenhum dispositivo está disponível"), l(!1), setTimeout(() => {
|
|
25385
25376
|
t("");
|
|
25386
|
-
}, 3e3)) :
|
|
25377
|
+
}, 3e3)) : Y(h.slice(1));
|
|
25387
25378
|
});
|
|
25388
25379
|
};
|
|
25389
25380
|
return /* @__PURE__ */ E.jsxs(
|
|
@@ -25392,7 +25383,7 @@ function rS() {
|
|
|
25392
25383
|
onSubmit: (h) => {
|
|
25393
25384
|
h.preventDefault();
|
|
25394
25385
|
const Q = B.filter((D) => D.enable).map((D) => D.token);
|
|
25395
|
-
|
|
25386
|
+
Y([...Q]);
|
|
25396
25387
|
},
|
|
25397
25388
|
className: "wv:flex wv:flex-col wv:size-full wv:items-center wv:justify-evenly wv:px-2 wv:pb-4",
|
|
25398
25389
|
children: [
|
|
@@ -25420,22 +25411,22 @@ function rS() {
|
|
|
25420
25411
|
{
|
|
25421
25412
|
type: "button",
|
|
25422
25413
|
variant: "secondary",
|
|
25423
|
-
className: `wv:aspect-square wv:size-full wv:rounded-full
|
|
25424
|
-
|
|
25425
|
-
|
|
25426
|
-
wv:hover:cursor-pointer
|
|
25427
|
-
|
|
25428
|
-
wv:text-foreground
|
|
25429
|
-
wv:bg-muted
|
|
25430
|
-
wv:hover:bg-accent
|
|
25431
|
-
wv:active:bg-accent/60
|
|
25432
|
-
|
|
25433
|
-
wv:flex wv:flex-col
|
|
25434
|
-
wv:justify-center
|
|
25435
|
-
wv:items-center wv:gap-0
|
|
25436
|
-
|
|
25437
|
-
wv:transition-colors
|
|
25438
|
-
wv:duration-200
|
|
25414
|
+
className: `wv:aspect-square wv:size-full wv:rounded-full \r
|
|
25415
|
+
\r
|
|
25416
|
+
\r
|
|
25417
|
+
wv:hover:cursor-pointer \r
|
|
25418
|
+
\r
|
|
25419
|
+
wv:text-foreground \r
|
|
25420
|
+
wv:bg-muted\r
|
|
25421
|
+
wv:hover:bg-accent\r
|
|
25422
|
+
wv:active:bg-accent/60\r
|
|
25423
|
+
\r
|
|
25424
|
+
wv:flex wv:flex-col \r
|
|
25425
|
+
wv:justify-center\r
|
|
25426
|
+
wv:items-center wv:gap-0 \r
|
|
25427
|
+
\r
|
|
25428
|
+
wv:transition-colors \r
|
|
25429
|
+
wv:duration-200 \r
|
|
25439
25430
|
wv:touch-manipulation`,
|
|
25440
25431
|
onClick: () => {
|
|
25441
25432
|
q((G) => G + Q), F.pause(), F.currentTime = 0, F.volume = 0.25, F.play();
|