@opencx/widget 3.0.90 → 3.0.92

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/designs.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Fragment as Hr, jsx as b, jsxs as U } from "react/jsx-runtime";
2
2
  import * as Hn from "@radix-ui/react-popover";
3
3
  import * as qe from "react";
4
- import Zt, { forwardRef as Ur, useState as Ie, useImperativeHandle as Eu, useRef as sn, useCallback as Tu, useMemo as zr, useEffect as St, memo as wu, cloneElement as xu, createElement as yi } from "react";
5
- import { a as Ne, u as ot, d as bt, g as Et, i as _u, c as ja, h as Je, e as Un, j as Ot, l as Va, b as yu, W as Au, k as Cu } from "./useModes-B3IdrBWZ.js";
4
+ import kt, { forwardRef as Ur, useState as Ne, useImperativeHandle as Eu, useRef as sn, useCallback as Tu, useMemo as zr, useEffect as Ot, memo as wu, cloneElement as xu, createElement as yi } from "react";
5
+ import { a as Ce, u as ot, d as bt, g as Et, i as _u, c as ja, h as Je, e as Un, j as Lt, l as Va, b as yu, W as Au, k as Cu } from "./useModes-DeVvS6dM.js";
6
6
  import * as Fe from "@radix-ui/react-dialog";
7
7
  import { X as ku, PaperclipIcon as Iu, ImageIcon as Nu, CircleDashed as Su, ArrowUpIcon as Ou, CircleCheckIcon as Qa, XIcon as Yr, AlertCircle as Lu, Loader2 as Du, FileAudio2Icon as Ru, FileVideo2Icon as vu, FileIcon as Pu, SquareXIcon as Mu, SquareCheckBigIcon as Bu, SquareCheckIcon as Fu, ShrinkIcon as Hu, Minimize2Icon as Uu, MinimizeIcon as zu, Maximize2Icon as Yu, MaximizeIcon as qu, ExpandIcon as Wu, CircleXIcon as ju, CircleCheckBigIcon as Vu, CheckCheckIcon as Qu, CheckIcon as Gu, CircleDashedIcon as Xu, ChevronLeftIcon as Ku, LoaderIcon as $u, SendHorizontal as Ju, UserRoundIcon as Zu, ChevronRightIcon as el, ChevronDownIcon as tl } from "lucide-react";
8
8
  import { clsx as nl } from "clsx";
@@ -10,8 +10,8 @@ import { twMerge as rl } from "tailwind-merge";
10
10
  import { createPortal as Tr } from "react-dom";
11
11
  import { Slot as il } from "@radix-ui/react-slot";
12
12
  import { cva as al } from "class-variance-authority";
13
- import { motion as jt, AnimatePresence as Ae } from "framer-motion";
14
- import * as Lt from "@radix-ui/react-avatar";
13
+ import { motion as Vt, AnimatePresence as Ae } from "framer-motion";
14
+ import * as Dt from "@radix-ui/react-avatar";
15
15
  import * as on from "@radix-ui/react-tooltip";
16
16
  import Ai from "tinycolor2";
17
17
  import { i as st } from "./is-exhaustive-DGJzQK69.js";
@@ -1634,7 +1634,7 @@ function Qr(e) {
1634
1634
  }
1635
1635
  return e.length > 0 && !n && (e[e.length - 1][1]._gfmAutolinkLiteralWalkedInto = !0), n;
1636
1636
  }
1637
- function Dt(e) {
1637
+ function Rt(e) {
1638
1638
  const t = [];
1639
1639
  let n = -1, r = 0, i = 0;
1640
1640
  for (; ++n < e.length; ) {
@@ -1932,10 +1932,10 @@ function yd(e, t, n) {
1932
1932
  return I.enter("codeFencedFence"), X(K) ? J(I, H, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(K) : H(K);
1933
1933
  }
1934
1934
  function H(K) {
1935
- return K === u ? (I.enter("codeFencedFenceSequence"), Z(K)) : z(K);
1935
+ return K === u ? (I.enter("codeFencedFenceSequence"), ee(K)) : z(K);
1936
1936
  }
1937
- function Z(K) {
1938
- return K === u ? (Y++, I.consume(K), Z) : Y >= a ? (I.exit("codeFencedFenceSequence"), X(K) ? J(I, ie, "whitespace")(K) : ie(K)) : z(K);
1937
+ function ee(K) {
1938
+ return K === u ? (Y++, I.consume(K), ee) : Y >= a ? (I.exit("codeFencedFenceSequence"), X(K) ? J(I, ie, "whitespace")(K) : ie(K)) : z(K);
1939
1939
  }
1940
1940
  function ie(K) {
1941
1941
  return K === null || q(K) ? (I.exit("codeFencedFence"), j(K)) : z(K);
@@ -2111,7 +2111,7 @@ class Dd {
2111
2111
  const i = n || 0;
2112
2112
  this.setCursor(Math.trunc(t));
2113
2113
  const s = this.right.splice(this.right.length - i, Number.POSITIVE_INFINITY);
2114
- return r && Ut(this.left, r), s.reverse();
2114
+ return r && zt(this.left, r), s.reverse();
2115
2115
  }
2116
2116
  /**
2117
2117
  * Remove and return the highest-numbered item in the array, so
@@ -2146,7 +2146,7 @@ class Dd {
2146
2146
  * Nothing.
2147
2147
  */
2148
2148
  pushMany(t) {
2149
- this.setCursor(Number.POSITIVE_INFINITY), Ut(this.left, t);
2149
+ this.setCursor(Number.POSITIVE_INFINITY), zt(this.left, t);
2150
2150
  }
2151
2151
  /**
2152
2152
  * Inserts a single item to the low-numbered side of the array;
@@ -2170,7 +2170,7 @@ class Dd {
2170
2170
  * Nothing.
2171
2171
  */
2172
2172
  unshiftMany(t) {
2173
- this.setCursor(0), Ut(this.right, t.reverse());
2173
+ this.setCursor(0), zt(this.right, t.reverse());
2174
2174
  }
2175
2175
  /**
2176
2176
  * Move the cursor to a specific position in the array. Requires
@@ -2188,14 +2188,14 @@ class Dd {
2188
2188
  if (!(t === this.left.length || t > this.left.length && this.right.length === 0 || t < 0 && this.left.length === 0))
2189
2189
  if (t < this.left.length) {
2190
2190
  const n = this.left.splice(t, Number.POSITIVE_INFINITY);
2191
- Ut(this.right, n.reverse());
2191
+ zt(this.right, n.reverse());
2192
2192
  } else {
2193
2193
  const n = this.right.splice(this.left.length + this.right.length - t, Number.POSITIVE_INFINITY);
2194
- Ut(this.left, n.reverse());
2194
+ zt(this.left, n.reverse());
2195
2195
  }
2196
2196
  }
2197
2197
  }
2198
- function Ut(e, t) {
2198
+ function zt(e, t) {
2199
2199
  let n = 0;
2200
2200
  if (t.length < 1e4)
2201
2201
  e.push(...t);
@@ -2361,7 +2361,7 @@ function Ns(e, t, n, r, i, s) {
2361
2361
  return m === a || m === 92 ? (e.consume(m), d) : d(m);
2362
2362
  }
2363
2363
  }
2364
- function Vt(e, t) {
2364
+ function Qt(e, t) {
2365
2365
  let n;
2366
2366
  return r;
2367
2367
  function r(i) {
@@ -2402,7 +2402,7 @@ function zd(e, t, n) {
2402
2402
  return i = Be(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), l) : n(f);
2403
2403
  }
2404
2404
  function l(f) {
2405
- return re(f) ? Vt(e, c)(f) : c(f);
2405
+ return re(f) ? Qt(e, c)(f) : c(f);
2406
2406
  }
2407
2407
  function c(f) {
2408
2408
  return ks(
@@ -2430,7 +2430,7 @@ function zd(e, t, n) {
2430
2430
  function Yd(e, t, n) {
2431
2431
  return r;
2432
2432
  function r(u) {
2433
- return re(u) ? Vt(e, i)(u) : n(u);
2433
+ return re(u) ? Qt(e, i)(u) : n(u);
2434
2434
  }
2435
2435
  function i(u) {
2436
2436
  return Ns(e, s, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(u);
@@ -2643,16 +2643,16 @@ function Zd(e, t, n) {
2643
2643
  return x === null || q(x) ? H(x) : X(x) ? (e.consume(x), F) : n(x);
2644
2644
  }
2645
2645
  function H(x) {
2646
- return x === 45 && i === 2 ? (e.consume(x), de) : x === 60 && i === 1 ? (e.consume(x), ue) : x === 62 && i === 4 ? (e.consume(x), we) : x === 63 && i === 3 ? (e.consume(x), w) : x === 93 && i === 5 ? (e.consume(x), Se) : q(x) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Kd, Oe, Z)(x)) : x === null || q(x) ? (e.exit("htmlFlowData"), Z(x)) : (e.consume(x), H);
2646
+ return x === 45 && i === 2 ? (e.consume(x), de) : x === 60 && i === 1 ? (e.consume(x), ue) : x === 62 && i === 4 ? (e.consume(x), we) : x === 63 && i === 3 ? (e.consume(x), w) : x === 93 && i === 5 ? (e.consume(x), Se) : q(x) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Kd, Oe, ee)(x)) : x === null || q(x) ? (e.exit("htmlFlowData"), ee(x)) : (e.consume(x), H);
2647
2647
  }
2648
- function Z(x) {
2648
+ function ee(x) {
2649
2649
  return e.check($d, ie, Oe)(x);
2650
2650
  }
2651
2651
  function ie(x) {
2652
2652
  return e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), K;
2653
2653
  }
2654
2654
  function K(x) {
2655
- return x === null || q(x) ? Z(x) : (e.enter("htmlFlowData"), H(x));
2655
+ return x === null || q(x) ? ee(x) : (e.enter("htmlFlowData"), H(x));
2656
2656
  }
2657
2657
  function de(x) {
2658
2658
  return x === 45 ? (e.consume(x), w) : H(x);
@@ -2769,10 +2769,10 @@ function r0(e, t, n) {
2769
2769
  return w === 61 ? (e.consume(w), H) : q(w) ? (a = F, ue(w)) : X(w) ? (e.consume(w), F) : Y(w);
2770
2770
  }
2771
2771
  function H(w) {
2772
- return w === null || w === 60 || w === 61 || w === 62 || w === 96 ? n(w) : w === 34 || w === 39 ? (e.consume(w), i = w, Z) : q(w) ? (a = H, ue(w)) : X(w) ? (e.consume(w), H) : (e.consume(w), ie);
2772
+ return w === null || w === 60 || w === 61 || w === 62 || w === 96 ? n(w) : w === 34 || w === 39 ? (e.consume(w), i = w, ee) : q(w) ? (a = H, ue(w)) : X(w) ? (e.consume(w), H) : (e.consume(w), ie);
2773
2773
  }
2774
- function Z(w) {
2775
- return w === i ? (e.consume(w), i = void 0, K) : w === null ? n(w) : q(w) ? (a = Z, ue(w)) : (e.consume(w), Z);
2774
+ function ee(w) {
2775
+ return w === i ? (e.consume(w), i = void 0, K) : w === null ? n(w) : q(w) ? (a = ee, ue(w)) : (e.consume(w), ee);
2776
2776
  }
2777
2777
  function ie(w) {
2778
2778
  return w === null || w === 34 || w === 39 || w === 60 || w === 61 || w === 96 ? n(w) : w === 47 || w === 62 || re(w) ? Y(w) : (e.consume(w), ie);
@@ -2875,13 +2875,13 @@ function c0(e, t, n) {
2875
2875
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(h), e.exit("resourceMarker"), i;
2876
2876
  }
2877
2877
  function i(h) {
2878
- return re(h) ? Vt(e, s)(h) : s(h);
2878
+ return re(h) ? Qt(e, s)(h) : s(h);
2879
2879
  }
2880
2880
  function s(h) {
2881
2881
  return h === 41 ? d(h) : ks(e, a, u, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(h);
2882
2882
  }
2883
2883
  function a(h) {
2884
- return re(h) ? Vt(e, l)(h) : d(h);
2884
+ return re(h) ? Qt(e, l)(h) : d(h);
2885
2885
  }
2886
2886
  function u(h) {
2887
2887
  return n(h);
@@ -2890,7 +2890,7 @@ function c0(e, t, n) {
2890
2890
  return h === 34 || h === 39 || h === 40 ? Ns(e, c, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(h) : d(h);
2891
2891
  }
2892
2892
  function c(h) {
2893
- return re(h) ? Vt(e, d)(h) : d(h);
2893
+ return re(h) ? Qt(e, d)(h) : d(h);
2894
2894
  }
2895
2895
  function d(h) {
2896
2896
  return h === 41 ? (e.enter("resourceMarker"), e.consume(h), e.exit("resourceMarker"), e.exit("resource"), t) : n(h);
@@ -3464,8 +3464,8 @@ function Y0(e, t, n) {
3464
3464
  ie === "linePrefix") F--;
3465
3465
  else break;
3466
3466
  }
3467
- const H = F > -1 ? r.events[F][1].type : null, Z = H === "tableHead" || H === "tableRow" ? I : l;
3468
- return Z === I && r.parser.lazy[r.now().line] ? n(A) : Z(A);
3467
+ const H = F > -1 ? r.events[F][1].type : null, ee = H === "tableHead" || H === "tableRow" ? I : l;
3468
+ return ee === I && r.parser.lazy[r.now().line] ? n(A) : ee(A);
3469
3469
  }
3470
3470
  function l(A) {
3471
3471
  return e.enter("tableHead"), e.enter("tableRow"), c(A);
@@ -3708,7 +3708,7 @@ ve.prototype.commaOrSpaceSeparated = !1;
3708
3708
  ve.prototype.mustUseProperty = !1;
3709
3709
  ve.prototype.defined = !1;
3710
3710
  let th = 0;
3711
- const Q = Tt(), ce = Tt(), Ds = Tt(), v = Tt(), ae = Tt(), Ct = Tt(), ke = Tt();
3711
+ const Q = Tt(), ce = Tt(), Ds = Tt(), v = Tt(), ae = Tt(), Ct = Tt(), Ie = Tt();
3712
3712
  function Tt() {
3713
3713
  return 2 ** ++th;
3714
3714
  }
@@ -3716,7 +3716,7 @@ const Ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3716
3716
  __proto__: null,
3717
3717
  boolean: Q,
3718
3718
  booleanish: ce,
3719
- commaOrSpaceSeparated: ke,
3719
+ commaOrSpaceSeparated: Ie,
3720
3720
  commaSeparated: Ct,
3721
3721
  number: v,
3722
3722
  overloadedBoolean: Ds,
@@ -3744,7 +3744,7 @@ function Wi(e, t, n) {
3744
3744
  n && (e[t] = n);
3745
3745
  }
3746
3746
  const nh = {}.hasOwnProperty;
3747
- function Rt(e) {
3747
+ function vt(e) {
3748
3748
  const t = {}, n = {};
3749
3749
  let r;
3750
3750
  for (r in e.properties)
@@ -3759,7 +3759,7 @@ function Rt(e) {
3759
3759
  }
3760
3760
  return new ln(t, n, e.space);
3761
3761
  }
3762
- const Rs = Rt({
3762
+ const Rs = vt({
3763
3763
  space: "xlink",
3764
3764
  transform(e, t) {
3765
3765
  return "xlink:" + t.slice(5).toLowerCase();
@@ -3773,7 +3773,7 @@ const Rs = Rt({
3773
3773
  xLinkTitle: null,
3774
3774
  xLinkType: null
3775
3775
  }
3776
- }), vs = Rt({
3776
+ }), vs = vt({
3777
3777
  space: "xml",
3778
3778
  transform(e, t) {
3779
3779
  return "xml:" + t.slice(3).toLowerCase();
@@ -3786,12 +3786,12 @@ function Ps(e, t) {
3786
3786
  function Ms(e, t) {
3787
3787
  return Ps(e, t.toLowerCase());
3788
3788
  }
3789
- const Bs = Rt({
3789
+ const Bs = vt({
3790
3790
  space: "xmlns",
3791
3791
  attributes: { xmlnsxlink: "xmlns:xlink" },
3792
3792
  transform: Ms,
3793
3793
  properties: { xmlns: null, xmlnsXLink: null }
3794
- }), Fs = Rt({
3794
+ }), Fs = vt({
3795
3795
  transform(e, t) {
3796
3796
  return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
3797
3797
  },
@@ -3846,7 +3846,7 @@ const Bs = Rt({
3846
3846
  ariaValueText: null,
3847
3847
  role: null
3848
3848
  }
3849
- }), rh = Rt({
3849
+ }), rh = vt({
3850
3850
  space: "html",
3851
3851
  attributes: {
3852
3852
  acceptcharset: "accept-charset",
@@ -4207,7 +4207,7 @@ const Bs = Rt({
4207
4207
  security: null,
4208
4208
  unselectable: null
4209
4209
  }
4210
- }), ih = Rt({
4210
+ }), ih = vt({
4211
4211
  space: "svg",
4212
4212
  attributes: {
4213
4213
  accentHeight: "accent-height",
@@ -4386,7 +4386,7 @@ const Bs = Rt({
4386
4386
  },
4387
4387
  transform: Ps,
4388
4388
  properties: {
4389
- about: ke,
4389
+ about: Ie,
4390
4390
  accentHeight: v,
4391
4391
  accumulate: null,
4392
4392
  additive: null,
@@ -4498,7 +4498,7 @@ const Bs = Rt({
4498
4498
  k2: v,
4499
4499
  k3: v,
4500
4500
  k4: v,
4501
- kernelMatrix: ke,
4501
+ kernelMatrix: Ie,
4502
4502
  kernelUnitLength: null,
4503
4503
  keyPoints: null,
4504
4504
  // SEMI_COLON_SEPARATED
@@ -4655,21 +4655,21 @@ const Bs = Rt({
4655
4655
  preserveAspectRatio: null,
4656
4656
  primitiveUnits: null,
4657
4657
  propagate: null,
4658
- property: ke,
4658
+ property: Ie,
4659
4659
  r: null,
4660
4660
  radius: null,
4661
4661
  referrerPolicy: null,
4662
4662
  refX: null,
4663
4663
  refY: null,
4664
- rel: ke,
4665
- rev: ke,
4664
+ rel: Ie,
4665
+ rev: Ie,
4666
4666
  renderingIntent: null,
4667
4667
  repeatCount: null,
4668
4668
  repeatDur: null,
4669
- requiredExtensions: ke,
4670
- requiredFeatures: ke,
4671
- requiredFonts: ke,
4672
- requiredFormats: ke,
4669
+ requiredExtensions: Ie,
4670
+ requiredFeatures: Ie,
4671
+ requiredFonts: Ie,
4672
+ requiredFormats: Ie,
4673
4673
  resource: null,
4674
4674
  restart: null,
4675
4675
  result: null,
@@ -4697,7 +4697,7 @@ const Bs = Rt({
4697
4697
  strikethroughThickness: v,
4698
4698
  string: null,
4699
4699
  stroke: null,
4700
- strokeDashArray: ke,
4700
+ strokeDashArray: Ie,
4701
4701
  strokeDashOffset: null,
4702
4702
  strokeLineCap: null,
4703
4703
  strokeLineJoin: null,
@@ -4711,7 +4711,7 @@ const Bs = Rt({
4711
4711
  syncMaster: null,
4712
4712
  syncTolerance: null,
4713
4713
  syncToleranceDefault: null,
4714
- systemLanguage: ke,
4714
+ systemLanguage: Ie,
4715
4715
  tabIndex: v,
4716
4716
  tableValues: null,
4717
4717
  target: null,
@@ -4725,7 +4725,7 @@ const Bs = Rt({
4725
4725
  title: null,
4726
4726
  transformBehavior: null,
4727
4727
  type: null,
4728
- typeOf: ke,
4728
+ typeOf: Ie,
4729
4729
  to: null,
4730
4730
  transform: null,
4731
4731
  transformOrigin: null,
@@ -4941,7 +4941,7 @@ function kh(e) {
4941
4941
  if (t && n)
4942
4942
  return { start: t, end: n };
4943
4943
  }
4944
- function Qt(e) {
4944
+ function Gt(e) {
4945
4945
  return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Zi(e.position) : "start" in e || "end" in e ? Zi(e) : "line" in e || "column" in e ? Cr(e) : "";
4946
4946
  }
4947
4947
  function Cr(e) {
@@ -5024,7 +5024,7 @@ class ge extends Error {
5024
5024
  l && (s.place = l.position);
5025
5025
  }
5026
5026
  const u = s.place && "start" in s.place ? s.place.start : s.place;
5027
- this.ancestors = s.ancestors || void 0, this.cause = s.cause || void 0, this.column = u ? u.column : void 0, this.fatal = void 0, this.file, this.message = i, this.line = u ? u.line : void 0, this.name = Qt(s.place) || "1:1", this.place = s.place || void 0, this.reason = this.message, this.ruleId = s.ruleId || void 0, this.source = s.source || void 0, this.stack = a && s.cause && typeof s.cause.stack == "string" ? s.cause.stack : "", this.actual, this.expected, this.note, this.url;
5027
+ this.ancestors = s.ancestors || void 0, this.cause = s.cause || void 0, this.column = u ? u.column : void 0, this.fatal = void 0, this.file, this.message = i, this.line = u ? u.line : void 0, this.name = Gt(s.place) || "1:1", this.place = s.place || void 0, this.reason = this.message, this.ruleId = s.ruleId || void 0, this.source = s.source || void 0, this.stack = a && s.cause && typeof s.cause.stack == "string" ? s.cause.stack : "", this.actual, this.expected, this.note, this.url;
5028
5028
  }
5029
5029
  }
5030
5030
  ge.prototype.file = "";
@@ -5717,11 +5717,11 @@ function of(e, t, n) {
5717
5717
  return uf(a, F);
5718
5718
  }
5719
5719
  function T() {
5720
- const { line: F, column: H, offset: Z, _index: ie, _bufferIndex: K } = r;
5720
+ const { line: F, column: H, offset: ee, _index: ie, _bufferIndex: K } = r;
5721
5721
  return {
5722
5722
  line: F,
5723
5723
  column: H,
5724
- offset: Z,
5724
+ offset: ee,
5725
5725
  _index: ie,
5726
5726
  _bufferIndex: K
5727
5727
  };
@@ -5747,8 +5747,8 @@ function of(e, t, n) {
5747
5747
  q(F) ? (r.line++, r.column = 1, r.offset += F === -3 ? 2 : 1, A()) : F !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), c.previous = F;
5748
5748
  }
5749
5749
  function L(F, H) {
5750
- const Z = H || {};
5751
- return Z.type = F, Z.start = T(), c.events.push(["enter", Z, c]), u.push(Z), Z;
5750
+ const ee = H || {};
5751
+ return ee.type = F, ee.start = T(), c.events.push(["enter", ee, c]), u.push(ee), ee;
5752
5752
  }
5753
5753
  function M(F) {
5754
5754
  const H = u.pop();
@@ -5761,8 +5761,8 @@ function of(e, t, n) {
5761
5761
  H.restore();
5762
5762
  }
5763
5763
  function j(F, H) {
5764
- return Z;
5765
- function Z(ie, K, de) {
5764
+ return ee;
5765
+ function ee(ie, K, de) {
5766
5766
  let ue, Te, Se, w;
5767
5767
  return Array.isArray(ie) ? Oe(ie) : "tokenize" in ie ? (
5768
5768
  // @ts-expect-error Looks like a construct.
@@ -5814,13 +5814,13 @@ function of(e, t, n) {
5814
5814
  ), F.resolveTo && (c.events = F.resolveTo(c.events, c));
5815
5815
  }
5816
5816
  function Y() {
5817
- const F = T(), H = c.previous, Z = c.currentConstruct, ie = c.events.length, K = Array.from(u);
5817
+ const F = T(), H = c.previous, ee = c.currentConstruct, ie = c.events.length, K = Array.from(u);
5818
5818
  return {
5819
5819
  restore: de,
5820
5820
  from: ie
5821
5821
  };
5822
5822
  function de() {
5823
- r = F, c.previous = H, c.currentConstruct = Z, c.events.length = ie, u = K, A();
5823
+ r = F, c.previous = H, c.currentConstruct = ee, c.events.length = ie, u = K, A();
5824
5824
  }
5825
5825
  }
5826
5826
  function A() {
@@ -6088,7 +6088,7 @@ function Af(e) {
6088
6088
  emphasis: l(),
6089
6089
  hardBreakEscape: l(H),
6090
6090
  hardBreakTrailing: l(H),
6091
- htmlFlow: l(Z),
6091
+ htmlFlow: l(ee),
6092
6092
  htmlFlowData: A,
6093
6093
  htmlText: l(ie),
6094
6094
  htmlTextData: A,
@@ -6165,18 +6165,18 @@ function Af(e) {
6165
6165
  return P;
6166
6166
  }
6167
6167
  function i(S, P, V) {
6168
- let $ = P - 1, te = -1, Me = !1, dt, Ge, Ft, Ht;
6168
+ let $ = P - 1, te = -1, Me = !1, dt, Ge, Ht, Ut;
6169
6169
  for (; ++$ <= V; ) {
6170
- const Ce = S[$];
6171
- switch (Ce[1].type) {
6170
+ const ke = S[$];
6171
+ switch (ke[1].type) {
6172
6172
  case "listUnordered":
6173
6173
  case "listOrdered":
6174
6174
  case "blockQuote": {
6175
- Ce[0] === "enter" ? te++ : te--, Ht = void 0;
6175
+ ke[0] === "enter" ? te++ : te--, Ut = void 0;
6176
6176
  break;
6177
6177
  }
6178
6178
  case "lineEndingBlank": {
6179
- Ce[0] === "enter" && (dt && !Ht && !te && !Ft && (Ft = $), Ht = void 0);
6179
+ ke[0] === "enter" && (dt && !Ut && !te && !Ht && (Ht = $), Ut = void 0);
6180
6180
  break;
6181
6181
  }
6182
6182
  case "linePrefix":
@@ -6186,9 +6186,9 @@ function Af(e) {
6186
6186
  case "listItemPrefixWhitespace":
6187
6187
  break;
6188
6188
  default:
6189
- Ht = void 0;
6189
+ Ut = void 0;
6190
6190
  }
6191
- if (!te && Ce[0] === "enter" && Ce[1].type === "listItemPrefix" || te === -1 && Ce[0] === "exit" && (Ce[1].type === "listUnordered" || Ce[1].type === "listOrdered")) {
6191
+ if (!te && ke[0] === "enter" && ke[1].type === "listItemPrefix" || te === -1 && ke[0] === "exit" && (ke[1].type === "listUnordered" || ke[1].type === "listOrdered")) {
6192
6192
  if (dt) {
6193
6193
  let xt = $;
6194
6194
  for (Ge = void 0; xt--; ) {
@@ -6198,17 +6198,17 @@ function Af(e) {
6198
6198
  Ge && (S[Ge][1].type = "lineEndingBlank", Me = !0), Xe[1].type = "lineEnding", Ge = xt;
6199
6199
  } else if (!(Xe[1].type === "linePrefix" || Xe[1].type === "blockQuotePrefix" || Xe[1].type === "blockQuotePrefixWhitespace" || Xe[1].type === "blockQuoteMarker" || Xe[1].type === "listItemIndent")) break;
6200
6200
  }
6201
- Ft && (!Ge || Ft < Ge) && (dt._spread = !0), dt.end = Object.assign({}, Ge ? S[Ge][1].start : Ce[1].end), S.splice(Ge || $, 0, ["exit", dt, Ce[2]]), $++, V++;
6201
+ Ht && (!Ge || Ht < Ge) && (dt._spread = !0), dt.end = Object.assign({}, Ge ? S[Ge][1].start : ke[1].end), S.splice(Ge || $, 0, ["exit", dt, ke[2]]), $++, V++;
6202
6202
  }
6203
- if (Ce[1].type === "listItemPrefix") {
6203
+ if (ke[1].type === "listItemPrefix") {
6204
6204
  const xt = {
6205
6205
  type: "listItem",
6206
6206
  _spread: !1,
6207
- start: Object.assign({}, Ce[1].start),
6207
+ start: Object.assign({}, ke[1].start),
6208
6208
  // @ts-expect-error: we’ll add `end` in a second.
6209
6209
  end: void 0
6210
6210
  };
6211
- dt = xt, S.splice($, 0, ["enter", xt, Ce[2]]), $++, V++, Ft = void 0, Ht = !0;
6211
+ dt = xt, S.splice($, 0, ["enter", xt, ke[2]]), $++, V++, Ht = void 0, Ut = !0;
6212
6212
  }
6213
6213
  }
6214
6214
  }
@@ -6243,7 +6243,7 @@ function Af(e) {
6243
6243
  const V = this.stack.pop(), $ = this.tokenStack.pop();
6244
6244
  if ($)
6245
6245
  $[0].type !== S.type && (P ? P.call(this, S, $[0]) : ($[1] || ra).call(this, S, $[0]));
6246
- else throw new Error("Cannot close `" + S.type + "` (" + Qt({
6246
+ else throw new Error("Cannot close `" + S.type + "` (" + Gt({
6247
6247
  start: S.start,
6248
6248
  end: S.end
6249
6249
  }) + "): it’s not open");
@@ -6334,7 +6334,7 @@ function Af(e) {
6334
6334
  function H() {
6335
6335
  this.data.atHardBreak = !0;
6336
6336
  }
6337
- function Z() {
6337
+ function ee() {
6338
6338
  const S = this.resume(), P = this.stack[this.stack.length - 1];
6339
6339
  P.value = S;
6340
6340
  }
@@ -6567,13 +6567,13 @@ function Cf(e, t) {
6567
6567
  }
6568
6568
  }
6569
6569
  function ra(e, t) {
6570
- throw e ? new Error("Cannot close `" + e.type + "` (" + Qt({
6570
+ throw e ? new Error("Cannot close `" + e.type + "` (" + Gt({
6571
6571
  start: e.start,
6572
6572
  end: e.end
6573
- }) + "): a different token (`" + t.type + "`, " + Qt({
6573
+ }) + "): a different token (`" + t.type + "`, " + Gt({
6574
6574
  start: t.start,
6575
6575
  end: t.end
6576
- }) + ") is open") : new Error("Cannot close document, a token (`" + t.type + "`, " + Qt({
6576
+ }) + ") is open") : new Error("Cannot close document, a token (`" + t.type + "`, " + Gt({
6577
6577
  start: t.start,
6578
6578
  end: t.end
6579
6579
  }) + ") is still open");
@@ -6638,7 +6638,7 @@ function Lf(e, t) {
6638
6638
  return e.patch(t, n), e.applyData(t, n);
6639
6639
  }
6640
6640
  function Df(e, t) {
6641
- const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), i = Dt(r.toLowerCase()), s = e.footnoteOrder.indexOf(r);
6641
+ const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), i = Rt(r.toLowerCase()), s = e.footnoteOrder.indexOf(r);
6642
6642
  let a, u = e.footnoteCounts.get(r);
6643
6643
  u === void 0 ? (u = 0, e.footnoteOrder.push(r), a = e.footnoteOrder.length) : a = s + 1, u += 1, e.footnoteCounts.set(r, u);
6644
6644
  const l = {
@@ -6690,13 +6690,13 @@ function Pf(e, t) {
6690
6690
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
6691
6691
  if (!r)
6692
6692
  return Ks(e, t);
6693
- const i = { src: Dt(r.url || ""), alt: t.alt };
6693
+ const i = { src: Rt(r.url || ""), alt: t.alt };
6694
6694
  r.title !== null && r.title !== void 0 && (i.title = r.title);
6695
6695
  const s = { type: "element", tagName: "img", properties: i, children: [] };
6696
6696
  return e.patch(t, s), e.applyData(t, s);
6697
6697
  }
6698
6698
  function Mf(e, t) {
6699
- const n = { src: Dt(t.url) };
6699
+ const n = { src: Rt(t.url) };
6700
6700
  t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
6701
6701
  const r = { type: "element", tagName: "img", properties: n, children: [] };
6702
6702
  return e.patch(t, r), e.applyData(t, r);
@@ -6716,7 +6716,7 @@ function Ff(e, t) {
6716
6716
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
6717
6717
  if (!r)
6718
6718
  return Ks(e, t);
6719
- const i = { href: Dt(r.url || "") };
6719
+ const i = { href: Rt(r.url || "") };
6720
6720
  r.title !== null && r.title !== void 0 && (i.title = r.title);
6721
6721
  const s = {
6722
6722
  type: "element",
@@ -6727,7 +6727,7 @@ function Ff(e, t) {
6727
6727
  return e.patch(t, s), e.applyData(t, s);
6728
6728
  }
6729
6729
  function Hf(e, t) {
6730
- const n = { href: Dt(t.url) };
6730
+ const n = { href: Rt(t.url) };
6731
6731
  t.title !== null && t.title !== void 0 && (n.title = t.title);
6732
6732
  const r = {
6733
6733
  type: "element",
@@ -6994,7 +6994,7 @@ const Js = -1, Gn = 0, Rn = 1, vn = 2, Zr = 3, ei = 4, ti = 5, ni = 6, Zs = 7, e
6994
6994
  return n(new oa[s](a), i);
6995
6995
  };
6996
6996
  return r;
6997
- }, ua = (e) => Zf(/* @__PURE__ */ new Map(), e)(0), _t = "", { toString: ep } = {}, { keys: tp } = Object, zt = (e) => {
6997
+ }, ua = (e) => Zf(/* @__PURE__ */ new Map(), e)(0), _t = "", { toString: ep } = {}, { keys: tp } = Object, Yt = (e) => {
6998
6998
  const t = typeof e;
6999
6999
  if (t !== "object" || !e)
7000
7000
  return [Gn, t];
@@ -7021,7 +7021,7 @@ const Js = -1, Gn = 0, Rn = 1, vn = 2, Zr = 3, ei = 4, ti = 5, ni = 6, Zs = 7, e
7021
7021
  }, s = (a) => {
7022
7022
  if (n.has(a))
7023
7023
  return n.get(a);
7024
- let [u, l] = zt(a);
7024
+ let [u, l] = Yt(a);
7025
7025
  switch (u) {
7026
7026
  case Gn: {
7027
7027
  let d = a;
@@ -7062,7 +7062,7 @@ const Js = -1, Gn = 0, Rn = 1, vn = 2, Zr = 3, ei = 4, ti = 5, ni = 6, Zs = 7, e
7062
7062
  return s(a.toJSON());
7063
7063
  const d = [], h = i([u, d], a);
7064
7064
  for (const m of tp(a))
7065
- (e || !_n(zt(a[m]))) && d.push([s(m), s(a[m])]);
7065
+ (e || !_n(Yt(a[m]))) && d.push([s(m), s(a[m])]);
7066
7066
  return h;
7067
7067
  }
7068
7068
  case Zr:
@@ -7074,13 +7074,13 @@ const Js = -1, Gn = 0, Rn = 1, vn = 2, Zr = 3, ei = 4, ti = 5, ni = 6, Zs = 7, e
7074
7074
  case ti: {
7075
7075
  const d = [], h = i([u, d], a);
7076
7076
  for (const [m, f] of a)
7077
- (e || !(_n(zt(m)) || _n(zt(f)))) && d.push([s(m), s(f)]);
7077
+ (e || !(_n(Yt(m)) || _n(Yt(f)))) && d.push([s(m), s(f)]);
7078
7078
  return h;
7079
7079
  }
7080
7080
  case ni: {
7081
7081
  const d = [], h = i([u, d], a);
7082
7082
  for (const m of a)
7083
- (e || !_n(zt(m))) && d.push(s(m));
7083
+ (e || !_n(Yt(m))) && d.push(s(m));
7084
7084
  return h;
7085
7085
  }
7086
7086
  }
@@ -7091,7 +7091,7 @@ const Js = -1, Gn = 0, Rn = 1, vn = 2, Zr = 3, ei = 4, ti = 5, ni = 6, Zs = 7, e
7091
7091
  }, la = (e, { json: t, lossy: n } = {}) => {
7092
7092
  const r = [];
7093
7093
  return np(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
7094
- }, kt = typeof structuredClone == "function" ? (
7094
+ }, It = typeof structuredClone == "function" ? (
7095
7095
  /* c8 ignore start */
7096
7096
  (e, t) => t && ("json" in t || "lossy" in t) ? ua(la(e, t)) : structuredClone(e)
7097
7097
  ) : (e, t) => ua(la(e, t));
@@ -7118,7 +7118,7 @@ function ap(e) {
7118
7118
  );
7119
7119
  if (!c)
7120
7120
  continue;
7121
- const d = e.all(c), h = String(c.identifier).toUpperCase(), m = Dt(h.toLowerCase());
7121
+ const d = e.all(c), h = String(c.identifier).toUpperCase(), m = Rt(h.toLowerCase());
7122
7122
  let f = 0;
7123
7123
  const T = [], y = e.footnoteCounts.get(h);
7124
7124
  for (; y !== void 0 && ++f <= y; ) {
@@ -7160,7 +7160,7 @@ function ap(e) {
7160
7160
  type: "element",
7161
7161
  tagName: s,
7162
7162
  properties: {
7163
- ...kt(a),
7163
+ ...It(a),
7164
7164
  id: "footnote-label"
7165
7165
  },
7166
7166
  children: [{ type: "text", value: i }]
@@ -7205,10 +7205,10 @@ function op(e, t) {
7205
7205
  return f(u, d, h);
7206
7206
  if (u.options.passThrough && u.options.passThrough.includes(m)) {
7207
7207
  if ("children" in d) {
7208
- const { children: y, ...N } = d, C = kt(N);
7208
+ const { children: y, ...N } = d, C = It(N);
7209
7209
  return C.children = u.all(d), C;
7210
7210
  }
7211
- return kt(d);
7211
+ return It(d);
7212
7212
  }
7213
7213
  return (u.options.unknownHandler || cp)(u, d, h);
7214
7214
  }
@@ -7245,7 +7245,7 @@ function lp(e, t) {
7245
7245
  const a = "children" in n ? n.children : [n];
7246
7246
  n = { type: "element", tagName: r, properties: {}, children: a };
7247
7247
  }
7248
- n.type === "element" && s && Object.assign(n.properties, kt(s)), "children" in n && n.children && i !== null && i !== void 0 && (n.children = i);
7248
+ n.type === "element" && s && Object.assign(n.properties, It(s)), "children" in n && n.children && i !== null && i !== void 0 && (n.children = i);
7249
7249
  }
7250
7250
  return n;
7251
7251
  }
@@ -8570,7 +8570,7 @@ function Bp(e) {
8570
8570
  vp.test(e.slice(0, t)) ? e : ""
8571
8571
  );
8572
8572
  }
8573
- const ro = Zt.memo(
8573
+ const ro = kt.memo(
8574
8574
  Mp,
8575
8575
  (e, t) => e.children === t.children && e.className === t.className
8576
8576
  ), Aa = /[#.]/g;
@@ -8936,11 +8936,11 @@ function em(e, t) {
8936
8936
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
8937
8937
  childNodes: []
8938
8938
  };
8939
- return n.childNodes = ai(e.children, n, t), vt(e, n), n;
8939
+ return n.childNodes = ai(e.children, n, t), Pt(e, n), n;
8940
8940
  }
8941
8941
  function tm(e, t) {
8942
8942
  const n = { nodeName: "#document-fragment", childNodes: [] };
8943
- return n.childNodes = ai(e.children, n, t), vt(e, n), n;
8943
+ return n.childNodes = ai(e.children, n, t), Pt(e, n), n;
8944
8944
  }
8945
8945
  function nm(e) {
8946
8946
  const t = {
@@ -8950,7 +8950,7 @@ function nm(e) {
8950
8950
  systemId: "",
8951
8951
  parentNode: null
8952
8952
  };
8953
- return vt(e, t), t;
8953
+ return Pt(e, t), t;
8954
8954
  }
8955
8955
  function rm(e) {
8956
8956
  const t = {
@@ -8958,7 +8958,7 @@ function rm(e) {
8958
8958
  value: e.value,
8959
8959
  parentNode: null
8960
8960
  };
8961
- return vt(e, t), t;
8961
+ return Pt(e, t), t;
8962
8962
  }
8963
8963
  function im(e) {
8964
8964
  const t = {
@@ -8966,7 +8966,7 @@ function im(e) {
8966
8966
  data: e.value,
8967
8967
  parentNode: null
8968
8968
  };
8969
- return vt(e, t), t;
8969
+ return Pt(e, t), t;
8970
8970
  }
8971
8971
  function am(e, t) {
8972
8972
  const n = t;
@@ -8994,7 +8994,7 @@ function am(e, t) {
8994
8994
  childNodes: [],
8995
8995
  parentNode: null
8996
8996
  };
8997
- return u.childNodes = ai(e.children, u, r), vt(e, u), e.tagName === "template" && e.content && (u.content = tm(e.content, r)), u;
8997
+ return u.childNodes = ai(e.children, u, r), Pt(e, u), e.tagName === "template" && e.content && (u.content = tm(e.content, r)), u;
8998
8998
  }
8999
8999
  function sm(e, t, n) {
9000
9000
  const r = Vn(e, t);
@@ -9021,7 +9021,7 @@ function ai(e, t, n) {
9021
9021
  }
9022
9022
  return i;
9023
9023
  }
9024
- function vt(e, t) {
9024
+ function Pt(e, t) {
9025
9025
  const n = e.position;
9026
9026
  n && n.start && n.end && (n.start.offset, n.end.offset, t.sourceCodeLocation = {
9027
9027
  startLine: n.start.line,
@@ -9667,7 +9667,7 @@ const _m = /* @__PURE__ */ new Map([
9667
9667
  [_.WBR, o.WBR],
9668
9668
  [_.XMP, o.XMP]
9669
9669
  ]);
9670
- function Pt(e) {
9670
+ function Mt(e) {
9671
9671
  var t;
9672
9672
  return (t = _m.get(e)) !== null && t !== void 0 ? t : o.UNKNOWN;
9673
9673
  }
@@ -9777,14 +9777,14 @@ const oe = {
9777
9777
  function Am(e) {
9778
9778
  return e >= p.DIGIT_0 && e <= p.DIGIT_9;
9779
9779
  }
9780
- function Wt(e) {
9780
+ function jt(e) {
9781
9781
  return e >= p.LATIN_CAPITAL_A && e <= p.LATIN_CAPITAL_Z;
9782
9782
  }
9783
9783
  function Cm(e) {
9784
9784
  return e >= p.LATIN_SMALL_A && e <= p.LATIN_SMALL_Z;
9785
9785
  }
9786
9786
  function rt(e) {
9787
- return Cm(e) || Wt(e);
9787
+ return Cm(e) || jt(e);
9788
9788
  }
9789
9789
  function Na(e) {
9790
9790
  return rt(e) || Am(e);
@@ -9949,7 +9949,7 @@ class Im {
9949
9949
  }
9950
9950
  emitCurrentTagToken() {
9951
9951
  const t = this.currentToken;
9952
- this.prepareToken(t), t.tagID = Pt(t.tagName), t.type === G.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(k.endTagWithAttributes), t.selfClosing && this._err(k.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
9952
+ this.prepareToken(t), t.tagID = Mt(t.tagName), t.type === G.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(k.endTagWithAttributes), t.selfClosing && this._err(k.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
9953
9953
  }
9954
9954
  emitCurrentComment(t) {
9955
9955
  this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
@@ -10496,7 +10496,7 @@ class Im {
10496
10496
  break;
10497
10497
  }
10498
10498
  default:
10499
- n.tagName += String.fromCodePoint(Wt(t) ? An(t) : t);
10499
+ n.tagName += String.fromCodePoint(jt(t) ? An(t) : t);
10500
10500
  }
10501
10501
  }
10502
10502
  // RCDATA less-than sign state
@@ -10828,7 +10828,7 @@ class Im {
10828
10828
  break;
10829
10829
  }
10830
10830
  default:
10831
- this.currentAttr.name += String.fromCodePoint(Wt(t) ? An(t) : t);
10831
+ this.currentAttr.name += String.fromCodePoint(jt(t) ? An(t) : t);
10832
10832
  }
10833
10833
  }
10834
10834
  // After attribute name state
@@ -11229,7 +11229,7 @@ class Im {
11229
11229
  // Before DOCTYPE name state
11230
11230
  //------------------------------------------------------------------
11231
11231
  _stateBeforeDoctypeName(t) {
11232
- if (Wt(t))
11232
+ if (jt(t))
11233
11233
  this._createDoctypeToken(String.fromCharCode(An(t))), this.state = g.DOCTYPE_NAME;
11234
11234
  else
11235
11235
  switch (t) {
@@ -11283,7 +11283,7 @@ class Im {
11283
11283
  break;
11284
11284
  }
11285
11285
  default:
11286
- n.name += String.fromCodePoint(Wt(t) ? An(t) : t);
11286
+ n.name += String.fromCodePoint(jt(t) ? An(t) : t);
11287
11287
  }
11288
11288
  }
11289
11289
  // After DOCTYPE name state
@@ -12440,7 +12440,7 @@ function si(e) {
12440
12440
  }
12441
12441
  function Km(e) {
12442
12442
  const t = Qm.get(e.tagName);
12443
- t != null && (e.tagName = t, e.tagID = Pt(e.tagName));
12443
+ t != null && (e.tagName = t, e.tagID = Mt(e.tagName));
12444
12444
  }
12445
12445
  function $m(e, t) {
12446
12446
  return t === D.MATHML && (e === o.MI || e === o.MO || e === o.MN || e === o.MS || e === o.MTEXT);
@@ -12481,7 +12481,7 @@ class Ba {
12481
12481
  this.fragmentContext = r, this.scriptHandler = i, this.currentToken = null, this.stopped = !1, this.insertionMode = E.INITIAL, this.originalInsertionMode = E.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = {
12482
12482
  ...Ma,
12483
12483
  ...t
12484
- }, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = n ?? this.treeAdapter.createDocument(), this.tokenizer = new Im(this.options, this), this.activeFormattingElements = new Pm(this.treeAdapter), this.fragmentContextID = r ? Pt(this.treeAdapter.getTagName(r)) : o.UNKNOWN, this._setContextModes(r ?? this.document, this.fragmentContextID), this.openElements = new vm(this.document, this.treeAdapter, this);
12484
+ }, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = n ?? this.treeAdapter.createDocument(), this.tokenizer = new Im(this.options, this), this.activeFormattingElements = new Pm(this.treeAdapter), this.fragmentContextID = r ? Mt(this.treeAdapter.getTagName(r)) : o.UNKNOWN, this._setContextModes(r ?? this.document, this.fragmentContextID), this.openElements = new vm(this.document, this.treeAdapter, this);
12485
12485
  }
12486
12486
  // API
12487
12487
  static parse(t, n) {
@@ -12882,27 +12882,27 @@ class Ba {
12882
12882
  }
12883
12883
  switch (this.insertionMode) {
12884
12884
  case E.INITIAL: {
12885
- Yt(this, t);
12885
+ qt(this, t);
12886
12886
  break;
12887
12887
  }
12888
12888
  case E.BEFORE_HTML: {
12889
- Gt(this, t);
12889
+ Xt(this, t);
12890
12890
  break;
12891
12891
  }
12892
12892
  case E.BEFORE_HEAD: {
12893
- Xt(this, t);
12893
+ Kt(this, t);
12894
12894
  break;
12895
12895
  }
12896
12896
  case E.IN_HEAD: {
12897
- Kt(this, t);
12897
+ $t(this, t);
12898
12898
  break;
12899
12899
  }
12900
12900
  case E.IN_HEAD_NO_SCRIPT: {
12901
- $t(this, t);
12901
+ Jt(this, t);
12902
12902
  break;
12903
12903
  }
12904
12904
  case E.AFTER_HEAD: {
12905
- Jt(this, t);
12905
+ Zt(this, t);
12906
12906
  break;
12907
12907
  }
12908
12908
  case E.IN_BODY:
@@ -12950,27 +12950,27 @@ class Ba {
12950
12950
  }
12951
12951
  switch (this.insertionMode) {
12952
12952
  case E.INITIAL: {
12953
- Yt(this, t);
12953
+ qt(this, t);
12954
12954
  break;
12955
12955
  }
12956
12956
  case E.BEFORE_HTML: {
12957
- Gt(this, t);
12957
+ Xt(this, t);
12958
12958
  break;
12959
12959
  }
12960
12960
  case E.BEFORE_HEAD: {
12961
- Xt(this, t);
12961
+ Kt(this, t);
12962
12962
  break;
12963
12963
  }
12964
12964
  case E.IN_HEAD: {
12965
- Kt(this, t);
12965
+ $t(this, t);
12966
12966
  break;
12967
12967
  }
12968
12968
  case E.IN_HEAD_NO_SCRIPT: {
12969
- $t(this, t);
12969
+ Jt(this, t);
12970
12970
  break;
12971
12971
  }
12972
12972
  case E.AFTER_HEAD: {
12973
- Jt(this, t);
12973
+ Zt(this, t);
12974
12974
  break;
12975
12975
  }
12976
12976
  case E.TEXT: {
@@ -13026,7 +13026,7 @@ class Ba {
13026
13026
  break;
13027
13027
  }
13028
13028
  case E.IN_TABLE_TEXT: {
13029
- qt(this, t);
13029
+ Wt(this, t);
13030
13030
  break;
13031
13031
  }
13032
13032
  case E.AFTER_BODY: {
@@ -13055,7 +13055,7 @@ class Ba {
13055
13055
  break;
13056
13056
  }
13057
13057
  case E.IN_TABLE_TEXT: {
13058
- qt(this, t);
13058
+ Wt(this, t);
13059
13059
  break;
13060
13060
  }
13061
13061
  }
@@ -13082,7 +13082,7 @@ class Ba {
13082
13082
  _startTagOutsideForeignContent(t) {
13083
13083
  switch (this.insertionMode) {
13084
13084
  case E.INITIAL: {
13085
- Yt(this, t);
13085
+ qt(this, t);
13086
13086
  break;
13087
13087
  }
13088
13088
  case E.BEFORE_HTML: {
@@ -13110,11 +13110,11 @@ class Ba {
13110
13110
  break;
13111
13111
  }
13112
13112
  case E.IN_TABLE: {
13113
- It(this, t);
13113
+ Nt(this, t);
13114
13114
  break;
13115
13115
  }
13116
13116
  case E.IN_TABLE_TEXT: {
13117
- qt(this, t);
13117
+ Wt(this, t);
13118
13118
  break;
13119
13119
  }
13120
13120
  case E.IN_CAPTION: {
@@ -13179,7 +13179,7 @@ class Ba {
13179
13179
  _endTagOutsideForeignContent(t) {
13180
13180
  switch (this.insertionMode) {
13181
13181
  case E.INITIAL: {
13182
- Yt(this, t);
13182
+ qt(this, t);
13183
13183
  break;
13184
13184
  }
13185
13185
  case E.BEFORE_HTML: {
@@ -13215,7 +13215,7 @@ class Ba {
13215
13215
  break;
13216
13216
  }
13217
13217
  case E.IN_TABLE_TEXT: {
13218
- qt(this, t);
13218
+ Wt(this, t);
13219
13219
  break;
13220
13220
  }
13221
13221
  case E.IN_CAPTION: {
@@ -13272,27 +13272,27 @@ class Ba {
13272
13272
  onEof(t) {
13273
13273
  switch (this.insertionMode) {
13274
13274
  case E.INITIAL: {
13275
- Yt(this, t);
13275
+ qt(this, t);
13276
13276
  break;
13277
13277
  }
13278
13278
  case E.BEFORE_HTML: {
13279
- Gt(this, t);
13279
+ Xt(this, t);
13280
13280
  break;
13281
13281
  }
13282
13282
  case E.BEFORE_HEAD: {
13283
- Xt(this, t);
13283
+ Kt(this, t);
13284
13284
  break;
13285
13285
  }
13286
13286
  case E.IN_HEAD: {
13287
- Kt(this, t);
13287
+ $t(this, t);
13288
13288
  break;
13289
13289
  }
13290
13290
  case E.IN_HEAD_NO_SCRIPT: {
13291
- $t(this, t);
13291
+ Jt(this, t);
13292
13292
  break;
13293
13293
  }
13294
13294
  case E.AFTER_HEAD: {
13295
- Jt(this, t);
13295
+ Zt(this, t);
13296
13296
  break;
13297
13297
  }
13298
13298
  case E.IN_BODY:
@@ -13312,7 +13312,7 @@ class Ba {
13312
13312
  break;
13313
13313
  }
13314
13314
  case E.IN_TABLE_TEXT: {
13315
- qt(this, t);
13315
+ Wt(this, t);
13316
13316
  break;
13317
13317
  }
13318
13318
  case E.IN_TEMPLATE: {
@@ -13404,7 +13404,7 @@ function o1(e, t) {
13404
13404
  return e.openElements.replace(t.element, r), t.element = r, r;
13405
13405
  }
13406
13406
  function u1(e, t, n) {
13407
- const r = e.treeAdapter.getTagName(t), i = Pt(r);
13407
+ const r = e.treeAdapter.getTagName(t), i = Mt(r);
13408
13408
  if (e._isElementCausesFosterParenting(i))
13409
13409
  e._fosterParentElement(n);
13410
13410
  else {
@@ -13457,17 +13457,17 @@ function h1(e, t) {
13457
13457
  const n = t.forceQuirks ? De.QUIRKS : Ym(t);
13458
13458
  zm(t) || e._err(t, k.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = E.BEFORE_HTML;
13459
13459
  }
13460
- function Yt(e, t) {
13460
+ function qt(e, t) {
13461
13461
  e._err(t, k.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, De.QUIRKS), e.insertionMode = E.BEFORE_HTML, e._processToken(t);
13462
13462
  }
13463
13463
  function f1(e, t) {
13464
- t.tagID === o.HTML ? (e._insertElement(t, D.HTML), e.insertionMode = E.BEFORE_HEAD) : Gt(e, t);
13464
+ t.tagID === o.HTML ? (e._insertElement(t, D.HTML), e.insertionMode = E.BEFORE_HEAD) : Xt(e, t);
13465
13465
  }
13466
13466
  function p1(e, t) {
13467
13467
  const n = t.tagID;
13468
- (n === o.HTML || n === o.HEAD || n === o.BODY || n === o.BR) && Gt(e, t);
13468
+ (n === o.HTML || n === o.HEAD || n === o.BODY || n === o.BR) && Xt(e, t);
13469
13469
  }
13470
- function Gt(e, t) {
13470
+ function Xt(e, t) {
13471
13471
  e._insertFakeRootElement(), e.insertionMode = E.BEFORE_HEAD, e._processToken(t);
13472
13472
  }
13473
13473
  function m1(e, t) {
@@ -13481,14 +13481,14 @@ function m1(e, t) {
13481
13481
  break;
13482
13482
  }
13483
13483
  default:
13484
- Xt(e, t);
13484
+ Kt(e, t);
13485
13485
  }
13486
13486
  }
13487
13487
  function g1(e, t) {
13488
13488
  const n = t.tagID;
13489
- n === o.HEAD || n === o.BODY || n === o.HTML || n === o.BR ? Xt(e, t) : e._err(t, k.endTagWithoutMatchingOpenElement);
13489
+ n === o.HEAD || n === o.BODY || n === o.HTML || n === o.BR ? Kt(e, t) : e._err(t, k.endTagWithoutMatchingOpenElement);
13490
13490
  }
13491
- function Xt(e, t) {
13491
+ function Kt(e, t) {
13492
13492
  e._insertFakeElement(_.HEAD, o.HEAD), e.headElement = e.openElements.current, e.insertionMode = E.IN_HEAD, e._processToken(t);
13493
13493
  }
13494
13494
  function He(e, t) {
@@ -13531,7 +13531,7 @@ function He(e, t) {
13531
13531
  break;
13532
13532
  }
13533
13533
  default:
13534
- Kt(e, t);
13534
+ $t(e, t);
13535
13535
  }
13536
13536
  }
13537
13537
  function b1(e, t) {
@@ -13543,7 +13543,7 @@ function b1(e, t) {
13543
13543
  case o.BODY:
13544
13544
  case o.BR:
13545
13545
  case o.HTML: {
13546
- Kt(e, t);
13546
+ $t(e, t);
13547
13547
  break;
13548
13548
  }
13549
13549
  case o.TEMPLATE: {
@@ -13557,7 +13557,7 @@ function b1(e, t) {
13557
13557
  function wt(e, t) {
13558
13558
  e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== o.TEMPLATE && e._err(t, k.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(o.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, k.endTagWithoutMatchingOpenElement);
13559
13559
  }
13560
- function Kt(e, t) {
13560
+ function $t(e, t) {
13561
13561
  e.openElements.pop(), e.insertionMode = E.AFTER_HEAD, e._processToken(t);
13562
13562
  }
13563
13563
  function E1(e, t) {
@@ -13581,7 +13581,7 @@ function E1(e, t) {
13581
13581
  break;
13582
13582
  }
13583
13583
  default:
13584
- $t(e, t);
13584
+ Jt(e, t);
13585
13585
  }
13586
13586
  }
13587
13587
  function T1(e, t) {
@@ -13591,14 +13591,14 @@ function T1(e, t) {
13591
13591
  break;
13592
13592
  }
13593
13593
  case o.BR: {
13594
- $t(e, t);
13594
+ Jt(e, t);
13595
13595
  break;
13596
13596
  }
13597
13597
  default:
13598
13598
  e._err(t, k.endTagWithoutMatchingOpenElement);
13599
13599
  }
13600
13600
  }
13601
- function $t(e, t) {
13601
+ function Jt(e, t) {
13602
13602
  const n = t.type === G.EOF ? k.openElementsLeftAfterEof : k.disallowedContentInNoscriptInHead;
13603
13603
  e._err(t, n), e.openElements.pop(), e.insertionMode = E.IN_HEAD, e._processToken(t);
13604
13604
  }
@@ -13634,7 +13634,7 @@ function w1(e, t) {
13634
13634
  break;
13635
13635
  }
13636
13636
  default:
13637
- Jt(e, t);
13637
+ Zt(e, t);
13638
13638
  }
13639
13639
  }
13640
13640
  function x1(e, t) {
@@ -13642,7 +13642,7 @@ function x1(e, t) {
13642
13642
  case o.BODY:
13643
13643
  case o.HTML:
13644
13644
  case o.BR: {
13645
- Jt(e, t);
13645
+ Zt(e, t);
13646
13646
  break;
13647
13647
  }
13648
13648
  case o.TEMPLATE: {
@@ -13653,7 +13653,7 @@ function x1(e, t) {
13653
13653
  e._err(t, k.endTagWithoutMatchingOpenElement);
13654
13654
  }
13655
13655
  }
13656
- function Jt(e, t) {
13656
+ function Zt(e, t) {
13657
13657
  e._insertFakeElement(_.BODY, o.BODY), e.insertionMode = E.IN_BODY, Xn(e, t);
13658
13658
  }
13659
13659
  function Xn(e, t) {
@@ -14211,7 +14211,7 @@ function pg(e, t) {
14211
14211
  function mg(e, t) {
14212
14212
  !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, D.HTML), e.formElement = e.openElements.current, e.openElements.pop());
14213
14213
  }
14214
- function It(e, t) {
14214
+ function Nt(e, t) {
14215
14215
  switch (t.tagID) {
14216
14216
  case o.TD:
14217
14217
  case o.TH:
@@ -14295,7 +14295,7 @@ function Oo(e, t) {
14295
14295
  function Lo(e, t) {
14296
14296
  e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
14297
14297
  }
14298
- function qt(e, t) {
14298
+ function Wt(e, t) {
14299
14299
  let n = 0;
14300
14300
  if (e.hasNonWhitespacePendingCharacterToken)
14301
14301
  for (; n < e.pendingCharacterTokens.length; n++)
@@ -14308,7 +14308,7 @@ function qt(e, t) {
14308
14308
  const Do = /* @__PURE__ */ new Set([o.CAPTION, o.COL, o.COLGROUP, o.TBODY, o.TD, o.TFOOT, o.TH, o.THEAD, o.TR]);
14309
14309
  function gg(e, t) {
14310
14310
  const n = t.tagID;
14311
- Do.has(n) ? e.openElements.hasInTableScope(o.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = E.IN_TABLE, It(e, t)) : be(e, t);
14311
+ Do.has(n) ? e.openElements.hasInTableScope(o.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = E.IN_TABLE, Nt(e, t)) : be(e, t);
14312
14312
  }
14313
14313
  function bg(e, t) {
14314
14314
  const n = t.tagID;
@@ -14387,11 +14387,11 @@ function $n(e, t) {
14387
14387
  case o.TBODY:
14388
14388
  case o.TFOOT:
14389
14389
  case o.THEAD: {
14390
- e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE, It(e, t));
14390
+ e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE, Nt(e, t));
14391
14391
  break;
14392
14392
  }
14393
14393
  default:
14394
- It(e, t);
14394
+ Nt(e, t);
14395
14395
  }
14396
14396
  }
14397
14397
  function vr(e, t) {
@@ -14438,7 +14438,7 @@ function Jn(e, t) {
14438
14438
  break;
14439
14439
  }
14440
14440
  default:
14441
- It(e, t);
14441
+ Nt(e, t);
14442
14442
  }
14443
14443
  }
14444
14444
  function Ro(e, t) {
@@ -14579,7 +14579,7 @@ function yg(e, t) {
14579
14579
  case o.TBODY:
14580
14580
  case o.TFOOT:
14581
14581
  case o.THEAD: {
14582
- e.tmplInsertionModeStack[0] = E.IN_TABLE, e.insertionMode = E.IN_TABLE, It(e, t);
14582
+ e.tmplInsertionModeStack[0] = E.IN_TABLE, e.insertionMode = E.IN_TABLE, Nt(e, t);
14583
14583
  break;
14584
14584
  }
14585
14585
  case o.COL: {
@@ -14734,7 +14734,7 @@ function Ho(e, t) {
14734
14734
  stitches: !1,
14735
14735
  options: t || {}
14736
14736
  };
14737
- r(e, i), Mt(i, je());
14737
+ r(e, i), Bt(i, je());
14738
14738
  const s = n ? i.parser.document : i.parser.getFragment(), a = Gp(s, {
14739
14739
  // To do: support `space`?
14740
14740
  file: i.options.file
@@ -14770,7 +14770,7 @@ function Ug(e, t) {
14770
14770
  chars: e.value,
14771
14771
  location: fn(e)
14772
14772
  };
14773
- Mt(t, je(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
14773
+ Bt(t, je(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
14774
14774
  }
14775
14775
  function zg(e, t) {
14776
14776
  const n = {
@@ -14781,7 +14781,7 @@ function zg(e, t) {
14781
14781
  systemId: "",
14782
14782
  location: fn(e)
14783
14783
  };
14784
- Mt(t, je(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
14784
+ Bt(t, je(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
14785
14785
  }
14786
14786
  function Yg(e, t) {
14787
14787
  t.stitches = !0;
@@ -14801,7 +14801,7 @@ function zo(e, t) {
14801
14801
  data: n,
14802
14802
  location: fn(e)
14803
14803
  };
14804
- Mt(t, je(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
14804
+ Bt(t, je(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
14805
14805
  }
14806
14806
  function qg(e, t) {
14807
14807
  if (t.parser.tokenizer.preprocessor.html = "", t.parser.tokenizer.preprocessor.pos = -1, t.parser.tokenizer.preprocessor.lastGapPos = -2, t.parser.tokenizer.preprocessor.gapStack = [], t.parser.tokenizer.preprocessor.skipNextNewLine = !1, t.parser.tokenizer.preprocessor.lastChunkWritten = !1, t.parser.tokenizer.preprocessor.endOfChunkHit = !1, t.parser.tokenizer.preprocessor.isEol = !1, Yo(t, je(e)), t.parser.tokenizer.write(
@@ -14826,7 +14826,7 @@ function Wg(e, t) {
14826
14826
  throw Bg.has(n.type) && (r = ". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"), new Error("Cannot compile `" + n.type + "` node" + r);
14827
14827
  }
14828
14828
  }
14829
- function Mt(e, t) {
14829
+ function Bt(e, t) {
14830
14830
  Yo(e, t);
14831
14831
  const n = e.parser.tokenizer.currentCharacterToken;
14832
14832
  n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = oe.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
@@ -14847,7 +14847,7 @@ function Yo(e, t) {
14847
14847
  function jg(e, t) {
14848
14848
  const n = e.tagName.toLowerCase();
14849
14849
  if (t.parser.tokenizer.state === oe.PLAINTEXT) return;
14850
- Mt(t, je(e));
14850
+ Bt(t, je(e));
14851
14851
  const r = t.parser.openElements.current;
14852
14852
  let i = "namespaceURI" in r ? r.namespaceURI : pt.html;
14853
14853
  i === pt.html && n === "svg" && (i = pt.svg);
@@ -14858,7 +14858,7 @@ function jg(e, t) {
14858
14858
  ), a = {
14859
14859
  type: G.START_TAG,
14860
14860
  tagName: n,
14861
- tagID: Pt(n),
14861
+ tagID: Mt(n),
14862
14862
  // We always send start and end tags.
14863
14863
  selfClosing: !1,
14864
14864
  ackSelfClosing: !1,
@@ -14872,11 +14872,11 @@ function jg(e, t) {
14872
14872
  function Vg(e, t) {
14873
14873
  const n = e.tagName.toLowerCase();
14874
14874
  if (!t.parser.tokenizer.inForeignNode && om.includes(n) || t.parser.tokenizer.state === oe.PLAINTEXT) return;
14875
- Mt(t, Qn(e));
14875
+ Bt(t, Qn(e));
14876
14876
  const r = {
14877
14877
  type: G.END_TAG,
14878
14878
  tagName: n,
14879
- tagID: Pt(n),
14879
+ tagID: Mt(n),
14880
14880
  selfClosing: !1,
14881
14881
  ackSelfClosing: !1,
14882
14882
  attrs: [],
@@ -14912,7 +14912,7 @@ function fn(e) {
14912
14912
  };
14913
14913
  }
14914
14914
  function Gg(e) {
14915
- return "children" in e ? kt({ ...e, children: [] }) : kt(e);
14915
+ return "children" in e ? It({ ...e, children: [] }) : It(e);
14916
14916
  }
14917
14917
  function qo(e) {
14918
14918
  return function(t, n) {
@@ -14946,17 +14946,17 @@ function Xg(e, t) {
14946
14946
  var Wo, jo;
14947
14947
  typeof document < "u" && (Wo = document);
14948
14948
  typeof window < "u" && (jo = window);
14949
- var Vo = /* @__PURE__ */ Zt.createContext({
14949
+ var Vo = /* @__PURE__ */ kt.createContext({
14950
14950
  document: Wo,
14951
14951
  window: jo
14952
- }), Kg = () => Zt.useContext(Vo), $g = ["children", "head", "initialContent", "src", "mountTarget"], ci = /* @__PURE__ */ Ur((e, t) => {
14952
+ }), Kg = () => kt.useContext(Vo), $g = ["children", "head", "initialContent", "src", "mountTarget"], ci = /* @__PURE__ */ Ur((e, t) => {
14953
14953
  var {
14954
14954
  children: n,
14955
14955
  head: r,
14956
14956
  initialContent: i,
14957
14957
  src: s,
14958
14958
  mountTarget: a
14959
- } = e, u = Xg(e, $g), [l, c] = Ie(!1), [d, h] = Ie(), m = (M) => {
14959
+ } = e, u = Xg(e, $g), [l, c] = Ne(!1), [d, h] = Ne(), m = (M) => {
14960
14960
  M && h(M);
14961
14961
  };
14962
14962
  Eu(t, () => d, [d]);
@@ -14970,7 +14970,7 @@ var Vo = /* @__PURE__ */ Zt.createContext({
14970
14970
  }, [l]);
14971
14971
  zr(() => {
14972
14972
  !s && u.onLoad && l && u.onLoad(N.current);
14973
- }, [l]), St(() => {
14973
+ }, [l]), Ot(() => {
14974
14974
  if (d && !s) {
14975
14975
  var M;
14976
14976
  (M = d.contentWindow) == null || M.addEventListener("DOMContentLoaded", C);
@@ -15016,13 +15016,13 @@ function Zg() {
15016
15016
  }
15017
15017
  Zn.Portal = Jg;
15018
15018
  Zn.Container = Zg;
15019
- const Nt = {
15019
+ const St = {
15020
15020
  x: 2,
15021
15021
  y: 2
15022
15022
  }, $e = wu(
15023
15023
  Ur(
15024
15024
  ({ children: e, className: t, scale: n = 1.02, off: r = !1 }, i) => {
15025
- const [s, a] = Ie(!1), [u, l] = Ie({ x: 0, y: 0 });
15025
+ const [s, a] = Ne(!1), [u, l] = Ne({ x: 0, y: 0 });
15026
15026
  if (r || /translate/.test(
15027
15027
  e.props.className || ""
15028
15028
  )) return e;
@@ -15034,7 +15034,7 @@ const Nt = {
15034
15034
  ), B = Math.max(
15035
15035
  -1,
15036
15036
  Math.min(1, L / (C.height / 2))
15037
- ), I = M * Nt.x, j = B * Nt.y;
15037
+ ), I = M * St.x, j = B * St.y;
15038
15038
  l({ x: I, y: j }), (Y = (z = e.props).onMouseMove) == null || Y.call(z, T);
15039
15039
  }, h = () => {
15040
15040
  var T, y;
@@ -15069,7 +15069,7 @@ const Nt = {
15069
15069
  )
15070
15070
  );
15071
15071
  $e.displayName = "Wobble";
15072
- function ee(e) {
15072
+ function Z(e) {
15073
15073
  return { "data-component": e };
15074
15074
  }
15075
15075
  const eb = al(
@@ -15115,7 +15115,7 @@ const eb = al(
15115
15115
  ({ className: e, variant: t = "default", size: n, asChild: r = !1, ...i }, s) => /* @__PURE__ */ b($e, { ref: s, children: /* @__PURE__ */ b(
15116
15116
  r ? il : "button",
15117
15117
  {
15118
- ...ee("ui_lib/btn"),
15118
+ ...Z("ui_lib/btn"),
15119
15119
  "data-variant": t,
15120
15120
  className: W(eb({ variant: t, size: n, className: e })),
15121
15121
  ...i
@@ -15266,11 +15266,11 @@ function Fn({
15266
15266
  dataComponentNames: u,
15267
15267
  classNames: l
15268
15268
  }) {
15269
- const { anchorTarget: c } = Ne(), { message: d, variant: h = "default" } = e;
15269
+ const { anchorTarget: c } = Ce(), { message: d, variant: h = "default" } = e;
15270
15270
  return h === "error" ? /* @__PURE__ */ b("div", { children: /* @__PURE__ */ b("div", { className: "flex flex-row flex-wrap items-center justify-start", children: /* @__PURE__ */ b("div", { className: "leading-snug text-sm text-destructive", children: d }) }) }) : /* @__PURE__ */ U(
15271
15271
  "div",
15272
15272
  {
15273
- ...ee((u == null ? void 0 : u.messageContainer) ?? "chat/agent_msg/root"),
15273
+ ...Z((u == null ? void 0 : u.messageContainer) ?? "chat/agent_msg/root"),
15274
15274
  className: W(
15275
15275
  "w-5/6 flex flex-col items-start gap-1",
15276
15276
  l == null ? void 0 : l.messageContainer
@@ -15280,7 +15280,7 @@ function Fn({
15280
15280
  d.length > 0 && /* @__PURE__ */ b(
15281
15281
  "div",
15282
15282
  {
15283
- ...ee((u == null ? void 0 : u.message) ?? "chat/agent_msg/msg"),
15283
+ ...Z((u == null ? void 0 : u.message) ?? "chat/agent_msg/msg"),
15284
15284
  "data-first": i,
15285
15285
  "data-last": s,
15286
15286
  "data-alone": a,
@@ -15328,7 +15328,7 @@ function tb(e) {
15328
15328
  ) });
15329
15329
  }
15330
15330
  const fi = qe.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
15331
- Lt.Root,
15331
+ Dt.Root,
15332
15332
  {
15333
15333
  ref: n,
15334
15334
  className: W(
@@ -15339,18 +15339,18 @@ const fi = qe.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
15339
15339
  ...t
15340
15340
  }
15341
15341
  ));
15342
- fi.displayName = Lt.Root.displayName;
15342
+ fi.displayName = Dt.Root.displayName;
15343
15343
  const pi = qe.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
15344
- Lt.Image,
15344
+ Dt.Image,
15345
15345
  {
15346
15346
  ref: n,
15347
15347
  className: W("aspect-square h-full w-full", e),
15348
15348
  ...t
15349
15349
  }
15350
15350
  ));
15351
- pi.displayName = Lt.Image.displayName;
15351
+ pi.displayName = Dt.Image.displayName;
15352
15352
  const mi = qe.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
15353
- Lt.Fallback,
15353
+ Dt.Fallback,
15354
15354
  {
15355
15355
  ref: n,
15356
15356
  className: W(
@@ -15360,7 +15360,7 @@ const mi = qe.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
15360
15360
  ...t
15361
15361
  }
15362
15362
  ));
15363
- mi.displayName = Lt.Fallback.displayName;
15363
+ mi.displayName = Dt.Fallback.displayName;
15364
15364
  function Mr({
15365
15365
  agent: e,
15366
15366
  ...t
@@ -15403,7 +15403,7 @@ const nb = 10, rb = (e, t, n) => ({
15403
15403
  ...a
15404
15404
  }, u) => {
15405
15405
  const l = e ? ob[e](t, i, s) : {};
15406
- return r && l.exit && typeof l.exit == "object" && !Array.isArray(l.exit) && (l.exit.transition = { duration: 0 }), /* @__PURE__ */ b(jt.div, { ref: u, ...a, ...l, children: n });
15406
+ return r && l.exit && typeof l.exit == "object" && !Array.isArray(l.exit) && (l.exit.transition = { duration: 0 }), /* @__PURE__ */ b(Vt.div, { ref: u, ...a, ...l, children: n });
15407
15407
  }
15408
15408
  );
15409
15409
  ne.displayName = "MotionDiv";
@@ -15411,22 +15411,22 @@ function ub({ agent: e }) {
15411
15411
  return /* @__PURE__ */ b(Ae, { children: /* @__PURE__ */ U(
15412
15412
  ne,
15413
15413
  {
15414
- ...ee("chat/bot_loading/root"),
15414
+ ...Z("chat/bot_loading/root"),
15415
15415
  className: "flex flex-row items-end w-full gap-2 animate-pulse",
15416
15416
  children: [
15417
15417
  /* @__PURE__ */ b(Mr, { agent: e }),
15418
15418
  /* @__PURE__ */ U(
15419
15419
  "div",
15420
15420
  {
15421
- ...ee("chat/bot_loading/bouncing_dots_container"),
15421
+ ...Z("chat/bot_loading/bouncing_dots_container"),
15422
15422
  className: W(
15423
15423
  "flex items-center [&_span]:bg-secondary-foreground [&_span]:size-1 gap-1 p-2 rounded-xl bg-secondary"
15424
15424
  // 'border',
15425
15425
  ),
15426
15426
  children: [
15427
- /* @__PURE__ */ b(jt.span, { className: "rounded-full animate-bounce [animation-delay:-0.3s]" }),
15428
- /* @__PURE__ */ b(jt.span, { className: "rounded-full animate-bounce [animation-delay:-0.15s]" }),
15429
- /* @__PURE__ */ b(jt.span, { className: "rounded-full animate-bounce" })
15427
+ /* @__PURE__ */ b(Vt.span, { className: "rounded-full animate-bounce [animation-delay:-0.3s]" }),
15428
+ /* @__PURE__ */ b(Vt.span, { className: "rounded-full animate-bounce [animation-delay:-0.15s]" }),
15429
+ /* @__PURE__ */ b(Vt.span, { className: "rounded-full animate-bounce" })
15430
15430
  ]
15431
15431
  }
15432
15432
  )
@@ -15434,7 +15434,7 @@ function ub({ agent: e }) {
15434
15434
  }
15435
15435
  ) });
15436
15436
  }
15437
- const nu = '@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}*{border-color:hsl(var(--opencx-border))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.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}.left-0{left:0}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.right-6{right:1.5rem}.top-0{top:0}.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}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-auto{margin-left: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}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.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-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-auto{width:auto;height:auto}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-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-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-3\\.5{width:.875rem}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\\[8rem\\]{min-width:8rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[var\\(--wobble-x\\)\\]{--tw-translate-x: var(--wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[var\\(--wobble-y\\)\\]{--tw-translate-y: var(--wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.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-\\[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))}.bg-background{background-color:hsl(var(--opencx-background))}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-\\[radial-gradient\\(ellipse_at_top_left\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\,radial-gradient\\(ellipse_at_top_right\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\]{background-image:radial-gradient(ellipse at top left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse at top right,hsl(var(--opencx-primary)),transparent)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-0{padding-bottom:0}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.text-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[16px\\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.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))}.text-foreground{color:hsl(var(--opencx-foreground))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.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-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.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-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;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-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-200{animation-duration:.2s}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[word-break\\:break-word\\]{word-break:break-word}.required:after{content:" *";color:red}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}.placeholder\\:text-muted-foreground\\/75::placeholder{color:hsl(var(--opencx-muted-foreground) / .75)}.focus-within\\:border-primary:focus-within{border-color:hsl(var(--opencx-primary))}.hover\\:scale-\\[var\\(--scale\\)\\]:hover{--tw-scale-x: var(--scale);--tw-scale-y: var(--scale);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:border-primary:hover{border-color:hsl(var(--opencx-primary))}.hover\\:bg-green-50\\/50:hover{background-color:#f0fdf480}.hover\\:bg-red-50\\/50:hover{background-color:#fef2f280}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.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\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--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\\:ring-ring:focus{--tw-ring-color: hsl(var(--opencx-ring))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:hover\\:scale-\\[calc\\(var\\(--scale\\)-0\\.02\\)\\]:hover:active{--tw-scale-x: calc(var(--scale) - .02);--tw-scale-y: calc(var(--scale) - .02);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:active\\:scale-95:active:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}.group:hover .group-hover\\:active\\:scale-90:active,.group:active .group-active\\:scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--opencx-muted-foreground))}.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}.data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}.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))}.rtl\\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}.rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::placeholder{text-align:right}.\\[\\&_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))}', lb = on.Provider, cb = on.Root, db = on.Trigger, ru = qe.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ b(
15437
+ const nu = '@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}*{border-color:hsl(var(--opencx-border))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.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}.left-0{left:0}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.right-6{right:1.5rem}.top-0{top:0}.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}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-auto{margin-left: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}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.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-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-auto{width:auto;height:auto}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-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-full{max-height:100%}.min-h-12{min-height:3rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\\/5{width:40%}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\\[8rem\\]{min-width:8rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[var\\(--wobble-x\\)\\]{--tw-translate-x: var(--wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[var\\(--wobble-y\\)\\]{--tw-translate-y: var(--wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.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-\\[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))}.bg-background{background-color:hsl(var(--opencx-background))}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-\\[radial-gradient\\(ellipse_at_top_left\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\,radial-gradient\\(ellipse_at_top_right\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\]{background-image:radial-gradient(ellipse at top left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse at top right,hsl(var(--opencx-primary)),transparent)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-0{padding-bottom:0}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.text-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[16px\\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.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))}.text-foreground{color:hsl(var(--opencx-foreground))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.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-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.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-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;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-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-200{animation-duration:.2s}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[word-break\\:break-word\\]{word-break:break-word}.required:after{content:" *";color:red}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}.placeholder\\:text-muted-foreground\\/75::placeholder{color:hsl(var(--opencx-muted-foreground) / .75)}.focus-within\\:border-primary:focus-within{border-color:hsl(var(--opencx-primary))}.hover\\:scale-\\[var\\(--scale\\)\\]:hover{--tw-scale-x: var(--scale);--tw-scale-y: var(--scale);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:border-primary:hover{border-color:hsl(var(--opencx-primary))}.hover\\:bg-green-50\\/50:hover{background-color:#f0fdf480}.hover\\:bg-red-50\\/50:hover{background-color:#fef2f280}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.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\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--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\\:ring-ring:focus{--tw-ring-color: hsl(var(--opencx-ring))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:hover\\:scale-\\[calc\\(var\\(--scale\\)-0\\.02\\)\\]:hover:active{--tw-scale-x: calc(var(--scale) - .02);--tw-scale-y: calc(var(--scale) - .02);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:active\\:scale-95:active:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}.group:hover .group-hover\\:active\\:scale-90:active,.group:active .group-active\\:scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--opencx-muted-foreground))}.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}.data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}.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))}.rtl\\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}.rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::placeholder{text-align:right}.\\[\\&_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))}', lb = on.Provider, cb = on.Root, db = on.Trigger, ru = qe.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ b(
15438
15438
  on.Content,
15439
15439
  {
15440
15440
  ref: r,
@@ -15453,7 +15453,8 @@ function rn({
15453
15453
  side: n,
15454
15454
  align: r
15455
15455
  }) {
15456
- return t ? /* @__PURE__ */ U(cb, { children: [
15456
+ const { disableTooltips: i } = Ce();
15457
+ return !t || i ? e : /* @__PURE__ */ U(cb, { children: [
15457
15458
  /* @__PURE__ */ b(db, { asChild: !0, children: e }),
15458
15459
  /* @__PURE__ */ b(
15459
15460
  ru,
@@ -15465,12 +15466,12 @@ function rn({
15465
15466
  children: t
15466
15467
  }
15467
15468
  )
15468
- ] }) : e;
15469
+ ] });
15469
15470
  }
15470
15471
  const za = 450;
15471
15472
  function et() {
15472
- const [e, t] = Zt.useState(() => (window.top || window).innerWidth < za);
15473
- return Zt.useEffect(() => {
15473
+ const [e, t] = kt.useState(() => (window.top || window).innerWidth < za);
15474
+ return kt.useEffect(() => {
15474
15475
  const n = window.top || window, r = () => {
15475
15476
  t(n.innerWidth < za);
15476
15477
  };
@@ -15483,9 +15484,9 @@ const Cn = {
15483
15484
  transitionTimingFunction: "cubic-bezier(0.16, 1, 0.3, 1)",
15484
15485
  transitionDuration: "1000ms"
15485
15486
  };
15486
- function Bt() {
15487
- var a, u, l, c, d, h, m, f, T, y, N, C, O, L, M, B, I, j, z, Y, A, F, H, Z, ie, K, de, ue, Te, Se, w, we, Oe, x, xe, Ue, le, tt, Pe, Ve, Qe, ct, mn, gn, bn;
15488
- const { isSmallScreen: e } = et(), { theme: t } = Ne(), n = (En, Tn) => e ? `100dv${En}` : Tn, r = {
15487
+ function Ft() {
15488
+ var a, u, l, c, d, h, m, f, T, y, N, C, O, L, M, B, I, j, z, Y, A, F, H, ee, ie, K, de, ue, Te, Se, w, we, Oe, x, xe, Ue, le, tt, Pe, Ve, Qe, ct, mn, gn, bn;
15489
+ const { isSmallScreen: e } = et(), { theme: t } = Ce(), n = (En, Tn) => e ? `100dv${En}` : Tn, r = {
15489
15490
  zIndex: ((a = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : a.zIndex) ?? 1e7,
15490
15491
  offset: {
15491
15492
  bottom: ((l = (u = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : u.offset) == null ? void 0 : l.bottom) ?? 20,
@@ -15510,7 +15511,7 @@ function Bt() {
15510
15511
  transitionTimingFunction: ((B = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : B.transitionTimingFunction) ?? Cn.transitionTimingFunction,
15511
15512
  transitionDuration: ((I = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : I.transitionDuration) ?? Cn.transitionDuration,
15512
15513
  offset: {
15513
- side: e ? 0 : r.offset.bottom + r.size.button + Nt.y * 2 + (((z = (j = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : j.offset) == null ? void 0 : z.side) ?? 10),
15514
+ side: e ? 0 : r.offset.bottom + r.size.button + St.y * 2 + (((z = (j = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : j.offset) == null ? void 0 : z.side) ?? 10),
15514
15515
  align: e ? 0 : r.offset.right + (((A = (Y = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : Y.offset) == null ? void 0 : A.align) ?? 0)
15515
15516
  }
15516
15517
  },
@@ -15523,7 +15524,7 @@ function Bt() {
15523
15524
  // By setting minHeight to 1px, a nice animation will play from 1px to the dynamic height of the content of the screen
15524
15525
  minHeight: n(
15525
15526
  "h",
15526
- ((ie = (Z = t == null ? void 0 : t.screens) == null ? void 0 : Z.welcome) == null ? void 0 : ie.minHeight) ?? "1px"
15527
+ ((ie = (ee = t == null ? void 0 : t.screens) == null ? void 0 : ee.welcome) == null ? void 0 : ie.minHeight) ?? "1px"
15527
15528
  )
15528
15529
  },
15529
15530
  sessions: {
@@ -15569,7 +15570,7 @@ function Bt() {
15569
15570
  100vh
15570
15571
  - ${i.widgetTrigger.offset.bottom}px
15571
15572
  - ${i.widgetContentContainer.offset.side}px
15572
- - ${Nt.y * 2}px
15573
+ - ${St.y * 2}px
15573
15574
  )`
15574
15575
  ),
15575
15576
  // Subtract the offset.right twice so that it adds a bit of padding to the left
@@ -15693,8 +15694,8 @@ function iu(e) {
15693
15694
  }
15694
15695
  }
15695
15696
  const gi = () => {
15696
- const [e, t] = Ie("ltr");
15697
- return St(() => {
15697
+ const [e, t] = Ne("ltr");
15698
+ return Ot(() => {
15698
15699
  const n = () => {
15699
15700
  typeof document > "u" || t(window.getComputedStyle(document.body).direction);
15700
15701
  };
@@ -16160,7 +16161,7 @@ function bi({
16160
16161
  return /* @__PURE__ */ b(
16161
16162
  he,
16162
16163
  {
16163
- ...ee("chat/suggested_reply_btn"),
16164
+ ...Z("chat/suggested_reply_btn"),
16164
16165
  size: "sm",
16165
16166
  className: W("rounded-xl w-fit", t),
16166
16167
  ...n,
@@ -16177,7 +16178,7 @@ function yb() {
16177
16178
  return /* @__PURE__ */ b(
16178
16179
  "div",
16179
16180
  {
16180
- ...ee("chat/might_solve_user_issue_suggested_replies_container"),
16181
+ ...Z("chat/might_solve_user_issue_suggested_replies_container"),
16181
16182
  className: "flex items-center gap-2 p-2 pb-0 flex-wrap",
16182
16183
  children: t.map((n) => /* @__PURE__ */ b(
16183
16184
  bi,
@@ -16194,10 +16195,10 @@ function Ab({
16194
16195
  file: { status: e, file: t, error: n },
16195
16196
  onCancel: r
16196
16197
  }) {
16197
- const [i, s] = Ie(
16198
+ const [i, s] = Ne(
16198
16199
  null
16199
16200
  );
16200
- St(() => {
16201
+ Ot(() => {
16201
16202
  if (!t.type.startsWith("image/")) return;
16202
16203
  const l = new FileReader();
16203
16204
  return l.onload = () => s(l.result), l.onerror = () => console.error("Error reading file"), l.readAsDataURL(t), () => l.abort();
@@ -16263,7 +16264,7 @@ function Ab({
16263
16264
  }
16264
16265
  function Cb() {
16265
16266
  var j;
16266
- const { isSmallScreen: e } = et(), t = sn(null), { sendMessage: n } = bt(), { sessionState: r } = Et(), i = pn(), s = gi(), [a, u] = Ie(""), {
16267
+ const { isSmallScreen: e } = et(), t = sn(null), { sendMessage: n } = bt(), { sessionState: r } = Et(), i = pn(), s = gi(), [a, u] = Ne(""), {
16267
16268
  allFiles: l,
16268
16269
  emptyTheFiles: c,
16269
16270
  handleCancelUpload: d,
@@ -16318,7 +16319,7 @@ function Cb() {
16318
16319
  return /* @__PURE__ */ U(
16319
16320
  "div",
16320
16321
  {
16321
- ...ee("chat/input_box/root"),
16322
+ ...Z("chat/input_box/root"),
16322
16323
  className: "p-2 relative space-y-1",
16323
16324
  ...L(),
16324
16325
  children: [
@@ -16326,7 +16327,7 @@ function Cb() {
16326
16327
  /* @__PURE__ */ U(
16327
16328
  "div",
16328
16329
  {
16329
- ...ee("chat/input_box/inner_root"),
16330
+ ...Z("chat/input_box/inner_root"),
16330
16331
  className: W(
16331
16332
  "transition-all",
16332
16333
  "bg-white",
@@ -16338,13 +16339,13 @@ function Cb() {
16338
16339
  /* @__PURE__ */ U(
16339
16340
  "div",
16340
16341
  {
16341
- ...ee("chat/input_box/textarea_and_attachments_container"),
16342
+ ...Z("chat/input_box/textarea_and_attachments_container"),
16342
16343
  className: "flex flex-col gap-2",
16343
16344
  children: [
16344
16345
  l.length > 0 && /* @__PURE__ */ b(
16345
16346
  "div",
16346
16347
  {
16347
- ...ee("chat/input_box/attachments_container"),
16348
+ ...Z("chat/input_box/attachments_container"),
16348
16349
  className: "flex items-center gap-1",
16349
16350
  children: /* @__PURE__ */ b(Ae, { mode: "popLayout", children: l.map((z) => /* @__PURE__ */ b(ne, { snapExit: !0, children: /* @__PURE__ */ b(
16350
16351
  Ab,
@@ -16358,7 +16359,7 @@ function Cb() {
16358
16359
  /* @__PURE__ */ b(
16359
16360
  "textarea",
16360
16361
  {
16361
- ...ee("chat/input_box/textarea"),
16362
+ ...Z("chat/input_box/textarea"),
16362
16363
  onPaste: I,
16363
16364
  ref: t,
16364
16365
  id: "chat-input",
@@ -16427,7 +16428,7 @@ function Cb() {
16427
16428
  );
16428
16429
  }
16429
16430
  function kb() {
16430
- const { widgetCtx: e } = ot(), { router: t } = Ne(), { canCreateNewSession: n } = Et(), { toSessionsScreen: r } = Je(), i = pn();
16431
+ const { widgetCtx: e } = ot(), { router: t } = Ce(), { canCreateNewSession: n } = Et(), { toSessionsScreen: r } = Je(), i = pn();
16431
16432
  return /* @__PURE__ */ b("div", { className: "p-2", children: /* @__PURE__ */ U("div", { className: "p-2 bg-muted rounded-3xl space-y-2", children: [
16432
16433
  /* @__PURE__ */ U("div", { className: "pl-2 flex items-center gap-1", children: [
16433
16434
  /* @__PURE__ */ b(Qa, { className: "size-4 text-emerald-600" }),
@@ -16445,7 +16446,7 @@ function kb() {
16445
16446
  }
16446
16447
  function Ib() {
16447
16448
  var s;
16448
- const { initialQuestions: e, initialQuestionsPosition: t } = Ne(), { sessionState: n } = Et(), { messagesState: r } = bt(), i = r.messages.length === 0;
16449
+ const { initialQuestions: e, initialQuestionsPosition: t } = Ce(), { sessionState: n } = Et(), { messagesState: r } = bt(), i = r.messages.length === 0;
16449
16450
  return /* @__PURE__ */ b("footer", { children: /* @__PURE__ */ b("div", { children: /* @__PURE__ */ b(Ae, { mode: "wait", children: n.session && !((s = n.session) != null && s.isOpened) ? /* @__PURE__ */ b(
16450
16451
  ne,
16451
16452
  {
@@ -16506,7 +16507,7 @@ function Ei({
16506
16507
  height: t
16507
16508
  }) {
16508
16509
  const { isSmallScreen: n } = et(), { setWidth: r, setHeight: i } = su();
16509
- St(() => {
16510
+ Ot(() => {
16510
16511
  e && r(e), t && i(t);
16511
16512
  }, [n, t, e, r, i]);
16512
16513
  }
@@ -16571,7 +16572,7 @@ function Ti() {
16571
16572
  var i;
16572
16573
  const { data: e } = Un(), {
16573
16574
  routerState: { screen: t }
16574
- } = Je(), { textContent: n } = Ne();
16575
+ } = Je(), { textContent: n } = Ce();
16575
16576
  return (() => {
16576
16577
  var s, a;
16577
16578
  switch (t) {
@@ -16590,9 +16591,9 @@ function Ti() {
16590
16591
  function Nb(e) {
16591
16592
  switch (e) {
16592
16593
  case "chat":
16593
- return ee("chat/header");
16594
+ return Z("chat/header");
16594
16595
  case "sessions":
16595
- return ee("sessions/header");
16596
+ return Z("sessions/header");
16596
16597
  case "welcome":
16597
16598
  return;
16598
16599
  default:
@@ -16601,7 +16602,7 @@ function Nb(e) {
16601
16602
  }
16602
16603
  }
16603
16604
  function Sb() {
16604
- const { router: e } = Ne(), {
16605
+ const { router: e } = Ce(), {
16605
16606
  routerState: { screen: t },
16606
16607
  toSessionsScreen: n
16607
16608
  } = Je();
@@ -16619,7 +16620,7 @@ function Sb() {
16619
16620
  function Ob({
16620
16621
  button: e
16621
16622
  }) {
16622
- const { setIsOpen: t } = Ot(), { isSmallScreen: n } = et();
16623
+ const { setIsOpen: t } = Lt(), { isSmallScreen: n } = et();
16623
16624
  return n && e.hideOnSmallScreen || !n && e.hideOnLargeScreen ? null : /* @__PURE__ */ b(
16624
16625
  he,
16625
16626
  {
@@ -16634,9 +16635,9 @@ function Ob({
16634
16635
  function Br({
16635
16636
  button: e
16636
16637
  }) {
16637
- const [t, n] = Ie(!1), {
16638
+ const [t, n] = Ne(!1), {
16638
16639
  routerState: { screen: r }
16639
- } = Je(), { isSmallScreen: i } = et(), { theme: s } = Bt(), { setWidth: a, setHeight: u } = su();
16640
+ } = Je(), { isSmallScreen: i } = et(), { theme: s } = Ft(), { setWidth: a, setHeight: u } = su();
16640
16641
  if (r !== "chat" && r !== "sessions") return null;
16641
16642
  const l = (() => {
16642
16643
  switch (r) {
@@ -16682,7 +16683,7 @@ function Lb({
16682
16683
  button: e
16683
16684
  }) {
16684
16685
  var c, d, h;
16685
- const [t, n] = Ie(!1), { widgetCtx: r } = ot(), { setIsOpen: i } = Ot(), { resolveSession: s, sessionState: a } = Et(), { isSmallScreen: u } = et(), l = async () => {
16686
+ const [t, n] = Ne(!1), { widgetCtx: r } = ot(), { setIsOpen: i } = Lt(), { resolveSession: s, sessionState: a } = Et(), { isSmallScreen: u } = et(), l = async () => {
16686
16687
  const { success: m, error: f } = await s();
16687
16688
  if (n(!1), !m) return console.error(f);
16688
16689
  e.onResolved === "close-widget" && i(!1), e.onResolved === "reset-chat" && r.resetChat(), e.onResolved === "reset-chat-and-close-widget" && (i(!1), r.resetChat());
@@ -16754,7 +16755,7 @@ const Db = {
16754
16755
  function Rb() {
16755
16756
  const {
16756
16757
  routerState: { screen: e }
16757
- } = Je(), { headerButtons: t } = Ne(), n = e === "chat" ? t == null ? void 0 : t.chatScreen : e === "sessions" ? t == null ? void 0 : t.sessionsScreen : [];
16758
+ } = Je(), { headerButtons: t } = Ce(), n = e === "chat" ? t == null ? void 0 : t.chatScreen : e === "sessions" ? t == null ? void 0 : t.sessionsScreen : [];
16758
16759
  return !n || n.length === 0 ? /* @__PURE__ */ b(Fr, { button: Db }) : /* @__PURE__ */ b(Hr, { children: n.map((r) => /* @__PURE__ */ b(
16759
16760
  Fr,
16760
16761
  {
@@ -16831,13 +16832,13 @@ function qa({
16831
16832
  return /* @__PURE__ */ U(
16832
16833
  "div",
16833
16834
  {
16834
- ...ee("chat/agent_msg_group/root"),
16835
+ ...Z("chat/agent_msg_group/root"),
16835
16836
  className: W("flex items-end gap-2"),
16836
16837
  children: [
16837
16838
  /* @__PURE__ */ b(rn, { content: t == null ? void 0 : t.name, side: "right", align: "end", children: /* @__PURE__ */ b(
16838
16839
  Mr,
16839
16840
  {
16840
- ...ee("chat/agent_msg_group/root/avatar"),
16841
+ ...Z("chat/agent_msg_group/root/avatar"),
16841
16842
  agent: t,
16842
16843
  className: "hidden"
16843
16844
  }
@@ -16846,20 +16847,20 @@ function qa({
16846
16847
  /* @__PURE__ */ U(
16847
16848
  "div",
16848
16849
  {
16849
- ...ee("chat/agent_msg_group/avatar_and_msgs/root"),
16850
+ ...Z("chat/agent_msg_group/avatar_and_msgs/root"),
16850
16851
  className: W("flex items-end gap-2"),
16851
16852
  children: [
16852
16853
  /* @__PURE__ */ b(rn, { content: t == null ? void 0 : t.name, side: "right", align: "end", children: /* @__PURE__ */ b(
16853
16854
  Mr,
16854
16855
  {
16855
- ...ee("chat/agent_msg_group/avatar_and_msgs/avatar"),
16856
+ ...Z("chat/agent_msg_group/avatar_and_msgs/avatar"),
16856
16857
  agent: t
16857
16858
  }
16858
16859
  ) }),
16859
16860
  /* @__PURE__ */ b(
16860
16861
  "div",
16861
16862
  {
16862
- ...ee("chat/agent_msg_group/avatar_and_msgs/msgs"),
16863
+ ...Z("chat/agent_msg_group/avatar_and_msgs/msgs"),
16863
16864
  className: W("flex-1 flex flex-col gap-1"),
16864
16865
  children: e.map((r, i, s) => /* @__PURE__ */ b(
16865
16866
  vb,
@@ -16879,7 +16880,7 @@ function qa({
16879
16880
  n && n.length > 0 && /* @__PURE__ */ b(
16880
16881
  "div",
16881
16882
  {
16882
- ...ee("chat/agent_msg_group/suggestions"),
16883
+ ...Z("chat/agent_msg_group/suggestions"),
16883
16884
  className: W("flex flex-col gap-1 pl-8"),
16884
16885
  children: n == null ? void 0 : n.map((r, i) => /* @__PURE__ */ b(
16885
16886
  bi,
@@ -16905,14 +16906,14 @@ function Pb({
16905
16906
  return /* @__PURE__ */ U(
16906
16907
  "div",
16907
16908
  {
16908
- ...ee("chat/user_msg/root"),
16909
+ ...Z("chat/user_msg/root"),
16909
16910
  className: "w-5/6 flex flex-col items-end gap-1",
16910
16911
  children: [
16911
16912
  e.attachments && e.attachments.length > 0 && /* @__PURE__ */ b("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (i = e.attachments) == null ? void 0 : i.map((s) => /* @__PURE__ */ b(tu, { attachment: s }, s.id)) }),
16912
16913
  e.content.length > 0 && /* @__PURE__ */ b(
16913
16914
  "div",
16914
16915
  {
16915
- ...ee("chat/user_msg/msg"),
16916
+ ...Z("chat/user_msg/msg"),
16916
16917
  "data-first": t,
16917
16918
  "data-last": n,
16918
16919
  "data-alone": r,
@@ -16941,7 +16942,7 @@ function Mb({
16941
16942
  return /* @__PURE__ */ b(
16942
16943
  "div",
16943
16944
  {
16944
- ...ee("chat/user_msg_group/root"),
16945
+ ...Z("chat/user_msg_group/root"),
16945
16946
  className: W("group", "flex flex-col gap-1 justify-end items-end"),
16946
16947
  children: e.map((t, n, r) => /* @__PURE__ */ b(
16947
16948
  Pb,
@@ -16979,7 +16980,7 @@ function Ub(e) {
16979
16980
  function zb() {
16980
16981
  const {
16981
16982
  messagesState: { messages: e }
16982
- } = bt(), { isAwaitingBotReply: t } = ja(), { componentStore: n } = ot(), r = Ne(), { initialQuestions: i, initialQuestionsPosition: s } = r, a = zr(
16983
+ } = bt(), { isAwaitingBotReply: t } = ja(), { componentStore: n } = ot(), r = Ce(), { initialQuestions: i, initialQuestionsPosition: s } = r, a = zr(
16983
16984
  () => Bb(e),
16984
16985
  [e]
16985
16986
  ), u = r.persistentInitialMessages || [], l = !r.initialMessages || r.initialMessages.length === 0 ? ["Hello, how can I help you?"] : r.initialMessages, c = n.getComponent(
@@ -16991,16 +16992,16 @@ function zb() {
16991
16992
  m && (m.scrollTop = m.scrollHeight);
16992
16993
  }, 0);
16993
16994
  }
16994
- return St(() => {
16995
+ return Ot(() => {
16995
16996
  h();
16996
16997
  }, [e]), /* @__PURE__ */ U(
16997
16998
  "div",
16998
16999
  {
16999
- ...ee("chat/msgs/root"),
17000
+ ...Z("chat/msgs/root"),
17000
17001
  ref: d,
17001
17002
  className: "max-h-full scroll-smooth relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
17002
17003
  children: [
17003
- /* @__PURE__ */ b("div", { ...ee("chat/persistent_initial_msgs/root"), children: u.map((m, f, T) => /* @__PURE__ */ b(
17004
+ /* @__PURE__ */ b("div", { ...Z("chat/persistent_initial_msgs/root"), children: u.map((m, f, T) => /* @__PURE__ */ b(
17004
17005
  Fn,
17005
17006
  {
17006
17007
  component: "bot_message",
@@ -17068,7 +17069,7 @@ function lu({ className: e }) {
17068
17069
  return /* @__PURE__ */ b($u, { className: W("size-4 animate-spin", e) });
17069
17070
  }
17070
17071
  function Yb() {
17071
- const { activeMode: e, Component: t } = Va(), { sendMessage: n } = bt(), { createStateCheckpoint: r } = Et(), [i, s] = Ie(!1), a = async (u) => {
17072
+ const { activeMode: e, Component: t } = Va(), { sendMessage: n } = bt(), { createStateCheckpoint: r } = Et(), [i, s] = Ne(!1), a = async (u) => {
17072
17073
  try {
17073
17074
  s(!0), await n(u);
17074
17075
  } catch (l) {
@@ -17080,6 +17081,7 @@ function Yb() {
17080
17081
  return !e || !t ? null : /* @__PURE__ */ b(
17081
17082
  t,
17082
17083
  {
17084
+ react: kt,
17083
17085
  mode: e,
17084
17086
  createStateCheckpoint: r,
17085
17087
  sendMessage: a,
@@ -17100,7 +17102,7 @@ function Wb() {
17100
17102
  messagesState: { isInitialFetchLoading: e }
17101
17103
  } = bt(), {
17102
17104
  sessionState: { session: t }
17103
- } = Et(), { isCanvasOpen: n } = qb(), { theme: r } = Bt();
17105
+ } = Et(), { isCanvasOpen: n } = qb(), { theme: r } = Ft();
17104
17106
  Ei({
17105
17107
  width: n ? r.screens.chat.withCanvas.width : r.screens.chat.width,
17106
17108
  height: n ? r.screens.chat.withCanvas.height : r.screens.chat.height
@@ -17109,7 +17111,7 @@ function Wb() {
17109
17111
  return /* @__PURE__ */ b(
17110
17112
  "div",
17111
17113
  {
17112
- ...ee("chat/root"),
17114
+ ...Z("chat/root"),
17113
17115
  className: W("flex flex-col overflow-hidden"),
17114
17116
  style: {
17115
17117
  width: "100vw",
@@ -17139,9 +17141,10 @@ function Wb() {
17139
17141
  /* @__PURE__ */ U(
17140
17142
  "div",
17141
17143
  {
17144
+ ...Z("chat/main/root"),
17142
17145
  className: W(
17143
17146
  "flex flex-col h-full overflow-auto transition-all",
17144
- n ? "w-1/2" : "w-full"
17147
+ n ? "w-2/5" : "w-full"
17145
17148
  ),
17146
17149
  style: {
17147
17150
  transitionTimingFunction: r.screens.chat.withCanvas.transitionTimingFunction,
@@ -17156,9 +17159,10 @@ function Wb() {
17156
17159
  /* @__PURE__ */ b(
17157
17160
  "div",
17158
17161
  {
17162
+ ...Z("chat/canvas/root"),
17159
17163
  className: W(
17160
17164
  "h-full overflow-auto transition-all",
17161
- n ? "w-1/2" : "w-0"
17165
+ n ? "w-3/5" : "w-0"
17162
17166
  ),
17163
17167
  style: {
17164
17168
  transitionTimingFunction: r.screens.chat.withCanvas.transitionTimingFunction,
@@ -17219,7 +17223,7 @@ function jb({ className: e }) {
17219
17223
  );
17220
17224
  }
17221
17225
  function cu({ className: e }) {
17222
- const { token: t } = Ne();
17226
+ const { token: t } = Ce();
17223
17227
  return /* @__PURE__ */ b(
17224
17228
  "div",
17225
17229
  {
@@ -17253,7 +17257,7 @@ function cu({ className: e }) {
17253
17257
  }
17254
17258
  function Vb() {
17255
17259
  const { contentIframeRef: e } = ot(), t = sn(null);
17256
- return St(() => {
17260
+ return Ot(() => {
17257
17261
  const n = e == null ? void 0 : e.current;
17258
17262
  if (n && t.current) {
17259
17263
  const r = t.current;
@@ -17279,14 +17283,14 @@ const Qb = er.object({
17279
17283
  });
17280
17284
  function Gb() {
17281
17285
  var C, O, L, M, B, I, j, z, Y;
17282
- const { setIsOpen: e } = Ot(), { createUnverifiedContact: t } = yu(), { isSmallScreen: n } = et(), r = Ne(), { theme: i } = Bt(), s = pn(), { data: a } = Un(), { observedElementRef: u } = Vb();
17286
+ const { setIsOpen: e } = Lt(), { createUnverifiedContact: t } = yu(), { isSmallScreen: n } = et(), r = Ce(), { theme: i } = Ft(), s = pn(), { data: a } = Un(), { observedElementRef: u } = Vb();
17283
17287
  Ei({
17284
17288
  height: void 0,
17285
17289
  width: i.screens.welcome.width
17286
17290
  });
17287
- const [l, c] = Ie(((C = r.prefillUserData) == null ? void 0 : C.name) || ""), [d, h] = Ie(((O = r.prefillUserData) == null ? void 0 : O.email) || ""), m = (r.extraDataCollectionFields || []).filter(
17291
+ const [l, c] = Ne(((C = r.prefillUserData) == null ? void 0 : C.name) || ""), [d, h] = Ne(((O = r.prefillUserData) == null ? void 0 : O.email) || ""), m = (r.extraDataCollectionFields || []).filter(
17288
17292
  (A) => A !== "name" && A !== "email" && !!A
17289
- ), [f, T] = Ie({}), [y, N] = ol(
17293
+ ), [f, T] = Ne({}), [y, N] = ol(
17290
17294
  async (A) => {
17291
17295
  A.preventDefault();
17292
17296
  const F = Qb.safeParse({ name: l, email: d });
@@ -17433,7 +17437,7 @@ function Wa({
17433
17437
  session: e,
17434
17438
  className: t
17435
17439
  }) {
17436
- const { bot: n } = Ne(), { toChatScreen: r } = Je(), i = e.assignee.kind === "human" ? e.assignee.name || "Support Agent" : (n == null ? void 0 : n.name) || "AI Support Agent", s = e.assignee.kind === "human" ? e.assignee.avatarUrl || "" : (n == null ? void 0 : n.avatar) || "";
17440
+ const { bot: n } = Ce(), { toChatScreen: r } = Je(), i = e.assignee.kind === "human" ? e.assignee.name || "Support Agent" : (n == null ? void 0 : n.name) || "AI Support Agent", s = e.assignee.kind === "human" ? e.assignee.avatarUrl || "" : (n == null ? void 0 : n.avatar) || "";
17437
17441
  return /* @__PURE__ */ U(
17438
17442
  he,
17439
17443
  {
@@ -17523,7 +17527,7 @@ function Kb() {
17523
17527
  a && /* @__PURE__ */ b("div", { className: "mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background bg-background", children: /* @__PURE__ */ yi(
17524
17528
  he,
17525
17529
  {
17526
- ...ee("sessions/new_conversation_btn"),
17530
+ ...Z("sessions/new_conversation_btn"),
17527
17531
  size: "lg",
17528
17532
  key: "new-session",
17529
17533
  className: "w-full",
@@ -17536,7 +17540,7 @@ function Kb() {
17536
17540
  /* @__PURE__ */ yi(
17537
17541
  he,
17538
17542
  {
17539
- ...ee("sessions/new_conversation_btn"),
17543
+ ...Z("sessions/new_conversation_btn"),
17540
17544
  size: "lg",
17541
17545
  key: "new-session",
17542
17546
  className: "w-full",
@@ -17550,14 +17554,14 @@ function Kb() {
17550
17554
  ) }) });
17551
17555
  }
17552
17556
  function $b() {
17553
- const { theme: e } = Bt();
17557
+ const { theme: e } = Ft();
17554
17558
  return Ei({
17555
17559
  width: e.screens.sessions.width,
17556
17560
  height: e.screens.sessions.height
17557
17561
  }), /* @__PURE__ */ b(
17558
17562
  "div",
17559
17563
  {
17560
- ...ee("sessions/root"),
17564
+ ...Z("sessions/root"),
17561
17565
  className: W("flex flex-col overflow-hidden bg-background"),
17562
17566
  style: {
17563
17567
  width: "100vw",
@@ -17644,7 +17648,7 @@ html, body {
17644
17648
  </body>
17645
17649
  </html>`;
17646
17650
  function Zb() {
17647
- const { isOpen: e } = Ot(), { version: t, contentIframeRef: n } = ot(), { cssOverrides: r } = Ne(), { theme: i, cssVars: s, computed: a } = Bt();
17651
+ const { isOpen: e } = Lt(), { version: t, contentIframeRef: n } = ot(), { cssOverrides: r } = Ce(), { theme: i, cssVars: s, computed: a } = Ft();
17648
17652
  return /* @__PURE__ */ b(
17649
17653
  Hn.Content,
17650
17654
  {
@@ -17661,7 +17665,7 @@ function Zb() {
17661
17665
  avoidCollisions: !1,
17662
17666
  asChild: !0,
17663
17667
  children: /* @__PURE__ */ b(
17664
- jt.div,
17668
+ Vt.div,
17665
17669
  {
17666
17670
  animate: e ? "visible" : "hidden",
17667
17671
  initial: "hidden",
@@ -17802,14 +17806,14 @@ html, body {
17802
17806
  </html>`;
17803
17807
  function nE() {
17804
17808
  var s, a;
17805
- const { isOpen: e } = Ot(), { cssOverrides: t, assets: n } = Ne(), { theme: r, cssVars: i } = Bt();
17809
+ const { isOpen: e } = Lt(), { cssOverrides: t, assets: n } = Ce(), { theme: r, cssVars: i } = Ft();
17806
17810
  return /* @__PURE__ */ U(
17807
17811
  ci,
17808
17812
  {
17809
17813
  initialContent: tE,
17810
17814
  style: {
17811
- height: `calc(${r.widgetTrigger.size.button}px + ${Nt.x * 2}px)`,
17812
- width: `calc(${r.widgetTrigger.size.button}px + ${Nt.y * 2}px)`,
17815
+ height: `calc(${r.widgetTrigger.size.button}px + ${St.x * 2}px)`,
17816
+ width: `calc(${r.widgetTrigger.size.button}px + ${St.y * 2}px)`,
17813
17817
  fontSize: "16px",
17814
17818
  position: "fixed",
17815
17819
  zIndex: r.widgetTrigger.zIndex,
@@ -17845,7 +17849,7 @@ function nE() {
17845
17849
  children: /* @__PURE__ */ b($e, { children: /* @__PURE__ */ b(
17846
17850
  "div",
17847
17851
  {
17848
- ...ee("trigger/btn"),
17852
+ ...Z("trigger/btn"),
17849
17853
  className: W(
17850
17854
  "relative size-full rounded-full",
17851
17855
  "flex items-center justify-center",
@@ -17934,7 +17938,7 @@ function rE() {
17934
17938
  );
17935
17939
  }
17936
17940
  function iE() {
17937
- const { isOpen: e, setIsOpen: t } = Ot();
17941
+ const { isOpen: e, setIsOpen: t } = Lt();
17938
17942
  return /* @__PURE__ */ U(Hn.Root, { open: e, onOpenChange: t, children: [
17939
17943
  /* @__PURE__ */ b(rE, {}),
17940
17944
  /* @__PURE__ */ b(nE, {}),
@@ -17970,17 +17974,15 @@ const aE = [
17970
17974
  function _E({
17971
17975
  options: e,
17972
17976
  components: t = [],
17973
- modesComponents: n = [],
17974
- loadingComponent: r
17977
+ loadingComponent: n
17975
17978
  }) {
17976
17979
  return /* @__PURE__ */ b(
17977
17980
  Au,
17978
17981
  {
17979
17982
  components: [...aE, ...t],
17980
- modesComponents: n,
17981
17983
  options: e,
17982
17984
  storage: sE,
17983
- loadingComponent: r,
17985
+ loadingComponent: n,
17984
17986
  children: /* @__PURE__ */ b(Cu, { children: /* @__PURE__ */ b(iE, {}) })
17985
17987
  }
17986
17988
  );