@gamelearn/arcade-components 3.8.6 → 3.8.7
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.
|
@@ -545,7 +545,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
545
545
|
return He;
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function at(ge, He) {
|
|
549
549
|
{
|
|
550
550
|
if (!ge._store || ge._store.validated || ge.key != null)
|
|
551
551
|
return;
|
|
@@ -565,7 +565,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
565
565
|
if (ht(ge))
|
|
566
566
|
for (var Je = 0; Je < ge.length; Je++) {
|
|
567
567
|
var St = ge[Je];
|
|
568
|
-
Wr(St) &&
|
|
568
|
+
Wr(St) && at(St, He);
|
|
569
569
|
}
|
|
570
570
|
else if (Wr(ge))
|
|
571
571
|
ge._store && (ge._store.validated = !0);
|
|
@@ -573,7 +573,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
573
573
|
var qt = x(ge);
|
|
574
574
|
if (typeof qt == "function" && qt !== ge.entries)
|
|
575
575
|
for (var Ht = qt.call(ge), Gt; !(Gt = Ht.next()).done; )
|
|
576
|
-
Wr(Gt.value) &&
|
|
576
|
+
Wr(Gt.value) && at(Gt.value, He);
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
}
|
|
@@ -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, 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,
|
|
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, at = 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 {
|
|
@@ -38999,7 +38999,7 @@ Error generating stack: ` + te.message + `
|
|
|
38999
38999
|
for (var K = b.child; K !== null; ) {
|
|
39000
39000
|
if (K.tag === 5) {
|
|
39001
39001
|
var te = K.stateNode;
|
|
39002
|
-
j && $ && (te =
|
|
39002
|
+
j && $ && (te = at(te, K.type, K.memoizedProps, K)), X(v, te);
|
|
39003
39003
|
} else if (K.tag === 6)
|
|
39004
39004
|
te = K.stateNode, j && $ && (te = It(te, K.memoizedProps, K)), X(v, te);
|
|
39005
39005
|
else if (K.tag !== 4) {
|
|
@@ -39024,7 +39024,7 @@ Error generating stack: ` + te.message + `
|
|
|
39024
39024
|
for (var K = b.child; K !== null; ) {
|
|
39025
39025
|
if (K.tag === 5) {
|
|
39026
39026
|
var te = K.stateNode;
|
|
39027
|
-
j && $ && (te =
|
|
39027
|
+
j && $ && (te = at(te, K.type, K.memoizedProps, K)), Me(v, te);
|
|
39028
39028
|
} else if (K.tag === 6)
|
|
39029
39029
|
te = K.stateNode, j && $ && (te = It(te, K.memoizedProps, K)), Me(v, te);
|
|
39030
39030
|
else if (K.tag !== 4) {
|
|
@@ -39255,7 +39255,7 @@ Error generating stack: ` + te.message + `
|
|
|
39255
39255
|
return null;
|
|
39256
39256
|
}
|
|
39257
39257
|
}
|
|
39258
|
-
var fl = !1, nn = !1, Gc = typeof WeakSet == "function" ? WeakSet : Set,
|
|
39258
|
+
var fl = !1, nn = !1, Gc = typeof WeakSet == "function" ? WeakSet : Set, st = null;
|
|
39259
39259
|
function En(v, b) {
|
|
39260
39260
|
var j = v.ref;
|
|
39261
39261
|
if (j !== null)
|
|
@@ -39277,12 +39277,12 @@ Error generating stack: ` + te.message + `
|
|
|
39277
39277
|
}
|
|
39278
39278
|
var ks = !1;
|
|
39279
39279
|
function Cu(v, b) {
|
|
39280
|
-
for (I(v.containerInfo),
|
|
39281
|
-
if (v =
|
|
39282
|
-
b.return = v,
|
|
39280
|
+
for (I(v.containerInfo), st = b; st !== null; )
|
|
39281
|
+
if (v = st, b = v.child, (v.subtreeFlags & 1028) !== 0 && b !== null)
|
|
39282
|
+
b.return = v, st = b;
|
|
39283
39283
|
else
|
|
39284
|
-
for (;
|
|
39285
|
-
v =
|
|
39284
|
+
for (; st !== null; ) {
|
|
39285
|
+
v = st;
|
|
39286
39286
|
try {
|
|
39287
39287
|
var j = v.alternate;
|
|
39288
39288
|
if (v.flags & 1024)
|
|
@@ -39312,10 +39312,10 @@ Error generating stack: ` + te.message + `
|
|
|
39312
39312
|
Qt(v, v.return, _e);
|
|
39313
39313
|
}
|
|
39314
39314
|
if (b = v.sibling, b !== null) {
|
|
39315
|
-
b.return = v.return,
|
|
39315
|
+
b.return = v.return, st = b;
|
|
39316
39316
|
break;
|
|
39317
39317
|
}
|
|
39318
|
-
|
|
39318
|
+
st = v.return;
|
|
39319
39319
|
}
|
|
39320
39320
|
return j = ks, ks = !1, j;
|
|
39321
39321
|
}
|
|
@@ -39605,9 +39605,9 @@ Error generating stack: ` + te.message + `
|
|
|
39605
39605
|
var ue = j !== null && j.memoizedState !== null;
|
|
39606
39606
|
if (v.mode & 1 ? (nn = (j = nn) || ue, Fn(b, v), nn = j) : Fn(b, v), bn(v), $ & 8192) {
|
|
39607
39607
|
if (j = v.memoizedState !== null, (v.stateNode.isHidden = j) && !ue && v.mode & 1)
|
|
39608
|
-
for (
|
|
39609
|
-
for (b =
|
|
39610
|
-
ue =
|
|
39608
|
+
for (st = v, $ = v.child; $ !== null; ) {
|
|
39609
|
+
for (b = st = $; st !== null; ) {
|
|
39610
|
+
ue = st;
|
|
39611
39611
|
var _e = ue.child;
|
|
39612
39612
|
switch (ue.tag) {
|
|
39613
39613
|
case 0:
|
|
@@ -39638,7 +39638,7 @@ Error generating stack: ` + te.message + `
|
|
|
39638
39638
|
continue;
|
|
39639
39639
|
}
|
|
39640
39640
|
}
|
|
39641
|
-
_e !== null ? (_e.return = ue,
|
|
39641
|
+
_e !== null ? (_e.return = ue, st = _e) : Xa(b);
|
|
39642
39642
|
}
|
|
39643
39643
|
$ = $.sibling;
|
|
39644
39644
|
}
|
|
@@ -39726,11 +39726,11 @@ Error generating stack: ` + te.message + `
|
|
|
39726
39726
|
b & 4096 && (v.flags &= -4097);
|
|
39727
39727
|
}
|
|
39728
39728
|
function Hc(v, b, j) {
|
|
39729
|
-
|
|
39729
|
+
st = v, Vc(v);
|
|
39730
39730
|
}
|
|
39731
39731
|
function Vc(v, b, j) {
|
|
39732
|
-
for (var $ = (v.mode & 1) !== 0;
|
|
39733
|
-
var K =
|
|
39732
|
+
for (var $ = (v.mode & 1) !== 0; st !== null; ) {
|
|
39733
|
+
var K = st, te = K.child;
|
|
39734
39734
|
if (K.tag === 22 && $) {
|
|
39735
39735
|
var ue = K.memoizedState !== null || fl;
|
|
39736
39736
|
if (!ue) {
|
|
@@ -39738,20 +39738,20 @@ Error generating stack: ` + te.message + `
|
|
|
39738
39738
|
_e = fl;
|
|
39739
39739
|
var Ye = nn;
|
|
39740
39740
|
if (fl = ue, (nn = we) && !Ye)
|
|
39741
|
-
for (
|
|
39742
|
-
ue =
|
|
39741
|
+
for (st = K; st !== null; )
|
|
39742
|
+
ue = st, we = ue.child, ue.tag === 22 && ue.memoizedState !== null ? an(K) : we !== null ? (we.return = ue, st = we) : an(K);
|
|
39743
39743
|
for (; te !== null; )
|
|
39744
|
-
|
|
39745
|
-
|
|
39744
|
+
st = te, Vc(te), te = te.sibling;
|
|
39745
|
+
st = K, fl = _e, nn = Ye;
|
|
39746
39746
|
}
|
|
39747
39747
|
Wc(v);
|
|
39748
39748
|
} else
|
|
39749
|
-
K.subtreeFlags & 8772 && te !== null ? (te.return = K,
|
|
39749
|
+
K.subtreeFlags & 8772 && te !== null ? (te.return = K, st = te) : Wc(v);
|
|
39750
39750
|
}
|
|
39751
39751
|
}
|
|
39752
39752
|
function Wc(v) {
|
|
39753
|
-
for (;
|
|
39754
|
-
var b =
|
|
39753
|
+
for (; st !== null; ) {
|
|
39754
|
+
var b = st;
|
|
39755
39755
|
if (b.flags & 8772) {
|
|
39756
39756
|
var j = b.alternate;
|
|
39757
39757
|
try {
|
|
@@ -39826,34 +39826,34 @@ Error generating stack: ` + te.message + `
|
|
|
39826
39826
|
}
|
|
39827
39827
|
}
|
|
39828
39828
|
if (b === v) {
|
|
39829
|
-
|
|
39829
|
+
st = null;
|
|
39830
39830
|
break;
|
|
39831
39831
|
}
|
|
39832
39832
|
if (j = b.sibling, j !== null) {
|
|
39833
|
-
j.return = b.return,
|
|
39833
|
+
j.return = b.return, st = j;
|
|
39834
39834
|
break;
|
|
39835
39835
|
}
|
|
39836
|
-
|
|
39836
|
+
st = b.return;
|
|
39837
39837
|
}
|
|
39838
39838
|
}
|
|
39839
39839
|
function Xa(v) {
|
|
39840
|
-
for (;
|
|
39841
|
-
var b =
|
|
39840
|
+
for (; st !== null; ) {
|
|
39841
|
+
var b = st;
|
|
39842
39842
|
if (b === v) {
|
|
39843
|
-
|
|
39843
|
+
st = null;
|
|
39844
39844
|
break;
|
|
39845
39845
|
}
|
|
39846
39846
|
var j = b.sibling;
|
|
39847
39847
|
if (j !== null) {
|
|
39848
|
-
j.return = b.return,
|
|
39848
|
+
j.return = b.return, st = j;
|
|
39849
39849
|
break;
|
|
39850
39850
|
}
|
|
39851
|
-
|
|
39851
|
+
st = b.return;
|
|
39852
39852
|
}
|
|
39853
39853
|
}
|
|
39854
39854
|
function an(v) {
|
|
39855
|
-
for (;
|
|
39856
|
-
var b =
|
|
39855
|
+
for (; st !== null; ) {
|
|
39856
|
+
var b = st;
|
|
39857
39857
|
try {
|
|
39858
39858
|
switch (b.tag) {
|
|
39859
39859
|
case 0:
|
|
@@ -39895,15 +39895,15 @@ Error generating stack: ` + te.message + `
|
|
|
39895
39895
|
Qt(b, b.return, we);
|
|
39896
39896
|
}
|
|
39897
39897
|
if (b === v) {
|
|
39898
|
-
|
|
39898
|
+
st = null;
|
|
39899
39899
|
break;
|
|
39900
39900
|
}
|
|
39901
39901
|
var _e = b.sibling;
|
|
39902
39902
|
if (_e !== null) {
|
|
39903
|
-
_e.return = b.return,
|
|
39903
|
+
_e.return = b.return, st = _e;
|
|
39904
39904
|
break;
|
|
39905
39905
|
}
|
|
39906
|
-
|
|
39906
|
+
st = b.return;
|
|
39907
39907
|
}
|
|
39908
39908
|
}
|
|
39909
39909
|
var Ze = 0, Wn = 1, jn = 2, ml = 3, gl = 4;
|
|
@@ -40453,15 +40453,15 @@ Error generating stack: ` + te.message + `
|
|
|
40453
40453
|
if (v = Mr, Mr = null, ii = 0, $t & 6)
|
|
40454
40454
|
throw Error(l(331));
|
|
40455
40455
|
var K = $t;
|
|
40456
|
-
for ($t |= 4,
|
|
40457
|
-
var te =
|
|
40458
|
-
if (
|
|
40456
|
+
for ($t |= 4, st = v.current; st !== null; ) {
|
|
40457
|
+
var te = st, ue = te.child;
|
|
40458
|
+
if (st.flags & 16) {
|
|
40459
40459
|
var _e = te.deletions;
|
|
40460
40460
|
if (_e !== null) {
|
|
40461
40461
|
for (var we = 0; we < _e.length; we++) {
|
|
40462
40462
|
var Ye = _e[we];
|
|
40463
|
-
for (
|
|
40464
|
-
var ot =
|
|
40463
|
+
for (st = Ye; st !== null; ) {
|
|
40464
|
+
var ot = st;
|
|
40465
40465
|
switch (ot.tag) {
|
|
40466
40466
|
case 0:
|
|
40467
40467
|
case 11:
|
|
@@ -40470,20 +40470,20 @@ Error generating stack: ` + te.message + `
|
|
|
40470
40470
|
}
|
|
40471
40471
|
var xt = ot.child;
|
|
40472
40472
|
if (xt !== null)
|
|
40473
|
-
xt.return = ot,
|
|
40473
|
+
xt.return = ot, st = xt;
|
|
40474
40474
|
else
|
|
40475
|
-
for (;
|
|
40476
|
-
ot =
|
|
40475
|
+
for (; st !== null; ) {
|
|
40476
|
+
ot = st;
|
|
40477
40477
|
var et = ot.sibling, Sr = ot.return;
|
|
40478
40478
|
if (Bc(ot), ot === Ye) {
|
|
40479
|
-
|
|
40479
|
+
st = null;
|
|
40480
40480
|
break;
|
|
40481
40481
|
}
|
|
40482
40482
|
if (et !== null) {
|
|
40483
|
-
et.return = Sr,
|
|
40483
|
+
et.return = Sr, st = et;
|
|
40484
40484
|
break;
|
|
40485
40485
|
}
|
|
40486
|
-
|
|
40486
|
+
st = Sr;
|
|
40487
40487
|
}
|
|
40488
40488
|
}
|
|
40489
40489
|
}
|
|
@@ -40498,15 +40498,15 @@ Error generating stack: ` + te.message + `
|
|
|
40498
40498
|
} while (ur !== null);
|
|
40499
40499
|
}
|
|
40500
40500
|
}
|
|
40501
|
-
|
|
40501
|
+
st = te;
|
|
40502
40502
|
}
|
|
40503
40503
|
}
|
|
40504
40504
|
if (te.subtreeFlags & 2064 && ue !== null)
|
|
40505
|
-
ue.return = te,
|
|
40505
|
+
ue.return = te, st = ue;
|
|
40506
40506
|
else
|
|
40507
40507
|
e:
|
|
40508
|
-
for (;
|
|
40509
|
-
if (te =
|
|
40508
|
+
for (; st !== null; ) {
|
|
40509
|
+
if (te = st, te.flags & 2048)
|
|
40510
40510
|
switch (te.tag) {
|
|
40511
40511
|
case 0:
|
|
40512
40512
|
case 11:
|
|
@@ -40515,22 +40515,22 @@ Error generating stack: ` + te.message + `
|
|
|
40515
40515
|
}
|
|
40516
40516
|
var Ae = te.sibling;
|
|
40517
40517
|
if (Ae !== null) {
|
|
40518
|
-
Ae.return = te.return,
|
|
40518
|
+
Ae.return = te.return, st = Ae;
|
|
40519
40519
|
break e;
|
|
40520
40520
|
}
|
|
40521
|
-
|
|
40521
|
+
st = te.return;
|
|
40522
40522
|
}
|
|
40523
40523
|
}
|
|
40524
40524
|
var Se = v.current;
|
|
40525
|
-
for (
|
|
40526
|
-
ue =
|
|
40525
|
+
for (st = Se; st !== null; ) {
|
|
40526
|
+
ue = st;
|
|
40527
40527
|
var Ne = ue.child;
|
|
40528
40528
|
if (ue.subtreeFlags & 2064 && Ne !== null)
|
|
40529
|
-
Ne.return = ue,
|
|
40529
|
+
Ne.return = ue, st = Ne;
|
|
40530
40530
|
else
|
|
40531
40531
|
e:
|
|
40532
|
-
for (ue = Se;
|
|
40533
|
-
if (_e =
|
|
40532
|
+
for (ue = Se; st !== null; ) {
|
|
40533
|
+
if (_e = st, _e.flags & 2048)
|
|
40534
40534
|
try {
|
|
40535
40535
|
switch (_e.tag) {
|
|
40536
40536
|
case 0:
|
|
@@ -40542,15 +40542,15 @@ Error generating stack: ` + te.message + `
|
|
|
40542
40542
|
Qt(_e, _e.return, gt);
|
|
40543
40543
|
}
|
|
40544
40544
|
if (_e === ue) {
|
|
40545
|
-
|
|
40545
|
+
st = null;
|
|
40546
40546
|
break e;
|
|
40547
40547
|
}
|
|
40548
40548
|
var tt = _e.sibling;
|
|
40549
40549
|
if (tt !== null) {
|
|
40550
|
-
tt.return = _e.return,
|
|
40550
|
+
tt.return = _e.return, st = tt;
|
|
40551
40551
|
break e;
|
|
40552
40552
|
}
|
|
40553
|
-
|
|
40553
|
+
st = _e.return;
|
|
40554
40554
|
}
|
|
40555
40555
|
}
|
|
40556
40556
|
if ($t = K, pi(), Ai && typeof Ai.onPostCommitFiberRoot == "function")
|
|
@@ -41334,7 +41334,7 @@ function requireReactReconciler_development() {
|
|
|
41334
41334
|
), bt = (
|
|
41335
41335
|
/* */
|
|
41336
41336
|
512
|
|
41337
|
-
),
|
|
41337
|
+
), at = (
|
|
41338
41338
|
/* */
|
|
41339
41339
|
1024
|
|
41340
41340
|
), It = (
|
|
@@ -41349,7 +41349,7 @@ function requireReactReconciler_development() {
|
|
|
41349
41349
|
), Ui = (
|
|
41350
41350
|
/* */
|
|
41351
41351
|
16384
|
|
41352
|
-
), ja = It | ct | ze | bt |
|
|
41352
|
+
), ja = It | ct | ze | bt | at | Ui, la = (
|
|
41353
41353
|
/* */
|
|
41354
41354
|
32767
|
|
41355
41355
|
), Gi = (
|
|
@@ -41382,7 +41382,7 @@ function requireReactReconciler_development() {
|
|
|
41382
41382
|
), Ut = (
|
|
41383
41383
|
// TODO: Remove Update flag from before mutation phase by re-landing Visibility
|
|
41384
41384
|
// flag logic (see #20043)
|
|
41385
|
-
ct |
|
|
41385
|
+
ct | at | 0
|
|
41386
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;
|
|
@@ -42344,7 +42344,7 @@ function requireReactReconciler_development() {
|
|
|
42344
42344
|
}), re.clear()), d &= ~Y;
|
|
42345
42345
|
}
|
|
42346
42346
|
}
|
|
42347
|
-
function
|
|
42347
|
+
function st(s, d) {
|
|
42348
42348
|
return null;
|
|
42349
42349
|
}
|
|
42350
42350
|
var En = At, Ka = Ni, ks = xi, Cu = _a, qi = Br;
|
|
@@ -43811,14 +43811,14 @@ https://reactjs.org/link/unsafe-component-lifecycles`, vt, Pt, Fe !== null ? `
|
|
|
43811
43811
|
!Ge && (typeof Y.UNSAFE_componentWillReceiveProps == "function" || typeof Y.componentWillReceiveProps == "function") && (re !== le || me !== Ee) && lm(d, Y, D, Ee), em();
|
|
43812
43812
|
var Ie = d.memoizedState, vt = Y.state = Ie;
|
|
43813
43813
|
if (hd(d, D, Y, M), vt = d.memoizedState, re === le && Ie === vt && !Es() && !pd() && !p)
|
|
43814
|
-
return typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= ct), typeof Y.getSnapshotBeforeUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |=
|
|
43814
|
+
return typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= ct), typeof Y.getSnapshotBeforeUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= at), !1;
|
|
43815
43815
|
typeof Fe == "function" && (rh(d, N, Fe, D), vt = d.memoizedState);
|
|
43816
43816
|
var Pt = pd() || am(d, N, ae, D, Ie, vt, Ee) || // TODO: In some cases, we'll end up checking if context has changed twice,
|
|
43817
43817
|
// both before and after `shouldComponentUpdate` has been called. Not ideal,
|
|
43818
43818
|
// but I'm loath to refactor this function. This only happens for memoized
|
|
43819
43819
|
// components so it's not that common.
|
|
43820
43820
|
p;
|
|
43821
|
-
return Pt ? (!Ge && (typeof Y.UNSAFE_componentWillUpdate == "function" || typeof Y.componentWillUpdate == "function") && (typeof Y.componentWillUpdate == "function" && Y.componentWillUpdate(D, vt, Ee), typeof Y.UNSAFE_componentWillUpdate == "function" && Y.UNSAFE_componentWillUpdate(D, vt, Ee)), typeof Y.componentDidUpdate == "function" && (d.flags |= ct), typeof Y.getSnapshotBeforeUpdate == "function" && (d.flags |=
|
|
43821
|
+
return Pt ? (!Ge && (typeof Y.UNSAFE_componentWillUpdate == "function" || typeof Y.componentWillUpdate == "function") && (typeof Y.componentWillUpdate == "function" && Y.componentWillUpdate(D, vt, Ee), typeof Y.UNSAFE_componentWillUpdate == "function" && Y.UNSAFE_componentWillUpdate(D, vt, Ee)), typeof Y.componentDidUpdate == "function" && (d.flags |= ct), typeof Y.getSnapshotBeforeUpdate == "function" && (d.flags |= at)) : (typeof Y.componentDidUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= ct), typeof Y.getSnapshotBeforeUpdate == "function" && (re !== s.memoizedProps || Ie !== s.memoizedState) && (d.flags |= at), d.memoizedProps = D, d.memoizedState = vt), Y.props = D, Y.state = vt, Y.context = Ee, Pt;
|
|
43822
43822
|
}
|
|
43823
43823
|
var ah, sh, oh, lh, uh, um = function(s, d) {
|
|
43824
43824
|
};
|
|
@@ -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 & dt) !== $e) && (d.flags |=
|
|
47067
|
+
(d.flags & dt) !== $e) && (d.flags |= at, b());
|
|
47068
47068
|
}
|
|
47069
47069
|
}
|
|
47070
47070
|
return tc(s, d), Rn(d), null;
|
|
@@ -47445,7 +47445,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47445
47445
|
}
|
|
47446
47446
|
function ey(s) {
|
|
47447
47447
|
var d = s.alternate, N = s.flags;
|
|
47448
|
-
if ((N &
|
|
47448
|
+
if ((N & at) !== $e) {
|
|
47449
47449
|
switch (or(s), s.tag) {
|
|
47450
47450
|
case P:
|
|
47451
47451
|
case z:
|
|
@@ -49183,7 +49183,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49183
49183
|
var M = s.memoizedUpdaters;
|
|
49184
49184
|
M.size > 0 && (pc(s, hn), M.clear()), Gc(s, d);
|
|
49185
49185
|
}
|
|
49186
|
-
ls =
|
|
49186
|
+
ls = st(), Co(s, d);
|
|
49187
49187
|
}
|
|
49188
49188
|
yl(d);
|
|
49189
49189
|
do
|
|
@@ -49211,7 +49211,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49211
49211
|
var M = s.memoizedUpdaters;
|
|
49212
49212
|
M.size > 0 && (pc(s, hn), M.clear()), Gc(s, d);
|
|
49213
49213
|
}
|
|
49214
|
-
ls =
|
|
49214
|
+
ls = st(), Il(), Co(s, d);
|
|
49215
49215
|
}
|
|
49216
49216
|
yl(d);
|
|
49217
49217
|
do
|
|
@@ -57438,7 +57438,7 @@ function DialogComponent({
|
|
|
57438
57438
|
}, [F, W, r, qe, n]), ht = useCallback(
|
|
57439
57439
|
(ze) => {
|
|
57440
57440
|
var dt, bt;
|
|
57441
|
-
const Me = t.find((
|
|
57441
|
+
const Me = t.find((at) => (at == null ? void 0 : at.uid) === (ze == null ? void 0 : ze.uid) ? at : "");
|
|
57442
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]
|
|
@@ -57470,8 +57470,8 @@ function DialogComponent({
|
|
|
57470
57470
|
ze(), raycast.set(R.getWorldPosition(new Vector3(0, 0, 0)), R.getWorldDirection(new Vector3()));
|
|
57471
57471
|
const dt = raycast.intersectObjects(A.children, !0);
|
|
57472
57472
|
O.current = dt.filter((bt) => bt.distance < 10), O.current.length && O.current.forEach((bt) => {
|
|
57473
|
-
const { object:
|
|
57474
|
-
|
|
57473
|
+
const { object: at } = bt;
|
|
57474
|
+
at.material.side = 0;
|
|
57475
57475
|
}), I.current = !1, H.current && e({ type: "success" }), L.current.child || R.copy(k);
|
|
57476
57476
|
},
|
|
57477
57477
|
...animationTarget.position
|
|
@@ -57480,7 +57480,7 @@ function DialogComponent({
|
|
|
57480
57480
|
}, Ot = useCallback(() => {
|
|
57481
57481
|
L.current.child = null, L.current.parent = null, l && er();
|
|
57482
57482
|
}, [l]), _t = (ze, Me, dt, bt = !1) => {
|
|
57483
|
-
const
|
|
57483
|
+
const at = Me.includes("seated");
|
|
57484
57484
|
dt ? V(ze, dt.url, Me.includes("talking")).then((It) => {
|
|
57485
57485
|
if (It) {
|
|
57486
57486
|
const ir = It.setLoop(LoopRepeat, 1 / 0).getMixer(), Yr = () => {
|
|
@@ -57492,15 +57492,20 @@ function DialogComponent({
|
|
|
57492
57492
|
};
|
|
57493
57493
|
It && BASIC_ACTIONS_TYPES_WHITELIST.includes(dt.animationId) ? ir.addEventListener("loop", Yr) : ir._listeners && (ir._listeners.loop = []);
|
|
57494
57494
|
}
|
|
57495
|
-
}) : U(ze, bt && !
|
|
57495
|
+
}) : U(ze, bt && !at ? `${Me}-seated` : Me);
|
|
57496
57496
|
}, kt = () => {
|
|
57497
57497
|
if (!(B != null && B.emotion) || H.current)
|
|
57498
57498
|
return;
|
|
57499
57499
|
const { emotion: ze, uid: Me, animation: dt } = B, bt = getCurrentVisible(Me, A);
|
|
57500
57500
|
if (bt) {
|
|
57501
|
-
const { isSeated:
|
|
57501
|
+
const { isSeated: at } = bt;
|
|
57502
57502
|
Q(Me).then(() => {
|
|
57503
|
-
_t(
|
|
57503
|
+
_t(
|
|
57504
|
+
Me,
|
|
57505
|
+
at && !ze.includes("seated") ? `${ze}-seated_talking` : `${ze}_talking`,
|
|
57506
|
+
dt,
|
|
57507
|
+
at
|
|
57508
|
+
), dt && BASIC_ACTIONS_TYPES_WHITELIST.includes(dt.animationId) && (ie.current = Me);
|
|
57504
57509
|
});
|
|
57505
57510
|
}
|
|
57506
57511
|
}, Ft = () => {
|
|
@@ -57508,8 +57513,8 @@ function DialogComponent({
|
|
|
57508
57513
|
return;
|
|
57509
57514
|
const { emotion: ze, uid: Me, animation: dt } = B, bt = getCurrentVisible(Me, A);
|
|
57510
57515
|
if (bt) {
|
|
57511
|
-
const { isSeated:
|
|
57512
|
-
ie.current === Me ? (_t(Me, "neutral", null,
|
|
57516
|
+
const { isSeated: at } = bt;
|
|
57517
|
+
ie.current === Me ? (_t(Me, "neutral", null, at), ie.current = null) : _t(Me, ze, dt, at);
|
|
57513
57518
|
}
|
|
57514
57519
|
}, Ke = useCallback(() => {
|
|
57515
57520
|
H.current = !0, xe({ show: !1 }), Ot(), X(), l || e({ type: "success" });
|
|
@@ -57527,14 +57532,14 @@ function DialogComponent({
|
|
|
57527
57532
|
return;
|
|
57528
57533
|
}
|
|
57529
57534
|
ze || Be(Ve.slice(0, Ve.length - 1));
|
|
57530
|
-
const
|
|
57531
|
-
|
|
57535
|
+
const at = r.findIndex((It) => It.id === bt[Me[1]]);
|
|
57536
|
+
at >= 0 ? mt(at) : Ke();
|
|
57532
57537
|
},
|
|
57533
57538
|
[F == null ? void 0 : F.id, e, n, Ke, r]
|
|
57534
57539
|
), he = useCallback(
|
|
57535
57540
|
(ze, Me) => {
|
|
57536
|
-
const dt = [3, 2, 1][ze.id],
|
|
57537
|
-
It >= 0 ? (
|
|
57541
|
+
const dt = [3, 2, 1][ze.id], at = n.filter((ir) => ir.fromId === (F == null ? void 0 : F.id)).find((ir) => parseInt(ir.fromPointIndex) === dt), It = r.findIndex((ir) => ir.id === (at == null ? void 0 : at.toId));
|
|
57542
|
+
It >= 0 ? (at == null ? void 0 : at.fromId) === (at == null ? void 0 : at.toId) ? Me() : mt(It) : Ke();
|
|
57538
57543
|
},
|
|
57539
57544
|
[F == null ? void 0 : F.id, n, Ke, r]
|
|
57540
57545
|
), pe = useCallback(() => {
|
|
@@ -57548,10 +57553,10 @@ function DialogComponent({
|
|
|
57548
57553
|
(ze) => {
|
|
57549
57554
|
if (W) {
|
|
57550
57555
|
if (ze) {
|
|
57551
|
-
const Me = [3, 2, 1][ze.id], bt = n.filter((
|
|
57556
|
+
const Me = [3, 2, 1][ze.id], bt = n.filter((at) => at.fromId === F.id).find((at) => parseInt(at.fromPointIndex) === Me);
|
|
57552
57557
|
if (bt) {
|
|
57553
|
-
const
|
|
57554
|
-
|
|
57558
|
+
const at = r.findIndex((It) => It.id === bt.toId);
|
|
57559
|
+
at >= 0 && e({ type: "notifyProgress", payload: { line: at } });
|
|
57555
57560
|
} else
|
|
57556
57561
|
e({ type: "saveNode" });
|
|
57557
57562
|
}
|
|
@@ -57609,8 +57614,8 @@ function DialogComponent({
|
|
|
57609
57614
|
return;
|
|
57610
57615
|
const Me = new Object3D(), dt = ze.getObjectByName("Head_M");
|
|
57611
57616
|
dt.updateMatrixWorld(!0), Me.applyMatrix4(dt.matrixWorld), Me.applyQuaternion(R.quaternion);
|
|
57612
|
-
const bt = l ? 2.5 : 2,
|
|
57613
|
-
Me.translateY(bt), Me.translateX(
|
|
57617
|
+
const bt = l ? 2.5 : 2, at = l ? 1.2 : 1.5;
|
|
57618
|
+
Me.translateY(bt), Me.translateX(at);
|
|
57614
57619
|
const It = new Vector3();
|
|
57615
57620
|
It.setFromMatrixPosition(dt.matrixWorld);
|
|
57616
57621
|
const Yr = It.project(R).x < 0;
|
|
@@ -57637,22 +57642,22 @@ function DialogComponent({
|
|
|
57637
57642
|
show: !0
|
|
57638
57643
|
});
|
|
57639
57644
|
else if (!H.current && !oe) {
|
|
57640
|
-
const Me = F == null ? void 0 : F.slots.filter((
|
|
57641
|
-
if (Oe.filter((
|
|
57642
|
-
U(
|
|
57643
|
-
}), Me.forEach((
|
|
57644
|
-
const It = getCurrentVisible(
|
|
57645
|
+
const Me = F == null ? void 0 : F.slots.filter((at) => at.uid && !at.talking), dt = [...Me.map((at) => at.uid) || [], B == null ? void 0 : B.uid];
|
|
57646
|
+
if (Oe.filter((at) => !dt.includes(at)).forEach((at) => {
|
|
57647
|
+
U(at, "idle");
|
|
57648
|
+
}), Me.forEach((at) => {
|
|
57649
|
+
const It = getCurrentVisible(at.uid, A);
|
|
57645
57650
|
if (It) {
|
|
57646
57651
|
const { isSeated: ir } = It;
|
|
57647
|
-
_t(
|
|
57652
|
+
_t(at.uid, at.emotion, at.animation, ir);
|
|
57648
57653
|
}
|
|
57649
57654
|
}), B) {
|
|
57650
|
-
const
|
|
57651
|
-
|
|
57655
|
+
const at = getCurrentVisible(B.uid, A), It = t.find((ir) => ir.uid === B.uid);
|
|
57656
|
+
at && !H.current ? setTimeout(() => {
|
|
57652
57657
|
var ir, Yr;
|
|
57653
|
-
if (B.uid ===
|
|
57654
|
-
$e(
|
|
57655
|
-
const { isSeated: Ui, userData: ja } =
|
|
57658
|
+
if (B.uid === at.uid) {
|
|
57659
|
+
$e(at);
|
|
57660
|
+
const { isSeated: Ui, userData: ja } = at, { emotion: la, animation: Gi } = B;
|
|
57656
57661
|
!((ir = ja._active) != null && ir.includes("talking")) && !((Yr = ja._active) != null && Yr.includes(la)) && _t(B.uid, la, Gi, Ui);
|
|
57657
57662
|
const kr = () => {
|
|
57658
57663
|
var ge;
|