@opencx/widget 3.0.84 → 3.0.85

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,9 +1,9 @@
1
- import { Fragment as Qa, jsx as T, jsxs as Y } from "react/jsx-runtime";
1
+ import { Fragment as Qa, jsx as E, jsxs as Y } from "react/jsx-runtime";
2
2
  import * as Un from "@radix-ui/react-popover";
3
- import * as Ye from "react";
4
- import nn, { forwardRef as Ur, useState as ze, useImperativeHandle as yu, useRef as un, useCallback as _u, useMemo as zr, useEffect as Nt, memo as Au, cloneElement as Cu, createElement as _i } from "react";
5
- import { l as Ai, m as ku, a as je, u as pt, d as ln, g as cn, i as Iu, c as Xa, h as St, e as zn, j as dn, b as Nu, _ as Su, W as Ou, k as Lu } from "./useWidgetTrigger-38gyi4gE.js";
6
- import * as Be from "@radix-ui/react-dialog";
3
+ import * as je from "react";
4
+ import nn, { forwardRef as Ur, useState as Ye, useImperativeHandle as yu, useRef as un, useCallback as _u, useMemo as zr, useEffect as St, memo as Au, cloneElement as Cu, createElement as _i } from "react";
5
+ import { l as Ai, m as ku, a as ve, u as pt, d as ln, g as cn, i as Iu, c as Xa, h as mt, e as zn, j as dn, b as Nu, _ as Su, W as Ou, k as Lu } from "./useWidgetTrigger-D94qDfz7.js";
6
+ import * as Fe from "@radix-ui/react-dialog";
7
7
  import { X as Ru, PaperclipIcon as Du, ImageIcon as vu, CircleDashed as Pu, ArrowUpIcon as Mu, CircleCheckIcon as Bu, XIcon as Yr, AlertCircle as Fu, Loader2 as Hu, FileAudio2Icon as Uu, FileVideo2Icon as zu, FileIcon as Yu, ChevronLeftIcon as ju, LoaderIcon as Wu, SendHorizontal as qu, UserRoundIcon as Vu, ChevronRightIcon as Gu, ChevronDownIcon as Qu } from "lucide-react";
8
8
  import { clsx as Ka } from "clsx";
9
9
  import { createPortal as xr } from "react-dom";
@@ -368,7 +368,7 @@ function Za(e, t) {
368
368
  return (e.index === 0 || ft(n) || Yn(n)) && // If it’s an email, the previous character should not be a slash.
369
369
  (!t || n !== 47);
370
370
  }
371
- function Me(e) {
371
+ function Be(e) {
372
372
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
373
373
  }
374
374
  es.peek = Pl;
@@ -406,7 +406,7 @@ function Nl() {
406
406
  }
407
407
  function Sl(e) {
408
408
  const t = this.resume(), n = this.stack[this.stack.length - 1];
409
- n.type, n.label = t, n.identifier = Me(
409
+ n.type, n.label = t, n.identifier = Be(
410
410
  this.sliceSerialize(e)
411
411
  ).toLowerCase();
412
412
  }
@@ -421,7 +421,7 @@ function Rl() {
421
421
  }
422
422
  function Dl(e) {
423
423
  const t = this.resume(), n = this.stack[this.stack.length - 1];
424
- n.type, n.label = t, n.identifier = Me(
424
+ n.type, n.label = t, n.identifier = Be(
425
425
  this.sliceSerialize(e)
426
426
  ).toLowerCase();
427
427
  }
@@ -2395,7 +2395,7 @@ function Od(e, t, n) {
2395
2395
  )(f);
2396
2396
  }
2397
2397
  function u(f) {
2398
- return i = Me(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);
2398
+ 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);
2399
2399
  }
2400
2400
  function l(f) {
2401
2401
  return ae(f) ? Xt(e, c)(f) : c(f);
@@ -2847,7 +2847,7 @@ function Jd(e, t, n) {
2847
2847
  }
2848
2848
  return u;
2849
2849
  function u(m) {
2850
- return a ? a._inactive ? h(m) : (s = r.parser.defined.includes(Me(r.sliceSerialize({
2850
+ return a ? a._inactive ? h(m) : (s = r.parser.defined.includes(Be(r.sliceSerialize({
2851
2851
  start: a.end,
2852
2852
  end: r.now()
2853
2853
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(m), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(m);
@@ -2899,7 +2899,7 @@ function eh(e, t, n) {
2899
2899
  return Os.call(r, e, a, s, "reference", "referenceMarker", "referenceString")(u);
2900
2900
  }
2901
2901
  function a(u) {
2902
- return r.parser.defined.includes(Me(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(u) : n(u);
2902
+ return r.parser.defined.includes(Be(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(u) : n(u);
2903
2903
  }
2904
2904
  function s(u) {
2905
2905
  return n(u);
@@ -3154,7 +3154,7 @@ function Th(e, t, n) {
3154
3154
  function u(l) {
3155
3155
  if (!s || !s._balanced)
3156
3156
  return n(l);
3157
- const c = Me(r.sliceSerialize({
3157
+ const c = Be(r.sliceSerialize({
3158
3158
  start: s.end,
3159
3159
  end: r.now()
3160
3160
  }));
@@ -3233,7 +3233,7 @@ function xh(e, t, n) {
3233
3233
  if (h === 93) {
3234
3234
  e.exit("chunkString");
3235
3235
  const m = e.exit("gfmFootnoteCallString");
3236
- return i.includes(Me(r.sliceSerialize(m))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(h), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(h);
3236
+ return i.includes(Be(r.sliceSerialize(m))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(h), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(h);
3237
3237
  }
3238
3238
  return ae(h) || (s = !0), a++, e.consume(h), h === 92 ? d : c;
3239
3239
  }
@@ -3263,7 +3263,7 @@ function yh(e, t, n) {
3263
3263
  if (b === 93) {
3264
3264
  e.exit("chunkString");
3265
3265
  const y = e.exit("gfmFootnoteDefinitionLabelString");
3266
- return a = Me(r.sliceSerialize(y)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(b), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), m;
3266
+ return a = Be(r.sliceSerialize(y)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(b), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), m;
3267
3267
  }
3268
3268
  return ae(b) || (u = !0), s++, e.consume(b), b === 92 ? h : d;
3269
3269
  }
@@ -3543,15 +3543,15 @@ function Rh(e, t) {
3543
3543
  }
3544
3544
  function yn(e, t, n, r, i, a) {
3545
3545
  const s = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", u = "tableContent";
3546
- n[0] !== 0 && (a.end = Object.assign({}, xt(t.events, n[0])), e.add(n[0], 0, [["exit", a, t]]));
3547
- const l = xt(t.events, n[1]);
3546
+ n[0] !== 0 && (a.end = Object.assign({}, yt(t.events, n[0])), e.add(n[0], 0, [["exit", a, t]]));
3547
+ const l = yt(t.events, n[1]);
3548
3548
  if (a = {
3549
3549
  type: s,
3550
3550
  start: Object.assign({}, l),
3551
3551
  // Note: correct end is set later.
3552
3552
  end: Object.assign({}, l)
3553
3553
  }, e.add(n[1], 0, [["enter", a, t]]), n[2] !== 0) {
3554
- const c = xt(t.events, n[2]), d = xt(t.events, n[3]), h = {
3554
+ const c = yt(t.events, n[2]), d = yt(t.events, n[3]), h = {
3555
3555
  type: u,
3556
3556
  start: Object.assign({}, c),
3557
3557
  end: Object.assign({}, d)
@@ -3565,13 +3565,13 @@ function yn(e, t, n, r, i, a) {
3565
3565
  }
3566
3566
  e.add(n[3] + 1, 0, [["exit", h, t]]);
3567
3567
  }
3568
- return i !== void 0 && (a.end = Object.assign({}, xt(t.events, i)), e.add(i, 0, [["exit", a, t]]), a = void 0), a;
3568
+ return i !== void 0 && (a.end = Object.assign({}, yt(t.events, i)), e.add(i, 0, [["exit", a, t]]), a = void 0), a;
3569
3569
  }
3570
3570
  function zi(e, t, n, r, i) {
3571
- const a = [], s = xt(t.events, n);
3571
+ const a = [], s = yt(t.events, n);
3572
3572
  i && (i.end = Object.assign({}, s), a.push(["exit", i, t])), r.end = Object.assign({}, s), a.push(["exit", r, t]), e.add(n + 1, 0, a);
3573
3573
  }
3574
- function xt(e, t) {
3574
+ function yt(e, t) {
3575
3575
  const n = e[t], r = n[0] === "enter" ? "start" : "end";
3576
3576
  return n[1][r];
3577
3577
  }
@@ -3683,7 +3683,7 @@ function vs(e, t) {
3683
3683
  function rn(e) {
3684
3684
  return e.toLowerCase();
3685
3685
  }
3686
- class ve {
3686
+ class Pe {
3687
3687
  /**
3688
3688
  * @constructor
3689
3689
  * @param {string} property
@@ -3693,19 +3693,19 @@ class ve {
3693
3693
  this.property = t, this.attribute = n;
3694
3694
  }
3695
3695
  }
3696
- ve.prototype.space = null;
3697
- ve.prototype.boolean = !1;
3698
- ve.prototype.booleanish = !1;
3699
- ve.prototype.overloadedBoolean = !1;
3700
- ve.prototype.number = !1;
3701
- ve.prototype.commaSeparated = !1;
3702
- ve.prototype.spaceSeparated = !1;
3703
- ve.prototype.commaOrSpaceSeparated = !1;
3704
- ve.prototype.mustUseProperty = !1;
3705
- ve.prototype.defined = !1;
3696
+ Pe.prototype.space = null;
3697
+ Pe.prototype.boolean = !1;
3698
+ Pe.prototype.booleanish = !1;
3699
+ Pe.prototype.overloadedBoolean = !1;
3700
+ Pe.prototype.number = !1;
3701
+ Pe.prototype.commaSeparated = !1;
3702
+ Pe.prototype.spaceSeparated = !1;
3703
+ Pe.prototype.commaOrSpaceSeparated = !1;
3704
+ Pe.prototype.mustUseProperty = !1;
3705
+ Pe.prototype.defined = !1;
3706
3706
  let Wh = 0;
3707
- const G = mt(), fe = mt(), Ps = mt(), v = mt(), se = mt(), _t = mt(), Se = mt();
3708
- function mt() {
3707
+ const G = gt(), fe = gt(), Ps = gt(), v = gt(), se = gt(), At = gt(), Se = gt();
3708
+ function gt() {
3709
3709
  return 2 ** ++Wh;
3710
3710
  }
3711
3711
  const kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3713,12 +3713,12 @@ const kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3713
3713
  boolean: G,
3714
3714
  booleanish: fe,
3715
3715
  commaOrSpaceSeparated: Se,
3716
- commaSeparated: _t,
3716
+ commaSeparated: At,
3717
3717
  number: v,
3718
3718
  overloadedBoolean: Ps,
3719
3719
  spaceSeparated: se
3720
3720
  }, Symbol.toStringTag, { value: "Module" })), ur = Object.keys(kr);
3721
- class Xr extends ve {
3721
+ class Xr extends Pe {
3722
3722
  /**
3723
3723
  * @constructor
3724
3724
  * @param {string} property
@@ -3855,7 +3855,7 @@ const Us = Rt({
3855
3855
  properties: {
3856
3856
  // Standard Properties.
3857
3857
  abbr: null,
3858
- accept: _t,
3858
+ accept: At,
3859
3859
  acceptCharset: se,
3860
3860
  accessKey: se,
3861
3861
  action: null,
@@ -3882,7 +3882,7 @@ const Us = Rt({
3882
3882
  contentEditable: fe,
3883
3883
  controls: G,
3884
3884
  controlsList: se,
3885
- coords: v | _t,
3885
+ coords: v | At,
3886
3886
  crossOrigin: null,
3887
3887
  data: null,
3888
3888
  dateTime: null,
@@ -4464,9 +4464,9 @@ const Us = Rt({
4464
4464
  from: null,
4465
4465
  fx: null,
4466
4466
  fy: null,
4467
- g1: _t,
4468
- g2: _t,
4469
- glyphName: _t,
4467
+ g1: At,
4468
+ g2: At,
4469
+ glyphName: At,
4470
4470
  glyphOrientationHorizontal: null,
4471
4471
  glyphOrientationVertical: null,
4472
4472
  glyphRef: null,
@@ -4765,7 +4765,7 @@ const Us = Rt({
4765
4765
  }), Qh = /^data[-\w.:]+$/i, Vi = /-[a-z]/g, Xh = /[A-Z]/g;
4766
4766
  function Gn(e, t) {
4767
4767
  const n = rn(t);
4768
- let r = t, i = ve;
4768
+ let r = t, i = Pe;
4769
4769
  if (n in e.normal)
4770
4770
  return e.property[e.normal[n]];
4771
4771
  if (n.length > 4 && n.slice(0, 4) === "data" && Qh.test(t)) {
@@ -5763,11 +5763,11 @@ function Q0(e, t, n) {
5763
5763
  function le(Ee) {
5764
5764
  return Ft;
5765
5765
  function Ft(Je) {
5766
- const bt = Je !== null && Ee[Je], Et = Je !== null && Ee.null, xn = [
5766
+ const Et = Je !== null && Ee[Je], Tt = Je !== null && Ee.null, xn = [
5767
5767
  // To do: add more extension tests.
5768
5768
  /* c8 ignore next 2 */
5769
- ...Array.isArray(bt) ? bt : bt ? [bt] : [],
5770
- ...Array.isArray(Et) ? Et : Et ? [Et] : []
5769
+ ...Array.isArray(Et) ? Et : Et ? [Et] : [],
5770
+ ...Array.isArray(Tt) ? Tt : Tt ? [Tt] : []
5771
5771
  ];
5772
5772
  return Oe(xn)(Je);
5773
5773
  }
@@ -6014,7 +6014,7 @@ function hf(e) {
6014
6014
  autolinkProtocol: z,
6015
6015
  autolinkEmail: z,
6016
6016
  atxHeading: a(Ei),
6017
- blockQuote: a(Et),
6017
+ blockQuote: a(Tt),
6018
6018
  characterEscape: z,
6019
6019
  characterReference: z,
6020
6020
  codeFenced: a(xn),
@@ -6056,7 +6056,7 @@ function hf(e) {
6056
6056
  atxHeading: l(),
6057
6057
  atxHeadingSequence: F,
6058
6058
  autolink: l(),
6059
- autolinkEmail: bt,
6059
+ autolinkEmail: Et,
6060
6060
  autolinkProtocol: Je,
6061
6061
  blockQuote: l(),
6062
6062
  characterEscapeValue: C,
@@ -6128,18 +6128,18 @@ function hf(e) {
6128
6128
  if (O[re][0] === "enter")
6129
6129
  J.push(re);
6130
6130
  else {
6131
- const Pe = J.pop();
6132
- re = i(O, Pe, re);
6131
+ const Me = J.pop();
6132
+ re = i(O, Me, re);
6133
6133
  }
6134
6134
  for (re = -1; ++re < O.length; ) {
6135
- const Pe = t[O[re][0]];
6136
- $s.call(Pe, O[re][1].type) && Pe[O[re][1].type].call(Object.assign({
6135
+ const Me = t[O[re][0]];
6136
+ $s.call(Me, O[re][1].type) && Me[O[re][1].type].call(Object.assign({
6137
6137
  sliceSerialize: O[re][2].sliceSerialize
6138
6138
  }, V), O[re][1]);
6139
6139
  }
6140
6140
  if (V.tokenStack.length > 0) {
6141
- const Pe = V.tokenStack[V.tokenStack.length - 1];
6142
- (Pe[1] || ra).call(V, void 0, Pe[0]);
6141
+ const Me = V.tokenStack[V.tokenStack.length - 1];
6142
+ (Me[1] || ra).call(V, void 0, Me[0]);
6143
6143
  }
6144
6144
  for (B.position = {
6145
6145
  start: Ze(O.length > 0 ? O[0][1].start : {
@@ -6157,7 +6157,7 @@ function hf(e) {
6157
6157
  return B;
6158
6158
  }
6159
6159
  function i(O, B, V) {
6160
- let J = B - 1, re = -1, Pe = !1, ut, Ve, Ht, Ut;
6160
+ let J = B - 1, re = -1, Me = !1, ut, Ve, Ht, Ut;
6161
6161
  for (; ++J <= V; ) {
6162
6162
  const Ne = O[J];
6163
6163
  switch (Ne[1].type) {
@@ -6182,29 +6182,29 @@ function hf(e) {
6182
6182
  }
6183
6183
  if (!re && Ne[0] === "enter" && Ne[1].type === "listItemPrefix" || re === -1 && Ne[0] === "exit" && (Ne[1].type === "listUnordered" || Ne[1].type === "listOrdered")) {
6184
6184
  if (ut) {
6185
- let Tt = J;
6186
- for (Ve = void 0; Tt--; ) {
6187
- const Ge = O[Tt];
6185
+ let wt = J;
6186
+ for (Ve = void 0; wt--; ) {
6187
+ const Ge = O[wt];
6188
6188
  if (Ge[1].type === "lineEnding" || Ge[1].type === "lineEndingBlank") {
6189
6189
  if (Ge[0] === "exit") continue;
6190
- Ve && (O[Ve][1].type = "lineEndingBlank", Pe = !0), Ge[1].type = "lineEnding", Ve = Tt;
6190
+ Ve && (O[Ve][1].type = "lineEndingBlank", Me = !0), Ge[1].type = "lineEnding", Ve = wt;
6191
6191
  } else if (!(Ge[1].type === "linePrefix" || Ge[1].type === "blockQuotePrefix" || Ge[1].type === "blockQuotePrefixWhitespace" || Ge[1].type === "blockQuoteMarker" || Ge[1].type === "listItemIndent")) break;
6192
6192
  }
6193
6193
  Ht && (!Ve || Ht < Ve) && (ut._spread = !0), ut.end = Object.assign({}, Ve ? O[Ve][1].start : Ne[1].end), O.splice(Ve || J, 0, ["exit", ut, Ne[2]]), J++, V++;
6194
6194
  }
6195
6195
  if (Ne[1].type === "listItemPrefix") {
6196
- const Tt = {
6196
+ const wt = {
6197
6197
  type: "listItem",
6198
6198
  _spread: !1,
6199
6199
  start: Object.assign({}, Ne[1].start),
6200
6200
  // @ts-expect-error: we’ll add `end` in a second.
6201
6201
  end: void 0
6202
6202
  };
6203
- ut = Tt, O.splice(J, 0, ["enter", Tt, Ne[2]]), J++, V++, Ht = void 0, Ut = !0;
6203
+ ut = wt, O.splice(J, 0, ["enter", wt, Ne[2]]), J++, V++, Ht = void 0, Ut = !0;
6204
6204
  }
6205
6205
  }
6206
6206
  }
6207
- return O[B][1]._spread = Pe, V;
6207
+ return O[B][1]._spread = Me, V;
6208
6208
  }
6209
6209
  function a(O, B) {
6210
6210
  return V;
@@ -6274,7 +6274,7 @@ function hf(e) {
6274
6274
  }
6275
6275
  function S(O) {
6276
6276
  const B = this.resume(), V = this.stack[this.stack.length - 1];
6277
- V.label = B, V.identifier = Me(this.sliceSerialize(O)).toLowerCase();
6277
+ V.label = B, V.identifier = Be(this.sliceSerialize(O)).toLowerCase();
6278
6278
  }
6279
6279
  function L() {
6280
6280
  const O = this.resume(), B = this.stack[this.stack.length - 1];
@@ -6358,7 +6358,7 @@ function hf(e) {
6358
6358
  }
6359
6359
  function pe(O) {
6360
6360
  const B = this.sliceSerialize(O), V = this.stack[this.stack.length - 2];
6361
- V.label = Nc(B), V.identifier = Me(B).toLowerCase();
6361
+ V.label = Nc(B), V.identifier = Be(B).toLowerCase();
6362
6362
  }
6363
6363
  function me() {
6364
6364
  const O = this.stack[this.stack.length - 1], B = this.resume(), V = this.stack[this.stack.length - 1];
@@ -6384,7 +6384,7 @@ function hf(e) {
6384
6384
  }
6385
6385
  function Ie(O) {
6386
6386
  const B = this.resume(), V = this.stack[this.stack.length - 1];
6387
- V.label = B, V.identifier = Me(this.sliceSerialize(O)).toLowerCase(), this.data.referenceType = "full";
6387
+ V.label = B, V.identifier = Be(this.sliceSerialize(O)).toLowerCase(), this.data.referenceType = "full";
6388
6388
  }
6389
6389
  function ot(O) {
6390
6390
  this.data.characterReferenceType = O.type;
@@ -6405,12 +6405,12 @@ function hf(e) {
6405
6405
  const B = this.stack[this.stack.length - 1];
6406
6406
  B.url = this.sliceSerialize(O);
6407
6407
  }
6408
- function bt(O) {
6408
+ function Et(O) {
6409
6409
  C.call(this, O);
6410
6410
  const B = this.stack[this.stack.length - 1];
6411
6411
  B.url = "mailto:" + this.sliceSerialize(O);
6412
6412
  }
6413
- function Et() {
6413
+ function Tt() {
6414
6414
  return {
6415
6415
  type: "blockquote",
6416
6416
  children: []
@@ -6986,24 +6986,24 @@ const to = -1, Xn = 0, vn = 1, Pn = 2, Zr = 3, ei = 4, ti = 5, ni = 6, no = 7, r
6986
6986
  return n(new oa[a](s), i);
6987
6987
  };
6988
6988
  return r;
6989
- }, ua = (e) => zf(/* @__PURE__ */ new Map(), e)(0), wt = "", { toString: Yf } = {}, { keys: jf } = Object, Yt = (e) => {
6989
+ }, ua = (e) => zf(/* @__PURE__ */ new Map(), e)(0), xt = "", { toString: Yf } = {}, { keys: jf } = Object, Yt = (e) => {
6990
6990
  const t = typeof e;
6991
6991
  if (t !== "object" || !e)
6992
6992
  return [Xn, t];
6993
6993
  const n = Yf.call(e).slice(8, -1);
6994
6994
  switch (n) {
6995
6995
  case "Array":
6996
- return [vn, wt];
6996
+ return [vn, xt];
6997
6997
  case "Object":
6998
- return [Pn, wt];
6998
+ return [Pn, xt];
6999
6999
  case "Date":
7000
- return [Zr, wt];
7000
+ return [Zr, xt];
7001
7001
  case "RegExp":
7002
- return [ei, wt];
7002
+ return [ei, xt];
7003
7003
  case "Map":
7004
- return [ti, wt];
7004
+ return [ti, xt];
7005
7005
  case "Set":
7006
- return [ni, wt];
7006
+ return [ni, xt];
7007
7007
  }
7008
7008
  return n.includes("Array") ? [vn, n] : n.includes("Error") ? [no, n] : [Pn, n];
7009
7009
  }, An = ([e, t]) => e === Xn && (t === "function" || t === "symbol"), Wf = (e, t, n, r) => {
@@ -7083,7 +7083,7 @@ const to = -1, Xn = 0, vn = 1, Pn = 2, Zr = 3, ei = 4, ti = 5, ni = 6, no = 7, r
7083
7083
  }, la = (e, { json: t, lossy: n } = {}) => {
7084
7084
  const r = [];
7085
7085
  return Wf(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
7086
- }, Ct = typeof structuredClone == "function" ? (
7086
+ }, kt = typeof structuredClone == "function" ? (
7087
7087
  /* c8 ignore start */
7088
7088
  (e, t) => t && ("json" in t || "lossy" in t) ? ua(la(e, t)) : structuredClone(e)
7089
7089
  ) : (e, t) => ua(la(e, t));
@@ -7152,7 +7152,7 @@ function Gf(e) {
7152
7152
  type: "element",
7153
7153
  tagName: a,
7154
7154
  properties: {
7155
- ...Ct(s),
7155
+ ...kt(s),
7156
7156
  id: "footnote-label"
7157
7157
  },
7158
7158
  children: [{ type: "text", value: i }]
@@ -7197,10 +7197,10 @@ function Xf(e, t) {
7197
7197
  return f(u, d, h);
7198
7198
  if (u.options.passThrough && u.options.passThrough.includes(m)) {
7199
7199
  if ("children" in d) {
7200
- const { children: y, ...k } = d, _ = Ct(k);
7200
+ const { children: y, ...k } = d, _ = kt(k);
7201
7201
  return _.children = u.all(d), _;
7202
7202
  }
7203
- return Ct(d);
7203
+ return kt(d);
7204
7204
  }
7205
7205
  return (u.options.unknownHandler || Jf)(u, d, h);
7206
7206
  }
@@ -7237,7 +7237,7 @@ function $f(e, t) {
7237
7237
  const s = "children" in n ? n.children : [n];
7238
7238
  n = { type: "element", tagName: r, properties: {}, children: s };
7239
7239
  }
7240
- n.type === "element" && a && Object.assign(n.properties, Ct(a)), "children" in n && n.children && i !== null && i !== void 0 && (n.children = i);
7240
+ n.type === "element" && a && Object.assign(n.properties, kt(a)), "children" in n && n.children && i !== null && i !== void 0 && (n.children = i);
7241
7241
  }
7242
7242
  return n;
7243
7243
  }
@@ -7386,7 +7386,7 @@ function rp(e, t) {
7386
7386
  i(null, s);
7387
7387
  }
7388
7388
  }
7389
- const He = { basename: ip, dirname: ap, extname: sp, join: op, sep: "/" };
7389
+ const Ue = { basename: ip, dirname: ap, extname: sp, join: op, sep: "/" };
7390
7390
  function ip(e, t) {
7391
7391
  if (t !== void 0 && typeof t != "string")
7392
7392
  throw new TypeError('"ext" argument must be a string');
@@ -7592,7 +7592,7 @@ class ao {
7592
7592
  * Basename.
7593
7593
  */
7594
7594
  get basename() {
7595
- return typeof this.path == "string" ? He.basename(this.path) : void 0;
7595
+ return typeof this.path == "string" ? Ue.basename(this.path) : void 0;
7596
7596
  }
7597
7597
  /**
7598
7598
  * Set basename (including extname) (`'index.min.js'`).
@@ -7607,7 +7607,7 @@ class ao {
7607
7607
  * Nothing.
7608
7608
  */
7609
7609
  set basename(t) {
7610
- fr(t, "basename"), hr(t, "basename"), this.path = He.join(this.dirname || "", t);
7610
+ fr(t, "basename"), hr(t, "basename"), this.path = Ue.join(this.dirname || "", t);
7611
7611
  }
7612
7612
  /**
7613
7613
  * Get the parent path (example: `'~'`).
@@ -7616,7 +7616,7 @@ class ao {
7616
7616
  * Dirname.
7617
7617
  */
7618
7618
  get dirname() {
7619
- return typeof this.path == "string" ? He.dirname(this.path) : void 0;
7619
+ return typeof this.path == "string" ? Ue.dirname(this.path) : void 0;
7620
7620
  }
7621
7621
  /**
7622
7622
  * Set the parent path (example: `'~'`).
@@ -7629,7 +7629,7 @@ class ao {
7629
7629
  * Nothing.
7630
7630
  */
7631
7631
  set dirname(t) {
7632
- Ta(this.basename, "dirname"), this.path = He.join(t || "", this.basename);
7632
+ Ta(this.basename, "dirname"), this.path = Ue.join(t || "", this.basename);
7633
7633
  }
7634
7634
  /**
7635
7635
  * Get the extname (including dot) (example: `'.js'`).
@@ -7638,7 +7638,7 @@ class ao {
7638
7638
  * Extname.
7639
7639
  */
7640
7640
  get extname() {
7641
- return typeof this.path == "string" ? He.extname(this.path) : void 0;
7641
+ return typeof this.path == "string" ? Ue.extname(this.path) : void 0;
7642
7642
  }
7643
7643
  /**
7644
7644
  * Set the extname (including dot) (example: `'.js'`).
@@ -7659,7 +7659,7 @@ class ao {
7659
7659
  if (t.includes(".", 1))
7660
7660
  throw new Error("`extname` cannot contain multiple dots");
7661
7661
  }
7662
- this.path = He.join(this.dirname, this.stem + (t || ""));
7662
+ this.path = Ue.join(this.dirname, this.stem + (t || ""));
7663
7663
  }
7664
7664
  /**
7665
7665
  * Get the full path (example: `'~/index.min.js'`).
@@ -7692,7 +7692,7 @@ class ao {
7692
7692
  * Stem.
7693
7693
  */
7694
7694
  get stem() {
7695
- return typeof this.path == "string" ? He.basename(this.path, this.extname) : void 0;
7695
+ return typeof this.path == "string" ? Ue.basename(this.path, this.extname) : void 0;
7696
7696
  }
7697
7697
  /**
7698
7698
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -7707,7 +7707,7 @@ class ao {
7707
7707
  * Nothing.
7708
7708
  */
7709
7709
  set stem(t) {
7710
- fr(t, "stem"), hr(t, "stem"), this.path = He.join(this.dirname || "", t + (this.extname || ""));
7710
+ fr(t, "stem"), hr(t, "stem"), this.path = Ue.join(this.dirname || "", t + (this.extname || ""));
7711
7711
  }
7712
7712
  // Normal prototypal methods.
7713
7713
  /**
@@ -7921,9 +7921,9 @@ class ao {
7921
7921
  }
7922
7922
  }
7923
7923
  function hr(e, t) {
7924
- if (e && e.includes(He.sep))
7924
+ if (e && e.includes(Ue.sep))
7925
7925
  throw new Error(
7926
- "`" + t + "` cannot be a path: did not expect `" + He.sep + "`"
7926
+ "`" + t + "` cannot be a path: did not expect `" + Ue.sep + "`"
7927
7927
  );
7928
7928
  }
7929
7929
  function fr(e, t) {
@@ -8530,7 +8530,7 @@ function Ap(e) {
8530
8530
  Fragment: Qa,
8531
8531
  components: a,
8532
8532
  ignoreInvalidStyle: !0,
8533
- jsx: T,
8533
+ jsx: E,
8534
8534
  jsxs: Y,
8535
8535
  passKeys: !0,
8536
8536
  passNode: !0
@@ -8868,7 +8868,7 @@ function Bp(e, t) {
8868
8868
  const u = (
8869
8869
  /** @type {DefaultTreeAdapterMap['template']} */
8870
8870
  t
8871
- ), l = u.sourceCodeLocation, c = l && l.startTag && yt(l.startTag), d = l && l.endTag && yt(l.endTag), h = (
8871
+ ), l = u.sourceCodeLocation, c = l && l.startTag && _t(l.startTag), d = l && l.endTag && _t(l.endTag), h = (
8872
8872
  /** @type {Root} */
8873
8873
  ii(e, u.content)
8874
8874
  );
@@ -8883,7 +8883,7 @@ function Sn(e, t, n) {
8883
8883
  }
8884
8884
  }
8885
8885
  function Fp(e, t, n) {
8886
- const r = yt(n);
8886
+ const r = _t(n);
8887
8887
  if (t.type === "element") {
8888
8888
  const i = t.children[t.children.length - 1];
8889
8889
  if (r && !n.endTag && i && i.position && i.position.end && (r.end = Object.assign({}, i.position.end)), e.verbose) {
@@ -8891,17 +8891,17 @@ function Fp(e, t, n) {
8891
8891
  let s;
8892
8892
  if (n.attrs)
8893
8893
  for (s in n.attrs)
8894
- uo.call(n.attrs, s) && (a[Gn(e.schema, s).property] = yt(
8894
+ uo.call(n.attrs, s) && (a[Gn(e.schema, s).property] = _t(
8895
8895
  n.attrs[s]
8896
8896
  ));
8897
8897
  n.startTag;
8898
- const u = yt(n.startTag), l = n.endTag ? yt(n.endTag) : void 0, c = { opening: u };
8898
+ const u = _t(n.startTag), l = n.endTag ? _t(n.endTag) : void 0, c = { opening: u };
8899
8899
  l && (c.closing = l), c.properties = a, t.data = { position: c };
8900
8900
  }
8901
8901
  }
8902
8902
  return r;
8903
8903
  }
8904
- function yt(e) {
8904
+ function _t(e) {
8905
8905
  const t = Ia({
8906
8906
  line: e.startLine,
8907
8907
  column: e.startCol,
@@ -11920,11 +11920,11 @@ class ym {
11920
11920
  }
11921
11921
  }
11922
11922
  const Er = 3;
11923
- var Ue;
11923
+ var ze;
11924
11924
  (function(e) {
11925
11925
  e[e.Marker = 0] = "Marker", e[e.Element = 1] = "Element";
11926
- })(Ue || (Ue = {}));
11927
- const Da = { type: Ue.Marker };
11926
+ })(ze || (ze = {}));
11927
+ const Da = { type: ze.Marker };
11928
11928
  class _m {
11929
11929
  constructor(t) {
11930
11930
  this.treeAdapter = t, this.entries = [], this.bookmark = null;
@@ -11936,7 +11936,7 @@ class _m {
11936
11936
  const r = [], i = n.length, a = this.treeAdapter.getTagName(t), s = this.treeAdapter.getNamespaceURI(t);
11937
11937
  for (let u = 0; u < this.entries.length; u++) {
11938
11938
  const l = this.entries[u];
11939
- if (l.type === Ue.Marker)
11939
+ if (l.type === ze.Marker)
11940
11940
  break;
11941
11941
  const { element: c } = l;
11942
11942
  if (this.treeAdapter.getTagName(c) === a && this.treeAdapter.getNamespaceURI(c) === s) {
@@ -11965,7 +11965,7 @@ class _m {
11965
11965
  }
11966
11966
  pushElement(t, n) {
11967
11967
  this._ensureNoahArkCondition(t), this.entries.unshift({
11968
- type: Ue.Element,
11968
+ type: ze.Element,
11969
11969
  element: t,
11970
11970
  token: n
11971
11971
  });
@@ -11973,7 +11973,7 @@ class _m {
11973
11973
  insertElementAfterBookmark(t, n) {
11974
11974
  const r = this.entries.indexOf(this.bookmark);
11975
11975
  this.entries.splice(r, 0, {
11976
- type: Ue.Element,
11976
+ type: ze.Element,
11977
11977
  element: t,
11978
11978
  token: n
11979
11979
  });
@@ -11993,11 +11993,11 @@ class _m {
11993
11993
  }
11994
11994
  //Search
11995
11995
  getElementEntryInScopeWithTagName(t) {
11996
- const n = this.entries.find((r) => r.type === Ue.Marker || this.treeAdapter.getTagName(r.element) === t);
11997
- return n && n.type === Ue.Element ? n : null;
11996
+ const n = this.entries.find((r) => r.type === ze.Marker || this.treeAdapter.getTagName(r.element) === t);
11997
+ return n && n.type === ze.Element ? n : null;
11998
11998
  }
11999
11999
  getElementEntry(t) {
12000
- return this.entries.find((n) => n.type === Ue.Element && n.element === t);
12000
+ return this.entries.find((n) => n.type === ze.Element && n.element === t);
12001
12001
  }
12002
12002
  }
12003
12003
  const rt = {
@@ -12451,10 +12451,10 @@ function zm(e, t, n, r) {
12451
12451
  return (!r || r === R.HTML) && Um(e, t, n) || (!r || r === R.MATHML) && Hm(e, t);
12452
12452
  }
12453
12453
  const Ym = "hidden", jm = 8, Wm = 3;
12454
- var E;
12454
+ var T;
12455
12455
  (function(e) {
12456
12456
  e[e.INITIAL = 0] = "INITIAL", e[e.BEFORE_HTML = 1] = "BEFORE_HTML", e[e.BEFORE_HEAD = 2] = "BEFORE_HEAD", e[e.IN_HEAD = 3] = "IN_HEAD", e[e.IN_HEAD_NO_SCRIPT = 4] = "IN_HEAD_NO_SCRIPT", e[e.AFTER_HEAD = 5] = "AFTER_HEAD", e[e.IN_BODY = 6] = "IN_BODY", e[e.TEXT = 7] = "TEXT", e[e.IN_TABLE = 8] = "IN_TABLE", e[e.IN_TABLE_TEXT = 9] = "IN_TABLE_TEXT", e[e.IN_CAPTION = 10] = "IN_CAPTION", e[e.IN_COLUMN_GROUP = 11] = "IN_COLUMN_GROUP", e[e.IN_TABLE_BODY = 12] = "IN_TABLE_BODY", e[e.IN_ROW = 13] = "IN_ROW", e[e.IN_CELL = 14] = "IN_CELL", e[e.IN_SELECT = 15] = "IN_SELECT", e[e.IN_SELECT_IN_TABLE = 16] = "IN_SELECT_IN_TABLE", e[e.IN_TEMPLATE = 17] = "IN_TEMPLATE", e[e.AFTER_BODY = 18] = "AFTER_BODY", e[e.IN_FRAMESET = 19] = "IN_FRAMESET", e[e.AFTER_FRAMESET = 20] = "AFTER_FRAMESET", e[e.AFTER_AFTER_BODY = 21] = "AFTER_AFTER_BODY", e[e.AFTER_AFTER_FRAMESET = 22] = "AFTER_AFTER_FRAMESET";
12457
- })(E || (E = {}));
12457
+ })(T || (T = {}));
12458
12458
  const qm = {
12459
12459
  startLine: -1,
12460
12460
  startCol: -1,
@@ -12470,7 +12470,7 @@ const qm = {
12470
12470
  };
12471
12471
  class Ba {
12472
12472
  constructor(t, n, r = null, i = null) {
12473
- 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 = {
12473
+ this.fragmentContext = r, this.scriptHandler = i, this.currentToken = null, this.stopped = !1, this.insertionMode = T.INITIAL, this.originalInsertionMode = T.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 = {
12474
12474
  ...Ma,
12475
12475
  ...t
12476
12476
  }, 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 mm(this.options, this), this.activeFormattingElements = new _m(this.treeAdapter), this.fragmentContextID = r ? vt(this.treeAdapter.getTagName(r)) : o.UNKNOWN, this._setContextModes(r ?? this.document, this.fragmentContextID), this.openElements = new ym(this.document, this.treeAdapter, this);
@@ -12487,7 +12487,7 @@ class Ba {
12487
12487
  };
12488
12488
  t ?? (t = r.treeAdapter.createElement(A.TEMPLATE, R.HTML, []));
12489
12489
  const i = r.treeAdapter.createElement("documentmock", R.HTML, []), a = new this(r, i, t);
12490
- return a.fragmentContextID === o.TEMPLATE && a.tmplInsertionModeStack.unshift(E.IN_TEMPLATE), a._initTokenizerForFragmentParsing(), a._insertFakeRootElement(), a._resetInsertionMode(), a._findFormInFragmentContext(), a;
12490
+ return a.fragmentContextID === o.TEMPLATE && a.tmplInsertionModeStack.unshift(T.IN_TEMPLATE), a._initTokenizerForFragmentParsing(), a._insertFakeRootElement(), a._resetInsertionMode(), a._findFormInFragmentContext(), a;
12491
12491
  }
12492
12492
  getFragment() {
12493
12493
  const t = this.treeAdapter.getFirstChild(this.document), n = this.treeAdapter.createDocumentFragment();
@@ -12530,10 +12530,10 @@ class Ba {
12530
12530
  }
12531
12531
  /** @protected */
12532
12532
  _switchToTextParsing(t, n) {
12533
- this._insertElement(t, R.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode = E.TEXT;
12533
+ this._insertElement(t, R.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode = T.TEXT;
12534
12534
  }
12535
12535
  switchToPlaintextParsing() {
12536
- this.insertionMode = E.TEXT, this.originalInsertionMode = E.IN_BODY, this.tokenizer.state = he.PLAINTEXT;
12536
+ this.insertionMode = T.TEXT, this.originalInsertionMode = T.IN_BODY, this.tokenizer.state = he.PLAINTEXT;
12537
12537
  }
12538
12538
  //Fragment parsing
12539
12539
  /** @protected */
@@ -12733,7 +12733,7 @@ class Ba {
12733
12733
  _reconstructActiveFormattingElements() {
12734
12734
  const t = this.activeFormattingElements.entries.length;
12735
12735
  if (t) {
12736
- const n = this.activeFormattingElements.entries.findIndex((i) => i.type === Ue.Marker || this.openElements.contains(i.element)), r = n < 0 ? t - 1 : n - 1;
12736
+ const n = this.activeFormattingElements.entries.findIndex((i) => i.type === ze.Marker || this.openElements.contains(i.element)), r = n < 0 ? t - 1 : n - 1;
12737
12737
  for (let i = r; i >= 0; i--) {
12738
12738
  const a = this.activeFormattingElements.entries[i];
12739
12739
  this._insertElement(a.token, this.treeAdapter.getNamespaceURI(a.element)), a.element = this.openElements.current;
@@ -12743,7 +12743,7 @@ class Ba {
12743
12743
  //Close elements
12744
12744
  /** @protected */
12745
12745
  _closeTableCell() {
12746
- this.openElements.generateImpliedEndTags(), this.openElements.popUntilTableCellPopped(), this.activeFormattingElements.clearToLastMarker(), this.insertionMode = E.IN_ROW;
12746
+ this.openElements.generateImpliedEndTags(), this.openElements.popUntilTableCellPopped(), this.activeFormattingElements.clearToLastMarker(), this.insertionMode = T.IN_ROW;
12747
12747
  }
12748
12748
  /** @protected */
12749
12749
  _closePElement() {
@@ -12755,33 +12755,33 @@ class Ba {
12755
12755
  for (let t = this.openElements.stackTop; t >= 0; t--)
12756
12756
  switch (t === 0 && this.fragmentContext ? this.fragmentContextID : this.openElements.tagIDs[t]) {
12757
12757
  case o.TR: {
12758
- this.insertionMode = E.IN_ROW;
12758
+ this.insertionMode = T.IN_ROW;
12759
12759
  return;
12760
12760
  }
12761
12761
  case o.TBODY:
12762
12762
  case o.THEAD:
12763
12763
  case o.TFOOT: {
12764
- this.insertionMode = E.IN_TABLE_BODY;
12764
+ this.insertionMode = T.IN_TABLE_BODY;
12765
12765
  return;
12766
12766
  }
12767
12767
  case o.CAPTION: {
12768
- this.insertionMode = E.IN_CAPTION;
12768
+ this.insertionMode = T.IN_CAPTION;
12769
12769
  return;
12770
12770
  }
12771
12771
  case o.COLGROUP: {
12772
- this.insertionMode = E.IN_COLUMN_GROUP;
12772
+ this.insertionMode = T.IN_COLUMN_GROUP;
12773
12773
  return;
12774
12774
  }
12775
12775
  case o.TABLE: {
12776
- this.insertionMode = E.IN_TABLE;
12776
+ this.insertionMode = T.IN_TABLE;
12777
12777
  return;
12778
12778
  }
12779
12779
  case o.BODY: {
12780
- this.insertionMode = E.IN_BODY;
12780
+ this.insertionMode = T.IN_BODY;
12781
12781
  return;
12782
12782
  }
12783
12783
  case o.FRAMESET: {
12784
- this.insertionMode = E.IN_FRAMESET;
12784
+ this.insertionMode = T.IN_FRAMESET;
12785
12785
  return;
12786
12786
  }
12787
12787
  case o.SELECT: {
@@ -12793,26 +12793,26 @@ class Ba {
12793
12793
  return;
12794
12794
  }
12795
12795
  case o.HTML: {
12796
- this.insertionMode = this.headElement ? E.AFTER_HEAD : E.BEFORE_HEAD;
12796
+ this.insertionMode = this.headElement ? T.AFTER_HEAD : T.BEFORE_HEAD;
12797
12797
  return;
12798
12798
  }
12799
12799
  case o.TD:
12800
12800
  case o.TH: {
12801
12801
  if (t > 0) {
12802
- this.insertionMode = E.IN_CELL;
12802
+ this.insertionMode = T.IN_CELL;
12803
12803
  return;
12804
12804
  }
12805
12805
  break;
12806
12806
  }
12807
12807
  case o.HEAD: {
12808
12808
  if (t > 0) {
12809
- this.insertionMode = E.IN_HEAD;
12809
+ this.insertionMode = T.IN_HEAD;
12810
12810
  return;
12811
12811
  }
12812
12812
  break;
12813
12813
  }
12814
12814
  }
12815
- this.insertionMode = E.IN_BODY;
12815
+ this.insertionMode = T.IN_BODY;
12816
12816
  }
12817
12817
  /** @protected */
12818
12818
  _resetInsertionModeForSelect(t) {
@@ -12822,11 +12822,11 @@ class Ba {
12822
12822
  if (r === o.TEMPLATE)
12823
12823
  break;
12824
12824
  if (r === o.TABLE) {
12825
- this.insertionMode = E.IN_SELECT_IN_TABLE;
12825
+ this.insertionMode = T.IN_SELECT_IN_TABLE;
12826
12826
  return;
12827
12827
  }
12828
12828
  }
12829
- this.insertionMode = E.IN_SELECT;
12829
+ this.insertionMode = T.IN_SELECT;
12830
12830
  }
12831
12831
  //Foster parenting
12832
12832
  /** @protected */
@@ -12873,62 +12873,62 @@ class Ba {
12873
12873
  return;
12874
12874
  }
12875
12875
  switch (this.insertionMode) {
12876
- case E.INITIAL: {
12876
+ case T.INITIAL: {
12877
12877
  jt(this, t);
12878
12878
  break;
12879
12879
  }
12880
- case E.BEFORE_HTML: {
12880
+ case T.BEFORE_HTML: {
12881
12881
  $t(this, t);
12882
12882
  break;
12883
12883
  }
12884
- case E.BEFORE_HEAD: {
12884
+ case T.BEFORE_HEAD: {
12885
12885
  Jt(this, t);
12886
12886
  break;
12887
12887
  }
12888
- case E.IN_HEAD: {
12888
+ case T.IN_HEAD: {
12889
12889
  Zt(this, t);
12890
12890
  break;
12891
12891
  }
12892
- case E.IN_HEAD_NO_SCRIPT: {
12892
+ case T.IN_HEAD_NO_SCRIPT: {
12893
12893
  en(this, t);
12894
12894
  break;
12895
12895
  }
12896
- case E.AFTER_HEAD: {
12896
+ case T.AFTER_HEAD: {
12897
12897
  tn(this, t);
12898
12898
  break;
12899
12899
  }
12900
- case E.IN_BODY:
12901
- case E.IN_CAPTION:
12902
- case E.IN_CELL:
12903
- case E.IN_TEMPLATE: {
12900
+ case T.IN_BODY:
12901
+ case T.IN_CAPTION:
12902
+ case T.IN_CELL:
12903
+ case T.IN_TEMPLATE: {
12904
12904
  No(this, t);
12905
12905
  break;
12906
12906
  }
12907
- case E.TEXT:
12908
- case E.IN_SELECT:
12909
- case E.IN_SELECT_IN_TABLE: {
12907
+ case T.TEXT:
12908
+ case T.IN_SELECT:
12909
+ case T.IN_SELECT_IN_TABLE: {
12910
12910
  this._insertCharacters(t);
12911
12911
  break;
12912
12912
  }
12913
- case E.IN_TABLE:
12914
- case E.IN_TABLE_BODY:
12915
- case E.IN_ROW: {
12913
+ case T.IN_TABLE:
12914
+ case T.IN_TABLE_BODY:
12915
+ case T.IN_ROW: {
12916
12916
  Tr(this, t);
12917
12917
  break;
12918
12918
  }
12919
- case E.IN_TABLE_TEXT: {
12919
+ case T.IN_TABLE_TEXT: {
12920
12920
  vo(this, t);
12921
12921
  break;
12922
12922
  }
12923
- case E.IN_COLUMN_GROUP: {
12923
+ case T.IN_COLUMN_GROUP: {
12924
12924
  Bn(this, t);
12925
12925
  break;
12926
12926
  }
12927
- case E.AFTER_BODY: {
12927
+ case T.AFTER_BODY: {
12928
12928
  Fn(this, t);
12929
12929
  break;
12930
12930
  }
12931
- case E.AFTER_AFTER_BODY: {
12931
+ case T.AFTER_AFTER_BODY: {
12932
12932
  On(this, t);
12933
12933
  break;
12934
12934
  }
@@ -12941,49 +12941,49 @@ class Ba {
12941
12941
  return;
12942
12942
  }
12943
12943
  switch (this.insertionMode) {
12944
- case E.INITIAL: {
12944
+ case T.INITIAL: {
12945
12945
  jt(this, t);
12946
12946
  break;
12947
12947
  }
12948
- case E.BEFORE_HTML: {
12948
+ case T.BEFORE_HTML: {
12949
12949
  $t(this, t);
12950
12950
  break;
12951
12951
  }
12952
- case E.BEFORE_HEAD: {
12952
+ case T.BEFORE_HEAD: {
12953
12953
  Jt(this, t);
12954
12954
  break;
12955
12955
  }
12956
- case E.IN_HEAD: {
12956
+ case T.IN_HEAD: {
12957
12957
  Zt(this, t);
12958
12958
  break;
12959
12959
  }
12960
- case E.IN_HEAD_NO_SCRIPT: {
12960
+ case T.IN_HEAD_NO_SCRIPT: {
12961
12961
  en(this, t);
12962
12962
  break;
12963
12963
  }
12964
- case E.AFTER_HEAD: {
12964
+ case T.AFTER_HEAD: {
12965
12965
  tn(this, t);
12966
12966
  break;
12967
12967
  }
12968
- case E.TEXT: {
12968
+ case T.TEXT: {
12969
12969
  this._insertCharacters(t);
12970
12970
  break;
12971
12971
  }
12972
- case E.IN_TABLE:
12973
- case E.IN_TABLE_BODY:
12974
- case E.IN_ROW: {
12972
+ case T.IN_TABLE:
12973
+ case T.IN_TABLE_BODY:
12974
+ case T.IN_ROW: {
12975
12975
  Tr(this, t);
12976
12976
  break;
12977
12977
  }
12978
- case E.IN_COLUMN_GROUP: {
12978
+ case T.IN_COLUMN_GROUP: {
12979
12979
  Bn(this, t);
12980
12980
  break;
12981
12981
  }
12982
- case E.AFTER_BODY: {
12982
+ case T.AFTER_BODY: {
12983
12983
  Fn(this, t);
12984
12984
  break;
12985
12985
  }
12986
- case E.AFTER_AFTER_BODY: {
12986
+ case T.AFTER_AFTER_BODY: {
12987
12987
  On(this, t);
12988
12988
  break;
12989
12989
  }
@@ -12996,37 +12996,37 @@ class Ba {
12996
12996
  return;
12997
12997
  }
12998
12998
  switch (this.insertionMode) {
12999
- case E.INITIAL:
13000
- case E.BEFORE_HTML:
13001
- case E.BEFORE_HEAD:
13002
- case E.IN_HEAD:
13003
- case E.IN_HEAD_NO_SCRIPT:
13004
- case E.AFTER_HEAD:
13005
- case E.IN_BODY:
13006
- case E.IN_TABLE:
13007
- case E.IN_CAPTION:
13008
- case E.IN_COLUMN_GROUP:
13009
- case E.IN_TABLE_BODY:
13010
- case E.IN_ROW:
13011
- case E.IN_CELL:
13012
- case E.IN_SELECT:
13013
- case E.IN_SELECT_IN_TABLE:
13014
- case E.IN_TEMPLATE:
13015
- case E.IN_FRAMESET:
13016
- case E.AFTER_FRAMESET: {
12999
+ case T.INITIAL:
13000
+ case T.BEFORE_HTML:
13001
+ case T.BEFORE_HEAD:
13002
+ case T.IN_HEAD:
13003
+ case T.IN_HEAD_NO_SCRIPT:
13004
+ case T.AFTER_HEAD:
13005
+ case T.IN_BODY:
13006
+ case T.IN_TABLE:
13007
+ case T.IN_CAPTION:
13008
+ case T.IN_COLUMN_GROUP:
13009
+ case T.IN_TABLE_BODY:
13010
+ case T.IN_ROW:
13011
+ case T.IN_CELL:
13012
+ case T.IN_SELECT:
13013
+ case T.IN_SELECT_IN_TABLE:
13014
+ case T.IN_TEMPLATE:
13015
+ case T.IN_FRAMESET:
13016
+ case T.AFTER_FRAMESET: {
13017
13017
  Pr(this, t);
13018
13018
  break;
13019
13019
  }
13020
- case E.IN_TABLE_TEXT: {
13020
+ case T.IN_TABLE_TEXT: {
13021
13021
  Wt(this, t);
13022
13022
  break;
13023
13023
  }
13024
- case E.AFTER_BODY: {
13024
+ case T.AFTER_BODY: {
13025
13025
  Jm(this, t);
13026
13026
  break;
13027
13027
  }
13028
- case E.AFTER_AFTER_BODY:
13029
- case E.AFTER_AFTER_FRAMESET: {
13028
+ case T.AFTER_AFTER_BODY:
13029
+ case T.AFTER_AFTER_FRAMESET: {
13030
13030
  Zm(this, t);
13031
13031
  break;
13032
13032
  }
@@ -13035,18 +13035,18 @@ class Ba {
13035
13035
  /** @internal */
13036
13036
  onDoctype(t) {
13037
13037
  switch (this.skipNextNewLine = !1, this.insertionMode) {
13038
- case E.INITIAL: {
13038
+ case T.INITIAL: {
13039
13039
  eg(this, t);
13040
13040
  break;
13041
13041
  }
13042
- case E.BEFORE_HEAD:
13043
- case E.IN_HEAD:
13044
- case E.IN_HEAD_NO_SCRIPT:
13045
- case E.AFTER_HEAD: {
13042
+ case T.BEFORE_HEAD:
13043
+ case T.IN_HEAD:
13044
+ case T.IN_HEAD_NO_SCRIPT:
13045
+ case T.AFTER_HEAD: {
13046
13046
  this._err(t, I.misplacedDoctype);
13047
13047
  break;
13048
13048
  }
13049
- case E.IN_TABLE_TEXT: {
13049
+ case T.IN_TABLE_TEXT: {
13050
13050
  Wt(this, t);
13051
13051
  break;
13052
13052
  }
@@ -13073,91 +13073,91 @@ class Ba {
13073
13073
  /** @protected */
13074
13074
  _startTagOutsideForeignContent(t) {
13075
13075
  switch (this.insertionMode) {
13076
- case E.INITIAL: {
13076
+ case T.INITIAL: {
13077
13077
  jt(this, t);
13078
13078
  break;
13079
13079
  }
13080
- case E.BEFORE_HTML: {
13080
+ case T.BEFORE_HTML: {
13081
13081
  tg(this, t);
13082
13082
  break;
13083
13083
  }
13084
- case E.BEFORE_HEAD: {
13084
+ case T.BEFORE_HEAD: {
13085
13085
  rg(this, t);
13086
13086
  break;
13087
13087
  }
13088
- case E.IN_HEAD: {
13089
- Fe(this, t);
13088
+ case T.IN_HEAD: {
13089
+ He(this, t);
13090
13090
  break;
13091
13091
  }
13092
- case E.IN_HEAD_NO_SCRIPT: {
13092
+ case T.IN_HEAD_NO_SCRIPT: {
13093
13093
  sg(this, t);
13094
13094
  break;
13095
13095
  }
13096
- case E.AFTER_HEAD: {
13096
+ case T.AFTER_HEAD: {
13097
13097
  ug(this, t);
13098
13098
  break;
13099
13099
  }
13100
- case E.IN_BODY: {
13100
+ case T.IN_BODY: {
13101
13101
  xe(this, t);
13102
13102
  break;
13103
13103
  }
13104
- case E.IN_TABLE: {
13105
- kt(this, t);
13104
+ case T.IN_TABLE: {
13105
+ It(this, t);
13106
13106
  break;
13107
13107
  }
13108
- case E.IN_TABLE_TEXT: {
13108
+ case T.IN_TABLE_TEXT: {
13109
13109
  Wt(this, t);
13110
13110
  break;
13111
13111
  }
13112
- case E.IN_CAPTION: {
13112
+ case T.IN_CAPTION: {
13113
13113
  i1(this, t);
13114
13114
  break;
13115
13115
  }
13116
- case E.IN_COLUMN_GROUP: {
13116
+ case T.IN_COLUMN_GROUP: {
13117
13117
  li(this, t);
13118
13118
  break;
13119
13119
  }
13120
- case E.IN_TABLE_BODY: {
13120
+ case T.IN_TABLE_BODY: {
13121
13121
  Jn(this, t);
13122
13122
  break;
13123
13123
  }
13124
- case E.IN_ROW: {
13124
+ case T.IN_ROW: {
13125
13125
  Zn(this, t);
13126
13126
  break;
13127
13127
  }
13128
- case E.IN_CELL: {
13128
+ case T.IN_CELL: {
13129
13129
  o1(this, t);
13130
13130
  break;
13131
13131
  }
13132
- case E.IN_SELECT: {
13132
+ case T.IN_SELECT: {
13133
13133
  Bo(this, t);
13134
13134
  break;
13135
13135
  }
13136
- case E.IN_SELECT_IN_TABLE: {
13136
+ case T.IN_SELECT_IN_TABLE: {
13137
13137
  l1(this, t);
13138
13138
  break;
13139
13139
  }
13140
- case E.IN_TEMPLATE: {
13140
+ case T.IN_TEMPLATE: {
13141
13141
  d1(this, t);
13142
13142
  break;
13143
13143
  }
13144
- case E.AFTER_BODY: {
13144
+ case T.AFTER_BODY: {
13145
13145
  f1(this, t);
13146
13146
  break;
13147
13147
  }
13148
- case E.IN_FRAMESET: {
13148
+ case T.IN_FRAMESET: {
13149
13149
  p1(this, t);
13150
13150
  break;
13151
13151
  }
13152
- case E.AFTER_FRAMESET: {
13152
+ case T.AFTER_FRAMESET: {
13153
13153
  g1(this, t);
13154
13154
  break;
13155
13155
  }
13156
- case E.AFTER_AFTER_BODY: {
13156
+ case T.AFTER_AFTER_BODY: {
13157
13157
  E1(this, t);
13158
13158
  break;
13159
13159
  }
13160
- case E.AFTER_AFTER_FRAMESET: {
13160
+ case T.AFTER_AFTER_FRAMESET: {
13161
13161
  T1(this, t);
13162
13162
  break;
13163
13163
  }
@@ -13170,91 +13170,91 @@ class Ba {
13170
13170
  /** @protected */
13171
13171
  _endTagOutsideForeignContent(t) {
13172
13172
  switch (this.insertionMode) {
13173
- case E.INITIAL: {
13173
+ case T.INITIAL: {
13174
13174
  jt(this, t);
13175
13175
  break;
13176
13176
  }
13177
- case E.BEFORE_HTML: {
13177
+ case T.BEFORE_HTML: {
13178
13178
  ng(this, t);
13179
13179
  break;
13180
13180
  }
13181
- case E.BEFORE_HEAD: {
13181
+ case T.BEFORE_HEAD: {
13182
13182
  ig(this, t);
13183
13183
  break;
13184
13184
  }
13185
- case E.IN_HEAD: {
13185
+ case T.IN_HEAD: {
13186
13186
  ag(this, t);
13187
13187
  break;
13188
13188
  }
13189
- case E.IN_HEAD_NO_SCRIPT: {
13189
+ case T.IN_HEAD_NO_SCRIPT: {
13190
13190
  og(this, t);
13191
13191
  break;
13192
13192
  }
13193
- case E.AFTER_HEAD: {
13193
+ case T.AFTER_HEAD: {
13194
13194
  lg(this, t);
13195
13195
  break;
13196
13196
  }
13197
- case E.IN_BODY: {
13197
+ case T.IN_BODY: {
13198
13198
  $n(this, t);
13199
13199
  break;
13200
13200
  }
13201
- case E.TEXT: {
13201
+ case T.TEXT: {
13202
13202
  Qg(this, t);
13203
13203
  break;
13204
13204
  }
13205
- case E.IN_TABLE: {
13205
+ case T.IN_TABLE: {
13206
13206
  sn(this, t);
13207
13207
  break;
13208
13208
  }
13209
- case E.IN_TABLE_TEXT: {
13209
+ case T.IN_TABLE_TEXT: {
13210
13210
  Wt(this, t);
13211
13211
  break;
13212
13212
  }
13213
- case E.IN_CAPTION: {
13213
+ case T.IN_CAPTION: {
13214
13214
  a1(this, t);
13215
13215
  break;
13216
13216
  }
13217
- case E.IN_COLUMN_GROUP: {
13217
+ case T.IN_COLUMN_GROUP: {
13218
13218
  s1(this, t);
13219
13219
  break;
13220
13220
  }
13221
- case E.IN_TABLE_BODY: {
13221
+ case T.IN_TABLE_BODY: {
13222
13222
  Mr(this, t);
13223
13223
  break;
13224
13224
  }
13225
- case E.IN_ROW: {
13225
+ case T.IN_ROW: {
13226
13226
  Mo(this, t);
13227
13227
  break;
13228
13228
  }
13229
- case E.IN_CELL: {
13229
+ case T.IN_CELL: {
13230
13230
  u1(this, t);
13231
13231
  break;
13232
13232
  }
13233
- case E.IN_SELECT: {
13233
+ case T.IN_SELECT: {
13234
13234
  Fo(this, t);
13235
13235
  break;
13236
13236
  }
13237
- case E.IN_SELECT_IN_TABLE: {
13237
+ case T.IN_SELECT_IN_TABLE: {
13238
13238
  c1(this, t);
13239
13239
  break;
13240
13240
  }
13241
- case E.IN_TEMPLATE: {
13241
+ case T.IN_TEMPLATE: {
13242
13242
  h1(this, t);
13243
13243
  break;
13244
13244
  }
13245
- case E.AFTER_BODY: {
13245
+ case T.AFTER_BODY: {
13246
13246
  Uo(this, t);
13247
13247
  break;
13248
13248
  }
13249
- case E.IN_FRAMESET: {
13249
+ case T.IN_FRAMESET: {
13250
13250
  m1(this, t);
13251
13251
  break;
13252
13252
  }
13253
- case E.AFTER_FRAMESET: {
13253
+ case T.AFTER_FRAMESET: {
13254
13254
  b1(this, t);
13255
13255
  break;
13256
13256
  }
13257
- case E.AFTER_AFTER_BODY: {
13257
+ case T.AFTER_AFTER_BODY: {
13258
13258
  On(this, t);
13259
13259
  break;
13260
13260
  }
@@ -13263,59 +13263,59 @@ class Ba {
13263
13263
  /** @internal */
13264
13264
  onEof(t) {
13265
13265
  switch (this.insertionMode) {
13266
- case E.INITIAL: {
13266
+ case T.INITIAL: {
13267
13267
  jt(this, t);
13268
13268
  break;
13269
13269
  }
13270
- case E.BEFORE_HTML: {
13270
+ case T.BEFORE_HTML: {
13271
13271
  $t(this, t);
13272
13272
  break;
13273
13273
  }
13274
- case E.BEFORE_HEAD: {
13274
+ case T.BEFORE_HEAD: {
13275
13275
  Jt(this, t);
13276
13276
  break;
13277
13277
  }
13278
- case E.IN_HEAD: {
13278
+ case T.IN_HEAD: {
13279
13279
  Zt(this, t);
13280
13280
  break;
13281
13281
  }
13282
- case E.IN_HEAD_NO_SCRIPT: {
13282
+ case T.IN_HEAD_NO_SCRIPT: {
13283
13283
  en(this, t);
13284
13284
  break;
13285
13285
  }
13286
- case E.AFTER_HEAD: {
13286
+ case T.AFTER_HEAD: {
13287
13287
  tn(this, t);
13288
13288
  break;
13289
13289
  }
13290
- case E.IN_BODY:
13291
- case E.IN_TABLE:
13292
- case E.IN_CAPTION:
13293
- case E.IN_COLUMN_GROUP:
13294
- case E.IN_TABLE_BODY:
13295
- case E.IN_ROW:
13296
- case E.IN_CELL:
13297
- case E.IN_SELECT:
13298
- case E.IN_SELECT_IN_TABLE: {
13290
+ case T.IN_BODY:
13291
+ case T.IN_TABLE:
13292
+ case T.IN_CAPTION:
13293
+ case T.IN_COLUMN_GROUP:
13294
+ case T.IN_TABLE_BODY:
13295
+ case T.IN_ROW:
13296
+ case T.IN_CELL:
13297
+ case T.IN_SELECT:
13298
+ case T.IN_SELECT_IN_TABLE: {
13299
13299
  Ro(this, t);
13300
13300
  break;
13301
13301
  }
13302
- case E.TEXT: {
13302
+ case T.TEXT: {
13303
13303
  Xg(this, t);
13304
13304
  break;
13305
13305
  }
13306
- case E.IN_TABLE_TEXT: {
13306
+ case T.IN_TABLE_TEXT: {
13307
13307
  Wt(this, t);
13308
13308
  break;
13309
13309
  }
13310
- case E.IN_TEMPLATE: {
13310
+ case T.IN_TEMPLATE: {
13311
13311
  Ho(this, t);
13312
13312
  break;
13313
13313
  }
13314
- case E.AFTER_BODY:
13315
- case E.IN_FRAMESET:
13316
- case E.AFTER_FRAMESET:
13317
- case E.AFTER_AFTER_BODY:
13318
- case E.AFTER_AFTER_FRAMESET: {
13314
+ case T.AFTER_BODY:
13315
+ case T.IN_FRAMESET:
13316
+ case T.AFTER_FRAMESET:
13317
+ case T.AFTER_AFTER_BODY:
13318
+ case T.AFTER_AFTER_FRAMESET: {
13319
13319
  ui(this, t);
13320
13320
  break;
13321
13321
  }
@@ -13333,35 +13333,35 @@ class Ba {
13333
13333
  return;
13334
13334
  }
13335
13335
  switch (this.insertionMode) {
13336
- case E.IN_HEAD:
13337
- case E.IN_HEAD_NO_SCRIPT:
13338
- case E.AFTER_HEAD:
13339
- case E.TEXT:
13340
- case E.IN_COLUMN_GROUP:
13341
- case E.IN_SELECT:
13342
- case E.IN_SELECT_IN_TABLE:
13343
- case E.IN_FRAMESET:
13344
- case E.AFTER_FRAMESET: {
13336
+ case T.IN_HEAD:
13337
+ case T.IN_HEAD_NO_SCRIPT:
13338
+ case T.AFTER_HEAD:
13339
+ case T.TEXT:
13340
+ case T.IN_COLUMN_GROUP:
13341
+ case T.IN_SELECT:
13342
+ case T.IN_SELECT_IN_TABLE:
13343
+ case T.IN_FRAMESET:
13344
+ case T.AFTER_FRAMESET: {
13345
13345
  this._insertCharacters(t);
13346
13346
  break;
13347
13347
  }
13348
- case E.IN_BODY:
13349
- case E.IN_CAPTION:
13350
- case E.IN_CELL:
13351
- case E.IN_TEMPLATE:
13352
- case E.AFTER_BODY:
13353
- case E.AFTER_AFTER_BODY:
13354
- case E.AFTER_AFTER_FRAMESET: {
13348
+ case T.IN_BODY:
13349
+ case T.IN_CAPTION:
13350
+ case T.IN_CELL:
13351
+ case T.IN_TEMPLATE:
13352
+ case T.AFTER_BODY:
13353
+ case T.AFTER_AFTER_BODY:
13354
+ case T.AFTER_AFTER_FRAMESET: {
13355
13355
  Io(this, t);
13356
13356
  break;
13357
13357
  }
13358
- case E.IN_TABLE:
13359
- case E.IN_TABLE_BODY:
13360
- case E.IN_ROW: {
13358
+ case T.IN_TABLE:
13359
+ case T.IN_TABLE_BODY:
13360
+ case T.IN_ROW: {
13361
13361
  Tr(this, t);
13362
13362
  break;
13363
13363
  }
13364
- case E.IN_TABLE_TEXT: {
13364
+ case T.IN_TABLE_TEXT: {
13365
13365
  Do(this, t);
13366
13366
  break;
13367
13367
  }
@@ -13447,20 +13447,20 @@ function ui(e, t) {
13447
13447
  function eg(e, t) {
13448
13448
  e._setDocumentType(t);
13449
13449
  const n = t.forceQuirks ? Re.QUIRKS : Om(t);
13450
- Sm(t) || e._err(t, I.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = E.BEFORE_HTML;
13450
+ Sm(t) || e._err(t, I.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = T.BEFORE_HTML;
13451
13451
  }
13452
13452
  function jt(e, t) {
13453
- e._err(t, I.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, Re.QUIRKS), e.insertionMode = E.BEFORE_HTML, e._processToken(t);
13453
+ e._err(t, I.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, Re.QUIRKS), e.insertionMode = T.BEFORE_HTML, e._processToken(t);
13454
13454
  }
13455
13455
  function tg(e, t) {
13456
- t.tagID === o.HTML ? (e._insertElement(t, R.HTML), e.insertionMode = E.BEFORE_HEAD) : $t(e, t);
13456
+ t.tagID === o.HTML ? (e._insertElement(t, R.HTML), e.insertionMode = T.BEFORE_HEAD) : $t(e, t);
13457
13457
  }
13458
13458
  function ng(e, t) {
13459
13459
  const n = t.tagID;
13460
13460
  (n === o.HTML || n === o.HEAD || n === o.BODY || n === o.BR) && $t(e, t);
13461
13461
  }
13462
13462
  function $t(e, t) {
13463
- e._insertFakeRootElement(), e.insertionMode = E.BEFORE_HEAD, e._processToken(t);
13463
+ e._insertFakeRootElement(), e.insertionMode = T.BEFORE_HEAD, e._processToken(t);
13464
13464
  }
13465
13465
  function rg(e, t) {
13466
13466
  switch (t.tagID) {
@@ -13469,7 +13469,7 @@ function rg(e, t) {
13469
13469
  break;
13470
13470
  }
13471
13471
  case o.HEAD: {
13472
- e._insertElement(t, R.HTML), e.headElement = e.openElements.current, e.insertionMode = E.IN_HEAD;
13472
+ e._insertElement(t, R.HTML), e.headElement = e.openElements.current, e.insertionMode = T.IN_HEAD;
13473
13473
  break;
13474
13474
  }
13475
13475
  default:
@@ -13481,9 +13481,9 @@ function ig(e, t) {
13481
13481
  n === o.HEAD || n === o.BODY || n === o.HTML || n === o.BR ? Jt(e, t) : e._err(t, I.endTagWithoutMatchingOpenElement);
13482
13482
  }
13483
13483
  function Jt(e, t) {
13484
- e._insertFakeElement(A.HEAD, o.HEAD), e.headElement = e.openElements.current, e.insertionMode = E.IN_HEAD, e._processToken(t);
13484
+ e._insertFakeElement(A.HEAD, o.HEAD), e.headElement = e.openElements.current, e.insertionMode = T.IN_HEAD, e._processToken(t);
13485
13485
  }
13486
- function Fe(e, t) {
13486
+ function He(e, t) {
13487
13487
  switch (t.tagID) {
13488
13488
  case o.HTML: {
13489
13489
  xe(e, t);
@@ -13502,7 +13502,7 @@ function Fe(e, t) {
13502
13502
  break;
13503
13503
  }
13504
13504
  case o.NOSCRIPT: {
13505
- e.options.scriptingEnabled ? e._switchToTextParsing(t, he.RAWTEXT) : (e._insertElement(t, R.HTML), e.insertionMode = E.IN_HEAD_NO_SCRIPT);
13505
+ e.options.scriptingEnabled ? e._switchToTextParsing(t, he.RAWTEXT) : (e._insertElement(t, R.HTML), e.insertionMode = T.IN_HEAD_NO_SCRIPT);
13506
13506
  break;
13507
13507
  }
13508
13508
  case o.NOFRAMES:
@@ -13515,7 +13515,7 @@ function Fe(e, t) {
13515
13515
  break;
13516
13516
  }
13517
13517
  case o.TEMPLATE: {
13518
- e._insertTemplate(t), e.activeFormattingElements.insertMarker(), e.framesetOk = !1, e.insertionMode = E.IN_TEMPLATE, e.tmplInsertionModeStack.unshift(E.IN_TEMPLATE);
13518
+ e._insertTemplate(t), e.activeFormattingElements.insertMarker(), e.framesetOk = !1, e.insertionMode = T.IN_TEMPLATE, e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);
13519
13519
  break;
13520
13520
  }
13521
13521
  case o.HEAD: {
@@ -13529,7 +13529,7 @@ function Fe(e, t) {
13529
13529
  function ag(e, t) {
13530
13530
  switch (t.tagID) {
13531
13531
  case o.HEAD: {
13532
- e.openElements.pop(), e.insertionMode = E.AFTER_HEAD;
13532
+ e.openElements.pop(), e.insertionMode = T.AFTER_HEAD;
13533
13533
  break;
13534
13534
  }
13535
13535
  case o.BODY:
@@ -13539,18 +13539,18 @@ function ag(e, t) {
13539
13539
  break;
13540
13540
  }
13541
13541
  case o.TEMPLATE: {
13542
- gt(e, t);
13542
+ bt(e, t);
13543
13543
  break;
13544
13544
  }
13545
13545
  default:
13546
13546
  e._err(t, I.endTagWithoutMatchingOpenElement);
13547
13547
  }
13548
13548
  }
13549
- function gt(e, t) {
13549
+ function bt(e, t) {
13550
13550
  e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== o.TEMPLATE && e._err(t, I.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(o.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, I.endTagWithoutMatchingOpenElement);
13551
13551
  }
13552
13552
  function Zt(e, t) {
13553
- e.openElements.pop(), e.insertionMode = E.AFTER_HEAD, e._processToken(t);
13553
+ e.openElements.pop(), e.insertionMode = T.AFTER_HEAD, e._processToken(t);
13554
13554
  }
13555
13555
  function sg(e, t) {
13556
13556
  switch (t.tagID) {
@@ -13565,7 +13565,7 @@ function sg(e, t) {
13565
13565
  case o.META:
13566
13566
  case o.NOFRAMES:
13567
13567
  case o.STYLE: {
13568
- Fe(e, t);
13568
+ He(e, t);
13569
13569
  break;
13570
13570
  }
13571
13571
  case o.NOSCRIPT: {
@@ -13579,7 +13579,7 @@ function sg(e, t) {
13579
13579
  function og(e, t) {
13580
13580
  switch (t.tagID) {
13581
13581
  case o.NOSCRIPT: {
13582
- e.openElements.pop(), e.insertionMode = E.IN_HEAD;
13582
+ e.openElements.pop(), e.insertionMode = T.IN_HEAD;
13583
13583
  break;
13584
13584
  }
13585
13585
  case o.BR: {
@@ -13592,7 +13592,7 @@ function og(e, t) {
13592
13592
  }
13593
13593
  function en(e, t) {
13594
13594
  const n = t.type === K.EOF ? I.openElementsLeftAfterEof : I.disallowedContentInNoscriptInHead;
13595
- e._err(t, n), e.openElements.pop(), e.insertionMode = E.IN_HEAD, e._processToken(t);
13595
+ e._err(t, n), e.openElements.pop(), e.insertionMode = T.IN_HEAD, e._processToken(t);
13596
13596
  }
13597
13597
  function ug(e, t) {
13598
13598
  switch (t.tagID) {
@@ -13601,11 +13601,11 @@ function ug(e, t) {
13601
13601
  break;
13602
13602
  }
13603
13603
  case o.BODY: {
13604
- e._insertElement(t, R.HTML), e.framesetOk = !1, e.insertionMode = E.IN_BODY;
13604
+ e._insertElement(t, R.HTML), e.framesetOk = !1, e.insertionMode = T.IN_BODY;
13605
13605
  break;
13606
13606
  }
13607
13607
  case o.FRAMESET: {
13608
- e._insertElement(t, R.HTML), e.insertionMode = E.IN_FRAMESET;
13608
+ e._insertElement(t, R.HTML), e.insertionMode = T.IN_FRAMESET;
13609
13609
  break;
13610
13610
  }
13611
13611
  case o.BASE:
@@ -13618,7 +13618,7 @@ function ug(e, t) {
13618
13618
  case o.STYLE:
13619
13619
  case o.TEMPLATE:
13620
13620
  case o.TITLE: {
13621
- e._err(t, I.abandonedHeadElementChild), e.openElements.push(e.headElement, o.HEAD), Fe(e, t), e.openElements.remove(e.headElement);
13621
+ e._err(t, I.abandonedHeadElementChild), e.openElements.push(e.headElement, o.HEAD), He(e, t), e.openElements.remove(e.headElement);
13622
13622
  break;
13623
13623
  }
13624
13624
  case o.HEAD: {
@@ -13638,7 +13638,7 @@ function lg(e, t) {
13638
13638
  break;
13639
13639
  }
13640
13640
  case o.TEMPLATE: {
13641
- gt(e, t);
13641
+ bt(e, t);
13642
13642
  break;
13643
13643
  }
13644
13644
  default:
@@ -13646,7 +13646,7 @@ function lg(e, t) {
13646
13646
  }
13647
13647
  }
13648
13648
  function tn(e, t) {
13649
- e._insertFakeElement(A.BODY, o.BODY), e.insertionMode = E.IN_BODY, Kn(e, t);
13649
+ e._insertFakeElement(A.BODY, o.BODY), e.insertionMode = T.IN_BODY, Kn(e, t);
13650
13650
  }
13651
13651
  function Kn(e, t) {
13652
13652
  switch (t.type) {
@@ -13691,7 +13691,7 @@ function dg(e, t) {
13691
13691
  }
13692
13692
  function hg(e, t) {
13693
13693
  const n = e.openElements.tryPeekProperlyNestedBodyElement();
13694
- e.framesetOk && n && (e.treeAdapter.detachNode(n), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, R.HTML), e.insertionMode = E.IN_FRAMESET);
13694
+ e.framesetOk && n && (e.treeAdapter.detachNode(n), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, R.HTML), e.insertionMode = T.IN_FRAMESET);
13695
13695
  }
13696
13696
  function fg(e, t) {
13697
13697
  e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, R.HTML);
@@ -13740,7 +13740,7 @@ function _g(e, t) {
13740
13740
  e._reconstructActiveFormattingElements(), e._insertElement(t, R.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
13741
13741
  }
13742
13742
  function Ag(e, t) {
13743
- e.treeAdapter.getDocumentMode(e.document) !== Re.QUIRKS && e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, R.HTML), e.framesetOk = !1, e.insertionMode = E.IN_TABLE;
13743
+ e.treeAdapter.getDocumentMode(e.document) !== Re.QUIRKS && e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, R.HTML), e.framesetOk = !1, e.insertionMode = T.IN_TABLE;
13744
13744
  }
13745
13745
  function So(e, t) {
13746
13746
  e._reconstructActiveFormattingElements(), e._appendElement(t, R.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
@@ -13762,7 +13762,7 @@ function Ng(e, t) {
13762
13762
  t.tagName = A.IMG, t.tagID = o.IMG, So(e, t);
13763
13763
  }
13764
13764
  function Sg(e, t) {
13765
- e._insertElement(t, R.HTML), e.skipNextNewLine = !0, e.tokenizer.state = he.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = E.TEXT;
13765
+ e._insertElement(t, R.HTML), e.skipNextNewLine = !0, e.tokenizer.state = he.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = T.TEXT;
13766
13766
  }
13767
13767
  function Og(e, t) {
13768
13768
  e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, he.RAWTEXT);
@@ -13774,7 +13774,7 @@ function Fa(e, t) {
13774
13774
  e._switchToTextParsing(t, he.RAWTEXT);
13775
13775
  }
13776
13776
  function Rg(e, t) {
13777
- e._reconstructActiveFormattingElements(), e._insertElement(t, R.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === E.IN_TABLE || e.insertionMode === E.IN_CAPTION || e.insertionMode === E.IN_TABLE_BODY || e.insertionMode === E.IN_ROW || e.insertionMode === E.IN_CELL ? E.IN_SELECT_IN_TABLE : E.IN_SELECT;
13777
+ e._reconstructActiveFormattingElements(), e._insertElement(t, R.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === T.IN_TABLE || e.insertionMode === T.IN_CAPTION || e.insertionMode === T.IN_TABLE_BODY || e.insertionMode === T.IN_ROW || e.insertionMode === T.IN_CELL ? T.IN_SELECT_IN_TABLE : T.IN_SELECT;
13778
13778
  }
13779
13779
  function Dg(e, t) {
13780
13780
  e.openElements.currentTagId === o.OPTION && e.openElements.pop(), e._reconstructActiveFormattingElements(), e._insertElement(t, R.HTML);
@@ -13907,7 +13907,7 @@ function xe(e, t) {
13907
13907
  case o.BGSOUND:
13908
13908
  case o.BASEFONT:
13909
13909
  case o.TEMPLATE: {
13910
- Fe(e, t);
13910
+ He(e, t);
13911
13911
  break;
13912
13912
  }
13913
13913
  case o.BODY: {
@@ -14005,13 +14005,13 @@ function xe(e, t) {
14005
14005
  }
14006
14006
  }
14007
14007
  function Fg(e, t) {
14008
- if (e.openElements.hasInScope(o.BODY) && (e.insertionMode = E.AFTER_BODY, e.options.sourceCodeLocationInfo)) {
14008
+ if (e.openElements.hasInScope(o.BODY) && (e.insertionMode = T.AFTER_BODY, e.options.sourceCodeLocationInfo)) {
14009
14009
  const n = e.openElements.tryPeekProperlyNestedBodyElement();
14010
14010
  n && e._setEndLocation(n, t);
14011
14011
  }
14012
14012
  }
14013
14013
  function Hg(e, t) {
14014
- e.openElements.hasInScope(o.BODY) && (e.insertionMode = E.AFTER_BODY, Uo(e, t));
14014
+ e.openElements.hasInScope(o.BODY) && (e.insertionMode = T.AFTER_BODY, Uo(e, t));
14015
14015
  }
14016
14016
  function Ug(e, t) {
14017
14017
  const n = t.tagID;
@@ -14147,7 +14147,7 @@ function $n(e, t) {
14147
14147
  break;
14148
14148
  }
14149
14149
  case o.TEMPLATE: {
14150
- gt(e, t);
14150
+ bt(e, t);
14151
14151
  break;
14152
14152
  }
14153
14153
  default:
@@ -14166,7 +14166,7 @@ function Xg(e, t) {
14166
14166
  }
14167
14167
  function Tr(e, t) {
14168
14168
  if (ko.has(e.openElements.currentTagId))
14169
- switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = E.IN_TABLE_TEXT, t.type) {
14169
+ switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = T.IN_TABLE_TEXT, t.type) {
14170
14170
  case K.CHARACTER: {
14171
14171
  vo(e, t);
14172
14172
  break;
@@ -14180,19 +14180,19 @@ function Tr(e, t) {
14180
14180
  bn(e, t);
14181
14181
  }
14182
14182
  function Kg(e, t) {
14183
- e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, R.HTML), e.insertionMode = E.IN_CAPTION;
14183
+ e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, R.HTML), e.insertionMode = T.IN_CAPTION;
14184
14184
  }
14185
14185
  function $g(e, t) {
14186
- e.openElements.clearBackToTableContext(), e._insertElement(t, R.HTML), e.insertionMode = E.IN_COLUMN_GROUP;
14186
+ e.openElements.clearBackToTableContext(), e._insertElement(t, R.HTML), e.insertionMode = T.IN_COLUMN_GROUP;
14187
14187
  }
14188
14188
  function Jg(e, t) {
14189
- e.openElements.clearBackToTableContext(), e._insertFakeElement(A.COLGROUP, o.COLGROUP), e.insertionMode = E.IN_COLUMN_GROUP, li(e, t);
14189
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(A.COLGROUP, o.COLGROUP), e.insertionMode = T.IN_COLUMN_GROUP, li(e, t);
14190
14190
  }
14191
14191
  function Zg(e, t) {
14192
- e.openElements.clearBackToTableContext(), e._insertElement(t, R.HTML), e.insertionMode = E.IN_TABLE_BODY;
14192
+ e.openElements.clearBackToTableContext(), e._insertElement(t, R.HTML), e.insertionMode = T.IN_TABLE_BODY;
14193
14193
  }
14194
14194
  function e1(e, t) {
14195
- e.openElements.clearBackToTableContext(), e._insertFakeElement(A.TBODY, o.TBODY), e.insertionMode = E.IN_TABLE_BODY, Jn(e, t);
14195
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(A.TBODY, o.TBODY), e.insertionMode = T.IN_TABLE_BODY, Jn(e, t);
14196
14196
  }
14197
14197
  function t1(e, t) {
14198
14198
  e.openElements.hasInTableScope(o.TABLE) && (e.openElements.popUntilTagNamePopped(o.TABLE), e._resetInsertionMode(), e._processStartTag(t));
@@ -14203,7 +14203,7 @@ function n1(e, t) {
14203
14203
  function r1(e, t) {
14204
14204
  !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, R.HTML), e.formElement = e.openElements.current, e.openElements.pop());
14205
14205
  }
14206
- function kt(e, t) {
14206
+ function It(e, t) {
14207
14207
  switch (t.tagID) {
14208
14208
  case o.TD:
14209
14209
  case o.TH:
@@ -14214,7 +14214,7 @@ function kt(e, t) {
14214
14214
  case o.STYLE:
14215
14215
  case o.SCRIPT:
14216
14216
  case o.TEMPLATE: {
14217
- Fe(e, t);
14217
+ He(e, t);
14218
14218
  break;
14219
14219
  }
14220
14220
  case o.COL: {
@@ -14258,7 +14258,7 @@ function sn(e, t) {
14258
14258
  break;
14259
14259
  }
14260
14260
  case o.TEMPLATE: {
14261
- gt(e, t);
14261
+ bt(e, t);
14262
14262
  break;
14263
14263
  }
14264
14264
  case o.BODY:
@@ -14300,14 +14300,14 @@ function Wt(e, t) {
14300
14300
  const Po = /* @__PURE__ */ new Set([o.CAPTION, o.COL, o.COLGROUP, o.TBODY, o.TD, o.TFOOT, o.TH, o.THEAD, o.TR]);
14301
14301
  function i1(e, t) {
14302
14302
  const n = t.tagID;
14303
- Po.has(n) ? e.openElements.hasInTableScope(o.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = E.IN_TABLE, kt(e, t)) : xe(e, t);
14303
+ Po.has(n) ? e.openElements.hasInTableScope(o.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = T.IN_TABLE, It(e, t)) : xe(e, t);
14304
14304
  }
14305
14305
  function a1(e, t) {
14306
14306
  const n = t.tagID;
14307
14307
  switch (n) {
14308
14308
  case o.CAPTION:
14309
14309
  case o.TABLE: {
14310
- e.openElements.hasInTableScope(o.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = E.IN_TABLE, n === o.TABLE && sn(e, t));
14310
+ e.openElements.hasInTableScope(o.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = T.IN_TABLE, n === o.TABLE && sn(e, t));
14311
14311
  break;
14312
14312
  }
14313
14313
  case o.BODY:
@@ -14336,7 +14336,7 @@ function li(e, t) {
14336
14336
  break;
14337
14337
  }
14338
14338
  case o.TEMPLATE: {
14339
- Fe(e, t);
14339
+ He(e, t);
14340
14340
  break;
14341
14341
  }
14342
14342
  default:
@@ -14346,11 +14346,11 @@ function li(e, t) {
14346
14346
  function s1(e, t) {
14347
14347
  switch (t.tagID) {
14348
14348
  case o.COLGROUP: {
14349
- e.openElements.currentTagId === o.COLGROUP && (e.openElements.pop(), e.insertionMode = E.IN_TABLE);
14349
+ e.openElements.currentTagId === o.COLGROUP && (e.openElements.pop(), e.insertionMode = T.IN_TABLE);
14350
14350
  break;
14351
14351
  }
14352
14352
  case o.TEMPLATE: {
14353
- gt(e, t);
14353
+ bt(e, t);
14354
14354
  break;
14355
14355
  }
14356
14356
  case o.COL:
@@ -14360,17 +14360,17 @@ function s1(e, t) {
14360
14360
  }
14361
14361
  }
14362
14362
  function Bn(e, t) {
14363
- e.openElements.currentTagId === o.COLGROUP && (e.openElements.pop(), e.insertionMode = E.IN_TABLE, e._processToken(t));
14363
+ e.openElements.currentTagId === o.COLGROUP && (e.openElements.pop(), e.insertionMode = T.IN_TABLE, e._processToken(t));
14364
14364
  }
14365
14365
  function Jn(e, t) {
14366
14366
  switch (t.tagID) {
14367
14367
  case o.TR: {
14368
- e.openElements.clearBackToTableBodyContext(), e._insertElement(t, R.HTML), e.insertionMode = E.IN_ROW;
14368
+ e.openElements.clearBackToTableBodyContext(), e._insertElement(t, R.HTML), e.insertionMode = T.IN_ROW;
14369
14369
  break;
14370
14370
  }
14371
14371
  case o.TH:
14372
14372
  case o.TD: {
14373
- e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(A.TR, o.TR), e.insertionMode = E.IN_ROW, Zn(e, t);
14373
+ e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(A.TR, o.TR), e.insertionMode = T.IN_ROW, Zn(e, t);
14374
14374
  break;
14375
14375
  }
14376
14376
  case o.CAPTION:
@@ -14379,11 +14379,11 @@ function Jn(e, t) {
14379
14379
  case o.TBODY:
14380
14380
  case o.TFOOT:
14381
14381
  case o.THEAD: {
14382
- e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE, kt(e, t));
14382
+ e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE, It(e, t));
14383
14383
  break;
14384
14384
  }
14385
14385
  default:
14386
- kt(e, t);
14386
+ It(e, t);
14387
14387
  }
14388
14388
  }
14389
14389
  function Mr(e, t) {
@@ -14392,11 +14392,11 @@ function Mr(e, t) {
14392
14392
  case o.TBODY:
14393
14393
  case o.TFOOT:
14394
14394
  case o.THEAD: {
14395
- e.openElements.hasInTableScope(n) && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE);
14395
+ e.openElements.hasInTableScope(n) && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE);
14396
14396
  break;
14397
14397
  }
14398
14398
  case o.TABLE: {
14399
- e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE, sn(e, t));
14399
+ e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE, sn(e, t));
14400
14400
  break;
14401
14401
  }
14402
14402
  case o.BODY:
@@ -14416,7 +14416,7 @@ function Zn(e, t) {
14416
14416
  switch (t.tagID) {
14417
14417
  case o.TH:
14418
14418
  case o.TD: {
14419
- e.openElements.clearBackToTableRowContext(), e._insertElement(t, R.HTML), e.insertionMode = E.IN_CELL, e.activeFormattingElements.insertMarker();
14419
+ e.openElements.clearBackToTableRowContext(), e._insertElement(t, R.HTML), e.insertionMode = T.IN_CELL, e.activeFormattingElements.insertMarker();
14420
14420
  break;
14421
14421
  }
14422
14422
  case o.CAPTION:
@@ -14426,27 +14426,27 @@ function Zn(e, t) {
14426
14426
  case o.TFOOT:
14427
14427
  case o.THEAD:
14428
14428
  case o.TR: {
14429
- e.openElements.hasInTableScope(o.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY, Jn(e, t));
14429
+ e.openElements.hasInTableScope(o.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE_BODY, Jn(e, t));
14430
14430
  break;
14431
14431
  }
14432
14432
  default:
14433
- kt(e, t);
14433
+ It(e, t);
14434
14434
  }
14435
14435
  }
14436
14436
  function Mo(e, t) {
14437
14437
  switch (t.tagID) {
14438
14438
  case o.TR: {
14439
- e.openElements.hasInTableScope(o.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY);
14439
+ e.openElements.hasInTableScope(o.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE_BODY);
14440
14440
  break;
14441
14441
  }
14442
14442
  case o.TABLE: {
14443
- e.openElements.hasInTableScope(o.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY, Mr(e, t));
14443
+ e.openElements.hasInTableScope(o.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE_BODY, Mr(e, t));
14444
14444
  break;
14445
14445
  }
14446
14446
  case o.TBODY:
14447
14447
  case o.TFOOT:
14448
14448
  case o.THEAD: {
14449
- (e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(o.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = E.IN_TABLE_BODY, Mr(e, t));
14449
+ (e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(o.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE_BODY, Mr(e, t));
14450
14450
  break;
14451
14451
  }
14452
14452
  case o.BODY:
@@ -14470,7 +14470,7 @@ function u1(e, t) {
14470
14470
  switch (n) {
14471
14471
  case o.TD:
14472
14472
  case o.TH: {
14473
- e.openElements.hasInTableScope(n) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = E.IN_ROW);
14473
+ e.openElements.hasInTableScope(n) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = T.IN_ROW);
14474
14474
  break;
14475
14475
  }
14476
14476
  case o.TABLE:
@@ -14518,7 +14518,7 @@ function Bo(e, t) {
14518
14518
  }
14519
14519
  case o.SCRIPT:
14520
14520
  case o.TEMPLATE: {
14521
- Fe(e, t);
14521
+ He(e, t);
14522
14522
  break;
14523
14523
  }
14524
14524
  }
@@ -14538,7 +14538,7 @@ function Fo(e, t) {
14538
14538
  break;
14539
14539
  }
14540
14540
  case o.TEMPLATE: {
14541
- gt(e, t);
14541
+ bt(e, t);
14542
14542
  break;
14543
14543
  }
14544
14544
  }
@@ -14563,7 +14563,7 @@ function d1(e, t) {
14563
14563
  case o.STYLE:
14564
14564
  case o.TEMPLATE:
14565
14565
  case o.TITLE: {
14566
- Fe(e, t);
14566
+ He(e, t);
14567
14567
  break;
14568
14568
  }
14569
14569
  case o.CAPTION:
@@ -14571,28 +14571,28 @@ function d1(e, t) {
14571
14571
  case o.TBODY:
14572
14572
  case o.TFOOT:
14573
14573
  case o.THEAD: {
14574
- e.tmplInsertionModeStack[0] = E.IN_TABLE, e.insertionMode = E.IN_TABLE, kt(e, t);
14574
+ e.tmplInsertionModeStack[0] = T.IN_TABLE, e.insertionMode = T.IN_TABLE, It(e, t);
14575
14575
  break;
14576
14576
  }
14577
14577
  case o.COL: {
14578
- e.tmplInsertionModeStack[0] = E.IN_COLUMN_GROUP, e.insertionMode = E.IN_COLUMN_GROUP, li(e, t);
14578
+ e.tmplInsertionModeStack[0] = T.IN_COLUMN_GROUP, e.insertionMode = T.IN_COLUMN_GROUP, li(e, t);
14579
14579
  break;
14580
14580
  }
14581
14581
  case o.TR: {
14582
- e.tmplInsertionModeStack[0] = E.IN_TABLE_BODY, e.insertionMode = E.IN_TABLE_BODY, Jn(e, t);
14582
+ e.tmplInsertionModeStack[0] = T.IN_TABLE_BODY, e.insertionMode = T.IN_TABLE_BODY, Jn(e, t);
14583
14583
  break;
14584
14584
  }
14585
14585
  case o.TD:
14586
14586
  case o.TH: {
14587
- e.tmplInsertionModeStack[0] = E.IN_ROW, e.insertionMode = E.IN_ROW, Zn(e, t);
14587
+ e.tmplInsertionModeStack[0] = T.IN_ROW, e.insertionMode = T.IN_ROW, Zn(e, t);
14588
14588
  break;
14589
14589
  }
14590
14590
  default:
14591
- e.tmplInsertionModeStack[0] = E.IN_BODY, e.insertionMode = E.IN_BODY, xe(e, t);
14591
+ e.tmplInsertionModeStack[0] = T.IN_BODY, e.insertionMode = T.IN_BODY, xe(e, t);
14592
14592
  }
14593
14593
  }
14594
14594
  function h1(e, t) {
14595
- t.tagID === o.TEMPLATE && gt(e, t);
14595
+ t.tagID === o.TEMPLATE && bt(e, t);
14596
14596
  }
14597
14597
  function Ho(e, t) {
14598
14598
  e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(o.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : ui(e, t);
@@ -14603,7 +14603,7 @@ function f1(e, t) {
14603
14603
  function Uo(e, t) {
14604
14604
  var n;
14605
14605
  if (t.tagID === o.HTML) {
14606
- if (e.fragmentContext || (e.insertionMode = E.AFTER_AFTER_BODY), e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === o.HTML) {
14606
+ if (e.fragmentContext || (e.insertionMode = T.AFTER_AFTER_BODY), e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === o.HTML) {
14607
14607
  e._setEndLocation(e.openElements.items[0], t);
14608
14608
  const r = e.openElements.items[1];
14609
14609
  r && !(!((n = e.treeAdapter.getNodeSourceCodeLocation(r)) === null || n === void 0) && n.endTag) && e._setEndLocation(r, t);
@@ -14612,7 +14612,7 @@ function Uo(e, t) {
14612
14612
  Fn(e, t);
14613
14613
  }
14614
14614
  function Fn(e, t) {
14615
- e.insertionMode = E.IN_BODY, Kn(e, t);
14615
+ e.insertionMode = T.IN_BODY, Kn(e, t);
14616
14616
  }
14617
14617
  function p1(e, t) {
14618
14618
  switch (t.tagID) {
@@ -14629,13 +14629,13 @@ function p1(e, t) {
14629
14629
  break;
14630
14630
  }
14631
14631
  case o.NOFRAMES: {
14632
- Fe(e, t);
14632
+ He(e, t);
14633
14633
  break;
14634
14634
  }
14635
14635
  }
14636
14636
  }
14637
14637
  function m1(e, t) {
14638
- t.tagID === o.FRAMESET && !e.openElements.isRootHtmlElementCurrent() && (e.openElements.pop(), !e.fragmentContext && e.openElements.currentTagId !== o.FRAMESET && (e.insertionMode = E.AFTER_FRAMESET));
14638
+ t.tagID === o.FRAMESET && !e.openElements.isRootHtmlElementCurrent() && (e.openElements.pop(), !e.fragmentContext && e.openElements.currentTagId !== o.FRAMESET && (e.insertionMode = T.AFTER_FRAMESET));
14639
14639
  }
14640
14640
  function g1(e, t) {
14641
14641
  switch (t.tagID) {
@@ -14644,19 +14644,19 @@ function g1(e, t) {
14644
14644
  break;
14645
14645
  }
14646
14646
  case o.NOFRAMES: {
14647
- Fe(e, t);
14647
+ He(e, t);
14648
14648
  break;
14649
14649
  }
14650
14650
  }
14651
14651
  }
14652
14652
  function b1(e, t) {
14653
- t.tagID === o.HTML && (e.insertionMode = E.AFTER_AFTER_FRAMESET);
14653
+ t.tagID === o.HTML && (e.insertionMode = T.AFTER_AFTER_FRAMESET);
14654
14654
  }
14655
14655
  function E1(e, t) {
14656
14656
  t.tagID === o.HTML ? xe(e, t) : On(e, t);
14657
14657
  }
14658
14658
  function On(e, t) {
14659
- e.insertionMode = E.IN_BODY, Kn(e, t);
14659
+ e.insertionMode = T.IN_BODY, Kn(e, t);
14660
14660
  }
14661
14661
  function T1(e, t) {
14662
14662
  switch (t.tagID) {
@@ -14665,7 +14665,7 @@ function T1(e, t) {
14665
14665
  break;
14666
14666
  }
14667
14667
  case o.NOFRAMES: {
14668
- Fe(e, t);
14668
+ He(e, t);
14669
14669
  break;
14670
14670
  }
14671
14671
  }
@@ -14904,7 +14904,7 @@ function En(e) {
14904
14904
  };
14905
14905
  }
14906
14906
  function M1(e) {
14907
- return "children" in e ? Ct({ ...e, children: [] }) : Ct(e);
14907
+ return "children" in e ? kt({ ...e, children: [] }) : kt(e);
14908
14908
  }
14909
14909
  function Vo(e) {
14910
14910
  return function(t, n) {
@@ -15134,7 +15134,7 @@ function X1(e, ...t) {
15134
15134
  const oe = (e) => {
15135
15135
  const t = (n) => n[e] || [];
15136
15136
  return t.isThemeGetter = !0, t;
15137
- }, Ko = /^\[(?:([a-z-]+):)?(.+)\]$/i, K1 = /^\d+\/\d+$/, $1 = /* @__PURE__ */ new Set(["px", "full", "screen"]), J1 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Z1 = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, eb = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, tb = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nb = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Qe = (e) => At(e) || $1.has(e) || K1.test(e), et = (e) => Mt(e, "length", cb), At = (e) => !!e && !Number.isNaN(Number(e)), wr = (e) => Mt(e, "number", At), qt = (e) => !!e && Number.isInteger(Number(e)), rb = (e) => e.endsWith("%") && At(e.slice(0, -1)), Q = (e) => Ko.test(e), tt = (e) => J1.test(e), ib = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ab = (e) => Mt(e, ib, $o), sb = (e) => Mt(e, "position", $o), ob = /* @__PURE__ */ new Set(["image", "url"]), ub = (e) => Mt(e, ob, hb), lb = (e) => Mt(e, "", db), Vt = () => !0, Mt = (e, t, n) => {
15137
+ }, Ko = /^\[(?:([a-z-]+):)?(.+)\]$/i, K1 = /^\d+\/\d+$/, $1 = /* @__PURE__ */ new Set(["px", "full", "screen"]), J1 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Z1 = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, eb = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, tb = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nb = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Qe = (e) => Ct(e) || $1.has(e) || K1.test(e), et = (e) => Mt(e, "length", cb), Ct = (e) => !!e && !Number.isNaN(Number(e)), wr = (e) => Mt(e, "number", Ct), qt = (e) => !!e && Number.isInteger(Number(e)), rb = (e) => e.endsWith("%") && Ct(e.slice(0, -1)), Q = (e) => Ko.test(e), tt = (e) => J1.test(e), ib = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ab = (e) => Mt(e, ib, $o), sb = (e) => Mt(e, "position", $o), ob = /* @__PURE__ */ new Set(["image", "url"]), ub = (e) => Mt(e, ob, hb), lb = (e) => Mt(e, "", db), Vt = () => !0, Mt = (e, t, n) => {
15138
15138
  const r = Ko.exec(e);
15139
15139
  return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
15140
15140
  }, cb = (e) => (
@@ -15143,7 +15143,7 @@ const oe = (e) => {
15143
15143
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
15144
15144
  Z1.test(e) && !eb.test(e)
15145
15145
  ), $o = () => !1, db = (e) => tb.test(e), hb = (e) => nb.test(e), fb = () => {
15146
- const e = oe("colors"), t = oe("spacing"), n = oe("blur"), r = oe("brightness"), i = oe("borderColor"), a = oe("borderRadius"), s = oe("borderSpacing"), u = oe("borderWidth"), l = oe("contrast"), c = oe("grayscale"), d = oe("hueRotate"), h = oe("invert"), m = oe("gap"), f = oe("gradientColorStops"), b = oe("gradientColorStopPositions"), y = oe("inset"), k = oe("margin"), _ = oe("opacity"), S = oe("padding"), L = oe("saturate"), M = oe("scale"), F = oe("sepia"), N = oe("skew"), j = oe("space"), U = oe("translate"), z = () => ["auto", "contain", "none"], C = () => ["auto", "hidden", "clip", "visible", "scroll"], H = () => ["auto", Q, t], P = () => [Q, t], ee = () => ["", Qe, et], te = () => ["auto", At, Q], X = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], ue = () => ["solid", "dashed", "dotted", "double", "none"], de = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], pe = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], me = () => ["", "0", Q], w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], le = () => [At, Q];
15146
+ const e = oe("colors"), t = oe("spacing"), n = oe("blur"), r = oe("brightness"), i = oe("borderColor"), a = oe("borderRadius"), s = oe("borderSpacing"), u = oe("borderWidth"), l = oe("contrast"), c = oe("grayscale"), d = oe("hueRotate"), h = oe("invert"), m = oe("gap"), f = oe("gradientColorStops"), b = oe("gradientColorStopPositions"), y = oe("inset"), k = oe("margin"), _ = oe("opacity"), S = oe("padding"), L = oe("saturate"), M = oe("scale"), F = oe("sepia"), N = oe("skew"), j = oe("space"), U = oe("translate"), z = () => ["auto", "contain", "none"], C = () => ["auto", "hidden", "clip", "visible", "scroll"], H = () => ["auto", Q, t], P = () => [Q, t], ee = () => ["", Qe, et], te = () => ["auto", Ct, Q], X = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], ue = () => ["solid", "dashed", "dotted", "double", "none"], de = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], pe = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], me = () => ["", "0", Q], w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], le = () => [Ct, Q];
15147
15147
  return {
15148
15148
  cacheSize: 500,
15149
15149
  separator: ":",
@@ -15882,7 +15882,7 @@ const oe = (e) => {
15882
15882
  * @see https://tailwindcss.com/docs/line-clamp
15883
15883
  */
15884
15884
  "line-clamp": [{
15885
- "line-clamp": ["none", At, wr]
15885
+ "line-clamp": ["none", Ct, wr]
15886
15886
  }],
15887
15887
  /**
15888
15888
  * Line Height
@@ -17206,7 +17206,7 @@ var eu = /* @__PURE__ */ nn.createContext({
17206
17206
  initialContent: i,
17207
17207
  src: a,
17208
17208
  mountTarget: s
17209
- } = e, u = mb(e, bb), [l, c] = ze(!1), [d, h] = ze(), m = (M) => {
17209
+ } = e, u = mb(e, bb), [l, c] = Ye(!1), [d, h] = Ye(), m = (M) => {
17210
17210
  M && h(M);
17211
17211
  };
17212
17212
  yu(t, () => d, [d]);
@@ -17220,7 +17220,7 @@ var eu = /* @__PURE__ */ nn.createContext({
17220
17220
  }, [l]);
17221
17221
  zr(() => {
17222
17222
  !a && u.onLoad && l && u.onLoad(k.current);
17223
- }, [l]), Nt(() => {
17223
+ }, [l]), St(() => {
17224
17224
  if (d && !a) {
17225
17225
  var M;
17226
17226
  (M = d.contentWindow) == null || M.addEventListener("DOMContentLoaded", _);
@@ -17233,7 +17233,7 @@ var eu = /* @__PURE__ */ nn.createContext({
17233
17233
  };
17234
17234
  }, [d, _]);
17235
17235
  var S = () => {
17236
- var M, F = b(), N = (M = b()) == null ? void 0 : M.head, j = y(), U = (F == null ? void 0 : F.defaultView) || (F == null ? void 0 : F.parentView), z = /* @__PURE__ */ T(eu.Provider, {
17236
+ var M, F = b(), N = (M = b()) == null ? void 0 : M.head, j = y(), U = (F == null ? void 0 : F.defaultView) || (F == null ? void 0 : F.parentView), z = /* @__PURE__ */ E(eu.Provider, {
17237
17237
  value: {
17238
17238
  document: F,
17239
17239
  window: U
@@ -17242,7 +17242,7 @@ var eu = /* @__PURE__ */ nn.createContext({
17242
17242
  });
17243
17243
  return [N && r && /* @__PURE__ */ xr(r, N), d && j && /* @__PURE__ */ xr(z, j)];
17244
17244
  }, L = {};
17245
- return a ? (delete L.srcDoc, L.src = a, L.onLoad = u.onLoad) : L.srcDoc = f, /* @__PURE__ */ T("iframe", Fr({
17245
+ return a ? (delete L.srcDoc, L.src = a, L.onLoad = u.onLoad) : L.srcDoc = f, /* @__PURE__ */ E("iframe", Fr({
17246
17246
  title: u.title,
17247
17247
  ref: m
17248
17248
  }, u, {
@@ -17262,7 +17262,7 @@ function Eb({ children: e }) {
17262
17262
  return t ? xr(e, t) : (console.error("Portal container not found!"), null);
17263
17263
  }
17264
17264
  function Tb() {
17265
- return /* @__PURE__ */ T("div", { id: tu, className: "absolute size-full top-0 left-0" });
17265
+ return /* @__PURE__ */ E("div", { id: tu, className: "absolute size-full top-0 left-0" });
17266
17266
  }
17267
17267
  er.Portal = Eb;
17268
17268
  er.Container = Tb;
@@ -17295,13 +17295,13 @@ const ja = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Wa =
17295
17295
  ] : c;
17296
17296
  }, []);
17297
17297
  return Wa(e, s, l, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
17298
- }, It = {
17298
+ }, Nt = {
17299
17299
  x: 2,
17300
17300
  y: 2
17301
17301
  }, Ke = Au(
17302
17302
  Ur(
17303
17303
  ({ children: e, className: t, scale: n = 1.02, off: r = !1 }, i) => {
17304
- const [a, s] = ze(!1), [u, l] = ze({ x: 0, y: 0 });
17304
+ const [a, s] = Ye(!1), [u, l] = Ye({ x: 0, y: 0 });
17305
17305
  if (r || /translate/.test(
17306
17306
  e.props.className || ""
17307
17307
  )) return e;
@@ -17313,7 +17313,7 @@ const ja = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Wa =
17313
17313
  ), F = Math.max(
17314
17314
  -1,
17315
17315
  Math.min(1, L / (_.height / 2))
17316
- ), N = M * It.x, j = F * It.y;
17316
+ ), N = M * Nt.x, j = F * Nt.y;
17317
17317
  l({ x: N, y: j }), (z = (U = e.props).onMouseMove) == null || z.call(U, b);
17318
17318
  }, h = () => {
17319
17319
  var b, y;
@@ -17390,8 +17390,8 @@ const xb = wb(
17390
17390
  size: "default"
17391
17391
  }
17392
17392
  }
17393
- ), ke = Ye.forwardRef(
17394
- ({ className: e, variant: t = "default", size: n, asChild: r = !1, ...i }, a) => /* @__PURE__ */ T(Ke, { ref: a, children: /* @__PURE__ */ T(
17393
+ ), ke = je.forwardRef(
17394
+ ({ className: e, variant: t = "default", size: n, asChild: r = !1, ...i }, a) => /* @__PURE__ */ E(Ke, { ref: a, children: /* @__PURE__ */ E(
17395
17395
  r ? Xu : "button",
17396
17396
  {
17397
17397
  ...ne("ui_lib/btn"),
@@ -17402,8 +17402,8 @@ const xb = wb(
17402
17402
  ) })
17403
17403
  );
17404
17404
  ke.displayName = "Button";
17405
- const yb = Be.Root, _b = Be.Trigger, nu = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17406
- Be.Overlay,
17405
+ const yb = Fe.Root, _b = Fe.Trigger, nu = je.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ E(
17406
+ Fe.Overlay,
17407
17407
  {
17408
17408
  ref: n,
17409
17409
  className: q(
@@ -17413,11 +17413,11 @@ const yb = Be.Root, _b = Be.Trigger, nu = Ye.forwardRef(({ className: e, ...t },
17413
17413
  ...t
17414
17414
  }
17415
17415
  ));
17416
- nu.displayName = Be.Overlay.displayName;
17417
- const ru = Ye.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ Y(er.Portal, { children: [
17418
- /* @__PURE__ */ T(nu, {}),
17416
+ nu.displayName = Fe.Overlay.displayName;
17417
+ const ru = je.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ Y(er.Portal, { children: [
17418
+ /* @__PURE__ */ E(nu, {}),
17419
17419
  /* @__PURE__ */ Y(
17420
- Be.Content,
17420
+ Fe.Content,
17421
17421
  {
17422
17422
  ref: r,
17423
17423
  className: q(
@@ -17427,14 +17427,14 @@ const ru = Ye.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE_
17427
17427
  ...n,
17428
17428
  children: [
17429
17429
  t,
17430
- /* @__PURE__ */ T(
17431
- Be.Close,
17430
+ /* @__PURE__ */ E(
17431
+ Fe.Close,
17432
17432
  {
17433
17433
  asChild: !0,
17434
17434
  className: "absolute right-4 top-4 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
17435
17435
  children: /* @__PURE__ */ Y(ke, { size: "fit", variant: "ghost", children: [
17436
- /* @__PURE__ */ T(Ru, { className: "h-4 w-4" }),
17437
- /* @__PURE__ */ T("span", { className: "sr-only", children: "Close" })
17436
+ /* @__PURE__ */ E(Ru, { className: "h-4 w-4" }),
17437
+ /* @__PURE__ */ E("span", { className: "sr-only", children: "Close" })
17438
17438
  ] })
17439
17439
  }
17440
17440
  )
@@ -17442,9 +17442,9 @@ const ru = Ye.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE_
17442
17442
  }
17443
17443
  )
17444
17444
  ] }));
17445
- ru.displayName = Be.Content.displayName;
17446
- const iu = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17447
- Be.Title,
17445
+ ru.displayName = Fe.Content.displayName;
17446
+ const iu = je.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ E(
17447
+ Fe.Title,
17448
17448
  {
17449
17449
  ref: n,
17450
17450
  className: q(
@@ -17454,26 +17454,26 @@ const iu = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17454
17454
  ...t
17455
17455
  }
17456
17456
  ));
17457
- iu.displayName = Be.Title.displayName;
17458
- const Ab = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17459
- Be.Description,
17457
+ iu.displayName = Fe.Title.displayName;
17458
+ const Ab = je.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ E(
17459
+ Fe.Description,
17460
17460
  {
17461
17461
  ref: n,
17462
17462
  className: q("text-sm text-muted-foreground", e),
17463
17463
  ...t
17464
17464
  }
17465
17465
  ));
17466
- Ab.displayName = Be.Description.displayName;
17466
+ Ab.displayName = Fe.Description.displayName;
17467
17467
  function au({ attachment: e }) {
17468
17468
  const { name: t, size: n, type: r, url: i } = e, a = r.startsWith("image/"), s = r.startsWith("video/"), u = r.startsWith("audio/");
17469
- return u ? /* @__PURE__ */ T(Ke, { children: /* @__PURE__ */ T("div", { className: "w-full shrink-0 overflow-hidden", children: /* @__PURE__ */ Y("audio", { controls: !0, className: "w-full", children: [
17470
- /* @__PURE__ */ T("source", { src: i, type: r }),
17469
+ return u ? /* @__PURE__ */ E(Ke, { children: /* @__PURE__ */ E("div", { className: "w-full shrink-0 overflow-hidden", children: /* @__PURE__ */ Y("audio", { controls: !0, className: "w-full", children: [
17470
+ /* @__PURE__ */ E("source", { src: i, type: r }),
17471
17471
  "Your browser does not support the audio tag."
17472
- ] }) }) }) : s ? /* @__PURE__ */ T(Ke, { children: /* @__PURE__ */ T("div", { className: "w-full border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ Y("video", { controls: !0, children: [
17473
- /* @__PURE__ */ T("source", { src: i, type: r }),
17472
+ ] }) }) }) : s ? /* @__PURE__ */ E(Ke, { children: /* @__PURE__ */ E("div", { className: "w-full border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ Y("video", { controls: !0, children: [
17473
+ /* @__PURE__ */ E("source", { src: i, type: r }),
17474
17474
  "Your browser does not support the video tag."
17475
- ] }) }) }) : !a && !s && !u ? /* @__PURE__ */ T(Ke, { children: /* @__PURE__ */ T("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ Y("div", { className: "flex items-end gap-2 p-2", children: [
17476
- /* @__PURE__ */ T(
17475
+ ] }) }) }) : !a && !s && !u ? /* @__PURE__ */ E(Ke, { children: /* @__PURE__ */ E("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ Y("div", { className: "flex items-end gap-2 p-2", children: [
17476
+ /* @__PURE__ */ E(
17477
17477
  "a",
17478
17478
  {
17479
17479
  href: i,
@@ -17492,15 +17492,15 @@ function au({ attachment: e }) {
17492
17492
  " KB"
17493
17493
  ] })
17494
17494
  ] }) }) }) : /* @__PURE__ */ Y(yb, { children: [
17495
- /* @__PURE__ */ T(Ke, { children: /* @__PURE__ */ T(_b, { children: /* @__PURE__ */ T("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: a && /* @__PURE__ */ T("img", { src: i, className: "object-cover size-16", alt: t }) }) }) }),
17495
+ /* @__PURE__ */ E(Ke, { children: /* @__PURE__ */ E(_b, { children: /* @__PURE__ */ E("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: a && /* @__PURE__ */ E("img", { src: i, className: "object-cover size-16", alt: t }) }) }) }),
17496
17496
  /* @__PURE__ */ Y(
17497
17497
  ru,
17498
17498
  {
17499
17499
  "aria-describedby": void 0,
17500
17500
  className: "size-full rounded-3xl flex items-center justify-center bg-transparent backdrop-blur border-none gap-0",
17501
17501
  children: [
17502
- /* @__PURE__ */ T(iu, { className: "sr-only", children: "Image preview" }),
17503
- a && /* @__PURE__ */ T("div", { className: "size-fit shrink-0 rounded-2xl overflow-hidden max-h-full", children: /* @__PURE__ */ T("img", { src: i, className: "object-cover size-auto", alt: t }) })
17502
+ /* @__PURE__ */ E(iu, { className: "sr-only", children: "Image preview" }),
17503
+ a && /* @__PURE__ */ E("div", { className: "size-fit shrink-0 rounded-2xl overflow-hidden max-h-full", children: /* @__PURE__ */ E("img", { src: i, className: "object-cover size-auto", alt: t }) })
17504
17504
  ]
17505
17505
  }
17506
17506
  )
@@ -17517,8 +17517,8 @@ function Hn({
17517
17517
  dataComponentNames: u,
17518
17518
  classNames: l
17519
17519
  }) {
17520
- const { anchorTarget: c } = je(), { message: d, variant: h = "default" } = e;
17521
- return h === "error" ? /* @__PURE__ */ T("div", { children: /* @__PURE__ */ T("div", { className: "flex flex-row flex-wrap items-center justify-start", children: /* @__PURE__ */ T("div", { className: "leading-snug text-sm text-destructive", children: d }) }) }) : /* @__PURE__ */ Y(
17520
+ const { anchorTarget: c } = ve(), { message: d, variant: h = "default" } = e;
17521
+ return h === "error" ? /* @__PURE__ */ E("div", { children: /* @__PURE__ */ E("div", { className: "flex flex-row flex-wrap items-center justify-start", children: /* @__PURE__ */ E("div", { className: "leading-snug text-sm text-destructive", children: d }) }) }) : /* @__PURE__ */ Y(
17522
17522
  "div",
17523
17523
  {
17524
17524
  ...ne((u == null ? void 0 : u.messageContainer) ?? "chat/agent_msg/root"),
@@ -17527,8 +17527,8 @@ function Hn({
17527
17527
  l == null ? void 0 : l.messageContainer
17528
17528
  ),
17529
17529
  children: [
17530
- r && r.length > 0 && /* @__PURE__ */ T("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: r == null ? void 0 : r.map((m) => /* @__PURE__ */ T(au, { attachment: m }, m.id)) }),
17531
- d.length > 0 && /* @__PURE__ */ T(
17530
+ r && r.length > 0 && /* @__PURE__ */ E("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: r == null ? void 0 : r.map((m) => /* @__PURE__ */ E(au, { attachment: m }, m.id)) }),
17531
+ d.length > 0 && /* @__PURE__ */ E(
17532
17532
  "div",
17533
17533
  {
17534
17534
  ...ne((u == null ? void 0 : u.message) ?? "chat/agent_msg/msg"),
@@ -17549,7 +17549,7 @@ function Hn({
17549
17549
  !i && !a && !s && "rounded-l-md",
17550
17550
  l == null ? void 0 : l.message
17551
17551
  ),
17552
- children: /* @__PURE__ */ T(
17552
+ children: /* @__PURE__ */ E(
17553
17553
  so,
17554
17554
  {
17555
17555
  "data-type": n,
@@ -17557,7 +17557,7 @@ function Hn({
17557
17557
  remarkPlugins: [Rs],
17558
17558
  rehypePlugins: [Vo],
17559
17559
  components: {
17560
- a: ({ children: m, ...f }) => /* @__PURE__ */ T("a", { target: c ?? "_top", ...f, children: m })
17560
+ a: ({ children: m, ...f }) => /* @__PURE__ */ E("a", { target: c ?? "_top", ...f, children: m })
17561
17561
  },
17562
17562
  children: d
17563
17563
  }
@@ -17569,7 +17569,7 @@ function Hn({
17569
17569
  );
17570
17570
  }
17571
17571
  function Cb(e) {
17572
- return /* @__PURE__ */ T("div", { className: "w-full max-w-full overflow-auto shrink-0", children: /* @__PURE__ */ T(
17572
+ return /* @__PURE__ */ E("div", { className: "w-full max-w-full overflow-auto shrink-0", children: /* @__PURE__ */ E(
17573
17573
  "pre",
17574
17574
  {
17575
17575
  dir: "auto",
@@ -17578,7 +17578,7 @@ function Cb(e) {
17578
17578
  }
17579
17579
  ) });
17580
17580
  }
17581
- const hi = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17581
+ const hi = je.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ E(
17582
17582
  Ot.Root,
17583
17583
  {
17584
17584
  ref: n,
@@ -17591,7 +17591,7 @@ const hi = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17591
17591
  }
17592
17592
  ));
17593
17593
  hi.displayName = Ot.Root.displayName;
17594
- const fi = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17594
+ const fi = je.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ E(
17595
17595
  Ot.Image,
17596
17596
  {
17597
17597
  ref: n,
@@ -17600,7 +17600,7 @@ const fi = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17600
17600
  }
17601
17601
  ));
17602
17602
  fi.displayName = Ot.Image.displayName;
17603
- const pi = Ye.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ T(
17603
+ const pi = je.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ E(
17604
17604
  Ot.Fallback,
17605
17605
  {
17606
17606
  ref: n,
@@ -17618,8 +17618,8 @@ function Hr({
17618
17618
  }) {
17619
17619
  var n, r;
17620
17620
  return /* @__PURE__ */ Y(hi, { ...t, children: [
17621
- /* @__PURE__ */ T(fi, { src: (e == null ? void 0 : e.avatar) ?? "", alt: "Agent Icon" }),
17622
- (e == null ? void 0 : e.name) && /* @__PURE__ */ T(pi, { children: (r = (n = e == null ? void 0 : e.name) == null ? void 0 : n.slice(0, 1)) == null ? void 0 : r.toUpperCase() })
17621
+ /* @__PURE__ */ E(fi, { src: (e == null ? void 0 : e.avatar) ?? "", alt: "Agent Icon" }),
17622
+ (e == null ? void 0 : e.name) && /* @__PURE__ */ E(pi, { children: (r = (n = e == null ? void 0 : e.name) == null ? void 0 : n.slice(0, 1)) == null ? void 0 : r.toUpperCase() })
17623
17623
  ] });
17624
17624
  }
17625
17625
  const kb = 10, Ib = (e, t, n) => ({
@@ -17654,18 +17654,18 @@ const kb = 10, Ib = (e, t, n) => ({
17654
17654
  ...s
17655
17655
  }, u) => {
17656
17656
  const l = e ? Lb[e](t, i, a) : {};
17657
- return r && l.exit && typeof l.exit == "object" && !Array.isArray(l.exit) && (l.exit.transition = { duration: 0 }), /* @__PURE__ */ T(Qt.div, { ref: u, ...s, ...l, children: n });
17657
+ return r && l.exit && typeof l.exit == "object" && !Array.isArray(l.exit) && (l.exit.transition = { duration: 0 }), /* @__PURE__ */ E(Qt.div, { ref: u, ...s, ...l, children: n });
17658
17658
  }
17659
17659
  );
17660
17660
  ie.displayName = "MotionDiv";
17661
17661
  function Rb({ agent: e }) {
17662
- return /* @__PURE__ */ T(Ce, { children: /* @__PURE__ */ Y(
17662
+ return /* @__PURE__ */ E(Ce, { children: /* @__PURE__ */ Y(
17663
17663
  ie,
17664
17664
  {
17665
17665
  ...ne("chat/bot_loading/root"),
17666
17666
  className: "flex flex-row items-end w-full gap-2 animate-pulse",
17667
17667
  children: [
17668
- /* @__PURE__ */ T(Hr, { agent: e }),
17668
+ /* @__PURE__ */ E(Hr, { agent: e }),
17669
17669
  /* @__PURE__ */ Y(
17670
17670
  "div",
17671
17671
  {
@@ -17675,9 +17675,9 @@ function Rb({ agent: e }) {
17675
17675
  // 'border',
17676
17676
  ),
17677
17677
  children: [
17678
- /* @__PURE__ */ T(Qt.span, { className: "rounded-full animate-bounce [animation-delay:-0.3s]" }),
17679
- /* @__PURE__ */ T(Qt.span, { className: "rounded-full animate-bounce [animation-delay:-0.15s]" }),
17680
- /* @__PURE__ */ T(Qt.span, { className: "rounded-full animate-bounce" })
17678
+ /* @__PURE__ */ E(Qt.span, { className: "rounded-full animate-bounce [animation-delay:-0.3s]" }),
17679
+ /* @__PURE__ */ E(Qt.span, { className: "rounded-full animate-bounce [animation-delay:-0.15s]" }),
17680
+ /* @__PURE__ */ E(Qt.span, { className: "rounded-full animate-bounce" })
17681
17681
  ]
17682
17682
  }
17683
17683
  )
@@ -17685,7 +17685,7 @@ function Rb({ agent: e }) {
17685
17685
  }
17686
17686
  ) });
17687
17687
  }
17688
- const su = '@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}.grid{display:grid}.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-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-full{max-width:100%}.max-w-lg{max-width:32rem}.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-col-reverse{flex-direction:column-reverse}.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-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * 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\\/80{background-color:#000c}.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}.p-6{padding:1.5rem}.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{--tw-backdrop-blur: blur(8px);-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))}@media (min-width: 640px){.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\\:rounded-lg{border-radius:.5rem}.sm\\:text-left{text-align:left}}.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))}', Db = hn.Provider, vb = hn.Root, Pb = hn.Trigger, ou = Ye.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ T(
17688
+ const su = '@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}.grid{display:grid}.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-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-full{max-width:100%}.max-w-lg{max-width:32rem}.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-col-reverse{flex-direction:column-reverse}.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-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * 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\\/80{background-color:#000c}.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}.p-6{padding:1.5rem}.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{--tw-backdrop-blur: blur(8px);-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))}@media (min-width: 640px){.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\\:rounded-lg{border-radius:.5rem}.sm\\:text-left{text-align:left}}.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))}', Db = hn.Provider, vb = hn.Root, Pb = hn.Trigger, ou = je.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ E(
17689
17689
  hn.Content,
17690
17690
  {
17691
17691
  ref: r,
@@ -17705,8 +17705,8 @@ function on({
17705
17705
  align: r
17706
17706
  }) {
17707
17707
  return t ? /* @__PURE__ */ Y(vb, { children: [
17708
- /* @__PURE__ */ T(Pb, { asChild: !0, children: e }),
17709
- /* @__PURE__ */ T(
17708
+ /* @__PURE__ */ E(Pb, { asChild: !0, children: e }),
17709
+ /* @__PURE__ */ E(
17710
17710
  ou,
17711
17711
  {
17712
17712
  side: n,
@@ -17732,7 +17732,7 @@ function Bt() {
17732
17732
  }
17733
17733
  function Tn() {
17734
17734
  var s, u, l, c, d, h, m, f, b, y, k, _, S, L, M, F, N, j, U, z, C, H, P, ee, te, X, ue, de, pe, me, w, le, Oe;
17735
- const { isSmallScreen: e } = Bt(), { theme: t } = je(), n = (x, Ie) => e ? `100dv${x}` : Ie, r = {
17735
+ const { isSmallScreen: e } = Bt(), { theme: t } = ve(), n = (x, Ie) => e ? `100dv${x}` : Ie, r = {
17736
17736
  zIndex: ((s = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : s.zIndex) ?? 1e7,
17737
17737
  offset: {
17738
17738
  bottom: ((l = (u = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : u.offset) == null ? void 0 : l.bottom) ?? 20,
@@ -17757,7 +17757,7 @@ function Tn() {
17757
17757
  transitionTimingFunction: ((F = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : F.transitionTimingFunction) ?? "cubic-bezier(0.16, 1, 0.3, 1)",
17758
17758
  transitionDuration: ((N = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : N.transitionDuration) ?? "800ms",
17759
17759
  offset: {
17760
- side: e ? 0 : r.offset.bottom + r.size.button + It.y * 2 + (((U = (j = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : j.offset) == null ? void 0 : U.side) ?? 10),
17760
+ side: e ? 0 : r.offset.bottom + r.size.button + Nt.y * 2 + (((U = (j = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : j.offset) == null ? void 0 : U.side) ?? 10),
17761
17761
  align: e ? 0 : r.offset.right + (((C = (z = t == null ? void 0 : t.widgetContentContainer) == null ? void 0 : z.offset) == null ? void 0 : C.align) ?? 0)
17762
17762
  }
17763
17763
  },
@@ -17804,7 +17804,7 @@ function Tn() {
17804
17804
  100vh
17805
17805
  - ${i.widgetTrigger.offset.bottom}px
17806
17806
  - ${i.widgetContentContainer.offset.side}px
17807
- - ${It.y * 2}px
17807
+ - ${Nt.y * 2}px
17808
17808
  )`
17809
17809
  ),
17810
17810
  // Subtract the offset.right twice so that it adds a bit of padding to the left
@@ -17928,8 +17928,8 @@ function Bb(e) {
17928
17928
  }
17929
17929
  }
17930
17930
  const mi = () => {
17931
- const [e, t] = ze("ltr");
17932
- return Nt(() => {
17931
+ const [e, t] = Ye("ltr");
17932
+ return St(() => {
17933
17933
  const n = () => {
17934
17934
  typeof document > "u" || t(window.getComputedStyle(document.body).direction);
17935
17935
  };
@@ -18392,7 +18392,7 @@ function gi({
18392
18392
  const a = e.trim();
18393
18393
  a && r({ content: a });
18394
18394
  };
18395
- return /* @__PURE__ */ T(
18395
+ return /* @__PURE__ */ E(
18396
18396
  ke,
18397
18397
  {
18398
18398
  ...ne("chat/suggested_reply_btn"),
@@ -18409,12 +18409,12 @@ function Qb() {
18409
18409
  e.get("i-need-more-help"),
18410
18410
  e.get("this-was-helpful")
18411
18411
  ];
18412
- return /* @__PURE__ */ T(
18412
+ return /* @__PURE__ */ E(
18413
18413
  "div",
18414
18414
  {
18415
18415
  ...ne("chat/might_solve_user_issue_suggested_replies_container"),
18416
18416
  className: "flex items-center gap-2 p-2 pb-0 flex-wrap",
18417
- children: t.map((n) => /* @__PURE__ */ T(
18417
+ children: t.map((n) => /* @__PURE__ */ E(
18418
18418
  gi,
18419
18419
  {
18420
18420
  suggestion: n,
@@ -18429,10 +18429,10 @@ function Xb({
18429
18429
  file: { status: e, file: t, error: n },
18430
18430
  onCancel: r
18431
18431
  }) {
18432
- const [i, a] = ze(
18432
+ const [i, a] = Ye(
18433
18433
  null
18434
18434
  );
18435
- Nt(() => {
18435
+ St(() => {
18436
18436
  if (!t.type.startsWith("image/")) return;
18437
18437
  const l = new FileReader();
18438
18438
  return l.onload = () => a(l.result), l.onerror = () => console.error("Error reading file"), l.readAsDataURL(t), () => l.abort();
@@ -18440,24 +18440,24 @@ function Xb({
18440
18440
  const s = () => {
18441
18441
  switch (e) {
18442
18442
  case "uploading":
18443
- return /* @__PURE__ */ T(Hu, { className: "size-4 animate-spin" });
18443
+ return /* @__PURE__ */ E(Hu, { className: "size-4 animate-spin" });
18444
18444
  case "error":
18445
- return /* @__PURE__ */ T(Fu, { className: "size-4 text-destructive" });
18445
+ return /* @__PURE__ */ E(Fu, { className: "size-4 text-destructive" });
18446
18446
  default:
18447
18447
  return null;
18448
18448
  }
18449
18449
  }, u = () => {
18450
18450
  const l = t.type.split("/")[0];
18451
- return l === "image" && i ? /* @__PURE__ */ T(
18451
+ return l === "image" && i ? /* @__PURE__ */ E(
18452
18452
  "img",
18453
18453
  {
18454
18454
  src: typeof i == "string" ? i : "",
18455
18455
  className: "object-cover bg-secondary size-full",
18456
18456
  alt: t.name
18457
18457
  }
18458
- ) : l === "audio" ? /* @__PURE__ */ T(Uu, {}) : l === "video" ? /* @__PURE__ */ T(zu, {}) : /* @__PURE__ */ T(Yu, {});
18458
+ ) : l === "audio" ? /* @__PURE__ */ E(Uu, {}) : l === "video" ? /* @__PURE__ */ E(zu, {}) : /* @__PURE__ */ E(Yu, {});
18459
18459
  };
18460
- return /* @__PURE__ */ T(
18460
+ return /* @__PURE__ */ E(
18461
18461
  on,
18462
18462
  {
18463
18463
  side: "bottom",
@@ -18475,8 +18475,8 @@ function Xb({
18475
18475
  "flex items-center justify-center shrink-0"
18476
18476
  ),
18477
18477
  children: [
18478
- /* @__PURE__ */ T("div", { className: "absolute inset-0 flex items-center justify-center", children: s() }),
18479
- /* @__PURE__ */ T(
18478
+ /* @__PURE__ */ E("div", { className: "absolute inset-0 flex items-center justify-center", children: s() }),
18479
+ /* @__PURE__ */ E(
18480
18480
  "button",
18481
18481
  {
18482
18482
  type: "button",
@@ -18486,10 +18486,10 @@ function Xb({
18486
18486
  "opacity-0 group-hover:opacity-100 transition"
18487
18487
  ),
18488
18488
  onClick: r,
18489
- children: /* @__PURE__ */ T(Yr, { className: "size-4 text-primary-foreground" })
18489
+ children: /* @__PURE__ */ E(Yr, { className: "size-4 text-primary-foreground" })
18490
18490
  }
18491
18491
  ),
18492
- /* @__PURE__ */ T(u, {})
18492
+ /* @__PURE__ */ E(u, {})
18493
18493
  ]
18494
18494
  }
18495
18495
  )
@@ -18498,7 +18498,7 @@ function Xb({
18498
18498
  }
18499
18499
  function Kb() {
18500
18500
  var j;
18501
- const { isSmallScreen: e } = Bt(), t = un(null), { sendMessage: n } = ln(), { sessionState: r } = cn(), i = wn(), a = mi(), [s, u] = ze(""), {
18501
+ const { isSmallScreen: e } = Bt(), t = un(null), { sendMessage: n } = ln(), { sessionState: r } = cn(), i = wn(), a = mi(), [s, u] = Ye(""), {
18502
18502
  allFiles: l,
18503
18503
  emptyTheFiles: c,
18504
18504
  handleCancelUpload: d,
@@ -18557,7 +18557,7 @@ function Kb() {
18557
18557
  className: "p-2 relative space-y-1",
18558
18558
  ...L(),
18559
18559
  children: [
18560
- /* @__PURE__ */ T("input", { ...M() }),
18560
+ /* @__PURE__ */ E("input", { ...M() }),
18561
18561
  /* @__PURE__ */ Y(
18562
18562
  "div",
18563
18563
  {
@@ -18576,12 +18576,12 @@ function Kb() {
18576
18576
  ...ne("chat/input_box/textarea_and_attachments_container"),
18577
18577
  className: "flex flex-col gap-2",
18578
18578
  children: [
18579
- l.length > 0 && /* @__PURE__ */ T(
18579
+ l.length > 0 && /* @__PURE__ */ E(
18580
18580
  "div",
18581
18581
  {
18582
18582
  ...ne("chat/input_box/attachments_container"),
18583
18583
  className: "flex items-center gap-1",
18584
- children: /* @__PURE__ */ T(Ce, { mode: "popLayout", children: l.map((U) => /* @__PURE__ */ T(ie, { snapExit: !0, children: /* @__PURE__ */ T(
18584
+ children: /* @__PURE__ */ E(Ce, { mode: "popLayout", children: l.map((U) => /* @__PURE__ */ E(ie, { snapExit: !0, children: /* @__PURE__ */ E(
18585
18585
  Xb,
18586
18586
  {
18587
18587
  onCancel: () => d(U.id),
@@ -18590,7 +18590,7 @@ function Kb() {
18590
18590
  ) }, U.id)) })
18591
18591
  }
18592
18592
  ),
18593
- /* @__PURE__ */ T(
18593
+ /* @__PURE__ */ E(
18594
18594
  "textarea",
18595
18595
  {
18596
18596
  ...ne("chat/input_box/textarea"),
@@ -18623,13 +18623,13 @@ function Kb() {
18623
18623
  }
18624
18624
  ),
18625
18625
  /* @__PURE__ */ Y("div", { dir: a, className: "gap-2 flex justify-between rtl:text-right", children: [
18626
- /* @__PURE__ */ T(
18626
+ /* @__PURE__ */ E(
18627
18627
  on,
18628
18628
  {
18629
18629
  side: "top",
18630
18630
  align: "start",
18631
18631
  content: "attach files, (maximum size 5mb)",
18632
- children: /* @__PURE__ */ T(
18632
+ children: /* @__PURE__ */ E(
18633
18633
  ke,
18634
18634
  {
18635
18635
  onClick: F,
@@ -18638,19 +18638,19 @@ function Kb() {
18638
18638
  className: q(
18639
18639
  "rounded-full size-8 flex items-center justify-center p-0 overflow-hidden"
18640
18640
  ),
18641
- children: /* @__PURE__ */ T(Ce, { mode: "wait", children: b ? /* @__PURE__ */ T(ie, { children: /* @__PURE__ */ T(Du, { className: "size-4" }) }, "paper-clip") : /* @__PURE__ */ T(ie, { children: /* @__PURE__ */ T(vu, { className: "size-4" }) }, "image-icon") })
18641
+ children: /* @__PURE__ */ E(Ce, { mode: "wait", children: b ? /* @__PURE__ */ E(ie, { children: /* @__PURE__ */ E(Du, { className: "size-4" }) }, "paper-clip") : /* @__PURE__ */ E(ie, { children: /* @__PURE__ */ E(vu, { className: "size-4" }) }, "image-icon") })
18642
18642
  }
18643
18643
  )
18644
18644
  }
18645
18645
  ),
18646
- /* @__PURE__ */ T(on, { content: "send message", side: "top", align: "end", children: /* @__PURE__ */ T(
18646
+ /* @__PURE__ */ E(on, { content: "send message", side: "top", align: "end", children: /* @__PURE__ */ E(
18647
18647
  ke,
18648
18648
  {
18649
18649
  size: "fit",
18650
18650
  onClick: S,
18651
18651
  disabled: y || m || _,
18652
18652
  className: "rounded-full size-8 flex items-center justify-center p-0",
18653
- children: /* @__PURE__ */ T(Ce, { mode: "wait", children: y || m ? /* @__PURE__ */ T(ie, { snapExit: !0, children: /* @__PURE__ */ T(Pu, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ T(ie, { snapExit: !0, children: /* @__PURE__ */ T(Mu, { className: "size-4" }) }, "send") })
18653
+ children: /* @__PURE__ */ E(Ce, { mode: "wait", children: y || m ? /* @__PURE__ */ E(ie, { snapExit: !0, children: /* @__PURE__ */ E(Pu, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ E(ie, { snapExit: !0, children: /* @__PURE__ */ E(Mu, { className: "size-4" }) }, "send") })
18654
18654
  }
18655
18655
  ) })
18656
18656
  ] })
@@ -18662,26 +18662,26 @@ function Kb() {
18662
18662
  );
18663
18663
  }
18664
18664
  function $b() {
18665
- const { widgetCtx: e } = pt(), { canCreateNewSession: t } = cn(), { toSessionsScreen: n } = St(), r = wn();
18666
- return /* @__PURE__ */ T("div", { className: "p-2", children: /* @__PURE__ */ Y("div", { className: "p-2 bg-muted rounded-3xl space-y-2", children: [
18665
+ const { widgetCtx: e } = pt(), { router: t } = ve(), { canCreateNewSession: n } = cn(), { toSessionsScreen: r } = mt(), i = wn();
18666
+ return /* @__PURE__ */ E("div", { className: "p-2", children: /* @__PURE__ */ Y("div", { className: "p-2 bg-muted rounded-3xl space-y-2", children: [
18667
18667
  /* @__PURE__ */ Y("div", { className: "pl-2 flex items-center gap-1", children: [
18668
- /* @__PURE__ */ T(Bu, { className: "size-4 text-emerald-600" }),
18669
- /* @__PURE__ */ T("h2", { className: "text-sm font-medium", dir: "auto", children: r.get("session-closed-lead") })
18668
+ /* @__PURE__ */ E(Bu, { className: "size-4 text-emerald-600" }),
18669
+ /* @__PURE__ */ E("h2", { className: "text-sm font-medium", dir: "auto", children: i.get("session-closed-lead") })
18670
18670
  ] }),
18671
- /* @__PURE__ */ T("div", { children: t ? /* @__PURE__ */ T(
18671
+ /* @__PURE__ */ E("div", { children: n || t != null && t.chatScreenOnly ? /* @__PURE__ */ E(
18672
18672
  ke,
18673
18673
  {
18674
18674
  onClick: e.resetChat,
18675
18675
  className: "rounded-2xl w-full",
18676
- children: r.get("new-conversation")
18676
+ children: i.get("new-conversation")
18677
18677
  }
18678
- ) : /* @__PURE__ */ T(ke, { onClick: n, className: "rounded-2xl w-full", children: r.get("back-to-conversations") }) })
18678
+ ) : /* @__PURE__ */ E(ke, { onClick: r, className: "rounded-2xl w-full", children: i.get("back-to-conversations") }) })
18679
18679
  ] }) });
18680
18680
  }
18681
18681
  function Jb() {
18682
18682
  var a;
18683
- const { initialQuestions: e, initialQuestionsPosition: t } = je(), { sessionState: n } = cn(), { messagesState: r } = ln(), i = r.messages.length === 0;
18684
- return /* @__PURE__ */ T("footer", { children: /* @__PURE__ */ T("div", { children: /* @__PURE__ */ T(Ce, { mode: "wait", children: n.session && !((a = n.session) != null && a.isOpened) ? /* @__PURE__ */ T(
18683
+ const { initialQuestions: e, initialQuestionsPosition: t } = ve(), { sessionState: n } = cn(), { messagesState: r } = ln(), i = r.messages.length === 0;
18684
+ return /* @__PURE__ */ E("footer", { children: /* @__PURE__ */ E("div", { children: /* @__PURE__ */ E(Ce, { mode: "wait", children: n.session && !((a = n.session) != null && a.isOpened) ? /* @__PURE__ */ E(
18685
18685
  ie,
18686
18686
  {
18687
18687
  className: "overflow-hidden",
@@ -18690,7 +18690,7 @@ function Jb() {
18690
18690
  animate: { height: "auto" },
18691
18691
  exit: { height: 0 }
18692
18692
  },
18693
- children: /* @__PURE__ */ T($b, {})
18693
+ children: /* @__PURE__ */ E($b, {})
18694
18694
  },
18695
18695
  "session-closed"
18696
18696
  ) : /* @__PURE__ */ Y(
@@ -18703,15 +18703,15 @@ function Jb() {
18703
18703
  exit: { height: 0 }
18704
18704
  },
18705
18705
  children: [
18706
- r.lastAIResMightSolveUserIssue && /* @__PURE__ */ T(Qb, {}),
18707
- i && e && t !== "below-initial-messages" && /* @__PURE__ */ T("div", { className: "flex items-center flex-row justify-end gap-2 flex-wrap px-2", children: e == null ? void 0 : e.map((s, u) => /* @__PURE__ */ T(
18706
+ r.lastAIResMightSolveUserIssue && /* @__PURE__ */ E(Qb, {}),
18707
+ i && e && t !== "below-initial-messages" && /* @__PURE__ */ E("div", { className: "flex items-center flex-row justify-end gap-2 flex-wrap px-2", children: e == null ? void 0 : e.map((s, u) => /* @__PURE__ */ E(
18708
18708
  gi,
18709
18709
  {
18710
18710
  suggestion: s
18711
18711
  },
18712
18712
  `${s}-${u}`
18713
18713
  )) }),
18714
- /* @__PURE__ */ T(Kb, {})
18714
+ /* @__PURE__ */ E(Kb, {})
18715
18715
  ]
18716
18716
  },
18717
18717
  "chat-input"
@@ -18721,7 +18721,7 @@ function lu({
18721
18721
  className: e,
18722
18722
  ...t
18723
18723
  }) {
18724
- return /* @__PURE__ */ T(
18724
+ return /* @__PURE__ */ E(
18725
18725
  "div",
18726
18726
  {
18727
18727
  className: q("animate-pulse rounded-md bg-secondary", e),
@@ -18731,14 +18731,14 @@ function lu({
18731
18731
  }
18732
18732
  function Zb() {
18733
18733
  const { setIsOpen: e } = dn(), { isSmallScreen: t } = Bt();
18734
- return t ? /* @__PURE__ */ T(
18734
+ return t ? /* @__PURE__ */ E(
18735
18735
  ke,
18736
18736
  {
18737
18737
  variant: "ghost",
18738
18738
  size: "fit",
18739
18739
  className: "rounded-full",
18740
18740
  onClick: () => e(!1),
18741
- children: /* @__PURE__ */ T(Yr, { className: "size-4" })
18741
+ children: /* @__PURE__ */ E(Yr, { className: "size-4" })
18742
18742
  }
18743
18743
  ) : null;
18744
18744
  }
@@ -18746,7 +18746,7 @@ function eE() {
18746
18746
  var i;
18747
18747
  const { data: e } = zn(), {
18748
18748
  routerState: { screen: t }
18749
- } = St(), { textContent: n } = je();
18749
+ } = mt(), { textContent: n } = ve();
18750
18750
  return (() => {
18751
18751
  var a, s;
18752
18752
  switch (t) {
@@ -18761,47 +18761,54 @@ function eE() {
18761
18761
  }
18762
18762
  })() ?? ((i = e == null ? void 0 : e.data) == null ? void 0 : i.organizationName) ?? "Chat";
18763
18763
  }
18764
+ function tE(e) {
18765
+ switch (e) {
18766
+ case "chat":
18767
+ return ne("chat/header");
18768
+ case "sessions":
18769
+ return ne("sessions/header");
18770
+ case "welcome":
18771
+ return;
18772
+ default:
18773
+ return;
18774
+ }
18775
+ }
18776
+ function nE() {
18777
+ const { router: e } = ve(), {
18778
+ routerState: { screen: t },
18779
+ toSessionsScreen: n
18780
+ } = mt();
18781
+ return t !== "chat" || e != null && e.chatScreenOnly ? null : /* @__PURE__ */ E(
18782
+ ke,
18783
+ {
18784
+ variant: "ghost",
18785
+ size: "fit",
18786
+ className: "rounded-full",
18787
+ onClick: n,
18788
+ children: /* @__PURE__ */ E(ju, { className: "size-4" })
18789
+ }
18790
+ );
18791
+ }
18764
18792
  function cu() {
18765
18793
  const {
18766
- routerState: { screen: e },
18767
- toSessionsScreen: t
18768
- } = St(), { isLoading: n } = zn(), r = mi(), i = (() => {
18769
- switch (e) {
18770
- case "chat":
18771
- return ne("chat/header");
18772
- case "sessions":
18773
- return ne("sessions/header");
18774
- case "welcome":
18775
- return;
18776
- default:
18777
- return;
18778
- }
18779
- })(), a = eE();
18780
- return /* @__PURE__ */ T("header", { ...i, className: "py-2 px-4 shrink-0", children: /* @__PURE__ */ Y("div", { dir: r, className: "flex items-center gap-2", children: [
18781
- e === "chat" && /* @__PURE__ */ T(
18782
- ke,
18783
- {
18784
- variant: "ghost",
18785
- size: "fit",
18786
- className: "rounded-full",
18787
- onClick: t,
18788
- children: /* @__PURE__ */ T(ju, { className: "size-4" })
18789
- }
18790
- ),
18791
- /* @__PURE__ */ T(
18794
+ routerState: { screen: e }
18795
+ } = mt(), { isLoading: t } = zn(), n = mi(), r = tE(e), i = eE();
18796
+ return /* @__PURE__ */ E("header", { ...r, className: "py-2 px-4 shrink-0", children: /* @__PURE__ */ Y("div", { dir: n, className: "flex items-center gap-2", children: [
18797
+ /* @__PURE__ */ E(nE, {}),
18798
+ /* @__PURE__ */ E(
18792
18799
  "div",
18793
18800
  {
18794
18801
  className: q(
18795
18802
  "flex-1 h-8 flex items-center",
18796
18803
  e === "sessions" && "pl-2"
18797
18804
  ),
18798
- children: /* @__PURE__ */ T(Ce, { mode: "wait", children: n ? /* @__PURE__ */ T(ie, { snapExit: !0, children: /* @__PURE__ */ T(lu, { className: "h-5 w-1/2" }) }, "skeleton") : /* @__PURE__ */ T(ie, { children: /* @__PURE__ */ T("h2", { className: "font-semibold", children: a }) }, "organization-name") })
18805
+ children: /* @__PURE__ */ E(Ce, { mode: "wait", children: t ? /* @__PURE__ */ E(ie, { snapExit: !0, children: /* @__PURE__ */ E(lu, { className: "h-5 w-1/2" }) }, "skeleton") : /* @__PURE__ */ E(ie, { children: /* @__PURE__ */ E("h2", { className: "font-semibold", children: i }) }, "organization-name") })
18799
18806
  }
18800
18807
  ),
18801
- /* @__PURE__ */ T(Zb, {})
18808
+ /* @__PURE__ */ E(Zb, {})
18802
18809
  ] }) });
18803
18810
  }
18804
- function tE({
18811
+ function rE({
18805
18812
  isFirstInGroup: e,
18806
18813
  isLastInGroup: t,
18807
18814
  isAloneInGroup: n,
@@ -18811,7 +18818,7 @@ function tE({
18811
18818
  if (r.data.action) {
18812
18819
  const s = i.getComponent(r.data.action.name);
18813
18820
  if (s)
18814
- return /* @__PURE__ */ T(
18821
+ return /* @__PURE__ */ E(
18815
18822
  s,
18816
18823
  {
18817
18824
  ...r,
@@ -18823,7 +18830,7 @@ function tE({
18823
18830
  );
18824
18831
  }
18825
18832
  const a = i.getComponent(r.component);
18826
- return a ? /* @__PURE__ */ T(
18833
+ return a ? /* @__PURE__ */ E(
18827
18834
  a,
18828
18835
  {
18829
18836
  ...r,
@@ -18832,7 +18839,7 @@ function tE({
18832
18839
  isLastInGroup: t,
18833
18840
  isAloneInGroup: n
18834
18841
  }
18835
- ) : /* @__PURE__ */ T(
18842
+ ) : /* @__PURE__ */ E(
18836
18843
  Hn,
18837
18844
  {
18838
18845
  ...r,
@@ -18853,7 +18860,7 @@ function Va({
18853
18860
  ...ne("chat/agent_msg_group/root"),
18854
18861
  className: q("flex items-end gap-2"),
18855
18862
  children: [
18856
- /* @__PURE__ */ T(on, { content: t == null ? void 0 : t.name, side: "right", align: "end", children: /* @__PURE__ */ T(
18863
+ /* @__PURE__ */ E(on, { content: t == null ? void 0 : t.name, side: "right", align: "end", children: /* @__PURE__ */ E(
18857
18864
  Hr,
18858
18865
  {
18859
18866
  ...ne("chat/agent_msg_group/root/avatar"),
@@ -18868,20 +18875,20 @@ function Va({
18868
18875
  ...ne("chat/agent_msg_group/avatar_and_msgs/root"),
18869
18876
  className: q("flex items-end gap-2"),
18870
18877
  children: [
18871
- /* @__PURE__ */ T(on, { content: t == null ? void 0 : t.name, side: "right", align: "end", children: /* @__PURE__ */ T(
18878
+ /* @__PURE__ */ E(on, { content: t == null ? void 0 : t.name, side: "right", align: "end", children: /* @__PURE__ */ E(
18872
18879
  Hr,
18873
18880
  {
18874
18881
  ...ne("chat/agent_msg_group/avatar_and_msgs/avatar"),
18875
18882
  agent: t
18876
18883
  }
18877
18884
  ) }),
18878
- /* @__PURE__ */ T(
18885
+ /* @__PURE__ */ E(
18879
18886
  "div",
18880
18887
  {
18881
18888
  ...ne("chat/agent_msg_group/avatar_and_msgs/msgs"),
18882
18889
  className: q("flex-1 flex flex-col gap-1"),
18883
- children: e.map((r, i, a) => /* @__PURE__ */ T(
18884
- tE,
18890
+ children: e.map((r, i, a) => /* @__PURE__ */ E(
18891
+ rE,
18885
18892
  {
18886
18893
  isFirstInGroup: i === 0,
18887
18894
  isLastInGroup: i === a.length - 1,
@@ -18895,12 +18902,12 @@ function Va({
18895
18902
  ]
18896
18903
  }
18897
18904
  ),
18898
- n && n.length > 0 && /* @__PURE__ */ T(
18905
+ n && n.length > 0 && /* @__PURE__ */ E(
18899
18906
  "div",
18900
18907
  {
18901
18908
  ...ne("chat/agent_msg_group/suggestions"),
18902
18909
  className: q("flex flex-col gap-1 pl-8"),
18903
- children: n == null ? void 0 : n.map((r, i) => /* @__PURE__ */ T(
18910
+ children: n == null ? void 0 : n.map((r, i) => /* @__PURE__ */ E(
18904
18911
  gi,
18905
18912
  {
18906
18913
  suggestion: r
@@ -18914,7 +18921,7 @@ function Va({
18914
18921
  }
18915
18922
  );
18916
18923
  }
18917
- function nE({
18924
+ function iE({
18918
18925
  message: e,
18919
18926
  isFirstInGroup: t,
18920
18927
  isLastInGroup: n,
@@ -18927,8 +18934,8 @@ function nE({
18927
18934
  ...ne("chat/user_msg/root"),
18928
18935
  className: "w-5/6 flex flex-col items-end gap-1",
18929
18936
  children: [
18930
- e.attachments && e.attachments.length > 0 && /* @__PURE__ */ T("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (i = e.attachments) == null ? void 0 : i.map((a) => /* @__PURE__ */ T(au, { attachment: a }, a.id)) }),
18931
- e.content.length > 0 && /* @__PURE__ */ T(
18937
+ e.attachments && e.attachments.length > 0 && /* @__PURE__ */ E("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (i = e.attachments) == null ? void 0 : i.map((a) => /* @__PURE__ */ E(au, { attachment: a }, a.id)) }),
18938
+ e.content.length > 0 && /* @__PURE__ */ E(
18932
18939
  "div",
18933
18940
  {
18934
18941
  ...ne("chat/user_msg/msg"),
@@ -18954,16 +18961,16 @@ function nE({
18954
18961
  }
18955
18962
  );
18956
18963
  }
18957
- function rE({
18964
+ function aE({
18958
18965
  messages: e
18959
18966
  }) {
18960
- return /* @__PURE__ */ T(
18967
+ return /* @__PURE__ */ E(
18961
18968
  "div",
18962
18969
  {
18963
18970
  ...ne("chat/user_msg_group/root"),
18964
18971
  className: q("group", "flex flex-col gap-1 justify-end items-end"),
18965
- children: e.map((t, n, r) => /* @__PURE__ */ T(
18966
- nE,
18972
+ children: e.map((t, n, r) => /* @__PURE__ */ E(
18973
+ iE,
18967
18974
  {
18968
18975
  message: t,
18969
18976
  isFirstInGroup: n === 0,
@@ -18975,7 +18982,7 @@ function rE({
18975
18982
  }
18976
18983
  );
18977
18984
  }
18978
- function iE(e) {
18985
+ function sE(e) {
18979
18986
  const t = [];
18980
18987
  let n = null;
18981
18988
  return e.forEach((r) => {
@@ -18983,23 +18990,23 @@ function iE(e) {
18983
18990
  (!n || ((i = n[0]) == null ? void 0 : i.type) !== r.type) && (n = [], t.push(n)), ((a = n[0]) == null ? void 0 : a.type) === "FROM_AGENT" && r.type === "FROM_AGENT" && ((s = r.agent) == null ? void 0 : s.id) !== ((u = n[0].agent) == null ? void 0 : u.id) && (n = [], t.push(n)), n.push(r);
18984
18991
  }), t;
18985
18992
  }
18986
- function aE(e) {
18993
+ function oE(e) {
18987
18994
  var t;
18988
18995
  return ((t = e == null ? void 0 : e[0]) == null ? void 0 : t.type) === "FROM_USER";
18989
18996
  }
18990
- function sE(e) {
18997
+ function uE(e) {
18991
18998
  var t;
18992
18999
  return ((t = e == null ? void 0 : e[0]) == null ? void 0 : t.type) === "FROM_BOT";
18993
19000
  }
18994
- function oE(e) {
19001
+ function lE(e) {
18995
19002
  var t;
18996
19003
  return ((t = e == null ? void 0 : e[0]) == null ? void 0 : t.type) === "FROM_AGENT";
18997
19004
  }
18998
- function uE() {
19005
+ function cE() {
18999
19006
  const {
19000
19007
  messagesState: { messages: e }
19001
- } = ln(), { isAwaitingBotReply: t } = Xa(), { componentStore: n } = pt(), r = je(), { initialQuestions: i, initialQuestionsPosition: a } = r, s = zr(
19002
- () => iE(e),
19008
+ } = ln(), { isAwaitingBotReply: t } = Xa(), { componentStore: n } = pt(), r = ve(), { initialQuestions: i, initialQuestionsPosition: a } = r, s = zr(
19009
+ () => sE(e),
19003
19010
  [e]
19004
19011
  ), u = r.persistentInitialMessages || [], l = !r.initialMessages || r.initialMessages.length === 0 ? ["Hello, how can I help you?"] : r.initialMessages, c = n.getComponent(
19005
19012
  "loading"
@@ -19010,7 +19017,7 @@ function uE() {
19010
19017
  m && (m.scrollTop = m.scrollHeight);
19011
19018
  }, 0);
19012
19019
  }
19013
- return Nt(() => {
19020
+ return St(() => {
19014
19021
  h();
19015
19022
  }, [e]), /* @__PURE__ */ Y(
19016
19023
  "div",
@@ -19019,7 +19026,7 @@ function uE() {
19019
19026
  ref: d,
19020
19027
  className: "max-h-full scroll-smooth relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
19021
19028
  children: [
19022
- /* @__PURE__ */ T("div", { ...ne("chat/persistent_initial_msgs/root"), children: u.map((m, f, b) => /* @__PURE__ */ T(
19029
+ /* @__PURE__ */ E("div", { ...ne("chat/persistent_initial_msgs/root"), children: u.map((m, f, b) => /* @__PURE__ */ E(
19023
19030
  Hn,
19024
19031
  {
19025
19032
  component: "bot_message",
@@ -19043,7 +19050,7 @@ function uE() {
19043
19050
  },
19044
19051
  `${m}-${f}`
19045
19052
  )) }),
19046
- e.length === 0 && /* @__PURE__ */ T(
19053
+ e.length === 0 && /* @__PURE__ */ E(
19047
19054
  Va,
19048
19055
  {
19049
19056
  messages: l.map(
@@ -19063,11 +19070,11 @@ function uE() {
19063
19070
  var y, k, _;
19064
19071
  const f = (y = m == null ? void 0 : m[0]) == null ? void 0 : y.type, b = (k = m[0]) == null ? void 0 : k.id;
19065
19072
  if (!f || !b) return null;
19066
- if (aE(m))
19067
- return /* @__PURE__ */ T(rE, { messages: m }, b);
19068
- if (sE(m) || oE(m)) {
19073
+ if (oE(m))
19074
+ return /* @__PURE__ */ E(aE, { messages: m }, b);
19075
+ if (uE(m) || lE(m)) {
19069
19076
  const S = (_ = m[0]) == null ? void 0 : _.agent;
19070
- return /* @__PURE__ */ T(
19077
+ return /* @__PURE__ */ E(
19071
19078
  Va,
19072
19079
  {
19073
19080
  messages: m,
@@ -19078,20 +19085,20 @@ function uE() {
19078
19085
  }
19079
19086
  return null;
19080
19087
  }),
19081
- t && c && /* @__PURE__ */ T(c, { agent: r.bot })
19088
+ t && c && /* @__PURE__ */ E(c, { agent: r.bot })
19082
19089
  ]
19083
19090
  }
19084
19091
  );
19085
19092
  }
19086
19093
  function du({ className: e }) {
19087
- return /* @__PURE__ */ T(Wu, { className: q("size-4 animate-spin", e) });
19094
+ return /* @__PURE__ */ E(Wu, { className: q("size-4 animate-spin", e) });
19088
19095
  }
19089
19096
  function bi({
19090
19097
  width: e,
19091
19098
  height: t
19092
19099
  }) {
19093
19100
  const { isSmallScreen: n } = Bt(), { contentIframeRef: r } = pt();
19094
- Nt(() => {
19101
+ St(() => {
19095
19102
  var i, a;
19096
19103
  e && ((i = r == null ? void 0 : r.current) == null || i.style.setProperty(
19097
19104
  "--opencx-widget-width",
@@ -19102,7 +19109,7 @@ function bi({
19102
19109
  ));
19103
19110
  }, [n, t, e, r]);
19104
19111
  }
19105
- function lE() {
19112
+ function dE() {
19106
19113
  const {
19107
19114
  messagesState: { isInitialFetchLoading: e }
19108
19115
  } = ln(), {
@@ -19113,7 +19120,7 @@ function lE() {
19113
19120
  height: n.screens.chat.height
19114
19121
  });
19115
19122
  const r = un((t == null ? void 0 : t.id) || "chat").current;
19116
- return /* @__PURE__ */ T(
19123
+ return /* @__PURE__ */ E(
19117
19124
  "div",
19118
19125
  {
19119
19126
  ...ne("chat/root"),
@@ -19129,12 +19136,12 @@ function lE() {
19129
19136
  // Relative to the iframe
19130
19137
  },
19131
19138
  children: /* @__PURE__ */ Y("div", { className: "size-full justify-between flex flex-col", children: [
19132
- /* @__PURE__ */ T(cu, {}),
19133
- /* @__PURE__ */ T(Ce, { mode: "wait", children: e ? /* @__PURE__ */ T(
19139
+ /* @__PURE__ */ E(cu, {}),
19140
+ /* @__PURE__ */ E(Ce, { mode: "wait", children: e ? /* @__PURE__ */ E(
19134
19141
  ie,
19135
19142
  {
19136
19143
  className: "flex flex-col items-center justify-center w-full flex-1",
19137
- children: /* @__PURE__ */ T(du, {})
19144
+ children: /* @__PURE__ */ E(du, {})
19138
19145
  },
19139
19146
  "loading"
19140
19147
  ) : /* @__PURE__ */ Y(
@@ -19143,8 +19150,8 @@ function lE() {
19143
19150
  className: "flex flex-col w-full flex-1 overflow-auto",
19144
19151
  snapExit: !0,
19145
19152
  children: [
19146
- /* @__PURE__ */ T(uE, {}),
19147
- /* @__PURE__ */ T(Jb, {})
19153
+ /* @__PURE__ */ E(cE, {}),
19154
+ /* @__PURE__ */ E(Jb, {})
19148
19155
  ]
19149
19156
  },
19150
19157
  r
@@ -19153,10 +19160,10 @@ function lE() {
19153
19160
  }
19154
19161
  );
19155
19162
  }
19156
- const Ln = Ye.forwardRef(
19163
+ const Ln = je.forwardRef(
19157
19164
  ({ className: e, type: t, ...n }, r) => {
19158
19165
  const { isSmallScreen: i } = Bt(), a = mi();
19159
- return /* @__PURE__ */ T(Ke, { ref: r, children: /* @__PURE__ */ T(
19166
+ return /* @__PURE__ */ E(Ke, { ref: r, children: /* @__PURE__ */ E(
19160
19167
  "input",
19161
19168
  {
19162
19169
  dir: a,
@@ -19176,8 +19183,8 @@ const Ln = Ye.forwardRef(
19176
19183
  }
19177
19184
  );
19178
19185
  Ln.displayName = "Input";
19179
- function cE({ className: e }) {
19180
- return /* @__PURE__ */ T(
19186
+ function hE({ className: e }) {
19187
+ return /* @__PURE__ */ E(
19181
19188
  "svg",
19182
19189
  {
19183
19190
  width: "26",
@@ -19186,7 +19193,7 @@ function cE({ className: e }) {
19186
19193
  fill: "none",
19187
19194
  xmlns: "http://www.w3.org/2000/svg",
19188
19195
  className: q("text-primary-foreground", e),
19189
- children: /* @__PURE__ */ T(
19196
+ children: /* @__PURE__ */ E(
19190
19197
  "path",
19191
19198
  {
19192
19199
  d: "M1.34103 25.6132H5.44245C5.74203 25.6228 6.02673 25.7462 6.23867 25.9582C6.45062 26.1703 6.5739 26.4551 6.58348 26.7548V30.8584C6.59305 31.1581 6.71634 31.443 6.92828 31.655C7.14023 31.8671 7.42492 31.9904 7.7245 32H18.2894C18.589 31.9904 18.8737 31.8671 19.0856 31.655C19.2976 31.443 19.4209 31.1581 19.4304 30.8584V26.7548C19.4401 26.4545 19.5638 26.1692 19.7765 25.957C19.9892 25.7449 20.2748 25.6219 20.5749 25.6132H24.659C24.9586 25.6036 25.2433 25.4803 25.4552 25.2682C25.6671 25.0562 25.7904 24.7713 25.8 24.4716V7.52839C25.7904 7.22865 25.6671 6.94381 25.4552 6.73176C25.2433 6.5197 24.9586 6.39635 24.659 6.38677H20.561C20.2603 6.37802 19.9742 6.25457 19.7614 6.04169C19.5487 5.82881 19.4253 5.54261 19.4165 5.24168V1.14161C19.4072 0.84419 19.2858 0.561291 19.0768 0.349589C18.8678 0.137887 18.5865 0.0130193 18.2894 0L7.7245 0C7.42492 0.00957792 7.14023 0.132929 6.92828 0.344983C6.71634 0.557036 6.59305 0.841878 6.58348 1.14161V5.24168C6.57477 5.54203 6.45187 5.82773 6.23983 6.04052C6.0278 6.25331 5.74262 6.37715 5.44245 6.38677H1.34103C1.04144 6.39635 0.756749 6.5197 0.544805 6.73176C0.332861 6.94381 0.209574 7.22865 0.200001 7.52839V24.4716C0.209574 24.7713 0.332861 25.0562 0.544805 25.2682C0.756749 25.4803 1.04144 25.6036 1.34103 25.6132ZM6.58348 24.4716V7.52839C6.59305 7.22865 6.71634 6.94381 6.92828 6.73176C7.14023 6.5197 7.42492 6.39635 7.7245 6.38677H18.2894C18.589 6.39635 18.8737 6.5197 19.0856 6.73176C19.2976 6.94381 19.4209 7.22865 19.4304 7.52839V24.4716C19.4209 24.7713 19.2976 25.0562 19.0856 25.2682C18.8737 25.4803 18.589 25.6036 18.2894 25.6132H7.7245C7.42492 25.6036 7.14023 25.4803 6.92828 25.2682C6.71634 25.0562 6.59305 24.7713 6.58348 24.4716Z",
@@ -19197,15 +19204,15 @@ function cE({ className: e }) {
19197
19204
  );
19198
19205
  }
19199
19206
  function hu({ className: e }) {
19200
- const { token: t } = je();
19201
- return /* @__PURE__ */ T(
19207
+ const { token: t } = ve();
19208
+ return /* @__PURE__ */ E(
19202
19209
  "div",
19203
19210
  {
19204
19211
  className: q(
19205
19212
  "flex items-center justify-center gap-2 p-2 pt-0",
19206
19213
  e
19207
19214
  ),
19208
- children: /* @__PURE__ */ T(Ke, { children: /* @__PURE__ */ Y(
19215
+ children: /* @__PURE__ */ E(Ke, { children: /* @__PURE__ */ Y(
19209
19216
  "a",
19210
19217
  {
19211
19218
  href: `https://open.cx/?ref=${t}`,
@@ -19217,11 +19224,11 @@ function hu({ className: e }) {
19217
19224
  "hover:text-primary [&_svg]:hover:text-primary"
19218
19225
  ),
19219
19226
  children: [
19220
- /* @__PURE__ */ T("span", { children: "Powered by" }),
19221
- /* @__PURE__ */ T("span", { children: " " }),
19227
+ /* @__PURE__ */ E("span", { children: "Powered by" }),
19228
+ /* @__PURE__ */ E("span", { children: " " }),
19222
19229
  /* @__PURE__ */ Y("span", { className: "flex items-center gap-[1px]", children: [
19223
- /* @__PURE__ */ T("span", { children: /* @__PURE__ */ T(cE, { className: "size-3 inline-block" }) }),
19224
- /* @__PURE__ */ T("span", { className: "font-semibold", children: "open" })
19230
+ /* @__PURE__ */ E("span", { children: /* @__PURE__ */ E(hE, { className: "size-3 inline-block" }) }),
19231
+ /* @__PURE__ */ E("span", { className: "font-semibold", children: "open" })
19225
19232
  ] })
19226
19233
  ]
19227
19234
  }
@@ -19229,9 +19236,9 @@ function hu({ className: e }) {
19229
19236
  }
19230
19237
  );
19231
19238
  }
19232
- function dE() {
19239
+ function fE() {
19233
19240
  const { contentIframeRef: e } = pt(), t = un(null);
19234
- return Nt(() => {
19241
+ return St(() => {
19235
19242
  const n = e == null ? void 0 : e.current;
19236
19243
  if (n && t.current) {
19237
19244
  const r = t.current;
@@ -19251,23 +19258,23 @@ function dE() {
19251
19258
  }
19252
19259
  }, [e]), { observedElementRef: t };
19253
19260
  }
19254
- const hE = tr.object({
19261
+ const pE = tr.object({
19255
19262
  name: tr.string().min(2),
19256
19263
  email: tr.string().email()
19257
19264
  });
19258
- function fE() {
19265
+ function mE() {
19259
19266
  var _, S, L, M, F, N, j, U, z;
19260
- const { setIsOpen: e } = dn(), { createUnverifiedContact: t } = Nu(), { isSmallScreen: n } = Bt(), r = je(), { theme: i } = Tn(), a = wn(), { data: s } = zn(), { observedElementRef: u } = dE();
19267
+ const { setIsOpen: e } = dn(), { createUnverifiedContact: t } = Nu(), { isSmallScreen: n } = Bt(), r = ve(), { theme: i } = Tn(), a = wn(), { data: s } = zn(), { observedElementRef: u } = fE();
19261
19268
  bi({
19262
19269
  height: void 0,
19263
19270
  width: i.screens.welcome.width
19264
19271
  });
19265
- const [l, c] = ze(((_ = r.prefillUserData) == null ? void 0 : _.name) || ""), [d, h] = ze(((S = r.prefillUserData) == null ? void 0 : S.email) || ""), m = (r.extraDataCollectionFields || []).filter(
19272
+ const [l, c] = Ye(((_ = r.prefillUserData) == null ? void 0 : _.name) || ""), [d, h] = Ye(((S = r.prefillUserData) == null ? void 0 : S.email) || ""), m = (r.extraDataCollectionFields || []).filter(
19266
19273
  (C) => C !== "name" && C !== "email" && !!C
19267
- ), [f, b] = ze({}), [y, k] = Su(
19274
+ ), [f, b] = Ye({}), [y, k] = Su(
19268
19275
  async (C) => {
19269
19276
  C.preventDefault();
19270
- const H = hE.safeParse({ name: l, email: d });
19277
+ const H = pE.safeParse({ name: l, email: d });
19271
19278
  H.success && await t(
19272
19279
  {
19273
19280
  email: H.data.email,
@@ -19279,7 +19286,7 @@ function fE() {
19279
19286
  },
19280
19287
  [l, d, f]
19281
19288
  );
19282
- return /* @__PURE__ */ T(
19289
+ return /* @__PURE__ */ E(
19283
19290
  "div",
19284
19291
  {
19285
19292
  style: {
@@ -19313,17 +19320,17 @@ function fE() {
19313
19320
  "text-primary-foreground"
19314
19321
  ),
19315
19322
  children: [
19316
- n && /* @__PURE__ */ T(ie, { className: "absolute top-6 right-6", children: /* @__PURE__ */ T(ke, { size: "selfless", onClick: () => e(!1), children: /* @__PURE__ */ T(Yr, { className: "size-4" }) }) }),
19317
- /* @__PURE__ */ T("div", { className: "flex items-center justify-between w-full mb-2", children: (L = r.assets) != null && L.organizationLogo ? /* @__PURE__ */ T(
19323
+ n && /* @__PURE__ */ E(ie, { className: "absolute top-6 right-6", children: /* @__PURE__ */ E(ke, { size: "selfless", onClick: () => e(!1), children: /* @__PURE__ */ E(Yr, { className: "size-4" }) }) }),
19324
+ /* @__PURE__ */ E("div", { className: "flex items-center justify-between w-full mb-2", children: (L = r.assets) != null && L.organizationLogo ? /* @__PURE__ */ E(
19318
19325
  "img",
19319
19326
  {
19320
19327
  src: (M = r.assets) == null ? void 0 : M.organizationLogo,
19321
19328
  alt: "Company Logo",
19322
19329
  className: "h-8 w-auto object-contain"
19323
19330
  }
19324
- ) : /* @__PURE__ */ T("h2", { className: "font-bold text-sm", dir: "auto", children: (F = s == null ? void 0 : s.data) == null ? void 0 : F.organizationName }) }),
19331
+ ) : /* @__PURE__ */ E("h2", { className: "font-bold text-sm", dir: "auto", children: (F = s == null ? void 0 : s.data) == null ? void 0 : F.organizationName }) }),
19325
19332
  /* @__PURE__ */ Y("div", { className: "space-y-2", children: [
19326
- /* @__PURE__ */ T(
19333
+ /* @__PURE__ */ E(
19327
19334
  "h1",
19328
19335
  {
19329
19336
  className: "text-[1.75rem] font-semibold tracking-tight leading-none",
@@ -19331,7 +19338,7 @@ function fE() {
19331
19338
  children: ((j = (N = r.textContent) == null ? void 0 : N.welcomeScreen) == null ? void 0 : j.title) || a.get("welcome-title")
19332
19339
  }
19333
19340
  ),
19334
- /* @__PURE__ */ T("p", { className: "text-sm", dir: "auto", children: ((z = (U = r.textContent) == null ? void 0 : U.welcomeScreen) == null ? void 0 : z.description) || a.get("welcome-description") })
19341
+ /* @__PURE__ */ E("p", { className: "text-sm", dir: "auto", children: ((z = (U = r.textContent) == null ? void 0 : U.welcomeScreen) == null ? void 0 : z.description) || a.get("welcome-description") })
19335
19342
  ] })
19336
19343
  ]
19337
19344
  }
@@ -19348,7 +19355,7 @@ function fE() {
19348
19355
  dir: "auto",
19349
19356
  children: [
19350
19357
  /* @__PURE__ */ Y("form", { onSubmit: k, className: "space-y-2", children: [
19351
- /* @__PURE__ */ T(
19358
+ /* @__PURE__ */ E(
19352
19359
  Ln,
19353
19360
  {
19354
19361
  value: l,
@@ -19358,7 +19365,7 @@ function fE() {
19358
19365
  name: "name"
19359
19366
  }
19360
19367
  ),
19361
- /* @__PURE__ */ T(
19368
+ /* @__PURE__ */ E(
19362
19369
  Ln,
19363
19370
  {
19364
19371
  required: !0,
@@ -19369,7 +19376,7 @@ function fE() {
19369
19376
  name: "email"
19370
19377
  }
19371
19378
  ),
19372
- m.map((C) => /* @__PURE__ */ T(
19379
+ m.map((C) => /* @__PURE__ */ E(
19373
19380
  Ln,
19374
19381
  {
19375
19382
  value: f[C],
@@ -19389,12 +19396,12 @@ function fE() {
19389
19396
  size: "lg",
19390
19397
  children: [
19391
19398
  y.loading ? a.get("starting-chat") : a.get("start-chat"),
19392
- /* @__PURE__ */ T(qu, { className: "size-4 rtl:-scale-100" })
19399
+ /* @__PURE__ */ E(qu, { className: "size-4 rtl:-scale-100" })
19393
19400
  ]
19394
19401
  }
19395
19402
  )
19396
19403
  ] }),
19397
- /* @__PURE__ */ T(hu, {})
19404
+ /* @__PURE__ */ E(hu, {})
19398
19405
  ]
19399
19406
  }
19400
19407
  )
@@ -19404,14 +19411,14 @@ function fE() {
19404
19411
  }
19405
19412
  );
19406
19413
  }
19407
- function pE({ children: e }) {
19408
- return /* @__PURE__ */ T("p", { className: "pl-4 text-xs text-muted-foreground/75 uppercase font-semibold tracking-tight", children: e });
19414
+ function gE({ children: e }) {
19415
+ return /* @__PURE__ */ E("p", { className: "pl-4 text-xs text-muted-foreground/75 uppercase font-semibold tracking-tight", children: e });
19409
19416
  }
19410
19417
  function Ga({
19411
19418
  session: e,
19412
19419
  className: t
19413
19420
  }) {
19414
- const { bot: n } = je(), { toChatScreen: r } = St(), i = e.assignee.kind === "human" ? e.assignee.name || "Support Agent" : (n == null ? void 0 : n.name) || "AI Support Agent", a = e.assignee.kind === "human" ? e.assignee.avatarUrl || "" : (n == null ? void 0 : n.avatar) || "";
19421
+ const { bot: n } = ve(), { toChatScreen: r } = mt(), i = e.assignee.kind === "human" ? e.assignee.name || "Support Agent" : (n == null ? void 0 : n.name) || "AI Support Agent", a = e.assignee.kind === "human" ? e.assignee.avatarUrl || "" : (n == null ? void 0 : n.avatar) || "";
19415
19422
  return /* @__PURE__ */ Y(
19416
19423
  ke,
19417
19424
  {
@@ -19424,13 +19431,13 @@ function Ga({
19424
19431
  onClick: () => r(e.id),
19425
19432
  children: [
19426
19433
  /* @__PURE__ */ Y("div", { className: "flex-1 flex gap-2 items-center", children: [
19427
- /* @__PURE__ */ T(Ce, { mode: "wait", children: /* @__PURE__ */ T(ie, { snapExit: !0, children: /* @__PURE__ */ Y(hi, { className: "size-10", children: [
19428
- /* @__PURE__ */ T(fi, { src: a, alt: "Agent Icon" }),
19429
- /* @__PURE__ */ T(pi, { children: /* @__PURE__ */ T(Vu, { className: "size-4" }) })
19434
+ /* @__PURE__ */ E(Ce, { mode: "wait", children: /* @__PURE__ */ E(ie, { snapExit: !0, children: /* @__PURE__ */ Y(hi, { className: "size-10", children: [
19435
+ /* @__PURE__ */ E(fi, { src: a, alt: "Agent Icon" }),
19436
+ /* @__PURE__ */ E(pi, { children: /* @__PURE__ */ E(Vu, { className: "size-4" }) })
19430
19437
  ] }) }) }),
19431
19438
  /* @__PURE__ */ Y("div", { className: "flex-1", children: [
19432
- /* @__PURE__ */ T(Ce, { mode: "wait", children: /* @__PURE__ */ T(ie, { snapExit: !0, children: i }, i) }),
19433
- /* @__PURE__ */ T(Ce, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ T(ie, { snapExit: !0, children: /* @__PURE__ */ T(
19439
+ /* @__PURE__ */ E(Ce, { mode: "wait", children: /* @__PURE__ */ E(ie, { snapExit: !0, children: i }, i) }),
19440
+ /* @__PURE__ */ E(Ce, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ E(ie, { snapExit: !0, children: /* @__PURE__ */ E(
19434
19441
  so,
19435
19442
  {
19436
19443
  remarkPlugins: [Rs],
@@ -19438,42 +19445,42 @@ function Ga({
19438
19445
  className: "line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",
19439
19446
  children: e.lastMessage
19440
19447
  }
19441
- ) }, e.lastMessage || "content") : /* @__PURE__ */ T(ie, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ T(lu, { className: "h-4 w-full" }) }, "skeleton") })
19448
+ ) }, e.lastMessage || "content") : /* @__PURE__ */ E(ie, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ E(lu, { className: "h-4 w-full" }) }, "skeleton") })
19442
19449
  ] })
19443
19450
  ] }),
19444
- /* @__PURE__ */ T(Gu, { className: "size-4 text-muted-foreground shrink-0" })
19451
+ /* @__PURE__ */ E(Gu, { className: "size-4 text-muted-foreground shrink-0" })
19445
19452
  ]
19446
19453
  }
19447
19454
  );
19448
19455
  }
19449
- function mE() {
19450
- const e = wn(), { toChatScreen: t } = St(), {
19456
+ function bE() {
19457
+ const e = wn(), { toChatScreen: t } = mt(), {
19451
19458
  sessionsState: { data: n, isInitialFetchLoading: r },
19452
19459
  openSessions: i,
19453
19460
  closedSessions: a,
19454
19461
  canCreateNewSession: s
19455
19462
  } = cn();
19456
- return /* @__PURE__ */ T("div", { className: "flex-1 flex flex-col overflow-scroll py-2 px-2", children: /* @__PURE__ */ T(Ce, { mode: "wait", children: r ? /* @__PURE__ */ T(
19463
+ return /* @__PURE__ */ E("div", { className: "flex-1 flex flex-col overflow-scroll py-2 px-2", children: /* @__PURE__ */ E(Ce, { mode: "wait", children: r ? /* @__PURE__ */ E(
19457
19464
  ie,
19458
19465
  {
19459
19466
  className: "flex-1 flex items-center justify-center",
19460
- children: /* @__PURE__ */ T(du, {})
19467
+ children: /* @__PURE__ */ E(du, {})
19461
19468
  },
19462
19469
  "loading"
19463
- ) : /* @__PURE__ */ T(
19470
+ ) : /* @__PURE__ */ E(
19464
19471
  ie,
19465
19472
  {
19466
19473
  className: "flex-1 flex flex-col gap-2 relative",
19467
19474
  children: n.length ? /* @__PURE__ */ Y(Qa, { children: [
19468
19475
  /* @__PURE__ */ Y(Ce, { children: [
19469
- i.length > 0 && /* @__PURE__ */ T(
19476
+ i.length > 0 && /* @__PURE__ */ E(
19470
19477
  ie,
19471
19478
  {
19472
19479
  fadeIn: "up",
19473
19480
  delay: 0.2,
19474
19481
  className: "space-y-2",
19475
19482
  snapExit: !0,
19476
- children: i.map((u) => /* @__PURE__ */ T(Ga, { session: u }, u.id))
19483
+ children: i.map((u) => /* @__PURE__ */ E(Ga, { session: u }, u.id))
19477
19484
  },
19478
19485
  "open-sessions"
19479
19486
  ),
@@ -19484,8 +19491,8 @@ function mE() {
19484
19491
  delay: 0.2,
19485
19492
  snapExit: !0,
19486
19493
  children: [
19487
- /* @__PURE__ */ T(pE, { children: e.get("closed-conversations") }),
19488
- a.map((u) => /* @__PURE__ */ T(
19494
+ /* @__PURE__ */ E(gE, { children: e.get("closed-conversations") }),
19495
+ a.map((u) => /* @__PURE__ */ E(
19489
19496
  Ga,
19490
19497
  {
19491
19498
  session: u,
@@ -19498,7 +19505,7 @@ function mE() {
19498
19505
  "closed-sessions"
19499
19506
  )
19500
19507
  ] }),
19501
- s && /* @__PURE__ */ T("div", { className: "mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background bg-background", children: /* @__PURE__ */ _i(
19508
+ s && /* @__PURE__ */ E("div", { className: "mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background bg-background", children: /* @__PURE__ */ _i(
19502
19509
  ke,
19503
19510
  {
19504
19511
  ...ne("sessions/new_conversation_btn"),
@@ -19510,7 +19517,7 @@ function mE() {
19510
19517
  e.get("new-conversation")
19511
19518
  ) })
19512
19519
  ] }) : /* @__PURE__ */ Y("div", { className: "flex-1 flex flex-col gap-2 items-center", children: [
19513
- /* @__PURE__ */ T("div", { className: "flex-1 flex items-center justify-center", children: /* @__PURE__ */ T("p", { className: "text-muted-foreground", children: e.get("no-conversations-yet") }) }),
19520
+ /* @__PURE__ */ E("div", { className: "flex-1 flex items-center justify-center", children: /* @__PURE__ */ E("p", { className: "text-muted-foreground", children: e.get("no-conversations-yet") }) }),
19514
19521
  /* @__PURE__ */ _i(
19515
19522
  ke,
19516
19523
  {
@@ -19527,12 +19534,12 @@ function mE() {
19527
19534
  "sessions"
19528
19535
  ) }) });
19529
19536
  }
19530
- function gE() {
19537
+ function EE() {
19531
19538
  const { theme: e } = Tn();
19532
19539
  return bi({
19533
19540
  width: e.screens.sessions.width,
19534
19541
  height: e.screens.sessions.height
19535
- }), /* @__PURE__ */ Y(
19542
+ }), /* @__PURE__ */ E(
19536
19543
  "div",
19537
19544
  {
19538
19545
  ...ne("sessions/root"),
@@ -19547,55 +19554,53 @@ function gE() {
19547
19554
  maxHeight: "100vh"
19548
19555
  // Relative to the iframe
19549
19556
  },
19550
- children: [
19551
- /* @__PURE__ */ Y("div", { className: "size-full flex flex-col", children: [
19552
- /* @__PURE__ */ T(cu, {}),
19553
- /* @__PURE__ */ T(mE, {})
19554
- ] }),
19555
- /* @__PURE__ */ T(hu, {})
19556
- ]
19557
+ children: /* @__PURE__ */ Y("div", { className: "size-full flex flex-col", children: [
19558
+ /* @__PURE__ */ E(cu, {}),
19559
+ /* @__PURE__ */ E(bE, {}),
19560
+ /* @__PURE__ */ E(hu, {})
19561
+ ] })
19557
19562
  }
19558
19563
  );
19559
19564
  }
19560
- function bE() {
19565
+ function TE() {
19561
19566
  zn();
19562
19567
  const {
19563
19568
  routerState: { screen: e }
19564
- } = St();
19569
+ } = mt();
19565
19570
  return /* @__PURE__ */ Y("div", { className: "relative bg-background size-full", children: [
19566
- /* @__PURE__ */ T(er.Container, {}),
19567
- /* @__PURE__ */ T(Ce, { mode: "wait", children: (() => {
19571
+ /* @__PURE__ */ E(er.Container, {}),
19572
+ /* @__PURE__ */ E(Ce, { mode: "wait", children: (() => {
19568
19573
  switch (e) {
19569
19574
  case "welcome":
19570
- return /* @__PURE__ */ T(
19575
+ return /* @__PURE__ */ E(
19571
19576
  ie,
19572
19577
  {
19573
19578
  fadeIn: "right",
19574
19579
  className: "size-full",
19575
19580
  snapExit: !0,
19576
- children: /* @__PURE__ */ T(fE, {})
19581
+ children: /* @__PURE__ */ E(mE, {})
19577
19582
  },
19578
19583
  e
19579
19584
  );
19580
19585
  case "sessions":
19581
- return /* @__PURE__ */ T(
19586
+ return /* @__PURE__ */ E(
19582
19587
  ie,
19583
19588
  {
19584
19589
  fadeIn: "right",
19585
19590
  className: "size-full",
19586
19591
  snapExit: !0,
19587
- children: /* @__PURE__ */ T(gE, {})
19592
+ children: /* @__PURE__ */ E(EE, {})
19588
19593
  },
19589
19594
  e
19590
19595
  );
19591
19596
  case "chat":
19592
- return /* @__PURE__ */ T(
19597
+ return /* @__PURE__ */ E(
19593
19598
  ie,
19594
19599
  {
19595
19600
  fadeIn: "right",
19596
19601
  className: "size-full",
19597
19602
  snapExit: !0,
19598
- children: /* @__PURE__ */ T(lE, {})
19603
+ children: /* @__PURE__ */ E(dE, {})
19599
19604
  },
19600
19605
  e
19601
19606
  );
@@ -19605,7 +19610,7 @@ function bE() {
19605
19610
  })() })
19606
19611
  ] });
19607
19612
  }
19608
- const EE = `<!DOCTYPE html>
19613
+ const wE = `<!DOCTYPE html>
19609
19614
  <html>
19610
19615
  <head>
19611
19616
  <style>
@@ -19623,9 +19628,9 @@ html, body {
19623
19628
  <body>
19624
19629
  </body>
19625
19630
  </html>`;
19626
- function TE() {
19627
- const { isOpen: e } = dn(), { version: t, contentIframeRef: n } = pt(), { cssOverrides: r } = je(), { theme: i, cssVars: a, computed: s } = Tn();
19628
- return /* @__PURE__ */ T(
19631
+ function xE() {
19632
+ const { isOpen: e } = dn(), { version: t, contentIframeRef: n } = pt(), { cssOverrides: r } = ve(), { theme: i, cssVars: a, computed: s } = Tn();
19633
+ return /* @__PURE__ */ E(
19629
19634
  Un.Content,
19630
19635
  {
19631
19636
  onInteractOutside: (u) => u.preventDefault(),
@@ -19640,7 +19645,7 @@ function TE() {
19640
19645
  alignOffset: i.widgetContentContainer.offset.align,
19641
19646
  avoidCollisions: !1,
19642
19647
  asChild: !0,
19643
- children: /* @__PURE__ */ T(
19648
+ children: /* @__PURE__ */ E(
19644
19649
  Qt.div,
19645
19650
  {
19646
19651
  animate: e ? "visible" : "hidden",
@@ -19662,7 +19667,7 @@ function TE() {
19662
19667
  di,
19663
19668
  {
19664
19669
  ref: n,
19665
- initialContent: EE,
19670
+ initialContent: wE,
19666
19671
  allowFullScreen: !0,
19667
19672
  title: "OpenCX Live Chat",
19668
19673
  style: {
@@ -19691,19 +19696,19 @@ function TE() {
19691
19696
  borderWidth: "0px"
19692
19697
  },
19693
19698
  children: [
19694
- r && /* @__PURE__ */ T("style", { children: r }),
19695
- /* @__PURE__ */ T(
19699
+ r && /* @__PURE__ */ E("style", { children: r }),
19700
+ /* @__PURE__ */ E(
19696
19701
  Db,
19697
19702
  {
19698
19703
  delayDuration: 200,
19699
19704
  disableHoverableContent: !0,
19700
- children: /* @__PURE__ */ T(
19705
+ children: /* @__PURE__ */ E(
19701
19706
  "div",
19702
19707
  {
19703
19708
  style: {
19704
19709
  display: "contents"
19705
19710
  },
19706
- children: /* @__PURE__ */ T(
19711
+ children: /* @__PURE__ */ E(
19707
19712
  "div",
19708
19713
  {
19709
19714
  style: {
@@ -19713,7 +19718,7 @@ function TE() {
19713
19718
  className: q(
19714
19719
  "antialiased font-sans size-full overflow-hidden isolate relative text-secondary-foreground"
19715
19720
  ),
19716
- children: /* @__PURE__ */ T(bE, {})
19721
+ children: /* @__PURE__ */ E(TE, {})
19717
19722
  }
19718
19723
  )
19719
19724
  }
@@ -19728,7 +19733,7 @@ function TE() {
19728
19733
  }
19729
19734
  );
19730
19735
  }
19731
- function wE({
19736
+ function yE({
19732
19737
  className: e,
19733
19738
  style: t
19734
19739
  }) {
@@ -19743,14 +19748,14 @@ function wE({
19743
19748
  className: q("text-primary-foreground", e),
19744
19749
  style: t,
19745
19750
  children: [
19746
- /* @__PURE__ */ T(
19751
+ /* @__PURE__ */ E(
19747
19752
  "path",
19748
19753
  {
19749
19754
  d: "M0 6.94263C0 3.62892 2.68629 0.942627 6 0.942627H26C29.3137 0.942627 32 3.62892 32 6.94263V17.9426C32 21.2563 29.3137 23.9426 26 23.9426H6C2.68629 23.9426 0 21.2563 0 17.9426V6.94263Z",
19750
19755
  fill: "currentColor"
19751
19756
  }
19752
19757
  ),
19753
- /* @__PURE__ */ T(
19758
+ /* @__PURE__ */ E(
19754
19759
  "path",
19755
19760
  {
19756
19761
  fillRule: "evenodd",
@@ -19763,7 +19768,7 @@ function wE({
19763
19768
  }
19764
19769
  );
19765
19770
  }
19766
- const xE = `<!DOCTYPE html>
19771
+ const _E = `<!DOCTYPE html>
19767
19772
  <html>
19768
19773
  <head>
19769
19774
  <style>
@@ -19780,16 +19785,16 @@ html, body {
19780
19785
  <body>
19781
19786
  </body>
19782
19787
  </html>`;
19783
- function yE() {
19788
+ function AE() {
19784
19789
  var a, s;
19785
- const { isOpen: e } = dn(), { cssOverrides: t, assets: n } = je(), { theme: r, cssVars: i } = Tn();
19790
+ const { isOpen: e } = dn(), { cssOverrides: t, assets: n } = ve(), { theme: r, cssVars: i } = Tn();
19786
19791
  return /* @__PURE__ */ Y(
19787
19792
  di,
19788
19793
  {
19789
- initialContent: xE,
19794
+ initialContent: _E,
19790
19795
  style: {
19791
- height: `calc(${r.widgetTrigger.size.button}px + ${It.x * 2}px)`,
19792
- width: `calc(${r.widgetTrigger.size.button}px + ${It.y * 2}px)`,
19796
+ height: `calc(${r.widgetTrigger.size.button}px + ${Nt.x * 2}px)`,
19797
+ width: `calc(${r.widgetTrigger.size.button}px + ${Nt.y * 2}px)`,
19793
19798
  fontSize: "16px",
19794
19799
  position: "fixed",
19795
19800
  zIndex: r.widgetTrigger.zIndex,
@@ -19800,8 +19805,8 @@ function yE() {
19800
19805
  borderWidth: "0px"
19801
19806
  },
19802
19807
  children: [
19803
- t && /* @__PURE__ */ T("style", { children: t }),
19804
- /* @__PURE__ */ T(
19808
+ t && /* @__PURE__ */ E("style", { children: t }),
19809
+ /* @__PURE__ */ E(
19805
19810
  "div",
19806
19811
  {
19807
19812
  style: {
@@ -19812,7 +19817,7 @@ function yE() {
19812
19817
  alignItems: "center",
19813
19818
  justifyContent: "center"
19814
19819
  },
19815
- children: /* @__PURE__ */ T(
19820
+ children: /* @__PURE__ */ E(
19816
19821
  Un.PopoverTrigger,
19817
19822
  {
19818
19823
  className: q(
@@ -19822,7 +19827,7 @@ function yE() {
19822
19827
  height: r.widgetTrigger.size.button,
19823
19828
  width: r.widgetTrigger.size.button
19824
19829
  },
19825
- children: /* @__PURE__ */ T(Ke, { children: /* @__PURE__ */ T(
19830
+ children: /* @__PURE__ */ E(Ke, { children: /* @__PURE__ */ E(
19826
19831
  "div",
19827
19832
  {
19828
19833
  ...ne("trigger/btn"),
@@ -19834,7 +19839,7 @@ function yE() {
19834
19839
  "bg-primary",
19835
19840
  "text-primary-foreground"
19836
19841
  ),
19837
- children: /* @__PURE__ */ T(Ce, { mode: "wait", children: e ? /* @__PURE__ */ T(
19842
+ children: /* @__PURE__ */ E(Ce, { mode: "wait", children: e ? /* @__PURE__ */ E(
19838
19843
  ie,
19839
19844
  {
19840
19845
  snapExit: !0,
@@ -19843,7 +19848,7 @@ function yE() {
19843
19848
  initial: { rotate: 45 },
19844
19849
  animate: { rotate: 0 }
19845
19850
  },
19846
- children: (a = n == null ? void 0 : n.widgetTrigger) != null && a.closeIcon ? /* @__PURE__ */ T(
19851
+ children: (a = n == null ? void 0 : n.widgetTrigger) != null && a.closeIcon ? /* @__PURE__ */ E(
19847
19852
  "img",
19848
19853
  {
19849
19854
  src: n.widgetTrigger.closeIcon,
@@ -19853,7 +19858,7 @@ function yE() {
19853
19858
  height: r.widgetTrigger.size.icon
19854
19859
  }
19855
19860
  }
19856
- ) : /* @__PURE__ */ T(
19861
+ ) : /* @__PURE__ */ E(
19857
19862
  Qu,
19858
19863
  {
19859
19864
  style: {
@@ -19864,7 +19869,7 @@ function yE() {
19864
19869
  )
19865
19870
  },
19866
19871
  "x-icon"
19867
- ) : /* @__PURE__ */ T(
19872
+ ) : /* @__PURE__ */ E(
19868
19873
  ie,
19869
19874
  {
19870
19875
  snapExit: !0,
@@ -19872,7 +19877,7 @@ function yE() {
19872
19877
  initial: { rotate: 45 },
19873
19878
  animate: { rotate: 0 }
19874
19879
  },
19875
- children: (s = n == null ? void 0 : n.widgetTrigger) != null && s.openIcon ? /* @__PURE__ */ T(
19880
+ children: (s = n == null ? void 0 : n.widgetTrigger) != null && s.openIcon ? /* @__PURE__ */ E(
19876
19881
  "img",
19877
19882
  {
19878
19883
  src: n.widgetTrigger.openIcon,
@@ -19882,8 +19887,8 @@ function yE() {
19882
19887
  height: r.widgetTrigger.size.icon
19883
19888
  }
19884
19889
  }
19885
- ) : /* @__PURE__ */ T(
19886
- wE,
19890
+ ) : /* @__PURE__ */ E(
19891
+ yE,
19887
19892
  {
19888
19893
  style: {
19889
19894
  width: r.widgetTrigger.size.icon,
@@ -19905,23 +19910,23 @@ function yE() {
19905
19910
  }
19906
19911
  );
19907
19912
  }
19908
- function _E() {
19909
- return /* @__PURE__ */ T(
19913
+ function CE() {
19914
+ return /* @__PURE__ */ E(
19910
19915
  Un.Anchor,
19911
19916
  {
19912
19917
  style: { position: "fixed", right: 0, bottom: 0 }
19913
19918
  }
19914
19919
  );
19915
19920
  }
19916
- function AE() {
19921
+ function kE() {
19917
19922
  const { isOpen: e, setIsOpen: t } = dn();
19918
19923
  return /* @__PURE__ */ Y(Un.Root, { open: e, onOpenChange: t, children: [
19919
- /* @__PURE__ */ T(_E, {}),
19920
- /* @__PURE__ */ T(yE, {}),
19921
- /* @__PURE__ */ T(TE, {})
19924
+ /* @__PURE__ */ E(CE, {}),
19925
+ /* @__PURE__ */ E(AE, {}),
19926
+ /* @__PURE__ */ E(xE, {})
19922
19927
  ] });
19923
19928
  }
19924
- const CE = [
19929
+ const IE = [
19925
19930
  {
19926
19931
  key: "loading",
19927
19932
  component: Rb
@@ -19938,7 +19943,7 @@ const CE = [
19938
19943
  key: "agent_message",
19939
19944
  component: Hn
19940
19945
  }
19941
- ], kE = {
19946
+ ], NE = {
19942
19947
  get: async (e) => localStorage.getItem(e),
19943
19948
  set: async (e, t) => {
19944
19949
  localStorage.setItem(e, t);
@@ -19947,23 +19952,23 @@ const CE = [
19947
19952
  localStorage.removeItem(e);
19948
19953
  }
19949
19954
  };
19950
- function FE({
19955
+ function UE({
19951
19956
  options: e,
19952
19957
  components: t = [],
19953
19958
  loadingComponent: n
19954
19959
  }) {
19955
- return /* @__PURE__ */ T(
19960
+ return /* @__PURE__ */ E(
19956
19961
  Ou,
19957
19962
  {
19958
- components: [...CE, ...t],
19963
+ components: [...IE, ...t],
19959
19964
  options: e,
19960
- storage: kE,
19965
+ storage: NE,
19961
19966
  loadingComponent: n,
19962
- children: /* @__PURE__ */ T(Lu, { children: /* @__PURE__ */ T(AE, {}) })
19967
+ children: /* @__PURE__ */ E(Lu, { children: /* @__PURE__ */ E(kE, {}) })
19963
19968
  }
19964
19969
  );
19965
19970
  }
19966
19971
  export {
19967
- FE as Widget
19972
+ UE as Widget
19968
19973
  };
19969
19974
  //# sourceMappingURL=designs.js.map