@desivocal/agents-cdn 1.0.7 → 1.0.8
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 +429 -426
- package/dist/dv-agent.umd.js +20 -20
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dv-agent.es.js
CHANGED
|
@@ -120,7 +120,7 @@ function Qz() {
|
|
|
120
120
|
if (Z._status === 1) return Z._result.default;
|
|
121
121
|
throw Z._result;
|
|
122
122
|
}
|
|
123
|
-
var
|
|
123
|
+
var Me = { current: null }, de = { transition: null }, Be = { ReactCurrentDispatcher: Me, ReactCurrentBatchConfig: de, ReactCurrentOwner: N };
|
|
124
124
|
function V() {
|
|
125
125
|
throw Error("act(...) is not supported in production builds of React.");
|
|
126
126
|
}
|
|
@@ -177,34 +177,34 @@ function Qz() {
|
|
|
177
177
|
de.transition = ke;
|
|
178
178
|
}
|
|
179
179
|
}, kn.unstable_act = V, kn.useCallback = function(Z, ke) {
|
|
180
|
-
return
|
|
180
|
+
return Me.current.useCallback(Z, ke);
|
|
181
181
|
}, kn.useContext = function(Z) {
|
|
182
|
-
return
|
|
182
|
+
return Me.current.useContext(Z);
|
|
183
183
|
}, kn.useDebugValue = function() {
|
|
184
184
|
}, kn.useDeferredValue = function(Z) {
|
|
185
|
-
return
|
|
185
|
+
return Me.current.useDeferredValue(Z);
|
|
186
186
|
}, kn.useEffect = function(Z, ke) {
|
|
187
|
-
return
|
|
187
|
+
return Me.current.useEffect(Z, ke);
|
|
188
188
|
}, kn.useId = function() {
|
|
189
|
-
return
|
|
189
|
+
return Me.current.useId();
|
|
190
190
|
}, kn.useImperativeHandle = function(Z, ke, H) {
|
|
191
|
-
return
|
|
191
|
+
return Me.current.useImperativeHandle(Z, ke, H);
|
|
192
192
|
}, kn.useInsertionEffect = function(Z, ke) {
|
|
193
|
-
return
|
|
193
|
+
return Me.current.useInsertionEffect(Z, ke);
|
|
194
194
|
}, kn.useLayoutEffect = function(Z, ke) {
|
|
195
|
-
return
|
|
195
|
+
return Me.current.useLayoutEffect(Z, ke);
|
|
196
196
|
}, kn.useMemo = function(Z, ke) {
|
|
197
|
-
return
|
|
197
|
+
return Me.current.useMemo(Z, ke);
|
|
198
198
|
}, kn.useReducer = function(Z, ke, H) {
|
|
199
|
-
return
|
|
199
|
+
return Me.current.useReducer(Z, ke, H);
|
|
200
200
|
}, kn.useRef = function(Z) {
|
|
201
|
-
return
|
|
201
|
+
return Me.current.useRef(Z);
|
|
202
202
|
}, kn.useState = function(Z) {
|
|
203
|
-
return
|
|
203
|
+
return Me.current.useState(Z);
|
|
204
204
|
}, kn.useSyncExternalStore = function(Z, ke, H) {
|
|
205
|
-
return
|
|
205
|
+
return Me.current.useSyncExternalStore(Z, ke, H);
|
|
206
206
|
}, kn.useTransition = function() {
|
|
207
|
-
return
|
|
207
|
+
return Me.current.useTransition();
|
|
208
208
|
}, kn.version = "18.3.1", kn;
|
|
209
209
|
}
|
|
210
210
|
var Ey = { exports: {} };
|
|
@@ -268,7 +268,7 @@ function Xz() {
|
|
|
268
268
|
ReactCurrentOwner: J
|
|
269
269
|
};
|
|
270
270
|
Ze.ReactDebugCurrentFrame = ee, Ze.ReactCurrentActQueue = N;
|
|
271
|
-
function
|
|
271
|
+
function Me(O) {
|
|
272
272
|
{
|
|
273
273
|
for (var G = arguments.length, pe = new Array(G > 1 ? G - 1 : 0), Ce = 1; Ce < G; Ce++)
|
|
274
274
|
pe[Ce - 1] = arguments[Ce];
|
|
@@ -380,7 +380,7 @@ function Xz() {
|
|
|
380
380
|
}, ot = function(O, G) {
|
|
381
381
|
Object.defineProperty(wt.prototype, O, {
|
|
382
382
|
get: function() {
|
|
383
|
-
|
|
383
|
+
Me("%s(...) is deprecated in plain JavaScript React classes. %s", G[0], G[1]);
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
};
|
|
@@ -674,7 +674,7 @@ function Xz() {
|
|
|
674
674
|
var Zd = j(O);
|
|
675
675
|
if (typeof Zd == "function") {
|
|
676
676
|
var Co = O;
|
|
677
|
-
Zd === Co.entries && (Kn ||
|
|
677
|
+
Zd === Co.entries && (Kn || Me("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Kn = !0);
|
|
678
678
|
for (var du = Zd.call(Co), Qd, dg = 0; !(Qd = du.next()).done; )
|
|
679
679
|
Qn = Qd.value, tn = Ar + $a(Qn, dg++), ar += qa(Qn, G, pe, tn, Ye);
|
|
680
680
|
} else if (St === "object") {
|
|
@@ -786,7 +786,7 @@ function Xz() {
|
|
|
786
786
|
return G.displayName;
|
|
787
787
|
},
|
|
788
788
|
set: function(ct) {
|
|
789
|
-
Ye || (
|
|
789
|
+
Ye || (Me("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", ct), Ye = !0);
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
792
|
}), G.Consumer = St;
|
|
@@ -957,7 +957,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
957
957
|
var pe = at();
|
|
958
958
|
return pe.useLayoutEffect(O, G);
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function Mi(O, G) {
|
|
961
961
|
var pe = at();
|
|
962
962
|
return pe.useCallback(O, G);
|
|
963
963
|
}
|
|
@@ -1313,7 +1313,7 @@ Check the top-level render call using <` + pe + ">.");
|
|
|
1313
1313
|
O.ref !== null && (Hs(O), de("Invalid attribute `ref` supplied to `React.Fragment`."), Hs(null));
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function Li(O, G, pe) {
|
|
1317
1317
|
var Ce = Ne(O);
|
|
1318
1318
|
if (!Ce) {
|
|
1319
1319
|
var Ye = "";
|
|
@@ -1333,11 +1333,11 @@ Check the top-level render call using <` + pe + ">.");
|
|
|
1333
1333
|
}
|
|
1334
1334
|
var Bi = !1;
|
|
1335
1335
|
function cg(O) {
|
|
1336
|
-
var G =
|
|
1337
|
-
return G.type = O, Bi || (Bi = !0,
|
|
1336
|
+
var G = Li.bind(null, O);
|
|
1337
|
+
return G.type = O, Bi || (Bi = !0, Me("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(G, "type", {
|
|
1338
1338
|
enumerable: !1,
|
|
1339
1339
|
get: function() {
|
|
1340
|
-
return
|
|
1340
|
+
return Me("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
|
|
1341
1341
|
value: O
|
|
1342
1342
|
}), O;
|
|
1343
1343
|
}
|
|
@@ -1358,7 +1358,7 @@ Check the top-level render call using <` + pe + ">.");
|
|
|
1358
1358
|
} finally {
|
|
1359
1359
|
if (I.transition = pe, pe === null && Ce._updatedFibers) {
|
|
1360
1360
|
var Ye = Ce._updatedFibers.size;
|
|
1361
|
-
Ye > 10 &&
|
|
1361
|
+
Ye > 10 && Me("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), Ce._updatedFibers.clear();
|
|
1362
1362
|
}
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
@@ -1467,14 +1467,14 @@ Check the top-level render call using <` + pe + ">.");
|
|
|
1467
1467
|
}
|
|
1468
1468
|
}
|
|
1469
1469
|
}
|
|
1470
|
-
var mc =
|
|
1470
|
+
var mc = Li, Yd = dc, Ya = cg, gc = {
|
|
1471
1471
|
map: ho,
|
|
1472
1472
|
forEach: ru,
|
|
1473
1473
|
count: nu,
|
|
1474
1474
|
toArray: po,
|
|
1475
1475
|
only: iu
|
|
1476
1476
|
};
|
|
1477
|
-
e.Children = gc, e.Component = wt, e.Fragment = l, e.Profiler = h, e.PureComponent = Xt, e.StrictMode = c, e.Suspense = C, e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ze, e.act = ll, e.cloneElement = Yd, e.createContext = Fs, e.createElement = mc, e.createFactory = Ya, e.createRef = dr, e.forwardRef = mo, e.isValidElement = cn, e.lazy = Vs, e.memo = rt, e.startTransition = lu, e.unstable_act = ll, e.useCallback =
|
|
1477
|
+
e.Children = gc, e.Component = wt, e.Fragment = l, e.Profiler = h, e.PureComponent = Xt, e.StrictMode = c, e.Suspense = C, e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ze, e.act = ll, e.cloneElement = Yd, e.createContext = Fs, e.createElement = mc, e.createFactory = Ya, e.createRef = dr, e.forwardRef = mo, e.isValidElement = cn, e.lazy = Vs, e.memo = rt, e.startTransition = lu, e.unstable_act = ll, e.useCallback = Mi, e.useContext = dn, e.useDebugValue = yr, e.useDeferredValue = zs, e.useEffect = Dr, e.useId = go, e.useImperativeHandle = jn, e.useInsertionEffect = ur, e.useLayoutEffect = hr, e.useMemo = Ss, e.useReducer = mn, e.useRef = rn, e.useState = Gt, e.useSyncExternalStore = Ph, e.useTransition = Jt, 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
|
}(Ey, Ey.exports)), Ey.exports;
|
|
1480
1480
|
}
|
|
@@ -1609,14 +1609,14 @@ function tB() {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
return null;
|
|
1611
1611
|
}
|
|
1612
|
-
var ze = Object.assign, Ze = 0,
|
|
1612
|
+
var ze = Object.assign, Ze = 0, Me, de, Be, V, Z, ke, H;
|
|
1613
1613
|
function vt() {
|
|
1614
1614
|
}
|
|
1615
1615
|
vt.__reactDisabledLog = !0;
|
|
1616
1616
|
function wt() {
|
|
1617
1617
|
{
|
|
1618
1618
|
if (Ze === 0) {
|
|
1619
|
-
|
|
1619
|
+
Me = console.log, de = console.info, Be = console.warn, V = console.error, Z = console.group, ke = console.groupCollapsed, H = console.groupEnd;
|
|
1620
1620
|
var K = {
|
|
1621
1621
|
configurable: !0,
|
|
1622
1622
|
enumerable: !0,
|
|
@@ -1646,7 +1646,7 @@ function tB() {
|
|
|
1646
1646
|
};
|
|
1647
1647
|
Object.defineProperties(console, {
|
|
1648
1648
|
log: ze({}, K, {
|
|
1649
|
-
value:
|
|
1649
|
+
value: Me
|
|
1650
1650
|
}),
|
|
1651
1651
|
info: ze({}, K, {
|
|
1652
1652
|
value: de
|
|
@@ -1747,9 +1747,9 @@ function tB() {
|
|
|
1747
1747
|
if (ur !== 1 || hr !== 1)
|
|
1748
1748
|
do
|
|
1749
1749
|
if (ur--, hr--, hr < 0 || rn[ur] !== Dr[hr]) {
|
|
1750
|
-
var
|
|
1750
|
+
var Mi = `
|
|
1751
1751
|
` + rn[ur].replace(" at new ", " at ");
|
|
1752
|
-
return K.displayName &&
|
|
1752
|
+
return K.displayName && Mi.includes("<anonymous>") && (Mi = Mi.replace("<anonymous>", K.displayName)), typeof K == "function" && Un.set(K, Mi), Mi;
|
|
1753
1753
|
}
|
|
1754
1754
|
while (ur >= 1 && hr >= 0);
|
|
1755
1755
|
break;
|
|
@@ -2068,17 +2068,17 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
2068
2068
|
if (hr == null)
|
|
2069
2069
|
return hr;
|
|
2070
2070
|
if (mn) {
|
|
2071
|
-
var
|
|
2072
|
-
if (
|
|
2071
|
+
var Mi = Ne.children;
|
|
2072
|
+
if (Mi !== void 0)
|
|
2073
2073
|
if (at)
|
|
2074
|
-
if (Oe(
|
|
2075
|
-
for (var Ss = 0; Ss <
|
|
2076
|
-
iu(
|
|
2077
|
-
Object.freeze && Object.freeze(
|
|
2074
|
+
if (Oe(Mi)) {
|
|
2075
|
+
for (var Ss = 0; Ss < Mi.length; Ss++)
|
|
2076
|
+
iu(Mi[Ss], K);
|
|
2077
|
+
Object.freeze && Object.freeze(Mi);
|
|
2078
2078
|
} else
|
|
2079
2079
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2080
2080
|
else
|
|
2081
|
-
iu(
|
|
2081
|
+
iu(Mi, K);
|
|
2082
2082
|
}
|
|
2083
2083
|
if (ln.call(Ne, "key")) {
|
|
2084
2084
|
var jn = Ee(K), yr = Object.keys(Ne).filter(function(go) {
|
|
@@ -2177,7 +2177,7 @@ function rB() {
|
|
|
2177
2177
|
if (R = !1, j(de), !_) if (n(h) !== null) _ = !0, Ze(I);
|
|
2178
2178
|
else {
|
|
2179
2179
|
var Be = n(m);
|
|
2180
|
-
Be !== null &&
|
|
2180
|
+
Be !== null && Me(B, Be.startTime - de);
|
|
2181
2181
|
}
|
|
2182
2182
|
}
|
|
2183
2183
|
function I(de, Be) {
|
|
@@ -2196,7 +2196,7 @@ function rB() {
|
|
|
2196
2196
|
if (b !== null) var H = !0;
|
|
2197
2197
|
else {
|
|
2198
2198
|
var vt = n(m);
|
|
2199
|
-
vt !== null &&
|
|
2199
|
+
vt !== null && Me(B, vt.startTime - Be), H = !1;
|
|
2200
2200
|
}
|
|
2201
2201
|
return H;
|
|
2202
2202
|
} finally {
|
|
@@ -2234,7 +2234,7 @@ function rB() {
|
|
|
2234
2234
|
function Ze(de) {
|
|
2235
2235
|
J = de, N || (N = !0, _e());
|
|
2236
2236
|
}
|
|
2237
|
-
function
|
|
2237
|
+
function Me(de, Be) {
|
|
2238
2238
|
ee = L(function() {
|
|
2239
2239
|
de(t.unstable_now());
|
|
2240
2240
|
}, Be);
|
|
@@ -2304,7 +2304,7 @@ function rB() {
|
|
|
2304
2304
|
default:
|
|
2305
2305
|
ke = 5e3;
|
|
2306
2306
|
}
|
|
2307
|
-
return ke = V + ke, de = { id: v++, callback: Be, priorityLevel: de, startTime: V, expirationTime: ke, sortIndex: -1 }, V > Z ? (de.sortIndex = V, e(m, de), n(h) === null && de === n(m) && (R ? (A(ee), ee = -1) : R = !0,
|
|
2307
|
+
return ke = V + ke, de = { id: v++, callback: Be, priorityLevel: de, startTime: V, expirationTime: ke, sortIndex: -1 }, V > Z ? (de.sortIndex = V, e(m, de), n(h) === null && de === n(m) && (R ? (A(ee), ee = -1) : R = !0, Me(B, V - Z))) : (de.sortIndex = ke, e(h, de), _ || x || (_ = !0, Ze(I))), de;
|
|
2308
2308
|
}, t.unstable_shouldYield = ae, t.unstable_wrapCallback = function(de) {
|
|
2309
2309
|
var Be = C;
|
|
2310
2310
|
return function() {
|
|
@@ -2387,7 +2387,7 @@ function iB() {
|
|
|
2387
2387
|
return F.now() - j;
|
|
2388
2388
|
};
|
|
2389
2389
|
}
|
|
2390
|
-
var B = 1073741823, I = -1, N = 250, J = 5e3, ee = 1e4, ye = B, q = [], ae = [], X = 1, _e = null, Ee = C, ze = !1, Ze = !1,
|
|
2390
|
+
var B = 1073741823, I = -1, N = 250, J = 5e3, ee = 1e4, ye = B, q = [], ae = [], X = 1, _e = null, Ee = C, ze = !1, Ze = !1, Me = !1, de = typeof setTimeout == "function" ? setTimeout : null, Be = typeof clearTimeout == "function" ? clearTimeout : null, V = typeof setImmediate < "u" ? setImmediate : null;
|
|
2391
2391
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
2392
2392
|
function Z(He) {
|
|
2393
2393
|
for (var bt = o(ae); bt !== null; ) {
|
|
@@ -2401,7 +2401,7 @@ function iB() {
|
|
|
2401
2401
|
}
|
|
2402
2402
|
}
|
|
2403
2403
|
function ke(He) {
|
|
2404
|
-
if (
|
|
2404
|
+
if (Me = !1, Z(He), !Ze)
|
|
2405
2405
|
if (o(q) !== null)
|
|
2406
2406
|
Ze = !0, oe(H);
|
|
2407
2407
|
else {
|
|
@@ -2410,7 +2410,7 @@ function iB() {
|
|
|
2410
2410
|
}
|
|
2411
2411
|
}
|
|
2412
2412
|
function H(He, bt) {
|
|
2413
|
-
Ze = !1,
|
|
2413
|
+
Ze = !1, Me && (Me = !1, mt()), ze = !0;
|
|
2414
2414
|
var Nt = Ee;
|
|
2415
2415
|
try {
|
|
2416
2416
|
var un;
|
|
@@ -2521,7 +2521,7 @@ function iB() {
|
|
|
2521
2521
|
expirationTime: Gn,
|
|
2522
2522
|
sortIndex: -1
|
|
2523
2523
|
};
|
|
2524
|
-
return _n > un ? (lr.sortIndex = _n, a(ae, lr), o(q) === null && lr === o(ae) && (
|
|
2524
|
+
return _n > un ? (lr.sortIndex = _n, a(ae, lr), o(q) === null && lr === o(ae) && (Me ? mt() : Me = !0, Pe(ke, _n - un))) : (lr.sortIndex = Gn, a(q, lr), !Ze && !ze && (Ze = !0, oe(H))), lr;
|
|
2525
2525
|
}
|
|
2526
2526
|
function Lt() {
|
|
2527
2527
|
}
|
|
@@ -2705,7 +2705,7 @@ function aB() {
|
|
|
2705
2705
|
var T = L.hasOwnProperty(d) ? L[d] : null;
|
|
2706
2706
|
(T !== null ? T.type !== 0 : S || !(2 < d.length) || d[0] !== "o" && d[0] !== "O" || d[1] !== "n" && d[1] !== "N") && (_(d, g, T, S) && (g = null), S || T === null ? C(d) && (g === null ? u.removeAttribute(d) : u.setAttribute(d, "" + g)) : T.mustUseProperty ? u[T.propertyName] = g === null ? T.type === 3 ? !1 : "" : g : (d = T.attributeName, S = T.attributeNamespace, g === null ? u.removeAttribute(d) : (T = T.type, g = T === 3 || T === 4 && g === !0 ? "" : "" + g, S ? u.setAttributeNS(S, d, g) : u.setAttribute(d, g))));
|
|
2707
2707
|
}
|
|
2708
|
-
var B = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, I = Symbol.for("react.element"), N = Symbol.for("react.portal"), J = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), ye = Symbol.for("react.profiler"), q = Symbol.for("react.provider"), ae = Symbol.for("react.context"), X = Symbol.for("react.forward_ref"), _e = Symbol.for("react.suspense"), Ee = Symbol.for("react.suspense_list"), ze = Symbol.for("react.memo"), Ze = Symbol.for("react.lazy"),
|
|
2708
|
+
var B = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, I = Symbol.for("react.element"), N = Symbol.for("react.portal"), J = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), ye = Symbol.for("react.profiler"), q = Symbol.for("react.provider"), ae = Symbol.for("react.context"), X = Symbol.for("react.forward_ref"), _e = Symbol.for("react.suspense"), Ee = Symbol.for("react.suspense_list"), ze = Symbol.for("react.memo"), Ze = Symbol.for("react.lazy"), Me = Symbol.for("react.offscreen"), de = Symbol.iterator;
|
|
2709
2709
|
function Be(u) {
|
|
2710
2710
|
return u === null || typeof u != "object" ? null : (u = de && u[de] || u["@@iterator"], typeof u == "function" ? u : null);
|
|
2711
2711
|
}
|
|
@@ -3322,7 +3322,7 @@ function aB() {
|
|
|
3322
3322
|
}
|
|
3323
3323
|
return null;
|
|
3324
3324
|
}
|
|
3325
|
-
var ur = e.unstable_scheduleCallback, hr = e.unstable_cancelCallback,
|
|
3325
|
+
var ur = e.unstable_scheduleCallback, hr = e.unstable_cancelCallback, Mi = e.unstable_shouldYield, Ss = e.unstable_requestPaint, jn = e.unstable_now, yr = e.unstable_getCurrentPriorityLevel, Jt = e.unstable_ImmediatePriority, zs = e.unstable_UserBlockingPriority, go = e.unstable_NormalPriority, Ph = e.unstable_LowPriority, vo = e.unstable_IdlePriority, il = null, ia = null;
|
|
3326
3326
|
function $d(u) {
|
|
3327
3327
|
if (ia && typeof ia.onCommitFiberRoot == "function") try {
|
|
3328
3328
|
ia.onCommitFiberRoot(il, u, void 0, (u.current.flags & 128) === 128);
|
|
@@ -3478,7 +3478,7 @@ function aB() {
|
|
|
3478
3478
|
return u &= -u, 1 < u ? 4 < u ? u & 268435455 ? 16 : 536870912 : 4 : 1;
|
|
3479
3479
|
}
|
|
3480
3480
|
var cc, Tn, Oh, Hs, qt, ou = !1, ai = [], sa = null, zi = null, $s = null, Er = /* @__PURE__ */ new Map(), Yn = /* @__PURE__ */ new Map(), ks = [], Wa = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
|
|
3481
|
-
function
|
|
3481
|
+
function Li(u, d) {
|
|
3482
3482
|
switch (u) {
|
|
3483
3483
|
case "focusin":
|
|
3484
3484
|
case "focusout":
|
|
@@ -3598,9 +3598,9 @@ function aB() {
|
|
|
3598
3598
|
function ul(u, d, g, S) {
|
|
3599
3599
|
if (ll) {
|
|
3600
3600
|
var T = mc(u, d, g, S);
|
|
3601
|
-
if (T === null) Tg(u, d, S, ko, g),
|
|
3601
|
+
if (T === null) Tg(u, d, S, ko, g), Li(u, S);
|
|
3602
3602
|
else if (cg(T, u, d, g, S)) S.stopPropagation();
|
|
3603
|
-
else if (
|
|
3603
|
+
else if (Li(u, S), d & 4 && -1 < Wa.indexOf(u)) {
|
|
3604
3604
|
for (; T !== null; ) {
|
|
3605
3605
|
var E = ff(T);
|
|
3606
3606
|
if (E !== null && cc(E), E = mc(u, d, g, S), E === null && Tg(u, d, S, ko, g), E === T) break;
|
|
@@ -4030,13 +4030,13 @@ function aB() {
|
|
|
4030
4030
|
var g = {};
|
|
4031
4031
|
return g[u.toLowerCase()] = d.toLowerCase(), g["Webkit" + u] = "webkit" + d, g["Moz" + u] = "moz" + d, g;
|
|
4032
4032
|
}
|
|
4033
|
-
var Tc = { animationend: nf("Animation", "AnimationEnd"), animationiteration: nf("Animation", "AnimationIteration"), animationstart: nf("Animation", "AnimationStart"), transitionend: nf("Transition", "TransitionEnd") }, jh = {},
|
|
4034
|
-
c && (
|
|
4033
|
+
var Tc = { animationend: nf("Animation", "AnimationEnd"), animationiteration: nf("Animation", "AnimationIteration"), animationstart: nf("Animation", "AnimationStart"), transitionend: nf("Transition", "TransitionEnd") }, jh = {}, Ii = {};
|
|
4034
|
+
c && (Ii = document.createElement("div").style, "AnimationEvent" in window || (delete Tc.animationend.animation, delete Tc.animationiteration.animation, delete Tc.animationstart.animation), "TransitionEvent" in window || delete Tc.transitionend.transition);
|
|
4035
4035
|
function rf(u) {
|
|
4036
4036
|
if (jh[u]) return jh[u];
|
|
4037
4037
|
if (!Tc[u]) return u;
|
|
4038
4038
|
var d = Tc[u], g;
|
|
4039
|
-
for (g in d) if (d.hasOwnProperty(g) && g in
|
|
4039
|
+
for (g in d) if (d.hasOwnProperty(g) && g in Ii) return jh[u] = d[g];
|
|
4040
4040
|
return u;
|
|
4041
4041
|
}
|
|
4042
4042
|
var Yb = rf("animationend"), Zb = rf("animationiteration"), Qb = rf("animationstart"), Xb = rf("transitionend"), Jb = /* @__PURE__ */ new Map(), Sg = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
|
|
@@ -4803,9 +4803,9 @@ function aB() {
|
|
|
4803
4803
|
}
|
|
4804
4804
|
return Ir;
|
|
4805
4805
|
}
|
|
4806
|
-
var _s = lS(!0), gi = lS(!1), nt = la(null), Da = null,
|
|
4806
|
+
var _s = lS(!0), gi = lS(!1), nt = la(null), Da = null, Ni = null, Og = null;
|
|
4807
4807
|
function Mg() {
|
|
4808
|
-
Og =
|
|
4808
|
+
Og = Ni = Da = null;
|
|
4809
4809
|
}
|
|
4810
4810
|
function Lg(u) {
|
|
4811
4811
|
var d = nt.current;
|
|
@@ -4819,14 +4819,14 @@ function aB() {
|
|
|
4819
4819
|
}
|
|
4820
4820
|
}
|
|
4821
4821
|
function Ac(u, d) {
|
|
4822
|
-
Da = u, Og =
|
|
4822
|
+
Da = u, Og = Ni = null, u = u.dependencies, u !== null && u.firstContext !== null && (u.lanes & d && (li = !0), u.firstContext = null);
|
|
4823
4823
|
}
|
|
4824
4824
|
function $n(u) {
|
|
4825
4825
|
var d = u._currentValue;
|
|
4826
|
-
if (Og !== u) if (u = { context: u, memoizedValue: d, next: null },
|
|
4826
|
+
if (Og !== u) if (u = { context: u, memoizedValue: d, next: null }, Ni === null) {
|
|
4827
4827
|
if (Da === null) throw Error(n(308));
|
|
4828
|
-
|
|
4829
|
-
} else
|
|
4828
|
+
Ni = u, Da.dependencies = { lanes: 0, firstContext: u };
|
|
4829
|
+
} else Ni = Ni.next = u;
|
|
4830
4830
|
return d;
|
|
4831
4831
|
}
|
|
4832
4832
|
var Su = null;
|
|
@@ -5797,7 +5797,7 @@ Error generating stack: ` + E.message + `
|
|
|
5797
5797
|
S === null ? d || u.tail === null ? u.tail = null : u.tail.sibling = null : S.sibling = null;
|
|
5798
5798
|
}
|
|
5799
5799
|
}
|
|
5800
|
-
function
|
|
5800
|
+
function Ui(u) {
|
|
5801
5801
|
var d = u.alternate !== null && u.alternate.child === u.child, g = 0, S = 0;
|
|
5802
5802
|
if (d) for (var T = u.child; T !== null; ) g |= T.lanes | T.childLanes, S |= T.subtreeFlags & 14680064, S |= T.flags & 14680064, T.return = u, T = T.sibling;
|
|
5803
5803
|
else for (T = u.child; T !== null; ) g |= T.lanes | T.childLanes, S |= T.subtreeFlags, S |= T.flags, T.return = u, T = T.sibling;
|
|
@@ -5816,11 +5816,11 @@ Error generating stack: ` + E.message + `
|
|
|
5816
5816
|
case 12:
|
|
5817
5817
|
case 9:
|
|
5818
5818
|
case 14:
|
|
5819
|
-
return
|
|
5819
|
+
return Ui(d), null;
|
|
5820
5820
|
case 1:
|
|
5821
|
-
return Hr(d.type) && Gs(),
|
|
5821
|
+
return Hr(d.type) && Gs(), Ui(d), null;
|
|
5822
5822
|
case 3:
|
|
5823
|
-
return S = d.stateNode, Mc(), Xn(Br), Xn(_r), bf(), S.pendingContext && (S.context = S.pendingContext, S.pendingContext = null), (u === null || u.child === null) && (Or(d) ? d.flags |= 4 : u === null || u.memoizedState.isDehydrated && !(d.flags & 256) || (d.flags |= 1024, Es !== null && (jf(Es), Es = null))), Oa(u, d),
|
|
5823
|
+
return S = d.stateNode, Mc(), Xn(Br), Xn(_r), bf(), S.pendingContext && (S.context = S.pendingContext, S.pendingContext = null), (u === null || u.child === null) && (Or(d) ? d.flags |= 4 : u === null || u.memoizedState.isDehydrated && !(d.flags & 256) || (d.flags |= 1024, Es !== null && (jf(Es), Es = null))), Oa(u, d), Ui(d), null;
|
|
5824
5824
|
case 5:
|
|
5825
5825
|
Vg(d);
|
|
5826
5826
|
var T = ku(yf.current);
|
|
@@ -5828,7 +5828,7 @@ Error generating stack: ` + E.message + `
|
|
|
5828
5828
|
else {
|
|
5829
5829
|
if (!S) {
|
|
5830
5830
|
if (d.stateNode === null) throw Error(n(166));
|
|
5831
|
-
return
|
|
5831
|
+
return Ui(d), null;
|
|
5832
5832
|
}
|
|
5833
5833
|
if (u = ku(Zs.current), Or(d)) {
|
|
5834
5834
|
S = d.stateNode, g = d.type;
|
|
@@ -5982,7 +5982,7 @@ Error generating stack: ` + E.message + `
|
|
|
5982
5982
|
}
|
|
5983
5983
|
d.ref !== null && (d.flags |= 512, d.flags |= 2097152);
|
|
5984
5984
|
}
|
|
5985
|
-
return
|
|
5985
|
+
return Ui(d), null;
|
|
5986
5986
|
case 6:
|
|
5987
5987
|
if (u && d.stateNode != null) kS(u, d, u.memoizedProps, S);
|
|
5988
5988
|
else {
|
|
@@ -5998,7 +5998,7 @@ Error generating stack: ` + E.message + `
|
|
|
5998
5998
|
E && (d.flags |= 4);
|
|
5999
5999
|
} else S = (g.nodeType === 9 ? g : g.ownerDocument).createTextNode(S), S[Za] = d, d.stateNode = S;
|
|
6000
6000
|
}
|
|
6001
|
-
return
|
|
6001
|
+
return Ui(d), null;
|
|
6002
6002
|
case 13:
|
|
6003
6003
|
if (Xn(br), S = d.memoizedState, u === null || u.memoizedState !== null && u.memoizedState.dehydrated !== null) {
|
|
6004
6004
|
if (pr && ca !== null && d.mode & 1 && !(d.flags & 128)) sS(), _o(), d.flags |= 98560, E = !1;
|
|
@@ -6008,19 +6008,19 @@ Error generating stack: ` + E.message + `
|
|
|
6008
6008
|
if (E = d.memoizedState, E = E !== null ? E.dehydrated : null, !E) throw Error(n(317));
|
|
6009
6009
|
E[Za] = d;
|
|
6010
6010
|
} else _o(), !(d.flags & 128) && (d.memoizedState = null), d.flags |= 4;
|
|
6011
|
-
|
|
6011
|
+
Ui(d), E = !1;
|
|
6012
6012
|
} else Es !== null && (jf(Es), Es = null), E = !0;
|
|
6013
6013
|
if (!E) return d.flags & 65536 ? d : null;
|
|
6014
6014
|
}
|
|
6015
|
-
return d.flags & 128 ? (d.lanes = g, d) : (S = S !== null, S !== (u !== null && u.memoizedState !== null) && S && (d.child.flags |= 8192, d.mode & 1 && (u === null || br.current & 1 ? Jr === 0 && (Jr = 3) : rv())), d.updateQueue !== null && (d.flags |= 4),
|
|
6015
|
+
return d.flags & 128 ? (d.lanes = g, d) : (S = S !== null, S !== (u !== null && u.memoizedState !== null) && S && (d.child.flags |= 8192, d.mode & 1 && (u === null || br.current & 1 ? Jr === 0 && (Jr = 3) : rv())), d.updateQueue !== null && (d.flags |= 4), Ui(d), null);
|
|
6016
6016
|
case 4:
|
|
6017
|
-
return Mc(), Oa(u, d), u === null && lf(d.stateNode.containerInfo),
|
|
6017
|
+
return Mc(), Oa(u, d), u === null && lf(d.stateNode.containerInfo), Ui(d), null;
|
|
6018
6018
|
case 10:
|
|
6019
|
-
return Lg(d.type._context),
|
|
6019
|
+
return Lg(d.type._context), Ui(d), null;
|
|
6020
6020
|
case 17:
|
|
6021
|
-
return Hr(d.type) && Gs(),
|
|
6021
|
+
return Hr(d.type) && Gs(), Ui(d), null;
|
|
6022
6022
|
case 19:
|
|
6023
|
-
if (Xn(br), E = d.memoizedState, E === null) return
|
|
6023
|
+
if (Xn(br), E = d.memoizedState, E === null) return Ui(d), null;
|
|
6024
6024
|
if (S = (d.flags & 128) !== 0, M = E.rendering, M === null) if (S) Df(E, !1);
|
|
6025
6025
|
else {
|
|
6026
6026
|
if (Jr !== 0 || u !== null && u.flags & 128) for (u = d.child; u !== null; ) {
|
|
@@ -6034,14 +6034,14 @@ Error generating stack: ` + E.message + `
|
|
|
6034
6034
|
}
|
|
6035
6035
|
else {
|
|
6036
6036
|
if (!S) if (u = Xh(M), u !== null) {
|
|
6037
|
-
if (d.flags |= 128, S = !0, g = u.updateQueue, g !== null && (d.updateQueue = g, d.flags |= 4), Df(E, !0), E.tail === null && E.tailMode === "hidden" && !M.alternate && !pr) return
|
|
6037
|
+
if (d.flags |= 128, S = !0, g = u.updateQueue, g !== null && (d.updateQueue = g, d.flags |= 4), Df(E, !0), E.tail === null && E.tailMode === "hidden" && !M.alternate && !pr) return Ui(d), null;
|
|
6038
6038
|
} else 2 * jn() - E.renderingStartTime > Hc && g !== 1073741824 && (d.flags |= 128, S = !0, Df(E, !1), d.lanes = 4194304);
|
|
6039
6039
|
E.isBackwards ? (M.sibling = d.child, d.child = M) : (g = E.last, g !== null ? g.sibling = M : d.child = M, E.last = M);
|
|
6040
6040
|
}
|
|
6041
|
-
return E.tail !== null ? (d = E.tail, E.rendering = d, E.tail = d.sibling, E.renderingStartTime = jn(), d.sibling = null, g = br.current, sr(br, S ? g & 1 | 2 : g & 1), d) : (
|
|
6041
|
+
return E.tail !== null ? (d = E.tail, E.rendering = d, E.tail = d.sibling, E.renderingStartTime = jn(), d.sibling = null, g = br.current, sr(br, S ? g & 1 | 2 : g & 1), d) : (Ui(d), null);
|
|
6042
6042
|
case 22:
|
|
6043
6043
|
case 23:
|
|
6044
|
-
return nv(), S = d.memoizedState !== null, u !== null && u.memoizedState !== null !== S && (d.flags |= 8192), S && d.mode & 1 ? Ma & 1073741824 && (
|
|
6044
|
+
return nv(), S = d.memoizedState !== null, u !== null && u.memoizedState !== null !== S && (d.flags |= 8192), S && d.mode & 1 ? Ma & 1073741824 && (Ui(d), d.subtreeFlags & 6 && (d.flags |= 8192)) : Ui(d), null;
|
|
6045
6045
|
case 24:
|
|
6046
6046
|
return null;
|
|
6047
6047
|
case 25:
|
|
@@ -6718,7 +6718,7 @@ Error generating stack: ` + E.message + `
|
|
|
6718
6718
|
yt = d.return;
|
|
6719
6719
|
}
|
|
6720
6720
|
}
|
|
6721
|
-
var RS = Math.ceil, Pp = B.ReactCurrentDispatcher, Ru = B.ReactCurrentOwner,
|
|
6721
|
+
var RS = Math.ceil, Pp = B.ReactCurrentDispatcher, Ru = B.ReactCurrentOwner, Fi = B.ReactCurrentBatchConfig, vn = 0, Wr = null, Lr = null, bi = 0, Ma = 0, zc = la(0), Jr = 0, Pu = null, Du = 0, Au = 0, Lf = 0, Bc = null, ma = null, tv = 0, Hc = 1 / 0, Do = null, wl = !1, If = null, ns = null, Dp = !1, El = null, Nf = 0, $c = 0, qc = null, Ou = -1, Uf = 0;
|
|
6722
6722
|
function or() {
|
|
6723
6723
|
return vn & 6 ? jn() : Ou !== -1 ? Ou : Ou = jn();
|
|
6724
6724
|
}
|
|
@@ -6895,11 +6895,11 @@ Error generating stack: ` + E.message + `
|
|
|
6895
6895
|
El !== null && El.tag === 0 && !(vn & 6) && Wc();
|
|
6896
6896
|
var d = vn;
|
|
6897
6897
|
vn |= 1;
|
|
6898
|
-
var g =
|
|
6898
|
+
var g = Fi.transition, S = Cn;
|
|
6899
6899
|
try {
|
|
6900
|
-
if (
|
|
6900
|
+
if (Fi.transition = null, Cn = 1, u) return u();
|
|
6901
6901
|
} finally {
|
|
6902
|
-
Cn = S,
|
|
6902
|
+
Cn = S, Fi.transition = g, vn = d, !(vn & 6) && Hi();
|
|
6903
6903
|
}
|
|
6904
6904
|
}
|
|
6905
6905
|
function nv() {
|
|
@@ -7054,7 +7054,7 @@ Error generating stack: ` + E.message + `
|
|
|
7054
7054
|
for (; Lr !== null; ) iv(Lr);
|
|
7055
7055
|
}
|
|
7056
7056
|
function wT() {
|
|
7057
|
-
for (; Lr !== null && !
|
|
7057
|
+
for (; Lr !== null && !Mi(); ) iv(Lr);
|
|
7058
7058
|
}
|
|
7059
7059
|
function iv(u) {
|
|
7060
7060
|
var d = sv(u.alternate, u, Ma);
|
|
@@ -7087,11 +7087,11 @@ Error generating stack: ` + E.message + `
|
|
|
7087
7087
|
Jr === 0 && (Jr = 5);
|
|
7088
7088
|
}
|
|
7089
7089
|
function Iu(u, d, g) {
|
|
7090
|
-
var S = Cn, T =
|
|
7090
|
+
var S = Cn, T = Fi.transition;
|
|
7091
7091
|
try {
|
|
7092
|
-
|
|
7092
|
+
Fi.transition = null, Cn = 1, ET(u, d, g, S);
|
|
7093
7093
|
} finally {
|
|
7094
|
-
|
|
7094
|
+
Fi.transition = T, Cn = S;
|
|
7095
7095
|
}
|
|
7096
7096
|
return null;
|
|
7097
7097
|
}
|
|
@@ -7109,11 +7109,11 @@ Error generating stack: ` + E.message + `
|
|
|
7109
7109
|
if (Wd(u, E), u === Wr && (Lr = Wr = null, bi = 0), !(g.subtreeFlags & 2064) && !(g.flags & 2064) || Dp || (Dp = !0, LS(go, function() {
|
|
7110
7110
|
return Wc(), null;
|
|
7111
7111
|
})), E = (g.flags & 15990) !== 0, g.subtreeFlags & 15990 || E) {
|
|
7112
|
-
E =
|
|
7112
|
+
E = Fi.transition, Fi.transition = null;
|
|
7113
7113
|
var M = Cn;
|
|
7114
7114
|
Cn = 1;
|
|
7115
7115
|
var $ = vn;
|
|
7116
|
-
vn |= 4, Ru.current = null, TT(u, g), wS(g, u), Gb(cf), ll = !!pu, cf = pu = null, u.current = g, Of(g), Ss(), vn = $, Cn = M,
|
|
7116
|
+
vn |= 4, Ru.current = null, TT(u, g), wS(g, u), Gb(cf), ll = !!pu, cf = pu = null, u.current = g, Of(g), Ss(), vn = $, Cn = M, Fi.transition = E;
|
|
7117
7117
|
} else u.current = g;
|
|
7118
7118
|
if (Dp && (Dp = !1, El = u, Nf = T), E = u.pendingLanes, E === 0 && (ns = null), $d(g.stateNode), ui(u, jn()), d !== null) for (S = u.onRecoverableError, g = 0; g < d.length; g++) T = d[g], S(T.value, { componentStack: T.stack, digest: T.digest });
|
|
7119
7119
|
if (wl) throw wl = !1, u = If, If = null, u;
|
|
@@ -7121,9 +7121,9 @@ Error generating stack: ` + E.message + `
|
|
|
7121
7121
|
}
|
|
7122
7122
|
function Wc() {
|
|
7123
7123
|
if (El !== null) {
|
|
7124
|
-
var u = Kd(Nf), d =
|
|
7124
|
+
var u = Kd(Nf), d = Fi.transition, g = Cn;
|
|
7125
7125
|
try {
|
|
7126
|
-
if (
|
|
7126
|
+
if (Fi.transition = null, Cn = 16 > u ? 16 : u, El === null) var S = !1;
|
|
7127
7127
|
else {
|
|
7128
7128
|
if (u = El, El = null, Nf = 0, vn & 6) throw Error(n(331));
|
|
7129
7129
|
var T = vn;
|
|
@@ -7225,7 +7225,7 @@ Error generating stack: ` + E.message + `
|
|
|
7225
7225
|
}
|
|
7226
7226
|
return S;
|
|
7227
7227
|
} finally {
|
|
7228
|
-
Cn = g,
|
|
7228
|
+
Cn = g, Fi.transition = d;
|
|
7229
7229
|
}
|
|
7230
7230
|
}
|
|
7231
7231
|
return !1;
|
|
@@ -7467,7 +7467,7 @@ Error generating stack: ` + E.message + `
|
|
|
7467
7467
|
return u = rs(13, g, d, T), u.elementType = _e, u.lanes = E, u;
|
|
7468
7468
|
case Ee:
|
|
7469
7469
|
return u = rs(19, g, d, T), u.elementType = Ee, u.lanes = E, u;
|
|
7470
|
-
case
|
|
7470
|
+
case Me:
|
|
7471
7471
|
return Gc(g, T, E, d);
|
|
7472
7472
|
default:
|
|
7473
7473
|
if (typeof u == "object" && u !== null) switch (u.$$typeof) {
|
|
@@ -7495,7 +7495,7 @@ Error generating stack: ` + E.message + `
|
|
|
7495
7495
|
return u = rs(7, u, S, d), u.lanes = g, u;
|
|
7496
7496
|
}
|
|
7497
7497
|
function Gc(u, d, g, S) {
|
|
7498
|
-
return u = rs(22, u, S, d), u.elementType =
|
|
7498
|
+
return u = rs(22, u, S, d), u.elementType = Me, u.lanes = g, u.stateNode = { isHidden: !1 }, u;
|
|
7499
7499
|
}
|
|
7500
7500
|
function Nu(u, d, g) {
|
|
7501
7501
|
return u = rs(6, u, null, d), u.lanes = g, u;
|
|
@@ -7809,7 +7809,7 @@ function sB() {
|
|
|
7809
7809
|
k.unshift("Warning: " + s), Function.prototype.apply.call(console[i], console, k);
|
|
7810
7810
|
}
|
|
7811
7811
|
}
|
|
7812
|
-
var m = 0, v = 1, b = 2, C = 3, x = 4, _ = 5, R = 6, L = 7, A = 8, F = 9, j = 10, B = 11, I = 12, N = 13, J = 14, ee = 15, ye = 16, q = 17, ae = 18, X = 19, _e = 21, Ee = 22, ze = 23, Ze = 24,
|
|
7812
|
+
var m = 0, v = 1, b = 2, C = 3, x = 4, _ = 5, R = 6, L = 7, A = 8, F = 9, j = 10, B = 11, I = 12, N = 13, J = 14, ee = 15, ye = 16, q = 17, ae = 18, X = 19, _e = 21, Ee = 22, ze = 23, Ze = 24, Me = 25, de = !0, Be = !1, V = !1, Z = !1, ke = !1, H = !0, vt = !0, wt = !0, pt = !0, ot = /* @__PURE__ */ new Set(), ut = {}, Lt = {};
|
|
7813
7813
|
function Xt(i, s) {
|
|
7814
7814
|
Un(i, s), Un(i + "Capture", s);
|
|
7815
7815
|
}
|
|
@@ -8348,7 +8348,7 @@ function sB() {
|
|
|
8348
8348
|
}
|
|
8349
8349
|
}
|
|
8350
8350
|
}
|
|
8351
|
-
var pi = Symbol.for("react.element"), Ra = Symbol.for("react.portal"), ra = Symbol.for("react.fragment"), js = Symbol.for("react.strict_mode"), Vs = Symbol.for("react.profiler"), mo = Symbol.for("react.provider"), K = Symbol.for("react.context"), Ne = Symbol.for("react.forward_ref"), rt = Symbol.for("react.suspense"), at = Symbol.for("react.suspense_list"), dn = Symbol.for("react.memo"), Gt = Symbol.for("react.lazy"), mn = Symbol.for("react.scope"), rn = Symbol.for("react.debug_trace_mode"), Dr = Symbol.for("react.offscreen"), ur = Symbol.for("react.legacy_hidden"), hr = Symbol.for("react.cache"),
|
|
8351
|
+
var pi = Symbol.for("react.element"), Ra = Symbol.for("react.portal"), ra = Symbol.for("react.fragment"), js = Symbol.for("react.strict_mode"), Vs = Symbol.for("react.profiler"), mo = Symbol.for("react.provider"), K = Symbol.for("react.context"), Ne = Symbol.for("react.forward_ref"), rt = Symbol.for("react.suspense"), at = Symbol.for("react.suspense_list"), dn = Symbol.for("react.memo"), Gt = Symbol.for("react.lazy"), mn = Symbol.for("react.scope"), rn = Symbol.for("react.debug_trace_mode"), Dr = Symbol.for("react.offscreen"), ur = Symbol.for("react.legacy_hidden"), hr = Symbol.for("react.cache"), Mi = Symbol.for("react.tracing_marker"), Ss = Symbol.iterator, jn = "@@iterator";
|
|
8352
8352
|
function yr(i) {
|
|
8353
8353
|
if (i === null || typeof i != "object")
|
|
8354
8354
|
return null;
|
|
@@ -8682,7 +8682,7 @@ Error generating stack: ` + p.message + `
|
|
|
8682
8682
|
return "Suspense";
|
|
8683
8683
|
case X:
|
|
8684
8684
|
return "SuspenseList";
|
|
8685
|
-
case
|
|
8685
|
+
case Me:
|
|
8686
8686
|
return "TracingMarker";
|
|
8687
8687
|
case v:
|
|
8688
8688
|
case m:
|
|
@@ -8724,7 +8724,7 @@ Error generating stack: ` + p.message + `
|
|
|
8724
8724
|
function Wa(i) {
|
|
8725
8725
|
sa = i;
|
|
8726
8726
|
}
|
|
8727
|
-
function
|
|
8727
|
+
function Li(i) {
|
|
8728
8728
|
return "" + i;
|
|
8729
8729
|
}
|
|
8730
8730
|
function Bi(i) {
|
|
@@ -8856,7 +8856,7 @@ Error generating stack: ` + p.message + `
|
|
|
8856
8856
|
if (y != null)
|
|
8857
8857
|
k === "number" ? (y === 0 && f.value === "" || // We explicitly want to coerce to number here if possible.
|
|
8858
8858
|
// eslint-disable-next-line
|
|
8859
|
-
f.value != y) && (f.value =
|
|
8859
|
+
f.value != y) && (f.value = Li(y)) : f.value !== Li(y) && (f.value = Li(y));
|
|
8860
8860
|
else if (k === "submit" || k === "reset") {
|
|
8861
8861
|
f.removeAttribute("value");
|
|
8862
8862
|
return;
|
|
@@ -8869,7 +8869,7 @@ Error generating stack: ` + p.message + `
|
|
|
8869
8869
|
var y = s.type, k = y === "submit" || y === "reset";
|
|
8870
8870
|
if (k && (s.value === void 0 || s.value === null))
|
|
8871
8871
|
return;
|
|
8872
|
-
var w =
|
|
8872
|
+
var w = Li(p._wrapperState.initialValue);
|
|
8873
8873
|
f || w !== p.value && (p.value = w), p.defaultValue = w;
|
|
8874
8874
|
}
|
|
8875
8875
|
var P = p.name;
|
|
@@ -8898,7 +8898,7 @@ Error generating stack: ` + p.message + `
|
|
|
8898
8898
|
}
|
|
8899
8899
|
function St(i, s, f) {
|
|
8900
8900
|
// Focused number inputs synchronize on blur. See ChangeEventPlugin.js
|
|
8901
|
-
(s !== "number" || So(i.ownerDocument) !== i) && (f == null ? i.defaultValue =
|
|
8901
|
+
(s !== "number" || So(i.ownerDocument) !== i) && (f == null ? i.defaultValue = Li(i._wrapperState.initialValue) : i.defaultValue !== Li(f) && (i.defaultValue = Li(f)));
|
|
8902
8902
|
}
|
|
8903
8903
|
var ct = !1, Vt = !1, an = !1;
|
|
8904
8904
|
function zn(i, s) {
|
|
@@ -8907,7 +8907,7 @@ Error generating stack: ` + p.message + `
|
|
|
8907
8907
|
}) : s.dangerouslySetInnerHTML != null && (an || (an = !0, c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))), s.selected != null && !ct && (c("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), ct = !0);
|
|
8908
8908
|
}
|
|
8909
8909
|
function Zn(i, s) {
|
|
8910
|
-
s.value != null && i.setAttribute("value",
|
|
8910
|
+
s.value != null && i.setAttribute("value", Li(Bi(s.value)));
|
|
8911
8911
|
}
|
|
8912
8912
|
var Qn = Array.isArray;
|
|
8913
8913
|
function tn(i) {
|
|
@@ -8944,7 +8944,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
8944
8944
|
y[D].selected !== U && (y[D].selected = U), U && p && (y[D].defaultSelected = !0);
|
|
8945
8945
|
}
|
|
8946
8946
|
} else {
|
|
8947
|
-
for (var z =
|
|
8947
|
+
for (var z = Li(Bi(f)), re = null, te = 0; te < y.length; te++) {
|
|
8948
8948
|
if (y[te].value === z) {
|
|
8949
8949
|
y[te].selected = !0, p && (y[te].defaultSelected = !0);
|
|
8950
8950
|
return;
|
|
@@ -8989,7 +8989,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
8989
8989
|
var p = Jt({}, s, {
|
|
8990
8990
|
value: void 0,
|
|
8991
8991
|
defaultValue: void 0,
|
|
8992
|
-
children:
|
|
8992
|
+
children: Li(f._wrapperState.initialValue)
|
|
8993
8993
|
});
|
|
8994
8994
|
return p;
|
|
8995
8995
|
}
|
|
@@ -9021,10 +9021,10 @@ Check the render method of \`` + i + "`." : "";
|
|
|
9021
9021
|
function Pb(i, s) {
|
|
9022
9022
|
var f = i, p = Bi(s.value), y = Bi(s.defaultValue);
|
|
9023
9023
|
if (p != null) {
|
|
9024
|
-
var k =
|
|
9024
|
+
var k = Li(p);
|
|
9025
9025
|
k !== f.value && (f.value = k), s.defaultValue == null && f.defaultValue !== k && (f.defaultValue = k);
|
|
9026
9026
|
}
|
|
9027
|
-
y != null && (f.defaultValue =
|
|
9027
|
+
y != null && (f.defaultValue = Li(y));
|
|
9028
9028
|
}
|
|
9029
9029
|
function Db(i, s) {
|
|
9030
9030
|
var f = i, p = f.textContent;
|
|
@@ -9909,42 +9909,42 @@ Check the render method of \`` + i + "`." : "";
|
|
|
9909
9909
|
var jh = function() {
|
|
9910
9910
|
};
|
|
9911
9911
|
{
|
|
9912
|
-
var
|
|
9912
|
+
var Ii = {}, rf = /^on./, Yb = /^on[^A-Z]/, Zb = new RegExp("^(aria)-[" + He + "]*$"), Qb = new RegExp("^(aria)[A-Z][" + He + "]*$");
|
|
9913
9913
|
jh = function(i, s, f, p) {
|
|
9914
|
-
if (fr.call(
|
|
9914
|
+
if (fr.call(Ii, s) && Ii[s])
|
|
9915
9915
|
return !0;
|
|
9916
9916
|
var y = s.toLowerCase();
|
|
9917
9917
|
if (y === "onfocusin" || y === "onfocusout")
|
|
9918
|
-
return c("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),
|
|
9918
|
+
return c("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."), Ii[s] = !0, !0;
|
|
9919
9919
|
if (p != null) {
|
|
9920
9920
|
var k = p.registrationNameDependencies, w = p.possibleRegistrationNames;
|
|
9921
9921
|
if (k.hasOwnProperty(s))
|
|
9922
9922
|
return !0;
|
|
9923
9923
|
var P = w.hasOwnProperty(y) ? w[y] : null;
|
|
9924
9924
|
if (P != null)
|
|
9925
|
-
return c("Invalid event handler property `%s`. Did you mean `%s`?", s, P),
|
|
9925
|
+
return c("Invalid event handler property `%s`. Did you mean `%s`?", s, P), Ii[s] = !0, !0;
|
|
9926
9926
|
if (rf.test(s))
|
|
9927
|
-
return c("Unknown event handler property `%s`. It will be ignored.", s),
|
|
9927
|
+
return c("Unknown event handler property `%s`. It will be ignored.", s), Ii[s] = !0, !0;
|
|
9928
9928
|
} else if (rf.test(s))
|
|
9929
|
-
return Yb.test(s) && c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", s),
|
|
9929
|
+
return Yb.test(s) && c("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", s), Ii[s] = !0, !0;
|
|
9930
9930
|
if (Zb.test(s) || Qb.test(s))
|
|
9931
9931
|
return !0;
|
|
9932
9932
|
if (y === "innerhtml")
|
|
9933
|
-
return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),
|
|
9933
|
+
return c("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."), Ii[s] = !0, !0;
|
|
9934
9934
|
if (y === "aria")
|
|
9935
|
-
return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),
|
|
9935
|
+
return c("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."), Ii[s] = !0, !0;
|
|
9936
9936
|
if (y === "is" && f !== null && f !== void 0 && typeof f != "string")
|
|
9937
|
-
return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof f),
|
|
9937
|
+
return c("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof f), Ii[s] = !0, !0;
|
|
9938
9938
|
if (typeof f == "number" && isNaN(f))
|
|
9939
|
-
return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", s),
|
|
9939
|
+
return c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", s), Ii[s] = !0, !0;
|
|
9940
9940
|
var D = lr(s), U = D !== null && D.type === Oe;
|
|
9941
9941
|
if (Sc.hasOwnProperty(y)) {
|
|
9942
9942
|
var z = Sc[y];
|
|
9943
9943
|
if (z !== s)
|
|
9944
|
-
return c("Invalid DOM property `%s`. Did you mean `%s`?", s, z),
|
|
9944
|
+
return c("Invalid DOM property `%s`. Did you mean `%s`?", s, z), Ii[s] = !0, !0;
|
|
9945
9945
|
} else if (!U && s !== y)
|
|
9946
|
-
return c("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", s, y),
|
|
9947
|
-
return typeof f == "boolean" && Dn(s, f, D, !1) ? (f ? c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', f, s, s, f, s) : c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', f, s, s, f, s, s, s),
|
|
9946
|
+
return c("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", s, y), Ii[s] = !0, !0;
|
|
9947
|
+
return typeof f == "boolean" && Dn(s, f, D, !1) ? (f ? c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', f, s, s, f, s) : c('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', f, s, s, f, s, s, s), Ii[s] = !0, !0) : U ? !0 : Dn(s, f, D, !1) ? (Ii[s] = !0, !1) : ((f === "false" || f === "true") && D !== null && D.type === oe && (c("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", f, s, f === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', s, f), Ii[s] = !0), !0);
|
|
9948
9948
|
};
|
|
9949
9949
|
}
|
|
9950
9950
|
var Xb = function(i, s, f) {
|
|
@@ -10375,7 +10375,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10375
10375
|
}
|
|
10376
10376
|
return null;
|
|
10377
10377
|
}
|
|
10378
|
-
var Pg = n.unstable_scheduleCallback, Dg = n.unstable_cancelCallback, Ag = n.unstable_shouldYield, aS = n.unstable_requestPaint, Or = n.unstable_now, sS = n.unstable_getCurrentPriorityLevel, _o = n.unstable_ImmediatePriority, mf = n.unstable_UserBlockingPriority, bu = n.unstable_NormalPriority, gf = n.unstable_LowPriority, Dc = n.unstable_IdlePriority, oS = n.unstable_yieldValue, lS = n.unstable_setDisableYieldValue, _s = null, gi = null, nt = null, Da = !1,
|
|
10378
|
+
var Pg = n.unstable_scheduleCallback, Dg = n.unstable_cancelCallback, Ag = n.unstable_shouldYield, aS = n.unstable_requestPaint, Or = n.unstable_now, sS = n.unstable_getCurrentPriorityLevel, _o = n.unstable_ImmediatePriority, mf = n.unstable_UserBlockingPriority, bu = n.unstable_NormalPriority, gf = n.unstable_LowPriority, Dc = n.unstable_IdlePriority, oS = n.unstable_yieldValue, lS = n.unstable_setDisableYieldValue, _s = null, gi = null, nt = null, Da = !1, Ni = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u";
|
|
10379
10379
|
function Og(i) {
|
|
10380
10380
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u")
|
|
10381
10381
|
return !1;
|
|
@@ -10994,14 +10994,14 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10994
10994
|
return (p & (i.suspendedLanes | s)) !== qr ? qr : p;
|
|
10995
10995
|
}
|
|
10996
10996
|
function SS(i, s, f) {
|
|
10997
|
-
if (
|
|
10997
|
+
if (Ni)
|
|
10998
10998
|
for (var p = i.pendingUpdatersLaneMap; f > 0; ) {
|
|
10999
10999
|
var y = bp(f), k = 1 << y, w = p[y];
|
|
11000
11000
|
w.add(s), f &= ~k;
|
|
11001
11001
|
}
|
|
11002
11002
|
}
|
|
11003
11003
|
function Zg(i, s) {
|
|
11004
|
-
if (
|
|
11004
|
+
if (Ni)
|
|
11005
11005
|
for (var f = i.pendingUpdatersLaneMap, p = i.memoizedUpdaters; s > 0; ) {
|
|
11006
11006
|
var y = bp(s), k = 1 << y, w = f[y];
|
|
11007
11007
|
w.size > 0 && (w.forEach(function(P) {
|
|
@@ -11031,7 +11031,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
11031
11031
|
function Df(i, s) {
|
|
11032
11032
|
return i !== 0 && i < s ? i : s;
|
|
11033
11033
|
}
|
|
11034
|
-
function
|
|
11034
|
+
function Ui(i, s) {
|
|
11035
11035
|
return i > s ? i : s;
|
|
11036
11036
|
}
|
|
11037
11037
|
function Qg(i, s) {
|
|
@@ -11236,7 +11236,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
11236
11236
|
function Ru(i, s) {
|
|
11237
11237
|
i.blockedOn === s && (i.blockedOn = null, Rp || (Rp = !0, n.unstable_scheduleCallback(n.unstable_NormalPriority, Pp)));
|
|
11238
11238
|
}
|
|
11239
|
-
function
|
|
11239
|
+
function Fi(i) {
|
|
11240
11240
|
if (Af.length > 0) {
|
|
11241
11241
|
Ru(Af[0], i);
|
|
11242
11242
|
for (var s = 1; s < Af.length; s++) {
|
|
@@ -13286,7 +13286,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13286
13286
|
var k = y.data;
|
|
13287
13287
|
if (k === JS)
|
|
13288
13288
|
if (p === 0) {
|
|
13289
|
-
i.removeChild(y),
|
|
13289
|
+
i.removeChild(y), Fi(s);
|
|
13290
13290
|
return;
|
|
13291
13291
|
} else
|
|
13292
13292
|
p--;
|
|
@@ -13294,10 +13294,10 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13294
13294
|
}
|
|
13295
13295
|
f = y;
|
|
13296
13296
|
} while (f);
|
|
13297
|
-
|
|
13297
|
+
Fi(s);
|
|
13298
13298
|
}
|
|
13299
13299
|
function b8(i, s) {
|
|
13300
|
-
i.nodeType === Vr ? XT(i.parentNode, s) : i.nodeType === oa && XT(i, s),
|
|
13300
|
+
i.nodeType === Vr ? XT(i.parentNode, s) : i.nodeType === oa && XT(i, s), Fi(i);
|
|
13301
13301
|
}
|
|
13302
13302
|
function S8(i) {
|
|
13303
13303
|
i = i;
|
|
@@ -13416,10 +13416,10 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13416
13416
|
return null;
|
|
13417
13417
|
}
|
|
13418
13418
|
function U8(i) {
|
|
13419
|
-
|
|
13419
|
+
Fi(i);
|
|
13420
13420
|
}
|
|
13421
13421
|
function F8(i) {
|
|
13422
|
-
|
|
13422
|
+
Fi(i);
|
|
13423
13423
|
}
|
|
13424
13424
|
function j8(i) {
|
|
13425
13425
|
return i !== "head" && i !== "body";
|
|
@@ -16750,7 +16750,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16750
16750
|
if (p === null ? (p = i.pingCache = new t7(), y = /* @__PURE__ */ new Set(), p.set(s, y)) : (y = p.get(s), y === void 0 && (y = /* @__PURE__ */ new Set(), p.set(s, y))), !y.has(f)) {
|
|
16751
16751
|
y.add(f);
|
|
16752
16752
|
var k = KV.bind(null, i, s, f);
|
|
16753
|
-
|
|
16753
|
+
Ni && sy(i, f), s.then(k, k);
|
|
16754
16754
|
}
|
|
16755
16755
|
}
|
|
16756
16756
|
function n7(i, s, f, p) {
|
|
@@ -16798,7 +16798,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16798
16798
|
return i.flags |= Xa, i.lanes = y, i;
|
|
16799
16799
|
}
|
|
16800
16800
|
function i7(i, s, f, p, y) {
|
|
16801
|
-
if (f.flags |= vu,
|
|
16801
|
+
if (f.flags |= vu, Ni && sy(i, y), p !== null && typeof p == "object" && typeof p.then == "function") {
|
|
16802
16802
|
var k = p;
|
|
16803
16803
|
r7(f), Gi() && f.mode & hn && lD();
|
|
16804
16804
|
var w = gA(s);
|
|
@@ -18131,7 +18131,7 @@ Check the render method of \`` + p + "`.");
|
|
|
18131
18131
|
}
|
|
18132
18132
|
case Ze:
|
|
18133
18133
|
return null;
|
|
18134
|
-
case
|
|
18134
|
+
case Me:
|
|
18135
18135
|
return null;
|
|
18136
18136
|
}
|
|
18137
18137
|
throw new Error("Unknown unit of work tag (" + s.tag + "). This error is likely caused by a bug in React. Please file an issue.");
|
|
@@ -18534,7 +18534,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18534
18534
|
case _e:
|
|
18535
18535
|
case Ee:
|
|
18536
18536
|
case ze:
|
|
18537
|
-
case
|
|
18537
|
+
case Me:
|
|
18538
18538
|
break;
|
|
18539
18539
|
default:
|
|
18540
18540
|
throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.");
|
|
@@ -18847,7 +18847,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18847
18847
|
f === null && (f = i.stateNode = new U7()), s.forEach(function(p) {
|
|
18848
18848
|
var y = ZV.bind(null, i, p);
|
|
18849
18849
|
if (!f.has(p)) {
|
|
18850
|
-
if (f.add(p),
|
|
18850
|
+
if (f.add(p), Ni)
|
|
18851
18851
|
if (dm !== null && fm !== null)
|
|
18852
18852
|
sy(fm, dm);
|
|
18853
18853
|
else
|
|
@@ -19457,7 +19457,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19457
19457
|
return (s & hn) === Ot ? Ft : yS();
|
|
19458
19458
|
}
|
|
19459
19459
|
function _i(i, s, f, p) {
|
|
19460
|
-
XV(), sO && c("useInsertionEffect must not schedule updates."), Xx && (i1 = !0), Fc(i, f, p), (xn & Ji) !== Re && i === Ua ? tz(s) : (
|
|
19460
|
+
XV(), sO && c("useInsertionEffect must not schedule updates."), Xx && (i1 = !0), Fc(i, f, p), (xn & Ji) !== Re && i === Ua ? tz(s) : (Ni && SS(i, s, f), nz(s), i === Ua && ((xn & Ji) === xi && (Jv = nn(Jv, f)), Ei === Qv && dd(i, wi)), ls(i, p), f === Ft && xn === xi && (s.mode & hn) === Ot && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
|
|
19461
19461
|
!Bo.isBatchingLegacy && (ty(), sD()));
|
|
19462
19462
|
}
|
|
19463
19463
|
function PV(i, s, f) {
|
|
@@ -19783,7 +19783,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19783
19783
|
xn |= Ji;
|
|
19784
19784
|
var p = fO();
|
|
19785
19785
|
if (Ua !== i || wi !== s) {
|
|
19786
|
-
if (
|
|
19786
|
+
if (Ni) {
|
|
19787
19787
|
var y = i.memoizedUpdaters;
|
|
19788
19788
|
y.size > 0 && (sy(i, wi), y.clear()), Zg(i, s);
|
|
19789
19789
|
}
|
|
@@ -19811,7 +19811,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19811
19811
|
xn |= Ji;
|
|
19812
19812
|
var p = fO();
|
|
19813
19813
|
if (Ua !== i || wi !== s) {
|
|
19814
|
-
if (
|
|
19814
|
+
if (Ni) {
|
|
19815
19815
|
var y = i.memoizedUpdaters;
|
|
19816
19816
|
y.size > 0 && (sy(i, wi), y.clear()), Zg(i, s);
|
|
19817
19817
|
}
|
|
@@ -19913,7 +19913,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19913
19913
|
} else
|
|
19914
19914
|
i.current = y, sA();
|
|
19915
19915
|
var te = nh;
|
|
19916
|
-
if (nh ? (nh = !1, ud = i, ny = k) : (mm = 0, a1 = null), w = i.pendingLanes, w === Re && (pm = null), te || bO(i.current, !1), Lg(y.stateNode, p),
|
|
19916
|
+
if (nh ? (nh = !1, ud = i, ny = k) : (mm = 0, a1 = null), w = i.pendingLanes, w === Re && (pm = null), te || bO(i.current, !1), Lg(y.stateNode, p), Ni && i.memoizedUpdaters.clear(), kV(), ls(i, Or()), s !== null)
|
|
19917
19917
|
for (var me = i.onRecoverableError, ve = 0; ve < s.length; ve++) {
|
|
19918
19918
|
var Te = s[ve], it = Te.stack, Ut = Te.digest;
|
|
19919
19919
|
me(Te.value, {
|
|
@@ -19930,7 +19930,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19930
19930
|
}
|
|
19931
19931
|
function Gu() {
|
|
19932
19932
|
if (ud !== null) {
|
|
19933
|
-
var i = CS(ny), s =
|
|
19933
|
+
var i = CS(ny), s = Ui(vi, i), f = Xi.transition, p = Oa();
|
|
19934
19934
|
try {
|
|
19935
19935
|
return Xi.transition = null, Xr(s), $V();
|
|
19936
19936
|
} finally {
|
|
@@ -20125,7 +20125,7 @@ Error message:
|
|
|
20125
20125
|
}
|
|
20126
20126
|
}
|
|
20127
20127
|
function sy(i, s) {
|
|
20128
|
-
if (
|
|
20128
|
+
if (Ni) {
|
|
20129
20129
|
var f = i.memoizedUpdaters;
|
|
20130
20130
|
f.forEach(function(p) {
|
|
20131
20131
|
SS(i, p, s);
|
|
@@ -20448,7 +20448,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20448
20448
|
}
|
|
20449
20449
|
function pz(i, s, f) {
|
|
20450
20450
|
var p;
|
|
20451
|
-
return i === lk ? (p = hn, s === !0 && (p |= en, p |= Jn)) : p = Ot,
|
|
20451
|
+
return i === lk ? (p = hn, s === !0 && (p |= en, p |= Jn)) : p = Ot, Ni && (p |= Sn), As(C, null, null, p);
|
|
20452
20452
|
}
|
|
20453
20453
|
function hw(i, s, f, p, y, k) {
|
|
20454
20454
|
var w = b, P = i;
|
|
@@ -20474,7 +20474,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
20474
20474
|
case ur:
|
|
20475
20475
|
case mn:
|
|
20476
20476
|
case hr:
|
|
20477
|
-
case
|
|
20477
|
+
case Mi:
|
|
20478
20478
|
case rn:
|
|
20479
20479
|
default: {
|
|
20480
20480
|
if (typeof i == "object" && i !== null)
|
|
@@ -21588,10 +21588,10 @@ function TB() {
|
|
|
21588
21588
|
};
|
|
21589
21589
|
}
|
|
21590
21590
|
const Pr = TB();
|
|
21591
|
-
var
|
|
21591
|
+
var Ie;
|
|
21592
21592
|
(function(t) {
|
|
21593
21593
|
t[t.DOUBLE = 1] = "DOUBLE", t[t.FLOAT = 2] = "FLOAT", t[t.INT64 = 3] = "INT64", t[t.UINT64 = 4] = "UINT64", t[t.INT32 = 5] = "INT32", t[t.FIXED64 = 6] = "FIXED64", t[t.FIXED32 = 7] = "FIXED32", t[t.BOOL = 8] = "BOOL", t[t.STRING = 9] = "STRING", t[t.BYTES = 12] = "BYTES", t[t.UINT32 = 13] = "UINT32", t[t.SFIXED32 = 15] = "SFIXED32", t[t.SFIXED64 = 16] = "SFIXED64", t[t.SINT32 = 17] = "SINT32", t[t.SINT64 = 18] = "SINT64";
|
|
21594
|
-
})(
|
|
21594
|
+
})(Ie || (Ie = {}));
|
|
21595
21595
|
var _d;
|
|
21596
21596
|
(function(t) {
|
|
21597
21597
|
t[t.BIGINT = 0] = "BIGINT", t[t.STRING = 1] = "STRING";
|
|
@@ -21599,7 +21599,7 @@ var _d;
|
|
|
21599
21599
|
function hd(t, e, n) {
|
|
21600
21600
|
if (e === n)
|
|
21601
21601
|
return !0;
|
|
21602
|
-
if (t ==
|
|
21602
|
+
if (t == Ie.BYTES) {
|
|
21603
21603
|
if (!(e instanceof Uint8Array) || !(n instanceof Uint8Array) || e.length !== n.length)
|
|
21604
21604
|
return !1;
|
|
21605
21605
|
for (let r = 0; r < e.length; r++)
|
|
@@ -21608,31 +21608,31 @@ function hd(t, e, n) {
|
|
|
21608
21608
|
return !0;
|
|
21609
21609
|
}
|
|
21610
21610
|
switch (t) {
|
|
21611
|
-
case
|
|
21612
|
-
case
|
|
21613
|
-
case
|
|
21614
|
-
case
|
|
21615
|
-
case
|
|
21611
|
+
case Ie.UINT64:
|
|
21612
|
+
case Ie.FIXED64:
|
|
21613
|
+
case Ie.INT64:
|
|
21614
|
+
case Ie.SFIXED64:
|
|
21615
|
+
case Ie.SINT64:
|
|
21616
21616
|
return e == n;
|
|
21617
21617
|
}
|
|
21618
21618
|
return !1;
|
|
21619
21619
|
}
|
|
21620
21620
|
function $m(t, e) {
|
|
21621
21621
|
switch (t) {
|
|
21622
|
-
case
|
|
21622
|
+
case Ie.BOOL:
|
|
21623
21623
|
return !1;
|
|
21624
|
-
case
|
|
21625
|
-
case
|
|
21626
|
-
case
|
|
21627
|
-
case
|
|
21628
|
-
case
|
|
21624
|
+
case Ie.UINT64:
|
|
21625
|
+
case Ie.FIXED64:
|
|
21626
|
+
case Ie.INT64:
|
|
21627
|
+
case Ie.SFIXED64:
|
|
21628
|
+
case Ie.SINT64:
|
|
21629
21629
|
return e == 0 ? Pr.zero : "0";
|
|
21630
|
-
case
|
|
21631
|
-
case
|
|
21630
|
+
case Ie.DOUBLE:
|
|
21631
|
+
case Ie.FLOAT:
|
|
21632
21632
|
return 0;
|
|
21633
|
-
case
|
|
21633
|
+
case Ie.BYTES:
|
|
21634
21634
|
return new Uint8Array(0);
|
|
21635
|
-
case
|
|
21635
|
+
case Ie.STRING:
|
|
21636
21636
|
return "";
|
|
21637
21637
|
default:
|
|
21638
21638
|
return 0;
|
|
@@ -21640,11 +21640,11 @@ function $m(t, e) {
|
|
|
21640
21640
|
}
|
|
21641
21641
|
function kN(t, e) {
|
|
21642
21642
|
switch (t) {
|
|
21643
|
-
case
|
|
21643
|
+
case Ie.BOOL:
|
|
21644
21644
|
return e === !1;
|
|
21645
|
-
case
|
|
21645
|
+
case Ie.STRING:
|
|
21646
21646
|
return e === "";
|
|
21647
|
-
case
|
|
21647
|
+
case Ie.BYTES:
|
|
21648
21648
|
return e instanceof Uint8Array && !e.byteLength;
|
|
21649
21649
|
default:
|
|
21650
21650
|
return e == 0;
|
|
@@ -22159,7 +22159,7 @@ function mh(t, e) {
|
|
|
22159
22159
|
function _N(t, e) {
|
|
22160
22160
|
return mh(e) || !t.fieldWrapper ? e : t.fieldWrapper.wrapField(e);
|
|
22161
22161
|
}
|
|
22162
|
-
|
|
22162
|
+
Ie.DOUBLE, Ie.FLOAT, Ie.INT64, Ie.UINT64, Ie.INT32, Ie.UINT32, Ie.BOOL, Ie.STRING, Ie.BYTES;
|
|
22163
22163
|
const kM = {
|
|
22164
22164
|
ignoreUnknownFields: !1
|
|
22165
22165
|
}, CM = {
|
|
@@ -22369,7 +22369,7 @@ function TM(t, e, n, r, a) {
|
|
|
22369
22369
|
}
|
|
22370
22370
|
}
|
|
22371
22371
|
function LB(t, e) {
|
|
22372
|
-
if (t ===
|
|
22372
|
+
if (t === Ie.BOOL)
|
|
22373
22373
|
switch (e) {
|
|
22374
22374
|
case "true":
|
|
22375
22375
|
e = !0;
|
|
@@ -22384,8 +22384,8 @@ function Ly(t, e, n, r) {
|
|
|
22384
22384
|
if (e === null)
|
|
22385
22385
|
return r ? $m(t, n) : tC;
|
|
22386
22386
|
switch (t) {
|
|
22387
|
-
case
|
|
22388
|
-
case
|
|
22387
|
+
case Ie.DOUBLE:
|
|
22388
|
+
case Ie.FLOAT:
|
|
22389
22389
|
if (e === "NaN") return Number.NaN;
|
|
22390
22390
|
if (e === "Infinity") return Number.POSITIVE_INFINITY;
|
|
22391
22391
|
if (e === "-Infinity") return Number.NEGATIVE_INFINITY;
|
|
@@ -22394,30 +22394,30 @@ function Ly(t, e, n, r) {
|
|
|
22394
22394
|
const a = Number(e);
|
|
22395
22395
|
if (Number.isNaN(a) || !Number.isFinite(a))
|
|
22396
22396
|
break;
|
|
22397
|
-
return t ==
|
|
22398
|
-
case
|
|
22399
|
-
case
|
|
22400
|
-
case
|
|
22401
|
-
case
|
|
22402
|
-
case
|
|
22397
|
+
return t == Ie.FLOAT && pN(a), a;
|
|
22398
|
+
case Ie.INT32:
|
|
22399
|
+
case Ie.FIXED32:
|
|
22400
|
+
case Ie.SFIXED32:
|
|
22401
|
+
case Ie.SINT32:
|
|
22402
|
+
case Ie.UINT32:
|
|
22403
22403
|
let o;
|
|
22404
22404
|
if (typeof e == "number" ? o = e : typeof e == "string" && e.length > 0 && e.trim().length === e.length && (o = Number(e)), o === void 0) break;
|
|
22405
|
-
return t ==
|
|
22406
|
-
case
|
|
22407
|
-
case
|
|
22408
|
-
case
|
|
22405
|
+
return t == Ie.UINT32 || t == Ie.FIXED32 ? DE(o) : A1(o), o;
|
|
22406
|
+
case Ie.INT64:
|
|
22407
|
+
case Ie.SFIXED64:
|
|
22408
|
+
case Ie.SINT64:
|
|
22409
22409
|
if (typeof e != "number" && typeof e != "string") break;
|
|
22410
22410
|
const l = Pr.parse(e);
|
|
22411
22411
|
return n ? l.toString() : l;
|
|
22412
|
-
case
|
|
22413
|
-
case
|
|
22412
|
+
case Ie.FIXED64:
|
|
22413
|
+
case Ie.UINT64:
|
|
22414
22414
|
if (typeof e != "number" && typeof e != "string") break;
|
|
22415
22415
|
const c = Pr.uParse(e);
|
|
22416
22416
|
return n ? c.toString() : c;
|
|
22417
|
-
case
|
|
22417
|
+
case Ie.BOOL:
|
|
22418
22418
|
if (typeof e != "boolean") break;
|
|
22419
22419
|
return e;
|
|
22420
|
-
case
|
|
22420
|
+
case Ie.STRING:
|
|
22421
22421
|
if (typeof e != "string")
|
|
22422
22422
|
break;
|
|
22423
22423
|
try {
|
|
@@ -22426,7 +22426,7 @@ function Ly(t, e, n, r) {
|
|
|
22426
22426
|
throw new Error("invalid UTF8");
|
|
22427
22427
|
}
|
|
22428
22428
|
return e;
|
|
22429
|
-
case
|
|
22429
|
+
case Ie.BYTES:
|
|
22430
22430
|
if (e === "") return new Uint8Array(0);
|
|
22431
22431
|
if (typeof e != "string") break;
|
|
22432
22432
|
return TN.dec(e);
|
|
@@ -22514,26 +22514,26 @@ function Pw(t, e, n) {
|
|
|
22514
22514
|
}
|
|
22515
22515
|
function L1(t, e) {
|
|
22516
22516
|
switch (t) {
|
|
22517
|
-
case
|
|
22518
|
-
case
|
|
22519
|
-
case
|
|
22520
|
-
case
|
|
22521
|
-
case
|
|
22517
|
+
case Ie.INT32:
|
|
22518
|
+
case Ie.SFIXED32:
|
|
22519
|
+
case Ie.SINT32:
|
|
22520
|
+
case Ie.FIXED32:
|
|
22521
|
+
case Ie.UINT32:
|
|
22522
22522
|
return Yr(typeof e == "number"), e;
|
|
22523
|
-
case
|
|
22524
|
-
case
|
|
22523
|
+
case Ie.FLOAT:
|
|
22524
|
+
case Ie.DOUBLE:
|
|
22525
22525
|
return Yr(typeof e == "number"), Number.isNaN(e) ? "NaN" : e === Number.POSITIVE_INFINITY ? "Infinity" : e === Number.NEGATIVE_INFINITY ? "-Infinity" : e;
|
|
22526
|
-
case
|
|
22526
|
+
case Ie.STRING:
|
|
22527
22527
|
return Yr(typeof e == "string"), e;
|
|
22528
|
-
case
|
|
22528
|
+
case Ie.BOOL:
|
|
22529
22529
|
return Yr(typeof e == "boolean"), e;
|
|
22530
|
-
case
|
|
22531
|
-
case
|
|
22532
|
-
case
|
|
22533
|
-
case
|
|
22534
|
-
case
|
|
22530
|
+
case Ie.UINT64:
|
|
22531
|
+
case Ie.FIXED64:
|
|
22532
|
+
case Ie.INT64:
|
|
22533
|
+
case Ie.SFIXED64:
|
|
22534
|
+
case Ie.SINT64:
|
|
22535
22535
|
return Yr(typeof e == "bigint" || typeof e == "string" || typeof e == "number"), e.toString();
|
|
22536
|
-
case
|
|
22536
|
+
case Ie.BYTES:
|
|
22537
22537
|
return Yr(e instanceof Uint8Array), TN.enc(e);
|
|
22538
22538
|
}
|
|
22539
22539
|
}
|
|
@@ -22618,11 +22618,11 @@ function _M(t, e, n, r, a) {
|
|
|
22618
22618
|
switch (n.oneof && (t = t[n.oneof.localName], t.case != l && delete t.value, t.case = l, l = "value"), n.kind) {
|
|
22619
22619
|
case "scalar":
|
|
22620
22620
|
case "enum":
|
|
22621
|
-
const c = n.kind == "enum" ?
|
|
22621
|
+
const c = n.kind == "enum" ? Ie.INT32 : n.T;
|
|
22622
22622
|
let h = nC;
|
|
22623
22623
|
if (n.kind == "scalar" && n.L > 0 && (h = VB), o) {
|
|
22624
22624
|
let C = t[l];
|
|
22625
|
-
if (r == ri.LengthDelimited && c !=
|
|
22625
|
+
if (r == ri.LengthDelimited && c != Ie.STRING && c != Ie.BYTES) {
|
|
22626
22626
|
let _ = e.uint32() + e.pos;
|
|
22627
22627
|
for (; e.pos < _; )
|
|
22628
22628
|
C.push(h(e, c));
|
|
@@ -22696,35 +22696,35 @@ function VB(t, e) {
|
|
|
22696
22696
|
}
|
|
22697
22697
|
function nC(t, e) {
|
|
22698
22698
|
switch (e) {
|
|
22699
|
-
case
|
|
22699
|
+
case Ie.STRING:
|
|
22700
22700
|
return t.string();
|
|
22701
|
-
case
|
|
22701
|
+
case Ie.BOOL:
|
|
22702
22702
|
return t.bool();
|
|
22703
|
-
case
|
|
22703
|
+
case Ie.DOUBLE:
|
|
22704
22704
|
return t.double();
|
|
22705
|
-
case
|
|
22705
|
+
case Ie.FLOAT:
|
|
22706
22706
|
return t.float();
|
|
22707
|
-
case
|
|
22707
|
+
case Ie.INT32:
|
|
22708
22708
|
return t.int32();
|
|
22709
|
-
case
|
|
22709
|
+
case Ie.INT64:
|
|
22710
22710
|
return t.int64();
|
|
22711
|
-
case
|
|
22711
|
+
case Ie.UINT64:
|
|
22712
22712
|
return t.uint64();
|
|
22713
|
-
case
|
|
22713
|
+
case Ie.FIXED64:
|
|
22714
22714
|
return t.fixed64();
|
|
22715
|
-
case
|
|
22715
|
+
case Ie.BYTES:
|
|
22716
22716
|
return t.bytes();
|
|
22717
|
-
case
|
|
22717
|
+
case Ie.FIXED32:
|
|
22718
22718
|
return t.fixed32();
|
|
22719
|
-
case
|
|
22719
|
+
case Ie.SFIXED32:
|
|
22720
22720
|
return t.sfixed32();
|
|
22721
|
-
case
|
|
22721
|
+
case Ie.SFIXED64:
|
|
22722
22722
|
return t.sfixed64();
|
|
22723
|
-
case
|
|
22723
|
+
case Ie.SINT64:
|
|
22724
22724
|
return t.sint64();
|
|
22725
|
-
case
|
|
22725
|
+
case Ie.UINT32:
|
|
22726
22726
|
return t.uint32();
|
|
22727
|
-
case
|
|
22727
|
+
case Ie.SINT32:
|
|
22728
22728
|
return t.sint32();
|
|
22729
22729
|
}
|
|
22730
22730
|
}
|
|
@@ -22734,7 +22734,7 @@ function RM(t, e, n, r) {
|
|
|
22734
22734
|
switch (t.kind) {
|
|
22735
22735
|
case "scalar":
|
|
22736
22736
|
case "enum":
|
|
22737
|
-
let o = t.kind == "enum" ?
|
|
22737
|
+
let o = t.kind == "enum" ? Ie.INT32 : t.T;
|
|
22738
22738
|
if (a)
|
|
22739
22739
|
if (Yr(Array.isArray(e)), t.packed)
|
|
22740
22740
|
BB(n, o, t.no, e);
|
|
@@ -22763,14 +22763,14 @@ function zB(t, e, n, r, a) {
|
|
|
22763
22763
|
t.tag(n.no, ri.LengthDelimited), t.fork();
|
|
22764
22764
|
let o = r;
|
|
22765
22765
|
switch (n.K) {
|
|
22766
|
-
case
|
|
22767
|
-
case
|
|
22768
|
-
case
|
|
22769
|
-
case
|
|
22770
|
-
case
|
|
22766
|
+
case Ie.INT32:
|
|
22767
|
+
case Ie.FIXED32:
|
|
22768
|
+
case Ie.UINT32:
|
|
22769
|
+
case Ie.SFIXED32:
|
|
22770
|
+
case Ie.SINT32:
|
|
22771
22771
|
o = Number.parseInt(r);
|
|
22772
22772
|
break;
|
|
22773
|
-
case
|
|
22773
|
+
case Ie.BOOL:
|
|
22774
22774
|
Yr(r == "true" || r == "false"), o = r == "true";
|
|
22775
22775
|
break;
|
|
22776
22776
|
}
|
|
@@ -22779,7 +22779,7 @@ function zB(t, e, n, r, a) {
|
|
|
22779
22779
|
Iy(t, n.V.T, 2, a);
|
|
22780
22780
|
break;
|
|
22781
22781
|
case "enum":
|
|
22782
|
-
Iy(t,
|
|
22782
|
+
Iy(t, Ie.INT32, 2, a);
|
|
22783
22783
|
break;
|
|
22784
22784
|
case "message":
|
|
22785
22785
|
Yr(a !== void 0), t.tag(2, ri.LengthDelimited).bytes(a.toBinary(e));
|
|
@@ -22808,22 +22808,22 @@ function BB(t, e, n, r) {
|
|
|
22808
22808
|
function RN(t) {
|
|
22809
22809
|
let e = ri.Varint;
|
|
22810
22810
|
switch (t) {
|
|
22811
|
-
case
|
|
22812
|
-
case
|
|
22811
|
+
case Ie.BYTES:
|
|
22812
|
+
case Ie.STRING:
|
|
22813
22813
|
e = ri.LengthDelimited;
|
|
22814
22814
|
break;
|
|
22815
|
-
case
|
|
22816
|
-
case
|
|
22817
|
-
case
|
|
22815
|
+
case Ie.DOUBLE:
|
|
22816
|
+
case Ie.FIXED64:
|
|
22817
|
+
case Ie.SFIXED64:
|
|
22818
22818
|
e = ri.Bit64;
|
|
22819
22819
|
break;
|
|
22820
|
-
case
|
|
22821
|
-
case
|
|
22822
|
-
case
|
|
22820
|
+
case Ie.FIXED32:
|
|
22821
|
+
case Ie.SFIXED32:
|
|
22822
|
+
case Ie.FLOAT:
|
|
22823
22823
|
e = ri.Bit32;
|
|
22824
22824
|
break;
|
|
22825
22825
|
}
|
|
22826
|
-
const n =
|
|
22826
|
+
const n = Ie[t].toLowerCase();
|
|
22827
22827
|
return [e, n];
|
|
22828
22828
|
}
|
|
22829
22829
|
function HB() {
|
|
@@ -22843,7 +22843,7 @@ function HB() {
|
|
|
22843
22843
|
continue;
|
|
22844
22844
|
const h = r.findField(c);
|
|
22845
22845
|
let m = l[a].value;
|
|
22846
|
-
h && h.kind == "message" && !mh(m, h.T) ? m = new h.T(m) : h && h.kind === "scalar" && h.T ===
|
|
22846
|
+
h && h.kind == "message" && !mh(m, h.T) ? m = new h.T(m) : h && h.kind === "scalar" && h.T === Ie.BYTES && (m = py(m)), o[a] = {
|
|
22847
22847
|
case: c,
|
|
22848
22848
|
value: m
|
|
22849
22849
|
};
|
|
@@ -22851,13 +22851,13 @@ function HB() {
|
|
|
22851
22851
|
case "scalar":
|
|
22852
22852
|
case "enum":
|
|
22853
22853
|
let v = l[a];
|
|
22854
|
-
r.T ===
|
|
22854
|
+
r.T === Ie.BYTES && (v = r.repeated ? v.map(py) : py(v)), o[a] = v;
|
|
22855
22855
|
break;
|
|
22856
22856
|
case "map":
|
|
22857
22857
|
switch (r.V.kind) {
|
|
22858
22858
|
case "scalar":
|
|
22859
22859
|
case "enum":
|
|
22860
|
-
if (r.V.T ===
|
|
22860
|
+
if (r.V.T === Ie.BYTES)
|
|
22861
22861
|
for (const [x, _] of Object.entries(l[a]))
|
|
22862
22862
|
o[a][x] = py(_);
|
|
22863
22863
|
else
|
|
@@ -22897,7 +22897,7 @@ function HB() {
|
|
|
22897
22897
|
case "scalar":
|
|
22898
22898
|
return a.every((l, c) => hd(r.T, l, o[c]));
|
|
22899
22899
|
case "enum":
|
|
22900
|
-
return a.every((l, c) => hd(
|
|
22900
|
+
return a.every((l, c) => hd(Ie.INT32, l, o[c]));
|
|
22901
22901
|
}
|
|
22902
22902
|
throw new Error("repeated cannot contain ".concat(r.kind));
|
|
22903
22903
|
}
|
|
@@ -22905,7 +22905,7 @@ function HB() {
|
|
|
22905
22905
|
case "message":
|
|
22906
22906
|
return r.T.equals(a, o);
|
|
22907
22907
|
case "enum":
|
|
22908
|
-
return hd(
|
|
22908
|
+
return hd(Ie.INT32, a, o);
|
|
22909
22909
|
case "scalar":
|
|
22910
22910
|
return hd(r.T, a, o);
|
|
22911
22911
|
case "oneof":
|
|
@@ -22918,7 +22918,7 @@ function HB() {
|
|
|
22918
22918
|
case "message":
|
|
22919
22919
|
return l.T.equals(a.value, o.value);
|
|
22920
22920
|
case "enum":
|
|
22921
|
-
return hd(
|
|
22921
|
+
return hd(Ie.INT32, a.value, o.value);
|
|
22922
22922
|
case "scalar":
|
|
22923
22923
|
return hd(l.T, a.value, o.value);
|
|
22924
22924
|
}
|
|
@@ -22930,7 +22930,7 @@ function HB() {
|
|
|
22930
22930
|
const h = r.V.T;
|
|
22931
22931
|
return c.every((v) => h.equals(a[v], o[v]));
|
|
22932
22932
|
case "enum":
|
|
22933
|
-
return c.every((v) => hd(
|
|
22933
|
+
return c.every((v) => hd(Ie.INT32, a[v], o[v]));
|
|
22934
22934
|
case "scalar":
|
|
22935
22935
|
const m = r.V.T;
|
|
22936
22936
|
return c.every((v) => hd(m, a[v], o[v]));
|
|
@@ -23116,7 +23116,7 @@ function JB(t, e) {
|
|
|
23116
23116
|
let m;
|
|
23117
23117
|
for (const v of typeof t == "function" ? t() : t) {
|
|
23118
23118
|
const b = v;
|
|
23119
|
-
if (b.localName = PN(v.name, v.oneof !== void 0), b.jsonName = (n = v.jsonName) !== null && n !== void 0 ? n : GB(v.name), b.repeated = (r = v.repeated) !== null && r !== void 0 ? r : !1, v.kind == "scalar" && (b.L = (a = v.L) !== null && a !== void 0 ? a : _d.BIGINT), b.delimited = (o = v.delimited) !== null && o !== void 0 ? o : !1, b.req = (l = v.req) !== null && l !== void 0 ? l : !1, b.opt = (c = v.opt) !== null && c !== void 0 ? c : !1, v.packed === void 0 && (b.packed = v.kind == "enum" || v.kind == "scalar" && v.T !=
|
|
23119
|
+
if (b.localName = PN(v.name, v.oneof !== void 0), b.jsonName = (n = v.jsonName) !== null && n !== void 0 ? n : GB(v.name), b.repeated = (r = v.repeated) !== null && r !== void 0 ? r : !1, v.kind == "scalar" && (b.L = (a = v.L) !== null && a !== void 0 ? a : _d.BIGINT), b.delimited = (o = v.delimited) !== null && o !== void 0 ? o : !1, b.req = (l = v.req) !== null && l !== void 0 ? l : !1, b.opt = (c = v.opt) !== null && c !== void 0 ? c : !1, v.packed === void 0 && (b.packed = v.kind == "enum" || v.kind == "scalar" && v.T != Ie.BYTES && v.T != Ie.STRING), v.oneof !== void 0) {
|
|
23120
23120
|
const C = typeof v.oneof == "string" ? v.oneof : v.oneof.name;
|
|
23121
23121
|
(!m || m.name != C) && (m = new XB(C)), b.oneof = m, m.addField(b);
|
|
23122
23122
|
}
|
|
@@ -27836,10 +27836,10 @@ var we;
|
|
|
27836
27836
|
(function(t) {
|
|
27837
27837
|
t.Connected = "connected", t.Reconnecting = "reconnecting", t.SignalReconnecting = "signalReconnecting", t.Reconnected = "reconnected", t.Disconnected = "disconnected", t.ConnectionStateChanged = "connectionStateChanged", t.MediaDevicesChanged = "mediaDevicesChanged", t.ParticipantConnected = "participantConnected", t.ParticipantDisconnected = "participantDisconnected", 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.LocalAudioSilenceDetected = "localAudioSilenceDetected", t.ActiveSpeakersChanged = "activeSpeakersChanged", t.ParticipantMetadataChanged = "participantMetadataChanged", t.ParticipantNameChanged = "participantNameChanged", t.ParticipantAttributesChanged = "participantAttributesChanged", t.RoomMetadataChanged = "roomMetadataChanged", t.DataReceived = "dataReceived", t.SipDTMFReceived = "sipDTMFReceived", t.TranscriptionReceived = "transcriptionReceived", t.ConnectionQualityChanged = "connectionQualityChanged", t.TrackStreamStateChanged = "trackStreamStateChanged", t.TrackSubscriptionPermissionChanged = "trackSubscriptionPermissionChanged", t.TrackSubscriptionStatusChanged = "trackSubscriptionStatusChanged", t.AudioPlaybackStatusChanged = "audioPlaybackChanged", t.VideoPlaybackStatusChanged = "videoPlaybackChanged", t.MediaDevicesError = "mediaDevicesError", t.ParticipantPermissionsChanged = "participantPermissionsChanged", t.SignalConnected = "signalConnected", t.RecordingStatusChanged = "recordingStatusChanged", t.ParticipantEncryptionStatusChanged = "participantEncryptionStatusChanged", t.EncryptionError = "encryptionError", t.DCBufferStatusChanged = "dcBufferStatusChanged", t.ActiveDeviceChanged = "activeDeviceChanged", t.ChatMessage = "chatMessage", t.LocalTrackSubscribed = "localTrackSubscribed", t.MetricsReceived = "metricsReceived";
|
|
27838
27838
|
})(we || (we = {}));
|
|
27839
|
-
var
|
|
27839
|
+
var Le;
|
|
27840
27840
|
(function(t) {
|
|
27841
27841
|
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";
|
|
27842
|
-
})(
|
|
27842
|
+
})(Le || (Le = {}));
|
|
27843
27843
|
var Xe;
|
|
27844
27844
|
(function(t) {
|
|
27845
27845
|
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";
|
|
@@ -28803,7 +28803,7 @@ class UH extends eu.EventEmitter {
|
|
|
28803
28803
|
n.getKeys().forEach((r) => {
|
|
28804
28804
|
this.postKey(r);
|
|
28805
28805
|
}), this.setParticipantCryptorEnabled(this.room.localParticipant.isE2EEEnabled, this.room.localParticipant.identity);
|
|
28806
|
-
}), e.localParticipant.on(
|
|
28806
|
+
}), e.localParticipant.on(Le.LocalTrackPublished, (r) => Y(this, void 0, void 0, function* () {
|
|
28807
28807
|
this.setupE2EESender(r.track, r.track.sender);
|
|
28808
28808
|
})), n.on(wd.SetKey, (r) => this.postKey(r)).on(wd.RatchetRequest, (r, a) => this.postRatchetRequest(r, a));
|
|
28809
28809
|
}
|
|
@@ -28980,12 +28980,12 @@ class UH extends eu.EventEmitter {
|
|
|
28980
28980
|
}
|
|
28981
28981
|
}
|
|
28982
28982
|
const Fw = "default";
|
|
28983
|
-
class
|
|
28983
|
+
class ji {
|
|
28984
28984
|
constructor() {
|
|
28985
28985
|
this._previousDevices = [];
|
|
28986
28986
|
}
|
|
28987
28987
|
static getInstance() {
|
|
28988
|
-
return this.instance === void 0 && (this.instance = new
|
|
28988
|
+
return this.instance === void 0 && (this.instance = new ji()), this.instance;
|
|
28989
28989
|
}
|
|
28990
28990
|
get previousDevices() {
|
|
28991
28991
|
return this._previousDevices;
|
|
@@ -28996,10 +28996,10 @@ class Fi {
|
|
|
28996
28996
|
let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
28997
28997
|
return function* () {
|
|
28998
28998
|
var o;
|
|
28999
|
-
if (((o =
|
|
28999
|
+
if (((o = ji.userMediaPromiseMap) === null || o === void 0 ? void 0 : o.size) > 0) {
|
|
29000
29000
|
Pn.debug("awaiting getUserMedia promise");
|
|
29001
29001
|
try {
|
|
29002
|
-
n ? yield
|
|
29002
|
+
n ? yield ji.userMediaPromiseMap.get(n) : yield Promise.all(ji.userMediaPromiseMap.values());
|
|
29003
29003
|
} catch {
|
|
29004
29004
|
Pn.warn("error waiting for media permissons");
|
|
29005
29005
|
}
|
|
@@ -29044,11 +29044,11 @@ class Fi {
|
|
|
29044
29044
|
});
|
|
29045
29045
|
}
|
|
29046
29046
|
hasDeviceInUse(e) {
|
|
29047
|
-
return e ?
|
|
29047
|
+
return e ? ji.userMediaPromiseMap.has(e) : ji.userMediaPromiseMap.size > 0;
|
|
29048
29048
|
}
|
|
29049
29049
|
}
|
|
29050
|
-
|
|
29051
|
-
|
|
29050
|
+
ji.mediaDeviceKinds = ["audioinput", "audiooutput", "videoinput"];
|
|
29051
|
+
ji.userMediaPromiseMap = /* @__PURE__ */ new Map();
|
|
29052
29052
|
var Uy;
|
|
29053
29053
|
(function(t) {
|
|
29054
29054
|
t[t.WAITING = 0] = "WAITING", t[t.RUNNING = 1] = "RUNNING", t[t.COMPLETED = 2] = "COMPLETED";
|
|
@@ -30882,7 +30882,7 @@ class G4 extends Ae {
|
|
|
30882
30882
|
deviceId: r,
|
|
30883
30883
|
groupId: a
|
|
30884
30884
|
} = e._mediaStreamTrack.getSettings(), o = e.kind === Ae.Kind.Audio ? "audioinput" : "videoinput";
|
|
30885
|
-
return n ?
|
|
30885
|
+
return n ? ji.getInstance().normalizeDeviceId(o, r, a) : r;
|
|
30886
30886
|
}();
|
|
30887
30887
|
});
|
|
30888
30888
|
}
|
|
@@ -33329,7 +33329,7 @@ function HC(t, e) {
|
|
|
33329
33329
|
deviceId: "default"
|
|
33330
33330
|
});
|
|
33331
33331
|
const h = j4(o, $4, q4), m = sR(h), v = navigator.mediaDevices.getUserMedia(m);
|
|
33332
|
-
o.audio && (
|
|
33332
|
+
o.audio && (ji.userMediaPromiseMap.set("audioinput", v), v.catch(() => ji.userMediaPromiseMap.delete("audioinput"))), o.video && (ji.userMediaPromiseMap.set("videoinput", v), v.catch(() => ji.userMediaPromiseMap.delete("videoinput")));
|
|
33333
33333
|
try {
|
|
33334
33334
|
const b = yield v;
|
|
33335
33335
|
return yield Promise.all(b.getTracks().map((C) => Y(this, void 0, void 0, function* () {
|
|
@@ -33469,18 +33469,18 @@ class J4 extends eu.EventEmitter {
|
|
|
33469
33469
|
**/
|
|
33470
33470
|
_setMetadata(e) {
|
|
33471
33471
|
const n = this.metadata !== e, r = this.metadata;
|
|
33472
|
-
this.metadata = e, n && this.emit(
|
|
33472
|
+
this.metadata = e, n && this.emit(Le.ParticipantMetadataChanged, r);
|
|
33473
33473
|
}
|
|
33474
33474
|
_setName(e) {
|
|
33475
33475
|
const n = this.name !== e;
|
|
33476
|
-
this.name = e, n && this.emit(
|
|
33476
|
+
this.name = e, n && this.emit(Le.ParticipantNameChanged, e);
|
|
33477
33477
|
}
|
|
33478
33478
|
/**
|
|
33479
33479
|
* Updates metadata from server
|
|
33480
33480
|
**/
|
|
33481
33481
|
_setAttributes(e) {
|
|
33482
33482
|
const n = IH(this.attributes, e);
|
|
33483
|
-
this._attributes = e, Object.keys(n).length > 0 && this.emit(
|
|
33483
|
+
this._attributes = e, Object.keys(n).length > 0 && this.emit(Le.AttributesChanged, n);
|
|
33484
33484
|
}
|
|
33485
33485
|
/** @internal */
|
|
33486
33486
|
setPermissions(e) {
|
|
@@ -33489,16 +33489,16 @@ class J4 extends eu.EventEmitter {
|
|
|
33489
33489
|
var C;
|
|
33490
33490
|
return v !== ((C = this.permissions) === null || C === void 0 ? void 0 : C.canPublishSources[b]);
|
|
33491
33491
|
}) || e.canSubscribeMetrics !== ((c = this.permissions) === null || c === void 0 ? void 0 : c.canSubscribeMetrics);
|
|
33492
|
-
return this.permissions = e, m && this.emit(
|
|
33492
|
+
return this.permissions = e, m && this.emit(Le.ParticipantPermissionsChanged, h), m;
|
|
33493
33493
|
}
|
|
33494
33494
|
/** @internal */
|
|
33495
33495
|
setIsSpeaking(e) {
|
|
33496
|
-
e !== this.isSpeaking && (this.isSpeaking = e, e && (this.lastSpokeAt = /* @__PURE__ */ new Date()), this.emit(
|
|
33496
|
+
e !== this.isSpeaking && (this.isSpeaking = e, e && (this.lastSpokeAt = /* @__PURE__ */ new Date()), this.emit(Le.IsSpeakingChanged, e));
|
|
33497
33497
|
}
|
|
33498
33498
|
/** @internal */
|
|
33499
33499
|
setConnectionQuality(e) {
|
|
33500
33500
|
const n = this._connectionQuality;
|
|
33501
|
-
this._connectionQuality = E$(e), n !== this._connectionQuality && this.emit(
|
|
33501
|
+
this._connectionQuality = E$(e), n !== this._connectionQuality && this.emit(Le.ConnectionQualityChanged, this._connectionQuality);
|
|
33502
33502
|
}
|
|
33503
33503
|
/**
|
|
33504
33504
|
* @internal
|
|
@@ -33508,9 +33508,9 @@ class J4 extends eu.EventEmitter {
|
|
|
33508
33508
|
}
|
|
33509
33509
|
addTrackPublication(e) {
|
|
33510
33510
|
e.on(Qe.Muted, () => {
|
|
33511
|
-
this.emit(
|
|
33511
|
+
this.emit(Le.TrackMuted, e);
|
|
33512
33512
|
}), e.on(Qe.Unmuted, () => {
|
|
33513
|
-
this.emit(
|
|
33513
|
+
this.emit(Le.TrackUnmuted, e);
|
|
33514
33514
|
});
|
|
33515
33515
|
const n = e;
|
|
33516
33516
|
switch (n.track && (n.track.sid = e.trackSid), this.trackPublications.set(e.trackSid, e), e.kind) {
|
|
@@ -33798,7 +33798,7 @@ class W1 extends J4 {
|
|
|
33798
33798
|
/** @internal */
|
|
33799
33799
|
setPermissions(e) {
|
|
33800
33800
|
const n = this.permissions, r = super.setPermissions(e);
|
|
33801
|
-
return r && n && this.emit(
|
|
33801
|
+
return r && n && this.emit(Le.ParticipantPermissionsChanged, n), r;
|
|
33802
33802
|
}
|
|
33803
33803
|
/** @internal */
|
|
33804
33804
|
setE2EEEnabled(e) {
|
|
@@ -33847,7 +33847,7 @@ class W1 extends J4 {
|
|
|
33847
33847
|
} catch (m) {
|
|
33848
33848
|
throw h == null || h.forEach((v) => {
|
|
33849
33849
|
v.stop();
|
|
33850
|
-
}), m instanceof Error && this.emit(
|
|
33850
|
+
}), m instanceof Error && this.emit(Le.MediaDevicesError, m), this.pendingPublishing.delete(e), m;
|
|
33851
33851
|
}
|
|
33852
33852
|
try {
|
|
33853
33853
|
const m = [];
|
|
@@ -33908,7 +33908,7 @@ class W1 extends J4 {
|
|
|
33908
33908
|
return (yield HC(a, {
|
|
33909
33909
|
loggerName: this.roomOptions.loggerName,
|
|
33910
33910
|
loggerContextCb: () => this.logContext
|
|
33911
|
-
})).map((c) => (ic(c) && (this.microphoneError = void 0, c.setAudioContext(this.audioContext), c.source = Ae.Source.Microphone, this.emit(
|
|
33911
|
+
})).map((c) => (ic(c) && (this.microphoneError = void 0, c.setAudioContext(this.audioContext), c.source = Ae.Source.Microphone, this.emit(Le.AudioStreamAcquired)), ng(c) && (this.cameraError = void 0, c.source = Ae.Source.Camera), c));
|
|
33912
33912
|
} catch (o) {
|
|
33913
33913
|
throw o instanceof Error && (e.audio && (this.microphoneError = o), e.video && (this.cameraError = o)), o;
|
|
33914
33914
|
}
|
|
@@ -33934,7 +33934,7 @@ class W1 extends J4 {
|
|
|
33934
33934
|
o.source = Ae.Source.ScreenShare, e.contentHint && (o.mediaStreamTrack.contentHint = e.contentHint);
|
|
33935
33935
|
const l = [o];
|
|
33936
33936
|
if (r.getAudioTracks().length > 0) {
|
|
33937
|
-
this.emit(
|
|
33937
|
+
this.emit(Le.AudioStreamAcquired);
|
|
33938
33938
|
const c = new sC(r.getAudioTracks()[0], void 0, !1, this.audioContext, {
|
|
33939
33939
|
loggerName: this.roomOptions.loggerName,
|
|
33940
33940
|
loggerContextCb: () => this.logContext
|
|
@@ -34163,7 +34163,7 @@ class W1 extends J4 {
|
|
|
34163
34163
|
return B.options = n, e.sid = j.sid, this.log.debug("publishing ".concat(e.kind, " with encodings"), Object.assign(Object.assign({}, this.logContext), {
|
|
34164
34164
|
encodings: A,
|
|
34165
34165
|
trackInfo: j
|
|
34166
|
-
})), pd(e) ? e.startMonitor(this.engine.client) : uh(e) && e.startMonitor(), this.addTrackPublication(B), this.emit(
|
|
34166
|
+
})), pd(e) ? e.startMonitor(this.engine.client) : uh(e) && e.startMonitor(), this.addTrackPublication(B), this.emit(Le.LocalTrackPublished, B), B;
|
|
34167
34167
|
});
|
|
34168
34168
|
}
|
|
34169
34169
|
get isLocal() {
|
|
@@ -34251,7 +34251,7 @@ class W1 extends J4 {
|
|
|
34251
34251
|
this.videoTrackPublications.delete(o.trackSid);
|
|
34252
34252
|
break;
|
|
34253
34253
|
}
|
|
34254
|
-
return this.emit(
|
|
34254
|
+
return this.emit(Le.LocalTrackUnpublished, o), o.setTrack(void 0), c && (yield this.engine.negotiate()), o;
|
|
34255
34255
|
});
|
|
34256
34256
|
}
|
|
34257
34257
|
unpublishTracks(e) {
|
|
@@ -34348,7 +34348,7 @@ class W1 extends J4 {
|
|
|
34348
34348
|
}))
|
|
34349
34349
|
}
|
|
34350
34350
|
});
|
|
34351
|
-
return yield this.engine.sendDataPacket(a, Vn.RELIABLE), this.emit(
|
|
34351
|
+
return yield this.engine.sendDataPacket(a, Vn.RELIABLE), this.emit(Le.ChatMessage, r), r;
|
|
34352
34352
|
});
|
|
34353
34353
|
}
|
|
34354
34354
|
editChatMessage(e, n) {
|
|
@@ -34365,7 +34365,7 @@ class W1 extends J4 {
|
|
|
34365
34365
|
}))
|
|
34366
34366
|
}
|
|
34367
34367
|
});
|
|
34368
|
-
return yield this.engine.sendDataPacket(a, Vn.RELIABLE), this.emit(
|
|
34368
|
+
return yield this.engine.sendDataPacket(a, Vn.RELIABLE), this.emit(Le.ChatMessage, r), r;
|
|
34369
34369
|
});
|
|
34370
34370
|
}
|
|
34371
34371
|
sendText(e, n) {
|
|
@@ -34901,15 +34901,15 @@ class uC extends J4 {
|
|
|
34901
34901
|
r.participantSid = this.sid;
|
|
34902
34902
|
}), this.signalClient.sendUpdateSubscription(n);
|
|
34903
34903
|
}), e.on(Qe.SubscriptionPermissionChanged, (n) => {
|
|
34904
|
-
this.emit(
|
|
34904
|
+
this.emit(Le.TrackSubscriptionPermissionChanged, e, n);
|
|
34905
34905
|
}), e.on(Qe.SubscriptionStatusChanged, (n) => {
|
|
34906
|
-
this.emit(
|
|
34906
|
+
this.emit(Le.TrackSubscriptionStatusChanged, e, n);
|
|
34907
34907
|
}), e.on(Qe.Subscribed, (n) => {
|
|
34908
|
-
this.emit(
|
|
34908
|
+
this.emit(Le.TrackSubscribed, n, e);
|
|
34909
34909
|
}), e.on(Qe.Unsubscribed, (n) => {
|
|
34910
|
-
this.emit(
|
|
34910
|
+
this.emit(Le.TrackUnsubscribed, n, e);
|
|
34911
34911
|
}), e.on(Qe.SubscriptionFailed, (n) => {
|
|
34912
|
-
this.emit(
|
|
34912
|
+
this.emit(Le.TrackSubscriptionFailed, e.trackSid, n);
|
|
34913
34913
|
});
|
|
34914
34914
|
}
|
|
34915
34915
|
getTrackPublication(e) {
|
|
@@ -34951,7 +34951,7 @@ class uC extends J4 {
|
|
|
34951
34951
|
if (l === 0) {
|
|
34952
34952
|
this.log.error("could not find published track", Object.assign(Object.assign({}, this.logContext), {
|
|
34953
34953
|
trackSid: n
|
|
34954
|
-
})), this.emit(
|
|
34954
|
+
})), this.emit(Le.TrackSubscriptionFailed, n);
|
|
34955
34955
|
return;
|
|
34956
34956
|
}
|
|
34957
34957
|
l === void 0 && (l = 20), setTimeout(() => {
|
|
@@ -34960,7 +34960,7 @@ class uC extends J4 {
|
|
|
34960
34960
|
return;
|
|
34961
34961
|
}
|
|
34962
34962
|
if (e.readyState === "ended") {
|
|
34963
|
-
this.log.error("unable to subscribe because MediaStreamTrack is ended. Do not call MediaStreamTrack.stop()", Object.assign(Object.assign({}, this.logContext), nr(c))), this.emit(
|
|
34963
|
+
this.log.error("unable to subscribe because MediaStreamTrack is ended. Do not call MediaStreamTrack.stop()", Object.assign(Object.assign({}, this.logContext), nr(c))), this.emit(Le.TrackSubscriptionFailed, n);
|
|
34964
34964
|
return;
|
|
34965
34965
|
}
|
|
34966
34966
|
const h = e.kind === "video";
|
|
@@ -35005,7 +35005,7 @@ class uC extends J4 {
|
|
|
35005
35005
|
}), this.trackPublications.forEach((a) => {
|
|
35006
35006
|
n.has(a.trackSid) || (this.log.trace("detected removed track on remote participant, unpublishing", Object.assign(Object.assign({}, this.logContext), nr(a))), this.unpublishTrack(a.trackSid, !0));
|
|
35007
35007
|
}), r.forEach((a) => {
|
|
35008
|
-
this.emit(
|
|
35008
|
+
this.emit(Le.TrackPublished, a);
|
|
35009
35009
|
}), !0;
|
|
35010
35010
|
}
|
|
35011
35011
|
/** @internal */
|
|
@@ -35024,7 +35024,7 @@ class uC extends J4 {
|
|
|
35024
35024
|
this.videoTrackPublications.delete(e);
|
|
35025
35025
|
break;
|
|
35026
35026
|
}
|
|
35027
|
-
n && this.emit(
|
|
35027
|
+
n && this.emit(Le.TrackUnpublished, r);
|
|
35028
35028
|
}
|
|
35029
35029
|
/**
|
|
35030
35030
|
* @internal
|
|
@@ -35296,7 +35296,7 @@ class Wm extends eu.EventEmitter {
|
|
|
35296
35296
|
if (!m || !m.track)
|
|
35297
35297
|
return;
|
|
35298
35298
|
const v = Ae.streamStateFromProto(c.state);
|
|
35299
|
-
v !== m.track.streamState && (m.track.streamState = v, h.emit(
|
|
35299
|
+
v !== m.track.streamState && (m.track.streamState = v, h.emit(Le.TrackStreamStateChanged, m, m.track.streamState), this.emitWhenConnected(we.TrackStreamStateChanged, m, m.track.streamState, h));
|
|
35300
35300
|
});
|
|
35301
35301
|
}, this.handleSubscriptionPermissionUpdate = (l) => {
|
|
35302
35302
|
const c = this.getRemoteParticipantBySid(l.participantSid);
|
|
@@ -35333,12 +35333,12 @@ class Wm extends eu.EventEmitter {
|
|
|
35333
35333
|
this.handleIncomingRpcRequest(l.participantIdentity, h.id, h.method, h.payload, h.responseTimeoutMs, h.version);
|
|
35334
35334
|
}
|
|
35335
35335
|
}, this.handleUserPacket = (l, c, h) => {
|
|
35336
|
-
this.emit(we.DataReceived, c.payload, l, h, c.topic), l == null || l.emit(
|
|
35336
|
+
this.emit(we.DataReceived, c.payload, l, h, c.topic), l == null || l.emit(Le.DataReceived, c.payload, h);
|
|
35337
35337
|
}, this.handleSipDtmf = (l, c) => {
|
|
35338
|
-
this.emit(we.SipDTMFReceived, c, l), l == null || l.emit(
|
|
35338
|
+
this.emit(we.SipDTMFReceived, c, l), l == null || l.emit(Le.SipDTMFReceived, c);
|
|
35339
35339
|
}, this.bufferedSegments = /* @__PURE__ */ new Map(), this.handleTranscription = (l, c) => {
|
|
35340
35340
|
const h = c.transcribedParticipantIdentity === this.localParticipant.identity ? this.localParticipant : this.getParticipantByIdentity(c.transcribedParticipantIdentity), m = h == null ? void 0 : h.trackPublications.get(c.trackId), v = EH(c, this.transcriptionReceivedTimes);
|
|
35341
|
-
m == null || m.emit(Qe.TranscriptionReceived, v), h == null || h.emit(
|
|
35341
|
+
m == null || m.emit(Qe.TranscriptionReceived, v), h == null || h.emit(Le.TranscriptionReceived, v, m), this.emit(we.TranscriptionReceived, v, h, m);
|
|
35342
35342
|
}, this.handleChatMessage = (l, c) => {
|
|
35343
35343
|
const h = _H(c);
|
|
35344
35344
|
this.emit(we.ChatMessage, h, l);
|
|
@@ -35356,7 +35356,7 @@ class Wm extends eu.EventEmitter {
|
|
|
35356
35356
|
this.isVideoPlaybackBlocked || (this.isVideoPlaybackBlocked = !0, this.emit(we.VideoPlaybackStatusChanged, !1));
|
|
35357
35357
|
}, this.handleDeviceChange = () => Y(this, void 0, void 0, function* () {
|
|
35358
35358
|
var l, c, h;
|
|
35359
|
-
const m =
|
|
35359
|
+
const m = ji.getInstance().previousDevices, v = yield ji.getInstance().getDevices(void 0, !1), b = tl();
|
|
35360
35360
|
if ((b == null ? void 0 : b.name) === "Chrome" && b.os !== "iOS")
|
|
35361
35361
|
for (let x of v) {
|
|
35362
35362
|
const _ = m.find((R) => R.deviceId === x.deviceId);
|
|
@@ -35602,7 +35602,7 @@ class Wm extends eu.EventEmitter {
|
|
|
35602
35602
|
this.log.warn("could not find local track subscription for subscribed event", this.logContext);
|
|
35603
35603
|
return;
|
|
35604
35604
|
}
|
|
35605
|
-
this.localParticipant.emit(
|
|
35605
|
+
this.localParticipant.emit(Le.LocalTrackSubscribed, n), this.emitWhenConnected(we.LocalTrackSubscribed, n, this.localParticipant);
|
|
35606
35606
|
}), this.localParticipant && this.localParticipant.setupEngine(this.engine), this.e2eeManager && this.e2eeManager.setupEngine(this.engine));
|
|
35607
35607
|
}
|
|
35608
35608
|
/**
|
|
@@ -35614,7 +35614,7 @@ class Wm extends eu.EventEmitter {
|
|
|
35614
35614
|
*/
|
|
35615
35615
|
static getLocalDevices(e) {
|
|
35616
35616
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
35617
|
-
return
|
|
35617
|
+
return ji.getInstance().getDevices(e, n);
|
|
35618
35618
|
}
|
|
35619
35619
|
/**
|
|
35620
35620
|
* prepareConnection should be called as soon as the page is loaded, in order
|
|
@@ -35828,7 +35828,7 @@ class Wm extends eu.EventEmitter {
|
|
|
35828
35828
|
} else if (r === "audiooutput") {
|
|
35829
35829
|
if (!JE() && !o.options.webAudioMix || o.options.webAudioMix && o.audioContext && !("setSinkId" in o.audioContext))
|
|
35830
35830
|
throw new Error("cannot switch audio output, setSinkId not supported");
|
|
35831
|
-
o.options.webAudioMix && (a = (m = yield
|
|
35831
|
+
o.options.webAudioMix && (a = (m = yield ji.getInstance().normalizeDeviceId("audiooutput", a)) !== null && m !== void 0 ? m : ""), (v = (_ = o.options).audioOutput) !== null && v !== void 0 || (_.audioOutput = {});
|
|
35832
35832
|
const F = (b = o.getActiveDevice(r)) !== null && b !== void 0 ? b : o.options.audioOutput.deviceId;
|
|
35833
35833
|
o.options.audioOutput.deviceId = a;
|
|
35834
35834
|
try {
|
|
@@ -35844,7 +35844,7 @@ class Wm extends eu.EventEmitter {
|
|
|
35844
35844
|
});
|
|
35845
35845
|
}
|
|
35846
35846
|
setupLocalParticipantEvents() {
|
|
35847
|
-
this.localParticipant.on(
|
|
35847
|
+
this.localParticipant.on(Le.ParticipantMetadataChanged, this.onLocalParticipantMetadataChanged).on(Le.ParticipantNameChanged, this.onLocalParticipantNameChanged).on(Le.AttributesChanged, this.onLocalAttributesChanged).on(Le.TrackMuted, this.onLocalTrackMuted).on(Le.TrackUnmuted, this.onLocalTrackUnmuted).on(Le.LocalTrackPublished, this.onLocalTrackPublished).on(Le.LocalTrackUnpublished, this.onLocalTrackUnpublished).on(Le.ConnectionQualityChanged, this.onLocalConnectionQualityChanged).on(Le.MediaDevicesError, this.onMediaDevicesError).on(Le.AudioStreamAcquired, this.startAudio).on(Le.ChatMessage, this.onLocalChatMessageSent).on(Le.ParticipantPermissionsChanged, this.onLocalParticipantPermissionsChanged);
|
|
35848
35848
|
}
|
|
35849
35849
|
recreateEngine() {
|
|
35850
35850
|
var e;
|
|
@@ -35895,7 +35895,7 @@ class Wm extends eu.EventEmitter {
|
|
|
35895
35895
|
}), this.localParticipant.trackPublications.forEach((a) => {
|
|
35896
35896
|
var o, l, c;
|
|
35897
35897
|
a.track && this.localParticipant.unpublishTrack(a.track, e), e ? ((o = a.track) === null || o === void 0 || o.detach(), (l = a.track) === null || l === void 0 || l.stop()) : (c = a.track) === null || c === void 0 || c.stopMonitor();
|
|
35898
|
-
}), this.localParticipant.off(
|
|
35898
|
+
}), this.localParticipant.off(Le.ParticipantMetadataChanged, this.onLocalParticipantMetadataChanged).off(Le.ParticipantNameChanged, this.onLocalParticipantNameChanged).off(Le.AttributesChanged, this.onLocalAttributesChanged).off(Le.TrackMuted, this.onLocalTrackMuted).off(Le.TrackUnmuted, this.onLocalTrackUnmuted).off(Le.LocalTrackPublished, this.onLocalTrackPublished).off(Le.LocalTrackUnpublished, this.onLocalTrackUnpublished).off(Le.ConnectionQualityChanged, this.onLocalConnectionQualityChanged).off(Le.MediaDevicesError, this.onMediaDevicesError).off(Le.AudioStreamAcquired, this.startAudio).off(Le.ChatMessage, this.onLocalChatMessageSent).off(Le.ParticipantPermissionsChanged, this.onLocalParticipantPermissionsChanged), this.localParticipant.trackPublications.clear(), this.localParticipant.videoTrackPublications.clear(), this.localParticipant.audioTrackPublications.clear(), this.remoteParticipants.clear(), this.sidToIdentity.clear(), this.activeSpeakers = [], this.audioContext && typeof this.options.webAudioMix == "boolean" && (this.audioContext.close(), this.audioContext = void 0), vs() && (window.removeEventListener("beforeunload", this.onPageLeave), window.removeEventListener("pagehide", this.onPageLeave), window.removeEventListener("freeze", this.onPageLeave), (r = navigator.mediaDevices) === null || r === void 0 || r.removeEventListener("devicechange", this.handleDeviceChange));
|
|
35899
35899
|
} finally {
|
|
35900
35900
|
this.setAndEmitConnectionState(Mn.Disconnected), this.emit(we.Disconnected, n);
|
|
35901
35901
|
}
|
|
@@ -36010,33 +36010,33 @@ class Wm extends eu.EventEmitter {
|
|
|
36010
36010
|
return n && a.updateInfo(n) && this.sidToIdentity.set(n.sid, n.identity), a;
|
|
36011
36011
|
}
|
|
36012
36012
|
const r = this.createParticipant(e, n);
|
|
36013
|
-
return this.remoteParticipants.set(e, r), this.sidToIdentity.set(n.sid, n.identity), this.emitWhenConnected(we.ParticipantConnected, r), r.on(
|
|
36013
|
+
return this.remoteParticipants.set(e, r), this.sidToIdentity.set(n.sid, n.identity), this.emitWhenConnected(we.ParticipantConnected, r), r.on(Le.TrackPublished, (a) => {
|
|
36014
36014
|
this.emitWhenConnected(we.TrackPublished, a, r);
|
|
36015
|
-
}).on(
|
|
36015
|
+
}).on(Le.TrackSubscribed, (a, o) => {
|
|
36016
36016
|
a.kind === Ae.Kind.Audio ? (a.on(Qe.AudioPlaybackStarted, this.handleAudioPlaybackStarted), a.on(Qe.AudioPlaybackFailed, this.handleAudioPlaybackFailed)) : a.kind === Ae.Kind.Video && (a.on(Qe.VideoPlaybackFailed, this.handleVideoPlaybackFailed), a.on(Qe.VideoPlaybackStarted, this.handleVideoPlaybackStarted)), this.emit(we.TrackSubscribed, a, o, r);
|
|
36017
|
-
}).on(
|
|
36017
|
+
}).on(Le.TrackUnpublished, (a) => {
|
|
36018
36018
|
this.emit(we.TrackUnpublished, a, r);
|
|
36019
|
-
}).on(
|
|
36019
|
+
}).on(Le.TrackUnsubscribed, (a, o) => {
|
|
36020
36020
|
this.emit(we.TrackUnsubscribed, a, o, r);
|
|
36021
|
-
}).on(
|
|
36021
|
+
}).on(Le.TrackMuted, (a) => {
|
|
36022
36022
|
this.emitWhenConnected(we.TrackMuted, a, r);
|
|
36023
|
-
}).on(
|
|
36023
|
+
}).on(Le.TrackUnmuted, (a) => {
|
|
36024
36024
|
this.emitWhenConnected(we.TrackUnmuted, a, r);
|
|
36025
|
-
}).on(
|
|
36025
|
+
}).on(Le.ParticipantMetadataChanged, (a) => {
|
|
36026
36026
|
this.emitWhenConnected(we.ParticipantMetadataChanged, a, r);
|
|
36027
|
-
}).on(
|
|
36027
|
+
}).on(Le.ParticipantNameChanged, (a) => {
|
|
36028
36028
|
this.emitWhenConnected(we.ParticipantNameChanged, a, r);
|
|
36029
|
-
}).on(
|
|
36029
|
+
}).on(Le.AttributesChanged, (a) => {
|
|
36030
36030
|
this.emitWhenConnected(we.ParticipantAttributesChanged, a, r);
|
|
36031
|
-
}).on(
|
|
36031
|
+
}).on(Le.ConnectionQualityChanged, (a) => {
|
|
36032
36032
|
this.emitWhenConnected(we.ConnectionQualityChanged, a, r);
|
|
36033
|
-
}).on(
|
|
36033
|
+
}).on(Le.ParticipantPermissionsChanged, (a) => {
|
|
36034
36034
|
this.emitWhenConnected(we.ParticipantPermissionsChanged, a, r);
|
|
36035
|
-
}).on(
|
|
36035
|
+
}).on(Le.TrackSubscriptionStatusChanged, (a, o) => {
|
|
36036
36036
|
this.emitWhenConnected(we.TrackSubscriptionStatusChanged, a, o, r);
|
|
36037
|
-
}).on(
|
|
36037
|
+
}).on(Le.TrackSubscriptionFailed, (a, o) => {
|
|
36038
36038
|
this.emit(we.TrackSubscriptionFailed, a, r, o);
|
|
36039
|
-
}).on(
|
|
36039
|
+
}).on(Le.TrackSubscriptionPermissionChanged, (a, o) => {
|
|
36040
36040
|
this.emitWhenConnected(we.TrackSubscriptionPermissionChanged, a, o, r);
|
|
36041
36041
|
}), n && r.updateInfo(n), r;
|
|
36042
36042
|
}
|
|
@@ -36143,7 +36143,7 @@ class Wm extends eu.EventEmitter {
|
|
|
36143
36143
|
loggerName: this.options.loggerName,
|
|
36144
36144
|
loggerContextCb: () => this.logContext
|
|
36145
36145
|
});
|
|
36146
|
-
this.localParticipant.addTrackPublication(l), this.localParticipant.emit(
|
|
36146
|
+
this.localParticipant.addTrackPublication(l), this.localParticipant.emit(Le.LocalTrackPublished, l);
|
|
36147
36147
|
}
|
|
36148
36148
|
if (a.audio) {
|
|
36149
36149
|
const l = new u_(Ae.Kind.Audio, new Em({
|
|
@@ -36159,7 +36159,7 @@ class Wm extends eu.EventEmitter {
|
|
|
36159
36159
|
loggerName: this.options.loggerName,
|
|
36160
36160
|
loggerContextCb: () => this.logContext
|
|
36161
36161
|
});
|
|
36162
|
-
this.localParticipant.addTrackPublication(l), this.localParticipant.emit(
|
|
36162
|
+
this.localParticipant.addTrackPublication(l), this.localParticipant.emit(Le.LocalTrackPublished, l);
|
|
36163
36163
|
}
|
|
36164
36164
|
for (let l = 0; l < o.count - 1; l += 1) {
|
|
36165
36165
|
let c = new Ky({
|
|
@@ -37264,7 +37264,7 @@ function Q$(t) {
|
|
|
37264
37264
|
}, e);
|
|
37265
37265
|
};
|
|
37266
37266
|
}
|
|
37267
|
-
var
|
|
37267
|
+
var Oi = function() {
|
|
37268
37268
|
function t(e) {
|
|
37269
37269
|
e && (this._subscribe = e);
|
|
37270
37270
|
}
|
|
@@ -37466,12 +37466,12 @@ var tq = function(t) {
|
|
|
37466
37466
|
var r = this, a = r.hasError, o = r.thrownError, l = r.isStopped;
|
|
37467
37467
|
a ? n.error(o) : l && n.complete();
|
|
37468
37468
|
}, e.prototype.asObservable = function() {
|
|
37469
|
-
var n = new
|
|
37469
|
+
var n = new Oi();
|
|
37470
37470
|
return n.source = this, n;
|
|
37471
37471
|
}, e.create = function(n, r) {
|
|
37472
37472
|
return new bL(n, r);
|
|
37473
37473
|
}, e;
|
|
37474
|
-
}(
|
|
37474
|
+
}(Oi), bL = function(t) {
|
|
37475
37475
|
oc(e, t);
|
|
37476
37476
|
function e(n, r) {
|
|
37477
37477
|
var a = t.call(this) || this;
|
|
@@ -37677,7 +37677,7 @@ function g5(t) {
|
|
|
37677
37677
|
return Di(t == null ? void 0 : t.getReader);
|
|
37678
37678
|
}
|
|
37679
37679
|
function rg(t) {
|
|
37680
|
-
if (t instanceof
|
|
37680
|
+
if (t instanceof Oi)
|
|
37681
37681
|
return t;
|
|
37682
37682
|
if (t != null) {
|
|
37683
37683
|
if (c5(t))
|
|
@@ -37696,7 +37696,7 @@ function rg(t) {
|
|
|
37696
37696
|
throw f5(t);
|
|
37697
37697
|
}
|
|
37698
37698
|
function dq(t) {
|
|
37699
|
-
return new
|
|
37699
|
+
return new Oi(function(e) {
|
|
37700
37700
|
var n = t[mR]();
|
|
37701
37701
|
if (Di(n.subscribe))
|
|
37702
37702
|
return n.subscribe(e);
|
|
@@ -37704,14 +37704,14 @@ function dq(t) {
|
|
|
37704
37704
|
});
|
|
37705
37705
|
}
|
|
37706
37706
|
function fq(t) {
|
|
37707
|
-
return new
|
|
37707
|
+
return new Oi(function(e) {
|
|
37708
37708
|
for (var n = 0; n < t.length && !e.closed; n++)
|
|
37709
37709
|
e.next(t[n]);
|
|
37710
37710
|
e.complete();
|
|
37711
37711
|
});
|
|
37712
37712
|
}
|
|
37713
37713
|
function hq(t) {
|
|
37714
|
-
return new
|
|
37714
|
+
return new Oi(function(e) {
|
|
37715
37715
|
t.then(function(n) {
|
|
37716
37716
|
e.closed || (e.next(n), e.complete());
|
|
37717
37717
|
}, function(n) {
|
|
@@ -37720,7 +37720,7 @@ function hq(t) {
|
|
|
37720
37720
|
});
|
|
37721
37721
|
}
|
|
37722
37722
|
function pq(t) {
|
|
37723
|
-
return new
|
|
37723
|
+
return new Oi(function(e) {
|
|
37724
37724
|
var n, r;
|
|
37725
37725
|
try {
|
|
37726
37726
|
for (var a = Gm(t), o = a.next(); !o.done; o = a.next()) {
|
|
@@ -37741,7 +37741,7 @@ function pq(t) {
|
|
|
37741
37741
|
});
|
|
37742
37742
|
}
|
|
37743
37743
|
function v5(t) {
|
|
37744
|
-
return new
|
|
37744
|
+
return new Oi(function(e) {
|
|
37745
37745
|
gq(t, e).catch(function(n) {
|
|
37746
37746
|
return e.error(n);
|
|
37747
37747
|
});
|
|
@@ -37827,7 +37827,7 @@ function yq(t, e) {
|
|
|
37827
37827
|
return rg(t).pipe(b5(e), y5(e));
|
|
37828
37828
|
}
|
|
37829
37829
|
function bq(t, e) {
|
|
37830
|
-
return new
|
|
37830
|
+
return new Oi(function(n) {
|
|
37831
37831
|
var r = 0;
|
|
37832
37832
|
return e.schedule(function() {
|
|
37833
37833
|
r === t.length ? n.complete() : (n.next(t[r++]), n.closed || this.schedule());
|
|
@@ -37835,7 +37835,7 @@ function bq(t, e) {
|
|
|
37835
37835
|
});
|
|
37836
37836
|
}
|
|
37837
37837
|
function Sq(t, e) {
|
|
37838
|
-
return new
|
|
37838
|
+
return new Oi(function(n) {
|
|
37839
37839
|
var r;
|
|
37840
37840
|
return vh(n, e, function() {
|
|
37841
37841
|
r = t[h5](), vh(n, e, function() {
|
|
@@ -37856,7 +37856,7 @@ function Sq(t, e) {
|
|
|
37856
37856
|
function S5(t, e) {
|
|
37857
37857
|
if (!t)
|
|
37858
37858
|
throw new Error("Iterable cannot be null");
|
|
37859
|
-
return new
|
|
37859
|
+
return new Oi(function(n) {
|
|
37860
37860
|
vh(n, e, function() {
|
|
37861
37861
|
var r = t[Symbol.asyncIterator]();
|
|
37862
37862
|
vh(n, e, function() {
|
|
@@ -38059,35 +38059,35 @@ var Nq = [
|
|
|
38059
38059
|
we.LocalTrackPublished,
|
|
38060
38060
|
we.LocalTrackUnpublished
|
|
38061
38061
|
], Uq = [
|
|
38062
|
-
|
|
38063
|
-
|
|
38064
|
-
|
|
38065
|
-
|
|
38066
|
-
|
|
38067
|
-
|
|
38068
|
-
|
|
38069
|
-
|
|
38070
|
-
|
|
38071
|
-
|
|
38072
|
-
|
|
38062
|
+
Le.TrackPublished,
|
|
38063
|
+
Le.TrackUnpublished,
|
|
38064
|
+
Le.TrackMuted,
|
|
38065
|
+
Le.TrackUnmuted,
|
|
38066
|
+
Le.TrackStreamStateChanged,
|
|
38067
|
+
Le.TrackSubscribed,
|
|
38068
|
+
Le.TrackUnsubscribed,
|
|
38069
|
+
Le.TrackSubscriptionPermissionChanged,
|
|
38070
|
+
Le.TrackSubscriptionFailed,
|
|
38071
|
+
Le.LocalTrackPublished,
|
|
38072
|
+
Le.LocalTrackUnpublished
|
|
38073
38073
|
], Fq = [
|
|
38074
|
-
|
|
38075
|
-
|
|
38076
|
-
|
|
38077
|
-
|
|
38078
|
-
|
|
38079
|
-
|
|
38080
|
-
|
|
38081
|
-
|
|
38082
|
-
|
|
38083
|
-
|
|
38084
|
-
|
|
38085
|
-
|
|
38074
|
+
Le.ConnectionQualityChanged,
|
|
38075
|
+
Le.IsSpeakingChanged,
|
|
38076
|
+
Le.ParticipantMetadataChanged,
|
|
38077
|
+
Le.ParticipantPermissionsChanged,
|
|
38078
|
+
Le.TrackMuted,
|
|
38079
|
+
Le.TrackUnmuted,
|
|
38080
|
+
Le.TrackPublished,
|
|
38081
|
+
Le.TrackUnpublished,
|
|
38082
|
+
Le.TrackStreamStateChanged,
|
|
38083
|
+
Le.TrackSubscriptionFailed,
|
|
38084
|
+
Le.TrackSubscriptionPermissionChanged,
|
|
38085
|
+
Le.TrackSubscriptionStatusChanged
|
|
38086
38086
|
];
|
|
38087
38087
|
[
|
|
38088
38088
|
...Fq,
|
|
38089
|
-
|
|
38090
|
-
|
|
38089
|
+
Le.LocalTrackPublished,
|
|
38090
|
+
Le.LocalTrackUnpublished
|
|
38091
38091
|
];
|
|
38092
38092
|
var Dd = B$.getLogger("lk-components-js");
|
|
38093
38093
|
Dd.setDefaultLevel("WARN");
|
|
@@ -38134,7 +38134,7 @@ function p_(t) {
|
|
|
38134
38134
|
}
|
|
38135
38135
|
}
|
|
38136
38136
|
function R5(t, ...e) {
|
|
38137
|
-
return new
|
|
38137
|
+
return new Oi((n) => {
|
|
38138
38138
|
const r = () => {
|
|
38139
38139
|
n.next(t);
|
|
38140
38140
|
};
|
|
@@ -38148,7 +38148,7 @@ function R5(t, ...e) {
|
|
|
38148
38148
|
}).pipe(zd(t));
|
|
38149
38149
|
}
|
|
38150
38150
|
function P5(t, e) {
|
|
38151
|
-
return new
|
|
38151
|
+
return new Oi((n) => {
|
|
38152
38152
|
const r = (...a) => {
|
|
38153
38153
|
n.next(a);
|
|
38154
38154
|
};
|
|
@@ -38167,7 +38167,7 @@ function $q(t) {
|
|
|
38167
38167
|
return P5(t, we.DataReceived);
|
|
38168
38168
|
}
|
|
38169
38169
|
function D5(t, ...e) {
|
|
38170
|
-
return new
|
|
38170
|
+
return new Oi((n) => {
|
|
38171
38171
|
const r = () => {
|
|
38172
38172
|
n.next(t);
|
|
38173
38173
|
};
|
|
@@ -38183,16 +38183,16 @@ function D5(t, ...e) {
|
|
|
38183
38183
|
function A5(t) {
|
|
38184
38184
|
return D5(
|
|
38185
38185
|
t,
|
|
38186
|
-
|
|
38187
|
-
|
|
38188
|
-
|
|
38186
|
+
Le.TrackMuted,
|
|
38187
|
+
Le.TrackUnmuted,
|
|
38188
|
+
Le.ParticipantPermissionsChanged,
|
|
38189
38189
|
// ParticipantEvent.IsSpeakingChanged,
|
|
38190
|
-
|
|
38191
|
-
|
|
38192
|
-
|
|
38193
|
-
|
|
38194
|
-
|
|
38195
|
-
|
|
38190
|
+
Le.TrackPublished,
|
|
38191
|
+
Le.TrackUnpublished,
|
|
38192
|
+
Le.LocalTrackPublished,
|
|
38193
|
+
Le.LocalTrackUnpublished,
|
|
38194
|
+
Le.MediaDevicesError,
|
|
38195
|
+
Le.TrackSubscriptionStatusChanged
|
|
38196
38196
|
// ParticipantEvent.ConnectionQualityChanged,
|
|
38197
38197
|
).pipe(
|
|
38198
38198
|
nl((e) => {
|
|
@@ -38209,7 +38209,7 @@ function A5(t) {
|
|
|
38209
38209
|
);
|
|
38210
38210
|
}
|
|
38211
38211
|
function qq(t, e) {
|
|
38212
|
-
return new
|
|
38212
|
+
return new Oi((n) => {
|
|
38213
38213
|
const r = (...a) => {
|
|
38214
38214
|
n.next(a);
|
|
38215
38215
|
};
|
|
@@ -38221,7 +38221,7 @@ function qq(t, e) {
|
|
|
38221
38221
|
function Wq(t, e = {}) {
|
|
38222
38222
|
var n;
|
|
38223
38223
|
let r;
|
|
38224
|
-
const a = new
|
|
38224
|
+
const a = new Oi((h) => (r = h, () => c.unsubscribe())).pipe(zd(Array.from(t.remoteParticipants.values()))), o = (n = e.additionalRoomEvents) != null ? n : w5, l = Array.from(
|
|
38225
38225
|
/* @__PURE__ */ new Set([
|
|
38226
38226
|
we.ParticipantConnected,
|
|
38227
38227
|
we.ParticipantDisconnected,
|
|
@@ -38234,7 +38234,7 @@ function Wq(t, e = {}) {
|
|
|
38234
38234
|
return t.remoteParticipants.size > 0 && (r == null || r.next(Array.from(t.remoteParticipants.values()))), a;
|
|
38235
38235
|
}
|
|
38236
38236
|
function _L(t) {
|
|
38237
|
-
return typeof t > "u" ? new
|
|
38237
|
+
return typeof t > "u" ? new Oi() : qq(t, Le.AttributesChanged).pipe(
|
|
38238
38238
|
nl(([e]) => ({
|
|
38239
38239
|
changed: e,
|
|
38240
38240
|
attributes: t.attributes
|
|
@@ -38269,7 +38269,7 @@ function Yq(t, e, n) {
|
|
|
38269
38269
|
}))
|
|
38270
38270
|
);
|
|
38271
38271
|
let o;
|
|
38272
|
-
const l = new
|
|
38272
|
+
const l = new Oi((c) => {
|
|
38273
38273
|
o = c;
|
|
38274
38274
|
});
|
|
38275
38275
|
return { messageObservable: a, isSendingObservable: l, send: (c, ...h) => pC(this, [c, ...h], function* (m, v = {}) {
|
|
@@ -38435,7 +38435,7 @@ function tW(t, e) {
|
|
|
38435
38435
|
);
|
|
38436
38436
|
}
|
|
38437
38437
|
function M5(t, e) {
|
|
38438
|
-
return new
|
|
38438
|
+
return new Oi((n) => {
|
|
38439
38439
|
const r = (...a) => {
|
|
38440
38440
|
n.next(a);
|
|
38441
38441
|
};
|
|
@@ -38771,10 +38771,10 @@ function wW() {
|
|
|
38771
38771
|
return v.Date.now();
|
|
38772
38772
|
};
|
|
38773
38773
|
function L(I, N, J) {
|
|
38774
|
-
var ee, ye, q, ae, X, _e, Ee = 0, ze = !1, Ze = !1,
|
|
38774
|
+
var ee, ye, q, ae, X, _e, Ee = 0, ze = !1, Ze = !1, Me = !0;
|
|
38775
38775
|
if (typeof I != "function")
|
|
38776
38776
|
throw new TypeError(t);
|
|
38777
|
-
N = B(N) || 0, A(J) && (ze = !!J.leading, Ze = "maxWait" in J, q = Ze ? x(B(J.maxWait) || 0, N) : q,
|
|
38777
|
+
N = B(N) || 0, A(J) && (ze = !!J.leading, Ze = "maxWait" in J, q = Ze ? x(B(J.maxWait) || 0, N) : q, Me = "trailing" in J ? !!J.trailing : Me);
|
|
38778
38778
|
function de(ot) {
|
|
38779
38779
|
var ut = ee, Lt = ye;
|
|
38780
38780
|
return ee = ye = void 0, Ee = ot, ae = I.apply(Lt, ut), ae;
|
|
@@ -38797,7 +38797,7 @@ function wW() {
|
|
|
38797
38797
|
X = setTimeout(ke, V(ot));
|
|
38798
38798
|
}
|
|
38799
38799
|
function H(ot) {
|
|
38800
|
-
return X = void 0,
|
|
38800
|
+
return X = void 0, Me && ee ? de(ot) : (ee = ye = void 0, ae);
|
|
38801
38801
|
}
|
|
38802
38802
|
function vt() {
|
|
38803
38803
|
X !== void 0 && clearTimeout(X), Ee = 0, ee = _e = ye = X = void 0;
|
|
@@ -41593,20 +41593,20 @@ function kY(t) {
|
|
|
41593
41593
|
const { prevResolvedValues: X = {} } = F, _e = {
|
|
41594
41594
|
...X,
|
|
41595
41595
|
...ae
|
|
41596
|
-
}, Ee = (
|
|
41597
|
-
ee = !0, C.has(
|
|
41598
|
-
const de = t.getValue(
|
|
41596
|
+
}, Ee = (Me) => {
|
|
41597
|
+
ee = !0, C.has(Me) && (ye = !0, C.delete(Me)), F.needsAnimating[Me] = !0;
|
|
41598
|
+
const de = t.getValue(Me);
|
|
41599
41599
|
de && (de.liveStyle = !1);
|
|
41600
41600
|
};
|
|
41601
|
-
for (const
|
|
41602
|
-
const de = ae[
|
|
41603
|
-
if (x.hasOwnProperty(
|
|
41601
|
+
for (const Me in _e) {
|
|
41602
|
+
const de = ae[Me], Be = X[Me];
|
|
41603
|
+
if (x.hasOwnProperty(Me))
|
|
41604
41604
|
continue;
|
|
41605
41605
|
let V = !1;
|
|
41606
|
-
g_(de) && g_(Be) ? V = !rU(de, Be) : V = de !== Be, V ? de != null ? Ee(
|
|
41606
|
+
g_(de) && g_(Be) ? V = !rU(de, Be) : V = de !== Be, V ? de != null ? Ee(Me) : C.add(Me) : de !== void 0 && C.has(Me) ? Ee(Me) : F.protectedKeys[Me] = !0;
|
|
41607
41607
|
}
|
|
41608
|
-
F.prevProp = j, F.prevResolvedValues = ae, F.isActive && (x = { ...x, ...ae }), r && t.blockInitialAnimation && (ee = !1), ee && (!(N && J) || ye) && b.push(...q.map((
|
|
41609
|
-
animation:
|
|
41608
|
+
F.prevProp = j, F.prevResolvedValues = ae, F.isActive && (x = { ...x, ...ae }), r && t.blockInitialAnimation && (ee = !1), ee && (!(N && J) || ye) && b.push(...q.map((Me) => ({
|
|
41609
|
+
animation: Me,
|
|
41610
41610
|
options: { type: A }
|
|
41611
41611
|
})));
|
|
41612
41612
|
}
|
|
@@ -44100,7 +44100,7 @@ const Tr = (t) => {
|
|
|
44100
44100
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
44101
44101
|
FQ.test(t) && !jQ.test(t)
|
|
44102
44102
|
), k9 = () => !1, ZQ = (t) => VQ.test(t), QQ = (t) => zQ.test(t), XQ = () => {
|
|
44103
|
-
const t = Tr("colors"), e = Tr("spacing"), n = Tr("blur"), r = Tr("brightness"), a = Tr("borderColor"), o = Tr("borderRadius"), l = Tr("borderSpacing"), c = Tr("borderWidth"), h = Tr("contrast"), m = Tr("grayscale"), v = Tr("hueRotate"), b = Tr("invert"), C = Tr("gap"), x = Tr("gradientColorStops"), _ = Tr("gradientColorStopPositions"), R = Tr("inset"), L = Tr("margin"), A = Tr("opacity"), F = Tr("padding"), j = Tr("saturate"), B = Tr("scale"), I = Tr("sepia"), N = Tr("skew"), J = Tr("space"), ee = Tr("translate"), ye = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", pn, e], X = () => [pn, e], _e = () => ["", Yu, md], Ee = () => ["auto", zm, pn], ze = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Ze = () => ["solid", "dashed", "dotted", "double", "none"],
|
|
44103
|
+
const t = Tr("colors"), e = Tr("spacing"), n = Tr("blur"), r = Tr("brightness"), a = Tr("borderColor"), o = Tr("borderRadius"), l = Tr("borderSpacing"), c = Tr("borderWidth"), h = Tr("contrast"), m = Tr("grayscale"), v = Tr("hueRotate"), b = Tr("invert"), C = Tr("gap"), x = Tr("gradientColorStops"), _ = Tr("gradientColorStopPositions"), R = Tr("inset"), L = Tr("margin"), A = Tr("opacity"), F = Tr("padding"), j = Tr("saturate"), B = Tr("scale"), I = Tr("sepia"), N = Tr("skew"), J = Tr("space"), ee = Tr("translate"), ye = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", pn, e], X = () => [pn, e], _e = () => ["", Yu, md], Ee = () => ["auto", zm, pn], ze = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Ze = () => ["solid", "dashed", "dotted", "double", "none"], Me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], de = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Be = () => ["", "0", pn], V = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Z = () => [zm, pn];
|
|
44104
44104
|
return {
|
|
44105
44105
|
cacheSize: 500,
|
|
44106
44106
|
separator: ":",
|
|
@@ -45494,14 +45494,14 @@ const Tr = (t) => {
|
|
|
45494
45494
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
45495
45495
|
*/
|
|
45496
45496
|
"mix-blend": [{
|
|
45497
|
-
"mix-blend": [...
|
|
45497
|
+
"mix-blend": [...Me(), "plus-lighter", "plus-darker"]
|
|
45498
45498
|
}],
|
|
45499
45499
|
/**
|
|
45500
45500
|
* Background Blend Mode
|
|
45501
45501
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
45502
45502
|
*/
|
|
45503
45503
|
"bg-blend": [{
|
|
45504
|
-
"bg-blend":
|
|
45504
|
+
"bg-blend": Me()
|
|
45505
45505
|
}],
|
|
45506
45506
|
// Filters
|
|
45507
45507
|
/**
|
|
@@ -46129,7 +46129,7 @@ const Tr = (t) => {
|
|
|
46129
46129
|
}
|
|
46130
46130
|
};
|
|
46131
46131
|
}, JQ = /* @__PURE__ */ LQ(XQ);
|
|
46132
|
-
function
|
|
46132
|
+
function Ai(...t) {
|
|
46133
46133
|
return JQ(m9(t));
|
|
46134
46134
|
}
|
|
46135
46135
|
const eX = (t) => t.includes("agent") || t.includes("Agent");
|
|
@@ -46168,7 +46168,7 @@ const tX = g9(
|
|
|
46168
46168
|
}
|
|
46169
46169
|
), tc = he.forwardRef(({ className: t, variant: e, size: n, asChild: r = !1, ...a }, o) => {
|
|
46170
46170
|
const l = r ? QC : "button";
|
|
46171
|
-
return /* @__PURE__ */ Se.jsx(l, { className:
|
|
46171
|
+
return /* @__PURE__ */ Se.jsx(l, { className: Ai(tX({ variant: e, size: n, className: t })), ref: o, ...a });
|
|
46172
46172
|
});
|
|
46173
46173
|
tc.displayName = "Button";
|
|
46174
46174
|
const nX = ({ callMode: t, isLoading: e, buttonConfig: n, isCalling: r, onCallTrigger: a }) => {
|
|
@@ -46179,7 +46179,7 @@ const nX = ({ callMode: t, isLoading: e, buttonConfig: n, isCalling: r, onCallTr
|
|
|
46179
46179
|
disabled: e,
|
|
46180
46180
|
style: (o = n == null ? void 0 : n.call) == null ? void 0 : o.styles,
|
|
46181
46181
|
onClick: () => a(t),
|
|
46182
|
-
className:
|
|
46182
|
+
className: Ai(
|
|
46183
46183
|
"!ringg_ai-rounded-full !ringg_ai-h-12 ringg_ai-bg-[#313335] ringg_ai-text-white hover:ringg_ai-bg-[#313335]/90 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2",
|
|
46184
46184
|
"ringg_ai-call-btn",
|
|
46185
46185
|
r ? "ringg_ai-w-fit" : "ringg_ai-w-full"
|
|
@@ -49462,12 +49462,12 @@ var Cm = (t) => ii(t) && !AC(t) ? t : {
|
|
|
49462
49462
|
const j = c ? c[0] : l, B = (X) => {
|
|
49463
49463
|
a && j.reportValidity && (j.setCustomValidity(lo(X) ? "" : X || ""), j.reportValidity());
|
|
49464
49464
|
}, I = {}, N = aP(l), J = Tb(l), ee = N || J, ye = (L || iP(l)) && ni(l.value) && ni(F) || DC(l) && l.value === "" || F === "" || Array.isArray(F) && !F.length, q = z9.bind(null, R, r, I), ae = (X, _e, Ee, ze = Zu.maxLength, Ze = Zu.minLength) => {
|
|
49465
|
-
const
|
|
49465
|
+
const Me = X ? _e : Ee;
|
|
49466
49466
|
I[R] = {
|
|
49467
49467
|
type: X ? ze : Ze,
|
|
49468
|
-
message:
|
|
49468
|
+
message: Me,
|
|
49469
49469
|
ref: l,
|
|
49470
|
-
...q(X ? ze : Ze,
|
|
49470
|
+
...q(X ? ze : Ze, Me)
|
|
49471
49471
|
};
|
|
49472
49472
|
};
|
|
49473
49473
|
if (o ? !Array.isArray(F) || !F.length : h && (!ee && (ye || za(F)) || lo(F) && !F || J && !B9(c).isValid || N && !H9(c).isValid)) {
|
|
@@ -49487,8 +49487,8 @@ var Cm = (t) => ii(t) && !AC(t) ? t : {
|
|
|
49487
49487
|
const Ze = l.valueAsNumber || F && +F;
|
|
49488
49488
|
za(Ee.value) || (X = Ze > Ee.value), za(ze.value) || (_e = Ze < ze.value);
|
|
49489
49489
|
} else {
|
|
49490
|
-
const Ze = l.valueAsDate || new Date(F),
|
|
49491
|
-
Wl(Ee.value) && F && (X = de ?
|
|
49490
|
+
const Ze = l.valueAsDate || new Date(F), Me = (V) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + V), de = l.type == "time", Be = l.type == "week";
|
|
49491
|
+
Wl(Ee.value) && F && (X = de ? Me(F) > Me(Ee.value) : Be ? F > Ee.value : Ze > new Date(Ee.value)), Wl(ze.value) && F && (_e = de ? Me(F) < Me(ze.value) : Be ? F < ze.value : Ze < new Date(ze.value));
|
|
49492
49492
|
}
|
|
49493
49493
|
if ((X || _e) && (ae(!!X, Ee.message, ze.message, Zu.max, Zu.min), !r))
|
|
49494
49494
|
return B(I[R].message), I;
|
|
@@ -49847,7 +49847,7 @@ function DJ(t = {}) {
|
|
|
49847
49847
|
const je = ie[Ue], Oe = `${W}.${Ue}`, tt = et(r, Oe);
|
|
49848
49848
|
(c.array.has(W) || ii(je) || tt && !tt._f) && !ph(je) ? Ze(Oe, je, ce) : ze(Oe, je, ce);
|
|
49849
49849
|
}
|
|
49850
|
-
},
|
|
49850
|
+
}, Me = (W, ie, ce = {}) => {
|
|
49851
49851
|
const Ue = et(r, W), je = c.array.has(W), Oe = hs(ie);
|
|
49852
49852
|
rr(o, W, Oe), je ? (b.array.next({
|
|
49853
49853
|
name: W,
|
|
@@ -50037,7 +50037,7 @@ function DJ(t = {}) {
|
|
|
50037
50037
|
}), Ue)
|
|
50038
50038
|
throw Ue;
|
|
50039
50039
|
}, dr = (W, ie = {}) => {
|
|
50040
|
-
et(r, W) && (ni(ie.defaultValue) ?
|
|
50040
|
+
et(r, W) && (ni(ie.defaultValue) ? Me(W, hs(et(a, W))) : (Me(W, ie.defaultValue), rr(a, W, hs(ie.defaultValue))), ie.keepTouched || Ri(n.touchedFields, W), ie.keepDirty || (Ri(n.dirtyFields, W), n.isDirty = ie.defaultValue ? X(W, hs(et(a, W))) : X()), ie.keepError || (Ri(n.errors, W), v.isValid && L()), b.state.next({ ...n }));
|
|
50041
50041
|
}, fr = (W, ie = {}) => {
|
|
50042
50042
|
const ce = W ? hs(W) : a, Ue = hs(ce), je = ps(W), Oe = je ? a : Ue;
|
|
50043
50043
|
if (ie.keepDefaultValues || (a = ce), !ie.keepValues) {
|
|
@@ -50047,7 +50047,7 @@ function DJ(t = {}) {
|
|
|
50047
50047
|
...Object.keys(Cy(a, o))
|
|
50048
50048
|
]);
|
|
50049
50049
|
for (const It of Array.from(tt))
|
|
50050
|
-
et(n.dirtyFields, It) ? rr(Oe, It, et(o, It)) :
|
|
50050
|
+
et(n.dirtyFields, It) ? rr(Oe, It, et(o, It)) : Me(It, et(Oe, It));
|
|
50051
50051
|
} else {
|
|
50052
50052
|
if (tP && ni(W))
|
|
50053
50053
|
for (const tt of c.mount) {
|
|
@@ -50162,7 +50162,7 @@ function DJ(t = {}) {
|
|
|
50162
50162
|
register: ut,
|
|
50163
50163
|
handleSubmit: Un,
|
|
50164
50164
|
watch: wt,
|
|
50165
|
-
setValue:
|
|
50165
|
+
setValue: Me,
|
|
50166
50166
|
getValues: Z,
|
|
50167
50167
|
reset: Wn,
|
|
50168
50168
|
resetField: dr,
|
|
@@ -50329,7 +50329,7 @@ const jJ = g9(
|
|
|
50329
50329
|
Z9,
|
|
50330
50330
|
{
|
|
50331
50331
|
ref: n,
|
|
50332
|
-
className:
|
|
50332
|
+
className: Ai(jJ(), t),
|
|
50333
50333
|
...e
|
|
50334
50334
|
}
|
|
50335
50335
|
));
|
|
@@ -50355,7 +50355,7 @@ const VJ = mJ, X9 = he.createContext(
|
|
|
50355
50355
|
{}
|
|
50356
50356
|
), e6 = he.forwardRef(({ className: t, ...e }, n) => {
|
|
50357
50357
|
const r = he.useId();
|
|
50358
|
-
return /* @__PURE__ */ Se.jsx(J9.Provider, { value: { id: r }, children: /* @__PURE__ */ Se.jsx("div", { ref: n, className:
|
|
50358
|
+
return /* @__PURE__ */ Se.jsx(J9.Provider, { value: { id: r }, children: /* @__PURE__ */ Se.jsx("div", { ref: n, className: Ai("ringg_ai-space-y-2", t), ...e }) });
|
|
50359
50359
|
});
|
|
50360
50360
|
e6.displayName = "FormItem";
|
|
50361
50361
|
const BJ = he.forwardRef(({ className: t, ...e }, n) => {
|
|
@@ -50364,7 +50364,7 @@ const BJ = he.forwardRef(({ className: t, ...e }, n) => {
|
|
|
50364
50364
|
Q9,
|
|
50365
50365
|
{
|
|
50366
50366
|
ref: n,
|
|
50367
|
-
className:
|
|
50367
|
+
className: Ai(r && "ringg_ai-text-destructive", t),
|
|
50368
50368
|
htmlFor: a,
|
|
50369
50369
|
...e
|
|
50370
50370
|
}
|
|
@@ -50392,7 +50392,7 @@ const HJ = he.forwardRef(({ className: t, ...e }, n) => {
|
|
|
50392
50392
|
{
|
|
50393
50393
|
ref: n,
|
|
50394
50394
|
id: r,
|
|
50395
|
-
className:
|
|
50395
|
+
className: Ai("ringg_ai-text-[0.8rem] ringg_ai-text-muted-foreground", t),
|
|
50396
50396
|
...e
|
|
50397
50397
|
}
|
|
50398
50398
|
);
|
|
@@ -50405,7 +50405,7 @@ const n6 = he.forwardRef(({ className: t, children: e, ...n }, r) => {
|
|
|
50405
50405
|
{
|
|
50406
50406
|
ref: r,
|
|
50407
50407
|
id: o,
|
|
50408
|
-
className:
|
|
50408
|
+
className: Ai("ringg_ai-text-[0.8rem] ringg_ai-font-medium ringg_ai-text-destructive", t),
|
|
50409
50409
|
...n,
|
|
50410
50410
|
children: l
|
|
50411
50411
|
}
|
|
@@ -50417,7 +50417,7 @@ const r6 = he.forwardRef(
|
|
|
50417
50417
|
"input",
|
|
50418
50418
|
{
|
|
50419
50419
|
type: e,
|
|
50420
|
-
className:
|
|
50420
|
+
className: Ai(
|
|
50421
50421
|
"ringg_ai-flex ringg_ai-h-9 ringg_ai-w-full ringg_ai-rounded-md ringg_ai-border ringg_ai-border-input ringg_ai-bg-transparent ringg_ai-px-3 ringg_ai-py-1 ringg_ai-text-base ringg_ai-shadow-sm ringg_ai-transition-colors file:ringg_ai-border-0 file:ringg_ai-bg-transparent file:ringg_ai-text-sm file:ringg_ai-font-medium file:ringg_ai-text-foreground placeholder:ringg_ai-text-muted-foreground focus-visible:ringg_ai-outline-none focus-visible:ringg_ai-ring-1 focus-visible:ringg_ai-ring-ring disabled:ringg_ai-cursor-not-allowed disabled:ringg_ai-opacity-50 md:ringg_ai-text-sm",
|
|
50422
50422
|
t
|
|
50423
50423
|
),
|
|
@@ -50470,7 +50470,7 @@ const $J = ({ isSending: t, onMessageSubmit: e }) => {
|
|
|
50470
50470
|
variant: "secondary",
|
|
50471
50471
|
style: (m = n == null ? void 0 : n.mic) == null ? void 0 : m.styles,
|
|
50472
50472
|
onClick: c,
|
|
50473
|
-
className:
|
|
50473
|
+
className: Ai("ringg_ai-bg-gray-200 hover:ringg_ai-bg-gray-200 !ringg_ai-rounded-full !ringg_ai-h-12 !ringg_ai-w-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2"),
|
|
50474
50474
|
children: a.localParticipant.isMicrophoneEnabled ? /* @__PURE__ */ Se.jsx(mQ, { className: "[&_path]:ringg_ai-fill-black ringg_ai-h-4 ringg_ai-w-4" }) : /* @__PURE__ */ Se.jsx(dQ, { className: "ringg_ai-h-4 ringg_ai-w-4" })
|
|
50475
50475
|
}
|
|
50476
50476
|
),
|
|
@@ -50484,7 +50484,7 @@ const $J = ({ isSending: t, onMessageSubmit: e }) => {
|
|
|
50484
50484
|
variant: "secondary",
|
|
50485
50485
|
style: (v = n == null ? void 0 : n.mic) == null ? void 0 : v.styles,
|
|
50486
50486
|
onClick: h,
|
|
50487
|
-
className:
|
|
50487
|
+
className: Ai(
|
|
50488
50488
|
"ringg_ai-bg-gray-200 hover:ringg_ai-bg-gray-200 !ringg_ai-rounded-full !ringg_ai-h-12 !ringg_ai-w-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2",
|
|
50489
50489
|
"!ringg_ai-bg-[#CA3A31] hover:!ringg_ai-bg-[#CA3A31]/90"
|
|
50490
50490
|
),
|
|
@@ -50497,7 +50497,7 @@ const $J = ({ isSending: t, onMessageSubmit: e }) => {
|
|
|
50497
50497
|
}, WJ = ({ children: t, open: e, containerRef: n }) => !e || !n.current ? null : hN.createPortal(
|
|
50498
50498
|
/* @__PURE__ */ Se.jsx("div", { className: "ringg_ai-absolute ringg_ai-inset-0 ringg_ai-z-[9999] ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-bg-black/50", children: /* @__PURE__ */ Se.jsx("div", { className: "ringg_ai-relative ringg_ai-bg-white ringg_ai-rounded-[20px] ringg_ai-shadow-lg ringg_ai-max-w-md ringg_ai-w-full ringg_ai-mx-4 ringg_ai-p-6", children: t }) }),
|
|
50499
50499
|
n.current
|
|
50500
|
-
), GJ = ({ children: t, className: e = "" }) => /* @__PURE__ */ Se.jsx("div", { className:
|
|
50500
|
+
), GJ = ({ children: t, className: e = "" }) => /* @__PURE__ */ Se.jsx("div", { className: Ai("ringg_ai-space-y-4", e), children: t }), KJ = ({ children: t }) => /* @__PURE__ */ Se.jsx("div", { className: "ringg_ai-space-y-2", children: t }), YJ = ({ children: t }) => /* @__PURE__ */ Se.jsx("h2", { className: "ringg_ai-text-md ringg_ai-font-medium", children: t }), ZJ = ({ children: t }) => /* @__PURE__ */ Se.jsx("p", { className: "ringg_ai-text-sm ringg_ai-text-gray-600", children: t }), QJ = ({ children: t }) => /* @__PURE__ */ Se.jsx("div", { className: "ringg_ai-flex ringg_ai-justify-center ringg_ai-space-x-2 ringg_ai-pt-4", children: t }), XJ = ({ isCalling: t, isLoading: e, title: n, description: r }) => {
|
|
50501
50501
|
if (!t)
|
|
50502
50502
|
return /* @__PURE__ */ Se.jsxs(Se.Fragment, { children: [
|
|
50503
50503
|
/* @__PURE__ */ Se.jsx("div", { className: "ringg_ai-mx-auto ringg_ai-w-[70px] ringg_ai-h-[70px] ringg_ai-rounded-full ringg_ai-bg-[#313335] ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center", children: /* @__PURE__ */ Se.jsx(Y3, { className: "ringg_ai-size-[30px]" }) }),
|
|
@@ -53521,7 +53521,7 @@ function Jte(t, e, n) {
|
|
|
53521
53521
|
return H === null || jt(H) ? X(H) : En(H) ? (t.consume(H), ae) : n(H);
|
|
53522
53522
|
}
|
|
53523
53523
|
function X(H) {
|
|
53524
|
-
return H === 45 && a === 2 ? (t.consume(H), Ze) : H === 60 && a === 1 ? (t.consume(H),
|
|
53524
|
+
return H === 45 && a === 2 ? (t.consume(H), Ze) : H === 60 && a === 1 ? (t.consume(H), Me) : H === 62 && a === 4 ? (t.consume(H), Z) : H === 63 && a === 3 ? (t.consume(H), V) : H === 93 && a === 5 ? (t.consume(H), Be) : jt(H) && (a === 6 || a === 7) ? (t.exit("htmlFlowData"), t.check(Zte, ke, _e)(H)) : H === null || jt(H) ? (t.exit("htmlFlowData"), _e(H)) : (t.consume(H), X);
|
|
53525
53525
|
}
|
|
53526
53526
|
function _e(H) {
|
|
53527
53527
|
return t.check(Qte, Ee, ke)(H);
|
|
@@ -53535,7 +53535,7 @@ function Jte(t, e, n) {
|
|
|
53535
53535
|
function Ze(H) {
|
|
53536
53536
|
return H === 45 ? (t.consume(H), V) : X(H);
|
|
53537
53537
|
}
|
|
53538
|
-
function
|
|
53538
|
+
function Me(H) {
|
|
53539
53539
|
return H === 47 ? (t.consume(H), l = "", de) : X(H);
|
|
53540
53540
|
}
|
|
53541
53541
|
function de(H) {
|
|
@@ -53595,7 +53595,7 @@ function rne(t, e, n) {
|
|
|
53595
53595
|
return V === 45 ? (t.consume(V), x) : n(V);
|
|
53596
53596
|
}
|
|
53597
53597
|
function b(V) {
|
|
53598
|
-
return V === null ? n(V) : V === 45 ? (t.consume(V), C) : jt(V) ? (l = b,
|
|
53598
|
+
return V === null ? n(V) : V === 45 ? (t.consume(V), C) : jt(V) ? (l = b, Me(V)) : (t.consume(V), b);
|
|
53599
53599
|
}
|
|
53600
53600
|
function C(V) {
|
|
53601
53601
|
return V === 45 ? (t.consume(V), x) : b(V);
|
|
@@ -53608,7 +53608,7 @@ function rne(t, e, n) {
|
|
|
53608
53608
|
return V === Z.charCodeAt(o++) ? (t.consume(V), o === Z.length ? R : _) : n(V);
|
|
53609
53609
|
}
|
|
53610
53610
|
function R(V) {
|
|
53611
|
-
return V === null ? n(V) : V === 93 ? (t.consume(V), L) : jt(V) ? (l = R,
|
|
53611
|
+
return V === null ? n(V) : V === 93 ? (t.consume(V), L) : jt(V) ? (l = R, Me(V)) : (t.consume(V), R);
|
|
53612
53612
|
}
|
|
53613
53613
|
function L(V) {
|
|
53614
53614
|
return V === 93 ? (t.consume(V), A) : R(V);
|
|
@@ -53617,10 +53617,10 @@ function rne(t, e, n) {
|
|
|
53617
53617
|
return V === 62 ? Ze(V) : V === 93 ? (t.consume(V), A) : R(V);
|
|
53618
53618
|
}
|
|
53619
53619
|
function F(V) {
|
|
53620
|
-
return V === null || V === 62 ? Ze(V) : jt(V) ? (l = F,
|
|
53620
|
+
return V === null || V === 62 ? Ze(V) : jt(V) ? (l = F, Me(V)) : (t.consume(V), F);
|
|
53621
53621
|
}
|
|
53622
53622
|
function j(V) {
|
|
53623
|
-
return V === null ? n(V) : V === 63 ? (t.consume(V), B) : jt(V) ? (l = j,
|
|
53623
|
+
return V === null ? n(V) : V === 63 ? (t.consume(V), B) : jt(V) ? (l = j, Me(V)) : (t.consume(V), j);
|
|
53624
53624
|
}
|
|
53625
53625
|
function B(V) {
|
|
53626
53626
|
return V === 62 ? Ze(V) : j(V);
|
|
@@ -53632,25 +53632,25 @@ function rne(t, e, n) {
|
|
|
53632
53632
|
return V === 45 || Ta(V) ? (t.consume(V), N) : J(V);
|
|
53633
53633
|
}
|
|
53634
53634
|
function J(V) {
|
|
53635
|
-
return jt(V) ? (l = J,
|
|
53635
|
+
return jt(V) ? (l = J, Me(V)) : En(V) ? (t.consume(V), J) : Ze(V);
|
|
53636
53636
|
}
|
|
53637
53637
|
function ee(V) {
|
|
53638
53638
|
return V === 45 || Ta(V) ? (t.consume(V), ee) : V === 47 || V === 62 || vr(V) ? ye(V) : n(V);
|
|
53639
53639
|
}
|
|
53640
53640
|
function ye(V) {
|
|
53641
|
-
return V === 47 ? (t.consume(V), Ze) : V === 58 || V === 95 || Ba(V) ? (t.consume(V), q) : jt(V) ? (l = ye,
|
|
53641
|
+
return V === 47 ? (t.consume(V), Ze) : V === 58 || V === 95 || Ba(V) ? (t.consume(V), q) : jt(V) ? (l = ye, Me(V)) : En(V) ? (t.consume(V), ye) : Ze(V);
|
|
53642
53642
|
}
|
|
53643
53643
|
function q(V) {
|
|
53644
53644
|
return V === 45 || V === 46 || V === 58 || V === 95 || Ta(V) ? (t.consume(V), q) : ae(V);
|
|
53645
53645
|
}
|
|
53646
53646
|
function ae(V) {
|
|
53647
|
-
return V === 61 ? (t.consume(V), X) : jt(V) ? (l = ae,
|
|
53647
|
+
return V === 61 ? (t.consume(V), X) : jt(V) ? (l = ae, Me(V)) : En(V) ? (t.consume(V), ae) : ye(V);
|
|
53648
53648
|
}
|
|
53649
53649
|
function X(V) {
|
|
53650
|
-
return V === null || V === 60 || V === 61 || V === 62 || V === 96 ? n(V) : V === 34 || V === 39 ? (t.consume(V), a = V, _e) : jt(V) ? (l = X,
|
|
53650
|
+
return V === null || V === 60 || V === 61 || V === 62 || V === 96 ? n(V) : V === 34 || V === 39 ? (t.consume(V), a = V, _e) : jt(V) ? (l = X, Me(V)) : En(V) ? (t.consume(V), X) : (t.consume(V), Ee);
|
|
53651
53651
|
}
|
|
53652
53652
|
function _e(V) {
|
|
53653
|
-
return V === a ? (t.consume(V), a = void 0, ze) : V === null ? n(V) : jt(V) ? (l = _e,
|
|
53653
|
+
return V === a ? (t.consume(V), a = void 0, ze) : V === null ? n(V) : jt(V) ? (l = _e, Me(V)) : (t.consume(V), _e);
|
|
53654
53654
|
}
|
|
53655
53655
|
function Ee(V) {
|
|
53656
53656
|
return V === null || V === 34 || V === 39 || V === 60 || V === 61 || V === 96 ? n(V) : V === 47 || V === 62 || vr(V) ? ye(V) : (t.consume(V), Ee);
|
|
@@ -53661,7 +53661,7 @@ function rne(t, e, n) {
|
|
|
53661
53661
|
function Ze(V) {
|
|
53662
53662
|
return V === 62 ? (t.consume(V), t.exit("htmlTextData"), t.exit("htmlText"), e) : n(V);
|
|
53663
53663
|
}
|
|
53664
|
-
function
|
|
53664
|
+
function Me(V) {
|
|
53665
53665
|
return t.exit("htmlTextData"), t.enter("lineEnding"), t.consume(V), t.exit("lineEnding"), de;
|
|
53666
53666
|
}
|
|
53667
53667
|
function de(V) {
|
|
@@ -54289,7 +54289,7 @@ function $ne(t, e, n) {
|
|
|
54289
54289
|
function J(ae, X) {
|
|
54290
54290
|
return _e;
|
|
54291
54291
|
function _e(Ee, ze, Ze) {
|
|
54292
|
-
let
|
|
54292
|
+
let Me, de, Be, V;
|
|
54293
54293
|
return Array.isArray(Ee) ? (
|
|
54294
54294
|
/* c8 ignore next 1 */
|
|
54295
54295
|
ke(Ee)
|
|
@@ -54313,7 +54313,7 @@ function $ne(t, e, n) {
|
|
|
54313
54313
|
}
|
|
54314
54314
|
}
|
|
54315
54315
|
function ke(pt) {
|
|
54316
|
-
return
|
|
54316
|
+
return Me = pt, de = 0, pt.length === 0 ? Ze : H(pt[de]);
|
|
54317
54317
|
}
|
|
54318
54318
|
function H(pt) {
|
|
54319
54319
|
return ot;
|
|
@@ -54333,7 +54333,7 @@ function $ne(t, e, n) {
|
|
|
54333
54333
|
return ae(Be, V), ze;
|
|
54334
54334
|
}
|
|
54335
54335
|
function wt(pt) {
|
|
54336
|
-
return V.restore(), ++de <
|
|
54336
|
+
return V.restore(), ++de < Me.length ? H(Me[de]) : Ze;
|
|
54337
54337
|
}
|
|
54338
54338
|
}
|
|
54339
54339
|
}
|
|
@@ -54567,7 +54567,7 @@ function ere(t) {
|
|
|
54567
54567
|
htmlFlowData: q,
|
|
54568
54568
|
htmlText: h(Ee),
|
|
54569
54569
|
htmlTextData: q,
|
|
54570
|
-
image: h(
|
|
54570
|
+
image: h(Me),
|
|
54571
54571
|
label: Be,
|
|
54572
54572
|
labelText: de,
|
|
54573
54573
|
lineEnding: ae,
|
|
@@ -54830,7 +54830,7 @@ function ere(t) {
|
|
|
54830
54830
|
delete oe.identifier, delete oe.label;
|
|
54831
54831
|
this.data.referenceType = void 0;
|
|
54832
54832
|
}
|
|
54833
|
-
function
|
|
54833
|
+
function Me() {
|
|
54834
54834
|
const oe = this.stack[this.stack.length - 1];
|
|
54835
54835
|
if (this.data.inReference) {
|
|
54836
54836
|
const Pe = this.data.referenceType || "shortcut";
|
|
@@ -59107,10 +59107,10 @@ function Ase(t) {
|
|
|
59107
59107
|
}
|
|
59108
59108
|
const Ose = ({ itemIndex: t, message: e }) => {
|
|
59109
59109
|
const n = eX(e.name);
|
|
59110
|
-
return /* @__PURE__ */ Se.jsx("div", { className:
|
|
59110
|
+
return /* @__PURE__ */ Se.jsx("div", { className: Ai("ringg_ai-flex ringg_ai-flex-col ringg_ai-items-start ringg_ai-gap-1 ringg_ai-justify-start", n ? "ringg_ai-flex-row" : "ringg_ai-flex-row-reverse"), children: /* @__PURE__ */ Se.jsx(
|
|
59111
59111
|
"div",
|
|
59112
59112
|
{
|
|
59113
|
-
className:
|
|
59113
|
+
className: Ai(
|
|
59114
59114
|
"ringg_ai-flex ringg_ai-items-center ringg_ai-justify-start ringg_ai-gap-2 ringg_ai-px-4 ringg_ai-py-2 ringg_ai-rounded-xl ringg_ai-max-w-[75%]",
|
|
59115
59115
|
n ? "ringg_ai-bg-[#F3F3F5] ringg_ai-mr-auto ringg_ai-text-left ringg_ai-rounded-bl-none" : "ringg_ai-bg-[#2C2E30] ringg_ai-text-white ringg_ai-ml-auto ringg_ai-text-right ringg_ai-rounded-br-none"
|
|
59116
59116
|
),
|
|
@@ -59135,13 +59135,13 @@ function Mse({ tabs: t = [], activeTab: e = "voice-call", onTabChange: n }) {
|
|
|
59135
59135
|
"button",
|
|
59136
59136
|
{
|
|
59137
59137
|
onClick: () => o(l.id),
|
|
59138
|
-
className:
|
|
59138
|
+
className: Ai(
|
|
59139
59139
|
"ringg_ai-flex ringg_ai-flex-col ringg_ai-items-center ringg_ai-gap-1 ringg_ai-border-t ringg_ai-py-3 ringg_ai-transition-all ringg_ai-duration-200 ringg_ai-flex-1",
|
|
59140
59140
|
h ? "ringg_ai-border-t-black" : "ringg_ai-border-t-transparent"
|
|
59141
59141
|
),
|
|
59142
59142
|
children: [
|
|
59143
|
-
/* @__PURE__ */ Se.jsx(c, { className:
|
|
59144
|
-
/* @__PURE__ */ Se.jsx("span", { className:
|
|
59143
|
+
/* @__PURE__ */ Se.jsx(c, { className: Ai("ringg_ai-w-5 ringg_ai-h-5 ringg_ai-transition-colors", h ? "ringg_ai-text-black [&_path]:ringg_ai-fill-black" : "ringg_ai-text-gray-400 [&_path]:ringg_ai-fill-gray-400") }),
|
|
59144
|
+
/* @__PURE__ */ Se.jsx("span", { className: Ai("ringg_ai-text-xs ringg_ai-font-medium ringg_ai-transition-colors", h ? "ringg_ai-text-black" : "ringg_ai-text-gray-400"), children: l.label })
|
|
59145
59145
|
]
|
|
59146
59146
|
},
|
|
59147
59147
|
l.id
|
|
@@ -59157,7 +59157,7 @@ const Lse = ({
|
|
|
59157
59157
|
width: v != null && v.width ? typeof v.width == "number" ? `${v.width}px` : v.width : void 0,
|
|
59158
59158
|
height: v != null && v.height ? typeof v.height == "number" ? `${v.height}px` : v.height : void 0,
|
|
59159
59159
|
borderRadius: v != null && v.borderRadius ? typeof v.borderRadius == "number" ? `${v.borderRadius}px` : v.borderRadius : void 0
|
|
59160
|
-
}, { chatMessages: Ee } = N5(), ze = TW(), Ze = pW(),
|
|
59160
|
+
}, { chatMessages: Ee } = N5(), ze = TW(), Ze = pW(), Me = b === "connected", [de, Be] = he.useState([]), V = m_(ze.audioTrack || void 0), [Z, ke] = he.useState(/* @__PURE__ */ new Map()), H = m_({ publication: Ze.microphoneTrack, source: Ae.Source.Microphone, participant: Ze.localParticipant }), vt = async () => {
|
|
59161
59161
|
try {
|
|
59162
59162
|
if (navigator.permissions && navigator.permissions.query) {
|
|
59163
59163
|
const Rt = await navigator.permissions.query({ name: "microphone" });
|
|
@@ -59188,7 +59188,7 @@ const Lse = ({
|
|
|
59188
59188
|
return ye({ hasError: !0, message: "Microphone access was denied. Please enable it in your browser settings." });
|
|
59189
59189
|
x(!0), B(Rt);
|
|
59190
59190
|
try {
|
|
59191
|
-
const Pt = e === "dev" ? "https://
|
|
59191
|
+
const Pt = e === "dev" ? "https://stage-api2.desivocal.com/ca/api/v0" : e === "stage" ? void 0 : "https://prod-api.ringg.ai/ca/api/v0", ln = e === "dev" ? "wss://ringg-ai-ujrjmhgy.livekit.cloud" : void 0, W = await fetch(`${Pt}/calling/webcall`, {
|
|
59192
59192
|
method: "POST",
|
|
59193
59193
|
body: JSON.stringify({ agent_id: a, custom_args_values: o, media_type: Rt }),
|
|
59194
59194
|
headers: { "Content-Type": "application/json", "X-API-KEY": c }
|
|
@@ -59290,7 +59290,7 @@ const Lse = ({
|
|
|
59290
59290
|
"aria-label": "Open call widget",
|
|
59291
59291
|
onClick: () => J(!0),
|
|
59292
59292
|
style: { position: "fixed", ...X, ...(Wn = l == null ? void 0 : l.modalTrigger) == null ? void 0 : Wn.styles },
|
|
59293
|
-
className:
|
|
59293
|
+
className: Ai("!ringg_ai-z-[9999] !ringg_ai-h-14 !ringg_ai-w-14 !ringg_ai-rounded-full", "ringg_ai-trigger-btn"),
|
|
59294
59294
|
children: /* @__PURE__ */ Se.jsx(f9, { className: "!ringg_ai-size-5" })
|
|
59295
59295
|
}
|
|
59296
59296
|
),
|
|
@@ -59301,9 +59301,12 @@ const Lse = ({
|
|
|
59301
59301
|
animate: { y: 0, opacity: 1 },
|
|
59302
59302
|
exit: { y: 200, opacity: 0.5 },
|
|
59303
59303
|
initial: { y: 200, opacity: 0.5 },
|
|
59304
|
-
style: { position: "fixed", ...X, ...
|
|
59304
|
+
style: { position: "fixed", ...X, ...Me ? _e : {} },
|
|
59305
59305
|
transition: { duration: 0.15, ease: "anticipate" },
|
|
59306
|
-
className:
|
|
59306
|
+
className: Ai(
|
|
59307
|
+
"ringg_ai-relative ringg_ai-border ringg_ai-overflow-hidden !ringg_ai-z-[9999] ringg_ai-bg-[#fafafa] ringg_ai-rounded-[20px] ringg_ai-shadow-xl ringg_ai-animate-fade-in ringg_ai-transition-all ringg_ai-w-[95vw] md:ringg_ai-w-[360px]",
|
|
59308
|
+
Me && "ringg_ai-h-[24.5rem]"
|
|
59309
|
+
),
|
|
59307
59310
|
children: [
|
|
59308
59311
|
/* @__PURE__ */ Se.jsx(
|
|
59309
59312
|
tc,
|
|
@@ -59311,7 +59314,7 @@ const Lse = ({
|
|
|
59311
59314
|
size: "icon",
|
|
59312
59315
|
variant: "ghost",
|
|
59313
59316
|
"aria-label": "Close widget",
|
|
59314
|
-
onClick: () =>
|
|
59317
|
+
onClick: () => Me ? F(!0) : J(!1),
|
|
59315
59318
|
className: "ringg_ai-absolute !ringg_ai-z-[9999] ringg_ai-top-2.5 ringg_ai-right-2.5 !ringg_ai-rounded-full ringg_ai-text-gray-500 hover:ringg_ai-text-gray-700",
|
|
59316
59319
|
children: /* @__PURE__ */ Se.jsx(fQ, { size: 20 })
|
|
59317
59320
|
}
|
|
@@ -59334,21 +59337,21 @@ const Lse = ({
|
|
|
59334
59337
|
] })
|
|
59335
59338
|
] }) }),
|
|
59336
59339
|
/* @__PURE__ */ Se.jsxs("div", { className: "ringg_ai-flex ringg_ai-h-full ringg_ai-flex-col", children: [
|
|
59337
|
-
/* @__PURE__ */ Se.jsxs("div", { className:
|
|
59338
|
-
/* @__PURE__ */ Se.jsx(XJ, { isCalling:
|
|
59339
|
-
(de == null ? void 0 : de.length) === 0 &&
|
|
59340
|
-
(de == null ? void 0 : de.length) > 0 &&
|
|
59341
|
-
/* @__PURE__ */ Se.jsx(qJ, { buttonConfig: l, callMode: j, isCalling:
|
|
59340
|
+
/* @__PURE__ */ Se.jsxs("div", { className: Ai("ringg_ai-relative ringg_ai-p-5 ringg_ai-h-full ringg_ai-mb-2 ringg_ai-flex ringg_ai-gap-5 ringg_ai-flex-col", !Me && "ringg_ai-mt-2"), children: [
|
|
59341
|
+
/* @__PURE__ */ Se.jsx(XJ, { isCalling: Me, isLoading: C, title: n, description: r }),
|
|
59342
|
+
(de == null ? void 0 : de.length) === 0 && Me && /* @__PURE__ */ Se.jsx("div", { className: "ringg_ai-mt-20 ringg_ai-h-full" }),
|
|
59343
|
+
(de == null ? void 0 : de.length) > 0 && Me && /* @__PURE__ */ Se.jsx("div", { ref: _, className: "ringg_ai-mt-20 ringg_ai-h-full ringg_ai-overflow-y-scroll ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2.5", children: de.sort((Rt, Pt) => new Date(Rt.timestamp).getTime() - new Date(Pt.timestamp).getTime()).map((Rt, Pt) => /* @__PURE__ */ Se.jsx(Ose, { itemIndex: Pt, message: Rt }, `${Rt.timestamp}__${Pt}`)) }),
|
|
59344
|
+
/* @__PURE__ */ Se.jsx(qJ, { buttonConfig: l, callMode: j, isCalling: Me, onCallEnd: ot }),
|
|
59342
59345
|
ee.hasError && /* @__PURE__ */ Se.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: ee.message }),
|
|
59343
|
-
b === "disconnected" && /* @__PURE__ */ Se.jsx(nX, { callMode: j, buttonConfig: l, isCalling:
|
|
59344
|
-
!
|
|
59346
|
+
b === "disconnected" && /* @__PURE__ */ Se.jsx(nX, { callMode: j, buttonConfig: l, isCalling: Me, isLoading: C, onCallTrigger: pt }),
|
|
59347
|
+
!Me && /* @__PURE__ */ Se.jsxs("p", { className: "ringg_ai-text-xs ringg_ai-text-center ringg_ai-text-[#11111180]", children: [
|
|
59345
59348
|
"By starting call you agree to ",
|
|
59346
59349
|
/* @__PURE__ */ Se.jsx("a", { target: "_blank", className: "ringg_ai-text-blue-500 hover:ringg_ai-underline", href: "https://www.ringg.ai/privacy", children: "Privacy policy" }),
|
|
59347
59350
|
" & ",
|
|
59348
59351
|
/* @__PURE__ */ Se.jsx("a", { target: "_blank", className: "ringg_ai-text-blue-500 hover:ringg_ai-underline", href: "https://www.ringg.ai/terms", children: "T&C" })
|
|
59349
59352
|
] })
|
|
59350
59353
|
] }),
|
|
59351
|
-
!
|
|
59354
|
+
!Me && !m && /* @__PURE__ */ Se.jsx(Mse, { tabs: fJ, activeTab: j, onTabChange: (Rt) => B(Rt) })
|
|
59352
59355
|
] })
|
|
59353
59356
|
]
|
|
59354
59357
|
}
|