@desivocal/agents-cdn 1.0.21-alpha.1 → 1.0.21-alpha.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/dv-agent.es.js +754 -749
- package/dist/dv-agent.umd.js +44 -44
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dv-agent.es.js
CHANGED
|
@@ -2,7 +2,7 @@ var AM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2
2
|
function j3(t) {
|
|
3
3
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
4
4
|
}
|
|
5
|
-
var Gw = { exports: {} }, by = {}, Yw = { exports: {} },
|
|
5
|
+
var Gw = { exports: {} }, by = {}, Yw = { exports: {} }, Pn = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react.production.min.js
|
|
@@ -14,7 +14,7 @@ var Gw = { exports: {} }, by = {}, Yw = { exports: {} }, Rn = {};
|
|
|
14
14
|
*/
|
|
15
15
|
var OM;
|
|
16
16
|
function IB() {
|
|
17
|
-
if (OM) return
|
|
17
|
+
if (OM) return Pn;
|
|
18
18
|
OM = 1;
|
|
19
19
|
var t = Symbol.for("react.element"), e = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), b = Symbol.iterator;
|
|
20
20
|
function k(te) {
|
|
@@ -124,7 +124,7 @@ function IB() {
|
|
|
124
124
|
function B() {
|
|
125
125
|
throw Error("act(...) is not supported in production builds of React.");
|
|
126
126
|
}
|
|
127
|
-
return
|
|
127
|
+
return Pn.Children = { map: $e, forEach: function(te, Te, q) {
|
|
128
128
|
$e(te, function() {
|
|
129
129
|
Te.apply(this, arguments);
|
|
130
130
|
}, q);
|
|
@@ -140,7 +140,7 @@ function IB() {
|
|
|
140
140
|
}, only: function(te) {
|
|
141
141
|
if (!W(te)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
142
142
|
return te;
|
|
143
|
-
} },
|
|
143
|
+
} }, Pn.Component = O, Pn.Fragment = n, Pn.Profiler = a, Pn.PureComponent = j, Pn.StrictMode = r, Pn.Suspense = h, Pn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Be, Pn.act = B, Pn.cloneElement = function(te, Te, q) {
|
|
144
144
|
if (te == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + te + ".");
|
|
145
145
|
var Ct = w({}, te.props), wt = te.key, kt = te.ref, xt = te._owner;
|
|
146
146
|
if (Te != null) {
|
|
@@ -155,20 +155,20 @@ function IB() {
|
|
|
155
155
|
Ct.children = mt;
|
|
156
156
|
}
|
|
157
157
|
return { $$typeof: t, type: te.type, key: wt, ref: kt, props: Ct, _owner: xt };
|
|
158
|
-
},
|
|
158
|
+
}, Pn.createContext = function(te) {
|
|
159
159
|
return te = { $$typeof: l, _currentValue: te, _currentValue2: te, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, te.Provider = { $$typeof: s, _context: te }, te.Consumer = te;
|
|
160
|
-
},
|
|
160
|
+
}, Pn.createElement = Z, Pn.createFactory = function(te) {
|
|
161
161
|
var Te = Z.bind(null, te);
|
|
162
162
|
return Te.type = te, Te;
|
|
163
|
-
},
|
|
163
|
+
}, Pn.createRef = function() {
|
|
164
164
|
return { current: null };
|
|
165
|
-
},
|
|
165
|
+
}, Pn.forwardRef = function(te) {
|
|
166
166
|
return { $$typeof: c, render: te };
|
|
167
|
-
},
|
|
167
|
+
}, Pn.isValidElement = W, Pn.lazy = function(te) {
|
|
168
168
|
return { $$typeof: v, _payload: { _status: -1, _result: te }, _init: qe };
|
|
169
|
-
},
|
|
169
|
+
}, Pn.memo = function(te, Te) {
|
|
170
170
|
return { $$typeof: p, type: te, compare: Te === void 0 ? null : Te };
|
|
171
|
-
},
|
|
171
|
+
}, Pn.startTransition = function(te) {
|
|
172
172
|
var Te = se.transition;
|
|
173
173
|
se.transition = {};
|
|
174
174
|
try {
|
|
@@ -176,36 +176,36 @@ function IB() {
|
|
|
176
176
|
} finally {
|
|
177
177
|
se.transition = Te;
|
|
178
178
|
}
|
|
179
|
-
},
|
|
179
|
+
}, Pn.unstable_act = B, Pn.useCallback = function(te, Te) {
|
|
180
180
|
return We.current.useCallback(te, Te);
|
|
181
|
-
},
|
|
181
|
+
}, Pn.useContext = function(te) {
|
|
182
182
|
return We.current.useContext(te);
|
|
183
|
-
},
|
|
184
|
-
},
|
|
183
|
+
}, Pn.useDebugValue = function() {
|
|
184
|
+
}, Pn.useDeferredValue = function(te) {
|
|
185
185
|
return We.current.useDeferredValue(te);
|
|
186
|
-
},
|
|
186
|
+
}, Pn.useEffect = function(te, Te) {
|
|
187
187
|
return We.current.useEffect(te, Te);
|
|
188
|
-
},
|
|
188
|
+
}, Pn.useId = function() {
|
|
189
189
|
return We.current.useId();
|
|
190
|
-
},
|
|
190
|
+
}, Pn.useImperativeHandle = function(te, Te, q) {
|
|
191
191
|
return We.current.useImperativeHandle(te, Te, q);
|
|
192
|
-
},
|
|
192
|
+
}, Pn.useInsertionEffect = function(te, Te) {
|
|
193
193
|
return We.current.useInsertionEffect(te, Te);
|
|
194
|
-
},
|
|
194
|
+
}, Pn.useLayoutEffect = function(te, Te) {
|
|
195
195
|
return We.current.useLayoutEffect(te, Te);
|
|
196
|
-
},
|
|
196
|
+
}, Pn.useMemo = function(te, Te) {
|
|
197
197
|
return We.current.useMemo(te, Te);
|
|
198
|
-
},
|
|
198
|
+
}, Pn.useReducer = function(te, Te, q) {
|
|
199
199
|
return We.current.useReducer(te, Te, q);
|
|
200
|
-
},
|
|
200
|
+
}, Pn.useRef = function(te) {
|
|
201
201
|
return We.current.useRef(te);
|
|
202
|
-
},
|
|
202
|
+
}, Pn.useState = function(te) {
|
|
203
203
|
return We.current.useState(te);
|
|
204
|
-
},
|
|
204
|
+
}, Pn.useSyncExternalStore = function(te, Te, q) {
|
|
205
205
|
return We.current.useSyncExternalStore(te, Te, q);
|
|
206
|
-
},
|
|
206
|
+
}, Pn.useTransition = function() {
|
|
207
207
|
return We.current.useTransition();
|
|
208
|
-
},
|
|
208
|
+
}, Pn.version = "18.3.1", Pn;
|
|
209
209
|
}
|
|
210
210
|
var Ly = { exports: {} };
|
|
211
211
|
Ly.exports;
|
|
@@ -402,7 +402,7 @@ function UB() {
|
|
|
402
402
|
return Object.seal(M), M;
|
|
403
403
|
}
|
|
404
404
|
var Wn = Array.isArray;
|
|
405
|
-
function
|
|
405
|
+
function _n(M) {
|
|
406
406
|
return Wn(M);
|
|
407
407
|
}
|
|
408
408
|
function xr(M) {
|
|
@@ -586,7 +586,7 @@ function UB() {
|
|
|
586
586
|
var me = Tt(M.type, Y, M.ref, M._self, M._source, M._owner, M.props);
|
|
587
587
|
return me;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Sn(M, Y, me) {
|
|
590
590
|
if (M == null)
|
|
591
591
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + M + ".");
|
|
592
592
|
var we, Je = q({}, M.props), Rt = M.key, vt = M.ref, Yt = M._self, hn = M._source, Zn = M._owner;
|
|
@@ -620,7 +620,7 @@ function UB() {
|
|
|
620
620
|
});
|
|
621
621
|
return "$" + we;
|
|
622
622
|
}
|
|
623
|
-
var
|
|
623
|
+
var Dn = !1, In = /\/+/g;
|
|
624
624
|
function Hi(M) {
|
|
625
625
|
return M.replace(In, "$&/");
|
|
626
626
|
}
|
|
@@ -648,7 +648,7 @@ function UB() {
|
|
|
648
648
|
}
|
|
649
649
|
if (vt) {
|
|
650
650
|
var Yt = M, hn = Je(Yt), Zn = we === "" ? pn + va(Yt, 0) : we;
|
|
651
|
-
if (
|
|
651
|
+
if (_n(hn)) {
|
|
652
652
|
var ar = "";
|
|
653
653
|
Zn != null && (ar = Hi(Zn) + "/"), ya(hn, Y, ar, "", function(Cg) {
|
|
654
654
|
return Cg;
|
|
@@ -667,14 +667,14 @@ function UB() {
|
|
|
667
667
|
return 1;
|
|
668
668
|
}
|
|
669
669
|
var or, sn, hr = 0, jr = we === "" ? pn : we + Kn;
|
|
670
|
-
if (
|
|
670
|
+
if (_n(M))
|
|
671
671
|
for (var yu = 0; yu < M.length; yu++)
|
|
672
672
|
or = M[yu], sn = jr + va(or, yu), hr += ya(or, Y, me, sn, Je);
|
|
673
673
|
else {
|
|
674
674
|
var nf = N(M);
|
|
675
675
|
if (typeof nf == "function") {
|
|
676
676
|
var Ms = M;
|
|
677
|
-
nf === Ms.entries && (
|
|
677
|
+
nf === Ms.entries && (Dn || We("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Dn = !0);
|
|
678
678
|
for (var bu = nf.call(Ms), rf, bg = 0; !(rf = bu.next()).done; )
|
|
679
679
|
or = rf.value, sn = jr + va(or, bg++), hr += ya(or, Y, me, sn, Je);
|
|
680
680
|
} else if (Rt === "object") {
|
|
@@ -895,7 +895,7 @@ Your code should look like:
|
|
|
895
895
|
// with.
|
|
896
896
|
M.$$typeof === Q || M.getModuleId !== void 0));
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function rt(M, Y) {
|
|
899
899
|
Ue(M) || se("memo: The first argument must be a component. Instead received: %s", M === null ? "null" : typeof M);
|
|
900
900
|
var me = {
|
|
901
901
|
$$typeof: w,
|
|
@@ -961,11 +961,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
961
961
|
var me = ot();
|
|
962
962
|
return me.useCallback(M, Y);
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function mn(M, Y) {
|
|
965
965
|
var me = ot();
|
|
966
966
|
return me.useMemo(M, Y);
|
|
967
967
|
}
|
|
968
|
-
function
|
|
968
|
+
function tt(M, Y, me) {
|
|
969
969
|
var we = ot();
|
|
970
970
|
return we.useImperativeHandle(M, Y, me);
|
|
971
971
|
}
|
|
@@ -1261,7 +1261,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
1261
1261
|
}
|
|
1262
1262
|
function ir(M, Y) {
|
|
1263
1263
|
if (typeof M == "object") {
|
|
1264
|
-
if (
|
|
1264
|
+
if (_n(M))
|
|
1265
1265
|
for (var me = 0; me < M.length; me++) {
|
|
1266
1266
|
var we = M[me];
|
|
1267
1267
|
dn(we) && Mr(we, Y);
|
|
@@ -1321,7 +1321,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
1321
1321
|
var Rt = Sa(Y);
|
|
1322
1322
|
Rt ? Je += Rt : Je += mu();
|
|
1323
1323
|
var vt;
|
|
1324
|
-
M === null ? vt = "null" :
|
|
1324
|
+
M === null ? vt = "null" : _n(M) ? vt = "array" : M !== void 0 && M.$$typeof === a ? (vt = "<" + (Ge(M.type) || "Unknown") + " />", Je = " Did you accidentally export a JSX literal instead of a component?") : vt = typeof M, se("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", vt, Je);
|
|
1325
1325
|
}
|
|
1326
1326
|
var Yt = Lt.apply(this, arguments);
|
|
1327
1327
|
if (Yt == null)
|
|
@@ -1344,7 +1344,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
1344
1344
|
}), Y;
|
|
1345
1345
|
}
|
|
1346
1346
|
function Cc(M, Y, me) {
|
|
1347
|
-
for (var we =
|
|
1347
|
+
for (var we = Sn.apply(this, arguments), Je = 2; Je < arguments.length; Je++)
|
|
1348
1348
|
ir(arguments[Je], we.type);
|
|
1349
1349
|
return Fo(we), we;
|
|
1350
1350
|
}
|
|
@@ -1474,7 +1474,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
1474
1474
|
toArray: io,
|
|
1475
1475
|
only: rs
|
|
1476
1476
|
};
|
|
1477
|
-
e.Children = _c, e.Component = wt, e.Fragment = l, e.Profiler = h, e.PureComponent = Zt, e.StrictMode = c, e.Suspense = k, e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = qe, e.act = yl, e.cloneElement = tf, e.createContext = Ba, e.createElement = Tc, e.createFactory = ho, e.createRef = gr, e.forwardRef = oo, e.isValidElement = dn, e.lazy = Ha, e.memo =
|
|
1477
|
+
e.Children = _c, e.Component = wt, e.Fragment = l, e.Profiler = h, e.PureComponent = Zt, e.StrictMode = c, e.Suspense = k, e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = qe, e.act = yl, e.cloneElement = tf, e.createContext = Ba, e.createElement = Tc, e.createFactory = ho, e.createRef = gr, e.forwardRef = oo, e.isValidElement = dn, e.lazy = Ha, e.memo = rt, e.startTransition = gu, e.unstable_act = yl, e.useCallback = dt, e.useContext = cn, e.useDebugValue = At, e.useDeferredValue = mi, e.useEffect = Re, e.useId = ea, e.useImperativeHandle = tt, e.useInsertionEffect = Ve, e.useLayoutEffect = st, e.useMemo = mn, e.useReducer = fn, e.useRef = be, e.useState = Gt, e.useSyncExternalStore = so, e.useTransition = Mt, e.version = r, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1478
1478
|
}();
|
|
1479
1479
|
}(Ly, Ly.exports)), Ly.exports;
|
|
1480
1480
|
}
|
|
@@ -1530,16 +1530,16 @@ function VB() {
|
|
|
1530
1530
|
var j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1531
1531
|
function N(Q) {
|
|
1532
1532
|
{
|
|
1533
|
-
for (var Ue = arguments.length,
|
|
1534
|
-
|
|
1535
|
-
V("error", Q,
|
|
1533
|
+
for (var Ue = arguments.length, rt = new Array(Ue > 1 ? Ue - 1 : 0), ot = 1; ot < Ue; ot++)
|
|
1534
|
+
rt[ot - 1] = arguments[ot];
|
|
1535
|
+
V("error", Q, rt);
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
|
-
function V(Q, Ue,
|
|
1538
|
+
function V(Q, Ue, rt) {
|
|
1539
1539
|
{
|
|
1540
1540
|
var ot = j.ReactDebugCurrentFrame, cn = ot.getStackAddendum();
|
|
1541
|
-
cn !== "" && (Ue += "%s",
|
|
1542
|
-
var Gt =
|
|
1541
|
+
cn !== "" && (Ue += "%s", rt = rt.concat([cn]));
|
|
1542
|
+
var Gt = rt.map(function(fn) {
|
|
1543
1543
|
return String(fn);
|
|
1544
1544
|
});
|
|
1545
1545
|
Gt.unshift("Warning: " + Ue), Function.prototype.apply.call(console[Q], console, Gt);
|
|
@@ -1554,12 +1554,12 @@ function VB() {
|
|
|
1554
1554
|
// with.
|
|
1555
1555
|
Q.$$typeof === W || Q.getModuleId !== void 0));
|
|
1556
1556
|
}
|
|
1557
|
-
function J(Q, Ue,
|
|
1557
|
+
function J(Q, Ue, rt) {
|
|
1558
1558
|
var ot = Q.displayName;
|
|
1559
1559
|
if (ot)
|
|
1560
1560
|
return ot;
|
|
1561
1561
|
var cn = Ue.displayName || Ue.name || "";
|
|
1562
|
-
return cn !== "" ?
|
|
1562
|
+
return cn !== "" ? rt + "(" + cn + ")" : rt;
|
|
1563
1563
|
}
|
|
1564
1564
|
function pe(Q) {
|
|
1565
1565
|
return Q.displayName || "Context";
|
|
@@ -1591,8 +1591,8 @@ function VB() {
|
|
|
1591
1591
|
var Ue = Q;
|
|
1592
1592
|
return pe(Ue) + ".Consumer";
|
|
1593
1593
|
case c:
|
|
1594
|
-
var
|
|
1595
|
-
return pe(
|
|
1594
|
+
var rt = Q;
|
|
1595
|
+
return pe(rt._context) + ".Provider";
|
|
1596
1596
|
case p:
|
|
1597
1597
|
return J(Q, Q.render, "ForwardRef");
|
|
1598
1598
|
case k:
|
|
@@ -1672,7 +1672,7 @@ function VB() {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
var xt = j.ReactCurrentDispatcher, mt;
|
|
1675
|
-
function zt(Q, Ue,
|
|
1675
|
+
function zt(Q, Ue, rt) {
|
|
1676
1676
|
{
|
|
1677
1677
|
if (mt === void 0)
|
|
1678
1678
|
try {
|
|
@@ -1694,9 +1694,9 @@ function VB() {
|
|
|
1694
1694
|
if (!Q || Zt)
|
|
1695
1695
|
return "";
|
|
1696
1696
|
{
|
|
1697
|
-
var
|
|
1698
|
-
if (
|
|
1699
|
-
return
|
|
1697
|
+
var rt = Un.get(Q);
|
|
1698
|
+
if (rt !== void 0)
|
|
1699
|
+
return rt;
|
|
1700
1700
|
}
|
|
1701
1701
|
var ot;
|
|
1702
1702
|
Zt = !0;
|
|
@@ -1758,17 +1758,17 @@ function VB() {
|
|
|
1758
1758
|
} finally {
|
|
1759
1759
|
Zt = !1, xt.current = Gt, kt(), Error.prepareStackTrace = cn;
|
|
1760
1760
|
}
|
|
1761
|
-
var
|
|
1762
|
-
return typeof Q == "function" && Un.set(Q,
|
|
1761
|
+
var mn = Q ? Q.displayName || Q.name : "", tt = mn ? zt(mn) : "";
|
|
1762
|
+
return typeof Q == "function" && Un.set(Q, tt), tt;
|
|
1763
1763
|
}
|
|
1764
|
-
function
|
|
1764
|
+
function _n(Q, Ue, rt) {
|
|
1765
1765
|
return Wn(Q, !1);
|
|
1766
1766
|
}
|
|
1767
1767
|
function xr(Q) {
|
|
1768
1768
|
var Ue = Q.prototype;
|
|
1769
1769
|
return !!(Ue && Ue.isReactComponent);
|
|
1770
1770
|
}
|
|
1771
|
-
function yr(Q, Ue,
|
|
1771
|
+
function yr(Q, Ue, rt) {
|
|
1772
1772
|
if (Q == null)
|
|
1773
1773
|
return "";
|
|
1774
1774
|
if (typeof Q == "function")
|
|
@@ -1784,13 +1784,13 @@ function VB() {
|
|
|
1784
1784
|
if (typeof Q == "object")
|
|
1785
1785
|
switch (Q.$$typeof) {
|
|
1786
1786
|
case p:
|
|
1787
|
-
return
|
|
1787
|
+
return _n(Q.render);
|
|
1788
1788
|
case k:
|
|
1789
|
-
return yr(Q.type, Ue,
|
|
1789
|
+
return yr(Q.type, Ue, rt);
|
|
1790
1790
|
case x: {
|
|
1791
1791
|
var ot = Q, cn = ot._payload, Gt = ot._init;
|
|
1792
1792
|
try {
|
|
1793
|
-
return yr(Gt(cn), Ue,
|
|
1793
|
+
return yr(Gt(cn), Ue, rt);
|
|
1794
1794
|
} catch {
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
@@ -1800,12 +1800,12 @@ function VB() {
|
|
|
1800
1800
|
var rr = Object.prototype.hasOwnProperty, X = {}, le = j.ReactDebugCurrentFrame;
|
|
1801
1801
|
function Ce(Q) {
|
|
1802
1802
|
if (Q) {
|
|
1803
|
-
var Ue = Q._owner,
|
|
1804
|
-
le.setExtraStackFrame(
|
|
1803
|
+
var Ue = Q._owner, rt = yr(Q.type, Q._source, Ue ? Ue.type : null);
|
|
1804
|
+
le.setExtraStackFrame(rt);
|
|
1805
1805
|
} else
|
|
1806
1806
|
le.setExtraStackFrame(null);
|
|
1807
1807
|
}
|
|
1808
|
-
function Ge(Q, Ue,
|
|
1808
|
+
function Ge(Q, Ue, rt, ot, cn) {
|
|
1809
1809
|
{
|
|
1810
1810
|
var Gt = Function.call.bind(rr);
|
|
1811
1811
|
for (var fn in Q)
|
|
@@ -1813,14 +1813,14 @@ function VB() {
|
|
|
1813
1813
|
var be = void 0;
|
|
1814
1814
|
try {
|
|
1815
1815
|
if (typeof Q[fn] != "function") {
|
|
1816
|
-
var Re = Error((ot || "React class") + ": " +
|
|
1816
|
+
var Re = Error((ot || "React class") + ": " + rt + " type `" + fn + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof Q[fn] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1817
1817
|
throw Re.name = "Invariant Violation", Re;
|
|
1818
1818
|
}
|
|
1819
|
-
be = Q[fn](Ue, fn, ot,
|
|
1819
|
+
be = Q[fn](Ue, fn, ot, rt, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1820
1820
|
} catch (Ve) {
|
|
1821
1821
|
be = Ve;
|
|
1822
1822
|
}
|
|
1823
|
-
be && !(be instanceof Error) && (Ce(cn), N("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ot || "React class",
|
|
1823
|
+
be && !(be instanceof Error) && (Ce(cn), N("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ot || "React class", rt, fn, typeof be), Ce(null)), be instanceof Error && !(be.message in X) && (X[be.message] = !0, Ce(cn), N("Failed %s type: %s", rt, be.message), Ce(null));
|
|
1824
1824
|
}
|
|
1825
1825
|
}
|
|
1826
1826
|
}
|
|
@@ -1830,8 +1830,8 @@ function VB() {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
function ut(Q) {
|
|
1832
1832
|
{
|
|
1833
|
-
var Ue = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1834
|
-
return
|
|
1833
|
+
var Ue = typeof Symbol == "function" && Symbol.toStringTag, rt = Ue && Q[Symbol.toStringTag] || Q.constructor.name || "Object";
|
|
1834
|
+
return rt;
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
function Ft(Q) {
|
|
@@ -1873,36 +1873,36 @@ function VB() {
|
|
|
1873
1873
|
function un(Q, Ue) {
|
|
1874
1874
|
typeof Q.ref == "string" && gt.current;
|
|
1875
1875
|
}
|
|
1876
|
-
function
|
|
1876
|
+
function Sn(Q, Ue) {
|
|
1877
1877
|
{
|
|
1878
|
-
var
|
|
1878
|
+
var rt = function() {
|
|
1879
1879
|
Qt || (Qt = !0, N("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Ue));
|
|
1880
1880
|
};
|
|
1881
|
-
|
|
1882
|
-
get:
|
|
1881
|
+
rt.isReactWarning = !0, Object.defineProperty(Q, "key", {
|
|
1882
|
+
get: rt,
|
|
1883
1883
|
configurable: !0
|
|
1884
1884
|
});
|
|
1885
1885
|
}
|
|
1886
1886
|
}
|
|
1887
1887
|
function dn(Q, Ue) {
|
|
1888
1888
|
{
|
|
1889
|
-
var
|
|
1889
|
+
var rt = function() {
|
|
1890
1890
|
Ie || (Ie = !0, N("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Ue));
|
|
1891
1891
|
};
|
|
1892
|
-
|
|
1893
|
-
get:
|
|
1892
|
+
rt.isReactWarning = !0, Object.defineProperty(Q, "ref", {
|
|
1893
|
+
get: rt,
|
|
1894
1894
|
configurable: !0
|
|
1895
1895
|
});
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
1898
|
-
var pn = function(Q, Ue,
|
|
1898
|
+
var pn = function(Q, Ue, rt, ot, cn, Gt, fn) {
|
|
1899
1899
|
var be = {
|
|
1900
1900
|
// This tag allows us to uniquely identify this as a React Element
|
|
1901
1901
|
$$typeof: n,
|
|
1902
1902
|
// Built-in properties that belong on the element
|
|
1903
1903
|
type: Q,
|
|
1904
1904
|
key: Ue,
|
|
1905
|
-
ref:
|
|
1905
|
+
ref: rt,
|
|
1906
1906
|
props: fn,
|
|
1907
1907
|
// Record the component responsible for creating this element.
|
|
1908
1908
|
_owner: Gt
|
|
@@ -1924,10 +1924,10 @@ function VB() {
|
|
|
1924
1924
|
value: cn
|
|
1925
1925
|
}), Object.freeze && (Object.freeze(be.props), Object.freeze(be)), be;
|
|
1926
1926
|
};
|
|
1927
|
-
function Kn(Q, Ue,
|
|
1927
|
+
function Kn(Q, Ue, rt, ot, cn) {
|
|
1928
1928
|
{
|
|
1929
1929
|
var Gt, fn = {}, be = null, Re = null;
|
|
1930
|
-
|
|
1930
|
+
rt !== void 0 && (Ee(rt), be = "" + rt), Lt(Ue) && (Ee(Ue.key), be = "" + Ue.key), Tt(Ue) && (Re = Ue.ref, un(Ue, cn));
|
|
1931
1931
|
for (Gt in Ue)
|
|
1932
1932
|
rr.call(Ue, Gt) && !$t.hasOwnProperty(Gt) && (fn[Gt] = Ue[Gt]);
|
|
1933
1933
|
if (Q && Q.defaultProps) {
|
|
@@ -1937,18 +1937,18 @@ function VB() {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
if (be || Re) {
|
|
1939
1939
|
var st = typeof Q == "function" ? Q.displayName || Q.name || "Unknown" : Q;
|
|
1940
|
-
be &&
|
|
1940
|
+
be && Sn(fn, st), Re && dn(fn, st);
|
|
1941
1941
|
}
|
|
1942
1942
|
return pn(Q, be, Re, cn, ot, gt.current, fn);
|
|
1943
1943
|
}
|
|
1944
1944
|
}
|
|
1945
|
-
var Jn = j.ReactCurrentOwner,
|
|
1945
|
+
var Jn = j.ReactCurrentOwner, Dn = j.ReactDebugCurrentFrame;
|
|
1946
1946
|
function In(Q) {
|
|
1947
1947
|
if (Q) {
|
|
1948
|
-
var Ue = Q._owner,
|
|
1949
|
-
|
|
1948
|
+
var Ue = Q._owner, rt = yr(Q.type, Q._source, Ue ? Ue.type : null);
|
|
1949
|
+
Dn.setExtraStackFrame(rt);
|
|
1950
1950
|
} else
|
|
1951
|
-
|
|
1951
|
+
Dn.setExtraStackFrame(null);
|
|
1952
1952
|
}
|
|
1953
1953
|
var Hi;
|
|
1954
1954
|
Hi = !1;
|
|
@@ -1975,10 +1975,10 @@ Check the render method of \`` + Q + "`.";
|
|
|
1975
1975
|
{
|
|
1976
1976
|
var Ue = ya();
|
|
1977
1977
|
if (!Ue) {
|
|
1978
|
-
var
|
|
1979
|
-
|
|
1978
|
+
var rt = typeof Q == "string" ? Q : Q.displayName || Q.name;
|
|
1979
|
+
rt && (Ue = `
|
|
1980
1980
|
|
|
1981
|
-
Check the top-level render call using <` +
|
|
1981
|
+
Check the top-level render call using <` + rt + ">.");
|
|
1982
1982
|
}
|
|
1983
1983
|
return Ue;
|
|
1984
1984
|
}
|
|
@@ -1988,12 +1988,12 @@ Check the top-level render call using <` + nt + ">.");
|
|
|
1988
1988
|
if (!Q._store || Q._store.validated || Q.key != null)
|
|
1989
1989
|
return;
|
|
1990
1990
|
Q._store.validated = !0;
|
|
1991
|
-
var
|
|
1992
|
-
if (Rs[
|
|
1991
|
+
var rt = ns(Ue);
|
|
1992
|
+
if (Rs[rt])
|
|
1993
1993
|
return;
|
|
1994
|
-
Rs[
|
|
1994
|
+
Rs[rt] = !0;
|
|
1995
1995
|
var ot = "";
|
|
1996
|
-
Q && Q._owner && Q._owner !== Jn.current && (ot = " It was passed a child from " + _e(Q._owner.type) + "."), In(Q), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
1996
|
+
Q && Q._owner && Q._owner !== Jn.current && (ot = " It was passed a child from " + _e(Q._owner.type) + "."), In(Q), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', rt, ot), In(null);
|
|
1997
1997
|
}
|
|
1998
1998
|
}
|
|
1999
1999
|
function rs(Q, Ue) {
|
|
@@ -2001,8 +2001,8 @@ Check the top-level render call using <` + nt + ">.");
|
|
|
2001
2001
|
if (typeof Q != "object")
|
|
2002
2002
|
return;
|
|
2003
2003
|
if (ke(Q))
|
|
2004
|
-
for (var
|
|
2005
|
-
var ot = Q[
|
|
2004
|
+
for (var rt = 0; rt < Q.length; rt++) {
|
|
2005
|
+
var ot = Q[rt];
|
|
2006
2006
|
va(ot) && io(ot, Ue);
|
|
2007
2007
|
}
|
|
2008
2008
|
else if (va(Q))
|
|
@@ -2020,18 +2020,18 @@ Check the top-level render call using <` + nt + ">.");
|
|
|
2020
2020
|
var Ue = Q.type;
|
|
2021
2021
|
if (Ue == null || typeof Ue == "string")
|
|
2022
2022
|
return;
|
|
2023
|
-
var
|
|
2023
|
+
var rt;
|
|
2024
2024
|
if (typeof Ue == "function")
|
|
2025
|
-
|
|
2025
|
+
rt = Ue.propTypes;
|
|
2026
2026
|
else if (typeof Ue == "object" && (Ue.$$typeof === p || // Note: Memo only checks outer props here.
|
|
2027
2027
|
// Inner props are checked in the reconciler.
|
|
2028
2028
|
Ue.$$typeof === k))
|
|
2029
|
-
|
|
2029
|
+
rt = Ue.propTypes;
|
|
2030
2030
|
else
|
|
2031
2031
|
return;
|
|
2032
|
-
if (
|
|
2032
|
+
if (rt) {
|
|
2033
2033
|
var ot = _e(Ue);
|
|
2034
|
-
Ge(
|
|
2034
|
+
Ge(rt, Q.props, "prop", ot, Q);
|
|
2035
2035
|
} else if (Ue.PropTypes !== void 0 && !Hi) {
|
|
2036
2036
|
Hi = !0;
|
|
2037
2037
|
var cn = _e(Ue);
|
|
@@ -2042,8 +2042,8 @@ Check the top-level render call using <` + nt + ">.");
|
|
|
2042
2042
|
}
|
|
2043
2043
|
function $i(Q) {
|
|
2044
2044
|
{
|
|
2045
|
-
for (var Ue = Object.keys(Q.props),
|
|
2046
|
-
var ot = Ue[
|
|
2045
|
+
for (var Ue = Object.keys(Q.props), rt = 0; rt < Ue.length; rt++) {
|
|
2046
|
+
var ot = Ue[rt];
|
|
2047
2047
|
if (ot !== "children" && ot !== "key") {
|
|
2048
2048
|
In(Q), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ot), In(null);
|
|
2049
2049
|
break;
|
|
@@ -2053,7 +2053,7 @@ Check the top-level render call using <` + nt + ">.");
|
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
2055
|
var Kr = {};
|
|
2056
|
-
function qi(Q, Ue,
|
|
2056
|
+
function qi(Q, Ue, rt, ot, cn, Gt) {
|
|
2057
2057
|
{
|
|
2058
2058
|
var fn = oe(Q);
|
|
2059
2059
|
if (!fn) {
|
|
@@ -2064,7 +2064,7 @@ Check the top-level render call using <` + nt + ">.");
|
|
|
2064
2064
|
var Ve;
|
|
2065
2065
|
Q === null ? Ve = "null" : ke(Q) ? Ve = "array" : Q !== void 0 && Q.$$typeof === n ? (Ve = "<" + (_e(Q.type) || "Unknown") + " />", be = " Did you accidentally export a JSX literal instead of a component?") : Ve = typeof Q, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ve, be);
|
|
2066
2066
|
}
|
|
2067
|
-
var st = Kn(Q, Ue,
|
|
2067
|
+
var st = Kn(Q, Ue, rt, cn, Gt);
|
|
2068
2068
|
if (st == null)
|
|
2069
2069
|
return st;
|
|
2070
2070
|
if (fn) {
|
|
@@ -2072,8 +2072,8 @@ Check the top-level render call using <` + nt + ">.");
|
|
|
2072
2072
|
if (dt !== void 0)
|
|
2073
2073
|
if (ot)
|
|
2074
2074
|
if (ke(dt)) {
|
|
2075
|
-
for (var
|
|
2076
|
-
rs(dt[
|
|
2075
|
+
for (var mn = 0; mn < dt.length; mn++)
|
|
2076
|
+
rs(dt[mn], Q);
|
|
2077
2077
|
Object.freeze && Object.freeze(dt);
|
|
2078
2078
|
} else
|
|
2079
2079
|
N("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -2081,27 +2081,27 @@ Check the top-level render call using <` + nt + ">.");
|
|
|
2081
2081
|
rs(dt, Q);
|
|
2082
2082
|
}
|
|
2083
2083
|
if (rr.call(Ue, "key")) {
|
|
2084
|
-
var
|
|
2084
|
+
var tt = _e(Q), At = Object.keys(Ue).filter(function(ea) {
|
|
2085
2085
|
return ea !== "key";
|
|
2086
2086
|
}), Mt = At.length > 0 ? "{key: someKey, " + At.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2087
|
-
if (!Kr[
|
|
2087
|
+
if (!Kr[tt + Mt]) {
|
|
2088
2088
|
var mi = At.length > 0 ? "{" + At.join(": ..., ") + ": ...}" : "{}";
|
|
2089
2089
|
N(`A props object containing a "key" prop is being spread into JSX:
|
|
2090
2090
|
let props = %s;
|
|
2091
2091
|
<%s {...props} />
|
|
2092
2092
|
React keys must be passed directly to JSX without using spread:
|
|
2093
2093
|
let props = %s;
|
|
2094
|
-
<%s key={someKey} {...props} />`, Mt,
|
|
2094
|
+
<%s key={someKey} {...props} />`, Mt, tt, mi, tt), Kr[tt + Mt] = !0;
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
2097
|
return Q === a ? $i(st) : Ba(st), st;
|
|
2098
2098
|
}
|
|
2099
2099
|
}
|
|
2100
|
-
function Ti(Q, Ue,
|
|
2101
|
-
return qi(Q, Ue,
|
|
2100
|
+
function Ti(Q, Ue, rt) {
|
|
2101
|
+
return qi(Q, Ue, rt, !0);
|
|
2102
2102
|
}
|
|
2103
|
-
function ao(Q, Ue,
|
|
2104
|
-
return qi(Q, Ue,
|
|
2103
|
+
function ao(Q, Ue, rt) {
|
|
2104
|
+
return qi(Q, Ue, rt, !1);
|
|
2105
2105
|
}
|
|
2106
2106
|
var Ha = ao, oo = Ti;
|
|
2107
2107
|
Cy.Fragment = a, Cy.jsx = Ha, Cy.jsxs = oo;
|
|
@@ -2350,20 +2350,20 @@ function HB() {
|
|
|
2350
2350
|
}
|
|
2351
2351
|
function c(Ie, Tt, Lt) {
|
|
2352
2352
|
for (var un = Lt; un > 0; ) {
|
|
2353
|
-
var
|
|
2353
|
+
var Sn = un - 1 >>> 1, dn = Ie[Sn];
|
|
2354
2354
|
if (p(dn, Tt) > 0)
|
|
2355
|
-
Ie[
|
|
2355
|
+
Ie[Sn] = Tt, Ie[un] = dn, un = Sn;
|
|
2356
2356
|
else
|
|
2357
2357
|
return;
|
|
2358
2358
|
}
|
|
2359
2359
|
}
|
|
2360
2360
|
function h(Ie, Tt, Lt) {
|
|
2361
|
-
for (var un = Lt,
|
|
2362
|
-
var pn = (un + 1) * 2 - 1, Kn = Ie[pn], Jn = pn + 1,
|
|
2361
|
+
for (var un = Lt, Sn = Ie.length, dn = Sn >>> 1; un < dn; ) {
|
|
2362
|
+
var pn = (un + 1) * 2 - 1, Kn = Ie[pn], Jn = pn + 1, Dn = Ie[Jn];
|
|
2363
2363
|
if (p(Kn, Tt) < 0)
|
|
2364
|
-
Jn <
|
|
2365
|
-
else if (Jn <
|
|
2366
|
-
Ie[un] =
|
|
2364
|
+
Jn < Sn && p(Dn, Kn) < 0 ? (Ie[un] = Dn, Ie[Jn] = Tt, un = Jn) : (Ie[un] = Kn, Ie[pn] = Tt, un = pn);
|
|
2365
|
+
else if (Jn < Sn && p(Dn, Tt) < 0)
|
|
2366
|
+
Ie[un] = Dn, Ie[Jn] = Tt, un = Jn;
|
|
2367
2367
|
else
|
|
2368
2368
|
return;
|
|
2369
2369
|
}
|
|
@@ -2425,7 +2425,7 @@ function HB() {
|
|
|
2425
2425
|
var un = pe.callback;
|
|
2426
2426
|
if (typeof un == "function") {
|
|
2427
2427
|
pe.callback = null, _e = pe.priorityLevel;
|
|
2428
|
-
var
|
|
2428
|
+
var Sn = pe.expirationTime <= Lt, dn = un(Sn);
|
|
2429
2429
|
Lt = t.unstable_now(), typeof dn == "function" ? pe.callback = dn : pe === s(W) && l(W), te(Lt);
|
|
2430
2430
|
} else
|
|
2431
2431
|
l(W);
|
|
@@ -2488,12 +2488,12 @@ function HB() {
|
|
|
2488
2488
|
};
|
|
2489
2489
|
}
|
|
2490
2490
|
function mt(Ie, Tt, Lt) {
|
|
2491
|
-
var un = t.unstable_now(),
|
|
2491
|
+
var un = t.unstable_now(), Sn;
|
|
2492
2492
|
if (typeof Lt == "object" && Lt !== null) {
|
|
2493
2493
|
var dn = Lt.delay;
|
|
2494
|
-
typeof dn == "number" && dn > 0 ?
|
|
2494
|
+
typeof dn == "number" && dn > 0 ? Sn = un + dn : Sn = un;
|
|
2495
2495
|
} else
|
|
2496
|
-
|
|
2496
|
+
Sn = un;
|
|
2497
2497
|
var pn;
|
|
2498
2498
|
switch (Ie) {
|
|
2499
2499
|
case v:
|
|
@@ -2513,15 +2513,15 @@ function HB() {
|
|
|
2513
2513
|
pn = K;
|
|
2514
2514
|
break;
|
|
2515
2515
|
}
|
|
2516
|
-
var Kn =
|
|
2516
|
+
var Kn = Sn + pn, Jn = {
|
|
2517
2517
|
id: J++,
|
|
2518
2518
|
callback: Tt,
|
|
2519
2519
|
priorityLevel: Ie,
|
|
2520
|
-
startTime:
|
|
2520
|
+
startTime: Sn,
|
|
2521
2521
|
expirationTime: Kn,
|
|
2522
2522
|
sortIndex: -1
|
|
2523
2523
|
};
|
|
2524
|
-
return
|
|
2524
|
+
return Sn > un ? (Jn.sortIndex = Sn, a(oe, Jn), s(W) === null && Jn === s(oe) && (We ? gt() : We = !0, Ee(Te, Sn - un))) : (Jn.sortIndex = Kn, a(W, Jn), !qe && !$e && (qe = !0, ue(q))), Jn;
|
|
2525
2525
|
}
|
|
2526
2526
|
function zt() {
|
|
2527
2527
|
}
|
|
@@ -2537,7 +2537,7 @@ function HB() {
|
|
|
2537
2537
|
function Wn() {
|
|
2538
2538
|
return _e;
|
|
2539
2539
|
}
|
|
2540
|
-
var
|
|
2540
|
+
var _n = !1, xr = null, yr = -1, rr = r, X = -1;
|
|
2541
2541
|
function le() {
|
|
2542
2542
|
var Ie = t.unstable_now() - X;
|
|
2543
2543
|
return !(Ie < rr);
|
|
@@ -2559,10 +2559,10 @@ function HB() {
|
|
|
2559
2559
|
try {
|
|
2560
2560
|
Lt = xr(Tt, Ie);
|
|
2561
2561
|
} finally {
|
|
2562
|
-
Lt ? ke() : (
|
|
2562
|
+
Lt ? ke() : (_n = !1, xr = null);
|
|
2563
2563
|
}
|
|
2564
2564
|
} else
|
|
2565
|
-
|
|
2565
|
+
_n = !1;
|
|
2566
2566
|
}, ke;
|
|
2567
2567
|
if (typeof B == "function")
|
|
2568
2568
|
ke = function() {
|
|
@@ -2578,7 +2578,7 @@ function HB() {
|
|
|
2578
2578
|
se(Oe, 0);
|
|
2579
2579
|
};
|
|
2580
2580
|
function ue(Ie) {
|
|
2581
|
-
xr = Ie,
|
|
2581
|
+
xr = Ie, _n || (_n = !0, ke());
|
|
2582
2582
|
}
|
|
2583
2583
|
function Ee(Ie, Tt) {
|
|
2584
2584
|
yr = se(function() {
|
|
@@ -2937,7 +2937,7 @@ function $B() {
|
|
|
2937
2937
|
return u.body;
|
|
2938
2938
|
}
|
|
2939
2939
|
}
|
|
2940
|
-
function
|
|
2940
|
+
function _n(u, d) {
|
|
2941
2941
|
var g = d.checked;
|
|
2942
2942
|
return B({}, d, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: g ?? u._wrapperState.initialChecked });
|
|
2943
2943
|
}
|
|
@@ -3109,10 +3109,10 @@ function $B() {
|
|
|
3109
3109
|
g === "float" && (g = "cssFloat"), C ? u.setProperty(g, T) : u[g] = T;
|
|
3110
3110
|
}
|
|
3111
3111
|
}
|
|
3112
|
-
var
|
|
3112
|
+
var Sn = B({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
|
|
3113
3113
|
function dn(u, d) {
|
|
3114
3114
|
if (d) {
|
|
3115
|
-
if (
|
|
3115
|
+
if (Sn[u] && (d.children != null || d.dangerouslySetInnerHTML != null)) throw Error(n(137, u));
|
|
3116
3116
|
if (d.dangerouslySetInnerHTML != null) {
|
|
3117
3117
|
if (d.children != null) throw Error(n(60));
|
|
3118
3118
|
if (typeof d.dangerouslySetInnerHTML != "object" || !("__html" in d.dangerouslySetInnerHTML)) throw Error(n(61));
|
|
@@ -3140,12 +3140,12 @@ function $B() {
|
|
|
3140
3140
|
function Jn(u) {
|
|
3141
3141
|
return u = u.target || u.srcElement || window, u.correspondingUseElement && (u = u.correspondingUseElement), u.nodeType === 3 ? u.parentNode : u;
|
|
3142
3142
|
}
|
|
3143
|
-
var
|
|
3143
|
+
var Dn = null, In = null, Hi = null;
|
|
3144
3144
|
function va(u) {
|
|
3145
3145
|
if (u = yf(u)) {
|
|
3146
|
-
if (typeof
|
|
3146
|
+
if (typeof Dn != "function") throw Error(n(280));
|
|
3147
3147
|
var d = u.stateNode;
|
|
3148
|
-
d && (d = Us(d),
|
|
3148
|
+
d && (d = Us(d), Dn(u.stateNode, u.type, d));
|
|
3149
3149
|
}
|
|
3150
3150
|
}
|
|
3151
3151
|
function ya(u) {
|
|
@@ -3222,7 +3222,7 @@ function $B() {
|
|
|
3222
3222
|
function Ue(u, d, g, C, T, E, U, G, ne) {
|
|
3223
3223
|
Ti = !1, ao = null, qi.apply(Q, arguments);
|
|
3224
3224
|
}
|
|
3225
|
-
function
|
|
3225
|
+
function rt(u, d, g, C, T, E, U, G, ne) {
|
|
3226
3226
|
if (Ue.apply(this, arguments), Ti) {
|
|
3227
3227
|
if (Ti) {
|
|
3228
3228
|
var ve = ao;
|
|
@@ -3322,7 +3322,7 @@ function $B() {
|
|
|
3322
3322
|
}
|
|
3323
3323
|
return null;
|
|
3324
3324
|
}
|
|
3325
|
-
var Ve = e.unstable_scheduleCallback, st = e.unstable_cancelCallback, dt = e.unstable_shouldYield,
|
|
3325
|
+
var Ve = e.unstable_scheduleCallback, st = e.unstable_cancelCallback, dt = e.unstable_shouldYield, mn = e.unstable_requestPaint, tt = e.unstable_now, At = e.unstable_getCurrentPriorityLevel, Mt = e.unstable_ImmediatePriority, mi = e.unstable_UserBlockingPriority, ea = e.unstable_NormalPriority, so = e.unstable_LowPriority, ba = e.unstable_IdlePriority, _i = null, Or = null;
|
|
3326
3326
|
function pl(u) {
|
|
3327
3327
|
if (Or && typeof Or.onCommitFiberRoot == "function") try {
|
|
3328
3328
|
Or.onCommitFiberRoot(_i, u, void 0, (u.current.flags & 128) === 128);
|
|
@@ -4051,7 +4051,7 @@ function $B() {
|
|
|
4051
4051
|
var ff = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), I1 = new Set("cancel close invalid load scroll toggle".split(" ").concat(ff));
|
|
4052
4052
|
function Yh(u, d, g) {
|
|
4053
4053
|
var C = u.type || "unknown-event";
|
|
4054
|
-
u.currentTarget = g,
|
|
4054
|
+
u.currentTarget = g, rt(C, d, void 0, u), u.currentTarget = null;
|
|
4055
4055
|
}
|
|
4056
4056
|
function Kh(u, d) {
|
|
4057
4057
|
d = (d & 4) !== 0;
|
|
@@ -4409,20 +4409,20 @@ function $B() {
|
|
|
4409
4409
|
function Us(u) {
|
|
4410
4410
|
return u[vf] || null;
|
|
4411
4411
|
}
|
|
4412
|
-
var Nr = [],
|
|
4412
|
+
var Nr = [], kn = -1;
|
|
4413
4413
|
function xa(u) {
|
|
4414
4414
|
return { current: u };
|
|
4415
4415
|
}
|
|
4416
4416
|
function er(u) {
|
|
4417
|
-
0 >
|
|
4417
|
+
0 > kn || (u.current = Nr[kn], Nr[kn] = null, kn--);
|
|
4418
4418
|
}
|
|
4419
4419
|
function pr(u, d) {
|
|
4420
|
-
|
|
4420
|
+
kn++, Nr[kn] = u.current, u.current = d;
|
|
4421
4421
|
}
|
|
4422
|
-
var
|
|
4422
|
+
var gn = {}, Tr = xa(gn), Qr = xa(!1), mo = gn;
|
|
4423
4423
|
function $a(u, d) {
|
|
4424
4424
|
var g = u.type.contextTypes;
|
|
4425
|
-
if (!g) return
|
|
4425
|
+
if (!g) return gn;
|
|
4426
4426
|
var C = u.stateNode;
|
|
4427
4427
|
if (C && C.__reactInternalMemoizedUnmaskedChildContext === d) return C.__reactInternalMemoizedMaskedChildContext;
|
|
4428
4428
|
var T = {}, E;
|
|
@@ -4436,7 +4436,7 @@ function $B() {
|
|
|
4436
4436
|
er(Qr), er(Tr);
|
|
4437
4437
|
}
|
|
4438
4438
|
function np(u, d, g) {
|
|
4439
|
-
if (Tr.current !==
|
|
4439
|
+
if (Tr.current !== gn) throw Error(n(168));
|
|
4440
4440
|
pr(Tr, d), pr(Qr, g);
|
|
4441
4441
|
}
|
|
4442
4442
|
function gb(u, d, g) {
|
|
@@ -4447,7 +4447,7 @@ function $B() {
|
|
|
4447
4447
|
return B({}, g, C);
|
|
4448
4448
|
}
|
|
4449
4449
|
function _u(u) {
|
|
4450
|
-
return u = (u = u.stateNode) && u.__reactInternalMemoizedMergedChildContext ||
|
|
4450
|
+
return u = (u = u.stateNode) && u.__reactInternalMemoizedMergedChildContext || gn, mo = Tr.current, pr(Tr, u), pr(Qr, Qr.current), !0;
|
|
4451
4451
|
}
|
|
4452
4452
|
function Yi(u, d, g) {
|
|
4453
4453
|
var C = u.stateNode;
|
|
@@ -4856,7 +4856,7 @@ function $B() {
|
|
|
4856
4856
|
function Pl(u, d, g) {
|
|
4857
4857
|
var C = u.updateQueue;
|
|
4858
4858
|
if (C === null) return null;
|
|
4859
|
-
if (C = C.shared,
|
|
4859
|
+
if (C = C.shared, xn & 2) {
|
|
4860
4860
|
var T = C.pending;
|
|
4861
4861
|
return T === null ? d.next = d : (d.next = T.next, T.next = d), C.pending = d, ds(u, g);
|
|
4862
4862
|
}
|
|
@@ -5007,7 +5007,7 @@ function $B() {
|
|
|
5007
5007
|
for (var u = 0; u < Kg.length; u++) Kg[u]._workInProgressVersionPrimary = null;
|
|
5008
5008
|
Kg.length = 0;
|
|
5009
5009
|
}
|
|
5010
|
-
var jt = V.ReactCurrentDispatcher,
|
|
5010
|
+
var jt = V.ReactCurrentDispatcher, bn = V.ReactCurrentBatchConfig, Rn = 0, on = null, sr = null, oi = null, sp = !1, wf = !1, Ef = 0, Zg = 0;
|
|
5011
5011
|
function Me() {
|
|
5012
5012
|
throw Error(n(321));
|
|
5013
5013
|
}
|
|
@@ -5017,14 +5017,14 @@ function $B() {
|
|
|
5017
5017
|
return !0;
|
|
5018
5018
|
}
|
|
5019
5019
|
function qt(u, d, g, C, T, E) {
|
|
5020
|
-
if (
|
|
5020
|
+
if (Rn = E, on = d, d.memoizedState = null, d.updateQueue = null, d.lanes = 0, jt.current = u === null || u.memoizedState === null ? kp : xp, u = g(C, T), wf) {
|
|
5021
5021
|
E = 0;
|
|
5022
5022
|
do {
|
|
5023
5023
|
if (wf = !1, Ef = 0, 25 <= E) throw Error(n(301));
|
|
5024
5024
|
E += 1, oi = sr = null, d.updateQueue = null, jt.current = Of, u = g(C, T);
|
|
5025
5025
|
} while (wf);
|
|
5026
5026
|
}
|
|
5027
|
-
if (jt.current = nr, d = sr !== null && sr.next !== null,
|
|
5027
|
+
if (jt.current = nr, d = sr !== null && sr.next !== null, Rn = 0, oi = sr = on = null, sp = !1, d) throw Error(n(300));
|
|
5028
5028
|
return u;
|
|
5029
5029
|
}
|
|
5030
5030
|
function Dl() {
|
|
@@ -5068,7 +5068,7 @@ function $B() {
|
|
|
5068
5068
|
var G = U = null, ne = null, ve = E;
|
|
5069
5069
|
do {
|
|
5070
5070
|
var He = ve.lane;
|
|
5071
|
-
if ((
|
|
5071
|
+
if ((Rn & He) === He) ne !== null && (ne = ne.next = { lane: 0, action: ve.action, hasEagerState: ve.hasEagerState, eagerState: ve.eagerState, next: null }), C = ve.hasEagerState ? ve.eagerState : u(C, ve.action);
|
|
5072
5072
|
else {
|
|
5073
5073
|
var Ye = {
|
|
5074
5074
|
lane: He,
|
|
@@ -5112,7 +5112,7 @@ function $B() {
|
|
|
5112
5112
|
var g = on, C = yi(), T = d(), E = !zo(C.memoizedState, T);
|
|
5113
5113
|
if (E && (C.memoizedState = T, bi = !0), C = C.queue, Rf(dp.bind(null, g, C, u), [u]), C.getSnapshot !== d || E || oi !== null && oi.memoizedState.tag & 1) {
|
|
5114
5114
|
if (g.flags |= 2048, Au(9, cp.bind(null, g, C, T, d), void 0, null), ei === null) throw Error(n(349));
|
|
5115
|
-
|
|
5115
|
+
Rn & 30 || up(g, d, T);
|
|
5116
5116
|
}
|
|
5117
5117
|
return T;
|
|
5118
5118
|
}
|
|
@@ -5206,17 +5206,17 @@ function $B() {
|
|
|
5206
5206
|
return C !== null && d !== null && Jr(d, C[1]) ? C[0] : (u = u(), g.memoizedState = [u, d], u);
|
|
5207
5207
|
}
|
|
5208
5208
|
function Sp(u, d, g) {
|
|
5209
|
-
return
|
|
5209
|
+
return Rn & 21 ? (zo(g, d) || (g = hu(), on.lanes |= g, ju |= g, u.baseState = !0), d) : (u.baseState && (u.baseState = !1, bi = !0), u.memoizedState = g);
|
|
5210
5210
|
}
|
|
5211
5211
|
function _b(u, d) {
|
|
5212
5212
|
var g = An;
|
|
5213
5213
|
An = g !== 0 && 4 > g ? g : 4, u(!0);
|
|
5214
|
-
var C =
|
|
5215
|
-
|
|
5214
|
+
var C = bn.transition;
|
|
5215
|
+
bn.transition = {};
|
|
5216
5216
|
try {
|
|
5217
5217
|
u(!1), d();
|
|
5218
5218
|
} finally {
|
|
5219
|
-
An = g,
|
|
5219
|
+
An = g, bn.transition = C;
|
|
5220
5220
|
}
|
|
5221
5221
|
}
|
|
5222
5222
|
function Wc() {
|
|
@@ -5298,7 +5298,7 @@ function $B() {
|
|
|
5298
5298
|
g = g();
|
|
5299
5299
|
} else {
|
|
5300
5300
|
if (g = d(), ei === null) throw Error(n(349));
|
|
5301
|
-
|
|
5301
|
+
Rn & 30 || up(C, d, g);
|
|
5302
5302
|
}
|
|
5303
5303
|
T.memoizedState = g;
|
|
5304
5304
|
var E = { value: g, getSnapshot: d };
|
|
@@ -5381,8 +5381,8 @@ function $B() {
|
|
|
5381
5381
|
return u = u.stateNode, typeof u.shouldComponentUpdate == "function" ? u.shouldComponentUpdate(C, E, U) : d.prototype && d.prototype.isPureReactComponent ? !sf(g, C) || !sf(T, E) : !0;
|
|
5382
5382
|
}
|
|
5383
5383
|
function Pb(u, d, g) {
|
|
5384
|
-
var C = !1, T =
|
|
5385
|
-
return typeof E == "object" && E !== null ? E = tr(E) : (T = Lr(d) ? mo : Tr.current, C = d.contextTypes, E = (C = C != null) ? $a(u, T) :
|
|
5384
|
+
var C = !1, T = gn, E = d.contextType;
|
|
5385
|
+
return typeof E == "object" && E !== null ? E = tr(E) : (T = Lr(d) ? mo : Tr.current, C = d.contextTypes, E = (C = C != null) ? $a(u, T) : gn), d = new d(g, E), u.memoizedState = d.state !== null && d.state !== void 0 ? d.state : null, d.updater = Tp, u.stateNode = d, d._reactInternals = u, C && (u = u.stateNode, u.__reactInternalMemoizedUnmaskedChildContext = T, u.__reactInternalMemoizedMaskedChildContext = E), d;
|
|
5386
5386
|
}
|
|
5387
5387
|
function _p(u, d, g, C) {
|
|
5388
5388
|
u = d.state, typeof d.componentWillReceiveProps == "function" && d.componentWillReceiveProps(g, C), typeof d.UNSAFE_componentWillReceiveProps == "function" && d.UNSAFE_componentWillReceiveProps(g, C), d.state !== u && Tp.enqueueReplaceState(d, d.state, null);
|
|
@@ -5748,7 +5748,7 @@ Error generating stack: ` + E.message + `
|
|
|
5748
5748
|
var E = null;
|
|
5749
5749
|
switch (g) {
|
|
5750
5750
|
case "input":
|
|
5751
|
-
T =
|
|
5751
|
+
T = _n(u, T), C = _n(u, C), E = [];
|
|
5752
5752
|
break;
|
|
5753
5753
|
case "select":
|
|
5754
5754
|
T = B({}, T, { value: void 0 }), C = B({}, C, { value: void 0 }), E = [];
|
|
@@ -5924,7 +5924,7 @@ Error generating stack: ` + E.message + `
|
|
|
5924
5924
|
Qn("toggle", u), T = C;
|
|
5925
5925
|
break;
|
|
5926
5926
|
case "input":
|
|
5927
|
-
xr(u, C), T =
|
|
5927
|
+
xr(u, C), T = _n(u, C), Qn("invalid", u);
|
|
5928
5928
|
break;
|
|
5929
5929
|
case "option":
|
|
5930
5930
|
T = C;
|
|
@@ -6030,15 +6030,15 @@ Error generating stack: ` + E.message + `
|
|
|
6030
6030
|
}
|
|
6031
6031
|
u = u.sibling;
|
|
6032
6032
|
}
|
|
6033
|
-
E.tail !== null &&
|
|
6033
|
+
E.tail !== null && tt() > Xc && (d.flags |= 128, C = !0, If(E, !1), d.lanes = 4194304);
|
|
6034
6034
|
}
|
|
6035
6035
|
else {
|
|
6036
6036
|
if (!C) if (u = op(U), u !== null) {
|
|
6037
6037
|
if (d.flags |= 128, C = !0, g = u.updateQueue, g !== null && (d.updateQueue = g, d.flags |= 4), If(E, !0), E.tail === null && E.tailMode === "hidden" && !U.alternate && !br) return Zi(d), null;
|
|
6038
|
-
} else 2 *
|
|
6038
|
+
} else 2 * tt() - E.renderingStartTime > Xc && g !== 1073741824 && (d.flags |= 128, C = !0, If(E, !1), d.lanes = 4194304);
|
|
6039
6039
|
E.isBackwards ? (U.sibling = d.child, d.child = U) : (g = E.last, g !== null ? g.sibling = U : d.child = U, E.last = U);
|
|
6040
6040
|
}
|
|
6041
|
-
return E.tail !== null ? (d = E.tail, E.rendering = d, E.tail = d.sibling, E.renderingStartTime =
|
|
6041
|
+
return E.tail !== null ? (d = E.tail, E.rendering = d, E.tail = d.sibling, E.renderingStartTime = tt(), d.sibling = null, g = _r.current, pr(_r, C ? g & 1 | 2 : g & 1), d) : (Zi(d), null);
|
|
6042
6042
|
case 22:
|
|
6043
6043
|
case 23:
|
|
6044
6044
|
return cv(), C = d.memoizedState !== null, u !== null && u.memoizedState !== null !== C && (d.flags |= 8192), C && d.mode & 1 ? Ga & 1073741824 && (Zi(d), d.subtreeFlags & 6 && (d.flags |= 8192)) : Zi(d), null;
|
|
@@ -6417,7 +6417,7 @@ Error generating stack: ` + E.message + `
|
|
|
6417
6417
|
Wo(d, u), Go(u);
|
|
6418
6418
|
break;
|
|
6419
6419
|
case 13:
|
|
6420
|
-
Wo(d, u), Go(u), T = u.child, T.flags & 8192 && (E = T.memoizedState !== null, T.stateNode.isHidden = E, !E || T.alternate !== null && T.alternate.memoizedState !== null || (uv =
|
|
6420
|
+
Wo(d, u), Go(u), T = u.child, T.flags & 8192 && (E = T.memoizedState !== null, T.stateNode.isHidden = E, !E || T.alternate !== null && T.alternate.memoizedState !== null || (uv = tt())), C & 4 && Ub(u);
|
|
6421
6421
|
break;
|
|
6422
6422
|
case 22:
|
|
6423
6423
|
if (He = g !== null && g.memoizedState !== null, u.mode & 1 ? (Pi = (ve = Pi) || He, Wo(d, u), Pi = ve) : Wo(d, u), Go(u), C & 8192) {
|
|
@@ -6718,16 +6718,16 @@ Error generating stack: ` + E.message + `
|
|
|
6718
6718
|
Et = d.return;
|
|
6719
6719
|
}
|
|
6720
6720
|
}
|
|
6721
|
-
var zb = Math.ceil, Up = V.ReactCurrentDispatcher, Iu = V.ReactCurrentOwner, Qi = V.ReactCurrentBatchConfig,
|
|
6721
|
+
var zb = Math.ceil, Up = V.ReactCurrentDispatcher, Iu = V.ReactCurrentOwner, Qi = V.ReactCurrentBatchConfig, xn = 0, ei = null, zr = null, Di = 0, Ga = 0, Zc = xa(0), li = 0, Uu = null, ju = 0, Fu = 0, Vf = 0, Qc = null, Aa = null, uv = 0, Xc = 1 / 0, zs = null, Ll = !1, zf = null, bo = null, jp = !1, Il = null, Bf = 0, Jc = 0, ed = null, Vu = -1, Hf = 0;
|
|
6722
6722
|
function mr() {
|
|
6723
|
-
return
|
|
6723
|
+
return xn & 6 ? tt() : Vu !== -1 ? Vu : Vu = tt();
|
|
6724
6724
|
}
|
|
6725
6725
|
function Ya(u) {
|
|
6726
|
-
return u.mode & 1 ?
|
|
6726
|
+
return u.mode & 1 ? xn & 2 && Di !== 0 ? Di & -Di : Eu.transition !== null ? (Hf === 0 && (Hf = hu()), Hf) : (u = An, u !== 0 || (u = window.event, u = u === void 0 ? 16 : tf(u.type)), u) : 1;
|
|
6727
6727
|
}
|
|
6728
6728
|
function Ka(u, d, g, C) {
|
|
6729
6729
|
if (50 < Jc) throw Jc = 0, ed = null, Error(n(185));
|
|
6730
|
-
vl(u, g, C), (!(
|
|
6730
|
+
vl(u, g, C), (!(xn & 2) || u !== ei) && (u === ei && (!(xn & 2) && (Fu |= g), li === 4 && Ul(u, Di)), Ci(u, C), g === 1 && xn === 0 && !(d.mode & 1) && (Xc = tt() + 500, bf && ra()));
|
|
6731
6731
|
}
|
|
6732
6732
|
function Ci(u, d) {
|
|
6733
6733
|
var g = u.callbackNode;
|
|
@@ -6736,7 +6736,7 @@ Error generating stack: ` + E.message + `
|
|
|
6736
6736
|
if (C === 0) g !== null && st(g), u.callbackNode = null, u.callbackPriority = 0;
|
|
6737
6737
|
else if (d = C & -C, u.callbackPriority !== d) {
|
|
6738
6738
|
if (g != null && st(g), d === 1) u.tag === 0 ? Ng(Gf.bind(null, u)) : xl(Gf.bind(null, u)), j1(function() {
|
|
6739
|
-
!(
|
|
6739
|
+
!(xn & 6) && ra();
|
|
6740
6740
|
}), g = null;
|
|
6741
6741
|
else {
|
|
6742
6742
|
switch (ef(C)) {
|
|
@@ -6761,7 +6761,7 @@ Error generating stack: ` + E.message + `
|
|
|
6761
6761
|
}
|
|
6762
6762
|
}
|
|
6763
6763
|
function Bb(u, d) {
|
|
6764
|
-
if (Vu = -1, Hf = 0,
|
|
6764
|
+
if (Vu = -1, Hf = 0, xn & 6) throw Error(n(327));
|
|
6765
6765
|
var g = u.callbackNode;
|
|
6766
6766
|
if (td() && u.callbackNode !== g) return null;
|
|
6767
6767
|
var C = is(u, u === ei ? Di : 0);
|
|
@@ -6769,10 +6769,10 @@ Error generating stack: ` + E.message + `
|
|
|
6769
6769
|
if (C & 30 || C & u.expiredLanes || d) d = zp(u, C);
|
|
6770
6770
|
else {
|
|
6771
6771
|
d = C;
|
|
6772
|
-
var T =
|
|
6773
|
-
|
|
6772
|
+
var T = xn;
|
|
6773
|
+
xn |= 2;
|
|
6774
6774
|
var E = Hb();
|
|
6775
|
-
(ei !== u || Di !== d) && (zs = null, Xc =
|
|
6775
|
+
(ei !== u || Di !== d) && (zs = null, Xc = tt() + 500, Bu(u, d));
|
|
6776
6776
|
do
|
|
6777
6777
|
try {
|
|
6778
6778
|
$1();
|
|
@@ -6781,13 +6781,13 @@ Error generating stack: ` + E.message + `
|
|
|
6781
6781
|
Vp(u, G);
|
|
6782
6782
|
}
|
|
6783
6783
|
while (!0);
|
|
6784
|
-
zg(), Up.current = E,
|
|
6784
|
+
zg(), Up.current = E, xn = T, zr !== null ? d = 0 : (ei = null, Di = 0, d = li);
|
|
6785
6785
|
}
|
|
6786
6786
|
if (d !== 0) {
|
|
6787
|
-
if (d === 2 && (T = Ds(u), T !== 0 && (C = T, d = $f(u, T))), d === 1) throw g = Uu, Bu(u, 0), Ul(u, C), Ci(u,
|
|
6787
|
+
if (d === 2 && (T = Ds(u), T !== 0 && (C = T, d = $f(u, T))), d === 1) throw g = Uu, Bu(u, 0), Ul(u, C), Ci(u, tt()), g;
|
|
6788
6788
|
if (d === 6) Ul(u, C);
|
|
6789
6789
|
else {
|
|
6790
|
-
if (T = u.current.alternate, !(C & 30) && !Wf(T) && (d = zp(u, C), d === 2 && (E = Ds(u), E !== 0 && (C = E, d = $f(u, E))), d === 1)) throw g = Uu, Bu(u, 0), Ul(u, C), Ci(u,
|
|
6790
|
+
if (T = u.current.alternate, !(C & 30) && !Wf(T) && (d = zp(u, C), d === 2 && (E = Ds(u), E !== 0 && (C = E, d = $f(u, E))), d === 1)) throw g = Uu, Bu(u, 0), Ul(u, C), Ci(u, tt()), g;
|
|
6791
6791
|
switch (u.finishedWork = T, u.finishedLanes = C, d) {
|
|
6792
6792
|
case 0:
|
|
6793
6793
|
case 1:
|
|
@@ -6796,7 +6796,7 @@ Error generating stack: ` + E.message + `
|
|
|
6796
6796
|
Hu(u, Aa, zs);
|
|
6797
6797
|
break;
|
|
6798
6798
|
case 3:
|
|
6799
|
-
if (Ul(u, C), (C & 130023424) === C && (d = uv + 500 -
|
|
6799
|
+
if (Ul(u, C), (C & 130023424) === C && (d = uv + 500 - tt(), 10 < d)) {
|
|
6800
6800
|
if (is(u, 0) !== 0) break;
|
|
6801
6801
|
if (T = u.suspendedLanes, (T & C) !== C) {
|
|
6802
6802
|
mr(), u.pingedLanes |= u.suspendedLanes & T;
|
|
@@ -6813,7 +6813,7 @@ Error generating stack: ` + E.message + `
|
|
|
6813
6813
|
var U = 31 - ai(C);
|
|
6814
6814
|
E = 1 << U, U = d[U], U > T && (T = U), C &= ~E;
|
|
6815
6815
|
}
|
|
6816
|
-
if (C = T, C =
|
|
6816
|
+
if (C = T, C = tt() - C, C = (120 > C ? 120 : 480 > C ? 480 : 1080 > C ? 1080 : 1920 > C ? 1920 : 3e3 > C ? 3e3 : 4320 > C ? 4320 : 1960 * zb(C / 1960)) - C, 10 < C) {
|
|
6817
6817
|
u.timeoutHandle = Jh(Hu.bind(null, u, Aa, zs), C);
|
|
6818
6818
|
break;
|
|
6819
6819
|
}
|
|
@@ -6827,7 +6827,7 @@ Error generating stack: ` + E.message + `
|
|
|
6827
6827
|
}
|
|
6828
6828
|
}
|
|
6829
6829
|
}
|
|
6830
|
-
return Ci(u,
|
|
6830
|
+
return Ci(u, tt()), u.callbackNode === g ? Bb.bind(null, u) : null;
|
|
6831
6831
|
}
|
|
6832
6832
|
function $f(u, d) {
|
|
6833
6833
|
var g = Qc;
|
|
@@ -6869,37 +6869,37 @@ Error generating stack: ` + E.message + `
|
|
|
6869
6869
|
}
|
|
6870
6870
|
}
|
|
6871
6871
|
function Gf(u) {
|
|
6872
|
-
if (
|
|
6872
|
+
if (xn & 6) throw Error(n(327));
|
|
6873
6873
|
td();
|
|
6874
6874
|
var d = is(u, 0);
|
|
6875
|
-
if (!(d & 1)) return Ci(u,
|
|
6875
|
+
if (!(d & 1)) return Ci(u, tt()), null;
|
|
6876
6876
|
var g = zp(u, d);
|
|
6877
6877
|
if (u.tag !== 0 && g === 2) {
|
|
6878
6878
|
var C = Ds(u);
|
|
6879
6879
|
C !== 0 && (d = C, g = $f(u, C));
|
|
6880
6880
|
}
|
|
6881
|
-
if (g === 1) throw g = Uu, Bu(u, 0), Ul(u, d), Ci(u,
|
|
6881
|
+
if (g === 1) throw g = Uu, Bu(u, 0), Ul(u, d), Ci(u, tt()), g;
|
|
6882
6882
|
if (g === 6) throw Error(n(345));
|
|
6883
|
-
return u.finishedWork = u.current.alternate, u.finishedLanes = d, Hu(u, Aa, zs), Ci(u,
|
|
6883
|
+
return u.finishedWork = u.current.alternate, u.finishedLanes = d, Hu(u, Aa, zs), Ci(u, tt()), null;
|
|
6884
6884
|
}
|
|
6885
6885
|
function Fp(u, d) {
|
|
6886
|
-
var g =
|
|
6887
|
-
|
|
6886
|
+
var g = xn;
|
|
6887
|
+
xn |= 1;
|
|
6888
6888
|
try {
|
|
6889
6889
|
return u(d);
|
|
6890
6890
|
} finally {
|
|
6891
|
-
|
|
6891
|
+
xn = g, xn === 0 && (Xc = tt() + 500, bf && ra());
|
|
6892
6892
|
}
|
|
6893
6893
|
}
|
|
6894
6894
|
function zu(u) {
|
|
6895
|
-
Il !== null && Il.tag === 0 && !(
|
|
6896
|
-
var d =
|
|
6897
|
-
|
|
6895
|
+
Il !== null && Il.tag === 0 && !(xn & 6) && td();
|
|
6896
|
+
var d = xn;
|
|
6897
|
+
xn |= 1;
|
|
6898
6898
|
var g = Qi.transition, C = An;
|
|
6899
6899
|
try {
|
|
6900
6900
|
if (Qi.transition = null, An = 1, u) return u();
|
|
6901
6901
|
} finally {
|
|
6902
|
-
An = C, Qi.transition = g,
|
|
6902
|
+
An = C, Qi.transition = g, xn = d, !(xn & 6) && ra();
|
|
6903
6903
|
}
|
|
6904
6904
|
}
|
|
6905
6905
|
function cv() {
|
|
@@ -6963,7 +6963,7 @@ Error generating stack: ` + E.message + `
|
|
|
6963
6963
|
}
|
|
6964
6964
|
sp = !1;
|
|
6965
6965
|
}
|
|
6966
|
-
if (
|
|
6966
|
+
if (Rn = 0, oi = sr = on = null, wf = !1, Ef = 0, Iu.current = null, g === null || g.return === null) {
|
|
6967
6967
|
li = 1, Uu = d, zr = null;
|
|
6968
6968
|
break;
|
|
6969
6969
|
}
|
|
@@ -7035,8 +7035,8 @@ Error generating stack: ` + E.message + `
|
|
|
7035
7035
|
(li === 0 || li === 3 || li === 2) && (li = 4), ei === null || !(ju & 268435455) && !(Fu & 268435455) || Ul(ei, Di);
|
|
7036
7036
|
}
|
|
7037
7037
|
function zp(u, d) {
|
|
7038
|
-
var g =
|
|
7039
|
-
|
|
7038
|
+
var g = xn;
|
|
7039
|
+
xn |= 2;
|
|
7040
7040
|
var C = Hb();
|
|
7041
7041
|
(ei !== u || Di !== d) && (zs = null, Bu(u, d));
|
|
7042
7042
|
do
|
|
@@ -7047,7 +7047,7 @@ Error generating stack: ` + E.message + `
|
|
|
7047
7047
|
Vp(u, T);
|
|
7048
7048
|
}
|
|
7049
7049
|
while (!0);
|
|
7050
|
-
if (zg(),
|
|
7050
|
+
if (zg(), xn = g, Up.current = C, zr !== null) throw Error(n(261));
|
|
7051
7051
|
return ei = null, Di = 0, li;
|
|
7052
7052
|
}
|
|
7053
7053
|
function H1() {
|
|
@@ -7099,7 +7099,7 @@ Error generating stack: ` + E.message + `
|
|
|
7099
7099
|
do
|
|
7100
7100
|
td();
|
|
7101
7101
|
while (Il !== null);
|
|
7102
|
-
if (
|
|
7102
|
+
if (xn & 6) throw Error(n(327));
|
|
7103
7103
|
g = u.finishedWork;
|
|
7104
7104
|
var T = u.finishedLanes;
|
|
7105
7105
|
if (g === null) return null;
|
|
@@ -7112,10 +7112,10 @@ Error generating stack: ` + E.message + `
|
|
|
7112
7112
|
E = Qi.transition, Qi.transition = null;
|
|
7113
7113
|
var U = An;
|
|
7114
7114
|
An = 1;
|
|
7115
|
-
var G =
|
|
7116
|
-
|
|
7115
|
+
var G = xn;
|
|
7116
|
+
xn |= 4, Iu.current = null, B1(u, g), jb(g, u), ob(gf), yl = !!ku, gf = ku = null, u.current = g, jf(g), mn(), xn = G, An = U, Qi.transition = E;
|
|
7117
7117
|
} else u.current = g;
|
|
7118
|
-
if (jp && (jp = !1, Il = u, Bf = T), E = u.pendingLanes, E === 0 && (bo = null), pl(g.stateNode), Ci(u,
|
|
7118
|
+
if (jp && (jp = !1, Il = u, Bf = T), E = u.pendingLanes, E === 0 && (bo = null), pl(g.stateNode), Ci(u, tt()), d !== null) for (C = u.onRecoverableError, g = 0; g < d.length; g++) T = d[g], C(T.value, { componentStack: T.stack, digest: T.digest });
|
|
7119
7119
|
if (Ll) throw Ll = !1, u = zf, zf = null, u;
|
|
7120
7120
|
return Bf & 1 && u.tag !== 0 && td(), E = u.pendingLanes, E & 1 ? u === ed ? Jc++ : (Jc = 0, ed = u) : Jc = 0, ra(), null;
|
|
7121
7121
|
}
|
|
@@ -7125,9 +7125,9 @@ Error generating stack: ` + E.message + `
|
|
|
7125
7125
|
try {
|
|
7126
7126
|
if (Qi.transition = null, An = 16 > u ? 16 : u, Il === null) var C = !1;
|
|
7127
7127
|
else {
|
|
7128
|
-
if (u = Il, Il = null, Bf = 0,
|
|
7129
|
-
var T =
|
|
7130
|
-
for (
|
|
7128
|
+
if (u = Il, Il = null, Bf = 0, xn & 6) throw Error(n(331));
|
|
7129
|
+
var T = xn;
|
|
7130
|
+
for (xn |= 4, Et = u.current; Et !== null; ) {
|
|
7131
7131
|
var E = Et, U = E.child;
|
|
7132
7132
|
if (Et.flags & 16) {
|
|
7133
7133
|
var G = E.deletions;
|
|
@@ -7217,7 +7217,7 @@ Error generating stack: ` + E.message + `
|
|
|
7217
7217
|
Et = G.return;
|
|
7218
7218
|
}
|
|
7219
7219
|
}
|
|
7220
|
-
if (
|
|
7220
|
+
if (xn = T, ra(), Or && typeof Or.onPostCommitFiberRoot == "function") try {
|
|
7221
7221
|
Or.onPostCommitFiberRoot(_i, u);
|
|
7222
7222
|
} catch {
|
|
7223
7223
|
}
|
|
@@ -7251,7 +7251,7 @@ Error generating stack: ` + E.message + `
|
|
|
7251
7251
|
}
|
|
7252
7252
|
function hv(u, d, g) {
|
|
7253
7253
|
var C = u.pingCache;
|
|
7254
|
-
C !== null && C.delete(d), d = mr(), u.pingedLanes |= u.suspendedLanes & g, ei === u && (Di & g) === g && (li === 4 || li === 3 && (Di & 130023424) === Di && 500 >
|
|
7254
|
+
C !== null && C.delete(d), d = mr(), u.pingedLanes |= u.suspendedLanes & g, ei === u && (Di & g) === g && (li === 4 || li === 3 && (Di & 130023424) === Di && 500 > tt() - uv ? Bu(u, 0) : Vf |= g), Ci(u, d);
|
|
7255
7255
|
}
|
|
7256
7256
|
function Wb(u, d) {
|
|
7257
7257
|
d === 0 && (u.mode & 1 ? (d = ml, ml <<= 1, !(ml & 130023424) && (ml = 4194304)) : d = 1);
|
|
@@ -7514,7 +7514,7 @@ Error generating stack: ` + E.message + `
|
|
|
7514
7514
|
return { $$typeof: I, key: C == null ? null : "" + C, children: u, containerInfo: d, implementation: g };
|
|
7515
7515
|
}
|
|
7516
7516
|
function Zb(u) {
|
|
7517
|
-
if (!u) return
|
|
7517
|
+
if (!u) return gn;
|
|
7518
7518
|
u = u._reactInternals;
|
|
7519
7519
|
e: {
|
|
7520
7520
|
if (ot(u) !== u || u.tag !== 1) throw Error(n(170));
|
|
@@ -7653,7 +7653,7 @@ Error generating stack: ` + E.message + `
|
|
|
7653
7653
|
var d = u.stateNode;
|
|
7654
7654
|
if (d.current.memoizedState.isDehydrated) {
|
|
7655
7655
|
var g = Ca(d.pendingLanes);
|
|
7656
|
-
g !== 0 && (Jd(d, g | 1), Ci(d,
|
|
7656
|
+
g !== 0 && (Jd(d, g | 1), Ci(d, tt()), !(xn & 6) && (Xc = tt() + 500, ra()));
|
|
7657
7657
|
}
|
|
7658
7658
|
break;
|
|
7659
7659
|
case 13:
|
|
@@ -7692,7 +7692,7 @@ Error generating stack: ` + E.message + `
|
|
|
7692
7692
|
} finally {
|
|
7693
7693
|
An = g;
|
|
7694
7694
|
}
|
|
7695
|
-
},
|
|
7695
|
+
}, Dn = function(u, d, g) {
|
|
7696
7696
|
switch (d) {
|
|
7697
7697
|
case "input":
|
|
7698
7698
|
if (rr(u, g), d = g.name, g.type === "radio" && d != null) {
|
|
@@ -7826,7 +7826,7 @@ function qB() {
|
|
|
7826
7826
|
xt.add(o[m]);
|
|
7827
7827
|
}
|
|
7828
7828
|
var gr = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Wn = Object.prototype.hasOwnProperty;
|
|
7829
|
-
function
|
|
7829
|
+
function _n(i) {
|
|
7830
7830
|
{
|
|
7831
7831
|
var o = typeof Symbol == "function" && Symbol.toStringTag, f = o && i[Symbol.toStringTag] || i.constructor.name || "Object";
|
|
7832
7832
|
return f;
|
|
@@ -7844,30 +7844,30 @@ function qB() {
|
|
|
7844
7844
|
}
|
|
7845
7845
|
function rr(i, o) {
|
|
7846
7846
|
if (xr(i))
|
|
7847
|
-
return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", o,
|
|
7847
|
+
return c("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", o, _n(i)), yr(i);
|
|
7848
7848
|
}
|
|
7849
7849
|
function X(i) {
|
|
7850
7850
|
if (xr(i))
|
|
7851
|
-
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
7851
|
+
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _n(i)), yr(i);
|
|
7852
7852
|
}
|
|
7853
7853
|
function le(i, o) {
|
|
7854
7854
|
if (xr(i))
|
|
7855
|
-
return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", o,
|
|
7855
|
+
return c("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", o, _n(i)), yr(i);
|
|
7856
7856
|
}
|
|
7857
7857
|
function Ce(i, o) {
|
|
7858
7858
|
if (xr(i))
|
|
7859
|
-
return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", o,
|
|
7859
|
+
return c("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", o, _n(i)), yr(i);
|
|
7860
7860
|
}
|
|
7861
7861
|
function Ge(i) {
|
|
7862
7862
|
if (xr(i))
|
|
7863
|
-
return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
7863
|
+
return c("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", _n(i)), yr(i);
|
|
7864
7864
|
}
|
|
7865
7865
|
function Oe(i) {
|
|
7866
7866
|
if (xr(i))
|
|
7867
|
-
return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",
|
|
7867
|
+
return c("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.", _n(i)), yr(i);
|
|
7868
7868
|
}
|
|
7869
7869
|
var ke = 0, ut = 1, Ft = 2, ue = 3, Ee = 4, gt = 5, $t = 6, Qt = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Ie = Qt + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Tt = new RegExp("^[" + Qt + "][" + Ie + "]*$"), Lt = {}, un = {};
|
|
7870
|
-
function
|
|
7870
|
+
function Sn(i) {
|
|
7871
7871
|
return Wn.call(un, i) ? !0 : Wn.call(Lt, i) ? !1 : Tt.test(i) ? (un[i] = !0, !0) : (Lt[i] = !0, c("Invalid attribute name: `%s`", i), !1);
|
|
7872
7872
|
}
|
|
7873
7873
|
function dn(i, o, f) {
|
|
@@ -7913,7 +7913,7 @@ function qB() {
|
|
|
7913
7913
|
function Jn(i) {
|
|
7914
7914
|
return In.hasOwnProperty(i) ? In[i] : null;
|
|
7915
7915
|
}
|
|
7916
|
-
function
|
|
7916
|
+
function Dn(i, o, f, m, y, S, _) {
|
|
7917
7917
|
this.acceptsBooleans = o === Ft || o === ue || o === Ee, this.attributeName = m, this.attributeNamespace = y, this.mustUseProperty = f, this.propertyName = i, this.type = o, this.sanitizeURL = S, this.removeEmptyString = _;
|
|
7918
7918
|
}
|
|
7919
7919
|
var In = {}, Hi = [
|
|
@@ -7930,7 +7930,7 @@ function qB() {
|
|
|
7930
7930
|
"style"
|
|
7931
7931
|
];
|
|
7932
7932
|
Hi.forEach(function(i) {
|
|
7933
|
-
In[i] = new
|
|
7933
|
+
In[i] = new Dn(
|
|
7934
7934
|
i,
|
|
7935
7935
|
ke,
|
|
7936
7936
|
!1,
|
|
@@ -7945,7 +7945,7 @@ function qB() {
|
|
|
7945
7945
|
);
|
|
7946
7946
|
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(i) {
|
|
7947
7947
|
var o = i[0], f = i[1];
|
|
7948
|
-
In[o] = new
|
|
7948
|
+
In[o] = new Dn(
|
|
7949
7949
|
o,
|
|
7950
7950
|
ut,
|
|
7951
7951
|
!1,
|
|
@@ -7959,7 +7959,7 @@ function qB() {
|
|
|
7959
7959
|
!1
|
|
7960
7960
|
);
|
|
7961
7961
|
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(i) {
|
|
7962
|
-
In[i] = new
|
|
7962
|
+
In[i] = new Dn(
|
|
7963
7963
|
i,
|
|
7964
7964
|
Ft,
|
|
7965
7965
|
!1,
|
|
@@ -7973,7 +7973,7 @@ function qB() {
|
|
|
7973
7973
|
!1
|
|
7974
7974
|
);
|
|
7975
7975
|
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(i) {
|
|
7976
|
-
In[i] = new
|
|
7976
|
+
In[i] = new Dn(
|
|
7977
7977
|
i,
|
|
7978
7978
|
Ft,
|
|
7979
7979
|
!1,
|
|
@@ -8014,7 +8014,7 @@ function qB() {
|
|
|
8014
8014
|
// Microdata
|
|
8015
8015
|
"itemScope"
|
|
8016
8016
|
].forEach(function(i) {
|
|
8017
|
-
In[i] = new
|
|
8017
|
+
In[i] = new Dn(
|
|
8018
8018
|
i,
|
|
8019
8019
|
ue,
|
|
8020
8020
|
!1,
|
|
@@ -8038,7 +8038,7 @@ function qB() {
|
|
|
8038
8038
|
// you'll need to set attributeName to name.toLowerCase()
|
|
8039
8039
|
// instead in the assignment below.
|
|
8040
8040
|
].forEach(function(i) {
|
|
8041
|
-
In[i] = new
|
|
8041
|
+
In[i] = new Dn(
|
|
8042
8042
|
i,
|
|
8043
8043
|
ue,
|
|
8044
8044
|
!0,
|
|
@@ -8058,7 +8058,7 @@ function qB() {
|
|
|
8058
8058
|
// you'll need to set attributeName to name.toLowerCase()
|
|
8059
8059
|
// instead in the assignment below.
|
|
8060
8060
|
].forEach(function(i) {
|
|
8061
|
-
In[i] = new
|
|
8061
|
+
In[i] = new Dn(
|
|
8062
8062
|
i,
|
|
8063
8063
|
Ee,
|
|
8064
8064
|
!1,
|
|
@@ -8080,7 +8080,7 @@ function qB() {
|
|
|
8080
8080
|
// you'll need to set attributeName to name.toLowerCase()
|
|
8081
8081
|
// instead in the assignment below.
|
|
8082
8082
|
].forEach(function(i) {
|
|
8083
|
-
In[i] = new
|
|
8083
|
+
In[i] = new Dn(
|
|
8084
8084
|
i,
|
|
8085
8085
|
$t,
|
|
8086
8086
|
!1,
|
|
@@ -8094,7 +8094,7 @@ function qB() {
|
|
|
8094
8094
|
!1
|
|
8095
8095
|
);
|
|
8096
8096
|
}), ["rowSpan", "start"].forEach(function(i) {
|
|
8097
|
-
In[i] = new
|
|
8097
|
+
In[i] = new Dn(
|
|
8098
8098
|
i,
|
|
8099
8099
|
gt,
|
|
8100
8100
|
!1,
|
|
@@ -8190,7 +8190,7 @@ function qB() {
|
|
|
8190
8190
|
// instead in the assignment below.
|
|
8191
8191
|
].forEach(function(i) {
|
|
8192
8192
|
var o = i.replace(va, ya);
|
|
8193
|
-
In[o] = new
|
|
8193
|
+
In[o] = new Dn(
|
|
8194
8194
|
o,
|
|
8195
8195
|
ut,
|
|
8196
8196
|
!1,
|
|
@@ -8214,7 +8214,7 @@ function qB() {
|
|
|
8214
8214
|
// instead in the assignment below.
|
|
8215
8215
|
].forEach(function(i) {
|
|
8216
8216
|
var o = i.replace(va, ya);
|
|
8217
|
-
In[o] = new
|
|
8217
|
+
In[o] = new Dn(
|
|
8218
8218
|
o,
|
|
8219
8219
|
ut,
|
|
8220
8220
|
!1,
|
|
@@ -8234,7 +8234,7 @@ function qB() {
|
|
|
8234
8234
|
// instead in the assignment below.
|
|
8235
8235
|
].forEach(function(i) {
|
|
8236
8236
|
var o = i.replace(va, ya);
|
|
8237
|
-
In[o] = new
|
|
8237
|
+
In[o] = new Dn(
|
|
8238
8238
|
o,
|
|
8239
8239
|
ut,
|
|
8240
8240
|
!1,
|
|
@@ -8246,7 +8246,7 @@ function qB() {
|
|
|
8246
8246
|
!1
|
|
8247
8247
|
);
|
|
8248
8248
|
}), ["tabIndex", "crossOrigin"].forEach(function(i) {
|
|
8249
|
-
In[i] = new
|
|
8249
|
+
In[i] = new Dn(
|
|
8250
8250
|
i,
|
|
8251
8251
|
ut,
|
|
8252
8252
|
!1,
|
|
@@ -8261,7 +8261,7 @@ function qB() {
|
|
|
8261
8261
|
);
|
|
8262
8262
|
});
|
|
8263
8263
|
var jo = "xlinkHref";
|
|
8264
|
-
In[jo] = new
|
|
8264
|
+
In[jo] = new Dn(
|
|
8265
8265
|
"xlinkHref",
|
|
8266
8266
|
ut,
|
|
8267
8267
|
!1,
|
|
@@ -8272,7 +8272,7 @@ function qB() {
|
|
|
8272
8272
|
// sanitizeURL
|
|
8273
8273
|
!1
|
|
8274
8274
|
), ["src", "href", "action", "formAction"].forEach(function(i) {
|
|
8275
|
-
In[i] = new
|
|
8275
|
+
In[i] = new Dn(
|
|
8276
8276
|
i,
|
|
8277
8277
|
ut,
|
|
8278
8278
|
!1,
|
|
@@ -8314,7 +8314,7 @@ function qB() {
|
|
|
8314
8314
|
}
|
|
8315
8315
|
function Ba(i, o, f, m) {
|
|
8316
8316
|
{
|
|
8317
|
-
if (!
|
|
8317
|
+
if (!Sn(o))
|
|
8318
8318
|
return;
|
|
8319
8319
|
if (!i.hasAttribute(o))
|
|
8320
8320
|
return f === void 0 ? void 0 : null;
|
|
@@ -8326,7 +8326,7 @@ function qB() {
|
|
|
8326
8326
|
var y = Jn(o);
|
|
8327
8327
|
if (!dn(o, y, m)) {
|
|
8328
8328
|
if (Kn(o, f, y, m) && (f = null), m || y === null) {
|
|
8329
|
-
if (
|
|
8329
|
+
if (Sn(o)) {
|
|
8330
8330
|
var S = o;
|
|
8331
8331
|
f === null ? i.removeAttribute(S) : (rr(f, o), i.setAttribute(S, "" + f));
|
|
8332
8332
|
}
|
|
@@ -8351,11 +8351,11 @@ function qB() {
|
|
|
8351
8351
|
}
|
|
8352
8352
|
}
|
|
8353
8353
|
}
|
|
8354
|
-
var Kr = Symbol.for("react.element"), qi = Symbol.for("react.portal"), Ti = Symbol.for("react.fragment"), ao = Symbol.for("react.strict_mode"), Ha = Symbol.for("react.profiler"), oo = Symbol.for("react.provider"), Q = Symbol.for("react.context"), Ue = Symbol.for("react.forward_ref"),
|
|
8354
|
+
var Kr = Symbol.for("react.element"), qi = Symbol.for("react.portal"), Ti = Symbol.for("react.fragment"), ao = Symbol.for("react.strict_mode"), Ha = Symbol.for("react.profiler"), oo = Symbol.for("react.provider"), Q = Symbol.for("react.context"), Ue = Symbol.for("react.forward_ref"), rt = Symbol.for("react.suspense"), ot = Symbol.for("react.suspense_list"), cn = Symbol.for("react.memo"), Gt = Symbol.for("react.lazy"), fn = Symbol.for("react.scope"), be = Symbol.for("react.debug_trace_mode"), Re = Symbol.for("react.offscreen"), Ve = Symbol.for("react.legacy_hidden"), st = Symbol.for("react.cache"), dt = Symbol.for("react.tracing_marker"), mn = Symbol.iterator, tt = "@@iterator";
|
|
8355
8355
|
function At(i) {
|
|
8356
8356
|
if (i === null || typeof i != "object")
|
|
8357
8357
|
return null;
|
|
8358
|
-
var o =
|
|
8358
|
+
var o = mn && i[mn] || i[tt];
|
|
8359
8359
|
return typeof o == "function" ? o : null;
|
|
8360
8360
|
}
|
|
8361
8361
|
var Mt = Object.assign, mi = 0, ea, so, ba, _i, Or, pl, ai;
|
|
@@ -8528,7 +8528,7 @@ function qB() {
|
|
|
8528
8528
|
if (typeof i == "string")
|
|
8529
8529
|
return Ca(i);
|
|
8530
8530
|
switch (i) {
|
|
8531
|
-
case
|
|
8531
|
+
case rt:
|
|
8532
8532
|
return Ca("Suspense");
|
|
8533
8533
|
case ot:
|
|
8534
8534
|
return Ca("SuspenseList");
|
|
@@ -8610,7 +8610,7 @@ Error generating stack: ` + m.message + `
|
|
|
8610
8610
|
return "Profiler";
|
|
8611
8611
|
case ao:
|
|
8612
8612
|
return "StrictMode";
|
|
8613
|
-
case
|
|
8613
|
+
case rt:
|
|
8614
8614
|
return "Suspense";
|
|
8615
8615
|
case ot:
|
|
8616
8616
|
return "SuspenseList";
|
|
@@ -10100,16 +10100,16 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10100
10100
|
function Bt() {
|
|
10101
10101
|
ae = !0, Pe(), f.apply(m, ct), re = !1;
|
|
10102
10102
|
}
|
|
10103
|
-
var Nt, Nn = !1,
|
|
10103
|
+
var Nt, Nn = !1, wn = !1;
|
|
10104
10104
|
function de(fe) {
|
|
10105
|
-
if (Nt = fe.error, Nn = !0, Nt === null && fe.colno === 0 && fe.lineno === 0 && (
|
|
10105
|
+
if (Nt = fe.error, Nn = !0, Nt === null && fe.colno === 0 && fe.lineno === 0 && (wn = !0), fe.defaultPrevented && Nt != null && typeof Nt == "object")
|
|
10106
10106
|
try {
|
|
10107
10107
|
Nt._suppressLogging = !0;
|
|
10108
10108
|
} catch {
|
|
10109
10109
|
}
|
|
10110
10110
|
}
|
|
10111
10111
|
var De = "react-" + (o || "invokeguardedcallback");
|
|
10112
|
-
if (window.addEventListener("error", de), ep.addEventListener(De, Bt, !1), H.initEvent(De, !1, !1), ep.dispatchEvent(H), ye && Object.defineProperty(window, "event", ye), ae && re && (Nn ?
|
|
10112
|
+
if (window.addEventListener("error", de), ep.addEventListener(De, Bt, !1), H.initEvent(De, !1, !1), ep.dispatchEvent(H), ye && Object.defineProperty(window, "event", ye), ae && re && (Nn ? wn && (Nt = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : Nt = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(Nt)), window.removeEventListener("error", de), !ae)
|
|
10113
10113
|
return Pe(), Jh.apply(this, arguments);
|
|
10114
10114
|
};
|
|
10115
10115
|
}
|
|
@@ -10161,7 +10161,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10161
10161
|
), Nr = (
|
|
10162
10162
|
/* */
|
|
10163
10163
|
2
|
|
10164
|
-
),
|
|
10164
|
+
), kn = (
|
|
10165
10165
|
/* */
|
|
10166
10166
|
4
|
|
10167
10167
|
), xa = (
|
|
@@ -10173,7 +10173,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10173
10173
|
), pr = (
|
|
10174
10174
|
/* */
|
|
10175
10175
|
64
|
|
10176
|
-
),
|
|
10176
|
+
), gn = (
|
|
10177
10177
|
/* */
|
|
10178
10178
|
128
|
|
10179
10179
|
), Tr = (
|
|
@@ -10230,8 +10230,8 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10230
10230
|
), _l = (
|
|
10231
10231
|
// TODO: Remove Update flag from before mutation phase by re-landing Visibility
|
|
10232
10232
|
// flag logic (see #20043)
|
|
10233
|
-
|
|
10234
|
-
), jc = Nr |
|
|
10233
|
+
kn | mo | 0
|
|
10234
|
+
), jc = Nr | kn | xa | er | Qr | Lr | us, wl = kn | pr | Qr | us, wi = $a | xa, Xr = xl | Ng | Cf, wu = r.ReactCurrentOwner;
|
|
10235
10235
|
function ia(i) {
|
|
10236
10236
|
var o = i, f = i;
|
|
10237
10237
|
if (i.alternate)
|
|
@@ -10408,7 +10408,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10408
10408
|
function Bg(i, o) {
|
|
10409
10409
|
if (Ei && typeof Ei.onCommitFiberRoot == "function")
|
|
10410
10410
|
try {
|
|
10411
|
-
var f = (i.current.flags &
|
|
10411
|
+
var f = (i.current.flags & gn) === gn;
|
|
10412
10412
|
if (wt) {
|
|
10413
10413
|
var m;
|
|
10414
10414
|
switch (o) {
|
|
@@ -10545,10 +10545,10 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10545
10545
|
var jt = (
|
|
10546
10546
|
/* */
|
|
10547
10547
|
0
|
|
10548
|
-
),
|
|
10548
|
+
), bn = (
|
|
10549
10549
|
/* */
|
|
10550
10550
|
1
|
|
10551
|
-
),
|
|
10551
|
+
), Rn = (
|
|
10552
10552
|
/* */
|
|
10553
10553
|
2
|
|
10554
10554
|
), on = (
|
|
@@ -11263,7 +11263,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
11263
11263
|
lv(_), _.blockedOn === null && Vs.shift();
|
|
11264
11264
|
}
|
|
11265
11265
|
}
|
|
11266
|
-
var
|
|
11266
|
+
var xn = r.ReactCurrentBatchConfig, ei = !0;
|
|
11267
11267
|
function zr(i) {
|
|
11268
11268
|
ei = !!i;
|
|
11269
11269
|
}
|
|
@@ -11287,21 +11287,21 @@ Check the render method of \`` + i + "`." : "";
|
|
|
11287
11287
|
return y.bind(null, o, f, i);
|
|
11288
11288
|
}
|
|
11289
11289
|
function Zc(i, o, f, m) {
|
|
11290
|
-
var y = Wa(), S =
|
|
11291
|
-
|
|
11290
|
+
var y = Wa(), S = xn.transition;
|
|
11291
|
+
xn.transition = null;
|
|
11292
11292
|
try {
|
|
11293
11293
|
si(Da), Uu(i, o, f, m);
|
|
11294
11294
|
} finally {
|
|
11295
|
-
si(y),
|
|
11295
|
+
si(y), xn.transition = S;
|
|
11296
11296
|
}
|
|
11297
11297
|
}
|
|
11298
11298
|
function li(i, o, f, m) {
|
|
11299
|
-
var y = Wa(), S =
|
|
11300
|
-
|
|
11299
|
+
var y = Wa(), S = xn.transition;
|
|
11300
|
+
xn.transition = null;
|
|
11301
11301
|
try {
|
|
11302
11302
|
si(vo), Uu(i, o, f, m);
|
|
11303
11303
|
} finally {
|
|
11304
|
-
si(y),
|
|
11304
|
+
si(y), xn.transition = S;
|
|
11305
11305
|
}
|
|
11306
11306
|
}
|
|
11307
11307
|
function Uu(i, o, f, m) {
|
|
@@ -12008,12 +12008,12 @@ Check the render method of \`` + i + "`." : "";
|
|
|
12008
12008
|
if (re !== ge) {
|
|
12009
12009
|
var ct = Fp, Bt = "onMouseLeave", Nt = "onMouseEnter", Nn = "mouse";
|
|
12010
12010
|
(o === "pointerout" || o === "pointerover") && (ct = pv, Bt = "onPointerLeave", Nt = "onPointerEnter", Nn = "pointer");
|
|
12011
|
-
var
|
|
12012
|
-
De.target =
|
|
12011
|
+
var wn = re == null ? H : tm(re), de = ge == null ? H : tm(ge), De = new ct(Bt, Nn + "leave", re, m, y);
|
|
12012
|
+
De.target = wn, De.relatedTarget = de;
|
|
12013
12013
|
var fe = null, Ke = Xf(y);
|
|
12014
12014
|
if (Ke === f) {
|
|
12015
12015
|
var St = new ct(Nt, Nn + "enter", ge, m, y);
|
|
12016
|
-
St.target = de, St.relatedTarget =
|
|
12016
|
+
St.target = de, St.relatedTarget = wn, fe = St;
|
|
12017
12017
|
}
|
|
12018
12018
|
p6(i, De, fe, re, ge);
|
|
12019
12019
|
}
|
|
@@ -12873,8 +12873,8 @@ Check the render method of \`` + i + "`." : "";
|
|
|
12873
12873
|
if (ye === Tv) {
|
|
12874
12874
|
var Nt = i.innerHTML, Nn = Pe ? Pe[oC] : void 0;
|
|
12875
12875
|
if (Nn != null) {
|
|
12876
|
-
var
|
|
12877
|
-
|
|
12876
|
+
var wn = mD(i, Nn);
|
|
12877
|
+
wn !== Nt && _v(ye, Nt, wn);
|
|
12878
12878
|
}
|
|
12879
12879
|
} else if (ye === Qf) {
|
|
12880
12880
|
if (A.delete(ye), pD) {
|
|
@@ -13164,7 +13164,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13164
13164
|
};
|
|
13165
13165
|
}
|
|
13166
13166
|
}
|
|
13167
|
-
function
|
|
13167
|
+
function kle(i) {
|
|
13168
13168
|
return i;
|
|
13169
13169
|
}
|
|
13170
13170
|
function j6(i) {
|
|
@@ -13381,11 +13381,11 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13381
13381
|
var A = y;
|
|
13382
13382
|
P = A.namespace;
|
|
13383
13383
|
}
|
|
13384
|
-
var z = (S.mode &
|
|
13384
|
+
var z = (S.mode & bn) !== jt;
|
|
13385
13385
|
return E6(i, o, f, P, m, z, _);
|
|
13386
13386
|
}
|
|
13387
13387
|
function b8(i, o, f, m) {
|
|
13388
|
-
return Ov(f, i), f.mode &
|
|
13388
|
+
return Ov(f, i), f.mode & bn, R6(i, o);
|
|
13389
13389
|
}
|
|
13390
13390
|
function C8(i, o) {
|
|
13391
13391
|
Ov(o, i);
|
|
@@ -13745,8 +13745,8 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13745
13745
|
var z = S - S % 5, H = (1 << z) - 1, ae = (_ & H).toString(32), re = _ >> z, ge = S - z, ye = wC(o) + ge, Pe = P << ge, ct = Pe | re, Bt = ae + y;
|
|
13746
13746
|
Yu = 1 << ye | ct, Ku = Bt;
|
|
13747
13747
|
} else {
|
|
13748
|
-
var Nt = P << S, Nn = Nt | _,
|
|
13749
|
-
Yu = 1 << A | Nn, Ku =
|
|
13748
|
+
var Nt = P << S, Nn = Nt | _, wn = y;
|
|
13749
|
+
Yu = 1 << A | Nn, Ku = wn;
|
|
13750
13750
|
}
|
|
13751
13751
|
}
|
|
13752
13752
|
function Ex(i) {
|
|
@@ -13805,7 +13805,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13805
13805
|
break;
|
|
13806
13806
|
}
|
|
13807
13807
|
case w: {
|
|
13808
|
-
var f = (i.mode &
|
|
13808
|
+
var f = (i.mode & bn) !== jt;
|
|
13809
13809
|
P8(
|
|
13810
13810
|
i.type,
|
|
13811
13811
|
i.memoizedProps,
|
|
@@ -13853,7 +13853,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13853
13853
|
var S = i.type, _ = i.memoizedProps, P = i.stateNode;
|
|
13854
13854
|
switch (o.tag) {
|
|
13855
13855
|
case w: {
|
|
13856
|
-
var A = o.type, z = o.pendingProps, H = (i.mode &
|
|
13856
|
+
var A = o.type, z = o.pendingProps, H = (i.mode & bn) !== jt;
|
|
13857
13857
|
N8(
|
|
13858
13858
|
S,
|
|
13859
13859
|
_,
|
|
@@ -13866,7 +13866,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13866
13866
|
break;
|
|
13867
13867
|
}
|
|
13868
13868
|
case R: {
|
|
13869
|
-
var ae = o.pendingProps, re = (i.mode &
|
|
13869
|
+
var ae = o.pendingProps, re = (i.mode & bn) !== jt;
|
|
13870
13870
|
L8(
|
|
13871
13871
|
S,
|
|
13872
13872
|
_,
|
|
@@ -13933,7 +13933,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13933
13933
|
}
|
|
13934
13934
|
}
|
|
13935
13935
|
function Dx(i) {
|
|
13936
|
-
return (i.mode &
|
|
13936
|
+
return (i.mode & bn) !== jt && (i.flags & gn) === Ut;
|
|
13937
13937
|
}
|
|
13938
13938
|
function Ax(i) {
|
|
13939
13939
|
throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.");
|
|
@@ -13968,7 +13968,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13968
13968
|
if (y !== null)
|
|
13969
13969
|
switch (y.tag) {
|
|
13970
13970
|
case k: {
|
|
13971
|
-
var S = y.stateNode.containerInfo, _ = (y.mode &
|
|
13971
|
+
var S = y.stateNode.containerInfo, _ = (y.mode & bn) !== jt;
|
|
13972
13972
|
_8(
|
|
13973
13973
|
S,
|
|
13974
13974
|
o,
|
|
@@ -13979,7 +13979,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13979
13979
|
break;
|
|
13980
13980
|
}
|
|
13981
13981
|
case w: {
|
|
13982
|
-
var P = y.type, A = y.memoizedProps, z = y.stateNode, H = (y.mode &
|
|
13982
|
+
var P = y.type, A = y.memoizedProps, z = y.stateNode, H = (y.mode & bn) !== jt;
|
|
13983
13983
|
w8(
|
|
13984
13984
|
P,
|
|
13985
13985
|
A,
|
|
@@ -14613,7 +14613,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14613
14613
|
var an = N_(fe, de.mode, Ke);
|
|
14614
14614
|
return an.return = de, an;
|
|
14615
14615
|
}
|
|
14616
|
-
function
|
|
14616
|
+
function wn(de, De, fe, Ke) {
|
|
14617
14617
|
var St = typeof fe == "object" && fe !== null && fe.type === Ti && fe.key === null;
|
|
14618
14618
|
if (St && (fe = fe.props.children), typeof fe == "object" && fe !== null) {
|
|
14619
14619
|
switch (fe.$$typeof) {
|
|
@@ -14623,7 +14623,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14623
14623
|
return _(Nn(de, De, fe, Ke));
|
|
14624
14624
|
case Gt:
|
|
14625
14625
|
var pt = fe._payload, Kt = fe._init;
|
|
14626
|
-
return
|
|
14626
|
+
return wn(de, De, Kt(pt), Ke);
|
|
14627
14627
|
}
|
|
14628
14628
|
if (sn(fe))
|
|
14629
14629
|
return Pe(de, De, fe, Ke);
|
|
@@ -14633,7 +14633,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14633
14633
|
}
|
|
14634
14634
|
return typeof fe == "string" && fe !== "" || typeof fe == "number" ? _(Bt(de, De, "" + fe, Ke)) : (typeof fe == "function" && DC(de), f(de, De));
|
|
14635
14635
|
}
|
|
14636
|
-
return
|
|
14636
|
+
return wn;
|
|
14637
14637
|
}
|
|
14638
14638
|
var sm = qD(!0), WD = qD(!1);
|
|
14639
14639
|
function cV(i, o) {
|
|
@@ -14933,7 +14933,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14933
14933
|
return _;
|
|
14934
14934
|
}
|
|
14935
14935
|
case qx:
|
|
14936
|
-
i.flags = i.flags & ~Yi |
|
|
14936
|
+
i.flags = i.flags & ~Yi | gn;
|
|
14937
14937
|
case QD: {
|
|
14938
14938
|
var A = f.payload, z;
|
|
14939
14939
|
if (typeof A == "function") {
|
|
@@ -14975,11 +14975,11 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14975
14975
|
if (S !== null) {
|
|
14976
14976
|
var ge = y.baseState, ye = Me, Pe = null, ct = null, Bt = null, Nt = S;
|
|
14977
14977
|
do {
|
|
14978
|
-
var Nn = Nt.lane,
|
|
14978
|
+
var Nn = Nt.lane, wn = Nt.eventTime;
|
|
14979
14979
|
if (Nu(m, Nn)) {
|
|
14980
14980
|
if (Bt !== null) {
|
|
14981
14981
|
var De = {
|
|
14982
|
-
eventTime:
|
|
14982
|
+
eventTime: wn,
|
|
14983
14983
|
// This update is going to be committed so we never want uncommit
|
|
14984
14984
|
// it. Using NoLane works because 0 is a subset of all bitmasks, so
|
|
14985
14985
|
// this will never be skipped by the check above.
|
|
@@ -15002,7 +15002,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15002
15002
|
}
|
|
15003
15003
|
} else {
|
|
15004
15004
|
var de = {
|
|
15005
|
-
eventTime:
|
|
15005
|
+
eventTime: wn,
|
|
15006
15006
|
lane: Nn,
|
|
15007
15007
|
tag: Nt.tag,
|
|
15008
15008
|
payload: Nt.payload,
|
|
@@ -15114,7 +15114,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15114
15114
|
} else if (o.tag === J && // revealOrder undefined can't be trusted because it don't
|
|
15115
15115
|
// keep track of whether it suspended or not.
|
|
15116
15116
|
o.memoizedProps.revealOrder !== void 0) {
|
|
15117
|
-
var y = (o.flags &
|
|
15117
|
+
var y = (o.flags & gn) !== Ut;
|
|
15118
15118
|
if (y)
|
|
15119
15119
|
return o;
|
|
15120
15120
|
} else if (o.child !== null) {
|
|
@@ -15235,7 +15235,7 @@ Incoming: %s`, Le, "[" + o.join(", ") + "]", "[" + i.join(", ") + "]");
|
|
|
15235
15235
|
// need to mark fibers that commit in an incomplete state, somehow. For
|
|
15236
15236
|
// now I'll disable the warning that most of the bugs that would trigger
|
|
15237
15237
|
// it are either exclusive to concurrent mode or exist in both.
|
|
15238
|
-
(i.mode &
|
|
15238
|
+
(i.mode & bn) !== jt && c("Internal React error: Expected static flag was missing. Please notify the React team."), $C = !1, A)
|
|
15239
15239
|
throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");
|
|
15240
15240
|
return _;
|
|
15241
15241
|
}
|
|
@@ -15366,13 +15366,13 @@ Incoming: %s`, Le, "[" + o.join(", ") + "]", "[" + i.join(", ") + "]");
|
|
|
15366
15366
|
} while (Pe !== null && Pe !== H);
|
|
15367
15367
|
ye === null ? re = ae : ye.next = ge, ht(ae, m.memoizedState) || ty(), m.memoizedState = ae, m.baseState = re, m.baseQueue = ye, y.lastRenderedState = ae;
|
|
15368
15368
|
}
|
|
15369
|
-
var
|
|
15370
|
-
if (
|
|
15371
|
-
var de =
|
|
15369
|
+
var wn = y.interleaved;
|
|
15370
|
+
if (wn !== null) {
|
|
15371
|
+
var de = wn;
|
|
15372
15372
|
do {
|
|
15373
15373
|
var De = de.lane;
|
|
15374
15374
|
lr.lanes = ln(lr.lanes, De), hy(De), de = de.next;
|
|
15375
|
-
} while (de !==
|
|
15375
|
+
} while (de !== wn);
|
|
15376
15376
|
} else _ === null && (y.lanes = Me);
|
|
15377
15377
|
var fe = y.dispatch;
|
|
15378
15378
|
return [m.memoizedState, fe];
|
|
@@ -15394,9 +15394,9 @@ Incoming: %s`, Le, "[" + o.join(", ") + "]", "[" + i.join(", ") + "]");
|
|
|
15394
15394
|
}
|
|
15395
15395
|
return [P, S];
|
|
15396
15396
|
}
|
|
15397
|
-
function
|
|
15397
|
+
function xle(i, o, f) {
|
|
15398
15398
|
}
|
|
15399
|
-
function
|
|
15399
|
+
function Tle(i, o, f) {
|
|
15400
15400
|
}
|
|
15401
15401
|
function uT(i, o, f) {
|
|
15402
15402
|
var m = lr, y = ql(), S, _ = sa();
|
|
@@ -15557,17 +15557,17 @@ Incoming: %s`, Le, "[" + o.join(", ") + "]", "[" + i.join(", ") + "]");
|
|
|
15557
15557
|
return YC($a, la, i, o);
|
|
15558
15558
|
}
|
|
15559
15559
|
function hT(i, o) {
|
|
15560
|
-
return Yv(
|
|
15560
|
+
return Yv(kn, $l, i, o);
|
|
15561
15561
|
}
|
|
15562
15562
|
function ZC(i, o) {
|
|
15563
|
-
return YC(
|
|
15563
|
+
return YC(kn, $l, i, o);
|
|
15564
15564
|
}
|
|
15565
15565
|
function pT(i, o) {
|
|
15566
|
-
var f =
|
|
15566
|
+
var f = kn;
|
|
15567
15567
|
return f |= xl, (lr.mode & sr) !== jt && (f |= ra), Yv(f, Oi, i, o);
|
|
15568
15568
|
}
|
|
15569
15569
|
function QC(i, o) {
|
|
15570
|
-
return YC(
|
|
15570
|
+
return YC(kn, Oi, i, o);
|
|
15571
15571
|
}
|
|
15572
15572
|
function pA(i, o) {
|
|
15573
15573
|
if (typeof o == "function") {
|
|
@@ -15586,13 +15586,13 @@ Incoming: %s`, Le, "[" + o.join(", ") + "]", "[" + i.join(", ") + "]");
|
|
|
15586
15586
|
}
|
|
15587
15587
|
function mT(i, o, f) {
|
|
15588
15588
|
typeof o != "function" && c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", o !== null ? typeof o : "null");
|
|
15589
|
-
var m = f != null ? f.concat([i]) : null, y =
|
|
15589
|
+
var m = f != null ? f.concat([i]) : null, y = kn;
|
|
15590
15590
|
return y |= xl, (lr.mode & sr) !== jt && (y |= ra), Yv(y, Oi, pA.bind(null, o, i), m);
|
|
15591
15591
|
}
|
|
15592
15592
|
function XC(i, o, f) {
|
|
15593
15593
|
typeof o != "function" && c("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", o !== null ? typeof o : "null");
|
|
15594
15594
|
var m = f != null ? f.concat([i]) : null;
|
|
15595
|
-
return YC(
|
|
15595
|
+
return YC(kn, Oi, pA.bind(null, o, i), m);
|
|
15596
15596
|
}
|
|
15597
15597
|
function EV(i, o) {
|
|
15598
15598
|
}
|
|
@@ -16602,7 +16602,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ct, Bt, ge !== null ? `
|
|
|
16602
16602
|
y.state = i.memoizedState;
|
|
16603
16603
|
var A = o.getDerivedStateFromProps;
|
|
16604
16604
|
if (typeof A == "function" && (IT(i, o, A, f), y.state = i.memoizedState), typeof o.getDerivedStateFromProps != "function" && typeof y.getSnapshotBeforeUpdate != "function" && (typeof y.UNSAFE_componentWillMount == "function" || typeof y.componentWillMount == "function") && (IV(i, y), FC(i, f, y, m), y.state = i.memoizedState), typeof y.componentDidMount == "function") {
|
|
16605
|
-
var z =
|
|
16605
|
+
var z = kn;
|
|
16606
16606
|
z |= xl, (i.mode & sr) !== jt && (z |= ra), i.flags |= z;
|
|
16607
16607
|
}
|
|
16608
16608
|
}
|
|
@@ -16621,7 +16621,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ct, Bt, ge !== null ? `
|
|
|
16621
16621
|
var re = i.memoizedState, ge = y.state = re;
|
|
16622
16622
|
if (FC(i, f, y, m), ge = i.memoizedState, S === f && re === ge && !CC() && !VC()) {
|
|
16623
16623
|
if (typeof y.componentDidMount == "function") {
|
|
16624
|
-
var ye =
|
|
16624
|
+
var ye = kn;
|
|
16625
16625
|
ye |= xl, (i.mode & sr) !== jt && (ye |= ra), i.flags |= ye;
|
|
16626
16626
|
}
|
|
16627
16627
|
return !1;
|
|
@@ -16630,12 +16630,12 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ct, Bt, ge !== null ? `
|
|
|
16630
16630
|
var Pe = VC() || IA(i, o, S, f, re, ge, A);
|
|
16631
16631
|
if (Pe) {
|
|
16632
16632
|
if (!ae && (typeof y.UNSAFE_componentWillMount == "function" || typeof y.componentWillMount == "function") && (typeof y.componentWillMount == "function" && y.componentWillMount(), typeof y.UNSAFE_componentWillMount == "function" && y.UNSAFE_componentWillMount()), typeof y.componentDidMount == "function") {
|
|
16633
|
-
var ct =
|
|
16633
|
+
var ct = kn;
|
|
16634
16634
|
ct |= xl, (i.mode & sr) !== jt && (ct |= ra), i.flags |= ct;
|
|
16635
16635
|
}
|
|
16636
16636
|
} else {
|
|
16637
16637
|
if (typeof y.componentDidMount == "function") {
|
|
16638
|
-
var Bt =
|
|
16638
|
+
var Bt = kn;
|
|
16639
16639
|
Bt |= xl, (i.mode & sr) !== jt && (Bt |= ra), i.flags |= Bt;
|
|
16640
16640
|
}
|
|
16641
16641
|
i.memoizedProps = f, i.memoizedState = ge;
|
|
@@ -16658,14 +16658,14 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ct, Bt, ge !== null ? `
|
|
|
16658
16658
|
!ye && (typeof S.UNSAFE_componentWillReceiveProps == "function" || typeof S.componentWillReceiveProps == "function") && (_ !== A || z !== ae) && FA(o, S, m, ae), eA();
|
|
16659
16659
|
var Pe = o.memoizedState, ct = S.state = Pe;
|
|
16660
16660
|
if (FC(o, m, S, y), ct = o.memoizedState, _ === A && Pe === ct && !CC() && !VC() && !B)
|
|
16661
|
-
return typeof S.componentDidUpdate == "function" && (_ !== i.memoizedProps || Pe !== i.memoizedState) && (o.flags |=
|
|
16661
|
+
return typeof S.componentDidUpdate == "function" && (_ !== i.memoizedProps || Pe !== i.memoizedState) && (o.flags |= kn), typeof S.getSnapshotBeforeUpdate == "function" && (_ !== i.memoizedProps || Pe !== i.memoizedState) && (o.flags |= mo), !1;
|
|
16662
16662
|
typeof ge == "function" && (IT(o, f, ge, m), ct = o.memoizedState);
|
|
16663
16663
|
var Bt = VC() || IA(o, f, P, m, Pe, ct, ae) || // TODO: In some cases, we'll end up checking if context has changed twice,
|
|
16664
16664
|
// both before and after `shouldComponentUpdate` has been called. Not ideal,
|
|
16665
16665
|
// but I'm loath to refactor this function. This only happens for memoized
|
|
16666
16666
|
// components so it's not that common.
|
|
16667
16667
|
B;
|
|
16668
|
-
return Bt ? (!ye && (typeof S.UNSAFE_componentWillUpdate == "function" || typeof S.componentWillUpdate == "function") && (typeof S.componentWillUpdate == "function" && S.componentWillUpdate(m, ct, ae), typeof S.UNSAFE_componentWillUpdate == "function" && S.UNSAFE_componentWillUpdate(m, ct, ae)), typeof S.componentDidUpdate == "function" && (o.flags |=
|
|
16668
|
+
return Bt ? (!ye && (typeof S.UNSAFE_componentWillUpdate == "function" || typeof S.componentWillUpdate == "function") && (typeof S.componentWillUpdate == "function" && S.componentWillUpdate(m, ct, ae), typeof S.UNSAFE_componentWillUpdate == "function" && S.UNSAFE_componentWillUpdate(m, ct, ae)), typeof S.componentDidUpdate == "function" && (o.flags |= kn), typeof S.getSnapshotBeforeUpdate == "function" && (o.flags |= mo)) : (typeof S.componentDidUpdate == "function" && (_ !== i.memoizedProps || Pe !== i.memoizedState) && (o.flags |= kn), typeof S.getSnapshotBeforeUpdate == "function" && (_ !== i.memoizedProps || Pe !== i.memoizedState) && (o.flags |= mo), o.memoizedProps = m, o.memoizedState = ct), S.props = m, S.state = ct, S.context = ae, Bt;
|
|
16669
16669
|
}
|
|
16670
16670
|
function sh(i, o) {
|
|
16671
16671
|
return {
|
|
@@ -16766,7 +16766,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16766
16766
|
}
|
|
16767
16767
|
function BV(i, o) {
|
|
16768
16768
|
var f = i.tag;
|
|
16769
|
-
if ((i.mode &
|
|
16769
|
+
if ((i.mode & bn) === jt && (f === p || f === V || f === Z)) {
|
|
16770
16770
|
var m = i.alternate;
|
|
16771
16771
|
m ? (i.updateQueue = m.updateQueue, i.memoizedState = m.memoizedState, i.lanes = m.lanes) : (i.updateQueue = null, i.memoizedState = null);
|
|
16772
16772
|
}
|
|
@@ -16781,11 +16781,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16781
16781
|
return null;
|
|
16782
16782
|
}
|
|
16783
16783
|
function HA(i, o, f, m, y) {
|
|
16784
|
-
if ((i.mode &
|
|
16784
|
+
if ((i.mode & bn) === jt) {
|
|
16785
16785
|
if (i === o)
|
|
16786
16786
|
i.flags |= Yi;
|
|
16787
16787
|
else {
|
|
16788
|
-
if (i.flags |=
|
|
16788
|
+
if (i.flags |= gn, f.flags |= Ho, f.flags &= -52805, f.tag === v) {
|
|
16789
16789
|
var S = f.alternate;
|
|
16790
16790
|
if (S === null)
|
|
16791
16791
|
f.tag = W;
|
|
@@ -16803,10 +16803,10 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16803
16803
|
function HV(i, o, f, m, y) {
|
|
16804
16804
|
if (f.flags |= _u, Ki && py(i, y), m !== null && typeof m == "object" && typeof m.then == "function") {
|
|
16805
16805
|
var S = m;
|
|
16806
|
-
BV(f), sa() && f.mode &
|
|
16806
|
+
BV(f), sa() && f.mode & bn && ND();
|
|
16807
16807
|
var _ = BA(o);
|
|
16808
16808
|
if (_ !== null) {
|
|
16809
|
-
_.flags &= ~Tr, HA(_, o, f, i, y), _.mode &
|
|
16809
|
+
_.flags &= ~Tr, HA(_, o, f, i, y), _.mode & bn && zA(i, S, y), zV(_, i, S);
|
|
16810
16810
|
return;
|
|
16811
16811
|
} else {
|
|
16812
16812
|
if (!Xg(y)) {
|
|
@@ -16816,7 +16816,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16816
16816
|
var P = new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");
|
|
16817
16817
|
m = P;
|
|
16818
16818
|
}
|
|
16819
|
-
} else if (sa() && f.mode &
|
|
16819
|
+
} else if (sa() && f.mode & bn) {
|
|
16820
16820
|
ND();
|
|
16821
16821
|
var A = BA(o);
|
|
16822
16822
|
if (A !== null) {
|
|
@@ -16839,7 +16839,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16839
16839
|
}
|
|
16840
16840
|
case v:
|
|
16841
16841
|
var ge = m, ye = z.type, Pe = z.stateNode;
|
|
16842
|
-
if ((z.flags &
|
|
16842
|
+
if ((z.flags & gn) === Ut && (typeof ye.getDerivedStateFromError == "function" || Pe !== null && typeof Pe.componentDidCatch == "function" && !BO(Pe))) {
|
|
16843
16843
|
z.flags |= Yi;
|
|
16844
16844
|
var ct = bi(y);
|
|
16845
16845
|
z.lanes = ln(z.lanes, ct);
|
|
@@ -16966,7 +16966,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16966
16966
|
function GA(i, o, f) {
|
|
16967
16967
|
var m = o.pendingProps, y = m.children, S = i !== null ? i.memoizedState : null;
|
|
16968
16968
|
if (m.mode === "hidden" || te)
|
|
16969
|
-
if ((o.mode &
|
|
16969
|
+
if ((o.mode & bn) === jt) {
|
|
16970
16970
|
var _ = {
|
|
16971
16971
|
baseLanes: Me,
|
|
16972
16972
|
cachePool: null,
|
|
@@ -17013,7 +17013,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17013
17013
|
}
|
|
17014
17014
|
function YV(i, o, f) {
|
|
17015
17015
|
{
|
|
17016
|
-
o.flags |=
|
|
17016
|
+
o.flags |= kn;
|
|
17017
17017
|
{
|
|
17018
17018
|
var m = o.stateNode;
|
|
17019
17019
|
m.effectDuration = 0, m.passiveEffectDuration = 0;
|
|
@@ -17066,7 +17066,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17066
17066
|
break;
|
|
17067
17067
|
}
|
|
17068
17068
|
case !0: {
|
|
17069
|
-
o.flags |=
|
|
17069
|
+
o.flags |= gn, o.flags |= Yi;
|
|
17070
17070
|
var z = new Error("Simulated error coming from DevTools"), H = bi(y);
|
|
17071
17071
|
o.lanes = ln(o.lanes, H);
|
|
17072
17072
|
var ae = zT(o, sh(z, o), H);
|
|
@@ -17098,7 +17098,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17098
17098
|
}
|
|
17099
17099
|
function YT(i, o, f, m, y, S) {
|
|
17100
17100
|
YA(i, o);
|
|
17101
|
-
var _ = (o.flags &
|
|
17101
|
+
var _ = (o.flags & gn) !== Ut;
|
|
17102
17102
|
if (!m && !_)
|
|
17103
17103
|
return y && DD(o, f, !1), Qu(i, o, S);
|
|
17104
17104
|
var P = o.stateNode;
|
|
@@ -17317,9 +17317,9 @@ Check the render method of \`` + m + "`.");
|
|
|
17317
17317
|
}
|
|
17318
17318
|
function XA(i, o, f) {
|
|
17319
17319
|
var m = o.pendingProps;
|
|
17320
|
-
fB(o) && (o.flags |=
|
|
17321
|
-
var y = qs.current, S = !1, _ = (o.flags &
|
|
17322
|
-
if (_ || nz(y, i) ? (S = !0, o.flags &= ~
|
|
17320
|
+
fB(o) && (o.flags |= gn);
|
|
17321
|
+
var y = qs.current, S = !1, _ = (o.flags & gn) !== Ut;
|
|
17322
|
+
if (_ || nz(y, i) ? (S = !0, o.flags &= ~gn) : (i === null || i.memoizedState !== null) && (y = SV(y, aA)), y = dm(y), fd(o, y), i === null) {
|
|
17323
17323
|
Ox(o);
|
|
17324
17324
|
var P = o.memoizedState;
|
|
17325
17325
|
if (P !== null) {
|
|
@@ -17344,7 +17344,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17344
17344
|
var Pe = m.fallback, ct = m.children, Bt = oz(i, o, ct, Pe, f), Nt = o.child, Nn = i.child.memoizedState;
|
|
17345
17345
|
return Nt.memoizedState = Nn === null ? QT(f) : tz(Nn, f), Nt.childLanes = rz(i, f), o.memoizedState = ZT, Bt;
|
|
17346
17346
|
} else {
|
|
17347
|
-
var
|
|
17347
|
+
var wn = m.children, de = az(i, o, wn, f);
|
|
17348
17348
|
return o.memoizedState = null, de;
|
|
17349
17349
|
}
|
|
17350
17350
|
}
|
|
@@ -17361,7 +17361,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17361
17361
|
mode: "hidden",
|
|
17362
17362
|
children: o
|
|
17363
17363
|
}, P, A;
|
|
17364
|
-
return (y &
|
|
17364
|
+
return (y & bn) === jt && S !== null ? (P = S, P.childLanes = Me, P.pendingProps = _, i.mode & Rn && (P.actualDuration = 0, P.actualStartTime = -1, P.selfBaseDuration = 0, P.treeBaseDuration = 0), A = Cd(f, y, m, null)) : (P = JT(_, y), A = Cd(f, y, m, null)), P.return = i, A.return = i, P.sibling = A, i.child = P, A;
|
|
17365
17365
|
}
|
|
17366
17366
|
function JT(i, o, f) {
|
|
17367
17367
|
return JO(i, o, Me, null);
|
|
@@ -17374,7 +17374,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17374
17374
|
mode: "visible",
|
|
17375
17375
|
children: f
|
|
17376
17376
|
});
|
|
17377
|
-
if ((o.mode &
|
|
17377
|
+
if ((o.mode & bn) === jt && (_.lanes = m), _.return = o, _.sibling = null, S !== null) {
|
|
17378
17378
|
var P = o.deletions;
|
|
17379
17379
|
P === null ? (o.deletions = [S], o.flags |= xa) : P.push(S);
|
|
17380
17380
|
}
|
|
@@ -17388,7 +17388,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17388
17388
|
if (
|
|
17389
17389
|
// In legacy mode, we commit the primary tree as if it successfully
|
|
17390
17390
|
// completed, even though it's in an inconsistent state.
|
|
17391
|
-
(S &
|
|
17391
|
+
(S & bn) === jt && // Make sure we're on the second pass, i.e. the primary child fragment was
|
|
17392
17392
|
// already cloned. In legacy mode, the only case where this isn't true is
|
|
17393
17393
|
// when DevTools forces us to display a fallback; we skip the first render
|
|
17394
17394
|
// pass entirely and go straight to rendering the fallback. (In Concurrent
|
|
@@ -17397,7 +17397,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17397
17397
|
o.child !== _
|
|
17398
17398
|
) {
|
|
17399
17399
|
var H = o.child;
|
|
17400
|
-
z = H, z.childLanes = Me, z.pendingProps = A, o.mode &
|
|
17400
|
+
z = H, z.childLanes = Me, z.pendingProps = A, o.mode & Rn && (z.actualDuration = 0, z.actualStartTime = -1, z.selfBaseDuration = _.selfBaseDuration, z.treeBaseDuration = _.treeBaseDuration), o.deletions = null;
|
|
17401
17401
|
} else
|
|
17402
17402
|
z = JA(_, A), z.subtreeFlags = _.subtreeFlags & Xr;
|
|
17403
17403
|
var ae;
|
|
@@ -17413,10 +17413,10 @@ Check the render method of \`` + m + "`.");
|
|
|
17413
17413
|
mode: "visible",
|
|
17414
17414
|
children: f
|
|
17415
17415
|
}, P = JT(_, S), A = Cd(m, S, y, null);
|
|
17416
|
-
return A.flags |= Nr, P.return = o, A.return = o, P.sibling = A, o.child = P, (o.mode &
|
|
17416
|
+
return A.flags |= Nr, P.return = o, A.return = o, P.sibling = A, o.child = P, (o.mode & bn) !== jt && sm(o, i.child, null, y), A;
|
|
17417
17417
|
}
|
|
17418
17418
|
function lz(i, o, f) {
|
|
17419
|
-
return (i.mode &
|
|
17419
|
+
return (i.mode & bn) === jt ? (c("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."), i.lanes = qt) : vx(o) ? i.lanes = yi : i.lanes = Ea, null;
|
|
17420
17420
|
}
|
|
17421
17421
|
function uz(i, o, f, m, y, S, _) {
|
|
17422
17422
|
if (f)
|
|
@@ -17426,12 +17426,12 @@ Check the render method of \`` + m + "`.");
|
|
|
17426
17426
|
return dS(i, o, _, de);
|
|
17427
17427
|
} else {
|
|
17428
17428
|
if (o.memoizedState !== null)
|
|
17429
|
-
return o.child = i.child, o.flags |=
|
|
17429
|
+
return o.child = i.child, o.flags |= gn, null;
|
|
17430
17430
|
var De = m.children, fe = m.fallback, Ke = sz(i, o, De, fe, _), St = o.child;
|
|
17431
17431
|
return St.memoizedState = QT(_), o.memoizedState = ZT, Ke;
|
|
17432
17432
|
}
|
|
17433
17433
|
else {
|
|
17434
|
-
if (Z8(), (o.mode &
|
|
17434
|
+
if (Z8(), (o.mode & bn) === jt)
|
|
17435
17435
|
return dS(
|
|
17436
17436
|
i,
|
|
17437
17437
|
o,
|
|
@@ -17467,13 +17467,13 @@ Check the render method of \`` + m + "`.");
|
|
|
17467
17467
|
var Bt = FT(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));
|
|
17468
17468
|
return dS(i, o, _, Bt);
|
|
17469
17469
|
} else if (kD(y)) {
|
|
17470
|
-
o.flags |=
|
|
17470
|
+
o.flags |= gn, o.child = i.child;
|
|
17471
17471
|
var Nt = N7.bind(null, i);
|
|
17472
17472
|
return p8(y, Nt), null;
|
|
17473
17473
|
} else {
|
|
17474
17474
|
J8(o, y, S.treeContext);
|
|
17475
|
-
var Nn = m.children,
|
|
17476
|
-
return
|
|
17475
|
+
var Nn = m.children, wn = XT(o, Nn);
|
|
17476
|
+
return wn.flags |= Lr, wn;
|
|
17477
17477
|
}
|
|
17478
17478
|
}
|
|
17479
17479
|
}
|
|
@@ -17581,12 +17581,12 @@ Check the render method of \`` + m + "`.");
|
|
|
17581
17581
|
fz(y), hz(S, y), pz(_, y), Za(i, o, _, f);
|
|
17582
17582
|
var P = qs.current, A = Xx(P, Hv);
|
|
17583
17583
|
if (A)
|
|
17584
|
-
P = Jx(P, Hv), o.flags |=
|
|
17584
|
+
P = Jx(P, Hv), o.flags |= gn;
|
|
17585
17585
|
else {
|
|
17586
|
-
var z = i !== null && (i.flags &
|
|
17586
|
+
var z = i !== null && (i.flags & gn) !== Ut;
|
|
17587
17587
|
z && cz(o, o.child, f), P = dm(P);
|
|
17588
17588
|
}
|
|
17589
|
-
if (fd(o, P), (o.mode &
|
|
17589
|
+
if (fd(o, P), (o.mode & bn) === jt)
|
|
17590
17590
|
o.memoizedState = null;
|
|
17591
17591
|
else
|
|
17592
17592
|
switch (y) {
|
|
@@ -17681,7 +17681,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17681
17681
|
Ys = !0;
|
|
17682
17682
|
}
|
|
17683
17683
|
function fS(i, o) {
|
|
17684
|
-
(o.mode &
|
|
17684
|
+
(o.mode & bn) === jt && i !== null && (i.alternate = null, o.alternate = null, o.flags |= Nr);
|
|
17685
17685
|
}
|
|
17686
17686
|
function Qu(i, o, f) {
|
|
17687
17687
|
return i !== null && (o.dependencies = i.dependencies), MA(), hy(o.lanes), Pa(f, o.childLanes) ? (cV(i, o), o.child) : null;
|
|
@@ -17734,7 +17734,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17734
17734
|
case L:
|
|
17735
17735
|
{
|
|
17736
17736
|
var _ = Pa(f, o.childLanes);
|
|
17737
|
-
_ && (o.flags |=
|
|
17737
|
+
_ && (o.flags |= kn);
|
|
17738
17738
|
{
|
|
17739
17739
|
var P = o.stateNode;
|
|
17740
17740
|
P.effectDuration = 0, P.passiveEffectDuration = 0;
|
|
@@ -17745,7 +17745,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17745
17745
|
var A = o.memoizedState;
|
|
17746
17746
|
if (A !== null) {
|
|
17747
17747
|
if (A.dehydrated !== null)
|
|
17748
|
-
return fd(o, dm(qs.current)), o.flags |=
|
|
17748
|
+
return fd(o, dm(qs.current)), o.flags |= gn, null;
|
|
17749
17749
|
var z = o.child, H = z.childLanes;
|
|
17750
17750
|
if (Pa(f, H))
|
|
17751
17751
|
return XA(i, o, f);
|
|
@@ -17757,11 +17757,11 @@ Check the render method of \`` + m + "`.");
|
|
|
17757
17757
|
break;
|
|
17758
17758
|
}
|
|
17759
17759
|
case J: {
|
|
17760
|
-
var re = (i.flags &
|
|
17760
|
+
var re = (i.flags & gn) !== Ut, ge = Pa(f, o.childLanes);
|
|
17761
17761
|
if (re) {
|
|
17762
17762
|
if (ge)
|
|
17763
17763
|
return nO(i, o, f);
|
|
17764
|
-
o.flags |=
|
|
17764
|
+
o.flags |= gn;
|
|
17765
17765
|
}
|
|
17766
17766
|
var ye = o.memoizedState;
|
|
17767
17767
|
if (ye !== null && (ye.rendering = null, ye.tail = null, ye.lastEffect = null), fd(o, qs.current), ge)
|
|
@@ -17786,7 +17786,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17786
17786
|
var S = t_(i, f);
|
|
17787
17787
|
if (!S && // If this is the second pass of an error or suspense boundary, there
|
|
17788
17788
|
// may not be work scheduled on `current`, so we check for this flag.
|
|
17789
|
-
(o.flags &
|
|
17789
|
+
(o.flags & gn) === Ut)
|
|
17790
17790
|
return Ys = !1, bz(i, o, f);
|
|
17791
17791
|
(i.flags & Ho) !== Ut ? Ys = !0 : Ys = !1;
|
|
17792
17792
|
}
|
|
@@ -17834,18 +17834,18 @@ Check the render method of \`` + m + "`.");
|
|
|
17834
17834
|
case j:
|
|
17835
17835
|
return vz(i, o, f);
|
|
17836
17836
|
case K: {
|
|
17837
|
-
var Nt = o.type, Nn = o.pendingProps,
|
|
17837
|
+
var Nt = o.type, Nn = o.pendingProps, wn = Gs(Nt, Nn);
|
|
17838
17838
|
if (o.type !== o.elementType) {
|
|
17839
17839
|
var de = Nt.propTypes;
|
|
17840
17840
|
de && Bs(
|
|
17841
17841
|
de,
|
|
17842
|
-
|
|
17842
|
+
wn,
|
|
17843
17843
|
// Resolved for outer only
|
|
17844
17844
|
"prop",
|
|
17845
17845
|
On(Nt)
|
|
17846
17846
|
);
|
|
17847
17847
|
}
|
|
17848
|
-
return
|
|
17848
|
+
return wn = Gs(Nt.type, wn), qA(i, o, Nt, wn, f);
|
|
17849
17849
|
}
|
|
17850
17850
|
case Z:
|
|
17851
17851
|
return WA(i, o, o.type, o.pendingProps, f);
|
|
@@ -17863,7 +17863,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17863
17863
|
throw new Error("Unknown unit of work tag (" + o.tag + "). This error is likely caused by a bug in React. Please file an issue.");
|
|
17864
17864
|
}
|
|
17865
17865
|
function vm(i) {
|
|
17866
|
-
i.flags |=
|
|
17866
|
+
i.flags |= kn;
|
|
17867
17867
|
}
|
|
17868
17868
|
function oO(i) {
|
|
17869
17869
|
i.flags |= Qr, i.flags |= Cf;
|
|
@@ -17918,7 +17918,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17918
17918
|
function ua(i) {
|
|
17919
17919
|
var o = i.alternate !== null && i.alternate.child === i.child, f = Me, m = Ut;
|
|
17920
17920
|
if (o) {
|
|
17921
|
-
if ((i.mode &
|
|
17921
|
+
if ((i.mode & Rn) !== jt) {
|
|
17922
17922
|
for (var A = i.selfBaseDuration, z = i.child; z !== null; )
|
|
17923
17923
|
f = ln(f, ln(z.lanes, z.childLanes)), m |= z.subtreeFlags & Xr, m |= z.flags & Xr, A += z.treeBaseDuration, z = z.sibling;
|
|
17924
17924
|
i.treeBaseDuration = A;
|
|
@@ -17927,7 +17927,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17927
17927
|
f = ln(f, ln(H.lanes, H.childLanes)), m |= H.subtreeFlags & Xr, m |= H.flags & Xr, H.return = i, H = H.sibling;
|
|
17928
17928
|
i.subtreeFlags |= m;
|
|
17929
17929
|
} else {
|
|
17930
|
-
if ((i.mode &
|
|
17930
|
+
if ((i.mode & Rn) !== jt) {
|
|
17931
17931
|
for (var y = i.actualDuration, S = i.selfBaseDuration, _ = i.child; _ !== null; )
|
|
17932
17932
|
f = ln(f, ln(_.lanes, _.childLanes)), m |= _.subtreeFlags, m |= _.flags, y += _.actualDuration, S += _.treeBaseDuration, _ = _.sibling;
|
|
17933
17933
|
i.actualDuration = y, i.treeBaseDuration = S;
|
|
@@ -17939,14 +17939,14 @@ Check the render method of \`` + m + "`.");
|
|
|
17939
17939
|
return i.childLanes = f, o;
|
|
17940
17940
|
}
|
|
17941
17941
|
function Cz(i, o, f) {
|
|
17942
|
-
if (iV() && (o.mode &
|
|
17942
|
+
if (iV() && (o.mode & bn) !== jt && (o.flags & gn) === Ut)
|
|
17943
17943
|
return VD(o), om(), o.flags |= Tr | _u | Yi, !1;
|
|
17944
17944
|
var m = EC(o);
|
|
17945
17945
|
if (f !== null && f.dehydrated !== null)
|
|
17946
17946
|
if (i === null) {
|
|
17947
17947
|
if (!m)
|
|
17948
17948
|
throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");
|
|
17949
|
-
if (nV(o), ua(o), (o.mode &
|
|
17949
|
+
if (nV(o), ua(o), (o.mode & Rn) !== jt) {
|
|
17950
17950
|
var y = f !== null;
|
|
17951
17951
|
if (y) {
|
|
17952
17952
|
var S = o.child;
|
|
@@ -17955,7 +17955,7 @@ Check the render method of \`` + m + "`.");
|
|
|
17955
17955
|
}
|
|
17956
17956
|
return !1;
|
|
17957
17957
|
} else {
|
|
17958
|
-
if (om(), (o.flags &
|
|
17958
|
+
if (om(), (o.flags & gn) === Ut && (o.memoizedState = null), o.flags |= kn, ua(o), (o.mode & Rn) !== jt) {
|
|
17959
17959
|
var _ = f !== null;
|
|
17960
17960
|
if (_) {
|
|
17961
17961
|
var P = o.child;
|
|
@@ -18043,18 +18043,18 @@ Check the render method of \`` + m + "`.");
|
|
|
18043
18043
|
if (!Nn)
|
|
18044
18044
|
return o.flags & Yi ? o : null;
|
|
18045
18045
|
}
|
|
18046
|
-
if ((o.flags &
|
|
18047
|
-
return o.lanes = f, (o.mode &
|
|
18048
|
-
var
|
|
18049
|
-
if (
|
|
18046
|
+
if ((o.flags & gn) !== Ut)
|
|
18047
|
+
return o.lanes = f, (o.mode & Rn) !== jt && wT(o), o;
|
|
18048
|
+
var wn = Nt !== null, de = i !== null && i.memoizedState !== null;
|
|
18049
|
+
if (wn !== de && wn) {
|
|
18050
18050
|
var De = o.child;
|
|
18051
|
-
if (De.flags |= us, (o.mode &
|
|
18051
|
+
if (De.flags |= us, (o.mode & bn) !== jt) {
|
|
18052
18052
|
var fe = i === null && (o.memoizedProps.unstable_avoidThisFallback !== !0 || !0);
|
|
18053
18053
|
fe || Xx(qs.current, aA) ? S7() : C_();
|
|
18054
18054
|
}
|
|
18055
18055
|
}
|
|
18056
18056
|
var Ke = o.updateQueue;
|
|
18057
|
-
if (Ke !== null && (o.flags |=
|
|
18057
|
+
if (Ke !== null && (o.flags |= kn), ua(o), (o.mode & Rn) !== jt && wn) {
|
|
18058
18058
|
var St = o.child;
|
|
18059
18059
|
St !== null && (o.treeBaseDuration -= St.treeBaseDuration);
|
|
18060
18060
|
}
|
|
@@ -18074,36 +18074,36 @@ Check the render method of \`` + m + "`.");
|
|
|
18074
18074
|
var an = o.memoizedState;
|
|
18075
18075
|
if (an === null)
|
|
18076
18076
|
return ua(o), null;
|
|
18077
|
-
var ur = (o.flags &
|
|
18077
|
+
var ur = (o.flags & gn) !== Ut, Vn = an.rendering;
|
|
18078
18078
|
if (Vn === null)
|
|
18079
18079
|
if (ur)
|
|
18080
18080
|
ny(an, !1);
|
|
18081
18081
|
else {
|
|
18082
|
-
var ci = x7() && (i === null || (i.flags &
|
|
18082
|
+
var ci = x7() && (i === null || (i.flags & gn) === Ut);
|
|
18083
18083
|
if (!ci)
|
|
18084
18084
|
for (var zn = o.child; zn !== null; ) {
|
|
18085
18085
|
var ti = HC(zn);
|
|
18086
18086
|
if (ti !== null) {
|
|
18087
|
-
ur = !0, o.flags |=
|
|
18087
|
+
ur = !0, o.flags |= gn, ny(an, !1);
|
|
18088
18088
|
var La = ti.updateQueue;
|
|
18089
|
-
return La !== null && (o.updateQueue = La, o.flags |=
|
|
18089
|
+
return La !== null && (o.updateQueue = La, o.flags |= kn), o.subtreeFlags = Ut, dV(o, f), fd(o, Jx(qs.current, Hv)), o.child;
|
|
18090
18090
|
}
|
|
18091
18091
|
zn = zn.sibling;
|
|
18092
18092
|
}
|
|
18093
|
-
an.tail !== null && Fr() > AO() && (o.flags |=
|
|
18093
|
+
an.tail !== null && Fr() > AO() && (o.flags |= gn, ur = !0, ny(an, !1), o.lanes = _b);
|
|
18094
18094
|
}
|
|
18095
18095
|
else {
|
|
18096
18096
|
if (!ur) {
|
|
18097
18097
|
var pa = HC(Vn);
|
|
18098
18098
|
if (pa !== null) {
|
|
18099
|
-
o.flags |=
|
|
18099
|
+
o.flags |= gn, ur = !0;
|
|
18100
18100
|
var Zo = pa.updateQueue;
|
|
18101
|
-
if (Zo !== null && (o.updateQueue = Zo, o.flags |=
|
|
18101
|
+
if (Zo !== null && (o.updateQueue = Zo, o.flags |= kn), ny(an, !0), an.tail === null && an.tailMode === "hidden" && !Vn.alternate && !sa())
|
|
18102
18102
|
return ua(o), null;
|
|
18103
18103
|
} else // The time it took to render last row is greater than the remaining
|
|
18104
18104
|
// time we have to render. So rendering one more row would likely
|
|
18105
18105
|
// exceed it.
|
|
18106
|
-
Fr() * 2 - an.renderingStartTime > AO() && f !== Ea && (o.flags |=
|
|
18106
|
+
Fr() * 2 - an.renderingStartTime > AO() && f !== Ea && (o.flags |= gn, ur = !0, ny(an, !1), o.lanes = _b);
|
|
18107
18107
|
}
|
|
18108
18108
|
if (an.isBackwards)
|
|
18109
18109
|
Vn.sibling = o.child, o.child = Vn;
|
|
@@ -18131,7 +18131,7 @@ Check the render method of \`` + m + "`.");
|
|
|
18131
18131
|
Ql !== _m && // LegacyHidden doesn't do any hiding — it only pre-renders.
|
|
18132
18132
|
!te && (o.flags |= us);
|
|
18133
18133
|
}
|
|
18134
|
-
return !_m || (o.mode &
|
|
18134
|
+
return !_m || (o.mode & bn) === jt ? ua(o) : Pa(Zl, Ea) && (ua(o), o.subtreeFlags & (Nr | kn) && (o.flags |= us)), null;
|
|
18135
18135
|
}
|
|
18136
18136
|
case qe:
|
|
18137
18137
|
return null;
|
|
@@ -18146,12 +18146,12 @@ Check the render method of \`` + m + "`.");
|
|
|
18146
18146
|
var m = o.type;
|
|
18147
18147
|
Hl(m) && SC(o);
|
|
18148
18148
|
var y = o.flags;
|
|
18149
|
-
return y & Yi ? (o.flags = y & ~Yi |
|
|
18149
|
+
return y & Yi ? (o.flags = y & ~Yi | gn, (o.mode & Rn) !== jt && wT(o), o) : null;
|
|
18150
18150
|
}
|
|
18151
18151
|
case k: {
|
|
18152
18152
|
o.stateNode, cm(o), Tx(o), tT();
|
|
18153
18153
|
var S = o.flags;
|
|
18154
|
-
return (S & Yi) !== Ut && (S &
|
|
18154
|
+
return (S & Yi) !== Ut && (S & gn) === Ut ? (o.flags = S & ~Yi | gn, o) : null;
|
|
18155
18155
|
}
|
|
18156
18156
|
case w:
|
|
18157
18157
|
return Qx(o), null;
|
|
@@ -18164,7 +18164,7 @@ Check the render method of \`` + m + "`.");
|
|
|
18164
18164
|
om();
|
|
18165
18165
|
}
|
|
18166
18166
|
var P = o.flags;
|
|
18167
|
-
return P & Yi ? (o.flags = P & ~Yi |
|
|
18167
|
+
return P & Yi ? (o.flags = P & ~Yi | gn, (o.mode & Rn) !== jt && wT(o), o) : null;
|
|
18168
18168
|
}
|
|
18169
18169
|
case J:
|
|
18170
18170
|
return fm(o), null;
|
|
@@ -18225,7 +18225,7 @@ Check the render method of \`` + m + "`.");
|
|
|
18225
18225
|
}), Mg();
|
|
18226
18226
|
}
|
|
18227
18227
|
var Tz = function(i, o) {
|
|
18228
|
-
if (o.props = i.memoizedProps, o.state = i.memoizedState, i.mode &
|
|
18228
|
+
if (o.props = i.memoizedProps, o.state = i.memoizedState, i.mode & Rn)
|
|
18229
18229
|
try {
|
|
18230
18230
|
Yl(), o.componentWillUnmount();
|
|
18231
18231
|
} finally {
|
|
@@ -18268,7 +18268,7 @@ Check the render method of \`` + m + "`.");
|
|
|
18268
18268
|
if (typeof f == "function") {
|
|
18269
18269
|
var m;
|
|
18270
18270
|
try {
|
|
18271
|
-
if (wt && kt && i.mode &
|
|
18271
|
+
if (wt && kt && i.mode & Rn)
|
|
18272
18272
|
try {
|
|
18273
18273
|
Yl(), m = f(null);
|
|
18274
18274
|
} finally {
|
|
@@ -18409,7 +18409,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18409
18409
|
}
|
|
18410
18410
|
}
|
|
18411
18411
|
function Dz(i, o) {
|
|
18412
|
-
if ((o.flags &
|
|
18412
|
+
if ((o.flags & kn) !== Ut)
|
|
18413
18413
|
switch (o.tag) {
|
|
18414
18414
|
case L: {
|
|
18415
18415
|
var f = o.stateNode.passiveEffectDuration, m = o.memoizedProps, y = m.id, S = m.onPostCommit, _ = AA(), P = o.alternate === null ? "mount" : "update";
|
|
@@ -18439,7 +18439,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18439
18439
|
case V:
|
|
18440
18440
|
case Z: {
|
|
18441
18441
|
if (!ca)
|
|
18442
|
-
if (f.mode &
|
|
18442
|
+
if (f.mode & Rn)
|
|
18443
18443
|
try {
|
|
18444
18444
|
Yl(), md(Oi | Ai, f);
|
|
18445
18445
|
} finally {
|
|
@@ -18451,9 +18451,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18451
18451
|
}
|
|
18452
18452
|
case v: {
|
|
18453
18453
|
var y = f.stateNode;
|
|
18454
|
-
if (f.flags &
|
|
18454
|
+
if (f.flags & kn && !ca)
|
|
18455
18455
|
if (o === null)
|
|
18456
|
-
if (f.type === f.elementType && !lh && (y.props !== f.memoizedProps && c("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", Jt(f) || "instance"), y.state !== f.memoizedState && c("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", Jt(f) || "instance")), f.mode &
|
|
18456
|
+
if (f.type === f.elementType && !lh && (y.props !== f.memoizedProps && c("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", Jt(f) || "instance"), y.state !== f.memoizedState && c("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", Jt(f) || "instance")), f.mode & Rn)
|
|
18457
18457
|
try {
|
|
18458
18458
|
Yl(), y.componentDidMount();
|
|
18459
18459
|
} finally {
|
|
@@ -18463,7 +18463,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18463
18463
|
y.componentDidMount();
|
|
18464
18464
|
else {
|
|
18465
18465
|
var S = f.elementType === f.type ? o.memoizedProps : Gs(f.type, o.memoizedProps), _ = o.memoizedState;
|
|
18466
|
-
if (f.type === f.elementType && !lh && (y.props !== f.memoizedProps && c("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", Jt(f) || "instance"), y.state !== f.memoizedState && c("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", Jt(f) || "instance")), f.mode &
|
|
18466
|
+
if (f.type === f.elementType && !lh && (y.props !== f.memoizedProps && c("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", Jt(f) || "instance"), y.state !== f.memoizedState && c("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", Jt(f) || "instance")), f.mode & Rn)
|
|
18467
18467
|
try {
|
|
18468
18468
|
Yl(), y.componentDidUpdate(S, _, y.__reactInternalSnapshotBeforeUpdate);
|
|
18469
18469
|
} finally {
|
|
@@ -18495,7 +18495,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18495
18495
|
}
|
|
18496
18496
|
case w: {
|
|
18497
18497
|
var H = f.stateNode;
|
|
18498
|
-
if (o === null && f.flags &
|
|
18498
|
+
if (o === null && f.flags & kn) {
|
|
18499
18499
|
var ae = f.type, re = f.memoizedProps;
|
|
18500
18500
|
K6(H, ae, re);
|
|
18501
18501
|
}
|
|
@@ -18515,8 +18515,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18515
18515
|
e: for (; Nn !== null; ) {
|
|
18516
18516
|
switch (Nn.tag) {
|
|
18517
18517
|
case k:
|
|
18518
|
-
var
|
|
18519
|
-
|
|
18518
|
+
var wn = Nn.stateNode;
|
|
18519
|
+
wn.effectDuration += ct;
|
|
18520
18520
|
break e;
|
|
18521
18521
|
case L:
|
|
18522
18522
|
var de = Nn.stateNode;
|
|
@@ -18550,7 +18550,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18550
18550
|
case p:
|
|
18551
18551
|
case V:
|
|
18552
18552
|
case Z: {
|
|
18553
|
-
if (i.mode &
|
|
18553
|
+
if (i.mode & Rn)
|
|
18554
18554
|
try {
|
|
18555
18555
|
Yl(), hO(i, i.return);
|
|
18556
18556
|
} finally {
|
|
@@ -18620,7 +18620,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18620
18620
|
}
|
|
18621
18621
|
if (typeof o == "function") {
|
|
18622
18622
|
var y;
|
|
18623
|
-
if (i.mode &
|
|
18623
|
+
if (i.mode & Rn)
|
|
18624
18624
|
try {
|
|
18625
18625
|
Yl(), y = o(m);
|
|
18626
18626
|
} finally {
|
|
@@ -18789,7 +18789,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18789
18789
|
var z = A.next, H = z;
|
|
18790
18790
|
do {
|
|
18791
18791
|
var ae = H, re = ae.destroy, ge = ae.tag;
|
|
18792
|
-
re !== void 0 && ((ge & $l) !== xo ? pS(f, o, re) : (ge & Oi) !== xo && (qg(f), f.mode &
|
|
18792
|
+
re !== void 0 && ((ge & $l) !== xo ? pS(f, o, re) : (ge & Oi) !== xo && (qg(f), f.mode & Rn ? (Yl(), pS(f, o, re), Gl(f)) : pS(f, o, re), zc())), H = H.next;
|
|
18793
18793
|
} while (H !== z);
|
|
18794
18794
|
}
|
|
18795
18795
|
}
|
|
@@ -18813,7 +18813,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18813
18813
|
case _e: {
|
|
18814
18814
|
if (
|
|
18815
18815
|
// TODO: Remove this dead flag
|
|
18816
|
-
f.mode &
|
|
18816
|
+
f.mode & bn
|
|
18817
18817
|
) {
|
|
18818
18818
|
var Pe = ca;
|
|
18819
18819
|
ca = Pe || f.memoizedState !== null, gd(i, o, f), ca = Pe;
|
|
@@ -18888,13 +18888,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18888
18888
|
case V:
|
|
18889
18889
|
case K:
|
|
18890
18890
|
case Z: {
|
|
18891
|
-
if (Qs(o, i), Kl(i), y &
|
|
18891
|
+
if (Qs(o, i), Kl(i), y & kn) {
|
|
18892
18892
|
try {
|
|
18893
18893
|
Ks($l | Ai, i, i.return), md($l | Ai, i);
|
|
18894
18894
|
} catch (Kt) {
|
|
18895
18895
|
Cr(i, i.return, Kt);
|
|
18896
18896
|
}
|
|
18897
|
-
if (i.mode &
|
|
18897
|
+
if (i.mode & Rn) {
|
|
18898
18898
|
try {
|
|
18899
18899
|
Yl(), Ks(Oi | Ai, i, i.return);
|
|
18900
18900
|
} catch (Kt) {
|
|
@@ -18925,7 +18925,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18925
18925
|
Cr(i, i.return, Kt);
|
|
18926
18926
|
}
|
|
18927
18927
|
}
|
|
18928
|
-
if (y &
|
|
18928
|
+
if (y & kn) {
|
|
18929
18929
|
var _ = i.stateNode;
|
|
18930
18930
|
if (_ != null) {
|
|
18931
18931
|
var P = i.memoizedProps, A = m !== null ? m.memoizedProps : P, z = i.type, H = i.updateQueue;
|
|
@@ -18941,7 +18941,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18941
18941
|
return;
|
|
18942
18942
|
}
|
|
18943
18943
|
case R: {
|
|
18944
|
-
if (Qs(o, i), Kl(i), y &
|
|
18944
|
+
if (Qs(o, i), Kl(i), y & kn) {
|
|
18945
18945
|
if (i.stateNode === null)
|
|
18946
18946
|
throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");
|
|
18947
18947
|
var ae = i.stateNode, re = i.memoizedProps, ge = m !== null ? m.memoizedProps : re;
|
|
@@ -18954,7 +18954,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18954
18954
|
return;
|
|
18955
18955
|
}
|
|
18956
18956
|
case k: {
|
|
18957
|
-
if (Qs(o, i), Kl(i), y &
|
|
18957
|
+
if (Qs(o, i), Kl(i), y & kn && m !== null) {
|
|
18958
18958
|
var ye = m.memoizedState;
|
|
18959
18959
|
if (ye.isDehydrated)
|
|
18960
18960
|
try {
|
|
@@ -18979,7 +18979,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18979
18979
|
Nn || C7();
|
|
18980
18980
|
}
|
|
18981
18981
|
}
|
|
18982
|
-
if (y &
|
|
18982
|
+
if (y & kn) {
|
|
18983
18983
|
try {
|
|
18984
18984
|
jz(i);
|
|
18985
18985
|
} catch (Kt) {
|
|
@@ -18990,18 +18990,18 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18990
18990
|
return;
|
|
18991
18991
|
}
|
|
18992
18992
|
case _e: {
|
|
18993
|
-
var
|
|
18993
|
+
var wn = m !== null && m.memoizedState !== null;
|
|
18994
18994
|
if (
|
|
18995
18995
|
// TODO: Remove this dead flag
|
|
18996
|
-
i.mode &
|
|
18996
|
+
i.mode & bn
|
|
18997
18997
|
) {
|
|
18998
18998
|
var de = ca;
|
|
18999
|
-
ca = de ||
|
|
18999
|
+
ca = de || wn, Qs(o, i), ca = de;
|
|
19000
19000
|
} else
|
|
19001
19001
|
Qs(o, i);
|
|
19002
19002
|
if (Kl(i), y & us) {
|
|
19003
19003
|
var De = i.stateNode, fe = i.memoizedState, Ke = fe !== null, St = i;
|
|
19004
|
-
if (De.isHidden = Ke, Ke && !
|
|
19004
|
+
if (De.isHidden = Ke, Ke && !wn && (St.mode & bn) !== jt) {
|
|
19005
19005
|
Dt = St;
|
|
19006
19006
|
for (var pt = St.child; pt !== null; )
|
|
19007
19007
|
Dt = pt, Bz(pt), pt = pt.sibling;
|
|
@@ -19011,7 +19011,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19011
19011
|
return;
|
|
19012
19012
|
}
|
|
19013
19013
|
case J: {
|
|
19014
|
-
Qs(o, i), Kl(i), y &
|
|
19014
|
+
Qs(o, i), Kl(i), y & kn && SO(i);
|
|
19015
19015
|
return;
|
|
19016
19016
|
}
|
|
19017
19017
|
case pe:
|
|
@@ -19038,7 +19038,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19038
19038
|
ym = f, bm = o, Dt = i, xO(i, o, f), ym = null, bm = null;
|
|
19039
19039
|
}
|
|
19040
19040
|
function xO(i, o, f) {
|
|
19041
|
-
for (var m = (i.mode &
|
|
19041
|
+
for (var m = (i.mode & bn) !== jt; Dt !== null; ) {
|
|
19042
19042
|
var y = Dt, S = y.child;
|
|
19043
19043
|
if (y.tag === _e && m) {
|
|
19044
19044
|
var _ = y.memoizedState !== null, P = _ || hS;
|
|
@@ -19095,7 +19095,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19095
19095
|
case V:
|
|
19096
19096
|
case K:
|
|
19097
19097
|
case Z: {
|
|
19098
|
-
if (o.mode &
|
|
19098
|
+
if (o.mode & Rn)
|
|
19099
19099
|
try {
|
|
19100
19100
|
Yl(), Ks(Oi, o, o.return);
|
|
19101
19101
|
} finally {
|
|
@@ -19214,7 +19214,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19214
19214
|
case p:
|
|
19215
19215
|
case V:
|
|
19216
19216
|
case Z: {
|
|
19217
|
-
if (o.mode &
|
|
19217
|
+
if (o.mode & Rn) {
|
|
19218
19218
|
_T();
|
|
19219
19219
|
try {
|
|
19220
19220
|
md(la | Ai, o);
|
|
@@ -19276,7 +19276,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19276
19276
|
case p:
|
|
19277
19277
|
case V:
|
|
19278
19278
|
case Z: {
|
|
19279
|
-
i.mode &
|
|
19279
|
+
i.mode & Rn ? (_T(), Ks(la | Ai, i, i.return), TT(i)) : Ks(la | Ai, i, i.return);
|
|
19280
19280
|
break;
|
|
19281
19281
|
}
|
|
19282
19282
|
}
|
|
@@ -19308,7 +19308,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19308
19308
|
case p:
|
|
19309
19309
|
case V:
|
|
19310
19310
|
case Z: {
|
|
19311
|
-
i.mode &
|
|
19311
|
+
i.mode & Rn ? (_T(), Ks(la, i, o), TT(i)) : Ks(la, i, o);
|
|
19312
19312
|
break;
|
|
19313
19313
|
}
|
|
19314
19314
|
}
|
|
@@ -19438,7 +19438,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19438
19438
|
}
|
|
19439
19439
|
function yd(i) {
|
|
19440
19440
|
var o = i.mode;
|
|
19441
|
-
if ((o &
|
|
19441
|
+
if ((o & bn) === jt)
|
|
19442
19442
|
return qt;
|
|
19443
19443
|
if ((Mn & ha) !== Li && Ii !== Me)
|
|
19444
19444
|
return bi(Ii);
|
|
@@ -19458,10 +19458,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19458
19458
|
}
|
|
19459
19459
|
function h7(i) {
|
|
19460
19460
|
var o = i.mode;
|
|
19461
|
-
return (o &
|
|
19461
|
+
return (o & bn) === jt ? qt : Ab();
|
|
19462
19462
|
}
|
|
19463
19463
|
function ji(i, o, f, m) {
|
|
19464
|
-
U7(), OO && c("useInsertionEffect must not schedule updates."), g_ && (bS = !0), Gc(i, f, m), (Mn & ha) !== Me && i === Qa ? V7(o) : (Ki && Mb(i, o, f), z7(o), i === Qa && ((Mn & ha) === Li && (sy = ln(sy, f)), Ui === ay && bd(i, Ii)), _o(i, m), f === qt && Mn === Li && (o.mode &
|
|
19464
|
+
U7(), OO && c("useInsertionEffect must not schedule updates."), g_ && (bS = !0), Gc(i, f, m), (Mn & ha) !== Me && i === Qa ? V7(o) : (Ki && Mb(i, o, f), z7(o), i === Qa && ((Mn & ha) === Li && (sy = ln(sy, f)), Ui === ay && bd(i, Ii)), _o(i, m), f === qt && Mn === Li && (o.mode & bn) === jt && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
|
|
19465
19465
|
!Xs.isBatchingLegacy && (uy(), OD()));
|
|
19466
19466
|
}
|
|
19467
19467
|
function p7(i, o, f) {
|
|
@@ -19743,7 +19743,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19743
19743
|
Ui = iy, oy = o, Hr = null;
|
|
19744
19744
|
return;
|
|
19745
19745
|
}
|
|
19746
|
-
if (wt && f.mode &
|
|
19746
|
+
if (wt && f.mode & Rn && lS(f, !0), Ct)
|
|
19747
19747
|
if (Rl(), o !== null && typeof o == "object" && typeof o.then == "function") {
|
|
19748
19748
|
var m = o;
|
|
19749
19749
|
xf(f, m, Ii);
|
|
@@ -19840,7 +19840,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19840
19840
|
var o = i.alternate;
|
|
19841
19841
|
ir(i);
|
|
19842
19842
|
var f;
|
|
19843
|
-
(i.mode &
|
|
19843
|
+
(i.mode & Rn) !== jt ? (xT(i), f = S_(o, i, Zl), lS(i, !0)) : f = S_(o, i, Zl), Mr(), i.memoizedProps = i.pendingProps, f === null ? zO(i) : Hr = f, l_.current = null;
|
|
19844
19844
|
}
|
|
19845
19845
|
function zO(i) {
|
|
19846
19846
|
var o = i;
|
|
@@ -19849,7 +19849,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19849
19849
|
if ((o.flags & _u) === Ut) {
|
|
19850
19850
|
ir(o);
|
|
19851
19851
|
var y = void 0;
|
|
19852
|
-
if ((o.mode &
|
|
19852
|
+
if ((o.mode & Rn) === jt ? y = cO(f, o, Zl) : (xT(o), y = cO(f, o, Zl), lS(o, !1)), Mr(), y !== null) {
|
|
19853
19853
|
Hr = y;
|
|
19854
19854
|
return;
|
|
19855
19855
|
}
|
|
@@ -19859,7 +19859,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19859
19859
|
S.flags &= gb, Hr = S;
|
|
19860
19860
|
return;
|
|
19861
19861
|
}
|
|
19862
|
-
if ((o.mode &
|
|
19862
|
+
if ((o.mode & Rn) !== jt) {
|
|
19863
19863
|
lS(o, !1);
|
|
19864
19864
|
for (var _ = o.actualDuration, P = o.child; P !== null; )
|
|
19865
19865
|
_ += P.actualDuration, P = P.sibling;
|
|
@@ -20068,7 +20068,7 @@ Error message:
|
|
|
20068
20068
|
var wS = null;
|
|
20069
20069
|
function WO(i) {
|
|
20070
20070
|
{
|
|
20071
|
-
if ((Mn & ha) !== Li || !(i.mode &
|
|
20071
|
+
if ((Mn & ha) !== Li || !(i.mode & bn))
|
|
20072
20072
|
return;
|
|
20073
20073
|
var o = i.tag;
|
|
20074
20074
|
if (o !== b && o !== k && o !== v && o !== p && o !== V && o !== K && o !== Z)
|
|
@@ -20098,7 +20098,7 @@ Error message:
|
|
|
20098
20098
|
} catch (S) {
|
|
20099
20099
|
if (Q8() || S !== null && typeof S == "object" && typeof S.then == "function")
|
|
20100
20100
|
throw S;
|
|
20101
|
-
if (MC(), sA(), dO(i, o), eM(o, m), o.mode &
|
|
20101
|
+
if (MC(), sA(), dO(i, o), eM(o, m), o.mode & Rn && xT(o), po(null, aO, null, i, o, f), Og()) {
|
|
20102
20102
|
var y = Mg();
|
|
20103
20103
|
typeof y == "object" && y !== null && y._suppressLogging && typeof S == "object" && S !== null && !S._suppressLogging && (S._suppressLogging = !0);
|
|
20104
20104
|
}
|
|
@@ -20152,7 +20152,7 @@ Error message:
|
|
|
20152
20152
|
}
|
|
20153
20153
|
function z7(i) {
|
|
20154
20154
|
{
|
|
20155
|
-
if (i.mode &
|
|
20155
|
+
if (i.mode & bn) {
|
|
20156
20156
|
if (!wO())
|
|
20157
20157
|
return;
|
|
20158
20158
|
} else if (!l7() || Mn !== Li || i.tag !== p && i.tag !== V && i.tag !== Z)
|
|
@@ -20452,7 +20452,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20452
20452
|
}
|
|
20453
20453
|
function J7(i, o, f) {
|
|
20454
20454
|
var m;
|
|
20455
|
-
return i === xC ? (m =
|
|
20455
|
+
return i === xC ? (m = bn, o === !0 && (m |= on, m |= sr)) : m = jt, Ki && (m |= Rn), Ko(k, null, null, m);
|
|
20456
20456
|
}
|
|
20457
20457
|
function A_(i, o, f, m, y, S) {
|
|
20458
20458
|
var _ = b, P = i;
|
|
@@ -20465,11 +20465,11 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20465
20465
|
case Ti:
|
|
20466
20466
|
return Cd(f.children, y, S, o);
|
|
20467
20467
|
case ao:
|
|
20468
|
-
_ = D, y |= on, (y &
|
|
20468
|
+
_ = D, y |= on, (y & bn) !== jt && (y |= sr);
|
|
20469
20469
|
break;
|
|
20470
20470
|
case Ha:
|
|
20471
20471
|
return eB(f, y, S, o);
|
|
20472
|
-
case
|
|
20472
|
+
case rt:
|
|
20473
20473
|
return tB(f, y, S, o);
|
|
20474
20474
|
case ot:
|
|
20475
20475
|
return nB(f, y, S, o);
|
|
@@ -20525,7 +20525,7 @@ Check the render method of \`` + z + "`.");
|
|
|
20525
20525
|
}
|
|
20526
20526
|
function eB(i, o, f, m) {
|
|
20527
20527
|
typeof i.id != "string" && c('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof i.id);
|
|
20528
|
-
var y = Ko(L, i, m, o |
|
|
20528
|
+
var y = Ko(L, i, m, o | Rn);
|
|
20529
20529
|
return y.elementType = Ha, y.lanes = f, y.stateNode = {
|
|
20530
20530
|
effectDuration: 0,
|
|
20531
20531
|
passiveEffectDuration: 0
|
|
@@ -20533,7 +20533,7 @@ Check the render method of \`` + z + "`.");
|
|
|
20533
20533
|
}
|
|
20534
20534
|
function tB(i, o, f, m) {
|
|
20535
20535
|
var y = Ko(I, i, m, o);
|
|
20536
|
-
return y.elementType =
|
|
20536
|
+
return y.elementType = rt, y.lanes = f, y;
|
|
20537
20537
|
}
|
|
20538
20538
|
function nB(i, o, f, m) {
|
|
20539
20539
|
var y = Ko(J, i, m, o);
|
|
@@ -27736,7 +27736,7 @@ function zH() {
|
|
|
27736
27736
|
return typeof window.RTCRtpSender < "u" && // @ts-ignore
|
|
27737
27737
|
typeof window.RTCRtpSender.prototype.createEncodedStreams < "u";
|
|
27738
27738
|
}
|
|
27739
|
-
class
|
|
27739
|
+
class wle extends du.EventEmitter {
|
|
27740
27740
|
constructor() {
|
|
27741
27741
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
27742
27742
|
super(), this.onKeyRatcheted = (n, r) => {
|
|
@@ -27844,10 +27844,10 @@ var je;
|
|
|
27844
27844
|
(function(t) {
|
|
27845
27845
|
t.TrackPublished = "trackPublished", t.TrackSubscribed = "trackSubscribed", t.TrackSubscriptionFailed = "trackSubscriptionFailed", t.TrackUnpublished = "trackUnpublished", t.TrackUnsubscribed = "trackUnsubscribed", t.TrackMuted = "trackMuted", t.TrackUnmuted = "trackUnmuted", t.LocalTrackPublished = "localTrackPublished", t.LocalTrackUnpublished = "localTrackUnpublished", t.ParticipantMetadataChanged = "participantMetadataChanged", t.ParticipantNameChanged = "participantNameChanged", t.DataReceived = "dataReceived", t.SipDTMFReceived = "sipDTMFReceived", t.TranscriptionReceived = "transcriptionReceived", t.IsSpeakingChanged = "isSpeakingChanged", t.ConnectionQualityChanged = "connectionQualityChanged", t.TrackStreamStateChanged = "trackStreamStateChanged", t.TrackSubscriptionPermissionChanged = "trackSubscriptionPermissionChanged", t.TrackSubscriptionStatusChanged = "trackSubscriptionStatusChanged", t.MediaDevicesError = "mediaDevicesError", t.AudioStreamAcquired = "audioStreamAcquired", t.ParticipantPermissionsChanged = "participantPermissionsChanged", t.PCTrackAdded = "pcTrackAdded", t.AttributesChanged = "attributesChanged", t.LocalTrackSubscribed = "localTrackSubscribed", t.ChatMessage = "chatMessage";
|
|
27846
27846
|
})(je || (je = {}));
|
|
27847
|
-
var
|
|
27847
|
+
var nt;
|
|
27848
27848
|
(function(t) {
|
|
27849
27849
|
t.TransportsCreated = "transportsCreated", t.Connected = "connected", t.Disconnected = "disconnected", t.Resuming = "resuming", t.Resumed = "resumed", t.Restarting = "restarting", t.Restarted = "restarted", t.SignalResumed = "signalResumed", t.SignalRestarted = "signalRestarted", t.Closing = "closing", t.MediaTrackAdded = "mediaTrackAdded", t.ActiveSpeakersUpdate = "activeSpeakersUpdate", t.DataPacketReceived = "dataPacketReceived", t.RTPVideoMapUpdate = "rtpVideoMapUpdate", t.DCBufferStatusChanged = "dcBufferStatusChanged", t.ParticipantUpdate = "participantUpdate", t.RoomUpdate = "roomUpdate", t.SpeakersChanged = "speakersChanged", t.StreamStateChanged = "streamStateChanged", t.ConnectionQualityUpdate = "connectionQualityUpdate", t.SubscriptionError = "subscriptionError", t.SubscriptionPermissionUpdate = "subscriptionPermissionUpdate", t.RemoteMute = "remoteMute", t.SubscribedQualityUpdate = "subscribedQualityUpdate", t.LocalTrackUnpublished = "localTrackUnpublished", t.LocalTrackSubscribed = "localTrackSubscribed", t.Offline = "offline", t.SignalRequestResponse = "signalRequestResponse", t.SignalConnected = "signalConnected";
|
|
27850
|
-
})(
|
|
27850
|
+
})(nt || (nt = {}));
|
|
27851
27851
|
var et;
|
|
27852
27852
|
(function(t) {
|
|
27853
27853
|
t.Message = "message", t.Muted = "muted", t.Unmuted = "unmuted", t.Restarted = "restarted", t.Ended = "ended", t.Subscribed = "subscribed", t.Unsubscribed = "unsubscribed", t.UpdateSettings = "updateSettings", t.UpdateSubscription = "updateSubscription", t.AudioPlaybackStarted = "audioPlaybackStarted", t.AudioPlaybackFailed = "audioPlaybackFailed", t.AudioSilenceDetected = "audioSilenceDetected", t.VisibilityChanged = "visibilityChanged", t.VideoDimensionsChanged = "videoDimensionsChanged", t.VideoPlaybackStarted = "videoPlaybackStarted", t.VideoPlaybackFailed = "videoPlaybackFailed", t.ElementAttached = "elementAttached", t.ElementDetached = "elementDetached", t.UpstreamPaused = "upstreamPaused", t.UpstreamResumed = "upstreamResumed", t.SubscriptionPermissionChanged = "subscriptionPermissionChanged", t.SubscriptionStatusChanged = "subscriptionStatusChanged", t.SubscriptionFailed = "subscriptionFailed", t.TrackProcessorUpdate = "trackProcessorUpdate", t.AudioTrackFeatureUpdate = "audioTrackFeatureUpdate", t.TranscriptionReceived = "transcriptionReceived", t.TimeSyncUpdate = "timeSyncUpdate";
|
|
@@ -28778,7 +28778,7 @@ class k$ extends du.EventEmitter {
|
|
|
28778
28778
|
!e || e.length === 0 ? jn.warn("ignoring server sent trailer as it's empty") : this.postSifTrailer(e);
|
|
28779
28779
|
}
|
|
28780
28780
|
setupEngine(e) {
|
|
28781
|
-
e.on(
|
|
28781
|
+
e.on(nt.RTPVideoMapUpdate, (n) => {
|
|
28782
28782
|
this.postRTPMap(n);
|
|
28783
28783
|
});
|
|
28784
28784
|
}
|
|
@@ -31906,7 +31906,7 @@ class J$ extends du.EventEmitter {
|
|
|
31906
31906
|
return;
|
|
31907
31907
|
}
|
|
31908
31908
|
const h = Po.fromBinary(new Uint8Array(c));
|
|
31909
|
-
((a = h.value) === null || a === void 0 ? void 0 : a.case) === "speaker" ? this.emit(
|
|
31909
|
+
((a = h.value) === null || a === void 0 ? void 0 : a.case) === "speaker" ? this.emit(nt.ActiveSpeakersUpdate, h.value.value.speakers) : (((s = h.value) === null || s === void 0 ? void 0 : s.case) === "user" && tq(h, h.value.value), this.emit(nt.DataPacketReceived, h));
|
|
31910
31910
|
} finally {
|
|
31911
31911
|
l();
|
|
31912
31912
|
}
|
|
@@ -31931,7 +31931,7 @@ class J$ extends du.EventEmitter {
|
|
|
31931
31931
|
return;
|
|
31932
31932
|
this.log.warn("".concat(r, " disconnected"), this.logContext), this.reconnectAttempts === 0 && (this.reconnectStart = Date.now());
|
|
31933
31933
|
const s = (h) => {
|
|
31934
|
-
this.log.warn("could not recover connection after ".concat(this.reconnectAttempts, " attempts, ").concat(h, "ms. giving up"), this.logContext), this.emit(
|
|
31934
|
+
this.log.warn("could not recover connection after ".concat(this.reconnectAttempts, " attempts, ").concat(h, "ms. giving up"), this.logContext), this.emit(nt.Disconnected), this.close();
|
|
31935
31935
|
}, l = Date.now() - this.reconnectStart;
|
|
31936
31936
|
let c = this.getNextRetryDelay({
|
|
31937
31937
|
elapsedMs: l,
|
|
@@ -31945,14 +31945,14 @@ class J$ extends du.EventEmitter {
|
|
|
31945
31945
|
}, this.waitForRestarted = () => new Promise((r, a) => {
|
|
31946
31946
|
this.pcState === el.Connected && r();
|
|
31947
31947
|
const s = () => {
|
|
31948
|
-
this.off(
|
|
31948
|
+
this.off(nt.Disconnected, l), r();
|
|
31949
31949
|
}, l = () => {
|
|
31950
|
-
this.off(
|
|
31950
|
+
this.off(nt.Restarted, s), a();
|
|
31951
31951
|
};
|
|
31952
|
-
this.once(
|
|
31952
|
+
this.once(nt.Restarted, s), this.once(nt.Disconnected, l);
|
|
31953
31953
|
}), this.updateAndEmitDCBufferStatus = (r) => {
|
|
31954
31954
|
const a = this.isBufferStatusLow(r);
|
|
31955
|
-
typeof a < "u" && a !== this.dcBufferStatus.get(r) && (this.dcBufferStatus.set(r, a), this.emit(
|
|
31955
|
+
typeof a < "u" && a !== this.dcBufferStatus.get(r) && (this.dcBufferStatus.set(r, a), this.emit(nt.DCBufferStatusChanged, a, r));
|
|
31956
31956
|
}, this.isBufferStatusLow = (r) => {
|
|
31957
31957
|
const a = this.dataChannelForKind(r);
|
|
31958
31958
|
if (a)
|
|
@@ -31962,7 +31962,7 @@ class J$ extends du.EventEmitter {
|
|
|
31962
31962
|
}, this.log = dc((n = e.loggerName) !== null && n !== void 0 ? n : cl.Engine), this.loggerOptions = {
|
|
31963
31963
|
loggerName: e.loggerName,
|
|
31964
31964
|
loggerContextCb: () => this.logContext
|
|
31965
|
-
}, this.client = new PR(void 0, this.loggerOptions), this.client.signalLatency = this.options.expSignalLatency, this.reconnectPolicy = this.options.reconnectPolicy, this.registerOnLineListener(), this.closingLock = new Mo(), this.dataProcessLock = new Mo(), this.dcBufferStatus = /* @__PURE__ */ new Map([[Gn.LOSSY, !0], [Gn.RELIABLE, !0]]), this.client.onParticipantUpdate = (r) => this.emit(
|
|
31965
|
+
}, this.client = new PR(void 0, this.loggerOptions), this.client.signalLatency = this.options.expSignalLatency, this.reconnectPolicy = this.options.reconnectPolicy, this.registerOnLineListener(), this.closingLock = new Mo(), this.dataProcessLock = new Mo(), this.dcBufferStatus = /* @__PURE__ */ new Map([[Gn.LOSSY, !0], [Gn.RELIABLE, !0]]), this.client.onParticipantUpdate = (r) => this.emit(nt.ParticipantUpdate, r), this.client.onConnectionQuality = (r) => this.emit(nt.ConnectionQualityUpdate, r), this.client.onRoomUpdate = (r) => this.emit(nt.RoomUpdate, r), this.client.onSubscriptionError = (r) => this.emit(nt.SubscriptionError, r), this.client.onSubscriptionPermissionUpdate = (r) => this.emit(nt.SubscriptionPermissionUpdate, r), this.client.onSpeakersChanged = (r) => this.emit(nt.SpeakersChanged, r), this.client.onStreamStateUpdate = (r) => this.emit(nt.StreamStateChanged, r), this.client.onRequestResponse = (r) => this.emit(nt.SignalRequestResponse, r);
|
|
31966
31966
|
}
|
|
31967
31967
|
/** @internal */
|
|
31968
31968
|
get logContext() {
|
|
@@ -31981,7 +31981,7 @@ class J$ extends du.EventEmitter {
|
|
|
31981
31981
|
this.joinAttempts += 1, this.setupSignalClientCallbacks();
|
|
31982
31982
|
const s = yield this.client.join(e, n, r, a);
|
|
31983
31983
|
return this._isClosed = !1, this.latestJoinResponse = s, this.subscriberPrimary = s.subscriberPrimary, this.pcManager || (yield this.configure(s)), (!this.subscriberPrimary || s.fastPublish) && this.negotiate(), this.clientConfiguration = s.clientConfiguration, setTimeout(() => {
|
|
31984
|
-
this.emit(
|
|
31984
|
+
this.emit(nt.SignalConnected);
|
|
31985
31985
|
}, 10), s;
|
|
31986
31986
|
} catch (s) {
|
|
31987
31987
|
if (s instanceof Sr && s.reason === Hn.ServerUnreachable && (this.log.warn("Couldn't connect to server, attempt ".concat(this.joinAttempts, " of ").concat(this.maxJoinAttempts), this.logContext), this.joinAttempts < this.maxJoinAttempts))
|
|
@@ -31998,7 +31998,7 @@ class J$ extends du.EventEmitter {
|
|
|
31998
31998
|
return;
|
|
31999
31999
|
}
|
|
32000
32000
|
try {
|
|
32001
|
-
this._isClosed = !0, this.joinAttempts = 0, this.emit(
|
|
32001
|
+
this._isClosed = !0, this.joinAttempts = 0, this.emit(nt.Closing), this.removeAllListeners(), this.deregisterOnLineListener(), this.clearPendingReconnect(), yield this.cleanupPeerConnections(), yield this.cleanupClient();
|
|
32002
32002
|
} finally {
|
|
32003
32003
|
e();
|
|
32004
32004
|
}
|
|
@@ -32082,19 +32082,19 @@ class J$ extends du.EventEmitter {
|
|
|
32082
32082
|
return;
|
|
32083
32083
|
this.participantSid = (n = e.participant) === null || n === void 0 ? void 0 : n.sid;
|
|
32084
32084
|
const a = this.makeRTCConfiguration(e);
|
|
32085
|
-
this.pcManager = new j$(a, e.subscriberPrimary, this.loggerOptions), this.emit(
|
|
32085
|
+
this.pcManager = new j$(a, e.subscriberPrimary, this.loggerOptions), this.emit(nt.TransportsCreated, this.pcManager.publisher, this.pcManager.subscriber), this.pcManager.onIceCandidate = (s, l) => {
|
|
32086
32086
|
this.client.sendIceCandidate(s, l);
|
|
32087
32087
|
}, this.pcManager.onPublisherOffer = (s) => {
|
|
32088
32088
|
this.client.sendOffer(s);
|
|
32089
32089
|
}, this.pcManager.onDataChannel = this.handleDataChannel, this.pcManager.onStateChange = (s, l, c) => ee(this, void 0, void 0, function* () {
|
|
32090
32090
|
if (this.log.debug("primary PC state changed ".concat(s), this.logContext), ["closed", "disconnected", "failed"].includes(l) && (this.publisherConnectionPromise = void 0), s === ni.CONNECTED) {
|
|
32091
32091
|
const v = this.pcState === el.New;
|
|
32092
|
-
this.pcState = el.Connected, v && this.emit(
|
|
32092
|
+
this.pcState = el.Connected, v && this.emit(nt.Connected, e);
|
|
32093
32093
|
} else s === ni.FAILED && this.pcState === el.Connected && (this.pcState = el.Disconnected, this.handleDisconnect("peerconnection failed", c === "failed" ? Em.RR_SUBSCRIBER_FAILED : Em.RR_PUBLISHER_FAILED));
|
|
32094
32094
|
const h = this.client.isDisconnected || this.client.currentState === Dr.RECONNECTING, p = [ni.FAILED, ni.CLOSING, ni.CLOSED].includes(s);
|
|
32095
|
-
h && p && !this._isClosed && this.emit(
|
|
32095
|
+
h && p && !this._isClosed && this.emit(nt.Offline);
|
|
32096
32096
|
}), this.pcManager.onTrack = (s) => {
|
|
32097
|
-
this.emit(
|
|
32097
|
+
this.emit(nt.MediaTrackAdded, s.track, s.streams[0], s.receiver);
|
|
32098
32098
|
}, eq((r = e.serverInfo) === null || r === void 0 ? void 0 : r.protocol) || this.createDataChannels();
|
|
32099
32099
|
});
|
|
32100
32100
|
}
|
|
@@ -32129,15 +32129,15 @@ class J$ extends du.EventEmitter {
|
|
|
32129
32129
|
} = this.pendingTrackResolvers[e.cid];
|
|
32130
32130
|
delete this.pendingTrackResolvers[e.cid], r(e.track);
|
|
32131
32131
|
}, this.client.onLocalTrackUnpublished = (e) => {
|
|
32132
|
-
this.emit(
|
|
32132
|
+
this.emit(nt.LocalTrackUnpublished, e);
|
|
32133
32133
|
}, this.client.onLocalTrackSubscribed = (e) => {
|
|
32134
|
-
this.emit(
|
|
32134
|
+
this.emit(nt.LocalTrackSubscribed, e);
|
|
32135
32135
|
}, this.client.onTokenRefresh = (e) => {
|
|
32136
32136
|
this.token = e;
|
|
32137
32137
|
}, this.client.onRemoteMuteChanged = (e, n) => {
|
|
32138
|
-
this.emit(
|
|
32138
|
+
this.emit(nt.RemoteMute, e, n);
|
|
32139
32139
|
}, this.client.onSubscribedQualityUpdate = (e) => {
|
|
32140
|
-
this.emit(
|
|
32140
|
+
this.emit(nt.SubscribedQualityUpdate, e);
|
|
32141
32141
|
}, this.client.onClose = () => {
|
|
32142
32142
|
this.handleDisconnect("signal", Em.RR_SIGNAL_DISCONNECTED);
|
|
32143
32143
|
}, this.client.onLeave = (e) => {
|
|
@@ -32145,7 +32145,7 @@ class J$ extends du.EventEmitter {
|
|
|
32145
32145
|
reason: e == null ? void 0 : e.reason
|
|
32146
32146
|
})), e.regions && this.regionUrlProvider && (this.log.debug("updating regions", this.logContext), this.regionUrlProvider.setServerReportedRegions(e.regions)), e.action) {
|
|
32147
32147
|
case Bm.DISCONNECT:
|
|
32148
|
-
this.emit(
|
|
32148
|
+
this.emit(nt.Disconnected, e == null ? void 0 : e.reason), this.close();
|
|
32149
32149
|
break;
|
|
32150
32150
|
case Bm.RECONNECT:
|
|
32151
32151
|
this.fullReconnectOnNext = !0, this.handleDisconnect(sw);
|
|
@@ -32247,7 +32247,7 @@ class J$ extends du.EventEmitter {
|
|
|
32247
32247
|
let l = !0;
|
|
32248
32248
|
s instanceof Vi ? (this.log.debug("received unrecoverable error", Object.assign(Object.assign({}, this.logContext), {
|
|
32249
32249
|
error: s
|
|
32250
|
-
})), l = !1) : s instanceof Rm || (this.fullReconnectOnNext = !0), l ? this.handleDisconnect("reconnect", Em.RR_UNKNOWN) : (this.log.info("could not recover connection after ".concat(this.reconnectAttempts, " attempts, ").concat(Date.now() - this.reconnectStart, "ms. giving up"), this.logContext), this.emit(
|
|
32250
|
+
})), l = !1) : s instanceof Rm || (this.fullReconnectOnNext = !0), l ? this.handleDisconnect("reconnect", Em.RR_UNKNOWN) : (this.log.info("could not recover connection after ".concat(this.reconnectAttempts, " attempts, ").concat(Date.now() - this.reconnectStart, "ms. giving up"), this.logContext), this.emit(nt.Disconnected), yield this.close());
|
|
32251
32251
|
} finally {
|
|
32252
32252
|
this.attemptingReconnect = !1;
|
|
32253
32253
|
}
|
|
@@ -32270,7 +32270,7 @@ class J$ extends du.EventEmitter {
|
|
|
32270
32270
|
try {
|
|
32271
32271
|
if (!this.url || !this.token)
|
|
32272
32272
|
throw new Vi("could not reconnect, url or token not saved");
|
|
32273
|
-
this.log.info("reconnecting, attempt: ".concat(this.reconnectAttempts), this.logContext), this.emit(
|
|
32273
|
+
this.log.info("reconnecting, attempt: ".concat(this.reconnectAttempts), this.logContext), this.emit(nt.Restarting), this.client.isDisconnected || (yield this.client.sendLeave()), yield this.cleanupPeerConnections(), yield this.cleanupClient();
|
|
32274
32274
|
let s;
|
|
32275
32275
|
try {
|
|
32276
32276
|
if (!this.signalOpts)
|
|
@@ -32281,9 +32281,9 @@ class J$ extends du.EventEmitter {
|
|
|
32281
32281
|
}
|
|
32282
32282
|
if (this.shouldFailNext)
|
|
32283
32283
|
throw this.shouldFailNext = !1, new Error("simulated failure");
|
|
32284
|
-
if (this.client.setReconnected(), this.emit(
|
|
32284
|
+
if (this.client.setReconnected(), this.emit(nt.SignalRestarted, s), yield this.waitForPCReconnected(), this.client.currentState !== Dr.CONNECTED)
|
|
32285
32285
|
throw new Rm("Signal connection got severed during reconnect");
|
|
32286
|
-
(n = this.regionUrlProvider) === null || n === void 0 || n.resetAttempts(), this.emit(
|
|
32286
|
+
(n = this.regionUrlProvider) === null || n === void 0 || n.resetAttempts(), this.emit(nt.Restarted);
|
|
32287
32287
|
} catch (s) {
|
|
32288
32288
|
const l = yield (r = this.regionUrlProvider) === null || r === void 0 ? void 0 : r.getNextBestRegionUrl();
|
|
32289
32289
|
if (l) {
|
|
@@ -32301,7 +32301,7 @@ class J$ extends du.EventEmitter {
|
|
|
32301
32301
|
throw new Vi("could not reconnect, url or token not saved");
|
|
32302
32302
|
if (!this.pcManager)
|
|
32303
32303
|
throw new Vi("publisher and subscriber connections unset");
|
|
32304
|
-
this.log.info("resuming signal connection, attempt ".concat(this.reconnectAttempts), this.logContext), this.emit(
|
|
32304
|
+
this.log.info("resuming signal connection, attempt ".concat(this.reconnectAttempts), this.logContext), this.emit(nt.Resuming);
|
|
32305
32305
|
let r;
|
|
32306
32306
|
try {
|
|
32307
32307
|
this.setupSignalClientCallbacks(), r = yield this.client.reconnect(this.url, this.token, this.participantSid, e);
|
|
@@ -32311,7 +32311,7 @@ class J$ extends du.EventEmitter {
|
|
|
32311
32311
|
error: a
|
|
32312
32312
|
}))), a instanceof Sr && a.reason === Hn.NotAllowed ? new Vi("could not reconnect, token might be expired") : a instanceof Sr && a.reason === Hn.LeaveRequest ? a : new Rm(s);
|
|
32313
32313
|
}
|
|
32314
|
-
if (this.emit(
|
|
32314
|
+
if (this.emit(nt.SignalResumed), r) {
|
|
32315
32315
|
const a = this.makeRTCConfiguration(r);
|
|
32316
32316
|
this.pcManager.updateConfiguration(a);
|
|
32317
32317
|
} else
|
|
@@ -32320,7 +32320,7 @@ class J$ extends du.EventEmitter {
|
|
|
32320
32320
|
throw this.shouldFailNext = !1, new Error("simulated failure");
|
|
32321
32321
|
if (yield this.pcManager.triggerIceRestart(), yield this.waitForPCReconnected(), this.client.currentState !== Dr.CONNECTED)
|
|
32322
32322
|
throw new Rm("Signal connection got severed during reconnect");
|
|
32323
|
-
this.client.setReconnected(), ((n = this.reliableDC) === null || n === void 0 ? void 0 : n.readyState) === "open" && this.reliableDC.id === null && this.createDataChannels(), this.emit(
|
|
32323
|
+
this.client.setReconnected(), ((n = this.reliableDC) === null || n === void 0 ? void 0 : n.readyState) === "open" && this.reliableDC.id === null && this.createDataChannels(), this.emit(nt.Resumed);
|
|
32324
32324
|
});
|
|
32325
32325
|
}
|
|
32326
32326
|
waitForPCInitialConnection(e, n) {
|
|
@@ -32396,9 +32396,9 @@ class J$ extends du.EventEmitter {
|
|
|
32396
32396
|
n();
|
|
32397
32397
|
else {
|
|
32398
32398
|
const a = () => r("Engine closed");
|
|
32399
|
-
for (this.once(
|
|
32399
|
+
for (this.once(nt.Closing, a); !this.dcBufferStatus.get(e); )
|
|
32400
32400
|
yield Lo(10);
|
|
32401
|
-
this.off(
|
|
32401
|
+
this.off(nt.Closing, a), n();
|
|
32402
32402
|
}
|
|
32403
32403
|
}));
|
|
32404
32404
|
}
|
|
@@ -32452,19 +32452,19 @@ class J$ extends du.EventEmitter {
|
|
|
32452
32452
|
const r = new AbortController(), a = () => {
|
|
32453
32453
|
r.abort(), this.log.debug("engine disconnected while negotiation was ongoing", this.logContext), e();
|
|
32454
32454
|
};
|
|
32455
|
-
this.isClosed && n("cannot negotiate on closed engine"), this.on(
|
|
32455
|
+
this.isClosed && n("cannot negotiate on closed engine"), this.on(nt.Closing, a), this.pcManager.publisher.once(Wm.RTPVideoPayloadTypes, (s) => {
|
|
32456
32456
|
const l = /* @__PURE__ */ new Map();
|
|
32457
32457
|
s.forEach((c) => {
|
|
32458
32458
|
const h = c.codec.toLowerCase();
|
|
32459
32459
|
u$(h) && l.set(c.payload, h);
|
|
32460
|
-
}), this.emit(
|
|
32460
|
+
}), this.emit(nt.RTPVideoMapUpdate, l);
|
|
32461
32461
|
});
|
|
32462
32462
|
try {
|
|
32463
32463
|
yield this.pcManager.negotiate(r), e();
|
|
32464
32464
|
} catch (s) {
|
|
32465
32465
|
s instanceof pE && (this.fullReconnectOnNext = !0), this.handleDisconnect("negotiation", Em.RR_UNKNOWN), n(s);
|
|
32466
32466
|
} finally {
|
|
32467
|
-
this.off(
|
|
32467
|
+
this.off(nt.Closing, a);
|
|
32468
32468
|
}
|
|
32469
32469
|
}));
|
|
32470
32470
|
});
|
|
@@ -33688,10 +33688,10 @@ class uk extends R5 {
|
|
|
33688
33688
|
* @internal
|
|
33689
33689
|
*/
|
|
33690
33690
|
setupEngine(e) {
|
|
33691
|
-
this.engine = e, this.engine.on(
|
|
33691
|
+
this.engine = e, this.engine.on(nt.RemoteMute, (n, r) => {
|
|
33692
33692
|
const a = this.trackPublications.get(n);
|
|
33693
33693
|
!a || !a.track || (r ? a.mute() : a.unmute());
|
|
33694
|
-
}), this.engine.on(
|
|
33694
|
+
}), this.engine.on(nt.Connected, this.handleReconnected).on(nt.SignalRestarted, this.handleReconnected).on(nt.SignalResumed, this.handleReconnected).on(nt.Restarting, this.handleReconnecting).on(nt.Resuming, this.handleReconnecting).on(nt.LocalTrackUnpublished, this.handleLocalTrackUnpublished).on(nt.SubscribedQualityUpdate, this.handleSubscribedQualityUpdate).on(nt.Disconnected, this.handleDisconnected).on(nt.SignalRequestResponse, this.handleSignalRequestResponse).on(nt.DataPacketReceived, this.handleDataPacket);
|
|
33695
33695
|
}
|
|
33696
33696
|
/**
|
|
33697
33697
|
* Sets and updates the metadata of the local participant.
|
|
@@ -34029,9 +34029,9 @@ class uk extends R5 {
|
|
|
34029
34029
|
}
|
|
34030
34030
|
});
|
|
34031
34031
|
setTimeout(() => {
|
|
34032
|
-
this.engine.off(
|
|
34033
|
-
}, 15e3), this.engine.once(
|
|
34034
|
-
this.engine.off(
|
|
34032
|
+
this.engine.off(nt.SignalConnected, N), j(new K_("publishing rejected as engine not connected within timeout", 408));
|
|
34033
|
+
}, 15e3), this.engine.once(nt.SignalConnected, N), this.engine.on(nt.Closing, () => {
|
|
34034
|
+
this.engine.off(nt.SignalConnected, N), j(new K_("publishing rejected as engine closed", 499));
|
|
34035
34035
|
});
|
|
34036
34036
|
} else
|
|
34037
34037
|
try {
|
|
@@ -34480,8 +34480,8 @@ class uk extends R5 {
|
|
|
34480
34480
|
let k = () => ee(this, void 0, void 0, function* () {
|
|
34481
34481
|
yield x.close();
|
|
34482
34482
|
});
|
|
34483
|
-
v.engine.once(
|
|
34484
|
-
const x = new aq(b, s, () => this.engine.off(
|
|
34483
|
+
v.engine.once(nt.Closing, k);
|
|
34484
|
+
const x = new aq(b, s, () => this.engine.off(nt.Closing, k));
|
|
34485
34485
|
return x;
|
|
34486
34486
|
});
|
|
34487
34487
|
}
|
|
@@ -35554,10 +35554,10 @@ class Jm extends du.EventEmitter {
|
|
|
35554
35554
|
return ee(this, void 0, void 0, function* () {
|
|
35555
35555
|
return this.state === Bn.Disconnected ? "" : this.roomInfo && this.roomInfo.sid !== "" ? this.roomInfo.sid : new Promise((e, n) => {
|
|
35556
35556
|
const r = (a) => {
|
|
35557
|
-
a.sid !== "" && (this.engine.off(
|
|
35557
|
+
a.sid !== "" && (this.engine.off(nt.RoomUpdate, r), e(a.sid));
|
|
35558
35558
|
};
|
|
35559
|
-
this.engine.on(
|
|
35560
|
-
this.engine.off(
|
|
35559
|
+
this.engine.on(nt.RoomUpdate, r), this.once(Ae.Disconnected, () => {
|
|
35560
|
+
this.engine.off(nt.RoomUpdate, r), n("Room disconnected before room server id was available");
|
|
35561
35561
|
});
|
|
35562
35562
|
});
|
|
35563
35563
|
});
|
|
@@ -35581,21 +35581,21 @@ class Jm extends du.EventEmitter {
|
|
|
35581
35581
|
return (n = (e = this.roomInfo) === null || e === void 0 ? void 0 : e.numPublishers) !== null && n !== void 0 ? n : 0;
|
|
35582
35582
|
}
|
|
35583
35583
|
maybeCreateEngine() {
|
|
35584
|
-
this.engine && !this.engine.isClosed || (this.engine = new J$(this.options), this.engine.on(
|
|
35584
|
+
this.engine && !this.engine.isClosed || (this.engine = new J$(this.options), this.engine.on(nt.ParticipantUpdate, this.handleParticipantUpdates).on(nt.RoomUpdate, this.handleRoomUpdate).on(nt.SpeakersChanged, this.handleSpeakersChanged).on(nt.StreamStateChanged, this.handleStreamStateUpdate).on(nt.ConnectionQualityUpdate, this.handleConnectionQualityUpdate).on(nt.SubscriptionError, this.handleSubscriptionError).on(nt.SubscriptionPermissionUpdate, this.handleSubscriptionPermissionUpdate).on(nt.MediaTrackAdded, (e, n, r) => {
|
|
35585
35585
|
this.onTrackAdded(e, n, r);
|
|
35586
|
-
}).on(
|
|
35586
|
+
}).on(nt.Disconnected, (e) => {
|
|
35587
35587
|
this.handleDisconnect(this.options.stopLocalTrackOnUnpublish, e);
|
|
35588
|
-
}).on(
|
|
35588
|
+
}).on(nt.ActiveSpeakersUpdate, this.handleActiveSpeakersUpdate).on(nt.DataPacketReceived, this.handleDataPacket).on(nt.Resuming, () => {
|
|
35589
35589
|
this.clearConnectionReconcile(), this.isResuming = !0, this.log.info("Resuming signal connection", this.logContext), this.setAndEmitConnectionState(Bn.SignalReconnecting) && this.emit(Ae.SignalReconnecting);
|
|
35590
|
-
}).on(
|
|
35590
|
+
}).on(nt.Resumed, () => {
|
|
35591
35591
|
this.registerConnectionReconcile(), this.isResuming = !1, this.log.info("Resumed signal connection", this.logContext), this.updateSubscriptions(), this.emitBufferedEvents(), this.setAndEmitConnectionState(Bn.Connected) && this.emit(Ae.Reconnected);
|
|
35592
|
-
}).on(
|
|
35592
|
+
}).on(nt.SignalResumed, () => {
|
|
35593
35593
|
this.bufferedEvents = [], (this.state === Bn.Reconnecting || this.isResuming) && this.sendSyncState();
|
|
35594
|
-
}).on(
|
|
35594
|
+
}).on(nt.Restarting, this.handleRestarting).on(nt.SignalRestarted, this.handleSignalRestarted).on(nt.Offline, () => {
|
|
35595
35595
|
this.setAndEmitConnectionState(Bn.Reconnecting) && this.emit(Ae.Reconnecting);
|
|
35596
|
-
}).on(
|
|
35596
|
+
}).on(nt.DCBufferStatusChanged, (e, n) => {
|
|
35597
35597
|
this.emit(Ae.DCBufferStatusChanged, e, n);
|
|
35598
|
-
}).on(
|
|
35598
|
+
}).on(nt.LocalTrackSubscribed, (e) => {
|
|
35599
35599
|
const n = this.localParticipant.getTrackPublications().find((r) => {
|
|
35600
35600
|
let {
|
|
35601
35601
|
trackSid: a
|
|
@@ -36600,7 +36600,7 @@ class kq extends Gd {
|
|
|
36600
36600
|
});
|
|
36601
36601
|
}
|
|
36602
36602
|
}
|
|
36603
|
-
class
|
|
36603
|
+
class Ele extends du.EventEmitter {
|
|
36604
36604
|
constructor(e, n) {
|
|
36605
36605
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
36606
36606
|
super(), this.options = {}, this.checkResults = /* @__PURE__ */ new Map(), this.url = e, this.token = n, this.options = r;
|
|
@@ -44057,7 +44057,7 @@ function gX(t) {
|
|
|
44057
44057
|
function Gr(t) {
|
|
44058
44058
|
return Kj(t) ? { background: t } : { backgroundColor: t };
|
|
44059
44059
|
}
|
|
44060
|
-
function
|
|
44060
|
+
function En(t) {
|
|
44061
44061
|
return gX(t);
|
|
44062
44062
|
}
|
|
44063
44063
|
const Zj = {
|
|
@@ -44329,7 +44329,7 @@ function DX(t, ...e) {
|
|
|
44329
44329
|
const Pr = (t) => {
|
|
44330
44330
|
const e = (n) => n[t] || [];
|
|
44331
44331
|
return e.isThemeGetter = !0, e;
|
|
44332
|
-
}, iF = /^\[(?:([a-z-]+):)?(.+)\]$/i, AX = /^\d+\/\d+$/, OX = /* @__PURE__ */ new Set(["px", "full", "screen"]), MX = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, NX = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, LX = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, IX = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, UX = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rc = (t) => Ym(t) || OX.has(t) || AX.test(t), xd = (t) => mg(t, "length", qX), Ym = (t) => !!t && !Number.isNaN(Number(t)), _w = (t) => mg(t, "number", Ym), Ry = (t) => !!t && Number.isInteger(Number(t)), jX = (t) => t.endsWith("%") && Ym(t.slice(0, -1)),
|
|
44332
|
+
}, iF = /^\[(?:([a-z-]+):)?(.+)\]$/i, AX = /^\d+\/\d+$/, OX = /* @__PURE__ */ new Set(["px", "full", "screen"]), MX = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, NX = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, LX = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, IX = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, UX = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rc = (t) => Ym(t) || OX.has(t) || AX.test(t), xd = (t) => mg(t, "length", qX), Ym = (t) => !!t && !Number.isNaN(Number(t)), _w = (t) => mg(t, "number", Ym), Ry = (t) => !!t && Number.isInteger(Number(t)), jX = (t) => t.endsWith("%") && Ym(t.slice(0, -1)), Cn = (t) => iF.test(t), Td = (t) => MX.test(t), FX = /* @__PURE__ */ new Set(["length", "size", "percentage"]), VX = (t) => mg(t, FX, aF), zX = (t) => mg(t, "position", aF), BX = /* @__PURE__ */ new Set(["image", "url"]), HX = (t) => mg(t, BX, GX), $X = (t) => mg(t, "", WX), Py = () => !0, mg = (t, e, n) => {
|
|
44333
44333
|
const r = iF.exec(t);
|
|
44334
44334
|
return r ? r[1] ? typeof e == "string" ? r[1] === e : e.has(r[1]) : n(r[2]) : !1;
|
|
44335
44335
|
}, qX = (t) => (
|
|
@@ -44338,17 +44338,17 @@ const Pr = (t) => {
|
|
|
44338
44338
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
44339
44339
|
NX.test(t) && !LX.test(t)
|
|
44340
44340
|
), aF = () => !1, WX = (t) => IX.test(t), GX = (t) => UX.test(t), YX = () => {
|
|
44341
|
-
const t = Pr("colors"), e = Pr("spacing"), n = Pr("blur"), r = Pr("brightness"), a = Pr("borderColor"), s = Pr("borderRadius"), l = Pr("borderSpacing"), c = Pr("borderWidth"), h = Pr("contrast"), p = Pr("grayscale"), v = Pr("hueRotate"), b = Pr("invert"), k = Pr("gap"), x = Pr("gradientColorStops"), w = Pr("gradientColorStopPositions"), R = Pr("inset"), O = Pr("margin"), D = Pr("opacity"), j = Pr("padding"), N = Pr("saturate"), V = Pr("scale"), L = Pr("sepia"), I = Pr("skew"), K = Pr("space"), Z = Pr("translate"), Se = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto",
|
|
44341
|
+
const t = Pr("colors"), e = Pr("spacing"), n = Pr("blur"), r = Pr("brightness"), a = Pr("borderColor"), s = Pr("borderRadius"), l = Pr("borderSpacing"), c = Pr("borderWidth"), h = Pr("contrast"), p = Pr("grayscale"), v = Pr("hueRotate"), b = Pr("invert"), k = Pr("gap"), x = Pr("gradientColorStops"), w = Pr("gradientColorStopPositions"), R = Pr("inset"), O = Pr("margin"), D = Pr("opacity"), j = Pr("padding"), N = Pr("saturate"), V = Pr("scale"), L = Pr("sepia"), I = Pr("skew"), K = Pr("space"), Z = Pr("translate"), Se = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", Cn, e], J = () => [Cn, e], pe = () => ["", rc, xd], _e = () => ["auto", Ym, Cn], $e = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], qe = () => ["solid", "dashed", "dotted", "double", "none"], We = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], se = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Be = () => ["", "0", Cn], B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], te = () => [Ym, Cn];
|
|
44342
44342
|
return {
|
|
44343
44343
|
cacheSize: 500,
|
|
44344
44344
|
separator: ":",
|
|
44345
44345
|
theme: {
|
|
44346
44346
|
colors: [Py],
|
|
44347
44347
|
spacing: [rc, xd],
|
|
44348
|
-
blur: ["none", "", Td,
|
|
44348
|
+
blur: ["none", "", Td, Cn],
|
|
44349
44349
|
brightness: te(),
|
|
44350
44350
|
borderColor: [t],
|
|
44351
|
-
borderRadius: ["none", "", "full", Td,
|
|
44351
|
+
borderRadius: ["none", "", "full", Td, Cn],
|
|
44352
44352
|
borderSpacing: J(),
|
|
44353
44353
|
borderWidth: pe(),
|
|
44354
44354
|
contrast: te(),
|
|
@@ -44376,7 +44376,7 @@ const Pr = (t) => {
|
|
|
44376
44376
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
44377
44377
|
*/
|
|
44378
44378
|
aspect: [{
|
|
44379
|
-
aspect: ["auto", "square", "video",
|
|
44379
|
+
aspect: ["auto", "square", "video", Cn]
|
|
44380
44380
|
}],
|
|
44381
44381
|
/**
|
|
44382
44382
|
* Container
|
|
@@ -44461,7 +44461,7 @@ const Pr = (t) => {
|
|
|
44461
44461
|
* @see https://tailwindcss.com/docs/object-position
|
|
44462
44462
|
*/
|
|
44463
44463
|
"object-position": [{
|
|
44464
|
-
object: [...$e(),
|
|
44464
|
+
object: [...$e(), Cn]
|
|
44465
44465
|
}],
|
|
44466
44466
|
/**
|
|
44467
44467
|
* Overflow
|
|
@@ -44583,7 +44583,7 @@ const Pr = (t) => {
|
|
|
44583
44583
|
* @see https://tailwindcss.com/docs/z-index
|
|
44584
44584
|
*/
|
|
44585
44585
|
z: [{
|
|
44586
|
-
z: ["auto", Ry,
|
|
44586
|
+
z: ["auto", Ry, Cn]
|
|
44587
44587
|
}],
|
|
44588
44588
|
// Flexbox and Grid
|
|
44589
44589
|
/**
|
|
@@ -44612,7 +44612,7 @@ const Pr = (t) => {
|
|
|
44612
44612
|
* @see https://tailwindcss.com/docs/flex
|
|
44613
44613
|
*/
|
|
44614
44614
|
flex: [{
|
|
44615
|
-
flex: ["1", "auto", "initial", "none",
|
|
44615
|
+
flex: ["1", "auto", "initial", "none", Cn]
|
|
44616
44616
|
}],
|
|
44617
44617
|
/**
|
|
44618
44618
|
* Flex Grow
|
|
@@ -44633,7 +44633,7 @@ const Pr = (t) => {
|
|
|
44633
44633
|
* @see https://tailwindcss.com/docs/order
|
|
44634
44634
|
*/
|
|
44635
44635
|
order: [{
|
|
44636
|
-
order: ["first", "last", "none", Ry,
|
|
44636
|
+
order: ["first", "last", "none", Ry, Cn]
|
|
44637
44637
|
}],
|
|
44638
44638
|
/**
|
|
44639
44639
|
* Grid Template Columns
|
|
@@ -44648,8 +44648,8 @@ const Pr = (t) => {
|
|
|
44648
44648
|
*/
|
|
44649
44649
|
"col-start-end": [{
|
|
44650
44650
|
col: ["auto", {
|
|
44651
|
-
span: ["full", Ry,
|
|
44652
|
-
},
|
|
44651
|
+
span: ["full", Ry, Cn]
|
|
44652
|
+
}, Cn]
|
|
44653
44653
|
}],
|
|
44654
44654
|
/**
|
|
44655
44655
|
* Grid Column Start
|
|
@@ -44678,8 +44678,8 @@ const Pr = (t) => {
|
|
|
44678
44678
|
*/
|
|
44679
44679
|
"row-start-end": [{
|
|
44680
44680
|
row: ["auto", {
|
|
44681
|
-
span: [Ry,
|
|
44682
|
-
},
|
|
44681
|
+
span: [Ry, Cn]
|
|
44682
|
+
}, Cn]
|
|
44683
44683
|
}],
|
|
44684
44684
|
/**
|
|
44685
44685
|
* Grid Row Start
|
|
@@ -44707,14 +44707,14 @@ const Pr = (t) => {
|
|
|
44707
44707
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
44708
44708
|
*/
|
|
44709
44709
|
"auto-cols": [{
|
|
44710
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
44710
|
+
"auto-cols": ["auto", "min", "max", "fr", Cn]
|
|
44711
44711
|
}],
|
|
44712
44712
|
/**
|
|
44713
44713
|
* Grid Auto Rows
|
|
44714
44714
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
44715
44715
|
*/
|
|
44716
44716
|
"auto-rows": [{
|
|
44717
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
44717
|
+
"auto-rows": ["auto", "min", "max", "fr", Cn]
|
|
44718
44718
|
}],
|
|
44719
44719
|
/**
|
|
44720
44720
|
* Gap
|
|
@@ -44957,21 +44957,21 @@ const Pr = (t) => {
|
|
|
44957
44957
|
* @see https://tailwindcss.com/docs/width
|
|
44958
44958
|
*/
|
|
44959
44959
|
w: [{
|
|
44960
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
44960
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", Cn, e]
|
|
44961
44961
|
}],
|
|
44962
44962
|
/**
|
|
44963
44963
|
* Min-Width
|
|
44964
44964
|
* @see https://tailwindcss.com/docs/min-width
|
|
44965
44965
|
*/
|
|
44966
44966
|
"min-w": [{
|
|
44967
|
-
"min-w": [
|
|
44967
|
+
"min-w": [Cn, e, "min", "max", "fit"]
|
|
44968
44968
|
}],
|
|
44969
44969
|
/**
|
|
44970
44970
|
* Max-Width
|
|
44971
44971
|
* @see https://tailwindcss.com/docs/max-width
|
|
44972
44972
|
*/
|
|
44973
44973
|
"max-w": [{
|
|
44974
|
-
"max-w": [
|
|
44974
|
+
"max-w": [Cn, e, "none", "full", "min", "max", "fit", "prose", {
|
|
44975
44975
|
screen: [Td]
|
|
44976
44976
|
}, Td]
|
|
44977
44977
|
}],
|
|
@@ -44980,28 +44980,28 @@ const Pr = (t) => {
|
|
|
44980
44980
|
* @see https://tailwindcss.com/docs/height
|
|
44981
44981
|
*/
|
|
44982
44982
|
h: [{
|
|
44983
|
-
h: [
|
|
44983
|
+
h: [Cn, e, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
44984
44984
|
}],
|
|
44985
44985
|
/**
|
|
44986
44986
|
* Min-Height
|
|
44987
44987
|
* @see https://tailwindcss.com/docs/min-height
|
|
44988
44988
|
*/
|
|
44989
44989
|
"min-h": [{
|
|
44990
|
-
"min-h": [
|
|
44990
|
+
"min-h": [Cn, e, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
44991
44991
|
}],
|
|
44992
44992
|
/**
|
|
44993
44993
|
* Max-Height
|
|
44994
44994
|
* @see https://tailwindcss.com/docs/max-height
|
|
44995
44995
|
*/
|
|
44996
44996
|
"max-h": [{
|
|
44997
|
-
"max-h": [
|
|
44997
|
+
"max-h": [Cn, e, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
44998
44998
|
}],
|
|
44999
44999
|
/**
|
|
45000
45000
|
* Size
|
|
45001
45001
|
* @see https://tailwindcss.com/docs/size
|
|
45002
45002
|
*/
|
|
45003
45003
|
size: [{
|
|
45004
|
-
size: [
|
|
45004
|
+
size: [Cn, e, "auto", "min", "max", "fit"]
|
|
45005
45005
|
}],
|
|
45006
45006
|
// Typography
|
|
45007
45007
|
/**
|
|
@@ -45070,7 +45070,7 @@ const Pr = (t) => {
|
|
|
45070
45070
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
45071
45071
|
*/
|
|
45072
45072
|
tracking: [{
|
|
45073
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
45073
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", Cn]
|
|
45074
45074
|
}],
|
|
45075
45075
|
/**
|
|
45076
45076
|
* Line Clamp
|
|
@@ -45084,21 +45084,21 @@ const Pr = (t) => {
|
|
|
45084
45084
|
* @see https://tailwindcss.com/docs/line-height
|
|
45085
45085
|
*/
|
|
45086
45086
|
leading: [{
|
|
45087
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", rc,
|
|
45087
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", rc, Cn]
|
|
45088
45088
|
}],
|
|
45089
45089
|
/**
|
|
45090
45090
|
* List Style Image
|
|
45091
45091
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
45092
45092
|
*/
|
|
45093
45093
|
"list-image": [{
|
|
45094
|
-
"list-image": ["none",
|
|
45094
|
+
"list-image": ["none", Cn]
|
|
45095
45095
|
}],
|
|
45096
45096
|
/**
|
|
45097
45097
|
* List Style Type
|
|
45098
45098
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
45099
45099
|
*/
|
|
45100
45100
|
"list-style-type": [{
|
|
45101
|
-
list: ["none", "disc", "decimal",
|
|
45101
|
+
list: ["none", "disc", "decimal", Cn]
|
|
45102
45102
|
}],
|
|
45103
45103
|
/**
|
|
45104
45104
|
* List Style Position
|
|
@@ -45167,7 +45167,7 @@ const Pr = (t) => {
|
|
|
45167
45167
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
45168
45168
|
*/
|
|
45169
45169
|
"underline-offset": [{
|
|
45170
|
-
"underline-offset": ["auto", rc,
|
|
45170
|
+
"underline-offset": ["auto", rc, Cn]
|
|
45171
45171
|
}],
|
|
45172
45172
|
/**
|
|
45173
45173
|
* Text Decoration Color
|
|
@@ -45205,7 +45205,7 @@ const Pr = (t) => {
|
|
|
45205
45205
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
45206
45206
|
*/
|
|
45207
45207
|
"vertical-align": [{
|
|
45208
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
45208
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", Cn]
|
|
45209
45209
|
}],
|
|
45210
45210
|
/**
|
|
45211
45211
|
* Whitespace
|
|
@@ -45233,7 +45233,7 @@ const Pr = (t) => {
|
|
|
45233
45233
|
* @see https://tailwindcss.com/docs/content
|
|
45234
45234
|
*/
|
|
45235
45235
|
content: [{
|
|
45236
|
-
content: ["none",
|
|
45236
|
+
content: ["none", Cn]
|
|
45237
45237
|
}],
|
|
45238
45238
|
// Backgrounds
|
|
45239
45239
|
/**
|
|
@@ -45649,7 +45649,7 @@ const Pr = (t) => {
|
|
|
45649
45649
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
45650
45650
|
*/
|
|
45651
45651
|
"outline-offset": [{
|
|
45652
|
-
"outline-offset": [rc,
|
|
45652
|
+
"outline-offset": [rc, Cn]
|
|
45653
45653
|
}],
|
|
45654
45654
|
/**
|
|
45655
45655
|
* Outline Width
|
|
@@ -45776,7 +45776,7 @@ const Pr = (t) => {
|
|
|
45776
45776
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
45777
45777
|
*/
|
|
45778
45778
|
"drop-shadow": [{
|
|
45779
|
-
"drop-shadow": ["", "none", Td,
|
|
45779
|
+
"drop-shadow": ["", "none", Td, Cn]
|
|
45780
45780
|
}],
|
|
45781
45781
|
/**
|
|
45782
45782
|
* Grayscale
|
|
@@ -45933,7 +45933,7 @@ const Pr = (t) => {
|
|
|
45933
45933
|
* @see https://tailwindcss.com/docs/transition-property
|
|
45934
45934
|
*/
|
|
45935
45935
|
transition: [{
|
|
45936
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
45936
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", Cn]
|
|
45937
45937
|
}],
|
|
45938
45938
|
/**
|
|
45939
45939
|
* Transition Duration
|
|
@@ -45947,7 +45947,7 @@ const Pr = (t) => {
|
|
|
45947
45947
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
45948
45948
|
*/
|
|
45949
45949
|
ease: [{
|
|
45950
|
-
ease: ["linear", "in", "out", "in-out",
|
|
45950
|
+
ease: ["linear", "in", "out", "in-out", Cn]
|
|
45951
45951
|
}],
|
|
45952
45952
|
/**
|
|
45953
45953
|
* Transition Delay
|
|
@@ -45961,7 +45961,7 @@ const Pr = (t) => {
|
|
|
45961
45961
|
* @see https://tailwindcss.com/docs/animation
|
|
45962
45962
|
*/
|
|
45963
45963
|
animate: [{
|
|
45964
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
45964
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", Cn]
|
|
45965
45965
|
}],
|
|
45966
45966
|
// Transforms
|
|
45967
45967
|
/**
|
|
@@ -45997,7 +45997,7 @@ const Pr = (t) => {
|
|
|
45997
45997
|
* @see https://tailwindcss.com/docs/rotate
|
|
45998
45998
|
*/
|
|
45999
45999
|
rotate: [{
|
|
46000
|
-
rotate: [Ry,
|
|
46000
|
+
rotate: [Ry, Cn]
|
|
46001
46001
|
}],
|
|
46002
46002
|
/**
|
|
46003
46003
|
* Translate X
|
|
@@ -46032,7 +46032,7 @@ const Pr = (t) => {
|
|
|
46032
46032
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
46033
46033
|
*/
|
|
46034
46034
|
"transform-origin": [{
|
|
46035
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
46035
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", Cn]
|
|
46036
46036
|
}],
|
|
46037
46037
|
// Interactivity
|
|
46038
46038
|
/**
|
|
@@ -46054,7 +46054,7 @@ const Pr = (t) => {
|
|
|
46054
46054
|
* @see https://tailwindcss.com/docs/cursor
|
|
46055
46055
|
*/
|
|
46056
46056
|
cursor: [{
|
|
46057
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
46057
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", Cn]
|
|
46058
46058
|
}],
|
|
46059
46059
|
/**
|
|
46060
46060
|
* Caret Color
|
|
@@ -46276,7 +46276,7 @@ const Pr = (t) => {
|
|
|
46276
46276
|
* @see https://tailwindcss.com/docs/will-change
|
|
46277
46277
|
*/
|
|
46278
46278
|
"will-change": [{
|
|
46279
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
46279
|
+
"will-change": ["auto", "scroll", "contents", "transform", Cn]
|
|
46280
46280
|
}],
|
|
46281
46281
|
// SVG
|
|
46282
46282
|
/**
|
|
@@ -46758,7 +46758,7 @@ const xI = (t, e) => {
|
|
|
46758
46758
|
}
|
|
46759
46759
|
};
|
|
46760
46760
|
};
|
|
46761
|
-
function
|
|
46761
|
+
function yn(t) {
|
|
46762
46762
|
if (!t)
|
|
46763
46763
|
return {};
|
|
46764
46764
|
const { errorMap: e, invalid_type_error: n, required_error: r, description: a } = t;
|
|
@@ -46770,7 +46770,7 @@ function vn(t) {
|
|
|
46770
46770
|
return l.code === "invalid_enum_value" ? { message: v ?? c.defaultError } : typeof c.data > "u" ? { message: (h = v ?? r) !== null && h !== void 0 ? h : c.defaultError } : l.code !== "invalid_type" ? { message: c.defaultError } : { message: (p = v ?? n) !== null && p !== void 0 ? p : c.defaultError };
|
|
46771
46771
|
}, description: a };
|
|
46772
46772
|
}
|
|
46773
|
-
class
|
|
46773
|
+
class Tn {
|
|
46774
46774
|
get description() {
|
|
46775
46775
|
return this._def.description;
|
|
46776
46776
|
}
|
|
@@ -46939,7 +46939,7 @@ class xn {
|
|
|
46939
46939
|
}
|
|
46940
46940
|
transform(e) {
|
|
46941
46941
|
return new hl({
|
|
46942
|
-
...
|
|
46942
|
+
...yn(this._def),
|
|
46943
46943
|
schema: this,
|
|
46944
46944
|
typeName: tn.ZodEffects,
|
|
46945
46945
|
effect: { type: "transform", transform: e }
|
|
@@ -46948,7 +46948,7 @@ class xn {
|
|
|
46948
46948
|
default(e) {
|
|
46949
46949
|
const n = typeof e == "function" ? e : () => e;
|
|
46950
46950
|
return new T0({
|
|
46951
|
-
...
|
|
46951
|
+
...yn(this._def),
|
|
46952
46952
|
innerType: this,
|
|
46953
46953
|
defaultValue: n,
|
|
46954
46954
|
typeName: tn.ZodDefault
|
|
@@ -46958,13 +46958,13 @@ class xn {
|
|
|
46958
46958
|
return new wP({
|
|
46959
46959
|
typeName: tn.ZodBranded,
|
|
46960
46960
|
type: this,
|
|
46961
|
-
...
|
|
46961
|
+
...yn(this._def)
|
|
46962
46962
|
});
|
|
46963
46963
|
}
|
|
46964
46964
|
catch(e) {
|
|
46965
46965
|
const n = typeof e == "function" ? e : () => e;
|
|
46966
46966
|
return new _0({
|
|
46967
|
-
...
|
|
46967
|
+
...yn(this._def),
|
|
46968
46968
|
innerType: this,
|
|
46969
46969
|
catchValue: n,
|
|
46970
46970
|
typeName: tn.ZodCatch
|
|
@@ -47021,7 +47021,7 @@ function bJ(t, e) {
|
|
|
47021
47021
|
function CJ(t, e) {
|
|
47022
47022
|
return !!((e === "v4" || !e) && dJ.test(t) || (e === "v6" || !e) && hJ.test(t));
|
|
47023
47023
|
}
|
|
47024
|
-
class sl extends
|
|
47024
|
+
class sl extends Tn {
|
|
47025
47025
|
_parse(e) {
|
|
47026
47026
|
if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== _t.string) {
|
|
47027
47027
|
const s = this._getOrReturnCtx(e);
|
|
@@ -47405,14 +47405,14 @@ sl.create = (t) => {
|
|
|
47405
47405
|
checks: [],
|
|
47406
47406
|
typeName: tn.ZodString,
|
|
47407
47407
|
coerce: (e = t == null ? void 0 : t.coerce) !== null && e !== void 0 ? e : !1,
|
|
47408
|
-
...
|
|
47408
|
+
...yn(t)
|
|
47409
47409
|
});
|
|
47410
47410
|
};
|
|
47411
47411
|
function SJ(t, e) {
|
|
47412
47412
|
const n = (t.toString().split(".")[1] || "").length, r = (e.toString().split(".")[1] || "").length, a = n > r ? n : r, s = parseInt(t.toFixed(a).replace(".", "")), l = parseInt(e.toFixed(a).replace(".", ""));
|
|
47413
47413
|
return s % l / Math.pow(10, a);
|
|
47414
47414
|
}
|
|
47415
|
-
class Bd extends
|
|
47415
|
+
class Bd extends Tn {
|
|
47416
47416
|
constructor() {
|
|
47417
47417
|
super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
|
|
47418
47418
|
}
|
|
@@ -47582,9 +47582,9 @@ Bd.create = (t) => new Bd({
|
|
|
47582
47582
|
checks: [],
|
|
47583
47583
|
typeName: tn.ZodNumber,
|
|
47584
47584
|
coerce: (t == null ? void 0 : t.coerce) || !1,
|
|
47585
|
-
...
|
|
47585
|
+
...yn(t)
|
|
47586
47586
|
});
|
|
47587
|
-
class Hd extends
|
|
47587
|
+
class Hd extends Tn {
|
|
47588
47588
|
constructor() {
|
|
47589
47589
|
super(...arguments), this.min = this.gte, this.max = this.lte;
|
|
47590
47590
|
}
|
|
@@ -47717,10 +47717,10 @@ Hd.create = (t) => {
|
|
|
47717
47717
|
checks: [],
|
|
47718
47718
|
typeName: tn.ZodBigInt,
|
|
47719
47719
|
coerce: (e = t == null ? void 0 : t.coerce) !== null && e !== void 0 ? e : !1,
|
|
47720
|
-
...
|
|
47720
|
+
...yn(t)
|
|
47721
47721
|
});
|
|
47722
47722
|
};
|
|
47723
|
-
class m0 extends
|
|
47723
|
+
class m0 extends Tn {
|
|
47724
47724
|
_parse(e) {
|
|
47725
47725
|
if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== _t.boolean) {
|
|
47726
47726
|
const r = this._getOrReturnCtx(e);
|
|
@@ -47736,9 +47736,9 @@ class m0 extends xn {
|
|
|
47736
47736
|
m0.create = (t) => new m0({
|
|
47737
47737
|
typeName: tn.ZodBoolean,
|
|
47738
47738
|
coerce: (t == null ? void 0 : t.coerce) || !1,
|
|
47739
|
-
...
|
|
47739
|
+
...yn(t)
|
|
47740
47740
|
});
|
|
47741
|
-
class Oh extends
|
|
47741
|
+
class Oh extends Tn {
|
|
47742
47742
|
_parse(e) {
|
|
47743
47743
|
if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== _t.date) {
|
|
47744
47744
|
const s = this._getOrReturnCtx(e);
|
|
@@ -47814,9 +47814,9 @@ Oh.create = (t) => new Oh({
|
|
|
47814
47814
|
checks: [],
|
|
47815
47815
|
coerce: (t == null ? void 0 : t.coerce) || !1,
|
|
47816
47816
|
typeName: tn.ZodDate,
|
|
47817
|
-
...
|
|
47817
|
+
...yn(t)
|
|
47818
47818
|
});
|
|
47819
|
-
class Hk extends
|
|
47819
|
+
class Hk extends Tn {
|
|
47820
47820
|
_parse(e) {
|
|
47821
47821
|
if (this._getType(e) !== _t.symbol) {
|
|
47822
47822
|
const r = this._getOrReturnCtx(e);
|
|
@@ -47831,9 +47831,9 @@ class Hk extends xn {
|
|
|
47831
47831
|
}
|
|
47832
47832
|
Hk.create = (t) => new Hk({
|
|
47833
47833
|
typeName: tn.ZodSymbol,
|
|
47834
|
-
...
|
|
47834
|
+
...yn(t)
|
|
47835
47835
|
});
|
|
47836
|
-
class g0 extends
|
|
47836
|
+
class g0 extends Tn {
|
|
47837
47837
|
_parse(e) {
|
|
47838
47838
|
if (this._getType(e) !== _t.undefined) {
|
|
47839
47839
|
const r = this._getOrReturnCtx(e);
|
|
@@ -47848,9 +47848,9 @@ class g0 extends xn {
|
|
|
47848
47848
|
}
|
|
47849
47849
|
g0.create = (t) => new g0({
|
|
47850
47850
|
typeName: tn.ZodUndefined,
|
|
47851
|
-
...
|
|
47851
|
+
...yn(t)
|
|
47852
47852
|
});
|
|
47853
|
-
class v0 extends
|
|
47853
|
+
class v0 extends Tn {
|
|
47854
47854
|
_parse(e) {
|
|
47855
47855
|
if (this._getType(e) !== _t.null) {
|
|
47856
47856
|
const r = this._getOrReturnCtx(e);
|
|
@@ -47865,9 +47865,9 @@ class v0 extends xn {
|
|
|
47865
47865
|
}
|
|
47866
47866
|
v0.create = (t) => new v0({
|
|
47867
47867
|
typeName: tn.ZodNull,
|
|
47868
|
-
...
|
|
47868
|
+
...yn(t)
|
|
47869
47869
|
});
|
|
47870
|
-
class og extends
|
|
47870
|
+
class og extends Tn {
|
|
47871
47871
|
constructor() {
|
|
47872
47872
|
super(...arguments), this._any = !0;
|
|
47873
47873
|
}
|
|
@@ -47877,9 +47877,9 @@ class og extends xn {
|
|
|
47877
47877
|
}
|
|
47878
47878
|
og.create = (t) => new og({
|
|
47879
47879
|
typeName: tn.ZodAny,
|
|
47880
|
-
...
|
|
47880
|
+
...yn(t)
|
|
47881
47881
|
});
|
|
47882
|
-
class Rh extends
|
|
47882
|
+
class Rh extends Tn {
|
|
47883
47883
|
constructor() {
|
|
47884
47884
|
super(...arguments), this._unknown = !0;
|
|
47885
47885
|
}
|
|
@@ -47889,9 +47889,9 @@ class Rh extends xn {
|
|
|
47889
47889
|
}
|
|
47890
47890
|
Rh.create = (t) => new Rh({
|
|
47891
47891
|
typeName: tn.ZodUnknown,
|
|
47892
|
-
...
|
|
47892
|
+
...yn(t)
|
|
47893
47893
|
});
|
|
47894
|
-
class pc extends
|
|
47894
|
+
class pc extends Tn {
|
|
47895
47895
|
_parse(e) {
|
|
47896
47896
|
const n = this._getOrReturnCtx(e);
|
|
47897
47897
|
return ft(n, {
|
|
@@ -47903,9 +47903,9 @@ class pc extends xn {
|
|
|
47903
47903
|
}
|
|
47904
47904
|
pc.create = (t) => new pc({
|
|
47905
47905
|
typeName: tn.ZodNever,
|
|
47906
|
-
...
|
|
47906
|
+
...yn(t)
|
|
47907
47907
|
});
|
|
47908
|
-
class $k extends
|
|
47908
|
+
class $k extends Tn {
|
|
47909
47909
|
_parse(e) {
|
|
47910
47910
|
if (this._getType(e) !== _t.undefined) {
|
|
47911
47911
|
const r = this._getOrReturnCtx(e);
|
|
@@ -47920,9 +47920,9 @@ class $k extends xn {
|
|
|
47920
47920
|
}
|
|
47921
47921
|
$k.create = (t) => new $k({
|
|
47922
47922
|
typeName: tn.ZodVoid,
|
|
47923
|
-
...
|
|
47923
|
+
...yn(t)
|
|
47924
47924
|
});
|
|
47925
|
-
class ll extends
|
|
47925
|
+
class ll extends Tn {
|
|
47926
47926
|
_parse(e) {
|
|
47927
47927
|
const { ctx: n, status: r } = this._processInputParams(e), a = this._def;
|
|
47928
47928
|
if (n.parsedType !== _t.array)
|
|
@@ -47993,7 +47993,7 @@ ll.create = (t, e) => new ll({
|
|
|
47993
47993
|
maxLength: null,
|
|
47994
47994
|
exactLength: null,
|
|
47995
47995
|
typeName: tn.ZodArray,
|
|
47996
|
-
...
|
|
47996
|
+
...yn(e)
|
|
47997
47997
|
});
|
|
47998
47998
|
function Am(t) {
|
|
47999
47999
|
if (t instanceof qr) {
|
|
@@ -48011,7 +48011,7 @@ function Am(t) {
|
|
|
48011
48011
|
type: Am(t.element)
|
|
48012
48012
|
}) : t instanceof su ? su.create(Am(t.unwrap())) : t instanceof qd ? qd.create(Am(t.unwrap())) : t instanceof cu ? cu.create(t.items.map((e) => Am(e))) : t;
|
|
48013
48013
|
}
|
|
48014
|
-
class qr extends
|
|
48014
|
+
class qr extends Tn {
|
|
48015
48015
|
constructor() {
|
|
48016
48016
|
super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
|
|
48017
48017
|
}
|
|
@@ -48282,23 +48282,23 @@ qr.create = (t, e) => new qr({
|
|
|
48282
48282
|
unknownKeys: "strip",
|
|
48283
48283
|
catchall: pc.create(),
|
|
48284
48284
|
typeName: tn.ZodObject,
|
|
48285
|
-
...
|
|
48285
|
+
...yn(e)
|
|
48286
48286
|
});
|
|
48287
48287
|
qr.strictCreate = (t, e) => new qr({
|
|
48288
48288
|
shape: () => t,
|
|
48289
48289
|
unknownKeys: "strict",
|
|
48290
48290
|
catchall: pc.create(),
|
|
48291
48291
|
typeName: tn.ZodObject,
|
|
48292
|
-
...
|
|
48292
|
+
...yn(e)
|
|
48293
48293
|
});
|
|
48294
48294
|
qr.lazycreate = (t, e) => new qr({
|
|
48295
48295
|
shape: t,
|
|
48296
48296
|
unknownKeys: "strip",
|
|
48297
48297
|
catchall: pc.create(),
|
|
48298
48298
|
typeName: tn.ZodObject,
|
|
48299
|
-
...
|
|
48299
|
+
...yn(e)
|
|
48300
48300
|
});
|
|
48301
|
-
class y0 extends
|
|
48301
|
+
class y0 extends Tn {
|
|
48302
48302
|
_parse(e) {
|
|
48303
48303
|
const { ctx: n } = this._processInputParams(e), r = this._def.options;
|
|
48304
48304
|
function a(s) {
|
|
@@ -48369,10 +48369,10 @@ class y0 extends xn {
|
|
|
48369
48369
|
y0.create = (t, e) => new y0({
|
|
48370
48370
|
options: t,
|
|
48371
48371
|
typeName: tn.ZodUnion,
|
|
48372
|
-
...
|
|
48372
|
+
...yn(e)
|
|
48373
48373
|
});
|
|
48374
48374
|
const ac = (t) => t instanceof S0 ? ac(t.schema) : t instanceof hl ? ac(t.innerType()) : t instanceof k0 ? [t.value] : t instanceof $d ? t.options : t instanceof x0 ? $n.objectValues(t.enum) : t instanceof T0 ? ac(t._def.innerType) : t instanceof g0 ? [void 0] : t instanceof v0 ? [null] : t instanceof su ? [void 0, ...ac(t.unwrap())] : t instanceof qd ? [null, ...ac(t.unwrap())] : t instanceof wP || t instanceof w0 ? ac(t.unwrap()) : t instanceof _0 ? ac(t._def.innerType) : [];
|
|
48375
|
-
class g1 extends
|
|
48375
|
+
class g1 extends Tn {
|
|
48376
48376
|
_parse(e) {
|
|
48377
48377
|
const { ctx: n } = this._processInputParams(e);
|
|
48378
48378
|
if (n.parsedType !== _t.object)
|
|
@@ -48430,7 +48430,7 @@ class g1 extends xn {
|
|
|
48430
48430
|
discriminator: e,
|
|
48431
48431
|
options: n,
|
|
48432
48432
|
optionsMap: a,
|
|
48433
|
-
...
|
|
48433
|
+
...yn(r)
|
|
48434
48434
|
});
|
|
48435
48435
|
}
|
|
48436
48436
|
}
|
|
@@ -48460,7 +48460,7 @@ function rR(t, e) {
|
|
|
48460
48460
|
return { valid: !0, data: a };
|
|
48461
48461
|
} else return n === _t.date && r === _t.date && +t == +e ? { valid: !0, data: t } : { valid: !1 };
|
|
48462
48462
|
}
|
|
48463
|
-
class b0 extends
|
|
48463
|
+
class b0 extends Tn {
|
|
48464
48464
|
_parse(e) {
|
|
48465
48465
|
const { status: n, ctx: r } = this._processInputParams(e), a = (s, l) => {
|
|
48466
48466
|
if (tR(s) || tR(l))
|
|
@@ -48496,9 +48496,9 @@ b0.create = (t, e, n) => new b0({
|
|
|
48496
48496
|
left: t,
|
|
48497
48497
|
right: e,
|
|
48498
48498
|
typeName: tn.ZodIntersection,
|
|
48499
|
-
...
|
|
48499
|
+
...yn(n)
|
|
48500
48500
|
});
|
|
48501
|
-
class cu extends
|
|
48501
|
+
class cu extends Tn {
|
|
48502
48502
|
_parse(e) {
|
|
48503
48503
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
48504
48504
|
if (r.parsedType !== _t.array)
|
|
@@ -48545,10 +48545,10 @@ cu.create = (t, e) => {
|
|
|
48545
48545
|
items: t,
|
|
48546
48546
|
typeName: tn.ZodTuple,
|
|
48547
48547
|
rest: null,
|
|
48548
|
-
...
|
|
48548
|
+
...yn(e)
|
|
48549
48549
|
});
|
|
48550
48550
|
};
|
|
48551
|
-
class C0 extends
|
|
48551
|
+
class C0 extends Tn {
|
|
48552
48552
|
get keySchema() {
|
|
48553
48553
|
return this._def.keyType;
|
|
48554
48554
|
}
|
|
@@ -48576,20 +48576,20 @@ class C0 extends xn {
|
|
|
48576
48576
|
return this._def.valueType;
|
|
48577
48577
|
}
|
|
48578
48578
|
static create(e, n, r) {
|
|
48579
|
-
return n instanceof
|
|
48579
|
+
return n instanceof Tn ? new C0({
|
|
48580
48580
|
keyType: e,
|
|
48581
48581
|
valueType: n,
|
|
48582
48582
|
typeName: tn.ZodRecord,
|
|
48583
|
-
...
|
|
48583
|
+
...yn(r)
|
|
48584
48584
|
}) : new C0({
|
|
48585
48585
|
keyType: sl.create(),
|
|
48586
48586
|
valueType: e,
|
|
48587
48587
|
typeName: tn.ZodRecord,
|
|
48588
|
-
...
|
|
48588
|
+
...yn(n)
|
|
48589
48589
|
});
|
|
48590
48590
|
}
|
|
48591
48591
|
}
|
|
48592
|
-
class qk extends
|
|
48592
|
+
class qk extends Tn {
|
|
48593
48593
|
get keySchema() {
|
|
48594
48594
|
return this._def.keyType;
|
|
48595
48595
|
}
|
|
@@ -48635,9 +48635,9 @@ qk.create = (t, e, n) => new qk({
|
|
|
48635
48635
|
valueType: e,
|
|
48636
48636
|
keyType: t,
|
|
48637
48637
|
typeName: tn.ZodMap,
|
|
48638
|
-
...
|
|
48638
|
+
...yn(n)
|
|
48639
48639
|
});
|
|
48640
|
-
class Mh extends
|
|
48640
|
+
class Mh extends Tn {
|
|
48641
48641
|
_parse(e) {
|
|
48642
48642
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
48643
48643
|
if (r.parsedType !== _t.set)
|
|
@@ -48699,9 +48699,9 @@ Mh.create = (t, e) => new Mh({
|
|
|
48699
48699
|
minSize: null,
|
|
48700
48700
|
maxSize: null,
|
|
48701
48701
|
typeName: tn.ZodSet,
|
|
48702
|
-
...
|
|
48702
|
+
...yn(e)
|
|
48703
48703
|
});
|
|
48704
|
-
class Km extends
|
|
48704
|
+
class Km extends Tn {
|
|
48705
48705
|
constructor() {
|
|
48706
48706
|
super(...arguments), this.validate = this.implement;
|
|
48707
48707
|
}
|
|
@@ -48798,11 +48798,11 @@ class Km extends xn {
|
|
|
48798
48798
|
args: e || cu.create([]).rest(Rh.create()),
|
|
48799
48799
|
returns: n || Rh.create(),
|
|
48800
48800
|
typeName: tn.ZodFunction,
|
|
48801
|
-
...
|
|
48801
|
+
...yn(r)
|
|
48802
48802
|
});
|
|
48803
48803
|
}
|
|
48804
48804
|
}
|
|
48805
|
-
class S0 extends
|
|
48805
|
+
class S0 extends Tn {
|
|
48806
48806
|
get schema() {
|
|
48807
48807
|
return this._def.getter();
|
|
48808
48808
|
}
|
|
@@ -48814,9 +48814,9 @@ class S0 extends xn {
|
|
|
48814
48814
|
S0.create = (t, e) => new S0({
|
|
48815
48815
|
getter: t,
|
|
48816
48816
|
typeName: tn.ZodLazy,
|
|
48817
|
-
...
|
|
48817
|
+
...yn(e)
|
|
48818
48818
|
});
|
|
48819
|
-
class k0 extends
|
|
48819
|
+
class k0 extends Tn {
|
|
48820
48820
|
_parse(e) {
|
|
48821
48821
|
if (e.data !== this._def.value) {
|
|
48822
48822
|
const n = this._getOrReturnCtx(e);
|
|
@@ -48835,16 +48835,16 @@ class k0 extends xn {
|
|
|
48835
48835
|
k0.create = (t, e) => new k0({
|
|
48836
48836
|
value: t,
|
|
48837
48837
|
typeName: tn.ZodLiteral,
|
|
48838
|
-
...
|
|
48838
|
+
...yn(e)
|
|
48839
48839
|
});
|
|
48840
48840
|
function dF(t, e) {
|
|
48841
48841
|
return new $d({
|
|
48842
48842
|
values: t,
|
|
48843
48843
|
typeName: tn.ZodEnum,
|
|
48844
|
-
...
|
|
48844
|
+
...yn(e)
|
|
48845
48845
|
});
|
|
48846
48846
|
}
|
|
48847
|
-
class $d extends
|
|
48847
|
+
class $d extends Tn {
|
|
48848
48848
|
constructor() {
|
|
48849
48849
|
super(...arguments), zy.set(this, void 0);
|
|
48850
48850
|
}
|
|
@@ -48903,7 +48903,7 @@ class $d extends xn {
|
|
|
48903
48903
|
}
|
|
48904
48904
|
zy = /* @__PURE__ */ new WeakMap();
|
|
48905
48905
|
$d.create = dF;
|
|
48906
|
-
class x0 extends
|
|
48906
|
+
class x0 extends Tn {
|
|
48907
48907
|
constructor() {
|
|
48908
48908
|
super(...arguments), By.set(this, void 0);
|
|
48909
48909
|
}
|
|
@@ -48935,9 +48935,9 @@ By = /* @__PURE__ */ new WeakMap();
|
|
|
48935
48935
|
x0.create = (t, e) => new x0({
|
|
48936
48936
|
values: t,
|
|
48937
48937
|
typeName: tn.ZodNativeEnum,
|
|
48938
|
-
...
|
|
48938
|
+
...yn(e)
|
|
48939
48939
|
});
|
|
48940
|
-
class sg extends
|
|
48940
|
+
class sg extends Tn {
|
|
48941
48941
|
unwrap() {
|
|
48942
48942
|
return this._def.type;
|
|
48943
48943
|
}
|
|
@@ -48959,9 +48959,9 @@ class sg extends xn {
|
|
|
48959
48959
|
sg.create = (t, e) => new sg({
|
|
48960
48960
|
type: t,
|
|
48961
48961
|
typeName: tn.ZodPromise,
|
|
48962
|
-
...
|
|
48962
|
+
...yn(e)
|
|
48963
48963
|
});
|
|
48964
|
-
class hl extends
|
|
48964
|
+
class hl extends Tn {
|
|
48965
48965
|
innerType() {
|
|
48966
48966
|
return this._def.schema;
|
|
48967
48967
|
}
|
|
@@ -49042,15 +49042,15 @@ hl.create = (t, e, n) => new hl({
|
|
|
49042
49042
|
schema: t,
|
|
49043
49043
|
typeName: tn.ZodEffects,
|
|
49044
49044
|
effect: e,
|
|
49045
|
-
...
|
|
49045
|
+
...yn(n)
|
|
49046
49046
|
});
|
|
49047
49047
|
hl.createWithPreprocess = (t, e, n) => new hl({
|
|
49048
49048
|
schema: e,
|
|
49049
49049
|
effect: { type: "preprocess", transform: t },
|
|
49050
49050
|
typeName: tn.ZodEffects,
|
|
49051
|
-
...
|
|
49051
|
+
...yn(n)
|
|
49052
49052
|
});
|
|
49053
|
-
class su extends
|
|
49053
|
+
class su extends Tn {
|
|
49054
49054
|
_parse(e) {
|
|
49055
49055
|
return this._getType(e) === _t.undefined ? ro(void 0) : this._def.innerType._parse(e);
|
|
49056
49056
|
}
|
|
@@ -49061,9 +49061,9 @@ class su extends xn {
|
|
|
49061
49061
|
su.create = (t, e) => new su({
|
|
49062
49062
|
innerType: t,
|
|
49063
49063
|
typeName: tn.ZodOptional,
|
|
49064
|
-
...
|
|
49064
|
+
...yn(e)
|
|
49065
49065
|
});
|
|
49066
|
-
class qd extends
|
|
49066
|
+
class qd extends Tn {
|
|
49067
49067
|
_parse(e) {
|
|
49068
49068
|
return this._getType(e) === _t.null ? ro(null) : this._def.innerType._parse(e);
|
|
49069
49069
|
}
|
|
@@ -49074,9 +49074,9 @@ class qd extends xn {
|
|
|
49074
49074
|
qd.create = (t, e) => new qd({
|
|
49075
49075
|
innerType: t,
|
|
49076
49076
|
typeName: tn.ZodNullable,
|
|
49077
|
-
...
|
|
49077
|
+
...yn(e)
|
|
49078
49078
|
});
|
|
49079
|
-
class T0 extends
|
|
49079
|
+
class T0 extends Tn {
|
|
49080
49080
|
_parse(e) {
|
|
49081
49081
|
const { ctx: n } = this._processInputParams(e);
|
|
49082
49082
|
let r = n.data;
|
|
@@ -49094,9 +49094,9 @@ T0.create = (t, e) => new T0({
|
|
|
49094
49094
|
innerType: t,
|
|
49095
49095
|
typeName: tn.ZodDefault,
|
|
49096
49096
|
defaultValue: typeof e.default == "function" ? e.default : () => e.default,
|
|
49097
|
-
...
|
|
49097
|
+
...yn(e)
|
|
49098
49098
|
});
|
|
49099
|
-
class _0 extends
|
|
49099
|
+
class _0 extends Tn {
|
|
49100
49100
|
_parse(e) {
|
|
49101
49101
|
const { ctx: n } = this._processInputParams(e), r = {
|
|
49102
49102
|
...n,
|
|
@@ -49137,9 +49137,9 @@ _0.create = (t, e) => new _0({
|
|
|
49137
49137
|
innerType: t,
|
|
49138
49138
|
typeName: tn.ZodCatch,
|
|
49139
49139
|
catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
|
|
49140
|
-
...
|
|
49140
|
+
...yn(e)
|
|
49141
49141
|
});
|
|
49142
|
-
class Wk extends
|
|
49142
|
+
class Wk extends Tn {
|
|
49143
49143
|
_parse(e) {
|
|
49144
49144
|
if (this._getType(e) !== _t.nan) {
|
|
49145
49145
|
const r = this._getOrReturnCtx(e);
|
|
@@ -49154,10 +49154,10 @@ class Wk extends xn {
|
|
|
49154
49154
|
}
|
|
49155
49155
|
Wk.create = (t) => new Wk({
|
|
49156
49156
|
typeName: tn.ZodNaN,
|
|
49157
|
-
...
|
|
49157
|
+
...yn(t)
|
|
49158
49158
|
});
|
|
49159
49159
|
const kJ = Symbol("zod_brand");
|
|
49160
|
-
class wP extends
|
|
49160
|
+
class wP extends Tn {
|
|
49161
49161
|
_parse(e) {
|
|
49162
49162
|
const { ctx: n } = this._processInputParams(e), r = n.data;
|
|
49163
49163
|
return this._def.type._parse({
|
|
@@ -49170,7 +49170,7 @@ class wP extends xn {
|
|
|
49170
49170
|
return this._def.type;
|
|
49171
49171
|
}
|
|
49172
49172
|
}
|
|
49173
|
-
class N0 extends
|
|
49173
|
+
class N0 extends Tn {
|
|
49174
49174
|
_parse(e) {
|
|
49175
49175
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
49176
49176
|
if (r.common.async)
|
|
@@ -49210,7 +49210,7 @@ class N0 extends xn {
|
|
|
49210
49210
|
});
|
|
49211
49211
|
}
|
|
49212
49212
|
}
|
|
49213
|
-
class w0 extends
|
|
49213
|
+
class w0 extends Tn {
|
|
49214
49214
|
_parse(e) {
|
|
49215
49215
|
const n = this._def.innerType._parse(e), r = (a) => (Ah(a) && (a.value = Object.freeze(a.value)), a);
|
|
49216
49216
|
return p0(n) ? n.then((a) => r(a)) : r(n);
|
|
@@ -49222,7 +49222,7 @@ class w0 extends xn {
|
|
|
49222
49222
|
w0.create = (t, e) => new w0({
|
|
49223
49223
|
innerType: t,
|
|
49224
49224
|
typeName: tn.ZodReadonly,
|
|
49225
|
-
...
|
|
49225
|
+
...yn(e)
|
|
49226
49226
|
});
|
|
49227
49227
|
function fF(t, e = {}, n) {
|
|
49228
49228
|
return t ? og.create().superRefine((r, a) => {
|
|
@@ -49276,7 +49276,7 @@ var _I = /* @__PURE__ */ Object.freeze({
|
|
|
49276
49276
|
},
|
|
49277
49277
|
ZodParsedType: _t,
|
|
49278
49278
|
getParsedType: sc,
|
|
49279
|
-
ZodType:
|
|
49279
|
+
ZodType: Tn,
|
|
49280
49280
|
datetimeRegex: cF,
|
|
49281
49281
|
ZodString: sl,
|
|
49282
49282
|
ZodNumber: Bd,
|
|
@@ -49317,8 +49317,8 @@ var _I = /* @__PURE__ */ Object.freeze({
|
|
|
49317
49317
|
ZodPipeline: N0,
|
|
49318
49318
|
ZodReadonly: w0,
|
|
49319
49319
|
custom: fF,
|
|
49320
|
-
Schema:
|
|
49321
|
-
ZodSchema:
|
|
49320
|
+
Schema: Tn,
|
|
49321
|
+
ZodSchema: Tn,
|
|
49322
49322
|
late: xJ,
|
|
49323
49323
|
get ZodFirstPartyTypeKind() {
|
|
49324
49324
|
return tn;
|
|
@@ -50104,8 +50104,8 @@ function wee(t = {}) {
|
|
|
50104
50104
|
if (!gt && Qt && b.state.next({ ...n }), e.resolver) {
|
|
50105
50105
|
const { errors: Lt } = await Z([Ce]);
|
|
50106
50106
|
if (ut(Ee), Ge) {
|
|
50107
|
-
const un = NI(n.errors, r, Ce),
|
|
50108
|
-
Ft =
|
|
50107
|
+
const un = NI(n.errors, r, Ce), Sn = NI(Lt, r, un.name || Ce);
|
|
50108
|
+
Ft = Sn.error, Ce = Sn.name, ue = Ao(Lt);
|
|
50109
50109
|
}
|
|
50110
50110
|
} else
|
|
50111
50111
|
D([Ce], !0), Ft = (await OI(Oe, c.disabled, s, w, e.shouldUseNativeValidation))[Ce], D([Ce]), ut(Ee), Ge && (Ft ? ue = !1 : v.isValid && (ue = await W(r, !0)));
|
|
@@ -50312,7 +50312,7 @@ function wee(t = {}) {
|
|
|
50312
50312
|
isSubmitSuccessful: le.keepIsSubmitSuccessful ? n.isSubmitSuccessful : !1,
|
|
50313
50313
|
isSubmitting: !1
|
|
50314
50314
|
});
|
|
50315
|
-
},
|
|
50315
|
+
}, _n = (X, le) => Wn(nu(X) ? X(s) : X, le);
|
|
50316
50316
|
return {
|
|
50317
50317
|
control: {
|
|
50318
50318
|
register: mt,
|
|
@@ -50330,7 +50330,7 @@ function wee(t = {}) {
|
|
|
50330
50330
|
_getFieldArray: _e,
|
|
50331
50331
|
_reset: Wn,
|
|
50332
50332
|
_resetDefaultValues: () => nu(e.defaultValues) && e.defaultValues().then((X) => {
|
|
50333
|
-
|
|
50333
|
+
_n(X, e.resetOptions), b.state.next({
|
|
50334
50334
|
isLoading: !1
|
|
50335
50335
|
});
|
|
50336
50336
|
}),
|
|
@@ -50387,7 +50387,7 @@ function wee(t = {}) {
|
|
|
50387
50387
|
watch: wt,
|
|
50388
50388
|
setValue: We,
|
|
50389
50389
|
getValues: te,
|
|
50390
|
-
reset:
|
|
50390
|
+
reset: _n,
|
|
50391
50391
|
resetField: gr,
|
|
50392
50392
|
clearErrors: q,
|
|
50393
50393
|
unregister: kt,
|
|
@@ -50759,8 +50759,8 @@ const qee = ({ commands: t, activeIndex: e, theme: n, onSelect: r, onActiveIndex
|
|
|
50759
50759
|
"div",
|
|
50760
50760
|
{
|
|
50761
50761
|
className: "ringg_ai-mt-0.5 ringg_ai-flex-shrink-0 ringg_ai-w-6 ringg_ai-h-6 ringg_ai-rounded-md ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center",
|
|
50762
|
-
style: { backgroundColor: p ?
|
|
50763
|
-
children: /* @__PURE__ */ F.jsx(QQ, { className: "ringg_ai-w-3 ringg_ai-h-3", style: { color:
|
|
50762
|
+
style: { backgroundColor: p ? En(n.primaryColor) + "18" : n.surfaceColor },
|
|
50763
|
+
children: /* @__PURE__ */ F.jsx(QQ, { className: "ringg_ai-w-3 ringg_ai-h-3", style: { color: En(n.primaryColor) } })
|
|
50764
50764
|
}
|
|
50765
50765
|
),
|
|
50766
50766
|
/* @__PURE__ */ F.jsxs("div", { className: "ringg_ai-flex-1 ringg_ai-min-w-0", children: [
|
|
@@ -50957,7 +50957,7 @@ const qee = ({ commands: t, activeIndex: e, theme: n, onSelect: r, onActiveIndex
|
|
|
50957
50957
|
borderColor: s.borderColor,
|
|
50958
50958
|
borderRadius: l,
|
|
50959
50959
|
// @ts-expect-error CSS variable
|
|
50960
|
-
"--tw-ring-color":
|
|
50960
|
+
"--tw-ring-color": En(s.primaryColor)
|
|
50961
50961
|
},
|
|
50962
50962
|
maxLength: 500
|
|
50963
50963
|
}
|
|
@@ -51173,7 +51173,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51173
51173
|
};
|
|
51174
51174
|
return /* @__PURE__ */ F.jsxs("div", { children: [
|
|
51175
51175
|
/* @__PURE__ */ F.jsxs("div", { className: "ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-mb-3", children: [
|
|
51176
|
-
/* @__PURE__ */ F.jsx(kP, { className: "ringg_ai-w-4 ringg_ai-h-4", style: { color:
|
|
51176
|
+
/* @__PURE__ */ F.jsx(kP, { className: "ringg_ai-w-4 ringg_ai-h-4", style: { color: En(r.primaryColor) } }),
|
|
51177
51177
|
/* @__PURE__ */ F.jsx("p", { className: "ringg_ai-text-sm ringg_ai-font-medium", style: { color: r.textColor }, children: s.title })
|
|
51178
51178
|
] }),
|
|
51179
51179
|
/* @__PURE__ */ F.jsxs("p", { className: "ringg_ai-text-xs ringg_ai-mb-3", style: { color: r.mutedTextColor }, children: [
|
|
@@ -51199,7 +51199,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51199
51199
|
border: c === w.date ? "none" : `1px solid ${r.borderColor}`,
|
|
51200
51200
|
boxShadow: c === w.date ? "0 2px 4px rgba(0,0,0,0.1)" : "none",
|
|
51201
51201
|
// @ts-expect-error CSS variable
|
|
51202
|
-
"--tw-ring-color":
|
|
51202
|
+
"--tw-ring-color": En(r.primaryColor)
|
|
51203
51203
|
},
|
|
51204
51204
|
children: w.dateLabel
|
|
51205
51205
|
},
|
|
@@ -51223,10 +51223,10 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51223
51223
|
borderRadius: a,
|
|
51224
51224
|
...(p == null ? void 0 : p.id) === w.id ? Gr(r.primaryColor) : { backgroundColor: "white" },
|
|
51225
51225
|
color: (p == null ? void 0 : p.id) === w.id ? r.primaryTextColor : r.textColor,
|
|
51226
|
-
border: `1px solid ${(p == null ? void 0 : p.id) === w.id ?
|
|
51226
|
+
border: `1px solid ${(p == null ? void 0 : p.id) === w.id ? En(r.primaryColor) : r.borderColor}`,
|
|
51227
51227
|
boxShadow: (p == null ? void 0 : p.id) === w.id ? "0 2px 4px rgba(0,0,0,0.1)" : "none",
|
|
51228
51228
|
// @ts-expect-error CSS variable
|
|
51229
|
-
"--tw-ring-color":
|
|
51229
|
+
"--tw-ring-color": En(r.primaryColor)
|
|
51230
51230
|
},
|
|
51231
51231
|
children: BF(w.datetime, s.timezone)
|
|
51232
51232
|
},
|
|
@@ -51248,7 +51248,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51248
51248
|
...!p || e ? { backgroundColor: r.borderColor } : Gr(r.primaryColor),
|
|
51249
51249
|
color: !p || e ? r.mutedTextColor : r.primaryTextColor,
|
|
51250
51250
|
// @ts-expect-error CSS variable for focus ring
|
|
51251
|
-
"--tw-ring-color":
|
|
51251
|
+
"--tw-ring-color": En(r.primaryColor)
|
|
51252
51252
|
},
|
|
51253
51253
|
children: e ? /* @__PURE__ */ F.jsxs("span", { className: "ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2", children: [
|
|
51254
51254
|
/* @__PURE__ */ F.jsx(pg, { className: "ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin" }),
|
|
@@ -51322,7 +51322,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51322
51322
|
}), j = "focus:ringg_ai-outline-none focus:ringg_ai-ring-2";
|
|
51323
51323
|
return /* @__PURE__ */ F.jsxs("div", { children: [
|
|
51324
51324
|
/* @__PURE__ */ F.jsxs("div", { className: "ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-mb-2", children: [
|
|
51325
|
-
/* @__PURE__ */ F.jsx($j, { className: "ringg_ai-w-4 ringg_ai-h-4", style: { color:
|
|
51325
|
+
/* @__PURE__ */ F.jsx($j, { className: "ringg_ai-w-4 ringg_ai-h-4", style: { color: En(r.primaryColor) } }),
|
|
51326
51326
|
/* @__PURE__ */ F.jsx("p", { className: "ringg_ai-text-sm ringg_ai-font-medium", style: { color: r.textColor }, children: s.title })
|
|
51327
51327
|
] }),
|
|
51328
51328
|
s.description && /* @__PURE__ */ F.jsx("p", { className: "ringg_ai-text-xs ringg_ai-mb-3", style: { color: r.mutedTextColor }, children: s.description }),
|
|
@@ -51344,7 +51344,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51344
51344
|
style: {
|
|
51345
51345
|
...D(L),
|
|
51346
51346
|
// @ts-expect-error CSS variable
|
|
51347
|
-
"--tw-ring-color":
|
|
51347
|
+
"--tw-ring-color": En(r.primaryColor)
|
|
51348
51348
|
},
|
|
51349
51349
|
children: [
|
|
51350
51350
|
/* @__PURE__ */ F.jsx("option", { value: "", children: N.placeholder || `Select ${N.label.toLowerCase()}` }),
|
|
@@ -51371,7 +51371,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51371
51371
|
checked: Se,
|
|
51372
51372
|
onChange: (W) => x(N.name, Z, W.target.checked),
|
|
51373
51373
|
className: "ringg_ai-w-3.5 ringg_ai-h-3.5 ringg_ai-rounded ringg_ai-border",
|
|
51374
|
-
style: { accentColor:
|
|
51374
|
+
style: { accentColor: En(r.primaryColor) }
|
|
51375
51375
|
}
|
|
51376
51376
|
),
|
|
51377
51377
|
/* @__PURE__ */ F.jsx("span", { className: "ringg_ai-text-xs", style: { color: r.textColor }, children: R(I) })
|
|
@@ -51387,7 +51387,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51387
51387
|
checked: l[N.name] || !1,
|
|
51388
51388
|
onChange: (I) => k(N.name, I.target.checked),
|
|
51389
51389
|
className: "ringg_ai-w-4 ringg_ai-h-4 ringg_ai-rounded ringg_ai-border",
|
|
51390
|
-
style: { accentColor:
|
|
51390
|
+
style: { accentColor: En(r.primaryColor) }
|
|
51391
51391
|
}
|
|
51392
51392
|
),
|
|
51393
51393
|
/* @__PURE__ */ F.jsx("span", { className: "ringg_ai-text-xs", style: { color: r.mutedTextColor }, children: N.placeholder || "Yes" })
|
|
@@ -51403,7 +51403,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51403
51403
|
style: {
|
|
51404
51404
|
...D(L),
|
|
51405
51405
|
// @ts-expect-error CSS variable
|
|
51406
|
-
"--tw-ring-color":
|
|
51406
|
+
"--tw-ring-color": En(r.primaryColor)
|
|
51407
51407
|
}
|
|
51408
51408
|
}
|
|
51409
51409
|
),
|
|
@@ -51418,7 +51418,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51418
51418
|
style: {
|
|
51419
51419
|
...D(L),
|
|
51420
51420
|
// @ts-expect-error CSS variable
|
|
51421
|
-
"--tw-ring-color":
|
|
51421
|
+
"--tw-ring-color": En(r.primaryColor)
|
|
51422
51422
|
}
|
|
51423
51423
|
}
|
|
51424
51424
|
),
|
|
@@ -51433,7 +51433,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51433
51433
|
style: {
|
|
51434
51434
|
...D(L),
|
|
51435
51435
|
// @ts-expect-error CSS variable
|
|
51436
|
-
"--tw-ring-color":
|
|
51436
|
+
"--tw-ring-color": En(r.primaryColor)
|
|
51437
51437
|
}
|
|
51438
51438
|
}
|
|
51439
51439
|
),
|
|
@@ -51455,7 +51455,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51455
51455
|
...e ? { backgroundColor: r.borderColor } : Gr(r.primaryColor),
|
|
51456
51456
|
color: e ? r.mutedTextColor : r.primaryTextColor,
|
|
51457
51457
|
// @ts-expect-error CSS variable for focus ring
|
|
51458
|
-
"--tw-ring-color":
|
|
51458
|
+
"--tw-ring-color": En(r.primaryColor)
|
|
51459
51459
|
},
|
|
51460
51460
|
children: e ? /* @__PURE__ */ F.jsxs("span", { className: "ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2", children: [
|
|
51461
51461
|
/* @__PURE__ */ F.jsx(pg, { className: "ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin" }),
|
|
@@ -51546,7 +51546,7 @@ const HF = $.createContext(null), Uh = () => {
|
|
|
51546
51546
|
),
|
|
51547
51547
|
style: {
|
|
51548
51548
|
...w(R.style),
|
|
51549
|
-
"--tw-ring-color":
|
|
51549
|
+
"--tw-ring-color": En(a.primaryColor),
|
|
51550
51550
|
"--tw-ring-offset-color": a.backgroundColor
|
|
51551
51551
|
},
|
|
51552
51552
|
children: O ? /* @__PURE__ */ F.jsxs(F.Fragment, { children: [
|
|
@@ -51884,13 +51884,13 @@ Es.prototype.commaOrSpaceSeparated = !1;
|
|
|
51884
51884
|
Es.prototype.mustUseProperty = !1;
|
|
51885
51885
|
Es.prototype.defined = !1;
|
|
51886
51886
|
let Tte = 0;
|
|
51887
|
-
const
|
|
51887
|
+
const vn = jh(), ki = jh(), qF = jh(), Xe = jh(), Er = jh(), Zm = jh(), Qo = jh();
|
|
51888
51888
|
function jh() {
|
|
51889
51889
|
return 2 ** ++Tte;
|
|
51890
51890
|
}
|
|
51891
51891
|
const lR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
51892
51892
|
__proto__: null,
|
|
51893
|
-
boolean:
|
|
51893
|
+
boolean: vn,
|
|
51894
51894
|
booleanish: ki,
|
|
51895
51895
|
commaOrSpaceSeparated: Qo,
|
|
51896
51896
|
commaSeparated: Zm,
|
|
@@ -52040,38 +52040,38 @@ const ZF = gg({
|
|
|
52040
52040
|
accessKey: Er,
|
|
52041
52041
|
action: null,
|
|
52042
52042
|
allow: null,
|
|
52043
|
-
allowFullScreen:
|
|
52044
|
-
allowPaymentRequest:
|
|
52045
|
-
allowUserMedia:
|
|
52043
|
+
allowFullScreen: vn,
|
|
52044
|
+
allowPaymentRequest: vn,
|
|
52045
|
+
allowUserMedia: vn,
|
|
52046
52046
|
alt: null,
|
|
52047
52047
|
as: null,
|
|
52048
|
-
async:
|
|
52048
|
+
async: vn,
|
|
52049
52049
|
autoCapitalize: null,
|
|
52050
52050
|
autoComplete: Er,
|
|
52051
|
-
autoFocus:
|
|
52052
|
-
autoPlay:
|
|
52051
|
+
autoFocus: vn,
|
|
52052
|
+
autoPlay: vn,
|
|
52053
52053
|
blocking: Er,
|
|
52054
52054
|
capture: null,
|
|
52055
52055
|
charSet: null,
|
|
52056
|
-
checked:
|
|
52056
|
+
checked: vn,
|
|
52057
52057
|
cite: null,
|
|
52058
52058
|
className: Er,
|
|
52059
52059
|
cols: Xe,
|
|
52060
52060
|
colSpan: null,
|
|
52061
52061
|
content: null,
|
|
52062
52062
|
contentEditable: ki,
|
|
52063
|
-
controls:
|
|
52063
|
+
controls: vn,
|
|
52064
52064
|
controlsList: Er,
|
|
52065
52065
|
coords: Xe | Zm,
|
|
52066
52066
|
crossOrigin: null,
|
|
52067
52067
|
data: null,
|
|
52068
52068
|
dateTime: null,
|
|
52069
52069
|
decoding: null,
|
|
52070
|
-
default:
|
|
52071
|
-
defer:
|
|
52070
|
+
default: vn,
|
|
52071
|
+
defer: vn,
|
|
52072
52072
|
dir: null,
|
|
52073
52073
|
dirName: null,
|
|
52074
|
-
disabled:
|
|
52074
|
+
disabled: vn,
|
|
52075
52075
|
download: qF,
|
|
52076
52076
|
draggable: ki,
|
|
52077
52077
|
encType: null,
|
|
@@ -52081,11 +52081,11 @@ const ZF = gg({
|
|
|
52081
52081
|
formAction: null,
|
|
52082
52082
|
formEncType: null,
|
|
52083
52083
|
formMethod: null,
|
|
52084
|
-
formNoValidate:
|
|
52084
|
+
formNoValidate: vn,
|
|
52085
52085
|
formTarget: null,
|
|
52086
52086
|
headers: Er,
|
|
52087
52087
|
height: Xe,
|
|
52088
|
-
hidden:
|
|
52088
|
+
hidden: vn,
|
|
52089
52089
|
high: Xe,
|
|
52090
52090
|
href: null,
|
|
52091
52091
|
hrefLang: null,
|
|
@@ -52094,15 +52094,15 @@ const ZF = gg({
|
|
|
52094
52094
|
id: null,
|
|
52095
52095
|
imageSizes: null,
|
|
52096
52096
|
imageSrcSet: null,
|
|
52097
|
-
inert:
|
|
52097
|
+
inert: vn,
|
|
52098
52098
|
inputMode: null,
|
|
52099
52099
|
integrity: null,
|
|
52100
52100
|
is: null,
|
|
52101
|
-
isMap:
|
|
52101
|
+
isMap: vn,
|
|
52102
52102
|
itemId: null,
|
|
52103
52103
|
itemProp: Er,
|
|
52104
52104
|
itemRef: Er,
|
|
52105
|
-
itemScope:
|
|
52105
|
+
itemScope: vn,
|
|
52106
52106
|
itemType: Er,
|
|
52107
52107
|
kind: null,
|
|
52108
52108
|
label: null,
|
|
@@ -52110,7 +52110,7 @@ const ZF = gg({
|
|
|
52110
52110
|
language: null,
|
|
52111
52111
|
list: null,
|
|
52112
52112
|
loading: null,
|
|
52113
|
-
loop:
|
|
52113
|
+
loop: vn,
|
|
52114
52114
|
low: Xe,
|
|
52115
52115
|
manifest: null,
|
|
52116
52116
|
max: null,
|
|
@@ -52119,12 +52119,12 @@ const ZF = gg({
|
|
|
52119
52119
|
method: null,
|
|
52120
52120
|
min: null,
|
|
52121
52121
|
minLength: Xe,
|
|
52122
|
-
multiple:
|
|
52123
|
-
muted:
|
|
52122
|
+
multiple: vn,
|
|
52123
|
+
muted: vn,
|
|
52124
52124
|
name: null,
|
|
52125
52125
|
nonce: null,
|
|
52126
|
-
noModule:
|
|
52127
|
-
noValidate:
|
|
52126
|
+
noModule: vn,
|
|
52127
|
+
noValidate: vn,
|
|
52128
52128
|
onAbort: null,
|
|
52129
52129
|
onAfterPrint: null,
|
|
52130
52130
|
onAuxClick: null,
|
|
@@ -52213,31 +52213,31 @@ const ZF = gg({
|
|
|
52213
52213
|
onVolumeChange: null,
|
|
52214
52214
|
onWaiting: null,
|
|
52215
52215
|
onWheel: null,
|
|
52216
|
-
open:
|
|
52216
|
+
open: vn,
|
|
52217
52217
|
optimum: Xe,
|
|
52218
52218
|
pattern: null,
|
|
52219
52219
|
ping: Er,
|
|
52220
52220
|
placeholder: null,
|
|
52221
|
-
playsInline:
|
|
52221
|
+
playsInline: vn,
|
|
52222
52222
|
popover: null,
|
|
52223
52223
|
popoverTarget: null,
|
|
52224
52224
|
popoverTargetAction: null,
|
|
52225
52225
|
poster: null,
|
|
52226
52226
|
preload: null,
|
|
52227
|
-
readOnly:
|
|
52227
|
+
readOnly: vn,
|
|
52228
52228
|
referrerPolicy: null,
|
|
52229
52229
|
rel: Er,
|
|
52230
|
-
required:
|
|
52231
|
-
reversed:
|
|
52230
|
+
required: vn,
|
|
52231
|
+
reversed: vn,
|
|
52232
52232
|
rows: Xe,
|
|
52233
52233
|
rowSpan: Xe,
|
|
52234
52234
|
sandbox: Er,
|
|
52235
52235
|
scope: null,
|
|
52236
|
-
scoped:
|
|
52237
|
-
seamless:
|
|
52238
|
-
selected:
|
|
52239
|
-
shadowRootClonable:
|
|
52240
|
-
shadowRootDelegatesFocus:
|
|
52236
|
+
scoped: vn,
|
|
52237
|
+
seamless: vn,
|
|
52238
|
+
selected: vn,
|
|
52239
|
+
shadowRootClonable: vn,
|
|
52240
|
+
shadowRootDelegatesFocus: vn,
|
|
52241
52241
|
shadowRootMode: null,
|
|
52242
52242
|
shape: null,
|
|
52243
52243
|
size: Xe,
|
|
@@ -52257,7 +52257,7 @@ const ZF = gg({
|
|
|
52257
52257
|
title: null,
|
|
52258
52258
|
translate: null,
|
|
52259
52259
|
type: null,
|
|
52260
|
-
typeMustMatch:
|
|
52260
|
+
typeMustMatch: vn,
|
|
52261
52261
|
useMap: null,
|
|
52262
52262
|
value: ki,
|
|
52263
52263
|
width: Xe,
|
|
@@ -52303,9 +52303,9 @@ const ZF = gg({
|
|
|
52303
52303
|
// `<object>`
|
|
52304
52304
|
color: null,
|
|
52305
52305
|
// `<font>` and `<hr>`. Use CSS instead
|
|
52306
|
-
compact:
|
|
52306
|
+
compact: vn,
|
|
52307
52307
|
// Lists. Use CSS to reduce space between items instead
|
|
52308
|
-
declare:
|
|
52308
|
+
declare: vn,
|
|
52309
52309
|
// `<object>`
|
|
52310
52310
|
event: null,
|
|
52311
52311
|
// `<script>`
|
|
@@ -52329,13 +52329,13 @@ const ZF = gg({
|
|
|
52329
52329
|
// `<body>`
|
|
52330
52330
|
marginWidth: Xe,
|
|
52331
52331
|
// `<body>`
|
|
52332
|
-
noResize:
|
|
52332
|
+
noResize: vn,
|
|
52333
52333
|
// `<frame>`
|
|
52334
|
-
noHref:
|
|
52334
|
+
noHref: vn,
|
|
52335
52335
|
// `<area>`. Use no href instead of an explicit `nohref`
|
|
52336
|
-
noShade:
|
|
52336
|
+
noShade: vn,
|
|
52337
52337
|
// `<hr>`. Use background-color and height instead of borders
|
|
52338
|
-
noWrap:
|
|
52338
|
+
noWrap: vn,
|
|
52339
52339
|
// `<td>` and `<th>`
|
|
52340
52340
|
object: null,
|
|
52341
52341
|
// `<applet>`
|
|
@@ -52375,8 +52375,8 @@ const ZF = gg({
|
|
|
52375
52375
|
allowTransparency: null,
|
|
52376
52376
|
autoCorrect: null,
|
|
52377
52377
|
autoSave: null,
|
|
52378
|
-
disablePictureInPicture:
|
|
52379
|
-
disableRemotePlayback:
|
|
52378
|
+
disablePictureInPicture: vn,
|
|
52379
|
+
disableRemotePlayback: vn,
|
|
52380
52380
|
prefix: null,
|
|
52381
52381
|
property: null,
|
|
52382
52382
|
results: Xe,
|
|
@@ -52611,7 +52611,7 @@ const ZF = gg({
|
|
|
52611
52611
|
dur: null,
|
|
52612
52612
|
divisor: Xe,
|
|
52613
52613
|
dominantBaseline: null,
|
|
52614
|
-
download:
|
|
52614
|
+
download: vn,
|
|
52615
52615
|
dx: null,
|
|
52616
52616
|
dy: null,
|
|
52617
52617
|
edgeMode: null,
|
|
@@ -55815,7 +55815,7 @@ function bie(t) {
|
|
|
55815
55815
|
definitionDestinationString: l,
|
|
55816
55816
|
definitionLabelString: l,
|
|
55817
55817
|
definitionTitleString: l,
|
|
55818
|
-
emphasis: s(
|
|
55818
|
+
emphasis: s(_n),
|
|
55819
55819
|
hardBreakEscape: s(yr),
|
|
55820
55820
|
hardBreakTrailing: s(yr),
|
|
55821
55821
|
htmlFlow: s(rr, l),
|
|
@@ -55943,18 +55943,18 @@ function bie(t) {
|
|
|
55943
55943
|
return Ee;
|
|
55944
55944
|
}
|
|
55945
55945
|
function a(ue, Ee, gt) {
|
|
55946
|
-
let $t = Ee - 1, Qt = -1, Ie = !1, Tt, Lt, un,
|
|
55946
|
+
let $t = Ee - 1, Qt = -1, Ie = !1, Tt, Lt, un, Sn;
|
|
55947
55947
|
for (; ++$t <= gt; ) {
|
|
55948
55948
|
const dn = ue[$t];
|
|
55949
55949
|
switch (dn[1].type) {
|
|
55950
55950
|
case "listUnordered":
|
|
55951
55951
|
case "listOrdered":
|
|
55952
55952
|
case "blockQuote": {
|
|
55953
|
-
dn[0] === "enter" ? Qt++ : Qt--,
|
|
55953
|
+
dn[0] === "enter" ? Qt++ : Qt--, Sn = void 0;
|
|
55954
55954
|
break;
|
|
55955
55955
|
}
|
|
55956
55956
|
case "lineEndingBlank": {
|
|
55957
|
-
dn[0] === "enter" && (Tt && !
|
|
55957
|
+
dn[0] === "enter" && (Tt && !Sn && !Qt && !un && (un = $t), Sn = void 0);
|
|
55958
55958
|
break;
|
|
55959
55959
|
}
|
|
55960
55960
|
case "linePrefix":
|
|
@@ -55964,7 +55964,7 @@ function bie(t) {
|
|
|
55964
55964
|
case "listItemPrefixWhitespace":
|
|
55965
55965
|
break;
|
|
55966
55966
|
default:
|
|
55967
|
-
|
|
55967
|
+
Sn = void 0;
|
|
55968
55968
|
}
|
|
55969
55969
|
if (!Qt && dn[0] === "enter" && dn[1].type === "listItemPrefix" || Qt === -1 && dn[0] === "exit" && (dn[1].type === "listUnordered" || dn[1].type === "listOrdered")) {
|
|
55970
55970
|
if (Tt) {
|
|
@@ -55986,7 +55986,7 @@ function bie(t) {
|
|
|
55986
55986
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
55987
55987
|
end: void 0
|
|
55988
55988
|
};
|
|
55989
|
-
Tt = pn, ue.splice($t, 0, ["enter", pn, dn[2]]), $t++, gt++, un = void 0,
|
|
55989
|
+
Tt = pn, ue.splice($t, 0, ["enter", pn, dn[2]]), $t++, gt++, un = void 0, Sn = !0;
|
|
55990
55990
|
}
|
|
55991
55991
|
}
|
|
55992
55992
|
}
|
|
@@ -56225,7 +56225,7 @@ function bie(t) {
|
|
|
56225
56225
|
url: ""
|
|
56226
56226
|
};
|
|
56227
56227
|
}
|
|
56228
|
-
function
|
|
56228
|
+
function _n() {
|
|
56229
56229
|
return {
|
|
56230
56230
|
type: "emphasis",
|
|
56231
56231
|
children: []
|
|
@@ -60448,7 +60448,7 @@ const I3 = ({ itemIndex: t, message: e, children: n, hideMessageContent: r = !1
|
|
|
60448
60448
|
target: "_blank",
|
|
60449
60449
|
rel: "noopener noreferrer",
|
|
60450
60450
|
className: "ringg_ai-text-sm ringg_ai-break-all ringg_ai-w-fit ringg_ai-hover:underline",
|
|
60451
|
-
style: { color: s ?
|
|
60451
|
+
style: { color: s ? En(a.primaryColor) : a.primaryTextColor },
|
|
60452
60452
|
children: [
|
|
60453
60453
|
"Source: ",
|
|
60454
60454
|
e.sourceUrl
|
|
@@ -60503,8 +60503,8 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60503
60503
|
{
|
|
60504
60504
|
className: "ringg_ai-inline-flex ringg_ai-items-center ringg_ai-gap-1 ringg_ai-px-2 ringg_ai-py-1 ringg_ai-rounded-full ringg_ai-text-[10px] ringg_ai-font-medium",
|
|
60505
60505
|
style: {
|
|
60506
|
-
backgroundColor:
|
|
60507
|
-
color:
|
|
60506
|
+
backgroundColor: En(a.primaryColor) + "18",
|
|
60507
|
+
color: En(a.primaryColor)
|
|
60508
60508
|
},
|
|
60509
60509
|
children: [
|
|
60510
60510
|
j.disease_name,
|
|
@@ -60539,7 +60539,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60539
60539
|
borderColor: a.borderColor,
|
|
60540
60540
|
borderRadius: s,
|
|
60541
60541
|
// @ts-expect-error CSS variable
|
|
60542
|
-
"--tw-ring-color":
|
|
60542
|
+
"--tw-ring-color": En(a.primaryColor)
|
|
60543
60543
|
}
|
|
60544
60544
|
}
|
|
60545
60545
|
)
|
|
@@ -60547,7 +60547,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60547
60547
|
/* @__PURE__ */ F.jsxs("div", { className: "ringg_ai-max-h-[200px] ringg_ai-overflow-y-auto ringg_ai-mb-3", children: [
|
|
60548
60548
|
!l.trim() && /* @__PURE__ */ F.jsx("p", { className: "ringg_ai-text-xs ringg_ai-text-center ringg_ai-py-4", style: { color: a.mutedTextColor }, children: "Type to search diseases..." }),
|
|
60549
60549
|
l.trim() && v && /* @__PURE__ */ F.jsxs("div", { className: "ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-py-4 ringg_ai-gap-2", children: [
|
|
60550
|
-
/* @__PURE__ */ F.jsx(pg, { className: "ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin", style: { color:
|
|
60550
|
+
/* @__PURE__ */ F.jsx(pg, { className: "ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin", style: { color: En(a.primaryColor) } }),
|
|
60551
60551
|
/* @__PURE__ */ F.jsx("p", { className: "ringg_ai-text-xs", style: { color: a.mutedTextColor }, children: "Searching..." })
|
|
60552
60552
|
] }),
|
|
60553
60553
|
l.trim() && !v && k && h.length === 0 && /* @__PURE__ */ F.jsxs("p", { className: "ringg_ai-text-xs ringg_ai-text-center ringg_ai-py-4", style: { color: a.mutedTextColor }, children: [
|
|
@@ -60564,7 +60564,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60564
60564
|
onClick: () => O(j),
|
|
60565
60565
|
className: "ringg_ai-w-full ringg_ai-flex ringg_ai-items-center ringg_ai-gap-2 ringg_ai-px-2.5 ringg_ai-py-2 ringg_ai-rounded-lg ringg_ai-text-left ringg_ai-transition-colors hover:ringg_ai-opacity-80",
|
|
60566
60566
|
style: {
|
|
60567
|
-
backgroundColor: N ?
|
|
60567
|
+
backgroundColor: N ? En(a.primaryColor) + "0D" : "transparent"
|
|
60568
60568
|
},
|
|
60569
60569
|
children: [
|
|
60570
60570
|
/* @__PURE__ */ F.jsx(
|
|
@@ -60573,7 +60573,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60573
60573
|
className: "ringg_ai-flex-shrink-0 ringg_ai-w-4 ringg_ai-h-4 ringg_ai-rounded ringg_ai-border ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-transition-colors",
|
|
60574
60574
|
style: {
|
|
60575
60575
|
...N ? Gr(a.primaryColor) : {},
|
|
60576
|
-
borderColor: N ?
|
|
60576
|
+
borderColor: N ? En(a.primaryColor) : a.borderColor
|
|
60577
60577
|
},
|
|
60578
60578
|
children: N && /* @__PURE__ */ F.jsx(h0, { className: "ringg_ai-w-2.5 ringg_ai-h-2.5", style: { color: a.primaryTextColor } })
|
|
60579
60579
|
}
|
|
@@ -60600,7 +60600,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60600
60600
|
...t.length === 0 ? { backgroundColor: a.borderColor } : Gr(a.primaryColor),
|
|
60601
60601
|
color: t.length === 0 ? a.mutedTextColor : a.primaryTextColor,
|
|
60602
60602
|
// @ts-expect-error CSS variable for focus ring
|
|
60603
|
-
"--tw-ring-color":
|
|
60603
|
+
"--tw-ring-color": En(a.primaryColor)
|
|
60604
60604
|
},
|
|
60605
60605
|
children: /* @__PURE__ */ F.jsxs("span", { className: "ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-1", children: [
|
|
60606
60606
|
"Next",
|
|
@@ -60632,8 +60632,8 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60632
60632
|
"div",
|
|
60633
60633
|
{
|
|
60634
60634
|
className: "ringg_ai-w-7 ringg_ai-h-7 ringg_ai-rounded-lg ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center",
|
|
60635
|
-
style: { backgroundColor:
|
|
60636
|
-
children: /* @__PURE__ */ F.jsxs("span", { className: "ringg_ai-text-xs", style: { color:
|
|
60635
|
+
style: { backgroundColor: En(a.primaryColor) + "18" },
|
|
60636
|
+
children: /* @__PURE__ */ F.jsxs("span", { className: "ringg_ai-text-xs", style: { color: En(a.primaryColor) }, children: [
|
|
60637
60637
|
l + 1,
|
|
60638
60638
|
"/",
|
|
60639
60639
|
t.length
|
|
@@ -60667,7 +60667,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60667
60667
|
borderColor: a.borderColor,
|
|
60668
60668
|
borderRadius: s,
|
|
60669
60669
|
// @ts-expect-error CSS variable
|
|
60670
|
-
"--tw-ring-color":
|
|
60670
|
+
"--tw-ring-color": En(a.primaryColor)
|
|
60671
60671
|
}
|
|
60672
60672
|
}
|
|
60673
60673
|
),
|
|
@@ -60683,7 +60683,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60683
60683
|
borderRadius: s,
|
|
60684
60684
|
...L ? Gr(a.primaryColor) : { backgroundColor: "white" },
|
|
60685
60685
|
color: L ? a.primaryTextColor : a.textColor,
|
|
60686
|
-
borderColor: L ?
|
|
60686
|
+
borderColor: L ? En(a.primaryColor) : a.borderColor
|
|
60687
60687
|
},
|
|
60688
60688
|
children: V
|
|
60689
60689
|
},
|
|
@@ -60705,7 +60705,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60705
60705
|
borderRadius: s,
|
|
60706
60706
|
...I ? Gr(a.primaryColor) : { backgroundColor: "white" },
|
|
60707
60707
|
color: I ? a.primaryTextColor : a.textColor,
|
|
60708
|
-
borderColor: I ?
|
|
60708
|
+
borderColor: I ? En(a.primaryColor) : a.borderColor
|
|
60709
60709
|
},
|
|
60710
60710
|
children: V
|
|
60711
60711
|
},
|
|
@@ -60748,7 +60748,7 @@ const nle = 300, rle = ({ selectedDiseases: t, onSelectionChange: e, onNext: n,
|
|
|
60748
60748
|
...r ? { backgroundColor: a.borderColor } : Gr(a.primaryColor),
|
|
60749
60749
|
color: r ? a.mutedTextColor : a.primaryTextColor,
|
|
60750
60750
|
// @ts-expect-error CSS variable for focus ring
|
|
60751
|
-
"--tw-ring-color":
|
|
60751
|
+
"--tw-ring-color": En(a.primaryColor)
|
|
60752
60752
|
},
|
|
60753
60753
|
children: r ? /* @__PURE__ */ F.jsx(pg, { className: "ringg_ai-w-4 ringg_ai-h-4 ringg_ai-animate-spin" }) : /* @__PURE__ */ F.jsxs(F.Fragment, { children: [
|
|
60754
60754
|
"Next",
|
|
@@ -60816,8 +60816,8 @@ const sle = ({ label: t, onSearch: e, onSubmit: n }) => {
|
|
|
60816
60816
|
"div",
|
|
60817
60817
|
{
|
|
60818
60818
|
className: "ringg_ai-w-8 ringg_ai-h-8 ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-flex-shrink-0",
|
|
60819
|
-
style: { backgroundColor:
|
|
60820
|
-
children: /* @__PURE__ */ F.jsx(Xi.div, { animate: { rotate: 360 }, transition: { duration: 1.5, repeat: 1 / 0, ease: "linear" }, children: /* @__PURE__ */ F.jsx(Wj, { className: "ringg_ai-w-4 ringg_ai-h-4", style: { color:
|
|
60819
|
+
style: { backgroundColor: En(r.primaryColor) + "12" },
|
|
60820
|
+
children: /* @__PURE__ */ F.jsx(Xi.div, { animate: { rotate: 360 }, transition: { duration: 1.5, repeat: 1 / 0, ease: "linear" }, children: /* @__PURE__ */ F.jsx(Wj, { className: "ringg_ai-w-4 ringg_ai-h-4", style: { color: En(r.primaryColor) } }) })
|
|
60821
60821
|
}
|
|
60822
60822
|
),
|
|
60823
60823
|
/* @__PURE__ */ F.jsxs("div", { className: "ringg_ai-flex-1 ringg_ai-min-w-0", children: [
|
|
@@ -60828,7 +60828,7 @@ const sle = ({ label: t, onSearch: e, onSubmit: n }) => {
|
|
|
60828
60828
|
animate: { opacity: [0.3, 1, 0.3] },
|
|
60829
60829
|
transition: { duration: 1, repeat: 1 / 0, delay: O * 0.15 },
|
|
60830
60830
|
className: "ringg_ai-w-1 ringg_ai-h-1 ringg_ai-rounded-full",
|
|
60831
|
-
style: { backgroundColor:
|
|
60831
|
+
style: { backgroundColor: En(r.primaryColor) }
|
|
60832
60832
|
},
|
|
60833
60833
|
O
|
|
60834
60834
|
)) })
|
|
@@ -60932,14 +60932,14 @@ function lle({ tabs: t = [], activeTab: e = "voice-call", onTabChange: n }) {
|
|
|
60932
60932
|
s(c), n == null || n(c);
|
|
60933
60933
|
};
|
|
60934
60934
|
return /* @__PURE__ */ F.jsx("div", { className: "ringg_ai-w-full ringg_ai-border-t", style: { backgroundColor: r.backgroundColor, borderColor: r.borderColor }, children: /* @__PURE__ */ F.jsx("div", { className: "ringg_ai-flex ringg_ai-items-center ringg_ai-px-0", children: t.map((c) => {
|
|
60935
|
-
const h = c.icon, p = a === c.id, v = p ?
|
|
60935
|
+
const h = c.icon, p = a === c.id, v = p ? En(r.primaryColor) : r.mutedTextColor;
|
|
60936
60936
|
return /* @__PURE__ */ F.jsxs(
|
|
60937
60937
|
"button",
|
|
60938
60938
|
{
|
|
60939
60939
|
onClick: () => l(c.id),
|
|
60940
60940
|
className: Yn("ringg_ai-flex ringg_ai-flex-col ringg_ai-items-center ringg_ai-gap-1 ringg_ai-border-t-2 ringg_ai-py-3 ringg_ai-transition-all ringg_ai-duration-200 ringg_ai-flex-1"),
|
|
60941
60941
|
style: {
|
|
60942
|
-
borderTopColor: p ?
|
|
60942
|
+
borderTopColor: p ? En(r.primaryColor) : "transparent"
|
|
60943
60943
|
},
|
|
60944
60944
|
children: [
|
|
60945
60945
|
/* @__PURE__ */ F.jsx(
|
|
@@ -61163,8 +61163,8 @@ function vle(t, e) {
|
|
|
61163
61163
|
});
|
|
61164
61164
|
}), n;
|
|
61165
61165
|
}
|
|
61166
|
-
const
|
|
61167
|
-
function
|
|
61166
|
+
const Ny = (...t) => console.warn("[DOM_ACTION]", ...t);
|
|
61167
|
+
function yle(t, e) {
|
|
61168
61168
|
const n = (s) => {
|
|
61169
61169
|
try {
|
|
61170
61170
|
e == null || e(s);
|
|
@@ -61185,12 +61185,12 @@ function ble(t, e) {
|
|
|
61185
61185
|
if (!t.event_name)
|
|
61186
61186
|
return Ny(`[${r}] trigger_event missing event_name`), n({ id: r, label: "Event missing name", level: "error" });
|
|
61187
61187
|
const s = { ...t.default_payload ?? {}, action_id: r };
|
|
61188
|
-
|
|
61188
|
+
window.dispatchEvent(new CustomEvent(t.event_name, { detail: s })), n({ id: r, label: "Triggered", meta: t.event_name, level: "info" });
|
|
61189
61189
|
} catch (s) {
|
|
61190
61190
|
Ny(`[${r}] execution failed`, s), n({ id: r, label: "Action failed", level: "error" });
|
|
61191
61191
|
}
|
|
61192
61192
|
}
|
|
61193
|
-
const
|
|
61193
|
+
const ble = ({ label: t, meta: e, level: n = "info" }) => {
|
|
61194
61194
|
const r = Uo(), a = n === "error" ? "#ef4444" : "#22c55e";
|
|
61195
61195
|
return /* @__PURE__ */ F.jsx("div", { className: "ringg_ai-flex ringg_ai-justify-center ringg_ai-my-1", children: /* @__PURE__ */ F.jsxs(
|
|
61196
61196
|
"div",
|
|
@@ -61205,8 +61205,8 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61205
61205
|
]
|
|
61206
61206
|
}
|
|
61207
61207
|
) });
|
|
61208
|
-
},
|
|
61209
|
-
var Ha, oo, Q, Ue,
|
|
61208
|
+
}, Cle = ({ room: t, config: e }) => {
|
|
61209
|
+
var Ha, oo, Q, Ue, rt, ot, cn, Gt, fn;
|
|
61210
61210
|
const [n, r] = $.useState({}), a = e, {
|
|
61211
61211
|
mode: s = gh.mode,
|
|
61212
61212
|
title: l = gh.title,
|
|
@@ -61227,7 +61227,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61227
61227
|
widgetPosition: L,
|
|
61228
61228
|
theme: I,
|
|
61229
61229
|
enabledSlashCommands: K
|
|
61230
|
-
} = a, Z = Qj(I), Se = TP(Z.buttonStyle), W = (L == null ? void 0 : L.triggerPlacement) ?? "fixed", oe = (L == null ? void 0 : L.triggerAlignment) ?? "bottom-right", J = (L == null ? void 0 : L.hideTriggerOnExpand) ?? !0, pe = (L == null ? void 0 : L.widgetAlignment) ?? "bottom-right", _e = ple(oe), $e = gle(R), [qe, We] = $.useState(k), [se, Be] = $.useState(!1), [B, te] = $.useState(!1), [Te, q] = $.useState({ hasError: !1, message: "" }), [Ct, wt] = $.useState([]), [kt, xt] = $.useState(/* @__PURE__ */ new Map()), [mt, zt] = $.useState([]), Zt = $.useRef(null), Un = $.useRef(null), gr = $.useRef(null), Wn = $.useRef(null),
|
|
61230
|
+
} = a, Z = Qj(I), Se = TP(Z.buttonStyle), W = (L == null ? void 0 : L.triggerPlacement) ?? "fixed", oe = (L == null ? void 0 : L.triggerAlignment) ?? "bottom-right", J = (L == null ? void 0 : L.hideTriggerOnExpand) ?? !0, pe = (L == null ? void 0 : L.widgetAlignment) ?? "bottom-right", _e = ple(oe), $e = gle(R), [qe, We] = $.useState(k), [se, Be] = $.useState(!1), [B, te] = $.useState(!1), [Te, q] = $.useState({ hasError: !1, message: "" }), [Ct, wt] = $.useState([]), [kt, xt] = $.useState(/* @__PURE__ */ new Map()), [mt, zt] = $.useState([]), Zt = $.useRef(null), Un = $.useRef(null), gr = $.useRef(null), Wn = $.useRef(null), _n = $.useRef(""), xr = $.useRef(), yr = $.useRef(null), rr = $.useRef(!1), X = $.useRef(/* @__PURE__ */ new Map()), le = $.useRef(/* @__PURE__ */ new Set()), Ce = $.useRef(/* @__PURE__ */ new Set()), Ge = zR(t), Oe = Ge === "connected", ke = cle({ callMode: qe }), ut = dle({
|
|
61231
61231
|
room: t,
|
|
61232
61232
|
onError: (be) => q({ hasError: !0, message: be })
|
|
61233
61233
|
});
|
|
@@ -61248,7 +61248,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61248
61248
|
rr.current = !1, Rd("ringg:conversation_status", { status: "started", mode: be, callId: Re });
|
|
61249
61249
|
}, []), un = $.useCallback((be, Re) => {
|
|
61250
61250
|
rr.current || (rr.current = !0, Rd("ringg:conversation_status", { status: "ended", mode: be, callId: Re }));
|
|
61251
|
-
}, []),
|
|
61251
|
+
}, []), Sn = $.useCallback(
|
|
61252
61252
|
async (be) => {
|
|
61253
61253
|
if (!(be === "audio" && !ut.isGranted && !await ut.request())) {
|
|
61254
61254
|
Be(!0), We(be);
|
|
@@ -61269,11 +61269,11 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61269
61269
|
},
|
|
61270
61270
|
[t, s, h, p, b, ut, ke, Lt]
|
|
61271
61271
|
), dn = $.useCallback(() => {
|
|
61272
|
-
w && !Oe && !se && Ge === "disconnected" ? (ke.open(),
|
|
61273
|
-
}, [w, Oe, se, Ge, qe, ke,
|
|
61272
|
+
w && !Oe && !se && Ge === "disconnected" ? (ke.open(), Sn(qe)) : ke.toggle();
|
|
61273
|
+
}, [w, Oe, se, Ge, qe, ke, Sn]), pn = $.useCallback(async () => {
|
|
61274
61274
|
Be(!0);
|
|
61275
61275
|
try {
|
|
61276
|
-
ke.currentCallId && un(qe, ke.currentCallId), wt([]), xt(/* @__PURE__ */ new Map()), zt([]), Zt.current = null,
|
|
61276
|
+
ke.currentCallId && un(qe, ke.currentCallId), wt([]), xt(/* @__PURE__ */ new Map()), zt([]), Zt.current = null, _n.current = "", xr.current = void 0, t.disconnect(), te(!1), ke.setShowFeedback(!0), ke.open();
|
|
61277
61277
|
} catch (be) {
|
|
61278
61278
|
q({ hasError: !0, message: "Error ending call: " + be.message });
|
|
61279
61279
|
} finally {
|
|
@@ -61301,7 +61301,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61301
61301
|
[s, b, ke]
|
|
61302
61302
|
), Jn = $.useCallback(() => {
|
|
61303
61303
|
ke.currentCallId && Rd("ringg:feedback_status", { status: "skipped", callId: ke.currentCallId }), ke.close();
|
|
61304
|
-
}, [ke]),
|
|
61304
|
+
}, [ke]), Dn = $.useCallback(
|
|
61305
61305
|
(be) => {
|
|
61306
61306
|
var Ve;
|
|
61307
61307
|
const Re = {
|
|
@@ -61324,11 +61324,11 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61324
61324
|
const Ve = X.current.get(be);
|
|
61325
61325
|
if (!Ve || !Ie)
|
|
61326
61326
|
return;
|
|
61327
|
-
const { name: st, originalConfig: dt } = Ve,
|
|
61328
|
-
let
|
|
61327
|
+
const { name: st, originalConfig: dt } = Ve, mn = "receive_dynamic_data";
|
|
61328
|
+
let tt;
|
|
61329
61329
|
if (st === "calendar") {
|
|
61330
61330
|
const _i = Re.step_data && Re.step_data.slot_id, Or = dt, pl = (Or == null ? void 0 : Or.slots) || [], ai = (Or == null ? void 0 : Or.timezone) || "UTC", lo = pl.find((vc) => vc.id === _i);
|
|
61331
|
-
|
|
61331
|
+
tt = {
|
|
61332
61332
|
id: (lo == null ? void 0 : lo.id) || _i,
|
|
61333
61333
|
datetime: (lo == null ? void 0 : lo.datetime) || ((mi = Re.step_data) == null ? void 0 : mi.slot_datetime),
|
|
61334
61334
|
timezone: ai,
|
|
@@ -61336,23 +61336,23 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61336
61336
|
slot_date: (so = Re.step_data) == null ? void 0 : so.slot_date
|
|
61337
61337
|
};
|
|
61338
61338
|
} else if (st === "form")
|
|
61339
|
-
|
|
61339
|
+
tt = Re.step_data || Re.all_data;
|
|
61340
61340
|
else if (st === "buttons") {
|
|
61341
61341
|
const _i = Re.step_data && Re.step_data.selected_button;
|
|
61342
|
-
|
|
61343
|
-
} else st === "quick_replay" ?
|
|
61342
|
+
tt = (Array.isArray(dt) ? dt : []).find((ai) => ai.id === _i) || { id: _i };
|
|
61343
|
+
} else st === "quick_replay" ? tt = {
|
|
61344
61344
|
text: (ba = Re.step_data) == null ? void 0 : ba.selected_button
|
|
61345
|
-
} :
|
|
61345
|
+
} : tt = Re;
|
|
61346
61346
|
const At = dt == null ? void 0 : dt.tool_id, Mt = JSON.stringify({
|
|
61347
61347
|
component_type: `receive_component_${st}`,
|
|
61348
61348
|
component_id: be,
|
|
61349
|
-
component_data:
|
|
61349
|
+
component_data: tt,
|
|
61350
61350
|
...At && { tool_id: At }
|
|
61351
61351
|
});
|
|
61352
61352
|
try {
|
|
61353
|
-
console.log("[RPC →]",
|
|
61353
|
+
console.log("[RPC →]", mn, { destination: Ie.identity, payload: JSON.parse(Mt) }), await Ee.localParticipant.performRpc({
|
|
61354
61354
|
destinationIdentity: Ie.identity,
|
|
61355
|
-
method:
|
|
61355
|
+
method: mn,
|
|
61356
61356
|
payload: Mt
|
|
61357
61357
|
}), X.current.delete(be);
|
|
61358
61358
|
} catch (_i) {
|
|
@@ -61445,7 +61445,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61445
61445
|
), io = $.useCallback(async (be) => {
|
|
61446
61446
|
try {
|
|
61447
61447
|
const Re = JSON.parse(be.payload);
|
|
61448
|
-
return console.log("[RPC ←]", "send_source_urls", { from: be.callerIdentity, payload: Re }), Array.isArray(Re.source_urls) ?
|
|
61448
|
+
return console.log("[RPC ←]", "send_source_urls", { from: be.callerIdentity, payload: Re }), Array.isArray(Re.source_urls) ? _n.current = Re.source_urls.join(", ") : Re.source_url && (_n.current = Re.source_url), JSON.stringify({ status: "received" });
|
|
61449
61449
|
} catch (Re) {
|
|
61450
61450
|
throw console.error("Failed to parse send_source_urls payload:", Re), new Error("Invalid payload for send_source_urls");
|
|
61451
61451
|
}
|
|
@@ -61453,31 +61453,31 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61453
61453
|
async (be) => {
|
|
61454
61454
|
try {
|
|
61455
61455
|
const Re = JSON.parse(be.payload);
|
|
61456
|
-
return console.log("[RPC ←]", "render_component", { from: be.callerIdentity, payload: Re }), Re.component_type && Re.component_id &&
|
|
61456
|
+
return console.log("[RPC ←]", "render_component", { from: be.callerIdentity, payload: Re }), Re.component_type && Re.component_id && Dn(Re), JSON.stringify({ status: "received" });
|
|
61457
61457
|
} catch (Re) {
|
|
61458
61458
|
throw console.error("Failed to parse render_component payload:", Re), new Error("Invalid component payload");
|
|
61459
61459
|
}
|
|
61460
61460
|
},
|
|
61461
|
-
[
|
|
61461
|
+
[Dn]
|
|
61462
61462
|
), Ba = $.useCallback((be, Re) => {
|
|
61463
61463
|
const Ve = `${be}_${Date.now()}`, st = Re.component_config ?? Re.component_data;
|
|
61464
61464
|
if (be === "calendar") {
|
|
61465
|
-
const dt = st,
|
|
61465
|
+
const dt = st, mn = (dt == null ? void 0 : dt.slots) || [], tt = (dt == null ? void 0 : dt.timezone) || "UTC";
|
|
61466
61466
|
return {
|
|
61467
61467
|
component_type: "calendar_booking",
|
|
61468
61468
|
component_id: Ve,
|
|
61469
61469
|
data: {
|
|
61470
|
-
available_slots:
|
|
61470
|
+
available_slots: mn.map((At) => ({
|
|
61471
61471
|
id: At.id,
|
|
61472
61472
|
datetime: At.datetime
|
|
61473
61473
|
})),
|
|
61474
|
-
timezone:
|
|
61474
|
+
timezone: tt,
|
|
61475
61475
|
title: Re.title || "Select a time slot"
|
|
61476
61476
|
}
|
|
61477
61477
|
};
|
|
61478
61478
|
}
|
|
61479
61479
|
if (be === "form") {
|
|
61480
|
-
const dt = st,
|
|
61480
|
+
const dt = st, mn = (At) => ({
|
|
61481
61481
|
text: "text",
|
|
61482
61482
|
string: "text",
|
|
61483
61483
|
number: "number",
|
|
@@ -61488,9 +61488,9 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61488
61488
|
checkbox: "boolean",
|
|
61489
61489
|
date: "date",
|
|
61490
61490
|
textarea: "textarea"
|
|
61491
|
-
})[At] || "text",
|
|
61491
|
+
})[At] || "text", tt = ((dt == null ? void 0 : dt.fields) || []).map((At) => ({
|
|
61492
61492
|
name: At.key || At.name || "",
|
|
61493
|
-
type:
|
|
61493
|
+
type: mn(At.type),
|
|
61494
61494
|
label: At.description || At.label || At.key || At.name || "",
|
|
61495
61495
|
required: At.required,
|
|
61496
61496
|
placeholder: At.placeholder,
|
|
@@ -61502,7 +61502,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61502
61502
|
data: {
|
|
61503
61503
|
title: (dt == null ? void 0 : dt.title) || "Form",
|
|
61504
61504
|
description: dt == null ? void 0 : dt.description,
|
|
61505
|
-
fields:
|
|
61505
|
+
fields: tt,
|
|
61506
61506
|
submit_label: (dt == null ? void 0 : dt.cta) || (dt == null ? void 0 : dt.submit_label) || "Submit"
|
|
61507
61507
|
}
|
|
61508
61508
|
};
|
|
@@ -61517,7 +61517,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61517
61517
|
}
|
|
61518
61518
|
};
|
|
61519
61519
|
if (be === "quick_replay") {
|
|
61520
|
-
const dt = st,
|
|
61520
|
+
const dt = st, mn = Array.isArray(dt == null ? void 0 : dt.options) ? dt.options.filter((tt) => typeof tt == "string" && tt.trim().length > 0) : [];
|
|
61521
61521
|
return {
|
|
61522
61522
|
component_type: "buttons",
|
|
61523
61523
|
component_id: Ve,
|
|
@@ -61525,9 +61525,9 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61525
61525
|
presentation: "free",
|
|
61526
61526
|
completionDisplay: "selected_item",
|
|
61527
61527
|
wrapInBubble: Re.execute_after_intro_message === !0,
|
|
61528
|
-
buttons:
|
|
61529
|
-
id:
|
|
61530
|
-
label:
|
|
61528
|
+
buttons: mn.map((tt) => ({
|
|
61529
|
+
id: tt,
|
|
61530
|
+
label: tt,
|
|
61531
61531
|
style: "secondary",
|
|
61532
61532
|
action: { type: "trigger_component" }
|
|
61533
61533
|
}))
|
|
@@ -61544,7 +61544,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61544
61544
|
details: Re.details
|
|
61545
61545
|
}
|
|
61546
61546
|
} : Re.component_type && Re.component_id ? Re : null;
|
|
61547
|
-
}, []), $i = ((Ha = a.eventLogs) == null ? void 0 : Ha.enabled)
|
|
61547
|
+
}, []), $i = ((Ha = a.eventLogs) == null ? void 0 : Ha.enabled) === !0, Kr = ((oo = a.eventLogs) == null ? void 0 : oo.showIds) === !0, qi = $.useCallback(
|
|
61548
61548
|
(be) => {
|
|
61549
61549
|
if (!$i) return;
|
|
61550
61550
|
const Re = Kr && be.id ? be.meta ? `${be.id} · ${be.meta}` : be.id : be.meta, Ve = {
|
|
@@ -61568,84 +61568,89 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61568
61568
|
if (!Ve)
|
|
61569
61569
|
return console.warn("[RinggWidget] No component_type in send_dynamic_data payload"), JSON.stringify({ status: "error", message: "No component_type provided" });
|
|
61570
61570
|
if (Ve === "execute_dom_action") {
|
|
61571
|
-
const
|
|
61572
|
-
|
|
61571
|
+
const mn = Re.component_config ?? Re.component_data ?? {}, tt = {
|
|
61572
|
+
id: mn.id ?? mn.action_id ?? "",
|
|
61573
|
+
kind: mn.kind ?? "trigger_event",
|
|
61574
|
+
event_name: mn.event_name,
|
|
61575
|
+
default_payload: mn.default_payload ?? mn.detail
|
|
61576
|
+
};
|
|
61577
|
+
return yle(tt, qi), JSON.stringify({ status: "received" });
|
|
61573
61578
|
}
|
|
61574
61579
|
const st = Ve.replace("render_component_", "");
|
|
61575
61580
|
if (st === "disease_search_results") {
|
|
61576
|
-
const
|
|
61577
|
-
return Zt.current ? (Zt.current(
|
|
61581
|
+
const mn = Re.results ?? [];
|
|
61582
|
+
return Zt.current ? (Zt.current(mn), Zt.current = null) : console.warn("[DiseaseSearch] No pending resolver — results dropped (search may have timed out or was cancelled)"), JSON.stringify({ status: "received" });
|
|
61578
61583
|
}
|
|
61579
61584
|
const dt = Ba(st, Re);
|
|
61580
61585
|
return dt ? (X.current.set(dt.component_id, {
|
|
61581
61586
|
name: st,
|
|
61582
61587
|
originalConfig: Re.component_config ?? Re.component_data
|
|
61583
|
-
}),
|
|
61588
|
+
}), Dn(dt), JSON.stringify({ status: "received", component_id: dt.component_id })) : (console.warn("[RinggWidget] Unknown component type:", st), JSON.stringify({ status: "error", message: `Unknown component type: ${st}` }));
|
|
61584
61589
|
} catch (Re) {
|
|
61585
61590
|
throw console.error("[RinggWidget] Failed to parse send_dynamic_data payload:", Re), new Error("Invalid send_dynamic_data payload");
|
|
61586
61591
|
}
|
|
61587
61592
|
},
|
|
61588
|
-
[
|
|
61593
|
+
[Dn, Ba, qi]
|
|
61589
61594
|
);
|
|
61590
61595
|
$.useEffect(() => {
|
|
61591
|
-
yr.current =
|
|
61592
|
-
}, [
|
|
61596
|
+
yr.current = Dn;
|
|
61597
|
+
}, [Dn]);
|
|
61593
61598
|
const ao = $.useRef(ke.open);
|
|
61594
61599
|
return ao.current = ke.open, $.useEffect(() => {
|
|
61595
61600
|
}, []), $.useEffect(() => {
|
|
61596
|
-
var dt,
|
|
61601
|
+
var dt, mn;
|
|
61597
61602
|
if (!t || qe !== "audio" || !Oe) return;
|
|
61598
61603
|
const be = ue.audioTrack, Re = new Map(kt);
|
|
61599
|
-
be && $t.segments.forEach((
|
|
61600
|
-
const At = Re.get(
|
|
61601
|
-
Re.set(
|
|
61602
|
-
}), Qt.segments.forEach((
|
|
61603
|
-
const At = Re.get(
|
|
61604
|
-
Re.set(
|
|
61605
|
-
});
|
|
61606
|
-
const Ve = Array.from(Re.values()).sort((
|
|
61604
|
+
be && $t.segments.forEach((tt) => {
|
|
61605
|
+
const At = Re.get(tt.id), Mt = ww(tt, At, be.participant);
|
|
61606
|
+
Re.set(tt.id, Mt), tt.final && !le.current.has(tt.id) && (le.current.add(tt.id), console.log("[TEXT ←]", "transcript:agent", { id: tt.id, text: tt.text }));
|
|
61607
|
+
}), Qt.segments.forEach((tt) => {
|
|
61608
|
+
const At = Re.get(tt.id), Mt = ww(tt, At, Ee.localParticipant);
|
|
61609
|
+
Re.set(tt.id, Mt), tt.final && !le.current.has(tt.id) && (le.current.add(tt.id), console.log("[TEXT →]", "transcript:user", { id: tt.id, text: tt.text }));
|
|
61610
|
+
});
|
|
61611
|
+
const Ve = Array.from(Re.values()).sort((tt, At) => tt.timestamp - At.timestamp), st = _n.current && ((dt = Ve[Ve.length - 1]) == null ? void 0 : dt.name.includes("Agent")) && !((mn = Ve[Ve.length - 1]) != null && mn.sourceUrl) && xr.current !== Ve.length - 1;
|
|
61607
61612
|
if (st) {
|
|
61608
|
-
xr.current = Ve.length, Ve[Ve.length - 1] = { ...Ve[Ve.length - 1], sourceUrl:
|
|
61609
|
-
const
|
|
61613
|
+
xr.current = Ve.length, Ve[Ve.length - 1] = { ...Ve[Ve.length - 1], sourceUrl: _n.current };
|
|
61614
|
+
const tt = Ve.filter((Mt) => !Mt.isSelf).length - 1, At = $t.segments[tt];
|
|
61610
61615
|
if (At && be) {
|
|
61611
61616
|
const Mt = Re.get(At.id);
|
|
61612
61617
|
Re.set(
|
|
61613
61618
|
At.id,
|
|
61614
|
-
ww(At, { ...Mt, sourceUrl:
|
|
61619
|
+
ww(At, { ...Mt, sourceUrl: _n.current }, be.participant)
|
|
61615
61620
|
);
|
|
61616
61621
|
}
|
|
61617
61622
|
}
|
|
61618
|
-
wt(Ve), xt(Re), st || (
|
|
61623
|
+
wt(Ve), xt(Re), st || (_n.current = "");
|
|
61619
61624
|
}, [qe, Ft, $t.segments, Qt.segments, ue.audioTrack, Ee.localParticipant, Oe]), $.useEffect(() => {
|
|
61620
61625
|
if (!t || qe !== "text" || !Oe) return;
|
|
61621
61626
|
const be = async (Ve, st) => {
|
|
61622
|
-
var dt,
|
|
61627
|
+
var dt, mn;
|
|
61623
61628
|
try {
|
|
61624
|
-
const
|
|
61625
|
-
console.log(At ? "[TEXT ←]" : "[TEXT →]", "text-stream", { from: st.identity, message:
|
|
61629
|
+
const tt = await Ve.readAll(), At = (dt = st.identity) == null ? void 0 : dt.includes("agent");
|
|
61630
|
+
console.log(At ? "[TEXT ←]" : "[TEXT →]", "text-stream", { from: st.identity, message: tt }), At && ((mn = Wn.current) == null || mn.play().catch(() => {
|
|
61626
61631
|
}), ke.open());
|
|
61627
61632
|
const Mt = {
|
|
61628
|
-
message:
|
|
61633
|
+
message: tt,
|
|
61629
61634
|
isSelf: !At,
|
|
61630
61635
|
name: At ? "Agent" : "You",
|
|
61631
61636
|
timestamp: Date.now() + performance.now() % 1,
|
|
61632
|
-
...At &&
|
|
61637
|
+
...At && _n.current && { sourceUrl: _n.current }
|
|
61633
61638
|
};
|
|
61634
|
-
|
|
61639
|
+
_n.current && (_n.current = ""), wt((mi) => {
|
|
61635
61640
|
const ea = /* @__PURE__ */ new Set();
|
|
61636
61641
|
return [...mi, Mt].filter((so) => !ea.has(so.timestamp) && ea.add(so.timestamp)).sort((so, ba) => so.timestamp - ba.timestamp);
|
|
61637
61642
|
});
|
|
61638
|
-
} catch (
|
|
61639
|
-
console.error("Error reading text stream",
|
|
61643
|
+
} catch (tt) {
|
|
61644
|
+
console.error("Error reading text stream", tt);
|
|
61640
61645
|
}
|
|
61641
61646
|
}, Re = Ft.map((Ve) => {
|
|
61642
|
-
var
|
|
61643
|
-
const st = ((
|
|
61647
|
+
var mn, tt, At, Mt, mi;
|
|
61648
|
+
const st = ((mn = Ve.from) == null ? void 0 : mn.identity) === Ee.localParticipant.identity, dt = ue.audioTrack ? ((tt = Ve.from) == null ? void 0 : tt.identity) === ((At = ue.audioTrack.participant) == null ? void 0 : At.identity) : !st;
|
|
61644
61649
|
return Ce.current.has(Ve.timestamp) || (Ce.current.add(Ve.timestamp), console.log(st ? "[TEXT →]" : "[TEXT ←]", "chat-message", { from: (Mt = Ve.from) == null ? void 0 : Mt.identity, message: Ve.message })), { name: ((mi = Ve.from) == null ? void 0 : mi.name) || (dt ? "Agent" : st ? "You" : "Unknown"), isSelf: st, message: Ve.message, timestamp: Ve.timestamp };
|
|
61645
61650
|
});
|
|
61646
61651
|
return wt((Ve) => {
|
|
61647
61652
|
const st = /* @__PURE__ */ new Set();
|
|
61648
|
-
return [...Ve, ...Re].filter((dt) => !st.has(dt.timestamp) && st.add(dt.timestamp)).sort((dt,
|
|
61653
|
+
return [...Ve, ...Re].filter((dt) => !st.has(dt.timestamp) && st.add(dt.timestamp)).sort((dt, mn) => dt.timestamp - mn.timestamp);
|
|
61649
61654
|
}), t.registerTextStreamHandler("lk.transcription", be), () => {
|
|
61650
61655
|
t.unregisterTextStreamHandler("lk.transcription");
|
|
61651
61656
|
};
|
|
@@ -61679,7 +61684,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61679
61684
|
children: /* @__PURE__ */ F.jsx(
|
|
61680
61685
|
"img",
|
|
61681
61686
|
{
|
|
61682
|
-
src: ((
|
|
61687
|
+
src: ((rt = (Ue = v == null ? void 0 : v.modalTrigger) == null ? void 0 : Ue.icon) == null ? void 0 : rt.url) ?? "https://assets.ringg.ai/images/icons/widget-phone.svg",
|
|
61683
61688
|
alt: "Widget trigger",
|
|
61684
61689
|
style: { width: ((cn = (ot = v == null ? void 0 : v.modalTrigger) == null ? void 0 : ot.icon) == null ? void 0 : cn.size) ?? 25, height: ((fn = (Gt = v == null ? void 0 : v.modalTrigger) == null ? void 0 : Gt.icon) == null ? void 0 : fn.size) ?? 25 }
|
|
61685
61690
|
}
|
|
@@ -61708,7 +61713,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61708
61713
|
borderRadius: yk(R == null ? void 0 : R.borderRadius) ?? Z.borderRadius,
|
|
61709
61714
|
fontFamily: Z.fontFamily,
|
|
61710
61715
|
// @ts-expect-error CSS variables
|
|
61711
|
-
"--widget-primary":
|
|
61716
|
+
"--widget-primary": En(Z.primaryColor),
|
|
61712
61717
|
"--widget-primary-text": Z.primaryTextColor,
|
|
61713
61718
|
"--widget-bg": Z.backgroundColor,
|
|
61714
61719
|
"--widget-surface": Z.surfaceColor,
|
|
@@ -61763,7 +61768,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61763
61768
|
Ct.length === 0 && Oe && /* @__PURE__ */ F.jsx("div", { className: "ringg_ai-mt-20 ringg_ai-h-full" }),
|
|
61764
61769
|
Ct.length > 0 && Oe && /* @__PURE__ */ F.jsx("div", { "data-scrollable": "true", ref: Un, className: "ringg_ai-mt-20 ringg_ai-h-full ringg_ai-overflow-y-auto ringg_ai-flex ringg_ai-flex-col", children: /* @__PURE__ */ F.jsx("div", { className: "ringg_ai-mt-auto md:ringg_ai-mt-0 ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2.5", children: Ct.sort((be, Re) => be.timestamp - Re.timestamp).map((be, Re) => {
|
|
61765
61770
|
var st;
|
|
61766
|
-
return be.kind === "system" ? /* @__PURE__ */ F.jsx(
|
|
61771
|
+
return be.kind === "system" ? /* @__PURE__ */ F.jsx(ble, { label: be.message, meta: be.systemMeta, level: be.systemLevel }, `sys_${be.timestamp}_${Re}`) : be.componentType === "disease_data" && be.componentData ? /* @__PURE__ */ F.jsx(
|
|
61767
61772
|
sle,
|
|
61768
61773
|
{
|
|
61769
61774
|
label: be.componentData.label,
|
|
@@ -61794,12 +61799,12 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61794
61799
|
/* @__PURE__ */ F.jsx(Gee, { buttonConfig: v, callMode: qe, isCalling: Oe, enabledSlashCommands: Tt, onSlashCommand: jo, onCallEnd: pn }),
|
|
61795
61800
|
Te.hasError && /* @__PURE__ */ F.jsx("div", { className: "ringg_ai-text-center ringg_ai-text-sm ringg_ai-text-red-500 -ringg_ai-mt-3 -ringg_ai-mb-2", children: Te.message }),
|
|
61796
61801
|
!Oe && se && /* @__PURE__ */ F.jsx(vte, { ariaLabel: qe === "text" ? "Starting chat" : "Connecting" }),
|
|
61797
|
-
!se && Ge === "disconnected" && (!w || Te.hasError) && /* @__PURE__ */ F.jsx(QX, { callMode: qe, buttonConfig: v, isCalling: Oe, isLoading: se, onCallTrigger:
|
|
61802
|
+
!se && Ge === "disconnected" && (!w || Te.hasError) && /* @__PURE__ */ F.jsx(QX, { callMode: qe, buttonConfig: v, isCalling: Oe, isLoading: se, onCallTrigger: Sn }),
|
|
61798
61803
|
!Oe && /* @__PURE__ */ F.jsx("p", { className: "ringg_ai-text-xs ringg_ai-text-center", style: { color: Z.mutedTextColor }, children: j ? vle(j.text, j.links) : /* @__PURE__ */ F.jsxs(F.Fragment, { children: [
|
|
61799
61804
|
"By starting call you agree to ",
|
|
61800
|
-
/* @__PURE__ */ F.jsx("a", { target: "_blank", rel: "noopener noreferrer", className: "hover:ringg_ai-underline", style: { color:
|
|
61805
|
+
/* @__PURE__ */ F.jsx("a", { target: "_blank", rel: "noopener noreferrer", className: "hover:ringg_ai-underline", style: { color: En(Z.primaryColor) }, href: "https://www.ringg.ai/privacy", children: "Privacy policy" }),
|
|
61801
61806
|
" & ",
|
|
61802
|
-
/* @__PURE__ */ F.jsx("a", { target: "_blank", rel: "noopener noreferrer", className: "hover:ringg_ai-underline", style: { color:
|
|
61807
|
+
/* @__PURE__ */ F.jsx("a", { target: "_blank", rel: "noopener noreferrer", className: "hover:ringg_ai-underline", style: { color: En(Z.primaryColor) }, href: "https://www.ringg.ai/terms", children: "T&C" })
|
|
61803
61808
|
] }) })
|
|
61804
61809
|
] }),
|
|
61805
61810
|
!Oe && !x && /* @__PURE__ */ F.jsx(lle, { tabs: see, activeTab: qe, onTabChange: (be) => We(be) })
|
|
@@ -61812,9 +61817,9 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61812
61817
|
/* @__PURE__ */ F.jsx(dG, {}),
|
|
61813
61818
|
!1
|
|
61814
61819
|
] });
|
|
61815
|
-
},
|
|
61820
|
+
}, Sle = ({ config: t }) => {
|
|
61816
61821
|
const [e] = $.useState(() => new Jm({ dynacast: !0, adaptiveStream: !0 }));
|
|
61817
|
-
return /* @__PURE__ */ F.jsx(FR.Provider, { value: e, children: /* @__PURE__ */ F.jsx(
|
|
61822
|
+
return /* @__PURE__ */ F.jsx(FR.Provider, { value: e, children: /* @__PURE__ */ F.jsx(Cle, { config: t, room: e }) });
|
|
61818
61823
|
};
|
|
61819
61824
|
{
|
|
61820
61825
|
const t = "ringg_ai_container";
|
|
@@ -61822,7 +61827,7 @@ const Cle = ({ label: t, meta: e, level: n = "info" }) => {
|
|
|
61822
61827
|
function r(a) {
|
|
61823
61828
|
let s = n.getElementById(t);
|
|
61824
61829
|
s || (s = n.createElement("div"), s.id = t, n.body.appendChild(s)), Iy.createRoot(s).render(
|
|
61825
|
-
/* @__PURE__ */ F.jsx(fr.StrictMode, { children: /* @__PURE__ */ F.jsx(
|
|
61830
|
+
/* @__PURE__ */ F.jsx(fr.StrictMode, { children: /* @__PURE__ */ F.jsx(Sle, { config: a }) })
|
|
61826
61831
|
);
|
|
61827
61832
|
}
|
|
61828
61833
|
e.loadAgent = r;
|