@opencx/widget-react 4.0.52 → 4.0.53

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,9 +1,9 @@
1
1
  import { jsx as r, jsxs as d, Fragment as Q } from "react/jsx-runtime";
2
- import * as he from "@radix-ui/react-popover";
2
+ import * as me from "@radix-ui/react-popover";
3
3
  import * as J from "react";
4
- import L, { memo as Kt, forwardRef as xt, useState as D, cloneElement as vt, createContext as Qt, useEffect as se, useContext as Jt, useRef as B, useCallback as q, useMemo as bt, createElement as lt } from "react";
5
- import { useWidget as O, useConfig as C, useSessions as U, useMessages as A, useWidgetRouter as H, useDocumentDir as ye, useWidgetTrigger as V, useModes as yt, useCsat as kt, useUploadFiles as er, useIsAwaitingBotReply as Ct, useContact as zt, WidgetProvider as tr, WidgetTriggerProvider as rr } from "@opencx/widget-react-headless";
6
- import { X as or, ZoomOut as nr, ZoomIn as sr, RotateCcw as ar, FileText as Nt, CircleDashedIcon as ir, XIcon as ke, SquareXIcon as lr, SquareCheckBigIcon as cr, SquareCheckIcon as dr, ShrinkIcon as pr, Minimize2Icon as hr, MinimizeIcon as mr, Maximize2Icon as gr, MaximizeIcon as ur, ExpandIcon as wr, CircleXIcon as fr, CircleCheckBigIcon as xr, CircleCheckIcon as St, CheckCheckIcon as vr, CheckIcon as br, ChevronLeftIcon as yr, LoaderIcon as kr, ArrowUpIcon as _t, PaperclipIcon as ct, CircleDashed as Cr, AlertCircle as zr, Loader2 as Nr, FileAudio2Icon as Sr, FileVideo2Icon as _r, FileIcon as Ir, UserRoundIcon as Tr, ChevronRightIcon as Mr, SendHorizontal as Dr, ChevronDownIcon as Rr } from "lucide-react";
4
+ import L, { memo as Kt, forwardRef as xt, useState as D, cloneElement as vt, createContext as Qt, useEffect as se, useContext as Jt, useRef as B, useCallback as V, useMemo as bt, createElement as lt } from "react";
5
+ import { useWidget as O, useConfig as C, useSessions as U, useMessages as A, useWidgetRouter as H, useDocumentDir as ye, useWidgetTrigger as G, useModes as yt, useCsat as kt, useUploadFiles as er, useIsAwaitingBotReply as Ct, useContact as zt, WidgetProvider as tr, WidgetTriggerProvider as rr } from "@opencx/widget-react-headless";
6
+ import { X as or, ZoomOut as nr, ZoomIn as sr, RotateCcw as ar, FileText as Nt, CircleDashedIcon as ir, XIcon as ke, SquareXIcon as lr, SquareCheckBigIcon as cr, SquareCheckIcon as dr, ShrinkIcon as pr, Minimize2Icon as mr, MinimizeIcon as hr, Maximize2Icon as gr, MaximizeIcon as ur, ExpandIcon as wr, CircleXIcon as fr, CircleCheckBigIcon as xr, CircleCheckIcon as St, CheckCheckIcon as vr, CheckIcon as br, ChevronLeftIcon as yr, LoaderIcon as kr, ArrowUpIcon as _t, PaperclipIcon as ct, CircleDashed as Cr, AlertCircle as zr, Loader2 as Nr, FileAudio2Icon as Sr, FileVideo2Icon as _r, FileIcon as Ir, UserRoundIcon as Tr, ChevronRightIcon as Mr, SendHorizontal as Dr, ChevronDownIcon as Rr } from "lucide-react";
7
7
  import { clsx as jr } from "clsx";
8
8
  import { twMerge as Pr } from "tailwind-merge";
9
9
  import { motion as re, AnimatePresence as T } from "framer-motion";
@@ -20,10 +20,10 @@ import dt from "tinycolor2";
20
20
  import { useDropzone as Wr } from "react-dropzone";
21
21
  import Lr from "react-use/lib/useAsyncFn";
22
22
  import { z as ue } from "zod";
23
- function w(e) {
23
+ function f(e) {
24
24
  return { "data-component": e };
25
25
  }
26
- function h(...e) {
26
+ function m(...e) {
27
27
  return Pr(jr(e));
28
28
  }
29
29
  const K = {
@@ -36,37 +36,37 @@ const K = {
36
36
  if (n || /translate/.test(
37
37
  e.props.className || ""
38
38
  )) return e;
39
- const f = (b) => {
40
- var M, g;
41
- const { clientX: z, clientY: _ } = b, v = b.currentTarget.getBoundingClientRect(), R = z - (v.left + v.width / 2), P = _ - (v.top + v.height / 2), E = Math.max(
39
+ const x = (b) => {
40
+ var M, h;
41
+ const { clientX: z, clientY: _ } = b, y = b.currentTarget.getBoundingClientRect(), R = z - (y.left + y.width / 2), P = _ - (y.top + y.height / 2), E = Math.max(
42
42
  -1,
43
- Math.min(1, R / (v.width / 2))
44
- ), u = Math.max(
43
+ Math.min(1, R / (y.width / 2))
44
+ ), w = Math.max(
45
45
  -1,
46
- Math.min(1, P / (v.height / 2))
47
- ), I = E * K.x, j = u * K.y;
48
- c({ x: I, y: j }), (g = (M = e.props).onMouseMove) == null || g.call(M, b);
49
- }, x = () => {
46
+ Math.min(1, P / (y.height / 2))
47
+ ), I = E * K.x, j = w * K.y;
48
+ c({ x: I, y: j }), (h = (M = e.props).onMouseMove) == null || h.call(M, b);
49
+ }, v = () => {
50
50
  var b, z;
51
51
  a(!0), (z = (b = e.props).onMouseEnter) == null || z.call(b);
52
- }, m = () => {
52
+ }, u = () => {
53
53
  var b, z;
54
54
  a(!1), c({ x: 0, y: 0 }), (z = (b = e.props).onMouseLeave) == null || z.call(b);
55
- }, k = {
55
+ }, g = {
56
56
  "--wobble-x": i ? `${l.x}px` : "0px",
57
57
  "--wobble-y": i ? `${l.y}px` : "0px",
58
58
  "--scale": 1 - (t - 1)
59
59
  };
60
60
  return vt(e, {
61
61
  ref: s,
62
- onMouseMove: f,
63
- onMouseEnter: x,
64
- onMouseLeave: m,
62
+ onMouseMove: x,
63
+ onMouseEnter: v,
64
+ onMouseLeave: u,
65
65
  style: {
66
- ...k,
66
+ ...g,
67
67
  ...e.props.style
68
68
  },
69
- className: h(
69
+ className: m(
70
70
  "translate-x-[var(--wobble-x)]",
71
71
  "translate-y-[var(--wobble-y)]",
72
72
  "hover:scale-[var(--scale)] active:hover:scale-[calc(var(--scale)-0.02)]",
@@ -100,7 +100,7 @@ const $r = 10, Br = (e, o, t) => ({
100
100
  left: Yr,
101
101
  up: Ur,
102
102
  down: Xr
103
- }, y = xt(
103
+ }, k = xt(
104
104
  ({
105
105
  fadeIn: e = "down",
106
106
  distance: o = $r,
@@ -114,9 +114,9 @@ const $r = 10, Br = (e, o, t) => ({
114
114
  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 });
115
115
  }
116
116
  );
117
- y.displayName = "MotionDiv";
117
+ k.displayName = "MotionDiv";
118
118
  const Vr = Or(
119
- h(
119
+ m(
120
120
  "inline-flex shrink-0 items-center justify-center gap-2",
121
121
  "text-sm font-medium whitespace-nowrap",
122
122
  "ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
@@ -158,9 +158,9 @@ const Vr = Or(
158
158
  ({ className: e, variant: o = "default", size: t, asChild: n = !1, ...s }, i) => /* @__PURE__ */ r(Y, { ref: i, children: /* @__PURE__ */ r(
159
159
  n ? Er : "button",
160
160
  {
161
- ...w("ui_lib/btn"),
161
+ ...f("ui_lib/btn"),
162
162
  "data-variant": o,
163
- className: h(Vr({ variant: o, size: t, className: e })),
163
+ className: m(Vr({ variant: o, size: t, className: e })),
164
164
  ...s
165
165
  }
166
166
  ) })
@@ -186,7 +186,7 @@ function Gr({ children: e }) {
186
186
  }
187
187
  );
188
188
  }
189
- function me() {
189
+ function he() {
190
190
  const e = Jt(Dt);
191
191
  return e || (console.error("useDialoger must be used within a DialogerProvider"), {
192
192
  open: () => {
@@ -198,7 +198,7 @@ function me() {
198
198
  });
199
199
  }
200
200
  function Zr() {
201
- const { contentIframeRef: e } = O(), { isOpen: o, content: t, close: n } = me();
201
+ const { contentIframeRef: e } = O(), { isOpen: o, content: t, close: n } = he();
202
202
  return se(() => {
203
203
  var i, a;
204
204
  const s = (l) => {
@@ -215,7 +215,7 @@ function Zr() {
215
215
  );
216
216
  };
217
217
  }, []), /* @__PURE__ */ r(T, { mode: "wait", children: o && t && /* @__PURE__ */ r(
218
- y,
218
+ k,
219
219
  {
220
220
  overrides: {
221
221
  initial: { y: 0 },
@@ -234,11 +234,11 @@ function Ce({
234
234
  className: o,
235
235
  withClose: t = !1
236
236
  }) {
237
- const { close: n } = me();
237
+ const { close: n } = he();
238
238
  return /* @__PURE__ */ d(
239
239
  "div",
240
240
  {
241
- className: h(
241
+ className: m(
242
242
  "fixed left-[50%] top-[50%] z-50 flex flex-col gap-4 w-full max-w-[61.8%] translate-x-[-50%] translate-y-[-50%] border bg-background p-4 rounded-3xl",
243
243
  o
244
244
  ),
@@ -267,7 +267,7 @@ const Rt = ({
267
267
  }) => /* @__PURE__ */ r(
268
268
  "div",
269
269
  {
270
- className: h("flex flex-col gap-2 text-center pt-2", e),
270
+ className: m("flex flex-col gap-2 text-center pt-2", e),
271
271
  ...o
272
272
  }
273
273
  );
@@ -278,7 +278,7 @@ const jt = ({
278
278
  }) => /* @__PURE__ */ r(
279
279
  "div",
280
280
  {
281
- className: h("flex flex-col gap-2 text-center", e),
281
+ className: m("flex flex-col gap-2 text-center", e),
282
282
  ...o
283
283
  }
284
284
  );
@@ -286,13 +286,13 @@ jt.displayName = "DialogerBody";
286
286
  const Pt = ({
287
287
  className: e,
288
288
  ...o
289
- }) => /* @__PURE__ */ r("div", { className: h("flex flex-col gap-2", e), ...o });
289
+ }) => /* @__PURE__ */ r("div", { className: m("flex flex-col gap-2", e), ...o });
290
290
  Pt.displayName = "DialogerFooter";
291
291
  const Et = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
292
292
  "p",
293
293
  {
294
294
  ref: t,
295
- className: h(
295
+ className: m(
296
296
  "text-lg font-semibold leading-none tracking-tight",
297
297
  e
298
298
  ),
@@ -304,7 +304,7 @@ const Ot = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
304
304
  "p",
305
305
  {
306
306
  ref: t,
307
- className: h("text-sm text-muted-foreground", e),
307
+ className: m("text-sm text-muted-foreground", e),
308
308
  ...o
309
309
  }
310
310
  ));
@@ -313,12 +313,12 @@ function ze({
313
313
  children: e,
314
314
  trigger: o
315
315
  }) {
316
- const { open: t } = me();
316
+ const { open: t } = he();
317
317
  return vt(o, {
318
318
  onClick: () => t(e)
319
319
  });
320
320
  }
321
- const pt = 1, ht = 5, le = 0.5, Kr = 2.5;
321
+ const pt = 1, mt = 5, le = 0.5, Kr = 2.5;
322
322
  function Qr(e, o, t, n) {
323
323
  if (!t || !n || o <= 1) return { x: 0, y: 0 };
324
324
  const s = t.getBoundingClientRect(), i = n.offsetWidth, a = n.offsetHeight, l = Math.max(0, (i * o - s.width) / (2 * o)), c = Math.max(
@@ -334,62 +334,62 @@ function At({
334
334
  src: e,
335
335
  alt: o
336
336
  }) {
337
- 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 }), f = B(null), x = B(null), m = B(!1), k = (u) => Math.min(ht, Math.max(pt, u)), b = q(() => {
337
+ 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), u = B(!1), g = (w) => Math.min(mt, Math.max(pt, w)), b = V(() => {
338
338
  n(1), i({ x: 0, y: 0 });
339
- }, []), z = q(() => {
340
- n((u) => k(u + le));
341
- }, []), _ = q(() => {
342
- n((u) => {
343
- const I = k(u - le);
339
+ }, []), z = V(() => {
340
+ n((w) => g(w + le));
341
+ }, []), _ = V(() => {
342
+ n((w) => {
343
+ const I = g(w - le);
344
344
  return I <= 1 && i({ x: 0, y: 0 }), I;
345
345
  });
346
346
  }, []);
347
- q((u) => {
348
- u.preventDefault(), u.stopPropagation();
349
- const I = u.deltaY > 0 ? -le : le;
347
+ V((w) => {
348
+ w.preventDefault(), w.stopPropagation();
349
+ const I = w.deltaY > 0 ? -le : le;
350
350
  n((j) => {
351
- const M = k(j + I);
351
+ const M = g(j + I);
352
352
  return M <= 1 && i({ x: 0, y: 0 }), M;
353
353
  });
354
354
  }, []);
355
- const v = q(
356
- (u) => {
357
- u.preventDefault(), m.current = !1, l(!0), c.current = { x: u.clientX, y: u.clientY }, p.current = { ...s }, u.target.setPointerCapture(u.pointerId);
355
+ const y = V(
356
+ (w) => {
357
+ w.preventDefault(), u.current = !1, l(!0), c.current = { x: w.clientX, y: w.clientY }, p.current = { ...s }, w.target.setPointerCapture(w.pointerId);
358
358
  },
359
359
  [s]
360
- ), R = q(
361
- (u) => {
360
+ ), R = V(
361
+ (w) => {
362
362
  if (!a) return;
363
- const I = u.clientX - c.current.x, j = u.clientY - c.current.y;
364
- if ((Math.abs(I) > 3 || Math.abs(j) > 3) && (m.current = !0), t <= 1) return;
363
+ const I = w.clientX - c.current.x, j = w.clientY - c.current.y;
364
+ if ((Math.abs(I) > 3 || Math.abs(j) > 3) && (u.current = !0), t <= 1) return;
365
365
  const M = {
366
366
  x: p.current.x + I / t,
367
367
  y: p.current.y + j / t
368
368
  };
369
369
  i(
370
- Qr(M, t, f.current, x.current)
370
+ Qr(M, t, x.current, v.current)
371
371
  );
372
372
  },
373
373
  [a, t]
374
- ), P = q(() => {
375
- const u = m.current;
376
- l(!1), !u && n((I) => I > 1 ? (i({ x: 0, y: 0 }), 1) : Kr);
374
+ ), P = V(() => {
375
+ const w = u.current;
376
+ l(!1), !w && n((I) => I > 1 ? (i({ x: 0, y: 0 }), 1) : Kr);
377
377
  }, []), E = t > 1;
378
378
  return /* @__PURE__ */ d(
379
379
  "div",
380
380
  {
381
381
  className: "relative size-full flex items-center justify-center select-none",
382
- onClick: (u) => u.stopPropagation(),
382
+ onClick: (w) => w.stopPropagation(),
383
383
  children: [
384
384
  /* @__PURE__ */ r(
385
385
  "div",
386
386
  {
387
- ref: f,
388
- className: h(
387
+ ref: x,
388
+ className: m(
389
389
  "overflow-hidden max-h-full max-w-full rounded-2xl flex items-center justify-center",
390
390
  E && "size-full"
391
391
  ),
392
- onPointerDown: v,
392
+ onPointerDown: y,
393
393
  onPointerMove: R,
394
394
  onPointerUp: P,
395
395
  onPointerCancel: P,
@@ -400,7 +400,7 @@ function At({
400
400
  children: /* @__PURE__ */ r(
401
401
  "img",
402
402
  {
403
- ref: x,
403
+ ref: v,
404
404
  src: e,
405
405
  alt: o,
406
406
  className: "block max-w-full object-contain pointer-events-none",
@@ -421,7 +421,7 @@ function At({
421
421
  Math.round(t * 100),
422
422
  "%"
423
423
  ] }),
424
- /* @__PURE__ */ r(we, { onClick: z, label: "Zoom in", disabled: t >= ht, children: /* @__PURE__ */ r(sr, { className: "size-3.5" }) }),
424
+ /* @__PURE__ */ r(we, { onClick: z, label: "Zoom in", disabled: t >= mt, children: /* @__PURE__ */ r(sr, { className: "size-3.5" }) }),
425
425
  E && /* @__PURE__ */ d(Q, { children: [
426
426
  /* @__PURE__ */ r("div", { className: "w-px h-4 bg-white/30 mx-0.5" }),
427
427
  /* @__PURE__ */ r(we, { onClick: b, label: "Reset zoom", children: /* @__PURE__ */ r(ar, { className: "size-3.5" }) })
@@ -475,7 +475,7 @@ function Ft({ attachment: e }) {
475
475
  href: s,
476
476
  target: "_blank",
477
477
  rel: "noopener noreferrer",
478
- className: h(
478
+ className: m(
479
479
  "block size-fit max-w-[min(100%,16rem)] shrink-0 rounded-2xl border",
480
480
  "bg-background/80 transition-colors hover:bg-accent/60",
481
481
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
@@ -484,7 +484,7 @@ function Ft({ attachment: e }) {
484
484
  /* @__PURE__ */ r(
485
485
  "div",
486
486
  {
487
- className: h(
487
+ className: m(
488
488
  "flex size-10 shrink-0 items-center justify-center rounded-xl",
489
489
  "bg-secondary text-muted-foreground"
490
490
  ),
@@ -496,7 +496,7 @@ function Ft({ attachment: e }) {
496
496
  /* @__PURE__ */ r(
497
497
  "span",
498
498
  {
499
- className: h(
499
+ className: m(
500
500
  "text-xs font-medium text-foreground line-clamp-1",
501
501
  "break-words [word-break:break-word]"
502
502
  // `[word-break:break-word]` is deprecated but works in the browser, while `break-words` which is `[overflow-wrap: break-word]` does not work
@@ -518,7 +518,7 @@ function Ft({ attachment: e }) {
518
518
  href: s,
519
519
  target: "_blank",
520
520
  rel: "noopener noreferrer",
521
- className: h(
521
+ className: m(
522
522
  "text-xs text-blue-500 line-clamp-2 underline hover:text-blue-600",
523
523
  "break-words [word-break:break-word]"
524
524
  // `[word-break:break-word]` is deprecated but works in the browser, while `break-words` which is `[overflow-wrap: break-word]` does not work
@@ -617,27 +617,27 @@ function fe(e) {
617
617
  classNames: p
618
618
  } = e;
619
619
  if (n !== "AI" && n !== "AGENT") return null;
620
- const { message: f, variant: x = "default" } = o;
620
+ const { message: x, variant: v = "default" } = o;
621
621
  return /* @__PURE__ */ d(
622
622
  "div",
623
623
  {
624
- ...w((c == null ? void 0 : c.messageContainer) ?? "chat/agent_msg/root"),
625
- className: h(
624
+ ...f((c == null ? void 0 : c.messageContainer) ?? "chat/agent_msg/root"),
625
+ className: m(
626
626
  "w-5/6 flex flex-col items-start gap-1",
627
627
  p == null ? void 0 : p.messageContainer
628
628
  ),
629
629
  children: [
630
- 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((m) => /* @__PURE__ */ r(Ft, { attachment: m }, m.id)) }),
631
- f.length > 0 && /* @__PURE__ */ d("div", { className: "flex flex-row gap-2", children: [
630
+ 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(Ft, { attachment: u }, u.id)) }),
631
+ x.length > 0 && /* @__PURE__ */ d("div", { className: "flex flex-row gap-2", children: [
632
632
  /* @__PURE__ */ r(
633
633
  "div",
634
634
  {
635
- ...w((c == null ? void 0 : c.message) ?? "chat/agent_msg/msg"),
635
+ ...f((c == null ? void 0 : c.message) ?? "chat/agent_msg/msg"),
636
636
  "data-first": i,
637
637
  "data-last": a,
638
638
  "data-alone": l,
639
- "data-variant": x,
640
- className: h(
639
+ "data-variant": v,
640
+ className: m(
641
641
  "transition-all",
642
642
  "w-fit py-3 px-4 rounded-3xl bg-secondary text-secondary-foreground",
643
643
  "leading-snug text-sm prose prose-sm prose-a:decoration-primary prose-a:underline",
@@ -645,14 +645,14 @@ function fe(e) {
645
645
  // `[word-break:break-word]` is deprecated but works in the browser, while `break-words` which is `[overflow-wrap: break-word]` does not work
646
646
  // 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
647
647
  // Adding "whitespace-pre-wrap" will result in unnecessarily huge line breaks
648
- x === "error" && "bg-destructive/15 text-destructive",
648
+ v === "error" && "bg-destructive/15 text-destructive",
649
649
  // We're using the booleans directly here, not the data attributes, to make any external styling more specific than this
650
650
  i && !l && "rounded-bl-md",
651
651
  a && !l && "rounded-tl-md",
652
652
  !i && !a && !l && "rounded-l-md",
653
653
  p == null ? void 0 : p.message
654
654
  ),
655
- children: /* @__PURE__ */ r(Ne, { messageType: n, messageId: t, children: f })
655
+ children: /* @__PURE__ */ r(Ne, { messageType: n, messageId: t, children: x })
656
656
  }
657
657
  ),
658
658
  /* @__PURE__ */ r(Jr, { currentMessage: e })
@@ -668,7 +668,7 @@ const Se = J.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
668
668
  ee.Root,
669
669
  {
670
670
  ref: t,
671
- className: h(
671
+ className: m(
672
672
  "relative flex size-6 aspect-square shrink-0 overflow-hidden rounded-full bg-secondary",
673
673
  // 'border',
674
674
  e
@@ -681,7 +681,7 @@ const _e = J.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
681
681
  ee.Image,
682
682
  {
683
683
  ref: t,
684
- className: h("aspect-square h-full w-full", e),
684
+ className: m("aspect-square h-full w-full", e),
685
685
  ...o
686
686
  }
687
687
  ));
@@ -690,7 +690,7 @@ const Ie = J.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
690
690
  ee.Fallback,
691
691
  {
692
692
  ref: t,
693
- className: h(
693
+ className: m(
694
694
  "flex size-full text-xs items-center justify-center rounded-lg",
695
695
  e
696
696
  ),
@@ -710,17 +710,17 @@ function xe({
710
710
  }
711
711
  function to({ agent: e }) {
712
712
  return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ d(
713
- y,
713
+ k,
714
714
  {
715
- ...w("chat/bot_loading/root"),
715
+ ...f("chat/bot_loading/root"),
716
716
  className: "flex flex-row items-end w-full gap-2 animate-pulse",
717
717
  children: [
718
718
  /* @__PURE__ */ r(xe, { agent: e }),
719
719
  /* @__PURE__ */ d(
720
720
  "div",
721
721
  {
722
- ...w("chat/bot_loading/bouncing_dots_container"),
723
- className: h(
722
+ ...f("chat/bot_loading/bouncing_dots_container"),
723
+ className: m(
724
724
  "flex items-center [&_span]:bg-secondary-foreground [&_span]:size-1 gap-1 p-2 rounded-xl bg-secondary"
725
725
  // 'border',
726
726
  ),
@@ -735,12 +735,12 @@ function to({ agent: e }) {
735
735
  }
736
736
  ) });
737
737
  }
738
- const Wt = '*,: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))}', ro = ae.Provider, oo = ae.Root, no = ae.Trigger, Lt = J.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
738
+ const Wt = '*,: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-full{height:100%}.h-px{height:1px}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-full{max-height:100%}.min-h-12{min-height:3rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\\/5{width:40%}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.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%}.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}.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))}', ro = ae.Provider, oo = ae.Root, no = ae.Trigger, Lt = J.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
739
739
  ae.Content,
740
740
  {
741
741
  ref: n,
742
742
  sideOffset: o,
743
- className: h(
743
+ className: m(
744
744
  "z-50 overflow-hidden max-w-xs rounded-xl bg-primary border text-primary-foreground p-2 text-center align-middle text-xs animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
745
745
  e
746
746
  ),
@@ -769,12 +769,12 @@ function oe({
769
769
  )
770
770
  ] });
771
771
  }
772
- const mt = 450;
772
+ const ht = 450;
773
773
  function $() {
774
- const [e, o] = L.useState(() => (window.top || window).innerWidth < mt);
774
+ const [e, o] = L.useState(() => (window.top || window).innerWidth < ht);
775
775
  return L.useEffect(() => {
776
776
  const t = window.top || window, n = () => {
777
- o(t.innerWidth < mt);
777
+ o(t.innerWidth < ht);
778
778
  };
779
779
  return n(), t.addEventListener("resize", n), () => {
780
780
  t.removeEventListener("resize", n);
@@ -785,18 +785,18 @@ const ce = {
785
785
  transitionTimingFunction: "cubic-bezier(0.16, 1, 0.3, 1)",
786
786
  transitionDuration: "1000ms"
787
787
  };
788
- function G() {
789
- var x, m, k, b, z, _, v, R, P, E, u, I, j, M, g, S, ie, Re, je, Pe, Ee, 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;
788
+ function Z() {
789
+ var v, u, g, b, z, _, y, R, P, E, w, I, j, M, h, S, ie, Re, je, Pe, Ee, 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;
790
790
  const { dir: e } = ye(), { isSmallScreen: o } = $(), { theme: t, inline: n } = C(), s = (X) => n ? "100%" : X, i = (X, ge) => o ? `100dv${X}` : ge, a = (X, ge) => s(i(X, ge)), l = {
791
- zIndex: ((x = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : x.zIndex) ?? 1e7,
791
+ zIndex: ((v = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : v.zIndex) ?? 1e7,
792
792
  offset: {
793
- bottom: ((k = (m = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : m.offset) == null ? void 0 : k.bottom) ?? 20,
793
+ bottom: ((g = (u = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : u.offset) == null ? void 0 : g.bottom) ?? 20,
794
794
  right: ((z = (b = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : b.offset) == null ? void 0 : z.right) ?? (e === "ltr" ? 20 : "initial"),
795
- left: ((v = (_ = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : _.offset) == null ? void 0 : v.left) ?? (e === "rtl" ? 20 : "initial")
795
+ left: ((y = (_ = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : _.offset) == null ? void 0 : y.left) ?? (e === "rtl" ? 20 : "initial")
796
796
  },
797
797
  size: {
798
798
  button: ((P = (R = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : R.size) == null ? void 0 : P.button) ?? 48,
799
- icon: ((u = (E = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : E.size) == null ? void 0 : u.icon) ?? 24
799
+ icon: ((w = (E = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : E.size) == null ? void 0 : w.icon) ?? 24
800
800
  }
801
801
  }, c = (() => {
802
802
  const X = e === "ltr" ? l.offset.right : l.offset.left;
@@ -810,7 +810,7 @@ function G() {
810
810
  zIndex: ((j = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : j.zIndex) ?? l.zIndex + 1,
811
811
  outline: ((M = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : M.outline) ?? "none",
812
812
  // was: '1px solid'
813
- outlineColor: ((g = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : g.outlineColor) ?? "hsl(0 0% 50% / .5)",
813
+ outlineColor: ((h = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : h.outlineColor) ?? "hsl(0 0% 50% / .5)",
814
814
  boxShadow: ((S = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : S.boxShadow) ?? "0 0px 100px 0px rgb(0 0 0 / 0.25)",
815
815
  transitionProperty: ((ie = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : ie.transitionProperty) ?? "all",
816
816
  transitionTimingFunction: ((Re = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : Re.transitionTimingFunction) ?? ce.transitionTimingFunction,
@@ -850,7 +850,7 @@ function G() {
850
850
  }
851
851
  }
852
852
  }
853
- }, f = {
853
+ }, x = {
854
854
  // Subtract the offset.bottom twice so that it adds a bit of padding to the top
855
855
  // Subtract the distance between the trigger and the widget content container
856
856
  // Subtract the invisible padding of the trigger (for the wobble effect)
@@ -890,7 +890,7 @@ function G() {
890
890
  };
891
891
  return {
892
892
  theme: p,
893
- computed: f,
893
+ computed: x,
894
894
  cssVars: so({
895
895
  palette: p.palette,
896
896
  primary: p.primaryColor
@@ -1035,9 +1035,9 @@ function ne({
1035
1035
  case "Maximize2":
1036
1036
  return gr;
1037
1037
  case "Minimize":
1038
- return mr;
1039
- case "Minimize2":
1040
1038
  return hr;
1039
+ case "Minimize2":
1040
+ return mr;
1041
1041
  case "Shrink":
1042
1042
  return pr;
1043
1043
  case "SquareCheck":
@@ -1054,7 +1054,7 @@ function ne({
1054
1054
  return F(e, ne.name), gt;
1055
1055
  }
1056
1056
  })();
1057
- return /* @__PURE__ */ r(t, { className: h("size-4", o) });
1057
+ return /* @__PURE__ */ r(t, { className: m("size-4", o) });
1058
1058
  }
1059
1059
  function ao() {
1060
1060
  var t;
@@ -1090,9 +1090,9 @@ function Me() {
1090
1090
  function lo(e) {
1091
1091
  switch (e) {
1092
1092
  case "chat":
1093
- return w("chat/header");
1093
+ return f("chat/header");
1094
1094
  case "sessions":
1095
- return w("sessions/header");
1095
+ return f("sessions/header");
1096
1096
  case "welcome":
1097
1097
  return;
1098
1098
  default:
@@ -1119,7 +1119,7 @@ function co() {
1119
1119
  function po({
1120
1120
  button: e
1121
1121
  }) {
1122
- const { setIsOpen: o } = V(), { isSmallScreen: t } = $();
1122
+ const { setIsOpen: o } = G(), { isSmallScreen: t } = $();
1123
1123
  return t && e.hideOnSmallScreen || !t && e.hideOnLargeScreen ? null : /* @__PURE__ */ r(
1124
1124
  N,
1125
1125
  {
@@ -1139,7 +1139,7 @@ function ve({
1139
1139
  }) {
1140
1140
  const [o, t] = D(!1), {
1141
1141
  routerState: { screen: n }
1142
- } = H(), { isSmallScreen: s } = $(), { theme: i } = G(), { setWidth: a, setHeight: l } = Bt();
1142
+ } = H(), { isSmallScreen: s } = $(), { theme: i } = Z(), { setWidth: a, setHeight: l } = Bt();
1143
1143
  if (n !== "chat" && n !== "sessions") return null;
1144
1144
  const c = (() => {
1145
1145
  switch (n) {
@@ -1159,10 +1159,10 @@ function ve({
1159
1159
  default:
1160
1160
  return F(n, ve.name), i.screens.chat.width;
1161
1161
  }
1162
- })(), f = () => {
1163
- t((x) => {
1164
- const m = !x;
1165
- return l(m ? "100vh" : c), a(m ? `max(40vw, ${p})` : p), m;
1162
+ })(), x = () => {
1163
+ t((v) => {
1164
+ const u = !v;
1165
+ return l(u ? "100vh" : c), a(u ? `max(40vw, ${p})` : p), u;
1166
1166
  });
1167
1167
  };
1168
1168
  return s && e.hideOnSmallScreen || !s && e.hideOnLargeScreen ? null : /* @__PURE__ */ r(
@@ -1171,7 +1171,7 @@ function ve({
1171
1171
  variant: "ghost",
1172
1172
  size: "fit",
1173
1173
  className: "rounded-full",
1174
- onClick: f,
1174
+ onClick: x,
1175
1175
  children: /* @__PURE__ */ r(
1176
1176
  ne,
1177
1177
  {
@@ -1185,9 +1185,9 @@ function Yt({
1185
1185
  button: e
1186
1186
  }) {
1187
1187
  var z, _;
1188
- const { close: o } = me(), { widgetCtx: t } = O(), { setIsOpen: n } = V(), { 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", f = e.behaviorBeforeSessionCreation || "disabled", x = e.behaviorIfSessionIsResolved || "disabled", m = !!(i.isResolvingSession || l && f === "disabled" || c && x === "disabled"), k = async () => {
1189
- const { success: v, error: R } = await s();
1190
- if (o(), !v) return console.error(R);
1188
+ 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", u = !!(i.isResolvingSession || l && x === "disabled" || c && v === "disabled"), g = async () => {
1189
+ const { success: y, error: R } = await s();
1190
+ if (o(), !y) return console.error(R);
1191
1191
  switch (p) {
1192
1192
  case "stay-in-chat":
1193
1193
  return;
@@ -1206,7 +1206,7 @@ function Yt({
1206
1206
  }
1207
1207
  }, b = () => {
1208
1208
  if (l)
1209
- switch (f) {
1209
+ switch (x) {
1210
1210
  case "disabled":
1211
1211
  return;
1212
1212
  case "close-widget":
@@ -1214,12 +1214,12 @@ function Yt({
1214
1214
  break;
1215
1215
  default:
1216
1216
  F(
1217
- f,
1217
+ x,
1218
1218
  b.name
1219
1219
  );
1220
1220
  }
1221
1221
  if (c)
1222
- switch (x) {
1222
+ switch (v) {
1223
1223
  case "disabled":
1224
1224
  return;
1225
1225
  case "close-widget":
@@ -1235,7 +1235,7 @@ function Yt({
1235
1235
  break;
1236
1236
  default:
1237
1237
  F(
1238
- x,
1238
+ v,
1239
1239
  b.name
1240
1240
  );
1241
1241
  }
@@ -1249,7 +1249,7 @@ function Yt({
1249
1249
  variant: "ghost",
1250
1250
  size: "fit",
1251
1251
  className: "rounded-full",
1252
- disabled: m,
1252
+ disabled: u,
1253
1253
  children: /* @__PURE__ */ r(ne, { name: e.icon })
1254
1254
  }
1255
1255
  ),
@@ -1270,7 +1270,7 @@ function Yt({
1270
1270
  N,
1271
1271
  {
1272
1272
  variant: "destructive",
1273
- onClick: k,
1273
+ onClick: g,
1274
1274
  disabled: i.isResolvingSession,
1275
1275
  children: e.confirmation.confirmButtonText || "Yes"
1276
1276
  }
@@ -1284,8 +1284,8 @@ function Yt({
1284
1284
  variant: "ghost",
1285
1285
  size: "fit",
1286
1286
  className: "rounded-full",
1287
- onClick: c || l ? b : k,
1288
- disabled: m,
1287
+ onClick: c || l ? b : g,
1288
+ disabled: u,
1289
1289
  children: /* @__PURE__ */ r(ne, { name: e.icon })
1290
1290
  }
1291
1291
  );
@@ -1302,16 +1302,16 @@ function be({ button: e }) {
1302
1302
  return F(e, be.name), null;
1303
1303
  }
1304
1304
  }
1305
- const ho = {
1305
+ const mo = {
1306
1306
  functionality: "close-widget",
1307
1307
  hideOnLargeScreen: !0,
1308
1308
  icon: "X"
1309
1309
  };
1310
- function mo() {
1310
+ function ho() {
1311
1311
  const {
1312
1312
  routerState: { screen: e }
1313
1313
  } = H(), { headerButtons: o } = C(), t = e === "chat" ? o == null ? void 0 : o.chatScreen : e === "sessions" ? o == null ? void 0 : o.sessionsScreen : [];
1314
- return !t || t.length === 0 ? /* @__PURE__ */ r(be, { button: ho }) : /* @__PURE__ */ r(Q, { children: t.map((n) => /* @__PURE__ */ r(
1314
+ return !t || t.length === 0 ? /* @__PURE__ */ r(be, { button: mo }) : /* @__PURE__ */ r(Q, { children: t.map((n) => /* @__PURE__ */ r(
1315
1315
  be,
1316
1316
  {
1317
1317
  button: n
@@ -1329,7 +1329,7 @@ function Ut() {
1329
1329
  /* @__PURE__ */ r(
1330
1330
  "div",
1331
1331
  {
1332
- className: h(
1332
+ className: m(
1333
1333
  "flex-1 h-8 flex items-center",
1334
1334
  e === "sessions" && "ps-2"
1335
1335
  ),
@@ -1341,13 +1341,13 @@ function Ut() {
1341
1341
  )
1342
1342
  }
1343
1343
  ),
1344
- /* @__PURE__ */ r(mo, {})
1344
+ /* @__PURE__ */ r(ho, {})
1345
1345
  ] }),
1346
1346
  /* @__PURE__ */ r(ao, {})
1347
1347
  ] });
1348
1348
  }
1349
1349
  function Xt({ className: e }) {
1350
- return /* @__PURE__ */ r(kr, { className: h("size-4 animate-spin", e) });
1350
+ return /* @__PURE__ */ r(kr, { className: m("size-4 animate-spin", e) });
1351
1351
  }
1352
1352
  function go() {
1353
1353
  const {
@@ -1378,15 +1378,27 @@ function uo() {
1378
1378
  }
1379
1379
  );
1380
1380
  }
1381
+ function q() {
1382
+ const { dir: e } = ye(), o = C();
1383
+ return bt(() => {
1384
+ const t = Fr(o.language) ? o.language : "en";
1385
+ return {
1386
+ t: (n) => Hr(n, t, o.translationOverrides),
1387
+ language: t,
1388
+ dir: t === "ar" ? "rtl" : "ltr",
1389
+ hostDocumentDir: e
1390
+ };
1391
+ }, [o.language, e]);
1392
+ }
1381
1393
  const W = L.forwardRef(
1382
1394
  (e, o) => {
1383
1395
  var t, n, s;
1384
1396
  return /* @__PURE__ */ r(
1385
- y,
1397
+ k,
1386
1398
  {
1387
1399
  ...e,
1388
1400
  ref: o,
1389
- className: h("overflow-hidden", e.className),
1401
+ className: m("overflow-hidden", e.className),
1390
1402
  overrides: {
1391
1403
  initial: { height: 0, opacity: 0, ...(t = e.overrides) == null ? void 0 : t.initial },
1392
1404
  animate: { height: "auto", opacity: 1, ...(n = e.overrides) == null ? void 0 : n.animate },
@@ -1425,58 +1437,59 @@ const wo = [
1425
1437
  }
1426
1438
  ];
1427
1439
  function fo() {
1428
- const { isSmallScreen: e } = $(), {
1429
- submitCsat: o,
1430
- isCsatRequested: t,
1431
- isCsatSubmitted: n,
1432
- submittedScore: s,
1433
- submittedFeedback: i
1434
- } = kt(), [a, l] = D(null), [c, p] = D(null), f = (m) => {
1435
- l((k) => k === m ? null : m);
1436
- }, x = () => {
1437
- a && o({
1438
- score: a,
1439
- feedback: c || void 0
1440
+ const { isSmallScreen: e } = $(), { t: o } = q(), {
1441
+ submitCsat: t,
1442
+ isCsatRequested: n,
1443
+ isCsatSubmitted: s,
1444
+ submittedScore: i,
1445
+ submittedFeedback: a
1446
+ } = kt(), [l, c] = D(null), [p, x] = D(null), v = (g) => {
1447
+ c((b) => b === g ? null : g);
1448
+ }, u = () => {
1449
+ l && t({
1450
+ score: l,
1451
+ feedback: p || void 0
1440
1452
  });
1441
1453
  };
1442
- return !t && !n ? null : /* @__PURE__ */ d("div", { className: "w-1/2 min-w-80 max-w-96 mx-auto overflow-hidden", children: [
1443
- /* @__PURE__ */ r(T, { mode: "wait", children: t && !a ? /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: "How was your conversation?" }) }, "csat-requested-title") : n ? /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: "You rated the conversation as" }) }, "csat-submitted-title") : null }),
1454
+ return !n && !s ? null : /* @__PURE__ */ d("div", { className: "w-1/2 min-w-80 max-w-96 mx-auto overflow-hidden", children: [
1455
+ /* @__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 }),
1444
1456
  /* @__PURE__ */ r(
1445
1457
  "div",
1446
1458
  {
1447
- className: h(
1459
+ dir: "ltr",
1460
+ className: m(
1448
1461
  "flex gap-4 justify-between pt-2 px-2 pb-2",
1449
1462
  "transition-all",
1450
- n && "gap-0 justify-center"
1463
+ s && "gap-0 justify-center"
1451
1464
  ),
1452
- children: wo.map((m) => /* @__PURE__ */ r(
1465
+ children: wo.map((g) => /* @__PURE__ */ r(
1453
1466
  N,
1454
1467
  {
1455
- variant: m.value === a ? "secondary" : "ghost",
1468
+ variant: g.value === l ? "secondary" : "ghost",
1456
1469
  size: "selfless",
1457
- className: h(
1470
+ className: m(
1458
1471
  "transition-all overflow-hidden",
1459
1472
  "text-2xl size-8 rounded-full",
1460
1473
  "opacity-35",
1461
1474
  "hover:opacity-100",
1462
- !a && "opacity-100",
1463
- m.value === a && "opacity-100",
1464
- n && m.value !== s && "opacity-0 size-0",
1465
- n && m.value === s && "opacity-100 size-fit text-4xl"
1475
+ !l && "opacity-100",
1476
+ g.value === l && "opacity-100",
1477
+ s && g.value !== i && "opacity-0 size-0",
1478
+ s && g.value === i && "opacity-100 size-fit text-4xl"
1466
1479
  ),
1467
- onClick: t ? () => f(m.value) : void 0,
1468
- children: m.emoji
1480
+ onClick: n ? () => v(g.value) : void 0,
1481
+ children: g.emoji
1469
1482
  },
1470
- m.value
1483
+ g.value
1471
1484
  ))
1472
1485
  }
1473
1486
  ),
1474
- /* @__PURE__ */ r(T, { mode: "wait", children: (a || s) && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ d("div", { className: "pb-2 px-2 flex items-end", children: [
1487
+ /* @__PURE__ */ r(T, { mode: "wait", children: (l || i) && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ d("div", { className: "pb-2 px-2 flex items-end", children: [
1475
1488
  /* @__PURE__ */ r(
1476
1489
  "textarea",
1477
1490
  {
1478
1491
  rows: 3,
1479
- className: h(
1492
+ className: m(
1480
1493
  "transition-all",
1481
1494
  "max-h-40 [field-sizing:content]",
1482
1495
  "w-full resize-none",
@@ -1484,44 +1497,37 @@ function fo() {
1484
1497
  "placeholder:text-muted-foreground",
1485
1498
  // 16px on mobiles prevents auto-zoom on the input when focused
1486
1499
  e ? "text-[16px]" : "text-sm",
1487
- n && "text-center"
1500
+ s && "text-center"
1488
1501
  ),
1489
- value: n ? i || "" : c || "",
1490
- onChange: t ? (m) => p(m.target.value) : void 0,
1491
- readOnly: n,
1492
- placeholder: t ? "Tell us more... (optional)" : void 0
1502
+ value: s ? a || "" : p || "",
1503
+ onChange: n ? (g) => x(g.target.value) : void 0,
1504
+ readOnly: s,
1505
+ placeholder: n ? o("csat_feedback_placeholder") : void 0
1493
1506
  }
1494
1507
  ),
1495
1508
  /* @__PURE__ */ r(
1496
1509
  N,
1497
1510
  {
1498
1511
  size: "fit",
1499
- onClick: x,
1500
- disabled: !a,
1501
- className: h(
1512
+ onClick: u,
1513
+ disabled: !l,
1514
+ className: m(
1502
1515
  "transition-all overflow-hidden",
1503
1516
  "rounded-full size-8 flex items-center justify-center p-0",
1504
- n && "opacity-0 size-0"
1517
+ s && "opacity-0 size-0"
1505
1518
  ),
1506
1519
  children: /* @__PURE__ */ r(_t, { className: "size-4" })
1507
1520
  }
1508
1521
  )
1509
1522
  ] }) }, "feedback-box") }),
1510
- /* @__PURE__ */ r("div", { className: h("h-0 transition-[height]", n && "h-4") })
1523
+ /* @__PURE__ */ r(
1524
+ "div",
1525
+ {
1526
+ className: m("h-0 transition-[height]", s && "h-4")
1527
+ }
1528
+ )
1511
1529
  ] });
1512
1530
  }
1513
- function Z() {
1514
- const { dir: e } = ye(), o = C();
1515
- return bt(() => {
1516
- const t = Fr(o.language) ? o.language : "en";
1517
- return {
1518
- t: (n) => Hr(n, t, o.translationOverrides),
1519
- language: t,
1520
- dir: t === "ar" ? "rtl" : "ltr",
1521
- hostDocumentDir: e
1522
- };
1523
- }, [o.language, e]);
1524
- }
1525
1531
  function De({
1526
1532
  suggestion: e,
1527
1533
  className: o,
@@ -1534,9 +1540,9 @@ function De({
1534
1540
  return /* @__PURE__ */ r(
1535
1541
  N,
1536
1542
  {
1537
- ...w("chat/suggested_reply_btn"),
1543
+ ...f("chat/suggested_reply_btn"),
1538
1544
  size: "sm",
1539
- className: h("rounded-xl w-fit", o),
1545
+ className: m("rounded-xl w-fit", o),
1540
1546
  ...t,
1541
1547
  onClick: s,
1542
1548
  children: e
@@ -1544,11 +1550,11 @@ function De({
1544
1550
  );
1545
1551
  }
1546
1552
  function xo() {
1547
- const { t: e } = Z(), o = [e("i_need_more_help"), e("this_was_helpful")];
1553
+ const { t: e } = q(), o = [e("i_need_more_help"), e("this_was_helpful")];
1548
1554
  return /* @__PURE__ */ r(
1549
1555
  "div",
1550
1556
  {
1551
- ...w("chat/might_solve_user_issue_suggested_replies_container"),
1557
+ ...f("chat/might_solve_user_issue_suggested_replies_container"),
1552
1558
  className: "flex items-center gap-2 p-2 pb-0 flex-wrap",
1553
1559
  children: o.map((t) => /* @__PURE__ */ r(
1554
1560
  De,
@@ -1608,7 +1614,7 @@ function vo({
1608
1614
  children: /* @__PURE__ */ d(
1609
1615
  "div",
1610
1616
  {
1611
- className: h(
1617
+ className: m(
1612
1618
  e === "uploading" && "opacity-50",
1613
1619
  "group",
1614
1620
  "size-12 border rounded-2xl overflow-hidden relative",
@@ -1620,7 +1626,7 @@ function vo({
1620
1626
  "button",
1621
1627
  {
1622
1628
  type: "button",
1623
- className: h(
1629
+ className: m(
1624
1630
  "absolute bg-black/50 inset-0 size-full z-10 opacity-0",
1625
1631
  "flex items-center justify-center",
1626
1632
  "opacity-0 group-hover:opacity-100 transition"
@@ -1638,22 +1644,22 @@ function vo({
1638
1644
  }
1639
1645
  function bo() {
1640
1646
  var M;
1641
- const { isSmallScreen: e } = $(), o = B(null), { sendMessage: t } = A(), { sessionState: n } = U(), { disableSendingWhenAwaitingAIReply: s } = C(), { t: i } = Z(), [a, l] = D(""), {
1647
+ const { isSmallScreen: e } = $(), o = B(null), { sendMessage: t } = A(), { sessionState: n } = U(), { disableSendingWhenAwaitingAIReply: s } = C(), { t: i } = q(), [a, l] = D(""), {
1642
1648
  allFiles: c,
1643
1649
  emptyTheFiles: p,
1644
- handleCancelUpload: f,
1645
- appendFiles: x,
1646
- isUploading: m,
1647
- successFiles: k
1648
- } = er(), b = !!((M = n.session) != null && M.isHandedOff), { isAwaitingBotReply: z } = Ct(), _ = s !== !1 && z, v = (g) => {
1649
- x(g);
1650
- }, R = !a.trim() && k.length === 0, P = async () => {
1650
+ handleCancelUpload: x,
1651
+ appendFiles: v,
1652
+ isUploading: u,
1653
+ successFiles: g
1654
+ } = er(), b = !!((M = n.session) != null && M.isHandedOff), { isAwaitingBotReply: z } = Ct(), _ = s !== !1 && z, y = (h) => {
1655
+ v(h);
1656
+ }, R = !a.trim() && g.length === 0, P = async () => {
1651
1657
  if (_ || R) return;
1652
- m && console.info("please wait for the file(s) to upload");
1653
- const g = a.trim();
1658
+ u && console.info("please wait for the file(s) to upload");
1659
+ const h = a.trim();
1654
1660
  t({
1655
- content: g,
1656
- attachments: k.flatMap(
1661
+ content: h,
1662
+ attachments: g.flatMap(
1657
1663
  (S) => S.fileUrl ? [
1658
1664
  {
1659
1665
  url: S.fileUrl,
@@ -1667,10 +1673,10 @@ function bo() {
1667
1673
  }), l(""), p();
1668
1674
  }, {
1669
1675
  getRootProps: E,
1670
- getInputProps: u,
1676
+ getInputProps: w,
1671
1677
  open: I
1672
1678
  } = Wr({
1673
- onDrop: v,
1679
+ onDrop: y,
1674
1680
  noClick: !0,
1675
1681
  onDropRejected() {
1676
1682
  console.error("unsupported file type, or the file is too large");
@@ -1687,23 +1693,23 @@ function bo() {
1687
1693
  "image/webp": [".webp"],
1688
1694
  "application/pdf": [".pdf"]
1689
1695
  }
1690
- }), j = (g) => {
1691
- const S = g.clipboardData;
1692
- S && S.files.length > 0 && v(Array.from(S.files));
1696
+ }), j = (h) => {
1697
+ const S = h.clipboardData;
1698
+ S && S.files.length > 0 && y(Array.from(S.files));
1693
1699
  };
1694
1700
  return /* @__PURE__ */ d(
1695
1701
  "div",
1696
1702
  {
1697
- ...w("chat/input_box/root"),
1703
+ ...f("chat/input_box/root"),
1698
1704
  className: "p-2 relative space-y-1",
1699
1705
  ...E(),
1700
1706
  children: [
1701
- /* @__PURE__ */ r("input", { ...u() }),
1707
+ /* @__PURE__ */ r("input", { ...w() }),
1702
1708
  /* @__PURE__ */ d(
1703
1709
  "div",
1704
1710
  {
1705
- ...w("chat/input_box/inner_root"),
1706
- className: h(
1711
+ ...f("chat/input_box/inner_root"),
1712
+ className: m(
1707
1713
  "transition-all",
1708
1714
  "bg-white",
1709
1715
  // 'border',
@@ -1714,33 +1720,33 @@ function bo() {
1714
1720
  /* @__PURE__ */ d(
1715
1721
  "div",
1716
1722
  {
1717
- ...w("chat/input_box/textarea_and_attachments_container"),
1723
+ ...f("chat/input_box/textarea_and_attachments_container"),
1718
1724
  className: "flex flex-col gap-2",
1719
1725
  children: [
1720
1726
  c.length > 0 && /* @__PURE__ */ r(
1721
1727
  "div",
1722
1728
  {
1723
- ...w("chat/input_box/attachments_container"),
1729
+ ...f("chat/input_box/attachments_container"),
1724
1730
  className: "flex items-center gap-1",
1725
- children: /* @__PURE__ */ r(T, { mode: "popLayout", children: c.map((g) => /* @__PURE__ */ r(y, { snapExit: !0, children: /* @__PURE__ */ r(
1731
+ children: /* @__PURE__ */ r(T, { mode: "popLayout", children: c.map((h) => /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(
1726
1732
  vo,
1727
1733
  {
1728
- onCancel: () => f(g.id),
1729
- file: g
1734
+ onCancel: () => x(h.id),
1735
+ file: h
1730
1736
  }
1731
- ) }, g.id)) })
1737
+ ) }, h.id)) })
1732
1738
  }
1733
1739
  ),
1734
1740
  /* @__PURE__ */ r(
1735
1741
  "textarea",
1736
1742
  {
1737
- ...w("chat/input_box/textarea"),
1743
+ ...f("chat/input_box/textarea"),
1738
1744
  onPaste: j,
1739
1745
  ref: o,
1740
1746
  id: "chat-input",
1741
1747
  value: a,
1742
1748
  rows: 3,
1743
- className: h(
1749
+ className: m(
1744
1750
  /** Match the border radius of the container */
1745
1751
  // INPUT_CONTAINER_B_RADIUS,
1746
1752
  "max-h-16 [field-sizing:content]",
@@ -1751,9 +1757,9 @@ function bo() {
1751
1757
  // 16px on mobiles prevents auto-zoom on the input when focused
1752
1758
  e ? "text-[16px]" : "text-sm"
1753
1759
  ),
1754
- onChange: (g) => l(g.target.value),
1755
- onKeyDown: async (g) => {
1756
- g.key === "Enter" && !g.shiftKey && (g.preventDefault(), P());
1760
+ onChange: (h) => l(h.target.value),
1761
+ onKeyDown: async (h) => {
1762
+ h.key === "Enter" && !h.shiftKey && (h.preventDefault(), P());
1757
1763
  },
1758
1764
  placeholder: i("write_a_message_placeholder")
1759
1765
  }
@@ -1774,10 +1780,10 @@ function bo() {
1774
1780
  onClick: I,
1775
1781
  size: "fit",
1776
1782
  variant: "ghost",
1777
- className: h(
1783
+ className: m(
1778
1784
  "rounded-full size-8 flex items-center justify-center p-0 overflow-hidden"
1779
1785
  ),
1780
- children: /* @__PURE__ */ r(T, { mode: "wait", children: _ ? /* @__PURE__ */ r(y, { children: /* @__PURE__ */ r(ct, { className: "size-4 opacity-50" }) }, "paper-clip-disabled") : /* @__PURE__ */ r(y, { children: /* @__PURE__ */ r(ct, { className: "size-4" }) }, "paper-clip") })
1786
+ children: /* @__PURE__ */ r(T, { mode: "wait", children: _ ? /* @__PURE__ */ r(k, { children: /* @__PURE__ */ r(ct, { className: "size-4 opacity-50" }) }, "paper-clip-disabled") : /* @__PURE__ */ r(k, { children: /* @__PURE__ */ r(ct, { className: "size-4" }) }, "paper-clip") })
1781
1787
  }
1782
1788
  )
1783
1789
  }
@@ -1787,9 +1793,9 @@ function bo() {
1787
1793
  {
1788
1794
  size: "fit",
1789
1795
  onClick: P,
1790
- disabled: _ || m || R,
1796
+ disabled: _ || u || R,
1791
1797
  className: "rounded-full size-8 flex items-center justify-center p-0",
1792
- children: /* @__PURE__ */ r(T, { mode: "wait", children: _ || m ? /* @__PURE__ */ r(y, { snapExit: !0, children: /* @__PURE__ */ r(Cr, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ r(y, { snapExit: !0, children: /* @__PURE__ */ r(_t, { className: "size-4" }) }, "send") })
1798
+ children: /* @__PURE__ */ r(T, { mode: "wait", children: _ || u ? /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(Cr, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(_t, { className: "size-4" }) }, "send") })
1793
1799
  }
1794
1800
  ) })
1795
1801
  ] })
@@ -1801,11 +1807,11 @@ function bo() {
1801
1807
  );
1802
1808
  }
1803
1809
  function wt() {
1804
- const { widgetCtx: e } = O(), { router: o } = C(), { canCreateNewSession: t } = U(), { toSessionsScreen: n } = H(), { t: s } = Z();
1810
+ const { widgetCtx: e } = O(), { router: o } = C(), { canCreateNewSession: t } = U(), { toSessionsScreen: n } = H(), { t: s } = q();
1805
1811
  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") }) });
1806
1812
  }
1807
1813
  function yo() {
1808
- const { t: e } = Z(), { isCsatRequested: o, isCsatSubmitted: t } = kt();
1814
+ const { t: e } = q(), { isCsatRequested: o, isCsatSubmitted: t } = kt();
1809
1815
  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: [
1810
1816
  /* @__PURE__ */ r(fo, {}),
1811
1817
  /* @__PURE__ */ r(T, { mode: "wait", children: t && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r(wt, {}) }, "new-conv-or-back-to-convs-button") })
@@ -1900,7 +1906,7 @@ function qt({
1900
1906
  return console.error(c), null;
1901
1907
  }
1902
1908
  })();
1903
- return i ? /* @__PURE__ */ r("div", { className: t, children: /* @__PURE__ */ r("span", { className: h("text-xs text-muted-foreground", o), children: i }) }) : null;
1909
+ return i ? /* @__PURE__ */ r("div", { className: t, children: /* @__PURE__ */ r("span", { className: m("text-xs text-muted-foreground", o), children: i }) }) : null;
1904
1910
  }
1905
1911
  function pe({
1906
1912
  messages: e,
@@ -1910,36 +1916,36 @@ function pe({
1910
1916
  return /* @__PURE__ */ d(
1911
1917
  "div",
1912
1918
  {
1913
- ...w("chat/agent_msg_group/root"),
1914
- className: h("flex items-end gap-2"),
1919
+ ...f("chat/agent_msg_group/root"),
1920
+ className: m("flex items-end gap-2"),
1915
1921
  children: [
1916
1922
  /* @__PURE__ */ r(oe, { content: o == null ? void 0 : o.name, side: "right", align: "end", children: /* @__PURE__ */ r(
1917
1923
  xe,
1918
1924
  {
1919
- ...w("chat/agent_msg_group/root/avatar"),
1925
+ ...f("chat/agent_msg_group/root/avatar"),
1920
1926
  agent: o,
1921
1927
  className: "hidden"
1922
1928
  }
1923
1929
  ) }),
1924
- /* @__PURE__ */ d("div", { className: h("flex-1 flex flex-col gap-1"), children: [
1930
+ /* @__PURE__ */ d("div", { className: m("flex-1 flex flex-col gap-1"), children: [
1925
1931
  /* @__PURE__ */ d(
1926
1932
  "div",
1927
1933
  {
1928
- ...w("chat/agent_msg_group/avatar_and_msgs/root"),
1929
- className: h("flex items-end gap-2"),
1934
+ ...f("chat/agent_msg_group/avatar_and_msgs/root"),
1935
+ className: m("flex items-end gap-2"),
1930
1936
  children: [
1931
1937
  /* @__PURE__ */ r(oe, { content: o == null ? void 0 : o.name, side: "right", align: "end", children: /* @__PURE__ */ r(
1932
1938
  xe,
1933
1939
  {
1934
- ...w("chat/agent_msg_group/avatar_and_msgs/avatar"),
1940
+ ...f("chat/agent_msg_group/avatar_and_msgs/avatar"),
1935
1941
  agent: o
1936
1942
  }
1937
1943
  ) }),
1938
1944
  /* @__PURE__ */ d(
1939
1945
  "div",
1940
1946
  {
1941
- ...w("chat/agent_msg_group/avatar_and_msgs/msgs"),
1942
- className: h("flex-1 flex flex-col gap-1"),
1947
+ ...f("chat/agent_msg_group/avatar_and_msgs/msgs"),
1948
+ className: m("flex-1 flex flex-col gap-1"),
1943
1949
  children: [
1944
1950
  e.map((n, s, i) => /* @__PURE__ */ r(
1945
1951
  Co,
@@ -1961,8 +1967,8 @@ function pe({
1961
1967
  t && t.length > 0 && /* @__PURE__ */ r(
1962
1968
  "div",
1963
1969
  {
1964
- ...w("chat/agent_msg_group/suggestions"),
1965
- className: h("flex flex-col gap-1 ps-8"),
1970
+ ...f("chat/agent_msg_group/suggestions"),
1971
+ className: m("flex flex-col gap-1 ps-8"),
1966
1972
  children: t == null ? void 0 : t.map((n, s) => /* @__PURE__ */ r(
1967
1973
  De,
1968
1974
  {
@@ -1994,18 +2000,18 @@ function No({
1994
2000
  return /* @__PURE__ */ d(
1995
2001
  "div",
1996
2002
  {
1997
- ...w("chat/user_msg/root"),
2003
+ ...f("chat/user_msg/root"),
1998
2004
  className: "w-5/6 flex flex-col items-end gap-1",
1999
2005
  children: [
2000
2006
  e.attachments && e.attachments.length > 0 && /* @__PURE__ */ r("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((i) => /* @__PURE__ */ r(Ft, { attachment: i }, i.id)) }),
2001
2007
  e.content.length > 0 && /* @__PURE__ */ r(
2002
2008
  "div",
2003
2009
  {
2004
- ...w("chat/user_msg/msg"),
2010
+ ...f("chat/user_msg/msg"),
2005
2011
  "data-first": o,
2006
2012
  "data-last": t,
2007
2013
  "data-alone": n,
2008
- className: h(
2014
+ className: m(
2009
2015
  "transition-all",
2010
2016
  "w-fit py-3 px-4 rounded-3xl text-sm",
2011
2017
  "bg-primary text-primary-foreground",
@@ -2030,8 +2036,8 @@ function So({
2030
2036
  return /* @__PURE__ */ d(
2031
2037
  "div",
2032
2038
  {
2033
- ...w("chat/user_msg_group/root"),
2034
- className: h("group", "flex flex-col gap-1 justify-end items-end"),
2039
+ ...f("chat/user_msg_group/root"),
2040
+ className: m("group", "flex flex-col gap-1 justify-end items-end"),
2035
2041
  children: [
2036
2042
  e.map((o, t, n) => /* @__PURE__ */ r(
2037
2043
  No,
@@ -2157,40 +2163,40 @@ function Eo() {
2157
2163
  }, [e]), /* @__PURE__ */ d(
2158
2164
  "div",
2159
2165
  {
2160
- ...w("chat/msgs/root"),
2166
+ ...f("chat/msgs/root"),
2161
2167
  ref: l,
2162
2168
  className: "max-h-full scroll-smooth relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
2163
2169
  children: [
2164
2170
  /* @__PURE__ */ r(Ro, {}),
2165
2171
  /* @__PURE__ */ r(Do, {}),
2166
2172
  /* @__PURE__ */ r(jo, {}),
2167
- i.map((p, f) => {
2168
- var k, b, z, _;
2169
- const x = (k = p == null ? void 0 : p[0]) == null ? void 0 : k.type, m = (b = p[0]) == null ? void 0 : b.id;
2170
- if (!x || !m) return null;
2173
+ i.map((p, x) => {
2174
+ var g, b, z, _;
2175
+ const v = (g = p == null ? void 0 : p[0]) == null ? void 0 : g.type, u = (b = p[0]) == null ? void 0 : b.id;
2176
+ if (!v || !u) return null;
2171
2177
  if (Io(p))
2172
- return /* @__PURE__ */ r(So, { messages: p }, m);
2178
+ return /* @__PURE__ */ r(So, { messages: p }, u);
2173
2179
  if (To(p)) {
2174
- const v = f === i.length - 1;
2175
- return o && v ? null : ((z = p[0]) == null || z.agent, /* @__PURE__ */ r(
2180
+ const y = x === i.length - 1;
2181
+ return o && y ? null : ((z = p[0]) == null || z.agent, /* @__PURE__ */ r(
2176
2182
  pe,
2177
2183
  {
2178
2184
  messages: p,
2179
2185
  agent: n ? { ...n, isAi: !0, id: null } : void 0
2180
2186
  },
2181
- m
2187
+ u
2182
2188
  ));
2183
2189
  }
2184
2190
  if (Mo(p)) {
2185
- const v = (_ = p[0]) == null ? void 0 : _.agent;
2191
+ const y = (_ = p[0]) == null ? void 0 : _.agent;
2186
2192
  return /* @__PURE__ */ r(
2187
2193
  pe,
2188
2194
  {
2189
2195
  messages: p,
2190
- agent: v ? {
2191
- ...v,
2192
- name: (s == null ? void 0 : s.name) || v.name || "",
2193
- avatarUrl: (s == null ? void 0 : s.avatarUrl) || v.avatarUrl || null
2196
+ agent: y ? {
2197
+ ...y,
2198
+ name: (s == null ? void 0 : s.name) || y.name || "",
2199
+ avatarUrl: (s == null ? void 0 : s.avatarUrl) || y.avatarUrl || null
2194
2200
  } : s ? {
2195
2201
  isAi: !1,
2196
2202
  id: null,
@@ -2198,7 +2204,7 @@ function Eo() {
2198
2204
  avatarUrl: s.avatarUrl || null
2199
2205
  } : void 0
2200
2206
  },
2201
- m
2207
+ u
2202
2208
  );
2203
2209
  }
2204
2210
  return null;
@@ -2215,7 +2221,7 @@ function Oo() {
2215
2221
  messagesState: { isInitialFetchLoading: e }
2216
2222
  } = A(), {
2217
2223
  sessionState: { session: o }
2218
- } = U(), { isCanvasOpen: t } = go(), { theme: n } = G();
2224
+ } = U(), { isCanvasOpen: t } = go(), { theme: n } = Z();
2219
2225
  Te({
2220
2226
  width: t ? n.screens.chat.withCanvas.width : n.screens.chat.width,
2221
2227
  height: t ? n.screens.chat.withCanvas.height : n.screens.chat.height
@@ -2224,8 +2230,8 @@ function Oo() {
2224
2230
  return /* @__PURE__ */ r(
2225
2231
  "div",
2226
2232
  {
2227
- ...w("chat/root"),
2228
- className: h("flex flex-col overflow-hidden"),
2233
+ ...f("chat/root"),
2234
+ className: m("flex flex-col overflow-hidden"),
2229
2235
  style: {
2230
2236
  width: "100vw",
2231
2237
  // Relative to the iframe
@@ -2239,14 +2245,14 @@ function Oo() {
2239
2245
  children: /* @__PURE__ */ d("div", { className: "size-full justify-between flex flex-col", children: [
2240
2246
  /* @__PURE__ */ r(Ut, {}),
2241
2247
  /* @__PURE__ */ r(T, { mode: "wait", children: e ? /* @__PURE__ */ r(
2242
- y,
2248
+ k,
2243
2249
  {
2244
2250
  className: "flex flex-col items-center justify-center w-full flex-1",
2245
2251
  children: /* @__PURE__ */ r(Xt, {})
2246
2252
  },
2247
2253
  "loading"
2248
2254
  ) : /* @__PURE__ */ d(
2249
- y,
2255
+ k,
2250
2256
  {
2251
2257
  className: "flex items-start h-full flex-1 overflow-auto",
2252
2258
  snapExit: !0,
@@ -2254,8 +2260,8 @@ function Oo() {
2254
2260
  /* @__PURE__ */ d(
2255
2261
  "div",
2256
2262
  {
2257
- ...w("chat/main/root"),
2258
- className: h(
2263
+ ...f("chat/main/root"),
2264
+ className: m(
2259
2265
  "flex flex-col h-full overflow-auto transition-all",
2260
2266
  t ? "w-2/5" : "w-full"
2261
2267
  ),
@@ -2272,8 +2278,8 @@ function Oo() {
2272
2278
  /* @__PURE__ */ r(
2273
2279
  "div",
2274
2280
  {
2275
- ...w("chat/canvas/root"),
2276
- className: h(
2281
+ ...f("chat/canvas/root"),
2282
+ className: m(
2277
2283
  "h-full overflow-auto transition-all",
2278
2284
  t ? "w-3/5" : "w-0"
2279
2285
  ),
@@ -2299,7 +2305,7 @@ function Ao({
2299
2305
  return /* @__PURE__ */ r(
2300
2306
  "div",
2301
2307
  {
2302
- className: h("animate-pulse rounded-md bg-secondary", e),
2308
+ className: m("animate-pulse rounded-md bg-secondary", e),
2303
2309
  ...o
2304
2310
  }
2305
2311
  );
@@ -2313,7 +2319,7 @@ function Fo({ className: e }) {
2313
2319
  viewBox: "0 0 26 32",
2314
2320
  fill: "none",
2315
2321
  xmlns: "http://www.w3.org/2000/svg",
2316
- className: h("text-primary-foreground", e),
2322
+ className: m("text-primary-foreground", e),
2317
2323
  children: /* @__PURE__ */ r(
2318
2324
  "path",
2319
2325
  {
@@ -2329,7 +2335,7 @@ function Vt({ className: e }) {
2329
2335
  return /* @__PURE__ */ r(
2330
2336
  "div",
2331
2337
  {
2332
- className: h(
2338
+ className: m(
2333
2339
  "flex items-center justify-center gap-2 p-2 pt-0",
2334
2340
  e
2335
2341
  ),
@@ -2339,7 +2345,7 @@ function Vt({ className: e }) {
2339
2345
  href: `https://open.cx/?ref=${o}`,
2340
2346
  target: "_blank",
2341
2347
  rel: "noreferrer",
2342
- className: h(
2348
+ className: m(
2343
2349
  "text-[10px] flex items-center",
2344
2350
  "text-muted-foreground/70 [&_svg]:text-muted-foreground/70",
2345
2351
  "hover:text-primary [&_svg]:hover:text-primary"
@@ -2370,20 +2376,20 @@ function ft({
2370
2376
  {
2371
2377
  variant: "ghost",
2372
2378
  size: "lg",
2373
- className: h(
2379
+ className: m(
2374
2380
  "rounded-full p-2 pe-4 flex text-start justify-between w-full whitespace-normal",
2375
2381
  o
2376
2382
  ),
2377
2383
  onClick: () => s(e.id),
2378
2384
  children: [
2379
2385
  /* @__PURE__ */ d("div", { className: "flex-1 flex gap-2 items-center", children: [
2380
- /* @__PURE__ */ r(T, { mode: "wait", children: /* @__PURE__ */ r(y, { snapExit: !0, children: /* @__PURE__ */ d(Se, { className: "size-10", children: [
2386
+ /* @__PURE__ */ r(T, { mode: "wait", children: /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ d(Se, { className: "size-10", children: [
2381
2387
  /* @__PURE__ */ r(_e, { src: a, alt: "Agent Icon" }),
2382
2388
  /* @__PURE__ */ r(Ie, { children: /* @__PURE__ */ r(Tr, { className: "size-4" }) })
2383
2389
  ] }) }) }),
2384
2390
  /* @__PURE__ */ d("div", { className: "flex-1", children: [
2385
- /* @__PURE__ */ r(T, { mode: "wait", children: /* @__PURE__ */ r(y, { snapExit: !0, children: i }, i) }),
2386
- /* @__PURE__ */ r(T, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ r(y, { snapExit: !0, children: /* @__PURE__ */ r(
2391
+ /* @__PURE__ */ r(T, { mode: "wait", children: /* @__PURE__ */ r(k, { snapExit: !0, children: i }, i) }),
2392
+ /* @__PURE__ */ r(T, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ r(k, { snapExit: !0, children: /* @__PURE__ */ r(
2387
2393
  Ht,
2388
2394
  {
2389
2395
  remarkPlugins: [It],
@@ -2391,7 +2397,7 @@ function ft({
2391
2397
  className: "line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",
2392
2398
  children: e.lastMessage
2393
2399
  }
2394
- ) }, e.lastMessage || "content") : /* @__PURE__ */ r(y, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r(Ao, { className: "h-4 w-full" }) }, "skeleton") })
2400
+ ) }, e.lastMessage || "content") : /* @__PURE__ */ r(k, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r(Ao, { className: "h-4 w-full" }) }, "skeleton") })
2395
2401
  ] })
2396
2402
  ] }),
2397
2403
  /* @__PURE__ */ r(Mr, { className: "size-4 text-muted-foreground shrink-0 rtl:-scale-100" })
@@ -2400,27 +2406,27 @@ function ft({
2400
2406
  );
2401
2407
  }
2402
2408
  function Wo() {
2403
- const { t: e } = Z(), { toChatScreen: o } = H(), {
2409
+ const { t: e } = q(), { toChatScreen: o } = H(), {
2404
2410
  sessionsState: { data: t, isInitialFetchLoading: n },
2405
2411
  openSessions: s,
2406
2412
  closedSessions: i,
2407
2413
  canCreateNewSession: a
2408
2414
  } = U();
2409
2415
  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(
2410
- y,
2416
+ k,
2411
2417
  {
2412
2418
  className: "flex-1 flex items-center justify-center",
2413
2419
  children: /* @__PURE__ */ r(Xt, {})
2414
2420
  },
2415
2421
  "loading"
2416
2422
  ) : /* @__PURE__ */ r(
2417
- y,
2423
+ k,
2418
2424
  {
2419
2425
  className: "flex-1 flex flex-col gap-2 relative",
2420
2426
  children: t.length ? /* @__PURE__ */ d(Q, { children: [
2421
2427
  /* @__PURE__ */ d(T, { children: [
2422
2428
  s.length > 0 && /* @__PURE__ */ r(
2423
- y,
2429
+ k,
2424
2430
  {
2425
2431
  fadeIn: "up",
2426
2432
  delay: 0.2,
@@ -2431,7 +2437,7 @@ function Wo() {
2431
2437
  "open-sessions"
2432
2438
  ),
2433
2439
  i.length > 0 && /* @__PURE__ */ d(
2434
- y,
2440
+ k,
2435
2441
  {
2436
2442
  className: "space-y-2",
2437
2443
  delay: 0.2,
@@ -2454,7 +2460,7 @@ function Wo() {
2454
2460
  a && /* @__PURE__ */ r("div", { className: "mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background bg-background", children: /* @__PURE__ */ lt(
2455
2461
  N,
2456
2462
  {
2457
- ...w("sessions/new_conversation_btn"),
2463
+ ...f("sessions/new_conversation_btn"),
2458
2464
  size: "lg",
2459
2465
  key: "new-session",
2460
2466
  className: "w-full",
@@ -2467,7 +2473,7 @@ function Wo() {
2467
2473
  /* @__PURE__ */ lt(
2468
2474
  N,
2469
2475
  {
2470
- ...w("sessions/new_conversation_btn"),
2476
+ ...f("sessions/new_conversation_btn"),
2471
2477
  size: "lg",
2472
2478
  key: "new-session",
2473
2479
  className: "w-full",
@@ -2481,15 +2487,15 @@ function Wo() {
2481
2487
  ) }) });
2482
2488
  }
2483
2489
  function Lo() {
2484
- const { theme: e } = G();
2490
+ const { theme: e } = Z();
2485
2491
  return Te({
2486
2492
  width: e.screens.sessions.width,
2487
2493
  height: e.screens.sessions.height
2488
2494
  }), /* @__PURE__ */ r(
2489
2495
  "div",
2490
2496
  {
2491
- ...w("sessions/root"),
2492
- className: h("flex flex-col overflow-hidden bg-background"),
2497
+ ...f("sessions/root"),
2498
+ className: m("flex flex-col overflow-hidden bg-background"),
2493
2499
  style: {
2494
2500
  width: "100vw",
2495
2501
  // Relative to the iframe
@@ -2516,7 +2522,7 @@ const de = J.forwardRef(
2516
2522
  {
2517
2523
  ref: n,
2518
2524
  type: o,
2519
- className: h(
2525
+ className: m(
2520
2526
  // 16px on mobiles prevents auto-zoom on the input when focused
2521
2527
  s ? "text-[16px]" : "text-sm",
2522
2528
  "flex w-full rounded-xl p-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-primary-foreground placeholder:text-muted-foreground/75 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 transition",
@@ -2557,30 +2563,30 @@ const Bo = ue.object({
2557
2563
  email: ue.string().email()
2558
2564
  });
2559
2565
  function Yo() {
2560
- var v, R, P, E, u, I, j, M;
2566
+ var y, R, P, E, w, I, j, M;
2561
2567
  const {
2562
2568
  widgetCtx: { org: e }
2563
- } = O(), { setIsOpen: o } = V(), { createUnverifiedContact: t } = zt(), { isSmallScreen: n } = $(), s = C(), { theme: i } = G(), { t: a } = Z(), { observedElementRef: l } = $o();
2569
+ } = O(), { setIsOpen: o } = G(), { createUnverifiedContact: t } = zt(), { isSmallScreen: n } = $(), s = C(), { theme: i } = Z(), { t: a } = q(), { observedElementRef: l } = $o();
2564
2570
  Te({
2565
2571
  height: void 0,
2566
2572
  width: i.screens.welcome.width
2567
2573
  });
2568
- const [c, p] = D(((v = s.prefillUserData) == null ? void 0 : v.name) || ""), [f, x] = D(((R = s.prefillUserData) == null ? void 0 : R.email) || ""), m = (s.extraDataCollectionFields || []).filter(
2569
- (g) => g !== "name" && g !== "email" && !!g
2570
- ), [k, b] = D({}), [z, _] = Lr(
2571
- async (g) => {
2572
- g.preventDefault();
2573
- const S = Bo.safeParse({ name: c, email: f });
2574
+ const [c, p] = D(((y = s.prefillUserData) == null ? void 0 : y.name) || ""), [x, v] = D(((R = s.prefillUserData) == null ? void 0 : R.email) || ""), u = (s.extraDataCollectionFields || []).filter(
2575
+ (h) => h !== "name" && h !== "email" && !!h
2576
+ ), [g, b] = D({}), [z, _] = Lr(
2577
+ async (h) => {
2578
+ h.preventDefault();
2579
+ const S = Bo.safeParse({ name: c, email: x });
2574
2580
  S.success && await t(
2575
2581
  {
2576
2582
  email: S.data.email,
2577
2583
  non_verified_name: S.data.name
2578
2584
  },
2579
2585
  // Only pass extra data if there is any
2580
- Object.values(k).filter(Boolean).length ? k : void 0
2586
+ Object.values(g).filter(Boolean).length ? g : void 0
2581
2587
  );
2582
2588
  },
2583
- [c, f, k]
2589
+ [c, x, g]
2584
2590
  );
2585
2591
  return /* @__PURE__ */ r(
2586
2592
  "div",
@@ -2601,7 +2607,7 @@ function Yo() {
2601
2607
  "div",
2602
2608
  {
2603
2609
  ref: l,
2604
- className: h(
2610
+ className: m(
2605
2611
  "flex flex-col",
2606
2612
  n && "h-full",
2607
2613
  "bg-[radial-gradient(ellipse_at_top_left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse_at_top_right,hsl(var(--opencx-primary)),transparent)]"
@@ -2610,12 +2616,12 @@ function Yo() {
2610
2616
  /* @__PURE__ */ d(
2611
2617
  "div",
2612
2618
  {
2613
- className: h(
2619
+ className: m(
2614
2620
  "flex-1 flex flex-col px-4 py-12 text-start space-y-4 relative z-10",
2615
2621
  "text-primary-foreground"
2616
2622
  ),
2617
2623
  children: [
2618
- n && /* @__PURE__ */ r(y, { className: "absolute top-6 end-6", children: /* @__PURE__ */ r(N, { size: "selfless", onClick: () => o(!1), children: /* @__PURE__ */ r(ke, { className: "size-4" }) }) }),
2624
+ n && /* @__PURE__ */ r(k, { className: "absolute top-6 end-6", children: /* @__PURE__ */ r(N, { size: "selfless", onClick: () => o(!1), children: /* @__PURE__ */ r(ke, { className: "size-4" }) }) }),
2619
2625
  /* @__PURE__ */ r("div", { className: "flex items-center justify-between w-full mb-2", children: (P = s.assets) != null && P.organizationLogo ? /* @__PURE__ */ r(
2620
2626
  "img",
2621
2627
  {
@@ -2625,7 +2631,7 @@ function Yo() {
2625
2631
  }
2626
2632
  ) : /* @__PURE__ */ r("h2", { className: "font-bold text-sm", children: e.name }) }),
2627
2633
  /* @__PURE__ */ d("div", { className: "space-y-2", children: [
2628
- /* @__PURE__ */ r("h1", { className: "text-[1.75rem] font-semibold tracking-tight leading-none", children: ((I = (u = s.textContent) == null ? void 0 : u.welcomeScreen) == null ? void 0 : I.title) || a("welcome_screen_title") }),
2634
+ /* @__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") }),
2629
2635
  /* @__PURE__ */ r("p", { className: "text-sm", children: ((M = (j = s.textContent) == null ? void 0 : j.welcomeScreen) == null ? void 0 : M.description) || a("welcome_screen_description") })
2630
2636
  ] })
2631
2637
  ]
@@ -2634,7 +2640,7 @@ function Yo() {
2634
2640
  /* @__PURE__ */ d(
2635
2641
  "div",
2636
2642
  {
2637
- className: h(
2643
+ className: m(
2638
2644
  "z-10 m-2 px-2 pt-2 bp-0 space-y-2",
2639
2645
  "bg-[white]",
2640
2646
  "border shadow",
@@ -2646,7 +2652,7 @@ function Yo() {
2646
2652
  de,
2647
2653
  {
2648
2654
  value: c,
2649
- onChange: (g) => p(g.target.value),
2655
+ onChange: (h) => p(h.target.value),
2650
2656
  required: !0,
2651
2657
  placeholder: a("your_name_placeholder"),
2652
2658
  name: "name"
@@ -2656,24 +2662,24 @@ function Yo() {
2656
2662
  de,
2657
2663
  {
2658
2664
  required: !0,
2659
- value: f,
2660
- onChange: (g) => x(g.target.value),
2665
+ value: x,
2666
+ onChange: (h) => v(h.target.value),
2661
2667
  type: "email",
2662
2668
  placeholder: a("your_email_placeholder"),
2663
2669
  name: "email"
2664
2670
  }
2665
2671
  ),
2666
- m.map((g) => /* @__PURE__ */ r(
2672
+ u.map((h) => /* @__PURE__ */ r(
2667
2673
  de,
2668
2674
  {
2669
- value: k[g],
2675
+ value: g[h],
2670
2676
  onChange: (S) => b((ie) => ({
2671
2677
  ...ie,
2672
- [g]: S.target.value
2678
+ [h]: S.target.value
2673
2679
  })),
2674
- placeholder: `${g} (${a("optional")})`
2680
+ placeholder: `${h} (${a("optional")})`
2675
2681
  },
2676
- g
2682
+ h
2677
2683
  )),
2678
2684
  /* @__PURE__ */ d(
2679
2685
  N,
@@ -2706,7 +2712,7 @@ function Gt() {
2706
2712
  switch (e) {
2707
2713
  case "welcome":
2708
2714
  return /* @__PURE__ */ r(
2709
- y,
2715
+ k,
2710
2716
  {
2711
2717
  fadeIn: "right",
2712
2718
  className: "size-full",
@@ -2717,7 +2723,7 @@ function Gt() {
2717
2723
  );
2718
2724
  case "sessions":
2719
2725
  return /* @__PURE__ */ r(
2720
- y,
2726
+ k,
2721
2727
  {
2722
2728
  fadeIn: "right",
2723
2729
  className: "size-full",
@@ -2728,7 +2734,7 @@ function Gt() {
2728
2734
  );
2729
2735
  case "chat":
2730
2736
  return /* @__PURE__ */ r(
2731
- y,
2737
+ k,
2732
2738
  {
2733
2739
  fadeIn: "right",
2734
2740
  className: "size-full",
@@ -2742,7 +2748,7 @@ function Gt() {
2742
2748
  }
2743
2749
  })() }) });
2744
2750
  }
2745
- const Uo = "4.0.52", Xo = `<!DOCTYPE html>
2751
+ const Uo = "4.0.53", Xo = `<!DOCTYPE html>
2746
2752
  <html>
2747
2753
  <head>
2748
2754
  <style>
@@ -2761,7 +2767,7 @@ html, body {
2761
2767
  </body>
2762
2768
  </html>`;
2763
2769
  function Zt() {
2764
- const { isOpen: e } = V(), { contentIframeRef: o } = O(), { cssOverrides: t, inline: n } = C(), { theme: s, cssVars: i, computed: a } = G(), { dir: l } = Z();
2770
+ const { isOpen: e } = G(), { contentIframeRef: o } = O(), { cssOverrides: t, inline: n } = C(), { theme: s, cssVars: i, computed: a } = Z(), { dir: l } = q();
2765
2771
  return /* @__PURE__ */ r(
2766
2772
  re.div,
2767
2773
  {
@@ -2823,7 +2829,7 @@ function Zt() {
2823
2829
  zIndex: s.widgetContentContainer.zIndex
2824
2830
  },
2825
2831
  "data-version": Uo,
2826
- className: h(
2832
+ className: m(
2827
2833
  "antialiased font-sans size-full overflow-hidden relative text-secondary-foreground isolate"
2828
2834
  ),
2829
2835
  dir: l,
@@ -2844,9 +2850,9 @@ function Zt() {
2844
2850
  );
2845
2851
  }
2846
2852
  function qo() {
2847
- const { theme: e } = G();
2853
+ const { theme: e } = Z();
2848
2854
  return /* @__PURE__ */ r(
2849
- he.Content,
2855
+ me.Content,
2850
2856
  {
2851
2857
  onInteractOutside: (o) => o.preventDefault(),
2852
2858
  forceMount: !0,
@@ -2877,7 +2883,7 @@ function Vo({
2877
2883
  viewBox: "0 0 32 30",
2878
2884
  fill: "none",
2879
2885
  xmlns: "http://www.w3.org/2000/svg",
2880
- className: h("text-primary-foreground", e),
2886
+ className: m("text-primary-foreground", e),
2881
2887
  style: o,
2882
2888
  children: [
2883
2889
  /* @__PURE__ */ r(
@@ -2918,12 +2924,12 @@ html, body {
2918
2924
  </body>
2919
2925
  </html>`;
2920
2926
  function Zo() {
2921
- var p, f, x;
2922
- const { isOpen: e, setIsOpen: o } = V(), { cssOverrides: t, assets: n, customComponents: s, accessibility: i } = C(), { theme: a, cssVars: l } = G(), c = ((p = i == null ? void 0 : i.widgetTriggerButton) == null ? void 0 : p.label) ?? "Chat with us";
2927
+ var p, x, v;
2928
+ 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";
2923
2929
  return s != null && s.widgetTrigger ? s.widgetTrigger({
2924
2930
  react: L,
2925
2931
  isOpen: e,
2926
- setIsOpen: (m) => o(m)
2932
+ setIsOpen: (u) => o(u)
2927
2933
  }) : /* @__PURE__ */ d(
2928
2934
  Mt,
2929
2935
  {
@@ -2958,11 +2964,11 @@ function Zo() {
2958
2964
  justifyContent: "center"
2959
2965
  },
2960
2966
  children: /* @__PURE__ */ r(
2961
- he.PopoverTrigger,
2967
+ me.PopoverTrigger,
2962
2968
  {
2963
2969
  "aria-label": c,
2964
2970
  title: c,
2965
- className: h(
2971
+ className: m(
2966
2972
  "font-sans flex items-center justify-center rounded-full"
2967
2973
  ),
2968
2974
  style: {
@@ -2972,8 +2978,8 @@ function Zo() {
2972
2978
  children: /* @__PURE__ */ r(Y, { children: /* @__PURE__ */ r(
2973
2979
  "div",
2974
2980
  {
2975
- ...w("trigger/btn"),
2976
- className: h(
2981
+ ...f("trigger/btn"),
2982
+ className: m(
2977
2983
  "relative size-full rounded-full",
2978
2984
  "flex items-center justify-center",
2979
2985
  "overflow-hidden",
@@ -2982,7 +2988,7 @@ function Zo() {
2982
2988
  "text-primary-foreground"
2983
2989
  ),
2984
2990
  children: /* @__PURE__ */ r(T, { mode: "wait", children: e ? /* @__PURE__ */ r(
2985
- y,
2991
+ k,
2986
2992
  {
2987
2993
  snapExit: !0,
2988
2994
  fadeIn: "up",
@@ -2990,7 +2996,7 @@ function Zo() {
2990
2996
  initial: { rotate: 45 },
2991
2997
  animate: { rotate: 0 }
2992
2998
  },
2993
- children: (f = n == null ? void 0 : n.widgetTrigger) != null && f.closeIcon ? /* @__PURE__ */ r(
2999
+ children: (x = n == null ? void 0 : n.widgetTrigger) != null && x.closeIcon ? /* @__PURE__ */ r(
2994
3000
  "img",
2995
3001
  {
2996
3002
  src: n.widgetTrigger.closeIcon,
@@ -3012,14 +3018,14 @@ function Zo() {
3012
3018
  },
3013
3019
  "x-icon"
3014
3020
  ) : /* @__PURE__ */ r(
3015
- y,
3021
+ k,
3016
3022
  {
3017
3023
  snapExit: !0,
3018
3024
  overrides: {
3019
3025
  initial: { rotate: 45 },
3020
3026
  animate: { rotate: 0 }
3021
3027
  },
3022
- children: (x = n == null ? void 0 : n.widgetTrigger) != null && x.openIcon ? /* @__PURE__ */ r(
3028
+ children: (v = n == null ? void 0 : n.widgetTrigger) != null && v.openIcon ? /* @__PURE__ */ r(
3023
3029
  "img",
3024
3030
  {
3025
3031
  src: n.widgetTrigger.openIcon,
@@ -3055,7 +3061,7 @@ function Zo() {
3055
3061
  function Ko() {
3056
3062
  const { dir: e } = ye();
3057
3063
  return /* @__PURE__ */ r(
3058
- he.Anchor,
3064
+ me.Anchor,
3059
3065
  {
3060
3066
  style: {
3061
3067
  position: "fixed",
@@ -3069,7 +3075,7 @@ function Ko() {
3069
3075
  function Qo({
3070
3076
  widgetRef: e
3071
3077
  }) {
3072
- const { widgetCtx: o } = O(), { contactState: t } = zt(), { setIsOpen: n, isOpen: s } = V(), {
3078
+ const { widgetCtx: o } = O(), { contactState: t } = zt(), { setIsOpen: n, isOpen: s } = G(), {
3073
3079
  toChatScreen: i,
3074
3080
  routerState: { screen: a }
3075
3081
  } = H(), { sendMessage: l } = A();
@@ -3097,8 +3103,8 @@ function Qo({
3097
3103
  ), null;
3098
3104
  }
3099
3105
  function Jo() {
3100
- const { isOpen: e, setIsOpen: o } = V();
3101
- return /* @__PURE__ */ d(he.Root, { open: e, onOpenChange: o, children: [
3106
+ const { isOpen: e, setIsOpen: o } = G();
3107
+ return /* @__PURE__ */ d(me.Root, { open: e, onOpenChange: o, children: [
3102
3108
  /* @__PURE__ */ r(Ko, {}),
3103
3109
  /* @__PURE__ */ r(Zo, {}),
3104
3110
  /* @__PURE__ */ r(qo, {})