@nlxai/touchpoint-ui 1.2.7-alpha.1 → 1.2.7-alpha.2
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/.claude/settings.local.json +7 -0
- package/lib/index.js +355 -347
- package/lib/index.umd.js +16 -16
- package/lib/website/ConnectChat.d.ts +9 -0
- package/lib/website/index.d.ts +1 -0
- package/package.json +6 -6
- package/vite.config.ts +7 -4
- package/connect-chat.html +0 -197
- package/lib/design-system/index.d.ts +0 -1
- /package/lib/{design-system → website}/LightDarkToggle.d.ts +0 -0
package/lib/index.js
CHANGED
|
@@ -1080,10 +1080,10 @@ function cx() {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
var lr = !1;
|
|
1082
1082
|
if (c) try {
|
|
1083
|
-
var
|
|
1084
|
-
Object.defineProperty(
|
|
1083
|
+
var Ir = {};
|
|
1084
|
+
Object.defineProperty(Ir, "passive", { get: function() {
|
|
1085
1085
|
lr = !0;
|
|
1086
|
-
} }), window.addEventListener("test",
|
|
1086
|
+
} }), window.addEventListener("test", Ir, Ir), window.removeEventListener("test", Ir, Ir);
|
|
1087
1087
|
} catch {
|
|
1088
1088
|
lr = !1;
|
|
1089
1089
|
}
|
|
@@ -1095,7 +1095,7 @@ function cx() {
|
|
|
1095
1095
|
this.onError(Le);
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
|
-
var Ke = !1, oi = null, _o = !1,
|
|
1098
|
+
var Ke = !1, oi = null, _o = !1, br = null, bi = { onError: function(o) {
|
|
1099
1099
|
Ke = !0, oi = o;
|
|
1100
1100
|
} };
|
|
1101
1101
|
function Os(o, a, u, g, k, E, L, q, ee) {
|
|
@@ -1107,7 +1107,7 @@ function cx() {
|
|
|
1107
1107
|
var ye = oi;
|
|
1108
1108
|
Ke = !1, oi = null;
|
|
1109
1109
|
} else throw Error(n(198));
|
|
1110
|
-
_o || (_o = !0,
|
|
1110
|
+
_o || (_o = !0, br = ye);
|
|
1111
1111
|
}
|
|
1112
1112
|
}
|
|
1113
1113
|
function Fn(o) {
|
|
@@ -1201,10 +1201,10 @@ function cx() {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
return null;
|
|
1203
1203
|
}
|
|
1204
|
-
var Sa = e.unstable_scheduleCallback, vl = e.unstable_cancelCallback, Fc = e.unstable_shouldYield, Ca = e.unstable_requestPaint, zt = e.unstable_now, Ds = e.unstable_getCurrentPriorityLevel, Wn = e.unstable_ImmediatePriority, es = e.unstable_UserBlockingPriority, Po = e.unstable_NormalPriority, yl = e.unstable_LowPriority, Io = e.unstable_IdlePriority, Ai = null,
|
|
1204
|
+
var Sa = e.unstable_scheduleCallback, vl = e.unstable_cancelCallback, Fc = e.unstable_shouldYield, Ca = e.unstable_requestPaint, zt = e.unstable_now, Ds = e.unstable_getCurrentPriorityLevel, Wn = e.unstable_ImmediatePriority, es = e.unstable_UserBlockingPriority, Po = e.unstable_NormalPriority, yl = e.unstable_LowPriority, Io = e.unstable_IdlePriority, Ai = null, wr = null;
|
|
1205
1205
|
function Oi(o) {
|
|
1206
|
-
if (
|
|
1207
|
-
|
|
1206
|
+
if (wr && typeof wr.onCommitFiberRoot == "function") try {
|
|
1207
|
+
wr.onCommitFiberRoot(Ai, o, void 0, (o.current.flags & 128) === 128);
|
|
1208
1208
|
} catch {
|
|
1209
1209
|
}
|
|
1210
1210
|
}
|
|
@@ -1275,7 +1275,7 @@ function cx() {
|
|
|
1275
1275
|
if ((g & 4) !== 0 && (g |= u & 16), a = o.entangledLanes, a !== 0) for (o = o.entanglements, a &= g; 0 < a; ) u = 31 - $n(a), k = 1 << u, g |= o[u], a &= ~k;
|
|
1276
1276
|
return g;
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function Mr(o, a) {
|
|
1279
1279
|
switch (o) {
|
|
1280
1280
|
case 1:
|
|
1281
1281
|
case 2:
|
|
@@ -1319,7 +1319,7 @@ function cx() {
|
|
|
1319
1319
|
function ki(o, a) {
|
|
1320
1320
|
for (var u = o.suspendedLanes, g = o.pingedLanes, k = o.expirationTimes, E = o.pendingLanes; 0 < E; ) {
|
|
1321
1321
|
var L = 31 - $n(E), q = 1 << L, ee = k[L];
|
|
1322
|
-
ee === -1 ? ((q & u) === 0 || (q & g) !== 0) && (k[L] =
|
|
1322
|
+
ee === -1 ? ((q & u) === 0 || (q & g) !== 0) && (k[L] = Mr(q, a)) : ee <= a && (o.expiredLanes |= q), E &= ~q;
|
|
1323
1323
|
}
|
|
1324
1324
|
}
|
|
1325
1325
|
function Ns(o) {
|
|
@@ -1399,7 +1399,7 @@ function cx() {
|
|
|
1399
1399
|
}
|
|
1400
1400
|
return !1;
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1402
|
+
function Ar(o) {
|
|
1403
1403
|
var a = Na(o.target);
|
|
1404
1404
|
if (a !== null) {
|
|
1405
1405
|
var u = Fn(a);
|
|
@@ -1453,7 +1453,7 @@ function cx() {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
}
|
|
1455
1455
|
for (qr !== null && Ao(qr, o), vn !== null && Ao(vn, o), ai !== null && Ao(ai, o), Mo.forEach(a), Li.forEach(a), u = 0; u < Si.length; u++) g = Si[u], g.blockedOn === o && (g.blockedOn = null);
|
|
1456
|
-
for (; 0 < Si.length && (u = Si[0], u.blockedOn === null); )
|
|
1456
|
+
for (; 0 < Si.length && (u = Si[0], u.blockedOn === null); ) Ar(u), u.blockedOn === null && Si.shift();
|
|
1457
1457
|
}
|
|
1458
1458
|
var Oo = P.ReactCurrentBatchConfig, kl = !0;
|
|
1459
1459
|
function Sp(o, a, u, g) {
|
|
@@ -1612,7 +1612,7 @@ function cx() {
|
|
|
1612
1612
|
function rr() {
|
|
1613
1613
|
return !1;
|
|
1614
1614
|
}
|
|
1615
|
-
function
|
|
1615
|
+
function Or(o) {
|
|
1616
1616
|
function a(u, g, k, E, L) {
|
|
1617
1617
|
this._reactName = u, this._targetInst = k, this.type = g, this.nativeEvent = E, this.target = L, this.currentTarget = null;
|
|
1618
1618
|
for (var q in o) o.hasOwnProperty(q) && (u = o[q], this[q] = u ? u(E) : E[q]);
|
|
@@ -1628,17 +1628,17 @@ function cx() {
|
|
|
1628
1628
|
}, persist: function() {
|
|
1629
1629
|
}, isPersistent: _l }), a;
|
|
1630
1630
|
}
|
|
1631
|
-
var
|
|
1631
|
+
var Lr = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(o) {
|
|
1632
1632
|
return o.timeStamp || Date.now();
|
|
1633
|
-
}, defaultPrevented: 0, isTrusted: 0 }, Vc =
|
|
1633
|
+
}, defaultPrevented: 0, isTrusted: 0 }, Vc = Or(Lr), Lo = de({}, Lr, { view: 0, detail: 0 }), xl = Or(Lo), xa, Rl, rs, Pl = de({}, Lo, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Hc, button: 0, buttons: 0, relatedTarget: function(o) {
|
|
1634
1634
|
return o.relatedTarget === void 0 ? o.fromElement === o.srcElement ? o.toElement : o.fromElement : o.relatedTarget;
|
|
1635
1635
|
}, movementX: function(o) {
|
|
1636
1636
|
return "movementX" in o ? o.movementX : (o !== rs && (rs && o.type === "mousemove" ? (xa = o.screenX - rs.screenX, Rl = o.screenY - rs.screenY) : Rl = xa = 0, rs = o), xa);
|
|
1637
1637
|
}, movementY: function(o) {
|
|
1638
1638
|
return "movementY" in o ? o.movementY : Rl;
|
|
1639
|
-
} }), md =
|
|
1639
|
+
} }), md = Or(Pl), zc = de({}, Pl, { dataTransfer: 0 }), Cp = Or(zc), Tp = de({}, Lo, { relatedTarget: 0 }), Il = Or(Tp), Ep = de({}, Lr, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), _p = Or(Ep), xp = de({}, Lr, { clipboardData: function(o) {
|
|
1640
1640
|
return "clipboardData" in o ? o.clipboardData : window.clipboardData;
|
|
1641
|
-
} }), Rp =
|
|
1641
|
+
} }), Rp = Or(xp), Pp = de({}, Lr, { data: 0 }), gd = Or(Pp), vd = {
|
|
1642
1642
|
Esc: "Escape",
|
|
1643
1643
|
Spacebar: " ",
|
|
1644
1644
|
Left: "ArrowLeft",
|
|
@@ -1708,7 +1708,7 @@ function cx() {
|
|
|
1708
1708
|
return o.type === "keydown" || o.type === "keyup" ? o.keyCode : 0;
|
|
1709
1709
|
}, which: function(o) {
|
|
1710
1710
|
return o.type === "keypress" ? El(o) : o.type === "keydown" || o.type === "keyup" ? o.keyCode : 0;
|
|
1711
|
-
} }), Ap =
|
|
1711
|
+
} }), Ap = Or(Mp), Ra = de({}, Pl, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), bd = Or(Ra), Op = de({}, Lo, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Hc }), Wc = Or(Op), wd = de({}, Lr, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), kd = Or(wd), Sd = de({}, Pl, {
|
|
1712
1712
|
deltaX: function(o) {
|
|
1713
1713
|
return "deltaX" in o ? o.deltaX : "wheelDeltaX" in o ? -o.wheelDeltaX : 0;
|
|
1714
1714
|
},
|
|
@@ -1717,7 +1717,7 @@ function cx() {
|
|
|
1717
1717
|
},
|
|
1718
1718
|
deltaZ: 0,
|
|
1719
1719
|
deltaMode: 0
|
|
1720
|
-
}), Cd =
|
|
1720
|
+
}), Cd = Or(Sd), Pa = [9, 13, 27, 32], Gr = c && "CompositionEvent" in window, Do = null;
|
|
1721
1721
|
c && "documentMode" in document && (Do = document.documentMode);
|
|
1722
1722
|
var Ia = c && "TextEvent" in window && !Do, is = c && (!Gr || Do && 8 < Do && 11 >= Do), No = " ", Ma = !1;
|
|
1723
1723
|
function qn(o, a) {
|
|
@@ -1823,15 +1823,15 @@ function cx() {
|
|
|
1823
1823
|
function Md(o, a) {
|
|
1824
1824
|
return o === a && (o !== 0 || 1 / o === 1 / a) || o !== o && a !== a;
|
|
1825
1825
|
}
|
|
1826
|
-
var
|
|
1826
|
+
var Dr = typeof Object.is == "function" ? Object.is : Md;
|
|
1827
1827
|
function Ce(o, a) {
|
|
1828
|
-
if (
|
|
1828
|
+
if (Dr(o, a)) return !0;
|
|
1829
1829
|
if (typeof o != "object" || o === null || typeof a != "object" || a === null) return !1;
|
|
1830
1830
|
var u = Object.keys(o), g = Object.keys(a);
|
|
1831
1831
|
if (u.length !== g.length) return !1;
|
|
1832
1832
|
for (g = 0; g < u.length; g++) {
|
|
1833
1833
|
var k = u[g];
|
|
1834
|
-
if (!f.call(a, k) || !
|
|
1834
|
+
if (!f.call(a, k) || !Dr(o[k], a[k])) return !1;
|
|
1835
1835
|
}
|
|
1836
1836
|
return !0;
|
|
1837
1837
|
}
|
|
@@ -1950,7 +1950,7 @@ function cx() {
|
|
|
1950
1950
|
}
|
|
1951
1951
|
}
|
|
1952
1952
|
}
|
|
1953
|
-
if (_o) throw o =
|
|
1953
|
+
if (_o) throw o = br, _o = !1, br = null, o;
|
|
1954
1954
|
}
|
|
1955
1955
|
function Ye(o, a) {
|
|
1956
1956
|
var u = a[jp];
|
|
@@ -2298,7 +2298,7 @@ function cx() {
|
|
|
2298
2298
|
function yn(o, a) {
|
|
2299
2299
|
Wl++, Bp[Wl] = o.current, o.current = a;
|
|
2300
2300
|
}
|
|
2301
|
-
var qs = {},
|
|
2301
|
+
var qs = {}, Nr = $s(qs), li = $s(!1), Fa = qs;
|
|
2302
2302
|
function $l(o, a) {
|
|
2303
2303
|
var u = o.type.contextTypes;
|
|
2304
2304
|
if (!u) return qs;
|
|
@@ -2312,11 +2312,11 @@ function cx() {
|
|
|
2312
2312
|
return o = o.childContextTypes, o != null;
|
|
2313
2313
|
}
|
|
2314
2314
|
function Fd() {
|
|
2315
|
-
Sn(li), Sn(
|
|
2315
|
+
Sn(li), Sn(Nr);
|
|
2316
2316
|
}
|
|
2317
2317
|
function n0(o, a, u) {
|
|
2318
|
-
if (
|
|
2319
|
-
yn(
|
|
2318
|
+
if (Nr.current !== qs) throw Error(n(168));
|
|
2319
|
+
yn(Nr, a), yn(li, u);
|
|
2320
2320
|
}
|
|
2321
2321
|
function r0(o, a, u) {
|
|
2322
2322
|
var g = o.stateNode;
|
|
@@ -2326,12 +2326,12 @@ function cx() {
|
|
|
2326
2326
|
return de({}, u, g);
|
|
2327
2327
|
}
|
|
2328
2328
|
function Ud(o) {
|
|
2329
|
-
return o = (o = o.stateNode) && o.__reactInternalMemoizedMergedChildContext || qs, Fa =
|
|
2329
|
+
return o = (o = o.stateNode) && o.__reactInternalMemoizedMergedChildContext || qs, Fa = Nr.current, yn(Nr, o), yn(li, li.current), !0;
|
|
2330
2330
|
}
|
|
2331
2331
|
function i0(o, a, u) {
|
|
2332
2332
|
var g = o.stateNode;
|
|
2333
2333
|
if (!g) throw Error(n(169));
|
|
2334
|
-
u ? (o = r0(o, a, Fa), g.__reactInternalMemoizedMergedChildContext = o, Sn(li), Sn(
|
|
2334
|
+
u ? (o = r0(o, a, Fa), g.__reactInternalMemoizedMergedChildContext = o, Sn(li), Sn(Nr), yn(Nr, o)) : Sn(li), yn(li, u);
|
|
2335
2335
|
}
|
|
2336
2336
|
var as = null, jd = !1, Vp = !1;
|
|
2337
2337
|
function o0(o) {
|
|
@@ -2887,12 +2887,12 @@ function cx() {
|
|
|
2887
2887
|
tm.length = 0;
|
|
2888
2888
|
}
|
|
2889
2889
|
var Yd = P.ReactCurrentDispatcher, rm = P.ReactCurrentBatchConfig, za = 0, An = null, ir = null, ur = null, Xd = !1, nu = !1, ru = 0, k_ = 0;
|
|
2890
|
-
function
|
|
2890
|
+
function Fr() {
|
|
2891
2891
|
throw Error(n(321));
|
|
2892
2892
|
}
|
|
2893
2893
|
function im(o, a) {
|
|
2894
2894
|
if (a === null) return !1;
|
|
2895
|
-
for (var u = 0; u < a.length && u < o.length; u++) if (!
|
|
2895
|
+
for (var u = 0; u < a.length && u < o.length; u++) if (!Dr(o[u], a[u])) return !1;
|
|
2896
2896
|
return !0;
|
|
2897
2897
|
}
|
|
2898
2898
|
function om(o, a, u, g, k, E) {
|
|
@@ -2960,7 +2960,7 @@ function cx() {
|
|
|
2960
2960
|
}
|
|
2961
2961
|
ye = ye.next;
|
|
2962
2962
|
} while (ye !== null && ye !== E);
|
|
2963
|
-
ee === null ? L = g : ee.next = q,
|
|
2963
|
+
ee === null ? L = g : ee.next = q, Dr(g, a.memoizedState) || (ui = !0), a.memoizedState = g, a.baseState = L, a.baseQueue = ee, u.lastRenderedState = g;
|
|
2964
2964
|
}
|
|
2965
2965
|
if (o = u.interleaved, o !== null) {
|
|
2966
2966
|
k = o;
|
|
@@ -2981,14 +2981,14 @@ function cx() {
|
|
|
2981
2981
|
do
|
|
2982
2982
|
E = o(E, L.action), L = L.next;
|
|
2983
2983
|
while (L !== k);
|
|
2984
|
-
|
|
2984
|
+
Dr(E, a.memoizedState) || (ui = !0), a.memoizedState = E, a.baseQueue === null && (a.baseState = E), u.lastRenderedState = E;
|
|
2985
2985
|
}
|
|
2986
2986
|
return [E, g];
|
|
2987
2987
|
}
|
|
2988
2988
|
function b0() {
|
|
2989
2989
|
}
|
|
2990
2990
|
function w0(o, a) {
|
|
2991
|
-
var u = An, g = Bi(), k = a(), E = !
|
|
2991
|
+
var u = An, g = Bi(), k = a(), E = !Dr(g.memoizedState, k);
|
|
2992
2992
|
if (E && (g.memoizedState = k, ui = !0), g = g.queue, cm(C0.bind(null, u, g, o), [o]), g.getSnapshot !== a || E || ur !== null && ur.memoizedState.tag & 1) {
|
|
2993
2993
|
if (u.flags |= 2048, ou(9, S0.bind(null, u, g, k, a), void 0, null), dr === null) throw Error(n(349));
|
|
2994
2994
|
(za & 30) !== 0 || k0(u, a, k);
|
|
@@ -3011,7 +3011,7 @@ function cx() {
|
|
|
3011
3011
|
o = o.value;
|
|
3012
3012
|
try {
|
|
3013
3013
|
var u = a();
|
|
3014
|
-
return !
|
|
3014
|
+
return !Dr(o, u);
|
|
3015
3015
|
} catch {
|
|
3016
3016
|
return !0;
|
|
3017
3017
|
}
|
|
@@ -3085,7 +3085,7 @@ function cx() {
|
|
|
3085
3085
|
return g !== null && a !== null && im(a, g[1]) ? g[0] : (o = o(), u.memoizedState = [o, a], o);
|
|
3086
3086
|
}
|
|
3087
3087
|
function D0(o, a, u) {
|
|
3088
|
-
return (za & 21) === 0 ? (o.baseState && (o.baseState = !1, ui = !0), o.memoizedState = u) : (
|
|
3088
|
+
return (za & 21) === 0 ? (o.baseState && (o.baseState = !1, ui = !0), o.memoizedState = u) : (Dr(u, a) || (u = Fs(), An.lanes |= u, Ha |= u, o.baseState = !0), a);
|
|
3089
3089
|
}
|
|
3090
3090
|
function S_(o, a) {
|
|
3091
3091
|
var u = ae;
|
|
@@ -3116,7 +3116,7 @@ function cx() {
|
|
|
3116
3116
|
var E = o.alternate;
|
|
3117
3117
|
if (o.lanes === 0 && (E === null || E.lanes === 0) && (E = a.lastRenderedReducer, E !== null)) try {
|
|
3118
3118
|
var L = a.lastRenderedState, q = E(L, u);
|
|
3119
|
-
if (k.hasEagerState = !0, k.eagerState = q,
|
|
3119
|
+
if (k.hasEagerState = !0, k.eagerState = q, Dr(q, L)) {
|
|
3120
3120
|
var ee = a.interleaved;
|
|
3121
3121
|
ee === null ? (k.next = k, Jp(a)) : (k.next = ee.next, ee.next = k), a.interleaved = k;
|
|
3122
3122
|
return;
|
|
@@ -3142,7 +3142,7 @@ function cx() {
|
|
|
3142
3142
|
g &= o.pendingLanes, u |= g, a.lanes = u, z(o, u);
|
|
3143
3143
|
}
|
|
3144
3144
|
}
|
|
3145
|
-
var Qd = { readContext: ji, useCallback:
|
|
3145
|
+
var Qd = { readContext: ji, useCallback: Fr, useContext: Fr, useEffect: Fr, useImperativeHandle: Fr, useInsertionEffect: Fr, useLayoutEffect: Fr, useMemo: Fr, useReducer: Fr, useRef: Fr, useState: Fr, useDebugValue: Fr, useDeferredValue: Fr, useTransition: Fr, useMutableSource: Fr, useSyncExternalStore: Fr, useId: Fr, unstable_isNewReconciler: !1 }, E_ = { readContext: ji, useCallback: function(o, a) {
|
|
3146
3146
|
return Bo().memoizedState = [o, a === void 0 ? null : a], o;
|
|
3147
3147
|
}, useContext: ji, useEffect: R0, useImperativeHandle: function(o, a, u) {
|
|
3148
3148
|
return u = u != null ? u.concat([o]) : null, Jd(
|
|
@@ -3261,7 +3261,7 @@ function cx() {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
function V0(o, a, u) {
|
|
3263
3263
|
var g = !1, k = qs, E = a.contextType;
|
|
3264
|
-
return typeof E == "object" && E !== null ? E = ji(E) : (k = ci(a) ? Fa :
|
|
3264
|
+
return typeof E == "object" && E !== null ? E = ji(E) : (k = ci(a) ? Fa : Nr.current, g = a.contextTypes, E = (g = g != null) ? $l(o, k) : qs), a = new a(u, E), o.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = ef, o.stateNode = a, a._reactInternals = o, g && (o = o.stateNode, o.__reactInternalMemoizedUnmaskedChildContext = k, o.__reactInternalMemoizedMaskedChildContext = E), a;
|
|
3265
3265
|
}
|
|
3266
3266
|
function z0(o, a, u, g) {
|
|
3267
3267
|
o = a.state, typeof a.componentWillReceiveProps == "function" && a.componentWillReceiveProps(u, g), typeof a.UNSAFE_componentWillReceiveProps == "function" && a.UNSAFE_componentWillReceiveProps(u, g), a.state !== o && ef.enqueueReplaceState(a, a.state, null);
|
|
@@ -3270,7 +3270,7 @@ function cx() {
|
|
|
3270
3270
|
var k = o.stateNode;
|
|
3271
3271
|
k.props = u, k.state = o.memoizedState, k.refs = {}, Zp(o);
|
|
3272
3272
|
var E = a.contextType;
|
|
3273
|
-
typeof E == "object" && E !== null ? k.context = ji(E) : (E = ci(a) ? Fa :
|
|
3273
|
+
typeof E == "object" && E !== null ? k.context = ji(E) : (E = ci(a) ? Fa : Nr.current, k.context = $l(o, E)), k.state = o.memoizedState, E = a.getDerivedStateFromProps, typeof E == "function" && (dm(o, a, E, u), k.state = o.memoizedState), typeof a.getDerivedStateFromProps == "function" || typeof k.getSnapshotBeforeUpdate == "function" || typeof k.UNSAFE_componentWillMount != "function" && typeof k.componentWillMount != "function" || (a = k.state, typeof k.componentWillMount == "function" && k.componentWillMount(), typeof k.UNSAFE_componentWillMount == "function" && k.UNSAFE_componentWillMount(), a !== k.state && ef.enqueueReplaceState(k, k.state, null), Gd(o, u, k, g), k.state = o.memoizedState), typeof k.componentDidMount == "function" && (o.flags |= 4194308);
|
|
3274
3274
|
}
|
|
3275
3275
|
function Ql(o, a) {
|
|
3276
3276
|
try {
|
|
@@ -3387,7 +3387,7 @@ Error generating stack: ` + E.message + `
|
|
|
3387
3387
|
(o === null && u !== null || o !== null && o.ref !== u) && (a.flags |= 512, a.flags |= 2097152);
|
|
3388
3388
|
}
|
|
3389
3389
|
function mm(o, a, u, g, k) {
|
|
3390
|
-
var E = ci(u) ? Fa :
|
|
3390
|
+
var E = ci(u) ? Fa : Nr.current;
|
|
3391
3391
|
return E = $l(a, E), Jl(a, k), u = om(o, a, u, g, E, k), g = sm(), o !== null && !ui ? (a.updateQueue = o.updateQueue, a.flags &= -2053, o.lanes &= ~k, fs(o, a, k)) : (_n && g && zp(a), a.flags |= 1, Yr(o, a, u, k), a.child);
|
|
3392
3392
|
}
|
|
3393
3393
|
function Q0(o, a, u, g, k) {
|
|
@@ -3400,13 +3400,13 @@ Error generating stack: ` + E.message + `
|
|
|
3400
3400
|
var L = a.stateNode, q = a.memoizedProps;
|
|
3401
3401
|
L.props = q;
|
|
3402
3402
|
var ee = L.context, ye = u.contextType;
|
|
3403
|
-
typeof ye == "object" && ye !== null ? ye = ji(ye) : (ye = ci(u) ? Fa :
|
|
3403
|
+
typeof ye == "object" && ye !== null ? ye = ji(ye) : (ye = ci(u) ? Fa : Nr.current, ye = $l(a, ye));
|
|
3404
3404
|
var Le = u.getDerivedStateFromProps, Ne = typeof Le == "function" || typeof L.getSnapshotBeforeUpdate == "function";
|
|
3405
3405
|
Ne || typeof L.UNSAFE_componentWillReceiveProps != "function" && typeof L.componentWillReceiveProps != "function" || (q !== g || ee !== ye) && z0(a, L, g, ye), Ks = !1;
|
|
3406
3406
|
var Me = a.memoizedState;
|
|
3407
3407
|
L.state = Me, Gd(a, g, L, k), ee = a.memoizedState, q !== g || Me !== ee || li.current || Ks ? (typeof Le == "function" && (dm(a, u, Le, g), ee = a.memoizedState), (q = Ks || B0(a, u, q, g, Me, ee, ye)) ? (Ne || typeof L.UNSAFE_componentWillMount != "function" && typeof L.componentWillMount != "function" || (typeof L.componentWillMount == "function" && L.componentWillMount(), typeof L.UNSAFE_componentWillMount == "function" && L.UNSAFE_componentWillMount()), typeof L.componentDidMount == "function" && (a.flags |= 4194308)) : (typeof L.componentDidMount == "function" && (a.flags |= 4194308), a.memoizedProps = g, a.memoizedState = ee), L.props = g, L.state = ee, L.context = ye, g = q) : (typeof L.componentDidMount == "function" && (a.flags |= 4194308), g = !1);
|
|
3408
3408
|
} else {
|
|
3409
|
-
L = a.stateNode, m0(o, a), q = a.memoizedProps, ye = a.type === a.elementType ? q : ro(a.type, q), L.props = ye, Ne = a.pendingProps, Me = L.context, ee = u.contextType, typeof ee == "object" && ee !== null ? ee = ji(ee) : (ee = ci(u) ? Fa :
|
|
3409
|
+
L = a.stateNode, m0(o, a), q = a.memoizedProps, ye = a.type === a.elementType ? q : ro(a.type, q), L.props = ye, Ne = a.pendingProps, Me = L.context, ee = u.contextType, typeof ee == "object" && ee !== null ? ee = ji(ee) : (ee = ci(u) ? Fa : Nr.current, ee = $l(a, ee));
|
|
3410
3410
|
var Je = u.getDerivedStateFromProps;
|
|
3411
3411
|
(Le = typeof Je == "function" || typeof L.getSnapshotBeforeUpdate == "function") || typeof L.UNSAFE_componentWillReceiveProps != "function" && typeof L.componentWillReceiveProps != "function" || (q !== Ne || Me !== ee) && z0(a, L, g, ee), Ks = !1, Me = a.memoizedState, L.state = Me, Gd(a, g, L, k);
|
|
3412
3412
|
var nt = a.memoizedState;
|
|
@@ -3676,7 +3676,7 @@ Error generating stack: ` + E.message + `
|
|
|
3676
3676
|
g === null ? a || o.tail === null ? o.tail = null : o.tail.sibling = null : g.sibling = null;
|
|
3677
3677
|
}
|
|
3678
3678
|
}
|
|
3679
|
-
function
|
|
3679
|
+
function Ur(o) {
|
|
3680
3680
|
var a = o.alternate !== null && o.alternate.child === o.child, u = 0, g = 0;
|
|
3681
3681
|
if (a) for (var k = o.child; k !== null; ) u |= k.lanes | k.childLanes, g |= k.subtreeFlags & 14680064, g |= k.flags & 14680064, k.return = o, k = k.sibling;
|
|
3682
3682
|
else for (k = o.child; k !== null; ) u |= k.lanes | k.childLanes, g |= k.subtreeFlags, g |= k.flags, k.return = o, k = k.sibling;
|
|
@@ -3695,11 +3695,11 @@ Error generating stack: ` + E.message + `
|
|
|
3695
3695
|
case 12:
|
|
3696
3696
|
case 9:
|
|
3697
3697
|
case 14:
|
|
3698
|
-
return
|
|
3698
|
+
return Ur(a), null;
|
|
3699
3699
|
case 1:
|
|
3700
|
-
return ci(a.type) && Fd(),
|
|
3700
|
+
return ci(a.type) && Fd(), Ur(a), null;
|
|
3701
3701
|
case 3:
|
|
3702
|
-
return g = a.stateNode, Zl(), Sn(li), Sn(
|
|
3702
|
+
return g = a.stateNode, Zl(), Sn(li), Sn(Nr), nm(), g.pendingContext && (g.context = g.pendingContext, g.pendingContext = null), (o === null || o.child === null) && (zd(a) ? a.flags |= 4 : o === null || o.memoizedState.isDehydrated && (a.flags & 256) === 0 || (a.flags |= 1024, no !== null && (Am(no), no = null))), km(o, a), Ur(a), null;
|
|
3703
3703
|
case 5:
|
|
3704
3704
|
em(a);
|
|
3705
3705
|
var k = Va(tu.current);
|
|
@@ -3707,7 +3707,7 @@ Error generating stack: ` + E.message + `
|
|
|
3707
3707
|
else {
|
|
3708
3708
|
if (!g) {
|
|
3709
3709
|
if (a.stateNode === null) throw Error(n(166));
|
|
3710
|
-
return
|
|
3710
|
+
return Ur(a), null;
|
|
3711
3711
|
}
|
|
3712
3712
|
if (o = Va(jo.current), zd(a)) {
|
|
3713
3713
|
g = a.stateNode, u = a.type;
|
|
@@ -3861,7 +3861,7 @@ Error generating stack: ` + E.message + `
|
|
|
3861
3861
|
}
|
|
3862
3862
|
a.ref !== null && (a.flags |= 512, a.flags |= 2097152);
|
|
3863
3863
|
}
|
|
3864
|
-
return
|
|
3864
|
+
return Ur(a), null;
|
|
3865
3865
|
case 6:
|
|
3866
3866
|
if (o && a.stateNode != null) ab(o, a, o.memoizedProps, g);
|
|
3867
3867
|
else {
|
|
@@ -3877,7 +3877,7 @@ Error generating stack: ` + E.message + `
|
|
|
3877
3877
|
E && (a.flags |= 4);
|
|
3878
3878
|
} else g = (u.nodeType === 9 ? u : u.ownerDocument).createTextNode(g), g[Uo] = a, a.stateNode = g;
|
|
3879
3879
|
}
|
|
3880
|
-
return
|
|
3880
|
+
return Ur(a), null;
|
|
3881
3881
|
case 13:
|
|
3882
3882
|
if (Sn(Mn), g = a.memoizedState, o === null || o.memoizedState !== null && o.memoizedState.dehydrated !== null) {
|
|
3883
3883
|
if (_n && _i !== null && (a.mode & 1) !== 0 && (a.flags & 128) === 0) u0(), Kl(), a.flags |= 98560, E = !1;
|
|
@@ -3887,19 +3887,19 @@ Error generating stack: ` + E.message + `
|
|
|
3887
3887
|
if (E = a.memoizedState, E = E !== null ? E.dehydrated : null, !E) throw Error(n(317));
|
|
3888
3888
|
E[Uo] = a;
|
|
3889
3889
|
} else Kl(), (a.flags & 128) === 0 && (a.memoizedState = null), a.flags |= 4;
|
|
3890
|
-
|
|
3890
|
+
Ur(a), E = !1;
|
|
3891
3891
|
} else no !== null && (Am(no), no = null), E = !0;
|
|
3892
3892
|
if (!E) return a.flags & 65536 ? a : null;
|
|
3893
3893
|
}
|
|
3894
|
-
return (a.flags & 128) !== 0 ? (a.lanes = u, a) : (g = g !== null, g !== (o !== null && o.memoizedState !== null) && g && (a.child.flags |= 8192, (a.mode & 1) !== 0 && (o === null || (Mn.current & 1) !== 0 ? or === 0 && (or = 3) : Dm())), a.updateQueue !== null && (a.flags |= 4),
|
|
3894
|
+
return (a.flags & 128) !== 0 ? (a.lanes = u, a) : (g = g !== null, g !== (o !== null && o.memoizedState !== null) && g && (a.child.flags |= 8192, (a.mode & 1) !== 0 && (o === null || (Mn.current & 1) !== 0 ? or === 0 && (or = 3) : Dm())), a.updateQueue !== null && (a.flags |= 4), Ur(a), null);
|
|
3895
3895
|
case 4:
|
|
3896
|
-
return Zl(), km(o, a), o === null && Xt(a.stateNode.containerInfo),
|
|
3896
|
+
return Zl(), km(o, a), o === null && Xt(a.stateNode.containerInfo), Ur(a), null;
|
|
3897
3897
|
case 10:
|
|
3898
|
-
return Yp(a.type._context),
|
|
3898
|
+
return Yp(a.type._context), Ur(a), null;
|
|
3899
3899
|
case 17:
|
|
3900
|
-
return ci(a.type) && Fd(),
|
|
3900
|
+
return ci(a.type) && Fd(), Ur(a), null;
|
|
3901
3901
|
case 19:
|
|
3902
|
-
if (Sn(Mn), E = a.memoizedState, E === null) return
|
|
3902
|
+
if (Sn(Mn), E = a.memoizedState, E === null) return Ur(a), null;
|
|
3903
3903
|
if (g = (a.flags & 128) !== 0, L = E.rendering, L === null) if (g) su(E, !1);
|
|
3904
3904
|
else {
|
|
3905
3905
|
if (or !== 0 || o !== null && (o.flags & 128) !== 0) for (o = a.child; o !== null; ) {
|
|
@@ -3913,14 +3913,14 @@ Error generating stack: ` + E.message + `
|
|
|
3913
3913
|
}
|
|
3914
3914
|
else {
|
|
3915
3915
|
if (!g) if (o = Kd(L), o !== null) {
|
|
3916
|
-
if (a.flags |= 128, g = !0, u = o.updateQueue, u !== null && (a.updateQueue = u, a.flags |= 4), su(E, !0), E.tail === null && E.tailMode === "hidden" && !L.alternate && !_n) return
|
|
3916
|
+
if (a.flags |= 128, g = !0, u = o.updateQueue, u !== null && (a.updateQueue = u, a.flags |= 4), su(E, !0), E.tail === null && E.tailMode === "hidden" && !L.alternate && !_n) return Ur(a), null;
|
|
3917
3917
|
} else 2 * zt() - E.renderingStartTime > nc && u !== 1073741824 && (a.flags |= 128, g = !0, su(E, !1), a.lanes = 4194304);
|
|
3918
3918
|
E.isBackwards ? (L.sibling = a.child, a.child = L) : (u = E.last, u !== null ? u.sibling = L : a.child = L, E.last = L);
|
|
3919
3919
|
}
|
|
3920
|
-
return E.tail !== null ? (a = E.tail, E.rendering = a, E.tail = a.sibling, E.renderingStartTime = zt(), a.sibling = null, u = Mn.current, yn(Mn, g ? u & 1 | 2 : u & 1), a) : (
|
|
3920
|
+
return E.tail !== null ? (a = E.tail, E.rendering = a, E.tail = a.sibling, E.renderingStartTime = zt(), a.sibling = null, u = Mn.current, yn(Mn, g ? u & 1 | 2 : u & 1), a) : (Ur(a), null);
|
|
3921
3921
|
case 22:
|
|
3922
3922
|
case 23:
|
|
3923
|
-
return Lm(), g = a.memoizedState !== null, o !== null && o.memoizedState !== null !== g && (a.flags |= 8192), g && (a.mode & 1) !== 0 ? (xi & 1073741824) !== 0 && (
|
|
3923
|
+
return Lm(), g = a.memoizedState !== null, o !== null && o.memoizedState !== null !== g && (a.flags |= 8192), g && (a.mode & 1) !== 0 ? (xi & 1073741824) !== 0 && (Ur(a), a.subtreeFlags & 6 && (a.flags |= 8192)) : Ur(a), null;
|
|
3924
3924
|
case 24:
|
|
3925
3925
|
return null;
|
|
3926
3926
|
case 25:
|
|
@@ -3933,7 +3933,7 @@ Error generating stack: ` + E.message + `
|
|
|
3933
3933
|
case 1:
|
|
3934
3934
|
return ci(a.type) && Fd(), o = a.flags, o & 65536 ? (a.flags = o & -65537 | 128, a) : null;
|
|
3935
3935
|
case 3:
|
|
3936
|
-
return Zl(), Sn(li), Sn(
|
|
3936
|
+
return Zl(), Sn(li), Sn(Nr), nm(), o = a.flags, (o & 65536) !== 0 && (o & 128) === 0 ? (a.flags = o & -65537 | 128, a) : null;
|
|
3937
3937
|
case 5:
|
|
3938
3938
|
return em(a), null;
|
|
3939
3939
|
case 13:
|
|
@@ -3957,7 +3957,7 @@ Error generating stack: ` + E.message + `
|
|
|
3957
3957
|
return null;
|
|
3958
3958
|
}
|
|
3959
3959
|
}
|
|
3960
|
-
var rf = !1,
|
|
3960
|
+
var rf = !1, jr = !1, L_ = typeof WeakSet == "function" ? WeakSet : Set, tt = null;
|
|
3961
3961
|
function ec(o, a) {
|
|
3962
3962
|
var u = o.ref;
|
|
3963
3963
|
if (u !== null) if (typeof u == "function") try {
|
|
@@ -4115,33 +4115,33 @@ Error generating stack: ` + E.message + `
|
|
|
4115
4115
|
if (g === 5 || g === 6) o = o.stateNode, a ? u.insertBefore(o, a) : u.appendChild(o);
|
|
4116
4116
|
else if (g !== 4 && (o = o.child, o !== null)) for (Em(o, a, u), o = o.sibling; o !== null; ) Em(o, a, u), o = o.sibling;
|
|
4117
4117
|
}
|
|
4118
|
-
var
|
|
4118
|
+
var kr = null, io = !1;
|
|
4119
4119
|
function Xs(o, a, u) {
|
|
4120
4120
|
for (u = u.child; u !== null; ) fb(o, a, u), u = u.sibling;
|
|
4121
4121
|
}
|
|
4122
4122
|
function fb(o, a, u) {
|
|
4123
|
-
if (
|
|
4124
|
-
|
|
4123
|
+
if (wr && typeof wr.onCommitFiberUnmount == "function") try {
|
|
4124
|
+
wr.onCommitFiberUnmount(Ai, u);
|
|
4125
4125
|
} catch {
|
|
4126
4126
|
}
|
|
4127
4127
|
switch (u.tag) {
|
|
4128
4128
|
case 5:
|
|
4129
|
-
|
|
4129
|
+
jr || ec(u, a);
|
|
4130
4130
|
case 6:
|
|
4131
|
-
var g =
|
|
4132
|
-
|
|
4131
|
+
var g = kr, k = io;
|
|
4132
|
+
kr = null, Xs(o, a, u), kr = g, io = k, kr !== null && (io ? (o = kr, u = u.stateNode, o.nodeType === 8 ? o.parentNode.removeChild(u) : o.removeChild(u)) : kr.removeChild(u.stateNode));
|
|
4133
4133
|
break;
|
|
4134
4134
|
case 18:
|
|
4135
|
-
|
|
4135
|
+
kr !== null && (io ? (o = kr, u = u.stateNode, o.nodeType === 8 ? Up(o.parentNode, u) : o.nodeType === 1 && Up(o, u), ns(o)) : Up(kr, u.stateNode));
|
|
4136
4136
|
break;
|
|
4137
4137
|
case 4:
|
|
4138
|
-
g =
|
|
4138
|
+
g = kr, k = io, kr = u.stateNode.containerInfo, io = !0, Xs(o, a, u), kr = g, io = k;
|
|
4139
4139
|
break;
|
|
4140
4140
|
case 0:
|
|
4141
4141
|
case 11:
|
|
4142
4142
|
case 14:
|
|
4143
4143
|
case 15:
|
|
4144
|
-
if (!
|
|
4144
|
+
if (!jr && (g = u.updateQueue, g !== null && (g = g.lastEffect, g !== null))) {
|
|
4145
4145
|
k = g = g.next;
|
|
4146
4146
|
do {
|
|
4147
4147
|
var E = k, L = E.destroy;
|
|
@@ -4151,7 +4151,7 @@ Error generating stack: ` + E.message + `
|
|
|
4151
4151
|
Xs(o, a, u);
|
|
4152
4152
|
break;
|
|
4153
4153
|
case 1:
|
|
4154
|
-
if (!
|
|
4154
|
+
if (!jr && (ec(u, a), g = u.stateNode, typeof g.componentWillUnmount == "function")) try {
|
|
4155
4155
|
g.props = u.memoizedProps, g.state = u.memoizedState, g.componentWillUnmount();
|
|
4156
4156
|
} catch (q) {
|
|
4157
4157
|
jn(u, a, q);
|
|
@@ -4162,7 +4162,7 @@ Error generating stack: ` + E.message + `
|
|
|
4162
4162
|
Xs(o, a, u);
|
|
4163
4163
|
break;
|
|
4164
4164
|
case 22:
|
|
4165
|
-
u.mode & 1 ? (
|
|
4165
|
+
u.mode & 1 ? (jr = (g = jr) || u.memoizedState !== null, Xs(o, a, u), jr = g) : Xs(o, a, u);
|
|
4166
4166
|
break;
|
|
4167
4167
|
default:
|
|
4168
4168
|
Xs(o, a, u);
|
|
@@ -4188,19 +4188,19 @@ Error generating stack: ` + E.message + `
|
|
|
4188
4188
|
e: for (; q !== null; ) {
|
|
4189
4189
|
switch (q.tag) {
|
|
4190
4190
|
case 5:
|
|
4191
|
-
|
|
4191
|
+
kr = q.stateNode, io = !1;
|
|
4192
4192
|
break e;
|
|
4193
4193
|
case 3:
|
|
4194
|
-
|
|
4194
|
+
kr = q.stateNode.containerInfo, io = !0;
|
|
4195
4195
|
break e;
|
|
4196
4196
|
case 4:
|
|
4197
|
-
|
|
4197
|
+
kr = q.stateNode.containerInfo, io = !0;
|
|
4198
4198
|
break e;
|
|
4199
4199
|
}
|
|
4200
4200
|
q = q.return;
|
|
4201
4201
|
}
|
|
4202
|
-
if (
|
|
4203
|
-
fb(E, L, k),
|
|
4202
|
+
if (kr === null) throw Error(n(160));
|
|
4203
|
+
fb(E, L, k), kr = null, io = !1;
|
|
4204
4204
|
var ee = k.alternate;
|
|
4205
4205
|
ee !== null && (ee.return = null), k.return = null;
|
|
4206
4206
|
} catch (ye) {
|
|
@@ -4299,7 +4299,7 @@ Error generating stack: ` + E.message + `
|
|
|
4299
4299
|
oo(a, o), Vo(o), k = o.child, k.flags & 8192 && (E = k.memoizedState !== null, k.stateNode.isHidden = E, !E || k.alternate !== null && k.alternate.memoizedState !== null || (Rm = zt())), g & 4 && hb(o);
|
|
4300
4300
|
break;
|
|
4301
4301
|
case 22:
|
|
4302
|
-
if (Le = u !== null && u.memoizedState !== null, o.mode & 1 ? (
|
|
4302
|
+
if (Le = u !== null && u.memoizedState !== null, o.mode & 1 ? (jr = (ye = jr) || Le, oo(a, o), jr = ye) : oo(a, o), Vo(o), g & 8192) {
|
|
4303
4303
|
if (ye = o.memoizedState !== null, (o.stateNode.isHidden = ye) && !Le && (o.mode & 1) !== 0) for (tt = o, Le = o.child; Le !== null; ) {
|
|
4304
4304
|
for (Ne = tt = Le; tt !== null; ) {
|
|
4305
4305
|
switch (Me = tt, Je = Me.child, Me.tag) {
|
|
@@ -4420,12 +4420,12 @@ Error generating stack: ` + E.message + `
|
|
|
4420
4420
|
if (k.tag === 22 && g) {
|
|
4421
4421
|
var L = k.memoizedState !== null || rf;
|
|
4422
4422
|
if (!L) {
|
|
4423
|
-
var q = k.alternate, ee = q !== null && q.memoizedState !== null ||
|
|
4423
|
+
var q = k.alternate, ee = q !== null && q.memoizedState !== null || jr;
|
|
4424
4424
|
q = rf;
|
|
4425
|
-
var ye =
|
|
4426
|
-
if (rf = L, (
|
|
4425
|
+
var ye = jr;
|
|
4426
|
+
if (rf = L, (jr = ee) && !ye) for (tt = k; tt !== null; ) L = tt, ee = L.child, L.tag === 22 && L.memoizedState !== null ? yb(k) : ee !== null ? (ee.return = L, tt = ee) : yb(k);
|
|
4427
4427
|
for (; E !== null; ) tt = E, mb(E), E = E.sibling;
|
|
4428
|
-
tt = k, rf = q,
|
|
4428
|
+
tt = k, rf = q, jr = ye;
|
|
4429
4429
|
}
|
|
4430
4430
|
gb(o);
|
|
4431
4431
|
} else (k.subtreeFlags & 8772) !== 0 && E !== null ? (E.return = k, tt = E) : gb(o);
|
|
@@ -4441,11 +4441,11 @@ Error generating stack: ` + E.message + `
|
|
|
4441
4441
|
case 0:
|
|
4442
4442
|
case 11:
|
|
4443
4443
|
case 15:
|
|
4444
|
-
|
|
4444
|
+
jr || of(5, a);
|
|
4445
4445
|
break;
|
|
4446
4446
|
case 1:
|
|
4447
4447
|
var g = a.stateNode;
|
|
4448
|
-
if (a.flags & 4 && !
|
|
4448
|
+
if (a.flags & 4 && !jr) if (u === null) g.componentDidMount();
|
|
4449
4449
|
else {
|
|
4450
4450
|
var k = a.elementType === a.type ? u.memoizedProps : ro(a.type, u.memoizedProps);
|
|
4451
4451
|
g.componentDidUpdate(k, u.memoizedState, g.__reactInternalSnapshotBeforeUpdate);
|
|
@@ -4511,7 +4511,7 @@ Error generating stack: ` + E.message + `
|
|
|
4511
4511
|
default:
|
|
4512
4512
|
throw Error(n(163));
|
|
4513
4513
|
}
|
|
4514
|
-
|
|
4514
|
+
jr || a.flags & 512 && Cm(a);
|
|
4515
4515
|
} catch (Me) {
|
|
4516
4516
|
jn(a, a.return, Me);
|
|
4517
4517
|
}
|
|
@@ -4597,21 +4597,21 @@ Error generating stack: ` + E.message + `
|
|
|
4597
4597
|
tt = a.return;
|
|
4598
4598
|
}
|
|
4599
4599
|
}
|
|
4600
|
-
var F_ = Math.ceil, sf = P.ReactCurrentDispatcher, _m = P.ReactCurrentOwner, Vi = P.ReactCurrentBatchConfig, Ht = 0, dr = null, Xn = null,
|
|
4600
|
+
var F_ = Math.ceil, sf = P.ReactCurrentDispatcher, _m = P.ReactCurrentOwner, Vi = P.ReactCurrentBatchConfig, Ht = 0, dr = null, Xn = null, Sr = 0, xi = 0, tc = $s(0), or = 0, lu = null, Ha = 0, af = 0, xm = 0, cu = null, di = null, Rm = 0, nc = 1 / 0, hs = null, lf = !1, Pm = null, Js = null, cf = !1, Zs = null, uf = 0, uu = 0, Im = null, df = -1, ff = 0;
|
|
4601
4601
|
function Xr() {
|
|
4602
4602
|
return (Ht & 6) !== 0 ? zt() : df !== -1 ? df : df = zt();
|
|
4603
4603
|
}
|
|
4604
4604
|
function Qs(o) {
|
|
4605
|
-
return (o.mode & 1) === 0 ? 1 : (Ht & 2) !== 0 &&
|
|
4605
|
+
return (o.mode & 1) === 0 ? 1 : (Ht & 2) !== 0 && Sr !== 0 ? Sr & -Sr : w_.transition !== null ? (ff === 0 && (ff = Fs()), ff) : (o = ae, o !== 0 || (o = window.event, o = o === void 0 ? 16 : Ea(o.type)), o);
|
|
4606
4606
|
}
|
|
4607
4607
|
function so(o, a, u, g) {
|
|
4608
4608
|
if (50 < uu) throw uu = 0, Im = null, Error(n(185));
|
|
4609
|
-
Gt(o, u, g), ((Ht & 2) === 0 || o !== dr) && (o === dr && ((Ht & 2) === 0 && (af |= u), or === 4 && ea(o,
|
|
4609
|
+
Gt(o, u, g), ((Ht & 2) === 0 || o !== dr) && (o === dr && ((Ht & 2) === 0 && (af |= u), or === 4 && ea(o, Sr)), fi(o, g), u === 1 && Ht === 0 && (a.mode & 1) === 0 && (nc = zt() + 500, jd && Gs()));
|
|
4610
4610
|
}
|
|
4611
4611
|
function fi(o, a) {
|
|
4612
4612
|
var u = o.callbackNode;
|
|
4613
4613
|
ki(o, a);
|
|
4614
|
-
var g = ft(o, o === dr ?
|
|
4614
|
+
var g = ft(o, o === dr ? Sr : 0);
|
|
4615
4615
|
if (g === 0) u !== null && vl(u), o.callbackNode = null, o.callbackPriority = 0;
|
|
4616
4616
|
else if (a = g & -g, o.callbackPriority !== a) {
|
|
4617
4617
|
if (u != null && vl(u), a === 1) o.tag === 0 ? b_(wb.bind(null, o)) : o0(wb.bind(null, o)), m_(function() {
|
|
@@ -4643,7 +4643,7 @@ Error generating stack: ` + E.message + `
|
|
|
4643
4643
|
if (df = -1, ff = 0, (Ht & 6) !== 0) throw Error(n(327));
|
|
4644
4644
|
var u = o.callbackNode;
|
|
4645
4645
|
if (rc() && o.callbackNode !== u) return null;
|
|
4646
|
-
var g = ft(o, o === dr ?
|
|
4646
|
+
var g = ft(o, o === dr ? Sr : 0);
|
|
4647
4647
|
if (g === 0) return null;
|
|
4648
4648
|
if ((g & 30) !== 0 || (g & o.expiredLanes) !== 0 || a) a = hf(o, g);
|
|
4649
4649
|
else {
|
|
@@ -4651,7 +4651,7 @@ Error generating stack: ` + E.message + `
|
|
|
4651
4651
|
var k = Ht;
|
|
4652
4652
|
Ht |= 2;
|
|
4653
4653
|
var E = Sb();
|
|
4654
|
-
(dr !== o ||
|
|
4654
|
+
(dr !== o || Sr !== a) && (hs = null, nc = zt() + 500, $a(o, a));
|
|
4655
4655
|
do
|
|
4656
4656
|
try {
|
|
4657
4657
|
B_();
|
|
@@ -4660,7 +4660,7 @@ Error generating stack: ` + E.message + `
|
|
|
4660
4660
|
kb(o, q);
|
|
4661
4661
|
}
|
|
4662
4662
|
while (!0);
|
|
4663
|
-
Kp(), sf.current = E, Ht = k, Xn !== null ? a = 0 : (dr = null,
|
|
4663
|
+
Kp(), sf.current = E, Ht = k, Xn !== null ? a = 0 : (dr = null, Sr = 0, a = or);
|
|
4664
4664
|
}
|
|
4665
4665
|
if (a !== 0) {
|
|
4666
4666
|
if (a === 2 && (k = Ns(o), k !== 0 && (g = k, a = Mm(o, k))), a === 1) throw u = lu, $a(o, 0), ea(o, g), fi(o, zt()), u;
|
|
@@ -4723,7 +4723,7 @@ Error generating stack: ` + E.message + `
|
|
|
4723
4723
|
var k = u[g], E = k.getSnapshot;
|
|
4724
4724
|
k = k.value;
|
|
4725
4725
|
try {
|
|
4726
|
-
if (!
|
|
4726
|
+
if (!Dr(E(), k)) return !1;
|
|
4727
4727
|
} catch {
|
|
4728
4728
|
return !1;
|
|
4729
4729
|
}
|
|
@@ -4794,7 +4794,7 @@ Error generating stack: ` + E.message + `
|
|
|
4794
4794
|
g = g.type.childContextTypes, g != null && Fd();
|
|
4795
4795
|
break;
|
|
4796
4796
|
case 3:
|
|
4797
|
-
Zl(), Sn(li), Sn(
|
|
4797
|
+
Zl(), Sn(li), Sn(Nr), nm();
|
|
4798
4798
|
break;
|
|
4799
4799
|
case 5:
|
|
4800
4800
|
em(g);
|
|
@@ -4817,7 +4817,7 @@ Error generating stack: ` + E.message + `
|
|
|
4817
4817
|
}
|
|
4818
4818
|
u = u.return;
|
|
4819
4819
|
}
|
|
4820
|
-
if (dr = o, Xn = o = ta(o.current, null),
|
|
4820
|
+
if (dr = o, Xn = o = ta(o.current, null), Sr = xi = a, or = 0, lu = null, xm = af = Ha = 0, di = cu = null, Ba !== null) {
|
|
4821
4821
|
for (a = 0; a < Ba.length; a++) if (u = Ba[a], g = u.interleaved, g !== null) {
|
|
4822
4822
|
u.interleaved = null;
|
|
4823
4823
|
var k = g.next, E = u.pending;
|
|
@@ -4848,7 +4848,7 @@ Error generating stack: ` + E.message + `
|
|
|
4848
4848
|
}
|
|
4849
4849
|
e: {
|
|
4850
4850
|
var E = o, L = u.return, q = u, ee = a;
|
|
4851
|
-
if (a =
|
|
4851
|
+
if (a = Sr, q.flags |= 32768, ee !== null && typeof ee == "object" && typeof ee.then == "function") {
|
|
4852
4852
|
var ye = ee, Le = q, Ne = Le.tag;
|
|
4853
4853
|
if ((Le.mode & 1) === 0 && (Ne === 0 || Ne === 11 || Ne === 15)) {
|
|
4854
4854
|
var Me = Le.alternate;
|
|
@@ -4911,13 +4911,13 @@ Error generating stack: ` + E.message + `
|
|
|
4911
4911
|
return sf.current = Qd, o === null ? Qd : o;
|
|
4912
4912
|
}
|
|
4913
4913
|
function Dm() {
|
|
4914
|
-
(or === 0 || or === 3 || or === 2) && (or = 4), dr === null || (Ha & 268435455) === 0 && (af & 268435455) === 0 || ea(dr,
|
|
4914
|
+
(or === 0 || or === 3 || or === 2) && (or = 4), dr === null || (Ha & 268435455) === 0 && (af & 268435455) === 0 || ea(dr, Sr);
|
|
4915
4915
|
}
|
|
4916
4916
|
function hf(o, a) {
|
|
4917
4917
|
var u = Ht;
|
|
4918
4918
|
Ht |= 2;
|
|
4919
4919
|
var g = Sb();
|
|
4920
|
-
(dr !== o ||
|
|
4920
|
+
(dr !== o || Sr !== a) && (hs = null, $a(o, a));
|
|
4921
4921
|
do
|
|
4922
4922
|
try {
|
|
4923
4923
|
j_();
|
|
@@ -4927,7 +4927,7 @@ Error generating stack: ` + E.message + `
|
|
|
4927
4927
|
}
|
|
4928
4928
|
while (!0);
|
|
4929
4929
|
if (Kp(), Ht = u, sf.current = g, Xn !== null) throw Error(n(261));
|
|
4930
|
-
return dr = null,
|
|
4930
|
+
return dr = null, Sr = 0, or;
|
|
4931
4931
|
}
|
|
4932
4932
|
function j_() {
|
|
4933
4933
|
for (; Xn !== null; ) Cb(Xn);
|
|
@@ -4987,7 +4987,7 @@ Error generating stack: ` + E.message + `
|
|
|
4987
4987
|
if (o.finishedWork = null, o.finishedLanes = 0, u === o.current) throw Error(n(177));
|
|
4988
4988
|
o.callbackNode = null, o.callbackPriority = 0;
|
|
4989
4989
|
var E = u.lanes | u.childLanes;
|
|
4990
|
-
if (Ve(o, E), o === dr && (Xn = dr = null,
|
|
4990
|
+
if (Ve(o, E), o === dr && (Xn = dr = null, Sr = 0), (u.subtreeFlags & 2064) === 0 && (u.flags & 2064) === 0 || cf || (cf = !0, Rb(Po, function() {
|
|
4991
4991
|
return rc(), null;
|
|
4992
4992
|
})), E = (u.flags & 15990) !== 0, (u.subtreeFlags & 15990) !== 0 || E) {
|
|
4993
4993
|
E = Vi.transition, Vi.transition = null;
|
|
@@ -5098,8 +5098,8 @@ Error generating stack: ` + E.message + `
|
|
|
5098
5098
|
tt = q.return;
|
|
5099
5099
|
}
|
|
5100
5100
|
}
|
|
5101
|
-
if (Ht = k, Gs(),
|
|
5102
|
-
|
|
5101
|
+
if (Ht = k, Gs(), wr && typeof wr.onPostCommitFiberRoot == "function") try {
|
|
5102
|
+
wr.onPostCommitFiberRoot(Ai, o);
|
|
5103
5103
|
} catch {
|
|
5104
5104
|
}
|
|
5105
5105
|
g = !0;
|
|
@@ -5132,7 +5132,7 @@ Error generating stack: ` + E.message + `
|
|
|
5132
5132
|
}
|
|
5133
5133
|
function z_(o, a, u) {
|
|
5134
5134
|
var g = o.pingCache;
|
|
5135
|
-
g !== null && g.delete(a), a = Xr(), o.pingedLanes |= o.suspendedLanes & u, dr === o && (
|
|
5135
|
+
g !== null && g.delete(a), a = Xr(), o.pingedLanes |= o.suspendedLanes & u, dr === o && (Sr & u) === u && (or === 4 || or === 3 && (Sr & 130023424) === Sr && 500 > zt() - Rm ? $a(o, 0) : xm |= u), fi(o, a);
|
|
5136
5136
|
}
|
|
5137
5137
|
function _b(o, a) {
|
|
5138
5138
|
a === 0 && ((o.mode & 1) === 0 ? a = 1 : (a = Zi, Zi <<= 1, (Zi & 130023424) === 0 && (Zi = 4194304)));
|
|
@@ -5170,7 +5170,7 @@ Error generating stack: ` + E.message + `
|
|
|
5170
5170
|
case 2:
|
|
5171
5171
|
var g = a.type;
|
|
5172
5172
|
nf(o, a), o = a.pendingProps;
|
|
5173
|
-
var k = $l(a,
|
|
5173
|
+
var k = $l(a, Nr.current);
|
|
5174
5174
|
Jl(a, u), k = om(null, a, g, o, k, u);
|
|
5175
5175
|
var E = sm();
|
|
5176
5176
|
return a.flags |= 1, typeof k == "object" && k !== null && typeof k.render == "function" && k.$$typeof === void 0 ? (a.tag = 1, a.memoizedState = null, a.updateQueue = null, ci(g) ? (E = !0, Ud(a)) : E = !1, a.memoizedState = k.state !== null && k.state !== void 0 ? k.state : null, Zp(a), k.updater = ef, a.stateNode = k, k._reactInternals = a, fm(a, g, o, u), a = gm(null, a, g, !0, E, u)) : (a.tag = 0, _n && E && zp(a), Yr(null, a, k, u), a = a.child), a;
|
|
@@ -5242,7 +5242,7 @@ Error generating stack: ` + E.message + `
|
|
|
5242
5242
|
return Yr(o, a, a.pendingProps.children, u), a.child;
|
|
5243
5243
|
case 10:
|
|
5244
5244
|
e: {
|
|
5245
|
-
if (g = a.type._context, k = a.pendingProps, E = a.memoizedProps, L = k.value, yn(Wd, g._currentValue), g._currentValue = L, E !== null) if (
|
|
5245
|
+
if (g = a.type._context, k = a.pendingProps, E = a.memoizedProps, L = k.value, yn(Wd, g._currentValue), g._currentValue = L, E !== null) if (Dr(E.value, L)) {
|
|
5246
5246
|
if (E.children === k.children && !li.current) {
|
|
5247
5247
|
a = fs(o, a, u);
|
|
5248
5248
|
break e;
|
|
@@ -5477,7 +5477,7 @@ Error generating stack: ` + E.message + `
|
|
|
5477
5477
|
var a = fn();
|
|
5478
5478
|
o = { blockedOn: null, target: o, priority: a };
|
|
5479
5479
|
for (var u = 0; u < Si.length && a !== 0 && a < Si[u].priority; u++) ;
|
|
5480
|
-
Si.splice(u, 0, o), u === 0 &&
|
|
5480
|
+
Si.splice(u, 0, o), u === 0 && Ar(o);
|
|
5481
5481
|
}
|
|
5482
5482
|
};
|
|
5483
5483
|
function zm(o) {
|
|
@@ -5601,7 +5601,7 @@ Error generating stack: ` + E.message + `
|
|
|
5601
5601
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
|
|
5602
5602
|
var kf = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
5603
5603
|
if (!kf.isDisabled && kf.supportsFiber) try {
|
|
5604
|
-
Ai = kf.inject(Z_),
|
|
5604
|
+
Ai = kf.inject(Z_), wr = kf;
|
|
5605
5605
|
} catch {
|
|
5606
5606
|
}
|
|
5607
5607
|
}
|
|
@@ -6066,7 +6066,7 @@ var Px = /* @__PURE__ */ ys(/* @__PURE__ */ Gk([], Rx, function(t, e) {
|
|
|
6066
6066
|
l = e[i], s = t(l), n.add(s) && r.push(l), i += 1;
|
|
6067
6067
|
return r;
|
|
6068
6068
|
})), Ix = /* @__PURE__ */ Px(Tx);
|
|
6069
|
-
const Mx = "1.2.7-alpha.
|
|
6069
|
+
const Mx = "1.2.7-alpha.2", Ax = {
|
|
6070
6070
|
version: Mx
|
|
6071
6071
|
};
|
|
6072
6072
|
/*! *****************************************************************************
|
|
@@ -6438,11 +6438,11 @@ var Ux = function() {
|
|
|
6438
6438
|
}, t;
|
|
6439
6439
|
})()
|
|
6440
6440
|
);
|
|
6441
|
-
const
|
|
6441
|
+
const Cr = [];
|
|
6442
6442
|
for (let t = 0; t < 256; ++t)
|
|
6443
|
-
|
|
6443
|
+
Cr.push((t + 256).toString(16).slice(1));
|
|
6444
6444
|
function Bx(t, e = 0) {
|
|
6445
|
-
return (
|
|
6445
|
+
return (Cr[t[e + 0]] + Cr[t[e + 1]] + Cr[t[e + 2]] + Cr[t[e + 3]] + "-" + Cr[t[e + 4]] + Cr[t[e + 5]] + "-" + Cr[t[e + 6]] + Cr[t[e + 7]] + "-" + Cr[t[e + 8]] + Cr[t[e + 9]] + "-" + Cr[t[e + 10]] + Cr[t[e + 11]] + Cr[t[e + 12]] + Cr[t[e + 13]] + Cr[t[e + 14]] + Cr[t[e + 15]]).toLowerCase();
|
|
6446
6446
|
}
|
|
6447
6447
|
const Vx = new Uint8Array(16);
|
|
6448
6448
|
function zx() {
|
|
@@ -6459,14 +6459,14 @@ function Hx(t, e, n) {
|
|
|
6459
6459
|
throw new Error("Random bytes length must be >= 16");
|
|
6460
6460
|
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, Bx(r);
|
|
6461
6461
|
}
|
|
6462
|
-
var Wx = "1.2.7-alpha.
|
|
6462
|
+
var Wx = "1.2.7-alpha.2", aa = {
|
|
6463
6463
|
version: Wx
|
|
6464
6464
|
};
|
|
6465
6465
|
const Ya = console;
|
|
6466
|
-
var
|
|
6466
|
+
var pr;
|
|
6467
6467
|
(function(t) {
|
|
6468
|
-
t.Http = "http", t.Https = "https", t.HttpsWithStreaming = "httpsWithStreaming", t.Websocket = "websocket";
|
|
6469
|
-
})(
|
|
6468
|
+
t.Http = "http", t.HttpWithStreaming = "httpWithStreaming", t.Https = "https", t.HttpsWithStreaming = "httpsWithStreaming", t.Websocket = "websocket";
|
|
6469
|
+
})(pr || (pr = {}));
|
|
6470
6470
|
var Bn;
|
|
6471
6471
|
(function(t) {
|
|
6472
6472
|
t.Application = "bot", t.User = "user", t.Failure = "failure";
|
|
@@ -6488,12 +6488,12 @@ const o1 = "NLX.Welcome", $x = "We encountered an issue. Please try again soon."
|
|
|
6488
6488
|
var e;
|
|
6489
6489
|
return ((e = t.match(/(bots\.dev\.studio\.nlx\.ai|bots\.studio\.nlx\.ai|apps\.nlx\.ai|dev\.apps\.nlx\.ai)/g)) == null ? void 0 : e[0]) ?? "apps.nlx.ai";
|
|
6490
6490
|
}, Zk = (t) => {
|
|
6491
|
-
var c, f;
|
|
6491
|
+
var c, f, d;
|
|
6492
6492
|
const e = t.applicationUrl ?? "", n = t.apiKey ?? ((c = t.headers) == null ? void 0 : c["nlx-api-key"]) ?? "", r = t.protocol ?? /**
|
|
6493
6493
|
* Backwards-compatibility: if a websocket URL was specified, assume it's websocket. Otherwise, look at the legacy experimental streamsetting
|
|
6494
6494
|
* and only assume non-streaming if it's explicitly set to false.
|
|
6495
6495
|
*/
|
|
6496
|
-
(Mu(e) ?
|
|
6496
|
+
(Mu(e) ? pr.Websocket : ((f = t.experimental) == null ? void 0 : f.streamHttp) === !1 ? pr.Https : pr.HttpsWithStreaming);
|
|
6497
6497
|
if (t.host != null && t.channelKey != null && t.deploymentKey != null)
|
|
6498
6498
|
return {
|
|
6499
6499
|
protocol: r,
|
|
@@ -6503,20 +6503,23 @@ const o1 = "NLX.Welcome", $x = "We encountered an issue. Please try again soon."
|
|
|
6503
6503
|
deploymentKey: t.deploymentKey
|
|
6504
6504
|
};
|
|
6505
6505
|
if (Mu(e)) {
|
|
6506
|
-
const
|
|
6507
|
-
return
|
|
6506
|
+
const p = qx(e), v = new URL(e), y = new URLSearchParams(v.search), T = y.get("channelKey"), x = y.get("deploymentKey");
|
|
6507
|
+
return T != null && x != null ? { protocol: r, channelKey: T, deploymentKey: x, host: p, apiKey: n } : null;
|
|
6508
6508
|
}
|
|
6509
6509
|
const i = new URL(e), s = i.host, l = new URLPattern({
|
|
6510
6510
|
pathname: "/c/:deploymentKey/:channelKey"
|
|
6511
6511
|
}).exec(e);
|
|
6512
6512
|
return (l == null ? void 0 : l.pathname.groups.channelKey) != null && (l == null ? void 0 : l.pathname.groups.deploymentKey) != null ? {
|
|
6513
|
-
protocol:
|
|
6513
|
+
protocol: (
|
|
6514
|
+
// Correction for the dev case
|
|
6515
|
+
i.protocol === "http:" ? ((d = t.experimental) == null ? void 0 : d.streamHttp) === !1 ? pr.Http : pr.HttpWithStreaming : r
|
|
6516
|
+
),
|
|
6514
6517
|
channelKey: l.pathname.groups.channelKey,
|
|
6515
6518
|
deploymentKey: l.pathname.groups.deploymentKey,
|
|
6516
6519
|
host: s,
|
|
6517
6520
|
apiKey: n
|
|
6518
6521
|
} : null;
|
|
6519
|
-
}, Gx = (t) => `wss://us-east-1-ws.${t.host}?deploymentKey=${t.deploymentKey}&channelKey=${t.channelKey}&apiKey=${t.apiKey}`, Kx = (t) => `${t.protocol ===
|
|
6522
|
+
}, Gx = (t) => `wss://us-east-1-ws.${t.host}?deploymentKey=${t.deploymentKey}&channelKey=${t.channelKey}&apiKey=${t.apiKey}`, Kx = (t) => `${t.protocol === pr.Http ? "http" : "https"}://${t.host}/c/${t.deploymentKey}/${t.channelKey}`, Mu = (t) => t.indexOf("wss://") === 0, Yx = async ({ fullApplicationUrl: t, apiKey: e, headers: n, body: r, stream: i, eventListeners: s }) => {
|
|
6520
6523
|
const l = async (c) => {
|
|
6521
6524
|
s.interimMessage.forEach((x) => {
|
|
6522
6525
|
x("Thinking...");
|
|
@@ -6614,7 +6617,7 @@ function Xx(t) {
|
|
|
6614
6617
|
let e, n = [], r = null, i, s = [], l = null;
|
|
6615
6618
|
const c = Zk(t), f = ((de = t.experimental) == null ? void 0 : de.completeApplicationUrl) === !0, d = f && Mu(t.applicationUrl ?? "") ? t.applicationUrl ?? "" : c != null ? Gx(c) : t.applicationUrl ?? "", p = f && !Mu(t.applicationUrl ?? "") ? t.applicationUrl ?? "" : c != null ? Kx(c) : t.applicationUrl ?? "";
|
|
6616
6619
|
/[-|_][a-z]{2,}[-|_][A-Z]{2,}$/.test(p) && Ya.warn("Since v1.0.0, the language code is no longer added at the end of the application URL. Please remove the modifier (e.g. '-en-US') from the URL, and specify it in the `languageCode` parameter instead.");
|
|
6617
|
-
const v = c != null ? c.protocol : Mu(t.applicationUrl ?? "") ?
|
|
6620
|
+
const v = c != null ? c.protocol : Mu(t.applicationUrl ?? "") ? pr.Websocket : ((V = t.experimental) == null ? void 0 : V.streamHttp) === !1 ? pr.Https : pr.HttpsWithStreaming, y = {
|
|
6618
6621
|
voicePlusCommand: [],
|
|
6619
6622
|
interimMessage: []
|
|
6620
6623
|
}, T = t.conversationId ?? i1();
|
|
@@ -6632,6 +6635,9 @@ function Xx(t) {
|
|
|
6632
6635
|
ie(a1(x), X);
|
|
6633
6636
|
});
|
|
6634
6637
|
}, O = () => {
|
|
6638
|
+
y.interimMessage.forEach((X) => {
|
|
6639
|
+
X(void 0);
|
|
6640
|
+
});
|
|
6635
6641
|
const G = {
|
|
6636
6642
|
type: Bn.Failure,
|
|
6637
6643
|
receivedAt: (/* @__PURE__ */ new Date()).getTime(),
|
|
@@ -6702,7 +6708,7 @@ function Xx(t) {
|
|
|
6702
6708
|
channelType: (ie = t.experimental) == null ? void 0 : ie.channelType,
|
|
6703
6709
|
environment: t.environment
|
|
6704
6710
|
};
|
|
6705
|
-
if (v ===
|
|
6711
|
+
if (v === pr.Websocket)
|
|
6706
6712
|
(e == null ? void 0 : e.readyState) === 1 ? e.send(JSON.stringify(X)) : n = [...n, X];
|
|
6707
6713
|
else
|
|
6708
6714
|
try {
|
|
@@ -6710,7 +6716,7 @@ function Xx(t) {
|
|
|
6710
6716
|
fullApplicationUrl: S(),
|
|
6711
6717
|
apiKey: (c == null ? void 0 : c.apiKey) ?? "",
|
|
6712
6718
|
headers: t.headers ?? {},
|
|
6713
|
-
stream: v ===
|
|
6719
|
+
stream: v === pr.HttpsWithStreaming || v === pr.HttpWithStreaming,
|
|
6714
6720
|
eventListeners: y,
|
|
6715
6721
|
body: X
|
|
6716
6722
|
});
|
|
@@ -6753,7 +6759,7 @@ function Xx(t) {
|
|
|
6753
6759
|
}, be = () => {
|
|
6754
6760
|
l != null && clearInterval(l), i != null && (i.onmessage = null, i.close(), i = void 0);
|
|
6755
6761
|
};
|
|
6756
|
-
v ===
|
|
6762
|
+
v === pr.Websocket && Y(), re();
|
|
6757
6763
|
const we = (G, X) => {
|
|
6758
6764
|
const ie = {
|
|
6759
6765
|
type: Bn.User,
|
|
@@ -6913,7 +6919,7 @@ function Xx(t) {
|
|
|
6913
6919
|
Ya.warn("Attempted to set language code to the one already active.");
|
|
6914
6920
|
return;
|
|
6915
6921
|
}
|
|
6916
|
-
(c == null ? void 0 : c.protocol) ===
|
|
6922
|
+
(c == null ? void 0 : c.protocol) === pr.Websocket && Y(), re(), R({ languageCode: G });
|
|
6917
6923
|
},
|
|
6918
6924
|
currentLanguageCode: () => x.languageCode,
|
|
6919
6925
|
getVoiceCredentials: async (G, X) => {
|
|
@@ -6956,10 +6962,10 @@ function Xx(t) {
|
|
|
6956
6962
|
R({
|
|
6957
6963
|
conversationId: i1(),
|
|
6958
6964
|
responses: (G == null ? void 0 : G.clearResponses) === !0 ? [] : x.responses
|
|
6959
|
-
}), (c == null ? void 0 : c.protocol) ===
|
|
6965
|
+
}), (c == null ? void 0 : c.protocol) === pr.Websocket && Y(), re();
|
|
6960
6966
|
},
|
|
6961
6967
|
destroy: () => {
|
|
6962
|
-
W = [], (c == null ? void 0 : c.protocol) ===
|
|
6968
|
+
W = [], (c == null ? void 0 : c.protocol) === pr.Websocket && te(), be();
|
|
6963
6969
|
},
|
|
6964
6970
|
setRequestOverride: (G) => {
|
|
6965
6971
|
A = G;
|
|
@@ -7141,7 +7147,7 @@ function nS(t, e) {
|
|
|
7141
7147
|
function v2() {
|
|
7142
7148
|
}
|
|
7143
7149
|
const So = Object.freeze({}), rS = "none", dh = "trigger-press", uo = "trigger-hover", Vf = "trigger-focus", y2 = "outside-press", Bv = "escape-key", b2 = "disabled", w2 = "imperative-action";
|
|
7144
|
-
function
|
|
7150
|
+
function gr(t, e, n, r) {
|
|
7145
7151
|
let i = !1, s = !1;
|
|
7146
7152
|
const l = So;
|
|
7147
7153
|
return {
|
|
@@ -7239,7 +7245,7 @@ function S2(t, e = {
|
|
|
7239
7245
|
}, l.current = r, c.current = {
|
|
7240
7246
|
open: 0,
|
|
7241
7247
|
close: uh(d.current, "close")
|
|
7242
|
-
}, R !== null && R !== r ? (x(!0), S == null || S.setIsInstantPhase(!0), S == null || S.onOpenChange(!1,
|
|
7248
|
+
}, R !== null && R !== r ? (x(!0), S == null || S.setIsInstantPhase(!0), S == null || S.onOpenChange(!1, gr(rS))) : (x(!1), S == null || S.setIsInstantPhase(!1));
|
|
7243
7249
|
}, [i, r, n, l, c, f, d, p, y]), bn(() => () => {
|
|
7244
7250
|
p.current = null;
|
|
7245
7251
|
}, [p]), $.useMemo(() => ({
|
|
@@ -7254,7 +7260,7 @@ function $h() {
|
|
|
7254
7260
|
function Oc(t) {
|
|
7255
7261
|
return Vv(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
7256
7262
|
}
|
|
7257
|
-
function
|
|
7263
|
+
function xr(t) {
|
|
7258
7264
|
var e;
|
|
7259
7265
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
7260
7266
|
}
|
|
@@ -7263,16 +7269,16 @@ function Qo(t) {
|
|
|
7263
7269
|
return (e = (Vv(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
7264
7270
|
}
|
|
7265
7271
|
function Vv(t) {
|
|
7266
|
-
return $h() ? t instanceof Node || t instanceof
|
|
7272
|
+
return $h() ? t instanceof Node || t instanceof xr(t).Node : !1;
|
|
7267
7273
|
}
|
|
7268
7274
|
function Ft(t) {
|
|
7269
|
-
return $h() ? t instanceof Element || t instanceof
|
|
7275
|
+
return $h() ? t instanceof Element || t instanceof xr(t).Element : !1;
|
|
7270
7276
|
}
|
|
7271
7277
|
function Ki(t) {
|
|
7272
|
-
return $h() ? t instanceof HTMLElement || t instanceof
|
|
7278
|
+
return $h() ? t instanceof HTMLElement || t instanceof xr(t).HTMLElement : !1;
|
|
7273
7279
|
}
|
|
7274
7280
|
function fh(t) {
|
|
7275
|
-
return !$h() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof
|
|
7281
|
+
return !$h() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof xr(t).ShadowRoot;
|
|
7276
7282
|
}
|
|
7277
7283
|
function ud(t) {
|
|
7278
7284
|
const {
|
|
@@ -7322,7 +7328,7 @@ function Ps(t) {
|
|
|
7322
7328
|
return /^(html|body|#document)$/.test(Oc(t));
|
|
7323
7329
|
}
|
|
7324
7330
|
function Gi(t) {
|
|
7325
|
-
return
|
|
7331
|
+
return xr(t).getComputedStyle(t);
|
|
7326
7332
|
}
|
|
7327
7333
|
function Kh(t) {
|
|
7328
7334
|
return Ft(t) ? {
|
|
@@ -7352,7 +7358,7 @@ function oS(t) {
|
|
|
7352
7358
|
function Hu(t, e, n) {
|
|
7353
7359
|
var r;
|
|
7354
7360
|
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
7355
|
-
const i = oS(t), s = i === ((r = t.ownerDocument) == null ? void 0 : r.body), l =
|
|
7361
|
+
const i = oS(t), s = i === ((r = t.ownerDocument) == null ? void 0 : r.body), l = xr(i);
|
|
7356
7362
|
if (s) {
|
|
7357
7363
|
const c = zg(l);
|
|
7358
7364
|
return e.concat(l, l.visualViewport || [], ud(i) ? i : [], c && n ? Hu(c) : []);
|
|
@@ -8040,7 +8046,7 @@ function SR(t, e = {}) {
|
|
|
8040
8046
|
}), O = ch(v) ? i : r, B = $.useCallback(() => {
|
|
8041
8047
|
if (!O || !c)
|
|
8042
8048
|
return;
|
|
8043
|
-
const P =
|
|
8049
|
+
const P = xr(i);
|
|
8044
8050
|
function N(U) {
|
|
8045
8051
|
var Z;
|
|
8046
8052
|
const W = ua(U);
|
|
@@ -8119,7 +8125,7 @@ function _R(t, e = {}) {
|
|
|
8119
8125
|
}), !Ge)
|
|
8120
8126
|
return;
|
|
8121
8127
|
}
|
|
8122
|
-
const ie = p2(V) ? V.nativeEvent : V, Te =
|
|
8128
|
+
const ie = p2(V) ? V.nativeEvent : V, Te = gr(Bv, ie);
|
|
8123
8129
|
n.setOpen(!1, Te), !U && !Te.isPropagationAllowed && V.stopPropagation();
|
|
8124
8130
|
}), ke = dn(() => {
|
|
8125
8131
|
s.current.insideReactTree = !0, Y.start(0, re);
|
|
@@ -8213,7 +8219,7 @@ function _R(t, e = {}) {
|
|
|
8213
8219
|
}), !qe)
|
|
8214
8220
|
return;
|
|
8215
8221
|
}
|
|
8216
|
-
n.setOpen(!1,
|
|
8222
|
+
n.setOpen(!1, gr(y2, De)), re();
|
|
8217
8223
|
}
|
|
8218
8224
|
function ut(De) {
|
|
8219
8225
|
Ge() !== "sloppy" || De.pointerType === "touch" || !n.select("open") || !l || ao(De, n.select("floatingElement")) || ao(De, n.select("domReferenceElement")) || rt(De);
|
|
@@ -8292,11 +8298,11 @@ function _R(t, e = {}) {
|
|
|
8292
8298
|
const xe = $.useMemo(() => ({
|
|
8293
8299
|
onKeyDown: fe,
|
|
8294
8300
|
[CR[v]]: (V) => {
|
|
8295
|
-
we() && n.setOpen(!1,
|
|
8301
|
+
we() && n.setOpen(!1, gr(dh, V.nativeEvent));
|
|
8296
8302
|
},
|
|
8297
8303
|
...v !== "intentional" && {
|
|
8298
8304
|
onClick(V) {
|
|
8299
|
-
we() && n.setOpen(!1,
|
|
8305
|
+
we() && n.setOpen(!1, gr(dh, V.nativeEvent));
|
|
8300
8306
|
}
|
|
8301
8307
|
}
|
|
8302
8308
|
}), [fe, n, v, we]), se = dn((V) => {
|
|
@@ -8842,14 +8848,14 @@ function fc(t) {
|
|
|
8842
8848
|
}
|
|
8843
8849
|
const FR = /* @__PURE__ */ Ko(0);
|
|
8844
8850
|
function CS(t) {
|
|
8845
|
-
const e =
|
|
8851
|
+
const e = xr(t);
|
|
8846
8852
|
return !Gh() || !e.visualViewport ? FR : {
|
|
8847
8853
|
x: e.visualViewport.offsetLeft,
|
|
8848
8854
|
y: e.visualViewport.offsetTop
|
|
8849
8855
|
};
|
|
8850
8856
|
}
|
|
8851
8857
|
function UR(t, e, n) {
|
|
8852
|
-
return e === void 0 && (e = !1), !n || e && n !==
|
|
8858
|
+
return e === void 0 && (e = !1), !n || e && n !== xr(t) ? !1 : e;
|
|
8853
8859
|
}
|
|
8854
8860
|
function dl(t, e, n, r) {
|
|
8855
8861
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
@@ -8859,11 +8865,11 @@ function dl(t, e, n, r) {
|
|
|
8859
8865
|
const c = UR(s, n, r) ? CS(s) : Ko(0);
|
|
8860
8866
|
let f = (i.left + c.x) / l.x, d = (i.top + c.y) / l.y, p = i.width / l.x, v = i.height / l.y;
|
|
8861
8867
|
if (s) {
|
|
8862
|
-
const y =
|
|
8868
|
+
const y = xr(s), T = r && Ft(r) ? xr(r) : r;
|
|
8863
8869
|
let x = y, S = zg(x);
|
|
8864
8870
|
for (; S && r && T !== x; ) {
|
|
8865
8871
|
const R = fc(S), O = S.getBoundingClientRect(), B = Gi(S), A = O.left + (S.clientLeft + parseFloat(B.paddingLeft)) * R.x, P = O.top + (S.clientTop + parseFloat(B.paddingTop)) * R.y;
|
|
8866
|
-
f *= R.x, d *= R.y, p *= R.x, v *= R.y, f += A, d += P, x =
|
|
8872
|
+
f *= R.x, d *= R.y, p *= R.x, v *= R.y, f += A, d += P, x = xr(S), S = zg(x);
|
|
8867
8873
|
}
|
|
8868
8874
|
}
|
|
8869
8875
|
return gh({
|
|
@@ -8927,7 +8933,7 @@ function VR(t) {
|
|
|
8927
8933
|
}
|
|
8928
8934
|
const S1 = 25;
|
|
8929
8935
|
function zR(t, e) {
|
|
8930
|
-
const n =
|
|
8936
|
+
const n = xr(t), r = Qo(t), i = n.visualViewport;
|
|
8931
8937
|
let s = r.clientWidth, l = r.clientHeight, c = 0, f = 0;
|
|
8932
8938
|
if (i) {
|
|
8933
8939
|
s = i.width, l = i.height;
|
|
@@ -9057,7 +9063,7 @@ function T1(t, e) {
|
|
|
9057
9063
|
return Qo(t) === n && (n = n.ownerDocument.body), n;
|
|
9058
9064
|
}
|
|
9059
9065
|
function _S(t, e) {
|
|
9060
|
-
const n =
|
|
9066
|
+
const n = xr(t);
|
|
9061
9067
|
if (qh(t))
|
|
9062
9068
|
return n;
|
|
9063
9069
|
if (!Ki(t)) {
|
|
@@ -10295,7 +10301,7 @@ function BP(t, e = {}) {
|
|
|
10295
10301
|
const y = n.select("domReferenceElement");
|
|
10296
10302
|
if (!s)
|
|
10297
10303
|
return;
|
|
10298
|
-
const T =
|
|
10304
|
+
const T = xr(y);
|
|
10299
10305
|
function x() {
|
|
10300
10306
|
const O = n.select("domReferenceElement");
|
|
10301
10307
|
!n.select("open") && Ki(O) && O === f1(Xo(O)) && (c.current = !0);
|
|
@@ -10344,11 +10350,11 @@ function BP(t, e = {}) {
|
|
|
10344
10350
|
currentTarget: O
|
|
10345
10351
|
} = y, B = typeof l == "function" ? l() : l;
|
|
10346
10352
|
if (n.select("open") && S || B === 0 || B === void 0) {
|
|
10347
|
-
n.setOpen(!0,
|
|
10353
|
+
n.setOpen(!0, gr(Vf, R, O));
|
|
10348
10354
|
return;
|
|
10349
10355
|
}
|
|
10350
10356
|
d.start(B, () => {
|
|
10351
|
-
c.current || n.setOpen(!0,
|
|
10357
|
+
c.current || n.setOpen(!0, gr(Vf, R, O));
|
|
10352
10358
|
});
|
|
10353
10359
|
},
|
|
10354
10360
|
onBlur(y) {
|
|
@@ -10357,7 +10363,7 @@ function BP(t, e = {}) {
|
|
|
10357
10363
|
d.start(0, () => {
|
|
10358
10364
|
var A;
|
|
10359
10365
|
const R = n.select("domReferenceElement"), O = f1(Xo(R));
|
|
10360
|
-
!T && O === R || ar((A = i.current.floatingContext) == null ? void 0 : A.refs.floating.current, O) || ar(R, O) || S || hh(T ?? O, n.context.triggerElements) || n.setOpen(!1,
|
|
10366
|
+
!T && O === R || ar((A = i.current.floatingContext) == null ? void 0 : A.refs.floating.current, O) || ar(R, O) || S || hh(T ?? O, n.context.triggerElements) || n.setOpen(!1, gr(Vf, x));
|
|
10361
10367
|
});
|
|
10362
10368
|
}
|
|
10363
10369
|
}), [i, n, d, l]);
|
|
@@ -10414,7 +10420,7 @@ function VP(t, e = {}) {
|
|
|
10414
10420
|
return (P == null ? void 0 : P.includes("mouse")) && P !== "mousedown";
|
|
10415
10421
|
}), S = dn((P) => hh(P, n.context.triggerElements)), R = $.useCallback((P) => {
|
|
10416
10422
|
const N = uh(f, "close", p.pointerType), U = () => {
|
|
10417
|
-
n.setOpen(!1,
|
|
10423
|
+
n.setOpen(!1, gr(uo, P)), v == null || v.events.emit("floating.closed", P);
|
|
10418
10424
|
};
|
|
10419
10425
|
N ? p.openChangeTimeout.start(N, U) : (p.openChangeTimeout.clear(), U());
|
|
10420
10426
|
}, [f, n, p, v]), O = dn(() => {
|
|
@@ -10473,7 +10479,7 @@ function VP(t, e = {}) {
|
|
|
10473
10479
|
}
|
|
10474
10480
|
function U(Z) {
|
|
10475
10481
|
!v || !y || da(v.nodesRef.current, y).length > 0 || A.start(0, () => {
|
|
10476
|
-
v.events.off("floating.closed", U), n.setOpen(!1,
|
|
10482
|
+
v.events.off("floating.closed", U), n.setOpen(!1, gr(uo, Z)), v.events.emit("floating.closed", Z);
|
|
10477
10483
|
});
|
|
10478
10484
|
}
|
|
10479
10485
|
const W = i;
|
|
@@ -10518,8 +10524,8 @@ function HP(t, e = {}) {
|
|
|
10518
10524
|
}), re = dn((fe, ke = !0) => {
|
|
10519
10525
|
const xe = uh(P.current, "close", O.pointerType);
|
|
10520
10526
|
xe ? O.openChangeTimeout.start(xe, () => {
|
|
10521
|
-
n.setOpen(!1,
|
|
10522
|
-
}) : ke && (O.openChangeTimeout.clear(), n.setOpen(!1,
|
|
10527
|
+
n.setOpen(!1, gr(uo, fe)), R == null || R.events.emit("floating.closed", fe);
|
|
10528
|
+
}) : ke && (O.openChangeTimeout.clear(), n.setOpen(!1, gr(uo, fe)), R == null || R.events.emit("floating.closed", fe));
|
|
10523
10529
|
}), te = dn(() => {
|
|
10524
10530
|
if (!O.handler)
|
|
10525
10531
|
return;
|
|
@@ -10558,12 +10564,12 @@ function HP(t, e = {}) {
|
|
|
10558
10564
|
Ft(G) && Ft(X) && !n.context.triggerElements.hasElement(G) && ar(G, X) && (ie = X);
|
|
10559
10565
|
const Te = ie == null ? !1 : Y(X, ie, V), Ee = n.select("open"), Ge = ((bt = W.current) == null ? void 0 : bt.call(W)) ?? n.select("transitionStatus") === "ending", je = !Ee && Ge && B.current, Xe = !Te && Ft(ie) && Ft(X) && ar(X, ie) && je, rt = ce > 0 && !de, ut = Te && (Ee || je) || Xe, an = !Ee || Te;
|
|
10560
10566
|
if (ut) {
|
|
10561
|
-
n.setOpen(!0,
|
|
10567
|
+
n.setOpen(!0, gr(uo, se, ie));
|
|
10562
10568
|
return;
|
|
10563
10569
|
}
|
|
10564
10570
|
rt || (de ? O.openChangeTimeout.start(de, () => {
|
|
10565
|
-
an && n.setOpen(!0,
|
|
10566
|
-
}) : an && n.setOpen(!0,
|
|
10571
|
+
an && n.setOpen(!0, gr(uo, se, ie));
|
|
10572
|
+
}) : an && n.setOpen(!0, gr(uo, se, ie)));
|
|
10567
10573
|
}
|
|
10568
10574
|
function xe(se) {
|
|
10569
10575
|
if (Z()) {
|
|
@@ -10630,7 +10636,7 @@ function HP(t, e = {}) {
|
|
|
10630
10636
|
if (O.restTimeoutPending = !1, Z())
|
|
10631
10637
|
return;
|
|
10632
10638
|
const Ge = n.select("open");
|
|
10633
|
-
!O.blockMouseMove && (!Ge || V) && n.setOpen(!0,
|
|
10639
|
+
!O.blockMouseMove && (!Ge || V) && n.setOpen(!0, gr(uo, xe, se));
|
|
10634
10640
|
}
|
|
10635
10641
|
O.pointerType === "touch" ? Lc.flushSync(() => {
|
|
10636
10642
|
X();
|
|
@@ -10909,7 +10915,7 @@ const XP = eS(function(e) {
|
|
|
10909
10915
|
trackCursorAxis: l,
|
|
10910
10916
|
disableHoverablePopup: s
|
|
10911
10917
|
}), bn(() => {
|
|
10912
|
-
S && n && x.setOpen(!1,
|
|
10918
|
+
S && n && x.setOpen(!1, gr(b2));
|
|
10913
10919
|
}, [S, n, x]), x.useSyncedValue("disabled", n), AP(x);
|
|
10914
10920
|
const {
|
|
10915
10921
|
forceUnmount: A,
|
|
@@ -10921,7 +10927,7 @@ const XP = eS(function(e) {
|
|
|
10921
10927
|
R && O == null && x.set("payload", void 0);
|
|
10922
10928
|
}, [x, O, R]);
|
|
10923
10929
|
const Y = $.useCallback(() => {
|
|
10924
|
-
x.setOpen(!1,
|
|
10930
|
+
x.setOpen(!1, gr(w2));
|
|
10925
10931
|
}, [x]);
|
|
10926
10932
|
$.useImperativeHandle(c, () => ({
|
|
10927
10933
|
unmount: A,
|
|
@@ -11180,7 +11186,7 @@ const hI = (t) => ({
|
|
|
11180
11186
|
platform: s,
|
|
11181
11187
|
strategy: l,
|
|
11182
11188
|
placement: c
|
|
11183
|
-
} = t, f =
|
|
11189
|
+
} = t, f = xr(i), d = f.getComputedStyle(i);
|
|
11184
11190
|
if (!(d.transitionDuration !== "0s" && d.transitionDuration !== ""))
|
|
11185
11191
|
return {
|
|
11186
11192
|
x: e,
|
|
@@ -11357,7 +11363,7 @@ function vI(t) {
|
|
|
11357
11363
|
return;
|
|
11358
11364
|
const nn = wt.style;
|
|
11359
11365
|
nn.setProperty("--available-width", `${Pt}px`), nn.setProperty("--available-height", `${Bt}px`);
|
|
11360
|
-
const rn =
|
|
11366
|
+
const rn = xr(wt).devicePixelRatio || 1, {
|
|
11361
11367
|
x: st,
|
|
11362
11368
|
y: on,
|
|
11363
11369
|
width: Kt,
|
|
@@ -11381,11 +11387,11 @@ function vI(t) {
|
|
|
11381
11387
|
placement: Ut,
|
|
11382
11388
|
rects: nn,
|
|
11383
11389
|
y: rn
|
|
11384
|
-
} = wt, st = vi(Ut), on = qi(st), Kt = Ee.current, kt = ((Fn = Bt.arrow) == null ? void 0 : Fn.x) || 0, In = ((xo = Bt.arrow) == null ? void 0 : xo.y) || 0, lr = (Kt == null ? void 0 : Kt.clientWidth) || 0,
|
|
11385
|
-
top: `${Mi}px calc(100% + ${
|
|
11386
|
-
bottom: `${Mi}px ${-
|
|
11387
|
-
left: `calc(100% + ${
|
|
11388
|
-
right: `${-
|
|
11390
|
+
} = wt, st = vi(Ut), on = qi(st), Kt = Ee.current, kt = ((Fn = Bt.arrow) == null ? void 0 : Fn.x) || 0, In = ((xo = Bt.arrow) == null ? void 0 : xo.y) || 0, lr = (Kt == null ? void 0 : Kt.clientWidth) || 0, Ir = (Kt == null ? void 0 : Kt.clientHeight) || 0, Mi = kt + lr / 2, Ke = In + Ir / 2, oi = Math.abs(((Ji = Bt.shift) == null ? void 0 : Ji.y) || 0), _o = nn.reference.height / 2, br = typeof i == "function" ? i(O1(wt, r, ke)) : i, bi = oi > br, Os = {
|
|
11391
|
+
top: `${Mi}px calc(100% + ${br}px)`,
|
|
11392
|
+
bottom: `${Mi}px ${-br}px`,
|
|
11393
|
+
left: `calc(100% + ${br}px) ${Ke}px`,
|
|
11394
|
+
right: `${-br}px ${Ke}px`
|
|
11389
11395
|
}[st], sn = `${Mi}px ${nn.reference.y + _o - rn}px`;
|
|
11390
11396
|
return Pt.floating.style.setProperty("--transform-origin", bt && on === "y" && bi ? sn : Os), {};
|
|
11391
11397
|
}
|
|
@@ -12469,7 +12475,7 @@ var dM = Object.defineProperty, fM = (t, e, n) => e in t ? dM(t, e, {
|
|
|
12469
12475
|
writable: !0,
|
|
12470
12476
|
value: n
|
|
12471
12477
|
}) : t[e] = n, N1 = (t, e, n) => fM(t, typeof e != "symbol" ? e + "" : e, n);
|
|
12472
|
-
class
|
|
12478
|
+
class Rr {
|
|
12473
12479
|
constructor() {
|
|
12474
12480
|
N1(this, "_locking"), N1(this, "_locks"), this._locking = Promise.resolve(), this._locks = 0;
|
|
12475
12481
|
}
|
|
@@ -14777,7 +14783,7 @@ const nA = /* @__PURE__ */ ue.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
14777
14783
|
}, {
|
|
14778
14784
|
no: 2,
|
|
14779
14785
|
name: "SE_TRACK_NOTFOUND"
|
|
14780
|
-
}]),
|
|
14786
|
+
}]), mr = /* @__PURE__ */ ue.makeEnum("livekit.AudioTrackFeature", [{
|
|
14781
14787
|
no: 0,
|
|
14782
14788
|
name: "TF_STEREO"
|
|
14783
14789
|
}, {
|
|
@@ -15267,7 +15273,7 @@ const nA = /* @__PURE__ */ ue.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
15267
15273
|
no: 19,
|
|
15268
15274
|
name: "audio_features",
|
|
15269
15275
|
kind: "enum",
|
|
15270
|
-
T: ue.getEnumType(
|
|
15276
|
+
T: ue.getEnumType(mr),
|
|
15271
15277
|
repeated: !0
|
|
15272
15278
|
}, {
|
|
15273
15279
|
no: 20,
|
|
@@ -16657,7 +16663,7 @@ const nA = /* @__PURE__ */ ue.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
16657
16663
|
no: 17,
|
|
16658
16664
|
name: "audio_features",
|
|
16659
16665
|
kind: "enum",
|
|
16660
|
-
T: ue.getEnumType(
|
|
16666
|
+
T: ue.getEnumType(mr),
|
|
16661
16667
|
repeated: !0
|
|
16662
16668
|
}, {
|
|
16663
16669
|
no: 18,
|
|
@@ -17009,7 +17015,7 @@ const nA = /* @__PURE__ */ ue.makeMessageType("livekit.MetricsBatch", () => [{
|
|
|
17009
17015
|
no: 2,
|
|
17010
17016
|
name: "features",
|
|
17011
17017
|
kind: "enum",
|
|
17012
|
-
T: ue.getEnumType(
|
|
17018
|
+
T: ue.getEnumType(mr),
|
|
17013
17019
|
repeated: !0
|
|
17014
17020
|
}]), iT = /* @__PURE__ */ ue.makeMessageType("livekit.UpdateLocalVideoTrack", () => [{
|
|
17015
17021
|
no: 1,
|
|
@@ -17855,12 +17861,12 @@ var dp = GA(), ev;
|
|
|
17855
17861
|
(function(t) {
|
|
17856
17862
|
t[t.trace = 0] = "trace", t[t.debug = 1] = "debug", t[t.info = 2] = "info", t[t.warn = 3] = "warn", t[t.error = 4] = "error", t[t.silent = 5] = "silent";
|
|
17857
17863
|
})(ev || (ev = {}));
|
|
17858
|
-
var
|
|
17864
|
+
var yr;
|
|
17859
17865
|
(function(t) {
|
|
17860
17866
|
t.Default = "livekit", t.Room = "livekit-room", t.TokenSource = "livekit-token-source", t.Participant = "livekit-participant", t.Track = "livekit-track", t.Publication = "livekit-track-publication", t.Engine = "livekit-engine", t.Signal = "livekit-signal", t.PCManager = "livekit-pc-manager", t.PCTransport = "livekit-pc-transport", t.E2EE = "lk-e2ee", t.DataTracks = "livekit-data-tracks";
|
|
17861
|
-
})(
|
|
17862
|
-
let It = dp.getLogger(
|
|
17863
|
-
Object.values(
|
|
17867
|
+
})(yr || (yr = {}));
|
|
17868
|
+
let It = dp.getLogger(yr.Default);
|
|
17869
|
+
Object.values(yr).map((t) => dp.getLogger(t));
|
|
17864
17870
|
It.setDefaultLevel(ev.info);
|
|
17865
17871
|
function yi(t, e) {
|
|
17866
17872
|
const n = dp.getLogger(t);
|
|
@@ -17873,7 +17879,7 @@ function KA(t, e) {
|
|
|
17873
17879
|
}, r = Object.create(t);
|
|
17874
17880
|
return r.trace = n("trace"), r.debug = n("debug"), r.info = n("info"), r.warn = n("warn"), r.error = n("error"), r;
|
|
17875
17881
|
}
|
|
17876
|
-
const YA = dp.getLogger(
|
|
17882
|
+
const YA = dp.getLogger(yr.E2EE), vu = 7e3, XA = [0, 300, 4 * 300, 9 * 300, 16 * 300, vu, vu, vu, vu, vu];
|
|
17877
17883
|
class JA {
|
|
17878
17884
|
constructor(e) {
|
|
17879
17885
|
this._retryDelays = e !== void 0 ? [...e] : XA;
|
|
@@ -20221,7 +20227,7 @@ class _e extends Yi.EventEmitter {
|
|
|
20221
20227
|
var i;
|
|
20222
20228
|
super(), this.attachedElements = [], this.isMuted = !1, this._streamState = _e.StreamState.Active, this.isInBackground = !1, this._currentBitrate = 0, this.log = It, this.appVisibilityChangedListener = () => {
|
|
20223
20229
|
this.backgroundTimeout && clearTimeout(this.backgroundTimeout), document.visibilityState === "hidden" ? this.backgroundTimeout = setTimeout(() => this.handleAppVisibilityChanged(), xO) : this.handleAppVisibilityChanged();
|
|
20224
|
-
}, this.log = yi((i = r.loggerName) !== null && i !== void 0 ? i :
|
|
20230
|
+
}, this.log = yi((i = r.loggerName) !== null && i !== void 0 ? i : yr.Track), this.loggerContextCb = r.loggerContextCb, this.setMaxListeners(100), this.kind = n, this._mediaStreamTrack = e, this._mediaStreamID = e.id, this.source = _e.Source.Unknown;
|
|
20225
20231
|
}
|
|
20226
20232
|
get logContext() {
|
|
20227
20233
|
var e;
|
|
@@ -20583,7 +20589,7 @@ function gg() {
|
|
|
20583
20589
|
}
|
|
20584
20590
|
return bu.clone();
|
|
20585
20591
|
}
|
|
20586
|
-
class
|
|
20592
|
+
class Er {
|
|
20587
20593
|
get isResolved() {
|
|
20588
20594
|
return this._isResolved;
|
|
20589
20595
|
}
|
|
@@ -21013,7 +21019,7 @@ class rL extends Yi.EventEmitter {
|
|
|
21013
21019
|
payload: e,
|
|
21014
21020
|
participantIdentity: this.room.localParticipant.identity
|
|
21015
21021
|
}
|
|
21016
|
-
}, i = new
|
|
21022
|
+
}, i = new Er();
|
|
21017
21023
|
return i.onFinally = () => {
|
|
21018
21024
|
this.encryptDataRequests.delete(n);
|
|
21019
21025
|
}, this.encryptDataRequests.set(n, i), this.worker.postMessage(r), i.promise;
|
|
@@ -21031,7 +21037,7 @@ class rL extends Yi.EventEmitter {
|
|
|
21031
21037
|
participantIdentity: r,
|
|
21032
21038
|
keyIndex: i
|
|
21033
21039
|
}
|
|
21034
|
-
}, c = new
|
|
21040
|
+
}, c = new Er();
|
|
21035
21041
|
return c.onFinally = () => {
|
|
21036
21042
|
this.decryptDataRequests.delete(s);
|
|
21037
21043
|
}, this.decryptDataRequests.set(s, c), this.worker.postMessage(l), c.promise;
|
|
@@ -21246,12 +21252,12 @@ class yc {
|
|
|
21246
21252
|
}
|
|
21247
21253
|
yc._instance = null;
|
|
21248
21254
|
const yg = "default";
|
|
21249
|
-
class
|
|
21255
|
+
class vr {
|
|
21250
21256
|
constructor() {
|
|
21251
21257
|
this._previousDevices = [];
|
|
21252
21258
|
}
|
|
21253
21259
|
static getInstance() {
|
|
21254
|
-
return this.instance === void 0 && (this.instance = new
|
|
21260
|
+
return this.instance === void 0 && (this.instance = new vr()), this.instance;
|
|
21255
21261
|
}
|
|
21256
21262
|
get previousDevices() {
|
|
21257
21263
|
return this._previousDevices;
|
|
@@ -21262,10 +21268,10 @@ class gr {
|
|
|
21262
21268
|
let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
21263
21269
|
return (function* () {
|
|
21264
21270
|
var s;
|
|
21265
|
-
if (((s =
|
|
21271
|
+
if (((s = vr.userMediaPromiseMap) === null || s === void 0 ? void 0 : s.size) > 0) {
|
|
21266
21272
|
It.debug("awaiting getUserMedia promise");
|
|
21267
21273
|
try {
|
|
21268
|
-
n ? yield
|
|
21274
|
+
n ? yield vr.userMediaPromiseMap.get(n) : yield Promise.all(vr.userMediaPromiseMap.values());
|
|
21269
21275
|
} catch {
|
|
21270
21276
|
It.warn("error waiting for media permissons");
|
|
21271
21277
|
}
|
|
@@ -21310,11 +21316,11 @@ class gr {
|
|
|
21310
21316
|
});
|
|
21311
21317
|
}
|
|
21312
21318
|
hasDeviceInUse(e) {
|
|
21313
|
-
return e ?
|
|
21319
|
+
return e ? vr.userMediaPromiseMap.has(e) : vr.userMediaPromiseMap.size > 0;
|
|
21314
21320
|
}
|
|
21315
21321
|
}
|
|
21316
|
-
|
|
21317
|
-
|
|
21322
|
+
vr.mediaDeviceKinds = ["audioinput", "audiooutput", "videoinput"];
|
|
21323
|
+
vr.userMediaPromiseMap = /* @__PURE__ */ new Map();
|
|
21318
21324
|
const _y = 65535, tE = 4294967295;
|
|
21319
21325
|
class To {
|
|
21320
21326
|
static u16(e) {
|
|
@@ -21494,7 +21500,7 @@ var Du;
|
|
|
21494
21500
|
})(Du || (Du = {}));
|
|
21495
21501
|
class lL {
|
|
21496
21502
|
constructor() {
|
|
21497
|
-
this.pendingTasks = /* @__PURE__ */ new Map(), this.taskMutex = new
|
|
21503
|
+
this.pendingTasks = /* @__PURE__ */ new Map(), this.taskMutex = new Rr(), this.nextTaskIndex = 0;
|
|
21498
21504
|
}
|
|
21499
21505
|
run(e) {
|
|
21500
21506
|
return H(this, void 0, void 0, function* () {
|
|
@@ -21626,7 +21632,7 @@ class Ry {
|
|
|
21626
21632
|
var r;
|
|
21627
21633
|
this.rtt = 0, this.state = pn.DISCONNECTED, this.log = It, this._requestId = 0, this.useV0SignalPath = !1, this.resetCallbacks = () => {
|
|
21628
21634
|
this.onAnswer = void 0, this.onLeave = void 0, this.onLocalTrackPublished = void 0, this.onLocalTrackUnpublished = void 0, this.onNegotiateRequested = void 0, this.onOffer = void 0, this.onRemoteMuteChanged = void 0, this.onSubscribedQualityUpdate = void 0, this.onTokenRefresh = void 0, this.onTrickle = void 0, this.onClose = void 0, this.onMediaSectionsRequirement = void 0;
|
|
21629
|
-
}, this.loggerContextCb = n.loggerContextCb, this.log = yi((r = n.loggerName) !== null && r !== void 0 ? r :
|
|
21635
|
+
}, this.loggerContextCb = n.loggerContextCb, this.log = yi((r = n.loggerName) !== null && r !== void 0 ? r : yr.Signal, () => this.logContext), this.useJSON = e, this.requestQueue = new lL(), this.queuedRequests = [], this.closingLock = new Rr(), this.connectionLock = new Rr(), this.state = pn.DISCONNECTED;
|
|
21630
21636
|
}
|
|
21631
21637
|
get logContext() {
|
|
21632
21638
|
var e, n;
|
|
@@ -22960,7 +22966,7 @@ class Pw extends Yi.EventEmitter {
|
|
|
22960
22966
|
}
|
|
22961
22967
|
}), wL), this.close = () => {
|
|
22962
22968
|
this._pc && (this.pendingInitialOffer = void 0, this._pc.close(), this._pc.onconnectionstatechange = null, this._pc.oniceconnectionstatechange = null, this._pc.onicegatheringstatechange = null, this._pc.ondatachannel = null, this._pc.onnegotiationneeded = null, this._pc.onsignalingstatechange = null, this._pc.onicecandidate = null, this._pc.ondatachannel = null, this._pc.ontrack = null, this._pc.onconnectionstatechange = null, this._pc.oniceconnectionstatechange = null, this._pc = null);
|
|
22963
|
-
}, this.log = yi((r = n.loggerName) !== null && r !== void 0 ? r :
|
|
22969
|
+
}, this.log = yi((r = n.loggerName) !== null && r !== void 0 ? r : yr.PCTransport), this.loggerOptions = n, this.config = e, this._pc = this.createPC(), this.offerLock = new Rr();
|
|
22964
22970
|
}
|
|
22965
22971
|
createPC() {
|
|
22966
22972
|
const e = new RTCPeerConnection(this.config);
|
|
@@ -23376,7 +23382,7 @@ class Mw {
|
|
|
23376
23382
|
var s, l;
|
|
23377
23383
|
const c = this.state, f = this.requiredTransports.map((d) => d.getConnectionState());
|
|
23378
23384
|
f.every((d) => d === "connected") ? this.state = Dn.CONNECTED : f.some((d) => d === "failed") ? this.state = Dn.FAILED : f.some((d) => d === "connecting") ? this.state = Dn.CONNECTING : f.every((d) => d === "closed") ? this.state = Dn.CLOSED : f.some((d) => d === "closed") ? this.state = Dn.CLOSING : f.every((d) => d === "new") && (this.state = Dn.NEW), c !== this.state && (this.log.debug("pc state change: from ".concat(Dn[c], " to ").concat(Dn[this.state]), this.logContext), (s = this.onStateChange) === null || s === void 0 || s.call(this, this.state, this.publisher.getConnectionState(), (l = this.subscriber) === null || l === void 0 ? void 0 : l.getConnectionState()));
|
|
23379
|
-
}, this.log = yi((i = n.loggerName) !== null && i !== void 0 ? i :
|
|
23385
|
+
}, this.log = yi((i = n.loggerName) !== null && i !== void 0 ? i : yr.PCManager), this.loggerOptions = n, this.isPublisherConnectionRequired = e !== "subscriber-primary", this.isSubscriberConnectionRequired = e === "subscriber-primary", this.publisher = new Pw(r, n), this._mode = e, e !== "publisher-only" && (this.subscriber = new Pw(r, n), this.subscriber.onConnectionStateChange = this.updateState, this.subscriber.onIceConnectionStateChange = this.updateState, this.subscriber.onSignalingStatechange = this.updateState, this.subscriber.onIceCandidate = (s) => {
|
|
23380
23386
|
var l;
|
|
23381
23387
|
(l = this.onIceCandidate) === null || l === void 0 || l.call(this, s, go.SUBSCRIBER);
|
|
23382
23388
|
}, this.subscriber.onDataChannel = (s) => {
|
|
@@ -23394,7 +23400,7 @@ class Mw {
|
|
|
23394
23400
|
}, this.publisher.onOffer = (s, l) => {
|
|
23395
23401
|
var c;
|
|
23396
23402
|
(c = this.onPublisherOffer) === null || c === void 0 || c.call(this, s, l);
|
|
23397
|
-
}, this.state = Dn.NEW, this.connectionLock = new
|
|
23403
|
+
}, this.state = Dn.NEW, this.connectionLock = new Rr(), this.remoteOfferLock = new Rr();
|
|
23398
23404
|
}
|
|
23399
23405
|
get logContext() {
|
|
23400
23406
|
var e, n;
|
|
@@ -23707,7 +23713,7 @@ class oE extends _e {
|
|
|
23707
23713
|
this.debouncedTrackMuteHandler.cancel("unmute"), yield this.resumeUpstream();
|
|
23708
23714
|
}), this.handleEnded = () => {
|
|
23709
23715
|
this.isInBackground && (this.reacquireTrack = !0), this._mediaStreamTrack.removeEventListener("mute", this.handleTrackMuteEvent), this._mediaStreamTrack.removeEventListener("unmute", this.handleTrackUnmuteEvent), this.emit(He.Ended, this);
|
|
23710
|
-
}, this.reacquireTrack = !1, this.providedByUser = i, this.muteLock = new
|
|
23716
|
+
}, this.reacquireTrack = !1, this.providedByUser = i, this.muteLock = new Rr(), this.pauseUpstreamLock = new Rr(), this.trackChangeLock = new Rr(), this.trackChangeLock.lock().then((l) => H(this, void 0, void 0, function* () {
|
|
23711
23717
|
try {
|
|
23712
23718
|
yield this.setMediaStreamTrack(e, !0);
|
|
23713
23719
|
} finally {
|
|
@@ -23814,7 +23820,7 @@ class oE extends _e {
|
|
|
23814
23820
|
deviceId: r,
|
|
23815
23821
|
groupId: i
|
|
23816
23822
|
} = e._mediaStreamTrack.getSettings(), s = e.kind === _e.Kind.Audio ? "audioinput" : "videoinput";
|
|
23817
|
-
return n ?
|
|
23823
|
+
return n ? vr.getInstance().normalizeDeviceId(s, r, i) : r;
|
|
23818
23824
|
})();
|
|
23819
23825
|
});
|
|
23820
23826
|
}
|
|
@@ -24114,9 +24120,9 @@ class Mh extends oE {
|
|
|
24114
24120
|
}
|
|
24115
24121
|
l && this.prevStats && (this._currentBitrate = fp(l, this.prevStats)), this.prevStats = l;
|
|
24116
24122
|
}), this.handleKrispNoiseFilterEnable = () => {
|
|
24117
|
-
this.isKrispNoiseFilterEnabled = !0, this.log.debug("Krisp noise filter enabled", this.logContext), this.emit(He.AudioTrackFeatureUpdate, this,
|
|
24123
|
+
this.isKrispNoiseFilterEnabled = !0, this.log.debug("Krisp noise filter enabled", this.logContext), this.emit(He.AudioTrackFeatureUpdate, this, mr.TF_ENHANCED_NOISE_CANCELLATION, !0);
|
|
24118
24124
|
}, this.handleKrispNoiseFilterDisable = () => {
|
|
24119
|
-
this.isKrispNoiseFilterEnabled = !1, this.log.debug("Krisp noise filter disabled", this.logContext), this.emit(He.AudioTrackFeatureUpdate, this,
|
|
24125
|
+
this.isKrispNoiseFilterEnabled = !1, this.log.debug("Krisp noise filter disabled", this.logContext), this.emit(He.AudioTrackFeatureUpdate, this, mr.TF_ENHANCED_NOISE_CANCELLATION, !1);
|
|
24120
24126
|
}, this.audioContext = i, this.checkForSilence();
|
|
24121
24127
|
}
|
|
24122
24128
|
mute() {
|
|
@@ -24452,7 +24458,7 @@ class Oh extends oE {
|
|
|
24452
24458
|
}), this._currentBitrate = f;
|
|
24453
24459
|
}
|
|
24454
24460
|
this.prevStats = l;
|
|
24455
|
-
}), this.senderLock = new
|
|
24461
|
+
}), this.senderLock = new Rr();
|
|
24456
24462
|
}
|
|
24457
24463
|
get isSimulcast() {
|
|
24458
24464
|
return !!(this.sender && this.sender.getParameters().encodings.length > 1);
|
|
@@ -24970,7 +24976,7 @@ class GL extends Yi.EventEmitter {
|
|
|
24970
24976
|
}
|
|
24971
24977
|
constructor(e) {
|
|
24972
24978
|
var n;
|
|
24973
|
-
super(), this.options = e, this.rtcConfig = {}, this.peerConnectionTimeout = Ay.peerConnectionTimeout, this.fullReconnectOnNext = !1, this.latestRemoteOfferId = 0, this.subscriberPrimary = !1, this.pcState = Wi.New, this._isClosed = !0, this._isNewlyCreated = !0, this.pendingTrackResolvers = {}, this.reconnectAttempts = 0, this.reconnectStart = 0, this.attemptingReconnect = !1, this.joinAttempts = 0, this.maxJoinAttempts = 1, this.shouldFailNext = !1, this.shouldFailOnV1Path = !1, this.log = It, this.reliableDataSequence = 1, this.reliableMessageBuffer = new Tw(), this.reliableReceivedState = new mL(zL), this.lossyDataStatCurrentBytes = 0, this.lossyDataStatByterate = 0, this.lossyDataDropCount = 0, this.midToTrackId = {}, this.isWaitingForNetworkReconnect = !1, this.bufferStatusLowClosingFuture = new
|
|
24979
|
+
super(), this.options = e, this.rtcConfig = {}, this.peerConnectionTimeout = Ay.peerConnectionTimeout, this.fullReconnectOnNext = !1, this.latestRemoteOfferId = 0, this.subscriberPrimary = !1, this.pcState = Wi.New, this._isClosed = !0, this._isNewlyCreated = !0, this.pendingTrackResolvers = {}, this.reconnectAttempts = 0, this.reconnectStart = 0, this.attemptingReconnect = !1, this.joinAttempts = 0, this.maxJoinAttempts = 1, this.shouldFailNext = !1, this.shouldFailOnV1Path = !1, this.log = It, this.reliableDataSequence = 1, this.reliableMessageBuffer = new Tw(), this.reliableReceivedState = new mL(zL), this.lossyDataStatCurrentBytes = 0, this.lossyDataStatByterate = 0, this.lossyDataDropCount = 0, this.midToTrackId = {}, this.isWaitingForNetworkReconnect = !1, this.bufferStatusLowClosingFuture = new Er(), this.handleDataChannel = (r) => H(this, [r], void 0, function(i) {
|
|
24974
24980
|
var s = this;
|
|
24975
24981
|
let {
|
|
24976
24982
|
channel: l
|
|
@@ -25111,10 +25117,10 @@ class GL extends Yi.EventEmitter {
|
|
|
25111
25117
|
} catch {
|
|
25112
25118
|
window.navigator.onLine === !1 && (this.log.info("detected network interruption"), this.isWaitingForNetworkReconnect = !0);
|
|
25113
25119
|
}
|
|
25114
|
-
}), this.log = yi((n = e.loggerName) !== null && n !== void 0 ? n :
|
|
25120
|
+
}), this.log = yi((n = e.loggerName) !== null && n !== void 0 ? n : yr.Engine, () => this.logContext), this.loggerOptions = {
|
|
25115
25121
|
loggerName: e.loggerName,
|
|
25116
25122
|
loggerContextCb: () => this.logContext
|
|
25117
|
-
}, this.client = new Ry(void 0, this.loggerOptions), this.client.signalLatency = this.options.expSignalLatency, this.reconnectPolicy = this.options.reconnectPolicy, this.closingLock = new
|
|
25123
|
+
}, this.client = new Ry(void 0, this.loggerOptions), this.client.signalLatency = this.options.expSignalLatency, this.reconnectPolicy = this.options.reconnectPolicy, this.closingLock = new Rr(), this.dataProcessLock = new Rr(), this.dcBufferStatus = /* @__PURE__ */ new Map([[Ot.RELIABLE, !0], [Ot.LOSSY, !0], [Ot.DATA_TRACK_LOSSY, !0]]), this.client.onParticipantUpdate = (r) => this.emit(Oe.ParticipantUpdate, r), this.client.onConnectionQuality = (r) => this.emit(Oe.ConnectionQualityUpdate, r), this.client.onRoomUpdate = (r) => this.emit(Oe.RoomUpdate, r), this.client.onSubscriptionError = (r) => this.emit(Oe.SubscriptionError, r), this.client.onSubscriptionPermissionUpdate = (r) => this.emit(Oe.SubscriptionPermissionUpdate, r), this.client.onSpeakersChanged = (r) => this.emit(Oe.SpeakersChanged, r), this.client.onStreamStateUpdate = (r) => this.emit(Oe.StreamStateChanged, r), this.client.onRequestResponse = (r) => this.emit(Oe.SignalRequestResponse, r), this.client.onParticipantUpdate = (r) => this.emit(Oe.ParticipantUpdate, r), this.client.onJoined = (r) => this.emit(Oe.Joined, r), this.on(Oe.Closing, () => {
|
|
25118
25124
|
var r, i;
|
|
25119
25125
|
(i = (r = this.bufferStatusLowClosingFuture).reject) === null || i === void 0 || i.call(r, new Ln("engine closed"));
|
|
25120
25126
|
}), this.bufferStatusLowClosingFuture.promise.catch(() => {
|
|
@@ -26003,7 +26009,7 @@ class jt {
|
|
|
26003
26009
|
jt.cache = /* @__PURE__ */ new Map();
|
|
26004
26010
|
jt.settingsTimeouts = /* @__PURE__ */ new Map();
|
|
26005
26011
|
jt.connectionTrackers = /* @__PURE__ */ new Map();
|
|
26006
|
-
jt.fetchLock = new
|
|
26012
|
+
jt.fetchLock = new Rr();
|
|
26007
26013
|
function YL(t) {
|
|
26008
26014
|
return "".concat(t.protocol.replace("ws", "http"), "//").concat(t.host, "/settings");
|
|
26009
26015
|
}
|
|
@@ -26585,7 +26591,7 @@ class t3 {
|
|
|
26585
26591
|
});
|
|
26586
26592
|
yield this.engine.sendDataPacket(v, Ot.RELIABLE);
|
|
26587
26593
|
let y = 0;
|
|
26588
|
-
const T = new
|
|
26594
|
+
const T = new Rr(), x = this.engine, S = this.log, R = new WritableStream({
|
|
26589
26595
|
write(B) {
|
|
26590
26596
|
return H(this, void 0, void 0, function* () {
|
|
26591
26597
|
const A = yield T.lock();
|
|
@@ -27059,7 +27065,7 @@ class pp extends hp {
|
|
|
27059
27065
|
};
|
|
27060
27066
|
}
|
|
27061
27067
|
}
|
|
27062
|
-
const Tg = yi(
|
|
27068
|
+
const Tg = yi(yr.DataTracks);
|
|
27063
27069
|
class ho extends Xi {
|
|
27064
27070
|
constructor(e, n, r, i) {
|
|
27065
27071
|
super(19, "Frame ".concat(r, " dropped: ").concat(e), i), this.name = "DataTrackDepacketizerDropError", this.reason = n, this.reasonName = rl[n], this.frameNumber = r;
|
|
@@ -27204,7 +27210,7 @@ class pi extends Xi {
|
|
|
27204
27210
|
return new pi("Subscription to data track cancelled by caller", il.Cancelled);
|
|
27205
27211
|
}
|
|
27206
27212
|
}
|
|
27207
|
-
const Eg = yi(
|
|
27213
|
+
const Eg = yi(yr.DataTracks);
|
|
27208
27214
|
class a3 {
|
|
27209
27215
|
/**
|
|
27210
27216
|
* Creates a new pipeline with the given options.
|
|
@@ -27263,7 +27269,7 @@ class a3 {
|
|
|
27263
27269
|
});
|
|
27264
27270
|
}
|
|
27265
27271
|
}
|
|
27266
|
-
const
|
|
27272
|
+
const Br = yi(yr.DataTracks), l3 = 1e4, c3 = 16;
|
|
27267
27273
|
class u3 extends Yi.EventEmitter {
|
|
27268
27274
|
constructor(e) {
|
|
27269
27275
|
var n;
|
|
@@ -27285,20 +27291,20 @@ class u3 extends Yi.EventEmitter {
|
|
|
27285
27291
|
**/
|
|
27286
27292
|
openSubscriptionStream(e, n) {
|
|
27287
27293
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : c3, i = null;
|
|
27288
|
-
const s = new
|
|
27294
|
+
const s = new Er(), l = () => {
|
|
27289
27295
|
n == null || n.removeEventListener("abort", f);
|
|
27290
27296
|
}, c = () => {
|
|
27291
27297
|
if (l(), !i) {
|
|
27292
|
-
|
|
27298
|
+
Br.warn("ReadableStream subscribed to ".concat(e, " was not started."));
|
|
27293
27299
|
return;
|
|
27294
27300
|
}
|
|
27295
27301
|
const p = this.descriptors.get(e);
|
|
27296
27302
|
if (!p) {
|
|
27297
|
-
|
|
27303
|
+
Br.warn("Unknown track ".concat(e, ", skipping cancel..."));
|
|
27298
27304
|
return;
|
|
27299
27305
|
}
|
|
27300
27306
|
if (p.subscription.type !== "active") {
|
|
27301
|
-
|
|
27307
|
+
Br.warn("Subscription for track ".concat(e, " is not active, skipping cancel..."));
|
|
27302
27308
|
return;
|
|
27303
27309
|
}
|
|
27304
27310
|
p.subscription.streamControllers.delete(i), p.subscription.streamControllers.size === 0 && this.unSubscribeRequest(p.info.sid);
|
|
@@ -27315,13 +27321,13 @@ class u3 extends Yi.EventEmitter {
|
|
|
27315
27321
|
var v, y, T;
|
|
27316
27322
|
const x = this.descriptors.get(e);
|
|
27317
27323
|
if (!x) {
|
|
27318
|
-
|
|
27324
|
+
Br.error("Unknown track ".concat(e));
|
|
27319
27325
|
const S = pi.disconnected();
|
|
27320
27326
|
p.error(S), (v = s.reject) === null || v === void 0 || v.call(s, S);
|
|
27321
27327
|
return;
|
|
27322
27328
|
}
|
|
27323
27329
|
if (x.subscription.type !== "active") {
|
|
27324
|
-
|
|
27330
|
+
Br.error("Subscription for track ".concat(e, " is not active"));
|
|
27325
27331
|
const S = pi.disconnected();
|
|
27326
27332
|
p.error(S), (y = s.reject) === null || y === void 0 || y.call(s, S);
|
|
27327
27333
|
return;
|
|
@@ -27361,7 +27367,7 @@ class u3 extends Yi.EventEmitter {
|
|
|
27361
27367
|
return;
|
|
27362
27368
|
if (s.subscription.type !== "pending")
|
|
27363
27369
|
throw new Error("Descriptor for track ".concat(e, " is not pending, found ").concat(s.subscription.type));
|
|
27364
|
-
const f = dE([l, c].filter((v) => typeof v < "u")), d = new
|
|
27370
|
+
const f = dE([l, c].filter((v) => typeof v < "u")), d = new Er();
|
|
27365
27371
|
s.subscription.completionFuture.promise.then(() => {
|
|
27366
27372
|
var v;
|
|
27367
27373
|
return (v = d.resolve) === null || v === void 0 ? void 0 : v.call(d);
|
|
@@ -27389,7 +27395,7 @@ class u3 extends Yi.EventEmitter {
|
|
|
27389
27395
|
case "none": {
|
|
27390
27396
|
r.subscription = {
|
|
27391
27397
|
type: "pending",
|
|
27392
|
-
completionFuture: new
|
|
27398
|
+
completionFuture: new Er(),
|
|
27393
27399
|
pendingRequestCount: 1,
|
|
27394
27400
|
cancel: () => {
|
|
27395
27401
|
var l, c;
|
|
@@ -27436,7 +27442,7 @@ class u3 extends Yi.EventEmitter {
|
|
|
27436
27442
|
if (!r)
|
|
27437
27443
|
throw new Error("Cannot subscribe to unknown track");
|
|
27438
27444
|
if (r.subscription.type !== "active") {
|
|
27439
|
-
|
|
27445
|
+
Br.warn("Unexpected descriptor state in unSubscribeRequest, expected active, found ".concat((n = r.subscription) === null || n === void 0 ? void 0 : n.type));
|
|
27440
27446
|
return;
|
|
27441
27447
|
}
|
|
27442
27448
|
this.closeStreamControllers(r.subscription.streamControllers, e);
|
|
@@ -27457,7 +27463,7 @@ class u3 extends Yi.EventEmitter {
|
|
|
27457
27463
|
try {
|
|
27458
27464
|
r.close();
|
|
27459
27465
|
} catch (s) {
|
|
27460
|
-
|
|
27466
|
+
Br.warn("Failed to close readable stream for track ".concat(n, ": ").concat(s));
|
|
27461
27467
|
}
|
|
27462
27468
|
}
|
|
27463
27469
|
}
|
|
@@ -27505,7 +27511,7 @@ class u3 extends Yi.EventEmitter {
|
|
|
27505
27511
|
handleTrackPublished(e, n) {
|
|
27506
27512
|
return H(this, void 0, void 0, function* () {
|
|
27507
27513
|
if (this.descriptors.has(n.sid)) {
|
|
27508
|
-
|
|
27514
|
+
Br.error("Existing descriptor for track ".concat(n.sid));
|
|
27509
27515
|
return;
|
|
27510
27516
|
}
|
|
27511
27517
|
let r = {
|
|
@@ -27527,7 +27533,7 @@ class u3 extends Yi.EventEmitter {
|
|
|
27527
27533
|
handleTrackUnpublished(e) {
|
|
27528
27534
|
const n = this.descriptors.get(e);
|
|
27529
27535
|
if (!n) {
|
|
27530
|
-
|
|
27536
|
+
Br.error("Unknown track ".concat(e));
|
|
27531
27537
|
return;
|
|
27532
27538
|
}
|
|
27533
27539
|
this.descriptors.delete(e), n.subscription.type === "active" && (this.closeStreamControllers(n.subscription.streamControllers, e), this.subscriptionHandles.delete(n.subscription.subcriptionHandle)), this.emit("trackUnpublished", {
|
|
@@ -27544,12 +27550,12 @@ class u3 extends Yi.EventEmitter {
|
|
|
27544
27550
|
var r, i;
|
|
27545
27551
|
const s = this.descriptors.get(n);
|
|
27546
27552
|
if (!s) {
|
|
27547
|
-
|
|
27553
|
+
Br.error("Unknown track ".concat(n));
|
|
27548
27554
|
return;
|
|
27549
27555
|
}
|
|
27550
27556
|
switch (s.subscription.type) {
|
|
27551
27557
|
case "none": {
|
|
27552
|
-
|
|
27558
|
+
Br.warn("No subscription for ".concat(n));
|
|
27553
27559
|
return;
|
|
27554
27560
|
}
|
|
27555
27561
|
case "active": {
|
|
@@ -27578,28 +27584,28 @@ class u3 extends Yi.EventEmitter {
|
|
|
27578
27584
|
try {
|
|
27579
27585
|
[n] = pp.fromBinary(e);
|
|
27580
27586
|
} catch (l) {
|
|
27581
|
-
|
|
27587
|
+
Br.error("Failed to deserialize packet: ".concat(l));
|
|
27582
27588
|
return;
|
|
27583
27589
|
}
|
|
27584
27590
|
const r = this.subscriptionHandles.get(n.header.trackHandle);
|
|
27585
27591
|
if (!r) {
|
|
27586
|
-
|
|
27592
|
+
Br.warn("Unknown subscriber handle ".concat(n.header.trackHandle));
|
|
27587
27593
|
return;
|
|
27588
27594
|
}
|
|
27589
27595
|
const i = this.descriptors.get(r);
|
|
27590
27596
|
if (!i) {
|
|
27591
|
-
|
|
27597
|
+
Br.error("Missing descriptor for track ".concat(r));
|
|
27592
27598
|
return;
|
|
27593
27599
|
}
|
|
27594
27600
|
if (i.subscription.type !== "active") {
|
|
27595
|
-
|
|
27601
|
+
Br.warn("Received packet for track ".concat(r, " without active subscription"));
|
|
27596
27602
|
return;
|
|
27597
27603
|
}
|
|
27598
27604
|
const s = yield i.subscription.pipeline.processPacket(n);
|
|
27599
27605
|
if (s)
|
|
27600
27606
|
for (const l of i.subscription.streamControllers.keys()) {
|
|
27601
27607
|
if (l.desiredSize !== null && l.desiredSize <= 0) {
|
|
27602
|
-
|
|
27608
|
+
Br.warn("Cannot send frame to subscribers: readable stream is full (desiredSize is ".concat(l.desiredSize, "). To increase this threshold, set a higher 'options.highWaterMark' when calling .subscribe()."));
|
|
27603
27609
|
continue;
|
|
27604
27610
|
}
|
|
27605
27611
|
const c = pE.lossyIntoFrame(s);
|
|
@@ -27781,13 +27787,13 @@ class ed extends Xi {
|
|
|
27781
27787
|
class vp {
|
|
27782
27788
|
/** @internal */
|
|
27783
27789
|
constructor(e, n) {
|
|
27784
|
-
this.trackSymbol = mE, this.isLocal = !0, this.typeSymbol = gE, this.handle = null, this.log = It, this.flushedFuture = new
|
|
27790
|
+
this.trackSymbol = mE, this.isLocal = !0, this.typeSymbol = gE, this.handle = null, this.log = It, this.flushedFuture = new Er(), this.isFlushed = !0, this.handleManagerReset = () => {
|
|
27785
27791
|
var r, i;
|
|
27786
27792
|
(i = (r = this.flushedFuture).resolve) === null || i === void 0 || i.call(r), this.manager.off("packetsFlushedChange", this.handleManagerPacketsFlushedChange), this.manager.off("reset", this.handleManagerReset);
|
|
27787
27793
|
}, this.handleManagerPacketsFlushedChange = (r) => {
|
|
27788
27794
|
var i, s;
|
|
27789
|
-
this.isFlushed = r.isFlushed, r.isFlushed && ((s = (i = this.flushedFuture).resolve) === null || s === void 0 || s.call(i), this.flushedFuture = new
|
|
27790
|
-
}, this.options = e, this.manager = n, this.log = yi(
|
|
27795
|
+
this.isFlushed = r.isFlushed, r.isFlushed && ((s = (i = this.flushedFuture).resolve) === null || s === void 0 || s.call(i), this.flushedFuture = new Er());
|
|
27796
|
+
}, this.options = e, this.manager = n, this.log = yi(yr.DataTracks), this.manager.on("packetsFlushedChange", this.handleManagerPacketsFlushedChange), this.manager.on("reset", this.handleManagerReset);
|
|
27791
27797
|
}
|
|
27792
27798
|
/** @internal */
|
|
27793
27799
|
static withExplicitHandle(e, n, r) {
|
|
@@ -27919,11 +27925,11 @@ class yp {
|
|
|
27919
27925
|
}
|
|
27920
27926
|
}
|
|
27921
27927
|
yp.TRANSPORT_MTU_BYTES = 16e3;
|
|
27922
|
-
const zo = yi(
|
|
27928
|
+
const zo = yi(yr.DataTracks), Zw = {
|
|
27923
27929
|
pending() {
|
|
27924
27930
|
return {
|
|
27925
27931
|
type: "pending",
|
|
27926
|
-
completionFuture: new
|
|
27932
|
+
completionFuture: new Er()
|
|
27927
27933
|
};
|
|
27928
27934
|
},
|
|
27929
27935
|
active(t, e) {
|
|
@@ -27935,7 +27941,7 @@ const zo = yi(vr.DataTracks), Zw = {
|
|
|
27935
27941
|
info: t,
|
|
27936
27942
|
e2eeManager: e
|
|
27937
27943
|
}),
|
|
27938
|
-
unpublishingFuture: new
|
|
27944
|
+
unpublishingFuture: new Er()
|
|
27939
27945
|
};
|
|
27940
27946
|
}
|
|
27941
27947
|
}, d3 = 1e4;
|
|
@@ -28594,7 +28600,7 @@ class ws extends Yi.EventEmitter {
|
|
|
28594
28600
|
this.emit(He.Muted);
|
|
28595
28601
|
}, this.handleUnmuted = () => {
|
|
28596
28602
|
this.emit(He.Unmuted);
|
|
28597
|
-
}, this.log = yi((s = i == null ? void 0 : i.loggerName) !== null && s !== void 0 ? s :
|
|
28603
|
+
}, this.log = yi((s = i == null ? void 0 : i.loggerName) !== null && s !== void 0 ? s : yr.Publication), this.loggerContextCb = this.loggerContextCb, this.setMaxListeners(100), this.kind = e, this.trackSid = n, this.trackName = r, this.source = _e.Source.Unknown;
|
|
28598
28604
|
}
|
|
28599
28605
|
/** @internal */
|
|
28600
28606
|
setTrack(e) {
|
|
@@ -28717,7 +28723,7 @@ class Sv extends ws {
|
|
|
28717
28723
|
var e;
|
|
28718
28724
|
if (Yo(this.track)) {
|
|
28719
28725
|
const n = this.track.getSourceTrackSettings(), r = /* @__PURE__ */ new Set();
|
|
28720
|
-
return n.autoGainControl && r.add(
|
|
28726
|
+
return n.autoGainControl && r.add(mr.TF_AUTO_GAIN_CONTROL), n.echoCancellation && r.add(mr.TF_ECHO_CANCELLATION), n.noiseSuppression && r.add(mr.TF_NOISE_SUPPRESSION), n.channelCount && n.channelCount > 1 && r.add(mr.TF_STEREO), !((e = this.options) === null || e === void 0) && e.dtx || r.add(mr.TF_NO_DTX), this.track.enhancedNoiseCancellation && r.add(mr.TF_ENHANCED_NOISE_CANCELLATION), Array.from(r.values());
|
|
28721
28727
|
} else return [];
|
|
28722
28728
|
}
|
|
28723
28729
|
}
|
|
@@ -28759,7 +28765,7 @@ function bp(t, e) {
|
|
|
28759
28765
|
deviceId: "default"
|
|
28760
28766
|
} : typeof s.video == "object" && !s.video.deviceId && (s.video.deviceId = "default");
|
|
28761
28767
|
const f = GT(s, nE, rE), d = Ty(f), p = navigator.mediaDevices.getUserMedia(d);
|
|
28762
|
-
s.audio && (
|
|
28768
|
+
s.audio && (vr.userMediaPromiseMap.set("audioinput", p), p.catch(() => vr.userMediaPromiseMap.delete("audioinput"))), s.video && (vr.userMediaPromiseMap.set("videoinput", p), p.catch(() => vr.userMediaPromiseMap.delete("videoinput")));
|
|
28763
28769
|
try {
|
|
28764
28770
|
const v = yield p;
|
|
28765
28771
|
return yield Promise.all(v.getTracks().map((y) => H(this, void 0, void 0, function* () {
|
|
@@ -28847,7 +28853,7 @@ class bE extends Yi.EventEmitter {
|
|
|
28847
28853
|
constructor(e, n, r, i, s, l) {
|
|
28848
28854
|
let c = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : Gu.STANDARD;
|
|
28849
28855
|
var f;
|
|
28850
|
-
super(), this.audioLevel = 0, this.isSpeaking = !1, this._connectionQuality = oa.Unknown, this.log = It, this.loggerOptions = l, this.log = yi((f = l == null ? void 0 : l.loggerName) !== null && f !== void 0 ? f :
|
|
28856
|
+
super(), this.audioLevel = 0, this.isSpeaking = !1, this._connectionQuality = oa.Unknown, this.log = It, this.loggerOptions = l, this.log = yi((f = l == null ? void 0 : l.loggerName) !== null && f !== void 0 ? f : yr.Participant, () => this.logContext), this.setMaxListeners(100), this.sid = e, this.identity = n, this.name = r, this.metadata = i, this.audioTrackPublications = /* @__PURE__ */ new Map(), this.videoTrackPublications = /* @__PURE__ */ new Map(), this.trackPublications = /* @__PURE__ */ new Map(), this._kind = c, this._attributes = s ?? {};
|
|
28851
28857
|
}
|
|
28852
28858
|
getTrackPublications() {
|
|
28853
28859
|
return Array.from(this.trackPublications.values());
|
|
@@ -28874,7 +28880,7 @@ class bE extends Yi.EventEmitter {
|
|
|
28874
28880
|
* @returns a promise that resolves when the participant is active
|
|
28875
28881
|
*/
|
|
28876
28882
|
waitUntilActive() {
|
|
28877
|
-
return this.isActive ? Promise.resolve() : this.activeFuture ? this.activeFuture.promise : (this.activeFuture = new
|
|
28883
|
+
return this.isActive ? Promise.resolve() : this.activeFuture ? this.activeFuture.promise : (this.activeFuture = new Er(), this.once($e.Active, () => {
|
|
28878
28884
|
var e, n;
|
|
28879
28885
|
(n = (e = this.activeFuture) === null || e === void 0 ? void 0 : e.resolve) === null || n === void 0 || n.call(e), this.activeFuture = void 0;
|
|
28880
28886
|
}), this.activeFuture.promise);
|
|
@@ -28990,8 +28996,8 @@ class b3 extends bE {
|
|
|
28990
28996
|
super(e, n, void 0, void 0, void 0, {
|
|
28991
28997
|
loggerName: i.loggerName,
|
|
28992
28998
|
loggerContextCb: () => this.engine.logContext
|
|
28993
|
-
}), this.pendingPublishing = /* @__PURE__ */ new Set(), this.pendingPublishPromises = /* @__PURE__ */ new Map(), this.participantTrackPermissions = [], this.allParticipantsAllowedToSubscribe = !0, this.encryptionType = gn.NONE, this.e2eeStateMutex = new
|
|
28994
|
-
this.reconnectFuture || (this.reconnectFuture = new
|
|
28999
|
+
}), this.pendingPublishing = /* @__PURE__ */ new Set(), this.pendingPublishPromises = /* @__PURE__ */ new Map(), this.participantTrackPermissions = [], this.allParticipantsAllowedToSubscribe = !0, this.encryptionType = gn.NONE, this.e2eeStateMutex = new Rr(), this.enabledPublishVideoCodecs = [], this.pendingAcks = /* @__PURE__ */ new Map(), this.pendingResponses = /* @__PURE__ */ new Map(), this.handleReconnecting = () => {
|
|
29000
|
+
this.reconnectFuture || (this.reconnectFuture = new Er());
|
|
28995
29001
|
}, this.handleReconnected = () => {
|
|
28996
29002
|
var f, d;
|
|
28997
29003
|
(d = (f = this.reconnectFuture) === null || f === void 0 ? void 0 : f.resolve) === null || d === void 0 || d.call(f), this.reconnectFuture = void 0, this.updateTrackSubscriptionPermissions();
|
|
@@ -29000,7 +29006,7 @@ class b3 extends bE {
|
|
|
29000
29006
|
this.reconnectFuture && (this.reconnectFuture.promise.catch((x) => this.log.warn(x.message)), (d = (f = this.reconnectFuture) === null || f === void 0 ? void 0 : f.reject) === null || d === void 0 || d.call(f, new Error("Got disconnected during reconnection attempt")), this.reconnectFuture = void 0), this.signalConnectedFuture && ((v = (p = this.signalConnectedFuture).reject) === null || v === void 0 || v.call(p, new Error("Got disconnected without signal connected")), this.signalConnectedFuture = void 0), (T = (y = this.activeAgentFuture) === null || y === void 0 ? void 0 : y.reject) === null || T === void 0 || T.call(y, new Error("Got disconnected without active agent present")), this.activeAgentFuture = void 0, this.firstActiveAgent = void 0;
|
|
29001
29007
|
}, this.handleSignalConnected = (f) => {
|
|
29002
29008
|
var d, p;
|
|
29003
|
-
f.participant && this.updateInfo(f.participant), this.signalConnectedFuture || (this.signalConnectedFuture = new
|
|
29009
|
+
f.participant && this.updateInfo(f.participant), this.signalConnectedFuture || (this.signalConnectedFuture = new Er()), (p = (d = this.signalConnectedFuture).resolve) === null || p === void 0 || p.call(d);
|
|
29004
29010
|
}, this.handleSignalRequestResponse = (f) => {
|
|
29005
29011
|
const {
|
|
29006
29012
|
requestId: d,
|
|
@@ -29555,7 +29561,7 @@ class b3 extends bE {
|
|
|
29555
29561
|
});
|
|
29556
29562
|
}
|
|
29557
29563
|
waitUntilEngineConnected() {
|
|
29558
|
-
return this.signalConnectedFuture || (this.signalConnectedFuture = new
|
|
29564
|
+
return this.signalConnectedFuture || (this.signalConnectedFuture = new Er()), this.signalConnectedFuture.promise;
|
|
29559
29565
|
}
|
|
29560
29566
|
hasPermissionsToPublish(e) {
|
|
29561
29567
|
if (!this.permissions)
|
|
@@ -29575,7 +29581,7 @@ class b3 extends bE {
|
|
|
29575
29581
|
const S = n.videoCodec;
|
|
29576
29582
|
e.on(He.Muted, this.onTrackMuted), e.on(He.Unmuted, this.onTrackUnmuted), e.on(He.Ended, this.handleTrackEnded), e.on(He.UpstreamPaused, this.onTrackUpstreamPaused), e.on(He.UpstreamResumed, this.onTrackUpstreamResumed), e.on(He.AudioTrackFeatureUpdate, this.onTrackFeatureUpdate);
|
|
29577
29583
|
const R = [], O = !(!((i = n.dtx) !== null && i !== void 0) || i), B = e.getSourceTrackSettings();
|
|
29578
|
-
B.autoGainControl && R.push(
|
|
29584
|
+
B.autoGainControl && R.push(mr.TF_AUTO_GAIN_CONTROL), B.echoCancellation && R.push(mr.TF_ECHO_CANCELLATION), B.noiseSuppression && R.push(mr.TF_NOISE_SUPPRESSION), B.channelCount && B.channelCount > 1 && R.push(mr.TF_STEREO), O && R.push(mr.TF_NO_DTX), gs(e) && e.hasPreConnectBuffer && R.push(mr.TF_PRECONNECT_BUFFER);
|
|
29579
29585
|
const A = new Ku({
|
|
29580
29586
|
// get local track id for use during publishing
|
|
29581
29587
|
cid: e.mediaStreamTrack.id,
|
|
@@ -29695,7 +29701,7 @@ class b3 extends bE {
|
|
|
29695
29701
|
})), this.log.debug("publishing ".concat(e.kind, " with encodings"), {
|
|
29696
29702
|
encodings: P,
|
|
29697
29703
|
trackInfo: U
|
|
29698
|
-
}), ps(e) ? e.startMonitor(this.engine.client) : gs(e) && e.startMonitor(), this.addTrackPublication(Z), this.emit($e.LocalTrackPublished, Z), gs(e) && U.audioFeatures.includes(
|
|
29704
|
+
}), ps(e) ? e.startMonitor(this.engine.client) : gs(e) && e.startMonitor(), this.addTrackPublication(Z), this.emit($e.LocalTrackPublished, Z), gs(e) && U.audioFeatures.includes(mr.TF_PRECONNECT_BUFFER)) {
|
|
29699
29705
|
const K = e.getPreConnectBuffer(), Y = e.getPreConnectBufferMimeType();
|
|
29700
29706
|
this.on($e.LocalTrackSubscribed, (re) => {
|
|
29701
29707
|
if (re.trackSid === U.sid) {
|
|
@@ -30163,7 +30169,7 @@ class b3 extends bE {
|
|
|
30163
30169
|
this.firstActiveAgent = e, e && !this.firstActiveAgent && (this.firstActiveAgent = e), e ? (r = (n = this.activeAgentFuture) === null || n === void 0 ? void 0 : n.resolve) === null || r === void 0 || r.call(n, e) : (s = (i = this.activeAgentFuture) === null || i === void 0 ? void 0 : i.reject) === null || s === void 0 || s.call(i, new Error("Agent disconnected")), this.activeAgentFuture = void 0;
|
|
30164
30170
|
}
|
|
30165
30171
|
waitUntilActiveAgentPresent() {
|
|
30166
|
-
return this.firstActiveAgent ? Promise.resolve(this.firstActiveAgent) : (this.activeAgentFuture || (this.activeAgentFuture = new
|
|
30172
|
+
return this.firstActiveAgent ? Promise.resolve(this.firstActiveAgent) : (this.activeAgentFuture || (this.activeAgentFuture = new Er()), this.activeAgentFuture.promise);
|
|
30167
30173
|
}
|
|
30168
30174
|
getPublicationForTrack(e) {
|
|
30169
30175
|
let n;
|
|
@@ -30228,7 +30234,7 @@ class w3 extends Map {
|
|
|
30228
30234
|
return r;
|
|
30229
30235
|
if (n != null && n.aborted)
|
|
30230
30236
|
throw new Qw("The operation was aborted.", n.reason);
|
|
30231
|
-
const i = new
|
|
30237
|
+
const i = new Er(void 0, () => {
|
|
30232
30238
|
const l = this.pending.get(e);
|
|
30233
30239
|
if (!l)
|
|
30234
30240
|
return;
|
|
@@ -30600,7 +30606,7 @@ class Mc extends Yi.EventEmitter {
|
|
|
30600
30606
|
*/
|
|
30601
30607
|
constructor(e) {
|
|
30602
30608
|
var n, r, i, s, l, c, f;
|
|
30603
|
-
if (super(), n = this, this.state = qt.Disconnected, this.activeSpeakers = [], this.isE2EEEnabled = !1, this.audioEnabled = !0, this.e2eeStateMutex = new
|
|
30609
|
+
if (super(), n = this, this.state = qt.Disconnected, this.activeSpeakers = [], this.isE2EEEnabled = !1, this.audioEnabled = !0, this.e2eeStateMutex = new Rr(), this.isVideoPlaybackBlocked = !1, this.log = It, this.bufferedEvents = [], this.isResuming = !1, this.rpcHandlers = /* @__PURE__ */ new Map(), this.connect = (d, p, v) => H(this, void 0, void 0, function* () {
|
|
30604
30610
|
var y;
|
|
30605
30611
|
if (!AO())
|
|
30606
30612
|
throw Jo() ? Error("WebRTC isn't detected, have you called registerGlobals?") : Error("LiveKit doesn't seem to be supported on this browser. Try to update your browser and make sure no browser extensions are disabling webRTC.");
|
|
@@ -30645,7 +30651,7 @@ class Mc extends Yi.EventEmitter {
|
|
|
30645
30651
|
}
|
|
30646
30652
|
}
|
|
30647
30653
|
}), S = this.regionUrl;
|
|
30648
|
-
return this.regionUrl = void 0, this.connectFuture = new
|
|
30654
|
+
return this.regionUrl = void 0, this.connectFuture = new Er((R, O) => {
|
|
30649
30655
|
x(R, O, S);
|
|
30650
30656
|
}, () => {
|
|
30651
30657
|
this.clearConnectionFutures();
|
|
@@ -30940,7 +30946,7 @@ class Mc extends Yi.EventEmitter {
|
|
|
30940
30946
|
this.emit(Ae.ParticipantPermissionsChanged, d, this.localParticipant);
|
|
30941
30947
|
}, this.onLocalChatMessageSent = (d) => {
|
|
30942
30948
|
this.emit(Ae.ChatMessage, d, this.localParticipant);
|
|
30943
|
-
}, this.setMaxListeners(100), this.remoteParticipants = /* @__PURE__ */ new Map(), this.sidToIdentity = /* @__PURE__ */ new Map(), this.options = Object.assign(Object.assign({}, CL), e), this.log = yi((r = this.options.loggerName) !== null && r !== void 0 ? r :
|
|
30949
|
+
}, this.setMaxListeners(100), this.remoteParticipants = /* @__PURE__ */ new Map(), this.sidToIdentity = /* @__PURE__ */ new Map(), this.options = Object.assign(Object.assign({}, CL), e), this.log = yi((r = this.options.loggerName) !== null && r !== void 0 ? r : yr.Room, () => this.logContext), this.transcriptionReceivedTimes = /* @__PURE__ */ new Map(), this.options.audioCaptureDefaults = Object.assign(Object.assign({}, nE), e == null ? void 0 : e.audioCaptureDefaults), this.options.videoCaptureDefaults = Object.assign(Object.assign({}, rE), e == null ? void 0 : e.videoCaptureDefaults), this.options.publishDefaults = Object.assign(Object.assign({}, SL), e == null ? void 0 : e.publishDefaults), this.maybeCreateEngine(), this.incomingDataStreamManager = new ZL(), this.outgoingDataStreamManager = new t3(this.engine, this.log), this.incomingDataTrackManager = new u3({
|
|
30944
30950
|
e2eeManager: this.e2eeManager
|
|
30945
30951
|
}), this.incomingDataTrackManager.on("sfuUpdateSubscription", (d) => {
|
|
30946
30952
|
this.engine.client.sendUpdateDataSubscription(d.sid, d.subscribe);
|
|
@@ -30966,7 +30972,7 @@ class Mc extends Yi.EventEmitter {
|
|
|
30966
30972
|
bytes: v
|
|
30967
30973
|
} = d;
|
|
30968
30974
|
this.engine.sendLossyBytes(v, Ot.DATA_TRACK_LOSSY, "wait").finally(() => this.outgoingDataTrackManager.handlePacketSendComplete(p));
|
|
30969
|
-
}), this.disconnectLock = new
|
|
30975
|
+
}), this.disconnectLock = new Rr(), this.localParticipant = new b3("", "", this.engine, this.options, this.rpcHandlers, this.outgoingDataStreamManager, this.outgoingDataTrackManager), (this.options.e2ee || this.options.encryption) && this.setupE2EE(), this.engine.e2eeManager = this.e2eeManager, this.incomingDataTrackManager.updateE2eeManager((i = this.e2eeManager) !== null && i !== void 0 ? i : null), this.outgoingDataTrackManager.updateE2eeManager((s = this.e2eeManager) !== null && s !== void 0 ? s : null), this.options.videoCaptureDefaults.deviceId && this.localParticipant.activeDeviceMap.set("videoinput", cl(this.options.videoCaptureDefaults.deviceId)), this.options.audioCaptureDefaults.deviceId && this.localParticipant.activeDeviceMap.set("audioinput", cl(this.options.audioCaptureDefaults.deviceId)), !((l = this.options.audioOutput) === null || l === void 0) && l.deviceId && this.switchActiveDevice("audiooutput", cl(this.options.audioOutput.deviceId)).catch((d) => this.log.warn("Could not set audio output: ".concat(d.message))), gi()) {
|
|
30970
30976
|
const d = new AbortController();
|
|
30971
30977
|
(f = (c = navigator.mediaDevices) === null || c === void 0 ? void 0 : c.addEventListener) === null || f === void 0 || f.call(c, "devicechange", this.handleDeviceChange, {
|
|
30972
30978
|
signal: d.signal
|
|
@@ -31188,7 +31194,7 @@ class Mc extends Yi.EventEmitter {
|
|
|
31188
31194
|
*/
|
|
31189
31195
|
static getLocalDevices(e) {
|
|
31190
31196
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
31191
|
-
return
|
|
31197
|
+
return vr.getInstance().getDevices(e, n);
|
|
31192
31198
|
}
|
|
31193
31199
|
/**
|
|
31194
31200
|
* prepareConnection should be called as soon as the page is loaded, in order
|
|
@@ -31415,7 +31421,7 @@ class Mc extends Yi.EventEmitter {
|
|
|
31415
31421
|
} else if (r === "audiooutput") {
|
|
31416
31422
|
if (S = !0, !pv() && !s.options.webAudioMix || s.options.webAudioMix && s.audioContext && !("setSinkId" in s.audioContext))
|
|
31417
31423
|
throw new Error("cannot switch audio output, the current browser does not support it");
|
|
31418
|
-
s.options.webAudioMix && (i = (d = yield
|
|
31424
|
+
s.options.webAudioMix && (i = (d = yield vr.getInstance().normalizeDeviceId("audiooutput", i)) !== null && d !== void 0 ? d : ""), (p = (T = s.options).audioOutput) !== null && p !== void 0 || (T.audioOutput = {});
|
|
31419
31425
|
const O = (v = s.getActiveDevice(r)) !== null && v !== void 0 ? v : s.options.audioOutput.deviceId;
|
|
31420
31426
|
s.options.audioOutput.deviceId = i;
|
|
31421
31427
|
try {
|
|
@@ -31577,7 +31583,7 @@ class Mc extends Yi.EventEmitter {
|
|
|
31577
31583
|
selectDefaultDevices() {
|
|
31578
31584
|
return H(this, void 0, void 0, function* () {
|
|
31579
31585
|
var e, n, r;
|
|
31580
|
-
const i =
|
|
31586
|
+
const i = vr.getInstance().previousDevices, s = yield vr.getInstance().getDevices(void 0, !1), l = ri();
|
|
31581
31587
|
if ((l == null ? void 0 : l.name) === "Chrome" && l.os !== "iOS")
|
|
31582
31588
|
for (let f of s) {
|
|
31583
31589
|
const d = i.find((p) => p.deviceId === f.deviceId);
|
|
@@ -34206,11 +34212,11 @@ function ND(t, e) {
|
|
|
34206
34212
|
}
|
|
34207
34213
|
}
|
|
34208
34214
|
const AE = Object.entries, lk = Object.setPrototypeOf, FD = Object.isFrozen, UD = Object.getPrototypeOf, jD = Object.getOwnPropertyDescriptor;
|
|
34209
|
-
let
|
|
34210
|
-
|
|
34215
|
+
let _r = Object.freeze, Pr = Object.seal, cc = Object.create, OE = typeof Reflect < "u" && Reflect, _v = OE.apply, xv = OE.construct;
|
|
34216
|
+
_r || (_r = function(e) {
|
|
34211
34217
|
return e;
|
|
34212
34218
|
});
|
|
34213
|
-
|
|
34219
|
+
Pr || (Pr = function(e) {
|
|
34214
34220
|
return e;
|
|
34215
34221
|
});
|
|
34216
34222
|
_v || (_v = function(e, n) {
|
|
@@ -34223,7 +34229,7 @@ xv || (xv = function(e) {
|
|
|
34223
34229
|
r[i - 1] = arguments[i];
|
|
34224
34230
|
return new e(...r);
|
|
34225
34231
|
});
|
|
34226
|
-
const Tu = er(Array.prototype.forEach), BD = er(Array.prototype.lastIndexOf), ck = er(Array.prototype.pop), ac = er(Array.prototype.push), VD = er(Array.prototype.splice), sa = Array.isArray, Pu = er(String.prototype.toLowerCase), Rg = er(String.prototype.toString), uk = er(String.prototype.match), Eu = er(String.prototype.replace), dk = er(String.prototype.indexOf), zD = er(String.prototype.trim), HD = er(Number.prototype.toString), WD = er(Boolean.prototype.toString), fk = typeof BigInt > "u" ? null : er(BigInt.prototype.toString), hk = typeof Symbol > "u" ? null : er(Symbol.prototype.toString), hr = er(Object.prototype.hasOwnProperty), _u = er(Object.prototype.toString),
|
|
34232
|
+
const Tu = er(Array.prototype.forEach), BD = er(Array.prototype.lastIndexOf), ck = er(Array.prototype.pop), ac = er(Array.prototype.push), VD = er(Array.prototype.splice), sa = Array.isArray, Pu = er(String.prototype.toLowerCase), Rg = er(String.prototype.toString), uk = er(String.prototype.match), Eu = er(String.prototype.replace), dk = er(String.prototype.indexOf), zD = er(String.prototype.trim), HD = er(Number.prototype.toString), WD = er(Boolean.prototype.toString), fk = typeof BigInt > "u" ? null : er(BigInt.prototype.toString), hk = typeof Symbol > "u" ? null : er(Symbol.prototype.toString), hr = er(Object.prototype.hasOwnProperty), _u = er(Object.prototype.toString), Tr = er(RegExp.prototype.test), Ja = $D(TypeError);
|
|
34227
34233
|
function er(t) {
|
|
34228
34234
|
return function(e) {
|
|
34229
34235
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -34315,18 +34321,18 @@ function qo(t, e) {
|
|
|
34315
34321
|
}
|
|
34316
34322
|
function KD(t) {
|
|
34317
34323
|
try {
|
|
34318
|
-
return
|
|
34324
|
+
return Tr(t, ""), !0;
|
|
34319
34325
|
} catch {
|
|
34320
34326
|
return !1;
|
|
34321
34327
|
}
|
|
34322
34328
|
}
|
|
34323
|
-
const pk =
|
|
34329
|
+
const pk = _r(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Pg = _r(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ig = _r(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), YD = _r(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Mg = _r(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), XD = _r(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mk = _r(["#text"]), gk = _r(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), Ag = _r(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), vk = _r(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Uf = _r(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), JD = Pr(/{{[\w\W]*|^[\w\W]*}}/g), ZD = Pr(/<%[\w\W]*|^[\w\W]*%>/g), QD = Pr(/\${[\w\W]*/g), eN = Pr(/^data-[\-\w.\u00B7-\uFFFF]+$/), tN = Pr(/^aria-[\-\w]+$/), yk = Pr(
|
|
34324
34330
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
34325
34331
|
// eslint-disable-line no-useless-escape
|
|
34326
|
-
), nN =
|
|
34332
|
+
), nN = Pr(/^(?:\w+script|data):/i), rN = Pr(
|
|
34327
34333
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
34328
34334
|
// eslint-disable-line no-control-regex
|
|
34329
|
-
), iN =
|
|
34335
|
+
), iN = Pr(/^html$/i), oN = Pr(/^[a-z][.\w]*(-[.\w]+)+$/i), bk = Pr(/<[/\w!]/g), sN = Pr(/<[/\w]/g), aN = Pr(/<\/no(script|embed|frames)/i), lN = Pr(/\/>/i), Ho = {
|
|
34330
34336
|
element: 1,
|
|
34331
34337
|
attribute: 2,
|
|
34332
34338
|
text: 3,
|
|
@@ -34500,12 +34506,12 @@ function LE() {
|
|
|
34500
34506
|
let Ut = null;
|
|
34501
34507
|
const nn = Vt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), rn = "http://www.w3.org/1998/Math/MathML", st = "http://www.w3.org/2000/svg", on = "http://www.w3.org/1999/xhtml";
|
|
34502
34508
|
let Kt = on, kt = !1, In = null;
|
|
34503
|
-
const lr = Vt({}, [rn, st, on], Rg),
|
|
34504
|
-
let Mi = Vt({},
|
|
34505
|
-
const Ke =
|
|
34509
|
+
const lr = Vt({}, [rn, st, on], Rg), Ir = _r(["mi", "mo", "mn", "ms", "mtext"]);
|
|
34510
|
+
let Mi = Vt({}, Ir);
|
|
34511
|
+
const Ke = _r(["annotation-xml"]);
|
|
34506
34512
|
let oi = Vt({}, Ke);
|
|
34507
34513
|
const _o = Vt({}, ["title", "style", "font", "a", "script"]);
|
|
34508
|
-
let
|
|
34514
|
+
let br = null;
|
|
34509
34515
|
const bi = ["application/xhtml+xml", "text/html"], Os = "text/html";
|
|
34510
34516
|
let sn = null, Fn = null;
|
|
34511
34517
|
const xo = n.createElement("form"), Ji = function(z) {
|
|
@@ -34514,8 +34520,8 @@ function LE() {
|
|
|
34514
34520
|
let z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
34515
34521
|
if (Fn && Fn === z)
|
|
34516
34522
|
return;
|
|
34517
|
-
(!z || typeof z != "object") && (z = {}), z = Zr(z),
|
|
34518
|
-
bi.indexOf(z.PARSER_MEDIA_TYPE) === -1 ? Os : z.PARSER_MEDIA_TYPE, sn =
|
|
34523
|
+
(!z || typeof z != "object") && (z = {}), z = Zr(z), br = // eslint-disable-next-line unicorn/prefer-includes
|
|
34524
|
+
bi.indexOf(z.PARSER_MEDIA_TYPE) === -1 ? Os : z.PARSER_MEDIA_TYPE, sn = br === "application/xhtml+xml" ? Rg : Pu, ut = ia(z, "ALLOWED_TAGS", an, {
|
|
34519
34525
|
transform: sn
|
|
34520
34526
|
}), bt = ia(z, "ALLOWED_ATTR", Tn, {
|
|
34521
34527
|
transform: sn
|
|
@@ -34533,9 +34539,9 @@ function LE() {
|
|
|
34533
34539
|
transform: sn
|
|
34534
34540
|
}), En = ia(z, "FORBID_ATTR", Zr({}), {
|
|
34535
34541
|
transform: sn
|
|
34536
|
-
}), Mt = hr(z, "USE_PROFILES") ? z.USE_PROFILES && typeof z.USE_PROFILES == "object" ? Zr(z.USE_PROFILES) : z.USE_PROFILES : !1, tr = z.ALLOW_ARIA_ATTR !== !1, Nn = z.ALLOW_DATA_ATTR !== !1, Ct = z.ALLOW_UNKNOWN_PROTOCOLS || !1, kn = z.ALLOW_SELF_CLOSE_IN_ATTR !== !1, De = z.SAFE_FOR_TEMPLATES || !1, Ue = z.SAFE_FOR_XML !== !1, Rt = z.WHOLE_DOCUMENT || !1, ne = z.RETURN_DOM || !1, le = z.RETURN_DOM_FRAGMENT || !1, Se = z.RETURN_TRUSTED_TYPE || !1, j = z.FORCE_BODY || !1, qe = z.SANITIZE_DOM !== !1, at = z.SANITIZE_NAMED_PROPS || !1, ht = z.KEEP_CONTENT !== !1, et = z.IN_PLACE || !1, rt = KD(z.ALLOWED_URI_REGEXP) ? z.ALLOWED_URI_REGEXP : yk, Kt = typeof z.NAMESPACE == "string" ? z.NAMESPACE : on, Mi = hr(z, "MATHML_TEXT_INTEGRATION_POINTS") && z.MATHML_TEXT_INTEGRATION_POINTS && typeof z.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Zr(z.MATHML_TEXT_INTEGRATION_POINTS) : Vt({},
|
|
34542
|
+
}), Mt = hr(z, "USE_PROFILES") ? z.USE_PROFILES && typeof z.USE_PROFILES == "object" ? Zr(z.USE_PROFILES) : z.USE_PROFILES : !1, tr = z.ALLOW_ARIA_ATTR !== !1, Nn = z.ALLOW_DATA_ATTR !== !1, Ct = z.ALLOW_UNKNOWN_PROTOCOLS || !1, kn = z.ALLOW_SELF_CLOSE_IN_ATTR !== !1, De = z.SAFE_FOR_TEMPLATES || !1, Ue = z.SAFE_FOR_XML !== !1, Rt = z.WHOLE_DOCUMENT || !1, ne = z.RETURN_DOM || !1, le = z.RETURN_DOM_FRAGMENT || !1, Se = z.RETURN_TRUSTED_TYPE || !1, j = z.FORCE_BODY || !1, qe = z.SANITIZE_DOM !== !1, at = z.SANITIZE_NAMED_PROPS || !1, ht = z.KEEP_CONTENT !== !1, et = z.IN_PLACE || !1, rt = KD(z.ALLOWED_URI_REGEXP) ? z.ALLOWED_URI_REGEXP : yk, Kt = typeof z.NAMESPACE == "string" ? z.NAMESPACE : on, Mi = hr(z, "MATHML_TEXT_INTEGRATION_POINTS") && z.MATHML_TEXT_INTEGRATION_POINTS && typeof z.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Zr(z.MATHML_TEXT_INTEGRATION_POINTS) : Vt({}, Ir), oi = hr(z, "HTML_INTEGRATION_POINTS") && z.HTML_INTEGRATION_POINTS && typeof z.HTML_INTEGRATION_POINTS == "object" ? Zr(z.HTML_INTEGRATION_POINTS) : Vt({}, Ke);
|
|
34537
34543
|
const ae = hr(z, "CUSTOM_ELEMENT_HANDLING") && z.CUSTOM_ELEMENT_HANDLING && typeof z.CUSTOM_ELEMENT_HANDLING == "object" ? Zr(z.CUSTOM_ELEMENT_HANDLING) : cc(null);
|
|
34538
|
-
if (xt = cc(null), hr(ae, "tagNameCheck") && Ji(ae.tagNameCheck) && (xt.tagNameCheck = ae.tagNameCheck), hr(ae, "attributeNameCheck") && Ji(ae.attributeNameCheck) && (xt.attributeNameCheck = ae.attributeNameCheck), hr(ae, "allowCustomizedBuiltInElements") && typeof ae.allowCustomizedBuiltInElements == "boolean" && (xt.allowCustomizedBuiltInElements = ae.allowCustomizedBuiltInElements),
|
|
34544
|
+
if (xt = cc(null), hr(ae, "tagNameCheck") && Ji(ae.tagNameCheck) && (xt.tagNameCheck = ae.tagNameCheck), hr(ae, "attributeNameCheck") && Ji(ae.attributeNameCheck) && (xt.attributeNameCheck = ae.attributeNameCheck), hr(ae, "allowCustomizedBuiltInElements") && typeof ae.allowCustomizedBuiltInElements == "boolean" && (xt.allowCustomizedBuiltInElements = ae.allowCustomizedBuiltInElements), Pr(xt), De && (Nn = !1), le && (ne = !0), Mt && (ut = Vt({}, mk), bt = cc(null), Mt.html === !0 && (Vt(ut, pk), Vt(bt, gk)), Mt.svg === !0 && (Vt(ut, Pg), Vt(bt, Ag), Vt(bt, Uf)), Mt.svgFilters === !0 && (Vt(ut, Ig), Vt(bt, Ag), Vt(bt, Uf)), Mt.mathMl === !0 && (Vt(ut, Mg), Vt(bt, vk), Vt(bt, Uf))), tn.tagCheck = null, tn.attributeCheck = null, hr(z, "ADD_TAGS") && (typeof z.ADD_TAGS == "function" ? tn.tagCheck = z.ADD_TAGS : sa(z.ADD_TAGS) && (ut === an && (ut = Zr(ut)), Vt(ut, z.ADD_TAGS, sn))), hr(z, "ADD_ATTR") && (typeof z.ADD_ATTR == "function" ? tn.attributeCheck = z.ADD_ATTR : sa(z.ADD_ATTR) && (bt === Tn && (bt = Zr(bt)), Vt(bt, z.ADD_ATTR, sn))), hr(z, "ADD_URI_SAFE_ATTR") && sa(z.ADD_URI_SAFE_ATTR) && Vt(Ut, z.ADD_URI_SAFE_ATTR, sn), hr(z, "FORBID_CONTENTS") && sa(z.FORBID_CONTENTS) && (Tt === wt && (Tt = Zr(Tt)), Vt(Tt, z.FORBID_CONTENTS, sn)), hr(z, "ADD_FORBID_CONTENTS") && sa(z.ADD_FORBID_CONTENTS) && (Tt === wt && (Tt = Zr(Tt)), Vt(Tt, z.ADD_FORBID_CONTENTS, sn)), ht && (ut["#text"] = !0), Rt && Vt(ut, ["html", "head", "body"]), ut.table && (Vt(ut, ["tbody"]), delete wn.tbody), z.TRUSTED_TYPES_POLICY) {
|
|
34539
34545
|
if (typeof z.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
34540
34546
|
throw Ja('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
34541
34547
|
if (typeof z.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -34548,7 +34554,7 @@ function LE() {
|
|
|
34548
34554
|
throw U = Fe, Qe;
|
|
34549
34555
|
}
|
|
34550
34556
|
} else z.TRUSTED_TYPES_POLICY === null ? (U = void 0, W = "") : (U === void 0 && (U = we()), U && typeof W == "string" && (W = te("")));
|
|
34551
|
-
|
|
34557
|
+
_r && _r(z), Fn = z;
|
|
34552
34558
|
}, Ls = Vt({}, [...Pg, ...Ig, ...YD]), si = Vt({}, [...Mg, ...XD]), Sa = function(z, ae, Fe) {
|
|
34553
34559
|
return ae.namespaceURI === on ? z === "svg" : ae.namespaceURI === rn ? z === "svg" && (Fe === "annotation-xml" || Mi[Fe]) : !!Ls[z];
|
|
34554
34560
|
}, vl = function(z, ae, Fe) {
|
|
@@ -34562,7 +34568,7 @@ function LE() {
|
|
|
34562
34568
|
tagName: "template"
|
|
34563
34569
|
});
|
|
34564
34570
|
const Fe = Pu(z.tagName), Qe = Pu(ae.tagName);
|
|
34565
|
-
return In[z.namespaceURI] ? z.namespaceURI === st ? Sa(Fe, ae, Qe) : z.namespaceURI === rn ? vl(Fe, ae, Qe) : z.namespaceURI === on ? Fc(Fe, ae, Qe) : !!(
|
|
34571
|
+
return In[z.namespaceURI] ? z.namespaceURI === st ? Sa(Fe, ae, Qe) : z.namespaceURI === rn ? vl(Fe, ae, Qe) : z.namespaceURI === on ? Fc(Fe, ae, Qe) : !!(br === "application/xhtml+xml" && In[z.namespaceURI]) : !1;
|
|
34566
34572
|
}, zt = function(z) {
|
|
34567
34573
|
ac(e.removed, {
|
|
34568
34574
|
element: z
|
|
@@ -34648,11 +34654,11 @@ function LE() {
|
|
|
34648
34654
|
const At = uk(z, /^[\r\n\t ]+/);
|
|
34649
34655
|
Fe = At && At[0];
|
|
34650
34656
|
}
|
|
34651
|
-
|
|
34657
|
+
br === "application/xhtml+xml" && Kt === on && (z = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + z + "</body></html>");
|
|
34652
34658
|
const Qe = U ? te(z) : z;
|
|
34653
34659
|
if (Kt === on)
|
|
34654
34660
|
try {
|
|
34655
|
-
ae = new p().parseFromString(Qe,
|
|
34661
|
+
ae = new p().parseFromString(Qe, br);
|
|
34656
34662
|
} catch {
|
|
34657
34663
|
}
|
|
34658
34664
|
if (!ae || !ae.documentElement) {
|
|
@@ -34674,7 +34680,7 @@ function LE() {
|
|
|
34674
34680
|
);
|
|
34675
34681
|
}, Ai = function(z) {
|
|
34676
34682
|
return z = Eu(z, G, " "), z = Eu(z, X, " "), z = Eu(z, ie, " "), z;
|
|
34677
|
-
},
|
|
34683
|
+
}, wr = function(z) {
|
|
34678
34684
|
var ae;
|
|
34679
34685
|
z.normalize();
|
|
34680
34686
|
const Fe = xe.call(
|
|
@@ -34689,7 +34695,7 @@ function LE() {
|
|
|
34689
34695
|
Qe.data = Ai(Qe.data), Qe = Fe.nextNode();
|
|
34690
34696
|
const gt = (ae = z.querySelectorAll) === null || ae === void 0 ? void 0 : ae.call(z, "template");
|
|
34691
34697
|
gt && Tu(gt, (At) => {
|
|
34692
|
-
$n(At.content) &&
|
|
34698
|
+
$n(At.content) && wr(At.content);
|
|
34693
34699
|
});
|
|
34694
34700
|
}, Oi = function(z) {
|
|
34695
34701
|
const ae = N ? N(z) : null;
|
|
@@ -34740,9 +34746,9 @@ function LE() {
|
|
|
34740
34746
|
});
|
|
34741
34747
|
}
|
|
34742
34748
|
const ts = function(z, ae) {
|
|
34743
|
-
return !!(Ue && z.hasChildNodes() && !Wr(z.firstElementChild) &&
|
|
34749
|
+
return !!(Ue && z.hasChildNodes() && !Wr(z.firstElementChild) && Tr(bk, z.textContent) && Tr(bk, z.innerHTML) || Ue && z.namespaceURI === on && ae === "style" && Wr(z.firstElementChild) || z.nodeType === Ho.processingInstruction || Ue && z.nodeType === Ho.comment && Tr(sN, z.data));
|
|
34744
34750
|
}, wi = function(z, ae) {
|
|
34745
|
-
if (!wn[ae] &&
|
|
34751
|
+
if (!wn[ae] && Mr(ae) && (xt.tagNameCheck instanceof RegExp && Tr(xt.tagNameCheck, ae) || xt.tagNameCheck instanceof Function && xt.tagNameCheck(ae)))
|
|
34746
34752
|
return !1;
|
|
34747
34753
|
if (ht && !Tt[ae]) {
|
|
34748
34754
|
const Fe = O(z), Qe = R(z);
|
|
@@ -34766,7 +34772,7 @@ function LE() {
|
|
|
34766
34772
|
return zt(z), !0;
|
|
34767
34773
|
if (wn[ae] || !(tn.tagCheck instanceof Function && tn.tagCheck(ae)) && !ut[ae])
|
|
34768
34774
|
return wi(z, ae);
|
|
34769
|
-
if ((P ? P(z) : z.nodeType) === Ho.element && !Ca(z) || (ae === "noscript" || ae === "noembed" || ae === "noframes") &&
|
|
34775
|
+
if ((P ? P(z) : z.nodeType) === Ho.element && !Ca(z) || (ae === "noscript" || ae === "noembed" || ae === "noframes") && Tr(aN, z.innerHTML))
|
|
34770
34776
|
return zt(z), !0;
|
|
34771
34777
|
if (De && z.nodeType === Ho.text) {
|
|
34772
34778
|
const Qe = Ai(z.textContent);
|
|
@@ -34779,13 +34785,13 @@ function LE() {
|
|
|
34779
34785
|
if (En[ae] || qe && (ae === "id" || ae === "name") && (Fe in n || Fe in xo))
|
|
34780
34786
|
return !1;
|
|
34781
34787
|
const Qe = bt[ae] || tn.attributeCheck instanceof Function && tn.attributeCheck(ae, z);
|
|
34782
|
-
if (!(Nn &&
|
|
34783
|
-
if (!(tr &&
|
|
34788
|
+
if (!(Nn && Tr(Te, ae))) {
|
|
34789
|
+
if (!(tr && Tr(Ee, ae))) {
|
|
34784
34790
|
if (Qe) {
|
|
34785
34791
|
if (!Ut[ae]) {
|
|
34786
|
-
if (!
|
|
34792
|
+
if (!Tr(rt, Eu(Fe, je, ""))) {
|
|
34787
34793
|
if (!((ae === "src" || ae === "xlink:href" || ae === "href") && z !== "script" && dk(Fe, "data:") === 0 && Pt[z])) {
|
|
34788
|
-
if (!(Ct && !
|
|
34794
|
+
if (!(Ct && !Tr(Ge, Eu(Fe, je, "")))) {
|
|
34789
34795
|
if (Fe)
|
|
34790
34796
|
return !1;
|
|
34791
34797
|
}
|
|
@@ -34796,15 +34802,15 @@ function LE() {
|
|
|
34796
34802
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
34797
34803
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
34798
34804
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
34799
|
-
!(
|
|
34805
|
+
!(Mr(z) && (xt.tagNameCheck instanceof RegExp && Tr(xt.tagNameCheck, z) || xt.tagNameCheck instanceof Function && xt.tagNameCheck(z)) && (xt.attributeNameCheck instanceof RegExp && Tr(xt.attributeNameCheck, ae) || xt.attributeNameCheck instanceof Function && xt.attributeNameCheck(ae, z)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
34800
34806
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
34801
|
-
ae === "is" && xt.allowCustomizedBuiltInElements && (xt.tagNameCheck instanceof RegExp &&
|
|
34807
|
+
ae === "is" && xt.allowCustomizedBuiltInElements && (xt.tagNameCheck instanceof RegExp && Tr(xt.tagNameCheck, Fe) || xt.tagNameCheck instanceof Function && xt.tagNameCheck(Fe)))
|
|
34802
34808
|
) return !1;
|
|
34803
34809
|
}
|
|
34804
34810
|
}
|
|
34805
34811
|
return !0;
|
|
34806
|
-
}, ft = Vt({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]),
|
|
34807
|
-
return !ft[Pu(z)] &&
|
|
34812
|
+
}, ft = Vt({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), Mr = function(z) {
|
|
34813
|
+
return !ft[Pu(z)] && Tr(Xe, z);
|
|
34808
34814
|
}, ki = function(z, ae, Fe, Qe) {
|
|
34809
34815
|
if (U && typeof v == "object" && typeof v.getAttributeType == "function" && !Fe)
|
|
34810
34816
|
switch (v.getAttributeType(z, ae)) {
|
|
@@ -34837,7 +34843,7 @@ function LE() {
|
|
|
34837
34843
|
for (; Qe--; ) {
|
|
34838
34844
|
const At = ae[Qe], fn = At.name, ln = At.namespaceURI, Yn = At.value, nr = sn(fn), qr = Yn;
|
|
34839
34845
|
let vn = fn === "value" ? qr : zD(qr);
|
|
34840
|
-
if (Fe.attrName = nr, Fe.attrValue = vn, Fe.keepAttr = !0, Fe.forceKeepAttr = void 0, $r(V.uponSanitizeAttribute, z, Fe), vn = Fe.attrValue, at && (nr === "id" || nr === "name") && dk(vn, We) !== 0 && (Wn(fn, z), vn = We + vn), Ue &&
|
|
34846
|
+
if (Fe.attrName = nr, Fe.attrValue = vn, Fe.keepAttr = !0, Fe.forceKeepAttr = void 0, $r(V.uponSanitizeAttribute, z, Fe), vn = Fe.attrValue, at && (nr === "id" || nr === "name") && dk(vn, We) !== 0 && (Wn(fn, z), vn = We + vn), Ue && Tr(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, vn)) {
|
|
34841
34847
|
Wn(fn, z);
|
|
34842
34848
|
continue;
|
|
34843
34849
|
}
|
|
@@ -34850,7 +34856,7 @@ function LE() {
|
|
|
34850
34856
|
Wn(fn, z);
|
|
34851
34857
|
continue;
|
|
34852
34858
|
}
|
|
34853
|
-
if (!kn &&
|
|
34859
|
+
if (!kn && Tr(lN, vn)) {
|
|
34854
34860
|
Wn(fn, z);
|
|
34855
34861
|
continue;
|
|
34856
34862
|
}
|
|
@@ -34953,9 +34959,9 @@ function LE() {
|
|
|
34953
34959
|
if (At)
|
|
34954
34960
|
return Tu(e.removed, (Yn) => {
|
|
34955
34961
|
Yn.element && Po(Yn.element);
|
|
34956
|
-
}), De &&
|
|
34962
|
+
}), De && wr(Ve), Ve;
|
|
34957
34963
|
if (ne) {
|
|
34958
|
-
if (De &&
|
|
34964
|
+
if (De && wr(ae), le)
|
|
34959
34965
|
for (gt = se.call(ae.ownerDocument); ae.firstChild; )
|
|
34960
34966
|
gt.appendChild(ae.firstChild);
|
|
34961
34967
|
else
|
|
@@ -34963,7 +34969,7 @@ function LE() {
|
|
|
34963
34969
|
return (bt.shadowroot || bt.shadowrootmode) && (gt = de.call(r, gt, !0)), gt;
|
|
34964
34970
|
}
|
|
34965
34971
|
let ln = Rt ? ae.outerHTML : ae.innerHTML;
|
|
34966
|
-
return Rt && ut["!doctype"] && ae.ownerDocument && ae.ownerDocument.doctype && ae.ownerDocument.doctype.name &&
|
|
34972
|
+
return Rt && ut["!doctype"] && ae.ownerDocument && ae.ownerDocument.doctype && ae.ownerDocument.doctype.name && Tr(iN, ae.ownerDocument.doctype.name) && (ln = "<!DOCTYPE " + ae.ownerDocument.doctype.name + `>
|
|
34967
34973
|
` + ln), De && (ln = Ai(ln)), U && Se ? te(ln) : ln;
|
|
34968
34974
|
}, e.setConfig = function() {
|
|
34969
34975
|
let Ve = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -37111,12 +37117,12 @@ const Y5 = (t) => t instanceof HTMLTextAreaElement ? { value: t.value } : t.type
|
|
|
37111
37117
|
case "navigation":
|
|
37112
37118
|
if (e.navigation != null)
|
|
37113
37119
|
e.navigation(
|
|
37114
|
-
i.action,
|
|
37115
|
-
i.destination,
|
|
37120
|
+
i.payload.action,
|
|
37121
|
+
i.payload.destination,
|
|
37116
37122
|
n.current.links
|
|
37117
37123
|
);
|
|
37118
37124
|
else if (e.automaticContext !== !1)
|
|
37119
|
-
switch (i.action) {
|
|
37125
|
+
switch (i.payload.action) {
|
|
37120
37126
|
case "page_next":
|
|
37121
37127
|
window.history.forward();
|
|
37122
37128
|
break;
|
|
@@ -37124,17 +37130,17 @@ const Y5 = (t) => t instanceof HTMLTextAreaElement ? { value: t.value } : t.type
|
|
|
37124
37130
|
window.history.back();
|
|
37125
37131
|
break;
|
|
37126
37132
|
case "page_custom":
|
|
37127
|
-
if (i.destination != null) {
|
|
37128
|
-
const s = n.current.links[i.destination];
|
|
37133
|
+
if (i.payload.destination != null) {
|
|
37134
|
+
const s = n.current.links[i.payload.destination];
|
|
37129
37135
|
if (s != null)
|
|
37130
37136
|
window.location.href = s;
|
|
37131
37137
|
else
|
|
37132
37138
|
try {
|
|
37133
|
-
new URL(i.destination), window.location.href = i.destination;
|
|
37139
|
+
new URL(i.payload.destination), window.location.href = i.payload.destination;
|
|
37134
37140
|
} catch {
|
|
37135
37141
|
Iu(
|
|
37136
37142
|
'Custom page navigation action received, but no URL found for destination".',
|
|
37137
|
-
i.destination
|
|
37143
|
+
i.payload.destination
|
|
37138
37144
|
);
|
|
37139
37145
|
}
|
|
37140
37146
|
}
|
|
@@ -37147,9 +37153,9 @@ const Y5 = (t) => t instanceof HTMLTextAreaElement ? { value: t.value } : t.type
|
|
|
37147
37153
|
break;
|
|
37148
37154
|
case "input":
|
|
37149
37155
|
(e == null ? void 0 : e.input) != null ? e.input(
|
|
37150
|
-
i.fields,
|
|
37156
|
+
i.payload.fields,
|
|
37151
37157
|
n.current.formElements
|
|
37152
|
-
) : (e == null ? void 0 : e.automaticContext) !== !1 && i.fields.forEach((s) => {
|
|
37158
|
+
) : (e == null ? void 0 : e.automaticContext) !== !1 && i.payload.fields.forEach((s) => {
|
|
37153
37159
|
if (n.current.formElements[s.id] != null) {
|
|
37154
37160
|
const l = n.current.formElements[s.id];
|
|
37155
37161
|
typeof s.value == "string" ? l.value = s.value : l instanceof HTMLInputElement && l.type === "checkbox" && (l.checked = s.value), l.classList.add("voice-updated"), l.dispatchEvent(new Event("input", { bubbles: !0 })), l.dispatchEvent(new Event("change", { bubbles: !0 })), setTimeout(() => {
|
|
@@ -37158,10 +37164,11 @@ const Y5 = (t) => t instanceof HTMLTextAreaElement ? { value: t.value } : t.type
|
|
|
37158
37164
|
}
|
|
37159
37165
|
});
|
|
37160
37166
|
break;
|
|
37161
|
-
case "custom":
|
|
37162
|
-
|
|
37167
|
+
case "custom": {
|
|
37168
|
+
const s = n.current.customCommands.get(
|
|
37163
37169
|
i.action
|
|
37164
|
-
)
|
|
37170
|
+
);
|
|
37171
|
+
s != null && s(i.payload), Iu(
|
|
37165
37172
|
`No custom command handler was defined for the %o action.
|
|
37166
37173
|
|
|
37167
37174
|
%cTip: Set up a handler with
|
|
@@ -37172,6 +37179,7 @@ setCustomBidirectionalCommands([{ action: "${i.action}", handler() { }}])`,
|
|
|
37172
37179
|
"bidirectional.custom is deprecated in automatic context mode. Please use `setCustomBidirectionalCommands` instead."
|
|
37173
37180
|
), e.custom(i.action, i.payload));
|
|
37174
37181
|
break;
|
|
37182
|
+
}
|
|
37175
37183
|
}
|
|
37176
37184
|
};
|
|
37177
37185
|
return t.addEventListener("voicePlusCommand", r), () => {
|
|
@@ -38006,7 +38014,7 @@ To resolve, you may need to:`,
|
|
|
38006
38014
|
} } }, on = (h, m) => {
|
|
38007
38015
|
var w = 0;
|
|
38008
38016
|
return h && (w |= 365), m && (w |= 146), w;
|
|
38009
|
-
}, Kt = null, kt = {}, In = [], lr = 1,
|
|
38017
|
+
}, Kt = null, kt = {}, In = [], lr = 1, Ir = null, Mi = !0, Ke = class {
|
|
38010
38018
|
constructor(h) {
|
|
38011
38019
|
this.name = "ErrnoError", this.$ = h;
|
|
38012
38020
|
}
|
|
@@ -38026,7 +38034,7 @@ To resolve, you may need to:`,
|
|
|
38026
38034
|
set position(h) {
|
|
38027
38035
|
this.h.position = h;
|
|
38028
38036
|
}
|
|
38029
|
-
},
|
|
38037
|
+
}, br = class {
|
|
38030
38038
|
constructor(h, m, w, C) {
|
|
38031
38039
|
h || (h = this), this.parent = h, this.U = h.U, this.Aa = null, this.id = lr++, this.name = m, this.mode = w, this.j = {}, this.m = {}, this.Da = C;
|
|
38032
38040
|
}
|
|
@@ -38071,13 +38079,13 @@ To resolve, you may need to:`,
|
|
|
38071
38079
|
function sn(h, m) {
|
|
38072
38080
|
for (var w = 0, C = 0; C < m.length; C++)
|
|
38073
38081
|
w = (w << 5) - w + m.charCodeAt(C) | 0;
|
|
38074
|
-
return (h + w >>> 0) %
|
|
38082
|
+
return (h + w >>> 0) % Ir.length;
|
|
38075
38083
|
}
|
|
38076
38084
|
function Fn(h, m) {
|
|
38077
38085
|
var w = (h.mode & 61440) === 16384 ? (w = Ro(h, "x")) ? w : h.j.ka ? 0 : 2 : 54;
|
|
38078
38086
|
if (w)
|
|
38079
38087
|
throw new Ke(w);
|
|
38080
|
-
for (w =
|
|
38088
|
+
for (w = Ir[sn(h.id, m)]; w; w = w.$b) {
|
|
38081
38089
|
var C = w.name;
|
|
38082
38090
|
if (w.parent.id === h.id && C === m)
|
|
38083
38091
|
return w;
|
|
@@ -38085,7 +38093,7 @@ To resolve, you may need to:`,
|
|
|
38085
38093
|
return h.j.ka(h, m);
|
|
38086
38094
|
}
|
|
38087
38095
|
function xo(h, m, w, C) {
|
|
38088
|
-
return h = new
|
|
38096
|
+
return h = new br(h, m, w, C), m = sn(h.parent.id, h.name), h.$b = Ir[m], Ir[m] = h;
|
|
38089
38097
|
}
|
|
38090
38098
|
function Ji(h) {
|
|
38091
38099
|
var m = ["r", "w", "rw"][h & 3];
|
|
@@ -38239,7 +38247,7 @@ To resolve, you may need to:`,
|
|
|
38239
38247
|
throw new Ke(28);
|
|
38240
38248
|
h.position = h.m.aa(h, m, w), h.mc = [];
|
|
38241
38249
|
}
|
|
38242
|
-
var
|
|
38250
|
+
var wr;
|
|
38243
38251
|
function Oi(h, m, w) {
|
|
38244
38252
|
h = _("/dev/" + h);
|
|
38245
38253
|
var C = on(!!m, !!w);
|
|
@@ -38274,7 +38282,7 @@ To resolve, you may need to:`,
|
|
|
38274
38282
|
return me && (F.node.timestamp = Date.now()), pe;
|
|
38275
38283
|
} }), es(h, C, M);
|
|
38276
38284
|
}
|
|
38277
|
-
var $n, Wr = {}, $r, ts = void 0, wi = (h, m) => Object.defineProperty(m, "name", { value: h }), Zi = [], cr = [], ft,
|
|
38285
|
+
var $n, Wr = {}, $r, ts = void 0, wi = (h, m) => Object.defineProperty(m, "name", { value: h }), Zi = [], cr = [], ft, Mr = (h) => {
|
|
38278
38286
|
if (!h)
|
|
38279
38287
|
throw new ft("Cannot use deleted val. handle = " + h);
|
|
38280
38288
|
return cr[h];
|
|
@@ -38347,7 +38355,7 @@ To resolve, you may need to:`,
|
|
|
38347
38355
|
function Us(h) {
|
|
38348
38356
|
return this.fromWireType(ie[h >> 2]);
|
|
38349
38357
|
}
|
|
38350
|
-
var Di = {}, bl = {},
|
|
38358
|
+
var Di = {}, bl = {}, Ar = (h, m, w) => {
|
|
38351
38359
|
function C(Q) {
|
|
38352
38360
|
if (Q = w(Q), Q.length !== h.length)
|
|
38353
38361
|
throw new ai("Mismatched type converter count");
|
|
@@ -38506,12 +38514,12 @@ To resolve, you may need to:`,
|
|
|
38506
38514
|
if (typeof w != "function")
|
|
38507
38515
|
throw new ft(`unknown function pointer with signature ${h}: ${m}`);
|
|
38508
38516
|
return w;
|
|
38509
|
-
},
|
|
38517
|
+
}, Or, Lr = (h, m) => {
|
|
38510
38518
|
function w(F) {
|
|
38511
38519
|
M[F] || gt[F] || (bl[F] ? bl[F].forEach(w) : (C.push(F), M[F] = !0));
|
|
38512
38520
|
}
|
|
38513
38521
|
var C = [], M = {};
|
|
38514
|
-
throw m.forEach(w), new
|
|
38522
|
+
throw m.forEach(w), new Or(`${h}: ` + C.map(At).join([", "]));
|
|
38515
38523
|
};
|
|
38516
38524
|
function Vc(h) {
|
|
38517
38525
|
for (var m = 1; m < h.length; ++m)
|
|
@@ -38562,7 +38570,7 @@ To resolve, you may need to:`,
|
|
|
38562
38570
|
}, rs = (h) => {
|
|
38563
38571
|
9 < h && --cr[h + 1] === 0 && (cr[h] = void 0, Zi.push(h));
|
|
38564
38572
|
}, Pl = { name: "emscripten::val", fromWireType: (h) => {
|
|
38565
|
-
var m =
|
|
38573
|
+
var m = Mr(h);
|
|
38566
38574
|
return rs(h), m;
|
|
38567
38575
|
}, toWireType: (h, m) => ki(m), argPackAdvance: 8, readValueFromPointer: Us, L: null }, md = (h, m, w) => {
|
|
38568
38576
|
switch (m) {
|
|
@@ -38895,7 +38903,7 @@ To resolve, you may need to:`,
|
|
|
38895
38903
|
};
|
|
38896
38904
|
[44].forEach((h) => {
|
|
38897
38905
|
oi[h] = new Ke(h), oi[h].stack = "<generic error, no stack>";
|
|
38898
|
-
}),
|
|
38906
|
+
}), Ir = Array(4096), zt(st, "/"), Wn("/tmp"), Wn("/home"), Wn("/home/web_user"), (function() {
|
|
38899
38907
|
Wn("/dev"), Ca(259, { read: () => 0, write: (C, M, F, J) => J }), es("/dev/null", 259), Pt(1280, Ut), Pt(1536, nn), es("/dev/tty", 1280), es("/dev/tty1", 1536);
|
|
38900
38908
|
var h = new Uint8Array(1024), m = 0, w = () => (m === 0 && (m = Se(h).byteLength), h[--m]);
|
|
38901
38909
|
Oi("random", w), Oi("urandom", w), Wn("/dev/shm"), Wn("/dev/shm/tmp");
|
|
@@ -38914,8 +38922,8 @@ To resolve, you may need to:`,
|
|
|
38914
38922
|
super(h), this.name = "BindingError";
|
|
38915
38923
|
}
|
|
38916
38924
|
}, cr.push(0, 1, void 0, 1, null, 1, !0, 1, !1, 1), S.count_emval_handles = () => cr.length / 2 - 5 - Zi.length, Fs = S.PureVirtualError = Ns("PureVirtualError");
|
|
38917
|
-
for (var Md = Array(256),
|
|
38918
|
-
Md[
|
|
38925
|
+
for (var Md = Array(256), Dr = 0; 256 > Dr; ++Dr)
|
|
38926
|
+
Md[Dr] = String.fromCharCode(Dr);
|
|
38919
38927
|
Qi = Md, S.getInheritedInstanceCount = () => Object.keys(Fe).length, S.getLiveInheritedInstances = () => {
|
|
38920
38928
|
var h = [], m;
|
|
38921
38929
|
for (m in Fe)
|
|
@@ -38975,7 +38983,7 @@ To resolve, you may need to:`,
|
|
|
38975
38983
|
C = this.ua ? C.Gb : C.pointerType;
|
|
38976
38984
|
var M = nr(w, this.i, C.i);
|
|
38977
38985
|
return M === null ? m.call(this) : this.va ? Mo(C.i.M, { u: C, o: M, J: this, D: h }) : Mo(C.i.M, { u: C, o: M });
|
|
38978
|
-
} }),
|
|
38986
|
+
} }), Or = S.UnboundTypeError = Ns("UnboundTypeError");
|
|
38979
38987
|
for (var Ce, Nl = 0; 32 > Nl; ++Nl)
|
|
38980
38988
|
La.push(Array(Nl));
|
|
38981
38989
|
var Kc = { __syscall_fcntl64: function(h, m, w) {
|
|
@@ -39085,7 +39093,7 @@ To resolve, you may need to:`,
|
|
|
39085
39093
|
}, _abort_js: () => {
|
|
39086
39094
|
Tn("");
|
|
39087
39095
|
}, _embind_create_inheriting_constructor: (h, m, w) => {
|
|
39088
|
-
h = Gt(h), m = fn(m, "wrapper"), w =
|
|
39096
|
+
h = Gt(h), m = fn(m, "wrapper"), w = Mr(w);
|
|
39089
39097
|
var C = m.i, M = C.M, F = C.B.M, J = C.B.constructor;
|
|
39090
39098
|
return h = wi(h, function(...Q) {
|
|
39091
39099
|
C.B.ob.forEach((function(me) {
|
|
@@ -39114,7 +39122,7 @@ To resolve, you may need to:`,
|
|
|
39114
39122
|
var m = Si[h];
|
|
39115
39123
|
delete Si[h];
|
|
39116
39124
|
var w = m.Ta, C = m.O, M = m.eb, F = M.map((J) => J.Rb).concat(M.map((J) => J.dc));
|
|
39117
|
-
|
|
39125
|
+
Ar([h], F, (J) => {
|
|
39118
39126
|
var Q = {};
|
|
39119
39127
|
return M.forEach((me, pe) => {
|
|
39120
39128
|
var Pe = J[pe], Ze = me.Pb, it = me.Qb, ge = J[pe + M.length], Ie = me.cc, Be = me.ec;
|
|
@@ -39150,8 +39158,8 @@ To resolve, you may need to:`,
|
|
|
39150
39158
|
Pe = Gt(Pe), F = rr(M, F), Q && (Q = rr(J, Q)), pe && (pe = rr(me, pe)), it = rr(Ze, it);
|
|
39151
39159
|
var ge = kl(Pe);
|
|
39152
39160
|
Oo(ge, function() {
|
|
39153
|
-
|
|
39154
|
-
}),
|
|
39161
|
+
Lr(`Cannot construct ${Pe} due to unbound types`, [C]);
|
|
39162
|
+
}), Ar([h, m, w], C ? [C] : [], (Ie) => {
|
|
39155
39163
|
if (Ie = Ie[0], C)
|
|
39156
39164
|
var Be = Ie.i, ct = Be.M;
|
|
39157
39165
|
else
|
|
@@ -39177,15 +39185,15 @@ To resolve, you may need to:`,
|
|
|
39177
39185
|
});
|
|
39178
39186
|
}, _embind_register_class_class_function: (h, m, w, C, M, F, J) => {
|
|
39179
39187
|
var Q = xl(w, C);
|
|
39180
|
-
m = Gt(m), m = xa(m), F = rr(M, F),
|
|
39188
|
+
m = Gt(m), m = xa(m), F = rr(M, F), Ar([], [h], (me) => {
|
|
39181
39189
|
function pe() {
|
|
39182
|
-
|
|
39190
|
+
Lr(`Cannot call ${Pe} due to unbound types`, Q);
|
|
39183
39191
|
}
|
|
39184
39192
|
me = me[0];
|
|
39185
39193
|
var Pe = `${me.name}.${m}`;
|
|
39186
39194
|
m.startsWith("@@") && (m = Symbol[m.substring(2)]);
|
|
39187
39195
|
var Ze = me.i.constructor;
|
|
39188
|
-
return Ze[m] === void 0 ? (pe.fa = w - 1, Ze[m] = pe) : (ns(Ze, m, Pe), Ze[m].A[w - 1] = pe),
|
|
39196
|
+
return Ze[m] === void 0 ? (pe.fa = w - 1, Ze[m] = pe) : (ns(Ze, m, Pe), Ze[m].A[w - 1] = pe), Ar([], Q, (it) => {
|
|
39189
39197
|
if (it = Lo(Pe, [it[0], null].concat(it.slice(1)), null, F, J), Ze[m].A === void 0 ? (it.fa = w - 1, Ze[m] = it) : Ze[m].A[w - 1] = it, me.i.oa)
|
|
39190
39198
|
for (const ge of me.i.oa)
|
|
39191
39199
|
ge.constructor.hasOwnProperty(m) || (ge.constructor[m] = it);
|
|
@@ -39193,16 +39201,16 @@ To resolve, you may need to:`,
|
|
|
39193
39201
|
}), [];
|
|
39194
39202
|
});
|
|
39195
39203
|
}, _embind_register_class_class_property: (h, m, w, C, M, F, J, Q) => {
|
|
39196
|
-
m = Gt(m), F = rr(M, F),
|
|
39204
|
+
m = Gt(m), F = rr(M, F), Ar([], [h], (me) => {
|
|
39197
39205
|
me = me[0];
|
|
39198
39206
|
var pe = `${me.name}.${m}`, Pe = { get() {
|
|
39199
|
-
|
|
39207
|
+
Lr(`Cannot access ${pe} due to unbound types`, [w]);
|
|
39200
39208
|
}, enumerable: !0, configurable: !0 };
|
|
39201
39209
|
return Pe.set = Q ? () => {
|
|
39202
|
-
|
|
39210
|
+
Lr(`Cannot access ${pe} due to unbound types`, [w]);
|
|
39203
39211
|
} : () => {
|
|
39204
39212
|
throw new ft(`${pe} is a read-only property`);
|
|
39205
|
-
}, Object.defineProperty(me.i.constructor, m, Pe),
|
|
39213
|
+
}, Object.defineProperty(me.i.constructor, m, Pe), Ar([], [w], (Ze) => {
|
|
39206
39214
|
Ze = Ze[0];
|
|
39207
39215
|
var it = { get() {
|
|
39208
39216
|
return Ze.fromWireType(F(C));
|
|
@@ -39215,36 +39223,36 @@ To resolve, you may need to:`,
|
|
|
39215
39223
|
});
|
|
39216
39224
|
}, _embind_register_class_constructor: (h, m, w, C, M, F) => {
|
|
39217
39225
|
var J = xl(m, w);
|
|
39218
|
-
M = rr(C, M),
|
|
39226
|
+
M = rr(C, M), Ar([], [h], (Q) => {
|
|
39219
39227
|
Q = Q[0];
|
|
39220
39228
|
var me = `constructor ${Q.name}`;
|
|
39221
39229
|
if (Q.i.Z === void 0 && (Q.i.Z = []), Q.i.Z[m - 1] !== void 0)
|
|
39222
39230
|
throw new ft(`Cannot register multiple constructors with identical number of parameters (${m - 1}) for class '${Q.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
|
|
39223
39231
|
return Q.i.Z[m - 1] = () => {
|
|
39224
|
-
|
|
39225
|
-
},
|
|
39232
|
+
Lr(`Cannot construct ${Q.name} due to unbound types`, J);
|
|
39233
|
+
}, Ar([], J, (pe) => (pe.splice(1, 0, null), Q.i.Z[m - 1] = Lo(me, pe, null, M, F), [])), [];
|
|
39226
39234
|
});
|
|
39227
39235
|
}, _embind_register_class_function: (h, m, w, C, M, F, J, Q) => {
|
|
39228
39236
|
var me = xl(w, C);
|
|
39229
|
-
m = Gt(m), m = xa(m), F = rr(M, F),
|
|
39237
|
+
m = Gt(m), m = xa(m), F = rr(M, F), Ar([], [h], (pe) => {
|
|
39230
39238
|
function Pe() {
|
|
39231
|
-
|
|
39239
|
+
Lr(`Cannot call ${Ze} due to unbound types`, me);
|
|
39232
39240
|
}
|
|
39233
39241
|
pe = pe[0];
|
|
39234
39242
|
var Ze = `${pe.name}.${m}`;
|
|
39235
39243
|
m.startsWith("@@") && (m = Symbol[m.substring(2)]), Q && pe.i.ob.push(m);
|
|
39236
39244
|
var it = pe.i.M, ge = it[m];
|
|
39237
|
-
return ge === void 0 || ge.A === void 0 && ge.className !== pe.name && ge.fa === w - 2 ? (Pe.fa = w - 2, Pe.className = pe.name, it[m] = Pe) : (ns(it, m, Ze), it[m].A[w - 2] = Pe),
|
|
39245
|
+
return ge === void 0 || ge.A === void 0 && ge.className !== pe.name && ge.fa === w - 2 ? (Pe.fa = w - 2, Pe.className = pe.name, it[m] = Pe) : (ns(it, m, Ze), it[m].A[w - 2] = Pe), Ar([], me, (Ie) => (Ie = Lo(Ze, Ie, pe, F, J), it[m].A === void 0 ? (Ie.fa = w - 2, it[m] = Ie) : it[m].A[w - 2] = Ie, [])), [];
|
|
39238
39246
|
});
|
|
39239
39247
|
}, _embind_register_class_property: (h, m, w, C, M, F, J, Q, me, pe) => {
|
|
39240
|
-
m = Gt(m), M = rr(C, M),
|
|
39248
|
+
m = Gt(m), M = rr(C, M), Ar([], [h], (Pe) => {
|
|
39241
39249
|
Pe = Pe[0];
|
|
39242
39250
|
var Ze = `${Pe.name}.${m}`, it = { get() {
|
|
39243
|
-
|
|
39251
|
+
Lr(`Cannot access ${Ze} due to unbound types`, [w, J]);
|
|
39244
39252
|
}, enumerable: !0, configurable: !0 };
|
|
39245
|
-
return it.set = me ? () =>
|
|
39253
|
+
return it.set = me ? () => Lr(`Cannot access ${Ze} due to unbound types`, [w, J]) : () => {
|
|
39246
39254
|
throw new ft(Ze + " is a read-only property");
|
|
39247
|
-
}, Object.defineProperty(Pe.i.M, m, it),
|
|
39255
|
+
}, Object.defineProperty(Pe.i.M, m, it), Ar([], me ? [w, J] : [w], (ge) => {
|
|
39248
39256
|
var Ie = ge[0], Be = { get() {
|
|
39249
39257
|
var Ye = Rl(this, Pe, Ze + " getter");
|
|
39250
39258
|
return Ie.fromWireType(M(F, Ye));
|
|
@@ -39275,8 +39283,8 @@ To resolve, you may need to:`,
|
|
|
39275
39283
|
}, _embind_register_function: (h, m, w, C, M, F) => {
|
|
39276
39284
|
var J = xl(m, w);
|
|
39277
39285
|
h = Gt(h), h = xa(h), M = rr(C, M), Oo(h, function() {
|
|
39278
|
-
|
|
39279
|
-
}, m - 1),
|
|
39286
|
+
Lr(`Cannot call ${h} due to unbound types`, J);
|
|
39287
|
+
}, m - 1), Ar([], J, (Q) => (eo(h, Lo(h, [Q[0], null].concat(Q.slice(1)), null, M, F), m - 1), []));
|
|
39280
39288
|
}, _embind_register_integer: (h, m, w, C, M) => {
|
|
39281
39289
|
if (m = Gt(m), M === -1 && (M = 4294967295), M = (Q) => Q, C === 0) {
|
|
39282
39290
|
var F = 32 - 8 * w;
|
|
@@ -39367,7 +39375,7 @@ To resolve, you may need to:`,
|
|
|
39367
39375
|
} });
|
|
39368
39376
|
}, _emscripten_get_now_is_monotonic: () => 1, _emscripten_memcpy_js: (h, m, w) => de.copyWithin(h, m, m + w), _emscripten_throw_longjmp: () => {
|
|
39369
39377
|
throw 1 / 0;
|
|
39370
|
-
}, _emval_as: (h, m, w) => (h =
|
|
39378
|
+
}, _emval_as: (h, m, w) => (h = Mr(h), m = fn(m, "emval::as"), vd(m, w, h)), _emval_call: (h, m, w, C) => (h = Ml[h], m = Mr(m), h(null, m, w, C)), _emval_call_method: (h, m, w, C, M) => (h = Ml[h], m = Mr(m), w = yd(w), h(m, m[w], C, M)), _emval_decref: rs, _emval_get_method_caller: (h, m, w) => {
|
|
39371
39379
|
var C = Mp(h, m), M = C.shift();
|
|
39372
39380
|
h--;
|
|
39373
39381
|
var F = Array(h);
|
|
@@ -39376,13 +39384,13 @@ To resolve, you may need to:`,
|
|
|
39376
39384
|
F[Ze] = C[Ze].readValueFromPointer(pe + Pe), Pe += C[Ze].argPackAdvance;
|
|
39377
39385
|
return J = w === 1 ? Ap(Q, F) : Q.apply(J, F), vd(M, me, J);
|
|
39378
39386
|
}));
|
|
39379
|
-
}, _emval_get_property: (h, m) => (h =
|
|
39387
|
+
}, _emval_get_property: (h, m) => (h = Mr(h), m = Mr(m), ki(h[m])), _emval_incref: (h) => {
|
|
39380
39388
|
9 < h && (cr[h + 1] += 1);
|
|
39381
39389
|
}, _emval_new_array: () => ki([]), _emval_new_cstring: (h) => ki(yd(h)), _emval_new_object: () => ki({}), _emval_run_destructors: (h) => {
|
|
39382
|
-
var m =
|
|
39390
|
+
var m = Mr(h);
|
|
39383
39391
|
Ta(m), rs(h);
|
|
39384
39392
|
}, _emval_set_property: (h, m, w) => {
|
|
39385
|
-
h =
|
|
39393
|
+
h = Mr(h), m = Mr(m), w = Mr(w), h[m] = w;
|
|
39386
39394
|
}, _emval_take_value: (h, m) => (h = fn(h, "_emval_take_value"), h = h.readValueFromPointer(m), ki(h)), _gmtime_js: function(h, m, w) {
|
|
39387
39395
|
h = new Date(1e3 * (m + 2097152 >>> 0 < 4194305 - !!h ? (h >>> 0) + 4294967296 * m : NaN)), X[w >> 2] = h.getUTCSeconds(), X[w + 4 >> 2] = h.getUTCMinutes(), X[w + 8 >> 2] = h.getUTCHours(), X[w + 12 >> 2] = h.getUTCDate(), X[w + 16 >> 2] = h.getUTCMonth(), X[w + 20 >> 2] = h.getUTCFullYear() - 1900, X[w + 24 >> 2] = h.getUTCDay(), X[w + 28 >> 2] = (h.getTime() - Date.UTC(h.getUTCFullYear(), 0, 1, 0, 0, 0, 0)) / 864e5 | 0;
|
|
39388
39396
|
}, _localtime_js: function(h, m, w) {
|
|
@@ -39844,7 +39852,7 @@ To resolve, you may need to:`,
|
|
|
39844
39852
|
function Bl() {
|
|
39845
39853
|
function h() {
|
|
39846
39854
|
if (!to && (to = !0, S.calledRun = !0, !se)) {
|
|
39847
|
-
if (S.noFSInit ||
|
|
39855
|
+
if (S.noFSInit || wr || (wr = !0, S.stdin = S.stdin, S.stdout = S.stdout, S.stderr = S.stderr, S.stdin ? Oi("stdin", S.stdin) : Po("/dev/tty", "/dev/stdin"), S.stdout ? Oi("stdout", null, S.stdout) : Po("/dev/tty", "/dev/stdout"), S.stderr ? Oi("stderr", null, S.stderr) : Po("/dev/tty1", "/dev/stderr"), Io("/dev/stdin", 0), Io("/dev/stdout", 1), Io("/dev/stderr", 1)), Mi = !1, Rt(Xe), R(S), S.onRuntimeInitialized && S.onRuntimeInitialized(), S.postRun)
|
|
39848
39856
|
for (typeof S.postRun == "function" && (S.postRun = [S.postRun]); S.postRun.length; ) {
|
|
39849
39857
|
var m = S.postRun.shift();
|
|
39850
39858
|
rt.unshift(m);
|
|
@@ -43283,7 +43291,7 @@ const s4 = ({ restored: t }) => {
|
|
|
43283
43291
|
);
|
|
43284
43292
|
});
|
|
43285
43293
|
GE.displayName = "App";
|
|
43286
|
-
const KE = `/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:"";--glow-opacity:0%}}}@layer theme{:root,:host{--color-gray-200:oklch(92.8% .006 264.531);--color-black:#000;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-normal:400;--font-weight-semibold:600;--font-weight-bold:700;--radius-2xl:1rem;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--font-sans:inherit;--backdrop-blur-overlay:48px;--container-content:640px;--radius-inner:inherit;--radius-outer:inherit;--z-index-touchpoint:1000;--z-index-launch-button:100;--color-primary:inherit;--color-primary-90:inherit;--color-primary-80:inherit;--color-primary-60:inherit;--color-primary-40:inherit;--color-primary-20:inherit;--color-primary-10:inherit;--color-primary-5:inherit;--color-primary-1:inherit;--color-secondary:inherit;--color-secondary-90:inherit;--color-secondary-80:inherit;--color-secondary-60:inherit;--color-secondary-40:inherit;--color-secondary-20:inherit;--color-secondary-10:inherit;--color-secondary-5:inherit;--color-secondary-1:inherit;--color-accent:inherit;--color-accent-20:inherit;--color-background:inherit;--color-overlay:inherit;--color-warning-primary:inherit;--color-warning-secondary:inherit;--color-error-primary:inherit;--color-error-secondary:inherit;--animate-shimmer:shimmer 1.5s linear infinite}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentcolor)}::file-selector-button{border-color:var(--color-gray-200,currentcolor)}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}*{font-family:var(--font-family)!important}}@layer components;@layer utilities{.\\@container\\/main{container:main/inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.absolute\\!{position:absolute!important}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-2{top:calc(var(--spacing) * -2)}.top-0{top:calc(var(--spacing) * 0)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.bottom-2{bottom:calc(var(--spacing) * 2)}.left-1{left:calc(var(--spacing) * 1)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.z-10{z-index:10}.z-\\[-1\\]{z-index:-1}.z-launch-button{z-index:var(--z-index-launch-button)}.z-touchpoint{z-index:var(--z-index-touchpoint)}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-10{margin-right:calc(var(--spacing) * 10)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-3{margin-left:calc(var(--spacing) * 3)}.ml-auto{margin-left:auto}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-20{height:calc(var(--spacing) * 20)}.h-24{height:calc(var(--spacing) * 24)}.h-52{height:calc(var(--spacing) * 52)}.h-64{height:calc(var(--spacing) * 64)}.h-72{height:calc(var(--spacing) * 72)}.h-\\[1px\\]{height:1px}.h-\\[128px\\]{height:128px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\\[40vh\\]{max-height:40vh}.max-h-\\[360px\\]{max-height:360px}.min-h-full{min-height:100%}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-14{width:calc(var(--spacing) * 14)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\\[128px\\]{width:128px}.w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[220px\\]{max-width:220px}.max-w-\\[360px\\]{max-width:360px}.max-w-content{max-width:var(--container-content)}.max-w-sm{max-width:var(--container-sm)}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-7{--tw-translate-x:calc(var(--spacing) * 7);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.grid-cols-\\[320px_1fr\\]{grid-template-columns:320px 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-px>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(1px * var(--tw-space-y-reverse));margin-block-end:calc(1px * calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[calc\\(var\\(--radius-inner\\)\\*0\\.6667\\)\\]{border-radius:calc(var(--radius-inner) * .6667)}.rounded-full{border-radius:3.40282e38px}.rounded-inner{border-radius:var(--radius-inner)}.rounded-outer{border-radius:var(--radius-outer)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-background{border-color:var(--color-background)}.border-primary-10{border-color:var(--color-primary-10)}.border-primary-60{border-color:var(--color-primary-60)}.bg-\\[rgb\\(40\\,41\\,47\\)\\]{background-color:#28292f}.bg-\\[rgb\\(175\\,175\\,175\\)\\]{background-color:#afafaf}.bg-accent{background-color:var(--color-accent)}.bg-background{background-color:var(--color-background)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black) 50%,transparent)}}.bg-current{background-color:currentColor}.bg-error-primary{background-color:var(--color-error-primary)}.bg-error-secondary{background-color:var(--color-error-secondary)}.bg-overlay{background-color:var(--color-overlay)}.bg-primary-5{background-color:var(--color-primary-5)}.bg-primary-10{background-color:var(--color-primary-10)}.bg-primary-80{background-color:var(--color-primary-80)}.bg-primary-90{background-color:var(--color-primary-90)}.bg-secondary-40{background-color:var(--color-secondary-40)}.bg-secondary-60{background-color:var(--color-secondary-60)}.bg-secondary-80{background-color:var(--color-secondary-80)}.bg-transparent{background-color:#0000}.bg-cover{background-size:cover}.bg-center{background-position:50%}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-center{object-position:center}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-sans{font-family:var(--font-sans)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent{color:var(--color-accent)}.text-accent-20{color:var(--color-accent-20)}.text-error-primary{color:var(--color-error-primary)}.text-primary-20{color:var(--color-primary-20)}.text-primary-40{color:var(--color-primary-40)}.text-primary-60{color:var(--color-primary-60)}.text-primary-80{color:var(--color-primary-80)}.text-secondary-80{color:var(--color-secondary-80)}.text-secondary-90{color:var(--color-secondary-90)}.placeholder-primary-20::placeholder{color:var(--color-primary-20)}.placeholder-primary-40::placeholder{color:var(--color-primary-40)}.caret-accent{caret-color:var(--color-accent)}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.opacity-\\[0\\.01\\]{opacity:.01}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.outline-accent{outline-color:var(--color-accent)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-overlay{--tw-backdrop-blur:blur(var(--backdrop-blur-overlay));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.outline-solid{--tw-outline-style:solid;outline-style:solid}.placeholder\\:text-primary-40::placeholder{color:var(--color-primary-40)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-0:before{content:var(--tw-content);inset:calc(var(--spacing) * 0)}.before\\:-z-10:before{content:var(--tw-content);z-index:-10}.before\\:bg-transparent:before{content:var(--tw-content);background-color:#0000}.before\\:transition-colors:before{content:var(--tw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:content-\\[\\'\\'\\]:before{--tw-content:"";content:var(--tw-content)}.after\\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing) * 0)}.after\\:rounded-outer:after{content:var(--tw-content);border-radius:var(--radius-outer)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:"";content:var(--tw-content)}@media(hover:hover){.hover\\:bg-primary-5:hover{background-color:var(--color-primary-5)}.hover\\:bg-primary-10:hover{background-color:var(--color-primary-10)}.hover\\:bg-primary-80:hover{background-color:var(--color-primary-80)}.hover\\:bg-secondary-20:hover{background-color:var(--color-secondary-20)}.hover\\:text-primary-80:hover{color:var(--color-primary-80)}.hover\\:after\\:bg-primary-10:hover:after{content:var(--tw-content);background-color:var(--color-primary-10)}}.focus\\:bg-primary-10:focus{background-color:var(--color-primary-10)}.focus\\:outline-0:focus{outline-style:var(--tw-outline-style);outline-width:0}.focus\\:before\\:bg-primary-5:focus:before{content:var(--tw-content);background-color:var(--color-primary-5)}.focus\\:before\\:bg-primary-10:focus:before{content:var(--tw-content);background-color:var(--color-primary-10)}.focus\\:before\\:bg-primary-40:focus:before{content:var(--tw-content);background-color:var(--color-primary-40)}.focus\\:before\\:bg-primary-80:focus:before{content:var(--tw-content);background-color:var(--color-primary-80)}.active\\:bg-secondary-20:active{background-color:var(--color-secondary-20)}@media(hover:hover){.enabled\\:hover\\:before\\:bg-primary-5:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-5)}.enabled\\:hover\\:before\\:bg-primary-10:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-10)}.enabled\\:hover\\:before\\:bg-primary-40:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-40)}.enabled\\:hover\\:before\\:bg-primary-80:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-80)}}.enabled\\:active\\:before\\:bg-secondary-10:enabled:active:before{content:var(--tw-content);background-color:var(--color-secondary-10)}.disabled\\:bg-accent-20:disabled{background-color:var(--color-accent-20)}.disabled\\:bg-primary-5:disabled{background-color:var(--color-primary-5)}.disabled\\:bg-primary-10:disabled{background-color:var(--color-primary-10)}.disabled\\:bg-secondary-20:disabled{background-color:var(--color-secondary-20)}.disabled\\:text-primary-20:disabled{color:var(--color-primary-20)}.disabled\\:text-primary-40:disabled{color:var(--color-primary-40)}.disabled\\:text-secondary-40:disabled{color:var(--color-secondary-40)}@media(min-width:48rem){.md\\:absolute{position:absolute}.md\\:top-3{top:calc(var(--spacing) * 3)}.md\\:left-0{left:calc(var(--spacing) * 0)}.md\\:left-3{left:calc(var(--spacing) * 3)}.md\\:-order-1{order:-1}.md\\:col-span-1{grid-column:span 1/span 1}.md\\:mx-auto{margin-inline:auto}.md\\:block{display:block}.md\\:w-fit{width:fit-content}.md\\:max-w-content{max-width:var(--container-content)}.md\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.md\\:translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.md\\:transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.md\\:flex-col{flex-direction:column}.md\\:p-3{padding:calc(var(--spacing) * 3)}.md\\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media(min-width:80rem){.xl\\:grid-cols-\\[1fr_632px\\]{grid-template-columns:1fr 632px}}@container main (min-width:48rem){.\\@3xl\\/main\\:absolute{position:absolute}.\\@3xl\\/main\\:top-0{top:calc(var(--spacing) * 0)}.\\@3xl\\/main\\:right-0{right:calc(var(--spacing) * 0)}.\\@3xl\\/main\\:left-0{left:calc(var(--spacing) * 0)}}}.shimmer{background-image:linear-gradient(90deg,var(--color-primary-1) 0%,var(--color-primary-40) 50%,var(--color-primary-1) 100%);animation:var(--animate-shimmer);background-repeat:no-repeat;background-size:80px 100%;-webkit-background-clip:text;background-clip:text}@property --glow-opacity{syntax:"<percentage>";inherits:false;initial-value:0%}.fullscreen-error svg{--glow-opacity:0%;filter:drop-shadow(0 0 6px #0000);animation:3s infinite error-glow}@supports (color:color-mix(in lab,red,red)){.fullscreen-error svg{filter:drop-shadow(0 0 6px color-mix(in srgb,transparent,var(--accent) var(--glow-opacity)))}}@keyframes error-glow{0%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}22%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}35%{color:var(--accent);fill-opacity:.8;--glow-opacity:60%}45%{color:var(--accent);fill-opacity:.7;--glow-opacity:30%}55%{color:var(--accent);fill-opacity:.6;--glow-opacity:60%}60%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}to{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}}.markdown ul{list-style-type:disc;list-style-position:inside}.markdown ol{list-style-type:decimal;list-style-position:inside}.markdown hr{--tw-border-style:solid;border-style:solid;border-color:var(--color-primary-20)}.markdown a{text-decoration-line:underline}.markdown h1,.markdown h2,.markdown h3{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes shimmer{0%{background-position:-80px 0}to{background-position:calc(100% + 80px) 0}}`, rd = ({ children: t, className: e, faded: n }) => /* @__PURE__ */ D.jsx(
|
|
43294
|
+
const KE = `/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:"";--glow-opacity:0%}}}@layer theme{:root,:host{--color-gray-200:oklch(92.8% .006 264.531);--color-black:#000;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-2xl:1rem;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--font-sans:inherit;--backdrop-blur-overlay:48px;--container-content:640px;--radius-inner:inherit;--radius-outer:inherit;--z-index-touchpoint:1000;--z-index-launch-button:100;--color-primary:inherit;--color-primary-90:inherit;--color-primary-80:inherit;--color-primary-60:inherit;--color-primary-40:inherit;--color-primary-20:inherit;--color-primary-10:inherit;--color-primary-5:inherit;--color-primary-1:inherit;--color-secondary:inherit;--color-secondary-90:inherit;--color-secondary-80:inherit;--color-secondary-60:inherit;--color-secondary-40:inherit;--color-secondary-20:inherit;--color-secondary-10:inherit;--color-secondary-5:inherit;--color-secondary-1:inherit;--color-accent:inherit;--color-accent-20:inherit;--color-background:inherit;--color-overlay:inherit;--color-warning-primary:inherit;--color-warning-secondary:inherit;--color-error-primary:inherit;--color-error-secondary:inherit;--animate-shimmer:shimmer 1.5s linear infinite}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentcolor)}::file-selector-button{border-color:var(--color-gray-200,currentcolor)}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}*{font-family:var(--font-family)!important}}@layer components;@layer utilities{.\\@container\\/main{container:main/inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.absolute\\!{position:absolute!important}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-2{top:calc(var(--spacing) * -2)}.top-0{top:calc(var(--spacing) * 0)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.bottom-2{bottom:calc(var(--spacing) * 2)}.left-1{left:calc(var(--spacing) * 1)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.z-10{z-index:10}.z-\\[-1\\]{z-index:-1}.z-launch-button{z-index:var(--z-index-launch-button)}.z-touchpoint{z-index:var(--z-index-touchpoint)}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-10{margin-right:calc(var(--spacing) * 10)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-3{margin-left:calc(var(--spacing) * 3)}.ml-auto{margin-left:auto}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-20{height:calc(var(--spacing) * 20)}.h-24{height:calc(var(--spacing) * 24)}.h-52{height:calc(var(--spacing) * 52)}.h-64{height:calc(var(--spacing) * 64)}.h-72{height:calc(var(--spacing) * 72)}.h-\\[1px\\]{height:1px}.h-\\[128px\\]{height:128px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\\[40vh\\]{max-height:40vh}.max-h-\\[360px\\]{max-height:360px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-14{width:calc(var(--spacing) * 14)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\\[128px\\]{width:128px}.w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[220px\\]{max-width:220px}.max-w-\\[360px\\]{max-width:360px}.max-w-content{max-width:var(--container-content)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-7{--tw-translate-x:calc(var(--spacing) * 7);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.grid-cols-\\[320px_1fr\\]{grid-template-columns:320px 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-px>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(1px * var(--tw-space-y-reverse));margin-block-end:calc(1px * calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[calc\\(var\\(--radius-inner\\)\\*0\\.6667\\)\\]{border-radius:calc(var(--radius-inner) * .6667)}.rounded-full{border-radius:3.40282e38px}.rounded-inner{border-radius:var(--radius-inner)}.rounded-outer{border-radius:var(--radius-outer)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-background{border-color:var(--color-background)}.border-primary-5{border-color:var(--color-primary-5)}.border-primary-10{border-color:var(--color-primary-10)}.border-primary-60{border-color:var(--color-primary-60)}.bg-\\[rgb\\(40\\,41\\,47\\)\\]{background-color:#28292f}.bg-\\[rgb\\(175\\,175\\,175\\)\\]{background-color:#afafaf}.bg-accent{background-color:var(--color-accent)}.bg-background{background-color:var(--color-background)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black) 50%,transparent)}}.bg-current{background-color:currentColor}.bg-error-primary{background-color:var(--color-error-primary)}.bg-error-secondary{background-color:var(--color-error-secondary)}.bg-overlay{background-color:var(--color-overlay)}.bg-primary-5{background-color:var(--color-primary-5)}.bg-primary-10{background-color:var(--color-primary-10)}.bg-primary-80{background-color:var(--color-primary-80)}.bg-primary-90{background-color:var(--color-primary-90)}.bg-secondary{background-color:var(--color-secondary)}.bg-secondary-40{background-color:var(--color-secondary-40)}.bg-secondary-60{background-color:var(--color-secondary-60)}.bg-secondary-80{background-color:var(--color-secondary-80)}.bg-transparent{background-color:#0000}.bg-cover{background-size:cover}.bg-center{background-position:50%}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-center{object-position:center}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-8{padding:calc(var(--spacing) * 8)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-sans{font-family:var(--font-sans)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent{color:var(--color-accent)}.text-accent-20{color:var(--color-accent-20)}.text-error-primary{color:var(--color-error-primary)}.text-primary-20{color:var(--color-primary-20)}.text-primary-40{color:var(--color-primary-40)}.text-primary-60{color:var(--color-primary-60)}.text-primary-80{color:var(--color-primary-80)}.text-secondary{color:var(--color-secondary)}.text-secondary-80{color:var(--color-secondary-80)}.text-secondary-90{color:var(--color-secondary-90)}.placeholder-primary-20::placeholder{color:var(--color-primary-20)}.placeholder-primary-40::placeholder{color:var(--color-primary-40)}.caret-accent{caret-color:var(--color-accent)}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.opacity-\\[0\\.01\\]{opacity:.01}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.outline-accent{outline-color:var(--color-accent)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-overlay{--tw-backdrop-blur:blur(var(--backdrop-blur-overlay));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.outline-solid{--tw-outline-style:solid;outline-style:solid}.placeholder\\:text-primary-40::placeholder{color:var(--color-primary-40)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-0:before{content:var(--tw-content);inset:calc(var(--spacing) * 0)}.before\\:-z-10:before{content:var(--tw-content);z-index:-10}.before\\:bg-transparent:before{content:var(--tw-content);background-color:#0000}.before\\:transition-colors:before{content:var(--tw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\\:content-\\[\\'\\'\\]:before{--tw-content:"";content:var(--tw-content)}.after\\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing) * 0)}.after\\:rounded-outer:after{content:var(--tw-content);border-radius:var(--radius-outer)}.after\\:content-\\[\\'\\'\\]:after{--tw-content:"";content:var(--tw-content)}@media(hover:hover){.hover\\:bg-primary-5:hover{background-color:var(--color-primary-5)}.hover\\:bg-primary-10:hover{background-color:var(--color-primary-10)}.hover\\:bg-primary-80:hover{background-color:var(--color-primary-80)}.hover\\:bg-secondary-20:hover{background-color:var(--color-secondary-20)}.hover\\:text-primary-80:hover{color:var(--color-primary-80)}.hover\\:after\\:bg-primary-10:hover:after{content:var(--tw-content);background-color:var(--color-primary-10)}}.focus\\:border-accent:focus{border-color:var(--color-accent)}.focus\\:bg-primary-10:focus{background-color:var(--color-primary-10)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-accent:focus{--tw-ring-color:var(--color-accent)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\\:ring-offset-background:focus{--tw-ring-offset-color:var(--color-background)}.focus\\:outline-0:focus{outline-style:var(--tw-outline-style);outline-width:0}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus\\:before\\:bg-primary-5:focus:before{content:var(--tw-content);background-color:var(--color-primary-5)}.focus\\:before\\:bg-primary-10:focus:before{content:var(--tw-content);background-color:var(--color-primary-10)}.focus\\:before\\:bg-primary-40:focus:before{content:var(--tw-content);background-color:var(--color-primary-40)}.focus\\:before\\:bg-primary-80:focus:before{content:var(--tw-content);background-color:var(--color-primary-80)}.active\\:bg-secondary-20:active{background-color:var(--color-secondary-20)}@media(hover:hover){.enabled\\:hover\\:before\\:bg-primary-5:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-5)}.enabled\\:hover\\:before\\:bg-primary-10:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-10)}.enabled\\:hover\\:before\\:bg-primary-40:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-40)}.enabled\\:hover\\:before\\:bg-primary-80:enabled:hover:before{content:var(--tw-content);background-color:var(--color-primary-80)}}.enabled\\:active\\:before\\:bg-secondary-10:enabled:active:before{content:var(--tw-content);background-color:var(--color-secondary-10)}.disabled\\:bg-accent-20:disabled{background-color:var(--color-accent-20)}.disabled\\:bg-primary-5:disabled{background-color:var(--color-primary-5)}.disabled\\:bg-primary-10:disabled{background-color:var(--color-primary-10)}.disabled\\:bg-secondary-20:disabled{background-color:var(--color-secondary-20)}.disabled\\:text-primary-20:disabled{color:var(--color-primary-20)}.disabled\\:text-primary-40:disabled{color:var(--color-primary-40)}.disabled\\:text-secondary-40:disabled{color:var(--color-secondary-40)}@media(min-width:48rem){.md\\:absolute{position:absolute}.md\\:top-3{top:calc(var(--spacing) * 3)}.md\\:left-0{left:calc(var(--spacing) * 0)}.md\\:left-3{left:calc(var(--spacing) * 3)}.md\\:-order-1{order:-1}.md\\:col-span-1{grid-column:span 1/span 1}.md\\:mx-auto{margin-inline:auto}.md\\:block{display:block}.md\\:w-fit{width:fit-content}.md\\:max-w-content{max-width:var(--container-content)}.md\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.md\\:translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.md\\:transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.md\\:flex-col{flex-direction:column}.md\\:p-3{padding:calc(var(--spacing) * 3)}.md\\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media(min-width:80rem){.xl\\:grid-cols-\\[1fr_632px\\]{grid-template-columns:1fr 632px}}@container main (min-width:48rem){.\\@3xl\\/main\\:absolute{position:absolute}.\\@3xl\\/main\\:top-0{top:calc(var(--spacing) * 0)}.\\@3xl\\/main\\:right-0{right:calc(var(--spacing) * 0)}.\\@3xl\\/main\\:left-0{left:calc(var(--spacing) * 0)}}}.shimmer{background-image:linear-gradient(90deg,var(--color-primary-1) 0%,var(--color-primary-40) 50%,var(--color-primary-1) 100%);animation:var(--animate-shimmer);background-repeat:no-repeat;background-size:80px 100%;-webkit-background-clip:text;background-clip:text}@property --glow-opacity{syntax:"<percentage>";inherits:false;initial-value:0%}.fullscreen-error svg{--glow-opacity:0%;filter:drop-shadow(0 0 6px #0000);animation:3s infinite error-glow}@supports (color:color-mix(in lab,red,red)){.fullscreen-error svg{filter:drop-shadow(0 0 6px color-mix(in srgb,transparent,var(--accent) var(--glow-opacity)))}}@keyframes error-glow{0%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}22%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}35%{color:var(--accent);fill-opacity:.8;--glow-opacity:60%}45%{color:var(--accent);fill-opacity:.7;--glow-opacity:30%}55%{color:var(--accent);fill-opacity:.6;--glow-opacity:60%}60%{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}to{color:var(--primary);fill-opacity:.08;--glow-opacity:0%}}.markdown ul{list-style-type:disc;list-style-position:inside}.markdown ol{list-style-type:decimal;list-style-position:inside}.markdown hr{--tw-border-style:solid;border-style:solid;border-color:var(--color-primary-20)}.markdown a{text-decoration-line:underline}.markdown h1,.markdown h2,.markdown h3{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes shimmer{0%{background-position:-80px 0}to{background-position:calc(100% + 80px) 0}}`, rd = ({ children: t, className: e, faded: n }) => /* @__PURE__ */ D.jsx(
|
|
43287
43295
|
"p",
|
|
43288
43296
|
{
|
|
43289
43297
|
className: yt(
|