@versini/sassysaint 8.13.5 → 8.13.6

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.
@@ -4,7 +4,7 @@ var So = (e) => {
4
4
  var jr = (e, t, r) => t.has(e) || So("Cannot " + r);
5
5
  var L = (e, t, r) => (jr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), fe = (e, t, r) => t.has(e) ? So("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), oe = (e, t, r, a) => (jr(e, t, "write to private field"), a ? a.call(e, r) : t.set(e, r), r), ce = (e, t, r) => (jr(e, t, "access private method"), r);
6
6
  import { jsx as c, jsxs as N, Fragment as se } from "react/jsx-runtime";
7
- import { Subscribable as zi, pendingThenable as No, resolveEnabled as ze, shallowEqualObjects as da, resolveStaleTime as kr, noop as Vi, isServer as ua, isValidTimeout as Ro, focusManager as Fi, fetchState as Ui, replaceData as Ao, notifyManager as Un, timeUntilStale as Hi, useQueryClient as Gi, I as re, ACTION_SORT as fa, ACTION_SEARCH as Hn, ACTION_RESET_PROMPT as Gn, ACTION_TOGGLE_PROMPT as jn, Qr as Ee, isElectron as ha, isProbablyiPhone as ma, re as Re, DEFAULT_ICON_ACTION_SIZE as Je, L as rr, j as Ue, C as pt, LOCAL_STORAGE_PREFIX as gt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as ji, LOCAL_STORAGE_REASONING_DISCLOSURE as Wi, TOAST_CHAT_SAVED as qi, toastOptions as Er, TOAST_PROVIDER_CHANGED as Wn, PROMPT_CLASSNAME as Yi, PROMPT_EDITABLE_AREA_CLASSNAME as Ji, ERROR_MESSAGE as Ki, ROLE_INTERNAL as pa, CLIPBOARD_PROMPT as Oo, isProbablyMobile as at, qr as qn, GRANTS as Yn, INPUT_PLACEHOLDER_TEXT as $o, FOOTER_DISCLAIMER as Qi, S as Ne, renderDataAsList as Ir, CARDS as ne, pluralize as qt, ABOUT_TITLE as Xi, INFINITE_SCROLL_LIMIT as Lo, INFINITE_SCROLL_THRESHOLD as Mo, LOCAL_STORAGE_SORT as Jn, APP_CLASSNAME as Kn, TOAST_CHAT_DELETED as Zi, LOCAL_STORAGE_SEARCH as Qn, HISTORY_TITLE as el, fe as tl, debounce as rl, x as al, l as Do, PROFILE_TITLE as ol, LOCAL_STORAGE_CHAT_DETAILS as nl, SETTINGS_TITLE as sl, APP_NAME as il, PROMPTS_DESCRIPTION as ll, getCurrentGeoLocation as cl, USAGE_TITLE as dl, LOG_OUT as Bo, getMessageContaintWrapperClass as ul, UI_FOOTER_BUFFER as Xn, UI_BUTTON_SCROLL_BUFFER as fl, Logo as hl, UI_DEFAULT_MAIN_HEIGHT as Po, getMainPaddingClass as zo, r as ml } from "./index.qUNN8KX2.js";
7
+ import { Subscribable as zi, pendingThenable as No, resolveEnabled as ze, shallowEqualObjects as da, resolveStaleTime as kr, noop as Vi, isServer as ua, isValidTimeout as Ro, focusManager as Fi, fetchState as Ui, replaceData as Ao, notifyManager as Un, timeUntilStale as Hi, useQueryClient as Gi, I as re, ACTION_SORT as fa, ACTION_SEARCH as Hn, ACTION_RESET_PROMPT as Gn, ACTION_TOGGLE_PROMPT as jn, Qr as Ee, isElectron as ha, isProbablyiPhone as ma, re as Re, DEFAULT_ICON_ACTION_SIZE as Je, L as rr, j as Ue, C as pt, LOCAL_STORAGE_PREFIX as gt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as ji, LOCAL_STORAGE_REASONING_DISCLOSURE as Wi, TOAST_CHAT_SAVED as qi, toastOptions as Er, TOAST_PROVIDER_CHANGED as Wn, PROMPT_CLASSNAME as Yi, PROMPT_EDITABLE_AREA_CLASSNAME as Ji, ERROR_MESSAGE as Ki, ROLE_INTERNAL as pa, CLIPBOARD_PROMPT as Oo, isProbablyMobile as at, qr as qn, GRANTS as Yn, INPUT_PLACEHOLDER_TEXT as $o, FOOTER_DISCLAIMER as Qi, S as Ne, renderDataAsList as Ir, CARDS as ne, pluralize as qt, ABOUT_TITLE as Xi, INFINITE_SCROLL_LIMIT as Lo, INFINITE_SCROLL_THRESHOLD as Mo, LOCAL_STORAGE_SORT as Jn, APP_CLASSNAME as Kn, TOAST_CHAT_DELETED as Zi, LOCAL_STORAGE_SEARCH as Qn, HISTORY_TITLE as el, fe as tl, debounce as rl, x as al, l as Do, PROFILE_TITLE as ol, LOCAL_STORAGE_CHAT_DETAILS as nl, SETTINGS_TITLE as sl, APP_NAME as il, PROMPTS_DESCRIPTION as ll, getCurrentGeoLocation as cl, USAGE_TITLE as dl, LOG_OUT as Bo, getMessageContaintWrapperClass as ul, UI_FOOTER_BUFFER as Xn, UI_BUTTON_SCROLL_BUFFER as fl, Logo as hl, UI_DEFAULT_MAIN_HEIGHT as Po, getMainPaddingClass as zo, r as ml } from "./index.CrTTm7Si.js";
8
8
  import * as te from "react";
9
9
  import U, { useEffect as z, useRef as M, useState as F, useCallback as q, useSyncExternalStore as Zn, useMemo as Ie, useId as Or, useContext as ee, useLayoutEffect as ge, isValidElement as $r, cloneElement as Ka, createContext as es, useDebugValue as pl, forwardRef as ts, Suspense as Qa, lazy as Xa, Fragment as gl, useReducer as Gt } from "react";
10
10
  import g from "clsx";
@@ -5207,13 +5207,17 @@ function Ef({
5207
5207
  }
5208
5208
  );
5209
5209
  }
5210
- const If = "z-20", Cf = "z-10", Sf = "user", mn = "assistant", Pr = "OpenAI", fo = "Anthropic", ho = "Google", Nf = Pr, Rf = "claude-3", Af = "gpt-4", Of = "o3", $f = "gemini", Lf = {
5210
+ const If = "z-20", Cf = "z-10", Sf = "user", mn = "assistant", Pr = "OpenAI", fo = "Anthropic", ho = "Google", Nf = Pr, Rf = "claude-3", Af = "gpt-4", Of = "o3", $f = "o4", Lf = "gemini", Mf = {
5211
5211
  [fo]: [Rf],
5212
- [Pr]: [Af, Of],
5213
- [ho]: [$f]
5214
- }, Mf = "x-callisto-chat-id", Df = (e) => {
5212
+ [Pr]: [
5213
+ Af,
5214
+ Of,
5215
+ $f
5216
+ ],
5217
+ [ho]: [Lf]
5218
+ }, Df = "x-callisto-chat-id", Bf = (e) => {
5215
5219
  for (const [t, r] of Object.entries(
5216
- Lf
5220
+ Mf
5217
5221
  ))
5218
5222
  if (r.some((a) => e.startsWith(a)))
5219
5223
  return t;
@@ -5253,15 +5257,15 @@ const If = "z-20", Cf = "z-10", Sf = "user", mn = "assistant", Pr = "OpenAI", fo
5253
5257
  },
5254
5258
  dispatch: () => {
5255
5259
  }
5256
- }), Bf = "av-tooltip", Pf = "av-tooltip-arrow", Xt = Math.min, It = Math.max, Nr = Math.round, He = (e) => ({
5260
+ }), Pf = "av-tooltip", zf = "av-tooltip-arrow", Xt = Math.min, It = Math.max, Nr = Math.round, He = (e) => ({
5257
5261
  x: e,
5258
5262
  y: e
5259
- }), zf = {
5263
+ }), Vf = {
5260
5264
  left: "right",
5261
5265
  right: "left",
5262
5266
  bottom: "top",
5263
5267
  top: "bottom"
5264
- }, Vf = {
5268
+ }, Ff = {
5265
5269
  start: "end",
5266
5270
  end: "start"
5267
5271
  };
@@ -5289,20 +5293,20 @@ function Lt(e) {
5289
5293
  function yo(e) {
5290
5294
  return si(Lt(e));
5291
5295
  }
5292
- function Ff(e, t, r) {
5296
+ function Uf(e, t, r) {
5293
5297
  r === void 0 && (r = !1);
5294
5298
  const a = cr(e), o = yo(e), n = go(o);
5295
5299
  let s = o === "x" ? a === (r ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
5296
5300
  return t.reference[n] > t.floating[n] && (s = Rr(s)), [s, Rr(s)];
5297
5301
  }
5298
- function Uf(e) {
5302
+ function Hf(e) {
5299
5303
  const t = Rr(e);
5300
5304
  return [Ga(e), t, Ga(t)];
5301
5305
  }
5302
5306
  function Ga(e) {
5303
- return e.replace(/start|end/g, (t) => Vf[t]);
5307
+ return e.replace(/start|end/g, (t) => Ff[t]);
5304
5308
  }
5305
- function Hf(e, t, r) {
5309
+ function Gf(e, t, r) {
5306
5310
  const a = ["left", "right"], o = ["right", "left"], n = ["top", "bottom"], s = ["bottom", "top"];
5307
5311
  switch (e) {
5308
5312
  case "top":
@@ -5315,15 +5319,15 @@ function Hf(e, t, r) {
5315
5319
  return [];
5316
5320
  }
5317
5321
  }
5318
- function Gf(e, t, r, a) {
5322
+ function jf(e, t, r, a) {
5319
5323
  const o = cr(e);
5320
- let n = Hf(vt(e), r === "start", a);
5324
+ let n = Gf(vt(e), r === "start", a);
5321
5325
  return o && (n = n.map((s) => s + "-" + o), t && (n = n.concat(n.map(Ga)))), n;
5322
5326
  }
5323
5327
  function Rr(e) {
5324
- return e.replace(/left|right|bottom|top/g, (t) => zf[t]);
5328
+ return e.replace(/left|right|bottom|top/g, (t) => Vf[t]);
5325
5329
  }
5326
- function jf(e) {
5330
+ function Wf(e) {
5327
5331
  return {
5328
5332
  top: 0,
5329
5333
  right: 0,
@@ -5333,7 +5337,7 @@ function jf(e) {
5333
5337
  };
5334
5338
  }
5335
5339
  function ii(e) {
5336
- return typeof e != "number" ? jf(e) : {
5340
+ return typeof e != "number" ? Wf(e) : {
5337
5341
  top: e,
5338
5342
  right: e,
5339
5343
  bottom: e,
@@ -5406,7 +5410,7 @@ function pn(e, t, r) {
5406
5410
  }
5407
5411
  return m;
5408
5412
  }
5409
- const Wf = async (e, t, r) => {
5413
+ const qf = async (e, t, r) => {
5410
5414
  const {
5411
5415
  placement: a = "bottom",
5412
5416
  strategy: o = "absolute",
@@ -5512,7 +5516,7 @@ async function li(e, t) {
5512
5516
  right: (I.right - p.right + y.right) / k.x
5513
5517
  };
5514
5518
  }
5515
- const qf = (e) => ({
5519
+ const Yf = (e) => ({
5516
5520
  name: "arrow",
5517
5521
  options: e,
5518
5522
  async fn(t) {
@@ -5549,7 +5553,7 @@ const qf = (e) => ({
5549
5553
  reset: B
5550
5554
  };
5551
5555
  }
5552
- }), Yf = function(e) {
5556
+ }), Jf = function(e) {
5553
5557
  return e === void 0 && (e = {}), {
5554
5558
  name: "flip",
5555
5559
  options: e,
@@ -5573,12 +5577,12 @@ const qf = (e) => ({
5573
5577
  } = lr(e, t);
5574
5578
  if ((r = n.arrow) != null && r.alignmentOffset)
5575
5579
  return {};
5576
- const v = vt(o), w = Lt(l), k = vt(l) === l, I = await (i.isRTL == null ? void 0 : i.isRTL(d.floating)), C = h || (k || !b ? [Rr(l)] : Uf(l)), _ = y !== "none";
5577
- !h && _ && C.push(...Gf(l, b, y, I));
5580
+ const v = vt(o), w = Lt(l), k = vt(l) === l, I = await (i.isRTL == null ? void 0 : i.isRTL(d.floating)), C = h || (k || !b ? [Rr(l)] : Hf(l)), _ = y !== "none";
5581
+ !h && _ && C.push(...jf(l, b, y, I));
5578
5582
  const E = [l, ...C], T = await li(t, p), x = [];
5579
5583
  let S = ((a = n.flip) == null ? void 0 : a.overflows) || [];
5580
5584
  if (f && x.push(T[v]), u) {
5581
- const A = Ff(o, s, I);
5585
+ const A = Uf(o, s, I);
5582
5586
  x.push(T[A[0]], T[A[1]]);
5583
5587
  }
5584
5588
  if (S = [...S, {
@@ -5629,7 +5633,7 @@ const qf = (e) => ({
5629
5633
  }
5630
5634
  };
5631
5635
  };
5632
- async function Jf(e, t) {
5636
+ async function Kf(e, t) {
5633
5637
  const {
5634
5638
  placement: r,
5635
5639
  platform: a,
@@ -5656,7 +5660,7 @@ async function Jf(e, t) {
5656
5660
  y: m * f
5657
5661
  };
5658
5662
  }
5659
- const Kf = function(e) {
5663
+ const Qf = function(e) {
5660
5664
  return e === void 0 && (e = 0), {
5661
5665
  name: "offset",
5662
5666
  options: e,
@@ -5667,7 +5671,7 @@ const Kf = function(e) {
5667
5671
  y: n,
5668
5672
  placement: s,
5669
5673
  middlewareData: l
5670
- } = t, i = await Jf(t, e);
5674
+ } = t, i = await Kf(t, e);
5671
5675
  return s === ((r = l.offset) == null ? void 0 : r.placement) && (a = l.arrow) != null && a.alignmentOffset ? {} : {
5672
5676
  x: o + i.x,
5673
5677
  y: n + i.y,
@@ -5678,7 +5682,7 @@ const Kf = function(e) {
5678
5682
  };
5679
5683
  }
5680
5684
  };
5681
- }, Qf = function(e) {
5685
+ }, Xf = function(e) {
5682
5686
  return e === void 0 && (e = {}), {
5683
5687
  name: "shift",
5684
5688
  options: e,
@@ -5770,7 +5774,7 @@ function dr(e) {
5770
5774
  } = De(e);
5771
5775
  return /auto|scroll|overlay|hidden|clip/.test(t + a + r) && !["inline", "contents"].includes(o);
5772
5776
  }
5773
- function Xf(e) {
5777
+ function Zf(e) {
5774
5778
  return ["table", "td", "th"].includes(Vt(e));
5775
5779
  }
5776
5780
  function Vr(e) {
@@ -5786,7 +5790,7 @@ function bo(e) {
5786
5790
  const t = vo(), r = Me(e) ? De(e) : e;
5787
5791
  return ["transform", "translate", "scale", "rotate", "perspective"].some((a) => r[a] ? r[a] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((a) => (r.willChange || "").includes(a)) || ["paint", "layout", "strict", "content"].some((a) => (r.contain || "").includes(a));
5788
5792
  }
5789
- function Zf(e) {
5793
+ function eh(e) {
5790
5794
  let t = st(e);
5791
5795
  for (; Ge(t) && !Mt(t); ) {
5792
5796
  if (bo(t))
@@ -5868,15 +5872,15 @@ function Ct(e) {
5868
5872
  y: l
5869
5873
  };
5870
5874
  }
5871
- const eh = /* @__PURE__ */ He(0);
5875
+ const th = /* @__PURE__ */ He(0);
5872
5876
  function mi(e) {
5873
5877
  const t = Te(e);
5874
- return !vo() || !t.visualViewport ? eh : {
5878
+ return !vo() || !t.visualViewport ? th : {
5875
5879
  x: t.visualViewport.offsetLeft,
5876
5880
  y: t.visualViewport.offsetTop
5877
5881
  };
5878
5882
  }
5879
- function th(e, t, r) {
5883
+ function rh(e, t, r) {
5880
5884
  return t === void 0 && (t = !1), !r || t && r !== Te(e) ? !1 : t;
5881
5885
  }
5882
5886
  function Zt(e, t, r, a) {
@@ -5884,7 +5888,7 @@ function Zt(e, t, r, a) {
5884
5888
  const o = e.getBoundingClientRect(), n = hi(e);
5885
5889
  let s = He(1);
5886
5890
  t && (a ? Me(a) && (s = Ct(a)) : s = Ct(e));
5887
- const l = th(n, r, a) ? mi(n) : He(0);
5891
+ const l = rh(n, r, a) ? mi(n) : He(0);
5888
5892
  let i = (o.left + l.x) / s.x, d = (o.top + l.y) / s.y, f = o.width / s.x, u = o.height / s.y;
5889
5893
  if (n) {
5890
5894
  const h = Te(n), m = a && Me(a) ? Te(a) : a;
@@ -5916,7 +5920,7 @@ function pi(e, t, r) {
5916
5920
  y: n
5917
5921
  };
5918
5922
  }
5919
- function rh(e) {
5923
+ function ah(e) {
5920
5924
  let {
5921
5925
  elements: t,
5922
5926
  rect: r,
@@ -5943,10 +5947,10 @@ function rh(e) {
5943
5947
  y: r.y * d.y - i.scrollTop * d.y + f.y + h.y
5944
5948
  };
5945
5949
  }
5946
- function ah(e) {
5950
+ function oh(e) {
5947
5951
  return Array.from(e.getClientRects());
5948
5952
  }
5949
- function oh(e) {
5953
+ function nh(e) {
5950
5954
  const t = Qe(e), r = Fr(e), a = e.ownerDocument.body, o = It(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), n = It(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
5951
5955
  let s = -r.scrollLeft + _o(e);
5952
5956
  const l = -r.scrollTop;
@@ -5957,7 +5961,7 @@ function oh(e) {
5957
5961
  y: l
5958
5962
  };
5959
5963
  }
5960
- function nh(e, t) {
5964
+ function sh(e, t) {
5961
5965
  const r = Te(e), a = Qe(e), o = r.visualViewport;
5962
5966
  let n = a.clientWidth, s = a.clientHeight, l = 0, i = 0;
5963
5967
  if (o) {
@@ -5972,7 +5976,7 @@ function nh(e, t) {
5972
5976
  y: i
5973
5977
  };
5974
5978
  }
5975
- function sh(e, t) {
5979
+ function ih(e, t) {
5976
5980
  const r = Zt(e, !0, t === "fixed"), a = r.top + e.clientTop, o = r.left + e.clientLeft, n = Ge(e) ? Ct(e) : He(1), s = e.clientWidth * n.x, l = e.clientHeight * n.y, i = o * n.x, d = a * n.y;
5977
5981
  return {
5978
5982
  width: s,
@@ -5984,11 +5988,11 @@ function sh(e, t) {
5984
5988
  function bn(e, t, r) {
5985
5989
  let a;
5986
5990
  if (t === "viewport")
5987
- a = nh(e, r);
5991
+ a = sh(e, r);
5988
5992
  else if (t === "document")
5989
- a = oh(Qe(e));
5993
+ a = nh(Qe(e));
5990
5994
  else if (Me(t))
5991
- a = sh(t, r);
5995
+ a = ih(t, r);
5992
5996
  else {
5993
5997
  const o = mi(e);
5994
5998
  a = {
@@ -6004,7 +6008,7 @@ function gi(e, t) {
6004
6008
  const r = st(e);
6005
6009
  return r === t || !Me(r) || Mt(r) ? !1 : De(r).position === "fixed" || gi(r, t);
6006
6010
  }
6007
- function ih(e, t) {
6011
+ function lh(e, t) {
6008
6012
  const r = t.get(e);
6009
6013
  if (r)
6010
6014
  return r;
@@ -6017,14 +6021,14 @@ function ih(e, t) {
6017
6021
  }
6018
6022
  return t.set(e, a), a;
6019
6023
  }
6020
- function lh(e) {
6024
+ function ch(e) {
6021
6025
  let {
6022
6026
  element: t,
6023
6027
  boundary: r,
6024
6028
  rootBoundary: a,
6025
6029
  strategy: o
6026
6030
  } = e;
6027
- const n = [...r === "clippingAncestors" ? Vr(t) ? [] : ih(t, this._c) : [].concat(r), a], s = n[0], l = n.reduce((i, d) => {
6031
+ const n = [...r === "clippingAncestors" ? Vr(t) ? [] : lh(t, this._c) : [].concat(r), a], s = n[0], l = n.reduce((i, d) => {
6028
6032
  const f = bn(t, d, o);
6029
6033
  return i.top = It(f.top, i.top), i.right = Xt(f.right, i.right), i.bottom = Xt(f.bottom, i.bottom), i.left = It(f.left, i.left), i;
6030
6034
  }, bn(t, s, o));
@@ -6035,7 +6039,7 @@ function lh(e) {
6035
6039
  y: l.top
6036
6040
  };
6037
6041
  }
6038
- function ch(e) {
6042
+ function dh(e) {
6039
6043
  const {
6040
6044
  width: t,
6041
6045
  height: r
@@ -6045,7 +6049,7 @@ function ch(e) {
6045
6049
  height: r
6046
6050
  };
6047
6051
  }
6048
- function dh(e, t, r) {
6052
+ function uh(e, t, r) {
6049
6053
  const a = Ge(t), o = Qe(t), n = r === "fixed", s = Zt(e, !0, n, t);
6050
6054
  let l = {
6051
6055
  scrollLeft: 0,
@@ -6090,14 +6094,14 @@ function yi(e, t) {
6090
6094
  return r;
6091
6095
  }
6092
6096
  let a = vn(e, t);
6093
- for (; a && Xf(a) && na(a); )
6097
+ for (; a && Zf(a) && na(a); )
6094
6098
  a = vn(a, t);
6095
- return a && Mt(a) && na(a) && !bo(a) ? r : a || Zf(e) || r;
6099
+ return a && Mt(a) && na(a) && !bo(a) ? r : a || eh(e) || r;
6096
6100
  }
6097
- const uh = async function(e) {
6101
+ const fh = async function(e) {
6098
6102
  const t = this.getOffsetParent || yi, r = this.getDimensions, a = await r(e.floating);
6099
6103
  return {
6100
- reference: dh(e.reference, await t(e.floating), e.strategy),
6104
+ reference: uh(e.reference, await t(e.floating), e.strategy),
6101
6105
  floating: {
6102
6106
  x: 0,
6103
6107
  y: 0,
@@ -6106,34 +6110,34 @@ const uh = async function(e) {
6106
6110
  }
6107
6111
  };
6108
6112
  };
6109
- function fh(e) {
6113
+ function hh(e) {
6110
6114
  return De(e).direction === "rtl";
6111
6115
  }
6112
- const hh = {
6113
- convertOffsetParentRelativeRectToViewportRelativeRect: rh,
6116
+ const mh = {
6117
+ convertOffsetParentRelativeRectToViewportRelativeRect: ah,
6114
6118
  getDocumentElement: Qe,
6115
- getClippingRect: lh,
6119
+ getClippingRect: ch,
6116
6120
  getOffsetParent: yi,
6117
- getElementRects: uh,
6118
- getClientRects: ah,
6119
- getDimensions: ch,
6121
+ getElementRects: fh,
6122
+ getClientRects: oh,
6123
+ getDimensions: dh,
6120
6124
  getScale: Ct,
6121
6125
  isElement: Me,
6122
- isRTL: fh
6123
- }, mh = Kf, ph = Qf, gh = Yf, yh = qf, bh = (e, t, r) => {
6126
+ isRTL: hh
6127
+ }, ph = Qf, gh = Xf, yh = Jf, bh = Yf, vh = (e, t, r) => {
6124
6128
  const a = /* @__PURE__ */ new Map(), o = {
6125
- platform: hh,
6129
+ platform: mh,
6126
6130
  ...r
6127
6131
  }, n = {
6128
6132
  ...o.platform,
6129
6133
  _c: a
6130
6134
  };
6131
- return Wf(e, t, {
6135
+ return qf(e, t, {
6132
6136
  ...o,
6133
6137
  platform: n
6134
6138
  });
6135
6139
  }, _n = ["mousedown", "touchstart"];
6136
- function vh(e, t, r) {
6140
+ function _h(e, t, r) {
6137
6141
  const a = M(null);
6138
6142
  return z(() => {
6139
6143
  const o = (n) => {
@@ -6154,7 +6158,7 @@ function vh(e, t, r) {
6154
6158
  };
6155
6159
  }, [e, r, t]), a;
6156
6160
  }
6157
- function _h(e, t) {
6161
+ function wh(e, t) {
6158
6162
  const [r, a] = F(!1), o = M(null), n = M(null), s = q(() => {
6159
6163
  a((i) => (!i && (!o.current || o.current === -1) && (o.current = window.setInterval(n.current, t)), !0));
6160
6164
  }, [t]), l = q(() => {
@@ -6162,42 +6166,42 @@ function _h(e, t) {
6162
6166
  }, []);
6163
6167
  return z(() => (n.current = e, r && s(), l), [e, r, s, l]), { start: s, stop: l, active: r };
6164
6168
  }
6165
- const yr = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, wh = () => g("absolute top-0 left-0 w-max py-1 px-2 rounded-sm text-sm z-50"), wn = ({
6169
+ const yr = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, kh = () => g("absolute top-0 left-0 w-max py-1 px-2 rounded-sm text-sm z-50"), wn = ({
6166
6170
  mode: e
6167
6171
  }) => g({
6168
6172
  "bg-surface-darker": e === "dark" || e === "system",
6169
6173
  "bg-surface-light": e === "light" || e === "alt-system",
6170
6174
  "dark:bg-surface-light": e === "system",
6171
6175
  "dark:bg-surface-darker": e === "alt-system"
6172
- }), kh = ({
6176
+ }), xh = ({
6173
6177
  mode: e
6174
6178
  }) => g({
6175
6179
  "text-copy-light": e === "dark" || e === "system",
6176
6180
  "text-copy-dark": e === "light" || e === "alt-system",
6177
6181
  "dark:text-copy-dark": e === "system",
6178
6182
  "dark:text-copy-light": e === "alt-system"
6179
- }), xh = () => g("absolute", "size-2", "transform rotate-45"), Th = ({
6183
+ }), Th = () => g("absolute", "size-2", "transform rotate-45"), Eh = ({
6180
6184
  mode: e,
6181
6185
  className: t,
6182
6186
  tooltipClassName: r,
6183
6187
  arrowClassName: a
6184
6188
  }) => {
6185
6189
  const o = g("relative inline-block", t), n = g(
6186
- Bf,
6187
- wh(),
6190
+ Pf,
6191
+ kh(),
6188
6192
  wn({ mode: e }),
6189
- kh({ mode: e }),
6193
+ xh({ mode: e }),
6190
6194
  r
6191
6195
  ), s = g(
6192
- Pf,
6193
- xh(),
6196
+ zf,
6197
+ Th(),
6194
6198
  wn({ mode: e }),
6195
6199
  a
6196
6200
  );
6197
6201
  return { tooltip: n, arrow: s, wrapper: o };
6198
- }, Eh = ({ delay: e = 300 }) => ({
6202
+ }, Ih = ({ delay: e = 300 }) => ({
6199
6203
  animation: `av-tooltip-fade-in ${e}ms ease-in-out`
6200
- }), Ih = 5e3, it = ({
6204
+ }), Ch = 5e3, it = ({
6201
6205
  trigger: e,
6202
6206
  label: t,
6203
6207
  placement: r = "top",
@@ -6207,16 +6211,16 @@ const yr = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, wh = (
6207
6211
  tooltipClassName: s,
6208
6212
  arrowClassName: l
6209
6213
  }) => {
6210
- const i = vh(() => {
6214
+ const i = _h(() => {
6211
6215
  b.stop(), y(!1);
6212
- }), d = M(null), f = M(null), [u, h] = F(!1), [m, y] = F(!1), b = _h(() => {
6216
+ }), d = M(null), f = M(null), [u, h] = F(!1), [m, y] = F(!1), b = wh(() => {
6213
6217
  y(!1);
6214
- }, Ih), p = Th({
6218
+ }, Ch), p = Eh({
6215
6219
  mode: a,
6216
6220
  className: n,
6217
6221
  tooltipClassName: s,
6218
6222
  arrowClassName: l
6219
- }), v = Eh({ delay: o }), w = q(async () => {
6223
+ }), v = Ih({ delay: o }), w = q(async () => {
6220
6224
  var _, E, T, x;
6221
6225
  if (i.current && d.current && f.current) {
6222
6226
  const {
@@ -6224,16 +6228,16 @@ const yr = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, wh = (
6224
6228
  y: R,
6225
6229
  middlewareData: O,
6226
6230
  placement: $
6227
- } = await bh(i.current, d.current, {
6231
+ } = await vh(i.current, d.current, {
6228
6232
  placement: r,
6229
6233
  middleware: [
6230
- mh(10),
6231
- gh({
6234
+ ph(10),
6235
+ yh({
6232
6236
  crossAxis: r.includes("-"),
6233
6237
  fallbackAxisSideDirection: "start"
6234
6238
  }),
6235
- ph({ padding: 5 }),
6236
- yh({ element: f.current })
6239
+ gh({ padding: 5 }),
6240
+ bh({ element: f.current })
6237
6241
  ]
6238
6242
  });
6239
6243
  (_ = d == null ? void 0 : d.current) != null && _.style && Object.assign(d.current.style, {
@@ -6305,7 +6309,7 @@ try {
6305
6309
  });
6306
6310
  } catch {
6307
6311
  }
6308
- const Ch = ({
6312
+ const Sh = ({
6309
6313
  className: e
6310
6314
  }) => {
6311
6315
  const { getAccessToken: t } = Ee(), {
@@ -6392,7 +6396,7 @@ const Ch = ({
6392
6396
  )
6393
6397
  }
6394
6398
  );
6395
- }, kn = "av-messagebox", xn = "av-panel", Tn = "av-button", wo = "icon", bi = "button", ja = "link", Sh = ({
6399
+ }, kn = "av-messagebox", xn = "av-panel", Tn = "av-button", wo = "icon", bi = "button", ja = "link", Nh = ({
6396
6400
  type: e,
6397
6401
  size: t,
6398
6402
  labelRight: r,
@@ -6428,7 +6432,7 @@ const Ch = ({
6428
6432
  "h-12": t === "large" && n && (r || a)
6429
6433
  });
6430
6434
  }
6431
- }, Nh = ({
6435
+ }, Rh = ({
6432
6436
  type: e,
6433
6437
  size: t,
6434
6438
  labelRight: r,
@@ -6451,7 +6455,7 @@ const Ch = ({
6451
6455
  [s]: t === "large" && (r || a)
6452
6456
  });
6453
6457
  }
6454
- }, Rh = ({
6458
+ }, Ah = ({
6455
6459
  mode: e,
6456
6460
  noBackground: t,
6457
6461
  truncate: r,
@@ -6487,7 +6491,7 @@ const Ch = ({
6487
6491
  return g("not-prose text-copy-lighter", {
6488
6492
  truncate: r
6489
6493
  });
6490
- }, Ah = ({
6494
+ }, Oh = ({
6491
6495
  mode: e,
6492
6496
  noBackground: t,
6493
6497
  variant: r
@@ -6517,13 +6521,13 @@ const Ch = ({
6517
6521
  if (r === "selected")
6518
6522
  return "bg-action-selected-dark";
6519
6523
  }
6520
- }, Oh = ({
6524
+ }, $h = ({
6521
6525
  radius: e
6522
6526
  }) => g({
6523
6527
  "rounded-full": e === "large",
6524
6528
  "rounded-md": e === "medium",
6525
6529
  "rounded-xs": e === "small"
6526
- }), $h = ({
6530
+ }), Lh = ({
6527
6531
  mode: e,
6528
6532
  disabled: t,
6529
6533
  variant: r
@@ -6553,7 +6557,7 @@ const Ch = ({
6553
6557
  });
6554
6558
  if (r === "selected")
6555
6559
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
6556
- }, Lh = ({
6560
+ }, Mh = ({
6557
6561
  mode: e,
6558
6562
  disabled: t,
6559
6563
  variant: r
@@ -6583,7 +6587,7 @@ const Ch = ({
6583
6587
  });
6584
6588
  if (r === "selected")
6585
6589
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
6586
- }, Mh = ({
6590
+ }, Dh = ({
6587
6591
  mode: e,
6588
6592
  noBorder: t,
6589
6593
  variant: r
@@ -6613,14 +6617,14 @@ const Ch = ({
6613
6617
  });
6614
6618
  if (r === "selected")
6615
6619
  return "border border-border-selected-dark";
6616
- }, Dh = ({
6620
+ }, Bh = ({
6617
6621
  focusMode: e
6618
6622
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
6619
6623
  "focus:outline-focus-dark": e === "dark",
6620
6624
  "focus:outline-focus-light": e === "light",
6621
6625
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
6622
6626
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
6623
- }), Bh = ({
6627
+ }), Ph = ({
6624
6628
  mode: e,
6625
6629
  raw: t,
6626
6630
  iconClassName: r
@@ -6632,11 +6636,11 @@ const Ch = ({
6632
6636
  "dark:text-copy-accent-dark": e === "system"
6633
6637
  },
6634
6638
  r
6635
- ), Ph = ({
6639
+ ), zh = ({
6636
6640
  animated: e
6637
6641
  }) => g({
6638
6642
  "transition-opacity duration-300 ease-in": e
6639
- }), zh = ({
6643
+ }), Vh = ({
6640
6644
  type: e,
6641
6645
  className: t,
6642
6646
  raw: r,
@@ -6656,15 +6660,15 @@ const Ch = ({
6656
6660
  animated: p
6657
6661
  }) => (h || (h = "primary"), r ? g(Tn, t) : g(
6658
6662
  Tn,
6659
- Rh({
6663
+ Ah({
6660
6664
  mode: a,
6661
6665
  variant: h,
6662
6666
  noBackground: u,
6663
6667
  truncate: m
6664
6668
  }),
6665
- Ah({ mode: a, noBackground: u, variant: h }),
6666
- Oh({ radius: b }),
6667
- Sh({
6669
+ Oh({ mode: a, noBackground: u, variant: h }),
6670
+ $h({ radius: b }),
6671
+ Nh({
6668
6672
  type: e,
6669
6673
  size: l,
6670
6674
  labelRight: d,
@@ -6672,11 +6676,11 @@ const Ch = ({
6672
6676
  align: y,
6673
6677
  animated: p
6674
6678
  }),
6675
- Nh({ type: e, size: l, labelRight: d, labelLeft: f }),
6676
- Mh({ mode: a, variant: h, noBorder: i }),
6677
- Dh({ focusMode: o }),
6678
- $h({ mode: a, variant: h, disabled: n }),
6679
+ Rh({ type: e, size: l, labelRight: d, labelLeft: f }),
6680
+ Dh({ mode: a, variant: h, noBorder: i }),
6681
+ Bh({ focusMode: o }),
6679
6682
  Lh({ mode: a, variant: h, disabled: n }),
6683
+ Mh({ mode: a, variant: h, disabled: n }),
6680
6684
  {
6681
6685
  "w-full": s,
6682
6686
  "disabled:cursor-not-allowed disabled:opacity-50": n
@@ -6685,7 +6689,7 @@ const Ch = ({
6685
6689
  "transition-[width] duration-300 ease-in-out": p
6686
6690
  }),
6687
6691
  t
6688
- )), Vh = (e, t, r) => {
6692
+ )), Fh = (e, t, r) => {
6689
6693
  var a;
6690
6694
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
6691
6695
  }, vi = U.forwardRef((e, t) => {
@@ -6695,20 +6699,20 @@ const Ch = ({
6695
6699
  {
6696
6700
  ref: t,
6697
6701
  onClick: (n) => {
6698
- Vh(n, a, r);
6702
+ Fh(n, a, r);
6699
6703
  },
6700
6704
  ...o
6701
6705
  }
6702
6706
  );
6703
6707
  });
6704
6708
  vi.displayName = "BaseButton";
6705
- function Fh() {
6709
+ function Uh() {
6706
6710
  const e = M(!1);
6707
6711
  return z(() => (e.current = !0, () => {
6708
6712
  e.current = !1;
6709
6713
  }), []), q(() => e.current, []);
6710
6714
  }
6711
- function Uh(e) {
6715
+ function Hh(e) {
6712
6716
  return Ie(() => e.every((t) => t == null) ? () => {
6713
6717
  } : (t) => {
6714
6718
  e.forEach((r) => {
@@ -6716,7 +6720,7 @@ function Uh(e) {
6716
6720
  });
6717
6721
  }, e);
6718
6722
  }
6719
- const Hh = {
6723
+ const Gh = {
6720
6724
  x: 0,
6721
6725
  y: 0,
6722
6726
  width: 0,
@@ -6727,7 +6731,7 @@ const Hh = {
6727
6731
  right: 0
6728
6732
  };
6729
6733
  function sa(e) {
6730
- const t = Fh(), r = M(0), a = M(null), [o, n] = F(Hh), s = Ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
6734
+ const t = Uh(), r = M(0), a = M(null), [o, n] = F(Gh), s = Ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
6731
6735
  const i = l[0];
6732
6736
  i && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6733
6737
  a.current && t() && n(i.contentRect);
@@ -6737,21 +6741,21 @@ function sa(e) {
6737
6741
  s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
6738
6742
  }), [s, e]), [a, o];
6739
6743
  }
6740
- const Gh = {
6744
+ const jh = {
6741
6745
  small: 24,
6742
6746
  // w-6
6743
6747
  medium: 32,
6744
6748
  // w-8
6745
6749
  large: 48
6746
6750
  // w-12
6747
- }, jh = {
6751
+ }, Wh = {
6748
6752
  small: 8 * 2,
6749
6753
  // px-2 x 2
6750
6754
  medium: 12 * 2,
6751
6755
  // px-3 x 2
6752
6756
  large: 16 * 2
6753
6757
  // px-4 x 2
6754
- }, Wh = 2, ko = U.forwardRef(
6758
+ }, qh = 2, ko = U.forwardRef(
6755
6759
  ({
6756
6760
  children: e,
6757
6761
  disabled: t = !1,
@@ -6775,7 +6779,7 @@ const Gh = {
6775
6779
  animated: k = !1,
6776
6780
  ...I
6777
6781
  }, C) => {
6778
- const _ = zh({
6782
+ const _ = Vh({
6779
6783
  type: wo,
6780
6784
  mode: r,
6781
6785
  focusMode: a,
@@ -6792,11 +6796,11 @@ const Gh = {
6792
6796
  radius: p,
6793
6797
  variant: v,
6794
6798
  animated: k
6795
- }), E = Bh({ mode: r, raw: l, iconClassName: w }), T = Ph({ animated: k }), [x, S] = sa(), [R, O] = sa(), [$, A] = sa(), D = M(0), B = M(null), W = Uh([C, B]);
6799
+ }), E = Ph({ mode: r, raw: l, iconClassName: w }), T = zh({ animated: k }), [x, S] = sa(), [R, O] = sa(), [$, A] = sa(), D = M(0), B = M(null), W = Hh([C, B]);
6796
6800
  return ge(() => {
6797
- $ && $.current && k && (D.current = A.width + jh[u] + (i ? 0 : Wh));
6801
+ $ && $.current && k && (D.current = A.width + Wh[u] + (i ? 0 : qh));
6798
6802
  }, [A, $, u, i, k]), ge(() => {
6799
- B && B.current && k && (h && x && S.width > 0 ? (x.current && (x.current.style.opacity = "100"), B.current.style.width = `${S.width + D.current}px`) : m && O.width > 0 ? (R.current && (R.current.style.opacity = "100"), B.current.style.width = `${O.width + D.current}px`) : (x.current && (x.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), B.current.style.width = `${Gh[u]}px`));
6803
+ B && B.current && k && (h && x && S.width > 0 ? (x.current && (x.current.style.opacity = "100"), B.current.style.width = `${S.width + D.current}px`) : m && O.width > 0 ? (R.current && (R.current.style.opacity = "100"), B.current.style.width = `${O.width + D.current}px`) : (x.current && (x.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), B.current.style.width = `${jh[u]}px`));
6800
6804
  }, [
6801
6805
  S,
6802
6806
  h,
@@ -6859,7 +6863,7 @@ try {
6859
6863
  });
6860
6864
  } catch {
6861
6865
  }
6862
- const qh = U.forwardRef(
6866
+ const Yh = U.forwardRef(
6863
6867
  ({
6864
6868
  children: e,
6865
6869
  mode: t = "system",
@@ -6897,8 +6901,8 @@ const qh = U.forwardRef(
6897
6901
  ) });
6898
6902
  }
6899
6903
  );
6900
- qh.displayName = "ButtonSort";
6901
- const Yh = ({
6904
+ Yh.displayName = "ButtonSort";
6905
+ const Jh = ({
6902
6906
  children: e,
6903
6907
  fill: t,
6904
6908
  viewBox: r,
@@ -6941,14 +6945,14 @@ try {
6941
6945
  });
6942
6946
  } catch {
6943
6947
  }
6944
- const Jh = ({
6948
+ const Kh = ({
6945
6949
  className: e,
6946
6950
  viewBox: t,
6947
6951
  title: r,
6948
6952
  monotone: a,
6949
6953
  ...o
6950
6954
  }) => /* @__PURE__ */ c(
6951
- Yh,
6955
+ Jh,
6952
6956
  {
6953
6957
  defaultViewBox: "0 0 384 512",
6954
6958
  size: "size-5",
@@ -6979,7 +6983,7 @@ try {
6979
6983
  } catch {
6980
6984
  }
6981
6985
  const _i = te.createContext(null);
6982
- function Kh({
6986
+ function Qh({
6983
6987
  initialOpen: e = !1,
6984
6988
  open: t,
6985
6989
  onOpenChange: r
@@ -7013,14 +7017,14 @@ const Ur = () => {
7013
7017
  throw new Error("Modal components must be wrapped in <Modal />");
7014
7018
  return e;
7015
7019
  };
7016
- function Qh({
7020
+ function Xh({
7017
7021
  children: e,
7018
7022
  ...t
7019
7023
  }) {
7020
- const r = Kh(t);
7024
+ const r = Qh(t);
7021
7025
  return /* @__PURE__ */ c(_i.Provider, { value: r, children: e });
7022
7026
  }
7023
- const Xh = te.forwardRef(function(e, t) {
7027
+ const Zh = te.forwardRef(function(e, t) {
7024
7028
  const { context: r, ...a } = Ur(), o = Za([a.refs.setFloating, t]);
7025
7029
  if (!r.open)
7026
7030
  return null;
@@ -7038,13 +7042,13 @@ const Xh = te.forwardRef(function(e, t) {
7038
7042
  children: s.children
7039
7043
  }
7040
7044
  ) }) }) });
7041
- }), Zh = te.forwardRef(function({ children: e, ...t }, r) {
7045
+ }), em = te.forwardRef(function({ children: e, ...t }, r) {
7042
7046
  const { setLabelId: a } = Ur(), o = Or();
7043
7047
  return te.useLayoutEffect(() => (a(o), () => a(void 0)), [o, a]), /* @__PURE__ */ c("h1", { ...t, ref: r, id: o, children: e });
7044
- }), em = te.forwardRef(function({ children: e, ...t }, r) {
7048
+ }), tm = te.forwardRef(function({ children: e, ...t }, r) {
7045
7049
  const { setDescriptionId: a } = Ur(), o = Or();
7046
7050
  return te.useLayoutEffect(() => (a(o), () => a(void 0)), [o, a]), /* @__PURE__ */ c("div", { ...t, ref: r, id: o, children: e });
7047
- }), tm = te.forwardRef(function(e, t) {
7051
+ }), rm = te.forwardRef(function(e, t) {
7048
7052
  const { setOpen: r } = Ur(), { trigger: a, className: o, ...n } = e, s = te.useCallback(() => r(!1), [r]);
7049
7053
  return /* @__PURE__ */ c("div", { className: o, children: te.cloneElement(a, {
7050
7054
  ref: t,
@@ -7065,7 +7069,7 @@ try {
7065
7069
  });
7066
7070
  } catch {
7067
7071
  }
7068
- const Wt = "panel", br = "messagebox", rm = ({
7072
+ const Wt = "panel", br = "messagebox", am = ({
7069
7073
  className: e,
7070
7074
  kind: t,
7071
7075
  borderMode: r,
@@ -7087,7 +7091,7 @@ const Wt = "panel", br = "messagebox", rm = ({
7087
7091
  footer: "flex grow flex-col sm:p-4 p-2",
7088
7092
  header: "sm:p-4 mb-0 p-2",
7089
7093
  close: "sm:p-4 p-2"
7090
- }), am = "slide", In = "fade", Ft = ({
7094
+ }), om = "slide", In = "fade", Ft = ({
7091
7095
  open: e,
7092
7096
  onOpenChange: t,
7093
7097
  title: r,
@@ -7097,13 +7101,13 @@ const Wt = "panel", br = "messagebox", rm = ({
7097
7101
  kind: s = Wt,
7098
7102
  className: l,
7099
7103
  animation: i = !1,
7100
- animationType: d = am
7104
+ animationType: d = om
7101
7105
  }) => {
7102
7106
  const f = M(""), [u, h] = F(
7103
7107
  i ? d === In ? { opacity: 0 } : {
7104
7108
  transform: "translateY(-100vh)"
7105
7109
  } : {}
7106
- ), m = rm({
7110
+ ), m = am({
7107
7111
  className: l,
7108
7112
  kind: s,
7109
7113
  borderMode: n,
@@ -7127,10 +7131,10 @@ const Wt = "panel", br = "messagebox", rm = ({
7127
7131
  }, 100);
7128
7132
  return () => clearTimeout(y);
7129
7133
  }
7130
- }, [e, i, d]), /* @__PURE__ */ c(se, { children: e && /* @__PURE__ */ c(Qh, { open: e, onOpenChange: t, children: /* @__PURE__ */ N(Xh, { className: m.main, style: u, children: [
7134
+ }, [e, i, d]), /* @__PURE__ */ c(se, { children: e && /* @__PURE__ */ c(Xh, { open: e, onOpenChange: t, children: /* @__PURE__ */ N(Zh, { className: m.main, style: u, children: [
7131
7135
  /* @__PURE__ */ N("div", { className: "flex flex-row-reverse items-center justify-between", children: [
7132
7136
  /* @__PURE__ */ c(
7133
- tm,
7137
+ rm,
7134
7138
  {
7135
7139
  className: m.close,
7136
7140
  trigger: /* @__PURE__ */ c(
@@ -7140,14 +7144,14 @@ const Wt = "panel", br = "messagebox", rm = ({
7140
7144
  focusMode: "light",
7141
7145
  noBorder: !0,
7142
7146
  label: "Close",
7143
- children: /* @__PURE__ */ c(Jh, {})
7147
+ children: /* @__PURE__ */ c(Kh, {})
7144
7148
  }
7145
7149
  )
7146
7150
  }
7147
7151
  ),
7148
- /* @__PURE__ */ c(Zh, { className: m.header, children: r })
7152
+ /* @__PURE__ */ c(em, { className: m.header, children: r })
7149
7153
  ] }),
7150
- /* @__PURE__ */ c(em, { className: m.content, children: a }),
7154
+ /* @__PURE__ */ c(tm, { className: m.content, children: a }),
7151
7155
  o && /* @__PURE__ */ c("div", { className: m.footer, children: o })
7152
7156
  ] }) }) });
7153
7157
  };
@@ -7392,7 +7396,7 @@ const Dt = ({
7392
7396
  ), Hr = ts((e, t) => /* @__PURE__ */ c(bl, { children: /* @__PURE__ */ c(ki, { ...e, ref: t }) }));
7393
7397
  Hr.displayName = "Menu";
7394
7398
  ki.displayName = "MenuComponent";
7395
- const om = ({
7399
+ const nm = ({
7396
7400
  children: e,
7397
7401
  fill: t,
7398
7402
  viewBox: r,
@@ -7435,14 +7439,14 @@ try {
7435
7439
  });
7436
7440
  } catch {
7437
7441
  }
7438
- const nm = ({
7442
+ const sm = ({
7439
7443
  className: e,
7440
7444
  viewBox: t,
7441
7445
  title: r,
7442
7446
  monotone: a,
7443
7447
  ...o
7444
7448
  }) => /* @__PURE__ */ N(
7445
- om,
7449
+ nm,
7446
7450
  {
7447
7451
  defaultViewBox: "0 0 448 512",
7448
7452
  size: "size-5",
@@ -7530,7 +7534,7 @@ const qe = te.forwardRef(
7530
7534
  }
7531
7535
  }),
7532
7536
  children: [
7533
- s && /* @__PURE__ */ c(nm, { className: "mr-2", size: "size-4" }),
7537
+ s && /* @__PURE__ */ c(sm, { className: "mr-2", size: "size-4" }),
7534
7538
  r,
7535
7539
  e && /* @__PURE__ */ c("span", { className: d, children: e })
7536
7540
  ]
@@ -7539,7 +7543,7 @@ const qe = te.forwardRef(
7539
7543
  }
7540
7544
  );
7541
7545
  qe.displayName = "MenuItem";
7542
- const sm = ({ className: e, ...t }) => {
7546
+ const im = ({ className: e, ...t }) => {
7543
7547
  const r = g(e, "my-1 border-t border-border-medium");
7544
7548
  return /* @__PURE__ */ c("div", { className: r, ...t });
7545
7549
  }, xi = ({
@@ -7565,12 +7569,12 @@ try {
7565
7569
  });
7566
7570
  } catch {
7567
7571
  }
7568
- const im = (e) => {
7572
+ const lm = (e) => {
7569
7573
  for (let t = 0; t < e.length; t++)
7570
7574
  if (e[t].enabled)
7571
7575
  return !0;
7572
7576
  return !1;
7573
- }, lm = ({
7577
+ }, cm = ({
7574
7578
  className: e,
7575
7579
  defaultPlacement: t = "top-start"
7576
7580
  }) => {
@@ -7590,7 +7594,7 @@ const im = (e) => {
7590
7594
  }
7591
7595
  });
7592
7596
  };
7593
- return d && i && i.tags && im(i.tags) && /* @__PURE__ */ c(
7597
+ return d && i && i.tags && lm(i.tags) && /* @__PURE__ */ c(
7594
7598
  it,
7595
7599
  {
7596
7600
  label: "Prompts",
@@ -7804,7 +7808,7 @@ const im = (e) => {
7804
7808
  }
7805
7809
  )
7806
7810
  ] });
7807
- }, cm = ({
7811
+ }, dm = ({
7808
7812
  show: e,
7809
7813
  bottom: t,
7810
7814
  onClick: r,
@@ -7849,7 +7853,7 @@ const im = (e) => {
7849
7853
  }
7850
7854
  )
7851
7855
  }
7852
- ) : null, dm = ({
7856
+ ) : null, um = ({
7853
7857
  className: e
7854
7858
  }) => {
7855
7859
  const {
@@ -7893,7 +7897,7 @@ const im = (e) => {
7893
7897
  label: "Google Gemini",
7894
7898
  icon: ms
7895
7899
  }
7896
- ], um = ({ className: e }) => {
7900
+ ], fm = ({ className: e }) => {
7897
7901
  const {
7898
7902
  dispatch: t,
7899
7903
  state: { privateChat: r },
@@ -7963,37 +7967,37 @@ const im = (e) => {
7963
7967
  )
7964
7968
  }
7965
7969
  ) }) : null;
7966
- }, fm = () => g(
7970
+ }, hm = () => g(
7967
7971
  "relative rounded-md text-base h-auto min-w-28 overflow-hidden pt-2"
7968
- ), Nn = () => g("bg-surface-darker"), hm = () => g("text-copy-lighter caret-copy-light"), mm = () => g(
7972
+ ), Nn = () => g("bg-surface-darker"), mm = () => g("text-copy-lighter caret-copy-light"), pm = () => g(
7969
7973
  "has-[.av-prompt-editable:focus]:outline",
7970
7974
  "has-[.av-prompt-editable:focus]:outline-2",
7971
7975
  "has-[.av-prompt-editable:focus]:outline-offset-2",
7972
7976
  "has-[.av-prompt-editable:focus]:outline-focus-light"
7973
- ), pm = () => g(
7977
+ ), gm = () => g(
7974
7978
  "peer",
7975
7979
  "text-base resize-none overflow-hidden w-full text-inherit outline-none",
7976
7980
  "h-6 pr-2 pl-4"
7977
- ), gm = ({ className: e }) => {
7981
+ ), ym = ({ className: e }) => {
7978
7982
  const t = g(
7979
7983
  Yi,
7980
- fm(),
7981
- Nn(),
7982
7984
  hm(),
7985
+ Nn(),
7983
7986
  mm(),
7987
+ pm(),
7984
7988
  e
7985
7989
  ), r = g(
7986
7990
  Ji,
7987
- pm(),
7991
+ gm(),
7988
7992
  Nn()
7989
7993
  );
7990
7994
  return {
7991
7995
  wrapper: t,
7992
7996
  textArea: r
7993
7997
  };
7994
- }, Ii = 24, ym = 500, Ci = 2, bm = 5, vm = Ii * Ci, Rn = bm * Ii, _m = "ready", wm = "streaming", km = "error", xm = "submitted", vr = (e) => {
7995
- e.current && (e.current.style.height = `${vm}px`);
7996
- }, Tm = () => {
7998
+ }, Ii = 24, bm = 500, Ci = 2, vm = 5, _m = Ii * Ci, Rn = vm * Ii, wm = "ready", km = "streaming", xm = "error", Tm = "submitted", vr = (e) => {
7999
+ e.current && (e.current.style.height = `${_m}px`);
8000
+ }, Em = () => {
7997
8001
  const { user: e, getAccessToken: t } = Ee(), [r, a] = F(!1), {
7998
8002
  dispatch: o,
7999
8003
  state: { reasoning: n, streaming: s, aborted: l, lastResetTimestamp: i }
@@ -8003,7 +8007,7 @@ const im = (e) => {
8003
8007
  searchString: u.searchString,
8004
8008
  sortDirection: u.sortDirection,
8005
8009
  getAccessToken: t
8006
- }), m = M(!1), y = M(0), b = M(null), p = M(null), v = Jt(), w = gm({
8010
+ }), m = M(!1), y = M(0), b = M(null), p = M(null), v = Jt(), w = ym({
8007
8011
  className: ""
8008
8012
  }), {
8009
8013
  input: k,
@@ -8024,25 +8028,25 @@ const im = (e) => {
8024
8028
  }
8025
8029
  }), S = q(
8026
8030
  async (A) => {
8027
- A === _m && o({
8031
+ A === wm && o({
8028
8032
  type: ut,
8029
8033
  payload: {
8030
8034
  loading: !1,
8031
8035
  streaming: !1
8032
8036
  }
8033
- }), A === xm && o({
8037
+ }), A === Tm && o({
8034
8038
  type: ut,
8035
8039
  payload: {
8036
8040
  loading: !0,
8037
8041
  streaming: !1
8038
8042
  }
8039
- }), A === wm && o({
8043
+ }), A === km && o({
8040
8044
  type: ut,
8041
8045
  payload: {
8042
8046
  loading: !1,
8043
8047
  streaming: !0
8044
8048
  }
8045
- }), A === km && setTimeout(() => {
8049
+ }), A === xm && setTimeout(() => {
8046
8050
  l || (o({
8047
8051
  type: ut,
8048
8052
  payload: {
@@ -8081,7 +8085,7 @@ const im = (e) => {
8081
8085
  headers: {
8082
8086
  "Content-Type": "application/json",
8083
8087
  authorization: `Bearer ${D}`,
8084
- [Mf]: x
8088
+ [Df]: x
8085
8089
  },
8086
8090
  body: {
8087
8091
  reasoning: n
@@ -8113,7 +8117,7 @@ const im = (e) => {
8113
8117
  }
8114
8118
  i > 0 && i !== y.current ? (y.current = i, setTimeout(() => {
8115
8119
  p.current && (!k && vr(p), p.current.focus());
8116
- }, ym)) : s === !1 && !k && (vr(p), p.current && p.current.focus());
8120
+ }, bm)) : s === !1 && !k && (vr(p), p.current && p.current.focus());
8117
8121
  }, [i, s, k]), z(() => {
8118
8122
  d.lastTriggeredTimestamp && setTimeout(() => {
8119
8123
  R();
@@ -8143,9 +8147,9 @@ const im = (e) => {
8143
8147
  }
8144
8148
  ) }),
8145
8149
  /* @__PURE__ */ N("div", { className: "p-2 flex items-center", children: [
8146
- /* @__PURE__ */ c(dm, { className: "order-6 ml-auto" }),
8147
- /* @__PURE__ */ c(Ch, { className: "order-1 mr-4 sm:mr-2" }),
8148
- /* @__PURE__ */ c(lm, { className: "order-2 mr-4 sm:mr-2" }),
8150
+ /* @__PURE__ */ c(um, { className: "order-6 ml-auto" }),
8151
+ /* @__PURE__ */ c(Sh, { className: "order-1 mr-4 sm:mr-2" }),
8152
+ /* @__PURE__ */ c(cm, { className: "order-2 mr-4 sm:mr-2" }),
8149
8153
  !at() && /* @__PURE__ */ N(se, { children: [
8150
8154
  r && /* @__PURE__ */ c(Ti, { className: "order-3 mr-4 sm:mr-2" }),
8151
8155
  /* @__PURE__ */ c(wi, { className: "order-4 mr-4 sm:mr-2" }),
@@ -8153,7 +8157,7 @@ const im = (e) => {
8153
8157
  ] })
8154
8158
  ] })
8155
8159
  ] }) });
8156
- }, _r = "--sassy-bottom", An = 16, On = 76, Em = ({ isComponent: e }) => {
8160
+ }, _r = "--sassy-bottom", An = 16, On = 76, Im = ({ isComponent: e }) => {
8157
8161
  const {
8158
8162
  state: { loading: t, streaming: r, restoring: a }
8159
8163
  } = ee(xe), {
@@ -8229,17 +8233,17 @@ const im = (e) => {
8229
8233
  If
8230
8234
  ),
8231
8235
  children: [
8232
- /* @__PURE__ */ c(Tm, {}),
8236
+ /* @__PURE__ */ c(Em, {}),
8233
8237
  /* @__PURE__ */ c("div", { className: "w-full text-center text-xs text-copy-lighter pt-2", children: Qi })
8234
8238
  ]
8235
8239
  }
8236
8240
  );
8237
- }, Im = Xa(
8241
+ }, Cm = Xa(
8238
8242
  () => import(
8239
8243
  /* webpackChunkName: "LazyAboutChangelog" */
8240
- "./AboutChangelog.BpBrXYNM.js"
8244
+ "./AboutChangelog.CoKmvAdI.js"
8241
8245
  )
8242
- ), Cm = () => {
8246
+ ), Sm = () => {
8243
8247
  const e = Jt(), t = Jt(), { data: r, isSuccess: a } = Ud(), { data: o, isSuccess: n } = Hd(), s = (r == null ? void 0 : r.version) || "", l = (r == null ? void 0 : r.models) || [];
8244
8248
  return /* @__PURE__ */ N(se, { children: [
8245
8249
  /* @__PURE__ */ c(
@@ -8248,8 +8252,8 @@ const im = (e) => {
8248
8252
  header: ne.ABOUT.TITLE_CLIENT,
8249
8253
  className: "prose-dark dark:prose-lighter mb-4",
8250
8254
  children: Ir(e, {
8251
- [ne.ABOUT.VERSION]: "8.13.5",
8252
- [ne.ABOUT.BUILD_TIMESTAMP]: "04/14/2025 06:28 PM EDT"
8255
+ [ne.ABOUT.VERSION]: "8.13.6",
8256
+ [ne.ABOUT.BUILD_TIMESTAMP]: "04/20/2025 09:30 AM EDT"
8253
8257
  })
8254
8258
  }
8255
8259
  ),
@@ -8270,18 +8274,18 @@ const im = (e) => {
8270
8274
  mode: "dark",
8271
8275
  header: ne.ABOUT.TITLE_CLIENT_CHANGELOG,
8272
8276
  className: "prose-lighter dark:prose-lighter min-h-[326px]",
8273
- children: n ? /* @__PURE__ */ c(Qa, { fallback: /* @__PURE__ */ c("div", { children: "Loading..." }), children: /* @__PURE__ */ c(Im, { content: o.client }) }) : null
8277
+ children: n ? /* @__PURE__ */ c(Qa, { fallback: /* @__PURE__ */ c("div", { children: "Loading..." }), children: /* @__PURE__ */ c(Cm, { content: o.client }) }) : null
8274
8278
  }
8275
8279
  )
8276
8280
  ] });
8277
- }, Sm = ({
8281
+ }, Nm = ({
8278
8282
  open: e,
8279
8283
  onOpenChange: t
8280
- }) => /* @__PURE__ */ c(Ft, { open: e, onOpenChange: t, title: Xi, children: /* @__PURE__ */ c(Cm, {}) }), Nm = {
8284
+ }) => /* @__PURE__ */ c(Ft, { open: e, onOpenChange: t, title: Xi, children: /* @__PURE__ */ c(Sm, {}) }), Rm = {
8281
8285
  [fo]: fs,
8282
8286
  [Pr]: ps,
8283
8287
  [ho]: ms
8284
- }, Rm = ({
8288
+ }, Am = ({
8285
8289
  filteredHistory: e,
8286
8290
  dispatch: t,
8287
8291
  onOpenChange: r,
@@ -8439,7 +8443,7 @@ const im = (e) => {
8439
8443
  ] }) }),
8440
8444
  /* @__PURE__ */ c(ed, { children: e.slice(0, f).map((x, S) => {
8441
8445
  var A, D;
8442
- const R = x.summary || (x.messages.length > 0 ? (A = x.messages[0]) == null ? void 0 : A.content : ""), O = x.model ? Df(x.model) : null, $ = O ? Nm[O] : null;
8446
+ const R = x.summary || (x.messages.length > 0 ? (A = x.messages[0]) == null ? void 0 : A.content : ""), O = x.model ? Bf(x.model) : null, $ = O ? Rm[O] : null;
8443
8447
  return ((D = x == null ? void 0 : x.messages) == null ? void 0 : D.length) > 0 ? /* @__PURE__ */ N(gl, { children: [
8444
8448
  S === f - Mo && /* @__PURE__ */ c("tr", { ref: s }),
8445
8449
  /* @__PURE__ */ N(qr, { children: [
@@ -8522,7 +8526,7 @@ const im = (e) => {
8522
8526
  ) }) }) }) })
8523
8527
  ] })
8524
8528
  ] });
8525
- }, Am = ({
8529
+ }, Om = ({
8526
8530
  open: e,
8527
8531
  onOpenChange: t
8528
8532
  }) => {
@@ -8596,7 +8600,7 @@ const im = (e) => {
8596
8600
  }
8597
8601
  ) }),
8598
8602
  /* @__PURE__ */ c("div", { className: "flex flex-col sm:flex-row max-h-[60vh] min-h-[60vh]", children: /* @__PURE__ */ c(
8599
- Rm,
8603
+ Am,
8600
8604
  {
8601
8605
  mutate: m,
8602
8606
  filteredHistory: n,
@@ -8607,7 +8611,7 @@ const im = (e) => {
8607
8611
  ] })
8608
8612
  }
8609
8613
  );
8610
- }, Om = () => {
8614
+ }, $m = () => {
8611
8615
  const { isAuthenticated: e, user: t, registeringForPasskey: r, authenticationType: a } = Ee(), o = Jt(), n = (t == null ? void 0 : t.username) || "";
8612
8616
  return e && n ? /* @__PURE__ */ N(se, { children: [
8613
8617
  /* @__PURE__ */ c(
@@ -8645,7 +8649,7 @@ const im = (e) => {
8645
8649
  }
8646
8650
  )
8647
8651
  ] }) : null;
8648
- }, $m = ({
8652
+ }, Lm = ({
8649
8653
  open: e,
8650
8654
  onOpenChange: t
8651
8655
  }) => /* @__PURE__ */ c(
@@ -8655,16 +8659,16 @@ const im = (e) => {
8655
8659
  open: e,
8656
8660
  onOpenChange: t,
8657
8661
  title: ol,
8658
- children: /* @__PURE__ */ c(Om, {})
8662
+ children: /* @__PURE__ */ c($m, {})
8659
8663
  }
8660
- ), Si = "av-text-area", Lm = "av-text-area-wrapper", ia = "av-text-area-helper-text", Mm = "av-text-area__control--right", Dm = "av-text-area__control--left";
8661
- function Bm() {
8664
+ ), Si = "av-text-area", Mm = "av-text-area-wrapper", ia = "av-text-area-helper-text", Dm = "av-text-area__control--right", Bm = "av-text-area__control--left";
8665
+ function Pm() {
8662
8666
  const e = M(!1);
8663
8667
  return z(() => (e.current = !0, () => {
8664
8668
  e.current = !1;
8665
8669
  }), []), q(() => e.current, []);
8666
8670
  }
8667
- function Pm(e) {
8671
+ function zm(e) {
8668
8672
  return Ie(() => e.every((t) => t == null) ? () => {
8669
8673
  } : (t) => {
8670
8674
  e.forEach((r) => {
@@ -8672,7 +8676,7 @@ function Pm(e) {
8672
8676
  });
8673
8677
  }, e);
8674
8678
  }
8675
- const zm = {
8679
+ const Vm = {
8676
8680
  x: 0,
8677
8681
  y: 0,
8678
8682
  width: 0,
@@ -8683,7 +8687,7 @@ const zm = {
8683
8687
  right: 0
8684
8688
  };
8685
8689
  function $n(e) {
8686
- const t = Bm(), r = M(0), a = M(null), [o, n] = F(zm), s = Ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
8690
+ const t = Pm(), r = M(0), a = M(null), [o, n] = F(Vm), s = Ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
8687
8691
  const i = l[0];
8688
8692
  i && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
8689
8693
  a.current && t() && n(i.contentRect);
@@ -8693,7 +8697,7 @@ function $n(e) {
8693
8697
  s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
8694
8698
  }), [s, e]), [a, o];
8695
8699
  }
8696
- function Vm({
8700
+ function Fm({
8697
8701
  value: e,
8698
8702
  defaultValue: t,
8699
8703
  finalValue: r,
@@ -8712,7 +8716,7 @@ function Vm({
8712
8716
  ), s(!0)))();
8713
8717
  }, [e, o, n]), e !== void 0 ? !n && o > 0 ? ["", a, !0] : [e, a, !0] : [l, d, !1];
8714
8718
  }
8715
- function Fm(e) {
8719
+ function Um(e) {
8716
8720
  const t = Or();
8717
8721
  if (!e)
8718
8722
  return t;
@@ -8723,7 +8727,7 @@ function Fm(e) {
8723
8727
  return typeof r == "number" || typeof r == "string" ? `${a}${r}` : `${a}${t}`;
8724
8728
  }
8725
8729
  }
8726
- const Ni = "SET_ANNOUNCEMENT", Ri = "CLEAR_ANNOUNCEMENT", Um = {
8730
+ const Ni = "SET_ANNOUNCEMENT", Ri = "CLEAR_ANNOUNCEMENT", Hm = {
8727
8731
  alert: null,
8728
8732
  alertdialog: null,
8729
8733
  log: "polite",
@@ -8731,7 +8735,7 @@ const Ni = "SET_ANNOUNCEMENT", Ri = "CLEAR_ANNOUNCEMENT", Um = {
8731
8735
  progressbar: null,
8732
8736
  status: "polite",
8733
8737
  timer: "assertive"
8734
- }, Hm = (e, t) => {
8738
+ }, Gm = (e, t) => {
8735
8739
  switch (t == null ? void 0 : t.type) {
8736
8740
  case Ni:
8737
8741
  return {
@@ -8746,7 +8750,7 @@ const Ni = "SET_ANNOUNCEMENT", Ri = "CLEAR_ANNOUNCEMENT", Um = {
8746
8750
  default:
8747
8751
  return e;
8748
8752
  }
8749
- }, Gm = ({
8753
+ }, jm = ({
8750
8754
  onAnnouncementClear: e,
8751
8755
  dispatch: t
8752
8756
  }) => {
@@ -8764,13 +8768,13 @@ const Ni = "SET_ANNOUNCEMENT", Ri = "CLEAR_ANNOUNCEMENT", Um = {
8764
8768
  type: Ni,
8765
8769
  payload: e
8766
8770
  }), t && (r.current = setTimeout(
8767
- () => Gm({
8771
+ () => jm({
8768
8772
  onAnnouncementClear: a,
8769
8773
  dispatch: o
8770
8774
  }),
8771
8775
  t
8772
8776
  ));
8773
- }, jm = ({
8777
+ }, Wm = ({
8774
8778
  children: e,
8775
8779
  announcementTimeoutRef: t,
8776
8780
  announcementDelay: r,
@@ -8793,7 +8797,7 @@ const Ni = "SET_ANNOUNCEMENT", Ri = "CLEAR_ANNOUNCEMENT", Um = {
8793
8797
  dispatch: s
8794
8798
  });
8795
8799
  };
8796
- function Wm({
8800
+ function qm({
8797
8801
  children: e,
8798
8802
  className: t,
8799
8803
  politeness: r,
@@ -8804,12 +8808,12 @@ function Wm({
8804
8808
  visible: l,
8805
8809
  ...i
8806
8810
  }) {
8807
- const d = M(null), f = M(null), [u, h] = Gt(Hm, {
8811
+ const d = M(null), f = M(null), [u, h] = Gt(Gm, {
8808
8812
  announcement: null
8809
8813
  });
8810
8814
  let m = r;
8811
- typeof m > "u" && (m = a ? Um[a] : "assertive"), z(() => {
8812
- jm({
8815
+ typeof m > "u" && (m = a ? Hm[a] : "assertive"), z(() => {
8816
+ Wm({
8813
8817
  announcementTimeoutRef: d,
8814
8818
  announcementDelay: o,
8815
8819
  children: e,
@@ -8851,19 +8855,19 @@ try {
8851
8855
  });
8852
8856
  } catch {
8853
8857
  }
8854
- const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", Ym = ({ mode: e }) => g({
8858
+ const Ym = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", Jm = ({ mode: e }) => g({
8855
8859
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
8856
8860
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
8857
8861
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
8858
8862
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
8859
- }), Jm = ({
8863
+ }), Km = ({
8860
8864
  focusMode: e
8861
8865
  }) => g("focus:outline focus:outline-2 focus:outline-offset-2", {
8862
8866
  "focus:outline-focus-dark": e === "dark",
8863
8867
  "focus:outline-focus-light": e === "light",
8864
8868
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
8865
8869
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
8866
- }), Km = ({
8870
+ }), Qm = ({
8867
8871
  noBorder: e,
8868
8872
  error: t
8869
8873
  }) => g("border-2", {
@@ -8871,7 +8875,7 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
8871
8875
  "focus:border-border-dark": !e && t,
8872
8876
  "border-border-error-dark": !e && t,
8873
8877
  "border-transparent": e
8874
- }), Qm = ({
8878
+ }), Xm = ({
8875
8879
  disabled: e,
8876
8880
  raw: t,
8877
8881
  error: r,
@@ -8910,7 +8914,7 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
8910
8914
  "text-copy-medium dark:text-copy-error-dark": a === "alt-system"
8911
8915
  }
8912
8916
  );
8913
- }, Xm = ({
8917
+ }, Zm = ({
8914
8918
  error: e,
8915
8919
  raw: t,
8916
8920
  mode: r,
@@ -8937,7 +8941,7 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
8937
8941
  "text-copy-error-dark dark:text-copy-error-light": r === "system",
8938
8942
  "dark:text-copy-error-dark text-copy-error-light": r === "alt-system"
8939
8943
  });
8940
- }, Zm = ({
8944
+ }, ep = ({
8941
8945
  className: e,
8942
8946
  textAreaClassName: t,
8943
8947
  raw: r,
@@ -8951,34 +8955,34 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
8951
8955
  }) => {
8952
8956
  const f = r ? e : g(
8953
8957
  "relative flex w-full flex-col justify-center",
8954
- Lm,
8958
+ Mm,
8955
8959
  e
8956
8960
  ), u = r ? g(t) : g(
8957
8961
  Si,
8958
8962
  t,
8959
- qm(),
8960
- Ym({ mode: l }),
8961
- Jm({ focusMode: a }),
8962
- Km({
8963
+ Ym(),
8964
+ Jm({ mode: l }),
8965
+ Km({ focusMode: a }),
8966
+ Qm({
8963
8967
  noBorder: n,
8964
8968
  error: s
8965
8969
  }),
8966
8970
  {
8967
8971
  "disabled:cursor-not-allowed disabled:opacity-50": o
8968
8972
  }
8969
- ), h = r ? void 0 : "sr-only", m = Qm({
8973
+ ), h = r ? void 0 : "sr-only", m = Xm({
8970
8974
  disabled: o,
8971
8975
  raw: r,
8972
8976
  error: s,
8973
8977
  mode: l,
8974
8978
  rightElement: d,
8975
8979
  leftElement: i
8976
- }), y = Xm({
8980
+ }), y = Zm({
8977
8981
  error: s,
8978
8982
  raw: r,
8979
8983
  mode: l,
8980
8984
  disabled: o
8981
- }), b = r ? void 0 : g(Mm, "absolute"), p = r ? void 0 : g(Dm, "absolute");
8985
+ }), b = r ? void 0 : g(Dm, "absolute"), p = r ? void 0 : g(Bm, "absolute");
8982
8986
  return {
8983
8987
  wrapper: f,
8984
8988
  textArea: u,
@@ -8988,7 +8992,7 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
8988
8992
  rightElement: b,
8989
8993
  leftElement: p
8990
8994
  };
8991
- }, ep = ({
8995
+ }, tp = ({
8992
8996
  scrollHeight: e,
8993
8997
  currentHeight: t,
8994
8998
  currentLabelOffset: r = 0,
@@ -9030,9 +9034,9 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
9030
9034
  ...C
9031
9035
  }, _) => {
9032
9036
  var E;
9033
- const T = M(null), x = Pm([_, T]), [S, R] = $n(), [O, $] = $n(), A = M(80), D = M(-25), B = M(null), W = M(30), G = M(null), J = Fm({ id: e, prefix: `${Si}-` }), [me, Be] = F(0), [Ce, Xe] = F(0), [lt, je] = F(
9037
+ const T = M(null), x = zm([_, T]), [S, R] = $n(), [O, $] = $n(), A = M(80), D = M(-25), B = M(null), W = M(30), G = M(null), J = Um({ id: e, prefix: `${Si}-` }), [me, Be] = F(0), [Ce, Xe] = F(0), [lt, je] = F(
9034
9038
  !!(!b && y)
9035
- ), Pe = `${t} error, ${y}`, _e = Zm({
9039
+ ), Pe = `${t} error, ${y}`, _e = ep({
9036
9040
  className: n,
9037
9041
  textAreaClassName: s,
9038
9042
  error: a,
@@ -9043,7 +9047,7 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
9043
9047
  mode: l,
9044
9048
  rightElement: !!p,
9045
9049
  leftElement: !!v
9046
- }), [Se, Ut] = Vm({
9050
+ }), [Se, Ut] = Fm({
9047
9051
  value: d,
9048
9052
  initialControlledDelay: 20,
9049
9053
  defaultValue: f,
@@ -9078,7 +9082,7 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
9078
9082
  }, [Se, o]), ge(() => {
9079
9083
  var P, V;
9080
9084
  if (!o && T && T.current && Se !== void 0) {
9081
- const { labelOffset: Z, helperTextOffset: K, scrollHeight: le } = ep({
9085
+ const { labelOffset: Z, helperTextOffset: K, scrollHeight: le } = tp({
9082
9086
  scrollHeight: T.current.scrollHeight,
9083
9087
  currentHeight: A.current,
9084
9088
  currentLabelOffset: D.current,
@@ -9167,7 +9171,7 @@ const qm = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
9167
9171
  children: p
9168
9172
  }
9169
9173
  ),
9170
- a && y && /* @__PURE__ */ c(Wm, { politeness: "polite", clearAnnouncementDelay: 500, children: Pe })
9174
+ a && y && /* @__PURE__ */ c(qm, { politeness: "polite", clearAnnouncementDelay: 500, children: Pe })
9171
9175
  ] });
9172
9176
  }
9173
9177
  );
@@ -9185,7 +9189,7 @@ try {
9185
9189
  });
9186
9190
  } catch {
9187
9191
  }
9188
- const tp = "av-toggle", rp = () => g("peer", "h-6", "w-11", "rounded-full"), ap = ({
9192
+ const rp = "av-toggle", ap = () => g("peer", "h-6", "w-11", "rounded-full"), op = ({
9189
9193
  focusMode: e
9190
9194
  }) => g(
9191
9195
  "peer-focus:outline",
@@ -9197,14 +9201,14 @@ const tp = "av-toggle", rp = () => g("peer", "h-6", "w-11", "rounded-full"), ap
9197
9201
  "peer-focus:outline-focus-light dark:peer-focus:outline-focus-dark": e === "alt-system",
9198
9202
  "peer-focus:outline-focus-dark dark:peer-focus:outline-focus-light": e === "system"
9199
9203
  }
9200
- ), op = () => g(
9204
+ ), np = () => g(
9201
9205
  "peer-checked:after:translate-x-full",
9202
9206
  // background color when checked
9203
9207
  "peer-checked:bg-violet-500",
9204
9208
  // knob circle and border color when checked
9205
9209
  "peer-checked:after:bg-white",
9206
9210
  "peer-checked:after:border-white"
9207
- ), np = () => g(
9211
+ ), sp = () => g(
9208
9212
  "after:left-[2px]",
9209
9213
  "after:top-[2px]",
9210
9214
  "after:border",
@@ -9216,7 +9220,7 @@ const tp = "av-toggle", rp = () => g("peer", "h-6", "w-11", "rounded-full"), ap
9216
9220
  "after:rounded-full",
9217
9221
  "after:transition-all",
9218
9222
  "after:content-['']"
9219
- ), sp = ({
9223
+ ), ip = ({
9220
9224
  mode: e,
9221
9225
  noBorder: t
9222
9226
  }) => g({
@@ -9225,7 +9229,7 @@ const tp = "av-toggle", rp = () => g("peer", "h-6", "w-11", "rounded-full"), ap
9225
9229
  "border-border-light bg-surface-darker": e === "dark",
9226
9230
  "border-border-light bg-surface-darker dark:border-border-dark dark:bg-surface-medium": e === "alt-system",
9227
9231
  "border-border-dark bg-surface-medium dark:border-border-light dark:bg-surface-darker": e === "system"
9228
- }), ip = ({
9232
+ }), lp = ({
9229
9233
  mode: e,
9230
9234
  labelHidden: t
9231
9235
  }) => t ? "sr-only" : g("ml-2 text-sm", {
@@ -9233,11 +9237,11 @@ const tp = "av-toggle", rp = () => g("peer", "h-6", "w-11", "rounded-full"), ap
9233
9237
  "text-copy-lighter": e === "dark",
9234
9238
  "text-copy-lighter dark:text-copy-dark": e === "alt-system",
9235
9239
  "text-copy-dark dark:text-copy-lighter": e === "system"
9236
- }), lp = ({ className: e }) => g(
9237
- tp,
9240
+ }), cp = ({ className: e }) => g(
9241
+ rp,
9238
9242
  "relative flex cursor-pointer items-center",
9239
9243
  e
9240
- ), cp = ({
9244
+ ), dp = ({
9241
9245
  mode: e,
9242
9246
  focusMode: t,
9243
9247
  labelHidden: r,
@@ -9245,15 +9249,15 @@ const tp = "av-toggle", rp = () => g("peer", "h-6", "w-11", "rounded-full"), ap
9245
9249
  noBorder: o
9246
9250
  }) => ({
9247
9251
  toggle: g(
9248
- rp(),
9249
- sp({ mode: e, noBorder: o }),
9250
- ap({ focusMode: t }),
9251
- np(),
9252
- op()
9252
+ ap(),
9253
+ ip({ mode: e, noBorder: o }),
9254
+ op({ focusMode: t }),
9255
+ sp(),
9256
+ np()
9253
9257
  ),
9254
- label: ip({ mode: e, labelHidden: r }),
9258
+ label: lp({ mode: e, labelHidden: r }),
9255
9259
  input: "peer sr-only",
9256
- wrapper: lp({ className: a })
9260
+ wrapper: cp({ className: a })
9257
9261
  }), wr = ({
9258
9262
  checked: e = !1,
9259
9263
  onChange: t,
@@ -9265,7 +9269,7 @@ const tp = "av-toggle", rp = () => g("peer", "h-6", "w-11", "rounded-full"), ap
9265
9269
  className: l,
9266
9270
  noBorder: i = !1
9267
9271
  }) => {
9268
- const d = cp({
9272
+ const d = dp({
9269
9273
  mode: n,
9270
9274
  focusMode: s,
9271
9275
  labelHidden: a,
@@ -9302,7 +9306,7 @@ try {
9302
9306
  });
9303
9307
  } catch {
9304
9308
  }
9305
- const dp = ({
9309
+ const up = ({
9306
9310
  open: e,
9307
9311
  onOpenChange: t
9308
9312
  }) => {
@@ -9594,10 +9598,10 @@ const dp = ({
9594
9598
  ] })
9595
9599
  }
9596
9600
  ) : null;
9597
- }, dt = [0, 3, 6, 9], up = Xa(() => import(
9601
+ }, dt = [0, 3, 6, 9], fp = Xa(() => import(
9598
9602
  /* webpackChunkName: "LazyChart" */
9599
- "./Chart.CAf8jkY7.js"
9600
- )), fp = ({
9603
+ "./Chart.DzKN41nk.js"
9604
+ )), hp = ({
9601
9605
  open: e,
9602
9606
  onOpenChange: t
9603
9607
  }) => {
@@ -9653,7 +9657,7 @@ const dp = ({
9653
9657
  className: "prose-dark dark:prose-lighter mt-4 min-h-[535px]",
9654
9658
  children: i && l && l.usage && l.usage.series && l.usage.series.length ? /* @__PURE__ */ N(Qa, { fallback: /* @__PURE__ */ c("div", {}), children: [
9655
9659
  /* @__PURE__ */ c("div", { className: "pt-4" }),
9656
- /* @__PURE__ */ c(up, { usage: l.usage.series, page: f }),
9660
+ /* @__PURE__ */ c(fp, { usage: l.usage.series, page: f }),
9657
9661
  /* @__PURE__ */ c(rr, { className: "mt-2", alignHorizontal: "center", children: /* @__PURE__ */ N(Ue, { children: [
9658
9662
  /* @__PURE__ */ c(
9659
9663
  pt,
@@ -9682,7 +9686,7 @@ const dp = ({
9682
9686
  ] })
9683
9687
  }
9684
9688
  );
9685
- }, hp = ({
9689
+ }, mp = ({
9686
9690
  isComponent: e = !1
9687
9691
  }) => {
9688
9692
  const { logout: t, getAccessToken: r } = Ee(), [a, o] = F(!1), [n, s] = F(!1), [l, i] = F(!1), [d, f] = F(!1), [u, h] = F(!1), [m, y] = F(!1), [b, p] = F(!1), v = () => {
@@ -9720,11 +9724,11 @@ const dp = ({
9720
9724
  children: /* @__PURE__ */ c("p", { children: "Are you sure you want to log out?" })
9721
9725
  }
9722
9726
  ),
9723
- a && /* @__PURE__ */ c($m, { open: a, onOpenChange: o }),
9724
- n && /* @__PURE__ */ c(dp, { open: n, onOpenChange: s }),
9725
- l && /* @__PURE__ */ c(Am, { open: l, onOpenChange: i }),
9726
- d && /* @__PURE__ */ c(Sm, { open: d, onOpenChange: f }),
9727
- u && /* @__PURE__ */ c(fp, { open: u, onOpenChange: h }),
9727
+ a && /* @__PURE__ */ c(Lm, { open: a, onOpenChange: o }),
9728
+ n && /* @__PURE__ */ c(up, { open: n, onOpenChange: s }),
9729
+ l && /* @__PURE__ */ c(Om, { open: l, onOpenChange: i }),
9730
+ d && /* @__PURE__ */ c(Nm, { open: d, onOpenChange: f }),
9731
+ u && /* @__PURE__ */ c(hp, { open: u, onOpenChange: h }),
9728
9732
  /* @__PURE__ */ c("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ N(
9729
9733
  rr,
9730
9734
  {
@@ -9733,7 +9737,7 @@ const dp = ({
9733
9737
  rowGap: 0,
9734
9738
  columnGap: 0,
9735
9739
  children: [
9736
- /* @__PURE__ */ c(Ue, { children: /* @__PURE__ */ c(um, { className: " mr-4 sm:mr-2" }) }),
9740
+ /* @__PURE__ */ c(Ue, { children: /* @__PURE__ */ c(fm, { className: " mr-4 sm:mr-2" }) }),
9737
9741
  /* @__PURE__ */ c(Ue, { children: at() && /* @__PURE__ */ N(se, { children: [
9738
9742
  m && /* @__PURE__ */ c(Ti, { className: "mr-4 sm:mr-2" }),
9739
9743
  /* @__PURE__ */ c(wi, { className: "mr-4 sm:mr-2" }),
@@ -9794,7 +9798,7 @@ const dp = ({
9794
9798
  }
9795
9799
  ),
9796
9800
  !e && /* @__PURE__ */ N(se, { children: [
9797
- /* @__PURE__ */ c(sm, {}),
9801
+ /* @__PURE__ */ c(im, {}),
9798
9802
  /* @__PURE__ */ c(
9799
9803
  qe,
9800
9804
  {
@@ -9813,7 +9817,7 @@ const dp = ({
9813
9817
  }
9814
9818
  ) })
9815
9819
  ] });
9816
- }, Tr = "av-bubble", Mn = "av-button", xo = "icon", Ai = "button", Ya = "link", mp = ({
9820
+ }, Tr = "av-bubble", Mn = "av-button", xo = "icon", Ai = "button", Ya = "link", pp = ({
9817
9821
  type: e,
9818
9822
  size: t,
9819
9823
  labelRight: r,
@@ -9849,7 +9853,7 @@ const dp = ({
9849
9853
  "h-12": t === "large" && n && (r || a)
9850
9854
  });
9851
9855
  }
9852
- }, pp = ({
9856
+ }, gp = ({
9853
9857
  type: e,
9854
9858
  size: t,
9855
9859
  labelRight: r,
@@ -9872,7 +9876,7 @@ const dp = ({
9872
9876
  [s]: t === "large" && (r || a)
9873
9877
  });
9874
9878
  }
9875
- }, gp = ({
9879
+ }, yp = ({
9876
9880
  mode: e,
9877
9881
  noBackground: t,
9878
9882
  truncate: r,
@@ -9908,7 +9912,7 @@ const dp = ({
9908
9912
  return g("not-prose text-copy-lighter", {
9909
9913
  truncate: r
9910
9914
  });
9911
- }, yp = ({
9915
+ }, bp = ({
9912
9916
  mode: e,
9913
9917
  noBackground: t,
9914
9918
  variant: r
@@ -9938,13 +9942,13 @@ const dp = ({
9938
9942
  if (r === "selected")
9939
9943
  return "bg-action-selected-dark";
9940
9944
  }
9941
- }, bp = ({
9945
+ }, vp = ({
9942
9946
  radius: e
9943
9947
  }) => g({
9944
9948
  "rounded-full": e === "large",
9945
9949
  "rounded-md": e === "medium",
9946
9950
  "rounded-xs": e === "small"
9947
- }), vp = ({
9951
+ }), _p = ({
9948
9952
  mode: e,
9949
9953
  disabled: t,
9950
9954
  variant: r
@@ -9974,7 +9978,7 @@ const dp = ({
9974
9978
  });
9975
9979
  if (r === "selected")
9976
9980
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
9977
- }, _p = ({
9981
+ }, wp = ({
9978
9982
  mode: e,
9979
9983
  disabled: t,
9980
9984
  variant: r
@@ -10004,7 +10008,7 @@ const dp = ({
10004
10008
  });
10005
10009
  if (r === "selected")
10006
10010
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
10007
- }, wp = ({
10011
+ }, kp = ({
10008
10012
  mode: e,
10009
10013
  noBorder: t,
10010
10014
  variant: r
@@ -10034,14 +10038,14 @@ const dp = ({
10034
10038
  });
10035
10039
  if (r === "selected")
10036
10040
  return "border border-border-selected-dark";
10037
- }, kp = ({
10041
+ }, xp = ({
10038
10042
  focusMode: e
10039
10043
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
10040
10044
  "focus:outline-focus-dark": e === "dark",
10041
10045
  "focus:outline-focus-light": e === "light",
10042
10046
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
10043
10047
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
10044
- }), xp = ({
10048
+ }), Tp = ({
10045
10049
  mode: e,
10046
10050
  raw: t,
10047
10051
  iconClassName: r
@@ -10053,11 +10057,11 @@ const dp = ({
10053
10057
  "dark:text-copy-accent-dark": e === "system"
10054
10058
  },
10055
10059
  r
10056
- ), Tp = ({
10060
+ ), Ep = ({
10057
10061
  animated: e
10058
10062
  }) => g({
10059
10063
  "transition-opacity duration-300 ease-in": e
10060
- }), Ep = ({
10064
+ }), Ip = ({
10061
10065
  type: e,
10062
10066
  className: t,
10063
10067
  raw: r,
@@ -10077,15 +10081,15 @@ const dp = ({
10077
10081
  animated: p
10078
10082
  }) => (h || (h = "primary"), r ? g(Mn, t) : g(
10079
10083
  Mn,
10080
- gp({
10084
+ yp({
10081
10085
  mode: a,
10082
10086
  variant: h,
10083
10087
  noBackground: u,
10084
10088
  truncate: m
10085
10089
  }),
10086
- yp({ mode: a, noBackground: u, variant: h }),
10087
- bp({ radius: b }),
10088
- mp({
10090
+ bp({ mode: a, noBackground: u, variant: h }),
10091
+ vp({ radius: b }),
10092
+ pp({
10089
10093
  type: e,
10090
10094
  size: l,
10091
10095
  labelRight: d,
@@ -10093,11 +10097,11 @@ const dp = ({
10093
10097
  align: y,
10094
10098
  animated: p
10095
10099
  }),
10096
- pp({ type: e, size: l, labelRight: d, labelLeft: f }),
10097
- wp({ mode: a, variant: h, noBorder: i }),
10098
- kp({ focusMode: o }),
10099
- vp({ mode: a, variant: h, disabled: n }),
10100
+ gp({ type: e, size: l, labelRight: d, labelLeft: f }),
10101
+ kp({ mode: a, variant: h, noBorder: i }),
10102
+ xp({ focusMode: o }),
10100
10103
  _p({ mode: a, variant: h, disabled: n }),
10104
+ wp({ mode: a, variant: h, disabled: n }),
10101
10105
  {
10102
10106
  "w-full": s,
10103
10107
  "disabled:cursor-not-allowed disabled:opacity-50": n
@@ -10106,7 +10110,7 @@ const dp = ({
10106
10110
  "transition-[width] duration-300 ease-in-out": p
10107
10111
  }),
10108
10112
  t
10109
- )), Ip = (e, t, r) => {
10113
+ )), Cp = (e, t, r) => {
10110
10114
  var a;
10111
10115
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
10112
10116
  }, Oi = U.forwardRef((e, t) => {
@@ -10116,20 +10120,20 @@ const dp = ({
10116
10120
  {
10117
10121
  ref: t,
10118
10122
  onClick: (n) => {
10119
- Ip(n, a, r);
10123
+ Cp(n, a, r);
10120
10124
  },
10121
10125
  ...o
10122
10126
  }
10123
10127
  );
10124
10128
  });
10125
10129
  Oi.displayName = "BaseButton";
10126
- function Cp() {
10130
+ function Sp() {
10127
10131
  const e = M(!1);
10128
10132
  return z(() => (e.current = !0, () => {
10129
10133
  e.current = !1;
10130
10134
  }), []), q(() => e.current, []);
10131
10135
  }
10132
- function Sp(e) {
10136
+ function Np(e) {
10133
10137
  return Ie(() => e.every((t) => t == null) ? () => {
10134
10138
  } : (t) => {
10135
10139
  e.forEach((r) => {
@@ -10137,7 +10141,7 @@ function Sp(e) {
10137
10141
  });
10138
10142
  }, e);
10139
10143
  }
10140
- const Np = {
10144
+ const Rp = {
10141
10145
  x: 0,
10142
10146
  y: 0,
10143
10147
  width: 0,
@@ -10148,7 +10152,7 @@ const Np = {
10148
10152
  right: 0
10149
10153
  };
10150
10154
  function la(e) {
10151
- const t = Cp(), r = M(0), a = M(null), [o, n] = F(Np), s = Ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
10155
+ const t = Sp(), r = M(0), a = M(null), [o, n] = F(Rp), s = Ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
10152
10156
  const i = l[0];
10153
10157
  i && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
10154
10158
  a.current && t() && n(i.contentRect);
@@ -10158,21 +10162,21 @@ function la(e) {
10158
10162
  s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
10159
10163
  }), [s, e]), [a, o];
10160
10164
  }
10161
- const Rp = {
10165
+ const Ap = {
10162
10166
  small: 24,
10163
10167
  // w-6
10164
10168
  medium: 32,
10165
10169
  // w-8
10166
10170
  large: 48
10167
10171
  // w-12
10168
- }, Ap = {
10172
+ }, Op = {
10169
10173
  small: 8 * 2,
10170
10174
  // px-2 x 2
10171
10175
  medium: 12 * 2,
10172
10176
  // px-3 x 2
10173
10177
  large: 16 * 2
10174
10178
  // px-4 x 2
10175
- }, Op = 2, To = U.forwardRef(
10179
+ }, $p = 2, To = U.forwardRef(
10176
10180
  ({
10177
10181
  children: e,
10178
10182
  disabled: t = !1,
@@ -10196,7 +10200,7 @@ const Rp = {
10196
10200
  animated: k = !1,
10197
10201
  ...I
10198
10202
  }, C) => {
10199
- const _ = Ep({
10203
+ const _ = Ip({
10200
10204
  type: xo,
10201
10205
  mode: r,
10202
10206
  focusMode: a,
@@ -10213,11 +10217,11 @@ const Rp = {
10213
10217
  radius: p,
10214
10218
  variant: v,
10215
10219
  animated: k
10216
- }), E = xp({ mode: r, raw: l, iconClassName: w }), T = Tp({ animated: k }), [x, S] = la(), [R, O] = la(), [$, A] = la(), D = M(0), B = M(null), W = Sp([C, B]);
10220
+ }), E = Tp({ mode: r, raw: l, iconClassName: w }), T = Ep({ animated: k }), [x, S] = la(), [R, O] = la(), [$, A] = la(), D = M(0), B = M(null), W = Np([C, B]);
10217
10221
  return ge(() => {
10218
- $ && $.current && k && (D.current = A.width + Ap[u] + (i ? 0 : Op));
10222
+ $ && $.current && k && (D.current = A.width + Op[u] + (i ? 0 : $p));
10219
10223
  }, [A, $, u, i, k]), ge(() => {
10220
- B && B.current && k && (h && x && S.width > 0 ? (x.current && (x.current.style.opacity = "100"), B.current.style.width = `${S.width + D.current}px`) : m && O.width > 0 ? (R.current && (R.current.style.opacity = "100"), B.current.style.width = `${O.width + D.current}px`) : (x.current && (x.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), B.current.style.width = `${Rp[u]}px`));
10224
+ B && B.current && k && (h && x && S.width > 0 ? (x.current && (x.current.style.opacity = "100"), B.current.style.width = `${S.width + D.current}px`) : m && O.width > 0 ? (R.current && (R.current.style.opacity = "100"), B.current.style.width = `${O.width + D.current}px`) : (x.current && (x.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), B.current.style.width = `${Ap[u]}px`));
10221
10225
  }, [
10222
10226
  S,
10223
10227
  h,
@@ -10280,7 +10284,7 @@ try {
10280
10284
  });
10281
10285
  } catch {
10282
10286
  }
10283
- const $p = U.forwardRef(
10287
+ const Lp = U.forwardRef(
10284
10288
  ({
10285
10289
  children: e,
10286
10290
  mode: t = "system",
@@ -10318,7 +10322,7 @@ const $p = U.forwardRef(
10318
10322
  ) });
10319
10323
  }
10320
10324
  );
10321
- $p.displayName = "ButtonSort";
10325
+ Lp.displayName = "ButtonSort";
10322
10326
  const $i = ({
10323
10327
  children: e,
10324
10328
  fill: t,
@@ -10362,7 +10366,7 @@ try {
10362
10366
  });
10363
10367
  } catch {
10364
10368
  }
10365
- const Lp = ({
10369
+ const Mp = ({
10366
10370
  className: e,
10367
10371
  viewBox: t,
10368
10372
  title: r,
@@ -10388,7 +10392,7 @@ const Lp = ({
10388
10392
  /* @__PURE__ */ c("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
10389
10393
  ]
10390
10394
  }
10391
- ), Mp = ({
10395
+ ), Dp = ({
10392
10396
  className: e,
10393
10397
  viewBox: t,
10394
10398
  title: r,
@@ -10419,20 +10423,20 @@ try {
10419
10423
  });
10420
10424
  } catch {
10421
10425
  }
10422
- const Dp = ({ kind: e, noMaxWidth: t }) => g("px-4 py-2", {
10426
+ const Bp = ({ kind: e, noMaxWidth: t }) => g("px-4 py-2", {
10423
10427
  "max-w-xs sm:max-w-md md:max-w-2xl": !t,
10424
10428
  "lg:max-w-3xl": e === "left" && !t
10425
- }), Bp = ({ kind: e }) => g({
10429
+ }), Pp = ({ kind: e }) => g({
10426
10430
  "bg-surface-lighter dark:bg-surface-dark": e === "left",
10427
10431
  "bg-surface-accent": e === "right"
10428
- }), Pp = ({ kind: e }) => g(
10432
+ }), zp = ({ kind: e }) => g(
10429
10433
  "prose prose-dark dark:prose-lighter",
10430
10434
  "prose-blockquote:my-1",
10431
10435
  "prose-ol:my-1 prose-ul:my-1",
10432
10436
  {
10433
10437
  "text-copy-lighter": e === "right"
10434
10438
  }
10435
- ), zp = ({ kind: e, tail: t }) => {
10439
+ ), Vp = ({ kind: e, tail: t }) => {
10436
10440
  if (t)
10437
10441
  return g(
10438
10442
  `${Tr}-${e}-tail`,
@@ -10453,7 +10457,7 @@ const Dp = ({ kind: e, noMaxWidth: t }) => g("px-4 py-2", {
10453
10457
  "rounded-tr-xl": e === "left",
10454
10458
  "rounded-tl-xl": e === "right"
10455
10459
  });
10456
- }, Vp = ({
10460
+ }, Fp = ({
10457
10461
  kind: e,
10458
10462
  className: t,
10459
10463
  contentClassName: r,
@@ -10471,10 +10475,10 @@ const Dp = ({ kind: e, noMaxWidth: t }) => g("px-4 py-2", {
10471
10475
  ), s = g(
10472
10476
  `${Tr}-content`,
10473
10477
  "flex flex-col empty:hidden",
10474
- Dp({ kind: e, noMaxWidth: a }),
10478
+ Bp({ kind: e, noMaxWidth: a }),
10479
+ zp({ kind: e }),
10475
10480
  Pp({ kind: e }),
10476
- Bp({ kind: e }),
10477
- zp({ kind: e, tail: o }),
10481
+ Vp({ kind: e, tail: o }),
10478
10482
  r
10479
10483
  ), l = "pr-2 pt-1 text-end text-xs text-copy-light", i = g("flex flex-col-reverse sm:flex-row", {
10480
10484
  "ml-2": e === "left" && !o,
@@ -10501,7 +10505,7 @@ const Dp = ({ kind: e, noMaxWidth: t }) => g("px-4 py-2", {
10501
10505
  noMaxWidth: d = !1,
10502
10506
  tail: f = !1
10503
10507
  }) => {
10504
- const [u, h] = F(!1), m = Vp({
10508
+ const [u, h] = F(!1), m = Fp({
10505
10509
  kind: t,
10506
10510
  className: r,
10507
10511
  contentClassName: a,
@@ -10538,7 +10542,7 @@ const Dp = ({ kind: e, noMaxWidth: t }) => g("px-4 py-2", {
10538
10542
  label: u ? "Copied to clipboard" : "Copy to clipboard",
10539
10543
  onClick: b,
10540
10544
  disabled: u,
10541
- children: u ? /* @__PURE__ */ c(Lp, { size: "size-3" }) : /* @__PURE__ */ c(Mp, { size: "size-3" })
10545
+ children: u ? /* @__PURE__ */ c(Mp, { size: "size-3" }) : /* @__PURE__ */ c(Dp, { size: "size-3" })
10542
10546
  }
10543
10547
  ) })
10544
10548
  ] });
@@ -10556,7 +10560,7 @@ try {
10556
10560
  });
10557
10561
  } catch {
10558
10562
  }
10559
- const Bn = "av-spinner", Fp = ({
10563
+ const Bn = "av-spinner", Up = ({
10560
10564
  spinnerRef: e,
10561
10565
  mode: t = "system",
10562
10566
  type: r = "circle",
@@ -10603,7 +10607,7 @@ try {
10603
10607
  });
10604
10608
  } catch {
10605
10609
  }
10606
- const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10610
+ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Hp = ({
10607
10611
  type: e,
10608
10612
  size: t,
10609
10613
  labelRight: r,
@@ -10639,7 +10643,7 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10639
10643
  "h-12": t === "large" && n && (r || a)
10640
10644
  });
10641
10645
  }
10642
- }, Hp = ({
10646
+ }, Gp = ({
10643
10647
  type: e,
10644
10648
  size: t,
10645
10649
  labelRight: r,
@@ -10662,7 +10666,7 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10662
10666
  [s]: t === "large" && (r || a)
10663
10667
  });
10664
10668
  }
10665
- }, Gp = ({
10669
+ }, jp = ({
10666
10670
  mode: e,
10667
10671
  noBackground: t,
10668
10672
  truncate: r,
@@ -10698,7 +10702,7 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10698
10702
  return g("not-prose text-copy-lighter", {
10699
10703
  truncate: r
10700
10704
  });
10701
- }, jp = ({
10705
+ }, Wp = ({
10702
10706
  mode: e,
10703
10707
  noBackground: t,
10704
10708
  variant: r
@@ -10728,13 +10732,13 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10728
10732
  if (r === "selected")
10729
10733
  return "bg-action-selected-dark";
10730
10734
  }
10731
- }, Wp = ({
10735
+ }, qp = ({
10732
10736
  radius: e
10733
10737
  }) => g({
10734
10738
  "rounded-full": e === "large",
10735
10739
  "rounded-md": e === "medium",
10736
10740
  "rounded-xs": e === "small"
10737
- }), qp = ({
10741
+ }), Yp = ({
10738
10742
  mode: e,
10739
10743
  disabled: t,
10740
10744
  variant: r
@@ -10764,7 +10768,7 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10764
10768
  });
10765
10769
  if (r === "selected")
10766
10770
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
10767
- }, Yp = ({
10771
+ }, Jp = ({
10768
10772
  mode: e,
10769
10773
  disabled: t,
10770
10774
  variant: r
@@ -10794,7 +10798,7 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10794
10798
  });
10795
10799
  if (r === "selected")
10796
10800
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
10797
- }, Jp = ({
10801
+ }, Kp = ({
10798
10802
  mode: e,
10799
10803
  noBorder: t,
10800
10804
  variant: r
@@ -10824,14 +10828,14 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10824
10828
  });
10825
10829
  if (r === "selected")
10826
10830
  return "border border-border-selected-dark";
10827
- }, Kp = ({
10831
+ }, Qp = ({
10828
10832
  focusMode: e
10829
10833
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
10830
10834
  "focus:outline-focus-dark": e === "dark",
10831
10835
  "focus:outline-focus-light": e === "light",
10832
10836
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
10833
10837
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
10834
- }), Qp = ({
10838
+ }), Xp = ({
10835
10839
  mode: e,
10836
10840
  raw: t,
10837
10841
  iconClassName: r
@@ -10843,7 +10847,7 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10843
10847
  "dark:text-copy-accent-dark": e === "system"
10844
10848
  },
10845
10849
  r
10846
- ), Xp = ({
10850
+ ), Zp = ({
10847
10851
  animated: e
10848
10852
  }) => g({
10849
10853
  "transition-opacity duration-300 ease-in": e
@@ -10867,15 +10871,15 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10867
10871
  animated: p
10868
10872
  }) => (h || (h = "primary"), r ? g(Pn, t) : g(
10869
10873
  Pn,
10870
- Gp({
10874
+ jp({
10871
10875
  mode: a,
10872
10876
  variant: h,
10873
10877
  noBackground: u,
10874
10878
  truncate: m
10875
10879
  }),
10876
- jp({ mode: a, noBackground: u, variant: h }),
10877
- Wp({ radius: b }),
10878
- Up({
10880
+ Wp({ mode: a, noBackground: u, variant: h }),
10881
+ qp({ radius: b }),
10882
+ Hp({
10879
10883
  type: e,
10880
10884
  size: l,
10881
10885
  labelRight: d,
@@ -10883,11 +10887,11 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10883
10887
  align: y,
10884
10888
  animated: p
10885
10889
  }),
10886
- Hp({ type: e, size: l, labelRight: d, labelLeft: f }),
10887
- Jp({ mode: a, variant: h, noBorder: i }),
10888
- Kp({ focusMode: o }),
10889
- qp({ mode: a, variant: h, disabled: n }),
10890
+ Gp({ type: e, size: l, labelRight: d, labelLeft: f }),
10891
+ Kp({ mode: a, variant: h, noBorder: i }),
10892
+ Qp({ focusMode: o }),
10890
10893
  Yp({ mode: a, variant: h, disabled: n }),
10894
+ Jp({ mode: a, variant: h, disabled: n }),
10891
10895
  {
10892
10896
  "w-full": s,
10893
10897
  "disabled:cursor-not-allowed disabled:opacity-50": n
@@ -10896,7 +10900,7 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10896
10900
  "transition-[width] duration-300 ease-in-out": e === Gr && p
10897
10901
  }),
10898
10902
  t
10899
- )), Zp = (e, t, r) => {
10903
+ )), eg = (e, t, r) => {
10900
10904
  var a;
10901
10905
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
10902
10906
  }, Io = U.forwardRef((e, t) => {
@@ -10906,7 +10910,7 @@ const Pn = "av-button", Gr = "icon", Eo = "button", Ja = "link", Up = ({
10906
10910
  {
10907
10911
  ref: t,
10908
10912
  onClick: (n) => {
10909
- Zp(n, a, r);
10913
+ eg(n, a, r);
10910
10914
  },
10911
10915
  ...o
10912
10916
  }
@@ -10956,13 +10960,13 @@ const Di = U.forwardRef(
10956
10960
  }
10957
10961
  );
10958
10962
  Di.displayName = "Button";
10959
- function eg() {
10963
+ function tg() {
10960
10964
  const e = M(!1);
10961
10965
  return z(() => (e.current = !0, () => {
10962
10966
  e.current = !1;
10963
10967
  }), []), q(() => e.current, []);
10964
10968
  }
10965
- function tg(e) {
10969
+ function rg(e) {
10966
10970
  return Ie(() => e.every((t) => t == null) ? () => {
10967
10971
  } : (t) => {
10968
10972
  e.forEach((r) => {
@@ -10970,7 +10974,7 @@ function tg(e) {
10970
10974
  });
10971
10975
  }, e);
10972
10976
  }
10973
- const rg = {
10977
+ const ag = {
10974
10978
  x: 0,
10975
10979
  y: 0,
10976
10980
  width: 0,
@@ -10981,7 +10985,7 @@ const rg = {
10981
10985
  right: 0
10982
10986
  };
10983
10987
  function ca(e) {
10984
- const t = eg(), r = M(0), a = M(null), [o, n] = F(rg), s = Ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
10988
+ const t = tg(), r = M(0), a = M(null), [o, n] = F(ag), s = Ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((l) => {
10985
10989
  const i = l[0];
10986
10990
  i && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
10987
10991
  a.current && t() && n(i.contentRect);
@@ -10991,21 +10995,21 @@ function ca(e) {
10991
10995
  s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
10992
10996
  }), [s, e]), [a, o];
10993
10997
  }
10994
- const ag = {
10998
+ const og = {
10995
10999
  small: 24,
10996
11000
  // w-6
10997
11001
  medium: 32,
10998
11002
  // w-8
10999
11003
  large: 48
11000
11004
  // w-12
11001
- }, og = {
11005
+ }, ng = {
11002
11006
  small: 8 * 2,
11003
11007
  // px-2 x 2
11004
11008
  medium: 12 * 2,
11005
11009
  // px-3 x 2
11006
11010
  large: 16 * 2
11007
11011
  // px-4 x 2
11008
- }, ng = 2, Bi = U.forwardRef(
11012
+ }, sg = 2, Bi = U.forwardRef(
11009
11013
  ({
11010
11014
  children: e,
11011
11015
  disabled: t = !1,
@@ -11046,11 +11050,11 @@ const ag = {
11046
11050
  radius: p,
11047
11051
  variant: v,
11048
11052
  animated: k
11049
- }), E = Qp({ mode: r, raw: l, iconClassName: w }), T = Xp({ animated: k }), [x, S] = ca(), [R, O] = ca(), [$, A] = ca(), D = M(0), B = M(null), W = tg([C, B]);
11053
+ }), E = Xp({ mode: r, raw: l, iconClassName: w }), T = Zp({ animated: k }), [x, S] = ca(), [R, O] = ca(), [$, A] = ca(), D = M(0), B = M(null), W = rg([C, B]);
11050
11054
  return ge(() => {
11051
- $ && $.current && k && (D.current = A.width + og[u] + (i ? 0 : ng));
11055
+ $ && $.current && k && (D.current = A.width + ng[u] + (i ? 0 : sg));
11052
11056
  }, [A, $, u, i, k]), ge(() => {
11053
- B && B.current && k && (h && x && S.width > 0 ? (x.current && (x.current.style.opacity = "100"), B.current.style.width = `${S.width + D.current}px`) : m && O.width > 0 ? (R.current && (R.current.style.opacity = "100"), B.current.style.width = `${O.width + D.current}px`) : (x.current && (x.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), B.current.style.width = `${ag[u]}px`));
11057
+ B && B.current && k && (h && x && S.width > 0 ? (x.current && (x.current.style.opacity = "100"), B.current.style.width = `${S.width + D.current}px`) : m && O.width > 0 ? (R.current && (R.current.style.opacity = "100"), B.current.style.width = `${O.width + D.current}px`) : (x.current && (x.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), B.current.style.width = `${og[u]}px`));
11054
11058
  }, [
11055
11059
  S,
11056
11060
  h,
@@ -11113,7 +11117,7 @@ try {
11113
11117
  });
11114
11118
  } catch {
11115
11119
  }
11116
- const sg = U.forwardRef(
11120
+ const ig = U.forwardRef(
11117
11121
  ({
11118
11122
  children: e,
11119
11123
  mode: t = "system",
@@ -11151,10 +11155,10 @@ const sg = U.forwardRef(
11151
11155
  ) });
11152
11156
  }
11153
11157
  );
11154
- sg.displayName = "ButtonSort";
11155
- const ig = 200, lg = ({
11158
+ ig.displayName = "ButtonSort";
11159
+ const lg = 200, cg = ({
11156
11160
  string: e,
11157
- idealLength: t = ig
11161
+ idealLength: t = lg
11158
11162
  }) => {
11159
11163
  if (e.length <= t)
11160
11164
  return { string: e, isTruncated: !1 };
@@ -11165,7 +11169,7 @@ const ig = 200, lg = ({
11165
11169
  string: e.slice(0, t + r),
11166
11170
  isTruncated: !0
11167
11171
  };
11168
- }, cg = ({
11172
+ }, dg = ({
11169
11173
  children: e,
11170
11174
  length: t = 200,
11171
11175
  mode: r = "system",
@@ -11174,7 +11178,7 @@ const ig = 200, lg = ({
11174
11178
  const [o, n] = F(!1);
11175
11179
  if (typeof e != "string")
11176
11180
  return e;
11177
- const { string: s, isTruncated: l } = lg({
11181
+ const { string: s, isTruncated: l } = cg({
11178
11182
  string: e,
11179
11183
  idealLength: t
11180
11184
  });
@@ -11208,7 +11212,7 @@ try {
11208
11212
  });
11209
11213
  } catch {
11210
11214
  }
11211
- const dg = ({ content: e }) => /* @__PURE__ */ c(
11215
+ const ug = ({ content: e }) => /* @__PURE__ */ c(
11212
11216
  Li,
11213
11217
  {
11214
11218
  tail: !0,
@@ -11216,14 +11220,14 @@ const dg = ({ content: e }) => /* @__PURE__ */ c(
11216
11220
  copyToClipboard: e,
11217
11221
  copyToClipboardFocusMode: "light",
11218
11222
  className: "mt-3",
11219
- children: /* @__PURE__ */ c(cg, { mode: "light", focusMode: "light", children: e })
11223
+ children: /* @__PURE__ */ c(dg, { mode: "light", focusMode: "light", children: e })
11220
11224
  }
11221
- ), Vn = 2, ug = Xa(
11225
+ ), Vn = 2, fg = Xa(
11222
11226
  () => import(
11223
11227
  /* webpackChunkName: "LazyMessageAssistant" */
11224
- "./ChatBubbleAssistant.BwoYWFHP.js"
11228
+ "./ChatBubbleAssistant.kgSE74X-.js"
11225
11229
  )
11226
- ), fg = U.memo(
11230
+ ), hg = U.memo(
11227
11231
  ({
11228
11232
  role: e,
11229
11233
  content: t,
@@ -11233,8 +11237,8 @@ const dg = ({ content: e }) => /* @__PURE__ */ c(
11233
11237
  const {
11234
11238
  state: { restoring: o, streaming: n }
11235
11239
  } = ee(xe);
11236
- return e === Sf && t ? /* @__PURE__ */ c(dg, { content: t }) : n && (e === mn || e === pa) && (!t || t && t.length < Vn) ? /* @__PURE__ */ c(Li, { tail: !0, children: /* @__PURE__ */ c(Fp, { type: "dots" }) }) : (e === mn || e === pa) && t && t.length >= Vn ? /* @__PURE__ */ c(Qa, { fallback: /* @__PURE__ */ c("span", {}), children: /* @__PURE__ */ c(
11237
- ug,
11240
+ return e === Sf && t ? /* @__PURE__ */ c(ug, { content: t }) : n && (e === mn || e === pa) && (!t || t && t.length < Vn) ? /* @__PURE__ */ c(Li, { tail: !0, children: /* @__PURE__ */ c(Up, { type: "dots" }) }) : (e === mn || e === pa) && t && t.length >= Vn ? /* @__PURE__ */ c(Qa, { fallback: /* @__PURE__ */ c("span", {}), children: /* @__PURE__ */ c(
11241
+ fg,
11238
11242
  {
11239
11243
  role: e,
11240
11244
  content: t,
@@ -11244,7 +11248,7 @@ const dg = ({ content: e }) => /* @__PURE__ */ c(
11244
11248
  }
11245
11249
  ) }) : null;
11246
11250
  }
11247
- ), hg = () => {
11251
+ ), mg = () => {
11248
11252
  const { messages: e } = wt();
11249
11253
  return e && e.length > 0 ? /* @__PURE__ */ c("div", { className: "space-y-6 mt-2 @container", children: e == null ? void 0 : e.map((t, r) => {
11250
11254
  let a;
@@ -11261,7 +11265,7 @@ const dg = ({ content: e }) => /* @__PURE__ */ c(
11261
11265
  }), s = n && n.length > 0 ? n.filter(Boolean).join(`
11262
11266
  `) : void 0;
11263
11267
  return /* @__PURE__ */ c(
11264
- fg,
11268
+ hg,
11265
11269
  {
11266
11270
  role: t.role,
11267
11271
  content: s,
@@ -11271,7 +11275,7 @@ const dg = ({ content: e }) => /* @__PURE__ */ c(
11271
11275
  o
11272
11276
  );
11273
11277
  }) }) : null;
11274
- }, mg = () => {
11278
+ }, pg = () => {
11275
11279
  const { isAuthenticated: e } = Ee(), { ref: t, inViewport: r } = gc(), a = M(null), o = M(null), {
11276
11280
  state: { footerPosition: n, footerHeight: s, footerOffset: l }
11277
11281
  } = ee(po), {
@@ -11292,12 +11296,12 @@ const dg = ({ content: e }) => /* @__PURE__ */ c(
11292
11296
  }, [n, s, l]), /* @__PURE__ */ N(se, { children: [
11293
11297
  /* @__PURE__ */ N("div", { className: f, ref: a, children: [
11294
11298
  /* @__PURE__ */ c(hl, {}),
11295
- /* @__PURE__ */ c(hg, {}),
11299
+ /* @__PURE__ */ c(mg, {}),
11296
11300
  /* @__PURE__ */ c("div", { ref: t, className: "scroll-marker" }),
11297
11301
  /* @__PURE__ */ c("div", { ref: o, className: "pt-20" })
11298
11302
  ] }),
11299
11303
  /* @__PURE__ */ c(
11300
- cm,
11304
+ dm,
11301
11305
  {
11302
11306
  show: !r && n === Yt,
11303
11307
  bottom: d.current,
@@ -11418,7 +11422,7 @@ function Pi({
11418
11422
  className: zo({
11419
11423
  extraClass: "mt-5"
11420
11424
  }),
11421
- children: /* @__PURE__ */ c(hp, { isComponent: e })
11425
+ children: /* @__PURE__ */ c(mp, { isComponent: e })
11422
11426
  }
11423
11427
  ),
11424
11428
  /* @__PURE__ */ c(
@@ -11432,10 +11436,10 @@ function Pi({
11432
11436
  style: {
11433
11437
  height: o
11434
11438
  },
11435
- children: /* @__PURE__ */ c(mg, {})
11439
+ children: /* @__PURE__ */ c(pg, {})
11436
11440
  }
11437
11441
  ),
11438
- /* @__PURE__ */ c(Em, { isComponent: e })
11442
+ /* @__PURE__ */ c(Im, { isComponent: e })
11439
11443
  ]
11440
11444
  }
11441
11445
  )
@@ -11447,10 +11451,10 @@ function Pi({
11447
11451
  );
11448
11452
  }
11449
11453
  Pi.displayName = "App";
11450
- const wg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Pi }, Symbol.toStringTag, { value: "Module" }));
11454
+ const kg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Pi }, Symbol.toStringTag, { value: "Module" }));
11451
11455
  export {
11452
- wg as App,
11453
- cm as ButtonScroll,
11456
+ kg as App,
11457
+ dm as ButtonScroll,
11454
11458
  xe as ChatContext,
11455
11459
  yt as E,
11456
11460
  Li as Te,