@gamelearn/arcade-components 3.8.5 → 3.8.6
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.
|
@@ -288,17 +288,17 @@ function requireReactJsxRuntime_development() {
|
|
|
288
288
|
}
|
|
289
289
|
} catch (di) {
|
|
290
290
|
if (di && St && typeof di.stack == "string") {
|
|
291
|
-
for (var
|
|
291
|
+
for (var Ut = di.stack.split(`
|
|
292
292
|
`), Cr = St.stack.split(`
|
|
293
|
-
`), fr =
|
|
293
|
+
`), fr = Ut.length - 1, hr = Cr.length - 1; fr >= 1 && hr >= 0 && Ut[fr] !== Cr[hr]; )
|
|
294
294
|
hr--;
|
|
295
295
|
for (; fr >= 1 && hr >= 0; fr--, hr--)
|
|
296
|
-
if (
|
|
296
|
+
if (Ut[fr] !== Cr[hr]) {
|
|
297
297
|
if (fr !== 1 || hr !== 1)
|
|
298
298
|
do
|
|
299
|
-
if (fr--, hr--, hr < 0 ||
|
|
299
|
+
if (fr--, hr--, hr < 0 || Ut[fr] !== Cr[hr]) {
|
|
300
300
|
var Tr = `
|
|
301
|
-
` +
|
|
301
|
+
` + Ut[fr].replace(" at new ", " at ");
|
|
302
302
|
return ge.displayName && Tr.includes("<anonymous>") && (Tr = Tr.replace("<anonymous>", ge.displayName)), typeof ge == "function" && de.set(ge, Tr), Tr;
|
|
303
303
|
}
|
|
304
304
|
while (fr >= 1 && hr >= 0);
|
|
@@ -348,7 +348,7 @@ function requireReactJsxRuntime_development() {
|
|
|
348
348
|
return "";
|
|
349
349
|
}
|
|
350
350
|
var Ve = Object.prototype.hasOwnProperty, Be = {}, qe = C.ReactDebugCurrentFrame;
|
|
351
|
-
function
|
|
351
|
+
function pt(ge) {
|
|
352
352
|
if (ge) {
|
|
353
353
|
var He = ge._owner, Je = Re(ge.type, ge._source, He ? He.type : null);
|
|
354
354
|
qe.setExtraStackFrame(Je);
|
|
@@ -360,22 +360,22 @@ function requireReactJsxRuntime_development() {
|
|
|
360
360
|
var Ht = Function.call.bind(Ve);
|
|
361
361
|
for (var Gt in ge)
|
|
362
362
|
if (Ht(ge, Gt)) {
|
|
363
|
-
var
|
|
363
|
+
var Ut = void 0;
|
|
364
364
|
try {
|
|
365
365
|
if (typeof ge[Gt] != "function") {
|
|
366
366
|
var Cr = Error((St || "React class") + ": " + Je + " type `" + Gt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof ge[Gt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
367
367
|
throw Cr.name = "Invariant Violation", Cr;
|
|
368
368
|
}
|
|
369
|
-
|
|
369
|
+
Ut = ge[Gt](He, Gt, St, Je, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
370
370
|
} catch (fr) {
|
|
371
|
-
|
|
371
|
+
Ut = fr;
|
|
372
372
|
}
|
|
373
|
-
|
|
373
|
+
Ut && !(Ut instanceof Error) && (pt(qt), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", St || "React class", Je, Gt, typeof Ut), pt(null)), Ut instanceof Error && !(Ut.message in Be) && (Be[Ut.message] = !0, pt(qt), T("Failed %s type: %s", Je, Ut.message), pt(null));
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
var it = Array.isArray;
|
|
378
|
-
function
|
|
378
|
+
function ht(ge) {
|
|
379
379
|
return it(ge);
|
|
380
380
|
}
|
|
381
381
|
function er(ge) {
|
|
@@ -450,7 +450,7 @@ function requireReactJsxRuntime_development() {
|
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
var je = function(ge, He, Je, St, qt, Ht, Gt) {
|
|
453
|
-
var
|
|
453
|
+
var Ut = {
|
|
454
454
|
// This tag allows us to uniquely identify this as a React Element
|
|
455
455
|
$$typeof: e,
|
|
456
456
|
// Built-in properties that belong on the element
|
|
@@ -461,27 +461,27 @@ function requireReactJsxRuntime_development() {
|
|
|
461
461
|
// Record the component responsible for creating this element.
|
|
462
462
|
_owner: Ht
|
|
463
463
|
};
|
|
464
|
-
return
|
|
464
|
+
return Ut._store = {}, Object.defineProperty(Ut._store, "validated", {
|
|
465
465
|
configurable: !1,
|
|
466
466
|
enumerable: !1,
|
|
467
467
|
writable: !0,
|
|
468
468
|
value: !1
|
|
469
|
-
}), Object.defineProperty(
|
|
469
|
+
}), Object.defineProperty(Ut, "_self", {
|
|
470
470
|
configurable: !1,
|
|
471
471
|
enumerable: !1,
|
|
472
472
|
writable: !1,
|
|
473
473
|
value: St
|
|
474
|
-
}), Object.defineProperty(
|
|
474
|
+
}), Object.defineProperty(Ut, "_source", {
|
|
475
475
|
configurable: !1,
|
|
476
476
|
enumerable: !1,
|
|
477
477
|
writable: !1,
|
|
478
478
|
value: qt
|
|
479
|
-
}), Object.freeze && (Object.freeze(
|
|
479
|
+
}), Object.freeze && (Object.freeze(Ut.props), Object.freeze(Ut)), Ut;
|
|
480
480
|
};
|
|
481
481
|
function $e(ge, He, Je, St, qt) {
|
|
482
482
|
{
|
|
483
|
-
var Ht, Gt = {},
|
|
484
|
-
Je !== void 0 && (kt(Je),
|
|
483
|
+
var Ht, Gt = {}, Ut = null, Cr = null;
|
|
484
|
+
Je !== void 0 && (kt(Je), Ut = "" + Je), ye(He) && (kt(He.key), Ut = "" + He.key), pe(He) && (Cr = He.ref, Ce(He, qt));
|
|
485
485
|
for (Ht in He)
|
|
486
486
|
Ve.call(He, Ht) && !Ke.hasOwnProperty(Ht) && (Gt[Ht] = He[Ht]);
|
|
487
487
|
if (ge && ge.defaultProps) {
|
|
@@ -489,11 +489,11 @@ function requireReactJsxRuntime_development() {
|
|
|
489
489
|
for (Ht in fr)
|
|
490
490
|
Gt[Ht] === void 0 && (Gt[Ht] = fr[Ht]);
|
|
491
491
|
}
|
|
492
|
-
if (
|
|
492
|
+
if (Ut || Cr) {
|
|
493
493
|
var hr = typeof ge == "function" ? ge.displayName || ge.name || "Unknown" : ge;
|
|
494
|
-
|
|
494
|
+
Ut && Le(Gt, hr), Cr && We(Gt, hr);
|
|
495
495
|
}
|
|
496
|
-
return je(ge,
|
|
496
|
+
return je(ge, Ut, Cr, qt, St, Ft.current, Gt);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
var jt = C.ReactCurrentOwner, Mt = C.ReactDebugCurrentFrame;
|
|
@@ -532,7 +532,7 @@ Check your code at ` + He + ":" + Je + ".";
|
|
|
532
532
|
return "";
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
var
|
|
535
|
+
var dt = {};
|
|
536
536
|
function bt(ge) {
|
|
537
537
|
{
|
|
538
538
|
var He = ze();
|
|
@@ -551,18 +551,18 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
551
551
|
return;
|
|
552
552
|
ge._store.validated = !0;
|
|
553
553
|
var Je = bt(He);
|
|
554
|
-
if (
|
|
554
|
+
if (dt[Je])
|
|
555
555
|
return;
|
|
556
|
-
|
|
556
|
+
dt[Je] = !0;
|
|
557
557
|
var St = "";
|
|
558
558
|
ge && ge._owner && ge._owner !== jt.current && (St = " It was passed a child from " + H(ge._owner.type) + "."), ct(ge), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Je, St), ct(null);
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function It(ge, He) {
|
|
562
562
|
{
|
|
563
563
|
if (typeof ge != "object")
|
|
564
564
|
return;
|
|
565
|
-
if (
|
|
565
|
+
if (ht(ge))
|
|
566
566
|
for (var Je = 0; Je < ge.length; Je++) {
|
|
567
567
|
var St = ge[Je];
|
|
568
568
|
Wr(St) && st(St, He);
|
|
@@ -577,7 +577,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function ir(ge) {
|
|
581
581
|
{
|
|
582
582
|
var He = ge.type;
|
|
583
583
|
if (He == null || typeof He == "string")
|
|
@@ -618,12 +618,12 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
618
618
|
{
|
|
619
619
|
var Gt = L(ge);
|
|
620
620
|
if (!Gt) {
|
|
621
|
-
var
|
|
622
|
-
(ge === void 0 || typeof ge == "object" && ge !== null && Object.keys(ge).length === 0) && (
|
|
621
|
+
var Ut = "";
|
|
622
|
+
(ge === void 0 || typeof ge == "object" && ge !== null && Object.keys(ge).length === 0) && (Ut += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
623
623
|
var Cr = Me(qt);
|
|
624
|
-
Cr ?
|
|
624
|
+
Cr ? Ut += Cr : Ut += ze();
|
|
625
625
|
var fr;
|
|
626
|
-
ge === null ? fr = "null" :
|
|
626
|
+
ge === null ? fr = "null" : ht(ge) ? fr = "array" : ge !== void 0 && ge.$$typeof === e ? (fr = "<" + (H(ge.type) || "Unknown") + " />", Ut = " Did you accidentally export a JSX literal instead of a component?") : fr = typeof ge, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", fr, Ut);
|
|
627
627
|
}
|
|
628
628
|
var hr = $e(ge, He, Je, qt, Ht);
|
|
629
629
|
if (hr == null)
|
|
@@ -632,16 +632,16 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
632
632
|
var Tr = He.children;
|
|
633
633
|
if (Tr !== void 0)
|
|
634
634
|
if (St)
|
|
635
|
-
if (
|
|
635
|
+
if (ht(Tr)) {
|
|
636
636
|
for (var ua = 0; ua < Tr.length; ua++)
|
|
637
|
-
|
|
637
|
+
It(Tr[ua], ge);
|
|
638
638
|
Object.freeze && Object.freeze(Tr);
|
|
639
639
|
} else
|
|
640
640
|
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
641
641
|
else
|
|
642
|
-
|
|
642
|
+
It(Tr, ge);
|
|
643
643
|
}
|
|
644
|
-
return ge === t ? Yr(hr) :
|
|
644
|
+
return ge === t ? Yr(hr) : ir(hr), hr;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
function ja(ge, He, Je) {
|
|
@@ -1397,7 +1397,7 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1397
1397
|
function(o, e, r) {
|
|
1398
1398
|
Object.defineProperty(e, "__esModule", {
|
|
1399
1399
|
value: !0
|
|
1400
|
-
}), e.arrayByteLength = de, e.arraysToBytes = fe, e.assert = H, e.bytesToString = se, e.createPromiseCapability = mt, e.getVerbosityLevel = k, e.info = L, e.isArrayBuffer = Ft, e.isArrayEqual = Ke, e.isBool = Ot, e.isEmptyObj = er, e.isNum = _t, e.isString = kt, e.isSameOrigin = W, e.createValidAbsoluteUrl = q, e.removeNullCharacters = Z, e.setVerbosityLevel = O, e.shadow = z, e.string32 = ce, e.stringToBytes = oe, e.stringToPDFString = yt, e.stringToUTF8String = it, e.utf8StringToString =
|
|
1400
|
+
}), e.arrayByteLength = de, e.arraysToBytes = fe, e.assert = H, e.bytesToString = se, e.createPromiseCapability = mt, e.getVerbosityLevel = k, e.info = L, e.isArrayBuffer = Ft, e.isArrayEqual = Ke, e.isBool = Ot, e.isEmptyObj = er, e.isNum = _t, e.isString = kt, e.isSameOrigin = W, e.createValidAbsoluteUrl = q, e.removeNullCharacters = Z, e.setVerbosityLevel = O, e.shadow = z, e.string32 = ce, e.stringToBytes = oe, e.stringToPDFString = yt, e.stringToUTF8String = it, e.utf8StringToString = ht, e.warn = F, e.unreachable = G, e.IsEvalSupportedCached = e.IsLittleEndianCached = e.createObjectURL = e.FormatError = e.Util = e.UnknownErrorException = e.UnexpectedResponseException = e.TextRenderingMode = e.StreamType = e.PermissionFlag = e.PasswordResponses = e.PasswordException = e.MissingPDFException = e.InvalidPDFException = e.AbortException = e.CMapCompressionType = e.ImageKind = e.FontType = e.AnnotationType = e.AnnotationStateModelType = e.AnnotationReviewState = e.AnnotationReplyType = e.AnnotationMarkedState = e.AnnotationFlag = e.AnnotationFieldFlag = e.AnnotationBorderStyleType = e.UNSUPPORTED_FEATURES = e.VerbosityLevel = e.OPS = e.IDENTITY_MATRIX = e.FONT_IDENTITY_MATRIX = e.BaseException = void 0, r(3);
|
|
1401
1401
|
const t = [1, 0, 0, 1, 0, 0];
|
|
1402
1402
|
e.IDENTITY_MATRIX = t;
|
|
1403
1403
|
const n = [1e-3, 0, 0, 1e-3, 0, 0];
|
|
@@ -1907,7 +1907,7 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1907
1907
|
}
|
|
1908
1908
|
}
|
|
1909
1909
|
e.Util = qe;
|
|
1910
|
-
const
|
|
1910
|
+
const pt = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 728, 711, 710, 729, 733, 731, 730, 732, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8226, 8224, 8225, 8230, 8212, 8211, 402, 8260, 8249, 8250, 8722, 8240, 8222, 8220, 8221, 8216, 8217, 8218, 8482, 64257, 64258, 321, 338, 352, 376, 381, 305, 322, 339, 353, 382, 0, 8364];
|
|
1911
1911
|
function yt(he) {
|
|
1912
1912
|
const pe = he.length, ye = [];
|
|
1913
1913
|
if (he[0] === "þ" && he[1] === "ÿ")
|
|
@@ -1918,7 +1918,7 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1918
1918
|
ye.push(String.fromCharCode(he.charCodeAt(Ce + 1) << 8 | he.charCodeAt(Ce)));
|
|
1919
1919
|
else
|
|
1920
1920
|
for (let Ce = 0; Ce < pe; ++Ce) {
|
|
1921
|
-
const Le =
|
|
1921
|
+
const Le = pt[he.charCodeAt(Ce)];
|
|
1922
1922
|
ye.push(Le ? String.fromCharCode(Le) : he.charAt(Ce));
|
|
1923
1923
|
}
|
|
1924
1924
|
return ye.join("");
|
|
@@ -1926,7 +1926,7 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1926
1926
|
function it(he) {
|
|
1927
1927
|
return decodeURIComponent(escape(he));
|
|
1928
1928
|
}
|
|
1929
|
-
function
|
|
1929
|
+
function ht(he) {
|
|
1930
1930
|
return unescape(encodeURIComponent(he));
|
|
1931
1931
|
}
|
|
1932
1932
|
function er(he) {
|
|
@@ -1977,8 +1977,8 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1977
1977
|
}
|
|
1978
1978
|
let je = `data:${Le};base64,`;
|
|
1979
1979
|
for (let $e = 0, jt = Ce.length; $e < jt; $e += 3) {
|
|
1980
|
-
const Mt = Ce[$e] & 255, ct = Ce[$e + 1] & 255, vr = Ce[$e + 2] & 255, Wr = Mt >> 2, ze = (Mt & 3) << 4 | ct >> 4, Me = $e + 1 < jt ? (ct & 15) << 2 | vr >> 6 : 64,
|
|
1981
|
-
je += pe[Wr] + pe[ze] + pe[Me] + pe[
|
|
1980
|
+
const Mt = Ce[$e] & 255, ct = Ce[$e + 1] & 255, vr = Ce[$e + 2] & 255, Wr = Mt >> 2, ze = (Mt & 3) << 4 | ct >> 4, Me = $e + 1 < jt ? (ct & 15) << 2 | vr >> 6 : 64, dt = $e + 2 < jt ? vr & 63 : 64;
|
|
1981
|
+
je += pe[Wr] + pe[ze] + pe[Me] + pe[dt];
|
|
1982
1982
|
}
|
|
1983
1983
|
return je;
|
|
1984
1984
|
};
|
|
@@ -3511,13 +3511,13 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
3511
3511
|
}
|
|
3512
3512
|
var U = I.height, V = I.width, X = U % h, Q = (U - X) / h, J = X === 0 ? Q : Q + 1, ie = B.createImageData(V, h), ne = 0, Z, se = I.data, oe = ie.data, de, fe, ce, xe;
|
|
3513
3513
|
if (I.kind === t.ImageKind.GRAYSCALE_1BPP) {
|
|
3514
|
-
var Oe = se.byteLength, Re = new Uint32Array(oe.buffer, 0, oe.byteLength >> 2), Ve = Re.length, Be = V + 7 >> 3, qe = 4294967295,
|
|
3514
|
+
var Oe = se.byteLength, Re = new Uint32Array(oe.buffer, 0, oe.byteLength >> 2), Ve = Re.length, Be = V + 7 >> 3, qe = 4294967295, pt = t.IsLittleEndianCached.value ? 4278190080 : 255;
|
|
3515
3515
|
for (de = 0; de < J; de++) {
|
|
3516
3516
|
for (ce = de < Q ? h : X, Z = 0, fe = 0; fe < ce; fe++) {
|
|
3517
|
-
for (var yt = Oe - ne, it = 0,
|
|
3518
|
-
_t = se[ne++], Re[Z++] = _t & 128 ? qe :
|
|
3519
|
-
for (; it <
|
|
3520
|
-
Ot === 0 && (_t = se[ne++], Ot = 128), Re[Z++] = _t & Ot ? qe :
|
|
3517
|
+
for (var yt = Oe - ne, it = 0, ht = yt > Be ? V : yt * 8 - 7, er = ht & -8, Ot = 0, _t = 0; it < er; it += 8)
|
|
3518
|
+
_t = se[ne++], Re[Z++] = _t & 128 ? qe : pt, Re[Z++] = _t & 64 ? qe : pt, Re[Z++] = _t & 32 ? qe : pt, Re[Z++] = _t & 16 ? qe : pt, Re[Z++] = _t & 8 ? qe : pt, Re[Z++] = _t & 4 ? qe : pt, Re[Z++] = _t & 2 ? qe : pt, Re[Z++] = _t & 1 ? qe : pt;
|
|
3519
|
+
for (; it < ht; it++)
|
|
3520
|
+
Ot === 0 && (_t = se[ne++], Ot = 128), Re[Z++] = _t & Ot ? qe : pt, Ot >>= 1;
|
|
3521
3521
|
}
|
|
3522
3522
|
for (; Z < Ve; )
|
|
3523
3523
|
Re[Z++] = 0;
|
|
@@ -3932,32 +3932,32 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
3932
3932
|
} else
|
|
3933
3933
|
Ve /= Be;
|
|
3934
3934
|
J !== 1 && (Q.scale(J, J), Ve /= J), Q.lineWidth = Ve;
|
|
3935
|
-
var
|
|
3935
|
+
var pt = 0, yt;
|
|
3936
3936
|
for (yt = 0; yt < oe; ++yt) {
|
|
3937
3937
|
var it = I[yt];
|
|
3938
3938
|
if ((0, t.isNum)(it)) {
|
|
3939
|
-
|
|
3939
|
+
pt += fe * it * X / 1e3;
|
|
3940
3940
|
continue;
|
|
3941
3941
|
}
|
|
3942
|
-
var
|
|
3942
|
+
var ht = !1, er = (it.isSpace ? ne : 0) + ie, Ot = it.fontChar, _t = it.accent, kt, Ft, Ke, mt, ut = it.width;
|
|
3943
3943
|
if (de) {
|
|
3944
3944
|
var he, pe, ye;
|
|
3945
|
-
he = it.vmetric || ce, pe = it.vmetric ? he[1] : ut * 0.5, pe = -pe * xe, ye = he[2] * xe, ut = he ? -he[0] : ut, kt = pe / J, Ft = (
|
|
3945
|
+
he = it.vmetric || ce, pe = it.vmetric ? he[1] : ut * 0.5, pe = -pe * xe, ye = he[2] * xe, ut = he ? -he[0] : ut, kt = pe / J, Ft = (pt + ye) / J;
|
|
3946
3946
|
} else
|
|
3947
|
-
kt =
|
|
3947
|
+
kt = pt / J, Ft = 0;
|
|
3948
3948
|
if (V.remeasure && ut > 0) {
|
|
3949
3949
|
var Ce = Q.measureText(Ot).width * 1e3 / X * J;
|
|
3950
3950
|
if (ut < Ce && this.isFontSubpixelAAEnabled) {
|
|
3951
3951
|
var Le = ut / Ce;
|
|
3952
|
-
|
|
3952
|
+
ht = !0, Q.save(), Q.scale(Le, 1), kt /= Le;
|
|
3953
3953
|
} else
|
|
3954
3954
|
ut !== Ce && (kt += (ut - Ce) / 2e3 * X / J);
|
|
3955
3955
|
}
|
|
3956
3956
|
(it.isInFont || V.missingFile) && (Oe && !_t ? Q.fillText(Ot, kt, Ft) : (this.paintChar(Ot, kt, Ft, Re), _t && (Ke = kt + _t.offset.x / J, mt = Ft - _t.offset.y / J, this.paintChar(_t.fontChar, Ke, mt, Re))));
|
|
3957
3957
|
var We;
|
|
3958
|
-
de ? We = ut * xe - er * Z : We = ut * xe + er * Z,
|
|
3958
|
+
de ? We = ut * xe - er * Z : We = ut * xe + er * Z, pt += We, ht && Q.restore();
|
|
3959
3959
|
}
|
|
3960
|
-
de ? U.y -=
|
|
3960
|
+
de ? U.y -= pt : U.x += pt * se, Q.restore();
|
|
3961
3961
|
},
|
|
3962
3962
|
showType3Text: function(I) {
|
|
3963
3963
|
var U = this.ctx, V = this.current, X = V.font, Q = V.fontSize, J = V.fontDirection, ie = X.vertical ? 1 : -1, ne = V.charSpacing, Z = V.wordSpacing, se = V.textHScale * J, oe = V.fontMatrix || t.FONT_IDENTITY_MATRIX, de = I.length, fe = V.textRenderingMode === t.TextRenderingMode.INVISIBLE, ce, xe, Oe, Re;
|
|
@@ -4268,8 +4268,8 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
4268
4268
|
}
|
|
4269
4269
|
let yt;
|
|
4270
4270
|
Re < F ? yt = 0 : Re > ee ? yt = 1 : yt = (F - Re) / (F - ee), fe = L - (L - W) * yt, ce = q - (q - X) * yt, xe = z - (z - Q) * yt, Oe = B - (B - J) * yt;
|
|
4271
|
-
for (var Ve = Math.round(Math.min(Z, fe)), Be = Math.round(Math.max(Z, fe)), qe = O * Re + Ve * 4,
|
|
4272
|
-
yt = (Z -
|
|
4271
|
+
for (var Ve = Math.round(Math.min(Z, fe)), Be = Math.round(Math.max(Z, fe)), qe = O * Re + Ve * 4, pt = Ve; pt <= Be; pt++)
|
|
4272
|
+
yt = (Z - pt) / (Z - fe), yt < 0 ? yt = 0 : yt > 1 && (yt = 1), w[qe++] = se - (se - ce) * yt | 0, w[qe++] = oe - (oe - xe) * yt | 0, w[qe++] = de - (de - Oe) * yt | 0, w[qe++] = 255;
|
|
4273
4273
|
}
|
|
4274
4274
|
}
|
|
4275
4275
|
function y(g, _, p) {
|
|
@@ -12574,8 +12574,8 @@ var hls = { exports: {} };
|
|
|
12574
12574
|
}
|
|
12575
12575
|
} else {
|
|
12576
12576
|
var fe = void 0, ce = G.maxFragLookUpTolerance, xe = U ? ie[U.sn - ie[0].sn + 1] : void 0, Oe = function(it) {
|
|
12577
|
-
var
|
|
12578
|
-
return it.start + it.duration -
|
|
12577
|
+
var ht = Math.min(ce, it.duration);
|
|
12578
|
+
return it.start + it.duration - ht <= I ? 1 : it.start - ht > I && it.start ? -1 : 0;
|
|
12579
12579
|
};
|
|
12580
12580
|
I < se ? (I > se - ce && (ce = 0), xe && !Oe(xe) ? fe = xe : fe = u.default.search(ie, Oe)) : fe = ie[ne - 1], fe && (oe = fe, Z = fe.start, U && oe.level === U.level && oe.sn === U.sn && (oe.sn < L.endSN ? (oe = ie[oe.sn + 1 - L.startSN], _.logger.log("SN just loaded, load next one: " + oe.sn)) : oe = null));
|
|
12581
12581
|
}
|
|
@@ -12595,9 +12595,9 @@ var hls = { exports: {} };
|
|
|
12595
12595
|
var qe = this.videoTrackCC;
|
|
12596
12596
|
if (this.initPTS[qe] === void 0)
|
|
12597
12597
|
break;
|
|
12598
|
-
var
|
|
12599
|
-
if (
|
|
12600
|
-
var yt =
|
|
12598
|
+
var pt = this.waitingFragment;
|
|
12599
|
+
if (pt) {
|
|
12600
|
+
var yt = pt.frag.cc;
|
|
12601
12601
|
qe !== yt ? (k = this.tracks[this.trackId], k.details && k.details.live && (_.logger.warn("Waiting fragment CC (" + yt + ") does not match video track CC (" + qe + ")"), this.waitingFragment = null, this.state = T.State.IDLE)) : (this.state = T.State.FRAG_LOADING, this.onFragLoaded(this.waitingFragment), this.waitingFragment = null);
|
|
12602
12602
|
} else
|
|
12603
12603
|
this.state = T.State.IDLE;
|
|
@@ -20032,12 +20032,12 @@ var hls = { exports: {} };
|
|
|
20032
20032
|
if (I < H - 1)
|
|
20033
20033
|
S = F[I + 1].dts - fe.dts;
|
|
20034
20034
|
else {
|
|
20035
|
-
var qe = this.config,
|
|
20035
|
+
var qe = this.config, pt = fe.dts - F[I > 0 ? I - 1 : I].dts;
|
|
20036
20036
|
if (qe.stretchShortVideoTrack) {
|
|
20037
|
-
var yt = qe.maxBufferHole, it = Math.floor(yt * L),
|
|
20038
|
-
|
|
20037
|
+
var yt = qe.maxBufferHole, it = Math.floor(yt * L), ht = (x ? P + x * L : this.nextAudioPts) - fe.pts;
|
|
20038
|
+
ht > it ? (S = ht - pt, S < 0 && (S = pt), c.logger.log("It is approximately " + ht / 90 + " ms to the next segment; using duration " + S / 90 + " ms for the last video frame.")) : S = pt;
|
|
20039
20039
|
} else
|
|
20040
|
-
S =
|
|
20040
|
+
S = pt;
|
|
20041
20041
|
}
|
|
20042
20042
|
Oe = Math.round(fe.pts - fe.dts);
|
|
20043
20043
|
}
|
|
@@ -20080,10 +20080,10 @@ var hls = { exports: {} };
|
|
|
20080
20080
|
}
|
|
20081
20081
|
}, E.prototype.remuxAudio = function(g, _, p, x) {
|
|
20082
20082
|
var C = g.inputTimeScale, T = g.timescale, S = C / T, A = g.isAAC ? 1024 : 1152, R = A * S, P = this._PTSNormalize, w = this._initPTS, O = !g.isAAC && this.typeSupported.mpeg, k, L, F, G, H, W, ee, q = g.samples, z = [], B = this.nextAudioPts;
|
|
20083
|
-
if (p |= q.length && B && (x && Math.abs(_ - B / C) < 0.1 || Math.abs(q[0].pts - B - w) < 20 * R), q.forEach(function(
|
|
20084
|
-
|
|
20085
|
-
}), q = q.filter(function(
|
|
20086
|
-
return
|
|
20083
|
+
if (p |= q.length && B && (x && Math.abs(_ - B / C) < 0.1 || Math.abs(q[0].pts - B - w) < 20 * R), q.forEach(function(ht) {
|
|
20084
|
+
ht.pts = ht.dts = P(ht.pts - w, _ * C);
|
|
20085
|
+
}), q = q.filter(function(ht) {
|
|
20086
|
+
return ht.pts >= 0;
|
|
20087
20087
|
}), q.length !== 0) {
|
|
20088
20088
|
if (p || (x ? B = _ * C : B = q[0].pts), g.isAAC)
|
|
20089
20089
|
for (var I = this.config.maxAudioFramesDrift, U = 0, V = B; U < q.length; ) {
|
|
@@ -20165,12 +20165,12 @@ var hls = { exports: {} };
|
|
|
20165
20165
|
var Be = 0, qe = z.length;
|
|
20166
20166
|
if (qe >= 2 && (Be = z[qe - 2].duration, L.duration = Be), qe) {
|
|
20167
20167
|
this.nextAudioPts = B = ee + S * Be, g.len = 0, g.samples = z, O ? H = new Uint8Array() : H = l.default.moof(g.sequenceNumber++, W / S, g), g.samples = [];
|
|
20168
|
-
var
|
|
20168
|
+
var pt = W / C, yt = B / C, it = {
|
|
20169
20169
|
data1: H,
|
|
20170
20170
|
data2: G,
|
|
20171
|
-
startPTS:
|
|
20171
|
+
startPTS: pt,
|
|
20172
20172
|
endPTS: yt,
|
|
20173
|
-
startDTS:
|
|
20173
|
+
startDTS: pt,
|
|
20174
20174
|
endDTS: yt,
|
|
20175
20175
|
type: "audio",
|
|
20176
20176
|
hasAudio: !0,
|
|
@@ -27200,7 +27200,7 @@ function ConversationalProComponent({
|
|
|
27200
27200
|
Be();
|
|
27201
27201
|
},
|
|
27202
27202
|
[W.id, n, e, Be, t]
|
|
27203
|
-
),
|
|
27203
|
+
), pt = useCallback(
|
|
27204
27204
|
(he = !0) => {
|
|
27205
27205
|
const pe = he ? ["fromId", "toId"] : ["toId", "fromId"], ye = n.filter((We) => We[pe[0]] === W.id), Ce = ye.length === 1 ? ye[0] : ye.find((We) => We[pe[1]] === ie);
|
|
27206
27206
|
if (!(Ce != null && Ce[pe[0]])) {
|
|
@@ -27234,7 +27234,7 @@ function ConversationalProComponent({
|
|
|
27234
27234
|
(he, pe) => {
|
|
27235
27235
|
let ye = !1;
|
|
27236
27236
|
if (k(!1), J([...Q, W.id]), C(!1), R(!1), I)
|
|
27237
|
-
he ? qe(he, pe) :
|
|
27237
|
+
he ? qe(he, pe) : pt();
|
|
27238
27238
|
else if (P < t.length - 1) {
|
|
27239
27239
|
const Le = P + 1;
|
|
27240
27240
|
w(Le), e({ type: "notifyProgress", payload: { line: Le } });
|
|
@@ -27252,13 +27252,13 @@ function ConversationalProComponent({
|
|
|
27252
27252
|
V,
|
|
27253
27253
|
X,
|
|
27254
27254
|
qe,
|
|
27255
|
-
|
|
27255
|
+
pt,
|
|
27256
27256
|
e,
|
|
27257
27257
|
Be
|
|
27258
27258
|
]
|
|
27259
|
-
),
|
|
27259
|
+
), ht = () => {
|
|
27260
27260
|
if (C(!1), k(!1), R(!1), I)
|
|
27261
|
-
|
|
27261
|
+
pt(!1);
|
|
27262
27262
|
else if (!Z()) {
|
|
27263
27263
|
const he = P - 1;
|
|
27264
27264
|
w(he), e({ type: "notifyProgress", payload: { line: he } });
|
|
@@ -27267,7 +27267,7 @@ function ConversationalProComponent({
|
|
|
27267
27267
|
}, er = useCallback(() => I ? W && W.type !== "conversationalDecision" && !n.find((he) => he.fromId === W.id) : P === t.length - 1, [P, W, n, I, t.length]), Ot = () => {
|
|
27268
27268
|
L("click-ui"), er() ? Be() : (S(!1), it());
|
|
27269
27269
|
}, _t = () => {
|
|
27270
|
-
L("click-ui"), S(!1),
|
|
27270
|
+
L("click-ui"), S(!1), ht();
|
|
27271
27271
|
}, kt = T && !V && !r && !X, Ft = useMemo(
|
|
27272
27272
|
() => P === 0 || Z() || se(),
|
|
27273
27273
|
[P, Z, se]
|
|
@@ -36840,7 +36840,7 @@ function requireScheduler_development() {
|
|
|
36840
36840
|
}
|
|
36841
36841
|
function J(he, pe) {
|
|
36842
36842
|
var ye = pe;
|
|
36843
|
-
for (V(ye), H = a(L); H !== null && !e && !(H.expirationTime > ye && (!he ||
|
|
36843
|
+
for (V(ye), H = a(L); H !== null && !e && !(H.expirationTime > ye && (!he || pt())); ) {
|
|
36844
36844
|
var Ce = H.callback;
|
|
36845
36845
|
if (typeof Ce == "function") {
|
|
36846
36846
|
H.callback = null, W = H.priorityLevel;
|
|
@@ -36957,7 +36957,7 @@ function requireScheduler_development() {
|
|
|
36957
36957
|
return W;
|
|
36958
36958
|
}
|
|
36959
36959
|
var Oe = !1, Re = null, Ve = -1, Be = t, qe = -1;
|
|
36960
|
-
function
|
|
36960
|
+
function pt() {
|
|
36961
36961
|
var he = o.unstable_now() - qe;
|
|
36962
36962
|
return !(he < Be);
|
|
36963
36963
|
}
|
|
@@ -36970,7 +36970,7 @@ function requireScheduler_development() {
|
|
|
36970
36970
|
}
|
|
36971
36971
|
he > 0 ? Be = Math.floor(1e3 / he) : Be = t;
|
|
36972
36972
|
}
|
|
36973
|
-
var
|
|
36973
|
+
var ht = function() {
|
|
36974
36974
|
if (Re !== null) {
|
|
36975
36975
|
var he = o.unstable_now();
|
|
36976
36976
|
qe = he;
|
|
@@ -36985,16 +36985,16 @@ function requireScheduler_development() {
|
|
|
36985
36985
|
}, er;
|
|
36986
36986
|
if (typeof U == "function")
|
|
36987
36987
|
er = function() {
|
|
36988
|
-
U(
|
|
36988
|
+
U(ht);
|
|
36989
36989
|
};
|
|
36990
36990
|
else if (typeof MessageChannel < "u") {
|
|
36991
36991
|
var Ot = new MessageChannel(), _t = Ot.port2;
|
|
36992
|
-
Ot.port1.onmessage =
|
|
36992
|
+
Ot.port1.onmessage = ht, er = function() {
|
|
36993
36993
|
_t.postMessage(null);
|
|
36994
36994
|
};
|
|
36995
36995
|
} else
|
|
36996
36996
|
er = function() {
|
|
36997
|
-
B(
|
|
36997
|
+
B(ht, 0);
|
|
36998
36998
|
};
|
|
36999
36999
|
function kt(he) {
|
|
37000
37000
|
Re = he, Oe || (Oe = !0, er());
|
|
@@ -37008,7 +37008,7 @@ function requireScheduler_development() {
|
|
|
37008
37008
|
I(Ve), Ve = -1;
|
|
37009
37009
|
}
|
|
37010
37010
|
var mt = yt, ut = null;
|
|
37011
|
-
o.unstable_IdlePriority = _, o.unstable_ImmediatePriority = h, o.unstable_LowPriority = g, o.unstable_NormalPriority = E, o.unstable_Profiling = ut, o.unstable_UserBlockingPriority = y, o.unstable_cancelCallback = ce, o.unstable_continueExecution = de, o.unstable_forceFrameRate = it, o.unstable_getCurrentPriorityLevel = xe, o.unstable_getFirstCallbackNode = fe, o.unstable_next = ne, o.unstable_pauseExecution = oe, o.unstable_requestPaint = mt, o.unstable_runWithPriority = ie, o.unstable_scheduleCallback = se, o.unstable_shouldYield =
|
|
37011
|
+
o.unstable_IdlePriority = _, o.unstable_ImmediatePriority = h, o.unstable_LowPriority = g, o.unstable_NormalPriority = E, o.unstable_Profiling = ut, o.unstable_UserBlockingPriority = y, o.unstable_cancelCallback = ce, o.unstable_continueExecution = de, o.unstable_forceFrameRate = it, o.unstable_getCurrentPriorityLevel = xe, o.unstable_getFirstCallbackNode = fe, o.unstable_next = ne, o.unstable_pauseExecution = oe, o.unstable_requestPaint = mt, o.unstable_runWithPriority = ie, o.unstable_scheduleCallback = se, o.unstable_shouldYield = pt, o.unstable_wrapCallback = Z, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
37012
37012
|
}();
|
|
37013
37013
|
}(scheduler_development)), scheduler_development;
|
|
37014
37014
|
}
|
|
@@ -37241,7 +37241,7 @@ function requireReactReconciler_production_min() {
|
|
|
37241
37241
|
}
|
|
37242
37242
|
return null;
|
|
37243
37243
|
}
|
|
37244
|
-
var ee = Array.isArray, q = e.getPublicInstance, z = e.getRootHostContext, B = e.getChildHostContext, I = e.prepareForCommit, U = e.resetAfterCommit, V = e.createInstance, X = e.appendInitialChild, Q = e.finalizeInitialChildren, J = e.prepareUpdate, ie = e.shouldSetTextContent, ne = e.createTextInstance, Z = e.scheduleTimeout, se = e.cancelTimeout, oe = e.noTimeout, de = e.isPrimaryRenderer, fe = e.supportsMutation, ce = e.supportsPersistence, xe = e.supportsHydration, Oe = e.getInstanceFromNode, Re = e.preparePortalMount, Ve = e.getCurrentEventPriority, Be = e.detachDeletedInstance, qe = e.supportsMicrotasks,
|
|
37244
|
+
var ee = Array.isArray, q = e.getPublicInstance, z = e.getRootHostContext, B = e.getChildHostContext, I = e.prepareForCommit, U = e.resetAfterCommit, V = e.createInstance, X = e.appendInitialChild, Q = e.finalizeInitialChildren, J = e.prepareUpdate, ie = e.shouldSetTextContent, ne = e.createTextInstance, Z = e.scheduleTimeout, se = e.cancelTimeout, oe = e.noTimeout, de = e.isPrimaryRenderer, fe = e.supportsMutation, ce = e.supportsPersistence, xe = e.supportsHydration, Oe = e.getInstanceFromNode, Re = e.preparePortalMount, Ve = e.getCurrentEventPriority, Be = e.detachDeletedInstance, qe = e.supportsMicrotasks, pt = e.scheduleMicrotask, yt = e.supportsTestSelectors, it = e.findFiberRoot, ht = e.getBoundingRect, er = e.getTextContent, Ot = e.isHiddenSubtree, _t = e.matchAccessibilityRole, kt = e.setFocusIfFocusable, Ft = e.setupIntersectionObserver, Ke = e.appendChild, mt = e.appendChildToContainer, ut = e.commitTextUpdate, he = e.commitMount, pe = e.commitUpdate, ye = e.insertBefore, Ce = e.insertInContainerBefore, Le = e.removeChild, We = e.removeChildFromContainer, je = e.resetTextContent, $e = e.hideInstance, jt = e.hideTextInstance, Mt = e.unhideInstance, ct = e.unhideTextInstance, vr = e.clearContainer, Wr = e.cloneInstance, ze = e.createContainerChildSet, Me = e.appendChildToContainerChildSet, dt = e.finalizeContainerChildren, bt = e.replaceContainerChildren, st = e.cloneHiddenInstance, It = e.cloneHiddenTextInstance, ir = e.canHydrateInstance, Yr = e.canHydrateTextInstance, Ui = e.canHydrateSuspenseInstance, ja = e.isSuspenseInstancePending, la = e.isSuspenseInstanceFallback, Gi = e.getSuspenseInstanceFallbackErrorDetails, kr = e.registerSuspenseInstanceRetry, ge = e.getNextHydratableSibling, He = e.getFirstHydratableChild, Je = e.getFirstHydratableChildWithinContainer, St = e.getFirstHydratableChildWithinSuspenseInstance, qt = e.hydrateInstance, Ht = e.hydrateTextInstance, Gt = e.hydrateSuspenseInstance, Ut = e.getNextHydratableInstanceAfterSuspenseInstance, Cr = e.commitHydratedContainer, fr = e.commitHydratedSuspenseInstance, hr = e.clearSuspenseBoundary, Tr = e.clearSuspenseBoundaryFromContainer, ua = e.shouldDeleteUnhydratedTailInstances, Ma = e.didNotMatchHydratedContainerTextInstance, di = e.didNotMatchHydratedTextInstance, Vl;
|
|
37245
37245
|
function cs(v) {
|
|
37246
37246
|
if (Vl === void 0)
|
|
37247
37247
|
try {
|
|
@@ -37594,7 +37594,7 @@ function requireReactReconciler_production_min() {
|
|
|
37594
37594
|
function Tc(v, b) {
|
|
37595
37595
|
switch (v.tag) {
|
|
37596
37596
|
case 5:
|
|
37597
|
-
return b =
|
|
37597
|
+
return b = ir(b, v.type, v.pendingProps), b !== null ? (v.stateNode = b, $n = v, ri = He(b), !0) : !1;
|
|
37598
37598
|
case 6:
|
|
37599
37599
|
return b = Yr(b, v.pendingProps), b !== null ? (v.stateNode = b, $n = v, ri = null, !0) : !1;
|
|
37600
37600
|
case 13:
|
|
@@ -37653,7 +37653,7 @@ function requireReactReconciler_production_min() {
|
|
|
37653
37653
|
throw Error(l(316));
|
|
37654
37654
|
if (v = v.memoizedState, v = v !== null ? v.dehydrated : null, !v)
|
|
37655
37655
|
throw Error(l(317));
|
|
37656
|
-
ri =
|
|
37656
|
+
ri = Ut(v);
|
|
37657
37657
|
} else
|
|
37658
37658
|
ri = $n ? ge(v.stateNode) : null;
|
|
37659
37659
|
return !0;
|
|
@@ -38245,7 +38245,7 @@ function requireReactReconciler_production_min() {
|
|
|
38245
38245
|
var v = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
|
|
38246
38246
|
return Gr === null ? yr.memoizedState = Gr = v : Gr = Gr.next = v, Gr;
|
|
38247
38247
|
}
|
|
38248
|
-
function
|
|
38248
|
+
function ar() {
|
|
38249
38249
|
if (Ar === null) {
|
|
38250
38250
|
var v = yr.alternate;
|
|
38251
38251
|
v = v !== null ? v.memoizedState : null;
|
|
@@ -38265,7 +38265,7 @@ function requireReactReconciler_production_min() {
|
|
|
38265
38265
|
return typeof b == "function" ? b(v) : b;
|
|
38266
38266
|
}
|
|
38267
38267
|
function Xo(v) {
|
|
38268
|
-
var b =
|
|
38268
|
+
var b = ar(), j = b.queue;
|
|
38269
38269
|
if (j === null)
|
|
38270
38270
|
throw Error(l(311));
|
|
38271
38271
|
j.lastRenderedReducer = v;
|
|
@@ -38308,7 +38308,7 @@ function requireReactReconciler_production_min() {
|
|
|
38308
38308
|
return [b.memoizedState, j.dispatch];
|
|
38309
38309
|
}
|
|
38310
38310
|
function gu(v) {
|
|
38311
|
-
var b =
|
|
38311
|
+
var b = ar(), j = b.queue;
|
|
38312
38312
|
if (j === null)
|
|
38313
38313
|
throw Error(l(311));
|
|
38314
38314
|
j.lastRenderedReducer = v;
|
|
@@ -38326,7 +38326,7 @@ function requireReactReconciler_production_min() {
|
|
|
38326
38326
|
function wc() {
|
|
38327
38327
|
}
|
|
38328
38328
|
function Nc(v, b) {
|
|
38329
|
-
var j = yr, $ =
|
|
38329
|
+
var j = yr, $ = ar(), K = b(), te = !hi($.memoizedState, K);
|
|
38330
38330
|
if (te && ($.memoizedState = K, tn = !0), $ = $.queue, to(Br.bind(null, j, $, v), [v]), $.getSnapshot !== b || te || Gr !== null && Gr.memoizedState.tag & 1) {
|
|
38331
38331
|
if (j.flags |= 2048, _i(9, Ue.bind(null, j, $, K, b), void 0, null), qr === null)
|
|
38332
38332
|
throw Error(l(349));
|
|
@@ -38367,14 +38367,14 @@ function requireReactReconciler_production_min() {
|
|
|
38367
38367
|
return v = { tag: v, create: b, destroy: j, deps: $, next: null }, b = yr.updateQueue, b === null ? (b = { lastEffect: null, stores: null }, yr.updateQueue = b, b.lastEffect = v.next = v) : (j = b.lastEffect, j === null ? b.lastEffect = v.next = v : ($ = j.next, j.next = v, v.next = $, b.lastEffect = v)), v;
|
|
38368
38368
|
}
|
|
38369
38369
|
function xi() {
|
|
38370
|
-
return
|
|
38370
|
+
return ar().memoizedState;
|
|
38371
38371
|
}
|
|
38372
38372
|
function va(v, b, j, $) {
|
|
38373
38373
|
var K = Bt();
|
|
38374
38374
|
yr.flags |= v, K.memoizedState = _i(1 | b, j, void 0, $ === void 0 ? null : $);
|
|
38375
38375
|
}
|
|
38376
38376
|
function Ki(v, b, j, $) {
|
|
38377
|
-
var K =
|
|
38377
|
+
var K = ar();
|
|
38378
38378
|
$ = $ === void 0 ? null : $;
|
|
38379
38379
|
var te = void 0;
|
|
38380
38380
|
if (Ar !== null) {
|
|
@@ -38414,13 +38414,13 @@ function requireReactReconciler_production_min() {
|
|
|
38414
38414
|
function ro() {
|
|
38415
38415
|
}
|
|
38416
38416
|
function tl(v, b) {
|
|
38417
|
-
var j =
|
|
38417
|
+
var j = ar();
|
|
38418
38418
|
b = b === void 0 ? null : b;
|
|
38419
38419
|
var $ = j.memoizedState;
|
|
38420
38420
|
return $ !== null && b !== null && Ko(b, $[1]) ? $[0] : (j.memoizedState = [v, b], v);
|
|
38421
38421
|
}
|
|
38422
38422
|
function rl(v, b) {
|
|
38423
|
-
var j =
|
|
38423
|
+
var j = ar();
|
|
38424
38424
|
b = b === void 0 ? null : b;
|
|
38425
38425
|
var $ = j.memoizedState;
|
|
38426
38426
|
return $ !== null && b !== null && Ko(b, $[1]) ? $[0] : (v = v(), j.memoizedState = [v, b], v);
|
|
@@ -38440,7 +38440,7 @@ function requireReactReconciler_production_min() {
|
|
|
38440
38440
|
}
|
|
38441
38441
|
}
|
|
38442
38442
|
function il() {
|
|
38443
|
-
return
|
|
38443
|
+
return ar().memoizedState;
|
|
38444
38444
|
}
|
|
38445
38445
|
function yu(v, b, j) {
|
|
38446
38446
|
var $ = ln(v);
|
|
@@ -38557,11 +38557,11 @@ function requireReactReconciler_production_min() {
|
|
|
38557
38557
|
},
|
|
38558
38558
|
useDebugValue: ro,
|
|
38559
38559
|
useDeferredValue: function(v) {
|
|
38560
|
-
var b =
|
|
38560
|
+
var b = ar();
|
|
38561
38561
|
return nl(b, Ar.memoizedState, v);
|
|
38562
38562
|
},
|
|
38563
38563
|
useTransition: function() {
|
|
38564
|
-
var v = Xo(kn)[0], b =
|
|
38564
|
+
var v = Xo(kn)[0], b = ar().memoizedState;
|
|
38565
38565
|
return [v, b];
|
|
38566
38566
|
},
|
|
38567
38567
|
useMutableSource: wc,
|
|
@@ -38571,10 +38571,10 @@ function requireReactReconciler_production_min() {
|
|
|
38571
38571
|
}, Eu = { readContext: _n, useCallback: tl, useContext: _n, useEffect: to, useImperativeHandle: el, useInsertionEffect: Qo, useLayoutEffect: Jo, useMemo: rl, useReducer: gu, useRef: xi, useState: function() {
|
|
38572
38572
|
return gu(kn);
|
|
38573
38573
|
}, useDebugValue: ro, useDeferredValue: function(v) {
|
|
38574
|
-
var b =
|
|
38574
|
+
var b = ar();
|
|
38575
38575
|
return Ar === null ? b.memoizedState = v : nl(b, Ar.memoizedState, v);
|
|
38576
38576
|
}, useTransition: function() {
|
|
38577
|
-
var v = gu(kn)[0], b =
|
|
38577
|
+
var v = gu(kn)[0], b = ar().memoizedState;
|
|
38578
38578
|
return [v, b];
|
|
38579
38579
|
}, useMutableSource: wc, useSyncExternalStore: Nc, useId: il, unstable_isNewReconciler: !1 };
|
|
38580
38580
|
function ya(v, b) {
|
|
@@ -39001,7 +39001,7 @@ Error generating stack: ` + te.message + `
|
|
|
39001
39001
|
var te = K.stateNode;
|
|
39002
39002
|
j && $ && (te = st(te, K.type, K.memoizedProps, K)), X(v, te);
|
|
39003
39003
|
} else if (K.tag === 6)
|
|
39004
|
-
te = K.stateNode, j && $ && (te =
|
|
39004
|
+
te = K.stateNode, j && $ && (te = It(te, K.memoizedProps, K)), X(v, te);
|
|
39005
39005
|
else if (K.tag !== 4) {
|
|
39006
39006
|
if (K.tag === 22 && K.memoizedState !== null)
|
|
39007
39007
|
te = K.child, te !== null && (te.return = K), ws(v, K, !0, !0);
|
|
@@ -39026,7 +39026,7 @@ Error generating stack: ` + te.message + `
|
|
|
39026
39026
|
var te = K.stateNode;
|
|
39027
39027
|
j && $ && (te = st(te, K.type, K.memoizedProps, K)), Me(v, te);
|
|
39028
39028
|
} else if (K.tag === 6)
|
|
39029
|
-
te = K.stateNode, j && $ && (te =
|
|
39029
|
+
te = K.stateNode, j && $ && (te = It(te, K.memoizedProps, K)), Me(v, te);
|
|
39030
39030
|
else if (K.tag !== 4) {
|
|
39031
39031
|
if (K.tag === 22 && K.memoizedState !== null)
|
|
39032
39032
|
te = K.child, te !== null && (te.return = K), Os(v, K, !0, !0);
|
|
@@ -39050,7 +39050,7 @@ Error generating stack: ` + te.message + `
|
|
|
39050
39050
|
if (!lo(v, b)) {
|
|
39051
39051
|
v = j.containerInfo;
|
|
39052
39052
|
var $ = ze(v);
|
|
39053
|
-
Os($, b, !1, !1), j.pendingChildren = $, Ct(b),
|
|
39053
|
+
Os($, b, !1, !1), j.pendingChildren = $, Ct(b), dt(v, $);
|
|
39054
39054
|
}
|
|
39055
39055
|
}, dl = function(v, b, j, $, K) {
|
|
39056
39056
|
var te = v.stateNode, ue = v.memoizedProps;
|
|
@@ -40035,7 +40035,7 @@ Error generating stack: ` + te.message + `
|
|
|
40035
40035
|
j !== null && _c(j), v.callbackNode = null, v.callbackPriority = 0;
|
|
40036
40036
|
else if (b = $ & -$, v.callbackPriority !== b) {
|
|
40037
40037
|
if (j != null && _c(j), b === 1)
|
|
40038
|
-
v.tag === 0 ? Cf(Ea.bind(null, v)) : Sc(Ea.bind(null, v)), qe ?
|
|
40038
|
+
v.tag === 0 ? Cf(Ea.bind(null, v)) : Sc(Ea.bind(null, v)), qe ? pt(function() {
|
|
40039
40039
|
!($t & 6) && pi();
|
|
40040
40040
|
}) : Zl(eu, pi), j = null;
|
|
40041
40041
|
else {
|
|
@@ -41007,7 +41007,7 @@ Error generating stack: ` + te.message + `
|
|
|
41007
41007
|
throw Error(l(363));
|
|
41008
41008
|
b = Ou(v, b), v = [];
|
|
41009
41009
|
for (var j = 0; j < b.length; j++)
|
|
41010
|
-
v.push(
|
|
41010
|
+
v.push(ht(b[j]));
|
|
41011
41011
|
for (b = v.length - 1; 0 < b; b--) {
|
|
41012
41012
|
j = v[b];
|
|
41013
41013
|
for (var $ = j.x, K = $ + j.width, te = j.y, ue = te + j.height, _e = b - 1; 0 <= _e; _e--)
|
|
@@ -41180,7 +41180,7 @@ function requireReactReconciler_development() {
|
|
|
41180
41180
|
function g(s, d) {
|
|
41181
41181
|
s._reactInternals = d;
|
|
41182
41182
|
}
|
|
41183
|
-
var _ = !1, p = !1, x = !1, C = !1, T = !1, S = !0, A = !0, R = !0, P = 0, w = 1, O = 2, k = 3, L = 4, F = 5, G = 6, H = 7, W = 8, ee = 9, q = 10, z = 11, B = 12, I = 13, U = 14, V = 15, X = 16, Q = 17, J = 18, ie = 19, ne = 21, Z = 22, se = 23, oe = 24, de = 25, fe = Symbol.for("react.element"), ce = Symbol.for("react.portal"), xe = Symbol.for("react.fragment"), Oe = Symbol.for("react.strict_mode"), Re = Symbol.for("react.profiler"), Ve = Symbol.for("react.provider"), Be = Symbol.for("react.context"), qe = Symbol.for("react.forward_ref"),
|
|
41183
|
+
var _ = !1, p = !1, x = !1, C = !1, T = !1, S = !0, A = !0, R = !0, P = 0, w = 1, O = 2, k = 3, L = 4, F = 5, G = 6, H = 7, W = 8, ee = 9, q = 10, z = 11, B = 12, I = 13, U = 14, V = 15, X = 16, Q = 17, J = 18, ie = 19, ne = 21, Z = 22, se = 23, oe = 24, de = 25, fe = Symbol.for("react.element"), ce = Symbol.for("react.portal"), xe = Symbol.for("react.fragment"), Oe = Symbol.for("react.strict_mode"), Re = Symbol.for("react.profiler"), Ve = Symbol.for("react.provider"), Be = Symbol.for("react.context"), qe = Symbol.for("react.forward_ref"), pt = Symbol.for("react.suspense"), yt = Symbol.for("react.suspense_list"), it = Symbol.for("react.memo"), ht = Symbol.for("react.lazy"), er = Symbol.for("react.scope"), Ot = Symbol.for("react.debug_trace_mode"), _t = Symbol.for("react.offscreen"), kt = Symbol.for("react.legacy_hidden"), Ft = Symbol.for("react.cache"), Ke = Symbol.for("react.tracing_marker"), mt = Symbol.iterator, ut = "@@iterator";
|
|
41184
41184
|
function he(s) {
|
|
41185
41185
|
if (s === null || typeof s != "object")
|
|
41186
41186
|
return null;
|
|
@@ -41213,7 +41213,7 @@ function requireReactReconciler_development() {
|
|
|
41213
41213
|
return "Profiler";
|
|
41214
41214
|
case Oe:
|
|
41215
41215
|
return "StrictMode";
|
|
41216
|
-
case
|
|
41216
|
+
case pt:
|
|
41217
41217
|
return "Suspense";
|
|
41218
41218
|
case yt:
|
|
41219
41219
|
return "SuspenseList";
|
|
@@ -41231,7 +41231,7 @@ function requireReactReconciler_development() {
|
|
|
41231
41231
|
case it:
|
|
41232
41232
|
var D = s.displayName || null;
|
|
41233
41233
|
return D !== null ? D : Ce(s.type) || "Memo";
|
|
41234
|
-
case
|
|
41234
|
+
case ht: {
|
|
41235
41235
|
var M = s, Y = M._payload, re = M._init;
|
|
41236
41236
|
try {
|
|
41237
41237
|
return Ce(re(Y));
|
|
@@ -41328,7 +41328,7 @@ function requireReactReconciler_development() {
|
|
|
41328
41328
|
), Me = (
|
|
41329
41329
|
/* */
|
|
41330
41330
|
128
|
|
41331
|
-
),
|
|
41331
|
+
), dt = (
|
|
41332
41332
|
/* */
|
|
41333
41333
|
256
|
|
41334
41334
|
), bt = (
|
|
@@ -41337,10 +41337,10 @@ function requireReactReconciler_development() {
|
|
|
41337
41337
|
), st = (
|
|
41338
41338
|
/* */
|
|
41339
41339
|
1024
|
|
41340
|
-
),
|
|
41340
|
+
), It = (
|
|
41341
41341
|
/* */
|
|
41342
41342
|
2048
|
|
41343
|
-
),
|
|
41343
|
+
), ir = (
|
|
41344
41344
|
/* */
|
|
41345
41345
|
4096
|
|
41346
41346
|
), Yr = (
|
|
@@ -41349,7 +41349,7 @@ function requireReactReconciler_development() {
|
|
|
41349
41349
|
), Ui = (
|
|
41350
41350
|
/* */
|
|
41351
41351
|
16384
|
|
41352
|
-
), ja =
|
|
41352
|
+
), ja = It | ct | ze | bt | st | Ui, la = (
|
|
41353
41353
|
/* */
|
|
41354
41354
|
32767
|
|
41355
41355
|
), Gi = (
|
|
@@ -41379,11 +41379,11 @@ function requireReactReconciler_development() {
|
|
|
41379
41379
|
), Gt = (
|
|
41380
41380
|
/* */
|
|
41381
41381
|
33554432
|
|
41382
|
-
),
|
|
41382
|
+
), Ut = (
|
|
41383
41383
|
// TODO: Remove Update flag from before mutation phase by re-landing Visibility
|
|
41384
41384
|
// flag logic (see #20043)
|
|
41385
41385
|
ct | st | 0
|
|
41386
|
-
), Cr = Mt | ct | vr | Wr | bt |
|
|
41386
|
+
), Cr = Mt | ct | vr | Wr | bt | ir | Yr, fr = ct | ze | bt | Yr, hr = It | vr, Tr = St | qt | Je, ua = a.ReactCurrentOwner;
|
|
41387
41387
|
function Ma(s) {
|
|
41388
41388
|
var d = s, N = s;
|
|
41389
41389
|
if (s.alternate)
|
|
@@ -41392,7 +41392,7 @@ function requireReactReconciler_development() {
|
|
|
41392
41392
|
else {
|
|
41393
41393
|
var D = d;
|
|
41394
41394
|
do
|
|
41395
|
-
d = D, (d.flags & (Mt |
|
|
41395
|
+
d = D, (d.flags & (Mt | ir)) !== $e && (N = d.return), D = d.return;
|
|
41396
41396
|
while (D);
|
|
41397
41397
|
}
|
|
41398
41398
|
return d.tag === k ? N : null;
|
|
@@ -41693,7 +41693,7 @@ function requireReactReconciler_development() {
|
|
|
41693
41693
|
if (typeof s == "string")
|
|
41694
41694
|
return Vi(s);
|
|
41695
41695
|
switch (s) {
|
|
41696
|
-
case
|
|
41696
|
+
case pt:
|
|
41697
41697
|
return Vi("Suspense");
|
|
41698
41698
|
case yt:
|
|
41699
41699
|
return Vi("SuspenseList");
|
|
@@ -41704,7 +41704,7 @@ function requireReactReconciler_development() {
|
|
|
41704
41704
|
return Wo(s.render);
|
|
41705
41705
|
case it:
|
|
41706
41706
|
return $a(s.type, d, N);
|
|
41707
|
-
case
|
|
41707
|
+
case ht: {
|
|
41708
41708
|
var D = s, M = D._payload, Y = D._init;
|
|
41709
41709
|
try {
|
|
41710
41710
|
return $a(Y(M), d, N);
|
|
@@ -41882,7 +41882,7 @@ function requireReactReconciler_development() {
|
|
|
41882
41882
|
), Bt = (
|
|
41883
41883
|
/* */
|
|
41884
41884
|
2
|
|
41885
|
-
),
|
|
41885
|
+
), ar = (
|
|
41886
41886
|
/* */
|
|
41887
41887
|
8
|
|
41888
41888
|
), kn = (
|
|
@@ -42766,7 +42766,7 @@ function requireReactReconciler_development() {
|
|
|
42766
42766
|
}
|
|
42767
42767
|
}
|
|
42768
42768
|
function vo(s, d) {
|
|
42769
|
-
d.flags = d.flags & ~
|
|
42769
|
+
d.flags = d.flags & ~ir | Mt, Di(s, d);
|
|
42770
42770
|
}
|
|
42771
42771
|
function Ta(s, d) {
|
|
42772
42772
|
switch (s.tag) {
|
|
@@ -43014,7 +43014,7 @@ Error generating stack: ` + D.message + `
|
|
|
43014
43014
|
{
|
|
43015
43015
|
var tt = function(s) {
|
|
43016
43016
|
for (var d = null, N = s; N !== null; )
|
|
43017
|
-
N.mode &
|
|
43017
|
+
N.mode & ar && (d = N), N = N.return;
|
|
43018
43018
|
return d;
|
|
43019
43019
|
}, gt = function(s) {
|
|
43020
43020
|
var d = [];
|
|
@@ -43024,7 +43024,7 @@ Error generating stack: ` + D.message + `
|
|
|
43024
43024
|
}, Dt = [], wt = [], Kt = [], Rr = [], Xt = [], oi = [], is = /* @__PURE__ */ new Set();
|
|
43025
43025
|
Ne.recordUnsafeLifecycleWarnings = function(s, d) {
|
|
43026
43026
|
is.has(s.type) || (typeof d.componentWillMount == "function" && // Don't warn about react-lifecycles-compat polyfilled components.
|
|
43027
|
-
d.componentWillMount.__suppressDeprecationWarning !== !0 && Dt.push(s), s.mode &
|
|
43027
|
+
d.componentWillMount.__suppressDeprecationWarning !== !0 && Dt.push(s), s.mode & ar && typeof d.UNSAFE_componentWillMount == "function" && wt.push(s), typeof d.componentWillReceiveProps == "function" && d.componentWillReceiveProps.__suppressDeprecationWarning !== !0 && Kt.push(s), s.mode & ar && typeof d.UNSAFE_componentWillReceiveProps == "function" && Rr.push(s), typeof d.componentWillUpdate == "function" && d.componentWillUpdate.__suppressDeprecationWarning !== !0 && Xt.push(s), s.mode & ar && typeof d.UNSAFE_componentWillUpdate == "function" && oi.push(s));
|
|
43028
43028
|
}, Ne.flushPendingUnsafeLifecycleWarnings = function() {
|
|
43029
43029
|
var s = /* @__PURE__ */ new Set();
|
|
43030
43030
|
Dt.length > 0 && (Dt.forEach(function(Pe) {
|
|
@@ -43325,9 +43325,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43325
43325
|
function ld(s, d) {
|
|
43326
43326
|
s.lanes = Ct(s.lanes, d);
|
|
43327
43327
|
var N = s.alternate;
|
|
43328
|
-
N !== null && (N.lanes = Ct(N.lanes, d)), N === null && (s.flags & (Mt |
|
|
43328
|
+
N !== null && (N.lanes = Ct(N.lanes, d)), N === null && (s.flags & (Mt | ir)) !== $e && Qg(s);
|
|
43329
43329
|
for (var D = s, M = s.return; M !== null; )
|
|
43330
|
-
M.childLanes = Ct(M.childLanes, d), N = M.alternate, N !== null ? N.childLanes = Ct(N.childLanes, d) : (M.flags & (Mt |
|
|
43330
|
+
M.childLanes = Ct(M.childLanes, d), N = M.alternate, N !== null ? N.childLanes = Ct(N.childLanes, d) : (M.flags & (Mt | ir)) !== $e && Qg(s), D = M, M = M.return;
|
|
43331
43331
|
if (D.tag === k) {
|
|
43332
43332
|
var Y = D.stateNode;
|
|
43333
43333
|
return Y;
|
|
@@ -43440,7 +43440,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43440
43440
|
Yp();
|
|
43441
43441
|
var ae = re.call(Y, D, M);
|
|
43442
43442
|
{
|
|
43443
|
-
if (s.mode &
|
|
43443
|
+
if (s.mode & ar) {
|
|
43444
43444
|
Dr(!0);
|
|
43445
43445
|
try {
|
|
43446
43446
|
re.call(Y, D, M);
|
|
@@ -43461,7 +43461,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43461
43461
|
if (typeof le == "function") {
|
|
43462
43462
|
Yp(), me = le.call(Y, D, M);
|
|
43463
43463
|
{
|
|
43464
|
-
if (s.mode &
|
|
43464
|
+
if (s.mode & ar) {
|
|
43465
43465
|
Dr(!0);
|
|
43466
43466
|
try {
|
|
43467
43467
|
le.call(Y, D, M);
|
|
@@ -43536,8 +43536,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43536
43536
|
if (Et = Et.next, Et === null) {
|
|
43537
43537
|
if (ae = M.shared.pending, ae === null)
|
|
43538
43538
|
break;
|
|
43539
|
-
var
|
|
43540
|
-
|
|
43539
|
+
var ft = ae, nt = ft.next;
|
|
43540
|
+
ft.next = null, Et = nt, M.lastBaseUpdate = ft, M.shared.pending = null;
|
|
43541
43541
|
}
|
|
43542
43542
|
} while (!0);
|
|
43543
43543
|
Pt === null && (Ie = Fe), M.baseState = Ie, M.firstBaseUpdate = vt, M.lastBaseUpdate = Pt;
|
|
@@ -43596,7 +43596,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43596
43596
|
function rh(s, d, N, D) {
|
|
43597
43597
|
var M = s.memoizedState, Y = N(D, M);
|
|
43598
43598
|
{
|
|
43599
|
-
if (s.mode &
|
|
43599
|
+
if (s.mode & ar) {
|
|
43600
43600
|
Dr(!0);
|
|
43601
43601
|
try {
|
|
43602
43602
|
Y = N(D, M);
|
|
@@ -43638,7 +43638,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43638
43638
|
if (typeof ae.shouldComponentUpdate == "function") {
|
|
43639
43639
|
var le = ae.shouldComponentUpdate(D, Y, re);
|
|
43640
43640
|
{
|
|
43641
|
-
if (s.mode &
|
|
43641
|
+
if (s.mode & ar) {
|
|
43642
43642
|
Dr(!0);
|
|
43643
43643
|
try {
|
|
43644
43644
|
le = ae.shouldComponentUpdate(D, Y, re);
|
|
@@ -43687,7 +43687,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43687
43687
|
D = me != null, Y = D ? Yi(s, M) : On;
|
|
43688
43688
|
}
|
|
43689
43689
|
var ve = new d(N, Y);
|
|
43690
|
-
if (s.mode &
|
|
43690
|
+
if (s.mode & ar) {
|
|
43691
43691
|
Dr(!0);
|
|
43692
43692
|
try {
|
|
43693
43693
|
ve = new d(N, Y);
|
|
@@ -43750,7 +43750,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, vt, Pt, Fe !== null ? `
|
|
|
43750
43750
|
var ae = Ce(d) || "Component";
|
|
43751
43751
|
Zf.has(ae) || (Zf.add(ae), c("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", ae));
|
|
43752
43752
|
}
|
|
43753
|
-
s.mode &
|
|
43753
|
+
s.mode & ar && Ne.recordLegacyContextWarning(s, M), Ne.recordUnsafeLifecycleWarnings(s, M);
|
|
43754
43754
|
}
|
|
43755
43755
|
M.state = s.memoizedState;
|
|
43756
43756
|
var le = d.getDerivedStateFromProps;
|
|
@@ -43834,7 +43834,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, vt, Pt, Fe !== null ? `
|
|
|
43834
43834
|
function Uu(s, d, N) {
|
|
43835
43835
|
var D = N.ref;
|
|
43836
43836
|
if (D !== null && typeof D != "function" && typeof D != "object") {
|
|
43837
|
-
if ((s.mode &
|
|
43837
|
+
if ((s.mode & ar || T) && // We warn in ReactElement.js if owner and self are equal for string refs
|
|
43838
43838
|
// because these cannot be automatically converted to an arrow function
|
|
43839
43839
|
// using a codemod. Therefore, we don't have to warn about string refs again.
|
|
43840
43840
|
!(N._owner && N._self && N._owner.stateNode !== N._self)) {
|
|
@@ -43918,8 +43918,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
43918
43918
|
return Te.flags |= He, ke;
|
|
43919
43919
|
var Xe = Te.alternate;
|
|
43920
43920
|
if (Xe !== null) {
|
|
43921
|
-
var
|
|
43922
|
-
return
|
|
43921
|
+
var ft = Xe.index;
|
|
43922
|
+
return ft < ke ? (Te.flags |= Mt, ke) : ft;
|
|
43923
43923
|
} else
|
|
43924
43924
|
return Te.flags |= Mt, ke;
|
|
43925
43925
|
}
|
|
@@ -43928,23 +43928,23 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
43928
43928
|
}
|
|
43929
43929
|
function ae(Te, ke, be, Xe) {
|
|
43930
43930
|
if (ke === null || ke.tag !== G) {
|
|
43931
|
-
var
|
|
43932
|
-
return
|
|
43931
|
+
var ft = Up(be, Te.mode, Xe);
|
|
43932
|
+
return ft.return = Te, ft;
|
|
43933
43933
|
} else {
|
|
43934
43934
|
var nt = M(ke, be);
|
|
43935
43935
|
return nt.return = Te, nt;
|
|
43936
43936
|
}
|
|
43937
43937
|
}
|
|
43938
43938
|
function le(Te, ke, be, Xe) {
|
|
43939
|
-
var
|
|
43940
|
-
if (
|
|
43939
|
+
var ft = be.type;
|
|
43940
|
+
if (ft === xe)
|
|
43941
43941
|
return ve(Te, ke, be.props.children, Xe, be.key);
|
|
43942
|
-
if (ke !== null && (ke.elementType ===
|
|
43942
|
+
if (ke !== null && (ke.elementType === ft || // Keep this check inline so it only runs on the false path:
|
|
43943
43943
|
tv(ke, be) || // Lazy types should reconcile their resolved type.
|
|
43944
43944
|
// We need to do this after the Hot Reloading check above,
|
|
43945
43945
|
// because hot reloading has different semantics than prod because
|
|
43946
43946
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
43947
|
-
typeof
|
|
43947
|
+
typeof ft == "object" && ft !== null && ft.$$typeof === ht && cm(ft) === ke.type)) {
|
|
43948
43948
|
var nt = M(ke, be.props);
|
|
43949
43949
|
return nt.ref = Uu(Te, ke, be), nt.return = Te, nt._debugSource = be._source, nt._debugOwner = be._owner, nt;
|
|
43950
43950
|
}
|
|
@@ -43953,16 +43953,16 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
43953
43953
|
}
|
|
43954
43954
|
function me(Te, ke, be, Xe) {
|
|
43955
43955
|
if (ke === null || ke.tag !== L || ke.stateNode.containerInfo !== be.containerInfo || ke.stateNode.implementation !== be.implementation) {
|
|
43956
|
-
var
|
|
43957
|
-
return
|
|
43956
|
+
var ft = Gp(be, Te.mode, Xe);
|
|
43957
|
+
return ft.return = Te, ft;
|
|
43958
43958
|
} else {
|
|
43959
43959
|
var nt = M(ke, be.children || []);
|
|
43960
43960
|
return nt.return = Te, nt;
|
|
43961
43961
|
}
|
|
43962
43962
|
}
|
|
43963
|
-
function ve(Te, ke, be, Xe,
|
|
43963
|
+
function ve(Te, ke, be, Xe, ft) {
|
|
43964
43964
|
if (ke === null || ke.tag !== H) {
|
|
43965
|
-
var nt = Ys(be, Te.mode, Xe,
|
|
43965
|
+
var nt = Ys(be, Te.mode, Xe, ft);
|
|
43966
43966
|
return nt.return = Te, nt;
|
|
43967
43967
|
} else {
|
|
43968
43968
|
var Jt = M(ke, be);
|
|
@@ -43977,14 +43977,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
43977
43977
|
if (typeof ke == "object" && ke !== null) {
|
|
43978
43978
|
switch (ke.$$typeof) {
|
|
43979
43979
|
case fe: {
|
|
43980
|
-
var
|
|
43981
|
-
return
|
|
43980
|
+
var ft = Ip(ke, Te.mode, be);
|
|
43981
|
+
return ft.ref = Uu(Te, null, ke), ft.return = Te, ft;
|
|
43982
43982
|
}
|
|
43983
43983
|
case ce: {
|
|
43984
43984
|
var nt = Gp(ke, Te.mode, be);
|
|
43985
43985
|
return nt.return = Te, nt;
|
|
43986
43986
|
}
|
|
43987
|
-
case
|
|
43987
|
+
case ht: {
|
|
43988
43988
|
var Jt = ke._payload, Nt = ke._init;
|
|
43989
43989
|
return Ee(Te, Nt(Jt), be);
|
|
43990
43990
|
}
|
|
@@ -43998,48 +43998,48 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
43998
43998
|
return typeof ke == "function" && vd(Te), null;
|
|
43999
43999
|
}
|
|
44000
44000
|
function Pe(Te, ke, be, Xe) {
|
|
44001
|
-
var
|
|
44001
|
+
var ft = ke !== null ? ke.key : null;
|
|
44002
44002
|
if (typeof be == "string" && be !== "" || typeof be == "number")
|
|
44003
|
-
return
|
|
44003
|
+
return ft !== null ? null : ae(Te, ke, "" + be, Xe);
|
|
44004
44004
|
if (typeof be == "object" && be !== null) {
|
|
44005
44005
|
switch (be.$$typeof) {
|
|
44006
44006
|
case fe:
|
|
44007
|
-
return be.key ===
|
|
44007
|
+
return be.key === ft ? le(Te, ke, be, Xe) : null;
|
|
44008
44008
|
case ce:
|
|
44009
|
-
return be.key ===
|
|
44010
|
-
case
|
|
44009
|
+
return be.key === ft ? me(Te, ke, be, Xe) : null;
|
|
44010
|
+
case ht: {
|
|
44011
44011
|
var nt = be._payload, Jt = be._init;
|
|
44012
44012
|
return Pe(Te, ke, Jt(nt), Xe);
|
|
44013
44013
|
}
|
|
44014
44014
|
}
|
|
44015
44015
|
if (Vt(be) || he(be))
|
|
44016
|
-
return
|
|
44016
|
+
return ft !== null ? null : ve(Te, ke, be, Xe, null);
|
|
44017
44017
|
gd(Te, be);
|
|
44018
44018
|
}
|
|
44019
44019
|
return typeof be == "function" && vd(Te), null;
|
|
44020
44020
|
}
|
|
44021
|
-
function Fe(Te, ke, be, Xe,
|
|
44021
|
+
function Fe(Te, ke, be, Xe, ft) {
|
|
44022
44022
|
if (typeof Xe == "string" && Xe !== "" || typeof Xe == "number") {
|
|
44023
44023
|
var nt = Te.get(be) || null;
|
|
44024
|
-
return ae(ke, nt, "" + Xe,
|
|
44024
|
+
return ae(ke, nt, "" + Xe, ft);
|
|
44025
44025
|
}
|
|
44026
44026
|
if (typeof Xe == "object" && Xe !== null) {
|
|
44027
44027
|
switch (Xe.$$typeof) {
|
|
44028
44028
|
case fe: {
|
|
44029
44029
|
var Jt = Te.get(Xe.key === null ? be : Xe.key) || null;
|
|
44030
|
-
return le(ke, Jt, Xe,
|
|
44030
|
+
return le(ke, Jt, Xe, ft);
|
|
44031
44031
|
}
|
|
44032
44032
|
case ce: {
|
|
44033
44033
|
var Nt = Te.get(Xe.key === null ? be : Xe.key) || null;
|
|
44034
|
-
return me(ke, Nt, Xe,
|
|
44034
|
+
return me(ke, Nt, Xe, ft);
|
|
44035
44035
|
}
|
|
44036
|
-
case
|
|
44036
|
+
case ht:
|
|
44037
44037
|
var nr = Xe._payload, Yt = Xe._init;
|
|
44038
|
-
return Fe(Te, ke, be, Yt(nr),
|
|
44038
|
+
return Fe(Te, ke, be, Yt(nr), ft);
|
|
44039
44039
|
}
|
|
44040
44040
|
if (Vt(Xe) || he(Xe)) {
|
|
44041
44041
|
var Er = Te.get(be) || null;
|
|
44042
|
-
return ve(ke, Er, Xe,
|
|
44042
|
+
return ve(ke, Er, Xe, ft, null);
|
|
44043
44043
|
}
|
|
44044
44044
|
gd(ke, Xe);
|
|
44045
44045
|
}
|
|
@@ -44066,18 +44066,18 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44066
44066
|
}
|
|
44067
44067
|
c("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.", Xe);
|
|
44068
44068
|
break;
|
|
44069
|
-
case
|
|
44070
|
-
var
|
|
44071
|
-
Ge(nt(
|
|
44069
|
+
case ht:
|
|
44070
|
+
var ft = Te._payload, nt = Te._init;
|
|
44071
|
+
Ge(nt(ft), ke, be);
|
|
44072
44072
|
break;
|
|
44073
44073
|
}
|
|
44074
44074
|
}
|
|
44075
44075
|
return ke;
|
|
44076
44076
|
}
|
|
44077
44077
|
function Ie(Te, ke, be, Xe) {
|
|
44078
|
-
for (var
|
|
44078
|
+
for (var ft = null, nt = 0; nt < be.length; nt++) {
|
|
44079
44079
|
var Jt = be[nt];
|
|
44080
|
-
|
|
44080
|
+
ft = Ge(Jt, ft, Te);
|
|
44081
44081
|
}
|
|
44082
44082
|
for (var Nt = null, nr = null, Yt = ke, Er = 0, Rt = 0, Ir = null; Yt !== null && Rt < be.length; Rt++) {
|
|
44083
44083
|
Yt.index > Rt ? (Ir = Yt, Yt = null) : Ir = Yt.sibling;
|
|
@@ -44119,20 +44119,20 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44119
44119
|
return Nt;
|
|
44120
44120
|
}
|
|
44121
44121
|
function vt(Te, ke, be, Xe) {
|
|
44122
|
-
var
|
|
44123
|
-
if (typeof
|
|
44122
|
+
var ft = he(be);
|
|
44123
|
+
if (typeof ft != "function")
|
|
44124
44124
|
throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");
|
|
44125
44125
|
{
|
|
44126
44126
|
typeof Symbol == "function" && // $FlowFixMe Flow doesn't know about toStringTag
|
|
44127
|
-
be[Symbol.toStringTag] === "Generator" && (sh || c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."), sh = !0), be.entries ===
|
|
44128
|
-
var nt =
|
|
44127
|
+
be[Symbol.toStringTag] === "Generator" && (sh || c("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."), sh = !0), be.entries === ft && (ah || c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), ah = !0);
|
|
44128
|
+
var nt = ft.call(be);
|
|
44129
44129
|
if (nt)
|
|
44130
44130
|
for (var Jt = null, Nt = nt.next(); !Nt.done; Nt = nt.next()) {
|
|
44131
44131
|
var nr = Nt.value;
|
|
44132
44132
|
Jt = Ge(nr, Jt, Te);
|
|
44133
44133
|
}
|
|
44134
44134
|
}
|
|
44135
|
-
var Yt =
|
|
44135
|
+
var Yt = ft.call(be);
|
|
44136
44136
|
if (Yt == null)
|
|
44137
44137
|
throw new Error("An iterable object provided no iterator.");
|
|
44138
44138
|
for (var Er = null, Rt = null, Ir = ke, Gn = 0, wn = 0, Ri = null, Zn = Yt.next(); Ir !== null && !Zn.done; wn++, Zn = Yt.next()) {
|
|
@@ -44177,16 +44177,16 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44177
44177
|
function Pt(Te, ke, be, Xe) {
|
|
44178
44178
|
if (ke !== null && ke.tag === G) {
|
|
44179
44179
|
N(Te, ke.sibling);
|
|
44180
|
-
var
|
|
44181
|
-
return
|
|
44180
|
+
var ft = M(ke, be);
|
|
44181
|
+
return ft.return = Te, ft;
|
|
44182
44182
|
}
|
|
44183
44183
|
N(Te, ke);
|
|
44184
44184
|
var nt = Up(be, Te.mode, Xe);
|
|
44185
44185
|
return nt.return = Te, nt;
|
|
44186
44186
|
}
|
|
44187
44187
|
function Et(Te, ke, be, Xe) {
|
|
44188
|
-
for (var
|
|
44189
|
-
if (nt.key ===
|
|
44188
|
+
for (var ft = be.key, nt = ke; nt !== null; ) {
|
|
44189
|
+
if (nt.key === ft) {
|
|
44190
44190
|
var Jt = be.type;
|
|
44191
44191
|
if (Jt === xe) {
|
|
44192
44192
|
if (nt.tag === H) {
|
|
@@ -44199,7 +44199,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44199
44199
|
// We need to do this after the Hot Reloading check above,
|
|
44200
44200
|
// because hot reloading has different semantics than prod because
|
|
44201
44201
|
// it doesn't resuspend. So we can't let the call below suspend.
|
|
44202
|
-
typeof Jt == "object" && Jt !== null && Jt.$$typeof ===
|
|
44202
|
+
typeof Jt == "object" && Jt !== null && Jt.$$typeof === ht && cm(Jt) === nt.type) {
|
|
44203
44203
|
N(Te, nt.sibling);
|
|
44204
44204
|
var nr = M(nt, be.props);
|
|
44205
44205
|
return nr.ref = Uu(Te, nt, be), nr.return = Te, nr._debugSource = be._source, nr._debugOwner = be._owner, nr;
|
|
@@ -44219,8 +44219,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44219
44219
|
}
|
|
44220
44220
|
}
|
|
44221
44221
|
function dr(Te, ke, be, Xe) {
|
|
44222
|
-
for (var
|
|
44223
|
-
if (nt.key ===
|
|
44222
|
+
for (var ft = be.key, nt = ke; nt !== null; ) {
|
|
44223
|
+
if (nt.key === ft)
|
|
44224
44224
|
if (nt.tag === L && nt.stateNode.containerInfo === be.containerInfo && nt.stateNode.implementation === be.implementation) {
|
|
44225
44225
|
N(Te, nt.sibling);
|
|
44226
44226
|
var Jt = M(nt, be.children || []);
|
|
@@ -44237,14 +44237,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44237
44237
|
return Nt.return = Te, Nt;
|
|
44238
44238
|
}
|
|
44239
44239
|
function Zt(Te, ke, be, Xe) {
|
|
44240
|
-
var
|
|
44241
|
-
if (
|
|
44240
|
+
var ft = typeof be == "object" && be !== null && be.type === xe && be.key === null;
|
|
44241
|
+
if (ft && (be = be.props.children), typeof be == "object" && be !== null) {
|
|
44242
44242
|
switch (be.$$typeof) {
|
|
44243
44243
|
case fe:
|
|
44244
44244
|
return re(Et(Te, ke, be, Xe));
|
|
44245
44245
|
case ce:
|
|
44246
44246
|
return re(dr(Te, ke, be, Xe));
|
|
44247
|
-
case
|
|
44247
|
+
case ht:
|
|
44248
44248
|
var nt = be._payload, Jt = be._init;
|
|
44249
44249
|
return Zt(Te, ke, Jt(nt), Xe);
|
|
44250
44250
|
}
|
|
@@ -44385,7 +44385,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44385
44385
|
var rt = a.ReactCurrentDispatcher, Hu = a.ReactCurrentBatchConfig, vh, Ol;
|
|
44386
44386
|
vh = /* @__PURE__ */ new Set();
|
|
44387
44387
|
var So = Ue, cr = null, dn = null, fn = null, Sd = !1, Vu = !1, Wu = 0, qv = 0, Qv = 25, De = null, Fi = null, Bs = -1, yh = !1;
|
|
44388
|
-
function
|
|
44388
|
+
function sr() {
|
|
44389
44389
|
{
|
|
44390
44390
|
var s = De;
|
|
44391
44391
|
Fi === null ? Fi = [s] : Fi.push(s);
|
|
@@ -44467,7 +44467,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44467
44467
|
return Wu = 0, s;
|
|
44468
44468
|
}
|
|
44469
44469
|
function gm(s, d, N) {
|
|
44470
|
-
d.updateQueue = s.updateQueue, (d.mode & kn) !== Tt ? d.flags &= ~(Gt | Ht |
|
|
44470
|
+
d.updateQueue = s.updateQueue, (d.mode & kn) !== Tt ? d.flags &= ~(Gt | Ht | It | ct) : d.flags &= ~(It | ct), s.lanes = lo(s.lanes, N);
|
|
44471
44471
|
}
|
|
44472
44472
|
function vm() {
|
|
44473
44473
|
if (rt.current = Dd, Sd) {
|
|
@@ -44643,7 +44643,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44643
44643
|
value: Y,
|
|
44644
44644
|
getSnapshot: d
|
|
44645
44645
|
};
|
|
44646
|
-
return M.queue = me, Cd(Sm.bind(null, D, me, s), [s]), D.flags |=
|
|
44646
|
+
return M.queue = me, Cd(Sm.bind(null, D, me, s), [s]), D.flags |= It, Yu(un | Tn, xm.bind(null, D, me, Y, d), void 0, null), Y;
|
|
44647
44647
|
}
|
|
44648
44648
|
function Ed(s, d, N) {
|
|
44649
44649
|
var D = cr, M = ji(), Y = d();
|
|
@@ -44657,7 +44657,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44657
44657
|
if (Xu(Sm.bind(null, D, me, s), [s]), me.getSnapshot !== d || le || // Check if the susbcribe function changed. We can save some memory by
|
|
44658
44658
|
// checking whether we scheduled a subscription effect above.
|
|
44659
44659
|
fn !== null && fn.memoizedState.tag & un) {
|
|
44660
|
-
D.flags |=
|
|
44660
|
+
D.flags |= It, Yu(un | Tn, xm.bind(null, D, me, Y, d), void 0, null);
|
|
44661
44661
|
var ve = uf();
|
|
44662
44662
|
if (ve === null)
|
|
44663
44663
|
throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
|
|
@@ -44775,10 +44775,10 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
44775
44775
|
cr.flags |= s, M.memoizedState = Yu(un | d, N, re, Y);
|
|
44776
44776
|
}
|
|
44777
44777
|
function Cd(s, d) {
|
|
44778
|
-
return (cr.mode & kn) !== Tt ? Ku(Gt |
|
|
44778
|
+
return (cr.mode & kn) !== Tt ? Ku(Gt | It | qt, Tn, s, d) : Ku(It | qt, Tn, s, d);
|
|
44779
44779
|
}
|
|
44780
44780
|
function Xu(s, d) {
|
|
44781
|
-
return Rd(
|
|
44781
|
+
return Rd(It, Tn, s, d);
|
|
44782
44782
|
}
|
|
44783
44783
|
function Ph(s, d) {
|
|
44784
44784
|
return Ku(ct, Ra, s, d);
|
|
@@ -45032,25 +45032,25 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45032
45032
|
return Jr(s);
|
|
45033
45033
|
},
|
|
45034
45034
|
useCallback: function(s, d) {
|
|
45035
|
-
return De = "useCallback",
|
|
45035
|
+
return De = "useCallback", sr(), kl(d), Oh(s, d);
|
|
45036
45036
|
},
|
|
45037
45037
|
useContext: function(s) {
|
|
45038
|
-
return De = "useContext",
|
|
45038
|
+
return De = "useContext", sr(), Jr(s);
|
|
45039
45039
|
},
|
|
45040
45040
|
useEffect: function(s, d) {
|
|
45041
|
-
return De = "useEffect",
|
|
45041
|
+
return De = "useEffect", sr(), kl(d), Cd(s, d);
|
|
45042
45042
|
},
|
|
45043
45043
|
useImperativeHandle: function(s, d, N) {
|
|
45044
|
-
return De = "useImperativeHandle",
|
|
45044
|
+
return De = "useImperativeHandle", sr(), kl(N), Nh(s, d, N);
|
|
45045
45045
|
},
|
|
45046
45046
|
useInsertionEffect: function(s, d) {
|
|
45047
|
-
return De = "useInsertionEffect",
|
|
45047
|
+
return De = "useInsertionEffect", sr(), kl(d), Ph(s, d);
|
|
45048
45048
|
},
|
|
45049
45049
|
useLayoutEffect: function(s, d) {
|
|
45050
|
-
return De = "useLayoutEffect",
|
|
45050
|
+
return De = "useLayoutEffect", sr(), kl(d), wh(s, d);
|
|
45051
45051
|
},
|
|
45052
45052
|
useMemo: function(s, d) {
|
|
45053
|
-
De = "useMemo",
|
|
45053
|
+
De = "useMemo", sr(), kl(d);
|
|
45054
45054
|
var N = rt.current;
|
|
45055
45055
|
rt.current = Aa;
|
|
45056
45056
|
try {
|
|
@@ -45060,7 +45060,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45060
45060
|
}
|
|
45061
45061
|
},
|
|
45062
45062
|
useReducer: function(s, d, N) {
|
|
45063
|
-
De = "useReducer",
|
|
45063
|
+
De = "useReducer", sr();
|
|
45064
45064
|
var D = rt.current;
|
|
45065
45065
|
rt.current = Aa;
|
|
45066
45066
|
try {
|
|
@@ -45070,10 +45070,10 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45070
45070
|
}
|
|
45071
45071
|
},
|
|
45072
45072
|
useRef: function(s) {
|
|
45073
|
-
return De = "useRef",
|
|
45073
|
+
return De = "useRef", sr(), Ah(s);
|
|
45074
45074
|
},
|
|
45075
45075
|
useState: function(s) {
|
|
45076
|
-
De = "useState",
|
|
45076
|
+
De = "useState", sr();
|
|
45077
45077
|
var d = rt.current;
|
|
45078
45078
|
rt.current = Aa;
|
|
45079
45079
|
try {
|
|
@@ -45083,22 +45083,22 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45083
45083
|
}
|
|
45084
45084
|
},
|
|
45085
45085
|
useDebugValue: function(s, d) {
|
|
45086
|
-
return De = "useDebugValue",
|
|
45086
|
+
return De = "useDebugValue", sr(), void 0;
|
|
45087
45087
|
},
|
|
45088
45088
|
useDeferredValue: function(s) {
|
|
45089
|
-
return De = "useDeferredValue",
|
|
45089
|
+
return De = "useDeferredValue", sr(), Lh(s);
|
|
45090
45090
|
},
|
|
45091
45091
|
useTransition: function() {
|
|
45092
|
-
return De = "useTransition",
|
|
45092
|
+
return De = "useTransition", sr(), Dh();
|
|
45093
45093
|
},
|
|
45094
45094
|
useMutableSource: function(s, d, N) {
|
|
45095
|
-
return De = "useMutableSource",
|
|
45095
|
+
return De = "useMutableSource", sr(), void 0;
|
|
45096
45096
|
},
|
|
45097
45097
|
useSyncExternalStore: function(s, d, N) {
|
|
45098
|
-
return De = "useSyncExternalStore",
|
|
45098
|
+
return De = "useSyncExternalStore", sr(), Th(s, d, N);
|
|
45099
45099
|
},
|
|
45100
45100
|
useId: function() {
|
|
45101
|
-
return De = "useId",
|
|
45101
|
+
return De = "useId", sr(), Fh();
|
|
45102
45102
|
},
|
|
45103
45103
|
unstable_isNewReconciler: _
|
|
45104
45104
|
}, jm = {
|
|
@@ -45328,25 +45328,25 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45328
45328
|
return jh(), Jr(s);
|
|
45329
45329
|
},
|
|
45330
45330
|
useCallback: function(s, d) {
|
|
45331
|
-
return De = "useCallback", Lt(),
|
|
45331
|
+
return De = "useCallback", Lt(), sr(), Oh(s, d);
|
|
45332
45332
|
},
|
|
45333
45333
|
useContext: function(s) {
|
|
45334
|
-
return De = "useContext", Lt(),
|
|
45334
|
+
return De = "useContext", Lt(), sr(), Jr(s);
|
|
45335
45335
|
},
|
|
45336
45336
|
useEffect: function(s, d) {
|
|
45337
|
-
return De = "useEffect", Lt(),
|
|
45337
|
+
return De = "useEffect", Lt(), sr(), Cd(s, d);
|
|
45338
45338
|
},
|
|
45339
45339
|
useImperativeHandle: function(s, d, N) {
|
|
45340
|
-
return De = "useImperativeHandle", Lt(),
|
|
45340
|
+
return De = "useImperativeHandle", Lt(), sr(), Nh(s, d, N);
|
|
45341
45341
|
},
|
|
45342
45342
|
useInsertionEffect: function(s, d) {
|
|
45343
|
-
return De = "useInsertionEffect", Lt(),
|
|
45343
|
+
return De = "useInsertionEffect", Lt(), sr(), Ph(s, d);
|
|
45344
45344
|
},
|
|
45345
45345
|
useLayoutEffect: function(s, d) {
|
|
45346
|
-
return De = "useLayoutEffect", Lt(),
|
|
45346
|
+
return De = "useLayoutEffect", Lt(), sr(), wh(s, d);
|
|
45347
45347
|
},
|
|
45348
45348
|
useMemo: function(s, d) {
|
|
45349
|
-
De = "useMemo", Lt(),
|
|
45349
|
+
De = "useMemo", Lt(), sr();
|
|
45350
45350
|
var N = rt.current;
|
|
45351
45351
|
rt.current = Aa;
|
|
45352
45352
|
try {
|
|
@@ -45356,7 +45356,7 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45356
45356
|
}
|
|
45357
45357
|
},
|
|
45358
45358
|
useReducer: function(s, d, N) {
|
|
45359
|
-
De = "useReducer", Lt(),
|
|
45359
|
+
De = "useReducer", Lt(), sr();
|
|
45360
45360
|
var D = rt.current;
|
|
45361
45361
|
rt.current = Aa;
|
|
45362
45362
|
try {
|
|
@@ -45366,10 +45366,10 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45366
45366
|
}
|
|
45367
45367
|
},
|
|
45368
45368
|
useRef: function(s) {
|
|
45369
|
-
return De = "useRef", Lt(),
|
|
45369
|
+
return De = "useRef", Lt(), sr(), Ah(s);
|
|
45370
45370
|
},
|
|
45371
45371
|
useState: function(s) {
|
|
45372
|
-
De = "useState", Lt(),
|
|
45372
|
+
De = "useState", Lt(), sr();
|
|
45373
45373
|
var d = rt.current;
|
|
45374
45374
|
rt.current = Aa;
|
|
45375
45375
|
try {
|
|
@@ -45379,22 +45379,22 @@ Incoming: %s`, De, "[" + d.join(", ") + "]", "[" + s.join(", ") + "]");
|
|
|
45379
45379
|
}
|
|
45380
45380
|
},
|
|
45381
45381
|
useDebugValue: function(s, d) {
|
|
45382
|
-
return De = "useDebugValue", Lt(),
|
|
45382
|
+
return De = "useDebugValue", Lt(), sr(), void 0;
|
|
45383
45383
|
},
|
|
45384
45384
|
useDeferredValue: function(s) {
|
|
45385
|
-
return De = "useDeferredValue", Lt(),
|
|
45385
|
+
return De = "useDeferredValue", Lt(), sr(), Lh(s);
|
|
45386
45386
|
},
|
|
45387
45387
|
useTransition: function() {
|
|
45388
|
-
return De = "useTransition", Lt(),
|
|
45388
|
+
return De = "useTransition", Lt(), sr(), Dh();
|
|
45389
45389
|
},
|
|
45390
45390
|
useMutableSource: function(s, d, N) {
|
|
45391
|
-
return De = "useMutableSource", Lt(),
|
|
45391
|
+
return De = "useMutableSource", Lt(), sr(), void 0;
|
|
45392
45392
|
},
|
|
45393
45393
|
useSyncExternalStore: function(s, d, N) {
|
|
45394
|
-
return De = "useSyncExternalStore", Lt(),
|
|
45394
|
+
return De = "useSyncExternalStore", Lt(), sr(), Th(s, d, N);
|
|
45395
45395
|
},
|
|
45396
45396
|
useId: function() {
|
|
45397
|
-
return De = "useId", Lt(),
|
|
45397
|
+
return De = "useId", Lt(), sr(), Fh();
|
|
45398
45398
|
},
|
|
45399
45399
|
unstable_isNewReconciler: _
|
|
45400
45400
|
}, ra = {
|
|
@@ -45765,7 +45765,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45765
45765
|
c0(N), j() && N.mode & Wt && ju();
|
|
45766
45766
|
var re = Wm(d);
|
|
45767
45767
|
if (re !== null) {
|
|
45768
|
-
re.flags &= ~
|
|
45768
|
+
re.flags &= ~dt, Ym(re, d, N, s, M), re.mode & Wt && Vm(s, Y, M), u0(re, s, Y);
|
|
45769
45769
|
return;
|
|
45770
45770
|
} else {
|
|
45771
45771
|
if (!Mc(M)) {
|
|
@@ -45779,7 +45779,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45779
45779
|
ju();
|
|
45780
45780
|
var le = Wm(d);
|
|
45781
45781
|
if (le !== null) {
|
|
45782
|
-
(le.flags & kr) === $e && (le.flags |=
|
|
45782
|
+
(le.flags & kr) === $e && (le.flags |= dt), Ym(le, d, N, s, M), $(Eo(D, N));
|
|
45783
45783
|
return;
|
|
45784
45784
|
}
|
|
45785
45785
|
}
|
|
@@ -45836,7 +45836,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45836
45836
|
var re = N.render, ae = d.ref, le, me;
|
|
45837
45837
|
Cl(d, M), qa(d);
|
|
45838
45838
|
{
|
|
45839
|
-
if (Qu.current = d, Se(!0), le = Ll(s, d, re, D, ae, M), me = Dl(), d.mode &
|
|
45839
|
+
if (Qu.current = d, Se(!0), le = Ll(s, d, re, D, ae, M), me = Dl(), d.mode & ar) {
|
|
45840
45840
|
Dr(!0);
|
|
45841
45841
|
try {
|
|
45842
45842
|
le = Ll(s, d, re, D, ae, M), me = Dl();
|
|
@@ -45892,7 +45892,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45892
45892
|
function qm(s, d, N, D, M) {
|
|
45893
45893
|
if (d.type !== d.elementType) {
|
|
45894
45894
|
var Y = d.elementType;
|
|
45895
|
-
if (Y.$$typeof ===
|
|
45895
|
+
if (Y.$$typeof === ht) {
|
|
45896
45896
|
var re = Y, ae = re._payload, le = re._init;
|
|
45897
45897
|
try {
|
|
45898
45898
|
Y = le(ae);
|
|
@@ -46002,7 +46002,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46002
46002
|
var le, me;
|
|
46003
46003
|
Cl(d, M), qa(d);
|
|
46004
46004
|
{
|
|
46005
|
-
if (Qu.current = d, Se(!0), le = Ll(s, d, N, D, re, M), me = Dl(), d.mode &
|
|
46005
|
+
if (Qu.current = d, Se(!0), le = Ll(s, d, N, D, re, M), me = Dl(), d.mode & ar) {
|
|
46006
46006
|
Dr(!0);
|
|
46007
46007
|
try {
|
|
46008
46008
|
le = Ll(s, d, N, D, re, M), me = Dl();
|
|
@@ -46066,7 +46066,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46066
46066
|
else {
|
|
46067
46067
|
qa(d);
|
|
46068
46068
|
{
|
|
46069
|
-
if (Se(!0), le = ae.render(), d.mode &
|
|
46069
|
+
if (Se(!0), le = ae.render(), d.mode & ar) {
|
|
46070
46070
|
Dr(!0);
|
|
46071
46071
|
try {
|
|
46072
46072
|
ae.render();
|
|
@@ -46100,7 +46100,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46100
46100
|
pendingSuspenseBoundaries: re.pendingSuspenseBoundaries,
|
|
46101
46101
|
transitions: re.transitions
|
|
46102
46102
|
}, me = d.updateQueue;
|
|
46103
|
-
if (me.baseState = le, d.memoizedState = le, d.flags &
|
|
46103
|
+
if (me.baseState = le, d.memoizedState = le, d.flags & dt) {
|
|
46104
46104
|
var ve = Eo(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), d);
|
|
46105
46105
|
return tg(s, d, ae, N, ve);
|
|
46106
46106
|
} else if (ae !== Y) {
|
|
@@ -46111,7 +46111,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46111
46111
|
var Pe = fm(d, null, ae, N);
|
|
46112
46112
|
d.child = Pe;
|
|
46113
46113
|
for (var Fe = Pe; Fe; )
|
|
46114
|
-
Fe.flags = Fe.flags & ~Mt |
|
|
46114
|
+
Fe.flags = Fe.flags & ~Mt | ir, Fe = Fe.sibling;
|
|
46115
46115
|
}
|
|
46116
46116
|
} else {
|
|
46117
46117
|
if (v(), ae === Y)
|
|
@@ -46121,7 +46121,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46121
46121
|
return d.child;
|
|
46122
46122
|
}
|
|
46123
46123
|
function tg(s, d, N, D, M) {
|
|
46124
|
-
return v(), $(M), d.flags |=
|
|
46124
|
+
return v(), $(M), d.flags |= dt, Qn(s, d, N, D), d.child;
|
|
46125
46125
|
}
|
|
46126
46126
|
function y0(s, d, N) {
|
|
46127
46127
|
hm(d), s === null && _o(d);
|
|
@@ -46165,7 +46165,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46165
46165
|
}
|
|
46166
46166
|
}
|
|
46167
46167
|
var Fe = "";
|
|
46168
|
-
throw le !== null && typeof le == "object" && le.$$typeof ===
|
|
46168
|
+
throw le !== null && typeof le == "object" && le.$$typeof === ht && (Fe = " Did you wrap a component in React.lazy() more than once?"), new Error("Element type is invalid. Received a promise that resolves to: " + le + ". " + ("Lazy element type must resolve to a class or function." + Fe));
|
|
46169
46169
|
}
|
|
46170
46170
|
function S0(s, d, N, D, M) {
|
|
46171
46171
|
zd(s, d), d.tag = w;
|
|
@@ -46187,7 +46187,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46187
46187
|
var me = Ce(N) || "Unknown";
|
|
46188
46188
|
Vh[me] || (c("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", me, me), Vh[me] = !0);
|
|
46189
46189
|
}
|
|
46190
|
-
d.mode &
|
|
46190
|
+
d.mode & ar && Ne.recordLegacyContextWarning(d, null), Se(!0), Qu.current = d, ae = Ll(null, d, N, M, Y, D), le = Dl(), Se(!1);
|
|
46191
46191
|
}
|
|
46192
46192
|
if (_r(), d.flags |= jt, typeof ae == "object" && ae !== null && typeof ae.render == "function" && ae.$$typeof === void 0) {
|
|
46193
46193
|
var ve = Ce(N) || "Unknown";
|
|
@@ -46206,7 +46206,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46206
46206
|
var Pe = !1;
|
|
46207
46207
|
return xn(N) ? (Pe = !0, ga(d)) : Pe = !1, d.memoizedState = ae.state !== null && ae.state !== void 0 ? ae.state : null, Vf(d), sm(d, ae), ih(d, N, M, D), Qh(null, d, N, !0, Pe, D);
|
|
46208
46208
|
} else {
|
|
46209
|
-
if (d.tag = P, d.mode &
|
|
46209
|
+
if (d.tag = P, d.mode & ar) {
|
|
46210
46210
|
Dr(!0);
|
|
46211
46211
|
try {
|
|
46212
46212
|
ae = Ll(null, d, N, M, Y, D), le = Dl();
|
|
@@ -46373,15 +46373,15 @@ Check the render method of \`` + D + "`.");
|
|
|
46373
46373
|
}
|
|
46374
46374
|
function O0(s, d, N, D, M, Y, re) {
|
|
46375
46375
|
if (N)
|
|
46376
|
-
if (d.flags &
|
|
46377
|
-
d.flags &= ~
|
|
46376
|
+
if (d.flags & dt) {
|
|
46377
|
+
d.flags &= ~dt;
|
|
46378
46378
|
var Te = zh(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));
|
|
46379
46379
|
return Bd(s, d, re, Te);
|
|
46380
46380
|
} else {
|
|
46381
46381
|
if (d.memoizedState !== null)
|
|
46382
46382
|
return d.child = s.child, d.flags |= Me, null;
|
|
46383
|
-
var ke = D.children, be = D.fallback, Xe = w0(s, d, ke, be, re),
|
|
46384
|
-
return
|
|
46383
|
+
var ke = D.children, be = D.fallback, Xe = w0(s, d, ke, be, re), ft = d.child;
|
|
46384
|
+
return ft.memoizedState = ep(re), d.memoizedState = Zh, Xe;
|
|
46385
46385
|
}
|
|
46386
46386
|
else {
|
|
46387
46387
|
if (Df(), (d.mode & Wt) === Tt)
|
|
@@ -46426,7 +46426,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46426
46426
|
} else {
|
|
46427
46427
|
si(d, M, Y.treeContext);
|
|
46428
46428
|
var dr = D.children, Zt = tp(d, dr);
|
|
46429
|
-
return Zt.flags |=
|
|
46429
|
+
return Zt.flags |= ir, Zt;
|
|
46430
46430
|
}
|
|
46431
46431
|
}
|
|
46432
46432
|
}
|
|
@@ -47009,7 +47009,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47009
47009
|
}
|
|
47010
47010
|
function z0(s, d, N) {
|
|
47011
47011
|
if (Mf() && (d.mode & Wt) !== Tt && (d.flags & Me) === $e)
|
|
47012
|
-
return rd(d), v(), d.flags |=
|
|
47012
|
+
return rd(d), v(), d.flags |= dt | Gi | kr, !1;
|
|
47013
47013
|
var D = ns(d);
|
|
47014
47014
|
if (N !== null && N.dehydrated !== null)
|
|
47015
47015
|
if (s === null) {
|
|
@@ -47064,7 +47064,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47064
47064
|
var ae = s.memoizedState;
|
|
47065
47065
|
// Check if this is a client root
|
|
47066
47066
|
(!ae.isDehydrated || // Check if we reverted to client rendering (e.g. due to an error)
|
|
47067
|
-
(d.flags &
|
|
47067
|
+
(d.flags & dt) !== $e) && (d.flags |= st, b());
|
|
47068
47068
|
}
|
|
47069
47069
|
}
|
|
47070
47070
|
return tc(s, d), Rn(d), null;
|
|
@@ -47124,8 +47124,8 @@ Check the render method of \`` + D + "`.");
|
|
|
47124
47124
|
}
|
|
47125
47125
|
var Xe = d.updateQueue;
|
|
47126
47126
|
if (Xe !== null && (d.flags |= ct), Rn(d), (d.mode & Bt) !== Tt && Zt) {
|
|
47127
|
-
var
|
|
47128
|
-
|
|
47127
|
+
var ft = d.child;
|
|
47128
|
+
ft !== null && (d.treeBaseDuration -= ft.treeBaseDuration);
|
|
47129
47129
|
}
|
|
47130
47130
|
return null;
|
|
47131
47131
|
}
|
|
@@ -47422,7 +47422,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47422
47422
|
function J0() {
|
|
47423
47423
|
for (; lt !== null; ) {
|
|
47424
47424
|
var s = lt, d = s.child;
|
|
47425
|
-
(s.subtreeFlags &
|
|
47425
|
+
(s.subtreeFlags & Ut) !== $e && d !== null ? (d.return = s, lt = d) : Z0();
|
|
47426
47426
|
}
|
|
47427
47427
|
}
|
|
47428
47428
|
function Z0() {
|
|
@@ -48148,18 +48148,18 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48148
48148
|
return;
|
|
48149
48149
|
}
|
|
48150
48150
|
case Z: {
|
|
48151
|
-
var
|
|
48151
|
+
var ft = D !== null && D.memoizedState !== null;
|
|
48152
48152
|
if (
|
|
48153
48153
|
// TODO: Remove this dead flag
|
|
48154
48154
|
s.mode & Wt
|
|
48155
48155
|
) {
|
|
48156
48156
|
var nt = Cn;
|
|
48157
|
-
Cn = nt ||
|
|
48157
|
+
Cn = nt || ft, sa(d, s), Cn = nt;
|
|
48158
48158
|
} else
|
|
48159
48159
|
sa(d, s);
|
|
48160
48160
|
if (ka(s), M & Yr) {
|
|
48161
48161
|
var Jt = s.stateNode, Nt = s.memoizedState, nr = Nt !== null, Yt = s;
|
|
48162
|
-
if (Jt.isHidden = nr, nr && !
|
|
48162
|
+
if (Jt.isHidden = nr, nr && !ft && (Yt.mode & Wt) !== Tt) {
|
|
48163
48163
|
lt = Yt;
|
|
48164
48164
|
for (var Er = Yt.child; Er !== null; )
|
|
48165
48165
|
lt = Er, py(Er), Er = Er.sibling;
|
|
@@ -48190,7 +48190,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48190
48190
|
}
|
|
48191
48191
|
s.flags &= ~Mt;
|
|
48192
48192
|
}
|
|
48193
|
-
d &
|
|
48193
|
+
d & ir && (s.flags &= ~ir);
|
|
48194
48194
|
}
|
|
48195
48195
|
function hy(s, d, N) {
|
|
48196
48196
|
Fl = N, jl = d, lt = s, wg(s, d, N), Fl = null, jl = null;
|
|
@@ -48346,7 +48346,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48346
48346
|
function yy(s, d, N, D) {
|
|
48347
48347
|
for (; lt !== null; ) {
|
|
48348
48348
|
var M = lt;
|
|
48349
|
-
if ((M.flags &
|
|
48349
|
+
if ((M.flags & It) !== $e) {
|
|
48350
48350
|
or(M);
|
|
48351
48351
|
try {
|
|
48352
48352
|
_y(d, M, N, D);
|
|
@@ -48420,7 +48420,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48420
48420
|
function Ey() {
|
|
48421
48421
|
for (; lt !== null; ) {
|
|
48422
48422
|
var s = lt;
|
|
48423
|
-
(s.flags &
|
|
48423
|
+
(s.flags & It) !== $e && (or(s), by(s), ur());
|
|
48424
48424
|
var d = s.sibling;
|
|
48425
48425
|
if (d !== null) {
|
|
48426
48426
|
d.return = s.return, lt = d;
|
|
@@ -48936,7 +48936,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48936
48936
|
var N = uc;
|
|
48937
48937
|
if (Kn(s)) {
|
|
48938
48938
|
var D = Co(s, d);
|
|
48939
|
-
D.flags |=
|
|
48939
|
+
D.flags |= dt, ys(s.containerInfo);
|
|
48940
48940
|
}
|
|
48941
48941
|
var M = ff(s, d);
|
|
48942
48942
|
if (M !== To) {
|
|
@@ -49298,7 +49298,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49298
49298
|
Of(s, re), s === Jn && (Jn = null, Or = null, hn = Ue), ((M.subtreeFlags & hr) !== $e || (M.flags & hr) !== $e) && (Ro || (Ro = !0, Ep = N, mf(bn, function() {
|
|
49299
49299
|
return Da(), null;
|
|
49300
49300
|
})));
|
|
49301
|
-
var ae = (M.subtreeFlags & (
|
|
49301
|
+
var ae = (M.subtreeFlags & (Ut | Cr | fr | hr)) !== $e, le = (M.flags & (Ut | Cr | fr | hr)) !== $e;
|
|
49302
49302
|
if (ae || le) {
|
|
49303
49303
|
var me = Nr.transition;
|
|
49304
49304
|
Nr.transition = null;
|
|
@@ -49629,16 +49629,16 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49629
49629
|
break;
|
|
49630
49630
|
}
|
|
49631
49631
|
case P: {
|
|
49632
|
-
(typeof D == "function" || Y ===
|
|
49632
|
+
(typeof D == "function" || Y === ht) && (M = !0);
|
|
49633
49633
|
break;
|
|
49634
49634
|
}
|
|
49635
49635
|
case z: {
|
|
49636
|
-
(Y === qe || Y ===
|
|
49636
|
+
(Y === qe || Y === ht) && (M = !0);
|
|
49637
49637
|
break;
|
|
49638
49638
|
}
|
|
49639
49639
|
case U:
|
|
49640
49640
|
case V: {
|
|
49641
|
-
(Y === it || Y ===
|
|
49641
|
+
(Y === it || Y === ht) && (M = !0);
|
|
49642
49642
|
break;
|
|
49643
49643
|
}
|
|
49644
49644
|
default:
|
|
@@ -49844,7 +49844,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49844
49844
|
}
|
|
49845
49845
|
function I_(s, d, N) {
|
|
49846
49846
|
var D;
|
|
49847
|
-
return s === Ko ? (D = Wt, d === !0 && (D |=
|
|
49847
|
+
return s === Ko ? (D = Wt, d === !0 && (D |= ar, D |= kn)) : D = Tt, jn && (D |= Bt), Ti(k, null, null, D);
|
|
49848
49848
|
}
|
|
49849
49849
|
function Mp(s, d, N, D, M, Y) {
|
|
49850
49850
|
var re = O, ae = s;
|
|
@@ -49858,11 +49858,11 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49858
49858
|
case xe:
|
|
49859
49859
|
return Ys(N.children, M, Y, d);
|
|
49860
49860
|
case Oe:
|
|
49861
|
-
re = W, M |=
|
|
49861
|
+
re = W, M |= ar, (M & Wt) !== Tt && (M |= kn);
|
|
49862
49862
|
break;
|
|
49863
49863
|
case Re:
|
|
49864
49864
|
return U_(N, M, Y, d);
|
|
49865
|
-
case
|
|
49865
|
+
case pt:
|
|
49866
49866
|
return G_(N, M, Y, d);
|
|
49867
49867
|
case yt:
|
|
49868
49868
|
return B_(N, M, Y, d);
|
|
@@ -49888,7 +49888,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49888
49888
|
case it:
|
|
49889
49889
|
re = U;
|
|
49890
49890
|
break e;
|
|
49891
|
-
case
|
|
49891
|
+
case ht:
|
|
49892
49892
|
re = X, ae = null;
|
|
49893
49893
|
break e;
|
|
49894
49894
|
}
|
|
@@ -49926,7 +49926,7 @@ Check the render method of \`` + me + "`.");
|
|
|
49926
49926
|
}
|
|
49927
49927
|
function G_(s, d, N, D) {
|
|
49928
49928
|
var M = Ti(I, s, D, d);
|
|
49929
|
-
return M.elementType =
|
|
49929
|
+
return M.elementType = pt, M.lanes = N, M;
|
|
49930
49930
|
}
|
|
49931
49931
|
function B_(s, d, N, D) {
|
|
49932
49932
|
var M = Ti(ie, s, D, d);
|
|
@@ -50044,13 +50044,13 @@ Check the render method of \`` + me + "`.");
|
|
|
50044
50044
|
var M = Ks(N);
|
|
50045
50045
|
if (M === null)
|
|
50046
50046
|
return null;
|
|
50047
|
-
if (M.mode &
|
|
50047
|
+
if (M.mode & ar) {
|
|
50048
50048
|
var Y = je(N) || "Component";
|
|
50049
50049
|
if (!zp[Y]) {
|
|
50050
50050
|
zp[Y] = !0;
|
|
50051
50051
|
var re = xt;
|
|
50052
50052
|
try {
|
|
50053
|
-
or(M), N.mode &
|
|
50053
|
+
or(M), N.mode & ar ? c("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", d, d, Y) : c("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", d, d, Y);
|
|
50054
50054
|
} finally {
|
|
50055
50055
|
re ? or(re) : ur();
|
|
50056
50056
|
}
|
|
@@ -51019,7 +51019,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51019
51019
|
success: !1,
|
|
51020
51020
|
text: "",
|
|
51021
51021
|
rewards: []
|
|
51022
|
-
}), U = useRef(!1), [V, X] = useState(!0), [Q, J] = useState(!1), ie = useRef(null), ne = useRef(null), Z = useRef(null), se = useRef(null), oe = useRef(null), de = useRef(null), fe = useRef(null), ce = useRef(null), xe = useRef(null), [Oe, Re] = useState(y), Ve = (Le) => S ? S(Le) : r({ type: "translate", payload: Le }), [Be] = e, { solution: qe } = l,
|
|
51022
|
+
}), U = useRef(!1), [V, X] = useState(!0), [Q, J] = useState(!1), ie = useRef(null), ne = useRef(null), Z = useRef(null), se = useRef(null), oe = useRef(null), de = useRef(null), fe = useRef(null), ce = useRef(null), xe = useRef(null), [Oe, Re] = useState(y), Ve = (Le) => S ? S(Le) : r({ type: "translate", payload: Le }), [Be] = e, { solution: qe } = l, pt = u.img.url || defaultImg, yt = f.map((Le, We) => ({
|
|
51023
51023
|
index: We,
|
|
51024
51024
|
shape: "poly",
|
|
51025
51025
|
...Le
|
|
@@ -51027,7 +51027,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51027
51027
|
index: We,
|
|
51028
51028
|
shape: "poly",
|
|
51029
51029
|
...Le
|
|
51030
|
-
})),
|
|
51030
|
+
})), ht = useCallback(() => {
|
|
51031
51031
|
if (!V) {
|
|
51032
51032
|
const Le = setInterval(() => {
|
|
51033
51033
|
Re((We) => We > 1 ? We - 1 : 0);
|
|
@@ -51132,7 +51132,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51132
51132
|
}, ut = useCallback(() => {
|
|
51133
51133
|
de.current = Date.now();
|
|
51134
51134
|
const Le = de.current + fe.current;
|
|
51135
|
-
ne.current = null, se.current = Le, (y || Q) && (B.success ? f.length === G.length || E && G.length > 0 ? _t() : (Re(fe.current * 1e-3),
|
|
51135
|
+
ne.current = null, se.current = Le, (y || Q) && (B.success ? f.length === G.length || E && G.length > 0 ? _t() : (Re(fe.current * 1e-3), ht(), Ke()) : (H([]), X(!0), P())), er(B.rewards, B.success), Be("click-ui"), I((We) => ({
|
|
51136
51136
|
...We,
|
|
51137
51137
|
show: !1,
|
|
51138
51138
|
success: !1,
|
|
@@ -51151,7 +51151,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51151
51151
|
E,
|
|
51152
51152
|
P,
|
|
51153
51153
|
_t,
|
|
51154
|
-
|
|
51154
|
+
ht,
|
|
51155
51155
|
Ke
|
|
51156
51156
|
]), he = (Le) => {
|
|
51157
51157
|
var We, je;
|
|
@@ -51175,11 +51175,11 @@ function ImageClickWrapperComponent(o) {
|
|
|
51175
51175
|
mt(Le, !0);
|
|
51176
51176
|
}
|
|
51177
51177
|
}, pe = useCallback(() => {
|
|
51178
|
-
_t(), Re(y),
|
|
51178
|
+
_t(), Re(y), ht(), !U.current && w && k(), X(!1), ie.current = Date.now(), se.current = ie.current + y * 1e3, Ke();
|
|
51179
51179
|
}, [
|
|
51180
51180
|
_t,
|
|
51181
51181
|
y,
|
|
51182
|
-
|
|
51182
|
+
ht,
|
|
51183
51183
|
w,
|
|
51184
51184
|
Ke,
|
|
51185
51185
|
k
|
|
@@ -51189,8 +51189,8 @@ function ImageClickWrapperComponent(o) {
|
|
|
51189
51189
|
}, [p, w, O, R, y]), useEffect(() => {
|
|
51190
51190
|
y && Oe === 0 && Ft();
|
|
51191
51191
|
}, [Oe, Ft, y]), useEffect(() => {
|
|
51192
|
-
y && (L ? (_t(), kt()) :
|
|
51193
|
-
}, [_t, Ke, L, kt,
|
|
51192
|
+
y && (L ? (_t(), kt()) : ht());
|
|
51193
|
+
}, [_t, Ke, L, kt, ht, y]), /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: x, children: [
|
|
51194
51194
|
B.show ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
51195
51195
|
FeedbackComponent$1,
|
|
51196
51196
|
{
|
|
@@ -51209,7 +51209,7 @@ function ImageClickWrapperComponent(o) {
|
|
|
51209
51209
|
KonvaMapper,
|
|
51210
51210
|
{
|
|
51211
51211
|
completed: W,
|
|
51212
|
-
imageUrl:
|
|
51212
|
+
imageUrl: pt,
|
|
51213
51213
|
areas: E && G.length ? [G[0]] : yt,
|
|
51214
51214
|
badAreas: it,
|
|
51215
51215
|
clickedZones: G,
|
|
@@ -51589,7 +51589,7 @@ function HangedPuzzleComponent({
|
|
|
51589
51589
|
ce !== " " && fe.push({ char: ce });
|
|
51590
51590
|
})), P(I), T(fe);
|
|
51591
51591
|
}, [I, u, B]), V = (fe, ce) => C.map((Oe, Re) => Re === ce ? { ...Oe, deleted: !0 } : { ...Oe }), X = (fe, ce, xe) => {
|
|
51592
|
-
const Oe = ce.map((Ve, Be) => xe.find((
|
|
51592
|
+
const Oe = ce.map((Ve, Be) => xe.find((pt) => pt.poolIndex === Be) ? { char: Ve.char } : Ve);
|
|
51593
51593
|
T(Oe), P(fe);
|
|
51594
51594
|
const Re = fe.find((Ve) => Ve.char === "");
|
|
51595
51595
|
_(Re.index);
|
|
@@ -53613,7 +53613,7 @@ function WriterPuzzleComponent({
|
|
|
53613
53613
|
}, qe = () => {
|
|
53614
53614
|
const Ke = h[A].electionTexts.filter((ut) => ut.correct).length, mt = h[A].electionTexts;
|
|
53615
53615
|
return Ke === 0 || Ke === mt;
|
|
53616
|
-
},
|
|
53616
|
+
}, pt = (Ke) => {
|
|
53617
53617
|
const mt = h[A].electionTexts[Ke], ut = mt.feedback.rewards;
|
|
53618
53618
|
ut && ut[0] && ut[0].points && (ie.current[`t${A}_e${Ke}`] || (mt.correct && (ie.current[`t${A}_e${Ke}`] = !0), V([...U, ...ut])));
|
|
53619
53619
|
const he = () => qe() ? "none" : mt.correct ? "green" : "red", pe = {
|
|
@@ -53640,7 +53640,7 @@ function WriterPuzzleComponent({
|
|
|
53640
53640
|
behavior: "smooth"
|
|
53641
53641
|
});
|
|
53642
53642
|
}
|
|
53643
|
-
},
|
|
53643
|
+
}, ht = (Ke, mt, ut) => {
|
|
53644
53644
|
const he = Ke.fullText, pe = h[ut + 1] ? h[ut + 1].type : "", ye = (
|
|
53645
53645
|
// its magic
|
|
53646
53646
|
P[`text_${ut + 1}`] && P[`text_${ut + 1}`].type ? P[`text_${ut + 1}`].type : pe
|
|
@@ -53667,12 +53667,12 @@ function WriterPuzzleComponent({
|
|
|
53667
53667
|
{
|
|
53668
53668
|
soundActions: y,
|
|
53669
53669
|
textWithOpts: Ke.electionTexts,
|
|
53670
|
-
setCurrentDecisionSelected:
|
|
53670
|
+
setCurrentDecisionSelected: pt,
|
|
53671
53671
|
printed: yt,
|
|
53672
53672
|
disableExit: X
|
|
53673
53673
|
},
|
|
53674
53674
|
Ke.electionTexts
|
|
53675
|
-
), _t = (Ke, mt, ut) => Ke.type === "fixed" ?
|
|
53675
|
+
), _t = (Ke, mt, ut) => Ke.type === "fixed" ? ht(Ke, mt, ut) : Ot(Ke);
|
|
53676
53676
|
useEffect(() => {
|
|
53677
53677
|
O === !0 && (() => {
|
|
53678
53678
|
h[A + 1] ? (w({
|
|
@@ -57418,28 +57418,28 @@ function DialogComponent({
|
|
|
57418
57418
|
show: !1
|
|
57419
57419
|
}), Oe = useMemo(() => r.reduce((ze, Me) => (Me.slots && Me.slots.filter((bt) => bt.uid).forEach((bt) => {
|
|
57420
57420
|
ze.includes(bt.uid) || ze.push(bt.uid);
|
|
57421
|
-
}), ze), []), [r]), Re = useCallback((ze) => e({ type: "translate", payload: ze }), [e]), [Ve, Be] = useState([]), qe = useMemo(() => Ve[Ve.length - 1], [Ve]),
|
|
57422
|
-
const ze = n.find((
|
|
57421
|
+
}), ze), []), [r]), Re = useCallback((ze) => e({ type: "translate", payload: ze }), [e]), [Ve, Be] = useState([]), qe = useMemo(() => Ve[Ve.length - 1], [Ve]), pt = useCallback(() => {
|
|
57422
|
+
const ze = n.find((dt) => dt.fromId === qe) || n.find((dt) => dt.toId === qe), Me = r.find((dt) => dt.id === (ze == null ? void 0 : ze.fromId));
|
|
57423
57423
|
return !qe && (h == null ? void 0 : h.line) >= 0 ? { decision: !0 } : Me;
|
|
57424
57424
|
}, [n, r, qe]), yt = useCallback(() => {
|
|
57425
57425
|
if (W) {
|
|
57426
|
-
const Me =
|
|
57426
|
+
const Me = pt();
|
|
57427
57427
|
return Me == null ? void 0 : Me.decision;
|
|
57428
57428
|
}
|
|
57429
57429
|
const ze = r[E - 1] ? r[E - 1] : {};
|
|
57430
57430
|
return E > 0 && (ze == null ? void 0 : ze.decision);
|
|
57431
57431
|
}, [F, W, r, qe, n]), it = useCallback(() => {
|
|
57432
57432
|
if (W) {
|
|
57433
|
-
const Me =
|
|
57433
|
+
const Me = pt();
|
|
57434
57434
|
return (Me == null ? void 0 : Me.type) === "conversationalCamera";
|
|
57435
57435
|
}
|
|
57436
57436
|
const ze = r[E - 1] ? r[E - 1] : {};
|
|
57437
57437
|
return E > 0 && (ze == null ? void 0 : ze.type) === "conversationalCamera";
|
|
57438
|
-
}, [F, W, r, qe, n]),
|
|
57438
|
+
}, [F, W, r, qe, n]), ht = useCallback(
|
|
57439
57439
|
(ze) => {
|
|
57440
|
-
var
|
|
57440
|
+
var dt, bt;
|
|
57441
57441
|
const Me = t.find((st) => (st == null ? void 0 : st.uid) === (ze == null ? void 0 : ze.uid) ? st : "");
|
|
57442
|
-
return ((bt = (
|
|
57442
|
+
return ((bt = (dt = ze == null ? void 0 : ze.character) == null ? void 0 : dt.resource) == null ? void 0 : bt.url) || (Me == null ? void 0 : Me.completeUrl) || "";
|
|
57443
57443
|
},
|
|
57444
57444
|
[t]
|
|
57445
57445
|
), er = (ze = () => {
|
|
@@ -57451,8 +57451,8 @@ function DialogComponent({
|
|
|
57451
57451
|
const Me = L.current.child ? L.current.pos : k.position.toArray();
|
|
57452
57452
|
if (animationTarget.position.fromArray(Me), L.current.parent) {
|
|
57453
57453
|
animationTarget.quaternion.equals(R.quaternion) || animationTarget.applyQuaternion(R.quaternion);
|
|
57454
|
-
const
|
|
57455
|
-
animationTarget.translateX(-10 *
|
|
57454
|
+
const dt = L.current.isLeft ? -1 : 1, bt = headSize * dt;
|
|
57455
|
+
animationTarget.translateX(-10 * dt + bt), animationTarget.translateY(-2), animationTarget.translateZ(30);
|
|
57456
57456
|
}
|
|
57457
57457
|
gsapWithCSS.to(R.position, {
|
|
57458
57458
|
duration: 0.9,
|
|
@@ -57461,15 +57461,15 @@ function DialogComponent({
|
|
|
57461
57461
|
I.current = !0;
|
|
57462
57462
|
},
|
|
57463
57463
|
onUpdate: () => {
|
|
57464
|
-
O.current.length && O.current.forEach((
|
|
57465
|
-
const { object: bt } =
|
|
57464
|
+
O.current.length && O.current.forEach((dt) => {
|
|
57465
|
+
const { object: bt } = dt;
|
|
57466
57466
|
bt.material.visible = !0;
|
|
57467
57467
|
});
|
|
57468
57468
|
},
|
|
57469
57469
|
onComplete: () => {
|
|
57470
57470
|
ze(), raycast.set(R.getWorldPosition(new Vector3(0, 0, 0)), R.getWorldDirection(new Vector3()));
|
|
57471
|
-
const
|
|
57472
|
-
O.current =
|
|
57471
|
+
const dt = raycast.intersectObjects(A.children, !0);
|
|
57472
|
+
O.current = dt.filter((bt) => bt.distance < 10), O.current.length && O.current.forEach((bt) => {
|
|
57473
57473
|
const { object: st } = bt;
|
|
57474
57474
|
st.material.side = 0;
|
|
57475
57475
|
}), I.current = !1, H.current && e({ type: "success" }), L.current.child || R.copy(k);
|
|
@@ -57479,37 +57479,37 @@ function DialogComponent({
|
|
|
57479
57479
|
}
|
|
57480
57480
|
}, Ot = useCallback(() => {
|
|
57481
57481
|
L.current.child = null, L.current.parent = null, l && er();
|
|
57482
|
-
}, [l]), _t = (ze, Me,
|
|
57482
|
+
}, [l]), _t = (ze, Me, dt, bt = !1) => {
|
|
57483
57483
|
const st = Me.includes("seated");
|
|
57484
|
-
|
|
57485
|
-
if (
|
|
57486
|
-
const
|
|
57484
|
+
dt ? V(ze, dt.url, Me.includes("talking")).then((It) => {
|
|
57485
|
+
if (It) {
|
|
57486
|
+
const ir = It.setLoop(LoopRepeat, 1 / 0).getMixer(), Yr = () => {
|
|
57487
57487
|
H.current ? U(ze, "idle").then(() => {
|
|
57488
|
-
|
|
57488
|
+
ir.removeEventListener("loop", Yr);
|
|
57489
57489
|
}) : U(ze, ie.current === ze ? "neutral_talking" : "neutral").then(() => {
|
|
57490
|
-
|
|
57490
|
+
ir.removeEventListener("loop", Yr);
|
|
57491
57491
|
});
|
|
57492
57492
|
};
|
|
57493
|
-
|
|
57493
|
+
It && BASIC_ACTIONS_TYPES_WHITELIST.includes(dt.animationId) ? ir.addEventListener("loop", Yr) : ir._listeners && (ir._listeners.loop = []);
|
|
57494
57494
|
}
|
|
57495
57495
|
}) : U(ze, bt && !st ? `${Me}-seated` : Me);
|
|
57496
57496
|
}, kt = () => {
|
|
57497
57497
|
if (!(B != null && B.emotion) || H.current)
|
|
57498
57498
|
return;
|
|
57499
|
-
const { emotion: ze, uid: Me, animation:
|
|
57499
|
+
const { emotion: ze, uid: Me, animation: dt } = B, bt = getCurrentVisible(Me, A);
|
|
57500
57500
|
if (bt) {
|
|
57501
57501
|
const { isSeated: st } = bt;
|
|
57502
57502
|
Q(Me).then(() => {
|
|
57503
|
-
_t(Me, `${ze}_talking`,
|
|
57503
|
+
_t(Me, `${ze}_talking`, dt, st), dt && BASIC_ACTIONS_TYPES_WHITELIST.includes(dt.animationId) && (ie.current = Me);
|
|
57504
57504
|
});
|
|
57505
57505
|
}
|
|
57506
57506
|
}, Ft = () => {
|
|
57507
57507
|
if (!(B != null && B.uid) || H.current)
|
|
57508
57508
|
return;
|
|
57509
|
-
const { emotion: ze, uid: Me, animation:
|
|
57509
|
+
const { emotion: ze, uid: Me, animation: dt } = B, bt = getCurrentVisible(Me, A);
|
|
57510
57510
|
if (bt) {
|
|
57511
57511
|
const { isSeated: st } = bt;
|
|
57512
|
-
ie.current === Me ? _t(Me, "neutral", null, st) : _t(Me, ze,
|
|
57512
|
+
ie.current === Me ? (_t(Me, "neutral", null, st), ie.current = null) : _t(Me, ze, dt, st);
|
|
57513
57513
|
}
|
|
57514
57514
|
}, Ke = useCallback(() => {
|
|
57515
57515
|
H.current = !0, xe({ show: !1 }), Ot(), X(), l || e({ type: "success" });
|
|
@@ -57521,20 +57521,20 @@ function DialogComponent({
|
|
|
57521
57521
|
xe({ show: !1 }), g(ze), e({ type: "notifyProgress", payload: { line: ze } });
|
|
57522
57522
|
}, ut = useCallback(
|
|
57523
57523
|
(ze = !0) => {
|
|
57524
|
-
const Me = ze ? ["fromId", "toId"] : ["toId", "fromId"],
|
|
57524
|
+
const Me = ze ? ["fromId", "toId"] : ["toId", "fromId"], dt = n.filter((It) => It[Me[0]] === F.id), bt = dt.length === 1 ? dt[0] : dt.find((It) => It[Me[1]] === qe);
|
|
57525
57525
|
if (!(bt != null && bt[Me[0]])) {
|
|
57526
57526
|
Ke();
|
|
57527
57527
|
return;
|
|
57528
57528
|
}
|
|
57529
57529
|
ze || Be(Ve.slice(0, Ve.length - 1));
|
|
57530
|
-
const st = r.findIndex((
|
|
57530
|
+
const st = r.findIndex((It) => It.id === bt[Me[1]]);
|
|
57531
57531
|
st >= 0 ? mt(st) : Ke();
|
|
57532
57532
|
},
|
|
57533
57533
|
[F == null ? void 0 : F.id, e, n, Ke, r]
|
|
57534
57534
|
), he = useCallback(
|
|
57535
57535
|
(ze, Me) => {
|
|
57536
|
-
const
|
|
57537
|
-
|
|
57536
|
+
const dt = [3, 2, 1][ze.id], st = n.filter((ir) => ir.fromId === (F == null ? void 0 : F.id)).find((ir) => parseInt(ir.fromPointIndex) === dt), It = r.findIndex((ir) => ir.id === (st == null ? void 0 : st.toId));
|
|
57537
|
+
It >= 0 ? (st == null ? void 0 : st.fromId) === (st == null ? void 0 : st.toId) ? Me() : mt(It) : Ke();
|
|
57538
57538
|
},
|
|
57539
57539
|
[F == null ? void 0 : F.id, n, Ke, r]
|
|
57540
57540
|
), pe = useCallback(() => {
|
|
@@ -57550,7 +57550,7 @@ function DialogComponent({
|
|
|
57550
57550
|
if (ze) {
|
|
57551
57551
|
const Me = [3, 2, 1][ze.id], bt = n.filter((st) => st.fromId === F.id).find((st) => parseInt(st.fromPointIndex) === Me);
|
|
57552
57552
|
if (bt) {
|
|
57553
|
-
const st = r.findIndex((
|
|
57553
|
+
const st = r.findIndex((It) => It.id === bt.toId);
|
|
57554
57554
|
st >= 0 && e({ type: "notifyProgress", payload: { line: st } });
|
|
57555
57555
|
} else
|
|
57556
57556
|
e({ type: "saveNode" });
|
|
@@ -57567,8 +57567,8 @@ function DialogComponent({
|
|
|
57567
57567
|
if (z.current = { ...B }, Be([...Ve, F.id]), S(!1), Ft(), W)
|
|
57568
57568
|
ze ? he(ze, Me) : ut();
|
|
57569
57569
|
else if (E < r.length - 1) {
|
|
57570
|
-
const
|
|
57571
|
-
mt(
|
|
57570
|
+
const dt = E + 1;
|
|
57571
|
+
mt(dt);
|
|
57572
57572
|
} else
|
|
57573
57573
|
(f || oe || de) && Ke();
|
|
57574
57574
|
},
|
|
@@ -57597,9 +57597,9 @@ function DialogComponent({
|
|
|
57597
57597
|
C(!0), g(ze);
|
|
57598
57598
|
return;
|
|
57599
57599
|
}
|
|
57600
|
-
const Me = r.filter((
|
|
57600
|
+
const Me = r.filter((dt) => !n.find((bt) => bt.toId === dt.id));
|
|
57601
57601
|
if (Me.length) {
|
|
57602
|
-
const
|
|
57602
|
+
const dt = Me[0], bt = r.indexOf(dt);
|
|
57603
57603
|
bt >= 0 && (C(!0), g(bt));
|
|
57604
57604
|
}
|
|
57605
57605
|
}
|
|
@@ -57607,16 +57607,16 @@ function DialogComponent({
|
|
|
57607
57607
|
const $e = (ze) => {
|
|
57608
57608
|
if (z.current.uid === ze.uid || L.current.parent === ze)
|
|
57609
57609
|
return;
|
|
57610
|
-
const Me = new Object3D(),
|
|
57611
|
-
|
|
57610
|
+
const Me = new Object3D(), dt = ze.getObjectByName("Head_M");
|
|
57611
|
+
dt.updateMatrixWorld(!0), Me.applyMatrix4(dt.matrixWorld), Me.applyQuaternion(R.quaternion);
|
|
57612
57612
|
const bt = l ? 2.5 : 2, st = l ? 1.2 : 1.5;
|
|
57613
57613
|
Me.translateY(bt), Me.translateX(st);
|
|
57614
|
-
const
|
|
57615
|
-
|
|
57616
|
-
const Yr =
|
|
57614
|
+
const It = new Vector3();
|
|
57615
|
+
It.setFromMatrixPosition(dt.matrixWorld);
|
|
57616
|
+
const Yr = It.project(R).x < 0;
|
|
57617
57617
|
L.current = {
|
|
57618
57618
|
pos: Me.position.toArray(),
|
|
57619
|
-
child:
|
|
57619
|
+
child: dt,
|
|
57620
57620
|
parent: ze,
|
|
57621
57621
|
isLeft: Yr
|
|
57622
57622
|
};
|
|
@@ -57633,27 +57633,27 @@ function DialogComponent({
|
|
|
57633
57633
|
voiceOver: !0,
|
|
57634
57634
|
thinkful: !1,
|
|
57635
57635
|
top: !1,
|
|
57636
|
-
avatar:
|
|
57636
|
+
avatar: ht(B),
|
|
57637
57637
|
show: !0
|
|
57638
57638
|
});
|
|
57639
57639
|
else if (!H.current && !oe) {
|
|
57640
|
-
const Me = F == null ? void 0 : F.slots.filter((st) => st.uid && !st.talking),
|
|
57641
|
-
if (Oe.filter((st) => !
|
|
57640
|
+
const Me = F == null ? void 0 : F.slots.filter((st) => st.uid && !st.talking), dt = [...Me.map((st) => st.uid) || [], B == null ? void 0 : B.uid];
|
|
57641
|
+
if (Oe.filter((st) => !dt.includes(st)).forEach((st) => {
|
|
57642
57642
|
U(st, "idle");
|
|
57643
57643
|
}), Me.forEach((st) => {
|
|
57644
|
-
const
|
|
57645
|
-
if (
|
|
57646
|
-
const { isSeated:
|
|
57647
|
-
_t(st.uid, st.emotion, st.animation,
|
|
57644
|
+
const It = getCurrentVisible(st.uid, A);
|
|
57645
|
+
if (It) {
|
|
57646
|
+
const { isSeated: ir } = It;
|
|
57647
|
+
_t(st.uid, st.emotion, st.animation, ir);
|
|
57648
57648
|
}
|
|
57649
57649
|
}), B) {
|
|
57650
|
-
const st = getCurrentVisible(B.uid, A),
|
|
57650
|
+
const st = getCurrentVisible(B.uid, A), It = t.find((ir) => ir.uid === B.uid);
|
|
57651
57651
|
st && !H.current ? setTimeout(() => {
|
|
57652
|
-
var
|
|
57652
|
+
var ir, Yr;
|
|
57653
57653
|
if (B.uid === st.uid) {
|
|
57654
57654
|
$e(st);
|
|
57655
57655
|
const { isSeated: Ui, userData: ja } = st, { emotion: la, animation: Gi } = B;
|
|
57656
|
-
!((
|
|
57656
|
+
!((ir = ja._active) != null && ir.includes("talking")) && !((Yr = ja._active) != null && Yr.includes(la)) && _t(B.uid, la, Gi, Ui);
|
|
57657
57657
|
const kr = () => {
|
|
57658
57658
|
var ge;
|
|
57659
57659
|
xe({
|
|
@@ -57661,7 +57661,7 @@ function DialogComponent({
|
|
|
57661
57661
|
name: B.alias || ((ge = B.character) == null ? void 0 : ge.name),
|
|
57662
57662
|
inScene: !0,
|
|
57663
57663
|
thinkful: B.emotion.includes("think"),
|
|
57664
|
-
avatar:
|
|
57664
|
+
avatar: ht(B),
|
|
57665
57665
|
show: !0
|
|
57666
57666
|
});
|
|
57667
57667
|
};
|
|
@@ -57669,12 +57669,12 @@ function DialogComponent({
|
|
|
57669
57669
|
}
|
|
57670
57670
|
}, 150) : (Ot(), xe({
|
|
57671
57671
|
text: B.text,
|
|
57672
|
-
name: B.alias || ((ze = B.character) == null ? void 0 : ze.name) || (
|
|
57672
|
+
name: B.alias || ((ze = B.character) == null ? void 0 : ze.name) || (It == null ? void 0 : It.name),
|
|
57673
57673
|
left: !1,
|
|
57674
57674
|
top: B.text.length > maxCharacterToSwitch,
|
|
57675
57675
|
inScene: !1,
|
|
57676
57676
|
thinkful: B.emotion.includes("think"),
|
|
57677
|
-
avatar:
|
|
57677
|
+
avatar: ht(B),
|
|
57678
57678
|
show: !0
|
|
57679
57679
|
}));
|
|
57680
57680
|
} else
|
|
@@ -57686,7 +57686,7 @@ function DialogComponent({
|
|
|
57686
57686
|
l,
|
|
57687
57687
|
A,
|
|
57688
57688
|
Re,
|
|
57689
|
-
|
|
57689
|
+
ht,
|
|
57690
57690
|
Ot,
|
|
57691
57691
|
oe,
|
|
57692
57692
|
se,
|