@opencx/widget-react 4.0.19 → 4.0.20
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +224 -204
- package/dist/index.js.map +1 -1
- package/dist/src/components/special-components/ChatBottomComponents.d.ts +3 -0
- package/dist/src/components/special-components/ChatBottomComponents.d.ts.map +1 -0
- package/dist/src/components/special-components/SessionResolvedComponent.d.ts.map +1 -1
- package/dist/src/hooks/useSpecialComponentProps.d.ts +5 -0
- package/dist/src/hooks/useSpecialComponentProps.d.ts.map +1 -0
- package/dist/src/screens/chat/ChatMain.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsx as r, jsxs as d, Fragment as te } from "react/jsx-runtime";
|
|
2
2
|
import * as ae from "@radix-ui/react-popover";
|
|
3
3
|
import * as G from "react";
|
|
4
|
-
import q, { memo as
|
|
5
|
-
import { useWidget as R, useConfig as b, useDocumentDir as ue, useWidgetRouter as $, useWidgetTrigger as K, useSessions as B, useMessages as
|
|
6
|
-
import { clsx as
|
|
7
|
-
import { twMerge as
|
|
4
|
+
import q, { memo as Bt, forwardRef as ct, useState as I, cloneElement as dt, createContext as Lt, useEffect as re, useContext as Yt, useMemo as pt, useRef as le, createElement as rt } from "react";
|
|
5
|
+
import { useWidget as R, useConfig as b, useDocumentDir as ue, useWidgetRouter as $, useWidgetTrigger as K, useSessions as B, useMessages as j, useModes as ht, useCsat as mt, useUploadFiles as qt, useIsAwaitingBotReply as gt, useContact as Xt, WidgetProvider as Ut, WidgetTriggerProvider as Vt } from "@opencx/widget-react-headless";
|
|
6
|
+
import { clsx as Gt } from "clsx";
|
|
7
|
+
import { twMerge as Kt } from "tailwind-merge";
|
|
8
8
|
import { motion as Z, AnimatePresence as S } from "framer-motion";
|
|
9
|
-
import { Slot as
|
|
10
|
-
import { cva as
|
|
11
|
-
import { X as
|
|
9
|
+
import { Slot as Qt } from "@radix-ui/react-slot";
|
|
10
|
+
import { cva as Zt } from "class-variance-authority";
|
|
11
|
+
import { X as Jt, CircleDashedIcon as er, XIcon as fe, SquareXIcon as tr, SquareCheckBigIcon as rr, SquareCheckIcon as or, ShrinkIcon as nr, Minimize2Icon as sr, MinimizeIcon as ir, Maximize2Icon as ar, MaximizeIcon as lr, ExpandIcon as cr, CircleXIcon as dr, CircleCheckBigIcon as pr, CircleCheckIcon as wt, CheckCheckIcon as hr, CheckIcon as mr, ChevronLeftIcon as gr, LoaderIcon as wr, ArrowUpIcon as ut, PaperclipIcon as ur, ImageIcon as fr, CircleDashed as vr, AlertCircle as xr, Loader2 as br, FileAudio2Icon as yr, FileVideo2Icon as kr, FileIcon as Cr, UserRoundIcon as zr, ChevronRightIcon as Nr, SendHorizontal as Sr, ChevronDownIcon as _r } from "lucide-react";
|
|
12
12
|
import ft from "remark-gfm";
|
|
13
|
-
import
|
|
13
|
+
import Ir from "react-markdown";
|
|
14
14
|
import vt from "rehype-raw";
|
|
15
|
-
import { isExhaustive as D, isSupportedLanguage as
|
|
15
|
+
import { isExhaustive as D, isSupportedLanguage as Tr, getTranslation as Mr } from "@opencx/widget-core";
|
|
16
16
|
import * as Q from "@radix-ui/react-avatar";
|
|
17
17
|
import xt from "@uiw/react-iframe";
|
|
18
18
|
import * as oe from "@radix-ui/react-tooltip";
|
|
19
19
|
import ot from "tinycolor2";
|
|
20
|
-
import { useDropzone as
|
|
21
|
-
import
|
|
20
|
+
import { useDropzone as Dr } from "react-dropzone";
|
|
21
|
+
import Rr from "react-use/lib/useAsyncFn";
|
|
22
22
|
import { z as pe } from "zod";
|
|
23
23
|
function g(e) {
|
|
24
24
|
return { "data-component": e };
|
|
25
25
|
}
|
|
26
26
|
function p(...e) {
|
|
27
|
-
return Gt(
|
|
27
|
+
return Kt(Gt(e));
|
|
28
28
|
}
|
|
29
29
|
const V = {
|
|
30
30
|
x: 2,
|
|
31
31
|
y: 2
|
|
32
|
-
}, W =
|
|
32
|
+
}, W = Bt(
|
|
33
33
|
ct(
|
|
34
34
|
({ children: e, className: o, scale: t = 1.02, off: n = !1 }, s) => {
|
|
35
35
|
const [i, a] = I(!1), [c, l] = I({ x: 0, y: 0 });
|
|
@@ -44,8 +44,8 @@ const V = {
|
|
|
44
44
|
), H = Math.max(
|
|
45
45
|
-1,
|
|
46
46
|
Math.min(1, A / (_.height / 2))
|
|
47
|
-
),
|
|
48
|
-
l({ x:
|
|
47
|
+
), E = F * V.x, v = H * V.y;
|
|
48
|
+
l({ x: E, y: v }), (z = (C = e.props).onMouseMove) == null || z.call(C, f);
|
|
49
49
|
}, u = () => {
|
|
50
50
|
var f, N;
|
|
51
51
|
a(!0), (N = (f = e.props).onMouseEnter) == null || N.call(f);
|
|
@@ -79,43 +79,43 @@ const V = {
|
|
|
79
79
|
)
|
|
80
80
|
);
|
|
81
81
|
W.displayName = "Wobble";
|
|
82
|
-
const
|
|
82
|
+
const jr = 10, Er = (e, o, t) => ({
|
|
83
83
|
initial: { opacity: 0, x: -e, ...o.initial },
|
|
84
84
|
animate: { opacity: 1, x: 0, ...o.animate, transition: { delay: t } },
|
|
85
85
|
exit: { opacity: 0, x: e, ...o.exit }
|
|
86
|
-
}),
|
|
86
|
+
}), Or = (e, o, t) => ({
|
|
87
87
|
initial: { opacity: 0, x: e, ...o.initial },
|
|
88
88
|
animate: { opacity: 1, x: 0, ...o.animate, transition: { delay: t } },
|
|
89
89
|
exit: { opacity: 0, x: -e, ...o.exit }
|
|
90
|
-
}),
|
|
90
|
+
}), Pr = (e, o, t) => ({
|
|
91
91
|
initial: { opacity: 0, y: e, ...o.initial },
|
|
92
92
|
animate: { opacity: 1, y: 0, ...o.animate, transition: { delay: t } },
|
|
93
93
|
exit: { opacity: 0, y: -e, ...o.exit }
|
|
94
|
-
}),
|
|
94
|
+
}), Ar = (e, o, t) => ({
|
|
95
95
|
initial: { opacity: 0, y: -e, ...o.initial },
|
|
96
96
|
animate: { opacity: 1, y: 0, ...o.animate, transition: { delay: t } },
|
|
97
97
|
exit: { opacity: 0, y: e, ...o.exit }
|
|
98
|
-
}),
|
|
99
|
-
right:
|
|
100
|
-
left:
|
|
101
|
-
up:
|
|
102
|
-
down:
|
|
98
|
+
}), Fr = {
|
|
99
|
+
right: Er,
|
|
100
|
+
left: Or,
|
|
101
|
+
up: Pr,
|
|
102
|
+
down: Ar
|
|
103
103
|
}, w = ct(
|
|
104
104
|
({
|
|
105
105
|
fadeIn: e = "down",
|
|
106
|
-
distance: o =
|
|
106
|
+
distance: o = jr,
|
|
107
107
|
children: t,
|
|
108
108
|
snapExit: n = !1,
|
|
109
109
|
overrides: s = {},
|
|
110
110
|
delay: i = 0,
|
|
111
111
|
...a
|
|
112
112
|
}, c) => {
|
|
113
|
-
const l = e ?
|
|
113
|
+
const l = e ? Fr[e](o, s, i) : {};
|
|
114
114
|
return n && l.exit && typeof l.exit == "object" && !Array.isArray(l.exit) && (l.exit.transition = { duration: 0 }), /* @__PURE__ */ r(Z.div, { ref: c, ...a, ...l, children: t });
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
w.displayName = "MotionDiv";
|
|
118
|
-
const
|
|
118
|
+
const Hr = Zt(
|
|
119
119
|
p(
|
|
120
120
|
"inline-flex shrink-0 items-center justify-center gap-2",
|
|
121
121
|
"text-sm font-medium whitespace-nowrap",
|
|
@@ -156,18 +156,18 @@ const Fr = Qt(
|
|
|
156
156
|
}
|
|
157
157
|
), y = G.forwardRef(
|
|
158
158
|
({ className: e, variant: o = "default", size: t, asChild: n = !1, ...s }, i) => /* @__PURE__ */ r(W, { ref: i, children: /* @__PURE__ */ r(
|
|
159
|
-
n ?
|
|
159
|
+
n ? Qt : "button",
|
|
160
160
|
{
|
|
161
161
|
...g("ui_lib/btn"),
|
|
162
162
|
"data-variant": o,
|
|
163
|
-
className: p(
|
|
163
|
+
className: p(Hr({ variant: o, size: t, className: e })),
|
|
164
164
|
...s
|
|
165
165
|
}
|
|
166
166
|
) })
|
|
167
167
|
);
|
|
168
168
|
y.displayName = "Button";
|
|
169
|
-
const bt =
|
|
170
|
-
function
|
|
169
|
+
const bt = Lt(null);
|
|
170
|
+
function Wr({ children: e }) {
|
|
171
171
|
const [o, t] = I(!1), [n, s] = I(null), i = (c) => {
|
|
172
172
|
s(c), t(!0);
|
|
173
173
|
}, a = () => {
|
|
@@ -180,14 +180,14 @@ function Hr({ children: e }) {
|
|
|
180
180
|
{
|
|
181
181
|
value: { open: i, close: a, isOpen: o, content: n },
|
|
182
182
|
children: [
|
|
183
|
-
/* @__PURE__ */ r(
|
|
183
|
+
/* @__PURE__ */ r($r, {}),
|
|
184
184
|
e
|
|
185
185
|
]
|
|
186
186
|
}
|
|
187
187
|
);
|
|
188
188
|
}
|
|
189
189
|
function ce() {
|
|
190
|
-
const e =
|
|
190
|
+
const e = Yt(bt);
|
|
191
191
|
return e || (console.error("useDialoger must be used within a DialogerProvider"), {
|
|
192
192
|
open: () => {
|
|
193
193
|
},
|
|
@@ -197,7 +197,7 @@ function ce() {
|
|
|
197
197
|
content: null
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function $r() {
|
|
201
201
|
const { contentIframeRef: e } = R(), { isOpen: o, content: t, close: n } = ce();
|
|
202
202
|
return re(() => {
|
|
203
203
|
var i, a;
|
|
@@ -253,7 +253,7 @@ function yt({
|
|
|
253
253
|
variant: "secondary",
|
|
254
254
|
onClick: n,
|
|
255
255
|
children: [
|
|
256
|
-
/* @__PURE__ */ r(
|
|
256
|
+
/* @__PURE__ */ r(Jt, { className: "h-4 w-4" }),
|
|
257
257
|
/* @__PURE__ */ r("span", { className: "sr-only", children: "Close" })
|
|
258
258
|
]
|
|
259
259
|
}
|
|
@@ -362,7 +362,7 @@ function It({ attachment: e }) {
|
|
|
362
362
|
);
|
|
363
363
|
}
|
|
364
364
|
const Tt = q.memo(
|
|
365
|
-
|
|
365
|
+
Ir,
|
|
366
366
|
(e, o) => e.children === o.children && e.className === o.className
|
|
367
367
|
);
|
|
368
368
|
function ve({
|
|
@@ -436,7 +436,7 @@ function he({
|
|
|
436
436
|
}
|
|
437
437
|
);
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function Br(e) {
|
|
440
440
|
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) }) });
|
|
441
441
|
}
|
|
442
442
|
const xe = G.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
|
|
@@ -483,7 +483,7 @@ function me({
|
|
|
483
483
|
(e == null ? void 0 : e.name) && /* @__PURE__ */ r(ye, { children: (n = (t = e == null ? void 0 : e.name) == null ? void 0 : t.slice(0, 1)) == null ? void 0 : n.toUpperCase() })
|
|
484
484
|
] });
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function Lr({ agent: e }) {
|
|
487
487
|
return /* @__PURE__ */ r(S, { children: /* @__PURE__ */ d(
|
|
488
488
|
w,
|
|
489
489
|
{
|
|
@@ -510,7 +510,7 @@ function Br({ agent: e }) {
|
|
|
510
510
|
}
|
|
511
511
|
) });
|
|
512
512
|
}
|
|
513
|
-
const Mt = '@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";*,: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%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.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}.end-6{inset-inline-end:1.5rem}.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-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-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-auto{width:auto;height:auto}.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-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-fit{width:fit-content}.w-full{width:100%}.min-w-80{min-width:20rem}.min-w-\\[8rem\\]{min-width:8rem}.max-w-96{max-width:24rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.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))}@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-1{gap:.25rem}.gap-2{gap:.5rem}.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-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.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-\\[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-2{padding:.5rem}.p-4{padding:1rem}.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\\.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-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.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}.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))}.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-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}.required:after{content:" *";color:red}.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-secondary:hover{background-color:hsl(var(--opencx-secondary))}.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\\: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\\:opacity-50:disabled{opacity:.5}.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))}', Lr = oe.Provider, Yr = oe.Root, qr = oe.Trigger, Dt = G.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
|
|
513
|
+
const Mt = '@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";*,: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%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.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}.end-6{inset-inline-end:1.5rem}.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-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-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-auto{width:auto;height:auto}.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-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-fit{width:fit-content}.w-full{width:100%}.min-w-80{min-width:20rem}.min-w-\\[8rem\\]{min-width:8rem}.max-w-96{max-width:24rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.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))}@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-1{gap:.25rem}.gap-2{gap:.5rem}.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-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.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-\\[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-2{padding:.5rem}.p-4{padding:1rem}.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\\.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-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.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}.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))}.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-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}.required:after{content:" *";color:red}.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-secondary:hover{background-color:hsl(var(--opencx-secondary))}.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\\: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\\:opacity-50:disabled{opacity:.5}.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))}', Yr = oe.Provider, qr = oe.Root, Xr = oe.Trigger, Dt = G.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
|
|
514
514
|
oe.Content,
|
|
515
515
|
{
|
|
516
516
|
ref: n,
|
|
@@ -530,8 +530,8 @@ function J({
|
|
|
530
530
|
align: n
|
|
531
531
|
}) {
|
|
532
532
|
const { disableTooltips: s } = b();
|
|
533
|
-
return !o || s ? e : /* @__PURE__ */ d(
|
|
534
|
-
/* @__PURE__ */ r(
|
|
533
|
+
return !o || s ? e : /* @__PURE__ */ d(qr, { children: [
|
|
534
|
+
/* @__PURE__ */ r(Xr, { asChild: !0, children: e }),
|
|
535
535
|
/* @__PURE__ */ r(
|
|
536
536
|
Dt,
|
|
537
537
|
{
|
|
@@ -561,7 +561,7 @@ const se = {
|
|
|
561
561
|
transitionDuration: "1000ms"
|
|
562
562
|
};
|
|
563
563
|
function X() {
|
|
564
|
-
var u, m, k, f, N, T, _, M, A, F, H,
|
|
564
|
+
var u, m, k, f, N, T, _, M, A, F, H, E, v, C, z, L, ne, Se, _e, Ie, Te, Me, De, Re, je, Ee, Oe, Pe, Ae, Fe, He, We, $e, Be, Le, Ye, qe, Xe, Ue, Ve, Ge, Ke, Qe, Ze, Je, et, tt;
|
|
565
565
|
const { dir: e } = ue(), { isSmallScreen: o } = P(), { theme: t, inline: n } = b(), s = (Y) => n ? "100%" : Y, i = (Y, de) => o ? `100dv${Y}` : de, a = (Y, de) => s(i(Y, de)), c = {
|
|
566
566
|
zIndex: ((u = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : u.zIndex) ?? 1e7,
|
|
567
567
|
offset: {
|
|
@@ -581,7 +581,7 @@ function X() {
|
|
|
581
581
|
primaryColor: (t == null ? void 0 : t.primaryColor) ?? "hsl(0 0% 9%)",
|
|
582
582
|
widgetTrigger: c,
|
|
583
583
|
widgetContentContainer: {
|
|
584
|
-
borderRadius: o ? "0px" : ((
|
|
584
|
+
borderRadius: o ? "0px" : ((E = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : E.borderRadius) ?? "32px",
|
|
585
585
|
zIndex: ((v = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : v.zIndex) ?? c.zIndex + 1,
|
|
586
586
|
outline: ((C = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : C.outline) ?? "none",
|
|
587
587
|
// was: '1px solid'
|
|
@@ -666,13 +666,13 @@ function X() {
|
|
|
666
666
|
return {
|
|
667
667
|
theme: h,
|
|
668
668
|
computed: x,
|
|
669
|
-
cssVars:
|
|
669
|
+
cssVars: Ur({
|
|
670
670
|
palette: h.palette,
|
|
671
671
|
primary: h.primaryColor
|
|
672
672
|
})
|
|
673
673
|
};
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function Ur({
|
|
676
676
|
palette: e,
|
|
677
677
|
primary: o
|
|
678
678
|
}) {
|
|
@@ -786,7 +786,7 @@ function ke({
|
|
|
786
786
|
e && n(e), o && s(o);
|
|
787
787
|
}, [t, o, e, n, s]);
|
|
788
788
|
}
|
|
789
|
-
const st =
|
|
789
|
+
const st = er;
|
|
790
790
|
function ee({
|
|
791
791
|
name: e,
|
|
792
792
|
className: o
|
|
@@ -794,33 +794,33 @@ function ee({
|
|
|
794
794
|
const t = (() => {
|
|
795
795
|
switch (e) {
|
|
796
796
|
case "Check":
|
|
797
|
-
return
|
|
797
|
+
return mr;
|
|
798
798
|
case "CheckCheck":
|
|
799
|
-
return
|
|
799
|
+
return hr;
|
|
800
800
|
case "CircleCheck":
|
|
801
801
|
return wt;
|
|
802
802
|
case "CircleCheckBig":
|
|
803
|
-
return
|
|
803
|
+
return pr;
|
|
804
804
|
case "CircleX":
|
|
805
|
-
return
|
|
805
|
+
return dr;
|
|
806
806
|
case "Expand":
|
|
807
|
-
return
|
|
807
|
+
return cr;
|
|
808
808
|
case "Maximize":
|
|
809
|
-
return
|
|
809
|
+
return lr;
|
|
810
810
|
case "Maximize2":
|
|
811
|
-
return
|
|
811
|
+
return ar;
|
|
812
812
|
case "Minimize":
|
|
813
|
-
return
|
|
813
|
+
return ir;
|
|
814
814
|
case "Minimize2":
|
|
815
|
-
return
|
|
815
|
+
return sr;
|
|
816
816
|
case "Shrink":
|
|
817
|
-
return
|
|
817
|
+
return nr;
|
|
818
818
|
case "SquareCheck":
|
|
819
|
-
return
|
|
819
|
+
return or;
|
|
820
820
|
case "SquareCheckBig":
|
|
821
|
-
return
|
|
821
|
+
return rr;
|
|
822
822
|
case "SquareX":
|
|
823
|
-
return
|
|
823
|
+
return tr;
|
|
824
824
|
case "X":
|
|
825
825
|
return fe;
|
|
826
826
|
case void 0:
|
|
@@ -850,7 +850,7 @@ function Ce() {
|
|
|
850
850
|
}
|
|
851
851
|
})() ?? e.name ?? "Chat";
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function Vr(e) {
|
|
854
854
|
switch (e) {
|
|
855
855
|
case "chat":
|
|
856
856
|
return g("chat/header");
|
|
@@ -863,7 +863,7 @@ function Ur(e) {
|
|
|
863
863
|
return;
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function Gr() {
|
|
867
867
|
const { router: e } = b(), {
|
|
868
868
|
routerState: { screen: o },
|
|
869
869
|
toSessionsScreen: t
|
|
@@ -875,11 +875,11 @@ function Vr() {
|
|
|
875
875
|
size: "fit",
|
|
876
876
|
className: "rounded-full",
|
|
877
877
|
onClick: t,
|
|
878
|
-
children: /* @__PURE__ */ r(
|
|
878
|
+
children: /* @__PURE__ */ r(gr, { className: "size-4 rtl:-scale-100" })
|
|
879
879
|
}
|
|
880
880
|
);
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function Kr({
|
|
883
883
|
button: e
|
|
884
884
|
}) {
|
|
885
885
|
const { setIsOpen: o } = K(), { isSmallScreen: t } = P();
|
|
@@ -1056,7 +1056,7 @@ function Et({
|
|
|
1056
1056
|
function we({ button: e }) {
|
|
1057
1057
|
switch (e.functionality) {
|
|
1058
1058
|
case "close-widget":
|
|
1059
|
-
return /* @__PURE__ */ r(
|
|
1059
|
+
return /* @__PURE__ */ r(Kr, { button: e });
|
|
1060
1060
|
case "expand-shrink":
|
|
1061
1061
|
return /* @__PURE__ */ r(ge, { button: e });
|
|
1062
1062
|
case "resolve-session":
|
|
@@ -1065,16 +1065,16 @@ function we({ button: e }) {
|
|
|
1065
1065
|
return D(e, we.name), null;
|
|
1066
1066
|
}
|
|
1067
1067
|
}
|
|
1068
|
-
const
|
|
1068
|
+
const Qr = {
|
|
1069
1069
|
functionality: "close-widget",
|
|
1070
1070
|
hideOnLargeScreen: !0,
|
|
1071
1071
|
icon: "X"
|
|
1072
1072
|
};
|
|
1073
|
-
function
|
|
1073
|
+
function Zr() {
|
|
1074
1074
|
const {
|
|
1075
1075
|
routerState: { screen: e }
|
|
1076
1076
|
} = $(), { headerButtons: o } = b(), t = e === "chat" ? o == null ? void 0 : o.chatScreen : e === "sessions" ? o == null ? void 0 : o.sessionsScreen : [];
|
|
1077
|
-
return !t || t.length === 0 ? /* @__PURE__ */ r(we, { button:
|
|
1077
|
+
return !t || t.length === 0 ? /* @__PURE__ */ r(we, { button: Qr }) : /* @__PURE__ */ r(te, { children: t.map((n) => /* @__PURE__ */ r(
|
|
1078
1078
|
we,
|
|
1079
1079
|
{
|
|
1080
1080
|
button: n
|
|
@@ -1085,9 +1085,9 @@ function Qr() {
|
|
|
1085
1085
|
function Ot() {
|
|
1086
1086
|
const {
|
|
1087
1087
|
routerState: { screen: e }
|
|
1088
|
-
} = $(), o =
|
|
1088
|
+
} = $(), o = Vr(e), t = Ce();
|
|
1089
1089
|
return /* @__PURE__ */ r("header", { ...o, className: "py-2 px-4 shrink-0", children: /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
|
|
1090
|
-
/* @__PURE__ */ r(
|
|
1090
|
+
/* @__PURE__ */ r(Gr, {}),
|
|
1091
1091
|
/* @__PURE__ */ r(
|
|
1092
1092
|
"div",
|
|
1093
1093
|
{
|
|
@@ -1098,22 +1098,22 @@ function Ot() {
|
|
|
1098
1098
|
children: /* @__PURE__ */ r("h2", { className: "font-semibold", children: t })
|
|
1099
1099
|
}
|
|
1100
1100
|
),
|
|
1101
|
-
/* @__PURE__ */ r(
|
|
1101
|
+
/* @__PURE__ */ r(Zr, {})
|
|
1102
1102
|
] }) });
|
|
1103
1103
|
}
|
|
1104
1104
|
function Pt({ className: e }) {
|
|
1105
|
-
return /* @__PURE__ */ r(
|
|
1105
|
+
return /* @__PURE__ */ r(wr, { className: p("size-4 animate-spin", e) });
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1107
|
+
function Jr() {
|
|
1108
1108
|
const {
|
|
1109
1109
|
messagesState: { isInitialFetchLoading: e }
|
|
1110
|
-
} =
|
|
1110
|
+
} = j(), { isSmallScreen: o } = P(), { activeMode: t, Component: n } = ht();
|
|
1111
1111
|
return {
|
|
1112
1112
|
isCanvasOpen: !e && !o && !!t && !!n
|
|
1113
1113
|
};
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1116
|
-
const { activeMode: e, Component: o } = ht(), { sendMessage: t } =
|
|
1115
|
+
function eo() {
|
|
1116
|
+
const { activeMode: e, Component: o } = ht(), { sendMessage: t } = j(), { createStateCheckpoint: n } = B(), [s, i] = I(!1), a = async (c) => {
|
|
1117
1117
|
try {
|
|
1118
1118
|
i(!0), await t(c);
|
|
1119
1119
|
} catch (l) {
|
|
@@ -1133,7 +1133,7 @@ function Jr() {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
);
|
|
1135
1135
|
}
|
|
1136
|
-
const
|
|
1136
|
+
const O = q.forwardRef(
|
|
1137
1137
|
(e, o) => {
|
|
1138
1138
|
var t, n, s;
|
|
1139
1139
|
return /* @__PURE__ */ r(
|
|
@@ -1151,8 +1151,8 @@ const E = q.forwardRef(
|
|
|
1151
1151
|
);
|
|
1152
1152
|
}
|
|
1153
1153
|
);
|
|
1154
|
-
|
|
1155
|
-
const
|
|
1154
|
+
O.displayName = "MotionDiv__VerticalReveal";
|
|
1155
|
+
const to = [
|
|
1156
1156
|
{
|
|
1157
1157
|
label: "Terrible",
|
|
1158
1158
|
value: 1,
|
|
@@ -1179,7 +1179,7 @@ const eo = [
|
|
|
1179
1179
|
emoji: "😍"
|
|
1180
1180
|
}
|
|
1181
1181
|
];
|
|
1182
|
-
function
|
|
1182
|
+
function ro() {
|
|
1183
1183
|
const { isSmallScreen: e } = P(), {
|
|
1184
1184
|
submitCsat: o,
|
|
1185
1185
|
isCsatRequested: t,
|
|
@@ -1195,7 +1195,7 @@ function to() {
|
|
|
1195
1195
|
});
|
|
1196
1196
|
};
|
|
1197
1197
|
return !t && !n ? null : /* @__PURE__ */ d("div", { className: "w-1/2 min-w-80 max-w-96 mx-auto overflow-hidden", children: [
|
|
1198
|
-
/* @__PURE__ */ r(S, { mode: "wait", children: t && !a ? /* @__PURE__ */ r(
|
|
1198
|
+
/* @__PURE__ */ r(S, { mode: "wait", children: t && !a ? /* @__PURE__ */ r(O, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: "How was your conversation?" }) }, "csat-requested-title") : n ? /* @__PURE__ */ r(O, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: "You rated the conversation as" }) }, "csat-submitted-title") : null }),
|
|
1199
1199
|
/* @__PURE__ */ r(
|
|
1200
1200
|
"div",
|
|
1201
1201
|
{
|
|
@@ -1204,7 +1204,7 @@ function to() {
|
|
|
1204
1204
|
"transition-all",
|
|
1205
1205
|
n && "gap-0 justify-center"
|
|
1206
1206
|
),
|
|
1207
|
-
children:
|
|
1207
|
+
children: to.map((m) => /* @__PURE__ */ r(
|
|
1208
1208
|
y,
|
|
1209
1209
|
{
|
|
1210
1210
|
variant: m.value === a ? "secondary" : "ghost",
|
|
@@ -1226,7 +1226,7 @@ function to() {
|
|
|
1226
1226
|
))
|
|
1227
1227
|
}
|
|
1228
1228
|
),
|
|
1229
|
-
/* @__PURE__ */ r(S, { mode: "wait", children: (a || s) && /* @__PURE__ */ r(
|
|
1229
|
+
/* @__PURE__ */ r(S, { mode: "wait", children: (a || s) && /* @__PURE__ */ r(O, { children: /* @__PURE__ */ d("div", { className: "pb-2 px-2 flex items-end", children: [
|
|
1230
1230
|
/* @__PURE__ */ r(
|
|
1231
1231
|
"textarea",
|
|
1232
1232
|
{
|
|
@@ -1268,9 +1268,9 @@ function to() {
|
|
|
1268
1268
|
function U() {
|
|
1269
1269
|
const { dir: e } = ue(), o = b();
|
|
1270
1270
|
return pt(() => {
|
|
1271
|
-
const t =
|
|
1271
|
+
const t = Tr(o.language) ? o.language : "en";
|
|
1272
1272
|
return {
|
|
1273
|
-
t: (n) =>
|
|
1273
|
+
t: (n) => Mr(n, t, o.translationOverrides),
|
|
1274
1274
|
language: t,
|
|
1275
1275
|
dir: t === "ar" ? "rtl" : "ltr",
|
|
1276
1276
|
hostDocumentDir: e
|
|
@@ -1282,7 +1282,7 @@ function ze({
|
|
|
1282
1282
|
className: o,
|
|
1283
1283
|
...t
|
|
1284
1284
|
}) {
|
|
1285
|
-
const { sendMessage: n } =
|
|
1285
|
+
const { sendMessage: n } = j(), s = () => {
|
|
1286
1286
|
const i = e.trim();
|
|
1287
1287
|
i && n({ content: i });
|
|
1288
1288
|
};
|
|
@@ -1298,7 +1298,7 @@ function ze({
|
|
|
1298
1298
|
}
|
|
1299
1299
|
);
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1301
|
+
function oo() {
|
|
1302
1302
|
const { t: e } = U(), o = [e("i_need_more_help"), e("this_was_helpful")];
|
|
1303
1303
|
return /* @__PURE__ */ r(
|
|
1304
1304
|
"div",
|
|
@@ -1318,9 +1318,9 @@ function ro() {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
function it() {
|
|
1320
1320
|
const { sessionState: e } = B(), { chatFooterItems: o } = b(), t = !!e.session && !e.session.isOpened, n = !t;
|
|
1321
|
-
return /* @__PURE__ */ r(S, { mode: "wait", children: o == null ? void 0 : o.map((s, i) => s.showWhenSessionIsOpen === !1 && n || s.showWhenSessionIsResolved === !1 && t ? null : /* @__PURE__ */ r(
|
|
1321
|
+
return /* @__PURE__ */ r(S, { mode: "wait", children: o == null ? void 0 : o.map((s, i) => s.showWhenSessionIsOpen === !1 && n || s.showWhenSessionIsResolved === !1 && t ? null : /* @__PURE__ */ r(O, { children: /* @__PURE__ */ r("div", { className: "pb-2 text-center text-xs", children: /* @__PURE__ */ r(ve, { children: s.message }) }) }, `${s.message}-${i}`)) });
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1323
|
+
function no({
|
|
1324
1324
|
file: { status: e, file: o, error: t },
|
|
1325
1325
|
onCancel: n
|
|
1326
1326
|
}) {
|
|
@@ -1335,9 +1335,9 @@ function oo({
|
|
|
1335
1335
|
const a = () => {
|
|
1336
1336
|
switch (e) {
|
|
1337
1337
|
case "uploading":
|
|
1338
|
-
return /* @__PURE__ */ r(
|
|
1338
|
+
return /* @__PURE__ */ r(br, { className: "size-4 animate-spin" });
|
|
1339
1339
|
case "error":
|
|
1340
|
-
return /* @__PURE__ */ r(
|
|
1340
|
+
return /* @__PURE__ */ r(xr, { className: "size-4 text-destructive" });
|
|
1341
1341
|
default:
|
|
1342
1342
|
return null;
|
|
1343
1343
|
}
|
|
@@ -1350,7 +1350,7 @@ function oo({
|
|
|
1350
1350
|
className: "object-cover bg-secondary size-full",
|
|
1351
1351
|
alt: o.name
|
|
1352
1352
|
}
|
|
1353
|
-
) : l === "audio" ? /* @__PURE__ */ r(
|
|
1353
|
+
) : l === "audio" ? /* @__PURE__ */ r(yr, {}) : l === "video" ? /* @__PURE__ */ r(kr, {}) : /* @__PURE__ */ r(Cr, {});
|
|
1354
1354
|
};
|
|
1355
1355
|
return /* @__PURE__ */ r(
|
|
1356
1356
|
J,
|
|
@@ -1391,16 +1391,16 @@ function oo({
|
|
|
1391
1391
|
}
|
|
1392
1392
|
);
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1395
|
-
var
|
|
1396
|
-
const { isSmallScreen: e } = P(), o = le(null), { sendMessage: t } =
|
|
1394
|
+
function so() {
|
|
1395
|
+
var E;
|
|
1396
|
+
const { isSmallScreen: e } = P(), o = le(null), { sendMessage: t } = j(), { sessionState: n } = B(), { t: s } = U(), [i, a] = I(""), {
|
|
1397
1397
|
allFiles: c,
|
|
1398
1398
|
emptyTheFiles: l,
|
|
1399
1399
|
handleCancelUpload: h,
|
|
1400
1400
|
appendFiles: x,
|
|
1401
1401
|
isUploading: u,
|
|
1402
1402
|
successFiles: m
|
|
1403
|
-
} =
|
|
1403
|
+
} = qt(), k = !!((E = n.session) != null && E.isHandedOff), { isAwaitingBotReply: f } = gt(), N = (v) => {
|
|
1404
1404
|
x(v);
|
|
1405
1405
|
}, T = !i.trim() && m.length === 0, _ = async () => {
|
|
1406
1406
|
if (f || T) return;
|
|
@@ -1424,7 +1424,7 @@ function no() {
|
|
|
1424
1424
|
getRootProps: M,
|
|
1425
1425
|
getInputProps: A,
|
|
1426
1426
|
open: F
|
|
1427
|
-
} =
|
|
1427
|
+
} = Dr({
|
|
1428
1428
|
onDrop: N,
|
|
1429
1429
|
noClick: !0,
|
|
1430
1430
|
onDropRejected() {
|
|
@@ -1477,7 +1477,7 @@ function no() {
|
|
|
1477
1477
|
...g("chat/input_box/attachments_container"),
|
|
1478
1478
|
className: "flex items-center gap-1",
|
|
1479
1479
|
children: /* @__PURE__ */ r(S, { mode: "popLayout", children: c.map((v) => /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ r(
|
|
1480
|
-
|
|
1480
|
+
no,
|
|
1481
1481
|
{
|
|
1482
1482
|
onCancel: () => h(v.id),
|
|
1483
1483
|
file: v
|
|
@@ -1531,7 +1531,7 @@ function no() {
|
|
|
1531
1531
|
className: p(
|
|
1532
1532
|
"rounded-full size-8 flex items-center justify-center p-0 overflow-hidden"
|
|
1533
1533
|
),
|
|
1534
|
-
children: /* @__PURE__ */ r(S, { mode: "wait", children: k ? /* @__PURE__ */ r(w, { children: /* @__PURE__ */ r(
|
|
1534
|
+
children: /* @__PURE__ */ r(S, { mode: "wait", children: k ? /* @__PURE__ */ r(w, { children: /* @__PURE__ */ r(ur, { className: "size-4" }) }, "paper-clip") : /* @__PURE__ */ r(w, { children: /* @__PURE__ */ r(fr, { className: "size-4" }) }, "image-icon") })
|
|
1535
1535
|
}
|
|
1536
1536
|
)
|
|
1537
1537
|
}
|
|
@@ -1543,7 +1543,7 @@ function no() {
|
|
|
1543
1543
|
onClick: _,
|
|
1544
1544
|
disabled: f || u || T,
|
|
1545
1545
|
className: "rounded-full size-8 flex items-center justify-center p-0",
|
|
1546
|
-
children: /* @__PURE__ */ r(S, { mode: "wait", children: f || u ? /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ r(
|
|
1546
|
+
children: /* @__PURE__ */ r(S, { mode: "wait", children: f || u ? /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ r(vr, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ r(ut, { className: "size-4" }) }, "send") })
|
|
1547
1547
|
}
|
|
1548
1548
|
) })
|
|
1549
1549
|
] })
|
|
@@ -1558,12 +1558,12 @@ function at() {
|
|
|
1558
1558
|
const { widgetCtx: e } = R(), { router: o } = b(), { canCreateNewSession: t } = B(), { toSessionsScreen: n } = $(), { t: s } = U();
|
|
1559
1559
|
return /* @__PURE__ */ r(te, { children: t || o != null && o.chatScreenOnly ? /* @__PURE__ */ r(y, { onClick: e.resetChat, className: "rounded-2xl w-full", children: s("new_conversation") }) : /* @__PURE__ */ r(y, { onClick: n, className: "rounded-2xl w-full", children: s("back_to_conversations") }) });
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function io() {
|
|
1562
1562
|
const { t: e } = U(), { isCsatRequested: o, isCsatSubmitted: t } = mt();
|
|
1563
|
-
return /* @__PURE__ */ r("div", { className: "p-2", children: /* @__PURE__ */ r("div", { className: "p-2 bg-muted rounded-3xl", children: /* @__PURE__ */ r(S, { mode: "wait", children: o || t ? /* @__PURE__ */ d(
|
|
1564
|
-
/* @__PURE__ */ r(
|
|
1565
|
-
/* @__PURE__ */ r(S, { mode: "wait", children: t && /* @__PURE__ */ r(
|
|
1566
|
-
] }, "csat") : /* @__PURE__ */ d(
|
|
1563
|
+
return /* @__PURE__ */ r("div", { className: "p-2", children: /* @__PURE__ */ r("div", { className: "p-2 bg-muted rounded-3xl", children: /* @__PURE__ */ r(S, { mode: "wait", children: o || t ? /* @__PURE__ */ d(O, { children: [
|
|
1564
|
+
/* @__PURE__ */ r(ro, {}),
|
|
1565
|
+
/* @__PURE__ */ r(S, { mode: "wait", children: t && /* @__PURE__ */ r(O, { children: /* @__PURE__ */ r(at, {}) }, "new-conv-or-back-to-convs-button") })
|
|
1566
|
+
] }, "csat") : /* @__PURE__ */ d(O, { children: [
|
|
1567
1567
|
/* @__PURE__ */ d("div", { className: "ps-2 flex items-center gap-1 pb-2", children: [
|
|
1568
1568
|
/* @__PURE__ */ r(wt, { className: "size-4 text-emerald-600" }),
|
|
1569
1569
|
/* @__PURE__ */ r("h2", { className: "text-sm font-medium", children: e("your_issue_has_been_resolved") })
|
|
@@ -1571,14 +1571,14 @@ function so() {
|
|
|
1571
1571
|
/* @__PURE__ */ r(at, {})
|
|
1572
1572
|
] }, "session-closed") }) }) });
|
|
1573
1573
|
}
|
|
1574
|
-
function
|
|
1574
|
+
function ao() {
|
|
1575
1575
|
var a;
|
|
1576
|
-
const { initialQuestions: e, initialQuestionsPosition: o, thisWasHelpfulOrNot: t } = b(), { sessionState: n } = B(), { messagesState: s } =
|
|
1577
|
-
return /* @__PURE__ */ r("footer", { children: /* @__PURE__ */ r(S, { mode: "wait", children: n.session && !((a = n.session) != null && a.isOpened) ? /* @__PURE__ */ d(
|
|
1578
|
-
/* @__PURE__ */ r(
|
|
1576
|
+
const { initialQuestions: e, initialQuestionsPosition: o, thisWasHelpfulOrNot: t } = b(), { sessionState: n } = B(), { messagesState: s } = j(), i = s.messages.length === 0;
|
|
1577
|
+
return /* @__PURE__ */ r("footer", { children: /* @__PURE__ */ r(S, { mode: "wait", children: n.session && !((a = n.session) != null && a.isOpened) ? /* @__PURE__ */ d(O, { children: [
|
|
1578
|
+
/* @__PURE__ */ r(io, {}),
|
|
1579
1579
|
/* @__PURE__ */ r(it, {})
|
|
1580
|
-
] }, "session-closed") : /* @__PURE__ */ d(
|
|
1581
|
-
s.lastAIResMightSolveUserIssue && (t == null ? void 0 : t.enabled) !== !1 && /* @__PURE__ */ r(
|
|
1580
|
+
] }, "session-closed") : /* @__PURE__ */ d(O, { children: [
|
|
1581
|
+
s.lastAIResMightSolveUserIssue && (t == null ? void 0 : t.enabled) !== !1 && /* @__PURE__ */ r(oo, {}),
|
|
1582
1582
|
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((c, l) => /* @__PURE__ */ r(
|
|
1583
1583
|
ze,
|
|
1584
1584
|
{
|
|
@@ -1586,11 +1586,11 @@ function io() {
|
|
|
1586
1586
|
},
|
|
1587
1587
|
`${c}-${l}`
|
|
1588
1588
|
)) }),
|
|
1589
|
-
/* @__PURE__ */ r(
|
|
1589
|
+
/* @__PURE__ */ r(so, {}),
|
|
1590
1590
|
/* @__PURE__ */ r(it, {})
|
|
1591
1591
|
] }, "chat-input") }) });
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function lo({
|
|
1594
1594
|
isFirstInGroup: e,
|
|
1595
1595
|
isLastInGroup: o,
|
|
1596
1596
|
isAloneInGroup: t,
|
|
@@ -1696,7 +1696,7 @@ function Ne({
|
|
|
1696
1696
|
className: p("flex-1 flex flex-col gap-1"),
|
|
1697
1697
|
children: [
|
|
1698
1698
|
e.map((n, s, i) => /* @__PURE__ */ r(
|
|
1699
|
-
|
|
1699
|
+
lo,
|
|
1700
1700
|
{
|
|
1701
1701
|
isFirstInGroup: s === 0,
|
|
1702
1702
|
isLastInGroup: s === i.length - 1,
|
|
@@ -1731,18 +1731,32 @@ function Ne({
|
|
|
1731
1731
|
}
|
|
1732
1732
|
);
|
|
1733
1733
|
}
|
|
1734
|
-
function
|
|
1735
|
-
var s;
|
|
1734
|
+
function Ft() {
|
|
1736
1735
|
const {
|
|
1737
1736
|
widgetCtx: { org: e }
|
|
1738
1737
|
} = R(), {
|
|
1739
1738
|
sessionState: { session: o }
|
|
1740
|
-
} = B(), t = b()
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
return
|
|
1739
|
+
} = B(), t = b(), {
|
|
1740
|
+
messagesState: { messages: n }
|
|
1741
|
+
} = j();
|
|
1742
|
+
return {
|
|
1743
|
+
props: {
|
|
1744
|
+
react: q,
|
|
1745
|
+
org: e,
|
|
1746
|
+
session: o,
|
|
1747
|
+
config: t,
|
|
1748
|
+
messages: n
|
|
1749
|
+
}
|
|
1750
|
+
};
|
|
1744
1751
|
}
|
|
1745
|
-
function co({
|
|
1752
|
+
function co() {
|
|
1753
|
+
var t, n;
|
|
1754
|
+
const { props: e } = Ft();
|
|
1755
|
+
if ((t = e.session) != null && t.isOpened || !e.session) return null;
|
|
1756
|
+
const o = (n = e.config.specialComponents) == null ? void 0 : n.onSessionResolved;
|
|
1757
|
+
return o ? /* @__PURE__ */ r(o, { ...e }) : null;
|
|
1758
|
+
}
|
|
1759
|
+
function po({
|
|
1746
1760
|
message: e,
|
|
1747
1761
|
isFirstInGroup: o,
|
|
1748
1762
|
isLastInGroup: t,
|
|
@@ -1782,7 +1796,7 @@ function co({
|
|
|
1782
1796
|
}
|
|
1783
1797
|
);
|
|
1784
1798
|
}
|
|
1785
|
-
function
|
|
1799
|
+
function ho({
|
|
1786
1800
|
messages: e
|
|
1787
1801
|
}) {
|
|
1788
1802
|
return /* @__PURE__ */ d(
|
|
@@ -1792,7 +1806,7 @@ function po({
|
|
|
1792
1806
|
className: p("group", "flex flex-col gap-1 justify-end items-end"),
|
|
1793
1807
|
children: [
|
|
1794
1808
|
e.map((o, t, n) => /* @__PURE__ */ r(
|
|
1795
|
-
|
|
1809
|
+
po,
|
|
1796
1810
|
{
|
|
1797
1811
|
message: o,
|
|
1798
1812
|
isFirstInGroup: t === 0,
|
|
@@ -1806,7 +1820,7 @@ function po({
|
|
|
1806
1820
|
}
|
|
1807
1821
|
);
|
|
1808
1822
|
}
|
|
1809
|
-
function
|
|
1823
|
+
function mo(e) {
|
|
1810
1824
|
const o = [];
|
|
1811
1825
|
let t = null;
|
|
1812
1826
|
return e.forEach((n) => {
|
|
@@ -1814,22 +1828,22 @@ function ho(e) {
|
|
|
1814
1828
|
(!t || ((s = t[0]) == null ? void 0 : s.type) !== n.type) && (t = [], o.push(t)), ((i = t[0]) == null ? void 0 : i.type) === "AGENT" && n.type === "AGENT" && (((a = n.agent) == null ? void 0 : a.id) !== ((c = t[0].agent) == null ? void 0 : c.id) || ((l = n.agent) == null ? void 0 : l.name) !== ((h = t[0].agent) == null ? void 0 : h.name)) && (t = [], o.push(t)), t.push(n);
|
|
1815
1829
|
}), o;
|
|
1816
1830
|
}
|
|
1817
|
-
function
|
|
1831
|
+
function go(e) {
|
|
1818
1832
|
var o;
|
|
1819
1833
|
return ((o = e == null ? void 0 : e[0]) == null ? void 0 : o.type) === "USER";
|
|
1820
1834
|
}
|
|
1821
|
-
function
|
|
1835
|
+
function wo(e) {
|
|
1822
1836
|
var o;
|
|
1823
1837
|
return ((o = e == null ? void 0 : e[0]) == null ? void 0 : o.type) === "AI";
|
|
1824
1838
|
}
|
|
1825
|
-
function
|
|
1839
|
+
function uo(e) {
|
|
1826
1840
|
var o;
|
|
1827
1841
|
return ((o = e == null ? void 0 : e[0]) == null ? void 0 : o.type) === "AGENT";
|
|
1828
1842
|
}
|
|
1829
|
-
function
|
|
1843
|
+
function fo() {
|
|
1830
1844
|
const {
|
|
1831
1845
|
messagesState: { messages: e }
|
|
1832
|
-
} =
|
|
1846
|
+
} = j(), {
|
|
1833
1847
|
advancedInitialMessages: o = [],
|
|
1834
1848
|
initialQuestionsPosition: t,
|
|
1835
1849
|
initialQuestions: n,
|
|
@@ -1852,18 +1866,18 @@ function uo() {
|
|
|
1852
1866
|
}
|
|
1853
1867
|
) });
|
|
1854
1868
|
}
|
|
1855
|
-
function
|
|
1869
|
+
function vo() {
|
|
1856
1870
|
const {
|
|
1857
1871
|
messagesState: { messages: e }
|
|
1858
|
-
} =
|
|
1872
|
+
} = j(), { chatBannerItems: o } = b();
|
|
1859
1873
|
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(
|
|
1860
1874
|
({ message: t, persistent: n }, s) => e.length > 0 && !n ? null : /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(ve, { children: t }) }, `${t}-${s}`)
|
|
1861
1875
|
) });
|
|
1862
1876
|
}
|
|
1863
|
-
function
|
|
1877
|
+
function xo() {
|
|
1864
1878
|
const {
|
|
1865
1879
|
messagesState: { messages: e }
|
|
1866
|
-
} =
|
|
1880
|
+
} = j(), o = b(), {
|
|
1867
1881
|
advancedInitialMessages: t = [],
|
|
1868
1882
|
initialQuestions: n,
|
|
1869
1883
|
initialQuestionsPosition: s
|
|
@@ -1888,11 +1902,16 @@ function vo() {
|
|
|
1888
1902
|
}
|
|
1889
1903
|
) });
|
|
1890
1904
|
}
|
|
1891
|
-
function
|
|
1905
|
+
function bo() {
|
|
1906
|
+
var t;
|
|
1907
|
+
const { props: e } = Ft(), o = (t = e.config.specialComponents) == null ? void 0 : t.chatBottomComponents;
|
|
1908
|
+
return o ? /* @__PURE__ */ r("div", { children: o.map(({ key: n, component: s }) => /* @__PURE__ */ r(s, { ...e }, n)) }) : null;
|
|
1909
|
+
}
|
|
1910
|
+
function yo() {
|
|
1892
1911
|
const {
|
|
1893
1912
|
messagesState: { messages: e }
|
|
1894
|
-
} =
|
|
1895
|
-
() =>
|
|
1913
|
+
} = j(), { isAwaitingBotReply: o } = gt(), { componentStore: t } = R(), n = b(), s = pt(
|
|
1914
|
+
() => mo(e),
|
|
1896
1915
|
[e]
|
|
1897
1916
|
), i = t.getComponent(
|
|
1898
1917
|
"loading"
|
|
@@ -1912,16 +1931,16 @@ function xo() {
|
|
|
1912
1931
|
ref: a,
|
|
1913
1932
|
className: "max-h-full scroll-smooth relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
|
|
1914
1933
|
children: [
|
|
1915
|
-
/* @__PURE__ */ r(fo, {}),
|
|
1916
|
-
/* @__PURE__ */ r(uo, {}),
|
|
1917
1934
|
/* @__PURE__ */ r(vo, {}),
|
|
1935
|
+
/* @__PURE__ */ r(fo, {}),
|
|
1936
|
+
/* @__PURE__ */ r(xo, {}),
|
|
1918
1937
|
s.map((l) => {
|
|
1919
1938
|
var u, m, k;
|
|
1920
1939
|
const h = (u = l == null ? void 0 : l[0]) == null ? void 0 : u.type, x = (m = l[0]) == null ? void 0 : m.id;
|
|
1921
1940
|
if (!h || !x) return null;
|
|
1922
|
-
if (
|
|
1923
|
-
return /* @__PURE__ */ r(
|
|
1924
|
-
if (
|
|
1941
|
+
if (go(l))
|
|
1942
|
+
return /* @__PURE__ */ r(ho, { messages: l }, x);
|
|
1943
|
+
if (wo(l) || uo(l)) {
|
|
1925
1944
|
const f = (k = l[0]) == null ? void 0 : k.agent;
|
|
1926
1945
|
return /* @__PURE__ */ r(
|
|
1927
1946
|
Ne,
|
|
@@ -1935,17 +1954,18 @@ function xo() {
|
|
|
1935
1954
|
return null;
|
|
1936
1955
|
}),
|
|
1937
1956
|
o && i && /* @__PURE__ */ r(i, { agent: n.bot }),
|
|
1938
|
-
/* @__PURE__ */ r(
|
|
1957
|
+
/* @__PURE__ */ r(bo, {}),
|
|
1958
|
+
/* @__PURE__ */ r(co, {})
|
|
1939
1959
|
]
|
|
1940
1960
|
}
|
|
1941
1961
|
);
|
|
1942
1962
|
}
|
|
1943
|
-
function
|
|
1963
|
+
function ko() {
|
|
1944
1964
|
const {
|
|
1945
1965
|
messagesState: { isInitialFetchLoading: e }
|
|
1946
|
-
} =
|
|
1966
|
+
} = j(), {
|
|
1947
1967
|
sessionState: { session: o }
|
|
1948
|
-
} = B(), { isCanvasOpen: t } =
|
|
1968
|
+
} = B(), { isCanvasOpen: t } = Jr(), { theme: n } = X();
|
|
1949
1969
|
ke({
|
|
1950
1970
|
width: t ? n.screens.chat.withCanvas.width : n.screens.chat.width,
|
|
1951
1971
|
height: t ? n.screens.chat.withCanvas.height : n.screens.chat.height
|
|
@@ -1994,8 +2014,8 @@ function bo() {
|
|
|
1994
2014
|
transitionDuration: n.screens.chat.withCanvas.transitionDuration
|
|
1995
2015
|
},
|
|
1996
2016
|
children: [
|
|
1997
|
-
/* @__PURE__ */ r(
|
|
1998
|
-
/* @__PURE__ */ r(
|
|
2017
|
+
/* @__PURE__ */ r(yo, {}),
|
|
2018
|
+
/* @__PURE__ */ r(ao, {})
|
|
1999
2019
|
]
|
|
2000
2020
|
}
|
|
2001
2021
|
),
|
|
@@ -2011,7 +2031,7 @@ function bo() {
|
|
|
2011
2031
|
transitionTimingFunction: n.screens.chat.withCanvas.transitionTimingFunction,
|
|
2012
2032
|
transitionDuration: n.screens.chat.withCanvas.transitionDuration
|
|
2013
2033
|
},
|
|
2014
|
-
children: /* @__PURE__ */ r(
|
|
2034
|
+
children: /* @__PURE__ */ r(eo, {})
|
|
2015
2035
|
}
|
|
2016
2036
|
)
|
|
2017
2037
|
]
|
|
@@ -2022,7 +2042,7 @@ function bo() {
|
|
|
2022
2042
|
}
|
|
2023
2043
|
);
|
|
2024
2044
|
}
|
|
2025
|
-
function
|
|
2045
|
+
function Co({
|
|
2026
2046
|
className: e,
|
|
2027
2047
|
...o
|
|
2028
2048
|
}) {
|
|
@@ -2034,7 +2054,7 @@ function yo({
|
|
|
2034
2054
|
}
|
|
2035
2055
|
);
|
|
2036
2056
|
}
|
|
2037
|
-
function
|
|
2057
|
+
function zo({ className: e }) {
|
|
2038
2058
|
return /* @__PURE__ */ r(
|
|
2039
2059
|
"svg",
|
|
2040
2060
|
{
|
|
@@ -2054,7 +2074,7 @@ function ko({ className: e }) {
|
|
|
2054
2074
|
}
|
|
2055
2075
|
);
|
|
2056
2076
|
}
|
|
2057
|
-
function
|
|
2077
|
+
function Ht({ className: e }) {
|
|
2058
2078
|
const { token: o } = b();
|
|
2059
2079
|
return /* @__PURE__ */ r(
|
|
2060
2080
|
"div",
|
|
@@ -2078,7 +2098,7 @@ function Ft({ className: e }) {
|
|
|
2078
2098
|
/* @__PURE__ */ r("span", { children: "Powered by" }),
|
|
2079
2099
|
/* @__PURE__ */ r("span", { children: " " }),
|
|
2080
2100
|
/* @__PURE__ */ d("span", { className: "flex items-center gap-[1px]", children: [
|
|
2081
|
-
/* @__PURE__ */ r("span", { children: /* @__PURE__ */ r(
|
|
2101
|
+
/* @__PURE__ */ r("span", { children: /* @__PURE__ */ r(zo, { className: "size-3 inline-block" }) }),
|
|
2082
2102
|
/* @__PURE__ */ r("span", { className: "font-semibold", children: "open" })
|
|
2083
2103
|
] })
|
|
2084
2104
|
]
|
|
@@ -2087,7 +2107,7 @@ function Ft({ className: e }) {
|
|
|
2087
2107
|
}
|
|
2088
2108
|
);
|
|
2089
2109
|
}
|
|
2090
|
-
function
|
|
2110
|
+
function No({ children: e }) {
|
|
2091
2111
|
return /* @__PURE__ */ r("p", { className: "ps-4 text-xs text-muted-foreground/75 uppercase font-semibold tracking-tight", children: e });
|
|
2092
2112
|
}
|
|
2093
2113
|
function lt({
|
|
@@ -2109,7 +2129,7 @@ function lt({
|
|
|
2109
2129
|
/* @__PURE__ */ d("div", { className: "flex-1 flex gap-2 items-center", children: [
|
|
2110
2130
|
/* @__PURE__ */ r(S, { mode: "wait", children: /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ d(xe, { className: "size-10", children: [
|
|
2111
2131
|
/* @__PURE__ */ r(be, { src: i, alt: "Agent Icon" }),
|
|
2112
|
-
/* @__PURE__ */ r(ye, { children: /* @__PURE__ */ r(
|
|
2132
|
+
/* @__PURE__ */ r(ye, { children: /* @__PURE__ */ r(zr, { className: "size-4" }) })
|
|
2113
2133
|
] }) }) }),
|
|
2114
2134
|
/* @__PURE__ */ d("div", { className: "flex-1", children: [
|
|
2115
2135
|
/* @__PURE__ */ r(S, { mode: "wait", children: /* @__PURE__ */ r(w, { snapExit: !0, children: s }, s) }),
|
|
@@ -2121,15 +2141,15 @@ function lt({
|
|
|
2121
2141
|
className: "line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",
|
|
2122
2142
|
children: e.lastMessage
|
|
2123
2143
|
}
|
|
2124
|
-
) }, e.lastMessage || "content") : /* @__PURE__ */ r(w, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r(
|
|
2144
|
+
) }, e.lastMessage || "content") : /* @__PURE__ */ r(w, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r(Co, { className: "h-4 w-full" }) }, "skeleton") })
|
|
2125
2145
|
] })
|
|
2126
2146
|
] }),
|
|
2127
|
-
/* @__PURE__ */ r(
|
|
2147
|
+
/* @__PURE__ */ r(Nr, { className: "size-4 text-muted-foreground shrink-0 rtl:-scale-100" })
|
|
2128
2148
|
]
|
|
2129
2149
|
}
|
|
2130
2150
|
);
|
|
2131
2151
|
}
|
|
2132
|
-
function
|
|
2152
|
+
function So() {
|
|
2133
2153
|
const { t: e } = U(), { toChatScreen: o } = $(), {
|
|
2134
2154
|
sessionsState: { data: t, isInitialFetchLoading: n },
|
|
2135
2155
|
openSessions: s,
|
|
@@ -2167,7 +2187,7 @@ function zo() {
|
|
|
2167
2187
|
delay: 0.2,
|
|
2168
2188
|
snapExit: !0,
|
|
2169
2189
|
children: [
|
|
2170
|
-
/* @__PURE__ */ r(
|
|
2190
|
+
/* @__PURE__ */ r(No, { children: e("closed_conversations") }),
|
|
2171
2191
|
i.map((c) => /* @__PURE__ */ r(
|
|
2172
2192
|
lt,
|
|
2173
2193
|
{
|
|
@@ -2210,7 +2230,7 @@ function zo() {
|
|
|
2210
2230
|
"sessions"
|
|
2211
2231
|
) }) });
|
|
2212
2232
|
}
|
|
2213
|
-
function
|
|
2233
|
+
function _o() {
|
|
2214
2234
|
const { theme: e } = X();
|
|
2215
2235
|
return ke({
|
|
2216
2236
|
width: e.screens.sessions.width,
|
|
@@ -2232,8 +2252,8 @@ function No() {
|
|
|
2232
2252
|
},
|
|
2233
2253
|
children: /* @__PURE__ */ d("div", { className: "size-full flex flex-col", children: [
|
|
2234
2254
|
/* @__PURE__ */ r(Ot, {}),
|
|
2235
|
-
/* @__PURE__ */ r(
|
|
2236
|
-
/* @__PURE__ */ r(
|
|
2255
|
+
/* @__PURE__ */ r(So, {}),
|
|
2256
|
+
/* @__PURE__ */ r(Ht, {})
|
|
2237
2257
|
] })
|
|
2238
2258
|
}
|
|
2239
2259
|
);
|
|
@@ -2259,7 +2279,7 @@ const ie = G.forwardRef(
|
|
|
2259
2279
|
}
|
|
2260
2280
|
);
|
|
2261
2281
|
ie.displayName = "Input";
|
|
2262
|
-
function
|
|
2282
|
+
function Io() {
|
|
2263
2283
|
const { contentIframeRef: e } = R(), { inline: o } = b(), t = le(null);
|
|
2264
2284
|
return re(() => {
|
|
2265
2285
|
const n = e == null ? void 0 : e.current;
|
|
@@ -2281,25 +2301,25 @@ function So() {
|
|
|
2281
2301
|
}
|
|
2282
2302
|
}, [e, o]), { observedElementRef: t };
|
|
2283
2303
|
}
|
|
2284
|
-
const
|
|
2304
|
+
const To = pe.object({
|
|
2285
2305
|
name: pe.string().min(2),
|
|
2286
2306
|
email: pe.string().email()
|
|
2287
2307
|
});
|
|
2288
|
-
function
|
|
2289
|
-
var _, M, A, F, H,
|
|
2308
|
+
function Mo() {
|
|
2309
|
+
var _, M, A, F, H, E, v, C;
|
|
2290
2310
|
const {
|
|
2291
2311
|
widgetCtx: { org: e }
|
|
2292
|
-
} = R(), { setIsOpen: o } = K(), { createUnverifiedContact: t } =
|
|
2312
|
+
} = R(), { setIsOpen: o } = K(), { createUnverifiedContact: t } = Xt(), { isSmallScreen: n } = P(), s = b(), { theme: i } = X(), { t: a } = U(), { observedElementRef: c } = Io();
|
|
2293
2313
|
ke({
|
|
2294
2314
|
height: void 0,
|
|
2295
2315
|
width: i.screens.welcome.width
|
|
2296
2316
|
});
|
|
2297
2317
|
const [l, h] = I(((_ = s.prefillUserData) == null ? void 0 : _.name) || ""), [x, u] = I(((M = s.prefillUserData) == null ? void 0 : M.email) || ""), m = (s.extraDataCollectionFields || []).filter(
|
|
2298
2318
|
(z) => z !== "name" && z !== "email" && !!z
|
|
2299
|
-
), [k, f] = I({}), [N, T] =
|
|
2319
|
+
), [k, f] = I({}), [N, T] = Rr(
|
|
2300
2320
|
async (z) => {
|
|
2301
2321
|
z.preventDefault();
|
|
2302
|
-
const L =
|
|
2322
|
+
const L = To.safeParse({ name: l, email: x });
|
|
2303
2323
|
L.success && await t(
|
|
2304
2324
|
{
|
|
2305
2325
|
email: L.data.email,
|
|
@@ -2354,7 +2374,7 @@ function Io() {
|
|
|
2354
2374
|
}
|
|
2355
2375
|
) : /* @__PURE__ */ r("h2", { className: "font-bold text-sm", children: e.name }) }),
|
|
2356
2376
|
/* @__PURE__ */ d("div", { className: "space-y-2", children: [
|
|
2357
|
-
/* @__PURE__ */ r("h1", { className: "text-[1.75rem] font-semibold tracking-tight leading-none", children: ((
|
|
2377
|
+
/* @__PURE__ */ r("h1", { className: "text-[1.75rem] font-semibold tracking-tight leading-none", children: ((E = (H = s.textContent) == null ? void 0 : H.welcomeScreen) == null ? void 0 : E.title) || a("welcome_screen_title") }),
|
|
2358
2378
|
/* @__PURE__ */ r("p", { className: "text-sm", children: ((C = (v = s.textContent) == null ? void 0 : v.welcomeScreen) == null ? void 0 : C.description) || a("welcome_screen_description") })
|
|
2359
2379
|
] })
|
|
2360
2380
|
]
|
|
@@ -2412,12 +2432,12 @@ function Io() {
|
|
|
2412
2432
|
size: "lg",
|
|
2413
2433
|
children: [
|
|
2414
2434
|
N.loading ? a("start_chat_button_loading") : a("start_chat_button"),
|
|
2415
|
-
/* @__PURE__ */ r(
|
|
2435
|
+
/* @__PURE__ */ r(Sr, { className: "size-4 rtl:-scale-100" })
|
|
2416
2436
|
]
|
|
2417
2437
|
}
|
|
2418
2438
|
)
|
|
2419
2439
|
] }),
|
|
2420
|
-
/* @__PURE__ */ r(
|
|
2440
|
+
/* @__PURE__ */ r(Ht, {})
|
|
2421
2441
|
]
|
|
2422
2442
|
}
|
|
2423
2443
|
)
|
|
@@ -2427,7 +2447,7 @@ function Io() {
|
|
|
2427
2447
|
}
|
|
2428
2448
|
);
|
|
2429
2449
|
}
|
|
2430
|
-
function
|
|
2450
|
+
function Wt() {
|
|
2431
2451
|
const {
|
|
2432
2452
|
routerState: { screen: e }
|
|
2433
2453
|
} = $();
|
|
@@ -2440,7 +2460,7 @@ function Ht() {
|
|
|
2440
2460
|
fadeIn: "right",
|
|
2441
2461
|
className: "size-full",
|
|
2442
2462
|
snapExit: !0,
|
|
2443
|
-
children: /* @__PURE__ */ r(
|
|
2463
|
+
children: /* @__PURE__ */ r(Mo, {})
|
|
2444
2464
|
},
|
|
2445
2465
|
e
|
|
2446
2466
|
);
|
|
@@ -2451,7 +2471,7 @@ function Ht() {
|
|
|
2451
2471
|
fadeIn: "right",
|
|
2452
2472
|
className: "size-full",
|
|
2453
2473
|
snapExit: !0,
|
|
2454
|
-
children: /* @__PURE__ */ r(
|
|
2474
|
+
children: /* @__PURE__ */ r(_o, {})
|
|
2455
2475
|
},
|
|
2456
2476
|
e
|
|
2457
2477
|
);
|
|
@@ -2462,16 +2482,16 @@ function Ht() {
|
|
|
2462
2482
|
fadeIn: "right",
|
|
2463
2483
|
className: "size-full",
|
|
2464
2484
|
snapExit: !0,
|
|
2465
|
-
children: /* @__PURE__ */ r(
|
|
2485
|
+
children: /* @__PURE__ */ r(ko, {})
|
|
2466
2486
|
},
|
|
2467
2487
|
e
|
|
2468
2488
|
);
|
|
2469
2489
|
default:
|
|
2470
|
-
return D(e,
|
|
2490
|
+
return D(e, Wt.name), null;
|
|
2471
2491
|
}
|
|
2472
2492
|
})() }) });
|
|
2473
2493
|
}
|
|
2474
|
-
const
|
|
2494
|
+
const Do = "4.0.20", Ro = `<!DOCTYPE html>
|
|
2475
2495
|
<html>
|
|
2476
2496
|
<head>
|
|
2477
2497
|
<style>
|
|
@@ -2489,7 +2509,7 @@ html, body {
|
|
|
2489
2509
|
<body>
|
|
2490
2510
|
</body>
|
|
2491
2511
|
</html>`;
|
|
2492
|
-
function
|
|
2512
|
+
function $t() {
|
|
2493
2513
|
const { isOpen: e } = K(), { contentIframeRef: o } = R(), { cssOverrides: t, inline: n } = b(), { theme: s, cssVars: i, computed: a } = X(), { dir: c } = U();
|
|
2494
2514
|
return /* @__PURE__ */ r(
|
|
2495
2515
|
Z.div,
|
|
@@ -2514,7 +2534,7 @@ function Wt() {
|
|
|
2514
2534
|
xt,
|
|
2515
2535
|
{
|
|
2516
2536
|
ref: o,
|
|
2517
|
-
initialContent:
|
|
2537
|
+
initialContent: Ro,
|
|
2518
2538
|
allowFullScreen: !0,
|
|
2519
2539
|
title: "OpenCX Live Chat",
|
|
2520
2540
|
style: {
|
|
@@ -2551,17 +2571,17 @@ function Wt() {
|
|
|
2551
2571
|
...i,
|
|
2552
2572
|
zIndex: s.widgetContentContainer.zIndex
|
|
2553
2573
|
},
|
|
2554
|
-
"data-version":
|
|
2574
|
+
"data-version": Do,
|
|
2555
2575
|
className: p(
|
|
2556
2576
|
"antialiased font-sans size-full overflow-hidden relative text-secondary-foreground isolate"
|
|
2557
2577
|
),
|
|
2558
2578
|
dir: c,
|
|
2559
2579
|
children: /* @__PURE__ */ r(
|
|
2560
|
-
|
|
2580
|
+
Yr,
|
|
2561
2581
|
{
|
|
2562
2582
|
delayDuration: 200,
|
|
2563
2583
|
disableHoverableContent: !0,
|
|
2564
|
-
children: /* @__PURE__ */ r(
|
|
2584
|
+
children: /* @__PURE__ */ r(Wr, { children: /* @__PURE__ */ r(Wt, {}) })
|
|
2565
2585
|
}
|
|
2566
2586
|
)
|
|
2567
2587
|
}
|
|
@@ -2572,7 +2592,7 @@ function Wt() {
|
|
|
2572
2592
|
}
|
|
2573
2593
|
);
|
|
2574
2594
|
}
|
|
2575
|
-
function
|
|
2595
|
+
function jo() {
|
|
2576
2596
|
const { theme: e } = X();
|
|
2577
2597
|
return /* @__PURE__ */ r(
|
|
2578
2598
|
ae.Content,
|
|
@@ -2588,11 +2608,11 @@ function Do() {
|
|
|
2588
2608
|
sideOffset: e.widgetContentContainer.offset.side,
|
|
2589
2609
|
alignOffset: e.widgetContentContainer.offset.align,
|
|
2590
2610
|
avoidCollisions: !1,
|
|
2591
|
-
children: /* @__PURE__ */ r(
|
|
2611
|
+
children: /* @__PURE__ */ r($t, {})
|
|
2592
2612
|
}
|
|
2593
2613
|
);
|
|
2594
2614
|
}
|
|
2595
|
-
function
|
|
2615
|
+
function Eo({
|
|
2596
2616
|
className: e,
|
|
2597
2617
|
style: o
|
|
2598
2618
|
}) {
|
|
@@ -2627,7 +2647,7 @@ function Ro({
|
|
|
2627
2647
|
}
|
|
2628
2648
|
);
|
|
2629
2649
|
}
|
|
2630
|
-
const
|
|
2650
|
+
const Oo = `<!DOCTYPE html>
|
|
2631
2651
|
<html>
|
|
2632
2652
|
<head>
|
|
2633
2653
|
<style>
|
|
@@ -2644,13 +2664,13 @@ html, body {
|
|
|
2644
2664
|
<body>
|
|
2645
2665
|
</body>
|
|
2646
2666
|
</html>`;
|
|
2647
|
-
function
|
|
2667
|
+
function Po() {
|
|
2648
2668
|
var i, a;
|
|
2649
2669
|
const { isOpen: e } = K(), { cssOverrides: o, assets: t } = b(), { theme: n, cssVars: s } = X();
|
|
2650
2670
|
return /* @__PURE__ */ d(
|
|
2651
2671
|
xt,
|
|
2652
2672
|
{
|
|
2653
|
-
initialContent:
|
|
2673
|
+
initialContent: Oo,
|
|
2654
2674
|
style: {
|
|
2655
2675
|
height: `calc(${n.widgetTrigger.size.button}px + ${V.x * 2}px)`,
|
|
2656
2676
|
width: `calc(${n.widgetTrigger.size.button}px + ${V.y * 2}px)`,
|
|
@@ -2721,7 +2741,7 @@ function Eo() {
|
|
|
2721
2741
|
}
|
|
2722
2742
|
}
|
|
2723
2743
|
) : /* @__PURE__ */ r(
|
|
2724
|
-
|
|
2744
|
+
_r,
|
|
2725
2745
|
{
|
|
2726
2746
|
style: {
|
|
2727
2747
|
width: n.widgetTrigger.size.icon,
|
|
@@ -2750,7 +2770,7 @@ function Eo() {
|
|
|
2750
2770
|
}
|
|
2751
2771
|
}
|
|
2752
2772
|
) : /* @__PURE__ */ r(
|
|
2753
|
-
|
|
2773
|
+
Eo,
|
|
2754
2774
|
{
|
|
2755
2775
|
style: {
|
|
2756
2776
|
width: n.widgetTrigger.size.icon,
|
|
@@ -2772,7 +2792,7 @@ function Eo() {
|
|
|
2772
2792
|
}
|
|
2773
2793
|
);
|
|
2774
2794
|
}
|
|
2775
|
-
function
|
|
2795
|
+
function Ao() {
|
|
2776
2796
|
const { dir: e } = ue();
|
|
2777
2797
|
return /* @__PURE__ */ r(
|
|
2778
2798
|
ae.Anchor,
|
|
@@ -2786,22 +2806,22 @@ function Oo() {
|
|
|
2786
2806
|
}
|
|
2787
2807
|
);
|
|
2788
2808
|
}
|
|
2789
|
-
function
|
|
2809
|
+
function Fo() {
|
|
2790
2810
|
const { isOpen: e, setIsOpen: o } = K();
|
|
2791
2811
|
return /* @__PURE__ */ d(ae.Root, { open: e, onOpenChange: o, children: [
|
|
2792
|
-
/* @__PURE__ */ r(
|
|
2793
|
-
/* @__PURE__ */ r(
|
|
2794
|
-
/* @__PURE__ */ r(
|
|
2812
|
+
/* @__PURE__ */ r(Ao, {}),
|
|
2813
|
+
/* @__PURE__ */ r(Po, {}),
|
|
2814
|
+
/* @__PURE__ */ r(jo, {})
|
|
2795
2815
|
] });
|
|
2796
2816
|
}
|
|
2797
|
-
const
|
|
2817
|
+
const Ho = [
|
|
2798
2818
|
{
|
|
2799
2819
|
key: "loading",
|
|
2800
|
-
component:
|
|
2820
|
+
component: Lr
|
|
2801
2821
|
},
|
|
2802
2822
|
{
|
|
2803
2823
|
key: "fallback",
|
|
2804
|
-
component:
|
|
2824
|
+
component: Br
|
|
2805
2825
|
},
|
|
2806
2826
|
{
|
|
2807
2827
|
key: "bot_message",
|
|
@@ -2811,7 +2831,7 @@ const Ao = [
|
|
|
2811
2831
|
key: "agent_message",
|
|
2812
2832
|
component: he
|
|
2813
2833
|
}
|
|
2814
|
-
],
|
|
2834
|
+
], Wo = {
|
|
2815
2835
|
get: async (e) => localStorage.getItem(e),
|
|
2816
2836
|
set: async (e, o) => {
|
|
2817
2837
|
localStorage.setItem(e, o);
|
|
@@ -2820,23 +2840,23 @@ const Ao = [
|
|
|
2820
2840
|
localStorage.removeItem(e);
|
|
2821
2841
|
}
|
|
2822
2842
|
};
|
|
2823
|
-
function
|
|
2843
|
+
function sn({
|
|
2824
2844
|
options: e,
|
|
2825
2845
|
components: o = [],
|
|
2826
2846
|
loadingComponent: t
|
|
2827
2847
|
}) {
|
|
2828
2848
|
return /* @__PURE__ */ r(
|
|
2829
|
-
|
|
2849
|
+
Ut,
|
|
2830
2850
|
{
|
|
2831
|
-
components: [...
|
|
2851
|
+
components: [...Ho, ...o],
|
|
2832
2852
|
options: e,
|
|
2833
|
-
storage:
|
|
2853
|
+
storage: Wo,
|
|
2834
2854
|
loadingComponent: t,
|
|
2835
|
-
children: /* @__PURE__ */ r(
|
|
2855
|
+
children: /* @__PURE__ */ r(Vt, { children: e.inline ? /* @__PURE__ */ r($t, {}) : /* @__PURE__ */ r(Fo, {}) })
|
|
2836
2856
|
}
|
|
2837
2857
|
);
|
|
2838
2858
|
}
|
|
2839
2859
|
export {
|
|
2840
|
-
|
|
2860
|
+
sn as Widget
|
|
2841
2861
|
};
|
|
2842
2862
|
//# sourceMappingURL=index.js.map
|