@centive/aria-sdk 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/context/AriaProvider.d.ts.map +1 -1
- package/dist/index.js +542 -544
- package/dist/index.js.map +1 -1
- package/dist/lib/AriaSessionManager.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as a, jsxs as y, Fragment as Ie } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { CheckCircle2 as $e, AlertCircle as Le, Zap as er, RefreshCw as We, Clock as
|
|
5
|
-
import { createPortal as
|
|
6
|
-
function
|
|
2
|
+
import * as ce from "react";
|
|
3
|
+
import { createContext as Ir, useContext as Pr, useState as T, useRef as le, useEffect as re, useCallback as M, useMemo as Oe } from "react";
|
|
4
|
+
import { CheckCircle2 as $e, AlertCircle as Le, Zap as er, RefreshCw as We, Clock as Dr, MessageCircle as gr, Sparkles as Ge, User as Vr, Bot as Wr, Send as jr, Wrench as rr, MicOff as tr, Mic as or, Maximize2 as Fr, Phone as ar, X as Qe, Minimize2 as Br } from "lucide-react";
|
|
5
|
+
import { createPortal as Hr } from "react-dom";
|
|
6
|
+
function Or(r) {
|
|
7
7
|
return typeof r == "object" && r !== null && "status" in r && (r.status === "success" || r.status === "error") && !("type" in r);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function Lr(r) {
|
|
10
10
|
return typeof r == "object" && r !== null && "type" in r && r.type === "message_history_ack" && "status" in r && r.status === "ok";
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function _r(r) {
|
|
13
13
|
return typeof r == "object" && r !== null && "type" in r && r.type === "message_stream_ack" && "status" in r && r.status === "ok";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Ur(r) {
|
|
16
16
|
return typeof r == "object" && r !== null && "type" in r && r.type === "session_end_ack" && "status" in r && r.status === "ok";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Gr(r) {
|
|
19
19
|
return typeof r == "object" && r !== null && "type" in r && r.type === "session_end_error" && "status" in r && r.status === "error";
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Qr(r) {
|
|
22
22
|
return typeof r == "object" && r !== null && "type" in r && r.type === "trigger_event";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function qr(r) {
|
|
25
25
|
return typeof r == "object" && r !== null && "status" in r && r.status === "ok" && "message" in r && !("type" in r);
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Kr(r) {
|
|
28
28
|
return typeof r == "object" && r !== null && "status" in r && r.status === "error" && "error" in r && r.error === "MISSING_FIELDS";
|
|
29
29
|
}
|
|
30
30
|
const ir = {
|
|
@@ -290,35 +290,35 @@ class Q {
|
|
|
290
290
|
handleWebSocketMessage(e) {
|
|
291
291
|
try {
|
|
292
292
|
const t = JSON.parse(e.data);
|
|
293
|
-
if (
|
|
293
|
+
if (Or(t)) {
|
|
294
294
|
this.handleSessionResponse(t);
|
|
295
295
|
return;
|
|
296
296
|
}
|
|
297
|
-
if (
|
|
297
|
+
if (Lr(t)) {
|
|
298
298
|
console.log(`[AriaSessionManager] Message history acknowledged: ${t.message_count} messages`), this.config.onMessageHistoryAck?.(t.message_count), this.emit({ type: "message_history", data: t });
|
|
299
299
|
return;
|
|
300
300
|
}
|
|
301
|
-
if (
|
|
301
|
+
if (_r(t)) {
|
|
302
302
|
console.log("[AriaSessionManager] Message stream acknowledged"), this.config.onMessageStreamAck?.(), this.emit({ type: "message_stream", data: t });
|
|
303
303
|
return;
|
|
304
304
|
}
|
|
305
|
-
if (
|
|
305
|
+
if (Ur(t)) {
|
|
306
306
|
console.log(`[AriaSessionManager] Session end acknowledged: ${t.saved_count} messages saved`), this.config.onSessionEndAck?.(t.saved_count);
|
|
307
307
|
return;
|
|
308
308
|
}
|
|
309
|
-
if (
|
|
309
|
+
if (Gr(t)) {
|
|
310
310
|
console.error(`[AriaSessionManager] Session end error: ${t.message}`), this.config.onSessionEndError?.(t.message, t.error), this.config.onError?.(new Error(`Session end failed: ${t.error} - ${t.message}`));
|
|
311
311
|
return;
|
|
312
312
|
}
|
|
313
|
-
if (
|
|
313
|
+
if (Kr(t)) {
|
|
314
314
|
console.error(`[AriaSessionManager] Missing fields error: ${t.message}`), this.config.onError?.(new Error(t.message));
|
|
315
315
|
return;
|
|
316
316
|
}
|
|
317
|
-
if (
|
|
317
|
+
if (Qr(t)) {
|
|
318
318
|
console.log("[AriaSessionManager] WebSocket trigger event received:", t.data), this.config.onWebSocketEvent?.(t), this.onWebSocketTrigger?.(t);
|
|
319
319
|
return;
|
|
320
320
|
}
|
|
321
|
-
if (
|
|
321
|
+
if (qr(t)) {
|
|
322
322
|
console.log(`[AriaSessionManager] Generic acknowledgment: ${t.message}`);
|
|
323
323
|
return;
|
|
324
324
|
}
|
|
@@ -485,41 +485,41 @@ class Q {
|
|
|
485
485
|
this.createHiddenVideoElement();
|
|
486
486
|
const { createClient: t, AnamEvent: o } = await import("@anam-ai/js-sdk"), i = t(e);
|
|
487
487
|
i.addListener(o.SESSION_READY, () => {
|
|
488
|
-
const
|
|
489
|
-
|
|
488
|
+
const n = i.getActiveSessionId();
|
|
489
|
+
n && (this.updateSessionState({ session_id: n }), console.log("[AriaSessionManager] Session ready with ID:", n)), this.isAnamInitializing = !1, this.setStatus("ready"), this.emit({ type: "session_ready", data: { sessionId: n } }), this.config.onSessionReady?.();
|
|
490
490
|
}), i.addListener(o.CONNECTION_CLOSED, () => {
|
|
491
491
|
console.log("[AriaSessionManager] Anam connection closed"), this.emit({ type: "connection_change", data: { connected: !1 } });
|
|
492
|
-
}), i.addListener(o.MESSAGE_HISTORY_UPDATED, (
|
|
493
|
-
this.chatMessages =
|
|
492
|
+
}), i.addListener(o.MESSAGE_HISTORY_UPDATED, (n) => {
|
|
493
|
+
this.chatMessages = n.map((d) => ({
|
|
494
494
|
role: d.role,
|
|
495
495
|
content: d.content,
|
|
496
496
|
timestamp: Date.now()
|
|
497
497
|
}));
|
|
498
|
-
const c =
|
|
498
|
+
const c = n.map((d) => ({
|
|
499
499
|
role: d.role,
|
|
500
500
|
content: d.content,
|
|
501
501
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
502
502
|
}));
|
|
503
503
|
this.sendMessageHistory(c), this.emit({ type: "message_history", data: { messages: this.chatMessages } });
|
|
504
|
-
}), i.addListener(o.MESSAGE_STREAM_EVENT_RECEIVED, (
|
|
505
|
-
|
|
504
|
+
}), i.addListener(o.MESSAGE_STREAM_EVENT_RECEIVED, (n) => {
|
|
505
|
+
n.role === "persona" ? this.liveTranscript += n.content : n.role === "user" && (this.liveTranscript = "");
|
|
506
506
|
const c = {
|
|
507
|
-
role:
|
|
508
|
-
content:
|
|
507
|
+
role: n.role,
|
|
508
|
+
content: n.content,
|
|
509
509
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
510
510
|
};
|
|
511
|
-
this.sendMessageStream(c,
|
|
512
|
-
}), i.addListener(o.CLIENT_TOOL_EVENT_RECEIVED, (
|
|
513
|
-
console.log("[AriaSessionManager] Tool call event received:",
|
|
511
|
+
this.sendMessageStream(c, n.is_final ?? !1), this.emit({ type: "message_stream", data: { event: n, liveTranscript: this.liveTranscript } });
|
|
512
|
+
}), i.addListener(o.CLIENT_TOOL_EVENT_RECEIVED, (n) => {
|
|
513
|
+
console.log("[AriaSessionManager] Tool call event received:", n.eventName), this.isToolCallActive = !0, this.activeToolCall = n, this.emit({
|
|
514
514
|
type: "tool_call",
|
|
515
515
|
data: {
|
|
516
516
|
isActive: !0,
|
|
517
|
-
toolName:
|
|
518
|
-
toolData:
|
|
519
|
-
toolEvent:
|
|
517
|
+
toolName: n.eventName,
|
|
518
|
+
toolData: n.eventData,
|
|
519
|
+
toolEvent: n
|
|
520
520
|
}
|
|
521
521
|
}), setTimeout(() => {
|
|
522
|
-
this.activeToolCall?.eventUid ===
|
|
522
|
+
this.activeToolCall?.eventUid === n.eventUid && this.clearToolCallState();
|
|
523
523
|
}, 3e4);
|
|
524
524
|
}), this.anamClient = i, this.audioInputStream = await navigator.mediaDevices.getUserMedia({ audio: !0 });
|
|
525
525
|
const [l] = await i.stream(this.audioInputStream);
|
|
@@ -566,14 +566,10 @@ class Q {
|
|
|
566
566
|
*/
|
|
567
567
|
attachToVideoElement(e) {
|
|
568
568
|
if (this.videoStream) {
|
|
569
|
-
const t = this.videoStream.getTracks();
|
|
570
|
-
|
|
571
|
-
console.warn("[AriaSessionManager] Video stream tracks are not active, cannot attach");
|
|
572
|
-
return;
|
|
573
|
-
}
|
|
574
|
-
e.srcObject = this.videoStream, this.hiddenVideoElement && (this.hiddenVideoElement.muted = !0), e.muted = !1, e.play().catch((i) => {
|
|
569
|
+
const t = this.videoStream.getTracks(), o = t.filter((i) => i.readyState === "live");
|
|
570
|
+
console.log("[AriaSessionManager] Attaching video stream, tracks:", t.length, "active:", o.length), e.srcObject = this.videoStream, this.hiddenVideoElement && (this.hiddenVideoElement.muted = !0), e.muted = !1, e.play().catch((i) => {
|
|
575
571
|
console.warn("[AriaSessionManager] Video play failed:", i);
|
|
576
|
-
})
|
|
572
|
+
});
|
|
577
573
|
} else
|
|
578
574
|
console.warn("[AriaSessionManager] No video stream available to attach");
|
|
579
575
|
}
|
|
@@ -680,8 +676,8 @@ class Q {
|
|
|
680
676
|
console.log("[AriaSessionManager] No expiration time, skipping refresh scheduling");
|
|
681
677
|
return;
|
|
682
678
|
}
|
|
683
|
-
const e = new Date(this.sessionState.expires_at).getTime(), t = Date.now(), o = this.refreshConfig.bufferMinutes * 60 * 1e3, i = e - o, l = Math.max(0, i - t),
|
|
684
|
-
console.log(`[AriaSessionManager] Token expires at: ${new Date(e).toISOString()}`), console.log(`[AriaSessionManager] Time until expiry: ${Math.round(
|
|
679
|
+
const e = new Date(this.sessionState.expires_at).getTime(), t = Date.now(), o = this.refreshConfig.bufferMinutes * 60 * 1e3, i = e - o, l = Math.max(0, i - t), n = e - t;
|
|
680
|
+
console.log(`[AriaSessionManager] Token expires at: ${new Date(e).toISOString()}`), console.log(`[AriaSessionManager] Time until expiry: ${Math.round(n / 1e3 / 60)} minutes`), console.log(`[AriaSessionManager] Refresh buffer: ${this.refreshConfig.bufferMinutes} minutes`), l <= 0 ? (console.log("[AriaSessionManager] Session expiring soon, refreshing immediately"), this.refreshSession()) : (console.log(`[AriaSessionManager] Scheduling proactive refresh in ${Math.round(l / 1e3 / 60)} minutes`), this.refreshTimer = setTimeout(() => {
|
|
685
681
|
console.log("[AriaSessionManager] Proactive refresh timer fired"), this.refreshSession();
|
|
686
682
|
}, l));
|
|
687
683
|
}
|
|
@@ -1137,9 +1133,9 @@ class ze {
|
|
|
1137
1133
|
*/
|
|
1138
1134
|
static async renderReactUI(e, t, o) {
|
|
1139
1135
|
try {
|
|
1140
|
-
const i = await import("react"), l = await import("react-dom/client"), { AriaStandaloneUI:
|
|
1136
|
+
const i = await import("react"), l = await import("react-dom/client"), { AriaStandaloneUI: n } = await Promise.resolve().then(() => to), c = l.createRoot(e);
|
|
1141
1137
|
z.reactRoot = c, c.render(
|
|
1142
|
-
i.createElement(
|
|
1138
|
+
i.createElement(n, {
|
|
1143
1139
|
theme: t,
|
|
1144
1140
|
triggerLabel: o,
|
|
1145
1141
|
container: e
|
|
@@ -1156,8 +1152,8 @@ class ze {
|
|
|
1156
1152
|
z.reactRoot && typeof z.reactRoot.unmount == "function" && z.reactRoot.unmount(), z.uiContainer && z.uiContainer.remove();
|
|
1157
1153
|
}
|
|
1158
1154
|
}
|
|
1159
|
-
const hr =
|
|
1160
|
-
const r =
|
|
1155
|
+
const hr = Ir(null), Ee = () => {
|
|
1156
|
+
const r = Pr(hr);
|
|
1161
1157
|
if (!r)
|
|
1162
1158
|
throw new Error("useAria must be used within an AriaProvider");
|
|
1163
1159
|
return r;
|
|
@@ -1171,42 +1167,42 @@ function ur(r) {
|
|
|
1171
1167
|
} else for (t in r) r[t] && (o && (o += " "), o += t);
|
|
1172
1168
|
return o;
|
|
1173
1169
|
}
|
|
1174
|
-
function
|
|
1170
|
+
function Jr() {
|
|
1175
1171
|
for (var r, e, t = 0, o = "", i = arguments.length; t < i; t++) (r = arguments[t]) && (e = ur(r)) && (o && (o += " "), o += e);
|
|
1176
1172
|
return o;
|
|
1177
1173
|
}
|
|
1178
|
-
const
|
|
1174
|
+
const Xr = (r, e) => {
|
|
1179
1175
|
const t = new Array(r.length + e.length);
|
|
1180
1176
|
for (let o = 0; o < r.length; o++)
|
|
1181
1177
|
t[o] = r[o];
|
|
1182
1178
|
for (let o = 0; o < e.length; o++)
|
|
1183
1179
|
t[r.length + o] = e[o];
|
|
1184
1180
|
return t;
|
|
1185
|
-
},
|
|
1181
|
+
}, Zr = (r, e) => ({
|
|
1186
1182
|
classGroupId: r,
|
|
1187
1183
|
validator: e
|
|
1188
1184
|
}), pr = (r = /* @__PURE__ */ new Map(), e = null, t) => ({
|
|
1189
1185
|
nextPart: r,
|
|
1190
1186
|
validators: e,
|
|
1191
1187
|
classGroupId: t
|
|
1192
|
-
}), je = "-",
|
|
1193
|
-
const e =
|
|
1188
|
+
}), je = "-", nr = [], Yr = "arbitrary..", $r = (r) => {
|
|
1189
|
+
const e = rt(r), {
|
|
1194
1190
|
conflictingClassGroups: t,
|
|
1195
1191
|
conflictingClassGroupModifiers: o
|
|
1196
1192
|
} = r;
|
|
1197
1193
|
return {
|
|
1198
|
-
getClassGroupId: (
|
|
1199
|
-
if (
|
|
1200
|
-
return
|
|
1201
|
-
const c =
|
|
1194
|
+
getClassGroupId: (n) => {
|
|
1195
|
+
if (n.startsWith("[") && n.endsWith("]"))
|
|
1196
|
+
return et(n);
|
|
1197
|
+
const c = n.split(je), d = c[0] === "" && c.length > 1 ? 1 : 0;
|
|
1202
1198
|
return mr(c, d, e);
|
|
1203
1199
|
},
|
|
1204
|
-
getConflictingClassGroupIds: (
|
|
1200
|
+
getConflictingClassGroupIds: (n, c) => {
|
|
1205
1201
|
if (c) {
|
|
1206
|
-
const d = o[
|
|
1207
|
-
return d ? g ?
|
|
1202
|
+
const d = o[n], g = t[n];
|
|
1203
|
+
return d ? g ? Xr(g, d) : d : g || nr;
|
|
1208
1204
|
}
|
|
1209
|
-
return t[
|
|
1205
|
+
return t[n] || nr;
|
|
1210
1206
|
}
|
|
1211
1207
|
};
|
|
1212
1208
|
}, mr = (r, e, t) => {
|
|
@@ -1217,25 +1213,25 @@ const Jr = (r, e) => {
|
|
|
1217
1213
|
const g = mr(r, e + 1, l);
|
|
1218
1214
|
if (g) return g;
|
|
1219
1215
|
}
|
|
1220
|
-
const
|
|
1221
|
-
if (
|
|
1216
|
+
const n = t.validators;
|
|
1217
|
+
if (n === null)
|
|
1222
1218
|
return;
|
|
1223
|
-
const c = e === 0 ? r.join(je) : r.slice(e).join(je), d =
|
|
1219
|
+
const c = e === 0 ? r.join(je) : r.slice(e).join(je), d = n.length;
|
|
1224
1220
|
for (let g = 0; g < d; g++) {
|
|
1225
|
-
const f =
|
|
1221
|
+
const f = n[g];
|
|
1226
1222
|
if (f.validator(c))
|
|
1227
1223
|
return f.classGroupId;
|
|
1228
1224
|
}
|
|
1229
|
-
},
|
|
1225
|
+
}, et = (r) => r.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
1230
1226
|
const e = r.slice(1, -1), t = e.indexOf(":"), o = e.slice(0, t);
|
|
1231
|
-
return o ?
|
|
1232
|
-
})(),
|
|
1227
|
+
return o ? Yr + o : void 0;
|
|
1228
|
+
})(), rt = (r) => {
|
|
1233
1229
|
const {
|
|
1234
1230
|
theme: e,
|
|
1235
1231
|
classGroups: t
|
|
1236
1232
|
} = r;
|
|
1237
|
-
return
|
|
1238
|
-
},
|
|
1233
|
+
return tt(t, e);
|
|
1234
|
+
}, tt = (r, e) => {
|
|
1239
1235
|
const t = pr();
|
|
1240
1236
|
for (const o in r) {
|
|
1241
1237
|
const i = r[o];
|
|
@@ -1245,44 +1241,44 @@ const Jr = (r, e) => {
|
|
|
1245
1241
|
}, Je = (r, e, t, o) => {
|
|
1246
1242
|
const i = r.length;
|
|
1247
1243
|
for (let l = 0; l < i; l++) {
|
|
1248
|
-
const
|
|
1249
|
-
|
|
1244
|
+
const n = r[l];
|
|
1245
|
+
ot(n, e, t, o);
|
|
1250
1246
|
}
|
|
1251
|
-
},
|
|
1247
|
+
}, ot = (r, e, t, o) => {
|
|
1252
1248
|
if (typeof r == "string") {
|
|
1253
|
-
|
|
1249
|
+
at(r, e, t);
|
|
1254
1250
|
return;
|
|
1255
1251
|
}
|
|
1256
1252
|
if (typeof r == "function") {
|
|
1257
|
-
|
|
1253
|
+
it(r, e, t, o);
|
|
1258
1254
|
return;
|
|
1259
1255
|
}
|
|
1260
|
-
|
|
1261
|
-
},
|
|
1256
|
+
nt(r, e, t, o);
|
|
1257
|
+
}, at = (r, e, t) => {
|
|
1262
1258
|
const o = r === "" ? e : fr(e, r);
|
|
1263
1259
|
o.classGroupId = t;
|
|
1264
|
-
},
|
|
1260
|
+
}, it = (r, e, t, o) => {
|
|
1265
1261
|
if (st(r)) {
|
|
1266
1262
|
Je(r(o), e, t, o);
|
|
1267
1263
|
return;
|
|
1268
1264
|
}
|
|
1269
|
-
e.validators === null && (e.validators = []), e.validators.push(
|
|
1270
|
-
},
|
|
1265
|
+
e.validators === null && (e.validators = []), e.validators.push(Zr(t, r));
|
|
1266
|
+
}, nt = (r, e, t, o) => {
|
|
1271
1267
|
const i = Object.entries(r), l = i.length;
|
|
1272
|
-
for (let
|
|
1273
|
-
const [c, d] = i[
|
|
1268
|
+
for (let n = 0; n < l; n++) {
|
|
1269
|
+
const [c, d] = i[n];
|
|
1274
1270
|
Je(d, fr(e, c), t, o);
|
|
1275
1271
|
}
|
|
1276
1272
|
}, fr = (r, e) => {
|
|
1277
1273
|
let t = r;
|
|
1278
1274
|
const o = e.split(je), i = o.length;
|
|
1279
1275
|
for (let l = 0; l < i; l++) {
|
|
1280
|
-
const
|
|
1281
|
-
let c = t.nextPart.get(
|
|
1282
|
-
c || (c = pr(), t.nextPart.set(
|
|
1276
|
+
const n = o[l];
|
|
1277
|
+
let c = t.nextPart.get(n);
|
|
1278
|
+
c || (c = pr(), t.nextPart.set(n, c)), t = c;
|
|
1283
1279
|
}
|
|
1284
1280
|
return t;
|
|
1285
|
-
}, st = (r) => "isThemeGetter" in r && r.isThemeGetter === !0,
|
|
1281
|
+
}, st = (r) => "isThemeGetter" in r && r.isThemeGetter === !0, lt = (r) => {
|
|
1286
1282
|
if (r < 1)
|
|
1287
1283
|
return {
|
|
1288
1284
|
get: () => {
|
|
@@ -1291,40 +1287,40 @@ const Jr = (r, e) => {
|
|
|
1291
1287
|
}
|
|
1292
1288
|
};
|
|
1293
1289
|
let e = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
1294
|
-
const i = (l,
|
|
1295
|
-
t[l] =
|
|
1290
|
+
const i = (l, n) => {
|
|
1291
|
+
t[l] = n, e++, e > r && (e = 0, o = t, t = /* @__PURE__ */ Object.create(null));
|
|
1296
1292
|
};
|
|
1297
1293
|
return {
|
|
1298
1294
|
get(l) {
|
|
1299
|
-
let
|
|
1300
|
-
if (
|
|
1301
|
-
return
|
|
1302
|
-
if ((
|
|
1303
|
-
return i(l,
|
|
1295
|
+
let n = t[l];
|
|
1296
|
+
if (n !== void 0)
|
|
1297
|
+
return n;
|
|
1298
|
+
if ((n = o[l]) !== void 0)
|
|
1299
|
+
return i(l, n), n;
|
|
1304
1300
|
},
|
|
1305
|
-
set(l,
|
|
1306
|
-
l in t ? t[l] =
|
|
1301
|
+
set(l, n) {
|
|
1302
|
+
l in t ? t[l] = n : i(l, n);
|
|
1307
1303
|
}
|
|
1308
1304
|
};
|
|
1309
|
-
}, qe = "!",
|
|
1305
|
+
}, qe = "!", sr = ":", ct = [], lr = (r, e, t, o, i) => ({
|
|
1310
1306
|
modifiers: r,
|
|
1311
1307
|
hasImportantModifier: e,
|
|
1312
1308
|
baseClassName: t,
|
|
1313
1309
|
maybePostfixModifierPosition: o,
|
|
1314
1310
|
isExternal: i
|
|
1315
|
-
}),
|
|
1311
|
+
}), dt = (r) => {
|
|
1316
1312
|
const {
|
|
1317
1313
|
prefix: e,
|
|
1318
1314
|
experimentalParseClassName: t
|
|
1319
1315
|
} = r;
|
|
1320
1316
|
let o = (i) => {
|
|
1321
1317
|
const l = [];
|
|
1322
|
-
let
|
|
1318
|
+
let n = 0, c = 0, d = 0, g;
|
|
1323
1319
|
const f = i.length;
|
|
1324
1320
|
for (let I = 0; I < f; I++) {
|
|
1325
1321
|
const j = i[I];
|
|
1326
|
-
if (
|
|
1327
|
-
if (j ===
|
|
1322
|
+
if (n === 0 && c === 0) {
|
|
1323
|
+
if (j === sr) {
|
|
1328
1324
|
l.push(i.slice(d, I)), d = I + 1;
|
|
1329
1325
|
continue;
|
|
1330
1326
|
}
|
|
@@ -1333,7 +1329,7 @@ const Jr = (r, e) => {
|
|
|
1333
1329
|
continue;
|
|
1334
1330
|
}
|
|
1335
1331
|
}
|
|
1336
|
-
j === "[" ?
|
|
1332
|
+
j === "[" ? n++ : j === "]" ? n-- : j === "(" ? c++ : j === ")" && c--;
|
|
1337
1333
|
}
|
|
1338
1334
|
const E = l.length === 0 ? i : i.slice(d);
|
|
1339
1335
|
let R = E, V = !1;
|
|
@@ -1348,8 +1344,8 @@ const Jr = (r, e) => {
|
|
|
1348
1344
|
return lr(l, V, R, x);
|
|
1349
1345
|
};
|
|
1350
1346
|
if (e) {
|
|
1351
|
-
const i = e +
|
|
1352
|
-
o = (
|
|
1347
|
+
const i = e + sr, l = o;
|
|
1348
|
+
o = (n) => n.startsWith(i) ? l(n.slice(i.length)) : lr(ct, !1, n, void 0, !0);
|
|
1353
1349
|
}
|
|
1354
1350
|
if (t) {
|
|
1355
1351
|
const i = o;
|
|
@@ -1359,7 +1355,7 @@ const Jr = (r, e) => {
|
|
|
1359
1355
|
});
|
|
1360
1356
|
}
|
|
1361
1357
|
return o;
|
|
1362
|
-
},
|
|
1358
|
+
}, gt = (r) => {
|
|
1363
1359
|
const e = /* @__PURE__ */ new Map();
|
|
1364
1360
|
return r.orderSensitiveModifiers.forEach((t, o) => {
|
|
1365
1361
|
e.set(t, 1e6 + o);
|
|
@@ -1367,23 +1363,23 @@ const Jr = (r, e) => {
|
|
|
1367
1363
|
const o = [];
|
|
1368
1364
|
let i = [];
|
|
1369
1365
|
for (let l = 0; l < t.length; l++) {
|
|
1370
|
-
const
|
|
1371
|
-
c || d ? (i.length > 0 && (i.sort(), o.push(...i), i = []), o.push(
|
|
1366
|
+
const n = t[l], c = n[0] === "[", d = e.has(n);
|
|
1367
|
+
c || d ? (i.length > 0 && (i.sort(), o.push(...i), i = []), o.push(n)) : i.push(n);
|
|
1372
1368
|
}
|
|
1373
1369
|
return i.length > 0 && (i.sort(), o.push(...i)), o;
|
|
1374
1370
|
};
|
|
1375
|
-
},
|
|
1376
|
-
cache:
|
|
1377
|
-
parseClassName:
|
|
1378
|
-
sortModifiers:
|
|
1379
|
-
|
|
1380
|
-
}),
|
|
1371
|
+
}, ht = (r) => ({
|
|
1372
|
+
cache: lt(r.cacheSize),
|
|
1373
|
+
parseClassName: dt(r),
|
|
1374
|
+
sortModifiers: gt(r),
|
|
1375
|
+
...$r(r)
|
|
1376
|
+
}), ut = /\s+/, pt = (r, e) => {
|
|
1381
1377
|
const {
|
|
1382
1378
|
parseClassName: t,
|
|
1383
1379
|
getClassGroupId: o,
|
|
1384
1380
|
getConflictingClassGroupIds: i,
|
|
1385
1381
|
sortModifiers: l
|
|
1386
|
-
} = e,
|
|
1382
|
+
} = e, n = [], c = r.trim().split(ut);
|
|
1387
1383
|
let d = "";
|
|
1388
1384
|
for (let g = c.length - 1; g >= 0; g -= 1) {
|
|
1389
1385
|
const f = c[g], {
|
|
@@ -1410,18 +1406,18 @@ const Jr = (r, e) => {
|
|
|
1410
1406
|
j = !1;
|
|
1411
1407
|
}
|
|
1412
1408
|
const L = R.length === 0 ? "" : R.length === 1 ? R[0] : l(R).join(":"), P = V ? L + qe : L, h = P + F;
|
|
1413
|
-
if (
|
|
1409
|
+
if (n.indexOf(h) > -1)
|
|
1414
1410
|
continue;
|
|
1415
|
-
|
|
1411
|
+
n.push(h);
|
|
1416
1412
|
const _ = i(F, j);
|
|
1417
1413
|
for (let J = 0; J < _.length; ++J) {
|
|
1418
1414
|
const B = _[J];
|
|
1419
|
-
|
|
1415
|
+
n.push(P + B);
|
|
1420
1416
|
}
|
|
1421
1417
|
d = f + (d.length > 0 ? " " + d : d);
|
|
1422
1418
|
}
|
|
1423
1419
|
return d;
|
|
1424
|
-
},
|
|
1420
|
+
}, mt = (...r) => {
|
|
1425
1421
|
let e = 0, t, o, i = "";
|
|
1426
1422
|
for (; e < r.length; )
|
|
1427
1423
|
(t = r[e++]) && (o = wr(t)) && (i && (i += " "), i += o);
|
|
@@ -1433,35 +1429,35 @@ const Jr = (r, e) => {
|
|
|
1433
1429
|
for (let o = 0; o < r.length; o++)
|
|
1434
1430
|
r[o] && (e = wr(r[o])) && (t && (t += " "), t += e);
|
|
1435
1431
|
return t;
|
|
1436
|
-
},
|
|
1432
|
+
}, ft = (r, ...e) => {
|
|
1437
1433
|
let t, o, i, l;
|
|
1438
|
-
const
|
|
1434
|
+
const n = (d) => {
|
|
1439
1435
|
const g = e.reduce((f, E) => E(f), r());
|
|
1440
|
-
return t =
|
|
1436
|
+
return t = ht(g), o = t.cache.get, i = t.cache.set, l = c, c(d);
|
|
1441
1437
|
}, c = (d) => {
|
|
1442
1438
|
const g = o(d);
|
|
1443
1439
|
if (g)
|
|
1444
1440
|
return g;
|
|
1445
|
-
const f =
|
|
1441
|
+
const f = pt(d, t);
|
|
1446
1442
|
return i(d, f), f;
|
|
1447
1443
|
};
|
|
1448
|
-
return l =
|
|
1449
|
-
},
|
|
1450
|
-
const e = (t) => t[r] ||
|
|
1444
|
+
return l = n, (...d) => l(mt(...d));
|
|
1445
|
+
}, wt = [], O = (r) => {
|
|
1446
|
+
const e = (t) => t[r] || wt;
|
|
1451
1447
|
return e.isThemeGetter = !0, e;
|
|
1452
|
-
}, br = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, vr = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
1448
|
+
}, br = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, vr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, bt = /^\d+\/\d+$/, vt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yt = /\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$/, xt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, At = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, kt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ke = (r) => bt.test(r), C = (r) => !!r && !Number.isNaN(Number(r)), we = (r) => !!r && Number.isInteger(Number(r)), _e = (r) => r.endsWith("%") && C(r.slice(0, -1)), ue = (r) => vt.test(r), St = () => !0, Et = (r) => (
|
|
1453
1449
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1454
1450
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1455
1451
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1456
|
-
|
|
1457
|
-
), yr = () => !1,
|
|
1452
|
+
yt.test(r) && !xt.test(r)
|
|
1453
|
+
), yr = () => !1, Mt = (r) => At.test(r), Ct = (r) => kt.test(r), Nt = (r) => !p(r) && !m(r), Tt = (r) => Me(r, kr, yr), p = (r) => br.test(r), ve = (r) => Me(r, Sr, Et), Ue = (r) => Me(r, Dt, C), cr = (r) => Me(r, xr, yr), Rt = (r) => Me(r, Ar, Ct), De = (r) => Me(r, Er, Mt), m = (r) => vr.test(r), Re = (r) => Ce(r, Sr), zt = (r) => Ce(r, Vt), dr = (r) => Ce(r, xr), It = (r) => Ce(r, kr), Pt = (r) => Ce(r, Ar), Ve = (r) => Ce(r, Er, !0), Me = (r, e, t) => {
|
|
1458
1454
|
const o = br.exec(r);
|
|
1459
1455
|
return o ? o[1] ? e(o[1]) : t(o[2]) : !1;
|
|
1460
1456
|
}, Ce = (r, e, t = !1) => {
|
|
1461
1457
|
const o = vr.exec(r);
|
|
1462
1458
|
return o ? o[1] ? e(o[1]) : t : !1;
|
|
1463
|
-
}, xr = (r) => r === "position" || r === "percentage", Ar = (r) => r === "image" || r === "url", kr = (r) => r === "length" || r === "size" || r === "bg-size", Sr = (r) => r === "length",
|
|
1464
|
-
const r = O("color"), e = O("font"), t = O("text"), o = O("font-weight"), i = O("tracking"), l = O("leading"),
|
|
1459
|
+
}, xr = (r) => r === "position" || r === "percentage", Ar = (r) => r === "image" || r === "url", kr = (r) => r === "length" || r === "size" || r === "bg-size", Sr = (r) => r === "length", Dt = (r) => r === "number", Vt = (r) => r === "family-name", Er = (r) => r === "shadow", Wt = () => {
|
|
1460
|
+
const r = O("color"), e = O("font"), t = O("text"), o = O("font-weight"), i = O("tracking"), l = O("leading"), n = O("breakpoint"), c = O("container"), d = O("spacing"), g = O("radius"), f = O("shadow"), E = O("inset-shadow"), R = O("text-shadow"), V = O("drop-shadow"), x = O("blur"), I = O("perspective"), j = O("aspect"), F = O("ease"), L = O("animate"), P = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], h = () => [
|
|
1465
1461
|
"center",
|
|
1466
1462
|
"top",
|
|
1467
1463
|
"bottom",
|
|
@@ -1481,13 +1477,13 @@ const Jr = (r, e) => {
|
|
|
1481
1477
|
"left-bottom"
|
|
1482
1478
|
], _ = () => [...h(), m, p], J = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], k = () => [m, p, d], q = () => [ke, "full", "auto", ...k()], oe = () => [we, "none", "subgrid", m, p], X = () => ["auto", {
|
|
1483
1479
|
span: ["full", we, m, p]
|
|
1484
|
-
}, we, m, p], G = () => [we, "auto", m, p],
|
|
1480
|
+
}, we, m, p], G = () => [we, "auto", m, p], pe = () => ["auto", "min", "max", "fr", m, p], ae = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], U = () => ["auto", ...k()], w = () => [ke, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], v = () => [r, m, p], de = () => [...h(), dr, cr, {
|
|
1485
1481
|
position: [m, p]
|
|
1486
|
-
}],
|
|
1482
|
+
}], ge = () => ["no-repeat", {
|
|
1487
1483
|
repeat: ["", "x", "y", "space", "round"]
|
|
1488
|
-
}],
|
|
1484
|
+
}], ie = () => ["auto", "cover", "contain", It, Tt, {
|
|
1489
1485
|
size: [m, p]
|
|
1490
|
-
}],
|
|
1486
|
+
}], te = () => [_e, Re, ve], W = () => [
|
|
1491
1487
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1492
1488
|
"",
|
|
1493
1489
|
"none",
|
|
@@ -1495,35 +1491,35 @@ const Jr = (r, e) => {
|
|
|
1495
1491
|
g,
|
|
1496
1492
|
m,
|
|
1497
1493
|
p
|
|
1498
|
-
], H = () => ["", C, Re, ve], K = () => ["solid", "dashed", "dotted", "double"],
|
|
1494
|
+
], H = () => ["", C, Re, ve], K = () => ["solid", "dashed", "dotted", "double"], ne = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => [C, _e, dr, cr], se = () => [
|
|
1499
1495
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1500
1496
|
"",
|
|
1501
1497
|
"none",
|
|
1502
1498
|
x,
|
|
1503
1499
|
m,
|
|
1504
1500
|
p
|
|
1505
|
-
],
|
|
1501
|
+
], he = () => ["none", C, m, p], me = () => ["none", C, m, p], be = () => [C, m, p], fe = () => [ke, "full", ...k()];
|
|
1506
1502
|
return {
|
|
1507
1503
|
cacheSize: 500,
|
|
1508
1504
|
theme: {
|
|
1509
1505
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
1510
1506
|
aspect: ["video"],
|
|
1511
|
-
blur: [
|
|
1512
|
-
breakpoint: [
|
|
1513
|
-
color: [
|
|
1514
|
-
container: [
|
|
1515
|
-
"drop-shadow": [
|
|
1507
|
+
blur: [ue],
|
|
1508
|
+
breakpoint: [ue],
|
|
1509
|
+
color: [St],
|
|
1510
|
+
container: [ue],
|
|
1511
|
+
"drop-shadow": [ue],
|
|
1516
1512
|
ease: ["in", "out", "in-out"],
|
|
1517
|
-
font: [
|
|
1513
|
+
font: [Nt],
|
|
1518
1514
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
1519
|
-
"inset-shadow": [
|
|
1515
|
+
"inset-shadow": [ue],
|
|
1520
1516
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
1521
1517
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
1522
|
-
radius: [
|
|
1523
|
-
shadow: [
|
|
1518
|
+
radius: [ue],
|
|
1519
|
+
shadow: [ue],
|
|
1524
1520
|
spacing: ["px", C],
|
|
1525
|
-
text: [
|
|
1526
|
-
"text-shadow": [
|
|
1521
|
+
text: [ue],
|
|
1522
|
+
"text-shadow": [ue],
|
|
1527
1523
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
1528
1524
|
},
|
|
1529
1525
|
classGroups: {
|
|
@@ -1870,14 +1866,14 @@ const Jr = (r, e) => {
|
|
|
1870
1866
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1871
1867
|
*/
|
|
1872
1868
|
"auto-cols": [{
|
|
1873
|
-
"auto-cols":
|
|
1869
|
+
"auto-cols": pe()
|
|
1874
1870
|
}],
|
|
1875
1871
|
/**
|
|
1876
1872
|
* Grid Auto Rows
|
|
1877
1873
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1878
1874
|
*/
|
|
1879
1875
|
"auto-rows": [{
|
|
1880
|
-
"auto-rows":
|
|
1876
|
+
"auto-rows": pe()
|
|
1881
1877
|
}],
|
|
1882
1878
|
/**
|
|
1883
1879
|
* Gap
|
|
@@ -2126,14 +2122,14 @@ const Jr = (r, e) => {
|
|
|
2126
2122
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
2127
2123
|
*/
|
|
2128
2124
|
size: [{
|
|
2129
|
-
size:
|
|
2125
|
+
size: w()
|
|
2130
2126
|
}],
|
|
2131
2127
|
/**
|
|
2132
2128
|
* Width
|
|
2133
2129
|
* @see https://tailwindcss.com/docs/width
|
|
2134
2130
|
*/
|
|
2135
2131
|
w: [{
|
|
2136
|
-
w: [c, "screen", ...
|
|
2132
|
+
w: [c, "screen", ...w()]
|
|
2137
2133
|
}],
|
|
2138
2134
|
/**
|
|
2139
2135
|
* Min-Width
|
|
@@ -2145,7 +2141,7 @@ const Jr = (r, e) => {
|
|
|
2145
2141
|
"screen",
|
|
2146
2142
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2147
2143
|
"none",
|
|
2148
|
-
...
|
|
2144
|
+
...w()
|
|
2149
2145
|
]
|
|
2150
2146
|
}],
|
|
2151
2147
|
/**
|
|
@@ -2161,9 +2157,9 @@ const Jr = (r, e) => {
|
|
|
2161
2157
|
"prose",
|
|
2162
2158
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2163
2159
|
{
|
|
2164
|
-
screen: [
|
|
2160
|
+
screen: [n]
|
|
2165
2161
|
},
|
|
2166
|
-
...
|
|
2162
|
+
...w()
|
|
2167
2163
|
]
|
|
2168
2164
|
}],
|
|
2169
2165
|
/**
|
|
@@ -2171,21 +2167,21 @@ const Jr = (r, e) => {
|
|
|
2171
2167
|
* @see https://tailwindcss.com/docs/height
|
|
2172
2168
|
*/
|
|
2173
2169
|
h: [{
|
|
2174
|
-
h: ["screen", "lh", ...
|
|
2170
|
+
h: ["screen", "lh", ...w()]
|
|
2175
2171
|
}],
|
|
2176
2172
|
/**
|
|
2177
2173
|
* Min-Height
|
|
2178
2174
|
* @see https://tailwindcss.com/docs/min-height
|
|
2179
2175
|
*/
|
|
2180
2176
|
"min-h": [{
|
|
2181
|
-
"min-h": ["screen", "lh", "none", ...
|
|
2177
|
+
"min-h": ["screen", "lh", "none", ...w()]
|
|
2182
2178
|
}],
|
|
2183
2179
|
/**
|
|
2184
2180
|
* Max-Height
|
|
2185
2181
|
* @see https://tailwindcss.com/docs/max-height
|
|
2186
2182
|
*/
|
|
2187
2183
|
"max-h": [{
|
|
2188
|
-
"max-h": ["screen", "lh", ...
|
|
2184
|
+
"max-h": ["screen", "lh", ...w()]
|
|
2189
2185
|
}],
|
|
2190
2186
|
// ------------------
|
|
2191
2187
|
// --- Typography ---
|
|
@@ -2226,7 +2222,7 @@ const Jr = (r, e) => {
|
|
|
2226
2222
|
* @see https://tailwindcss.com/docs/font-family
|
|
2227
2223
|
*/
|
|
2228
2224
|
"font-family": [{
|
|
2229
|
-
font: [
|
|
2225
|
+
font: [zt, p, e]
|
|
2230
2226
|
}],
|
|
2231
2227
|
/**
|
|
2232
2228
|
* Font Variant Numeric
|
|
@@ -2454,21 +2450,21 @@ const Jr = (r, e) => {
|
|
|
2454
2450
|
* @see https://tailwindcss.com/docs/background-position
|
|
2455
2451
|
*/
|
|
2456
2452
|
"bg-position": [{
|
|
2457
|
-
bg:
|
|
2453
|
+
bg: de()
|
|
2458
2454
|
}],
|
|
2459
2455
|
/**
|
|
2460
2456
|
* Background Repeat
|
|
2461
2457
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
2462
2458
|
*/
|
|
2463
2459
|
"bg-repeat": [{
|
|
2464
|
-
bg:
|
|
2460
|
+
bg: ge()
|
|
2465
2461
|
}],
|
|
2466
2462
|
/**
|
|
2467
2463
|
* Background Size
|
|
2468
2464
|
* @see https://tailwindcss.com/docs/background-size
|
|
2469
2465
|
*/
|
|
2470
2466
|
"bg-size": [{
|
|
2471
|
-
bg:
|
|
2467
|
+
bg: ie()
|
|
2472
2468
|
}],
|
|
2473
2469
|
/**
|
|
2474
2470
|
* Background Image
|
|
@@ -2481,7 +2477,7 @@ const Jr = (r, e) => {
|
|
|
2481
2477
|
}, we, m, p],
|
|
2482
2478
|
radial: ["", m, p],
|
|
2483
2479
|
conic: [we, m, p]
|
|
2484
|
-
},
|
|
2480
|
+
}, Pt, Rt]
|
|
2485
2481
|
}],
|
|
2486
2482
|
/**
|
|
2487
2483
|
* Background Color
|
|
@@ -2495,21 +2491,21 @@ const Jr = (r, e) => {
|
|
|
2495
2491
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2496
2492
|
*/
|
|
2497
2493
|
"gradient-from-pos": [{
|
|
2498
|
-
from:
|
|
2494
|
+
from: te()
|
|
2499
2495
|
}],
|
|
2500
2496
|
/**
|
|
2501
2497
|
* Gradient Color Stops Via Position
|
|
2502
2498
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2503
2499
|
*/
|
|
2504
2500
|
"gradient-via-pos": [{
|
|
2505
|
-
via:
|
|
2501
|
+
via: te()
|
|
2506
2502
|
}],
|
|
2507
2503
|
/**
|
|
2508
2504
|
* Gradient Color Stops To Position
|
|
2509
2505
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2510
2506
|
*/
|
|
2511
2507
|
"gradient-to-pos": [{
|
|
2512
|
-
to:
|
|
2508
|
+
to: te()
|
|
2513
2509
|
}],
|
|
2514
2510
|
/**
|
|
2515
2511
|
* Gradient Color Stops From
|
|
@@ -2956,14 +2952,14 @@ const Jr = (r, e) => {
|
|
|
2956
2952
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2957
2953
|
*/
|
|
2958
2954
|
"mix-blend": [{
|
|
2959
|
-
"mix-blend": [...
|
|
2955
|
+
"mix-blend": [...ne(), "plus-darker", "plus-lighter"]
|
|
2960
2956
|
}],
|
|
2961
2957
|
/**
|
|
2962
2958
|
* Background Blend Mode
|
|
2963
2959
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2964
2960
|
*/
|
|
2965
2961
|
"bg-blend": [{
|
|
2966
|
-
"bg-blend":
|
|
2962
|
+
"bg-blend": ne()
|
|
2967
2963
|
}],
|
|
2968
2964
|
/**
|
|
2969
2965
|
* Mask Clip
|
|
@@ -3131,21 +3127,21 @@ const Jr = (r, e) => {
|
|
|
3131
3127
|
* @see https://tailwindcss.com/docs/mask-position
|
|
3132
3128
|
*/
|
|
3133
3129
|
"mask-position": [{
|
|
3134
|
-
mask:
|
|
3130
|
+
mask: de()
|
|
3135
3131
|
}],
|
|
3136
3132
|
/**
|
|
3137
3133
|
* Mask Repeat
|
|
3138
3134
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
3139
3135
|
*/
|
|
3140
3136
|
"mask-repeat": [{
|
|
3141
|
-
mask:
|
|
3137
|
+
mask: ge()
|
|
3142
3138
|
}],
|
|
3143
3139
|
/**
|
|
3144
3140
|
* Mask Size
|
|
3145
3141
|
* @see https://tailwindcss.com/docs/mask-size
|
|
3146
3142
|
*/
|
|
3147
3143
|
"mask-size": [{
|
|
3148
|
-
mask:
|
|
3144
|
+
mask: ie()
|
|
3149
3145
|
}],
|
|
3150
3146
|
/**
|
|
3151
3147
|
* Mask Type
|
|
@@ -3182,7 +3178,7 @@ const Jr = (r, e) => {
|
|
|
3182
3178
|
* @see https://tailwindcss.com/docs/blur
|
|
3183
3179
|
*/
|
|
3184
3180
|
blur: [{
|
|
3185
|
-
blur:
|
|
3181
|
+
blur: se()
|
|
3186
3182
|
}],
|
|
3187
3183
|
/**
|
|
3188
3184
|
* Brightness
|
|
@@ -3272,7 +3268,7 @@ const Jr = (r, e) => {
|
|
|
3272
3268
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
3273
3269
|
*/
|
|
3274
3270
|
"backdrop-blur": [{
|
|
3275
|
-
"backdrop-blur":
|
|
3271
|
+
"backdrop-blur": se()
|
|
3276
3272
|
}],
|
|
3277
3273
|
/**
|
|
3278
3274
|
* Backdrop Brightness
|
|
@@ -3449,28 +3445,28 @@ const Jr = (r, e) => {
|
|
|
3449
3445
|
* @see https://tailwindcss.com/docs/rotate
|
|
3450
3446
|
*/
|
|
3451
3447
|
rotate: [{
|
|
3452
|
-
rotate:
|
|
3448
|
+
rotate: he()
|
|
3453
3449
|
}],
|
|
3454
3450
|
/**
|
|
3455
3451
|
* Rotate X
|
|
3456
3452
|
* @see https://tailwindcss.com/docs/rotate
|
|
3457
3453
|
*/
|
|
3458
3454
|
"rotate-x": [{
|
|
3459
|
-
"rotate-x":
|
|
3455
|
+
"rotate-x": he()
|
|
3460
3456
|
}],
|
|
3461
3457
|
/**
|
|
3462
3458
|
* Rotate Y
|
|
3463
3459
|
* @see https://tailwindcss.com/docs/rotate
|
|
3464
3460
|
*/
|
|
3465
3461
|
"rotate-y": [{
|
|
3466
|
-
"rotate-y":
|
|
3462
|
+
"rotate-y": he()
|
|
3467
3463
|
}],
|
|
3468
3464
|
/**
|
|
3469
3465
|
* Rotate Z
|
|
3470
3466
|
* @see https://tailwindcss.com/docs/rotate
|
|
3471
3467
|
*/
|
|
3472
3468
|
"rotate-z": [{
|
|
3473
|
-
"rotate-z":
|
|
3469
|
+
"rotate-z": he()
|
|
3474
3470
|
}],
|
|
3475
3471
|
/**
|
|
3476
3472
|
* Scale
|
|
@@ -3930,43 +3926,43 @@ const Jr = (r, e) => {
|
|
|
3930
3926
|
},
|
|
3931
3927
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3932
3928
|
};
|
|
3933
|
-
},
|
|
3934
|
-
function
|
|
3935
|
-
return
|
|
3929
|
+
}, jt = /* @__PURE__ */ ft(Wt);
|
|
3930
|
+
function s(...r) {
|
|
3931
|
+
return jt(Jr(r));
|
|
3936
3932
|
}
|
|
3937
|
-
const Fe =
|
|
3933
|
+
const Fe = ce.forwardRef(
|
|
3938
3934
|
({ className: r, variant: e = "default", size: t = "default", ...o }, i) => {
|
|
3939
|
-
const l =
|
|
3935
|
+
const l = s(
|
|
3940
3936
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium",
|
|
3941
3937
|
"transition-all duration-200 ease-out",
|
|
3942
3938
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
3943
3939
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
3944
3940
|
"active:scale-[0.98]"
|
|
3945
|
-
),
|
|
3946
|
-
default:
|
|
3941
|
+
), n = {
|
|
3942
|
+
default: s(
|
|
3947
3943
|
"bg-primary text-primary-foreground",
|
|
3948
3944
|
"hover:bg-primary/90 hover:shadow-md hover:shadow-primary/25"
|
|
3949
3945
|
),
|
|
3950
|
-
gradient:
|
|
3946
|
+
gradient: s(
|
|
3951
3947
|
"aria-gradient-bg text-white",
|
|
3952
3948
|
"hover:opacity-90 hover:shadow-lg hover:shadow-indigo-500/25"
|
|
3953
3949
|
),
|
|
3954
|
-
destructive:
|
|
3950
|
+
destructive: s(
|
|
3955
3951
|
"bg-destructive text-destructive-foreground",
|
|
3956
3952
|
"hover:bg-destructive/90 hover:shadow-md hover:shadow-destructive/25"
|
|
3957
3953
|
),
|
|
3958
|
-
outline:
|
|
3954
|
+
outline: s(
|
|
3959
3955
|
"border border-input bg-background",
|
|
3960
3956
|
"hover:bg-accent hover:text-accent-foreground hover:border-accent"
|
|
3961
3957
|
),
|
|
3962
|
-
secondary:
|
|
3958
|
+
secondary: s(
|
|
3963
3959
|
"bg-secondary text-secondary-foreground",
|
|
3964
3960
|
"hover:bg-secondary/80"
|
|
3965
3961
|
),
|
|
3966
|
-
ghost:
|
|
3962
|
+
ghost: s(
|
|
3967
3963
|
"hover:bg-accent hover:text-accent-foreground"
|
|
3968
3964
|
),
|
|
3969
|
-
link:
|
|
3965
|
+
link: s(
|
|
3970
3966
|
"text-primary underline-offset-4",
|
|
3971
3967
|
"hover:underline"
|
|
3972
3968
|
)
|
|
@@ -3979,7 +3975,7 @@ const Fe = ne.forwardRef(
|
|
|
3979
3975
|
return /* @__PURE__ */ a(
|
|
3980
3976
|
"button",
|
|
3981
3977
|
{
|
|
3982
|
-
className:
|
|
3978
|
+
className: s(l, n[e], c[t], r),
|
|
3983
3979
|
ref: i,
|
|
3984
3980
|
...o
|
|
3985
3981
|
}
|
|
@@ -3987,12 +3983,12 @@ const Fe = ne.forwardRef(
|
|
|
3987
3983
|
}
|
|
3988
3984
|
);
|
|
3989
3985
|
Fe.displayName = "Button";
|
|
3990
|
-
const Mr =
|
|
3986
|
+
const Mr = ce.forwardRef(
|
|
3991
3987
|
({ className: r, type: e, ...t }, o) => /* @__PURE__ */ a(
|
|
3992
3988
|
"input",
|
|
3993
3989
|
{
|
|
3994
3990
|
type: e,
|
|
3995
|
-
className:
|
|
3991
|
+
className: s(
|
|
3996
3992
|
"flex h-9 w-full rounded-lg border border-input bg-background px-3 py-1 text-sm",
|
|
3997
3993
|
"transition-all duration-200 ease-out",
|
|
3998
3994
|
"file:border-0 file:bg-transparent file:text-sm file:font-medium",
|
|
@@ -4009,30 +4005,30 @@ const Mr = ne.forwardRef(
|
|
|
4009
4005
|
Mr.displayName = "Input";
|
|
4010
4006
|
function Se({ className: r, variant: e = "default", ...t }) {
|
|
4011
4007
|
const o = {
|
|
4012
|
-
default:
|
|
4008
|
+
default: s(
|
|
4013
4009
|
"border-transparent bg-primary text-white",
|
|
4014
4010
|
"shadow-sm"
|
|
4015
4011
|
),
|
|
4016
|
-
secondary:
|
|
4012
|
+
secondary: s(
|
|
4017
4013
|
"border-transparent bg-secondary text-secondary-foreground"
|
|
4018
4014
|
),
|
|
4019
|
-
destructive:
|
|
4015
|
+
destructive: s(
|
|
4020
4016
|
"border-transparent bg-destructive text-destructive-foreground"
|
|
4021
4017
|
),
|
|
4022
|
-
outline:
|
|
4018
|
+
outline: s(
|
|
4023
4019
|
"text-foreground border-border"
|
|
4024
4020
|
),
|
|
4025
|
-
success:
|
|
4021
|
+
success: s(
|
|
4026
4022
|
"border-transparent bg-emerald-600 text-white shadow-sm"
|
|
4027
4023
|
),
|
|
4028
|
-
warning:
|
|
4024
|
+
warning: s(
|
|
4029
4025
|
"border-transparent bg-amber-600 text-white shadow-sm"
|
|
4030
4026
|
)
|
|
4031
4027
|
};
|
|
4032
4028
|
return /* @__PURE__ */ a(
|
|
4033
4029
|
"div",
|
|
4034
4030
|
{
|
|
4035
|
-
className:
|
|
4031
|
+
className: s(
|
|
4036
4032
|
"inline-flex items-center rounded-lg border px-2 py-0.5 text-[10px] font-semibold",
|
|
4037
4033
|
"transition-colors duration-200",
|
|
4038
4034
|
o[e],
|
|
@@ -4042,11 +4038,11 @@ function Se({ className: r, variant: e = "default", ...t }) {
|
|
|
4042
4038
|
}
|
|
4043
4039
|
);
|
|
4044
4040
|
}
|
|
4045
|
-
const Cr =
|
|
4041
|
+
const Cr = ce.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
|
|
4046
4042
|
"div",
|
|
4047
4043
|
{
|
|
4048
4044
|
ref: t,
|
|
4049
|
-
className:
|
|
4045
|
+
className: s(
|
|
4050
4046
|
"rounded-lg border bg-card text-card-foreground",
|
|
4051
4047
|
"shadow-sm transition-shadow duration-200",
|
|
4052
4048
|
"hover:shadow-md",
|
|
@@ -4056,52 +4052,52 @@ const Cr = ne.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
|
|
|
4056
4052
|
}
|
|
4057
4053
|
));
|
|
4058
4054
|
Cr.displayName = "Card";
|
|
4059
|
-
const
|
|
4055
|
+
const Ft = ce.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
|
|
4060
4056
|
"div",
|
|
4061
4057
|
{
|
|
4062
4058
|
ref: t,
|
|
4063
|
-
className:
|
|
4059
|
+
className: s("flex flex-col space-y-1.5 p-6", r),
|
|
4064
4060
|
...e
|
|
4065
4061
|
}
|
|
4066
4062
|
));
|
|
4067
|
-
|
|
4068
|
-
const
|
|
4063
|
+
Ft.displayName = "CardHeader";
|
|
4064
|
+
const Bt = ce.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
|
|
4069
4065
|
"h3",
|
|
4070
4066
|
{
|
|
4071
4067
|
ref: t,
|
|
4072
|
-
className:
|
|
4068
|
+
className: s(
|
|
4073
4069
|
"text-xl font-semibold leading-none tracking-tight",
|
|
4074
4070
|
r
|
|
4075
4071
|
),
|
|
4076
4072
|
...e
|
|
4077
4073
|
}
|
|
4078
4074
|
));
|
|
4079
|
-
|
|
4080
|
-
const
|
|
4075
|
+
Bt.displayName = "CardTitle";
|
|
4076
|
+
const Ht = ce.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
|
|
4081
4077
|
"p",
|
|
4082
4078
|
{
|
|
4083
4079
|
ref: t,
|
|
4084
|
-
className:
|
|
4080
|
+
className: s("text-sm text-muted-foreground", r),
|
|
4085
4081
|
...e
|
|
4086
4082
|
}
|
|
4087
4083
|
));
|
|
4088
|
-
|
|
4089
|
-
const
|
|
4090
|
-
|
|
4091
|
-
const
|
|
4084
|
+
Ht.displayName = "CardDescription";
|
|
4085
|
+
const Ot = ce.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a("div", { ref: t, className: s("p-6 pt-0", r), ...e }));
|
|
4086
|
+
Ot.displayName = "CardContent";
|
|
4087
|
+
const Lt = ce.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
|
|
4092
4088
|
"div",
|
|
4093
4089
|
{
|
|
4094
4090
|
ref: t,
|
|
4095
|
-
className:
|
|
4091
|
+
className: s("flex items-center p-6 pt-0", r),
|
|
4096
4092
|
...e
|
|
4097
4093
|
}
|
|
4098
4094
|
));
|
|
4099
|
-
|
|
4100
|
-
const
|
|
4101
|
-
const { sessionState: e, triggerSession: t, theme: o } = Ee(), i = o === "dark", l = (
|
|
4102
|
-
if (!
|
|
4095
|
+
Lt.displayName = "CardFooter";
|
|
4096
|
+
const _t = ({ compact: r = !1 }) => {
|
|
4097
|
+
const { sessionState: e, triggerSession: t, theme: o } = Ee(), i = o === "dark", l = (n) => {
|
|
4098
|
+
if (!n) return "N/A";
|
|
4103
4099
|
try {
|
|
4104
|
-
const c = new Date(
|
|
4100
|
+
const c = new Date(n), d = /* @__PURE__ */ new Date(), g = c.getTime() - d.getTime();
|
|
4105
4101
|
if (g < 0) return "Expired";
|
|
4106
4102
|
const f = Math.floor(g / 6e4), E = Math.floor(f / 60);
|
|
4107
4103
|
return E > 0 ? `${E}h ${f % 60}m` : f > 0 ? `${f}m` : "Less than 1m";
|
|
@@ -4126,7 +4122,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4126
4122
|
variant: "outline",
|
|
4127
4123
|
size: "sm",
|
|
4128
4124
|
onClick: () => t({ userTrigger: !0 }),
|
|
4129
|
-
className:
|
|
4125
|
+
className: s(
|
|
4130
4126
|
"h-7 text-[10px] px-2.5 rounded-lg",
|
|
4131
4127
|
i ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
|
|
4132
4128
|
),
|
|
@@ -4136,20 +4132,20 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4136
4132
|
]
|
|
4137
4133
|
}
|
|
4138
4134
|
)
|
|
4139
|
-
] }) : /* @__PURE__ */ a(Cr, { className:
|
|
4135
|
+
] }) : /* @__PURE__ */ a(Cr, { className: s(
|
|
4140
4136
|
"p-3 border",
|
|
4141
4137
|
i ? "bg-gray-800/50 border-gray-700/50" : "bg-gray-50 border-gray-100"
|
|
4142
4138
|
), children: /* @__PURE__ */ y("div", { className: "space-y-3", children: [
|
|
4143
4139
|
/* @__PURE__ */ y("div", { className: "flex items-center justify-between", children: [
|
|
4144
4140
|
/* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
|
|
4145
|
-
/* @__PURE__ */ a("div", { className:
|
|
4141
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4146
4142
|
"w-6 h-6 rounded-md flex items-center justify-center",
|
|
4147
4143
|
e.isSessionReady ? "bg-emerald-100 dark:bg-emerald-500/20" : i ? "bg-gray-800" : "bg-gray-100"
|
|
4148
|
-
), children: /* @__PURE__ */ a(er, { className:
|
|
4144
|
+
), children: /* @__PURE__ */ a(er, { className: s(
|
|
4149
4145
|
"h-3.5 w-3.5",
|
|
4150
4146
|
e.isSessionReady ? "text-emerald-600 dark:text-emerald-400" : i ? "text-gray-400" : "text-gray-500"
|
|
4151
4147
|
) }) }),
|
|
4152
|
-
/* @__PURE__ */ a("h3", { className:
|
|
4148
|
+
/* @__PURE__ */ a("h3", { className: s(
|
|
4153
4149
|
"text-xs font-semibold",
|
|
4154
4150
|
i ? "text-white" : "text-gray-900"
|
|
4155
4151
|
), children: "Session" })
|
|
@@ -4163,40 +4159,40 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4163
4159
|
] }) : /* @__PURE__ */ a(Se, { variant: "secondary", children: "Not Started" })
|
|
4164
4160
|
] }),
|
|
4165
4161
|
/* @__PURE__ */ y("div", { className: "space-y-2", children: [
|
|
4166
|
-
e.session_id && /* @__PURE__ */ y("div", { className:
|
|
4162
|
+
e.session_id && /* @__PURE__ */ y("div", { className: s(
|
|
4167
4163
|
"flex items-start gap-2 p-2 rounded-lg",
|
|
4168
4164
|
i ? "bg-gray-800/50 border border-gray-700/50" : "bg-white border border-gray-100"
|
|
4169
4165
|
), children: [
|
|
4170
|
-
/* @__PURE__ */ a("span", { className:
|
|
4166
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4171
4167
|
"text-[10px] font-medium min-w-[60px] uppercase tracking-wide",
|
|
4172
4168
|
i ? "text-gray-400" : "text-gray-500"
|
|
4173
4169
|
), children: "ID" }),
|
|
4174
|
-
/* @__PURE__ */ a("span", { className:
|
|
4170
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4175
4171
|
"text-[10px] font-mono break-all",
|
|
4176
4172
|
i ? "text-gray-300" : "text-gray-700"
|
|
4177
4173
|
), children: e.session_id })
|
|
4178
4174
|
] }),
|
|
4179
|
-
e.expires_at && /* @__PURE__ */ y("div", { className:
|
|
4175
|
+
e.expires_at && /* @__PURE__ */ y("div", { className: s(
|
|
4180
4176
|
"flex items-center gap-2 p-2 rounded-lg",
|
|
4181
4177
|
i ? "bg-gray-800/50 border border-gray-700/50" : "bg-white border border-gray-100"
|
|
4182
4178
|
), children: [
|
|
4183
|
-
/* @__PURE__ */ a(
|
|
4184
|
-
/* @__PURE__ */ y("span", { className:
|
|
4179
|
+
/* @__PURE__ */ a(Dr, { className: s("h-3.5 w-3.5", i ? "text-gray-500" : "text-gray-400") }),
|
|
4180
|
+
/* @__PURE__ */ y("span", { className: s("text-xs", i ? "text-gray-400" : "text-gray-600"), children: [
|
|
4185
4181
|
"Expires in: ",
|
|
4186
4182
|
/* @__PURE__ */ a("span", { className: "font-medium", children: l(e.expires_at) })
|
|
4187
4183
|
] })
|
|
4188
4184
|
] }),
|
|
4189
|
-
e.lastError && /* @__PURE__ */ y("div", { className:
|
|
4185
|
+
e.lastError && /* @__PURE__ */ y("div", { className: s(
|
|
4190
4186
|
"flex items-start gap-3 p-3 rounded-xl border",
|
|
4191
4187
|
i ? "bg-red-950/30 border-red-900/50" : "bg-red-50 border-red-100"
|
|
4192
4188
|
), children: [
|
|
4193
4189
|
/* @__PURE__ */ a("div", { className: "w-6 h-6 rounded-lg bg-red-500 flex items-center justify-center shrink-0", children: /* @__PURE__ */ a(Le, { className: "h-3.5 w-3.5 text-white" }) }),
|
|
4194
4190
|
/* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
|
|
4195
|
-
/* @__PURE__ */ a("p", { className:
|
|
4191
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4196
4192
|
"text-xs font-medium mb-0.5",
|
|
4197
4193
|
i ? "text-red-300" : "text-red-800"
|
|
4198
4194
|
), children: "Connection Error" }),
|
|
4199
|
-
/* @__PURE__ */ a("p", { className:
|
|
4195
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4200
4196
|
"text-[11px] leading-relaxed break-words",
|
|
4201
4197
|
i ? "text-red-400" : "text-red-600"
|
|
4202
4198
|
), children: e.lastError })
|
|
@@ -4209,7 +4205,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4209
4205
|
variant: "outline",
|
|
4210
4206
|
size: "sm",
|
|
4211
4207
|
onClick: () => t({ userTrigger: !0 }),
|
|
4212
|
-
className:
|
|
4208
|
+
className: s(
|
|
4213
4209
|
"w-full",
|
|
4214
4210
|
i ? "border-gray-700 hover:bg-gray-800 hover:border-gray-600" : "border-gray-200 hover:bg-gray-50 hover:border-gray-300"
|
|
4215
4211
|
),
|
|
@@ -4220,15 +4216,15 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4220
4216
|
}
|
|
4221
4217
|
)
|
|
4222
4218
|
] }) });
|
|
4223
|
-
},
|
|
4224
|
-
const { chatMessages: r, sendMessage: e, isConnected: t, theme: o } = Ee(), [i, l] =
|
|
4219
|
+
}, Ut = () => {
|
|
4220
|
+
const { chatMessages: r, sendMessage: e, isConnected: t, theme: o } = Ee(), [i, l] = T(""), [n, c] = T(!1), d = le(null), g = o === "dark", f = () => {
|
|
4225
4221
|
d.current?.scrollIntoView({ behavior: "smooth" });
|
|
4226
4222
|
};
|
|
4227
|
-
|
|
4223
|
+
re(() => {
|
|
4228
4224
|
f();
|
|
4229
4225
|
}, [r]);
|
|
4230
4226
|
const E = async () => {
|
|
4231
|
-
if (!i.trim() || !t ||
|
|
4227
|
+
if (!i.trim() || !t || n) return;
|
|
4232
4228
|
const x = i.trim();
|
|
4233
4229
|
l(""), c(!0);
|
|
4234
4230
|
try {
|
|
@@ -4244,53 +4240,53 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4244
4240
|
hour: "2-digit",
|
|
4245
4241
|
minute: "2-digit"
|
|
4246
4242
|
});
|
|
4247
|
-
return /* @__PURE__ */ y("div", { className:
|
|
4243
|
+
return /* @__PURE__ */ y("div", { className: s(
|
|
4248
4244
|
"flex flex-col h-full",
|
|
4249
4245
|
g ? "bg-gray-950" : "bg-white"
|
|
4250
4246
|
), children: [
|
|
4251
|
-
/* @__PURE__ */ a("div", { className:
|
|
4247
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4252
4248
|
"px-4 py-3 border-b",
|
|
4253
4249
|
g ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
|
|
4254
4250
|
), children: /* @__PURE__ */ y("div", { className: "flex items-center justify-between gap-3", children: [
|
|
4255
4251
|
/* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
|
|
4256
|
-
/* @__PURE__ */ a("div", { className:
|
|
4252
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4257
4253
|
"w-7 h-7 rounded-lg flex items-center justify-center",
|
|
4258
4254
|
g ? "bg-indigo-900/30" : "bg-indigo-100"
|
|
4259
|
-
), children: /* @__PURE__ */ a(gr, { className:
|
|
4255
|
+
), children: /* @__PURE__ */ a(gr, { className: s(
|
|
4260
4256
|
"w-4 h-4",
|
|
4261
4257
|
g ? "text-indigo-400" : "text-indigo-600"
|
|
4262
4258
|
) }) }),
|
|
4263
|
-
/* @__PURE__ */ a("h3", { className:
|
|
4259
|
+
/* @__PURE__ */ a("h3", { className: s(
|
|
4264
4260
|
"font-bold text-sm",
|
|
4265
4261
|
g ? "text-white" : "text-gray-900"
|
|
4266
4262
|
), children: "Chat with Aria" })
|
|
4267
4263
|
] }),
|
|
4268
|
-
/* @__PURE__ */ a(
|
|
4264
|
+
/* @__PURE__ */ a(_t, { compact: !0 })
|
|
4269
4265
|
] }) }),
|
|
4270
|
-
/* @__PURE__ */ y("div", { className:
|
|
4266
|
+
/* @__PURE__ */ y("div", { className: s(
|
|
4271
4267
|
"flex-1 overflow-y-auto p-4 space-y-4",
|
|
4272
4268
|
g ? "bg-gray-900/30" : "bg-gray-50/30"
|
|
4273
4269
|
), children: [
|
|
4274
4270
|
r.length === 0 ? /* @__PURE__ */ y("div", { className: "flex flex-col items-center justify-center h-full text-center px-4 aria-animate-fade-in", children: [
|
|
4275
|
-
/* @__PURE__ */ a("div", { className:
|
|
4271
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4276
4272
|
"rounded-2xl p-6 mb-4",
|
|
4277
4273
|
g ? "bg-gradient-to-br from-indigo-900/20 to-purple-900/20" : "bg-gradient-to-br from-indigo-50 to-purple-50"
|
|
4278
|
-
), children: /* @__PURE__ */ a(Ge, { className:
|
|
4274
|
+
), children: /* @__PURE__ */ a(Ge, { className: s(
|
|
4279
4275
|
"h-8 w-8",
|
|
4280
4276
|
g ? "text-indigo-400" : "text-indigo-500"
|
|
4281
4277
|
) }) }),
|
|
4282
|
-
/* @__PURE__ */ a("p", { className:
|
|
4278
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4283
4279
|
"text-sm font-bold mb-1",
|
|
4284
4280
|
g ? "text-white" : "text-gray-900"
|
|
4285
4281
|
), children: "Let's talk!" }),
|
|
4286
|
-
/* @__PURE__ */ a("p", { className:
|
|
4282
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4287
4283
|
"text-xs",
|
|
4288
4284
|
g ? "text-gray-400" : "text-gray-500"
|
|
4289
4285
|
), children: "Aria is here to chat with you" })
|
|
4290
4286
|
] }) : r.filter((x) => x.content && x.content.trim() !== "").map((x, I) => /* @__PURE__ */ y(
|
|
4291
4287
|
"div",
|
|
4292
4288
|
{
|
|
4293
|
-
className:
|
|
4289
|
+
className: s(
|
|
4294
4290
|
"flex gap-2 aria-animate-fade-in",
|
|
4295
4291
|
x.role === "user" ? "flex-row-reverse" : "flex-row"
|
|
4296
4292
|
),
|
|
@@ -4299,17 +4295,17 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4299
4295
|
/* @__PURE__ */ a(
|
|
4300
4296
|
"div",
|
|
4301
4297
|
{
|
|
4302
|
-
className:
|
|
4298
|
+
className: s(
|
|
4303
4299
|
"shrink-0 w-6 h-6 rounded-full flex items-center justify-center",
|
|
4304
4300
|
x.role === "user" ? "bg-indigo-500 text-white" : g ? "bg-gray-700 text-gray-300" : "bg-gray-200 text-gray-600"
|
|
4305
4301
|
),
|
|
4306
|
-
children: x.role === "user" ? /* @__PURE__ */ a(
|
|
4302
|
+
children: x.role === "user" ? /* @__PURE__ */ a(Vr, { className: "h-3 w-3" }) : /* @__PURE__ */ a(Wr, { className: "h-3 w-3" })
|
|
4307
4303
|
}
|
|
4308
4304
|
),
|
|
4309
4305
|
/* @__PURE__ */ y(
|
|
4310
4306
|
"div",
|
|
4311
4307
|
{
|
|
4312
|
-
className:
|
|
4308
|
+
className: s(
|
|
4313
4309
|
"flex flex-col max-w-[80%]",
|
|
4314
4310
|
x.role === "user" ? "items-end" : "items-start"
|
|
4315
4311
|
),
|
|
@@ -4317,17 +4313,17 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4317
4313
|
/* @__PURE__ */ a(
|
|
4318
4314
|
"div",
|
|
4319
4315
|
{
|
|
4320
|
-
className:
|
|
4316
|
+
className: s(
|
|
4321
4317
|
"px-3 py-2 rounded-2xl",
|
|
4322
4318
|
x.role === "user" ? "bg-indigo-500 text-white rounded-br-md" : g ? "bg-gray-800 text-gray-100 rounded-bl-md" : "bg-white shadow-sm text-gray-800 rounded-bl-md"
|
|
4323
4319
|
),
|
|
4324
|
-
children: /* @__PURE__ */ a("p", { className:
|
|
4320
|
+
children: /* @__PURE__ */ a("p", { className: s(
|
|
4325
4321
|
"text-xs leading-relaxed break-words",
|
|
4326
4322
|
x.role === "user" && "text-white"
|
|
4327
4323
|
), children: x.content })
|
|
4328
4324
|
}
|
|
4329
4325
|
),
|
|
4330
|
-
/* @__PURE__ */ a("span", { className:
|
|
4326
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4331
4327
|
"text-[9px] mt-1 px-1",
|
|
4332
4328
|
g ? "text-gray-500" : "text-gray-400"
|
|
4333
4329
|
), children: V(x.timestamp) })
|
|
@@ -4340,10 +4336,10 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4340
4336
|
)),
|
|
4341
4337
|
/* @__PURE__ */ a("div", { ref: d })
|
|
4342
4338
|
] }),
|
|
4343
|
-
/* @__PURE__ */ a("div", { className:
|
|
4339
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4344
4340
|
"p-3 border-t",
|
|
4345
4341
|
g ? "border-gray-800 bg-gray-900" : "border-gray-100 bg-white"
|
|
4346
|
-
), children: /* @__PURE__ */ y("div", { className:
|
|
4342
|
+
), children: /* @__PURE__ */ y("div", { className: s(
|
|
4347
4343
|
"flex gap-2 p-1 rounded-lg border transition-all duration-200",
|
|
4348
4344
|
g ? "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"
|
|
4349
4345
|
), children: [
|
|
@@ -4354,8 +4350,8 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4354
4350
|
onChange: (x) => l(x.target.value),
|
|
4355
4351
|
onKeyDown: R,
|
|
4356
4352
|
placeholder: t ? "Message Aria..." : "Connecting...",
|
|
4357
|
-
disabled: !t ||
|
|
4358
|
-
className:
|
|
4353
|
+
disabled: !t || n,
|
|
4354
|
+
className: s(
|
|
4359
4355
|
"flex-1 border-0 bg-transparent shadow-none focus-visible:ring-0 px-2 h-8 text-xs",
|
|
4360
4356
|
g ? "placeholder:text-gray-500" : "placeholder:text-gray-400"
|
|
4361
4357
|
)
|
|
@@ -4365,13 +4361,13 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4365
4361
|
Fe,
|
|
4366
4362
|
{
|
|
4367
4363
|
onClick: E,
|
|
4368
|
-
disabled: !t || !i.trim() ||
|
|
4364
|
+
disabled: !t || !i.trim() || n,
|
|
4369
4365
|
size: "icon",
|
|
4370
|
-
className:
|
|
4366
|
+
className: s(
|
|
4371
4367
|
"h-7 w-7 rounded-md shrink-0 transition-all duration-200",
|
|
4372
4368
|
"bg-primary hover:bg-primary/90 disabled:opacity-40"
|
|
4373
4369
|
),
|
|
4374
|
-
children: /* @__PURE__ */ a(
|
|
4370
|
+
children: /* @__PURE__ */ a(jr, { className: "h-3.5 w-3.5" })
|
|
4375
4371
|
}
|
|
4376
4372
|
)
|
|
4377
4373
|
] }) })
|
|
@@ -4382,7 +4378,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4382
4378
|
isLoading: o,
|
|
4383
4379
|
isChatVisible: i,
|
|
4384
4380
|
isMuted: l,
|
|
4385
|
-
liveTranscript:
|
|
4381
|
+
liveTranscript: n,
|
|
4386
4382
|
error: c,
|
|
4387
4383
|
toggleChat: d,
|
|
4388
4384
|
toggleMute: g,
|
|
@@ -4394,17 +4390,17 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4394
4390
|
minimizeAssistant: I,
|
|
4395
4391
|
maximizeAssistant: j,
|
|
4396
4392
|
toolCallState: F
|
|
4397
|
-
} = Ee(), L =
|
|
4398
|
-
|
|
4393
|
+
} = Ee(), L = le(null), P = le(null);
|
|
4394
|
+
re(() => {
|
|
4399
4395
|
P.current && (P.current.scrollTop = P.current.scrollHeight);
|
|
4400
|
-
}, [
|
|
4396
|
+
}, [n]), re(() => (L.current && (console.log("[AriaWidget] Registering video element, preloaded:", V, "minimized:", e), R(L.current)), () => {
|
|
4401
4397
|
R(null);
|
|
4402
4398
|
}), [R, V, e]);
|
|
4403
4399
|
const h = E === "dark", _ = f === "bottom-right", J = f === "center";
|
|
4404
4400
|
return e ? /* @__PURE__ */ a(
|
|
4405
4401
|
"div",
|
|
4406
4402
|
{
|
|
4407
|
-
className:
|
|
4403
|
+
className: s(
|
|
4408
4404
|
"aria-assistant-container flex flex-col overflow-hidden aria-animate-scale-in",
|
|
4409
4405
|
h && "aria-dark",
|
|
4410
4406
|
"shadow-2xl rounded-xl",
|
|
@@ -4418,7 +4414,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4418
4414
|
backdropFilter: "blur(8px)",
|
|
4419
4415
|
WebkitBackdropFilter: "blur(8px)"
|
|
4420
4416
|
},
|
|
4421
|
-
children: /* @__PURE__ */ y("div", { className:
|
|
4417
|
+
children: /* @__PURE__ */ y("div", { className: s(
|
|
4422
4418
|
"relative flex-1 flex items-center justify-center overflow-hidden",
|
|
4423
4419
|
h ? "bg-gradient-to-br from-gray-900 to-black" : "bg-gradient-to-br from-gray-100 to-gray-50"
|
|
4424
4420
|
), children: [
|
|
@@ -4434,7 +4430,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4434
4430
|
F.isActive && t && /* @__PURE__ */ y(
|
|
4435
4431
|
"div",
|
|
4436
4432
|
{
|
|
4437
|
-
className:
|
|
4433
|
+
className: s(
|
|
4438
4434
|
"absolute top-3 left-3 aria-animate-fade-in z-20",
|
|
4439
4435
|
"flex items-center gap-2 px-3 py-2 rounded-lg",
|
|
4440
4436
|
"shadow-lg",
|
|
@@ -4442,14 +4438,14 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4442
4438
|
),
|
|
4443
4439
|
style: { backdropFilter: "blur(8px)" },
|
|
4444
4440
|
children: [
|
|
4445
|
-
/* @__PURE__ */ a("div", { className:
|
|
4441
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4446
4442
|
"w-5 h-5 rounded-full flex items-center justify-center",
|
|
4447
4443
|
h ? "bg-amber-800/50" : "bg-amber-100"
|
|
4448
|
-
), children: /* @__PURE__ */ a(rr, { className:
|
|
4444
|
+
), children: /* @__PURE__ */ a(rr, { className: s(
|
|
4449
4445
|
"w-3 h-3 animate-pulse",
|
|
4450
4446
|
h ? "text-amber-400" : "text-amber-600"
|
|
4451
4447
|
) }) }),
|
|
4452
|
-
/* @__PURE__ */ a("span", { className:
|
|
4448
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4453
4449
|
"text-[10px] font-semibold",
|
|
4454
4450
|
h ? "text-amber-200" : "text-amber-800"
|
|
4455
4451
|
), children: F.toolName ? F.toolName.replace(/_/g, " ") : "Processing..." })
|
|
@@ -4459,7 +4455,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4459
4455
|
t && !c && /* @__PURE__ */ y(
|
|
4460
4456
|
"div",
|
|
4461
4457
|
{
|
|
4462
|
-
className:
|
|
4458
|
+
className: s(
|
|
4463
4459
|
"absolute bottom-3 left-1/2 transform -translate-x-1/2 z-20",
|
|
4464
4460
|
"flex items-center gap-1 p-1 rounded-full",
|
|
4465
4461
|
"shadow-xl",
|
|
@@ -4471,7 +4467,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4471
4467
|
"button",
|
|
4472
4468
|
{
|
|
4473
4469
|
onClick: g,
|
|
4474
|
-
className:
|
|
4470
|
+
className: s(
|
|
4475
4471
|
"w-8 h-8 rounded-full flex items-center justify-center transition-all duration-200",
|
|
4476
4472
|
"border-0 outline-none focus:outline-none shadow-sm",
|
|
4477
4473
|
l ? "bg-red-500 hover:bg-red-600 text-white" : h ? "bg-gray-800/80 hover:bg-gray-700 text-gray-300" : "bg-gray-100/80 hover:bg-gray-200 text-gray-600"
|
|
@@ -4484,13 +4480,13 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4484
4480
|
"button",
|
|
4485
4481
|
{
|
|
4486
4482
|
onClick: j,
|
|
4487
|
-
className:
|
|
4483
|
+
className: s(
|
|
4488
4484
|
"w-8 h-8 rounded-full flex items-center justify-center transition-all duration-200",
|
|
4489
4485
|
"border-0 outline-none focus:outline-none shadow-sm",
|
|
4490
4486
|
h ? "bg-indigo-600 hover:bg-indigo-700 text-white" : "bg-indigo-500 hover:bg-indigo-600 text-white"
|
|
4491
4487
|
),
|
|
4492
4488
|
title: "Maximize",
|
|
4493
|
-
children: /* @__PURE__ */ a(
|
|
4489
|
+
children: /* @__PURE__ */ a(Fr, { className: "h-3.5 w-3.5" })
|
|
4494
4490
|
}
|
|
4495
4491
|
),
|
|
4496
4492
|
/* @__PURE__ */ a(
|
|
@@ -4505,19 +4501,19 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4505
4501
|
]
|
|
4506
4502
|
}
|
|
4507
4503
|
),
|
|
4508
|
-
o && /* @__PURE__ */ y("div", { className:
|
|
4504
|
+
o && /* @__PURE__ */ y("div", { className: s(
|
|
4509
4505
|
"absolute inset-0 flex flex-col items-center justify-center z-10",
|
|
4510
4506
|
h ? "bg-gradient-to-br from-gray-900 to-gray-950" : "bg-gradient-to-br from-gray-50 to-white"
|
|
4511
4507
|
), children: [
|
|
4512
4508
|
/* @__PURE__ */ y("div", { className: "relative mb-3", children: [
|
|
4513
|
-
/* @__PURE__ */ a("div", { className:
|
|
4509
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4514
4510
|
"absolute -inset-2 rounded-full animate-spin",
|
|
4515
4511
|
h ? "bg-gradient-to-r from-indigo-400 via-purple-400 to-pink-400" : "bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500"
|
|
4516
|
-
), style: { animationDuration: "3s" }, children: /* @__PURE__ */ a("div", { className:
|
|
4512
|
+
), style: { animationDuration: "3s" }, children: /* @__PURE__ */ a("div", { className: s(
|
|
4517
4513
|
"absolute inset-[2px] rounded-full",
|
|
4518
4514
|
h ? "bg-gray-900" : "bg-white"
|
|
4519
4515
|
) }) }),
|
|
4520
|
-
/* @__PURE__ */ a("div", { className:
|
|
4516
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4521
4517
|
"relative w-12 h-12 rounded-full overflow-hidden shadow-lg",
|
|
4522
4518
|
h ? "bg-gray-800 ring-2 ring-gray-900" : "bg-gray-100 ring-2 ring-white"
|
|
4523
4519
|
), children: /* @__PURE__ */ a(
|
|
@@ -4532,17 +4528,17 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4532
4528
|
}
|
|
4533
4529
|
) })
|
|
4534
4530
|
] }),
|
|
4535
|
-
/* @__PURE__ */ a("p", { className:
|
|
4531
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4536
4532
|
"text-xs font-medium",
|
|
4537
4533
|
h ? "text-gray-400" : "text-gray-600"
|
|
4538
4534
|
), children: "Connecting..." })
|
|
4539
4535
|
] }),
|
|
4540
|
-
c && /* @__PURE__ */ y("div", { className:
|
|
4536
|
+
c && /* @__PURE__ */ y("div", { className: s(
|
|
4541
4537
|
"absolute inset-0 flex flex-col items-center justify-center z-10 p-4",
|
|
4542
4538
|
h ? "bg-gray-950/90" : "bg-white/90"
|
|
4543
4539
|
), children: [
|
|
4544
4540
|
/* @__PURE__ */ a("div", { className: "w-10 h-10 rounded-full bg-red-500/10 flex items-center justify-center mb-2", children: /* @__PURE__ */ a(Qe, { className: "w-5 h-5 text-red-500" }) }),
|
|
4545
|
-
/* @__PURE__ */ a("p", { className:
|
|
4541
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4546
4542
|
"text-xs font-medium text-center mb-2",
|
|
4547
4543
|
h ? "text-red-300" : "text-red-700"
|
|
4548
4544
|
), children: "Connection error" }),
|
|
@@ -4550,7 +4546,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4550
4546
|
"button",
|
|
4551
4547
|
{
|
|
4552
4548
|
onClick: () => x(),
|
|
4553
|
-
className:
|
|
4549
|
+
className: s(
|
|
4554
4550
|
"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium",
|
|
4555
4551
|
"transition-all duration-200",
|
|
4556
4552
|
h ? "bg-indigo-600 hover:bg-indigo-700 text-white" : "bg-indigo-500 hover:bg-indigo-600 text-white"
|
|
@@ -4567,7 +4563,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4567
4563
|
) : /* @__PURE__ */ a(
|
|
4568
4564
|
"div",
|
|
4569
4565
|
{
|
|
4570
|
-
className:
|
|
4566
|
+
className: s(
|
|
4571
4567
|
"aria-assistant-container flex flex-col overflow-hidden aria-animate-scale-in",
|
|
4572
4568
|
h && "aria-dark",
|
|
4573
4569
|
// Base styling
|
|
@@ -4589,7 +4585,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4589
4585
|
WebkitBackdropFilter: "blur(8px)"
|
|
4590
4586
|
},
|
|
4591
4587
|
children: /* @__PURE__ */ y("div", { className: "flex-1 flex overflow-hidden min-h-0", children: [
|
|
4592
|
-
/* @__PURE__ */ y("div", { className:
|
|
4588
|
+
/* @__PURE__ */ y("div", { className: s(
|
|
4593
4589
|
"relative flex items-center justify-center overflow-hidden",
|
|
4594
4590
|
h ? "bg-gradient-to-br from-gray-900 to-black" : "bg-gradient-to-br from-gray-100 to-gray-50",
|
|
4595
4591
|
i ? "flex-1" : "w-full"
|
|
@@ -4597,18 +4593,18 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4597
4593
|
o && /* @__PURE__ */ y(
|
|
4598
4594
|
"div",
|
|
4599
4595
|
{
|
|
4600
|
-
className:
|
|
4596
|
+
className: s(
|
|
4601
4597
|
"absolute inset-0 flex flex-col items-center justify-center z-10",
|
|
4602
4598
|
h ? "bg-gradient-to-br from-gray-900 to-gray-950" : "bg-gradient-to-br from-gray-50 to-white"
|
|
4603
4599
|
),
|
|
4604
4600
|
children: [
|
|
4605
4601
|
/* @__PURE__ */ y("div", { className: "absolute inset-0 overflow-hidden pointer-events-none", children: [
|
|
4606
|
-
/* @__PURE__ */ a("div", { className:
|
|
4602
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4607
4603
|
"absolute w-96 h-96 rounded-full opacity-20 blur-3xl",
|
|
4608
4604
|
"animate-pulse",
|
|
4609
4605
|
h ? "bg-indigo-900" : "bg-indigo-300"
|
|
4610
4606
|
), style: { top: "20%", left: "10%", animationDuration: "3s" } }),
|
|
4611
|
-
/* @__PURE__ */ a("div", { className:
|
|
4607
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4612
4608
|
"absolute w-64 h-64 rounded-full opacity-20 blur-3xl",
|
|
4613
4609
|
"animate-pulse",
|
|
4614
4610
|
h ? "bg-purple-900" : "bg-purple-300"
|
|
@@ -4616,19 +4612,19 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4616
4612
|
] }),
|
|
4617
4613
|
/* @__PURE__ */ y("div", { className: "relative flex flex-col items-center", children: [
|
|
4618
4614
|
/* @__PURE__ */ y("div", { className: "relative mb-6", children: [
|
|
4619
|
-
/* @__PURE__ */ a("div", { className:
|
|
4615
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4620
4616
|
"absolute -inset-3 rounded-full",
|
|
4621
4617
|
"animate-spin",
|
|
4622
4618
|
h ? "bg-gradient-to-r from-indigo-400 via-purple-400 to-pink-400" : "bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500"
|
|
4623
|
-
), style: { animationDuration: "3s" }, children: /* @__PURE__ */ a("div", { className:
|
|
4619
|
+
), style: { animationDuration: "3s" }, children: /* @__PURE__ */ a("div", { className: s(
|
|
4624
4620
|
"absolute inset-[3px] rounded-full",
|
|
4625
4621
|
h ? "bg-gray-900" : "bg-white"
|
|
4626
4622
|
) }) }),
|
|
4627
|
-
/* @__PURE__ */ a("div", { className:
|
|
4623
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4628
4624
|
"absolute -inset-1.5 rounded-full opacity-60 animate-pulse",
|
|
4629
4625
|
h ? "bg-gradient-to-r from-indigo-500 to-purple-500" : "bg-gradient-to-r from-indigo-400 to-purple-400"
|
|
4630
4626
|
) }),
|
|
4631
|
-
/* @__PURE__ */ a("div", { className:
|
|
4627
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4632
4628
|
"relative w-20 h-20 rounded-full overflow-hidden",
|
|
4633
4629
|
"shadow-xl",
|
|
4634
4630
|
h ? "bg-gray-800 ring-4 ring-gray-900" : "bg-gray-100 ring-4 ring-white"
|
|
@@ -4644,14 +4640,14 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4644
4640
|
}
|
|
4645
4641
|
) })
|
|
4646
4642
|
] }),
|
|
4647
|
-
/* @__PURE__ */ a("h3", { className:
|
|
4643
|
+
/* @__PURE__ */ a("h3", { className: s(
|
|
4648
4644
|
"text-2xl font-bold tracking-tight mb-2",
|
|
4649
4645
|
h ? "text-white" : "text-gray-900"
|
|
4650
4646
|
), children: "Aria is joining..." }),
|
|
4651
4647
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-1.5 mb-6", children: [0, 1, 2].map((B) => /* @__PURE__ */ a(
|
|
4652
4648
|
"div",
|
|
4653
4649
|
{
|
|
4654
|
-
className:
|
|
4650
|
+
className: s(
|
|
4655
4651
|
"w-2.5 h-2.5 rounded-full",
|
|
4656
4652
|
h ? "bg-indigo-400" : "bg-indigo-500"
|
|
4657
4653
|
),
|
|
@@ -4662,7 +4658,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4662
4658
|
},
|
|
4663
4659
|
B
|
|
4664
4660
|
)) }),
|
|
4665
|
-
/* @__PURE__ */ a("p", { className:
|
|
4661
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4666
4662
|
"text-sm font-medium px-4 py-2 rounded-full",
|
|
4667
4663
|
h ? "bg-gray-800 text-gray-400" : "bg-gray-100 text-gray-600"
|
|
4668
4664
|
), children: "Get ready to chat" })
|
|
@@ -4673,22 +4669,22 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4673
4669
|
c && /* @__PURE__ */ a(
|
|
4674
4670
|
"div",
|
|
4675
4671
|
{
|
|
4676
|
-
className:
|
|
4672
|
+
className: s(
|
|
4677
4673
|
"absolute inset-0 flex flex-col items-center justify-center z-10 p-6",
|
|
4678
4674
|
h ? "bg-gray-950/80" : "bg-white/80"
|
|
4679
4675
|
),
|
|
4680
4676
|
style: { backdropFilter: "blur(4px)" },
|
|
4681
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
4677
|
+
children: /* @__PURE__ */ a("div", { className: s(
|
|
4682
4678
|
"rounded-lg p-6 max-w-sm w-full shadow-lg border",
|
|
4683
4679
|
h ? "bg-gray-900 border-red-900/30" : "bg-white border-red-100"
|
|
4684
4680
|
), children: /* @__PURE__ */ y("div", { className: "flex flex-col items-center text-center gap-3", children: [
|
|
4685
4681
|
/* @__PURE__ */ a("div", { className: "w-12 h-12 rounded-full bg-red-500/10 flex items-center justify-center", children: /* @__PURE__ */ a(Qe, { className: "w-6 h-6 text-red-500" }) }),
|
|
4686
4682
|
/* @__PURE__ */ y("div", { children: [
|
|
4687
|
-
/* @__PURE__ */ a("p", { className:
|
|
4683
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4688
4684
|
"text-base font-bold mb-2",
|
|
4689
4685
|
h ? "text-red-200" : "text-red-900"
|
|
4690
4686
|
), children: "Couldn't reach Aria" }),
|
|
4691
|
-
/* @__PURE__ */ a("p", { className:
|
|
4687
|
+
/* @__PURE__ */ a("p", { className: s(
|
|
4692
4688
|
"text-sm leading-relaxed mb-4",
|
|
4693
4689
|
h ? "text-red-400" : "text-red-600"
|
|
4694
4690
|
), children: c }),
|
|
@@ -4696,7 +4692,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4696
4692
|
"button",
|
|
4697
4693
|
{
|
|
4698
4694
|
onClick: () => x(),
|
|
4699
|
-
className:
|
|
4695
|
+
className: s(
|
|
4700
4696
|
"inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium",
|
|
4701
4697
|
"transition-all duration-200",
|
|
4702
4698
|
h ? "bg-indigo-600 hover:bg-indigo-700 text-white" : "bg-indigo-500 hover:bg-indigo-600 text-white"
|
|
@@ -4723,7 +4719,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4723
4719
|
F.isActive && t && /* @__PURE__ */ y(
|
|
4724
4720
|
"div",
|
|
4725
4721
|
{
|
|
4726
|
-
className:
|
|
4722
|
+
className: s(
|
|
4727
4723
|
"absolute top-3 left-3 aria-animate-fade-in z-20",
|
|
4728
4724
|
"flex items-center gap-2 px-3 py-2 rounded-lg",
|
|
4729
4725
|
"shadow-lg",
|
|
@@ -4731,19 +4727,19 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4731
4727
|
),
|
|
4732
4728
|
style: { backdropFilter: "blur(8px)" },
|
|
4733
4729
|
children: [
|
|
4734
|
-
/* @__PURE__ */ a("div", { className:
|
|
4730
|
+
/* @__PURE__ */ a("div", { className: s(
|
|
4735
4731
|
"w-6 h-6 rounded-full flex items-center justify-center",
|
|
4736
4732
|
h ? "bg-amber-800/50" : "bg-amber-100"
|
|
4737
|
-
), children: /* @__PURE__ */ a(rr, { className:
|
|
4733
|
+
), children: /* @__PURE__ */ a(rr, { className: s(
|
|
4738
4734
|
"w-3.5 h-3.5 animate-pulse",
|
|
4739
4735
|
h ? "text-amber-400" : "text-amber-600"
|
|
4740
4736
|
) }) }),
|
|
4741
4737
|
/* @__PURE__ */ y("div", { className: "flex flex-col", children: [
|
|
4742
|
-
/* @__PURE__ */ a("span", { className:
|
|
4738
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4743
4739
|
"text-xs font-semibold",
|
|
4744
4740
|
h ? "text-amber-200" : "text-amber-800"
|
|
4745
4741
|
), children: F.toolName ? `Running: ${F.toolName.replace(/_/g, " ")}` : "Processing..." }),
|
|
4746
|
-
/* @__PURE__ */ a("span", { className:
|
|
4742
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4747
4743
|
"text-[10px]",
|
|
4748
4744
|
h ? "text-amber-400" : "text-amber-600"
|
|
4749
4745
|
), children: "Please wait..." })
|
|
@@ -4751,7 +4747,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4751
4747
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-0.5 ml-1", children: [0, 1, 2].map((B) => /* @__PURE__ */ a(
|
|
4752
4748
|
"div",
|
|
4753
4749
|
{
|
|
4754
|
-
className:
|
|
4750
|
+
className: s(
|
|
4755
4751
|
"w-1.5 h-1.5 rounded-full",
|
|
4756
4752
|
h ? "bg-amber-400" : "bg-amber-500"
|
|
4757
4753
|
),
|
|
@@ -4765,10 +4761,10 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4765
4761
|
]
|
|
4766
4762
|
}
|
|
4767
4763
|
),
|
|
4768
|
-
|
|
4764
|
+
n && t && !F.isActive && /* @__PURE__ */ a(
|
|
4769
4765
|
"div",
|
|
4770
4766
|
{
|
|
4771
|
-
className:
|
|
4767
|
+
className: s(
|
|
4772
4768
|
"absolute top-0 left-0 right-0 aria-animate-fade-in",
|
|
4773
4769
|
"px-4 py-2",
|
|
4774
4770
|
h ? "bg-gradient-to-b from-white/60 to-transparent text-gray-900" : "bg-gradient-to-b from-black/60 to-transparent text-white"
|
|
@@ -4776,14 +4772,14 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4776
4772
|
style: { backdropFilter: "blur(4px)" },
|
|
4777
4773
|
children: /* @__PURE__ */ y("div", { className: "flex items-start gap-2 max-w-full", children: [
|
|
4778
4774
|
/* @__PURE__ */ a("div", { className: "w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse shrink-0 mt-1" }),
|
|
4779
|
-
/* @__PURE__ */ a("p", { ref: P, className: "text-xs leading-relaxed flex-1 max-h-[3.5em] overflow-y-auto scrollbar-hide", children:
|
|
4775
|
+
/* @__PURE__ */ a("p", { ref: P, className: "text-xs leading-relaxed flex-1 max-h-[3.5em] overflow-y-auto scrollbar-hide", children: n })
|
|
4780
4776
|
] })
|
|
4781
4777
|
}
|
|
4782
4778
|
),
|
|
4783
4779
|
t && !c && /* @__PURE__ */ y(
|
|
4784
4780
|
"div",
|
|
4785
4781
|
{
|
|
4786
|
-
className:
|
|
4782
|
+
className: s(
|
|
4787
4783
|
"absolute bottom-4 left-1/2 transform -translate-x-1/2 z-20",
|
|
4788
4784
|
"flex items-center gap-1.5 p-1 rounded-full",
|
|
4789
4785
|
"shadow-xl",
|
|
@@ -4795,7 +4791,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4795
4791
|
"button",
|
|
4796
4792
|
{
|
|
4797
4793
|
onClick: d,
|
|
4798
|
-
className:
|
|
4794
|
+
className: s(
|
|
4799
4795
|
"w-9 h-9 rounded-full flex items-center justify-center transition-all duration-200",
|
|
4800
4796
|
"border-0 outline-none focus:outline-none shadow-sm",
|
|
4801
4797
|
i ? h ? "bg-indigo-600 hover:bg-indigo-700 text-white" : "bg-indigo-500 hover:bg-indigo-600 text-white" : h ? "bg-gray-800/80 hover:bg-gray-700 text-gray-300" : "bg-gray-100/80 hover:bg-gray-200 text-gray-600"
|
|
@@ -4808,7 +4804,7 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4808
4804
|
"button",
|
|
4809
4805
|
{
|
|
4810
4806
|
onClick: g,
|
|
4811
|
-
className:
|
|
4807
|
+
className: s(
|
|
4812
4808
|
"w-9 h-9 rounded-full flex items-center justify-center transition-all duration-200",
|
|
4813
4809
|
"border-0 outline-none focus:outline-none shadow-sm",
|
|
4814
4810
|
l ? "bg-red-500 hover:bg-red-600 text-white" : h ? "bg-gray-800/80 hover:bg-gray-700 text-gray-300" : "bg-gray-100/80 hover:bg-gray-200 text-gray-600"
|
|
@@ -4821,13 +4817,13 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4821
4817
|
"button",
|
|
4822
4818
|
{
|
|
4823
4819
|
onClick: I,
|
|
4824
|
-
className:
|
|
4820
|
+
className: s(
|
|
4825
4821
|
"w-9 h-9 rounded-full flex items-center justify-center transition-all duration-200",
|
|
4826
4822
|
"border-0 outline-none focus:outline-none shadow-sm",
|
|
4827
4823
|
h ? "bg-gray-800/80 hover:bg-gray-700 text-gray-300" : "bg-gray-100/80 hover:bg-gray-200 text-gray-600"
|
|
4828
4824
|
),
|
|
4829
4825
|
title: "Minimize",
|
|
4830
|
-
children: /* @__PURE__ */ a(
|
|
4826
|
+
children: /* @__PURE__ */ a(Br, { className: "h-4 w-4" })
|
|
4831
4827
|
}
|
|
4832
4828
|
),
|
|
4833
4829
|
/* @__PURE__ */ a(
|
|
@@ -4843,11 +4839,11 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4843
4839
|
}
|
|
4844
4840
|
)
|
|
4845
4841
|
] }),
|
|
4846
|
-
i && /* @__PURE__ */ a("div", { className:
|
|
4842
|
+
i && /* @__PURE__ */ a("div", { className: s(
|
|
4847
4843
|
"flex flex-col shrink-0 border-l",
|
|
4848
4844
|
_ ? "w-[320px]" : "w-[360px]",
|
|
4849
4845
|
h ? "bg-gray-900 border-gray-800" : "bg-white border-gray-100"
|
|
4850
|
-
), children: /* @__PURE__ */ a(
|
|
4846
|
+
), children: /* @__PURE__ */ a(Ut, {}) })
|
|
4851
4847
|
] })
|
|
4852
4848
|
}
|
|
4853
4849
|
);
|
|
@@ -4858,50 +4854,50 @@ const Lt = ({ compact: r = !1 }) => {
|
|
|
4858
4854
|
style: o,
|
|
4859
4855
|
as: i = "div"
|
|
4860
4856
|
}) => {
|
|
4861
|
-
const l =
|
|
4862
|
-
|
|
4857
|
+
const l = le(null), [n, c] = T(null);
|
|
4858
|
+
re(() => {
|
|
4863
4859
|
const f = l.current;
|
|
4864
4860
|
if (!f) return;
|
|
4865
4861
|
let E = f.shadowRoot;
|
|
4866
4862
|
E || (E = f.attachShadow({ mode: "open" })), c(E);
|
|
4867
|
-
}, []),
|
|
4868
|
-
if (!
|
|
4869
|
-
const f =
|
|
4863
|
+
}, []), re(() => {
|
|
4864
|
+
if (!n || !e) return;
|
|
4865
|
+
const f = n.querySelector("style[data-aria-styles]");
|
|
4870
4866
|
if (f) {
|
|
4871
4867
|
f.textContent = e;
|
|
4872
4868
|
return;
|
|
4873
4869
|
}
|
|
4874
4870
|
const E = document.createElement("style");
|
|
4875
|
-
return E.setAttribute("data-aria-styles", "true"), E.textContent = e,
|
|
4871
|
+
return E.setAttribute("data-aria-styles", "true"), E.textContent = e, n.prepend(E), () => {
|
|
4876
4872
|
E.remove();
|
|
4877
4873
|
};
|
|
4878
|
-
}, [
|
|
4879
|
-
const [d, g] =
|
|
4880
|
-
return
|
|
4881
|
-
if (!
|
|
4882
|
-
let f =
|
|
4883
|
-
f || (f = document.createElement("div"), f.className = "aria-shadow-content",
|
|
4884
|
-
}, [
|
|
4874
|
+
}, [n, e]);
|
|
4875
|
+
const [d, g] = T(null);
|
|
4876
|
+
return re(() => {
|
|
4877
|
+
if (!n) return;
|
|
4878
|
+
let f = n.querySelector(".aria-shadow-content");
|
|
4879
|
+
f || (f = document.createElement("div"), f.className = "aria-shadow-content", n.appendChild(f)), g(f);
|
|
4880
|
+
}, [n]), /* @__PURE__ */ a(
|
|
4885
4881
|
i,
|
|
4886
4882
|
{
|
|
4887
4883
|
ref: l,
|
|
4888
4884
|
className: t,
|
|
4889
4885
|
style: o,
|
|
4890
|
-
children: d &&
|
|
4886
|
+
children: d && Hr(r, d)
|
|
4891
4887
|
}
|
|
4892
4888
|
);
|
|
4893
|
-
}, Tr = '@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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-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-700:oklch(50.5% .213 27.518);--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-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--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-100:oklch(93% .034 272.788);--color-indigo-300:oklch(78.5% .115 274.713);--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-indigo-700:oklch(45.7% .24 277.023);--color-indigo-900:oklch(35.9% .144 278.697);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--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-purple-900:oklch(38.1% .176 304.987);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--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;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer aria-utilities{.pointer-events-none{pointer-events:none}.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}.static{position:static}.-inset-1\\.5{inset:calc(var(--spacing)*-1.5)}.-inset-2{inset:calc(var(--spacing)*-2)}.-inset-3{inset:calc(var(--spacing)*-3)}.inset-0{inset:calc(var(--spacing)*0)}.inset-8{inset:calc(var(--spacing)*8)}.inset-\\[2px\\]{inset:2px}.inset-\\[3px\\]{inset:3px}.top-0{top:calc(var(--spacing)*0)}.top-3{top:calc(var(--spacing)*3)}.top-4{top:calc(var(--spacing)*4)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-3{bottom:calc(var(--spacing)*3)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-3{left:calc(var(--spacing)*3)}.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-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-1{margin-left:calc(var(--spacing)*1)}.ml-4{margin-left:calc(var(--spacing)*4)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.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-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-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-20{height:calc(var(--spacing)*20)}.h-32{height:calc(var(--spacing)*32)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.h-\\[240px\\]{height:240px}.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-\\[3\\.5em\\]{max-height:3.5em}.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-5{width:calc(var(--spacing)*5)}.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-20{width:calc(var(--spacing)*20)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.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-\\[80\\%\\]{max-width:80%}.max-w-full{max-width:100%}.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-1\\.5{gap:calc(var(--spacing)*1.5)}.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)}.rounded-br-md{border-bottom-right-radius:var(--radius-md)}.rounded-bl-md{border-bottom-left-radius:var(--radius-md)}.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-amber-200{border-color:var(--color-amber-200)}.border-amber-700\\/50{border-color:#b7500080}@supports (color:color-mix(in lab,red,red)){.border-amber-700\\/50{border-color:color-mix(in oklab,var(--color-amber-700)50%,transparent)}}.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-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-50{background-color:var(--color-amber-50)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-600{background-color:var(--color-amber-600)}.bg-amber-800\\/50{background-color:#953d0080}@supports (color:color-mix(in lab,red,red)){.bg-amber-800\\/50{background-color:color-mix(in oklab,var(--color-amber-800)50%,transparent)}}.bg-amber-900\\/30{background-color:#7b33064d}@supports (color:color-mix(in lab,red,red)){.bg-amber-900\\/30{background-color:color-mix(in oklab,var(--color-amber-900)30%,transparent)}}.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-400{background-color:var(--color-emerald-400)}.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-100\\/80{background-color:#f3f4f6cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-100\\/80{background-color:color-mix(in oklab,var(--color-gray-100)80%,transparent)}}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-700{background-color:var(--color-gray-700)}.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-800\\/80{background-color:#1e2939cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\\/80{background-color:color-mix(in oklab,var(--color-gray-800)80%,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\\/90{background-color:#101828e6}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/90{background-color:color-mix(in oklab,var(--color-gray-900)90%,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-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-300{background-color:var(--color-indigo-300)}.bg-indigo-400{background-color:var(--color-indigo-400)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-indigo-900{background-color:var(--color-indigo-900)}.bg-indigo-900\\/30{background-color:#312c854d}@supports (color:color-mix(in lab,red,red)){.bg-indigo-900\\/30{background-color:color-mix(in oklab,var(--color-indigo-900)30%,transparent)}}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-300{background-color:var(--color-purple-300)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-purple-900{background-color:var(--color-purple-900)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.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-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.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-black\\/60{--tw-gradient-from:#0009}@supports (color:color-mix(in lab,red,red)){.from-black\\/60{--tw-gradient-from:color-mix(in oklab,var(--color-black)60%,transparent)}}.from-black\\/60{--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-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-50{--tw-gradient-from: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))}.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))}.from-indigo-50{--tw-gradient-from:var(--color-indigo-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-indigo-400{--tw-gradient-from:var(--color-indigo-400);--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-indigo-500{--tw-gradient-from:var(--color-indigo-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-indigo-900\\/20{--tw-gradient-from:#312c8533}@supports (color:color-mix(in lab,red,red)){.from-indigo-900\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-indigo-900)20%,transparent)}}.from-indigo-900\\/20{--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-white\\/60{--tw-gradient-from:#fff9}@supports (color:color-mix(in lab,red,red)){.from-white\\/60{--tw-gradient-from:color-mix(in oklab,var(--color-white)60%,transparent)}}.from-white\\/60{--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)}.via-purple-400{--tw-gradient-via:var(--color-purple-400);--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)}.via-purple-500{--tw-gradient-via:var(--color-purple-500);--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-gray-950{--tw-gradient-to:var(--color-gray-950);--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-pink-400{--tw-gradient-to:var(--color-pink-400);--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-pink-500{--tw-gradient-to:var(--color-pink-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-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-400{--tw-gradient-to:var(--color-purple-400);--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-purple-600{--tw-gradient-to:var(--color-purple-600);--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-900\\/20{--tw-gradient-to:#59168b33}@supports (color:color-mix(in lab,red,red)){.to-purple-900\\/20{--tw-gradient-to:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.to-purple-900\\/20{--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-transparent{--tw-gradient-to:transparent;--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-3{padding-block:calc(var(--spacing)*3)}.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-\\[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)}.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-200{color:var(--color-amber-200)}.text-amber-400{color:var(--color-amber-400)}.text-amber-600{color:var(--color-amber-600)}.text-amber-800{color:var(--color-amber-800)}.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-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-500{color:var(--color-indigo-500)}.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-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.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-20{opacity:.2}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.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_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)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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)}.ring-2{--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)}.ring-4{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(4px + 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)}.ring-gray-900{--tw-ring-color:var(--color-gray-900)}.ring-white{--tw-ring-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-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-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.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\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-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-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\\:bg-green-200:hover{background-color:var(--color-green-200)}.hover\\:bg-indigo-600:hover{background-color:var(--color-indigo-600)}.hover\\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:text-blue-800:hover{color:var(--color-blue-800)}.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-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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-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-16{inset:calc(var(--spacing)*16)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\\:inset-20{inset:calc(var(--spacing)*20)}}@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\\: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)}}@keyframes aria-loading-bounce{0%,to{opacity:.5;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}.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}.aria-assistant-container .scrollbar-hide::-webkit-scrollbar{display:none}.aria-assistant-container .scrollbar-hide{-ms-overflow-style:none;scrollbar-width: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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-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}}';
|
|
4889
|
+
}, Tr = '@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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-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-700:oklch(50.5% .213 27.518);--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-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--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-100:oklch(93% .034 272.788);--color-indigo-300:oklch(78.5% .115 274.713);--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-indigo-700:oklch(45.7% .24 277.023);--color-indigo-900:oklch(35.9% .144 278.697);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--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-purple-900:oklch(38.1% .176 304.987);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--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;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer aria-utilities{.pointer-events-none{pointer-events:none}.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}.static{position:static}.-inset-1\\.5{inset:calc(var(--spacing)*-1.5)}.-inset-2{inset:calc(var(--spacing)*-2)}.-inset-3{inset:calc(var(--spacing)*-3)}.inset-0{inset:calc(var(--spacing)*0)}.inset-8{inset:calc(var(--spacing)*8)}.inset-\\[2px\\]{inset:2px}.inset-\\[3px\\]{inset:3px}.top-0{top:calc(var(--spacing)*0)}.top-3{top:calc(var(--spacing)*3)}.top-4{top:calc(var(--spacing)*4)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-3{bottom:calc(var(--spacing)*3)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-3{left:calc(var(--spacing)*3)}.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-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-1{margin-left:calc(var(--spacing)*1)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.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-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-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-20{height:calc(var(--spacing)*20)}.h-32{height:calc(var(--spacing)*32)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.h-\\[240px\\]{height:240px}.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-\\[3\\.5em\\]{max-height:3.5em}.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-5{width:calc(var(--spacing)*5)}.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-20{width:calc(var(--spacing)*20)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.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-\\[80\\%\\]{max-width:80%}.max-w-full{max-width:100%}.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-1\\.5{gap:calc(var(--spacing)*1.5)}.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)}.rounded-br-md{border-bottom-right-radius:var(--radius-md)}.rounded-bl-md{border-bottom-left-radius:var(--radius-md)}.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-amber-200{border-color:var(--color-amber-200)}.border-amber-700\\/50{border-color:#b7500080}@supports (color:color-mix(in lab,red,red)){.border-amber-700\\/50{border-color:color-mix(in oklab,var(--color-amber-700)50%,transparent)}}.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-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-50{background-color:var(--color-amber-50)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-600{background-color:var(--color-amber-600)}.bg-amber-800\\/50{background-color:#953d0080}@supports (color:color-mix(in lab,red,red)){.bg-amber-800\\/50{background-color:color-mix(in oklab,var(--color-amber-800)50%,transparent)}}.bg-amber-900\\/30{background-color:#7b33064d}@supports (color:color-mix(in lab,red,red)){.bg-amber-900\\/30{background-color:color-mix(in oklab,var(--color-amber-900)30%,transparent)}}.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-400{background-color:var(--color-emerald-400)}.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-100\\/80{background-color:#f3f4f6cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-100\\/80{background-color:color-mix(in oklab,var(--color-gray-100)80%,transparent)}}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-700{background-color:var(--color-gray-700)}.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-800\\/80{background-color:#1e2939cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\\/80{background-color:color-mix(in oklab,var(--color-gray-800)80%,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\\/90{background-color:#101828e6}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/90{background-color:color-mix(in oklab,var(--color-gray-900)90%,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-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-300{background-color:var(--color-indigo-300)}.bg-indigo-400{background-color:var(--color-indigo-400)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-indigo-900{background-color:var(--color-indigo-900)}.bg-indigo-900\\/30{background-color:#312c854d}@supports (color:color-mix(in lab,red,red)){.bg-indigo-900\\/30{background-color:color-mix(in oklab,var(--color-indigo-900)30%,transparent)}}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-300{background-color:var(--color-purple-300)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-purple-900{background-color:var(--color-purple-900)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.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-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.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-black\\/60{--tw-gradient-from:#0009}@supports (color:color-mix(in lab,red,red)){.from-black\\/60{--tw-gradient-from:color-mix(in oklab,var(--color-black)60%,transparent)}}.from-black\\/60{--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-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-50{--tw-gradient-from: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))}.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))}.from-indigo-50{--tw-gradient-from:var(--color-indigo-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-indigo-400{--tw-gradient-from:var(--color-indigo-400);--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-indigo-500{--tw-gradient-from:var(--color-indigo-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-indigo-900\\/20{--tw-gradient-from:#312c8533}@supports (color:color-mix(in lab,red,red)){.from-indigo-900\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-indigo-900)20%,transparent)}}.from-indigo-900\\/20{--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-white\\/60{--tw-gradient-from:#fff9}@supports (color:color-mix(in lab,red,red)){.from-white\\/60{--tw-gradient-from:color-mix(in oklab,var(--color-white)60%,transparent)}}.from-white\\/60{--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)}.via-purple-400{--tw-gradient-via:var(--color-purple-400);--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)}.via-purple-500{--tw-gradient-via:var(--color-purple-500);--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-gray-950{--tw-gradient-to:var(--color-gray-950);--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-pink-400{--tw-gradient-to:var(--color-pink-400);--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-pink-500{--tw-gradient-to:var(--color-pink-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-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-400{--tw-gradient-to:var(--color-purple-400);--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-purple-600{--tw-gradient-to:var(--color-purple-600);--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-900\\/20{--tw-gradient-to:#59168b33}@supports (color:color-mix(in lab,red,red)){.to-purple-900\\/20{--tw-gradient-to:color-mix(in oklab,var(--color-purple-900)20%,transparent)}}.to-purple-900\\/20{--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-transparent{--tw-gradient-to:transparent;--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-3{padding-block:calc(var(--spacing)*3)}.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-\\[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)}.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-200{color:var(--color-amber-200)}.text-amber-400{color:var(--color-amber-400)}.text-amber-600{color:var(--color-amber-600)}.text-amber-800{color:var(--color-amber-800)}.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-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-500{color:var(--color-indigo-500)}.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-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.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-20{opacity:.2}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.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_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)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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)}.ring-2{--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)}.ring-4{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(4px + 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)}.ring-gray-900{--tw-ring-color:var(--color-gray-900)}.ring-white{--tw-ring-color:var(--color-white)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-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-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.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\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-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-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\\:bg-green-200:hover{background-color:var(--color-green-200)}.hover\\:bg-indigo-600:hover{background-color:var(--color-indigo-600)}.hover\\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:text-blue-800:hover{color:var(--color-blue-800)}.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-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px 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-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-16{inset:calc(var(--spacing)*16)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\\:inset-20{inset:calc(var(--spacing)*20)}}@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\\: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)}}@keyframes aria-loading-bounce{0%,to{opacity:.5;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}.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}.aria-assistant-container .scrollbar-hide::-webkit-scrollbar{display:none}.aria-assistant-container .scrollbar-hide{-ms-overflow-style:none;scrollbar-width: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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-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}}';
|
|
4894
4890
|
function He() {
|
|
4895
4891
|
return Tr;
|
|
4896
4892
|
}
|
|
4897
|
-
const so = Tr,
|
|
4893
|
+
const so = Tr, Gt = ({
|
|
4898
4894
|
label: r,
|
|
4899
4895
|
showAvatar: e = !1,
|
|
4900
4896
|
onTrigger: t,
|
|
4901
4897
|
className: o,
|
|
4902
4898
|
...i
|
|
4903
4899
|
}) => {
|
|
4904
|
-
const { openAssistant: l, isSessionPreloaded:
|
|
4900
|
+
const { openAssistant: l, isSessionPreloaded: n, sessionManagerStatus: c, config: d, isOpen: g, theme: f } = Ee(), E = r || d.triggerLabel || "Talk to Aria", R = f === "dark", V = n || c === "ready";
|
|
4905
4901
|
return g ? null : /* @__PURE__ */ a(
|
|
4906
4902
|
Be,
|
|
4907
4903
|
{
|
|
@@ -4912,13 +4908,13 @@ const so = Tr, Ut = ({
|
|
|
4912
4908
|
right: "1.5rem",
|
|
4913
4909
|
zIndex: 9997
|
|
4914
4910
|
},
|
|
4915
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
4911
|
+
children: /* @__PURE__ */ a("div", { className: s("aria-assistant-container", R && "aria-dark"), children: /* @__PURE__ */ y(
|
|
4916
4912
|
"button",
|
|
4917
4913
|
{
|
|
4918
4914
|
onClick: (x) => {
|
|
4919
4915
|
x.preventDefault(), l("user"), t?.();
|
|
4920
4916
|
},
|
|
4921
|
-
className:
|
|
4917
|
+
className: s(
|
|
4922
4918
|
"group relative flex items-center gap-3 px-3.5 py-2.5 rounded-xl",
|
|
4923
4919
|
"transition-all duration-200 ease-out",
|
|
4924
4920
|
"aria-animate-slide-up",
|
|
@@ -4937,7 +4933,7 @@ const so = Tr, Ut = ({
|
|
|
4937
4933
|
),
|
|
4938
4934
|
...i,
|
|
4939
4935
|
children: [
|
|
4940
|
-
e ? /* @__PURE__ */ y("div", { className:
|
|
4936
|
+
e ? /* @__PURE__ */ y("div", { className: s(
|
|
4941
4937
|
"relative w-9 h-9 rounded-lg overflow-hidden shrink-0",
|
|
4942
4938
|
"shadow-sm transition-all duration-200",
|
|
4943
4939
|
R ? "bg-gray-800" : "bg-gray-100"
|
|
@@ -4962,22 +4958,22 @@ const so = Tr, Ut = ({
|
|
|
4962
4958
|
children: /* @__PURE__ */ a(Ge, { className: "w-4 h-4" })
|
|
4963
4959
|
}
|
|
4964
4960
|
),
|
|
4965
|
-
/* @__PURE__ */ a("span", { className:
|
|
4961
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4966
4962
|
"absolute bottom-0 right-0 w-2.5 h-2.5 rounded-full border-2",
|
|
4967
4963
|
R ? "border-gray-900" : "border-white",
|
|
4968
4964
|
V ? "bg-emerald-500" : "bg-amber-500 animate-pulse"
|
|
4969
4965
|
) })
|
|
4970
|
-
] }) : /* @__PURE__ */ a("div", { className:
|
|
4966
|
+
] }) : /* @__PURE__ */ a("div", { className: s(
|
|
4971
4967
|
"relative w-9 h-9 rounded-lg flex items-center justify-center shrink-0",
|
|
4972
4968
|
"aria-gradient-bg text-white shadow-sm",
|
|
4973
4969
|
"transition-transform duration-200 group-hover:scale-105"
|
|
4974
4970
|
), children: /* @__PURE__ */ a(Ge, { className: "w-4 h-4" }) }),
|
|
4975
4971
|
/* @__PURE__ */ y("div", { className: "relative flex flex-col items-start min-w-0 text-left", children: [
|
|
4976
|
-
/* @__PURE__ */ a("span", { className:
|
|
4972
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4977
4973
|
"font-bold text-[13px] tracking-tight leading-none",
|
|
4978
4974
|
R ? "text-white" : "text-gray-900"
|
|
4979
4975
|
), children: E }),
|
|
4980
|
-
/* @__PURE__ */ a("span", { className:
|
|
4976
|
+
/* @__PURE__ */ a("span", { className: s(
|
|
4981
4977
|
"text-[10px] font-medium mt-1 leading-none opacity-70",
|
|
4982
4978
|
R ? "text-gray-400" : "text-gray-500"
|
|
4983
4979
|
), children: "I'm here to chat" })
|
|
@@ -4987,20 +4983,20 @@ const so = Tr, Ut = ({
|
|
|
4987
4983
|
) })
|
|
4988
4984
|
}
|
|
4989
4985
|
);
|
|
4990
|
-
},
|
|
4986
|
+
}, Qt = ({
|
|
4991
4987
|
showTrigger: r = !0,
|
|
4992
4988
|
showAvatar: e = !0,
|
|
4993
4989
|
triggerLabel: t
|
|
4994
4990
|
}) => {
|
|
4995
|
-
const { isOpen: o, isMinimized: i, closeAssistant: l, minimizeAssistant:
|
|
4991
|
+
const { isOpen: o, isMinimized: i, closeAssistant: l, minimizeAssistant: n } = Ee();
|
|
4996
4992
|
return /* @__PURE__ */ y(Ie, { children: [
|
|
4997
|
-
r && !o && /* @__PURE__ */ a(
|
|
4993
|
+
r && !o && /* @__PURE__ */ a(Gt, { showAvatar: e, label: t }),
|
|
4998
4994
|
o && /* @__PURE__ */ y(Ie, { children: [
|
|
4999
4995
|
!i && /* @__PURE__ */ a(
|
|
5000
4996
|
"div",
|
|
5001
4997
|
{
|
|
5002
4998
|
onClick: (c) => {
|
|
5003
|
-
c.preventDefault(), c.stopPropagation(),
|
|
4999
|
+
c.preventDefault(), c.stopPropagation(), n();
|
|
5004
5000
|
},
|
|
5005
5001
|
style: {
|
|
5006
5002
|
position: "fixed",
|
|
@@ -5030,12 +5026,12 @@ const so = Tr, Ut = ({
|
|
|
5030
5026
|
)
|
|
5031
5027
|
] })
|
|
5032
5028
|
] });
|
|
5033
|
-
},
|
|
5034
|
-
const [t, o] =
|
|
5029
|
+
}, lo = ({ config: r, children: e }) => {
|
|
5030
|
+
const [t, o] = T(!1), [i, l] = T(!1), [n, c] = T(!1), [d, g] = T(!1), [f, E] = T([]), [R, V] = T(""), [x, I] = T(!1), [j, F] = T(!1), [L, P] = T(null), [h, _] = T("user"), [J, B] = T("bottom-right"), [k, q] = T({
|
|
5035
5031
|
isActive: !1,
|
|
5036
5032
|
toolName: null,
|
|
5037
5033
|
toolData: null
|
|
5038
|
-
}), [oe, X] =
|
|
5034
|
+
}), [oe, X] = T({
|
|
5039
5035
|
session_id: null,
|
|
5040
5036
|
token: null,
|
|
5041
5037
|
expires_at: null,
|
|
@@ -5043,17 +5039,17 @@ const so = Tr, Ut = ({
|
|
|
5043
5039
|
lastError: null,
|
|
5044
5040
|
isPreloaded: !1,
|
|
5045
5041
|
isRefreshing: !1
|
|
5046
|
-
}), [G,
|
|
5042
|
+
}), [G, pe] = T("idle"), [ae, A] = T(!1), U = r.theme || "light", w = le(null), v = le(null), de = le(null), ge = le(!0), ie = M((u) => {
|
|
5047
5043
|
const { newStatus: S } = u.data;
|
|
5048
|
-
|
|
5049
|
-
}, [t]),
|
|
5044
|
+
pe(S), S === "preloading" || S === "connecting" ? t && g(!0) : S === "ready" ? (g(!1), c(!0)) : S === "error" && g(!1);
|
|
5045
|
+
}, [t]), te = M((u) => {
|
|
5050
5046
|
const S = u.data;
|
|
5051
|
-
if (console.log("[AriaProvider] Session ready event:", S),
|
|
5052
|
-
const $ =
|
|
5047
|
+
if (console.log("[AriaProvider] Session ready event:", S), w.current) {
|
|
5048
|
+
const $ = w.current.getSessionState();
|
|
5053
5049
|
X($);
|
|
5054
5050
|
}
|
|
5055
|
-
if (S.lazyInit && S.tokenReady && t &&
|
|
5056
|
-
console.log("[AriaProvider] Token received while widget is open, initializing Anam client"), g(!0),
|
|
5051
|
+
if (S.lazyInit && S.tokenReady && t && w.current && !w.current.isAnamClientInitialized()) {
|
|
5052
|
+
console.log("[AriaProvider] Token received while widget is open, initializing Anam client"), g(!0), w.current.initializeSessionOnDemand().then(() => {
|
|
5057
5053
|
console.log("[AriaProvider] Anam client initialized after token received"), g(!1), c(!0), P(null);
|
|
5058
5054
|
}).catch((Ae) => {
|
|
5059
5055
|
console.error("[AriaProvider] Failed to initialize Anam client:", Ae), g(!1), P(Ae instanceof Error ? Ae.message : "Failed to initialize session");
|
|
@@ -5061,27 +5057,27 @@ const so = Tr, Ut = ({
|
|
|
5061
5057
|
return;
|
|
5062
5058
|
}
|
|
5063
5059
|
c(!0), g(!1), P(null);
|
|
5064
|
-
}, [t]),
|
|
5060
|
+
}, [t]), W = M((u) => {
|
|
5065
5061
|
const S = u.error?.message || "Session error";
|
|
5066
|
-
if (console.error("[AriaProvider] Session error:", S), P(S), g(!1),
|
|
5067
|
-
const $ =
|
|
5062
|
+
if (console.error("[AriaProvider] Session error:", S), P(S), g(!1), w.current) {
|
|
5063
|
+
const $ = w.current.getSessionState();
|
|
5068
5064
|
X($);
|
|
5069
5065
|
}
|
|
5070
|
-
}, []),
|
|
5066
|
+
}, []), H = M((u) => {
|
|
5071
5067
|
const { connected: S } = u.data;
|
|
5072
|
-
if (c(S), !S &&
|
|
5073
|
-
const $ =
|
|
5068
|
+
if (c(S), !S && w.current) {
|
|
5069
|
+
const $ = w.current.getSessionState();
|
|
5074
5070
|
X($);
|
|
5075
5071
|
}
|
|
5076
|
-
}, []),
|
|
5072
|
+
}, []), K = M((u) => {
|
|
5077
5073
|
const { messages: S } = u.data;
|
|
5078
5074
|
S && E(S);
|
|
5079
|
-
}, []),
|
|
5075
|
+
}, []), ne = M((u) => {
|
|
5080
5076
|
const { liveTranscript: S } = u.data;
|
|
5081
5077
|
S !== void 0 && V(S);
|
|
5082
|
-
}, []), ce = M((u) => {
|
|
5083
|
-
console.log("[AriaProvider] WebSocket trigger event:", u.data), le.current?.("websocket");
|
|
5084
5078
|
}, []), D = M((u) => {
|
|
5079
|
+
console.log("[AriaProvider] WebSocket trigger event:", u.data), de.current?.("websocket");
|
|
5080
|
+
}, []), se = M((u) => {
|
|
5085
5081
|
const S = u.data;
|
|
5086
5082
|
console.log("[AriaProvider] Tool call event:", S), q({
|
|
5087
5083
|
isActive: S.isActive,
|
|
@@ -5089,108 +5085,110 @@ const so = Tr, Ut = ({
|
|
|
5089
5085
|
toolData: S.toolData
|
|
5090
5086
|
});
|
|
5091
5087
|
}, []);
|
|
5092
|
-
|
|
5088
|
+
re(() => {
|
|
5093
5089
|
const u = Q.getInstance(r);
|
|
5094
|
-
|
|
5090
|
+
w.current = u, u.addEventListener("status_change", ie), u.addEventListener("session_ready", te), u.addEventListener("session_error", W), u.addEventListener("connection_change", H), u.addEventListener("message_history", K), u.addEventListener("message_stream", ne), u.addEventListener("tool_call", se), u.setWebSocketTriggerCallback(D), X(u.getSessionState()), pe(u.getStatus()), c(u.isConnected()), E(u.getChatMessages()), V(u.getLiveTranscript()), F(u.isMuted()), A(u.isSessionPaused());
|
|
5095
5091
|
const S = u.getToolCallState();
|
|
5096
5092
|
return q(S), !u.isConnected() && u.getStatus() === "idle" && u.connect(), () => {
|
|
5097
|
-
u.removeEventListener("status_change", ie), u.removeEventListener("session_ready",
|
|
5093
|
+
u.removeEventListener("status_change", ie), u.removeEventListener("session_ready", te), u.removeEventListener("session_error", W), u.removeEventListener("connection_change", H), u.removeEventListener("message_history", K), u.removeEventListener("message_stream", ne), u.removeEventListener("tool_call", se), u.setWebSocketTriggerCallback(null);
|
|
5098
5094
|
};
|
|
5099
5095
|
}, [
|
|
5100
5096
|
r,
|
|
5101
5097
|
ie,
|
|
5102
|
-
|
|
5103
|
-
re,
|
|
5098
|
+
te,
|
|
5104
5099
|
W,
|
|
5105
5100
|
H,
|
|
5106
5101
|
K,
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5102
|
+
ne,
|
|
5103
|
+
se,
|
|
5104
|
+
D
|
|
5105
|
+
]), re(() => (ge.current = !0, () => {
|
|
5106
|
+
ge.current = !1, w.current && (console.log("[AriaProvider] Component unmounting, ending session"), w.current.forceEndSession());
|
|
5107
|
+
}), []);
|
|
5108
|
+
const he = M((u) => {
|
|
5111
5109
|
const S = v.current;
|
|
5112
|
-
v.current = u, u &&
|
|
5113
|
-
}, []),
|
|
5114
|
-
if (!
|
|
5110
|
+
v.current = u, u && w.current ? (console.log("[AriaProvider] Attaching video stream to element"), w.current.attachToVideoElement(u)) : !u && S && w.current && (console.log("[AriaProvider] Detaching video stream from element"), w.current.detachFromVideoElement(S));
|
|
5111
|
+
}, []), me = M((u) => {
|
|
5112
|
+
if (!w.current) {
|
|
5115
5113
|
console.error("[AriaProvider] Session manager not initialized");
|
|
5116
5114
|
return;
|
|
5117
5115
|
}
|
|
5118
5116
|
const S = u?.userTrigger ?? !0;
|
|
5119
|
-
|
|
5120
|
-
}, []), me = M(async () => {
|
|
5121
|
-
b.current && (b.current.isConnected() || b.current.connect());
|
|
5117
|
+
w.current.triggerSession(S);
|
|
5122
5118
|
}, []), be = M(async () => {
|
|
5123
|
-
|
|
5119
|
+
w.current && (w.current.isConnected() || w.current.connect());
|
|
5120
|
+
}, []), fe = M(async () => {
|
|
5121
|
+
if (w.current)
|
|
5124
5122
|
try {
|
|
5125
|
-
await
|
|
5126
|
-
const u =
|
|
5123
|
+
await w.current.forceEndSession(), c(!1), E([]), V("");
|
|
5124
|
+
const u = w.current.getSessionState();
|
|
5127
5125
|
X(u);
|
|
5128
5126
|
} catch (u) {
|
|
5129
5127
|
const S = u instanceof Error ? u.message : "Failed to stop session";
|
|
5130
5128
|
P(S), r.onError?.(u instanceof Error ? u : new Error(S));
|
|
5131
5129
|
}
|
|
5132
|
-
}, [r]),
|
|
5133
|
-
|
|
5134
|
-
}, []),
|
|
5135
|
-
if (_(u), B(u === "websocket" ? "center" : "bottom-right"), o(!0), l(!1), P(null), !
|
|
5136
|
-
const S =
|
|
5130
|
+
}, [r]), b = M(async () => {
|
|
5131
|
+
w.current && await w.current.refreshSession();
|
|
5132
|
+
}, []), N = M((u = "user") => {
|
|
5133
|
+
if (_(u), B(u === "websocket" ? "center" : "bottom-right"), o(!0), l(!1), P(null), !w.current) return;
|
|
5134
|
+
const S = w.current.isSessionPaused();
|
|
5137
5135
|
if (console.log("[AriaProvider] openAssistant - isSessionPaused:", S, "persistSession:", r.persistSession), S) {
|
|
5138
|
-
console.log("[AriaProvider] Resuming paused session"), g(!0),
|
|
5136
|
+
console.log("[AriaProvider] Resuming paused session"), g(!0), w.current.resumeSession().then((ee) => {
|
|
5139
5137
|
if (A(!1), ee) {
|
|
5140
5138
|
console.log("[AriaProvider] Session resumed successfully"), g(!1), c(!0);
|
|
5141
|
-
const Ye =
|
|
5142
|
-
X(Ye), E(
|
|
5139
|
+
const Ye = w.current.getSessionState();
|
|
5140
|
+
X(Ye), E(w.current.getChatMessages());
|
|
5143
5141
|
} else
|
|
5144
|
-
console.log("[AriaProvider] Session could not be resumed, starting new session"),
|
|
5142
|
+
console.log("[AriaProvider] Session could not be resumed, starting new session"), w.current.hasSessionToken() ? w.current.initializeSessionOnDemand().then(() => {
|
|
5145
5143
|
console.log("[AriaProvider] New session initialized after failed resume"), g(!1), c(!0);
|
|
5146
|
-
const Te =
|
|
5144
|
+
const Te = w.current.getSessionState();
|
|
5147
5145
|
X(Te);
|
|
5148
5146
|
}).catch((Te) => {
|
|
5149
5147
|
console.error("[AriaProvider] Failed to initialize new session:", Te), g(!1), P(Te instanceof Error ? Te.message : "Failed to start new session");
|
|
5150
|
-
}) :
|
|
5148
|
+
}) : w.current.isConnected() ? console.log("[AriaProvider] Waiting for new session token...") : (console.log("[AriaProvider] Connecting to get new session token"), w.current.connect());
|
|
5151
5149
|
}).catch((ee) => {
|
|
5152
5150
|
console.error("[AriaProvider] Failed to resume session:", ee), g(!1), A(!1), P(ee instanceof Error ? ee.message : "Failed to resume session");
|
|
5153
5151
|
});
|
|
5154
5152
|
return;
|
|
5155
5153
|
}
|
|
5156
|
-
const $ =
|
|
5157
|
-
console.log("[AriaProvider] openAssistant - isAnamReady:", $, "hasToken:", Ae, "status:", Ze), $ && Ze === "ready" ? (g(!1), c(!0), console.log("[AriaProvider] Opening with already initialized session")) : Ae ? (g(!0), console.log("[AriaProvider] Initializing Anam client on demand (lazy init)"),
|
|
5154
|
+
const $ = w.current.isAnamClientInitialized(), Ae = w.current.hasSessionToken(), Ze = w.current.getStatus();
|
|
5155
|
+
console.log("[AriaProvider] openAssistant - isAnamReady:", $, "hasToken:", Ae, "status:", Ze), $ && Ze === "ready" ? (g(!1), c(!0), console.log("[AriaProvider] Opening with already initialized session")) : Ae ? (g(!0), console.log("[AriaProvider] Initializing Anam client on demand (lazy init)"), w.current.initializeSessionOnDemand().then(() => {
|
|
5158
5156
|
console.log("[AriaProvider] Anam client initialized successfully"), g(!1), c(!0);
|
|
5159
|
-
const ee =
|
|
5157
|
+
const ee = w.current.getSessionState();
|
|
5160
5158
|
X(ee);
|
|
5161
5159
|
}).catch((ee) => {
|
|
5162
5160
|
console.error("[AriaProvider] Failed to initialize Anam client:", ee), g(!1), ee.message?.includes("expired") ? P("Session expired, getting a new session...") : P(ee instanceof Error ? ee.message : "Failed to initialize session");
|
|
5163
|
-
})) : (g(!0), console.log("[AriaProvider] Opening, waiting for session token..."),
|
|
5161
|
+
})) : (g(!0), console.log("[AriaProvider] Opening, waiting for session token..."), w.current.isConnected() ? console.log("[AriaProvider] WebSocket connected, waiting for token response...") : (console.log("[AriaProvider] WebSocket not connected, connecting..."), w.current.connect()));
|
|
5164
5162
|
}, [r.persistSession]);
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
}, [
|
|
5168
|
-
const
|
|
5163
|
+
re(() => {
|
|
5164
|
+
de.current = N;
|
|
5165
|
+
}, [N]);
|
|
5166
|
+
const Z = M(() => {
|
|
5169
5167
|
console.log("[AriaProvider] Minimizing assistant"), l(!0);
|
|
5170
|
-
}, []), Z = M(() => {
|
|
5171
|
-
console.log("[AriaProvider] Maximizing assistant"), l(!1);
|
|
5172
5168
|
}, []), ye = M(() => {
|
|
5173
|
-
|
|
5169
|
+
console.log("[AriaProvider] Maximizing assistant"), l(!1);
|
|
5174
5170
|
}, []), Ne = M(() => {
|
|
5171
|
+
o(!1), l(!1), w.current && (v.current && w.current.detachFromVideoElement(v.current), V(""), console.log("[AriaProvider] Pausing session (widget closed)"), w.current.pauseSession(), A(!0));
|
|
5172
|
+
}, []), Y = M(() => {
|
|
5175
5173
|
I((u) => !u);
|
|
5176
|
-
}, []),
|
|
5177
|
-
if (!
|
|
5174
|
+
}, []), Pe = M(async (u) => {
|
|
5175
|
+
if (!w.current || !n)
|
|
5178
5176
|
throw new Error("Not connected to Aria");
|
|
5179
5177
|
try {
|
|
5180
|
-
await
|
|
5178
|
+
await w.current.sendMessage(u);
|
|
5181
5179
|
} catch (S) {
|
|
5182
5180
|
const $ = S instanceof Error ? S.message : "Failed to send message";
|
|
5183
5181
|
throw P($), r.onError?.(S instanceof Error ? S : new Error($)), S;
|
|
5184
5182
|
}
|
|
5185
|
-
}, [
|
|
5186
|
-
if (!
|
|
5187
|
-
const u =
|
|
5183
|
+
}, [n, r]), xe = M(() => {
|
|
5184
|
+
if (!w.current) return;
|
|
5185
|
+
const u = w.current.toggleMute();
|
|
5188
5186
|
F(u);
|
|
5189
|
-
}, []),
|
|
5187
|
+
}, []), Rr = M(() => oe.session_id, [oe.session_id]), zr = {
|
|
5190
5188
|
// UI State
|
|
5191
5189
|
isOpen: t,
|
|
5192
5190
|
isMinimized: i,
|
|
5193
|
-
isConnected:
|
|
5191
|
+
isConnected: n,
|
|
5194
5192
|
isLoading: d,
|
|
5195
5193
|
chatMessages: f,
|
|
5196
5194
|
liveTranscript: R,
|
|
@@ -5205,18 +5203,18 @@ const so = Tr, Ut = ({
|
|
|
5205
5203
|
isSessionPreloaded: oe.isPreloaded && G === "ready",
|
|
5206
5204
|
isSessionPaused: ae,
|
|
5207
5205
|
// Actions
|
|
5208
|
-
openAssistant:
|
|
5209
|
-
closeAssistant:
|
|
5210
|
-
minimizeAssistant:
|
|
5211
|
-
maximizeAssistant:
|
|
5212
|
-
toggleChat:
|
|
5213
|
-
sendMessage:
|
|
5214
|
-
toggleMute:
|
|
5215
|
-
startSession:
|
|
5216
|
-
stopSession:
|
|
5217
|
-
triggerSession:
|
|
5218
|
-
refreshSession:
|
|
5219
|
-
setVideoElement:
|
|
5206
|
+
openAssistant: N,
|
|
5207
|
+
closeAssistant: Ne,
|
|
5208
|
+
minimizeAssistant: Z,
|
|
5209
|
+
maximizeAssistant: ye,
|
|
5210
|
+
toggleChat: Y,
|
|
5211
|
+
sendMessage: Pe,
|
|
5212
|
+
toggleMute: xe,
|
|
5213
|
+
startSession: be,
|
|
5214
|
+
stopSession: fe,
|
|
5215
|
+
triggerSession: me,
|
|
5216
|
+
refreshSession: b,
|
|
5217
|
+
setVideoElement: he,
|
|
5220
5218
|
// Display State
|
|
5221
5219
|
displayMode: J,
|
|
5222
5220
|
triggerMode: h,
|
|
@@ -5224,12 +5222,12 @@ const so = Tr, Ut = ({
|
|
|
5224
5222
|
// Config
|
|
5225
5223
|
config: r,
|
|
5226
5224
|
// Utilities
|
|
5227
|
-
getSessionId:
|
|
5225
|
+
getSessionId: Rr
|
|
5228
5226
|
};
|
|
5229
|
-
return /* @__PURE__ */ y(hr.Provider, { value:
|
|
5227
|
+
return /* @__PURE__ */ y(hr.Provider, { value: zr, children: [
|
|
5230
5228
|
e,
|
|
5231
5229
|
r.showAssistant !== !1 && /* @__PURE__ */ a(
|
|
5232
|
-
|
|
5230
|
+
Qt,
|
|
5233
5231
|
{
|
|
5234
5232
|
showTrigger: r.showFloatingButton !== !1,
|
|
5235
5233
|
showAvatar: !0,
|
|
@@ -5237,7 +5235,7 @@ const so = Tr, Ut = ({
|
|
|
5237
5235
|
}
|
|
5238
5236
|
)
|
|
5239
5237
|
] });
|
|
5240
|
-
},
|
|
5238
|
+
}, co = () => {
|
|
5241
5239
|
const {
|
|
5242
5240
|
sessionState: r,
|
|
5243
5241
|
sessionManagerStatus: e,
|
|
@@ -5245,7 +5243,7 @@ const so = Tr, Ut = ({
|
|
|
5245
5243
|
isSessionPaused: o,
|
|
5246
5244
|
isConnected: i,
|
|
5247
5245
|
isLoading: l,
|
|
5248
|
-
stopSession:
|
|
5246
|
+
stopSession: n,
|
|
5249
5247
|
refreshSession: c,
|
|
5250
5248
|
startSession: d,
|
|
5251
5249
|
triggerSession: g,
|
|
@@ -5282,8 +5280,8 @@ const so = Tr, Ut = ({
|
|
|
5282
5280
|
f,
|
|
5283
5281
|
E
|
|
5284
5282
|
]), V = M(async () => {
|
|
5285
|
-
await
|
|
5286
|
-
}, [
|
|
5283
|
+
await n();
|
|
5284
|
+
}, [n]), x = M(async () => {
|
|
5287
5285
|
await c();
|
|
5288
5286
|
}, [c]), I = M(async () => {
|
|
5289
5287
|
await d();
|
|
@@ -5296,7 +5294,7 @@ const so = Tr, Ut = ({
|
|
|
5296
5294
|
triggerSession: j
|
|
5297
5295
|
}), [V, x, I, j]);
|
|
5298
5296
|
return { session: R, actions: F };
|
|
5299
|
-
},
|
|
5297
|
+
}, go = ({ open: r, onOpenChange: e, children: t }) => /* @__PURE__ */ a(Ie, { children: r && /* @__PURE__ */ y("div", { className: "fixed inset-0 z-50 flex items-center justify-center aria-animate-fade-in", children: [
|
|
5300
5298
|
/* @__PURE__ */ a(
|
|
5301
5299
|
"div",
|
|
5302
5300
|
{
|
|
@@ -5305,12 +5303,12 @@ const so = Tr, Ut = ({
|
|
|
5305
5303
|
}
|
|
5306
5304
|
),
|
|
5307
5305
|
t
|
|
5308
|
-
] }) }),
|
|
5306
|
+
] }) }), qt = ce.forwardRef(
|
|
5309
5307
|
({ className: r, children: e, ...t }, o) => /* @__PURE__ */ a(
|
|
5310
5308
|
"div",
|
|
5311
5309
|
{
|
|
5312
5310
|
ref: o,
|
|
5313
|
-
className:
|
|
5311
|
+
className: s(
|
|
5314
5312
|
"fixed z-50 bg-background shadow-2xl rounded-2xl border aria-animate-scale-in",
|
|
5315
5313
|
"max-h-[90vh] overflow-auto",
|
|
5316
5314
|
r
|
|
@@ -5320,41 +5318,41 @@ const so = Tr, Ut = ({
|
|
|
5320
5318
|
}
|
|
5321
5319
|
)
|
|
5322
5320
|
);
|
|
5323
|
-
|
|
5324
|
-
const
|
|
5321
|
+
qt.displayName = "DialogContent";
|
|
5322
|
+
const Kt = ({
|
|
5325
5323
|
className: r,
|
|
5326
5324
|
...e
|
|
5327
5325
|
}) => /* @__PURE__ */ a(
|
|
5328
5326
|
"div",
|
|
5329
5327
|
{
|
|
5330
|
-
className:
|
|
5328
|
+
className: s(
|
|
5331
5329
|
"flex flex-col space-y-2 text-center sm:text-left p-6 pb-4",
|
|
5332
5330
|
r
|
|
5333
5331
|
),
|
|
5334
5332
|
...e
|
|
5335
5333
|
}
|
|
5336
5334
|
);
|
|
5337
|
-
|
|
5338
|
-
const
|
|
5335
|
+
Kt.displayName = "DialogHeader";
|
|
5336
|
+
const Jt = ce.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
|
|
5339
5337
|
"h2",
|
|
5340
5338
|
{
|
|
5341
5339
|
ref: t,
|
|
5342
|
-
className:
|
|
5340
|
+
className: s(
|
|
5343
5341
|
"text-lg font-semibold leading-none tracking-tight",
|
|
5344
5342
|
r
|
|
5345
5343
|
),
|
|
5346
5344
|
...e
|
|
5347
5345
|
}
|
|
5348
5346
|
));
|
|
5349
|
-
|
|
5350
|
-
const
|
|
5347
|
+
Jt.displayName = "DialogTitle";
|
|
5348
|
+
const Xt = ({
|
|
5351
5349
|
className: r,
|
|
5352
5350
|
onClick: e,
|
|
5353
5351
|
...t
|
|
5354
5352
|
}) => /* @__PURE__ */ y(
|
|
5355
5353
|
"button",
|
|
5356
5354
|
{
|
|
5357
|
-
className:
|
|
5355
|
+
className: s(
|
|
5358
5356
|
"absolute right-4 top-4 rounded-xl p-1.5",
|
|
5359
5357
|
"opacity-70 transition-all duration-200",
|
|
5360
5358
|
"hover:opacity-100 hover:bg-muted",
|
|
@@ -5370,12 +5368,12 @@ const Jt = ({
|
|
|
5370
5368
|
]
|
|
5371
5369
|
}
|
|
5372
5370
|
);
|
|
5373
|
-
|
|
5374
|
-
function
|
|
5371
|
+
Xt.displayName = "DialogClose";
|
|
5372
|
+
function Zt(r) {
|
|
5375
5373
|
return !r || typeof r != "string" ? !1 : r.split(".").length === 3;
|
|
5376
5374
|
}
|
|
5377
5375
|
function Xe(r) {
|
|
5378
|
-
if (!
|
|
5376
|
+
if (!Zt(r))
|
|
5379
5377
|
return null;
|
|
5380
5378
|
try {
|
|
5381
5379
|
const o = r.split(".")[1].replace(/-/g, "+").replace(/_/g, "/"), i = o.padEnd(o.length + (4 - o.length % 4) % 4, "="), l = atob(i);
|
|
@@ -5384,7 +5382,7 @@ function Xe(r) {
|
|
|
5384
5382
|
return console.error("Failed to decode JWT:", e), null;
|
|
5385
5383
|
}
|
|
5386
5384
|
}
|
|
5387
|
-
function
|
|
5385
|
+
function Yt(r) {
|
|
5388
5386
|
const e = Xe(r);
|
|
5389
5387
|
if (!e)
|
|
5390
5388
|
return null;
|
|
@@ -5402,7 +5400,7 @@ function Zt(r) {
|
|
|
5402
5400
|
return e[o];
|
|
5403
5401
|
return null;
|
|
5404
5402
|
}
|
|
5405
|
-
function
|
|
5403
|
+
function ho(r) {
|
|
5406
5404
|
const e = Xe(r);
|
|
5407
5405
|
if (!e)
|
|
5408
5406
|
return {
|
|
@@ -5411,7 +5409,7 @@ function go(r) {
|
|
|
5411
5409
|
exp: null,
|
|
5412
5410
|
iat: null
|
|
5413
5411
|
};
|
|
5414
|
-
const t =
|
|
5412
|
+
const t = Yt(r), o = typeof e.exp == "number" ? e.exp : null, i = typeof e.iat == "number" ? e.iat : null;
|
|
5415
5413
|
return {
|
|
5416
5414
|
sessionId: t,
|
|
5417
5415
|
payload: e,
|
|
@@ -5419,23 +5417,23 @@ function go(r) {
|
|
|
5419
5417
|
iat: i
|
|
5420
5418
|
};
|
|
5421
5419
|
}
|
|
5422
|
-
function
|
|
5420
|
+
function uo(r) {
|
|
5423
5421
|
const e = Xe(r);
|
|
5424
5422
|
if (!e || typeof e.exp != "number")
|
|
5425
5423
|
return !0;
|
|
5426
5424
|
const t = Math.floor(Date.now() / 1e3);
|
|
5427
5425
|
return e.exp < t;
|
|
5428
5426
|
}
|
|
5429
|
-
const
|
|
5427
|
+
const $t = ({
|
|
5430
5428
|
theme: r,
|
|
5431
5429
|
triggerLabel: e,
|
|
5432
5430
|
container: t
|
|
5433
5431
|
}) => {
|
|
5434
|
-
const [o, i] =
|
|
5432
|
+
const [o, i] = T(!1), [l, n] = T(!1), [c, d] = T(!1), [g, f] = T(!1), [E, R] = T([]), [V, x] = T(""), [I, j] = T(!1), [F, L] = T(!1), [P, h] = T(null), [_, J] = T("user"), [B, k] = T("bottom-right"), [q, oe] = T({
|
|
5435
5433
|
isActive: !1,
|
|
5436
5434
|
toolName: null,
|
|
5437
5435
|
toolData: null
|
|
5438
|
-
}), [X, G] =
|
|
5436
|
+
}), [X, G] = T({
|
|
5439
5437
|
session_id: null,
|
|
5440
5438
|
token: null,
|
|
5441
5439
|
expires_at: null,
|
|
@@ -5443,45 +5441,45 @@ const Yt = ({
|
|
|
5443
5441
|
lastError: null,
|
|
5444
5442
|
isPreloaded: !1,
|
|
5445
5443
|
isRefreshing: !1
|
|
5446
|
-
}), [,
|
|
5447
|
-
const { newStatus:
|
|
5448
|
-
|
|
5449
|
-
}, [o]), v = M((
|
|
5450
|
-
if (console.log("[AriaStandaloneUI] Session ready event:",
|
|
5451
|
-
const
|
|
5452
|
-
G(
|
|
5444
|
+
}), [, pe] = T("idle"), [, ae] = T(!1), A = le(null), U = le(null), w = M((b) => {
|
|
5445
|
+
const { newStatus: N } = b.data;
|
|
5446
|
+
pe(N), N === "preloading" || N === "connecting" ? o && f(!0) : N === "ready" ? (f(!1), d(!0)) : N === "error" && f(!1);
|
|
5447
|
+
}, [o]), v = M((b) => {
|
|
5448
|
+
if (console.log("[AriaStandaloneUI] Session ready event:", b.data), A.current) {
|
|
5449
|
+
const N = A.current.getSessionState();
|
|
5450
|
+
G(N);
|
|
5453
5451
|
}
|
|
5454
5452
|
d(!0), f(!1), h(null);
|
|
5455
|
-
}, []),
|
|
5456
|
-
const
|
|
5457
|
-
if (console.error("[AriaStandaloneUI] Session error:",
|
|
5453
|
+
}, []), de = M((b) => {
|
|
5454
|
+
const N = b.error?.message || "Session error";
|
|
5455
|
+
if (console.error("[AriaStandaloneUI] Session error:", N), h(N), f(!1), A.current) {
|
|
5458
5456
|
const Z = A.current.getSessionState();
|
|
5459
5457
|
G(Z);
|
|
5460
5458
|
}
|
|
5461
|
-
}, []),
|
|
5462
|
-
const { connected:
|
|
5463
|
-
if (d(
|
|
5459
|
+
}, []), ge = M((b) => {
|
|
5460
|
+
const { connected: N } = b.data;
|
|
5461
|
+
if (d(N), !N && A.current) {
|
|
5464
5462
|
const Z = A.current.getSessionState();
|
|
5465
5463
|
G(Z);
|
|
5466
5464
|
}
|
|
5467
|
-
}, []),
|
|
5468
|
-
const { messages:
|
|
5469
|
-
|
|
5470
|
-
}, []),
|
|
5471
|
-
const { liveTranscript:
|
|
5472
|
-
|
|
5473
|
-
}, []), W = M((
|
|
5474
|
-
const
|
|
5465
|
+
}, []), ie = M((b) => {
|
|
5466
|
+
const { messages: N } = b.data;
|
|
5467
|
+
N && R(N);
|
|
5468
|
+
}, []), te = M((b) => {
|
|
5469
|
+
const { liveTranscript: N } = b.data;
|
|
5470
|
+
N !== void 0 && x(N);
|
|
5471
|
+
}, []), W = M((b) => {
|
|
5472
|
+
const N = b.data;
|
|
5475
5473
|
oe({
|
|
5476
|
-
isActive:
|
|
5477
|
-
toolName:
|
|
5478
|
-
toolData:
|
|
5474
|
+
isActive: N.isActive,
|
|
5475
|
+
toolName: N.toolName,
|
|
5476
|
+
toolData: N.toolData
|
|
5479
5477
|
});
|
|
5480
|
-
}, []), H = M((
|
|
5481
|
-
const
|
|
5482
|
-
U.current =
|
|
5483
|
-
}, []), K = M((
|
|
5484
|
-
if (J(
|
|
5478
|
+
}, []), H = M((b) => {
|
|
5479
|
+
const N = U.current;
|
|
5480
|
+
U.current = b, b && A.current ? (console.log("[AriaStandaloneUI] Attaching video stream to element"), A.current.attachToVideoElement(b)) : !b && N && A.current && (console.log("[AriaStandaloneUI] Detaching video stream from element"), A.current.detachFromVideoElement(N));
|
|
5481
|
+
}, []), K = M((b = "user") => {
|
|
5482
|
+
if (J(b), k(b === "websocket" ? "center" : "bottom-right"), i(!0), n(!1), h(null), !A.current) return;
|
|
5485
5483
|
if (A.current.isSessionPaused()) {
|
|
5486
5484
|
f(!0), A.current.resumeSession().then((Y) => {
|
|
5487
5485
|
if (ae(!1), Y) {
|
|
@@ -5509,67 +5507,67 @@ const Yt = ({
|
|
|
5509
5507
|
}).catch((Y) => {
|
|
5510
5508
|
f(!1), h(Y instanceof Error ? Y.message : "Failed to initialize session");
|
|
5511
5509
|
})) : (f(!0), A.current.isConnected() || A.current.connect());
|
|
5512
|
-
}, []),
|
|
5513
|
-
|
|
5510
|
+
}, []), ne = M(() => {
|
|
5511
|
+
n(!0);
|
|
5514
5512
|
}, []), D = M(() => {
|
|
5515
|
-
|
|
5516
|
-
}, []),
|
|
5517
|
-
i(!1),
|
|
5518
|
-
}, []),
|
|
5513
|
+
n(!1);
|
|
5514
|
+
}, []), se = M(() => {
|
|
5515
|
+
i(!1), n(!1), A.current && (U.current && A.current.detachFromVideoElement(U.current), x(""), console.log("[AriaStandaloneUI] Pausing session (widget closed)"), A.current.pauseSession(), ae(!0));
|
|
5516
|
+
}, []), he = M(() => {
|
|
5519
5517
|
console.log("[AriaStandaloneUI] WebSocket trigger event"), K("websocket");
|
|
5520
5518
|
}, [K]);
|
|
5521
|
-
|
|
5519
|
+
re(() => {
|
|
5522
5520
|
if (!Q.hasInstance()) {
|
|
5523
5521
|
console.error("[AriaStandaloneUI] AriaSessionManager not initialized");
|
|
5524
5522
|
return;
|
|
5525
5523
|
}
|
|
5526
|
-
const
|
|
5527
|
-
return A.current =
|
|
5528
|
-
G(
|
|
5529
|
-
const Z =
|
|
5524
|
+
const b = Q.getInstance({});
|
|
5525
|
+
return A.current = b, b.addEventListener("status_change", w), b.addEventListener("session_ready", v), b.addEventListener("session_error", de), b.addEventListener("connection_change", ge), b.addEventListener("message_history", ie), b.addEventListener("message_stream", te), b.addEventListener("tool_call", W), b.setWebSocketTriggerCallback(he), queueMicrotask(() => {
|
|
5526
|
+
G(b.getSessionState()), pe(b.getStatus()), d(b.isConnected()), R(b.getChatMessages()), x(b.getLiveTranscript()), L(b.isMuted()), ae(b.isSessionPaused());
|
|
5527
|
+
const Z = b.getToolCallState();
|
|
5530
5528
|
oe(Z);
|
|
5531
5529
|
}), () => {
|
|
5532
|
-
|
|
5530
|
+
b.removeEventListener("status_change", w), b.removeEventListener("session_ready", v), b.removeEventListener("session_error", de), b.removeEventListener("connection_change", ge), b.removeEventListener("message_history", ie), b.removeEventListener("message_stream", te), b.removeEventListener("tool_call", W), b.setWebSocketTriggerCallback(null);
|
|
5533
5531
|
};
|
|
5534
5532
|
}, [
|
|
5535
|
-
|
|
5533
|
+
w,
|
|
5536
5534
|
v,
|
|
5537
|
-
|
|
5535
|
+
de,
|
|
5536
|
+
ge,
|
|
5538
5537
|
ie,
|
|
5539
|
-
|
|
5540
|
-
re,
|
|
5538
|
+
te,
|
|
5541
5539
|
W,
|
|
5542
|
-
|
|
5543
|
-
]),
|
|
5544
|
-
const
|
|
5540
|
+
he
|
|
5541
|
+
]), re(() => {
|
|
5542
|
+
const b = (Ne) => {
|
|
5545
5543
|
K(Ne.detail?.mode || "user");
|
|
5546
|
-
},
|
|
5547
|
-
|
|
5544
|
+
}, N = () => {
|
|
5545
|
+
se();
|
|
5548
5546
|
}, Z = () => {
|
|
5549
|
-
|
|
5547
|
+
ne();
|
|
5550
5548
|
}, ye = () => {
|
|
5551
5549
|
D();
|
|
5552
5550
|
};
|
|
5553
|
-
return window.addEventListener("aria:open",
|
|
5554
|
-
window.removeEventListener("aria:open",
|
|
5551
|
+
return window.addEventListener("aria:open", b), window.addEventListener("aria:close", N), window.addEventListener("aria:minimize", Z), window.addEventListener("aria:maximize", ye), () => {
|
|
5552
|
+
window.removeEventListener("aria:open", b), window.removeEventListener("aria:close", N), window.removeEventListener("aria:minimize", Z), window.removeEventListener("aria:maximize", ye);
|
|
5555
5553
|
};
|
|
5556
|
-
}, [K,
|
|
5554
|
+
}, [K, se, ne, D]), re(() => {
|
|
5557
5555
|
t.setAttribute("data-aria-open", String(o));
|
|
5558
5556
|
}, [o, t]);
|
|
5559
5557
|
const me = M(() => {
|
|
5560
|
-
j((
|
|
5561
|
-
}, []), be = M(async (
|
|
5558
|
+
j((b) => !b);
|
|
5559
|
+
}, []), be = M(async (b) => {
|
|
5562
5560
|
if (!A.current || !c)
|
|
5563
5561
|
throw new Error("Not connected to Aria");
|
|
5564
|
-
await A.current.sendMessage(
|
|
5562
|
+
await A.current.sendMessage(b);
|
|
5565
5563
|
}, [c]), fe = M(() => {
|
|
5566
5564
|
if (!A.current) return;
|
|
5567
|
-
const
|
|
5568
|
-
L(
|
|
5565
|
+
const b = A.current.toggleMute();
|
|
5566
|
+
L(b);
|
|
5569
5567
|
}, []);
|
|
5570
5568
|
return /* @__PURE__ */ y(Ie, { children: [
|
|
5571
5569
|
!o && /* @__PURE__ */ a(
|
|
5572
|
-
|
|
5570
|
+
eo,
|
|
5573
5571
|
{
|
|
5574
5572
|
showAvatar: !0,
|
|
5575
5573
|
label: e,
|
|
@@ -5581,8 +5579,8 @@ const Yt = ({
|
|
|
5581
5579
|
!l && /* @__PURE__ */ a(
|
|
5582
5580
|
"div",
|
|
5583
5581
|
{
|
|
5584
|
-
onClick: (
|
|
5585
|
-
|
|
5582
|
+
onClick: (b) => {
|
|
5583
|
+
b.preventDefault(), b.stopPropagation(), ne();
|
|
5586
5584
|
},
|
|
5587
5585
|
style: {
|
|
5588
5586
|
position: "fixed",
|
|
@@ -5607,9 +5605,9 @@ const Yt = ({
|
|
|
5607
5605
|
pointerEvents: "none"
|
|
5608
5606
|
},
|
|
5609
5607
|
children: /* @__PURE__ */ a("div", { style: { pointerEvents: "auto" }, children: /* @__PURE__ */ a(
|
|
5610
|
-
|
|
5608
|
+
ro,
|
|
5611
5609
|
{
|
|
5612
|
-
onClose:
|
|
5610
|
+
onClose: se,
|
|
5613
5611
|
isMinimized: l,
|
|
5614
5612
|
onMaximize: D,
|
|
5615
5613
|
theme: r,
|
|
@@ -5634,7 +5632,7 @@ const Yt = ({
|
|
|
5634
5632
|
)
|
|
5635
5633
|
] })
|
|
5636
5634
|
] });
|
|
5637
|
-
},
|
|
5635
|
+
}, eo = ({
|
|
5638
5636
|
showAvatar: r = !0,
|
|
5639
5637
|
label: e,
|
|
5640
5638
|
theme: t,
|
|
@@ -5665,50 +5663,50 @@ const Yt = ({
|
|
|
5665
5663
|
}
|
|
5666
5664
|
)
|
|
5667
5665
|
}
|
|
5668
|
-
),
|
|
5666
|
+
), ro = (r) => /* @__PURE__ */ a(
|
|
5669
5667
|
Nr,
|
|
5670
5668
|
{
|
|
5671
5669
|
onClose: r.onClose,
|
|
5672
5670
|
isMinimized: r.isMinimized
|
|
5673
5671
|
}
|
|
5674
|
-
),
|
|
5672
|
+
), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5675
5673
|
__proto__: null,
|
|
5676
|
-
AriaStandaloneUI:
|
|
5674
|
+
AriaStandaloneUI: $t
|
|
5677
5675
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5678
5676
|
export {
|
|
5679
5677
|
ze as Aria,
|
|
5680
|
-
|
|
5678
|
+
Qt as AriaAssistant,
|
|
5681
5679
|
ze as AriaCore,
|
|
5682
|
-
|
|
5680
|
+
lo as AriaProvider,
|
|
5683
5681
|
Q as AriaSessionManager,
|
|
5684
|
-
|
|
5682
|
+
Gt as AriaTriggerButton,
|
|
5685
5683
|
Nr as AriaWidget,
|
|
5686
5684
|
Se as Badge,
|
|
5687
5685
|
Fe as Button,
|
|
5688
5686
|
Cr as Card,
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5687
|
+
Ot as CardContent,
|
|
5688
|
+
Ht as CardDescription,
|
|
5689
|
+
Lt as CardFooter,
|
|
5690
|
+
Ft as CardHeader,
|
|
5691
|
+
Bt as CardTitle,
|
|
5692
|
+
Ut as ChatPanel,
|
|
5693
|
+
go as Dialog,
|
|
5694
|
+
Xt as DialogClose,
|
|
5695
|
+
qt as DialogContent,
|
|
5696
|
+
Kt as DialogHeader,
|
|
5697
|
+
Jt as DialogTitle,
|
|
5700
5698
|
Mr as Input,
|
|
5701
|
-
|
|
5699
|
+
_t as SessionInfo,
|
|
5702
5700
|
Be as ShadowContainer,
|
|
5703
5701
|
so as ariaStyles,
|
|
5704
|
-
|
|
5702
|
+
s as cn,
|
|
5705
5703
|
Xe as decodeJWT,
|
|
5706
|
-
|
|
5704
|
+
Yt as extractSessionIdFromToken,
|
|
5707
5705
|
He as getAriaStyles,
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5706
|
+
ho as getTokenInfo,
|
|
5707
|
+
Zt as isJWT,
|
|
5708
|
+
uo as isTokenExpired,
|
|
5711
5709
|
Ee as useAria,
|
|
5712
|
-
|
|
5710
|
+
co as useAriaSession
|
|
5713
5711
|
};
|
|
5714
5712
|
//# sourceMappingURL=index.js.map
|