@centive/aria-sdk 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AriaAssistant.d.ts +2 -2
- package/dist/components/AriaAssistant.d.ts.map +1 -1
- package/dist/components/AriaTriggerButton.d.ts +3 -2
- package/dist/components/AriaTriggerButton.d.ts.map +1 -1
- package/dist/components/AriaWidget.d.ts +2 -2
- package/dist/components/AriaWidget.d.ts.map +1 -1
- package/dist/components/ChatPanel.d.ts +2 -2
- package/dist/components/ChatPanel.d.ts.map +1 -1
- package/dist/components/SessionInfo.d.ts +2 -2
- package/dist/components/SessionInfo.d.ts.map +1 -1
- package/dist/components/ShadowContainer.d.ts +4 -4
- package/dist/components/ShadowContainer.d.ts.map +1 -1
- package/dist/context/AriaContext.d.ts +2 -2
- package/dist/context/AriaContext.d.ts.map +1 -1
- package/dist/context/AriaProvider.d.ts +3 -3
- package/dist/context/AriaProvider.d.ts.map +1 -1
- package/dist/{index-Bwp7d2Nw.js → index-BqHnk4l5.js} +885 -877
- package/dist/index-BqHnk4l5.js.map +1 -0
- package/dist/{index-BhEwL6TA.js → index-TbsycHlN.js} +3 -3
- package/dist/{index-BhEwL6TA.js.map → index-TbsycHlN.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-Bwp7d2Nw.js.map +0 -1
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import { jsx as v, jsxs as D, Fragment as
|
|
1
|
+
import { jsx as v, jsxs as D, Fragment as ht } from "react/jsx-runtime";
|
|
2
2
|
import * as we from "react";
|
|
3
|
-
import { createContext as cr, useContext as dr, useState as
|
|
4
|
-
import { CheckCircle2 as
|
|
3
|
+
import { createContext as cr, useContext as dr, useState as se, useRef as _e, useEffect as Pe, useCallback as de } from "react";
|
|
4
|
+
import { CheckCircle2 as xt, AlertCircle as st, Zap as St, RefreshCw as kt, Clock as ur, MessageCircle as Lt, Sparkles as pt, User as hr, Bot as pr, Send as gr, MessageCircleOff as fr, MicOff as Ct, Mic as _t, X as gt, Loader2 as mr, Phone as wr, MessageSquare as br } from "lucide-react";
|
|
5
5
|
import { createPortal as vr } from "react-dom";
|
|
6
|
-
var
|
|
6
|
+
var lt = {}, Ye = {}, It;
|
|
7
7
|
function yr() {
|
|
8
|
-
if (
|
|
9
|
-
|
|
8
|
+
if (It) return Ye;
|
|
9
|
+
It = 1, Ye.byteLength = l, Ye.toByteArray = w, Ye.fromByteArray = A;
|
|
10
10
|
for (var i = [], r = [], n = typeof Uint8Array < "u" ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d = 0, h = a.length; d < h; ++d)
|
|
11
11
|
i[d] = a[d], r[a.charCodeAt(d)] = d;
|
|
12
12
|
r[45] = 62, r[95] = 63;
|
|
13
|
-
function c(
|
|
14
|
-
var x =
|
|
13
|
+
function c(b) {
|
|
14
|
+
var x = b.length;
|
|
15
15
|
if (x % 4 > 0)
|
|
16
16
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
17
|
-
var S =
|
|
17
|
+
var S = b.indexOf("=");
|
|
18
18
|
S === -1 && (S = x);
|
|
19
|
-
var
|
|
20
|
-
return [S,
|
|
19
|
+
var T = S === x ? 0 : 4 - S % 4;
|
|
20
|
+
return [S, T];
|
|
21
21
|
}
|
|
22
|
-
function l(
|
|
23
|
-
var x = c(
|
|
24
|
-
return (S +
|
|
22
|
+
function l(b) {
|
|
23
|
+
var x = c(b), S = x[0], T = x[1];
|
|
24
|
+
return (S + T) * 3 / 4 - T;
|
|
25
25
|
}
|
|
26
|
-
function m(
|
|
26
|
+
function m(b, x, S) {
|
|
27
27
|
return (x + S) * 3 / 4 - S;
|
|
28
28
|
}
|
|
29
|
-
function b
|
|
30
|
-
var x, S = c(
|
|
29
|
+
function w(b) {
|
|
30
|
+
var x, S = c(b), T = S[0], N = S[1], z = new n(m(b, T, N)), j = 0, H = N > 0 ? T - 4 : T, F;
|
|
31
31
|
for (F = 0; F < H; F += 4)
|
|
32
|
-
x = r[
|
|
33
|
-
return N === 2 && (x = r[
|
|
32
|
+
x = r[b.charCodeAt(F)] << 18 | r[b.charCodeAt(F + 1)] << 12 | r[b.charCodeAt(F + 2)] << 6 | r[b.charCodeAt(F + 3)], z[j++] = x >> 16 & 255, z[j++] = x >> 8 & 255, z[j++] = x & 255;
|
|
33
|
+
return N === 2 && (x = r[b.charCodeAt(F)] << 2 | r[b.charCodeAt(F + 1)] >> 4, z[j++] = x & 255), N === 1 && (x = r[b.charCodeAt(F)] << 10 | r[b.charCodeAt(F + 1)] << 4 | r[b.charCodeAt(F + 2)] >> 2, z[j++] = x >> 8 & 255, z[j++] = x & 255), z;
|
|
34
34
|
}
|
|
35
|
-
function f(
|
|
36
|
-
return i[
|
|
35
|
+
function f(b) {
|
|
36
|
+
return i[b >> 18 & 63] + i[b >> 12 & 63] + i[b >> 6 & 63] + i[b & 63];
|
|
37
37
|
}
|
|
38
|
-
function u(
|
|
39
|
-
for (var
|
|
40
|
-
|
|
38
|
+
function u(b, x, S) {
|
|
39
|
+
for (var T, N = [], z = x; z < S; z += 3)
|
|
40
|
+
T = (b[z] << 16 & 16711680) + (b[z + 1] << 8 & 65280) + (b[z + 2] & 255), N.push(f(T));
|
|
41
41
|
return N.join("");
|
|
42
42
|
}
|
|
43
|
-
function A(
|
|
44
|
-
for (var x, S =
|
|
45
|
-
N.push(u(
|
|
46
|
-
return
|
|
43
|
+
function A(b) {
|
|
44
|
+
for (var x, S = b.length, T = S % 3, N = [], z = 16383, j = 0, H = S - T; j < H; j += z)
|
|
45
|
+
N.push(u(b, j, j + z > H ? H : j + z));
|
|
46
|
+
return T === 1 ? (x = b[S - 1], N.push(
|
|
47
47
|
i[x >> 2] + i[x << 4 & 63] + "=="
|
|
48
|
-
)) :
|
|
48
|
+
)) : T === 2 && (x = (b[S - 2] << 8) + b[S - 1], N.push(
|
|
49
49
|
i[x >> 10] + i[x >> 4 & 63] + i[x << 2 & 63] + "="
|
|
50
50
|
)), N.join("");
|
|
51
51
|
}
|
|
52
|
-
return
|
|
52
|
+
return Ye;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
55
|
-
var
|
|
54
|
+
var Qe = {};
|
|
55
|
+
var At;
|
|
56
56
|
function Er() {
|
|
57
|
-
return
|
|
58
|
-
var h, c, l = d * 8 - a - 1, m = (1 << l) - 1,
|
|
59
|
-
for (u += A, h =
|
|
57
|
+
return At || (At = 1, Qe.read = function(i, r, n, a, d) {
|
|
58
|
+
var h, c, l = d * 8 - a - 1, m = (1 << l) - 1, w = m >> 1, f = -7, u = n ? d - 1 : 0, A = n ? -1 : 1, b = i[r + u];
|
|
59
|
+
for (u += A, h = b & (1 << -f) - 1, b >>= -f, f += l; f > 0; h = h * 256 + i[r + u], u += A, f -= 8)
|
|
60
60
|
;
|
|
61
61
|
for (c = h & (1 << -f) - 1, h >>= -f, f += a; f > 0; c = c * 256 + i[r + u], u += A, f -= 8)
|
|
62
62
|
;
|
|
63
63
|
if (h === 0)
|
|
64
|
-
h = 1 -
|
|
64
|
+
h = 1 - w;
|
|
65
65
|
else {
|
|
66
66
|
if (h === m)
|
|
67
|
-
return c ? NaN : (
|
|
68
|
-
c = c + Math.pow(2, a), h = h -
|
|
67
|
+
return c ? NaN : (b ? -1 : 1) * (1 / 0);
|
|
68
|
+
c = c + Math.pow(2, a), h = h - w;
|
|
69
69
|
}
|
|
70
|
-
return (
|
|
71
|
-
},
|
|
72
|
-
var c, l, m,
|
|
73
|
-
for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (l = isNaN(r) ? 1 : 0, c = f) : (c = Math.floor(Math.log(r) / Math.LN2), r * (m = Math.pow(2, -c)) < 1 && (c--, m *= 2), c + u >= 1 ? r += A / m : r += A * Math.pow(2, 1 - u), r * m >= 2 && (c++, m /= 2), c + u >= f ? (l = 0, c = f) : c + u >= 1 ? (l = (r * m - 1) * Math.pow(2, d), c = c + u) : (l = r * Math.pow(2, u - 1) * Math.pow(2, d), c = 0)); d >= 8; i[n +
|
|
70
|
+
return (b ? -1 : 1) * c * Math.pow(2, h - a);
|
|
71
|
+
}, Qe.write = function(i, r, n, a, d, h) {
|
|
72
|
+
var c, l, m, w = h * 8 - d - 1, f = (1 << w) - 1, u = f >> 1, A = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, b = a ? 0 : h - 1, x = a ? 1 : -1, S = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0;
|
|
73
|
+
for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (l = isNaN(r) ? 1 : 0, c = f) : (c = Math.floor(Math.log(r) / Math.LN2), r * (m = Math.pow(2, -c)) < 1 && (c--, m *= 2), c + u >= 1 ? r += A / m : r += A * Math.pow(2, 1 - u), r * m >= 2 && (c++, m /= 2), c + u >= f ? (l = 0, c = f) : c + u >= 1 ? (l = (r * m - 1) * Math.pow(2, d), c = c + u) : (l = r * Math.pow(2, u - 1) * Math.pow(2, d), c = 0)); d >= 8; i[n + b] = l & 255, b += x, l /= 256, d -= 8)
|
|
74
74
|
;
|
|
75
|
-
for (c = c << d | l,
|
|
75
|
+
for (c = c << d | l, w += d; w > 0; i[n + b] = c & 255, b += x, c /= 256, w -= 8)
|
|
76
76
|
;
|
|
77
|
-
i[n +
|
|
78
|
-
}),
|
|
77
|
+
i[n + b - x] |= S * 128;
|
|
78
|
+
}), Qe;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var Rt;
|
|
81
81
|
function xr() {
|
|
82
|
-
return
|
|
82
|
+
return Rt || (Rt = 1, (function(i) {
|
|
83
83
|
const r = yr(), n = Er(), a = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
|
|
84
84
|
i.Buffer = l, i.SlowBuffer = z, i.INSPECT_MAX_BYTES = 50;
|
|
85
85
|
const d = 2147483647;
|
|
@@ -144,7 +144,7 @@ function xr() {
|
|
|
144
144
|
const s = o.valueOf && o.valueOf();
|
|
145
145
|
if (s != null && s !== o)
|
|
146
146
|
return l.from(s, e, t);
|
|
147
|
-
const p =
|
|
147
|
+
const p = T(o);
|
|
148
148
|
if (p) return p;
|
|
149
149
|
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof o[Symbol.toPrimitive] == "function")
|
|
150
150
|
return l.from(o[Symbol.toPrimitive]("string"), e, t);
|
|
@@ -155,20 +155,20 @@ function xr() {
|
|
|
155
155
|
l.from = function(o, e, t) {
|
|
156
156
|
return m(o, e, t);
|
|
157
157
|
}, Object.setPrototypeOf(l.prototype, Uint8Array.prototype), Object.setPrototypeOf(l, Uint8Array);
|
|
158
|
-
function
|
|
158
|
+
function w(o) {
|
|
159
159
|
if (typeof o != "number")
|
|
160
160
|
throw new TypeError('"size" argument must be of type number');
|
|
161
161
|
if (o < 0)
|
|
162
162
|
throw new RangeError('The value "' + o + '" is invalid for option "size"');
|
|
163
163
|
}
|
|
164
164
|
function f(o, e, t) {
|
|
165
|
-
return
|
|
165
|
+
return w(o), o <= 0 ? c(o) : e !== void 0 ? typeof t == "string" ? c(o).fill(e, t) : c(o).fill(e) : c(o);
|
|
166
166
|
}
|
|
167
167
|
l.alloc = function(o, e, t) {
|
|
168
168
|
return f(o, e, t);
|
|
169
169
|
};
|
|
170
170
|
function u(o) {
|
|
171
|
-
return
|
|
171
|
+
return w(o), c(o < 0 ? 0 : N(o) | 0);
|
|
172
172
|
}
|
|
173
173
|
l.allocUnsafe = function(o) {
|
|
174
174
|
return u(o);
|
|
@@ -183,7 +183,7 @@ function xr() {
|
|
|
183
183
|
const p = s.write(o, e);
|
|
184
184
|
return p !== t && (s = s.slice(0, p)), s;
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function b(o) {
|
|
187
187
|
const e = o.length < 0 ? 0 : N(o.length) | 0, t = c(e);
|
|
188
188
|
for (let s = 0; s < e; s += 1)
|
|
189
189
|
t[s] = o[s] & 255;
|
|
@@ -194,7 +194,7 @@ function xr() {
|
|
|
194
194
|
const e = new Uint8Array(o);
|
|
195
195
|
return S(e.buffer, e.byteOffset, e.byteLength);
|
|
196
196
|
}
|
|
197
|
-
return
|
|
197
|
+
return b(o);
|
|
198
198
|
}
|
|
199
199
|
function S(o, e, t) {
|
|
200
200
|
if (e < 0 || o.byteLength < e)
|
|
@@ -204,15 +204,15 @@ function xr() {
|
|
|
204
204
|
let s;
|
|
205
205
|
return e === void 0 && t === void 0 ? s = new Uint8Array(o) : t === void 0 ? s = new Uint8Array(o, e) : s = new Uint8Array(o, e, t), Object.setPrototypeOf(s, l.prototype), s;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function T(o) {
|
|
208
208
|
if (l.isBuffer(o)) {
|
|
209
209
|
const e = N(o.length) | 0, t = c(e);
|
|
210
210
|
return t.length === 0 || o.copy(t, 0, 0, e), t;
|
|
211
211
|
}
|
|
212
212
|
if (o.length !== void 0)
|
|
213
|
-
return typeof o.length != "number" ||
|
|
213
|
+
return typeof o.length != "number" || at(o.length) ? c(0) : b(o);
|
|
214
214
|
if (o.type === "Buffer" && Array.isArray(o.data))
|
|
215
|
-
return
|
|
215
|
+
return b(o.data);
|
|
216
216
|
}
|
|
217
217
|
function N(o) {
|
|
218
218
|
if (o >= d)
|
|
@@ -301,7 +301,7 @@ function xr() {
|
|
|
301
301
|
return t;
|
|
302
302
|
case "utf8":
|
|
303
303
|
case "utf-8":
|
|
304
|
-
return
|
|
304
|
+
return ot(o).length;
|
|
305
305
|
case "ucs2":
|
|
306
306
|
case "ucs-2":
|
|
307
307
|
case "utf16le":
|
|
@@ -310,10 +310,10 @@ function xr() {
|
|
|
310
310
|
case "hex":
|
|
311
311
|
return t >>> 1;
|
|
312
312
|
case "base64":
|
|
313
|
-
return
|
|
313
|
+
return Et(o).length;
|
|
314
314
|
default:
|
|
315
315
|
if (p)
|
|
316
|
-
return s ? -1 :
|
|
316
|
+
return s ? -1 : ot(o).length;
|
|
317
317
|
e = ("" + e).toLowerCase(), p = !0;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
@@ -330,17 +330,17 @@ function xr() {
|
|
|
330
330
|
case "utf-8":
|
|
331
331
|
return ve(this, e, t);
|
|
332
332
|
case "ascii":
|
|
333
|
-
return
|
|
333
|
+
return ce(this, e, t);
|
|
334
334
|
case "latin1":
|
|
335
335
|
case "binary":
|
|
336
336
|
return R(this, e, t);
|
|
337
337
|
case "base64":
|
|
338
|
-
return
|
|
338
|
+
return Ae(this, e, t);
|
|
339
339
|
case "ucs2":
|
|
340
340
|
case "ucs-2":
|
|
341
341
|
case "utf16le":
|
|
342
342
|
case "utf-16le":
|
|
343
|
-
return
|
|
343
|
+
return Ee(this, e, t);
|
|
344
344
|
default:
|
|
345
345
|
if (s) throw new TypeError("Unknown encoding: " + o);
|
|
346
346
|
o = (o + "").toLowerCase(), s = !0;
|
|
@@ -396,35 +396,35 @@ function xr() {
|
|
|
396
396
|
if (t >= s)
|
|
397
397
|
return 1;
|
|
398
398
|
if (t >>>= 0, s >>>= 0, p >>>= 0, g >>>= 0, this === e) return 0;
|
|
399
|
-
let y = g - p,
|
|
400
|
-
const Z = Math.min(y,
|
|
399
|
+
let y = g - p, L = s - t;
|
|
400
|
+
const Z = Math.min(y, L), J = this.slice(p, g), Q = e.slice(t, s);
|
|
401
401
|
for (let W = 0; W < Z; ++W)
|
|
402
402
|
if (J[W] !== Q[W]) {
|
|
403
|
-
y = J[W],
|
|
403
|
+
y = J[W], L = Q[W];
|
|
404
404
|
break;
|
|
405
405
|
}
|
|
406
|
-
return y <
|
|
406
|
+
return y < L ? -1 : L < y ? 1 : 0;
|
|
407
407
|
};
|
|
408
408
|
function G(o, e, t, s, p) {
|
|
409
409
|
if (o.length === 0) return -1;
|
|
410
|
-
if (typeof t == "string" ? (s = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t,
|
|
410
|
+
if (typeof t == "string" ? (s = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, at(t) && (t = p ? 0 : o.length - 1), t < 0 && (t = o.length + t), t >= o.length) {
|
|
411
411
|
if (p) return -1;
|
|
412
412
|
t = o.length - 1;
|
|
413
413
|
} else if (t < 0)
|
|
414
414
|
if (p) t = 0;
|
|
415
415
|
else return -1;
|
|
416
416
|
if (typeof e == "string" && (e = l.from(e, s)), l.isBuffer(e))
|
|
417
|
-
return e.length === 0 ? -1 :
|
|
417
|
+
return e.length === 0 ? -1 : oe(o, e, t, s, p);
|
|
418
418
|
if (typeof e == "number")
|
|
419
|
-
return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? p ? Uint8Array.prototype.indexOf.call(o, e, t) : Uint8Array.prototype.lastIndexOf.call(o, e, t) :
|
|
419
|
+
return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? p ? Uint8Array.prototype.indexOf.call(o, e, t) : Uint8Array.prototype.lastIndexOf.call(o, e, t) : oe(o, [e], t, s, p);
|
|
420
420
|
throw new TypeError("val must be string, number or Buffer");
|
|
421
421
|
}
|
|
422
|
-
function
|
|
423
|
-
let g = 1, y = o.length,
|
|
422
|
+
function oe(o, e, t, s, p) {
|
|
423
|
+
let g = 1, y = o.length, L = e.length;
|
|
424
424
|
if (s !== void 0 && (s = String(s).toLowerCase(), s === "ucs2" || s === "ucs-2" || s === "utf16le" || s === "utf-16le")) {
|
|
425
425
|
if (o.length < 2 || e.length < 2)
|
|
426
426
|
return -1;
|
|
427
|
-
g = 2, y /= 2,
|
|
427
|
+
g = 2, y /= 2, L /= 2, t /= 2;
|
|
428
428
|
}
|
|
429
429
|
function Z(Q, W) {
|
|
430
430
|
return g === 1 ? Q[W] : Q.readUInt16BE(W * g);
|
|
@@ -434,13 +434,13 @@ function xr() {
|
|
|
434
434
|
let Q = -1;
|
|
435
435
|
for (J = t; J < y; J++)
|
|
436
436
|
if (Z(o, J) === Z(e, Q === -1 ? 0 : J - Q)) {
|
|
437
|
-
if (Q === -1 && (Q = J), J - Q + 1 ===
|
|
437
|
+
if (Q === -1 && (Q = J), J - Q + 1 === L) return Q * g;
|
|
438
438
|
} else
|
|
439
439
|
Q !== -1 && (J -= J - Q), Q = -1;
|
|
440
440
|
} else
|
|
441
|
-
for (t +
|
|
441
|
+
for (t + L > y && (t = y - L), J = t; J >= 0; J--) {
|
|
442
442
|
let Q = !0;
|
|
443
|
-
for (let W = 0; W <
|
|
443
|
+
for (let W = 0; W < L; W++)
|
|
444
444
|
if (Z(o, J + W) !== Z(e, W)) {
|
|
445
445
|
Q = !1;
|
|
446
446
|
break;
|
|
@@ -456,7 +456,7 @@ function xr() {
|
|
|
456
456
|
}, l.prototype.lastIndexOf = function(e, t, s) {
|
|
457
457
|
return G(this, e, t, s, !1);
|
|
458
458
|
};
|
|
459
|
-
function
|
|
459
|
+
function O(o, e, t, s) {
|
|
460
460
|
t = Number(t) || 0;
|
|
461
461
|
const p = o.length - t;
|
|
462
462
|
s ? (s = Number(s), s > p && (s = p)) : s = p;
|
|
@@ -464,23 +464,23 @@ function xr() {
|
|
|
464
464
|
s > g / 2 && (s = g / 2);
|
|
465
465
|
let y;
|
|
466
466
|
for (y = 0; y < s; ++y) {
|
|
467
|
-
const
|
|
468
|
-
if (
|
|
469
|
-
o[t + y] =
|
|
467
|
+
const L = parseInt(e.substr(y * 2, 2), 16);
|
|
468
|
+
if (at(L)) return y;
|
|
469
|
+
o[t + y] = L;
|
|
470
470
|
}
|
|
471
471
|
return y;
|
|
472
472
|
}
|
|
473
473
|
function $(o, e, t, s) {
|
|
474
|
-
return
|
|
474
|
+
return Ze(ot(e, o.length - t), o, t, s);
|
|
475
475
|
}
|
|
476
476
|
function V(o, e, t, s) {
|
|
477
|
-
return
|
|
477
|
+
return Ze(or(e), o, t, s);
|
|
478
478
|
}
|
|
479
|
-
function
|
|
480
|
-
return
|
|
479
|
+
function Ge(o, e, t, s) {
|
|
480
|
+
return Ze(Et(e), o, t, s);
|
|
481
481
|
}
|
|
482
482
|
function be(o, e, t, s) {
|
|
483
|
-
return
|
|
483
|
+
return Ze(ar(e, o.length - t), o, t, s);
|
|
484
484
|
}
|
|
485
485
|
l.prototype.write = function(e, t, s, p) {
|
|
486
486
|
if (t === void 0)
|
|
@@ -501,7 +501,7 @@ function xr() {
|
|
|
501
501
|
for (; ; )
|
|
502
502
|
switch (p) {
|
|
503
503
|
case "hex":
|
|
504
|
-
return
|
|
504
|
+
return O(this, e, t, s);
|
|
505
505
|
case "utf8":
|
|
506
506
|
case "utf-8":
|
|
507
507
|
return $(this, e, t, s);
|
|
@@ -510,7 +510,7 @@ function xr() {
|
|
|
510
510
|
case "binary":
|
|
511
511
|
return V(this, e, t, s);
|
|
512
512
|
case "base64":
|
|
513
|
-
return
|
|
513
|
+
return Ge(this, e, t, s);
|
|
514
514
|
case "ucs2":
|
|
515
515
|
case "ucs-2":
|
|
516
516
|
case "utf16le":
|
|
@@ -526,7 +526,7 @@ function xr() {
|
|
|
526
526
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
527
527
|
};
|
|
528
528
|
};
|
|
529
|
-
function
|
|
529
|
+
function Ae(o, e, t) {
|
|
530
530
|
return e === 0 && t === o.length ? r.fromByteArray(o) : r.fromByteArray(o.slice(e, t));
|
|
531
531
|
}
|
|
532
532
|
function ve(o, e, t) {
|
|
@@ -535,10 +535,10 @@ function xr() {
|
|
|
535
535
|
let p = e;
|
|
536
536
|
for (; p < t; ) {
|
|
537
537
|
const g = o[p];
|
|
538
|
-
let y = null,
|
|
539
|
-
if (p +
|
|
538
|
+
let y = null, L = g > 239 ? 4 : g > 223 ? 3 : g > 191 ? 2 : 1;
|
|
539
|
+
if (p + L <= t) {
|
|
540
540
|
let Z, J, Q, W;
|
|
541
|
-
switch (
|
|
541
|
+
switch (L) {
|
|
542
542
|
case 1:
|
|
543
543
|
g < 128 && (y = g);
|
|
544
544
|
break;
|
|
@@ -552,12 +552,12 @@ function xr() {
|
|
|
552
552
|
Z = o[p + 1], J = o[p + 2], Q = o[p + 3], (Z & 192) === 128 && (J & 192) === 128 && (Q & 192) === 128 && (W = (g & 15) << 18 | (Z & 63) << 12 | (J & 63) << 6 | Q & 63, W > 65535 && W < 1114112 && (y = W));
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
y === null ? (y = 65533,
|
|
555
|
+
y === null ? (y = 65533, L = 1) : y > 65535 && (y -= 65536, s.push(y >>> 10 & 1023 | 55296), y = 56320 | y & 1023), s.push(y), p += L;
|
|
556
556
|
}
|
|
557
|
-
return
|
|
557
|
+
return le(s);
|
|
558
558
|
}
|
|
559
559
|
const he = 4096;
|
|
560
|
-
function
|
|
560
|
+
function le(o) {
|
|
561
561
|
const e = o.length;
|
|
562
562
|
if (e <= he)
|
|
563
563
|
return String.fromCharCode.apply(String, o);
|
|
@@ -569,7 +569,7 @@ function xr() {
|
|
|
569
569
|
);
|
|
570
570
|
return t;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function ce(o, e, t) {
|
|
573
573
|
let s = "";
|
|
574
574
|
t = Math.min(o.length, t);
|
|
575
575
|
for (let p = e; p < t; ++p)
|
|
@@ -591,7 +591,7 @@ function xr() {
|
|
|
591
591
|
p += sr[o[g]];
|
|
592
592
|
return p;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Ee(o, e, t) {
|
|
595
595
|
const s = o.slice(e, t);
|
|
596
596
|
let p = "";
|
|
597
597
|
for (let g = 0; g < s.length - 1; g += 2)
|
|
@@ -630,16 +630,16 @@ function xr() {
|
|
|
630
630
|
return e = e >>> 0, t || q(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
|
|
631
631
|
}, l.prototype.readUint32BE = l.prototype.readUInt32BE = function(e, t) {
|
|
632
632
|
return e = e >>> 0, t || q(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
|
|
633
|
-
}, l.prototype.readBigUInt64LE =
|
|
634
|
-
e = e >>> 0,
|
|
633
|
+
}, l.prototype.readBigUInt64LE = Re(function(e) {
|
|
634
|
+
e = e >>> 0, _(e, "offset");
|
|
635
635
|
const t = this[e], s = this[e + 7];
|
|
636
|
-
(t === void 0 || s === void 0) &&
|
|
636
|
+
(t === void 0 || s === void 0) && Se(e, this.length - 8);
|
|
637
637
|
const p = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, g = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + s * 2 ** 24;
|
|
638
638
|
return BigInt(p) + (BigInt(g) << BigInt(32));
|
|
639
|
-
}), l.prototype.readBigUInt64BE =
|
|
640
|
-
e = e >>> 0,
|
|
639
|
+
}), l.prototype.readBigUInt64BE = Re(function(e) {
|
|
640
|
+
e = e >>> 0, _(e, "offset");
|
|
641
641
|
const t = this[e], s = this[e + 7];
|
|
642
|
-
(t === void 0 || s === void 0) &&
|
|
642
|
+
(t === void 0 || s === void 0) && Se(e, this.length - 8);
|
|
643
643
|
const p = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], g = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + s;
|
|
644
644
|
return (BigInt(p) << BigInt(32)) + BigInt(g);
|
|
645
645
|
}), l.prototype.readIntLE = function(e, t, s) {
|
|
@@ -668,16 +668,16 @@ function xr() {
|
|
|
668
668
|
return e = e >>> 0, t || q(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
|
|
669
669
|
}, l.prototype.readInt32BE = function(e, t) {
|
|
670
670
|
return e = e >>> 0, t || q(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
671
|
-
}, l.prototype.readBigInt64LE =
|
|
672
|
-
e = e >>> 0,
|
|
671
|
+
}, l.prototype.readBigInt64LE = Re(function(e) {
|
|
672
|
+
e = e >>> 0, _(e, "offset");
|
|
673
673
|
const t = this[e], s = this[e + 7];
|
|
674
|
-
(t === void 0 || s === void 0) &&
|
|
674
|
+
(t === void 0 || s === void 0) && Se(e, this.length - 8);
|
|
675
675
|
const p = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (s << 24);
|
|
676
676
|
return (BigInt(p) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
|
|
677
|
-
}), l.prototype.readBigInt64BE =
|
|
678
|
-
e = e >>> 0,
|
|
677
|
+
}), l.prototype.readBigInt64BE = Re(function(e) {
|
|
678
|
+
e = e >>> 0, _(e, "offset");
|
|
679
679
|
const t = this[e], s = this[e + 7];
|
|
680
|
-
(t === void 0 || s === void 0) &&
|
|
680
|
+
(t === void 0 || s === void 0) && Se(e, this.length - 8);
|
|
681
681
|
const p = (t << 24) + // Overflow
|
|
682
682
|
this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
|
|
683
683
|
return (BigInt(p) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + s);
|
|
@@ -697,8 +697,8 @@ function xr() {
|
|
|
697
697
|
}
|
|
698
698
|
l.prototype.writeUintLE = l.prototype.writeUIntLE = function(e, t, s, p) {
|
|
699
699
|
if (e = +e, t = t >>> 0, s = s >>> 0, !p) {
|
|
700
|
-
const
|
|
701
|
-
K(this, e, t, s,
|
|
700
|
+
const L = Math.pow(2, 8 * s) - 1;
|
|
701
|
+
K(this, e, t, s, L, 0);
|
|
702
702
|
}
|
|
703
703
|
let g = 1, y = 0;
|
|
704
704
|
for (this[t] = e & 255; ++y < s && (g *= 256); )
|
|
@@ -706,8 +706,8 @@ function xr() {
|
|
|
706
706
|
return t + s;
|
|
707
707
|
}, l.prototype.writeUintBE = l.prototype.writeUIntBE = function(e, t, s, p) {
|
|
708
708
|
if (e = +e, t = t >>> 0, s = s >>> 0, !p) {
|
|
709
|
-
const
|
|
710
|
-
K(this, e, t, s,
|
|
709
|
+
const L = Math.pow(2, 8 * s) - 1;
|
|
710
|
+
K(this, e, t, s, L, 0);
|
|
711
711
|
}
|
|
712
712
|
let g = s - 1, y = 1;
|
|
713
713
|
for (this[t + g] = e & 255; --g >= 0 && (y *= 256); )
|
|
@@ -725,40 +725,40 @@ function xr() {
|
|
|
725
725
|
return e = +e, t = t >>> 0, s || K(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
726
726
|
};
|
|
727
727
|
function X(o, e, t, s, p) {
|
|
728
|
-
|
|
728
|
+
B(e, s, p, o, t, 7);
|
|
729
729
|
let g = Number(e & BigInt(4294967295));
|
|
730
730
|
o[t++] = g, g = g >> 8, o[t++] = g, g = g >> 8, o[t++] = g, g = g >> 8, o[t++] = g;
|
|
731
731
|
let y = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
732
732
|
return o[t++] = y, y = y >> 8, o[t++] = y, y = y >> 8, o[t++] = y, y = y >> 8, o[t++] = y, t;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
735
|
-
|
|
734
|
+
function ee(o, e, t, s, p) {
|
|
735
|
+
B(e, s, p, o, t, 7);
|
|
736
736
|
let g = Number(e & BigInt(4294967295));
|
|
737
737
|
o[t + 7] = g, g = g >> 8, o[t + 6] = g, g = g >> 8, o[t + 5] = g, g = g >> 8, o[t + 4] = g;
|
|
738
738
|
let y = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
739
739
|
return o[t + 3] = y, y = y >> 8, o[t + 2] = y, y = y >> 8, o[t + 1] = y, y = y >> 8, o[t] = y, t + 8;
|
|
740
740
|
}
|
|
741
|
-
l.prototype.writeBigUInt64LE =
|
|
741
|
+
l.prototype.writeBigUInt64LE = Re(function(e, t = 0) {
|
|
742
742
|
return X(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
743
|
-
}), l.prototype.writeBigUInt64BE =
|
|
744
|
-
return
|
|
743
|
+
}), l.prototype.writeBigUInt64BE = Re(function(e, t = 0) {
|
|
744
|
+
return ee(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
745
745
|
}), l.prototype.writeIntLE = function(e, t, s, p) {
|
|
746
746
|
if (e = +e, t = t >>> 0, !p) {
|
|
747
747
|
const Z = Math.pow(2, 8 * s - 1);
|
|
748
748
|
K(this, e, t, s, Z - 1, -Z);
|
|
749
749
|
}
|
|
750
|
-
let g = 0, y = 1,
|
|
750
|
+
let g = 0, y = 1, L = 0;
|
|
751
751
|
for (this[t] = e & 255; ++g < s && (y *= 256); )
|
|
752
|
-
e < 0 &&
|
|
752
|
+
e < 0 && L === 0 && this[t + g - 1] !== 0 && (L = 1), this[t + g] = (e / y >> 0) - L & 255;
|
|
753
753
|
return t + s;
|
|
754
754
|
}, l.prototype.writeIntBE = function(e, t, s, p) {
|
|
755
755
|
if (e = +e, t = t >>> 0, !p) {
|
|
756
756
|
const Z = Math.pow(2, 8 * s - 1);
|
|
757
757
|
K(this, e, t, s, Z - 1, -Z);
|
|
758
758
|
}
|
|
759
|
-
let g = s - 1, y = 1,
|
|
759
|
+
let g = s - 1, y = 1, L = 0;
|
|
760
760
|
for (this[t + g] = e & 255; --g >= 0 && (y *= 256); )
|
|
761
|
-
e < 0 &&
|
|
761
|
+
e < 0 && L === 0 && this[t + g + 1] !== 0 && (L = 1), this[t + g] = (e / y >> 0) - L & 255;
|
|
762
762
|
return t + s;
|
|
763
763
|
}, l.prototype.writeInt8 = function(e, t, s) {
|
|
764
764
|
return e = +e, t = t >>> 0, s || K(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
|
|
@@ -770,25 +770,25 @@ function xr() {
|
|
|
770
770
|
return e = +e, t = t >>> 0, s || K(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
|
|
771
771
|
}, l.prototype.writeInt32BE = function(e, t, s) {
|
|
772
772
|
return e = +e, t = t >>> 0, s || K(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
773
|
-
}, l.prototype.writeBigInt64LE =
|
|
773
|
+
}, l.prototype.writeBigInt64LE = Re(function(e, t = 0) {
|
|
774
774
|
return X(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
775
|
-
}), l.prototype.writeBigInt64BE =
|
|
776
|
-
return
|
|
775
|
+
}), l.prototype.writeBigInt64BE = Re(function(e, t = 0) {
|
|
776
|
+
return ee(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
777
777
|
});
|
|
778
|
-
function
|
|
778
|
+
function xe(o, e, t, s, p, g) {
|
|
779
779
|
if (t + s > o.length) throw new RangeError("Index out of range");
|
|
780
780
|
if (t < 0) throw new RangeError("Index out of range");
|
|
781
781
|
}
|
|
782
|
-
function
|
|
783
|
-
return e = +e, t = t >>> 0, p ||
|
|
782
|
+
function Le(o, e, t, s, p) {
|
|
783
|
+
return e = +e, t = t >>> 0, p || xe(o, e, t, 4), n.write(o, e, t, s, 23, 4), t + 4;
|
|
784
784
|
}
|
|
785
785
|
l.prototype.writeFloatLE = function(e, t, s) {
|
|
786
|
-
return
|
|
786
|
+
return Le(this, e, t, !0, s);
|
|
787
787
|
}, l.prototype.writeFloatBE = function(e, t, s) {
|
|
788
|
-
return
|
|
788
|
+
return Le(this, e, t, !1, s);
|
|
789
789
|
};
|
|
790
790
|
function Y(o, e, t, s, p) {
|
|
791
|
-
return e = +e, t = t >>> 0, p ||
|
|
791
|
+
return e = +e, t = t >>> 0, p || xe(o, e, t, 8), n.write(o, e, t, s, 52, 8), t + 8;
|
|
792
792
|
}
|
|
793
793
|
l.prototype.writeDoubleLE = function(e, t, s) {
|
|
794
794
|
return Y(this, e, t, !0, s);
|
|
@@ -829,16 +829,16 @@ function xr() {
|
|
|
829
829
|
for (g = t; g < s; ++g)
|
|
830
830
|
this[g] = e;
|
|
831
831
|
else {
|
|
832
|
-
const y = l.isBuffer(e) ? e : l.from(e, p),
|
|
833
|
-
if (
|
|
832
|
+
const y = l.isBuffer(e) ? e : l.from(e, p), L = y.length;
|
|
833
|
+
if (L === 0)
|
|
834
834
|
throw new TypeError('The value "' + e + '" is invalid for argument "value"');
|
|
835
835
|
for (g = 0; g < s - t; ++g)
|
|
836
|
-
this[g + t] = y[g %
|
|
836
|
+
this[g + t] = y[g % L];
|
|
837
837
|
}
|
|
838
838
|
return this;
|
|
839
839
|
};
|
|
840
840
|
const pe = {};
|
|
841
|
-
function
|
|
841
|
+
function fe(o, e, t) {
|
|
842
842
|
pe[o] = class extends t {
|
|
843
843
|
constructor() {
|
|
844
844
|
super(), Object.defineProperty(this, "message", {
|
|
@@ -863,63 +863,63 @@ function xr() {
|
|
|
863
863
|
}
|
|
864
864
|
};
|
|
865
865
|
}
|
|
866
|
-
|
|
866
|
+
fe(
|
|
867
867
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
868
868
|
function(o) {
|
|
869
869
|
return o ? `${o} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
870
870
|
},
|
|
871
871
|
RangeError
|
|
872
|
-
),
|
|
872
|
+
), fe(
|
|
873
873
|
"ERR_INVALID_ARG_TYPE",
|
|
874
874
|
function(o, e) {
|
|
875
875
|
return `The "${o}" argument must be of type number. Received type ${typeof e}`;
|
|
876
876
|
},
|
|
877
877
|
TypeError
|
|
878
|
-
),
|
|
878
|
+
), fe(
|
|
879
879
|
"ERR_OUT_OF_RANGE",
|
|
880
880
|
function(o, e, t) {
|
|
881
881
|
let s = `The value of "${o}" is out of range.`, p = t;
|
|
882
|
-
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? p =
|
|
882
|
+
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? p = I(String(t)) : typeof t == "bigint" && (p = String(t), (t > BigInt(2) ** BigInt(32) || t < -(BigInt(2) ** BigInt(32))) && (p = I(p)), p += "n"), s += ` It must be ${e}. Received ${p}`, s;
|
|
883
883
|
},
|
|
884
884
|
RangeError
|
|
885
885
|
);
|
|
886
|
-
function
|
|
886
|
+
function I(o) {
|
|
887
887
|
let e = "", t = o.length;
|
|
888
888
|
const s = o[0] === "-" ? 1 : 0;
|
|
889
889
|
for (; t >= s + 4; t -= 3)
|
|
890
890
|
e = `_${o.slice(t - 3, t)}${e}`;
|
|
891
891
|
return `${o.slice(0, t)}${e}`;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
894
|
-
|
|
893
|
+
function M(o, e, t) {
|
|
894
|
+
_(e, "offset"), (o[e] === void 0 || o[e + t] === void 0) && Se(e, o.length - (t + 1));
|
|
895
895
|
}
|
|
896
|
-
function
|
|
896
|
+
function B(o, e, t, s, p, g) {
|
|
897
897
|
if (o > t || o < e) {
|
|
898
898
|
const y = typeof e == "bigint" ? "n" : "";
|
|
899
|
-
let
|
|
900
|
-
throw e === 0 || e === BigInt(0) ?
|
|
899
|
+
let L;
|
|
900
|
+
throw e === 0 || e === BigInt(0) ? L = `>= 0${y} and < 2${y} ** ${(g + 1) * 8}${y}` : L = `>= -(2${y} ** ${(g + 1) * 8 - 1}${y}) and < 2 ** ${(g + 1) * 8 - 1}${y}`, new pe.ERR_OUT_OF_RANGE("value", L, o);
|
|
901
901
|
}
|
|
902
|
-
|
|
902
|
+
M(s, p, g);
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function _(o, e) {
|
|
905
905
|
if (typeof o != "number")
|
|
906
906
|
throw new pe.ERR_INVALID_ARG_TYPE(e, "number", o);
|
|
907
907
|
}
|
|
908
|
-
function
|
|
909
|
-
throw Math.floor(o) !== o ? (
|
|
908
|
+
function Se(o, e, t) {
|
|
909
|
+
throw Math.floor(o) !== o ? (_(o, t), new pe.ERR_OUT_OF_RANGE("offset", "an integer", o)) : e < 0 ? new pe.ERR_BUFFER_OUT_OF_BOUNDS() : new pe.ERR_OUT_OF_RANGE(
|
|
910
910
|
"offset",
|
|
911
911
|
`>= 0 and <= ${e}`,
|
|
912
912
|
o
|
|
913
913
|
);
|
|
914
914
|
}
|
|
915
|
-
const
|
|
916
|
-
function
|
|
917
|
-
if (o = o.split("=")[0], o = o.trim().replace(
|
|
915
|
+
const qe = /[^+/0-9A-Za-z-_]/g;
|
|
916
|
+
function ke(o) {
|
|
917
|
+
if (o = o.split("=")[0], o = o.trim().replace(qe, ""), o.length < 2) return "";
|
|
918
918
|
for (; o.length % 4 !== 0; )
|
|
919
919
|
o = o + "=";
|
|
920
920
|
return o;
|
|
921
921
|
}
|
|
922
|
-
function
|
|
922
|
+
function ot(o, e) {
|
|
923
923
|
e = e || 1 / 0;
|
|
924
924
|
let t;
|
|
925
925
|
const s = o.length;
|
|
@@ -986,10 +986,10 @@ function xr() {
|
|
|
986
986
|
t = o.charCodeAt(y), s = t >> 8, p = t % 256, g.push(p), g.push(s);
|
|
987
987
|
return g;
|
|
988
988
|
}
|
|
989
|
-
function
|
|
990
|
-
return r.toByteArray(
|
|
989
|
+
function Et(o) {
|
|
990
|
+
return r.toByteArray(ke(o));
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function Ze(o, e, t, s) {
|
|
993
993
|
let p;
|
|
994
994
|
for (p = 0; p < s && !(p + t >= e.length || p >= o.length); ++p)
|
|
995
995
|
e[p + t] = o[p];
|
|
@@ -998,7 +998,7 @@ function xr() {
|
|
|
998
998
|
function me(o, e) {
|
|
999
999
|
return o instanceof e || o != null && o.constructor != null && o.constructor.name != null && o.constructor.name === e.name;
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function at(o) {
|
|
1002
1002
|
return o !== o;
|
|
1003
1003
|
}
|
|
1004
1004
|
const sr = (function() {
|
|
@@ -1010,16 +1010,16 @@ function xr() {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
return e;
|
|
1012
1012
|
})();
|
|
1013
|
-
function
|
|
1013
|
+
function Re(o) {
|
|
1014
1014
|
return typeof BigInt > "u" ? lr : o;
|
|
1015
1015
|
}
|
|
1016
1016
|
function lr() {
|
|
1017
1017
|
throw new Error("BigInt not supported");
|
|
1018
1018
|
}
|
|
1019
|
-
})(
|
|
1019
|
+
})(lt)), lt;
|
|
1020
1020
|
}
|
|
1021
1021
|
var Sr = xr();
|
|
1022
|
-
const kr = "https://api.anam.ai", Cr = "/v1",
|
|
1022
|
+
const kr = "https://api.anam.ai", Cr = "/v1", Ft = {
|
|
1023
1023
|
client: "js-sdk",
|
|
1024
1024
|
version: "4.7.0"
|
|
1025
1025
|
};
|
|
@@ -1032,54 +1032,54 @@ var _r = function(i, r, n, a) {
|
|
|
1032
1032
|
return new (n || (n = Promise))(function(h, c) {
|
|
1033
1033
|
function l(f) {
|
|
1034
1034
|
try {
|
|
1035
|
-
|
|
1035
|
+
w(a.next(f));
|
|
1036
1036
|
} catch (u) {
|
|
1037
1037
|
c(u);
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
1040
|
function m(f) {
|
|
1041
1041
|
try {
|
|
1042
|
-
|
|
1042
|
+
w(a.throw(f));
|
|
1043
1043
|
} catch (u) {
|
|
1044
1044
|
c(u);
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function w(f) {
|
|
1048
1048
|
f.done ? h(f.value) : d(f.value).then(l, m);
|
|
1049
1049
|
}
|
|
1050
|
-
|
|
1050
|
+
w((a = a.apply(i, r || [])).next());
|
|
1051
1051
|
});
|
|
1052
1052
|
};
|
|
1053
|
-
const
|
|
1054
|
-
var
|
|
1053
|
+
const Pt = "https://api.anam.ai", vt = "/v1";
|
|
1054
|
+
var Ie;
|
|
1055
1055
|
(function(i) {
|
|
1056
1056
|
i.CLIENT_METRIC_MEASUREMENT_ERROR = "client_error", i.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED = "client_connection_closed", i.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED = "client_connection_established", i.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT = "client_session_attempt", i.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS = "client_session_success";
|
|
1057
|
-
})(
|
|
1058
|
-
let
|
|
1059
|
-
const Ir = (i, r =
|
|
1060
|
-
|
|
1057
|
+
})(Ie || (Ie = {}));
|
|
1058
|
+
let ft = Pt, zt = vt, Oe, Gt = !1;
|
|
1059
|
+
const Ir = (i, r = vt) => {
|
|
1060
|
+
ft = i, zt = r;
|
|
1061
1061
|
}, Ar = (i) => {
|
|
1062
|
-
|
|
1062
|
+
Oe = i;
|
|
1063
1063
|
}, Rr = (i) => {
|
|
1064
|
-
|
|
1064
|
+
Gt = i;
|
|
1065
1065
|
};
|
|
1066
|
-
let
|
|
1066
|
+
let Me = {
|
|
1067
1067
|
sessionId: null,
|
|
1068
1068
|
organizationId: null,
|
|
1069
1069
|
attemptCorrelationId: null
|
|
1070
1070
|
};
|
|
1071
1071
|
const $e = (i) => {
|
|
1072
|
-
|
|
1073
|
-
},
|
|
1074
|
-
if (!
|
|
1072
|
+
Me = Object.assign(Object.assign({}, Me), i);
|
|
1073
|
+
}, ze = (i, r, n) => _r(void 0, void 0, void 0, function* () {
|
|
1074
|
+
if (!Gt)
|
|
1075
1075
|
try {
|
|
1076
|
-
const a = Object.assign(Object.assign({},
|
|
1077
|
-
|
|
1078
|
-
const d = `${
|
|
1076
|
+
const a = Object.assign(Object.assign({}, Ft), n);
|
|
1077
|
+
Me.sessionId && (a.sessionId = Me.sessionId), Me.organizationId && (a.organizationId = Me.organizationId), Me.attemptCorrelationId && (a.attemptCorrelationId = Me.attemptCorrelationId);
|
|
1078
|
+
const d = `${zt}/metrics/client`;
|
|
1079
1079
|
let h, c = {
|
|
1080
1080
|
"Content-Type": "application/json"
|
|
1081
1081
|
};
|
|
1082
|
-
|
|
1082
|
+
Oe?.enabled && Oe?.baseUrl ? (h = `${Oe.baseUrl}${d}`, c["X-Anam-Target-Url"] = `${ft}${d}`) : h = `${ft}${d}`, yield fetch(h, {
|
|
1083
1083
|
method: "POST",
|
|
1084
1084
|
headers: c,
|
|
1085
1085
|
body: JSON.stringify({
|
|
@@ -1101,13 +1101,13 @@ const $e = (i) => {
|
|
|
1101
1101
|
issues: []
|
|
1102
1102
|
}, l = ((n = h["inbound-rtp"]) === null || n === void 0 ? void 0 : n.filter((u) => u.kind === "video")) || [];
|
|
1103
1103
|
l.length > 0 && (c.personaVideoStream = [], l.forEach((u) => {
|
|
1104
|
-
var A,
|
|
1104
|
+
var A, b, x, S, T;
|
|
1105
1105
|
const N = {
|
|
1106
1106
|
framesReceived: (A = u.framesReceived) !== null && A !== void 0 ? A : "unknown",
|
|
1107
|
-
framesDropped: (
|
|
1107
|
+
framesDropped: (b = u.framesDropped) !== null && b !== void 0 ? b : "unknown",
|
|
1108
1108
|
framesPerSecond: (x = u.framesPerSecond) !== null && x !== void 0 ? x : "unknown",
|
|
1109
1109
|
packetsReceived: (S = u.packetsReceived) !== null && S !== void 0 ? S : "unknown",
|
|
1110
|
-
packetsLost: (
|
|
1110
|
+
packetsLost: (T = u.packetsLost) !== null && T !== void 0 ? T : "unknown",
|
|
1111
1111
|
resolution: u.frameWidth && u.frameHeight ? `${u.frameWidth}x${u.frameHeight}` : void 0,
|
|
1112
1112
|
jitter: u.jitter !== void 0 ? u.jitter : void 0
|
|
1113
1113
|
};
|
|
@@ -1115,22 +1115,22 @@ const $e = (i) => {
|
|
|
1115
1115
|
}));
|
|
1116
1116
|
const m = ((a = h["inbound-rtp"]) === null || a === void 0 ? void 0 : a.filter((u) => u.kind === "audio")) || [];
|
|
1117
1117
|
m.length > 0 && (c.personaAudioStream = [], m.forEach((u) => {
|
|
1118
|
-
var A,
|
|
1118
|
+
var A, b, x;
|
|
1119
1119
|
const S = {
|
|
1120
1120
|
packetsReceived: (A = u.packetsReceived) !== null && A !== void 0 ? A : "unknown",
|
|
1121
|
-
packetsLost: (
|
|
1121
|
+
packetsLost: (b = u.packetsLost) !== null && b !== void 0 ? b : "unknown",
|
|
1122
1122
|
audioLevel: (x = u.audioLevel) !== null && x !== void 0 ? x : "unknown",
|
|
1123
1123
|
jitter: u.jitter !== void 0 ? u.jitter : void 0,
|
|
1124
1124
|
totalAudioEnergy: u.totalAudioEnergy !== void 0 ? u.totalAudioEnergy : void 0
|
|
1125
1125
|
};
|
|
1126
1126
|
c.personaAudioStream.push(S);
|
|
1127
1127
|
}));
|
|
1128
|
-
const
|
|
1129
|
-
|
|
1130
|
-
var A,
|
|
1128
|
+
const w = ((d = h["outbound-rtp"]) === null || d === void 0 ? void 0 : d.filter((u) => u.kind === "audio")) || [];
|
|
1129
|
+
w.length > 0 && (c.userAudioInput = [], w.forEach((u) => {
|
|
1130
|
+
var A, b;
|
|
1131
1131
|
const x = {
|
|
1132
1132
|
packetsSent: (A = u.packetsSent) !== null && A !== void 0 ? A : "unknown",
|
|
1133
|
-
retransmittedPackets: (
|
|
1133
|
+
retransmittedPackets: (b = u.retransmittedPacketsSent) !== null && b !== void 0 ? b : void 0,
|
|
1134
1134
|
avgPacketSendDelay: u.totalPacketSendDelay !== void 0 ? u.totalPacketSendDelay / (u.packetsSent || 1) * 1e3 : void 0
|
|
1135
1135
|
};
|
|
1136
1136
|
c.userAudioInput.push(x);
|
|
@@ -1175,15 +1175,15 @@ var ie;
|
|
|
1175
1175
|
(function(i) {
|
|
1176
1176
|
i.CLIENT_ERROR_CODE_USAGE_LIMIT_REACHED = "CLIENT_ERROR_CODE_USAGE_LIMIT_REACHED", i.CLIENT_ERROR_CODE_SPEND_CAP_REACHED = "CLIENT_ERROR_CODE_SPEND_CAP_REACHED", i.CLIENT_ERROR_CODE_VALIDATION_ERROR = "CLIENT_ERROR_CODE_VALIDATION_ERROR", i.CLIENT_ERROR_CODE_AUTHENTICATION_ERROR = "CLIENT_ERROR_CODE_AUTHENTICATION_ERROR", i.CLIENT_ERROR_CODE_SERVER_ERROR = "CLIENT_ERROR_CODE_SERVER_ERROR", i.CLIENT_ERROR_CODE_MAX_CONCURRENT_SESSIONS_REACHED = "CLIENT_ERROR_CODE_MAX_CONCURRENT_SESSIONS_REACHED", i.CLIENT_ERROR_CODE_SERVICE_BUSY = "CLIENT_ERROR_CODE_SERVICE_BUSY", i.CLIENT_ERROR_CODE_NO_PLAN_FOUND = "CLIENT_ERROR_CODE_NO_PLAN_FOUND", i.CLIENT_ERROR_CODE_UNKNOWN_ERROR = "CLIENT_ERROR_CODE_UNKNOWN_ERROR", i.CLIENT_ERROR_CODE_CONFIGURATION_ERROR = "CLIENT_ERROR_CODE_CONFIGURATION_ERROR";
|
|
1177
1177
|
})(ie || (ie = {}));
|
|
1178
|
-
class
|
|
1178
|
+
class re extends Error {
|
|
1179
1179
|
constructor(r, n, a = 500, d) {
|
|
1180
|
-
super(r), this.name = "ClientError", this.code = n, this.statusCode = a, this.details = d, Object.setPrototypeOf(this,
|
|
1180
|
+
super(r), this.name = "ClientError", this.code = n, this.statusCode = a, this.details = d, Object.setPrototypeOf(this, re.prototype), ze(Ie.CLIENT_METRIC_MEASUREMENT_ERROR, n, {
|
|
1181
1181
|
details: d,
|
|
1182
1182
|
statusCode: a
|
|
1183
1183
|
});
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function Nt() {
|
|
1187
1187
|
return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : Date.now().toString(36) + Math.random().toString(36).substr(2, 9);
|
|
1188
1188
|
}
|
|
1189
1189
|
function Tr(i) {
|
|
@@ -1201,22 +1201,22 @@ function Tr(i) {
|
|
|
1201
1201
|
return "API Gateway wsPath must start with /";
|
|
1202
1202
|
}
|
|
1203
1203
|
}
|
|
1204
|
-
var
|
|
1204
|
+
var ne;
|
|
1205
1205
|
(function(i) {
|
|
1206
1206
|
i.OFFER = "offer", i.ANSWER = "answer", i.ICE_CANDIDATE = "icecandidate", i.END_SESSION = "endsession", i.HEARTBEAT = "heartbeat", i.WARNING = "warning", i.TALK_STREAM_INTERRUPTED = "talkinputstreaminterrupted", i.TALK_STREAM_INPUT = "talkstream", i.SESSION_READY = "sessionready", i.AGENT_AUDIO_INPUT = "agentaudioinput", i.AGENT_AUDIO_INPUT_END = "agentaudioinputend";
|
|
1207
|
-
})(
|
|
1208
|
-
var
|
|
1207
|
+
})(ne || (ne = {}));
|
|
1208
|
+
var rt;
|
|
1209
1209
|
(function(i) {
|
|
1210
1210
|
i.SPEECH_TEXT = "speechText", i.CLIENT_TOOL_EVENT = "clientToolEvent";
|
|
1211
|
-
})(
|
|
1211
|
+
})(rt || (rt = {}));
|
|
1212
1212
|
var De;
|
|
1213
1213
|
(function(i) {
|
|
1214
1214
|
i.PENDING = "pending", i.GRANTED = "granted", i.DENIED = "denied", i.NOT_REQUESTED = "not_requested";
|
|
1215
1215
|
})(De || (De = {}));
|
|
1216
|
-
var
|
|
1216
|
+
var it;
|
|
1217
1217
|
(function(i) {
|
|
1218
1218
|
i.USER = "user", i.PERSONA = "persona";
|
|
1219
|
-
})(
|
|
1219
|
+
})(it || (it = {}));
|
|
1220
1220
|
var P;
|
|
1221
1221
|
(function(i) {
|
|
1222
1222
|
i.MESSAGE_HISTORY_UPDATED = "MESSAGE_HISTORY_UPDATED", i.MESSAGE_STREAM_EVENT_RECEIVED = "MESSAGE_STREAM_EVENT_RECEIVED", i.CONNECTION_ESTABLISHED = "CONNECTION_ESTABLISHED", i.CONNECTION_CLOSED = "CONNECTION_CLOSED", i.INPUT_AUDIO_STREAM_STARTED = "INPUT_AUDIO_STREAM_STARTED", i.VIDEO_STREAM_STARTED = "VIDEO_STREAM_STARTED", i.VIDEO_PLAY_STARTED = "VIDEO_PLAY_STARTED", i.AUDIO_STREAM_STARTED = "AUDIO_STREAM_STARTED", i.TALK_STREAM_INTERRUPTED = "TALK_STREAM_INTERRUPTED", i.SESSION_READY = "SESSION_READY", i.SERVER_WARNING = "SERVER_WARNING", i.MIC_PERMISSION_PENDING = "MIC_PERMISSION_PENDING", i.MIC_PERMISSION_GRANTED = "MIC_PERMISSION_GRANTED", i.MIC_PERMISSION_DENIED = "MIC_PERMISSION_DENIED", i.INPUT_AUDIO_DEVICE_CHANGED = "INPUT_AUDIO_DEVICE_CHANGED", i.CLIENT_TOOL_EVENT_RECEIVED = "CLIENT_TOOL_EVENT_RECEIVED";
|
|
@@ -1225,10 +1225,10 @@ var ge;
|
|
|
1225
1225
|
(function(i) {
|
|
1226
1226
|
i.WEB_SOCKET_OPEN = "WEB_SOCKET_OPEN", i.SIGNAL_MESSAGE_RECEIVED = "SIGNAL_MESSAGE_RECEIVED", i.WEBRTC_CHAT_MESSAGE_RECEIVED = "WEBRTC_CHAT_MESSAGE_RECEIVED", i.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED = "WEBRTC_CLIENT_TOOL_EVENT_RECEIVED";
|
|
1227
1227
|
})(ge || (ge = {}));
|
|
1228
|
-
var
|
|
1228
|
+
var Be;
|
|
1229
1229
|
(function(i) {
|
|
1230
1230
|
i.NORMAL = "CONNECTION_CLOSED_CODE_NORMAL", i.MICROPHONE_PERMISSION_DENIED = "CONNECTION_CLOSED_CODE_MICROPHONE_PERMISSION_DENIED", i.SIGNALLING_CLIENT_CONNECTION_FAILURE = "CONNECTION_CLOSED_CODE_SIGNALLING_CLIENT_CONNECTION_FAILURE", i.WEBRTC_FAILURE = "CONNECTION_CLOSED_CODE_WEBRTC_FAILURE", i.SERVER_CLOSED_CONNECTION = "CONNECTION_CLOSED_CODE_SERVER_CLOSED_CONNECTION";
|
|
1231
|
-
})(
|
|
1231
|
+
})(Be || (Be = {}));
|
|
1232
1232
|
class Or {
|
|
1233
1233
|
constructor(r, n) {
|
|
1234
1234
|
this.sequenceNumber = 0, this.config = r, this.signallingClient = n;
|
|
@@ -1280,42 +1280,42 @@ var je = function(i, r, n, a) {
|
|
|
1280
1280
|
return new (n || (n = Promise))(function(h, c) {
|
|
1281
1281
|
function l(f) {
|
|
1282
1282
|
try {
|
|
1283
|
-
|
|
1283
|
+
w(a.next(f));
|
|
1284
1284
|
} catch (u) {
|
|
1285
1285
|
c(u);
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
function m(f) {
|
|
1289
1289
|
try {
|
|
1290
|
-
|
|
1290
|
+
w(a.throw(f));
|
|
1291
1291
|
} catch (u) {
|
|
1292
1292
|
c(u);
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
|
-
function
|
|
1295
|
+
function w(f) {
|
|
1296
1296
|
f.done ? h(f.value) : d(f.value).then(l, m);
|
|
1297
1297
|
}
|
|
1298
|
-
|
|
1298
|
+
w((a = a.apply(i, r || [])).next());
|
|
1299
1299
|
});
|
|
1300
1300
|
};
|
|
1301
|
-
const
|
|
1301
|
+
const Mr = 5, Dr = 5;
|
|
1302
1302
|
class Br {
|
|
1303
1303
|
constructor(r, n, a, d, h) {
|
|
1304
|
-
var c, l, m,
|
|
1304
|
+
var c, l, m, w, f;
|
|
1305
1305
|
if (this.stopSignal = !1, this.sendingBuffer = [], this.wsConnectionAttempts = 0, this.socket = null, this.heartBeatIntervalRef = null, this.publicEventEmitter = a, this.internalEventEmitter = d, this.apiGatewayConfig = h, !r)
|
|
1306
1306
|
throw new Error("Signalling Client: sessionId is required");
|
|
1307
1307
|
this.sessionId = r;
|
|
1308
|
-
const { heartbeatIntervalSeconds: u, maxWsReconnectionAttempts: A, url:
|
|
1309
|
-
if (this.heartbeatIntervalSeconds = u ||
|
|
1308
|
+
const { heartbeatIntervalSeconds: u, maxWsReconnectionAttempts: A, url: b } = n;
|
|
1309
|
+
if (this.heartbeatIntervalSeconds = u || Mr, this.maxWsReconnectionAttempts = A || Dr, !b.baseUrl)
|
|
1310
1310
|
throw new Error("Signalling Client: baseUrl is required");
|
|
1311
1311
|
if (!((c = this.apiGatewayConfig) === null || c === void 0) && c.enabled && (!((l = this.apiGatewayConfig) === null || l === void 0) && l.baseUrl)) {
|
|
1312
1312
|
const x = new URL(this.apiGatewayConfig.baseUrl), S = (m = this.apiGatewayConfig.wsPath) !== null && m !== void 0 ? m : "/ws";
|
|
1313
1313
|
x.protocol = x.protocol.replace("http", "ws"), x.pathname = S, this.url = x;
|
|
1314
|
-
const
|
|
1315
|
-
H.protocol = N === "ws" ? "ws:" : "wss:",
|
|
1314
|
+
const T = b.protocol || "https", N = T === "http" ? "ws" : "wss", z = `${T}://${b.baseUrl}`, j = (w = b.signallingPath) !== null && w !== void 0 ? w : "/ws", H = new URL(z);
|
|
1315
|
+
H.protocol = N === "ws" ? "ws:" : "wss:", b.port && (H.port = b.port), H.pathname = j, H.searchParams.append("session_id", r), this.url.searchParams.append("target_url", H.href);
|
|
1316
1316
|
} else {
|
|
1317
|
-
const S = `${
|
|
1318
|
-
this.url = new URL(S), this.url.protocol =
|
|
1317
|
+
const S = `${b.protocol || "https"}://${b.baseUrl}`;
|
|
1318
|
+
this.url = new URL(S), this.url.protocol = b.protocol === "http" ? "ws:" : "wss:", b.port && (this.url.port = b.port), this.url.pathname = (f = b.signallingPath) !== null && f !== void 0 ? f : "/ws", this.url.searchParams.append("session_id", r);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
stop() {
|
|
@@ -1331,7 +1331,7 @@ class Br {
|
|
|
1331
1331
|
userUid: this.sessionId
|
|
1332
1332
|
// TODO: this should be renamed to session Id on the server
|
|
1333
1333
|
}, a = {
|
|
1334
|
-
actionType:
|
|
1334
|
+
actionType: ne.OFFER,
|
|
1335
1335
|
sessionId: this.sessionId,
|
|
1336
1336
|
payload: n
|
|
1337
1337
|
};
|
|
@@ -1341,7 +1341,7 @@ class Br {
|
|
|
1341
1341
|
sendIceCandidate(r) {
|
|
1342
1342
|
return je(this, void 0, void 0, function* () {
|
|
1343
1343
|
const n = {
|
|
1344
|
-
actionType:
|
|
1344
|
+
actionType: ne.ICE_CANDIDATE,
|
|
1345
1345
|
sessionId: this.sessionId,
|
|
1346
1346
|
payload: r.toJSON()
|
|
1347
1347
|
};
|
|
@@ -1362,7 +1362,7 @@ class Br {
|
|
|
1362
1362
|
sendTalkMessage(r) {
|
|
1363
1363
|
return je(this, void 0, void 0, function* () {
|
|
1364
1364
|
const n = {
|
|
1365
|
-
actionType:
|
|
1365
|
+
actionType: ne.TALK_STREAM_INPUT,
|
|
1366
1366
|
sessionId: this.sessionId,
|
|
1367
1367
|
payload: r
|
|
1368
1368
|
};
|
|
@@ -1371,7 +1371,7 @@ class Br {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
sendAgentAudioInput(r) {
|
|
1373
1373
|
const n = {
|
|
1374
|
-
actionType:
|
|
1374
|
+
actionType: ne.AGENT_AUDIO_INPUT,
|
|
1375
1375
|
sessionId: this.sessionId,
|
|
1376
1376
|
payload: r
|
|
1377
1377
|
};
|
|
@@ -1379,7 +1379,7 @@ class Br {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
sendAgentAudioInputEnd() {
|
|
1381
1381
|
const r = {
|
|
1382
|
-
actionType:
|
|
1382
|
+
actionType: ne.AGENT_AUDIO_INPUT_END,
|
|
1383
1383
|
sessionId: this.sessionId,
|
|
1384
1384
|
payload: {}
|
|
1385
1385
|
};
|
|
@@ -1395,7 +1395,7 @@ class Br {
|
|
|
1395
1395
|
try {
|
|
1396
1396
|
this.wsConnectionAttempts = 0, this.flushSendingBuffer(), this.socket.onmessage = this.onMessage.bind(this), this.startSendingHeartBeats(), this.internalEventEmitter.emit(ge.WEB_SOCKET_OPEN);
|
|
1397
1397
|
} catch (r) {
|
|
1398
|
-
console.error("SignallingClient - onOpen: error in onOpen", r), this.publicEventEmitter.emit(P.CONNECTION_CLOSED,
|
|
1398
|
+
console.error("SignallingClient - onOpen: error in onOpen", r), this.publicEventEmitter.emit(P.CONNECTION_CLOSED, Be.SIGNALLING_CLIENT_CONNECTION_FAILURE);
|
|
1399
1399
|
}
|
|
1400
1400
|
});
|
|
1401
1401
|
}
|
|
@@ -1403,7 +1403,7 @@ class Br {
|
|
|
1403
1403
|
return je(this, void 0, void 0, function* () {
|
|
1404
1404
|
this.wsConnectionAttempts += 1, !this.stopSignal && (this.wsConnectionAttempts <= this.maxWsReconnectionAttempts ? (this.socket = null, setTimeout(() => {
|
|
1405
1405
|
this.connect();
|
|
1406
|
-
}, 100 * this.wsConnectionAttempts)) : (this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null), this.publicEventEmitter.emit(P.CONNECTION_CLOSED,
|
|
1406
|
+
}, 100 * this.wsConnectionAttempts)) : (this.heartBeatIntervalRef && (clearInterval(this.heartBeatIntervalRef), this.heartBeatIntervalRef = null), this.publicEventEmitter.emit(P.CONNECTION_CLOSED, Be.SIGNALLING_CLIENT_CONNECTION_FAILURE)));
|
|
1407
1407
|
});
|
|
1408
1408
|
}
|
|
1409
1409
|
onError(r) {
|
|
@@ -1427,7 +1427,7 @@ class Br {
|
|
|
1427
1427
|
throw new Error("SignallingClient - startSendingHeartBeats: socket is null");
|
|
1428
1428
|
this.heartBeatIntervalRef && console.warn("SignallingClient - startSendingHeartBeats: heartbeat interval already set");
|
|
1429
1429
|
const r = this.heartbeatIntervalSeconds * 1e3, n = {
|
|
1430
|
-
actionType:
|
|
1430
|
+
actionType: ne.HEARTBEAT,
|
|
1431
1431
|
sessionId: this.sessionId,
|
|
1432
1432
|
payload: ""
|
|
1433
1433
|
}, a = JSON.stringify(n);
|
|
@@ -1440,7 +1440,7 @@ class Br {
|
|
|
1440
1440
|
function Ur(i) {
|
|
1441
1441
|
return "brainType" in i || "llmId" in i;
|
|
1442
1442
|
}
|
|
1443
|
-
var
|
|
1443
|
+
var Tt = function(i, r, n, a) {
|
|
1444
1444
|
function d(h) {
|
|
1445
1445
|
return h instanceof n ? h : new n(function(c) {
|
|
1446
1446
|
c(h);
|
|
@@ -1449,22 +1449,22 @@ var Nt = function(i, r, n, a) {
|
|
|
1449
1449
|
return new (n || (n = Promise))(function(h, c) {
|
|
1450
1450
|
function l(f) {
|
|
1451
1451
|
try {
|
|
1452
|
-
|
|
1452
|
+
w(a.next(f));
|
|
1453
1453
|
} catch (u) {
|
|
1454
1454
|
c(u);
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
function m(f) {
|
|
1458
1458
|
try {
|
|
1459
|
-
|
|
1459
|
+
w(a.throw(f));
|
|
1460
1460
|
} catch (u) {
|
|
1461
1461
|
c(u);
|
|
1462
1462
|
}
|
|
1463
1463
|
}
|
|
1464
|
-
function
|
|
1464
|
+
function w(f) {
|
|
1465
1465
|
f.done ? h(f.value) : d(f.value).then(l, m);
|
|
1466
1466
|
}
|
|
1467
|
-
|
|
1467
|
+
w((a = a.apply(i, r || [])).next());
|
|
1468
1468
|
});
|
|
1469
1469
|
};
|
|
1470
1470
|
class Lr {
|
|
@@ -1488,10 +1488,10 @@ class Lr {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
}
|
|
1490
1490
|
startSession(r, n) {
|
|
1491
|
-
return
|
|
1491
|
+
return Tt(this, void 0, void 0, function* () {
|
|
1492
1492
|
if (!this.sessionToken) {
|
|
1493
1493
|
if (!r)
|
|
1494
|
-
throw new
|
|
1494
|
+
throw new re("Persona configuration must be provided when using apiKey", ie.CLIENT_ERROR_CODE_VALIDATION_ERROR, 400);
|
|
1495
1495
|
this.sessionToken = yield this.unsafe_getSessionToken(r);
|
|
1496
1496
|
}
|
|
1497
1497
|
r && "brainType" in r && console.warn("Warning: brainType is deprecated and will be removed in a future version. Please use llmId instead.");
|
|
@@ -1505,7 +1505,7 @@ class Lr {
|
|
|
1505
1505
|
body: JSON.stringify({
|
|
1506
1506
|
personaConfig: r,
|
|
1507
1507
|
sessionOptions: n,
|
|
1508
|
-
clientMetadata:
|
|
1508
|
+
clientMetadata: Ft
|
|
1509
1509
|
})
|
|
1510
1510
|
}), l = yield c.json(), m = l.error;
|
|
1511
1511
|
switch (c.status) {
|
|
@@ -1513,27 +1513,27 @@ class Lr {
|
|
|
1513
1513
|
case 201:
|
|
1514
1514
|
return l;
|
|
1515
1515
|
case 400:
|
|
1516
|
-
throw new
|
|
1516
|
+
throw new re("Invalid request to start session", ie.CLIENT_ERROR_CODE_VALIDATION_ERROR, 400, { cause: l.message });
|
|
1517
1517
|
case 401:
|
|
1518
|
-
throw new
|
|
1518
|
+
throw new re("Authentication failed when starting session", ie.CLIENT_ERROR_CODE_AUTHENTICATION_ERROR, 401, { cause: l.message });
|
|
1519
1519
|
case 402:
|
|
1520
|
-
throw new
|
|
1520
|
+
throw new re("Please sign up for a plan to start a session", ie.CLIENT_ERROR_CODE_NO_PLAN_FOUND, 402, { cause: l.message });
|
|
1521
1521
|
case 403:
|
|
1522
|
-
throw new
|
|
1522
|
+
throw new re("Authentication failed when starting session", ie.CLIENT_ERROR_CODE_AUTHENTICATION_ERROR, 403, { cause: l.message });
|
|
1523
1523
|
case 429:
|
|
1524
|
-
throw m === "Concurrent session limit reached" ? new
|
|
1524
|
+
throw m === "Concurrent session limit reached" ? new re("Concurrency limit reached, please upgrade your plan", ie.CLIENT_ERROR_CODE_MAX_CONCURRENT_SESSIONS_REACHED, 429, { cause: l.message }) : m === "Spend cap reached" ? new re("Spend cap reached, please upgrade your plan", ie.CLIENT_ERROR_CODE_SPEND_CAP_REACHED, 429, { cause: l.message }) : new re("Usage limit reached, please upgrade your plan", ie.CLIENT_ERROR_CODE_USAGE_LIMIT_REACHED, 429, { cause: l.message });
|
|
1525
1525
|
case 503:
|
|
1526
|
-
throw new
|
|
1526
|
+
throw new re("There are no available personas, please try again later", ie.CLIENT_ERROR_CODE_SERVICE_BUSY, 503, { cause: l.message });
|
|
1527
1527
|
default:
|
|
1528
|
-
throw new
|
|
1528
|
+
throw new re("Unknown error when starting session", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, { cause: l.message });
|
|
1529
1529
|
}
|
|
1530
1530
|
} catch (a) {
|
|
1531
|
-
throw a instanceof
|
|
1531
|
+
throw a instanceof re ? a : new re("Failed to start session", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, { cause: a instanceof Error ? a.message : String(a) });
|
|
1532
1532
|
}
|
|
1533
1533
|
});
|
|
1534
1534
|
}
|
|
1535
1535
|
unsafe_getSessionToken(r) {
|
|
1536
|
-
return
|
|
1536
|
+
return Tt(this, void 0, void 0, function* () {
|
|
1537
1537
|
if (console.warn("Using unsecure method. This method should not be used in production."), !this.apiKey)
|
|
1538
1538
|
throw new Error("No apiKey provided");
|
|
1539
1539
|
r && "brainType" in r && console.warn("Warning: brainType is deprecated and will be removed in a future version. Please use llmId instead.");
|
|
@@ -1569,22 +1569,22 @@ var Fr = function(i, r, n, a) {
|
|
|
1569
1569
|
return new (n || (n = Promise))(function(h, c) {
|
|
1570
1570
|
function l(f) {
|
|
1571
1571
|
try {
|
|
1572
|
-
|
|
1572
|
+
w(a.next(f));
|
|
1573
1573
|
} catch (u) {
|
|
1574
1574
|
c(u);
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
1577
|
function m(f) {
|
|
1578
1578
|
try {
|
|
1579
|
-
|
|
1579
|
+
w(a.throw(f));
|
|
1580
1580
|
} catch (u) {
|
|
1581
1581
|
c(u);
|
|
1582
1582
|
}
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1584
|
+
function w(f) {
|
|
1585
1585
|
f.done ? h(f.value) : d(f.value).then(l, m);
|
|
1586
1586
|
}
|
|
1587
|
-
|
|
1587
|
+
w((a = a.apply(i, r || [])).next());
|
|
1588
1588
|
});
|
|
1589
1589
|
};
|
|
1590
1590
|
class Pr {
|
|
@@ -1601,8 +1601,8 @@ class Pr {
|
|
|
1601
1601
|
const c = "/talk", l = `?session_id=${this.sessionId}`;
|
|
1602
1602
|
if (!((n = this.apiGatewayConfig) === null || n === void 0) && n.enabled && (!((a = this.apiGatewayConfig) === null || a === void 0) && a.baseUrl)) {
|
|
1603
1603
|
d = `${this.apiGatewayConfig.baseUrl}${c}${l}`;
|
|
1604
|
-
const
|
|
1605
|
-
h["X-Anam-Target-Url"] =
|
|
1604
|
+
const w = new URL(`${this.baseUrl}${c}${l}`);
|
|
1605
|
+
h["X-Anam-Target-Url"] = w.href;
|
|
1606
1606
|
} else
|
|
1607
1607
|
d = `${this.baseUrl}${c}${l}`;
|
|
1608
1608
|
const m = yield fetch(d, {
|
|
@@ -1674,10 +1674,10 @@ class Gr {
|
|
|
1674
1674
|
processWebRtcTextMessageEvent(r) {
|
|
1675
1675
|
const n = this.webRtcTextMessageEventToMessageStreamEvent(r);
|
|
1676
1676
|
switch (this.publicEventEmitter.emit(P.MESSAGE_STREAM_EVENT_RECEIVED, n), n.role) {
|
|
1677
|
-
case
|
|
1677
|
+
case it.USER:
|
|
1678
1678
|
this.processUserMessage(n);
|
|
1679
1679
|
break;
|
|
1680
|
-
case
|
|
1680
|
+
case it.PERSONA:
|
|
1681
1681
|
this.processPersonaMessage(n);
|
|
1682
1682
|
break;
|
|
1683
1683
|
}
|
|
@@ -1695,20 +1695,20 @@ class $r {
|
|
|
1695
1695
|
this.listeners[r] && this.listeners[r].delete(n);
|
|
1696
1696
|
}
|
|
1697
1697
|
emit(r, ...n) {
|
|
1698
|
-
if (r === P.CONNECTION_ESTABLISHED &&
|
|
1698
|
+
if (r === P.CONNECTION_ESTABLISHED && ze(Ie.CLIENT_METRIC_MEASUREMENT_CONNECTION_ESTABLISHED, "1"), r === P.CONNECTION_CLOSED) {
|
|
1699
1699
|
const [a, d] = n;
|
|
1700
|
-
|
|
1700
|
+
ze(Ie.CLIENT_METRIC_MEASUREMENT_CONNECTION_CLOSED, a, d ? { details: d } : void 0);
|
|
1701
1701
|
}
|
|
1702
1702
|
this.listeners[r] && this.listeners[r].forEach((a) => {
|
|
1703
1703
|
a(...n);
|
|
1704
1704
|
});
|
|
1705
1705
|
}
|
|
1706
1706
|
}
|
|
1707
|
-
var
|
|
1707
|
+
var ae;
|
|
1708
1708
|
(function(i) {
|
|
1709
1709
|
i[i.UNSTARTED = 0] = "UNSTARTED", i[i.STREAMING = 1] = "STREAMING", i[i.INTERRUPTED = 2] = "INTERRUPTED", i[i.ENDED = 3] = "ENDED";
|
|
1710
|
-
})(
|
|
1711
|
-
var
|
|
1710
|
+
})(ae || (ae = {}));
|
|
1711
|
+
var ct = function(i, r, n, a) {
|
|
1712
1712
|
function d(h) {
|
|
1713
1713
|
return h instanceof n ? h : new n(function(c) {
|
|
1714
1714
|
c(h);
|
|
@@ -1717,43 +1717,43 @@ var lt = function(i, r, n, a) {
|
|
|
1717
1717
|
return new (n || (n = Promise))(function(h, c) {
|
|
1718
1718
|
function l(f) {
|
|
1719
1719
|
try {
|
|
1720
|
-
|
|
1720
|
+
w(a.next(f));
|
|
1721
1721
|
} catch (u) {
|
|
1722
1722
|
c(u);
|
|
1723
1723
|
}
|
|
1724
1724
|
}
|
|
1725
1725
|
function m(f) {
|
|
1726
1726
|
try {
|
|
1727
|
-
|
|
1727
|
+
w(a.throw(f));
|
|
1728
1728
|
} catch (u) {
|
|
1729
1729
|
c(u);
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
|
-
function
|
|
1732
|
+
function w(f) {
|
|
1733
1733
|
f.done ? h(f.value) : d(f.value).then(l, m);
|
|
1734
1734
|
}
|
|
1735
|
-
|
|
1735
|
+
w((a = a.apply(i, r || [])).next());
|
|
1736
1736
|
});
|
|
1737
1737
|
};
|
|
1738
1738
|
class jr {
|
|
1739
1739
|
constructor(r, n, a) {
|
|
1740
|
-
this.state =
|
|
1740
|
+
this.state = ae.UNSTARTED, this.correlationId = r, this.internalEventEmitter = n, this.signallingClient = a, this.internalEventEmitter.addListener(ge.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this));
|
|
1741
1741
|
}
|
|
1742
1742
|
onDeactivate() {
|
|
1743
1743
|
this.internalEventEmitter.removeListener(ge.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this));
|
|
1744
1744
|
}
|
|
1745
1745
|
onSignalMessage(r) {
|
|
1746
|
-
return
|
|
1747
|
-
r.actionType ===
|
|
1746
|
+
return ct(this, void 0, void 0, function* () {
|
|
1747
|
+
r.actionType === ne.TALK_STREAM_INTERRUPTED && r.payload.correlationId === this.correlationId && (this.state = ae.INTERRUPTED, this.onDeactivate());
|
|
1748
1748
|
});
|
|
1749
1749
|
}
|
|
1750
1750
|
endMessage() {
|
|
1751
|
-
return
|
|
1752
|
-
if (this.state ===
|
|
1751
|
+
return ct(this, void 0, void 0, function* () {
|
|
1752
|
+
if (this.state === ae.ENDED) {
|
|
1753
1753
|
console.warn("Talk stream is already ended via end of speech. No need to call endMessage.");
|
|
1754
1754
|
return;
|
|
1755
1755
|
}
|
|
1756
|
-
if (this.state !==
|
|
1756
|
+
if (this.state !== ae.STREAMING) {
|
|
1757
1757
|
console.warn("Talk stream is not active state: " + this.state);
|
|
1758
1758
|
return;
|
|
1759
1759
|
}
|
|
@@ -1763,27 +1763,27 @@ class jr {
|
|
|
1763
1763
|
endOfSpeech: !0,
|
|
1764
1764
|
correlationId: this.correlationId
|
|
1765
1765
|
};
|
|
1766
|
-
yield this.signallingClient.sendTalkMessage(r), this.state =
|
|
1766
|
+
yield this.signallingClient.sendTalkMessage(r), this.state = ae.ENDED, this.onDeactivate();
|
|
1767
1767
|
});
|
|
1768
1768
|
}
|
|
1769
1769
|
streamMessageChunk(r, n) {
|
|
1770
|
-
return
|
|
1771
|
-
if (this.state !==
|
|
1770
|
+
return ct(this, void 0, void 0, function* () {
|
|
1771
|
+
if (this.state !== ae.STREAMING && this.state !== ae.UNSTARTED)
|
|
1772
1772
|
throw new Error("Talk stream is not in an active state: " + this.state);
|
|
1773
1773
|
const a = {
|
|
1774
1774
|
content: r,
|
|
1775
|
-
startOfSpeech: this.state ===
|
|
1775
|
+
startOfSpeech: this.state === ae.UNSTARTED,
|
|
1776
1776
|
endOfSpeech: n,
|
|
1777
1777
|
correlationId: this.correlationId
|
|
1778
1778
|
};
|
|
1779
|
-
this.state = n ?
|
|
1779
|
+
this.state = n ? ae.ENDED : ae.STREAMING, this.state === ae.ENDED && this.onDeactivate(), yield this.signallingClient.sendTalkMessage(a);
|
|
1780
1780
|
});
|
|
1781
1781
|
}
|
|
1782
1782
|
getCorrelationId() {
|
|
1783
1783
|
return this.correlationId;
|
|
1784
1784
|
}
|
|
1785
1785
|
isActive() {
|
|
1786
|
-
return this.state ===
|
|
1786
|
+
return this.state === ae.STREAMING || this.state === ae.UNSTARTED;
|
|
1787
1787
|
}
|
|
1788
1788
|
getState() {
|
|
1789
1789
|
return this.state;
|
|
@@ -1798,34 +1798,34 @@ var ue = function(i, r, n, a) {
|
|
|
1798
1798
|
return new (n || (n = Promise))(function(h, c) {
|
|
1799
1799
|
function l(f) {
|
|
1800
1800
|
try {
|
|
1801
|
-
|
|
1801
|
+
w(a.next(f));
|
|
1802
1802
|
} catch (u) {
|
|
1803
1803
|
c(u);
|
|
1804
1804
|
}
|
|
1805
1805
|
}
|
|
1806
1806
|
function m(f) {
|
|
1807
1807
|
try {
|
|
1808
|
-
|
|
1808
|
+
w(a.throw(f));
|
|
1809
1809
|
} catch (u) {
|
|
1810
1810
|
c(u);
|
|
1811
1811
|
}
|
|
1812
1812
|
}
|
|
1813
|
-
function
|
|
1813
|
+
function w(f) {
|
|
1814
1814
|
f.done ? h(f.value) : d(f.value).then(l, m);
|
|
1815
1815
|
}
|
|
1816
|
-
|
|
1816
|
+
w((a = a.apply(i, r || [])).next());
|
|
1817
1817
|
});
|
|
1818
1818
|
};
|
|
1819
1819
|
const Vr = 15e3, Wr = 5e3, Hr = 2;
|
|
1820
|
-
class
|
|
1820
|
+
class Jr {
|
|
1821
1821
|
constructor(r, n, a, d) {
|
|
1822
1822
|
var h, c, l, m;
|
|
1823
1823
|
this.peerConnection = null, this.connectionReceivedAnswer = !1, this.remoteIceCandidateBuffer = [], this.inputAudioStream = null, this.dataChannel = null, this.videoElement = null, this.videoStream = null, this.audioStream = null, this.inputAudioState = {
|
|
1824
1824
|
isMuted: !1,
|
|
1825
1825
|
permissionState: De.NOT_REQUESTED
|
|
1826
1826
|
}, this.successMetricPoller = null, this.successMetricFired = !1, this.showPeerConnectionStatsReport = !1, this.peerConnectionStatsReportOutputFormat = "console", this.statsCollectionInterval = null, this.agentAudioInputStream = null, this.publicEventEmitter = a, this.internalEventEmitter = d, this.apiGatewayConfig = n.apiGateway;
|
|
1827
|
-
const { inputAudio:
|
|
1828
|
-
this.inputAudioState =
|
|
1827
|
+
const { inputAudio: w } = n;
|
|
1828
|
+
this.inputAudioState = w.inputAudioState, n.inputAudio.userProvidedMediaStream && (this.inputAudioStream = n.inputAudio.userProvidedMediaStream), this.disableInputAudio = n.inputAudio.disableInputAudio === !0, this.internalEventEmitter.addListener(ge.WEB_SOCKET_OPEN, this.onSignallingClientConnected.bind(this)), this.internalEventEmitter.addListener(ge.SIGNAL_MESSAGE_RECEIVED, this.onSignalMessage.bind(this)), this.iceServers = n.iceServers, this.signallingClient = new Br(r, n.signalling, this.publicEventEmitter, this.internalEventEmitter, this.apiGatewayConfig), this.engineApiRestClient = new Pr(n.engine.baseUrl, r, this.apiGatewayConfig), this.audioDeviceId = n.inputAudio.audioDeviceId, this.showPeerConnectionStatsReport = (c = (h = n.metrics) === null || h === void 0 ? void 0 : h.showPeerConnectionStatsReport) !== null && c !== void 0 ? c : !1, this.peerConnectionStatsReportOutputFormat = (m = (l = n.metrics) === null || l === void 0 ? void 0 : l.peerConnectionStatsReportOutputFormat) !== null && m !== void 0 ? m : "console";
|
|
1829
1829
|
}
|
|
1830
1830
|
onInputAudioStateChange(r, n) {
|
|
1831
1831
|
r.isMuted !== n.isMuted && (n.isMuted ? this.muteAllAudioTracks() : this.unmuteAllAudioTracks());
|
|
@@ -1881,7 +1881,7 @@ class qr {
|
|
|
1881
1881
|
n.forEach((h) => {
|
|
1882
1882
|
h.type === "inbound-rtp" && h.kind === "video" && (h.framesDecoded !== void 0 && h.framesDecoded > 0 ? (a = !0, d = "framesDecoded") : h.framesReceived !== void 0 && h.framesReceived > 0 ? (a = !0, d = "framesReceived") : h.bytesReceived > 0 && h.packetsReceived > 0 && // Additional check: ensure we've received enough data for actual video
|
|
1883
1883
|
h.bytesReceived > 1e5 && (a = !0, d = "bytesReceived"));
|
|
1884
|
-
}), a && !this.successMetricFired && (this.successMetricFired = !0,
|
|
1884
|
+
}), a && !this.successMetricFired && (this.successMetricFired = !0, ze(Ie.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", d ? { detectionMethod: d } : void 0), this.successMetricPoller && clearInterval(this.successMetricPoller), clearTimeout(r), this.successMetricPoller = null);
|
|
1885
1885
|
} catch {
|
|
1886
1886
|
}
|
|
1887
1887
|
}), 500);
|
|
@@ -1994,31 +1994,31 @@ class qr {
|
|
|
1994
1994
|
return;
|
|
1995
1995
|
}
|
|
1996
1996
|
switch (r.actionType) {
|
|
1997
|
-
case
|
|
1997
|
+
case ne.ANSWER:
|
|
1998
1998
|
const n = r.payload;
|
|
1999
1999
|
yield this.peerConnection.setRemoteDescription(n), this.connectionReceivedAnswer = !0, this.flushRemoteIceCandidateBuffer();
|
|
2000
2000
|
break;
|
|
2001
|
-
case
|
|
2001
|
+
case ne.ICE_CANDIDATE:
|
|
2002
2002
|
const a = r.payload, d = new RTCIceCandidate(a);
|
|
2003
2003
|
this.connectionReceivedAnswer ? yield this.peerConnection.addIceCandidate(d) : this.remoteIceCandidateBuffer.push(d);
|
|
2004
2004
|
break;
|
|
2005
|
-
case
|
|
2005
|
+
case ne.END_SESSION:
|
|
2006
2006
|
const h = r.payload;
|
|
2007
|
-
this.publicEventEmitter.emit(P.CONNECTION_CLOSED,
|
|
2007
|
+
this.publicEventEmitter.emit(P.CONNECTION_CLOSED, Be.SERVER_CLOSED_CONNECTION, h), this.shutdown();
|
|
2008
2008
|
break;
|
|
2009
|
-
case
|
|
2009
|
+
case ne.WARNING:
|
|
2010
2010
|
const c = r.payload;
|
|
2011
2011
|
console.warn("Warning received from server: " + c), this.publicEventEmitter.emit(P.SERVER_WARNING, c);
|
|
2012
2012
|
break;
|
|
2013
|
-
case
|
|
2013
|
+
case ne.TALK_STREAM_INTERRUPTED:
|
|
2014
2014
|
const l = r.payload;
|
|
2015
2015
|
this.publicEventEmitter.emit(P.TALK_STREAM_INTERRUPTED, l.correlationId);
|
|
2016
2016
|
break;
|
|
2017
|
-
case
|
|
2017
|
+
case ne.SESSION_READY:
|
|
2018
2018
|
const m = r.sessionId;
|
|
2019
2019
|
this.publicEventEmitter.emit(P.SESSION_READY, m);
|
|
2020
2020
|
break;
|
|
2021
|
-
case
|
|
2021
|
+
case ne.HEARTBEAT:
|
|
2022
2022
|
break;
|
|
2023
2023
|
default:
|
|
2024
2024
|
console.warn("StreamingClient - onSignalMessage: unknown signal message action type. Is your anam-sdk version up to date?", r);
|
|
@@ -2058,7 +2058,7 @@ class qr {
|
|
|
2058
2058
|
((r = this.peerConnection) === null || r === void 0 ? void 0 : r.connectionState) === "closed" && (console.error("StreamingClient - onConnectionStateChange: Connection closed"), this.handleWebrtcFailure("The connection to our servers was lost. Please try again."));
|
|
2059
2059
|
}
|
|
2060
2060
|
handleWebrtcFailure(r) {
|
|
2061
|
-
console.error({ message: "StreamingClient - handleWebrtcFailure: ", err: r }), r.name === "NotAllowedError" && r.message === "Permission denied" ? this.publicEventEmitter.emit(P.CONNECTION_CLOSED,
|
|
2061
|
+
console.error({ message: "StreamingClient - handleWebrtcFailure: ", err: r }), r.name === "NotAllowedError" && r.message === "Permission denied" ? this.publicEventEmitter.emit(P.CONNECTION_CLOSED, Be.MICROPHONE_PERMISSION_DENIED) : this.publicEventEmitter.emit(P.CONNECTION_CLOSED, Be.WEBRTC_FAILURE);
|
|
2062
2062
|
try {
|
|
2063
2063
|
this.stopConnection();
|
|
2064
2064
|
} catch (n) {
|
|
@@ -2071,7 +2071,7 @@ class qr {
|
|
|
2071
2071
|
this.videoElement.srcObject = this.videoStream;
|
|
2072
2072
|
const n = this.videoElement.requestVideoFrameCallback(() => {
|
|
2073
2073
|
var a;
|
|
2074
|
-
(a = this.videoElement) === null || a === void 0 || a.cancelVideoFrameCallback(n), this.publicEventEmitter.emit(P.VIDEO_PLAY_STARTED), this.successMetricFired || (this.successMetricFired = !0,
|
|
2074
|
+
(a = this.videoElement) === null || a === void 0 || a.cancelVideoFrameCallback(n), this.publicEventEmitter.emit(P.VIDEO_PLAY_STARTED), this.successMetricFired || (this.successMetricFired = !0, ze(Ie.CLIENT_METRIC_MEASUREMENT_SESSION_SUCCESS, "1", { detectionMethod: "videoElement" }));
|
|
2075
2075
|
});
|
|
2076
2076
|
}
|
|
2077
2077
|
} else r.track.kind === "audio" && (this.audioStream = r.streams[0], this.publicEventEmitter.emit(P.AUDIO_STREAM_STARTED, this.audioStream));
|
|
@@ -2097,13 +2097,13 @@ class qr {
|
|
|
2097
2097
|
try {
|
|
2098
2098
|
const a = JSON.parse(n.data);
|
|
2099
2099
|
switch (a.messageType) {
|
|
2100
|
-
case
|
|
2100
|
+
case rt.SPEECH_TEXT:
|
|
2101
2101
|
this.internalEventEmitter.emit(ge.WEBRTC_CHAT_MESSAGE_RECEIVED, a.data);
|
|
2102
2102
|
break;
|
|
2103
|
-
case
|
|
2103
|
+
case rt.CLIENT_TOOL_EVENT:
|
|
2104
2104
|
const d = a.data;
|
|
2105
2105
|
this.internalEventEmitter.emit(ge.WEBRTC_CLIENT_TOOL_EVENT_RECEIVED, d);
|
|
2106
|
-
const h =
|
|
2106
|
+
const h = qr.WebRTCClientToolEventToClientToolEvent(d);
|
|
2107
2107
|
this.publicEventEmitter.emit(P.CLIENT_TOOL_EVENT_RECEIVED, h);
|
|
2108
2108
|
break;
|
|
2109
2109
|
// Unknown message types are silently ignored to maintain forward compatibility
|
|
@@ -2215,7 +2215,7 @@ class qr {
|
|
|
2215
2215
|
});
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
|
-
class
|
|
2218
|
+
class qr {
|
|
2219
2219
|
/**
|
|
2220
2220
|
* Converts a WebRtcClientToolEvent to a ClientToolEvent
|
|
2221
2221
|
*/
|
|
@@ -2231,7 +2231,7 @@ class Jr {
|
|
|
2231
2231
|
};
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
|
-
var
|
|
2234
|
+
var Ne = function(i, r, n, a) {
|
|
2235
2235
|
function d(h) {
|
|
2236
2236
|
return h instanceof n ? h : new n(function(c) {
|
|
2237
2237
|
c(h);
|
|
@@ -2240,22 +2240,22 @@ var Ae = function(i, r, n, a) {
|
|
|
2240
2240
|
return new (n || (n = Promise))(function(h, c) {
|
|
2241
2241
|
function l(f) {
|
|
2242
2242
|
try {
|
|
2243
|
-
|
|
2243
|
+
w(a.next(f));
|
|
2244
2244
|
} catch (u) {
|
|
2245
2245
|
c(u);
|
|
2246
2246
|
}
|
|
2247
2247
|
}
|
|
2248
2248
|
function m(f) {
|
|
2249
2249
|
try {
|
|
2250
|
-
|
|
2250
|
+
w(a.throw(f));
|
|
2251
2251
|
} catch (u) {
|
|
2252
2252
|
c(u);
|
|
2253
2253
|
}
|
|
2254
2254
|
}
|
|
2255
|
-
function
|
|
2255
|
+
function w(f) {
|
|
2256
2256
|
f.done ? h(f.value) : d(f.value).then(l, m);
|
|
2257
2257
|
}
|
|
2258
|
-
|
|
2258
|
+
w((a = a.apply(i, r || [])).next());
|
|
2259
2259
|
});
|
|
2260
2260
|
};
|
|
2261
2261
|
class hn {
|
|
@@ -2265,10 +2265,10 @@ class hn {
|
|
|
2265
2265
|
isMuted: !1,
|
|
2266
2266
|
permissionState: De.NOT_REQUESTED
|
|
2267
2267
|
}, this.sessionId = null, this.organizationId = null, this.streamingClient = null, this._isStreaming = !1;
|
|
2268
|
-
const
|
|
2269
|
-
if (
|
|
2270
|
-
throw new
|
|
2271
|
-
this.personaConfig = n, this.clientOptions = a, (!((d = a?.api) === null || d === void 0) && d.baseUrl || !((h = a?.api) === null || h === void 0) && h.apiVersion) && Ir(a.api.baseUrl ||
|
|
2268
|
+
const w = this.validateClientConfig(r, n, a);
|
|
2269
|
+
if (w)
|
|
2270
|
+
throw new re(w, ie.CLIENT_ERROR_CODE_CONFIGURATION_ERROR, 400);
|
|
2271
|
+
this.personaConfig = n, this.clientOptions = a, (!((d = a?.api) === null || d === void 0) && d.baseUrl || !((h = a?.api) === null || h === void 0) && h.apiVersion) && Ir(a.api.baseUrl || Pt, a.api.apiVersion || vt), !((l = (c = a?.api) === null || c === void 0 ? void 0 : c.apiGateway) === null || l === void 0) && l.enabled && Ar(a.api.apiGateway), !((m = a?.metrics) === null || m === void 0) && m.disableClientMetrics && Rr(!0), this.publicEventEmitter = new $r(), this.internalEventEmitter = new zr(), this.apiClient = new Lr(r, a?.apiKey, a?.api), this.messageHistoryClient = new Gr(this.publicEventEmitter, this.internalEventEmitter);
|
|
2272
2272
|
}
|
|
2273
2273
|
decodeJwt(r) {
|
|
2274
2274
|
try {
|
|
@@ -2317,21 +2317,21 @@ class hn {
|
|
|
2317
2317
|
return n;
|
|
2318
2318
|
}
|
|
2319
2319
|
startSession(r) {
|
|
2320
|
-
return
|
|
2321
|
-
var n, a, d, h, c, l, m,
|
|
2322
|
-
const x = this.personaConfig, S = this.buildStartSessionOptionsForClient(),
|
|
2320
|
+
return Ne(this, void 0, void 0, function* () {
|
|
2321
|
+
var n, a, d, h, c, l, m, w, f, u, A, b;
|
|
2322
|
+
const x = this.personaConfig, S = this.buildStartSessionOptionsForClient(), T = yield this.apiClient.startSession(x, S), { sessionId: N, clientConfig: z, engineHost: j, engineProtocol: H, signallingEndpoint: F } = T, { heartbeatIntervalSeconds: G, maxWsReconnectionAttempts: oe, iceServers: O } = z;
|
|
2323
2323
|
this.sessionId = N, $e({
|
|
2324
2324
|
sessionId: this.sessionId
|
|
2325
2325
|
});
|
|
2326
|
-
const $ = !((n = this.clientOptions) === null || n === void 0) && n.iceServers ? this.clientOptions.iceServers :
|
|
2326
|
+
const $ = !((n = this.clientOptions) === null || n === void 0) && n.iceServers ? this.clientOptions.iceServers : O;
|
|
2327
2327
|
try {
|
|
2328
|
-
this.streamingClient = new
|
|
2328
|
+
this.streamingClient = new Jr(N, {
|
|
2329
2329
|
engine: {
|
|
2330
2330
|
baseUrl: `${H}://${j}`
|
|
2331
2331
|
},
|
|
2332
2332
|
signalling: {
|
|
2333
2333
|
heartbeatIntervalSeconds: G,
|
|
2334
|
-
maxWsReconnectionAttempts:
|
|
2334
|
+
maxWsReconnectionAttempts: oe,
|
|
2335
2335
|
url: {
|
|
2336
2336
|
baseUrl: j,
|
|
2337
2337
|
protocol: H,
|
|
@@ -2347,14 +2347,14 @@ class hn {
|
|
|
2347
2347
|
},
|
|
2348
2348
|
apiGateway: (l = (c = this.clientOptions) === null || c === void 0 ? void 0 : c.api) === null || l === void 0 ? void 0 : l.apiGateway,
|
|
2349
2349
|
metrics: {
|
|
2350
|
-
showPeerConnectionStatsReport: (f = (
|
|
2351
|
-
peerConnectionStatsReportOutputFormat: (
|
|
2350
|
+
showPeerConnectionStatsReport: (f = (w = (m = this.clientOptions) === null || m === void 0 ? void 0 : m.metrics) === null || w === void 0 ? void 0 : w.showPeerConnectionStatsReport) !== null && f !== void 0 ? f : !1,
|
|
2351
|
+
peerConnectionStatsReportOutputFormat: (b = (A = (u = this.clientOptions) === null || u === void 0 ? void 0 : u.metrics) === null || A === void 0 ? void 0 : A.peerConnectionStatsReportOutputFormat) !== null && b !== void 0 ? b : "console"
|
|
2352
2352
|
}
|
|
2353
2353
|
}, this.publicEventEmitter, this.internalEventEmitter);
|
|
2354
2354
|
} catch (V) {
|
|
2355
2355
|
throw $e({
|
|
2356
2356
|
sessionId: null
|
|
2357
|
-
}), new
|
|
2357
|
+
}), new re("Failed to initialize streaming client", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
|
|
2358
2358
|
cause: V instanceof Error ? V.message : String(V),
|
|
2359
2359
|
sessionId: N
|
|
2360
2360
|
});
|
|
@@ -2363,31 +2363,31 @@ class hn {
|
|
|
2363
2363
|
});
|
|
2364
2364
|
}
|
|
2365
2365
|
startSessionIfNeeded(r) {
|
|
2366
|
-
return
|
|
2366
|
+
return Ne(this, void 0, void 0, function* () {
|
|
2367
2367
|
if ((!this.sessionId || !this.streamingClient) && (yield this.startSession(r), !this.sessionId || !this.streamingClient))
|
|
2368
|
-
throw new
|
|
2368
|
+
throw new re("Session ID or streaming client is not available after starting session", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
|
|
2369
2369
|
cause: "Failed to initialize session properly"
|
|
2370
2370
|
});
|
|
2371
2371
|
});
|
|
2372
2372
|
}
|
|
2373
2373
|
stream(r) {
|
|
2374
|
-
return
|
|
2374
|
+
return Ne(this, void 0, void 0, function* () {
|
|
2375
2375
|
var n;
|
|
2376
2376
|
if (this._isStreaming)
|
|
2377
2377
|
throw new Error("Already streaming");
|
|
2378
|
-
const a =
|
|
2378
|
+
const a = Nt();
|
|
2379
2379
|
return $e({
|
|
2380
2380
|
attemptCorrelationId: a,
|
|
2381
2381
|
sessionId: null
|
|
2382
2382
|
// reset sessionId
|
|
2383
|
-
}),
|
|
2383
|
+
}), ze(Ie.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT, "1"), !((n = this.clientOptions) === null || n === void 0) && n.disableInputAudio && r && console.warn("AnamClient:Input audio is disabled. User provided audio stream will be ignored."), yield this.startSessionIfNeeded(r), this._isStreaming = !0, new Promise((d) => {
|
|
2384
2384
|
var h;
|
|
2385
2385
|
const c = [];
|
|
2386
2386
|
let l = !1, m = !1;
|
|
2387
|
-
this.publicEventEmitter.addListener(P.VIDEO_STREAM_STARTED, (
|
|
2388
|
-
c.push(
|
|
2389
|
-
}), this.publicEventEmitter.addListener(P.AUDIO_STREAM_STARTED, (
|
|
2390
|
-
c.push(
|
|
2387
|
+
this.publicEventEmitter.addListener(P.VIDEO_STREAM_STARTED, (w) => {
|
|
2388
|
+
c.push(w), l = !0, m && d(c);
|
|
2389
|
+
}), this.publicEventEmitter.addListener(P.AUDIO_STREAM_STARTED, (w) => {
|
|
2390
|
+
c.push(w), m = !0, l && d(c);
|
|
2391
2391
|
}), (h = this.streamingClient) === null || h === void 0 || h.startConnection();
|
|
2392
2392
|
});
|
|
2393
2393
|
});
|
|
@@ -2396,23 +2396,23 @@ class hn {
|
|
|
2396
2396
|
* @deprecated This method is deprecated. Please use streamToVideoElement instead.
|
|
2397
2397
|
*/
|
|
2398
2398
|
streamToVideoAndAudioElements(r, n, a) {
|
|
2399
|
-
return
|
|
2399
|
+
return Ne(this, void 0, void 0, function* () {
|
|
2400
2400
|
console.warn("AnamClient: streamToVideoAndAudioElements is deprecated. To avoid possible audio issues, please use streamToVideoElement instead."), yield this.streamToVideoElement(r, a);
|
|
2401
2401
|
});
|
|
2402
2402
|
}
|
|
2403
2403
|
streamToVideoElement(r, n) {
|
|
2404
|
-
return
|
|
2404
|
+
return Ne(this, void 0, void 0, function* () {
|
|
2405
2405
|
var a;
|
|
2406
|
-
const d =
|
|
2406
|
+
const d = Nt();
|
|
2407
2407
|
$e({
|
|
2408
2408
|
attemptCorrelationId: d,
|
|
2409
2409
|
sessionId: null
|
|
2410
2410
|
// reset sessionId
|
|
2411
|
-
}),
|
|
2411
|
+
}), ze(Ie.CLIENT_METRIC_MEASUREMENT_SESSION_ATTEMPT, "1"), !((a = this.clientOptions) === null || a === void 0) && a.disableInputAudio && n && console.warn("AnamClient:Input audio is disabled. User provided audio stream will be ignored.");
|
|
2412
2412
|
try {
|
|
2413
2413
|
yield this.startSessionIfNeeded(n);
|
|
2414
2414
|
} catch (h) {
|
|
2415
|
-
throw h instanceof
|
|
2415
|
+
throw h instanceof re ? h : new re("Failed to start session", ie.CLIENT_ERROR_CODE_SERVER_ERROR, 500, {
|
|
2416
2416
|
cause: h instanceof Error ? h.message : String(h),
|
|
2417
2417
|
sessionId: this.sessionId
|
|
2418
2418
|
});
|
|
@@ -2430,7 +2430,7 @@ class hn {
|
|
|
2430
2430
|
* @throws Error if session is not started or not currently streaming
|
|
2431
2431
|
*/
|
|
2432
2432
|
talk(r) {
|
|
2433
|
-
return
|
|
2433
|
+
return Ne(this, void 0, void 0, function* () {
|
|
2434
2434
|
if (!this.streamingClient)
|
|
2435
2435
|
throw new Error("Failed to send talk command: session is not started. Have you called startSession?");
|
|
2436
2436
|
if (!this._isStreaming)
|
|
@@ -2483,8 +2483,8 @@ class hn {
|
|
|
2483
2483
|
this.sendDataMessage(n);
|
|
2484
2484
|
}
|
|
2485
2485
|
stopStreaming() {
|
|
2486
|
-
return
|
|
2487
|
-
this.streamingClient && (this.publicEventEmitter.emit(P.CONNECTION_CLOSED,
|
|
2486
|
+
return Ne(this, void 0, void 0, function* () {
|
|
2487
|
+
this.streamingClient && (this.publicEventEmitter.emit(P.CONNECTION_CLOSED, Be.NORMAL), yield this.streamingClient.stopConnection(), this.streamingClient = null, this.sessionId = null, $e({
|
|
2488
2488
|
attemptCorrelationId: null,
|
|
2489
2489
|
sessionId: null,
|
|
2490
2490
|
organizationId: this.organizationId
|
|
@@ -2513,7 +2513,7 @@ class hn {
|
|
|
2513
2513
|
return !((r = this.clientOptions) === null || r === void 0) && r.disableInputAudio && console.warn("AnamClient: Input audio is disabled. Unmuting input audio will have no effect."), this.streamingClient && !(!((n = this.clientOptions) === null || n === void 0) && n.disableInputAudio) ? this.inputAudioState = this.streamingClient.unmuteInputAudio() : this.inputAudioState = Object.assign(Object.assign({}, this.inputAudioState), { isMuted: !1 }), this.inputAudioState;
|
|
2514
2514
|
}
|
|
2515
2515
|
changeAudioInputDevice(r) {
|
|
2516
|
-
return
|
|
2516
|
+
return Ne(this, void 0, void 0, function* () {
|
|
2517
2517
|
var n;
|
|
2518
2518
|
if (!((n = this.clientOptions) === null || n === void 0) && n.disableInputAudio)
|
|
2519
2519
|
throw new Error("AnamClient: Cannot change audio input device because input audio is disabled.");
|
|
@@ -2549,23 +2549,23 @@ class hn {
|
|
|
2549
2549
|
return this.sessionId;
|
|
2550
2550
|
}
|
|
2551
2551
|
}
|
|
2552
|
-
const
|
|
2553
|
-
const i = dr(
|
|
2552
|
+
const $t = cr(null), Xe = () => {
|
|
2553
|
+
const i = dr($t);
|
|
2554
2554
|
if (!i)
|
|
2555
2555
|
throw new Error("useAria must be used within an AriaProvider");
|
|
2556
2556
|
return i;
|
|
2557
2557
|
};
|
|
2558
|
-
function
|
|
2558
|
+
function jt(i) {
|
|
2559
2559
|
var r, n, a = "";
|
|
2560
2560
|
if (typeof i == "string" || typeof i == "number") a += i;
|
|
2561
2561
|
else if (typeof i == "object") if (Array.isArray(i)) {
|
|
2562
2562
|
var d = i.length;
|
|
2563
|
-
for (r = 0; r < d; r++) i[r] && (n =
|
|
2563
|
+
for (r = 0; r < d; r++) i[r] && (n = jt(i[r])) && (a && (a += " "), a += n);
|
|
2564
2564
|
} else for (n in i) i[n] && (a && (a += " "), a += n);
|
|
2565
2565
|
return a;
|
|
2566
2566
|
}
|
|
2567
2567
|
function Yr() {
|
|
2568
|
-
for (var i, r, n = 0, a = "", d = arguments.length; n < d; n++) (i = arguments[n]) && (r =
|
|
2568
|
+
for (var i, r, n = 0, a = "", d = arguments.length; n < d; n++) (i = arguments[n]) && (r = jt(i)) && (a && (a += " "), a += r);
|
|
2569
2569
|
return a;
|
|
2570
2570
|
}
|
|
2571
2571
|
const Kr = (i, r) => {
|
|
@@ -2578,11 +2578,11 @@ const Kr = (i, r) => {
|
|
|
2578
2578
|
}, Xr = (i, r) => ({
|
|
2579
2579
|
classGroupId: i,
|
|
2580
2580
|
validator: r
|
|
2581
|
-
}),
|
|
2581
|
+
}), Vt = (i = /* @__PURE__ */ new Map(), r = null, n) => ({
|
|
2582
2582
|
nextPart: i,
|
|
2583
2583
|
validators: r,
|
|
2584
2584
|
classGroupId: n
|
|
2585
|
-
}),
|
|
2585
|
+
}), nt = "-", Ot = [], Zr = "arbitrary..", Qr = (i) => {
|
|
2586
2586
|
const r = ti(i), {
|
|
2587
2587
|
conflictingClassGroups: n,
|
|
2588
2588
|
conflictingClassGroupModifiers: a
|
|
@@ -2591,31 +2591,31 @@ const Kr = (i, r) => {
|
|
|
2591
2591
|
getClassGroupId: (c) => {
|
|
2592
2592
|
if (c.startsWith("[") && c.endsWith("]"))
|
|
2593
2593
|
return ei(c);
|
|
2594
|
-
const l = c.split(
|
|
2595
|
-
return
|
|
2594
|
+
const l = c.split(nt), m = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
2595
|
+
return Wt(l, m, r);
|
|
2596
2596
|
},
|
|
2597
2597
|
getConflictingClassGroupIds: (c, l) => {
|
|
2598
2598
|
if (l) {
|
|
2599
|
-
const m = a[c],
|
|
2600
|
-
return m ?
|
|
2599
|
+
const m = a[c], w = n[c];
|
|
2600
|
+
return m ? w ? Kr(w, m) : m : w || Ot;
|
|
2601
2601
|
}
|
|
2602
|
-
return n[c] ||
|
|
2602
|
+
return n[c] || Ot;
|
|
2603
2603
|
}
|
|
2604
2604
|
};
|
|
2605
|
-
},
|
|
2605
|
+
}, Wt = (i, r, n) => {
|
|
2606
2606
|
if (i.length - r === 0)
|
|
2607
2607
|
return n.classGroupId;
|
|
2608
2608
|
const d = i[r], h = n.nextPart.get(d);
|
|
2609
2609
|
if (h) {
|
|
2610
|
-
const
|
|
2611
|
-
if (
|
|
2610
|
+
const w = Wt(i, r + 1, h);
|
|
2611
|
+
if (w) return w;
|
|
2612
2612
|
}
|
|
2613
2613
|
const c = n.validators;
|
|
2614
2614
|
if (c === null)
|
|
2615
2615
|
return;
|
|
2616
|
-
const l = r === 0 ? i.join(
|
|
2617
|
-
for (let
|
|
2618
|
-
const f = c[
|
|
2616
|
+
const l = r === 0 ? i.join(nt) : i.slice(r).join(nt), m = c.length;
|
|
2617
|
+
for (let w = 0; w < m; w++) {
|
|
2618
|
+
const f = c[w];
|
|
2619
2619
|
if (f.validator(l))
|
|
2620
2620
|
return f.classGroupId;
|
|
2621
2621
|
}
|
|
@@ -2629,13 +2629,13 @@ const Kr = (i, r) => {
|
|
|
2629
2629
|
} = i;
|
|
2630
2630
|
return ri(n, r);
|
|
2631
2631
|
}, ri = (i, r) => {
|
|
2632
|
-
const n =
|
|
2632
|
+
const n = Vt();
|
|
2633
2633
|
for (const a in i) {
|
|
2634
2634
|
const d = i[a];
|
|
2635
|
-
|
|
2635
|
+
yt(d, n, a, r);
|
|
2636
2636
|
}
|
|
2637
2637
|
return n;
|
|
2638
|
-
},
|
|
2638
|
+
}, yt = (i, r, n, a) => {
|
|
2639
2639
|
const d = i.length;
|
|
2640
2640
|
for (let h = 0; h < d; h++) {
|
|
2641
2641
|
const c = i[h];
|
|
@@ -2652,11 +2652,11 @@ const Kr = (i, r) => {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
ai(i, r, n, a);
|
|
2654
2654
|
}, ni = (i, r, n) => {
|
|
2655
|
-
const a = i === "" ? r :
|
|
2655
|
+
const a = i === "" ? r : Ht(r, i);
|
|
2656
2656
|
a.classGroupId = n;
|
|
2657
2657
|
}, oi = (i, r, n, a) => {
|
|
2658
2658
|
if (si(i)) {
|
|
2659
|
-
|
|
2659
|
+
yt(i(a), r, n, a);
|
|
2660
2660
|
return;
|
|
2661
2661
|
}
|
|
2662
2662
|
r.validators === null && (r.validators = []), r.validators.push(Xr(n, i));
|
|
@@ -2664,15 +2664,15 @@ const Kr = (i, r) => {
|
|
|
2664
2664
|
const d = Object.entries(i), h = d.length;
|
|
2665
2665
|
for (let c = 0; c < h; c++) {
|
|
2666
2666
|
const [l, m] = d[c];
|
|
2667
|
-
|
|
2667
|
+
yt(m, Ht(r, l), n, a);
|
|
2668
2668
|
}
|
|
2669
|
-
},
|
|
2669
|
+
}, Ht = (i, r) => {
|
|
2670
2670
|
let n = i;
|
|
2671
|
-
const a = r.split(
|
|
2671
|
+
const a = r.split(nt), d = a.length;
|
|
2672
2672
|
for (let h = 0; h < d; h++) {
|
|
2673
2673
|
const c = a[h];
|
|
2674
2674
|
let l = n.nextPart.get(c);
|
|
2675
|
-
l || (l =
|
|
2675
|
+
l || (l = Vt(), n.nextPart.set(c, l)), n = l;
|
|
2676
2676
|
}
|
|
2677
2677
|
return n;
|
|
2678
2678
|
}, si = (i) => "isThemeGetter" in i && i.isThemeGetter === !0, li = (i) => {
|
|
@@ -2699,7 +2699,7 @@ const Kr = (i, r) => {
|
|
|
2699
2699
|
h in n ? n[h] = c : d(h, c);
|
|
2700
2700
|
}
|
|
2701
2701
|
};
|
|
2702
|
-
},
|
|
2702
|
+
}, mt = "!", Mt = ":", ci = [], Dt = (i, r, n, a, d) => ({
|
|
2703
2703
|
modifiers: i,
|
|
2704
2704
|
hasImportantModifier: r,
|
|
2705
2705
|
baseClassName: n,
|
|
@@ -2712,36 +2712,36 @@ const Kr = (i, r) => {
|
|
|
2712
2712
|
} = i;
|
|
2713
2713
|
let a = (d) => {
|
|
2714
2714
|
const h = [];
|
|
2715
|
-
let c = 0, l = 0, m = 0,
|
|
2715
|
+
let c = 0, l = 0, m = 0, w;
|
|
2716
2716
|
const f = d.length;
|
|
2717
2717
|
for (let S = 0; S < f; S++) {
|
|
2718
|
-
const
|
|
2718
|
+
const T = d[S];
|
|
2719
2719
|
if (c === 0 && l === 0) {
|
|
2720
|
-
if (
|
|
2720
|
+
if (T === Mt) {
|
|
2721
2721
|
h.push(d.slice(m, S)), m = S + 1;
|
|
2722
2722
|
continue;
|
|
2723
2723
|
}
|
|
2724
|
-
if (
|
|
2725
|
-
|
|
2724
|
+
if (T === "/") {
|
|
2725
|
+
w = S;
|
|
2726
2726
|
continue;
|
|
2727
2727
|
}
|
|
2728
2728
|
}
|
|
2729
|
-
|
|
2729
|
+
T === "[" ? c++ : T === "]" ? c-- : T === "(" ? l++ : T === ")" && l--;
|
|
2730
2730
|
}
|
|
2731
2731
|
const u = h.length === 0 ? d : d.slice(m);
|
|
2732
|
-
let A = u,
|
|
2733
|
-
u.endsWith(
|
|
2732
|
+
let A = u, b = !1;
|
|
2733
|
+
u.endsWith(mt) ? (A = u.slice(0, -1), b = !0) : (
|
|
2734
2734
|
/**
|
|
2735
2735
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
2736
2736
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
2737
2737
|
*/
|
|
2738
|
-
u.startsWith(
|
|
2738
|
+
u.startsWith(mt) && (A = u.slice(1), b = !0)
|
|
2739
2739
|
);
|
|
2740
|
-
const x =
|
|
2741
|
-
return Dt(h,
|
|
2740
|
+
const x = w && w > m ? w - m : void 0;
|
|
2741
|
+
return Dt(h, b, A, x);
|
|
2742
2742
|
};
|
|
2743
2743
|
if (r) {
|
|
2744
|
-
const d = r +
|
|
2744
|
+
const d = r + Mt, h = a;
|
|
2745
2745
|
a = (c) => c.startsWith(d) ? h(c.slice(d.length)) : Dt(ci, !1, c, void 0, !0);
|
|
2746
2746
|
}
|
|
2747
2747
|
if (n) {
|
|
@@ -2778,11 +2778,11 @@ const Kr = (i, r) => {
|
|
|
2778
2778
|
sortModifiers: h
|
|
2779
2779
|
} = r, c = [], l = i.trim().split(pi);
|
|
2780
2780
|
let m = "";
|
|
2781
|
-
for (let
|
|
2782
|
-
const f = l[
|
|
2781
|
+
for (let w = l.length - 1; w >= 0; w -= 1) {
|
|
2782
|
+
const f = l[w], {
|
|
2783
2783
|
isExternal: u,
|
|
2784
2784
|
modifiers: A,
|
|
2785
|
-
hasImportantModifier:
|
|
2785
|
+
hasImportantModifier: b,
|
|
2786
2786
|
baseClassName: x,
|
|
2787
2787
|
maybePostfixModifierPosition: S
|
|
2788
2788
|
} = n(f);
|
|
@@ -2790,9 +2790,9 @@ const Kr = (i, r) => {
|
|
|
2790
2790
|
m = f + (m.length > 0 ? " " + m : m);
|
|
2791
2791
|
continue;
|
|
2792
2792
|
}
|
|
2793
|
-
let
|
|
2793
|
+
let T = !!S, N = a(T ? x.substring(0, S) : x);
|
|
2794
2794
|
if (!N) {
|
|
2795
|
-
if (!
|
|
2795
|
+
if (!T) {
|
|
2796
2796
|
m = f + (m.length > 0 ? " " + m : m);
|
|
2797
2797
|
continue;
|
|
2798
2798
|
}
|
|
@@ -2800,16 +2800,16 @@ const Kr = (i, r) => {
|
|
|
2800
2800
|
m = f + (m.length > 0 ? " " + m : m);
|
|
2801
2801
|
continue;
|
|
2802
2802
|
}
|
|
2803
|
-
|
|
2803
|
+
T = !1;
|
|
2804
2804
|
}
|
|
2805
|
-
const z = A.length === 0 ? "" : A.length === 1 ? A[0] : h(A).join(":"), j =
|
|
2805
|
+
const z = A.length === 0 ? "" : A.length === 1 ? A[0] : h(A).join(":"), j = b ? z + mt : z, H = j + N;
|
|
2806
2806
|
if (c.indexOf(H) > -1)
|
|
2807
2807
|
continue;
|
|
2808
2808
|
c.push(H);
|
|
2809
|
-
const F = d(N,
|
|
2809
|
+
const F = d(N, T);
|
|
2810
2810
|
for (let G = 0; G < F.length; ++G) {
|
|
2811
|
-
const
|
|
2812
|
-
c.push(j +
|
|
2811
|
+
const oe = F[G];
|
|
2812
|
+
c.push(j + oe);
|
|
2813
2813
|
}
|
|
2814
2814
|
m = f + (m.length > 0 ? " " + m : m);
|
|
2815
2815
|
}
|
|
@@ -2817,44 +2817,44 @@ const Kr = (i, r) => {
|
|
|
2817
2817
|
}, fi = (...i) => {
|
|
2818
2818
|
let r = 0, n, a, d = "";
|
|
2819
2819
|
for (; r < i.length; )
|
|
2820
|
-
(n = i[r++]) && (a =
|
|
2820
|
+
(n = i[r++]) && (a = Jt(n)) && (d && (d += " "), d += a);
|
|
2821
2821
|
return d;
|
|
2822
|
-
},
|
|
2822
|
+
}, Jt = (i) => {
|
|
2823
2823
|
if (typeof i == "string")
|
|
2824
2824
|
return i;
|
|
2825
2825
|
let r, n = "";
|
|
2826
2826
|
for (let a = 0; a < i.length; a++)
|
|
2827
|
-
i[a] && (r =
|
|
2827
|
+
i[a] && (r = Jt(i[a])) && (n && (n += " "), n += r);
|
|
2828
2828
|
return n;
|
|
2829
2829
|
}, mi = (i, ...r) => {
|
|
2830
2830
|
let n, a, d, h;
|
|
2831
2831
|
const c = (m) => {
|
|
2832
|
-
const
|
|
2833
|
-
return n = hi(
|
|
2832
|
+
const w = r.reduce((f, u) => u(f), i());
|
|
2833
|
+
return n = hi(w), a = n.cache.get, d = n.cache.set, h = l, l(m);
|
|
2834
2834
|
}, l = (m) => {
|
|
2835
|
-
const
|
|
2836
|
-
if (
|
|
2837
|
-
return
|
|
2835
|
+
const w = a(m);
|
|
2836
|
+
if (w)
|
|
2837
|
+
return w;
|
|
2838
2838
|
const f = gi(m, n);
|
|
2839
2839
|
return d(m, f), f;
|
|
2840
2840
|
};
|
|
2841
2841
|
return h = c, (...m) => h(fi(...m));
|
|
2842
|
-
}, wi = [],
|
|
2842
|
+
}, wi = [], te = (i) => {
|
|
2843
2843
|
const r = (n) => n[i] || wi;
|
|
2844
2844
|
return r.isThemeGetter = !0, r;
|
|
2845
|
-
}, qt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i,
|
|
2845
|
+
}, qt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, bi = /^\d+\/\d+$/, vi = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yi = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ei = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, xi = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Si = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ve = (i) => bi.test(i), U = (i) => !!i && !Number.isNaN(Number(i)), Te = (i) => !!i && Number.isInteger(Number(i)), dt = (i) => i.endsWith("%") && U(i.slice(0, -1)), Ce = (i) => vi.test(i), ki = () => !0, Ci = (i) => (
|
|
2846
2846
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
2847
2847
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
2848
2848
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
2849
2849
|
yi.test(i) && !Ei.test(i)
|
|
2850
|
-
),
|
|
2850
|
+
), Kt = () => !1, _i = (i) => xi.test(i), Ii = (i) => Si.test(i), Ai = (i) => !k(i) && !C(i), Ri = (i) => He(i, Qt, Kt), k = (i) => qt.test(i), Fe = (i) => He(i, er, Ci), ut = (i) => He(i, Di, U), Bt = (i) => He(i, Xt, Kt), Ni = (i) => He(i, Zt, Ii), et = (i) => He(i, tr, _i), C = (i) => Yt.test(i), Ke = (i) => Je(i, er), Ti = (i) => Je(i, Bi), Ut = (i) => Je(i, Xt), Oi = (i) => Je(i, Qt), Mi = (i) => Je(i, Zt), tt = (i) => Je(i, tr, !0), He = (i, r, n) => {
|
|
2851
2851
|
const a = qt.exec(i);
|
|
2852
2852
|
return a ? a[1] ? r(a[1]) : n(a[2]) : !1;
|
|
2853
|
-
},
|
|
2854
|
-
const a =
|
|
2853
|
+
}, Je = (i, r, n = !1) => {
|
|
2854
|
+
const a = Yt.exec(i);
|
|
2855
2855
|
return a ? a[1] ? r(a[1]) : n : !1;
|
|
2856
|
-
},
|
|
2857
|
-
const i =
|
|
2856
|
+
}, Xt = (i) => i === "position" || i === "percentage", Zt = (i) => i === "image" || i === "url", Qt = (i) => i === "length" || i === "size" || i === "bg-size", er = (i) => i === "length", Di = (i) => i === "number", Bi = (i) => i === "family-name", tr = (i) => i === "shadow", Ui = () => {
|
|
2857
|
+
const i = te("color"), r = te("font"), n = te("text"), a = te("font-weight"), d = te("tracking"), h = te("leading"), c = te("breakpoint"), l = te("container"), m = te("spacing"), w = te("radius"), f = te("shadow"), u = te("inset-shadow"), A = te("text-shadow"), b = te("drop-shadow"), x = te("blur"), S = te("perspective"), T = te("aspect"), N = te("ease"), z = te("animate"), j = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [
|
|
2858
2858
|
"center",
|
|
2859
2859
|
"top",
|
|
2860
2860
|
"bottom",
|
|
@@ -2872,51 +2872,51 @@ const Kr = (i, r) => {
|
|
|
2872
2872
|
"bottom-left",
|
|
2873
2873
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
2874
2874
|
"left-bottom"
|
|
2875
|
-
], F = () => [...H(),
|
|
2876
|
-
span: ["full",
|
|
2877
|
-
},
|
|
2878
|
-
position: [
|
|
2879
|
-
}],
|
|
2875
|
+
], F = () => [...H(), C, k], G = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"], O = () => [C, k, m], $ = () => [Ve, "full", "auto", ...O()], V = () => [Te, "none", "subgrid", C, k], Ge = () => ["auto", {
|
|
2876
|
+
span: ["full", Te, C, k]
|
|
2877
|
+
}, Te, C, k], be = () => [Te, "auto", C, k], Ae = () => ["auto", "min", "max", "fr", C, k], ve = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], he = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], le = () => ["auto", ...O()], ce = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...O()], R = () => [i, C, k], ye = () => [...H(), Ut, Bt, {
|
|
2878
|
+
position: [C, k]
|
|
2879
|
+
}], Ee = () => ["no-repeat", {
|
|
2880
2880
|
repeat: ["", "x", "y", "space", "round"]
|
|
2881
2881
|
}], q = () => ["auto", "cover", "contain", Oi, Ri, {
|
|
2882
|
-
size: [
|
|
2883
|
-
}], K = () => [
|
|
2882
|
+
size: [C, k]
|
|
2883
|
+
}], K = () => [dt, Ke, Fe], X = () => [
|
|
2884
2884
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2885
2885
|
"",
|
|
2886
2886
|
"none",
|
|
2887
2887
|
"full",
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
],
|
|
2888
|
+
w,
|
|
2889
|
+
C,
|
|
2890
|
+
k
|
|
2891
|
+
], ee = () => ["", U, Ke, Fe], xe = () => ["solid", "dashed", "dotted", "double"], Le = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Y = () => [U, dt, Ut, Bt], pe = () => [
|
|
2892
2892
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2893
2893
|
"",
|
|
2894
2894
|
"none",
|
|
2895
2895
|
x,
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
],
|
|
2896
|
+
C,
|
|
2897
|
+
k
|
|
2898
|
+
], fe = () => ["none", U, C, k], I = () => ["none", U, C, k], M = () => [U, C, k], B = () => [Ve, "full", ...O()];
|
|
2899
2899
|
return {
|
|
2900
2900
|
cacheSize: 500,
|
|
2901
2901
|
theme: {
|
|
2902
2902
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
2903
2903
|
aspect: ["video"],
|
|
2904
|
-
blur: [
|
|
2905
|
-
breakpoint: [
|
|
2904
|
+
blur: [Ce],
|
|
2905
|
+
breakpoint: [Ce],
|
|
2906
2906
|
color: [ki],
|
|
2907
|
-
container: [
|
|
2908
|
-
"drop-shadow": [
|
|
2907
|
+
container: [Ce],
|
|
2908
|
+
"drop-shadow": [Ce],
|
|
2909
2909
|
ease: ["in", "out", "in-out"],
|
|
2910
2910
|
font: [Ai],
|
|
2911
2911
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
2912
|
-
"inset-shadow": [
|
|
2912
|
+
"inset-shadow": [Ce],
|
|
2913
2913
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
2914
2914
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
2915
|
-
radius: [
|
|
2916
|
-
shadow: [
|
|
2917
|
-
spacing: ["px",
|
|
2918
|
-
text: [
|
|
2919
|
-
"text-shadow": [
|
|
2915
|
+
radius: [Ce],
|
|
2916
|
+
shadow: [Ce],
|
|
2917
|
+
spacing: ["px", U],
|
|
2918
|
+
text: [Ce],
|
|
2919
|
+
"text-shadow": [Ce],
|
|
2920
2920
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
2921
2921
|
},
|
|
2922
2922
|
classGroups: {
|
|
@@ -2928,7 +2928,7 @@ const Kr = (i, r) => {
|
|
|
2928
2928
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
2929
2929
|
*/
|
|
2930
2930
|
aspect: [{
|
|
2931
|
-
aspect: ["auto", "square", Ve,
|
|
2931
|
+
aspect: ["auto", "square", Ve, k, C, T]
|
|
2932
2932
|
}],
|
|
2933
2933
|
/**
|
|
2934
2934
|
* Container
|
|
@@ -2941,7 +2941,7 @@ const Kr = (i, r) => {
|
|
|
2941
2941
|
* @see https://tailwindcss.com/docs/columns
|
|
2942
2942
|
*/
|
|
2943
2943
|
columns: [{
|
|
2944
|
-
columns: [
|
|
2944
|
+
columns: [U, k, C, l]
|
|
2945
2945
|
}],
|
|
2946
2946
|
/**
|
|
2947
2947
|
* Break After
|
|
@@ -3047,21 +3047,21 @@ const Kr = (i, r) => {
|
|
|
3047
3047
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
3048
3048
|
*/
|
|
3049
3049
|
overscroll: [{
|
|
3050
|
-
overscroll:
|
|
3050
|
+
overscroll: oe()
|
|
3051
3051
|
}],
|
|
3052
3052
|
/**
|
|
3053
3053
|
* Overscroll Behavior X
|
|
3054
3054
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
3055
3055
|
*/
|
|
3056
3056
|
"overscroll-x": [{
|
|
3057
|
-
"overscroll-x":
|
|
3057
|
+
"overscroll-x": oe()
|
|
3058
3058
|
}],
|
|
3059
3059
|
/**
|
|
3060
3060
|
* Overscroll Behavior Y
|
|
3061
3061
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
3062
3062
|
*/
|
|
3063
3063
|
"overscroll-y": [{
|
|
3064
|
-
"overscroll-y":
|
|
3064
|
+
"overscroll-y": oe()
|
|
3065
3065
|
}],
|
|
3066
3066
|
/**
|
|
3067
3067
|
* Position
|
|
@@ -3141,7 +3141,7 @@ const Kr = (i, r) => {
|
|
|
3141
3141
|
* @see https://tailwindcss.com/docs/z-index
|
|
3142
3142
|
*/
|
|
3143
3143
|
z: [{
|
|
3144
|
-
z: [
|
|
3144
|
+
z: [Te, "auto", C, k]
|
|
3145
3145
|
}],
|
|
3146
3146
|
// ------------------------
|
|
3147
3147
|
// --- Flexbox and Grid ---
|
|
@@ -3151,7 +3151,7 @@ const Kr = (i, r) => {
|
|
|
3151
3151
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
3152
3152
|
*/
|
|
3153
3153
|
basis: [{
|
|
3154
|
-
basis: [Ve, "full", "auto", l, ...
|
|
3154
|
+
basis: [Ve, "full", "auto", l, ...O()]
|
|
3155
3155
|
}],
|
|
3156
3156
|
/**
|
|
3157
3157
|
* Flex Direction
|
|
@@ -3172,28 +3172,28 @@ const Kr = (i, r) => {
|
|
|
3172
3172
|
* @see https://tailwindcss.com/docs/flex
|
|
3173
3173
|
*/
|
|
3174
3174
|
flex: [{
|
|
3175
|
-
flex: [
|
|
3175
|
+
flex: [U, Ve, "auto", "initial", "none", k]
|
|
3176
3176
|
}],
|
|
3177
3177
|
/**
|
|
3178
3178
|
* Flex Grow
|
|
3179
3179
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
3180
3180
|
*/
|
|
3181
3181
|
grow: [{
|
|
3182
|
-
grow: ["",
|
|
3182
|
+
grow: ["", U, C, k]
|
|
3183
3183
|
}],
|
|
3184
3184
|
/**
|
|
3185
3185
|
* Flex Shrink
|
|
3186
3186
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
3187
3187
|
*/
|
|
3188
3188
|
shrink: [{
|
|
3189
|
-
shrink: ["",
|
|
3189
|
+
shrink: ["", U, C, k]
|
|
3190
3190
|
}],
|
|
3191
3191
|
/**
|
|
3192
3192
|
* Order
|
|
3193
3193
|
* @see https://tailwindcss.com/docs/order
|
|
3194
3194
|
*/
|
|
3195
3195
|
order: [{
|
|
3196
|
-
order: [
|
|
3196
|
+
order: [Te, "first", "last", "none", C, k]
|
|
3197
3197
|
}],
|
|
3198
3198
|
/**
|
|
3199
3199
|
* Grid Template Columns
|
|
@@ -3207,7 +3207,7 @@ const Kr = (i, r) => {
|
|
|
3207
3207
|
* @see https://tailwindcss.com/docs/grid-column
|
|
3208
3208
|
*/
|
|
3209
3209
|
"col-start-end": [{
|
|
3210
|
-
col:
|
|
3210
|
+
col: Ge()
|
|
3211
3211
|
}],
|
|
3212
3212
|
/**
|
|
3213
3213
|
* Grid Column Start
|
|
@@ -3235,7 +3235,7 @@ const Kr = (i, r) => {
|
|
|
3235
3235
|
* @see https://tailwindcss.com/docs/grid-row
|
|
3236
3236
|
*/
|
|
3237
3237
|
"row-start-end": [{
|
|
3238
|
-
row:
|
|
3238
|
+
row: Ge()
|
|
3239
3239
|
}],
|
|
3240
3240
|
/**
|
|
3241
3241
|
* Grid Row Start
|
|
@@ -3263,35 +3263,35 @@ const Kr = (i, r) => {
|
|
|
3263
3263
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
3264
3264
|
*/
|
|
3265
3265
|
"auto-cols": [{
|
|
3266
|
-
"auto-cols":
|
|
3266
|
+
"auto-cols": Ae()
|
|
3267
3267
|
}],
|
|
3268
3268
|
/**
|
|
3269
3269
|
* Grid Auto Rows
|
|
3270
3270
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
3271
3271
|
*/
|
|
3272
3272
|
"auto-rows": [{
|
|
3273
|
-
"auto-rows":
|
|
3273
|
+
"auto-rows": Ae()
|
|
3274
3274
|
}],
|
|
3275
3275
|
/**
|
|
3276
3276
|
* Gap
|
|
3277
3277
|
* @see https://tailwindcss.com/docs/gap
|
|
3278
3278
|
*/
|
|
3279
3279
|
gap: [{
|
|
3280
|
-
gap:
|
|
3280
|
+
gap: O()
|
|
3281
3281
|
}],
|
|
3282
3282
|
/**
|
|
3283
3283
|
* Gap X
|
|
3284
3284
|
* @see https://tailwindcss.com/docs/gap
|
|
3285
3285
|
*/
|
|
3286
3286
|
"gap-x": [{
|
|
3287
|
-
"gap-x":
|
|
3287
|
+
"gap-x": O()
|
|
3288
3288
|
}],
|
|
3289
3289
|
/**
|
|
3290
3290
|
* Gap Y
|
|
3291
3291
|
* @see https://tailwindcss.com/docs/gap
|
|
3292
3292
|
*/
|
|
3293
3293
|
"gap-y": [{
|
|
3294
|
-
"gap-y":
|
|
3294
|
+
"gap-y": O()
|
|
3295
3295
|
}],
|
|
3296
3296
|
/**
|
|
3297
3297
|
* Justify Content
|
|
@@ -3366,133 +3366,133 @@ const Kr = (i, r) => {
|
|
|
3366
3366
|
* @see https://tailwindcss.com/docs/padding
|
|
3367
3367
|
*/
|
|
3368
3368
|
p: [{
|
|
3369
|
-
p:
|
|
3369
|
+
p: O()
|
|
3370
3370
|
}],
|
|
3371
3371
|
/**
|
|
3372
3372
|
* Padding X
|
|
3373
3373
|
* @see https://tailwindcss.com/docs/padding
|
|
3374
3374
|
*/
|
|
3375
3375
|
px: [{
|
|
3376
|
-
px:
|
|
3376
|
+
px: O()
|
|
3377
3377
|
}],
|
|
3378
3378
|
/**
|
|
3379
3379
|
* Padding Y
|
|
3380
3380
|
* @see https://tailwindcss.com/docs/padding
|
|
3381
3381
|
*/
|
|
3382
3382
|
py: [{
|
|
3383
|
-
py:
|
|
3383
|
+
py: O()
|
|
3384
3384
|
}],
|
|
3385
3385
|
/**
|
|
3386
3386
|
* Padding Start
|
|
3387
3387
|
* @see https://tailwindcss.com/docs/padding
|
|
3388
3388
|
*/
|
|
3389
3389
|
ps: [{
|
|
3390
|
-
ps:
|
|
3390
|
+
ps: O()
|
|
3391
3391
|
}],
|
|
3392
3392
|
/**
|
|
3393
3393
|
* Padding End
|
|
3394
3394
|
* @see https://tailwindcss.com/docs/padding
|
|
3395
3395
|
*/
|
|
3396
3396
|
pe: [{
|
|
3397
|
-
pe:
|
|
3397
|
+
pe: O()
|
|
3398
3398
|
}],
|
|
3399
3399
|
/**
|
|
3400
3400
|
* Padding Top
|
|
3401
3401
|
* @see https://tailwindcss.com/docs/padding
|
|
3402
3402
|
*/
|
|
3403
3403
|
pt: [{
|
|
3404
|
-
pt:
|
|
3404
|
+
pt: O()
|
|
3405
3405
|
}],
|
|
3406
3406
|
/**
|
|
3407
3407
|
* Padding Right
|
|
3408
3408
|
* @see https://tailwindcss.com/docs/padding
|
|
3409
3409
|
*/
|
|
3410
3410
|
pr: [{
|
|
3411
|
-
pr:
|
|
3411
|
+
pr: O()
|
|
3412
3412
|
}],
|
|
3413
3413
|
/**
|
|
3414
3414
|
* Padding Bottom
|
|
3415
3415
|
* @see https://tailwindcss.com/docs/padding
|
|
3416
3416
|
*/
|
|
3417
3417
|
pb: [{
|
|
3418
|
-
pb:
|
|
3418
|
+
pb: O()
|
|
3419
3419
|
}],
|
|
3420
3420
|
/**
|
|
3421
3421
|
* Padding Left
|
|
3422
3422
|
* @see https://tailwindcss.com/docs/padding
|
|
3423
3423
|
*/
|
|
3424
3424
|
pl: [{
|
|
3425
|
-
pl:
|
|
3425
|
+
pl: O()
|
|
3426
3426
|
}],
|
|
3427
3427
|
/**
|
|
3428
3428
|
* Margin
|
|
3429
3429
|
* @see https://tailwindcss.com/docs/margin
|
|
3430
3430
|
*/
|
|
3431
3431
|
m: [{
|
|
3432
|
-
m:
|
|
3432
|
+
m: le()
|
|
3433
3433
|
}],
|
|
3434
3434
|
/**
|
|
3435
3435
|
* Margin X
|
|
3436
3436
|
* @see https://tailwindcss.com/docs/margin
|
|
3437
3437
|
*/
|
|
3438
3438
|
mx: [{
|
|
3439
|
-
mx:
|
|
3439
|
+
mx: le()
|
|
3440
3440
|
}],
|
|
3441
3441
|
/**
|
|
3442
3442
|
* Margin Y
|
|
3443
3443
|
* @see https://tailwindcss.com/docs/margin
|
|
3444
3444
|
*/
|
|
3445
3445
|
my: [{
|
|
3446
|
-
my:
|
|
3446
|
+
my: le()
|
|
3447
3447
|
}],
|
|
3448
3448
|
/**
|
|
3449
3449
|
* Margin Start
|
|
3450
3450
|
* @see https://tailwindcss.com/docs/margin
|
|
3451
3451
|
*/
|
|
3452
3452
|
ms: [{
|
|
3453
|
-
ms:
|
|
3453
|
+
ms: le()
|
|
3454
3454
|
}],
|
|
3455
3455
|
/**
|
|
3456
3456
|
* Margin End
|
|
3457
3457
|
* @see https://tailwindcss.com/docs/margin
|
|
3458
3458
|
*/
|
|
3459
3459
|
me: [{
|
|
3460
|
-
me:
|
|
3460
|
+
me: le()
|
|
3461
3461
|
}],
|
|
3462
3462
|
/**
|
|
3463
3463
|
* Margin Top
|
|
3464
3464
|
* @see https://tailwindcss.com/docs/margin
|
|
3465
3465
|
*/
|
|
3466
3466
|
mt: [{
|
|
3467
|
-
mt:
|
|
3467
|
+
mt: le()
|
|
3468
3468
|
}],
|
|
3469
3469
|
/**
|
|
3470
3470
|
* Margin Right
|
|
3471
3471
|
* @see https://tailwindcss.com/docs/margin
|
|
3472
3472
|
*/
|
|
3473
3473
|
mr: [{
|
|
3474
|
-
mr:
|
|
3474
|
+
mr: le()
|
|
3475
3475
|
}],
|
|
3476
3476
|
/**
|
|
3477
3477
|
* Margin Bottom
|
|
3478
3478
|
* @see https://tailwindcss.com/docs/margin
|
|
3479
3479
|
*/
|
|
3480
3480
|
mb: [{
|
|
3481
|
-
mb:
|
|
3481
|
+
mb: le()
|
|
3482
3482
|
}],
|
|
3483
3483
|
/**
|
|
3484
3484
|
* Margin Left
|
|
3485
3485
|
* @see https://tailwindcss.com/docs/margin
|
|
3486
3486
|
*/
|
|
3487
3487
|
ml: [{
|
|
3488
|
-
ml:
|
|
3488
|
+
ml: le()
|
|
3489
3489
|
}],
|
|
3490
3490
|
/**
|
|
3491
3491
|
* Space Between X
|
|
3492
3492
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
3493
3493
|
*/
|
|
3494
3494
|
"space-x": [{
|
|
3495
|
-
"space-x":
|
|
3495
|
+
"space-x": O()
|
|
3496
3496
|
}],
|
|
3497
3497
|
/**
|
|
3498
3498
|
* Space Between X Reverse
|
|
@@ -3504,7 +3504,7 @@ const Kr = (i, r) => {
|
|
|
3504
3504
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
3505
3505
|
*/
|
|
3506
3506
|
"space-y": [{
|
|
3507
|
-
"space-y":
|
|
3507
|
+
"space-y": O()
|
|
3508
3508
|
}],
|
|
3509
3509
|
/**
|
|
3510
3510
|
* Space Between Y Reverse
|
|
@@ -3519,14 +3519,14 @@ const Kr = (i, r) => {
|
|
|
3519
3519
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
3520
3520
|
*/
|
|
3521
3521
|
size: [{
|
|
3522
|
-
size:
|
|
3522
|
+
size: ce()
|
|
3523
3523
|
}],
|
|
3524
3524
|
/**
|
|
3525
3525
|
* Width
|
|
3526
3526
|
* @see https://tailwindcss.com/docs/width
|
|
3527
3527
|
*/
|
|
3528
3528
|
w: [{
|
|
3529
|
-
w: [l, "screen", ...
|
|
3529
|
+
w: [l, "screen", ...ce()]
|
|
3530
3530
|
}],
|
|
3531
3531
|
/**
|
|
3532
3532
|
* Min-Width
|
|
@@ -3538,7 +3538,7 @@ const Kr = (i, r) => {
|
|
|
3538
3538
|
"screen",
|
|
3539
3539
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
3540
3540
|
"none",
|
|
3541
|
-
...
|
|
3541
|
+
...ce()
|
|
3542
3542
|
]
|
|
3543
3543
|
}],
|
|
3544
3544
|
/**
|
|
@@ -3556,7 +3556,7 @@ const Kr = (i, r) => {
|
|
|
3556
3556
|
{
|
|
3557
3557
|
screen: [c]
|
|
3558
3558
|
},
|
|
3559
|
-
...
|
|
3559
|
+
...ce()
|
|
3560
3560
|
]
|
|
3561
3561
|
}],
|
|
3562
3562
|
/**
|
|
@@ -3564,21 +3564,21 @@ const Kr = (i, r) => {
|
|
|
3564
3564
|
* @see https://tailwindcss.com/docs/height
|
|
3565
3565
|
*/
|
|
3566
3566
|
h: [{
|
|
3567
|
-
h: ["screen", "lh", ...
|
|
3567
|
+
h: ["screen", "lh", ...ce()]
|
|
3568
3568
|
}],
|
|
3569
3569
|
/**
|
|
3570
3570
|
* Min-Height
|
|
3571
3571
|
* @see https://tailwindcss.com/docs/min-height
|
|
3572
3572
|
*/
|
|
3573
3573
|
"min-h": [{
|
|
3574
|
-
"min-h": ["screen", "lh", "none", ...
|
|
3574
|
+
"min-h": ["screen", "lh", "none", ...ce()]
|
|
3575
3575
|
}],
|
|
3576
3576
|
/**
|
|
3577
3577
|
* Max-Height
|
|
3578
3578
|
* @see https://tailwindcss.com/docs/max-height
|
|
3579
3579
|
*/
|
|
3580
3580
|
"max-h": [{
|
|
3581
|
-
"max-h": ["screen", "lh", ...
|
|
3581
|
+
"max-h": ["screen", "lh", ...ce()]
|
|
3582
3582
|
}],
|
|
3583
3583
|
// ------------------
|
|
3584
3584
|
// --- Typography ---
|
|
@@ -3588,7 +3588,7 @@ const Kr = (i, r) => {
|
|
|
3588
3588
|
* @see https://tailwindcss.com/docs/font-size
|
|
3589
3589
|
*/
|
|
3590
3590
|
"font-size": [{
|
|
3591
|
-
text: ["base", n,
|
|
3591
|
+
text: ["base", n, Ke, Fe]
|
|
3592
3592
|
}],
|
|
3593
3593
|
/**
|
|
3594
3594
|
* Font Smoothing
|
|
@@ -3605,21 +3605,21 @@ const Kr = (i, r) => {
|
|
|
3605
3605
|
* @see https://tailwindcss.com/docs/font-weight
|
|
3606
3606
|
*/
|
|
3607
3607
|
"font-weight": [{
|
|
3608
|
-
font: [a,
|
|
3608
|
+
font: [a, C, ut]
|
|
3609
3609
|
}],
|
|
3610
3610
|
/**
|
|
3611
3611
|
* Font Stretch
|
|
3612
3612
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
3613
3613
|
*/
|
|
3614
3614
|
"font-stretch": [{
|
|
3615
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
3615
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", dt, k]
|
|
3616
3616
|
}],
|
|
3617
3617
|
/**
|
|
3618
3618
|
* Font Family
|
|
3619
3619
|
* @see https://tailwindcss.com/docs/font-family
|
|
3620
3620
|
*/
|
|
3621
3621
|
"font-family": [{
|
|
3622
|
-
font: [Ti,
|
|
3622
|
+
font: [Ti, k, r]
|
|
3623
3623
|
}],
|
|
3624
3624
|
/**
|
|
3625
3625
|
* Font Variant Numeric
|
|
@@ -3656,14 +3656,14 @@ const Kr = (i, r) => {
|
|
|
3656
3656
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
3657
3657
|
*/
|
|
3658
3658
|
tracking: [{
|
|
3659
|
-
tracking: [d,
|
|
3659
|
+
tracking: [d, C, k]
|
|
3660
3660
|
}],
|
|
3661
3661
|
/**
|
|
3662
3662
|
* Line Clamp
|
|
3663
3663
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
3664
3664
|
*/
|
|
3665
3665
|
"line-clamp": [{
|
|
3666
|
-
"line-clamp": [
|
|
3666
|
+
"line-clamp": [U, "none", C, ut]
|
|
3667
3667
|
}],
|
|
3668
3668
|
/**
|
|
3669
3669
|
* Line Height
|
|
@@ -3673,7 +3673,7 @@ const Kr = (i, r) => {
|
|
|
3673
3673
|
leading: [
|
|
3674
3674
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
3675
3675
|
h,
|
|
3676
|
-
...
|
|
3676
|
+
...O()
|
|
3677
3677
|
]
|
|
3678
3678
|
}],
|
|
3679
3679
|
/**
|
|
@@ -3681,7 +3681,7 @@ const Kr = (i, r) => {
|
|
|
3681
3681
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
3682
3682
|
*/
|
|
3683
3683
|
"list-image": [{
|
|
3684
|
-
"list-image": ["none",
|
|
3684
|
+
"list-image": ["none", C, k]
|
|
3685
3685
|
}],
|
|
3686
3686
|
/**
|
|
3687
3687
|
* List Style Position
|
|
@@ -3695,7 +3695,7 @@ const Kr = (i, r) => {
|
|
|
3695
3695
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
3696
3696
|
*/
|
|
3697
3697
|
"list-style-type": [{
|
|
3698
|
-
list: ["disc", "decimal", "none",
|
|
3698
|
+
list: ["disc", "decimal", "none", C, k]
|
|
3699
3699
|
}],
|
|
3700
3700
|
/**
|
|
3701
3701
|
* Text Alignment
|
|
@@ -3729,14 +3729,14 @@ const Kr = (i, r) => {
|
|
|
3729
3729
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
3730
3730
|
*/
|
|
3731
3731
|
"text-decoration-style": [{
|
|
3732
|
-
decoration: [...
|
|
3732
|
+
decoration: [...xe(), "wavy"]
|
|
3733
3733
|
}],
|
|
3734
3734
|
/**
|
|
3735
3735
|
* Text Decoration Thickness
|
|
3736
3736
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
3737
3737
|
*/
|
|
3738
3738
|
"text-decoration-thickness": [{
|
|
3739
|
-
decoration: [
|
|
3739
|
+
decoration: [U, "from-font", "auto", C, Fe]
|
|
3740
3740
|
}],
|
|
3741
3741
|
/**
|
|
3742
3742
|
* Text Decoration Color
|
|
@@ -3750,7 +3750,7 @@ const Kr = (i, r) => {
|
|
|
3750
3750
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
3751
3751
|
*/
|
|
3752
3752
|
"underline-offset": [{
|
|
3753
|
-
"underline-offset": [
|
|
3753
|
+
"underline-offset": [U, "auto", C, k]
|
|
3754
3754
|
}],
|
|
3755
3755
|
/**
|
|
3756
3756
|
* Text Transform
|
|
@@ -3774,14 +3774,14 @@ const Kr = (i, r) => {
|
|
|
3774
3774
|
* @see https://tailwindcss.com/docs/text-indent
|
|
3775
3775
|
*/
|
|
3776
3776
|
indent: [{
|
|
3777
|
-
indent:
|
|
3777
|
+
indent: O()
|
|
3778
3778
|
}],
|
|
3779
3779
|
/**
|
|
3780
3780
|
* Vertical Alignment
|
|
3781
3781
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
3782
3782
|
*/
|
|
3783
3783
|
"vertical-align": [{
|
|
3784
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
3784
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", C, k]
|
|
3785
3785
|
}],
|
|
3786
3786
|
/**
|
|
3787
3787
|
* Whitespace
|
|
@@ -3816,7 +3816,7 @@ const Kr = (i, r) => {
|
|
|
3816
3816
|
* @see https://tailwindcss.com/docs/content
|
|
3817
3817
|
*/
|
|
3818
3818
|
content: [{
|
|
3819
|
-
content: ["none",
|
|
3819
|
+
content: ["none", C, k]
|
|
3820
3820
|
}],
|
|
3821
3821
|
// -------------------
|
|
3822
3822
|
// --- Backgrounds ---
|
|
@@ -3854,7 +3854,7 @@ const Kr = (i, r) => {
|
|
|
3854
3854
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
3855
3855
|
*/
|
|
3856
3856
|
"bg-repeat": [{
|
|
3857
|
-
bg:
|
|
3857
|
+
bg: Ee()
|
|
3858
3858
|
}],
|
|
3859
3859
|
/**
|
|
3860
3860
|
* Background Size
|
|
@@ -3871,10 +3871,10 @@ const Kr = (i, r) => {
|
|
|
3871
3871
|
bg: ["none", {
|
|
3872
3872
|
linear: [{
|
|
3873
3873
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
3874
|
-
},
|
|
3875
|
-
radial: ["",
|
|
3876
|
-
conic: [
|
|
3877
|
-
},
|
|
3874
|
+
}, Te, C, k],
|
|
3875
|
+
radial: ["", C, k],
|
|
3876
|
+
conic: [Te, C, k]
|
|
3877
|
+
}, Mi, Ni]
|
|
3878
3878
|
}],
|
|
3879
3879
|
/**
|
|
3880
3880
|
* Background Color
|
|
@@ -4038,70 +4038,70 @@ const Kr = (i, r) => {
|
|
|
4038
4038
|
* @see https://tailwindcss.com/docs/border-width
|
|
4039
4039
|
*/
|
|
4040
4040
|
"border-w": [{
|
|
4041
|
-
border:
|
|
4041
|
+
border: ee()
|
|
4042
4042
|
}],
|
|
4043
4043
|
/**
|
|
4044
4044
|
* Border Width X
|
|
4045
4045
|
* @see https://tailwindcss.com/docs/border-width
|
|
4046
4046
|
*/
|
|
4047
4047
|
"border-w-x": [{
|
|
4048
|
-
"border-x":
|
|
4048
|
+
"border-x": ee()
|
|
4049
4049
|
}],
|
|
4050
4050
|
/**
|
|
4051
4051
|
* Border Width Y
|
|
4052
4052
|
* @see https://tailwindcss.com/docs/border-width
|
|
4053
4053
|
*/
|
|
4054
4054
|
"border-w-y": [{
|
|
4055
|
-
"border-y":
|
|
4055
|
+
"border-y": ee()
|
|
4056
4056
|
}],
|
|
4057
4057
|
/**
|
|
4058
4058
|
* Border Width Start
|
|
4059
4059
|
* @see https://tailwindcss.com/docs/border-width
|
|
4060
4060
|
*/
|
|
4061
4061
|
"border-w-s": [{
|
|
4062
|
-
"border-s":
|
|
4062
|
+
"border-s": ee()
|
|
4063
4063
|
}],
|
|
4064
4064
|
/**
|
|
4065
4065
|
* Border Width End
|
|
4066
4066
|
* @see https://tailwindcss.com/docs/border-width
|
|
4067
4067
|
*/
|
|
4068
4068
|
"border-w-e": [{
|
|
4069
|
-
"border-e":
|
|
4069
|
+
"border-e": ee()
|
|
4070
4070
|
}],
|
|
4071
4071
|
/**
|
|
4072
4072
|
* Border Width Top
|
|
4073
4073
|
* @see https://tailwindcss.com/docs/border-width
|
|
4074
4074
|
*/
|
|
4075
4075
|
"border-w-t": [{
|
|
4076
|
-
"border-t":
|
|
4076
|
+
"border-t": ee()
|
|
4077
4077
|
}],
|
|
4078
4078
|
/**
|
|
4079
4079
|
* Border Width Right
|
|
4080
4080
|
* @see https://tailwindcss.com/docs/border-width
|
|
4081
4081
|
*/
|
|
4082
4082
|
"border-w-r": [{
|
|
4083
|
-
"border-r":
|
|
4083
|
+
"border-r": ee()
|
|
4084
4084
|
}],
|
|
4085
4085
|
/**
|
|
4086
4086
|
* Border Width Bottom
|
|
4087
4087
|
* @see https://tailwindcss.com/docs/border-width
|
|
4088
4088
|
*/
|
|
4089
4089
|
"border-w-b": [{
|
|
4090
|
-
"border-b":
|
|
4090
|
+
"border-b": ee()
|
|
4091
4091
|
}],
|
|
4092
4092
|
/**
|
|
4093
4093
|
* Border Width Left
|
|
4094
4094
|
* @see https://tailwindcss.com/docs/border-width
|
|
4095
4095
|
*/
|
|
4096
4096
|
"border-w-l": [{
|
|
4097
|
-
"border-l":
|
|
4097
|
+
"border-l": ee()
|
|
4098
4098
|
}],
|
|
4099
4099
|
/**
|
|
4100
4100
|
* Divide Width X
|
|
4101
4101
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
4102
4102
|
*/
|
|
4103
4103
|
"divide-x": [{
|
|
4104
|
-
"divide-x":
|
|
4104
|
+
"divide-x": ee()
|
|
4105
4105
|
}],
|
|
4106
4106
|
/**
|
|
4107
4107
|
* Divide Width X Reverse
|
|
@@ -4113,7 +4113,7 @@ const Kr = (i, r) => {
|
|
|
4113
4113
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
4114
4114
|
*/
|
|
4115
4115
|
"divide-y": [{
|
|
4116
|
-
"divide-y":
|
|
4116
|
+
"divide-y": ee()
|
|
4117
4117
|
}],
|
|
4118
4118
|
/**
|
|
4119
4119
|
* Divide Width Y Reverse
|
|
@@ -4125,14 +4125,14 @@ const Kr = (i, r) => {
|
|
|
4125
4125
|
* @see https://tailwindcss.com/docs/border-style
|
|
4126
4126
|
*/
|
|
4127
4127
|
"border-style": [{
|
|
4128
|
-
border: [...
|
|
4128
|
+
border: [...xe(), "hidden", "none"]
|
|
4129
4129
|
}],
|
|
4130
4130
|
/**
|
|
4131
4131
|
* Divide Style
|
|
4132
4132
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
4133
4133
|
*/
|
|
4134
4134
|
"divide-style": [{
|
|
4135
|
-
divide: [...
|
|
4135
|
+
divide: [...xe(), "hidden", "none"]
|
|
4136
4136
|
}],
|
|
4137
4137
|
/**
|
|
4138
4138
|
* Border Color
|
|
@@ -4209,21 +4209,21 @@ const Kr = (i, r) => {
|
|
|
4209
4209
|
* @see https://tailwindcss.com/docs/outline-style
|
|
4210
4210
|
*/
|
|
4211
4211
|
"outline-style": [{
|
|
4212
|
-
outline: [...
|
|
4212
|
+
outline: [...xe(), "none", "hidden"]
|
|
4213
4213
|
}],
|
|
4214
4214
|
/**
|
|
4215
4215
|
* Outline Offset
|
|
4216
4216
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
4217
4217
|
*/
|
|
4218
4218
|
"outline-offset": [{
|
|
4219
|
-
"outline-offset": [
|
|
4219
|
+
"outline-offset": [U, C, k]
|
|
4220
4220
|
}],
|
|
4221
4221
|
/**
|
|
4222
4222
|
* Outline Width
|
|
4223
4223
|
* @see https://tailwindcss.com/docs/outline-width
|
|
4224
4224
|
*/
|
|
4225
4225
|
"outline-w": [{
|
|
4226
|
-
outline: ["",
|
|
4226
|
+
outline: ["", U, Ke, Fe]
|
|
4227
4227
|
}],
|
|
4228
4228
|
/**
|
|
4229
4229
|
* Outline Color
|
|
@@ -4245,8 +4245,8 @@ const Kr = (i, r) => {
|
|
|
4245
4245
|
"",
|
|
4246
4246
|
"none",
|
|
4247
4247
|
f,
|
|
4248
|
-
|
|
4249
|
-
|
|
4248
|
+
tt,
|
|
4249
|
+
et
|
|
4250
4250
|
]
|
|
4251
4251
|
}],
|
|
4252
4252
|
/**
|
|
@@ -4261,7 +4261,7 @@ const Kr = (i, r) => {
|
|
|
4261
4261
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
4262
4262
|
*/
|
|
4263
4263
|
"inset-shadow": [{
|
|
4264
|
-
"inset-shadow": ["none", u,
|
|
4264
|
+
"inset-shadow": ["none", u, tt, et]
|
|
4265
4265
|
}],
|
|
4266
4266
|
/**
|
|
4267
4267
|
* Inset Box Shadow Color
|
|
@@ -4275,7 +4275,7 @@ const Kr = (i, r) => {
|
|
|
4275
4275
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
4276
4276
|
*/
|
|
4277
4277
|
"ring-w": [{
|
|
4278
|
-
ring:
|
|
4278
|
+
ring: ee()
|
|
4279
4279
|
}],
|
|
4280
4280
|
/**
|
|
4281
4281
|
* Ring Width Inset
|
|
@@ -4298,7 +4298,7 @@ const Kr = (i, r) => {
|
|
|
4298
4298
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
4299
4299
|
*/
|
|
4300
4300
|
"ring-offset-w": [{
|
|
4301
|
-
"ring-offset": [
|
|
4301
|
+
"ring-offset": [U, Fe]
|
|
4302
4302
|
}],
|
|
4303
4303
|
/**
|
|
4304
4304
|
* Ring Offset Color
|
|
@@ -4314,7 +4314,7 @@ const Kr = (i, r) => {
|
|
|
4314
4314
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
4315
4315
|
*/
|
|
4316
4316
|
"inset-ring-w": [{
|
|
4317
|
-
"inset-ring":
|
|
4317
|
+
"inset-ring": ee()
|
|
4318
4318
|
}],
|
|
4319
4319
|
/**
|
|
4320
4320
|
* Inset Ring Color
|
|
@@ -4328,7 +4328,7 @@ const Kr = (i, r) => {
|
|
|
4328
4328
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
4329
4329
|
*/
|
|
4330
4330
|
"text-shadow": [{
|
|
4331
|
-
"text-shadow": ["none", A,
|
|
4331
|
+
"text-shadow": ["none", A, tt, et]
|
|
4332
4332
|
}],
|
|
4333
4333
|
/**
|
|
4334
4334
|
* Text Shadow Color
|
|
@@ -4342,21 +4342,21 @@ const Kr = (i, r) => {
|
|
|
4342
4342
|
* @see https://tailwindcss.com/docs/opacity
|
|
4343
4343
|
*/
|
|
4344
4344
|
opacity: [{
|
|
4345
|
-
opacity: [
|
|
4345
|
+
opacity: [U, C, k]
|
|
4346
4346
|
}],
|
|
4347
4347
|
/**
|
|
4348
4348
|
* Mix Blend Mode
|
|
4349
4349
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
4350
4350
|
*/
|
|
4351
4351
|
"mix-blend": [{
|
|
4352
|
-
"mix-blend": [...
|
|
4352
|
+
"mix-blend": [...Le(), "plus-darker", "plus-lighter"]
|
|
4353
4353
|
}],
|
|
4354
4354
|
/**
|
|
4355
4355
|
* Background Blend Mode
|
|
4356
4356
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
4357
4357
|
*/
|
|
4358
4358
|
"bg-blend": [{
|
|
4359
|
-
"bg-blend":
|
|
4359
|
+
"bg-blend": Le()
|
|
4360
4360
|
}],
|
|
4361
4361
|
/**
|
|
4362
4362
|
* Mask Clip
|
|
@@ -4377,7 +4377,7 @@ const Kr = (i, r) => {
|
|
|
4377
4377
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4378
4378
|
*/
|
|
4379
4379
|
"mask-image-linear-pos": [{
|
|
4380
|
-
"mask-linear": [
|
|
4380
|
+
"mask-linear": [U]
|
|
4381
4381
|
}],
|
|
4382
4382
|
"mask-image-linear-from-pos": [{
|
|
4383
4383
|
"mask-linear-from": Y()
|
|
@@ -4464,7 +4464,7 @@ const Kr = (i, r) => {
|
|
|
4464
4464
|
"mask-y-to": R()
|
|
4465
4465
|
}],
|
|
4466
4466
|
"mask-image-radial": [{
|
|
4467
|
-
"mask-radial": [
|
|
4467
|
+
"mask-radial": [C, k]
|
|
4468
4468
|
}],
|
|
4469
4469
|
"mask-image-radial-from-pos": [{
|
|
4470
4470
|
"mask-radial-from": Y()
|
|
@@ -4491,7 +4491,7 @@ const Kr = (i, r) => {
|
|
|
4491
4491
|
"mask-radial-at": H()
|
|
4492
4492
|
}],
|
|
4493
4493
|
"mask-image-conic-pos": [{
|
|
4494
|
-
"mask-conic": [
|
|
4494
|
+
"mask-conic": [U]
|
|
4495
4495
|
}],
|
|
4496
4496
|
"mask-image-conic-from-pos": [{
|
|
4497
4497
|
"mask-conic-from": Y()
|
|
@@ -4531,7 +4531,7 @@ const Kr = (i, r) => {
|
|
|
4531
4531
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
4532
4532
|
*/
|
|
4533
4533
|
"mask-repeat": [{
|
|
4534
|
-
mask:
|
|
4534
|
+
mask: Ee()
|
|
4535
4535
|
}],
|
|
4536
4536
|
/**
|
|
4537
4537
|
* Mask Size
|
|
@@ -4552,7 +4552,7 @@ const Kr = (i, r) => {
|
|
|
4552
4552
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4553
4553
|
*/
|
|
4554
4554
|
"mask-image": [{
|
|
4555
|
-
mask: ["none",
|
|
4555
|
+
mask: ["none", C, k]
|
|
4556
4556
|
}],
|
|
4557
4557
|
// ---------------
|
|
4558
4558
|
// --- Filters ---
|
|
@@ -4566,8 +4566,8 @@ const Kr = (i, r) => {
|
|
|
4566
4566
|
// Deprecated since Tailwind CSS v3.0.0
|
|
4567
4567
|
"",
|
|
4568
4568
|
"none",
|
|
4569
|
-
|
|
4570
|
-
|
|
4569
|
+
C,
|
|
4570
|
+
k
|
|
4571
4571
|
]
|
|
4572
4572
|
}],
|
|
4573
4573
|
/**
|
|
@@ -4582,14 +4582,14 @@ const Kr = (i, r) => {
|
|
|
4582
4582
|
* @see https://tailwindcss.com/docs/brightness
|
|
4583
4583
|
*/
|
|
4584
4584
|
brightness: [{
|
|
4585
|
-
brightness: [
|
|
4585
|
+
brightness: [U, C, k]
|
|
4586
4586
|
}],
|
|
4587
4587
|
/**
|
|
4588
4588
|
* Contrast
|
|
4589
4589
|
* @see https://tailwindcss.com/docs/contrast
|
|
4590
4590
|
*/
|
|
4591
4591
|
contrast: [{
|
|
4592
|
-
contrast: [
|
|
4592
|
+
contrast: [U, C, k]
|
|
4593
4593
|
}],
|
|
4594
4594
|
/**
|
|
4595
4595
|
* Drop Shadow
|
|
@@ -4600,9 +4600,9 @@ const Kr = (i, r) => {
|
|
|
4600
4600
|
// Deprecated since Tailwind CSS v4.0.0
|
|
4601
4601
|
"",
|
|
4602
4602
|
"none",
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4603
|
+
b,
|
|
4604
|
+
tt,
|
|
4605
|
+
et
|
|
4606
4606
|
]
|
|
4607
4607
|
}],
|
|
4608
4608
|
/**
|
|
@@ -4617,35 +4617,35 @@ const Kr = (i, r) => {
|
|
|
4617
4617
|
* @see https://tailwindcss.com/docs/grayscale
|
|
4618
4618
|
*/
|
|
4619
4619
|
grayscale: [{
|
|
4620
|
-
grayscale: ["",
|
|
4620
|
+
grayscale: ["", U, C, k]
|
|
4621
4621
|
}],
|
|
4622
4622
|
/**
|
|
4623
4623
|
* Hue Rotate
|
|
4624
4624
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
4625
4625
|
*/
|
|
4626
4626
|
"hue-rotate": [{
|
|
4627
|
-
"hue-rotate": [
|
|
4627
|
+
"hue-rotate": [U, C, k]
|
|
4628
4628
|
}],
|
|
4629
4629
|
/**
|
|
4630
4630
|
* Invert
|
|
4631
4631
|
* @see https://tailwindcss.com/docs/invert
|
|
4632
4632
|
*/
|
|
4633
4633
|
invert: [{
|
|
4634
|
-
invert: ["",
|
|
4634
|
+
invert: ["", U, C, k]
|
|
4635
4635
|
}],
|
|
4636
4636
|
/**
|
|
4637
4637
|
* Saturate
|
|
4638
4638
|
* @see https://tailwindcss.com/docs/saturate
|
|
4639
4639
|
*/
|
|
4640
4640
|
saturate: [{
|
|
4641
|
-
saturate: [
|
|
4641
|
+
saturate: [U, C, k]
|
|
4642
4642
|
}],
|
|
4643
4643
|
/**
|
|
4644
4644
|
* Sepia
|
|
4645
4645
|
* @see https://tailwindcss.com/docs/sepia
|
|
4646
4646
|
*/
|
|
4647
4647
|
sepia: [{
|
|
4648
|
-
sepia: ["",
|
|
4648
|
+
sepia: ["", U, C, k]
|
|
4649
4649
|
}],
|
|
4650
4650
|
/**
|
|
4651
4651
|
* Backdrop Filter
|
|
@@ -4656,8 +4656,8 @@ const Kr = (i, r) => {
|
|
|
4656
4656
|
// Deprecated since Tailwind CSS v3.0.0
|
|
4657
4657
|
"",
|
|
4658
4658
|
"none",
|
|
4659
|
-
|
|
4660
|
-
|
|
4659
|
+
C,
|
|
4660
|
+
k
|
|
4661
4661
|
]
|
|
4662
4662
|
}],
|
|
4663
4663
|
/**
|
|
@@ -4672,56 +4672,56 @@ const Kr = (i, r) => {
|
|
|
4672
4672
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
4673
4673
|
*/
|
|
4674
4674
|
"backdrop-brightness": [{
|
|
4675
|
-
"backdrop-brightness": [
|
|
4675
|
+
"backdrop-brightness": [U, C, k]
|
|
4676
4676
|
}],
|
|
4677
4677
|
/**
|
|
4678
4678
|
* Backdrop Contrast
|
|
4679
4679
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
4680
4680
|
*/
|
|
4681
4681
|
"backdrop-contrast": [{
|
|
4682
|
-
"backdrop-contrast": [
|
|
4682
|
+
"backdrop-contrast": [U, C, k]
|
|
4683
4683
|
}],
|
|
4684
4684
|
/**
|
|
4685
4685
|
* Backdrop Grayscale
|
|
4686
4686
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
4687
4687
|
*/
|
|
4688
4688
|
"backdrop-grayscale": [{
|
|
4689
|
-
"backdrop-grayscale": ["",
|
|
4689
|
+
"backdrop-grayscale": ["", U, C, k]
|
|
4690
4690
|
}],
|
|
4691
4691
|
/**
|
|
4692
4692
|
* Backdrop Hue Rotate
|
|
4693
4693
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
4694
4694
|
*/
|
|
4695
4695
|
"backdrop-hue-rotate": [{
|
|
4696
|
-
"backdrop-hue-rotate": [
|
|
4696
|
+
"backdrop-hue-rotate": [U, C, k]
|
|
4697
4697
|
}],
|
|
4698
4698
|
/**
|
|
4699
4699
|
* Backdrop Invert
|
|
4700
4700
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
4701
4701
|
*/
|
|
4702
4702
|
"backdrop-invert": [{
|
|
4703
|
-
"backdrop-invert": ["",
|
|
4703
|
+
"backdrop-invert": ["", U, C, k]
|
|
4704
4704
|
}],
|
|
4705
4705
|
/**
|
|
4706
4706
|
* Backdrop Opacity
|
|
4707
4707
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
4708
4708
|
*/
|
|
4709
4709
|
"backdrop-opacity": [{
|
|
4710
|
-
"backdrop-opacity": [
|
|
4710
|
+
"backdrop-opacity": [U, C, k]
|
|
4711
4711
|
}],
|
|
4712
4712
|
/**
|
|
4713
4713
|
* Backdrop Saturate
|
|
4714
4714
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
4715
4715
|
*/
|
|
4716
4716
|
"backdrop-saturate": [{
|
|
4717
|
-
"backdrop-saturate": [
|
|
4717
|
+
"backdrop-saturate": [U, C, k]
|
|
4718
4718
|
}],
|
|
4719
4719
|
/**
|
|
4720
4720
|
* Backdrop Sepia
|
|
4721
4721
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
4722
4722
|
*/
|
|
4723
4723
|
"backdrop-sepia": [{
|
|
4724
|
-
"backdrop-sepia": ["",
|
|
4724
|
+
"backdrop-sepia": ["", U, C, k]
|
|
4725
4725
|
}],
|
|
4726
4726
|
// --------------
|
|
4727
4727
|
// --- Tables ---
|
|
@@ -4738,21 +4738,21 @@ const Kr = (i, r) => {
|
|
|
4738
4738
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4739
4739
|
*/
|
|
4740
4740
|
"border-spacing": [{
|
|
4741
|
-
"border-spacing":
|
|
4741
|
+
"border-spacing": O()
|
|
4742
4742
|
}],
|
|
4743
4743
|
/**
|
|
4744
4744
|
* Border Spacing X
|
|
4745
4745
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4746
4746
|
*/
|
|
4747
4747
|
"border-spacing-x": [{
|
|
4748
|
-
"border-spacing-x":
|
|
4748
|
+
"border-spacing-x": O()
|
|
4749
4749
|
}],
|
|
4750
4750
|
/**
|
|
4751
4751
|
* Border Spacing Y
|
|
4752
4752
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4753
4753
|
*/
|
|
4754
4754
|
"border-spacing-y": [{
|
|
4755
|
-
"border-spacing-y":
|
|
4755
|
+
"border-spacing-y": O()
|
|
4756
4756
|
}],
|
|
4757
4757
|
/**
|
|
4758
4758
|
* Table Layout
|
|
@@ -4776,7 +4776,7 @@ const Kr = (i, r) => {
|
|
|
4776
4776
|
* @see https://tailwindcss.com/docs/transition-property
|
|
4777
4777
|
*/
|
|
4778
4778
|
transition: [{
|
|
4779
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
4779
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", C, k]
|
|
4780
4780
|
}],
|
|
4781
4781
|
/**
|
|
4782
4782
|
* Transition Behavior
|
|
@@ -4790,28 +4790,28 @@ const Kr = (i, r) => {
|
|
|
4790
4790
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
4791
4791
|
*/
|
|
4792
4792
|
duration: [{
|
|
4793
|
-
duration: [
|
|
4793
|
+
duration: [U, "initial", C, k]
|
|
4794
4794
|
}],
|
|
4795
4795
|
/**
|
|
4796
4796
|
* Transition Timing Function
|
|
4797
4797
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
4798
4798
|
*/
|
|
4799
4799
|
ease: [{
|
|
4800
|
-
ease: ["linear", "initial", N,
|
|
4800
|
+
ease: ["linear", "initial", N, C, k]
|
|
4801
4801
|
}],
|
|
4802
4802
|
/**
|
|
4803
4803
|
* Transition Delay
|
|
4804
4804
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
4805
4805
|
*/
|
|
4806
4806
|
delay: [{
|
|
4807
|
-
delay: [
|
|
4807
|
+
delay: [U, C, k]
|
|
4808
4808
|
}],
|
|
4809
4809
|
/**
|
|
4810
4810
|
* Animation
|
|
4811
4811
|
* @see https://tailwindcss.com/docs/animation
|
|
4812
4812
|
*/
|
|
4813
4813
|
animate: [{
|
|
4814
|
-
animate: ["none", z,
|
|
4814
|
+
animate: ["none", z, C, k]
|
|
4815
4815
|
}],
|
|
4816
4816
|
// ------------------
|
|
4817
4817
|
// --- Transforms ---
|
|
@@ -4828,7 +4828,7 @@ const Kr = (i, r) => {
|
|
|
4828
4828
|
* @see https://tailwindcss.com/docs/perspective
|
|
4829
4829
|
*/
|
|
4830
4830
|
perspective: [{
|
|
4831
|
-
perspective: [S,
|
|
4831
|
+
perspective: [S, C, k]
|
|
4832
4832
|
}],
|
|
4833
4833
|
/**
|
|
4834
4834
|
* Perspective Origin
|
|
@@ -4842,56 +4842,56 @@ const Kr = (i, r) => {
|
|
|
4842
4842
|
* @see https://tailwindcss.com/docs/rotate
|
|
4843
4843
|
*/
|
|
4844
4844
|
rotate: [{
|
|
4845
|
-
rotate:
|
|
4845
|
+
rotate: fe()
|
|
4846
4846
|
}],
|
|
4847
4847
|
/**
|
|
4848
4848
|
* Rotate X
|
|
4849
4849
|
* @see https://tailwindcss.com/docs/rotate
|
|
4850
4850
|
*/
|
|
4851
4851
|
"rotate-x": [{
|
|
4852
|
-
"rotate-x":
|
|
4852
|
+
"rotate-x": fe()
|
|
4853
4853
|
}],
|
|
4854
4854
|
/**
|
|
4855
4855
|
* Rotate Y
|
|
4856
4856
|
* @see https://tailwindcss.com/docs/rotate
|
|
4857
4857
|
*/
|
|
4858
4858
|
"rotate-y": [{
|
|
4859
|
-
"rotate-y":
|
|
4859
|
+
"rotate-y": fe()
|
|
4860
4860
|
}],
|
|
4861
4861
|
/**
|
|
4862
4862
|
* Rotate Z
|
|
4863
4863
|
* @see https://tailwindcss.com/docs/rotate
|
|
4864
4864
|
*/
|
|
4865
4865
|
"rotate-z": [{
|
|
4866
|
-
"rotate-z":
|
|
4866
|
+
"rotate-z": fe()
|
|
4867
4867
|
}],
|
|
4868
4868
|
/**
|
|
4869
4869
|
* Scale
|
|
4870
4870
|
* @see https://tailwindcss.com/docs/scale
|
|
4871
4871
|
*/
|
|
4872
4872
|
scale: [{
|
|
4873
|
-
scale:
|
|
4873
|
+
scale: I()
|
|
4874
4874
|
}],
|
|
4875
4875
|
/**
|
|
4876
4876
|
* Scale X
|
|
4877
4877
|
* @see https://tailwindcss.com/docs/scale
|
|
4878
4878
|
*/
|
|
4879
4879
|
"scale-x": [{
|
|
4880
|
-
"scale-x":
|
|
4880
|
+
"scale-x": I()
|
|
4881
4881
|
}],
|
|
4882
4882
|
/**
|
|
4883
4883
|
* Scale Y
|
|
4884
4884
|
* @see https://tailwindcss.com/docs/scale
|
|
4885
4885
|
*/
|
|
4886
4886
|
"scale-y": [{
|
|
4887
|
-
"scale-y":
|
|
4887
|
+
"scale-y": I()
|
|
4888
4888
|
}],
|
|
4889
4889
|
/**
|
|
4890
4890
|
* Scale Z
|
|
4891
4891
|
* @see https://tailwindcss.com/docs/scale
|
|
4892
4892
|
*/
|
|
4893
4893
|
"scale-z": [{
|
|
4894
|
-
"scale-z":
|
|
4894
|
+
"scale-z": I()
|
|
4895
4895
|
}],
|
|
4896
4896
|
/**
|
|
4897
4897
|
* Scale 3D
|
|
@@ -4903,28 +4903,28 @@ const Kr = (i, r) => {
|
|
|
4903
4903
|
* @see https://tailwindcss.com/docs/skew
|
|
4904
4904
|
*/
|
|
4905
4905
|
skew: [{
|
|
4906
|
-
skew:
|
|
4906
|
+
skew: M()
|
|
4907
4907
|
}],
|
|
4908
4908
|
/**
|
|
4909
4909
|
* Skew X
|
|
4910
4910
|
* @see https://tailwindcss.com/docs/skew
|
|
4911
4911
|
*/
|
|
4912
4912
|
"skew-x": [{
|
|
4913
|
-
"skew-x":
|
|
4913
|
+
"skew-x": M()
|
|
4914
4914
|
}],
|
|
4915
4915
|
/**
|
|
4916
4916
|
* Skew Y
|
|
4917
4917
|
* @see https://tailwindcss.com/docs/skew
|
|
4918
4918
|
*/
|
|
4919
4919
|
"skew-y": [{
|
|
4920
|
-
"skew-y":
|
|
4920
|
+
"skew-y": M()
|
|
4921
4921
|
}],
|
|
4922
4922
|
/**
|
|
4923
4923
|
* Transform
|
|
4924
4924
|
* @see https://tailwindcss.com/docs/transform
|
|
4925
4925
|
*/
|
|
4926
4926
|
transform: [{
|
|
4927
|
-
transform: [
|
|
4927
|
+
transform: [C, k, "", "none", "gpu", "cpu"]
|
|
4928
4928
|
}],
|
|
4929
4929
|
/**
|
|
4930
4930
|
* Transform Origin
|
|
@@ -4945,28 +4945,28 @@ const Kr = (i, r) => {
|
|
|
4945
4945
|
* @see https://tailwindcss.com/docs/translate
|
|
4946
4946
|
*/
|
|
4947
4947
|
translate: [{
|
|
4948
|
-
translate:
|
|
4948
|
+
translate: B()
|
|
4949
4949
|
}],
|
|
4950
4950
|
/**
|
|
4951
4951
|
* Translate X
|
|
4952
4952
|
* @see https://tailwindcss.com/docs/translate
|
|
4953
4953
|
*/
|
|
4954
4954
|
"translate-x": [{
|
|
4955
|
-
"translate-x":
|
|
4955
|
+
"translate-x": B()
|
|
4956
4956
|
}],
|
|
4957
4957
|
/**
|
|
4958
4958
|
* Translate Y
|
|
4959
4959
|
* @see https://tailwindcss.com/docs/translate
|
|
4960
4960
|
*/
|
|
4961
4961
|
"translate-y": [{
|
|
4962
|
-
"translate-y":
|
|
4962
|
+
"translate-y": B()
|
|
4963
4963
|
}],
|
|
4964
4964
|
/**
|
|
4965
4965
|
* Translate Z
|
|
4966
4966
|
* @see https://tailwindcss.com/docs/translate
|
|
4967
4967
|
*/
|
|
4968
4968
|
"translate-z": [{
|
|
4969
|
-
"translate-z":
|
|
4969
|
+
"translate-z": B()
|
|
4970
4970
|
}],
|
|
4971
4971
|
/**
|
|
4972
4972
|
* Translate None
|
|
@@ -5009,7 +5009,7 @@ const Kr = (i, r) => {
|
|
|
5009
5009
|
* @see https://tailwindcss.com/docs/cursor
|
|
5010
5010
|
*/
|
|
5011
5011
|
cursor: [{
|
|
5012
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
5012
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", C, k]
|
|
5013
5013
|
}],
|
|
5014
5014
|
/**
|
|
5015
5015
|
* Field Sizing
|
|
@@ -5044,126 +5044,126 @@ const Kr = (i, r) => {
|
|
|
5044
5044
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5045
5045
|
*/
|
|
5046
5046
|
"scroll-m": [{
|
|
5047
|
-
"scroll-m":
|
|
5047
|
+
"scroll-m": O()
|
|
5048
5048
|
}],
|
|
5049
5049
|
/**
|
|
5050
5050
|
* Scroll Margin X
|
|
5051
5051
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5052
5052
|
*/
|
|
5053
5053
|
"scroll-mx": [{
|
|
5054
|
-
"scroll-mx":
|
|
5054
|
+
"scroll-mx": O()
|
|
5055
5055
|
}],
|
|
5056
5056
|
/**
|
|
5057
5057
|
* Scroll Margin Y
|
|
5058
5058
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5059
5059
|
*/
|
|
5060
5060
|
"scroll-my": [{
|
|
5061
|
-
"scroll-my":
|
|
5061
|
+
"scroll-my": O()
|
|
5062
5062
|
}],
|
|
5063
5063
|
/**
|
|
5064
5064
|
* Scroll Margin Start
|
|
5065
5065
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5066
5066
|
*/
|
|
5067
5067
|
"scroll-ms": [{
|
|
5068
|
-
"scroll-ms":
|
|
5068
|
+
"scroll-ms": O()
|
|
5069
5069
|
}],
|
|
5070
5070
|
/**
|
|
5071
5071
|
* Scroll Margin End
|
|
5072
5072
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5073
5073
|
*/
|
|
5074
5074
|
"scroll-me": [{
|
|
5075
|
-
"scroll-me":
|
|
5075
|
+
"scroll-me": O()
|
|
5076
5076
|
}],
|
|
5077
5077
|
/**
|
|
5078
5078
|
* Scroll Margin Top
|
|
5079
5079
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5080
5080
|
*/
|
|
5081
5081
|
"scroll-mt": [{
|
|
5082
|
-
"scroll-mt":
|
|
5082
|
+
"scroll-mt": O()
|
|
5083
5083
|
}],
|
|
5084
5084
|
/**
|
|
5085
5085
|
* Scroll Margin Right
|
|
5086
5086
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5087
5087
|
*/
|
|
5088
5088
|
"scroll-mr": [{
|
|
5089
|
-
"scroll-mr":
|
|
5089
|
+
"scroll-mr": O()
|
|
5090
5090
|
}],
|
|
5091
5091
|
/**
|
|
5092
5092
|
* Scroll Margin Bottom
|
|
5093
5093
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5094
5094
|
*/
|
|
5095
5095
|
"scroll-mb": [{
|
|
5096
|
-
"scroll-mb":
|
|
5096
|
+
"scroll-mb": O()
|
|
5097
5097
|
}],
|
|
5098
5098
|
/**
|
|
5099
5099
|
* Scroll Margin Left
|
|
5100
5100
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5101
5101
|
*/
|
|
5102
5102
|
"scroll-ml": [{
|
|
5103
|
-
"scroll-ml":
|
|
5103
|
+
"scroll-ml": O()
|
|
5104
5104
|
}],
|
|
5105
5105
|
/**
|
|
5106
5106
|
* Scroll Padding
|
|
5107
5107
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5108
5108
|
*/
|
|
5109
5109
|
"scroll-p": [{
|
|
5110
|
-
"scroll-p":
|
|
5110
|
+
"scroll-p": O()
|
|
5111
5111
|
}],
|
|
5112
5112
|
/**
|
|
5113
5113
|
* Scroll Padding X
|
|
5114
5114
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5115
5115
|
*/
|
|
5116
5116
|
"scroll-px": [{
|
|
5117
|
-
"scroll-px":
|
|
5117
|
+
"scroll-px": O()
|
|
5118
5118
|
}],
|
|
5119
5119
|
/**
|
|
5120
5120
|
* Scroll Padding Y
|
|
5121
5121
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5122
5122
|
*/
|
|
5123
5123
|
"scroll-py": [{
|
|
5124
|
-
"scroll-py":
|
|
5124
|
+
"scroll-py": O()
|
|
5125
5125
|
}],
|
|
5126
5126
|
/**
|
|
5127
5127
|
* Scroll Padding Start
|
|
5128
5128
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5129
5129
|
*/
|
|
5130
5130
|
"scroll-ps": [{
|
|
5131
|
-
"scroll-ps":
|
|
5131
|
+
"scroll-ps": O()
|
|
5132
5132
|
}],
|
|
5133
5133
|
/**
|
|
5134
5134
|
* Scroll Padding End
|
|
5135
5135
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5136
5136
|
*/
|
|
5137
5137
|
"scroll-pe": [{
|
|
5138
|
-
"scroll-pe":
|
|
5138
|
+
"scroll-pe": O()
|
|
5139
5139
|
}],
|
|
5140
5140
|
/**
|
|
5141
5141
|
* Scroll Padding Top
|
|
5142
5142
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5143
5143
|
*/
|
|
5144
5144
|
"scroll-pt": [{
|
|
5145
|
-
"scroll-pt":
|
|
5145
|
+
"scroll-pt": O()
|
|
5146
5146
|
}],
|
|
5147
5147
|
/**
|
|
5148
5148
|
* Scroll Padding Right
|
|
5149
5149
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5150
5150
|
*/
|
|
5151
5151
|
"scroll-pr": [{
|
|
5152
|
-
"scroll-pr":
|
|
5152
|
+
"scroll-pr": O()
|
|
5153
5153
|
}],
|
|
5154
5154
|
/**
|
|
5155
5155
|
* Scroll Padding Bottom
|
|
5156
5156
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5157
5157
|
*/
|
|
5158
5158
|
"scroll-pb": [{
|
|
5159
|
-
"scroll-pb":
|
|
5159
|
+
"scroll-pb": O()
|
|
5160
5160
|
}],
|
|
5161
5161
|
/**
|
|
5162
5162
|
* Scroll Padding Left
|
|
5163
5163
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5164
5164
|
*/
|
|
5165
5165
|
"scroll-pl": [{
|
|
5166
|
-
"scroll-pl":
|
|
5166
|
+
"scroll-pl": O()
|
|
5167
5167
|
}],
|
|
5168
5168
|
/**
|
|
5169
5169
|
* Scroll Snap Align
|
|
@@ -5231,7 +5231,7 @@ const Kr = (i, r) => {
|
|
|
5231
5231
|
* @see https://tailwindcss.com/docs/will-change
|
|
5232
5232
|
*/
|
|
5233
5233
|
"will-change": [{
|
|
5234
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
5234
|
+
"will-change": ["auto", "scroll", "contents", "transform", C, k]
|
|
5235
5235
|
}],
|
|
5236
5236
|
// -----------
|
|
5237
5237
|
// --- SVG ---
|
|
@@ -5248,7 +5248,7 @@ const Kr = (i, r) => {
|
|
|
5248
5248
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
5249
5249
|
*/
|
|
5250
5250
|
"stroke-w": [{
|
|
5251
|
-
stroke: [
|
|
5251
|
+
stroke: [U, Ke, Fe, ut]
|
|
5252
5252
|
}],
|
|
5253
5253
|
/**
|
|
5254
5254
|
* Stroke
|
|
@@ -5327,7 +5327,7 @@ const Kr = (i, r) => {
|
|
|
5327
5327
|
function E(...i) {
|
|
5328
5328
|
return Li(Yr(i));
|
|
5329
5329
|
}
|
|
5330
|
-
const
|
|
5330
|
+
const Ue = we.forwardRef(
|
|
5331
5331
|
({ className: i, variant: r = "default", size: n = "default", ...a }, d) => {
|
|
5332
5332
|
const h = E(
|
|
5333
5333
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium",
|
|
@@ -5379,8 +5379,8 @@ const Be = we.forwardRef(
|
|
|
5379
5379
|
);
|
|
5380
5380
|
}
|
|
5381
5381
|
);
|
|
5382
|
-
|
|
5383
|
-
const
|
|
5382
|
+
Ue.displayName = "Button";
|
|
5383
|
+
const rr = we.forwardRef(
|
|
5384
5384
|
({ className: i, type: r, ...n }, a) => /* @__PURE__ */ v(
|
|
5385
5385
|
"input",
|
|
5386
5386
|
{
|
|
@@ -5399,7 +5399,7 @@ const tr = we.forwardRef(
|
|
|
5399
5399
|
}
|
|
5400
5400
|
)
|
|
5401
5401
|
);
|
|
5402
|
-
|
|
5402
|
+
rr.displayName = "Input";
|
|
5403
5403
|
function We({ className: i, variant: r = "default", ...n }) {
|
|
5404
5404
|
const a = {
|
|
5405
5405
|
default: E(
|
|
@@ -5435,7 +5435,7 @@ function We({ className: i, variant: r = "default", ...n }) {
|
|
|
5435
5435
|
}
|
|
5436
5436
|
);
|
|
5437
5437
|
}
|
|
5438
|
-
const
|
|
5438
|
+
const ir = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
5439
5439
|
"div",
|
|
5440
5440
|
{
|
|
5441
5441
|
ref: n,
|
|
@@ -5448,7 +5448,7 @@ const rr = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
|
5448
5448
|
...r
|
|
5449
5449
|
}
|
|
5450
5450
|
));
|
|
5451
|
-
|
|
5451
|
+
ir.displayName = "Card";
|
|
5452
5452
|
const Fi = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
5453
5453
|
"div",
|
|
5454
5454
|
{
|
|
@@ -5491,12 +5491,12 @@ const $i = we.forwardRef(({ className: i, ...r }, n) => /* @__PURE__ */ v(
|
|
|
5491
5491
|
));
|
|
5492
5492
|
$i.displayName = "CardFooter";
|
|
5493
5493
|
const ji = ({ compact: i = !1 }) => {
|
|
5494
|
-
const { sessionState: r, triggerSession: n, theme: a } =
|
|
5494
|
+
const { sessionState: r, triggerSession: n, theme: a } = Xe(), d = a === "dark", h = (c) => {
|
|
5495
5495
|
if (!c) return "N/A";
|
|
5496
5496
|
try {
|
|
5497
|
-
const l = new Date(c), m = /* @__PURE__ */ new Date(),
|
|
5498
|
-
if (
|
|
5499
|
-
const f = Math.floor(
|
|
5497
|
+
const l = new Date(c), m = /* @__PURE__ */ new Date(), w = l.getTime() - m.getTime();
|
|
5498
|
+
if (w < 0) return "Expired";
|
|
5499
|
+
const f = Math.floor(w / 6e4), u = Math.floor(f / 60);
|
|
5500
5500
|
return u > 0 ? `${u}h ${f % 60}m` : f > 0 ? `${f}m` : "Less than 1m";
|
|
5501
5501
|
} catch {
|
|
5502
5502
|
return "Invalid date";
|
|
@@ -5504,32 +5504,32 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5504
5504
|
};
|
|
5505
5505
|
return i ? /* @__PURE__ */ D("div", { className: "flex items-center gap-2", children: [
|
|
5506
5506
|
r.isSessionReady ? /* @__PURE__ */ D(We, { variant: "success", className: "gap-1", children: [
|
|
5507
|
-
/* @__PURE__ */ v(
|
|
5507
|
+
/* @__PURE__ */ v(xt, { className: "h-3 w-3" }),
|
|
5508
5508
|
"Session Active"
|
|
5509
5509
|
] }) : r.lastError ? /* @__PURE__ */ D(We, { variant: "destructive", className: "gap-1", children: [
|
|
5510
|
-
/* @__PURE__ */ v(
|
|
5510
|
+
/* @__PURE__ */ v(st, { className: "h-3 w-3" }),
|
|
5511
5511
|
"Error"
|
|
5512
5512
|
] }) : /* @__PURE__ */ D(We, { variant: "secondary", className: "gap-1", children: [
|
|
5513
|
-
/* @__PURE__ */ v(
|
|
5513
|
+
/* @__PURE__ */ v(St, { className: "h-3 w-3" }),
|
|
5514
5514
|
"Ready"
|
|
5515
5515
|
] }),
|
|
5516
5516
|
!r.isSessionReady && /* @__PURE__ */ D(
|
|
5517
|
-
|
|
5517
|
+
Ue,
|
|
5518
5518
|
{
|
|
5519
5519
|
variant: "outline",
|
|
5520
5520
|
size: "sm",
|
|
5521
|
-
onClick: n,
|
|
5521
|
+
onClick: () => n({ userTrigger: !0 }),
|
|
5522
5522
|
className: E(
|
|
5523
5523
|
"h-7 text-[10px] px-2.5 rounded-lg",
|
|
5524
5524
|
d ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
|
|
5525
5525
|
),
|
|
5526
5526
|
children: [
|
|
5527
|
-
/* @__PURE__ */ v(
|
|
5527
|
+
/* @__PURE__ */ v(kt, { className: "h-3 w-3 mr-1" }),
|
|
5528
5528
|
"Start"
|
|
5529
5529
|
]
|
|
5530
5530
|
}
|
|
5531
5531
|
)
|
|
5532
|
-
] }) : /* @__PURE__ */ v(
|
|
5532
|
+
] }) : /* @__PURE__ */ v(ir, { className: E(
|
|
5533
5533
|
"p-3 border",
|
|
5534
5534
|
d ? "bg-gray-800/50 border-gray-700/50" : "bg-gray-50 border-gray-100"
|
|
5535
5535
|
), children: /* @__PURE__ */ D("div", { className: "space-y-3", children: [
|
|
@@ -5538,7 +5538,7 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5538
5538
|
/* @__PURE__ */ v("div", { className: E(
|
|
5539
5539
|
"w-6 h-6 rounded-md flex items-center justify-center",
|
|
5540
5540
|
r.isSessionReady ? "bg-emerald-100 dark:bg-emerald-500/20" : d ? "bg-gray-800" : "bg-gray-100"
|
|
5541
|
-
), children: /* @__PURE__ */ v(
|
|
5541
|
+
), children: /* @__PURE__ */ v(St, { className: E(
|
|
5542
5542
|
"h-3.5 w-3.5",
|
|
5543
5543
|
r.isSessionReady ? "text-emerald-600 dark:text-emerald-400" : d ? "text-gray-400" : "text-gray-500"
|
|
5544
5544
|
) }) }),
|
|
@@ -5548,10 +5548,10 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5548
5548
|
), children: "Session" })
|
|
5549
5549
|
] }),
|
|
5550
5550
|
r.isSessionReady ? /* @__PURE__ */ D(We, { variant: "success", children: [
|
|
5551
|
-
/* @__PURE__ */ v(
|
|
5551
|
+
/* @__PURE__ */ v(xt, { className: "h-3 w-3 mr-1" }),
|
|
5552
5552
|
"Active"
|
|
5553
5553
|
] }) : r.lastError ? /* @__PURE__ */ D(We, { variant: "destructive", children: [
|
|
5554
|
-
/* @__PURE__ */ v(
|
|
5554
|
+
/* @__PURE__ */ v(st, { className: "h-3 w-3 mr-1" }),
|
|
5555
5555
|
"Error"
|
|
5556
5556
|
] }) : /* @__PURE__ */ v(We, { variant: "secondary", children: "Not Started" })
|
|
5557
5557
|
] }),
|
|
@@ -5583,7 +5583,7 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5583
5583
|
"flex items-start gap-3 p-3 rounded-xl border",
|
|
5584
5584
|
d ? "bg-red-950/30 border-red-900/50" : "bg-red-50 border-red-100"
|
|
5585
5585
|
), children: [
|
|
5586
|
-
/* @__PURE__ */ v("div", { className: "w-6 h-6 rounded-lg bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ v(
|
|
5586
|
+
/* @__PURE__ */ v("div", { className: "w-6 h-6 rounded-lg bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ v(st, { className: "h-3.5 w-3.5 text-white" }) }),
|
|
5587
5587
|
/* @__PURE__ */ D("div", { className: "flex-1 min-w-0", children: [
|
|
5588
5588
|
/* @__PURE__ */ v("p", { className: E(
|
|
5589
5589
|
"text-xs font-medium mb-0.5",
|
|
@@ -5597,27 +5597,27 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5597
5597
|
] })
|
|
5598
5598
|
] }),
|
|
5599
5599
|
!r.isSessionReady && /* @__PURE__ */ D(
|
|
5600
|
-
|
|
5600
|
+
Ue,
|
|
5601
5601
|
{
|
|
5602
5602
|
variant: "outline",
|
|
5603
5603
|
size: "sm",
|
|
5604
|
-
onClick: n,
|
|
5604
|
+
onClick: () => n({ userTrigger: !0 }),
|
|
5605
5605
|
className: E(
|
|
5606
5606
|
"w-full",
|
|
5607
5607
|
d ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
|
|
5608
5608
|
),
|
|
5609
5609
|
children: [
|
|
5610
|
-
/* @__PURE__ */ v(
|
|
5610
|
+
/* @__PURE__ */ v(kt, { className: "h-4 w-4 mr-2" }),
|
|
5611
5611
|
"Start Session"
|
|
5612
5612
|
]
|
|
5613
5613
|
}
|
|
5614
5614
|
)
|
|
5615
5615
|
] }) });
|
|
5616
5616
|
}, Vi = () => {
|
|
5617
|
-
const { chatMessages: i, sendMessage: r, isConnected: n, theme: a } =
|
|
5617
|
+
const { chatMessages: i, sendMessage: r, isConnected: n, theme: a } = Xe(), [d, h] = se(""), [c, l] = se(!1), m = _e(null), w = a === "dark", f = () => {
|
|
5618
5618
|
m.current?.scrollIntoView({ behavior: "smooth" });
|
|
5619
5619
|
};
|
|
5620
|
-
|
|
5620
|
+
Pe(() => {
|
|
5621
5621
|
f();
|
|
5622
5622
|
}, [i]);
|
|
5623
5623
|
const u = async () => {
|
|
@@ -5633,49 +5633,49 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5633
5633
|
}
|
|
5634
5634
|
}, A = (x) => {
|
|
5635
5635
|
x.key === "Enter" && !x.shiftKey && (x.preventDefault(), u());
|
|
5636
|
-
},
|
|
5636
|
+
}, b = (x) => new Date(x).toLocaleTimeString("en-US", {
|
|
5637
5637
|
hour: "2-digit",
|
|
5638
5638
|
minute: "2-digit"
|
|
5639
5639
|
});
|
|
5640
5640
|
return /* @__PURE__ */ D("div", { className: E(
|
|
5641
5641
|
"flex flex-col h-full",
|
|
5642
|
-
|
|
5642
|
+
w ? "bg-gray-950" : "bg-white"
|
|
5643
5643
|
), children: [
|
|
5644
5644
|
/* @__PURE__ */ v("div", { className: E(
|
|
5645
5645
|
"px-4 py-1.5 border-b",
|
|
5646
|
-
|
|
5646
|
+
w ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
|
|
5647
5647
|
), children: /* @__PURE__ */ D("div", { className: "flex items-center gap-3", children: [
|
|
5648
5648
|
/* @__PURE__ */ v("div", { className: E(
|
|
5649
5649
|
"w-6 h-6 rounded-lg flex items-center justify-center",
|
|
5650
|
-
|
|
5651
|
-
), children: /* @__PURE__ */ v(
|
|
5650
|
+
w ? "bg-gray-800" : "bg-gray-100"
|
|
5651
|
+
), children: /* @__PURE__ */ v(Lt, { className: E(
|
|
5652
5652
|
"w-3 h-3",
|
|
5653
|
-
|
|
5653
|
+
w ? "text-gray-400" : "text-gray-600"
|
|
5654
5654
|
) }) }),
|
|
5655
5655
|
/* @__PURE__ */ v("div", { children: /* @__PURE__ */ v("h3", { className: E(
|
|
5656
5656
|
"font-semibold text-[11px]",
|
|
5657
|
-
|
|
5657
|
+
w ? "text-white" : "text-gray-900"
|
|
5658
5658
|
), children: "Conversation" }) })
|
|
5659
5659
|
] }) }),
|
|
5660
5660
|
/* @__PURE__ */ v("div", { className: E(
|
|
5661
5661
|
"px-4 py-1.5 border-b",
|
|
5662
|
-
|
|
5662
|
+
w ? "border-gray-800/50" : "border-gray-100"
|
|
5663
5663
|
), children: /* @__PURE__ */ v(ji, { compact: !0 }) }),
|
|
5664
5664
|
/* @__PURE__ */ D("div", { className: E(
|
|
5665
5665
|
"flex-1 overflow-y-auto p-4 space-y-4",
|
|
5666
|
-
|
|
5666
|
+
w ? "bg-gray-900/30" : "bg-gray-50/30"
|
|
5667
5667
|
), children: [
|
|
5668
5668
|
i.length === 0 ? /* @__PURE__ */ D("div", { className: "flex flex-col items-center justify-center h-full text-center px-4 aria-animate-fade-in", children: [
|
|
5669
5669
|
/* @__PURE__ */ v("div", { className: E(
|
|
5670
5670
|
"rounded-xl p-4 mb-3",
|
|
5671
|
-
|
|
5672
|
-
), children: /* @__PURE__ */ v(
|
|
5671
|
+
w ? "bg-gray-800" : "bg-gray-100"
|
|
5672
|
+
), children: /* @__PURE__ */ v(pt, { className: E(
|
|
5673
5673
|
"h-6 w-6",
|
|
5674
|
-
|
|
5674
|
+
w ? "text-gray-500" : "text-gray-400"
|
|
5675
5675
|
) }) }),
|
|
5676
5676
|
/* @__PURE__ */ v("p", { className: E(
|
|
5677
5677
|
"text-xs font-medium",
|
|
5678
|
-
|
|
5678
|
+
w ? "text-gray-300" : "text-gray-700"
|
|
5679
5679
|
), children: "Start a conversation" })
|
|
5680
5680
|
] }) : i.map((x, S) => /* @__PURE__ */ D(
|
|
5681
5681
|
"div",
|
|
@@ -5691,7 +5691,7 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5691
5691
|
{
|
|
5692
5692
|
className: E(
|
|
5693
5693
|
"shrink-0 w-7 h-7 rounded-lg flex items-center justify-center shadow-sm",
|
|
5694
|
-
x.role === "user" ? "bg-primary text-white" :
|
|
5694
|
+
x.role === "user" ? "bg-primary text-white" : w ? "bg-gray-800 text-gray-300" : "bg-gray-100 text-gray-600"
|
|
5695
5695
|
),
|
|
5696
5696
|
children: x.role === "user" ? /* @__PURE__ */ v(hr, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ v(pr, { className: "h-3.5 w-3.5" })
|
|
5697
5697
|
}
|
|
@@ -5709,15 +5709,15 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5709
5709
|
{
|
|
5710
5710
|
className: E(
|
|
5711
5711
|
"px-3 py-2 rounded-xl shadow-sm",
|
|
5712
|
-
x.role === "user" ? "bg-primary text-white" :
|
|
5712
|
+
x.role === "user" ? "bg-primary text-white" : w ? "bg-gray-800 border border-gray-700 text-gray-100" : "bg-white border border-gray-100 text-gray-800"
|
|
5713
5713
|
),
|
|
5714
5714
|
children: /* @__PURE__ */ v("p", { className: "text-xs leading-relaxed break-words", children: x.content })
|
|
5715
5715
|
}
|
|
5716
5716
|
),
|
|
5717
5717
|
/* @__PURE__ */ v("span", { className: E(
|
|
5718
5718
|
"text-[9px] mt-1 px-1",
|
|
5719
|
-
|
|
5720
|
-
), children:
|
|
5719
|
+
w ? "text-gray-500" : "text-gray-400"
|
|
5720
|
+
), children: b(x.timestamp) })
|
|
5721
5721
|
]
|
|
5722
5722
|
}
|
|
5723
5723
|
)
|
|
@@ -5729,13 +5729,13 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5729
5729
|
] }),
|
|
5730
5730
|
/* @__PURE__ */ v("div", { className: E(
|
|
5731
5731
|
"p-3 border-t",
|
|
5732
|
-
|
|
5732
|
+
w ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
|
|
5733
5733
|
), children: /* @__PURE__ */ D("div", { className: E(
|
|
5734
5734
|
"flex gap-2 p-1 rounded-lg border transition-all duration-200",
|
|
5735
|
-
|
|
5735
|
+
w ? "bg-gray-850 border-gray-700 focus-within:border-primary/50" : "bg-gray-50 border-gray-200 focus-within:border-primary/50 focus-within:bg-white"
|
|
5736
5736
|
), children: [
|
|
5737
5737
|
/* @__PURE__ */ v(
|
|
5738
|
-
|
|
5738
|
+
rr,
|
|
5739
5739
|
{
|
|
5740
5740
|
value: d,
|
|
5741
5741
|
onChange: (x) => h(x.target.value),
|
|
@@ -5744,12 +5744,12 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5744
5744
|
disabled: !n || c,
|
|
5745
5745
|
className: E(
|
|
5746
5746
|
"flex-1 border-0 bg-transparent shadow-none focus-visible:ring-0 px-2 h-8 text-xs",
|
|
5747
|
-
|
|
5747
|
+
w ? "placeholder:text-gray-500" : "placeholder:text-gray-400"
|
|
5748
5748
|
)
|
|
5749
5749
|
}
|
|
5750
5750
|
),
|
|
5751
5751
|
/* @__PURE__ */ v(
|
|
5752
|
-
|
|
5752
|
+
Ue,
|
|
5753
5753
|
{
|
|
5754
5754
|
onClick: u,
|
|
5755
5755
|
disabled: !n || !d.trim() || c,
|
|
@@ -5773,31 +5773,31 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5773
5773
|
error: c,
|
|
5774
5774
|
toggleChat: l,
|
|
5775
5775
|
toggleMute: m,
|
|
5776
|
-
displayMode:
|
|
5776
|
+
displayMode: w,
|
|
5777
5777
|
theme: f,
|
|
5778
5778
|
sessionState: u
|
|
5779
|
-
} =
|
|
5780
|
-
|
|
5779
|
+
} = Xe(), A = _e(null);
|
|
5780
|
+
Pe(() => {
|
|
5781
5781
|
A.current && (A.current.id = "aria-video-element");
|
|
5782
5782
|
}, []);
|
|
5783
|
-
const
|
|
5783
|
+
const b = f === "dark", x = w === "bottom-right";
|
|
5784
5784
|
return /* @__PURE__ */ D(
|
|
5785
5785
|
"div",
|
|
5786
5786
|
{
|
|
5787
5787
|
className: E(
|
|
5788
5788
|
"aria-assistant-container flex flex-col overflow-hidden aria-animate-scale-in",
|
|
5789
|
-
|
|
5789
|
+
b && "aria-dark",
|
|
5790
5790
|
// Base styling
|
|
5791
5791
|
"shadow-2xl",
|
|
5792
5792
|
// Light mode: clean white with subtle border
|
|
5793
|
-
!
|
|
5793
|
+
!b && "bg-white/95 border border-gray-200/80",
|
|
5794
5794
|
// Dark mode: deep dark with glow effect
|
|
5795
|
-
|
|
5795
|
+
b && "bg-gray-950/95 border border-gray-800/50",
|
|
5796
5796
|
// Positioning
|
|
5797
5797
|
x && "fixed bottom-6 right-6 rounded-xl",
|
|
5798
5798
|
x && (a ? "w-[960px]" : "w-[640px]"),
|
|
5799
5799
|
x && "h-[500px]",
|
|
5800
|
-
|
|
5800
|
+
w === "center" && "fixed inset-6 md:inset-12 rounded-2xl"
|
|
5801
5801
|
),
|
|
5802
5802
|
style: {
|
|
5803
5803
|
zIndex: 9999,
|
|
@@ -5808,7 +5808,7 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5808
5808
|
/* @__PURE__ */ D("div", { className: E(
|
|
5809
5809
|
"relative px-4 py-1.5 flex items-center justify-between shrink-0",
|
|
5810
5810
|
"border-b",
|
|
5811
|
-
|
|
5811
|
+
b ? "border-gray-800/50 bg-gray-950" : "border-gray-100 bg-white"
|
|
5812
5812
|
), children: [
|
|
5813
5813
|
/* @__PURE__ */ D("div", { className: "flex items-center gap-3 min-w-0 flex-1", children: [
|
|
5814
5814
|
/* @__PURE__ */ D("div", { className: "relative shrink-0", children: [
|
|
@@ -5821,37 +5821,37 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5821
5821
|
src: "/aria-image.png",
|
|
5822
5822
|
alt: "Aria",
|
|
5823
5823
|
className: "w-full h-full object-cover",
|
|
5824
|
-
onError: (
|
|
5825
|
-
|
|
5826
|
-
const N =
|
|
5824
|
+
onError: (T) => {
|
|
5825
|
+
T.currentTarget.style.display = "none";
|
|
5826
|
+
const N = T.currentTarget.nextElementSibling;
|
|
5827
5827
|
N && (N.style.display = "block");
|
|
5828
5828
|
}
|
|
5829
5829
|
}
|
|
5830
5830
|
) }),
|
|
5831
5831
|
/* @__PURE__ */ v("div", { className: E(
|
|
5832
5832
|
"absolute -bottom-0.5 -right-0.5 w-2.5 h-2.5 rounded-full border-2",
|
|
5833
|
-
|
|
5833
|
+
b ? "border-gray-950" : "border-white",
|
|
5834
5834
|
r ? "bg-emerald-500 shadow-[0_0_8px_rgba(16,185,129,0.6)] aria-animate-pulse-dot" : n ? "bg-amber-400 animate-pulse" : "bg-gray-400"
|
|
5835
5835
|
) })
|
|
5836
5836
|
] }),
|
|
5837
5837
|
/* @__PURE__ */ D("div", { className: "flex flex-col min-w-0", children: [
|
|
5838
5838
|
/* @__PURE__ */ v("h2", { className: E(
|
|
5839
5839
|
"text-sm font-bold tracking-tight leading-none",
|
|
5840
|
-
|
|
5840
|
+
b ? "text-white" : "text-gray-900"
|
|
5841
5841
|
), children: "Aria" }),
|
|
5842
5842
|
n && /* @__PURE__ */ v("div", { className: "mt-1", children: /* @__PURE__ */ v("span", { className: E(
|
|
5843
5843
|
"text-[9px] font-semibold tracking-wide animate-pulse",
|
|
5844
|
-
|
|
5844
|
+
b ? "text-amber-400" : "text-amber-600"
|
|
5845
5845
|
), children: "Connecting..." }) }),
|
|
5846
5846
|
r && u.isSessionReady && /* @__PURE__ */ v("div", { className: "flex items-center gap-1 mt-1", children: /* @__PURE__ */ v("span", { className: E(
|
|
5847
5847
|
"text-[8px] font-bold tracking-widest uppercase opacity-80",
|
|
5848
|
-
|
|
5848
|
+
b ? "text-indigo-400" : "text-indigo-600"
|
|
5849
5849
|
), children: "Live" }) })
|
|
5850
5850
|
] })
|
|
5851
5851
|
] }),
|
|
5852
5852
|
/* @__PURE__ */ D("div", { className: "flex items-center gap-0.5 shrink-0 ml-2", children: [
|
|
5853
5853
|
/* @__PURE__ */ v(
|
|
5854
|
-
|
|
5854
|
+
Ue,
|
|
5855
5855
|
{
|
|
5856
5856
|
variant: "ghost",
|
|
5857
5857
|
size: "icon",
|
|
@@ -5859,15 +5859,15 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5859
5859
|
title: a ? "Hide Chat" : "Show Chat",
|
|
5860
5860
|
className: E(
|
|
5861
5861
|
"h-7 w-7 rounded-lg transition-all duration-200 border-none",
|
|
5862
|
-
a && !
|
|
5863
|
-
a &&
|
|
5864
|
-
|
|
5862
|
+
a && !b && "bg-gray-100 text-gray-900",
|
|
5863
|
+
a && b && "bg-gray-800 text-white",
|
|
5864
|
+
b ? "hover:bg-gray-800 text-gray-400 hover:text-white" : "hover:bg-gray-100 text-gray-500 hover:text-gray-900"
|
|
5865
5865
|
),
|
|
5866
|
-
children: a ? /* @__PURE__ */ v(fr, { className: "h-[16px] w-[16px]" }) : /* @__PURE__ */ v(
|
|
5866
|
+
children: a ? /* @__PURE__ */ v(fr, { className: "h-[16px] w-[16px]" }) : /* @__PURE__ */ v(Lt, { className: "h-[16px] w-[16px]" })
|
|
5867
5867
|
}
|
|
5868
5868
|
),
|
|
5869
5869
|
/* @__PURE__ */ v(
|
|
5870
|
-
|
|
5870
|
+
Ue,
|
|
5871
5871
|
{
|
|
5872
5872
|
variant: "ghost",
|
|
5873
5873
|
size: "icon",
|
|
@@ -5876,14 +5876,14 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5876
5876
|
title: d ? "Unmute" : "Mute",
|
|
5877
5877
|
className: E(
|
|
5878
5878
|
"h-7 w-7 rounded-lg transition-all duration-200 border-none",
|
|
5879
|
-
|
|
5879
|
+
b ? "hover:bg-gray-800 text-gray-400 hover:text-white" : "hover:bg-gray-100 text-gray-500 hover:text-gray-900",
|
|
5880
5880
|
"disabled:opacity-30"
|
|
5881
5881
|
),
|
|
5882
|
-
children: d ? /* @__PURE__ */ v(
|
|
5882
|
+
children: d ? /* @__PURE__ */ v(Ct, { className: "h-[16px] w-[16px]" }) : /* @__PURE__ */ v(_t, { className: "h-[16px] w-[16px]" })
|
|
5883
5883
|
}
|
|
5884
5884
|
),
|
|
5885
5885
|
/* @__PURE__ */ v(
|
|
5886
|
-
|
|
5886
|
+
Ue,
|
|
5887
5887
|
{
|
|
5888
5888
|
variant: "ghost",
|
|
5889
5889
|
size: "icon",
|
|
@@ -5891,9 +5891,9 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5891
5891
|
title: "Close",
|
|
5892
5892
|
className: E(
|
|
5893
5893
|
"h-7 w-7 rounded-lg transition-all duration-200 border-none",
|
|
5894
|
-
|
|
5894
|
+
b ? "hover:bg-red-950/50 text-gray-400 hover:text-red-400" : "hover:bg-red-50 text-gray-500 hover:text-red-600"
|
|
5895
5895
|
),
|
|
5896
|
-
children: /* @__PURE__ */ v(
|
|
5896
|
+
children: /* @__PURE__ */ v(gt, { className: "h-[16px] w-[16px]" })
|
|
5897
5897
|
}
|
|
5898
5898
|
)
|
|
5899
5899
|
] })
|
|
@@ -5901,7 +5901,7 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5901
5901
|
/* @__PURE__ */ D("div", { className: "flex-1 flex overflow-hidden min-h-0", children: [
|
|
5902
5902
|
/* @__PURE__ */ D("div", { className: E(
|
|
5903
5903
|
"relative flex items-center justify-center overflow-hidden",
|
|
5904
|
-
|
|
5904
|
+
b ? "bg-gradient-to-br from-gray-900 to-black" : "bg-gradient-to-br from-gray-100 to-gray-50",
|
|
5905
5905
|
a ? "flex-1" : "w-full"
|
|
5906
5906
|
), children: [
|
|
5907
5907
|
n && /* @__PURE__ */ D(
|
|
@@ -5909,14 +5909,14 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5909
5909
|
{
|
|
5910
5910
|
className: E(
|
|
5911
5911
|
"absolute inset-0 flex flex-col items-center justify-center z-10",
|
|
5912
|
-
|
|
5912
|
+
b ? "bg-gray-950/90" : "bg-white/90"
|
|
5913
5913
|
),
|
|
5914
5914
|
style: { backdropFilter: "blur(8px)" },
|
|
5915
5915
|
children: [
|
|
5916
5916
|
/* @__PURE__ */ v("div", { className: "relative", children: /* @__PURE__ */ v("div", { className: "w-12 h-12 rounded-xl bg-primary flex items-center justify-center shadow-lg", children: /* @__PURE__ */ v(mr, { className: "h-6 w-6 animate-spin text-white" }) }) }),
|
|
5917
5917
|
/* @__PURE__ */ v("p", { className: E(
|
|
5918
5918
|
"mt-4 text-sm font-medium",
|
|
5919
|
-
|
|
5919
|
+
b ? "text-gray-300" : "text-gray-600"
|
|
5920
5920
|
), children: "Connecting..." })
|
|
5921
5921
|
]
|
|
5922
5922
|
}
|
|
@@ -5926,22 +5926,22 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5926
5926
|
{
|
|
5927
5927
|
className: E(
|
|
5928
5928
|
"absolute inset-0 flex flex-col items-center justify-center z-10 p-6",
|
|
5929
|
-
|
|
5929
|
+
b ? "bg-gray-950/80" : "bg-white/80"
|
|
5930
5930
|
),
|
|
5931
5931
|
style: { backdropFilter: "blur(4px)" },
|
|
5932
5932
|
children: /* @__PURE__ */ v("div", { className: E(
|
|
5933
5933
|
"rounded-lg p-4 max-w-sm w-full shadow-lg border",
|
|
5934
|
-
|
|
5934
|
+
b ? "bg-gray-900 border-red-900/30" : "bg-white border-red-100"
|
|
5935
5935
|
), children: /* @__PURE__ */ D("div", { className: "flex items-start gap-3", children: [
|
|
5936
|
-
/* @__PURE__ */ v("div", { className: "w-8 h-8 rounded-md bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ v(
|
|
5936
|
+
/* @__PURE__ */ v("div", { className: "w-8 h-8 rounded-md bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ v(gt, { className: "w-4 h-4 text-white" }) }),
|
|
5937
5937
|
/* @__PURE__ */ D("div", { className: "flex-1 min-w-0", children: [
|
|
5938
5938
|
/* @__PURE__ */ v("p", { className: E(
|
|
5939
5939
|
"text-sm font-semibold",
|
|
5940
|
-
|
|
5940
|
+
b ? "text-red-200" : "text-red-900"
|
|
5941
5941
|
), children: "Connection Error" }),
|
|
5942
5942
|
/* @__PURE__ */ v("p", { className: E(
|
|
5943
5943
|
"text-xs mt-1 leading-relaxed",
|
|
5944
|
-
|
|
5944
|
+
b ? "text-red-400" : "text-red-600"
|
|
5945
5945
|
), children: c })
|
|
5946
5946
|
] })
|
|
5947
5947
|
] }) })
|
|
@@ -5962,7 +5962,7 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5962
5962
|
className: E(
|
|
5963
5963
|
"absolute bottom-16 left-4 right-4 rounded-xl p-3 aria-animate-fade-in",
|
|
5964
5964
|
"shadow-lg border",
|
|
5965
|
-
|
|
5965
|
+
b ? "bg-gray-900/95 border-gray-800" : "bg-white/95 border-gray-200"
|
|
5966
5966
|
),
|
|
5967
5967
|
style: { backdropFilter: "blur(8px)" },
|
|
5968
5968
|
children: [
|
|
@@ -5970,12 +5970,12 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5970
5970
|
/* @__PURE__ */ v("div", { className: "w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" }),
|
|
5971
5971
|
/* @__PURE__ */ v("p", { className: E(
|
|
5972
5972
|
"text-[9px] font-bold uppercase tracking-wider",
|
|
5973
|
-
|
|
5973
|
+
b ? "text-gray-500" : "text-gray-400"
|
|
5974
5974
|
), children: "Transcript" })
|
|
5975
5975
|
] }),
|
|
5976
5976
|
/* @__PURE__ */ v("p", { className: E(
|
|
5977
5977
|
"text-xs leading-relaxed",
|
|
5978
|
-
|
|
5978
|
+
b ? "text-gray-200" : "text-gray-700"
|
|
5979
5979
|
), children: h })
|
|
5980
5980
|
]
|
|
5981
5981
|
}
|
|
@@ -5987,7 +5987,7 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5987
5987
|
"absolute bottom-4 left-1/2 transform -translate-x-1/2 z-20",
|
|
5988
5988
|
"flex items-center gap-2 p-1.5 rounded-xl",
|
|
5989
5989
|
"shadow-lg border",
|
|
5990
|
-
|
|
5990
|
+
b ? "bg-gray-900 border-gray-800" : "bg-white border-gray-200"
|
|
5991
5991
|
),
|
|
5992
5992
|
children: [
|
|
5993
5993
|
/* @__PURE__ */ v(
|
|
@@ -5996,10 +5996,10 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
5996
5996
|
onClick: m,
|
|
5997
5997
|
className: E(
|
|
5998
5998
|
"w-10 h-10 rounded-lg flex items-center justify-center transition-all duration-200",
|
|
5999
|
-
d ? "bg-red-500 hover:bg-red-600 text-white shadow-sm" :
|
|
5999
|
+
d ? "bg-red-500 hover:bg-red-600 text-white shadow-sm" : b ? "bg-gray-800 hover:bg-gray-750 text-gray-200" : "bg-gray-100 hover:bg-gray-200 text-gray-700"
|
|
6000
6000
|
),
|
|
6001
6001
|
title: d ? "Unmute" : "Mute",
|
|
6002
|
-
children: d ? /* @__PURE__ */ v(
|
|
6002
|
+
children: d ? /* @__PURE__ */ v(Ct, { className: "h-4 w-4" }) : /* @__PURE__ */ v(_t, { className: "h-4 w-4" })
|
|
6003
6003
|
}
|
|
6004
6004
|
),
|
|
6005
6005
|
/* @__PURE__ */ v(
|
|
@@ -6018,26 +6018,26 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
6018
6018
|
a && /* @__PURE__ */ v("div", { className: E(
|
|
6019
6019
|
"flex flex-col shrink-0 border-l",
|
|
6020
6020
|
x ? "w-[320px]" : "w-[360px]",
|
|
6021
|
-
|
|
6021
|
+
b ? "bg-gray-900 border-gray-800" : "bg-white border-gray-100"
|
|
6022
6022
|
), children: /* @__PURE__ */ v(Vi, {}) })
|
|
6023
6023
|
] })
|
|
6024
6024
|
]
|
|
6025
6025
|
}
|
|
6026
6026
|
);
|
|
6027
|
-
},
|
|
6027
|
+
}, wt = ({
|
|
6028
6028
|
children: i,
|
|
6029
6029
|
styles: r = "",
|
|
6030
6030
|
className: n,
|
|
6031
6031
|
style: a,
|
|
6032
6032
|
as: d = "div"
|
|
6033
6033
|
}) => {
|
|
6034
|
-
const h =
|
|
6035
|
-
|
|
6034
|
+
const h = _e(null), [c, l] = se(null);
|
|
6035
|
+
Pe(() => {
|
|
6036
6036
|
const f = h.current;
|
|
6037
6037
|
if (!f) return;
|
|
6038
6038
|
let u = f.shadowRoot;
|
|
6039
6039
|
u || (u = f.attachShadow({ mode: "open" })), l(u);
|
|
6040
|
-
}, []),
|
|
6040
|
+
}, []), Pe(() => {
|
|
6041
6041
|
if (!c || !r) return;
|
|
6042
6042
|
const f = c.querySelector("style[data-aria-styles]");
|
|
6043
6043
|
if (f) {
|
|
@@ -6049,11 +6049,11 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
6049
6049
|
u.remove();
|
|
6050
6050
|
};
|
|
6051
6051
|
}, [c, r]);
|
|
6052
|
-
const [m,
|
|
6053
|
-
return
|
|
6052
|
+
const [m, w] = se(null);
|
|
6053
|
+
return Pe(() => {
|
|
6054
6054
|
if (!c) return;
|
|
6055
6055
|
let f = c.querySelector(".aria-shadow-content");
|
|
6056
|
-
f || (f = document.createElement("div"), f.className = "aria-shadow-content", c.appendChild(f)),
|
|
6056
|
+
f || (f = document.createElement("div"), f.className = "aria-shadow-content", c.appendChild(f)), w(f);
|
|
6057
6057
|
}, [c]), /* @__PURE__ */ v(
|
|
6058
6058
|
d,
|
|
6059
6059
|
{
|
|
@@ -6063,35 +6063,36 @@ const ji = ({ compact: i = !1 }) => {
|
|
|
6063
6063
|
children: m && vr(i, m)
|
|
6064
6064
|
}
|
|
6065
6065
|
);
|
|
6066
|
-
}, ir = '@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-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking: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-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-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer aria-theme{:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-600:oklch(62.7% .194 149.214);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-800:oklch(43.8% .218 303.724);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-4xl:56rem;--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);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer aria-utilities{.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}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.inset-6{inset:calc(var(--spacing)*6)}.top-4{top:calc(var(--spacing)*4)}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.-bottom-0\\.5{bottom:calc(var(--spacing)*-.5)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-16{bottom:calc(var(--spacing)*16)}.left-1\\/2{left:50%}.left-4{left:calc(var(--spacing)*4)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.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-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.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-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-32{height:calc(var(--spacing)*32)}.h-\\[16px\\]{height:16px}.h-\\[500px\\]{height:500px}.h-full{height:100%}.max-h-32{max-height:calc(var(--spacing)*32)}.max-h-40{max-height:calc(var(--spacing)*40)}.max-h-64{max-height:calc(var(--spacing)*64)}.max-h-\\[90vh\\]{max-height:90vh}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-\\[16px\\]{width:16px}.w-\\[320px\\]{width:320px}.w-\\[360px\\]{width:360px}.w-\\[640px\\]{width:640px}.w-\\[960px\\]{width:960px}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\\[85\\%\\]{max-width:85%}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[60px\\]{min-width:60px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-\\[135deg\\]{rotate:135deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.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-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*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-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*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)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\\/80{border-color:#e5e7ebcc}@supports (color:color-mix(in lab,red,red)){.border-gray-200\\/80{border-color:color-mix(in oklab,var(--color-gray-200)80%,transparent)}}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-gray-800{border-color:var(--color-gray-800)}.border-gray-800\\/50{border-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.border-gray-800\\/50{border-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.border-gray-900{border-color:var(--color-gray-900)}.border-gray-950{border-color:var(--color-gray-950)}.border-purple-200{border-color:var(--color-purple-200)}.border-red-100{border-color:var(--color-red-100)}.border-red-900\\/30{border-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/30{border-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.border-red-900\\/50{border-color:#82181a80}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/50{border-color:color-mix(in oklab,var(--color-red-900)50%,transparent)}}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-yellow-200{border-color:var(--color-yellow-200)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-600{background-color:var(--color-amber-600)}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\\/30{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\\/30{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-800\\/50{background-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\\/50{background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.bg-gray-900{background-color:var(--color-gray-900)}.bg-gray-900\\/30{background-color:#1018284d}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/30{background-color:color-mix(in oklab,var(--color-gray-900)30%,transparent)}}.bg-gray-900\\/95{background-color:#101828f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/95{background-color:color-mix(in oklab,var(--color-gray-900)95%,transparent)}}.bg-gray-950{background-color:var(--color-gray-950)}.bg-gray-950\\/80{background-color:#030712cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/80{background-color:color-mix(in oklab,var(--color-gray-950)80%,transparent)}}.bg-gray-950\\/90{background-color:#030712e6}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/90{background-color:color-mix(in oklab,var(--color-gray-950)90%,transparent)}}.bg-gray-950\\/95{background-color:#030712f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/95{background-color:color-mix(in oklab,var(--color-gray-950)95%,transparent)}}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-950\\/30{background-color:#4608094d}@supports (color:color-mix(in lab,red,red)){.bg-red-950\\/30{background-color:color-mix(in oklab,var(--color-red-950)30%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)}}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-white\\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-100{--tw-gradient-from:var(--color-gray-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-800{--tw-gradient-from:var(--color-gray-800);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-900{--tw-gradient-from:var(--color-gray-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-indigo-50{--tw-gradient-via:var(--color-indigo-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-black{--tw-gradient-to:var(--color-black);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-50{--tw-gradient-to:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-white{--tw-gradient-to:var(--color-white);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.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)}.py-6{padding-block:calc(var(--spacing)*6)}.py-12{padding-block:calc(var(--spacing)*12)}.pt-0{padding-top:calc(var(--spacing)*0)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.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))}.text-\\[8px\\]{font-size:8px}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-400{color:var(--color-amber-400)}.text-amber-600{color:var(--color-amber-600)}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-emerald-600{color:var(--color-emerald-600)}.text-gray-100{color:var(--color-gray-100)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-green-800{color:var(--color-green-800)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-600{color:var(--color-indigo-600)}.text-purple-600{color:var(--color-purple-600)}.text-purple-800{color:var(--color-purple-800)}.text-red-200{color:var(--color-red-200)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-red-900{color:var(--color-red-900)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.uppercase{text-transform:uppercase}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px 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)}.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-\\[0_0_8px_rgba\\(16\\,185\\,129\\,0\\.6\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,#10b98199);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.12\\)\\]{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0000001f);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)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px 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)}.ring{--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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;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}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\\:text-gray-400::-moz-placeholder{color:var(--color-gray-400)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-gray-500::-moz-placeholder{color:var(--color-gray-500)}.placeholder\\:text-gray-500::placeholder{color:var(--color-gray-500)}.focus-within\\:bg-white:focus-within{background-color:var(--color-white)}@media(hover:hover){.hover\\:-translate-y-0\\.5:hover{--tw-translate-y:calc(var(--spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\\:border-gray-300:hover{border-color:var(--color-gray-300)}.hover\\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\\:bg-green-200:hover{background-color:var(--color-green-200)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-red-950\\/50:hover{background-color:#46080980}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-950\\/50:hover{background-color:color-mix(in oklab,var(--color-red-950)50%,transparent)}}.hover\\:text-blue-800:hover{color:var(--color-blue-800)}.hover\\:text-gray-900:hover{color:var(--color-gray-900)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-90:hover{opacity:.9}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.4\\)\\]:hover{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0006);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.16\\)\\]:hover{--tw-shadow:0 8px 30px var(--tw-shadow-color,#00000029);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-lg:hover{--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)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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)}.hover\\:shadow-indigo-500\\/25:hover{--tw-shadow-color:#625fff40}@supports (color:color-mix(in lab,red,red)){.hover\\:shadow-indigo-500\\/25:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-indigo-500)25%,transparent)var(--tw-shadow-alpha),transparent)}}}.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-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\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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-visible\\:ring-1:focus-visible{--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-visible\\:ring-2:focus-visible{--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-visible\\:ring-offset-2:focus-visible{--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-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:text-left{text-align:left}}@media(min-width:48rem){.md\\:inset-12{inset:calc(var(--spacing)*12)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-color-scheme:dark){.dark\\:bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.dark\\:bg-gray-900{background-color:var(--color-gray-900)}.dark\\:text-emerald-400{color:var(--color-emerald-400)}}}.aria-assistant-container{--aria-background:0 0% 100%;--aria-foreground:222 47% 11%;--aria-card:0 0% 100%;--aria-card-foreground:222 47% 11%;--aria-popover:0 0% 100%;--aria-popover-foreground:222 47% 11%;--aria-primary:221 83% 53%;--aria-primary-foreground:0 0% 100%;--aria-secondary:210 40% 96%;--aria-secondary-foreground:215 16% 47%;--aria-muted:210 40% 96%;--aria-muted-foreground:215 16% 47%;--aria-accent:210 40% 96%;--aria-accent-foreground:222 47% 11%;--aria-destructive:0 84% 60%;--aria-destructive-foreground:0 0% 100%;--aria-success:142 72% 29%;--aria-success-foreground:0 0% 100%;--aria-border:214 32% 91%;--aria-input:214 32% 91%;--aria-ring:221 83% 53%;--aria-radius:.5rem;--aria-gradient-from:221 83% 53%;--aria-gradient-to:221 83% 53%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;isolation:isolate;color:hsl(var(--aria-foreground));--background:var(--aria-background);--foreground:var(--aria-foreground);--card:var(--aria-card);--card-foreground:var(--aria-card-foreground);--primary:var(--aria-primary);--primary-foreground:var(--aria-primary-foreground);--secondary:var(--aria-secondary);--secondary-foreground:var(--aria-secondary-foreground);--muted:var(--aria-muted);--muted-foreground:var(--aria-muted-foreground);--accent:var(--aria-accent);--accent-foreground:var(--aria-accent-foreground);--destructive:var(--aria-destructive);--destructive-foreground:var(--aria-destructive-foreground);--success:var(--aria-success);--success-foreground:var(--aria-success-foreground);--border:var(--aria-border);--input:var(--aria-input);--ring:var(--aria-ring);--radius:var(--aria-radius);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.6}.aria-assistant-container *,.aria-assistant-container :before,.aria-assistant-container :after{box-sizing:border-box}.aria-assistant-container.aria-dark{--aria-background:222 47% 4%;--aria-foreground:210 40% 98%;--aria-card:222 47% 6%;--aria-card-foreground:210 40% 98%;--aria-popover:222 47% 6%;--aria-popover-foreground:210 40% 98%;--aria-primary:217 91% 60%;--aria-primary-foreground:0 0% 100%;--aria-secondary:217 33% 17%;--aria-secondary-foreground:210 40% 98%;--aria-muted:217 33% 17%;--aria-muted-foreground:215 20% 65%;--aria-accent:217 33% 17%;--aria-accent-foreground:210 40% 98%;--aria-destructive:0 84% 60%;--aria-destructive-foreground:0 0% 100%;--aria-success:142 71% 45%;--aria-success-foreground:0 0% 100%;--aria-border:217 33% 17%;--aria-input:217 33% 17%;--aria-ring:217 91% 60%;--aria-gradient-from:217 91% 60%;--aria-gradient-to:217 91% 60%;--background:var(--aria-background);--foreground:var(--aria-foreground);--card:var(--aria-card);--card-foreground:var(--aria-card-foreground);--primary:var(--aria-primary);--primary-foreground:var(--aria-primary-foreground);--secondary:var(--aria-secondary);--secondary-foreground:var(--aria-secondary-foreground);--muted:var(--aria-muted);--muted-foreground:var(--aria-muted-foreground);--accent:var(--aria-accent);--accent-foreground:var(--aria-accent-foreground);--destructive:var(--aria-destructive);--destructive-foreground:var(--aria-destructive-foreground);--success:var(--aria-success);--success-foreground:var(--aria-success-foreground);--border:var(--aria-border);--input:var(--aria-input);--ring:var(--aria-ring)}@keyframes aria-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes aria-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes aria-slide-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes aria-pulse-ring{0%,to{box-shadow:0 0 hsl(var(--aria-primary)/.4)}50%{box-shadow:0 0 0 8px hsl(var(--aria-primary)/0)}}@keyframes aria-gradient-shift{0%,to{background-position:0%}50%{background-position:100%}}@keyframes aria-pulse-dot{0%{opacity:.5;transform:scale(.95)}50%{opacity:1;transform:scale(1.05)}to{opacity:.5;transform:scale(.95)}}.aria-assistant-container .aria-animate-pulse-dot{animation:2s ease-in-out infinite aria-pulse-dot}.aria-assistant-container .aria-animate-fade-in{animation:.3s ease-out forwards aria-fade-in}.aria-assistant-container .aria-animate-scale-in{animation:.2s ease-out forwards aria-scale-in}.aria-assistant-container .aria-animate-slide-up{animation:.4s ease-out forwards aria-slide-up}.aria-assistant-container .aria-animate-pulse-ring{animation:2s ease-in-out infinite aria-pulse-ring}.aria-assistant-container .aria-glass{background:hsl(var(--aria-background)/.8);-webkit-backdrop-filter:blur(12px)saturate(180%)}.aria-assistant-container.aria-dark .aria-glass{background:hsl(var(--aria-background)/.75);-webkit-backdrop-filter:blur(16px)saturate(180%)}.aria-assistant-container .aria-gradient-text{background:linear-gradient(135deg,hsl(var(--aria-gradient-from)),hsl(var(--aria-gradient-to)));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.aria-assistant-container .aria-gradient-bg{background:linear-gradient(135deg,hsl(var(--aria-gradient-from)),hsl(var(--aria-gradient-to)))}.aria-assistant-container ::-webkit-scrollbar{width:6px;height:6px}.aria-assistant-container ::-webkit-scrollbar-track{background:0 0}.aria-assistant-container ::-webkit-scrollbar-thumb{background:hsl(var(--aria-border));border-radius:3px}.aria-assistant-container ::-webkit-scrollbar-thumb:hover{background:hsl(var(--aria-muted-foreground)/.5)}.aria-assistant-container .aria-focus-ring:focus-visible{box-shadow:0 0 0 2px hsl(var(--aria-ring)/.2);outline:none}@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-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{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-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-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}';
|
|
6067
|
-
function
|
|
6068
|
-
return
|
|
6066
|
+
}, nr = '@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-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking: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-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-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer aria-theme{:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-600:oklch(62.7% .194 149.214);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-800:oklch(43.8% .218 303.724);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-4xl:56rem;--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);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer aria-utilities{.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}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.inset-6{inset:calc(var(--spacing)*6)}.top-4{top:calc(var(--spacing)*4)}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.-bottom-0\\.5{bottom:calc(var(--spacing)*-.5)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-16{bottom:calc(var(--spacing)*16)}.left-1\\/2{left:50%}.left-4{left:calc(var(--spacing)*4)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.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-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing)*1)}.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-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-32{height:calc(var(--spacing)*32)}.h-\\[16px\\]{height:16px}.h-\\[500px\\]{height:500px}.h-full{height:100%}.max-h-32{max-height:calc(var(--spacing)*32)}.max-h-40{max-height:calc(var(--spacing)*40)}.max-h-64{max-height:calc(var(--spacing)*64)}.max-h-\\[90vh\\]{max-height:90vh}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-\\[16px\\]{width:16px}.w-\\[320px\\]{width:320px}.w-\\[360px\\]{width:360px}.w-\\[640px\\]{width:640px}.w-\\[960px\\]{width:960px}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\\[85\\%\\]{max-width:85%}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[60px\\]{min-width:60px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-\\[135deg\\]{rotate:135deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.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-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*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-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*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)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\\/80{border-color:#e5e7ebcc}@supports (color:color-mix(in lab,red,red)){.border-gray-200\\/80{border-color:color-mix(in oklab,var(--color-gray-200)80%,transparent)}}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-gray-800{border-color:var(--color-gray-800)}.border-gray-800\\/50{border-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.border-gray-800\\/50{border-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.border-gray-900{border-color:var(--color-gray-900)}.border-gray-950{border-color:var(--color-gray-950)}.border-purple-200{border-color:var(--color-purple-200)}.border-red-100{border-color:var(--color-red-100)}.border-red-900\\/30{border-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/30{border-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.border-red-900\\/50{border-color:#82181a80}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/50{border-color:color-mix(in oklab,var(--color-red-900)50%,transparent)}}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-yellow-200{border-color:var(--color-yellow-200)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-600{background-color:var(--color-amber-600)}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\\/30{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\\/30{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-800\\/50{background-color:#1e293980}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\\/50{background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)}}.bg-gray-900{background-color:var(--color-gray-900)}.bg-gray-900\\/30{background-color:#1018284d}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/30{background-color:color-mix(in oklab,var(--color-gray-900)30%,transparent)}}.bg-gray-900\\/95{background-color:#101828f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/95{background-color:color-mix(in oklab,var(--color-gray-900)95%,transparent)}}.bg-gray-950{background-color:var(--color-gray-950)}.bg-gray-950\\/80{background-color:#030712cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/80{background-color:color-mix(in oklab,var(--color-gray-950)80%,transparent)}}.bg-gray-950\\/90{background-color:#030712e6}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/90{background-color:color-mix(in oklab,var(--color-gray-950)90%,transparent)}}.bg-gray-950\\/95{background-color:#030712f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-950\\/95{background-color:color-mix(in oklab,var(--color-gray-950)95%,transparent)}}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-950\\/30{background-color:#4608094d}@supports (color:color-mix(in lab,red,red)){.bg-red-950\\/30{background-color:color-mix(in oklab,var(--color-red-950)30%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)}}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-white\\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-100{--tw-gradient-from:var(--color-gray-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-800{--tw-gradient-from:var(--color-gray-800);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-900{--tw-gradient-from:var(--color-gray-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-indigo-50{--tw-gradient-via:var(--color-indigo-50);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-black{--tw-gradient-to:var(--color-black);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-50{--tw-gradient-to:var(--color-gray-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-50{--tw-gradient-to:var(--color-purple-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-white{--tw-gradient-to:var(--color-white);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.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)}.py-6{padding-block:calc(var(--spacing)*6)}.py-12{padding-block:calc(var(--spacing)*12)}.pt-0{padding-top:calc(var(--spacing)*0)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.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))}.text-\\[8px\\]{font-size:8px}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-400{color:var(--color-amber-400)}.text-amber-600{color:var(--color-amber-600)}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-emerald-600{color:var(--color-emerald-600)}.text-gray-100{color:var(--color-gray-100)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-green-800{color:var(--color-green-800)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-600{color:var(--color-indigo-600)}.text-purple-600{color:var(--color-purple-600)}.text-purple-800{color:var(--color-purple-800)}.text-red-200{color:var(--color-red-200)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-red-900{color:var(--color-red-900)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.uppercase{text-transform:uppercase}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px 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)}.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-\\[0_0_8px_rgba\\(16\\,185\\,129\\,0\\.6\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,#10b98199);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.3\\)\\]{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.12\\)\\]{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0000001f);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)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px 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)}.ring{--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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;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}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\\:text-gray-400::-moz-placeholder{color:var(--color-gray-400)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-gray-500::-moz-placeholder{color:var(--color-gray-500)}.placeholder\\:text-gray-500::placeholder{color:var(--color-gray-500)}.focus-within\\:bg-white:focus-within{background-color:var(--color-white)}@media(hover:hover){.hover\\:-translate-y-0\\.5:hover{--tw-translate-y:calc(var(--spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.hover\\:border-gray-300:hover{border-color:var(--color-gray-300)}.hover\\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-blue-200:hover{background-color:var(--color-blue-200)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\\:bg-green-200:hover{background-color:var(--color-green-200)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-red-950\\/50:hover{background-color:#46080980}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-950\\/50:hover{background-color:color-mix(in oklab,var(--color-red-950)50%,transparent)}}.hover\\:text-blue-800:hover{color:var(--color-blue-800)}.hover\\:text-gray-900:hover{color:var(--color-gray-900)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-90:hover{opacity:.9}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.4\\)\\]:hover{--tw-shadow:0 8px 30px var(--tw-shadow-color,#0006);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-\\[0_8px_30px_rgb\\(0\\,0\\,0\\,0\\.16\\)\\]:hover{--tw-shadow:0 8px 30px var(--tw-shadow-color,#00000029);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-lg:hover{--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)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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)}.hover\\:shadow-indigo-500\\/25:hover{--tw-shadow-color:#625fff40}@supports (color:color-mix(in lab,red,red)){.hover\\:shadow-indigo-500\\/25:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-indigo-500)25%,transparent)var(--tw-shadow-alpha),transparent)}}}.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-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\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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-visible\\:ring-1:focus-visible{--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-visible\\:ring-2:focus-visible{--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-visible\\:ring-offset-2:focus-visible{--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-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\\:text-left{text-align:left}}@media(min-width:48rem){.md\\:inset-12{inset:calc(var(--spacing)*12)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-color-scheme:dark){.dark\\:bg-emerald-500\\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-emerald-500\\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.dark\\:bg-gray-900{background-color:var(--color-gray-900)}.dark\\:text-emerald-400{color:var(--color-emerald-400)}}}.aria-assistant-container{--aria-background:0 0% 100%;--aria-foreground:222 47% 11%;--aria-card:0 0% 100%;--aria-card-foreground:222 47% 11%;--aria-popover:0 0% 100%;--aria-popover-foreground:222 47% 11%;--aria-primary:221 83% 53%;--aria-primary-foreground:0 0% 100%;--aria-secondary:210 40% 96%;--aria-secondary-foreground:215 16% 47%;--aria-muted:210 40% 96%;--aria-muted-foreground:215 16% 47%;--aria-accent:210 40% 96%;--aria-accent-foreground:222 47% 11%;--aria-destructive:0 84% 60%;--aria-destructive-foreground:0 0% 100%;--aria-success:142 72% 29%;--aria-success-foreground:0 0% 100%;--aria-border:214 32% 91%;--aria-input:214 32% 91%;--aria-ring:221 83% 53%;--aria-radius:.5rem;--aria-gradient-from:221 83% 53%;--aria-gradient-to:221 83% 53%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;isolation:isolate;color:hsl(var(--aria-foreground));--background:var(--aria-background);--foreground:var(--aria-foreground);--card:var(--aria-card);--card-foreground:var(--aria-card-foreground);--primary:var(--aria-primary);--primary-foreground:var(--aria-primary-foreground);--secondary:var(--aria-secondary);--secondary-foreground:var(--aria-secondary-foreground);--muted:var(--aria-muted);--muted-foreground:var(--aria-muted-foreground);--accent:var(--aria-accent);--accent-foreground:var(--aria-accent-foreground);--destructive:var(--aria-destructive);--destructive-foreground:var(--aria-destructive-foreground);--success:var(--aria-success);--success-foreground:var(--aria-success-foreground);--border:var(--aria-border);--input:var(--aria-input);--ring:var(--aria-ring);--radius:var(--aria-radius);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.6}.aria-assistant-container *,.aria-assistant-container :before,.aria-assistant-container :after{box-sizing:border-box}.aria-assistant-container.aria-dark{--aria-background:222 47% 4%;--aria-foreground:210 40% 98%;--aria-card:222 47% 6%;--aria-card-foreground:210 40% 98%;--aria-popover:222 47% 6%;--aria-popover-foreground:210 40% 98%;--aria-primary:217 91% 60%;--aria-primary-foreground:0 0% 100%;--aria-secondary:217 33% 17%;--aria-secondary-foreground:210 40% 98%;--aria-muted:217 33% 17%;--aria-muted-foreground:215 20% 65%;--aria-accent:217 33% 17%;--aria-accent-foreground:210 40% 98%;--aria-destructive:0 84% 60%;--aria-destructive-foreground:0 0% 100%;--aria-success:142 71% 45%;--aria-success-foreground:0 0% 100%;--aria-border:217 33% 17%;--aria-input:217 33% 17%;--aria-ring:217 91% 60%;--aria-gradient-from:217 91% 60%;--aria-gradient-to:217 91% 60%;--background:var(--aria-background);--foreground:var(--aria-foreground);--card:var(--aria-card);--card-foreground:var(--aria-card-foreground);--primary:var(--aria-primary);--primary-foreground:var(--aria-primary-foreground);--secondary:var(--aria-secondary);--secondary-foreground:var(--aria-secondary-foreground);--muted:var(--aria-muted);--muted-foreground:var(--aria-muted-foreground);--accent:var(--aria-accent);--accent-foreground:var(--aria-accent-foreground);--destructive:var(--aria-destructive);--destructive-foreground:var(--aria-destructive-foreground);--success:var(--aria-success);--success-foreground:var(--aria-success-foreground);--border:var(--aria-border);--input:var(--aria-input);--ring:var(--aria-ring)}@keyframes aria-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes aria-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes aria-slide-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes aria-pulse-ring{0%,to{box-shadow:0 0 hsl(var(--aria-primary)/.4)}50%{box-shadow:0 0 0 8px hsl(var(--aria-primary)/0)}}@keyframes aria-gradient-shift{0%,to{background-position:0%}50%{background-position:100%}}@keyframes aria-pulse-dot{0%{opacity:.5;transform:scale(.95)}50%{opacity:1;transform:scale(1.05)}to{opacity:.5;transform:scale(.95)}}.aria-assistant-container .aria-animate-pulse-dot{animation:2s ease-in-out infinite aria-pulse-dot}.aria-assistant-container .aria-animate-fade-in{animation:.3s ease-out forwards aria-fade-in}.aria-assistant-container .aria-animate-scale-in{animation:.2s ease-out forwards aria-scale-in}.aria-assistant-container .aria-animate-slide-up{animation:.4s ease-out forwards aria-slide-up}.aria-assistant-container .aria-animate-pulse-ring{animation:2s ease-in-out infinite aria-pulse-ring}.aria-assistant-container .aria-glass{background:hsl(var(--aria-background)/.8);-webkit-backdrop-filter:blur(12px)saturate(180%)}.aria-assistant-container.aria-dark .aria-glass{background:hsl(var(--aria-background)/.75);-webkit-backdrop-filter:blur(16px)saturate(180%)}.aria-assistant-container .aria-gradient-text{background:linear-gradient(135deg,hsl(var(--aria-gradient-from)),hsl(var(--aria-gradient-to)));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.aria-assistant-container .aria-gradient-bg{background:linear-gradient(135deg,hsl(var(--aria-gradient-from)),hsl(var(--aria-gradient-to)))}.aria-assistant-container ::-webkit-scrollbar{width:6px;height:6px}.aria-assistant-container ::-webkit-scrollbar-track{background:0 0}.aria-assistant-container ::-webkit-scrollbar-thumb{background:hsl(var(--aria-border));border-radius:3px}.aria-assistant-container ::-webkit-scrollbar-thumb:hover{background:hsl(var(--aria-muted-foreground)/.5)}.aria-assistant-container .aria-focus-ring:focus-visible{box-shadow:0 0 0 2px hsl(var(--aria-ring)/.2);outline:none}@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-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{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-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-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}';
|
|
6067
|
+
function bt() {
|
|
6068
|
+
return nr;
|
|
6069
6069
|
}
|
|
6070
|
-
const pn =
|
|
6070
|
+
const pn = nr, Hi = ({
|
|
6071
6071
|
label: i,
|
|
6072
6072
|
showIcon: r = !0,
|
|
6073
6073
|
showAvatar: n = !1,
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6074
|
+
onTrigger: a,
|
|
6075
|
+
variant: d = "default",
|
|
6076
|
+
size: h = "default",
|
|
6077
|
+
className: c,
|
|
6078
|
+
...l
|
|
6078
6079
|
}) => {
|
|
6079
|
-
const { openAssistant:
|
|
6080
|
-
return
|
|
6081
|
-
|
|
6080
|
+
const { openAssistant: m, triggerSession: w, config: f, displayMode: u, isOpen: A, theme: b } = Xe(), x = i || f.triggerLabel || "AI Assistant", S = b === "dark";
|
|
6081
|
+
return u === "bottom-right" ? A ? null : /* @__PURE__ */ v(
|
|
6082
|
+
wt,
|
|
6082
6083
|
{
|
|
6083
|
-
styles:
|
|
6084
|
+
styles: bt(),
|
|
6084
6085
|
style: {
|
|
6085
6086
|
position: "fixed",
|
|
6086
6087
|
bottom: "1.5rem",
|
|
6087
6088
|
right: "1.5rem",
|
|
6088
6089
|
zIndex: 9997
|
|
6089
6090
|
},
|
|
6090
|
-
children: /* @__PURE__ */ v("div", { className: E("aria-assistant-container",
|
|
6091
|
+
children: /* @__PURE__ */ v("div", { className: E("aria-assistant-container", S && "aria-dark"), children: /* @__PURE__ */ D(
|
|
6091
6092
|
"button",
|
|
6092
6093
|
{
|
|
6093
|
-
onClick: (
|
|
6094
|
-
|
|
6094
|
+
onClick: (T) => {
|
|
6095
|
+
T.preventDefault(), w({ userTrigger: !0 }), m("user"), a?.();
|
|
6095
6096
|
},
|
|
6096
6097
|
className: E(
|
|
6097
6098
|
"group relative flex items-center gap-3 px-3.5 py-2.5 rounded-xl",
|
|
@@ -6099,34 +6100,34 @@ const pn = ir, Hi = ({
|
|
|
6099
6100
|
"aria-animate-slide-up",
|
|
6100
6101
|
"border-none outline-none",
|
|
6101
6102
|
// Light mode styling
|
|
6102
|
-
!
|
|
6103
|
+
!S && [
|
|
6103
6104
|
"bg-white shadow-[0_8px_30px_rgb(0,0,0,0.12)]",
|
|
6104
6105
|
"hover:bg-gray-50 hover:shadow-[0_8px_30px_rgb(0,0,0,0.16)] hover:-translate-y-0.5"
|
|
6105
6106
|
],
|
|
6106
6107
|
// Dark mode styling
|
|
6107
|
-
|
|
6108
|
+
S && [
|
|
6108
6109
|
"bg-gray-900 shadow-[0_8px_30px_rgb(0,0,0,0.3)]",
|
|
6109
6110
|
"hover:bg-gray-850 hover:shadow-[0_8px_30px_rgb(0,0,0,0.4)] hover:-translate-y-0.5"
|
|
6110
6111
|
],
|
|
6111
|
-
|
|
6112
|
+
c
|
|
6112
6113
|
),
|
|
6113
|
-
...
|
|
6114
|
+
...l,
|
|
6114
6115
|
children: [
|
|
6115
6116
|
n ? /* @__PURE__ */ D("div", { className: E(
|
|
6116
6117
|
"relative w-9 h-9 rounded-lg overflow-hidden shrink-0",
|
|
6117
6118
|
"shadow-sm transition-all duration-200",
|
|
6118
|
-
|
|
6119
|
+
S ? "bg-gray-800" : "bg-gray-100"
|
|
6119
6120
|
), children: [
|
|
6120
6121
|
/* @__PURE__ */ v(
|
|
6121
6122
|
"img",
|
|
6122
6123
|
{
|
|
6123
6124
|
src: "/aria-image.png",
|
|
6124
|
-
alt:
|
|
6125
|
+
alt: x,
|
|
6125
6126
|
className: "w-full h-full object-cover",
|
|
6126
|
-
onError: (
|
|
6127
|
-
|
|
6128
|
-
const
|
|
6129
|
-
|
|
6127
|
+
onError: (T) => {
|
|
6128
|
+
T.currentTarget.style.display = "none";
|
|
6129
|
+
const N = T.currentTarget.nextElementSibling;
|
|
6130
|
+
N && (N.style.display = "flex");
|
|
6130
6131
|
}
|
|
6131
6132
|
}
|
|
6132
6133
|
),
|
|
@@ -6134,27 +6135,27 @@ const pn = ir, Hi = ({
|
|
|
6134
6135
|
"div",
|
|
6135
6136
|
{
|
|
6136
6137
|
className: "hidden w-full h-full items-center justify-center aria-gradient-bg text-white",
|
|
6137
|
-
children: /* @__PURE__ */ v(
|
|
6138
|
+
children: /* @__PURE__ */ v(pt, { className: "w-4 h-4" })
|
|
6138
6139
|
}
|
|
6139
6140
|
),
|
|
6140
6141
|
/* @__PURE__ */ v("span", { className: E(
|
|
6141
6142
|
"absolute bottom-0 right-0 w-2.5 h-2.5 rounded-full border-2",
|
|
6142
|
-
|
|
6143
|
+
S ? "border-gray-900" : "border-white",
|
|
6143
6144
|
"bg-emerald-500"
|
|
6144
6145
|
) })
|
|
6145
6146
|
] }) : /* @__PURE__ */ v("div", { className: E(
|
|
6146
6147
|
"relative w-9 h-9 rounded-lg flex items-center justify-center shrink-0",
|
|
6147
6148
|
"aria-gradient-bg text-white shadow-sm",
|
|
6148
6149
|
"transition-transform duration-200 group-hover:scale-105"
|
|
6149
|
-
), children: /* @__PURE__ */ v(
|
|
6150
|
+
), children: /* @__PURE__ */ v(pt, { className: "w-4 h-4" }) }),
|
|
6150
6151
|
/* @__PURE__ */ D("div", { className: "relative flex flex-col items-start min-w-0 text-left", children: [
|
|
6151
6152
|
/* @__PURE__ */ v("span", { className: E(
|
|
6152
6153
|
"font-bold text-[13px] tracking-tight leading-none",
|
|
6153
|
-
|
|
6154
|
-
), children:
|
|
6154
|
+
S ? "text-white" : "text-gray-900"
|
|
6155
|
+
), children: x }),
|
|
6155
6156
|
/* @__PURE__ */ v("span", { className: E(
|
|
6156
6157
|
"text-[10px] font-medium mt-1 leading-none opacity-70",
|
|
6157
|
-
|
|
6158
|
+
S ? "text-gray-400" : "text-gray-500"
|
|
6158
6159
|
), children: "Assistant" })
|
|
6159
6160
|
] })
|
|
6160
6161
|
]
|
|
@@ -6162,38 +6163,40 @@ const pn = ir, Hi = ({
|
|
|
6162
6163
|
) })
|
|
6163
6164
|
}
|
|
6164
6165
|
) : /* @__PURE__ */ v(
|
|
6165
|
-
|
|
6166
|
+
wt,
|
|
6166
6167
|
{
|
|
6167
|
-
styles:
|
|
6168
|
+
styles: bt(),
|
|
6168
6169
|
style: { display: "inline-block" },
|
|
6169
|
-
children: /* @__PURE__ */ v("div", { className: E("aria-assistant-container",
|
|
6170
|
-
|
|
6170
|
+
children: /* @__PURE__ */ v("div", { className: E("aria-assistant-container", S && "aria-dark"), children: /* @__PURE__ */ D(
|
|
6171
|
+
Ue,
|
|
6171
6172
|
{
|
|
6172
|
-
onClick: () =>
|
|
6173
|
-
|
|
6174
|
-
|
|
6173
|
+
onClick: () => {
|
|
6174
|
+
w({ userTrigger: !0 }), m("user"), a?.();
|
|
6175
|
+
},
|
|
6176
|
+
variant: d === "default" ? "gradient" : d,
|
|
6177
|
+
size: h,
|
|
6175
6178
|
className: E(
|
|
6176
6179
|
"shadow-md hover:shadow-lg",
|
|
6177
|
-
|
|
6180
|
+
c
|
|
6178
6181
|
),
|
|
6179
|
-
...
|
|
6182
|
+
...l,
|
|
6180
6183
|
children: [
|
|
6181
6184
|
r && /* @__PURE__ */ v(br, { className: "h-4 w-4" }),
|
|
6182
|
-
|
|
6185
|
+
x
|
|
6183
6186
|
]
|
|
6184
6187
|
}
|
|
6185
6188
|
) })
|
|
6186
6189
|
}
|
|
6187
6190
|
);
|
|
6188
|
-
},
|
|
6191
|
+
}, Ji = ({
|
|
6189
6192
|
showTrigger: i = !0,
|
|
6190
6193
|
showAvatar: r = !0,
|
|
6191
6194
|
triggerLabel: n
|
|
6192
6195
|
}) => {
|
|
6193
|
-
const { isOpen: a, closeAssistant: d } =
|
|
6194
|
-
return /* @__PURE__ */ D(
|
|
6196
|
+
const { isOpen: a, closeAssistant: d } = Xe();
|
|
6197
|
+
return /* @__PURE__ */ D(ht, { children: [
|
|
6195
6198
|
i && /* @__PURE__ */ v(Hi, { showAvatar: r, label: n }),
|
|
6196
|
-
a && /* @__PURE__ */ D(
|
|
6199
|
+
a && /* @__PURE__ */ D(ht, { children: [
|
|
6197
6200
|
/* @__PURE__ */ v(
|
|
6198
6201
|
"div",
|
|
6199
6202
|
{
|
|
@@ -6210,9 +6213,9 @@ const pn = ir, Hi = ({
|
|
|
6210
6213
|
}
|
|
6211
6214
|
),
|
|
6212
6215
|
/* @__PURE__ */ v(
|
|
6213
|
-
|
|
6216
|
+
wt,
|
|
6214
6217
|
{
|
|
6215
|
-
styles:
|
|
6218
|
+
styles: bt(),
|
|
6216
6219
|
style: {
|
|
6217
6220
|
position: "fixed",
|
|
6218
6221
|
zIndex: 9999,
|
|
@@ -6226,7 +6229,7 @@ const pn = ir, Hi = ({
|
|
|
6226
6229
|
] })
|
|
6227
6230
|
] });
|
|
6228
6231
|
};
|
|
6229
|
-
function
|
|
6232
|
+
function qi(i) {
|
|
6230
6233
|
return typeof i == "object" && i !== null && "status" in i && (i.status === "success" || i.status === "error") && !("type" in i);
|
|
6231
6234
|
}
|
|
6232
6235
|
function Yi(i) {
|
|
@@ -6251,13 +6254,13 @@ function tn(i) {
|
|
|
6251
6254
|
return typeof i == "object" && i !== null && "status" in i && i.status === "error" && "error" in i && i.error === "MISSING_FIELDS";
|
|
6252
6255
|
}
|
|
6253
6256
|
const gn = ({ config: i, children: r }) => {
|
|
6254
|
-
const [n, a] =
|
|
6257
|
+
const [n, a] = se(!1), [d, h] = se(!1), [c, l] = se(!1), [m, w] = se([]), [f, u] = se(""), [A, b] = se(!1), [x, S] = se(!1), [T, N] = se(null), [z, j] = se("user"), [H, F] = se("bottom-right"), [G, oe] = se({
|
|
6255
6258
|
session_id: null,
|
|
6256
6259
|
token: null,
|
|
6257
6260
|
expires_at: null,
|
|
6258
6261
|
isSessionReady: !1,
|
|
6259
6262
|
lastError: null
|
|
6260
|
-
}),
|
|
6263
|
+
}), O = i.theme || "light", $ = _e(null), V = _e(null), Ge = _e("aria-video-element"), be = _e(null), Ae = _e([]), ve = _e(!1), he = de((I) => {
|
|
6261
6264
|
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
6262
6265
|
console.warn("WebSocket not connected, cannot send message history");
|
|
6263
6266
|
return;
|
|
@@ -6266,21 +6269,21 @@ const gn = ({ config: i, children: r }) => {
|
|
|
6266
6269
|
console.warn("Missing session_id or user_id, cannot send message history");
|
|
6267
6270
|
return;
|
|
6268
6271
|
}
|
|
6269
|
-
if (JSON.stringify(
|
|
6272
|
+
if (JSON.stringify(I) === JSON.stringify(Ae.current))
|
|
6270
6273
|
return;
|
|
6271
|
-
|
|
6272
|
-
const
|
|
6274
|
+
Ae.current = I;
|
|
6275
|
+
const M = {
|
|
6273
6276
|
type: "message_history",
|
|
6274
6277
|
session_id: G.session_id,
|
|
6275
6278
|
user_id: i.userId,
|
|
6276
|
-
messages:
|
|
6279
|
+
messages: I
|
|
6277
6280
|
};
|
|
6278
6281
|
try {
|
|
6279
|
-
V.current.send(JSON.stringify(
|
|
6280
|
-
} catch (
|
|
6281
|
-
console.error("Failed to send message history:",
|
|
6282
|
+
V.current.send(JSON.stringify(M)), console.log("Sent message history:", I.length, "messages");
|
|
6283
|
+
} catch (B) {
|
|
6284
|
+
console.error("Failed to send message history:", B);
|
|
6282
6285
|
}
|
|
6283
|
-
}, [G.session_id, i.userId]),
|
|
6286
|
+
}, [G.session_id, i.userId]), le = de((I, M) => {
|
|
6284
6287
|
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
6285
6288
|
console.warn("WebSocket not connected, cannot send message stream");
|
|
6286
6289
|
return;
|
|
@@ -6289,79 +6292,79 @@ const gn = ({ config: i, children: r }) => {
|
|
|
6289
6292
|
console.warn("Missing session_id or user_id, cannot send message stream");
|
|
6290
6293
|
return;
|
|
6291
6294
|
}
|
|
6292
|
-
const
|
|
6295
|
+
const B = {
|
|
6293
6296
|
type: "message_stream",
|
|
6294
6297
|
session_id: G.session_id,
|
|
6295
6298
|
user_id: i.userId,
|
|
6296
6299
|
message: {
|
|
6297
|
-
...
|
|
6298
|
-
is_final:
|
|
6300
|
+
...I,
|
|
6301
|
+
is_final: M
|
|
6299
6302
|
}
|
|
6300
6303
|
};
|
|
6301
6304
|
try {
|
|
6302
|
-
V.current.send(JSON.stringify(
|
|
6303
|
-
} catch (
|
|
6304
|
-
console.error("Failed to send message stream:",
|
|
6305
|
+
V.current.send(JSON.stringify(B)), M && console.log("Sent final message stream:", I.role);
|
|
6306
|
+
} catch (_) {
|
|
6307
|
+
console.error("Failed to send message stream:", _);
|
|
6305
6308
|
}
|
|
6306
|
-
}, [G.session_id, i.userId]),
|
|
6309
|
+
}, [G.session_id, i.userId]), ce = de(async (I) => {
|
|
6307
6310
|
if (!($.current || c)) {
|
|
6308
6311
|
l(!0);
|
|
6309
6312
|
try {
|
|
6310
|
-
const { createClient:
|
|
6311
|
-
|
|
6313
|
+
const { createClient: M } = await import("./index-TbsycHlN.js"), B = M(I);
|
|
6314
|
+
B.addListener(P.SESSION_READY, () => {
|
|
6312
6315
|
h(!0), l(!1), i.onSessionReady?.(), i.onConnectionStateChange?.(!0);
|
|
6313
|
-
}),
|
|
6316
|
+
}), B.addListener(P.CONNECTION_CLOSED, () => {
|
|
6314
6317
|
h(!1), i.onConnectionStateChange?.(!1);
|
|
6315
|
-
}),
|
|
6316
|
-
const
|
|
6317
|
-
role:
|
|
6318
|
-
content:
|
|
6318
|
+
}), B.addListener(P.MESSAGE_HISTORY_UPDATED, (_) => {
|
|
6319
|
+
const Se = _.map((ke) => ({
|
|
6320
|
+
role: ke.role,
|
|
6321
|
+
content: ke.content,
|
|
6319
6322
|
timestamp: Date.now()
|
|
6320
6323
|
}));
|
|
6321
|
-
|
|
6322
|
-
const
|
|
6323
|
-
role:
|
|
6324
|
-
content:
|
|
6324
|
+
w(Se);
|
|
6325
|
+
const qe = _.map((ke) => ({
|
|
6326
|
+
role: ke.role,
|
|
6327
|
+
content: ke.content,
|
|
6325
6328
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
6326
6329
|
}));
|
|
6327
|
-
|
|
6328
|
-
}),
|
|
6329
|
-
|
|
6330
|
-
const
|
|
6331
|
-
role:
|
|
6332
|
-
content:
|
|
6330
|
+
he(qe);
|
|
6331
|
+
}), B.addListener(P.MESSAGE_STREAM_EVENT_RECEIVED, (_) => {
|
|
6332
|
+
_.role === "persona" ? u((ke) => ke + _.content) : _.role === "user" && u("");
|
|
6333
|
+
const Se = {
|
|
6334
|
+
role: _.role,
|
|
6335
|
+
content: _.content,
|
|
6333
6336
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
6334
|
-
},
|
|
6335
|
-
|
|
6336
|
-
}), $.current =
|
|
6337
|
-
} catch (
|
|
6338
|
-
const
|
|
6339
|
-
N(
|
|
6337
|
+
}, qe = _.is_final ?? !1;
|
|
6338
|
+
le(Se, qe);
|
|
6339
|
+
}), $.current = B, await B.streamToVideoElement(Ge.current);
|
|
6340
|
+
} catch (M) {
|
|
6341
|
+
const B = M instanceof Error ? M.message : "Failed to initialize Anam client";
|
|
6342
|
+
N(B), l(!1), i.onError?.(M instanceof Error ? M : new Error(B));
|
|
6340
6343
|
}
|
|
6341
6344
|
}
|
|
6342
|
-
}, [i, c,
|
|
6343
|
-
if (
|
|
6344
|
-
console.log("Session response:",
|
|
6345
|
-
session_id:
|
|
6346
|
-
token:
|
|
6347
|
-
expires_at:
|
|
6345
|
+
}, [i, c, he, le]), R = de((I) => {
|
|
6346
|
+
if (I.status === "success")
|
|
6347
|
+
console.log("Session response:", I.message), I.session_data ? (oe({
|
|
6348
|
+
session_id: I.session_data.session_id,
|
|
6349
|
+
token: I.session_data.token,
|
|
6350
|
+
expires_at: I.session_data.expires_at,
|
|
6348
6351
|
isSessionReady: !0,
|
|
6349
6352
|
lastError: null
|
|
6350
|
-
}),
|
|
6351
|
-
...
|
|
6353
|
+
}), ce(I.session_data.token)) : (console.log("Session not triggered:", I.message), oe((M) => ({
|
|
6354
|
+
...M,
|
|
6352
6355
|
isSessionReady: !1,
|
|
6353
6356
|
lastError: null
|
|
6354
6357
|
})));
|
|
6355
6358
|
else {
|
|
6356
|
-
console.error("Session error:",
|
|
6357
|
-
const
|
|
6358
|
-
|
|
6359
|
-
...
|
|
6359
|
+
console.error("Session error:", I.message, I.error);
|
|
6360
|
+
const M = `${I.error}: ${I.message}`;
|
|
6361
|
+
oe((B) => ({
|
|
6362
|
+
...B,
|
|
6360
6363
|
isSessionReady: !1,
|
|
6361
|
-
lastError:
|
|
6362
|
-
})), N(
|
|
6364
|
+
lastError: M
|
|
6365
|
+
})), N(M), i.onError?.(new Error(M));
|
|
6363
6366
|
}
|
|
6364
|
-
}, [i,
|
|
6367
|
+
}, [i, ce]), ye = de(() => {
|
|
6365
6368
|
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
6366
6369
|
console.warn("WebSocket not connected, cannot send session end");
|
|
6367
6370
|
return;
|
|
@@ -6370,86 +6373,90 @@ const gn = ({ config: i, children: r }) => {
|
|
|
6370
6373
|
console.warn("Missing session_id or user_id, cannot send session end");
|
|
6371
6374
|
return;
|
|
6372
6375
|
}
|
|
6373
|
-
const
|
|
6376
|
+
const I = {
|
|
6374
6377
|
type: "session_end",
|
|
6375
6378
|
session_id: G.session_id,
|
|
6376
6379
|
user_id: i.userId
|
|
6377
6380
|
};
|
|
6378
6381
|
try {
|
|
6379
|
-
V.current.send(JSON.stringify(
|
|
6380
|
-
} catch (
|
|
6381
|
-
console.error("Failed to send session end:",
|
|
6382
|
+
V.current.send(JSON.stringify(I)), console.log("Sent session end event");
|
|
6383
|
+
} catch (M) {
|
|
6384
|
+
console.error("Failed to send session end:", M);
|
|
6382
6385
|
}
|
|
6383
|
-
}, [G.session_id, i.userId]),
|
|
6386
|
+
}, [G.session_id, i.userId]), Ee = de(() => {
|
|
6384
6387
|
if (V.current?.readyState === WebSocket.OPEN) {
|
|
6385
6388
|
console.log("WebSocket already connected");
|
|
6386
6389
|
return;
|
|
6387
6390
|
}
|
|
6388
6391
|
try {
|
|
6389
|
-
const
|
|
6390
|
-
V.current =
|
|
6391
|
-
console.log("WebSocket connected"), i.onConnectionStateChange?.(!0)
|
|
6392
|
-
|
|
6392
|
+
const I = new WebSocket(i.websocketUrl);
|
|
6393
|
+
V.current = I, I.onopen = () => {
|
|
6394
|
+
if (console.log("WebSocket connected"), i.onConnectionStateChange?.(!0), i.autoTriggerOnMount && !ve.current) {
|
|
6395
|
+
ve.current = !0;
|
|
6396
|
+
const M = JSON.stringify({ user_trigger: !1 });
|
|
6397
|
+
I.send(M), console.log("Auto-triggered session on mount (user_trigger=false)");
|
|
6398
|
+
}
|
|
6399
|
+
}, I.onmessage = (M) => {
|
|
6393
6400
|
try {
|
|
6394
|
-
const
|
|
6395
|
-
if (
|
|
6396
|
-
|
|
6401
|
+
const B = M.data, _ = JSON.parse(B);
|
|
6402
|
+
if (qi(_)) {
|
|
6403
|
+
R(_);
|
|
6397
6404
|
return;
|
|
6398
6405
|
}
|
|
6399
|
-
if (Yi(
|
|
6400
|
-
console.log(`Message history acknowledged: ${
|
|
6406
|
+
if (Yi(_)) {
|
|
6407
|
+
console.log(`Message history acknowledged: ${_.message_count} messages`), i.onMessageHistoryAck?.(_.message_count);
|
|
6401
6408
|
return;
|
|
6402
6409
|
}
|
|
6403
|
-
if (Ki(
|
|
6410
|
+
if (Ki(_)) {
|
|
6404
6411
|
console.log("Message stream acknowledged"), i.onMessageStreamAck?.();
|
|
6405
6412
|
return;
|
|
6406
6413
|
}
|
|
6407
|
-
if (Xi(
|
|
6408
|
-
console.log(`Session end acknowledged: ${
|
|
6414
|
+
if (Xi(_)) {
|
|
6415
|
+
console.log(`Session end acknowledged: ${_.message}. Saved: ${_.saved_count} messages`), i.onSessionEndAck?.(_.saved_count);
|
|
6409
6416
|
return;
|
|
6410
6417
|
}
|
|
6411
|
-
if (Zi(
|
|
6412
|
-
console.error(`Session end error: ${
|
|
6418
|
+
if (Zi(_)) {
|
|
6419
|
+
console.error(`Session end error: ${_.message}`), N(_.message), i.onSessionEndError?.(_.message, _.error), i.onError?.(new Error(`Session end failed: ${_.error} - ${_.message}`));
|
|
6413
6420
|
return;
|
|
6414
6421
|
}
|
|
6415
|
-
if (tn(
|
|
6416
|
-
console.error(`Missing fields error: ${
|
|
6422
|
+
if (tn(_)) {
|
|
6423
|
+
console.error(`Missing fields error: ${_.message}`), N(_.message), i.onError?.(new Error(_.message));
|
|
6417
6424
|
return;
|
|
6418
6425
|
}
|
|
6419
|
-
if (Qi(
|
|
6420
|
-
console.log("WebSocket trigger event received:",
|
|
6426
|
+
if (Qi(_)) {
|
|
6427
|
+
console.log("WebSocket trigger event received:", _.data), i.onWebSocketEvent?.(_), be.current?.("websocket");
|
|
6421
6428
|
return;
|
|
6422
6429
|
}
|
|
6423
|
-
if (en(
|
|
6424
|
-
console.log(`Generic acknowledgment: ${
|
|
6430
|
+
if (en(_)) {
|
|
6431
|
+
console.log(`Generic acknowledgment: ${_.message}`);
|
|
6425
6432
|
return;
|
|
6426
6433
|
}
|
|
6427
|
-
if (typeof
|
|
6428
|
-
console.warn("Received legacy session_token format, converting to new format"),
|
|
6434
|
+
if (typeof _ == "object" && _ !== null && "type" in _ && _.type === "session_token" && "sessionToken" in _ && typeof _.sessionToken == "string") {
|
|
6435
|
+
console.warn("Received legacy session_token format, converting to new format"), R({
|
|
6429
6436
|
status: "success",
|
|
6430
6437
|
message: "Session created successfully (legacy format)",
|
|
6431
6438
|
session_data: {
|
|
6432
6439
|
session_id: "legacy",
|
|
6433
|
-
token:
|
|
6440
|
+
token: _.sessionToken,
|
|
6434
6441
|
expires_at: new Date(Date.now() + 36e5).toISOString()
|
|
6435
6442
|
},
|
|
6436
6443
|
time_taken: 0
|
|
6437
6444
|
});
|
|
6438
6445
|
return;
|
|
6439
6446
|
}
|
|
6440
|
-
console.warn("Received unknown message type:",
|
|
6441
|
-
} catch (
|
|
6442
|
-
if (
|
|
6443
|
-
console.error("Failed to parse WebSocket message as JSON:",
|
|
6447
|
+
console.warn("Received unknown message type:", _);
|
|
6448
|
+
} catch (B) {
|
|
6449
|
+
if (B instanceof SyntaxError)
|
|
6450
|
+
console.error("Failed to parse WebSocket message as JSON:", M.data), N("Received invalid JSON from server"), i.onError?.(new Error("Invalid JSON received from WebSocket"));
|
|
6444
6451
|
else {
|
|
6445
|
-
const
|
|
6446
|
-
console.error("Error handling WebSocket message:",
|
|
6452
|
+
const _ = B instanceof Error ? B.message : "Unknown error";
|
|
6453
|
+
console.error("Error handling WebSocket message:", _), N(_), i.onError?.(B instanceof Error ? B : new Error(_));
|
|
6447
6454
|
}
|
|
6448
6455
|
}
|
|
6449
|
-
},
|
|
6450
|
-
console.error("WebSocket error:",
|
|
6451
|
-
},
|
|
6452
|
-
console.log("WebSocket disconnected"), i.onConnectionStateChange?.(!1),
|
|
6456
|
+
}, I.onerror = (M) => {
|
|
6457
|
+
console.error("WebSocket error:", M), N("WebSocket connection error"), i.onError?.(new Error("WebSocket connection failed"));
|
|
6458
|
+
}, I.onclose = () => {
|
|
6459
|
+
console.log("WebSocket disconnected"), i.onConnectionStateChange?.(!1), oe({
|
|
6453
6460
|
session_id: null,
|
|
6454
6461
|
token: null,
|
|
6455
6462
|
expires_at: null,
|
|
@@ -6457,59 +6464,60 @@ const gn = ({ config: i, children: r }) => {
|
|
|
6457
6464
|
lastError: null
|
|
6458
6465
|
});
|
|
6459
6466
|
};
|
|
6460
|
-
} catch (
|
|
6461
|
-
const
|
|
6462
|
-
N(
|
|
6467
|
+
} catch (I) {
|
|
6468
|
+
const M = I instanceof Error ? I.message : "Failed to connect WebSocket";
|
|
6469
|
+
N(M), i.onError?.(I instanceof Error ? I : new Error(M));
|
|
6463
6470
|
}
|
|
6464
|
-
}, [i,
|
|
6471
|
+
}, [i, R]), q = de((I) => {
|
|
6465
6472
|
if (!V.current || V.current.readyState !== WebSocket.OPEN) {
|
|
6466
6473
|
console.error("WebSocket not connected"), N("WebSocket not connected. Please connect first.");
|
|
6467
6474
|
return;
|
|
6468
6475
|
}
|
|
6476
|
+
const M = I?.userTrigger ?? !0;
|
|
6469
6477
|
try {
|
|
6470
|
-
const
|
|
6471
|
-
V.current.send(
|
|
6472
|
-
} catch (
|
|
6473
|
-
const
|
|
6474
|
-
N(
|
|
6478
|
+
const B = JSON.stringify({ user_trigger: M });
|
|
6479
|
+
V.current.send(B), console.log(`Sent user_trigger message: user_trigger=${M}`), M && i.userId && i.onManualTrigger?.(i.userId);
|
|
6480
|
+
} catch (B) {
|
|
6481
|
+
const _ = B instanceof Error ? B.message : "Failed to trigger session";
|
|
6482
|
+
N(_), i.onError?.(B instanceof Error ? B : new Error(_));
|
|
6475
6483
|
}
|
|
6476
|
-
}, [i]),
|
|
6477
|
-
(!V.current || V.current.readyState !== WebSocket.OPEN) &&
|
|
6478
|
-
}, [
|
|
6484
|
+
}, [i]), K = de(async () => {
|
|
6485
|
+
(!V.current || V.current.readyState !== WebSocket.OPEN) && Ee(), G.isSessionReady && G.token && !$.current && await ce(G.token);
|
|
6486
|
+
}, [Ee, ce, G]), X = de(async () => {
|
|
6479
6487
|
if ($.current)
|
|
6480
6488
|
try {
|
|
6481
|
-
|
|
6482
|
-
} catch (
|
|
6483
|
-
const
|
|
6484
|
-
N(
|
|
6489
|
+
ye(), await $.current.stopStreaming(), $.current = null, h(!1), w([]), u(""), Ae.current = [], i.onConnectionStateChange?.(!1);
|
|
6490
|
+
} catch (I) {
|
|
6491
|
+
const M = I instanceof Error ? I.message : "Failed to stop session";
|
|
6492
|
+
N(M), i.onError?.(I instanceof Error ? I : new Error(M));
|
|
6485
6493
|
}
|
|
6486
|
-
}, [i,
|
|
6487
|
-
j(
|
|
6488
|
-
}, [
|
|
6489
|
-
|
|
6490
|
-
be.current =
|
|
6491
|
-
}, [
|
|
6492
|
-
const
|
|
6493
|
-
a(!1),
|
|
6494
|
-
}, [
|
|
6495
|
-
|
|
6496
|
-
}, []),
|
|
6494
|
+
}, [i, ye]), ee = de((I = "user") => {
|
|
6495
|
+
j(I), F(I === "websocket" ? "center" : "bottom-right"), a(!0), !$.current && !c && K();
|
|
6496
|
+
}, [K, c]);
|
|
6497
|
+
Pe(() => {
|
|
6498
|
+
be.current = ee;
|
|
6499
|
+
}, [ee]);
|
|
6500
|
+
const xe = de(() => {
|
|
6501
|
+
a(!1), X();
|
|
6502
|
+
}, [X]), Le = de(() => {
|
|
6503
|
+
b((I) => !I);
|
|
6504
|
+
}, []), Y = de(async (I) => {
|
|
6497
6505
|
if (!$.current || !d)
|
|
6498
6506
|
throw new Error("Not connected to Aria");
|
|
6499
6507
|
try {
|
|
6500
|
-
await $.current.talk(
|
|
6501
|
-
} catch (
|
|
6502
|
-
const
|
|
6503
|
-
throw N(
|
|
6508
|
+
await $.current.talk(I);
|
|
6509
|
+
} catch (M) {
|
|
6510
|
+
const B = M instanceof Error ? M.message : "Failed to send message";
|
|
6511
|
+
throw N(B), i.onError?.(M instanceof Error ? M : new Error(B)), M;
|
|
6504
6512
|
}
|
|
6505
|
-
}, [d, i]),
|
|
6513
|
+
}, [d, i]), pe = de(() => {
|
|
6506
6514
|
if (!$.current) return;
|
|
6507
6515
|
$.current.getInputAudioState().isMuted ? ($.current.unmuteInputAudio(), S(!1)) : ($.current.muteInputAudio(), S(!0));
|
|
6508
6516
|
}, []);
|
|
6509
|
-
|
|
6510
|
-
G.session_id && i.userId &&
|
|
6511
|
-
}), [
|
|
6512
|
-
const
|
|
6517
|
+
Pe(() => (Ee(), () => {
|
|
6518
|
+
G.session_id && i.userId && ye(), $.current && $.current.stopStreaming(), V.current && V.current.close();
|
|
6519
|
+
}), [Ee, G.session_id, i.userId, ye]);
|
|
6520
|
+
const fe = {
|
|
6513
6521
|
isOpen: n,
|
|
6514
6522
|
isConnected: d,
|
|
6515
6523
|
isLoading: c,
|
|
@@ -6517,25 +6525,25 @@ const gn = ({ config: i, children: r }) => {
|
|
|
6517
6525
|
liveTranscript: f,
|
|
6518
6526
|
isChatVisible: A,
|
|
6519
6527
|
isMuted: x,
|
|
6520
|
-
error:
|
|
6528
|
+
error: T,
|
|
6521
6529
|
sessionState: G,
|
|
6522
|
-
openAssistant:
|
|
6523
|
-
closeAssistant:
|
|
6524
|
-
toggleChat:
|
|
6525
|
-
sendMessage:
|
|
6526
|
-
toggleMute:
|
|
6527
|
-
startSession:
|
|
6528
|
-
stopSession:
|
|
6529
|
-
triggerSession:
|
|
6530
|
+
openAssistant: ee,
|
|
6531
|
+
closeAssistant: xe,
|
|
6532
|
+
toggleChat: Le,
|
|
6533
|
+
sendMessage: Y,
|
|
6534
|
+
toggleMute: pe,
|
|
6535
|
+
startSession: K,
|
|
6536
|
+
stopSession: X,
|
|
6537
|
+
triggerSession: q,
|
|
6530
6538
|
displayMode: H,
|
|
6531
6539
|
triggerMode: z,
|
|
6532
|
-
theme:
|
|
6540
|
+
theme: O,
|
|
6533
6541
|
config: i
|
|
6534
6542
|
};
|
|
6535
|
-
return /* @__PURE__ */ D(
|
|
6543
|
+
return /* @__PURE__ */ D($t.Provider, { value: fe, children: [
|
|
6536
6544
|
r,
|
|
6537
6545
|
i.showAssistant !== !1 && /* @__PURE__ */ v(
|
|
6538
|
-
|
|
6546
|
+
Ji,
|
|
6539
6547
|
{
|
|
6540
6548
|
showTrigger: i.showFloatingButton !== !1,
|
|
6541
6549
|
showAvatar: !0,
|
|
@@ -6543,7 +6551,7 @@ const gn = ({ config: i, children: r }) => {
|
|
|
6543
6551
|
}
|
|
6544
6552
|
)
|
|
6545
6553
|
] });
|
|
6546
|
-
}, fn = ({ open: i, onOpenChange: r, children: n }) => /* @__PURE__ */ v(
|
|
6554
|
+
}, fn = ({ open: i, onOpenChange: r, children: n }) => /* @__PURE__ */ v(ht, { children: i && /* @__PURE__ */ D("div", { className: "fixed inset-0 z-50 flex items-center justify-center aria-animate-fade-in", children: [
|
|
6547
6555
|
/* @__PURE__ */ v(
|
|
6548
6556
|
"div",
|
|
6549
6557
|
{
|
|
@@ -6612,7 +6620,7 @@ const an = ({
|
|
|
6612
6620
|
onClick: r,
|
|
6613
6621
|
...n,
|
|
6614
6622
|
children: [
|
|
6615
|
-
/* @__PURE__ */ v(
|
|
6623
|
+
/* @__PURE__ */ v(gt, { className: "h-4 w-4" }),
|
|
6616
6624
|
/* @__PURE__ */ v("span", { className: "sr-only", children: "Close" })
|
|
6617
6625
|
]
|
|
6618
6626
|
}
|
|
@@ -6620,40 +6628,40 @@ const an = ({
|
|
|
6620
6628
|
an.displayName = "DialogClose";
|
|
6621
6629
|
export {
|
|
6622
6630
|
hn as A,
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6631
|
+
Ue as B,
|
|
6632
|
+
re as C,
|
|
6633
|
+
rt as D,
|
|
6626
6634
|
ie as E,
|
|
6627
6635
|
an as F,
|
|
6628
6636
|
E as G,
|
|
6629
6637
|
ge as I,
|
|
6630
|
-
|
|
6631
|
-
|
|
6638
|
+
it as M,
|
|
6639
|
+
ne as S,
|
|
6632
6640
|
De as a,
|
|
6633
6641
|
P as b,
|
|
6634
|
-
|
|
6642
|
+
Be as c,
|
|
6635
6643
|
Or as d,
|
|
6636
6644
|
gn as e,
|
|
6637
|
-
|
|
6645
|
+
Ji as f,
|
|
6638
6646
|
Hi as g,
|
|
6639
6647
|
Vi as h,
|
|
6640
6648
|
Wi as i,
|
|
6641
6649
|
ji as j,
|
|
6642
|
-
|
|
6643
|
-
|
|
6650
|
+
wt as k,
|
|
6651
|
+
bt as l,
|
|
6644
6652
|
pn as m,
|
|
6645
|
-
|
|
6653
|
+
ir as n,
|
|
6646
6654
|
Fi as o,
|
|
6647
6655
|
Gi as p,
|
|
6648
6656
|
Pi as q,
|
|
6649
6657
|
zi as r,
|
|
6650
6658
|
$i as s,
|
|
6651
|
-
|
|
6652
|
-
|
|
6659
|
+
rr as t,
|
|
6660
|
+
Xe as u,
|
|
6653
6661
|
We as v,
|
|
6654
6662
|
fn as w,
|
|
6655
6663
|
rn as x,
|
|
6656
6664
|
nn as y,
|
|
6657
6665
|
on as z
|
|
6658
6666
|
};
|
|
6659
|
-
//# sourceMappingURL=index-
|
|
6667
|
+
//# sourceMappingURL=index-BqHnk4l5.js.map
|