tybotflow-widget 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +633 -628
- package/dist/index.umd.js +32 -32
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -296,7 +296,7 @@ var wA;
|
|
|
296
296
|
function cM() {
|
|
297
297
|
return wA || (wA = 1, sp.exports = uM()), sp.exports;
|
|
298
298
|
}
|
|
299
|
-
var up = { exports: {} },
|
|
299
|
+
var up = { exports: {} }, Ue = {};
|
|
300
300
|
/**
|
|
301
301
|
* @license React
|
|
302
302
|
* react.production.js
|
|
@@ -308,7 +308,7 @@ var up = { exports: {} }, Be = {};
|
|
|
308
308
|
*/
|
|
309
309
|
var AA;
|
|
310
310
|
function dM() {
|
|
311
|
-
if (AA) return
|
|
311
|
+
if (AA) return Ue;
|
|
312
312
|
AA = 1;
|
|
313
313
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.consumer"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), m = Symbol.iterator;
|
|
314
314
|
function y(S) {
|
|
@@ -515,7 +515,7 @@ function dM() {
|
|
|
515
515
|
};
|
|
516
516
|
function oe() {
|
|
517
517
|
}
|
|
518
|
-
return
|
|
518
|
+
return Ue.Children = {
|
|
519
519
|
map: j,
|
|
520
520
|
forEach: function(S, q, Q) {
|
|
521
521
|
j(
|
|
@@ -544,16 +544,16 @@ function dM() {
|
|
|
544
544
|
);
|
|
545
545
|
return S;
|
|
546
546
|
}
|
|
547
|
-
},
|
|
547
|
+
}, Ue.Component = x, Ue.Fragment = n, Ue.Profiler = o, Ue.PureComponent = N, Ue.StrictMode = a, Ue.Suspense = p, Ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = D, Ue.__COMPILER_RUNTIME = {
|
|
548
548
|
__proto__: null,
|
|
549
549
|
c: function(S) {
|
|
550
550
|
return D.H.useMemoCache(S);
|
|
551
551
|
}
|
|
552
|
-
},
|
|
552
|
+
}, Ue.cache = function(S) {
|
|
553
553
|
return function() {
|
|
554
554
|
return S.apply(null, arguments);
|
|
555
555
|
};
|
|
556
|
-
},
|
|
556
|
+
}, Ue.cloneElement = function(S, q, Q) {
|
|
557
557
|
if (S == null)
|
|
558
558
|
throw Error(
|
|
559
559
|
"The argument must be a React element, but you passed " + S + "."
|
|
@@ -570,7 +570,7 @@ function dM() {
|
|
|
570
570
|
L.children = xe;
|
|
571
571
|
}
|
|
572
572
|
return M(S.type, se, void 0, void 0, be, L);
|
|
573
|
-
},
|
|
573
|
+
}, Ue.createContext = function(S) {
|
|
574
574
|
return S = {
|
|
575
575
|
$$typeof: u,
|
|
576
576
|
_currentValue: S,
|
|
@@ -582,7 +582,7 @@ function dM() {
|
|
|
582
582
|
$$typeof: l,
|
|
583
583
|
_context: S
|
|
584
584
|
}, S;
|
|
585
|
-
},
|
|
585
|
+
}, Ue.createElement = function(S, q, Q) {
|
|
586
586
|
var L, se = {}, be = null;
|
|
587
587
|
if (q != null)
|
|
588
588
|
for (L in q.key !== void 0 && (be = "" + q.key), q)
|
|
@@ -598,23 +598,23 @@ function dM() {
|
|
|
598
598
|
for (L in de = S.defaultProps, de)
|
|
599
599
|
se[L] === void 0 && (se[L] = de[L]);
|
|
600
600
|
return M(S, be, void 0, void 0, null, se);
|
|
601
|
-
},
|
|
601
|
+
}, Ue.createRef = function() {
|
|
602
602
|
return { current: null };
|
|
603
|
-
},
|
|
603
|
+
}, Ue.forwardRef = function(S) {
|
|
604
604
|
return { $$typeof: d, render: S };
|
|
605
|
-
},
|
|
605
|
+
}, Ue.isValidElement = P, Ue.lazy = function(S) {
|
|
606
606
|
return {
|
|
607
607
|
$$typeof: h,
|
|
608
608
|
_payload: { _status: -1, _result: S },
|
|
609
609
|
_init: $
|
|
610
610
|
};
|
|
611
|
-
},
|
|
611
|
+
}, Ue.memo = function(S, q) {
|
|
612
612
|
return {
|
|
613
613
|
$$typeof: f,
|
|
614
614
|
type: S,
|
|
615
615
|
compare: q === void 0 ? null : q
|
|
616
616
|
};
|
|
617
|
-
},
|
|
617
|
+
}, Ue.startTransition = function(S) {
|
|
618
618
|
var q = D.T, Q = {};
|
|
619
619
|
D.T = Q;
|
|
620
620
|
try {
|
|
@@ -625,53 +625,53 @@ function dM() {
|
|
|
625
625
|
} finally {
|
|
626
626
|
D.T = q;
|
|
627
627
|
}
|
|
628
|
-
},
|
|
628
|
+
}, Ue.unstable_useCacheRefresh = function() {
|
|
629
629
|
return D.H.useCacheRefresh();
|
|
630
|
-
},
|
|
630
|
+
}, Ue.use = function(S) {
|
|
631
631
|
return D.H.use(S);
|
|
632
|
-
},
|
|
632
|
+
}, Ue.useActionState = function(S, q, Q) {
|
|
633
633
|
return D.H.useActionState(S, q, Q);
|
|
634
|
-
},
|
|
634
|
+
}, Ue.useCallback = function(S, q) {
|
|
635
635
|
return D.H.useCallback(S, q);
|
|
636
|
-
},
|
|
636
|
+
}, Ue.useContext = function(S) {
|
|
637
637
|
return D.H.useContext(S);
|
|
638
|
-
},
|
|
639
|
-
},
|
|
638
|
+
}, Ue.useDebugValue = function() {
|
|
639
|
+
}, Ue.useDeferredValue = function(S, q) {
|
|
640
640
|
return D.H.useDeferredValue(S, q);
|
|
641
|
-
},
|
|
641
|
+
}, Ue.useEffect = function(S, q, Q) {
|
|
642
642
|
var L = D.H;
|
|
643
643
|
if (typeof Q == "function")
|
|
644
644
|
throw Error(
|
|
645
645
|
"useEffect CRUD overload is not enabled in this build of React."
|
|
646
646
|
);
|
|
647
647
|
return L.useEffect(S, q);
|
|
648
|
-
},
|
|
648
|
+
}, Ue.useId = function() {
|
|
649
649
|
return D.H.useId();
|
|
650
|
-
},
|
|
650
|
+
}, Ue.useImperativeHandle = function(S, q, Q) {
|
|
651
651
|
return D.H.useImperativeHandle(S, q, Q);
|
|
652
|
-
},
|
|
652
|
+
}, Ue.useInsertionEffect = function(S, q) {
|
|
653
653
|
return D.H.useInsertionEffect(S, q);
|
|
654
|
-
},
|
|
654
|
+
}, Ue.useLayoutEffect = function(S, q) {
|
|
655
655
|
return D.H.useLayoutEffect(S, q);
|
|
656
|
-
},
|
|
656
|
+
}, Ue.useMemo = function(S, q) {
|
|
657
657
|
return D.H.useMemo(S, q);
|
|
658
|
-
},
|
|
658
|
+
}, Ue.useOptimistic = function(S, q) {
|
|
659
659
|
return D.H.useOptimistic(S, q);
|
|
660
|
-
},
|
|
660
|
+
}, Ue.useReducer = function(S, q, Q) {
|
|
661
661
|
return D.H.useReducer(S, q, Q);
|
|
662
|
-
},
|
|
662
|
+
}, Ue.useRef = function(S) {
|
|
663
663
|
return D.H.useRef(S);
|
|
664
|
-
},
|
|
664
|
+
}, Ue.useState = function(S) {
|
|
665
665
|
return D.H.useState(S);
|
|
666
|
-
},
|
|
666
|
+
}, Ue.useSyncExternalStore = function(S, q, Q) {
|
|
667
667
|
return D.H.useSyncExternalStore(
|
|
668
668
|
S,
|
|
669
669
|
q,
|
|
670
670
|
Q
|
|
671
671
|
);
|
|
672
|
-
},
|
|
672
|
+
}, Ue.useTransition = function() {
|
|
673
673
|
return D.H.useTransition();
|
|
674
|
-
},
|
|
674
|
+
}, Ue.version = "19.1.1", Ue;
|
|
675
675
|
}
|
|
676
676
|
var xA;
|
|
677
677
|
function ku() {
|
|
@@ -1042,20 +1042,20 @@ function hM() {
|
|
|
1042
1042
|
var i = se.current, s = Xw(i, r.type);
|
|
1043
1043
|
i !== s && (L(be, r), L(se, s));
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function gt(r) {
|
|
1046
1046
|
be.current === r && (Q(se), Q(be)), xe.current === r && (Q(xe), Jo._currentValue = X);
|
|
1047
1047
|
}
|
|
1048
|
-
var Yt = Object.prototype.hasOwnProperty, Ft = e.unstable_scheduleCallback, tt = e.unstable_cancelCallback, me = e.unstable_shouldYield, ve = e.unstable_requestPaint, Me = e.unstable_now,
|
|
1048
|
+
var Yt = Object.prototype.hasOwnProperty, Ft = e.unstable_scheduleCallback, tt = e.unstable_cancelCallback, me = e.unstable_shouldYield, ve = e.unstable_requestPaint, Me = e.unstable_now, ze = e.unstable_getCurrentPriorityLevel, Oe = e.unstable_ImmediatePriority, Ie = e.unstable_UserBlockingPriority, rt = e.unstable_NormalPriority, Xe = e.unstable_LowPriority, qe = e.unstable_IdlePriority, De = e.log, je = e.unstable_setDisableYieldValue, ne = null, ae = null;
|
|
1049
1049
|
function ge(r) {
|
|
1050
|
-
if (typeof De == "function" &&
|
|
1050
|
+
if (typeof De == "function" && je(r), ae && typeof ae.setStrictMode == "function")
|
|
1051
1051
|
try {
|
|
1052
1052
|
ae.setStrictMode(ne, r);
|
|
1053
1053
|
} catch {
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
var Ee = Math.clz32 ? Math.clz32 : At,
|
|
1056
|
+
var Ee = Math.clz32 ? Math.clz32 : At, He = Math.log, Et = Math.LN2;
|
|
1057
1057
|
function At(r) {
|
|
1058
|
-
return r >>>= 0, r === 0 ? 32 : 31 - (
|
|
1058
|
+
return r >>>= 0, r === 0 ? 32 : 31 - (He(r) / Et | 0) | 0;
|
|
1059
1059
|
}
|
|
1060
1060
|
var xt = 256, Tt = 4194304;
|
|
1061
1061
|
function ot(r) {
|
|
@@ -1112,7 +1112,7 @@ function hM() {
|
|
|
1112
1112
|
return r;
|
|
1113
1113
|
}
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function pt(r, i, s) {
|
|
1116
1116
|
var c = r.pendingLanes;
|
|
1117
1117
|
if (c === 0) return 0;
|
|
1118
1118
|
var g = 0, b = r.suspendedLanes, R = r.pingedLanes;
|
|
@@ -1168,7 +1168,7 @@ function hM() {
|
|
|
1168
1168
|
var r = xt;
|
|
1169
1169
|
return xt <<= 1, (xt & 4194048) === 0 && (xt = 256), r;
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function mt() {
|
|
1172
1172
|
var r = Tt;
|
|
1173
1173
|
return Tt <<= 1, (Tt & 62914560) === 0 && (Tt = 4194304), r;
|
|
1174
1174
|
}
|
|
@@ -1208,7 +1208,7 @@ function hM() {
|
|
|
1208
1208
|
g & i | r[c] & i && (r[c] |= i), s &= ~g;
|
|
1209
1209
|
}
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function zr(r) {
|
|
1212
1212
|
switch (r) {
|
|
1213
1213
|
case 2:
|
|
1214
1214
|
r = 1;
|
|
@@ -1247,7 +1247,7 @@ function hM() {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
return r;
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function jr(r) {
|
|
1251
1251
|
return r &= -r, 2 < r ? 8 < r ? (r & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
|
|
1252
1252
|
}
|
|
1253
1253
|
function dn() {
|
|
@@ -1262,15 +1262,15 @@ function hM() {
|
|
|
1262
1262
|
$.p = s;
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
1265
|
-
var Zn = Math.random().toString(36).slice(2), jt = "__reactFiber$" + Zn, en = "__reactProps$" + Zn,
|
|
1265
|
+
var Zn = Math.random().toString(36).slice(2), jt = "__reactFiber$" + Zn, en = "__reactProps$" + Zn, bt = "__reactContainer$" + Zn, Ca = "__reactEvents$" + Zn, di = "__reactListeners$" + Zn, ka = "__reactHandles$" + Zn, qr = "__reactResources$" + Zn, vr = "__reactMarker$" + Zn;
|
|
1266
1266
|
function Pn(r) {
|
|
1267
1267
|
delete r[jt], delete r[en], delete r[Ca], delete r[di], delete r[ka];
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function Hr(r) {
|
|
1270
1270
|
var i = r[jt];
|
|
1271
1271
|
if (i) return i;
|
|
1272
1272
|
for (var s = r.parentNode; s; ) {
|
|
1273
|
-
if (i = s[
|
|
1273
|
+
if (i = s[bt] || s[jt]) {
|
|
1274
1274
|
if (s = i.alternate, i.child !== null || s !== null && s.child !== null)
|
|
1275
1275
|
for (r = Jw(r); r !== null; ) {
|
|
1276
1276
|
if (s = r[jt]) return s;
|
|
@@ -1283,7 +1283,7 @@ function hM() {
|
|
|
1283
1283
|
return null;
|
|
1284
1284
|
}
|
|
1285
1285
|
function Nn(r) {
|
|
1286
|
-
if (r = r[jt] || r[
|
|
1286
|
+
if (r = r[jt] || r[bt]) {
|
|
1287
1287
|
var i = r.tag;
|
|
1288
1288
|
if (i === 5 || i === 6 || i === 13 || i === 26 || i === 27 || i === 3)
|
|
1289
1289
|
return r;
|
|
@@ -1296,8 +1296,8 @@ function hM() {
|
|
|
1296
1296
|
throw Error(a(33));
|
|
1297
1297
|
}
|
|
1298
1298
|
function Jn(r) {
|
|
1299
|
-
var i = r[
|
|
1300
|
-
return i || (i = r[
|
|
1299
|
+
var i = r[qr];
|
|
1300
|
+
return i || (i = r[qr] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), i;
|
|
1301
1301
|
}
|
|
1302
1302
|
function It(r) {
|
|
1303
1303
|
r[vr] = !0;
|
|
@@ -1365,7 +1365,7 @@ function hM() {
|
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|
|
1367
1367
|
var so, js;
|
|
1368
|
-
function
|
|
1368
|
+
function Gr(r) {
|
|
1369
1369
|
if (so === void 0)
|
|
1370
1370
|
try {
|
|
1371
1371
|
throw Error();
|
|
@@ -1466,20 +1466,20 @@ function hM() {
|
|
|
1466
1466
|
} finally {
|
|
1467
1467
|
lo = !1, Error.prepareStackTrace = s;
|
|
1468
1468
|
}
|
|
1469
|
-
return (s = r ? r.displayName || r.name : "") ?
|
|
1469
|
+
return (s = r ? r.displayName || r.name : "") ? Gr(s) : "";
|
|
1470
1470
|
}
|
|
1471
1471
|
function fi(r) {
|
|
1472
1472
|
switch (r.tag) {
|
|
1473
1473
|
case 26:
|
|
1474
1474
|
case 27:
|
|
1475
1475
|
case 5:
|
|
1476
|
-
return
|
|
1476
|
+
return Gr(r.type);
|
|
1477
1477
|
case 16:
|
|
1478
|
-
return
|
|
1478
|
+
return Gr("Lazy");
|
|
1479
1479
|
case 13:
|
|
1480
|
-
return
|
|
1480
|
+
return Gr("Suspense");
|
|
1481
1481
|
case 19:
|
|
1482
|
-
return
|
|
1482
|
+
return Gr("SuspenseList");
|
|
1483
1483
|
case 0:
|
|
1484
1484
|
case 15:
|
|
1485
1485
|
return Ut(r.type, !1);
|
|
@@ -1488,7 +1488,7 @@ function hM() {
|
|
|
1488
1488
|
case 1:
|
|
1489
1489
|
return Ut(r.type, !0);
|
|
1490
1490
|
case 31:
|
|
1491
|
-
return
|
|
1491
|
+
return Gr("Activity");
|
|
1492
1492
|
default:
|
|
1493
1493
|
return "";
|
|
1494
1494
|
}
|
|
@@ -1520,12 +1520,12 @@ Error generating stack: ` + s.message + `
|
|
|
1520
1520
|
return "";
|
|
1521
1521
|
}
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function _r(r) {
|
|
1524
1524
|
var i = r.type;
|
|
1525
1525
|
return (r = r.nodeName) && r.toLowerCase() === "input" && (i === "checkbox" || i === "radio");
|
|
1526
1526
|
}
|
|
1527
|
-
function
|
|
1528
|
-
var i =
|
|
1527
|
+
function Vr(r) {
|
|
1528
|
+
var i = _r(r) ? "checked" : "value", s = Object.getOwnPropertyDescriptor(
|
|
1529
1529
|
r.constructor.prototype,
|
|
1530
1530
|
i
|
|
1531
1531
|
), c = "" + r[i];
|
|
@@ -1555,14 +1555,14 @@ Error generating stack: ` + s.message + `
|
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
1557
|
function hi(r) {
|
|
1558
|
-
r._valueTracker || (r._valueTracker =
|
|
1558
|
+
r._valueTracker || (r._valueTracker = Vr(r));
|
|
1559
1559
|
}
|
|
1560
1560
|
function qs(r) {
|
|
1561
1561
|
if (!r) return !1;
|
|
1562
1562
|
var i = r._valueTracker;
|
|
1563
1563
|
if (!i) return !0;
|
|
1564
1564
|
var s = i.getValue(), c = "";
|
|
1565
|
-
return r && (c =
|
|
1565
|
+
return r && (c = _r(r) ? r.checked ? "true" : "false" : r.value), r = c, r !== s ? (i.setValue(r), !0) : !1;
|
|
1566
1566
|
}
|
|
1567
1567
|
function La(r) {
|
|
1568
1568
|
if (r = r || (typeof document < "u" ? document : void 0), typeof r > "u") return null;
|
|
@@ -1584,7 +1584,7 @@ Error generating stack: ` + s.message + `
|
|
|
1584
1584
|
function sn(r, i, s, c, g, b, R, I) {
|
|
1585
1585
|
r.name = "", R != null && typeof R != "function" && typeof R != "symbol" && typeof R != "boolean" ? r.type = R : r.removeAttribute("type"), i != null ? R === "number" ? (i === 0 && r.value === "" || r.value != i) && (r.value = "" + fn(i)) : r.value !== "" + fn(i) && (r.value = "" + fn(i)) : R !== "submit" && R !== "reset" || r.removeAttribute("value"), i != null ? zn(r, R, fn(i)) : s != null ? zn(r, R, fn(s)) : c != null && r.removeAttribute("value"), g == null && b != null && (r.defaultChecked = !!b), g != null && (r.checked = g && typeof g != "function" && typeof g != "symbol"), I != null && typeof I != "function" && typeof I != "symbol" && typeof I != "boolean" ? r.name = "" + fn(I) : r.removeAttribute("name");
|
|
1586
1586
|
}
|
|
1587
|
-
function
|
|
1587
|
+
function Sr(r, i, s, c, g, b, R, I) {
|
|
1588
1588
|
if (b != null && typeof b != "function" && typeof b != "symbol" && typeof b != "boolean" && (r.type = b), i != null || s != null) {
|
|
1589
1589
|
if (!(b !== "submit" && b !== "reset" || i != null))
|
|
1590
1590
|
return;
|
|
@@ -1819,15 +1819,15 @@ Error generating stack: ` + s.message + `
|
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
1821
|
}
|
|
1822
|
-
var
|
|
1823
|
-
function
|
|
1824
|
-
if (
|
|
1825
|
-
|
|
1822
|
+
var Fe = !1;
|
|
1823
|
+
function yt(r, i, s) {
|
|
1824
|
+
if (Fe) return r(i, s);
|
|
1825
|
+
Fe = !0;
|
|
1826
1826
|
try {
|
|
1827
1827
|
var c = r(i);
|
|
1828
1828
|
return c;
|
|
1829
1829
|
} finally {
|
|
1830
|
-
if (
|
|
1830
|
+
if (Fe = !1, (ye !== null || Te !== null) && (Ol(), ye && (i = ye, r = Te, Te = ye = null, Le(i), r)))
|
|
1831
1831
|
for (i = 0; i < r.length; i++) Le(r[i]);
|
|
1832
1832
|
}
|
|
1833
1833
|
}
|
|
@@ -1864,12 +1864,12 @@ Error generating stack: ` + s.message + `
|
|
|
1864
1864
|
var qt = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Kr = !1;
|
|
1865
1865
|
if (qt)
|
|
1866
1866
|
try {
|
|
1867
|
-
var
|
|
1868
|
-
Object.defineProperty(
|
|
1867
|
+
var wr = {};
|
|
1868
|
+
Object.defineProperty(wr, "passive", {
|
|
1869
1869
|
get: function() {
|
|
1870
1870
|
Kr = !0;
|
|
1871
1871
|
}
|
|
1872
|
-
}), window.addEventListener("test",
|
|
1872
|
+
}), window.addEventListener("test", wr, wr), window.removeEventListener("test", wr, wr);
|
|
1873
1873
|
} catch {
|
|
1874
1874
|
Kr = !1;
|
|
1875
1875
|
}
|
|
@@ -2196,7 +2196,7 @@ Error generating stack: ` + s.message + `
|
|
|
2196
2196
|
bo,
|
|
2197
2197
|
r,
|
|
2198
2198
|
pe(r)
|
|
2199
|
-
),
|
|
2199
|
+
), yt(BD, i);
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
2202
2202
|
function UD(r, i, s) {
|
|
@@ -2390,7 +2390,7 @@ Error generating stack: ` + s.message + `
|
|
|
2390
2390
|
function xc(r) {
|
|
2391
2391
|
return r = r.prototype, !(!r || !r.isReactComponent);
|
|
2392
2392
|
}
|
|
2393
|
-
function
|
|
2393
|
+
function Ar(r, i) {
|
|
2394
2394
|
var s = r.alternate;
|
|
2395
2395
|
return s === null ? (s = On(
|
|
2396
2396
|
r.tag,
|
|
@@ -2475,22 +2475,22 @@ Error generating stack: ` + s.message + `
|
|
|
2475
2475
|
implementation: r.implementation
|
|
2476
2476
|
}, i;
|
|
2477
2477
|
}
|
|
2478
|
-
var Si = [], wi = 0, nl = null, rl = 0, Gn = [], _n = 0, Pa = null,
|
|
2478
|
+
var Si = [], wi = 0, nl = null, rl = 0, Gn = [], _n = 0, Pa = null, xr = 1, Tr = "";
|
|
2479
2479
|
function za(r, i) {
|
|
2480
2480
|
Si[wi++] = rl, Si[wi++] = nl, nl = r, rl = i;
|
|
2481
2481
|
}
|
|
2482
2482
|
function Cv(r, i, s) {
|
|
2483
|
-
Gn[_n++] =
|
|
2484
|
-
var c =
|
|
2485
|
-
r =
|
|
2483
|
+
Gn[_n++] = xr, Gn[_n++] = Tr, Gn[_n++] = Pa, Pa = r;
|
|
2484
|
+
var c = xr;
|
|
2485
|
+
r = Tr;
|
|
2486
2486
|
var g = 32 - Ee(c) - 1;
|
|
2487
2487
|
c &= ~(1 << g), s += 1;
|
|
2488
2488
|
var b = 32 - Ee(i) + g;
|
|
2489
2489
|
if (30 < b) {
|
|
2490
2490
|
var R = g - g % 5;
|
|
2491
|
-
b = (c & (1 << R) - 1).toString(32), c >>= R, g -= R,
|
|
2491
|
+
b = (c & (1 << R) - 1).toString(32), c >>= R, g -= R, xr = 1 << 32 - Ee(i) + g | s << g | c, Tr = b + r;
|
|
2492
2492
|
} else
|
|
2493
|
-
|
|
2493
|
+
xr = 1 << b | s << g | c, Tr = r;
|
|
2494
2494
|
}
|
|
2495
2495
|
function Nc(r) {
|
|
2496
2496
|
r.return !== null && (za(r, 1), Cv(r, 1, 0));
|
|
@@ -2499,7 +2499,7 @@ Error generating stack: ` + s.message + `
|
|
|
2499
2499
|
for (; r === nl; )
|
|
2500
2500
|
nl = Si[--wi], Si[wi] = null, rl = Si[--wi], Si[wi] = null;
|
|
2501
2501
|
for (; r === Pa; )
|
|
2502
|
-
Pa = Gn[--_n], Gn[_n] = null,
|
|
2502
|
+
Pa = Gn[--_n], Gn[_n] = null, Tr = Gn[--_n], Gn[_n] = null, xr = Gn[--_n], Gn[_n] = null;
|
|
2503
2503
|
}
|
|
2504
2504
|
var ln = null, Nt = null, $e = !1, ja = null, ur = !1, kc = Error(a(519));
|
|
2505
2505
|
function qa(r) {
|
|
@@ -2534,7 +2534,7 @@ Error generating stack: ` + s.message + `
|
|
|
2534
2534
|
Ye("toggle", i);
|
|
2535
2535
|
break;
|
|
2536
2536
|
case "input":
|
|
2537
|
-
Ye("invalid", i),
|
|
2537
|
+
Ye("invalid", i), Sr(
|
|
2538
2538
|
i,
|
|
2539
2539
|
c.value,
|
|
2540
2540
|
c.defaultValue,
|
|
@@ -2606,11 +2606,11 @@ Error generating stack: ` + s.message + `
|
|
|
2606
2606
|
function wo(r) {
|
|
2607
2607
|
ja === null ? ja = [r] : ja.push(r);
|
|
2608
2608
|
}
|
|
2609
|
-
var Oc = q(null), Ha = null,
|
|
2609
|
+
var Oc = q(null), Ha = null, Rr = null;
|
|
2610
2610
|
function Qr(r, i, s) {
|
|
2611
2611
|
L(Oc, i._currentValue), i._currentValue = s;
|
|
2612
2612
|
}
|
|
2613
|
-
function
|
|
2613
|
+
function Nr(r) {
|
|
2614
2614
|
r._currentValue = Oc.current, Q(Oc);
|
|
2615
2615
|
}
|
|
2616
2616
|
function Ic(r, i, s) {
|
|
@@ -2700,7 +2700,7 @@ Error generating stack: ` + s.message + `
|
|
|
2700
2700
|
return !1;
|
|
2701
2701
|
}
|
|
2702
2702
|
function Ga(r) {
|
|
2703
|
-
Ha = r,
|
|
2703
|
+
Ha = r, Rr = null, r = r.dependencies, r !== null && (r.firstContext = null);
|
|
2704
2704
|
}
|
|
2705
2705
|
function tn(r) {
|
|
2706
2706
|
return Dv(Ha, r);
|
|
@@ -2710,10 +2710,10 @@ Error generating stack: ` + s.message + `
|
|
|
2710
2710
|
}
|
|
2711
2711
|
function Dv(r, i) {
|
|
2712
2712
|
var s = i._currentValue;
|
|
2713
|
-
if (i = { context: i, memoizedValue: s, next: null },
|
|
2713
|
+
if (i = { context: i, memoizedValue: s, next: null }, Rr === null) {
|
|
2714
2714
|
if (r === null) throw Error(a(308));
|
|
2715
|
-
|
|
2716
|
-
} else
|
|
2715
|
+
Rr = i, r.dependencies = { lanes: 0, firstContext: i }, r.flags |= 524288;
|
|
2716
|
+
} else Rr = Rr.next = i;
|
|
2717
2717
|
return s;
|
|
2718
2718
|
}
|
|
2719
2719
|
var WD = typeof AbortController < "u" ? AbortController : function() {
|
|
@@ -2797,7 +2797,7 @@ Error generating stack: ` + s.message + `
|
|
|
2797
2797
|
var _a = q(null);
|
|
2798
2798
|
function Fc() {
|
|
2799
2799
|
var r = _a.current;
|
|
2800
|
-
return r !== null ? r :
|
|
2800
|
+
return r !== null ? r : ft.pooledCache;
|
|
2801
2801
|
}
|
|
2802
2802
|
function ol(r, i) {
|
|
2803
2803
|
i === null ? L(_a, _a.current) : L(_a, i.pool);
|
|
@@ -2822,7 +2822,7 @@ Error generating stack: ` + s.message + `
|
|
|
2822
2822
|
default:
|
|
2823
2823
|
if (typeof i.status == "string") i.then(ll, ll);
|
|
2824
2824
|
else {
|
|
2825
|
-
if (r =
|
|
2825
|
+
if (r = ft, r !== null && 100 < r.shellSuspendCounter)
|
|
2826
2826
|
throw Error(a(482));
|
|
2827
2827
|
r = i, r.status = "pending", r.then(
|
|
2828
2828
|
function(c) {
|
|
@@ -3008,13 +3008,13 @@ Error generating stack: ` + s.message + `
|
|
|
3008
3008
|
}
|
|
3009
3009
|
var Ti = q(null), ul = q(0);
|
|
3010
3010
|
function Gv(r, i) {
|
|
3011
|
-
r =
|
|
3011
|
+
r = Mr, L(ul, r), L(Ti, i), Mr = r | i.baseLanes;
|
|
3012
3012
|
}
|
|
3013
3013
|
function qc() {
|
|
3014
|
-
L(ul,
|
|
3014
|
+
L(ul, Mr), L(Ti, Ti.current);
|
|
3015
3015
|
}
|
|
3016
3016
|
function Hc() {
|
|
3017
|
-
|
|
3017
|
+
Mr = ul.current, Q(Ti), Q(ul);
|
|
3018
3018
|
}
|
|
3019
3019
|
var ea = 0, Ge = null, st = null, Dt = null, cl = !1, Ri = !1, Va = !1, dl = 0, Io = 0, Ni = null, JD = 0;
|
|
3020
3020
|
function kt() {
|
|
@@ -3135,7 +3135,7 @@ Error generating stack: ` + s.message + `
|
|
|
3135
3135
|
s[c] = B;
|
|
3136
3136
|
return i.index++, s;
|
|
3137
3137
|
}
|
|
3138
|
-
function
|
|
3138
|
+
function Cr(r, i) {
|
|
3139
3139
|
return typeof i == "function" ? i(r) : i;
|
|
3140
3140
|
}
|
|
3141
3141
|
function fl(r) {
|
|
@@ -3240,7 +3240,7 @@ Error generating stack: ` + s.message + `
|
|
|
3240
3240
|
i
|
|
3241
3241
|
),
|
|
3242
3242
|
null
|
|
3243
|
-
),
|
|
3243
|
+
), ft === null) throw Error(a(349));
|
|
3244
3244
|
b || (ea & 124) !== 0 || Wv(c, i, s);
|
|
3245
3245
|
}
|
|
3246
3246
|
return s;
|
|
@@ -3287,7 +3287,7 @@ Error generating stack: ` + s.message + `
|
|
|
3287
3287
|
pending: null,
|
|
3288
3288
|
lanes: 0,
|
|
3289
3289
|
dispatch: null,
|
|
3290
|
-
lastRenderedReducer:
|
|
3290
|
+
lastRenderedReducer: Cr,
|
|
3291
3291
|
lastRenderedState: r
|
|
3292
3292
|
}, i;
|
|
3293
3293
|
}
|
|
@@ -3295,7 +3295,7 @@ Error generating stack: ` + s.message + `
|
|
|
3295
3295
|
return r.baseState = s, Qc(
|
|
3296
3296
|
r,
|
|
3297
3297
|
st,
|
|
3298
|
-
typeof c == "function" ? c :
|
|
3298
|
+
typeof c == "function" ? c : Cr
|
|
3299
3299
|
);
|
|
3300
3300
|
}
|
|
3301
3301
|
function eL(r, i, s, c, g) {
|
|
@@ -3369,7 +3369,7 @@ Error generating stack: ` + s.message + `
|
|
|
3369
3369
|
}
|
|
3370
3370
|
function aS(r, i) {
|
|
3371
3371
|
if ($e) {
|
|
3372
|
-
var s =
|
|
3372
|
+
var s = ft.formState;
|
|
3373
3373
|
if (s !== null) {
|
|
3374
3374
|
e: {
|
|
3375
3375
|
var c = Ge;
|
|
@@ -3441,7 +3441,7 @@ Error generating stack: ` + s.message + `
|
|
|
3441
3441
|
r,
|
|
3442
3442
|
i,
|
|
3443
3443
|
rS
|
|
3444
|
-
)[0], r = fl(
|
|
3444
|
+
)[0], r = fl(Cr)[0], typeof i == "object" && i !== null && typeof i.then == "function")
|
|
3445
3445
|
try {
|
|
3446
3446
|
var c = Do(i);
|
|
3447
3447
|
} catch (R) {
|
|
@@ -3618,7 +3618,7 @@ Error generating stack: ` + s.message + `
|
|
|
3618
3618
|
pending: null,
|
|
3619
3619
|
lanes: 0,
|
|
3620
3620
|
dispatch: null,
|
|
3621
|
-
lastRenderedReducer:
|
|
3621
|
+
lastRenderedReducer: Cr,
|
|
3622
3622
|
lastRenderedState: X
|
|
3623
3623
|
},
|
|
3624
3624
|
next: null
|
|
@@ -3632,7 +3632,7 @@ Error generating stack: ` + s.message + `
|
|
|
3632
3632
|
pending: null,
|
|
3633
3633
|
lanes: 0,
|
|
3634
3634
|
dispatch: null,
|
|
3635
|
-
lastRenderedReducer:
|
|
3635
|
+
lastRenderedReducer: Cr,
|
|
3636
3636
|
lastRenderedState: s
|
|
3637
3637
|
},
|
|
3638
3638
|
next: null
|
|
@@ -3696,7 +3696,7 @@ Error generating stack: ` + s.message + `
|
|
|
3696
3696
|
try {
|
|
3697
3697
|
var R = i.lastRenderedState, I = b(R, s);
|
|
3698
3698
|
if (g.hasEagerState = !0, g.eagerState = I, kn(I, R))
|
|
3699
|
-
return $s(r, i, g, 0),
|
|
3699
|
+
return $s(r, i, g, 0), ft === null && Js(), !1;
|
|
3700
3700
|
} catch {
|
|
3701
3701
|
} finally {
|
|
3702
3702
|
}
|
|
@@ -3857,7 +3857,7 @@ Error generating stack: ` + s.message + `
|
|
|
3857
3857
|
throw Error(a(407));
|
|
3858
3858
|
s = s();
|
|
3859
3859
|
} else {
|
|
3860
|
-
if (s = i(),
|
|
3860
|
+
if (s = i(), ft === null)
|
|
3861
3861
|
throw Error(a(349));
|
|
3862
3862
|
(Ke & 124) !== 0 || Wv(c, i, s);
|
|
3863
3863
|
}
|
|
@@ -3879,9 +3879,9 @@ Error generating stack: ` + s.message + `
|
|
|
3879
3879
|
), s;
|
|
3880
3880
|
},
|
|
3881
3881
|
useId: function() {
|
|
3882
|
-
var r = mn(), i =
|
|
3882
|
+
var r = mn(), i = ft.identifierPrefix;
|
|
3883
3883
|
if ($e) {
|
|
3884
|
-
var s =
|
|
3884
|
+
var s = Tr, c = xr;
|
|
3885
3885
|
s = (c & ~(1 << 32 - Ee(c) - 1)).toString(32) + s, i = "«" + i + "R" + s, s = dl++, 0 < s && (i += "H" + s.toString(32)), i += "»";
|
|
3886
3886
|
} else
|
|
3887
3887
|
s = JD++, i = "«" + i + "r" + s.toString(32) + "»";
|
|
@@ -3927,7 +3927,7 @@ Error generating stack: ` + s.message + `
|
|
|
3927
3927
|
useReducer: fl,
|
|
3928
3928
|
useRef: lS,
|
|
3929
3929
|
useState: function() {
|
|
3930
|
-
return fl(
|
|
3930
|
+
return fl(Cr);
|
|
3931
3931
|
},
|
|
3932
3932
|
useDebugValue: ed,
|
|
3933
3933
|
useDeferredValue: function(r, i) {
|
|
@@ -3940,7 +3940,7 @@ Error generating stack: ` + s.message + `
|
|
|
3940
3940
|
);
|
|
3941
3941
|
},
|
|
3942
3942
|
useTransition: function() {
|
|
3943
|
-
var r = fl(
|
|
3943
|
+
var r = fl(Cr)[0], i = Lt().memoizedState;
|
|
3944
3944
|
return [
|
|
3945
3945
|
typeof r == "boolean" ? r : Do(r),
|
|
3946
3946
|
i
|
|
@@ -3970,7 +3970,7 @@ Error generating stack: ` + s.message + `
|
|
|
3970
3970
|
useReducer: Zc,
|
|
3971
3971
|
useRef: lS,
|
|
3972
3972
|
useState: function() {
|
|
3973
|
-
return Zc(
|
|
3973
|
+
return Zc(Cr);
|
|
3974
3974
|
},
|
|
3975
3975
|
useDebugValue: ed,
|
|
3976
3976
|
useDeferredValue: function(r, i) {
|
|
@@ -3983,7 +3983,7 @@ Error generating stack: ` + s.message + `
|
|
|
3983
3983
|
);
|
|
3984
3984
|
},
|
|
3985
3985
|
useTransition: function() {
|
|
3986
|
-
var r = Zc(
|
|
3986
|
+
var r = Zc(Cr)[0], i = Lt().memoizedState;
|
|
3987
3987
|
return [
|
|
3988
3988
|
typeof r == "boolean" ? r : Do(r),
|
|
3989
3989
|
i
|
|
@@ -4039,7 +4039,7 @@ Error generating stack: ` + s.message + `
|
|
|
4039
4039
|
return _;
|
|
4040
4040
|
}
|
|
4041
4041
|
function g(V, _) {
|
|
4042
|
-
return V =
|
|
4042
|
+
return V = Ar(V, _), V.index = 0, V.sibling = null, V;
|
|
4043
4043
|
}
|
|
4044
4044
|
function b(V, _, K) {
|
|
4045
4045
|
return V.index = K, r ? (K = V.alternate, K !== null ? (K = K.index, K < _ ? (V.flags |= 67108866, _) : K) : (V.flags |= 67108866, _)) : (V.flags |= 1048576, _);
|
|
@@ -4412,7 +4412,7 @@ Error generating stack: ` + s.message + `
|
|
|
4412
4412
|
function na() {
|
|
4413
4413
|
L(zt, zt.current), L(Vn, Vn.current);
|
|
4414
4414
|
}
|
|
4415
|
-
function
|
|
4415
|
+
function kr(r) {
|
|
4416
4416
|
Q(Vn), cr === r && (cr = null), Q(zt);
|
|
4417
4417
|
}
|
|
4418
4418
|
var zt = q(0);
|
|
@@ -4627,7 +4627,7 @@ Error generating stack: ` + s.message + `
|
|
|
4627
4627
|
R,
|
|
4628
4628
|
b,
|
|
4629
4629
|
g
|
|
4630
|
-
), I = Vc(), r !== null && !Ht ? (Yc(r, i, g),
|
|
4630
|
+
), I = Vc(), r !== null && !Ht ? (Yc(r, i, g), Or(r, i, g)) : ($e && I && Nc(i), i.flags |= 1, Kt(r, i, c, g), i.child);
|
|
4631
4631
|
}
|
|
4632
4632
|
function HS(r, i, s, c, g) {
|
|
4633
4633
|
if (r === null) {
|
|
@@ -4650,9 +4650,9 @@ Error generating stack: ` + s.message + `
|
|
|
4650
4650
|
if (b = r.child, !gd(r, g)) {
|
|
4651
4651
|
var R = b.memoizedProps;
|
|
4652
4652
|
if (s = s.compare, s = s !== null ? s : yo, s(R, c) && r.ref === i.ref)
|
|
4653
|
-
return
|
|
4653
|
+
return Or(r, i, g);
|
|
4654
4654
|
}
|
|
4655
|
-
return i.flags |= 1, r =
|
|
4655
|
+
return i.flags |= 1, r = Ar(b, c), r.ref = i.ref, r.return = i, i.child = r;
|
|
4656
4656
|
}
|
|
4657
4657
|
function GS(r, i, s, c, g) {
|
|
4658
4658
|
if (r !== null) {
|
|
@@ -4661,7 +4661,7 @@ Error generating stack: ` + s.message + `
|
|
|
4661
4661
|
if (Ht = !1, i.pendingProps = c = b, gd(r, g))
|
|
4662
4662
|
(r.flags & 131072) !== 0 && (Ht = !0);
|
|
4663
4663
|
else
|
|
4664
|
-
return i.lanes = r.lanes,
|
|
4664
|
+
return i.lanes = r.lanes, Or(r, i, g);
|
|
4665
4665
|
}
|
|
4666
4666
|
return ld(
|
|
4667
4667
|
r,
|
|
@@ -4728,7 +4728,7 @@ Error generating stack: ` + s.message + `
|
|
|
4728
4728
|
c,
|
|
4729
4729
|
void 0,
|
|
4730
4730
|
g
|
|
4731
|
-
), c = Vc(), r !== null && !Ht ? (Yc(r, i, g),
|
|
4731
|
+
), c = Vc(), r !== null && !Ht ? (Yc(r, i, g), Or(r, i, g)) : ($e && c && Nc(i), i.flags |= 1, Kt(r, i, s, g), i.child);
|
|
4732
4732
|
}
|
|
4733
4733
|
function YS(r, i, s, c, g, b) {
|
|
4734
4734
|
return Ga(i), i.updateQueue = null, s = Vv(
|
|
@@ -4736,7 +4736,7 @@ Error generating stack: ` + s.message + `
|
|
|
4736
4736
|
c,
|
|
4737
4737
|
s,
|
|
4738
4738
|
g
|
|
4739
|
-
), _v(r), c = Vc(), r !== null && !Ht ? (Yc(r, i, b),
|
|
4739
|
+
), _v(r), c = Vc(), r !== null && !Ht ? (Yc(r, i, b), Or(r, i, b)) : ($e && c && Nc(i), i.flags |= 1, Kt(r, i, s, b), i.child);
|
|
4740
4740
|
}
|
|
4741
4741
|
function WS(r, i, s, c, g) {
|
|
4742
4742
|
if (Ga(i), i.stateNode === null) {
|
|
@@ -4812,7 +4812,7 @@ Error generating stack: ` + s.message + `
|
|
|
4812
4812
|
null,
|
|
4813
4813
|
s,
|
|
4814
4814
|
g
|
|
4815
|
-
)) : Kt(r, i, s, g), i.memoizedState = b.state, r = i.child) : r =
|
|
4815
|
+
)) : Kt(r, i, s, g), i.memoizedState = b.state, r = i.child) : r = Or(
|
|
4816
4816
|
r,
|
|
4817
4817
|
i,
|
|
4818
4818
|
g
|
|
@@ -4857,7 +4857,7 @@ Error generating stack: ` + s.message + `
|
|
|
4857
4857
|
}
|
|
4858
4858
|
I !== null ? (i.memoizedState = {
|
|
4859
4859
|
dehydrated: I,
|
|
4860
|
-
treeContext: Pa !== null ? { id:
|
|
4860
|
+
treeContext: Pa !== null ? { id: xr, overflow: Tr } : null,
|
|
4861
4861
|
retryLane: 536870912,
|
|
4862
4862
|
hydrationErrors: null
|
|
4863
4863
|
}, z = On(
|
|
@@ -4871,7 +4871,7 @@ Error generating stack: ` + s.message + `
|
|
|
4871
4871
|
}
|
|
4872
4872
|
if (I = i.memoizedState, I !== null && (I = I.dehydrated, I !== null))
|
|
4873
4873
|
return Xd(I) ? i.lanes = 32 : i.lanes = 536870912, null;
|
|
4874
|
-
|
|
4874
|
+
kr(i);
|
|
4875
4875
|
}
|
|
4876
4876
|
return I = c.children, c = c.fallback, g ? (na(), g = i.mode, I = xl(
|
|
4877
4877
|
{ mode: "hidden", children: I },
|
|
@@ -4919,7 +4919,7 @@ Error generating stack: ` + s.message + `
|
|
|
4919
4919
|
s
|
|
4920
4920
|
);
|
|
4921
4921
|
} else if (Ht || Ao(r, i, s, !1), R = (s & r.childLanes) !== 0, Ht || R) {
|
|
4922
|
-
if (R =
|
|
4922
|
+
if (R = ft, R !== null && (c = s & -s, c = (c & 42) !== 0 ? 1 : zr(c), c = (c & (R.suspendedLanes | s)) !== 0 ? 0 : c, c !== 0 && c !== z.retryLane))
|
|
4923
4923
|
throw z.retryLane = c, Ei(r, c), Fn(R, r, c), jS;
|
|
4924
4924
|
I.data === "$?" || Id(), i = fd(
|
|
4925
4925
|
r,
|
|
@@ -4929,16 +4929,16 @@ Error generating stack: ` + s.message + `
|
|
|
4929
4929
|
} else
|
|
4930
4930
|
I.data === "$?" ? (i.flags |= 192, i.child = r.child, i = null) : (r = z.treeContext, Nt = rr(
|
|
4931
4931
|
I.nextSibling
|
|
4932
|
-
), ln = i, $e = !0, ja = null, ur = !1, r !== null && (Gn[_n++] =
|
|
4932
|
+
), ln = i, $e = !0, ja = null, ur = !1, r !== null && (Gn[_n++] = xr, Gn[_n++] = Tr, Gn[_n++] = Pa, xr = r.id, Tr = r.overflow, Pa = i), i = pd(
|
|
4933
4933
|
i,
|
|
4934
4934
|
c.children
|
|
4935
4935
|
), i.flags |= 4096);
|
|
4936
4936
|
return i;
|
|
4937
4937
|
}
|
|
4938
|
-
return g ? (na(), g = c.fallback, I = i.mode, z = r.child, Z = z.sibling, c =
|
|
4938
|
+
return g ? (na(), g = c.fallback, I = i.mode, z = r.child, Z = z.sibling, c = Ar(z, {
|
|
4939
4939
|
mode: "hidden",
|
|
4940
4940
|
children: c.children
|
|
4941
|
-
}), c.subtreeFlags = z.subtreeFlags & 65011712, Z !== null ? g =
|
|
4941
|
+
}), c.subtreeFlags = z.subtreeFlags & 65011712, Z !== null ? g = Ar(Z, g) : (g = Ua(
|
|
4942
4942
|
g,
|
|
4943
4943
|
I,
|
|
4944
4944
|
s,
|
|
@@ -4950,7 +4950,7 @@ Error generating stack: ` + s.message + `
|
|
|
4950
4950
|
r,
|
|
4951
4951
|
R,
|
|
4952
4952
|
s
|
|
4953
|
-
), i.memoizedState = ud, c) : (ta(i), s = r.child, r = s.sibling, s =
|
|
4953
|
+
), i.memoizedState = ud, c) : (ta(i), s = r.child, r = s.sibling, s = Ar(s, {
|
|
4954
4954
|
mode: "visible",
|
|
4955
4955
|
children: c.children
|
|
4956
4956
|
}), s.return = i, s.sibling = null, r !== null && (R = i.deletions, R === null ? (i.deletions = [r], i.flags |= 16) : R.push(r)), i.child = s, i.memoizedState = null, s);
|
|
@@ -5052,7 +5052,7 @@ Error generating stack: ` + s.message + `
|
|
|
5052
5052
|
}
|
|
5053
5053
|
return i.child;
|
|
5054
5054
|
}
|
|
5055
|
-
function
|
|
5055
|
+
function Or(r, i, s) {
|
|
5056
5056
|
if (r !== null && (i.dependencies = r.dependencies), sa |= i.lanes, (s & i.childLanes) === 0)
|
|
5057
5057
|
if (r !== null) {
|
|
5058
5058
|
if (Ao(
|
|
@@ -5066,8 +5066,8 @@ Error generating stack: ` + s.message + `
|
|
|
5066
5066
|
if (r !== null && i.child !== r.child)
|
|
5067
5067
|
throw Error(a(153));
|
|
5068
5068
|
if (i.child !== null) {
|
|
5069
|
-
for (r = i.child, s =
|
|
5070
|
-
r = r.sibling, s = s.sibling =
|
|
5069
|
+
for (r = i.child, s = Ar(r, r.pendingProps), i.child = s, s.return = i; r.sibling !== null; )
|
|
5070
|
+
r = r.sibling, s = s.sibling = Ar(r, r.pendingProps), s.return = i;
|
|
5071
5071
|
s.sibling = null;
|
|
5072
5072
|
}
|
|
5073
5073
|
return i.child;
|
|
@@ -5097,7 +5097,7 @@ Error generating stack: ` + s.message + `
|
|
|
5097
5097
|
case 13:
|
|
5098
5098
|
var c = i.memoizedState;
|
|
5099
5099
|
if (c !== null)
|
|
5100
|
-
return c.dehydrated !== null ? (ta(i), i.flags |= 128, null) : (s & i.child.childLanes) !== 0 ? KS(r, i, s) : (ta(i), r =
|
|
5100
|
+
return c.dehydrated !== null ? (ta(i), i.flags |= 128, null) : (s & i.child.childLanes) !== 0 ? KS(r, i, s) : (ta(i), r = Or(
|
|
5101
5101
|
r,
|
|
5102
5102
|
i,
|
|
5103
5103
|
s
|
|
@@ -5128,7 +5128,7 @@ Error generating stack: ` + s.message + `
|
|
|
5128
5128
|
case 24:
|
|
5129
5129
|
Qr(i, Pt, r.memoizedState.cache);
|
|
5130
5130
|
}
|
|
5131
|
-
return
|
|
5131
|
+
return Or(r, i, s);
|
|
5132
5132
|
}
|
|
5133
5133
|
function JS(r, i, s) {
|
|
5134
5134
|
if (r !== null)
|
|
@@ -5266,7 +5266,7 @@ Error generating stack: ` + s.message + `
|
|
|
5266
5266
|
}
|
|
5267
5267
|
else {
|
|
5268
5268
|
if (So(), c === g) {
|
|
5269
|
-
i =
|
|
5269
|
+
i = Or(
|
|
5270
5270
|
r,
|
|
5271
5271
|
i,
|
|
5272
5272
|
s
|
|
@@ -5412,11 +5412,11 @@ Error generating stack: ` + s.message + `
|
|
|
5412
5412
|
}, r === null ? (s = xl(
|
|
5413
5413
|
c,
|
|
5414
5414
|
s
|
|
5415
|
-
), s.ref = i.ref, i.child = s, s.return = i, i = s) : (s =
|
|
5415
|
+
), s.ref = i.ref, i.child = s, s.return = i, i = s) : (s = Ar(r.child, c), s.ref = i.ref, i.child = s, s.return = i, i = s), i;
|
|
5416
5416
|
case 22:
|
|
5417
5417
|
return _S(r, i, s);
|
|
5418
5418
|
case 24:
|
|
5419
|
-
return Ga(i), c = tn(Pt), r === null ? (g = Fc(), g === null && (g =
|
|
5419
|
+
return Ga(i), c = tn(Pt), r === null ? (g = Fc(), g === null && (g = ft, b = Lc(), g.pooledCache = b, b.refCount++, b !== null && (g.pooledCacheLanes |= s), g = b), i.memoizedState = {
|
|
5420
5420
|
parent: c,
|
|
5421
5421
|
cache: g
|
|
5422
5422
|
}, Uc(i), Qr(i, Pt, g)) : ((r.lanes & s) !== 0 && (Pc(r, i), Oo(i, null, null, s), ko()), g = r.memoizedState, b = i.memoizedState, g.parent !== c ? (g = { parent: c, cache: c }, i.memoizedState = g, i.lanes === 0 && (i.memoizedState = i.updateQueue.baseState = g), Qr(i, Pt, c)) : (c = b.cache, Qr(i, Pt, c), c !== g.cache && Dc(
|
|
@@ -5435,7 +5435,7 @@ Error generating stack: ` + s.message + `
|
|
|
5435
5435
|
}
|
|
5436
5436
|
throw Error(a(156, i.tag));
|
|
5437
5437
|
}
|
|
5438
|
-
function
|
|
5438
|
+
function Ir(r) {
|
|
5439
5439
|
r.flags |= 4;
|
|
5440
5440
|
}
|
|
5441
5441
|
function $S(r, i) {
|
|
@@ -5448,7 +5448,7 @@ Error generating stack: ` + s.message + `
|
|
|
5448
5448
|
}
|
|
5449
5449
|
}
|
|
5450
5450
|
function Tl(r, i) {
|
|
5451
|
-
i !== null && (r.flags |= 4), r.flags & 16384 && (i = r.tag !== 22 ?
|
|
5451
|
+
i !== null && (r.flags |= 4), r.flags & 16384 && (i = r.tag !== 22 ? mt() : 536870912, r.lanes |= i, Mi |= i);
|
|
5452
5452
|
}
|
|
5453
5453
|
function Uo(r, i) {
|
|
5454
5454
|
if (!$e)
|
|
@@ -5493,26 +5493,26 @@ Error generating stack: ` + s.message + `
|
|
|
5493
5493
|
case 1:
|
|
5494
5494
|
return St(i), null;
|
|
5495
5495
|
case 3:
|
|
5496
|
-
return s = i.stateNode, c = null, r !== null && (c = r.memoizedState.cache), i.memoizedState.cache !== c && (i.flags |= 2048),
|
|
5496
|
+
return s = i.stateNode, c = null, r !== null && (c = r.memoizedState.cache), i.memoizedState.cache !== c && (i.flags |= 2048), Nr(Pt), Je(), s.pendingContext && (s.context = s.pendingContext, s.pendingContext = null), (r === null || r.child === null) && (vo(i) ? Ir(i) : r === null || r.memoizedState.isDehydrated && (i.flags & 256) === 0 || (i.flags |= 1024, Iv())), St(i), null;
|
|
5497
5497
|
case 26:
|
|
5498
|
-
return s = i.memoizedState, r === null ? (
|
|
5498
|
+
return s = i.memoizedState, r === null ? (Ir(i), s !== null ? (St(i), $S(i, s)) : (St(i), i.flags &= -16777217)) : s ? s !== r.memoizedState ? (Ir(i), St(i), $S(i, s)) : (St(i), i.flags &= -16777217) : (r.memoizedProps !== c && Ir(i), St(i), i.flags &= -16777217), null;
|
|
5499
5499
|
case 27:
|
|
5500
|
-
|
|
5500
|
+
gt(i), s = de.current;
|
|
5501
5501
|
var g = i.type;
|
|
5502
5502
|
if (r !== null && i.stateNode != null)
|
|
5503
|
-
r.memoizedProps !== c &&
|
|
5503
|
+
r.memoizedProps !== c && Ir(i);
|
|
5504
5504
|
else {
|
|
5505
5505
|
if (!c) {
|
|
5506
5506
|
if (i.stateNode === null)
|
|
5507
5507
|
throw Error(a(166));
|
|
5508
5508
|
return St(i), null;
|
|
5509
5509
|
}
|
|
5510
|
-
r = se.current, vo(i) ? kv(i) : (r = $w(g, c, s), i.stateNode = r,
|
|
5510
|
+
r = se.current, vo(i) ? kv(i) : (r = $w(g, c, s), i.stateNode = r, Ir(i));
|
|
5511
5511
|
}
|
|
5512
5512
|
return St(i), null;
|
|
5513
5513
|
case 5:
|
|
5514
|
-
if (
|
|
5515
|
-
r.memoizedProps !== c &&
|
|
5514
|
+
if (gt(i), s = i.type, r !== null && i.stateNode != null)
|
|
5515
|
+
r.memoizedProps !== c && Ir(i);
|
|
5516
5516
|
else {
|
|
5517
5517
|
if (!c) {
|
|
5518
5518
|
if (i.stateNode === null)
|
|
@@ -5591,13 +5591,13 @@ Error generating stack: ` + s.message + `
|
|
|
5591
5591
|
default:
|
|
5592
5592
|
r = !1;
|
|
5593
5593
|
}
|
|
5594
|
-
r &&
|
|
5594
|
+
r && Ir(i);
|
|
5595
5595
|
}
|
|
5596
5596
|
}
|
|
5597
5597
|
return St(i), i.flags &= -16777217, null;
|
|
5598
5598
|
case 6:
|
|
5599
5599
|
if (r && i.stateNode != null)
|
|
5600
|
-
r.memoizedProps !== c &&
|
|
5600
|
+
r.memoizedProps !== c && Ir(i);
|
|
5601
5601
|
else {
|
|
5602
5602
|
if (typeof c != "string" && i.stateNode === null)
|
|
5603
5603
|
throw Error(a(166));
|
|
@@ -5628,9 +5628,9 @@ Error generating stack: ` + s.message + `
|
|
|
5628
5628
|
} else
|
|
5629
5629
|
g = Iv(), r !== null && r.memoizedState !== null && (r.memoizedState.hydrationErrors = g), g = !0;
|
|
5630
5630
|
if (!g)
|
|
5631
|
-
return i.flags & 256 ? (
|
|
5631
|
+
return i.flags & 256 ? (kr(i), i) : (kr(i), null);
|
|
5632
5632
|
}
|
|
5633
|
-
if (
|
|
5633
|
+
if (kr(i), (i.flags & 128) !== 0)
|
|
5634
5634
|
return i.lanes = s, i;
|
|
5635
5635
|
if (s = c !== null, r = r !== null && r.memoizedState !== null, s) {
|
|
5636
5636
|
c = i.child, g = null, c.alternate !== null && c.alternate.memoizedState !== null && c.alternate.memoizedState.cachePool !== null && (g = c.alternate.memoizedState.cachePool.pool);
|
|
@@ -5641,7 +5641,7 @@ Error generating stack: ` + s.message + `
|
|
|
5641
5641
|
case 4:
|
|
5642
5642
|
return Je(), r === null && jd(i.stateNode.containerInfo), St(i), null;
|
|
5643
5643
|
case 10:
|
|
5644
|
-
return
|
|
5644
|
+
return Nr(i.type), St(i), null;
|
|
5645
5645
|
case 19:
|
|
5646
5646
|
if (Q(zt), g = i.memoizedState, g === null) return St(i), null;
|
|
5647
5647
|
if (c = (i.flags & 128) !== 0, b = g.rendering, b === null)
|
|
@@ -5673,9 +5673,9 @@ Error generating stack: ` + s.message + `
|
|
|
5673
5673
|
return g.tail !== null ? (i = g.tail, g.rendering = i, g.tail = i.sibling, g.renderingStartTime = Me(), i.sibling = null, r = zt.current, L(zt, c ? r & 1 | 2 : r & 1), i) : (St(i), null);
|
|
5674
5674
|
case 22:
|
|
5675
5675
|
case 23:
|
|
5676
|
-
return
|
|
5676
|
+
return kr(i), Hc(), c = i.memoizedState !== null, r !== null ? r.memoizedState !== null !== c && (i.flags |= 8192) : c && (i.flags |= 8192), c ? (s & 536870912) !== 0 && (i.flags & 128) === 0 && (St(i), i.subtreeFlags & 6 && (i.flags |= 8192)) : St(i), s = i.updateQueue, s !== null && Tl(i, s.retryQueue), s = null, r !== null && r.memoizedState !== null && r.memoizedState.cachePool !== null && (s = r.memoizedState.cachePool.pool), c = null, i.memoizedState !== null && i.memoizedState.cachePool !== null && (c = i.memoizedState.cachePool.pool), c !== s && (i.flags |= 2048), r !== null && Q(_a), null;
|
|
5677
5677
|
case 24:
|
|
5678
|
-
return s = null, r !== null && (s = r.memoizedState.cache), i.memoizedState.cache !== s && (i.flags |= 2048),
|
|
5678
|
+
return s = null, r !== null && (s = r.memoizedState.cache), i.memoizedState.cache !== s && (i.flags |= 2048), Nr(Pt), St(i), null;
|
|
5679
5679
|
case 25:
|
|
5680
5680
|
return null;
|
|
5681
5681
|
case 30:
|
|
@@ -5688,13 +5688,13 @@ Error generating stack: ` + s.message + `
|
|
|
5688
5688
|
case 1:
|
|
5689
5689
|
return r = i.flags, r & 65536 ? (i.flags = r & -65537 | 128, i) : null;
|
|
5690
5690
|
case 3:
|
|
5691
|
-
return
|
|
5691
|
+
return Nr(Pt), Je(), r = i.flags, (r & 65536) !== 0 && (r & 128) === 0 ? (i.flags = r & -65537 | 128, i) : null;
|
|
5692
5692
|
case 26:
|
|
5693
5693
|
case 27:
|
|
5694
5694
|
case 5:
|
|
5695
|
-
return
|
|
5695
|
+
return gt(i), null;
|
|
5696
5696
|
case 13:
|
|
5697
|
-
if (
|
|
5697
|
+
if (kr(i), r = i.memoizedState, r !== null && r.dehydrated !== null) {
|
|
5698
5698
|
if (i.alternate === null)
|
|
5699
5699
|
throw Error(a(340));
|
|
5700
5700
|
So();
|
|
@@ -5705,12 +5705,12 @@ Error generating stack: ` + s.message + `
|
|
|
5705
5705
|
case 4:
|
|
5706
5706
|
return Je(), null;
|
|
5707
5707
|
case 10:
|
|
5708
|
-
return
|
|
5708
|
+
return Nr(i.type), null;
|
|
5709
5709
|
case 22:
|
|
5710
5710
|
case 23:
|
|
5711
|
-
return
|
|
5711
|
+
return kr(i), Hc(), r !== null && Q(_a), r = i.flags, r & 65536 ? (i.flags = r & -65537 | 128, i) : null;
|
|
5712
5712
|
case 24:
|
|
5713
|
-
return
|
|
5713
|
+
return Nr(Pt), null;
|
|
5714
5714
|
case 25:
|
|
5715
5715
|
return null;
|
|
5716
5716
|
default:
|
|
@@ -5720,31 +5720,31 @@ Error generating stack: ` + s.message + `
|
|
|
5720
5720
|
function ew(r, i) {
|
|
5721
5721
|
switch (Cc(i), i.tag) {
|
|
5722
5722
|
case 3:
|
|
5723
|
-
|
|
5723
|
+
Nr(Pt), Je();
|
|
5724
5724
|
break;
|
|
5725
5725
|
case 26:
|
|
5726
5726
|
case 27:
|
|
5727
5727
|
case 5:
|
|
5728
|
-
|
|
5728
|
+
gt(i);
|
|
5729
5729
|
break;
|
|
5730
5730
|
case 4:
|
|
5731
5731
|
Je();
|
|
5732
5732
|
break;
|
|
5733
5733
|
case 13:
|
|
5734
|
-
|
|
5734
|
+
kr(i);
|
|
5735
5735
|
break;
|
|
5736
5736
|
case 19:
|
|
5737
5737
|
Q(zt);
|
|
5738
5738
|
break;
|
|
5739
5739
|
case 10:
|
|
5740
|
-
|
|
5740
|
+
Nr(i.type);
|
|
5741
5741
|
break;
|
|
5742
5742
|
case 22:
|
|
5743
5743
|
case 23:
|
|
5744
|
-
|
|
5744
|
+
kr(i), Hc(), r !== null && Q(_a);
|
|
5745
5745
|
break;
|
|
5746
5746
|
case 24:
|
|
5747
|
-
|
|
5747
|
+
Nr(Pt);
|
|
5748
5748
|
}
|
|
5749
5749
|
}
|
|
5750
5750
|
function Po(r, i) {
|
|
@@ -5763,7 +5763,7 @@ Error generating stack: ` + s.message + `
|
|
|
5763
5763
|
} while (s !== g);
|
|
5764
5764
|
}
|
|
5765
5765
|
} catch (I) {
|
|
5766
|
-
|
|
5766
|
+
ct(i, i.return, I);
|
|
5767
5767
|
}
|
|
5768
5768
|
}
|
|
5769
5769
|
function ra(r, i, s) {
|
|
@@ -5781,7 +5781,7 @@ Error generating stack: ` + s.message + `
|
|
|
5781
5781
|
try {
|
|
5782
5782
|
Z();
|
|
5783
5783
|
} catch (ie) {
|
|
5784
|
-
|
|
5784
|
+
ct(
|
|
5785
5785
|
g,
|
|
5786
5786
|
z,
|
|
5787
5787
|
ie
|
|
@@ -5793,7 +5793,7 @@ Error generating stack: ` + s.message + `
|
|
|
5793
5793
|
} while (c !== b);
|
|
5794
5794
|
}
|
|
5795
5795
|
} catch (ie) {
|
|
5796
|
-
|
|
5796
|
+
ct(i, i.return, ie);
|
|
5797
5797
|
}
|
|
5798
5798
|
}
|
|
5799
5799
|
function tw(r) {
|
|
@@ -5803,7 +5803,7 @@ Error generating stack: ` + s.message + `
|
|
|
5803
5803
|
try {
|
|
5804
5804
|
Hv(i, s);
|
|
5805
5805
|
} catch (c) {
|
|
5806
|
-
|
|
5806
|
+
ct(r, r.return, c);
|
|
5807
5807
|
}
|
|
5808
5808
|
}
|
|
5809
5809
|
}
|
|
@@ -5815,7 +5815,7 @@ Error generating stack: ` + s.message + `
|
|
|
5815
5815
|
try {
|
|
5816
5816
|
s.componentWillUnmount();
|
|
5817
5817
|
} catch (c) {
|
|
5818
|
-
|
|
5818
|
+
ct(r, i, c);
|
|
5819
5819
|
}
|
|
5820
5820
|
}
|
|
5821
5821
|
function zo(r, i) {
|
|
@@ -5837,7 +5837,7 @@ Error generating stack: ` + s.message + `
|
|
|
5837
5837
|
typeof s == "function" ? r.refCleanup = s(c) : s.current = c;
|
|
5838
5838
|
}
|
|
5839
5839
|
} catch (g) {
|
|
5840
|
-
|
|
5840
|
+
ct(r, i, g);
|
|
5841
5841
|
}
|
|
5842
5842
|
}
|
|
5843
5843
|
function dr(r, i) {
|
|
@@ -5847,7 +5847,7 @@ Error generating stack: ` + s.message + `
|
|
|
5847
5847
|
try {
|
|
5848
5848
|
c();
|
|
5849
5849
|
} catch (g) {
|
|
5850
|
-
|
|
5850
|
+
ct(r, i, g);
|
|
5851
5851
|
} finally {
|
|
5852
5852
|
r.refCleanup = null, r = r.alternate, r != null && (r.refCleanup = null);
|
|
5853
5853
|
}
|
|
@@ -5855,7 +5855,7 @@ Error generating stack: ` + s.message + `
|
|
|
5855
5855
|
try {
|
|
5856
5856
|
s(null);
|
|
5857
5857
|
} catch (g) {
|
|
5858
|
-
|
|
5858
|
+
ct(r, i, g);
|
|
5859
5859
|
}
|
|
5860
5860
|
else s.current = null;
|
|
5861
5861
|
}
|
|
@@ -5873,7 +5873,7 @@ Error generating stack: ` + s.message + `
|
|
|
5873
5873
|
s.src ? c.src = s.src : s.srcSet && (c.srcset = s.srcSet);
|
|
5874
5874
|
}
|
|
5875
5875
|
} catch (g) {
|
|
5876
|
-
|
|
5876
|
+
ct(r, r.return, g);
|
|
5877
5877
|
}
|
|
5878
5878
|
}
|
|
5879
5879
|
function md(r, i, s) {
|
|
@@ -5881,7 +5881,7 @@ Error generating stack: ` + s.message + `
|
|
|
5881
5881
|
var c = r.stateNode;
|
|
5882
5882
|
OL(c, r.type, s, i), c[en] = i;
|
|
5883
5883
|
} catch (g) {
|
|
5884
|
-
|
|
5884
|
+
ct(r, r.return, g);
|
|
5885
5885
|
}
|
|
5886
5886
|
}
|
|
5887
5887
|
function aw(r) {
|
|
@@ -5923,10 +5923,10 @@ Error generating stack: ` + s.message + `
|
|
|
5923
5923
|
i.removeAttributeNode(g[0]);
|
|
5924
5924
|
Zt(i, c, s), i[jt] = r, i[en] = s;
|
|
5925
5925
|
} catch (b) {
|
|
5926
|
-
|
|
5926
|
+
ct(r, r.return, b);
|
|
5927
5927
|
}
|
|
5928
5928
|
}
|
|
5929
|
-
var
|
|
5929
|
+
var Dr = !1, Ot = !1, Ed = !1, ow = typeof WeakSet == "function" ? WeakSet : Set, Gt = null;
|
|
5930
5930
|
function cL(r, i) {
|
|
5931
5931
|
if (r = r.containerInfo, Gd = _l, r = bv(r), bc(r)) {
|
|
5932
5932
|
if ("selectionStart" in r)
|
|
@@ -5989,7 +5989,7 @@ Error generating stack: ` + s.message + `
|
|
|
5989
5989
|
b
|
|
5990
5990
|
), c.__reactInternalSnapshotBeforeUpdate = r;
|
|
5991
5991
|
} catch (Ne) {
|
|
5992
|
-
|
|
5992
|
+
ct(
|
|
5993
5993
|
s,
|
|
5994
5994
|
s.return,
|
|
5995
5995
|
Ne
|
|
@@ -6044,7 +6044,7 @@ Error generating stack: ` + s.message + `
|
|
|
6044
6044
|
try {
|
|
6045
6045
|
r.componentDidMount();
|
|
6046
6046
|
} catch (R) {
|
|
6047
|
-
|
|
6047
|
+
ct(s, s.return, R);
|
|
6048
6048
|
}
|
|
6049
6049
|
else {
|
|
6050
6050
|
var g = Ya(
|
|
@@ -6059,7 +6059,7 @@ Error generating stack: ` + s.message + `
|
|
|
6059
6059
|
r.__reactInternalSnapshotBeforeUpdate
|
|
6060
6060
|
);
|
|
6061
6061
|
} catch (R) {
|
|
6062
|
-
|
|
6062
|
+
ct(
|
|
6063
6063
|
s,
|
|
6064
6064
|
s.return,
|
|
6065
6065
|
R
|
|
@@ -6082,7 +6082,7 @@ Error generating stack: ` + s.message + `
|
|
|
6082
6082
|
try {
|
|
6083
6083
|
Hv(r, i);
|
|
6084
6084
|
} catch (R) {
|
|
6085
|
-
|
|
6085
|
+
ct(s, s.return, R);
|
|
6086
6086
|
}
|
|
6087
6087
|
}
|
|
6088
6088
|
break;
|
|
@@ -6102,14 +6102,14 @@ Error generating stack: ` + s.message + `
|
|
|
6102
6102
|
), UL(r, s))));
|
|
6103
6103
|
break;
|
|
6104
6104
|
case 22:
|
|
6105
|
-
if (c = s.memoizedState !== null ||
|
|
6106
|
-
i = i !== null && i.memoizedState !== null || Ot, g =
|
|
6105
|
+
if (c = s.memoizedState !== null || Dr, !c) {
|
|
6106
|
+
i = i !== null && i.memoizedState !== null || Ot, g = Dr;
|
|
6107
6107
|
var b = Ot;
|
|
6108
|
-
|
|
6108
|
+
Dr = c, (Ot = i) && !b ? ia(
|
|
6109
6109
|
r,
|
|
6110
6110
|
s,
|
|
6111
6111
|
(s.subtreeFlags & 8772) !== 0
|
|
6112
|
-
) : aa(r, s),
|
|
6112
|
+
) : aa(r, s), Dr = g, Ot = b;
|
|
6113
6113
|
}
|
|
6114
6114
|
break;
|
|
6115
6115
|
case 30:
|
|
@@ -6123,7 +6123,7 @@ Error generating stack: ` + s.message + `
|
|
|
6123
6123
|
i !== null && (r.alternate = null, lw(i)), r.child = null, r.deletions = null, r.sibling = null, r.tag === 5 && (i = r.stateNode, i !== null && Pn(i)), r.stateNode = null, r.return = null, r.dependencies = null, r.memoizedProps = null, r.memoizedState = null, r.pendingProps = null, r.stateNode = null, r.updateQueue = null;
|
|
6124
6124
|
}
|
|
6125
6125
|
var vt = null, bn = !1;
|
|
6126
|
-
function
|
|
6126
|
+
function Lr(r, i, s) {
|
|
6127
6127
|
for (s = s.child; s !== null; )
|
|
6128
6128
|
uw(r, i, s), s = s.sibling;
|
|
6129
6129
|
}
|
|
@@ -6135,7 +6135,7 @@ Error generating stack: ` + s.message + `
|
|
|
6135
6135
|
}
|
|
6136
6136
|
switch (s.tag) {
|
|
6137
6137
|
case 26:
|
|
6138
|
-
Ot || dr(s, i),
|
|
6138
|
+
Ot || dr(s, i), Lr(
|
|
6139
6139
|
r,
|
|
6140
6140
|
i,
|
|
6141
6141
|
s
|
|
@@ -6144,7 +6144,7 @@ Error generating stack: ` + s.message + `
|
|
|
6144
6144
|
case 27:
|
|
6145
6145
|
Ot || dr(s, i);
|
|
6146
6146
|
var c = vt, g = bn;
|
|
6147
|
-
da(s.type) && (vt = s.stateNode, bn = !1),
|
|
6147
|
+
da(s.type) && (vt = s.stateNode, bn = !1), Lr(
|
|
6148
6148
|
r,
|
|
6149
6149
|
i,
|
|
6150
6150
|
s
|
|
@@ -6153,7 +6153,7 @@ Error generating stack: ` + s.message + `
|
|
|
6153
6153
|
case 5:
|
|
6154
6154
|
Ot || dr(s, i);
|
|
6155
6155
|
case 6:
|
|
6156
|
-
if (c = vt, g = bn, vt = null,
|
|
6156
|
+
if (c = vt, g = bn, vt = null, Lr(
|
|
6157
6157
|
r,
|
|
6158
6158
|
i,
|
|
6159
6159
|
s
|
|
@@ -6162,7 +6162,7 @@ Error generating stack: ` + s.message + `
|
|
|
6162
6162
|
try {
|
|
6163
6163
|
(vt.nodeType === 9 ? vt.body : vt.nodeName === "HTML" ? vt.ownerDocument.body : vt).removeChild(s.stateNode);
|
|
6164
6164
|
} catch (b) {
|
|
6165
|
-
|
|
6165
|
+
ct(
|
|
6166
6166
|
s,
|
|
6167
6167
|
i,
|
|
6168
6168
|
b
|
|
@@ -6172,7 +6172,7 @@ Error generating stack: ` + s.message + `
|
|
|
6172
6172
|
try {
|
|
6173
6173
|
vt.removeChild(s.stateNode);
|
|
6174
6174
|
} catch (b) {
|
|
6175
|
-
|
|
6175
|
+
ct(
|
|
6176
6176
|
s,
|
|
6177
6177
|
i,
|
|
6178
6178
|
b
|
|
@@ -6186,7 +6186,7 @@ Error generating stack: ` + s.message + `
|
|
|
6186
6186
|
), ns(r)) : Zw(vt, s.stateNode));
|
|
6187
6187
|
break;
|
|
6188
6188
|
case 4:
|
|
6189
|
-
c = vt, g = bn, vt = s.stateNode.containerInfo, bn = !0,
|
|
6189
|
+
c = vt, g = bn, vt = s.stateNode.containerInfo, bn = !0, Lr(
|
|
6190
6190
|
r,
|
|
6191
6191
|
i,
|
|
6192
6192
|
s
|
|
@@ -6196,7 +6196,7 @@ Error generating stack: ` + s.message + `
|
|
|
6196
6196
|
case 11:
|
|
6197
6197
|
case 14:
|
|
6198
6198
|
case 15:
|
|
6199
|
-
Ot || ra(2, s, i), Ot || ra(4, s, i),
|
|
6199
|
+
Ot || ra(2, s, i), Ot || ra(4, s, i), Lr(
|
|
6200
6200
|
r,
|
|
6201
6201
|
i,
|
|
6202
6202
|
s
|
|
@@ -6207,28 +6207,28 @@ Error generating stack: ` + s.message + `
|
|
|
6207
6207
|
s,
|
|
6208
6208
|
i,
|
|
6209
6209
|
c
|
|
6210
|
-
)),
|
|
6210
|
+
)), Lr(
|
|
6211
6211
|
r,
|
|
6212
6212
|
i,
|
|
6213
6213
|
s
|
|
6214
6214
|
);
|
|
6215
6215
|
break;
|
|
6216
6216
|
case 21:
|
|
6217
|
-
|
|
6217
|
+
Lr(
|
|
6218
6218
|
r,
|
|
6219
6219
|
i,
|
|
6220
6220
|
s
|
|
6221
6221
|
);
|
|
6222
6222
|
break;
|
|
6223
6223
|
case 22:
|
|
6224
|
-
Ot = (c = Ot) || s.memoizedState !== null,
|
|
6224
|
+
Ot = (c = Ot) || s.memoizedState !== null, Lr(
|
|
6225
6225
|
r,
|
|
6226
6226
|
i,
|
|
6227
6227
|
s
|
|
6228
6228
|
), Ot = c;
|
|
6229
6229
|
break;
|
|
6230
6230
|
default:
|
|
6231
|
-
|
|
6231
|
+
Lr(
|
|
6232
6232
|
r,
|
|
6233
6233
|
i,
|
|
6234
6234
|
s
|
|
@@ -6240,7 +6240,7 @@ Error generating stack: ` + s.message + `
|
|
|
6240
6240
|
try {
|
|
6241
6241
|
ns(r);
|
|
6242
6242
|
} catch (s) {
|
|
6243
|
-
|
|
6243
|
+
ct(i, i.return, s);
|
|
6244
6244
|
}
|
|
6245
6245
|
}
|
|
6246
6246
|
function dL(r) {
|
|
@@ -6303,7 +6303,7 @@ Error generating stack: ` + s.message + `
|
|
|
6303
6303
|
In(i, r), Dn(r), c & 4 && (ra(3, r, r.return), Po(3, r), ra(5, r, r.return));
|
|
6304
6304
|
break;
|
|
6305
6305
|
case 1:
|
|
6306
|
-
In(i, r), Dn(r), c & 512 && (Ot || s === null || dr(s, s.return)), c & 64 &&
|
|
6306
|
+
In(i, r), Dn(r), c & 512 && (Ot || s === null || dr(s, s.return)), c & 64 && Dr && (r = r.updateQueue, r !== null && (c = r.callbacks, c !== null && (s = r.shared.hiddenCallbacks, r.shared.hiddenCallbacks = s === null ? c : s.concat(c))));
|
|
6307
6307
|
break;
|
|
6308
6308
|
case 26:
|
|
6309
6309
|
var g = nr;
|
|
@@ -6397,7 +6397,7 @@ Error generating stack: ` + s.message + `
|
|
|
6397
6397
|
try {
|
|
6398
6398
|
Wr(g, "");
|
|
6399
6399
|
} catch (te) {
|
|
6400
|
-
|
|
6400
|
+
ct(r, r.return, te);
|
|
6401
6401
|
}
|
|
6402
6402
|
}
|
|
6403
6403
|
c & 4 && r.stateNode != null && (g = r.memoizedProps, md(
|
|
@@ -6414,7 +6414,7 @@ Error generating stack: ` + s.message + `
|
|
|
6414
6414
|
try {
|
|
6415
6415
|
s.nodeValue = c;
|
|
6416
6416
|
} catch (te) {
|
|
6417
|
-
|
|
6417
|
+
ct(r, r.return, te);
|
|
6418
6418
|
}
|
|
6419
6419
|
}
|
|
6420
6420
|
break;
|
|
@@ -6423,7 +6423,7 @@ Error generating stack: ` + s.message + `
|
|
|
6423
6423
|
try {
|
|
6424
6424
|
ns(i.containerInfo);
|
|
6425
6425
|
} catch (te) {
|
|
6426
|
-
|
|
6426
|
+
ct(r, r.return, te);
|
|
6427
6427
|
}
|
|
6428
6428
|
Ed && (Ed = !1, pw(r));
|
|
6429
6429
|
break;
|
|
@@ -6440,9 +6440,9 @@ Error generating stack: ` + s.message + `
|
|
|
6440
6440
|
break;
|
|
6441
6441
|
case 22:
|
|
6442
6442
|
g = r.memoizedState !== null;
|
|
6443
|
-
var z = s !== null && s.memoizedState !== null, Z =
|
|
6444
|
-
if (
|
|
6445
|
-
e: for (i = r.stateNode, i._visibility = g ? i._visibility & -2 : i._visibility | 1, g && (s === null || z ||
|
|
6443
|
+
var z = s !== null && s.memoizedState !== null, Z = Dr, ie = Ot;
|
|
6444
|
+
if (Dr = Z || g, Ot = ie || z, In(i, r), Ot = ie, Dr = Z, Dn(r), c & 8192)
|
|
6445
|
+
e: for (i = r.stateNode, i._visibility = g ? i._visibility & -2 : i._visibility | 1, g && (s === null || z || Dr || Ot || Wa(r)), s = null, i = r; ; ) {
|
|
6446
6446
|
if (i.tag === 5 || i.tag === 26) {
|
|
6447
6447
|
if (s === null) {
|
|
6448
6448
|
z = s = i;
|
|
@@ -6455,7 +6455,7 @@ Error generating stack: ` + s.message + `
|
|
|
6455
6455
|
I.style.display = ee == null || typeof ee == "boolean" ? "" : ("" + ee).trim();
|
|
6456
6456
|
}
|
|
6457
6457
|
} catch (te) {
|
|
6458
|
-
|
|
6458
|
+
ct(z, z.return, te);
|
|
6459
6459
|
}
|
|
6460
6460
|
}
|
|
6461
6461
|
} else if (i.tag === 6) {
|
|
@@ -6464,7 +6464,7 @@ Error generating stack: ` + s.message + `
|
|
|
6464
6464
|
try {
|
|
6465
6465
|
z.stateNode.nodeValue = g ? "" : z.memoizedProps;
|
|
6466
6466
|
} catch (te) {
|
|
6467
|
-
|
|
6467
|
+
ct(z, z.return, te);
|
|
6468
6468
|
}
|
|
6469
6469
|
}
|
|
6470
6470
|
} else if ((i.tag !== 22 && i.tag !== 23 || i.memoizedState === null || i === r) && i.child !== null) {
|
|
@@ -6527,7 +6527,7 @@ Error generating stack: ` + s.message + `
|
|
|
6527
6527
|
throw Error(a(161));
|
|
6528
6528
|
}
|
|
6529
6529
|
} catch (ie) {
|
|
6530
|
-
|
|
6530
|
+
ct(r, r.return, ie);
|
|
6531
6531
|
}
|
|
6532
6532
|
r.flags &= -3;
|
|
6533
6533
|
}
|
|
@@ -6604,7 +6604,7 @@ Error generating stack: ` + s.message + `
|
|
|
6604
6604
|
try {
|
|
6605
6605
|
g.componentDidMount();
|
|
6606
6606
|
} catch (Z) {
|
|
6607
|
-
|
|
6607
|
+
ct(c, c.return, Z);
|
|
6608
6608
|
}
|
|
6609
6609
|
if (c = b, g = c.updateQueue, g !== null) {
|
|
6610
6610
|
var I = c.stateNode;
|
|
@@ -6614,7 +6614,7 @@ Error generating stack: ` + s.message + `
|
|
|
6614
6614
|
for (g.shared.hiddenCallbacks = null, g = 0; g < z.length; g++)
|
|
6615
6615
|
qv(z[g], I);
|
|
6616
6616
|
} catch (Z) {
|
|
6617
|
-
|
|
6617
|
+
ct(c, c.return, Z);
|
|
6618
6618
|
}
|
|
6619
6619
|
}
|
|
6620
6620
|
s && R & 64 && tw(b), zo(b, b.return);
|
|
@@ -6725,7 +6725,7 @@ Error generating stack: ` + s.message + `
|
|
|
6725
6725
|
-0
|
|
6726
6726
|
);
|
|
6727
6727
|
} catch (z) {
|
|
6728
|
-
|
|
6728
|
+
ct(i, i.return, z);
|
|
6729
6729
|
}
|
|
6730
6730
|
} else
|
|
6731
6731
|
pr(
|
|
@@ -7008,7 +7008,7 @@ Error generating stack: ` + s.message + `
|
|
|
7008
7008
|
var i = tn(Pt), s = i.data.get(r);
|
|
7009
7009
|
return s === void 0 && (s = r(), i.data.set(r, s)), s;
|
|
7010
7010
|
}
|
|
7011
|
-
}, fL = typeof WeakMap == "function" ? WeakMap : Map, at = 0,
|
|
7011
|
+
}, fL = typeof WeakMap == "function" ? WeakMap : Map, at = 0, ft = null, Ve = null, Ke = 0, it = 0, Ln = null, oa = !1, Li = !1, Ad = !1, Mr = 0, Ct = 0, sa = 0, Xa = 0, xd = 0, Yn = 0, Mi = 0, Go = null, yn = null, Td = !1, Rd = 0, Cl = 1 / 0, kl = null, la = null, Qt = 0, ua = null, Fi = null, Bi = 0, Nd = 0, Cd = null, yw = null, _o = 0, kd = null;
|
|
7012
7012
|
function Mn() {
|
|
7013
7013
|
if ((at & 2) !== 0 && Ke !== 0)
|
|
7014
7014
|
return Ke & -Ke;
|
|
@@ -7024,12 +7024,12 @@ Error generating stack: ` + s.message + `
|
|
|
7024
7024
|
return r !== null && (r.flags |= 32), Yn;
|
|
7025
7025
|
}
|
|
7026
7026
|
function Fn(r, i, s) {
|
|
7027
|
-
(r ===
|
|
7027
|
+
(r === ft && (it === 2 || it === 9) || r.cancelPendingCommit !== null) && (Ui(r, 0), ca(
|
|
7028
7028
|
r,
|
|
7029
7029
|
Ke,
|
|
7030
7030
|
Yn,
|
|
7031
7031
|
!1
|
|
7032
|
-
)), Tn(r, s), ((at & 2) === 0 || r !==
|
|
7032
|
+
)), Tn(r, s), ((at & 2) === 0 || r !== ft) && (r === ft && ((at & 2) === 0 && (Xa |= s), Ct === 4 && ca(
|
|
7033
7033
|
r,
|
|
7034
7034
|
Ke,
|
|
7035
7035
|
Yn,
|
|
@@ -7112,7 +7112,7 @@ Error generating stack: ` + s.message + `
|
|
|
7112
7112
|
i,
|
|
7113
7113
|
Yn,
|
|
7114
7114
|
!oa
|
|
7115
|
-
),
|
|
7115
|
+
), pt(c, 0, !0) !== 0) break e;
|
|
7116
7116
|
c.timeoutHandle = Kw(
|
|
7117
7117
|
Sw.bind(
|
|
7118
7118
|
null,
|
|
@@ -7233,7 +7233,7 @@ Error generating stack: ` + s.message + `
|
|
|
7233
7233
|
if (it === 0)
|
|
7234
7234
|
var r = Ve.return;
|
|
7235
7235
|
else
|
|
7236
|
-
r = Ve,
|
|
7236
|
+
r = Ve, Rr = Ha = null, Wc(r), ki = null, Fo = 0, r = Ve;
|
|
7237
7237
|
for (; r !== null; )
|
|
7238
7238
|
ew(r.alternate, r), r = r.return;
|
|
7239
7239
|
Ve = null;
|
|
@@ -7241,14 +7241,14 @@ Error generating stack: ` + s.message + `
|
|
|
7241
7241
|
}
|
|
7242
7242
|
function Ui(r, i) {
|
|
7243
7243
|
var s = r.timeoutHandle;
|
|
7244
|
-
s !== -1 && (r.timeoutHandle = -1, DL(s)), s = r.cancelPendingCommit, s !== null && (r.cancelPendingCommit = null, s()), Od(),
|
|
7244
|
+
s !== -1 && (r.timeoutHandle = -1, DL(s)), s = r.cancelPendingCommit, s !== null && (r.cancelPendingCommit = null, s()), Od(), ft = r, Ve = s = Ar(r.current, null), Ke = i, it = 0, Ln = null, oa = !1, Li = Rt(r, i), Ad = !1, Mi = Yn = xd = Xa = sa = Ct = 0, yn = Go = null, Td = !1, (i & 8) !== 0 && (i |= i & 32);
|
|
7245
7245
|
var c = r.entangledLanes;
|
|
7246
7246
|
if (c !== 0)
|
|
7247
7247
|
for (r = r.entanglements, c &= i; 0 < c; ) {
|
|
7248
7248
|
var g = 31 - Ee(c), b = 1 << g;
|
|
7249
7249
|
i |= r[g], c &= ~b;
|
|
7250
7250
|
}
|
|
7251
|
-
return
|
|
7251
|
+
return Mr = i, Js(), s;
|
|
7252
7252
|
}
|
|
7253
7253
|
function ww(r, i) {
|
|
7254
7254
|
Ge = null, j.H = bl, i === Ro || i === sl ? (i = zv(), it = 3) : i === Bv ? (i = zv(), it = 4) : it = i === jS ? 8 : i !== null && typeof i == "object" && typeof i.then == "function" ? 6 : 1, Ln = i, Ve === null && (Ct = 1, wl(
|
|
@@ -7265,8 +7265,8 @@ Error generating stack: ` + s.message + `
|
|
|
7265
7265
|
return j.A = pL, r;
|
|
7266
7266
|
}
|
|
7267
7267
|
function Id() {
|
|
7268
|
-
Ct = 4, oa || (Ke & 4194048) !== Ke && Vn.current !== null || (Li = !0), (sa & 134217727) === 0 && (Xa & 134217727) === 0 ||
|
|
7269
|
-
|
|
7268
|
+
Ct = 4, oa || (Ke & 4194048) !== Ke && Vn.current !== null || (Li = !0), (sa & 134217727) === 0 && (Xa & 134217727) === 0 || ft === null || ca(
|
|
7269
|
+
ft,
|
|
7270
7270
|
Ke,
|
|
7271
7271
|
Yn,
|
|
7272
7272
|
!1
|
|
@@ -7276,7 +7276,7 @@ Error generating stack: ` + s.message + `
|
|
|
7276
7276
|
var c = at;
|
|
7277
7277
|
at |= 2;
|
|
7278
7278
|
var g = Aw(), b = xw();
|
|
7279
|
-
(
|
|
7279
|
+
(ft !== r || Ke !== i) && (kl = null, Ui(r, i)), i = !1;
|
|
7280
7280
|
var R = Ct;
|
|
7281
7281
|
e: do
|
|
7282
7282
|
try {
|
|
@@ -7307,7 +7307,7 @@ Error generating stack: ` + s.message + `
|
|
|
7307
7307
|
ww(r, ie);
|
|
7308
7308
|
}
|
|
7309
7309
|
while (!0);
|
|
7310
|
-
return i && r.shellSuspendCounter++,
|
|
7310
|
+
return i && r.shellSuspendCounter++, Rr = Ha = null, at = c, j.H = g, j.A = b, Ve === null && (ft = null, Ke = 0, Js()), R;
|
|
7311
7311
|
}
|
|
7312
7312
|
function gL() {
|
|
7313
7313
|
for (; Ve !== null; ) Tw(Ve);
|
|
@@ -7316,7 +7316,7 @@ Error generating stack: ` + s.message + `
|
|
|
7316
7316
|
var s = at;
|
|
7317
7317
|
at |= 2;
|
|
7318
7318
|
var c = Aw(), g = xw();
|
|
7319
|
-
|
|
7319
|
+
ft !== r || Ke !== i ? (kl = null, Cl = Me() + 500, Ui(r, i)) : Li = Rt(
|
|
7320
7320
|
r,
|
|
7321
7321
|
i
|
|
7322
7322
|
);
|
|
@@ -7336,7 +7336,7 @@ Error generating stack: ` + s.message + `
|
|
|
7336
7336
|
break;
|
|
7337
7337
|
}
|
|
7338
7338
|
i = function() {
|
|
7339
|
-
it !== 2 && it !== 9 ||
|
|
7339
|
+
it !== 2 && it !== 9 || ft !== r || (it = 7), fr(r);
|
|
7340
7340
|
}, b.then(i, i);
|
|
7341
7341
|
break e;
|
|
7342
7342
|
case 3:
|
|
@@ -7385,14 +7385,14 @@ Error generating stack: ` + s.message + `
|
|
|
7385
7385
|
ww(r, ie);
|
|
7386
7386
|
}
|
|
7387
7387
|
while (!0);
|
|
7388
|
-
return
|
|
7388
|
+
return Rr = Ha = null, j.H = c, j.A = g, at = s, Ve !== null ? 0 : (ft = null, Ke = 0, Js(), Ct);
|
|
7389
7389
|
}
|
|
7390
7390
|
function bL() {
|
|
7391
7391
|
for (; Ve !== null && !me(); )
|
|
7392
7392
|
Tw(Ve);
|
|
7393
7393
|
}
|
|
7394
7394
|
function Tw(r) {
|
|
7395
|
-
var i = JS(r.alternate, r,
|
|
7395
|
+
var i = JS(r.alternate, r, Mr);
|
|
7396
7396
|
r.memoizedProps = r.pendingProps, i === null ? Il(r) : Ve = i;
|
|
7397
7397
|
}
|
|
7398
7398
|
function Rw(r) {
|
|
@@ -7422,12 +7422,12 @@ Error generating stack: ` + s.message + `
|
|
|
7422
7422
|
case 5:
|
|
7423
7423
|
Wc(i);
|
|
7424
7424
|
default:
|
|
7425
|
-
ew(s, i), i = Ve = Nv(i,
|
|
7425
|
+
ew(s, i), i = Ve = Nv(i, Mr), i = JS(s, i, Mr);
|
|
7426
7426
|
}
|
|
7427
7427
|
r.memoizedProps = r.pendingProps, i === null ? Il(r) : Ve = i;
|
|
7428
7428
|
}
|
|
7429
7429
|
function Pi(r, i, s, c) {
|
|
7430
|
-
|
|
7430
|
+
Rr = Ha = null, Wc(i), ki = null, Fo = 0;
|
|
7431
7431
|
var g = i.return;
|
|
7432
7432
|
try {
|
|
7433
7433
|
if (oL(
|
|
@@ -7467,7 +7467,7 @@ Error generating stack: ` + s.message + `
|
|
|
7467
7467
|
var s = lL(
|
|
7468
7468
|
i.alternate,
|
|
7469
7469
|
i,
|
|
7470
|
-
|
|
7470
|
+
Mr
|
|
7471
7471
|
);
|
|
7472
7472
|
if (s !== null) {
|
|
7473
7473
|
Ve = s;
|
|
@@ -7511,7 +7511,7 @@ Error generating stack: ` + s.message + `
|
|
|
7511
7511
|
R,
|
|
7512
7512
|
I,
|
|
7513
7513
|
z
|
|
7514
|
-
), r ===
|
|
7514
|
+
), r === ft && (Ve = ft = null, Ke = 0), Fi = i, ua = r, Bi = s, Nd = b, Cd = g, yw = c, (i.subtreeFlags & 10256) !== 0 || (i.flags & 10256) !== 0 ? (r.callbackNode = null, r.callbackPriority = 0, SL(rt, function() {
|
|
7515
7515
|
return Lw(), null;
|
|
7516
7516
|
})) : (r.callbackNode = null, r.callbackPriority = 0), c = (i.flags & 13878) !== 0, (i.subtreeFlags & 13878) !== 0 || c) {
|
|
7517
7517
|
c = j.T, j.T = null, g = $.p, $.p = 2, R = at, at |= 4;
|
|
@@ -7611,7 +7611,7 @@ Error generating stack: ` + s.message + `
|
|
|
7611
7611
|
var r = ua, i = Fi, s = Bi, c = yw;
|
|
7612
7612
|
(i.subtreeFlags & 10256) !== 0 || (i.flags & 10256) !== 0 ? Qt = 5 : (Qt = 0, Fi = ua = null, Dw(r, r.pendingLanes));
|
|
7613
7613
|
var g = r.pendingLanes;
|
|
7614
|
-
if (g === 0 && (la = null),
|
|
7614
|
+
if (g === 0 && (la = null), jr(s), i = i.stateNode, ae && typeof ae.onCommitFiberRoot == "function")
|
|
7615
7615
|
try {
|
|
7616
7616
|
ae.onCommitFiberRoot(
|
|
7617
7617
|
ne,
|
|
@@ -7647,7 +7647,7 @@ Error generating stack: ` + s.message + `
|
|
|
7647
7647
|
if (Qt !== 5) return !1;
|
|
7648
7648
|
var r = ua, i = Nd;
|
|
7649
7649
|
Nd = 0;
|
|
7650
|
-
var s =
|
|
7650
|
+
var s = jr(Bi), c = j.T, g = $.p;
|
|
7651
7651
|
try {
|
|
7652
7652
|
$.p = 32 > s ? 32 : s, j.T = null, s = Cd, Cd = null;
|
|
7653
7653
|
var b = ua, R = Bi;
|
|
@@ -7671,7 +7671,7 @@ Error generating stack: ` + s.message + `
|
|
|
7671
7671
|
function Mw(r, i, s) {
|
|
7672
7672
|
i = qn(s, i), i = sd(r.stateNode, i, 2), r = $r(r, i, 2), r !== null && (Tn(r, 2), fr(r));
|
|
7673
7673
|
}
|
|
7674
|
-
function
|
|
7674
|
+
function ct(r, i, s) {
|
|
7675
7675
|
if (r.tag === 3)
|
|
7676
7676
|
Mw(r, r, s);
|
|
7677
7677
|
else
|
|
@@ -7710,10 +7710,10 @@ Error generating stack: ` + s.message + `
|
|
|
7710
7710
|
}
|
|
7711
7711
|
function yL(r, i, s) {
|
|
7712
7712
|
var c = r.pingCache;
|
|
7713
|
-
c !== null && c.delete(i), r.pingedLanes |= r.suspendedLanes & s, r.warmLanes &= ~s,
|
|
7713
|
+
c !== null && c.delete(i), r.pingedLanes |= r.suspendedLanes & s, r.warmLanes &= ~s, ft === r && (Ke & s) === s && (Ct === 4 || Ct === 3 && (Ke & 62914560) === Ke && 300 > Me() - Rd ? (at & 2) === 0 && Ui(r, 0) : xd |= s, Mi === Ke && (Mi = 0)), fr(r);
|
|
7714
7714
|
}
|
|
7715
7715
|
function Fw(r, i) {
|
|
7716
|
-
i === 0 && (i =
|
|
7716
|
+
i === 0 && (i = mt()), r = Ei(r, i), r !== null && (Tn(r, i), fr(r));
|
|
7717
7717
|
}
|
|
7718
7718
|
function EL(r) {
|
|
7719
7719
|
var i = r.memoizedState, s = 0;
|
|
@@ -7758,9 +7758,9 @@ Error generating stack: ` + s.message + `
|
|
|
7758
7758
|
}
|
|
7759
7759
|
b !== 0 && (s = !0, zw(c, b));
|
|
7760
7760
|
} else
|
|
7761
|
-
b = Ke, b =
|
|
7761
|
+
b = Ke, b = pt(
|
|
7762
7762
|
c,
|
|
7763
|
-
c ===
|
|
7763
|
+
c === ft ? b : 0,
|
|
7764
7764
|
c.cancelPendingCommit !== null || c.timeoutHandle !== -1
|
|
7765
7765
|
), (b & 3) === 0 || Rt(c, b) || (s = !0, zw(c, b));
|
|
7766
7766
|
c = c.next;
|
|
@@ -7787,7 +7787,7 @@ Error generating stack: ` + s.message + `
|
|
|
7787
7787
|
var R = 31 - Ee(b), I = 1 << R, z = g[R];
|
|
7788
7788
|
z === -1 ? ((I & s) === 0 || (I & c) !== 0) && (g[R] = Bt(I, i)) : z <= i && (r.expiredLanes |= I), b &= ~I;
|
|
7789
7789
|
}
|
|
7790
|
-
if (i =
|
|
7790
|
+
if (i = ft, s = Ke, s = pt(
|
|
7791
7791
|
r,
|
|
7792
7792
|
r === i ? s : 0,
|
|
7793
7793
|
r.cancelPendingCommit !== null || r.timeoutHandle !== -1
|
|
@@ -7795,7 +7795,7 @@ Error generating stack: ` + s.message + `
|
|
|
7795
7795
|
return c !== null && c !== null && tt(c), r.callbackNode = null, r.callbackPriority = 0;
|
|
7796
7796
|
if ((s & 3) === 0 || Rt(r, s)) {
|
|
7797
7797
|
if (i = s & -s, i === r.callbackPriority) return i;
|
|
7798
|
-
switch (c !== null && tt(c),
|
|
7798
|
+
switch (c !== null && tt(c), jr(s)) {
|
|
7799
7799
|
case 2:
|
|
7800
7800
|
case 8:
|
|
7801
7801
|
s = Ie;
|
|
@@ -7804,7 +7804,7 @@ Error generating stack: ` + s.message + `
|
|
|
7804
7804
|
s = rt;
|
|
7805
7805
|
break;
|
|
7806
7806
|
case 268435456:
|
|
7807
|
-
s =
|
|
7807
|
+
s = qe;
|
|
7808
7808
|
break;
|
|
7809
7809
|
default:
|
|
7810
7810
|
s = rt;
|
|
@@ -7820,9 +7820,9 @@ Error generating stack: ` + s.message + `
|
|
|
7820
7820
|
if (Dl() && r.callbackNode !== s)
|
|
7821
7821
|
return null;
|
|
7822
7822
|
var c = Ke;
|
|
7823
|
-
return c =
|
|
7823
|
+
return c = pt(
|
|
7824
7824
|
r,
|
|
7825
|
-
r ===
|
|
7825
|
+
r === ft ? c : 0,
|
|
7826
7826
|
r.cancelPendingCommit !== null || r.timeoutHandle !== -1
|
|
7827
7827
|
), c === 0 ? null : (vw(r, c, i), Uw(r, Me()), r.callbackNode != null && r.callbackNode === s ? Pw.bind(null, r) : null);
|
|
7828
7828
|
}
|
|
@@ -8036,7 +8036,7 @@ Error generating stack: ` + s.message + `
|
|
|
8036
8036
|
R = R.return;
|
|
8037
8037
|
}
|
|
8038
8038
|
for (; I !== null; ) {
|
|
8039
|
-
if (R =
|
|
8039
|
+
if (R = Hr(I), R === null) return;
|
|
8040
8040
|
if (z = R.tag, z === 5 || z === 6 || z === 26 || z === 27) {
|
|
8041
8041
|
c = b = R;
|
|
8042
8042
|
continue e;
|
|
@@ -8046,7 +8046,7 @@ Error generating stack: ` + s.message + `
|
|
|
8046
8046
|
}
|
|
8047
8047
|
c = c.return;
|
|
8048
8048
|
}
|
|
8049
|
-
|
|
8049
|
+
yt(function() {
|
|
8050
8050
|
var Z = b, ie = pe(s), ce = [];
|
|
8051
8051
|
e: {
|
|
8052
8052
|
var ee = xv.get(r);
|
|
@@ -8151,16 +8151,16 @@ Error generating stack: ` + s.message + `
|
|
|
8151
8151
|
}
|
|
8152
8152
|
if ((i & 7) === 0) {
|
|
8153
8153
|
e: {
|
|
8154
|
-
if (ee = r === "mouseover" || r === "pointerover", te = r === "mouseout" || r === "pointerout", ee && s !== ue && (ke = s.relatedTarget || s.fromElement) && (
|
|
8154
|
+
if (ee = r === "mouseover" || r === "pointerover", te = r === "mouseout" || r === "pointerout", ee && s !== ue && (ke = s.relatedTarget || s.fromElement) && (Hr(ke) || ke[bt]))
|
|
8155
8155
|
break e;
|
|
8156
|
-
if ((te || ee) && (ee = ie.window === ie ? ie : (ee = ie.ownerDocument) ? ee.defaultView || ee.parentWindow : window, te ? (ke = s.relatedTarget || s.toElement, te = Z, ke = ke ?
|
|
8156
|
+
if ((te || ee) && (ee = ie.window === ie ? ie : (ee = ie.ownerDocument) ? ee.defaultView || ee.parentWindow : window, te ? (ke = s.relatedTarget || s.toElement, te = Z, ke = ke ? Hr(ke) : null, ke !== null && (ut = l(ke), Ne = ke.tag, ke !== ut || Ne !== 5 && Ne !== 27 && Ne !== 6) && (ke = null)) : (te = null, ke = Z), te !== ke)) {
|
|
8157
8157
|
if (Ne = $E, le = "onMouseLeave", V = "onMouseEnter", _ = "mouse", (r === "pointerout" || r === "pointerover") && (Ne = tv, le = "onPointerLeave", V = "onPointerEnter", _ = "pointer"), ut = te == null ? ee : Oa(te), K = ke == null ? ee : Oa(ke), ee = new Ne(
|
|
8158
8158
|
le,
|
|
8159
8159
|
_ + "leave",
|
|
8160
8160
|
te,
|
|
8161
8161
|
s,
|
|
8162
8162
|
ie
|
|
8163
|
-
), ee.target = ut, ee.relatedTarget = K, le = null,
|
|
8163
|
+
), ee.target = ut, ee.relatedTarget = K, le = null, Hr(ie) === Z && (Ne = new Ne(
|
|
8164
8164
|
V,
|
|
8165
8165
|
_ + "enter",
|
|
8166
8166
|
ke,
|
|
@@ -8704,7 +8704,7 @@ Error generating stack: ` + s.message + `
|
|
|
8704
8704
|
lt(r, i, c, ie, s, null);
|
|
8705
8705
|
}
|
|
8706
8706
|
}
|
|
8707
|
-
|
|
8707
|
+
Sr(
|
|
8708
8708
|
r,
|
|
8709
8709
|
b,
|
|
8710
8710
|
I,
|
|
@@ -9272,7 +9272,7 @@ Error generating stack: ` + s.message + `
|
|
|
9272
9272
|
function zl(r) {
|
|
9273
9273
|
return typeof r.getRootNode == "function" ? r.getRootNode() : r.nodeType === 9 ? r : r.ownerDocument;
|
|
9274
9274
|
}
|
|
9275
|
-
var
|
|
9275
|
+
var Fr = $.d;
|
|
9276
9276
|
$.d = {
|
|
9277
9277
|
f: PL,
|
|
9278
9278
|
r: zL,
|
|
@@ -9285,12 +9285,12 @@ Error generating stack: ` + s.message + `
|
|
|
9285
9285
|
M: YL
|
|
9286
9286
|
};
|
|
9287
9287
|
function PL() {
|
|
9288
|
-
var r =
|
|
9288
|
+
var r = Fr.f(), i = Ol();
|
|
9289
9289
|
return r || i;
|
|
9290
9290
|
}
|
|
9291
9291
|
function zL(r) {
|
|
9292
9292
|
var i = Nn(r);
|
|
9293
|
-
i !== null && i.tag === 5 && i.type === "form" ? vS(i) :
|
|
9293
|
+
i !== null && i.tag === 5 && i.type === "form" ? vS(i) : Fr.r(r);
|
|
9294
9294
|
}
|
|
9295
9295
|
var qi = typeof document > "u" ? null : document;
|
|
9296
9296
|
function tA(r, i, s) {
|
|
@@ -9301,13 +9301,13 @@ Error generating stack: ` + s.message + `
|
|
|
9301
9301
|
}
|
|
9302
9302
|
}
|
|
9303
9303
|
function jL(r) {
|
|
9304
|
-
|
|
9304
|
+
Fr.D(r), tA("dns-prefetch", r, null);
|
|
9305
9305
|
}
|
|
9306
9306
|
function qL(r, i) {
|
|
9307
|
-
|
|
9307
|
+
Fr.C(r, i), tA("preconnect", r, i);
|
|
9308
9308
|
}
|
|
9309
9309
|
function HL(r, i, s) {
|
|
9310
|
-
|
|
9310
|
+
Fr.L(r, i, s);
|
|
9311
9311
|
var c = qi;
|
|
9312
9312
|
if (c && r && i) {
|
|
9313
9313
|
var g = 'link[rel="preload"][as="' + hn(i) + '"]';
|
|
@@ -9335,7 +9335,7 @@ Error generating stack: ` + s.message + `
|
|
|
9335
9335
|
}
|
|
9336
9336
|
}
|
|
9337
9337
|
function GL(r, i) {
|
|
9338
|
-
|
|
9338
|
+
Fr.m(r, i);
|
|
9339
9339
|
var s = qi;
|
|
9340
9340
|
if (s && r) {
|
|
9341
9341
|
var c = i && typeof i.as == "string" ? i.as : "script", g = 'link[rel="modulepreload"][as="' + hn(c) + '"][href="' + hn(r) + '"]', b = g;
|
|
@@ -9364,7 +9364,7 @@ Error generating stack: ` + s.message + `
|
|
|
9364
9364
|
}
|
|
9365
9365
|
}
|
|
9366
9366
|
function _L(r, i, s) {
|
|
9367
|
-
|
|
9367
|
+
Fr.S(r, i, s);
|
|
9368
9368
|
var c = qi;
|
|
9369
9369
|
if (c && r) {
|
|
9370
9370
|
var g = Jn(c).hoistableStyles, b = Hi(r);
|
|
@@ -9400,7 +9400,7 @@ Error generating stack: ` + s.message + `
|
|
|
9400
9400
|
}
|
|
9401
9401
|
}
|
|
9402
9402
|
function VL(r, i) {
|
|
9403
|
-
|
|
9403
|
+
Fr.X(r, i);
|
|
9404
9404
|
var s = qi;
|
|
9405
9405
|
if (s && r) {
|
|
9406
9406
|
var c = Jn(s).hoistableScripts, g = Gi(r), b = c.get(g);
|
|
@@ -9413,7 +9413,7 @@ Error generating stack: ` + s.message + `
|
|
|
9413
9413
|
}
|
|
9414
9414
|
}
|
|
9415
9415
|
function YL(r, i) {
|
|
9416
|
-
|
|
9416
|
+
Fr.M(r, i);
|
|
9417
9417
|
var s = qi;
|
|
9418
9418
|
if (s && r) {
|
|
9419
9419
|
var c = Jn(s).hoistableScripts, g = Gi(r), b = c.get(g);
|
|
@@ -9828,7 +9828,7 @@ Error generating stack: ` + s.message + `
|
|
|
9828
9828
|
}
|
|
9829
9829
|
var Vl = null;
|
|
9830
9830
|
function np(r) {
|
|
9831
|
-
if (Vl = null, r =
|
|
9831
|
+
if (Vl = null, r = Hr(r), r !== null) {
|
|
9832
9832
|
var i = l(r);
|
|
9833
9833
|
if (i === null) r = null;
|
|
9834
9834
|
else {
|
|
@@ -9921,7 +9921,7 @@ Error generating stack: ` + s.message + `
|
|
|
9921
9921
|
case "pointerleave":
|
|
9922
9922
|
return 8;
|
|
9923
9923
|
case "message":
|
|
9924
|
-
switch (
|
|
9924
|
+
switch (ze()) {
|
|
9925
9925
|
case Oe:
|
|
9926
9926
|
return 2;
|
|
9927
9927
|
case Ie:
|
|
@@ -9929,7 +9929,7 @@ Error generating stack: ` + s.message + `
|
|
|
9929
9929
|
case rt:
|
|
9930
9930
|
case Xe:
|
|
9931
9931
|
return 32;
|
|
9932
|
-
case
|
|
9932
|
+
case qe:
|
|
9933
9933
|
return 268435456;
|
|
9934
9934
|
default:
|
|
9935
9935
|
return 32;
|
|
@@ -10031,7 +10031,7 @@ Error generating stack: ` + s.message + `
|
|
|
10031
10031
|
return !1;
|
|
10032
10032
|
}
|
|
10033
10033
|
function gA(r) {
|
|
10034
|
-
var i =
|
|
10034
|
+
var i = Hr(r.target);
|
|
10035
10035
|
if (i !== null) {
|
|
10036
10036
|
var s = l(i);
|
|
10037
10037
|
if (s !== null) {
|
|
@@ -10040,7 +10040,7 @@ Error generating stack: ` + s.message + `
|
|
|
10040
10040
|
r.blockedOn = i, ic(r.priority, function() {
|
|
10041
10041
|
if (s.tag === 13) {
|
|
10042
10042
|
var c = Mn();
|
|
10043
|
-
c =
|
|
10043
|
+
c = zr(c);
|
|
10044
10044
|
var g = Ei(s, c);
|
|
10045
10045
|
g !== null && Fn(g, s, c), $d(s, c);
|
|
10046
10046
|
}
|
|
@@ -10153,7 +10153,7 @@ Error generating stack: ` + s.message + `
|
|
|
10153
10153
|
if (r !== null) {
|
|
10154
10154
|
this._internalRoot = null;
|
|
10155
10155
|
var i = r.containerInfo;
|
|
10156
|
-
cA(r.current, 2, null, r, null, null), Ol(), i[
|
|
10156
|
+
cA(r.current, 2, null, r, null, null), Ol(), i[bt] = null;
|
|
10157
10157
|
}
|
|
10158
10158
|
};
|
|
10159
10159
|
function Kl(r) {
|
|
@@ -10215,7 +10215,7 @@ Error generating stack: ` + s.message + `
|
|
|
10215
10215
|
R,
|
|
10216
10216
|
I,
|
|
10217
10217
|
null
|
|
10218
|
-
), r[
|
|
10218
|
+
), r[bt] = i.current, jd(r), new ap(i);
|
|
10219
10219
|
}, as.hydrateRoot = function(r, i, s) {
|
|
10220
10220
|
if (!o(r)) throw Error(a(299));
|
|
10221
10221
|
var c = !1, g = "", b = MS, R = FS, I = BS, z = null, Z = null;
|
|
@@ -10232,7 +10232,7 @@ Error generating stack: ` + s.message + `
|
|
|
10232
10232
|
I,
|
|
10233
10233
|
z,
|
|
10234
10234
|
Z
|
|
10235
|
-
), i.context = uA(null), s = i.current, c = Mn(), c =
|
|
10235
|
+
), i.context = uA(null), s = i.current, c = Mn(), c = zr(c), g = Jr(c), g.callback = null, $r(s, g, c), s = c, i.current.lanes = s, Tn(i, s), fr(i), r[bt] = i.current, jd(r), new Kl(i);
|
|
10236
10236
|
}, as.version = "19.1.1", as;
|
|
10237
10237
|
}
|
|
10238
10238
|
var CA;
|
|
@@ -10491,10 +10491,10 @@ const $M = (e) => {
|
|
|
10491
10491
|
asap: n2,
|
|
10492
10492
|
isIterable: r2
|
|
10493
10493
|
};
|
|
10494
|
-
function
|
|
10494
|
+
function Be(e, t, n, a, o) {
|
|
10495
10495
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), a && (this.request = a), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
10496
10496
|
}
|
|
10497
|
-
re.inherits(
|
|
10497
|
+
re.inherits(Be, Error, {
|
|
10498
10498
|
toJSON: function() {
|
|
10499
10499
|
return {
|
|
10500
10500
|
// Standard
|
|
@@ -10515,7 +10515,7 @@ re.inherits(Fe, Error, {
|
|
|
10515
10515
|
};
|
|
10516
10516
|
}
|
|
10517
10517
|
});
|
|
10518
|
-
const fk =
|
|
10518
|
+
const fk = Be.prototype, hk = {};
|
|
10519
10519
|
[
|
|
10520
10520
|
"ERR_BAD_OPTION_VALUE",
|
|
10521
10521
|
"ERR_BAD_OPTION",
|
|
@@ -10533,13 +10533,13 @@ const fk = Fe.prototype, hk = {};
|
|
|
10533
10533
|
].forEach((e) => {
|
|
10534
10534
|
hk[e] = { value: e };
|
|
10535
10535
|
});
|
|
10536
|
-
Object.defineProperties(
|
|
10536
|
+
Object.defineProperties(Be, hk);
|
|
10537
10537
|
Object.defineProperty(fk, "isAxiosError", { value: !0 });
|
|
10538
|
-
|
|
10538
|
+
Be.from = (e, t, n, a, o, l) => {
|
|
10539
10539
|
const u = Object.create(fk);
|
|
10540
10540
|
return re.toFlatObject(e, u, function(p) {
|
|
10541
10541
|
return p !== Error.prototype;
|
|
10542
|
-
}, (d) => d !== "isAxiosError"),
|
|
10542
|
+
}, (d) => d !== "isAxiosError"), Be.call(u, e.message, t, n, a, o), u.cause = e, u.name = e.name, l && Object.assign(u, l), u;
|
|
10543
10543
|
};
|
|
10544
10544
|
const a2 = null;
|
|
10545
10545
|
function xy(e) {
|
|
@@ -10579,7 +10579,7 @@ function Lu(e, t, n) {
|
|
|
10579
10579
|
if (re.isBoolean(v))
|
|
10580
10580
|
return v.toString();
|
|
10581
10581
|
if (!p && re.isBlob(v))
|
|
10582
|
-
throw new
|
|
10582
|
+
throw new Be("Blob is not supported. Use a Buffer instead.");
|
|
10583
10583
|
return re.isArrayBuffer(v) || re.isTypedArray(v) ? p && typeof Blob == "function" ? new Blob([v]) : Buffer.from(v) : v;
|
|
10584
10584
|
}
|
|
10585
10585
|
function h(v, w, x) {
|
|
@@ -10830,7 +10830,7 @@ const Ts = {
|
|
|
10830
10830
|
return JSON.parse(t);
|
|
10831
10831
|
} catch (d) {
|
|
10832
10832
|
if (u)
|
|
10833
|
-
throw d.name === "SyntaxError" ?
|
|
10833
|
+
throw d.name === "SyntaxError" ? Be.from(d, Be.ERR_BAD_RESPONSE, this, null, this.response) : d;
|
|
10834
10834
|
}
|
|
10835
10835
|
}
|
|
10836
10836
|
return t;
|
|
@@ -11073,16 +11073,16 @@ function vk(e) {
|
|
|
11073
11073
|
return !!(e && e.__CANCEL__);
|
|
11074
11074
|
}
|
|
11075
11075
|
function $i(e, t, n) {
|
|
11076
|
-
|
|
11076
|
+
Be.call(this, e ?? "canceled", Be.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
11077
11077
|
}
|
|
11078
|
-
re.inherits($i,
|
|
11078
|
+
re.inherits($i, Be, {
|
|
11079
11079
|
__CANCEL__: !0
|
|
11080
11080
|
});
|
|
11081
11081
|
function Sk(e, t, n) {
|
|
11082
11082
|
const a = n.config.validateStatus;
|
|
11083
|
-
!n.status || !a || a(n.status) ? e(n) : t(new
|
|
11083
|
+
!n.status || !a || a(n.status) ? e(n) : t(new Be(
|
|
11084
11084
|
"Request failed with status code " + n.status,
|
|
11085
|
-
[
|
|
11085
|
+
[Be.ERR_BAD_REQUEST, Be.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
11086
11086
|
n.config,
|
|
11087
11087
|
n.request,
|
|
11088
11088
|
n
|
|
@@ -11305,15 +11305,15 @@ const Ak = (e) => {
|
|
|
11305
11305
|
"onloadend" in x ? x.onloadend = A : x.onreadystatechange = function() {
|
|
11306
11306
|
!x || x.readyState !== 4 || x.status === 0 && !(x.responseURL && x.responseURL.indexOf("file:") === 0) || setTimeout(A);
|
|
11307
11307
|
}, x.onabort = function() {
|
|
11308
|
-
x && (a(new
|
|
11308
|
+
x && (a(new Be("Request aborted", Be.ECONNABORTED, e, x)), x = null);
|
|
11309
11309
|
}, x.onerror = function() {
|
|
11310
|
-
a(new
|
|
11310
|
+
a(new Be("Network Error", Be.ERR_NETWORK, e, x)), x = null;
|
|
11311
11311
|
}, x.ontimeout = function() {
|
|
11312
11312
|
let F = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
11313
11313
|
const D = o.transitional || yk;
|
|
11314
|
-
o.timeoutErrorMessage && (F = o.timeoutErrorMessage), a(new
|
|
11314
|
+
o.timeoutErrorMessage && (F = o.timeoutErrorMessage), a(new Be(
|
|
11315
11315
|
F,
|
|
11316
|
-
D.clarifyTimeoutError ?
|
|
11316
|
+
D.clarifyTimeoutError ? Be.ETIMEDOUT : Be.ECONNABORTED,
|
|
11317
11317
|
e,
|
|
11318
11318
|
x
|
|
11319
11319
|
)), x = null;
|
|
@@ -11324,7 +11324,7 @@ const Ak = (e) => {
|
|
|
11324
11324
|
}, o.cancelToken && o.cancelToken.subscribe(h), o.signal && (o.signal.aborted ? h() : o.signal.addEventListener("abort", h)));
|
|
11325
11325
|
const N = R2(o.url);
|
|
11326
11326
|
if (N && rn.protocols.indexOf(N) === -1) {
|
|
11327
|
-
a(new
|
|
11327
|
+
a(new Be("Unsupported protocol " + N + ":", Be.ERR_BAD_REQUEST, e));
|
|
11328
11328
|
return;
|
|
11329
11329
|
}
|
|
11330
11330
|
x.send(l || null);
|
|
@@ -11337,11 +11337,11 @@ const Ak = (e) => {
|
|
|
11337
11337
|
if (!o) {
|
|
11338
11338
|
o = !0, d();
|
|
11339
11339
|
const h = f instanceof Error ? f : this.reason;
|
|
11340
|
-
a.abort(h instanceof
|
|
11340
|
+
a.abort(h instanceof Be ? h : new $i(h instanceof Error ? h.message : h));
|
|
11341
11341
|
}
|
|
11342
11342
|
};
|
|
11343
11343
|
let u = t && setTimeout(() => {
|
|
11344
|
-
u = null, l(new
|
|
11344
|
+
u = null, l(new Be(`timeout ${t} of ms exceeded`, Be.ETIMEDOUT));
|
|
11345
11345
|
}, t);
|
|
11346
11346
|
const d = () => {
|
|
11347
11347
|
e && (u && clearTimeout(u), u = null, e.forEach((f) => {
|
|
@@ -11431,7 +11431,7 @@ const Ak = (e) => {
|
|
|
11431
11431
|
Mu && ((e) => {
|
|
11432
11432
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
11433
11433
|
!mu[t] && (mu[t] = re.isFunction(e[t]) ? (n) => n[t]() : (n, a) => {
|
|
11434
|
-
throw new
|
|
11434
|
+
throw new Be(`Response type '${t}' is not supported`, Be.ERR_NOT_SUPPORT, a);
|
|
11435
11435
|
});
|
|
11436
11436
|
});
|
|
11437
11437
|
})(new Response());
|
|
@@ -11531,11 +11531,11 @@ const q2 = async (e) => {
|
|
|
11531
11531
|
});
|
|
11532
11532
|
} catch (A) {
|
|
11533
11533
|
throw w && w(), A && A.name === "TypeError" && /Load failed|fetch/i.test(A.message) ? Object.assign(
|
|
11534
|
-
new
|
|
11534
|
+
new Be("Network Error", Be.ERR_NETWORK, e, v),
|
|
11535
11535
|
{
|
|
11536
11536
|
cause: A.cause || A
|
|
11537
11537
|
}
|
|
11538
|
-
) :
|
|
11538
|
+
) : Be.from(A, A && A.code, e, v);
|
|
11539
11539
|
}
|
|
11540
11540
|
}), Ny = {
|
|
11541
11541
|
http: a2,
|
|
@@ -11561,7 +11561,7 @@ const zA = (e) => `- ${e}`, _2 = (e) => re.isFunction(e) || e === null || e ===
|
|
|
11561
11561
|
n = e[l];
|
|
11562
11562
|
let u;
|
|
11563
11563
|
if (a = n, !_2(n) && (a = Ny[(u = String(n)).toLowerCase()], a === void 0))
|
|
11564
|
-
throw new
|
|
11564
|
+
throw new Be(`Unknown adapter '${u}'`);
|
|
11565
11565
|
if (a)
|
|
11566
11566
|
break;
|
|
11567
11567
|
o[u || "#" + l] = a;
|
|
@@ -11573,7 +11573,7 @@ const zA = (e) => `- ${e}`, _2 = (e) => re.isFunction(e) || e === null || e ===
|
|
|
11573
11573
|
let u = t ? l.length > 1 ? `since :
|
|
11574
11574
|
` + l.map(zA).join(`
|
|
11575
11575
|
`) : " " + zA(l[0]) : "as no adapter specified";
|
|
11576
|
-
throw new
|
|
11576
|
+
throw new Be(
|
|
11577
11577
|
"There is no suitable adapter to dispatch the request " + u,
|
|
11578
11578
|
"ERR_NOT_SUPPORT"
|
|
11579
11579
|
);
|
|
@@ -11617,9 +11617,9 @@ Fu.transitional = function(t, n, a) {
|
|
|
11617
11617
|
}
|
|
11618
11618
|
return (l, u, d) => {
|
|
11619
11619
|
if (t === !1)
|
|
11620
|
-
throw new
|
|
11620
|
+
throw new Be(
|
|
11621
11621
|
o(u, " has been removed" + (n ? " in " + n : "")),
|
|
11622
|
-
|
|
11622
|
+
Be.ERR_DEPRECATED
|
|
11623
11623
|
);
|
|
11624
11624
|
return n && !qA[u] && (qA[u] = !0, console.warn(
|
|
11625
11625
|
o(
|
|
@@ -11634,7 +11634,7 @@ Fu.spelling = function(t) {
|
|
|
11634
11634
|
};
|
|
11635
11635
|
function V2(e, t, n) {
|
|
11636
11636
|
if (typeof e != "object")
|
|
11637
|
-
throw new
|
|
11637
|
+
throw new Be("options must be an object", Be.ERR_BAD_OPTION_VALUE);
|
|
11638
11638
|
const a = Object.keys(e);
|
|
11639
11639
|
let o = a.length;
|
|
11640
11640
|
for (; o-- > 0; ) {
|
|
@@ -11642,11 +11642,11 @@ function V2(e, t, n) {
|
|
|
11642
11642
|
if (u) {
|
|
11643
11643
|
const d = e[l], p = d === void 0 || u(d, l, e);
|
|
11644
11644
|
if (p !== !0)
|
|
11645
|
-
throw new
|
|
11645
|
+
throw new Be("option " + l + " must be " + p, Be.ERR_BAD_OPTION_VALUE);
|
|
11646
11646
|
continue;
|
|
11647
11647
|
}
|
|
11648
11648
|
if (n !== !0)
|
|
11649
|
-
throw new
|
|
11649
|
+
throw new Be("Unknown option " + l, Be.ERR_BAD_OPTION);
|
|
11650
11650
|
}
|
|
11651
11651
|
}
|
|
11652
11652
|
const cu = {
|
|
@@ -11939,7 +11939,7 @@ wt.CancelToken = Y2;
|
|
|
11939
11939
|
wt.isCancel = vk;
|
|
11940
11940
|
wt.VERSION = Nk;
|
|
11941
11941
|
wt.toFormData = Lu;
|
|
11942
|
-
wt.AxiosError =
|
|
11942
|
+
wt.AxiosError = Be;
|
|
11943
11943
|
wt.Cancel = wt.CanceledError;
|
|
11944
11944
|
wt.all = function(t) {
|
|
11945
11945
|
return Promise.all(t);
|
|
@@ -12040,19 +12040,19 @@ An.prototype.property = "";
|
|
|
12040
12040
|
An.prototype.spaceSeparated = !1;
|
|
12041
12041
|
An.prototype.space = void 0;
|
|
12042
12042
|
let tF = 0;
|
|
12043
|
-
const
|
|
12043
|
+
const Pe = ii(), Mt = ii(), Oy = ii(), he = ii(), ht = ii(), Ki = ii(), Bn = ii();
|
|
12044
12044
|
function ii() {
|
|
12045
12045
|
return 2 ** ++tF;
|
|
12046
12046
|
}
|
|
12047
12047
|
const Iy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12048
12048
|
__proto__: null,
|
|
12049
|
-
boolean:
|
|
12049
|
+
boolean: Pe,
|
|
12050
12050
|
booleanish: Mt,
|
|
12051
12051
|
commaOrSpaceSeparated: Bn,
|
|
12052
12052
|
commaSeparated: Ki,
|
|
12053
12053
|
number: he,
|
|
12054
12054
|
overloadedBoolean: Oy,
|
|
12055
|
-
spaceSeparated:
|
|
12055
|
+
spaceSeparated: ht
|
|
12056
12056
|
}, Symbol.toStringTag, { value: "Module" })), hp = (
|
|
12057
12057
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
12058
12058
|
Object.keys(Iy)
|
|
@@ -12107,36 +12107,36 @@ const Ik = eo({
|
|
|
12107
12107
|
ariaColCount: he,
|
|
12108
12108
|
ariaColIndex: he,
|
|
12109
12109
|
ariaColSpan: he,
|
|
12110
|
-
ariaControls:
|
|
12110
|
+
ariaControls: ht,
|
|
12111
12111
|
ariaCurrent: null,
|
|
12112
|
-
ariaDescribedBy:
|
|
12112
|
+
ariaDescribedBy: ht,
|
|
12113
12113
|
ariaDetails: null,
|
|
12114
12114
|
ariaDisabled: Mt,
|
|
12115
|
-
ariaDropEffect:
|
|
12115
|
+
ariaDropEffect: ht,
|
|
12116
12116
|
ariaErrorMessage: null,
|
|
12117
12117
|
ariaExpanded: Mt,
|
|
12118
|
-
ariaFlowTo:
|
|
12118
|
+
ariaFlowTo: ht,
|
|
12119
12119
|
ariaGrabbed: Mt,
|
|
12120
12120
|
ariaHasPopup: null,
|
|
12121
12121
|
ariaHidden: Mt,
|
|
12122
12122
|
ariaInvalid: null,
|
|
12123
12123
|
ariaKeyShortcuts: null,
|
|
12124
12124
|
ariaLabel: null,
|
|
12125
|
-
ariaLabelledBy:
|
|
12125
|
+
ariaLabelledBy: ht,
|
|
12126
12126
|
ariaLevel: he,
|
|
12127
12127
|
ariaLive: null,
|
|
12128
12128
|
ariaModal: Mt,
|
|
12129
12129
|
ariaMultiLine: Mt,
|
|
12130
12130
|
ariaMultiSelectable: Mt,
|
|
12131
12131
|
ariaOrientation: null,
|
|
12132
|
-
ariaOwns:
|
|
12132
|
+
ariaOwns: ht,
|
|
12133
12133
|
ariaPlaceholder: null,
|
|
12134
12134
|
ariaPosInSet: he,
|
|
12135
12135
|
ariaPressed: Mt,
|
|
12136
12136
|
ariaReadOnly: Mt,
|
|
12137
12137
|
ariaRelevant: null,
|
|
12138
12138
|
ariaRequired: Mt,
|
|
12139
|
-
ariaRoleDescription:
|
|
12139
|
+
ariaRoleDescription: ht,
|
|
12140
12140
|
ariaRowCount: he,
|
|
12141
12141
|
ariaRowIndex: he,
|
|
12142
12142
|
ariaRowSpan: he,
|
|
@@ -12171,42 +12171,42 @@ const nF = eo({
|
|
|
12171
12171
|
// Standard Properties.
|
|
12172
12172
|
abbr: null,
|
|
12173
12173
|
accept: Ki,
|
|
12174
|
-
acceptCharset:
|
|
12175
|
-
accessKey:
|
|
12174
|
+
acceptCharset: ht,
|
|
12175
|
+
accessKey: ht,
|
|
12176
12176
|
action: null,
|
|
12177
12177
|
allow: null,
|
|
12178
|
-
allowFullScreen:
|
|
12179
|
-
allowPaymentRequest:
|
|
12180
|
-
allowUserMedia:
|
|
12178
|
+
allowFullScreen: Pe,
|
|
12179
|
+
allowPaymentRequest: Pe,
|
|
12180
|
+
allowUserMedia: Pe,
|
|
12181
12181
|
alt: null,
|
|
12182
12182
|
as: null,
|
|
12183
|
-
async:
|
|
12183
|
+
async: Pe,
|
|
12184
12184
|
autoCapitalize: null,
|
|
12185
|
-
autoComplete:
|
|
12186
|
-
autoFocus:
|
|
12187
|
-
autoPlay:
|
|
12188
|
-
blocking:
|
|
12185
|
+
autoComplete: ht,
|
|
12186
|
+
autoFocus: Pe,
|
|
12187
|
+
autoPlay: Pe,
|
|
12188
|
+
blocking: ht,
|
|
12189
12189
|
capture: null,
|
|
12190
12190
|
charSet: null,
|
|
12191
|
-
checked:
|
|
12191
|
+
checked: Pe,
|
|
12192
12192
|
cite: null,
|
|
12193
|
-
className:
|
|
12193
|
+
className: ht,
|
|
12194
12194
|
cols: he,
|
|
12195
12195
|
colSpan: null,
|
|
12196
12196
|
content: null,
|
|
12197
12197
|
contentEditable: Mt,
|
|
12198
|
-
controls:
|
|
12199
|
-
controlsList:
|
|
12198
|
+
controls: Pe,
|
|
12199
|
+
controlsList: ht,
|
|
12200
12200
|
coords: he | Ki,
|
|
12201
12201
|
crossOrigin: null,
|
|
12202
12202
|
data: null,
|
|
12203
12203
|
dateTime: null,
|
|
12204
12204
|
decoding: null,
|
|
12205
|
-
default:
|
|
12206
|
-
defer:
|
|
12205
|
+
default: Pe,
|
|
12206
|
+
defer: Pe,
|
|
12207
12207
|
dir: null,
|
|
12208
12208
|
dirName: null,
|
|
12209
|
-
disabled:
|
|
12209
|
+
disabled: Pe,
|
|
12210
12210
|
download: Oy,
|
|
12211
12211
|
draggable: Mt,
|
|
12212
12212
|
encType: null,
|
|
@@ -12216,36 +12216,36 @@ const nF = eo({
|
|
|
12216
12216
|
formAction: null,
|
|
12217
12217
|
formEncType: null,
|
|
12218
12218
|
formMethod: null,
|
|
12219
|
-
formNoValidate:
|
|
12219
|
+
formNoValidate: Pe,
|
|
12220
12220
|
formTarget: null,
|
|
12221
|
-
headers:
|
|
12221
|
+
headers: ht,
|
|
12222
12222
|
height: he,
|
|
12223
12223
|
hidden: Oy,
|
|
12224
12224
|
high: he,
|
|
12225
12225
|
href: null,
|
|
12226
12226
|
hrefLang: null,
|
|
12227
|
-
htmlFor:
|
|
12228
|
-
httpEquiv:
|
|
12227
|
+
htmlFor: ht,
|
|
12228
|
+
httpEquiv: ht,
|
|
12229
12229
|
id: null,
|
|
12230
12230
|
imageSizes: null,
|
|
12231
12231
|
imageSrcSet: null,
|
|
12232
|
-
inert:
|
|
12232
|
+
inert: Pe,
|
|
12233
12233
|
inputMode: null,
|
|
12234
12234
|
integrity: null,
|
|
12235
12235
|
is: null,
|
|
12236
|
-
isMap:
|
|
12236
|
+
isMap: Pe,
|
|
12237
12237
|
itemId: null,
|
|
12238
|
-
itemProp:
|
|
12239
|
-
itemRef:
|
|
12240
|
-
itemScope:
|
|
12241
|
-
itemType:
|
|
12238
|
+
itemProp: ht,
|
|
12239
|
+
itemRef: ht,
|
|
12240
|
+
itemScope: Pe,
|
|
12241
|
+
itemType: ht,
|
|
12242
12242
|
kind: null,
|
|
12243
12243
|
label: null,
|
|
12244
12244
|
lang: null,
|
|
12245
12245
|
language: null,
|
|
12246
12246
|
list: null,
|
|
12247
12247
|
loading: null,
|
|
12248
|
-
loop:
|
|
12248
|
+
loop: Pe,
|
|
12249
12249
|
low: he,
|
|
12250
12250
|
manifest: null,
|
|
12251
12251
|
max: null,
|
|
@@ -12254,12 +12254,12 @@ const nF = eo({
|
|
|
12254
12254
|
method: null,
|
|
12255
12255
|
min: null,
|
|
12256
12256
|
minLength: he,
|
|
12257
|
-
multiple:
|
|
12258
|
-
muted:
|
|
12257
|
+
multiple: Pe,
|
|
12258
|
+
muted: Pe,
|
|
12259
12259
|
name: null,
|
|
12260
12260
|
nonce: null,
|
|
12261
|
-
noModule:
|
|
12262
|
-
noValidate:
|
|
12261
|
+
noModule: Pe,
|
|
12262
|
+
noValidate: Pe,
|
|
12263
12263
|
onAbort: null,
|
|
12264
12264
|
onAfterPrint: null,
|
|
12265
12265
|
onAuxClick: null,
|
|
@@ -12348,31 +12348,31 @@ const nF = eo({
|
|
|
12348
12348
|
onVolumeChange: null,
|
|
12349
12349
|
onWaiting: null,
|
|
12350
12350
|
onWheel: null,
|
|
12351
|
-
open:
|
|
12351
|
+
open: Pe,
|
|
12352
12352
|
optimum: he,
|
|
12353
12353
|
pattern: null,
|
|
12354
|
-
ping:
|
|
12354
|
+
ping: ht,
|
|
12355
12355
|
placeholder: null,
|
|
12356
|
-
playsInline:
|
|
12356
|
+
playsInline: Pe,
|
|
12357
12357
|
popover: null,
|
|
12358
12358
|
popoverTarget: null,
|
|
12359
12359
|
popoverTargetAction: null,
|
|
12360
12360
|
poster: null,
|
|
12361
12361
|
preload: null,
|
|
12362
|
-
readOnly:
|
|
12362
|
+
readOnly: Pe,
|
|
12363
12363
|
referrerPolicy: null,
|
|
12364
|
-
rel:
|
|
12365
|
-
required:
|
|
12366
|
-
reversed:
|
|
12364
|
+
rel: ht,
|
|
12365
|
+
required: Pe,
|
|
12366
|
+
reversed: Pe,
|
|
12367
12367
|
rows: he,
|
|
12368
12368
|
rowSpan: he,
|
|
12369
|
-
sandbox:
|
|
12369
|
+
sandbox: ht,
|
|
12370
12370
|
scope: null,
|
|
12371
|
-
scoped:
|
|
12372
|
-
seamless:
|
|
12373
|
-
selected:
|
|
12374
|
-
shadowRootClonable:
|
|
12375
|
-
shadowRootDelegatesFocus:
|
|
12371
|
+
scoped: Pe,
|
|
12372
|
+
seamless: Pe,
|
|
12373
|
+
selected: Pe,
|
|
12374
|
+
shadowRootClonable: Pe,
|
|
12375
|
+
shadowRootDelegatesFocus: Pe,
|
|
12376
12376
|
shadowRootMode: null,
|
|
12377
12377
|
shape: null,
|
|
12378
12378
|
size: he,
|
|
@@ -12392,7 +12392,7 @@ const nF = eo({
|
|
|
12392
12392
|
title: null,
|
|
12393
12393
|
translate: null,
|
|
12394
12394
|
type: null,
|
|
12395
|
-
typeMustMatch:
|
|
12395
|
+
typeMustMatch: Pe,
|
|
12396
12396
|
useMap: null,
|
|
12397
12397
|
value: Mt,
|
|
12398
12398
|
width: he,
|
|
@@ -12404,7 +12404,7 @@ const nF = eo({
|
|
|
12404
12404
|
// Several. Use CSS `text-align` instead,
|
|
12405
12405
|
aLink: null,
|
|
12406
12406
|
// `<body>`. Use CSS `a:active {color}` instead
|
|
12407
|
-
archive:
|
|
12407
|
+
archive: ht,
|
|
12408
12408
|
// `<object>`. List of URIs to archives
|
|
12409
12409
|
axis: null,
|
|
12410
12410
|
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
@@ -12438,9 +12438,9 @@ const nF = eo({
|
|
|
12438
12438
|
// `<object>`
|
|
12439
12439
|
color: null,
|
|
12440
12440
|
// `<font>` and `<hr>`. Use CSS instead
|
|
12441
|
-
compact:
|
|
12441
|
+
compact: Pe,
|
|
12442
12442
|
// Lists. Use CSS to reduce space between items instead
|
|
12443
|
-
declare:
|
|
12443
|
+
declare: Pe,
|
|
12444
12444
|
// `<object>`
|
|
12445
12445
|
event: null,
|
|
12446
12446
|
// `<script>`
|
|
@@ -12464,13 +12464,13 @@ const nF = eo({
|
|
|
12464
12464
|
// `<body>`
|
|
12465
12465
|
marginWidth: he,
|
|
12466
12466
|
// `<body>`
|
|
12467
|
-
noResize:
|
|
12467
|
+
noResize: Pe,
|
|
12468
12468
|
// `<frame>`
|
|
12469
|
-
noHref:
|
|
12469
|
+
noHref: Pe,
|
|
12470
12470
|
// `<area>`. Use no href instead of an explicit `nohref`
|
|
12471
|
-
noShade:
|
|
12471
|
+
noShade: Pe,
|
|
12472
12472
|
// `<hr>`. Use background-color and height instead of borders
|
|
12473
|
-
noWrap:
|
|
12473
|
+
noWrap: Pe,
|
|
12474
12474
|
// `<td>` and `<th>`
|
|
12475
12475
|
object: null,
|
|
12476
12476
|
// `<applet>`
|
|
@@ -12510,8 +12510,8 @@ const nF = eo({
|
|
|
12510
12510
|
allowTransparency: null,
|
|
12511
12511
|
autoCorrect: null,
|
|
12512
12512
|
autoSave: null,
|
|
12513
|
-
disablePictureInPicture:
|
|
12514
|
-
disableRemotePlayback:
|
|
12513
|
+
disablePictureInPicture: Pe,
|
|
12514
|
+
disableRemotePlayback: Pe,
|
|
12515
12515
|
prefix: null,
|
|
12516
12516
|
property: null,
|
|
12517
12517
|
results: he,
|
|
@@ -12719,7 +12719,7 @@ const nF = eo({
|
|
|
12719
12719
|
by: null,
|
|
12720
12720
|
calcMode: null,
|
|
12721
12721
|
capHeight: he,
|
|
12722
|
-
className:
|
|
12722
|
+
className: ht,
|
|
12723
12723
|
clip: null,
|
|
12724
12724
|
clipPath: null,
|
|
12725
12725
|
clipPathUnits: null,
|
|
@@ -12746,7 +12746,7 @@ const nF = eo({
|
|
|
12746
12746
|
dur: null,
|
|
12747
12747
|
divisor: he,
|
|
12748
12748
|
dominantBaseline: null,
|
|
12749
|
-
download:
|
|
12749
|
+
download: Pe,
|
|
12750
12750
|
dx: null,
|
|
12751
12751
|
dy: null,
|
|
12752
12752
|
edgeMode: null,
|
|
@@ -12954,7 +12954,7 @@ const nF = eo({
|
|
|
12954
12954
|
patternTransform: null,
|
|
12955
12955
|
patternUnits: null,
|
|
12956
12956
|
phase: null,
|
|
12957
|
-
ping:
|
|
12957
|
+
ping: ht,
|
|
12958
12958
|
pitch: null,
|
|
12959
12959
|
playbackOrder: null,
|
|
12960
12960
|
pointerEvents: null,
|
|
@@ -13833,7 +13833,7 @@ const Ly = Na(/\d/), _F = Na(/[\dA-Fa-f]/), VF = Na(/[!-/:-@[-`{-~]/);
|
|
|
13833
13833
|
function Re(e) {
|
|
13834
13834
|
return e !== null && e < -2;
|
|
13835
13835
|
}
|
|
13836
|
-
function
|
|
13836
|
+
function dt(e) {
|
|
13837
13837
|
return e !== null && (e < 0 || e === 32);
|
|
13838
13838
|
}
|
|
13839
13839
|
function We(e) {
|
|
@@ -14029,7 +14029,7 @@ function QF(e, t, n) {
|
|
|
14029
14029
|
return Qe(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
14030
14030
|
}
|
|
14031
14031
|
function Qi(e) {
|
|
14032
|
-
if (e === null ||
|
|
14032
|
+
if (e === null || dt(e) || ni(e))
|
|
14033
14033
|
return 1;
|
|
14034
14034
|
if (Bu(e))
|
|
14035
14035
|
return 2;
|
|
@@ -14701,7 +14701,7 @@ function Qk(e, t, n, a, o, l, u, d, p) {
|
|
|
14701
14701
|
return A === 60 || A === 62 || A === 92 ? (e.consume(A), E) : E(A);
|
|
14702
14702
|
}
|
|
14703
14703
|
function w(A) {
|
|
14704
|
-
return !h && (A === null || A === 41 ||
|
|
14704
|
+
return !h && (A === null || A === 41 || dt(A)) ? (e.exit("chunkString"), e.exit(d), e.exit(u), e.exit(a), t(A)) : h < f && A === 40 ? (e.consume(A), h++, w) : A === 41 ? (e.consume(A), h--, w) : A === null || A === 32 || A === 40 || bu(A) ? n(A) : (e.consume(A), A === 92 ? x : w);
|
|
14705
14705
|
}
|
|
14706
14706
|
function x(A) {
|
|
14707
14707
|
return A === 40 || A === 41 || A === 92 ? (e.consume(A), w) : w(A);
|
|
@@ -14789,7 +14789,7 @@ function TB(e, t, n) {
|
|
|
14789
14789
|
return o = ir(a.sliceSerialize(a.events[a.events.length - 1][1]).slice(1, -1)), E === 58 ? (e.enter("definitionMarker"), e.consume(E), e.exit("definitionMarker"), p) : n(E);
|
|
14790
14790
|
}
|
|
14791
14791
|
function p(E) {
|
|
14792
|
-
return
|
|
14792
|
+
return dt(E) ? ps(e, f)(E) : f(E);
|
|
14793
14793
|
}
|
|
14794
14794
|
function f(E) {
|
|
14795
14795
|
return Qk(
|
|
@@ -14817,7 +14817,7 @@ function TB(e, t, n) {
|
|
|
14817
14817
|
function RB(e, t, n) {
|
|
14818
14818
|
return a;
|
|
14819
14819
|
function a(d) {
|
|
14820
|
-
return
|
|
14820
|
+
return dt(d) ? ps(e, o)(d) : n(d);
|
|
14821
14821
|
}
|
|
14822
14822
|
function o(d) {
|
|
14823
14823
|
return Jk(e, l, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(d);
|
|
@@ -14870,7 +14870,7 @@ function IB(e, t, n) {
|
|
|
14870
14870
|
return e.enter("atxHeadingSequence"), u(h);
|
|
14871
14871
|
}
|
|
14872
14872
|
function u(h) {
|
|
14873
|
-
return h === 35 && a++ < 6 ? (e.consume(h), u) : h === null ||
|
|
14873
|
+
return h === 35 && a++ < 6 ? (e.consume(h), u) : h === null || dt(h) ? (e.exit("atxHeadingSequence"), d(h)) : n(h);
|
|
14874
14874
|
}
|
|
14875
14875
|
function d(h) {
|
|
14876
14876
|
return h === 35 ? (e.enter("atxHeadingSequence"), p(h)) : h === null || Re(h) ? (e.exit("atxHeading"), t(h)) : We(h) ? Qe(e, d, "whitespace")(h) : (e.enter("atxHeadingText"), f(h));
|
|
@@ -14879,7 +14879,7 @@ function IB(e, t, n) {
|
|
|
14879
14879
|
return h === 35 ? (e.consume(h), p) : (e.exit("atxHeadingSequence"), d(h));
|
|
14880
14880
|
}
|
|
14881
14881
|
function f(h) {
|
|
14882
|
-
return h === null || h === 35 ||
|
|
14882
|
+
return h === null || h === 35 || dt(h) ? (e.exit("atxHeadingText"), d(h)) : (e.consume(h), f);
|
|
14883
14883
|
}
|
|
14884
14884
|
}
|
|
14885
14885
|
const DB = [
|
|
@@ -14990,7 +14990,7 @@ function UB(e, t, n) {
|
|
|
14990
14990
|
return un(L) ? (e.consume(L), u = String.fromCharCode(L), x) : n(L);
|
|
14991
14991
|
}
|
|
14992
14992
|
function x(L) {
|
|
14993
|
-
if (L === null || L === 47 || L === 62 ||
|
|
14993
|
+
if (L === null || L === 47 || L === 62 || dt(L)) {
|
|
14994
14994
|
const se = L === 47, be = u.toLowerCase();
|
|
14995
14995
|
return !se && !l && ix.includes(be) ? (o = 1, a.interrupt ? t(L) : W(L)) : DB.includes(u.toLowerCase()) ? (o = 6, se ? (e.consume(L), A) : a.interrupt ? t(L) : W(L)) : (o = 7, a.interrupt && !a.parser.lazy[a.now().line] ? n(L) : l ? N(L) : k(L));
|
|
14996
14996
|
}
|
|
@@ -15018,7 +15018,7 @@ function UB(e, t, n) {
|
|
|
15018
15018
|
return L === p ? (e.consume(L), p = null, P) : L === null || Re(L) ? n(L) : (e.consume(L), M);
|
|
15019
15019
|
}
|
|
15020
15020
|
function U(L) {
|
|
15021
|
-
return L === null || L === 34 || L === 39 || L === 47 || L === 60 || L === 61 || L === 62 || L === 96 ||
|
|
15021
|
+
return L === null || L === 34 || L === 39 || L === 47 || L === 60 || L === 61 || L === 62 || L === 96 || dt(L) ? D(L) : (e.consume(L), U);
|
|
15022
15022
|
}
|
|
15023
15023
|
function P(L) {
|
|
15024
15024
|
return L === 47 || L === 62 || We(L) ? k(L) : n(L);
|
|
@@ -15144,7 +15144,7 @@ function qB(e, t, n) {
|
|
|
15144
15144
|
return Re(S) ? (u = M, $(S)) : We(S) ? (e.consume(S), M) : j(S);
|
|
15145
15145
|
}
|
|
15146
15146
|
function U(S) {
|
|
15147
|
-
return S === 45 || an(S) ? (e.consume(S), U) : S === 47 || S === 62 ||
|
|
15147
|
+
return S === 45 || an(S) ? (e.consume(S), U) : S === 47 || S === 62 || dt(S) ? P(S) : n(S);
|
|
15148
15148
|
}
|
|
15149
15149
|
function P(S) {
|
|
15150
15150
|
return S === 47 ? (e.consume(S), j) : S === 58 || S === 95 || un(S) ? (e.consume(S), B) : Re(S) ? (u = P, $(S)) : We(S) ? (e.consume(S), P) : j(S);
|
|
@@ -15162,10 +15162,10 @@ function qB(e, t, n) {
|
|
|
15162
15162
|
return S === o ? (e.consume(S), o = void 0, J) : S === null ? n(S) : Re(S) ? (u = G, $(S)) : (e.consume(S), G);
|
|
15163
15163
|
}
|
|
15164
15164
|
function Y(S) {
|
|
15165
|
-
return S === null || S === 34 || S === 39 || S === 60 || S === 61 || S === 96 ? n(S) : S === 47 || S === 62 ||
|
|
15165
|
+
return S === null || S === 34 || S === 39 || S === 60 || S === 61 || S === 96 ? n(S) : S === 47 || S === 62 || dt(S) ? P(S) : (e.consume(S), Y);
|
|
15166
15166
|
}
|
|
15167
15167
|
function J(S) {
|
|
15168
|
-
return S === 47 || S === 62 ||
|
|
15168
|
+
return S === 47 || S === 62 || dt(S) ? P(S) : n(S);
|
|
15169
15169
|
}
|
|
15170
15170
|
function j(S) {
|
|
15171
15171
|
return S === 62 ? (e.consume(S), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(S);
|
|
@@ -15278,13 +15278,13 @@ function XB(e, t, n) {
|
|
|
15278
15278
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(m), e.exit("resourceMarker"), o;
|
|
15279
15279
|
}
|
|
15280
15280
|
function o(m) {
|
|
15281
|
-
return
|
|
15281
|
+
return dt(m) ? ps(e, l)(m) : l(m);
|
|
15282
15282
|
}
|
|
15283
15283
|
function l(m) {
|
|
15284
15284
|
return m === 41 ? h(m) : Qk(e, u, d, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(m);
|
|
15285
15285
|
}
|
|
15286
15286
|
function u(m) {
|
|
15287
|
-
return
|
|
15287
|
+
return dt(m) ? ps(e, p)(m) : h(m);
|
|
15288
15288
|
}
|
|
15289
15289
|
function d(m) {
|
|
15290
15290
|
return n(m);
|
|
@@ -15293,7 +15293,7 @@ function XB(e, t, n) {
|
|
|
15293
15293
|
return m === 34 || m === 39 || m === 40 ? Jk(e, f, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(m) : h(m);
|
|
15294
15294
|
}
|
|
15295
15295
|
function f(m) {
|
|
15296
|
-
return
|
|
15296
|
+
return dt(m) ? ps(e, h)(m) : h(m);
|
|
15297
15297
|
}
|
|
15298
15298
|
function h(m) {
|
|
15299
15299
|
return m === 41 ? (e.enter("resourceMarker"), e.consume(m), e.exit("resourceMarker"), e.exit("resource"), t) : n(m);
|
|
@@ -15812,13 +15812,13 @@ function CU(e, t, n) {
|
|
|
15812
15812
|
function q(de) {
|
|
15813
15813
|
return xe;
|
|
15814
15814
|
function xe(we) {
|
|
15815
|
-
const Je = we !== null && de[we], nt = we !== null && de.null,
|
|
15815
|
+
const Je = we !== null && de[we], nt = we !== null && de.null, gt = [
|
|
15816
15816
|
// To do: add more extension tests.
|
|
15817
15817
|
/* c8 ignore next 2 */
|
|
15818
15818
|
...Array.isArray(Je) ? Je : Je ? [Je] : [],
|
|
15819
15819
|
...Array.isArray(nt) ? nt : nt ? [nt] : []
|
|
15820
15820
|
];
|
|
15821
|
-
return Q(
|
|
15821
|
+
return Q(gt)(we);
|
|
15822
15822
|
}
|
|
15823
15823
|
}
|
|
15824
15824
|
function Q(de) {
|
|
@@ -16009,10 +16009,10 @@ function PU(e) {
|
|
|
16009
16009
|
blockQuote: l(nt),
|
|
16010
16010
|
characterEscape: P,
|
|
16011
16011
|
characterReference: P,
|
|
16012
|
-
codeFenced: l(
|
|
16012
|
+
codeFenced: l(gt),
|
|
16013
16013
|
codeFencedFenceInfo: u,
|
|
16014
16014
|
codeFencedFenceMeta: u,
|
|
16015
|
-
codeIndented: l(
|
|
16015
|
+
codeIndented: l(gt, u),
|
|
16016
16016
|
codeText: l(Yt, u),
|
|
16017
16017
|
codeTextData: P,
|
|
16018
16018
|
data: P,
|
|
@@ -16028,7 +16028,7 @@ function PU(e) {
|
|
|
16028
16028
|
htmlFlowData: P,
|
|
16029
16029
|
htmlText: l(Me, u),
|
|
16030
16030
|
htmlTextData: P,
|
|
16031
|
-
image: l(
|
|
16031
|
+
image: l(ze),
|
|
16032
16032
|
label: u,
|
|
16033
16033
|
link: l(Oe),
|
|
16034
16034
|
listItem: l(rt),
|
|
@@ -16041,8 +16041,8 @@ function PU(e) {
|
|
|
16041
16041
|
resourceDestinationString: u,
|
|
16042
16042
|
resourceTitleString: u,
|
|
16043
16043
|
setextHeading: l(me),
|
|
16044
|
-
strong: l(
|
|
16045
|
-
thematicBreak: l(
|
|
16044
|
+
strong: l(qe),
|
|
16045
|
+
thematicBreak: l(je)
|
|
16046
16046
|
},
|
|
16047
16047
|
exit: {
|
|
16048
16048
|
atxHeading: p(),
|
|
@@ -16114,20 +16114,20 @@ function PU(e) {
|
|
|
16114
16114
|
resume: h,
|
|
16115
16115
|
data: n
|
|
16116
16116
|
}, Ee = [];
|
|
16117
|
-
let
|
|
16118
|
-
for (; ++
|
|
16119
|
-
if (ne[
|
|
16120
|
-
if (ne[
|
|
16121
|
-
Ee.push(
|
|
16117
|
+
let He = -1;
|
|
16118
|
+
for (; ++He < ne.length; )
|
|
16119
|
+
if (ne[He][1].type === "listOrdered" || ne[He][1].type === "listUnordered")
|
|
16120
|
+
if (ne[He][0] === "enter")
|
|
16121
|
+
Ee.push(He);
|
|
16122
16122
|
else {
|
|
16123
16123
|
const Et = Ee.pop();
|
|
16124
|
-
|
|
16124
|
+
He = o(ne, Et, He);
|
|
16125
16125
|
}
|
|
16126
|
-
for (
|
|
16127
|
-
const Et = t[ne[
|
|
16128
|
-
tO.call(Et, ne[
|
|
16129
|
-
sliceSerialize: ne[
|
|
16130
|
-
}, ge), ne[
|
|
16126
|
+
for (He = -1; ++He < ne.length; ) {
|
|
16127
|
+
const Et = t[ne[He][0]];
|
|
16128
|
+
tO.call(Et, ne[He][1].type) && Et[ne[He][1].type].call(Object.assign({
|
|
16129
|
+
sliceSerialize: ne[He][2].sliceSerialize
|
|
16130
|
+
}, ge), ne[He][1]);
|
|
16131
16131
|
}
|
|
16132
16132
|
if (ge.tokenStack.length > 0) {
|
|
16133
16133
|
const Et = ge.tokenStack[ge.tokenStack.length - 1];
|
|
@@ -16144,23 +16144,23 @@ function PU(e) {
|
|
|
16144
16144
|
column: 1,
|
|
16145
16145
|
offset: 0
|
|
16146
16146
|
})
|
|
16147
|
-
},
|
|
16148
|
-
ae = t.transforms[
|
|
16147
|
+
}, He = -1; ++He < t.transforms.length; )
|
|
16148
|
+
ae = t.transforms[He](ae) || ae;
|
|
16149
16149
|
return ae;
|
|
16150
16150
|
}
|
|
16151
16151
|
function o(ne, ae, ge) {
|
|
16152
|
-
let Ee = ae - 1,
|
|
16152
|
+
let Ee = ae - 1, He = -1, Et = !1, At, xt, Tt, ot;
|
|
16153
16153
|
for (; ++Ee <= ge; ) {
|
|
16154
|
-
const
|
|
16155
|
-
switch (
|
|
16154
|
+
const pt = ne[Ee];
|
|
16155
|
+
switch (pt[1].type) {
|
|
16156
16156
|
case "listUnordered":
|
|
16157
16157
|
case "listOrdered":
|
|
16158
16158
|
case "blockQuote": {
|
|
16159
|
-
|
|
16159
|
+
pt[0] === "enter" ? He++ : He--, ot = void 0;
|
|
16160
16160
|
break;
|
|
16161
16161
|
}
|
|
16162
16162
|
case "lineEndingBlank": {
|
|
16163
|
-
|
|
16163
|
+
pt[0] === "enter" && (At && !ot && !He && !Tt && (Tt = Ee), ot = void 0);
|
|
16164
16164
|
break;
|
|
16165
16165
|
}
|
|
16166
16166
|
case "linePrefix":
|
|
@@ -16172,7 +16172,7 @@ function PU(e) {
|
|
|
16172
16172
|
default:
|
|
16173
16173
|
ot = void 0;
|
|
16174
16174
|
}
|
|
16175
|
-
if (!
|
|
16175
|
+
if (!He && pt[0] === "enter" && pt[1].type === "listItemPrefix" || He === -1 && pt[0] === "exit" && (pt[1].type === "listUnordered" || pt[1].type === "listOrdered")) {
|
|
16176
16176
|
if (At) {
|
|
16177
16177
|
let Rt = Ee;
|
|
16178
16178
|
for (xt = void 0; Rt--; ) {
|
|
@@ -16182,17 +16182,17 @@ function PU(e) {
|
|
|
16182
16182
|
xt && (ne[xt][1].type = "lineEndingBlank", Et = !0), Bt[1].type = "lineEnding", xt = Rt;
|
|
16183
16183
|
} else if (!(Bt[1].type === "linePrefix" || Bt[1].type === "blockQuotePrefix" || Bt[1].type === "blockQuotePrefixWhitespace" || Bt[1].type === "blockQuoteMarker" || Bt[1].type === "listItemIndent")) break;
|
|
16184
16184
|
}
|
|
16185
|
-
Tt && (!xt || Tt < xt) && (At._spread = !0), At.end = Object.assign({}, xt ? ne[xt][1].start :
|
|
16185
|
+
Tt && (!xt || Tt < xt) && (At._spread = !0), At.end = Object.assign({}, xt ? ne[xt][1].start : pt[1].end), ne.splice(xt || Ee, 0, ["exit", At, pt[2]]), Ee++, ge++;
|
|
16186
16186
|
}
|
|
16187
|
-
if (
|
|
16187
|
+
if (pt[1].type === "listItemPrefix") {
|
|
16188
16188
|
const Rt = {
|
|
16189
16189
|
type: "listItem",
|
|
16190
16190
|
_spread: !1,
|
|
16191
|
-
start: Object.assign({},
|
|
16191
|
+
start: Object.assign({}, pt[1].start),
|
|
16192
16192
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
16193
16193
|
end: void 0
|
|
16194
16194
|
};
|
|
16195
|
-
At = Rt, ne.splice(Ee, 0, ["enter", Rt,
|
|
16195
|
+
At = Rt, ne.splice(Ee, 0, ["enter", Rt, pt[2]]), Ee++, ge++, Tt = void 0, ot = !0;
|
|
16196
16196
|
}
|
|
16197
16197
|
}
|
|
16198
16198
|
}
|
|
@@ -16385,8 +16385,8 @@ function PU(e) {
|
|
|
16385
16385
|
const ae = this.sliceSerialize(ne), ge = this.data.characterReferenceType;
|
|
16386
16386
|
let Ee;
|
|
16387
16387
|
ge ? (Ee = Vk(ae, ge === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : Ee = hE(ae);
|
|
16388
|
-
const
|
|
16389
|
-
|
|
16388
|
+
const He = this.stack[this.stack.length - 1];
|
|
16389
|
+
He.value += Ee;
|
|
16390
16390
|
}
|
|
16391
16391
|
function xe(ne) {
|
|
16392
16392
|
const ae = this.stack.pop();
|
|
@@ -16408,7 +16408,7 @@ function PU(e) {
|
|
|
16408
16408
|
children: []
|
|
16409
16409
|
};
|
|
16410
16410
|
}
|
|
16411
|
-
function
|
|
16411
|
+
function gt() {
|
|
16412
16412
|
return {
|
|
16413
16413
|
type: "code",
|
|
16414
16414
|
lang: null,
|
|
@@ -16456,7 +16456,7 @@ function PU(e) {
|
|
|
16456
16456
|
value: ""
|
|
16457
16457
|
};
|
|
16458
16458
|
}
|
|
16459
|
-
function
|
|
16459
|
+
function ze() {
|
|
16460
16460
|
return {
|
|
16461
16461
|
type: "image",
|
|
16462
16462
|
title: null,
|
|
@@ -16495,7 +16495,7 @@ function PU(e) {
|
|
|
16495
16495
|
children: []
|
|
16496
16496
|
};
|
|
16497
16497
|
}
|
|
16498
|
-
function
|
|
16498
|
+
function qe() {
|
|
16499
16499
|
return {
|
|
16500
16500
|
type: "strong",
|
|
16501
16501
|
children: []
|
|
@@ -16507,7 +16507,7 @@ function PU(e) {
|
|
|
16507
16507
|
value: ""
|
|
16508
16508
|
};
|
|
16509
16509
|
}
|
|
16510
|
-
function
|
|
16510
|
+
function je() {
|
|
16511
16511
|
return {
|
|
16512
16512
|
type: "thematicBreak"
|
|
16513
16513
|
};
|
|
@@ -19935,7 +19935,7 @@ const Pj = {
|
|
|
19935
19935
|
name: "protocolAutolink",
|
|
19936
19936
|
tokenize: Gj,
|
|
19937
19937
|
previous: DO
|
|
19938
|
-
},
|
|
19938
|
+
}, Pr = {
|
|
19939
19939
|
name: "emailAutolink",
|
|
19940
19940
|
tokenize: qj,
|
|
19941
19941
|
previous: LO
|
|
@@ -19947,15 +19947,15 @@ function jj() {
|
|
|
19947
19947
|
}
|
|
19948
19948
|
let Qa = 48;
|
|
19949
19949
|
for (; Qa < 123; )
|
|
19950
|
-
Er[Qa] =
|
|
19951
|
-
Er[43] =
|
|
19952
|
-
Er[45] =
|
|
19953
|
-
Er[46] =
|
|
19954
|
-
Er[95] =
|
|
19955
|
-
Er[72] = [
|
|
19956
|
-
Er[104] = [
|
|
19957
|
-
Er[87] = [
|
|
19958
|
-
Er[119] = [
|
|
19950
|
+
Er[Qa] = Pr, Qa++, Qa === 58 ? Qa = 65 : Qa === 91 && (Qa = 97);
|
|
19951
|
+
Er[43] = Pr;
|
|
19952
|
+
Er[45] = Pr;
|
|
19953
|
+
Er[46] = Pr;
|
|
19954
|
+
Er[95] = Pr;
|
|
19955
|
+
Er[72] = [Pr, OO];
|
|
19956
|
+
Er[104] = [Pr, OO];
|
|
19957
|
+
Er[87] = [Pr, kO];
|
|
19958
|
+
Er[119] = [Pr, kO];
|
|
19959
19959
|
function qj(e, t, n) {
|
|
19960
19960
|
const a = this;
|
|
19961
19961
|
let o, l;
|
|
@@ -20007,7 +20007,7 @@ function Gj(e, t, n) {
|
|
|
20007
20007
|
return m === 47 ? (e.consume(m), l ? f : (l = !0, p)) : n(m);
|
|
20008
20008
|
}
|
|
20009
20009
|
function f(m) {
|
|
20010
|
-
return m === null || bu(m) ||
|
|
20010
|
+
return m === null || bu(m) || dt(m) || ni(m) || Bu(m) ? n(m) : e.attempt(RO, e.attempt(NO, h), n)(m);
|
|
20011
20011
|
}
|
|
20012
20012
|
function h(m) {
|
|
20013
20013
|
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(m);
|
|
@@ -20027,7 +20027,7 @@ function Vj(e, t, n) {
|
|
|
20027
20027
|
let a, o, l;
|
|
20028
20028
|
return u;
|
|
20029
20029
|
function u(f) {
|
|
20030
|
-
return f === 46 || f === 95 ? e.check(CO, p, d)(f) : f === null ||
|
|
20030
|
+
return f === 46 || f === 95 ? e.check(CO, p, d)(f) : f === null || dt(f) || ni(f) || f !== 45 && Bu(f) ? p(f) : (l = !0, e.consume(f), u);
|
|
20031
20031
|
}
|
|
20032
20032
|
function d(f) {
|
|
20033
20033
|
return f === 95 ? a = !0 : (o = a, a = void 0), e.consume(f), u;
|
|
@@ -20040,7 +20040,7 @@ function Yj(e, t) {
|
|
|
20040
20040
|
let n = 0, a = 0;
|
|
20041
20041
|
return o;
|
|
20042
20042
|
function o(u) {
|
|
20043
|
-
return u === 40 ? (n++, e.consume(u), o) : u === 41 && a < n ? l(u) : u === 33 || u === 34 || u === 38 || u === 39 || u === 41 || u === 42 || u === 44 || u === 46 || u === 58 || u === 59 || u === 60 || u === 63 || u === 93 || u === 95 || u === 126 ? e.check(CO, t, l)(u) : u === null ||
|
|
20043
|
+
return u === 40 ? (n++, e.consume(u), o) : u === 41 && a < n ? l(u) : u === 33 || u === 34 || u === 38 || u === 39 || u === 41 || u === 42 || u === 44 || u === 46 || u === 58 || u === 59 || u === 60 || u === 63 || u === 93 || u === 95 || u === 126 ? e.check(CO, t, l)(u) : u === null || dt(u) || ni(u) ? t(u) : (e.consume(u), o);
|
|
20044
20044
|
}
|
|
20045
20045
|
function l(u) {
|
|
20046
20046
|
return u === 41 && a++, e.consume(u), o;
|
|
@@ -20052,11 +20052,11 @@ function Wj(e, t, n) {
|
|
|
20052
20052
|
return d === 33 || d === 34 || d === 39 || d === 41 || d === 42 || d === 44 || d === 46 || d === 58 || d === 59 || d === 63 || d === 95 || d === 126 ? (e.consume(d), a) : d === 38 ? (e.consume(d), l) : d === 93 ? (e.consume(d), o) : (
|
|
20053
20053
|
// `<` is an end.
|
|
20054
20054
|
d === 60 || // So is whitespace.
|
|
20055
|
-
d === null ||
|
|
20055
|
+
d === null || dt(d) || ni(d) ? t(d) : n(d)
|
|
20056
20056
|
);
|
|
20057
20057
|
}
|
|
20058
20058
|
function o(d) {
|
|
20059
|
-
return d === null || d === 40 || d === 91 ||
|
|
20059
|
+
return d === null || d === 40 || d === 91 || dt(d) || ni(d) ? t(d) : a(d);
|
|
20060
20060
|
}
|
|
20061
20061
|
function l(d) {
|
|
20062
20062
|
return un(d) ? u(d) : n(d);
|
|
@@ -20075,7 +20075,7 @@ function Xj(e, t, n) {
|
|
|
20075
20075
|
}
|
|
20076
20076
|
}
|
|
20077
20077
|
function IO(e) {
|
|
20078
|
-
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 ||
|
|
20078
|
+
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || dt(e);
|
|
20079
20079
|
}
|
|
20080
20080
|
function DO(e) {
|
|
20081
20081
|
return !un(e);
|
|
@@ -20222,7 +20222,7 @@ function $j(e, t, n) {
|
|
|
20222
20222
|
l > 999 || // Closing brace with nothing.
|
|
20223
20223
|
m === 93 && !u || // Space or tab is not supported by GFM for some reason.
|
|
20224
20224
|
// `\n` and `[` not being supported makes sense.
|
|
20225
|
-
m === null || m === 91 ||
|
|
20225
|
+
m === null || m === 91 || dt(m)
|
|
20226
20226
|
)
|
|
20227
20227
|
return n(m);
|
|
20228
20228
|
if (m === 93) {
|
|
@@ -20230,7 +20230,7 @@ function $j(e, t, n) {
|
|
|
20230
20230
|
const y = e.exit("gfmFootnoteCallString");
|
|
20231
20231
|
return o.includes(ir(a.sliceSerialize(y))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(m), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(m);
|
|
20232
20232
|
}
|
|
20233
|
-
return
|
|
20233
|
+
return dt(m) || (u = !0), l++, e.consume(m), m === 92 ? h : f;
|
|
20234
20234
|
}
|
|
20235
20235
|
function h(m) {
|
|
20236
20236
|
return m === 91 || m === 92 || m === 93 ? (e.consume(m), l++, f) : f(m);
|
|
@@ -20252,7 +20252,7 @@ function e3(e, t, n) {
|
|
|
20252
20252
|
u > 999 || // Closing brace with nothing.
|
|
20253
20253
|
v === 93 && !d || // Space or tab is not supported by GFM for some reason.
|
|
20254
20254
|
// `\n` and `[` not being supported makes sense.
|
|
20255
|
-
v === null || v === 91 ||
|
|
20255
|
+
v === null || v === 91 || dt(v)
|
|
20256
20256
|
)
|
|
20257
20257
|
return n(v);
|
|
20258
20258
|
if (v === 93) {
|
|
@@ -20260,7 +20260,7 @@ function e3(e, t, n) {
|
|
|
20260
20260
|
const w = e.exit("gfmFootnoteDefinitionLabelString");
|
|
20261
20261
|
return l = ir(a.sliceSerialize(w)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(v), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), y;
|
|
20262
20262
|
}
|
|
20263
|
-
return
|
|
20263
|
+
return dt(v) || (d = !0), u++, e.consume(v), v === 92 ? m : h;
|
|
20264
20264
|
}
|
|
20265
20265
|
function m(v) {
|
|
20266
20266
|
return v === 91 || v === 92 || v === 93 ? (e.consume(v), u++, h) : h(v);
|
|
@@ -20471,7 +20471,7 @@ function u3(e, t, n) {
|
|
|
20471
20471
|
return B === null ? n(B) : Re(B) ? l > 1 ? (l = 0, a.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(B), e.exit("lineEnding"), E) : n(B) : We(B) ? Qe(e, h, "whitespace")(B) : (l += 1, u && (u = !1, o += 1), B === 124 ? (e.enter("tableCellDivider"), e.consume(B), e.exit("tableCellDivider"), u = !0, h) : (e.enter("data"), m(B)));
|
|
20472
20472
|
}
|
|
20473
20473
|
function m(B) {
|
|
20474
|
-
return B === null || B === 124 ||
|
|
20474
|
+
return B === null || B === 124 || dt(B) ? (e.exit("data"), h(B)) : (e.consume(B), B === 92 ? y : m);
|
|
20475
20475
|
}
|
|
20476
20476
|
function y(B) {
|
|
20477
20477
|
return B === 92 || B === 124 ? (e.consume(B), m) : m(B);
|
|
@@ -20510,7 +20510,7 @@ function u3(e, t, n) {
|
|
|
20510
20510
|
return B === 124 ? (e.enter("tableCellDivider"), e.consume(B), e.exit("tableCellDivider"), M) : B === null || Re(B) ? (e.exit("tableRow"), t(B)) : We(B) ? Qe(e, M, "whitespace")(B) : (e.enter("data"), U(B));
|
|
20511
20511
|
}
|
|
20512
20512
|
function U(B) {
|
|
20513
|
-
return B === null || B === 124 ||
|
|
20513
|
+
return B === null || B === 124 || dt(B) ? (e.exit("data"), M(B)) : (e.consume(B), B === 92 ? P : U);
|
|
20514
20514
|
}
|
|
20515
20515
|
function P(B) {
|
|
20516
20516
|
return B === 92 || B === 124 ? (e.consume(B), U) : U(B);
|
|
@@ -20596,7 +20596,7 @@ function f3(e, t, n) {
|
|
|
20596
20596
|
);
|
|
20597
20597
|
}
|
|
20598
20598
|
function l(p) {
|
|
20599
|
-
return
|
|
20599
|
+
return dt(p) ? (e.enter("taskListCheckValueUnchecked"), e.consume(p), e.exit("taskListCheckValueUnchecked"), u) : p === 88 || p === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(p), e.exit("taskListCheckValueChecked"), u) : n(p);
|
|
20600
20600
|
}
|
|
20601
20601
|
function u(p) {
|
|
20602
20602
|
return p === 93 ? (e.enter("taskListCheckMarker"), e.consume(p), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), d) : n(p);
|
|
@@ -21674,10 +21674,10 @@ const l4 = (e, t, n) => async (a) => {
|
|
|
21674
21674
|
}, p4 = (e, t) => {
|
|
21675
21675
|
if (!e.includes(t))
|
|
21676
21676
|
throw new Error(`Expected the state to be ${e.map((n) => `"${n}"`).join(" or ")} but it was "${t}".`);
|
|
21677
|
-
}, f4 = '(()=>{"use strict";class e extends AudioWorkletProcessor{constructor(){super(),this._encoderPort=null,this._state="inactive",this.port.onmessage=e=>{let{data:t}=e;"pause"===t.method?"active"===this._state||"recording"===this._state?(this._state="paused",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"record"===t.method?"inactive"===this._state?(this._encoderPort=t.params.encoderPort,this._state="active",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"resume"===t.method?"paused"===this._state?(this._state="active",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"stop"===t.method?"active"!==this._state&&"paused"!==this._state&&"recording"!==this._state||null===this._encoderPort?this._sendUnexpectedStateError(t.id):(this._stop(this._encoderPort),this._sendAcknowledgement(t.id)):"number"==typeof t.id&&this.port.postMessage({error:{code:-32601,message:"The requested method is not supported."},id:t.id})}}process(e){let[t]=e;if("inactive"===this._state||"paused"===this._state)return!0;if("active"===this._state){if(void 0===t)throw new Error("No channelData was received for the first input.");if(0===t.length)return!0;this._state="recording"}if("recording"===this._state&&null!==this._encoderPort){if(void 0===t)throw new Error("No channelData was received for the first input.");if(0!==t.length)return this._encoderPort.postMessage(t,t.map((e=>{let{buffer:t}=e;return t}))),!0;this._stop(this._encoderPort)}return!1}_sendAcknowledgement(e){this.port.postMessage({id:e,result:null})}_sendUnexpectedStateError(e){this.port.postMessage({error:{code:-32603,message:"The internal state does not allow to process the given message."},id:e})}_stop(e){e.postMessage([]),e.close(),this._encoderPort=null,this._state="stopped"}}e.parameterDescriptors=[],registerProcessor("recorder-audio-worklet-processor",e)})();', h4 = l4(Blob, URL, f4), g4 = d4(u4, c4(Kq), YO, p4), Vx = (e, t, n) => ({ endTime: t, insertTime: n, type: "exponentialRampToValue", value: e }), Yx = (e, t, n) => ({ endTime: t, insertTime: n, type: "linearRampToValue", value: e }), qy = (e, t) => ({ startTime: t, type: "setValue", value: e }), WO = (e, t, n) => ({ duration: n, startTime: t, type: "setValueCurve", values: e }), XO = (e, t, { startTime: n, target: a, timeConstant: o }) => a + (t - a) * Math.exp((n - e) / o), Wi = (e) => e.type === "exponentialRampToValue", Au = (e) => e.type === "linearRampToValue", Sa = (e) => Wi(e) || Au(e), CE = (e) => e.type === "setValue",
|
|
21677
|
+
}, f4 = '(()=>{"use strict";class e extends AudioWorkletProcessor{constructor(){super(),this._encoderPort=null,this._state="inactive",this.port.onmessage=e=>{let{data:t}=e;"pause"===t.method?"active"===this._state||"recording"===this._state?(this._state="paused",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"record"===t.method?"inactive"===this._state?(this._encoderPort=t.params.encoderPort,this._state="active",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"resume"===t.method?"paused"===this._state?(this._state="active",this._sendAcknowledgement(t.id)):this._sendUnexpectedStateError(t.id):"stop"===t.method?"active"!==this._state&&"paused"!==this._state&&"recording"!==this._state||null===this._encoderPort?this._sendUnexpectedStateError(t.id):(this._stop(this._encoderPort),this._sendAcknowledgement(t.id)):"number"==typeof t.id&&this.port.postMessage({error:{code:-32601,message:"The requested method is not supported."},id:t.id})}}process(e){let[t]=e;if("inactive"===this._state||"paused"===this._state)return!0;if("active"===this._state){if(void 0===t)throw new Error("No channelData was received for the first input.");if(0===t.length)return!0;this._state="recording"}if("recording"===this._state&&null!==this._encoderPort){if(void 0===t)throw new Error("No channelData was received for the first input.");if(0!==t.length)return this._encoderPort.postMessage(t,t.map((e=>{let{buffer:t}=e;return t}))),!0;this._stop(this._encoderPort)}return!1}_sendAcknowledgement(e){this.port.postMessage({id:e,result:null})}_sendUnexpectedStateError(e){this.port.postMessage({error:{code:-32603,message:"The internal state does not allow to process the given message."},id:e})}_stop(e){e.postMessage([]),e.close(),this._encoderPort=null,this._state="stopped"}}e.parameterDescriptors=[],registerProcessor("recorder-audio-worklet-processor",e)})();', h4 = l4(Blob, URL, f4), g4 = d4(u4, c4(Kq), YO, p4), Vx = (e, t, n) => ({ endTime: t, insertTime: n, type: "exponentialRampToValue", value: e }), Yx = (e, t, n) => ({ endTime: t, insertTime: n, type: "linearRampToValue", value: e }), qy = (e, t) => ({ startTime: t, type: "setValue", value: e }), WO = (e, t, n) => ({ duration: n, startTime: t, type: "setValueCurve", values: e }), XO = (e, t, { startTime: n, target: a, timeConstant: o }) => a + (t - a) * Math.exp((n - e) / o), Wi = (e) => e.type === "exponentialRampToValue", Au = (e) => e.type === "linearRampToValue", Sa = (e) => Wi(e) || Au(e), CE = (e) => e.type === "setValue", Ur = (e) => e.type === "setValueCurve", xu = (e, t, n, a) => {
|
|
21678
21678
|
const o = e[t];
|
|
21679
|
-
return o === void 0 ? a : Sa(o) || CE(o) ? o.value :
|
|
21680
|
-
}, Wx = (e, t, n, a, o) => n === void 0 ? [a.insertTime, o] : Sa(n) ? [n.endTime, n.value] : CE(n) ? [n.startTime, n.value] :
|
|
21679
|
+
return o === void 0 ? a : Sa(o) || CE(o) ? o.value : Ur(o) ? o.values[o.values.length - 1] : XO(n, xu(e, t - 1, o.startTime, a), o);
|
|
21680
|
+
}, Wx = (e, t, n, a, o) => n === void 0 ? [a.insertTime, o] : Sa(n) ? [n.endTime, n.value] : CE(n) ? [n.startTime, n.value] : Ur(n) ? [
|
|
21681
21681
|
n.startTime + n.duration,
|
|
21682
21682
|
n.values[n.values.length - 1]
|
|
21683
21683
|
] : [
|
|
@@ -21700,16 +21700,16 @@ class y4 {
|
|
|
21700
21700
|
add(t) {
|
|
21701
21701
|
const n = va(t);
|
|
21702
21702
|
if (Hy(t) || Gy(t)) {
|
|
21703
|
-
const a = this._automationEvents.findIndex((l) => Gy(t) &&
|
|
21703
|
+
const a = this._automationEvents.findIndex((l) => Gy(t) && Ur(l) ? l.startTime + l.duration >= n : va(l) >= n), o = this._automationEvents[a];
|
|
21704
21704
|
if (a !== -1 && (this._automationEvents = this._automationEvents.slice(0, a)), Hy(t)) {
|
|
21705
21705
|
const l = this._automationEvents[this._automationEvents.length - 1];
|
|
21706
21706
|
if (o !== void 0 && Sa(o)) {
|
|
21707
21707
|
if (l !== void 0 && nu(l))
|
|
21708
21708
|
throw new Error("The internal list is malformed.");
|
|
21709
|
-
const u = l === void 0 ? o.insertTime :
|
|
21709
|
+
const u = l === void 0 ? o.insertTime : Ur(l) ? l.startTime + l.duration : va(l), d = l === void 0 ? this._defaultValue : Ur(l) ? l.values[l.values.length - 1] : l.value, p = Wi(o) ? Xx(n, u, d, o) : Kx(n, u, d, o), f = Wi(o) ? Vx(p, n, this._currenTime) : Yx(p, n, this._currenTime);
|
|
21710
21710
|
this._automationEvents.push(f);
|
|
21711
21711
|
}
|
|
21712
|
-
if (l !== void 0 && nu(l) && this._automationEvents.push(qy(this.getValue(n), n)), l !== void 0 &&
|
|
21712
|
+
if (l !== void 0 && nu(l) && this._automationEvents.push(qy(this.getValue(n), n)), l !== void 0 && Ur(l) && l.startTime + l.duration > n) {
|
|
21713
21713
|
const u = n - l.startTime, d = (l.values.length - 1) / l.duration, p = Math.max(2, 1 + Math.ceil(u * d)), f = u / (p - 1) * d, h = l.values.slice(0, p);
|
|
21714
21714
|
if (f < 1)
|
|
21715
21715
|
for (let m = 1; m < p; m += 1) {
|
|
@@ -21721,13 +21721,13 @@ class y4 {
|
|
|
21721
21721
|
}
|
|
21722
21722
|
} else {
|
|
21723
21723
|
const a = this._automationEvents.findIndex((u) => va(u) > n), o = a === -1 ? this._automationEvents[this._automationEvents.length - 1] : this._automationEvents[a - 1];
|
|
21724
|
-
if (o !== void 0 &&
|
|
21724
|
+
if (o !== void 0 && Ur(o) && va(o) + o.duration > n)
|
|
21725
21725
|
return !1;
|
|
21726
21726
|
const l = Wi(t) ? Vx(t.value, t.endTime, this._currenTime) : Au(t) ? Yx(t.value, n, this._currenTime) : t;
|
|
21727
21727
|
if (a === -1)
|
|
21728
21728
|
this._automationEvents.push(l);
|
|
21729
21729
|
else {
|
|
21730
|
-
if (
|
|
21730
|
+
if (Ur(t) && n + t.duration > va(this._automationEvents[a]))
|
|
21731
21731
|
return !1;
|
|
21732
21732
|
this._automationEvents.splice(a, 0, l);
|
|
21733
21733
|
}
|
|
@@ -21749,7 +21749,7 @@ class y4 {
|
|
|
21749
21749
|
return XO(t, xu(this._automationEvents, o - 1, l.startTime, this._defaultValue), l);
|
|
21750
21750
|
if (l !== void 0 && CE(l) && (a === void 0 || !Sa(a)))
|
|
21751
21751
|
return l.value;
|
|
21752
|
-
if (l !== void 0 &&
|
|
21752
|
+
if (l !== void 0 && Ur(l) && (a === void 0 || !Sa(a) || l.startTime + l.duration > t))
|
|
21753
21753
|
return t < l.startTime + l.duration ? b4(t, l) : l.values[l.values.length - 1];
|
|
21754
21754
|
if (l !== void 0 && Sa(l) && (a === void 0 || !Sa(a)))
|
|
21755
21755
|
return l.value;
|
|
@@ -23346,12 +23346,12 @@ const cI = (e, t, n, a, o) => {
|
|
|
23346
23346
|
}));
|
|
23347
23347
|
const U = [];
|
|
23348
23348
|
if (w.parameterDescriptors !== void 0)
|
|
23349
|
-
for (const { defaultValue: me, maxValue: ve, minValue: Me, name:
|
|
23349
|
+
for (const { defaultValue: me, maxValue: ve, minValue: Me, name: ze } of w.parameterDescriptors) {
|
|
23350
23350
|
const Oe = l(E, {
|
|
23351
23351
|
channelCount: 1,
|
|
23352
23352
|
channelCountMode: "explicit",
|
|
23353
23353
|
channelInterpretation: "discrete",
|
|
23354
|
-
offset: x.parameterData[
|
|
23354
|
+
offset: x.parameterData[ze] !== void 0 ? x.parameterData[ze] : me === void 0 ? 0 : me
|
|
23355
23355
|
});
|
|
23356
23356
|
Object.defineProperties(Oe.offset, {
|
|
23357
23357
|
defaultValue: {
|
|
@@ -23464,8 +23464,8 @@ const cI = (e, t, n, a, o) => {
|
|
|
23464
23464
|
if (ve[0] === "message") {
|
|
23465
23465
|
const Me = typeof ve[1] == "function" ? ve[1] : typeof ve[1] == "object" && ve[1] !== null && typeof ve[1].handleEvent == "function" ? ve[1].handleEvent : null;
|
|
23466
23466
|
if (Me !== null) {
|
|
23467
|
-
const
|
|
23468
|
-
|
|
23467
|
+
const ze = oe.get(ve[1]);
|
|
23468
|
+
ze !== void 0 ? ve[1] = ze : (ve[1] = (Oe) => {
|
|
23469
23469
|
h(E.currentTime, E.sampleRate, () => Me(Oe));
|
|
23470
23470
|
}, oe.set(Me, ve[1]));
|
|
23471
23471
|
}
|
|
@@ -23493,20 +23493,20 @@ const cI = (e, t, n, a, o) => {
|
|
|
23493
23493
|
x.numberOfOutputs > 0 && H.disconnect(W);
|
|
23494
23494
|
for (let me = 0, ve = 0; me < x.numberOfOutputs; me += 1) {
|
|
23495
23495
|
const Me = G[me];
|
|
23496
|
-
for (let
|
|
23497
|
-
W.disconnect(Me, ve +
|
|
23496
|
+
for (let ze = 0; ze < A[me]; ze += 1)
|
|
23497
|
+
W.disconnect(Me, ve + ze, ze);
|
|
23498
23498
|
ve += A[me];
|
|
23499
23499
|
}
|
|
23500
23500
|
}, we = /* @__PURE__ */ new Map();
|
|
23501
23501
|
H.onaudioprocess = ({ inputBuffer: me, outputBuffer: ve }) => {
|
|
23502
23502
|
if (q !== null) {
|
|
23503
23503
|
const Me = m(X);
|
|
23504
|
-
for (let
|
|
23504
|
+
for (let ze = 0; ze < B; ze += 128) {
|
|
23505
23505
|
for (let Oe = 0; Oe < x.numberOfInputs; Oe += 1)
|
|
23506
23506
|
for (let Ie = 0; Ie < x.channelCount; Ie += 1)
|
|
23507
|
-
Nu(me, L[Oe], Ie, Ie,
|
|
23507
|
+
Nu(me, L[Oe], Ie, Ie, ze);
|
|
23508
23508
|
w.parameterDescriptors !== void 0 && w.parameterDescriptors.forEach(({ name: Oe }, Ie) => {
|
|
23509
|
-
Nu(me, be, Oe, N + Ie,
|
|
23509
|
+
Nu(me, be, Oe, N + Ie, ze);
|
|
23510
23510
|
});
|
|
23511
23511
|
for (let Oe = 0; Oe < x.numberOfInputs; Oe += 1)
|
|
23512
23512
|
for (let Ie = 0; Ie < A[Oe]; Ie += 1)
|
|
@@ -23516,12 +23516,12 @@ const cI = (e, t, n, a, o) => {
|
|
|
23516
23516
|
if (Me[Xe].size > 0)
|
|
23517
23517
|
return we.set(Xe, B / 128), rt;
|
|
23518
23518
|
const De = we.get(Xe);
|
|
23519
|
-
return De === void 0 ? [] : (rt.every((
|
|
23519
|
+
return De === void 0 ? [] : (rt.every((je) => je.every((ne) => ne === 0)) && (De === 1 ? we.delete(Xe) : we.set(Xe, De - 1)), rt);
|
|
23520
23520
|
});
|
|
23521
|
-
de = h(E.currentTime +
|
|
23521
|
+
de = h(E.currentTime + ze / E.sampleRate, E.sampleRate, () => q.process(Oe, se, be));
|
|
23522
23522
|
for (let rt = 0, Xe = 0; rt < x.numberOfOutputs; rt += 1) {
|
|
23523
|
-
for (let
|
|
23524
|
-
cI(ve, se[rt],
|
|
23523
|
+
for (let qe = 0; qe < A[rt]; qe += 1)
|
|
23524
|
+
cI(ve, se[rt], qe, Xe + qe, ze);
|
|
23525
23525
|
Xe += A[rt];
|
|
23526
23526
|
}
|
|
23527
23527
|
} catch (Oe) {
|
|
@@ -23536,7 +23536,7 @@ const cI = (e, t, n, a, o) => {
|
|
|
23536
23536
|
for (let Oe = 0; Oe < x.numberOfInputs; Oe += 1) {
|
|
23537
23537
|
C[Oe].disconnect(M[Oe]);
|
|
23538
23538
|
for (let Ie = 0; Ie < x.channelCount; Ie += 1)
|
|
23539
|
-
M[
|
|
23539
|
+
M[ze].disconnect(P, Ie, Oe * x.channelCount + Ie);
|
|
23540
23540
|
}
|
|
23541
23541
|
if (w.parameterDescriptors !== void 0) {
|
|
23542
23542
|
const Oe = w.parameterDescriptors.length;
|
|
@@ -23557,23 +23557,23 @@ const cI = (e, t, n, a, o) => {
|
|
|
23557
23557
|
channelCountMode: "explicit",
|
|
23558
23558
|
channelInterpretation: "discrete",
|
|
23559
23559
|
gain: 0
|
|
23560
|
-
}),
|
|
23560
|
+
}), gt = () => H.connect(nt).connect(E.destination), Yt = () => {
|
|
23561
23561
|
H.disconnect(nt), nt.disconnect();
|
|
23562
23562
|
}, Ft = () => {
|
|
23563
23563
|
if (de) {
|
|
23564
23564
|
Yt(), x.numberOfOutputs > 0 && H.connect(W);
|
|
23565
23565
|
for (let me = 0, ve = 0; me < x.numberOfOutputs; me += 1) {
|
|
23566
23566
|
const Me = G[me];
|
|
23567
|
-
for (let
|
|
23568
|
-
W.connect(Me, ve +
|
|
23567
|
+
for (let ze = 0; ze < A[me]; ze += 1)
|
|
23568
|
+
W.connect(Me, ve + ze, ze);
|
|
23569
23569
|
ve += A[me];
|
|
23570
23570
|
}
|
|
23571
23571
|
}
|
|
23572
23572
|
Je = !0;
|
|
23573
23573
|
}, tt = () => {
|
|
23574
|
-
de && (
|
|
23574
|
+
de && (gt(), xe()), Je = !1;
|
|
23575
23575
|
};
|
|
23576
|
-
return
|
|
23576
|
+
return gt(), y(X, Ft, tt);
|
|
23577
23577
|
}, lG = (e, t) => (n, a) => {
|
|
23578
23578
|
const o = n.createChannelMerger(a.numberOfInputs);
|
|
23579
23579
|
return e !== null && e.name === "webkitAudioContext" && t(n, o), Ls(o, a), o;
|
|
@@ -24323,38 +24323,38 @@ function Y_() {
|
|
|
24323
24323
|
return null;
|
|
24324
24324
|
} : A, k = f.onStart, F = k === void 0 ? function() {
|
|
24325
24325
|
return null;
|
|
24326
|
-
} : k, D = f.blobPropertyBag, C = f.screen, M = C === void 0 ? !1 : C, U = f.mediaRecorderOptions, P = U === void 0 ? void 0 : U, B = f.customMediaStream, H = B === void 0 ? null : B, W = f.stopStreamsOnStop, G = W === void 0 ? !0 : W, Y = f.askPermissionOnMount, J = Y === void 0 ? !1 : Y, j = (0, o.useRef)(null), $ = (0, o.useRef)([]), X = (0, o.useRef)(null), oe = (0, o.useState)("idle"), S = oe[0], q = oe[1], Q = (0, o.useState)(!1), L = Q[0], se = Q[1], be = (0, o.useState)(void 0), de = be[0], xe = be[1], we = (0, o.useState)("NONE"), Je = we[0], nt = we[1],
|
|
24326
|
+
} : k, D = f.blobPropertyBag, C = f.screen, M = C === void 0 ? !1 : C, U = f.mediaRecorderOptions, P = U === void 0 ? void 0 : U, B = f.customMediaStream, H = B === void 0 ? null : B, W = f.stopStreamsOnStop, G = W === void 0 ? !0 : W, Y = f.askPermissionOnMount, J = Y === void 0 ? !1 : Y, j = (0, o.useRef)(null), $ = (0, o.useRef)([]), X = (0, o.useRef)(null), oe = (0, o.useState)("idle"), S = oe[0], q = oe[1], Q = (0, o.useState)(!1), L = Q[0], se = Q[1], be = (0, o.useState)(void 0), de = be[0], xe = be[1], we = (0, o.useState)("NONE"), Je = we[0], nt = we[1], gt = (0, o.useState)(!1), Yt = gt[0], Ft = gt[1];
|
|
24327
24327
|
(0, o.useEffect)(function() {
|
|
24328
24328
|
if (!Yt) {
|
|
24329
|
-
var
|
|
24329
|
+
var qe = function() {
|
|
24330
24330
|
return t(h, void 0, void 0, function() {
|
|
24331
24331
|
var De;
|
|
24332
|
-
return n(this, function(
|
|
24333
|
-
switch (
|
|
24332
|
+
return n(this, function(je) {
|
|
24333
|
+
switch (je.label) {
|
|
24334
24334
|
case 0:
|
|
24335
|
-
return
|
|
24335
|
+
return je.trys.push([0, 3, , 4]), De = a.register, [4, (0, l.connect)()];
|
|
24336
24336
|
case 1:
|
|
24337
|
-
return [4, De.apply(void 0, [
|
|
24337
|
+
return [4, De.apply(void 0, [je.sent()])];
|
|
24338
24338
|
case 2:
|
|
24339
|
-
return
|
|
24339
|
+
return je.sent(), [3, 4];
|
|
24340
24340
|
case 3:
|
|
24341
|
-
return
|
|
24341
|
+
return je.sent(), [3, 4];
|
|
24342
24342
|
case 4:
|
|
24343
24343
|
return [2];
|
|
24344
24344
|
}
|
|
24345
24345
|
});
|
|
24346
24346
|
});
|
|
24347
24347
|
};
|
|
24348
|
-
|
|
24348
|
+
qe(), Ft(!0);
|
|
24349
24349
|
}
|
|
24350
24350
|
}, []);
|
|
24351
24351
|
var tt = (0, o.useCallback)(function() {
|
|
24352
24352
|
return t(h, void 0, void 0, function() {
|
|
24353
|
-
var
|
|
24353
|
+
var qe, De, je, ne, ae;
|
|
24354
24354
|
return n(this, function(ge) {
|
|
24355
24355
|
switch (ge.label) {
|
|
24356
24356
|
case 0:
|
|
24357
|
-
q("acquiring_media"),
|
|
24357
|
+
q("acquiring_media"), qe = { audio: typeof y == "boolean" ? !!y : y, video: typeof v == "boolean" ? !!v : v }, ge.label = 1;
|
|
24358
24358
|
case 1:
|
|
24359
24359
|
return ge.trys.push([1, 9, , 10]), H ? (X.current = H, [3, 8]) : [3, 2];
|
|
24360
24360
|
case 2:
|
|
@@ -24364,13 +24364,13 @@ function Y_() {
|
|
|
24364
24364
|
Xe();
|
|
24365
24365
|
}), y ? [4, window.navigator.mediaDevices.getUserMedia({ audio: y })] : [3, 5];
|
|
24366
24366
|
case 4:
|
|
24367
|
-
|
|
24367
|
+
je = ge.sent(), je.getAudioTracks().forEach(function(Ee) {
|
|
24368
24368
|
return De.addTrack(Ee);
|
|
24369
24369
|
}), ge.label = 5;
|
|
24370
24370
|
case 5:
|
|
24371
24371
|
return X.current = De, [3, 8];
|
|
24372
24372
|
case 6:
|
|
24373
|
-
return [4, window.navigator.mediaDevices.getUserMedia(
|
|
24373
|
+
return [4, window.navigator.mediaDevices.getUserMedia(qe)];
|
|
24374
24374
|
case 7:
|
|
24375
24375
|
ne = ge.sent(), X.current = ne, ge.label = 8;
|
|
24376
24376
|
case 8:
|
|
@@ -24388,24 +24388,24 @@ function Y_() {
|
|
|
24388
24388
|
throw new Error("Unsupported Browser");
|
|
24389
24389
|
if (M && !window.navigator.mediaDevices.getDisplayMedia)
|
|
24390
24390
|
throw new Error("This browser doesn't support screen capturing");
|
|
24391
|
-
var
|
|
24392
|
-
var
|
|
24393
|
-
return !
|
|
24391
|
+
var qe = function(De) {
|
|
24392
|
+
var je = navigator.mediaDevices.getSupportedConstraints(), ne = Object.keys(De).filter(function(ae) {
|
|
24393
|
+
return !je[ae];
|
|
24394
24394
|
});
|
|
24395
24395
|
ne.length > 0 && console.error("The constraints " + ne.join(",") + " doesn't support on this browser. Please check your ReactMediaRecorder component.");
|
|
24396
24396
|
};
|
|
24397
|
-
return typeof y == "object" &&
|
|
24397
|
+
return typeof y == "object" && qe(y), typeof v == "object" && qe(v), P && P.mimeType && (MediaRecorder.isTypeSupported(P.mimeType) || console.error("The specified MIME type you supplied for MediaRecorder doesn't support this browser")), !X.current && J && tt(), function() {
|
|
24398
24398
|
if (X.current) {
|
|
24399
24399
|
var De = X.current.getTracks();
|
|
24400
|
-
De.forEach(function(
|
|
24401
|
-
return
|
|
24400
|
+
De.forEach(function(je) {
|
|
24401
|
+
return je.clone().stop();
|
|
24402
24402
|
});
|
|
24403
24403
|
}
|
|
24404
24404
|
};
|
|
24405
24405
|
}, [y, M, v, tt, P, J]);
|
|
24406
24406
|
var me = function() {
|
|
24407
24407
|
return t(h, void 0, void 0, function() {
|
|
24408
|
-
var
|
|
24408
|
+
var qe;
|
|
24409
24409
|
return n(this, function(De) {
|
|
24410
24410
|
switch (De.label) {
|
|
24411
24411
|
case 0:
|
|
@@ -24413,15 +24413,15 @@ function Y_() {
|
|
|
24413
24413
|
case 1:
|
|
24414
24414
|
De.sent(), De.label = 2;
|
|
24415
24415
|
case 2:
|
|
24416
|
-
return X.current ? (
|
|
24417
|
-
return
|
|
24418
|
-
}),
|
|
24416
|
+
return X.current ? (qe = X.current.getTracks().some(function(je) {
|
|
24417
|
+
return je.readyState === "ended";
|
|
24418
|
+
}), qe ? [4, tt()] : [3, 4]) : [3, 5];
|
|
24419
24419
|
case 3:
|
|
24420
24420
|
De.sent(), De.label = 4;
|
|
24421
24421
|
case 4:
|
|
24422
24422
|
if (!X.current.active)
|
|
24423
24423
|
return [2];
|
|
24424
|
-
j.current = new a.MediaRecorder(X.current, P || void 0), j.current.ondataavailable = ve, j.current.onstop =
|
|
24424
|
+
j.current = new a.MediaRecorder(X.current, P || void 0), j.current.ondataavailable = ve, j.current.onstop = ze, j.current.onstart = Me, j.current.onerror = function() {
|
|
24425
24425
|
nt("NO_RECORDER"), q("idle");
|
|
24426
24426
|
}, j.current.start(), q("recording"), De.label = 5;
|
|
24427
24427
|
case 5:
|
|
@@ -24429,25 +24429,25 @@ function Y_() {
|
|
|
24429
24429
|
}
|
|
24430
24430
|
});
|
|
24431
24431
|
});
|
|
24432
|
-
}, ve = function(
|
|
24433
|
-
var De =
|
|
24432
|
+
}, ve = function(qe) {
|
|
24433
|
+
var De = qe.data;
|
|
24434
24434
|
$.current.push(De);
|
|
24435
24435
|
}, Me = function() {
|
|
24436
24436
|
F();
|
|
24437
|
-
},
|
|
24438
|
-
var
|
|
24439
|
-
q("stopped"), xe(ne), N(ne,
|
|
24440
|
-
}, Oe = function(
|
|
24441
|
-
se(
|
|
24442
|
-
return De.enabled = !
|
|
24437
|
+
}, ze = function() {
|
|
24438
|
+
var qe = $.current[0], De = Object.assign({ type: qe.type }, D || (v ? { type: "video/mp4" } : { type: "audio/wav" })), je = new Blob($.current, De), ne = URL.createObjectURL(je);
|
|
24439
|
+
q("stopped"), xe(ne), N(ne, je);
|
|
24440
|
+
}, Oe = function(qe) {
|
|
24441
|
+
se(qe), X.current && X.current.getAudioTracks().forEach(function(De) {
|
|
24442
|
+
return De.enabled = !qe;
|
|
24443
24443
|
});
|
|
24444
24444
|
}, Ie = function() {
|
|
24445
24445
|
j.current && j.current.state === "recording" && (q("paused"), j.current.pause());
|
|
24446
24446
|
}, rt = function() {
|
|
24447
24447
|
j.current && j.current.state === "paused" && (q("recording"), j.current.resume());
|
|
24448
24448
|
}, Xe = function() {
|
|
24449
|
-
j.current && j.current.state !== "inactive" && (q("stopping"), j.current.stop(), G && X.current && X.current.getTracks().forEach(function(
|
|
24450
|
-
return
|
|
24449
|
+
j.current && j.current.state !== "inactive" && (q("stopping"), j.current.stop(), G && X.current && X.current.getTracks().forEach(function(qe) {
|
|
24450
|
+
return qe.stop();
|
|
24451
24451
|
}), $.current = []);
|
|
24452
24452
|
};
|
|
24453
24453
|
return { error: u[Je], muteAudio: function() {
|
|
@@ -24984,16 +24984,16 @@ function GI() {
|
|
|
24984
24984
|
}
|
|
24985
24985
|
return Hp;
|
|
24986
24986
|
}
|
|
24987
|
-
var
|
|
24987
|
+
var Br = {}, yT;
|
|
24988
24988
|
function HE() {
|
|
24989
|
-
if (yT) return
|
|
24989
|
+
if (yT) return Br;
|
|
24990
24990
|
yT = 1;
|
|
24991
24991
|
var e = 0;
|
|
24992
|
-
|
|
24992
|
+
Br.boolean = t(), Br.booleanish = t(), Br.overloadedBoolean = t(), Br.number = t(), Br.spaceSeparated = t(), Br.commaSeparated = t(), Br.commaOrSpaceSeparated = t();
|
|
24993
24993
|
function t() {
|
|
24994
24994
|
return Math.pow(2, ++e);
|
|
24995
24995
|
}
|
|
24996
|
-
return
|
|
24996
|
+
return Br;
|
|
24997
24997
|
}
|
|
24998
24998
|
var Gp, ET;
|
|
24999
24999
|
function _I() {
|
|
@@ -25912,34 +25912,34 @@ function zY() {
|
|
|
25912
25912
|
return (be.position.indent || be.position.start) && (be.indent = be.position.indent || [], be.position = be.position.start), S(L, be);
|
|
25913
25913
|
}
|
|
25914
25914
|
function S(L, se) {
|
|
25915
|
-
var be = se.additional, de = se.nonTerminated, xe = se.text, we = se.reference, Je = se.warning, nt = se.textContext,
|
|
25915
|
+
var be = se.additional, de = se.nonTerminated, xe = se.text, we = se.reference, Je = se.warning, nt = se.textContext, gt = se.referenceContext, Yt = se.warningContext, Ft = se.position, tt = se.indent || [], me = L.length, ve = 0, Me = -1, ze = Ft.column || 1, Oe = Ft.line || 1, Ie = "", rt = [], Xe, qe, De, je, ne, ae, ge, Ee, He, Et, At, xt, Tt, ot, pt, Rt, Bt, Wt, mt;
|
|
25916
25916
|
for (typeof be == "string" && (be = be.charCodeAt(0)), Rt = Qn(), Ee = Je ? Tn : p, ve--, me++; ++ve < me; )
|
|
25917
|
-
if (ne === m && (
|
|
25917
|
+
if (ne === m && (ze = tt[Me] || 1), ne = L.charCodeAt(ve), ne === v) {
|
|
25918
25918
|
if (ge = L.charCodeAt(ve + 1), ge === h || ge === m || ge === y || ge === E || ge === v || ge === x || ge !== ge || be && ge === be) {
|
|
25919
|
-
Ie += d(ne),
|
|
25919
|
+
Ie += d(ne), ze++;
|
|
25920
25920
|
continue;
|
|
25921
25921
|
}
|
|
25922
|
-
for (Tt = ve + 1, xt = Tt,
|
|
25923
|
-
|
|
25924
|
-
De = L.charCodeAt(
|
|
25925
|
-
|
|
25922
|
+
for (Tt = ve + 1, xt = Tt, mt = Tt, ge === N ? (mt = ++xt, ge = L.charCodeAt(mt), ge === k || ge === F ? (ot = M, mt = ++xt) : ot = U) : ot = C, Xe = "", At = "", je = "", pt = B[ot], mt--; ++mt < me && (ge = L.charCodeAt(mt), !!pt(ge)); )
|
|
25923
|
+
je += d(ge), ot === C && u.call(e, je) && (Xe = je, At = e[je]);
|
|
25924
|
+
De = L.charCodeAt(mt) === w, De && (mt++, qe = ot === C ? l(je) : !1, qe && (Xe = je, At = qe)), Wt = 1 + mt - Tt, !De && !de || (je ? ot === C ? (De && !At ? Ee(J, 1) : (Xe !== je && (mt = xt + Xe.length, Wt = 1 + mt - xt, De = !1), De || (He = Xe ? H : G, se.attribute ? (ge = L.charCodeAt(mt), ge === A ? (Ee(He, Wt), At = null) : o(ge) ? At = null : Ee(He, Wt)) : Ee(He, Wt))), ae = At) : (De || Ee(W, Wt), ae = parseInt(je, P[ot]), q(ae) ? (Ee($, Wt), ae = d(D)) : ae in t ? (Ee(j, Wt), ae = t[ae]) : (Et = "", Q(ae) && Ee(j, Wt), ae > 65535 && (ae -= 65536, Et += d(ae >>> 10 | 55296), ae = 56320 | ae & 1023), ae = Et + d(ae))) : ot !== C && Ee(Y, Wt)), ae ? ($t(), Rt = Qn(), ve = mt - 1, ze += mt - Tt + 1, rt.push(ae), Bt = Qn(), Bt.offset++, we && we.call(
|
|
25925
|
+
gt,
|
|
25926
25926
|
ae,
|
|
25927
25927
|
{ start: Rt, end: Bt },
|
|
25928
|
-
L.slice(Tt - 1,
|
|
25929
|
-
), Rt = Bt) : (
|
|
25928
|
+
L.slice(Tt - 1, mt)
|
|
25929
|
+
), Rt = Bt) : (je = L.slice(Tt - 1, mt), Ie += je, ze += je.length, ve = mt - 1);
|
|
25930
25930
|
} else
|
|
25931
|
-
ne === 10 && (Oe++, Me++,
|
|
25931
|
+
ne === 10 && (Oe++, Me++, ze = 0), ne === ne ? (Ie += d(ne), ze++) : $t();
|
|
25932
25932
|
return rt.join("");
|
|
25933
25933
|
function Qn() {
|
|
25934
25934
|
return {
|
|
25935
25935
|
line: Oe,
|
|
25936
|
-
column:
|
|
25936
|
+
column: ze,
|
|
25937
25937
|
offset: ve + (Ft.offset || 0)
|
|
25938
25938
|
};
|
|
25939
25939
|
}
|
|
25940
25940
|
function Tn(Rn, ci) {
|
|
25941
|
-
var
|
|
25942
|
-
|
|
25941
|
+
var zr = Qn();
|
|
25942
|
+
zr.column += ci, zr.offset += ci, Je.call(Yt, X[Rn], zr, Rn);
|
|
25943
25943
|
}
|
|
25944
25944
|
function $t() {
|
|
25945
25945
|
Ie && (rt.push(Ie), xe && xe.call(nt, Ie, { start: Rt, end: Qn() }), Ie = "");
|
|
@@ -26604,10 +26604,10 @@ function jY() {
|
|
|
26604
26604
|
continue;
|
|
26605
26605
|
var de = Q.index, xe = Q[0], we = S.slice(0, de), Je = S.slice(de + xe.length), nt = oe + S.length;
|
|
26606
26606
|
M && nt > M.reach && (M.reach = nt);
|
|
26607
|
-
var
|
|
26608
|
-
we && (
|
|
26607
|
+
var gt = X.prev;
|
|
26608
|
+
we && (gt = y(k, gt, we), oe += we.length), E(k, gt, q);
|
|
26609
26609
|
var Yt = new p(U, W ? d.tokenize(xe, W) : xe, J, xe);
|
|
26610
|
-
if (X = y(k,
|
|
26610
|
+
if (X = y(k, gt, Yt), Je && y(k, X, Je), q > 1) {
|
|
26611
26611
|
var Ft = {
|
|
26612
26612
|
cause: U + "," + B,
|
|
26613
26613
|
reach: nt
|
|
@@ -48033,6 +48033,7 @@ function ek({ onValidate: e, agentChatResponseColor: t, agentChatResponseBgColor
|
|
|
48033
48033
|
// Min 0 rooms
|
|
48034
48034
|
}));
|
|
48035
48035
|
}, v = () => {
|
|
48036
|
+
e(p);
|
|
48036
48037
|
}, w = () => p.adresse.trim() !== "" && p.superficie > 0, x = {
|
|
48037
48038
|
backgroundColor: d || n + "60",
|
|
48038
48039
|
color: t,
|
|
@@ -48049,7 +48050,7 @@ function ek({ onValidate: e, agentChatResponseColor: t, agentChatResponseBgColor
|
|
|
48049
48050
|
{
|
|
48050
48051
|
className: "p-4 rounded-lg space-y-4",
|
|
48051
48052
|
style: {
|
|
48052
|
-
backgroundColor: n
|
|
48053
|
+
backgroundColor: n,
|
|
48053
48054
|
borderRadius: `${l}px`
|
|
48054
48055
|
},
|
|
48055
48056
|
children: [
|
|
@@ -48797,13 +48798,13 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48797
48798
|
return ye ? ye.message : O[0]?.message || "hi";
|
|
48798
48799
|
}
|
|
48799
48800
|
return O || "hi";
|
|
48800
|
-
})(), [we, Je] = fe.useState(k), nt = fe.useRef(!1),
|
|
48801
|
-
nt.current = !0,
|
|
48801
|
+
})(), [we, Je] = fe.useState(k), nt = fe.useRef(!1), gt = fe.useRef(0), Yt = fe.useRef(k), Ft = (O) => {
|
|
48802
|
+
nt.current = !0, gt.current = O.clientX, Yt.current = we, document.body.style.cursor = "ew-resize";
|
|
48802
48803
|
};
|
|
48803
48804
|
fe.useEffect(() => {
|
|
48804
48805
|
const O = (pe) => {
|
|
48805
48806
|
if (!nt.current) return;
|
|
48806
|
-
const ye =
|
|
48807
|
+
const ye = gt.current - pe.clientX;
|
|
48807
48808
|
let Te = Yt.current + ye;
|
|
48808
48809
|
Te = Math.max(k, Math.min(F, Te)), Je(Te);
|
|
48809
48810
|
}, ue = () => {
|
|
@@ -48813,11 +48814,11 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48813
48814
|
window.removeEventListener("mousemove", O), window.removeEventListener("mouseup", ue);
|
|
48814
48815
|
};
|
|
48815
48816
|
}, [we, k, F]);
|
|
48816
|
-
const [tt, me] = fe.useState(!1), [ve, Me] = fe.useState(!1), [
|
|
48817
|
+
const [tt, me] = fe.useState(!1), [ve, Me] = fe.useState(!1), [ze, Oe] = fe.useState(!1), [Ie, rt] = fe.useState(() => se === "bottom-left" ? { x: 48, y: window.innerHeight - 120 } : se === "middle-right" ? { x: window.innerWidth - 80, y: window.innerHeight / 2 - 35 } : { x: window.innerWidth - 123, y: window.innerHeight - 100 }), [Xe, qe] = fe.useState(!1), [De, je] = fe.useState({ x: 0, y: 0 }), ne = fe.useRef(null), [ae, ge] = fe.useState(""), [Ee, He] = fe.useState(!1), [Et, At] = fe.useState([]), [xt, Tt] = fe.useState(!1), ot = fe.useRef(0), [pt, Rt] = fe.useState(!1), [Bt, Wt] = fe.useState(!1), mt = fe.useRef(!1), [Qn, Tn] = fe.useState("00:00"), $t = fe.useRef(null), Rn = fe.useRef(0), [ci, zr] = fe.useState([]), [jr, dn] = fe.useState([]), { startRecording: ic, stopRecording: Zn, pauseRecording: jt, resumeRecording: en, status: bt, error: Ca } = X_.useReactMediaRecorder({
|
|
48817
48818
|
video: !1,
|
|
48818
48819
|
onStop(O, ue) {
|
|
48819
|
-
if (
|
|
48820
|
-
|
|
48820
|
+
if (mt.current) {
|
|
48821
|
+
mt.current = !1, Tn("00:00"), Rn.current = 0;
|
|
48821
48822
|
return;
|
|
48822
48823
|
}
|
|
48823
48824
|
At((pe) => [
|
|
@@ -48832,7 +48833,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48832
48833
|
}
|
|
48833
48834
|
]), Tn("00:00"), Rn.current = 0;
|
|
48834
48835
|
}
|
|
48835
|
-
}), di = u?.icon || e?.bot.avatar_url || LW, ka = u?.title || e?.bot.name || "Tybot webchat", [
|
|
48836
|
+
}), di = u?.icon || e?.bot.avatar_url || LW, ka = u?.title || e?.bot.name || "Tybot webchat", [qr, vr] = fe.useState(() => {
|
|
48836
48837
|
const O = localStorage.getItem("phone_client");
|
|
48837
48838
|
if (e.bot?.botId === "rockskin" && O)
|
|
48838
48839
|
return O;
|
|
@@ -48844,7 +48845,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48844
48845
|
}
|
|
48845
48846
|
return localStorage.setItem("conversationId", ue), ue;
|
|
48846
48847
|
}
|
|
48847
|
-
}), [Pn,
|
|
48848
|
+
}), [Pn, Hr] = fe.useState(() => u?.botNeedsAuth ? !!localStorage.getItem("conversationId") : !0), [Nn, Oa] = fe.useState(""), [Jn, It] = fe.useState(""), [Ia, zs] = fe.useState(""), Xt = fe.useRef(!1), pn = jr.reduce((O, ue) => ue.seen ? O : O + (ue.sender === "agent" ? ue.nMessage || 1 : 0), 0), io = () => {
|
|
48848
48849
|
dn((O) => O.map((ue) => ({ ...ue, seen: !0 })));
|
|
48849
48850
|
};
|
|
48850
48851
|
fe.useEffect(() => {
|
|
@@ -48890,7 +48891,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48890
48891
|
}, [tt]);
|
|
48891
48892
|
const oo = async (O) => {
|
|
48892
48893
|
if (e.bot) {
|
|
48893
|
-
|
|
48894
|
+
He(!0);
|
|
48894
48895
|
try {
|
|
48895
48896
|
const ue = await uo(xe, e.bot?.botId, [], null, O), pe = {
|
|
48896
48897
|
id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
|
|
@@ -48904,25 +48905,25 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48904
48905
|
} catch (ue) {
|
|
48905
48906
|
console.error("Error sending message:", ue);
|
|
48906
48907
|
} finally {
|
|
48907
|
-
|
|
48908
|
+
He(!1);
|
|
48908
48909
|
}
|
|
48909
48910
|
}
|
|
48910
48911
|
};
|
|
48911
48912
|
fe.useEffect(() => {
|
|
48912
|
-
Pn && e?.bot &&
|
|
48913
|
-
Gs(
|
|
48913
|
+
Pn && e?.bot && jr.length === 0 && u && be && (oo(), localStorage.getItem("webChatAuth") && JSON.parse(localStorage.getItem("webChatAuth")) && u?.botNeedsAuth && qr && (Nn || Ia || Jn) && (setTimeout(() => {
|
|
48914
|
+
Gs(qr);
|
|
48914
48915
|
}, 2e3), localStorage.setItem("webChatAuth", "true")));
|
|
48915
|
-
}, [Pn, e?.bot,
|
|
48916
|
+
}, [Pn, e?.bot, qr, u]), fe.useEffect(() => (bt === "recording" ? $t.current || ($t.current = setInterval(() => {
|
|
48916
48917
|
Rn.current += 1;
|
|
48917
48918
|
const O = Math.floor(Rn.current / 60).toString().padStart(2, "0"), ue = (Rn.current % 60).toString().padStart(2, "0");
|
|
48918
48919
|
Tn(`${O}:${ue}`);
|
|
48919
48920
|
}, 1e3)) : $t.current && (clearInterval($t.current), $t.current = null), () => {
|
|
48920
48921
|
$t.current && (clearInterval($t.current), $t.current = null);
|
|
48921
|
-
}), [
|
|
48922
|
+
}), [bt]), fe.useEffect(() => {
|
|
48922
48923
|
Ca && Ca.toLowerCase().includes("permission_denied") && (Wt(!1), Tn("00:00"), Rn.current = 0, $t.current && (clearInterval($t.current), $t.current = null), alert("Microphone permission denied. Please allow access to record audio."));
|
|
48923
48924
|
}, [Ca]), fe.useEffect(() => {
|
|
48924
|
-
|
|
48925
|
-
}, [
|
|
48925
|
+
bt !== "recording" && bt !== "paused" && (Tn("00:00"), Rn.current = 0);
|
|
48926
|
+
}, [bt]);
|
|
48926
48927
|
const Da = fe.useRef(null);
|
|
48927
48928
|
fe.useEffect(() => {
|
|
48928
48929
|
if (Da && Da.current) {
|
|
@@ -48933,7 +48934,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48933
48934
|
}
|
|
48934
48935
|
}, [ae]), fe.useEffect(() => {
|
|
48935
48936
|
(tt || Ee) && t.current && (t.current.scrollTop = t.current.scrollHeight);
|
|
48936
|
-
}, [
|
|
48937
|
+
}, [jr, Ee, tt]);
|
|
48937
48938
|
const oc = (O) => {
|
|
48938
48939
|
const ue = O.type.toLowerCase();
|
|
48939
48940
|
return ue.startsWith("image/") ? "image" : ue.startsWith("video/") ? "video" : ue.startsWith("audio/") ? "audio" : "document";
|
|
@@ -48967,7 +48968,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48967
48968
|
O.preventDefault();
|
|
48968
48969
|
}, []), js = fe.useCallback((O) => {
|
|
48969
48970
|
O.preventDefault(), ot.current -= 1, ot.current <= 0 && Tt(!1);
|
|
48970
|
-
}, []),
|
|
48971
|
+
}, []), Gr = fe.useCallback((O) => {
|
|
48971
48972
|
At((ue) => {
|
|
48972
48973
|
const pe = ue.find((ye) => ye.id === O);
|
|
48973
48974
|
return pe && URL.revokeObjectURL(pe.url), ue.filter((ye) => ye.id !== O);
|
|
@@ -48985,39 +48986,39 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
48985
48986
|
attachments: [...Et],
|
|
48986
48987
|
timestamp: /* @__PURE__ */ new Date()
|
|
48987
48988
|
};
|
|
48988
|
-
if (dn((Te) => [...Te, ye]), ge(""), At([]),
|
|
48989
|
+
if (dn((Te) => [...Te, ye]), ge(""), At([]), He(!0), e?.bot)
|
|
48989
48990
|
try {
|
|
48991
|
+
const Te = await uo(O, e?.bot.botId, Et, ue || void 0), Le = {
|
|
48992
|
+
id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
|
|
48993
|
+
sender: "agent",
|
|
48994
|
+
content: Te,
|
|
48995
|
+
timestamp: /* @__PURE__ */ new Date(),
|
|
48996
|
+
seen: Xt.current,
|
|
48997
|
+
nMessage: typeof Te == "string" ? 1 : Te.length
|
|
48998
|
+
};
|
|
48999
|
+
dn((Fe) => [...Fe, Le]);
|
|
48990
49000
|
try {
|
|
48991
|
-
const
|
|
49001
|
+
const Fe = JSON.parse(localStorage.getItem("lastBotsMsgs") || "null");
|
|
49002
|
+
if (Fe) {
|
|
49003
|
+
const yt = Fe.filter((Cn) => Cn.botId !== e?.bot.botId);
|
|
49004
|
+
localStorage.setItem("lastBotsMsgs", JSON.stringify([...yt, { botId: e?.bot.botId, lastMsg: Le }]));
|
|
49005
|
+
} else
|
|
49006
|
+
localStorage.setItem("lastBotsMsgs", JSON.stringify([{ botId: e?.bot.botId, lastMsg: Le }]));
|
|
49007
|
+
} catch (Fe) {
|
|
49008
|
+
console.error("Error saving last bot message:", Fe);
|
|
49009
|
+
}
|
|
49010
|
+
} catch {
|
|
49011
|
+
dn((Te) => [
|
|
49012
|
+
...Te,
|
|
49013
|
+
{
|
|
48992
49014
|
id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
|
|
48993
49015
|
sender: "agent",
|
|
48994
|
-
content:
|
|
49016
|
+
content: "Erreur du serveur",
|
|
48995
49017
|
timestamp: /* @__PURE__ */ new Date(),
|
|
48996
49018
|
seen: Xt.current,
|
|
48997
|
-
nMessage:
|
|
48998
|
-
}
|
|
48999
|
-
|
|
49000
|
-
const He = JSON.parse(localStorage.getItem("lastBotsMsgs") || "null");
|
|
49001
|
-
if (He) {
|
|
49002
|
-
const ct = He.filter((Cn) => Cn.botId !== e?.bot.botId);
|
|
49003
|
-
localStorage.setItem("lastBotsMsgs", JSON.stringify([...ct, { botId: e?.bot.botId, lastMsg: Le }]));
|
|
49004
|
-
} else
|
|
49005
|
-
localStorage.setItem("lastBotsMsgs", JSON.stringify([{ botId: e?.bot.botId, lastMsg: Le }]));
|
|
49006
|
-
} catch {
|
|
49007
|
-
dn((Te) => [
|
|
49008
|
-
...Te,
|
|
49009
|
-
{
|
|
49010
|
-
id: Date.now().toString() + Math.random().toString(36).substring(2, 9),
|
|
49011
|
-
sender: "agent",
|
|
49012
|
-
content: "Erreur du serveur",
|
|
49013
|
-
timestamp: /* @__PURE__ */ new Date(),
|
|
49014
|
-
seen: Xt.current,
|
|
49015
|
-
nMessage: 1
|
|
49016
|
-
}
|
|
49017
|
-
]);
|
|
49018
|
-
}
|
|
49019
|
-
} catch (Te) {
|
|
49020
|
-
console.error("Error parsing selectedBotInfo:", Te);
|
|
49019
|
+
nMessage: 1
|
|
49020
|
+
}
|
|
49021
|
+
]);
|
|
49021
49022
|
}
|
|
49022
49023
|
else
|
|
49023
49024
|
dn((Te) => [
|
|
@@ -49031,7 +49032,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49031
49032
|
nMessage: 1
|
|
49032
49033
|
}
|
|
49033
49034
|
]);
|
|
49034
|
-
|
|
49035
|
+
He(!1);
|
|
49035
49036
|
} else
|
|
49036
49037
|
return;
|
|
49037
49038
|
}, fi = (O) => {
|
|
@@ -49051,49 +49052,49 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49051
49052
|
}
|
|
49052
49053
|
}, uo = async (O, ue, pe = [], ye, Te) => {
|
|
49053
49054
|
if (pe.length > 0) {
|
|
49054
|
-
const
|
|
49055
|
-
|
|
49056
|
-
const { data:
|
|
49055
|
+
const Fe = new FormData();
|
|
49056
|
+
Fe.append("type", pe[0].type), Fe.append("file", pe[0].file), Fe.append("botId", ue), Fe.append("conversation_id", qr ?? ""), Fe.append("host", window.location.origin), Fe.append("channel", "web");
|
|
49057
|
+
const { data: yt } = await wt.post(e?.API_URL || nk, Fe, {
|
|
49057
49058
|
headers: {
|
|
49058
49059
|
Authorization: `Bearer ${e?.token}`,
|
|
49059
49060
|
"Content-Type": "multipart/form-data"
|
|
49060
49061
|
}
|
|
49061
49062
|
});
|
|
49062
|
-
return
|
|
49063
|
+
return yt;
|
|
49063
49064
|
} else {
|
|
49064
|
-
let
|
|
49065
|
-
|
|
49065
|
+
let Fe;
|
|
49066
|
+
Fe = {
|
|
49066
49067
|
type: "text",
|
|
49067
49068
|
messageText: O,
|
|
49068
49069
|
botId: ue,
|
|
49069
|
-
conversation_id:
|
|
49070
|
+
conversation_id: qr,
|
|
49070
49071
|
isintern: !!e.token,
|
|
49071
49072
|
host: window.location.origin,
|
|
49072
49073
|
channel: "web"
|
|
49073
|
-
}, ye && (
|
|
49074
|
-
const { data:
|
|
49074
|
+
}, ye && (Fe = { ...Fe, payload: ye, messageText: O });
|
|
49075
|
+
const { data: yt } = await wt.post(e?.API_URL || nk, Fe, {
|
|
49075
49076
|
headers: {
|
|
49076
49077
|
Authorization: `Bearer ${e?.token}`,
|
|
49077
49078
|
"Content-Type": "application/json"
|
|
49078
49079
|
}
|
|
49079
49080
|
});
|
|
49080
|
-
return
|
|
49081
|
+
return yt;
|
|
49081
49082
|
}
|
|
49082
|
-
}, [fn,
|
|
49083
|
-
O.preventDefault(), O.stopPropagation(),
|
|
49083
|
+
}, [fn, _r] = fe.useState(!1), Vr = fe.useRef({ x: 0, y: 0 }), hi = (O) => {
|
|
49084
|
+
O.preventDefault(), O.stopPropagation(), qe(!0), _r(!1), Vr.current = { x: O.clientX, y: O.clientY }, je({
|
|
49084
49085
|
x: O.clientX - Ie.x,
|
|
49085
49086
|
y: O.clientY - Ie.y
|
|
49086
49087
|
}), document.body.style.cursor = "grabbing", document.body.style.userSelect = "none";
|
|
49087
49088
|
}, qs = (O) => {
|
|
49088
49089
|
O.preventDefault(), O.stopPropagation();
|
|
49089
49090
|
const ue = O.touches[0];
|
|
49090
|
-
|
|
49091
|
+
qe(!0), _r(!1), Vr.current = { x: ue.clientX, y: ue.clientY }, je({
|
|
49091
49092
|
x: ue.clientX - Ie.x,
|
|
49092
49093
|
y: ue.clientY - Ie.y
|
|
49093
49094
|
});
|
|
49094
49095
|
}, La = (O) => {
|
|
49095
49096
|
if (O.preventDefault(), O.stopPropagation(), fn) {
|
|
49096
|
-
|
|
49097
|
+
_r(!1);
|
|
49097
49098
|
return;
|
|
49098
49099
|
}
|
|
49099
49100
|
me((ue) => !ue), Xt.current = !tt, tt || io(), be || oo();
|
|
@@ -49101,21 +49102,21 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49101
49102
|
fe.useEffect(() => {
|
|
49102
49103
|
const O = (Te) => {
|
|
49103
49104
|
if (!Xe) return;
|
|
49104
|
-
const Le = Math.abs(Te.clientX -
|
|
49105
|
-
(Le > 5 ||
|
|
49106
|
-
const
|
|
49107
|
-
rt({ x:
|
|
49105
|
+
const Le = Math.abs(Te.clientX - Vr.current.x), Fe = Math.abs(Te.clientY - Vr.current.y);
|
|
49106
|
+
(Le > 5 || Fe > 5) && _r(!0);
|
|
49107
|
+
const yt = Te.clientX - De.x, Cn = Te.clientY - De.y, qt = 67, Kr = window.innerWidth - document.body.clientWidth, wr = Math.max(0, Math.min(window.innerWidth - qt - Kr, yt)), jn = Math.max(0, Math.min(window.innerHeight - qt, Cn));
|
|
49108
|
+
rt({ x: wr, y: jn });
|
|
49108
49109
|
}, ue = (Te) => {
|
|
49109
49110
|
if (!Xe) return;
|
|
49110
49111
|
Te.preventDefault();
|
|
49111
|
-
const Le = Te.touches[0],
|
|
49112
|
-
(
|
|
49113
|
-
const Cn = Le.clientX - De.x, qt = Le.clientY - De.y, Kr = 67,
|
|
49112
|
+
const Le = Te.touches[0], Fe = Math.abs(Le.clientX - Vr.current.x), yt = Math.abs(Le.clientY - Vr.current.y);
|
|
49113
|
+
(Fe > 5 || yt > 5) && _r(!0);
|
|
49114
|
+
const Cn = Le.clientX - De.x, qt = Le.clientY - De.y, Kr = 67, wr = window.innerWidth - document.body.clientWidth, jn = Math.max(0, Math.min(window.innerWidth - Kr - wr, Cn)), po = Math.max(0, Math.min(window.innerHeight - Kr, qt));
|
|
49114
49115
|
rt({ x: jn, y: po });
|
|
49115
49116
|
}, pe = () => {
|
|
49116
|
-
Xe && (
|
|
49117
|
+
Xe && (qe(!1), document.body.style.cursor = "", document.body.style.userSelect = "");
|
|
49117
49118
|
}, ye = () => {
|
|
49118
|
-
Xe &&
|
|
49119
|
+
Xe && qe(!1);
|
|
49119
49120
|
};
|
|
49120
49121
|
return Xe && (document.addEventListener("mousemove", O), document.addEventListener("touchmove", ue, { passive: !1 }), document.addEventListener("mouseup", pe), document.addEventListener("touchend", ye)), () => {
|
|
49121
49122
|
document.removeEventListener("mousemove", O), document.removeEventListener("touchmove", ue), document.removeEventListener("mouseup", pe), document.removeEventListener("touchend", ye);
|
|
@@ -49130,7 +49131,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49130
49131
|
};
|
|
49131
49132
|
return window.addEventListener("resize", O), () => window.removeEventListener("resize", O);
|
|
49132
49133
|
}, []);
|
|
49133
|
-
const sc = /^[\u0600-\u06FF\u0750-\u077F\s\d\p{P}]+$/u, hn = /[\u0600-\u06FF\u0750-\u077F]/, sn = (O) => sc.test(O),
|
|
49134
|
+
const sc = /^[\u0600-\u06FF\u0750-\u077F\s\d\p{P}]+$/u, hn = /[\u0600-\u06FF\u0750-\u077F]/, sn = (O) => sc.test(O), Sr = (O) => hn.test(O), zn = fe.useMemo(
|
|
49134
49135
|
() => ({
|
|
49135
49136
|
h1: ({ children: O }) => /* @__PURE__ */ T.jsx("h1", { className: "sm:text-2xl text-xl font-bold my-2", dir: sn(O) ? "rtl" : "ltr", children: /* @__PURE__ */ T.jsx(
|
|
49136
49137
|
Vt,
|
|
@@ -49218,8 +49219,9 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49218
49219
|
) }),
|
|
49219
49220
|
p: ({ children: O }) => {
|
|
49220
49221
|
let ue;
|
|
49221
|
-
return typeof O == "string" &&
|
|
49222
|
-
|
|
49222
|
+
return typeof O == "string" && Sr(O) || typeof O == "object" && !Array.isArray(O) && O?.props?.children && sn(O?.props?.children) || typeof O == "object" && Array.isArray(O) && O.some((pe) => Sr(pe)) ? ue = "rtl" : ue = "ltr", /* @__PURE__ */ T.jsx("div", { className: "leading-relaxed", dir: typeof O == "string" || !Array.isArray(O) ? ue : "", children: Array.isArray(O) ? O.map((pe, ye) => {
|
|
49223
|
+
const Te = Sr(pe) ? "p" : "span";
|
|
49224
|
+
return typeof pe == "string" && !new RegExp("^(?:\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F|\\s)+$", "u").test(pe) ? /* @__PURE__ */ T.jsx(Te, { dir: Sr(pe) ? "rtl" : "ltr", children: /* @__PURE__ */ T.jsx(
|
|
49223
49225
|
Vt,
|
|
49224
49226
|
{
|
|
49225
49227
|
sequence: [
|
|
@@ -49232,13 +49234,13 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49232
49234
|
cursor: !1,
|
|
49233
49235
|
speed: 90
|
|
49234
49236
|
}
|
|
49235
|
-
) }, ye) : pe
|
|
49236
|
-
) : /* @__PURE__ */ T.jsx(T.Fragment, { children: O }) });
|
|
49237
|
+
) }, ye) : pe?.type !== "br" ? pe : null;
|
|
49238
|
+
}) : /* @__PURE__ */ T.jsx(T.Fragment, { children: O }) });
|
|
49237
49239
|
},
|
|
49238
|
-
ul: ({ children: O }) => /* @__PURE__ */ T.jsx("ul", { className: "list-disc list-inside ml-4 my-2", style: { color: G }, dir:
|
|
49240
|
+
ul: ({ children: O }) => /* @__PURE__ */ T.jsx("ul", { className: "list-disc list-inside ml-4 my-2", style: { color: G }, dir: Sr(O) ? "rtl" : "ltr", children: O }),
|
|
49239
49241
|
ol: ({ children: O }) => {
|
|
49240
49242
|
let ue = !1;
|
|
49241
|
-
return O.filter((pe) => typeof pe != "string").every((pe) =>
|
|
49243
|
+
return O.filter((pe) => typeof pe != "string").every((pe) => Sr(pe?.props?.children)) ? ue = !0 : ue = !1, /* @__PURE__ */ T.jsx("ol", { className: "list-decimal list-inside ml-4 my-2", style: { color: G }, dir: ue ? "rtl" : "ltr", children: typeof O == "string" ? /* @__PURE__ */ T.jsx(
|
|
49242
49244
|
Vt,
|
|
49243
49245
|
{
|
|
49244
49246
|
sequence: [
|
|
@@ -49365,12 +49367,12 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49365
49367
|
);
|
|
49366
49368
|
fe.useEffect(() => {
|
|
49367
49369
|
const O = (ue) => {
|
|
49368
|
-
|
|
49370
|
+
pt && ue.target instanceof Element && !ue.composedPath().some((pe) => pe?.id === "upload-button-toggle" || pe?.id === "document-button" || pe?.id === "image-button" || pe?.id === "video-button" || pe?.id === "audio-button") && Rt(!1);
|
|
49369
49371
|
};
|
|
49370
49372
|
return document.addEventListener("mousedown", O), () => {
|
|
49371
49373
|
document.removeEventListener("mousedown", O);
|
|
49372
49374
|
};
|
|
49373
|
-
}, [
|
|
49375
|
+
}, [pt]);
|
|
49374
49376
|
const Yr = (O) => {
|
|
49375
49377
|
switch (O.type) {
|
|
49376
49378
|
case "text":
|
|
@@ -49415,7 +49417,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49415
49417
|
else
|
|
49416
49418
|
try {
|
|
49417
49419
|
const pe = JSON.parse(O.text);
|
|
49418
|
-
switch (pe
|
|
49420
|
+
switch (pe.type) {
|
|
49419
49421
|
case "products":
|
|
49420
49422
|
return /* @__PURE__ */ T.jsx(
|
|
49421
49423
|
su,
|
|
@@ -49437,7 +49439,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49437
49439
|
ek,
|
|
49438
49440
|
{
|
|
49439
49441
|
onValidate: (ye) => {
|
|
49440
|
-
Ut("
|
|
49442
|
+
Ut("formulaire soumis", ye);
|
|
49441
49443
|
},
|
|
49442
49444
|
agentChatResponseColor: G,
|
|
49443
49445
|
agentChatResponseBgColor: Y,
|
|
@@ -49548,8 +49550,8 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49548
49550
|
className: "mb-1 mr-1 px-4 py-1 hover:scale-105 transition-all duration-100",
|
|
49549
49551
|
onClick: () => {
|
|
49550
49552
|
pe.action === "Open URL" ? window.open(pe.url, "_blank") : pe.title === "scan" ? O.image && fetch(O.image).then((Te) => Te.blob()).then((Te) => {
|
|
49551
|
-
const Le = URL.createObjectURL(Te),
|
|
49552
|
-
|
|
49553
|
+
const Le = URL.createObjectURL(Te), Fe = document.createElement("a");
|
|
49554
|
+
Fe.href = Le, Fe.download = "qrcode.png", document.body.appendChild(Fe), Fe.click(), document.body.removeChild(Fe), URL.revokeObjectURL(Le);
|
|
49553
49555
|
}).catch(() => {
|
|
49554
49556
|
alert("Failed to download image.");
|
|
49555
49557
|
}) : Ut(O.title, pe.payload || void 0);
|
|
@@ -49634,24 +49636,24 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49634
49636
|
case "audio":
|
|
49635
49637
|
return /* @__PURE__ */ T.jsx("div", { className: "w-[300px]", children: /* @__PURE__ */ T.jsx(oD, { src: O.json.content, mainColor: h, secondaryColor: m, controlsColor: G }) });
|
|
49636
49638
|
case "cards":
|
|
49637
|
-
return O.json.content.map((Le,
|
|
49639
|
+
return O.json.content.map((Le, Fe) => /* @__PURE__ */ T.jsx("div", { className: "mt-2 w-full", children: /* @__PURE__ */ T.jsx("div", { className: "grid grid-cols-1 gap-3", children: /* @__PURE__ */ T.jsxs("div", { className: "flex-shrink-0 border rounded-lg p-3 shadow-md", style: { background: Y }, children: [
|
|
49638
49640
|
/* @__PURE__ */ T.jsx("img", { src: Le.image, alt: Le.title, className: "max-h-48 w-full rounded-md mb-2" }),
|
|
49639
49641
|
/* @__PURE__ */ T.jsx("h3", { className: "font-bold", children: Le.title }),
|
|
49640
|
-
Le.button?.map((
|
|
49642
|
+
Le.button?.map((yt, Cn) => /* @__PURE__ */ T.jsx(
|
|
49641
49643
|
"button",
|
|
49642
49644
|
{
|
|
49643
49645
|
className: "mb-1 mr-1 px-4 py-1 hover:scale-105 transition-all duration-100",
|
|
49644
49646
|
onClick: () => {
|
|
49645
|
-
if (
|
|
49646
|
-
window.open(
|
|
49647
|
-
else if (
|
|
49648
|
-
const qt = (typeof
|
|
49649
|
-
Ut(
|
|
49650
|
-
} else
|
|
49647
|
+
if (yt.type === "link" && typeof yt.action == "string")
|
|
49648
|
+
window.open(yt.action, "_blank");
|
|
49649
|
+
else if (yt.type === "postback") {
|
|
49650
|
+
const qt = (typeof yt.action == "string", yt.action);
|
|
49651
|
+
Ut(yt.label, qt);
|
|
49652
|
+
} else yt.type === "say-something" && typeof yt.action == "string" && dn((qt) => [
|
|
49651
49653
|
...qt,
|
|
49652
49654
|
{
|
|
49653
49655
|
sender: "agent",
|
|
49654
|
-
content:
|
|
49656
|
+
content: yt.action,
|
|
49655
49657
|
id: `msg-${Date.now()}`,
|
|
49656
49658
|
timestamp: /* @__PURE__ */ new Date(),
|
|
49657
49659
|
seen: !0
|
|
@@ -49663,11 +49665,11 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49663
49665
|
borderRadius: `${N}px`,
|
|
49664
49666
|
color: q
|
|
49665
49667
|
},
|
|
49666
|
-
children:
|
|
49668
|
+
children: yt.label
|
|
49667
49669
|
},
|
|
49668
49670
|
Cn
|
|
49669
49671
|
))
|
|
49670
|
-
] }) }) },
|
|
49672
|
+
] }) }) }, Fe));
|
|
49671
49673
|
case "slider":
|
|
49672
49674
|
const ye = O.json.content.map((Le) => ({
|
|
49673
49675
|
image: Le.image,
|
|
@@ -49694,11 +49696,11 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49694
49696
|
image: Le.image,
|
|
49695
49697
|
title: Le.title,
|
|
49696
49698
|
subtitle: Le.description || "",
|
|
49697
|
-
actions: Le.button?.map((
|
|
49698
|
-
title:
|
|
49699
|
-
payload:
|
|
49700
|
-
action:
|
|
49701
|
-
url: typeof
|
|
49699
|
+
actions: Le.button?.map((Fe) => ({
|
|
49700
|
+
title: Fe.label,
|
|
49701
|
+
payload: Fe.action,
|
|
49702
|
+
action: Fe.type,
|
|
49703
|
+
url: typeof Fe.action == "string" ? Fe.action : ""
|
|
49702
49704
|
})) || []
|
|
49703
49705
|
}));
|
|
49704
49706
|
return /* @__PURE__ */ T.jsx(
|
|
@@ -49779,7 +49781,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49779
49781
|
const ue = new Uint8Array(16);
|
|
49780
49782
|
window.crypto.getRandomValues(ue);
|
|
49781
49783
|
const pe = Array.from(ue).map((ye) => ye.toString(16).padStart(2, "0")).join("");
|
|
49782
|
-
vr(pe), localStorage.setItem("conversationId", pe), localStorage.setItem("webChatAuth", "true"),
|
|
49784
|
+
vr(pe), localStorage.setItem("conversationId", pe), localStorage.setItem("webChatAuth", "true"), Hr(!0);
|
|
49783
49785
|
}, [lc, Xr] = fe.useState(!1), _s = async () => {
|
|
49784
49786
|
dn([]);
|
|
49785
49787
|
const O = localStorage.getItem("phone_client");
|
|
@@ -49973,7 +49975,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
49973
49975
|
fontSize: L + "px"
|
|
49974
49976
|
},
|
|
49975
49977
|
children: [
|
|
49976
|
-
|
|
49978
|
+
jr.map((O) => /* @__PURE__ */ T.jsxs("div", { className: `flex ${O.sender === "agent" ? "flex-col sm:flex-row" : ""} items-start gap-3 ${O.sender === "user" ? "flex-row-reverse" : ""}`, children: [
|
|
49977
49979
|
/* @__PURE__ */ T.jsx(
|
|
49978
49980
|
"div",
|
|
49979
49981
|
{
|
|
@@ -50166,10 +50168,10 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50166
50168
|
background: `linear-gradient(to top, ${y}, transparent)`
|
|
50167
50169
|
},
|
|
50168
50170
|
children: [
|
|
50169
|
-
Et.length > 0 && /* @__PURE__ */ T.jsx("div", { className: "flex flex-wrap gap-2 mb-3 p-3 bg-opacity-70 rounded-lg", style: { background: w }, children: Et.map((O) => /* @__PURE__ */ T.jsx(QW, { attachment: O, onRemove: () =>
|
|
50171
|
+
Et.length > 0 && /* @__PURE__ */ T.jsx("div", { className: "flex flex-wrap gap-2 mb-3 p-3 bg-opacity-70 rounded-lg", style: { background: w }, children: Et.map((O) => /* @__PURE__ */ T.jsx(QW, { attachment: O, onRemove: () => Gr(O.id) }, O.id)) }),
|
|
50170
50172
|
/* @__PURE__ */ T.jsxs("div", { className: "flex items-center w-full gap-2 relative", children: [
|
|
50171
50173
|
/* @__PURE__ */ T.jsx("div", { className: "flex-1 relative", children: /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
|
|
50172
|
-
|
|
50174
|
+
bt !== "recording" && bt !== "paused" ? (
|
|
50173
50175
|
// Upload button
|
|
50174
50176
|
/* @__PURE__ */ T.jsxs(T.Fragment, { children: [
|
|
50175
50177
|
/* @__PURE__ */ T.jsx(
|
|
@@ -50177,14 +50179,16 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50177
50179
|
{
|
|
50178
50180
|
id: "upload-button-toggle",
|
|
50179
50181
|
type: "button",
|
|
50180
|
-
onClick: () =>
|
|
50182
|
+
onClick: () => {
|
|
50183
|
+
Ee || Rt((O) => !O);
|
|
50184
|
+
},
|
|
50181
50185
|
className: "absolute left-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10 hover:bg-opacity-10",
|
|
50182
50186
|
style: {
|
|
50183
50187
|
color: x
|
|
50184
50188
|
},
|
|
50185
50189
|
onMouseEnter: (O) => O.currentTarget.style.background = h,
|
|
50186
50190
|
onMouseLeave: (O) => O.currentTarget.style.background = "",
|
|
50187
|
-
children: /* @__PURE__ */ T.jsx(Su, { className: `size-4 sm:size-5 transition-transform duration-200 ${
|
|
50191
|
+
children: /* @__PURE__ */ T.jsx(Su, { className: `size-4 sm:size-5 transition-transform duration-200 ${pt ? "rotate-45" : ""}` })
|
|
50188
50192
|
}
|
|
50189
50193
|
),
|
|
50190
50194
|
/* @__PURE__ */ T.jsx(
|
|
@@ -50192,7 +50196,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50192
50196
|
{
|
|
50193
50197
|
type: "button",
|
|
50194
50198
|
onClick: () => {
|
|
50195
|
-
ic();
|
|
50199
|
+
Ee || ic();
|
|
50196
50200
|
},
|
|
50197
50201
|
className: "absolute right-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 rounded-full flex items-center justify-center transition-all duration-200 z-10",
|
|
50198
50202
|
style: {
|
|
@@ -50212,7 +50216,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50212
50216
|
{
|
|
50213
50217
|
type: "button",
|
|
50214
50218
|
onClick: () => {
|
|
50215
|
-
|
|
50219
|
+
mt.current = !0, Zn();
|
|
50216
50220
|
},
|
|
50217
50221
|
className: "absolute left-1 bottom-[10px] sm:bottom-3 size-8 sm:size-9 hover:bg-red-100 hover:bg-opacity-50 rounded-full flex items-center justify-center text-red-500 hover:text-red-600 z-10 after:w-2 after:h-2 after:bg-red-500 after:absolute after:rounded-full after:top-1/2 after:-right-3 after:-translate-y-1/2 after:animate-bounce",
|
|
50218
50222
|
children: /* @__PURE__ */ T.jsx(uq, { className: "size-4 sm:size-5" })
|
|
@@ -50232,7 +50236,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50232
50236
|
),
|
|
50233
50237
|
/* @__PURE__ */ T.jsxs("div", { className: "absolute left-16 bottom-4 flex items-center gap-4 z-10 ", style: { color: x }, children: [
|
|
50234
50238
|
/* @__PURE__ */ T.jsx("p", { children: Qn }),
|
|
50235
|
-
/* @__PURE__ */ T.jsx("p", { className: `${
|
|
50239
|
+
/* @__PURE__ */ T.jsx("p", { className: `${bt === "recording" ? "animate-pulse" : ""}`, children: bt === "recording" ? "Recording..." : bt === "paused" ? "Paused" : "Starting..." })
|
|
50236
50240
|
] }),
|
|
50237
50241
|
/* @__PURE__ */ T.jsx(
|
|
50238
50242
|
"button",
|
|
@@ -50248,7 +50252,7 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50248
50252
|
)
|
|
50249
50253
|
] })
|
|
50250
50254
|
),
|
|
50251
|
-
|
|
50255
|
+
pt && /* @__PURE__ */ T.jsxs("div", { className: "absolute bottom-12 left-0 rounded-lg shadow-xl border border-gray-700 py-2 min-w-48 z-10", style: { background: B }, children: [
|
|
50252
50256
|
/* @__PURE__ */ T.jsxs(
|
|
50253
50257
|
"button",
|
|
50254
50258
|
{
|
|
@@ -50315,10 +50319,10 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50315
50319
|
{
|
|
50316
50320
|
id: "message-input",
|
|
50317
50321
|
ref: Da,
|
|
50318
|
-
className: `w-full pt-3 text-xs sm:text-sm sm:pt-4 px-12 resize-none min-h-10 sm:min-h-12 max-h-32 overflow-y-auto focus:outline-none backdrop-blur-sm ${
|
|
50319
|
-
value:
|
|
50322
|
+
className: `disabled:opacity-50 w-full pt-3 text-xs sm:text-sm sm:pt-4 px-12 resize-none min-h-10 sm:min-h-12 max-h-32 overflow-y-auto focus:outline-none backdrop-blur-sm ${bt === "recording" || bt === "paused" ? "cursor-default" : ""}`,
|
|
50323
|
+
value: bt === "recording" || bt === "paused" ? "" : ae,
|
|
50320
50324
|
onChange: (O) => ge(O.target.value),
|
|
50321
|
-
placeholder:
|
|
50325
|
+
placeholder: bt === "recording" || bt === "paused" ? "" : "Type your message...",
|
|
50322
50326
|
rows: 1,
|
|
50323
50327
|
onKeyDown: (O) => {
|
|
50324
50328
|
O.key === "Enter" && !O.shiftKey && (O.preventDefault(), Ut());
|
|
@@ -50330,7 +50334,8 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50330
50334
|
scrollbarWidth: "thin",
|
|
50331
50335
|
scrollbarColor: `${h} transparent`
|
|
50332
50336
|
},
|
|
50333
|
-
readOnly:
|
|
50337
|
+
readOnly: bt === "recording" || bt === "paused",
|
|
50338
|
+
disabled: Ee
|
|
50334
50339
|
}
|
|
50335
50340
|
)
|
|
50336
50341
|
] }) }),
|
|
@@ -50574,11 +50579,11 @@ const KW = ({ attachment: e, formatFileSize: t, mainColor: n, secondaryColor: a,
|
|
|
50574
50579
|
top: `${Ie.y}px`,
|
|
50575
50580
|
zIndex: 999,
|
|
50576
50581
|
cursor: Xe ? "grabbing" : "grab",
|
|
50577
|
-
animation: (pn > 0 ||
|
|
50582
|
+
animation: (pn > 0 || ze) && !tt && !Xe ? "gentlePulse 2s ease-in-out infinite, smoothFloat 3s ease-in-out infinite" : "none",
|
|
50578
50583
|
transition: Xe ? "none" : "all 0.2s ease-out"
|
|
50579
50584
|
},
|
|
50580
50585
|
children: [
|
|
50581
|
-
|
|
50586
|
+
ze && !tt && !Xe && /* @__PURE__ */ T.jsxs(
|
|
50582
50587
|
"div",
|
|
50583
50588
|
{
|
|
50584
50589
|
className: `absolute ${se === "bottom-right" ? "bottom-[110%] right-2" : se === "bottom-left" ? "bottom-16 left-0" : "top-1/2 right-20 -translate-y-1/2"} bg-white rounded-lg shadow-lg p-3 min-w-[250px] cursor-pointer`,
|