@opencx/widget-react 4.0.55 → 4.0.57

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.js CHANGED
@@ -1,25 +1,25 @@
1
- import { jsx as r, jsxs as d, Fragment as Q } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as d, Fragment as J } from "react/jsx-runtime";
2
2
  import * as me from "@radix-ui/react-popover";
3
- import * as J from "react";
4
- import L, { memo as rr, forwardRef as yt, useState as D, cloneElement as kt, createContext as or, useEffect as se, useContext as nr, useRef as B, useCallback as V, useMemo as Ct, createElement as ct } from "react";
5
- import { useWidget as O, useConfig as C, useSessions as U, useMessages as A, useWidgetRouter as H, useDocumentDir as ke, useWidgetTrigger as G, useModes as zt, useCsat as Nt, useUploadFiles as sr, useIsAwaitingBotReply as St, useContact as _t, WidgetProvider as ar, WidgetTriggerProvider as ir } from "@opencx/widget-react-headless";
6
- import { X as lr, ZoomOut as cr, ZoomIn as dr, RotateCcw as pr, FileText as It, FileSpreadsheet as Tt, CircleDashedIcon as mr, XIcon as Ce, SquareXIcon as hr, SquareCheckBigIcon as ur, SquareCheckIcon as gr, ShrinkIcon as wr, Minimize2Icon as fr, MinimizeIcon as xr, Maximize2Icon as vr, MaximizeIcon as br, ExpandIcon as yr, CircleXIcon as kr, CircleCheckBigIcon as Cr, CircleCheckIcon as Mt, CheckCheckIcon as zr, CheckIcon as Nr, ChevronLeftIcon as Sr, LoaderIcon as _r, ArrowUpIcon as Dt, PaperclipIcon as dt, CircleDashed as Ir, AlertCircle as Tr, Loader2 as Mr, FileAudio2Icon as Dr, FileVideo2Icon as Er, FileIcon as Rr, UserRoundIcon as Pr, ChevronRightIcon as jr, SendHorizontal as Or, ChevronDownIcon as Ar } from "lucide-react";
3
+ import * as ee from "react";
4
+ import L, { memo as rr, forwardRef as yt, useState as R, cloneElement as kt, createContext as or, useEffect as se, useContext as nr, useRef as B, useCallback as G, useMemo as Ct, createElement as ct } from "react";
5
+ import { useWidget as O, useConfig as N, useSessions as U, useMessages as A, useWidgetRouter as H, useDocumentDir as ke, useWidgetTrigger as Z, useModes as zt, useCsat as Nt, useUploadFiles as sr, useIsAwaitingBotReply as St, useContact as _t, WidgetProvider as ar, WidgetTriggerProvider as ir } from "@opencx/widget-react-headless";
6
+ import { X as lr, ZoomOut as cr, ZoomIn as dr, RotateCcw as pr, FileText as It, FileSpreadsheet as Tt, CircleDashedIcon as mr, XIcon as Ce, SquareXIcon as hr, SquareCheckBigIcon as gr, SquareCheckIcon as ur, ShrinkIcon as wr, Minimize2Icon as fr, MinimizeIcon as xr, Maximize2Icon as vr, MaximizeIcon as br, ExpandIcon as yr, CircleXIcon as kr, CircleCheckBigIcon as Cr, CircleCheckIcon as Mt, CheckCheckIcon as zr, CheckIcon as Nr, ChevronLeftIcon as Sr, LoaderIcon as _r, ArrowUpIcon as Dt, PaperclipIcon as dt, CircleDashed as Ir, AlertCircle as Tr, Loader2 as Mr, FileAudio2Icon as Dr, FileVideo2Icon as Er, FileIcon as Rr, UserRoundIcon as Pr, ChevronRightIcon as jr, SendHorizontal as Or, ChevronDownIcon as Ar } from "lucide-react";
7
7
  import { clsx as Fr } from "clsx";
8
8
  import { twMerge as Hr } from "tailwind-merge";
9
- import { motion as re, AnimatePresence as T } from "framer-motion";
9
+ import { motion as re, AnimatePresence as M } from "framer-motion";
10
10
  import { Slot as Wr } from "@radix-ui/react-slot";
11
11
  import { cva as Lr } from "class-variance-authority";
12
12
  import Et from "remark-gfm";
13
13
  import $r from "react-markdown";
14
14
  import Rt from "rehype-raw";
15
15
  import { isExhaustive as F, isSupportedLanguage as Br, getTranslation as Yr } from "@opencx/widget-core";
16
- import * as ee from "@radix-ui/react-avatar";
16
+ import * as te from "@radix-ui/react-avatar";
17
17
  import Pt from "@uiw/react-iframe";
18
18
  import * as ae from "@radix-ui/react-tooltip";
19
19
  import pt from "tinycolor2";
20
20
  import { useDropzone as Ur } from "react-dropzone";
21
21
  import Xr from "react-use/lib/useAsyncFn";
22
- import { z as ge } from "zod";
22
+ import { z as ue } from "zod";
23
23
  function f(e) {
24
24
  return { "data-component": e };
25
25
  }
@@ -55,44 +55,44 @@ function jt({
55
55
  function m(...e) {
56
56
  return Hr(Fr(e));
57
57
  }
58
- const K = {
58
+ const Q = {
59
59
  x: 2,
60
60
  y: 2
61
61
  }, Y = rr(
62
62
  yt(
63
63
  ({ children: e, className: o, scale: t = 1.02, off: n = !1 }, s) => {
64
- const [i, a] = D(!1), [l, c] = D({ x: 0, y: 0 });
64
+ const [i, a] = R(!1), [l, c] = R({ x: 0, y: 0 });
65
65
  if (n || /translate/.test(
66
66
  e.props.className || ""
67
67
  )) return e;
68
- const x = (b) => {
69
- var M, h;
70
- const { clientX: z, clientY: _ } = b, y = b.currentTarget.getBoundingClientRect(), E = z - (y.left + y.width / 2), P = _ - (y.top + y.height / 2), j = Math.max(
68
+ const v = (x) => {
69
+ var E, g;
70
+ const { clientX: z, clientY: I } = x, y = x.currentTarget.getBoundingClientRect(), k = z - (y.left + y.width / 2), D = I - (y.top + y.height / 2), j = Math.max(
71
71
  -1,
72
- Math.min(1, E / (y.width / 2))
72
+ Math.min(1, k / (y.width / 2))
73
73
  ), w = Math.max(
74
74
  -1,
75
- Math.min(1, P / (y.height / 2))
76
- ), I = j * K.x, R = w * K.y;
77
- c({ x: I, y: R }), (h = (M = e.props).onMouseMove) == null || h.call(M, b);
78
- }, v = () => {
79
- var b, z;
80
- a(!0), (z = (b = e.props).onMouseEnter) == null || z.call(b);
81
- }, g = () => {
82
- var b, z;
83
- a(!1), c({ x: 0, y: 0 }), (z = (b = e.props).onMouseLeave) == null || z.call(b);
84
- }, u = {
75
+ Math.min(1, D / (y.height / 2))
76
+ ), T = j * Q.x, P = w * Q.y;
77
+ c({ x: T, y: P }), (g = (E = e.props).onMouseMove) == null || g.call(E, x);
78
+ }, b = () => {
79
+ var x, z;
80
+ a(!0), (z = (x = e.props).onMouseEnter) == null || z.call(x);
81
+ }, u = () => {
82
+ var x, z;
83
+ a(!1), c({ x: 0, y: 0 }), (z = (x = e.props).onMouseLeave) == null || z.call(x);
84
+ }, h = {
85
85
  "--wobble-x": i ? `${l.x}px` : "0px",
86
86
  "--wobble-y": i ? `${l.y}px` : "0px",
87
87
  "--scale": 1 - (t - 1)
88
88
  };
89
89
  return kt(e, {
90
90
  ref: s,
91
- onMouseMove: x,
92
- onMouseEnter: v,
93
- onMouseLeave: g,
91
+ onMouseMove: v,
92
+ onMouseEnter: b,
93
+ onMouseLeave: u,
94
94
  style: {
95
- ...u,
95
+ ...h,
96
96
  ...e.props.style
97
97
  },
98
98
  className: m(
@@ -129,7 +129,7 @@ const qr = 10, Vr = (e, o, t) => ({
129
129
  left: Gr,
130
130
  up: Zr,
131
131
  down: Kr
132
- }, k = yt(
132
+ }, C = yt(
133
133
  ({
134
134
  fadeIn: e = "down",
135
135
  distance: o = qr,
@@ -143,7 +143,7 @@ const qr = 10, Vr = (e, o, t) => ({
143
143
  return n && c.exit && typeof c.exit == "object" && !Array.isArray(c.exit) && (c.exit.transition = { duration: 0 }), /* @__PURE__ */ r(re.div, { ref: l, ...a, ...c, children: t });
144
144
  }
145
145
  );
146
- k.displayName = "MotionDiv";
146
+ C.displayName = "MotionDiv";
147
147
  const Jr = Lr(
148
148
  m(
149
149
  "inline-flex shrink-0 items-center justify-center gap-2",
@@ -183,7 +183,7 @@ const Jr = Lr(
183
183
  size: "default"
184
184
  }
185
185
  }
186
- ), N = J.forwardRef(
186
+ ), S = ee.forwardRef(
187
187
  ({ className: e, variant: o = "default", size: t, asChild: n = !1, ...s }, i) => /* @__PURE__ */ r(Y, { ref: i, children: /* @__PURE__ */ r(
188
188
  n ? Wr : "button",
189
189
  {
@@ -194,10 +194,10 @@ const Jr = Lr(
194
194
  }
195
195
  ) })
196
196
  );
197
- N.displayName = "Button";
197
+ S.displayName = "Button";
198
198
  const Ot = or(null);
199
199
  function eo({ children: e }) {
200
- const [o, t] = D(!1), [n, s] = D(null), i = (l) => {
200
+ const [o, t] = R(!1), [n, s] = R(null), i = (l) => {
201
201
  s(l), t(!0);
202
202
  }, a = () => {
203
203
  t(!1), setTimeout(() => {
@@ -243,8 +243,8 @@ function to() {
243
243
  s
244
244
  );
245
245
  };
246
- }, []), /* @__PURE__ */ r(T, { mode: "wait", children: o && t && /* @__PURE__ */ r(
247
- k,
246
+ }, []), /* @__PURE__ */ r(M, { mode: "wait", children: o && t && /* @__PURE__ */ r(
247
+ C,
248
248
  {
249
249
  overrides: {
250
250
  initial: { y: 0 },
@@ -275,7 +275,7 @@ function ze({
275
275
  children: [
276
276
  e,
277
277
  t && /* @__PURE__ */ d(
278
- N,
278
+ S,
279
279
  {
280
280
  size: "fit",
281
281
  className: "rounded-full absolute top-4 right-4 opacity-50 hover:opacity-100",
@@ -344,10 +344,13 @@ function Ne({
344
344
  }) {
345
345
  const { open: t } = he();
346
346
  return kt(o, {
347
- onClick: () => t(e)
347
+ onClick: () => {
348
+ var s, i;
349
+ t(e), (i = (s = o.props).onClick) == null || i.call(s);
350
+ }
348
351
  });
349
352
  }
350
- const ht = 1, ut = 5, le = 0.5, ro = 2.5;
353
+ const ht = 1, gt = 5, le = 0.5, ro = 2.5;
351
354
  function oo(e, o, t, n) {
352
355
  if (!t || !n || o <= 1) return { x: 0, y: 0 };
353
356
  const s = t.getBoundingClientRect(), i = n.offsetWidth, a = n.offsetHeight, l = Math.max(0, (i * o - s.width) / (2 * o)), c = Math.max(
@@ -363,46 +366,46 @@ function $t({
363
366
  src: e,
364
367
  alt: o
365
368
  }) {
366
- const [t, n] = D(1), [s, i] = D({ x: 0, y: 0 }), [a, l] = D(!1), c = B({ x: 0, y: 0 }), p = B({ x: 0, y: 0 }), x = B(null), v = B(null), g = B(!1), u = (w) => Math.min(ut, Math.max(ht, w)), b = V(() => {
369
+ const [t, n] = R(1), [s, i] = R({ x: 0, y: 0 }), [a, l] = R(!1), c = B({ x: 0, y: 0 }), p = B({ x: 0, y: 0 }), v = B(null), b = B(null), u = B(!1), h = (w) => Math.min(gt, Math.max(ht, w)), x = G(() => {
367
370
  n(1), i({ x: 0, y: 0 });
368
- }, []), z = V(() => {
369
- n((w) => u(w + le));
370
- }, []), _ = V(() => {
371
+ }, []), z = G(() => {
372
+ n((w) => h(w + le));
373
+ }, []), I = G(() => {
371
374
  n((w) => {
372
- const I = u(w - le);
373
- return I <= 1 && i({ x: 0, y: 0 }), I;
375
+ const T = h(w - le);
376
+ return T <= 1 && i({ x: 0, y: 0 }), T;
374
377
  });
375
378
  }, []);
376
- V((w) => {
379
+ G((w) => {
377
380
  w.preventDefault(), w.stopPropagation();
378
- const I = w.deltaY > 0 ? -le : le;
379
- n((R) => {
380
- const M = u(R + I);
381
- return M <= 1 && i({ x: 0, y: 0 }), M;
381
+ const T = w.deltaY > 0 ? -le : le;
382
+ n((P) => {
383
+ const E = h(P + T);
384
+ return E <= 1 && i({ x: 0, y: 0 }), E;
382
385
  });
383
386
  }, []);
384
- const y = V(
387
+ const y = G(
385
388
  (w) => {
386
- w.preventDefault(), g.current = !1, l(!0), c.current = { x: w.clientX, y: w.clientY }, p.current = { ...s }, w.target.setPointerCapture(w.pointerId);
389
+ w.preventDefault(), u.current = !1, l(!0), c.current = { x: w.clientX, y: w.clientY }, p.current = { ...s }, w.target.setPointerCapture(w.pointerId);
387
390
  },
388
391
  [s]
389
- ), E = V(
392
+ ), k = G(
390
393
  (w) => {
391
394
  if (!a) return;
392
- const I = w.clientX - c.current.x, R = w.clientY - c.current.y;
393
- if ((Math.abs(I) > 3 || Math.abs(R) > 3) && (g.current = !0), t <= 1) return;
394
- const M = {
395
- x: p.current.x + I / t,
396
- y: p.current.y + R / t
395
+ const T = w.clientX - c.current.x, P = w.clientY - c.current.y;
396
+ if ((Math.abs(T) > 3 || Math.abs(P) > 3) && (u.current = !0), t <= 1) return;
397
+ const E = {
398
+ x: p.current.x + T / t,
399
+ y: p.current.y + P / t
397
400
  };
398
401
  i(
399
- oo(M, t, x.current, v.current)
402
+ oo(E, t, v.current, b.current)
400
403
  );
401
404
  },
402
405
  [a, t]
403
- ), P = V(() => {
404
- const w = g.current;
405
- l(!1), !w && n((I) => I > 1 ? (i({ x: 0, y: 0 }), 1) : ro);
406
+ ), D = G(() => {
407
+ const w = u.current;
408
+ l(!1), !w && n((T) => T > 1 ? (i({ x: 0, y: 0 }), 1) : ro);
406
409
  }, []), j = t > 1;
407
410
  return /* @__PURE__ */ d(
408
411
  "div",
@@ -413,15 +416,15 @@ function $t({
413
416
  /* @__PURE__ */ r(
414
417
  "div",
415
418
  {
416
- ref: x,
419
+ ref: v,
417
420
  className: m(
418
421
  "overflow-hidden max-h-full max-w-full rounded-2xl flex items-center justify-center",
419
422
  j && "size-full"
420
423
  ),
421
424
  onPointerDown: y,
422
- onPointerMove: E,
423
- onPointerUp: P,
424
- onPointerCancel: P,
425
+ onPointerMove: k,
426
+ onPointerUp: D,
427
+ onPointerCancel: D,
425
428
  style: {
426
429
  cursor: a ? "grabbing" : j ? "grab" : "zoom-in",
427
430
  touchAction: "none"
@@ -429,7 +432,7 @@ function $t({
429
432
  children: /* @__PURE__ */ r(
430
433
  "img",
431
434
  {
432
- ref: v,
435
+ ref: b,
433
436
  src: e,
434
437
  alt: o,
435
438
  className: "block max-w-full object-contain pointer-events-none",
@@ -445,15 +448,15 @@ function $t({
445
448
  }
446
449
  ),
447
450
  /* @__PURE__ */ d("div", { className: "absolute bottom-3 left-1/2 -translate-x-1/2 flex items-center gap-1 bg-black/60 backdrop-blur-sm rounded-full px-1.5 py-1 transition opacity-50 hover:opacity-100", children: [
448
- /* @__PURE__ */ r(we, { onClick: _, label: "Zoom out", disabled: t <= ht, children: /* @__PURE__ */ r(cr, { className: "size-3.5" }) }),
451
+ /* @__PURE__ */ r(we, { onClick: I, label: "Zoom out", disabled: t <= ht, children: /* @__PURE__ */ r(cr, { className: "size-3.5" }) }),
449
452
  /* @__PURE__ */ d("span", { className: "text-white text-xs font-medium min-w-[3ch] text-center tabular-nums", children: [
450
453
  Math.round(t * 100),
451
454
  "%"
452
455
  ] }),
453
- /* @__PURE__ */ r(we, { onClick: z, label: "Zoom in", disabled: t >= ut, children: /* @__PURE__ */ r(dr, { className: "size-3.5" }) }),
454
- j && /* @__PURE__ */ d(Q, { children: [
456
+ /* @__PURE__ */ r(we, { onClick: z, label: "Zoom in", disabled: t >= gt, children: /* @__PURE__ */ r(dr, { className: "size-3.5" }) }),
457
+ j && /* @__PURE__ */ d(J, { children: [
455
458
  /* @__PURE__ */ r("div", { className: "w-px h-4 bg-white/30 mx-0.5" }),
456
- /* @__PURE__ */ r(we, { onClick: b, label: "Reset zoom", children: /* @__PURE__ */ r(pr, { className: "size-3.5" }) })
459
+ /* @__PURE__ */ r(we, { onClick: x, label: "Reset zoom", children: /* @__PURE__ */ r(pr, { className: "size-3.5" }) })
457
460
  ] })
458
461
  ] })
459
462
  ]
@@ -477,7 +480,7 @@ function we({
477
480
  }
478
481
  );
479
482
  }
480
- function gt({
483
+ function ut({
481
484
  url: e,
482
485
  name: o,
483
486
  size: t,
@@ -558,7 +561,7 @@ function Bt({ attachment: e }) {
558
561
  );
559
562
  if (c)
560
563
  return /* @__PURE__ */ r(
561
- gt,
564
+ ut,
562
565
  {
563
566
  url: s,
564
567
  name: o,
@@ -569,7 +572,7 @@ function Bt({ attachment: e }) {
569
572
  );
570
573
  const p = jt({ type: n, name: o });
571
574
  return p ? /* @__PURE__ */ r(
572
- gt,
575
+ ut,
573
576
  {
574
577
  url: s,
575
578
  name: o,
@@ -607,7 +610,7 @@ function Se({
607
610
  messageType: o,
608
611
  messageId: t
609
612
  }) {
610
- const { anchorTarget: n } = C();
613
+ const { anchorTarget: n } = N();
611
614
  return /* @__PURE__ */ r(
612
615
  Yt,
613
616
  {
@@ -644,12 +647,12 @@ function Se({
644
647
  }
645
648
  );
646
649
  }
647
- function te() {
650
+ function X() {
648
651
  const {
649
652
  widgetCtx: { org: e }
650
653
  } = O(), {
651
654
  sessionState: { session: o }
652
- } = U(), t = C(), {
655
+ } = U(), t = N(), {
653
656
  messagesState: { messages: n }
654
657
  } = A(), {
655
658
  routerState: { screen: s }
@@ -667,7 +670,7 @@ function no({
667
670
  currentMessage: e
668
671
  }) {
669
672
  var n;
670
- const o = te(), t = (n = o.config.customComponents) == null ? void 0 : n["message::after"];
673
+ const o = X(), t = (n = o.config.customComponents) == null ? void 0 : n["message::after"];
671
674
  return t ? /* @__PURE__ */ r(t, { ...o, currentMessage: e }) : null;
672
675
  }
673
676
  function xe(e) {
@@ -683,7 +686,7 @@ function xe(e) {
683
686
  classNames: p
684
687
  } = e;
685
688
  if (n !== "AI" && n !== "AGENT") return null;
686
- const { message: x, variant: v = "default" } = o;
689
+ const { message: v, variant: b = "default" } = o;
687
690
  return /* @__PURE__ */ d(
688
691
  "div",
689
692
  {
@@ -693,8 +696,8 @@ function xe(e) {
693
696
  p == null ? void 0 : p.messageContainer
694
697
  ),
695
698
  children: [
696
- s && s.length > 0 && /* @__PURE__ */ r("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((g) => /* @__PURE__ */ r(Bt, { attachment: g }, g.id)) }),
697
- x.length > 0 && /* @__PURE__ */ d("div", { className: "flex flex-row gap-2", children: [
699
+ s && s.length > 0 && /* @__PURE__ */ r("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((u) => /* @__PURE__ */ r(Bt, { attachment: u }, u.id)) }),
700
+ v.length > 0 && /* @__PURE__ */ d("div", { className: "flex flex-row gap-2", children: [
698
701
  /* @__PURE__ */ r(
699
702
  "div",
700
703
  {
@@ -702,7 +705,7 @@ function xe(e) {
702
705
  "data-first": i,
703
706
  "data-last": a,
704
707
  "data-alone": l,
705
- "data-variant": v,
708
+ "data-variant": b,
706
709
  className: m(
707
710
  "transition-all",
708
711
  "w-fit py-3 px-4 rounded-3xl bg-secondary text-secondary-foreground",
@@ -711,14 +714,14 @@ function xe(e) {
711
714
  // `[word-break:break-word]` is deprecated but works in the browser, while `break-words` which is `[overflow-wrap: break-word]` does not work
712
715
  // No need to add "whitespace-pre-wrap" in the agent or bot message because it is markup and content appear on separate lines as expected
713
716
  // Adding "whitespace-pre-wrap" will result in unnecessarily huge line breaks
714
- v === "error" && "bg-destructive/15 text-destructive",
717
+ b === "error" && "bg-destructive/15 text-destructive",
715
718
  // We're using the booleans directly here, not the data attributes, to make any external styling more specific than this
716
719
  i && !l && "rounded-bl-md",
717
720
  a && !l && "rounded-tl-md",
718
721
  !i && !a && !l && "rounded-l-md",
719
722
  p == null ? void 0 : p.message
720
723
  ),
721
- children: /* @__PURE__ */ r(Se, { messageType: n, messageId: t, children: x })
724
+ children: /* @__PURE__ */ r(Se, { messageType: n, messageId: t, children: v })
722
725
  }
723
726
  ),
724
727
  /* @__PURE__ */ r(no, { currentMessage: e })
@@ -730,8 +733,8 @@ function xe(e) {
730
733
  function so(e) {
731
734
  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) }) });
732
735
  }
733
- const _e = J.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
734
- ee.Root,
736
+ const _e = ee.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
737
+ te.Root,
735
738
  {
736
739
  ref: t,
737
740
  className: m(
@@ -742,18 +745,18 @@ const _e = J.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
742
745
  ...o
743
746
  }
744
747
  ));
745
- _e.displayName = ee.Root.displayName;
746
- const Ie = J.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
747
- ee.Image,
748
+ _e.displayName = te.Root.displayName;
749
+ const Ie = ee.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
750
+ te.Image,
748
751
  {
749
752
  ref: t,
750
753
  className: m("aspect-square h-full w-full", e),
751
754
  ...o
752
755
  }
753
756
  ));
754
- Ie.displayName = ee.Image.displayName;
755
- const Te = J.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
756
- ee.Fallback,
757
+ Ie.displayName = te.Image.displayName;
758
+ const Te = ee.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
759
+ te.Fallback,
757
760
  {
758
761
  ref: t,
759
762
  className: m(
@@ -763,7 +766,7 @@ const Te = J.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
763
766
  ...o
764
767
  }
765
768
  ));
766
- Te.displayName = ee.Fallback.displayName;
769
+ Te.displayName = te.Fallback.displayName;
767
770
  function ve({
768
771
  agent: e,
769
772
  ...o
@@ -775,8 +778,8 @@ function ve({
775
778
  ] });
776
779
  }
777
780
  function ao({ agent: e }) {
778
- return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ d(
779
- k,
781
+ return /* @__PURE__ */ r(M, { children: /* @__PURE__ */ d(
782
+ C,
780
783
  {
781
784
  ...f("chat/bot_loading/root"),
782
785
  className: "flex flex-row items-end w-full gap-2 animate-pulse",
@@ -801,7 +804,7 @@ function ao({ agent: e }) {
801
804
  }
802
805
  ) });
803
806
  }
804
- const Ut = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}*{border-color:hsl(var(--opencx-border))}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.end-6{inset-inline-end:1.5rem}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.mt-auto{margin-top:auto}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-0{width:0px;height:0px}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-3{width:.75rem;height:.75rem}.size-3\\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-full{max-height:100%}.min-h-12{min-height:3rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\\/5{width:40%}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-dvw{width:100dvw}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-80{min-width:20rem}.min-w-\\[3ch\\]{min-width:3ch}.min-w-\\[8rem\\]{min-width:8rem}.max-w-96{max-width:24rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-\\[min\\(100\\%\\,16rem\\)\\]{max-width:min(100%,16rem)}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\\[2\\]{flex:2}.shrink-0{flex-shrink:0}.-translate-x-1\\/2,.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[var\\(--wobble-x\\)\\]{--tw-translate-x: var(--wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[var\\(--wobble-y\\)\\]{--tw-translate-y: var(--wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.scroll-smooth{scroll-behavior:smooth}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[20px\\]{border-radius:20px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-none{border-style:none}.border-transparent{border-color:transparent}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-background{background-color:hsl(var(--opencx-background))}.bg-background\\/80{background-color:hsl(var(--opencx-background) / .8)}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\\/30{background-color:#ffffff4d}.bg-\\[radial-gradient\\(ellipse_at_top_left\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\,radial-gradient\\(ellipse_at_top_right\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\]{background-image:radial-gradient(ellipse at top left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse at top right,hsl(var(--opencx-primary)),transparent)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pe-2{padding-inline-end:.5rem}.pe-4{padding-inline-end:1rem}.ps-2{padding-inline-start:.5rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[16px\\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--opencx-destructive))}.text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-foreground{color:hsl(var(--opencx-foreground))}.text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.text-muted-foreground\\/70{color:hsl(var(--opencx-muted-foreground) / .7)}.text-muted-foreground\\/75{color:hsl(var(--opencx-muted-foreground) / .75)}.text-primary{color:hsl(var(--opencx-primary))}.text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}.text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\\/80{color:#fffc}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-8{outline-width:8px}.outline-background{outline-color:hsl(var(--opencx-background))}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[height\\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in{--tw-enter-scale: 0}.zoom-in-95{--tw-enter-scale: .95}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[word-break\\:break-word\\]{word-break:break-word}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}.placeholder\\:text-muted-foreground\\/75::placeholder{color:hsl(var(--opencx-muted-foreground) / .75)}.focus-within\\:border-primary:focus-within{border-color:hsl(var(--opencx-primary))}.hover\\:scale-\\[var\\(--scale\\)\\]:hover{--tw-scale-x: var(--scale);--tw-scale-y: var(--scale);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:border-primary:hover{border-color:hsl(var(--opencx-primary))}.hover\\:bg-accent\\/60:hover{background-color:hsl(var(--opencx-accent) / .6)}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:bg-white\\/15:hover{background-color:#ffffff26}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:hover\\:scale-\\[calc\\(var\\(--scale\\)-0\\.02\\)\\]:hover:active{--tw-scale-x: calc(var(--scale) - .02);--tw-scale-y: calc(var(--scale) - .02);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:active\\:scale-95:active:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:text-white\\/30:disabled{color:#ffffff4d}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\\:opacity-100{opacity:1}.group:hover .group-hover\\:active\\:scale-90:active,.group:active .group-active\\:scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}.prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}.rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}', io = ae.Provider, lo = ae.Root, co = ae.Trigger, Xt = J.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
807
+ const Ut = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}*{border-color:hsl(var(--opencx-border))}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.end-6{inset-inline-end:1.5rem}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.mt-auto{margin-top:auto}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-0{width:0px;height:0px}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-3{width:.75rem;height:.75rem}.size-3\\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-full{max-height:100%}.min-h-12{min-height:3rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\\/5{width:40%}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-dvw{width:100dvw}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-80{min-width:20rem}.min-w-\\[3ch\\]{min-width:3ch}.min-w-\\[8rem\\]{min-width:8rem}.max-w-96{max-width:24rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-\\[min\\(100\\%\\,16rem\\)\\]{max-width:min(100%,16rem)}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\\[2\\]{flex:2}.shrink-0{flex-shrink:0}.-translate-x-1\\/2,.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[var\\(--wobble-x\\)\\]{--tw-translate-x: var(--wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[var\\(--wobble-y\\)\\]{--tw-translate-y: var(--wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.scroll-smooth{scroll-behavior:smooth}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[20px\\]{border-radius:20px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-none{border-style:none}.border-transparent{border-color:transparent}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-background{background-color:hsl(var(--opencx-background))}.bg-background\\/80{background-color:hsl(var(--opencx-background) / .8)}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\\/30{background-color:#ffffff4d}.bg-\\[radial-gradient\\(ellipse_at_top_left\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\,radial-gradient\\(ellipse_at_top_right\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\]{background-image:radial-gradient(ellipse at top left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse at top right,hsl(var(--opencx-primary)),transparent)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pe-2{padding-inline-end:.5rem}.pe-4{padding-inline-end:1rem}.ps-2{padding-inline-start:.5rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[16px\\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--opencx-destructive))}.text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-foreground{color:hsl(var(--opencx-foreground))}.text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.text-muted-foreground\\/70{color:hsl(var(--opencx-muted-foreground) / .7)}.text-muted-foreground\\/75{color:hsl(var(--opencx-muted-foreground) / .75)}.text-primary{color:hsl(var(--opencx-primary))}.text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}.text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\\/80{color:#fffc}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-8{outline-width:8px}.outline-background{outline-color:hsl(var(--opencx-background))}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[height\\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in{--tw-enter-scale: 0}.zoom-in-95{--tw-enter-scale: .95}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[word-break\\:break-word\\]{word-break:break-word}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}.placeholder\\:text-muted-foreground\\/75::placeholder{color:hsl(var(--opencx-muted-foreground) / .75)}.focus-within\\:border-primary:focus-within{border-color:hsl(var(--opencx-primary))}.hover\\:scale-\\[var\\(--scale\\)\\]:hover{--tw-scale-x: var(--scale);--tw-scale-y: var(--scale);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:border-primary:hover{border-color:hsl(var(--opencx-primary))}.hover\\:bg-accent\\/60:hover{background-color:hsl(var(--opencx-accent) / .6)}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:bg-white\\/15:hover{background-color:#ffffff26}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:hover\\:scale-\\[calc\\(var\\(--scale\\)-0\\.02\\)\\]:hover:active{--tw-scale-x: calc(var(--scale) - .02);--tw-scale-y: calc(var(--scale) - .02);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:active\\:scale-95:active:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:text-white\\/30:disabled{color:#ffffff4d}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\\:opacity-100{opacity:1}.group:hover .group-hover\\:active\\:scale-90:active,.group:active .group-active\\:scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}.prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}.rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}', io = ae.Provider, lo = ae.Root, co = ae.Trigger, Xt = ee.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
805
808
  ae.Content,
806
809
  {
807
810
  ref: n,
@@ -820,7 +823,7 @@ function oe({
820
823
  side: t,
821
824
  align: n
822
825
  }) {
823
- const { disableTooltips: s } = C();
826
+ const { disableTooltips: s } = N();
824
827
  return !o || s ? e : /* @__PURE__ */ d(lo, { children: [
825
828
  /* @__PURE__ */ r(co, { asChild: !0, children: e }),
826
829
  /* @__PURE__ */ r(
@@ -851,38 +854,38 @@ const ce = {
851
854
  transitionTimingFunction: "cubic-bezier(0.16, 1, 0.3, 1)",
852
855
  transitionDuration: "1000ms"
853
856
  };
854
- function Z() {
855
- var v, g, u, b, z, _, y, E, P, j, w, I, R, M, h, S, ie, Re, Pe, je, Oe, Ae, Fe, He, We, Le, $e, Be, Ye, Ue, Xe, qe, Ve, Ge, Ze, Ke, Qe, Je, et, tt, rt, ot, nt, st, at, it, lt;
856
- const { dir: e } = ke(), { isSmallScreen: o } = $(), { theme: t, inline: n } = C(), s = (X) => n ? "100%" : X, i = (X, ue) => o ? `100dv${X}` : ue, a = (X, ue) => s(i(X, ue)), l = {
857
- zIndex: ((v = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : v.zIndex) ?? 1e7,
857
+ function K() {
858
+ var b, u, h, x, z, I, y, k, D, j, w, T, P, E, g, _, ie, Re, Pe, je, Oe, Ae, Fe, He, We, Le, $e, Be, Ye, Ue, Xe, qe, Ve, Ge, Ze, Ke, Qe, Je, et, tt, rt, ot, nt, st, at, it, lt;
859
+ const { dir: e } = ke(), { isSmallScreen: o } = $(), { theme: t, inline: n } = N(), s = (q) => n ? "100%" : q, i = (q, ge) => o ? `100dv${q}` : ge, a = (q, ge) => s(i(q, ge)), l = {
860
+ zIndex: ((b = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : b.zIndex) ?? 1e7,
858
861
  offset: {
859
- bottom: ((u = (g = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : g.offset) == null ? void 0 : u.bottom) ?? 20,
860
- right: ((z = (b = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : b.offset) == null ? void 0 : z.right) ?? (e === "ltr" ? 20 : "initial"),
861
- left: ((y = (_ = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : _.offset) == null ? void 0 : y.left) ?? (e === "rtl" ? 20 : "initial")
862
+ bottom: ((h = (u = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : u.offset) == null ? void 0 : h.bottom) ?? 20,
863
+ right: ((z = (x = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : x.offset) == null ? void 0 : z.right) ?? (e === "ltr" ? 20 : "initial"),
864
+ left: ((y = (I = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : I.offset) == null ? void 0 : y.left) ?? (e === "rtl" ? 20 : "initial")
862
865
  },
863
866
  size: {
864
- button: ((P = (E = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : E.size) == null ? void 0 : P.button) ?? 48,
867
+ button: ((D = (k = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : k.size) == null ? void 0 : D.button) ?? 48,
865
868
  icon: ((w = (j = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : j.size) == null ? void 0 : w.icon) ?? 24
866
869
  }
867
870
  }, c = (() => {
868
- const X = e === "ltr" ? l.offset.right : l.offset.left;
869
- return typeof X != "number" ? 0 : X;
871
+ const q = e === "ltr" ? l.offset.right : l.offset.left;
872
+ return typeof q != "number" ? 0 : q;
870
873
  })(), p = {
871
874
  palette: (t == null ? void 0 : t.palette) ?? "neutral",
872
875
  primaryColor: (t == null ? void 0 : t.primaryColor) ?? "hsl(0 0% 9%)",
873
876
  widgetTrigger: l,
874
877
  widgetContentContainer: {
875
- borderRadius: o ? "0px" : ((I = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : I.borderRadius) ?? "32px",
876
- zIndex: ((R = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : R.zIndex) ?? l.zIndex + 1,
877
- outline: ((M = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : M.outline) ?? "none",
878
+ borderRadius: o ? "0px" : ((T = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : T.borderRadius) ?? "32px",
879
+ zIndex: ((P = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : P.zIndex) ?? l.zIndex + 1,
880
+ outline: ((E = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : E.outline) ?? "none",
878
881
  // was: '1px solid'
879
- outlineColor: ((h = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : h.outlineColor) ?? "hsl(0 0% 50% / .5)",
880
- boxShadow: ((S = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : S.boxShadow) ?? "0 0px 100px 0px rgb(0 0 0 / 0.25)",
882
+ outlineColor: ((g = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : g.outlineColor) ?? "hsl(0 0% 50% / .5)",
883
+ boxShadow: ((_ = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : _.boxShadow) ?? "0 0px 100px 0px rgb(0 0 0 / 0.25)",
881
884
  transitionProperty: ((ie = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : ie.transitionProperty) ?? "all",
882
885
  transitionTimingFunction: ((Re = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : Re.transitionTimingFunction) ?? ce.transitionTimingFunction,
883
886
  transitionDuration: ((Pe = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : Pe.transitionDuration) ?? ce.transitionDuration,
884
887
  offset: {
885
- side: o ? 0 : l.offset.bottom + l.size.button + K.y * 2 + (((Oe = (je = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : je.offset) == null ? void 0 : Oe.side) ?? 10),
888
+ side: o ? 0 : l.offset.bottom + l.size.button + Q.y * 2 + (((Oe = (je = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : je.offset) == null ? void 0 : Oe.side) ?? 10),
886
889
  align: o ? 0 : c + (((Fe = (Ae = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : Ae.offset) == null ? void 0 : Fe.align) ?? 0)
887
890
  }
888
891
  },
@@ -916,7 +919,7 @@ function Z() {
916
919
  }
917
920
  }
918
921
  }
919
- }, x = {
922
+ }, v = {
920
923
  // Subtract the offset.bottom twice so that it adds a bit of padding to the top
921
924
  // Subtract the distance between the trigger and the widget content container
922
925
  // Subtract the invisible padding of the trigger (for the wobble effect)
@@ -926,7 +929,7 @@ function Z() {
926
929
  100vh
927
930
  - ${p.widgetTrigger.offset.bottom}px
928
931
  - ${p.widgetContentContainer.offset.side}px
929
- - ${K.y * 2}px
932
+ - ${Q.y * 2}px
930
933
  )`
931
934
  ),
932
935
  // Subtract the offset.right twice so that it adds a bit of padding to the left
@@ -956,7 +959,7 @@ function Z() {
956
959
  };
957
960
  return {
958
961
  theme: p,
959
- computed: x,
962
+ computed: v,
960
963
  cssVars: po({
961
964
  palette: p.palette,
962
965
  primary: p.primaryColor
@@ -1050,7 +1053,7 @@ function qt(e) {
1050
1053
  }
1051
1054
  }
1052
1055
  function Vt() {
1053
- const { contentIframeRef: e } = O(), { inline: o } = C();
1056
+ const { contentIframeRef: e } = O(), { inline: o } = N();
1054
1057
  return {
1055
1058
  setWidth: (t) => {
1056
1059
  var n;
@@ -1107,9 +1110,9 @@ function ne({
1107
1110
  case "Shrink":
1108
1111
  return wr;
1109
1112
  case "SquareCheck":
1110
- return gr;
1111
- case "SquareCheckBig":
1112
1113
  return ur;
1114
+ case "SquareCheckBig":
1115
+ return gr;
1113
1116
  case "SquareX":
1114
1117
  return hr;
1115
1118
  case "X":
@@ -1124,12 +1127,12 @@ function ne({
1124
1127
  }
1125
1128
  function mo() {
1126
1129
  var t;
1127
- const e = te(), o = (t = e.config.customComponents) == null ? void 0 : t.headerBottom;
1130
+ const e = X(), o = (t = e.config.customComponents) == null ? void 0 : t.headerBottom;
1128
1131
  return o ? /* @__PURE__ */ r(o, { ...e }) : null;
1129
1132
  }
1130
1133
  function ho({ fallback: e }) {
1131
1134
  var n;
1132
- const o = te(), t = (n = o.config.customComponents) == null ? void 0 : n.headerTitle;
1135
+ const o = X(), t = (n = o.config.customComponents) == null ? void 0 : n.headerTitle;
1133
1136
  return t ? /* @__PURE__ */ r(t, { ...o }) : e;
1134
1137
  }
1135
1138
  function De() {
@@ -1137,7 +1140,7 @@ function De() {
1137
1140
  widgetCtx: { org: e }
1138
1141
  } = O(), {
1139
1142
  routerState: { screen: o }
1140
- } = H(), { textContent: t } = C();
1143
+ } = H(), { textContent: t } = N();
1141
1144
  return (() => {
1142
1145
  var s, i;
1143
1146
  switch (o) {
@@ -1153,7 +1156,7 @@ function De() {
1153
1156
  }
1154
1157
  })() ?? e.name ?? "Chat";
1155
1158
  }
1156
- function uo(e) {
1159
+ function go(e) {
1157
1160
  switch (e) {
1158
1161
  case "chat":
1159
1162
  return f("chat/header");
@@ -1166,13 +1169,13 @@ function uo(e) {
1166
1169
  return;
1167
1170
  }
1168
1171
  }
1169
- function go() {
1170
- const { router: e } = C(), {
1172
+ function uo() {
1173
+ const { router: e } = N(), {
1171
1174
  routerState: { screen: o },
1172
1175
  toSessionsScreen: t
1173
1176
  } = H();
1174
1177
  return o !== "chat" || e != null && e.chatScreenOnly ? null : /* @__PURE__ */ r(
1175
- N,
1178
+ S,
1176
1179
  {
1177
1180
  variant: "ghost",
1178
1181
  size: "fit",
@@ -1185,16 +1188,16 @@ function go() {
1185
1188
  function wo({
1186
1189
  button: e
1187
1190
  }) {
1188
- const { setIsOpen: o } = G(), { isSmallScreen: t } = $();
1191
+ const { setIsOpen: o } = Z(), { isSmallScreen: t } = $(), n = X();
1189
1192
  return t && e.hideOnSmallScreen || !t && e.hideOnLargeScreen ? null : /* @__PURE__ */ r(
1190
- N,
1193
+ S,
1191
1194
  {
1192
1195
  variant: "ghost",
1193
1196
  size: "fit",
1194
1197
  className: "rounded-full",
1195
1198
  onClick: () => {
1196
- if (e.handleClick) return e.handleClick();
1197
- o(!1);
1199
+ var i;
1200
+ e.handleClick ? e.handleClick() : o(!1), (i = e.onClicked) == null || i.call(e, n);
1198
1201
  },
1199
1202
  children: /* @__PURE__ */ r(ne, { name: e.icon })
1200
1203
  }
@@ -1203,11 +1206,11 @@ function wo({
1203
1206
  function be({
1204
1207
  button: e
1205
1208
  }) {
1206
- const [o, t] = D(!1), {
1209
+ const [o, t] = R(!1), {
1207
1210
  routerState: { screen: n }
1208
- } = H(), { isSmallScreen: s } = $(), { theme: i } = Z(), { setWidth: a, setHeight: l } = Vt();
1211
+ } = H(), { isSmallScreen: s } = $(), { theme: i } = K(), { setWidth: a, setHeight: l } = Vt(), c = X();
1209
1212
  if (n !== "chat" && n !== "sessions") return null;
1210
- const c = (() => {
1213
+ const p = (() => {
1211
1214
  switch (n) {
1212
1215
  case "chat":
1213
1216
  return i.screens.chat.height;
@@ -1216,7 +1219,7 @@ function be({
1216
1219
  default:
1217
1220
  return F(n, be.name), i.screens.chat.height;
1218
1221
  }
1219
- })(), p = (() => {
1222
+ })(), v = (() => {
1220
1223
  switch (n) {
1221
1224
  case "chat":
1222
1225
  return i.screens.chat.width;
@@ -1225,19 +1228,20 @@ function be({
1225
1228
  default:
1226
1229
  return F(n, be.name), i.screens.chat.width;
1227
1230
  }
1228
- })(), x = () => {
1229
- t((v) => {
1230
- const g = !v;
1231
- return l(g ? "100vh" : c), a(g ? `max(40vw, ${p})` : p), g;
1232
- });
1231
+ })(), b = () => {
1232
+ var u;
1233
+ t((h) => {
1234
+ const x = !h;
1235
+ return l(x ? "100vh" : p), a(x ? `max(40vw, ${v})` : v), x;
1236
+ }), (u = e.onClicked) == null || u.call(e, c);
1233
1237
  };
1234
1238
  return s && e.hideOnSmallScreen || !s && e.hideOnLargeScreen ? null : /* @__PURE__ */ r(
1235
- N,
1239
+ S,
1236
1240
  {
1237
1241
  variant: "ghost",
1238
1242
  size: "fit",
1239
1243
  className: "rounded-full",
1240
- onClick: x,
1244
+ onClick: b,
1241
1245
  children: /* @__PURE__ */ r(
1242
1246
  ne,
1243
1247
  {
@@ -1250,11 +1254,11 @@ function be({
1250
1254
  function Gt({
1251
1255
  button: e
1252
1256
  }) {
1253
- var z, _;
1254
- const { close: o } = he(), { widgetCtx: t } = O(), { setIsOpen: n } = G(), { resolveSession: s, sessionState: i } = U(), { isSmallScreen: a } = $(), l = !i.session, c = ((z = i.session) == null ? void 0 : z.isOpened) === !1, p = e.onResolved || "stay-in-chat", x = e.behaviorBeforeSessionCreation || "disabled", v = e.behaviorIfSessionIsResolved || "disabled", g = !!(i.isResolvingSession || l && x === "disabled" || c && v === "disabled"), u = async () => {
1255
- const { success: y, error: E } = await s();
1256
- if (o(), !y) return console.error(E);
1257
- switch (p) {
1257
+ var I, y;
1258
+ const { close: o } = he(), { widgetCtx: t } = O(), { setIsOpen: n } = Z(), { resolveSession: s, sessionState: i } = U(), { isSmallScreen: a } = $(), l = X(), c = !i.session, p = ((I = i.session) == null ? void 0 : I.isOpened) === !1, v = e.onResolved || "stay-in-chat", b = e.behaviorBeforeSessionCreation || "disabled", u = e.behaviorIfSessionIsResolved || "disabled", h = !!(i.isResolvingSession || c && b === "disabled" || p && u === "disabled"), x = async () => {
1259
+ const { success: k, error: D } = await s();
1260
+ if (o(), !k) return console.error(D);
1261
+ switch (v) {
1258
1262
  case "stay-in-chat":
1259
1263
  return;
1260
1264
  case "close-widget":
@@ -1267,12 +1271,12 @@ function Gt({
1267
1271
  n(!1), t.resetChat();
1268
1272
  break;
1269
1273
  default:
1270
- F(p, Gt.name);
1274
+ F(v, Gt.name);
1271
1275
  break;
1272
1276
  }
1273
- }, b = () => {
1274
- if (l)
1275
- switch (x) {
1277
+ }, z = () => {
1278
+ if (c)
1279
+ switch (b) {
1276
1280
  case "disabled":
1277
1281
  return;
1278
1282
  case "close-widget":
@@ -1280,12 +1284,12 @@ function Gt({
1280
1284
  break;
1281
1285
  default:
1282
1286
  F(
1283
- x,
1284
- b.name
1287
+ b,
1288
+ z.name
1285
1289
  );
1286
1290
  }
1287
- if (c)
1288
- switch (v) {
1291
+ if (p)
1292
+ switch (u) {
1289
1293
  case "disabled":
1290
1294
  return;
1291
1295
  case "close-widget":
@@ -1301,21 +1305,25 @@ function Gt({
1301
1305
  break;
1302
1306
  default:
1303
1307
  F(
1304
- v,
1305
- b.name
1308
+ u,
1309
+ z.name
1306
1310
  );
1307
1311
  }
1308
1312
  };
1309
- return a && e.hideOnSmallScreen || !a && e.hideOnLargeScreen ? null : ((_ = e.confirmation) == null ? void 0 : _.type) === "modal" && !c && !l ? /* @__PURE__ */ r(
1313
+ return a && e.hideOnSmallScreen || !a && e.hideOnLargeScreen ? null : ((y = e.confirmation) == null ? void 0 : y.type) === "modal" && !p && !c ? /* @__PURE__ */ r(
1310
1314
  Ne,
1311
1315
  {
1312
1316
  trigger: /* @__PURE__ */ r(
1313
- N,
1317
+ S,
1314
1318
  {
1315
1319
  variant: "ghost",
1316
1320
  size: "fit",
1317
1321
  className: "rounded-full",
1318
- disabled: g,
1322
+ disabled: h,
1323
+ onClick: () => {
1324
+ var k;
1325
+ return (k = e.onClicked) == null ? void 0 : k.call(e, l);
1326
+ },
1319
1327
  children: /* @__PURE__ */ r(ne, { name: e.icon })
1320
1328
  }
1321
1329
  ),
@@ -1324,7 +1332,7 @@ function Gt({
1324
1332
  /* @__PURE__ */ r(Ft, { children: /* @__PURE__ */ r(Lt, { children: e.confirmation.description || "Are you sure you want to close this conversation?" }) }),
1325
1333
  /* @__PURE__ */ d(Ht, { children: [
1326
1334
  /* @__PURE__ */ r(
1327
- N,
1335
+ S,
1328
1336
  {
1329
1337
  variant: "secondary",
1330
1338
  onClick: o,
@@ -1333,10 +1341,13 @@ function Gt({
1333
1341
  }
1334
1342
  ),
1335
1343
  /* @__PURE__ */ r(
1336
- N,
1344
+ S,
1337
1345
  {
1338
1346
  variant: "destructive",
1339
- onClick: u,
1347
+ onClick: () => {
1348
+ var k, D;
1349
+ x(), (D = (k = e.confirmation) == null ? void 0 : k.onConfirmed) == null || D.call(k, l);
1350
+ },
1340
1351
  disabled: i.isResolvingSession,
1341
1352
  children: e.confirmation.confirmButtonText || "Yes"
1342
1353
  }
@@ -1345,13 +1356,16 @@ function Gt({
1345
1356
  ] })
1346
1357
  }
1347
1358
  ) : /* @__PURE__ */ r(
1348
- N,
1359
+ S,
1349
1360
  {
1350
1361
  variant: "ghost",
1351
1362
  size: "fit",
1352
1363
  className: "rounded-full",
1353
- onClick: c || l ? b : u,
1354
- disabled: g,
1364
+ onClick: () => {
1365
+ var k;
1366
+ p || c ? z() : x(), (k = e.onClicked) == null || k.call(e, l);
1367
+ },
1368
+ disabled: h,
1355
1369
  children: /* @__PURE__ */ r(ne, { name: e.icon })
1356
1370
  }
1357
1371
  );
@@ -1376,8 +1390,8 @@ const fo = {
1376
1390
  function xo() {
1377
1391
  const {
1378
1392
  routerState: { screen: e }
1379
- } = H(), { headerButtons: o } = C(), t = e === "chat" ? o == null ? void 0 : o.chatScreen : e === "sessions" ? o == null ? void 0 : o.sessionsScreen : [];
1380
- return !t || t.length === 0 ? /* @__PURE__ */ r(ye, { button: fo }) : /* @__PURE__ */ r(Q, { children: t.map((n) => /* @__PURE__ */ r(
1393
+ } = H(), { headerButtons: o } = N(), t = e === "chat" ? o == null ? void 0 : o.chatScreen : e === "sessions" ? o == null ? void 0 : o.sessionsScreen : [];
1394
+ return !t || t.length === 0 ? /* @__PURE__ */ r(ye, { button: fo }) : /* @__PURE__ */ r(J, { children: t.map((n) => /* @__PURE__ */ r(
1381
1395
  ye,
1382
1396
  {
1383
1397
  button: n
@@ -1388,10 +1402,10 @@ function xo() {
1388
1402
  function Zt() {
1389
1403
  const {
1390
1404
  routerState: { screen: e }
1391
- } = H(), o = uo(e), t = De();
1405
+ } = H(), o = go(e), t = De();
1392
1406
  return /* @__PURE__ */ d("header", { ...o, className: "py-2 px-4 shrink-0", children: [
1393
1407
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
1394
- /* @__PURE__ */ r(go, {}),
1408
+ /* @__PURE__ */ r(uo, {}),
1395
1409
  /* @__PURE__ */ r(
1396
1410
  "div",
1397
1411
  {
@@ -1424,7 +1438,7 @@ function vo() {
1424
1438
  };
1425
1439
  }
1426
1440
  function bo() {
1427
- const e = te(), { activeMode: o, Component: t } = zt(), { sendMessage: n } = A(), { createStateCheckpoint: s } = U(), [i, a] = D(!1), l = async (c) => {
1441
+ const e = X(), { activeMode: o, Component: t } = zt(), { sendMessage: n } = A(), { createStateCheckpoint: s } = U(), [i, a] = R(!1), l = async (c) => {
1428
1442
  try {
1429
1443
  a(!0), await n(c);
1430
1444
  } catch (p) {
@@ -1444,8 +1458,8 @@ function bo() {
1444
1458
  }
1445
1459
  );
1446
1460
  }
1447
- function q() {
1448
- const { dir: e } = ke(), o = C();
1461
+ function V() {
1462
+ const { dir: e } = ke(), o = N();
1449
1463
  return Ct(() => {
1450
1464
  const t = Br(o.language) ? o.language : "en";
1451
1465
  return {
@@ -1460,7 +1474,7 @@ const W = L.forwardRef(
1460
1474
  (e, o) => {
1461
1475
  var t, n, s;
1462
1476
  return /* @__PURE__ */ r(
1463
- k,
1477
+ C,
1464
1478
  {
1465
1479
  ...e,
1466
1480
  ref: o,
@@ -1503,22 +1517,22 @@ const yo = [
1503
1517
  }
1504
1518
  ];
1505
1519
  function ko() {
1506
- const { isSmallScreen: e } = $(), { t: o } = q(), {
1520
+ const { isSmallScreen: e } = $(), { t: o } = V(), {
1507
1521
  submitCsat: t,
1508
1522
  isCsatRequested: n,
1509
1523
  isCsatSubmitted: s,
1510
1524
  submittedScore: i,
1511
1525
  submittedFeedback: a
1512
- } = Nt(), [l, c] = D(null), [p, x] = D(null), v = (u) => {
1513
- c((b) => b === u ? null : u);
1514
- }, g = () => {
1526
+ } = Nt(), [l, c] = R(null), [p, v] = R(null), b = (h) => {
1527
+ c((x) => x === h ? null : h);
1528
+ }, u = () => {
1515
1529
  l && t({
1516
1530
  score: l,
1517
1531
  feedback: p || void 0
1518
1532
  });
1519
1533
  };
1520
1534
  return !n && !s ? null : /* @__PURE__ */ d("div", { className: "w-1/2 min-w-80 max-w-96 mx-auto overflow-hidden", children: [
1521
- /* @__PURE__ */ r(T, { mode: "wait", children: n && !l ? /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: o("csat_title") }) }, "csat-requested-title") : s ? /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: o("csat_submitted_title") }) }, "csat-submitted-title") : null }),
1535
+ /* @__PURE__ */ r(M, { mode: "wait", children: n && !l ? /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: o("csat_title") }) }, "csat-requested-title") : s ? /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: o("csat_submitted_title") }) }, "csat-submitted-title") : null }),
1522
1536
  /* @__PURE__ */ r(
1523
1537
  "div",
1524
1538
  {
@@ -1528,10 +1542,10 @@ function ko() {
1528
1542
  "transition-all",
1529
1543
  s && "gap-0 justify-center"
1530
1544
  ),
1531
- children: yo.map((u) => /* @__PURE__ */ r(
1532
- N,
1545
+ children: yo.map((h) => /* @__PURE__ */ r(
1546
+ S,
1533
1547
  {
1534
- variant: u.value === l ? "secondary" : "ghost",
1548
+ variant: h.value === l ? "secondary" : "ghost",
1535
1549
  size: "selfless",
1536
1550
  className: m(
1537
1551
  "transition-all overflow-hidden",
@@ -1539,18 +1553,18 @@ function ko() {
1539
1553
  "opacity-35",
1540
1554
  "hover:opacity-100",
1541
1555
  !l && "opacity-100",
1542
- u.value === l && "opacity-100",
1543
- s && u.value !== i && "opacity-0 size-0",
1544
- s && u.value === i && "opacity-100 size-fit text-4xl"
1556
+ h.value === l && "opacity-100",
1557
+ s && h.value !== i && "opacity-0 size-0",
1558
+ s && h.value === i && "opacity-100 size-fit text-4xl"
1545
1559
  ),
1546
- onClick: n ? () => v(u.value) : void 0,
1547
- children: u.emoji
1560
+ onClick: n ? () => b(h.value) : void 0,
1561
+ children: h.emoji
1548
1562
  },
1549
- u.value
1563
+ h.value
1550
1564
  ))
1551
1565
  }
1552
1566
  ),
1553
- /* @__PURE__ */ r(T, { mode: "wait", children: (l || i) && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ d("div", { className: "pb-2 px-2 flex items-end", children: [
1567
+ /* @__PURE__ */ r(M, { mode: "wait", children: (l || i) && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ d("div", { className: "pb-2 px-2 flex items-end", children: [
1554
1568
  /* @__PURE__ */ r(
1555
1569
  "textarea",
1556
1570
  {
@@ -1566,16 +1580,16 @@ function ko() {
1566
1580
  s && "text-center"
1567
1581
  ),
1568
1582
  value: s ? a || "" : p || "",
1569
- onChange: n ? (u) => x(u.target.value) : void 0,
1583
+ onChange: n ? (h) => v(h.target.value) : void 0,
1570
1584
  readOnly: s,
1571
1585
  placeholder: n ? o("csat_feedback_placeholder") : void 0
1572
1586
  }
1573
1587
  ),
1574
1588
  /* @__PURE__ */ r(
1575
- N,
1589
+ S,
1576
1590
  {
1577
1591
  size: "fit",
1578
- onClick: g,
1592
+ onClick: u,
1579
1593
  disabled: !l,
1580
1594
  className: m(
1581
1595
  "transition-all overflow-hidden",
@@ -1604,7 +1618,7 @@ function Ee({
1604
1618
  i && n({ content: i });
1605
1619
  };
1606
1620
  return /* @__PURE__ */ r(
1607
- N,
1621
+ S,
1608
1622
  {
1609
1623
  ...f("chat/suggested_reply_btn"),
1610
1624
  size: "sm",
@@ -1616,7 +1630,7 @@ function Ee({
1616
1630
  );
1617
1631
  }
1618
1632
  function Co() {
1619
- const { t: e } = q(), o = [e("i_need_more_help"), e("this_was_helpful")];
1633
+ const { t: e } = V(), o = [e("i_need_more_help"), e("this_was_helpful")];
1620
1634
  return /* @__PURE__ */ r(
1621
1635
  "div",
1622
1636
  {
@@ -1634,14 +1648,14 @@ function Co() {
1634
1648
  );
1635
1649
  }
1636
1650
  function xt() {
1637
- const { sessionState: e } = U(), { chatFooterItems: o } = C(), t = !!e.session && !e.session.isOpened, n = !t;
1638
- return /* @__PURE__ */ r(T, { mode: "wait", children: o == null ? void 0 : o.map((s, i) => s.showWhenSessionIsOpen === !1 && n || s.showWhenSessionIsResolved === !1 && t ? null : /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("div", { className: "pb-2 text-center text-xs", children: /* @__PURE__ */ r(Se, { children: s.message }) }) }, `${s.message}-${i}`)) });
1651
+ const { sessionState: e } = U(), { chatFooterItems: o } = N(), t = !!e.session && !e.session.isOpened, n = !t;
1652
+ return /* @__PURE__ */ r(M, { mode: "wait", children: o == null ? void 0 : o.map((s, i) => s.showWhenSessionIsOpen === !1 && n || s.showWhenSessionIsResolved === !1 && t ? null : /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("div", { className: "pb-2 text-center text-xs", children: /* @__PURE__ */ r(Se, { children: s.message }) }) }, `${s.message}-${i}`)) });
1639
1653
  }
1640
1654
  function zo({
1641
1655
  file: { status: e, file: o, error: t },
1642
1656
  onCancel: n
1643
1657
  }) {
1644
- const [s, i] = D(
1658
+ const [s, i] = R(
1645
1659
  null
1646
1660
  );
1647
1661
  se(() => {
@@ -1709,30 +1723,30 @@ function zo({
1709
1723
  );
1710
1724
  }
1711
1725
  function No() {
1712
- var M;
1713
- const { isSmallScreen: e } = $(), o = B(null), { sendMessage: t } = A(), { sessionState: n } = U(), { disableSendingWhenAwaitingAIReply: s } = C(), { t: i } = q(), [a, l] = D(""), {
1726
+ var E;
1727
+ const { isSmallScreen: e } = $(), o = B(null), { sendMessage: t } = A(), { sessionState: n } = U(), { disableSendingWhenAwaitingAIReply: s } = N(), { t: i } = V(), [a, l] = R(""), {
1714
1728
  allFiles: c,
1715
1729
  emptyTheFiles: p,
1716
- handleCancelUpload: x,
1717
- appendFiles: v,
1718
- isUploading: g,
1719
- successFiles: u
1720
- } = sr(), b = !!((M = n.session) != null && M.isHandedOff), { isAwaitingBotReply: z } = St(), _ = s !== !1 && z, y = (h) => {
1721
- v(h);
1722
- }, E = !a.trim() && u.length === 0, P = async () => {
1723
- if (_ || E) return;
1724
- g && console.info("please wait for the file(s) to upload");
1725
- const h = a.trim();
1730
+ handleCancelUpload: v,
1731
+ appendFiles: b,
1732
+ isUploading: u,
1733
+ successFiles: h
1734
+ } = sr(), x = !!((E = n.session) != null && E.isHandedOff), { isAwaitingBotReply: z } = St(), I = s !== !1 && z, y = (g) => {
1735
+ b(g);
1736
+ }, k = !a.trim() && h.length === 0, D = async () => {
1737
+ if (I || k) return;
1738
+ u && console.info("please wait for the file(s) to upload");
1739
+ const g = a.trim();
1726
1740
  t({
1727
- content: h,
1728
- attachments: u.flatMap(
1729
- (S) => S.fileUrl ? [
1741
+ content: g,
1742
+ attachments: h.flatMap(
1743
+ (_) => _.fileUrl ? [
1730
1744
  {
1731
- url: S.fileUrl,
1732
- type: S.file.type,
1733
- name: S.file.name,
1734
- id: S.id,
1735
- size: S.file.size
1745
+ url: _.fileUrl,
1746
+ type: _.file.type,
1747
+ name: _.file.name,
1748
+ id: _.id,
1749
+ size: _.file.size
1736
1750
  }
1737
1751
  ] : []
1738
1752
  )
@@ -1740,7 +1754,7 @@ function No() {
1740
1754
  }, {
1741
1755
  getRootProps: j,
1742
1756
  getInputProps: w,
1743
- open: I
1757
+ open: T
1744
1758
  } = Ur({
1745
1759
  onDrop: y,
1746
1760
  noClick: !0,
@@ -1748,7 +1762,7 @@ function No() {
1748
1762
  console.error("unsupported file type, or the file is too large");
1749
1763
  },
1750
1764
  maxSize: 5 * 1024 * 1024,
1751
- accept: b ? {
1765
+ accept: x ? {
1752
1766
  "text/*": [".txt"],
1753
1767
  "image/*": [".png", ".jpg", ".jpeg", ".gif"],
1754
1768
  "application/pdf": [".pdf"],
@@ -1761,9 +1775,9 @@ function No() {
1761
1775
  "application/pdf": [".pdf"],
1762
1776
  ...mt
1763
1777
  }
1764
- }), R = (h) => {
1765
- const S = h.clipboardData;
1766
- S && S.files.length > 0 && y(Array.from(S.files));
1778
+ }), P = (g) => {
1779
+ const _ = g.clipboardData;
1780
+ _ && _.files.length > 0 && y(Array.from(_.files));
1767
1781
  };
1768
1782
  return /* @__PURE__ */ d(
1769
1783
  "div",
@@ -1796,20 +1810,20 @@ function No() {
1796
1810
  {
1797
1811
  ...f("chat/input_box/attachments_container"),
1798
1812
  className: "flex items-center gap-1",
1799
- children: /* @__PURE__ */ r(T, { mode: "popLayout", children: c.map((h) => /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(
1813
+ children: /* @__PURE__ */ r(M, { mode: "popLayout", children: c.map((g) => /* @__PURE__ */ r(C, { snapExit: !0, children: /* @__PURE__ */ r(
1800
1814
  zo,
1801
1815
  {
1802
- onCancel: () => x(h.id),
1803
- file: h
1816
+ onCancel: () => v(g.id),
1817
+ file: g
1804
1818
  }
1805
- ) }, h.id)) })
1819
+ ) }, g.id)) })
1806
1820
  }
1807
1821
  ),
1808
1822
  /* @__PURE__ */ r(
1809
1823
  "textarea",
1810
1824
  {
1811
1825
  ...f("chat/input_box/textarea"),
1812
- onPaste: R,
1826
+ onPaste: P,
1813
1827
  ref: o,
1814
1828
  id: "chat-input",
1815
1829
  value: a,
@@ -1825,9 +1839,9 @@ function No() {
1825
1839
  // 16px on mobiles prevents auto-zoom on the input when focused
1826
1840
  e ? "text-[16px]" : "text-sm"
1827
1841
  ),
1828
- onChange: (h) => l(h.target.value),
1829
- onKeyDown: async (h) => {
1830
- h.key === "Enter" && !h.shiftKey && (h.preventDefault(), P());
1842
+ onChange: (g) => l(g.target.value),
1843
+ onKeyDown: async (g) => {
1844
+ g.key === "Enter" && !g.shiftKey && (g.preventDefault(), D());
1831
1845
  },
1832
1846
  placeholder: i("write_a_message_placeholder")
1833
1847
  }
@@ -1843,27 +1857,27 @@ function No() {
1843
1857
  align: "start",
1844
1858
  content: "attach images, PDFs, or spreadsheets (maximum size 5mb)",
1845
1859
  children: /* @__PURE__ */ r(
1846
- N,
1860
+ S,
1847
1861
  {
1848
- onClick: I,
1862
+ onClick: T,
1849
1863
  size: "fit",
1850
1864
  variant: "ghost",
1851
1865
  className: m(
1852
1866
  "rounded-full size-8 flex items-center justify-center p-0 overflow-hidden"
1853
1867
  ),
1854
- children: /* @__PURE__ */ r(T, { mode: "wait", children: _ ? /* @__PURE__ */ r(k, { children: /* @__PURE__ */ r(dt, { className: "size-4 opacity-50" }) }, "paper-clip-disabled") : /* @__PURE__ */ r(k, { children: /* @__PURE__ */ r(dt, { className: "size-4" }) }, "paper-clip") })
1868
+ children: /* @__PURE__ */ r(M, { mode: "wait", children: I ? /* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(dt, { className: "size-4 opacity-50" }) }, "paper-clip-disabled") : /* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(dt, { className: "size-4" }) }, "paper-clip") })
1855
1869
  }
1856
1870
  )
1857
1871
  }
1858
1872
  ),
1859
1873
  /* @__PURE__ */ r(oe, { content: "send message", side: "top", align: "end", children: /* @__PURE__ */ r(
1860
- N,
1874
+ S,
1861
1875
  {
1862
1876
  size: "fit",
1863
- onClick: P,
1864
- disabled: _ || g || E,
1877
+ onClick: D,
1878
+ disabled: I || u || k,
1865
1879
  className: "rounded-full size-8 flex items-center justify-center p-0",
1866
- children: /* @__PURE__ */ r(T, { mode: "wait", children: _ || g ? /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(Ir, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(Dt, { className: "size-4" }) }, "send") })
1880
+ children: /* @__PURE__ */ r(M, { mode: "wait", children: I || u ? /* @__PURE__ */ r(C, { snapExit: !0, children: /* @__PURE__ */ r(Ir, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ r(C, { snapExit: !0, children: /* @__PURE__ */ r(Dt, { className: "size-4" }) }, "send") })
1867
1881
  }
1868
1882
  ) })
1869
1883
  ] })
@@ -1875,14 +1889,14 @@ function No() {
1875
1889
  );
1876
1890
  }
1877
1891
  function vt() {
1878
- const { widgetCtx: e } = O(), { router: o } = C(), { canCreateNewSession: t } = U(), { toSessionsScreen: n } = H(), { t: s } = q();
1879
- return /* @__PURE__ */ r(Q, { children: t || o != null && o.chatScreenOnly ? /* @__PURE__ */ r(N, { onClick: e.resetChat, className: "rounded-2xl w-full", children: s("new_conversation") }) : /* @__PURE__ */ r(N, { onClick: n, className: "rounded-2xl w-full", children: s("back_to_conversations") }) });
1892
+ const { widgetCtx: e } = O(), { router: o } = N(), { canCreateNewSession: t } = U(), { toSessionsScreen: n } = H(), { t: s } = V();
1893
+ return /* @__PURE__ */ r(J, { children: t || o != null && o.chatScreenOnly ? /* @__PURE__ */ r(S, { onClick: e.resetChat, className: "rounded-2xl w-full", children: s("new_conversation") }) : /* @__PURE__ */ r(S, { onClick: n, className: "rounded-2xl w-full", children: s("back_to_conversations") }) });
1880
1894
  }
1881
1895
  function So() {
1882
- const { t: e } = q(), { isCsatRequested: o, isCsatSubmitted: t } = Nt();
1883
- return /* @__PURE__ */ r("div", { className: "p-2", children: /* @__PURE__ */ r("div", { className: "p-2 bg-muted rounded-3xl", children: /* @__PURE__ */ r(T, { mode: "wait", children: o || t ? /* @__PURE__ */ d(W, { children: [
1896
+ const { t: e } = V(), { isCsatRequested: o, isCsatSubmitted: t } = Nt();
1897
+ return /* @__PURE__ */ r("div", { className: "p-2", children: /* @__PURE__ */ r("div", { className: "p-2 bg-muted rounded-3xl", children: /* @__PURE__ */ r(M, { mode: "wait", children: o || t ? /* @__PURE__ */ d(W, { children: [
1884
1898
  /* @__PURE__ */ r(ko, {}),
1885
- /* @__PURE__ */ r(T, { mode: "wait", children: t && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r(vt, {}) }, "new-conv-or-back-to-convs-button") })
1899
+ /* @__PURE__ */ r(M, { mode: "wait", children: t && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r(vt, {}) }, "new-conv-or-back-to-convs-button") })
1886
1900
  ] }, "csat") : /* @__PURE__ */ d(W, { children: [
1887
1901
  /* @__PURE__ */ d("div", { className: "ps-2 flex items-center gap-1 pb-2", children: [
1888
1902
  /* @__PURE__ */ r(Mt, { className: "size-4 text-emerald-600" }),
@@ -1893,8 +1907,8 @@ function So() {
1893
1907
  }
1894
1908
  function _o() {
1895
1909
  var a;
1896
- const { initialQuestions: e, initialQuestionsPosition: o, thisWasHelpfulOrNot: t } = C(), { sessionState: n } = U(), { messagesState: s } = A(), i = s.messages.length === 0;
1897
- return /* @__PURE__ */ r("footer", { children: /* @__PURE__ */ r(T, { mode: "wait", children: n.session && !((a = n.session) != null && a.isOpened) ? /* @__PURE__ */ d(W, { children: [
1910
+ const { initialQuestions: e, initialQuestionsPosition: o, thisWasHelpfulOrNot: t } = N(), { sessionState: n } = U(), { messagesState: s } = A(), i = s.messages.length === 0;
1911
+ return /* @__PURE__ */ r("footer", { children: /* @__PURE__ */ r(M, { mode: "wait", children: n.session && !((a = n.session) != null && a.isOpened) ? /* @__PURE__ */ d(W, { children: [
1898
1912
  /* @__PURE__ */ r(So, {}),
1899
1913
  /* @__PURE__ */ r(xt, {})
1900
1914
  ] }, "session-closed") : /* @__PURE__ */ d(W, { children: [
@@ -1958,7 +1972,7 @@ function Qt({
1958
1972
  containerClassName: t
1959
1973
  }) {
1960
1974
  var a, l;
1961
- const { timestamps: n } = C();
1975
+ const { timestamps: n } = N();
1962
1976
  if (!((a = n == null ? void 0 : n.perMessageGroup) != null && a.enabled))
1963
1977
  return null;
1964
1978
  const s = (l = e[e.length - 1]) == null ? void 0 : l.timestamp;
@@ -2053,7 +2067,7 @@ function pe({
2053
2067
  }
2054
2068
  function To() {
2055
2069
  var t, n;
2056
- const e = te();
2070
+ const e = X();
2057
2071
  if ((t = e.session) != null && t.isOpened || !e.session) return null;
2058
2072
  const o = (n = e.config.customComponents) == null ? void 0 : n.onSessionResolved;
2059
2073
  return o ? /* @__PURE__ */ r(o, { ...e }) : null;
@@ -2152,8 +2166,8 @@ function Oo() {
2152
2166
  initialQuestionsPosition: t,
2153
2167
  initialQuestions: n,
2154
2168
  bot: s
2155
- } = C();
2156
- return /* @__PURE__ */ r(Q, { children: e.length === 0 && o.length > 0 && /* @__PURE__ */ r(
2169
+ } = N();
2170
+ return /* @__PURE__ */ r(J, { children: e.length === 0 && o.length > 0 && /* @__PURE__ */ r(
2157
2171
  pe,
2158
2172
  {
2159
2173
  messages: o.map(
@@ -2173,7 +2187,7 @@ function Oo() {
2173
2187
  function Ao() {
2174
2188
  const {
2175
2189
  messagesState: { messages: e }
2176
- } = A(), { chatBannerItems: o } = C();
2190
+ } = A(), { chatBannerItems: o } = N();
2177
2191
  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(
2178
2192
  ({ message: t, persistent: n }, s) => e.length > 0 && !n ? null : /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(Se, { children: t }) }, `${t}-${s}`)
2179
2193
  ) });
@@ -2181,7 +2195,7 @@ function Ao() {
2181
2195
  function Fo() {
2182
2196
  const {
2183
2197
  messagesState: { messages: e }
2184
- } = A(), o = C(), {
2198
+ } = A(), o = N(), {
2185
2199
  advancedInitialMessages: t = [],
2186
2200
  initialQuestions: n,
2187
2201
  initialQuestionsPosition: s
@@ -2189,7 +2203,7 @@ function Fo() {
2189
2203
  var a;
2190
2204
  return t.length ? [] : e.length ? [] : (a = o.initialMessages) != null && a.length ? o.initialMessages : ["Hello, how can I help you?"];
2191
2205
  })();
2192
- return /* @__PURE__ */ r(Q, { children: e.length === 0 && i.length > 0 && /* @__PURE__ */ r(
2206
+ return /* @__PURE__ */ r(J, { children: e.length === 0 && i.length > 0 && /* @__PURE__ */ r(
2193
2207
  pe,
2194
2208
  {
2195
2209
  messages: i.map(
@@ -2208,13 +2222,13 @@ function Fo() {
2208
2222
  }
2209
2223
  function Ho() {
2210
2224
  var t;
2211
- const e = te(), o = (t = e.config.customComponents) == null ? void 0 : t.chatBottomComponents;
2225
+ const e = X(), o = (t = e.config.customComponents) == null ? void 0 : t.chatBottomComponents;
2212
2226
  return o ? /* @__PURE__ */ r("div", { children: o.map(({ key: n, component: s }) => /* @__PURE__ */ r(s, { ...e }, n)) }) : null;
2213
2227
  }
2214
2228
  function Wo() {
2215
2229
  const {
2216
2230
  messagesState: { messages: e }
2217
- } = A(), { isAwaitingBotReply: o } = St(), { componentStore: t } = O(), { bot: n, humanAgent: s } = C(), i = Ct(
2231
+ } = A(), { isAwaitingBotReply: o } = St(), { componentStore: t } = O(), { bot: n, humanAgent: s } = N(), i = Ct(
2218
2232
  () => Eo(e),
2219
2233
  [e]
2220
2234
  ), a = t.getComponent(
@@ -2238,25 +2252,25 @@ function Wo() {
2238
2252
  /* @__PURE__ */ r(Ao, {}),
2239
2253
  /* @__PURE__ */ r(Oo, {}),
2240
2254
  /* @__PURE__ */ r(Fo, {}),
2241
- i.map((p, x) => {
2242
- var u, b, z, _;
2243
- const v = (u = p == null ? void 0 : p[0]) == null ? void 0 : u.type, g = (b = p[0]) == null ? void 0 : b.id;
2244
- if (!v || !g) return null;
2255
+ i.map((p, v) => {
2256
+ var h, x, z, I;
2257
+ const b = (h = p == null ? void 0 : p[0]) == null ? void 0 : h.type, u = (x = p[0]) == null ? void 0 : x.id;
2258
+ if (!b || !u) return null;
2245
2259
  if (Ro(p))
2246
- return /* @__PURE__ */ r(Do, { messages: p }, g);
2260
+ return /* @__PURE__ */ r(Do, { messages: p }, u);
2247
2261
  if (Po(p)) {
2248
- const y = x === i.length - 1;
2262
+ const y = v === i.length - 1;
2249
2263
  return o && y ? null : ((z = p[0]) == null || z.agent, /* @__PURE__ */ r(
2250
2264
  pe,
2251
2265
  {
2252
2266
  messages: p,
2253
2267
  agent: n ? { ...n, isAi: !0, id: null } : void 0
2254
2268
  },
2255
- g
2269
+ u
2256
2270
  ));
2257
2271
  }
2258
2272
  if (jo(p)) {
2259
- const y = (_ = p[0]) == null ? void 0 : _.agent;
2273
+ const y = (I = p[0]) == null ? void 0 : I.agent;
2260
2274
  return /* @__PURE__ */ r(
2261
2275
  pe,
2262
2276
  {
@@ -2272,7 +2286,7 @@ function Wo() {
2272
2286
  avatarUrl: s.avatarUrl || null
2273
2287
  } : void 0
2274
2288
  },
2275
- g
2289
+ u
2276
2290
  );
2277
2291
  }
2278
2292
  return null;
@@ -2289,7 +2303,7 @@ function Lo() {
2289
2303
  messagesState: { isInitialFetchLoading: e }
2290
2304
  } = A(), {
2291
2305
  sessionState: { session: o }
2292
- } = U(), { isCanvasOpen: t } = vo(), { theme: n } = Z();
2306
+ } = U(), { isCanvasOpen: t } = vo(), { theme: n } = K();
2293
2307
  Me({
2294
2308
  width: t ? n.screens.chat.withCanvas.width : n.screens.chat.width,
2295
2309
  height: t ? n.screens.chat.withCanvas.height : n.screens.chat.height
@@ -2312,15 +2326,15 @@ function Lo() {
2312
2326
  },
2313
2327
  children: /* @__PURE__ */ d("div", { className: "size-full justify-between flex flex-col", children: [
2314
2328
  /* @__PURE__ */ r(Zt, {}),
2315
- /* @__PURE__ */ r(T, { mode: "wait", children: e ? /* @__PURE__ */ r(
2316
- k,
2329
+ /* @__PURE__ */ r(M, { mode: "wait", children: e ? /* @__PURE__ */ r(
2330
+ C,
2317
2331
  {
2318
2332
  className: "flex flex-col items-center justify-center w-full flex-1",
2319
2333
  children: /* @__PURE__ */ r(Kt, {})
2320
2334
  },
2321
2335
  "loading"
2322
2336
  ) : /* @__PURE__ */ d(
2323
- k,
2337
+ C,
2324
2338
  {
2325
2339
  className: "flex items-start h-full flex-1 overflow-auto",
2326
2340
  snapExit: !0,
@@ -2399,7 +2413,7 @@ function Bo({ className: e }) {
2399
2413
  );
2400
2414
  }
2401
2415
  function Jt({ className: e }) {
2402
- const { token: o } = C();
2416
+ const { token: o } = N();
2403
2417
  return /* @__PURE__ */ r(
2404
2418
  "div",
2405
2419
  {
@@ -2438,9 +2452,9 @@ function bt({
2438
2452
  session: e,
2439
2453
  className: o
2440
2454
  }) {
2441
- const { bot: t, humanAgent: n } = C(), { toChatScreen: s } = H(), i = e.assignee.kind === "human" ? (n == null ? void 0 : n.name) || e.assignee.name || "Support Agent" : (t == null ? void 0 : t.name) || "AI Support Agent", a = e.assignee.kind === "human" ? (n == null ? void 0 : n.avatarUrl) || e.assignee.avatarUrl || "" : (t == null ? void 0 : t.avatarUrl) || (t == null ? void 0 : t.avatar) || "";
2455
+ const { bot: t, humanAgent: n } = N(), { toChatScreen: s } = H(), i = e.assignee.kind === "human" ? (n == null ? void 0 : n.name) || e.assignee.name || "Support Agent" : (t == null ? void 0 : t.name) || "AI Support Agent", a = e.assignee.kind === "human" ? (n == null ? void 0 : n.avatarUrl) || e.assignee.avatarUrl || "" : (t == null ? void 0 : t.avatarUrl) || (t == null ? void 0 : t.avatar) || "";
2442
2456
  return /* @__PURE__ */ d(
2443
- N,
2457
+ S,
2444
2458
  {
2445
2459
  variant: "ghost",
2446
2460
  size: "lg",
@@ -2451,13 +2465,13 @@ function bt({
2451
2465
  onClick: () => s(e.id),
2452
2466
  children: [
2453
2467
  /* @__PURE__ */ d("div", { className: "flex-1 flex gap-2 items-center", children: [
2454
- /* @__PURE__ */ r(T, { mode: "wait", children: /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ d(_e, { className: "size-10", children: [
2468
+ /* @__PURE__ */ r(M, { mode: "wait", children: /* @__PURE__ */ r(C, { snapExit: !0, children: /* @__PURE__ */ d(_e, { className: "size-10", children: [
2455
2469
  /* @__PURE__ */ r(Ie, { src: a, alt: "Agent Icon" }),
2456
2470
  /* @__PURE__ */ r(Te, { children: /* @__PURE__ */ r(Pr, { className: "size-4" }) })
2457
2471
  ] }) }) }),
2458
2472
  /* @__PURE__ */ d("div", { className: "flex-1", children: [
2459
- /* @__PURE__ */ r(T, { mode: "wait", children: /* @__PURE__ */ r(k, { snapExit: !0, children: i }, i) }),
2460
- /* @__PURE__ */ r(T, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(
2473
+ /* @__PURE__ */ r(M, { mode: "wait", children: /* @__PURE__ */ r(C, { snapExit: !0, children: i }, i) }),
2474
+ /* @__PURE__ */ r(M, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ r(C, { snapExit: !0, children: /* @__PURE__ */ r(
2461
2475
  Yt,
2462
2476
  {
2463
2477
  remarkPlugins: [Et],
@@ -2465,7 +2479,7 @@ function bt({
2465
2479
  className: "line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",
2466
2480
  children: e.lastMessage
2467
2481
  }
2468
- ) }, e.lastMessage || "content") : /* @__PURE__ */ r(k, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r($o, { className: "h-4 w-full" }) }, "skeleton") })
2482
+ ) }, e.lastMessage || "content") : /* @__PURE__ */ r(C, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r($o, { className: "h-4 w-full" }) }, "skeleton") })
2469
2483
  ] })
2470
2484
  ] }),
2471
2485
  /* @__PURE__ */ r(jr, { className: "size-4 text-muted-foreground shrink-0 rtl:-scale-100" })
@@ -2474,27 +2488,27 @@ function bt({
2474
2488
  );
2475
2489
  }
2476
2490
  function Uo() {
2477
- const { t: e } = q(), { toChatScreen: o } = H(), {
2491
+ const { t: e } = V(), { toChatScreen: o } = H(), {
2478
2492
  sessionsState: { data: t, isInitialFetchLoading: n },
2479
2493
  openSessions: s,
2480
2494
  closedSessions: i,
2481
2495
  canCreateNewSession: a
2482
2496
  } = U();
2483
- return /* @__PURE__ */ r("div", { className: "flex-1 flex flex-col overflow-scroll py-2 px-2", children: /* @__PURE__ */ r(T, { mode: "wait", children: n ? /* @__PURE__ */ r(
2484
- k,
2497
+ return /* @__PURE__ */ r("div", { className: "flex-1 flex flex-col overflow-scroll py-2 px-2", children: /* @__PURE__ */ r(M, { mode: "wait", children: n ? /* @__PURE__ */ r(
2498
+ C,
2485
2499
  {
2486
2500
  className: "flex-1 flex items-center justify-center",
2487
2501
  children: /* @__PURE__ */ r(Kt, {})
2488
2502
  },
2489
2503
  "loading"
2490
2504
  ) : /* @__PURE__ */ r(
2491
- k,
2505
+ C,
2492
2506
  {
2493
2507
  className: "flex-1 flex flex-col gap-2 relative",
2494
- children: t.length ? /* @__PURE__ */ d(Q, { children: [
2495
- /* @__PURE__ */ d(T, { children: [
2508
+ children: t.length ? /* @__PURE__ */ d(J, { children: [
2509
+ /* @__PURE__ */ d(M, { children: [
2496
2510
  s.length > 0 && /* @__PURE__ */ r(
2497
- k,
2511
+ C,
2498
2512
  {
2499
2513
  fadeIn: "up",
2500
2514
  delay: 0.2,
@@ -2505,7 +2519,7 @@ function Uo() {
2505
2519
  "open-sessions"
2506
2520
  ),
2507
2521
  i.length > 0 && /* @__PURE__ */ d(
2508
- k,
2522
+ C,
2509
2523
  {
2510
2524
  className: "space-y-2",
2511
2525
  delay: 0.2,
@@ -2526,7 +2540,7 @@ function Uo() {
2526
2540
  )
2527
2541
  ] }),
2528
2542
  a && /* @__PURE__ */ r("div", { className: "mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background bg-background", children: /* @__PURE__ */ ct(
2529
- N,
2543
+ S,
2530
2544
  {
2531
2545
  ...f("sessions/new_conversation_btn"),
2532
2546
  size: "lg",
@@ -2539,7 +2553,7 @@ function Uo() {
2539
2553
  ] }) : /* @__PURE__ */ d("div", { className: "flex-1 flex flex-col gap-2 items-center", children: [
2540
2554
  /* @__PURE__ */ r("div", { className: "flex-1 flex items-center justify-center", children: /* @__PURE__ */ r("p", { className: "text-muted-foreground", children: e("no_conversations_yet") }) }),
2541
2555
  /* @__PURE__ */ ct(
2542
- N,
2556
+ S,
2543
2557
  {
2544
2558
  ...f("sessions/new_conversation_btn"),
2545
2559
  size: "lg",
@@ -2555,7 +2569,7 @@ function Uo() {
2555
2569
  ) }) });
2556
2570
  }
2557
2571
  function Xo() {
2558
- const { theme: e } = Z();
2572
+ const { theme: e } = K();
2559
2573
  return Me({
2560
2574
  width: e.screens.sessions.width,
2561
2575
  height: e.screens.sessions.height
@@ -2582,7 +2596,7 @@ function Xo() {
2582
2596
  }
2583
2597
  );
2584
2598
  }
2585
- const de = J.forwardRef(
2599
+ const de = ee.forwardRef(
2586
2600
  ({ className: e, type: o, ...t }, n) => {
2587
2601
  const { isSmallScreen: s } = $();
2588
2602
  return /* @__PURE__ */ r(
@@ -2605,7 +2619,7 @@ const de = J.forwardRef(
2605
2619
  );
2606
2620
  de.displayName = "Input";
2607
2621
  function qo() {
2608
- const { contentIframeRef: e } = O(), { inline: o } = C(), t = B(null);
2622
+ const { contentIframeRef: e } = O(), { inline: o } = N(), t = B(null);
2609
2623
  return se(() => {
2610
2624
  const n = e == null ? void 0 : e.current;
2611
2625
  if (n && t.current) {
@@ -2626,35 +2640,35 @@ function qo() {
2626
2640
  }
2627
2641
  }, [e, o]), { observedElementRef: t };
2628
2642
  }
2629
- const Vo = ge.object({
2630
- name: ge.string().min(2),
2631
- email: ge.string().email()
2643
+ const Vo = ue.object({
2644
+ name: ue.string().min(2),
2645
+ email: ue.string().email()
2632
2646
  });
2633
2647
  function Go() {
2634
- var y, E, P, j, w, I, R, M;
2648
+ var y, k, D, j, w, T, P, E;
2635
2649
  const {
2636
2650
  widgetCtx: { org: e }
2637
- } = O(), { setIsOpen: o } = G(), { createUnverifiedContact: t } = _t(), { isSmallScreen: n } = $(), s = C(), { theme: i } = Z(), { t: a } = q(), { observedElementRef: l } = qo();
2651
+ } = O(), { setIsOpen: o } = Z(), { createUnverifiedContact: t } = _t(), { isSmallScreen: n } = $(), s = N(), { theme: i } = K(), { t: a } = V(), { observedElementRef: l } = qo();
2638
2652
  Me({
2639
2653
  height: void 0,
2640
2654
  width: i.screens.welcome.width
2641
2655
  });
2642
- const [c, p] = D(((y = s.prefillUserData) == null ? void 0 : y.name) || ""), [x, v] = D(((E = s.prefillUserData) == null ? void 0 : E.email) || ""), g = (s.extraDataCollectionFields || []).filter(
2643
- (h) => h !== "name" && h !== "email" && !!h
2644
- ), [u, b] = D({}), [z, _] = Xr(
2645
- async (h) => {
2646
- h.preventDefault();
2647
- const S = Vo.safeParse({ name: c, email: x });
2648
- S.success && await t(
2656
+ const [c, p] = R(((y = s.prefillUserData) == null ? void 0 : y.name) || ""), [v, b] = R(((k = s.prefillUserData) == null ? void 0 : k.email) || ""), u = (s.extraDataCollectionFields || []).filter(
2657
+ (g) => g !== "name" && g !== "email" && !!g
2658
+ ), [h, x] = R({}), [z, I] = Xr(
2659
+ async (g) => {
2660
+ g.preventDefault();
2661
+ const _ = Vo.safeParse({ name: c, email: v });
2662
+ _.success && await t(
2649
2663
  {
2650
- email: S.data.email,
2651
- non_verified_name: S.data.name
2664
+ email: _.data.email,
2665
+ non_verified_name: _.data.name
2652
2666
  },
2653
2667
  // Only pass extra data if there is any
2654
- Object.values(u).filter(Boolean).length ? u : void 0
2668
+ Object.values(h).filter(Boolean).length ? h : void 0
2655
2669
  );
2656
2670
  },
2657
- [c, x, u]
2671
+ [c, v, h]
2658
2672
  );
2659
2673
  return /* @__PURE__ */ r(
2660
2674
  "div",
@@ -2689,8 +2703,8 @@ function Go() {
2689
2703
  "text-primary-foreground"
2690
2704
  ),
2691
2705
  children: [
2692
- n && /* @__PURE__ */ r(k, { className: "absolute top-6 end-6", children: /* @__PURE__ */ r(N, { size: "selfless", onClick: () => o(!1), children: /* @__PURE__ */ r(Ce, { className: "size-4" }) }) }),
2693
- /* @__PURE__ */ r("div", { className: "flex items-center justify-between w-full mb-2", children: (P = s.assets) != null && P.organizationLogo ? /* @__PURE__ */ r(
2706
+ n && /* @__PURE__ */ r(C, { className: "absolute top-6 end-6", children: /* @__PURE__ */ r(S, { size: "selfless", onClick: () => o(!1), children: /* @__PURE__ */ r(Ce, { className: "size-4" }) }) }),
2707
+ /* @__PURE__ */ r("div", { className: "flex items-center justify-between w-full mb-2", children: (D = s.assets) != null && D.organizationLogo ? /* @__PURE__ */ r(
2694
2708
  "img",
2695
2709
  {
2696
2710
  src: (j = s.assets) == null ? void 0 : j.organizationLogo,
@@ -2699,8 +2713,8 @@ function Go() {
2699
2713
  }
2700
2714
  ) : /* @__PURE__ */ r("h2", { className: "font-bold text-sm", children: e.name }) }),
2701
2715
  /* @__PURE__ */ d("div", { className: "space-y-2", children: [
2702
- /* @__PURE__ */ r("h1", { className: "text-[1.75rem] font-semibold tracking-tight leading-none", children: ((I = (w = s.textContent) == null ? void 0 : w.welcomeScreen) == null ? void 0 : I.title) || a("welcome_screen_title") }),
2703
- /* @__PURE__ */ r("p", { className: "text-sm", children: ((M = (R = s.textContent) == null ? void 0 : R.welcomeScreen) == null ? void 0 : M.description) || a("welcome_screen_description") })
2716
+ /* @__PURE__ */ r("h1", { className: "text-[1.75rem] font-semibold tracking-tight leading-none", children: ((T = (w = s.textContent) == null ? void 0 : w.welcomeScreen) == null ? void 0 : T.title) || a("welcome_screen_title") }),
2717
+ /* @__PURE__ */ r("p", { className: "text-sm", children: ((E = (P = s.textContent) == null ? void 0 : P.welcomeScreen) == null ? void 0 : E.description) || a("welcome_screen_description") })
2704
2718
  ] })
2705
2719
  ]
2706
2720
  }
@@ -2715,12 +2729,12 @@ function Go() {
2715
2729
  "rounded-3xl"
2716
2730
  ),
2717
2731
  children: [
2718
- /* @__PURE__ */ d("form", { onSubmit: _, className: "space-y-2", children: [
2732
+ /* @__PURE__ */ d("form", { onSubmit: I, className: "space-y-2", children: [
2719
2733
  /* @__PURE__ */ r(
2720
2734
  de,
2721
2735
  {
2722
2736
  value: c,
2723
- onChange: (h) => p(h.target.value),
2737
+ onChange: (g) => p(g.target.value),
2724
2738
  required: !0,
2725
2739
  placeholder: a("your_name_placeholder"),
2726
2740
  name: "name"
@@ -2730,27 +2744,27 @@ function Go() {
2730
2744
  de,
2731
2745
  {
2732
2746
  required: !0,
2733
- value: x,
2734
- onChange: (h) => v(h.target.value),
2747
+ value: v,
2748
+ onChange: (g) => b(g.target.value),
2735
2749
  type: "email",
2736
2750
  placeholder: a("your_email_placeholder"),
2737
2751
  name: "email"
2738
2752
  }
2739
2753
  ),
2740
- g.map((h) => /* @__PURE__ */ r(
2754
+ u.map((g) => /* @__PURE__ */ r(
2741
2755
  de,
2742
2756
  {
2743
- value: u[h],
2744
- onChange: (S) => b((ie) => ({
2757
+ value: h[g],
2758
+ onChange: (_) => x((ie) => ({
2745
2759
  ...ie,
2746
- [h]: S.target.value
2760
+ [g]: _.target.value
2747
2761
  })),
2748
- placeholder: `${h} (${a("optional")})`
2762
+ placeholder: `${g} (${a("optional")})`
2749
2763
  },
2750
- h
2764
+ g
2751
2765
  )),
2752
2766
  /* @__PURE__ */ d(
2753
- N,
2767
+ S,
2754
2768
  {
2755
2769
  disabled: z.loading,
2756
2770
  className: "w-full",
@@ -2776,11 +2790,11 @@ function er() {
2776
2790
  const {
2777
2791
  routerState: { screen: e }
2778
2792
  } = H();
2779
- return /* @__PURE__ */ r("div", { className: "relative bg-background size-full", children: /* @__PURE__ */ r(T, { mode: "wait", children: (() => {
2793
+ return /* @__PURE__ */ r("div", { className: "relative bg-background size-full", children: /* @__PURE__ */ r(M, { mode: "wait", children: (() => {
2780
2794
  switch (e) {
2781
2795
  case "welcome":
2782
2796
  return /* @__PURE__ */ r(
2783
- k,
2797
+ C,
2784
2798
  {
2785
2799
  fadeIn: "right",
2786
2800
  className: "size-full",
@@ -2791,7 +2805,7 @@ function er() {
2791
2805
  );
2792
2806
  case "sessions":
2793
2807
  return /* @__PURE__ */ r(
2794
- k,
2808
+ C,
2795
2809
  {
2796
2810
  fadeIn: "right",
2797
2811
  className: "size-full",
@@ -2802,7 +2816,7 @@ function er() {
2802
2816
  );
2803
2817
  case "chat":
2804
2818
  return /* @__PURE__ */ r(
2805
- k,
2819
+ C,
2806
2820
  {
2807
2821
  fadeIn: "right",
2808
2822
  className: "size-full",
@@ -2816,7 +2830,7 @@ function er() {
2816
2830
  }
2817
2831
  })() }) });
2818
2832
  }
2819
- const Zo = "4.0.55", Ko = `<!DOCTYPE html>
2833
+ const Zo = "4.0.57", Ko = `<!DOCTYPE html>
2820
2834
  <html>
2821
2835
  <head>
2822
2836
  <style>
@@ -2835,7 +2849,7 @@ html, body {
2835
2849
  </body>
2836
2850
  </html>`;
2837
2851
  function tr() {
2838
- const { isOpen: e } = G(), { contentIframeRef: o } = O(), { cssOverrides: t, inline: n } = C(), { theme: s, cssVars: i, computed: a } = Z(), { dir: l } = q();
2852
+ const { isOpen: e } = Z(), { contentIframeRef: o } = O(), { cssOverrides: t, inline: n } = N(), { theme: s, cssVars: i, computed: a } = K(), { dir: l } = V();
2839
2853
  return /* @__PURE__ */ r(
2840
2854
  re.div,
2841
2855
  {
@@ -2918,7 +2932,7 @@ function tr() {
2918
2932
  );
2919
2933
  }
2920
2934
  function Qo() {
2921
- const { theme: e } = Z();
2935
+ const { theme: e } = K();
2922
2936
  return /* @__PURE__ */ r(
2923
2937
  me.Content,
2924
2938
  {
@@ -2992,20 +3006,20 @@ html, body {
2992
3006
  </body>
2993
3007
  </html>`;
2994
3008
  function tn() {
2995
- var p, x, v;
2996
- const { isOpen: e, setIsOpen: o } = G(), { cssOverrides: t, assets: n, customComponents: s, accessibility: i } = C(), { theme: a, cssVars: l } = Z(), c = ((p = i == null ? void 0 : i.widgetTriggerButton) == null ? void 0 : p.label) ?? "Chat with us";
3009
+ var p, v, b;
3010
+ const { isOpen: e, setIsOpen: o } = Z(), { cssOverrides: t, assets: n, customComponents: s, accessibility: i } = N(), { theme: a, cssVars: l } = K(), c = ((p = i == null ? void 0 : i.widgetTriggerButton) == null ? void 0 : p.label) ?? "Chat with us";
2997
3011
  return s != null && s.widgetTrigger ? s.widgetTrigger({
2998
3012
  react: L,
2999
3013
  isOpen: e,
3000
- setIsOpen: (g) => o(g)
3014
+ setIsOpen: (u) => o(u)
3001
3015
  }) : /* @__PURE__ */ d(
3002
3016
  Pt,
3003
3017
  {
3004
3018
  initialContent: en,
3005
3019
  title: "OpenCX Live Chat Trigger",
3006
3020
  style: {
3007
- height: `calc(${a.widgetTrigger.size.button}px + ${K.x * 2}px)`,
3008
- width: `calc(${a.widgetTrigger.size.button}px + ${K.y * 2}px)`,
3021
+ height: `calc(${a.widgetTrigger.size.button}px + ${Q.x * 2}px)`,
3022
+ width: `calc(${a.widgetTrigger.size.button}px + ${Q.y * 2}px)`,
3009
3023
  fontSize: "16px",
3010
3024
  position: "fixed",
3011
3025
  zIndex: a.widgetTrigger.zIndex,
@@ -3055,8 +3069,8 @@ function tn() {
3055
3069
  "bg-primary",
3056
3070
  "text-primary-foreground"
3057
3071
  ),
3058
- children: /* @__PURE__ */ r(T, { mode: "wait", children: e ? /* @__PURE__ */ r(
3059
- k,
3072
+ children: /* @__PURE__ */ r(M, { mode: "wait", children: e ? /* @__PURE__ */ r(
3073
+ C,
3060
3074
  {
3061
3075
  snapExit: !0,
3062
3076
  fadeIn: "up",
@@ -3064,7 +3078,7 @@ function tn() {
3064
3078
  initial: { rotate: 45 },
3065
3079
  animate: { rotate: 0 }
3066
3080
  },
3067
- children: (x = n == null ? void 0 : n.widgetTrigger) != null && x.closeIcon ? /* @__PURE__ */ r(
3081
+ children: (v = n == null ? void 0 : n.widgetTrigger) != null && v.closeIcon ? /* @__PURE__ */ r(
3068
3082
  "img",
3069
3083
  {
3070
3084
  src: n.widgetTrigger.closeIcon,
@@ -3086,14 +3100,14 @@ function tn() {
3086
3100
  },
3087
3101
  "x-icon"
3088
3102
  ) : /* @__PURE__ */ r(
3089
- k,
3103
+ C,
3090
3104
  {
3091
3105
  snapExit: !0,
3092
3106
  overrides: {
3093
3107
  initial: { rotate: 45 },
3094
3108
  animate: { rotate: 0 }
3095
3109
  },
3096
- children: (v = n == null ? void 0 : n.widgetTrigger) != null && v.openIcon ? /* @__PURE__ */ r(
3110
+ children: (b = n == null ? void 0 : n.widgetTrigger) != null && b.openIcon ? /* @__PURE__ */ r(
3097
3111
  "img",
3098
3112
  {
3099
3113
  src: n.widgetTrigger.openIcon,
@@ -3143,7 +3157,7 @@ function rn() {
3143
3157
  function on({
3144
3158
  widgetRef: e
3145
3159
  }) {
3146
- const { widgetCtx: o } = O(), { contactState: t } = _t(), { setIsOpen: n, isOpen: s } = G(), {
3160
+ const { widgetCtx: o } = O(), { contactState: t } = _t(), { setIsOpen: n, isOpen: s } = Z(), {
3147
3161
  toChatScreen: i,
3148
3162
  routerState: { screen: a }
3149
3163
  } = H(), { sendMessage: l } = A();
@@ -3171,7 +3185,7 @@ function on({
3171
3185
  ), null;
3172
3186
  }
3173
3187
  function nn() {
3174
- const { isOpen: e, setIsOpen: o } = G();
3188
+ const { isOpen: e, setIsOpen: o } = Z();
3175
3189
  return /* @__PURE__ */ d(me.Root, { open: e, onOpenChange: o, children: [
3176
3190
  /* @__PURE__ */ r(rn, {}),
3177
3191
  /* @__PURE__ */ r(tn, {}),