@vlprojects-chat/chat 0.17.0-LD-8093.13 → 0.17.0-LD-8093.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +779 -777
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -269,7 +269,7 @@ function U_() {
|
|
|
269
269
|
var et = Oe.displayName || Oe.name || "";
|
|
270
270
|
return Q.displayName || (et !== "" ? De + "(" + et + ")" : De);
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function K(Q) {
|
|
273
273
|
return Q.displayName || "Context";
|
|
274
274
|
}
|
|
275
275
|
function B(Q) {
|
|
@@ -297,10 +297,10 @@ function U_() {
|
|
|
297
297
|
switch (Q.$$typeof) {
|
|
298
298
|
case c:
|
|
299
299
|
var Oe = Q;
|
|
300
|
-
return
|
|
300
|
+
return K(Oe) + ".Consumer";
|
|
301
301
|
case a:
|
|
302
302
|
var De = Q;
|
|
303
|
-
return
|
|
303
|
+
return K(De._context) + ".Provider";
|
|
304
304
|
case l:
|
|
305
305
|
return F(Q, Q.render, "ForwardRef");
|
|
306
306
|
case d:
|
|
@@ -318,14 +318,14 @@ function U_() {
|
|
|
318
318
|
}
|
|
319
319
|
return null;
|
|
320
320
|
}
|
|
321
|
-
var L = 0, H,
|
|
321
|
+
var L = 0, H, re, ae, Z, V, q, D;
|
|
322
322
|
function W() {
|
|
323
323
|
}
|
|
324
324
|
W.__reactDisabledLog = !0;
|
|
325
325
|
function U() {
|
|
326
326
|
{
|
|
327
327
|
if (L === 0) {
|
|
328
|
-
H = console.log,
|
|
328
|
+
H = console.log, re = console.info, ae = console.warn, Z = console.error, V = console.group, q = console.groupCollapsed, D = console.groupEnd;
|
|
329
329
|
var Q = {
|
|
330
330
|
configurable: !0,
|
|
331
331
|
enumerable: !0,
|
|
@@ -358,7 +358,7 @@ function U_() {
|
|
|
358
358
|
value: H
|
|
359
359
|
}),
|
|
360
360
|
info: n({}, Q, {
|
|
361
|
-
value:
|
|
361
|
+
value: re
|
|
362
362
|
}),
|
|
363
363
|
warn: n({}, Q, {
|
|
364
364
|
value: ae
|
|
@@ -380,18 +380,18 @@ function U_() {
|
|
|
380
380
|
L < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
var
|
|
383
|
+
var X = A.ReactCurrentDispatcher, ne;
|
|
384
384
|
function z(Q, Oe, De) {
|
|
385
385
|
{
|
|
386
|
-
if (
|
|
386
|
+
if (ne === void 0)
|
|
387
387
|
try {
|
|
388
388
|
throw Error();
|
|
389
389
|
} catch (dn) {
|
|
390
390
|
var et = dn.stack.trim().match(/\n( *(at )?)/);
|
|
391
|
-
|
|
391
|
+
ne = et && et[1] || "";
|
|
392
392
|
}
|
|
393
393
|
return `
|
|
394
|
-
` +
|
|
394
|
+
` + ne + Q;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
var te = !1, oe;
|
|
@@ -412,7 +412,7 @@ function U_() {
|
|
|
412
412
|
var dn = Error.prepareStackTrace;
|
|
413
413
|
Error.prepareStackTrace = void 0;
|
|
414
414
|
var an;
|
|
415
|
-
an =
|
|
415
|
+
an = X.current, X.current = null, U();
|
|
416
416
|
try {
|
|
417
417
|
if (Oe) {
|
|
418
418
|
var jt = function() {
|
|
@@ -465,7 +465,7 @@ function U_() {
|
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
} finally {
|
|
468
|
-
te = !1,
|
|
468
|
+
te = !1, X.current = an, Y(), Error.prepareStackTrace = dn;
|
|
469
469
|
}
|
|
470
470
|
var Il = Q ? Q.displayName || Q.name : "", EC = Il ? z(Il) : "";
|
|
471
471
|
return typeof Q == "function" && oe.set(Q, EC), EC;
|
|
@@ -540,8 +540,8 @@ function U_() {
|
|
|
540
540
|
ref: !0,
|
|
541
541
|
__self: !0,
|
|
542
542
|
__source: !0
|
|
543
|
-
}, Pe, fe,
|
|
544
|
-
|
|
543
|
+
}, Pe, fe, be;
|
|
544
|
+
be = {};
|
|
545
545
|
function Re(Q) {
|
|
546
546
|
if (Xe.call(Q, "ref")) {
|
|
547
547
|
var Oe = Object.getOwnPropertyDescriptor(Q, "ref").get;
|
|
@@ -561,7 +561,7 @@ function U_() {
|
|
|
561
561
|
function ge(Q, Oe) {
|
|
562
562
|
if (typeof Q.ref == "string" && Ke.current && Oe && Ke.current.stateNode !== Oe) {
|
|
563
563
|
var De = B(Ke.current.type);
|
|
564
|
-
|
|
564
|
+
be[De] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(Ke.current.type), Q.ref), be[De] = !0);
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
567
|
function ze(Q, Oe) {
|
|
@@ -900,7 +900,7 @@ function W_() {
|
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
|
-
var x = c, O = l, A = a, k = s, N = t, R = u, _ = r, F = g,
|
|
903
|
+
var x = c, O = l, A = a, k = s, N = t, R = u, _ = r, F = g, K = m, B = n, L = i, H = o, re = p, ae = !1;
|
|
904
904
|
function Z(ee) {
|
|
905
905
|
return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), V(ee) || S(ee) === c;
|
|
906
906
|
}
|
|
@@ -922,10 +922,10 @@ function W_() {
|
|
|
922
922
|
function Y(ee) {
|
|
923
923
|
return S(ee) === r;
|
|
924
924
|
}
|
|
925
|
-
function
|
|
925
|
+
function X(ee) {
|
|
926
926
|
return S(ee) === g;
|
|
927
927
|
}
|
|
928
|
-
function
|
|
928
|
+
function ne(ee) {
|
|
929
929
|
return S(ee) === m;
|
|
930
930
|
}
|
|
931
931
|
function z(ee) {
|
|
@@ -940,7 +940,7 @@ function W_() {
|
|
|
940
940
|
function ie(ee) {
|
|
941
941
|
return S(ee) === p;
|
|
942
942
|
}
|
|
943
|
-
zt.AsyncMode = x, zt.ConcurrentMode = O, zt.ContextConsumer = A, zt.ContextProvider = k, zt.Element = N, zt.ForwardRef = R, zt.Fragment = _, zt.Lazy = F, zt.Memo =
|
|
943
|
+
zt.AsyncMode = x, zt.ConcurrentMode = O, zt.ContextConsumer = A, zt.ContextProvider = k, zt.Element = N, zt.ForwardRef = R, zt.Fragment = _, zt.Lazy = F, zt.Memo = K, zt.Portal = B, zt.Profiler = L, zt.StrictMode = H, zt.Suspense = re, zt.isAsyncMode = Z, zt.isConcurrentMode = V, zt.isContextConsumer = q, zt.isContextProvider = D, zt.isElement = W, zt.isForwardRef = U, zt.isFragment = Y, zt.isLazy = X, zt.isMemo = ne, zt.isPortal = z, zt.isProfiler = te, zt.isStrictMode = oe, zt.isSuspense = ie, zt.isValidElementType = b, zt.typeOf = S;
|
|
944
944
|
}()), zt;
|
|
945
945
|
}
|
|
946
946
|
I.env.NODE_ENV === "production" ? _1.exports = H_() : _1.exports = W_();
|
|
@@ -1047,7 +1047,7 @@ function z_() {
|
|
|
1047
1047
|
oneOf: A,
|
|
1048
1048
|
oneOfType: N,
|
|
1049
1049
|
shape: F,
|
|
1050
|
-
exact:
|
|
1050
|
+
exact: K
|
|
1051
1051
|
};
|
|
1052
1052
|
function g(V, q) {
|
|
1053
1053
|
return V === q ? V !== 0 || 1 / V === 1 / q : V !== V && q !== q;
|
|
@@ -1059,33 +1059,33 @@ function z_() {
|
|
|
1059
1059
|
function y(V) {
|
|
1060
1060
|
if (I.env.NODE_ENV !== "production")
|
|
1061
1061
|
var q = {}, D = 0;
|
|
1062
|
-
function W(Y,
|
|
1063
|
-
if (z = z || d, oe = oe ||
|
|
1062
|
+
function W(Y, X, ne, z, te, oe, ie) {
|
|
1063
|
+
if (z = z || d, oe = oe || ne, ie !== n) {
|
|
1064
1064
|
if (c) {
|
|
1065
1065
|
var ee = new Error(
|
|
1066
1066
|
"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"
|
|
1067
1067
|
);
|
|
1068
1068
|
throw ee.name = "Invariant Violation", ee;
|
|
1069
1069
|
} else if (I.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1070
|
-
var Ce = z + ":" +
|
|
1070
|
+
var Ce = z + ":" + ne;
|
|
1071
1071
|
!q[Ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1072
1072
|
D < 3 && (i(
|
|
1073
1073
|
"You are manually calling a React.PropTypes validation function for the `" + oe + "` prop on `" + z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1074
1074
|
), q[Ce] = !0, D++);
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
|
-
return
|
|
1077
|
+
return X[ne] == null ? Y ? X[ne] === null ? new v("The " + te + " `" + oe + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new v("The " + te + " `" + oe + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : V(X, ne, z, te, oe);
|
|
1078
1078
|
}
|
|
1079
1079
|
var U = W.bind(null, !1);
|
|
1080
1080
|
return U.isRequired = W.bind(null, !0), U;
|
|
1081
1081
|
}
|
|
1082
1082
|
function E(V) {
|
|
1083
|
-
function q(D, W, U, Y,
|
|
1083
|
+
function q(D, W, U, Y, X, ne) {
|
|
1084
1084
|
var z = D[W], te = H(z);
|
|
1085
1085
|
if (te !== V) {
|
|
1086
|
-
var oe =
|
|
1086
|
+
var oe = re(z);
|
|
1087
1087
|
return new v(
|
|
1088
|
-
"Invalid " + Y + " `" +
|
|
1088
|
+
"Invalid " + Y + " `" + X + "` of type " + ("`" + oe + "` supplied to `" + U + "`, expected ") + ("`" + V + "`."),
|
|
1089
1089
|
{ expectedType: V }
|
|
1090
1090
|
);
|
|
1091
1091
|
}
|
|
@@ -1097,16 +1097,16 @@ function z_() {
|
|
|
1097
1097
|
return y(s);
|
|
1098
1098
|
}
|
|
1099
1099
|
function b(V) {
|
|
1100
|
-
function q(D, W, U, Y,
|
|
1100
|
+
function q(D, W, U, Y, X) {
|
|
1101
1101
|
if (typeof V != "function")
|
|
1102
|
-
return new v("Property `" +
|
|
1103
|
-
var
|
|
1104
|
-
if (!Array.isArray(
|
|
1105
|
-
var z = H(
|
|
1106
|
-
return new v("Invalid " + Y + " `" +
|
|
1107
|
-
}
|
|
1108
|
-
for (var te = 0; te <
|
|
1109
|
-
var oe = V(
|
|
1102
|
+
return new v("Property `" + X + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
|
|
1103
|
+
var ne = D[W];
|
|
1104
|
+
if (!Array.isArray(ne)) {
|
|
1105
|
+
var z = H(ne);
|
|
1106
|
+
return new v("Invalid " + Y + " `" + X + "` of type " + ("`" + z + "` supplied to `" + U + "`, expected an array."));
|
|
1107
|
+
}
|
|
1108
|
+
for (var te = 0; te < ne.length; te++) {
|
|
1109
|
+
var oe = V(ne, te, U, Y, X + "[" + te + "]", n);
|
|
1110
1110
|
if (oe instanceof Error)
|
|
1111
1111
|
return oe;
|
|
1112
1112
|
}
|
|
@@ -1116,10 +1116,10 @@ function z_() {
|
|
|
1116
1116
|
}
|
|
1117
1117
|
function S() {
|
|
1118
1118
|
function V(q, D, W, U, Y) {
|
|
1119
|
-
var
|
|
1120
|
-
if (!a(
|
|
1121
|
-
var
|
|
1122
|
-
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" +
|
|
1119
|
+
var X = q[D];
|
|
1120
|
+
if (!a(X)) {
|
|
1121
|
+
var ne = H(X);
|
|
1122
|
+
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected a single ReactElement."));
|
|
1123
1123
|
}
|
|
1124
1124
|
return null;
|
|
1125
1125
|
}
|
|
@@ -1127,20 +1127,20 @@ function z_() {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
function x() {
|
|
1129
1129
|
function V(q, D, W, U, Y) {
|
|
1130
|
-
var
|
|
1131
|
-
if (!e.isValidElementType(
|
|
1132
|
-
var
|
|
1133
|
-
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" +
|
|
1130
|
+
var X = q[D];
|
|
1131
|
+
if (!e.isValidElementType(X)) {
|
|
1132
|
+
var ne = H(X);
|
|
1133
|
+
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected a single ReactElement type."));
|
|
1134
1134
|
}
|
|
1135
1135
|
return null;
|
|
1136
1136
|
}
|
|
1137
1137
|
return y(V);
|
|
1138
1138
|
}
|
|
1139
1139
|
function O(V) {
|
|
1140
|
-
function q(D, W, U, Y,
|
|
1140
|
+
function q(D, W, U, Y, X) {
|
|
1141
1141
|
if (!(D[W] instanceof V)) {
|
|
1142
|
-
var
|
|
1143
|
-
return new v("Invalid " + Y + " `" +
|
|
1142
|
+
var ne = V.name || d, z = Z(D[W]);
|
|
1143
|
+
return new v("Invalid " + Y + " `" + X + "` of type " + ("`" + z + "` supplied to `" + U + "`, expected ") + ("instance of `" + ne + "`."));
|
|
1144
1144
|
}
|
|
1145
1145
|
return null;
|
|
1146
1146
|
}
|
|
@@ -1151,28 +1151,28 @@ function z_() {
|
|
|
1151
1151
|
return I.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1152
1152
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1153
1153
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1154
|
-
function q(D, W, U, Y,
|
|
1155
|
-
for (var
|
|
1156
|
-
if (g(
|
|
1154
|
+
function q(D, W, U, Y, X) {
|
|
1155
|
+
for (var ne = D[W], z = 0; z < V.length; z++)
|
|
1156
|
+
if (g(ne, V[z]))
|
|
1157
1157
|
return null;
|
|
1158
1158
|
var te = JSON.stringify(V, function(ie, ee) {
|
|
1159
|
-
var Ce =
|
|
1159
|
+
var Ce = re(ee);
|
|
1160
1160
|
return Ce === "symbol" ? String(ee) : ee;
|
|
1161
1161
|
});
|
|
1162
|
-
return new v("Invalid " + Y + " `" +
|
|
1162
|
+
return new v("Invalid " + Y + " `" + X + "` of value `" + String(ne) + "` " + ("supplied to `" + U + "`, expected one of " + te + "."));
|
|
1163
1163
|
}
|
|
1164
1164
|
return y(q);
|
|
1165
1165
|
}
|
|
1166
1166
|
function k(V) {
|
|
1167
|
-
function q(D, W, U, Y,
|
|
1167
|
+
function q(D, W, U, Y, X) {
|
|
1168
1168
|
if (typeof V != "function")
|
|
1169
|
-
return new v("Property `" +
|
|
1170
|
-
var
|
|
1169
|
+
return new v("Property `" + X + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
|
|
1170
|
+
var ne = D[W], z = H(ne);
|
|
1171
1171
|
if (z !== "object")
|
|
1172
|
-
return new v("Invalid " + Y + " `" +
|
|
1173
|
-
for (var te in
|
|
1174
|
-
if (r(
|
|
1175
|
-
var oe = V(
|
|
1172
|
+
return new v("Invalid " + Y + " `" + X + "` of type " + ("`" + z + "` supplied to `" + U + "`, expected an object."));
|
|
1173
|
+
for (var te in ne)
|
|
1174
|
+
if (r(ne, te)) {
|
|
1175
|
+
var oe = V(ne, te, U, Y, X + "." + te, n);
|
|
1176
1176
|
if (oe instanceof Error)
|
|
1177
1177
|
return oe;
|
|
1178
1178
|
}
|
|
@@ -1190,15 +1190,15 @@ function z_() {
|
|
|
1190
1190
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(D) + " at index " + q + "."
|
|
1191
1191
|
), s;
|
|
1192
1192
|
}
|
|
1193
|
-
function W(U, Y,
|
|
1193
|
+
function W(U, Y, X, ne, z) {
|
|
1194
1194
|
for (var te = [], oe = 0; oe < V.length; oe++) {
|
|
1195
|
-
var ie = V[oe], ee = ie(U, Y,
|
|
1195
|
+
var ie = V[oe], ee = ie(U, Y, X, ne, z, n);
|
|
1196
1196
|
if (ee == null)
|
|
1197
1197
|
return null;
|
|
1198
1198
|
ee.data && r(ee.data, "expectedType") && te.push(ee.data.expectedType);
|
|
1199
1199
|
}
|
|
1200
1200
|
var Ce = te.length > 0 ? ", expected one of type [" + te.join(", ") + "]" : "";
|
|
1201
|
-
return new v("Invalid " +
|
|
1201
|
+
return new v("Invalid " + ne + " `" + z + "` supplied to " + ("`" + X + "`" + Ce + "."));
|
|
1202
1202
|
}
|
|
1203
1203
|
return y(W);
|
|
1204
1204
|
}
|
|
@@ -1214,15 +1214,15 @@ function z_() {
|
|
|
1214
1214
|
);
|
|
1215
1215
|
}
|
|
1216
1216
|
function F(V) {
|
|
1217
|
-
function q(D, W, U, Y,
|
|
1218
|
-
var
|
|
1217
|
+
function q(D, W, U, Y, X) {
|
|
1218
|
+
var ne = D[W], z = H(ne);
|
|
1219
1219
|
if (z !== "object")
|
|
1220
|
-
return new v("Invalid " + Y + " `" +
|
|
1220
|
+
return new v("Invalid " + Y + " `" + X + "` of type `" + z + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
1221
1221
|
for (var te in V) {
|
|
1222
1222
|
var oe = V[te];
|
|
1223
1223
|
if (typeof oe != "function")
|
|
1224
|
-
return _(U, Y,
|
|
1225
|
-
var ie = oe(
|
|
1224
|
+
return _(U, Y, X, te, re(oe));
|
|
1225
|
+
var ie = oe(ne, te, U, Y, X + "." + te, n);
|
|
1226
1226
|
if (ie)
|
|
1227
1227
|
return ie;
|
|
1228
1228
|
}
|
|
@@ -1230,22 +1230,22 @@ function z_() {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
return y(q);
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1234
|
-
function q(D, W, U, Y,
|
|
1235
|
-
var
|
|
1233
|
+
function K(V) {
|
|
1234
|
+
function q(D, W, U, Y, X) {
|
|
1235
|
+
var ne = D[W], z = H(ne);
|
|
1236
1236
|
if (z !== "object")
|
|
1237
|
-
return new v("Invalid " + Y + " `" +
|
|
1237
|
+
return new v("Invalid " + Y + " `" + X + "` of type `" + z + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
1238
1238
|
var te = t({}, D[W], V);
|
|
1239
1239
|
for (var oe in te) {
|
|
1240
1240
|
var ie = V[oe];
|
|
1241
1241
|
if (r(V, oe) && typeof ie != "function")
|
|
1242
|
-
return _(U, Y,
|
|
1242
|
+
return _(U, Y, X, oe, re(ie));
|
|
1243
1243
|
if (!ie)
|
|
1244
1244
|
return new v(
|
|
1245
|
-
"Invalid " + Y + " `" +
|
|
1245
|
+
"Invalid " + Y + " `" + X + "` key `" + oe + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(D[W], null, " ") + `
|
|
1246
1246
|
Valid keys: ` + JSON.stringify(Object.keys(V), null, " ")
|
|
1247
1247
|
);
|
|
1248
|
-
var ee = ie(
|
|
1248
|
+
var ee = ie(ne, oe, U, Y, X + "." + oe, n);
|
|
1249
1249
|
if (ee)
|
|
1250
1250
|
return ee;
|
|
1251
1251
|
}
|
|
@@ -1293,7 +1293,7 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ")
|
|
|
1293
1293
|
var q = typeof V;
|
|
1294
1294
|
return Array.isArray(V) ? "array" : V instanceof RegExp ? "object" : L(q, V) ? "symbol" : q;
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1296
|
+
function re(V) {
|
|
1297
1297
|
if (typeof V > "u" || V === null)
|
|
1298
1298
|
return "" + V;
|
|
1299
1299
|
var q = H(V);
|
|
@@ -1306,7 +1306,7 @@ Valid keys: ` + JSON.stringify(Object.keys(V), null, " ")
|
|
|
1306
1306
|
return q;
|
|
1307
1307
|
}
|
|
1308
1308
|
function ae(V) {
|
|
1309
|
-
var q =
|
|
1309
|
+
var q = re(V);
|
|
1310
1310
|
switch (q) {
|
|
1311
1311
|
case "array":
|
|
1312
1312
|
case "object":
|
|
@@ -3420,7 +3420,7 @@ function LL() {
|
|
|
3420
3420
|
}
|
|
3421
3421
|
}
|
|
3422
3422
|
}
|
|
3423
|
-
var O = s, A = i, k = e, N = c, R = n, _ = d, F = p,
|
|
3423
|
+
var O = s, A = i, k = e, N = c, R = n, _ = d, F = p, K = t, B = o, L = r, H = l, re = u, ae = !1, Z = !1;
|
|
3424
3424
|
function V($) {
|
|
3425
3425
|
return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
3426
3426
|
}
|
|
@@ -3439,10 +3439,10 @@ function LL() {
|
|
|
3439
3439
|
function Y($) {
|
|
3440
3440
|
return x($) === c;
|
|
3441
3441
|
}
|
|
3442
|
-
function
|
|
3442
|
+
function X($) {
|
|
3443
3443
|
return x($) === n;
|
|
3444
3444
|
}
|
|
3445
|
-
function
|
|
3445
|
+
function ne($) {
|
|
3446
3446
|
return x($) === d;
|
|
3447
3447
|
}
|
|
3448
3448
|
function z($) {
|
|
@@ -3463,7 +3463,7 @@ function LL() {
|
|
|
3463
3463
|
function Ce($) {
|
|
3464
3464
|
return x($) === u;
|
|
3465
3465
|
}
|
|
3466
|
-
Yt.ContextConsumer = O, Yt.ContextProvider = A, Yt.Element = k, Yt.ForwardRef = N, Yt.Fragment = R, Yt.Lazy = _, Yt.Memo = F, Yt.Portal =
|
|
3466
|
+
Yt.ContextConsumer = O, Yt.ContextProvider = A, Yt.Element = k, Yt.ForwardRef = N, Yt.Fragment = R, Yt.Lazy = _, Yt.Memo = F, Yt.Portal = K, Yt.Profiler = B, Yt.StrictMode = L, Yt.Suspense = H, Yt.SuspenseList = re, Yt.isAsyncMode = V, Yt.isConcurrentMode = q, Yt.isContextConsumer = D, Yt.isContextProvider = W, Yt.isElement = U, Yt.isForwardRef = Y, Yt.isFragment = X, Yt.isLazy = ne, Yt.isMemo = z, Yt.isPortal = te, Yt.isProfiler = oe, Yt.isStrictMode = ie, Yt.isSuspense = ee, Yt.isSuspenseList = Ce, Yt.isValidElementType = S, Yt.typeOf = x;
|
|
3467
3467
|
}()), Yt;
|
|
3468
3468
|
}
|
|
3469
3469
|
I.env.NODE_ENV === "production" ? V1.exports = _L() : V1.exports = LL();
|
|
@@ -3605,8 +3605,8 @@ function X3(e = {}) {
|
|
|
3605
3605
|
}, S = (...x) => {
|
|
3606
3606
|
const O = [], A = x.map(b), k = [];
|
|
3607
3607
|
if (O.push(i), l && m && k.push(function(F) {
|
|
3608
|
-
var H,
|
|
3609
|
-
const B = (
|
|
3608
|
+
var H, re;
|
|
3609
|
+
const B = (re = (H = F.theme.components) == null ? void 0 : H[l]) == null ? void 0 : re.styleOverrides;
|
|
3610
3610
|
if (!B)
|
|
3611
3611
|
return null;
|
|
3612
3612
|
const L = {};
|
|
@@ -3615,12 +3615,12 @@ function X3(e = {}) {
|
|
|
3615
3615
|
return m(F, L);
|
|
3616
3616
|
}), l && !v && k.push(function(F) {
|
|
3617
3617
|
var L, H;
|
|
3618
|
-
const
|
|
3618
|
+
const K = F.theme, B = (H = (L = K == null ? void 0 : K.components) == null ? void 0 : L[l]) == null ? void 0 : H.variants;
|
|
3619
3619
|
return B ? K3(F, B) : null;
|
|
3620
3620
|
}), y || k.push(Ca), Array.isArray(A[0])) {
|
|
3621
|
-
const _ = A.shift(), F = new Array(O.length).fill(""),
|
|
3621
|
+
const _ = A.shift(), F = new Array(O.length).fill(""), K = new Array(k.length).fill("");
|
|
3622
3622
|
let B;
|
|
3623
|
-
B = [...F, ..._, ...
|
|
3623
|
+
B = [...F, ..._, ...K], B.raw = [...F, ..._.raw, ...K], O.unshift(B);
|
|
3624
3624
|
}
|
|
3625
3625
|
const N = [...O, ...A, ...k], R = T(...N);
|
|
3626
3626
|
return a.muiName && (R.muiName = a.muiName), I.env.NODE_ENV !== "production" && (R.displayName = UL(l, u, a)), R;
|
|
@@ -4614,7 +4614,7 @@ function y7(e) {
|
|
|
4614
4614
|
I.env.NODE_ENV !== "production" && (l.displayName = "ColorSchemeContext");
|
|
4615
4615
|
const u = () => j.useContext(l) || c;
|
|
4616
4616
|
function p(v) {
|
|
4617
|
-
var Tt, Pe, fe,
|
|
4617
|
+
var Tt, Pe, fe, be, Re;
|
|
4618
4618
|
const {
|
|
4619
4619
|
children: y,
|
|
4620
4620
|
theme: E,
|
|
@@ -4627,14 +4627,14 @@ function y7(e) {
|
|
|
4627
4627
|
disableNestedContext: k = !1,
|
|
4628
4628
|
disableStyleSheetGeneration: N = !1,
|
|
4629
4629
|
defaultMode: R = "system"
|
|
4630
|
-
} = v, _ = j.useRef(!1), F = Sy(),
|
|
4631
|
-
colorSchemes:
|
|
4630
|
+
} = v, _ = j.useRef(!1), F = Sy(), K = j.useContext(l), B = !!K && !k, L = j.useMemo(() => E || (typeof n == "function" ? n() : n), [E]), H = L[t], {
|
|
4631
|
+
colorSchemes: re = {},
|
|
4632
4632
|
components: ae = {},
|
|
4633
4633
|
cssVarPrefix: Z,
|
|
4634
4634
|
...V
|
|
4635
|
-
} = H || L, q = Object.keys(
|
|
4636
|
-
mode:
|
|
4637
|
-
setMode:
|
|
4635
|
+
} = H || L, q = Object.keys(re).filter((Ee) => !!re[Ee]).join(","), D = j.useMemo(() => q.split(","), [q]), W = typeof s == "string" ? s : s.light, U = typeof s == "string" ? s : s.dark, Y = re[W] && re[U] ? R : ((Pe = (Tt = re[V.defaultColorScheme]) == null ? void 0 : Tt.palette) == null ? void 0 : Pe.mode) || ((fe = V.palette) == null ? void 0 : fe.mode), {
|
|
4636
|
+
mode: X,
|
|
4637
|
+
setMode: ne,
|
|
4638
4638
|
systemMode: z,
|
|
4639
4639
|
lightColorScheme: te,
|
|
4640
4640
|
darkColorScheme: oe,
|
|
@@ -4649,17 +4649,17 @@ function y7(e) {
|
|
|
4649
4649
|
defaultMode: Y,
|
|
4650
4650
|
storageWindow: x
|
|
4651
4651
|
});
|
|
4652
|
-
let Ce =
|
|
4653
|
-
B && (Ce =
|
|
4654
|
-
const we = $ || V.defaultColorScheme, Me = ((
|
|
4652
|
+
let Ce = X, $ = ie;
|
|
4653
|
+
B && (Ce = K.mode, $ = K.colorScheme);
|
|
4654
|
+
const we = $ || V.defaultColorScheme, Me = ((be = V.generateThemeVars) == null ? void 0 : be.call(V)) || V.vars, je = {
|
|
4655
4655
|
...V,
|
|
4656
4656
|
components: ae,
|
|
4657
|
-
colorSchemes:
|
|
4657
|
+
colorSchemes: re,
|
|
4658
4658
|
cssVarPrefix: Z,
|
|
4659
4659
|
vars: Me
|
|
4660
4660
|
};
|
|
4661
4661
|
if (typeof je.generateSpacing == "function" && (je.spacing = je.generateSpacing()), we) {
|
|
4662
|
-
const Ee =
|
|
4662
|
+
const Ee = re[we];
|
|
4663
4663
|
Ee && typeof Ee == "object" && Object.keys(Ee).forEach((ge) => {
|
|
4664
4664
|
Ee[ge] && typeof Ee[ge] == "object" ? je[ge] = {
|
|
4665
4665
|
...je[ge],
|
|
@@ -4706,9 +4706,9 @@ function y7(e) {
|
|
|
4706
4706
|
lightColorScheme: te,
|
|
4707
4707
|
mode: Ce,
|
|
4708
4708
|
setColorScheme: ee,
|
|
4709
|
-
setMode:
|
|
4709
|
+
setMode: ne,
|
|
4710
4710
|
systemMode: z
|
|
4711
|
-
}), [D, $, oe, te, Ce, ee,
|
|
4711
|
+
}), [D, $, oe, te, Ce, ee, ne, z]);
|
|
4712
4712
|
let Ke = !0;
|
|
4713
4713
|
(N || V.cssVariables === !1 || B && (F == null ? void 0 : F.cssVarPrefix) === Z) && (Ke = !1);
|
|
4714
4714
|
const Xe = /* @__PURE__ */ h.jsxs(j.Fragment, {
|
|
@@ -4935,15 +4935,15 @@ function E7(e, t = {}) {
|
|
|
4935
4935
|
css: _
|
|
4936
4936
|
}]) => {
|
|
4937
4937
|
var B, L;
|
|
4938
|
-
const F = (L = (B = i[R]) == null ? void 0 : B.palette) == null ? void 0 : L.mode,
|
|
4938
|
+
const F = (L = (B = i[R]) == null ? void 0 : B.palette) == null ? void 0 : L.mode, K = !r && F ? {
|
|
4939
4939
|
colorScheme: F,
|
|
4940
4940
|
..._
|
|
4941
4941
|
} : {
|
|
4942
4942
|
..._
|
|
4943
4943
|
};
|
|
4944
4944
|
x(n(R, {
|
|
4945
|
-
...
|
|
4946
|
-
}),
|
|
4945
|
+
...K
|
|
4946
|
+
}), K);
|
|
4947
4947
|
}), b;
|
|
4948
4948
|
}
|
|
4949
4949
|
};
|
|
@@ -5857,7 +5857,7 @@ function iF(e = {}, ...t) {
|
|
|
5857
5857
|
};
|
|
5858
5858
|
Object.keys(S.colorSchemes).forEach((N) => {
|
|
5859
5859
|
const R = S.colorSchemes[N].palette, _ = (F) => {
|
|
5860
|
-
const
|
|
5860
|
+
const K = F.split("-"), B = K[1], L = K[2];
|
|
5861
5861
|
return d(F, R[B][L]);
|
|
5862
5862
|
};
|
|
5863
5863
|
if (R.mode === "light" && (ue(R.common, "background", "#fff"), ue(R.common, "onBackground", "#000")), R.mode === "dark" && (ue(R.common, "background", "#000"), ue(R.common, "onBackground", "#fff")), nF(R, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), R.mode === "light") {
|
|
@@ -5871,8 +5871,8 @@ function iF(e = {}, ...t) {
|
|
|
5871
5871
|
ue(R.SnackbarContent, "bg", F), ue(R.SnackbarContent, "color", Mi(() => R.getContrastText(F))), ue(R.SpeedDialAction, "fabHoverBg", Dh(R.background.paper, 0.15)), ue(R.StepConnector, "border", _("palette-grey-600")), ue(R.StepContent, "border", _("palette-grey-600")), ue(R.Switch, "defaultColor", _("palette-grey-300")), ue(R.Switch, "defaultDisabledColor", _("palette-grey-600")), ue(R.Switch, "primaryDisabledColor", cn(R.primary.main, 0.55)), ue(R.Switch, "secondaryDisabledColor", cn(R.secondary.main, 0.55)), ue(R.Switch, "errorDisabledColor", cn(R.error.main, 0.55)), ue(R.Switch, "infoDisabledColor", cn(R.info.main, 0.55)), ue(R.Switch, "successDisabledColor", cn(R.success.main, 0.55)), ue(R.Switch, "warningDisabledColor", cn(R.warning.main, 0.55)), ue(R.TableCell, "border", cn(jh(R.divider, 1), 0.68)), ue(R.Tooltip, "bg", jh(R.grey[700], 0.92));
|
|
5872
5872
|
}
|
|
5873
5873
|
Ts(R.background, "default"), Ts(R.background, "paper"), Ts(R.common, "background"), Ts(R.common, "onBackground"), Ts(R, "divider"), Object.keys(R).forEach((F) => {
|
|
5874
|
-
const
|
|
5875
|
-
|
|
5874
|
+
const K = R[F];
|
|
5875
|
+
K && typeof K == "object" && (K.main && ue(R[F], "mainChannel", fd(dd(K.main))), K.light && ue(R[F], "lightChannel", fd(dd(K.light))), K.dark && ue(R[F], "darkChannel", fd(dd(K.dark))), K.contrastText && ue(R[F], "contrastTextChannel", fd(dd(K.contrastText))), F === "text" && (Ts(R[F], "primary"), Ts(R[F], "secondary")), F === "action" && (K.active && Ts(R[F], "active"), K.selected && Ts(R[F], "selected")));
|
|
5876
5876
|
});
|
|
5877
5877
|
}), S = t.reduce((N, R) => rr(N, R), S);
|
|
5878
5878
|
const x = {
|
|
@@ -16306,14 +16306,14 @@ function FN(e, t = {}) {
|
|
|
16306
16306
|
v.end = new Proxy(v.end, {
|
|
16307
16307
|
apply(O, A, k) {
|
|
16308
16308
|
p && p(v);
|
|
16309
|
-
const [N, ...R] = k, _ = N || Hr(), F = Tc(_),
|
|
16310
|
-
if (!
|
|
16309
|
+
const [N, ...R] = k, _ = N || Hr(), F = Tc(_), K = Hm(v).filter((ae) => ae !== v);
|
|
16310
|
+
if (!K.length)
|
|
16311
16311
|
return x(F), Reflect.apply(O, A, [F, ...R]);
|
|
16312
|
-
const B =
|
|
16312
|
+
const B = K.map((ae) => Wt(ae).timestamp).filter((ae) => !!ae), L = B.length ? Math.max(...B) : void 0, H = Wt(v).start_timestamp, re = Math.min(
|
|
16313
16313
|
H ? H + l / 1e3 : 1 / 0,
|
|
16314
16314
|
Math.max(H || -1 / 0, Math.min(F, L || 1 / 0))
|
|
16315
16315
|
);
|
|
16316
|
-
return x(
|
|
16316
|
+
return x(re), Reflect.apply(O, A, [re, ...R]);
|
|
16317
16317
|
}
|
|
16318
16318
|
});
|
|
16319
16319
|
function y() {
|
|
@@ -16350,7 +16350,7 @@ function FN(e, t = {}) {
|
|
|
16350
16350
|
let _ = 0;
|
|
16351
16351
|
R.forEach((F) => {
|
|
16352
16352
|
F.isRecording() && (F.setStatus({ code: Qn, message: "cancelled" }), F.end(O), gt && Ae.log("[Tracing] Cancelling span since span ended early", JSON.stringify(F, void 0, 2)));
|
|
16353
|
-
const
|
|
16353
|
+
const K = Wt(F), { timestamp: B = 0, start_timestamp: L = 0 } = K, H = L <= O, re = (l + c) / 1e3, ae = B - L <= re;
|
|
16354
16354
|
if (gt) {
|
|
16355
16355
|
const Z = JSON.stringify(F, void 0, 2);
|
|
16356
16356
|
H ? ae || Ae.log("[Tracing] Discarding span since it finished after idle span final timeout", Z) : Ae.log("[Tracing] Discarding span since it happened after idle span was finished", Z);
|
|
@@ -20299,7 +20299,7 @@ const er = Symbol("noDefaultValue"), kx = {
|
|
|
20299
20299
|
return o._fromSnapshotProcessor = n, o._toSnapshotProcessor = r, o;
|
|
20300
20300
|
}
|
|
20301
20301
|
};
|
|
20302
|
-
function
|
|
20302
|
+
function ye(e) {
|
|
20303
20303
|
if (!(arguments.length >= 1))
|
|
20304
20304
|
return cR;
|
|
20305
20305
|
let n = lR.get(e);
|
|
@@ -22920,7 +22920,7 @@ function Us(e, t) {
|
|
|
22920
22920
|
}
|
|
22921
22921
|
const n = arguments.length >= 2, r = xl(e);
|
|
22922
22922
|
return sZ(r, n ? t : iZ, () => {
|
|
22923
|
-
const o = n ? rZ(r, lM, uM) : r, i = Object.create(n ?
|
|
22923
|
+
const o = n ? rZ(r, lM, uM) : r, i = Object.create(n ? ye(t) : ye());
|
|
22924
22924
|
return Object.assign(i, {
|
|
22925
22925
|
_typeChecker: r,
|
|
22926
22926
|
_fromSnapshotProcessor: aZ.bind(void 0, o),
|
|
@@ -22977,7 +22977,7 @@ const wM = (e, t, n, r) => {
|
|
|
22977
22977
|
n.$[t] = o;
|
|
22978
22978
|
}, uZ = (e, t, n, r) => n[Nx] ? (wM(e, t, n, r), !0) : !1, SM = () => sh().modelIdGenerator(), EM = Us(Rf, SM);
|
|
22979
22979
|
EM._isId = !0;
|
|
22980
|
-
const xM =
|
|
22980
|
+
const xM = ye(SM);
|
|
22981
22981
|
xM._isId = !0;
|
|
22982
22982
|
function fZ({ modelProps: e, baseModel: t, type: n, valueType: r, fromSnapshotProcessor: o, toSnapshotProcessor: i }) {
|
|
22983
22983
|
if (Ef(e, "modelProps"), e = Object.assign(/* @__PURE__ */ Object.create(null), e), t) {
|
|
@@ -24757,7 +24757,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
24757
24757
|
throw new TypeError(
|
|
24758
24758
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof P
|
|
24759
24759
|
);
|
|
24760
|
-
if (
|
|
24760
|
+
if (be(P, s) || P && be(P.buffer, s) || typeof a < "u" && (be(P, a) || P && be(P.buffer, a)))
|
|
24761
24761
|
return T(P, w, C);
|
|
24762
24762
|
if (typeof P == "number")
|
|
24763
24763
|
throw new TypeError(
|
|
@@ -24812,7 +24812,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
24812
24812
|
return C;
|
|
24813
24813
|
}
|
|
24814
24814
|
function E(P) {
|
|
24815
|
-
if (
|
|
24815
|
+
if (be(P, i)) {
|
|
24816
24816
|
const w = new i(P);
|
|
24817
24817
|
return T(w.buffer, w.byteOffset, w.byteLength);
|
|
24818
24818
|
}
|
|
@@ -24847,7 +24847,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
24847
24847
|
u.isBuffer = function(w) {
|
|
24848
24848
|
return w != null && w._isBuffer === !0 && w !== u.prototype;
|
|
24849
24849
|
}, u.compare = function(w, C) {
|
|
24850
|
-
if (
|
|
24850
|
+
if (be(w, i) && (w = u.from(w, w.offset, w.byteLength)), be(C, i) && (C = u.from(C, C.offset, C.byteLength)), !u.isBuffer(w) || !u.isBuffer(C))
|
|
24851
24851
|
throw new TypeError(
|
|
24852
24852
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
24853
24853
|
);
|
|
@@ -24889,7 +24889,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
24889
24889
|
let se = 0;
|
|
24890
24890
|
for (M = 0; M < w.length; ++M) {
|
|
24891
24891
|
let le = w[M];
|
|
24892
|
-
if (
|
|
24892
|
+
if (be(le, i))
|
|
24893
24893
|
se + le.length > J.length ? (u.isBuffer(le) || (le = u.from(le)), le.copy(J, se)) : i.prototype.set.call(
|
|
24894
24894
|
J,
|
|
24895
24895
|
le,
|
|
@@ -24906,7 +24906,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
24906
24906
|
function O(P, w) {
|
|
24907
24907
|
if (u.isBuffer(P))
|
|
24908
24908
|
return P.length;
|
|
24909
|
-
if (s.isView(P) ||
|
|
24909
|
+
if (s.isView(P) || be(P, s))
|
|
24910
24910
|
return P.byteLength;
|
|
24911
24911
|
if (typeof P != "string")
|
|
24912
24912
|
throw new TypeError(
|
|
@@ -24950,7 +24950,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
24950
24950
|
return D(this, w, C);
|
|
24951
24951
|
case "utf8":
|
|
24952
24952
|
case "utf-8":
|
|
24953
|
-
return
|
|
24953
|
+
return re(this, w, C);
|
|
24954
24954
|
case "ascii":
|
|
24955
24955
|
return V(this, w, C);
|
|
24956
24956
|
case "latin1":
|
|
@@ -24996,7 +24996,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
24996
24996
|
return this;
|
|
24997
24997
|
}, u.prototype.toString = function() {
|
|
24998
24998
|
const w = this.length;
|
|
24999
|
-
return w === 0 ? "" : arguments.length === 0 ?
|
|
24999
|
+
return w === 0 ? "" : arguments.length === 0 ? re(this, 0, w) : A.apply(this, arguments);
|
|
25000
25000
|
}, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(w) {
|
|
25001
25001
|
if (!u.isBuffer(w)) throw new TypeError("Argument must be a Buffer");
|
|
25002
25002
|
return this === w ? !0 : u.compare(this, w) === 0;
|
|
@@ -25005,7 +25005,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
25005
25005
|
const C = e.INSPECT_MAX_BYTES;
|
|
25006
25006
|
return w = this.toString("hex", 0, C).replace(/(.{2})/g, "$1 ").trim(), this.length > C && (w += " ... "), "<Buffer " + w + ">";
|
|
25007
25007
|
}, r && (u.prototype[r] = u.prototype.inspect), u.prototype.compare = function(w, C, M, J, se) {
|
|
25008
|
-
if (
|
|
25008
|
+
if (be(w, i) && (w = u.from(w, w.offset, w.byteLength)), !u.isBuffer(w))
|
|
25009
25009
|
throw new TypeError(
|
|
25010
25010
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof w
|
|
25011
25011
|
);
|
|
@@ -25095,7 +25095,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
25095
25095
|
function F(P, w, C, M) {
|
|
25096
25096
|
return fe(Ke(w, P.length - C), P, C, M);
|
|
25097
25097
|
}
|
|
25098
|
-
function
|
|
25098
|
+
function K(P, w, C, M) {
|
|
25099
25099
|
return fe(Xe(w), P, C, M);
|
|
25100
25100
|
}
|
|
25101
25101
|
function B(P, w, C, M) {
|
|
@@ -25130,7 +25130,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
25130
25130
|
case "ascii":
|
|
25131
25131
|
case "latin1":
|
|
25132
25132
|
case "binary":
|
|
25133
|
-
return
|
|
25133
|
+
return K(this, w, C, M);
|
|
25134
25134
|
case "base64":
|
|
25135
25135
|
return B(this, w, C, M);
|
|
25136
25136
|
case "ucs2":
|
|
@@ -25151,7 +25151,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
25151
25151
|
function H(P, w, C) {
|
|
25152
25152
|
return w === 0 && C === P.length ? t.fromByteArray(P) : t.fromByteArray(P.slice(w, C));
|
|
25153
25153
|
}
|
|
25154
|
-
function
|
|
25154
|
+
function re(P, w, C) {
|
|
25155
25155
|
C = Math.min(P.length, C);
|
|
25156
25156
|
const M = [];
|
|
25157
25157
|
let J = w;
|
|
@@ -25346,14 +25346,14 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
25346
25346
|
}, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(w, C, M) {
|
|
25347
25347
|
return w = +w, C = C >>> 0, M || Y(this, w, C, 4, 4294967295, 0), this[C] = w >>> 24, this[C + 1] = w >>> 16, this[C + 2] = w >>> 8, this[C + 3] = w & 255, C + 4;
|
|
25348
25348
|
};
|
|
25349
|
-
function
|
|
25349
|
+
function X(P, w, C, M, J) {
|
|
25350
25350
|
we(w, M, J, P, C, 7);
|
|
25351
25351
|
let se = Number(w & BigInt(4294967295));
|
|
25352
25352
|
P[C++] = se, se = se >> 8, P[C++] = se, se = se >> 8, P[C++] = se, se = se >> 8, P[C++] = se;
|
|
25353
25353
|
let le = Number(w >> BigInt(32) & BigInt(4294967295));
|
|
25354
25354
|
return P[C++] = le, le = le >> 8, P[C++] = le, le = le >> 8, P[C++] = le, le = le >> 8, P[C++] = le, C;
|
|
25355
25355
|
}
|
|
25356
|
-
function
|
|
25356
|
+
function ne(P, w, C, M, J) {
|
|
25357
25357
|
we(w, M, J, P, C, 7);
|
|
25358
25358
|
let se = Number(w & BigInt(4294967295));
|
|
25359
25359
|
P[C + 7] = se, se = se >> 8, P[C + 6] = se, se = se >> 8, P[C + 5] = se, se = se >> 8, P[C + 4] = se;
|
|
@@ -25361,9 +25361,9 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
25361
25361
|
return P[C + 3] = le, le = le >> 8, P[C + 2] = le, le = le >> 8, P[C + 1] = le, le = le >> 8, P[C] = le, C + 8;
|
|
25362
25362
|
}
|
|
25363
25363
|
u.prototype.writeBigUInt64LE = ge(function(w, C = 0) {
|
|
25364
|
-
return
|
|
25364
|
+
return X(this, w, C, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
25365
25365
|
}), u.prototype.writeBigUInt64BE = ge(function(w, C = 0) {
|
|
25366
|
-
return
|
|
25366
|
+
return ne(this, w, C, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
25367
25367
|
}), u.prototype.writeIntLE = function(w, C, M, J) {
|
|
25368
25368
|
if (w = +w, C = C >>> 0, !J) {
|
|
25369
25369
|
const Dt = Math.pow(2, 8 * M - 1);
|
|
@@ -25393,9 +25393,9 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
25393
25393
|
}, u.prototype.writeInt32BE = function(w, C, M) {
|
|
25394
25394
|
return w = +w, C = C >>> 0, M || Y(this, w, C, 4, 2147483647, -2147483648), w < 0 && (w = 4294967295 + w + 1), this[C] = w >>> 24, this[C + 1] = w >>> 16, this[C + 2] = w >>> 8, this[C + 3] = w & 255, C + 4;
|
|
25395
25395
|
}, u.prototype.writeBigInt64LE = ge(function(w, C = 0) {
|
|
25396
|
-
return
|
|
25396
|
+
return X(this, w, C, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
25397
25397
|
}), u.prototype.writeBigInt64BE = ge(function(w, C = 0) {
|
|
25398
|
-
return
|
|
25398
|
+
return ne(this, w, C, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
25399
25399
|
});
|
|
25400
25400
|
function z(P, w, C, M, J, se) {
|
|
25401
25401
|
if (C + M > P.length) throw new RangeError("Index out of range");
|
|
@@ -25617,7 +25617,7 @@ r2.write = function(e, t, n, r, o, i) {
|
|
|
25617
25617
|
w[J + C] = P[J];
|
|
25618
25618
|
return J;
|
|
25619
25619
|
}
|
|
25620
|
-
function
|
|
25620
|
+
function be(P, w) {
|
|
25621
25621
|
return P instanceof w || P != null && P.constructor != null && P.constructor.name != null && P.constructor.name === w.name;
|
|
25622
25622
|
}
|
|
25623
25623
|
function Re(P) {
|
|
@@ -27638,14 +27638,14 @@ var mS = Pee, gA = mS.custom, vA = fj(gA) ? gA : null, Bee = function e(t, n, r,
|
|
|
27638
27638
|
o = [];
|
|
27639
27639
|
else if (dj(o, t) >= 0)
|
|
27640
27640
|
return "[Circular]";
|
|
27641
|
-
function d(
|
|
27641
|
+
function d(K, B, L) {
|
|
27642
27642
|
if (B && (o = Fee.call(o), o.push(B)), L) {
|
|
27643
27643
|
var H = {
|
|
27644
27644
|
depth: i.depth
|
|
27645
27645
|
};
|
|
27646
|
-
return ua(i, "quoteStyle") && (H.quoteStyle = i.quoteStyle), e(
|
|
27646
|
+
return ua(i, "quoteStyle") && (H.quoteStyle = i.quoteStyle), e(K, H, r + 1, o);
|
|
27647
27647
|
}
|
|
27648
|
-
return e(
|
|
27648
|
+
return e(K, i, r + 1, o);
|
|
27649
27649
|
}
|
|
27650
27650
|
if (typeof t == "function" && !yA(t)) {
|
|
27651
27651
|
var m = Kee(t), g = nm(t, d);
|
|
@@ -27678,14 +27678,14 @@ var mS = Pee, gA = mS.custom, vA = fj(gA) ? gA : null, Bee = function e(t, n, r,
|
|
|
27678
27678
|
}
|
|
27679
27679
|
if (Xee(t)) {
|
|
27680
27680
|
var x = [];
|
|
27681
|
-
return cA && cA.call(t, function(
|
|
27682
|
-
x.push(d(B, t, !0) + " => " + d(
|
|
27681
|
+
return cA && cA.call(t, function(K, B) {
|
|
27682
|
+
x.push(d(B, t, !0) + " => " + d(K, t));
|
|
27683
27683
|
}), bA("Map", Gg.call(t), x, p);
|
|
27684
27684
|
}
|
|
27685
27685
|
if (Qee(t)) {
|
|
27686
27686
|
var O = [];
|
|
27687
|
-
return lA && lA.call(t, function(
|
|
27688
|
-
O.push(d(
|
|
27687
|
+
return lA && lA.call(t, function(K) {
|
|
27688
|
+
O.push(d(K, t));
|
|
27689
27689
|
}), bA("Set", zg.call(t), O, p);
|
|
27690
27690
|
}
|
|
27691
27691
|
if (Jee(t))
|
|
@@ -28189,13 +28189,13 @@ var hj = kf, Mf = Oee, ote = Bee, ite = dh, rm = hj("%WeakMap%", !0), om = hj("%
|
|
|
28189
28189
|
var _ = Object.keys(b);
|
|
28190
28190
|
R = p ? _.sort(p) : _;
|
|
28191
28191
|
}
|
|
28192
|
-
var F = c ? n.replace(/\./g, "%2E") : n,
|
|
28192
|
+
var F = c ? n.replace(/\./g, "%2E") : n, K = o && zi(b) && b.length === 1 ? F + "[]" : F;
|
|
28193
28193
|
if (i && zi(b) && b.length === 0)
|
|
28194
|
-
return
|
|
28194
|
+
return K + "[]";
|
|
28195
28195
|
for (var B = 0; B < R.length; ++B) {
|
|
28196
28196
|
var L = R[B], H = typeof L == "object" && typeof L.value < "u" ? L.value : b[L];
|
|
28197
28197
|
if (!(a && H === null)) {
|
|
28198
|
-
var
|
|
28198
|
+
var re = d && c ? L.replace(/\./g, "%2E") : L, ae = zi(b) ? typeof r == "function" ? r(K, re) : K : K + (d ? "." + re : "[" + re + "]");
|
|
28199
28199
|
T.set(t, x);
|
|
28200
28200
|
var Z = vj();
|
|
28201
28201
|
Z.set(F0, T), bj(N, e(
|
|
@@ -28602,12 +28602,12 @@ const cne = (e, t) => {
|
|
|
28602
28602
|
return e[n];
|
|
28603
28603
|
};
|
|
28604
28604
|
let ka = class extends br({
|
|
28605
|
-
id:
|
|
28606
|
-
username:
|
|
28607
|
-
displayName:
|
|
28608
|
-
avatarUrl:
|
|
28609
|
-
role:
|
|
28610
|
-
isMuted:
|
|
28605
|
+
id: ye(""),
|
|
28606
|
+
username: ye(() => ""),
|
|
28607
|
+
displayName: ye(() => ""),
|
|
28608
|
+
avatarUrl: ye(() => ""),
|
|
28609
|
+
role: ye(() => jf.User),
|
|
28610
|
+
isMuted: ye(() => !1)
|
|
28611
28611
|
}) {
|
|
28612
28612
|
get getAvatarColor() {
|
|
28613
28613
|
const e = cne(Object.keys(pp), this.displayName);
|
|
@@ -28634,11 +28634,11 @@ var lne = Object.defineProperty, une = Object.getOwnPropertyDescriptor, ub = (e,
|
|
|
28634
28634
|
return r && o && lne(t, n, o), o;
|
|
28635
28635
|
};
|
|
28636
28636
|
let al = class extends br({
|
|
28637
|
-
me:
|
|
28638
|
-
accessToken:
|
|
28639
|
-
appId:
|
|
28640
|
-
isAuthorized:
|
|
28641
|
-
isAnonymousAllowed:
|
|
28637
|
+
me: ye(() => new ka({})),
|
|
28638
|
+
accessToken: ye(""),
|
|
28639
|
+
appId: ye("").withSetter(),
|
|
28640
|
+
isAuthorized: ye(!1).withSetter(),
|
|
28641
|
+
isAnonymousAllowed: ye(!1).withSetter()
|
|
28642
28642
|
}) {
|
|
28643
28643
|
setAccessToken(t) {
|
|
28644
28644
|
Zte(t), this.accessToken = t, this.isAuthorized = !0, ine(t);
|
|
@@ -30468,20 +30468,20 @@ var Wr = /* @__PURE__ */ ((e) => (e.New = "new", e.InProgress = "in_progress", e
|
|
|
30468
30468
|
return r && o && Bre(t, n, o), o;
|
|
30469
30469
|
};
|
|
30470
30470
|
let qu = class extends br({
|
|
30471
|
-
id:
|
|
30472
|
-
question:
|
|
30473
|
-
isOpenEnded:
|
|
30474
|
-
withAnswer:
|
|
30475
|
-
isVoted:
|
|
30476
|
-
options:
|
|
30477
|
-
validOptions:
|
|
30478
|
-
templateId:
|
|
30479
|
-
createdAt:
|
|
30480
|
-
stoppedAt:
|
|
30481
|
-
status:
|
|
30482
|
-
votes:
|
|
30483
|
-
updatedAt:
|
|
30484
|
-
isMultiselect:
|
|
30471
|
+
id: ye(),
|
|
30472
|
+
question: ye(""),
|
|
30473
|
+
isOpenEnded: ye(() => !1),
|
|
30474
|
+
withAnswer: ye(() => !1),
|
|
30475
|
+
isVoted: ye(() => !1),
|
|
30476
|
+
options: ye(() => []),
|
|
30477
|
+
validOptions: ye(() => []),
|
|
30478
|
+
templateId: ye(),
|
|
30479
|
+
createdAt: ye(),
|
|
30480
|
+
stoppedAt: ye(),
|
|
30481
|
+
status: ye(() => Wr.New).withSetter(),
|
|
30482
|
+
votes: ye(() => []),
|
|
30483
|
+
updatedAt: ye(),
|
|
30484
|
+
isMultiselect: ye()
|
|
30485
30485
|
}) {
|
|
30486
30486
|
changeStatus(e) {
|
|
30487
30487
|
this.setStatus(e);
|
|
@@ -30530,15 +30530,15 @@ var Hre = Object.defineProperty, Wre = Object.getOwnPropertyDescriptor, b2 = (e,
|
|
|
30530
30530
|
return r && o && Hre(t, n, o), o;
|
|
30531
30531
|
}, pd = /* @__PURE__ */ ((e) => (e.UserJoinedEvent = "user-joined", e.UserChangedEvent = "user-changed", e.UserChangedChannelEvent = "user-changed-channel", e.ChangedChannelEvent = "changed-channel", e))(pd || {});
|
|
30532
30532
|
let mp = class extends br({
|
|
30533
|
-
randomId:
|
|
30534
|
-
id:
|
|
30535
|
-
text:
|
|
30536
|
-
type:
|
|
30537
|
-
user:
|
|
30538
|
-
createdAt:
|
|
30539
|
-
meta:
|
|
30540
|
-
attachments:
|
|
30541
|
-
systemData:
|
|
30533
|
+
randomId: ye(),
|
|
30534
|
+
id: ye(),
|
|
30535
|
+
text: ye(),
|
|
30536
|
+
type: ye(),
|
|
30537
|
+
user: ye(),
|
|
30538
|
+
createdAt: ye(),
|
|
30539
|
+
meta: ye(),
|
|
30540
|
+
attachments: ye(),
|
|
30541
|
+
systemData: ye()
|
|
30542
30542
|
}) {
|
|
30543
30543
|
get getUser() {
|
|
30544
30544
|
var e;
|
|
@@ -30584,11 +30584,11 @@ var Gre = Object.defineProperty, zre = Object.getOwnPropertyDescriptor, qre = (e
|
|
|
30584
30584
|
return r && o && Gre(t, n, o), o;
|
|
30585
30585
|
};
|
|
30586
30586
|
let Zg = class extends br({
|
|
30587
|
-
id:
|
|
30588
|
-
channelId:
|
|
30589
|
-
messageId:
|
|
30590
|
-
message:
|
|
30591
|
-
user:
|
|
30587
|
+
id: ye(),
|
|
30588
|
+
channelId: ye(),
|
|
30589
|
+
messageId: ye(),
|
|
30590
|
+
message: ye(),
|
|
30591
|
+
user: ye()
|
|
30592
30592
|
}) {
|
|
30593
30593
|
};
|
|
30594
30594
|
Zg = qre([
|
|
@@ -30927,24 +30927,24 @@ var ut = /* @__PURE__ */ ((e) => (e.Login = "login", e.Signup = "signup", e.Prof
|
|
|
30927
30927
|
return r && o && foe(t, n, o), o;
|
|
30928
30928
|
};
|
|
30929
30929
|
let $t = class extends br({
|
|
30930
|
-
name:
|
|
30931
|
-
id:
|
|
30932
|
-
externalId:
|
|
30933
|
-
type:
|
|
30934
|
-
messages:
|
|
30935
|
-
directUsersOnly:
|
|
30936
|
-
polls:
|
|
30937
|
-
activePoll:
|
|
30930
|
+
name: ye(() => ""),
|
|
30931
|
+
id: ye(),
|
|
30932
|
+
externalId: ye(""),
|
|
30933
|
+
type: ye(nn.Public),
|
|
30934
|
+
messages: ye(() => Qm()),
|
|
30935
|
+
directUsersOnly: ye(() => []).withSetter(),
|
|
30936
|
+
polls: ye(() => []),
|
|
30937
|
+
activePoll: ye(() => {
|
|
30938
30938
|
}).withSetter(),
|
|
30939
|
-
pinnedMessages:
|
|
30940
|
-
settings:
|
|
30941
|
-
timeLimit:
|
|
30942
|
-
drafts:
|
|
30943
|
-
loaded:
|
|
30944
|
-
lastReadTimestamp:
|
|
30945
|
-
unreadMessagesCount:
|
|
30946
|
-
isSubmitDelayed:
|
|
30947
|
-
submitAttemptTime:
|
|
30939
|
+
pinnedMessages: ye(() => []),
|
|
30940
|
+
settings: ye().withSetter(),
|
|
30941
|
+
timeLimit: ye(-1),
|
|
30942
|
+
drafts: ye(() => new uoe({})),
|
|
30943
|
+
loaded: ye(!1).withSetter(),
|
|
30944
|
+
lastReadTimestamp: ye(Date.now()).withSetter(),
|
|
30945
|
+
unreadMessagesCount: ye(0).withSetter(),
|
|
30946
|
+
isSubmitDelayed: ye(!1).withSetter(),
|
|
30947
|
+
submitAttemptTime: ye(0).withSetter()
|
|
30948
30948
|
}) {
|
|
30949
30949
|
onInit() {
|
|
30950
30950
|
Xd.register(this);
|
|
@@ -30966,7 +30966,7 @@ let $t = class extends br({
|
|
|
30966
30966
|
return e.forEach((o) => {
|
|
30967
30967
|
var i, s;
|
|
30968
30968
|
if (!(o.type === kc.System && !o.meta)) {
|
|
30969
|
-
this.messages.has(o.id) || (t += 1, console.log(`craetedAt=${o.createdAt} getTime=${new Date(o.createdAt).getTime()} ${new Date(o.createdAt).getTime() > this.lastReadTimestamp}`), console.log(`this.id !== root.currentChannel?.id=${this.id !== ((i = r.currentChannel) == null ? void 0 : i.id)}`), console.log(`!root.ui.route.includes(Routes.Channels)=${!r.ui.route.includes(ut.Channels)}`), console.log("root.currentChannel=", r.currentChannel), console.log("this.id=", this.id), console.log("root.ui.route=", r.ui.route), (this.id !== ((s = r.currentChannel) == null ? void 0 : s.id) || !r.ui.route.includes(ut.Channels)) && (n = new Date(o.createdAt).getTime() > this.lastReadTimestamp ? n + 1 : n, console.log(`iterattion unreadMessagesCount=${n}`)));
|
|
30969
|
+
this.messages.has(o.id) || (t += 1, console.log(`craetedAt=${o.createdAt} getTime=${new Date(o.createdAt).getTime()} ${new Date(o.createdAt).getTime() > this.lastReadTimestamp}`), console.log(`this.id !== root.currentChannel?.id=${this.id !== ((i = r.currentChannel) == null ? void 0 : i.id)}`), console.log(`!root.ui.route.includes(Routes.Channels)=${!r.ui.route.includes(ut.Channels)}`), console.log("root.currentChannel=", r.currentChannel), console.log("this.id=", this.id), console.log("root.ui.route=", r.ui.route), (r.ui.isVisible || this.id !== ((s = r.currentChannel) == null ? void 0 : s.id) || !r.ui.route.includes(ut.Channels)) && (n = new Date(o.createdAt).getTime() > this.lastReadTimestamp ? n + 1 : n, console.log(`iterattion unreadMessagesCount=${n}`)));
|
|
30970
30970
|
const a = new mp({
|
|
30971
30971
|
id: o.id,
|
|
30972
30972
|
randomId: o.randomId || null,
|
|
@@ -31202,8 +31202,8 @@ var poe = Object.defineProperty, hoe = Object.getOwnPropertyDescriptor, moe = (e
|
|
|
31202
31202
|
return r && o && poe(t, n, o), o;
|
|
31203
31203
|
};
|
|
31204
31204
|
let OS = class extends br({
|
|
31205
|
-
id:
|
|
31206
|
-
name:
|
|
31205
|
+
id: ye(""),
|
|
31206
|
+
name: ye("")
|
|
31207
31207
|
}) {
|
|
31208
31208
|
};
|
|
31209
31209
|
OS = moe([
|
|
@@ -31215,12 +31215,12 @@ var goe = Object.defineProperty, voe = Object.getOwnPropertyDescriptor, Yr = (e,
|
|
|
31215
31215
|
return r && o && goe(t, n, o), o;
|
|
31216
31216
|
};
|
|
31217
31217
|
let ar = class extends br({
|
|
31218
|
-
channels:
|
|
31219
|
-
pubs:
|
|
31220
|
-
users:
|
|
31218
|
+
channels: ye(() => Qm()),
|
|
31219
|
+
pubs: ye(() => Qm()),
|
|
31220
|
+
users: ye(() => Qm()),
|
|
31221
31221
|
// repository
|
|
31222
|
-
directChatStartDateISOString:
|
|
31223
|
-
tabId:
|
|
31222
|
+
directChatStartDateISOString: ye(null).withSetter(),
|
|
31223
|
+
tabId: ye(void 0).withSetter()
|
|
31224
31224
|
}) {
|
|
31225
31225
|
constructor() {
|
|
31226
31226
|
super(...arguments), this._hostEventBus = null, this.fetchingQueueUser = [];
|
|
@@ -31388,22 +31388,22 @@ var yoe = Object.defineProperty, boe = Object.getOwnPropertyDescriptor, x2 = (e,
|
|
|
31388
31388
|
return r && o && yoe(t, n, o), o;
|
|
31389
31389
|
};
|
|
31390
31390
|
let Yu = class extends br({
|
|
31391
|
-
createChannelAllowed:
|
|
31392
|
-
accessUnregisteredUsers:
|
|
31393
|
-
accessChatGuest:
|
|
31394
|
-
accessRegister:
|
|
31395
|
-
displayDirect:
|
|
31396
|
-
displayUserList:
|
|
31397
|
-
displayChannelList:
|
|
31398
|
-
displaySystemMessages:
|
|
31399
|
-
displayHeader:
|
|
31400
|
-
displayFooter:
|
|
31401
|
-
socketUrl:
|
|
31402
|
-
showCloseButton:
|
|
31403
|
-
showHeader:
|
|
31404
|
-
showMessageInput:
|
|
31405
|
-
showOpenInPopupButton:
|
|
31406
|
-
showPolls:
|
|
31391
|
+
createChannelAllowed: ye(!1).withSetter(),
|
|
31392
|
+
accessUnregisteredUsers: ye(!1).withSetter(),
|
|
31393
|
+
accessChatGuest: ye(!1).withSetter(),
|
|
31394
|
+
accessRegister: ye(!1).withSetter(),
|
|
31395
|
+
displayDirect: ye(!1).withSetter(),
|
|
31396
|
+
displayUserList: ye(!1).withSetter(),
|
|
31397
|
+
displayChannelList: ye(!1).withSetter(),
|
|
31398
|
+
displaySystemMessages: ye(!1).withSetter(),
|
|
31399
|
+
displayHeader: ye(!1).withSetter(),
|
|
31400
|
+
displayFooter: ye(!1).withSetter(),
|
|
31401
|
+
socketUrl: ye("").withSetter(),
|
|
31402
|
+
showCloseButton: ye(!0).withSetter(),
|
|
31403
|
+
showHeader: ye(!0).withSetter(),
|
|
31404
|
+
showMessageInput: ye(!0).withSetter(),
|
|
31405
|
+
showOpenInPopupButton: ye(!1).withSetter(),
|
|
31406
|
+
showPolls: ye(!0).withSetter()
|
|
31407
31407
|
}) {
|
|
31408
31408
|
setAll({
|
|
31409
31409
|
createChannelAllowed: e = !1,
|
|
@@ -33941,7 +33941,7 @@ var aie = Object.defineProperty, cie = Object.getOwnPropertyDescriptor, sD = (e,
|
|
|
33941
33941
|
return r && o && aie(t, n, o), o;
|
|
33942
33942
|
};
|
|
33943
33943
|
let gp = class extends br({
|
|
33944
|
-
isSocketConnected:
|
|
33944
|
+
isSocketConnected: ye(!1).withSetter()
|
|
33945
33945
|
}) {
|
|
33946
33946
|
constructor() {
|
|
33947
33947
|
super(...arguments), this.messageChunk = [], this.messageRate = 0;
|
|
@@ -34177,7 +34177,7 @@ gp = sD([
|
|
|
34177
34177
|
var RS = { exports: {} };
|
|
34178
34178
|
(function(e, t) {
|
|
34179
34179
|
(function(n, r) {
|
|
34180
|
-
var o = "1.0.39", i = "", s = "?", a = "function", c = "undefined", l = "object", u = "string", p = "major", d = "model", m = "name", g = "type", v = "vendor", y = "version", E = "architecture", T = "console", b = "mobile", S = "tablet", x = "smarttv", O = "wearable", A = "embedded", k = 500, N = "Amazon", R = "Apple", _ = "ASUS", F = "BlackBerry",
|
|
34180
|
+
var o = "1.0.39", i = "", s = "?", a = "function", c = "undefined", l = "object", u = "string", p = "major", d = "model", m = "name", g = "type", v = "vendor", y = "version", E = "architecture", T = "console", b = "mobile", S = "tablet", x = "smarttv", O = "wearable", A = "embedded", k = 500, N = "Amazon", R = "Apple", _ = "ASUS", F = "BlackBerry", K = "Browser", B = "Chrome", L = "Edge", H = "Firefox", re = "Google", ae = "Huawei", Z = "LG", V = "Microsoft", q = "Motorola", D = "Opera", W = "Samsung", U = "Sharp", Y = "Sony", X = "Xiaomi", ne = "Zebra", z = "Facebook", te = "Chromium OS", oe = "Mac OS", ie = " Browser", ee = function(Re, Ee) {
|
|
34181
34181
|
var ge = {};
|
|
34182
34182
|
for (var ze in Re)
|
|
34183
34183
|
Ee[ze] && Ee[ze].length % 2 === 0 ? ge[ze] = Ee[ze].concat(Re[ze]) : ge[ze] = Re[ze];
|
|
@@ -34310,7 +34310,7 @@ var RS = { exports: {} };
|
|
|
34310
34310
|
/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i
|
|
34311
34311
|
// UCBrowser
|
|
34312
34312
|
],
|
|
34313
|
-
[y, [m, "UC" +
|
|
34313
|
+
[y, [m, "UC" + K]],
|
|
34314
34314
|
[
|
|
34315
34315
|
/microm.+\bqbcore\/([\w\.]+)/i,
|
|
34316
34316
|
// WeChat Desktop for Windows Built-in Browser
|
|
@@ -34338,12 +34338,12 @@ var RS = { exports: {} };
|
|
|
34338
34338
|
/slbrowser\/([\w\.]+)/i
|
|
34339
34339
|
// Smart Lenovo Browser
|
|
34340
34340
|
],
|
|
34341
|
-
[y, [m, "Smart Lenovo " +
|
|
34341
|
+
[y, [m, "Smart Lenovo " + K]],
|
|
34342
34342
|
[
|
|
34343
34343
|
/(avast|avg)\/([\w\.]+)/i
|
|
34344
34344
|
// Avast/AVG Secure Browser
|
|
34345
34345
|
],
|
|
34346
|
-
[[m, /(.+)/, "$1 Secure " +
|
|
34346
|
+
[[m, /(.+)/, "$1 Secure " + K], y],
|
|
34347
34347
|
[
|
|
34348
34348
|
/\bfocus\/([\w\.]+)/i
|
|
34349
34349
|
// Firefox Focus
|
|
@@ -34373,7 +34373,7 @@ var RS = { exports: {} };
|
|
|
34373
34373
|
/miuibrowser\/([\w\.]+)/i
|
|
34374
34374
|
// MIUI Browser
|
|
34375
34375
|
],
|
|
34376
|
-
[y, [m, "MIUI " +
|
|
34376
|
+
[y, [m, "MIUI " + K]],
|
|
34377
34377
|
[
|
|
34378
34378
|
/fxios\/([-\w\.]+)/i
|
|
34379
34379
|
// Firefox for iOS
|
|
@@ -34479,7 +34479,7 @@ var RS = { exports: {} };
|
|
|
34479
34479
|
/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
|
|
34480
34480
|
// Android Browser
|
|
34481
34481
|
],
|
|
34482
|
-
[y, [m, "Android " +
|
|
34482
|
+
[y, [m, "Android " + K]],
|
|
34483
34483
|
[
|
|
34484
34484
|
/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i
|
|
34485
34485
|
// Chrome/OmniWeb/Arora/Tizen/Nokia
|
|
@@ -34655,14 +34655,14 @@ var RS = { exports: {} };
|
|
|
34655
34655
|
/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i
|
|
34656
34656
|
// Xiaomi Mi
|
|
34657
34657
|
],
|
|
34658
|
-
[[d, /_/g, " "], [v,
|
|
34658
|
+
[[d, /_/g, " "], [v, X], [g, b]],
|
|
34659
34659
|
[
|
|
34660
34660
|
/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,
|
|
34661
34661
|
// Redmi Pad
|
|
34662
34662
|
/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i
|
|
34663
34663
|
// Mi Pad tablets
|
|
34664
34664
|
],
|
|
34665
|
-
[[d, /_/g, " "], [v,
|
|
34665
|
+
[[d, /_/g, " "], [v, X], [g, S]],
|
|
34666
34666
|
[
|
|
34667
34667
|
// OPPO
|
|
34668
34668
|
/; (\w+) bui.+ oppo/i,
|
|
@@ -34723,12 +34723,12 @@ var RS = { exports: {} };
|
|
|
34723
34723
|
/(pixel c)\b/i
|
|
34724
34724
|
// Google Pixel C
|
|
34725
34725
|
],
|
|
34726
|
-
[d, [v,
|
|
34726
|
+
[d, [v, re], [g, S]],
|
|
34727
34727
|
[
|
|
34728
34728
|
/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i
|
|
34729
34729
|
// Google Pixel
|
|
34730
34730
|
],
|
|
34731
|
-
[d, [v,
|
|
34731
|
+
[d, [v, re], [g, b]],
|
|
34732
34732
|
[
|
|
34733
34733
|
// Sony
|
|
34734
34734
|
/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i
|
|
@@ -35001,11 +35001,11 @@ var RS = { exports: {} };
|
|
|
35001
35001
|
/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
|
|
35002
35002
|
// Zebra
|
|
35003
35003
|
],
|
|
35004
|
-
[d, [v,
|
|
35004
|
+
[d, [v, ne], [g, S]],
|
|
35005
35005
|
[
|
|
35006
35006
|
/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
|
|
35007
35007
|
],
|
|
35008
|
-
[d, [v,
|
|
35008
|
+
[d, [v, ne], [g, b]],
|
|
35009
35009
|
[
|
|
35010
35010
|
///////////////////
|
|
35011
35011
|
// SMARTTVS
|
|
@@ -35032,7 +35032,7 @@ var RS = { exports: {} };
|
|
|
35032
35032
|
/crkey/i
|
|
35033
35033
|
// Google Chromecast
|
|
35034
35034
|
],
|
|
35035
|
-
[[d, B + "cast"], [v,
|
|
35035
|
+
[[d, B + "cast"], [v, re], [g, x]],
|
|
35036
35036
|
[
|
|
35037
35037
|
/droid.+aft(\w+)( bui|\))/i
|
|
35038
35038
|
// Fire TV
|
|
@@ -35053,7 +35053,7 @@ var RS = { exports: {} };
|
|
|
35053
35053
|
/(mitv-\w{5}) bui/i
|
|
35054
35054
|
// Xiaomi
|
|
35055
35055
|
],
|
|
35056
|
-
[d, [v,
|
|
35056
|
+
[d, [v, X], [g, x]],
|
|
35057
35057
|
[
|
|
35058
35058
|
/Hbbtv.*(technisat) (.*);/i
|
|
35059
35059
|
// TechniSAT
|
|
@@ -35118,11 +35118,11 @@ var RS = { exports: {} };
|
|
|
35118
35118
|
/droid.+; (glass) \d/i
|
|
35119
35119
|
// Google Glass
|
|
35120
35120
|
],
|
|
35121
|
-
[d, [v,
|
|
35121
|
+
[d, [v, re], [g, O]],
|
|
35122
35122
|
[
|
|
35123
35123
|
/droid.+; (wt63?0{2,3})\)/i
|
|
35124
35124
|
],
|
|
35125
|
-
[d, [v,
|
|
35125
|
+
[d, [v, ne], [g, O]],
|
|
35126
35126
|
[
|
|
35127
35127
|
/(quest( \d| pro)?)/i
|
|
35128
35128
|
// Oculus Quest
|
|
@@ -35374,12 +35374,12 @@ var RS = { exports: {} };
|
|
|
35374
35374
|
Pe.VERSION = o, Pe.BROWSER = Ce([m, y, p]), Pe.CPU = Ce([E]), Pe.DEVICE = Ce([d, v, g, T, b, x, S, O, A]), Pe.ENGINE = Pe.OS = Ce([m, y]), e.exports && (t = e.exports = Pe), t.UAParser = Pe;
|
|
35375
35375
|
var fe = typeof n !== c && (n.jQuery || n.Zepto);
|
|
35376
35376
|
if (fe && !fe.ua) {
|
|
35377
|
-
var
|
|
35378
|
-
fe.ua =
|
|
35379
|
-
return
|
|
35377
|
+
var be = new Pe();
|
|
35378
|
+
fe.ua = be.getResult(), fe.ua.get = function() {
|
|
35379
|
+
return be.getUA();
|
|
35380
35380
|
}, fe.ua.set = function(Re) {
|
|
35381
|
-
|
|
35382
|
-
var Ee =
|
|
35381
|
+
be.setUA(Re);
|
|
35382
|
+
var Ee = be.getResult();
|
|
35383
35383
|
for (var ge in Ee)
|
|
35384
35384
|
fe.ua[ge] = Ee[ge];
|
|
35385
35385
|
};
|
|
@@ -35419,13 +35419,14 @@ var hie = Object.defineProperty, mie = Object.getOwnPropertyDescriptor, gh = (e,
|
|
|
35419
35419
|
return r && o && hie(t, n, o), o;
|
|
35420
35420
|
};
|
|
35421
35421
|
let Ma = class extends br({
|
|
35422
|
-
route:
|
|
35423
|
-
channelId:
|
|
35424
|
-
parentChannelId:
|
|
35425
|
-
lang:
|
|
35426
|
-
params:
|
|
35427
|
-
|
|
35428
|
-
|
|
35422
|
+
route: ye(""),
|
|
35423
|
+
channelId: ye("").withSetter(),
|
|
35424
|
+
parentChannelId: ye("").withSetter(),
|
|
35425
|
+
lang: ye(navigator.language.toLowerCase().includes("ru") ? "ru" : "en").withSetter(),
|
|
35426
|
+
params: ye(() => ({})).withSetter(),
|
|
35427
|
+
isVisible: ye(!1).withSetter(),
|
|
35428
|
+
isMobile: ye(fie()),
|
|
35429
|
+
chatVisualState: ye(hp.Hidden).withSetter()
|
|
35429
35430
|
}) {
|
|
35430
35431
|
constructor() {
|
|
35431
35432
|
super(...arguments), this.messageListDimensions = null, this.jumpToMessage = () => {
|
|
@@ -35465,12 +35466,12 @@ var gie = Object.defineProperty, vie = Object.getOwnPropertyDescriptor, Df = (e,
|
|
|
35465
35466
|
return r && o && gie(t, n, o), o;
|
|
35466
35467
|
};
|
|
35467
35468
|
let ja = class extends br({
|
|
35468
|
-
chat:
|
|
35469
|
-
auth:
|
|
35470
|
-
socket:
|
|
35471
|
-
ui:
|
|
35472
|
-
settings:
|
|
35473
|
-
toggleReset:
|
|
35469
|
+
chat: ye(() => new ar({})),
|
|
35470
|
+
auth: ye(() => new al({})),
|
|
35471
|
+
socket: ye(() => new gp({})),
|
|
35472
|
+
ui: ye(() => new Ma({})),
|
|
35473
|
+
settings: ye(() => new Yu({})),
|
|
35474
|
+
toggleReset: ye(!1)
|
|
35474
35475
|
}) {
|
|
35475
35476
|
constructor() {
|
|
35476
35477
|
super(...arguments), this.resetCounter = 0;
|
|
@@ -39136,7 +39137,7 @@ const yP = {
|
|
|
39136
39137
|
}, gce = () => {
|
|
39137
39138
|
const e = pe.useContext(_2);
|
|
39138
39139
|
return e ? e.chatSnackbarContainer : null;
|
|
39139
|
-
}, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.17.0-LD-8093.
|
|
39140
|
+
}, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.17.0-LD-8093.13", wce = "vlprojects chat", Sce = "ISC", Ece = "dist/index.d.ts", xce = "./dist/index.mjs", Cce = "./dist/index.mjs", Tce = [
|
|
39140
39141
|
"dist"
|
|
39141
39142
|
], Oce = {
|
|
39142
39143
|
type: "git",
|
|
@@ -40219,31 +40220,31 @@ function rle() {
|
|
|
40219
40220
|
function y(Z) {
|
|
40220
40221
|
if (I.env.NODE_ENV !== "production")
|
|
40221
40222
|
var V = {}, q = 0;
|
|
40222
|
-
function D(U, Y,
|
|
40223
|
-
if (
|
|
40223
|
+
function D(U, Y, X, ne, z, te, oe) {
|
|
40224
|
+
if (ne = ne || d, te = te || X, oe !== n) {
|
|
40224
40225
|
if (c) {
|
|
40225
40226
|
var ie = new Error(
|
|
40226
40227
|
"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"
|
|
40227
40228
|
);
|
|
40228
40229
|
throw ie.name = "Invariant Violation", ie;
|
|
40229
40230
|
} else if (I.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
40230
|
-
var ee =
|
|
40231
|
+
var ee = ne + ":" + X;
|
|
40231
40232
|
!V[ee] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
40232
40233
|
q < 3 && (i(
|
|
40233
|
-
"You are manually calling a React.PropTypes validation function for the `" + te + "` prop on `" +
|
|
40234
|
+
"You are manually calling a React.PropTypes validation function for the `" + te + "` prop on `" + ne + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
40234
40235
|
), V[ee] = !0, q++);
|
|
40235
40236
|
}
|
|
40236
40237
|
}
|
|
40237
|
-
return Y[
|
|
40238
|
+
return Y[X] == null ? U ? Y[X] === null ? new v("The " + z + " `" + te + "` is marked as required " + ("in `" + ne + "`, but its value is `null`.")) : new v("The " + z + " `" + te + "` is marked as required in " + ("`" + ne + "`, but its value is `undefined`.")) : null : Z(Y, X, ne, z, te);
|
|
40238
40239
|
}
|
|
40239
40240
|
var W = D.bind(null, !1);
|
|
40240
40241
|
return W.isRequired = D.bind(null, !0), W;
|
|
40241
40242
|
}
|
|
40242
40243
|
function E(Z) {
|
|
40243
|
-
function V(q, D, W, U, Y,
|
|
40244
|
-
var
|
|
40244
|
+
function V(q, D, W, U, Y, X) {
|
|
40245
|
+
var ne = q[D], z = L(ne);
|
|
40245
40246
|
if (z !== Z) {
|
|
40246
|
-
var te = H(
|
|
40247
|
+
var te = H(ne);
|
|
40247
40248
|
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" + te + "` supplied to `" + W + "`, expected ") + ("`" + Z + "`."));
|
|
40248
40249
|
}
|
|
40249
40250
|
return null;
|
|
@@ -40257,13 +40258,13 @@ function rle() {
|
|
|
40257
40258
|
function V(q, D, W, U, Y) {
|
|
40258
40259
|
if (typeof Z != "function")
|
|
40259
40260
|
return new v("Property `" + Y + "` of component `" + W + "` has invalid PropType notation inside arrayOf.");
|
|
40260
|
-
var
|
|
40261
|
-
if (!Array.isArray(
|
|
40262
|
-
var
|
|
40263
|
-
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" +
|
|
40261
|
+
var X = q[D];
|
|
40262
|
+
if (!Array.isArray(X)) {
|
|
40263
|
+
var ne = L(X);
|
|
40264
|
+
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected an array."));
|
|
40264
40265
|
}
|
|
40265
|
-
for (var z = 0; z <
|
|
40266
|
-
var te = Z(
|
|
40266
|
+
for (var z = 0; z < X.length; z++) {
|
|
40267
|
+
var te = Z(X, z, W, U, Y + "[" + z + "]", n);
|
|
40267
40268
|
if (te instanceof Error)
|
|
40268
40269
|
return te;
|
|
40269
40270
|
}
|
|
@@ -40275,8 +40276,8 @@ function rle() {
|
|
|
40275
40276
|
function Z(V, q, D, W, U) {
|
|
40276
40277
|
var Y = V[q];
|
|
40277
40278
|
if (!a(Y)) {
|
|
40278
|
-
var
|
|
40279
|
-
return new v("Invalid " + W + " `" + U + "` of type " + ("`" +
|
|
40279
|
+
var X = L(Y);
|
|
40280
|
+
return new v("Invalid " + W + " `" + U + "` of type " + ("`" + X + "` supplied to `" + D + "`, expected a single ReactElement."));
|
|
40280
40281
|
}
|
|
40281
40282
|
return null;
|
|
40282
40283
|
}
|
|
@@ -40286,8 +40287,8 @@ function rle() {
|
|
|
40286
40287
|
function Z(V, q, D, W, U) {
|
|
40287
40288
|
var Y = V[q];
|
|
40288
40289
|
if (!e.isValidElementType(Y)) {
|
|
40289
|
-
var
|
|
40290
|
-
return new v("Invalid " + W + " `" + U + "` of type " + ("`" +
|
|
40290
|
+
var X = L(Y);
|
|
40291
|
+
return new v("Invalid " + W + " `" + U + "` of type " + ("`" + X + "` supplied to `" + D + "`, expected a single ReactElement type."));
|
|
40291
40292
|
}
|
|
40292
40293
|
return null;
|
|
40293
40294
|
}
|
|
@@ -40296,8 +40297,8 @@ function rle() {
|
|
|
40296
40297
|
function O(Z) {
|
|
40297
40298
|
function V(q, D, W, U, Y) {
|
|
40298
40299
|
if (!(q[D] instanceof Z)) {
|
|
40299
|
-
var
|
|
40300
|
-
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" +
|
|
40300
|
+
var X = Z.name || d, ne = ae(q[D]);
|
|
40301
|
+
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected ") + ("instance of `" + X + "`."));
|
|
40301
40302
|
}
|
|
40302
40303
|
return null;
|
|
40303
40304
|
}
|
|
@@ -40309,14 +40310,14 @@ function rle() {
|
|
|
40309
40310
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
40310
40311
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
40311
40312
|
function V(q, D, W, U, Y) {
|
|
40312
|
-
for (var
|
|
40313
|
-
if (g(
|
|
40313
|
+
for (var X = q[D], ne = 0; ne < Z.length; ne++)
|
|
40314
|
+
if (g(X, Z[ne]))
|
|
40314
40315
|
return null;
|
|
40315
40316
|
var z = JSON.stringify(Z, function(oe, ie) {
|
|
40316
40317
|
var ee = H(ie);
|
|
40317
40318
|
return ee === "symbol" ? String(ie) : ie;
|
|
40318
40319
|
});
|
|
40319
|
-
return new v("Invalid " + U + " `" + Y + "` of value `" + String(
|
|
40320
|
+
return new v("Invalid " + U + " `" + Y + "` of value `" + String(X) + "` " + ("supplied to `" + W + "`, expected one of " + z + "."));
|
|
40320
40321
|
}
|
|
40321
40322
|
return y(V);
|
|
40322
40323
|
}
|
|
@@ -40324,12 +40325,12 @@ function rle() {
|
|
|
40324
40325
|
function V(q, D, W, U, Y) {
|
|
40325
40326
|
if (typeof Z != "function")
|
|
40326
40327
|
return new v("Property `" + Y + "` of component `" + W + "` has invalid PropType notation inside objectOf.");
|
|
40327
|
-
var
|
|
40328
|
-
if (
|
|
40329
|
-
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" +
|
|
40330
|
-
for (var z in
|
|
40331
|
-
if (o(
|
|
40332
|
-
var te = Z(
|
|
40328
|
+
var X = q[D], ne = L(X);
|
|
40329
|
+
if (ne !== "object")
|
|
40330
|
+
return new v("Invalid " + U + " `" + Y + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected an object."));
|
|
40331
|
+
for (var z in X)
|
|
40332
|
+
if (o(X, z)) {
|
|
40333
|
+
var te = Z(X, z, W, U, Y + "." + z, n);
|
|
40333
40334
|
if (te instanceof Error)
|
|
40334
40335
|
return te;
|
|
40335
40336
|
}
|
|
@@ -40344,34 +40345,34 @@ function rle() {
|
|
|
40344
40345
|
var q = Z[V];
|
|
40345
40346
|
if (typeof q != "function")
|
|
40346
40347
|
return i(
|
|
40347
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
40348
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + re(q) + " at index " + V + "."
|
|
40348
40349
|
), s;
|
|
40349
40350
|
}
|
|
40350
|
-
function D(W, U, Y,
|
|
40351
|
+
function D(W, U, Y, X, ne) {
|
|
40351
40352
|
for (var z = 0; z < Z.length; z++) {
|
|
40352
40353
|
var te = Z[z];
|
|
40353
|
-
if (te(W, U, Y,
|
|
40354
|
+
if (te(W, U, Y, X, ne, n) == null)
|
|
40354
40355
|
return null;
|
|
40355
40356
|
}
|
|
40356
|
-
return new v("Invalid " +
|
|
40357
|
+
return new v("Invalid " + X + " `" + ne + "` supplied to " + ("`" + Y + "`."));
|
|
40357
40358
|
}
|
|
40358
40359
|
return y(D);
|
|
40359
40360
|
}
|
|
40360
40361
|
function R() {
|
|
40361
40362
|
function Z(V, q, D, W, U) {
|
|
40362
|
-
return
|
|
40363
|
+
return K(V[q]) ? null : new v("Invalid " + W + " `" + U + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
|
|
40363
40364
|
}
|
|
40364
40365
|
return y(Z);
|
|
40365
40366
|
}
|
|
40366
40367
|
function _(Z) {
|
|
40367
40368
|
function V(q, D, W, U, Y) {
|
|
40368
|
-
var
|
|
40369
|
-
if (
|
|
40370
|
-
return new v("Invalid " + U + " `" + Y + "` of type `" +
|
|
40369
|
+
var X = q[D], ne = L(X);
|
|
40370
|
+
if (ne !== "object")
|
|
40371
|
+
return new v("Invalid " + U + " `" + Y + "` of type `" + ne + "` " + ("supplied to `" + W + "`, expected `object`."));
|
|
40371
40372
|
for (var z in Z) {
|
|
40372
40373
|
var te = Z[z];
|
|
40373
40374
|
if (te) {
|
|
40374
|
-
var oe = te(
|
|
40375
|
+
var oe = te(X, z, W, U, Y + "." + z, n);
|
|
40375
40376
|
if (oe)
|
|
40376
40377
|
return oe;
|
|
40377
40378
|
}
|
|
@@ -40382,9 +40383,9 @@ function rle() {
|
|
|
40382
40383
|
}
|
|
40383
40384
|
function F(Z) {
|
|
40384
40385
|
function V(q, D, W, U, Y) {
|
|
40385
|
-
var
|
|
40386
|
-
if (
|
|
40387
|
-
return new v("Invalid " + U + " `" + Y + "` of type `" +
|
|
40386
|
+
var X = q[D], ne = L(X);
|
|
40387
|
+
if (ne !== "object")
|
|
40388
|
+
return new v("Invalid " + U + " `" + Y + "` of type `" + ne + "` " + ("supplied to `" + W + "`, expected `object`."));
|
|
40388
40389
|
var z = t({}, q[D], Z);
|
|
40389
40390
|
for (var te in z) {
|
|
40390
40391
|
var oe = Z[te];
|
|
@@ -40393,7 +40394,7 @@ function rle() {
|
|
|
40393
40394
|
"Invalid " + U + " `" + Y + "` key `" + te + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(q[D], null, " ") + `
|
|
40394
40395
|
Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
40395
40396
|
);
|
|
40396
|
-
var ie = oe(
|
|
40397
|
+
var ie = oe(X, te, W, U, Y + "." + te, n);
|
|
40397
40398
|
if (ie)
|
|
40398
40399
|
return ie;
|
|
40399
40400
|
}
|
|
@@ -40401,7 +40402,7 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
|
40401
40402
|
}
|
|
40402
40403
|
return y(V);
|
|
40403
40404
|
}
|
|
40404
|
-
function
|
|
40405
|
+
function K(Z) {
|
|
40405
40406
|
switch (typeof Z) {
|
|
40406
40407
|
case "number":
|
|
40407
40408
|
case "string":
|
|
@@ -40411,7 +40412,7 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
|
40411
40412
|
return !Z;
|
|
40412
40413
|
case "object":
|
|
40413
40414
|
if (Array.isArray(Z))
|
|
40414
|
-
return Z.every(
|
|
40415
|
+
return Z.every(K);
|
|
40415
40416
|
if (Z === null || a(Z))
|
|
40416
40417
|
return !0;
|
|
40417
40418
|
var V = p(Z);
|
|
@@ -40419,12 +40420,12 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
|
40419
40420
|
var q = V.call(Z), D;
|
|
40420
40421
|
if (V !== Z.entries) {
|
|
40421
40422
|
for (; !(D = q.next()).done; )
|
|
40422
|
-
if (!
|
|
40423
|
+
if (!K(D.value))
|
|
40423
40424
|
return !1;
|
|
40424
40425
|
} else
|
|
40425
40426
|
for (; !(D = q.next()).done; ) {
|
|
40426
40427
|
var W = D.value;
|
|
40427
|
-
if (W && !
|
|
40428
|
+
if (W && !K(W[1]))
|
|
40428
40429
|
return !1;
|
|
40429
40430
|
}
|
|
40430
40431
|
} else
|
|
@@ -40453,7 +40454,7 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
|
40453
40454
|
}
|
|
40454
40455
|
return V;
|
|
40455
40456
|
}
|
|
40456
|
-
function
|
|
40457
|
+
function re(Z) {
|
|
40457
40458
|
var V = H(Z);
|
|
40458
40459
|
switch (V) {
|
|
40459
40460
|
case "array":
|
|
@@ -41268,27 +41269,27 @@ const Uo = bt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
41268
41269
|
left: 0,
|
|
41269
41270
|
top: 0
|
|
41270
41271
|
};
|
|
41271
|
-
let F,
|
|
41272
|
+
let F, K, B;
|
|
41272
41273
|
if (k || S === void 0 || S.clientX === 0 && S.clientY === 0 || !S.clientX && !S.touches)
|
|
41273
|
-
F = Math.round(_.width / 2),
|
|
41274
|
+
F = Math.round(_.width / 2), K = Math.round(_.height / 2);
|
|
41274
41275
|
else {
|
|
41275
41276
|
const {
|
|
41276
41277
|
clientX: L,
|
|
41277
41278
|
clientY: H
|
|
41278
41279
|
} = S.touches && S.touches.length > 0 ? S.touches[0] : S;
|
|
41279
|
-
F = Math.round(L - _.left),
|
|
41280
|
+
F = Math.round(L - _.left), K = Math.round(H - _.top);
|
|
41280
41281
|
}
|
|
41281
41282
|
if (k)
|
|
41282
41283
|
B = Math.sqrt((2 * _.width ** 2 + _.height ** 2) / 3), B % 2 === 0 && (B += 1);
|
|
41283
41284
|
else {
|
|
41284
|
-
const L = Math.max(Math.abs((R ? R.clientWidth : 0) - F), F) * 2 + 2, H = Math.max(Math.abs((R ? R.clientHeight : 0) -
|
|
41285
|
+
const L = Math.max(Math.abs((R ? R.clientWidth : 0) - F), F) * 2 + 2, H = Math.max(Math.abs((R ? R.clientHeight : 0) - K), K) * 2 + 2;
|
|
41285
41286
|
B = Math.sqrt(L ** 2 + H ** 2);
|
|
41286
41287
|
}
|
|
41287
41288
|
S != null && S.touches ? g.current === null && (g.current = () => {
|
|
41288
41289
|
y({
|
|
41289
41290
|
pulsate: A,
|
|
41290
41291
|
rippleX: F,
|
|
41291
|
-
rippleY:
|
|
41292
|
+
rippleY: K,
|
|
41292
41293
|
rippleSize: B,
|
|
41293
41294
|
cb: O
|
|
41294
41295
|
});
|
|
@@ -41297,7 +41298,7 @@ const Uo = bt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
41297
41298
|
})) : y({
|
|
41298
41299
|
pulsate: A,
|
|
41299
41300
|
rippleX: F,
|
|
41300
|
-
rippleY:
|
|
41301
|
+
rippleY: K,
|
|
41301
41302
|
rippleSize: B,
|
|
41302
41303
|
cb: O
|
|
41303
41304
|
});
|
|
@@ -41430,11 +41431,11 @@ const xle = bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), Cle = (e)
|
|
|
41430
41431
|
onTouchEnd: R,
|
|
41431
41432
|
onTouchMove: _,
|
|
41432
41433
|
onTouchStart: F,
|
|
41433
|
-
tabIndex:
|
|
41434
|
+
tabIndex: K = 0,
|
|
41434
41435
|
TouchRippleProps: B,
|
|
41435
41436
|
touchRippleRef: L,
|
|
41436
41437
|
type: H,
|
|
41437
|
-
...
|
|
41438
|
+
...re
|
|
41438
41439
|
} = r, ae = j.useRef(null), Z = ele(), V = Fn(Z.ref, L), [q, D] = j.useState(!1);
|
|
41439
41440
|
l && q && D(!1), j.useImperativeHandle(o, () => ({
|
|
41440
41441
|
focusVisible: () => {
|
|
@@ -41445,10 +41446,10 @@ const xle = bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), Cle = (e)
|
|
|
41445
41446
|
j.useEffect(() => {
|
|
41446
41447
|
q && d && !u && Z.pulsate();
|
|
41447
41448
|
}, [u, d, q, Z]);
|
|
41448
|
-
function U(Pe, fe,
|
|
41449
|
-
return ma((Re) => (fe && fe(Re),
|
|
41449
|
+
function U(Pe, fe, be = p) {
|
|
41450
|
+
return ma((Re) => (fe && fe(Re), be || Z[Pe](Re), !0));
|
|
41450
41451
|
}
|
|
41451
|
-
const Y = U("start", A),
|
|
41452
|
+
const Y = U("start", A), X = U("stop", E), ne = U("stop", T), z = U("stop", N), te = U("stop", (Pe) => {
|
|
41452
41453
|
q && Pe.preventDefault(), k && k(Pe);
|
|
41453
41454
|
}), oe = U("start", F), ie = U("stop", R), ee = U("stop", _), Ce = U("stop", (Pe) => {
|
|
41454
41455
|
mg(Pe.target) || D(!1), v && v(Pe);
|
|
@@ -41467,9 +41468,9 @@ const xle = bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), Cle = (e)
|
|
|
41467
41468
|
}), O && O(Pe), y && Pe.target === Pe.currentTarget && we() && Pe.key === " " && !Pe.defaultPrevented && y(Pe);
|
|
41468
41469
|
});
|
|
41469
41470
|
let Ve = c;
|
|
41470
|
-
Ve === "button" && (
|
|
41471
|
+
Ve === "button" && (re.href || re.to) && (Ve = g);
|
|
41471
41472
|
const $e = {};
|
|
41472
|
-
Ve === "button" ? ($e.type = H === void 0 ? "button" : H, $e.disabled = l) : (!
|
|
41473
|
+
Ve === "button" ? ($e.type = H === void 0 ? "button" : H, $e.disabled = l) : (!re.href && !re.to && ($e.role = "button"), l && ($e["aria-disabled"] = l));
|
|
41473
41474
|
const Ke = Fn(n, ae), Xe = {
|
|
41474
41475
|
...r,
|
|
41475
41476
|
centerRipple: i,
|
|
@@ -41478,7 +41479,7 @@ const xle = bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), Cle = (e)
|
|
|
41478
41479
|
disableRipple: u,
|
|
41479
41480
|
disableTouchRipple: p,
|
|
41480
41481
|
focusRipple: d,
|
|
41481
|
-
tabIndex:
|
|
41482
|
+
tabIndex: K,
|
|
41482
41483
|
focusVisible: q
|
|
41483
41484
|
}, Tt = Cle(Xe);
|
|
41484
41485
|
return /* @__PURE__ */ h.jsxs(Tle, {
|
|
@@ -41487,22 +41488,22 @@ const xle = bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), Cle = (e)
|
|
|
41487
41488
|
ownerState: Xe,
|
|
41488
41489
|
onBlur: Ce,
|
|
41489
41490
|
onClick: y,
|
|
41490
|
-
onContextMenu:
|
|
41491
|
+
onContextMenu: X,
|
|
41491
41492
|
onFocus: $,
|
|
41492
41493
|
onKeyDown: Me,
|
|
41493
41494
|
onKeyUp: je,
|
|
41494
41495
|
onMouseDown: Y,
|
|
41495
41496
|
onMouseLeave: te,
|
|
41496
41497
|
onMouseUp: z,
|
|
41497
|
-
onDragLeave:
|
|
41498
|
+
onDragLeave: ne,
|
|
41498
41499
|
onTouchEnd: ie,
|
|
41499
41500
|
onTouchMove: ee,
|
|
41500
41501
|
onTouchStart: oe,
|
|
41501
41502
|
ref: Ke,
|
|
41502
|
-
tabIndex: l ? -1 :
|
|
41503
|
+
tabIndex: l ? -1 : K,
|
|
41503
41504
|
type: H,
|
|
41504
41505
|
...$e,
|
|
41505
|
-
...
|
|
41506
|
+
...re,
|
|
41506
41507
|
children: [s, W ? /* @__PURE__ */ h.jsx(GD, {
|
|
41507
41508
|
ref: V,
|
|
41508
41509
|
center: i,
|
|
@@ -44272,7 +44273,7 @@ function dfe(e = {}) {
|
|
|
44272
44273
|
let p, d, m, g, v;
|
|
44273
44274
|
if (u) {
|
|
44274
44275
|
if (p = void 0, d = u.disabled ?? !1, m = u.error ?? !1, g = u.required ?? !1, v = u.value, I.env.NODE_ENV !== "production") {
|
|
44275
|
-
const F = ["defaultValue", "disabled", "error", "required", "value"].filter((
|
|
44276
|
+
const F = ["defaultValue", "disabled", "error", "required", "value"].filter((K) => e[K] !== void 0);
|
|
44276
44277
|
F.length > 0 && console.warn(["MUI: You have set props on an input that is inside a FormControl.", "Set these props on a FormControl instead. Otherwise they will be ignored.", `Ignored props: ${F.join(", ")}`].join(`
|
|
44277
44278
|
`));
|
|
44278
44279
|
}
|
|
@@ -44287,24 +44288,24 @@ function dfe(e = {}) {
|
|
|
44287
44288
|
j.useEffect(() => {
|
|
44288
44289
|
!u && d && S && (x(!1), o == null || o());
|
|
44289
44290
|
}, [u, d, S, o]);
|
|
44290
|
-
const O = (F) => (
|
|
44291
|
+
const O = (F) => (K) => {
|
|
44291
44292
|
var B, L;
|
|
44292
44293
|
if (u != null && u.disabled) {
|
|
44293
|
-
|
|
44294
|
+
K.stopPropagation();
|
|
44294
44295
|
return;
|
|
44295
44296
|
}
|
|
44296
|
-
(B = F.onFocus) == null || B.call(F,
|
|
44297
|
-
}, A = (F) => (
|
|
44297
|
+
(B = F.onFocus) == null || B.call(F, K), u && u.onFocus ? (L = u == null ? void 0 : u.onFocus) == null || L.call(u) : x(!0);
|
|
44298
|
+
}, A = (F) => (K) => {
|
|
44298
44299
|
var B;
|
|
44299
|
-
(B = F.onBlur) == null || B.call(F,
|
|
44300
|
-
}, k = (F) => (
|
|
44300
|
+
(B = F.onBlur) == null || B.call(F, K), u && u.onBlur ? u.onBlur() : x(!1);
|
|
44301
|
+
}, k = (F) => (K, ...B) => {
|
|
44301
44302
|
var L, H;
|
|
44302
|
-
if (!y && (
|
|
44303
|
+
if (!y && (K.target || T.current) == null)
|
|
44303
44304
|
throw new Error(I.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : cs(17));
|
|
44304
|
-
(L = u == null ? void 0 : u.onChange) == null || L.call(u,
|
|
44305
|
-
}, N = (F) => (
|
|
44305
|
+
(L = u == null ? void 0 : u.onChange) == null || L.call(u, K), (H = F.onChange) == null || H.call(F, K, ...B);
|
|
44306
|
+
}, N = (F) => (K) => {
|
|
44306
44307
|
var B;
|
|
44307
|
-
T.current &&
|
|
44308
|
+
T.current && K.currentTarget === K.target && T.current.focus(), (B = F.onClick) == null || B.call(F, K);
|
|
44308
44309
|
};
|
|
44309
44310
|
return {
|
|
44310
44311
|
disabled: d,
|
|
@@ -44395,11 +44396,11 @@ const pfe = (e) => {
|
|
|
44395
44396
|
value: R,
|
|
44396
44397
|
type: _,
|
|
44397
44398
|
rows: F,
|
|
44398
|
-
slotProps:
|
|
44399
|
+
slotProps: K = {},
|
|
44399
44400
|
slots: B = {},
|
|
44400
44401
|
minRows: L,
|
|
44401
44402
|
maxRows: H,
|
|
44402
|
-
...
|
|
44403
|
+
...re
|
|
44403
44404
|
} = t, {
|
|
44404
44405
|
getRootProps: ae,
|
|
44405
44406
|
getInputProps: Z,
|
|
@@ -44425,7 +44426,7 @@ const pfe = (e) => {
|
|
|
44425
44426
|
formControlContext: q,
|
|
44426
44427
|
multiline: g,
|
|
44427
44428
|
type: U
|
|
44428
|
-
},
|
|
44429
|
+
}, X = pfe(Y), ne = {
|
|
44429
44430
|
"aria-describedby": r,
|
|
44430
44431
|
"aria-label": o,
|
|
44431
44432
|
"aria-labelledby": i,
|
|
@@ -44441,20 +44442,20 @@ const pfe = (e) => {
|
|
|
44441
44442
|
}, z = B.root ?? "div", te = Vc({
|
|
44442
44443
|
elementType: z,
|
|
44443
44444
|
getSlotProps: ae,
|
|
44444
|
-
externalSlotProps:
|
|
44445
|
-
externalForwardedProps:
|
|
44445
|
+
externalSlotProps: K.root,
|
|
44446
|
+
externalForwardedProps: re,
|
|
44446
44447
|
additionalProps: {
|
|
44447
44448
|
ref: n
|
|
44448
44449
|
},
|
|
44449
44450
|
ownerState: Y,
|
|
44450
|
-
className: [
|
|
44451
|
+
className: [X.root, c]
|
|
44451
44452
|
}), oe = g ? B.textarea ?? "textarea" : B.input ?? "input", ie = Vc({
|
|
44452
44453
|
elementType: oe,
|
|
44453
44454
|
getSlotProps: (ee) => Z({
|
|
44454
|
-
...
|
|
44455
|
+
...ne,
|
|
44455
44456
|
...ee
|
|
44456
44457
|
}),
|
|
44457
|
-
externalSlotProps:
|
|
44458
|
+
externalSlotProps: K.input,
|
|
44458
44459
|
additionalProps: {
|
|
44459
44460
|
rows: g ? F : void 0,
|
|
44460
44461
|
...g && !sfe(oe) && {
|
|
@@ -44463,7 +44464,7 @@ const pfe = (e) => {
|
|
|
44463
44464
|
}
|
|
44464
44465
|
},
|
|
44465
44466
|
ownerState: Y,
|
|
44466
|
-
className:
|
|
44467
|
+
className: X.input
|
|
44467
44468
|
});
|
|
44468
44469
|
return I.env.NODE_ENV !== "production" && g && F && (L || H) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), /* @__PURE__ */ h.jsxs(z, {
|
|
44469
44470
|
...te,
|
|
@@ -44902,8 +44903,8 @@ function IP(e) {
|
|
|
44902
44903
|
y: v
|
|
44903
44904
|
};
|
|
44904
44905
|
if (m = F.x, v = F.y, c) {
|
|
44905
|
-
var
|
|
44906
|
-
return Object.assign({}, _, (
|
|
44906
|
+
var K;
|
|
44907
|
+
return Object.assign({}, _, (K = {}, K[S] = T ? "0" : "", K[b] = E ? "0" : "", K.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", K));
|
|
44907
44908
|
}
|
|
44908
44909
|
return Object.assign({}, _, (t = {}, t[S] = T ? v + "px" : "", t[b] = E ? m + "px" : "", t.transform = "", t));
|
|
44909
44910
|
}
|
|
@@ -45118,9 +45119,9 @@ function Sp(e, t) {
|
|
|
45118
45119
|
}, _ = e.modifiersData.offset;
|
|
45119
45120
|
if (d === od && _) {
|
|
45120
45121
|
var F = _[o];
|
|
45121
|
-
Object.keys(R).forEach(function(
|
|
45122
|
-
var B = [ai, si].indexOf(
|
|
45123
|
-
R[
|
|
45122
|
+
Object.keys(R).forEach(function(K) {
|
|
45123
|
+
var B = [ai, si].indexOf(K) >= 0 ? 1 : -1, L = [io, si].indexOf(K) >= 0 ? "y" : "x";
|
|
45124
|
+
R[K] += F[L] * B;
|
|
45124
45125
|
});
|
|
45125
45126
|
}
|
|
45126
45127
|
return R;
|
|
@@ -45164,16 +45165,16 @@ function Zfe(e) {
|
|
|
45164
45165
|
allowedAutoPlacements: v
|
|
45165
45166
|
}) : Y);
|
|
45166
45167
|
}, []), x = t.rects.reference, O = t.rects.popper, A = /* @__PURE__ */ new Map(), k = !0, N = S[0], R = 0; R < S.length; R++) {
|
|
45167
|
-
var _ = S[R], F = as(_),
|
|
45168
|
+
var _ = S[R], F = as(_), K = ef(_) === Zu, B = [io, si].indexOf(F) >= 0, L = B ? "width" : "height", H = Sp(t, {
|
|
45168
45169
|
placement: _,
|
|
45169
45170
|
boundary: u,
|
|
45170
45171
|
rootBoundary: p,
|
|
45171
45172
|
altBoundary: d,
|
|
45172
45173
|
padding: l
|
|
45173
|
-
}),
|
|
45174
|
-
x[L] > O[L] && (
|
|
45175
|
-
var ae = og(
|
|
45176
|
-
if (i && Z.push(H[F] <= 0), a && Z.push(H[
|
|
45174
|
+
}), re = B ? K ? ai : so : K ? si : io;
|
|
45175
|
+
x[L] > O[L] && (re = og(re));
|
|
45176
|
+
var ae = og(re), Z = [];
|
|
45177
|
+
if (i && Z.push(H[F] <= 0), a && Z.push(H[re] <= 0, H[ae] <= 0), Z.every(function(U) {
|
|
45177
45178
|
return U;
|
|
45178
45179
|
})) {
|
|
45179
45180
|
N = _, k = !1;
|
|
@@ -45183,15 +45184,15 @@ function Zfe(e) {
|
|
|
45183
45184
|
}
|
|
45184
45185
|
if (k)
|
|
45185
45186
|
for (var V = g ? 3 : 1, q = function(Y) {
|
|
45186
|
-
var
|
|
45187
|
-
var z = A.get(
|
|
45187
|
+
var X = S.find(function(ne) {
|
|
45188
|
+
var z = A.get(ne);
|
|
45188
45189
|
if (z)
|
|
45189
45190
|
return z.slice(0, Y).every(function(te) {
|
|
45190
45191
|
return te;
|
|
45191
45192
|
});
|
|
45192
45193
|
});
|
|
45193
|
-
if (
|
|
45194
|
-
return N =
|
|
45194
|
+
if (X)
|
|
45195
|
+
return N = X, "break";
|
|
45195
45196
|
}, D = V; D > 0; D--) {
|
|
45196
45197
|
var W = q(D);
|
|
45197
45198
|
if (W === "break") break;
|
|
@@ -45312,14 +45313,14 @@ function ade(e) {
|
|
|
45312
45313
|
};
|
|
45313
45314
|
if (O) {
|
|
45314
45315
|
if (i) {
|
|
45315
|
-
var
|
|
45316
|
+
var K, B = S === "y" ? io : so, L = S === "y" ? si : ai, H = S === "y" ? "height" : "width", re = O[S], ae = re + y[B], Z = re - y[L], V = m ? -k[H] / 2 : 0, q = T === Zu ? A[H] : k[H], D = T === Zu ? -k[H] : -A[H], W = t.elements.arrow, U = m && W ? z2(W) : {
|
|
45316
45317
|
width: 0,
|
|
45317
45318
|
height: 0
|
|
45318
|
-
}, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : l6(),
|
|
45319
|
-
O[S] = Me, F[S] = Me -
|
|
45319
|
+
}, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : l6(), X = Y[B], ne = Y[L], z = Bd(0, A[H], U[H]), te = b ? A[H] / 2 - V - z - X - R.mainAxis : q - z - X - R.mainAxis, oe = b ? -A[H] / 2 + V + z + ne + R.mainAxis : D + z + ne + R.mainAxis, ie = t.elements.arrow && Eh(t.elements.arrow), ee = ie ? S === "y" ? ie.clientTop || 0 : ie.clientLeft || 0 : 0, Ce = (K = _ == null ? void 0 : _[S]) != null ? K : 0, $ = re + te - Ce - ee, we = re + oe - Ce, Me = Bd(m ? uv(ae, $) : ae, re, m ? _c(Z, we) : Z);
|
|
45320
|
+
O[S] = Me, F[S] = Me - re;
|
|
45320
45321
|
}
|
|
45321
45322
|
if (a) {
|
|
45322
|
-
var je, Ve = S === "x" ? io : so, $e = S === "x" ? si : ai, Ke = O[x], Xe = x === "y" ? "height" : "width", Tt = Ke + y[Ve], Pe = Ke - y[$e], fe = [io, so].indexOf(E) !== -1,
|
|
45323
|
+
var je, Ve = S === "x" ? io : so, $e = S === "x" ? si : ai, Ke = O[x], Xe = x === "y" ? "height" : "width", Tt = Ke + y[Ve], Pe = Ke - y[$e], fe = [io, so].indexOf(E) !== -1, be = (je = _ == null ? void 0 : _[x]) != null ? je : 0, Re = fe ? Tt : Ke - A[Xe] - k[Xe] - be + R.altAxis, Ee = fe ? Ke + A[Xe] + k[Xe] - be - R.altAxis : Pe, ge = m && fe ? Nfe(Re, Ke, Ee) : Bd(m ? Re : Tt, Ke, m ? Ee : Pe);
|
|
45323
45324
|
O[x] = ge, F[x] = ge - Ke;
|
|
45324
45325
|
}
|
|
45325
45326
|
t.modifiersData[r] = F;
|
|
@@ -46070,11 +46071,11 @@ var m6 = {};
|
|
|
46070
46071
|
y.push(_);
|
|
46071
46072
|
var F = k.options && k.options.ranges;
|
|
46072
46073
|
typeof N.yy.parseError == "function" ? this.parseError = N.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
46073
|
-
for (var
|
|
46074
|
+
for (var K = function() {
|
|
46074
46075
|
var U;
|
|
46075
46076
|
return U = k.lex() || O, typeof U != "number" && (U = m.symbols_[U] || U), U;
|
|
46076
|
-
}, B, L, H,
|
|
46077
|
-
if (L = g[g.length - 1], this.defaultActions[L] ? H = this.defaultActions[L] : ((B === null || typeof B > "u") && (B =
|
|
46077
|
+
}, B, L, H, re, ae = {}, Z, V, q, D; ; ) {
|
|
46078
|
+
if (L = g[g.length - 1], this.defaultActions[L] ? H = this.defaultActions[L] : ((B === null || typeof B > "u") && (B = K()), H = E[L] && E[L][B]), typeof H > "u" || !H.length || !H[0]) {
|
|
46078
46079
|
var W = "";
|
|
46079
46080
|
D = [];
|
|
46080
46081
|
for (Z in E[L])
|
|
@@ -46104,7 +46105,7 @@ Expecting ` + D.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : W = "
|
|
|
46104
46105
|
}, F && (ae._$.range = [
|
|
46105
46106
|
y[y.length - (V || 1)].range[0],
|
|
46106
46107
|
y[y.length - 1].range[1]
|
|
46107
|
-
]),
|
|
46108
|
+
]), re = this.performAction.apply(ae, [
|
|
46108
46109
|
T,
|
|
46109
46110
|
S,
|
|
46110
46111
|
b,
|
|
@@ -46112,8 +46113,8 @@ Expecting ` + D.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : W = "
|
|
|
46112
46113
|
H[1],
|
|
46113
46114
|
v,
|
|
46114
46115
|
y
|
|
46115
|
-
].concat(A)), typeof
|
|
46116
|
-
return
|
|
46116
|
+
].concat(A)), typeof re < "u")
|
|
46117
|
+
return re;
|
|
46117
46118
|
V && (g = g.slice(0, -1 * V * 2), v = v.slice(0, -1 * V), y = y.slice(0, -1 * V)), g.push(this.productions_[H[1]][0]), v.push(ae.$), y.push(ae._$), q = E[g[g.length - 2]][g[g.length - 1]], g.push(q);
|
|
46118
46119
|
break;
|
|
46119
46120
|
case 3:
|
|
@@ -47490,7 +47491,7 @@ function Ope() {
|
|
|
47490
47491
|
}
|
|
47491
47492
|
}
|
|
47492
47493
|
}
|
|
47493
|
-
var O = s, A = i, k = e, N = c, R = n, _ = d, F = p,
|
|
47494
|
+
var O = s, A = i, k = e, N = c, R = n, _ = d, F = p, K = t, B = o, L = r, H = l, re = u, ae = !1, Z = !1;
|
|
47494
47495
|
function V($) {
|
|
47495
47496
|
return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
47496
47497
|
}
|
|
@@ -47509,10 +47510,10 @@ function Ope() {
|
|
|
47509
47510
|
function Y($) {
|
|
47510
47511
|
return x($) === c;
|
|
47511
47512
|
}
|
|
47512
|
-
function
|
|
47513
|
+
function X($) {
|
|
47513
47514
|
return x($) === n;
|
|
47514
47515
|
}
|
|
47515
|
-
function
|
|
47516
|
+
function ne($) {
|
|
47516
47517
|
return x($) === d;
|
|
47517
47518
|
}
|
|
47518
47519
|
function z($) {
|
|
@@ -47533,7 +47534,7 @@ function Ope() {
|
|
|
47533
47534
|
function Ce($) {
|
|
47534
47535
|
return x($) === u;
|
|
47535
47536
|
}
|
|
47536
|
-
Xt.ContextConsumer = O, Xt.ContextProvider = A, Xt.Element = k, Xt.ForwardRef = N, Xt.Fragment = R, Xt.Lazy = _, Xt.Memo = F, Xt.Portal =
|
|
47537
|
+
Xt.ContextConsumer = O, Xt.ContextProvider = A, Xt.Element = k, Xt.ForwardRef = N, Xt.Fragment = R, Xt.Lazy = _, Xt.Memo = F, Xt.Portal = K, Xt.Profiler = B, Xt.StrictMode = L, Xt.Suspense = H, Xt.SuspenseList = re, Xt.isAsyncMode = V, Xt.isConcurrentMode = q, Xt.isContextConsumer = D, Xt.isContextProvider = W, Xt.isElement = U, Xt.isForwardRef = Y, Xt.isFragment = X, Xt.isLazy = ne, Xt.isMemo = z, Xt.isPortal = te, Xt.isProfiler = oe, Xt.isStrictMode = ie, Xt.isSuspense = ee, Xt.isSuspenseList = Ce, Xt.isValidElementType = S, Xt.typeOf = x;
|
|
47537
47538
|
}()), Xt;
|
|
47538
47539
|
}
|
|
47539
47540
|
I.env.NODE_ENV === "production" ? $S.exports = Tpe() : $S.exports = Ope();
|
|
@@ -47675,16 +47676,16 @@ const Ape = (e) => {
|
|
|
47675
47676
|
...r,
|
|
47676
47677
|
orientation: E,
|
|
47677
47678
|
collapsedSize: a
|
|
47678
|
-
}, A = Ape(O), k = lf(), N = mc(), R = j.useRef(null), _ = j.useRef(), F = typeof a == "number" ? `${a}px` : a,
|
|
47679
|
-
if (
|
|
47679
|
+
}, A = Ape(O), k = lf(), N = mc(), R = j.useRef(null), _ = j.useRef(), F = typeof a == "number" ? `${a}px` : a, K = E === "horizontal", B = K ? "width" : "height", L = j.useRef(null), H = Fn(n, L), re = (X) => (ne) => {
|
|
47680
|
+
if (X) {
|
|
47680
47681
|
const z = L.current;
|
|
47681
|
-
|
|
47682
|
+
ne === void 0 ? X(z) : X(z, ne);
|
|
47682
47683
|
}
|
|
47683
|
-
}, ae = () => R.current ? R.current[
|
|
47684
|
-
R.current &&
|
|
47685
|
-
}), V =
|
|
47684
|
+
}, ae = () => R.current ? R.current[K ? "clientWidth" : "clientHeight"] : 0, Z = re((X, ne) => {
|
|
47685
|
+
R.current && K && (R.current.style.position = "absolute"), X.style[B] = F, p && p(X, ne);
|
|
47686
|
+
}), V = re((X, ne) => {
|
|
47686
47687
|
const z = ae();
|
|
47687
|
-
R.current &&
|
|
47688
|
+
R.current && K && (R.current.style.position = "");
|
|
47688
47689
|
const {
|
|
47689
47690
|
duration: te,
|
|
47690
47691
|
easing: oe
|
|
@@ -47697,16 +47698,16 @@ const Ape = (e) => {
|
|
|
47697
47698
|
});
|
|
47698
47699
|
if (b === "auto") {
|
|
47699
47700
|
const ie = k.transitions.getAutoHeightDuration(z);
|
|
47700
|
-
|
|
47701
|
+
X.style.transitionDuration = `${ie}ms`, _.current = ie;
|
|
47701
47702
|
} else
|
|
47702
|
-
|
|
47703
|
-
|
|
47704
|
-
}), q =
|
|
47705
|
-
|
|
47706
|
-
}), D =
|
|
47707
|
-
|
|
47708
|
-
}), W =
|
|
47709
|
-
const
|
|
47703
|
+
X.style.transitionDuration = typeof te == "string" ? te : `${te}ms`;
|
|
47704
|
+
X.style[B] = `${z}px`, X.style.transitionTimingFunction = oe, m && m(X, ne);
|
|
47705
|
+
}), q = re((X, ne) => {
|
|
47706
|
+
X.style[B] = "auto", d && d(X, ne);
|
|
47707
|
+
}), D = re((X) => {
|
|
47708
|
+
X.style[B] = `${ae()}px`, g && g(X);
|
|
47709
|
+
}), W = re(v), U = re((X) => {
|
|
47710
|
+
const ne = ae(), {
|
|
47710
47711
|
duration: z,
|
|
47711
47712
|
easing: te
|
|
47712
47713
|
} = tf({
|
|
@@ -47717,13 +47718,13 @@ const Ape = (e) => {
|
|
|
47717
47718
|
mode: "exit"
|
|
47718
47719
|
});
|
|
47719
47720
|
if (b === "auto") {
|
|
47720
|
-
const oe = k.transitions.getAutoHeightDuration(
|
|
47721
|
-
|
|
47721
|
+
const oe = k.transitions.getAutoHeightDuration(ne);
|
|
47722
|
+
X.style.transitionDuration = `${oe}ms`, _.current = oe;
|
|
47722
47723
|
} else
|
|
47723
|
-
|
|
47724
|
-
|
|
47725
|
-
}), Y = (
|
|
47726
|
-
b === "auto" && N.start(_.current || 0,
|
|
47724
|
+
X.style.transitionDuration = typeof z == "string" ? z : `${z}ms`;
|
|
47725
|
+
X.style[B] = F, X.style.transitionTimingFunction = te, y && y(X);
|
|
47726
|
+
}), Y = (X) => {
|
|
47727
|
+
b === "auto" && N.start(_.current || 0, X), o && o(L.current, X);
|
|
47727
47728
|
};
|
|
47728
47729
|
return /* @__PURE__ */ h.jsx(S, {
|
|
47729
47730
|
in: u,
|
|
@@ -47737,35 +47738,35 @@ const Ape = (e) => {
|
|
|
47737
47738
|
nodeRef: L,
|
|
47738
47739
|
timeout: b === "auto" ? null : b,
|
|
47739
47740
|
...x,
|
|
47740
|
-
children: (
|
|
47741
|
+
children: (X, ne) => /* @__PURE__ */ h.jsx(Ppe, {
|
|
47741
47742
|
as: c,
|
|
47742
47743
|
className: Ye(A.root, s, {
|
|
47743
47744
|
entered: A.entered,
|
|
47744
47745
|
exited: !u && F === "0px" && A.hidden
|
|
47745
|
-
}[
|
|
47746
|
+
}[X]),
|
|
47746
47747
|
style: {
|
|
47747
|
-
[
|
|
47748
|
+
[K ? "minWidth" : "minHeight"]: F,
|
|
47748
47749
|
...T
|
|
47749
47750
|
},
|
|
47750
47751
|
ref: H,
|
|
47751
|
-
...
|
|
47752
|
+
...ne,
|
|
47752
47753
|
// `ownerState` is set after `childProps` to override any existing `ownerState` property in `childProps`
|
|
47753
47754
|
// that might have been forwarded from the Transition component.
|
|
47754
47755
|
ownerState: {
|
|
47755
47756
|
...O,
|
|
47756
|
-
state:
|
|
47757
|
+
state: X
|
|
47757
47758
|
},
|
|
47758
47759
|
children: /* @__PURE__ */ h.jsx(Ipe, {
|
|
47759
47760
|
ownerState: {
|
|
47760
47761
|
...O,
|
|
47761
|
-
state:
|
|
47762
|
+
state: X
|
|
47762
47763
|
},
|
|
47763
47764
|
className: A.wrapper,
|
|
47764
47765
|
ref: R,
|
|
47765
47766
|
children: /* @__PURE__ */ h.jsx(Npe, {
|
|
47766
47767
|
ownerState: {
|
|
47767
47768
|
...O,
|
|
47768
|
-
state:
|
|
47769
|
+
state: X
|
|
47769
47770
|
},
|
|
47770
47771
|
className: A.wrapperInner,
|
|
47771
47772
|
children: i
|
|
@@ -48023,21 +48024,21 @@ const _pe = (e) => {
|
|
|
48023
48024
|
}
|
|
48024
48025
|
}];
|
|
48025
48026
|
a != null && (H = H.concat(a)), u && u.modifiers != null && (H = H.concat(u.modifiers));
|
|
48026
|
-
const
|
|
48027
|
+
const re = bde(N, E.current, {
|
|
48027
48028
|
placement: O,
|
|
48028
48029
|
...u,
|
|
48029
48030
|
modifiers: H
|
|
48030
48031
|
});
|
|
48031
|
-
return x.current(
|
|
48032
|
-
|
|
48032
|
+
return x.current(re), () => {
|
|
48033
|
+
re.destroy(), x.current(null);
|
|
48033
48034
|
};
|
|
48034
48035
|
}, [N, s, a, c, u, O]);
|
|
48035
48036
|
const _ = {
|
|
48036
48037
|
placement: A
|
|
48037
48038
|
};
|
|
48038
48039
|
g !== null && (_.TransitionProps = g);
|
|
48039
|
-
const F = _pe(t),
|
|
48040
|
-
elementType:
|
|
48040
|
+
const F = _pe(t), K = m.root ?? "div", B = Vc({
|
|
48041
|
+
elementType: K,
|
|
48041
48042
|
externalSlotProps: d.root,
|
|
48042
48043
|
externalForwardedProps: y,
|
|
48043
48044
|
additionalProps: {
|
|
@@ -48047,7 +48048,7 @@ const _pe = (e) => {
|
|
|
48047
48048
|
ownerState: t,
|
|
48048
48049
|
className: F.root
|
|
48049
48050
|
});
|
|
48050
|
-
return /* @__PURE__ */ h.jsx(
|
|
48051
|
+
return /* @__PURE__ */ h.jsx(K, {
|
|
48051
48052
|
...B,
|
|
48052
48053
|
children: typeof o == "function" ? o(_) : o
|
|
48053
48054
|
});
|
|
@@ -48674,11 +48675,11 @@ const R6 = (e, t) => {
|
|
|
48674
48675
|
onBlur: R,
|
|
48675
48676
|
onChange: _,
|
|
48676
48677
|
onClick: F,
|
|
48677
|
-
onFocus:
|
|
48678
|
+
onFocus: K,
|
|
48678
48679
|
onKeyDown: B,
|
|
48679
48680
|
onKeyUp: L,
|
|
48680
48681
|
placeholder: H,
|
|
48681
|
-
readOnly:
|
|
48682
|
+
readOnly: re,
|
|
48682
48683
|
renderSuffix: ae,
|
|
48683
48684
|
rows: Z,
|
|
48684
48685
|
size: V,
|
|
@@ -48687,10 +48688,10 @@ const R6 = (e, t) => {
|
|
|
48687
48688
|
startAdornment: W,
|
|
48688
48689
|
type: U = "text",
|
|
48689
48690
|
value: Y,
|
|
48690
|
-
...
|
|
48691
|
-
} = r,
|
|
48691
|
+
...X
|
|
48692
|
+
} = r, ne = b.value != null ? b.value : Y, {
|
|
48692
48693
|
current: z
|
|
48693
|
-
} = j.useRef(
|
|
48694
|
+
} = j.useRef(ne != null), te = j.useRef(), oe = j.useCallback((w) => {
|
|
48694
48695
|
I.env.NODE_ENV !== "production" && w && w.nodeName !== "INPUT" && !w.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
48695
48696
|
`));
|
|
48696
48697
|
}, []), ie = Fn(te, S, b.ref, oe), [ee, Ce] = j.useState(!1), $ = Rl();
|
|
@@ -48711,11 +48712,11 @@ const R6 = (e, t) => {
|
|
|
48711
48712
|
}, [Me, je]);
|
|
48712
48713
|
ls(() => {
|
|
48713
48714
|
z && Ve({
|
|
48714
|
-
value:
|
|
48715
|
+
value: ne
|
|
48715
48716
|
});
|
|
48716
|
-
}, [
|
|
48717
|
+
}, [ne, Ve, z]);
|
|
48717
48718
|
const $e = (w) => {
|
|
48718
|
-
|
|
48719
|
+
K && K(w), b.onFocus && b.onFocus(w), $ && $.onFocus ? $.onFocus(w) : Ce(!0);
|
|
48719
48720
|
}, Ke = (w) => {
|
|
48720
48721
|
R && R(w), b.onBlur && b.onBlur(w), $ && $.onBlur ? $.onBlur(w) : Ce(!1);
|
|
48721
48722
|
}, Xe = (w, ...C) => {
|
|
@@ -48747,7 +48748,7 @@ const R6 = (e, t) => {
|
|
|
48747
48748
|
minRows: A,
|
|
48748
48749
|
...fe
|
|
48749
48750
|
}, Pe = J2);
|
|
48750
|
-
const
|
|
48751
|
+
const be = (w) => {
|
|
48751
48752
|
Ve(w.animationName === "mui-auto-fill-cancel" ? te.current : {
|
|
48752
48753
|
value: "x"
|
|
48753
48754
|
});
|
|
@@ -48780,14 +48781,14 @@ const R6 = (e, t) => {
|
|
|
48780
48781
|
...ze,
|
|
48781
48782
|
ref: n,
|
|
48782
48783
|
onClick: Tt,
|
|
48783
|
-
...
|
|
48784
|
+
...X,
|
|
48784
48785
|
...!eE(ge) && {
|
|
48785
48786
|
ownerState: {
|
|
48786
48787
|
...Re,
|
|
48787
48788
|
...ze.ownerState
|
|
48788
48789
|
}
|
|
48789
48790
|
},
|
|
48790
|
-
className: Ye(Ee.root, ze.className, a,
|
|
48791
|
+
className: Ye(Ee.root, ze.className, a, re && "MuiInputBase-readOnly"),
|
|
48791
48792
|
children: [W, /* @__PURE__ */ h.jsx(xh.Provider, {
|
|
48792
48793
|
value: null,
|
|
48793
48794
|
children: /* @__PURE__ */ h.jsx(P, {
|
|
@@ -48798,13 +48799,13 @@ const R6 = (e, t) => {
|
|
|
48798
48799
|
defaultValue: p,
|
|
48799
48800
|
disabled: we.disabled,
|
|
48800
48801
|
id: E,
|
|
48801
|
-
onAnimationStart:
|
|
48802
|
+
onAnimationStart: be,
|
|
48802
48803
|
name: N,
|
|
48803
48804
|
placeholder: H,
|
|
48804
|
-
readOnly:
|
|
48805
|
+
readOnly: re,
|
|
48805
48806
|
required: we.required,
|
|
48806
48807
|
rows: Z,
|
|
48807
|
-
value:
|
|
48808
|
+
value: ne,
|
|
48808
48809
|
onKeyDown: B,
|
|
48809
48810
|
onKeyUp: L,
|
|
48810
48811
|
type: U,
|
|
@@ -48817,7 +48818,7 @@ const R6 = (e, t) => {
|
|
|
48817
48818
|
}
|
|
48818
48819
|
},
|
|
48819
48820
|
ref: ie,
|
|
48820
|
-
className: Ye(Ee.input, fe.className,
|
|
48821
|
+
className: Ye(Ee.input, fe.className, re && "MuiInputBase-readOnly"),
|
|
48821
48822
|
onBlur: Ke,
|
|
48822
48823
|
onChange: Xe,
|
|
48823
48824
|
onFocus: $e
|
|
@@ -49115,7 +49116,7 @@ const sd = {
|
|
|
49115
49116
|
mode: "exit"
|
|
49116
49117
|
});
|
|
49117
49118
|
B.style.webkitTransition = r.transitions.create("opacity", L), B.style.transition = r.transitions.create("opacity", L), m && m(B);
|
|
49118
|
-
}), F = O(g),
|
|
49119
|
+
}), F = O(g), K = (B) => {
|
|
49119
49120
|
i && i(S.current, B);
|
|
49120
49121
|
};
|
|
49121
49122
|
return /* @__PURE__ */ h.jsx(T, {
|
|
@@ -49128,7 +49129,7 @@ const sd = {
|
|
|
49128
49129
|
onExit: _,
|
|
49129
49130
|
onExited: F,
|
|
49130
49131
|
onExiting: R,
|
|
49131
|
-
addEndListener:
|
|
49132
|
+
addEndListener: K,
|
|
49132
49133
|
timeout: E,
|
|
49133
49134
|
...b,
|
|
49134
49135
|
children: (B, L) => /* @__PURE__ */ j.cloneElement(a, {
|
|
@@ -49700,9 +49701,9 @@ const j6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
49700
49701
|
}), R = O || x == null && b !== "dot", {
|
|
49701
49702
|
color: _ = d,
|
|
49702
49703
|
overlap: F = p,
|
|
49703
|
-
anchorOrigin:
|
|
49704
|
+
anchorOrigin: K,
|
|
49704
49705
|
variant: B = b
|
|
49705
|
-
} = R ? N : r, L = YP(
|
|
49706
|
+
} = R ? N : r, L = YP(K), H = B !== "dot" ? k : void 0, re = {
|
|
49706
49707
|
...r,
|
|
49707
49708
|
badgeContent: x,
|
|
49708
49709
|
invisible: R,
|
|
@@ -49713,7 +49714,7 @@ const j6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
49713
49714
|
color: _,
|
|
49714
49715
|
overlap: F,
|
|
49715
49716
|
variant: B
|
|
49716
|
-
}, ae = Zpe(
|
|
49717
|
+
}, ae = Zpe(re), Z = (y == null ? void 0 : y.root) ?? c.Root ?? Qpe, V = (y == null ? void 0 : y.badge) ?? c.Badge ?? $pe, q = (E == null ? void 0 : E.root) ?? l.root, D = (E == null ? void 0 : E.badge) ?? l.badge, W = Vc({
|
|
49717
49718
|
elementType: Z,
|
|
49718
49719
|
externalSlotProps: q,
|
|
49719
49720
|
externalForwardedProps: S,
|
|
@@ -49721,12 +49722,12 @@ const j6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
49721
49722
|
ref: n,
|
|
49722
49723
|
as: a
|
|
49723
49724
|
},
|
|
49724
|
-
ownerState:
|
|
49725
|
+
ownerState: re,
|
|
49725
49726
|
className: Ye(q == null ? void 0 : q.className, ae.root, i)
|
|
49726
49727
|
}), U = Vc({
|
|
49727
49728
|
elementType: V,
|
|
49728
49729
|
externalSlotProps: D,
|
|
49729
|
-
ownerState:
|
|
49730
|
+
ownerState: re,
|
|
49730
49731
|
className: Ye(ae.badge, D == null ? void 0 : D.className)
|
|
49731
49732
|
});
|
|
49732
49733
|
return /* @__PURE__ */ h.jsxs(Z, {
|
|
@@ -50277,7 +50278,7 @@ const mhe = (e) => {
|
|
|
50277
50278
|
state: "checked"
|
|
50278
50279
|
}), _ = Rl(), F = (Z) => {
|
|
50279
50280
|
T && T(Z), _ && _.onFocus && _.onFocus(Z);
|
|
50280
|
-
},
|
|
50281
|
+
}, K = (Z) => {
|
|
50281
50282
|
y && y(Z), _ && _.onBlur && _.onBlur(Z);
|
|
50282
50283
|
}, B = (Z) => {
|
|
50283
50284
|
if (Z.nativeEvent.defaultPrevented)
|
|
@@ -50287,13 +50288,13 @@ const mhe = (e) => {
|
|
|
50287
50288
|
};
|
|
50288
50289
|
let L = c;
|
|
50289
50290
|
_ && typeof L > "u" && (L = _.disabled);
|
|
50290
|
-
const H = O === "checkbox" || O === "radio",
|
|
50291
|
+
const H = O === "checkbox" || O === "radio", re = {
|
|
50291
50292
|
...t,
|
|
50292
50293
|
checked: N,
|
|
50293
50294
|
disabled: L,
|
|
50294
50295
|
disableFocusRipple: l,
|
|
50295
50296
|
edge: u
|
|
50296
|
-
}, ae = mhe(
|
|
50297
|
+
}, ae = mhe(re);
|
|
50297
50298
|
return /* @__PURE__ */ h.jsxs(ghe, {
|
|
50298
50299
|
component: "span",
|
|
50299
50300
|
className: Ye(ae.root, s),
|
|
@@ -50303,8 +50304,8 @@ const mhe = (e) => {
|
|
|
50303
50304
|
tabIndex: null,
|
|
50304
50305
|
role: void 0,
|
|
50305
50306
|
onFocus: F,
|
|
50306
|
-
onBlur:
|
|
50307
|
-
ownerState:
|
|
50307
|
+
onBlur: K,
|
|
50308
|
+
ownerState: re,
|
|
50308
50309
|
ref: n,
|
|
50309
50310
|
...k,
|
|
50310
50311
|
children: [/* @__PURE__ */ h.jsx(vhe, {
|
|
@@ -50319,7 +50320,7 @@ const mhe = (e) => {
|
|
|
50319
50320
|
readOnly: b,
|
|
50320
50321
|
ref: g,
|
|
50321
50322
|
required: S,
|
|
50322
|
-
ownerState:
|
|
50323
|
+
ownerState: re,
|
|
50323
50324
|
tabIndex: x,
|
|
50324
50325
|
type: O,
|
|
50325
50326
|
...O === "checkbox" && A === void 0 ? {} : {
|
|
@@ -50626,8 +50627,8 @@ function hv(e) {
|
|
|
50626
50627
|
return;
|
|
50627
50628
|
let k = [];
|
|
50628
50629
|
if ((b.activeElement === l.current || b.activeElement === u.current) && (k = i(g.current)), k.length > 0) {
|
|
50629
|
-
const _ = !!((N = y.current) != null && N.shiftKey && ((R = y.current) == null ? void 0 : R.key) === "Tab"), F = k[0],
|
|
50630
|
-
typeof F != "string" && typeof
|
|
50630
|
+
const _ = !!((N = y.current) != null && N.shiftKey && ((R = y.current) == null ? void 0 : R.key) === "Tab"), F = k[0], K = k[k.length - 1];
|
|
50631
|
+
typeof F != "string" && typeof K != "string" && (_ ? K.focus() : F.focus());
|
|
50631
50632
|
} else
|
|
50632
50633
|
A.focus();
|
|
50633
50634
|
};
|
|
@@ -50758,18 +50759,18 @@ function Nhe(e) {
|
|
|
50758
50759
|
l ? O() : (!E || !o) && N();
|
|
50759
50760
|
}, [l, N, E, o, O]);
|
|
50760
50761
|
const R = (L) => (H) => {
|
|
50761
|
-
var
|
|
50762
|
-
(
|
|
50762
|
+
var re;
|
|
50763
|
+
(re = L.onKeyDown) == null || re.call(L, H), !(H.key !== "Escape" || H.which === 229 || // Wait until IME is settled.
|
|
50763
50764
|
!A()) && (n || (H.stopPropagation(), c && c(H, "escapeKeyDown")));
|
|
50764
50765
|
}, _ = (L) => (H) => {
|
|
50765
|
-
var
|
|
50766
|
-
(
|
|
50766
|
+
var re;
|
|
50767
|
+
(re = L.onClick) == null || re.call(L, H), H.target === H.currentTarget && c && c(H, "backdropClick");
|
|
50767
50768
|
};
|
|
50768
50769
|
return {
|
|
50769
50770
|
getRootProps: (L = {}) => {
|
|
50770
50771
|
const H = Td(e);
|
|
50771
50772
|
delete H.onTransitionEnter, delete H.onTransitionExited;
|
|
50772
|
-
const
|
|
50773
|
+
const re = {
|
|
50773
50774
|
...H,
|
|
50774
50775
|
...L
|
|
50775
50776
|
};
|
|
@@ -50781,8 +50782,8 @@ function Nhe(e) {
|
|
|
50781
50782
|
* https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
|
|
50782
50783
|
*/
|
|
50783
50784
|
role: "presentation",
|
|
50784
|
-
...
|
|
50785
|
-
onKeyDown: R(
|
|
50785
|
+
...re,
|
|
50786
|
+
onKeyDown: R(re),
|
|
50786
50787
|
ref: g
|
|
50787
50788
|
};
|
|
50788
50789
|
},
|
|
@@ -50890,7 +50891,7 @@ const Mhe = (e) => {
|
|
|
50890
50891
|
slotProps: _ = {},
|
|
50891
50892
|
slots: F = {},
|
|
50892
50893
|
// eslint-disable-next-line react/prop-types
|
|
50893
|
-
theme:
|
|
50894
|
+
theme: K,
|
|
50894
50895
|
...B
|
|
50895
50896
|
} = r, L = {
|
|
50896
50897
|
...r,
|
|
@@ -50905,7 +50906,7 @@ const Mhe = (e) => {
|
|
|
50905
50906
|
keepMounted: x
|
|
50906
50907
|
}, {
|
|
50907
50908
|
getRootProps: H,
|
|
50908
|
-
getBackdropProps:
|
|
50909
|
+
getBackdropProps: re,
|
|
50909
50910
|
getTransitionProps: ae,
|
|
50910
50911
|
portalRef: Z,
|
|
50911
50912
|
isTopModal: V,
|
|
@@ -50925,7 +50926,7 @@ const Mhe = (e) => {
|
|
|
50925
50926
|
} = ae();
|
|
50926
50927
|
Y.onEnter = ee, Y.onExited = Ce;
|
|
50927
50928
|
}
|
|
50928
|
-
const
|
|
50929
|
+
const X = {
|
|
50929
50930
|
...B,
|
|
50930
50931
|
slots: {
|
|
50931
50932
|
root: d.Root,
|
|
@@ -50936,9 +50937,9 @@ const Mhe = (e) => {
|
|
|
50936
50937
|
...m,
|
|
50937
50938
|
..._
|
|
50938
50939
|
}
|
|
50939
|
-
}, [
|
|
50940
|
+
}, [ne, z] = La("root", {
|
|
50940
50941
|
elementType: jhe,
|
|
50941
|
-
externalForwardedProps:
|
|
50942
|
+
externalForwardedProps: X,
|
|
50942
50943
|
getSlotProps: H,
|
|
50943
50944
|
additionalProps: {
|
|
50944
50945
|
ref: n,
|
|
@@ -50948,9 +50949,9 @@ const Mhe = (e) => {
|
|
|
50948
50949
|
className: Ye(a, U == null ? void 0 : U.root, !W.open && W.exited && (U == null ? void 0 : U.hidden))
|
|
50949
50950
|
}), [te, oe] = La("backdrop", {
|
|
50950
50951
|
elementType: o,
|
|
50951
|
-
externalForwardedProps:
|
|
50952
|
+
externalForwardedProps: X,
|
|
50952
50953
|
additionalProps: i,
|
|
50953
|
-
getSlotProps: (ee) =>
|
|
50954
|
+
getSlotProps: (ee) => re({
|
|
50954
50955
|
...ee,
|
|
50955
50956
|
onClick: (Ce) => {
|
|
50956
50957
|
O && O(Ce), ee != null && ee.onClick && ee.onClick(Ce);
|
|
@@ -50963,7 +50964,7 @@ const Mhe = (e) => {
|
|
|
50963
50964
|
ref: Z,
|
|
50964
50965
|
container: u,
|
|
50965
50966
|
disablePortal: E,
|
|
50966
|
-
children: /* @__PURE__ */ h.jsxs(
|
|
50967
|
+
children: /* @__PURE__ */ h.jsxs(ne, {
|
|
50967
50968
|
...z,
|
|
50968
50969
|
children: [!S && o ? /* @__PURE__ */ h.jsx(te, {
|
|
50969
50970
|
...oe,
|
|
@@ -51269,7 +51270,7 @@ const Lhe = (e) => {
|
|
|
51269
51270
|
`)), F.current = !0, () => {
|
|
51270
51271
|
F.current = !1;
|
|
51271
51272
|
}));
|
|
51272
|
-
const
|
|
51273
|
+
const K = j.useMemo(() => ({
|
|
51273
51274
|
adornedStart: S,
|
|
51274
51275
|
setAdornedStart: x,
|
|
51275
51276
|
color: s,
|
|
@@ -51297,7 +51298,7 @@ const Lhe = (e) => {
|
|
|
51297
51298
|
variant: y
|
|
51298
51299
|
}), [S, s, c, l, O, R, p, d, _, g, v, y]);
|
|
51299
51300
|
return /* @__PURE__ */ h.jsx(xh.Provider, {
|
|
51300
|
-
value:
|
|
51301
|
+
value: K,
|
|
51301
51302
|
children: /* @__PURE__ */ h.jsx(Fhe, {
|
|
51302
51303
|
as: a,
|
|
51303
51304
|
ownerState: T,
|
|
@@ -51520,7 +51521,7 @@ const wd = bt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
|
|
|
51520
51521
|
...s,
|
|
51521
51522
|
...E
|
|
51522
51523
|
}
|
|
51523
|
-
}, [F,
|
|
51524
|
+
}, [F, K] = La("typography", {
|
|
51524
51525
|
elementType: ve,
|
|
51525
51526
|
externalForwardedProps: _,
|
|
51526
51527
|
ownerState: N
|
|
@@ -51528,8 +51529,8 @@ const wd = bt("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
|
|
|
51528
51529
|
let B = p;
|
|
51529
51530
|
return B != null && B.type !== ve && !l && (B = /* @__PURE__ */ h.jsx(F, {
|
|
51530
51531
|
component: "span",
|
|
51531
|
-
...
|
|
51532
|
-
className: Ye(R.label,
|
|
51532
|
+
...K,
|
|
51533
|
+
className: Ye(R.label, K == null ? void 0 : K.className),
|
|
51533
51534
|
children: B
|
|
51534
51535
|
})), /* @__PURE__ */ h.jsxs(Uhe, {
|
|
51535
51536
|
className: Ye(R.root, i),
|
|
@@ -51912,13 +51913,13 @@ const Jhe = {
|
|
|
51912
51913
|
...E
|
|
51913
51914
|
} = t, T = mc(), b = j.useRef(), S = lf(), x = j.useRef(null), O = Fn(x, Fp(i), n), A = (L) => (H) => {
|
|
51914
51915
|
if (L) {
|
|
51915
|
-
const
|
|
51916
|
-
H === void 0 ? L(
|
|
51916
|
+
const re = x.current;
|
|
51917
|
+
H === void 0 ? L(re) : L(re, H);
|
|
51917
51918
|
}
|
|
51918
51919
|
}, k = A(u), N = A((L, H) => {
|
|
51919
51920
|
T6(L);
|
|
51920
51921
|
const {
|
|
51921
|
-
duration:
|
|
51922
|
+
duration: re,
|
|
51922
51923
|
delay: ae,
|
|
51923
51924
|
easing: Z
|
|
51924
51925
|
} = tf({
|
|
@@ -51929,7 +51930,7 @@ const Jhe = {
|
|
|
51929
51930
|
mode: "enter"
|
|
51930
51931
|
});
|
|
51931
51932
|
let V;
|
|
51932
|
-
v === "auto" ? (V = S.transitions.getAutoHeightDuration(L.clientHeight), b.current = V) : V =
|
|
51933
|
+
v === "auto" ? (V = S.transitions.getAutoHeightDuration(L.clientHeight), b.current = V) : V = re, L.style.transition = [S.transitions.create("opacity", {
|
|
51933
51934
|
duration: V,
|
|
51934
51935
|
delay: ae
|
|
51935
51936
|
}), S.transitions.create("transform", {
|
|
@@ -51940,7 +51941,7 @@ const Jhe = {
|
|
|
51940
51941
|
}), R = A(l), _ = A(m), F = A((L) => {
|
|
51941
51942
|
const {
|
|
51942
51943
|
duration: H,
|
|
51943
|
-
delay:
|
|
51944
|
+
delay: re,
|
|
51944
51945
|
easing: ae
|
|
51945
51946
|
} = tf({
|
|
51946
51947
|
style: g,
|
|
@@ -51952,13 +51953,13 @@ const Jhe = {
|
|
|
51952
51953
|
let Z;
|
|
51953
51954
|
v === "auto" ? (Z = S.transitions.getAutoHeightDuration(L.clientHeight), b.current = Z) : Z = H, L.style.transition = [S.transitions.create("opacity", {
|
|
51954
51955
|
duration: Z,
|
|
51955
|
-
delay:
|
|
51956
|
+
delay: re
|
|
51956
51957
|
}), S.transitions.create("transform", {
|
|
51957
51958
|
duration: p1 ? Z : Z * 0.666,
|
|
51958
|
-
delay: p1 ?
|
|
51959
|
+
delay: p1 ? re : re || Z * 0.333,
|
|
51959
51960
|
easing: ae
|
|
51960
51961
|
})].join(","), L.style.opacity = 0, L.style.transform = nE(0.75), p && p(L);
|
|
51961
|
-
}),
|
|
51962
|
+
}), K = A(d), B = (L) => {
|
|
51962
51963
|
v === "auto" && T.start(b.current || 0, L), r && r(x.current, L);
|
|
51963
51964
|
};
|
|
51964
51965
|
return /* @__PURE__ */ h.jsx(y, {
|
|
@@ -51969,7 +51970,7 @@ const Jhe = {
|
|
|
51969
51970
|
onEntered: R,
|
|
51970
51971
|
onEntering: k,
|
|
51971
51972
|
onExit: F,
|
|
51972
|
-
onExited:
|
|
51973
|
+
onExited: K,
|
|
51973
51974
|
onExiting: _,
|
|
51974
51975
|
addEndListener: B,
|
|
51975
51976
|
timeout: v === "auto" ? null : v,
|
|
@@ -52762,7 +52763,7 @@ const ome = (e) => {
|
|
|
52762
52763
|
TransitionComponent: b,
|
|
52763
52764
|
transitionDuration: S,
|
|
52764
52765
|
TransitionProps: O
|
|
52765
|
-
}, F = ome(_),
|
|
52766
|
+
}, F = ome(_), K = j.useCallback(() => {
|
|
52766
52767
|
if (c === "anchorPosition")
|
|
52767
52768
|
return I.env.NODE_ENV !== "production" && (a || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), a;
|
|
52768
52769
|
const oe = sg(i), ie = oe && oe.nodeType === 1 ? oe : $o(R.current).body, ee = ie.getBoundingClientRect();
|
|
@@ -52789,7 +52790,7 @@ const ome = (e) => {
|
|
|
52789
52790
|
left: null,
|
|
52790
52791
|
transformOrigin: tI(ee)
|
|
52791
52792
|
};
|
|
52792
|
-
const Ce =
|
|
52793
|
+
const Ce = K();
|
|
52793
52794
|
let $ = Ce.top - ee.vertical, we = Ce.left - ee.horizontal;
|
|
52794
52795
|
const Me = $ + ie.height, je = we + ie.width, Ve = qs(sg(i)), $e = Ve.innerHeight - m, Ke = Ve.innerWidth - m;
|
|
52795
52796
|
if (m !== null && $ < m) {
|
|
@@ -52812,18 +52813,18 @@ const ome = (e) => {
|
|
|
52812
52813
|
left: `${Math.round(we)}px`,
|
|
52813
52814
|
transformOrigin: tI(ee)
|
|
52814
52815
|
};
|
|
52815
|
-
}, [i, c,
|
|
52816
|
+
}, [i, c, K, B, m]), [H, re] = j.useState(g), ae = j.useCallback(() => {
|
|
52816
52817
|
const oe = R.current;
|
|
52817
52818
|
if (!oe)
|
|
52818
52819
|
return;
|
|
52819
52820
|
const ie = L(oe);
|
|
52820
|
-
ie.top !== null && oe.style.setProperty("top", ie.top), ie.left !== null && (oe.style.left = ie.left), oe.style.transformOrigin = ie.transformOrigin,
|
|
52821
|
+
ie.top !== null && oe.style.setProperty("top", ie.top), ie.left !== null && (oe.style.left = ie.left), oe.style.transformOrigin = ie.transformOrigin, re(!0);
|
|
52821
52822
|
}, [L]);
|
|
52822
52823
|
j.useEffect(() => (A && window.addEventListener("scroll", ae), () => window.removeEventListener("scroll", ae)), [i, A, ae]);
|
|
52823
52824
|
const Z = (oe, ie) => {
|
|
52824
52825
|
x && x(oe, ie), ae();
|
|
52825
52826
|
}, V = () => {
|
|
52826
|
-
|
|
52827
|
+
re(!1);
|
|
52827
52828
|
};
|
|
52828
52829
|
j.useEffect(() => {
|
|
52829
52830
|
g && ae();
|
|
@@ -52861,8 +52862,8 @@ const ome = (e) => {
|
|
|
52861
52862
|
}
|
|
52862
52863
|
},
|
|
52863
52864
|
ownerState: _
|
|
52864
|
-
}), [
|
|
52865
|
-
slotProps:
|
|
52865
|
+
}), [X, {
|
|
52866
|
+
slotProps: ne,
|
|
52866
52867
|
...z
|
|
52867
52868
|
}] = La("root", {
|
|
52868
52869
|
elementType: ime,
|
|
@@ -52879,10 +52880,10 @@ const ome = (e) => {
|
|
|
52879
52880
|
ownerState: _,
|
|
52880
52881
|
className: Ye(F.root, u)
|
|
52881
52882
|
}), te = Fn(R, Y.ref);
|
|
52882
|
-
return /* @__PURE__ */ h.jsx(
|
|
52883
|
+
return /* @__PURE__ */ h.jsx(X, {
|
|
52883
52884
|
...z,
|
|
52884
|
-
...!eE(
|
|
52885
|
-
slotProps:
|
|
52885
|
+
...!eE(X) && {
|
|
52886
|
+
slotProps: ne,
|
|
52886
52887
|
disableScrollLock: A
|
|
52887
52888
|
},
|
|
52888
52889
|
...k,
|
|
@@ -53171,26 +53172,26 @@ const ame = {
|
|
|
53171
53172
|
transitionDuration: m,
|
|
53172
53173
|
TransitionProps: v,
|
|
53173
53174
|
variant: y
|
|
53174
|
-
}, O = lme(x), A = o && !a && u, k = j.useRef(null), N = (H,
|
|
53175
|
+
}, O = lme(x), A = o && !a && u, k = j.useRef(null), N = (H, re) => {
|
|
53175
53176
|
k.current && k.current.adjustStyleForScrollbar(H, {
|
|
53176
53177
|
direction: S ? "rtl" : "ltr"
|
|
53177
|
-
}), g && g(H,
|
|
53178
|
+
}), g && g(H, re);
|
|
53178
53179
|
}, R = (H) => {
|
|
53179
53180
|
H.key === "Tab" && (H.preventDefault(), l && l(H, "tabKeyDown"));
|
|
53180
53181
|
};
|
|
53181
53182
|
let _ = -1;
|
|
53182
|
-
j.Children.map(i, (H,
|
|
53183
|
+
j.Children.map(i, (H, re) => {
|
|
53183
53184
|
/* @__PURE__ */ j.isValidElement(H) && (I.env.NODE_ENV !== "production" && C6.isFragment(H) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
53184
|
-
`)), H.props.disabled || (y === "selectedMenu" && H.props.selected || _ === -1) && (_ =
|
|
53185
|
+
`)), H.props.disabled || (y === "selectedMenu" && H.props.selected || _ === -1) && (_ = re));
|
|
53185
53186
|
});
|
|
53186
|
-
const F = E.paper ?? fme,
|
|
53187
|
+
const F = E.paper ?? fme, K = T.paper ?? p, B = Vc({
|
|
53187
53188
|
elementType: E.root,
|
|
53188
53189
|
externalSlotProps: T.root,
|
|
53189
53190
|
ownerState: x,
|
|
53190
53191
|
className: [O.root, s]
|
|
53191
53192
|
}), L = Vc({
|
|
53192
53193
|
elementType: F,
|
|
53193
|
-
externalSlotProps:
|
|
53194
|
+
externalSlotProps: K,
|
|
53194
53195
|
ownerState: x,
|
|
53195
53196
|
className: O.paper
|
|
53196
53197
|
});
|
|
@@ -54519,13 +54520,13 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
54519
54520
|
PopperProps: R = {},
|
|
54520
54521
|
slotProps: _ = {},
|
|
54521
54522
|
slots: F = {},
|
|
54522
|
-
title:
|
|
54523
|
+
title: K,
|
|
54523
54524
|
TransitionComponent: B = nf,
|
|
54524
54525
|
TransitionProps: L,
|
|
54525
54526
|
...H
|
|
54526
|
-
} = r,
|
|
54527
|
+
} = r, re = /* @__PURE__ */ j.isValidElement(i) ? i : /* @__PURE__ */ h.jsx("span", {
|
|
54527
54528
|
children: i
|
|
54528
|
-
}), ae = lf(), Z = Ey(), [V, q] = j.useState(), [D, W] = j.useState(null), U = j.useRef(!1), Y = d || E,
|
|
54529
|
+
}), ae = lf(), Z = Ey(), [V, q] = j.useState(), [D, W] = j.useState(null), U = j.useRef(!1), Y = d || E, X = mc(), ne = mc(), z = mc(), te = mc(), [oe, ie] = DE({
|
|
54529
54530
|
controlled: A,
|
|
54530
54531
|
default: !1,
|
|
54531
54532
|
name: "Tooltip",
|
|
@@ -54537,9 +54538,9 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
54537
54538
|
current: dt
|
|
54538
54539
|
} = j.useRef(A !== void 0);
|
|
54539
54540
|
j.useEffect(() => {
|
|
54540
|
-
V && V.disabled && !dt &&
|
|
54541
|
+
V && V.disabled && !dt && K !== "" && V.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
|
|
54541
54542
|
`));
|
|
54542
|
-
}, [
|
|
54543
|
+
}, [K, V, dt]);
|
|
54543
54544
|
}
|
|
54544
54545
|
const Ce = e5(T), $ = j.useRef(), we = ma(() => {
|
|
54545
54546
|
$.current !== void 0 && (document.body.style.WebkitUserSelect = $.current, $.current = void 0), te.clear();
|
|
@@ -54554,16 +54555,16 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
54554
54555
|
(dt) => {
|
|
54555
54556
|
iI.start(800 + b, () => {
|
|
54556
54557
|
bm = !1;
|
|
54557
|
-
}), ie(!1), x && ee && x(dt),
|
|
54558
|
+
}), ie(!1), x && ee && x(dt), X.start(ae.transitions.duration.shortest, () => {
|
|
54558
54559
|
U.current = !1;
|
|
54559
54560
|
});
|
|
54560
54561
|
}
|
|
54561
54562
|
), Ve = (dt) => {
|
|
54562
|
-
U.current && dt.type !== "touchstart" || (V && V.removeAttribute("title"),
|
|
54563
|
+
U.current && dt.type !== "touchstart" || (V && V.removeAttribute("title"), ne.clear(), z.clear(), g || bm && v ? ne.start(bm ? v : g, () => {
|
|
54563
54564
|
Me(dt);
|
|
54564
54565
|
}) : Me(dt));
|
|
54565
54566
|
}, $e = (dt) => {
|
|
54566
|
-
|
|
54567
|
+
ne.clear(), z.start(b, () => {
|
|
54567
54568
|
je(dt);
|
|
54568
54569
|
});
|
|
54569
54570
|
}, [, Ke] = j.useState(!1), Xe = (dt) => {
|
|
@@ -54572,14 +54573,14 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
54572
54573
|
V || q(dt.currentTarget), mg(dt.target) && (Ke(!0), Ve(dt));
|
|
54573
54574
|
}, Pe = (dt) => {
|
|
54574
54575
|
U.current = !0;
|
|
54575
|
-
const po =
|
|
54576
|
+
const po = re.props;
|
|
54576
54577
|
po.onTouchStart && po.onTouchStart(dt);
|
|
54577
54578
|
}, fe = (dt) => {
|
|
54578
|
-
Pe(dt), z.clear(),
|
|
54579
|
+
Pe(dt), z.clear(), X.clear(), we(), $.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", te.start(y, () => {
|
|
54579
54580
|
document.body.style.WebkitUserSelect = $.current, Ve(dt);
|
|
54580
54581
|
});
|
|
54581
|
-
},
|
|
54582
|
-
|
|
54582
|
+
}, be = (dt) => {
|
|
54583
|
+
re.props.onTouchEnd && re.props.onTouchEnd(dt), we(), z.start(S, () => {
|
|
54583
54584
|
je(dt);
|
|
54584
54585
|
});
|
|
54585
54586
|
};
|
|
@@ -54593,21 +54594,21 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
54593
54594
|
document.removeEventListener("keydown", dt);
|
|
54594
54595
|
};
|
|
54595
54596
|
}, [je, ee]);
|
|
54596
|
-
const Re = Fn(Fp(
|
|
54597
|
-
!
|
|
54597
|
+
const Re = Fn(Fp(re), q, n);
|
|
54598
|
+
!K && K !== 0 && (ee = !1);
|
|
54598
54599
|
const Ee = j.useRef(), ge = (dt) => {
|
|
54599
|
-
const po =
|
|
54600
|
+
const po = re.props;
|
|
54600
54601
|
po.onMouseMove && po.onMouseMove(dt), ld = {
|
|
54601
54602
|
x: dt.clientX,
|
|
54602
54603
|
y: dt.clientY
|
|
54603
54604
|
}, Ee.current && Ee.current.update();
|
|
54604
|
-
}, ze = {}, P = typeof
|
|
54605
|
-
l ? (ze.title = !ee && P && !p ?
|
|
54605
|
+
}, ze = {}, P = typeof K == "string";
|
|
54606
|
+
l ? (ze.title = !ee && P && !p ? K : null, ze["aria-describedby"] = ee ? Ce : null) : (ze["aria-label"] = P ? K : null, ze["aria-labelledby"] = ee && !P ? Ce : null);
|
|
54606
54607
|
const w = {
|
|
54607
54608
|
...ze,
|
|
54608
54609
|
...H,
|
|
54609
|
-
...
|
|
54610
|
-
className: Ye(H.className,
|
|
54610
|
+
...re.props,
|
|
54611
|
+
className: Ye(H.className, re.props.className),
|
|
54611
54612
|
onTouchStart: Pe,
|
|
54612
54613
|
ref: Re,
|
|
54613
54614
|
...E ? {
|
|
@@ -54619,7 +54620,7 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
54619
54620
|
`));
|
|
54620
54621
|
}, [V]));
|
|
54621
54622
|
const C = {};
|
|
54622
|
-
m || (w.onTouchStart = fe, w.onTouchEnd =
|
|
54623
|
+
m || (w.onTouchStart = fe, w.onTouchEnd = be), p || (w.onMouseOver = wm(Ve, w.onMouseOver), w.onMouseLeave = wm($e, w.onMouseLeave), Y || (C.onMouseOver = Ve, C.onMouseLeave = $e)), u || (w.onFocus = wm(Tt, w.onFocus), w.onBlur = wm(Xe, w.onBlur), Y || (C.onFocus = Tt, C.onBlur = Xe)), I.env.NODE_ENV !== "production" && re.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${re.props.title}\` or the Tooltip component.`].join(`
|
|
54623
54624
|
`));
|
|
54624
54625
|
const M = j.useMemo(() => {
|
|
54625
54626
|
var po;
|
|
@@ -54658,7 +54659,7 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
54658
54659
|
className: Ye(se.arrow, (Hf = _.arrow ?? c.arrow) == null ? void 0 : Hf.className)
|
|
54659
54660
|
}, J);
|
|
54660
54661
|
return /* @__PURE__ */ h.jsxs(j.Fragment, {
|
|
54661
|
-
children: [/* @__PURE__ */ j.cloneElement(
|
|
54662
|
+
children: [/* @__PURE__ */ j.cloneElement(re, w), /* @__PURE__ */ h.jsx(le, {
|
|
54662
54663
|
as: N ?? Z2,
|
|
54663
54664
|
placement: k,
|
|
54664
54665
|
anchorEl: E ? {
|
|
@@ -54686,7 +54687,7 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
|
54686
54687
|
...Vt,
|
|
54687
54688
|
children: /* @__PURE__ */ h.jsxs(Dt, {
|
|
54688
54689
|
...Ph,
|
|
54689
|
-
children: [
|
|
54690
|
+
children: [K, o ? /* @__PURE__ */ h.jsx(Bt, {
|
|
54690
54691
|
...Ih,
|
|
54691
54692
|
ref: W
|
|
54692
54693
|
}) : null]
|
|
@@ -56885,15 +56886,15 @@ function u9() {
|
|
|
56885
56886
|
return Hge(n);
|
|
56886
56887
|
}, [n]), F = Xr(function() {
|
|
56887
56888
|
return typeof y == "function" ? y : yI;
|
|
56888
|
-
}, [y]),
|
|
56889
|
+
}, [y]), K = Xr(function() {
|
|
56889
56890
|
return typeof v == "function" ? v : yI;
|
|
56890
|
-
}, [v]), B = Rn(null), L = Rn(null), H = O_(ove, lE),
|
|
56891
|
+
}, [v]), B = Rn(null), L = Rn(null), H = O_(ove, lE), re = v1(H, 2), ae = re[0], Z = re[1], V = ae.isFocused, q = ae.isFileDialogActive, D = Rn(typeof window < "u" && window.isSecureContext && E && Uge()), W = function() {
|
|
56891
56892
|
!D.current && q && setTimeout(function() {
|
|
56892
56893
|
if (L.current) {
|
|
56893
|
-
var
|
|
56894
|
-
|
|
56894
|
+
var be = L.current.files;
|
|
56895
|
+
be.length || (Z({
|
|
56895
56896
|
type: "closeDialog"
|
|
56896
|
-
}),
|
|
56897
|
+
}), K());
|
|
56897
56898
|
}
|
|
56898
56899
|
}, 300);
|
|
56899
56900
|
};
|
|
@@ -56901,9 +56902,9 @@ function u9() {
|
|
|
56901
56902
|
return window.addEventListener("focus", W, !1), function() {
|
|
56902
56903
|
window.removeEventListener("focus", W, !1);
|
|
56903
56904
|
};
|
|
56904
|
-
}, [L, q,
|
|
56905
|
-
var U = Rn([]), Y = function(
|
|
56906
|
-
B.current && B.current.contains(
|
|
56905
|
+
}, [L, q, K, D]);
|
|
56906
|
+
var U = Rn([]), Y = function(be) {
|
|
56907
|
+
B.current && B.current.contains(be.target) || (be.preventDefault(), U.current = []);
|
|
56907
56908
|
};
|
|
56908
56909
|
St(function() {
|
|
56909
56910
|
return b && (document.addEventListener("dragover", gI, !1), document.addEventListener("drop", Y, !1)), function() {
|
|
@@ -56913,13 +56914,13 @@ function u9() {
|
|
|
56913
56914
|
return !r && T && B.current && B.current.focus(), function() {
|
|
56914
56915
|
};
|
|
56915
56916
|
}, [B, T, r]);
|
|
56916
|
-
var
|
|
56917
|
+
var X = wn(function(fe) {
|
|
56917
56918
|
k ? k(fe) : console.error(fe);
|
|
56918
|
-
}, [k]),
|
|
56919
|
-
fe.preventDefault(), fe.persist(), Ke(fe), U.current = [].concat(Jge(U.current), [fe.target]), Sm(fe) && Promise.resolve(o(fe)).then(function(
|
|
56919
|
+
}, [k]), ne = wn(function(fe) {
|
|
56920
|
+
fe.preventDefault(), fe.persist(), Ke(fe), U.current = [].concat(Jge(U.current), [fe.target]), Sm(fe) && Promise.resolve(o(fe)).then(function(be) {
|
|
56920
56921
|
if (!(bv(fe) && !A)) {
|
|
56921
|
-
var Re =
|
|
56922
|
-
files:
|
|
56922
|
+
var Re = be.length, Ee = Re > 0 && Lge({
|
|
56923
|
+
files: be,
|
|
56923
56924
|
accept: R,
|
|
56924
56925
|
minSize: s,
|
|
56925
56926
|
maxSize: i,
|
|
@@ -56934,30 +56935,30 @@ function u9() {
|
|
|
56934
56935
|
type: "setDraggedFiles"
|
|
56935
56936
|
}), l && l(fe);
|
|
56936
56937
|
}
|
|
56937
|
-
}).catch(function(
|
|
56938
|
-
return
|
|
56938
|
+
}).catch(function(be) {
|
|
56939
|
+
return X(be);
|
|
56939
56940
|
});
|
|
56940
|
-
}, [o, l,
|
|
56941
|
+
}, [o, l, X, A, R, s, i, a, c, N]), z = wn(function(fe) {
|
|
56941
56942
|
fe.preventDefault(), fe.persist(), Ke(fe);
|
|
56942
|
-
var
|
|
56943
|
-
if (
|
|
56943
|
+
var be = Sm(fe);
|
|
56944
|
+
if (be && fe.dataTransfer)
|
|
56944
56945
|
try {
|
|
56945
56946
|
fe.dataTransfer.dropEffect = "copy";
|
|
56946
56947
|
} catch {
|
|
56947
56948
|
}
|
|
56948
|
-
return
|
|
56949
|
+
return be && p && p(fe), !1;
|
|
56949
56950
|
}, [p, A]), te = wn(function(fe) {
|
|
56950
56951
|
fe.preventDefault(), fe.persist(), Ke(fe);
|
|
56951
|
-
var
|
|
56952
|
+
var be = U.current.filter(function(Ee) {
|
|
56952
56953
|
return B.current && B.current.contains(Ee);
|
|
56953
|
-
}), Re =
|
|
56954
|
-
Re !== -1 &&
|
|
56954
|
+
}), Re = be.indexOf(fe.target);
|
|
56955
|
+
Re !== -1 && be.splice(Re, 1), U.current = be, !(be.length > 0) && (Z({
|
|
56955
56956
|
type: "setDraggedFiles",
|
|
56956
56957
|
isDragActive: !1,
|
|
56957
56958
|
isDragAccept: !1,
|
|
56958
56959
|
isDragReject: !1
|
|
56959
56960
|
}), Sm(fe) && u && u(fe));
|
|
56960
|
-
}, [B, u, A]), oe = wn(function(fe,
|
|
56961
|
+
}, [B, u, A]), oe = wn(function(fe, be) {
|
|
56961
56962
|
var Re = [], Ee = [];
|
|
56962
56963
|
fe.forEach(function(ge) {
|
|
56963
56964
|
var ze = o9(ge, R), P = v1(ze, 2), w = P[0], C = P[1], M = i9(ge, s, i), J = v1(M, 2), se = J[0], le = J[1], Ze = N ? N(ge) : null;
|
|
@@ -56981,16 +56982,16 @@ function u9() {
|
|
|
56981
56982
|
acceptedFiles: Re,
|
|
56982
56983
|
fileRejections: Ee,
|
|
56983
56984
|
type: "setFiles"
|
|
56984
|
-
}), d && d(Re, Ee,
|
|
56985
|
+
}), d && d(Re, Ee, be), Ee.length > 0 && g && g(Ee, be), Re.length > 0 && m && m(Re, be);
|
|
56985
56986
|
}, [Z, a, R, s, i, c, d, m, g, N]), ie = wn(function(fe) {
|
|
56986
|
-
fe.preventDefault(), fe.persist(), Ke(fe), U.current = [], Sm(fe) && Promise.resolve(o(fe)).then(function(
|
|
56987
|
-
bv(fe) && !A || oe(
|
|
56988
|
-
}).catch(function(
|
|
56989
|
-
return
|
|
56987
|
+
fe.preventDefault(), fe.persist(), Ke(fe), U.current = [], Sm(fe) && Promise.resolve(o(fe)).then(function(be) {
|
|
56988
|
+
bv(fe) && !A || oe(be, fe);
|
|
56989
|
+
}).catch(function(be) {
|
|
56990
|
+
return X(be);
|
|
56990
56991
|
}), Z({
|
|
56991
56992
|
type: "reset"
|
|
56992
56993
|
});
|
|
56993
|
-
}, [o, oe,
|
|
56994
|
+
}, [o, oe, X, A]), ee = wn(function() {
|
|
56994
56995
|
if (D.current) {
|
|
56995
56996
|
Z({
|
|
56996
56997
|
type: "openDialog"
|
|
@@ -56999,23 +57000,23 @@ function u9() {
|
|
|
56999
57000
|
multiple: a,
|
|
57000
57001
|
types: _
|
|
57001
57002
|
};
|
|
57002
|
-
window.showOpenFilePicker(fe).then(function(
|
|
57003
|
-
return o(
|
|
57004
|
-
}).then(function(
|
|
57005
|
-
oe(
|
|
57003
|
+
window.showOpenFilePicker(fe).then(function(be) {
|
|
57004
|
+
return o(be);
|
|
57005
|
+
}).then(function(be) {
|
|
57006
|
+
oe(be, null), Z({
|
|
57006
57007
|
type: "closeDialog"
|
|
57007
57008
|
});
|
|
57008
|
-
}).catch(function(
|
|
57009
|
-
Gge(
|
|
57009
|
+
}).catch(function(be) {
|
|
57010
|
+
Gge(be) ? (K(be), Z({
|
|
57010
57011
|
type: "closeDialog"
|
|
57011
|
-
})) : zge(
|
|
57012
|
+
})) : zge(be) ? (D.current = !1, L.current ? (L.current.value = null, L.current.click()) : X(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : X(be);
|
|
57012
57013
|
});
|
|
57013
57014
|
return;
|
|
57014
57015
|
}
|
|
57015
57016
|
L.current && (Z({
|
|
57016
57017
|
type: "openDialog"
|
|
57017
57018
|
}), F(), L.current.value = null, L.current.click());
|
|
57018
|
-
}, [Z, F,
|
|
57019
|
+
}, [Z, F, K, E, oe, X, _, a]), Ce = wn(function(fe) {
|
|
57019
57020
|
!B.current || !B.current.isEqualNode(fe.target) || (fe.key === " " || fe.key === "Enter" || fe.keyCode === 32 || fe.keyCode === 13) && (fe.preventDefault(), ee());
|
|
57020
57021
|
}, [B, ee]), $ = wn(function() {
|
|
57021
57022
|
Z({
|
|
@@ -57027,23 +57028,23 @@ function u9() {
|
|
|
57027
57028
|
});
|
|
57028
57029
|
}, []), Me = wn(function() {
|
|
57029
57030
|
S || (Vge() ? setTimeout(ee, 0) : ee());
|
|
57030
|
-
}, [S, ee]), je = function(
|
|
57031
|
-
return r ? null :
|
|
57032
|
-
}, Ve = function(
|
|
57033
|
-
return x ? null : je(
|
|
57034
|
-
}, $e = function(
|
|
57035
|
-
return O ? null : je(
|
|
57036
|
-
}, Ke = function(
|
|
57037
|
-
A &&
|
|
57031
|
+
}, [S, ee]), je = function(be) {
|
|
57032
|
+
return r ? null : be;
|
|
57033
|
+
}, Ve = function(be) {
|
|
57034
|
+
return x ? null : je(be);
|
|
57035
|
+
}, $e = function(be) {
|
|
57036
|
+
return O ? null : je(be);
|
|
57037
|
+
}, Ke = function(be) {
|
|
57038
|
+
A && be.stopPropagation();
|
|
57038
57039
|
}, Xe = Xr(function() {
|
|
57039
57040
|
return function() {
|
|
57040
|
-
var fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
57041
|
+
var fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, be = fe.refKey, Re = be === void 0 ? "ref" : be, Ee = fe.role, ge = fe.onKeyDown, ze = fe.onFocus, P = fe.onBlur, w = fe.onClick, C = fe.onDragEnter, M = fe.onDragOver, J = fe.onDragLeave, se = fe.onDrop, le = wv(fe, Kge);
|
|
57041
57042
|
return xn(xn(cE({
|
|
57042
57043
|
onKeyDown: Ve(Li(ge, Ce)),
|
|
57043
57044
|
onFocus: Ve(Li(ze, $)),
|
|
57044
57045
|
onBlur: Ve(Li(P, we)),
|
|
57045
57046
|
onClick: je(Li(w, Me)),
|
|
57046
|
-
onDragEnter: $e(Li(C,
|
|
57047
|
+
onDragEnter: $e(Li(C, ne)),
|
|
57047
57048
|
onDragOver: $e(Li(M, z)),
|
|
57048
57049
|
onDragLeave: $e(Li(J, te)),
|
|
57049
57050
|
onDrop: $e(Li(se, ie)),
|
|
@@ -57052,11 +57053,11 @@ function u9() {
|
|
|
57052
57053
|
tabIndex: 0
|
|
57053
57054
|
} : {}), le);
|
|
57054
57055
|
};
|
|
57055
|
-
}, [B, Ce, $, we, Me,
|
|
57056
|
+
}, [B, Ce, $, we, Me, ne, z, te, ie, x, O, r]), Tt = wn(function(fe) {
|
|
57056
57057
|
fe.stopPropagation();
|
|
57057
57058
|
}, []), Pe = Xr(function() {
|
|
57058
57059
|
return function() {
|
|
57059
|
-
var fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
57060
|
+
var fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, be = fe.refKey, Re = be === void 0 ? "ref" : be, Ee = fe.onChange, ge = fe.onClick, ze = wv(fe, Xge), P = cE({
|
|
57060
57061
|
accept: R,
|
|
57061
57062
|
multiple: a,
|
|
57062
57063
|
type: "file",
|
|
@@ -57542,16 +57543,16 @@ const SI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
|
|
|
57542
57543
|
const o = e - 112, i = Math.ceil(o / 20);
|
|
57543
57544
|
return Wj(i, -t + 1, t - 1);
|
|
57544
57545
|
}, Tve = (e, t, n) => (e || !n) && !t ? "sendFile" : n && !e ? "attachmentsDisabled" : "sendOrDiscard", Ove = it((e) => {
|
|
57545
|
-
var
|
|
57546
|
+
var ne, z, te, oe;
|
|
57546
57547
|
const t = Yn(), n = ot(), {
|
|
57547
57548
|
channelId: r,
|
|
57548
57549
|
isModerator: o,
|
|
57549
57550
|
externalId: i
|
|
57550
|
-
} = e, [s, a] = Qe(""), [c, l] = Qe(!1), [u, p] = Qe(!1), [d, m] = Qe(!1), [g, v] = Qe(null), [y, E] = Qe(12), { openFileDialog: T, acceptedFile: b, resetAcceptedFile: S } = TE(f9), [x, O] = Qe(!1), { enqueueSnackbar: A } = Lf(), k = Rn(), N = !s.trim().length, R = b || g, { ui: _ } = n, F = _.isMobile ? gve() : mve(),
|
|
57551
|
+
} = e, [s, a] = Qe(""), [c, l] = Qe(!1), [u, p] = Qe(!1), [d, m] = Qe(!1), [g, v] = Qe(null), [y, E] = Qe(12), { openFileDialog: T, acceptedFile: b, resetAcceptedFile: S } = TE(f9), [x, O] = Qe(!1), { enqueueSnackbar: A } = Lf(), k = Rn(), N = !s.trim().length, R = b || g, { ui: _ } = n, F = _.isMobile ? gve() : mve(), K = N && !R, B = (o || !((ne = n.currentChannel) != null && ne.settings.moderatorAttachmentsOnly)) && !R, L = () => {
|
|
57551
57552
|
S(), v(null);
|
|
57552
57553
|
}, H = (ie) => {
|
|
57553
57554
|
a(ie.target.value);
|
|
57554
|
-
},
|
|
57555
|
+
}, re = (ie) => {
|
|
57555
57556
|
var ee;
|
|
57556
57557
|
if (jn.isAxiosError(ie) && ie.toJSON().status === 429) {
|
|
57557
57558
|
(ee = n.currentChannel) == null || ee.setIsSubmitDelayed(!0);
|
|
@@ -57560,7 +57561,7 @@ const SI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
|
|
|
57560
57561
|
Ft(ie, (Ce) => Ce.setTransactionName("send message")), A(ul(ie));
|
|
57561
57562
|
}, ae = async () => {
|
|
57562
57563
|
var we, Me, je, Ve;
|
|
57563
|
-
if (
|
|
57564
|
+
if (K || !n.currentChannel || ((we = n.currentChannel) == null || we.setSubmitAttemptTime(Date.now()), (Me = n.currentChannel) != null && Me.isSubmitDelayed))
|
|
57564
57565
|
return;
|
|
57565
57566
|
const { settings: ie, drafts: ee, type: Ce } = n.currentChannel, $ = Ce === nn.Direct;
|
|
57566
57567
|
try {
|
|
@@ -57580,7 +57581,7 @@ const SI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
|
|
|
57580
57581
|
await eie(n, r, s, $);
|
|
57581
57582
|
(je = n.currentChannel) == null || je.setIsSubmitDelayed(!o && !!(ie != null && ie.slowModeInSecs)), a("");
|
|
57582
57583
|
} catch ($e) {
|
|
57583
|
-
|
|
57584
|
+
re($e);
|
|
57584
57585
|
} finally {
|
|
57585
57586
|
l(!1), (Ve = k == null ? void 0 : k.current) == null || Ve.focus();
|
|
57586
57587
|
}
|
|
@@ -57616,7 +57617,7 @@ const SI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
|
|
|
57616
57617
|
const ie = _.messageListDimensions.height, ee = R ? 9 : 12, Ce = Cve(ie, ee);
|
|
57617
57618
|
E(($) => Wj($ + Ce, 1, ee));
|
|
57618
57619
|
}, [_.messageListDimensions]);
|
|
57619
|
-
const Y = Rn(null),
|
|
57620
|
+
const Y = Rn(null), X = () => {
|
|
57620
57621
|
setTimeout(() => {
|
|
57621
57622
|
var ie;
|
|
57622
57623
|
n.ui.isMobile && ((ie = Y.current) == null || ie.scrollIntoView({ behavior: "smooth" }));
|
|
@@ -57649,7 +57650,7 @@ const SI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
|
|
|
57649
57650
|
disabled: c,
|
|
57650
57651
|
"data-qa": "input-message",
|
|
57651
57652
|
ref: k,
|
|
57652
|
-
onFocus:
|
|
57653
|
+
onFocus: X
|
|
57653
57654
|
}
|
|
57654
57655
|
),
|
|
57655
57656
|
R && /* @__PURE__ */ h.jsx("div", { className: F.attachedFile, children: /* @__PURE__ */ h.jsx(
|
|
@@ -57730,7 +57731,7 @@ const SI = ({ value: e, size: t, icon: n, width: r = 2, color: o = "#FF0000" })
|
|
|
57730
57731
|
className: F.sendButton,
|
|
57731
57732
|
"data-qa": "send-button",
|
|
57732
57733
|
onClick: ae,
|
|
57733
|
-
disabled: c ||
|
|
57734
|
+
disabled: c || K,
|
|
57734
57735
|
disableRipple: !0,
|
|
57735
57736
|
children: /* @__PURE__ */ h.jsx(Qme, {})
|
|
57736
57737
|
}
|
|
@@ -58664,9 +58665,9 @@ const Jve = {
|
|
|
58664
58665
|
size: N
|
|
58665
58666
|
}), F++, _ += H + 1;
|
|
58666
58667
|
}
|
|
58667
|
-
const
|
|
58668
|
-
return _ !== x &&
|
|
58669
|
-
(L, { k: H, v:
|
|
58668
|
+
const K = bc(O.sizeTree);
|
|
58669
|
+
return _ !== x && K.shift(), K.reduce(
|
|
58670
|
+
(L, { k: H, v: re }) => {
|
|
58670
58671
|
let ae = L.ranges;
|
|
58671
58672
|
return L.prevSize !== 0 && (ae = [
|
|
58672
58673
|
...L.ranges,
|
|
@@ -58678,7 +58679,7 @@ const Jve = {
|
|
|
58678
58679
|
]), {
|
|
58679
58680
|
ranges: ae,
|
|
58680
58681
|
prevIndex: H + x,
|
|
58681
|
-
prevSize:
|
|
58682
|
+
prevSize: re
|
|
58682
58683
|
};
|
|
58683
58684
|
},
|
|
58684
58685
|
{
|
|
@@ -58724,14 +58725,14 @@ const Jve = {
|
|
|
58724
58725
|
return O;
|
|
58725
58726
|
let N = Cu();
|
|
58726
58727
|
const R = xr(y);
|
|
58727
|
-
let _ = 0, F = 0,
|
|
58728
|
+
let _ = 0, F = 0, K = 0;
|
|
58728
58729
|
for (; _ < -x; ) {
|
|
58729
|
-
|
|
58730
|
-
const L = R[F + 1] -
|
|
58730
|
+
K = R[F];
|
|
58731
|
+
const L = R[F + 1] - K - 1;
|
|
58731
58732
|
F++, _ += L + 1;
|
|
58732
58733
|
}
|
|
58733
|
-
if (N = bc(O.sizeTree).reduce((L, { k: H, v:
|
|
58734
|
-
const L = Tp(O.sizeTree,
|
|
58734
|
+
if (N = bc(O.sizeTree).reduce((L, { k: H, v: re }) => bo(L, Math.max(0, H + x), re), N), _ !== -x) {
|
|
58735
|
+
const L = Tp(O.sizeTree, K);
|
|
58735
58736
|
N = bo(N, 0, L);
|
|
58736
58737
|
const H = Ai(O.sizeTree, -x + 1)[1];
|
|
58737
58738
|
N = bo(N, 1, H);
|
|
@@ -58810,16 +58811,16 @@ const Oh = en(
|
|
|
58810
58811
|
([
|
|
58811
58812
|
[S, x, O, A, k, N, R, _],
|
|
58812
58813
|
F,
|
|
58813
|
-
|
|
58814
|
+
K,
|
|
58814
58815
|
B
|
|
58815
58816
|
]) => {
|
|
58816
|
-
const L = P9(S), { align: H, behavior:
|
|
58817
|
+
const L = P9(S), { align: H, behavior: re, offset: ae } = L, Z = A - 1, V = R9(L, x, Z);
|
|
58817
58818
|
let q = Op(V, x.offsetTree, F) + N;
|
|
58818
|
-
H === "end" ? (q +=
|
|
58819
|
+
H === "end" ? (q += K + Ai(x.sizeTree, V)[1] - O + B, V === Z && (q += R)) : H === "center" ? q += (K + Ai(x.sizeTree, V)[1] - O + B) / 2 : q -= k, ae && (q += ae);
|
|
58819
58820
|
const D = (W) => {
|
|
58820
58821
|
b(), W ? (_("retrying to scroll to", { location: S }, Mo.DEBUG), yt(m, S)) : (yt(g, !0), _("list did not change, scroll successful", {}, Mo.DEBUG));
|
|
58821
58822
|
};
|
|
58822
|
-
if (b(),
|
|
58823
|
+
if (b(), re === "smooth") {
|
|
58823
58824
|
let W = !1;
|
|
58824
58825
|
T = Qt(n, (U) => {
|
|
58825
58826
|
W = W || U;
|
|
@@ -58830,7 +58831,7 @@ const Oh = en(
|
|
|
58830
58831
|
y = vs(xe(n, Qve(150)), D);
|
|
58831
58832
|
return E = setTimeout(() => {
|
|
58832
58833
|
b();
|
|
58833
|
-
}, 1200), yt(o, !0), _("scrolling from index to", { index: V, top: q, behavior:
|
|
58834
|
+
}, 1200), yt(o, !0), _("scrolling from index to", { index: V, top: q, behavior: re }, Mo.DEBUG), { top: q, behavior: re };
|
|
58834
58835
|
}
|
|
58835
58836
|
)
|
|
58836
58837
|
),
|
|
@@ -58892,12 +58893,12 @@ const Rp = "up", Wd = "down", $ve = "none", eye = {
|
|
|
58892
58893
|
scrollHeight: S
|
|
58893
58894
|
};
|
|
58894
58895
|
if (N) {
|
|
58895
|
-
let F,
|
|
58896
|
-
return b > T.state.scrollTop ? (F = "SCROLLED_DOWN",
|
|
58896
|
+
let F, K;
|
|
58897
|
+
return b > T.state.scrollTop ? (F = "SCROLLED_DOWN", K = T.state.scrollTop - b) : (F = "SIZE_DECREASED", K = T.state.scrollTop - b || T.scrollTopDelta), {
|
|
58897
58898
|
atBottom: !0,
|
|
58898
58899
|
state: R,
|
|
58899
58900
|
atBottomBecause: F,
|
|
58900
|
-
scrollTopDelta:
|
|
58901
|
+
scrollTopDelta: K
|
|
58901
58902
|
};
|
|
58902
58903
|
}
|
|
58903
58904
|
let _;
|
|
@@ -59356,56 +59357,56 @@ const Pl = en(
|
|
|
59356
59357
|
R,
|
|
59357
59358
|
_,
|
|
59358
59359
|
F,
|
|
59359
|
-
|
|
59360
|
+
K,
|
|
59360
59361
|
B,
|
|
59361
59362
|
L
|
|
59362
59363
|
]) => {
|
|
59363
|
-
const H = N, { sizeTree:
|
|
59364
|
+
const H = N, { sizeTree: re, offsetTree: ae } = H, Z = xr(y);
|
|
59364
59365
|
if (k === 0)
|
|
59365
59366
|
return { ...b1, totalCount: k };
|
|
59366
59367
|
if (O === 0 && A === 0)
|
|
59367
|
-
return Z === 0 ? { ...b1, totalCount: k } : k9(Z, R, N,
|
|
59368
|
-
if (un(
|
|
59368
|
+
return Z === 0 ? { ...b1, totalCount: k } : k9(Z, R, N, K, B, L || []);
|
|
59369
|
+
if (un(re))
|
|
59369
59370
|
return Z > 0 ? null : cg(
|
|
59370
59371
|
iye(cC(R, k), H, L),
|
|
59371
59372
|
[],
|
|
59372
59373
|
k,
|
|
59373
59374
|
B,
|
|
59374
59375
|
H,
|
|
59375
|
-
|
|
59376
|
+
K
|
|
59376
59377
|
);
|
|
59377
59378
|
const V = [];
|
|
59378
59379
|
if (F.length > 0) {
|
|
59379
|
-
const Y = F[0],
|
|
59380
|
-
let
|
|
59381
|
-
for (const z of Ob(
|
|
59382
|
-
const te = z.value, oe = Math.max(z.start, Y), ie = Math.min(z.end,
|
|
59380
|
+
const Y = F[0], X = F[F.length - 1];
|
|
59381
|
+
let ne = 0;
|
|
59382
|
+
for (const z of Ob(re, Y, X)) {
|
|
59383
|
+
const te = z.value, oe = Math.max(z.start, Y), ie = Math.min(z.end, X);
|
|
59383
59384
|
for (let ee = oe; ee <= ie; ee++)
|
|
59384
|
-
V.push({ index: ee, size: te, offset:
|
|
59385
|
+
V.push({ index: ee, size: te, offset: ne, data: L && L[ee] }), ne += te;
|
|
59385
59386
|
}
|
|
59386
59387
|
}
|
|
59387
59388
|
if (!_)
|
|
59388
|
-
return cg([], V, k, B, H,
|
|
59389
|
+
return cg([], V, k, B, H, K);
|
|
59389
59390
|
const q = F.length > 0 ? F[F.length - 1] + 1 : 0, D = qve(ae, O, A, q);
|
|
59390
59391
|
if (D.length === 0)
|
|
59391
59392
|
return null;
|
|
59392
59393
|
const W = k - 1, U = Tb([], (Y) => {
|
|
59393
|
-
for (const
|
|
59394
|
-
const
|
|
59395
|
-
let z =
|
|
59396
|
-
const oe =
|
|
59397
|
-
if (
|
|
59398
|
-
te += Math.floor((O -
|
|
59399
|
-
const ee = te -
|
|
59394
|
+
for (const X of D) {
|
|
59395
|
+
const ne = X.value;
|
|
59396
|
+
let z = ne.offset, te = X.start;
|
|
59397
|
+
const oe = ne.size;
|
|
59398
|
+
if (ne.offset < O) {
|
|
59399
|
+
te += Math.floor((O - ne.offset + B) / (oe + B));
|
|
59400
|
+
const ee = te - X.start;
|
|
59400
59401
|
z += ee * oe + ee * B;
|
|
59401
59402
|
}
|
|
59402
59403
|
te < q && (z += (q - te) * oe, te = q);
|
|
59403
|
-
const ie = Math.min(
|
|
59404
|
+
const ie = Math.min(X.end, W);
|
|
59404
59405
|
for (let ee = te; ee <= ie && !(z >= A); ee++)
|
|
59405
59406
|
Y.push({ index: ee, size: oe, offset: z, data: L && L[ee] }), z += oe + B;
|
|
59406
59407
|
}
|
|
59407
59408
|
});
|
|
59408
|
-
return cg(U, V, k, B, H,
|
|
59409
|
+
return cg(U, V, k, B, H, K);
|
|
59409
59410
|
}
|
|
59410
59411
|
),
|
|
59411
59412
|
//@ts-expect-error filter needs to be fixed
|
|
@@ -59733,11 +59734,11 @@ const cye = D9(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.te
|
|
|
59733
59734
|
wt(e, o, t, i, s, a, r),
|
|
59734
59735
|
wt(n),
|
|
59735
59736
|
Ue(([[p, d, m, g, v, y, E, T], b]) => {
|
|
59736
|
-
const { done: S, behavior: x, align: O, calculateViewLocation: A = dye, ...k } = p, N = R9(p, d, g - 1), R = Op(N, d.offsetTree, b) + v + y, _ = R + Ai(d.sizeTree, N)[1], F = T + y,
|
|
59737
|
+
const { done: S, behavior: x, align: O, calculateViewLocation: A = dye, ...k } = p, N = R9(p, d, g - 1), R = Op(N, d.offsetTree, b) + v + y, _ = R + Ai(d.sizeTree, N)[1], F = T + y, K = T + m - E, B = A({
|
|
59737
59738
|
itemTop: R,
|
|
59738
59739
|
itemBottom: _,
|
|
59739
59740
|
viewportTop: F,
|
|
59740
|
-
viewportBottom:
|
|
59741
|
+
viewportBottom: K,
|
|
59741
59742
|
locationParams: { behavior: x, align: O, ...k }
|
|
59742
59743
|
});
|
|
59743
59744
|
return B ? S && vs(
|
|
@@ -59998,7 +59999,7 @@ const yye = /* @__PURE__ */ en(() => {
|
|
|
59998
59999
|
fC("deviation", (L) => {
|
|
59999
60000
|
T !== L && b(L);
|
|
60000
60001
|
});
|
|
60001
|
-
const S = lt("EmptyPlaceholder"), x = lt("ScrollSeekPlaceholder") || wye, O = lt("ListComponent"), A = lt("ItemComponent"), k = lt("GroupComponent"), N = lt("computeItemKey"), R = lt("isSeeking"), _ = lt("groupIndices").length > 0, F = lt("alignToBottom"),
|
|
60002
|
+
const S = lt("EmptyPlaceholder"), x = lt("ScrollSeekPlaceholder") || wye, O = lt("ListComponent"), A = lt("ItemComponent"), k = lt("GroupComponent"), N = lt("computeItemKey"), R = lt("isSeeking"), _ = lt("groupIndices").length > 0, F = lt("alignToBottom"), K = lt("initialItemFinalLocationReached"), B = t ? {} : {
|
|
60002
60003
|
boxSizing: "border-box",
|
|
60003
60004
|
...y ? {
|
|
60004
60005
|
whiteSpace: "nowrap",
|
|
@@ -60012,7 +60013,7 @@ const yye = /* @__PURE__ */ en(() => {
|
|
|
60012
60013
|
paddingTop: n.offsetTop,
|
|
60013
60014
|
paddingBottom: n.offsetBottom
|
|
60014
60015
|
},
|
|
60015
|
-
...
|
|
60016
|
+
...K ? {} : { visibility: "hidden" }
|
|
60016
60017
|
};
|
|
60017
60018
|
return !t && n.totalCount === 0 && S ? /* @__PURE__ */ h.jsx(S, { ...Vr(S, u) }) : /* @__PURE__ */ h.jsx(
|
|
60018
60019
|
O,
|
|
@@ -60022,12 +60023,12 @@ const yye = /* @__PURE__ */ en(() => {
|
|
|
60022
60023
|
style: B,
|
|
60023
60024
|
"data-testid": t ? "virtuoso-top-item-list" : "virtuoso-item-list",
|
|
60024
60025
|
children: (t ? n.topItems : n.items).map((L) => {
|
|
60025
|
-
const H = L.originalIndex,
|
|
60026
|
+
const H = L.originalIndex, re = N(H + n.firstItemIndex, L.data, u);
|
|
60026
60027
|
return R ? /* @__PURE__ */ Ls(
|
|
60027
60028
|
x,
|
|
60028
60029
|
{
|
|
60029
60030
|
...Vr(x, u),
|
|
60030
|
-
key:
|
|
60031
|
+
key: re,
|
|
60031
60032
|
index: L.index,
|
|
60032
60033
|
height: L.size,
|
|
60033
60034
|
type: L.type || "item",
|
|
@@ -60037,7 +60038,7 @@ const yye = /* @__PURE__ */ en(() => {
|
|
|
60037
60038
|
k,
|
|
60038
60039
|
{
|
|
60039
60040
|
...Vr(k, u),
|
|
60040
|
-
key:
|
|
60041
|
+
key: re,
|
|
60041
60042
|
"data-index": H,
|
|
60042
60043
|
"data-known-size": L.size,
|
|
60043
60044
|
"data-item-index": L.index,
|
|
@@ -60049,7 +60050,7 @@ const yye = /* @__PURE__ */ en(() => {
|
|
|
60049
60050
|
{
|
|
60050
60051
|
...Vr(A, u),
|
|
60051
60052
|
...Oye(A, L.data),
|
|
60052
|
-
key:
|
|
60053
|
+
key: re,
|
|
60053
60054
|
"data-index": H,
|
|
60054
60055
|
"data-known-size": L.size,
|
|
60055
60056
|
"data-item-index": L.index,
|
|
@@ -60293,7 +60294,7 @@ const Vye = /* @__PURE__ */ en(
|
|
|
60293
60294
|
{ windowViewportRect: y, useWindowScroll: E, customScrollParent: T, windowScrollContainerState: b, windowScrollTo: S },
|
|
60294
60295
|
x
|
|
60295
60296
|
]) => {
|
|
60296
|
-
const O = ke(0), A = ke(0), k = ke(_I), N = ke({ height: 0, width: 0 }), R = ke({ height: 0, width: 0 }), _ = Nt(), F = Nt(),
|
|
60297
|
+
const O = ke(0), A = ke(0), k = ke(_I), N = ke({ height: 0, width: 0 }), R = ke({ height: 0, width: 0 }), _ = Nt(), F = Nt(), K = ke(0), B = ke(null), L = ke({ row: 0, column: 0 }), H = Nt(), re = Nt(), ae = ke(!1), Z = ke(0), V = ke(!0), q = ke(!1), D = ke(!1);
|
|
60297
60298
|
Qt(
|
|
60298
60299
|
xe(
|
|
60299
60300
|
v,
|
|
@@ -60317,7 +60318,7 @@ const Vye = /* @__PURE__ */ en(
|
|
|
60317
60318
|
}
|
|
60318
60319
|
), qe(
|
|
60319
60320
|
xe(
|
|
60320
|
-
|
|
60321
|
+
re,
|
|
60321
60322
|
nt((z) => z != null && z.scrollTop > 0),
|
|
60322
60323
|
Xi(0)
|
|
60323
60324
|
),
|
|
@@ -60325,7 +60326,7 @@ const Vye = /* @__PURE__ */ en(
|
|
|
60325
60326
|
), Qt(
|
|
60326
60327
|
xe(
|
|
60327
60328
|
v,
|
|
60328
|
-
wt(
|
|
60329
|
+
wt(re),
|
|
60329
60330
|
nt(([, z]) => z != null)
|
|
60330
60331
|
),
|
|
60331
60332
|
([, z]) => {
|
|
@@ -60391,9 +60392,9 @@ const Vye = /* @__PURE__ */ en(
|
|
|
60391
60392
|
return Fye(BI(C, M, $));
|
|
60392
60393
|
}
|
|
60393
60394
|
const Pe = G9(Tt, Xe, $e);
|
|
60394
|
-
let fe,
|
|
60395
|
-
Me ? te === 0 && oe === 0 && we > 0 ? (fe = 0,
|
|
60396
|
-
const Re = BI(fe,
|
|
60395
|
+
let fe, be;
|
|
60396
|
+
Me ? te === 0 && oe === 0 && we > 0 ? (fe = 0, be = we - 1) : (fe = Pe * Cv((te + Ve) / (Ke + Ve)), be = Pe * FI((oe + Ve) / (Ke + Ve)) - 1, be = S1(z - 1, Gd(be, Pe - 1)), fe = S1(be, Gd(0, fe))) : (fe = 0, be = -1);
|
|
60397
|
+
const Re = BI(fe, be, $), { top: Ee, bottom: ge } = VI(Ce, ie, ee, Re), ze = FI(z / Pe), w = ze * Ke + (ze - 1) * Ve - ge;
|
|
60397
60398
|
return { items: Re, offsetTop: Ee, offsetBottom: w, top: Ee, bottom: ge, itemHeight: Ke, itemWidth: Xe };
|
|
60398
60399
|
}
|
|
60399
60400
|
)
|
|
@@ -60444,7 +60445,7 @@ const Vye = /* @__PURE__ */ en(
|
|
|
60444
60445
|
Xi(0),
|
|
60445
60446
|
Sn()
|
|
60446
60447
|
)
|
|
60447
|
-
),
|
|
60448
|
+
), X = ko(
|
|
60448
60449
|
xe(
|
|
60449
60450
|
tt(k),
|
|
60450
60451
|
wt(ae),
|
|
@@ -60457,7 +60458,7 @@ const Vye = /* @__PURE__ */ en(
|
|
|
60457
60458
|
wa(0)
|
|
60458
60459
|
)
|
|
60459
60460
|
);
|
|
60460
|
-
qe(
|
|
60461
|
+
qe(X, m.scrollSeekRangeChanged), qe(
|
|
60461
60462
|
xe(
|
|
60462
60463
|
_,
|
|
60463
60464
|
wt(N, R, O, L),
|
|
@@ -60471,7 +60472,7 @@ const Vye = /* @__PURE__ */ en(
|
|
|
60471
60472
|
),
|
|
60472
60473
|
a
|
|
60473
60474
|
);
|
|
60474
|
-
const
|
|
60475
|
+
const ne = Ur(
|
|
60475
60476
|
xe(
|
|
60476
60477
|
k,
|
|
60477
60478
|
Ue((z) => z.offsetBottom + z.bottom)
|
|
@@ -60503,23 +60504,23 @@ const Vye = /* @__PURE__ */ en(
|
|
|
60503
60504
|
useWindowScroll: E,
|
|
60504
60505
|
customScrollParent: T,
|
|
60505
60506
|
windowScrollContainerState: b,
|
|
60506
|
-
deviation:
|
|
60507
|
+
deviation: K,
|
|
60507
60508
|
scrollContainerState: l,
|
|
60508
60509
|
footerHeight: u,
|
|
60509
60510
|
headerHeight: p,
|
|
60510
60511
|
initialItemCount: A,
|
|
60511
60512
|
gap: L,
|
|
60512
|
-
restoreStateFrom:
|
|
60513
|
+
restoreStateFrom: re,
|
|
60513
60514
|
...m,
|
|
60514
60515
|
initialTopMostItemIndex: Z,
|
|
60515
60516
|
horizontalDirection: D,
|
|
60516
60517
|
// output
|
|
60517
60518
|
gridState: k,
|
|
60518
|
-
totalListHeight:
|
|
60519
|
+
totalListHeight: ne,
|
|
60519
60520
|
...d,
|
|
60520
60521
|
startReached: Y,
|
|
60521
60522
|
endReached: U,
|
|
60522
|
-
rangeChanged:
|
|
60523
|
+
rangeChanged: X,
|
|
60523
60524
|
stateChanged: H,
|
|
60524
60525
|
propsReady: g,
|
|
60525
60526
|
stateRestoreInProgress: ae,
|
|
@@ -61381,13 +61382,13 @@ function vbe(e) {
|
|
|
61381
61382
|
[Lv, Fv]
|
|
61382
61383
|
// <>
|
|
61383
61384
|
];
|
|
61384
|
-
for (let
|
|
61385
|
-
const [B, L] = F[
|
|
61385
|
+
for (let K = 0; K < F.length; K++) {
|
|
61386
|
+
const [B, L] = F[K], H = Ie(O, B);
|
|
61386
61387
|
Ie(A, B, H), Ie(H, L, O);
|
|
61387
|
-
const
|
|
61388
|
-
vt(H, n,
|
|
61388
|
+
const re = Fo(Rm);
|
|
61389
|
+
vt(H, n, re);
|
|
61389
61390
|
const ae = Fo();
|
|
61390
|
-
vt(H, r), vt(
|
|
61391
|
+
vt(H, r), vt(re, n, re), vt(re, r, ae), vt(ae, n, re), vt(ae, r, ae), Ie(re, L, O), Ie(ae, L, O);
|
|
61391
61392
|
}
|
|
61392
61393
|
return Ie(i, Pp, b), Ie(i, pC, gbe), {
|
|
61393
61394
|
start: i,
|
|
@@ -61961,7 +61962,7 @@ const kbe = (e) => {
|
|
|
61961
61962
|
return oe.length === 1 ? te : oe.flatMap(
|
|
61962
61963
|
(ee, Ce) => [ee, /* @__PURE__ */ h.jsx("span", { className: q.removedLink, children: u.formatMessage({ id: "settings.linkRemoved" }) }, Ce)]
|
|
61963
61964
|
).slice(0, -1);
|
|
61964
|
-
}, F = wn(() => N == null ? void 0 : N.getPinnedMessageIdByMessageId(t.id), [t.id]),
|
|
61965
|
+
}, F = wn(() => N == null ? void 0 : N.getPinnedMessageIdByMessageId(t.id), [t.id]), K = (te) => {
|
|
61965
61966
|
if (!c.isMobile || !te.target.closest("#chat-message-container"))
|
|
61966
61967
|
return;
|
|
61967
61968
|
const ie = te.currentTarget.querySelector("#more-container > button");
|
|
@@ -61991,7 +61992,7 @@ const kbe = (e) => {
|
|
|
61991
61992
|
y(void 0), b.current = null;
|
|
61992
61993
|
}
|
|
61993
61994
|
}
|
|
61994
|
-
}, H = t.randomId ? N == null ? void 0 : N.drafts.getDraft(t.id) : null,
|
|
61995
|
+
}, H = t.randomId ? N == null ? void 0 : N.drafts.getDraft(t.id) : null, re = (H == null ? void 0 : H.attachments) ?? t.attachments, ae = re.length ? re[0] : null, Z = !!H && H.status === pr.Error || E, V = {
|
|
61995
61996
|
user: o,
|
|
61996
61997
|
short: n,
|
|
61997
61998
|
open: p,
|
|
@@ -62003,15 +62004,15 @@ const kbe = (e) => {
|
|
|
62003
62004
|
draft: H,
|
|
62004
62005
|
drafts: N.drafts
|
|
62005
62006
|
});
|
|
62006
|
-
}, U = (N == null ? void 0 : N.type) === nn.Public || (N == null ? void 0 : N.type) === nn.Private, Y = !A && U && l.displayDirect && (s.isModerator || !N.settings.moderatorStartsDirectsOnly), { snackbarError:
|
|
62007
|
+
}, U = (N == null ? void 0 : N.type) === nn.Public || (N == null ? void 0 : N.type) === nn.Private, Y = !A && U && l.displayDirect && (s.isModerator || !N.settings.moderatorStartsDirectsOnly), { snackbarError: X } = L2();
|
|
62007
62008
|
if (!o)
|
|
62008
62009
|
return null;
|
|
62009
|
-
const
|
|
62010
|
+
const ne = async () => {
|
|
62010
62011
|
if (Y)
|
|
62011
62012
|
try {
|
|
62012
62013
|
await e_(i, o);
|
|
62013
62014
|
} catch {
|
|
62014
|
-
|
|
62015
|
+
X(u.formatMessage({ id: "directError" }));
|
|
62015
62016
|
}
|
|
62016
62017
|
};
|
|
62017
62018
|
return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
|
|
@@ -62027,13 +62028,13 @@ const kbe = (e) => {
|
|
|
62027
62028
|
paddingRight: "16px",
|
|
62028
62029
|
wrap: "nowrap",
|
|
62029
62030
|
children: [
|
|
62030
|
-
/* @__PURE__ */ h.jsx(_be, { user: o, onClick:
|
|
62031
|
+
/* @__PURE__ */ h.jsx(_be, { user: o, onClick: ne }),
|
|
62031
62032
|
/* @__PURE__ */ h.jsx(
|
|
62032
62033
|
Bbe,
|
|
62033
62034
|
{
|
|
62034
62035
|
own: A,
|
|
62035
62036
|
user: o,
|
|
62036
|
-
onClick:
|
|
62037
|
+
onClick: ne,
|
|
62037
62038
|
directMessageConditions: Y
|
|
62038
62039
|
}
|
|
62039
62040
|
)
|
|
@@ -62053,7 +62054,7 @@ const kbe = (e) => {
|
|
|
62053
62054
|
onMouseEnter: () => d(!0),
|
|
62054
62055
|
onMouseLeave: () => d(!1),
|
|
62055
62056
|
className: _a(q.messageBlock, { [q.messageBlockOwn]: A }),
|
|
62056
|
-
onClick:
|
|
62057
|
+
onClick: K,
|
|
62057
62058
|
children: [
|
|
62058
62059
|
/* @__PURE__ */ h.jsxs(
|
|
62059
62060
|
Ne,
|
|
@@ -63302,11 +63303,11 @@ function z0e(e) {
|
|
|
63302
63303
|
return delete v[D], W;
|
|
63303
63304
|
};
|
|
63304
63305
|
}, E = function(D, W, U) {
|
|
63305
|
-
var Y = yn(D.formState.values, W),
|
|
63306
|
-
D.formState.values = Bo(D.formState.values, W,
|
|
63306
|
+
var Y = yn(D.formState.values, W), X = U(Y);
|
|
63307
|
+
D.formState.values = Bo(D.formState.values, W, X) || {};
|
|
63307
63308
|
}, T = function(D, W, U) {
|
|
63308
63309
|
if (D.fields[W]) {
|
|
63309
|
-
var Y,
|
|
63310
|
+
var Y, X;
|
|
63310
63311
|
D.fields = Wn({}, D.fields, (Y = {}, Y[U] = Wn({}, D.fields[W], {
|
|
63311
63312
|
name: U,
|
|
63312
63313
|
// rebind event handlers
|
|
@@ -63320,9 +63321,9 @@ function z0e(e) {
|
|
|
63320
63321
|
return V.focus(U);
|
|
63321
63322
|
},
|
|
63322
63323
|
lastFieldState: void 0
|
|
63323
|
-
}), Y)), delete D.fields[W], D.fieldSubscribers = Wn({}, D.fieldSubscribers, (
|
|
63324
|
-
var
|
|
63325
|
-
D.formState.values = Bo(D.formState.values, W, void 0) || {}, D.formState.values = Bo(D.formState.values, U,
|
|
63324
|
+
}), Y)), delete D.fields[W], D.fieldSubscribers = Wn({}, D.fieldSubscribers, (X = {}, X[U] = D.fieldSubscribers[W], X)), delete D.fieldSubscribers[W];
|
|
63325
|
+
var ne = yn(D.formState.values, W);
|
|
63326
|
+
D.formState.values = Bo(D.formState.values, W, void 0) || {}, D.formState.values = Bo(D.formState.values, U, ne), delete D.lastFormState;
|
|
63326
63327
|
}
|
|
63327
63328
|
}, b = function(D) {
|
|
63328
63329
|
return function() {
|
|
@@ -63332,9 +63333,9 @@ function z0e(e) {
|
|
|
63332
63333
|
fields: l.fields,
|
|
63333
63334
|
fieldSubscribers: l.fieldSubscribers,
|
|
63334
63335
|
lastFormState: l.lastFormState
|
|
63335
|
-
}, U = arguments.length, Y = new Array(U),
|
|
63336
|
-
Y[
|
|
63337
|
-
var
|
|
63336
|
+
}, U = arguments.length, Y = new Array(U), X = 0; X < U; X++)
|
|
63337
|
+
Y[X] = arguments[X];
|
|
63338
|
+
var ne = i[D](Y, W, {
|
|
63338
63339
|
changeValue: E,
|
|
63339
63340
|
getIn: yn,
|
|
63340
63341
|
renameField: T,
|
|
@@ -63344,7 +63345,7 @@ function z0e(e) {
|
|
|
63344
63345
|
});
|
|
63345
63346
|
return l.formState = W.formState, l.fields = W.fields, l.fieldSubscribers = W.fieldSubscribers, l.lastFormState = W.lastFormState, k(void 0, function() {
|
|
63346
63347
|
N(), H();
|
|
63347
|
-
}),
|
|
63348
|
+
}), ne;
|
|
63348
63349
|
}
|
|
63349
63350
|
};
|
|
63350
63351
|
}, S = i ? Object.keys(i).reduce(function(q, D) {
|
|
@@ -63366,17 +63367,17 @@ function z0e(e) {
|
|
|
63366
63367
|
}, A = function(D, W) {
|
|
63367
63368
|
var U = [], Y = O(D);
|
|
63368
63369
|
if (Y.length) {
|
|
63369
|
-
var
|
|
63370
|
-
Y.forEach(function(
|
|
63371
|
-
var z =
|
|
63370
|
+
var X;
|
|
63371
|
+
Y.forEach(function(ne) {
|
|
63372
|
+
var z = ne(yn(l.formState.values, D.name), l.formState.values, ne.length === 0 || ne.length === 3 ? $I(l.formState, l.fields[D.name]) : void 0);
|
|
63372
63373
|
if (z && O1(z)) {
|
|
63373
63374
|
D.validating = !0;
|
|
63374
63375
|
var te = z.then(function(oe) {
|
|
63375
63376
|
l.fields[D.name] && (l.fields[D.name].validating = !1, W(oe));
|
|
63376
63377
|
});
|
|
63377
63378
|
U.push(te);
|
|
63378
|
-
} else
|
|
63379
|
-
}), W(
|
|
63379
|
+
} else X || (X = z);
|
|
63380
|
+
}), W(X);
|
|
63380
63381
|
}
|
|
63381
63382
|
return U;
|
|
63382
63383
|
}, k = function(D, W) {
|
|
@@ -63384,44 +63385,44 @@ function z0e(e) {
|
|
|
63384
63385
|
d = !0, W();
|
|
63385
63386
|
return;
|
|
63386
63387
|
}
|
|
63387
|
-
var U = l.fields, Y = l.formState,
|
|
63388
|
-
if (!a && !
|
|
63389
|
-
return O(
|
|
63388
|
+
var U = l.fields, Y = l.formState, X = Wn({}, U), ne = Object.keys(X);
|
|
63389
|
+
if (!a && !ne.some(function(Ke) {
|
|
63390
|
+
return O(X[Ke]).length;
|
|
63390
63391
|
})) {
|
|
63391
63392
|
W();
|
|
63392
63393
|
return;
|
|
63393
63394
|
}
|
|
63394
63395
|
var z = !1;
|
|
63395
63396
|
if (D) {
|
|
63396
|
-
var te =
|
|
63397
|
+
var te = X[D];
|
|
63397
63398
|
if (te) {
|
|
63398
63399
|
var oe = te.validateFields;
|
|
63399
|
-
oe && (z = !0,
|
|
63400
|
+
oe && (z = !0, ne = oe.length ? oe.concat(D) : [D]);
|
|
63400
63401
|
}
|
|
63401
63402
|
}
|
|
63402
63403
|
var ie = {}, ee = {}, Ce = {}, $ = [].concat(x(function(Ke, Xe) {
|
|
63403
63404
|
Xe ? ee = Ke || {} : ie = Ke || {};
|
|
63404
|
-
}),
|
|
63405
|
+
}), ne.reduce(function(Ke, Xe) {
|
|
63405
63406
|
return Ke.concat(A(U[Xe], function(Tt) {
|
|
63406
63407
|
Ce[Xe] = Tt;
|
|
63407
63408
|
}));
|
|
63408
63409
|
}, [])), we = $.length > 0, Me = ++g, je = Promise.all($).then(y(Me));
|
|
63409
63410
|
we && (v[Me] = je);
|
|
63410
63411
|
var Ve = function(Xe) {
|
|
63411
|
-
var Tt = Wn({}, z ? Y.errors : {}, ie, Xe ? ee : Y.asyncErrors), Pe = function(
|
|
63412
|
-
|
|
63412
|
+
var Tt = Wn({}, z ? Y.errors : {}, ie, Xe ? ee : Y.asyncErrors), Pe = function(be) {
|
|
63413
|
+
ne.forEach(function(Re) {
|
|
63413
63414
|
if (U[Re]) {
|
|
63414
|
-
var Ee = yn(ie, Re), ge = yn(Tt, Re), ze = O(
|
|
63415
|
-
|
|
63415
|
+
var Ee = yn(ie, Re), ge = yn(Tt, Re), ze = O(X[Re]).length, P = Ce[Re];
|
|
63416
|
+
be(Re, ze && P || a && Ee || (!Ee && !z ? ge : void 0));
|
|
63416
63417
|
}
|
|
63417
63418
|
});
|
|
63418
63419
|
};
|
|
63419
|
-
Pe(function(fe,
|
|
63420
|
-
Tt = Bo(Tt, fe,
|
|
63421
|
-
}), Pe(function(fe,
|
|
63422
|
-
if (
|
|
63420
|
+
Pe(function(fe, be) {
|
|
63421
|
+
Tt = Bo(Tt, fe, be) || {};
|
|
63422
|
+
}), Pe(function(fe, be) {
|
|
63423
|
+
if (be && be[Tu]) {
|
|
63423
63424
|
var Re = yn(Tt, fe), Ee = [].concat(Re);
|
|
63424
|
-
Ee[Tu] =
|
|
63425
|
+
Ee[Tu] = be[Tu], Tt = Bo(Tt, fe, Ee);
|
|
63425
63426
|
}
|
|
63426
63427
|
}), Hi(Y.errors, Tt) || (Y.errors = Tt), Xe && (Y.asyncErrors = ee), Y.error = ie[QI];
|
|
63427
63428
|
};
|
|
@@ -63435,13 +63436,13 @@ function z0e(e) {
|
|
|
63435
63436
|
}
|
|
63436
63437
|
}, N = function(D) {
|
|
63437
63438
|
if (!u) {
|
|
63438
|
-
var W = l.fields, U = l.fieldSubscribers, Y = l.formState,
|
|
63439
|
-
var oe =
|
|
63439
|
+
var W = l.fields, U = l.fieldSubscribers, Y = l.formState, X = Wn({}, W), ne = function(te) {
|
|
63440
|
+
var oe = X[te], ie = $I(Y, oe), ee = oe.lastFieldState;
|
|
63440
63441
|
oe.lastFieldState = ie;
|
|
63441
63442
|
var Ce = U[te];
|
|
63442
63443
|
Ce && n3(Ce, ie, ee, U0e, ee === void 0);
|
|
63443
63444
|
};
|
|
63444
|
-
D ?
|
|
63445
|
+
D ? ne(D) : Object.keys(X).forEach(ne);
|
|
63445
63446
|
}
|
|
63446
63447
|
}, R = function() {
|
|
63447
63448
|
Object.keys(l.fields).forEach(function(D) {
|
|
@@ -63450,20 +63451,20 @@ function z0e(e) {
|
|
|
63450
63451
|
}, _ = function() {
|
|
63451
63452
|
return !!(l.formState.error || uu(l.formState.errors));
|
|
63452
63453
|
}, F = function() {
|
|
63453
|
-
var D = l.fields, W = l.formState, U = l.lastFormState, Y = Wn({}, D),
|
|
63454
|
+
var D = l.fields, W = l.formState, U = l.lastFormState, Y = Wn({}, D), X = Object.keys(Y), ne = !1, z = X.reduce(function(we, Me) {
|
|
63454
63455
|
var je = !Y[Me].isEqual(yn(W.values, Me), yn(W.initialValues || {}, Me));
|
|
63455
|
-
return je && (
|
|
63456
|
-
}, {}), te =
|
|
63456
|
+
return je && (ne = !0, we[Me] = !0), we;
|
|
63457
|
+
}, {}), te = X.reduce(function(we, Me) {
|
|
63457
63458
|
var je = W.lastSubmittedValues || {};
|
|
63458
63459
|
return Y[Me].isEqual(yn(W.values, Me), yn(je, Me)) || (we[Me] = !0), we;
|
|
63459
63460
|
}, {});
|
|
63460
|
-
W.pristine = !
|
|
63461
|
+
W.pristine = !ne, W.dirtySinceLastSubmit = !!(W.lastSubmittedValues && Object.values(te).some(function(we) {
|
|
63461
63462
|
return we;
|
|
63462
63463
|
})), W.modifiedSinceLastSubmit = !!(W.lastSubmittedValues && // Object.values would treat values as mixed (facebook/flow#2221)
|
|
63463
63464
|
Object.keys(Y).some(function(we) {
|
|
63464
63465
|
return Y[we].modifiedSinceLastSubmit;
|
|
63465
63466
|
})), W.valid = !W.error && !W.submitError && !uu(W.errors) && !(W.submitErrors && uu(W.submitErrors));
|
|
63466
|
-
var oe = G0e(W), ie =
|
|
63467
|
+
var oe = G0e(W), ie = X.reduce(function(we, Me) {
|
|
63467
63468
|
return we.modified[Me] = Y[Me].modified, we.touched[Me] = Y[Me].touched, we.visited[Me] = Y[Me].visited, we;
|
|
63468
63469
|
}, {
|
|
63469
63470
|
modified: {},
|
|
@@ -63471,7 +63472,7 @@ function z0e(e) {
|
|
|
63471
63472
|
visited: {}
|
|
63472
63473
|
}), ee = ie.modified, Ce = ie.touched, $ = ie.visited;
|
|
63473
63474
|
return oe.dirtyFields = U && Hi(U.dirtyFields, z) ? U.dirtyFields : z, oe.dirtyFieldsSinceLastSubmit = U && Hi(U.dirtyFieldsSinceLastSubmit, te) ? U.dirtyFieldsSinceLastSubmit : te, oe.modified = U && Hi(U.modified, ee) ? U.modified : ee, oe.touched = U && Hi(U.touched, Ce) ? U.touched : Ce, oe.visited = U && Hi(U.visited, $) ? U.visited : $, U && Hi(U, oe) ? U : oe;
|
|
63474
|
-
},
|
|
63475
|
+
}, K = function() {
|
|
63475
63476
|
return t && !0 && t(F(), Object.keys(l.fields).reduce(function(D, W) {
|
|
63476
63477
|
return D[W] = l.fields[W], D;
|
|
63477
63478
|
}, {}));
|
|
@@ -63479,13 +63480,13 @@ function z0e(e) {
|
|
|
63479
63480
|
if (B)
|
|
63480
63481
|
L = !0;
|
|
63481
63482
|
else {
|
|
63482
|
-
if (B = !0,
|
|
63483
|
+
if (B = !0, K(), !u && !(p && m)) {
|
|
63483
63484
|
var D = l.lastFormState, W = F();
|
|
63484
63485
|
W !== D && (l.lastFormState = W, n3(l.subscribers, W, D, e3));
|
|
63485
63486
|
}
|
|
63486
63487
|
B = !1, L && (L = !1, q());
|
|
63487
63488
|
}
|
|
63488
|
-
},
|
|
63489
|
+
}, re = function() {
|
|
63489
63490
|
return Object.keys(l.fields).some(function(D) {
|
|
63490
63491
|
return l.fields[D].beforeSubmit && l.fields[D].beforeSubmit() === !1;
|
|
63491
63492
|
});
|
|
@@ -63520,8 +63521,8 @@ function z0e(e) {
|
|
|
63520
63521
|
E(l, D, function() {
|
|
63521
63522
|
return W;
|
|
63522
63523
|
});
|
|
63523
|
-
var
|
|
63524
|
-
|
|
63524
|
+
var X = U[D];
|
|
63525
|
+
X && (U[D] = Wn({}, X, {
|
|
63525
63526
|
modified: !0,
|
|
63526
63527
|
modifiedSinceLastSubmit: !!Y.lastSubmittedValues
|
|
63527
63528
|
})), c ? (N(), H()) : k(D, function() {
|
|
@@ -63551,14 +63552,14 @@ function z0e(e) {
|
|
|
63551
63552
|
return F();
|
|
63552
63553
|
},
|
|
63553
63554
|
initialize: function(D) {
|
|
63554
|
-
var W = l.fields, U = l.formState, Y = Wn({}, W),
|
|
63555
|
-
r || (U.values =
|
|
63556
|
-
var
|
|
63555
|
+
var W = l.fields, U = l.formState, Y = Wn({}, W), X = typeof D == "function" ? D(U.values) : D;
|
|
63556
|
+
r || (U.values = X);
|
|
63557
|
+
var ne = r ? Object.keys(Y).reduce(function(z, te) {
|
|
63557
63558
|
var oe = Y[te], ie = oe.isEqual(yn(U.values, te), yn(U.initialValues || {}, te));
|
|
63558
63559
|
return ie || (z[te] = yn(U.values, te)), z;
|
|
63559
63560
|
}, {}) : {};
|
|
63560
|
-
U.initialValues =
|
|
63561
|
-
U.values = Bo(U.values, z,
|
|
63561
|
+
U.initialValues = X, U.values = X, Object.keys(ne).forEach(function(z) {
|
|
63562
|
+
U.values = Bo(U.values, z, ne[z]) || {};
|
|
63562
63563
|
}), k(void 0, function() {
|
|
63563
63564
|
N(), H();
|
|
63564
63565
|
});
|
|
@@ -63574,13 +63575,13 @@ function z0e(e) {
|
|
|
63574
63575
|
index: 0,
|
|
63575
63576
|
entries: {}
|
|
63576
63577
|
});
|
|
63577
|
-
var
|
|
63578
|
-
l.fieldSubscribers[D].entries[
|
|
63578
|
+
var X = l.fieldSubscribers[D].index++;
|
|
63579
|
+
l.fieldSubscribers[D].entries[X] = {
|
|
63579
63580
|
subscriber: t3(W),
|
|
63580
63581
|
subscription: U,
|
|
63581
63582
|
notified: !1
|
|
63582
63583
|
};
|
|
63583
|
-
var
|
|
63584
|
+
var ne = l.fields[D] || {
|
|
63584
63585
|
active: !1,
|
|
63585
63586
|
afterSubmit: Y && Y.afterSubmit,
|
|
63586
63587
|
beforeSubmit: Y && Y.beforeSubmit,
|
|
@@ -63597,26 +63598,26 @@ function z0e(e) {
|
|
|
63597
63598
|
validating: !1,
|
|
63598
63599
|
visited: !1
|
|
63599
63600
|
};
|
|
63600
|
-
|
|
63601
|
+
ne.blur = ne.blur || function() {
|
|
63601
63602
|
return V.blur(D);
|
|
63602
|
-
},
|
|
63603
|
+
}, ne.change = ne.change || function(ee) {
|
|
63603
63604
|
return V.change(D, ee);
|
|
63604
|
-
},
|
|
63605
|
+
}, ne.focus = ne.focus || function() {
|
|
63605
63606
|
return V.focus(D);
|
|
63606
|
-
}, l.fields[D] =
|
|
63607
|
+
}, l.fields[D] = ne;
|
|
63607
63608
|
var z = !1, te = Y && Y.silent, oe = function() {
|
|
63608
63609
|
te && l.fields[D] ? N(D) : (H(), N());
|
|
63609
63610
|
};
|
|
63610
63611
|
if (Y) {
|
|
63611
|
-
z = !!(Y.getValidator && Y.getValidator()), Y.getValidator && (l.fields[D].validators[
|
|
63612
|
+
z = !!(Y.getValidator && Y.getValidator()), Y.getValidator && (l.fields[D].validators[X] = Y.getValidator);
|
|
63612
63613
|
var ie = yn(l.formState.values, D) === void 0;
|
|
63613
63614
|
Y.initialValue !== void 0 && (ie || yn(l.formState.values, D) === yn(l.formState.initialValues, D)) && (l.formState.initialValues = Bo(l.formState.initialValues || {}, D, Y.initialValue), l.formState.values = Bo(l.formState.values, D, Y.initialValue), k(void 0, oe)), Y.defaultValue !== void 0 && Y.initialValue === void 0 && yn(l.formState.initialValues, D) === void 0 && ie && (l.formState.values = Bo(l.formState.values, D, Y.defaultValue));
|
|
63614
63615
|
}
|
|
63615
63616
|
return z ? k(void 0, oe) : oe(), function() {
|
|
63616
63617
|
var ee = !1;
|
|
63617
|
-
l.fields[D] && (ee = !!(l.fields[D].validators[
|
|
63618
|
+
l.fields[D] && (ee = !!(l.fields[D].validators[X] && l.fields[D].validators[X]()), delete l.fields[D].validators[X]);
|
|
63618
63619
|
var Ce = !!l.fieldSubscribers[D];
|
|
63619
|
-
Ce && delete l.fieldSubscribers[D].entries[
|
|
63620
|
+
Ce && delete l.fieldSubscribers[D].entries[X];
|
|
63620
63621
|
var $ = Ce && !Object.keys(l.fieldSubscribers[D].entries).length;
|
|
63621
63622
|
$ && (delete l.fieldSubscribers[D], delete l.fields[D], ee && (l.formState.errors = Bo(l.formState.errors, D, void 0) || {}), n && (l.formState.values = Bo(l.formState.values, D, void 0, !0) || {})), te || (ee ? k(void 0, function() {
|
|
63622
63623
|
H(), N();
|
|
@@ -63720,25 +63721,25 @@ function z0e(e) {
|
|
|
63720
63721
|
})).then(V.submit, console.error);
|
|
63721
63722
|
return;
|
|
63722
63723
|
}
|
|
63723
|
-
var U =
|
|
63724
|
+
var U = re();
|
|
63724
63725
|
if (!U) {
|
|
63725
|
-
var Y,
|
|
63726
|
+
var Y, X = !1, ne = function(oe) {
|
|
63726
63727
|
D.submitting = !1;
|
|
63727
63728
|
var ie = D.resetWhileSubmitting;
|
|
63728
|
-
return ie && (D.resetWhileSubmitting = !1), oe && uu(oe) ? (D.submitFailed = !0, D.submitSucceeded = !1, D.submitErrors = oe, D.submitError = oe[QI], R()) : (ie || (D.submitFailed = !1, D.submitSucceeded = !0), ae()), H(), N(),
|
|
63729
|
+
return ie && (D.resetWhileSubmitting = !1), oe && uu(oe) ? (D.submitFailed = !0, D.submitSucceeded = !1, D.submitErrors = oe, D.submitError = oe[QI], R()) : (ie || (D.submitFailed = !1, D.submitSucceeded = !0), ae()), H(), N(), X = !0, Y && Y(oe), oe;
|
|
63729
63730
|
};
|
|
63730
63731
|
D.submitting = !0, D.submitFailed = !1, D.submitSucceeded = !1, D.lastSubmittedValues = Wn({}, D.values), Z();
|
|
63731
|
-
var z = s(D.values, V,
|
|
63732
|
-
if (!
|
|
63732
|
+
var z = s(D.values, V, ne);
|
|
63733
|
+
if (!X) {
|
|
63733
63734
|
if (z && O1(z))
|
|
63734
|
-
return H(), N(), z.then(
|
|
63735
|
-
throw
|
|
63735
|
+
return H(), N(), z.then(ne, function(te) {
|
|
63736
|
+
throw ne(), te;
|
|
63736
63737
|
});
|
|
63737
63738
|
if (s.length >= 3)
|
|
63738
63739
|
return H(), N(), new Promise(function(te) {
|
|
63739
63740
|
Y = te;
|
|
63740
63741
|
});
|
|
63741
|
-
|
|
63742
|
+
ne(z);
|
|
63742
63743
|
}
|
|
63743
63744
|
}
|
|
63744
63745
|
}
|
|
@@ -63748,15 +63749,15 @@ function z0e(e) {
|
|
|
63748
63749
|
throw new Error("No callback given.");
|
|
63749
63750
|
if (!W)
|
|
63750
63751
|
throw new Error("No subscription provided. What values do you want to listen to?");
|
|
63751
|
-
var U = t3(D), Y = l.subscribers,
|
|
63752
|
-
Y.entries[
|
|
63752
|
+
var U = t3(D), Y = l.subscribers, X = Y.index++;
|
|
63753
|
+
Y.entries[X] = {
|
|
63753
63754
|
subscriber: U,
|
|
63754
63755
|
subscription: W,
|
|
63755
63756
|
notified: !1
|
|
63756
63757
|
};
|
|
63757
|
-
var
|
|
63758
|
-
return l_(U, W,
|
|
63759
|
-
delete Y.entries[
|
|
63758
|
+
var ne = F();
|
|
63759
|
+
return l_(U, W, ne, ne, e3, !0), function() {
|
|
63760
|
+
delete Y.entries[X];
|
|
63760
63761
|
};
|
|
63761
63762
|
}
|
|
63762
63763
|
};
|
|
@@ -64042,9 +64043,9 @@ function g_(e, t) {
|
|
|
64042
64043
|
}),
|
|
64043
64044
|
onChange: A1(function(B) {
|
|
64044
64045
|
if (I.env.NODE_ENV !== "production" && B && B.target) {
|
|
64045
|
-
var L = B.target.type, H = ~["checkbox", "radio", "select-multiple"].indexOf(L) && !E && i !== "select",
|
|
64046
|
+
var L = B.target.type, H = ~["checkbox", "radio", "select-multiple"].indexOf(L) && !E && i !== "select", re = L === "select-multiple" ? N.value : b;
|
|
64046
64047
|
H && console.error('You must pass `type="' + (L === "select-multiple" ? "select" : L) + '"` prop to your Field(' + e + `) component.
|
|
64047
|
-
` + ("Without it we don't know how to unpack your `value` prop - " + (Array.isArray(
|
|
64048
|
+
` + ("Without it we don't know how to unpack your `value` prop - " + (Array.isArray(re) ? "[" + re + "]" : '"' + re + '"') + "."));
|
|
64048
64049
|
}
|
|
64049
64050
|
var ae = B && B.target ? r1e(B, N.value, b, t1e) : B;
|
|
64050
64051
|
N.change(g(ae, e));
|
|
@@ -64054,11 +64055,11 @@ function g_(e, t) {
|
|
|
64054
64055
|
})
|
|
64055
64056
|
};
|
|
64056
64057
|
d && (F.multiple = d), E !== void 0 && (F.type = E);
|
|
64057
|
-
var
|
|
64058
|
+
var K = {
|
|
64058
64059
|
input: F,
|
|
64059
64060
|
meta: _
|
|
64060
64061
|
};
|
|
64061
|
-
return
|
|
64062
|
+
return K;
|
|
64062
64063
|
}
|
|
64063
64064
|
var a1e = ["afterSubmit", "allowNull", "beforeSubmit", "children", "component", "data", "defaultValue", "format", "formatOnBlur", "initialValue", "isEqual", "multiple", "name", "parse", "subscription", "type", "validate", "validateFields", "value"], r3 = /* @__PURE__ */ j.forwardRef(function(t, n) {
|
|
64064
64065
|
var r = t.afterSubmit, o = t.allowNull, i = t.beforeSubmit, s = t.children, a = t.component, c = t.data, l = t.defaultValue, u = t.format, p = t.formatOnBlur, d = t.initialValue, m = t.isEqual, g = t.multiple, v = t.name, y = t.parse, E = t.subscription, T = t.type, b = t.validate, S = t.validateFields, x = t.value, O = wC(t, a1e), A = g_(v, {
|
|
@@ -65252,32 +65253,33 @@ const C1e = (e) => {
|
|
|
65252
65253
|
data: e
|
|
65253
65254
|
});
|
|
65254
65255
|
}, Iwe = it(({
|
|
65255
|
-
|
|
65256
|
-
|
|
65257
|
-
|
|
65258
|
-
|
|
65259
|
-
|
|
65260
|
-
|
|
65261
|
-
|
|
65262
|
-
|
|
65263
|
-
|
|
65264
|
-
|
|
65265
|
-
|
|
65266
|
-
|
|
65267
|
-
|
|
65268
|
-
|
|
65269
|
-
|
|
65270
|
-
|
|
65271
|
-
|
|
65272
|
-
|
|
65273
|
-
|
|
65274
|
-
|
|
65256
|
+
isVisible: e,
|
|
65257
|
+
appId: t,
|
|
65258
|
+
apiUrl: n,
|
|
65259
|
+
channelId: r,
|
|
65260
|
+
parentChannelId: o,
|
|
65261
|
+
userToken: i,
|
|
65262
|
+
onEvent: s,
|
|
65263
|
+
debug: a = !1,
|
|
65264
|
+
showCloseButton: c = !0,
|
|
65265
|
+
showHeader: l = !0,
|
|
65266
|
+
showMessageInput: u = !0,
|
|
65267
|
+
showOpenInPopupButton: p = !1,
|
|
65268
|
+
showPolls: d = !0,
|
|
65269
|
+
chatVisualState: m = hp.Hidden,
|
|
65270
|
+
theme: g,
|
|
65271
|
+
lang: v,
|
|
65272
|
+
hostEventBus: y,
|
|
65273
|
+
outerSnackbar: E,
|
|
65274
|
+
directChatStartDateISOString: T,
|
|
65275
|
+
tabId: b,
|
|
65276
|
+
setChannelStateGetter: S
|
|
65275
65277
|
}) => {
|
|
65276
|
-
const [
|
|
65277
|
-
Sk(oo.App,
|
|
65278
|
+
const [x, O] = Qe(!1), A = ot();
|
|
65279
|
+
Sk(oo.App, s || (() => {
|
|
65278
65280
|
}));
|
|
65279
|
-
const
|
|
65280
|
-
|
|
65281
|
+
const k = async () => {
|
|
65282
|
+
O(!1), cK({
|
|
65281
65283
|
dsn: "https://445426b388f045748970982694bb1520@o1158674.ingest.sentry.io/6242013",
|
|
65282
65284
|
release: BD.version,
|
|
65283
65285
|
environment: "unknown",
|
|
@@ -65288,94 +65290,94 @@ const C1e = (e) => {
|
|
|
65288
65290
|
],
|
|
65289
65291
|
integrations: [oK()],
|
|
65290
65292
|
tracesSampleRate: 1
|
|
65291
|
-
}),
|
|
65292
|
-
const
|
|
65293
|
-
if (!
|
|
65294
|
-
const
|
|
65295
|
-
["No app id", !
|
|
65296
|
-
["No API url", !
|
|
65297
|
-
["No user token", !
|
|
65298
|
-
["No channel id", !
|
|
65299
|
-
].filter((
|
|
65293
|
+
}), A.init();
|
|
65294
|
+
const R = Ure(), _ = R.appIdFromAttr || t || void 0 || void 0, F = R.apiUrlFromAttr || n || "https://api.livedigital.chat", K = R.channelIdFromAttr || r || void 0 || void 0, B = i || one();
|
|
65295
|
+
if (!_ || !F || !K || !B) {
|
|
65296
|
+
const re = [
|
|
65297
|
+
["No app id", !_],
|
|
65298
|
+
["No API url", !F],
|
|
65299
|
+
["No user token", !B],
|
|
65300
|
+
["No channel id", !K]
|
|
65301
|
+
].filter((ae) => ae[1]).map((ae) => ae[0]).join(", ");
|
|
65300
65302
|
throw p3({
|
|
65301
|
-
message:
|
|
65303
|
+
message: re,
|
|
65302
65304
|
code: Qg.MissingParams,
|
|
65303
65305
|
severity: "critical"
|
|
65304
|
-
}), new Error(
|
|
65306
|
+
}), new Error(re);
|
|
65305
65307
|
}
|
|
65306
|
-
Qte(
|
|
65307
|
-
const
|
|
65308
|
-
|
|
65308
|
+
Qte(F), A.ui.setChannelId(K), A.ui.setParentChannelId(o || K), A.ui.setIsVisible(e || !1), A.auth.setAccessToken(B), A.auth.setAppId(_), y && A.chat.setHostEventBus(y), T && A.chat.setDirectChatStartDateISOString(T), A.chat.setTabId(b);
|
|
65309
|
+
const L = await rie(A, _);
|
|
65310
|
+
L || p3({
|
|
65309
65311
|
message: "Settings fetch failed",
|
|
65310
65312
|
code: Qg.SettingsFetchFailed,
|
|
65311
65313
|
severity: "error"
|
|
65312
|
-
}),
|
|
65314
|
+
}), O(!0), Oo.emit(oo.App, {
|
|
65313
65315
|
event: Io.ChatLoaded
|
|
65314
65316
|
}), _e.info("Chat is ready", {
|
|
65315
|
-
appId:
|
|
65316
|
-
channelId:
|
|
65317
|
-
settings:
|
|
65318
|
-
chatVisualState:
|
|
65317
|
+
appId: _,
|
|
65318
|
+
channelId: K,
|
|
65319
|
+
settings: L,
|
|
65320
|
+
chatVisualState: m
|
|
65319
65321
|
}), console.log("before reaction messagesCount"), St(() => Ea(
|
|
65320
|
-
() =>
|
|
65322
|
+
() => A.messagesCount,
|
|
65321
65323
|
() => {
|
|
65322
|
-
var
|
|
65323
|
-
console.log("update chat channels"), (
|
|
65324
|
+
var H;
|
|
65325
|
+
console.log("update chat channels"), (H = A.chat.hostEventBus) == null || H.emit(sl.UpdateUnreadMsgCount, { count: 1234567 });
|
|
65324
65326
|
}
|
|
65325
|
-
), []),
|
|
65327
|
+
), []), A.ui.setChatVisualState(m);
|
|
65326
65328
|
};
|
|
65327
65329
|
St(() => Ea(
|
|
65328
|
-
() =>
|
|
65330
|
+
() => A.toggleReset,
|
|
65329
65331
|
() => {
|
|
65330
|
-
|
|
65332
|
+
k();
|
|
65331
65333
|
}
|
|
65332
65334
|
), []), St(() => Ea(
|
|
65333
|
-
() =>
|
|
65334
|
-
(
|
|
65335
|
-
!
|
|
65335
|
+
() => A.auth.isModerator,
|
|
65336
|
+
(R, _) => {
|
|
65337
|
+
!R && _ && k();
|
|
65336
65338
|
}
|
|
65337
65339
|
), []), St(() => {
|
|
65338
|
-
|
|
65339
|
-
chatVisualState:
|
|
65340
|
-
isReady:
|
|
65340
|
+
x && A.ui.isMobile && A.ui.setChatVisualState(m), _e.info("Change chat visual state", {
|
|
65341
|
+
chatVisualState: m,
|
|
65342
|
+
isReady: x
|
|
65341
65343
|
});
|
|
65342
|
-
}, [
|
|
65343
|
-
if (!
|
|
65344
|
+
}, [m, x]), St(() => {
|
|
65345
|
+
if (!S)
|
|
65344
65346
|
return;
|
|
65345
|
-
|
|
65346
|
-
const
|
|
65347
|
+
S(() => {
|
|
65348
|
+
const _ = Array.from(A.chat.channels.values()).find((F) => [A.ui.parentChannelId, A.ui.channelId].includes(F.externalId));
|
|
65347
65349
|
return {
|
|
65348
|
-
settings:
|
|
65349
|
-
isModerator:
|
|
65350
|
+
settings: _ == null ? void 0 : _.settings,
|
|
65351
|
+
isModerator: A.auth.isModerator
|
|
65350
65352
|
};
|
|
65351
65353
|
});
|
|
65352
|
-
}, [
|
|
65354
|
+
}, [S]), St(() => (k(), () => {
|
|
65353
65355
|
_e.info("Chat unmount");
|
|
65354
65356
|
}), [
|
|
65355
|
-
|
|
65356
|
-
e,
|
|
65357
|
+
r,
|
|
65357
65358
|
t,
|
|
65358
|
-
|
|
65359
|
-
|
|
65359
|
+
n,
|
|
65360
|
+
i,
|
|
65361
|
+
a
|
|
65360
65362
|
]), St(() => {
|
|
65361
|
-
|
|
65363
|
+
A.settings.setShowCloseButton(c), A.settings.setShowHeader(l), A.settings.setShowMessageInput(u), A.settings.setShowOpenInPopupButton(p), A.settings.setShowPolls(d);
|
|
65362
65364
|
}, [
|
|
65363
|
-
a,
|
|
65364
65365
|
c,
|
|
65365
65366
|
l,
|
|
65366
65367
|
u,
|
|
65367
|
-
p
|
|
65368
|
+
p,
|
|
65369
|
+
d
|
|
65368
65370
|
]);
|
|
65369
|
-
const
|
|
65371
|
+
const N = v || A.ui.lang;
|
|
65370
65372
|
return /* @__PURE__ */ h.jsx(_ae, { children: /* @__PURE__ */ h.jsx(
|
|
65371
65373
|
wH,
|
|
65372
65374
|
{
|
|
65373
|
-
locale:
|
|
65374
|
-
messages: gK(Dae[
|
|
65375
|
+
locale: N,
|
|
65376
|
+
messages: gK(Dae[N]),
|
|
65375
65377
|
defaultLocale: "en",
|
|
65376
65378
|
children: /* @__PURE__ */ h.jsx(F3, { injectFirst: !0, children: /* @__PURE__ */ h.jsxs(TF, { theme: Pie, children: [
|
|
65377
65379
|
/* @__PURE__ */ h.jsx(x5, {}),
|
|
65378
|
-
|
|
65380
|
+
x ? /* @__PURE__ */ h.jsx(_2.Provider, { value: E, children: /* @__PURE__ */ h.jsx(pwe, { theme: g }) }) : /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
|
|
65379
65381
|
/* @__PURE__ */ h.jsx(Bp, { color: "secondary" }),
|
|
65380
65382
|
/* @__PURE__ */ h.jsx(TD, { intlId: "loadingSettings" })
|
|
65381
65383
|
] })
|