@opencx/widget-react 4.0.58 → 4.0.59
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/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +312 -305
- package/dist/index.js.map +1 -1
- package/dist/src/screens/chat/ChatFooter.d.ts.map +1 -1
- package/dist/src/utils/attachment-kind.d.ts +1 -0
- package/dist/src/utils/attachment-kind.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as r, jsxs as d, Fragment as J } from "react/jsx-runtime";
|
|
2
2
|
import * as me from "@radix-ui/react-popover";
|
|
3
3
|
import * as ee from "react";
|
|
4
|
-
import L, { memo as
|
|
5
|
-
import { useWidget as
|
|
6
|
-
import { X as
|
|
7
|
-
import { clsx as
|
|
8
|
-
import { twMerge as
|
|
4
|
+
import L, { memo as or, forwardRef as kt, useState as P, cloneElement as Ct, createContext as nr, useEffect as se, useContext as sr, useRef as B, useCallback as G, useMemo as zt, createElement as ct } from "react";
|
|
5
|
+
import { useWidget as A, useConfig as z, useSessions as U, useMessages as O, useWidgetRouter as H, useDocumentDir as ke, useWidgetTrigger as Z, useModes as Nt, useCsat as St, useUploadFiles as ar, useIsAwaitingBotReply as _t, useContact as It, WidgetProvider as ir, WidgetTriggerProvider as lr } from "@opencx/widget-react-headless";
|
|
6
|
+
import { X as cr, ZoomOut as dr, ZoomIn as pr, RotateCcw as mr, FileText as Tt, FileSpreadsheet as Mt, CircleDashedIcon as hr, XIcon as Ce, SquareXIcon as gr, SquareCheckBigIcon as ur, SquareCheckIcon as wr, ShrinkIcon as fr, Minimize2Icon as xr, MinimizeIcon as vr, Maximize2Icon as br, MaximizeIcon as yr, ExpandIcon as kr, CircleXIcon as Cr, CircleCheckBigIcon as zr, CircleCheckIcon as Dt, CheckCheckIcon as Nr, CheckIcon as Sr, ChevronLeftIcon as _r, LoaderIcon as Ir, ArrowUpIcon as Et, PaperclipIcon as dt, CircleDashed as Tr, AlertCircle as Mr, Loader2 as Dr, FileAudio2Icon as Er, FileVideo2Icon as Rr, FileIcon as Pr, UserRoundIcon as jr, ChevronRightIcon as Ar, SendHorizontal as Or, ChevronDownIcon as Fr } from "lucide-react";
|
|
7
|
+
import { clsx as Hr } from "clsx";
|
|
8
|
+
import { twMerge as Wr } from "tailwind-merge";
|
|
9
9
|
import { motion as re, AnimatePresence as D } from "framer-motion";
|
|
10
|
-
import { Slot as
|
|
11
|
-
import { cva as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { isExhaustive as F, isSupportedLanguage as
|
|
10
|
+
import { Slot as Lr } from "@radix-ui/react-slot";
|
|
11
|
+
import { cva as $r } from "class-variance-authority";
|
|
12
|
+
import Rt from "remark-gfm";
|
|
13
|
+
import Br from "react-markdown";
|
|
14
|
+
import Pt from "rehype-raw";
|
|
15
|
+
import { isExhaustive as F, isSupportedLanguage as Yr, getTranslation as Ur } from "@opencx/widget-core";
|
|
16
16
|
import * as te from "@radix-ui/react-avatar";
|
|
17
|
-
import
|
|
17
|
+
import jt from "@uiw/react-iframe";
|
|
18
18
|
import * as ae from "@radix-ui/react-tooltip";
|
|
19
19
|
import pt from "tinycolor2";
|
|
20
|
-
import { useDropzone as
|
|
21
|
-
import
|
|
20
|
+
import { useDropzone as Xr } from "react-dropzone";
|
|
21
|
+
import qr from "react-use/lib/useAsyncFn";
|
|
22
22
|
import { z as ue } from "zod";
|
|
23
23
|
function f(e) {
|
|
24
24
|
return { "data-component": e };
|
|
@@ -43,8 +43,12 @@ const fe = [
|
|
|
43
43
|
fe.flatMap(
|
|
44
44
|
(e) => e.mimes.map((o) => [o, e.extensions.map((t) => `.${t}`)])
|
|
45
45
|
)
|
|
46
|
-
)
|
|
47
|
-
|
|
46
|
+
), ht = {
|
|
47
|
+
"video/mp4": [".mp4"],
|
|
48
|
+
"video/webm": [".webm"],
|
|
49
|
+
"video/quicktime": [".mov"]
|
|
50
|
+
};
|
|
51
|
+
function At({
|
|
48
52
|
type: e,
|
|
49
53
|
name: o
|
|
50
54
|
}) {
|
|
@@ -53,13 +57,13 @@ function jt({
|
|
|
53
57
|
return fe.find((a) => t && a.extensions.includes(t)) ?? fe.find((a) => n && a.mimes.includes(n)) ?? null;
|
|
54
58
|
}
|
|
55
59
|
function m(...e) {
|
|
56
|
-
return Hr(
|
|
60
|
+
return Wr(Hr(e));
|
|
57
61
|
}
|
|
58
62
|
const Q = {
|
|
59
63
|
x: 2,
|
|
60
64
|
y: 2
|
|
61
|
-
}, Y =
|
|
62
|
-
|
|
65
|
+
}, Y = or(
|
|
66
|
+
kt(
|
|
63
67
|
({ children: e, className: o, scale: t = 1.02, off: n = !1 }, s) => {
|
|
64
68
|
const [i, a] = P(!1), [l, c] = P({ x: 0, y: 0 });
|
|
65
69
|
if (n || /translate/.test(
|
|
@@ -86,7 +90,7 @@ const Q = {
|
|
|
86
90
|
"--wobble-y": i ? `${l.y}px` : "0px",
|
|
87
91
|
"--scale": 1 - (t - 1)
|
|
88
92
|
};
|
|
89
|
-
return
|
|
93
|
+
return Ct(e, {
|
|
90
94
|
ref: s,
|
|
91
95
|
onMouseMove: v,
|
|
92
96
|
onMouseEnter: b,
|
|
@@ -108,43 +112,43 @@ const Q = {
|
|
|
108
112
|
)
|
|
109
113
|
);
|
|
110
114
|
Y.displayName = "Wobble";
|
|
111
|
-
const
|
|
115
|
+
const Vr = 10, Gr = (e, o, t) => ({
|
|
112
116
|
initial: { opacity: 0, x: -e, ...o.initial },
|
|
113
117
|
animate: { opacity: 1, x: 0, ...o.animate, transition: { delay: t } },
|
|
114
118
|
exit: { opacity: 0, x: e, ...o.exit }
|
|
115
|
-
}),
|
|
119
|
+
}), Zr = (e, o, t) => ({
|
|
116
120
|
initial: { opacity: 0, x: e, ...o.initial },
|
|
117
121
|
animate: { opacity: 1, x: 0, ...o.animate, transition: { delay: t } },
|
|
118
122
|
exit: { opacity: 0, x: -e, ...o.exit }
|
|
119
|
-
}),
|
|
123
|
+
}), Kr = (e, o, t) => ({
|
|
120
124
|
initial: { opacity: 0, y: e, ...o.initial },
|
|
121
125
|
animate: { opacity: 1, y: 0, ...o.animate, transition: { delay: t } },
|
|
122
126
|
exit: { opacity: 0, y: -e, ...o.exit }
|
|
123
|
-
}),
|
|
127
|
+
}), Qr = (e, o, t) => ({
|
|
124
128
|
initial: { opacity: 0, y: -e, ...o.initial },
|
|
125
129
|
animate: { opacity: 1, y: 0, ...o.animate, transition: { delay: t } },
|
|
126
130
|
exit: { opacity: 0, y: e, ...o.exit }
|
|
127
|
-
}),
|
|
128
|
-
right:
|
|
129
|
-
left:
|
|
130
|
-
up:
|
|
131
|
-
down:
|
|
132
|
-
}, k =
|
|
131
|
+
}), Jr = {
|
|
132
|
+
right: Gr,
|
|
133
|
+
left: Zr,
|
|
134
|
+
up: Kr,
|
|
135
|
+
down: Qr
|
|
136
|
+
}, k = kt(
|
|
133
137
|
({
|
|
134
138
|
fadeIn: e = "down",
|
|
135
|
-
distance: o =
|
|
139
|
+
distance: o = Vr,
|
|
136
140
|
children: t,
|
|
137
141
|
snapExit: n = !1,
|
|
138
142
|
overrides: s = {},
|
|
139
143
|
delay: i = 0,
|
|
140
144
|
...a
|
|
141
145
|
}, l) => {
|
|
142
|
-
const c = e ?
|
|
146
|
+
const c = e ? Jr[e](o, s, i) : {};
|
|
143
147
|
return n && c.exit && typeof c.exit == "object" && !Array.isArray(c.exit) && (c.exit.transition = { duration: 0 }), /* @__PURE__ */ r(re.div, { ref: l, ...a, ...c, children: t });
|
|
144
148
|
}
|
|
145
149
|
);
|
|
146
150
|
k.displayName = "MotionDiv";
|
|
147
|
-
const
|
|
151
|
+
const eo = $r(
|
|
148
152
|
m(
|
|
149
153
|
"inline-flex shrink-0 items-center justify-center gap-2",
|
|
150
154
|
"text-sm font-medium whitespace-nowrap",
|
|
@@ -185,18 +189,18 @@ const Jr = Lr(
|
|
|
185
189
|
}
|
|
186
190
|
), S = ee.forwardRef(
|
|
187
191
|
({ className: e, variant: o = "default", size: t, asChild: n = !1, ...s }, i) => /* @__PURE__ */ r(Y, { ref: i, children: /* @__PURE__ */ r(
|
|
188
|
-
n ?
|
|
192
|
+
n ? Lr : "button",
|
|
189
193
|
{
|
|
190
194
|
...f("ui_lib/btn"),
|
|
191
195
|
"data-variant": o,
|
|
192
|
-
className: m(
|
|
196
|
+
className: m(eo({ variant: o, size: t, className: e })),
|
|
193
197
|
...s
|
|
194
198
|
}
|
|
195
199
|
) })
|
|
196
200
|
);
|
|
197
201
|
S.displayName = "Button";
|
|
198
|
-
const Ot =
|
|
199
|
-
function
|
|
202
|
+
const Ot = nr(null);
|
|
203
|
+
function to({ children: e }) {
|
|
200
204
|
const [o, t] = P(!1), [n, s] = P(null), i = (l) => {
|
|
201
205
|
s(l), t(!0);
|
|
202
206
|
}, a = () => {
|
|
@@ -209,14 +213,14 @@ function eo({ children: e }) {
|
|
|
209
213
|
{
|
|
210
214
|
value: { open: i, close: a, isOpen: o, content: n },
|
|
211
215
|
children: [
|
|
212
|
-
/* @__PURE__ */ r(
|
|
216
|
+
/* @__PURE__ */ r(ro, {}),
|
|
213
217
|
e
|
|
214
218
|
]
|
|
215
219
|
}
|
|
216
220
|
);
|
|
217
221
|
}
|
|
218
222
|
function he() {
|
|
219
|
-
const e =
|
|
223
|
+
const e = sr(Ot);
|
|
220
224
|
return e || (console.error("useDialoger must be used within a DialogerProvider"), {
|
|
221
225
|
open: () => {
|
|
222
226
|
},
|
|
@@ -226,8 +230,8 @@ function he() {
|
|
|
226
230
|
content: null
|
|
227
231
|
});
|
|
228
232
|
}
|
|
229
|
-
function
|
|
230
|
-
const { contentIframeRef: e } =
|
|
233
|
+
function ro() {
|
|
234
|
+
const { contentIframeRef: e } = A(), { isOpen: o, content: t, close: n } = he();
|
|
231
235
|
return se(() => {
|
|
232
236
|
var i, a;
|
|
233
237
|
const s = (l) => {
|
|
@@ -281,7 +285,7 @@ function ze({
|
|
|
281
285
|
className: "rounded-full absolute top-4 right-4 opacity-50 hover:opacity-100",
|
|
282
286
|
onClick: n,
|
|
283
287
|
children: [
|
|
284
|
-
/* @__PURE__ */ r(
|
|
288
|
+
/* @__PURE__ */ r(cr, { className: "h-4 w-4" }),
|
|
285
289
|
/* @__PURE__ */ r("span", { className: "sr-only", children: "Close" })
|
|
286
290
|
]
|
|
287
291
|
}
|
|
@@ -290,7 +294,7 @@ function ze({
|
|
|
290
294
|
}
|
|
291
295
|
);
|
|
292
296
|
}
|
|
293
|
-
const
|
|
297
|
+
const Ft = ({
|
|
294
298
|
className: e,
|
|
295
299
|
...o
|
|
296
300
|
}) => /* @__PURE__ */ r(
|
|
@@ -300,8 +304,8 @@ const At = ({
|
|
|
300
304
|
...o
|
|
301
305
|
}
|
|
302
306
|
);
|
|
303
|
-
|
|
304
|
-
const
|
|
307
|
+
Ft.displayName = "DialogerHeader";
|
|
308
|
+
const Ht = ({
|
|
305
309
|
className: e,
|
|
306
310
|
...o
|
|
307
311
|
}) => /* @__PURE__ */ r(
|
|
@@ -311,13 +315,13 @@ const Ft = ({
|
|
|
311
315
|
...o
|
|
312
316
|
}
|
|
313
317
|
);
|
|
314
|
-
|
|
315
|
-
const
|
|
318
|
+
Ht.displayName = "DialogerBody";
|
|
319
|
+
const Wt = ({
|
|
316
320
|
className: e,
|
|
317
321
|
...o
|
|
318
322
|
}) => /* @__PURE__ */ r("div", { className: m("flex flex-col gap-2", e), ...o });
|
|
319
|
-
|
|
320
|
-
const
|
|
323
|
+
Wt.displayName = "DialogerFooter";
|
|
324
|
+
const Lt = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
|
|
321
325
|
"p",
|
|
322
326
|
{
|
|
323
327
|
ref: t,
|
|
@@ -328,8 +332,8 @@ const Wt = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
|
|
|
328
332
|
...o
|
|
329
333
|
}
|
|
330
334
|
));
|
|
331
|
-
|
|
332
|
-
const
|
|
335
|
+
Lt.displayName = "DialogerTitle";
|
|
336
|
+
const $t = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
|
|
333
337
|
"p",
|
|
334
338
|
{
|
|
335
339
|
ref: t,
|
|
@@ -337,21 +341,21 @@ const Lt = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
|
|
|
337
341
|
...o
|
|
338
342
|
}
|
|
339
343
|
));
|
|
340
|
-
|
|
344
|
+
$t.displayName = "DialogerDescription";
|
|
341
345
|
function Ne({
|
|
342
346
|
children: e,
|
|
343
347
|
trigger: o
|
|
344
348
|
}) {
|
|
345
349
|
const { open: t } = he();
|
|
346
|
-
return
|
|
350
|
+
return Ct(o, {
|
|
347
351
|
onClick: () => {
|
|
348
352
|
var s, i;
|
|
349
353
|
t(e), (i = (s = o.props).onClick) == null || i.call(s);
|
|
350
354
|
}
|
|
351
355
|
});
|
|
352
356
|
}
|
|
353
|
-
const
|
|
354
|
-
function
|
|
357
|
+
const gt = 1, ut = 5, le = 0.5, oo = 2.5;
|
|
358
|
+
function no(e, o, t, n) {
|
|
355
359
|
if (!t || !n || o <= 1) return { x: 0, y: 0 };
|
|
356
360
|
const s = t.getBoundingClientRect(), i = n.offsetWidth, a = n.offsetHeight, l = Math.max(0, (i * o - s.width) / (2 * o)), c = Math.max(
|
|
357
361
|
0,
|
|
@@ -362,11 +366,11 @@ function oo(e, o, t, n) {
|
|
|
362
366
|
y: Math.min(c, Math.max(-c, e.y))
|
|
363
367
|
};
|
|
364
368
|
}
|
|
365
|
-
function
|
|
369
|
+
function Bt({
|
|
366
370
|
src: e,
|
|
367
371
|
alt: o
|
|
368
372
|
}) {
|
|
369
|
-
const [t, n] = P(1), [s, i] = P({ x: 0, y: 0 }), [a, l] = P(!1), c = B({ x: 0, y: 0 }), p = B({ x: 0, y: 0 }), v = B(null), b = B(null), u = B(!1), h = (w) => Math.min(
|
|
373
|
+
const [t, n] = P(1), [s, i] = P({ x: 0, y: 0 }), [a, l] = P(!1), c = B({ x: 0, y: 0 }), p = B({ x: 0, y: 0 }), v = B(null), b = B(null), u = B(!1), h = (w) => Math.min(ut, Math.max(gt, w)), x = G(() => {
|
|
370
374
|
n(1), i({ x: 0, y: 0 });
|
|
371
375
|
}, []), C = G(() => {
|
|
372
376
|
n((w) => h(w + le));
|
|
@@ -399,13 +403,13 @@ function $t({
|
|
|
399
403
|
y: p.current.y + j / t
|
|
400
404
|
};
|
|
401
405
|
i(
|
|
402
|
-
|
|
406
|
+
no(R, t, v.current, b.current)
|
|
403
407
|
);
|
|
404
408
|
},
|
|
405
409
|
[a, t]
|
|
406
410
|
), _ = G(() => {
|
|
407
411
|
const w = u.current;
|
|
408
|
-
l(!1), !w && n((M) => M > 1 ? (i({ x: 0, y: 0 }), 1) :
|
|
412
|
+
l(!1), !w && n((M) => M > 1 ? (i({ x: 0, y: 0 }), 1) : oo);
|
|
409
413
|
}, []), E = t > 1;
|
|
410
414
|
return /* @__PURE__ */ d(
|
|
411
415
|
"div",
|
|
@@ -448,15 +452,15 @@ function $t({
|
|
|
448
452
|
}
|
|
449
453
|
),
|
|
450
454
|
/* @__PURE__ */ d("div", { className: "absolute bottom-3 left-1/2 -translate-x-1/2 flex items-center gap-1 bg-black/60 backdrop-blur-sm rounded-full px-1.5 py-1 transition opacity-50 hover:opacity-100", children: [
|
|
451
|
-
/* @__PURE__ */ r(we, { onClick: T, label: "Zoom out", disabled: t <=
|
|
455
|
+
/* @__PURE__ */ r(we, { onClick: T, label: "Zoom out", disabled: t <= gt, children: /* @__PURE__ */ r(dr, { className: "size-3.5" }) }),
|
|
452
456
|
/* @__PURE__ */ d("span", { className: "text-white text-xs font-medium min-w-[3ch] text-center tabular-nums", children: [
|
|
453
457
|
Math.round(t * 100),
|
|
454
458
|
"%"
|
|
455
459
|
] }),
|
|
456
|
-
/* @__PURE__ */ r(we, { onClick: C, label: "Zoom in", disabled: t >=
|
|
460
|
+
/* @__PURE__ */ r(we, { onClick: C, label: "Zoom in", disabled: t >= ut, children: /* @__PURE__ */ r(pr, { className: "size-3.5" }) }),
|
|
457
461
|
E && /* @__PURE__ */ d(J, { children: [
|
|
458
462
|
/* @__PURE__ */ r("div", { className: "w-px h-4 bg-white/30 mx-0.5" }),
|
|
459
|
-
/* @__PURE__ */ r(we, { onClick: x, label: "Reset zoom", children: /* @__PURE__ */ r(
|
|
463
|
+
/* @__PURE__ */ r(we, { onClick: x, label: "Reset zoom", children: /* @__PURE__ */ r(mr, { className: "size-3.5" }) })
|
|
460
464
|
] })
|
|
461
465
|
] })
|
|
462
466
|
]
|
|
@@ -480,7 +484,7 @@ function we({
|
|
|
480
484
|
}
|
|
481
485
|
);
|
|
482
486
|
}
|
|
483
|
-
function
|
|
487
|
+
function wt({
|
|
484
488
|
url: e,
|
|
485
489
|
name: o,
|
|
486
490
|
size: t,
|
|
@@ -532,7 +536,7 @@ function ut({
|
|
|
532
536
|
}
|
|
533
537
|
) });
|
|
534
538
|
}
|
|
535
|
-
function
|
|
539
|
+
function Yt({ attachment: e }) {
|
|
536
540
|
const { name: o, size: t, type: n, url: s } = e, i = n.startsWith("image/"), a = n.startsWith("video/"), l = n.startsWith("audio/"), c = n === "application/pdf";
|
|
537
541
|
if (l)
|
|
538
542
|
return /* @__PURE__ */ r(Y, { children: /* @__PURE__ */ r("div", { className: "w-full shrink-0 overflow-hidden", children: /* @__PURE__ */ d("audio", { controls: !0, className: "w-full", children: [
|
|
@@ -554,30 +558,30 @@ function Bt({ attachment: e }) {
|
|
|
554
558
|
{
|
|
555
559
|
className: "size-full max-w-full rounded-3xl flex items-center justify-center bg-transparent border-none gap-0",
|
|
556
560
|
withClose: !0,
|
|
557
|
-
children: /* @__PURE__ */ r(
|
|
561
|
+
children: /* @__PURE__ */ r(Bt, { src: s, alt: o })
|
|
558
562
|
}
|
|
559
563
|
)
|
|
560
564
|
}
|
|
561
565
|
);
|
|
562
566
|
if (c)
|
|
563
567
|
return /* @__PURE__ */ r(
|
|
564
|
-
|
|
568
|
+
wt,
|
|
565
569
|
{
|
|
566
570
|
url: s,
|
|
567
571
|
name: o,
|
|
568
572
|
size: t,
|
|
569
|
-
icon: /* @__PURE__ */ r(
|
|
573
|
+
icon: /* @__PURE__ */ r(Tt, { className: "size-5", strokeWidth: 1.75 }),
|
|
570
574
|
label: "PDF"
|
|
571
575
|
}
|
|
572
576
|
);
|
|
573
|
-
const p =
|
|
577
|
+
const p = At({ type: n, name: o });
|
|
574
578
|
return p ? /* @__PURE__ */ r(
|
|
575
|
-
|
|
579
|
+
wt,
|
|
576
580
|
{
|
|
577
581
|
url: s,
|
|
578
582
|
name: o,
|
|
579
583
|
size: t,
|
|
580
|
-
icon: /* @__PURE__ */ r(
|
|
584
|
+
icon: /* @__PURE__ */ r(Mt, { className: "size-5", strokeWidth: 1.75 }),
|
|
581
585
|
label: p.label
|
|
582
586
|
}
|
|
583
587
|
) : /* @__PURE__ */ r(Y, { children: /* @__PURE__ */ r("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ d("div", { className: "flex items-end gap-2 p-2", children: [
|
|
@@ -601,8 +605,8 @@ function Bt({ attachment: e }) {
|
|
|
601
605
|
] })
|
|
602
606
|
] }) }) });
|
|
603
607
|
}
|
|
604
|
-
const
|
|
605
|
-
|
|
608
|
+
const Ut = L.memo(
|
|
609
|
+
Br,
|
|
606
610
|
(e, o) => e.children === o.children && e.className === o.className
|
|
607
611
|
);
|
|
608
612
|
function Se({
|
|
@@ -612,12 +616,12 @@ function Se({
|
|
|
612
616
|
}) {
|
|
613
617
|
const { anchorTarget: n } = z();
|
|
614
618
|
return /* @__PURE__ */ r(
|
|
615
|
-
|
|
619
|
+
Ut,
|
|
616
620
|
{
|
|
617
621
|
"data-type": o,
|
|
618
622
|
"data-id": t,
|
|
619
|
-
remarkPlugins: [
|
|
620
|
-
rehypePlugins: [
|
|
623
|
+
remarkPlugins: [Rt],
|
|
624
|
+
rehypePlugins: [Pt],
|
|
621
625
|
components: {
|
|
622
626
|
a: ({ children: s, ...i }) => /* @__PURE__ */ r("a", { target: i.target || n || "_top", ...i, children: s }),
|
|
623
627
|
img: ({ src: s, alt: i, ...a }) => s ? /* @__PURE__ */ r(
|
|
@@ -637,7 +641,7 @@ function Se({
|
|
|
637
641
|
{
|
|
638
642
|
className: "size-full max-w-full rounded-3xl flex items-center justify-center bg-transparent border-none gap-0",
|
|
639
643
|
withClose: !0,
|
|
640
|
-
children: /* @__PURE__ */ r(
|
|
644
|
+
children: /* @__PURE__ */ r(Bt, { src: s, alt: i })
|
|
641
645
|
}
|
|
642
646
|
)
|
|
643
647
|
}
|
|
@@ -650,11 +654,11 @@ function Se({
|
|
|
650
654
|
function X() {
|
|
651
655
|
const {
|
|
652
656
|
widgetCtx: { org: e }
|
|
653
|
-
} =
|
|
657
|
+
} = A(), {
|
|
654
658
|
sessionState: { session: o }
|
|
655
659
|
} = U(), t = z(), {
|
|
656
660
|
messagesState: { messages: n }
|
|
657
|
-
} =
|
|
661
|
+
} = O(), {
|
|
658
662
|
routerState: { screen: s }
|
|
659
663
|
} = H();
|
|
660
664
|
return {
|
|
@@ -666,7 +670,7 @@ function X() {
|
|
|
666
670
|
currentScreen: s
|
|
667
671
|
};
|
|
668
672
|
}
|
|
669
|
-
function
|
|
673
|
+
function so({
|
|
670
674
|
currentMessage: e
|
|
671
675
|
}) {
|
|
672
676
|
var n;
|
|
@@ -696,7 +700,7 @@ function xe(e) {
|
|
|
696
700
|
p == null ? void 0 : p.messageContainer
|
|
697
701
|
),
|
|
698
702
|
children: [
|
|
699
|
-
s && s.length > 0 && /* @__PURE__ */ r("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((u) => /* @__PURE__ */ r(
|
|
703
|
+
s && s.length > 0 && /* @__PURE__ */ r("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((u) => /* @__PURE__ */ r(Yt, { attachment: u }, u.id)) }),
|
|
700
704
|
v.length > 0 && /* @__PURE__ */ d("div", { className: "flex flex-row gap-2", children: [
|
|
701
705
|
/* @__PURE__ */ r(
|
|
702
706
|
"div",
|
|
@@ -724,13 +728,13 @@ function xe(e) {
|
|
|
724
728
|
children: /* @__PURE__ */ r(Se, { messageType: n, messageId: t, children: v })
|
|
725
729
|
}
|
|
726
730
|
),
|
|
727
|
-
/* @__PURE__ */ r(
|
|
731
|
+
/* @__PURE__ */ r(so, { currentMessage: e })
|
|
728
732
|
] })
|
|
729
733
|
]
|
|
730
734
|
}
|
|
731
735
|
);
|
|
732
736
|
}
|
|
733
|
-
function
|
|
737
|
+
function ao(e) {
|
|
734
738
|
return /* @__PURE__ */ r("div", { className: "w-full max-w-full overflow-auto shrink-0", children: /* @__PURE__ */ r("pre", { className: "text-xs leading-tight whitespace-pre-wrap break-word", children: JSON.stringify(e, null, 1) }) });
|
|
735
739
|
}
|
|
736
740
|
const _e = ee.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
|
|
@@ -777,7 +781,7 @@ function ve({
|
|
|
777
781
|
(e == null ? void 0 : e.name) && /* @__PURE__ */ r(Te, { children: (n = (t = e == null ? void 0 : e.name) == null ? void 0 : t.slice(0, 1)) == null ? void 0 : n.toUpperCase() })
|
|
778
782
|
] });
|
|
779
783
|
}
|
|
780
|
-
function
|
|
784
|
+
function io({ agent: e }) {
|
|
781
785
|
return /* @__PURE__ */ r(D, { children: /* @__PURE__ */ d(
|
|
782
786
|
k,
|
|
783
787
|
{
|
|
@@ -804,7 +808,7 @@ function ao({ agent: e }) {
|
|
|
804
808
|
}
|
|
805
809
|
) });
|
|
806
810
|
}
|
|
807
|
-
const Ut = '*,: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}.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}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.end-6{inset-inline-end:1.5rem}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.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}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-0{width:0px;height:0px}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.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-8{width:2rem;height:2rem}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-full{max-height:100%}.min-h-12{min-height:3rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\\/5{width:40%}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-dvw{width:100dvw}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-80{min-width:20rem}.min-w-\\[3ch\\]{min-width:3ch}.min-w-\\[8rem\\]{min-width:8rem}.max-w-96{max-width:24rem}.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-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\\[2\\]{flex:2}.shrink-0{flex-shrink:0}.-translate-x-1\\/2,.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))}.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-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.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}.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-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.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-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-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))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.scroll-smooth{scroll-behavior:smooth}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[20px\\]{border-radius:20px}.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-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-2{border-width:2px}.border-none{border-style:none}.border-transparent{border-color:transparent}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.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-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.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)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.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-3{padding-top:.75rem;padding-bottom:.75rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pe-2{padding-inline-end:.5rem}.pe-4{padding-inline-end:1rem}.ps-2{padding-inline-start:.5rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.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-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[16px\\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.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-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.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-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.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-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.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}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px 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-0{--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(0px + 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-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.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-\\[height\\]{transition-property:height;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-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[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)}.focus-within\\:border-primary:focus-within{border-color:hsl(var(--opencx-primary))}.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\\:border-primary:hover{border-color:hsl(var(--opencx-primary))}.hover\\:bg-accent\\/60:hover{background-color:hsl(var(--opencx-accent) / .6)}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.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-primary:hover{color:hsl(var(--opencx-primary))}.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}.focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.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-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}.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\\: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))}.hover\\:active\\:scale-95:active:hover{--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))}.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-50:disabled{opacity:.5}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\\:opacity-100{opacity:1}.group:hover .group-hover\\:active\\:scale-90:active,.group:active .group-active\\:scale-90{--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))}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;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))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;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))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{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}.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\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-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-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))}.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))}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}', io = ae.Provider, lo = ae.Root, co = ae.Trigger, Xt = ee.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
|
|
811
|
+
const Xt = '*,: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}.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}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.end-6{inset-inline-end:1.5rem}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.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}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-0{width:0px;height:0px}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.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-8{width:2rem;height:2rem}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-full{max-height:100%}.min-h-12{min-height:3rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\\/5{width:40%}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-dvw{width:100dvw}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-80{min-width:20rem}.min-w-\\[3ch\\]{min-width:3ch}.min-w-\\[8rem\\]{min-width:8rem}.max-w-96{max-width:24rem}.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-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\\[2\\]{flex:2}.shrink-0{flex-shrink:0}.-translate-x-1\\/2,.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))}.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-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.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}.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-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.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-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-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))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.scroll-smooth{scroll-behavior:smooth}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[20px\\]{border-radius:20px}.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-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-2{border-width:2px}.border-none{border-style:none}.border-transparent{border-color:transparent}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.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-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.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)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.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-3{padding-top:.75rem;padding-bottom:.75rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pe-2{padding-inline-end:.5rem}.pe-4{padding-inline-end:1rem}.ps-2{padding-inline-start:.5rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.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-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[16px\\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.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-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.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-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.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-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.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}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px 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-0{--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(0px + 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-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.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-\\[height\\]{transition-property:height;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-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[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)}.focus-within\\:border-primary:focus-within{border-color:hsl(var(--opencx-primary))}.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\\:border-primary:hover{border-color:hsl(var(--opencx-primary))}.hover\\:bg-accent\\/60:hover{background-color:hsl(var(--opencx-accent) / .6)}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.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-primary:hover{color:hsl(var(--opencx-primary))}.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}.focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.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-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}.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\\: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))}.hover\\:active\\:scale-95:active:hover{--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))}.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-50:disabled{opacity:.5}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\\:opacity-100{opacity:1}.group:hover .group-hover\\:active\\:scale-90:active,.group:active .group-active\\:scale-90{--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))}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;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))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;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))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{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}.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\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-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-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))}.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))}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}', lo = ae.Provider, co = ae.Root, po = ae.Trigger, qt = ee.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
|
|
808
812
|
ae.Content,
|
|
809
813
|
{
|
|
810
814
|
ref: n,
|
|
@@ -816,7 +820,7 @@ const Ut = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;-
|
|
|
816
820
|
...t
|
|
817
821
|
}
|
|
818
822
|
));
|
|
819
|
-
|
|
823
|
+
qt.displayName = ae.Content.displayName;
|
|
820
824
|
function oe({
|
|
821
825
|
children: e,
|
|
822
826
|
content: o,
|
|
@@ -824,10 +828,10 @@ function oe({
|
|
|
824
828
|
align: n
|
|
825
829
|
}) {
|
|
826
830
|
const { disableTooltips: s } = z();
|
|
827
|
-
return !o || s ? e : /* @__PURE__ */ d(
|
|
828
|
-
/* @__PURE__ */ r(
|
|
831
|
+
return !o || s ? e : /* @__PURE__ */ d(co, { children: [
|
|
832
|
+
/* @__PURE__ */ r(po, { asChild: !0, children: e }),
|
|
829
833
|
/* @__PURE__ */ r(
|
|
830
|
-
|
|
834
|
+
qt,
|
|
831
835
|
{
|
|
832
836
|
side: t,
|
|
833
837
|
align: n,
|
|
@@ -838,12 +842,12 @@ function oe({
|
|
|
838
842
|
)
|
|
839
843
|
] });
|
|
840
844
|
}
|
|
841
|
-
const
|
|
845
|
+
const ft = 450;
|
|
842
846
|
function $() {
|
|
843
|
-
const [e, o] = L.useState(() => (window.top || window).innerWidth <
|
|
847
|
+
const [e, o] = L.useState(() => (window.top || window).innerWidth < ft);
|
|
844
848
|
return L.useEffect(() => {
|
|
845
849
|
const t = window.top || window, n = () => {
|
|
846
|
-
o(t.innerWidth <
|
|
850
|
+
o(t.innerWidth < ft);
|
|
847
851
|
};
|
|
848
852
|
return n(), t.addEventListener("resize", n), () => {
|
|
849
853
|
t.removeEventListener("resize", n);
|
|
@@ -855,7 +859,7 @@ const ce = {
|
|
|
855
859
|
transitionDuration: "1000ms"
|
|
856
860
|
};
|
|
857
861
|
function K() {
|
|
858
|
-
var b, u, h, x, C, T, y, N, _, E, w, M, j, R, g, I, ie, Re, Pe, je,
|
|
862
|
+
var b, u, h, x, C, T, y, N, _, E, w, M, j, R, g, I, ie, Re, Pe, je, Ae, Oe, Fe, He, We, Le, $e, Be, Ye, Ue, Xe, qe, Ve, Ge, Ze, Ke, Qe, Je, et, tt, rt, ot, nt, st, at, it, lt;
|
|
859
863
|
const { dir: e } = ke(), { isSmallScreen: o } = $(), { theme: t, inline: n } = z(), s = (q) => n ? "100%" : q, i = (q, ge) => o ? `100dv${q}` : ge, a = (q, ge) => s(i(q, ge)), l = {
|
|
860
864
|
zIndex: ((b = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : b.zIndex) ?? 1e7,
|
|
861
865
|
offset: {
|
|
@@ -885,8 +889,8 @@ function K() {
|
|
|
885
889
|
transitionTimingFunction: ((Re = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : Re.transitionTimingFunction) ?? ce.transitionTimingFunction,
|
|
886
890
|
transitionDuration: ((Pe = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : Pe.transitionDuration) ?? ce.transitionDuration,
|
|
887
891
|
offset: {
|
|
888
|
-
side: o ? 0 : l.offset.bottom + l.size.button + Q.y * 2 + (((
|
|
889
|
-
align: o ? 0 : c + (((Fe = (
|
|
892
|
+
side: o ? 0 : l.offset.bottom + l.size.button + Q.y * 2 + (((Ae = (je = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : je.offset) == null ? void 0 : Ae.side) ?? 10),
|
|
893
|
+
align: o ? 0 : c + (((Fe = (Oe = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : Oe.offset) == null ? void 0 : Fe.align) ?? 0)
|
|
890
894
|
}
|
|
891
895
|
},
|
|
892
896
|
screens: {
|
|
@@ -960,17 +964,17 @@ function K() {
|
|
|
960
964
|
return {
|
|
961
965
|
theme: p,
|
|
962
966
|
computed: v,
|
|
963
|
-
cssVars:
|
|
967
|
+
cssVars: mo({
|
|
964
968
|
palette: p.palette,
|
|
965
969
|
primary: p.primaryColor
|
|
966
970
|
})
|
|
967
971
|
};
|
|
968
972
|
}
|
|
969
|
-
function
|
|
973
|
+
function mo({
|
|
970
974
|
palette: e,
|
|
971
975
|
primary: o
|
|
972
976
|
}) {
|
|
973
|
-
const t =
|
|
977
|
+
const t = Vt(e), n = pt(o).toHsl(), s = pt(o).isLight() ? t[950] : t[50];
|
|
974
978
|
return {
|
|
975
979
|
"--opencx-primary": `${n.h} ${n.s * 100}% ${n.l * 100}%`,
|
|
976
980
|
"--opencx-primary-foreground": s,
|
|
@@ -989,7 +993,7 @@ function po({
|
|
|
989
993
|
"--opencx-ring": "var(--opencx-foreground)"
|
|
990
994
|
};
|
|
991
995
|
}
|
|
992
|
-
function
|
|
996
|
+
function Vt(e) {
|
|
993
997
|
const o = {
|
|
994
998
|
50: "0 0% 98%",
|
|
995
999
|
100: "0 0% 96.1%",
|
|
@@ -1049,11 +1053,11 @@ function qt(e) {
|
|
|
1049
1053
|
case "slate":
|
|
1050
1054
|
return s;
|
|
1051
1055
|
default:
|
|
1052
|
-
return F(e,
|
|
1056
|
+
return F(e, Vt.name), o;
|
|
1053
1057
|
}
|
|
1054
1058
|
}
|
|
1055
|
-
function
|
|
1056
|
-
const { contentIframeRef: e } =
|
|
1059
|
+
function Gt() {
|
|
1060
|
+
const { contentIframeRef: e } = A(), { inline: o } = z();
|
|
1057
1061
|
return {
|
|
1058
1062
|
setWidth: (t) => {
|
|
1059
1063
|
var n;
|
|
@@ -1075,12 +1079,12 @@ function Me({
|
|
|
1075
1079
|
width: e,
|
|
1076
1080
|
height: o
|
|
1077
1081
|
}) {
|
|
1078
|
-
const { isSmallScreen: t } = $(), { setWidth: n, setHeight: s } =
|
|
1082
|
+
const { isSmallScreen: t } = $(), { setWidth: n, setHeight: s } = Gt();
|
|
1079
1083
|
se(() => {
|
|
1080
1084
|
e && n(e), o && s(o);
|
|
1081
1085
|
}, [t, o, e, n, s]);
|
|
1082
1086
|
}
|
|
1083
|
-
const
|
|
1087
|
+
const xt = hr;
|
|
1084
1088
|
function ne({
|
|
1085
1089
|
name: e,
|
|
1086
1090
|
className: o
|
|
@@ -1088,49 +1092,49 @@ function ne({
|
|
|
1088
1092
|
const t = (() => {
|
|
1089
1093
|
switch (e) {
|
|
1090
1094
|
case "Check":
|
|
1091
|
-
return
|
|
1095
|
+
return Sr;
|
|
1092
1096
|
case "CheckCheck":
|
|
1093
|
-
return
|
|
1097
|
+
return Nr;
|
|
1094
1098
|
case "CircleCheck":
|
|
1095
|
-
return
|
|
1099
|
+
return Dt;
|
|
1096
1100
|
case "CircleCheckBig":
|
|
1097
|
-
return
|
|
1101
|
+
return zr;
|
|
1098
1102
|
case "CircleX":
|
|
1099
|
-
return
|
|
1103
|
+
return Cr;
|
|
1100
1104
|
case "Expand":
|
|
1101
|
-
return
|
|
1105
|
+
return kr;
|
|
1102
1106
|
case "Maximize":
|
|
1103
|
-
return
|
|
1107
|
+
return yr;
|
|
1104
1108
|
case "Maximize2":
|
|
1105
|
-
return
|
|
1109
|
+
return br;
|
|
1106
1110
|
case "Minimize":
|
|
1107
|
-
return
|
|
1111
|
+
return vr;
|
|
1108
1112
|
case "Minimize2":
|
|
1109
|
-
return
|
|
1113
|
+
return xr;
|
|
1110
1114
|
case "Shrink":
|
|
1111
|
-
return
|
|
1115
|
+
return fr;
|
|
1112
1116
|
case "SquareCheck":
|
|
1113
|
-
return
|
|
1117
|
+
return wr;
|
|
1114
1118
|
case "SquareCheckBig":
|
|
1115
|
-
return
|
|
1119
|
+
return ur;
|
|
1116
1120
|
case "SquareX":
|
|
1117
|
-
return
|
|
1121
|
+
return gr;
|
|
1118
1122
|
case "X":
|
|
1119
1123
|
return Ce;
|
|
1120
1124
|
case void 0:
|
|
1121
|
-
return
|
|
1125
|
+
return xt;
|
|
1122
1126
|
default:
|
|
1123
|
-
return F(e, ne.name),
|
|
1127
|
+
return F(e, ne.name), xt;
|
|
1124
1128
|
}
|
|
1125
1129
|
})();
|
|
1126
1130
|
return /* @__PURE__ */ r(t, { className: m("size-4", o) });
|
|
1127
1131
|
}
|
|
1128
|
-
function
|
|
1132
|
+
function ho() {
|
|
1129
1133
|
var t;
|
|
1130
1134
|
const e = X(), o = (t = e.config.customComponents) == null ? void 0 : t.headerBottom;
|
|
1131
1135
|
return o ? /* @__PURE__ */ r(o, { ...e }) : null;
|
|
1132
1136
|
}
|
|
1133
|
-
function
|
|
1137
|
+
function go({ fallback: e }) {
|
|
1134
1138
|
var n;
|
|
1135
1139
|
const o = X(), t = (n = o.config.customComponents) == null ? void 0 : n.headerTitle;
|
|
1136
1140
|
return t ? /* @__PURE__ */ r(t, { ...o }) : e;
|
|
@@ -1138,7 +1142,7 @@ function ho({ fallback: e }) {
|
|
|
1138
1142
|
function De() {
|
|
1139
1143
|
const {
|
|
1140
1144
|
widgetCtx: { org: e }
|
|
1141
|
-
} =
|
|
1145
|
+
} = A(), {
|
|
1142
1146
|
routerState: { screen: o }
|
|
1143
1147
|
} = H(), { textContent: t } = z();
|
|
1144
1148
|
return (() => {
|
|
@@ -1156,7 +1160,7 @@ function De() {
|
|
|
1156
1160
|
}
|
|
1157
1161
|
})() ?? e.name ?? "Chat";
|
|
1158
1162
|
}
|
|
1159
|
-
function
|
|
1163
|
+
function uo(e) {
|
|
1160
1164
|
switch (e) {
|
|
1161
1165
|
case "chat":
|
|
1162
1166
|
return f("chat/header");
|
|
@@ -1169,7 +1173,7 @@ function go(e) {
|
|
|
1169
1173
|
return;
|
|
1170
1174
|
}
|
|
1171
1175
|
}
|
|
1172
|
-
function
|
|
1176
|
+
function wo() {
|
|
1173
1177
|
const { router: e } = z(), {
|
|
1174
1178
|
routerState: { screen: o },
|
|
1175
1179
|
toSessionsScreen: t
|
|
@@ -1181,11 +1185,11 @@ function uo() {
|
|
|
1181
1185
|
size: "fit",
|
|
1182
1186
|
className: "rounded-full",
|
|
1183
1187
|
onClick: t,
|
|
1184
|
-
children: /* @__PURE__ */ r(
|
|
1188
|
+
children: /* @__PURE__ */ r(_r, { className: "size-4 rtl:-scale-100" })
|
|
1185
1189
|
}
|
|
1186
1190
|
);
|
|
1187
1191
|
}
|
|
1188
|
-
function
|
|
1192
|
+
function fo({
|
|
1189
1193
|
button: e
|
|
1190
1194
|
}) {
|
|
1191
1195
|
const { setIsOpen: o } = Z(), { isSmallScreen: t } = $(), n = X();
|
|
@@ -1208,7 +1212,7 @@ function be({
|
|
|
1208
1212
|
}) {
|
|
1209
1213
|
const [o, t] = P(!1), {
|
|
1210
1214
|
routerState: { screen: n }
|
|
1211
|
-
} = H(), { isSmallScreen: s } = $(), { theme: i } = K(), { setWidth: a, setHeight: l } =
|
|
1215
|
+
} = H(), { isSmallScreen: s } = $(), { theme: i } = K(), { setWidth: a, setHeight: l } = Gt(), c = X();
|
|
1212
1216
|
if (n !== "chat" && n !== "sessions") return null;
|
|
1213
1217
|
const p = (() => {
|
|
1214
1218
|
switch (n) {
|
|
@@ -1251,11 +1255,11 @@ function be({
|
|
|
1251
1255
|
}
|
|
1252
1256
|
);
|
|
1253
1257
|
}
|
|
1254
|
-
function
|
|
1258
|
+
function Zt({
|
|
1255
1259
|
button: e
|
|
1256
1260
|
}) {
|
|
1257
1261
|
var T, y;
|
|
1258
|
-
const { close: o } = he(), { widgetCtx: t } =
|
|
1262
|
+
const { close: o } = he(), { widgetCtx: t } = A(), { setIsOpen: n } = Z(), { resolveSession: s, sessionState: i } = U(), { isSmallScreen: a } = $(), l = X(), c = !i.session, p = ((T = i.session) == null ? void 0 : T.isOpened) === !1, v = e.onResolved || "stay-in-chat", b = e.behaviorBeforeSessionCreation || "disabled", u = e.behaviorIfSessionIsResolved || "disabled", h = !!(i.isResolvingSession || c && b === "disabled" || p && u === "disabled"), x = async () => {
|
|
1259
1263
|
const { success: N, error: _ } = await s();
|
|
1260
1264
|
if (o(), !N)
|
|
1261
1265
|
return console.error(_), !1;
|
|
@@ -1272,7 +1276,7 @@ function Gt({
|
|
|
1272
1276
|
n(!1), t.resetChat();
|
|
1273
1277
|
break;
|
|
1274
1278
|
default:
|
|
1275
|
-
F(v,
|
|
1279
|
+
F(v, Zt.name);
|
|
1276
1280
|
break;
|
|
1277
1281
|
}
|
|
1278
1282
|
return !0;
|
|
@@ -1330,9 +1334,9 @@ function Gt({
|
|
|
1330
1334
|
}
|
|
1331
1335
|
),
|
|
1332
1336
|
children: /* @__PURE__ */ d(ze, { children: [
|
|
1333
|
-
/* @__PURE__ */ r(
|
|
1334
|
-
/* @__PURE__ */ r(
|
|
1335
|
-
/* @__PURE__ */ d(
|
|
1337
|
+
/* @__PURE__ */ r(Ft, { children: /* @__PURE__ */ r(Lt, { children: e.confirmation.title || "Close conversation" }) }),
|
|
1338
|
+
/* @__PURE__ */ r(Ht, { children: /* @__PURE__ */ r($t, { children: e.confirmation.description || "Are you sure you want to close this conversation?" }) }),
|
|
1339
|
+
/* @__PURE__ */ d(Wt, { children: [
|
|
1336
1340
|
/* @__PURE__ */ r(
|
|
1337
1341
|
S,
|
|
1338
1342
|
{
|
|
@@ -1375,25 +1379,25 @@ function Gt({
|
|
|
1375
1379
|
function ye({ button: e }) {
|
|
1376
1380
|
switch (e.functionality) {
|
|
1377
1381
|
case "close-widget":
|
|
1378
|
-
return /* @__PURE__ */ r(
|
|
1382
|
+
return /* @__PURE__ */ r(fo, { button: e });
|
|
1379
1383
|
case "expand-shrink":
|
|
1380
1384
|
return /* @__PURE__ */ r(be, { button: e });
|
|
1381
1385
|
case "resolve-session":
|
|
1382
|
-
return /* @__PURE__ */ r(
|
|
1386
|
+
return /* @__PURE__ */ r(Zt, { button: e });
|
|
1383
1387
|
default:
|
|
1384
1388
|
return F(e, ye.name), null;
|
|
1385
1389
|
}
|
|
1386
1390
|
}
|
|
1387
|
-
const
|
|
1391
|
+
const xo = {
|
|
1388
1392
|
functionality: "close-widget",
|
|
1389
1393
|
hideOnLargeScreen: !0,
|
|
1390
1394
|
icon: "X"
|
|
1391
1395
|
};
|
|
1392
|
-
function
|
|
1396
|
+
function vo() {
|
|
1393
1397
|
const {
|
|
1394
1398
|
routerState: { screen: e }
|
|
1395
1399
|
} = H(), { headerButtons: o } = z(), t = e === "chat" ? o == null ? void 0 : o.chatScreen : e === "sessions" ? o == null ? void 0 : o.sessionsScreen : [];
|
|
1396
|
-
return !t || t.length === 0 ? /* @__PURE__ */ r(ye, { button:
|
|
1400
|
+
return !t || t.length === 0 ? /* @__PURE__ */ r(ye, { button: xo }) : /* @__PURE__ */ r(J, { children: t.map((n) => /* @__PURE__ */ r(
|
|
1397
1401
|
ye,
|
|
1398
1402
|
{
|
|
1399
1403
|
button: n
|
|
@@ -1401,13 +1405,13 @@ function xo() {
|
|
|
1401
1405
|
`${n.functionality}-${n.icon}`
|
|
1402
1406
|
)) });
|
|
1403
1407
|
}
|
|
1404
|
-
function
|
|
1408
|
+
function Kt() {
|
|
1405
1409
|
const {
|
|
1406
1410
|
routerState: { screen: e }
|
|
1407
|
-
} = H(), o =
|
|
1411
|
+
} = H(), o = uo(e), t = De();
|
|
1408
1412
|
return /* @__PURE__ */ d("header", { ...o, className: "py-2 px-4 shrink-0", children: [
|
|
1409
1413
|
/* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
|
|
1410
|
-
/* @__PURE__ */ r(
|
|
1414
|
+
/* @__PURE__ */ r(wo, {}),
|
|
1411
1415
|
/* @__PURE__ */ r(
|
|
1412
1416
|
"div",
|
|
1413
1417
|
{
|
|
@@ -1416,31 +1420,31 @@ function Zt() {
|
|
|
1416
1420
|
e === "sessions" && "ps-2"
|
|
1417
1421
|
),
|
|
1418
1422
|
children: /* @__PURE__ */ r(
|
|
1419
|
-
|
|
1423
|
+
go,
|
|
1420
1424
|
{
|
|
1421
1425
|
fallback: /* @__PURE__ */ r("h2", { className: "font-semibold", children: t })
|
|
1422
1426
|
}
|
|
1423
1427
|
)
|
|
1424
1428
|
}
|
|
1425
1429
|
),
|
|
1426
|
-
/* @__PURE__ */ r(
|
|
1430
|
+
/* @__PURE__ */ r(vo, {})
|
|
1427
1431
|
] }),
|
|
1428
|
-
/* @__PURE__ */ r(
|
|
1432
|
+
/* @__PURE__ */ r(ho, {})
|
|
1429
1433
|
] });
|
|
1430
1434
|
}
|
|
1431
|
-
function
|
|
1432
|
-
return /* @__PURE__ */ r(
|
|
1435
|
+
function Qt({ className: e }) {
|
|
1436
|
+
return /* @__PURE__ */ r(Ir, { className: m("size-4 animate-spin", e) });
|
|
1433
1437
|
}
|
|
1434
|
-
function
|
|
1438
|
+
function bo() {
|
|
1435
1439
|
const {
|
|
1436
1440
|
messagesState: { isInitialFetchLoading: e }
|
|
1437
|
-
} =
|
|
1441
|
+
} = O(), { isSmallScreen: o } = $(), { activeMode: t, Component: n } = Nt();
|
|
1438
1442
|
return {
|
|
1439
1443
|
isCanvasOpen: !e && !o && !!t && !!n
|
|
1440
1444
|
};
|
|
1441
1445
|
}
|
|
1442
|
-
function
|
|
1443
|
-
const e = X(), { activeMode: o, Component: t } =
|
|
1446
|
+
function yo() {
|
|
1447
|
+
const e = X(), { activeMode: o, Component: t } = Nt(), { sendMessage: n } = O(), { createStateCheckpoint: s } = U(), [i, a] = P(!1), l = async (c) => {
|
|
1444
1448
|
try {
|
|
1445
1449
|
a(!0), await n(c);
|
|
1446
1450
|
} catch (p) {
|
|
@@ -1462,10 +1466,10 @@ function bo() {
|
|
|
1462
1466
|
}
|
|
1463
1467
|
function V() {
|
|
1464
1468
|
const { dir: e } = ke(), o = z();
|
|
1465
|
-
return
|
|
1466
|
-
const t =
|
|
1469
|
+
return zt(() => {
|
|
1470
|
+
const t = Yr(o.language) ? o.language : "en";
|
|
1467
1471
|
return {
|
|
1468
|
-
t: (n) =>
|
|
1472
|
+
t: (n) => Ur(n, t, o.translationOverrides),
|
|
1469
1473
|
language: t,
|
|
1470
1474
|
dir: t === "ar" ? "rtl" : "ltr",
|
|
1471
1475
|
hostDocumentDir: e
|
|
@@ -1491,7 +1495,7 @@ const W = L.forwardRef(
|
|
|
1491
1495
|
}
|
|
1492
1496
|
);
|
|
1493
1497
|
W.displayName = "MotionDiv__VerticalReveal";
|
|
1494
|
-
const
|
|
1498
|
+
const ko = [
|
|
1495
1499
|
{
|
|
1496
1500
|
label: "Terrible",
|
|
1497
1501
|
value: 1,
|
|
@@ -1518,14 +1522,14 @@ const yo = [
|
|
|
1518
1522
|
emoji: "😍"
|
|
1519
1523
|
}
|
|
1520
1524
|
];
|
|
1521
|
-
function
|
|
1525
|
+
function Co() {
|
|
1522
1526
|
const { isSmallScreen: e } = $(), { t: o } = V(), {
|
|
1523
1527
|
submitCsat: t,
|
|
1524
1528
|
isCsatRequested: n,
|
|
1525
1529
|
isCsatSubmitted: s,
|
|
1526
1530
|
submittedScore: i,
|
|
1527
1531
|
submittedFeedback: a
|
|
1528
|
-
} =
|
|
1532
|
+
} = St(), [l, c] = P(null), [p, v] = P(null), b = (h) => {
|
|
1529
1533
|
c((x) => x === h ? null : h);
|
|
1530
1534
|
}, u = () => {
|
|
1531
1535
|
l && t({
|
|
@@ -1544,7 +1548,7 @@ function ko() {
|
|
|
1544
1548
|
"transition-all",
|
|
1545
1549
|
s && "gap-0 justify-center"
|
|
1546
1550
|
),
|
|
1547
|
-
children:
|
|
1551
|
+
children: ko.map((h) => /* @__PURE__ */ r(
|
|
1548
1552
|
S,
|
|
1549
1553
|
{
|
|
1550
1554
|
variant: h.value === l ? "secondary" : "ghost",
|
|
@@ -1598,7 +1602,7 @@ function ko() {
|
|
|
1598
1602
|
"rounded-full size-8 flex items-center justify-center p-0",
|
|
1599
1603
|
s && "opacity-0 size-0"
|
|
1600
1604
|
),
|
|
1601
|
-
children: /* @__PURE__ */ r(
|
|
1605
|
+
children: /* @__PURE__ */ r(Et, { className: "size-4" })
|
|
1602
1606
|
}
|
|
1603
1607
|
)
|
|
1604
1608
|
] }) }, "feedback-box") }),
|
|
@@ -1615,7 +1619,7 @@ function Ee({
|
|
|
1615
1619
|
className: o,
|
|
1616
1620
|
...t
|
|
1617
1621
|
}) {
|
|
1618
|
-
const { sendMessage: n } =
|
|
1622
|
+
const { sendMessage: n } = O(), s = () => {
|
|
1619
1623
|
const i = e.trim();
|
|
1620
1624
|
i && n({ content: i });
|
|
1621
1625
|
};
|
|
@@ -1631,7 +1635,7 @@ function Ee({
|
|
|
1631
1635
|
}
|
|
1632
1636
|
);
|
|
1633
1637
|
}
|
|
1634
|
-
function
|
|
1638
|
+
function zo() {
|
|
1635
1639
|
const { t: e } = V(), o = [e("i_need_more_help"), e("this_was_helpful")];
|
|
1636
1640
|
return /* @__PURE__ */ r(
|
|
1637
1641
|
"div",
|
|
@@ -1649,11 +1653,11 @@ function Co() {
|
|
|
1649
1653
|
}
|
|
1650
1654
|
);
|
|
1651
1655
|
}
|
|
1652
|
-
function
|
|
1656
|
+
function vt() {
|
|
1653
1657
|
const { sessionState: e } = U(), { chatFooterItems: o } = z(), t = !!e.session && !e.session.isOpened, n = !t;
|
|
1654
1658
|
return /* @__PURE__ */ r(D, { mode: "wait", children: o == null ? void 0 : o.map((s, i) => s.showWhenSessionIsOpen === !1 && n || s.showWhenSessionIsResolved === !1 && t ? null : /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("div", { className: "pb-2 text-center text-xs", children: /* @__PURE__ */ r(Se, { children: s.message }) }) }, `${s.message}-${i}`)) });
|
|
1655
1659
|
}
|
|
1656
|
-
function
|
|
1660
|
+
function No({
|
|
1657
1661
|
file: { status: e, file: o, error: t },
|
|
1658
1662
|
onCancel: n
|
|
1659
1663
|
}) {
|
|
@@ -1668,9 +1672,9 @@ function zo({
|
|
|
1668
1672
|
const a = () => {
|
|
1669
1673
|
switch (e) {
|
|
1670
1674
|
case "uploading":
|
|
1671
|
-
return /* @__PURE__ */ r(
|
|
1675
|
+
return /* @__PURE__ */ r(Dr, { className: "size-4 animate-spin" });
|
|
1672
1676
|
case "error":
|
|
1673
|
-
return /* @__PURE__ */ r(
|
|
1677
|
+
return /* @__PURE__ */ r(Mr, { className: "size-4 text-destructive" });
|
|
1674
1678
|
default:
|
|
1675
1679
|
return null;
|
|
1676
1680
|
}
|
|
@@ -1683,7 +1687,7 @@ function zo({
|
|
|
1683
1687
|
className: "object-cover bg-secondary size-full",
|
|
1684
1688
|
alt: o.name
|
|
1685
1689
|
}
|
|
1686
|
-
) : c === "audio" ? /* @__PURE__ */ r(
|
|
1690
|
+
) : c === "audio" ? /* @__PURE__ */ r(Er, { className: "size-4 text-muted-foreground" }) : c === "video" ? /* @__PURE__ */ r(Rr, { className: "size-4 text-muted-foreground" }) : o.type === "application/pdf" ? /* @__PURE__ */ r(Tt, { className: "size-4 text-muted-foreground" }) : At({ type: o.type, name: o.name }) ? /* @__PURE__ */ r(Mt, { className: "size-4 text-muted-foreground" }) : /* @__PURE__ */ r(Pr, { className: "size-4 text-muted-foreground" });
|
|
1687
1691
|
};
|
|
1688
1692
|
return /* @__PURE__ */ r(
|
|
1689
1693
|
oe,
|
|
@@ -1724,16 +1728,17 @@ function zo({
|
|
|
1724
1728
|
}
|
|
1725
1729
|
);
|
|
1726
1730
|
}
|
|
1727
|
-
|
|
1731
|
+
const So = 25 * 1024 * 1024;
|
|
1732
|
+
function _o() {
|
|
1728
1733
|
var R;
|
|
1729
|
-
const { isSmallScreen: e } = $(), o = B(null), { sendMessage: t } =
|
|
1734
|
+
const { isSmallScreen: e } = $(), o = B(null), { sendMessage: t } = O(), { sessionState: n } = U(), { disableSendingWhenAwaitingAIReply: s } = z(), { t: i } = V(), [a, l] = P(""), {
|
|
1730
1735
|
allFiles: c,
|
|
1731
1736
|
emptyTheFiles: p,
|
|
1732
1737
|
handleCancelUpload: v,
|
|
1733
1738
|
appendFiles: b,
|
|
1734
1739
|
isUploading: u,
|
|
1735
1740
|
successFiles: h
|
|
1736
|
-
} =
|
|
1741
|
+
} = ar(), x = !!((R = n.session) != null && R.isHandedOff), { isAwaitingBotReply: C } = _t(), T = s !== !1 && C, y = (g) => {
|
|
1737
1742
|
b(g);
|
|
1738
1743
|
}, N = !a.trim() && h.length === 0, _ = async () => {
|
|
1739
1744
|
if (T || N) return;
|
|
@@ -1757,25 +1762,27 @@ function No() {
|
|
|
1757
1762
|
getRootProps: E,
|
|
1758
1763
|
getInputProps: w,
|
|
1759
1764
|
open: M
|
|
1760
|
-
} =
|
|
1765
|
+
} = Xr({
|
|
1761
1766
|
onDrop: y,
|
|
1762
1767
|
noClick: !0,
|
|
1763
1768
|
onDropRejected() {
|
|
1764
1769
|
console.error("unsupported file type, or the file is too large");
|
|
1765
1770
|
},
|
|
1766
|
-
maxSize:
|
|
1771
|
+
maxSize: So,
|
|
1767
1772
|
accept: x ? {
|
|
1768
1773
|
"text/*": [".txt"],
|
|
1769
1774
|
"image/*": [".png", ".jpg", ".jpeg", ".gif"],
|
|
1770
1775
|
"application/pdf": [".pdf"],
|
|
1771
|
-
...mt
|
|
1776
|
+
...mt,
|
|
1777
|
+
...ht
|
|
1772
1778
|
} : {
|
|
1773
1779
|
"image/png": [".png"],
|
|
1774
1780
|
"image/jpeg": [".jpg", ".jpeg"],
|
|
1775
1781
|
"image/gif": [".gif"],
|
|
1776
1782
|
"image/webp": [".webp"],
|
|
1777
1783
|
"application/pdf": [".pdf"],
|
|
1778
|
-
...mt
|
|
1784
|
+
...mt,
|
|
1785
|
+
...ht
|
|
1779
1786
|
}
|
|
1780
1787
|
}), j = (g) => {
|
|
1781
1788
|
const I = g.clipboardData;
|
|
@@ -1813,7 +1820,7 @@ function No() {
|
|
|
1813
1820
|
...f("chat/input_box/attachments_container"),
|
|
1814
1821
|
className: "flex items-center gap-1",
|
|
1815
1822
|
children: /* @__PURE__ */ r(D, { mode: "popLayout", children: c.map((g) => /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(
|
|
1816
|
-
|
|
1823
|
+
No,
|
|
1817
1824
|
{
|
|
1818
1825
|
onCancel: () => v(g.id),
|
|
1819
1826
|
file: g
|
|
@@ -1857,7 +1864,7 @@ function No() {
|
|
|
1857
1864
|
{
|
|
1858
1865
|
side: "top",
|
|
1859
1866
|
align: "start",
|
|
1860
|
-
content: "attach images, PDFs, or spreadsheets (maximum size
|
|
1867
|
+
content: "attach images, videos, PDFs, or spreadsheets (maximum size 25mb)",
|
|
1861
1868
|
children: /* @__PURE__ */ r(
|
|
1862
1869
|
S,
|
|
1863
1870
|
{
|
|
@@ -1879,7 +1886,7 @@ function No() {
|
|
|
1879
1886
|
onClick: _,
|
|
1880
1887
|
disabled: T || u || N,
|
|
1881
1888
|
className: "rounded-full size-8 flex items-center justify-center p-0",
|
|
1882
|
-
children: /* @__PURE__ */ r(D, { mode: "wait", children: T || u ? /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(
|
|
1889
|
+
children: /* @__PURE__ */ r(D, { mode: "wait", children: T || u ? /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(Tr, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(Et, { className: "size-4" }) }, "send") })
|
|
1883
1890
|
}
|
|
1884
1891
|
) })
|
|
1885
1892
|
] })
|
|
@@ -1890,31 +1897,31 @@ function No() {
|
|
|
1890
1897
|
}
|
|
1891
1898
|
);
|
|
1892
1899
|
}
|
|
1893
|
-
function
|
|
1894
|
-
const { widgetCtx: e } =
|
|
1900
|
+
function bt() {
|
|
1901
|
+
const { widgetCtx: e } = A(), { router: o } = z(), { canCreateNewSession: t } = U(), { toSessionsScreen: n } = H(), { t: s } = V();
|
|
1895
1902
|
return /* @__PURE__ */ r(J, { children: t || o != null && o.chatScreenOnly ? /* @__PURE__ */ r(S, { onClick: e.resetChat, className: "rounded-2xl w-full", children: s("new_conversation") }) : /* @__PURE__ */ r(S, { onClick: n, className: "rounded-2xl w-full", children: s("back_to_conversations") }) });
|
|
1896
1903
|
}
|
|
1897
|
-
function
|
|
1898
|
-
const { t: e } = V(), { isCsatRequested: o, isCsatSubmitted: t } =
|
|
1904
|
+
function Io() {
|
|
1905
|
+
const { t: e } = V(), { isCsatRequested: o, isCsatSubmitted: t } = St();
|
|
1899
1906
|
return /* @__PURE__ */ r("div", { className: "p-2", children: /* @__PURE__ */ r("div", { className: "p-2 bg-muted rounded-3xl", children: /* @__PURE__ */ r(D, { mode: "wait", children: o || t ? /* @__PURE__ */ d(W, { children: [
|
|
1900
|
-
/* @__PURE__ */ r(
|
|
1901
|
-
/* @__PURE__ */ r(D, { mode: "wait", children: t && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r(
|
|
1907
|
+
/* @__PURE__ */ r(Co, {}),
|
|
1908
|
+
/* @__PURE__ */ r(D, { mode: "wait", children: t && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r(bt, {}) }, "new-conv-or-back-to-convs-button") })
|
|
1902
1909
|
] }, "csat") : /* @__PURE__ */ d(W, { children: [
|
|
1903
1910
|
/* @__PURE__ */ d("div", { className: "ps-2 flex items-center gap-1 pb-2", children: [
|
|
1904
|
-
/* @__PURE__ */ r(
|
|
1911
|
+
/* @__PURE__ */ r(Dt, { className: "size-4 text-emerald-600" }),
|
|
1905
1912
|
/* @__PURE__ */ r("h2", { className: "text-sm font-medium", children: e("your_issue_has_been_resolved") })
|
|
1906
1913
|
] }),
|
|
1907
|
-
/* @__PURE__ */ r(
|
|
1914
|
+
/* @__PURE__ */ r(bt, {})
|
|
1908
1915
|
] }, "session-closed") }) }) });
|
|
1909
1916
|
}
|
|
1910
|
-
function
|
|
1917
|
+
function To() {
|
|
1911
1918
|
var a;
|
|
1912
|
-
const { initialQuestions: e, initialQuestionsPosition: o, thisWasHelpfulOrNot: t } = z(), { sessionState: n } = U(), { messagesState: s } =
|
|
1919
|
+
const { initialQuestions: e, initialQuestionsPosition: o, thisWasHelpfulOrNot: t } = z(), { sessionState: n } = U(), { messagesState: s } = O(), i = s.messages.length === 0;
|
|
1913
1920
|
return /* @__PURE__ */ r("footer", { children: /* @__PURE__ */ r(D, { mode: "wait", children: n.session && !((a = n.session) != null && a.isOpened) ? /* @__PURE__ */ d(W, { children: [
|
|
1914
|
-
/* @__PURE__ */ r(
|
|
1915
|
-
/* @__PURE__ */ r(
|
|
1921
|
+
/* @__PURE__ */ r(Io, {}),
|
|
1922
|
+
/* @__PURE__ */ r(vt, {})
|
|
1916
1923
|
] }, "session-closed") : /* @__PURE__ */ d(W, { children: [
|
|
1917
|
-
s.lastAIResMightSolveUserIssue && (t == null ? void 0 : t.enabled) !== !1 && /* @__PURE__ */ r(
|
|
1924
|
+
s.lastAIResMightSolveUserIssue && (t == null ? void 0 : t.enabled) !== !1 && /* @__PURE__ */ r(zo, {}),
|
|
1918
1925
|
i && e && o !== "below-initial-messages" && /* @__PURE__ */ r("div", { className: "flex items-center flex-row justify-end gap-2 flex-wrap px-2", children: e == null ? void 0 : e.map((l, c) => /* @__PURE__ */ r(
|
|
1919
1926
|
Ee,
|
|
1920
1927
|
{
|
|
@@ -1922,17 +1929,17 @@ function _o() {
|
|
|
1922
1929
|
},
|
|
1923
1930
|
`${l}-${c}`
|
|
1924
1931
|
)) }),
|
|
1925
|
-
/* @__PURE__ */ r(
|
|
1926
|
-
/* @__PURE__ */ r(
|
|
1932
|
+
/* @__PURE__ */ r(_o, {}),
|
|
1933
|
+
/* @__PURE__ */ r(vt, {})
|
|
1927
1934
|
] }, "chat-input") }) });
|
|
1928
1935
|
}
|
|
1929
|
-
function
|
|
1936
|
+
function Mo({
|
|
1930
1937
|
isFirstInGroup: e,
|
|
1931
1938
|
isLastInGroup: o,
|
|
1932
1939
|
isAloneInGroup: t,
|
|
1933
1940
|
...n
|
|
1934
1941
|
}) {
|
|
1935
|
-
const { componentStore: s } =
|
|
1942
|
+
const { componentStore: s } = A();
|
|
1936
1943
|
if (n.type !== "AGENT" && n.type !== "AI") return null;
|
|
1937
1944
|
if (n.data.action) {
|
|
1938
1945
|
const a = s.getComponent(n.data.action.name);
|
|
@@ -1968,7 +1975,7 @@ function Io({
|
|
|
1968
1975
|
}
|
|
1969
1976
|
);
|
|
1970
1977
|
}
|
|
1971
|
-
function
|
|
1978
|
+
function Jt({
|
|
1972
1979
|
messages: e,
|
|
1973
1980
|
className: o,
|
|
1974
1981
|
containerClassName: t
|
|
@@ -2032,7 +2039,7 @@ function pe({
|
|
|
2032
2039
|
className: m("flex-1 flex flex-col gap-1"),
|
|
2033
2040
|
children: [
|
|
2034
2041
|
e.map((n, s, i) => /* @__PURE__ */ r(
|
|
2035
|
-
|
|
2042
|
+
Mo,
|
|
2036
2043
|
{
|
|
2037
2044
|
isFirstInGroup: s === 0,
|
|
2038
2045
|
isLastInGroup: s === i.length - 1,
|
|
@@ -2041,7 +2048,7 @@ function pe({
|
|
|
2041
2048
|
},
|
|
2042
2049
|
n.id
|
|
2043
2050
|
)),
|
|
2044
|
-
/* @__PURE__ */ r(
|
|
2051
|
+
/* @__PURE__ */ r(Jt, { messages: e })
|
|
2045
2052
|
]
|
|
2046
2053
|
}
|
|
2047
2054
|
)
|
|
@@ -2067,14 +2074,14 @@ function pe({
|
|
|
2067
2074
|
}
|
|
2068
2075
|
);
|
|
2069
2076
|
}
|
|
2070
|
-
function
|
|
2077
|
+
function Do() {
|
|
2071
2078
|
var t, n;
|
|
2072
2079
|
const e = X();
|
|
2073
2080
|
if ((t = e.session) != null && t.isOpened || !e.session) return null;
|
|
2074
2081
|
const o = (n = e.config.customComponents) == null ? void 0 : n.onSessionResolved;
|
|
2075
2082
|
return o ? /* @__PURE__ */ r(o, { ...e }) : null;
|
|
2076
2083
|
}
|
|
2077
|
-
function
|
|
2084
|
+
function Eo({
|
|
2078
2085
|
message: e,
|
|
2079
2086
|
isFirstInGroup: o,
|
|
2080
2087
|
isLastInGroup: t,
|
|
@@ -2087,7 +2094,7 @@ function Mo({
|
|
|
2087
2094
|
...f("chat/user_msg/root"),
|
|
2088
2095
|
className: "w-5/6 flex flex-col items-end gap-1",
|
|
2089
2096
|
children: [
|
|
2090
|
-
e.attachments && e.attachments.length > 0 && /* @__PURE__ */ r("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((i) => /* @__PURE__ */ r(
|
|
2097
|
+
e.attachments && e.attachments.length > 0 && /* @__PURE__ */ r("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((i) => /* @__PURE__ */ r(Yt, { attachment: i }, i.id)) }),
|
|
2091
2098
|
e.content.length > 0 && /* @__PURE__ */ r(
|
|
2092
2099
|
"div",
|
|
2093
2100
|
{
|
|
@@ -2114,7 +2121,7 @@ function Mo({
|
|
|
2114
2121
|
}
|
|
2115
2122
|
);
|
|
2116
2123
|
}
|
|
2117
|
-
function
|
|
2124
|
+
function Ro({
|
|
2118
2125
|
messages: e
|
|
2119
2126
|
}) {
|
|
2120
2127
|
return /* @__PURE__ */ d(
|
|
@@ -2124,7 +2131,7 @@ function Do({
|
|
|
2124
2131
|
className: m("group", "flex flex-col gap-1 justify-end items-end"),
|
|
2125
2132
|
children: [
|
|
2126
2133
|
e.map((o, t, n) => /* @__PURE__ */ r(
|
|
2127
|
-
|
|
2134
|
+
Eo,
|
|
2128
2135
|
{
|
|
2129
2136
|
message: o,
|
|
2130
2137
|
isFirstInGroup: t === 0,
|
|
@@ -2133,12 +2140,12 @@ function Do({
|
|
|
2133
2140
|
},
|
|
2134
2141
|
o.id
|
|
2135
2142
|
)),
|
|
2136
|
-
/* @__PURE__ */ r(
|
|
2143
|
+
/* @__PURE__ */ r(Jt, { messages: e, containerClassName: "ms-auto" })
|
|
2137
2144
|
]
|
|
2138
2145
|
}
|
|
2139
2146
|
);
|
|
2140
2147
|
}
|
|
2141
|
-
function
|
|
2148
|
+
function Po(e) {
|
|
2142
2149
|
const o = [];
|
|
2143
2150
|
let t = null;
|
|
2144
2151
|
return e.forEach((n) => {
|
|
@@ -2148,22 +2155,22 @@ function Eo(e) {
|
|
|
2148
2155
|
((i = t[0]) == null ? void 0 : i.type) === "AGENT" && n.type === "AGENT" && (((a = n.agent) == null ? void 0 : a.id) !== ((l = t[0].agent) == null ? void 0 : l.id) || ((c = n.agent) == null ? void 0 : c.name) !== ((p = t[0].agent) == null ? void 0 : p.name))) && (t = [], o.push(t)), t.push(n);
|
|
2149
2156
|
}), o;
|
|
2150
2157
|
}
|
|
2151
|
-
function
|
|
2158
|
+
function jo(e) {
|
|
2152
2159
|
var o;
|
|
2153
2160
|
return ((o = e == null ? void 0 : e[0]) == null ? void 0 : o.type) === "USER";
|
|
2154
2161
|
}
|
|
2155
|
-
function
|
|
2162
|
+
function Ao(e) {
|
|
2156
2163
|
var o;
|
|
2157
2164
|
return ((o = e == null ? void 0 : e[0]) == null ? void 0 : o.type) === "AI";
|
|
2158
2165
|
}
|
|
2159
|
-
function
|
|
2166
|
+
function Oo(e) {
|
|
2160
2167
|
var o;
|
|
2161
2168
|
return ((o = e == null ? void 0 : e[0]) == null ? void 0 : o.type) === "AGENT";
|
|
2162
2169
|
}
|
|
2163
|
-
function
|
|
2170
|
+
function Fo() {
|
|
2164
2171
|
const {
|
|
2165
2172
|
messagesState: { messages: e }
|
|
2166
|
-
} =
|
|
2173
|
+
} = O(), {
|
|
2167
2174
|
advancedInitialMessages: o = [],
|
|
2168
2175
|
initialQuestionsPosition: t,
|
|
2169
2176
|
initialQuestions: n,
|
|
@@ -2186,18 +2193,18 @@ function Oo() {
|
|
|
2186
2193
|
}
|
|
2187
2194
|
) });
|
|
2188
2195
|
}
|
|
2189
|
-
function
|
|
2196
|
+
function Ho() {
|
|
2190
2197
|
const {
|
|
2191
2198
|
messagesState: { messages: e }
|
|
2192
|
-
} =
|
|
2199
|
+
} = O(), { chatBannerItems: o } = z();
|
|
2193
2200
|
return !(o != null && o.length) || e.length > 0 && o.every((t) => !t.persistent) ? null : /* @__PURE__ */ r("div", { className: "w-full text-center text-xs", children: o.map(
|
|
2194
2201
|
({ message: t, persistent: n }, s) => e.length > 0 && !n ? null : /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(Se, { children: t }) }, `${t}-${s}`)
|
|
2195
2202
|
) });
|
|
2196
2203
|
}
|
|
2197
|
-
function
|
|
2204
|
+
function Wo() {
|
|
2198
2205
|
const {
|
|
2199
2206
|
messagesState: { messages: e }
|
|
2200
|
-
} =
|
|
2207
|
+
} = O(), o = z(), {
|
|
2201
2208
|
advancedInitialMessages: t = [],
|
|
2202
2209
|
initialQuestions: n,
|
|
2203
2210
|
initialQuestionsPosition: s
|
|
@@ -2222,16 +2229,16 @@ function Fo() {
|
|
|
2222
2229
|
}
|
|
2223
2230
|
) });
|
|
2224
2231
|
}
|
|
2225
|
-
function
|
|
2232
|
+
function Lo() {
|
|
2226
2233
|
var t;
|
|
2227
2234
|
const e = X(), o = (t = e.config.customComponents) == null ? void 0 : t.chatBottomComponents;
|
|
2228
2235
|
return o ? /* @__PURE__ */ r("div", { children: o.map(({ key: n, component: s }) => /* @__PURE__ */ r(s, { ...e }, n)) }) : null;
|
|
2229
2236
|
}
|
|
2230
|
-
function
|
|
2237
|
+
function $o() {
|
|
2231
2238
|
const {
|
|
2232
2239
|
messagesState: { messages: e }
|
|
2233
|
-
} =
|
|
2234
|
-
() =>
|
|
2240
|
+
} = O(), { isAwaitingBotReply: o } = _t(), { componentStore: t } = A(), { bot: n, humanAgent: s } = z(), i = zt(
|
|
2241
|
+
() => Po(e),
|
|
2235
2242
|
[e]
|
|
2236
2243
|
), a = t.getComponent(
|
|
2237
2244
|
"loading"
|
|
@@ -2251,16 +2258,16 @@ function Wo() {
|
|
|
2251
2258
|
ref: l,
|
|
2252
2259
|
className: "max-h-full scroll-smooth relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
|
|
2253
2260
|
children: [
|
|
2254
|
-
/* @__PURE__ */ r(
|
|
2255
|
-
/* @__PURE__ */ r(Oo, {}),
|
|
2261
|
+
/* @__PURE__ */ r(Ho, {}),
|
|
2256
2262
|
/* @__PURE__ */ r(Fo, {}),
|
|
2263
|
+
/* @__PURE__ */ r(Wo, {}),
|
|
2257
2264
|
i.map((p, v) => {
|
|
2258
2265
|
var h, x, C, T;
|
|
2259
2266
|
const b = (h = p == null ? void 0 : p[0]) == null ? void 0 : h.type, u = (x = p[0]) == null ? void 0 : x.id;
|
|
2260
2267
|
if (!b || !u) return null;
|
|
2261
|
-
if (
|
|
2262
|
-
return /* @__PURE__ */ r(
|
|
2263
|
-
if (
|
|
2268
|
+
if (jo(p))
|
|
2269
|
+
return /* @__PURE__ */ r(Ro, { messages: p }, u);
|
|
2270
|
+
if (Ao(p)) {
|
|
2264
2271
|
const y = v === i.length - 1;
|
|
2265
2272
|
return o && y ? null : ((C = p[0]) == null || C.agent, /* @__PURE__ */ r(
|
|
2266
2273
|
pe,
|
|
@@ -2271,7 +2278,7 @@ function Wo() {
|
|
|
2271
2278
|
u
|
|
2272
2279
|
));
|
|
2273
2280
|
}
|
|
2274
|
-
if (
|
|
2281
|
+
if (Oo(p)) {
|
|
2275
2282
|
const y = (T = p[0]) == null ? void 0 : T.agent;
|
|
2276
2283
|
return /* @__PURE__ */ r(
|
|
2277
2284
|
pe,
|
|
@@ -2294,18 +2301,18 @@ function Wo() {
|
|
|
2294
2301
|
return null;
|
|
2295
2302
|
}),
|
|
2296
2303
|
o && a && /* @__PURE__ */ r(a, { agent: n }),
|
|
2297
|
-
/* @__PURE__ */ r(
|
|
2298
|
-
/* @__PURE__ */ r(
|
|
2304
|
+
/* @__PURE__ */ r(Lo, {}),
|
|
2305
|
+
/* @__PURE__ */ r(Do, {})
|
|
2299
2306
|
]
|
|
2300
2307
|
}
|
|
2301
2308
|
);
|
|
2302
2309
|
}
|
|
2303
|
-
function
|
|
2310
|
+
function Bo() {
|
|
2304
2311
|
const {
|
|
2305
2312
|
messagesState: { isInitialFetchLoading: e }
|
|
2306
|
-
} =
|
|
2313
|
+
} = O(), {
|
|
2307
2314
|
sessionState: { session: o }
|
|
2308
|
-
} = U(), { isCanvasOpen: t } =
|
|
2315
|
+
} = U(), { isCanvasOpen: t } = bo(), { theme: n } = K();
|
|
2309
2316
|
Me({
|
|
2310
2317
|
width: t ? n.screens.chat.withCanvas.width : n.screens.chat.width,
|
|
2311
2318
|
height: t ? n.screens.chat.withCanvas.height : n.screens.chat.height
|
|
@@ -2327,12 +2334,12 @@ function Lo() {
|
|
|
2327
2334
|
// Relative to the iframe
|
|
2328
2335
|
},
|
|
2329
2336
|
children: /* @__PURE__ */ d("div", { className: "size-full justify-between flex flex-col", children: [
|
|
2330
|
-
/* @__PURE__ */ r(
|
|
2337
|
+
/* @__PURE__ */ r(Kt, {}),
|
|
2331
2338
|
/* @__PURE__ */ r(D, { mode: "wait", children: e ? /* @__PURE__ */ r(
|
|
2332
2339
|
k,
|
|
2333
2340
|
{
|
|
2334
2341
|
className: "flex flex-col items-center justify-center w-full flex-1",
|
|
2335
|
-
children: /* @__PURE__ */ r(
|
|
2342
|
+
children: /* @__PURE__ */ r(Qt, {})
|
|
2336
2343
|
},
|
|
2337
2344
|
"loading"
|
|
2338
2345
|
) : /* @__PURE__ */ d(
|
|
@@ -2354,8 +2361,8 @@ function Lo() {
|
|
|
2354
2361
|
transitionDuration: n.screens.chat.withCanvas.transitionDuration
|
|
2355
2362
|
},
|
|
2356
2363
|
children: [
|
|
2357
|
-
/* @__PURE__ */ r(
|
|
2358
|
-
/* @__PURE__ */ r(
|
|
2364
|
+
/* @__PURE__ */ r($o, {}),
|
|
2365
|
+
/* @__PURE__ */ r(To, {})
|
|
2359
2366
|
]
|
|
2360
2367
|
}
|
|
2361
2368
|
),
|
|
@@ -2371,7 +2378,7 @@ function Lo() {
|
|
|
2371
2378
|
transitionTimingFunction: n.screens.chat.withCanvas.transitionTimingFunction,
|
|
2372
2379
|
transitionDuration: n.screens.chat.withCanvas.transitionDuration
|
|
2373
2380
|
},
|
|
2374
|
-
children: /* @__PURE__ */ r(
|
|
2381
|
+
children: /* @__PURE__ */ r(yo, {})
|
|
2375
2382
|
}
|
|
2376
2383
|
)
|
|
2377
2384
|
]
|
|
@@ -2382,7 +2389,7 @@ function Lo() {
|
|
|
2382
2389
|
}
|
|
2383
2390
|
);
|
|
2384
2391
|
}
|
|
2385
|
-
function
|
|
2392
|
+
function Yo({
|
|
2386
2393
|
className: e,
|
|
2387
2394
|
...o
|
|
2388
2395
|
}) {
|
|
@@ -2394,7 +2401,7 @@ function $o({
|
|
|
2394
2401
|
}
|
|
2395
2402
|
);
|
|
2396
2403
|
}
|
|
2397
|
-
function
|
|
2404
|
+
function Uo({ className: e }) {
|
|
2398
2405
|
return /* @__PURE__ */ r(
|
|
2399
2406
|
"svg",
|
|
2400
2407
|
{
|
|
@@ -2414,7 +2421,7 @@ function Bo({ className: e }) {
|
|
|
2414
2421
|
}
|
|
2415
2422
|
);
|
|
2416
2423
|
}
|
|
2417
|
-
function
|
|
2424
|
+
function er({ className: e }) {
|
|
2418
2425
|
const { token: o } = z();
|
|
2419
2426
|
return /* @__PURE__ */ r(
|
|
2420
2427
|
"div",
|
|
@@ -2438,7 +2445,7 @@ function Jt({ className: e }) {
|
|
|
2438
2445
|
/* @__PURE__ */ r("span", { children: "Powered by" }),
|
|
2439
2446
|
/* @__PURE__ */ r("span", { children: " " }),
|
|
2440
2447
|
/* @__PURE__ */ d("span", { className: "flex items-center gap-[1px]", children: [
|
|
2441
|
-
/* @__PURE__ */ r("span", { children: /* @__PURE__ */ r(
|
|
2448
|
+
/* @__PURE__ */ r("span", { children: /* @__PURE__ */ r(Uo, { className: "size-3 inline-block" }) }),
|
|
2442
2449
|
/* @__PURE__ */ r("span", { className: "font-semibold", children: "open" })
|
|
2443
2450
|
] })
|
|
2444
2451
|
]
|
|
@@ -2447,10 +2454,10 @@ function Jt({ className: e }) {
|
|
|
2447
2454
|
}
|
|
2448
2455
|
);
|
|
2449
2456
|
}
|
|
2450
|
-
function
|
|
2457
|
+
function Xo({ children: e }) {
|
|
2451
2458
|
return /* @__PURE__ */ r("p", { className: "ps-4 text-xs text-muted-foreground/75 uppercase font-semibold tracking-tight", children: e });
|
|
2452
2459
|
}
|
|
2453
|
-
function
|
|
2460
|
+
function yt({
|
|
2454
2461
|
session: e,
|
|
2455
2462
|
className: o
|
|
2456
2463
|
}) {
|
|
@@ -2469,27 +2476,27 @@ function bt({
|
|
|
2469
2476
|
/* @__PURE__ */ d("div", { className: "flex-1 flex gap-2 items-center", children: [
|
|
2470
2477
|
/* @__PURE__ */ r(D, { mode: "wait", children: /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ d(_e, { className: "size-10", children: [
|
|
2471
2478
|
/* @__PURE__ */ r(Ie, { src: a, alt: "Agent Icon" }),
|
|
2472
|
-
/* @__PURE__ */ r(Te, { children: /* @__PURE__ */ r(
|
|
2479
|
+
/* @__PURE__ */ r(Te, { children: /* @__PURE__ */ r(jr, { className: "size-4" }) })
|
|
2473
2480
|
] }) }) }),
|
|
2474
2481
|
/* @__PURE__ */ d("div", { className: "flex-1", children: [
|
|
2475
2482
|
/* @__PURE__ */ r(D, { mode: "wait", children: /* @__PURE__ */ r(k, { snapExit: !0, children: i }, i) }),
|
|
2476
2483
|
/* @__PURE__ */ r(D, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(
|
|
2477
|
-
|
|
2484
|
+
Ut,
|
|
2478
2485
|
{
|
|
2479
|
-
remarkPlugins: [
|
|
2480
|
-
rehypePlugins: [
|
|
2486
|
+
remarkPlugins: [Rt],
|
|
2487
|
+
rehypePlugins: [Pt],
|
|
2481
2488
|
className: "line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",
|
|
2482
2489
|
children: e.lastMessage
|
|
2483
2490
|
}
|
|
2484
|
-
) }, e.lastMessage || "content") : /* @__PURE__ */ r(k, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r(
|
|
2491
|
+
) }, e.lastMessage || "content") : /* @__PURE__ */ r(k, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r(Yo, { className: "h-4 w-full" }) }, "skeleton") })
|
|
2485
2492
|
] })
|
|
2486
2493
|
] }),
|
|
2487
|
-
/* @__PURE__ */ r(
|
|
2494
|
+
/* @__PURE__ */ r(Ar, { className: "size-4 text-muted-foreground shrink-0 rtl:-scale-100" })
|
|
2488
2495
|
]
|
|
2489
2496
|
}
|
|
2490
2497
|
);
|
|
2491
2498
|
}
|
|
2492
|
-
function
|
|
2499
|
+
function qo() {
|
|
2493
2500
|
const { t: e } = V(), { toChatScreen: o } = H(), {
|
|
2494
2501
|
sessionsState: { data: t, isInitialFetchLoading: n },
|
|
2495
2502
|
openSessions: s,
|
|
@@ -2500,7 +2507,7 @@ function Uo() {
|
|
|
2500
2507
|
k,
|
|
2501
2508
|
{
|
|
2502
2509
|
className: "flex-1 flex items-center justify-center",
|
|
2503
|
-
children: /* @__PURE__ */ r(
|
|
2510
|
+
children: /* @__PURE__ */ r(Qt, {})
|
|
2504
2511
|
},
|
|
2505
2512
|
"loading"
|
|
2506
2513
|
) : /* @__PURE__ */ r(
|
|
@@ -2516,7 +2523,7 @@ function Uo() {
|
|
|
2516
2523
|
delay: 0.2,
|
|
2517
2524
|
className: "space-y-2",
|
|
2518
2525
|
snapExit: !0,
|
|
2519
|
-
children: s.map((l) => /* @__PURE__ */ r(
|
|
2526
|
+
children: s.map((l) => /* @__PURE__ */ r(yt, { session: l }, l.id))
|
|
2520
2527
|
},
|
|
2521
2528
|
"open-sessions"
|
|
2522
2529
|
),
|
|
@@ -2527,9 +2534,9 @@ function Uo() {
|
|
|
2527
2534
|
delay: 0.2,
|
|
2528
2535
|
snapExit: !0,
|
|
2529
2536
|
children: [
|
|
2530
|
-
/* @__PURE__ */ r(
|
|
2537
|
+
/* @__PURE__ */ r(Xo, { children: e("closed_conversations") }),
|
|
2531
2538
|
i.map((l) => /* @__PURE__ */ r(
|
|
2532
|
-
|
|
2539
|
+
yt,
|
|
2533
2540
|
{
|
|
2534
2541
|
session: l,
|
|
2535
2542
|
className: "opacity-50 hover:opacity-100"
|
|
@@ -2570,7 +2577,7 @@ function Uo() {
|
|
|
2570
2577
|
"sessions"
|
|
2571
2578
|
) }) });
|
|
2572
2579
|
}
|
|
2573
|
-
function
|
|
2580
|
+
function Vo() {
|
|
2574
2581
|
const { theme: e } = K();
|
|
2575
2582
|
return Me({
|
|
2576
2583
|
width: e.screens.sessions.width,
|
|
@@ -2591,9 +2598,9 @@ function Xo() {
|
|
|
2591
2598
|
// Relative to the iframe
|
|
2592
2599
|
},
|
|
2593
2600
|
children: /* @__PURE__ */ d("div", { className: "size-full flex flex-col", children: [
|
|
2594
|
-
/* @__PURE__ */ r(
|
|
2595
|
-
/* @__PURE__ */ r(
|
|
2596
|
-
/* @__PURE__ */ r(
|
|
2601
|
+
/* @__PURE__ */ r(Kt, {}),
|
|
2602
|
+
/* @__PURE__ */ r(qo, {}),
|
|
2603
|
+
/* @__PURE__ */ r(er, {})
|
|
2597
2604
|
] })
|
|
2598
2605
|
}
|
|
2599
2606
|
);
|
|
@@ -2620,8 +2627,8 @@ const de = ee.forwardRef(
|
|
|
2620
2627
|
}
|
|
2621
2628
|
);
|
|
2622
2629
|
de.displayName = "Input";
|
|
2623
|
-
function
|
|
2624
|
-
const { contentIframeRef: e } =
|
|
2630
|
+
function Go() {
|
|
2631
|
+
const { contentIframeRef: e } = A(), { inline: o } = z(), t = B(null);
|
|
2625
2632
|
return se(() => {
|
|
2626
2633
|
const n = e == null ? void 0 : e.current;
|
|
2627
2634
|
if (n && t.current) {
|
|
@@ -2642,25 +2649,25 @@ function qo() {
|
|
|
2642
2649
|
}
|
|
2643
2650
|
}, [e, o]), { observedElementRef: t };
|
|
2644
2651
|
}
|
|
2645
|
-
const
|
|
2652
|
+
const Zo = ue.object({
|
|
2646
2653
|
name: ue.string().min(2),
|
|
2647
2654
|
email: ue.string().email()
|
|
2648
2655
|
});
|
|
2649
|
-
function
|
|
2656
|
+
function Ko() {
|
|
2650
2657
|
var y, N, _, E, w, M, j, R;
|
|
2651
2658
|
const {
|
|
2652
2659
|
widgetCtx: { org: e }
|
|
2653
|
-
} =
|
|
2660
|
+
} = A(), { setIsOpen: o } = Z(), { createUnverifiedContact: t } = It(), { isSmallScreen: n } = $(), s = z(), { theme: i } = K(), { t: a } = V(), { observedElementRef: l } = Go();
|
|
2654
2661
|
Me({
|
|
2655
2662
|
height: void 0,
|
|
2656
2663
|
width: i.screens.welcome.width
|
|
2657
2664
|
});
|
|
2658
2665
|
const [c, p] = P(((y = s.prefillUserData) == null ? void 0 : y.name) || ""), [v, b] = P(((N = s.prefillUserData) == null ? void 0 : N.email) || ""), u = (s.extraDataCollectionFields || []).filter(
|
|
2659
2666
|
(g) => g !== "name" && g !== "email" && !!g
|
|
2660
|
-
), [h, x] = P({}), [C, T] =
|
|
2667
|
+
), [h, x] = P({}), [C, T] = qr(
|
|
2661
2668
|
async (g) => {
|
|
2662
2669
|
g.preventDefault();
|
|
2663
|
-
const I =
|
|
2670
|
+
const I = Zo.safeParse({ name: c, email: v });
|
|
2664
2671
|
I.success && await t(
|
|
2665
2672
|
{
|
|
2666
2673
|
email: I.data.email,
|
|
@@ -2778,7 +2785,7 @@ function Go() {
|
|
|
2778
2785
|
}
|
|
2779
2786
|
)
|
|
2780
2787
|
] }),
|
|
2781
|
-
/* @__PURE__ */ r(
|
|
2788
|
+
/* @__PURE__ */ r(er, {})
|
|
2782
2789
|
]
|
|
2783
2790
|
}
|
|
2784
2791
|
)
|
|
@@ -2788,7 +2795,7 @@ function Go() {
|
|
|
2788
2795
|
}
|
|
2789
2796
|
);
|
|
2790
2797
|
}
|
|
2791
|
-
function
|
|
2798
|
+
function tr() {
|
|
2792
2799
|
const {
|
|
2793
2800
|
routerState: { screen: e }
|
|
2794
2801
|
} = H();
|
|
@@ -2801,7 +2808,7 @@ function er() {
|
|
|
2801
2808
|
fadeIn: "right",
|
|
2802
2809
|
className: "size-full",
|
|
2803
2810
|
snapExit: !0,
|
|
2804
|
-
children: /* @__PURE__ */ r(
|
|
2811
|
+
children: /* @__PURE__ */ r(Ko, {})
|
|
2805
2812
|
},
|
|
2806
2813
|
e
|
|
2807
2814
|
);
|
|
@@ -2812,7 +2819,7 @@ function er() {
|
|
|
2812
2819
|
fadeIn: "right",
|
|
2813
2820
|
className: "size-full",
|
|
2814
2821
|
snapExit: !0,
|
|
2815
|
-
children: /* @__PURE__ */ r(
|
|
2822
|
+
children: /* @__PURE__ */ r(Vo, {})
|
|
2816
2823
|
},
|
|
2817
2824
|
e
|
|
2818
2825
|
);
|
|
@@ -2823,20 +2830,20 @@ function er() {
|
|
|
2823
2830
|
fadeIn: "right",
|
|
2824
2831
|
className: "size-full",
|
|
2825
2832
|
snapExit: !0,
|
|
2826
|
-
children: /* @__PURE__ */ r(
|
|
2833
|
+
children: /* @__PURE__ */ r(Bo, {})
|
|
2827
2834
|
},
|
|
2828
2835
|
e
|
|
2829
2836
|
);
|
|
2830
2837
|
default:
|
|
2831
|
-
return F(e,
|
|
2838
|
+
return F(e, tr.name), null;
|
|
2832
2839
|
}
|
|
2833
2840
|
})() }) });
|
|
2834
2841
|
}
|
|
2835
|
-
const
|
|
2842
|
+
const Qo = "4.0.59", Jo = `<!DOCTYPE html>
|
|
2836
2843
|
<html>
|
|
2837
2844
|
<head>
|
|
2838
2845
|
<style>
|
|
2839
|
-
${
|
|
2846
|
+
${Xt}
|
|
2840
2847
|
html, body {
|
|
2841
2848
|
height: 100%;
|
|
2842
2849
|
width: 100%;
|
|
@@ -2850,8 +2857,8 @@ html, body {
|
|
|
2850
2857
|
<body>
|
|
2851
2858
|
</body>
|
|
2852
2859
|
</html>`;
|
|
2853
|
-
function
|
|
2854
|
-
const { isOpen: e } = Z(), { contentIframeRef: o } =
|
|
2860
|
+
function rr() {
|
|
2861
|
+
const { isOpen: e } = Z(), { contentIframeRef: o } = A(), { cssOverrides: t, inline: n } = z(), { theme: s, cssVars: i, computed: a } = K(), { dir: l } = V();
|
|
2855
2862
|
return /* @__PURE__ */ r(
|
|
2856
2863
|
re.div,
|
|
2857
2864
|
{
|
|
@@ -2872,10 +2879,10 @@ function tr() {
|
|
|
2872
2879
|
}
|
|
2873
2880
|
},
|
|
2874
2881
|
children: /* @__PURE__ */ d(
|
|
2875
|
-
|
|
2882
|
+
jt,
|
|
2876
2883
|
{
|
|
2877
2884
|
ref: o,
|
|
2878
|
-
initialContent:
|
|
2885
|
+
initialContent: Jo,
|
|
2879
2886
|
allowFullScreen: !0,
|
|
2880
2887
|
title: "OpenCX Live Chat",
|
|
2881
2888
|
style: {
|
|
@@ -2912,17 +2919,17 @@ function tr() {
|
|
|
2912
2919
|
...i,
|
|
2913
2920
|
zIndex: s.widgetContentContainer.zIndex
|
|
2914
2921
|
},
|
|
2915
|
-
"data-version":
|
|
2922
|
+
"data-version": Qo,
|
|
2916
2923
|
className: m(
|
|
2917
2924
|
"antialiased font-sans size-full overflow-hidden relative text-secondary-foreground isolate"
|
|
2918
2925
|
),
|
|
2919
2926
|
dir: l,
|
|
2920
2927
|
children: /* @__PURE__ */ r(
|
|
2921
|
-
|
|
2928
|
+
lo,
|
|
2922
2929
|
{
|
|
2923
2930
|
delayDuration: 200,
|
|
2924
2931
|
disableHoverableContent: !0,
|
|
2925
|
-
children: /* @__PURE__ */ r(
|
|
2932
|
+
children: /* @__PURE__ */ r(to, { children: /* @__PURE__ */ r(tr, {}) })
|
|
2926
2933
|
}
|
|
2927
2934
|
)
|
|
2928
2935
|
}
|
|
@@ -2933,7 +2940,7 @@ function tr() {
|
|
|
2933
2940
|
}
|
|
2934
2941
|
);
|
|
2935
2942
|
}
|
|
2936
|
-
function
|
|
2943
|
+
function en() {
|
|
2937
2944
|
const { theme: e } = K();
|
|
2938
2945
|
return /* @__PURE__ */ r(
|
|
2939
2946
|
me.Content,
|
|
@@ -2951,11 +2958,11 @@ function Qo() {
|
|
|
2951
2958
|
sideOffset: e.widgetContentContainer.offset.side,
|
|
2952
2959
|
alignOffset: e.widgetContentContainer.offset.align,
|
|
2953
2960
|
avoidCollisions: !1,
|
|
2954
|
-
children: /* @__PURE__ */ r(
|
|
2961
|
+
children: /* @__PURE__ */ r(rr, {})
|
|
2955
2962
|
}
|
|
2956
2963
|
);
|
|
2957
2964
|
}
|
|
2958
|
-
function
|
|
2965
|
+
function tn({
|
|
2959
2966
|
className: e,
|
|
2960
2967
|
style: o
|
|
2961
2968
|
}) {
|
|
@@ -2990,11 +2997,11 @@ function Jo({
|
|
|
2990
2997
|
}
|
|
2991
2998
|
);
|
|
2992
2999
|
}
|
|
2993
|
-
const
|
|
3000
|
+
const rn = `<!DOCTYPE html>
|
|
2994
3001
|
<html>
|
|
2995
3002
|
<head>
|
|
2996
3003
|
<style>
|
|
2997
|
-
${
|
|
3004
|
+
${Xt}
|
|
2998
3005
|
html, body {
|
|
2999
3006
|
height: 100%;
|
|
3000
3007
|
width: 100%;
|
|
@@ -3007,7 +3014,7 @@ html, body {
|
|
|
3007
3014
|
<body>
|
|
3008
3015
|
</body>
|
|
3009
3016
|
</html>`;
|
|
3010
|
-
function
|
|
3017
|
+
function on() {
|
|
3011
3018
|
var p, v, b;
|
|
3012
3019
|
const { isOpen: e, setIsOpen: o } = Z(), { cssOverrides: t, assets: n, customComponents: s, accessibility: i } = z(), { theme: a, cssVars: l } = K(), c = ((p = i == null ? void 0 : i.widgetTriggerButton) == null ? void 0 : p.label) ?? "Chat with us";
|
|
3013
3020
|
return s != null && s.widgetTrigger ? s.widgetTrigger({
|
|
@@ -3015,9 +3022,9 @@ function tn() {
|
|
|
3015
3022
|
isOpen: e,
|
|
3016
3023
|
setIsOpen: (u) => o(u)
|
|
3017
3024
|
}) : /* @__PURE__ */ d(
|
|
3018
|
-
|
|
3025
|
+
jt,
|
|
3019
3026
|
{
|
|
3020
|
-
initialContent:
|
|
3027
|
+
initialContent: rn,
|
|
3021
3028
|
title: "OpenCX Live Chat Trigger",
|
|
3022
3029
|
style: {
|
|
3023
3030
|
height: `calc(${a.widgetTrigger.size.button}px + ${Q.x * 2}px)`,
|
|
@@ -3091,7 +3098,7 @@ function tn() {
|
|
|
3091
3098
|
}
|
|
3092
3099
|
}
|
|
3093
3100
|
) : /* @__PURE__ */ r(
|
|
3094
|
-
|
|
3101
|
+
Fr,
|
|
3095
3102
|
{
|
|
3096
3103
|
style: {
|
|
3097
3104
|
width: a.widgetTrigger.size.icon,
|
|
@@ -3120,7 +3127,7 @@ function tn() {
|
|
|
3120
3127
|
}
|
|
3121
3128
|
}
|
|
3122
3129
|
) : /* @__PURE__ */ r(
|
|
3123
|
-
|
|
3130
|
+
tn,
|
|
3124
3131
|
{
|
|
3125
3132
|
style: {
|
|
3126
3133
|
width: a.widgetTrigger.size.icon,
|
|
@@ -3142,7 +3149,7 @@ function tn() {
|
|
|
3142
3149
|
}
|
|
3143
3150
|
);
|
|
3144
3151
|
}
|
|
3145
|
-
function
|
|
3152
|
+
function nn() {
|
|
3146
3153
|
const { dir: e } = ke();
|
|
3147
3154
|
return /* @__PURE__ */ r(
|
|
3148
3155
|
me.Anchor,
|
|
@@ -3156,13 +3163,13 @@ function rn() {
|
|
|
3156
3163
|
}
|
|
3157
3164
|
);
|
|
3158
3165
|
}
|
|
3159
|
-
function
|
|
3166
|
+
function sn({
|
|
3160
3167
|
widgetRef: e
|
|
3161
3168
|
}) {
|
|
3162
|
-
const { widgetCtx: o } =
|
|
3169
|
+
const { widgetCtx: o } = A(), { contactState: t } = It(), { setIsOpen: n, isOpen: s } = Z(), {
|
|
3163
3170
|
toChatScreen: i,
|
|
3164
3171
|
routerState: { screen: a }
|
|
3165
|
-
} = H(), { sendMessage: l } =
|
|
3172
|
+
} = H(), { sendMessage: l } = O();
|
|
3166
3173
|
return L.useImperativeHandle(
|
|
3167
3174
|
e,
|
|
3168
3175
|
() => ({
|
|
@@ -3186,22 +3193,22 @@ function on({
|
|
|
3186
3193
|
]
|
|
3187
3194
|
), null;
|
|
3188
3195
|
}
|
|
3189
|
-
function
|
|
3196
|
+
function an() {
|
|
3190
3197
|
const { isOpen: e, setIsOpen: o } = Z();
|
|
3191
3198
|
return /* @__PURE__ */ d(me.Root, { open: e, onOpenChange: o, children: [
|
|
3192
|
-
/* @__PURE__ */ r(
|
|
3193
|
-
/* @__PURE__ */ r(
|
|
3194
|
-
/* @__PURE__ */ r(
|
|
3199
|
+
/* @__PURE__ */ r(nn, {}),
|
|
3200
|
+
/* @__PURE__ */ r(on, {}),
|
|
3201
|
+
/* @__PURE__ */ r(en, {})
|
|
3195
3202
|
] });
|
|
3196
3203
|
}
|
|
3197
|
-
const
|
|
3204
|
+
const ln = [
|
|
3198
3205
|
{
|
|
3199
3206
|
key: "loading",
|
|
3200
|
-
component:
|
|
3207
|
+
component: io
|
|
3201
3208
|
},
|
|
3202
3209
|
{
|
|
3203
3210
|
key: "fallback",
|
|
3204
|
-
component:
|
|
3211
|
+
component: ao
|
|
3205
3212
|
},
|
|
3206
3213
|
{
|
|
3207
3214
|
key: "bot_message",
|
|
@@ -3211,7 +3218,7 @@ const sn = [
|
|
|
3211
3218
|
key: "agent_message",
|
|
3212
3219
|
component: xe
|
|
3213
3220
|
}
|
|
3214
|
-
],
|
|
3221
|
+
], cn = {
|
|
3215
3222
|
get: async (e) => localStorage.getItem(e),
|
|
3216
3223
|
set: async (e, o) => {
|
|
3217
3224
|
localStorage.setItem(e, o);
|
|
@@ -3219,23 +3226,23 @@ const sn = [
|
|
|
3219
3226
|
remove: async (e) => {
|
|
3220
3227
|
localStorage.removeItem(e);
|
|
3221
3228
|
}
|
|
3222
|
-
},
|
|
3229
|
+
}, dn = L.forwardRef(function({ options: o, components: t = [], loadingComponent: n }, s) {
|
|
3223
3230
|
return /* @__PURE__ */ r(
|
|
3224
|
-
|
|
3231
|
+
ir,
|
|
3225
3232
|
{
|
|
3226
|
-
components: [...
|
|
3233
|
+
components: [...ln, ...t],
|
|
3227
3234
|
options: o,
|
|
3228
|
-
storage:
|
|
3235
|
+
storage: cn,
|
|
3229
3236
|
loadingComponent: n,
|
|
3230
|
-
children: /* @__PURE__ */ d(
|
|
3231
|
-
/* @__PURE__ */ r(
|
|
3232
|
-
o.inline ? /* @__PURE__ */ r(
|
|
3237
|
+
children: /* @__PURE__ */ d(lr, { children: [
|
|
3238
|
+
/* @__PURE__ */ r(sn, { widgetRef: s }),
|
|
3239
|
+
o.inline ? /* @__PURE__ */ r(rr, {}) : /* @__PURE__ */ r(an, {})
|
|
3233
3240
|
] })
|
|
3234
3241
|
}
|
|
3235
3242
|
);
|
|
3236
3243
|
});
|
|
3237
|
-
|
|
3244
|
+
dn.displayName = "Widget";
|
|
3238
3245
|
export {
|
|
3239
|
-
|
|
3246
|
+
dn as Widget
|
|
3240
3247
|
};
|
|
3241
3248
|
//# sourceMappingURL=index.js.map
|