pankosmia-rcl 0.7.3 → 0.7.4
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.
|
@@ -58,14 +58,14 @@ function Qi() {
|
|
|
58
58
|
function e(x) {
|
|
59
59
|
if (x == null) return null;
|
|
60
60
|
if (typeof x == "function")
|
|
61
|
-
return x.$$typeof ===
|
|
61
|
+
return x.$$typeof === w ? null : x.displayName || x.name || null;
|
|
62
62
|
if (typeof x == "string") return x;
|
|
63
63
|
switch (x) {
|
|
64
|
-
case
|
|
64
|
+
case S:
|
|
65
65
|
return "Fragment";
|
|
66
66
|
case M:
|
|
67
67
|
return "Profiler";
|
|
68
|
-
case
|
|
68
|
+
case v:
|
|
69
69
|
return "StrictMode";
|
|
70
70
|
case P:
|
|
71
71
|
return "Suspense";
|
|
@@ -80,11 +80,11 @@ function Qi() {
|
|
|
80
80
|
), x.$$typeof) {
|
|
81
81
|
case m:
|
|
82
82
|
return "Portal";
|
|
83
|
-
case
|
|
83
|
+
case I:
|
|
84
84
|
return x.displayName || "Context";
|
|
85
|
-
case
|
|
85
|
+
case _:
|
|
86
86
|
return (x._context.displayName || "Context") + ".Consumer";
|
|
87
|
-
case
|
|
87
|
+
case C:
|
|
88
88
|
var F = x.render;
|
|
89
89
|
return x = x.displayName, x || (x = F.displayName || F.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
|
|
90
90
|
case k:
|
|
@@ -119,7 +119,7 @@ function Qi() {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
function r(x) {
|
|
122
|
-
if (x ===
|
|
122
|
+
if (x === S) return "<>";
|
|
123
123
|
if (typeof x == "object" && x !== null && x.$$typeof === L)
|
|
124
124
|
return "<...>";
|
|
125
125
|
try {
|
|
@@ -130,14 +130,14 @@ function Qi() {
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
function o() {
|
|
133
|
-
var x =
|
|
133
|
+
var x = c.A;
|
|
134
134
|
return x === null ? null : x.getOwner();
|
|
135
135
|
}
|
|
136
136
|
function s() {
|
|
137
137
|
return Error("react-stack-top-frame");
|
|
138
138
|
}
|
|
139
139
|
function i(x) {
|
|
140
|
-
if (
|
|
140
|
+
if (j.call(x, "key")) {
|
|
141
141
|
var F = Object.getOwnPropertyDescriptor(x, "key").get;
|
|
142
142
|
if (F && F.isReactWarning) return !1;
|
|
143
143
|
}
|
|
@@ -161,15 +161,15 @@ function Qi() {
|
|
|
161
161
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
162
162
|
)), x = this.props.ref, x !== void 0 ? x : null;
|
|
163
163
|
}
|
|
164
|
-
function f(x, F, W, E, H,
|
|
165
|
-
var
|
|
164
|
+
function f(x, F, W, E, H, $) {
|
|
165
|
+
var T = W.ref;
|
|
166
166
|
return x = {
|
|
167
167
|
$$typeof: b,
|
|
168
168
|
type: x,
|
|
169
169
|
key: F,
|
|
170
170
|
props: W,
|
|
171
171
|
_owner: E
|
|
172
|
-
}, (
|
|
172
|
+
}, (T !== void 0 ? T : null) !== null ? Object.defineProperty(x, "ref", {
|
|
173
173
|
enumerable: !1,
|
|
174
174
|
get: d
|
|
175
175
|
}) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
@@ -191,28 +191,28 @@ function Qi() {
|
|
|
191
191
|
configurable: !1,
|
|
192
192
|
enumerable: !1,
|
|
193
193
|
writable: !0,
|
|
194
|
-
value:
|
|
194
|
+
value: $
|
|
195
195
|
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
196
196
|
}
|
|
197
|
-
function p(x, F, W, E, H,
|
|
198
|
-
var
|
|
199
|
-
if (
|
|
197
|
+
function p(x, F, W, E, H, $) {
|
|
198
|
+
var T = F.children;
|
|
199
|
+
if (T !== void 0)
|
|
200
200
|
if (E)
|
|
201
|
-
if (
|
|
202
|
-
for (E = 0; E <
|
|
203
|
-
g(
|
|
204
|
-
Object.freeze && Object.freeze(
|
|
201
|
+
if (R(T)) {
|
|
202
|
+
for (E = 0; E < T.length; E++)
|
|
203
|
+
g(T[E]);
|
|
204
|
+
Object.freeze && Object.freeze(T);
|
|
205
205
|
} else
|
|
206
206
|
console.error(
|
|
207
207
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
208
208
|
);
|
|
209
|
-
else g(
|
|
210
|
-
if (
|
|
211
|
-
|
|
209
|
+
else g(T);
|
|
210
|
+
if (j.call(F, "key")) {
|
|
211
|
+
T = e(x);
|
|
212
212
|
var B = Object.keys(F).filter(function(J) {
|
|
213
213
|
return J !== "key";
|
|
214
214
|
});
|
|
215
|
-
E = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", N[
|
|
215
|
+
E = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", N[T + E] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
216
216
|
`A props object containing a "key" prop is being spread into JSX:
|
|
217
217
|
let props = %s;
|
|
218
218
|
<%s {...props} />
|
|
@@ -220,26 +220,26 @@ React keys must be passed directly to JSX without using spread:
|
|
|
220
220
|
let props = %s;
|
|
221
221
|
<%s key={someKey} {...props} />`,
|
|
222
222
|
E,
|
|
223
|
-
|
|
223
|
+
T,
|
|
224
224
|
B,
|
|
225
|
-
|
|
226
|
-
), N[
|
|
225
|
+
T
|
|
226
|
+
), N[T + E] = !0);
|
|
227
227
|
}
|
|
228
|
-
if (
|
|
228
|
+
if (T = null, W !== void 0 && (n(W), T = "" + W), i(F) && (n(F.key), T = "" + F.key), "key" in F) {
|
|
229
229
|
W = {};
|
|
230
230
|
for (var U in F)
|
|
231
231
|
U !== "key" && (W[U] = F[U]);
|
|
232
232
|
} else W = F;
|
|
233
|
-
return
|
|
233
|
+
return T && a(
|
|
234
234
|
W,
|
|
235
235
|
typeof x == "function" ? x.displayName || x.name || "Unknown" : x
|
|
236
236
|
), f(
|
|
237
237
|
x,
|
|
238
|
-
|
|
238
|
+
T,
|
|
239
239
|
W,
|
|
240
240
|
o(),
|
|
241
241
|
H,
|
|
242
|
-
|
|
242
|
+
$
|
|
243
243
|
);
|
|
244
244
|
}
|
|
245
245
|
function g(x) {
|
|
@@ -248,7 +248,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
248
248
|
function y(x) {
|
|
249
249
|
return typeof x == "object" && x !== null && x.$$typeof === b;
|
|
250
250
|
}
|
|
251
|
-
var u = $n, b = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"),
|
|
251
|
+
var u = $n, b = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), _ = Symbol.for("react.consumer"), I = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), w = Symbol.for("react.client.reference"), c = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, R = Array.isArray, z = console.createTask ? console.createTask : function() {
|
|
252
252
|
return null;
|
|
253
253
|
};
|
|
254
254
|
u = {
|
|
@@ -260,8 +260,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
260
260
|
u,
|
|
261
261
|
s
|
|
262
262
|
)(), ne = z(r(s)), N = {};
|
|
263
|
-
Yt.Fragment =
|
|
264
|
-
var E = 1e4 >
|
|
263
|
+
Yt.Fragment = S, Yt.jsx = function(x, F, W) {
|
|
264
|
+
var E = 1e4 > c.recentlyCreatedOwnerStacks++;
|
|
265
265
|
return p(
|
|
266
266
|
x,
|
|
267
267
|
F,
|
|
@@ -271,7 +271,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
271
271
|
E ? z(r(x)) : ne
|
|
272
272
|
);
|
|
273
273
|
}, Yt.jsxs = function(x, F, W) {
|
|
274
|
-
var E = 1e4 >
|
|
274
|
+
var E = 1e4 > c.recentlyCreatedOwnerStacks++;
|
|
275
275
|
return p(
|
|
276
276
|
x,
|
|
277
277
|
F,
|
|
@@ -287,7 +287,7 @@ var to;
|
|
|
287
287
|
function Zi() {
|
|
288
288
|
return to || (to = 1, process.env.NODE_ENV === "production" ? un.exports = Ji() : un.exports = Qi()), un.exports;
|
|
289
289
|
}
|
|
290
|
-
var
|
|
290
|
+
var l = Zi();
|
|
291
291
|
async function Se(e, t = !1) {
|
|
292
292
|
try {
|
|
293
293
|
const n = await fetch(e);
|
|
@@ -372,7 +372,7 @@ function ea({
|
|
|
372
372
|
}, a = () => {
|
|
373
373
|
ws("/api/net/enable", o.current);
|
|
374
374
|
};
|
|
375
|
-
return /* @__PURE__ */
|
|
375
|
+
return /* @__PURE__ */ l.jsxs(
|
|
376
376
|
us,
|
|
377
377
|
{
|
|
378
378
|
open: t,
|
|
@@ -383,11 +383,11 @@ function ea({
|
|
|
383
383
|
}
|
|
384
384
|
},
|
|
385
385
|
children: [
|
|
386
|
-
/* @__PURE__ */
|
|
387
|
-
/* @__PURE__ */
|
|
388
|
-
/* @__PURE__ */
|
|
389
|
-
/* @__PURE__ */
|
|
390
|
-
/* @__PURE__ */
|
|
386
|
+
/* @__PURE__ */ l.jsx($i, { children: /* @__PURE__ */ l.jsx("b", { children: G("components:header:internet_question_label", r.current) }) }),
|
|
387
|
+
/* @__PURE__ */ l.jsx(Ii, { children: /* @__PURE__ */ l.jsx(ds, { children: /* @__PURE__ */ l.jsx(Pe, { children: G("components:header:internet_question", r.current) }) }) }),
|
|
388
|
+
/* @__PURE__ */ l.jsxs(wr, { children: [
|
|
389
|
+
/* @__PURE__ */ l.jsx($t, { onClick: i, children: G("components:header:cancel", r.current) }),
|
|
390
|
+
/* @__PURE__ */ l.jsx(
|
|
391
391
|
$t,
|
|
392
392
|
{
|
|
393
393
|
onClick: () => {
|
|
@@ -414,28 +414,28 @@ var no;
|
|
|
414
414
|
function ta() {
|
|
415
415
|
if (no) return ie;
|
|
416
416
|
no = 1;
|
|
417
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, u = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121,
|
|
418
|
-
function
|
|
419
|
-
if (typeof
|
|
420
|
-
var P =
|
|
417
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, u = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
418
|
+
function _(C) {
|
|
419
|
+
if (typeof C == "object" && C !== null) {
|
|
420
|
+
var P = C.$$typeof;
|
|
421
421
|
switch (P) {
|
|
422
422
|
case t:
|
|
423
|
-
switch (
|
|
423
|
+
switch (C = C.type, C) {
|
|
424
424
|
case d:
|
|
425
425
|
case f:
|
|
426
426
|
case r:
|
|
427
427
|
case s:
|
|
428
428
|
case o:
|
|
429
429
|
case g:
|
|
430
|
-
return
|
|
430
|
+
return C;
|
|
431
431
|
default:
|
|
432
|
-
switch (
|
|
432
|
+
switch (C = C && C.$$typeof, C) {
|
|
433
433
|
case a:
|
|
434
434
|
case p:
|
|
435
435
|
case b:
|
|
436
436
|
case u:
|
|
437
437
|
case i:
|
|
438
|
-
return
|
|
438
|
+
return C;
|
|
439
439
|
default:
|
|
440
440
|
return P;
|
|
441
441
|
}
|
|
@@ -445,36 +445,36 @@ function ta() {
|
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
function
|
|
449
|
-
return
|
|
448
|
+
function I(C) {
|
|
449
|
+
return _(C) === f;
|
|
450
450
|
}
|
|
451
|
-
return ie.AsyncMode = d, ie.ConcurrentMode = f, ie.ContextConsumer = a, ie.ContextProvider = i, ie.Element = t, ie.ForwardRef = p, ie.Fragment = r, ie.Lazy = b, ie.Memo = u, ie.Portal = n, ie.Profiler = s, ie.StrictMode = o, ie.Suspense = g, ie.isAsyncMode = function(
|
|
452
|
-
return
|
|
453
|
-
}, ie.isConcurrentMode =
|
|
454
|
-
return
|
|
455
|
-
}, ie.isContextProvider = function(
|
|
456
|
-
return
|
|
457
|
-
}, ie.isElement = function(
|
|
458
|
-
return typeof
|
|
459
|
-
}, ie.isForwardRef = function(
|
|
460
|
-
return
|
|
461
|
-
}, ie.isFragment = function(
|
|
462
|
-
return
|
|
463
|
-
}, ie.isLazy = function(
|
|
464
|
-
return
|
|
465
|
-
}, ie.isMemo = function(
|
|
466
|
-
return
|
|
467
|
-
}, ie.isPortal = function(
|
|
468
|
-
return
|
|
469
|
-
}, ie.isProfiler = function(
|
|
470
|
-
return
|
|
471
|
-
}, ie.isStrictMode = function(
|
|
472
|
-
return
|
|
473
|
-
}, ie.isSuspense = function(
|
|
474
|
-
return
|
|
475
|
-
}, ie.isValidElementType = function(
|
|
476
|
-
return typeof
|
|
477
|
-
}, ie.typeOf =
|
|
451
|
+
return ie.AsyncMode = d, ie.ConcurrentMode = f, ie.ContextConsumer = a, ie.ContextProvider = i, ie.Element = t, ie.ForwardRef = p, ie.Fragment = r, ie.Lazy = b, ie.Memo = u, ie.Portal = n, ie.Profiler = s, ie.StrictMode = o, ie.Suspense = g, ie.isAsyncMode = function(C) {
|
|
452
|
+
return I(C) || _(C) === d;
|
|
453
|
+
}, ie.isConcurrentMode = I, ie.isContextConsumer = function(C) {
|
|
454
|
+
return _(C) === a;
|
|
455
|
+
}, ie.isContextProvider = function(C) {
|
|
456
|
+
return _(C) === i;
|
|
457
|
+
}, ie.isElement = function(C) {
|
|
458
|
+
return typeof C == "object" && C !== null && C.$$typeof === t;
|
|
459
|
+
}, ie.isForwardRef = function(C) {
|
|
460
|
+
return _(C) === p;
|
|
461
|
+
}, ie.isFragment = function(C) {
|
|
462
|
+
return _(C) === r;
|
|
463
|
+
}, ie.isLazy = function(C) {
|
|
464
|
+
return _(C) === b;
|
|
465
|
+
}, ie.isMemo = function(C) {
|
|
466
|
+
return _(C) === u;
|
|
467
|
+
}, ie.isPortal = function(C) {
|
|
468
|
+
return _(C) === n;
|
|
469
|
+
}, ie.isProfiler = function(C) {
|
|
470
|
+
return _(C) === s;
|
|
471
|
+
}, ie.isStrictMode = function(C) {
|
|
472
|
+
return _(C) === o;
|
|
473
|
+
}, ie.isSuspense = function(C) {
|
|
474
|
+
return _(C) === g;
|
|
475
|
+
}, ie.isValidElementType = function(C) {
|
|
476
|
+
return typeof C == "string" || typeof C == "function" || C === r || C === f || C === s || C === o || C === g || C === y || typeof C == "object" && C !== null && (C.$$typeof === b || C.$$typeof === u || C.$$typeof === i || C.$$typeof === a || C.$$typeof === p || C.$$typeof === S || C.$$typeof === v || C.$$typeof === M || C.$$typeof === m);
|
|
477
|
+
}, ie.typeOf = _, ie;
|
|
478
478
|
}
|
|
479
479
|
var ae = {};
|
|
480
480
|
/** @license React v16.13.1
|
|
@@ -488,12 +488,12 @@ var ae = {};
|
|
|
488
488
|
var ro;
|
|
489
489
|
function na() {
|
|
490
490
|
return ro || (ro = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
491
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, u = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121,
|
|
492
|
-
function
|
|
491
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, u = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
492
|
+
function _(Y) {
|
|
493
493
|
return typeof Y == "string" || typeof Y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
494
|
-
Y === r || Y === f || Y === s || Y === o || Y === g || Y === y || typeof Y == "object" && Y !== null && (Y.$$typeof === b || Y.$$typeof === u || Y.$$typeof === i || Y.$$typeof === a || Y.$$typeof === p || Y.$$typeof ===
|
|
494
|
+
Y === r || Y === f || Y === s || Y === o || Y === g || Y === y || typeof Y == "object" && Y !== null && (Y.$$typeof === b || Y.$$typeof === u || Y.$$typeof === i || Y.$$typeof === a || Y.$$typeof === p || Y.$$typeof === S || Y.$$typeof === v || Y.$$typeof === M || Y.$$typeof === m);
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function I(Y) {
|
|
497
497
|
if (typeof Y == "object" && Y !== null) {
|
|
498
498
|
var we = Y.$$typeof;
|
|
499
499
|
switch (we) {
|
|
@@ -525,47 +525,47 @@ function na() {
|
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
var
|
|
528
|
+
var C = d, P = f, V = a, k = i, L = t, D = p, w = r, c = b, j = u, R = n, z = s, K = o, X = g, ee = !1;
|
|
529
529
|
function ne(Y) {
|
|
530
|
-
return ee || (ee = !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.")), N(Y) ||
|
|
530
|
+
return ee || (ee = !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.")), N(Y) || I(Y) === d;
|
|
531
531
|
}
|
|
532
532
|
function N(Y) {
|
|
533
|
-
return
|
|
533
|
+
return I(Y) === f;
|
|
534
534
|
}
|
|
535
535
|
function x(Y) {
|
|
536
|
-
return
|
|
536
|
+
return I(Y) === a;
|
|
537
537
|
}
|
|
538
538
|
function F(Y) {
|
|
539
|
-
return
|
|
539
|
+
return I(Y) === i;
|
|
540
540
|
}
|
|
541
541
|
function W(Y) {
|
|
542
542
|
return typeof Y == "object" && Y !== null && Y.$$typeof === t;
|
|
543
543
|
}
|
|
544
544
|
function E(Y) {
|
|
545
|
-
return
|
|
545
|
+
return I(Y) === p;
|
|
546
546
|
}
|
|
547
547
|
function H(Y) {
|
|
548
|
-
return
|
|
548
|
+
return I(Y) === r;
|
|
549
549
|
}
|
|
550
|
-
function
|
|
551
|
-
return
|
|
550
|
+
function $(Y) {
|
|
551
|
+
return I(Y) === b;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
554
|
-
return
|
|
553
|
+
function T(Y) {
|
|
554
|
+
return I(Y) === u;
|
|
555
555
|
}
|
|
556
556
|
function B(Y) {
|
|
557
|
-
return
|
|
557
|
+
return I(Y) === n;
|
|
558
558
|
}
|
|
559
559
|
function U(Y) {
|
|
560
|
-
return
|
|
560
|
+
return I(Y) === s;
|
|
561
561
|
}
|
|
562
562
|
function J(Y) {
|
|
563
|
-
return
|
|
563
|
+
return I(Y) === o;
|
|
564
564
|
}
|
|
565
565
|
function se(Y) {
|
|
566
|
-
return
|
|
566
|
+
return I(Y) === g;
|
|
567
567
|
}
|
|
568
|
-
ae.AsyncMode =
|
|
568
|
+
ae.AsyncMode = C, ae.ConcurrentMode = P, ae.ContextConsumer = V, ae.ContextProvider = k, ae.Element = L, ae.ForwardRef = D, ae.Fragment = w, ae.Lazy = c, ae.Memo = j, ae.Portal = R, ae.Profiler = z, ae.StrictMode = K, ae.Suspense = X, ae.isAsyncMode = ne, ae.isConcurrentMode = N, ae.isContextConsumer = x, ae.isContextProvider = F, ae.isElement = W, ae.isForwardRef = E, ae.isFragment = H, ae.isLazy = $, ae.isMemo = T, ae.isPortal = B, ae.isProfiler = U, ae.isStrictMode = J, ae.isSuspense = se, ae.isValidElementType = _, ae.typeOf = I;
|
|
569
569
|
})()), ae;
|
|
570
570
|
}
|
|
571
571
|
var oo;
|
|
@@ -708,25 +708,25 @@ function sa() {
|
|
|
708
708
|
return x;
|
|
709
709
|
}
|
|
710
710
|
var y = "<<anonymous>>", u = {
|
|
711
|
-
array:
|
|
712
|
-
bigint:
|
|
713
|
-
bool:
|
|
714
|
-
func:
|
|
715
|
-
number:
|
|
716
|
-
object:
|
|
717
|
-
string:
|
|
718
|
-
symbol:
|
|
711
|
+
array: v("array"),
|
|
712
|
+
bigint: v("bigint"),
|
|
713
|
+
bool: v("boolean"),
|
|
714
|
+
func: v("function"),
|
|
715
|
+
number: v("number"),
|
|
716
|
+
object: v("object"),
|
|
717
|
+
string: v("string"),
|
|
718
|
+
symbol: v("symbol"),
|
|
719
719
|
any: M(),
|
|
720
|
-
arrayOf:
|
|
721
|
-
element:
|
|
722
|
-
elementType:
|
|
720
|
+
arrayOf: _,
|
|
721
|
+
element: I(),
|
|
722
|
+
elementType: C(),
|
|
723
723
|
instanceOf: P,
|
|
724
724
|
node: D(),
|
|
725
725
|
objectOf: k,
|
|
726
726
|
oneOf: V,
|
|
727
727
|
oneOfType: L,
|
|
728
|
-
shape:
|
|
729
|
-
exact:
|
|
728
|
+
shape: c,
|
|
729
|
+
exact: j
|
|
730
730
|
};
|
|
731
731
|
function b(N, x) {
|
|
732
732
|
return N === x ? N !== 0 || 1 / N === 1 / x : N !== N && x !== x;
|
|
@@ -735,129 +735,129 @@ function sa() {
|
|
|
735
735
|
this.message = N, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
|
|
736
736
|
}
|
|
737
737
|
m.prototype = Error.prototype;
|
|
738
|
-
function
|
|
738
|
+
function S(N) {
|
|
739
739
|
if (process.env.NODE_ENV !== "production")
|
|
740
740
|
var x = {}, F = 0;
|
|
741
|
-
function W(H,
|
|
742
|
-
if (B = B || y, J = J ||
|
|
741
|
+
function W(H, $, T, B, U, J, se) {
|
|
742
|
+
if (B = B || y, J = J || T, se !== n) {
|
|
743
743
|
if (d) {
|
|
744
744
|
var Y = new Error(
|
|
745
745
|
"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"
|
|
746
746
|
);
|
|
747
747
|
throw Y.name = "Invariant Violation", Y;
|
|
748
748
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
749
|
-
var we = B + ":" +
|
|
749
|
+
var we = B + ":" + T;
|
|
750
750
|
!x[we] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
751
751
|
F < 3 && (s(
|
|
752
752
|
"You are manually calling a React.PropTypes validation function for the `" + J + "` prop on `" + B + "`. 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."
|
|
753
753
|
), x[we] = !0, F++);
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
|
-
return
|
|
756
|
+
return $[T] == null ? H ? $[T] === null ? new m("The " + U + " `" + J + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new m("The " + U + " `" + J + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : N($, T, B, U, J);
|
|
757
757
|
}
|
|
758
758
|
var E = W.bind(null, !1);
|
|
759
759
|
return E.isRequired = W.bind(null, !0), E;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
762
|
-
function x(F, W, E, H,
|
|
761
|
+
function v(N) {
|
|
762
|
+
function x(F, W, E, H, $, T) {
|
|
763
763
|
var B = F[W], U = K(B);
|
|
764
764
|
if (U !== N) {
|
|
765
765
|
var J = X(B);
|
|
766
766
|
return new m(
|
|
767
|
-
"Invalid " + H + " `" +
|
|
767
|
+
"Invalid " + H + " `" + $ + "` of type " + ("`" + J + "` supplied to `" + E + "`, expected ") + ("`" + N + "`."),
|
|
768
768
|
{ expectedType: N }
|
|
769
769
|
);
|
|
770
770
|
}
|
|
771
771
|
return null;
|
|
772
772
|
}
|
|
773
|
-
return
|
|
773
|
+
return S(x);
|
|
774
774
|
}
|
|
775
775
|
function M() {
|
|
776
|
-
return
|
|
776
|
+
return S(i);
|
|
777
777
|
}
|
|
778
|
-
function
|
|
779
|
-
function x(F, W, E, H,
|
|
778
|
+
function _(N) {
|
|
779
|
+
function x(F, W, E, H, $) {
|
|
780
780
|
if (typeof N != "function")
|
|
781
|
-
return new m("Property `" +
|
|
782
|
-
var
|
|
783
|
-
if (!Array.isArray(
|
|
784
|
-
var B = K(
|
|
785
|
-
return new m("Invalid " + H + " `" +
|
|
781
|
+
return new m("Property `" + $ + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
|
|
782
|
+
var T = F[W];
|
|
783
|
+
if (!Array.isArray(T)) {
|
|
784
|
+
var B = K(T);
|
|
785
|
+
return new m("Invalid " + H + " `" + $ + "` of type " + ("`" + B + "` supplied to `" + E + "`, expected an array."));
|
|
786
786
|
}
|
|
787
|
-
for (var U = 0; U <
|
|
788
|
-
var J = N(
|
|
787
|
+
for (var U = 0; U < T.length; U++) {
|
|
788
|
+
var J = N(T, U, E, H, $ + "[" + U + "]", n);
|
|
789
789
|
if (J instanceof Error)
|
|
790
790
|
return J;
|
|
791
791
|
}
|
|
792
792
|
return null;
|
|
793
793
|
}
|
|
794
|
-
return
|
|
794
|
+
return S(x);
|
|
795
795
|
}
|
|
796
|
-
function
|
|
796
|
+
function I() {
|
|
797
797
|
function N(x, F, W, E, H) {
|
|
798
|
-
var
|
|
799
|
-
if (!a(
|
|
800
|
-
var
|
|
801
|
-
return new m("Invalid " + E + " `" + H + "` of type " + ("`" +
|
|
798
|
+
var $ = x[F];
|
|
799
|
+
if (!a($)) {
|
|
800
|
+
var T = K($);
|
|
801
|
+
return new m("Invalid " + E + " `" + H + "` of type " + ("`" + T + "` supplied to `" + W + "`, expected a single ReactElement."));
|
|
802
802
|
}
|
|
803
803
|
return null;
|
|
804
804
|
}
|
|
805
|
-
return
|
|
805
|
+
return S(N);
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function C() {
|
|
808
808
|
function N(x, F, W, E, H) {
|
|
809
|
-
var
|
|
810
|
-
if (!e.isValidElementType(
|
|
811
|
-
var
|
|
812
|
-
return new m("Invalid " + E + " `" + H + "` of type " + ("`" +
|
|
809
|
+
var $ = x[F];
|
|
810
|
+
if (!e.isValidElementType($)) {
|
|
811
|
+
var T = K($);
|
|
812
|
+
return new m("Invalid " + E + " `" + H + "` of type " + ("`" + T + "` supplied to `" + W + "`, expected a single ReactElement type."));
|
|
813
813
|
}
|
|
814
814
|
return null;
|
|
815
815
|
}
|
|
816
|
-
return
|
|
816
|
+
return S(N);
|
|
817
817
|
}
|
|
818
818
|
function P(N) {
|
|
819
|
-
function x(F, W, E, H,
|
|
819
|
+
function x(F, W, E, H, $) {
|
|
820
820
|
if (!(F[W] instanceof N)) {
|
|
821
|
-
var
|
|
822
|
-
return new m("Invalid " + H + " `" +
|
|
821
|
+
var T = N.name || y, B = ne(F[W]);
|
|
822
|
+
return new m("Invalid " + H + " `" + $ + "` of type " + ("`" + B + "` supplied to `" + E + "`, expected ") + ("instance of `" + T + "`."));
|
|
823
823
|
}
|
|
824
824
|
return null;
|
|
825
825
|
}
|
|
826
|
-
return
|
|
826
|
+
return S(x);
|
|
827
827
|
}
|
|
828
828
|
function V(N) {
|
|
829
829
|
if (!Array.isArray(N))
|
|
830
830
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
831
831
|
"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])."
|
|
832
832
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
833
|
-
function x(F, W, E, H,
|
|
834
|
-
for (var
|
|
835
|
-
if (b(
|
|
833
|
+
function x(F, W, E, H, $) {
|
|
834
|
+
for (var T = F[W], B = 0; B < N.length; B++)
|
|
835
|
+
if (b(T, N[B]))
|
|
836
836
|
return null;
|
|
837
837
|
var U = JSON.stringify(N, function(se, Y) {
|
|
838
838
|
var we = X(Y);
|
|
839
839
|
return we === "symbol" ? String(Y) : Y;
|
|
840
840
|
});
|
|
841
|
-
return new m("Invalid " + H + " `" +
|
|
841
|
+
return new m("Invalid " + H + " `" + $ + "` of value `" + String(T) + "` " + ("supplied to `" + E + "`, expected one of " + U + "."));
|
|
842
842
|
}
|
|
843
|
-
return
|
|
843
|
+
return S(x);
|
|
844
844
|
}
|
|
845
845
|
function k(N) {
|
|
846
|
-
function x(F, W, E, H,
|
|
846
|
+
function x(F, W, E, H, $) {
|
|
847
847
|
if (typeof N != "function")
|
|
848
|
-
return new m("Property `" +
|
|
849
|
-
var
|
|
848
|
+
return new m("Property `" + $ + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
|
|
849
|
+
var T = F[W], B = K(T);
|
|
850
850
|
if (B !== "object")
|
|
851
|
-
return new m("Invalid " + H + " `" +
|
|
852
|
-
for (var U in
|
|
853
|
-
if (r(
|
|
854
|
-
var J = N(
|
|
851
|
+
return new m("Invalid " + H + " `" + $ + "` of type " + ("`" + B + "` supplied to `" + E + "`, expected an object."));
|
|
852
|
+
for (var U in T)
|
|
853
|
+
if (r(T, U)) {
|
|
854
|
+
var J = N(T, U, E, H, $ + "." + U, n);
|
|
855
855
|
if (J instanceof Error)
|
|
856
856
|
return J;
|
|
857
857
|
}
|
|
858
858
|
return null;
|
|
859
859
|
}
|
|
860
|
-
return
|
|
860
|
+
return S(x);
|
|
861
861
|
}
|
|
862
862
|
function L(N) {
|
|
863
863
|
if (!Array.isArray(N))
|
|
@@ -869,70 +869,70 @@ function sa() {
|
|
|
869
869
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ee(F) + " at index " + x + "."
|
|
870
870
|
), i;
|
|
871
871
|
}
|
|
872
|
-
function W(E, H,
|
|
872
|
+
function W(E, H, $, T, B) {
|
|
873
873
|
for (var U = [], J = 0; J < N.length; J++) {
|
|
874
|
-
var se = N[J], Y = se(E, H,
|
|
874
|
+
var se = N[J], Y = se(E, H, $, T, B, n);
|
|
875
875
|
if (Y == null)
|
|
876
876
|
return null;
|
|
877
877
|
Y.data && r(Y.data, "expectedType") && U.push(Y.data.expectedType);
|
|
878
878
|
}
|
|
879
879
|
var we = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
880
|
-
return new m("Invalid " +
|
|
880
|
+
return new m("Invalid " + T + " `" + B + "` supplied to " + ("`" + $ + "`" + we + "."));
|
|
881
881
|
}
|
|
882
|
-
return
|
|
882
|
+
return S(W);
|
|
883
883
|
}
|
|
884
884
|
function D() {
|
|
885
885
|
function N(x, F, W, E, H) {
|
|
886
|
-
return
|
|
886
|
+
return R(x[F]) ? null : new m("Invalid " + E + " `" + H + "` supplied to " + ("`" + W + "`, expected a ReactNode."));
|
|
887
887
|
}
|
|
888
|
-
return
|
|
888
|
+
return S(N);
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function w(N, x, F, W, E) {
|
|
891
891
|
return new m(
|
|
892
892
|
(N || "React class") + ": " + x + " type `" + F + "." + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
|
|
893
893
|
);
|
|
894
894
|
}
|
|
895
|
-
function
|
|
896
|
-
function x(F, W, E, H,
|
|
897
|
-
var
|
|
895
|
+
function c(N) {
|
|
896
|
+
function x(F, W, E, H, $) {
|
|
897
|
+
var T = F[W], B = K(T);
|
|
898
898
|
if (B !== "object")
|
|
899
|
-
return new m("Invalid " + H + " `" +
|
|
899
|
+
return new m("Invalid " + H + " `" + $ + "` of type `" + B + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
900
900
|
for (var U in N) {
|
|
901
901
|
var J = N[U];
|
|
902
902
|
if (typeof J != "function")
|
|
903
|
-
return
|
|
904
|
-
var se = J(
|
|
903
|
+
return w(E, H, $, U, X(J));
|
|
904
|
+
var se = J(T, U, E, H, $ + "." + U, n);
|
|
905
905
|
if (se)
|
|
906
906
|
return se;
|
|
907
907
|
}
|
|
908
908
|
return null;
|
|
909
909
|
}
|
|
910
|
-
return
|
|
910
|
+
return S(x);
|
|
911
911
|
}
|
|
912
|
-
function
|
|
913
|
-
function x(F, W, E, H,
|
|
914
|
-
var
|
|
912
|
+
function j(N) {
|
|
913
|
+
function x(F, W, E, H, $) {
|
|
914
|
+
var T = F[W], B = K(T);
|
|
915
915
|
if (B !== "object")
|
|
916
|
-
return new m("Invalid " + H + " `" +
|
|
916
|
+
return new m("Invalid " + H + " `" + $ + "` of type `" + B + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
917
917
|
var U = t({}, F[W], N);
|
|
918
918
|
for (var J in U) {
|
|
919
919
|
var se = N[J];
|
|
920
920
|
if (r(N, J) && typeof se != "function")
|
|
921
|
-
return
|
|
921
|
+
return w(E, H, $, J, X(se));
|
|
922
922
|
if (!se)
|
|
923
923
|
return new m(
|
|
924
|
-
"Invalid " + H + " `" +
|
|
924
|
+
"Invalid " + H + " `" + $ + "` key `" + J + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(F[W], null, " ") + `
|
|
925
925
|
Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
|
|
926
926
|
);
|
|
927
|
-
var Y = se(
|
|
927
|
+
var Y = se(T, J, E, H, $ + "." + J, n);
|
|
928
928
|
if (Y)
|
|
929
929
|
return Y;
|
|
930
930
|
}
|
|
931
931
|
return null;
|
|
932
932
|
}
|
|
933
|
-
return
|
|
933
|
+
return S(x);
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function R(N) {
|
|
936
936
|
switch (typeof N) {
|
|
937
937
|
case "number":
|
|
938
938
|
case "string":
|
|
@@ -942,7 +942,7 @@ Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
|
|
|
942
942
|
return !N;
|
|
943
943
|
case "object":
|
|
944
944
|
if (Array.isArray(N))
|
|
945
|
-
return N.every(
|
|
945
|
+
return N.every(R);
|
|
946
946
|
if (N === null || a(N))
|
|
947
947
|
return !0;
|
|
948
948
|
var x = g(N);
|
|
@@ -950,12 +950,12 @@ Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
|
|
|
950
950
|
var F = x.call(N), W;
|
|
951
951
|
if (x !== N.entries) {
|
|
952
952
|
for (; !(W = F.next()).done; )
|
|
953
|
-
if (!
|
|
953
|
+
if (!R(W.value))
|
|
954
954
|
return !1;
|
|
955
955
|
} else
|
|
956
956
|
for (; !(W = F.next()).done; ) {
|
|
957
957
|
var E = W.value;
|
|
958
|
-
if (E && !
|
|
958
|
+
if (E && !R(E[1]))
|
|
959
959
|
return !1;
|
|
960
960
|
}
|
|
961
961
|
} else
|
|
@@ -1232,8 +1232,8 @@ function xa() {
|
|
|
1232
1232
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), i = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), y = Symbol.for("react.view_transition"), u = Symbol.for("react.client.reference");
|
|
1233
1233
|
function b(m) {
|
|
1234
1234
|
if (typeof m == "object" && m !== null) {
|
|
1235
|
-
var
|
|
1236
|
-
switch (
|
|
1235
|
+
var S = m.$$typeof;
|
|
1236
|
+
switch (S) {
|
|
1237
1237
|
case e:
|
|
1238
1238
|
switch (m = m.type, m) {
|
|
1239
1239
|
case n:
|
|
@@ -1253,11 +1253,11 @@ function xa() {
|
|
|
1253
1253
|
case s:
|
|
1254
1254
|
return m;
|
|
1255
1255
|
default:
|
|
1256
|
-
return
|
|
1256
|
+
return S;
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
case t:
|
|
1260
|
-
return
|
|
1260
|
+
return S;
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
1263
|
}
|
|
@@ -1304,8 +1304,8 @@ function va() {
|
|
|
1304
1304
|
return ho || (ho = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
1305
1305
|
function e(m) {
|
|
1306
1306
|
if (typeof m == "object" && m !== null) {
|
|
1307
|
-
var
|
|
1308
|
-
switch (
|
|
1307
|
+
var S = m.$$typeof;
|
|
1308
|
+
switch (S) {
|
|
1309
1309
|
case t:
|
|
1310
1310
|
switch (m = m.type, m) {
|
|
1311
1311
|
case r:
|
|
@@ -1325,11 +1325,11 @@ function va() {
|
|
|
1325
1325
|
case i:
|
|
1326
1326
|
return m;
|
|
1327
1327
|
default:
|
|
1328
|
-
return
|
|
1328
|
+
return S;
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
1331
|
case n:
|
|
1332
|
-
return
|
|
1332
|
+
return S;
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
@@ -2449,7 +2449,7 @@ function $r(e) {
|
|
|
2449
2449
|
styles: t,
|
|
2450
2450
|
defaultTheme: n = {}
|
|
2451
2451
|
} = e, r = typeof t == "function" ? (o) => t(xc(o) ? n : o) : t;
|
|
2452
|
-
return /* @__PURE__ */
|
|
2452
|
+
return /* @__PURE__ */ l.jsx(Ki, {
|
|
2453
2453
|
styles: r
|
|
2454
2454
|
});
|
|
2455
2455
|
}
|
|
@@ -2561,7 +2561,7 @@ function Ds({
|
|
|
2561
2561
|
}) {
|
|
2562
2562
|
const r = Ns(n), o = t && r[t] || r;
|
|
2563
2563
|
let s = typeof e == "function" ? e(o) : e;
|
|
2564
|
-
return o.modularCssLayers && (Array.isArray(s) ? s = s.map((i) => rr(typeof i == "function" ? i(o) : i)) : s = rr(s)), /* @__PURE__ */
|
|
2564
|
+
return o.modularCssLayers && (Array.isArray(s) ? s = s.map((i) => rr(typeof i == "function" ? i(o) : i)) : s = rr(s)), /* @__PURE__ */ l.jsx($r, {
|
|
2565
2565
|
styles: s
|
|
2566
2566
|
});
|
|
2567
2567
|
}
|
|
@@ -2734,18 +2734,18 @@ function Pc(e = {}) {
|
|
|
2734
2734
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2735
2735
|
overridesResolver: u = $c(Ls(p)),
|
|
2736
2736
|
...b
|
|
2737
|
-
} = d, m = f && f.startsWith("Mui") || p ? "components" : "custom",
|
|
2737
|
+
} = d, m = f && f.startsWith("Mui") || p ? "components" : "custom", S = g !== void 0 ? g : (
|
|
2738
2738
|
// TODO v6: remove `Root` in the next major release
|
|
2739
2739
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2740
2740
|
p && p !== "Root" && p !== "root" || !1
|
|
2741
|
-
),
|
|
2741
|
+
), v = y || !1;
|
|
2742
2742
|
let M = or;
|
|
2743
2743
|
p === "Root" || p === "root" ? M = r : p ? M = o : Nc(a) && (M = void 0);
|
|
2744
|
-
const
|
|
2744
|
+
const _ = vc(a, {
|
|
2745
2745
|
shouldForwardProp: M,
|
|
2746
2746
|
label: Mc(f, p),
|
|
2747
2747
|
...b
|
|
2748
|
-
}),
|
|
2748
|
+
}), I = (P) => {
|
|
2749
2749
|
if (P.__emotion_real === P)
|
|
2750
2750
|
return P;
|
|
2751
2751
|
if (typeof P == "function")
|
|
@@ -2759,30 +2759,30 @@ function Pc(e = {}) {
|
|
|
2759
2759
|
};
|
|
2760
2760
|
}
|
|
2761
2761
|
return P;
|
|
2762
|
-
},
|
|
2763
|
-
const V = [], k = P.map(
|
|
2764
|
-
if (V.push(s), f && u && L.push(function(
|
|
2762
|
+
}, C = (...P) => {
|
|
2763
|
+
const V = [], k = P.map(I), L = [];
|
|
2764
|
+
if (V.push(s), f && u && L.push(function(j) {
|
|
2765
2765
|
var X, ee;
|
|
2766
|
-
const z = (ee = (X =
|
|
2766
|
+
const z = (ee = (X = j.theme.components) == null ? void 0 : X[f]) == null ? void 0 : ee.styleOverrides;
|
|
2767
2767
|
if (!z)
|
|
2768
2768
|
return null;
|
|
2769
2769
|
const K = {};
|
|
2770
2770
|
for (const ne in z)
|
|
2771
|
-
K[ne] = xn(
|
|
2772
|
-
return u(
|
|
2773
|
-
}), f && !
|
|
2771
|
+
K[ne] = xn(j, z[ne], j.theme.modularCssLayers ? "theme" : void 0);
|
|
2772
|
+
return u(j, K);
|
|
2773
|
+
}), f && !S && L.push(function(j) {
|
|
2774
2774
|
var K, X;
|
|
2775
|
-
const
|
|
2776
|
-
return z ? Vs(
|
|
2777
|
-
}),
|
|
2778
|
-
const
|
|
2775
|
+
const R = j.theme, z = (X = (K = R == null ? void 0 : R.components) == null ? void 0 : K[f]) == null ? void 0 : X.variants;
|
|
2776
|
+
return z ? Vs(j, z, [], j.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
2777
|
+
}), v || L.push(At), Array.isArray(k[0])) {
|
|
2778
|
+
const c = k.shift(), j = new Array(V.length).fill(""), R = new Array(L.length).fill("");
|
|
2779
2779
|
let z;
|
|
2780
|
-
z = [...
|
|
2780
|
+
z = [...j, ...c, ...R], z.raw = [...j, ...c.raw, ...R], V.unshift(z);
|
|
2781
2781
|
}
|
|
2782
|
-
const D = [...V, ...k, ...L],
|
|
2783
|
-
return a.muiName && (
|
|
2782
|
+
const D = [...V, ...k, ...L], w = _(...D);
|
|
2783
|
+
return a.muiName && (w.muiName = a.muiName), process.env.NODE_ENV !== "production" && (w.displayName = Ac(f, p, a)), w;
|
|
2784
2784
|
};
|
|
2785
|
-
return
|
|
2785
|
+
return _.withConfig && (C.withConfig = _.withConfig), C;
|
|
2786
2786
|
};
|
|
2787
2787
|
}
|
|
2788
2788
|
function Ac(e, t, n) {
|
|
@@ -2971,7 +2971,7 @@ function Rn(e) {
|
|
|
2971
2971
|
} : Uc(r, n);
|
|
2972
2972
|
return s != null && (s[Wc] = r !== null), s;
|
|
2973
2973
|
}, [n, r]);
|
|
2974
|
-
return /* @__PURE__ */
|
|
2974
|
+
return /* @__PURE__ */ l.jsx(Mr.Provider, {
|
|
2975
2975
|
value: o,
|
|
2976
2976
|
children: t
|
|
2977
2977
|
});
|
|
@@ -2992,7 +2992,7 @@ function Ys({
|
|
|
2992
2992
|
value: e,
|
|
2993
2993
|
...t
|
|
2994
2994
|
}) {
|
|
2995
|
-
return /* @__PURE__ */
|
|
2995
|
+
return /* @__PURE__ */ l.jsx(Us.Provider, {
|
|
2996
2996
|
value: e ?? !0,
|
|
2997
2997
|
...t
|
|
2998
2998
|
});
|
|
@@ -3006,7 +3006,7 @@ function Hs({
|
|
|
3006
3006
|
value: e,
|
|
3007
3007
|
children: t
|
|
3008
3008
|
}) {
|
|
3009
|
-
return /* @__PURE__ */
|
|
3009
|
+
return /* @__PURE__ */ l.jsx(qs.Provider, {
|
|
3010
3010
|
value: e,
|
|
3011
3011
|
children: t
|
|
3012
3012
|
});
|
|
@@ -3080,7 +3080,7 @@ function Jc(e) {
|
|
|
3080
3080
|
f.setAttribute("data-mui-layer-order", n), f.textContent = o, s.prepend(f);
|
|
3081
3081
|
} else
|
|
3082
3082
|
(d = s.querySelector(`style[data-mui-layer-order="${n}"]`)) == null || d.remove();
|
|
3083
|
-
}, [o, n]), o ? /* @__PURE__ */
|
|
3083
|
+
}, [o, n]), o ? /* @__PURE__ */ l.jsx(Ds, {
|
|
3084
3084
|
styles: o
|
|
3085
3085
|
}) : null;
|
|
3086
3086
|
}
|
|
@@ -3113,13 +3113,13 @@ function en(e) {
|
|
|
3113
3113
|
process.env.NODE_ENV !== "production" && (o === null && typeof n == "function" || r && o && !o[r] && typeof n == "function") && console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:", "<ThemeProvider theme={outerTheme => outerTheme} />", "", "However, no outer theme is present.", "Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
|
|
3114
3114
|
`));
|
|
3115
3115
|
const i = Mo(r, o, n), a = Mo(r, s, n, !0), d = (r ? i[r] : i).direction === "rtl", f = Jc(i);
|
|
3116
|
-
return /* @__PURE__ */
|
|
3116
|
+
return /* @__PURE__ */ l.jsx(Rn, {
|
|
3117
3117
|
theme: a,
|
|
3118
|
-
children: /* @__PURE__ */
|
|
3118
|
+
children: /* @__PURE__ */ l.jsx(vs.Provider, {
|
|
3119
3119
|
value: i,
|
|
3120
|
-
children: /* @__PURE__ */
|
|
3120
|
+
children: /* @__PURE__ */ l.jsx(Ys, {
|
|
3121
3121
|
value: d,
|
|
3122
|
-
children: /* @__PURE__ */
|
|
3122
|
+
children: /* @__PURE__ */ l.jsxs(Hs, {
|
|
3123
3123
|
value: r ? i[r].components : i.components,
|
|
3124
3124
|
children: [f, t]
|
|
3125
3125
|
})
|
|
@@ -3181,7 +3181,7 @@ function el(e) {
|
|
|
3181
3181
|
${a}.removeAttribute('${y}'.replace('%s', dark));`), f += `
|
|
3182
3182
|
${a}.setAttribute('${y}'.replace('%s', colorScheme), ${u ? `${u}.replace('%s', colorScheme)` : '""'});`;
|
|
3183
3183
|
} else p !== ".%s" && (f += `${a}.setAttribute('${p}', colorScheme);`);
|
|
3184
|
-
return /* @__PURE__ */
|
|
3184
|
+
return /* @__PURE__ */ l.jsx("script", {
|
|
3185
3185
|
suppressHydrationWarning: !0,
|
|
3186
3186
|
nonce: typeof window > "u" ? d : "",
|
|
3187
3187
|
dangerouslySetInnerHTML: {
|
|
@@ -3290,7 +3290,7 @@ function ol(e) {
|
|
|
3290
3290
|
}), [d, i, a]), b = A.useMemo(() => d == null ? void 0 : d({
|
|
3291
3291
|
key: `${i}-dark`,
|
|
3292
3292
|
storageWindow: a
|
|
3293
|
-
}), [d, i, a]), [m,
|
|
3293
|
+
}), [d, i, a]), [m, S] = A.useState(() => {
|
|
3294
3294
|
const k = (y == null ? void 0 : y.get(t)) || t, L = (u == null ? void 0 : u.get(n)) || n, D = (b == null ? void 0 : b.get(r)) || r;
|
|
3295
3295
|
return {
|
|
3296
3296
|
mode: k,
|
|
@@ -3298,12 +3298,12 @@ function ol(e) {
|
|
|
3298
3298
|
lightColorScheme: L,
|
|
3299
3299
|
darkColorScheme: D
|
|
3300
3300
|
};
|
|
3301
|
-
}), [
|
|
3301
|
+
}), [v, M] = A.useState(f || !g);
|
|
3302
3302
|
A.useEffect(() => {
|
|
3303
3303
|
M(!0);
|
|
3304
3304
|
}, []);
|
|
3305
|
-
const
|
|
3306
|
-
|
|
3305
|
+
const _ = rl(m), I = A.useCallback((k) => {
|
|
3306
|
+
S((L) => {
|
|
3307
3307
|
if (k === L.mode)
|
|
3308
3308
|
return L;
|
|
3309
3309
|
const D = k ?? t;
|
|
@@ -3313,26 +3313,26 @@ function ol(e) {
|
|
|
3313
3313
|
systemMode: Do(D)
|
|
3314
3314
|
};
|
|
3315
3315
|
});
|
|
3316
|
-
}, [y, t]),
|
|
3317
|
-
k ? typeof k == "string" ? k && !p.includes(k) ? console.error(`\`${k}\` does not exist in \`theme.colorSchemes\`.`) :
|
|
3316
|
+
}, [y, t]), C = A.useCallback((k) => {
|
|
3317
|
+
k ? typeof k == "string" ? k && !p.includes(k) ? console.error(`\`${k}\` does not exist in \`theme.colorSchemes\`.`) : S((L) => {
|
|
3318
3318
|
const D = {
|
|
3319
3319
|
...L
|
|
3320
3320
|
};
|
|
3321
|
-
return Ks(L, (
|
|
3322
|
-
|
|
3321
|
+
return Ks(L, (w) => {
|
|
3322
|
+
w === "light" && (u == null || u.set(k), D.lightColorScheme = k), w === "dark" && (b == null || b.set(k), D.darkColorScheme = k);
|
|
3323
3323
|
}), D;
|
|
3324
|
-
}) :
|
|
3324
|
+
}) : S((L) => {
|
|
3325
3325
|
const D = {
|
|
3326
3326
|
...L
|
|
3327
|
-
},
|
|
3328
|
-
return
|
|
3329
|
-
}) :
|
|
3327
|
+
}, w = k.light === null ? n : k.light, c = k.dark === null ? r : k.dark;
|
|
3328
|
+
return w && (p.includes(w) ? (D.lightColorScheme = w, u == null || u.set(w)) : console.error(`\`${w}\` does not exist in \`theme.colorSchemes\`.`)), c && (p.includes(c) ? (D.darkColorScheme = c, b == null || b.set(c)) : console.error(`\`${c}\` does not exist in \`theme.colorSchemes\`.`)), D;
|
|
3329
|
+
}) : S((L) => (u == null || u.set(n), b == null || b.set(r), {
|
|
3330
3330
|
...L,
|
|
3331
3331
|
lightColorScheme: n,
|
|
3332
3332
|
darkColorScheme: r
|
|
3333
3333
|
}));
|
|
3334
3334
|
}, [p, u, b, n, r]), P = A.useCallback((k) => {
|
|
3335
|
-
m.mode === "system" &&
|
|
3335
|
+
m.mode === "system" && S((L) => {
|
|
3336
3336
|
const D = k != null && k.matches ? "dark" : "light";
|
|
3337
3337
|
return L.systemMode === D ? L : {
|
|
3338
3338
|
...L,
|
|
@@ -3349,28 +3349,28 @@ function ol(e) {
|
|
|
3349
3349
|
};
|
|
3350
3350
|
}, [g]), A.useEffect(() => {
|
|
3351
3351
|
if (g) {
|
|
3352
|
-
const k = (y == null ? void 0 : y.subscribe((
|
|
3353
|
-
(!
|
|
3354
|
-
})) || sr, L = (u == null ? void 0 : u.subscribe((
|
|
3355
|
-
(!
|
|
3356
|
-
light:
|
|
3352
|
+
const k = (y == null ? void 0 : y.subscribe((w) => {
|
|
3353
|
+
(!w || ["light", "dark", "system"].includes(w)) && I(w || t);
|
|
3354
|
+
})) || sr, L = (u == null ? void 0 : u.subscribe((w) => {
|
|
3355
|
+
(!w || p.match(w)) && C({
|
|
3356
|
+
light: w
|
|
3357
3357
|
});
|
|
3358
|
-
})) || sr, D = (b == null ? void 0 : b.subscribe((
|
|
3359
|
-
(!
|
|
3360
|
-
dark:
|
|
3358
|
+
})) || sr, D = (b == null ? void 0 : b.subscribe((w) => {
|
|
3359
|
+
(!w || p.match(w)) && C({
|
|
3360
|
+
dark: w
|
|
3361
3361
|
});
|
|
3362
3362
|
})) || sr;
|
|
3363
3363
|
return () => {
|
|
3364
3364
|
k(), L(), D();
|
|
3365
3365
|
};
|
|
3366
3366
|
}
|
|
3367
|
-
}, [
|
|
3367
|
+
}, [C, I, p, t, a, g, y, u, b]), {
|
|
3368
3368
|
...m,
|
|
3369
|
-
mode:
|
|
3370
|
-
systemMode:
|
|
3371
|
-
colorScheme:
|
|
3372
|
-
setMode:
|
|
3373
|
-
setColorScheme:
|
|
3369
|
+
mode: v ? m.mode : void 0,
|
|
3370
|
+
systemMode: v ? m.systemMode : void 0,
|
|
3371
|
+
colorScheme: v ? _ : void 0,
|
|
3372
|
+
setMode: I,
|
|
3373
|
+
setColorScheme: C
|
|
3374
3374
|
};
|
|
3375
3375
|
}
|
|
3376
3376
|
const sl = "*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
|
|
@@ -3403,28 +3403,28 @@ function il(e) {
|
|
|
3403
3403
|
}, f = /* @__PURE__ */ A.createContext(void 0);
|
|
3404
3404
|
process.env.NODE_ENV !== "production" && (f.displayName = "ColorSchemeContext");
|
|
3405
3405
|
const p = () => A.useContext(f) || d, g = {}, y = {};
|
|
3406
|
-
function u(
|
|
3406
|
+
function u(v) {
|
|
3407
3407
|
var xt, vt, Ct, St;
|
|
3408
3408
|
const {
|
|
3409
3409
|
children: M,
|
|
3410
|
-
theme:
|
|
3411
|
-
modeStorageKey:
|
|
3412
|
-
colorSchemeStorageKey:
|
|
3410
|
+
theme: _,
|
|
3411
|
+
modeStorageKey: I = r,
|
|
3412
|
+
colorSchemeStorageKey: C = o,
|
|
3413
3413
|
disableTransitionOnChange: P = s,
|
|
3414
3414
|
storageManager: V,
|
|
3415
3415
|
storageWindow: k = typeof window > "u" ? void 0 : window,
|
|
3416
3416
|
documentNode: L = typeof document > "u" ? void 0 : document,
|
|
3417
3417
|
colorSchemeNode: D = typeof document > "u" ? void 0 : document.documentElement,
|
|
3418
|
-
disableNestedContext:
|
|
3419
|
-
disableStyleSheetGeneration:
|
|
3420
|
-
defaultMode:
|
|
3421
|
-
forceThemeRerender:
|
|
3418
|
+
disableNestedContext: w = !1,
|
|
3419
|
+
disableStyleSheetGeneration: c = !1,
|
|
3420
|
+
defaultMode: j = "system",
|
|
3421
|
+
forceThemeRerender: R = !1,
|
|
3422
3422
|
noSsr: z
|
|
3423
|
-
} =
|
|
3423
|
+
} = v, K = A.useRef(!1), X = Nr(), ee = A.useContext(f), ne = !!ee && !w, N = A.useMemo(() => _ || (typeof n == "function" ? n() : n), [_]), x = N[t], F = x || N, {
|
|
3424
3424
|
colorSchemes: W = g,
|
|
3425
3425
|
components: E = y,
|
|
3426
3426
|
cssVarPrefix: H
|
|
3427
|
-
} = F,
|
|
3427
|
+
} = F, $ = Object.keys(W).filter((ye) => !!W[ye]).join(","), T = A.useMemo(() => $.split(","), [$]), B = typeof i == "string" ? i : i.light, U = typeof i == "string" ? i : i.dark, J = W[B] && W[U] ? j : ((vt = (xt = W[F.defaultColorScheme]) == null ? void 0 : xt.palette) == null ? void 0 : vt.mode) || ((Ct = F.palette) == null ? void 0 : Ct.mode), {
|
|
3428
3428
|
mode: se,
|
|
3429
3429
|
setMode: Y,
|
|
3430
3430
|
systemMode: we,
|
|
@@ -3433,21 +3433,21 @@ function il(e) {
|
|
|
3433
3433
|
colorScheme: Lt,
|
|
3434
3434
|
setColorScheme: gt
|
|
3435
3435
|
} = ol({
|
|
3436
|
-
supportedColorSchemes:
|
|
3436
|
+
supportedColorSchemes: T,
|
|
3437
3437
|
defaultLightColorScheme: B,
|
|
3438
3438
|
defaultDarkColorScheme: U,
|
|
3439
|
-
modeStorageKey:
|
|
3440
|
-
colorSchemeStorageKey:
|
|
3439
|
+
modeStorageKey: I,
|
|
3440
|
+
colorSchemeStorageKey: C,
|
|
3441
3441
|
defaultMode: J,
|
|
3442
3442
|
storageManager: V,
|
|
3443
3443
|
storageWindow: k,
|
|
3444
3444
|
noSsr: z
|
|
3445
3445
|
});
|
|
3446
3446
|
let tt = se, Re = Lt;
|
|
3447
|
-
ne && (tt = ee.mode, Re = ee.colorScheme), process.env.NODE_ENV !== "production" &&
|
|
3447
|
+
ne && (tt = ee.mode, Re = ee.colorScheme), process.env.NODE_ENV !== "production" && R && !F.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
|
|
3448
3448
|
`));
|
|
3449
3449
|
let nt = Re || F.defaultColorScheme;
|
|
3450
|
-
F.vars && !
|
|
3450
|
+
F.vars && !R && (nt = F.defaultColorScheme);
|
|
3451
3451
|
const We = A.useMemo(() => {
|
|
3452
3452
|
var Ae;
|
|
3453
3453
|
const ye = ((Ae = F.generateThemeVars) == null ? void 0 : Ae.call(F)) || F.vars, pe = {
|
|
@@ -3473,19 +3473,19 @@ function il(e) {
|
|
|
3473
3473
|
const ye = He;
|
|
3474
3474
|
let pe = He;
|
|
3475
3475
|
if (ye === "class" && (pe = ".%s"), ye === "data" && (pe = "[data-%s]"), ye != null && ye.startsWith("data-") && !ye.includes("%s") && (pe = `[${ye}="%s"]`), pe.startsWith("."))
|
|
3476
|
-
D.classList.remove(...
|
|
3476
|
+
D.classList.remove(...T.map((Ae) => pe.substring(1).replace("%s", Ae))), D.classList.add(pe.substring(1).replace("%s", Re));
|
|
3477
3477
|
else {
|
|
3478
3478
|
const Ae = pe.replace("%s", Re).match(/\[([^\]]+)\]/);
|
|
3479
3479
|
if (Ae) {
|
|
3480
3480
|
const [Oe, re] = Ae[1].split("=");
|
|
3481
|
-
re ||
|
|
3481
|
+
re || T.forEach((Hn) => {
|
|
3482
3482
|
D.removeAttribute(Oe.replace(Re, Hn));
|
|
3483
3483
|
}), D.setAttribute(Oe, re ? re.replace(/"|'/g, "") : "");
|
|
3484
3484
|
} else
|
|
3485
3485
|
D.setAttribute(pe, Re);
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
|
-
}, [Re, He, D,
|
|
3488
|
+
}, [Re, He, D, T]), A.useEffect(() => {
|
|
3489
3489
|
let ye;
|
|
3490
3490
|
if (P && K.current && L) {
|
|
3491
3491
|
const pe = L.createElement("style");
|
|
@@ -3500,7 +3500,7 @@ function il(e) {
|
|
|
3500
3500
|
K.current = !1;
|
|
3501
3501
|
}), []);
|
|
3502
3502
|
const zt = A.useMemo(() => ({
|
|
3503
|
-
allColorSchemes:
|
|
3503
|
+
allColorSchemes: T,
|
|
3504
3504
|
colorScheme: Re,
|
|
3505
3505
|
darkColorScheme: ze,
|
|
3506
3506
|
lightColorScheme: ke,
|
|
@@ -3511,19 +3511,19 @@ function il(e) {
|
|
|
3511
3511
|
`)), Y(ye);
|
|
3512
3512
|
},
|
|
3513
3513
|
systemMode: we
|
|
3514
|
-
}), [
|
|
3514
|
+
}), [T, Re, ze, ke, tt, gt, Y, we, We.colorSchemeSelector]);
|
|
3515
3515
|
let yt = !0;
|
|
3516
|
-
(
|
|
3517
|
-
const bt = /* @__PURE__ */
|
|
3518
|
-
children: [/* @__PURE__ */
|
|
3516
|
+
(c || F.cssVariables === !1 || ne && (X == null ? void 0 : X.cssVarPrefix) === H) && (yt = !1);
|
|
3517
|
+
const bt = /* @__PURE__ */ l.jsxs(A.Fragment, {
|
|
3518
|
+
children: [/* @__PURE__ */ l.jsx(en, {
|
|
3519
3519
|
themeId: x ? t : void 0,
|
|
3520
3520
|
theme: We,
|
|
3521
3521
|
children: M
|
|
3522
|
-
}), yt && /* @__PURE__ */
|
|
3522
|
+
}), yt && /* @__PURE__ */ l.jsx($r, {
|
|
3523
3523
|
styles: ((St = We.generateStyleSheets) == null ? void 0 : St.call(We)) || []
|
|
3524
3524
|
})]
|
|
3525
3525
|
});
|
|
3526
|
-
return ne ? bt : /* @__PURE__ */
|
|
3526
|
+
return ne ? bt : /* @__PURE__ */ l.jsx(f.Provider, {
|
|
3527
3527
|
value: zt,
|
|
3528
3528
|
children: bt
|
|
3529
3529
|
});
|
|
@@ -3596,12 +3596,12 @@ function il(e) {
|
|
|
3596
3596
|
return {
|
|
3597
3597
|
CssVarsProvider: u,
|
|
3598
3598
|
useColorScheme: p,
|
|
3599
|
-
getInitColorSchemeScript: (
|
|
3599
|
+
getInitColorSchemeScript: (v) => el({
|
|
3600
3600
|
colorSchemeStorageKey: o,
|
|
3601
3601
|
defaultLightColorScheme: b,
|
|
3602
3602
|
defaultDarkColorScheme: m,
|
|
3603
3603
|
modeStorageKey: r,
|
|
3604
|
-
...
|
|
3604
|
+
...v
|
|
3605
3605
|
})
|
|
3606
3606
|
};
|
|
3607
3607
|
}
|
|
@@ -3655,7 +3655,7 @@ function ir(e, t) {
|
|
|
3655
3655
|
}
|
|
3656
3656
|
function dl(e, t = {}) {
|
|
3657
3657
|
const {
|
|
3658
|
-
getSelector: n =
|
|
3658
|
+
getSelector: n = v,
|
|
3659
3659
|
disableCssColorScheme: r,
|
|
3660
3660
|
colorSchemeSelector: o,
|
|
3661
3661
|
enableContrastVars: s
|
|
@@ -3672,100 +3672,100 @@ function dl(e, t = {}) {
|
|
|
3672
3672
|
let u = y;
|
|
3673
3673
|
const b = {}, {
|
|
3674
3674
|
[d]: m,
|
|
3675
|
-
...
|
|
3675
|
+
...S
|
|
3676
3676
|
} = i;
|
|
3677
|
-
if (Object.entries(
|
|
3677
|
+
if (Object.entries(S || {}).forEach(([I, C]) => {
|
|
3678
3678
|
const {
|
|
3679
3679
|
vars: P,
|
|
3680
3680
|
css: V,
|
|
3681
3681
|
varsWithDefaults: k
|
|
3682
|
-
} = ir(
|
|
3683
|
-
u = De(u, k), b[
|
|
3682
|
+
} = ir(C, t);
|
|
3683
|
+
u = De(u, k), b[I] = {
|
|
3684
3684
|
css: V,
|
|
3685
3685
|
vars: P
|
|
3686
3686
|
};
|
|
3687
3687
|
}), m) {
|
|
3688
3688
|
const {
|
|
3689
|
-
css:
|
|
3690
|
-
vars:
|
|
3689
|
+
css: I,
|
|
3690
|
+
vars: C,
|
|
3691
3691
|
varsWithDefaults: P
|
|
3692
3692
|
} = ir(m, t);
|
|
3693
3693
|
u = De(u, P), b[d] = {
|
|
3694
|
-
css:
|
|
3695
|
-
vars:
|
|
3694
|
+
css: I,
|
|
3695
|
+
vars: C
|
|
3696
3696
|
};
|
|
3697
3697
|
}
|
|
3698
|
-
function
|
|
3698
|
+
function v(I, C) {
|
|
3699
3699
|
var V, k;
|
|
3700
3700
|
let P = o;
|
|
3701
|
-
if (o === "class" && (P = ".%s"), o === "data" && (P = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (P = `[${o}="%s"]`),
|
|
3701
|
+
if (o === "class" && (P = ".%s"), o === "data" && (P = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (P = `[${o}="%s"]`), I) {
|
|
3702
3702
|
if (P === "media")
|
|
3703
|
-
return e.defaultColorScheme ===
|
|
3704
|
-
[`@media (prefers-color-scheme: ${((k = (V = i[
|
|
3705
|
-
":root":
|
|
3703
|
+
return e.defaultColorScheme === I ? ":root" : {
|
|
3704
|
+
[`@media (prefers-color-scheme: ${((k = (V = i[I]) == null ? void 0 : V.palette) == null ? void 0 : k.mode) || I})`]: {
|
|
3705
|
+
":root": C
|
|
3706
3706
|
}
|
|
3707
3707
|
};
|
|
3708
3708
|
if (P)
|
|
3709
|
-
return e.defaultColorScheme ===
|
|
3709
|
+
return e.defaultColorScheme === I ? `:root, ${P.replace("%s", String(I))}` : P.replace("%s", String(I));
|
|
3710
3710
|
}
|
|
3711
3711
|
return ":root";
|
|
3712
3712
|
}
|
|
3713
3713
|
return {
|
|
3714
3714
|
vars: u,
|
|
3715
3715
|
generateThemeVars: () => {
|
|
3716
|
-
let
|
|
3716
|
+
let I = {
|
|
3717
3717
|
...p
|
|
3718
3718
|
};
|
|
3719
3719
|
return Object.entries(b).forEach(([, {
|
|
3720
|
-
vars:
|
|
3720
|
+
vars: C
|
|
3721
3721
|
}]) => {
|
|
3722
|
-
|
|
3723
|
-
}),
|
|
3722
|
+
I = De(I, C);
|
|
3723
|
+
}), I;
|
|
3724
3724
|
},
|
|
3725
3725
|
generateStyleSheets: () => {
|
|
3726
3726
|
var L, D;
|
|
3727
|
-
const
|
|
3728
|
-
function P(
|
|
3729
|
-
Object.keys(
|
|
3730
|
-
[
|
|
3731
|
-
...
|
|
3727
|
+
const I = [], C = e.defaultColorScheme || "light";
|
|
3728
|
+
function P(w, c) {
|
|
3729
|
+
Object.keys(c).length && I.push(typeof w == "string" ? {
|
|
3730
|
+
[w]: {
|
|
3731
|
+
...c
|
|
3732
3732
|
}
|
|
3733
|
-
} :
|
|
3733
|
+
} : w);
|
|
3734
3734
|
}
|
|
3735
3735
|
P(n(void 0, {
|
|
3736
3736
|
...g
|
|
3737
3737
|
}), g);
|
|
3738
3738
|
const {
|
|
3739
|
-
[
|
|
3739
|
+
[C]: V,
|
|
3740
3740
|
...k
|
|
3741
3741
|
} = b;
|
|
3742
3742
|
if (V) {
|
|
3743
3743
|
const {
|
|
3744
|
-
css:
|
|
3745
|
-
} = V,
|
|
3746
|
-
colorScheme:
|
|
3747
|
-
...
|
|
3744
|
+
css: w
|
|
3745
|
+
} = V, c = (D = (L = i[C]) == null ? void 0 : L.palette) == null ? void 0 : D.mode, j = !r && c ? {
|
|
3746
|
+
colorScheme: c,
|
|
3747
|
+
...w
|
|
3748
3748
|
} : {
|
|
3749
|
-
...
|
|
3749
|
+
...w
|
|
3750
3750
|
};
|
|
3751
|
-
P(n(
|
|
3752
|
-
...
|
|
3753
|
-
}),
|
|
3751
|
+
P(n(C, {
|
|
3752
|
+
...j
|
|
3753
|
+
}), j);
|
|
3754
3754
|
}
|
|
3755
|
-
return Object.entries(k).forEach(([
|
|
3756
|
-
css:
|
|
3755
|
+
return Object.entries(k).forEach(([w, {
|
|
3756
|
+
css: c
|
|
3757
3757
|
}]) => {
|
|
3758
3758
|
var z, K;
|
|
3759
|
-
const
|
|
3760
|
-
colorScheme:
|
|
3761
|
-
...
|
|
3759
|
+
const j = (K = (z = i[w]) == null ? void 0 : z.palette) == null ? void 0 : K.mode, R = !r && j ? {
|
|
3760
|
+
colorScheme: j,
|
|
3761
|
+
...c
|
|
3762
3762
|
} : {
|
|
3763
|
-
...
|
|
3763
|
+
...c
|
|
3764
3764
|
};
|
|
3765
|
-
P(n(
|
|
3766
|
-
...
|
|
3767
|
-
}),
|
|
3768
|
-
}), s &&
|
|
3765
|
+
P(n(w, {
|
|
3766
|
+
...R
|
|
3767
|
+
}), R);
|
|
3768
|
+
}), s && I.push({
|
|
3769
3769
|
":root": {
|
|
3770
3770
|
// use double underscore to indicate that these are private variables
|
|
3771
3771
|
"--__l-threshold": "0.7",
|
|
@@ -3773,7 +3773,7 @@ function dl(e, t = {}) {
|
|
|
3773
3773
|
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
3774
3774
|
// 0.87 is the default alpha value for black text.
|
|
3775
3775
|
}
|
|
3776
|
-
}),
|
|
3776
|
+
}), I;
|
|
3777
3777
|
}
|
|
3778
3778
|
};
|
|
3779
3779
|
}
|
|
@@ -3995,32 +3995,32 @@ function Fr(e) {
|
|
|
3995
3995
|
colorSpace: o,
|
|
3996
3996
|
...s
|
|
3997
3997
|
} = e, i = e.primary || ml(t), a = e.secondary || hl(t), d = e.error || gl(t), f = e.info || yl(t), p = e.success || bl(t), g = e.warning || xl(t);
|
|
3998
|
-
function y(
|
|
3998
|
+
function y(S) {
|
|
3999
3999
|
if (o)
|
|
4000
|
-
return vl(
|
|
4001
|
-
const
|
|
4000
|
+
return vl(S);
|
|
4001
|
+
const v = $o(S, pr.text.primary) >= n ? pr.text.primary : Xs.text.primary;
|
|
4002
4002
|
if (process.env.NODE_ENV !== "production") {
|
|
4003
|
-
const M = $o(
|
|
4004
|
-
M < 3 && console.error([`MUI: The contrast ratio of ${M}:1 for ${
|
|
4003
|
+
const M = $o(S, v);
|
|
4004
|
+
M < 3 && console.error([`MUI: The contrast ratio of ${M}:1 for ${v} on ${S}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
4005
4005
|
`));
|
|
4006
4006
|
}
|
|
4007
|
-
return
|
|
4007
|
+
return v;
|
|
4008
4008
|
}
|
|
4009
4009
|
const u = ({
|
|
4010
|
-
color:
|
|
4011
|
-
name:
|
|
4010
|
+
color: S,
|
|
4011
|
+
name: v,
|
|
4012
4012
|
mainShade: M = 500,
|
|
4013
|
-
lightShade:
|
|
4014
|
-
darkShade:
|
|
4013
|
+
lightShade: _ = 300,
|
|
4014
|
+
darkShade: I = 700
|
|
4015
4015
|
}) => {
|
|
4016
|
-
if (
|
|
4017
|
-
...
|
|
4018
|
-
}, !
|
|
4019
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
4020
|
-
The color object needs to have a \`main\` property or a \`${M}\` property.` : mt(11,
|
|
4021
|
-
if (typeof
|
|
4022
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
4023
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
4016
|
+
if (S = {
|
|
4017
|
+
...S
|
|
4018
|
+
}, !S.main && S[M] && (S.main = S[M]), !S.hasOwnProperty("main"))
|
|
4019
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${v ? ` (${v})` : ""} provided to augmentColor(color) is invalid.
|
|
4020
|
+
The color object needs to have a \`main\` property or a \`${M}\` property.` : mt(11, v ? ` (${v})` : "", M));
|
|
4021
|
+
if (typeof S.main != "string")
|
|
4022
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${v ? ` (${v})` : ""} provided to augmentColor(color) is invalid.
|
|
4023
|
+
\`color.main\` should be a string, but \`${JSON.stringify(S.main)}\` was provided instead.
|
|
4024
4024
|
|
|
4025
4025
|
Did you intend to use one of the following approaches?
|
|
4026
4026
|
|
|
@@ -4032,8 +4032,8 @@ const theme1 = createTheme({ palette: {
|
|
|
4032
4032
|
|
|
4033
4033
|
const theme2 = createTheme({ palette: {
|
|
4034
4034
|
primary: { main: green[500] },
|
|
4035
|
-
} });` : mt(12,
|
|
4036
|
-
return o ? (Vo(o,
|
|
4035
|
+
} });` : mt(12, v ? ` (${v})` : "", JSON.stringify(S.main)));
|
|
4036
|
+
return o ? (Vo(o, S, "light", _, r), Vo(o, S, "dark", I, r)) : (Fo(S, "light", _, r), Fo(S, "dark", I, r)), S.contrastText || (S.contrastText = y(S.main)), S;
|
|
4037
4037
|
};
|
|
4038
4038
|
let b;
|
|
4039
4039
|
return t === "light" ? b = Gs() : t === "dark" && (b = Js()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), De({
|
|
@@ -4142,18 +4142,18 @@ function Qs(e, t) {
|
|
|
4142
4142
|
...g
|
|
4143
4143
|
} = typeof t == "function" ? t(e) : t;
|
|
4144
4144
|
process.env.NODE_ENV !== "production" && (typeof r != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
4145
|
-
const y = r / 14, u = p || ((
|
|
4145
|
+
const y = r / 14, u = p || ((S) => `${S / d * y}rem`), b = (S, v, M, _, I) => ({
|
|
4146
4146
|
fontFamily: n,
|
|
4147
|
-
fontWeight:
|
|
4148
|
-
fontSize: u(
|
|
4147
|
+
fontWeight: S,
|
|
4148
|
+
fontSize: u(v),
|
|
4149
4149
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
4150
4150
|
lineHeight: M,
|
|
4151
4151
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
4152
4152
|
// across font-families can cause issues with the kerning.
|
|
4153
4153
|
...n === zo ? {
|
|
4154
|
-
letterSpacing: `${wl(
|
|
4154
|
+
letterSpacing: `${wl(_ / v)}em`
|
|
4155
4155
|
} : {},
|
|
4156
|
-
|
|
4156
|
+
...I,
|
|
4157
4157
|
...f
|
|
4158
4158
|
}), m = {
|
|
4159
4159
|
h1: b(o, 96, 1.167, -1.5),
|
|
@@ -4368,36 +4368,36 @@ function mr(e = {}, ...t) {
|
|
|
4368
4368
|
...Nl
|
|
4369
4369
|
}
|
|
4370
4370
|
});
|
|
4371
|
-
if (b = De(b, g), b = t.reduce((m,
|
|
4372
|
-
const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"],
|
|
4373
|
-
let
|
|
4374
|
-
for (
|
|
4375
|
-
const
|
|
4376
|
-
if (m.includes(
|
|
4371
|
+
if (b = De(b, g), b = t.reduce((m, S) => De(m, S), b), delete b.transitions.reducedMotion, process.env.NODE_ENV !== "production") {
|
|
4372
|
+
const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], S = (v, M) => {
|
|
4373
|
+
let _;
|
|
4374
|
+
for (_ in v) {
|
|
4375
|
+
const I = v[_];
|
|
4376
|
+
if (m.includes(_) && Object.keys(I).length > 0) {
|
|
4377
4377
|
if (process.env.NODE_ENV !== "production") {
|
|
4378
|
-
const
|
|
4379
|
-
console.error([`MUI: The \`${M}\` component increases the CSS specificity of the \`${
|
|
4378
|
+
const C = ht("", _);
|
|
4379
|
+
console.error([`MUI: The \`${M}\` component increases the CSS specificity of the \`${_}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
|
|
4380
4380
|
root: {
|
|
4381
|
-
[`&.${
|
|
4381
|
+
[`&.${C}`]: I
|
|
4382
4382
|
}
|
|
4383
4383
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
4384
4384
|
`));
|
|
4385
4385
|
}
|
|
4386
|
-
|
|
4386
|
+
v[_] = {};
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
4389
4389
|
};
|
|
4390
|
-
Object.keys(b.components).forEach((
|
|
4391
|
-
const M = b.components[
|
|
4392
|
-
M &&
|
|
4390
|
+
Object.keys(b.components).forEach((v) => {
|
|
4391
|
+
const M = b.components[v].styleOverrides;
|
|
4392
|
+
M && v.startsWith("Mui") && S(M, v);
|
|
4393
4393
|
});
|
|
4394
4394
|
}
|
|
4395
4395
|
return b.unstable_sxConfig = {
|
|
4396
4396
|
...Wn,
|
|
4397
4397
|
...g == null ? void 0 : g.unstable_sxConfig
|
|
4398
|
-
}, b.unstable_sx = function(
|
|
4398
|
+
}, b.unstable_sx = function(S) {
|
|
4399
4399
|
return At({
|
|
4400
|
-
sx:
|
|
4400
|
+
sx: S,
|
|
4401
4401
|
theme: this
|
|
4402
4402
|
});
|
|
4403
4403
|
}, b.toRuntimeSource = Zs, Fl(b), b;
|
|
@@ -4494,7 +4494,7 @@ function ql(e, t) {
|
|
|
4494
4494
|
e[n] || (e[n] = {});
|
|
4495
4495
|
});
|
|
4496
4496
|
}
|
|
4497
|
-
function
|
|
4497
|
+
function O(e, t, n) {
|
|
4498
4498
|
!e[t] && n && (e[t] = n);
|
|
4499
4499
|
}
|
|
4500
4500
|
function Kt(e) {
|
|
@@ -4566,60 +4566,60 @@ function Gl(e = {}, ...t) {
|
|
|
4566
4566
|
} = e, g = Object.keys(n)[0], y = r || (n.light && g !== "light" ? "light" : g), u = Kl(s), {
|
|
4567
4567
|
[y]: b,
|
|
4568
4568
|
light: m,
|
|
4569
|
-
dark:
|
|
4570
|
-
...
|
|
4569
|
+
dark: S,
|
|
4570
|
+
...v
|
|
4571
4571
|
} = n, M = {
|
|
4572
|
-
...
|
|
4572
|
+
...v
|
|
4573
4573
|
};
|
|
4574
|
-
let
|
|
4575
|
-
if ((y === "dark" && !("dark" in n) || y === "light" && !("light" in n)) && (
|
|
4574
|
+
let _ = b;
|
|
4575
|
+
if ((y === "dark" && !("dark" in n) || y === "light" && !("light" in n)) && (_ = !0), !_)
|
|
4576
4576
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${y}\` option is either missing or invalid.` : mt(21, y));
|
|
4577
|
-
let
|
|
4578
|
-
i && (
|
|
4579
|
-
const
|
|
4580
|
-
m && !M.light && ar(
|
|
4577
|
+
let I;
|
|
4578
|
+
i && (I = "oklch");
|
|
4579
|
+
const C = ar(I, M, _, p, y);
|
|
4580
|
+
m && !M.light && ar(I, M, m, void 0, "light"), S && !M.dark && ar(I, M, S, void 0, "dark");
|
|
4581
4581
|
let P = {
|
|
4582
4582
|
defaultColorScheme: y,
|
|
4583
|
-
...
|
|
4583
|
+
...C,
|
|
4584
4584
|
cssVarPrefix: s,
|
|
4585
4585
|
colorSchemeSelector: d,
|
|
4586
4586
|
rootSelector: f,
|
|
4587
4587
|
getCssVar: u,
|
|
4588
4588
|
colorSchemes: M,
|
|
4589
4589
|
font: {
|
|
4590
|
-
...Cl(
|
|
4591
|
-
...
|
|
4590
|
+
...Cl(C.typography),
|
|
4591
|
+
...C.font
|
|
4592
4592
|
},
|
|
4593
4593
|
spacing: Hl(p.spacing)
|
|
4594
4594
|
};
|
|
4595
|
-
Object.keys(P.colorSchemes).forEach((
|
|
4596
|
-
const
|
|
4595
|
+
Object.keys(P.colorSchemes).forEach((w) => {
|
|
4596
|
+
const c = P.colorSchemes[w].palette, j = (z) => {
|
|
4597
4597
|
const K = z.split("-"), X = K[1], ee = K[2];
|
|
4598
|
-
return u(z,
|
|
4598
|
+
return u(z, c[X][ee]);
|
|
4599
4599
|
};
|
|
4600
|
-
|
|
4601
|
-
function
|
|
4602
|
-
if (
|
|
4600
|
+
c.mode === "light" && (O(c.common, "background", "#fff"), O(c.common, "onBackground", "#000")), c.mode === "dark" && (O(c.common, "background", "#000"), O(c.common, "onBackground", "#fff"));
|
|
4601
|
+
function R(z, K, X) {
|
|
4602
|
+
if (I) {
|
|
4603
4603
|
let ee;
|
|
4604
|
-
return z === lt && (ee = `transparent ${((1 - X) * 100).toFixed(0)}%`), z === ce && (ee = `#000 ${(X * 100).toFixed(0)}%`), z === le && (ee = `#fff ${(X * 100).toFixed(0)}%`), `color-mix(in ${
|
|
4604
|
+
return z === lt && (ee = `transparent ${((1 - X) * 100).toFixed(0)}%`), z === ce && (ee = `#000 ${(X * 100).toFixed(0)}%`), z === le && (ee = `#fff ${(X * 100).toFixed(0)}%`), `color-mix(in ${I}, ${K}, ${ee})`;
|
|
4605
4605
|
}
|
|
4606
4606
|
return z(K, X);
|
|
4607
4607
|
}
|
|
4608
|
-
if (ql(
|
|
4609
|
-
|
|
4610
|
-
const z =
|
|
4611
|
-
|
|
4608
|
+
if (ql(c, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), c.mode === "light") {
|
|
4609
|
+
O(c.Alert, "errorColor", R(ce, i ? u("palette-error-light") : c.error.light, 0.6)), O(c.Alert, "infoColor", R(ce, i ? u("palette-info-light") : c.info.light, 0.6)), O(c.Alert, "successColor", R(ce, i ? u("palette-success-light") : c.success.light, 0.6)), O(c.Alert, "warningColor", R(ce, i ? u("palette-warning-light") : c.warning.light, 0.6)), O(c.Alert, "errorFilledBg", j("palette-error-main")), O(c.Alert, "infoFilledBg", j("palette-info-main")), O(c.Alert, "successFilledBg", j("palette-success-main")), O(c.Alert, "warningFilledBg", j("palette-warning-main")), O(c.Alert, "errorFilledColor", Ue(() => c.getContrastText(c.error.main))), O(c.Alert, "infoFilledColor", Ue(() => c.getContrastText(c.info.main))), O(c.Alert, "successFilledColor", Ue(() => c.getContrastText(c.success.main))), O(c.Alert, "warningFilledColor", Ue(() => c.getContrastText(c.warning.main))), O(c.Alert, "errorStandardBg", R(le, i ? u("palette-error-light") : c.error.light, 0.9)), O(c.Alert, "infoStandardBg", R(le, i ? u("palette-info-light") : c.info.light, 0.9)), O(c.Alert, "successStandardBg", R(le, i ? u("palette-success-light") : c.success.light, 0.9)), O(c.Alert, "warningStandardBg", R(le, i ? u("palette-warning-light") : c.warning.light, 0.9)), O(c.Alert, "errorIconColor", j("palette-error-main")), O(c.Alert, "infoIconColor", j("palette-info-main")), O(c.Alert, "successIconColor", j("palette-success-main")), O(c.Alert, "warningIconColor", j("palette-warning-main")), O(c.AppBar, "defaultBg", j("palette-grey-100")), O(c.Avatar, "defaultBg", j("palette-grey-400")), O(c.Button, "inheritContainedBg", j("palette-grey-300")), O(c.Button, "inheritContainedHoverBg", j("palette-grey-A100")), O(c.Chip, "defaultBorder", j("palette-grey-400")), O(c.Chip, "defaultAvatarColor", j("palette-grey-700")), O(c.Chip, "defaultIconColor", j("palette-grey-700")), O(c.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), O(c.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), O(c.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), O(c.LinearProgress, "primaryBg", R(le, i ? u("palette-primary-main") : c.primary.main, 0.62)), O(c.LinearProgress, "secondaryBg", R(le, i ? u("palette-secondary-main") : c.secondary.main, 0.62)), O(c.LinearProgress, "errorBg", R(le, i ? u("palette-error-main") : c.error.main, 0.62)), O(c.LinearProgress, "infoBg", R(le, i ? u("palette-info-main") : c.info.main, 0.62)), O(c.LinearProgress, "successBg", R(le, i ? u("palette-success-main") : c.success.main, 0.62)), O(c.LinearProgress, "warningBg", R(le, i ? u("palette-warning-light") : c.warning.main, 0.62)), O(c.Skeleton, "bg", I ? R(lt, i ? u("palette-text-primary") : c.text.primary, 0.11) : `rgba(${j("palette-text-primaryChannel")} / 0.11)`), O(c.Slider, "primaryTrack", R(le, i ? u("palette-primary-main") : c.primary.main, 0.62)), O(c.Slider, "secondaryTrack", R(le, i ? u("palette-secondary-main") : c.secondary.main, 0.62)), O(c.Slider, "errorTrack", R(le, i ? u("palette-error-main") : c.error.main, 0.62)), O(c.Slider, "infoTrack", R(le, i ? u("palette-info-main") : c.info.main, 0.62)), O(c.Slider, "successTrack", R(le, i ? u("palette-success-main") : c.success.main, 0.62)), O(c.Slider, "warningTrack", R(le, i ? u("palette-warning-main") : c.warning.main, 0.62));
|
|
4610
|
+
const z = I ? R(ce, i ? u("palette-background-default") : c.background.default, 0.6825) : mn(c.background.default, 0.8);
|
|
4611
|
+
O(c.SnackbarContent, "bg", z), O(c.SnackbarContent, "color", Ue(() => I ? pr.text.primary : c.getContrastText(z))), O(c.SpeedDialAction, "fabHoverBg", mn(c.background.paper, 0.15)), O(c.StepConnector, "border", j("palette-grey-400")), O(c.StepContent, "border", j("palette-grey-400")), O(c.Switch, "defaultColor", j("palette-common-white")), O(c.Switch, "defaultDisabledColor", j("palette-grey-100")), O(c.Switch, "primaryDisabledColor", R(le, i ? u("palette-primary-main") : c.primary.main, 0.62)), O(c.Switch, "secondaryDisabledColor", R(le, i ? u("palette-secondary-main") : c.secondary.main, 0.62)), O(c.Switch, "errorDisabledColor", R(le, i ? u("palette-error-main") : c.error.main, 0.62)), O(c.Switch, "infoDisabledColor", R(le, i ? u("palette-info-main") : c.info.main, 0.62)), O(c.Switch, "successDisabledColor", R(le, i ? u("palette-success-main") : c.success.main, 0.62)), O(c.Switch, "warningDisabledColor", R(le, i ? u("palette-warning-main") : c.warning.main, 0.62)), O(c.TableCell, "border", R(le, lt(i ? u("palette-divider") : c.divider, 1), 0.88)), O(c.Tooltip, "bg", R(lt, i ? u("palette-grey-700") : c.grey[700], 0.92));
|
|
4612
4612
|
}
|
|
4613
|
-
if (
|
|
4614
|
-
|
|
4615
|
-
const z =
|
|
4616
|
-
|
|
4613
|
+
if (c.mode === "dark") {
|
|
4614
|
+
O(c.Alert, "errorColor", R(le, i ? u("palette-error-light") : c.error.light, 0.6)), O(c.Alert, "infoColor", R(le, i ? u("palette-info-light") : c.info.light, 0.6)), O(c.Alert, "successColor", R(le, i ? u("palette-success-light") : c.success.light, 0.6)), O(c.Alert, "warningColor", R(le, i ? u("palette-warning-light") : c.warning.light, 0.6)), O(c.Alert, "errorFilledBg", j("palette-error-dark")), O(c.Alert, "infoFilledBg", j("palette-info-dark")), O(c.Alert, "successFilledBg", j("palette-success-dark")), O(c.Alert, "warningFilledBg", j("palette-warning-dark")), O(c.Alert, "errorFilledColor", Ue(() => c.getContrastText(c.error.dark))), O(c.Alert, "infoFilledColor", Ue(() => c.getContrastText(c.info.dark))), O(c.Alert, "successFilledColor", Ue(() => c.getContrastText(c.success.dark))), O(c.Alert, "warningFilledColor", Ue(() => c.getContrastText(c.warning.dark))), O(c.Alert, "errorStandardBg", R(ce, i ? u("palette-error-light") : c.error.light, 0.9)), O(c.Alert, "infoStandardBg", R(ce, i ? u("palette-info-light") : c.info.light, 0.9)), O(c.Alert, "successStandardBg", R(ce, i ? u("palette-success-light") : c.success.light, 0.9)), O(c.Alert, "warningStandardBg", R(ce, i ? u("palette-warning-light") : c.warning.light, 0.9)), O(c.Alert, "errorIconColor", j("palette-error-main")), O(c.Alert, "infoIconColor", j("palette-info-main")), O(c.Alert, "successIconColor", j("palette-success-main")), O(c.Alert, "warningIconColor", j("palette-warning-main")), O(c.AppBar, "defaultBg", j("palette-grey-900")), O(c.AppBar, "darkBg", j("palette-background-paper")), O(c.AppBar, "darkColor", j("palette-text-primary")), O(c.Avatar, "defaultBg", j("palette-grey-600")), O(c.Button, "inheritContainedBg", j("palette-grey-800")), O(c.Button, "inheritContainedHoverBg", j("palette-grey-700")), O(c.Chip, "defaultBorder", j("palette-grey-700")), O(c.Chip, "defaultAvatarColor", j("palette-grey-300")), O(c.Chip, "defaultIconColor", j("palette-grey-300")), O(c.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), O(c.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), O(c.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), O(c.LinearProgress, "primaryBg", R(ce, i ? u("palette-primary-main") : c.primary.main, 0.5)), O(c.LinearProgress, "secondaryBg", R(ce, i ? u("palette-secondary-main") : c.secondary.main, 0.5)), O(c.LinearProgress, "errorBg", R(ce, i ? u("palette-error-main") : c.error.main, 0.5)), O(c.LinearProgress, "infoBg", R(ce, i ? u("palette-info-main") : c.info.main, 0.5)), O(c.LinearProgress, "successBg", R(ce, i ? u("palette-success-main") : c.success.main, 0.5)), O(c.LinearProgress, "warningBg", R(ce, i ? u("palette-warning-main") : c.warning.main, 0.5)), O(c.Skeleton, "bg", I ? R(lt, i ? u("palette-text-primary") : c.text.primary, 0.13) : `rgba(${j("palette-text-primaryChannel")} / 0.13)`), O(c.Slider, "primaryTrack", R(ce, i ? u("palette-primary-main") : c.primary.main, 0.5)), O(c.Slider, "secondaryTrack", R(ce, i ? u("palette-secondary-main") : c.secondary.main, 0.5)), O(c.Slider, "errorTrack", R(ce, i ? u("palette-error-main") : c.error.main, 0.5)), O(c.Slider, "infoTrack", R(ce, i ? u("palette-info-main") : c.info.main, 0.5)), O(c.Slider, "successTrack", R(ce, i ? u("palette-success-main") : c.success.main, 0.5)), O(c.Slider, "warningTrack", R(ce, i ? u("palette-warning-light") : c.warning.main, 0.5));
|
|
4615
|
+
const z = I ? R(le, i ? u("palette-background-default") : c.background.default, 0.985) : mn(c.background.default, 0.98);
|
|
4616
|
+
O(c.SnackbarContent, "bg", z), O(c.SnackbarContent, "color", Ue(() => I ? Xs.text.primary : c.getContrastText(z))), O(c.SpeedDialAction, "fabHoverBg", mn(c.background.paper, 0.15)), O(c.StepConnector, "border", j("palette-grey-600")), O(c.StepContent, "border", j("palette-grey-600")), O(c.Switch, "defaultColor", j("palette-grey-300")), O(c.Switch, "defaultDisabledColor", j("palette-grey-600")), O(c.Switch, "primaryDisabledColor", R(ce, i ? u("palette-primary-main") : c.primary.main, 0.55)), O(c.Switch, "secondaryDisabledColor", R(ce, i ? u("palette-secondary-main") : c.secondary.main, 0.55)), O(c.Switch, "errorDisabledColor", R(ce, i ? u("palette-error-main") : c.error.main, 0.55)), O(c.Switch, "infoDisabledColor", R(ce, i ? u("palette-info-main") : c.info.main, 0.55)), O(c.Switch, "successDisabledColor", R(ce, i ? u("palette-success-main") : c.success.main, 0.55)), O(c.Switch, "warningDisabledColor", R(ce, i ? u("palette-warning-light") : c.warning.main, 0.55)), O(c.TableCell, "border", R(ce, lt(i ? u("palette-divider") : c.divider, 1), 0.68)), O(c.Tooltip, "bg", R(lt, i ? u("palette-grey-700") : c.grey[700], 0.92));
|
|
4617
4617
|
}
|
|
4618
|
-
i || (Ke(
|
|
4619
|
-
const K =
|
|
4620
|
-
z !== "tonalOffset" && !i && K && typeof K == "object" && (K.main &&
|
|
4618
|
+
i || (Ke(c.background, "default"), Ke(c.background, "paper"), Ke(c.common, "background"), Ke(c.common, "onBackground"), Ke(c, "divider")), Object.keys(c).forEach((z) => {
|
|
4619
|
+
const K = c[z];
|
|
4620
|
+
z !== "tonalOffset" && !i && K && typeof K == "object" && (K.main && O(c[z], "mainChannel", Ht(Kt(K.main))), K.light && O(c[z], "lightChannel", Ht(Kt(K.light))), K.dark && O(c[z], "darkChannel", Ht(Kt(K.dark))), K.contrastText && O(c[z], "contrastTextChannel", Ht(Kt(K.contrastText))), z === "text" && (Ke(c[z], "primary"), Ke(c[z], "secondary")), z === "action" && (K.active && Ke(c[z], "active"), K.selected && Ke(c[z], "selected")));
|
|
4621
4621
|
});
|
|
4622
|
-
}), P = t.reduce((
|
|
4622
|
+
}), P = t.reduce((w, c) => De(w, c), P);
|
|
4623
4623
|
const V = {
|
|
4624
4624
|
prefix: s,
|
|
4625
4625
|
disableCssColorScheme: o,
|
|
@@ -4631,16 +4631,16 @@ function Gl(e = {}, ...t) {
|
|
|
4631
4631
|
generateThemeVars: L,
|
|
4632
4632
|
generateStyleSheets: D
|
|
4633
4633
|
} = dl(P, V);
|
|
4634
|
-
return P.vars = k, Object.entries(P.colorSchemes[P.defaultColorScheme]).forEach(([
|
|
4635
|
-
P[
|
|
4634
|
+
return P.vars = k, Object.entries(P.colorSchemes[P.defaultColorScheme]).forEach(([w, c]) => {
|
|
4635
|
+
P[w] = c;
|
|
4636
4636
|
}), P.generateThemeVars = L, P.generateStyleSheets = D, P.generateSpacing = function() {
|
|
4637
4637
|
return Ms(p.spacing, Rr(this));
|
|
4638
4638
|
}, P.getColorSchemeSelector = fl(d), P.spacing = P.generateSpacing(), P.shouldSkipGeneratingVar = a, P.unstable_sxConfig = {
|
|
4639
4639
|
...Wn,
|
|
4640
4640
|
...p == null ? void 0 : p.unstable_sxConfig
|
|
4641
|
-
}, P.unstable_sx = function(
|
|
4641
|
+
}, P.unstable_sx = function(c) {
|
|
4642
4642
|
return At({
|
|
4643
|
-
sx:
|
|
4643
|
+
sx: c,
|
|
4644
4644
|
theme: this
|
|
4645
4645
|
});
|
|
4646
4646
|
}, P.internal_cache = {}, P.toRuntimeSource = Zs, P;
|
|
@@ -4788,60 +4788,60 @@ function tu(e) {
|
|
|
4788
4788
|
tabIndex: d
|
|
4789
4789
|
});
|
|
4790
4790
|
process.env.NODE_ENV !== "production" && A.useEffect(() => {
|
|
4791
|
-
const
|
|
4792
|
-
if (
|
|
4791
|
+
const _ = u.current;
|
|
4792
|
+
if (_ == null)
|
|
4793
4793
|
return;
|
|
4794
|
-
const
|
|
4794
|
+
const I = _.tagName === "BUTTON";
|
|
4795
4795
|
if (n !== void 0) {
|
|
4796
|
-
n &&
|
|
4796
|
+
n && !I && console.error("MUI: A component that acts as a button expected a native <button> because the `nativeButton` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Render a real <button> or set `nativeButton` to `false`."), !n && I && console.error("MUI: A component that acts as a button expected a non-<button> because the `nativeButton` prop is false. Rendering a <button> keeps native behavior while additionally applies non-native attributes and handlers, which can add unintended extra attributes (such as `role` or `aria-disabled`). Render a non-<button> such as <div>, or set `nativeButton` to `true`.");
|
|
4797
4797
|
return;
|
|
4798
4798
|
}
|
|
4799
|
-
o || (r &&
|
|
4799
|
+
o || (r && !I && console.error("MUI: A component rendering a native <button> resolved to a non-<button> element, but `nativeButton={false}` was not specified and the resolved root is a non-<button>. When rendering a custom component, set `nativeButton={false}` explicitly or render a <button> element."), !r && I && console.error("MUI: A component that acts as a non-native button resolved to a native <button> element, but `nativeButton={true}` was not specified. When rendering a custom component, set `nativeButton={true}` explicitly or render a non-<button> element."));
|
|
4800
4800
|
}, [o, r, n]);
|
|
4801
|
-
const
|
|
4802
|
-
const
|
|
4803
|
-
return
|
|
4804
|
-
}, [t]),
|
|
4805
|
-
const
|
|
4801
|
+
const S = A.useCallback(() => {
|
|
4802
|
+
const _ = u.current;
|
|
4803
|
+
return _ == null ? t : _.tagName === "BUTTON" ? !0 : !!(_.tagName === "A" && _.href);
|
|
4804
|
+
}, [t]), v = A.useMemo(() => {
|
|
4805
|
+
const _ = b ? {} : {
|
|
4806
4806
|
tabIndex: s ? -1 : d
|
|
4807
4807
|
};
|
|
4808
|
-
return t ? (
|
|
4809
|
-
...
|
|
4808
|
+
return t ? (_.type = i === void 0 && !a ? "button" : i, b || (_.disabled = s)) : (_.role = "button", !b && s && (_["aria-disabled"] = s)), b ? {
|
|
4809
|
+
..._,
|
|
4810
4810
|
...m
|
|
4811
|
-
} :
|
|
4811
|
+
} : _;
|
|
4812
4812
|
}, [s, b, m, a, t, d, i]);
|
|
4813
4813
|
return {
|
|
4814
|
-
getButtonProps: A.useCallback((
|
|
4814
|
+
getButtonProps: A.useCallback((_ = eu) => {
|
|
4815
4815
|
const {
|
|
4816
|
-
onClick:
|
|
4817
|
-
onKeyDown:
|
|
4816
|
+
onClick: I,
|
|
4817
|
+
onKeyDown: C,
|
|
4818
4818
|
onKeyUp: P,
|
|
4819
4819
|
...V
|
|
4820
|
-
} =
|
|
4820
|
+
} = _;
|
|
4821
4821
|
return {
|
|
4822
|
-
...
|
|
4822
|
+
...v,
|
|
4823
4823
|
...V,
|
|
4824
|
-
onClick: (
|
|
4825
|
-
if (p &&
|
|
4826
|
-
|
|
4824
|
+
onClick: (w) => {
|
|
4825
|
+
if (p && w.stopPropagation(), s) {
|
|
4826
|
+
w.preventDefault();
|
|
4827
4827
|
return;
|
|
4828
4828
|
}
|
|
4829
|
-
|
|
4829
|
+
I == null || I(w);
|
|
4830
4830
|
},
|
|
4831
|
-
onKeyDown: (
|
|
4832
|
-
if (b && m.onKeyDown(
|
|
4833
|
-
if (
|
|
4834
|
-
|
|
4831
|
+
onKeyDown: (w) => {
|
|
4832
|
+
if (b && m.onKeyDown(w), !s && (g == null || g(w), C == null || C(w), !(w.target !== w.currentTarget || S()))) {
|
|
4833
|
+
if (w.key === " ") {
|
|
4834
|
+
w.preventDefault();
|
|
4835
4835
|
return;
|
|
4836
4836
|
}
|
|
4837
|
-
|
|
4837
|
+
w.key === "Enter" && (w.preventDefault(), w.currentTarget.click());
|
|
4838
4838
|
}
|
|
4839
4839
|
},
|
|
4840
|
-
onKeyUp: (
|
|
4841
|
-
s || (y == null || y(
|
|
4840
|
+
onKeyUp: (w) => {
|
|
4841
|
+
s || (y == null || y(w), P == null || P(w), w.target === w.currentTarget && !S() && w.key === " " && !w.defaultPrevented && w.currentTarget.click());
|
|
4842
4842
|
}
|
|
4843
4843
|
};
|
|
4844
|
-
}, [
|
|
4844
|
+
}, [v, s, b, m, S, g, y, p]),
|
|
4845
4845
|
rootRef: u
|
|
4846
4846
|
};
|
|
4847
4847
|
}
|
|
@@ -4945,7 +4945,7 @@ function ii(e) {
|
|
|
4945
4945
|
timeout: f
|
|
4946
4946
|
} = e, [p, g] = A.useState(!1), y = si(), u = A.useRef(!1), b = A.useRef(d);
|
|
4947
4947
|
b.current = d;
|
|
4948
|
-
const m = d != null,
|
|
4948
|
+
const m = d != null, S = _e(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), v = {
|
|
4949
4949
|
width: i,
|
|
4950
4950
|
height: i,
|
|
4951
4951
|
top: -(i / 2) + s,
|
|
@@ -4953,13 +4953,13 @@ function ii(e) {
|
|
|
4953
4953
|
}, M = _e(n.child, p && n.childLeaving, r && n.childPulsate);
|
|
4954
4954
|
return !a && !p && g(!0), A.useEffect(() => {
|
|
4955
4955
|
!a && m ? u.current || (u.current = !0, y.start(f, () => {
|
|
4956
|
-
var
|
|
4957
|
-
u.current = !1, (
|
|
4956
|
+
var _;
|
|
4957
|
+
u.current = !1, (_ = b.current) == null || _.call(b);
|
|
4958
4958
|
})) : (u.current = !1, y.clear());
|
|
4959
|
-
}, [y, m, a, f]), /* @__PURE__ */
|
|
4960
|
-
className:
|
|
4961
|
-
style:
|
|
4962
|
-
children: /* @__PURE__ */
|
|
4959
|
+
}, [y, m, a, f]), /* @__PURE__ */ l.jsx("span", {
|
|
4960
|
+
className: S,
|
|
4961
|
+
style: v,
|
|
4962
|
+
children: /* @__PURE__ */ l.jsx("span", {
|
|
4963
4963
|
className: M
|
|
4964
4964
|
})
|
|
4965
4965
|
});
|
|
@@ -5244,28 +5244,28 @@ const Su = Le("span", {
|
|
|
5244
5244
|
})), A.useEffect(() => {
|
|
5245
5245
|
b.current && (b.current(), b.current = null);
|
|
5246
5246
|
}, [y]);
|
|
5247
|
-
const
|
|
5248
|
-
m.current && g((
|
|
5249
|
-
const
|
|
5247
|
+
const S = A.useRef(!1), v = si(), M = A.useRef(null), _ = A.useRef(null), I = Ne((w) => {
|
|
5248
|
+
m.current && g((c) => {
|
|
5249
|
+
const j = c.items.filter((z) => z.key !== w), R = cr(c.order.filter((z) => z !== w), j.filter((z) => !z.exiting).map((z) => z.key));
|
|
5250
5250
|
return {
|
|
5251
|
-
items:
|
|
5252
|
-
order:
|
|
5251
|
+
items: j,
|
|
5252
|
+
order: R
|
|
5253
5253
|
};
|
|
5254
5254
|
});
|
|
5255
|
-
}),
|
|
5255
|
+
}), C = Ne((w) => {
|
|
5256
5256
|
const {
|
|
5257
|
-
pulsate:
|
|
5258
|
-
rippleX:
|
|
5259
|
-
rippleY:
|
|
5257
|
+
pulsate: c,
|
|
5258
|
+
rippleX: j,
|
|
5259
|
+
rippleY: R,
|
|
5260
5260
|
rippleSize: z,
|
|
5261
5261
|
cb: K
|
|
5262
|
-
} =
|
|
5262
|
+
} = w, X = u.current;
|
|
5263
5263
|
u.current += 1, g((ee) => {
|
|
5264
5264
|
const ne = [...ee.items, {
|
|
5265
5265
|
key: X,
|
|
5266
|
-
pulsate:
|
|
5267
|
-
rippleX:
|
|
5268
|
-
rippleY:
|
|
5266
|
+
pulsate: c,
|
|
5267
|
+
rippleX: j,
|
|
5268
|
+
rippleY: R,
|
|
5269
5269
|
rippleSize: z,
|
|
5270
5270
|
exiting: !1
|
|
5271
5271
|
}];
|
|
@@ -5274,80 +5274,80 @@ const Su = Le("span", {
|
|
|
5274
5274
|
order: cr(ee.order, ne.filter((N) => !N.exiting).map((N) => N.key))
|
|
5275
5275
|
};
|
|
5276
5276
|
}), b.current = K;
|
|
5277
|
-
}), P = Ne((
|
|
5277
|
+
}), P = Ne((w = hn, c = hn, j = gu) => {
|
|
5278
5278
|
const {
|
|
5279
|
-
pulsate:
|
|
5280
|
-
center: z = i ||
|
|
5279
|
+
pulsate: R = !1,
|
|
5280
|
+
center: z = i || c.pulsate,
|
|
5281
5281
|
fakeElement: K = !1
|
|
5282
5282
|
// Used only by tests.
|
|
5283
|
-
} =
|
|
5284
|
-
if ((
|
|
5285
|
-
|
|
5283
|
+
} = c;
|
|
5284
|
+
if ((w == null ? void 0 : w.type) === "mousedown" && S.current) {
|
|
5285
|
+
S.current = !1;
|
|
5286
5286
|
return;
|
|
5287
5287
|
}
|
|
5288
|
-
(
|
|
5289
|
-
const X = K ? null :
|
|
5288
|
+
(w == null ? void 0 : w.type) === "touchstart" && (S.current = !0);
|
|
5289
|
+
const X = K ? null : _.current, {
|
|
5290
5290
|
rippleX: ee,
|
|
5291
5291
|
rippleY: ne,
|
|
5292
5292
|
rippleSize: N
|
|
5293
5293
|
} = yu({
|
|
5294
|
-
event:
|
|
5294
|
+
event: w,
|
|
5295
5295
|
element: X,
|
|
5296
5296
|
center: z
|
|
5297
5297
|
});
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
pulsate:
|
|
5298
|
+
w != null && w.touches ? M.current === null && (M.current = () => {
|
|
5299
|
+
C({
|
|
5300
|
+
pulsate: R,
|
|
5301
5301
|
rippleX: ee,
|
|
5302
5302
|
rippleY: ne,
|
|
5303
5303
|
rippleSize: N,
|
|
5304
|
-
cb:
|
|
5304
|
+
cb: j
|
|
5305
5305
|
});
|
|
5306
|
-
},
|
|
5306
|
+
}, v.start(hu, () => {
|
|
5307
5307
|
M.current && (M.current(), M.current = null);
|
|
5308
|
-
})) :
|
|
5309
|
-
pulsate:
|
|
5308
|
+
})) : C({
|
|
5309
|
+
pulsate: R,
|
|
5310
5310
|
rippleX: ee,
|
|
5311
5311
|
rippleY: ne,
|
|
5312
5312
|
rippleSize: N,
|
|
5313
|
-
cb:
|
|
5313
|
+
cb: j
|
|
5314
5314
|
});
|
|
5315
5315
|
}), V = Ne(() => {
|
|
5316
5316
|
P(hn, {
|
|
5317
5317
|
pulsate: !0
|
|
5318
5318
|
});
|
|
5319
|
-
}), k = Ne((
|
|
5320
|
-
if (
|
|
5321
|
-
M.current(), M.current = null,
|
|
5322
|
-
k(
|
|
5319
|
+
}), k = Ne((w, c) => {
|
|
5320
|
+
if (v.clear(), (w == null ? void 0 : w.type) === "touchend" && M.current) {
|
|
5321
|
+
M.current(), M.current = null, v.start(0, () => {
|
|
5322
|
+
k(w, c);
|
|
5323
5323
|
});
|
|
5324
5324
|
return;
|
|
5325
5325
|
}
|
|
5326
|
-
M.current = null, g((
|
|
5327
|
-
const
|
|
5328
|
-
if (
|
|
5329
|
-
return
|
|
5330
|
-
const z =
|
|
5331
|
-
return z[
|
|
5332
|
-
...z[
|
|
5326
|
+
M.current = null, g((j) => {
|
|
5327
|
+
const R = j.items.findIndex((K) => !K.exiting);
|
|
5328
|
+
if (R === -1)
|
|
5329
|
+
return j;
|
|
5330
|
+
const z = j.items.slice();
|
|
5331
|
+
return z[R] = {
|
|
5332
|
+
...z[R],
|
|
5333
5333
|
exiting: !0
|
|
5334
5334
|
}, {
|
|
5335
5335
|
items: z,
|
|
5336
|
-
order: cr(
|
|
5336
|
+
order: cr(j.order, z.filter((K) => !K.exiting).map((K) => K.key))
|
|
5337
5337
|
};
|
|
5338
|
-
}), b.current =
|
|
5338
|
+
}), b.current = c;
|
|
5339
5339
|
});
|
|
5340
5340
|
A.useImperativeHandle(n, () => ({
|
|
5341
5341
|
pulsate: V,
|
|
5342
5342
|
start: P,
|
|
5343
5343
|
stop: k
|
|
5344
5344
|
}), [V, P, k]);
|
|
5345
|
-
const L = new Map(y.map((
|
|
5346
|
-
return /* @__PURE__ */
|
|
5345
|
+
const L = new Map(y.map((w) => [w.key, w])), D = p.order.map((w) => L.get(w)).filter(Boolean);
|
|
5346
|
+
return /* @__PURE__ */ l.jsx(Su, {
|
|
5347
5347
|
className: _e(je.root, a.root, d),
|
|
5348
|
-
ref:
|
|
5348
|
+
ref: _,
|
|
5349
5349
|
...f,
|
|
5350
|
-
children: D.map((
|
|
5350
|
+
children: D.map((w) => /* @__PURE__ */ l.jsx(wu, {
|
|
5351
5351
|
classes: {
|
|
5352
5352
|
ripple: _e(a.ripple, je.ripple),
|
|
5353
5353
|
rippleVisible: _e(a.rippleVisible, je.rippleVisible),
|
|
@@ -5357,13 +5357,13 @@ const Su = Le("span", {
|
|
|
5357
5357
|
childPulsate: _e(a.childPulsate, je.childPulsate)
|
|
5358
5358
|
},
|
|
5359
5359
|
timeout: s.shouldReduceMotion ? 0 : gr,
|
|
5360
|
-
pulsate:
|
|
5361
|
-
rippleX:
|
|
5362
|
-
rippleY:
|
|
5363
|
-
rippleSize:
|
|
5364
|
-
in: !
|
|
5365
|
-
onExited: () =>
|
|
5366
|
-
},
|
|
5360
|
+
pulsate: w.pulsate,
|
|
5361
|
+
rippleX: w.rippleX,
|
|
5362
|
+
rippleY: w.rippleY,
|
|
5363
|
+
rippleSize: w.rippleSize,
|
|
5364
|
+
in: !w.exiting,
|
|
5365
|
+
onExited: () => I(w.key)
|
|
5366
|
+
}, w.key))
|
|
5367
5367
|
});
|
|
5368
5368
|
});
|
|
5369
5369
|
process.env.NODE_ENV !== "production" && (li.propTypes = {
|
|
@@ -5459,22 +5459,22 @@ const Eu = Bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), ku = (e) =
|
|
|
5459
5459
|
// used by anchored <Menu>s to to suppress focus visible styling when opened with a pointer
|
|
5460
5460
|
suppressFocusVisible: m = !1,
|
|
5461
5461
|
// private prop to allow native vs non-native button props to be resolved before mount
|
|
5462
|
-
internalNativeButton:
|
|
5462
|
+
internalNativeButton: S,
|
|
5463
5463
|
/* eslint-enable react/prop-types */
|
|
5464
|
-
LinkComponent:
|
|
5464
|
+
LinkComponent: v = "a",
|
|
5465
5465
|
nativeButton: M,
|
|
5466
|
-
onBlur:
|
|
5467
|
-
onClick:
|
|
5468
|
-
onContextMenu:
|
|
5466
|
+
onBlur: _,
|
|
5467
|
+
onClick: I,
|
|
5468
|
+
onContextMenu: C,
|
|
5469
5469
|
onDragLeave: P,
|
|
5470
5470
|
onFocus: V,
|
|
5471
5471
|
onFocusVisible: k,
|
|
5472
5472
|
onKeyDown: L,
|
|
5473
5473
|
onKeyUp: D,
|
|
5474
|
-
onMouseDown:
|
|
5475
|
-
onMouseLeave:
|
|
5476
|
-
onMouseUp:
|
|
5477
|
-
onTouchEnd:
|
|
5474
|
+
onMouseDown: w,
|
|
5475
|
+
onMouseLeave: c,
|
|
5476
|
+
onMouseUp: j,
|
|
5477
|
+
onTouchEnd: R,
|
|
5478
5478
|
onTouchMove: z,
|
|
5479
5479
|
onTouchStart: K,
|
|
5480
5480
|
tabIndex: X = 0,
|
|
@@ -5484,22 +5484,22 @@ const Eu = Bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), ku = (e) =
|
|
|
5484
5484
|
...x
|
|
5485
5485
|
} = r, F = !!(x.href || x.to), W = !!x.formAction;
|
|
5486
5486
|
let E = d;
|
|
5487
|
-
E === "button" && F && (E =
|
|
5488
|
-
const H = typeof E == "string" ? E === "button" :
|
|
5487
|
+
E === "button" && F && (E = v);
|
|
5488
|
+
const H = typeof E == "string" ? E === "button" : S ?? !1, $ = M ?? H, T = nu(), B = hr(T.ref, ne), [U, J] = A.useState(!1);
|
|
5489
5489
|
(f || m) && U && J(!1);
|
|
5490
5490
|
const se = Ne((re) => {
|
|
5491
|
-
y && !re.repeat && U && re.key === " " &&
|
|
5492
|
-
|
|
5491
|
+
y && !re.repeat && U && re.key === " " && T.stop(re, () => {
|
|
5492
|
+
T.start(re);
|
|
5493
5493
|
});
|
|
5494
5494
|
}), Y = Ne((re) => {
|
|
5495
|
-
y && re.key === " " && U && !re.defaultPrevented &&
|
|
5496
|
-
|
|
5495
|
+
y && re.key === " " && U && !re.defaultPrevented && T.stop(re, () => {
|
|
5496
|
+
T.pulsate(re);
|
|
5497
5497
|
});
|
|
5498
5498
|
}), {
|
|
5499
5499
|
getButtonProps: we,
|
|
5500
5500
|
rootRef: ke
|
|
5501
5501
|
} = tu({
|
|
5502
|
-
nativeButton:
|
|
5502
|
+
nativeButton: $,
|
|
5503
5503
|
nativeButtonProp: M,
|
|
5504
5504
|
internalNativeButton: H,
|
|
5505
5505
|
allowInferredHostMismatch: F || typeof E == "string",
|
|
@@ -5515,7 +5515,7 @@ const Eu = Bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), ku = (e) =
|
|
|
5515
5515
|
onKeyUp: gt,
|
|
5516
5516
|
...tt
|
|
5517
5517
|
} = we({
|
|
5518
|
-
onClick:
|
|
5518
|
+
onClick: I,
|
|
5519
5519
|
onKeyDown: L,
|
|
5520
5520
|
onKeyUp: D
|
|
5521
5521
|
});
|
|
@@ -5524,14 +5524,14 @@ const Eu = Bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), ku = (e) =
|
|
|
5524
5524
|
J(!0), ke.current.focus();
|
|
5525
5525
|
}
|
|
5526
5526
|
}), [ke]);
|
|
5527
|
-
const Re =
|
|
5527
|
+
const Re = T.shouldMount && !p && !f;
|
|
5528
5528
|
A.useEffect(() => {
|
|
5529
|
-
U && y && !p &&
|
|
5530
|
-
}, [p, y, U,
|
|
5531
|
-
const nt = Ge(
|
|
5532
|
-
U && re.preventDefault(),
|
|
5533
|
-
}, g), bt = Ge(
|
|
5534
|
-
po(re.target) || J(!1),
|
|
5529
|
+
U && y && !p && T.pulsate();
|
|
5530
|
+
}, [p, y, U, T]);
|
|
5531
|
+
const nt = Ge(T, "start", w, g), We = Ge(T, "stop", C, g), He = Ge(T, "stop", P, g), zt = Ge(T, "stop", j, g), yt = Ge(T, "stop", (re) => {
|
|
5532
|
+
U && re.preventDefault(), c && c(re);
|
|
5533
|
+
}, g), bt = Ge(T, "start", K, g), xt = Ge(T, "stop", R, g), vt = Ge(T, "stop", z, g), Ct = Ge(T, "stop", (re) => {
|
|
5534
|
+
po(re.target) || J(!1), _ && _(re);
|
|
5535
5535
|
}, !1), St = Ne((re) => {
|
|
5536
5536
|
ke.current || (ke.current = re.currentTarget), !m && po(re.target) && (J(!0), k && k(re)), V && V(re);
|
|
5537
5537
|
}), ye = {};
|
|
@@ -5548,7 +5548,7 @@ const Eu = Bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), ku = (e) =
|
|
|
5548
5548
|
tabIndex: X,
|
|
5549
5549
|
focusVisible: U
|
|
5550
5550
|
}, Oe = ku(Ae);
|
|
5551
|
-
return /* @__PURE__ */
|
|
5551
|
+
return /* @__PURE__ */ l.jsxs(Ru, {
|
|
5552
5552
|
as: E,
|
|
5553
5553
|
className: _e(Oe.root, a),
|
|
5554
5554
|
ownerState: Ae,
|
|
@@ -5568,7 +5568,7 @@ const Eu = Bt("MuiButtonBase", ["root", "disabled", "focusVisible"]), ku = (e) =
|
|
|
5568
5568
|
ref: pe,
|
|
5569
5569
|
...F ? ye : tt,
|
|
5570
5570
|
...x,
|
|
5571
|
-
children: [i, Re ? /* @__PURE__ */
|
|
5571
|
+
children: [i, Re ? /* @__PURE__ */ l.jsx(li, {
|
|
5572
5572
|
ref: B,
|
|
5573
5573
|
center: s,
|
|
5574
5574
|
...ee
|
|
@@ -5820,30 +5820,30 @@ function Nu(e) {
|
|
|
5820
5820
|
} = e, [a, d] = A.useState(t), [f, p] = A.useState(t);
|
|
5821
5821
|
let g = a;
|
|
5822
5822
|
t !== f && (p(t), t !== void 0 && t !== a && (g = t, d(t)));
|
|
5823
|
-
const y = A.useRef(null), u = A.useRef(/* @__PURE__ */ new Map()), [b, m] = A.useState(0),
|
|
5824
|
-
M.current =
|
|
5825
|
-
const
|
|
5826
|
-
const
|
|
5827
|
-
return hi(
|
|
5828
|
-
}, [n, s]),
|
|
5829
|
-
const
|
|
5830
|
-
Pu(
|
|
5831
|
-
}), P = Ne((
|
|
5832
|
-
u.current.delete(
|
|
5833
|
-
}), V = Ne((
|
|
5834
|
-
d(
|
|
5835
|
-
}), k = A.useCallback((
|
|
5823
|
+
const y = A.useRef(null), u = A.useRef(/* @__PURE__ */ new Map()), [b, m] = A.useState(0), S = A.useMemo(() => yr(u.current), [b]), v = Jo(g, S, s, n), M = A.useRef(v);
|
|
5824
|
+
M.current = v;
|
|
5825
|
+
const _ = A.useCallback(() => {
|
|
5826
|
+
const c = yr(u.current), j = Jo(M.current, c, s, n);
|
|
5827
|
+
return hi(c, j);
|
|
5828
|
+
}, [n, s]), I = A.useCallback(() => u.current, []), C = Ne((c) => {
|
|
5829
|
+
const j = u.current.get(c.id);
|
|
5830
|
+
Pu(j ?? null, c) || (u.current.set(c.id, c), m((R) => R + 1));
|
|
5831
|
+
}), P = Ne((c) => {
|
|
5832
|
+
u.current.delete(c) && m((j) => j + 1);
|
|
5833
|
+
}), V = Ne((c) => {
|
|
5834
|
+
d(c);
|
|
5835
|
+
}), k = A.useCallback((c) => M.current === c, []), L = A.useCallback((c, j, R, z) => {
|
|
5836
5836
|
var ee;
|
|
5837
|
-
const K = gn(u.current), X = pi(K,
|
|
5837
|
+
const K = gn(u.current), X = pi(K, c, j, R, z ?? s);
|
|
5838
5838
|
return X ? ((ee = X.element) == null || ee.focus(), d(X.id), X) : null;
|
|
5839
|
-
}, [s]), D = A.useCallback((
|
|
5839
|
+
}, [s]), D = A.useCallback((c, j, R) => ({
|
|
5840
5840
|
onFocus: (X) => {
|
|
5841
|
-
|
|
5841
|
+
j == null || j(X);
|
|
5842
5842
|
const ee = gn(u.current), ne = yi(ee, X.target);
|
|
5843
5843
|
ne !== -1 && d(ee[ne].id);
|
|
5844
5844
|
},
|
|
5845
5845
|
onKeyDown: (X) => {
|
|
5846
|
-
if (
|
|
5846
|
+
if (R == null || R(X), X.defaultPrevented || X.altKey || X.shiftKey || X.ctrlKey || X.metaKey || !Mu.includes(X.key))
|
|
5847
5847
|
return;
|
|
5848
5848
|
let ee = r === "horizontal" ? "ArrowLeft" : "ArrowUp", ne = r === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
5849
5849
|
r === "horizontal" && o && (ee = "ArrowRight", ne = "ArrowLeft");
|
|
@@ -5867,25 +5867,25 @@ function Nu(e) {
|
|
|
5867
5867
|
}
|
|
5868
5868
|
L(W, E, i);
|
|
5869
5869
|
},
|
|
5870
|
-
ref: zu(
|
|
5870
|
+
ref: zu(c, (X) => {
|
|
5871
5871
|
y.current = X;
|
|
5872
5872
|
})
|
|
5873
|
-
}), [L, o, r, i]),
|
|
5873
|
+
}), [L, o, r, i]), w = A.useCallback((c) => {
|
|
5874
5874
|
var X;
|
|
5875
|
-
const
|
|
5876
|
-
return ((X = L(K, "next", !0,
|
|
5875
|
+
const j = gn(u.current), R = Go(Xo(y.current)), K = R === y.current ? -1 : Qo(j, R, M.current);
|
|
5876
|
+
return ((X = L(K, "next", !0, c)) == null ? void 0 : X.id) ?? null;
|
|
5877
5877
|
}, [L]);
|
|
5878
5878
|
return A.useMemo(() => ({
|
|
5879
|
-
activeItemId:
|
|
5880
|
-
focusNext:
|
|
5881
|
-
getActiveItem:
|
|
5879
|
+
activeItemId: v,
|
|
5880
|
+
focusNext: w,
|
|
5881
|
+
getActiveItem: _,
|
|
5882
5882
|
getContainerProps: D,
|
|
5883
|
-
getItemMap:
|
|
5883
|
+
getItemMap: I,
|
|
5884
5884
|
isItemActive: k,
|
|
5885
|
-
registerItem:
|
|
5885
|
+
registerItem: C,
|
|
5886
5886
|
setActiveItemId: V,
|
|
5887
5887
|
unregisterItem: P
|
|
5888
|
-
}), [
|
|
5888
|
+
}), [v, w, _, D, I, k, C, V, P]);
|
|
5889
5889
|
}
|
|
5890
5890
|
function Du(e) {
|
|
5891
5891
|
const t = fi(), {
|
|
@@ -6156,21 +6156,21 @@ const Uu = /* @__PURE__ */ A.forwardRef(Wu), Yu = (e) => {
|
|
|
6156
6156
|
disableFocusRipple: u = !1,
|
|
6157
6157
|
fullWidth: b = !1,
|
|
6158
6158
|
onChange: m,
|
|
6159
|
-
onClick:
|
|
6160
|
-
selected:
|
|
6159
|
+
onClick: S,
|
|
6160
|
+
selected: v,
|
|
6161
6161
|
size: M = "medium",
|
|
6162
|
-
value:
|
|
6163
|
-
|
|
6164
|
-
} = d,
|
|
6162
|
+
value: _,
|
|
6163
|
+
...I
|
|
6164
|
+
} = d, C = {
|
|
6165
6165
|
...d,
|
|
6166
6166
|
color: g,
|
|
6167
6167
|
disabled: y,
|
|
6168
6168
|
disableFocusRipple: u,
|
|
6169
6169
|
fullWidth: b,
|
|
6170
6170
|
size: M
|
|
6171
|
-
}, P = Yu(
|
|
6172
|
-
|
|
6173
|
-
}, k = i || "", L = /* @__PURE__ */
|
|
6171
|
+
}, P = Yu(C), V = (D) => {
|
|
6172
|
+
S && (S(D, _), D.defaultPrevented) || m && m(D, _);
|
|
6173
|
+
}, k = i || "", L = /* @__PURE__ */ l.jsx(qu, {
|
|
6174
6174
|
className: _e(s.className, P.root, p, k),
|
|
6175
6175
|
internalNativeButton: !0,
|
|
6176
6176
|
disabled: y,
|
|
@@ -6178,17 +6178,17 @@ const Uu = /* @__PURE__ */ A.forwardRef(Wu), Yu = (e) => {
|
|
|
6178
6178
|
ref: o ? void 0 : n,
|
|
6179
6179
|
onClick: V,
|
|
6180
6180
|
onChange: m,
|
|
6181
|
-
value:
|
|
6182
|
-
ownerState:
|
|
6183
|
-
"aria-pressed":
|
|
6184
|
-
|
|
6181
|
+
value: _,
|
|
6182
|
+
ownerState: C,
|
|
6183
|
+
"aria-pressed": v,
|
|
6184
|
+
...I,
|
|
6185
6185
|
children: f
|
|
6186
6186
|
});
|
|
6187
|
-
return o ? /* @__PURE__ */
|
|
6187
|
+
return o ? /* @__PURE__ */ l.jsx(Uu, {
|
|
6188
6188
|
disabled: y,
|
|
6189
|
-
selected:
|
|
6189
|
+
selected: v,
|
|
6190
6190
|
ref: n,
|
|
6191
|
-
value:
|
|
6191
|
+
value: _,
|
|
6192
6192
|
children: L
|
|
6193
6193
|
}) : L;
|
|
6194
6194
|
});
|
|
@@ -6396,45 +6396,45 @@ const he = Bt("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertic
|
|
|
6396
6396
|
fullWidth: f,
|
|
6397
6397
|
orientation: g,
|
|
6398
6398
|
size: y
|
|
6399
|
-
},
|
|
6399
|
+
}, S = Gu(m), v = Yc(), M = A.useCallback((D, w) => {
|
|
6400
6400
|
if (!p)
|
|
6401
6401
|
return;
|
|
6402
|
-
const
|
|
6403
|
-
let
|
|
6404
|
-
u &&
|
|
6405
|
-
}, [p, u]),
|
|
6406
|
-
p && p(D, u ===
|
|
6407
|
-
}, [p, u]),
|
|
6408
|
-
className:
|
|
6409
|
-
onChange: d ?
|
|
6402
|
+
const c = u && u.indexOf(w);
|
|
6403
|
+
let j;
|
|
6404
|
+
u && c >= 0 ? (j = u.slice(), j.splice(c, 1)) : j = u ? u.concat(w) : [w], p(D, j);
|
|
6405
|
+
}, [p, u]), _ = A.useCallback((D, w) => {
|
|
6406
|
+
p && p(D, u === w ? null : w);
|
|
6407
|
+
}, [p, u]), I = A.useMemo(() => ({
|
|
6408
|
+
className: S.grouped,
|
|
6409
|
+
onChange: d ? _ : M,
|
|
6410
6410
|
value: u,
|
|
6411
6411
|
size: y,
|
|
6412
6412
|
fullWidth: f,
|
|
6413
6413
|
color: i,
|
|
6414
6414
|
disabled: a,
|
|
6415
6415
|
isRovingTabIndex: !0
|
|
6416
|
-
}), [
|
|
6417
|
-
const
|
|
6418
|
-
return
|
|
6416
|
+
}), [S.grouped, d, _, M, u, y, f, i, a]), C = Hu(o), P = C.length, V = (D) => {
|
|
6417
|
+
const w = D === 0, c = D === P - 1;
|
|
6418
|
+
return w && c ? "" : w ? S.firstButton : c ? S.lastButton : S.middleButton;
|
|
6419
6419
|
}, k = Nu({
|
|
6420
6420
|
orientation: g,
|
|
6421
|
-
isRtl:
|
|
6421
|
+
isRtl: v
|
|
6422
6422
|
}), L = k.getContainerProps(n, b.onFocus, b.onKeyDown);
|
|
6423
|
-
return /* @__PURE__ */
|
|
6423
|
+
return /* @__PURE__ */ l.jsx(Xu, {
|
|
6424
6424
|
role: "group",
|
|
6425
|
-
className: _e(
|
|
6425
|
+
className: _e(S.root, s),
|
|
6426
6426
|
ownerState: m,
|
|
6427
6427
|
...b,
|
|
6428
6428
|
...L,
|
|
6429
|
-
children: /* @__PURE__ */
|
|
6429
|
+
children: /* @__PURE__ */ l.jsx(Ur.Provider, {
|
|
6430
6430
|
value: k,
|
|
6431
|
-
children: /* @__PURE__ */
|
|
6432
|
-
value:
|
|
6433
|
-
children:
|
|
6434
|
-
`)), /* @__PURE__ */
|
|
6435
|
-
value: V(
|
|
6431
|
+
children: /* @__PURE__ */ l.jsx(zr.Provider, {
|
|
6432
|
+
value: I,
|
|
6433
|
+
children: C.map((D, w) => (process.env.NODE_ENV !== "production" && Qt.isFragment(D) && console.error(["MUI: The ToggleButtonGroup component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
6434
|
+
`)), /* @__PURE__ */ l.jsx(Wr.Provider, {
|
|
6435
|
+
value: V(w),
|
|
6436
6436
|
children: D
|
|
6437
|
-
},
|
|
6437
|
+
}, w)))
|
|
6438
6438
|
})
|
|
6439
6439
|
})
|
|
6440
6440
|
});
|
|
@@ -6682,22 +6682,22 @@ const rd = (e) => {
|
|
|
6682
6682
|
inheritViewBox: p,
|
|
6683
6683
|
viewBox: y,
|
|
6684
6684
|
hasSvgAsChild: b
|
|
6685
|
-
},
|
|
6686
|
-
p || (
|
|
6687
|
-
const
|
|
6688
|
-
return /* @__PURE__ */
|
|
6685
|
+
}, S = {};
|
|
6686
|
+
p || (S.viewBox = y);
|
|
6687
|
+
const v = rd(m);
|
|
6688
|
+
return /* @__PURE__ */ l.jsxs(od, {
|
|
6689
6689
|
as: a,
|
|
6690
|
-
className: _e(
|
|
6690
|
+
className: _e(v.root, s),
|
|
6691
6691
|
focusable: "false",
|
|
6692
6692
|
color: f,
|
|
6693
6693
|
"aria-hidden": g ? void 0 : !0,
|
|
6694
6694
|
role: g ? "img" : void 0,
|
|
6695
6695
|
ref: n,
|
|
6696
|
-
...
|
|
6696
|
+
...S,
|
|
6697
6697
|
...u,
|
|
6698
6698
|
...b && o.props,
|
|
6699
6699
|
ownerState: m,
|
|
6700
|
-
children: [b ? o.props.children : o, g ? /* @__PURE__ */
|
|
6700
|
+
children: [b ? o.props.children : o, g ? /* @__PURE__ */ l.jsx("title", {
|
|
6701
6701
|
children: g
|
|
6702
6702
|
}) : null]
|
|
6703
6703
|
});
|
|
@@ -6777,7 +6777,7 @@ process.env.NODE_ENV !== "production" && (jn.propTypes = {
|
|
|
6777
6777
|
jn.muiName = "SvgIcon";
|
|
6778
6778
|
function Ee(e, t) {
|
|
6779
6779
|
function n(r, o) {
|
|
6780
|
-
return /* @__PURE__ */
|
|
6780
|
+
return /* @__PURE__ */ l.jsx(jn, {
|
|
6781
6781
|
"data-testid": process.env.NODE_ENV !== "production" ? `${t}Icon` : void 0,
|
|
6782
6782
|
ref: o,
|
|
6783
6783
|
...r,
|
|
@@ -6786,7 +6786,7 @@ function Ee(e, t) {
|
|
|
6786
6786
|
}
|
|
6787
6787
|
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = jn.muiName, /* @__PURE__ */ A.memo(/* @__PURE__ */ A.forwardRef(n));
|
|
6788
6788
|
}
|
|
6789
|
-
const es = Ee(/* @__PURE__ */
|
|
6789
|
+
const es = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
6790
6790
|
d: "M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"
|
|
6791
6791
|
}), "DoneOutlined");
|
|
6792
6792
|
function sd({
|
|
@@ -6794,7 +6794,7 @@ function sd({
|
|
|
6794
6794
|
...t
|
|
6795
6795
|
}) {
|
|
6796
6796
|
const n = it in e ? e[it] : void 0;
|
|
6797
|
-
return /* @__PURE__ */
|
|
6797
|
+
return /* @__PURE__ */ l.jsx(en, {
|
|
6798
6798
|
...t,
|
|
6799
6799
|
themeId: n ? it : void 0,
|
|
6800
6800
|
theme: n || e
|
|
@@ -6847,26 +6847,26 @@ function cd({
|
|
|
6847
6847
|
vars: null
|
|
6848
6848
|
};
|
|
6849
6849
|
}, [e]);
|
|
6850
|
-
return n ? /* @__PURE__ */
|
|
6850
|
+
return n ? /* @__PURE__ */ l.jsx(sd, {
|
|
6851
6851
|
theme: n,
|
|
6852
6852
|
...t
|
|
6853
|
-
}) : /* @__PURE__ */
|
|
6853
|
+
}) : /* @__PURE__ */ l.jsx(ad, {
|
|
6854
6854
|
theme: e,
|
|
6855
6855
|
...t
|
|
6856
6856
|
});
|
|
6857
6857
|
}
|
|
6858
|
-
const ld = Ee(/* @__PURE__ */
|
|
6858
|
+
const ld = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
6859
6859
|
d: "M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"
|
|
6860
6860
|
}), "HelpOutlineOutlined");
|
|
6861
6861
|
function ud({ tooltipLabel: e }) {
|
|
6862
|
-
return /* @__PURE__ */
|
|
6862
|
+
return /* @__PURE__ */ l.jsx(fs, { title: e, children: /* @__PURE__ */ l.jsx(pt, { disableRipple: !0, sx: { color: "white" }, children: /* @__PURE__ */ l.jsx(ld, {}) }) });
|
|
6863
6863
|
}
|
|
6864
6864
|
function dd({ title: e }) {
|
|
6865
|
-
return /* @__PURE__ */
|
|
6865
|
+
return /* @__PURE__ */ l.jsx(ud, { tooltipLabel: e });
|
|
6866
6866
|
}
|
|
6867
|
-
const fd = Ee(/* @__PURE__ */
|
|
6867
|
+
const fd = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
6868
6868
|
d: "M22 16v-2l-8.5-5V3.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V9L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-5.5z"
|
|
6869
|
-
}), "AirplanemodeActive"), pd = Ee(/* @__PURE__ */
|
|
6869
|
+
}), "AirplanemodeActive"), pd = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
6870
6870
|
d: "M10.5 7.67V3.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V9l8.5 5v2l-4.49-1.32zm9.28 14.94 1.41-1.41-7.69-7.7-3.94-3.94-6.75-6.75-1.42 1.41 6.38 6.38L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-2.67z"
|
|
6871
6871
|
}), "AirplanemodeInactive");
|
|
6872
6872
|
function xi({
|
|
@@ -6881,8 +6881,8 @@ function xi({
|
|
|
6881
6881
|
};
|
|
6882
6882
|
return fe(() => {
|
|
6883
6883
|
Se("/api/version").then((p) => p.json).then((p) => a(p.product_name)).catch((p) => console.error("Error :", p));
|
|
6884
|
-
}, []), /* @__PURE__ */
|
|
6885
|
-
/* @__PURE__ */
|
|
6884
|
+
}, []), /* @__PURE__ */ l.jsxs(oe, { children: [
|
|
6885
|
+
/* @__PURE__ */ l.jsxs(
|
|
6886
6886
|
be,
|
|
6887
6887
|
{
|
|
6888
6888
|
container: !0,
|
|
@@ -6891,7 +6891,7 @@ function xi({
|
|
|
6891
6891
|
alignItems: "center"
|
|
6892
6892
|
},
|
|
6893
6893
|
children: [
|
|
6894
|
-
/* @__PURE__ */
|
|
6894
|
+
/* @__PURE__ */ l.jsx(be, { children: /* @__PURE__ */ l.jsxs(
|
|
6895
6895
|
bi,
|
|
6896
6896
|
{
|
|
6897
6897
|
onChange: (p) => {
|
|
@@ -6906,7 +6906,7 @@ function xi({
|
|
|
6906
6906
|
height: "34px"
|
|
6907
6907
|
},
|
|
6908
6908
|
children: [
|
|
6909
|
-
(!n || !e) && /* @__PURE__ */
|
|
6909
|
+
(!n || !e) && /* @__PURE__ */ l.jsxs(
|
|
6910
6910
|
xr,
|
|
6911
6911
|
{
|
|
6912
6912
|
disableFocusRipple: !0,
|
|
@@ -6923,13 +6923,13 @@ function xi({
|
|
|
6923
6923
|
}
|
|
6924
6924
|
},
|
|
6925
6925
|
children: [
|
|
6926
|
-
n ? /* @__PURE__ */
|
|
6926
|
+
n ? /* @__PURE__ */ l.jsx(
|
|
6927
6927
|
fd,
|
|
6928
6928
|
{
|
|
6929
6929
|
fontSize: "small",
|
|
6930
6930
|
sx: { paddingRight: 1 }
|
|
6931
6931
|
}
|
|
6932
|
-
) : !e && /* @__PURE__ */
|
|
6932
|
+
) : !e && /* @__PURE__ */ l.jsx(
|
|
6933
6933
|
es,
|
|
6934
6934
|
{
|
|
6935
6935
|
fontSize: "small",
|
|
@@ -6940,7 +6940,7 @@ function xi({
|
|
|
6940
6940
|
]
|
|
6941
6941
|
}
|
|
6942
6942
|
),
|
|
6943
|
-
(!n || e) && /* @__PURE__ */
|
|
6943
|
+
(!n || e) && /* @__PURE__ */ l.jsxs(
|
|
6944
6944
|
xr,
|
|
6945
6945
|
{
|
|
6946
6946
|
disableFocusRipple: !0,
|
|
@@ -6957,13 +6957,13 @@ function xi({
|
|
|
6957
6957
|
}
|
|
6958
6958
|
},
|
|
6959
6959
|
children: [
|
|
6960
|
-
n ? /* @__PURE__ */
|
|
6960
|
+
n ? /* @__PURE__ */ l.jsx(
|
|
6961
6961
|
pd,
|
|
6962
6962
|
{
|
|
6963
6963
|
fontSize: "small",
|
|
6964
6964
|
sx: { paddingRight: 1 }
|
|
6965
6965
|
}
|
|
6966
|
-
) : e && /* @__PURE__ */
|
|
6966
|
+
) : e && /* @__PURE__ */ l.jsx(
|
|
6967
6967
|
es,
|
|
6968
6968
|
{
|
|
6969
6969
|
fontSize: "small",
|
|
@@ -6977,7 +6977,7 @@ function xi({
|
|
|
6977
6977
|
]
|
|
6978
6978
|
}
|
|
6979
6979
|
) }),
|
|
6980
|
-
/* @__PURE__ */
|
|
6980
|
+
/* @__PURE__ */ l.jsx(be, { children: /* @__PURE__ */ l.jsx(
|
|
6981
6981
|
dd,
|
|
6982
6982
|
{
|
|
6983
6983
|
title: G(
|
|
@@ -6989,7 +6989,7 @@ function xi({
|
|
|
6989
6989
|
]
|
|
6990
6990
|
}
|
|
6991
6991
|
),
|
|
6992
|
-
/* @__PURE__ */
|
|
6992
|
+
/* @__PURE__ */ l.jsx(
|
|
6993
6993
|
ea,
|
|
6994
6994
|
{
|
|
6995
6995
|
internetDialogOpen: o,
|
|
@@ -6998,11 +6998,11 @@ function xi({
|
|
|
6998
6998
|
)
|
|
6999
6999
|
] });
|
|
7000
7000
|
}
|
|
7001
|
-
const vi = Ee(/* @__PURE__ */
|
|
7001
|
+
const vi = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
7002
7002
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
7003
|
-
}), "Menu"), md = Ee(/* @__PURE__ */
|
|
7003
|
+
}), "Menu"), md = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
7004
7004
|
d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
|
|
7005
|
-
}), "ExpandLess"), hd = Ee(/* @__PURE__ */
|
|
7005
|
+
}), "ExpandLess"), hd = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
7006
7006
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
7007
7007
|
}), "ExpandMore");
|
|
7008
7008
|
function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
@@ -7022,15 +7022,15 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7022
7022
|
p.stopPropagation(), p.preventDefault();
|
|
7023
7023
|
});
|
|
7024
7024
|
};
|
|
7025
|
-
return /* @__PURE__ */
|
|
7026
|
-
/* @__PURE__ */
|
|
7027
|
-
/* @__PURE__ */
|
|
7025
|
+
return /* @__PURE__ */ l.jsxs(oe, { sx: { m: 0, mr: 2 }, children: [
|
|
7026
|
+
/* @__PURE__ */ l.jsx(pt, { onClick: (p) => o(!0), children: /* @__PURE__ */ l.jsx(vi, {}) }),
|
|
7027
|
+
/* @__PURE__ */ l.jsx(
|
|
7028
7028
|
ps,
|
|
7029
7029
|
{
|
|
7030
7030
|
open: r,
|
|
7031
7031
|
onClose: () => o(!1),
|
|
7032
7032
|
slotProps: { paper: { sx: { width: "auto", overflow: "hidden" } } },
|
|
7033
|
-
children: /* @__PURE__ */
|
|
7033
|
+
children: /* @__PURE__ */ l.jsx(
|
|
7034
7034
|
oe,
|
|
7035
7035
|
{
|
|
7036
7036
|
sx: {
|
|
@@ -7041,7 +7041,7 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7041
7041
|
p: 0
|
|
7042
7042
|
},
|
|
7043
7043
|
role: "presentation",
|
|
7044
|
-
children: /* @__PURE__ */
|
|
7044
|
+
children: /* @__PURE__ */ l.jsx(Gt, { sx: { height: "100%", width: "100%" }, children: /* @__PURE__ */ l.jsxs(
|
|
7045
7045
|
Jt,
|
|
7046
7046
|
{
|
|
7047
7047
|
direction: "column",
|
|
@@ -7053,14 +7053,14 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7053
7053
|
alignItems: "flex-start"
|
|
7054
7054
|
},
|
|
7055
7055
|
children: [
|
|
7056
|
-
/* @__PURE__ */
|
|
7056
|
+
/* @__PURE__ */ l.jsx(oe, { sx: { width: "100%" }, children: a.map((p, g) => /* @__PURE__ */ l.jsx(_t, { disablePadding: !0, children: /* @__PURE__ */ l.jsx(
|
|
7057
7057
|
Xe,
|
|
7058
7058
|
{
|
|
7059
7059
|
disabled: p.requires.net && !t.current,
|
|
7060
7060
|
onClick: () => {
|
|
7061
7061
|
window.location.href = p.url;
|
|
7062
7062
|
},
|
|
7063
|
-
children: /* @__PURE__ */
|
|
7063
|
+
children: /* @__PURE__ */ l.jsx(
|
|
7064
7064
|
Je,
|
|
7065
7065
|
{
|
|
7066
7066
|
primary: G(`pages:${p.id}:title`, e)
|
|
@@ -7068,14 +7068,14 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7068
7068
|
)
|
|
7069
7069
|
}
|
|
7070
7070
|
) }, g)) }),
|
|
7071
|
-
/* @__PURE__ */
|
|
7072
|
-
/* @__PURE__ */
|
|
7071
|
+
/* @__PURE__ */ l.jsxs(oe, { children: [
|
|
7072
|
+
/* @__PURE__ */ l.jsx(_t, { disablePadding: !0, children: /* @__PURE__ */ l.jsx(
|
|
7073
7073
|
Xe,
|
|
7074
7074
|
{
|
|
7075
7075
|
onClick: () => {
|
|
7076
7076
|
window.location.href = "/clients/settings";
|
|
7077
7077
|
},
|
|
7078
|
-
children: /* @__PURE__ */
|
|
7078
|
+
children: /* @__PURE__ */ l.jsx(
|
|
7079
7079
|
Je,
|
|
7080
7080
|
{
|
|
7081
7081
|
primary: G("pages:core-settings:title", e)
|
|
@@ -7083,17 +7083,17 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7083
7083
|
)
|
|
7084
7084
|
}
|
|
7085
7085
|
) }),
|
|
7086
|
-
/* @__PURE__ */
|
|
7087
|
-
/* @__PURE__ */
|
|
7086
|
+
/* @__PURE__ */ l.jsx(_t, { sx: { width: "auto" }, disablePadding: !0, children: /* @__PURE__ */ l.jsxs(Xe, { onClick: () => i((p) => !p), children: [
|
|
7087
|
+
/* @__PURE__ */ l.jsx(
|
|
7088
7088
|
Je,
|
|
7089
7089
|
{
|
|
7090
7090
|
primary: G("components:header:advanced", e)
|
|
7091
7091
|
}
|
|
7092
7092
|
),
|
|
7093
|
-
s ? /* @__PURE__ */
|
|
7093
|
+
s ? /* @__PURE__ */ l.jsx(md, {}) : /* @__PURE__ */ l.jsx(hd, {})
|
|
7094
7094
|
] }) }),
|
|
7095
|
-
/* @__PURE__ */
|
|
7096
|
-
/* @__PURE__ */
|
|
7095
|
+
/* @__PURE__ */ l.jsx(Pi, { in: s, timeout: "auto", unmountOnExit: !0, children: /* @__PURE__ */ l.jsx(Gt, { component: "div", disablePadding: !0, children: /* @__PURE__ */ l.jsxs(Xe, { onClick: f, sx: { pl: 4 }, children: [
|
|
7096
|
+
/* @__PURE__ */ l.jsx(
|
|
7097
7097
|
Je,
|
|
7098
7098
|
{
|
|
7099
7099
|
primary: G(
|
|
@@ -7102,7 +7102,7 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7102
7102
|
)
|
|
7103
7103
|
}
|
|
7104
7104
|
),
|
|
7105
|
-
/* @__PURE__ */
|
|
7105
|
+
/* @__PURE__ */ l.jsx(
|
|
7106
7106
|
lr,
|
|
7107
7107
|
{
|
|
7108
7108
|
edge: "end",
|
|
@@ -7111,7 +7111,7 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7111
7111
|
}
|
|
7112
7112
|
)
|
|
7113
7113
|
] }) }) }),
|
|
7114
|
-
/* @__PURE__ */
|
|
7114
|
+
/* @__PURE__ */ l.jsx(
|
|
7115
7115
|
oe,
|
|
7116
7116
|
{
|
|
7117
7117
|
sx: {
|
|
@@ -7121,8 +7121,8 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7121
7121
|
top: 0,
|
|
7122
7122
|
left: 0
|
|
7123
7123
|
},
|
|
7124
|
-
children: /* @__PURE__ */
|
|
7125
|
-
/* @__PURE__ */
|
|
7124
|
+
children: /* @__PURE__ */ l.jsx(Gt, { component: "div", disablePadding: !0, children: /* @__PURE__ */ l.jsxs(Xe, { onClick: f, sx: { pl: 4 }, children: [
|
|
7125
|
+
/* @__PURE__ */ l.jsx(
|
|
7126
7126
|
Je,
|
|
7127
7127
|
{
|
|
7128
7128
|
primary: G(
|
|
@@ -7131,7 +7131,7 @@ function yf({ i18n: e, netEnabled: t, debug: n }) {
|
|
|
7131
7131
|
)
|
|
7132
7132
|
}
|
|
7133
7133
|
),
|
|
7134
|
-
/* @__PURE__ */
|
|
7134
|
+
/* @__PURE__ */ l.jsx(
|
|
7135
7135
|
lr,
|
|
7136
7136
|
{
|
|
7137
7137
|
edge: "end",
|
|
@@ -7168,15 +7168,15 @@ function bf({
|
|
|
7168
7168
|
showInternetSwitch: a = !1,
|
|
7169
7169
|
isLoading: d = !1
|
|
7170
7170
|
}) {
|
|
7171
|
-
var
|
|
7172
|
-
const f = o ? Tr : $n.Fragment, p = o ? { theme: o } : {}, { enabledRef: g } = ge(Nt), { i18nRef: y } = ge(Be), { debugRef: u } = ge(rn), { clientConfigRef: b } = ge(Hr), m = ((
|
|
7171
|
+
var v, M, _, I, C;
|
|
7172
|
+
const f = o ? Tr : $n.Fragment, p = o ? { theme: o } : {}, { enabledRef: g } = ge(Nt), { i18nRef: y } = ge(Be), { debugRef: u } = ge(rn), { clientConfigRef: b } = ge(Hr), m = ((_ = (M = (v = b.current._global) == null ? void 0 : v.find((P) => P.id === "internetConfig")) == null ? void 0 : M.fields.find((P) => P.id === "internetConnectionAccess")) == null ? void 0 : _.value) ?? !0, S = (P, V) => {
|
|
7173
7173
|
d && (V === "backdropClick" || V === "escapeKeyDown") || n();
|
|
7174
7174
|
};
|
|
7175
|
-
return /* @__PURE__ */
|
|
7175
|
+
return /* @__PURE__ */ l.jsx(f, { ...p, children: /* @__PURE__ */ l.jsxs(
|
|
7176
7176
|
us,
|
|
7177
7177
|
{
|
|
7178
7178
|
open: t,
|
|
7179
|
-
onClose:
|
|
7179
|
+
onClose: S,
|
|
7180
7180
|
sx: { overflow: "hidden" },
|
|
7181
7181
|
slotProps: {
|
|
7182
7182
|
sx: {
|
|
@@ -7191,7 +7191,7 @@ function bf({
|
|
|
7191
7191
|
fullWidth: i,
|
|
7192
7192
|
maxWidth: s,
|
|
7193
7193
|
children: [
|
|
7194
|
-
/* @__PURE__ */
|
|
7194
|
+
/* @__PURE__ */ l.jsx(
|
|
7195
7195
|
ms,
|
|
7196
7196
|
{
|
|
7197
7197
|
position: "sticky",
|
|
@@ -7199,11 +7199,11 @@ function bf({
|
|
|
7199
7199
|
position: "relative",
|
|
7200
7200
|
borderTopLeftRadius: 4,
|
|
7201
7201
|
borderTopRightRadius: 4,
|
|
7202
|
-
backgroundColor: (
|
|
7202
|
+
backgroundColor: (C = (I = o == null ? void 0 : o.palette) == null ? void 0 : I.secondary) == null ? void 0 : C.main
|
|
7203
7203
|
},
|
|
7204
|
-
children: /* @__PURE__ */
|
|
7205
|
-
/* @__PURE__ */
|
|
7206
|
-
m && a && /* @__PURE__ */
|
|
7204
|
+
children: /* @__PURE__ */ l.jsxs(In, { sx: { justifyContent: "space-between" }, children: [
|
|
7205
|
+
/* @__PURE__ */ l.jsx(Pe, { variant: "h6", component: "div", children: e }),
|
|
7206
|
+
m && a && /* @__PURE__ */ l.jsx(
|
|
7207
7207
|
xi,
|
|
7208
7208
|
{
|
|
7209
7209
|
i18n: y.current,
|
|
@@ -7392,7 +7392,7 @@ const vr = nn`
|
|
|
7392
7392
|
...m
|
|
7393
7393
|
} = r;
|
|
7394
7394
|
process.env.NODE_ENV !== "production" && !ts && b === "indeterminate" && (d !== void 0 || f !== void 0) && (console.warn("MUI: You have provided the `min` or `max` props with an 'indeterminate' variant. These props will have no effect."), ts = !0);
|
|
7395
|
-
const
|
|
7395
|
+
const S = d ?? 0, v = f ?? 100, M = {
|
|
7396
7396
|
...r,
|
|
7397
7397
|
color: s,
|
|
7398
7398
|
disableShrink: i,
|
|
@@ -7401,19 +7401,19 @@ const vr = nn`
|
|
|
7401
7401
|
value: u,
|
|
7402
7402
|
variant: b,
|
|
7403
7403
|
enableTrackSlot: a
|
|
7404
|
-
},
|
|
7404
|
+
}, _ = xd(M), I = {}, C = {}, P = {};
|
|
7405
7405
|
if (b === "determinate") {
|
|
7406
7406
|
const V = 2 * Math.PI * ((Ve - y) / 2);
|
|
7407
|
-
process.env.NODE_ENV !== "production" && !ns && (u <
|
|
7408
|
-
const k =
|
|
7409
|
-
|
|
7407
|
+
process.env.NODE_ENV !== "production" && !ns && (u < S || u > v || S >= v) && (console.error(`MUI: The min, max, and value props in CircularProgress should be numbers where min < max and min <= value <= max. Received min=${S}, max=${v}, value=${u}.`), ns = !0);
|
|
7408
|
+
const k = v - S;
|
|
7409
|
+
I.strokeDasharray = V.toFixed(3), I.strokeDashoffset = k > 0 ? `${((v - u) / k * V).toFixed(3)}px` : `${V.toFixed(3)}px`, C.transform = "rotate(-90deg)", P["aria-valuenow"] = u, P["aria-valuemin"] = S, P["aria-valuemax"] = v;
|
|
7410
7410
|
}
|
|
7411
|
-
return /* @__PURE__ */
|
|
7412
|
-
className: _e(
|
|
7411
|
+
return /* @__PURE__ */ l.jsx(vd, {
|
|
7412
|
+
className: _e(_.root, o),
|
|
7413
7413
|
style: {
|
|
7414
7414
|
width: p,
|
|
7415
7415
|
height: p,
|
|
7416
|
-
...
|
|
7416
|
+
...C,
|
|
7417
7417
|
...g
|
|
7418
7418
|
},
|
|
7419
7419
|
ownerState: M,
|
|
@@ -7421,12 +7421,12 @@ const vr = nn`
|
|
|
7421
7421
|
role: "progressbar",
|
|
7422
7422
|
...P,
|
|
7423
7423
|
...m,
|
|
7424
|
-
children: /* @__PURE__ */
|
|
7425
|
-
className:
|
|
7424
|
+
children: /* @__PURE__ */ l.jsxs(Cd, {
|
|
7425
|
+
className: _.svg,
|
|
7426
7426
|
ownerState: M,
|
|
7427
7427
|
viewBox: `${Ve / 2} ${Ve / 2} ${Ve} ${Ve}`,
|
|
7428
|
-
children: [a ? /* @__PURE__ */
|
|
7429
|
-
className:
|
|
7428
|
+
children: [a ? /* @__PURE__ */ l.jsx(wd, {
|
|
7429
|
+
className: _.track,
|
|
7430
7430
|
ownerState: M,
|
|
7431
7431
|
cx: Ve,
|
|
7432
7432
|
cy: Ve,
|
|
@@ -7434,9 +7434,9 @@ const vr = nn`
|
|
|
7434
7434
|
fill: "none",
|
|
7435
7435
|
strokeWidth: y,
|
|
7436
7436
|
"aria-hidden": "true"
|
|
7437
|
-
}) : null, /* @__PURE__ */
|
|
7438
|
-
className:
|
|
7439
|
-
style:
|
|
7437
|
+
}) : null, /* @__PURE__ */ l.jsx(Sd, {
|
|
7438
|
+
className: _.circle,
|
|
7439
|
+
style: I,
|
|
7440
7440
|
ownerState: M,
|
|
7441
7441
|
cx: Ve,
|
|
7442
7442
|
cy: Ve,
|
|
@@ -7530,12 +7530,12 @@ function rs({
|
|
|
7530
7530
|
isLoading: o,
|
|
7531
7531
|
loadingLabel: s
|
|
7532
7532
|
}) {
|
|
7533
|
-
return /* @__PURE__ */
|
|
7533
|
+
return /* @__PURE__ */ l.jsx(
|
|
7534
7534
|
$t,
|
|
7535
7535
|
{
|
|
7536
7536
|
onClick: t,
|
|
7537
7537
|
disabled: n || o,
|
|
7538
|
-
startIcon: o ? /* @__PURE__ */
|
|
7538
|
+
startIcon: o ? /* @__PURE__ */ l.jsx(Ci, { size: 16, color: "inherit" }) : null,
|
|
7539
7539
|
color: "primary",
|
|
7540
7540
|
variant: r,
|
|
7541
7541
|
children: o && s ? s : e
|
|
@@ -7555,8 +7555,8 @@ function xf({
|
|
|
7555
7555
|
isLoading: f,
|
|
7556
7556
|
loadingLabel: p
|
|
7557
7557
|
}) {
|
|
7558
|
-
return /* @__PURE__ */
|
|
7559
|
-
/* @__PURE__ */
|
|
7558
|
+
return /* @__PURE__ */ l.jsxs(wr, { children: [
|
|
7559
|
+
/* @__PURE__ */ l.jsx(
|
|
7560
7560
|
rs,
|
|
7561
7561
|
{
|
|
7562
7562
|
actionFn: n,
|
|
@@ -7567,7 +7567,7 @@ function xf({
|
|
|
7567
7567
|
loadingLabel: p
|
|
7568
7568
|
}
|
|
7569
7569
|
),
|
|
7570
|
-
i ? null : /* @__PURE__ */
|
|
7570
|
+
i ? null : /* @__PURE__ */ l.jsx(
|
|
7571
7571
|
rs,
|
|
7572
7572
|
{
|
|
7573
7573
|
actionFn: () => {
|
|
@@ -7580,11 +7580,11 @@ function xf({
|
|
|
7580
7580
|
)
|
|
7581
7581
|
] });
|
|
7582
7582
|
}
|
|
7583
|
-
const Td = Ee(/* @__PURE__ */
|
|
7583
|
+
const Td = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
7584
7584
|
d: "M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
|
|
7585
|
-
}), "HighlightOff"), Ed = Ee(/* @__PURE__ */
|
|
7585
|
+
}), "HighlightOff"), Ed = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
7586
7586
|
d: "M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"
|
|
7587
|
-
}), "FilterList"), kd = Ee(/* @__PURE__ */
|
|
7587
|
+
}), "FilterList"), kd = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
7588
7588
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
7589
7589
|
}), "Close"), Rd = {
|
|
7590
7590
|
border: 0,
|
|
@@ -7613,17 +7613,17 @@ function Si(e) {
|
|
|
7613
7613
|
checkboxSelection: y
|
|
7614
7614
|
} = e, u = (V) => (k) => {
|
|
7615
7615
|
i(k, V);
|
|
7616
|
-
}, [b, m] = Z(null), [
|
|
7617
|
-
V.stopPropagation(), m(V.currentTarget),
|
|
7618
|
-
},
|
|
7619
|
-
m(null),
|
|
7620
|
-
},
|
|
7616
|
+
}, [b, m] = Z(null), [S, v] = Z(null), M = (V, k) => {
|
|
7617
|
+
V.stopPropagation(), m(V.currentTarget), v(k);
|
|
7618
|
+
}, _ = () => {
|
|
7619
|
+
m(null), v(null);
|
|
7620
|
+
}, I = (V) => {
|
|
7621
7621
|
const k = V.target.value;
|
|
7622
|
-
f(
|
|
7623
|
-
},
|
|
7624
|
-
return /* @__PURE__ */
|
|
7625
|
-
/* @__PURE__ */
|
|
7626
|
-
(y || g) && /* @__PURE__ */
|
|
7622
|
+
f(S, k);
|
|
7623
|
+
}, C = !!b, P = C ? "filter-popover" : void 0;
|
|
7624
|
+
return /* @__PURE__ */ l.jsxs(Ai, { children: [
|
|
7625
|
+
/* @__PURE__ */ l.jsxs(ur, { children: [
|
|
7626
|
+
(y || g) && /* @__PURE__ */ l.jsx(Xt, { padding: "checkbox", children: /* @__PURE__ */ l.jsx(
|
|
7627
7627
|
It,
|
|
7628
7628
|
{
|
|
7629
7629
|
color: "primary",
|
|
@@ -7633,7 +7633,7 @@ function Si(e) {
|
|
|
7633
7633
|
slotProps: { "aria-label": "select all rows" }
|
|
7634
7634
|
}
|
|
7635
7635
|
) }),
|
|
7636
|
-
a.map((V) => /* @__PURE__ */
|
|
7636
|
+
a.map((V) => /* @__PURE__ */ l.jsx(
|
|
7637
7637
|
Xt,
|
|
7638
7638
|
{
|
|
7639
7639
|
align: V.alignRight ? "right" : "left",
|
|
@@ -7644,7 +7644,7 @@ function Si(e) {
|
|
|
7644
7644
|
minWidth: V.minWidth || "none",
|
|
7645
7645
|
flex: V.flex || "none"
|
|
7646
7646
|
},
|
|
7647
|
-
children: /* @__PURE__ */
|
|
7647
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
7648
7648
|
oe,
|
|
7649
7649
|
{
|
|
7650
7650
|
sx: {
|
|
@@ -7653,7 +7653,7 @@ function Si(e) {
|
|
|
7653
7653
|
justifyContent: V.alignRight ? "flex-end" : "flex-start"
|
|
7654
7654
|
},
|
|
7655
7655
|
children: [
|
|
7656
|
-
/* @__PURE__ */
|
|
7656
|
+
/* @__PURE__ */ l.jsxs(
|
|
7657
7657
|
Mi,
|
|
7658
7658
|
{
|
|
7659
7659
|
active: o === V.field,
|
|
@@ -7661,18 +7661,18 @@ function Si(e) {
|
|
|
7661
7661
|
onClick: u(V.field),
|
|
7662
7662
|
children: [
|
|
7663
7663
|
V.headerName,
|
|
7664
|
-
o === V.field ? /* @__PURE__ */
|
|
7664
|
+
o === V.field ? /* @__PURE__ */ l.jsx(oe, { component: "span", sx: Rd, children: r === "desc" ? "sorted descending" : "sorted ascending" }) : null
|
|
7665
7665
|
]
|
|
7666
7666
|
}
|
|
7667
7667
|
),
|
|
7668
|
-
p && !V.numeric && /* @__PURE__ */
|
|
7668
|
+
p && !V.numeric && /* @__PURE__ */ l.jsx(
|
|
7669
7669
|
pt,
|
|
7670
7670
|
{
|
|
7671
7671
|
size: "small",
|
|
7672
7672
|
onClick: (k) => M(k, V.field),
|
|
7673
7673
|
sx: { ml: 0.5, p: 0.5 },
|
|
7674
7674
|
color: d[V.field] ? "primary" : "default",
|
|
7675
|
-
children: /* @__PURE__ */
|
|
7675
|
+
children: /* @__PURE__ */ l.jsx(Ed, { fontSize: "small" })
|
|
7676
7676
|
}
|
|
7677
7677
|
)
|
|
7678
7678
|
]
|
|
@@ -7682,31 +7682,31 @@ function Si(e) {
|
|
|
7682
7682
|
V.field
|
|
7683
7683
|
))
|
|
7684
7684
|
] }),
|
|
7685
|
-
/* @__PURE__ */
|
|
7685
|
+
/* @__PURE__ */ l.jsx(
|
|
7686
7686
|
Ni,
|
|
7687
7687
|
{
|
|
7688
7688
|
id: P,
|
|
7689
|
-
open:
|
|
7689
|
+
open: C,
|
|
7690
7690
|
anchorEl: b,
|
|
7691
|
-
onClose:
|
|
7691
|
+
onClose: _,
|
|
7692
7692
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
7693
|
-
children: /* @__PURE__ */
|
|
7693
|
+
children: /* @__PURE__ */ l.jsx(oe, { sx: { p: 2 }, children: /* @__PURE__ */ l.jsx(
|
|
7694
7694
|
Qe,
|
|
7695
7695
|
{
|
|
7696
|
-
label: `Filter ${
|
|
7696
|
+
label: `Filter ${S}`,
|
|
7697
7697
|
variant: "outlined",
|
|
7698
|
-
value:
|
|
7699
|
-
onChange:
|
|
7698
|
+
value: S ? d[S] : "",
|
|
7699
|
+
onChange: I,
|
|
7700
7700
|
size: "small",
|
|
7701
7701
|
autoFocus: !0,
|
|
7702
7702
|
slotProps: {
|
|
7703
7703
|
input: {
|
|
7704
|
-
endAdornment:
|
|
7704
|
+
endAdornment: S && d[S] && /* @__PURE__ */ l.jsx(
|
|
7705
7705
|
pt,
|
|
7706
7706
|
{
|
|
7707
7707
|
size: "small",
|
|
7708
7708
|
onClick: (V) => {
|
|
7709
|
-
V.stopPropagation(), f(
|
|
7709
|
+
V.stopPropagation(), f(S, ""), _();
|
|
7710
7710
|
},
|
|
7711
7711
|
edge: "end",
|
|
7712
7712
|
sx: {
|
|
@@ -7715,7 +7715,7 @@ function Si(e) {
|
|
|
7715
7715
|
backgroundColor: "action.hover"
|
|
7716
7716
|
}
|
|
7717
7717
|
},
|
|
7718
|
-
children: /* @__PURE__ */
|
|
7718
|
+
children: /* @__PURE__ */ l.jsx(kd, { fontSize: "small" })
|
|
7719
7719
|
}
|
|
7720
7720
|
)
|
|
7721
7721
|
}
|
|
@@ -7754,7 +7754,7 @@ function wi(e) {
|
|
|
7754
7754
|
}), f;
|
|
7755
7755
|
}
|
|
7756
7756
|
}, [n, t, i]);
|
|
7757
|
-
return /* @__PURE__ */
|
|
7757
|
+
return /* @__PURE__ */ l.jsxs(
|
|
7758
7758
|
In,
|
|
7759
7759
|
{
|
|
7760
7760
|
sx: {
|
|
@@ -7769,7 +7769,7 @@ function wi(e) {
|
|
|
7769
7769
|
}
|
|
7770
7770
|
},
|
|
7771
7771
|
children: [
|
|
7772
|
-
t > 0 ? /* @__PURE__ */
|
|
7772
|
+
t > 0 ? /* @__PURE__ */ l.jsxs(
|
|
7773
7773
|
Pe,
|
|
7774
7774
|
{
|
|
7775
7775
|
variant: "subtitle1",
|
|
@@ -7783,7 +7783,7 @@ function wi(e) {
|
|
|
7783
7783
|
" selected"
|
|
7784
7784
|
]
|
|
7785
7785
|
}
|
|
7786
|
-
) : o && /* @__PURE__ */
|
|
7786
|
+
) : o && /* @__PURE__ */ l.jsx(
|
|
7787
7787
|
Pe,
|
|
7788
7788
|
{
|
|
7789
7789
|
sx: { flex: "1 1 100%" },
|
|
@@ -7795,14 +7795,14 @@ function wi(e) {
|
|
|
7795
7795
|
),
|
|
7796
7796
|
t > 0 ? (
|
|
7797
7797
|
// Action buttons
|
|
7798
|
-
/* @__PURE__ */
|
|
7798
|
+
/* @__PURE__ */ l.jsx(l.Fragment, { children: s && s.map((d, f) => {
|
|
7799
7799
|
const p = d.icon, g = a[d.label];
|
|
7800
|
-
return /* @__PURE__ */
|
|
7800
|
+
return /* @__PURE__ */ l.jsx(fs, { title: d.label, children: /* @__PURE__ */ l.jsx(
|
|
7801
7801
|
pt,
|
|
7802
7802
|
{
|
|
7803
7803
|
onClick: g,
|
|
7804
7804
|
disabled: t === 0,
|
|
7805
|
-
children: /* @__PURE__ */
|
|
7805
|
+
children: /* @__PURE__ */ l.jsx(
|
|
7806
7806
|
p,
|
|
7807
7807
|
{
|
|
7808
7808
|
sx: {
|
|
@@ -7818,7 +7818,7 @@ function wi(e) {
|
|
|
7818
7818
|
}) })
|
|
7819
7819
|
) : (
|
|
7820
7820
|
// Here we can add an icon for filtering if nothing is selected
|
|
7821
|
-
/* @__PURE__ */
|
|
7821
|
+
/* @__PURE__ */ l.jsx(l.Fragment, {})
|
|
7822
7822
|
)
|
|
7823
7823
|
]
|
|
7824
7824
|
}
|
|
@@ -7854,93 +7854,93 @@ function jd({
|
|
|
7854
7854
|
var E, H;
|
|
7855
7855
|
const [b, m] = Z(
|
|
7856
7856
|
y != null && y.sorting ? (E = y == null ? void 0 : y.sorting) == null ? void 0 : E.order : "asc"
|
|
7857
|
-
), [
|
|
7857
|
+
), [S, v] = Z(
|
|
7858
7858
|
y != null && y.sorting ? (H = y == null ? void 0 : y.sorting) == null ? void 0 : H.field : "date"
|
|
7859
|
-
), [M,
|
|
7859
|
+
), [M, _] = Z([]), [I, C] = Z([]), P = f ? Tr : $n.Fragment, V = f ? { theme: f } : {}, [k, L] = Z(0), D = Te(null), [w, c] = Z(0), j = Te(null);
|
|
7860
7860
|
fe(() => {
|
|
7861
|
-
if (!
|
|
7862
|
-
const
|
|
7863
|
-
for (const B of
|
|
7864
|
-
|
|
7861
|
+
if (!j.current) return;
|
|
7862
|
+
const $ = new ResizeObserver((T) => {
|
|
7863
|
+
for (const B of T)
|
|
7864
|
+
c(B.contentRect.height);
|
|
7865
7865
|
});
|
|
7866
|
-
return
|
|
7866
|
+
return $.observe(j.current), () => $.disconnect();
|
|
7867
7867
|
}, [o]), fe(() => {
|
|
7868
7868
|
if (!D.current) return;
|
|
7869
|
-
const
|
|
7870
|
-
for (const B of
|
|
7869
|
+
const $ = new ResizeObserver((T) => {
|
|
7870
|
+
for (const B of T)
|
|
7871
7871
|
L(B.contentRect.height);
|
|
7872
7872
|
});
|
|
7873
|
-
return
|
|
7873
|
+
return $.observe(D.current), () => $.disconnect();
|
|
7874
7874
|
}, [o]);
|
|
7875
|
-
const [
|
|
7876
|
-
const
|
|
7877
|
-
return e.forEach((
|
|
7878
|
-
|
|
7879
|
-
}),
|
|
7880
|
-
}), K = (
|
|
7881
|
-
m(
|
|
7875
|
+
const [R, z] = Z(() => {
|
|
7876
|
+
const $ = {};
|
|
7877
|
+
return e.forEach((T) => {
|
|
7878
|
+
$[T.field] = "";
|
|
7879
|
+
}), $;
|
|
7880
|
+
}), K = ($, T) => {
|
|
7881
|
+
m(S === T && b === "asc" ? "desc" : "asc"), v(T);
|
|
7882
7882
|
};
|
|
7883
7883
|
fe(() => {
|
|
7884
|
-
u &&
|
|
7884
|
+
u && _(u);
|
|
7885
7885
|
}, [u]);
|
|
7886
|
-
const X = (
|
|
7887
|
-
const
|
|
7888
|
-
|
|
7889
|
-
}, ee = (
|
|
7890
|
-
const B = M.indexOf(
|
|
7886
|
+
const X = ($) => {
|
|
7887
|
+
const T = $.target.checked ? W.map((B) => B.id) : [];
|
|
7888
|
+
_(T), p && p(T);
|
|
7889
|
+
}, ee = ($, T) => {
|
|
7890
|
+
const B = M.indexOf(T);
|
|
7891
7891
|
let U = [];
|
|
7892
|
-
B === -1 ? U = U.concat(M,
|
|
7892
|
+
B === -1 ? U = U.concat(M, T) : B === 0 ? U = U.concat(M.slice(1)) : B === M.length - 1 ? U = U.concat(M.slice(0, -1)) : B > 0 && (U = U.concat(
|
|
7893
7893
|
M.slice(0, B),
|
|
7894
7894
|
M.slice(B + 1)
|
|
7895
|
-
)),
|
|
7895
|
+
)), _(U), p && p(U);
|
|
7896
7896
|
}, ne = () => {
|
|
7897
|
-
|
|
7898
|
-
}, N = (
|
|
7899
|
-
z((B) => ({ ...B, [
|
|
7900
|
-
}, x = (
|
|
7901
|
-
|
|
7897
|
+
_([]), p && p([]);
|
|
7898
|
+
}, N = ($, T) => {
|
|
7899
|
+
z((B) => ({ ...B, [$]: T }));
|
|
7900
|
+
}, x = ($) => {
|
|
7901
|
+
C((T) => T.includes($) ? T.filter((B) => B !== $) : [...T, $]);
|
|
7902
7902
|
}, F = rt(() => {
|
|
7903
|
-
if (!o ||
|
|
7903
|
+
if (!o || I.length === 0)
|
|
7904
7904
|
return () => !0;
|
|
7905
|
-
const
|
|
7906
|
-
const B = o[
|
|
7907
|
-
return B && typeof B.filter == "function" ? B.filter : (console.warn(`Invalid filter function found for index ${
|
|
7905
|
+
const $ = I.map((T) => {
|
|
7906
|
+
const B = o[T];
|
|
7907
|
+
return B && typeof B.filter == "function" ? B.filter : (console.warn(`Invalid filter function found for index ${T}`), () => !1);
|
|
7908
7908
|
});
|
|
7909
|
-
return (
|
|
7910
|
-
}, [
|
|
7911
|
-
() => [...t].filter((
|
|
7912
|
-
if (n && typeof n == "function" && !n(
|
|
7909
|
+
return (T) => $.some((B) => B(T));
|
|
7910
|
+
}, [I, o]), W = rt(
|
|
7911
|
+
() => [...t].filter(($) => {
|
|
7912
|
+
if (n && typeof n == "function" && !n($) || !F($))
|
|
7913
7913
|
return !1;
|
|
7914
|
-
for (const
|
|
7915
|
-
const B =
|
|
7916
|
-
if (B && !String(
|
|
7914
|
+
for (const T in R) {
|
|
7915
|
+
const B = R[T].toLowerCase();
|
|
7916
|
+
if (B && !String($[T]).toLowerCase().includes(B))
|
|
7917
7917
|
return !1;
|
|
7918
7918
|
}
|
|
7919
7919
|
return !0;
|
|
7920
|
-
}).sort(_d(b,
|
|
7921
|
-
[b,
|
|
7920
|
+
}).sort(_d(b, S)),
|
|
7921
|
+
[b, S, t, n, F, R]
|
|
7922
7922
|
);
|
|
7923
|
-
return /* @__PURE__ */
|
|
7923
|
+
return /* @__PURE__ */ l.jsx(P, { ...V, children: /* @__PURE__ */ l.jsxs(
|
|
7924
7924
|
oe,
|
|
7925
7925
|
{
|
|
7926
7926
|
id: "test",
|
|
7927
7927
|
sx: {
|
|
7928
7928
|
width: "100%",
|
|
7929
|
-
height: `calc(100% - ${k +
|
|
7929
|
+
height: `calc(100% - ${k + w}px)`
|
|
7930
7930
|
// always offset by actual size
|
|
7931
7931
|
},
|
|
7932
7932
|
children: [
|
|
7933
|
-
o && /* @__PURE__ */
|
|
7933
|
+
o && /* @__PURE__ */ l.jsx(
|
|
7934
7934
|
oe,
|
|
7935
7935
|
{
|
|
7936
7936
|
ref: D,
|
|
7937
7937
|
sx: { display: "flex", gap: 1, flexWrap: "wrap", p: 1 },
|
|
7938
|
-
children: /* @__PURE__ */
|
|
7939
|
-
const B =
|
|
7940
|
-
return /* @__PURE__ */
|
|
7938
|
+
children: /* @__PURE__ */ l.jsx(Jt, { direction: "row", spacing: 1, children: o.map(($, T) => {
|
|
7939
|
+
const B = I.includes(T);
|
|
7940
|
+
return /* @__PURE__ */ l.jsx(
|
|
7941
7941
|
hs,
|
|
7942
7942
|
{
|
|
7943
|
-
label: /* @__PURE__ */
|
|
7943
|
+
label: /* @__PURE__ */ l.jsxs(
|
|
7944
7944
|
oe,
|
|
7945
7945
|
{
|
|
7946
7946
|
sx: {
|
|
@@ -7949,22 +7949,22 @@ function jd({
|
|
|
7949
7949
|
gap: B ? 0.5 : 0
|
|
7950
7950
|
},
|
|
7951
7951
|
children: [
|
|
7952
|
-
/* @__PURE__ */
|
|
7953
|
-
B && /* @__PURE__ */
|
|
7952
|
+
/* @__PURE__ */ l.jsx("span", { children: $.label }),
|
|
7953
|
+
B && /* @__PURE__ */ l.jsx(Td, { sx: { fontSize: 24 } })
|
|
7954
7954
|
]
|
|
7955
7955
|
}
|
|
7956
7956
|
),
|
|
7957
7957
|
variant: B ? "filled" : "outlined",
|
|
7958
7958
|
color: "secondary",
|
|
7959
|
-
onClick: () => x(
|
|
7959
|
+
onClick: () => x(T)
|
|
7960
7960
|
},
|
|
7961
|
-
|
|
7961
|
+
$.label
|
|
7962
7962
|
);
|
|
7963
7963
|
}) })
|
|
7964
7964
|
}
|
|
7965
7965
|
),
|
|
7966
|
-
/* @__PURE__ */
|
|
7967
|
-
a && /* @__PURE__ */
|
|
7966
|
+
/* @__PURE__ */ l.jsxs(oe, { ref: j, children: [
|
|
7967
|
+
a && /* @__PURE__ */ l.jsx(
|
|
7968
7968
|
wi,
|
|
7969
7969
|
{
|
|
7970
7970
|
numSelected: M.length,
|
|
@@ -7975,7 +7975,7 @@ function jd({
|
|
|
7975
7975
|
dataRows: t
|
|
7976
7976
|
}
|
|
7977
7977
|
),
|
|
7978
|
-
!a && i && /* @__PURE__ */
|
|
7978
|
+
!a && i && /* @__PURE__ */ l.jsx(In, { sx: { pl: { sm: 2 }, pr: { xs: 1, sm: 1 } }, children: /* @__PURE__ */ l.jsx(
|
|
7979
7979
|
Pe,
|
|
7980
7980
|
{
|
|
7981
7981
|
sx: { flex: "1 1 100%" },
|
|
@@ -7986,60 +7986,60 @@ function jd({
|
|
|
7986
7986
|
}
|
|
7987
7987
|
) })
|
|
7988
7988
|
] }),
|
|
7989
|
-
/* @__PURE__ */
|
|
7989
|
+
/* @__PURE__ */ l.jsxs(Di, { component: Bi, sx: d || { height: "100%" }, children: [
|
|
7990
7990
|
" ",
|
|
7991
|
-
/* @__PURE__ */
|
|
7992
|
-
/* @__PURE__ */
|
|
7991
|
+
/* @__PURE__ */ l.jsxs(Fi, { stickyHeader: !0, "aria-label": "pan table", sx: { width: "100%" }, children: [
|
|
7992
|
+
/* @__PURE__ */ l.jsx(
|
|
7993
7993
|
Si,
|
|
7994
7994
|
{
|
|
7995
7995
|
numSelected: M.length,
|
|
7996
7996
|
order: b,
|
|
7997
|
-
orderBy:
|
|
7997
|
+
orderBy: S,
|
|
7998
7998
|
onSelectAllClick: X,
|
|
7999
7999
|
onRequestSort: K,
|
|
8000
8000
|
rowCount: W.length,
|
|
8001
8001
|
columns: e,
|
|
8002
8002
|
setColumnFilter: N,
|
|
8003
|
-
columnFilters:
|
|
8003
|
+
columnFilters: R,
|
|
8004
8004
|
showColumnFilters: s,
|
|
8005
8005
|
groupOperations: a,
|
|
8006
8006
|
checkboxSelection: g
|
|
8007
8007
|
}
|
|
8008
8008
|
),
|
|
8009
|
-
/* @__PURE__ */
|
|
8010
|
-
W.map((
|
|
8011
|
-
const B = M.includes(
|
|
8012
|
-
return /* @__PURE__ */
|
|
8009
|
+
/* @__PURE__ */ l.jsxs(Vi, { sx: { verticalAlign: "top" }, children: [
|
|
8010
|
+
W.map(($, T) => {
|
|
8011
|
+
const B = M.includes($.id);
|
|
8012
|
+
return /* @__PURE__ */ l.jsxs(
|
|
8013
8013
|
ur,
|
|
8014
8014
|
{
|
|
8015
8015
|
hover: !0,
|
|
8016
8016
|
onClick: (U) => {
|
|
8017
|
-
(g || a) && ee(U,
|
|
8017
|
+
(g || a) && ee(U, $.id);
|
|
8018
8018
|
},
|
|
8019
8019
|
role: "checkbox",
|
|
8020
8020
|
tabIndex: -1,
|
|
8021
8021
|
selected: B,
|
|
8022
8022
|
children: [
|
|
8023
|
-
(g || a) && /* @__PURE__ */
|
|
8024
|
-
e.map((U) => /* @__PURE__ */
|
|
8023
|
+
(g || a) && /* @__PURE__ */ l.jsx(Xt, { padding: "checkbox", children: /* @__PURE__ */ l.jsx(It, { color: "primary", checked: B }) }),
|
|
8024
|
+
e.map((U) => /* @__PURE__ */ l.jsx(
|
|
8025
8025
|
Xt,
|
|
8026
8026
|
{
|
|
8027
8027
|
align: U.alignRight ? "right" : "left",
|
|
8028
8028
|
sx: { whiteSpace: "normal", wordBreak: "break-word" },
|
|
8029
8029
|
children: U.renderCell ? U.renderCell({
|
|
8030
|
-
row:
|
|
8031
|
-
id:
|
|
8030
|
+
row: $,
|
|
8031
|
+
id: $.id,
|
|
8032
8032
|
field: U.field
|
|
8033
|
-
}) :
|
|
8033
|
+
}) : $[U.field]
|
|
8034
8034
|
},
|
|
8035
8035
|
U.field
|
|
8036
8036
|
))
|
|
8037
8037
|
]
|
|
8038
8038
|
},
|
|
8039
|
-
|
|
8039
|
+
$.id
|
|
8040
8040
|
);
|
|
8041
8041
|
}),
|
|
8042
|
-
/* @__PURE__ */
|
|
8042
|
+
/* @__PURE__ */ l.jsx(ur, { sx: { height: "100%" }, children: /* @__PURE__ */ l.jsx(
|
|
8043
8043
|
Xt,
|
|
8044
8044
|
{
|
|
8045
8045
|
colSpan: e.length,
|
|
@@ -8053,17 +8053,17 @@ function jd({
|
|
|
8053
8053
|
}
|
|
8054
8054
|
) });
|
|
8055
8055
|
}
|
|
8056
|
-
const ss = Ee(/* @__PURE__ */
|
|
8056
|
+
const ss = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
8057
8057
|
d: "M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5z"
|
|
8058
|
-
}), "FileDownloadOutlined"), Od = Ee(/* @__PURE__ */
|
|
8058
|
+
}), "FileDownloadOutlined"), Od = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
8059
8059
|
d: "M5 18h14v2H5zm4.6-2.7L5 10.7l2-1.9 2.6 2.6L17 4l2 2z"
|
|
8060
|
-
}), "FileDownloadDone"), $d = Ee(/* @__PURE__ */
|
|
8060
|
+
}), "FileDownloadDone"), $d = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
8061
8061
|
d: "M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"
|
|
8062
|
-
}), "Update"), Id = Ee(/* @__PURE__ */
|
|
8062
|
+
}), "Update"), Id = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
8063
8063
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"
|
|
8064
|
-
}), "BlockOutlined"), Pd = Ee(/* @__PURE__ */
|
|
8064
|
+
}), "BlockOutlined"), Pd = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
8065
8065
|
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
8066
|
-
}), "Check"), Ad = Ee(/* @__PURE__ */
|
|
8066
|
+
}), "Check"), Ad = Ee(/* @__PURE__ */ l.jsx("path", {
|
|
8067
8067
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
8068
8068
|
}), "RadioButtonUnchecked"), Md = async (e, t) => {
|
|
8069
8069
|
const n = await Se(
|
|
@@ -8086,22 +8086,22 @@ function vf({
|
|
|
8086
8086
|
onDownloadingChange: p,
|
|
8087
8087
|
languageLookup: g = []
|
|
8088
8088
|
}) {
|
|
8089
|
-
const { i18nRef: y } = ge(Be), { debugRef: u } = ge(rn), [b, m] = Z(0),
|
|
8089
|
+
const { i18nRef: y } = ge(Be), { debugRef: u } = ge(rn), [b, m] = Z(0), S = Te(0), [v, M] = Z([]), [_, I] = Z(null), [C, P] = Z({}), [V, k] = Z(!0), L = Te(null), [D, w] = Z(0), [c, j] = Z(!1), { sourceWhitelist: R, filterExample: z, listMode: K } = rt(() => {
|
|
8090
8090
|
if (Array.isArray(n))
|
|
8091
8091
|
return {
|
|
8092
8092
|
listMode: !1,
|
|
8093
8093
|
sourceWhitelist: n,
|
|
8094
|
-
filterExample: n.map(([E, H,
|
|
8094
|
+
filterExample: n.map(([E, H, $]) => ({
|
|
8095
8095
|
label: H,
|
|
8096
|
-
icon:
|
|
8097
|
-
filter: (
|
|
8096
|
+
icon: $ || /* @__PURE__ */ l.jsx(Ad, {}),
|
|
8097
|
+
filter: (T) => !0
|
|
8098
8098
|
}))
|
|
8099
8099
|
};
|
|
8100
8100
|
if (n && typeof n == "object") {
|
|
8101
8101
|
const E = [];
|
|
8102
|
-
for (const [H,
|
|
8103
|
-
for (const
|
|
8104
|
-
E.push([`${H}/${
|
|
8102
|
+
for (const [H, $] of Object.entries(n))
|
|
8103
|
+
for (const T of Object.keys($))
|
|
8104
|
+
E.push([`${H}/${T}`, T]);
|
|
8105
8105
|
return {
|
|
8106
8106
|
listMode: !0,
|
|
8107
8107
|
sourceWhitelist: E,
|
|
@@ -8121,8 +8121,8 @@ function vf({
|
|
|
8121
8121
|
}, [z, b]), fe(() => {
|
|
8122
8122
|
if (!L.current) return;
|
|
8123
8123
|
const E = new ResizeObserver((H) => {
|
|
8124
|
-
for (const
|
|
8125
|
-
|
|
8124
|
+
for (const $ of H)
|
|
8125
|
+
w($.contentRect.height);
|
|
8126
8126
|
});
|
|
8127
8127
|
return E.observe(L.current), () => E.disconnect();
|
|
8128
8128
|
}, [z]);
|
|
@@ -8132,72 +8132,72 @@ function vf({
|
|
|
8132
8132
|
}, [b, z]);
|
|
8133
8133
|
fe(() => {
|
|
8134
8134
|
(async () => {
|
|
8135
|
-
k(!0),
|
|
8136
|
-
const H = ++
|
|
8135
|
+
k(!0), I(null);
|
|
8136
|
+
const H = ++S.current;
|
|
8137
8137
|
Md(P, u);
|
|
8138
|
-
let
|
|
8138
|
+
let $ = [];
|
|
8139
8139
|
if (K)
|
|
8140
|
-
for (let
|
|
8141
|
-
let B =
|
|
8140
|
+
for (let T = 0; T < R.length; T++) {
|
|
8141
|
+
let B = R[T], U = B[0].split("/"), J;
|
|
8142
8142
|
if (e === "org" && (J = await Se(
|
|
8143
8143
|
`/api/gitea/remote-repos/${B[0]}`,
|
|
8144
8144
|
u.current
|
|
8145
8145
|
)), e === "user" && (J = await Se(
|
|
8146
8146
|
`/api/gitea/user-remote-repos/${B[0]}`,
|
|
8147
8147
|
u.current
|
|
8148
|
-
)), H !==
|
|
8148
|
+
)), H !== S.current) return;
|
|
8149
8149
|
if (J.ok && J.json.length > 0)
|
|
8150
8150
|
if (K) {
|
|
8151
8151
|
const se = J.json.filter((Y) => n[U[0]][U[1]].includes(Y.name)).map((Y) => ({ ...Y, source: B[0] }));
|
|
8152
|
-
|
|
8152
|
+
$ = [...$, ...se];
|
|
8153
8153
|
} else {
|
|
8154
8154
|
const se = J.json.map((Y) => ({ ...Y, source: B[0] }));
|
|
8155
|
-
|
|
8155
|
+
$ = [...$, ...se];
|
|
8156
8156
|
}
|
|
8157
8157
|
}
|
|
8158
8158
|
else {
|
|
8159
|
-
let
|
|
8159
|
+
let T = R[b], B = T[0].split("/"), U;
|
|
8160
8160
|
if (e === "org" && (U = await Se(
|
|
8161
|
-
`/api/gitea/remote-repos/${
|
|
8161
|
+
`/api/gitea/remote-repos/${T[0]}`,
|
|
8162
8162
|
u.current
|
|
8163
8163
|
)), e === "user" && (U = await Se(
|
|
8164
|
-
`/api/gitea/user-remote-repos/${
|
|
8164
|
+
`/api/gitea/user-remote-repos/${T[0]}`,
|
|
8165
8165
|
u.current
|
|
8166
|
-
)), H !==
|
|
8166
|
+
)), H !== S.current) return;
|
|
8167
8167
|
if (U.ok && U.json.length > 0)
|
|
8168
8168
|
if (K) {
|
|
8169
|
-
const J = U.json.filter((se) => n[B[0]][B[1]].includes(se.name)).map((se) => ({ ...se, source:
|
|
8170
|
-
|
|
8169
|
+
const J = U.json.filter((se) => n[B[0]][B[1]].includes(se.name)).map((se) => ({ ...se, source: T[0] }));
|
|
8170
|
+
$ = [...$, ...J];
|
|
8171
8171
|
} else {
|
|
8172
|
-
const J = U.json.map((se) => ({ ...se, source:
|
|
8173
|
-
|
|
8172
|
+
const J = U.json.map((se) => ({ ...se, source: T[0] }));
|
|
8173
|
+
$ = [...$, ...J];
|
|
8174
8174
|
}
|
|
8175
8175
|
}
|
|
8176
|
-
|
|
8176
|
+
$.length > 0 ? (k(!1), j(!1), M($)) : (k(!1), j(!0), Ye(
|
|
8177
8177
|
G("library:pankosmia-rcl:catalog_empty", y.current),
|
|
8178
8178
|
{ variant: "error" }
|
|
8179
8179
|
));
|
|
8180
8180
|
})();
|
|
8181
|
-
}, [
|
|
8182
|
-
if (
|
|
8181
|
+
}, [R, b]), fe(() => {
|
|
8182
|
+
if (v.length === 0) return;
|
|
8183
8183
|
(async () => {
|
|
8184
8184
|
const H = {};
|
|
8185
|
-
for (const
|
|
8186
|
-
if (
|
|
8187
|
-
const B =
|
|
8188
|
-
H[`${
|
|
8185
|
+
for (const $ of v)
|
|
8186
|
+
if (C[`${$.source}/${$.name}`]) {
|
|
8187
|
+
const B = C[`${$.source}/${$.name}`].timestamp, U = Date.parse($.released) / 1e3;
|
|
8188
|
+
H[`${$.source}/${$.name}`] = U - B > 0 ? "updatable" : "downloaded";
|
|
8189
8189
|
} else
|
|
8190
|
-
H[`${
|
|
8191
|
-
|
|
8190
|
+
H[`${$.source}/${$.name}`] = "notDownloaded";
|
|
8191
|
+
I(H);
|
|
8192
8192
|
})();
|
|
8193
|
-
}, [
|
|
8194
|
-
if (!
|
|
8195
|
-
const E = Object.values(
|
|
8193
|
+
}, [v, C]), fe(() => {
|
|
8194
|
+
if (!_) return;
|
|
8195
|
+
const E = Object.values(_).includes("downloading");
|
|
8196
8196
|
p == null || p(E);
|
|
8197
|
-
}, [
|
|
8197
|
+
}, [_, p]);
|
|
8198
8198
|
const ne = ji(
|
|
8199
|
-
async (E, H,
|
|
8200
|
-
|
|
8199
|
+
async (E, H, $) => {
|
|
8200
|
+
I((B) => ({
|
|
8201
8201
|
...B,
|
|
8202
8202
|
[H]: "downloading"
|
|
8203
8203
|
})), Ye(
|
|
@@ -8207,23 +8207,23 @@ function vf({
|
|
|
8207
8207
|
)} ${E.row.abbreviation}`,
|
|
8208
8208
|
{ variant: "info" }
|
|
8209
8209
|
);
|
|
8210
|
-
let
|
|
8211
|
-
|
|
8210
|
+
let T;
|
|
8211
|
+
T = await t(E, H, $), T.ok ? (Ye(
|
|
8212
8212
|
`${E.row.abbreviation} ${G(
|
|
8213
|
-
|
|
8213
|
+
$ === "clone" ? "pages:core-remote-resources:downloaded" : "pages:core-remote-resources:updated",
|
|
8214
8214
|
y.current
|
|
8215
8215
|
)}`,
|
|
8216
8216
|
{ variant: "success" }
|
|
8217
|
-
),
|
|
8217
|
+
), I((B) => ({
|
|
8218
8218
|
...B,
|
|
8219
8219
|
[H]: "downloaded"
|
|
8220
8220
|
}))) : (Ye(
|
|
8221
8221
|
`${E.row.abbreviation} ${G(
|
|
8222
8222
|
"pages:core-remote-resources:failed",
|
|
8223
8223
|
y.current
|
|
8224
|
-
)} : ${
|
|
8224
|
+
)} : ${T.error} (${T.status})`,
|
|
8225
8225
|
{ variant: "error" }
|
|
8226
|
-
),
|
|
8226
|
+
), I((B) => ({
|
|
8227
8227
|
...B,
|
|
8228
8228
|
[H]: "notDownloaded"
|
|
8229
8229
|
})));
|
|
@@ -8275,28 +8275,28 @@ function vf({
|
|
|
8275
8275
|
flex: 0.5,
|
|
8276
8276
|
minWidth: 120,
|
|
8277
8277
|
renderCell: (E) => {
|
|
8278
|
-
const H = `${E.row.source}/${E.row.name}`,
|
|
8279
|
-
return /* @__PURE__ */
|
|
8278
|
+
const H = `${E.row.source}/${E.row.name}`, $ = _ == null ? void 0 : _[H], T = $ === "updatable", B = $ === "downloading", U = $ === "downloaded" || !$;
|
|
8279
|
+
return /* @__PURE__ */ l.jsx(
|
|
8280
8280
|
pt,
|
|
8281
8281
|
{
|
|
8282
8282
|
onClick: (J) => {
|
|
8283
8283
|
J.stopPropagation(), ne(
|
|
8284
8284
|
E,
|
|
8285
8285
|
H,
|
|
8286
|
-
|
|
8286
|
+
T ? "fetch" : "clone"
|
|
8287
8287
|
);
|
|
8288
8288
|
},
|
|
8289
8289
|
loading: B,
|
|
8290
8290
|
disabled: U,
|
|
8291
|
-
children: U ? /* @__PURE__ */
|
|
8291
|
+
children: U ? /* @__PURE__ */ l.jsx(Od, {}) : T ? /* @__PURE__ */ l.jsx($d, {}) : /* @__PURE__ */ l.jsx(ss, {})
|
|
8292
8292
|
}
|
|
8293
8293
|
);
|
|
8294
8294
|
}
|
|
8295
8295
|
}
|
|
8296
8296
|
],
|
|
8297
|
-
[y,
|
|
8297
|
+
[y, _, ne]
|
|
8298
8298
|
), x = rt(
|
|
8299
|
-
() =>
|
|
8299
|
+
() => v.filter((E) => E.flavor).map((E) => ({
|
|
8300
8300
|
...E,
|
|
8301
8301
|
id: `${E.source}/${E.name}`,
|
|
8302
8302
|
url: E.latest_zip,
|
|
@@ -8312,27 +8312,30 @@ function vf({
|
|
|
8312
8312
|
type: G(
|
|
8313
8313
|
`flavors:names:${E.flavor_type}/${E.flavor}`,
|
|
8314
8314
|
y.current
|
|
8315
|
+
).includes("flavors:names") ? `${E.flavor_type}/${E.flavor}` : G(
|
|
8316
|
+
`flavors:names:${E.flavor_type}/${E.flavor}`,
|
|
8317
|
+
y.current
|
|
8315
8318
|
)
|
|
8316
8319
|
})).filter((E) => E.metadata_types === "rc" && E.topics.some((H) => d.includes(H)) || E.metadata_types === "sb" || !1),
|
|
8317
8320
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
8318
|
-
[
|
|
8321
|
+
[v, y, X]
|
|
8319
8322
|
), F = [
|
|
8320
8323
|
{
|
|
8321
8324
|
label: "Download selected",
|
|
8322
8325
|
icon: ss,
|
|
8323
8326
|
action: (E, H) => {
|
|
8324
|
-
if (!
|
|
8327
|
+
if (!_) return;
|
|
8325
8328
|
H.filter(
|
|
8326
|
-
(
|
|
8327
|
-
).forEach((
|
|
8328
|
-
const B = `${
|
|
8329
|
-
|
|
8329
|
+
(T) => E.selectedIds.includes(T.id)
|
|
8330
|
+
).forEach((T) => {
|
|
8331
|
+
const B = `${T.source}/${T.name}`;
|
|
8332
|
+
_[B] === "notDownloaded" ? ne({ row: T }, B, "clone") : _[B] === "updatable" && ne({ row: T }, B, "fetch");
|
|
8330
8333
|
});
|
|
8331
8334
|
}
|
|
8332
8335
|
}
|
|
8333
8336
|
], W = i ? { theme: i } : {};
|
|
8334
|
-
return /* @__PURE__ */
|
|
8335
|
-
(z == null ? void 0 : z.length) > 0 && f && /* @__PURE__ */
|
|
8337
|
+
return /* @__PURE__ */ l.jsxs(oe, { ...W, sx: { height: "100%" }, children: [
|
|
8338
|
+
(z == null ? void 0 : z.length) > 0 && f && /* @__PURE__ */ l.jsx(
|
|
8336
8339
|
Jt,
|
|
8337
8340
|
{
|
|
8338
8341
|
ref: L,
|
|
@@ -8343,22 +8346,22 @@ function vf({
|
|
|
8343
8346
|
mb: 1
|
|
8344
8347
|
},
|
|
8345
8348
|
children: z.map((E, H) => {
|
|
8346
|
-
const
|
|
8347
|
-
return /* @__PURE__ */
|
|
8349
|
+
const $ = b === H, T = H === 0, B = H === z.length - 1;
|
|
8350
|
+
return /* @__PURE__ */ l.jsx(
|
|
8348
8351
|
hs,
|
|
8349
8352
|
{
|
|
8350
8353
|
label: E.label,
|
|
8351
8354
|
onClick: () => m(H),
|
|
8352
8355
|
color: "primary",
|
|
8353
|
-
variant:
|
|
8354
|
-
icon:
|
|
8356
|
+
variant: $ ? "filled" : "outlined",
|
|
8357
|
+
icon: $ ? /* @__PURE__ */ l.jsx(Pd, {}) : E.icon,
|
|
8355
8358
|
sx: {
|
|
8356
8359
|
borderRadius: 0,
|
|
8357
8360
|
height: 40,
|
|
8358
8361
|
border: "1px solid",
|
|
8359
8362
|
borderColor: "primary.main",
|
|
8360
|
-
...!
|
|
8361
|
-
...
|
|
8363
|
+
...!T && { borderLeft: "none" },
|
|
8364
|
+
...T && {
|
|
8362
8365
|
borderTopLeftRadius: "20px",
|
|
8363
8366
|
borderBottomLeftRadius: "20px"
|
|
8364
8367
|
},
|
|
@@ -8371,7 +8374,7 @@ function vf({
|
|
|
8371
8374
|
marginLeft: "8px",
|
|
8372
8375
|
marginRight: "-4px"
|
|
8373
8376
|
},
|
|
8374
|
-
|
|
8377
|
+
...$ && {
|
|
8375
8378
|
zIndex: 1,
|
|
8376
8379
|
borderColor: "primary.main"
|
|
8377
8380
|
}
|
|
@@ -8382,13 +8385,13 @@ function vf({
|
|
|
8382
8385
|
})
|
|
8383
8386
|
}
|
|
8384
8387
|
),
|
|
8385
|
-
!V && !
|
|
8388
|
+
!V && !c ? /* @__PURE__ */ l.jsx(
|
|
8386
8389
|
oe,
|
|
8387
8390
|
{
|
|
8388
8391
|
sx: {
|
|
8389
8392
|
height: D > 0 ? `calc(100% - ${D + 8}px)` : "100%"
|
|
8390
8393
|
},
|
|
8391
|
-
children: /* @__PURE__ */
|
|
8394
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8392
8395
|
jd,
|
|
8393
8396
|
{
|
|
8394
8397
|
columns: N,
|
|
@@ -8410,7 +8413,7 @@ function vf({
|
|
|
8410
8413
|
}
|
|
8411
8414
|
) : (
|
|
8412
8415
|
// Centered loading spinner
|
|
8413
|
-
!
|
|
8416
|
+
!c && /* @__PURE__ */ l.jsx(
|
|
8414
8417
|
oe,
|
|
8415
8418
|
{
|
|
8416
8419
|
sx: {
|
|
@@ -8420,11 +8423,11 @@ function vf({
|
|
|
8420
8423
|
height: "100%"
|
|
8421
8424
|
// take full available height
|
|
8422
8425
|
},
|
|
8423
|
-
children: /* @__PURE__ */
|
|
8426
|
+
children: /* @__PURE__ */ l.jsx(gs, {})
|
|
8424
8427
|
}
|
|
8425
8428
|
)
|
|
8426
8429
|
),
|
|
8427
|
-
|
|
8430
|
+
c && /* @__PURE__ */ l.jsx(
|
|
8428
8431
|
oe,
|
|
8429
8432
|
{
|
|
8430
8433
|
sx: {
|
|
@@ -8434,7 +8437,7 @@ function vf({
|
|
|
8434
8437
|
height: "100%"
|
|
8435
8438
|
// take full available height
|
|
8436
8439
|
},
|
|
8437
|
-
children: /* @__PURE__ */
|
|
8440
|
+
children: /* @__PURE__ */ l.jsxs(Pe, { children: [
|
|
8438
8441
|
" ",
|
|
8439
8442
|
G("library:pankosmia-rcl:catalog_empty", y.current)
|
|
8440
8443
|
] })
|
|
@@ -8447,19 +8450,22 @@ function is({
|
|
|
8447
8450
|
titleLabel: t,
|
|
8448
8451
|
getOptionLabel: n,
|
|
8449
8452
|
value: r,
|
|
8450
|
-
setValue: o
|
|
8453
|
+
setValue: o,
|
|
8454
|
+
filterOptions: s
|
|
8451
8455
|
}) {
|
|
8452
|
-
return /* @__PURE__ */
|
|
8456
|
+
return /* @__PURE__ */ l.jsx(
|
|
8453
8457
|
Li,
|
|
8454
8458
|
{
|
|
8459
|
+
disableClearable: !0,
|
|
8460
|
+
filterOptions: s,
|
|
8455
8461
|
value: r,
|
|
8456
|
-
onChange: (
|
|
8457
|
-
o(
|
|
8462
|
+
onChange: (i, a) => {
|
|
8463
|
+
o(a);
|
|
8458
8464
|
},
|
|
8459
8465
|
options: e,
|
|
8460
8466
|
getOptionLabel: n,
|
|
8461
8467
|
sx: { width: "100%" },
|
|
8462
|
-
renderInput: (
|
|
8468
|
+
renderInput: (i) => /* @__PURE__ */ l.jsx(Qe, { ...i, label: t })
|
|
8463
8469
|
}
|
|
8464
8470
|
);
|
|
8465
8471
|
}
|
|
@@ -8475,38 +8481,38 @@ function Nd({ currentId: e }) {
|
|
|
8475
8481
|
const M = await Se("/api/list-clients", y.current);
|
|
8476
8482
|
M.ok && f(
|
|
8477
8483
|
M.json.filter(
|
|
8478
|
-
(
|
|
8484
|
+
(_) => !_.exclude_from_menu && (y.current || !_.requires.debug)
|
|
8479
8485
|
)
|
|
8480
8486
|
);
|
|
8481
8487
|
})().then();
|
|
8482
8488
|
}, [y.current]);
|
|
8483
|
-
const b = (
|
|
8489
|
+
const b = (v) => {
|
|
8484
8490
|
Se(`/api/debug/${y.current ? "disable" : "enable"}`).then(
|
|
8485
8491
|
() => {
|
|
8486
|
-
|
|
8492
|
+
v.stopPropagation(), v.preventDefault();
|
|
8487
8493
|
}
|
|
8488
8494
|
);
|
|
8489
8495
|
};
|
|
8490
8496
|
fe(() => {
|
|
8491
|
-
let
|
|
8497
|
+
let v;
|
|
8492
8498
|
if (i && !r)
|
|
8493
|
-
return
|
|
8499
|
+
return v = setTimeout(() => {
|
|
8494
8500
|
if (s.current) {
|
|
8495
8501
|
const M = s.current.clientWidth;
|
|
8496
8502
|
M > 0 && (n(`${M}px`), o(!0));
|
|
8497
8503
|
}
|
|
8498
|
-
}, 50), () => clearTimeout(
|
|
8504
|
+
}, 50), () => clearTimeout(v);
|
|
8499
8505
|
}, [i, r]);
|
|
8500
|
-
let m = u && u.current && u.current.os === "android",
|
|
8501
|
-
return /* @__PURE__ */
|
|
8502
|
-
/* @__PURE__ */
|
|
8503
|
-
/* @__PURE__ */
|
|
8506
|
+
let m = u && u.current && u.current.os === "android", S = m ? "30px" : "0px";
|
|
8507
|
+
return /* @__PURE__ */ l.jsxs(oe, { sx: { m: 0, mr: 2 }, children: [
|
|
8508
|
+
/* @__PURE__ */ l.jsx(pt, { onClick: (v) => a(!0), children: /* @__PURE__ */ l.jsx(vi, { sx: { color: "#FFF" } }) }),
|
|
8509
|
+
/* @__PURE__ */ l.jsx(
|
|
8504
8510
|
ps,
|
|
8505
8511
|
{
|
|
8506
8512
|
open: i,
|
|
8507
8513
|
onClose: () => a(!1),
|
|
8508
8514
|
sx: { width: "100%", height: "100%", overflow: "hidden" },
|
|
8509
|
-
children: /* @__PURE__ */
|
|
8515
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
8510
8516
|
oe,
|
|
8511
8517
|
{
|
|
8512
8518
|
sx: {
|
|
@@ -8517,51 +8523,51 @@ function Nd({ currentId: e }) {
|
|
|
8517
8523
|
minHeight: m ? "calc(100vh - 60px)" : "100vh",
|
|
8518
8524
|
m: 0,
|
|
8519
8525
|
p: 0,
|
|
8520
|
-
paddingTop:
|
|
8521
|
-
paddingBottom:
|
|
8526
|
+
paddingTop: S,
|
|
8527
|
+
paddingBottom: S
|
|
8522
8528
|
},
|
|
8523
8529
|
role: "presentation",
|
|
8524
8530
|
children: [
|
|
8525
|
-
/* @__PURE__ */
|
|
8526
|
-
(
|
|
8531
|
+
/* @__PURE__ */ l.jsx(Gt, { sx: { width: "100%" }, children: d.map(
|
|
8532
|
+
(v, M) => v.id === e ? /* @__PURE__ */ l.jsx(
|
|
8527
8533
|
_t,
|
|
8528
8534
|
{
|
|
8529
8535
|
disablePadding: !0,
|
|
8530
8536
|
onClick: () => a(!1),
|
|
8531
|
-
children: /* @__PURE__ */
|
|
8537
|
+
children: /* @__PURE__ */ l.jsx(Xe, { selected: !0, children: /* @__PURE__ */ l.jsx(
|
|
8532
8538
|
Je,
|
|
8533
8539
|
{
|
|
8534
|
-
primary: G(`pages:${
|
|
8540
|
+
primary: G(`pages:${v.id}:title`, p.current)
|
|
8535
8541
|
}
|
|
8536
8542
|
) })
|
|
8537
8543
|
},
|
|
8538
8544
|
M
|
|
8539
|
-
) : /* @__PURE__ */
|
|
8545
|
+
) : /* @__PURE__ */ l.jsx(_t, { disablePadding: !0, children: /* @__PURE__ */ l.jsx(
|
|
8540
8546
|
Xe,
|
|
8541
8547
|
{
|
|
8542
|
-
disabled:
|
|
8548
|
+
disabled: v.requires.net && !g.current,
|
|
8543
8549
|
onClick: () => {
|
|
8544
|
-
window.location.href =
|
|
8550
|
+
window.location.href = v.url;
|
|
8545
8551
|
},
|
|
8546
|
-
children: /* @__PURE__ */
|
|
8552
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8547
8553
|
Je,
|
|
8548
8554
|
{
|
|
8549
|
-
primary: G(`pages:${
|
|
8555
|
+
primary: G(`pages:${v.id}:title`, p.current)
|
|
8550
8556
|
}
|
|
8551
8557
|
)
|
|
8552
8558
|
}
|
|
8553
8559
|
) }, M)
|
|
8554
8560
|
) }),
|
|
8555
|
-
/* @__PURE__ */
|
|
8556
|
-
/* @__PURE__ */
|
|
8557
|
-
/* @__PURE__ */
|
|
8561
|
+
/* @__PURE__ */ l.jsx(oe, { sx: { flexGrow: 1 } }),
|
|
8562
|
+
/* @__PURE__ */ l.jsxs(Gt, { sx: { width: "100%" }, children: [
|
|
8563
|
+
/* @__PURE__ */ l.jsx(_t, { disablePadding: !0, children: /* @__PURE__ */ l.jsx(
|
|
8558
8564
|
Xe,
|
|
8559
8565
|
{
|
|
8560
8566
|
selected: e.includes("settings"),
|
|
8561
8567
|
onClick: () => {
|
|
8562
8568
|
window.location.href = "/clients/settings";
|
|
8563
8569
|
},
|
|
8564
|
-
children: /* @__PURE__ */
|
|
8570
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8565
8571
|
Je,
|
|
8566
8572
|
{
|
|
8567
8573
|
primary: G("pages:core-settings:title", p.current)
|
|
@@ -8569,14 +8575,14 @@ function Nd({ currentId: e }) {
|
|
|
8569
8575
|
)
|
|
8570
8576
|
}
|
|
8571
8577
|
) }),
|
|
8572
|
-
/* @__PURE__ */
|
|
8573
|
-
/* @__PURE__ */
|
|
8578
|
+
/* @__PURE__ */ l.jsxs(Xe, { onClick: b, children: [
|
|
8579
|
+
/* @__PURE__ */ l.jsx(
|
|
8574
8580
|
Je,
|
|
8575
8581
|
{
|
|
8576
8582
|
primary: G("components:header:beta_mode", p.current)
|
|
8577
8583
|
}
|
|
8578
8584
|
),
|
|
8579
|
-
/* @__PURE__ */
|
|
8585
|
+
/* @__PURE__ */ l.jsx(
|
|
8580
8586
|
lr,
|
|
8581
8587
|
{
|
|
8582
8588
|
edge: "end",
|
|
@@ -8601,14 +8607,14 @@ function Dd({
|
|
|
8601
8607
|
showInternetSwitch: o = !0
|
|
8602
8608
|
}) {
|
|
8603
8609
|
var u, b, m;
|
|
8604
|
-
const { i18nRef: s } = ge(Be), { clientConfigRef: i } = ge(Hr), { enabledRef: a } = ge(Nt), d = ((m = (b = (u = i.current._global) == null ? void 0 : u.find((
|
|
8610
|
+
const { i18nRef: s } = ge(Be), { clientConfigRef: i } = ge(Hr), { enabledRef: a } = ge(Nt), d = ((m = (b = (u = i.current._global) == null ? void 0 : u.find((S) => S.id === "internetConfig")) == null ? void 0 : b.fields.find((S) => S.id === "internetConnectionAccess")) == null ? void 0 : m.value) ?? !0;
|
|
8605
8611
|
fe(() => {
|
|
8606
|
-
const
|
|
8607
|
-
document.title = `${
|
|
8612
|
+
const S = G("branding:software:name", s.current), v = G(e, s.current);
|
|
8613
|
+
document.title = `${v} - ${S}`;
|
|
8608
8614
|
});
|
|
8609
8615
|
const f = r ? Tr : $n.Fragment, p = r ? { theme: r } : {};
|
|
8610
8616
|
let { product: g } = ge(Kr), y = g && g.os === "android";
|
|
8611
|
-
return /* @__PURE__ */
|
|
8617
|
+
return /* @__PURE__ */ l.jsx(f, { ...p, children: /* @__PURE__ */ l.jsx(
|
|
8612
8618
|
oe,
|
|
8613
8619
|
{
|
|
8614
8620
|
sx: {
|
|
@@ -8617,7 +8623,7 @@ function Dd({
|
|
|
8617
8623
|
m: 0,
|
|
8618
8624
|
p: 0
|
|
8619
8625
|
},
|
|
8620
|
-
children: /* @__PURE__ */
|
|
8626
|
+
children: /* @__PURE__ */ l.jsx(
|
|
8621
8627
|
ms,
|
|
8622
8628
|
{
|
|
8623
8629
|
position: "static",
|
|
@@ -8628,11 +8634,11 @@ function Dd({
|
|
|
8628
8634
|
paddingLeft: y ? "30px" : "0px",
|
|
8629
8635
|
paddingRight: y ? "30px" : "0px"
|
|
8630
8636
|
},
|
|
8631
|
-
children: /* @__PURE__ */
|
|
8632
|
-
/* @__PURE__ */
|
|
8633
|
-
e && e.length > 0 && /* @__PURE__ */
|
|
8634
|
-
/* @__PURE__ */
|
|
8635
|
-
/* @__PURE__ */
|
|
8637
|
+
children: /* @__PURE__ */ l.jsxs(In, { variant: "dense", sx: { m: 0, p: 0 }, children: [
|
|
8638
|
+
/* @__PURE__ */ l.jsx(Nd, { currentId: n }),
|
|
8639
|
+
e && e.length > 0 && /* @__PURE__ */ l.jsx(Pe, { variant: "h6", sx: { m: 0, p: 0 }, children: G(e, s.current) }),
|
|
8640
|
+
/* @__PURE__ */ l.jsx(oe, { sx: { flexGrow: 1, m: 0, p: 0 }, children: t }),
|
|
8641
|
+
/* @__PURE__ */ l.jsx(oe, { sx: { m: 0, p: 0 }, children: d && o && /* @__PURE__ */ l.jsx(
|
|
8636
8642
|
xi,
|
|
8637
8643
|
{
|
|
8638
8644
|
netEnabled: a.current,
|
|
@@ -8734,38 +8740,38 @@ function Ud(e, t) {
|
|
|
8734
8740
|
u.accept || (u.accept = Sr);
|
|
8735
8741
|
let b;
|
|
8736
8742
|
function m() {
|
|
8737
|
-
b.abort(), document.hidden ||
|
|
8743
|
+
b.abort(), document.hidden || C();
|
|
8738
8744
|
}
|
|
8739
8745
|
d || document.addEventListener("visibilitychange", m);
|
|
8740
|
-
let
|
|
8746
|
+
let S = Wd, v = 0;
|
|
8741
8747
|
function M() {
|
|
8742
|
-
document.removeEventListener("visibilitychange", m), window.clearTimeout(
|
|
8748
|
+
document.removeEventListener("visibilitychange", m), window.clearTimeout(v), b.abort();
|
|
8743
8749
|
}
|
|
8744
8750
|
n == null || n.addEventListener("abort", () => {
|
|
8745
8751
|
M(), g();
|
|
8746
8752
|
});
|
|
8747
|
-
const
|
|
8748
|
-
async function
|
|
8753
|
+
const _ = f ?? window.fetch, I = o ?? Yd;
|
|
8754
|
+
async function C() {
|
|
8749
8755
|
var P;
|
|
8750
8756
|
b = new AbortController();
|
|
8751
8757
|
try {
|
|
8752
|
-
const V = await
|
|
8753
|
-
await
|
|
8758
|
+
const V = await _(e, Object.assign(Object.assign({}, p), { headers: u, signal: b.signal }));
|
|
8759
|
+
await I(V), await Bd(V.body, Fd(Vd((k) => {
|
|
8754
8760
|
k ? u[cs] = k : delete u[cs];
|
|
8755
8761
|
}, (k) => {
|
|
8756
|
-
|
|
8762
|
+
S = k;
|
|
8757
8763
|
}, s))), i == null || i(), M(), g();
|
|
8758
8764
|
} catch (V) {
|
|
8759
8765
|
if (!b.signal.aborted)
|
|
8760
8766
|
try {
|
|
8761
|
-
const k = (P = a == null ? void 0 : a(V)) !== null && P !== void 0 ? P :
|
|
8762
|
-
window.clearTimeout(
|
|
8767
|
+
const k = (P = a == null ? void 0 : a(V)) !== null && P !== void 0 ? P : S;
|
|
8768
|
+
window.clearTimeout(v), v = window.setTimeout(C, k);
|
|
8763
8769
|
} catch (k) {
|
|
8764
8770
|
M(), y(k);
|
|
8765
8771
|
}
|
|
8766
8772
|
}
|
|
8767
8773
|
}
|
|
8768
|
-
|
|
8774
|
+
C();
|
|
8769
8775
|
});
|
|
8770
8776
|
}
|
|
8771
8777
|
function Yd(e) {
|
|
@@ -8798,7 +8804,7 @@ const qd = $e({ auth: !1, setAuth: () => {
|
|
|
8798
8804
|
}
|
|
8799
8805
|
});
|
|
8800
8806
|
function ef() {
|
|
8801
|
-
return /* @__PURE__ */
|
|
8807
|
+
return /* @__PURE__ */ l.jsx(
|
|
8802
8808
|
oe,
|
|
8803
8809
|
{
|
|
8804
8810
|
sx: {
|
|
@@ -8808,7 +8814,7 @@ function ef() {
|
|
|
8808
8814
|
height: "100vh",
|
|
8809
8815
|
width: "100%"
|
|
8810
8816
|
},
|
|
8811
|
-
children: /* @__PURE__ */
|
|
8817
|
+
children: /* @__PURE__ */ l.jsx(gs, {})
|
|
8812
8818
|
}
|
|
8813
8819
|
);
|
|
8814
8820
|
}
|
|
@@ -8827,18 +8833,18 @@ function tf({
|
|
|
8827
8833
|
wordValue: g,
|
|
8828
8834
|
productValue: y
|
|
8829
8835
|
}) {
|
|
8830
|
-
const [u, b] = Z([]), m = { messages: u, setMessages: b }, { enqueueSnackbar:
|
|
8836
|
+
const [u, b] = Z([]), m = { messages: u, setMessages: b }, { enqueueSnackbar: S } = Gi();
|
|
8831
8837
|
fe(() => {
|
|
8832
|
-
const
|
|
8833
|
-
const P =
|
|
8834
|
-
P.length === 4 &&
|
|
8838
|
+
const I = (C) => {
|
|
8839
|
+
const P = C.split("--");
|
|
8840
|
+
P.length === 4 && S(`${P[2]} => ${P[3]}`, {
|
|
8835
8841
|
variant: P[0],
|
|
8836
8842
|
anchorOrigin: { vertical: "bottom", horizontal: "right" }
|
|
8837
8843
|
});
|
|
8838
8844
|
};
|
|
8839
|
-
u.length > 0 && (u.forEach((
|
|
8840
|
-
}, [u,
|
|
8841
|
-
const [
|
|
8845
|
+
u.length > 0 && (u.forEach((C) => I(C)), b([]));
|
|
8846
|
+
}, [u, S]);
|
|
8847
|
+
const [v, M] = Z({
|
|
8842
8848
|
palette: {
|
|
8843
8849
|
primary: {
|
|
8844
8850
|
main: "#666"
|
|
@@ -8849,12 +8855,12 @@ function tf({
|
|
|
8849
8855
|
}
|
|
8850
8856
|
});
|
|
8851
8857
|
fe(() => {
|
|
8852
|
-
|
|
8858
|
+
v.palette && v.palette.primary && v.palette.primary.main && v.palette.primary.main === "#666" && Sn({
|
|
8853
8859
|
url: "/api/app-resources/themes/default.json",
|
|
8854
8860
|
setter: M
|
|
8855
8861
|
}).then();
|
|
8856
|
-
}, [
|
|
8857
|
-
const
|
|
8862
|
+
}, [v.palette]);
|
|
8863
|
+
const _ = Vr(
|
|
8858
8864
|
{
|
|
8859
8865
|
components: {
|
|
8860
8866
|
MuiFab: {
|
|
@@ -8887,13 +8893,13 @@ function tf({
|
|
|
8887
8893
|
}
|
|
8888
8894
|
}
|
|
8889
8895
|
},
|
|
8890
|
-
|
|
8896
|
+
v
|
|
8891
8897
|
);
|
|
8892
|
-
return /* @__PURE__ */
|
|
8898
|
+
return /* @__PURE__ */ l.jsx(cd, { theme: _, children: /* @__PURE__ */ l.jsx(Hr.Provider, { value: d, children: /* @__PURE__ */ l.jsx(Jd.Provider, { value: f, children: /* @__PURE__ */ l.jsx(Be.Provider, { value: o, children: /* @__PURE__ */ l.jsx(Qd.Provider, { value: p, children: /* @__PURE__ */ l.jsx(Zd.Provider, { value: g, children: /* @__PURE__ */ l.jsx(Hd.Provider, { value: i, children: /* @__PURE__ */ l.jsx(qd.Provider, { value: s, children: /* @__PURE__ */ l.jsx(Kd.Provider, { value: a, children: /* @__PURE__ */ l.jsx(Gd.Provider, { value: r, children: /* @__PURE__ */ l.jsx(Xd.Provider, { value: m, children: /* @__PURE__ */ l.jsx(rn.Provider, { value: n, children: /* @__PURE__ */ l.jsx(Kr.Provider, { value: y, children: /* @__PURE__ */ l.jsx(Nt.Provider, { value: t, children: /* @__PURE__ */ l.jsx(
|
|
8893
8899
|
oe,
|
|
8894
8900
|
{
|
|
8895
8901
|
sx: { height: "100vh", overflow: "hidden" },
|
|
8896
|
-
children: !o || Object.keys(o.i18n).length === 0 ? /* @__PURE__ */
|
|
8902
|
+
children: !o || Object.keys(o.i18n).length === 0 ? /* @__PURE__ */ l.jsx(ef, {}) : e
|
|
8897
8903
|
}
|
|
8898
8904
|
) }) }) }) }) }) }) }) }) }) }) }) }) }) });
|
|
8899
8905
|
}
|
|
@@ -8955,35 +8961,35 @@ function af({ children: e }) {
|
|
|
8955
8961
|
chapterNum: 1,
|
|
8956
8962
|
verseNum: 1,
|
|
8957
8963
|
endVerseNum: 1
|
|
8958
|
-
}), m = Te(u),
|
|
8964
|
+
}), m = Te(u), S = (q) => {
|
|
8959
8965
|
m.current = q, b(q);
|
|
8960
|
-
}, [
|
|
8961
|
-
|
|
8962
|
-
}, [
|
|
8966
|
+
}, [v, M] = Z({}), _ = Te(v), I = (q) => {
|
|
8967
|
+
_.current = q, M(q);
|
|
8968
|
+
}, [C, P] = Z({
|
|
8963
8969
|
font_set: "Pankosmia-CardoPankosmia-EzraSILPankosmia-PadaukPankosmia-AwamiNastaliqPankosmia-NotoNastaliqUrduPankosmia-GentiumPlus",
|
|
8964
8970
|
size: "medium",
|
|
8965
8971
|
direction: "ltr"
|
|
8966
|
-
}), V = Te(
|
|
8972
|
+
}), V = Te(C), k = (q) => {
|
|
8967
8973
|
V.current = q, P(q);
|
|
8968
|
-
}, [L, D] = Z(null),
|
|
8969
|
-
|
|
8970
|
-
}, [
|
|
8971
|
-
z.current = q,
|
|
8974
|
+
}, [L, D] = Z(null), w = Te(L), c = (q) => {
|
|
8975
|
+
w.current = q, D(q);
|
|
8976
|
+
}, [j, R] = Z({}), z = Te(j), K = (q) => {
|
|
8977
|
+
z.current = q, R(q);
|
|
8972
8978
|
}, X = async () => {
|
|
8973
8979
|
await Se("/api/client-config").then((q) => q.json).then((q) => K(q)).catch((q) => console.error("Error :", q));
|
|
8974
8980
|
}, [ee, ne] = Z({}), N = Te(ee), x = (q) => {
|
|
8975
8981
|
N.current = q, ne(q);
|
|
8976
8982
|
}, [F, W] = Z(null), E = Te(F), H = (q) => {
|
|
8977
8983
|
E.current = q, W(q);
|
|
8978
|
-
}, [
|
|
8979
|
-
B.current = q,
|
|
8984
|
+
}, [$, T] = Z(null), B = Te($), U = (q) => {
|
|
8985
|
+
B.current = q, T(q);
|
|
8980
8986
|
}, [J, se] = Z(null), Y = Te(J), we = (q) => {
|
|
8981
8987
|
Y.current = q, se(q);
|
|
8982
8988
|
}, ke = async () => {
|
|
8983
8989
|
await Se("/api/client-interfaces").then((q) => q.json).then((q) => x(q)).catch((q) => console.error("Error :", q));
|
|
8984
8990
|
}, ze = async () => {
|
|
8985
8991
|
const q = await Se("/api/i18n/flat", a.current);
|
|
8986
|
-
q.ok ?
|
|
8992
|
+
q.ok ? I(q.json) : Ye(`Could not load i18n: ${q.error}`, {
|
|
8987
8993
|
variant: "error",
|
|
8988
8994
|
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
8989
8995
|
persist: !0
|
|
@@ -9033,7 +9039,7 @@ function af({ children: e }) {
|
|
|
9033
9039
|
);
|
|
9034
9040
|
if (te.ok) {
|
|
9035
9041
|
const Q = te.json;
|
|
9036
|
-
|
|
9042
|
+
S({
|
|
9037
9043
|
bookCode: Q.book_code,
|
|
9038
9044
|
chapterNum: Q.chapter,
|
|
9039
9045
|
verseNum: Q.verse
|
|
@@ -9063,7 +9069,7 @@ function af({ children: e }) {
|
|
|
9063
9069
|
verseNum: parseInt(te[2]),
|
|
9064
9070
|
endVerseNum: parseInt(te[3])
|
|
9065
9071
|
};
|
|
9066
|
-
(Q.bookCode !== m.current.bookCode || Q.chapterNum !== m.current.chapterNum || Q.verseNum !== m.current.verseNum || Q.endVerseNum !== m.current.endVerseNum) &&
|
|
9072
|
+
(Q.bookCode !== m.current.bookCode || Q.chapterNum !== m.current.chapterNum || Q.verseNum !== m.current.verseNum || Q.endVerseNum !== m.current.endVerseNum) && S(Q);
|
|
9067
9073
|
}
|
|
9068
9074
|
}, We = (q) => {
|
|
9069
9075
|
const te = q.data.split("--");
|
|
@@ -9089,7 +9095,7 @@ function af({ children: e }) {
|
|
|
9089
9095
|
}
|
|
9090
9096
|
}, yt = (q) => {
|
|
9091
9097
|
if (q.data === null)
|
|
9092
|
-
|
|
9098
|
+
w.current !== null && c(null);
|
|
9093
9099
|
else {
|
|
9094
9100
|
const te = q.data.split("--");
|
|
9095
9101
|
if (te.length === 3) {
|
|
@@ -9098,9 +9104,9 @@ function af({ children: e }) {
|
|
|
9098
9104
|
organization: te[1],
|
|
9099
9105
|
project: te[2]
|
|
9100
9106
|
};
|
|
9101
|
-
(!
|
|
9107
|
+
(!w.current || Q.source !== w.current.source || Q.organization !== w.current.organization || Q.project !== w.current.project) && c(Q);
|
|
9102
9108
|
} else
|
|
9103
|
-
|
|
9109
|
+
c(null);
|
|
9104
9110
|
}
|
|
9105
9111
|
}, bt = (q) => {
|
|
9106
9112
|
const te = q.data.split("--");
|
|
@@ -9135,15 +9141,15 @@ function af({ children: e }) {
|
|
|
9135
9141
|
});
|
|
9136
9142
|
})(), () => q.abort();
|
|
9137
9143
|
}, []);
|
|
9138
|
-
const vt = { enableNet: t, setEnableNet: o, enabledRef: r }, Ct = { debug: s, setDebug: d, debugRef: a }, St = { systemBcv: u, setSystemBcv:
|
|
9144
|
+
const vt = { enableNet: t, setEnableNet: o, enabledRef: r }, Ct = { debug: s, setDebug: d, debugRef: a }, St = { systemBcv: u, setSystemBcv: S, bcvRef: m }, ye = { auth: f, setAuth: y, authRef: g }, pe = { i18n: v, setI18n: I, i18nRef: _ }, Ae = { typography: C, setTypography: k, typographyRef: V }, Oe = {
|
|
9139
9145
|
currentProject: L,
|
|
9140
|
-
setCurrentProject:
|
|
9141
|
-
currentProjectRef:
|
|
9146
|
+
setCurrentProject: c,
|
|
9147
|
+
currentProjectRef: w
|
|
9142
9148
|
}, re = {
|
|
9143
9149
|
clientInterfaces: ee,
|
|
9144
9150
|
setClientInterfaces: x,
|
|
9145
9151
|
clientInterfacesRef: N
|
|
9146
|
-
}, Hn = { snippet: F, setSnippet: H, snippetRef: E }, Ti = { word:
|
|
9152
|
+
}, Hn = { snippet: F, setSnippet: H, snippetRef: E }, Ti = { word: $, setWord: U, wordRef: B }, Ei = { clientConfig: j, setClientConfig: K, clientConfigRef: z };
|
|
9147
9153
|
a.current && console.log("Rerender Spa");
|
|
9148
9154
|
const ki = { product: J, setProduct: we, productRef: Y }, cn = Le(Xi)(() => ({
|
|
9149
9155
|
"&.notistack-MuiContent-error": {
|
|
@@ -9163,7 +9169,7 @@ function af({ children: e }) {
|
|
|
9163
9169
|
color: "#2E7D32"
|
|
9164
9170
|
}
|
|
9165
9171
|
}));
|
|
9166
|
-
return /* @__PURE__ */
|
|
9172
|
+
return /* @__PURE__ */ l.jsx(
|
|
9167
9173
|
Cs,
|
|
9168
9174
|
{
|
|
9169
9175
|
Components: {
|
|
@@ -9173,7 +9179,7 @@ function af({ children: e }) {
|
|
|
9173
9179
|
success: cn
|
|
9174
9180
|
},
|
|
9175
9181
|
maxSnack: 6,
|
|
9176
|
-
children: /* @__PURE__ */
|
|
9182
|
+
children: /* @__PURE__ */ l.jsx(
|
|
9177
9183
|
tf,
|
|
9178
9184
|
{
|
|
9179
9185
|
netValue: vt,
|
|
@@ -9195,7 +9201,7 @@ function af({ children: e }) {
|
|
|
9195
9201
|
);
|
|
9196
9202
|
}
|
|
9197
9203
|
function cf({ children: e }) {
|
|
9198
|
-
return /* @__PURE__ */
|
|
9204
|
+
return /* @__PURE__ */ l.jsx(Cs, { maxSnack: 3, children: /* @__PURE__ */ l.jsx(af, { children: e }) });
|
|
9199
9205
|
}
|
|
9200
9206
|
function lf({
|
|
9201
9207
|
titleKey: e,
|
|
@@ -9206,7 +9212,7 @@ function lf({
|
|
|
9206
9212
|
currentId: s
|
|
9207
9213
|
}) {
|
|
9208
9214
|
const { enableNet: i } = ge(Nt), { i18nRef: a } = ge(Be);
|
|
9209
|
-
return o && !i ? /* @__PURE__ */
|
|
9215
|
+
return o && !i ? /* @__PURE__ */ l.jsx(
|
|
9210
9216
|
oe,
|
|
9211
9217
|
{
|
|
9212
9218
|
sx: {
|
|
@@ -9215,7 +9221,7 @@ function lf({
|
|
|
9215
9221
|
overflowX: "hidden",
|
|
9216
9222
|
overflowY: "auto"
|
|
9217
9223
|
},
|
|
9218
|
-
children: /* @__PURE__ */
|
|
9224
|
+
children: /* @__PURE__ */ l.jsx(
|
|
9219
9225
|
be,
|
|
9220
9226
|
{
|
|
9221
9227
|
container: !0,
|
|
@@ -9224,7 +9230,7 @@ function lf({
|
|
|
9224
9230
|
justifyContent: "center",
|
|
9225
9231
|
minHeight: "100vh"
|
|
9226
9232
|
},
|
|
9227
|
-
children: /* @__PURE__ */
|
|
9233
|
+
children: /* @__PURE__ */ l.jsxs(
|
|
9228
9234
|
be,
|
|
9229
9235
|
{
|
|
9230
9236
|
rowSpacing: 0.5,
|
|
@@ -9234,8 +9240,8 @@ function lf({
|
|
|
9234
9240
|
alignItems: "center"
|
|
9235
9241
|
},
|
|
9236
9242
|
children: [
|
|
9237
|
-
/* @__PURE__ */
|
|
9238
|
-
/* @__PURE__ */
|
|
9243
|
+
/* @__PURE__ */ l.jsx(Id, { sx: { fontSize: 80 }, color: "warning" }),
|
|
9244
|
+
/* @__PURE__ */ l.jsx("p", { children: G(
|
|
9239
9245
|
"components:framework:no_entry_if_offline",
|
|
9240
9246
|
a.current
|
|
9241
9247
|
) })
|
|
@@ -9245,8 +9251,8 @@ function lf({
|
|
|
9245
9251
|
}
|
|
9246
9252
|
)
|
|
9247
9253
|
}
|
|
9248
|
-
) : /* @__PURE__ */
|
|
9249
|
-
/* @__PURE__ */
|
|
9254
|
+
) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
9255
|
+
/* @__PURE__ */ l.jsx(oe, { children: /* @__PURE__ */ l.jsx(
|
|
9250
9256
|
Dd,
|
|
9251
9257
|
{
|
|
9252
9258
|
titleKey: e || null,
|
|
@@ -9254,7 +9260,7 @@ function lf({
|
|
|
9254
9260
|
currentId: s
|
|
9255
9261
|
}
|
|
9256
9262
|
) }),
|
|
9257
|
-
/* @__PURE__ */
|
|
9263
|
+
/* @__PURE__ */ l.jsx(
|
|
9258
9264
|
oe,
|
|
9259
9265
|
{
|
|
9260
9266
|
sx: {
|
|
@@ -9268,7 +9274,7 @@ function lf({
|
|
|
9268
9274
|
] });
|
|
9269
9275
|
}
|
|
9270
9276
|
function Cf({ children: e, titleKey: t, requireNet: n, currentId: r, widget: o, margin: s }) {
|
|
9271
|
-
return /* @__PURE__ */
|
|
9277
|
+
return /* @__PURE__ */ l.jsx(cf, { children: /* @__PURE__ */ l.jsx(
|
|
9272
9278
|
lf,
|
|
9273
9279
|
{
|
|
9274
9280
|
titleKey: t,
|
|
@@ -9291,11 +9297,11 @@ function wf({
|
|
|
9291
9297
|
setIsValid: n,
|
|
9292
9298
|
open: r = !0
|
|
9293
9299
|
}) {
|
|
9294
|
-
const [o, s] = Z("BCP47List"), [i, a] = Z(!1), { i18nRef: d } = ge(Be), [f, p] = Z(!0), [g, y] = Z(!1), [u, b] = Z(""), [m,
|
|
9300
|
+
const [o, s] = Z("BCP47List"), [i, a] = Z(!1), { i18nRef: d } = ge(Be), [f, p] = Z(!0), [g, y] = Z(!1), [u, b] = Z(""), [m, S] = Z([]), [v, M] = Z({}), [_, I] = Z(!0), C = /^x-[a-z]{3}$/;
|
|
9295
9301
|
fe(() => {
|
|
9296
9302
|
r && Sn({
|
|
9297
9303
|
url: "/api/git/list-local-repos",
|
|
9298
|
-
setter:
|
|
9304
|
+
setter: S
|
|
9299
9305
|
}).then();
|
|
9300
9306
|
}, [r]), fe(() => {
|
|
9301
9307
|
r && Sn({
|
|
@@ -9303,21 +9309,21 @@ function wf({
|
|
|
9303
9309
|
setter: M
|
|
9304
9310
|
}).then();
|
|
9305
9311
|
}, [r]);
|
|
9306
|
-
const P = Object.entries(
|
|
9312
|
+
const P = Object.entries(v).map(([k, L]) => ({
|
|
9307
9313
|
language_code: k,
|
|
9308
9314
|
language_name: L.en
|
|
9309
9315
|
}));
|
|
9310
9316
|
fe(() => {
|
|
9311
9317
|
e.language_code && n(!i);
|
|
9312
9318
|
}, [i]), fe(() => {
|
|
9313
|
-
|
|
9319
|
+
_ && Object.keys(v).length > 0 && (e.language_code && (v[e.language_code] ? t({
|
|
9314
9320
|
language_code: e.language_code,
|
|
9315
|
-
language_name:
|
|
9321
|
+
language_name: v[e.language_code].en
|
|
9316
9322
|
}) : (t({
|
|
9317
9323
|
language_code: `x-${e.language_code}`,
|
|
9318
9324
|
language_name: `x-${e.language_code}`.toUpperCase()
|
|
9319
|
-
}), s("customLanguage"))),
|
|
9320
|
-
}, [
|
|
9325
|
+
}), s("customLanguage"))), I(!1));
|
|
9326
|
+
}, [v, _, P]), fe(() => {
|
|
9321
9327
|
u && Se(`/api/burrito/metadata/summary/${u}`).then((k) => k.json).then(
|
|
9322
9328
|
(k) => t({
|
|
9323
9329
|
...e,
|
|
@@ -9329,10 +9335,10 @@ function wf({
|
|
|
9329
9335
|
const V = m.filter(
|
|
9330
9336
|
(k) => f && k.startsWith("_local_") || g && k.startsWith("git")
|
|
9331
9337
|
);
|
|
9332
|
-
return /* @__PURE__ */
|
|
9333
|
-
/* @__PURE__ */
|
|
9334
|
-
/* @__PURE__ */
|
|
9335
|
-
/* @__PURE__ */
|
|
9338
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
9339
|
+
/* @__PURE__ */ l.jsxs(Er, { children: [
|
|
9340
|
+
/* @__PURE__ */ l.jsx(Qr, { id: "demo-radio-buttons-group-label", children: G("library:pankosmia-rcl:choose_language", d.current) }),
|
|
9341
|
+
/* @__PURE__ */ l.jsxs(
|
|
9336
9342
|
zi,
|
|
9337
9343
|
{
|
|
9338
9344
|
row: !0,
|
|
@@ -9343,33 +9349,33 @@ function wf({
|
|
|
9343
9349
|
"aria-labelledby": "demo-radio-buttons-group-label",
|
|
9344
9350
|
name: "radio-buttons-group",
|
|
9345
9351
|
children: [
|
|
9346
|
-
/* @__PURE__ */
|
|
9352
|
+
/* @__PURE__ */ l.jsx(
|
|
9347
9353
|
ut,
|
|
9348
9354
|
{
|
|
9349
9355
|
value: "BCP47List",
|
|
9350
|
-
control: /* @__PURE__ */
|
|
9356
|
+
control: /* @__PURE__ */ l.jsx(Kn, {}),
|
|
9351
9357
|
label: G(
|
|
9352
9358
|
"library:pankosmia-rcl:lang_code_bcp47_list",
|
|
9353
9359
|
d.current
|
|
9354
9360
|
)
|
|
9355
9361
|
}
|
|
9356
9362
|
),
|
|
9357
|
-
/* @__PURE__ */
|
|
9363
|
+
/* @__PURE__ */ l.jsx(
|
|
9358
9364
|
ut,
|
|
9359
9365
|
{
|
|
9360
9366
|
value: "burrito",
|
|
9361
|
-
control: /* @__PURE__ */
|
|
9367
|
+
control: /* @__PURE__ */ l.jsx(Kn, {}),
|
|
9362
9368
|
label: G(
|
|
9363
9369
|
"library:pankosmia-rcl:lang_code_burrito",
|
|
9364
9370
|
d.current
|
|
9365
9371
|
)
|
|
9366
9372
|
}
|
|
9367
9373
|
),
|
|
9368
|
-
/* @__PURE__ */
|
|
9374
|
+
/* @__PURE__ */ l.jsx(
|
|
9369
9375
|
ut,
|
|
9370
9376
|
{
|
|
9371
9377
|
value: "customLanguage",
|
|
9372
|
-
control: /* @__PURE__ */
|
|
9378
|
+
control: /* @__PURE__ */ l.jsx(Kn, {}),
|
|
9373
9379
|
label: G(
|
|
9374
9380
|
"library:pankosmia-rcl:lang_code_custom_language",
|
|
9375
9381
|
d.current
|
|
@@ -9380,12 +9386,12 @@ function wf({
|
|
|
9380
9386
|
}
|
|
9381
9387
|
)
|
|
9382
9388
|
] }),
|
|
9383
|
-
o === "BCP47List" && /* @__PURE__ */
|
|
9384
|
-
/* @__PURE__ */
|
|
9389
|
+
o === "BCP47List" && /* @__PURE__ */ l.jsxs(be, { container: !0, spacing: 2, children: [
|
|
9390
|
+
/* @__PURE__ */ l.jsx(be, { size: 12, children: /* @__PURE__ */ l.jsx(Pe, { children: G(
|
|
9385
9391
|
"library:pankosmia-rcl:description_bcp47_list",
|
|
9386
9392
|
d.current
|
|
9387
9393
|
) }) }),
|
|
9388
|
-
/* @__PURE__ */
|
|
9394
|
+
/* @__PURE__ */ l.jsx(be, { size: 6, children: v && /* @__PURE__ */ l.jsx(
|
|
9389
9395
|
is,
|
|
9390
9396
|
{
|
|
9391
9397
|
value: e.language_code ?? null,
|
|
@@ -9393,13 +9399,26 @@ function wf({
|
|
|
9393
9399
|
var L;
|
|
9394
9400
|
return t({
|
|
9395
9401
|
language_code: k,
|
|
9396
|
-
language_name: ((L =
|
|
9402
|
+
language_name: ((L = v[k]) == null ? void 0 : L.en) ?? ""
|
|
9397
9403
|
});
|
|
9398
9404
|
},
|
|
9399
|
-
data: Object.keys(
|
|
9405
|
+
data: Object.keys(v),
|
|
9400
9406
|
getOptionLabel: (k) => {
|
|
9401
|
-
|
|
9402
|
-
return
|
|
9407
|
+
const { en: L, ...D } = v[k] ?? {}, w = Object.values(D);
|
|
9408
|
+
return w.length > 0 ? `${k} - ${w} - ${L}` : L ? `${k} - ${L}` : "";
|
|
9409
|
+
},
|
|
9410
|
+
filterOptions: (k, { inputValue: L }) => {
|
|
9411
|
+
const D = L.toLowerCase();
|
|
9412
|
+
return k.filter((w) => {
|
|
9413
|
+
var j, R;
|
|
9414
|
+
const c = v[w];
|
|
9415
|
+
return ((j = c == null ? void 0 : c.en) == null ? void 0 : j.toLowerCase().includes(D)) || ((R = c == null ? void 0 : c[w]) == null ? void 0 : R.toLowerCase().includes(D));
|
|
9416
|
+
}).sort(
|
|
9417
|
+
(w, c) => {
|
|
9418
|
+
var j, R, z, K;
|
|
9419
|
+
return ((R = (j = v[w]) == null ? void 0 : j.en) == null ? void 0 : R.toLowerCase().indexOf(D)) - ((K = (z = v[c]) == null ? void 0 : z.en) == null ? void 0 : K.toLowerCase().indexOf(D));
|
|
9420
|
+
}
|
|
9421
|
+
);
|
|
9403
9422
|
},
|
|
9404
9423
|
titleLabel: `${G(
|
|
9405
9424
|
"library:pankosmia-rcl:language",
|
|
@@ -9407,7 +9426,7 @@ function wf({
|
|
|
9407
9426
|
)} *`
|
|
9408
9427
|
}
|
|
9409
9428
|
) }),
|
|
9410
|
-
/* @__PURE__ */
|
|
9429
|
+
/* @__PURE__ */ l.jsx(be, { size: 6, children: /* @__PURE__ */ l.jsx(
|
|
9411
9430
|
Qe,
|
|
9412
9431
|
{
|
|
9413
9432
|
disabled: !0,
|
|
@@ -9418,7 +9437,7 @@ function wf({
|
|
|
9418
9437
|
}
|
|
9419
9438
|
) })
|
|
9420
9439
|
] }),
|
|
9421
|
-
o === "burrito" && /* @__PURE__ */
|
|
9440
|
+
o === "burrito" && /* @__PURE__ */ l.jsxs(
|
|
9422
9441
|
be,
|
|
9423
9442
|
{
|
|
9424
9443
|
container: !0,
|
|
@@ -9428,20 +9447,20 @@ function wf({
|
|
|
9428
9447
|
alignItems: "stretch"
|
|
9429
9448
|
},
|
|
9430
9449
|
children: [
|
|
9431
|
-
/* @__PURE__ */
|
|
9450
|
+
/* @__PURE__ */ l.jsx(Pe, { children: G(
|
|
9432
9451
|
"library:pankosmia-rcl:description_lang_code_burrito",
|
|
9433
9452
|
d.current
|
|
9434
9453
|
) }),
|
|
9435
|
-
/* @__PURE__ */
|
|
9436
|
-
/* @__PURE__ */
|
|
9454
|
+
/* @__PURE__ */ l.jsxs(be, { size: 12, children: [
|
|
9455
|
+
/* @__PURE__ */ l.jsx(Qr, { children: G(
|
|
9437
9456
|
"library:pankosmia-rcl:title_section_burrito",
|
|
9438
9457
|
d.current
|
|
9439
9458
|
) }),
|
|
9440
|
-
/* @__PURE__ */
|
|
9441
|
-
/* @__PURE__ */
|
|
9459
|
+
/* @__PURE__ */ l.jsxs(dr, { row: !0, required: !0, children: [
|
|
9460
|
+
/* @__PURE__ */ l.jsx(
|
|
9442
9461
|
ut,
|
|
9443
9462
|
{
|
|
9444
|
-
control: /* @__PURE__ */
|
|
9463
|
+
control: /* @__PURE__ */ l.jsx(
|
|
9445
9464
|
It,
|
|
9446
9465
|
{
|
|
9447
9466
|
color: "secondary",
|
|
@@ -9456,10 +9475,10 @@ function wf({
|
|
|
9456
9475
|
)
|
|
9457
9476
|
}
|
|
9458
9477
|
),
|
|
9459
|
-
/* @__PURE__ */
|
|
9478
|
+
/* @__PURE__ */ l.jsx(
|
|
9460
9479
|
ut,
|
|
9461
9480
|
{
|
|
9462
|
-
control: /* @__PURE__ */
|
|
9481
|
+
control: /* @__PURE__ */ l.jsx(
|
|
9463
9482
|
It,
|
|
9464
9483
|
{
|
|
9465
9484
|
color: "secondary",
|
|
@@ -9475,7 +9494,7 @@ function wf({
|
|
|
9475
9494
|
)
|
|
9476
9495
|
] })
|
|
9477
9496
|
] }),
|
|
9478
|
-
/* @__PURE__ */
|
|
9497
|
+
/* @__PURE__ */ l.jsx(be, { size: 12, children: /* @__PURE__ */ l.jsx(
|
|
9479
9498
|
is,
|
|
9480
9499
|
{
|
|
9481
9500
|
data: V,
|
|
@@ -9484,7 +9503,7 @@ function wf({
|
|
|
9484
9503
|
titleLabel: `${G("library:pankosmia-rcl:document", d.current)} *`
|
|
9485
9504
|
}
|
|
9486
9505
|
) }),
|
|
9487
|
-
/* @__PURE__ */
|
|
9506
|
+
/* @__PURE__ */ l.jsx(be, { size: 6, children: /* @__PURE__ */ l.jsx(
|
|
9488
9507
|
Qe,
|
|
9489
9508
|
{
|
|
9490
9509
|
disabled: !0,
|
|
@@ -9494,7 +9513,7 @@ function wf({
|
|
|
9494
9513
|
value: e ? e.language_name : null
|
|
9495
9514
|
}
|
|
9496
9515
|
) }),
|
|
9497
|
-
/* @__PURE__ */
|
|
9516
|
+
/* @__PURE__ */ l.jsx(be, { size: 6, children: /* @__PURE__ */ l.jsx(
|
|
9498
9517
|
Qe,
|
|
9499
9518
|
{
|
|
9500
9519
|
disabled: !0,
|
|
@@ -9507,7 +9526,7 @@ function wf({
|
|
|
9507
9526
|
]
|
|
9508
9527
|
}
|
|
9509
9528
|
),
|
|
9510
|
-
o === "customLanguage" && /* @__PURE__ */
|
|
9529
|
+
o === "customLanguage" && /* @__PURE__ */ l.jsxs(
|
|
9511
9530
|
be,
|
|
9512
9531
|
{
|
|
9513
9532
|
container: !0,
|
|
@@ -9517,11 +9536,11 @@ function wf({
|
|
|
9517
9536
|
alignItems: "stretch"
|
|
9518
9537
|
},
|
|
9519
9538
|
children: [
|
|
9520
|
-
/* @__PURE__ */
|
|
9539
|
+
/* @__PURE__ */ l.jsx(be, { size: 12, children: /* @__PURE__ */ l.jsx(Pe, { children: G(
|
|
9521
9540
|
"library:pankosmia-rcl:description_custom_language",
|
|
9522
9541
|
d.current
|
|
9523
9542
|
) }) }),
|
|
9524
|
-
/* @__PURE__ */
|
|
9543
|
+
/* @__PURE__ */ l.jsx(be, { size: 6, children: /* @__PURE__ */ l.jsx(
|
|
9525
9544
|
Qe,
|
|
9526
9545
|
{
|
|
9527
9546
|
id: "language_name",
|
|
@@ -9538,7 +9557,7 @@ function wf({
|
|
|
9538
9557
|
}
|
|
9539
9558
|
}
|
|
9540
9559
|
) }),
|
|
9541
|
-
/* @__PURE__ */
|
|
9560
|
+
/* @__PURE__ */ l.jsx(be, { size: 6, children: /* @__PURE__ */ l.jsx(
|
|
9542
9561
|
Qe,
|
|
9543
9562
|
{
|
|
9544
9563
|
id: "language_code",
|
|
@@ -9558,7 +9577,7 @@ function wf({
|
|
|
9558
9577
|
...e,
|
|
9559
9578
|
language_code: L
|
|
9560
9579
|
}), a(
|
|
9561
|
-
L.length > 0 && !
|
|
9580
|
+
L.length > 0 && !C.test(L)
|
|
9562
9581
|
);
|
|
9563
9582
|
}
|
|
9564
9583
|
}
|
|
@@ -9589,7 +9608,7 @@ function Gr(e) {
|
|
|
9589
9608
|
color: "Black"
|
|
9590
9609
|
}
|
|
9591
9610
|
};
|
|
9592
|
-
return /* @__PURE__ */
|
|
9611
|
+
return /* @__PURE__ */ l.jsx("div", { style: n.menuItem, children: /* @__PURE__ */ l.jsx("div", { style: n.menuItem, children: /* @__PURE__ */ l.jsx(
|
|
9593
9612
|
Pe,
|
|
9594
9613
|
{
|
|
9595
9614
|
style: { width: "100%" },
|
|
@@ -9616,8 +9635,8 @@ function Tf({
|
|
|
9616
9635
|
url: "/api/content-utils/versifications",
|
|
9617
9636
|
setter: s
|
|
9618
9637
|
}).then();
|
|
9619
|
-
}, [e]), /* @__PURE__ */
|
|
9620
|
-
/* @__PURE__ */
|
|
9638
|
+
}, [e]), /* @__PURE__ */ l.jsxs(Jt, { spacing: 1, children: [
|
|
9639
|
+
/* @__PURE__ */ l.jsxs(Pe, { variant: "body1", children: [
|
|
9621
9640
|
" ",
|
|
9622
9641
|
G(
|
|
9623
9642
|
"library:pankosmia-rcl:choose_versification",
|
|
@@ -9625,8 +9644,8 @@ function Tf({
|
|
|
9625
9644
|
),
|
|
9626
9645
|
" "
|
|
9627
9646
|
] }),
|
|
9628
|
-
/* @__PURE__ */
|
|
9629
|
-
/* @__PURE__ */
|
|
9647
|
+
/* @__PURE__ */ l.jsxs(Jt, { spacing: 0, children: [
|
|
9648
|
+
/* @__PURE__ */ l.jsx(
|
|
9630
9649
|
Pe,
|
|
9631
9650
|
{
|
|
9632
9651
|
variant: "body2",
|
|
@@ -9639,7 +9658,7 @@ function Tf({
|
|
|
9639
9658
|
children: G("library:pankosmia-rcl:text_versification", r.current)
|
|
9640
9659
|
}
|
|
9641
9660
|
),
|
|
9642
|
-
/* @__PURE__ */
|
|
9661
|
+
/* @__PURE__ */ l.jsx(
|
|
9643
9662
|
$t,
|
|
9644
9663
|
{
|
|
9645
9664
|
onClick: d,
|
|
@@ -9659,8 +9678,8 @@ function Tf({
|
|
|
9659
9678
|
}
|
|
9660
9679
|
)
|
|
9661
9680
|
] }),
|
|
9662
|
-
/* @__PURE__ */
|
|
9663
|
-
/* @__PURE__ */
|
|
9681
|
+
/* @__PURE__ */ l.jsxs(Er, { sx: { width: "100%" }, children: [
|
|
9682
|
+
/* @__PURE__ */ l.jsx(
|
|
9664
9683
|
ys,
|
|
9665
9684
|
{
|
|
9666
9685
|
id: "booksVersification-label",
|
|
@@ -9673,7 +9692,7 @@ function Tf({
|
|
|
9673
9692
|
)
|
|
9674
9693
|
}
|
|
9675
9694
|
),
|
|
9676
|
-
/* @__PURE__ */
|
|
9695
|
+
/* @__PURE__ */ l.jsx(
|
|
9677
9696
|
bs,
|
|
9678
9697
|
{
|
|
9679
9698
|
variant: "outlined",
|
|
@@ -9692,7 +9711,7 @@ function Tf({
|
|
|
9692
9711
|
n(f.target.value);
|
|
9693
9712
|
},
|
|
9694
9713
|
sx: On.select,
|
|
9695
|
-
children: o.map((f, p) => /* @__PURE__ */
|
|
9714
|
+
children: o.map((f, p) => /* @__PURE__ */ l.jsx(xs, { value: f, dense: !0, children: /* @__PURE__ */ l.jsx(
|
|
9696
9715
|
Gr,
|
|
9697
9716
|
{
|
|
9698
9717
|
listItem: `${f.toUpperCase()} - ${G(`scripture:versifications:${f}`, r.current)}`
|
|
@@ -9700,7 +9719,7 @@ function Tf({
|
|
|
9700
9719
|
) }, p))
|
|
9701
9720
|
}
|
|
9702
9721
|
),
|
|
9703
|
-
/* @__PURE__ */
|
|
9722
|
+
/* @__PURE__ */ l.jsxs(Wi, { children: [
|
|
9704
9723
|
" ",
|
|
9705
9724
|
G(
|
|
9706
9725
|
"library:pankosmia-rcl:helper_versification",
|
|
@@ -9723,17 +9742,17 @@ function Ef({
|
|
|
9723
9742
|
bookProject: f,
|
|
9724
9743
|
addVerses: p = !0
|
|
9725
9744
|
}) {
|
|
9726
|
-
var M,
|
|
9745
|
+
var M, _, I, C, P, V, k, L;
|
|
9727
9746
|
const { i18nRef: g } = ge(Be), [y, u] = Z(!0), [b, m] = Z({});
|
|
9728
9747
|
fe(() => {
|
|
9729
9748
|
Se("/api/client-config").then((D) => D.json).then((D) => m(D)).catch((D) => console.error("Error :", D));
|
|
9730
9749
|
}, []);
|
|
9731
|
-
const
|
|
9750
|
+
const S = ((C = (I = (_ = (M = b == null ? void 0 : b["core-contenthandler_text_translation"]) == null ? void 0 : M.find((D) => D.id === "config")) == null ? void 0 : _.fields) == null ? void 0 : I.find((D) => D.id === "protestantBooksOnlyCheckbox")) == null ? void 0 : C.value) !== !1, v = ((L = (k = (V = (P = b == null ? void 0 : b["core-contenthandler_text_translation"]) == null ? void 0 : P.find((D) => D.id === "config")) == null ? void 0 : V.fields) == null ? void 0 : k.find(
|
|
9732
9751
|
(D) => D.id === "protestantBooksOnlyDefaultChecked"
|
|
9733
9752
|
)) == null ? void 0 : L.value) !== !1;
|
|
9734
9753
|
return fe(() => {
|
|
9735
|
-
u(
|
|
9736
|
-
}, [
|
|
9754
|
+
u(v);
|
|
9755
|
+
}, [v]), /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsxs(
|
|
9737
9756
|
be,
|
|
9738
9757
|
{
|
|
9739
9758
|
container: !0,
|
|
@@ -9743,8 +9762,8 @@ function Ef({
|
|
|
9743
9762
|
alignItems: "stretch"
|
|
9744
9763
|
},
|
|
9745
9764
|
children: [
|
|
9746
|
-
/* @__PURE__ */
|
|
9747
|
-
/* @__PURE__ */
|
|
9765
|
+
/* @__PURE__ */ l.jsx(be, { size: 4, children: /* @__PURE__ */ l.jsxs(Er, { sx: { width: "100%" }, children: [
|
|
9766
|
+
/* @__PURE__ */ l.jsx(
|
|
9748
9767
|
ys,
|
|
9749
9768
|
{
|
|
9750
9769
|
id: "bookCode-label",
|
|
@@ -9754,7 +9773,7 @@ function Ef({
|
|
|
9754
9773
|
children: G("library:pankosmia-rcl:book_code", g.current)
|
|
9755
9774
|
}
|
|
9756
9775
|
),
|
|
9757
|
-
/* @__PURE__ */
|
|
9776
|
+
/* @__PURE__ */ l.jsx(
|
|
9758
9777
|
bs,
|
|
9759
9778
|
{
|
|
9760
9779
|
variant: "outlined",
|
|
@@ -9777,26 +9796,26 @@ function Ef({
|
|
|
9777
9796
|
},
|
|
9778
9797
|
sx: On.select,
|
|
9779
9798
|
children: (y ? i.slice(0, 66) : i).map(
|
|
9780
|
-
(D,
|
|
9799
|
+
(D, w) => /* @__PURE__ */ l.jsx(
|
|
9781
9800
|
xs,
|
|
9782
9801
|
{
|
|
9783
9802
|
value: D,
|
|
9784
9803
|
dense: !0,
|
|
9785
9804
|
disabled: f ? f.includes(D) : !1,
|
|
9786
|
-
children: /* @__PURE__ */
|
|
9805
|
+
children: /* @__PURE__ */ l.jsx(
|
|
9787
9806
|
Gr,
|
|
9788
9807
|
{
|
|
9789
9808
|
listItem: `${D} - ${G(`scripture:books:${D}`, g.current)}`
|
|
9790
9809
|
}
|
|
9791
9810
|
)
|
|
9792
9811
|
},
|
|
9793
|
-
|
|
9812
|
+
w
|
|
9794
9813
|
)
|
|
9795
9814
|
)
|
|
9796
9815
|
}
|
|
9797
9816
|
)
|
|
9798
9817
|
] }) }),
|
|
9799
|
-
/* @__PURE__ */
|
|
9818
|
+
/* @__PURE__ */ l.jsx(be, { size: 4, children: /* @__PURE__ */ l.jsx(
|
|
9800
9819
|
Qe,
|
|
9801
9820
|
{
|
|
9802
9821
|
id: "bookAbbr",
|
|
@@ -9809,7 +9828,7 @@ function Ef({
|
|
|
9809
9828
|
}
|
|
9810
9829
|
}
|
|
9811
9830
|
) }),
|
|
9812
|
-
/* @__PURE__ */
|
|
9831
|
+
/* @__PURE__ */ l.jsx(be, { size: 4, children: /* @__PURE__ */ l.jsx(
|
|
9813
9832
|
Qe,
|
|
9814
9833
|
{
|
|
9815
9834
|
id: "bookTitle",
|
|
@@ -9822,10 +9841,10 @@ function Ef({
|
|
|
9822
9841
|
}
|
|
9823
9842
|
}
|
|
9824
9843
|
) }),
|
|
9825
|
-
|
|
9844
|
+
S && /* @__PURE__ */ l.jsx(dr, { children: /* @__PURE__ */ l.jsx(
|
|
9826
9845
|
ut,
|
|
9827
9846
|
{
|
|
9828
|
-
control: /* @__PURE__ */
|
|
9847
|
+
control: /* @__PURE__ */ l.jsx(
|
|
9829
9848
|
It,
|
|
9830
9849
|
{
|
|
9831
9850
|
color: "secondary",
|
|
@@ -9839,10 +9858,10 @@ function Ef({
|
|
|
9839
9858
|
)
|
|
9840
9859
|
}
|
|
9841
9860
|
) }),
|
|
9842
|
-
p && /* @__PURE__ */
|
|
9861
|
+
p && /* @__PURE__ */ l.jsx(dr, { children: /* @__PURE__ */ l.jsx(
|
|
9843
9862
|
ut,
|
|
9844
9863
|
{
|
|
9845
|
-
control: /* @__PURE__ */
|
|
9864
|
+
control: /* @__PURE__ */ l.jsx(
|
|
9846
9865
|
It,
|
|
9847
9866
|
{
|
|
9848
9867
|
color: "secondary",
|
|
@@ -9879,44 +9898,44 @@ function kf({
|
|
|
9879
9898
|
CustomHeader: b,
|
|
9880
9899
|
isInDialogue: m = !1
|
|
9881
9900
|
}) {
|
|
9882
|
-
const
|
|
9901
|
+
const S = Math.min(
|
|
9883
9902
|
Math.max(t - 1, 0),
|
|
9884
9903
|
e.length - 1
|
|
9885
|
-
), [
|
|
9904
|
+
), [v, M] = Z(S), [_, I] = Z(/* @__PURE__ */ new Set()), { i18nRef: C } = ge(Be), P = Te(null), [V, k] = Z(0);
|
|
9886
9905
|
fe(() => {
|
|
9887
|
-
const
|
|
9888
|
-
if (!
|
|
9889
|
-
const
|
|
9890
|
-
k(
|
|
9906
|
+
const c = P.current;
|
|
9907
|
+
if (!c) return;
|
|
9908
|
+
const j = () => {
|
|
9909
|
+
k(c.getBoundingClientRect().height);
|
|
9891
9910
|
};
|
|
9892
|
-
|
|
9893
|
-
const
|
|
9894
|
-
return
|
|
9911
|
+
j();
|
|
9912
|
+
const R = new ResizeObserver(j);
|
|
9913
|
+
return R.observe(c), () => R.disconnect();
|
|
9895
9914
|
}, []);
|
|
9896
|
-
const L = (
|
|
9897
|
-
let
|
|
9898
|
-
if (L(
|
|
9915
|
+
const L = (c) => _.has(c), D = async () => {
|
|
9916
|
+
let c = _;
|
|
9917
|
+
if (L(v) && (c = new Set(c.values()), c.delete(v)), v === e.length - 1) {
|
|
9899
9918
|
try {
|
|
9900
9919
|
await o();
|
|
9901
|
-
} catch (
|
|
9902
|
-
console.error("Error create project",
|
|
9920
|
+
} catch (j) {
|
|
9921
|
+
console.error("Error create project", j);
|
|
9903
9922
|
}
|
|
9904
9923
|
return;
|
|
9905
9924
|
}
|
|
9906
|
-
M((
|
|
9907
|
-
},
|
|
9908
|
-
M((
|
|
9925
|
+
M((j) => j + 1), I(c);
|
|
9926
|
+
}, w = () => {
|
|
9927
|
+
M((c) => c - 1);
|
|
9909
9928
|
};
|
|
9910
|
-
return /* @__PURE__ */
|
|
9911
|
-
/* @__PURE__ */
|
|
9912
|
-
const
|
|
9913
|
-
return L(
|
|
9929
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
9930
|
+
/* @__PURE__ */ l.jsx(Ui, { sx: { position: "sticky" }, activeStep: v, children: e.map((c, j) => {
|
|
9931
|
+
const R = {}, z = {};
|
|
9932
|
+
return L(j) && (R.completed = !1), /* @__PURE__ */ l.jsx(Yi, { ...R, children: /* @__PURE__ */ l.jsx(qi, { ...z, children: c }) }, c);
|
|
9914
9933
|
}) }),
|
|
9915
|
-
/* @__PURE__ */
|
|
9916
|
-
b && /* @__PURE__ */
|
|
9917
|
-
i && /* @__PURE__ */
|
|
9934
|
+
/* @__PURE__ */ l.jsxs(oe, { ref: P, children: [
|
|
9935
|
+
b && /* @__PURE__ */ l.jsx(b, {}),
|
|
9936
|
+
i && /* @__PURE__ */ l.jsx(ds, { variant: "subtitle2", sx: { padding: "16px 0px" }, children: G("library:pankosmia-rcl:required_field", C.current) })
|
|
9918
9937
|
] }),
|
|
9919
|
-
/* @__PURE__ */
|
|
9938
|
+
/* @__PURE__ */ l.jsx(
|
|
9920
9939
|
oe,
|
|
9921
9940
|
{
|
|
9922
9941
|
sx: {
|
|
@@ -9924,10 +9943,10 @@ function kf({
|
|
|
9924
9943
|
overflowY: "auto",
|
|
9925
9944
|
overflowX: "hidden"
|
|
9926
9945
|
},
|
|
9927
|
-
children:
|
|
9946
|
+
children: v !== e.length && /* @__PURE__ */ l.jsx(l.Fragment, { children: n(v) })
|
|
9928
9947
|
}
|
|
9929
9948
|
),
|
|
9930
|
-
/* @__PURE__ */
|
|
9949
|
+
/* @__PURE__ */ l.jsxs(
|
|
9931
9950
|
wr,
|
|
9932
9951
|
{
|
|
9933
9952
|
sx: {
|
|
@@ -9935,24 +9954,24 @@ function kf({
|
|
|
9935
9954
|
padding: "16px 0px 0px"
|
|
9936
9955
|
},
|
|
9937
9956
|
children: [
|
|
9938
|
-
/* @__PURE__ */
|
|
9957
|
+
/* @__PURE__ */ l.jsx(
|
|
9939
9958
|
$t,
|
|
9940
9959
|
{
|
|
9941
9960
|
sx: { padding: 0 },
|
|
9942
9961
|
color: f || "inherit",
|
|
9943
|
-
onClick:
|
|
9944
|
-
disabled: u &&
|
|
9945
|
-
children:
|
|
9962
|
+
onClick: v === 0 ? s : y || w,
|
|
9963
|
+
disabled: u && v === 0,
|
|
9964
|
+
children: v === 0 ? `${G(`${p || "library:pankosmia-rcl:cancel"}`, C.current)}` : `${G("library:pankosmia-rcl:back_button", C.current)}`
|
|
9946
9965
|
}
|
|
9947
9966
|
),
|
|
9948
|
-
/* @__PURE__ */
|
|
9967
|
+
/* @__PURE__ */ l.jsx(
|
|
9949
9968
|
$t,
|
|
9950
9969
|
{
|
|
9951
9970
|
sx: { padding: 0 },
|
|
9952
9971
|
color: a || "inherit",
|
|
9953
9972
|
onClick: g || D,
|
|
9954
|
-
disabled: !r(
|
|
9955
|
-
children:
|
|
9973
|
+
disabled: !r(v),
|
|
9974
|
+
children: v === e.length - 1 ? `${G(`${d || "library:pankosmia-rcl:create"}`, C.current)}` : `${G("library:pankosmia-rcl:next_button", C.current)}`
|
|
9956
9975
|
}
|
|
9957
9976
|
)
|
|
9958
9977
|
]
|
|
@@ -9964,7 +9983,7 @@ const uf = { primary: { main: "#666" }, secondary: { main: "#888" } }, Rf = {
|
|
|
9964
9983
|
palette: uf
|
|
9965
9984
|
};
|
|
9966
9985
|
function _f({ isAndroid: e, children: t }) {
|
|
9967
|
-
return /* @__PURE__ */
|
|
9986
|
+
return /* @__PURE__ */ l.jsx(
|
|
9968
9987
|
oe,
|
|
9969
9988
|
{
|
|
9970
9989
|
sx: {
|
|
@@ -9982,7 +10001,7 @@ function _f({ isAndroid: e, children: t }) {
|
|
|
9982
10001
|
);
|
|
9983
10002
|
}
|
|
9984
10003
|
const jf = Oi(function({ href: t, netEnabled: n, children: r, ...o }, s) {
|
|
9985
|
-
return /* @__PURE__ */
|
|
10004
|
+
return /* @__PURE__ */ l.jsx(
|
|
9986
10005
|
"a",
|
|
9987
10006
|
{
|
|
9988
10007
|
ref: s,
|