@opencx/widget-react 5.14.1 → 5.15.0
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/{Chart.impl-DwS2_ric.cjs → Chart.impl-1tLZ016z.cjs} +2 -2
- package/dist/{Chart.impl-DwS2_ric.cjs.map → Chart.impl-1tLZ016z.cjs.map} +1 -1
- package/dist/{Chart.impl-DvNYqrII.js → Chart.impl-BURnFwHb.js} +2 -2
- package/dist/{Chart.impl-DvNYqrII.js.map → Chart.impl-BURnFwHb.js.map} +1 -1
- package/dist/{index-DkV3KG39.js → index-BDJTS5VH.js} +420 -419
- package/dist/{index-DkV3KG39.js.map → index-BDJTS5VH.js.map} +1 -1
- package/dist/{index-C0iV9yZX.cjs → index-zggs8o0o.cjs} +4 -4
- package/dist/{index-C0iV9yZX.cjs.map → index-zggs8o0o.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/src/WidgetImperativeHandler.d.ts +12 -0
- package/dist/src/WidgetImperativeHandler.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var us = (e, t, n) =>
|
|
1
|
+
var bl = Object.defineProperty;
|
|
2
|
+
var wl = (e, t, n) => t in e ? bl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var us = (e, t, n) => wl(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { jsx as o, Fragment as te, jsxs as f } from "react/jsx-runtime";
|
|
5
5
|
import * as bt from "@radix-ui/react-popover";
|
|
6
|
-
import { useReducedMotion as kt, motion as de, AnimatePresence as ie, useMotionValue as Or, useSpring as ps, useTransform as On, animate as wr, MotionConfig as
|
|
6
|
+
import { useReducedMotion as kt, motion as de, AnimatePresence as ie, useMotionValue as Or, useSpring as ps, useTransform as On, animate as wr, MotionConfig as xl } from "framer-motion";
|
|
7
7
|
import * as St from "react";
|
|
8
|
-
import pe, { createContext as Le, useMemo as se, useCallback as H, useRef as U, useEffect as j, useContext as Me, useSyncExternalStore as
|
|
9
|
-
import { useDocumentDir as bo, useConfig as J, useWidget as ae, useBot as tn, useSessions as Ne, useMessages as Te, useWidgetRouter as De, usePrimitiveState as xr, useCompanionChats as tr, useWidgetTrigger as Qe, useModes as za, useDisplayMode as Oa, applyPresentation as
|
|
8
|
+
import pe, { createContext as Le, useMemo as se, useCallback as H, useRef as U, useEffect as j, useContext as Me, useSyncExternalStore as vl, useState as R, Suspense as yl, memo as kl, forwardRef as Pa, cloneElement as Rr, useLayoutEffect as at, useId as Sl, createElement as yt, useReducer as Cl } from "react";
|
|
9
|
+
import { useDocumentDir as bo, useConfig as J, useWidget as ae, useBot as tn, useSessions as Ne, useMessages as Te, useWidgetRouter as De, usePrimitiveState as xr, useCompanionChats as tr, useWidgetTrigger as Qe, useModes as za, useDisplayMode as Oa, applyPresentation as Nl, useComposerDraft as wo, useAgentChatUi as jt, sessionPlan as _l, useCsat as Wn, useConnection as El, useHostLocation as Tl, useTokenRenewal as Ra, useDictation as Al, useUploadFiles as Il, useIsAwaitingBotReply as $a, useUnread as nr, useContact as La, useWidgetLayout as Da, useUnreadViewing as Ml, formatAskQuestionsAnswers as Pl, WidgetProvider as zl, WidgetTriggerProvider as Ol, WidgetLayoutProvider as Rl } from "@opencx/widget-react-headless";
|
|
10
10
|
import { z as k } from "zod";
|
|
11
|
-
import { resolveLanguage as
|
|
12
|
-
import { AlertCircle as
|
|
11
|
+
import { resolveLanguage as ja, isRtlLanguage as $l, getTranslation as Ha, log as he, isRecord as Ll, tappableOptionsMessage as Dl, isExhaustive as qe, resolveClientPresentation as Fa, isAwaitingRequiredTap as jl, resolveConfigContext as Hl, DictationLevelSmoother as Fl, HelpCenterSearchError as Wl } from "@opencx/widget-core";
|
|
12
|
+
import { AlertCircle as Wa, AlertTriangle as Ul, Lightbulb as Bl, Info as ql, Phone as Vl, Play as Ua, ChevronUp as Ba, ChevronDown as Yl, X as qa, ZoomOut as Xl, ZoomIn as Gl, RotateCcw as Kl, FileText as Va, FileSpreadsheet as Ya, CheckIcon as rr, CircleDashedIcon as Zl, ZapIcon as Jl, WorkflowIcon as Ql, UsersIcon as ed, UserIcon as td, TicketIcon as nd, TagIcon as rd, ShoppingCartIcon as od, SettingsIcon as sd, PlugIcon as ad, PackageIcon as id, MailIcon as cd, LinkIcon as ld, GlobeIcon as dd, FolderIcon as xo, FileTextIcon as Xa, DatabaseIcon as ud, CreditCardIcon as pd, CalendarIcon as md, Building2Icon as hd, BookOpenIcon as Ga, BookIcon as fd, BotIcon as gd, AtSignIcon as bd, XIcon as Ie, SquareXIcon as wd, SquareCheckBigIcon as xd, SquareCheckIcon as vd, ShrinkIcon as yd, Minimize2Icon as kd, MinimizeIcon as Sd, Maximize2Icon as Cd, MaximizeIcon as Nd, ExpandIcon as _d, CircleXIcon as Ed, CircleCheckBigIcon as Td, CircleCheckIcon as Ka, CheckCheckIcon as Ad, PlusIcon as Za, LoaderCircleIcon as Gt, ChevronsUpDownIcon as Id, ChevronLeftIcon as vo, LoaderIcon as Md, CopyIcon as Pd, Check as zd, Loader2 as Ja, CircleDashed as Qa, PenLineIcon as ei, ArrowDown as Od, ArrowUpIcon as ti, FileAudio2Icon as Rd, FileVideo2Icon as $d, FileIcon as Ld, CornerDownLeftIcon as Dd, MicIcon as jd, LockIcon as Hd, PaperclipIcon as ms, MousePointerClickIcon as Fd, SquareIcon as Wd, ChevronRightIcon as it, MessageCircleIcon as Ud, SearchIcon as Bd, Unplug as qd, ChevronRight as hs, ArrowLeft as Vd, UserRoundIcon as Yd, SendHorizontal as Xd, ChevronDownIcon as ni, SparklesIcon as Gd } from "lucide-react";
|
|
13
13
|
import { clsx as Kd } from "clsx";
|
|
14
14
|
import { twMerge as Zd } from "tailwind-merge";
|
|
15
15
|
import { Slot as Jd } from "@radix-ui/react-slot";
|
|
16
|
-
import { cva as
|
|
17
|
-
import
|
|
16
|
+
import { cva as ri } from "class-variance-authority";
|
|
17
|
+
import oi from "remark-gfm";
|
|
18
18
|
import Qd from "react-markdown";
|
|
19
19
|
import $r from "rehype-raw";
|
|
20
20
|
import fs, { defaultSchema as We } from "rehype-sanitize";
|
|
21
21
|
import * as nn from "@radix-ui/react-avatar";
|
|
22
|
-
import
|
|
22
|
+
import si from "@uiw/react-iframe";
|
|
23
23
|
import gs from "tinycolor2";
|
|
24
24
|
import * as Ue from "@radix-ui/react-tooltip";
|
|
25
25
|
import { createPortal as vn } from "react-dom";
|
|
26
26
|
import * as He from "@radix-ui/react-menu";
|
|
27
27
|
import { toJpeg as eu } from "html-to-image";
|
|
28
28
|
import { useDropzone as tu } from "react-dropzone";
|
|
29
|
-
import { annotate as
|
|
30
|
-
import
|
|
29
|
+
import { annotate as ai } from "@shardsui/notation";
|
|
30
|
+
import ii from "react-use/lib/useAsync";
|
|
31
31
|
import nu from "react-use/lib/useDebounce";
|
|
32
32
|
import ru from "react-use/lib/useAsyncFn";
|
|
33
|
-
var
|
|
33
|
+
var ci = k.union([
|
|
34
34
|
k.string(),
|
|
35
35
|
k.number(),
|
|
36
36
|
k.boolean(),
|
|
@@ -49,7 +49,7 @@ k.union([
|
|
|
49
49
|
k.boolean(),
|
|
50
50
|
k.object({ $state: k.string() })
|
|
51
51
|
]);
|
|
52
|
-
function
|
|
52
|
+
function li(e, t) {
|
|
53
53
|
if (e != null)
|
|
54
54
|
return typeof e == "object" && "$state" in e ? fe(t, e.$state) : e;
|
|
55
55
|
}
|
|
@@ -77,7 +77,7 @@ function fe(e, t) {
|
|
|
77
77
|
}
|
|
78
78
|
return r;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function di(e) {
|
|
81
81
|
return /^\d+$/.test(e);
|
|
82
82
|
}
|
|
83
83
|
function su(e, t, n) {
|
|
@@ -85,7 +85,7 @@ function su(e, t, n) {
|
|
|
85
85
|
if (r.length === 0) return;
|
|
86
86
|
let s = e;
|
|
87
87
|
for (let a = 0; a < r.length - 1; a++) {
|
|
88
|
-
const c = r[a], d = r[a + 1], l = d !== void 0 && (
|
|
88
|
+
const c = r[a], d = r[a + 1], l = d !== void 0 && (di(d) || d === "-");
|
|
89
89
|
if (Array.isArray(s)) {
|
|
90
90
|
const p = parseInt(c, 10);
|
|
91
91
|
(s[p] === void 0 || typeof s[p] != "object") && (s[p] = l ? [] : {}), s = s[p];
|
|
@@ -108,7 +108,7 @@ function vr(e, t, n) {
|
|
|
108
108
|
if (r.length === 0) return;
|
|
109
109
|
let s = e;
|
|
110
110
|
for (let a = 0; a < r.length - 1; a++) {
|
|
111
|
-
const c = r[a], d = r[a + 1], l = d !== void 0 && (
|
|
111
|
+
const c = r[a], d = r[a + 1], l = d !== void 0 && (di(d) || d === "-");
|
|
112
112
|
if (Array.isArray(s)) {
|
|
113
113
|
const p = parseInt(c, 10);
|
|
114
114
|
(s[p] === void 0 || typeof s[p] != "object") && (s[p] = l ? [] : {}), s = s[p];
|
|
@@ -168,7 +168,7 @@ function Dr(e) {
|
|
|
168
168
|
return null;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function ui(e, t) {
|
|
172
172
|
switch (t.op) {
|
|
173
173
|
case "add":
|
|
174
174
|
vr(e, t.path, t.value);
|
|
@@ -203,7 +203,7 @@ function di(e, t) {
|
|
|
203
203
|
return e;
|
|
204
204
|
}
|
|
205
205
|
function au(e, t) {
|
|
206
|
-
return
|
|
206
|
+
return ui(e, t), e;
|
|
207
207
|
}
|
|
208
208
|
function iu(e) {
|
|
209
209
|
const t = {};
|
|
@@ -230,7 +230,7 @@ function cu(e, t = {}) {
|
|
|
230
230
|
`), r = { ...t };
|
|
231
231
|
for (const s of n) {
|
|
232
232
|
const i = Dr(s);
|
|
233
|
-
i &&
|
|
233
|
+
i && ui(r, i);
|
|
234
234
|
}
|
|
235
235
|
return r;
|
|
236
236
|
}
|
|
@@ -409,16 +409,16 @@ function yu(e, t) {
|
|
|
409
409
|
function ku(e) {
|
|
410
410
|
return typeof e == "object" && e !== null && "$state" in e && typeof e.$state == "string";
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function pi(e) {
|
|
413
413
|
return typeof e == "object" && e !== null && "$item" in e && typeof e.$item == "string";
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function mi(e) {
|
|
416
416
|
return typeof e == "object" && e !== null && "$index" in e && e.$index === !0;
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function hi(e) {
|
|
419
419
|
return typeof e == "object" && e !== null && "$bindState" in e && typeof e.$bindState == "string";
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function fi(e) {
|
|
422
422
|
return typeof e == "object" && e !== null && "$bindItem" in e && typeof e.$bindItem == "string";
|
|
423
423
|
}
|
|
424
424
|
function Su(e) {
|
|
@@ -444,13 +444,13 @@ function Mt(e, t) {
|
|
|
444
444
|
return e;
|
|
445
445
|
if (ku(e))
|
|
446
446
|
return fe(t.stateModel, e.$state);
|
|
447
|
-
if (ui(e))
|
|
448
|
-
return t.repeatItem === void 0 ? void 0 : e.$item === "" ? t.repeatItem : fe(t.repeatItem, e.$item);
|
|
449
447
|
if (pi(e))
|
|
450
|
-
return t.
|
|
448
|
+
return t.repeatItem === void 0 ? void 0 : e.$item === "" ? t.repeatItem : fe(t.repeatItem, e.$item);
|
|
451
449
|
if (mi(e))
|
|
450
|
+
return t.repeatIndex;
|
|
451
|
+
if (hi(e))
|
|
452
452
|
return fe(t.stateModel, e.$bindState);
|
|
453
|
-
if (
|
|
453
|
+
if (fi(e)) {
|
|
454
454
|
const r = So(e.$bindItem, t);
|
|
455
455
|
return r === void 0 ? void 0 : fe(t.stateModel, r);
|
|
456
456
|
}
|
|
@@ -511,20 +511,20 @@ function Eu(e, t) {
|
|
|
511
511
|
function Tu(e, t) {
|
|
512
512
|
let n;
|
|
513
513
|
for (const [r, s] of Object.entries(e))
|
|
514
|
-
if (
|
|
514
|
+
if (hi(s))
|
|
515
515
|
n || (n = {}), n[r] = s.$bindState;
|
|
516
|
-
else if (
|
|
516
|
+
else if (fi(s)) {
|
|
517
517
|
const i = So(s.$bindItem, t);
|
|
518
518
|
i !== void 0 && (n || (n = {}), n[r] = i);
|
|
519
519
|
}
|
|
520
520
|
return n;
|
|
521
521
|
}
|
|
522
522
|
function ys(e, t) {
|
|
523
|
-
return
|
|
523
|
+
return pi(e) ? So(e.$item, t) : mi(e) ? t.repeatIndex : Mt(e, t);
|
|
524
524
|
}
|
|
525
|
-
var
|
|
525
|
+
var gi = /* @__PURE__ */ new Set();
|
|
526
526
|
function Au(e) {
|
|
527
|
-
for (const t of
|
|
527
|
+
for (const t of gi) {
|
|
528
528
|
const n = t.onDispatch;
|
|
529
529
|
if (n)
|
|
530
530
|
try {
|
|
@@ -538,7 +538,7 @@ function Au(e) {
|
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
function Iu(e) {
|
|
541
|
-
for (const t of
|
|
541
|
+
for (const t of gi) {
|
|
542
542
|
const n = t.onSettle;
|
|
543
543
|
if (n)
|
|
544
544
|
try {
|
|
@@ -577,7 +577,7 @@ var Ru = k.object({
|
|
|
577
577
|
]);
|
|
578
578
|
k.object({
|
|
579
579
|
action: k.string(),
|
|
580
|
-
params: k.record(k.string(),
|
|
580
|
+
params: k.record(k.string(), ci).optional(),
|
|
581
581
|
confirm: Ru.optional(),
|
|
582
582
|
onSuccess: $u.optional(),
|
|
583
583
|
onError: Lu.optional(),
|
|
@@ -587,7 +587,7 @@ function Du(e, t) {
|
|
|
587
587
|
const n = {};
|
|
588
588
|
if (e.params)
|
|
589
589
|
for (const [s, i] of Object.entries(e.params))
|
|
590
|
-
n[s] =
|
|
590
|
+
n[s] = li(i, t);
|
|
591
591
|
let r = e.confirm;
|
|
592
592
|
return r && (r = {
|
|
593
593
|
...r,
|
|
@@ -603,7 +603,7 @@ function Du(e, t) {
|
|
|
603
603
|
}
|
|
604
604
|
function Cs(e, t) {
|
|
605
605
|
return e.replace(/\$\{([^}]+)\}/g, (n, r) => {
|
|
606
|
-
const s =
|
|
606
|
+
const s = li({ $state: r }, t);
|
|
607
607
|
return String(s ?? "");
|
|
608
608
|
});
|
|
609
609
|
}
|
|
@@ -631,7 +631,7 @@ async function Ns(e) {
|
|
|
631
631
|
}
|
|
632
632
|
var ju = k.object({
|
|
633
633
|
type: k.string(),
|
|
634
|
-
args: k.record(k.string(),
|
|
634
|
+
args: k.record(k.string(), ci).optional(),
|
|
635
635
|
message: k.string()
|
|
636
636
|
});
|
|
637
637
|
k.object({
|
|
@@ -872,7 +872,7 @@ function Gu(e, t) {
|
|
|
872
872
|
return r.join(`
|
|
873
873
|
`);
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function bi(e) {
|
|
876
876
|
if (!e || typeof e != "object") return !1;
|
|
877
877
|
const t = e;
|
|
878
878
|
return typeof t.root == "string" && typeof t.elements == "object" && t.elements !== null && Object.keys(t.elements).length > 0;
|
|
@@ -1284,9 +1284,9 @@ Note: state patches appear right after the elements that use them, so the UI fil
|
|
|
1284
1284
|
`);
|
|
1285
1285
|
}
|
|
1286
1286
|
function Es(e) {
|
|
1287
|
-
return e.example && Object.keys(e.example).length > 0 ? e.example : e.props ?
|
|
1287
|
+
return e.example && Object.keys(e.example).length > 0 ? e.example : e.props ? wi(e.props) : {};
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function wi(e) {
|
|
1290
1290
|
if (!e || !e._def) return {};
|
|
1291
1291
|
const t = e._def, n = Rt(e);
|
|
1292
1292
|
if (n !== "ZodObject" && n !== "object") return {};
|
|
@@ -1339,7 +1339,7 @@ function Hr(e) {
|
|
|
1339
1339
|
return [];
|
|
1340
1340
|
case "ZodObject":
|
|
1341
1341
|
case "object":
|
|
1342
|
-
return
|
|
1342
|
+
return wi(e);
|
|
1343
1343
|
case "ZodUnion":
|
|
1344
1344
|
case "union": {
|
|
1345
1345
|
const r = t.options;
|
|
@@ -1606,7 +1606,7 @@ var sp = Zu(
|
|
|
1606
1606
|
"Always include realistic, professional-looking sample data. For blogs include 3-4 posts with varied titles, authors, dates, categories. For products include names, prices, images. Never leave data empty."
|
|
1607
1607
|
]
|
|
1608
1608
|
}
|
|
1609
|
-
),
|
|
1609
|
+
), xi = Le(null);
|
|
1610
1610
|
function ap(e, t) {
|
|
1611
1611
|
return e ? null : Object.keys(t).length === 0 ? {} : yo(t);
|
|
1612
1612
|
}
|
|
@@ -1643,7 +1643,7 @@ function ip({
|
|
|
1643
1643
|
_[N] !== x[N] && (v[N] = N in x ? x[N] : void 0);
|
|
1644
1644
|
u.current = x, Object.keys(v).length > 0 && i.update(v);
|
|
1645
1645
|
}, [e, t, i]);
|
|
1646
|
-
const m =
|
|
1646
|
+
const m = vl(
|
|
1647
1647
|
i.subscribe,
|
|
1648
1648
|
i.getSnapshot,
|
|
1649
1649
|
i.getServerSnapshot ?? i.getSnapshot
|
|
@@ -1666,15 +1666,15 @@ function ip({
|
|
|
1666
1666
|
() => ({ state: m, get: S, set: b, update: g, getSnapshot: w }),
|
|
1667
1667
|
[m, S, b, g, w]
|
|
1668
1668
|
);
|
|
1669
|
-
return /* @__PURE__ */ o(
|
|
1669
|
+
return /* @__PURE__ */ o(xi.Provider, { value: C, children: r });
|
|
1670
1670
|
}
|
|
1671
1671
|
function kn() {
|
|
1672
|
-
const e = Me(
|
|
1672
|
+
const e = Me(xi);
|
|
1673
1673
|
if (!e)
|
|
1674
1674
|
throw new Error("useStateStore must be used within a StateProvider");
|
|
1675
1675
|
return e;
|
|
1676
1676
|
}
|
|
1677
|
-
var
|
|
1677
|
+
var vi = Le(null);
|
|
1678
1678
|
function cp({ children: e }) {
|
|
1679
1679
|
const { state: t } = kn(), n = se(
|
|
1680
1680
|
() => ({
|
|
@@ -1688,15 +1688,15 @@ function cp({ children: e }) {
|
|
|
1688
1688
|
() => ({ isVisible: r, ctx: n }),
|
|
1689
1689
|
[r, n]
|
|
1690
1690
|
);
|
|
1691
|
-
return /* @__PURE__ */ o(
|
|
1691
|
+
return /* @__PURE__ */ o(vi.Provider, { value: s, children: e });
|
|
1692
1692
|
}
|
|
1693
1693
|
function lp() {
|
|
1694
|
-
const e = Me(
|
|
1694
|
+
const e = Me(vi);
|
|
1695
1695
|
if (!e)
|
|
1696
1696
|
throw new Error("useVisibility must be used within a VisibilityProvider");
|
|
1697
1697
|
return e;
|
|
1698
1698
|
}
|
|
1699
|
-
var
|
|
1699
|
+
var yi = Le(null);
|
|
1700
1700
|
function dp(e, t) {
|
|
1701
1701
|
if (e === t) return !0;
|
|
1702
1702
|
if (!e || !t) return !1;
|
|
@@ -1809,10 +1809,10 @@ function pp({
|
|
|
1809
1809
|
l
|
|
1810
1810
|
]
|
|
1811
1811
|
);
|
|
1812
|
-
return /* @__PURE__ */ o(
|
|
1812
|
+
return /* @__PURE__ */ o(yi.Provider, { value: b, children: t });
|
|
1813
1813
|
}
|
|
1814
1814
|
function mp() {
|
|
1815
|
-
return Me(
|
|
1815
|
+
return Me(yi);
|
|
1816
1816
|
}
|
|
1817
1817
|
var Is = 0;
|
|
1818
1818
|
function Ms() {
|
|
@@ -1839,7 +1839,7 @@ function Fr(e, t) {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
return e;
|
|
1841
1841
|
}
|
|
1842
|
-
var
|
|
1842
|
+
var ki = Le(null);
|
|
1843
1843
|
function hp({
|
|
1844
1844
|
handlers: e = {},
|
|
1845
1845
|
navigate: t,
|
|
@@ -2011,10 +2011,10 @@ function hp({
|
|
|
2011
2011
|
h
|
|
2012
2012
|
]
|
|
2013
2013
|
);
|
|
2014
|
-
return /* @__PURE__ */ o(
|
|
2014
|
+
return /* @__PURE__ */ o(ki.Provider, { value: w, children: n });
|
|
2015
2015
|
}
|
|
2016
|
-
function
|
|
2017
|
-
const e = Me(
|
|
2016
|
+
function Si() {
|
|
2017
|
+
const e = Me(ki);
|
|
2018
2018
|
if (!e)
|
|
2019
2019
|
throw new Error("useActions must be used within an ActionProvider");
|
|
2020
2020
|
return e;
|
|
@@ -2119,17 +2119,17 @@ function fp({
|
|
|
2119
2119
|
}
|
|
2120
2120
|
);
|
|
2121
2121
|
}
|
|
2122
|
-
var
|
|
2122
|
+
var Ci = Le(null);
|
|
2123
2123
|
function gp({
|
|
2124
2124
|
item: e,
|
|
2125
2125
|
index: t,
|
|
2126
2126
|
basePath: n,
|
|
2127
2127
|
children: r
|
|
2128
2128
|
}) {
|
|
2129
|
-
return /* @__PURE__ */ o(
|
|
2129
|
+
return /* @__PURE__ */ o(Ci.Provider, { value: { item: e, index: t, basePath: n }, children: r });
|
|
2130
2130
|
}
|
|
2131
2131
|
function bp() {
|
|
2132
|
-
return Me(
|
|
2132
|
+
return Me(Ci);
|
|
2133
2133
|
}
|
|
2134
2134
|
var wp = class extends pe.Component {
|
|
2135
2135
|
constructor(e) {
|
|
@@ -2148,15 +2148,15 @@ var wp = class extends pe.Component {
|
|
|
2148
2148
|
render() {
|
|
2149
2149
|
return this.state.hasError ? null : this.props.children;
|
|
2150
2150
|
}
|
|
2151
|
-
},
|
|
2151
|
+
}, Ni = {}, _i = pe.createContext(Ni);
|
|
2152
2152
|
function xp() {
|
|
2153
|
-
return pe.useContext(
|
|
2153
|
+
return pe.useContext(_i);
|
|
2154
2154
|
}
|
|
2155
|
-
var
|
|
2155
|
+
var Ei = pe.createContext(
|
|
2156
2156
|
void 0
|
|
2157
2157
|
);
|
|
2158
2158
|
function vp() {
|
|
2159
|
-
return pe.useContext(
|
|
2159
|
+
return pe.useContext(Ei);
|
|
2160
2160
|
}
|
|
2161
2161
|
function yp() {
|
|
2162
2162
|
return pe.useSyncExternalStore(
|
|
@@ -2165,7 +2165,7 @@ function yp() {
|
|
|
2165
2165
|
() => !1
|
|
2166
2166
|
);
|
|
2167
2167
|
}
|
|
2168
|
-
var
|
|
2168
|
+
var Ti = pe.memo(function e({
|
|
2169
2169
|
element: t,
|
|
2170
2170
|
elementKey: n,
|
|
2171
2171
|
spec: r,
|
|
@@ -2174,7 +2174,7 @@ var Ei = pe.memo(function e({
|
|
|
2174
2174
|
fallback: a
|
|
2175
2175
|
}) {
|
|
2176
2176
|
var W;
|
|
2177
|
-
const c = yp(), d = bp(), { ctx: l } = lp(), { execute: p } =
|
|
2177
|
+
const c = yp(), d = bp(), { ctx: l } = lp(), { execute: p } = Si(), { getSnapshot: u, state: m } = kn(), h = xp(), b = vp(), g = se(() => {
|
|
2178
2178
|
const $ = d ? {
|
|
2179
2179
|
...l,
|
|
2180
2180
|
repeatItem: d.item,
|
|
@@ -2327,7 +2327,7 @@ function kp({
|
|
|
2327
2327
|
children: (m = e.children) == null ? void 0 : m.map((h) => {
|
|
2328
2328
|
const b = t.elements[h];
|
|
2329
2329
|
return b ? /* @__PURE__ */ o(
|
|
2330
|
-
|
|
2330
|
+
Ti,
|
|
2331
2331
|
{
|
|
2332
2332
|
element: b,
|
|
2333
2333
|
elementKey: h,
|
|
@@ -2351,7 +2351,7 @@ function Sp({ spec: e, registry: t, loading: n, fallback: r }) {
|
|
|
2351
2351
|
return null;
|
|
2352
2352
|
const s = e.elements[e.root];
|
|
2353
2353
|
return s ? /* @__PURE__ */ o(
|
|
2354
|
-
|
|
2354
|
+
Ti,
|
|
2355
2355
|
{
|
|
2356
2356
|
element: s,
|
|
2357
2357
|
elementKey: e.root,
|
|
@@ -2384,7 +2384,7 @@ function Cp({
|
|
|
2384
2384
|
store: t,
|
|
2385
2385
|
initialState: n,
|
|
2386
2386
|
onStateChange: d,
|
|
2387
|
-
children: /* @__PURE__ */ o(cp, { children: /* @__PURE__ */ o(pp, { customFunctions: i, children: /* @__PURE__ */ o(hp, { handlers: r, navigate: s, children: /* @__PURE__ */ o(
|
|
2387
|
+
children: /* @__PURE__ */ o(cp, { children: /* @__PURE__ */ o(pp, { customFunctions: i, children: /* @__PURE__ */ o(hp, { handlers: r, navigate: s, children: /* @__PURE__ */ o(_i.Provider, { value: a ?? Ni, children: /* @__PURE__ */ f(Ei.Provider, { value: p, children: [
|
|
2388
2388
|
l,
|
|
2389
2389
|
/* @__PURE__ */ o(Np, {})
|
|
2390
2390
|
] }) }) }) }) })
|
|
@@ -2392,7 +2392,7 @@ function Cp({
|
|
|
2392
2392
|
);
|
|
2393
2393
|
}
|
|
2394
2394
|
function Np() {
|
|
2395
|
-
const { pendingConfirmation: e, confirm: t, cancel: n } =
|
|
2395
|
+
const { pendingConfirmation: e, confirm: t, cancel: n } = Si();
|
|
2396
2396
|
return e != null && e.action.confirm ? /* @__PURE__ */ o(
|
|
2397
2397
|
fp,
|
|
2398
2398
|
{
|
|
@@ -2470,31 +2470,31 @@ function Tp(e) {
|
|
|
2470
2470
|
function X() {
|
|
2471
2471
|
const { dir: e } = bo(), t = J();
|
|
2472
2472
|
return se(() => {
|
|
2473
|
-
const n =
|
|
2473
|
+
const n = ja(t.language);
|
|
2474
2474
|
return {
|
|
2475
|
-
t: (s, i) =>
|
|
2475
|
+
t: (s, i) => Ha(s, n, t.translationOverrides, i),
|
|
2476
2476
|
language: n,
|
|
2477
2477
|
dir: $l(n) ? "rtl" : "ltr",
|
|
2478
2478
|
hostDocumentDir: e
|
|
2479
2479
|
};
|
|
2480
2480
|
}, [t.language, t.translationOverrides, e]);
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2483
|
-
const t =
|
|
2484
|
-
return (n, r) =>
|
|
2482
|
+
function Ai(e) {
|
|
2483
|
+
const t = ja(e);
|
|
2484
|
+
return (n, r) => Ha(n, t, void 0, r);
|
|
2485
2485
|
}
|
|
2486
2486
|
const Ap = {
|
|
2487
|
-
t:
|
|
2487
|
+
t: Ai("en"),
|
|
2488
2488
|
anchorTarget: "_blank"
|
|
2489
|
-
},
|
|
2489
|
+
}, Ii = Le(Ap);
|
|
2490
2490
|
function Ip({
|
|
2491
2491
|
host: e,
|
|
2492
2492
|
children: t
|
|
2493
2493
|
}) {
|
|
2494
|
-
return /* @__PURE__ */ o(
|
|
2494
|
+
return /* @__PURE__ */ o(Ii.Provider, { value: e, children: t });
|
|
2495
2495
|
}
|
|
2496
2496
|
function or() {
|
|
2497
|
-
return Me(
|
|
2497
|
+
return Me(Ii);
|
|
2498
2498
|
}
|
|
2499
2499
|
function Mp({
|
|
2500
2500
|
language: e,
|
|
@@ -2502,7 +2502,7 @@ function Mp({
|
|
|
2502
2502
|
anchorTarget: n = "_blank"
|
|
2503
2503
|
}) {
|
|
2504
2504
|
return se(
|
|
2505
|
-
() => ({ t:
|
|
2505
|
+
() => ({ t: Ai(e), anchorTarget: n, onUiAction: t }),
|
|
2506
2506
|
[e, n, t]
|
|
2507
2507
|
);
|
|
2508
2508
|
}
|
|
@@ -2550,10 +2550,10 @@ function Op(e, t) {
|
|
|
2550
2550
|
function T(...e) {
|
|
2551
2551
|
return Zd(Kd(e));
|
|
2552
2552
|
}
|
|
2553
|
-
const Rp = pe.lazy(() => import("./Chart.impl-
|
|
2553
|
+
const Rp = pe.lazy(() => import("./Chart.impl-BURnFwHb.js"));
|
|
2554
2554
|
function $p(e) {
|
|
2555
2555
|
const t = e.height ?? 220;
|
|
2556
|
-
return /* @__PURE__ */ o(
|
|
2556
|
+
return /* @__PURE__ */ o(yl, { fallback: /* @__PURE__ */ o(Lp, { height: t }), children: /* @__PURE__ */ o(Rp, { ...e }) });
|
|
2557
2557
|
}
|
|
2558
2558
|
function Lp({ height: e }) {
|
|
2559
2559
|
return /* @__PURE__ */ o(
|
|
@@ -2565,26 +2565,26 @@ function Lp({ height: e }) {
|
|
|
2565
2565
|
}
|
|
2566
2566
|
);
|
|
2567
2567
|
}
|
|
2568
|
-
const
|
|
2568
|
+
const Mi = k.object({
|
|
2569
2569
|
title: k.string().nullish(),
|
|
2570
2570
|
description: k.string().nullish()
|
|
2571
|
-
}),
|
|
2571
|
+
}), Pi = k.object({
|
|
2572
2572
|
direction: k.enum(["row", "column"]).nullish(),
|
|
2573
2573
|
gap: k.enum(["sm", "md", "lg"]).nullish(),
|
|
2574
2574
|
align: k.enum(["start", "center", "end", "stretch"]).nullish(),
|
|
2575
2575
|
justify: k.enum(["start", "center", "end", "between"]).nullish()
|
|
2576
|
-
}),
|
|
2576
|
+
}), zi = k.object({
|
|
2577
2577
|
// The prompt's contract is "Grid columns max 3" — this renders in a compact
|
|
2578
2578
|
// chat widget, so wider grids are rejected at the schema.
|
|
2579
2579
|
columns: k.union([k.literal(1), k.literal(2), k.literal(3)]).nullish(),
|
|
2580
2580
|
gap: k.enum(["sm", "md", "lg"]).nullish()
|
|
2581
|
-
}),
|
|
2581
|
+
}), Oi = k.object({
|
|
2582
2582
|
text: k.string(),
|
|
2583
2583
|
level: k.union([k.literal(1), k.literal(2), k.literal(3), k.literal(4)]).nullish()
|
|
2584
|
-
}),
|
|
2584
|
+
}), Ri = k.object({
|
|
2585
2585
|
text: k.string(),
|
|
2586
2586
|
variant: k.enum(["body", "caption", "muted", "code"]).nullish()
|
|
2587
|
-
}),
|
|
2587
|
+
}), $i = k.object({
|
|
2588
2588
|
text: k.string(),
|
|
2589
2589
|
variant: k.enum(["default", "secondary", "success", "warning", "destructive"]).nullish()
|
|
2590
2590
|
}), Dp = /* @__PURE__ */ new Set(["http:", "https:", "mailto:"]), jp = k.string().nullish().transform((e) => {
|
|
@@ -2594,21 +2594,21 @@ const Ii = k.object({
|
|
|
2594
2594
|
} catch {
|
|
2595
2595
|
return null;
|
|
2596
2596
|
}
|
|
2597
|
-
}),
|
|
2597
|
+
}), Li = k.object({
|
|
2598
2598
|
id: k.string().nullish(),
|
|
2599
2599
|
label: k.string(),
|
|
2600
2600
|
secondary: k.string().nullish(),
|
|
2601
2601
|
badge: k.string().nullish(),
|
|
2602
2602
|
status: k.enum(["success", "warning", "error", "info", "neutral"]).nullish(),
|
|
2603
2603
|
href: jp
|
|
2604
|
-
}),
|
|
2605
|
-
items: k.array(
|
|
2604
|
+
}), Di = k.object({
|
|
2605
|
+
items: k.array(Li),
|
|
2606
2606
|
/** Show first N items with a "See X more" expand control. Default 10. */
|
|
2607
2607
|
maxVisible: k.number().int().positive().nullish()
|
|
2608
2608
|
}), Hp = k.object({
|
|
2609
|
-
items: k.array(
|
|
2610
|
-
maxVisible:
|
|
2611
|
-
}),
|
|
2609
|
+
items: k.array(Li.extend({ href: k.string().nullish() })),
|
|
2610
|
+
maxVisible: Di.shape.maxVisible
|
|
2611
|
+
}), ji = k.object({
|
|
2612
2612
|
columns: k.array(k.string()),
|
|
2613
2613
|
rows: k.array(k.array(k.string())),
|
|
2614
2614
|
caption: k.string().nullish()
|
|
@@ -2619,27 +2619,27 @@ const Ii = k.object({
|
|
|
2619
2619
|
direction: k.enum(["up", "down", "flat"]),
|
|
2620
2620
|
/** Comparison context, e.g. "vs previous 30d". */
|
|
2621
2621
|
label: k.string().nullish()
|
|
2622
|
-
}),
|
|
2622
|
+
}), Hi = k.object({
|
|
2623
2623
|
label: k.string(),
|
|
2624
2624
|
value: k.string(),
|
|
2625
2625
|
description: k.string().nullish(),
|
|
2626
2626
|
trend: k.enum(["up", "down", "neutral"]).nullish(),
|
|
2627
2627
|
delta: Fp.nullish()
|
|
2628
|
-
}),
|
|
2628
|
+
}), Fi = k.object({
|
|
2629
2629
|
type: k.enum(["info", "tip", "warning", "important"]).nullish(),
|
|
2630
2630
|
title: k.string().nullish(),
|
|
2631
2631
|
content: k.string()
|
|
2632
2632
|
}), Wp = k.object({
|
|
2633
2633
|
label: k.string(),
|
|
2634
2634
|
value: k.number()
|
|
2635
|
-
}),
|
|
2635
|
+
}), Wi = k.object({
|
|
2636
2636
|
type: k.enum(["bar", "line", "pie"]),
|
|
2637
2637
|
data: k.array(Wp),
|
|
2638
2638
|
title: k.string().nullish(),
|
|
2639
2639
|
height: k.number().int().positive().nullish(),
|
|
2640
2640
|
/** Pie only: big number/text shown in the donut hole (e.g. the total). */
|
|
2641
2641
|
centerLabel: k.string().nullish()
|
|
2642
|
-
}),
|
|
2642
|
+
}), Ui = k.object({
|
|
2643
2643
|
agentId: k.string(),
|
|
2644
2644
|
agentName: k.string(),
|
|
2645
2645
|
model: k.string().nullish()
|
|
@@ -2651,32 +2651,32 @@ function Re(e, t, n) {
|
|
|
2651
2651
|
const Up = op(sp, {
|
|
2652
2652
|
components: {
|
|
2653
2653
|
Card: {
|
|
2654
|
-
props:
|
|
2654
|
+
props: Mi,
|
|
2655
2655
|
slots: ["default"],
|
|
2656
2656
|
description: "Container card with an optional title/description. Group related content.",
|
|
2657
2657
|
example: { title: "Order summary", description: "Placed 2 days ago" }
|
|
2658
2658
|
},
|
|
2659
2659
|
Stack: {
|
|
2660
|
-
props:
|
|
2660
|
+
props: Pi,
|
|
2661
2661
|
slots: ["default"],
|
|
2662
2662
|
description: 'Flex layout. Use direction="row" for side-by-side, "column" (default) to stack.'
|
|
2663
2663
|
},
|
|
2664
2664
|
Grid: {
|
|
2665
|
-
props:
|
|
2665
|
+
props: zi,
|
|
2666
2666
|
slots: ["default"],
|
|
2667
2667
|
description: "Column grid that wraps on narrow screens. columns=2 for side-by-side metrics or cards; columns=3 only for three short metrics — the chat panel is about 400px wide, so three wide cells wrap."
|
|
2668
2668
|
},
|
|
2669
2669
|
Heading: {
|
|
2670
|
-
props:
|
|
2670
|
+
props: Oi,
|
|
2671
2671
|
description: "Section heading. level 1 (largest) to 4.",
|
|
2672
2672
|
example: { text: "Your orders", level: 3 }
|
|
2673
2673
|
},
|
|
2674
2674
|
Text: {
|
|
2675
|
-
props:
|
|
2675
|
+
props: Ri,
|
|
2676
2676
|
description: 'A paragraph of text. variant "muted"/"caption" for secondary text, "code" for monospace.'
|
|
2677
2677
|
},
|
|
2678
2678
|
Badge: {
|
|
2679
|
-
props:
|
|
2679
|
+
props: $i,
|
|
2680
2680
|
description: "Small status pill. Use variant to convey state (success/warning/destructive).",
|
|
2681
2681
|
example: { text: "Delivered", variant: "success" }
|
|
2682
2682
|
},
|
|
@@ -2691,7 +2691,7 @@ const Up = op(sp, {
|
|
|
2691
2691
|
}
|
|
2692
2692
|
},
|
|
2693
2693
|
Table: {
|
|
2694
|
-
props:
|
|
2694
|
+
props: ji,
|
|
2695
2695
|
description: "A data table. `columns` are header strings; `rows` is a 2D array of cell strings (each row same length as columns).",
|
|
2696
2696
|
example: {
|
|
2697
2697
|
columns: ["Item", "Qty", "Price"],
|
|
@@ -2702,7 +2702,7 @@ const Up = op(sp, {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
},
|
|
2704
2704
|
Metric: {
|
|
2705
|
-
props:
|
|
2705
|
+
props: Hi,
|
|
2706
2706
|
description: "A single key figure (KPI / insight card) with a label, big value, optional description, trend arrow, and an optional period-over-period delta ({ value, direction, label }).",
|
|
2707
2707
|
example: {
|
|
2708
2708
|
label: "Total spent",
|
|
@@ -2713,7 +2713,7 @@ const Up = op(sp, {
|
|
|
2713
2713
|
}
|
|
2714
2714
|
},
|
|
2715
2715
|
Callout: {
|
|
2716
|
-
props:
|
|
2716
|
+
props: Fi,
|
|
2717
2717
|
description: "A highlighted info / tip / warning box for a single important note. Use for one call-out, not for long prose.",
|
|
2718
2718
|
example: {
|
|
2719
2719
|
type: "tip",
|
|
@@ -2722,7 +2722,7 @@ const Up = op(sp, {
|
|
|
2722
2722
|
}
|
|
2723
2723
|
},
|
|
2724
2724
|
PhoneAgentCard: {
|
|
2725
|
-
props:
|
|
2725
|
+
props: Ui,
|
|
2726
2726
|
description: 'A phone agent card with a "Test via web" action. NEVER author this yourself: it only comes back, already fenced, from the phone-agent tools — carry that fence verbatim.',
|
|
2727
2727
|
example: {
|
|
2728
2728
|
agentId: "00000000-0000-4000-8000-000000000000",
|
|
@@ -2731,7 +2731,7 @@ const Up = op(sp, {
|
|
|
2731
2731
|
}
|
|
2732
2732
|
},
|
|
2733
2733
|
Chart: {
|
|
2734
|
-
props:
|
|
2734
|
+
props: Wi,
|
|
2735
2735
|
description: "A bar, line, or pie (donut) chart. `data` is an array of { label, value } points. Choose by the question: line = trend over time, bar = comparison across categories, pie = share of a total (optional `centerLabel` shows a big number in the donut hole). Use for trends or distributions, not for a handful of numbers (use Metric for those). Colours, axes, legend, and tooltips are handled for you.",
|
|
2736
2736
|
example: {
|
|
2737
2737
|
type: "bar",
|
|
@@ -2762,7 +2762,7 @@ function qp(e) {
|
|
|
2762
2762
|
const { registry: zs } = _p(Up, {
|
|
2763
2763
|
components: {
|
|
2764
2764
|
Card: ({ props: e, children: t, loading: n }) => {
|
|
2765
|
-
const r = Re(
|
|
2765
|
+
const r = Re(Mi, e, {});
|
|
2766
2766
|
return /* @__PURE__ */ f("div", { className: "flex flex-col gap-2 rounded-xl border border-muted-foreground/15 p-3", children: [
|
|
2767
2767
|
(r.title || r.description) && /* @__PURE__ */ f("div", { className: "flex flex-col gap-0.5", children: [
|
|
2768
2768
|
r.title && /* @__PURE__ */ o("div", { className: "text-sm font-semibold text-foreground", children: r.title }),
|
|
@@ -2772,7 +2772,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2772
2772
|
] });
|
|
2773
2773
|
},
|
|
2774
2774
|
Stack: ({ props: e, children: t, loading: n }) => {
|
|
2775
|
-
const r = Re(
|
|
2775
|
+
const r = Re(Pi, e, {}), s = {
|
|
2776
2776
|
start: "items-start",
|
|
2777
2777
|
center: "items-center",
|
|
2778
2778
|
end: "items-end",
|
|
@@ -2798,7 +2798,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2798
2798
|
);
|
|
2799
2799
|
},
|
|
2800
2800
|
Grid: ({ props: e, children: t, loading: n }) => {
|
|
2801
|
-
const r = Re(
|
|
2801
|
+
const r = Re(zi, e, {});
|
|
2802
2802
|
return /* @__PURE__ */ o(
|
|
2803
2803
|
"div",
|
|
2804
2804
|
{
|
|
@@ -2809,7 +2809,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2809
2809
|
);
|
|
2810
2810
|
},
|
|
2811
2811
|
Heading: ({ props: e }) => {
|
|
2812
|
-
const t = Re(
|
|
2812
|
+
const t = Re(Oi, e, { text: "" }), n = t.level ?? 3, r = {
|
|
2813
2813
|
1: "text-xl font-bold",
|
|
2814
2814
|
2: "text-lg font-bold",
|
|
2815
2815
|
3: "text-base font-semibold",
|
|
@@ -2822,7 +2822,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2822
2822
|
);
|
|
2823
2823
|
},
|
|
2824
2824
|
Text: ({ props: e }) => {
|
|
2825
|
-
const t = Re(
|
|
2825
|
+
const t = Re(Ri, e, { text: "" });
|
|
2826
2826
|
if (t.variant === "code")
|
|
2827
2827
|
return /* @__PURE__ */ o("code", { className: "rounded bg-muted px-1.5 py-0.5 font-mono text-xs text-foreground", children: t.text });
|
|
2828
2828
|
const n = t.variant === "muted" || t.variant === "caption";
|
|
@@ -2838,7 +2838,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2838
2838
|
);
|
|
2839
2839
|
},
|
|
2840
2840
|
Badge: ({ props: e }) => {
|
|
2841
|
-
const t = Re(
|
|
2841
|
+
const t = Re($i, e, { text: "" }), n = {
|
|
2842
2842
|
default: "bg-primary text-primary-foreground",
|
|
2843
2843
|
secondary: "bg-secondary text-secondary-foreground",
|
|
2844
2844
|
success: "bg-emerald-500/15 text-emerald-600 dark:text-emerald-400",
|
|
@@ -2857,11 +2857,11 @@ const { registry: zs } = _p(Up, {
|
|
|
2857
2857
|
);
|
|
2858
2858
|
},
|
|
2859
2859
|
List: ({ props: e, loading: t }) => {
|
|
2860
|
-
const n = Re(
|
|
2860
|
+
const n = Re(Di, e, { items: [] });
|
|
2861
2861
|
return n.items.length === 0 ? t ? /* @__PURE__ */ o(Wr, {}) : /* @__PURE__ */ o(Os, { translationKey: "json_no_items" }) : /* @__PURE__ */ o(rm, { items: n.items, maxVisible: n.maxVisible });
|
|
2862
2862
|
},
|
|
2863
2863
|
Table: ({ props: e, loading: t }) => {
|
|
2864
|
-
const n = Re(
|
|
2864
|
+
const n = Re(ji, e, { columns: [], rows: [] });
|
|
2865
2865
|
return t && n.rows.length === 0 ? /* @__PURE__ */ o(Wr, {}) : n.columns.length === 0 ? /* @__PURE__ */ o(Os, { translationKey: "json_no_data" }) : /* @__PURE__ */ o("div", { className: "overflow-x-auto rounded-lg border border-muted-foreground/15", children: /* @__PURE__ */ f("table", { className: "w-full text-sm", children: [
|
|
2866
2866
|
n.caption && /* @__PURE__ */ o("caption", { className: "px-3 py-2 text-start text-xs text-muted-foreground", children: n.caption }),
|
|
2867
2867
|
/* @__PURE__ */ o("thead", { children: /* @__PURE__ */ o("tr", { className: "border-b border-muted-foreground/15 bg-muted/40", children: n.columns.map((r, s) => /* @__PURE__ */ o(
|
|
@@ -2883,7 +2883,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2883
2883
|
] }) });
|
|
2884
2884
|
},
|
|
2885
2885
|
Metric: ({ props: e }) => {
|
|
2886
|
-
const t = Re(
|
|
2886
|
+
const t = Re(Hi, e, { label: "", value: "" });
|
|
2887
2887
|
return /* @__PURE__ */ o(
|
|
2888
2888
|
em,
|
|
2889
2889
|
{
|
|
@@ -2896,7 +2896,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2896
2896
|
);
|
|
2897
2897
|
},
|
|
2898
2898
|
Callout: ({ props: e }) => {
|
|
2899
|
-
const t = Re(
|
|
2899
|
+
const t = Re(Fi, e, { content: "" }), n = Yp[t.type ?? "info"], r = n.Icon;
|
|
2900
2900
|
return /* @__PURE__ */ f("div", { className: T("flex gap-2 rounded-lg border-l-2 p-3", n.cls), children: [
|
|
2901
2901
|
/* @__PURE__ */ o(r, { className: "mt-0.5 size-4 shrink-0" }),
|
|
2902
2902
|
/* @__PURE__ */ f("div", { className: "flex flex-col gap-0.5", children: [
|
|
@@ -2906,14 +2906,14 @@ const { registry: zs } = _p(Up, {
|
|
|
2906
2906
|
] });
|
|
2907
2907
|
},
|
|
2908
2908
|
PhoneAgentCard: ({ props: e }) => {
|
|
2909
|
-
const t = Re(
|
|
2909
|
+
const t = Re(Ui, e, {
|
|
2910
2910
|
agentId: "",
|
|
2911
2911
|
agentName: ""
|
|
2912
2912
|
});
|
|
2913
2913
|
return /* @__PURE__ */ o(Gp, { ...t });
|
|
2914
2914
|
},
|
|
2915
2915
|
Chart: ({ props: e }) => {
|
|
2916
|
-
const t = Re(
|
|
2916
|
+
const t = Re(Wi, e, { type: "bar", data: [] });
|
|
2917
2917
|
return /* @__PURE__ */ f("div", { className: "flex flex-col gap-1", children: [
|
|
2918
2918
|
t.title && /* @__PURE__ */ o("span", { className: "text-xs font-medium text-muted-foreground", children: t.title }),
|
|
2919
2919
|
/* @__PURE__ */ o($p, { ...t })
|
|
@@ -2934,7 +2934,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2934
2934
|
cls: "border-l-amber-500 bg-amber-500/5 text-foreground"
|
|
2935
2935
|
},
|
|
2936
2936
|
important: {
|
|
2937
|
-
Icon:
|
|
2937
|
+
Icon: Wa,
|
|
2938
2938
|
cls: "border-l-red-500 bg-red-500/5 text-foreground"
|
|
2939
2939
|
}
|
|
2940
2940
|
};
|
|
@@ -2972,7 +2972,7 @@ function Gp({
|
|
|
2972
2972
|
payload: { agentId: e, model: n ?? null }
|
|
2973
2973
|
}),
|
|
2974
2974
|
children: [
|
|
2975
|
-
/* @__PURE__ */ o(
|
|
2975
|
+
/* @__PURE__ */ o(Ua, { className: "size-4", "aria-hidden": !0 }),
|
|
2976
2976
|
r("json_phone_agent_test")
|
|
2977
2977
|
]
|
|
2978
2978
|
}
|
|
@@ -3115,7 +3115,7 @@ function rm({
|
|
|
3115
3115
|
className: "col-span-full flex w-full items-center justify-center gap-1 border-t border-muted-foreground/10 py-2 text-xs text-muted-foreground transition-colors hover:bg-muted/50",
|
|
3116
3116
|
onClick: () => a((b) => !b),
|
|
3117
3117
|
children: i ? /* @__PURE__ */ f(te, { children: [
|
|
3118
|
-
/* @__PURE__ */ o(
|
|
3118
|
+
/* @__PURE__ */ o(Ba, { className: "size-3" }),
|
|
3119
3119
|
s("json_see_less")
|
|
3120
3120
|
] }) : /* @__PURE__ */ f(te, { children: [
|
|
3121
3121
|
/* @__PURE__ */ o(Yl, { className: "size-3" }),
|
|
@@ -3127,7 +3127,7 @@ function rm({
|
|
|
3127
3127
|
}
|
|
3128
3128
|
);
|
|
3129
3129
|
}
|
|
3130
|
-
function
|
|
3130
|
+
function Bi({
|
|
3131
3131
|
spec: e,
|
|
3132
3132
|
active: t = !1
|
|
3133
3133
|
}) {
|
|
@@ -3135,7 +3135,7 @@ function Ui({
|
|
|
3135
3135
|
() => ({ t: s, anchorTarget: n ?? "_blank", onUiAction: r }),
|
|
3136
3136
|
[s, n, r]
|
|
3137
3137
|
);
|
|
3138
|
-
return /* @__PURE__ */ o(
|
|
3138
|
+
return /* @__PURE__ */ o(qi, { spec: e, host: i, active: t });
|
|
3139
3139
|
}
|
|
3140
3140
|
function Kx({
|
|
3141
3141
|
spec: e,
|
|
@@ -3144,9 +3144,9 @@ function Kx({
|
|
|
3144
3144
|
anchorTarget: r
|
|
3145
3145
|
}) {
|
|
3146
3146
|
const s = Mp({ language: t, onUiAction: n, anchorTarget: r });
|
|
3147
|
-
return /* @__PURE__ */ o(
|
|
3147
|
+
return /* @__PURE__ */ o(qi, { spec: e, host: s });
|
|
3148
3148
|
}
|
|
3149
|
-
function
|
|
3149
|
+
function qi({
|
|
3150
3150
|
spec: e,
|
|
3151
3151
|
host: t,
|
|
3152
3152
|
active: n = !1
|
|
@@ -3161,7 +3161,7 @@ function om({
|
|
|
3161
3161
|
() => e ? zp(e) : null,
|
|
3162
3162
|
[e]
|
|
3163
3163
|
);
|
|
3164
|
-
return !n || !
|
|
3164
|
+
return !n || !bi(n) ? null : /* @__PURE__ */ o(Cp, { registry: zs, initialState: n.state, children: /* @__PURE__ */ o(
|
|
3165
3165
|
Sp,
|
|
3166
3166
|
{
|
|
3167
3167
|
spec: n,
|
|
@@ -3229,7 +3229,7 @@ function sm(e) {
|
|
|
3229
3229
|
return l(), d(), n;
|
|
3230
3230
|
}
|
|
3231
3231
|
function am(e) {
|
|
3232
|
-
return
|
|
3232
|
+
return bi(e) && e.elements[e.root] !== void 0;
|
|
3233
3233
|
}
|
|
3234
3234
|
const im = '{"op":';
|
|
3235
3235
|
function cm(e) {
|
|
@@ -3269,7 +3269,7 @@ const Ur = [
|
|
|
3269
3269
|
"video/x-matroska": [".mkv"],
|
|
3270
3270
|
"video/3gpp": [".3gp"]
|
|
3271
3271
|
};
|
|
3272
|
-
function
|
|
3272
|
+
function Vi({
|
|
3273
3273
|
type: e,
|
|
3274
3274
|
name: t
|
|
3275
3275
|
}) {
|
|
@@ -3286,7 +3286,7 @@ function sr() {
|
|
|
3286
3286
|
const Zt = {
|
|
3287
3287
|
x: 2,
|
|
3288
3288
|
y: 2
|
|
3289
|
-
}, Ze =
|
|
3289
|
+
}, Ze = kl(
|
|
3290
3290
|
Pa(
|
|
3291
3291
|
({ children: e, className: t, scale: n = 1.02, off: r = !1 }, s) => {
|
|
3292
3292
|
const [i, a] = R(!1), [c, d] = R({ x: 0, y: 0 }), l = sr(), p = kt();
|
|
@@ -3423,7 +3423,7 @@ const Ct = [0.23, 1, 0.32, 1], pm = `cubic-bezier(${Ct.join(", ")})`, Ye = { dur
|
|
|
3423
3423
|
}
|
|
3424
3424
|
);
|
|
3425
3425
|
ne.displayName = "MotionDiv";
|
|
3426
|
-
const Br =
|
|
3426
|
+
const Br = ri(
|
|
3427
3427
|
T(
|
|
3428
3428
|
"inline-flex shrink-0 items-center justify-center gap-2",
|
|
3429
3429
|
"text-sm font-medium whitespace-nowrap",
|
|
@@ -3481,7 +3481,7 @@ const Br = ni(
|
|
|
3481
3481
|
) })
|
|
3482
3482
|
);
|
|
3483
3483
|
Y.displayName = "Button";
|
|
3484
|
-
const
|
|
3484
|
+
const Yi = Le(null);
|
|
3485
3485
|
function Nm({ children: e }) {
|
|
3486
3486
|
const [t, n] = R(!1), [r, s] = R(null), i = (c) => {
|
|
3487
3487
|
s(c), n(!0);
|
|
@@ -3491,7 +3491,7 @@ function Nm({ children: e }) {
|
|
|
3491
3491
|
}, 200);
|
|
3492
3492
|
}, []);
|
|
3493
3493
|
return /* @__PURE__ */ f(
|
|
3494
|
-
|
|
3494
|
+
Yi.Provider,
|
|
3495
3495
|
{
|
|
3496
3496
|
value: { open: i, close: a, isOpen: t, content: r },
|
|
3497
3497
|
children: [
|
|
@@ -3502,7 +3502,7 @@ function Nm({ children: e }) {
|
|
|
3502
3502
|
);
|
|
3503
3503
|
}
|
|
3504
3504
|
function ar() {
|
|
3505
|
-
const e = Me(
|
|
3505
|
+
const e = Me(Yi);
|
|
3506
3506
|
return e || (he.error("useDialoger must be used within a DialogerProvider"), {
|
|
3507
3507
|
open: () => {
|
|
3508
3508
|
},
|
|
@@ -3560,7 +3560,7 @@ function Sn({
|
|
|
3560
3560
|
className: "rounded-full absolute top-4 right-4 opacity-50 hover:opacity-100",
|
|
3561
3561
|
onClick: r,
|
|
3562
3562
|
children: [
|
|
3563
|
-
/* @__PURE__ */ o(
|
|
3563
|
+
/* @__PURE__ */ o(qa, { className: "h-4 w-4" }),
|
|
3564
3564
|
/* @__PURE__ */ o("span", { className: "sr-only", children: s("dialog_close") })
|
|
3565
3565
|
]
|
|
3566
3566
|
}
|
|
@@ -3591,11 +3591,11 @@ const No = ({
|
|
|
3591
3591
|
}
|
|
3592
3592
|
);
|
|
3593
3593
|
No.displayName = "DialogerBody";
|
|
3594
|
-
const
|
|
3594
|
+
const Xi = ({
|
|
3595
3595
|
className: e,
|
|
3596
3596
|
...t
|
|
3597
3597
|
}) => /* @__PURE__ */ o("div", { className: T("flex flex-col gap-2", e), ...t });
|
|
3598
|
-
|
|
3598
|
+
Xi.displayName = "DialogerFooter";
|
|
3599
3599
|
const _o = pe.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o(
|
|
3600
3600
|
"p",
|
|
3601
3601
|
{
|
|
@@ -3638,7 +3638,7 @@ function Tm(e, t, n, r) {
|
|
|
3638
3638
|
y: Math.min(d, Math.max(-d, e.y))
|
|
3639
3639
|
};
|
|
3640
3640
|
}
|
|
3641
|
-
function
|
|
3641
|
+
function Gi({ src: e, alt: t }) {
|
|
3642
3642
|
const { t: n } = X(), [r, s] = R(1), [i, a] = R({ x: 0, y: 0 }), [c, d] = R(!1), l = U({ x: 0, y: 0 }), p = U({ x: 0, y: 0 }), u = U(null), m = U(null), h = U(!1), b = (v) => Math.min($s, Math.max(Rs, v)), g = H(() => {
|
|
3643
3643
|
s(1), a({ x: 0, y: 0 });
|
|
3644
3644
|
}, []), S = H(() => {
|
|
@@ -3812,7 +3812,7 @@ function Ds({
|
|
|
3812
3812
|
}
|
|
3813
3813
|
) });
|
|
3814
3814
|
}
|
|
3815
|
-
function
|
|
3815
|
+
function Ki({ attachment: e }) {
|
|
3816
3816
|
const { name: t, size: n, type: r, url: s } = e, i = r.startsWith("image/"), a = r.startsWith("video/"), c = r.startsWith("audio/"), d = r === "application/pdf";
|
|
3817
3817
|
if (c)
|
|
3818
3818
|
return /* @__PURE__ */ o(Ze, { children: /* @__PURE__ */ o("div", { className: "w-full shrink-0 overflow-hidden", children: /* @__PURE__ */ f("audio", { controls: !0, className: "w-full", children: [
|
|
@@ -3834,7 +3834,7 @@ function Gi({ attachment: e }) {
|
|
|
3834
3834
|
{
|
|
3835
3835
|
className: "size-full max-w-full rounded-3xl flex items-center justify-center bg-transparent border-none gap-0",
|
|
3836
3836
|
withClose: !0,
|
|
3837
|
-
children: /* @__PURE__ */ o(
|
|
3837
|
+
children: /* @__PURE__ */ o(Gi, { src: s, alt: t })
|
|
3838
3838
|
}
|
|
3839
3839
|
)
|
|
3840
3840
|
}
|
|
@@ -3846,18 +3846,18 @@ function Gi({ attachment: e }) {
|
|
|
3846
3846
|
url: s,
|
|
3847
3847
|
name: t,
|
|
3848
3848
|
size: n,
|
|
3849
|
-
icon: /* @__PURE__ */ o(
|
|
3849
|
+
icon: /* @__PURE__ */ o(Va, { className: "size-5", strokeWidth: 1.75 }),
|
|
3850
3850
|
label: "PDF"
|
|
3851
3851
|
}
|
|
3852
3852
|
);
|
|
3853
|
-
const l =
|
|
3853
|
+
const l = Vi({ type: r, name: t });
|
|
3854
3854
|
return l ? /* @__PURE__ */ o(
|
|
3855
3855
|
Ds,
|
|
3856
3856
|
{
|
|
3857
3857
|
url: s,
|
|
3858
3858
|
name: t,
|
|
3859
3859
|
size: n,
|
|
3860
|
-
icon: /* @__PURE__ */ o(
|
|
3860
|
+
icon: /* @__PURE__ */ o(Ya, { className: "size-5", strokeWidth: 1.75 }),
|
|
3861
3861
|
label: l.label
|
|
3862
3862
|
}
|
|
3863
3863
|
) : /* @__PURE__ */ o(Ze, { children: /* @__PURE__ */ o("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ f("div", { className: "flex items-end gap-2 p-2", children: [
|
|
@@ -3912,7 +3912,7 @@ function Am({
|
|
|
3912
3912
|
}
|
|
3913
3913
|
);
|
|
3914
3914
|
}
|
|
3915
|
-
const
|
|
3915
|
+
const Zi = pe.memo(
|
|
3916
3916
|
Qd,
|
|
3917
3917
|
(e, t) => e.children === t.children && e.className === t.className
|
|
3918
3918
|
);
|
|
@@ -3938,7 +3938,7 @@ function Om() {
|
|
|
3938
3938
|
}).join(";")), (s = t.children) == null || s.forEach(e);
|
|
3939
3939
|
};
|
|
3940
3940
|
}
|
|
3941
|
-
function
|
|
3941
|
+
function Ji(e) {
|
|
3942
3942
|
return e.replace(/<citations>[\s\S]*?<\/citations>/g, "").replace(/<citations[\s\S]*$/, "").replace(/<(?:ref|cite)\s[^>]*?\/?>/g, "").replace(/<r(?:e(?:f[^>]*)?)?$/, "").replace(
|
|
3943
3943
|
/<c(?:i(?:t(?:a(?:t(?:i(?:o(?:n(?:s)?)?)?)?)?)?(?:e[^>]*)?)?)?$/,
|
|
3944
3944
|
""
|
|
@@ -3984,7 +3984,7 @@ function jm({ id: e, title: t }) {
|
|
|
3984
3984
|
className: "aspect-video w-full object-cover"
|
|
3985
3985
|
}
|
|
3986
3986
|
),
|
|
3987
|
-
/* @__PURE__ */ o("span", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ o("span", { className: "flex size-10 items-center justify-center rounded-full bg-black/60 text-white", children: /* @__PURE__ */ o(
|
|
3987
|
+
/* @__PURE__ */ o("span", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ o("span", { className: "flex size-10 items-center justify-center rounded-full bg-black/60 text-white", children: /* @__PURE__ */ o(Ua, { className: "size-5 fill-current" }) }) })
|
|
3988
3988
|
]
|
|
3989
3989
|
}
|
|
3990
3990
|
),
|
|
@@ -4081,11 +4081,11 @@ function Ao({
|
|
|
4081
4081
|
}) {
|
|
4082
4082
|
const { anchorTarget: a } = J();
|
|
4083
4083
|
return /* @__PURE__ */ o(
|
|
4084
|
-
|
|
4084
|
+
Zi,
|
|
4085
4085
|
{
|
|
4086
4086
|
"data-type": t,
|
|
4087
4087
|
"data-id": n,
|
|
4088
|
-
remarkPlugins: [
|
|
4088
|
+
remarkPlugins: [oi],
|
|
4089
4089
|
rehypePlugins: r ? [
|
|
4090
4090
|
$r,
|
|
4091
4091
|
Om,
|
|
@@ -4154,13 +4154,13 @@ function Ao({
|
|
|
4154
4154
|
{
|
|
4155
4155
|
className: "size-full max-w-full rounded-3xl flex items-center justify-center bg-transparent border-none gap-0",
|
|
4156
4156
|
withClose: !0,
|
|
4157
|
-
children: /* @__PURE__ */ o(
|
|
4157
|
+
children: /* @__PURE__ */ o(Gi, { src: c, alt: d })
|
|
4158
4158
|
}
|
|
4159
4159
|
)
|
|
4160
4160
|
}
|
|
4161
4161
|
) : /* @__PURE__ */ o("img", { src: c, alt: d, ...l })
|
|
4162
4162
|
},
|
|
4163
|
-
children:
|
|
4163
|
+
children: Ji(e)
|
|
4164
4164
|
}
|
|
4165
4165
|
);
|
|
4166
4166
|
}
|
|
@@ -4190,7 +4190,7 @@ function Vm({
|
|
|
4190
4190
|
const t = ct(), n = (r = t.config.customComponents) == null ? void 0 : r["message::after"];
|
|
4191
4191
|
return n ? /* @__PURE__ */ o(n, { ...t, currentMessage: e }) : null;
|
|
4192
4192
|
}
|
|
4193
|
-
const
|
|
4193
|
+
const Qi = Le(null);
|
|
4194
4194
|
function Ym({
|
|
4195
4195
|
children: e
|
|
4196
4196
|
}) {
|
|
@@ -4217,10 +4217,10 @@ function Ym({
|
|
|
4217
4217
|
}),
|
|
4218
4218
|
[]
|
|
4219
4219
|
);
|
|
4220
|
-
return /* @__PURE__ */ o(
|
|
4220
|
+
return /* @__PURE__ */ o(Qi.Provider, { value: i, children: e });
|
|
4221
4221
|
}
|
|
4222
4222
|
function Io() {
|
|
4223
|
-
return Me(
|
|
4223
|
+
return Me(Qi);
|
|
4224
4224
|
}
|
|
4225
4225
|
function Mo(e) {
|
|
4226
4226
|
var n;
|
|
@@ -4377,13 +4377,13 @@ function Vr(e) {
|
|
|
4377
4377
|
l == null ? void 0 : l.messageContainer
|
|
4378
4378
|
),
|
|
4379
4379
|
children: [
|
|
4380
|
-
s && s.length > 0 && /* @__PURE__ */ o("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((C) => /* @__PURE__ */ o(
|
|
4380
|
+
s && s.length > 0 && /* @__PURE__ */ o("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((C) => /* @__PURE__ */ o(Ki, { attachment: C }, C.id)) }),
|
|
4381
4381
|
g && u ? u.map((C, x) => C.type === "markdown" ? b(
|
|
4382
4382
|
C.content,
|
|
4383
4383
|
`md-${x}`,
|
|
4384
4384
|
x === S,
|
|
4385
4385
|
x === w
|
|
4386
|
-
) : /* @__PURE__ */ o("div", { className: "w-full", children: /* @__PURE__ */ o(
|
|
4386
|
+
) : /* @__PURE__ */ o("div", { className: "w-full", children: /* @__PURE__ */ o(Bi, { spec: C.spec }) }, `ui-${x}`)) : p.length > 0 && b(p),
|
|
4387
4387
|
e.messageOptions && /* @__PURE__ */ o(Xm, { messageId: n, messageOptions: e.messageOptions })
|
|
4388
4388
|
]
|
|
4389
4389
|
}
|
|
@@ -4469,7 +4469,7 @@ function Zm({ agent: e }) {
|
|
|
4469
4469
|
}
|
|
4470
4470
|
) });
|
|
4471
4471
|
}
|
|
4472
|
-
const Jm = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}*{border-color:hsl(var(--opencx-border))}.\\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.opencx-text-shimmer{animation:opencx-text-shimmer 2.5s ease-in-out infinite}.opencx-fade-up{animation:opencx-fade-up .3s cubic-bezier(.23,1,.32,1) both}[data-component="trigger/unread"],[data-component="sessions/unread"],[data-component="home/tab_unread"]{pointer-events:none;border-radius:9999px;background-color:hsl(var(--opencx-destructive));text-align:center;font-weight:600;--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);color:hsl(var(--opencx-destructive-foreground));font-size:11px;line-height:18px;box-shadow:0 0 0 2px hsl(var(--opencx-background))}[data-component="trigger/unread"]{position:absolute;z-index:1}[data-component="sessions/unread"]{flex-shrink:0;box-shadow:none}[data-component="home/tab_unread"]{position:absolute;top:-2px;inset-inline-end:-2px}[data-unread-look=dot]{width:9px;height:9px}[data-unread-look=count]{min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}.opencx-placeholder-in{animation:opencx-placeholder-in .2s cubic-bezier(.23,1,.32,1) both}.opencx-placeholder-out{animation:opencx-placeholder-out .18s cubic-bezier(.23,1,.32,1) both}@keyframes opencx-text-shimmer{0%,to{opacity:.45}50%{opacity:1}}@keyframes opencx-fade-up{0%{opacity:0;filter:blur(4px);transform:translateY(8px)}to{opacity:1;filter:blur(0px);transform:translateY(0)}}@keyframes opencx-placeholder-in{0%{opacity:0;transform:translateY(4px);filter:blur(1px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes opencx-placeholder-out{0%{opacity:1;transform:translateY(0);filter:blur(0)}to{opacity:0;transform:translateY(-8px);filter:blur(1px)}}.opencx-input-recall{animation:opencx-input-recall .15s cubic-bezier(.23,1,.32,1)}@keyframes opencx-input-recall{0%{opacity:.25;translate:0 -3px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.opencx-text-shimmer,.opencx-fade-up,.opencx-placeholder-in,.opencx-placeholder-out,.opencx-input-recall{animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.\\!sticky{position:sticky!important}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-0\\.5{top:.125rem;right:.125rem;bottom:.125rem;left:.125rem}.inset-x-0{left:0;right:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.end-1{inset-inline-end:.25rem}.end-4{inset-inline-end:1rem}.end-6{inset-inline-end:1.5rem}.left-1\\/2,.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.start-10{inset-inline-start:2.5rem}.start-2{inset-inline-start:.5rem}.start-4{inset-inline-start:1rem}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.top-full{top:100%}.isolate{isolation:isolate}.-z-10{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.col-span-full{grid-column:1 / -1}.m-2{margin:.5rem}.-mx-0\\.5{margin-left:-.125rem;margin-right:-.125rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mt-0\\.5{margin-top:-.125rem}.-mt-6{margin-top:-1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-auto{margin-left:auto}.ms-1\\.5{margin-inline-start:.375rem}.ms-\\[30px\\]{margin-inline-start:30px}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-0{width:0px;height:0px}.size-1\\.5{width:.375rem;height:.375rem}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-2{width:.5rem;height:.5rem}.size-2\\.5{width:.625rem;height:.625rem}.size-3{width:.75rem;height:.75rem}.size-3\\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-9{width:2.25rem;height:2.25rem}.size-\\[18px\\]{width:18px;height:18px}.size-\\[max\\(100\\%\\,3rem\\)\\]{width:max(100%,3rem);height:max(100%,3rem)}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-\\[160px\\]{max-height:160px}.max-h-\\[200px\\]{max-height:200px}.max-h-\\[50vh\\]{max-height:50vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-12{min-height:3rem}.min-h-8{min-height:2rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-1\\/4{width:25%}.w-10{width:2.5rem}.w-14{width:3.5rem}.w-2\\/3{width:66.666667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-7{width:1.75rem}.w-\\[32px\\]{width:32px}.w-\\[3px\\]{width:3px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.w-svw{width:100svw}.min-w-0{min-width:0px}.min-w-80{min-width:20rem}.min-w-\\[140px\\]{min-width:140px}.min-w-\\[3ch\\]{min-width:3ch}.max-w-11{max-width:2.75rem}.max-w-40{max-width:10rem}.max-w-48{max-width:12rem}.max-w-64{max-width:16rem}.max-w-80{max-width:20rem}.max-w-96{max-width:24rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-\\[min\\(100\\%\\,16rem\\)\\]{max-width:min(100%,16rem)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.shrink-\\[2\\]{flex-shrink:2}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-\\[var\\(--radix-popover-content-transform-origin\\)\\]{transform-origin:var(--radix-popover-content-transform-origin)}.origin-\\[var\\(--radix-tooltip-content-transform-origin\\)\\]{transform-origin:var(--radix-tooltip-content-transform-origin)}.origin-center{transform-origin:center}.origin-top{transform-origin:top}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[var\\(--wobble-x\\)\\]{--tw-translate-x: var(--wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[var\\(--wobble-y\\)\\]{--tw-translate-y: var(--wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-50{--tw-scale-y: .5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\\[subgrid\\]{grid-template-columns:subgrid}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.gap-\\[3px\\]{gap:3px}.gap-x-2\\.5{column-gap:.625rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-foreground\\/10>:not([hidden])~:not([hidden]){border-color:hsl(var(--opencx-foreground) / .1)}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[19px\\]{border-radius:19px}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[calc\\(var\\(--opencx-inset-radius\\)\\+var\\(--cx-p\\)\\)\\]{border-radius:calc(var(--opencx-inset-radius) + var(--cx-p))}.rounded-\\[calc\\(var\\(--pk-r\\)-var\\(--pk-p\\)\\)\\]{border-radius:calc(var(--pk-r) - var(--pk-p))}.rounded-\\[var\\(--opencx-inset-radius\\)\\]{border-radius:var(--opencx-inset-radius)}.rounded-\\[var\\(--pk-r\\)\\]{border-radius:var(--pk-r)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-2xl{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-\\[1\\.5px\\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l-2{border-left-width:2px}.border-s{border-inline-start-width:1px}.border-s-2{border-inline-start-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-border{border-color:hsl(var(--opencx-border))}.border-destructive\\/30{border-color:hsl(var(--opencx-destructive) / .3)}.border-foreground\\/10{border-color:hsl(var(--opencx-foreground) / .1)}.border-foreground\\/15{border-color:hsl(var(--opencx-foreground) / .15)}.border-muted-foreground\\/10{border-color:hsl(var(--opencx-muted-foreground) / .1)}.border-muted-foreground\\/15{border-color:hsl(var(--opencx-muted-foreground) / .15)}.border-muted-foreground\\/20{border-color:hsl(var(--opencx-muted-foreground) / .2)}.border-muted-foreground\\/30{border-color:hsl(var(--opencx-muted-foreground) / .3)}.border-primary{border-color:hsl(var(--opencx-primary))}.border-primary\\/10{border-color:hsl(var(--opencx-primary) / .1)}.border-primary\\/50{border-color:hsl(var(--opencx-primary) / .5)}.border-l-amber-500{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-l-blue-500{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-l-emerald-500{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity, 1))}.border-l-red-500{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-t-current{border-top-color:currentColor}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-500\\/15{background-color:#f59e0b26}.bg-amber-500\\/5{background-color:#f59e0b0d}.bg-background{background-color:hsl(var(--opencx-background))}.bg-background\\/80{background-color:hsl(var(--opencx-background) / .8)}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/5{background-color:#3b82f60d}.bg-current{background-color:currentColor}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/10{background-color:hsl(var(--opencx-destructive) / .1)}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-500\\/10{background-color:#10b9811a}.bg-emerald-500\\/15{background-color:#10b98126}.bg-emerald-500\\/5{background-color:#10b9810d}.bg-foreground{background-color:hsl(var(--opencx-foreground))}.bg-foreground\\/5{background-color:hsl(var(--opencx-foreground) / .05)}.bg-foreground\\/50{background-color:hsl(var(--opencx-foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--opencx-foreground) / .6)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-muted-foreground{background-color:hsl(var(--opencx-muted-foreground))}.bg-muted-foreground\\/10{background-color:hsl(var(--opencx-muted-foreground) / .1)}.bg-muted-foreground\\/30{background-color:hsl(var(--opencx-muted-foreground) / .3)}.bg-muted-foreground\\/40{background-color:hsl(var(--opencx-muted-foreground) / .4)}.bg-muted\\/30{background-color:hsl(var(--opencx-muted) / .3)}.bg-muted\\/40{background-color:hsl(var(--opencx-muted) / .4)}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-primary-foreground\\/20{background-color:hsl(var(--opencx-primary-foreground) / .2)}.bg-primary\\/10{background-color:hsl(var(--opencx-primary) / .1)}.bg-primary\\/25{background-color:hsl(var(--opencx-primary) / .25)}.bg-primary\\/\\[0\\.07\\]{background-color:hsl(var(--opencx-primary) / .07)}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-500\\/5{background-color:#ef44440d}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-secondary-foreground\\/10{background-color:hsl(var(--opencx-secondary-foreground) / .1)}.bg-secondary-foreground\\/20{background-color:hsl(var(--opencx-secondary-foreground) / .2)}.bg-transparent{background-color:transparent}.bg-white\\/30{background-color:#ffffff4d}.bg-\\[radial-gradient\\(ellipse_at_top_left\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\,radial-gradient\\(ellipse_at_top_right\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\]{background-image:radial-gradient(ellipse at top left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse at top right,hsl(var(--opencx-primary)),transparent)}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground\\/70{--tw-gradient-from: hsl(var(--opencx-foreground) / .7) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--opencx-foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-foreground\\/0{--tw-gradient-to: hsl(var(--opencx-foreground) / 0) var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.fill-foreground{fill:hsl(var(--opencx-foreground))}.stroke-current{stroke:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-left-top{object-position:left top}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\\[var\\(--cx-p\\)\\]{padding:var(--cx-p)}.p-\\[var\\(--pk-p\\)\\]{padding:var(--pk-p)}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\\[3px\\]{padding-top:3px;padding-bottom:3px}.pb-0{padding-bottom:0}.pb-0\\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-14{padding-bottom:3.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pe-1{padding-inline-end:.25rem}.pe-2{padding-inline-end:.5rem}.pe-2\\.5{padding-inline-end:.625rem}.pe-4{padding-inline-end:1rem}.pl-2{padding-left:.5rem}.pl-6{padding-left:1.5rem}.pr-16{padding-right:4rem}.ps-1{padding-inline-start:.25rem}.ps-1\\.5{padding-inline-start:.375rem}.ps-10{padding-inline-start:2.5rem}.ps-2{padding-inline-start:.5rem}.ps-2\\.5{padding-inline-start:.625rem}.ps-3{padding-inline-start:.75rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[0\\.8125rem\\]{font-size:.8125rem}.text-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-background{color:hsl(var(--opencx-background))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--opencx-destructive))}.text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-foreground{color:hsl(var(--opencx-foreground))}.text-foreground\\/50{color:hsl(var(--opencx-foreground) / .5)}.text-foreground\\/60{color:hsl(var(--opencx-foreground) / .6)}.text-foreground\\/80{color:hsl(var(--opencx-foreground) / .8)}.text-foreground\\/90{color:hsl(var(--opencx-foreground) / .9)}.text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.text-muted-foreground\\/40{color:hsl(var(--opencx-muted-foreground) / .4)}.text-muted-foreground\\/50{color:hsl(var(--opencx-muted-foreground) / .5)}.text-muted-foreground\\/60{color:hsl(var(--opencx-muted-foreground) / .6)}.text-muted-foreground\\/70{color:hsl(var(--opencx-muted-foreground) / .7)}.text-muted-foreground\\/75{color:hsl(var(--opencx-muted-foreground) / .75)}.text-primary{color:hsl(var(--opencx-primary))}.text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}.text-primary-foreground\\/60{color:hsl(var(--opencx-primary-foreground) / .6)}.text-primary\\/10{color:hsl(var(--opencx-primary) / .1)}.text-primary\\/40{color:hsl(var(--opencx-primary) / .4)}.text-primary\\/50{color:hsl(var(--opencx-primary) / .5)}.text-primary\\/60{color:hsl(var(--opencx-primary) / .6)}.text-primary\\/70{color:hsl(var(--opencx-primary) / .7)}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.text-secondary-foreground\\/60{color:hsl(var(--opencx-secondary-foreground) / .6)}.text-secondary-foreground\\/70{color:hsl(var(--opencx-secondary-foreground) / .7)}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\\/80{color:#fffc}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.caret-foreground{caret-color:hsl(var(--opencx-foreground))}.accent-current{accent-color:currentColor}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-8{outline-width:8px}.outline-background{outline-color:hsl(var(--opencx-background))}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-border{--tw-ring-color: hsl(var(--opencx-border))}.ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.blur{--tw-blur: blur(8px);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)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));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)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[background-color\\,color\\,transform\\]{transition-property:background-color,color,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[height\\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-opencx{transition-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in{--tw-enter-scale: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-opencx{animation-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-foreground))}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-bold\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-bold: hsl(var(--opencx-foreground))}.\\[--tw-prose-bold\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-bold: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-bullets\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-bullets: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-code\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-code: hsl(var(--opencx-foreground))}.\\[--tw-prose-code\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-code: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-counters\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-counters: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-headings\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-headings: hsl(var(--opencx-foreground))}.\\[--tw-prose-headings\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-headings: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-hr\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-hr: hsl(var(--opencx-border))}.\\[--tw-prose-lead\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-lead: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-links\\:hsl\\(var\\(--opencx-primary\\)\\)\\]{--tw-prose-links: hsl(var(--opencx-primary))}.\\[--tw-prose-links\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-links: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-pre-bg\\:hsl\\(var\\(--opencx-muted\\)\\)\\]{--tw-prose-pre-bg: hsl(var(--opencx-muted))}.\\[--tw-prose-pre-code\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-pre-code: hsl(var(--opencx-foreground))}.\\[--tw-prose-quote-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-quote-borders: hsl(var(--opencx-border))}.\\[--tw-prose-quotes\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-quotes: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-td-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-td-borders: hsl(var(--opencx-border))}.\\[--tw-prose-th-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-th-borders: hsl(var(--opencx-border))}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[overflow-wrap\\:anywhere\\]{overflow-wrap:anywhere}.\\[word-break\\:break-word\\]{word-break:break-word}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}.placeholder\\:text-muted-foreground\\/75::placeholder{color:hsl(var(--opencx-muted-foreground) / .75)}.last\\:border-0:last-child{border-width:0px}.focus-within\\:opacity-100:focus-within{opacity:1}.hover\\:scale-\\[var\\(--scale\\)\\]:hover{--tw-scale-x: var(--scale);--tw-scale-y: var(--scale);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-accent\\/60:hover{background-color:hsl(var(--opencx-accent) / .6)}.hover\\:bg-foreground:hover{background-color:hsl(var(--opencx-foreground))}.hover\\:bg-muted:hover{background-color:hsl(var(--opencx-muted))}.hover\\:bg-muted\\/50:hover{background-color:hsl(var(--opencx-muted) / .5)}.hover\\:bg-muted\\/60:hover{background-color:hsl(var(--opencx-muted) / .6)}.hover\\:bg-primary\\/10:hover{background-color:hsl(var(--opencx-primary) / .1)}.hover\\:bg-primary\\/90:hover{background-color:hsl(var(--opencx-primary) / .9)}.hover\\:bg-primary\\/\\[0\\.02\\]:hover{background-color:hsl(var(--opencx-primary) / .02)}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:bg-secondary\\/80:hover{background-color:hsl(var(--opencx-secondary) / .8)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:bg-white\\/15:hover{background-color:#ffffff26}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\\:text-foreground:hover{color:hsl(var(--opencx-foreground))}.hover\\:text-muted-foreground:hover{color:hsl(var(--opencx-muted-foreground))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:text-primary-foreground:hover{color:hsl(var(--opencx-primary-foreground))}.hover\\:text-secondary-foreground:hover{color:hsl(var(--opencx-secondary-foreground))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:opacity-80:hover{opacity:.8}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-ring:focus-visible{outline-color:hsl(var(--opencx-ring))}.focus-visible\\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-inset:focus-visible{--tw-ring-inset: inset}.focus-visible\\:ring-primary\\/40:focus-visible{--tw-ring-color: hsl(var(--opencx-primary) / .4)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:scale-\\[0\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:hover\\:scale-\\[calc\\(var\\(--scale\\)-0\\.02\\)\\]:hover:active{--tw-scale-x: calc(var(--scale) - .02);--tw-scale-y: calc(var(--scale) - .02);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:text-white\\/30:disabled{color:#ffffff4d}.disabled\\:opacity-100:disabled{opacity:1}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\\:opacity-100{opacity:1}.aria-expanded\\:bg-muted[aria-expanded=true]{background-color:hsl(var(--opencx-muted))}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.prose-headings\\:my-1\\.5 :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.375rem;margin-bottom:.375rem}.prose-headings\\:text-\\[13px\\] :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:13px}.prose-p\\:my-1 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}.prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}.prose-pre\\:my-1\\.5 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.375rem;margin-bottom:.375rem}.prose-pre\\:p-2 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:.5rem}.prose-pre\\:text-\\[11px\\] :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:11px}.prose-ol\\:my-1 :is(:where(ol):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-ul\\:my-1 :is(:where(ul):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-li\\:my-0\\.5 :is(:where(li):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.125rem;margin-bottom:.125rem}.prose-table\\:block :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){display:block}.prose-table\\:overflow-x-auto :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){overflow-x:auto}.prose-table\\:\\[overflow-wrap\\:normal\\] :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){overflow-wrap:normal}.prose-table\\:\\[word-break\\:normal\\] :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){word-break:normal}.prose-img\\:rounded-xl :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){border-radius:.75rem}.prose-hr\\:my-2 :is(:where(hr):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.5rem;margin-bottom:.5rem}@media(prefers-reduced-motion:reduce){.motion-reduce\\:animate-none{animation:none}.motion-reduce\\:active\\:scale-100:active{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}@media(min-width:640px){.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}.rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media(prefers-color-scheme:dark){.dark\\:text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\\:text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\\:text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}}.\\[\\&\\>\\*\\:first-child\\]\\:mt-0>*:first-child{margin-top:0}.\\[\\&\\>\\*\\:last-child\\]\\:mb-0>*:last-child{margin-bottom:0}.\\[\\&_\\.animate-spin\\]\\:animate-none .animate-spin{animation:none}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}@media(hover:none){.\\[\\@media\\(hover\\:none\\)\\]\\:opacity-100{opacity:1}}@media(pointer:coarse){.\\[\\@media\\(pointer\\:coarse\\)\\]\\:min-h-12{min-height:3rem}.\\[\\@media\\(pointer\\:coarse\\)\\]\\:gap-y-3{row-gap:.75rem}}@media(pointer:fine){.\\[\\@media\\(pointer\\:fine\\)\\]\\:hidden{display:none}}', Qm = "5.14.1";
|
|
4472
|
+
const Jm = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}*{border-color:hsl(var(--opencx-border))}.\\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.opencx-text-shimmer{animation:opencx-text-shimmer 2.5s ease-in-out infinite}.opencx-fade-up{animation:opencx-fade-up .3s cubic-bezier(.23,1,.32,1) both}[data-component="trigger/unread"],[data-component="sessions/unread"],[data-component="home/tab_unread"]{pointer-events:none;border-radius:9999px;background-color:hsl(var(--opencx-destructive));text-align:center;font-weight:600;--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);color:hsl(var(--opencx-destructive-foreground));font-size:11px;line-height:18px;box-shadow:0 0 0 2px hsl(var(--opencx-background))}[data-component="trigger/unread"]{position:absolute;z-index:1}[data-component="sessions/unread"]{flex-shrink:0;box-shadow:none}[data-component="home/tab_unread"]{position:absolute;top:-2px;inset-inline-end:-2px}[data-unread-look=dot]{width:9px;height:9px}[data-unread-look=count]{min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}.opencx-placeholder-in{animation:opencx-placeholder-in .2s cubic-bezier(.23,1,.32,1) both}.opencx-placeholder-out{animation:opencx-placeholder-out .18s cubic-bezier(.23,1,.32,1) both}@keyframes opencx-text-shimmer{0%,to{opacity:.45}50%{opacity:1}}@keyframes opencx-fade-up{0%{opacity:0;filter:blur(4px);transform:translateY(8px)}to{opacity:1;filter:blur(0px);transform:translateY(0)}}@keyframes opencx-placeholder-in{0%{opacity:0;transform:translateY(4px);filter:blur(1px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes opencx-placeholder-out{0%{opacity:1;transform:translateY(0);filter:blur(0)}to{opacity:0;transform:translateY(-8px);filter:blur(1px)}}.opencx-input-recall{animation:opencx-input-recall .15s cubic-bezier(.23,1,.32,1)}@keyframes opencx-input-recall{0%{opacity:.25;translate:0 -3px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.opencx-text-shimmer,.opencx-fade-up,.opencx-placeholder-in,.opencx-placeholder-out,.opencx-input-recall{animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.\\!sticky{position:sticky!important}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-0\\.5{top:.125rem;right:.125rem;bottom:.125rem;left:.125rem}.inset-x-0{left:0;right:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.end-1{inset-inline-end:.25rem}.end-4{inset-inline-end:1rem}.end-6{inset-inline-end:1.5rem}.left-1\\/2,.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.start-10{inset-inline-start:2.5rem}.start-2{inset-inline-start:.5rem}.start-4{inset-inline-start:1rem}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.top-full{top:100%}.isolate{isolation:isolate}.-z-10{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.col-span-full{grid-column:1 / -1}.m-2{margin:.5rem}.-mx-0\\.5{margin-left:-.125rem;margin-right:-.125rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mt-0\\.5{margin-top:-.125rem}.-mt-6{margin-top:-1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-auto{margin-left:auto}.ms-1\\.5{margin-inline-start:.375rem}.ms-\\[30px\\]{margin-inline-start:30px}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-0{width:0px;height:0px}.size-1\\.5{width:.375rem;height:.375rem}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-2{width:.5rem;height:.5rem}.size-2\\.5{width:.625rem;height:.625rem}.size-3{width:.75rem;height:.75rem}.size-3\\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-9{width:2.25rem;height:2.25rem}.size-\\[18px\\]{width:18px;height:18px}.size-\\[max\\(100\\%\\,3rem\\)\\]{width:max(100%,3rem);height:max(100%,3rem)}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-\\[160px\\]{max-height:160px}.max-h-\\[200px\\]{max-height:200px}.max-h-\\[50vh\\]{max-height:50vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-12{min-height:3rem}.min-h-8{min-height:2rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-1\\/4{width:25%}.w-10{width:2.5rem}.w-14{width:3.5rem}.w-2\\/3{width:66.666667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-7{width:1.75rem}.w-\\[32px\\]{width:32px}.w-\\[3px\\]{width:3px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.w-svw{width:100svw}.min-w-0{min-width:0px}.min-w-80{min-width:20rem}.min-w-\\[140px\\]{min-width:140px}.min-w-\\[3ch\\]{min-width:3ch}.max-w-11{max-width:2.75rem}.max-w-40{max-width:10rem}.max-w-48{max-width:12rem}.max-w-64{max-width:16rem}.max-w-80{max-width:20rem}.max-w-96{max-width:24rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-\\[min\\(100\\%\\,16rem\\)\\]{max-width:min(100%,16rem)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.shrink-\\[2\\]{flex-shrink:2}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-\\[var\\(--radix-popover-content-transform-origin\\)\\]{transform-origin:var(--radix-popover-content-transform-origin)}.origin-\\[var\\(--radix-tooltip-content-transform-origin\\)\\]{transform-origin:var(--radix-tooltip-content-transform-origin)}.origin-center{transform-origin:center}.origin-top{transform-origin:top}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[var\\(--wobble-x\\)\\]{--tw-translate-x: var(--wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[var\\(--wobble-y\\)\\]{--tw-translate-y: var(--wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-50{--tw-scale-y: .5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\\[subgrid\\]{grid-template-columns:subgrid}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.gap-\\[3px\\]{gap:3px}.gap-x-2\\.5{column-gap:.625rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-foreground\\/10>:not([hidden])~:not([hidden]){border-color:hsl(var(--opencx-foreground) / .1)}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[19px\\]{border-radius:19px}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[calc\\(var\\(--opencx-inset-radius\\)\\+var\\(--cx-p\\)\\)\\]{border-radius:calc(var(--opencx-inset-radius) + var(--cx-p))}.rounded-\\[calc\\(var\\(--pk-r\\)-var\\(--pk-p\\)\\)\\]{border-radius:calc(var(--pk-r) - var(--pk-p))}.rounded-\\[var\\(--opencx-inset-radius\\)\\]{border-radius:var(--opencx-inset-radius)}.rounded-\\[var\\(--pk-r\\)\\]{border-radius:var(--pk-r)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-2xl{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-\\[1\\.5px\\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l-2{border-left-width:2px}.border-s{border-inline-start-width:1px}.border-s-2{border-inline-start-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-border{border-color:hsl(var(--opencx-border))}.border-destructive\\/30{border-color:hsl(var(--opencx-destructive) / .3)}.border-foreground\\/10{border-color:hsl(var(--opencx-foreground) / .1)}.border-foreground\\/15{border-color:hsl(var(--opencx-foreground) / .15)}.border-muted-foreground\\/10{border-color:hsl(var(--opencx-muted-foreground) / .1)}.border-muted-foreground\\/15{border-color:hsl(var(--opencx-muted-foreground) / .15)}.border-muted-foreground\\/20{border-color:hsl(var(--opencx-muted-foreground) / .2)}.border-muted-foreground\\/30{border-color:hsl(var(--opencx-muted-foreground) / .3)}.border-primary{border-color:hsl(var(--opencx-primary))}.border-primary\\/10{border-color:hsl(var(--opencx-primary) / .1)}.border-primary\\/50{border-color:hsl(var(--opencx-primary) / .5)}.border-l-amber-500{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-l-blue-500{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-l-emerald-500{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity, 1))}.border-l-red-500{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-t-current{border-top-color:currentColor}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-500\\/15{background-color:#f59e0b26}.bg-amber-500\\/5{background-color:#f59e0b0d}.bg-background{background-color:hsl(var(--opencx-background))}.bg-background\\/80{background-color:hsl(var(--opencx-background) / .8)}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/5{background-color:#3b82f60d}.bg-current{background-color:currentColor}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/10{background-color:hsl(var(--opencx-destructive) / .1)}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-500\\/10{background-color:#10b9811a}.bg-emerald-500\\/15{background-color:#10b98126}.bg-emerald-500\\/5{background-color:#10b9810d}.bg-foreground{background-color:hsl(var(--opencx-foreground))}.bg-foreground\\/5{background-color:hsl(var(--opencx-foreground) / .05)}.bg-foreground\\/50{background-color:hsl(var(--opencx-foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--opencx-foreground) / .6)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-muted-foreground{background-color:hsl(var(--opencx-muted-foreground))}.bg-muted-foreground\\/10{background-color:hsl(var(--opencx-muted-foreground) / .1)}.bg-muted-foreground\\/30{background-color:hsl(var(--opencx-muted-foreground) / .3)}.bg-muted-foreground\\/40{background-color:hsl(var(--opencx-muted-foreground) / .4)}.bg-muted\\/30{background-color:hsl(var(--opencx-muted) / .3)}.bg-muted\\/40{background-color:hsl(var(--opencx-muted) / .4)}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-primary-foreground\\/20{background-color:hsl(var(--opencx-primary-foreground) / .2)}.bg-primary\\/10{background-color:hsl(var(--opencx-primary) / .1)}.bg-primary\\/25{background-color:hsl(var(--opencx-primary) / .25)}.bg-primary\\/\\[0\\.07\\]{background-color:hsl(var(--opencx-primary) / .07)}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-500\\/5{background-color:#ef44440d}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-secondary-foreground\\/10{background-color:hsl(var(--opencx-secondary-foreground) / .1)}.bg-secondary-foreground\\/20{background-color:hsl(var(--opencx-secondary-foreground) / .2)}.bg-transparent{background-color:transparent}.bg-white\\/30{background-color:#ffffff4d}.bg-\\[radial-gradient\\(ellipse_at_top_left\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\,radial-gradient\\(ellipse_at_top_right\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\]{background-image:radial-gradient(ellipse at top left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse at top right,hsl(var(--opencx-primary)),transparent)}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground\\/70{--tw-gradient-from: hsl(var(--opencx-foreground) / .7) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--opencx-foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-foreground\\/0{--tw-gradient-to: hsl(var(--opencx-foreground) / 0) var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.fill-foreground{fill:hsl(var(--opencx-foreground))}.stroke-current{stroke:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-left-top{object-position:left top}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\\[var\\(--cx-p\\)\\]{padding:var(--cx-p)}.p-\\[var\\(--pk-p\\)\\]{padding:var(--pk-p)}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\\[3px\\]{padding-top:3px;padding-bottom:3px}.pb-0{padding-bottom:0}.pb-0\\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-14{padding-bottom:3.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pe-1{padding-inline-end:.25rem}.pe-2{padding-inline-end:.5rem}.pe-2\\.5{padding-inline-end:.625rem}.pe-4{padding-inline-end:1rem}.pl-2{padding-left:.5rem}.pl-6{padding-left:1.5rem}.pr-16{padding-right:4rem}.ps-1{padding-inline-start:.25rem}.ps-1\\.5{padding-inline-start:.375rem}.ps-10{padding-inline-start:2.5rem}.ps-2{padding-inline-start:.5rem}.ps-2\\.5{padding-inline-start:.625rem}.ps-3{padding-inline-start:.75rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[0\\.8125rem\\]{font-size:.8125rem}.text-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-background{color:hsl(var(--opencx-background))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--opencx-destructive))}.text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-foreground{color:hsl(var(--opencx-foreground))}.text-foreground\\/50{color:hsl(var(--opencx-foreground) / .5)}.text-foreground\\/60{color:hsl(var(--opencx-foreground) / .6)}.text-foreground\\/80{color:hsl(var(--opencx-foreground) / .8)}.text-foreground\\/90{color:hsl(var(--opencx-foreground) / .9)}.text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.text-muted-foreground\\/40{color:hsl(var(--opencx-muted-foreground) / .4)}.text-muted-foreground\\/50{color:hsl(var(--opencx-muted-foreground) / .5)}.text-muted-foreground\\/60{color:hsl(var(--opencx-muted-foreground) / .6)}.text-muted-foreground\\/70{color:hsl(var(--opencx-muted-foreground) / .7)}.text-muted-foreground\\/75{color:hsl(var(--opencx-muted-foreground) / .75)}.text-primary{color:hsl(var(--opencx-primary))}.text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}.text-primary-foreground\\/60{color:hsl(var(--opencx-primary-foreground) / .6)}.text-primary\\/10{color:hsl(var(--opencx-primary) / .1)}.text-primary\\/40{color:hsl(var(--opencx-primary) / .4)}.text-primary\\/50{color:hsl(var(--opencx-primary) / .5)}.text-primary\\/60{color:hsl(var(--opencx-primary) / .6)}.text-primary\\/70{color:hsl(var(--opencx-primary) / .7)}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.text-secondary-foreground\\/60{color:hsl(var(--opencx-secondary-foreground) / .6)}.text-secondary-foreground\\/70{color:hsl(var(--opencx-secondary-foreground) / .7)}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\\/80{color:#fffc}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.caret-foreground{caret-color:hsl(var(--opencx-foreground))}.accent-current{accent-color:currentColor}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-8{outline-width:8px}.outline-background{outline-color:hsl(var(--opencx-background))}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-border{--tw-ring-color: hsl(var(--opencx-border))}.ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.blur{--tw-blur: blur(8px);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)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));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)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[background-color\\,color\\,transform\\]{transition-property:background-color,color,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[height\\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-opencx{transition-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in{--tw-enter-scale: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-opencx{animation-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-foreground))}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-bold\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-bold: hsl(var(--opencx-foreground))}.\\[--tw-prose-bold\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-bold: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-bullets\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-bullets: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-code\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-code: hsl(var(--opencx-foreground))}.\\[--tw-prose-code\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-code: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-counters\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-counters: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-headings\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-headings: hsl(var(--opencx-foreground))}.\\[--tw-prose-headings\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-headings: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-hr\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-hr: hsl(var(--opencx-border))}.\\[--tw-prose-lead\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-lead: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-links\\:hsl\\(var\\(--opencx-primary\\)\\)\\]{--tw-prose-links: hsl(var(--opencx-primary))}.\\[--tw-prose-links\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-links: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-pre-bg\\:hsl\\(var\\(--opencx-muted\\)\\)\\]{--tw-prose-pre-bg: hsl(var(--opencx-muted))}.\\[--tw-prose-pre-code\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-pre-code: hsl(var(--opencx-foreground))}.\\[--tw-prose-quote-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-quote-borders: hsl(var(--opencx-border))}.\\[--tw-prose-quotes\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-quotes: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-td-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-td-borders: hsl(var(--opencx-border))}.\\[--tw-prose-th-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-th-borders: hsl(var(--opencx-border))}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[overflow-wrap\\:anywhere\\]{overflow-wrap:anywhere}.\\[word-break\\:break-word\\]{word-break:break-word}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}.placeholder\\:text-muted-foreground\\/75::placeholder{color:hsl(var(--opencx-muted-foreground) / .75)}.last\\:border-0:last-child{border-width:0px}.focus-within\\:opacity-100:focus-within{opacity:1}.hover\\:scale-\\[var\\(--scale\\)\\]:hover{--tw-scale-x: var(--scale);--tw-scale-y: var(--scale);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-accent\\/60:hover{background-color:hsl(var(--opencx-accent) / .6)}.hover\\:bg-foreground:hover{background-color:hsl(var(--opencx-foreground))}.hover\\:bg-muted:hover{background-color:hsl(var(--opencx-muted))}.hover\\:bg-muted\\/50:hover{background-color:hsl(var(--opencx-muted) / .5)}.hover\\:bg-muted\\/60:hover{background-color:hsl(var(--opencx-muted) / .6)}.hover\\:bg-primary\\/10:hover{background-color:hsl(var(--opencx-primary) / .1)}.hover\\:bg-primary\\/90:hover{background-color:hsl(var(--opencx-primary) / .9)}.hover\\:bg-primary\\/\\[0\\.02\\]:hover{background-color:hsl(var(--opencx-primary) / .02)}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:bg-secondary\\/80:hover{background-color:hsl(var(--opencx-secondary) / .8)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:bg-white\\/15:hover{background-color:#ffffff26}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\\:text-foreground:hover{color:hsl(var(--opencx-foreground))}.hover\\:text-muted-foreground:hover{color:hsl(var(--opencx-muted-foreground))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:text-primary-foreground:hover{color:hsl(var(--opencx-primary-foreground))}.hover\\:text-secondary-foreground:hover{color:hsl(var(--opencx-secondary-foreground))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:opacity-80:hover{opacity:.8}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-ring:focus-visible{outline-color:hsl(var(--opencx-ring))}.focus-visible\\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-inset:focus-visible{--tw-ring-inset: inset}.focus-visible\\:ring-primary\\/40:focus-visible{--tw-ring-color: hsl(var(--opencx-primary) / .4)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:scale-\\[0\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:hover\\:scale-\\[calc\\(var\\(--scale\\)-0\\.02\\)\\]:hover:active{--tw-scale-x: calc(var(--scale) - .02);--tw-scale-y: calc(var(--scale) - .02);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:text-white\\/30:disabled{color:#ffffff4d}.disabled\\:opacity-100:disabled{opacity:1}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\\:opacity-100{opacity:1}.aria-expanded\\:bg-muted[aria-expanded=true]{background-color:hsl(var(--opencx-muted))}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.prose-headings\\:my-1\\.5 :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.375rem;margin-bottom:.375rem}.prose-headings\\:text-\\[13px\\] :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:13px}.prose-p\\:my-1 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}.prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}.prose-pre\\:my-1\\.5 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.375rem;margin-bottom:.375rem}.prose-pre\\:p-2 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:.5rem}.prose-pre\\:text-\\[11px\\] :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:11px}.prose-ol\\:my-1 :is(:where(ol):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-ul\\:my-1 :is(:where(ul):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-li\\:my-0\\.5 :is(:where(li):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.125rem;margin-bottom:.125rem}.prose-table\\:block :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){display:block}.prose-table\\:overflow-x-auto :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){overflow-x:auto}.prose-table\\:\\[overflow-wrap\\:normal\\] :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){overflow-wrap:normal}.prose-table\\:\\[word-break\\:normal\\] :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){word-break:normal}.prose-img\\:rounded-xl :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){border-radius:.75rem}.prose-hr\\:my-2 :is(:where(hr):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.5rem;margin-bottom:.5rem}@media(prefers-reduced-motion:reduce){.motion-reduce\\:animate-none{animation:none}.motion-reduce\\:active\\:scale-100:active{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}@media(min-width:640px){.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}.rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media(prefers-color-scheme:dark){.dark\\:text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\\:text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\\:text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}}.\\[\\&\\>\\*\\:first-child\\]\\:mt-0>*:first-child{margin-top:0}.\\[\\&\\>\\*\\:last-child\\]\\:mb-0>*:last-child{margin-bottom:0}.\\[\\&_\\.animate-spin\\]\\:animate-none .animate-spin{animation:none}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}@media(hover:none){.\\[\\@media\\(hover\\:none\\)\\]\\:opacity-100{opacity:1}}@media(pointer:coarse){.\\[\\@media\\(pointer\\:coarse\\)\\]\\:min-h-12{min-height:3rem}.\\[\\@media\\(pointer\\:coarse\\)\\]\\:gap-y-3{row-gap:.75rem}}@media(pointer:fine){.\\[\\@media\\(pointer\\:fine\\)\\]\\:hidden{display:none}}', Qm = "5.15.0";
|
|
4473
4473
|
function eh(e, t) {
|
|
4474
4474
|
const n = typeof (e == null ? void 0 : e.right) == "number", r = typeof (e == null ? void 0 : e.left) == "number";
|
|
4475
4475
|
return n && !r ? "right" : r && !n || t === "rtl" ? "left" : "right";
|
|
@@ -4607,7 +4607,7 @@ function th({
|
|
|
4607
4607
|
palette: e,
|
|
4608
4608
|
primary: t
|
|
4609
4609
|
}) {
|
|
4610
|
-
const n =
|
|
4610
|
+
const n = ec(e), r = gs(t).toHsl(), s = gs(t).isLight() ? n[950] : n[50];
|
|
4611
4611
|
return {
|
|
4612
4612
|
"--opencx-primary": `${r.h} ${r.s * 100}% ${r.l * 100}%`,
|
|
4613
4613
|
"--opencx-primary-foreground": s,
|
|
@@ -4626,7 +4626,7 @@ function th({
|
|
|
4626
4626
|
"--opencx-ring": "var(--opencx-foreground)"
|
|
4627
4627
|
};
|
|
4628
4628
|
}
|
|
4629
|
-
function
|
|
4629
|
+
function ec(e) {
|
|
4630
4630
|
const t = {
|
|
4631
4631
|
50: "0 0% 98%",
|
|
4632
4632
|
100: "0 0% 96.1%",
|
|
@@ -4686,11 +4686,11 @@ function Qi(e) {
|
|
|
4686
4686
|
case "slate":
|
|
4687
4687
|
return s;
|
|
4688
4688
|
default:
|
|
4689
|
-
return qe(e,
|
|
4689
|
+
return qe(e, ec.name), t;
|
|
4690
4690
|
}
|
|
4691
4691
|
}
|
|
4692
4692
|
const nh = 150, Ln = { capture: !0 }, mt = { capture: !0, passive: !0 };
|
|
4693
|
-
function
|
|
4693
|
+
function tc(e, { scroll: t }) {
|
|
4694
4694
|
var r;
|
|
4695
4695
|
const n = (r = Io()) == null ? void 0 : r.report;
|
|
4696
4696
|
j(() => {
|
|
@@ -4715,7 +4715,7 @@ function ec(e, { scroll: t }) {
|
|
|
4715
4715
|
};
|
|
4716
4716
|
}, [e, n, t]);
|
|
4717
4717
|
}
|
|
4718
|
-
const rh = Ue.Provider, oh = Ue.Root, sh = Ue.Trigger,
|
|
4718
|
+
const rh = Ue.Provider, oh = Ue.Root, sh = Ue.Trigger, nc = St.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ o(
|
|
4719
4719
|
Ue.Content,
|
|
4720
4720
|
{
|
|
4721
4721
|
ref: r,
|
|
@@ -4727,10 +4727,10 @@ const rh = Ue.Provider, oh = Ue.Root, sh = Ue.Trigger, tc = St.forwardRef(({ cla
|
|
|
4727
4727
|
...n
|
|
4728
4728
|
}
|
|
4729
4729
|
));
|
|
4730
|
-
|
|
4731
|
-
const
|
|
4730
|
+
nc.displayName = Ue.Content.displayName;
|
|
4731
|
+
const rc = St.createContext(!1);
|
|
4732
4732
|
function ah({ children: e }) {
|
|
4733
|
-
return /* @__PURE__ */ o(
|
|
4733
|
+
return /* @__PURE__ */ o(rc.Provider, { value: !0, children: e });
|
|
4734
4734
|
}
|
|
4735
4735
|
function Ve({
|
|
4736
4736
|
children: e,
|
|
@@ -4739,11 +4739,11 @@ function Ve({
|
|
|
4739
4739
|
align: r,
|
|
4740
4740
|
shortcut: s
|
|
4741
4741
|
}) {
|
|
4742
|
-
const { disableTooltips: i } = J(), a = St.useContext(
|
|
4742
|
+
const { disableTooltips: i } = J(), a = St.useContext(rc);
|
|
4743
4743
|
return !t || i || a ? e : /* @__PURE__ */ f(oh, { children: [
|
|
4744
4744
|
/* @__PURE__ */ o(sh, { asChild: !0, children: e }),
|
|
4745
4745
|
/* @__PURE__ */ f(
|
|
4746
|
-
|
|
4746
|
+
nc,
|
|
4747
4747
|
{
|
|
4748
4748
|
side: n,
|
|
4749
4749
|
align: r,
|
|
@@ -4757,7 +4757,7 @@ function Ve({
|
|
|
4757
4757
|
)
|
|
4758
4758
|
] });
|
|
4759
4759
|
}
|
|
4760
|
-
const
|
|
4760
|
+
const oc = "OpenCX Live Chat";
|
|
4761
4761
|
function Ro({
|
|
4762
4762
|
transparent: e = !1
|
|
4763
4763
|
} = {}) {
|
|
@@ -4794,7 +4794,7 @@ function ir({
|
|
|
4794
4794
|
},
|
|
4795
4795
|
[t]
|
|
4796
4796
|
);
|
|
4797
|
-
|
|
4797
|
+
tc(l, { scroll: !0 });
|
|
4798
4798
|
const m = {
|
|
4799
4799
|
"--opencx-shell-radius": r ?? c.widgetContentContainer.borderRadius,
|
|
4800
4800
|
// The concentric radius for any card the screens inset by their 8px
|
|
@@ -4828,7 +4828,7 @@ function ir({
|
|
|
4828
4828
|
)
|
|
4829
4829
|
] });
|
|
4830
4830
|
}
|
|
4831
|
-
function
|
|
4831
|
+
function sc() {
|
|
4832
4832
|
const { contentIframeRef: e } = ae(), { inline: t } = J();
|
|
4833
4833
|
return {
|
|
4834
4834
|
setWidth: (n) => {
|
|
@@ -4851,7 +4851,7 @@ function rn({
|
|
|
4851
4851
|
width: e,
|
|
4852
4852
|
height: t
|
|
4853
4853
|
}) {
|
|
4854
|
-
const { isSmallScreen: n } = Pe(), { setWidth: r, setHeight: s } =
|
|
4854
|
+
const { isSmallScreen: n } = Pe(), { setWidth: r, setHeight: s } = sc();
|
|
4855
4855
|
j(() => {
|
|
4856
4856
|
e && r(e), t && s(t);
|
|
4857
4857
|
}, [n, t, e, r, s]);
|
|
@@ -4868,7 +4868,7 @@ function Qt({
|
|
|
4868
4868
|
case "CheckCheck":
|
|
4869
4869
|
return Ad;
|
|
4870
4870
|
case "CircleCheck":
|
|
4871
|
-
return
|
|
4871
|
+
return Ka;
|
|
4872
4872
|
case "CircleCheckBig":
|
|
4873
4873
|
return Td;
|
|
4874
4874
|
case "CircleX":
|
|
@@ -4900,7 +4900,7 @@ function Qt({
|
|
|
4900
4900
|
case "Book":
|
|
4901
4901
|
return fd;
|
|
4902
4902
|
case "BookOpen":
|
|
4903
|
-
return
|
|
4903
|
+
return Ga;
|
|
4904
4904
|
case "Building2":
|
|
4905
4905
|
return hd;
|
|
4906
4906
|
case "Calendar":
|
|
@@ -4910,7 +4910,7 @@ function Qt({
|
|
|
4910
4910
|
case "Database":
|
|
4911
4911
|
return ud;
|
|
4912
4912
|
case "FileText":
|
|
4913
|
-
return
|
|
4913
|
+
return Xa;
|
|
4914
4914
|
case "Folder":
|
|
4915
4915
|
return xo;
|
|
4916
4916
|
case "Globe":
|
|
@@ -5375,7 +5375,7 @@ function lh({
|
|
|
5375
5375
|
"data-new-chat": "",
|
|
5376
5376
|
disabled: !S,
|
|
5377
5377
|
children: [
|
|
5378
|
-
/* @__PURE__ */ o(
|
|
5378
|
+
/* @__PURE__ */ o(Za, { size: 14, "aria-hidden": !0 }),
|
|
5379
5379
|
w("new_conversation")
|
|
5380
5380
|
]
|
|
5381
5381
|
}
|
|
@@ -5398,7 +5398,7 @@ function cr() {
|
|
|
5398
5398
|
return n.setAttribute("data-opencx-root", ""), n.style.display = "contents", document.documentElement.appendChild(n), t(n), () => {
|
|
5399
5399
|
n.remove(), t(null);
|
|
5400
5400
|
};
|
|
5401
|
-
}, []),
|
|
5401
|
+
}, []), tc(e, { scroll: !1 }), e;
|
|
5402
5402
|
}
|
|
5403
5403
|
function dh() {
|
|
5404
5404
|
const { chats: e, openChats: t, activeId: n } = tr(), r = e.find((h) => h.id === n), s = $o(r), { t: i } = X(), a = Lo(), c = cr(), d = s.title, l = t.filter((h) => h.id !== n), p = l.filter((h) => h.working).length, u = `${i("companion_other_sessions", { count: l.length })}${p ? ` · ${i("companion_working_chats", { count: p })}` : ""}`, m = `${i("companion_switch_chat")}: ${d}${l.length ? ` · ${u}` : ""}`;
|
|
@@ -5473,7 +5473,7 @@ function ph({ fallback: e }) {
|
|
|
5473
5473
|
const t = ct(), n = (r = t.config.customComponents) == null ? void 0 : r.headerTitle;
|
|
5474
5474
|
return n ? /* @__PURE__ */ o(n, { ...t }) : e;
|
|
5475
5475
|
}
|
|
5476
|
-
function
|
|
5476
|
+
function ac(e, t, n) {
|
|
5477
5477
|
var r, s;
|
|
5478
5478
|
switch (e) {
|
|
5479
5479
|
case "chat":
|
|
@@ -5484,16 +5484,16 @@ function sc(e, t, n) {
|
|
|
5484
5484
|
case "home":
|
|
5485
5485
|
return n;
|
|
5486
5486
|
default:
|
|
5487
|
-
return qe(e,
|
|
5487
|
+
return qe(e, ac.name), n;
|
|
5488
5488
|
}
|
|
5489
5489
|
}
|
|
5490
|
-
function
|
|
5490
|
+
function ic() {
|
|
5491
5491
|
const {
|
|
5492
5492
|
widgetCtx: { org: e }
|
|
5493
5493
|
} = ae(), {
|
|
5494
5494
|
routerState: { screen: t }
|
|
5495
5495
|
} = De(), { textContent: n } = J();
|
|
5496
|
-
return
|
|
5496
|
+
return ac(t, n, e.name);
|
|
5497
5497
|
}
|
|
5498
5498
|
function mh(e) {
|
|
5499
5499
|
switch (e) {
|
|
@@ -5506,7 +5506,7 @@ function mh(e) {
|
|
|
5506
5506
|
case "home":
|
|
5507
5507
|
return z("home/header");
|
|
5508
5508
|
default:
|
|
5509
|
-
qe(e,
|
|
5509
|
+
qe(e, ic.name);
|
|
5510
5510
|
return;
|
|
5511
5511
|
}
|
|
5512
5512
|
}
|
|
@@ -5549,7 +5549,7 @@ function Xr({
|
|
|
5549
5549
|
}) {
|
|
5550
5550
|
const [t, n] = R(!1), {
|
|
5551
5551
|
routerState: { screen: r }
|
|
5552
|
-
} = De(), { isSmallScreen: s } = Pe(), { theme: i } = xe(), { setWidth: a, setHeight: c } =
|
|
5552
|
+
} = De(), { isSmallScreen: s } = Pe(), { theme: i } = xe(), { setWidth: a, setHeight: c } = sc(), d = ct();
|
|
5553
5553
|
if (r !== "chat" && r !== "sessions") return null;
|
|
5554
5554
|
const l = (() => {
|
|
5555
5555
|
switch (r) {
|
|
@@ -5592,7 +5592,7 @@ function Xr({
|
|
|
5592
5592
|
}
|
|
5593
5593
|
);
|
|
5594
5594
|
}
|
|
5595
|
-
function
|
|
5595
|
+
function cc({
|
|
5596
5596
|
button: e
|
|
5597
5597
|
}) {
|
|
5598
5598
|
var w, C;
|
|
@@ -5613,7 +5613,7 @@ function ic({
|
|
|
5613
5613
|
r(!1), n.resetChat();
|
|
5614
5614
|
break;
|
|
5615
5615
|
default:
|
|
5616
|
-
qe(u,
|
|
5616
|
+
qe(u, cc.name);
|
|
5617
5617
|
break;
|
|
5618
5618
|
}
|
|
5619
5619
|
return !0;
|
|
@@ -5673,7 +5673,7 @@ function ic({
|
|
|
5673
5673
|
children: /* @__PURE__ */ f(Sn, { children: [
|
|
5674
5674
|
/* @__PURE__ */ o(Co, { children: /* @__PURE__ */ o(_o, { children: e.confirmation.title || d("close_conversation_title") }) }),
|
|
5675
5675
|
/* @__PURE__ */ o(No, { children: /* @__PURE__ */ o(Eo, { children: e.confirmation.description || d("close_conversation_description") }) }),
|
|
5676
|
-
/* @__PURE__ */ f(
|
|
5676
|
+
/* @__PURE__ */ f(Xi, { children: [
|
|
5677
5677
|
/* @__PURE__ */ o(
|
|
5678
5678
|
Y,
|
|
5679
5679
|
{
|
|
@@ -5720,7 +5720,7 @@ function Gr({ button: e }) {
|
|
|
5720
5720
|
case "expand-shrink":
|
|
5721
5721
|
return /* @__PURE__ */ o(Xr, { button: e });
|
|
5722
5722
|
case "resolve-session":
|
|
5723
|
-
return /* @__PURE__ */ o(
|
|
5723
|
+
return /* @__PURE__ */ o(cc, { button: e });
|
|
5724
5724
|
default:
|
|
5725
5725
|
return qe(e, Gr.name), null;
|
|
5726
5726
|
}
|
|
@@ -5742,10 +5742,10 @@ function bh() {
|
|
|
5742
5742
|
`${r.functionality}-${r.icon}`
|
|
5743
5743
|
)) });
|
|
5744
5744
|
}
|
|
5745
|
-
function
|
|
5745
|
+
function lc() {
|
|
5746
5746
|
const e = J(), t = e.displayMode === "companion" && !e.inline, {
|
|
5747
5747
|
routerState: { screen: n }
|
|
5748
|
-
} = De(), r = mh(n), s =
|
|
5748
|
+
} = De(), r = mh(n), s = ic();
|
|
5749
5749
|
return /* @__PURE__ */ f("header", { ...r, className: "py-2 px-4 shrink-0", children: [
|
|
5750
5750
|
/* @__PURE__ */ f(
|
|
5751
5751
|
"div",
|
|
@@ -5776,7 +5776,7 @@ function cc() {
|
|
|
5776
5776
|
/* @__PURE__ */ o(uh, {})
|
|
5777
5777
|
] });
|
|
5778
5778
|
}
|
|
5779
|
-
function
|
|
5779
|
+
function dc({ className: e }) {
|
|
5780
5780
|
return /* @__PURE__ */ o(Md, { className: T("size-4 animate-spin", e) });
|
|
5781
5781
|
}
|
|
5782
5782
|
function wh() {
|
|
@@ -5850,7 +5850,7 @@ function fn({
|
|
|
5850
5850
|
}
|
|
5851
5851
|
);
|
|
5852
5852
|
}
|
|
5853
|
-
function
|
|
5853
|
+
function uc({
|
|
5854
5854
|
messages: e,
|
|
5855
5855
|
className: t,
|
|
5856
5856
|
containerClassName: n
|
|
@@ -5876,15 +5876,15 @@ function dc({
|
|
|
5876
5876
|
}
|
|
5877
5877
|
const vh = 2e3;
|
|
5878
5878
|
function yh(e) {
|
|
5879
|
-
return e.map((t) =>
|
|
5879
|
+
return e.map((t) => Ji(t.data.message).trim()).filter((t) => t.length > 0).join(`
|
|
5880
5880
|
|
|
5881
5881
|
`);
|
|
5882
5882
|
}
|
|
5883
|
-
function
|
|
5883
|
+
function pc() {
|
|
5884
5884
|
const { messageActions: e } = J(), t = Oa();
|
|
5885
5885
|
return (e == null ? void 0 : e.copy) ?? t === "companion";
|
|
5886
5886
|
}
|
|
5887
|
-
function
|
|
5887
|
+
function mc({
|
|
5888
5888
|
messages: e
|
|
5889
5889
|
}) {
|
|
5890
5890
|
const { t } = X(), { messageActions: n } = J(), r = (n == null ? void 0 : n.display) === "always", [s, i] = R(!1), a = U(null);
|
|
@@ -5946,7 +5946,7 @@ function Xn({
|
|
|
5946
5946
|
suggestedReplies: n,
|
|
5947
5947
|
actions: r = !0
|
|
5948
5948
|
}) {
|
|
5949
|
-
const s =
|
|
5949
|
+
const s = pc(), i = e.filter(kh);
|
|
5950
5950
|
return /* @__PURE__ */ f(
|
|
5951
5951
|
"div",
|
|
5952
5952
|
{
|
|
@@ -5991,8 +5991,8 @@ function Xn({
|
|
|
5991
5991
|
},
|
|
5992
5992
|
a.id
|
|
5993
5993
|
)),
|
|
5994
|
-
/* @__PURE__ */ o(
|
|
5995
|
-
r && s && i.length > 0 && /* @__PURE__ */ o(
|
|
5994
|
+
/* @__PURE__ */ o(uc, { messages: e }),
|
|
5995
|
+
r && s && i.length > 0 && /* @__PURE__ */ o(mc, { messages: i })
|
|
5996
5996
|
]
|
|
5997
5997
|
}
|
|
5998
5998
|
)
|
|
@@ -6035,10 +6035,10 @@ function Ws({
|
|
|
6035
6035
|
agent: t,
|
|
6036
6036
|
timestamp: n
|
|
6037
6037
|
}) {
|
|
6038
|
-
const { componentStore: r, config: s, widgetCtx: i } = ae(), a =
|
|
6038
|
+
const { componentStore: r, config: s, widgetCtx: i } = ae(), a = pc(), c = r.getComponent("agent_chat_steps"), d = r.getComponent("agent_chat_spec"), l = r.getComponent("loading"), [p] = R(() => (/* @__PURE__ */ new Date()).toISOString()), u = n ?? p, m = Fa(
|
|
6039
6039
|
i.agent.presentation,
|
|
6040
6040
|
s.presentation
|
|
6041
|
-
), h =
|
|
6041
|
+
), h = Nl(e.items, m), b = e.active && (m == null ? void 0 : m.streaming) === !1 && !h.some((g) => g.kind === "questions");
|
|
6042
6042
|
return /* @__PURE__ */ f(
|
|
6043
6043
|
"div",
|
|
6044
6044
|
{
|
|
@@ -6088,7 +6088,7 @@ function Ws({
|
|
|
6088
6088
|
}
|
|
6089
6089
|
),
|
|
6090
6090
|
!e.active && a && /* @__PURE__ */ o(
|
|
6091
|
-
|
|
6091
|
+
mc,
|
|
6092
6092
|
{
|
|
6093
6093
|
messages: h.flatMap(
|
|
6094
6094
|
(g) => g.kind === "text" ? [{ data: { message: g.text } }] : []
|
|
@@ -6108,13 +6108,13 @@ function Ch({
|
|
|
6108
6108
|
active: t = !1
|
|
6109
6109
|
}) {
|
|
6110
6110
|
const n = se(() => lm(e), [e]);
|
|
6111
|
-
return /* @__PURE__ */ o(
|
|
6111
|
+
return /* @__PURE__ */ o(Bi, { spec: n, active: t });
|
|
6112
6112
|
}
|
|
6113
6113
|
function Nh({
|
|
6114
6114
|
plan: e,
|
|
6115
6115
|
active: t
|
|
6116
6116
|
}) {
|
|
6117
|
-
const [n, r] = R(!1), s =
|
|
6117
|
+
const [n, r] = R(!1), s = Sl(), i = kt(), a = e.filter((p) => p.status === "completed").length, c = e.find((p) => p.status === "in_progress") ?? e.find((p) => p.status === "pending") ?? e[0], d = 2 * Math.PI * 8, l = d * (1 - (e.length > 0 ? a / e.length : 0));
|
|
6118
6118
|
return /* @__PURE__ */ f(
|
|
6119
6119
|
"div",
|
|
6120
6120
|
{
|
|
@@ -6183,7 +6183,7 @@ function Nh({
|
|
|
6183
6183
|
initial: !1,
|
|
6184
6184
|
animate: { rotate: n ? 0 : 180 },
|
|
6185
6185
|
transition: i ? { duration: 0 } : Ee,
|
|
6186
|
-
children: /* @__PURE__ */ o(
|
|
6186
|
+
children: /* @__PURE__ */ o(Ba, { className: "size-3.5" })
|
|
6187
6187
|
}
|
|
6188
6188
|
)
|
|
6189
6189
|
]
|
|
@@ -6225,7 +6225,7 @@ function Nh({
|
|
|
6225
6225
|
animate: { opacity: 1 },
|
|
6226
6226
|
exit: { opacity: 0 },
|
|
6227
6227
|
transition: Ee,
|
|
6228
|
-
children: p.status === "completed" ? /* @__PURE__ */ o("span", { className: "flex size-4 items-center justify-center rounded-full bg-emerald-500/10", children: /* @__PURE__ */ o(zd, { className: "size-2.5 text-emerald-600 dark:text-emerald-400" }) }) : p.status === "in_progress" ? t ? /* @__PURE__ */ o(
|
|
6228
|
+
children: p.status === "completed" ? /* @__PURE__ */ o("span", { className: "flex size-4 items-center justify-center rounded-full bg-emerald-500/10", children: /* @__PURE__ */ o(zd, { className: "size-2.5 text-emerald-600 dark:text-emerald-400" }) }) : p.status === "in_progress" ? t ? /* @__PURE__ */ o(Ja, { className: "size-4 animate-spin text-primary/60 motion-reduce:animate-none" }) : /* @__PURE__ */ o(Qa, { className: "size-4 text-primary/40" }) : /* @__PURE__ */ o("span", { className: "size-1.5 rounded-full bg-primary/25" })
|
|
6229
6229
|
},
|
|
6230
6230
|
p.status
|
|
6231
6231
|
) })
|
|
@@ -6251,19 +6251,19 @@ function Nh({
|
|
|
6251
6251
|
}
|
|
6252
6252
|
);
|
|
6253
6253
|
}
|
|
6254
|
-
function
|
|
6254
|
+
function hc() {
|
|
6255
6255
|
var n, r;
|
|
6256
6256
|
const e = ct();
|
|
6257
6257
|
if ((n = e.session) != null && n.isOpened || !e.session) return null;
|
|
6258
6258
|
const t = (r = e.config.customComponents) == null ? void 0 : r.onSessionResolved;
|
|
6259
6259
|
return t ? /* @__PURE__ */ o(t, { ...e }) : null;
|
|
6260
6260
|
}
|
|
6261
|
-
function
|
|
6261
|
+
function fc() {
|
|
6262
6262
|
var n;
|
|
6263
6263
|
const e = ct(), t = (n = e.config.customComponents) == null ? void 0 : n.chatBottomComponents;
|
|
6264
6264
|
return t ? /* @__PURE__ */ o("div", { children: t.map(({ key: r, component: s }) => /* @__PURE__ */ o(s, { ...e }, r)) }) : null;
|
|
6265
6265
|
}
|
|
6266
|
-
function
|
|
6266
|
+
function gc(e) {
|
|
6267
6267
|
const t = [];
|
|
6268
6268
|
let n = null;
|
|
6269
6269
|
return e.forEach((r) => {
|
|
@@ -6285,7 +6285,7 @@ function Eh(e) {
|
|
|
6285
6285
|
var t;
|
|
6286
6286
|
return ((t = e == null ? void 0 : e[0]) == null ? void 0 : t.type) === "AGENT";
|
|
6287
6287
|
}
|
|
6288
|
-
function
|
|
6288
|
+
function bc() {
|
|
6289
6289
|
const {
|
|
6290
6290
|
messagesState: { messages: e }
|
|
6291
6291
|
} = Te(), { chatBannerItems: t } = J();
|
|
@@ -6306,7 +6306,7 @@ function Ih(e) {
|
|
|
6306
6306
|
const n = new DOMParser().parseFromString(t, "image/svg+xml"), r = n.documentElement;
|
|
6307
6307
|
return r.localName !== "svg" || r.namespaceURI !== "http://www.w3.org/2000/svg" || n.getElementsByTagName("parsererror").length > 0 ? null : `data:image/svg+xml,${encodeURIComponent(t)}`;
|
|
6308
6308
|
}
|
|
6309
|
-
const Mh =
|
|
6309
|
+
const Mh = ri(
|
|
6310
6310
|
"inline-flex items-center gap-1.5 rounded-full px-2 py-0.5 text-xs font-medium transition-colors",
|
|
6311
6311
|
{
|
|
6312
6312
|
variants: {
|
|
@@ -6324,7 +6324,7 @@ const Mh = ni(
|
|
|
6324
6324
|
function Ph({ className: e, variant: t, ...n }) {
|
|
6325
6325
|
return /* @__PURE__ */ o("div", { className: T(Mh({ variant: t }), e), ...n });
|
|
6326
6326
|
}
|
|
6327
|
-
function
|
|
6327
|
+
function wc({
|
|
6328
6328
|
customStatus: e,
|
|
6329
6329
|
className: t,
|
|
6330
6330
|
dotClassName: n
|
|
@@ -6357,7 +6357,7 @@ function bc({
|
|
|
6357
6357
|
}
|
|
6358
6358
|
);
|
|
6359
6359
|
}
|
|
6360
|
-
function
|
|
6360
|
+
function xc({
|
|
6361
6361
|
customStatus: e,
|
|
6362
6362
|
className: t
|
|
6363
6363
|
}) {
|
|
@@ -6385,13 +6385,13 @@ function wc({
|
|
|
6385
6385
|
style: { backgroundColor: e.color }
|
|
6386
6386
|
}
|
|
6387
6387
|
),
|
|
6388
|
-
/* @__PURE__ */ o(
|
|
6388
|
+
/* @__PURE__ */ o(wc, { customStatus: e }),
|
|
6389
6389
|
/* @__PURE__ */ o("span", { className: "truncate", children: e.name })
|
|
6390
6390
|
]
|
|
6391
6391
|
}
|
|
6392
6392
|
);
|
|
6393
6393
|
}
|
|
6394
|
-
function
|
|
6394
|
+
function vc() {
|
|
6395
6395
|
const {
|
|
6396
6396
|
sessionState: { session: e }
|
|
6397
6397
|
} = Ne(), t = e == null ? void 0 : e.customStatus;
|
|
@@ -6403,11 +6403,11 @@ function xc() {
|
|
|
6403
6403
|
children: /* @__PURE__ */ o(
|
|
6404
6404
|
Cn,
|
|
6405
6405
|
{
|
|
6406
|
-
trigger: /* @__PURE__ */ o(Y, { variant: "ghost", size: "selfless", className: "rounded-full", children: /* @__PURE__ */ o(
|
|
6406
|
+
trigger: /* @__PURE__ */ o(Y, { variant: "ghost", size: "selfless", className: "rounded-full", children: /* @__PURE__ */ o(xc, { customStatus: t }) }),
|
|
6407
6407
|
children: /* @__PURE__ */ f(Sn, { withClose: !0, children: [
|
|
6408
6408
|
/* @__PURE__ */ f(Co, { children: [
|
|
6409
6409
|
/* @__PURE__ */ o(
|
|
6410
|
-
|
|
6410
|
+
wc,
|
|
6411
6411
|
{
|
|
6412
6412
|
customStatus: t,
|
|
6413
6413
|
className: "size-8 mx-auto",
|
|
@@ -6424,7 +6424,7 @@ function xc() {
|
|
|
6424
6424
|
t.id
|
|
6425
6425
|
) });
|
|
6426
6426
|
}
|
|
6427
|
-
function
|
|
6427
|
+
function yc() {
|
|
6428
6428
|
var c;
|
|
6429
6429
|
const {
|
|
6430
6430
|
messagesState: { messages: e }
|
|
@@ -6455,7 +6455,7 @@ function vc() {
|
|
|
6455
6455
|
}
|
|
6456
6456
|
);
|
|
6457
6457
|
}
|
|
6458
|
-
function
|
|
6458
|
+
function kc({
|
|
6459
6459
|
src: e,
|
|
6460
6460
|
alt: t,
|
|
6461
6461
|
title: n,
|
|
@@ -6518,7 +6518,7 @@ const Fo = [
|
|
|
6518
6518
|
"style",
|
|
6519
6519
|
"noscript"
|
|
6520
6520
|
].join(",");
|
|
6521
|
-
function
|
|
6521
|
+
function Sc(e) {
|
|
6522
6522
|
var n;
|
|
6523
6523
|
if (e.matches(zh)) return !0;
|
|
6524
6524
|
const t = (n = e.ownerDocument.defaultView) == null ? void 0 : n.getComputedStyle(e);
|
|
@@ -6526,14 +6526,14 @@ function kc(e) {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
function Xe(e) {
|
|
6528
6528
|
for (let t = e; t; t = t.parentElement)
|
|
6529
|
-
if (
|
|
6529
|
+
if (Sc(t)) return !0;
|
|
6530
6530
|
return !1;
|
|
6531
6531
|
}
|
|
6532
|
-
function
|
|
6532
|
+
function Cc(e) {
|
|
6533
6533
|
if (Xe(e) || e.closest($t)) return "";
|
|
6534
6534
|
const t = [], n = (r) => {
|
|
6535
6535
|
if (r instanceof Element) {
|
|
6536
|
-
if (r !== e &&
|
|
6536
|
+
if (r !== e && Sc(r) || r.matches($t))
|
|
6537
6537
|
return;
|
|
6538
6538
|
const s = /^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|BR|DD|DETAILS|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HR|LI|MAIN|NAV|OL|P|PRE|SECTION|SUMMARY|TABLE|TD|TH|TR|UL)$/.test(
|
|
6539
6539
|
r.tagName
|
|
@@ -6628,7 +6628,7 @@ function Wh(e, t) {
|
|
|
6628
6628
|
const n = bn.get(e);
|
|
6629
6629
|
n && bn.set(t, n);
|
|
6630
6630
|
}
|
|
6631
|
-
function
|
|
6631
|
+
function Nc(e) {
|
|
6632
6632
|
const [t, n] = R(null);
|
|
6633
6633
|
return j(() => {
|
|
6634
6634
|
var s;
|
|
@@ -6642,9 +6642,9 @@ function Cc(e) {
|
|
|
6642
6642
|
}, [e]), t;
|
|
6643
6643
|
}
|
|
6644
6644
|
function Uh({ element: e }) {
|
|
6645
|
-
const t =
|
|
6645
|
+
const t = Nc(e.mark) ?? e.snapshotUrl ?? null, n = e.note ?? e.name;
|
|
6646
6646
|
return t ? /* @__PURE__ */ o(
|
|
6647
|
-
|
|
6647
|
+
kc,
|
|
6648
6648
|
{
|
|
6649
6649
|
src: t,
|
|
6650
6650
|
alt: n,
|
|
@@ -6662,7 +6662,7 @@ function Uh({ element: e }) {
|
|
|
6662
6662
|
),
|
|
6663
6663
|
title: e.name,
|
|
6664
6664
|
children: [
|
|
6665
|
-
/* @__PURE__ */ o(
|
|
6665
|
+
/* @__PURE__ */ o(ei, { className: "size-3 shrink-0 text-primary" }),
|
|
6666
6666
|
/* @__PURE__ */ o("span", { className: "truncate", children: n })
|
|
6667
6667
|
]
|
|
6668
6668
|
}
|
|
@@ -6870,7 +6870,7 @@ function Kh({
|
|
|
6870
6870
|
]
|
|
6871
6871
|
);
|
|
6872
6872
|
}
|
|
6873
|
-
function
|
|
6873
|
+
function _c({
|
|
6874
6874
|
text: e,
|
|
6875
6875
|
mentions: t,
|
|
6876
6876
|
tokenClassName: n
|
|
@@ -6926,7 +6926,7 @@ function Zh({
|
|
|
6926
6926
|
children: e.markedElements.map((i, a) => /* @__PURE__ */ o(Uh, { element: i }, `${i.name}-${a}`))
|
|
6927
6927
|
}
|
|
6928
6928
|
),
|
|
6929
|
-
e.attachments && e.attachments.length > 0 && /* @__PURE__ */ o("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((i) => /* @__PURE__ */ o(
|
|
6929
|
+
e.attachments && e.attachments.length > 0 && /* @__PURE__ */ o("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((i) => /* @__PURE__ */ o(Ki, { attachment: i }, i.id)) }),
|
|
6930
6930
|
e.content.length > 0 && /* @__PURE__ */ o(
|
|
6931
6931
|
"div",
|
|
6932
6932
|
{
|
|
@@ -6950,7 +6950,7 @@ function Zh({
|
|
|
6950
6950
|
!t && !n && !r && "rounded-r-md"
|
|
6951
6951
|
),
|
|
6952
6952
|
children: /* @__PURE__ */ o(
|
|
6953
|
-
|
|
6953
|
+
_c,
|
|
6954
6954
|
{
|
|
6955
6955
|
text: e.content,
|
|
6956
6956
|
mentions: e.mentions,
|
|
@@ -6982,7 +6982,7 @@ function Jh({
|
|
|
6982
6982
|
},
|
|
6983
6983
|
t.id
|
|
6984
6984
|
)),
|
|
6985
|
-
/* @__PURE__ */ o(
|
|
6985
|
+
/* @__PURE__ */ o(uc, { messages: e, containerClassName: "ms-auto" })
|
|
6986
6986
|
]
|
|
6987
6987
|
}
|
|
6988
6988
|
);
|
|
@@ -7081,10 +7081,10 @@ function nf() {
|
|
|
7081
7081
|
} = jt(), { componentStore: c } = ae(), { t: d } = X(), l = tn(), {
|
|
7082
7082
|
sessionState: { session: p }
|
|
7083
7083
|
} = Ne(), u = se(
|
|
7084
|
-
() =>
|
|
7084
|
+
() => _l({ liveItems: n, turnSources: r }),
|
|
7085
7085
|
[n, r]
|
|
7086
7086
|
), m = se(
|
|
7087
|
-
() =>
|
|
7087
|
+
() => gc(e),
|
|
7088
7088
|
[e]
|
|
7089
7089
|
), h = se(() => {
|
|
7090
7090
|
const P = /* @__PURE__ */ new Map();
|
|
@@ -7147,9 +7147,9 @@ function nf() {
|
|
|
7147
7147
|
onScroll: y,
|
|
7148
7148
|
className: "max-h-full relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
|
|
7149
7149
|
children: [
|
|
7150
|
-
/* @__PURE__ */ o(xc, {}),
|
|
7151
|
-
/* @__PURE__ */ o(gc, {}),
|
|
7152
7150
|
/* @__PURE__ */ o(vc, {}),
|
|
7151
|
+
/* @__PURE__ */ o(bc, {}),
|
|
7152
|
+
/* @__PURE__ */ o(yc, {}),
|
|
7153
7153
|
[
|
|
7154
7154
|
...S,
|
|
7155
7155
|
/* The live turn, streamed from useChat. Rendered in the SAME keyed
|
|
@@ -7189,8 +7189,8 @@ function nf() {
|
|
|
7189
7189
|
]
|
|
7190
7190
|
}
|
|
7191
7191
|
),
|
|
7192
|
-
/* @__PURE__ */ o(
|
|
7193
|
-
/* @__PURE__ */ o(
|
|
7192
|
+
/* @__PURE__ */ o(fc, {}),
|
|
7193
|
+
/* @__PURE__ */ o(hc, {})
|
|
7194
7194
|
]
|
|
7195
7195
|
}
|
|
7196
7196
|
),
|
|
@@ -7244,7 +7244,7 @@ function rf() {
|
|
|
7244
7244
|
}
|
|
7245
7245
|
);
|
|
7246
7246
|
}
|
|
7247
|
-
function
|
|
7247
|
+
function Ec() {
|
|
7248
7248
|
const { requireInitialQuestion: e, initialQuestions: t } = J(), { messagesState: n } = Te();
|
|
7249
7249
|
return e === !0 && n.messages.length === 0 && (t == null ? void 0 : t.some((r) => r.trim().length > 0)) === !0;
|
|
7250
7250
|
}
|
|
@@ -7456,7 +7456,7 @@ function cf({
|
|
|
7456
7456
|
"rounded-full size-8 flex items-center justify-center p-0",
|
|
7457
7457
|
a && "opacity-0 size-0"
|
|
7458
7458
|
),
|
|
7459
|
-
children: /* @__PURE__ */ o(
|
|
7459
|
+
children: /* @__PURE__ */ o(ti, { className: "size-4" })
|
|
7460
7460
|
}
|
|
7461
7461
|
)
|
|
7462
7462
|
] }) }, "feedback-box") }),
|
|
@@ -7631,7 +7631,7 @@ function uf({
|
|
|
7631
7631
|
"aria-label": "Cancel request",
|
|
7632
7632
|
disabled: n,
|
|
7633
7633
|
onClick: () => void a({ action: "cancel" }),
|
|
7634
|
-
children: /* @__PURE__ */ o(
|
|
7634
|
+
children: /* @__PURE__ */ o(qa, { className: "size-3.5" })
|
|
7635
7635
|
}
|
|
7636
7636
|
)
|
|
7637
7637
|
] }),
|
|
@@ -7738,7 +7738,7 @@ function uf({
|
|
|
7738
7738
|
);
|
|
7739
7739
|
}
|
|
7740
7740
|
function pf({ request: e }) {
|
|
7741
|
-
const t =
|
|
7741
|
+
const t = El(e), { phase: n, authorization: r, continuation: s, error: i } = t, c = n === "loading" || n === "waiting" || s !== null, d = n === "connected" || n === "external", l = (i == null ? void 0 : i.toLowerCase().includes("expired")) ?? !1, p = s ? s === "renew" ? "Preparing a new connection request" : "Continuing your request" : n === "waiting" ? "Waiting for approval" : n === "loading" ? "Preparing connection" : n === "connected" ? "Connected" : n === "external" ? "Setup page completed" : "Not connected", u = s ? s === "renew" ? "Requesting…" : "Continuing…" : n === "loading" ? "Preparing…" : n === "waiting" ? "Waiting…" : l ? "Reconnect" : i ? "Try again" : d ? "Continue" : "Connect", m = () => i || d ? t.retryContinuation() : t.start();
|
|
7742
7742
|
return /* @__PURE__ */ f(
|
|
7743
7743
|
"section",
|
|
7744
7744
|
{
|
|
@@ -7874,7 +7874,7 @@ function gf(e, t, n, r) {
|
|
|
7874
7874
|
}), document.documentElement.appendChild(s);
|
|
7875
7875
|
let i = null;
|
|
7876
7876
|
try {
|
|
7877
|
-
i =
|
|
7877
|
+
i = ai(s, {
|
|
7878
7878
|
type: t,
|
|
7879
7879
|
color: n,
|
|
7880
7880
|
strokeWidth: 2,
|
|
@@ -7925,8 +7925,8 @@ const bf = 60;
|
|
|
7925
7925
|
function gt(e, t) {
|
|
7926
7926
|
return e.length > t ? `${e.slice(0, t)}…` : e;
|
|
7927
7927
|
}
|
|
7928
|
-
function
|
|
7929
|
-
return
|
|
7928
|
+
function Tc(e) {
|
|
7929
|
+
return Cc(e);
|
|
7930
7930
|
}
|
|
7931
7931
|
function wf(e) {
|
|
7932
7932
|
return (
|
|
@@ -7947,7 +7947,7 @@ function xf(e) {
|
|
|
7947
7947
|
}
|
|
7948
7948
|
function vf(e) {
|
|
7949
7949
|
if (Xe(e)) return "private region";
|
|
7950
|
-
const t = e.tagName.toLowerCase(), n = e.getAttribute("aria-label"), r =
|
|
7950
|
+
const t = e.tagName.toLowerCase(), n = e.getAttribute("aria-label"), r = Tc(e);
|
|
7951
7951
|
if (t === "button" || e.getAttribute("role") === "button")
|
|
7952
7952
|
return n ? `button [${n}]` : r ? `button "${gt(r, 30)}"` : "button";
|
|
7953
7953
|
if (t === "a") {
|
|
@@ -8027,10 +8027,10 @@ function Ys(e, t = Sf) {
|
|
|
8027
8027
|
height: Math.round(Math.max(0, c - i))
|
|
8028
8028
|
};
|
|
8029
8029
|
}
|
|
8030
|
-
function
|
|
8030
|
+
function Ac(e) {
|
|
8031
8031
|
if (Xe(e) || e.closest($t))
|
|
8032
8032
|
return { name: "private region", selector: "", tag: "div" };
|
|
8033
|
-
const t =
|
|
8033
|
+
const t = Tc(e);
|
|
8034
8034
|
return {
|
|
8035
8035
|
name: vf(e),
|
|
8036
8036
|
selector: yf(e),
|
|
@@ -8070,10 +8070,10 @@ function Bn(e) {
|
|
|
8070
8070
|
function _f(e) {
|
|
8071
8071
|
const t = Uo.get(e);
|
|
8072
8072
|
if (!t || !Bn(e)) return null;
|
|
8073
|
-
const n = t.map(
|
|
8073
|
+
const n = t.map(Ac), r = t.length > 0 && t.every(gn) && JSON.stringify(n) === JSON.stringify(e.elements), s = { ...e, elements: n };
|
|
8074
8074
|
return r ? Wh(e, s) : delete s.snapshotUrl, s;
|
|
8075
8075
|
}
|
|
8076
|
-
const Xs = 120, Tt = (e) => e.replace(/\s+/g, " ").trim(), ht = (e) => e.length > Xs ? `${e.slice(0, Xs)}…` : e, Kn =
|
|
8076
|
+
const Xs = 120, Tt = (e) => e.replace(/\s+/g, " ").trim(), ht = (e) => e.length > Xs ? `${e.slice(0, Xs)}…` : e, Kn = Cc;
|
|
8077
8077
|
function Ef(e) {
|
|
8078
8078
|
const t = e instanceof HTMLInputElement || e instanceof HTMLSelectElement || e instanceof HTMLTextAreaElement ? e.labels : null, n = t ? Array.from(t).map((i) => Kn(i)).join(" ") : "";
|
|
8079
8079
|
if (n) return Tt(n);
|
|
@@ -8113,8 +8113,8 @@ const Tf = [
|
|
|
8113
8113
|
"select",
|
|
8114
8114
|
"check",
|
|
8115
8115
|
"uncheck"
|
|
8116
|
-
], Af = 3e3,
|
|
8117
|
-
function
|
|
8116
|
+
], Af = 3e3, Ic = /* @__PURE__ */ new Set(["password", "file", "hidden"]);
|
|
8117
|
+
function Mc(e) {
|
|
8118
8118
|
const t = new WeakRef(e), n = Gs(e).map((r) => {
|
|
8119
8119
|
const s = Ks(r);
|
|
8120
8120
|
return {
|
|
@@ -8150,7 +8150,7 @@ function Ks(e) {
|
|
|
8150
8150
|
element: e,
|
|
8151
8151
|
form: r,
|
|
8152
8152
|
labelControl: e instanceof HTMLLabelElement ? e.control : null,
|
|
8153
|
-
allowed: !(e instanceof HTMLInputElement &&
|
|
8153
|
+
allowed: !(e instanceof HTMLInputElement && Ic.has(e.type)),
|
|
8154
8154
|
semantics: JSON.stringify([
|
|
8155
8155
|
e.tagName,
|
|
8156
8156
|
e.getAttribute("role"),
|
|
@@ -8221,7 +8221,7 @@ function $f(e) {
|
|
|
8221
8221
|
}
|
|
8222
8222
|
return !0;
|
|
8223
8223
|
}
|
|
8224
|
-
function
|
|
8224
|
+
function Pc(e) {
|
|
8225
8225
|
const t = /* @__PURE__ */ new Set();
|
|
8226
8226
|
for (const n of e) {
|
|
8227
8227
|
for (const s of Array.from(n.removedNodes)) {
|
|
@@ -8257,14 +8257,14 @@ function Lf(e) {
|
|
|
8257
8257
|
return () => t.every(({ revision: s, value: i }) => s.value === i);
|
|
8258
8258
|
}
|
|
8259
8259
|
function oo() {
|
|
8260
|
-
At &&
|
|
8260
|
+
At && Pc(At.takeRecords());
|
|
8261
8261
|
}
|
|
8262
8262
|
function Df(e) {
|
|
8263
8263
|
if (Js !== e) {
|
|
8264
8264
|
At == null || At.disconnect();
|
|
8265
8265
|
for (const t of Vt)
|
|
8266
8266
|
for (const n of Array.from(t.values())) n.valid = !1;
|
|
8267
|
-
Js = e, Bo = /* @__PURE__ */ new WeakMap(), qo = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(), At = new MutationObserver(
|
|
8267
|
+
Js = e, Bo = /* @__PURE__ */ new WeakMap(), qo = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(), At = new MutationObserver(Pc), At.observe(e.documentElement, {
|
|
8268
8268
|
childList: !0,
|
|
8269
8269
|
subtree: !0,
|
|
8270
8270
|
attributes: !0,
|
|
@@ -8272,7 +8272,7 @@ function Df(e) {
|
|
|
8272
8272
|
});
|
|
8273
8273
|
}
|
|
8274
8274
|
}
|
|
8275
|
-
function
|
|
8275
|
+
function zc(e, t, n = en(t)) {
|
|
8276
8276
|
return e.valid && (e.valid = t.isConnected && e.url === t.ownerDocument.location.href && e.name === n && e.sameContext() && e.sameMeaning()), e.valid;
|
|
8277
8277
|
}
|
|
8278
8278
|
function jf() {
|
|
@@ -8283,29 +8283,29 @@ function jf() {
|
|
|
8283
8283
|
const n = `s${++Mf}`;
|
|
8284
8284
|
return (r, s = en(r)) => {
|
|
8285
8285
|
Df(r.ownerDocument), oo();
|
|
8286
|
-
const i = Zs.get(r), a = i ? Vt.map((l) => l.get(i)).find((l) => l !== void 0) : void 0, c = i && a &&
|
|
8286
|
+
const i = Zs.get(r), a = i ? Vt.map((l) => l.get(i)).find((l) => l !== void 0) : void 0, c = i && a && zc(a, r, s) ? i : `${n}c${t += 1}`, d = c === i && a ? a : {
|
|
8287
8287
|
element: new WeakRef(r),
|
|
8288
8288
|
sameContext: Lf(r),
|
|
8289
8289
|
name: s,
|
|
8290
8290
|
url: r.ownerDocument.location.href,
|
|
8291
|
-
sameMeaning:
|
|
8291
|
+
sameMeaning: Mc(r),
|
|
8292
8292
|
valid: !0
|
|
8293
8293
|
};
|
|
8294
8294
|
return e.set(c, d), Zs.set(r, c), c;
|
|
8295
8295
|
};
|
|
8296
8296
|
}
|
|
8297
8297
|
function Qs(e) {
|
|
8298
|
-
const t =
|
|
8298
|
+
const t = Oc(e);
|
|
8299
8299
|
return t != null && t.isCurrent ? t.element : null;
|
|
8300
8300
|
}
|
|
8301
|
-
function
|
|
8301
|
+
function Oc(e) {
|
|
8302
8302
|
oo();
|
|
8303
8303
|
for (const t of Vt) {
|
|
8304
8304
|
const n = t.get(e);
|
|
8305
8305
|
if (!n) continue;
|
|
8306
8306
|
const r = n.element.deref();
|
|
8307
8307
|
if (r && r.isConnected)
|
|
8308
|
-
return { element: r, isCurrent:
|
|
8308
|
+
return { element: r, isCurrent: zc(n, r) };
|
|
8309
8309
|
}
|
|
8310
8310
|
return null;
|
|
8311
8311
|
}
|
|
@@ -8443,7 +8443,7 @@ function ao(e = document) {
|
|
|
8443
8443
|
}
|
|
8444
8444
|
return { controls: t, truncated: r };
|
|
8445
8445
|
}
|
|
8446
|
-
function
|
|
8446
|
+
function Rc({
|
|
8447
8447
|
marks: e,
|
|
8448
8448
|
readsPage: t
|
|
8449
8449
|
}) {
|
|
@@ -8508,7 +8508,7 @@ function Kf({ request: e }) {
|
|
|
8508
8508
|
}
|
|
8509
8509
|
);
|
|
8510
8510
|
}
|
|
8511
|
-
const qn = "rounded-full size-8 flex items-center justify-center p-0 overflow-hidden",
|
|
8511
|
+
const qn = "rounded-full size-8 flex items-center justify-center p-0 overflow-hidden", $c = "bg-primary text-primary-foreground hover:bg-primary/90 hover:text-primary-foreground", Zf = T(
|
|
8512
8512
|
"rounded-full p-0.5 text-muted-foreground",
|
|
8513
8513
|
"hover:bg-muted hover:text-foreground",
|
|
8514
8514
|
"transition-transform active:scale-90"
|
|
@@ -8529,7 +8529,7 @@ function Jf({
|
|
|
8529
8529
|
),
|
|
8530
8530
|
title: `${e.type}: ${e.title}`,
|
|
8531
8531
|
children: [
|
|
8532
|
-
/* @__PURE__ */ o(
|
|
8532
|
+
/* @__PURE__ */ o(Xa, { className: "size-3 shrink-0 text-primary" }),
|
|
8533
8533
|
/* @__PURE__ */ o("span", { className: "truncate max-w-48 font-medium", children: e.title }),
|
|
8534
8534
|
/* @__PURE__ */ o(
|
|
8535
8535
|
"button",
|
|
@@ -8554,7 +8554,7 @@ const Qf = k.object({
|
|
|
8554
8554
|
function eg() {
|
|
8555
8555
|
var r;
|
|
8556
8556
|
const e = J(), { widgetCtx: t } = ae();
|
|
8557
|
-
if (
|
|
8557
|
+
if (Tl(), !t.features.pageContext) return null;
|
|
8558
8558
|
const n = Qf.safeParse(
|
|
8559
8559
|
(r = Hl(e)) == null ? void 0 : r.entity
|
|
8560
8560
|
);
|
|
@@ -8928,9 +8928,9 @@ function ag({
|
|
|
8928
8928
|
onRemove: t
|
|
8929
8929
|
}) {
|
|
8930
8930
|
var c;
|
|
8931
|
-
const { t: n } = X(), r =
|
|
8931
|
+
const { t: n } = X(), r = Nc(e), s = e.note ?? ((c = e.elements[0]) == null ? void 0 : c.name) ?? n("page_mark_region"), i = n("page_mark_remove", { label: s }), a = e.elements.map((d) => d.name).join(", ");
|
|
8932
8932
|
return r ? /* @__PURE__ */ o(
|
|
8933
|
-
|
|
8933
|
+
kc,
|
|
8934
8934
|
{
|
|
8935
8935
|
...z("chat/input_box/page_mark_pill"),
|
|
8936
8936
|
className: "group",
|
|
@@ -8966,7 +8966,7 @@ function ag({
|
|
|
8966
8966
|
"rounded-2xl bg-background ring-1 ring-border"
|
|
8967
8967
|
),
|
|
8968
8968
|
children: [
|
|
8969
|
-
/* @__PURE__ */ o(
|
|
8969
|
+
/* @__PURE__ */ o(ei, { className: "size-4 shrink-0 text-primary" }),
|
|
8970
8970
|
/* @__PURE__ */ o(
|
|
8971
8971
|
"span",
|
|
8972
8972
|
{
|
|
@@ -9018,10 +9018,10 @@ const Je = {
|
|
|
9018
9018
|
/** Walk recall forward; past the newest entry the stashed draft returns. */
|
|
9019
9019
|
"history-next": "ArrowDown"
|
|
9020
9020
|
};
|
|
9021
|
-
function
|
|
9021
|
+
function Lc() {
|
|
9022
9022
|
return typeof navigator > "u" ? !1 : /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent);
|
|
9023
9023
|
}
|
|
9024
|
-
function Lt(e, t, n =
|
|
9024
|
+
function Lt(e, t, n = Lc()) {
|
|
9025
9025
|
const r = t.split("+"), s = r.at(-1) ?? "", i = new Set(r.slice(0, -1)), a = i.has("Cmd") || i.has("Mod") && n, c = i.has("Ctrl") || i.has("Mod") && !n;
|
|
9026
9026
|
return e.metaKey !== a || e.ctrlKey !== c || e.altKey !== i.has("Alt") || e.shiftKey !== i.has("Shift") ? !1 : e.key.toLowerCase() === s.toLowerCase();
|
|
9027
9027
|
}
|
|
@@ -9039,31 +9039,31 @@ const ig = {
|
|
|
9039
9039
|
ArrowLeft: "←",
|
|
9040
9040
|
ArrowRight: "→"
|
|
9041
9041
|
};
|
|
9042
|
-
function Xo(e, t =
|
|
9042
|
+
function Xo(e, t = Lc()) {
|
|
9043
9043
|
const n = e.split("+"), r = n.at(-1) ?? "", s = n.slice(0, -1), i = cg[r] ?? (r.length === 1 ? r.toUpperCase() : r);
|
|
9044
9044
|
return t ? [...s.map((a) => ig[a] ?? a), i].join("") : [...s.map((a) => a === "Mod" ? "Ctrl" : a), i].join("+");
|
|
9045
9045
|
}
|
|
9046
|
-
const lg = 50 * 1024 * 1024,
|
|
9046
|
+
const lg = 50 * 1024 * 1024, Dc = {
|
|
9047
9047
|
"application/pdf": [".pdf"],
|
|
9048
9048
|
...dm,
|
|
9049
9049
|
...um
|
|
9050
9050
|
}, dg = {
|
|
9051
9051
|
"text/*": [".txt"],
|
|
9052
9052
|
"image/*": [".png", ".jpg", ".jpeg", ".gif"],
|
|
9053
|
-
...
|
|
9053
|
+
...Dc
|
|
9054
9054
|
}, ug = {
|
|
9055
9055
|
"image/png": [".png"],
|
|
9056
9056
|
"image/jpeg": [".jpg", ".jpeg"],
|
|
9057
9057
|
"image/gif": [".gif"],
|
|
9058
9058
|
"image/webp": [".webp"],
|
|
9059
|
-
...
|
|
9059
|
+
...Dc
|
|
9060
9060
|
};
|
|
9061
9061
|
function pg({ status: e }) {
|
|
9062
9062
|
switch (e) {
|
|
9063
9063
|
case "uploading":
|
|
9064
|
-
return /* @__PURE__ */ o(
|
|
9064
|
+
return /* @__PURE__ */ o(Ja, { className: "size-4 animate-spin" });
|
|
9065
9065
|
case "error":
|
|
9066
|
-
return /* @__PURE__ */ o(
|
|
9066
|
+
return /* @__PURE__ */ o(Wa, { className: "size-4 text-destructive" });
|
|
9067
9067
|
default:
|
|
9068
9068
|
return null;
|
|
9069
9069
|
}
|
|
@@ -9080,7 +9080,7 @@ function mg({
|
|
|
9080
9080
|
className: "object-cover bg-secondary size-full",
|
|
9081
9081
|
alt: e.name
|
|
9082
9082
|
}
|
|
9083
|
-
) : n === "audio" ? /* @__PURE__ */ o(Rd, { className: "size-4 text-muted-foreground" }) : n === "video" ? /* @__PURE__ */ o($d, { className: "size-4 text-muted-foreground" }) : e.type === "application/pdf" ? /* @__PURE__ */ o(
|
|
9083
|
+
) : n === "audio" ? /* @__PURE__ */ o(Rd, { className: "size-4 text-muted-foreground" }) : n === "video" ? /* @__PURE__ */ o($d, { className: "size-4 text-muted-foreground" }) : e.type === "application/pdf" ? /* @__PURE__ */ o(Va, { className: "size-4 text-muted-foreground" }) : Vi({ type: e.type, name: e.name }) ? /* @__PURE__ */ o(Ya, { className: "size-4 text-muted-foreground" }) : /* @__PURE__ */ o(Ld, { className: "size-4 text-muted-foreground" });
|
|
9084
9084
|
}
|
|
9085
9085
|
function hg({
|
|
9086
9086
|
file: { status: e, file: t, error: n },
|
|
@@ -9265,7 +9265,7 @@ function bg({
|
|
|
9265
9265
|
className: T(
|
|
9266
9266
|
"relative",
|
|
9267
9267
|
qn,
|
|
9268
|
-
i &&
|
|
9268
|
+
i && $c
|
|
9269
9269
|
),
|
|
9270
9270
|
children: [
|
|
9271
9271
|
a && /* @__PURE__ */ o(
|
|
@@ -9284,7 +9284,7 @@ function wg(e, t) {
|
|
|
9284
9284
|
const n = e.ownerDocument;
|
|
9285
9285
|
if (!n.defaultView) return null;
|
|
9286
9286
|
const s = n.createElement("div");
|
|
9287
|
-
|
|
9287
|
+
jc(e, s), Object.assign(s.style, {
|
|
9288
9288
|
position: "absolute",
|
|
9289
9289
|
visibility: "hidden",
|
|
9290
9290
|
top: "0",
|
|
@@ -9300,7 +9300,7 @@ function wg(e, t) {
|
|
|
9300
9300
|
const a = i.offsetLeft, c = i.offsetTop - e.scrollTop;
|
|
9301
9301
|
return s.remove(), { left: a, top: c };
|
|
9302
9302
|
}
|
|
9303
|
-
function
|
|
9303
|
+
function jc(e, t) {
|
|
9304
9304
|
const n = e.ownerDocument.defaultView;
|
|
9305
9305
|
if (!n) return;
|
|
9306
9306
|
const r = n.getComputedStyle(e);
|
|
@@ -9327,7 +9327,7 @@ const xg = [
|
|
|
9327
9327
|
"border-right-width",
|
|
9328
9328
|
"border-bottom-width",
|
|
9329
9329
|
"border-left-width"
|
|
9330
|
-
], vg = 300,
|
|
9330
|
+
], vg = 300, Hc = 260, yg = 8, Fc = "rounded-xl border border-border bg-background shadow-lg";
|
|
9331
9331
|
function kg({
|
|
9332
9332
|
anchorRef: e,
|
|
9333
9333
|
inputRef: t,
|
|
@@ -9352,7 +9352,7 @@ function kg({
|
|
|
9352
9352
|
left: E,
|
|
9353
9353
|
width: M,
|
|
9354
9354
|
top: A,
|
|
9355
|
-
detailBeside: r && E + M + yg +
|
|
9355
|
+
detailBeside: r && E + M + yg + Hc <= P - 8
|
|
9356
9356
|
});
|
|
9357
9357
|
};
|
|
9358
9358
|
y(), _ == null || _.addEventListener("resize", y);
|
|
@@ -9383,7 +9383,7 @@ function kg({
|
|
|
9383
9383
|
{
|
|
9384
9384
|
role: "listbox",
|
|
9385
9385
|
style: { width: m.width },
|
|
9386
|
-
className: T("flex max-h-72 flex-col overflow-hidden",
|
|
9386
|
+
className: T("flex max-h-72 flex-col overflow-hidden", Fc),
|
|
9387
9387
|
children: /* @__PURE__ */ o("div", { className: "min-h-0 flex-1 overflow-auto p-1", children: i.length === 0 ? /* @__PURE__ */ o("div", { className: "px-2 py-1.5 text-xs text-muted-foreground", children: u("mentions_empty") }) : s.map((x) => /* @__PURE__ */ yt(
|
|
9388
9388
|
"div",
|
|
9389
9389
|
{
|
|
@@ -9411,7 +9411,7 @@ function kg({
|
|
|
9411
9411
|
y === c ? "bg-muted" : "hover:bg-muted/60"
|
|
9412
9412
|
)
|
|
9413
9413
|
},
|
|
9414
|
-
/* @__PURE__ */ o(
|
|
9414
|
+
/* @__PURE__ */ o(Wc, { item: _ }),
|
|
9415
9415
|
/* @__PURE__ */ o("span", { className: "min-w-0 flex-1 truncate text-foreground", children: _.title })
|
|
9416
9416
|
);
|
|
9417
9417
|
}),
|
|
@@ -9444,10 +9444,10 @@ function Sg({ item: e }) {
|
|
|
9444
9444
|
"div",
|
|
9445
9445
|
{
|
|
9446
9446
|
...z("chat/input_box/mention_picker/detail"),
|
|
9447
|
-
style: { width:
|
|
9448
|
-
className: T("flex gap-3 p-3",
|
|
9447
|
+
style: { width: Hc },
|
|
9448
|
+
className: T("flex gap-3 p-3", Fc),
|
|
9449
9449
|
children: [
|
|
9450
|
-
/* @__PURE__ */ o("span", { className: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted", children: /* @__PURE__ */ o(
|
|
9450
|
+
/* @__PURE__ */ o("span", { className: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted", children: /* @__PURE__ */ o(Wc, { item: e, className: "size-4" }) }),
|
|
9451
9451
|
/* @__PURE__ */ f("span", { className: "min-w-0 flex-1", children: [
|
|
9452
9452
|
/* @__PURE__ */ o("span", { className: "block text-[10px] uppercase tracking-wide text-muted-foreground", children: e.type }),
|
|
9453
9453
|
/* @__PURE__ */ o("span", { className: "block truncate text-sm font-medium text-foreground", children: e.title }),
|
|
@@ -9457,7 +9457,7 @@ function Sg({ item: e }) {
|
|
|
9457
9457
|
}
|
|
9458
9458
|
);
|
|
9459
9459
|
}
|
|
9460
|
-
function
|
|
9460
|
+
function Wc({
|
|
9461
9461
|
item: e,
|
|
9462
9462
|
className: t
|
|
9463
9463
|
}) {
|
|
@@ -9476,7 +9476,7 @@ function Fc({
|
|
|
9476
9476
|
}
|
|
9477
9477
|
);
|
|
9478
9478
|
}
|
|
9479
|
-
const
|
|
9479
|
+
const Uc = Le(null);
|
|
9480
9480
|
function Cg({ children: e }) {
|
|
9481
9481
|
const [t, n] = R([]), [r, s] = R(!1), i = U(/* @__PURE__ */ new Map()), a = H((u) => {
|
|
9482
9482
|
s(u);
|
|
@@ -9501,10 +9501,10 @@ function Cg({ children: e }) {
|
|
|
9501
9501
|
() => ({ marks: t, isArmed: r, setArmed: a, attach: c, detach: d, detachAll: l }),
|
|
9502
9502
|
[t, r, a, c, d, l]
|
|
9503
9503
|
);
|
|
9504
|
-
return /* @__PURE__ */ o(
|
|
9504
|
+
return /* @__PURE__ */ o(Uc.Provider, { value: p, children: e });
|
|
9505
9505
|
}
|
|
9506
9506
|
function Go() {
|
|
9507
|
-
const e = Me(
|
|
9507
|
+
const e = Me(Uc);
|
|
9508
9508
|
if (!e)
|
|
9509
9509
|
throw new Error("usePageMarks must be used within a PageMarksProvider");
|
|
9510
9510
|
return e;
|
|
@@ -9706,7 +9706,7 @@ function Ig({
|
|
|
9706
9706
|
...P ? { note: P } : {},
|
|
9707
9707
|
pageUrl: Wo(window.location.href),
|
|
9708
9708
|
rect: v.rect,
|
|
9709
|
-
elements: M.map(
|
|
9709
|
+
elements: M.map(Ac)
|
|
9710
9710
|
};
|
|
9711
9711
|
Nf(I, M), M[0] && Lh(I, M[0]), h.current = null, p(null), a(!1), c(I, N), n == null || n(I);
|
|
9712
9712
|
},
|
|
@@ -9822,8 +9822,8 @@ function zg({
|
|
|
9822
9822
|
} };
|
|
9823
9823
|
}
|
|
9824
9824
|
const ra = "max-h-16 [field-sizing:content] w-full px-2", Og = 1e3;
|
|
9825
|
-
function
|
|
9826
|
-
const { sessionEnded: t } =
|
|
9825
|
+
function Bc(e = {}) {
|
|
9826
|
+
const { sessionEnded: t } = Ra();
|
|
9827
9827
|
return t ? /* @__PURE__ */ o(Rg, {}) : /* @__PURE__ */ o($g, { ...e });
|
|
9828
9828
|
}
|
|
9829
9829
|
function Rg() {
|
|
@@ -9871,7 +9871,7 @@ function $g({
|
|
|
9871
9871
|
}), W = A.picked.length > 0;
|
|
9872
9872
|
at(() => {
|
|
9873
9873
|
const K = i.current, Ce = c.current;
|
|
9874
|
-
!K || !Ce ||
|
|
9874
|
+
!K || !Ce || jc(K, Ce);
|
|
9875
9875
|
}, [W, L]);
|
|
9876
9876
|
const [$, V] = R(!1), G = E ? `${E.type}:${E.id}` : "";
|
|
9877
9877
|
j(() => {
|
|
@@ -9917,7 +9917,7 @@ function $g({
|
|
|
9917
9917
|
j(() => {
|
|
9918
9918
|
!g && ge.length > 0 && tt();
|
|
9919
9919
|
}, [g, ge.length, tt]);
|
|
9920
|
-
const Nt = !!((In = N.session) != null && In.isHandedOff), { isAwaitingBotReply: dt } =
|
|
9920
|
+
const Nt = !!((In = N.session) != null && In.isHandedOff), { isAwaitingBotReply: dt } = $a(), nt = h.messageCtx.blocksSendWhileAwaitingReply && dt, ut = (K) => {
|
|
9921
9921
|
P || !g || (F(null), et(K));
|
|
9922
9922
|
}, pt = E !== null && !$, _e = ge.length > 0 || re.length > 0, Ge = !L.trim() && lt.length === 0 && (!S || !re.some(Bn)), rt = w && Ge, pr = rt && x.length > 0, Tn = P || we || nt || Ge, Ae = U(0), on = () => {
|
|
9923
9923
|
Date.now() - Ae.current < Og || C();
|
|
@@ -9980,7 +9980,7 @@ function $g({
|
|
|
9980
9980
|
// is the rich payload for THIS turn; `picked_elements` is the key the
|
|
9981
9981
|
// backend persists, re-surfaces on later turns, and hands back to the
|
|
9982
9982
|
// surfaces that show the message afterwards.
|
|
9983
|
-
clientContext:
|
|
9983
|
+
clientContext: Rc({
|
|
9984
9984
|
marks: Et,
|
|
9985
9985
|
readsPage: Ft
|
|
9986
9986
|
}),
|
|
@@ -10178,7 +10178,7 @@ function $g({
|
|
|
10178
10178
|
s ? "text-[16px]" : "text-sm"
|
|
10179
10179
|
),
|
|
10180
10180
|
children: /* @__PURE__ */ o(
|
|
10181
|
-
|
|
10181
|
+
_c,
|
|
10182
10182
|
{
|
|
10183
10183
|
text: L,
|
|
10184
10184
|
mentions: A.picked,
|
|
@@ -10280,7 +10280,7 @@ function $g({
|
|
|
10280
10280
|
className: T(
|
|
10281
10281
|
qn,
|
|
10282
10282
|
// Armed: click again (or Esc) to disarm.
|
|
10283
|
-
oe.isActive &&
|
|
10283
|
+
oe.isActive && $c
|
|
10284
10284
|
),
|
|
10285
10285
|
children: /* @__PURE__ */ o(Fd, { className: "size-4" })
|
|
10286
10286
|
}
|
|
@@ -10305,7 +10305,7 @@ function $g({
|
|
|
10305
10305
|
"aria-label": I(rt ? "stop_response" : "send_message"),
|
|
10306
10306
|
disabled: P || !rt && Tn,
|
|
10307
10307
|
className: qn,
|
|
10308
|
-
children: /* @__PURE__ */ o(ie, { mode: "wait", children: rt ? /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(Wd, { className: "size-3 fill-current" }) }, "stop") : !w && (nt || we) ? /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(
|
|
10308
|
+
children: /* @__PURE__ */ o(ie, { mode: "wait", children: rt ? /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(Wd, { className: "size-3 fill-current" }) }, "stop") : !w && (nt || we) ? /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(Qa, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(ti, { className: "size-4" }) }, "send") })
|
|
10309
10309
|
}
|
|
10310
10310
|
)
|
|
10311
10311
|
}
|
|
@@ -10345,7 +10345,7 @@ function jg() {
|
|
|
10345
10345
|
/* @__PURE__ */ o(ie, { mode: "wait", children: i && /* @__PURE__ */ o($e, { children: /* @__PURE__ */ o(oa, {}) }, "new-conv-or-back-to-convs-button") })
|
|
10346
10346
|
] }, "csat") : /* @__PURE__ */ f($e, { children: [
|
|
10347
10347
|
/* @__PURE__ */ f("div", { className: "ps-2 flex items-center gap-1 pb-2", children: [
|
|
10348
|
-
/* @__PURE__ */ o(
|
|
10348
|
+
/* @__PURE__ */ o(Ka, { className: "size-4 text-emerald-600" }),
|
|
10349
10349
|
/* @__PURE__ */ o("h2", { className: "text-sm font-medium", children: e("your_issue_has_been_resolved") })
|
|
10350
10350
|
] }),
|
|
10351
10351
|
/* @__PURE__ */ o(oa, {})
|
|
@@ -10363,7 +10363,7 @@ function Hg() {
|
|
|
10363
10363
|
pendingClarification: c,
|
|
10364
10364
|
pendingConnection: d,
|
|
10365
10365
|
pendingPageAction: l
|
|
10366
|
-
} = jt(), { text: p } = wo(), u = i.messages.length === 0, m =
|
|
10366
|
+
} = jt(), { text: p } = wo(), u = i.messages.length === 0, m = Ec(), h = eo({
|
|
10367
10367
|
isStreaming: a,
|
|
10368
10368
|
messages: i.messages,
|
|
10369
10369
|
session: s.session
|
|
@@ -10405,7 +10405,7 @@ function Hg() {
|
|
|
10405
10405
|
},
|
|
10406
10406
|
`${w}-${C}`
|
|
10407
10407
|
)) }),
|
|
10408
|
-
!m && !h && /* @__PURE__ */ o(
|
|
10408
|
+
!m && !h && /* @__PURE__ */ o(Bc, {}),
|
|
10409
10409
|
/* @__PURE__ */ o(to, {})
|
|
10410
10410
|
] }, "chat-input") }) });
|
|
10411
10411
|
}
|
|
@@ -10413,8 +10413,8 @@ function Fg() {
|
|
|
10413
10413
|
var S;
|
|
10414
10414
|
const {
|
|
10415
10415
|
messagesState: { messages: e, isAgentTyping: t }
|
|
10416
|
-
} = Te(), { isAwaitingBotReply: n } =
|
|
10417
|
-
() =>
|
|
10416
|
+
} = Te(), { isAwaitingBotReply: n } = $a(), { componentStore: r } = ae(), s = tn(), i = se(
|
|
10417
|
+
() => gc(e),
|
|
10418
10418
|
[e]
|
|
10419
10419
|
), a = e.at(-1), c = a == null ? void 0 : a.id, d = a == null ? void 0 : a.type, l = U(c), [p, u] = R(!1), m = n && !p;
|
|
10420
10420
|
j(() => {
|
|
@@ -10446,9 +10446,9 @@ function Fg() {
|
|
|
10446
10446
|
ref: b,
|
|
10447
10447
|
className: "max-h-full scroll-smooth relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
|
|
10448
10448
|
children: [
|
|
10449
|
-
/* @__PURE__ */ o(xc, {}),
|
|
10450
|
-
/* @__PURE__ */ o(gc, {}),
|
|
10451
10449
|
/* @__PURE__ */ o(vc, {}),
|
|
10450
|
+
/* @__PURE__ */ o(bc, {}),
|
|
10451
|
+
/* @__PURE__ */ o(yc, {}),
|
|
10452
10452
|
/* @__PURE__ */ o(
|
|
10453
10453
|
Qr,
|
|
10454
10454
|
{
|
|
@@ -10465,8 +10465,8 @@ function Fg() {
|
|
|
10465
10465
|
)) == null ? void 0 : S.agent
|
|
10466
10466
|
}
|
|
10467
10467
|
),
|
|
10468
|
-
/* @__PURE__ */ o(
|
|
10469
|
-
/* @__PURE__ */ o(
|
|
10468
|
+
/* @__PURE__ */ o(fc, {}),
|
|
10469
|
+
/* @__PURE__ */ o(hc, {})
|
|
10470
10470
|
]
|
|
10471
10471
|
}
|
|
10472
10472
|
);
|
|
@@ -10498,12 +10498,12 @@ function Wg() {
|
|
|
10498
10498
|
// Relative to the iframe
|
|
10499
10499
|
},
|
|
10500
10500
|
children: /* @__PURE__ */ f("div", { className: "relative size-full justify-between flex flex-col", children: [
|
|
10501
|
-
/* @__PURE__ */ o(
|
|
10501
|
+
/* @__PURE__ */ o(lc, {}),
|
|
10502
10502
|
/* @__PURE__ */ o(ie, { mode: "wait", children: e ? /* @__PURE__ */ o(
|
|
10503
10503
|
ne,
|
|
10504
10504
|
{
|
|
10505
10505
|
className: "flex flex-col items-center justify-center w-full flex-1",
|
|
10506
|
-
children: /* @__PURE__ */ o(
|
|
10506
|
+
children: /* @__PURE__ */ o(dc, {})
|
|
10507
10507
|
},
|
|
10508
10508
|
"loading"
|
|
10509
10509
|
) : /* @__PURE__ */ f(
|
|
@@ -10642,10 +10642,10 @@ function Pt({
|
|
|
10642
10642
|
);
|
|
10643
10643
|
}
|
|
10644
10644
|
const Bg = 3;
|
|
10645
|
-
function
|
|
10645
|
+
function qc(e, t) {
|
|
10646
10646
|
for (const n of e) {
|
|
10647
10647
|
if (n.id === t) return n;
|
|
10648
|
-
const r =
|
|
10648
|
+
const r = qc(n.topics, t);
|
|
10649
10649
|
if (r) return r;
|
|
10650
10650
|
}
|
|
10651
10651
|
}
|
|
@@ -10678,7 +10678,7 @@ function Dt({
|
|
|
10678
10678
|
}
|
|
10679
10679
|
);
|
|
10680
10680
|
}
|
|
10681
|
-
function
|
|
10681
|
+
function Vc({
|
|
10682
10682
|
topic: e,
|
|
10683
10683
|
onOpen: t
|
|
10684
10684
|
}) {
|
|
@@ -10700,7 +10700,7 @@ function qc({
|
|
|
10700
10700
|
}
|
|
10701
10701
|
);
|
|
10702
10702
|
}
|
|
10703
|
-
function
|
|
10703
|
+
function Yc({
|
|
10704
10704
|
article: e,
|
|
10705
10705
|
onOpen: t
|
|
10706
10706
|
}) {
|
|
@@ -10720,7 +10720,7 @@ function Vc({
|
|
|
10720
10720
|
}
|
|
10721
10721
|
);
|
|
10722
10722
|
}
|
|
10723
|
-
function
|
|
10723
|
+
function Xc({
|
|
10724
10724
|
component: e,
|
|
10725
10725
|
onBack: t,
|
|
10726
10726
|
children: n
|
|
@@ -10764,7 +10764,7 @@ function Jn() {
|
|
|
10764
10764
|
/* @__PURE__ */ o(Pt, { className: "h-3 w-full" })
|
|
10765
10765
|
] });
|
|
10766
10766
|
}
|
|
10767
|
-
function
|
|
10767
|
+
function Gc({ onClick: e }) {
|
|
10768
10768
|
const { t } = X();
|
|
10769
10769
|
return /* @__PURE__ */ o(
|
|
10770
10770
|
Y,
|
|
@@ -10779,8 +10779,8 @@ function Xc({ onClick: e }) {
|
|
|
10779
10779
|
}
|
|
10780
10780
|
);
|
|
10781
10781
|
}
|
|
10782
|
-
const sa = 99, Vg = (e) => e ? 16 : 9,
|
|
10783
|
-
function
|
|
10782
|
+
const sa = 99, Vg = (e) => e ? 16 : 9, Kc = (e, t) => e / 2 * (1 - Math.SQRT1_2) - Vg(t) / 2;
|
|
10783
|
+
function Zc({
|
|
10784
10784
|
count: e,
|
|
10785
10785
|
showCount: t,
|
|
10786
10786
|
component: n = "trigger/unread",
|
|
@@ -10829,7 +10829,7 @@ function Zo({
|
|
|
10829
10829
|
}) {
|
|
10830
10830
|
const s = lr();
|
|
10831
10831
|
return s === !1 ? null : /* @__PURE__ */ o(
|
|
10832
|
-
|
|
10832
|
+
Zc,
|
|
10833
10833
|
{
|
|
10834
10834
|
count: e,
|
|
10835
10835
|
showCount: (t ?? s) === "count",
|
|
@@ -10856,7 +10856,7 @@ function ur({
|
|
|
10856
10856
|
{
|
|
10857
10857
|
key: "home",
|
|
10858
10858
|
label: c("home_tab_articles"),
|
|
10859
|
-
Icon:
|
|
10859
|
+
Icon: Ga,
|
|
10860
10860
|
onClick: r,
|
|
10861
10861
|
onReselect: e,
|
|
10862
10862
|
unread: 0
|
|
@@ -10928,7 +10928,7 @@ function ur({
|
|
|
10928
10928
|
}
|
|
10929
10929
|
) });
|
|
10930
10930
|
}
|
|
10931
|
-
function
|
|
10931
|
+
function Jc({
|
|
10932
10932
|
key: e,
|
|
10933
10933
|
fetchPage: t
|
|
10934
10934
|
}) {
|
|
@@ -10975,11 +10975,11 @@ function Zc({
|
|
|
10975
10975
|
reload: p
|
|
10976
10976
|
};
|
|
10977
10977
|
}
|
|
10978
|
-
function
|
|
10978
|
+
function Qc({
|
|
10979
10979
|
helpCenterId: e,
|
|
10980
10980
|
topicId: t
|
|
10981
10981
|
}) {
|
|
10982
|
-
const { widgetCtx: n } = ae(), r =
|
|
10982
|
+
const { widgetCtx: n } = ae(), r = Jc({
|
|
10983
10983
|
key: t === null ? null : `${e}:${t}`,
|
|
10984
10984
|
fetchPage: (s) => t === null ? Promise.resolve({ items: [], nextOffset: null }) : n.api.listTopicArticles({ helpCenterId: e, topicId: t, offset: s }).then((i) => ({
|
|
10985
10985
|
items: i.articles,
|
|
@@ -11026,7 +11026,7 @@ function Kg({
|
|
|
11026
11026
|
width: p.screens.chat.width,
|
|
11027
11027
|
height: p.screens.chat.height
|
|
11028
11028
|
});
|
|
11029
|
-
const u =
|
|
11029
|
+
const u = ii(
|
|
11030
11030
|
() => d.api.getHelpCenterArticle({ helpCenterId: e, slug: t }),
|
|
11031
11031
|
[d, e, t]
|
|
11032
11032
|
), m = (C = u.value) == null ? void 0 : C.article, h = se(
|
|
@@ -11047,7 +11047,7 @@ function Kg({
|
|
|
11047
11047
|
slug: t
|
|
11048
11048
|
}) : u.value && !u.value.article && !u.value.redirect_slug && he.warn("home: article not found", { helpCenterId: e, slug: t });
|
|
11049
11049
|
}, [u.error, u.value, e, t]);
|
|
11050
|
-
const g = (m == null ? void 0 : m.topic_path) ?? [], S =
|
|
11050
|
+
const g = (m == null ? void 0 : m.topic_path) ?? [], S = Qc({
|
|
11051
11051
|
helpCenterId: e,
|
|
11052
11052
|
topicId: ((_ = g.at(-1)) == null ? void 0 : _.id) ?? null
|
|
11053
11053
|
}), w = m ? qg({
|
|
@@ -11067,7 +11067,7 @@ function Kg({
|
|
|
11067
11067
|
maxHeight: "100vh"
|
|
11068
11068
|
},
|
|
11069
11069
|
children: [
|
|
11070
|
-
/* @__PURE__ */ o(
|
|
11070
|
+
/* @__PURE__ */ o(Xc, { component: "article/header", onBack: r, children: /* @__PURE__ */ o(
|
|
11071
11071
|
"nav",
|
|
11072
11072
|
{
|
|
11073
11073
|
...z("article/trail"),
|
|
@@ -11124,7 +11124,7 @@ function Kg({
|
|
|
11124
11124
|
component: "home/articles",
|
|
11125
11125
|
title: l("home_suggested_articles"),
|
|
11126
11126
|
children: w.map((y) => /* @__PURE__ */ o(
|
|
11127
|
-
|
|
11127
|
+
Yc,
|
|
11128
11128
|
{
|
|
11129
11129
|
article: y,
|
|
11130
11130
|
onOpen: i
|
|
@@ -11162,7 +11162,7 @@ function Zg({
|
|
|
11162
11162
|
[t.id, t.name]
|
|
11163
11163
|
);
|
|
11164
11164
|
Mo(d);
|
|
11165
|
-
const l = t.topics.filter((u) => u.article_count > 0), p =
|
|
11165
|
+
const l = t.topics.filter((u) => u.article_count > 0), p = Qc({ helpCenterId: e, topicId: t.id });
|
|
11166
11166
|
return /* @__PURE__ */ f(
|
|
11167
11167
|
"div",
|
|
11168
11168
|
{
|
|
@@ -11175,20 +11175,20 @@ function Zg({
|
|
|
11175
11175
|
maxHeight: "100vh"
|
|
11176
11176
|
},
|
|
11177
11177
|
children: [
|
|
11178
|
-
/* @__PURE__ */ o(
|
|
11178
|
+
/* @__PURE__ */ o(Xc, { component: "topic/header", onBack: n, children: /* @__PURE__ */ o("h1", { className: "min-w-0 flex-1 truncate text-sm font-semibold", children: t.name }) }),
|
|
11179
11179
|
/* @__PURE__ */ f("div", { className: "flex-1 min-h-0 overflow-y-auto flex flex-col gap-3 p-3", children: [
|
|
11180
11180
|
t.description && /* @__PURE__ */ o("p", { className: "px-2 text-sm text-muted-foreground [overflow-wrap:anywhere]", children: t.description }),
|
|
11181
|
-
l.length > 0 && /* @__PURE__ */ o(Dt, { component: "home/topics", title: c("home_topics"), children: l.map((u) => /* @__PURE__ */ o(
|
|
11181
|
+
l.length > 0 && /* @__PURE__ */ o(Dt, { component: "home/topics", title: c("home_topics"), children: l.map((u) => /* @__PURE__ */ o(Vc, { topic: u, onOpen: s }, u.id)) }),
|
|
11182
11182
|
p.error && p.items.length === 0 ? /* @__PURE__ */ o("p", { className: "py-6 text-center text-sm text-muted-foreground", children: c("home_load_failed") }) : (p.loading || p.items.length > 0) && /* @__PURE__ */ f(Dt, { component: "home/articles", title: c("home_tab_articles"), children: [
|
|
11183
11183
|
p.items.map((u) => /* @__PURE__ */ o(
|
|
11184
|
-
|
|
11184
|
+
Yc,
|
|
11185
11185
|
{
|
|
11186
11186
|
article: u,
|
|
11187
11187
|
onOpen: i
|
|
11188
11188
|
},
|
|
11189
11189
|
u.id
|
|
11190
11190
|
)),
|
|
11191
|
-
p.loading ? /* @__PURE__ */ o(Jn, {}) : p.hasMore ? /* @__PURE__ */ o(
|
|
11191
|
+
p.loading ? /* @__PURE__ */ o(Jn, {}) : p.hasMore ? /* @__PURE__ */ o(Gc, { onClick: p.loadMore }) : null
|
|
11192
11192
|
] })
|
|
11193
11193
|
] }),
|
|
11194
11194
|
/* @__PURE__ */ f("footer", { className: "shrink-0 pt-1", children: [
|
|
@@ -11208,7 +11208,7 @@ const Jo = Le({
|
|
|
11208
11208
|
});
|
|
11209
11209
|
function Jg({ children: e }) {
|
|
11210
11210
|
var c;
|
|
11211
|
-
const { widgetCtx: t } = ae(), n = (c = t.home) == null ? void 0 : c.helpCenterId, [r, s] = R(!1), i = H(() => s(!0), []), a =
|
|
11211
|
+
const { widgetCtx: t } = ae(), n = (c = t.home) == null ? void 0 : c.helpCenterId, [r, s] = R(!1), i = H(() => s(!0), []), a = ii(
|
|
11212
11212
|
async () => r && n ? t.api.listHomeArticles({ helpCenterId: n }) : void 0,
|
|
11213
11213
|
[t, n, r]
|
|
11214
11214
|
);
|
|
@@ -11246,19 +11246,19 @@ function nb(e) {
|
|
|
11246
11246
|
n(""), s("");
|
|
11247
11247
|
} };
|
|
11248
11248
|
}
|
|
11249
|
-
const
|
|
11249
|
+
const el = Le(null);
|
|
11250
11250
|
function rb({ children: e }) {
|
|
11251
11251
|
var l;
|
|
11252
11252
|
const { widgetCtx: t } = ae(), n = ((l = t.home) == null ? void 0 : l.helpCenterId) ?? null, { data: r } = Me(Jo), [s, i] = R([]), a = nb((r == null ? void 0 : r.popularSearches) ?? []), [c, d] = R(n);
|
|
11253
|
-
return c !== n && (d(n), i([]), a.reset()), /* @__PURE__ */ o(
|
|
11253
|
+
return c !== n && (d(n), i([]), a.reset()), /* @__PURE__ */ o(el.Provider, { value: { stack: s, setStack: i, homeSearch: a }, children: e });
|
|
11254
11254
|
}
|
|
11255
11255
|
function ob() {
|
|
11256
|
-
const e = Me(
|
|
11256
|
+
const e = Me(el);
|
|
11257
11257
|
if (!e)
|
|
11258
11258
|
throw new Error("useHomeState must be used inside HomeStateProvider");
|
|
11259
11259
|
return e;
|
|
11260
11260
|
}
|
|
11261
|
-
const sb = 24, ab = { initial: { opacity: 1, x: 0 } },
|
|
11261
|
+
const sb = 24, ab = { initial: { opacity: 1, x: 0 } }, tl = Le({
|
|
11262
11262
|
direction: null,
|
|
11263
11263
|
settle: () => {
|
|
11264
11264
|
}
|
|
@@ -11273,11 +11273,11 @@ function ib({
|
|
|
11273
11273
|
}) {
|
|
11274
11274
|
return !aa(e) || !aa(t) || e === t ? null : io[t] > io[e] !== n ? "left" : "right";
|
|
11275
11275
|
}
|
|
11276
|
-
function
|
|
11276
|
+
function nl({
|
|
11277
11277
|
children: e,
|
|
11278
11278
|
...t
|
|
11279
11279
|
}) {
|
|
11280
|
-
const { direction: n, settle: r } = Me(
|
|
11280
|
+
const { direction: n, settle: r } = Me(tl);
|
|
11281
11281
|
return j(() => {
|
|
11282
11282
|
n && r();
|
|
11283
11283
|
}, [n, r]), /* @__PURE__ */ o(
|
|
@@ -11302,7 +11302,7 @@ function mb() {
|
|
|
11302
11302
|
[r]
|
|
11303
11303
|
);
|
|
11304
11304
|
if (!t) return null;
|
|
11305
|
-
const c = (x) => r((_) => [..._, x]), d = () => r((x) => x.slice(0, -1)), l = () => r([]), p = (x) => c({ kind: "article", slug: x }), u = (x) => c({ kind: "topic", topicId: x }), m = (x) => r(x.map((_) => ({ kind: "topic", topicId: _ }))), h = n[n.length - 1], b = ((w = i.data) == null ? void 0 : w.topics) ?? [], g = (h == null ? void 0 : h.kind) === "topic" ?
|
|
11305
|
+
const c = (x) => r((_) => [..._, x]), d = () => r((x) => x.slice(0, -1)), l = () => r([]), p = (x) => c({ kind: "article", slug: x }), u = (x) => c({ kind: "topic", topicId: x }), m = (x) => r(x.map((_) => ({ kind: "topic", topicId: _ }))), h = n[n.length - 1], b = ((w = i.data) == null ? void 0 : w.topics) ?? [], g = (h == null ? void 0 : h.kind) === "topic" ? qc(b, h.topicId) : null;
|
|
11306
11306
|
return /* @__PURE__ */ o(ie, { mode: "wait", initial: !1, children: (h == null ? void 0 : h.kind) === "article" ? /* @__PURE__ */ o(
|
|
11307
11307
|
ne,
|
|
11308
11308
|
{
|
|
@@ -11385,7 +11385,7 @@ function hb({
|
|
|
11385
11385
|
maxHeight: "100vh"
|
|
11386
11386
|
},
|
|
11387
11387
|
children: [
|
|
11388
|
-
/* @__PURE__ */ f(
|
|
11388
|
+
/* @__PURE__ */ f(nl, { className: "flex-1 min-h-0 flex flex-col", children: [
|
|
11389
11389
|
/* @__PURE__ */ o(fb, {}),
|
|
11390
11390
|
/* @__PURE__ */ o("div", { className: "shrink-0 px-3 -mt-6 relative z-10", children: /* @__PURE__ */ o(
|
|
11391
11391
|
gb,
|
|
@@ -11416,7 +11416,7 @@ function hb({
|
|
|
11416
11416
|
}
|
|
11417
11417
|
),
|
|
11418
11418
|
b.length > 0 && /* @__PURE__ */ o(Dt, { component: "home/topics", title: m("home_topics"), children: b.map((g) => /* @__PURE__ */ o(
|
|
11419
|
-
|
|
11419
|
+
Vc,
|
|
11420
11420
|
{
|
|
11421
11421
|
topic: g,
|
|
11422
11422
|
onOpen: p
|
|
@@ -11558,7 +11558,7 @@ function xb({
|
|
|
11558
11558
|
}) {
|
|
11559
11559
|
const { t: s } = X();
|
|
11560
11560
|
return n ? /* @__PURE__ */ o(co, { children: s("home_load_failed") }) : !t && (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ o(Dt, { component: "home/articles", title: s("home_suggested_articles"), children: t || !e ? Array.from({ length: lb }, (i, a) => /* @__PURE__ */ o(Jn, {}, a)) : e.map((i) => /* @__PURE__ */ o(
|
|
11561
|
-
|
|
11561
|
+
rl,
|
|
11562
11562
|
{
|
|
11563
11563
|
article: i,
|
|
11564
11564
|
onOpen: r
|
|
@@ -11572,7 +11572,7 @@ function vb({
|
|
|
11572
11572
|
retry: n,
|
|
11573
11573
|
onOpenArticle: r
|
|
11574
11574
|
}) {
|
|
11575
|
-
const { widgetCtx: s } = ae(), { t: i } = X(), a =
|
|
11575
|
+
const { widgetCtx: s } = ae(), { t: i } = X(), a = Jc({
|
|
11576
11576
|
key: `${e}:${t}`,
|
|
11577
11577
|
fetchPage: (u) => s.api.searchHelpCenter({ helpCenterId: e, query: t, offset: u }).then((m) => ({
|
|
11578
11578
|
items: m.results,
|
|
@@ -11590,7 +11590,7 @@ function vb({
|
|
|
11590
11590
|
n !== d.current && (d.current = n, l && p());
|
|
11591
11591
|
}, [n, l, p]), a.items.length === 0 ? a.error ? /* @__PURE__ */ o(co, { onRetry: a.reload, children: i(c ? "home_search_busy" : "home_load_failed") }) : a.loading ? /* @__PURE__ */ o(Dt, { component: "home/articles", children: /* @__PURE__ */ o(Jn, {}) }) : /* @__PURE__ */ o(co, { children: i("home_search_no_results") }) : /* @__PURE__ */ f(Dt, { component: "home/articles", children: [
|
|
11592
11592
|
a.items.map((u) => /* @__PURE__ */ o(
|
|
11593
|
-
|
|
11593
|
+
rl,
|
|
11594
11594
|
{
|
|
11595
11595
|
article: u,
|
|
11596
11596
|
topicName: u.topic.name,
|
|
@@ -11598,10 +11598,10 @@ function vb({
|
|
|
11598
11598
|
},
|
|
11599
11599
|
u.id
|
|
11600
11600
|
)),
|
|
11601
|
-
a.loading ? /* @__PURE__ */ o(Jn, {}) : a.hasMore ? /* @__PURE__ */ o(
|
|
11601
|
+
a.loading ? /* @__PURE__ */ o(Jn, {}) : a.hasMore ? /* @__PURE__ */ o(Gc, { onClick: a.loadMore }) : null
|
|
11602
11602
|
] });
|
|
11603
11603
|
}
|
|
11604
|
-
function
|
|
11604
|
+
function rl({
|
|
11605
11605
|
article: e,
|
|
11606
11606
|
topicName: t,
|
|
11607
11607
|
onOpen: n
|
|
@@ -11687,7 +11687,7 @@ function yb({
|
|
|
11687
11687
|
}
|
|
11688
11688
|
};
|
|
11689
11689
|
return !r || ((x = n.capabilities) == null ? void 0 : x.connections) !== !0 ? /* @__PURE__ */ f(te, { children: [
|
|
11690
|
-
/* @__PURE__ */ o(
|
|
11690
|
+
/* @__PURE__ */ o(lc, {}),
|
|
11691
11691
|
((_ = n.capabilities) == null ? void 0 : _.connections) === !0 && l.length > 0 && /* @__PURE__ */ f(
|
|
11692
11692
|
Y,
|
|
11693
11693
|
{
|
|
@@ -11876,9 +11876,9 @@ function ia({
|
|
|
11876
11876
|
/* @__PURE__ */ f("div", { className: "flex-1 min-w-0", children: [
|
|
11877
11877
|
/* @__PURE__ */ o(ie, { mode: "wait", children: /* @__PURE__ */ o(ne, { snapExit: !0, children: c }, c) }),
|
|
11878
11878
|
/* @__PURE__ */ o(ie, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ o(ne, { snapExit: !0, children: /* @__PURE__ */ o(
|
|
11879
|
-
|
|
11879
|
+
Zi,
|
|
11880
11880
|
{
|
|
11881
|
-
remarkPlugins: [
|
|
11881
|
+
remarkPlugins: [oi],
|
|
11882
11882
|
rehypePlugins: [$r],
|
|
11883
11883
|
className: "line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",
|
|
11884
11884
|
children: e.lastMessage
|
|
@@ -11889,7 +11889,7 @@ function ia({
|
|
|
11889
11889
|
{
|
|
11890
11890
|
className: "mt-1",
|
|
11891
11891
|
snapExit: !0,
|
|
11892
|
-
children: /* @__PURE__ */ o(
|
|
11892
|
+
children: /* @__PURE__ */ o(xc, { customStatus: e.customStatus })
|
|
11893
11893
|
},
|
|
11894
11894
|
e.customStatus.id
|
|
11895
11895
|
) })
|
|
@@ -11920,7 +11920,7 @@ function Sb() {
|
|
|
11920
11920
|
ne,
|
|
11921
11921
|
{
|
|
11922
11922
|
className: "flex-1 flex items-center justify-center",
|
|
11923
|
-
children: /* @__PURE__ */ o(
|
|
11923
|
+
children: /* @__PURE__ */ o(dc, {})
|
|
11924
11924
|
},
|
|
11925
11925
|
"loading"
|
|
11926
11926
|
) : /* @__PURE__ */ o(
|
|
@@ -12013,7 +12013,7 @@ function Cb() {
|
|
|
12013
12013
|
// Relative to the iframe
|
|
12014
12014
|
},
|
|
12015
12015
|
children: /* @__PURE__ */ f("div", { className: "size-full flex flex-col", children: [
|
|
12016
|
-
/* @__PURE__ */ o(
|
|
12016
|
+
/* @__PURE__ */ o(nl, { className: "flex-1 min-h-0 flex flex-col", children: /* @__PURE__ */ o(yb, { children: /* @__PURE__ */ o(Sb, {}) }) }),
|
|
12017
12017
|
/* @__PURE__ */ o(ur, {}),
|
|
12018
12018
|
/* @__PURE__ */ o(En, {})
|
|
12019
12019
|
] })
|
|
@@ -12050,7 +12050,7 @@ function Eb() {
|
|
|
12050
12050
|
var w, C, x, _, y, v, N, P;
|
|
12051
12051
|
const {
|
|
12052
12052
|
widgetCtx: { org: e }
|
|
12053
|
-
} = ae(), { setIsOpen: t } = Qe(), { createUnverifiedContact: n } =
|
|
12053
|
+
} = ae(), { setIsOpen: t } = Qe(), { createUnverifiedContact: n } = La(), { isSmallScreen: r } = Pe(), s = J(), { theme: i } = xe(), { t: a } = X(), { observedElementRef: c } = Nb();
|
|
12054
12054
|
rn({
|
|
12055
12055
|
height: void 0,
|
|
12056
12056
|
width: i.screens.welcome.width
|
|
@@ -12190,7 +12190,7 @@ function Eb() {
|
|
|
12190
12190
|
}
|
|
12191
12191
|
const Tb = { initial: { opacity: 1, x: 0 } };
|
|
12192
12192
|
function Ab(e) {
|
|
12193
|
-
const { dir: t } = X(), [, n] =
|
|
12193
|
+
const { dir: t } = X(), [, n] = Cl((i) => i + 1, 0), r = U({ screen: e, direction: null });
|
|
12194
12194
|
r.current.screen !== e && (r.current = {
|
|
12195
12195
|
screen: e,
|
|
12196
12196
|
direction: ib({
|
|
@@ -12211,7 +12211,7 @@ function Qo() {
|
|
|
12211
12211
|
return (
|
|
12212
12212
|
// Route exits are instantaneous. Keep the keyed entry animation, but do not
|
|
12213
12213
|
// queue old screens while welcome → sessions → chat changes in one frame.
|
|
12214
|
-
/* @__PURE__ */ o(Jg, { children: /* @__PURE__ */ o(rb, { children: /* @__PURE__ */ o(
|
|
12214
|
+
/* @__PURE__ */ o(Jg, { children: /* @__PURE__ */ o(rb, { children: /* @__PURE__ */ o(tl.Provider, { value: t, children: /* @__PURE__ */ o("div", { className: "relative bg-background size-full", children: (() => {
|
|
12215
12215
|
switch (e) {
|
|
12216
12216
|
case "welcome":
|
|
12217
12217
|
return /* @__PURE__ */ o(
|
|
@@ -12267,7 +12267,7 @@ function Qo() {
|
|
|
12267
12267
|
}
|
|
12268
12268
|
const Ib = Ro(), Mb = () => {
|
|
12269
12269
|
};
|
|
12270
|
-
function
|
|
12270
|
+
function ol() {
|
|
12271
12271
|
const { isOpen: e } = Qe(), { contentIframeRef: t, widgetCtx: n } = ae(), { inline: r } = J(), { theme: s, computed: i } = xe();
|
|
12272
12272
|
return j(() => {
|
|
12273
12273
|
e || n.dictationCtx.stop({ executeFinalCommand: !1 });
|
|
@@ -12301,12 +12301,12 @@ function rl() {
|
|
|
12301
12301
|
}
|
|
12302
12302
|
},
|
|
12303
12303
|
children: /* @__PURE__ */ o(
|
|
12304
|
-
|
|
12304
|
+
si,
|
|
12305
12305
|
{
|
|
12306
12306
|
ref: t,
|
|
12307
12307
|
initialContent: Ib,
|
|
12308
12308
|
allowFullScreen: !0,
|
|
12309
|
-
title:
|
|
12309
|
+
title: oc,
|
|
12310
12310
|
style: {
|
|
12311
12311
|
// @ts-expect-error this is a valid css variable
|
|
12312
12312
|
"--opencx-widget-width": i.minWidth,
|
|
@@ -12356,7 +12356,7 @@ function Pb() {
|
|
|
12356
12356
|
sideOffset: e.widgetContentContainer.offset.side,
|
|
12357
12357
|
alignOffset: e.widgetContentContainer.offset.align,
|
|
12358
12358
|
avoidCollisions: !1,
|
|
12359
|
-
children: /* @__PURE__ */ o(
|
|
12359
|
+
children: /* @__PURE__ */ o(ol, {})
|
|
12360
12360
|
}
|
|
12361
12361
|
);
|
|
12362
12362
|
}
|
|
@@ -12395,12 +12395,12 @@ function zb({
|
|
|
12395
12395
|
}
|
|
12396
12396
|
);
|
|
12397
12397
|
}
|
|
12398
|
-
function
|
|
12398
|
+
function sl() {
|
|
12399
12399
|
var t;
|
|
12400
12400
|
const { accessibility: e } = J();
|
|
12401
12401
|
return ((t = e == null ? void 0 : e.widgetTriggerButton) == null ? void 0 : t.label) ?? "Chat with us";
|
|
12402
12402
|
}
|
|
12403
|
-
function
|
|
12403
|
+
function al(e, t, n, r) {
|
|
12404
12404
|
return e({
|
|
12405
12405
|
react: pe,
|
|
12406
12406
|
isOpen: t,
|
|
@@ -12414,17 +12414,17 @@ const Ob = Ro({ transparent: !0 }), lo = 6, ca = {
|
|
|
12414
12414
|
}, Tr = (e) => typeof e == "number" ? e - lo : e;
|
|
12415
12415
|
function Rb() {
|
|
12416
12416
|
var m, h;
|
|
12417
|
-
const { isOpen: e, setIsOpen: t } = Qe(), { assets: n, customComponents: r } = J(), { count: s } = nr(), i = dr(s), a = lr() === "count", { theme: c, triggerSide: d } = xe(), l =
|
|
12417
|
+
const { isOpen: e, setIsOpen: t } = Qe(), { assets: n, customComponents: r } = J(), { count: s } = nr(), i = dr(s), a = lr() === "count", { theme: c, triggerSide: d } = xe(), l = Kc(
|
|
12418
12418
|
c.widgetTrigger.size.button,
|
|
12419
12419
|
a
|
|
12420
|
-
), p =
|
|
12421
|
-
return r != null && r.widgetTrigger ?
|
|
12420
|
+
), p = sl(), u = i && !e ? `${p} · ${i}` : p;
|
|
12421
|
+
return r != null && r.widgetTrigger ? al(
|
|
12422
12422
|
r.widgetTrigger,
|
|
12423
12423
|
e,
|
|
12424
12424
|
t,
|
|
12425
12425
|
s
|
|
12426
12426
|
) : /* @__PURE__ */ o(
|
|
12427
|
-
|
|
12427
|
+
si,
|
|
12428
12428
|
{
|
|
12429
12429
|
initialContent: Ob,
|
|
12430
12430
|
title: "OpenCX Live Chat Trigger",
|
|
@@ -12502,7 +12502,7 @@ function Rb() {
|
|
|
12502
12502
|
}
|
|
12503
12503
|
}
|
|
12504
12504
|
) : /* @__PURE__ */ o(
|
|
12505
|
-
|
|
12505
|
+
ni,
|
|
12506
12506
|
{
|
|
12507
12507
|
style: {
|
|
12508
12508
|
width: c.widgetTrigger.size.icon,
|
|
@@ -12579,7 +12579,7 @@ function jb(e, {
|
|
|
12579
12579
|
}) {
|
|
12580
12580
|
e.defaultPrevented || t !== "chat" || Lt(e, Je["toggle-fullscreen"]) && (e.preventDefault(), n());
|
|
12581
12581
|
}
|
|
12582
|
-
function
|
|
12582
|
+
function il(e, {
|
|
12583
12583
|
state: t,
|
|
12584
12584
|
onDismiss: n,
|
|
12585
12585
|
onToggleFullscreen: r
|
|
@@ -12627,7 +12627,7 @@ function Fb({
|
|
|
12627
12627
|
"div",
|
|
12628
12628
|
{
|
|
12629
12629
|
ref: s,
|
|
12630
|
-
onKeyDown: (i) =>
|
|
12630
|
+
onKeyDown: (i) => il(i.nativeEvent, {
|
|
12631
12631
|
state: "input",
|
|
12632
12632
|
onDismiss: n,
|
|
12633
12633
|
onToggleFullscreen: r
|
|
@@ -12666,9 +12666,9 @@ function Wb() {
|
|
|
12666
12666
|
`${n}-${r}`
|
|
12667
12667
|
)) });
|
|
12668
12668
|
}
|
|
12669
|
-
const
|
|
12669
|
+
const cl = /* @__PURE__ */ new WeakSet();
|
|
12670
12670
|
function Ub(e) {
|
|
12671
|
-
return
|
|
12671
|
+
return cl.has(e);
|
|
12672
12672
|
}
|
|
12673
12673
|
function la(e, t = () => !0) {
|
|
12674
12674
|
var u;
|
|
@@ -12679,7 +12679,7 @@ function la(e, t = () => !0) {
|
|
|
12679
12679
|
composed: !0,
|
|
12680
12680
|
clientX: i,
|
|
12681
12681
|
clientY: a
|
|
12682
|
-
}, d = (m) => t() ? (n = !0,
|
|
12682
|
+
}, d = (m) => t() ? (n = !0, cl.add(m), e.dispatchEvent(m), !0) : !1, l = (m) => d(
|
|
12683
12683
|
new PointerEvent(m, {
|
|
12684
12684
|
...c,
|
|
12685
12685
|
pointerId: 1,
|
|
@@ -12711,7 +12711,7 @@ const es = pe.forwardRef(function({ label: t, className: n, ...r }, s) {
|
|
|
12711
12711
|
function It(e, t, n) {
|
|
12712
12712
|
return Math.min(Math.max(e, t), n);
|
|
12713
12713
|
}
|
|
12714
|
-
const uo = 16, Be = 16, wt = 32, Bb = 44, qb = 240, Vb = 440,
|
|
12714
|
+
const uo = 16, Be = 16, wt = 32, Bb = 44, qb = 240, Vb = 440, ll = 32, Yb = 280, Xb = 420, Gb = 640, Kb = 48, Ar = 12, ts = 400, dl = 320, Zb = 560, Jb = "#f4f4f5", ul = 120, pl = dl + ul + Be * 3, xt = {
|
|
12715
12715
|
pill: 999,
|
|
12716
12716
|
input: 16,
|
|
12717
12717
|
fullscreen: 16,
|
|
@@ -12719,15 +12719,15 @@ const uo = 16, Be = 16, wt = 32, Bb = 44, qb = 240, Vb = 440, cl = 32, Yb = 280,
|
|
|
12719
12719
|
compact: 20
|
|
12720
12720
|
};
|
|
12721
12721
|
function ns(e, t) {
|
|
12722
|
-
if (e.width <=
|
|
12722
|
+
if (e.width <= pl)
|
|
12723
12723
|
return Math.max(0, e.width - Be * 2);
|
|
12724
|
-
const n = e.width -
|
|
12724
|
+
const n = e.width - ul - Be * 3;
|
|
12725
12725
|
return Math.max(0, Math.min(t, n));
|
|
12726
12726
|
}
|
|
12727
12727
|
function Xt(e, t, n = 0) {
|
|
12728
12728
|
return typeof e == "number" && Number.isFinite(e) ? Math.max(n, e) : t;
|
|
12729
12729
|
}
|
|
12730
|
-
function
|
|
12730
|
+
function ml(e, t = {}) {
|
|
12731
12731
|
const n = Math.max(0, e.width), r = Xt(t.maxWidth, Vb), s = Math.min(
|
|
12732
12732
|
r,
|
|
12733
12733
|
Xt(t.minWidth, Yb)
|
|
@@ -12735,7 +12735,7 @@ function pl(e, t = {}) {
|
|
|
12735
12735
|
return Math.min(
|
|
12736
12736
|
n,
|
|
12737
12737
|
r,
|
|
12738
|
-
Math.max(s, n -
|
|
12738
|
+
Math.max(s, n - ll)
|
|
12739
12739
|
);
|
|
12740
12740
|
}
|
|
12741
12741
|
function Qb(e, t, n = {}) {
|
|
@@ -12767,7 +12767,7 @@ function ew(e) {
|
|
|
12767
12767
|
height: Math.max(0, n.height - Be * 2),
|
|
12768
12768
|
borderRadius: xt.sidebar
|
|
12769
12769
|
} : {
|
|
12770
|
-
width:
|
|
12770
|
+
width: ml(n, i),
|
|
12771
12771
|
height: Qb(n, s, i),
|
|
12772
12772
|
borderRadius: Xt(i == null ? void 0 : i.borderRadius, xt.compact)
|
|
12773
12773
|
};
|
|
@@ -13107,7 +13107,7 @@ function uw({
|
|
|
13107
13107
|
setSidebarSide: i,
|
|
13108
13108
|
sidebarMode: a,
|
|
13109
13109
|
setSidebarMode: c
|
|
13110
|
-
} =
|
|
13110
|
+
} = Da(), [d, l] = R(!1), p = sr(), u = r.map((w) => ({
|
|
13111
13111
|
layout: w,
|
|
13112
13112
|
label: lw[w]
|
|
13113
13113
|
})), m = u.length >= 2, h = r.includes("sidebar");
|
|
@@ -13325,13 +13325,13 @@ function hw({
|
|
|
13325
13325
|
hideAttachTools: p,
|
|
13326
13326
|
onInputHeightChange: u
|
|
13327
13327
|
}) {
|
|
13328
|
-
const { companion: m } = J(), h =
|
|
13328
|
+
const { companion: m } = J(), h = Ec(), { t: b } = X(), g = U(null), S = U(null), w = U(null), C = (m == null ? void 0 : m.bubbles) === !0, x = (m == null ? void 0 : m.avatars) ?? C, _ = mw + (C ? "" : nw) + (x ? "" : rw) + (x && !C ? ow : "");
|
|
13329
13329
|
return j(() => {
|
|
13330
13330
|
var N;
|
|
13331
13331
|
const y = (N = g.current) == null ? void 0 : N.ownerDocument;
|
|
13332
13332
|
if (!y) return;
|
|
13333
13333
|
function v(P) {
|
|
13334
|
-
|
|
13334
|
+
il(P, {
|
|
13335
13335
|
state: e,
|
|
13336
13336
|
onDismiss: s,
|
|
13337
13337
|
onToggleFullscreen: i
|
|
@@ -13387,7 +13387,7 @@ function hw({
|
|
|
13387
13387
|
children: [
|
|
13388
13388
|
/* @__PURE__ */ f("div", { className: "relative", children: [
|
|
13389
13389
|
/* @__PURE__ */ o(ah, { children: /* @__PURE__ */ o(
|
|
13390
|
-
|
|
13390
|
+
Bc,
|
|
13391
13391
|
{
|
|
13392
13392
|
disabled: h,
|
|
13393
13393
|
hideAttachTools: p,
|
|
@@ -13454,7 +13454,7 @@ function Ir(e) {
|
|
|
13454
13454
|
}
|
|
13455
13455
|
function pa({
|
|
13456
13456
|
initialContent: e,
|
|
13457
|
-
title: t =
|
|
13457
|
+
title: t = oc,
|
|
13458
13458
|
style: n,
|
|
13459
13459
|
iframeRef: r,
|
|
13460
13460
|
children: s
|
|
@@ -13605,7 +13605,7 @@ function ww({
|
|
|
13605
13605
|
}) {
|
|
13606
13606
|
const g = kt(), S = Math.max(
|
|
13607
13607
|
3,
|
|
13608
|
-
|
|
13608
|
+
Kc(wt, b)
|
|
13609
13609
|
);
|
|
13610
13610
|
return /* @__PURE__ */ f(
|
|
13611
13611
|
de.div,
|
|
@@ -13722,7 +13722,7 @@ function ww({
|
|
|
13722
13722
|
e && h > 0 && /* @__PURE__ */ f(te, { children: [
|
|
13723
13723
|
/* @__PURE__ */ o(Yg, {}),
|
|
13724
13724
|
/* @__PURE__ */ o(
|
|
13725
|
-
|
|
13725
|
+
Zc,
|
|
13726
13726
|
{
|
|
13727
13727
|
count: h,
|
|
13728
13728
|
showCount: b,
|
|
@@ -14023,7 +14023,7 @@ function vw({
|
|
|
14023
14023
|
onClick: (v) => {
|
|
14024
14024
|
v.stopPropagation(), _();
|
|
14025
14025
|
},
|
|
14026
|
-
children: /* @__PURE__ */ o(
|
|
14026
|
+
children: /* @__PURE__ */ o(Za, { size: 14, "aria-hidden": !0 })
|
|
14027
14027
|
}
|
|
14028
14028
|
),
|
|
14029
14029
|
m.anchor && h && /* @__PURE__ */ o(
|
|
@@ -14137,7 +14137,7 @@ html[${wn}] body {
|
|
|
14137
14137
|
border-radius: ${xt.sidebar}px !important;
|
|
14138
14138
|
box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 10px 24px -6px rgba(0,0,0,0.10) !important;
|
|
14139
14139
|
}
|
|
14140
|
-
@media (max-width: ${
|
|
14140
|
+
@media (max-width: ${pl}px) {
|
|
14141
14141
|
html[${wn}] body {
|
|
14142
14142
|
inset: 0 !important;
|
|
14143
14143
|
border-radius: 0 !important;
|
|
@@ -14236,7 +14236,7 @@ function Aw({
|
|
|
14236
14236
|
var A, W, $, V, G, q;
|
|
14237
14237
|
const l = Math.max(
|
|
14238
14238
|
0,
|
|
14239
|
-
((A = e == null ? void 0 : e.sidebar) == null ? void 0 : A.minWidth) ??
|
|
14239
|
+
((A = e == null ? void 0 : e.sidebar) == null ? void 0 : A.minWidth) ?? dl
|
|
14240
14240
|
), p = Math.max(
|
|
14241
14241
|
l,
|
|
14242
14242
|
((W = e == null ? void 0 : e.sidebar) == null ? void 0 : W.maxWidth) ?? Zb
|
|
@@ -14397,7 +14397,7 @@ function Mw() {
|
|
|
14397
14397
|
);
|
|
14398
14398
|
const a = Math.min(
|
|
14399
14399
|
n ?? qb,
|
|
14400
|
-
Math.max(0, e.width -
|
|
14400
|
+
Math.max(0, e.width - ll)
|
|
14401
14401
|
);
|
|
14402
14402
|
return { region: e, dockWidth: a, dockContentRef: i };
|
|
14403
14403
|
}
|
|
@@ -14491,7 +14491,7 @@ function Rw() {
|
|
|
14491
14491
|
defaultLayout: B,
|
|
14492
14492
|
sidebarSide: E,
|
|
14493
14493
|
sidebarMode: A
|
|
14494
|
-
} =
|
|
14494
|
+
} = Da(), [W, $] = R(
|
|
14495
14495
|
Ow
|
|
14496
14496
|
), { sidebarWidth: V, sidebarResizing: G, resizeHandleProps: q } = Aw({
|
|
14497
14497
|
companion: l,
|
|
@@ -14515,7 +14515,7 @@ function Rw() {
|
|
|
14515
14515
|
ve.current = oe.close, j(() => {
|
|
14516
14516
|
(!le || !Q) && ve.current(!0);
|
|
14517
14517
|
}, [le, Q]);
|
|
14518
|
-
const ge = u == null ? void 0 : u.widgetTrigger, ue = !!ge, et = (l == null ? void 0 : l.pillBackground) ?? "hsl(var(--opencx-primary))", tt = (l == null ? void 0 : l.icon) ?? ((cs = p == null ? void 0 : p.widgetTrigger) == null ? void 0 : cs.openIcon), we = h.widgetTrigger.offset.bottom, lt = lr(), Nt = dr(i), dt =
|
|
14518
|
+
const ge = u == null ? void 0 : u.widgetTrigger, ue = !!ge, et = (l == null ? void 0 : l.pillBackground) ?? "hsl(var(--opencx-primary))", tt = (l == null ? void 0 : l.icon) ?? ((cs = p == null ? void 0 : p.widgetTrigger) == null ? void 0 : cs.openIcon), we = h.widgetTrigger.offset.bottom, lt = lr(), Nt = dr(i), dt = sl(), nt = Nt ? `${dt} · ${Nt}` : dt, ut = !!((ls = w.session) != null && ls.id), pt = ut ? g("follow_up_placeholder") : void 0, _e = (l == null ? void 0 : l.pillLabel) ?? (l == null ? void 0 : l.placeholder) ?? pt ?? g("write_a_message_placeholder"), Ge = (l == null ? void 0 : l.pillLabelDisplay) ?? "always", rt = (l == null ? void 0 : l.placeholder) ?? pt ?? g("write_a_message_placeholder"), [pr, Tn] = R(!1), Ae = le && !ue && Ge !== "never" && (Ge === "always" || ce && pr), on = ml(_, l == null ? void 0 : l.compact), sn = M === "sidebar", Ht = ew({
|
|
14519
14519
|
layout: M,
|
|
14520
14520
|
region: _,
|
|
14521
14521
|
sidebarWidth: V,
|
|
@@ -14658,7 +14658,7 @@ function Rw() {
|
|
|
14658
14658
|
return br ? vn(
|
|
14659
14659
|
/* @__PURE__ */ f(te, { children: [
|
|
14660
14660
|
/* @__PURE__ */ o(rs, { transcriptVisible: N === "chat" }),
|
|
14661
|
-
ge &&
|
|
14661
|
+
ge && al(ge, e, t, i),
|
|
14662
14662
|
le && oe.anchor && !ue && /* @__PURE__ */ o(
|
|
14663
14663
|
jo,
|
|
14664
14664
|
{
|
|
@@ -14928,7 +14928,7 @@ function $w(e) {
|
|
|
14928
14928
|
return c ? c === e || e.contains(c) || c.contains(e) : !0;
|
|
14929
14929
|
}
|
|
14930
14930
|
function po(e) {
|
|
14931
|
-
const t =
|
|
14931
|
+
const t = Oc(e);
|
|
14932
14932
|
if (!t) return { ok: !1, reason: "gone" };
|
|
14933
14933
|
const { element: n } = t, r = so(n);
|
|
14934
14934
|
if (r)
|
|
@@ -15006,7 +15006,7 @@ function Fn(e, t, n) {
|
|
|
15006
15006
|
function Lw(e) {
|
|
15007
15007
|
if (e.tagName.toLowerCase() === "input") {
|
|
15008
15008
|
const t = (e.getAttribute("type") ?? "text").toLowerCase();
|
|
15009
|
-
if (
|
|
15009
|
+
if (Ic.has(t))
|
|
15010
15010
|
return "Password and file fields are never filled or clicked by the agent.";
|
|
15011
15011
|
}
|
|
15012
15012
|
return e.ownerDocument !== document ? "That control is inside another site embedded in this page." : null;
|
|
@@ -15254,7 +15254,7 @@ function Gw(e) {
|
|
|
15254
15254
|
const t = e.getBoundingClientRect();
|
|
15255
15255
|
return { x: t.left + t.width / 2, y: t.top + t.height / 2 };
|
|
15256
15256
|
}
|
|
15257
|
-
async function
|
|
15257
|
+
async function hl(e, { press: t = !1 } = {}) {
|
|
15258
15258
|
var r;
|
|
15259
15259
|
const n = Xw();
|
|
15260
15260
|
if (!n) return { done: () => {
|
|
@@ -15277,7 +15277,7 @@ const Kw = k.object({
|
|
|
15277
15277
|
/** What to type or which option to choose. Never a password. */
|
|
15278
15278
|
value: k.string().max(500).optional()
|
|
15279
15279
|
});
|
|
15280
|
-
function
|
|
15280
|
+
function fl(e, t) {
|
|
15281
15281
|
const n = U({ effects: e, isStreaming: t });
|
|
15282
15282
|
n.current = { effects: e, isStreaming: t };
|
|
15283
15283
|
const r = U(!1);
|
|
@@ -15295,7 +15295,7 @@ function Jw() {
|
|
|
15295
15295
|
replyToPageCall: n,
|
|
15296
15296
|
requestPageActionConsent: r,
|
|
15297
15297
|
isStreaming: s
|
|
15298
|
-
} = jt(), i = U(/* @__PURE__ */ new Set()), a =
|
|
15298
|
+
} = jt(), i = U(/* @__PURE__ */ new Set()), a = fl(t, s);
|
|
15299
15299
|
return j(() => {
|
|
15300
15300
|
const c = i.current;
|
|
15301
15301
|
for (const d of t) {
|
|
@@ -15340,7 +15340,7 @@ function Jw() {
|
|
|
15340
15340
|
);
|
|
15341
15341
|
return;
|
|
15342
15342
|
}
|
|
15343
|
-
const C = w == null ? void 0 : w.value, x = w == null ? void 0 : w.label.trim(), _ =
|
|
15343
|
+
const C = w == null ? void 0 : w.value, x = w == null ? void 0 : w.label.trim(), _ = Mc(g), y = () => b() && Qs(p) === g && _() && S === (en(g) || "this control") && (!w || mo(g, m) === w && w.value === C && w.label.trim() === x);
|
|
15344
15344
|
if (!await r({
|
|
15345
15345
|
callId: d.callId,
|
|
15346
15346
|
action: u,
|
|
@@ -15355,7 +15355,7 @@ function Jw() {
|
|
|
15355
15355
|
n(d.callId, "declined");
|
|
15356
15356
|
return;
|
|
15357
15357
|
}
|
|
15358
|
-
if (h = await
|
|
15358
|
+
if (h = await hl(g, { press: !0 }), !y()) {
|
|
15359
15359
|
n(d.callId, "declined");
|
|
15360
15360
|
return;
|
|
15361
15361
|
}
|
|
@@ -15436,7 +15436,7 @@ function ox(e, t, {
|
|
|
15436
15436
|
block: "center",
|
|
15437
15437
|
inline: "nearest"
|
|
15438
15438
|
});
|
|
15439
|
-
const l = e.getBoundingClientRect(), p = getComputedStyle(e), u = parseFloat(p.fontSize) || 16, m = l.width < 160 && l.height < 56, h =
|
|
15439
|
+
const l = e.getBoundingClientRect(), p = getComputedStyle(e), u = parseFloat(p.fontSize) || 16, m = l.width < 160 && l.height < 56, h = ai(e, {
|
|
15440
15440
|
type: t.type ?? nx(l, p, u),
|
|
15441
15441
|
color: n,
|
|
15442
15442
|
// ~0.1em of the target's type size, clamped to stay a pen not a brush.
|
|
@@ -15511,7 +15511,7 @@ function ox(e, t, {
|
|
|
15511
15511
|
}
|
|
15512
15512
|
const sx = 200;
|
|
15513
15513
|
function ax() {
|
|
15514
|
-
const { pageMarkHighlightDurationMs: e } = J(), { pageEffects: t, replyToPageCall: n, isStreaming: r } = jt(), { widgetCtx: s } = ae(), i =
|
|
15514
|
+
const { pageMarkHighlightDurationMs: e } = J(), { pageEffects: t, replyToPageCall: n, isStreaming: r } = jt(), { widgetCtx: s } = ae(), i = fl(t, r), { theme: a, cssVars: c } = xe(), d = Yo({
|
|
15515
15515
|
cssVars: c,
|
|
15516
15516
|
primaryColor: a.primaryColor,
|
|
15517
15517
|
contentZIndex: a.widgetContentContainer.zIndex
|
|
@@ -15557,7 +15557,7 @@ function ax() {
|
|
|
15557
15557
|
(async () => {
|
|
15558
15558
|
let C;
|
|
15559
15559
|
try {
|
|
15560
|
-
if (C = await
|
|
15560
|
+
if (C = await hl(g), !m()) {
|
|
15561
15561
|
n(S, "declined");
|
|
15562
15562
|
return;
|
|
15563
15563
|
}
|
|
@@ -15610,7 +15610,7 @@ function go(e) {
|
|
|
15610
15610
|
}
|
|
15611
15611
|
return t.trim();
|
|
15612
15612
|
}
|
|
15613
|
-
function
|
|
15613
|
+
function gl({ className: e }) {
|
|
15614
15614
|
const [t, n] = R(() => /* @__PURE__ */ new Set());
|
|
15615
15615
|
return j(() => {
|
|
15616
15616
|
const r = Array.from({ length: 9 }, (i, a) => a), s = setInterval(() => {
|
|
@@ -15790,7 +15790,7 @@ function gx({ step: e, showIO: t }) {
|
|
|
15790
15790
|
),
|
|
15791
15791
|
onClick: () => i && s((a) => !a),
|
|
15792
15792
|
children: [
|
|
15793
|
-
/* @__PURE__ */ o("div", { className: "relative z-10 flex size-[18px] shrink-0 items-center justify-center rounded-full bg-background", children: e.done ? /* @__PURE__ */ o("div", { className: "size-1.5 rounded-full bg-muted-foreground/30" }) : /* @__PURE__ */ o(
|
|
15793
|
+
/* @__PURE__ */ o("div", { className: "relative z-10 flex size-[18px] shrink-0 items-center justify-center rounded-full bg-background", children: e.done ? /* @__PURE__ */ o("div", { className: "size-1.5 rounded-full bg-muted-foreground/30" }) : /* @__PURE__ */ o(gl, {}) }),
|
|
15794
15794
|
/* @__PURE__ */ o(
|
|
15795
15795
|
"span",
|
|
15796
15796
|
{
|
|
@@ -15824,7 +15824,7 @@ function bx({
|
|
|
15824
15824
|
active: t
|
|
15825
15825
|
}) {
|
|
15826
15826
|
var b;
|
|
15827
|
-
const { t: n } = X(), { showStepToolIO: r, presentation: s } = J(), { widgetCtx: i } = ae(), a = (b =
|
|
15827
|
+
const { t: n } = X(), { showStepToolIO: r, presentation: s } = J(), { widgetCtx: i } = ae(), a = (b = Fa(
|
|
15828
15828
|
i.agent.presentation,
|
|
15829
15829
|
s
|
|
15830
15830
|
)) == null ? void 0 : b.toolActivity, c = r !== !1 && (a === "details" || a === void 0 && r === !0), d = n("thinking"), l = t ? e : e.map((g) => g.done ? g : { ...g, done: !0 }), p = l.some((g) => !g.done), [u, m] = R(t), h = U(t);
|
|
@@ -15843,7 +15843,7 @@ function bx({
|
|
|
15843
15843
|
className: "flex min-w-0 max-w-full items-center gap-1.5 py-0.5 text-[12px] text-muted-foreground/60 transition-colors duration-150 hover:text-muted-foreground",
|
|
15844
15844
|
onClick: () => m((g) => !g),
|
|
15845
15845
|
children: u ? /* @__PURE__ */ f(te, { children: [
|
|
15846
|
-
/* @__PURE__ */ o(
|
|
15846
|
+
/* @__PURE__ */ o(ni, { className: "size-2.5 shrink-0" }),
|
|
15847
15847
|
/* @__PURE__ */ o("span", { className: "text-[11px] font-medium tabular-nums", children: l.length }),
|
|
15848
15848
|
/* @__PURE__ */ o(
|
|
15849
15849
|
"span",
|
|
@@ -15856,7 +15856,7 @@ function bx({
|
|
|
15856
15856
|
}
|
|
15857
15857
|
)
|
|
15858
15858
|
] }) : p ? /* @__PURE__ */ f(te, { children: [
|
|
15859
|
-
/* @__PURE__ */ o(
|
|
15859
|
+
/* @__PURE__ */ o(gl, { className: "opacity-70" }),
|
|
15860
15860
|
/* @__PURE__ */ o("span", { className: "text-[11px] font-medium tabular-nums", children: l.length }),
|
|
15861
15861
|
/* @__PURE__ */ o(
|
|
15862
15862
|
dx,
|
|
@@ -15958,7 +15958,7 @@ function wx({
|
|
|
15958
15958
|
content: B,
|
|
15959
15959
|
// The page and its sharing permission may have changed while answering.
|
|
15960
15960
|
// Use the normal send-time privacy filter; do not replay earlier marks.
|
|
15961
|
-
clientContext:
|
|
15961
|
+
clientContext: Rc({
|
|
15962
15962
|
marks: [],
|
|
15963
15963
|
readsPage: r.features.pageContext
|
|
15964
15964
|
})
|
|
@@ -16110,24 +16110,25 @@ function wx({
|
|
|
16110
16110
|
function xx({
|
|
16111
16111
|
widgetRef: e
|
|
16112
16112
|
}) {
|
|
16113
|
-
const { contactState: t } =
|
|
16113
|
+
const { contactState: t } = La(), { setIsOpen: n } = Qe(), { toChatScreen: r } = De(), { renewUserToken: s } = Ra();
|
|
16114
16114
|
return pe.useImperativeHandle(
|
|
16115
16115
|
e,
|
|
16116
16116
|
() => ({
|
|
16117
|
-
newChat: async (
|
|
16118
|
-
var
|
|
16119
|
-
if (!((
|
|
16117
|
+
newChat: async (i) => {
|
|
16118
|
+
var c;
|
|
16119
|
+
if (!((c = t.contact) != null && c.token)) {
|
|
16120
16120
|
he.warn("cannot start a new chat: contact not yet initialized");
|
|
16121
16121
|
return;
|
|
16122
16122
|
}
|
|
16123
16123
|
n(!0);
|
|
16124
|
-
const
|
|
16125
|
-
|
|
16126
|
-
content:
|
|
16124
|
+
const a = r();
|
|
16125
|
+
a && (i != null && i.message) && await a.messageCtx.sendMessage({
|
|
16126
|
+
content: i.message
|
|
16127
16127
|
});
|
|
16128
|
-
}
|
|
16128
|
+
},
|
|
16129
|
+
renewUserToken: s
|
|
16129
16130
|
}),
|
|
16130
|
-
[t, n, r]
|
|
16131
|
+
[t, n, r, s]
|
|
16131
16132
|
), null;
|
|
16132
16133
|
}
|
|
16133
16134
|
function vx() {
|
|
@@ -16191,7 +16192,7 @@ const kx = [
|
|
|
16191
16192
|
// motion, while keeping opacity fades. Non-transform values (the companion
|
|
16192
16193
|
// shell's width/height/borderRadius morph) are untouched, so its own
|
|
16193
16194
|
// shouldReduceMotion branch still applies — this is purely additive.
|
|
16194
|
-
/* @__PURE__ */ o(
|
|
16195
|
+
/* @__PURE__ */ o(xl, { reducedMotion: "user", children: /* @__PURE__ */ o(
|
|
16195
16196
|
zl,
|
|
16196
16197
|
{
|
|
16197
16198
|
components: [...kx, ...n],
|
|
@@ -16220,7 +16221,7 @@ const kx = [
|
|
|
16220
16221
|
/* @__PURE__ */ o(xx, { widgetRef: i }),
|
|
16221
16222
|
t.inline ? /* @__PURE__ */ f(te, { children: [
|
|
16222
16223
|
/* @__PURE__ */ o(rs, {}),
|
|
16223
|
-
/* @__PURE__ */ o(
|
|
16224
|
+
/* @__PURE__ */ o(ol, {})
|
|
16224
16225
|
] }) : /* @__PURE__ */ o(yx, {})
|
|
16225
16226
|
] }) }) })
|
|
16226
16227
|
}
|
|
@@ -16234,4 +16235,4 @@ export {
|
|
|
16234
16235
|
sm as s,
|
|
16235
16236
|
or as u
|
|
16236
16237
|
};
|
|
16237
|
-
//# sourceMappingURL=index-
|
|
16238
|
+
//# sourceMappingURL=index-BDJTS5VH.js.map
|