@versini/sassysaint 7.1.3 → 7.1.4

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.
@@ -1,8 +1,8 @@
1
- import { jsx as l, jsxs as L, Fragment as _e } from "react/jsx-runtime";
2
- import { f as ye, ACTION_SORT as In, ACTION_SEARCH as An, ACTION_RESET_PROMPT as Ta, ACTION_TOGGLE_PROMPT as Sa, ROLE_ASSISTANT as Fe, DEFAULT_AI_PROVIDER as ot, isProbablyiPhone as Ft, re as $e, DEFAULT_ICON_ACTION_SIZE as ge, L as $n, j as Dr, C as Pr, LOCAL_STORAGE_PREFIX as Wt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Ln, un as Le, PROVIDER_ANTHROPIC as Ct, PROVIDER_OPENAI as Vr, PROMPT_CLASSNAME as On, PROMPT_EDITABLE_AREA_CLASSNAME as Bn, ROLE_SYSTEM as Mn, ROLE_INTERNAL as at, ROLE_HIDDEN as Dn, STATS_SEPARATOR as zr, ERROR_MESSAGE as Ur, CLIPBOARD_PROMPT as Hr, TYPE_QUESTION as Pn, ROLE_USER as Ca, FOOTER_DISCLAIMER as Vn, isProbablyMobile as zn, getMessageContaintWrapperClass as Un, Logo as Hn, getMainPaddingClass as Fr, r as Fn, LOCAL_STORAGE_SEARCH as Wn, LOCAL_STORAGE_SORT as Gn } from "./index.Bgfx5ihk.js";
1
+ import { jsx as c, jsxs as L, Fragment as _e } from "react/jsx-runtime";
2
+ import { f as ye, ACTION_SORT as In, ACTION_SEARCH as An, ACTION_RESET_PROMPT as Ta, ACTION_TOGGLE_PROMPT as Sa, ROLE_ASSISTANT as Fe, DEFAULT_AI_PROVIDER as it, isProbablyiPhone as at, re as $e, DEFAULT_ICON_ACTION_SIZE as ge, L as $n, j as Dr, C as Pr, LOCAL_STORAGE_PREFIX as Wt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Ln, un as Le, PROVIDER_ANTHROPIC as Nt, PROVIDER_OPENAI as Vr, PROMPT_CLASSNAME as On, PROMPT_EDITABLE_AREA_CLASSNAME as Bn, ROLE_SYSTEM as Mn, ROLE_INTERNAL as nt, ROLE_HIDDEN as Dn, STATS_SEPARATOR as zr, ERROR_MESSAGE as Ur, CLIPBOARD_PROMPT as Hr, TYPE_QUESTION as Pn, ROLE_USER as Ca, FOOTER_DISCLAIMER as Vn, isProbablyMobile as zn, getMessageContaintWrapperClass as Un, Logo as Hn, getMainPaddingClass as Fr, r as Fn, LOCAL_STORAGE_SEARCH as Wn, LOCAL_STORAGE_SORT as Gn } from "./index.C18A8kDY.js";
3
3
  import m from "clsx";
4
4
  import * as J from "react";
5
- import U, { useEffect as M, useRef as S, useState as W, useCallback as Z, useSyncExternalStore as jn, useMemo as oe, useId as ur, useLayoutEffect as pe, useContext as G, createContext as qn, useDebugValue as Kn, forwardRef as Na, lazy as Ra, Suspense as Gt, useReducer as Nt } from "react";
5
+ import U, { useEffect as M, useRef as S, useState as G, useCallback as Z, useSyncExternalStore as jn, useMemo as ie, useId as ur, useLayoutEffect as pe, useContext as W, createContext as qn, useDebugValue as Kn, forwardRef as Na, lazy as Ra, Suspense as Gt, useReducer as Rt } from "react";
6
6
  import { useMergeRefs as mr, FloatingPortal as Ia, FloatingOverlay as Yn, FloatingFocusManager as Aa, useFloating as $a, useClick as La, useDismiss as Oa, useRole as Ba, useInteractions as Ma, useFloatingTree as Da, useFloatingNodeId as Jn, useListItem as Pa, offset as Zn, flip as Xn, shift as Qn, autoUpdate as eo, useListNavigation as to, useTypeahead as ro, FloatingNode as ao, FloatingList as no, FloatingTree as oo } from "@floating-ui/react";
7
7
  const Wr = ({
8
8
  className: e,
@@ -10,7 +10,7 @@ const Wr = ({
10
10
  title: r,
11
11
  monotone: a,
12
12
  ...n
13
- }) => /* @__PURE__ */ l(
13
+ }) => /* @__PURE__ */ c(
14
14
  ye,
15
15
  {
16
16
  defaultViewBox: "0 0 24 24",
@@ -19,7 +19,7 @@ const Wr = ({
19
19
  className: e,
20
20
  title: r || "Anthropic",
21
21
  ...n,
22
- children: /* @__PURE__ */ l("path", { d: "M17.304 3.541h-3.672l6.696 16.918H24Zm-10.608 0L0 20.459h3.744l1.37-3.553h7.005l1.369 3.553h3.744L10.536 3.541Zm-.371 10.223L8.616 7.82l2.291 5.945Z" })
22
+ children: /* @__PURE__ */ c("path", { d: "M17.304 3.541h-3.672l6.696 16.918H24Zm-10.608 0L0 20.459h3.744l1.37-3.553h7.005l1.369 3.553h3.744L10.536 3.541Zm-.371 10.223L8.616 7.82l2.291 5.945Z" })
23
23
  }
24
24
  ), io = ({
25
25
  className: e,
@@ -37,14 +37,14 @@ const Wr = ({
37
37
  title: r || "Book",
38
38
  ...n,
39
39
  children: [
40
- /* @__PURE__ */ l(
40
+ /* @__PURE__ */ c(
41
41
  "path",
42
42
  {
43
43
  d: "M48 88v270.7c9.8-4.3 20.6-6.7 32-6.7h312c4.4 0 8-3.6 8-8V56c0-4.4-3.6-8-8-8H88c-22.1 0-40 17.9-40 40m94.3 32.8L160 112l8.8-17.7c2.9-5.9 11.4-5.9 14.3 0L192 112l17.7 8.8c5.9 2.9 5.9 11.4 0 14.3L192 144l-8.8 17.7c-2.9 5.9-11.4 5.9-14.3 0L160 144l-17.7-8.8c-5.9-2.9-5.9-11.4 0-14.3zm82.8 111.8L264 216l16.6-38.8c2.8-6.5 11.9-6.5 14.7 0L312 216l38.8 16.6c6.5 2.8 6.5 11.9 0 14.7L312 264l-16.6 38.8c-2.8 6.5-11.9 6.5-14.7 0L264 264l-38.8-16.6c-6.5-2.8-6.5-11.9 0-14.7z",
44
44
  opacity: ".4"
45
45
  }
46
46
  ),
47
- /* @__PURE__ */ l("path", { d: "M0 88C0 39.4 39.4 0 88 0h304c30.9 0 56 25.1 56 56v288c0 22.3-13.1 41.6-32 50.6V464h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H80c-44.2 0-80-35.8-80-80 0-2.7.1-5.4.4-8H0zm80 312c-17.7 0-32 14.3-32 32s14.3 32 32 32h288v-64zm-32-41.3c9.8-4.3 20.6-6.7 32-6.7h312c4.4 0 8-3.6 8-8V56c0-4.4-3.6-8-8-8H88c-22.1 0-40 17.9-40 40zM160 112l8.8-17.7c2.9-5.9 11.4-5.9 14.3 0L192 112l17.7 8.8c5.9 2.9 5.9 11.4 0 14.3L192 144l-8.8 17.7c-2.9 5.9-11.4 5.9-14.3 0L160 144l-17.7-8.8c-5.9-2.9-5.9-11.4 0-14.3zm104 104 16.6-38.8c2.8-6.5 11.9-6.5 14.7 0L312 216l38.8 16.6c6.5 2.8 6.5 11.9 0 14.7L312 264l-16.6 38.8c-2.8 6.5-11.9 6.5-14.7 0L264 264l-38.8-16.6c-6.5-2.8-6.5-11.9 0-14.7z" })
47
+ /* @__PURE__ */ c("path", { d: "M0 88C0 39.4 39.4 0 88 0h304c30.9 0 56 25.1 56 56v288c0 22.3-13.1 41.6-32 50.6V464h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H80c-44.2 0-80-35.8-80-80 0-2.7.1-5.4.4-8H0zm80 312c-17.7 0-32 14.3-32 32s14.3 32 32 32h288v-64zm-32-41.3c9.8-4.3 20.6-6.7 32-6.7h312c4.4 0 8-3.6 8-8V56c0-4.4-3.6-8-8-8H88c-22.1 0-40 17.9-40 40zM160 112l8.8-17.7c2.9-5.9 11.4-5.9 14.3 0L192 112l17.7 8.8c5.9 2.9 5.9 11.4 0 14.3L192 144l-8.8 17.7c-2.9 5.9-11.4 5.9-14.3 0L160 144l-17.7-8.8c-5.9-2.9-5.9-11.4 0-14.3zm104 104 16.6-38.8c2.8-6.5 11.9-6.5 14.7 0L312 216l38.8 16.6c6.5 2.8 6.5 11.9 0 14.7L312 264l-16.6 38.8c-2.8 6.5-11.9 6.5-14.7 0L264 264l-38.8-16.6c-6.5-2.8-6.5-11.9 0-14.7z" })
48
48
  ]
49
49
  }
50
50
  ), so = ({
@@ -53,7 +53,7 @@ const Wr = ({
53
53
  title: r,
54
54
  monotone: a,
55
55
  ...n
56
- }) => /* @__PURE__ */ l(
56
+ }) => /* @__PURE__ */ c(
57
57
  ye,
58
58
  {
59
59
  defaultViewBox: "0 0 384 512",
@@ -62,7 +62,7 @@ const Wr = ({
62
62
  className: e,
63
63
  title: r || "Close",
64
64
  ...n,
65
- children: /* @__PURE__ */ l(
65
+ children: /* @__PURE__ */ c(
66
66
  "path",
67
67
  {
68
68
  d: "M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3z",
@@ -86,14 +86,14 @@ const Wr = ({
86
86
  title: r || "Down",
87
87
  ...n,
88
88
  children: [
89
- /* @__PURE__ */ l(
89
+ /* @__PURE__ */ c(
90
90
  "path",
91
91
  {
92
92
  d: "M160 64v306.7l32 32 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32",
93
93
  opacity: a ? "1" : "0.4"
94
94
  }
95
95
  ),
96
- /* @__PURE__ */ l("path", { d: "M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 402.7 54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z" })
96
+ /* @__PURE__ */ c("path", { d: "M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 402.7 54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z" })
97
97
  ]
98
98
  }
99
99
  ), co = ({
@@ -112,14 +112,14 @@ const Wr = ({
112
112
  title: r || "Edit",
113
113
  ...n,
114
114
  children: [
115
- /* @__PURE__ */ l(
115
+ /* @__PURE__ */ c(
116
116
  "path",
117
117
  {
118
118
  d: "M0 160c0-53 43-96 96-96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32v-96c0-17.7 14.3-32 32-32s32 14.3 32 32v96c0 53-43 96-96 96H96c-53 0-96-43-96-96z",
119
119
  opacity: a ? "1" : "0.4"
120
120
  }
121
121
  ),
122
- /* @__PURE__ */ l("path", { d: "m392.4 21.7-30.1 30 97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2l-18.7-18.6c-21.9-21.9-57.3-21.9-79.2 0m-52.7 52.6L172.4 241.7c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5l167.3-167.4z" })
122
+ /* @__PURE__ */ c("path", { d: "m392.4 21.7-30.1 30 97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2l-18.7-18.6c-21.9-21.9-57.3-21.9-79.2 0m-52.7 52.6L172.4 241.7c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5l167.3-167.4z" })
123
123
  ]
124
124
  }
125
125
  ), uo = ({
@@ -138,14 +138,14 @@ const Wr = ({
138
138
  title: r || "Locked",
139
139
  ...n,
140
140
  children: [
141
- /* @__PURE__ */ l(
141
+ /* @__PURE__ */ c(
142
142
  "path",
143
143
  {
144
144
  d: "M32 272v160c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48H80c-26.5 0-48 21.5-48 48m176 40c0-8.8 7.2-16 16-16s16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16z",
145
145
  opacity: ".4"
146
146
  }
147
147
  ),
148
- /* @__PURE__ */ l("path", { d: "M224 32c53 0 96 43 96 96v64H128v-64c0-53 43-96 96-96M96 128v64H80c-44.2 0-80 35.8-80 80v160c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V272c0-44.2-35.8-80-80-80h-16v-64C352 57.3 294.7 0 224 0S96 57.3 96 128m-16 96h288c26.5 0 48 21.5 48 48v160c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48m160 88c0-8.8-7.2-16-16-16s-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16z" })
148
+ /* @__PURE__ */ c("path", { d: "M224 32c53 0 96 43 96 96v64H128v-64c0-53 43-96 96-96M96 128v64H80c-44.2 0-80 35.8-80 80v160c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V272c0-44.2-35.8-80-80-80h-16v-64C352 57.3 294.7 0 224 0S96 57.3 96 128m-16 96h288c26.5 0 48 21.5 48 48v160c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48m160 88c0-8.8-7.2-16-16-16s-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16z" })
149
149
  ]
150
150
  }
151
151
  ), Gr = ({
@@ -154,7 +154,7 @@ const Wr = ({
154
154
  title: r,
155
155
  monotone: a,
156
156
  ...n
157
- }) => /* @__PURE__ */ l(
157
+ }) => /* @__PURE__ */ c(
158
158
  ye,
159
159
  {
160
160
  defaultViewBox: "0 0 24 24",
@@ -163,7 +163,7 @@ const Wr = ({
163
163
  className: e,
164
164
  title: r || "OpenAI",
165
165
  ...n,
166
- children: /* @__PURE__ */ l("path", { d: "M22.282 9.821a5.99 5.99 0 0 0-.516-4.91 6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.99 5.99 0 0 0-3.998 2.9 6.05 6.05 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.05 6.05 0 0 0 6.515 2.9A5.99 5.99 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206 6 6 0 0 0 3.997-2.9 6.06 6.06 0 0 0-.747-7.073zM13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023-.141-.085-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08-4.778 2.758a.8.8 0 0 0-.393.681zm1.097-2.365 2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5Z" })
166
+ children: /* @__PURE__ */ c("path", { d: "M22.282 9.821a5.99 5.99 0 0 0-.516-4.91 6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.99 5.99 0 0 0-3.998 2.9 6.05 6.05 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.05 6.05 0 0 0 6.515 2.9A5.99 5.99 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206 6 6 0 0 0 3.997-2.9 6.06 6.06 0 0 0-.747-7.073zM13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023-.141-.085-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08-4.778 2.758a.8.8 0 0 0-.393.681zm1.097-2.365 2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5Z" })
167
167
  }
168
168
  ), mo = ({
169
169
  className: e,
@@ -181,14 +181,14 @@ const Wr = ({
181
181
  title: r || "Send",
182
182
  ...n,
183
183
  children: [
184
- /* @__PURE__ */ l(
184
+ /* @__PURE__ */ c(
185
185
  "path",
186
186
  {
187
187
  d: "M0 288c0 .7 0 1.3.1 2 .8 12.2 8.4 22.9 19.6 27.6l112 46.7L160 376v-8c0-4.2 1.7-8.3 4.7-11.3l13-13c59.6-59.6 119.2-119.2 178.8-178.7.1-.1.2-.2.2-.3 3-3 6.8-4.5 10.7-4.7s7.9 1.1 11 3.9c3.7 3.3 5.6 7.7 5.6 12.1 0 3.4-1.1 6.8-3.3 9.7L224 389.4v13.2c20 8.3 40 16.7 60 25 39.9 16.6 79.8 33.2 119.7 49.9 9.1 3.8 19.4 3.2 28-1.6s14.5-13.3 16-23l64-416c1.9-12.1-3.4-24.3-13.5-31.2C492.7 1.9 486.4 0 480 0c-5.5 0-10.9 1.4-15.9 4.2l-448 256C6.1 265.9 0 276.6 0 288",
188
188
  opacity: ".4"
189
189
  }
190
190
  ),
191
- /* @__PURE__ */ l("path", { d: "M380.7 185.8c5.1-6.7 4.2-16.2-2.1-21.8s-15.9-5.3-21.9.7l-179 179-13 13c-3 3-4.7 7.1-4.7 11.3v112c0 13.2 8.1 25 20.3 29.8s26.2 1.6 35.2-8.1l68.5-74-60-25v-13.2z" })
191
+ /* @__PURE__ */ c("path", { d: "M380.7 185.8c5.1-6.7 4.2-16.2-2.1-21.8s-15.9-5.3-21.9.7l-179 179-13 13c-3 3-4.7 7.1-4.7 11.3v112c0 13.2 8.1 25 20.3 29.8s26.2 1.6 35.2-8.1l68.5-74-60-25v-13.2z" })
192
192
  ]
193
193
  }
194
194
  ), fo = ({
@@ -207,14 +207,14 @@ const Wr = ({
207
207
  title: r || "Unlocked",
208
208
  ...n,
209
209
  children: [
210
- /* @__PURE__ */ l(
210
+ /* @__PURE__ */ c(
211
211
  "path",
212
212
  {
213
213
  d: "M32 272v160c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48H80c-26.5 0-48 21.5-48 48m136 80c0-8.8 7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16h-80c-8.8 0-16-7.2-16-16",
214
214
  opacity: ".4"
215
215
  }
216
216
  ),
217
- /* @__PURE__ */ l("path", { d: "M224 32c-53 0-96 43-96 96v64h240c44.2 0 80 35.8 80 80v160c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V272c0-44.2 35.8-80 80-80h16v-64C96 57.3 153.3 0 224 0c58 0 107 38.6 122.7 91.4 2.5 8.5-2.3 17.4-10.8 19.9s-17.4-2.3-19.9-10.8C304.2 60.9 267.5 32 224 32M80 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm184 144h-80c-8.8 0-16-7.2-16-16s7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16" })
217
+ /* @__PURE__ */ c("path", { d: "M224 32c-53 0-96 43-96 96v64h240c44.2 0 80 35.8 80 80v160c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V272c0-44.2 35.8-80 80-80h16v-64C96 57.3 153.3 0 224 0c58 0 107 38.6 122.7 91.4 2.5 8.5-2.3 17.4-10.8 19.9s-17.4-2.3-19.9-10.8C304.2 60.9 267.5 32 224 32M80 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm184 144h-80c-8.8 0-16-7.2-16-16s7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16" })
218
218
  ]
219
219
  }
220
220
  );
@@ -240,7 +240,7 @@ const ho = "av-header", go = ({
240
240
  sticky: o = !1,
241
241
  noBorder: i = !1,
242
242
  noMargin: s = !1,
243
- noPadding: c = !1
243
+ noPadding: l = !1
244
244
  }) => {
245
245
  const d = m(
246
246
  ho,
@@ -260,10 +260,10 @@ const ho = "av-header", go = ({
260
260
  t
261
261
  ), f = m({
262
262
  "mt-0": !s,
263
- "p-2": !c,
263
+ "p-2": !l,
264
264
  "flex flex-col w-full md:mx-auto md:max-w-4xl": !r
265
265
  });
266
- return /* @__PURE__ */ l("header", { className: d, children: /* @__PURE__ */ l("div", { className: f, children: e }) });
266
+ return /* @__PURE__ */ c("header", { className: d, children: /* @__PURE__ */ c("div", { className: f, children: e }) });
267
267
  };
268
268
  function po(e) {
269
269
  const t = e.toLowerCase().split("+").map((o) => o.trim()), r = {
@@ -279,8 +279,8 @@ function po(e) {
279
279
  };
280
280
  }
281
281
  function yo(e, t) {
282
- const { alt: r, ctrl: a, meta: n, mod: o, shift: i, key: s } = e, { altKey: c, ctrlKey: d, metaKey: f, shiftKey: u, key: h } = t;
283
- if (r !== c)
282
+ const { alt: r, ctrl: a, meta: n, mod: o, shift: i, key: s } = e, { altKey: l, ctrlKey: d, metaKey: f, shiftKey: u, key: h } = t;
283
+ if (r !== l)
284
284
  return !1;
285
285
  if (o) {
286
286
  if (!d && !f)
@@ -316,7 +316,7 @@ function ko(e, t = ["INPUT", "TEXTAREA", "SELECT"], r = !1) {
316
316
  }, [e, t, r]);
317
317
  }
318
318
  function wo() {
319
- const e = S(null), [t, r] = W(!1);
319
+ const e = S(null), [t, r] = G(!1);
320
320
  return { ref: Z((a) => {
321
321
  var n, o;
322
322
  typeof IntersectionObserver < "u" && (a && !e.current ? e.current = new IntersectionObserver(
@@ -369,7 +369,7 @@ function jt({
369
369
  }, [e, t]), [r ? JSON.parse(r) : null, a, n, o];
370
370
  }
371
371
  function To(e) {
372
- return oe(() => e.every((t) => t == null) ? () => {
372
+ return ie(() => e.every((t) => t == null) ? () => {
373
373
  } : (t) => {
374
374
  e.forEach((r) => {
375
375
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -387,10 +387,10 @@ const So = {
387
387
  right: 0
388
388
  };
389
389
  function Co(e) {
390
- const t = xo(), r = S(0), a = S(null), [n, o] = W(So), i = oe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
391
- const c = s[0];
392
- c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
393
- a.current && t() && o(c.contentRect);
390
+ const t = xo(), r = S(0), a = S(null), [n, o] = G(So), i = ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
391
+ const l = s[0];
392
+ l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
393
+ a.current && t() && o(l.contentRect);
394
394
  }));
395
395
  }), [t]);
396
396
  return M(() => (a.current && (i == null || i.observe(a.current, e)), () => {
@@ -405,10 +405,10 @@ function No({
405
405
  },
406
406
  initialControlledDelay: n = 0
407
407
  }) {
408
- const [o, i] = W(!1), [s, c] = W(
408
+ const [o, i] = G(!1), [s, l] = G(
409
409
  t !== void 0 ? t : r
410
410
  ), d = (f) => {
411
- c(f), a == null || a(f);
411
+ l(f), a == null || a(f);
412
412
  };
413
413
  return M(() => {
414
414
  (async () => e !== void 0 && !o && n > 0 && (await new Promise(
@@ -425,7 +425,7 @@ function Kr(e, t) {
425
425
  }), () => window.removeEventListener(e, t)), [e, t]);
426
426
  }
427
427
  function Io() {
428
- const [e, t] = W({
428
+ const [e, t] = G({
429
429
  width: 0,
430
430
  height: 0
431
431
  }), r = Z(() => {
@@ -449,7 +449,7 @@ try {
449
449
  });
450
450
  } catch {
451
451
  }
452
- const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
452
+ const ut = "thead", fr = "tfoot", Ce = "tbody", Ue = {
453
453
  ASC: "asc",
454
454
  DESC: "desc"
455
455
  }, Ao = ({
@@ -517,7 +517,7 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
517
517
  mode: e,
518
518
  className: t,
519
519
  cellWrapper: r
520
- }) => r === dt || r === fr ? m(
520
+ }) => r === ut || r === fr ? m(
521
521
  {
522
522
  "bg-table-head-dark": e === "dark" || e === "system",
523
523
  "bg-table-head-light": e === "light" || e === "alt-system",
@@ -556,7 +556,7 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
556
556
  "text-copy-dark": a === "light" || a === "alt-system",
557
557
  "dark:text-copy-dark": a === "system",
558
558
  "dark:text-copy-light": a === "alt-system",
559
- "px-4 py-3": !r && (e === dt || e === fr),
559
+ "px-4 py-3": !r && (e === ut || e === fr),
560
560
  "p-4": !r && e === Ce,
561
561
  "px-2 py-1.5": r
562
562
  },
@@ -564,7 +564,7 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
564
564
  )
565
565
  }), Mo = ({
566
566
  buttonClassName: e
567
- }) => m("rounded-none text-sm", e), Yr = "av-button", ut = "icon", Ua = "button", qt = "link", Do = ({
567
+ }) => m("rounded-none text-sm", e), Yr = "av-button", mt = "icon", Ua = "button", qt = "link", Do = ({
568
568
  type: e,
569
569
  size: t,
570
570
  labelRight: r,
@@ -572,16 +572,16 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
572
572
  align: n,
573
573
  animated: o
574
574
  }) => {
575
- const i = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
575
+ const i = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", l = "max-h-12 py-2 px-4";
576
576
  switch (e) {
577
577
  case Ua:
578
578
  case qt:
579
579
  return m({
580
580
  [i]: t === "small",
581
581
  [s]: t === "medium",
582
- [c]: t === "large"
582
+ [l]: t === "large"
583
583
  });
584
- case ut:
584
+ case mt:
585
585
  return m("flex items-center", {
586
586
  "justify-center": n === "center",
587
587
  "justify-start": n === "left",
@@ -616,7 +616,7 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
616
616
  [o]: t === "medium",
617
617
  [i]: t === "large"
618
618
  });
619
- case ut:
619
+ case mt:
620
620
  return m({
621
621
  [n]: t === "small" && (r || a),
622
622
  [o]: t === "medium" && (r || a),
@@ -817,7 +817,7 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
817
817
  disabled: o,
818
818
  fullWidth: i,
819
819
  size: s,
820
- noBorder: c,
820
+ noBorder: l,
821
821
  labelRight: d,
822
822
  labelLeft: f,
823
823
  noBackground: u,
@@ -825,7 +825,7 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
825
825
  noTruncate: g,
826
826
  align: p,
827
827
  radius: y,
828
- animated: b
828
+ animated: v
829
829
  }) => (h || (h = "primary"), r ? m(Yr, t) : m(
830
830
  Yr,
831
831
  Vo({
@@ -842,10 +842,10 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
842
842
  labelRight: d,
843
843
  labelLeft: f,
844
844
  align: p,
845
- animated: b
845
+ animated: v
846
846
  }),
847
847
  Po({ type: e, size: s, labelRight: d, labelLeft: f }),
848
- Wo({ mode: a, variant: h, noBorder: c }),
848
+ Wo({ mode: a, variant: h, noBorder: l }),
849
849
  Go({ focusMode: n }),
850
850
  Ho({ mode: a, variant: h, disabled: o }),
851
851
  Fo({ mode: a, variant: h, disabled: o }),
@@ -854,7 +854,7 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
854
854
  "disabled:cursor-not-allowed disabled:opacity-50": o
855
855
  },
856
856
  m({
857
- "transition-[width] duration-300 ease-in-out": e === ut && b
857
+ "transition-[width] duration-300 ease-in-out": e === mt && v
858
858
  }),
859
859
  t
860
860
  )), Yo = (e, t, r) => {
@@ -862,7 +862,7 @@ const dt = "thead", fr = "tfoot", Ce = "tbody", Ue = {
862
862
  !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);
863
863
  }, Ha = U.forwardRef((e, t) => {
864
864
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
865
- return /* @__PURE__ */ l(
865
+ return /* @__PURE__ */ c(
866
866
  "button",
867
867
  {
868
868
  ref: t,
@@ -881,7 +881,7 @@ function Jo() {
881
881
  }), []), Z(() => e.current, []);
882
882
  }
883
883
  function Zo(e) {
884
- return oe(() => e.every((t) => t == null) ? () => {
884
+ return ie(() => e.every((t) => t == null) ? () => {
885
885
  } : (t) => {
886
886
  e.forEach((r) => {
887
887
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -898,11 +898,11 @@ const Xo = {
898
898
  bottom: 0,
899
899
  right: 0
900
900
  };
901
- function Rt(e) {
902
- const t = Jo(), r = S(0), a = S(null), [n, o] = W(Xo), i = oe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
903
- const c = s[0];
904
- c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
905
- a.current && t() && o(c.contentRect);
901
+ function It(e) {
902
+ const t = Jo(), r = S(0), a = S(null), [n, o] = G(Xo), i = ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
903
+ const l = s[0];
904
+ l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
905
+ a.current && t() && o(l.contentRect);
906
906
  }));
907
907
  }), [t]);
908
908
  return M(() => (a.current && (i == null || i.observe(a.current, e)), () => {
@@ -933,7 +933,7 @@ const Qo = {
933
933
  className: o,
934
934
  type: i = "button",
935
935
  raw: s = !1,
936
- noBorder: c = !1,
936
+ noBorder: l = !1,
937
937
  "aria-label": d,
938
938
  label: f,
939
939
  size: u = "medium",
@@ -941,41 +941,41 @@ const Qo = {
941
941
  labelLeft: g,
942
942
  noBackground: p = !1,
943
943
  align: y = "center",
944
- radius: b = "large",
945
- variant: v = "primary",
944
+ radius: v = "large",
945
+ variant: b = "primary",
946
946
  iconClassName: x,
947
947
  animated: k = !1,
948
- ...A
948
+ ...R
949
949
  }, E) => {
950
950
  const C = Ko({
951
- type: ut,
951
+ type: mt,
952
952
  mode: r,
953
953
  focusMode: a,
954
954
  fullWidth: n,
955
955
  disabled: t,
956
956
  raw: s,
957
957
  className: o,
958
- noBorder: c,
958
+ noBorder: l,
959
959
  size: u,
960
960
  labelRight: h,
961
961
  labelLeft: g,
962
962
  noBackground: p,
963
963
  align: y,
964
- radius: b,
965
- variant: v,
964
+ radius: v,
965
+ variant: b,
966
966
  animated: k
967
- }), N = jo({ mode: r, raw: s, iconClassName: x }), _ = qo({ animated: k }), [w, T] = Rt(), [R, B] = Rt(), [$, O] = Rt(), P = S(0), I = S(null), H = Zo([E, I]);
967
+ }), A = jo({ mode: r, raw: s, iconClassName: x }), _ = qo({ animated: k }), [w, I] = It(), [T, B] = It(), [$, O] = It(), P = S(0), N = S(null), H = Zo([E, N]);
968
968
  return pe(() => {
969
- $ && $.current && k && (P.current = O.width + ei[u] + (c ? 0 : ti));
970
- }, [O, $, u, c, k]), pe(() => {
971
- I && I.current && k && (h && w && T.width > 0 ? (w.current && (w.current.style.opacity = "100"), I.current.style.width = `${T.width + P.current}px`) : g && B.width > 0 ? (R.current && (R.current.style.opacity = "100"), I.current.style.width = `${B.width + P.current}px`) : (w.current && (w.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), I.current.style.width = `${Qo[u]}px`));
969
+ $ && $.current && k && (P.current = O.width + ei[u] + (l ? 0 : ti));
970
+ }, [O, $, u, l, k]), pe(() => {
971
+ N && N.current && k && (h && w && I.width > 0 ? (w.current && (w.current.style.opacity = "100"), N.current.style.width = `${I.width + P.current}px`) : g && B.width > 0 ? (T.current && (T.current.style.opacity = "100"), N.current.style.width = `${B.width + P.current}px`) : (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), N.current.style.width = `${Qo[u]}px`));
972
972
  }, [
973
- T,
973
+ I,
974
974
  h,
975
975
  w,
976
976
  B,
977
977
  g,
978
- R,
978
+ T,
979
979
  u,
980
980
  k
981
981
  ]), /* @__PURE__ */ L(
@@ -986,19 +986,19 @@ const Qo = {
986
986
  disabled: t,
987
987
  type: i,
988
988
  "aria-label": d || f,
989
- ...A,
989
+ ...R,
990
990
  children: [
991
- /* @__PURE__ */ l(
991
+ /* @__PURE__ */ c(
992
992
  Jr,
993
993
  {
994
994
  label: g,
995
- labelRef: R,
995
+ labelRef: T,
996
996
  labelClass: _,
997
997
  labelInnerClass: "pr-2"
998
998
  }
999
999
  ),
1000
- /* @__PURE__ */ l("span", { ref: $, className: N, children: e }),
1001
- /* @__PURE__ */ l(
1000
+ /* @__PURE__ */ c("span", { ref: $, className: A, children: e }),
1001
+ /* @__PURE__ */ c(
1002
1002
  Jr,
1003
1003
  {
1004
1004
  label: h,
@@ -1016,7 +1016,7 @@ const Qo = {
1016
1016
  labelClass: t,
1017
1017
  label: r,
1018
1018
  labelInnerClass: a
1019
- }) => /* @__PURE__ */ l("span", { ref: e, className: t, children: r && /* @__PURE__ */ l("span", { className: a, children: r }) });
1019
+ }) => /* @__PURE__ */ c("span", { ref: e, className: t, children: r && /* @__PURE__ */ c("span", { className: a, children: r }) });
1020
1020
  Fa.displayName = "ButtonIcon";
1021
1021
  /*!
1022
1022
  @versini/ui-button v4.2.4
@@ -1056,7 +1056,7 @@ const Wa = U.forwardRef(
1056
1056
  "after:border-table-light dark:after:border-table-dark": t === "alt-system"
1057
1057
  }
1058
1058
  ) : "";
1059
- return /* @__PURE__ */ l("div", { className: i, children: /* @__PURE__ */ l(
1059
+ return /* @__PURE__ */ c("div", { className: i, children: /* @__PURE__ */ c(
1060
1060
  Fa,
1061
1061
  {
1062
1062
  className: m("justify-center", r),
@@ -1079,11 +1079,11 @@ const hr = ({
1079
1079
  size: o,
1080
1080
  title: i,
1081
1081
  semantic: s = !1,
1082
- ...c
1082
+ ...l
1083
1083
  }) => {
1084
1084
  const d = m(o, a);
1085
1085
  return /* @__PURE__ */ L(_e, { children: [
1086
- /* @__PURE__ */ l(
1086
+ /* @__PURE__ */ c(
1087
1087
  "svg",
1088
1088
  {
1089
1089
  xmlns: "http://www.w3.org/2000/svg",
@@ -1093,11 +1093,11 @@ const hr = ({
1093
1093
  role: "img",
1094
1094
  "aria-hidden": !s,
1095
1095
  focusable: !1,
1096
- ...c,
1096
+ ...l,
1097
1097
  children: e
1098
1098
  }
1099
1099
  ),
1100
- i && s && /* @__PURE__ */ l("span", { className: "sr-only", children: i })
1100
+ i && s && /* @__PURE__ */ c("span", { className: "sr-only", children: i })
1101
1101
  ] });
1102
1102
  };
1103
1103
  /*!
@@ -1129,14 +1129,14 @@ const ri = ({
1129
1129
  title: r || "Sort",
1130
1130
  ...n,
1131
1131
  children: [
1132
- /* @__PURE__ */ l(
1132
+ /* @__PURE__ */ c(
1133
1133
  "path",
1134
1134
  {
1135
1135
  d: "M297.4 137.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l41.3-41.4V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.3l41.4 41.4c12.5 12.5 32.8 12.5 45.3 0 6.2-6.2 9.4-14.4 9.4-22.6s-3.1-16.4-9.4-22.6l-96-96c-6.3-6.4-14.5-9.5-22.7-9.5s-16.4 3.1-22.6 9.4z",
1136
1136
  opacity: a ? "1" : "0.4"
1137
1137
  }
1138
1138
  ),
1139
- /* @__PURE__ */ l("path", { d: "M137.4 470.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 370.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v306.7l-41.4-41.3c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96z" })
1139
+ /* @__PURE__ */ c("path", { d: "M137.4 470.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 370.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v306.7l-41.4-41.3c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96z" })
1140
1140
  ]
1141
1141
  }
1142
1142
  ), ai = ({
@@ -1155,14 +1155,14 @@ const ri = ({
1155
1155
  title: r || "Sort Down",
1156
1156
  ...n,
1157
1157
  children: [
1158
- /* @__PURE__ */ l(
1158
+ /* @__PURE__ */ c(
1159
1159
  "path",
1160
1160
  {
1161
1161
  d: "M288 64c0-17.7 14.3-32 32-32h224c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32h-32c-17.7 0-32-14.3-32-32",
1162
1162
  opacity: a ? "1" : "0.4"
1163
1163
  }
1164
1164
  ),
1165
- /* @__PURE__ */ l("path", { d: "M128 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L160 365.7V64c0-17.7-14.3-32-32-32S96 46.3 96 64v301.7l-32.4-35.3c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96c6.1 6.6 14.6 10.4 23.6 10.4" })
1165
+ /* @__PURE__ */ c("path", { d: "M128 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L160 365.7V64c0-17.7-14.3-32-32-32S96 46.3 96 64v301.7l-32.4-35.3c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96c6.1 6.6 14.6 10.4 23.6 10.4" })
1166
1166
  ]
1167
1167
  }
1168
1168
  ), ni = ({
@@ -1181,14 +1181,14 @@ const ri = ({
1181
1181
  title: r || "Sort Up",
1182
1182
  ...n,
1183
1183
  children: [
1184
- /* @__PURE__ */ l(
1184
+ /* @__PURE__ */ c(
1185
1185
  "path",
1186
1186
  {
1187
1187
  d: "M288 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32h-32c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32m0 128c0-17.7 14.3-32 32-32h224c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32",
1188
1188
  opacity: a ? "1" : "0.4"
1189
1189
  }
1190
1190
  ),
1191
- /* @__PURE__ */ l("path", { d: "M128 32c9 0 17.5 3.8 23.6 10.4l88 96c11.9 13 11.1 33.3-2 45.2s-33.3 11.1-45.2-2L160 146.3V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V146.3l-32.4 35.3c-11.9 13-32.2 13.9-45.2 2s-13.9-32.2-2-45.2l88-96C110.5 35.8 119 32 128 32" })
1191
+ /* @__PURE__ */ c("path", { d: "M128 32c9 0 17.5 3.8 23.6 10.4l88 96c11.9 13 11.1 33.3-2 45.2s-33.3 11.1-45.2-2L160 146.3V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V146.3l-32.4 35.3c-11.9 13-32.2 13.9-45.2 2s-13.9-32.2-2-45.2l88-96C110.5 35.8 119 32 128 32" })
1192
1192
  ]
1193
1193
  }
1194
1194
  );
@@ -1220,7 +1220,7 @@ const Oe = U.createContext({
1220
1220
  className: o,
1221
1221
  wrapperClassName: i,
1222
1222
  maxHeight: s,
1223
- stickyHeader: c,
1223
+ stickyHeader: l,
1224
1224
  stickyFooter: d,
1225
1225
  ...f
1226
1226
  }) => {
@@ -1228,14 +1228,14 @@ const Oe = U.createContext({
1228
1228
  mode: t,
1229
1229
  className: o,
1230
1230
  wrapperClassName: i,
1231
- stickyHeader: c,
1231
+ stickyHeader: l,
1232
1232
  stickyFooter: d
1233
1233
  });
1234
- return /* @__PURE__ */ l(
1234
+ return /* @__PURE__ */ c(
1235
1235
  Oe.Provider,
1236
1236
  {
1237
- value: { mode: t, stickyHeader: c, stickyFooter: d, compact: a },
1238
- children: /* @__PURE__ */ l(
1237
+ value: { mode: t, stickyHeader: l, stickyFooter: d, compact: a },
1238
+ children: /* @__PURE__ */ c(
1239
1239
  "div",
1240
1240
  {
1241
1241
  className: u.wrapper,
@@ -1243,7 +1243,7 @@ const Oe = U.createContext({
1243
1243
  style: { maxHeight: s }
1244
1244
  },
1245
1245
  children: /* @__PURE__ */ L("table", { className: u.table, summary: n, ...f, children: [
1246
- r && /* @__PURE__ */ l("caption", { className: u.caption, children: r }),
1246
+ r && /* @__PURE__ */ c("caption", { className: u.caption, children: r }),
1247
1247
  e
1248
1248
  ] })
1249
1249
  }
@@ -1255,41 +1255,41 @@ const Oe = U.createContext({
1255
1255
  className: t,
1256
1256
  ...r
1257
1257
  }) => {
1258
- const a = G(Oe);
1259
- a.cellWrapper = dt;
1258
+ const a = W(Oe);
1259
+ a.cellWrapper = ut;
1260
1260
  const n = $o({
1261
1261
  className: t,
1262
1262
  mode: a.mode,
1263
1263
  stickyHeader: a.stickyHeader
1264
1264
  });
1265
- return /* @__PURE__ */ l("thead", { className: n, ...r, children: e });
1265
+ return /* @__PURE__ */ c("thead", { className: n, ...r, children: e });
1266
1266
  }, Kc = ({
1267
1267
  children: e,
1268
1268
  className: t,
1269
1269
  ...r
1270
1270
  }) => {
1271
- const a = G(Oe);
1271
+ const a = W(Oe);
1272
1272
  a.cellWrapper = fr;
1273
1273
  const n = Lo({
1274
1274
  className: t,
1275
1275
  mode: a.mode,
1276
1276
  stickyFooter: a.stickyFooter
1277
1277
  });
1278
- return /* @__PURE__ */ l("tfoot", { className: n, ...r, children: e });
1278
+ return /* @__PURE__ */ c("tfoot", { className: n, ...r, children: e });
1279
1279
  }, Yc = ({ children: e, ...t }) => {
1280
- const r = G(Oe);
1281
- return r.cellWrapper = Ce, /* @__PURE__ */ l("tbody", { ...t, children: e });
1280
+ const r = W(Oe);
1281
+ return r.cellWrapper = Ce, /* @__PURE__ */ c("tbody", { ...t, children: e });
1282
1282
  }, Jc = ({
1283
1283
  children: e,
1284
1284
  className: t,
1285
1285
  ...r
1286
1286
  }) => {
1287
- const a = G(Oe), n = Oo({
1287
+ const a = W(Oe), n = Oo({
1288
1288
  mode: a.mode,
1289
1289
  cellWrapper: a.cellWrapper,
1290
1290
  className: t
1291
1291
  });
1292
- return /* @__PURE__ */ l("tr", { className: n, ...r, children: e });
1292
+ return /* @__PURE__ */ c("tr", { className: n, ...r, children: e });
1293
1293
  }, oi = ({
1294
1294
  children: e,
1295
1295
  component: t,
@@ -1297,14 +1297,14 @@ const Oe = U.createContext({
1297
1297
  align: a,
1298
1298
  ...n
1299
1299
  }) => {
1300
- const o = G(Oe), i = t || (o.cellWrapper === dt ? "th" : "td"), { mainClasses: s, alignClasses: c } = Bo({
1300
+ const o = W(Oe), i = t || (o.cellWrapper === ut ? "th" : "td"), { mainClasses: s, alignClasses: l } = Bo({
1301
1301
  cellWrapper: o.cellWrapper,
1302
1302
  className: r,
1303
1303
  mode: o.mode,
1304
1304
  compact: o.compact,
1305
1305
  align: a
1306
1306
  });
1307
- return a ? /* @__PURE__ */ l(i, { className: s, ...n, children: /* @__PURE__ */ l("div", { className: c, children: e }) }) : /* @__PURE__ */ l(i, { className: s, ...n, children: e });
1307
+ return a ? /* @__PURE__ */ c(i, { className: s, ...n, children: /* @__PURE__ */ c("div", { className: l, children: e }) }) : /* @__PURE__ */ c(i, { className: s, ...n, children: e });
1308
1308
  }, Zc = ({
1309
1309
  align: e,
1310
1310
  children: t,
@@ -1314,21 +1314,21 @@ const Oe = U.createContext({
1314
1314
  focusMode: o = "alt-system",
1315
1315
  mode: i = "alt-system",
1316
1316
  onClick: s,
1317
- sortDirection: c,
1317
+ sortDirection: l,
1318
1318
  sortedCell: d,
1319
1319
  cellId: f,
1320
1320
  ...u
1321
1321
  }) => {
1322
1322
  const h = Mo({ buttonClassName: r });
1323
- return /* @__PURE__ */ l(
1323
+ return /* @__PURE__ */ c(
1324
1324
  oi,
1325
1325
  {
1326
1326
  component: n,
1327
1327
  className: a,
1328
1328
  role: "columnheader",
1329
- "aria-sort": c === Ue.ASC && d === f ? "ascending" : c === Ue.DESC && d === f ? "descending" : "other",
1329
+ "aria-sort": l === Ue.ASC && d === f ? "ascending" : l === Ue.DESC && d === f ? "descending" : "other",
1330
1330
  ...u,
1331
- children: /* @__PURE__ */ l(
1331
+ children: /* @__PURE__ */ c(
1332
1332
  Wa,
1333
1333
  {
1334
1334
  active: d === f,
@@ -1340,7 +1340,7 @@ const Oe = U.createContext({
1340
1340
  mode: i,
1341
1341
  fullWidth: !0,
1342
1342
  labelRight: t,
1343
- children: c === Ue.ASC && d === f ? /* @__PURE__ */ l(ni, { className: "size-4", monotone: !0 }) : c === Ue.DESC && d === f ? /* @__PURE__ */ l(ai, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ l(ri, { className: "size-4", monotone: !0 })
1343
+ children: l === Ue.ASC && d === f ? /* @__PURE__ */ c(ni, { className: "size-4", monotone: !0 }) : l === Ue.DESC && d === f ? /* @__PURE__ */ c(ai, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ c(ri, { className: "size-4", monotone: !0 })
1344
1344
  }
1345
1345
  )
1346
1346
  }
@@ -1351,15 +1351,15 @@ for (let e = 0; e < 256; ++e)
1351
1351
  function ii(e, t = 0) {
1352
1352
  return (Y[e[t + 0]] + Y[e[t + 1]] + Y[e[t + 2]] + Y[e[t + 3]] + "-" + Y[e[t + 4]] + Y[e[t + 5]] + "-" + Y[e[t + 6]] + Y[e[t + 7]] + "-" + Y[e[t + 8]] + Y[e[t + 9]] + "-" + Y[e[t + 10]] + Y[e[t + 11]] + Y[e[t + 12]] + Y[e[t + 13]] + Y[e[t + 14]] + Y[e[t + 15]]).toLowerCase();
1353
1353
  }
1354
- let It;
1354
+ let At;
1355
1355
  const si = new Uint8Array(16);
1356
1356
  function li() {
1357
- if (!It) {
1357
+ if (!At) {
1358
1358
  if (typeof crypto > "u" || !crypto.getRandomValues)
1359
1359
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1360
- It = crypto.getRandomValues.bind(crypto);
1360
+ At = crypto.getRandomValues.bind(crypto);
1361
1361
  }
1362
- return It(si);
1362
+ return At(si);
1363
1363
  }
1364
1364
  const ci = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Zr = { randomUUID: ci };
1365
1365
  function gr(e, t, r) {
@@ -1405,7 +1405,7 @@ const di = (e, t) => {
1405
1405
  return e;
1406
1406
  }
1407
1407
  };
1408
- var Xe = { exports: {} }, At = {};
1408
+ var Xe = { exports: {} }, $t = {};
1409
1409
  /**
1410
1410
  * @license React
1411
1411
  * use-sync-external-store-shim.production.js
@@ -1417,7 +1417,7 @@ var Xe = { exports: {} }, At = {};
1417
1417
  */
1418
1418
  var Xr;
1419
1419
  function mi() {
1420
- if (Xr) return At;
1420
+ if (Xr) return $t;
1421
1421
  Xr = 1;
1422
1422
  var e = U;
1423
1423
  function t(u, h) {
@@ -1425,22 +1425,22 @@ function mi() {
1425
1425
  }
1426
1426
  var r = typeof Object.is == "function" ? Object.is : t, a = e.useState, n = e.useEffect, o = e.useLayoutEffect, i = e.useDebugValue;
1427
1427
  function s(u, h) {
1428
- var g = h(), p = a({ inst: { value: g, getSnapshot: h } }), y = p[0].inst, b = p[1];
1428
+ var g = h(), p = a({ inst: { value: g, getSnapshot: h } }), y = p[0].inst, v = p[1];
1429
1429
  return o(
1430
1430
  function() {
1431
- y.value = g, y.getSnapshot = h, c(y) && b({ inst: y });
1431
+ y.value = g, y.getSnapshot = h, l(y) && v({ inst: y });
1432
1432
  },
1433
1433
  [u, g, h]
1434
1434
  ), n(
1435
1435
  function() {
1436
- return c(y) && b({ inst: y }), u(function() {
1437
- c(y) && b({ inst: y });
1436
+ return l(y) && v({ inst: y }), u(function() {
1437
+ l(y) && v({ inst: y });
1438
1438
  });
1439
1439
  },
1440
1440
  [u]
1441
1441
  ), i(g), g;
1442
1442
  }
1443
- function c(u) {
1443
+ function l(u) {
1444
1444
  var h = u.getSnapshot;
1445
1445
  u = u.value;
1446
1446
  try {
@@ -1454,9 +1454,9 @@ function mi() {
1454
1454
  return h();
1455
1455
  }
1456
1456
  var f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? d : s;
1457
- return At.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, At;
1457
+ return $t.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, $t;
1458
1458
  }
1459
- var $t = {};
1459
+ var Lt = {};
1460
1460
  /**
1461
1461
  * @license React
1462
1462
  * use-sync-external-store-shim.development.js
@@ -1478,24 +1478,24 @@ function fi() {
1478
1478
  ));
1479
1479
  var y = p();
1480
1480
  if (!u) {
1481
- var b = p();
1482
- o(y, b) || (console.error(
1481
+ var v = p();
1482
+ o(y, v) || (console.error(
1483
1483
  "The result of getSnapshot should be cached to avoid an infinite loop"
1484
1484
  ), u = !0);
1485
1485
  }
1486
- b = i({
1486
+ v = i({
1487
1487
  inst: { value: y, getSnapshot: p }
1488
1488
  });
1489
- var v = b[0].inst, x = b[1];
1490
- return c(
1489
+ var b = v[0].inst, x = v[1];
1490
+ return l(
1491
1491
  function() {
1492
- v.value = y, v.getSnapshot = p, r(v) && x({ inst: v });
1492
+ b.value = y, b.getSnapshot = p, r(b) && x({ inst: b });
1493
1493
  },
1494
1494
  [g, y, p]
1495
1495
  ), s(
1496
1496
  function() {
1497
- return r(v) && x({ inst: v }), g(function() {
1498
- r(v) && x({ inst: v });
1497
+ return r(b) && x({ inst: b }), g(function() {
1498
+ r(b) && x({ inst: b });
1499
1499
  });
1500
1500
  },
1501
1501
  [g]
@@ -1515,9 +1515,9 @@ function fi() {
1515
1515
  return p();
1516
1516
  }
1517
1517
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1518
- var n = U, o = typeof Object.is == "function" ? Object.is : e, i = n.useState, s = n.useEffect, c = n.useLayoutEffect, d = n.useDebugValue, f = !1, u = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : t;
1519
- $t.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1520
- }()), $t;
1518
+ var n = U, o = typeof Object.is == "function" ? Object.is : e, i = n.useState, s = n.useEffect, l = n.useLayoutEffect, d = n.useDebugValue, f = !1, u = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : t;
1519
+ Lt.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1520
+ }()), Lt;
1521
1521
  }
1522
1522
  var ea;
1523
1523
  function hi() {
@@ -1551,26 +1551,26 @@ const le = /* @__PURE__ */ new WeakMap(), ve = () => {
1551
1551
  ), Yt = Object, D = (e) => e === ee, ce = (e) => typeof e == "function", ke = (e, t) => ({
1552
1552
  ...e,
1553
1553
  ...t
1554
- }), Ga = (e) => ce(e.then), Lt = {}, Qe = {}, pr = "undefined", mt = typeof window != pr, Jt = typeof document != pr, pi = () => mt && typeof window.requestAnimationFrame != pr, ja = (e, t) => {
1554
+ }), Ga = (e) => ce(e.then), Ot = {}, Qe = {}, pr = "undefined", ft = typeof window != pr, Jt = typeof document != pr, pi = () => ft && typeof window.requestAnimationFrame != pr, ja = (e, t) => {
1555
1555
  const r = le.get(e);
1556
1556
  return [
1557
1557
  // Getter
1558
- () => !D(t) && e.get(t) || Lt,
1558
+ () => !D(t) && e.get(t) || Ot,
1559
1559
  // Setter
1560
1560
  (a) => {
1561
1561
  if (!D(t)) {
1562
1562
  const n = e.get(t);
1563
- t in Qe || (Qe[t] = n), r[5](t, ke(n, a), n || Lt);
1563
+ t in Qe || (Qe[t] = n), r[5](t, ke(n, a), n || Ot);
1564
1564
  }
1565
1565
  },
1566
1566
  // Subscriber
1567
1567
  r[6],
1568
1568
  // Get server cache snapshot
1569
- () => !D(t) && t in Qe ? Qe[t] : !D(t) && e.get(t) || Lt
1569
+ () => !D(t) && t in Qe ? Qe[t] : !D(t) && e.get(t) || Ot
1570
1570
  ];
1571
1571
  };
1572
1572
  let Zt = !0;
1573
- const yi = () => Zt, [Xt, Qt] = mt && window.addEventListener ? [
1573
+ const yi = () => Zt, [Xt, Qt] = ft && window.addEventListener ? [
1574
1574
  window.addEventListener.bind(window),
1575
1575
  window.removeEventListener.bind(window)
1576
1576
  ] : [
@@ -1596,13 +1596,13 @@ const yi = () => Zt, [Xt, Qt] = mt && window.addEventListener ? [
1596
1596
  }, xi = {
1597
1597
  initFocus: vi,
1598
1598
  initReconnect: ki
1599
- }, ra = !U.useId, We = !mt || "Deno" in globalThis, _i = (e) => pi() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Ot = We ? M : pe, Bt = typeof navigator < "u" && navigator.connection, aa = !We && Bt && ([
1599
+ }, ra = !U.useId, We = !ft || "Deno" in globalThis, _i = (e) => pi() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Bt = We ? M : pe, Mt = typeof navigator < "u" && navigator.connection, aa = !We && Mt && ([
1600
1600
  "slow-2g",
1601
1601
  "2g"
1602
- ].includes(Bt.effectiveType) || Bt.saveData), et = /* @__PURE__ */ new WeakMap(), Mt = (e, t) => Yt.prototype.toString.call(e) === `[object ${t}]`;
1602
+ ].includes(Mt.effectiveType) || Mt.saveData), et = /* @__PURE__ */ new WeakMap(), Dt = (e, t) => Yt.prototype.toString.call(e) === `[object ${t}]`;
1603
1603
  let Ei = 0;
1604
1604
  const er = (e) => {
1605
- const t = typeof e, r = Mt(e, "Date"), a = Mt(e, "RegExp"), n = Mt(e, "Object");
1605
+ const t = typeof e, r = Dt(e, "Date"), a = Dt(e, "RegExp"), n = Dt(e, "Object");
1606
1606
  let o, i;
1607
1607
  if (Yt(e) === e && !r && !a) {
1608
1608
  if (o = et.get(e), o) return o;
@@ -1621,7 +1621,7 @@ const er = (e) => {
1621
1621
  } else
1622
1622
  o = r ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
1623
1623
  return o;
1624
- }, ft = (e) => {
1624
+ }, ht = (e) => {
1625
1625
  if (ce(e))
1626
1626
  try {
1627
1627
  e = e();
@@ -1652,7 +1652,7 @@ async function Ja(...e) {
1652
1652
  } : n || {});
1653
1653
  let i = o.populateCache;
1654
1654
  const s = o.rollbackOnError;
1655
- let c = o.optimisticData;
1655
+ let l = o.optimisticData;
1656
1656
  const d = (h) => typeof s == "function" ? s(h) : s !== !1, f = o.throwOnError;
1657
1657
  if (ce(r)) {
1658
1658
  const h = r, g = [], p = t.keys();
@@ -1663,23 +1663,23 @@ async function Ja(...e) {
1663
1663
  }
1664
1664
  return u(r);
1665
1665
  async function u(h) {
1666
- const [g] = ft(h);
1666
+ const [g] = ht(h);
1667
1667
  if (!g) return;
1668
- const [p, y] = ja(t, g), [b, v, x, k] = le.get(t), A = () => {
1669
- const $ = b[g];
1668
+ const [p, y] = ja(t, g), [v, b, x, k] = le.get(t), R = () => {
1669
+ const $ = v[g];
1670
1670
  return (ce(o.revalidate) ? o.revalidate(p().data, h) : o.revalidate !== !1) && (delete x[g], delete k[g], $ && $[0]) ? $[0](Ya).then(() => p().data) : p().data;
1671
1671
  };
1672
1672
  if (e.length < 3)
1673
- return A();
1673
+ return R();
1674
1674
  let E = a, C;
1675
- const N = tr();
1676
- v[g] = [
1677
- N,
1675
+ const A = tr();
1676
+ b[g] = [
1677
+ A,
1678
1678
  0
1679
1679
  ];
1680
- const _ = !D(c), w = p(), T = w.data, R = w._c, B = D(R) ? T : R;
1681
- if (_ && (c = ce(c) ? c(B, T) : c, y({
1682
- data: c,
1680
+ const _ = !D(l), w = p(), I = w.data, T = w._c, B = D(T) ? I : T;
1681
+ if (_ && (l = ce(l) ? l(B, I) : l, y({
1682
+ data: l,
1683
1683
  _c: B
1684
1684
  })), ce(E))
1685
1685
  try {
@@ -1690,7 +1690,7 @@ async function Ja(...e) {
1690
1690
  if (E && Ga(E))
1691
1691
  if (E = await E.catch(($) => {
1692
1692
  C = $;
1693
- }), N !== v[g][0]) {
1693
+ }), A !== b[g][0]) {
1694
1694
  if (C) throw C;
1695
1695
  return E;
1696
1696
  } else C && _ && d(C) && (i = !0, y({
@@ -1711,7 +1711,7 @@ async function Ja(...e) {
1711
1711
  error: ee,
1712
1712
  _c: ee
1713
1713
  });
1714
- if (v[g][1] = tr(), Promise.resolve(A()).then(() => {
1714
+ if (b[g][1] = tr(), Promise.resolve(R()).then(() => {
1715
1715
  y({
1716
1716
  _c: ee
1717
1717
  });
@@ -1732,7 +1732,7 @@ const na = (e, t) => {
1732
1732
  const i = {}, s = (f, u) => {
1733
1733
  const h = i[f] || [];
1734
1734
  return i[f] = h, h.push(u), () => h.splice(h.indexOf(u), 1);
1735
- }, c = (f, u, h) => {
1735
+ }, l = (f, u, h) => {
1736
1736
  e.set(f, u);
1737
1737
  const g = i[f];
1738
1738
  if (g)
@@ -1745,7 +1745,7 @@ const na = (e, t) => {
1745
1745
  {},
1746
1746
  {},
1747
1747
  n,
1748
- c,
1748
+ l,
1749
1749
  s
1750
1750
  ]), !We)) {
1751
1751
  const f = r.initFocus(setTimeout.bind(ee, na.bind(ee, a, qa))), u = r.initReconnect(setTimeout.bind(ee, na.bind(ee, a, Ka)));
@@ -1802,7 +1802,7 @@ const na = (e, t) => {
1802
1802
  a && o && (r.use = a.concat(o)), n && i && (r.fallback = ke(n, i));
1803
1803
  }
1804
1804
  return r;
1805
- }, Li = qn({}), Oi = "$inf$", Za = mt && window.__SWR_DEVTOOLS_USE__, Bi = Za ? window.__SWR_DEVTOOLS_USE__ : [], Mi = () => {
1805
+ }, Li = qn({}), Oi = "$inf$", Za = ft && window.__SWR_DEVTOOLS_USE__, Bi = Za ? window.__SWR_DEVTOOLS_USE__ : [], Mi = () => {
1806
1806
  Za && (window.__SWR_DEVTOOLS_REACT__ = U);
1807
1807
  }, Di = (e) => ce(e[1]) ? [
1808
1808
  e[0],
@@ -1812,24 +1812,24 @@ const na = (e, t) => {
1812
1812
  e[0],
1813
1813
  null,
1814
1814
  (e[1] === null ? e[2] : e[1]) || {}
1815
- ], Pi = () => ke(Ai, G(Li)), Xa = (e, t) => {
1816
- const [r, a] = ft(e), [, , , n] = le.get(yr);
1815
+ ], Pi = () => ke(Ai, W(Li)), Xa = (e, t) => {
1816
+ const [r, a] = ht(e), [, , , n] = le.get(yr);
1817
1817
  if (n[r]) return n[r];
1818
1818
  const o = t(a);
1819
1819
  return n[r] = o, o;
1820
1820
  }, Vi = (e) => (t, r, a) => e(t, r && ((...o) => {
1821
- const [i] = ft(t), [, , , s] = le.get(yr);
1821
+ const [i] = ht(t), [, , , s] = le.get(yr);
1822
1822
  if (i.startsWith(Oi))
1823
1823
  return r(...o);
1824
- const c = s[i];
1825
- return D(c) ? r(...o) : (delete s[i], c);
1824
+ const l = s[i];
1825
+ return D(l) ? r(...o) : (delete s[i], l);
1826
1826
  }), a), zi = Bi.concat(Vi), Ui = (e) => function(...r) {
1827
1827
  const a = Pi(), [n, o, i] = Di(r), s = $i(a, i);
1828
- let c = e;
1828
+ let l = e;
1829
1829
  const { use: d } = s, f = (d || []).concat(zi);
1830
1830
  for (let u = f.length; u--; )
1831
- c = f[u](c);
1832
- return c(n, o || s.fetcher || null, s);
1831
+ l = f[u](l);
1832
+ return l(n, o || s.fetcher || null, s);
1833
1833
  }, Hi = (e, t, r) => {
1834
1834
  const a = t[e] || (t[e] = []);
1835
1835
  return a.push(r), () => {
@@ -1838,7 +1838,7 @@ const na = (e, t) => {
1838
1838
  };
1839
1839
  };
1840
1840
  Mi();
1841
- const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the generic and JSX sytax
1841
+ const Pt = U.use || // This extra generic is to avoid TypeScript mixing up the generic and JSX sytax
1842
1842
  // and emitting an error.
1843
1843
  // We assume that this is only for the `use(thenable)` case, not `use(context)`.
1844
1844
  // https://github.com/facebook/react/blob/aed00dacfb79d17c53218404c52b1c7aa59c4a89/packages/react-server/src/ReactFizzThenable.js#L45
@@ -1857,10 +1857,10 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
1857
1857
  e.status = "rejected", e.reason = t;
1858
1858
  }), e;
1859
1859
  }
1860
- }), Pt = {
1860
+ }), Vt = {
1861
1861
  dedupe: !0
1862
1862
  }, Fi = (e, t, r) => {
1863
- const { cache: a, compare: n, suspense: o, fallbackData: i, revalidateOnMount: s, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: h } = r, [g, p, y, b] = le.get(a), [v, x] = ft(e), k = S(!1), A = S(!1), E = S(v), C = S(t), N = S(r), _ = () => N.current, w = () => _().isVisible() && _().isOnline(), [T, R, B, $] = ja(a, v), O = S({}).current, P = D(i) ? D(r.fallback) ? ee : r.fallback[v] : i, I = (V, z) => {
1863
+ const { cache: a, compare: n, suspense: o, fallbackData: i, revalidateOnMount: s, revalidateIfStale: l, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: h } = r, [g, p, y, v] = le.get(a), [b, x] = ht(e), k = S(!1), R = S(!1), E = S(b), C = S(t), A = S(r), _ = () => A.current, w = () => _().isVisible() && _().isOnline(), [I, T, B, $] = ja(a, b), O = S({}).current, P = D(i) ? D(r.fallback) ? ee : r.fallback[b] : i, N = (V, z) => {
1864
1864
  for (const X in O) {
1865
1865
  const F = X;
1866
1866
  if (F === "data") {
@@ -1870,76 +1870,76 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
1870
1870
  return !1;
1871
1871
  }
1872
1872
  return !0;
1873
- }, H = oe(() => {
1874
- const V = !v || !t ? !1 : D(s) ? _().isPaused() || o ? !1 : c !== !1 : s, z = (Q) => {
1873
+ }, H = ie(() => {
1874
+ const V = !b || !t ? !1 : D(s) ? _().isPaused() || o ? !1 : l !== !1 : s, z = (Q) => {
1875
1875
  const me = ke(Q);
1876
1876
  return delete me._k, V ? {
1877
1877
  isValidating: !0,
1878
1878
  isLoading: !0,
1879
1879
  ...me
1880
1880
  } : me;
1881
- }, X = T(), F = $(), se = z(X), Se = X === F ? se : z(F);
1881
+ }, X = I(), F = $(), se = z(X), Se = X === F ? se : z(F);
1882
1882
  let K = se;
1883
1883
  return [
1884
1884
  () => {
1885
- const Q = z(T());
1886
- return I(Q, K) ? (K.data = Q.data, K.isLoading = Q.isLoading, K.isValidating = Q.isValidating, K.error = Q.error, K) : (K = Q, Q);
1885
+ const Q = z(I());
1886
+ return N(Q, K) ? (K.data = Q.data, K.isLoading = Q.isLoading, K.isValidating = Q.isValidating, K.error = Q.error, K) : (K = Q, Q);
1887
1887
  },
1888
1888
  () => Se
1889
1889
  ];
1890
1890
  }, [
1891
1891
  a,
1892
- v
1892
+ b
1893
1893
  ]), j = gi.useSyncExternalStore(Z(
1894
- (V) => B(v, (z, X) => {
1895
- I(X, z) || V();
1894
+ (V) => B(b, (z, X) => {
1895
+ N(X, z) || V();
1896
1896
  }),
1897
1897
  // eslint-disable-next-line react-hooks/exhaustive-deps
1898
1898
  [
1899
1899
  a,
1900
- v
1900
+ b
1901
1901
  ]
1902
- ), H[0], H[1]), q = !k.current, Et = g[v] && g[v].length > 0, Ee = j.data, Te = D(Ee) ? P && Ga(P) ? Dt(P) : P : Ee, Je = j.error, Ir = S(Te), Ze = h ? D(Ee) ? Ir.current : Ee : Te, Ar = Et && !D(Je) ? !1 : q && !D(s) ? s : _().isPaused() ? !1 : o ? D(Te) ? !1 : c : D(Te) || c, $r = !!(v && t && q && Ar), Cn = D(j.isValidating) ? $r : j.isValidating, Nn = D(j.isLoading) ? $r : j.isLoading, Ve = Z(
1902
+ ), H[0], H[1]), q = !k.current, Tt = g[b] && g[b].length > 0, Ee = j.data, Te = D(Ee) ? P && Ga(P) ? Pt(P) : P : Ee, Je = j.error, Ir = S(Te), Ze = h ? D(Ee) ? Ir.current : Ee : Te, Ar = Tt && !D(Je) ? !1 : q && !D(s) ? s : _().isPaused() ? !1 : o ? D(Te) ? !1 : l : D(Te) || l, $r = !!(b && t && q && Ar), Cn = D(j.isValidating) ? $r : j.isValidating, Nn = D(j.isLoading) ? $r : j.isLoading, Ve = Z(
1903
1903
  async (V) => {
1904
1904
  const z = C.current;
1905
- if (!v || !z || A.current || _().isPaused())
1905
+ if (!b || !z || R.current || _().isPaused())
1906
1906
  return !1;
1907
1907
  let X, F, se = !0;
1908
- const Se = V || {}, K = !y[v] || !Se.dedupe, Q = () => ra ? !A.current && v === E.current && k.current : v === E.current, me = {
1908
+ const Se = V || {}, K = !y[b] || !Se.dedupe, Q = () => ra ? !R.current && b === E.current && k.current : b === E.current, me = {
1909
1909
  isValidating: !1,
1910
1910
  isLoading: !1
1911
1911
  }, Or = () => {
1912
- R(me);
1912
+ T(me);
1913
1913
  }, Br = () => {
1914
- const re = y[v];
1915
- re && re[1] === F && delete y[v];
1914
+ const re = y[b];
1915
+ re && re[1] === F && delete y[b];
1916
1916
  }, Mr = {
1917
1917
  isValidating: !0
1918
1918
  };
1919
- D(T().data) && (Mr.isLoading = !0);
1919
+ D(I().data) && (Mr.isLoading = !0);
1920
1920
  try {
1921
- if (K && (R(Mr), r.loadingTimeout && D(T().data) && setTimeout(() => {
1922
- se && Q() && _().onLoadingSlow(v, r);
1923
- }, r.loadingTimeout), y[v] = [
1921
+ if (K && (T(Mr), r.loadingTimeout && D(I().data) && setTimeout(() => {
1922
+ se && Q() && _().onLoadingSlow(b, r);
1923
+ }, r.loadingTimeout), y[b] = [
1924
1924
  z(x),
1925
1925
  tr()
1926
- ]), [X, F] = y[v], X = await X, K && setTimeout(Br, r.dedupingInterval), !y[v] || y[v][1] !== F)
1927
- return K && Q() && _().onDiscarded(v), !1;
1926
+ ]), [X, F] = y[b], X = await X, K && setTimeout(Br, r.dedupingInterval), !y[b] || y[b][1] !== F)
1927
+ return K && Q() && _().onDiscarded(b), !1;
1928
1928
  me.error = ee;
1929
- const re = p[v];
1929
+ const re = p[b];
1930
1930
  if (!D(re) && // case 1
1931
1931
  (F <= re[0] || // case 2
1932
1932
  F <= re[1] || // case 3
1933
1933
  re[1] === 0))
1934
- return Or(), K && Q() && _().onDiscarded(v), !1;
1935
- const fe = T().data;
1936
- me.data = n(fe, X) ? fe : X, K && Q() && _().onSuccess(X, v, r);
1934
+ return Or(), K && Q() && _().onDiscarded(b), !1;
1935
+ const fe = I().data;
1936
+ me.data = n(fe, X) ? fe : X, K && Q() && _().onSuccess(X, b, r);
1937
1937
  } catch (re) {
1938
1938
  Br();
1939
- const fe = _(), { shouldRetryOnError: Tt } = fe;
1940
- fe.isPaused() || (me.error = re, K && Q() && (fe.onError(re, v, fe), (Tt === !0 || ce(Tt) && Tt(re)) && (!_().revalidateOnFocus || !_().revalidateOnReconnect || w()) && fe.onErrorRetry(re, v, fe, (Rn) => {
1941
- const St = g[v];
1942
- St && St[0] && St[0](ze.ERROR_REVALIDATE_EVENT, Rn);
1939
+ const fe = _(), { shouldRetryOnError: St } = fe;
1940
+ fe.isPaused() || (me.error = re, K && Q() && (fe.onError(re, b, fe), (St === !0 || ce(St) && St(re)) && (!_().revalidateOnFocus || !_().revalidateOnReconnect || w()) && fe.onErrorRetry(re, b, fe, (Rn) => {
1941
+ const Ct = g[b];
1942
+ Ct && Ct[0] && Ct[0](ze.ERROR_REVALIDATE_EVENT, Rn);
1943
1943
  }, {
1944
1944
  retryCount: (Se.retryCount || 0) + 1,
1945
1945
  dedupe: !0
@@ -1959,7 +1959,7 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
1959
1959
  // even though it might cause unexpected behaviors.
1960
1960
  // eslint-disable-next-line react-hooks/exhaustive-deps
1961
1961
  [
1962
- v,
1962
+ b,
1963
1963
  a
1964
1964
  ]
1965
1965
  ), Lr = Z(
@@ -1968,13 +1968,13 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
1968
1968
  // eslint-disable-next-line react-hooks/exhaustive-deps
1969
1969
  []
1970
1970
  );
1971
- if (Ot(() => {
1972
- C.current = t, N.current = r, D(Ee) || (Ir.current = Ee);
1973
- }), Ot(() => {
1974
- if (!v) return;
1975
- const V = Ve.bind(ee, Pt);
1971
+ if (Bt(() => {
1972
+ C.current = t, A.current = r, D(Ee) || (Ir.current = Ee);
1973
+ }), Bt(() => {
1974
+ if (!b) return;
1975
+ const V = Ve.bind(ee, Vt);
1976
1976
  let z = 0;
1977
- const F = Hi(v, g, (se, Se = {}) => {
1977
+ const F = Hi(b, g, (se, Se = {}) => {
1978
1978
  if (se == ze.FOCUS_EVENT) {
1979
1979
  const K = Date.now();
1980
1980
  _().revalidateOnFocus && K > z && w() && (z = K + _().focusThrottleInterval, V());
@@ -1987,21 +1987,21 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
1987
1987
  return Ve(Se);
1988
1988
  }
1989
1989
  });
1990
- return A.current = !1, E.current = v, k.current = !0, R({
1990
+ return R.current = !1, E.current = b, k.current = !0, T({
1991
1991
  _k: x
1992
1992
  }), Ar && (D(Te) || We ? V() : _i(V)), () => {
1993
- A.current = !0, F();
1993
+ R.current = !0, F();
1994
1994
  };
1995
1995
  }, [
1996
- v
1997
- ]), Ot(() => {
1996
+ b
1997
+ ]), Bt(() => {
1998
1998
  let V;
1999
1999
  function z() {
2000
- const F = ce(d) ? d(T().data) : d;
2000
+ const F = ce(d) ? d(I().data) : d;
2001
2001
  F && V !== -1 && (V = setTimeout(X, F));
2002
2002
  }
2003
2003
  function X() {
2004
- !T().error && (f || _().isVisible()) && (u || _().isOnline()) ? Ve(Pt).then(z) : z();
2004
+ !I().error && (f || _().isVisible()) && (u || _().isOnline()) ? Ve(Vt).then(z) : z();
2005
2005
  }
2006
2006
  return z(), () => {
2007
2007
  V && (clearTimeout(V), V = -1);
@@ -2010,19 +2010,19 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2010
2010
  d,
2011
2011
  f,
2012
2012
  u,
2013
- v
2014
- ]), Kn(Ze), o && D(Te) && v) {
2013
+ b
2014
+ ]), Kn(Ze), o && D(Te) && b) {
2015
2015
  if (!ra && We)
2016
2016
  throw new Error("Fallback data is required when using Suspense in SSR.");
2017
- C.current = t, N.current = r, A.current = !1;
2018
- const V = b[v];
2017
+ C.current = t, A.current = r, R.current = !1;
2018
+ const V = v[b];
2019
2019
  if (!D(V)) {
2020
2020
  const z = Lr(V);
2021
- Dt(z);
2021
+ Pt(z);
2022
2022
  }
2023
2023
  if (D(Je)) {
2024
- const z = Ve(Pt);
2025
- D(Ze) || (z.status = "fulfilled", z.value = !0), Dt(z);
2024
+ const z = Ve(Vt);
2025
+ D(Ze) || (z.status = "fulfilled", z.value = !0), Pt(z);
2026
2026
  } else
2027
2027
  throw Je;
2028
2028
  }
@@ -2262,20 +2262,20 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2262
2262
  });
2263
2263
  } catch {
2264
2264
  }
2265
- }, ht = ({
2265
+ }, gt = ({
2266
2266
  fetcher: e,
2267
2267
  scope: t,
2268
2268
  keys: r,
2269
2269
  swrOptions: a,
2270
2270
  getAccessToken: n
2271
2271
  }) => {
2272
- const { data: o, error: i, isLoading: s, mutate: c } = Wi(
2272
+ const { data: o, error: i, isLoading: s, mutate: l } = Wi(
2273
2273
  [t, ...r],
2274
2274
  (d) => e(d, n),
2275
2275
  { ...a }
2276
2276
  );
2277
- return { data: o, error: i, isLoading: s, mutate: c };
2278
- }, gt = async ({
2277
+ return { data: o, error: i, isLoading: s, mutate: l };
2278
+ }, pt = async ({
2279
2279
  getAccessToken: e,
2280
2280
  type: t,
2281
2281
  params: r
@@ -2288,7 +2288,7 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2288
2288
  if (n.status === 200 && n.errors === void 0)
2289
2289
  return n.data;
2290
2290
  throw new Error("An error occurred while fetching the data.");
2291
- }, Ki = async ([e, t], r) => gt({
2291
+ }, Ki = async ([e, t], r) => pt({
2292
2292
  getAccessToken: r,
2293
2293
  type: Be.GET_USER_PREFERENCES,
2294
2294
  params: {
@@ -2298,7 +2298,7 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2298
2298
  keys: e,
2299
2299
  getAccessToken: t,
2300
2300
  isPaused: r = !1
2301
- }) => ht({
2301
+ }) => gt({
2302
2302
  fetcher: Ki,
2303
2303
  scope: "/preferences",
2304
2304
  keys: e,
@@ -2309,7 +2309,7 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2309
2309
  revalidateOnReconnect: r
2310
2310
  },
2311
2311
  getAccessToken: t
2312
- }), Yi = async ([e, t], r) => gt({
2312
+ }), Yi = async ([e, t], r) => pt({
2313
2313
  getAccessToken: r,
2314
2314
  type: Be.GET_CHATS_STATS,
2315
2315
  params: {
@@ -2318,7 +2318,7 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2318
2318
  }), Xc = ({
2319
2319
  keys: e,
2320
2320
  getAccessToken: t
2321
- }) => ht({
2321
+ }) => gt({
2322
2322
  fetcher: Yi,
2323
2323
  scope: "/stats",
2324
2324
  keys: e,
@@ -2330,7 +2330,7 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2330
2330
  revalidateOnReconnect: !0
2331
2331
  },
2332
2332
  getAccessToken: t
2333
- }), en = async ([e, t, r, a], n) => gt({
2333
+ }), en = async ([e, t, r, a], n) => pt({
2334
2334
  getAccessToken: n,
2335
2335
  type: Be.GET_CHATS,
2336
2336
  params: {
@@ -2343,7 +2343,7 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2343
2343
  }), Qc = ({
2344
2344
  keys: e,
2345
2345
  getAccessToken: t
2346
- }) => ht({
2346
+ }) => gt({
2347
2347
  fetcher: en,
2348
2348
  scope: "/history",
2349
2349
  keys: e,
@@ -2360,12 +2360,12 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2360
2360
  getAccessToken: t
2361
2361
  }) => {
2362
2362
  Xa(["/history", ...e], (r) => en(r, t));
2363
- }, tn = async ([e], t) => gt({
2363
+ }, tn = async ([e], t) => pt({
2364
2364
  getAccessToken: t,
2365
2365
  type: Be.GET_SERVER_CAPABILITIES
2366
2366
  }), ed = ({
2367
2367
  getAccessToken: e
2368
- }) => ht({
2368
+ }) => gt({
2369
2369
  fetcher: tn,
2370
2370
  scope: "/capabilities",
2371
2371
  keys: [],
@@ -2374,26 +2374,26 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2374
2374
  getAccessToken: e
2375
2375
  }) => {
2376
2376
  Xa(["/capabilities"], (t) => tn(t, e));
2377
- }, nt = "CHAT_ADD_MESSAGE", rr = "CHAT_ADD_INTERNAL_MESSAGE", ar = "CHAT_SET_LOADING", nr = "CHAT_SET_STREAMING", Me = "CHAT_RESET", Xi = "CHAT_RESTORE", Qi = (e, t) => {
2378
- var r, a, n, o, i, s, c, d, f, u, h, g;
2377
+ }, ot = "CHAT_ADD_MESSAGE", rr = "CHAT_ADD_INTERNAL_MESSAGE", ar = "CHAT_SET_LOADING", nr = "CHAT_SET_STREAMING", Me = "CHAT_RESET", Xi = "CHAT_RESTORE", Qi = (e, t) => {
2378
+ var r, a, n, o, i, s, l, d, f, u, h, g;
2379
2379
  switch (t.type) {
2380
- case nt: {
2381
- const p = (r = t.payload) == null ? void 0 : r.role, y = (a = t.payload) == null ? void 0 : a.messageId, b = (n = t.payload) == null ? void 0 : n.content, v = (o = t.payload) == null ? void 0 : o.name, x = (i = t.payload) == null ? void 0 : i.processingTime, k = (s = t.payload) == null ? void 0 : s.usage, A = ((c = t.payload) == null ? void 0 : c.model) || e.model;
2380
+ case ot: {
2381
+ const p = (r = t.payload) == null ? void 0 : r.role, y = (a = t.payload) == null ? void 0 : a.messageId, v = (n = t.payload) == null ? void 0 : n.content, b = (o = t.payload) == null ? void 0 : o.name, x = (i = t.payload) == null ? void 0 : i.processingTime, k = (s = t.payload) == null ? void 0 : s.usage, R = ((l = t.payload) == null ? void 0 : l.model) || e.model;
2382
2382
  if (p === Fe) {
2383
2383
  const E = e.messages.findIndex(
2384
2384
  (C) => C.messageId === y
2385
2385
  );
2386
2386
  if (E !== -1) {
2387
- const C = e.messages.map((N, _) => _ === E ? {
2388
- ...N,
2389
- content: `${N.content}${b}`,
2387
+ const C = e.messages.map((A, _) => _ === E ? {
2388
+ ...A,
2389
+ content: `${A.content}${v}`,
2390
2390
  processingTime: x,
2391
- name: v,
2391
+ name: b,
2392
2392
  usage: k
2393
- } : N);
2393
+ } : A);
2394
2394
  return {
2395
2395
  ...e,
2396
- model: A,
2396
+ model: R,
2397
2397
  messages: C
2398
2398
  };
2399
2399
  }
@@ -2405,8 +2405,8 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2405
2405
  ...e.messages,
2406
2406
  {
2407
2407
  role: p,
2408
- content: b,
2409
- name: v,
2408
+ content: v,
2409
+ name: b,
2410
2410
  processingTime: x,
2411
2411
  usage: k,
2412
2412
  messageId: y
@@ -2480,15 +2480,15 @@ const Dt = U.use || // This extra generic is to avoid TypeScript mixing up the g
2480
2480
  state: { searchString: "", sortedCell: "", sortDirection: "" },
2481
2481
  dispatch: () => {
2482
2482
  }
2483
- }), pt = U.createContext({
2483
+ }), yt = U.createContext({
2484
2484
  state: { prompt: "", lastTriggeredTimestamp: 0 },
2485
2485
  dispatch: () => {
2486
2486
  }
2487
- }), ie = U.createContext({
2487
+ }), ae = U.createContext({
2488
2488
  state: {
2489
2489
  id: "",
2490
- model: ot,
2491
- provider: ot,
2490
+ model: it,
2491
+ provider: it,
2492
2492
  privateChat: !1,
2493
2493
  usage: 0,
2494
2494
  messages: [],
@@ -2513,7 +2513,7 @@ try {
2513
2513
  });
2514
2514
  } catch {
2515
2515
  }
2516
- const as = "av-tooltip", ns = "av-tooltip-arrow", Ge = Math.min, Ne = Math.max, it = Math.round, de = (e) => ({
2516
+ const as = "av-tooltip", ns = "av-tooltip-arrow", Ge = Math.min, Ne = Math.max, st = Math.round, de = (e) => ({
2517
2517
  x: e,
2518
2518
  y: e
2519
2519
  }), os = {
@@ -2553,10 +2553,10 @@ function ss(e, t, r) {
2553
2553
  r === void 0 && (r = !1);
2554
2554
  const a = Ke(e), n = wr(e), o = kr(n);
2555
2555
  let i = n === "x" ? a === (r ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
2556
- return t.reference[o] > t.floating[o] && (i = st(i)), [i, st(i)];
2556
+ return t.reference[o] > t.floating[o] && (i = lt(i)), [i, lt(i)];
2557
2557
  }
2558
2558
  function ls(e) {
2559
- const t = st(e);
2559
+ const t = lt(e);
2560
2560
  return [ir(e), t, ir(t)];
2561
2561
  }
2562
2562
  function ir(e) {
@@ -2580,7 +2580,7 @@ function ds(e, t, r, a) {
2580
2580
  let o = cs(xe(e), r === "start", a);
2581
2581
  return n && (o = o.map((i) => i + "-" + n), t && (o = o.concat(o.map(ir)))), o;
2582
2582
  }
2583
- function st(e) {
2583
+ function lt(e) {
2584
2584
  return e.replace(/left|right|bottom|top/g, (t) => os[t]);
2585
2585
  }
2586
2586
  function us(e) {
@@ -2600,7 +2600,7 @@ function an(e) {
2600
2600
  left: e
2601
2601
  };
2602
2602
  }
2603
- function lt(e) {
2603
+ function ct(e) {
2604
2604
  const {
2605
2605
  x: t,
2606
2606
  y: r,
@@ -2623,9 +2623,9 @@ function oa(e, t, r) {
2623
2623
  reference: a,
2624
2624
  floating: n
2625
2625
  } = e;
2626
- const o = Ie(t), i = wr(t), s = kr(i), c = xe(t), d = o === "y", f = a.x + a.width / 2 - n.width / 2, u = a.y + a.height / 2 - n.height / 2, h = a[s] / 2 - n[s] / 2;
2626
+ const o = Ie(t), i = wr(t), s = kr(i), l = xe(t), d = o === "y", f = a.x + a.width / 2 - n.width / 2, u = a.y + a.height / 2 - n.height / 2, h = a[s] / 2 - n[s] / 2;
2627
2627
  let g;
2628
- switch (c) {
2628
+ switch (l) {
2629
2629
  case "top":
2630
2630
  g = {
2631
2631
  x: f,
@@ -2672,7 +2672,7 @@ const ms = async (e, t, r) => {
2672
2672
  strategy: n = "absolute",
2673
2673
  middleware: o = [],
2674
2674
  platform: i
2675
- } = r, s = o.filter(Boolean), c = await (i.isRTL == null ? void 0 : i.isRTL(t));
2675
+ } = r, s = o.filter(Boolean), l = await (i.isRTL == null ? void 0 : i.isRTL(t));
2676
2676
  let d = await i.getElementRects({
2677
2677
  reference: e,
2678
2678
  floating: t,
@@ -2680,17 +2680,17 @@ const ms = async (e, t, r) => {
2680
2680
  }), {
2681
2681
  x: f,
2682
2682
  y: u
2683
- } = oa(d, a, c), h = a, g = {}, p = 0;
2683
+ } = oa(d, a, l), h = a, g = {}, p = 0;
2684
2684
  for (let y = 0; y < s.length; y++) {
2685
2685
  const {
2686
- name: b,
2687
- fn: v
2686
+ name: v,
2687
+ fn: b
2688
2688
  } = s[y], {
2689
2689
  x,
2690
2690
  y: k,
2691
- data: A,
2691
+ data: R,
2692
2692
  reset: E
2693
- } = await v({
2693
+ } = await b({
2694
2694
  x: f,
2695
2695
  y: u,
2696
2696
  initialPlacement: a,
@@ -2706,9 +2706,9 @@ const ms = async (e, t, r) => {
2706
2706
  });
2707
2707
  f = x ?? f, u = k ?? u, g = {
2708
2708
  ...g,
2709
- [b]: {
2710
- ...g[b],
2711
- ...A
2709
+ [v]: {
2710
+ ...g[v],
2711
+ ...R
2712
2712
  }
2713
2713
  }, E && p <= 50 && (p++, typeof E == "object" && (E.placement && (h = E.placement), E.rects && (d = E.rects === !0 ? await i.getElementRects({
2714
2714
  reference: e,
@@ -2717,7 +2717,7 @@ const ms = async (e, t, r) => {
2717
2717
  }) : E.rects), {
2718
2718
  x: f,
2719
2719
  y: u
2720
- } = oa(d, h, c)), y = -1);
2720
+ } = oa(d, h, l)), y = -1);
2721
2721
  }
2722
2722
  return {
2723
2723
  x: f,
@@ -2736,19 +2736,19 @@ async function nn(e, t) {
2736
2736
  platform: o,
2737
2737
  rects: i,
2738
2738
  elements: s,
2739
- strategy: c
2739
+ strategy: l
2740
2740
  } = e, {
2741
2741
  boundary: d = "clippingAncestors",
2742
2742
  rootBoundary: f = "viewport",
2743
2743
  elementContext: u = "floating",
2744
2744
  altBoundary: h = !1,
2745
2745
  padding: g = 0
2746
- } = qe(t, e), p = an(g), y = s[h ? u === "floating" ? "reference" : "floating" : u], b = lt(await o.getClippingRect({
2746
+ } = qe(t, e), p = an(g), y = s[h ? u === "floating" ? "reference" : "floating" : u], v = ct(await o.getClippingRect({
2747
2747
  element: (r = await (o.isElement == null ? void 0 : o.isElement(y))) == null || r ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),
2748
2748
  boundary: d,
2749
2749
  rootBoundary: f,
2750
- strategy: c
2751
- })), v = u === "floating" ? {
2750
+ strategy: l
2751
+ })), b = u === "floating" ? {
2752
2752
  x: a,
2753
2753
  y: n,
2754
2754
  width: i.floating.width,
@@ -2759,17 +2759,17 @@ async function nn(e, t) {
2759
2759
  } : {
2760
2760
  x: 1,
2761
2761
  y: 1
2762
- }, A = lt(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
2762
+ }, R = ct(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
2763
2763
  elements: s,
2764
- rect: v,
2764
+ rect: b,
2765
2765
  offsetParent: x,
2766
- strategy: c
2767
- }) : v);
2766
+ strategy: l
2767
+ }) : b);
2768
2768
  return {
2769
- top: (b.top - A.top + p.top) / k.y,
2770
- bottom: (A.bottom - b.bottom + p.bottom) / k.y,
2771
- left: (b.left - A.left + p.left) / k.x,
2772
- right: (A.right - b.right + p.right) / k.x
2769
+ top: (v.top - R.top + p.top) / k.y,
2770
+ bottom: (R.bottom - v.bottom + p.bottom) / k.y,
2771
+ left: (v.left - R.left + p.left) / k.x,
2772
+ right: (R.right - v.right + p.right) / k.x
2773
2773
  };
2774
2774
  }
2775
2775
  const fs = (e) => ({
@@ -2783,7 +2783,7 @@ const fs = (e) => ({
2783
2783
  rects: o,
2784
2784
  platform: i,
2785
2785
  elements: s,
2786
- middlewareData: c
2786
+ middlewareData: l
2787
2787
  } = t, {
2788
2788
  element: d,
2789
2789
  padding: f = 0
@@ -2793,20 +2793,20 @@ const fs = (e) => ({
2793
2793
  const u = an(f), h = {
2794
2794
  x: r,
2795
2795
  y: a
2796
- }, g = wr(n), p = kr(g), y = await i.getDimensions(d), b = g === "y", v = b ? "top" : "left", x = b ? "bottom" : "right", k = b ? "clientHeight" : "clientWidth", A = o.reference[p] + o.reference[g] - h[g] - o.floating[p], E = h[g] - o.reference[g], C = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
2797
- let N = C ? C[k] : 0;
2798
- (!N || !await (i.isElement == null ? void 0 : i.isElement(C))) && (N = s.floating[k] || o.floating[p]);
2799
- const _ = A / 2 - E / 2, w = N / 2 - y[p] / 2 - 1, T = Ge(u[v], w), R = Ge(u[x], w), B = T, $ = N - y[p] - R, O = N / 2 - y[p] / 2 + _, P = or(B, O, $), I = !c.arrow && Ke(n) != null && O !== P && o.reference[p] / 2 - (O < B ? T : R) - y[p] / 2 < 0, H = I ? O < B ? O - B : O - $ : 0;
2796
+ }, g = wr(n), p = kr(g), y = await i.getDimensions(d), v = g === "y", b = v ? "top" : "left", x = v ? "bottom" : "right", k = v ? "clientHeight" : "clientWidth", R = o.reference[p] + o.reference[g] - h[g] - o.floating[p], E = h[g] - o.reference[g], C = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
2797
+ let A = C ? C[k] : 0;
2798
+ (!A || !await (i.isElement == null ? void 0 : i.isElement(C))) && (A = s.floating[k] || o.floating[p]);
2799
+ const _ = R / 2 - E / 2, w = A / 2 - y[p] / 2 - 1, I = Ge(u[b], w), T = Ge(u[x], w), B = I, $ = A - y[p] - T, O = A / 2 - y[p] / 2 + _, P = or(B, O, $), N = !l.arrow && Ke(n) != null && O !== P && o.reference[p] / 2 - (O < B ? I : T) - y[p] / 2 < 0, H = N ? O < B ? O - B : O - $ : 0;
2800
2800
  return {
2801
2801
  [g]: h[g] + H,
2802
2802
  data: {
2803
2803
  [g]: P,
2804
2804
  centerOffset: O - P - H,
2805
- ...I && {
2805
+ ...N && {
2806
2806
  alignmentOffset: H
2807
2807
  }
2808
2808
  },
2809
- reset: I
2809
+ reset: N
2810
2810
  };
2811
2811
  }
2812
2812
  }), hs = function(e) {
@@ -2820,7 +2820,7 @@ const fs = (e) => ({
2820
2820
  middlewareData: o,
2821
2821
  rects: i,
2822
2822
  initialPlacement: s,
2823
- platform: c,
2823
+ platform: l,
2824
2824
  elements: d
2825
2825
  } = t, {
2826
2826
  mainAxis: f = !0,
@@ -2829,40 +2829,40 @@ const fs = (e) => ({
2829
2829
  fallbackStrategy: g = "bestFit",
2830
2830
  fallbackAxisSideDirection: p = "none",
2831
2831
  flipAlignment: y = !0,
2832
- ...b
2832
+ ...v
2833
2833
  } = qe(e, t);
2834
2834
  if ((r = o.arrow) != null && r.alignmentOffset)
2835
2835
  return {};
2836
- const v = xe(n), x = Ie(s), k = xe(s) === s, A = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), E = h || (k || !y ? [st(s)] : ls(s)), C = p !== "none";
2837
- !h && C && E.push(...ds(s, y, p, A));
2838
- const N = [s, ...E], _ = await nn(t, b), w = [];
2839
- let T = ((a = o.flip) == null ? void 0 : a.overflows) || [];
2840
- if (f && w.push(_[v]), u) {
2841
- const O = ss(n, i, A);
2836
+ const b = xe(n), x = Ie(s), k = xe(s) === s, R = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), E = h || (k || !y ? [lt(s)] : ls(s)), C = p !== "none";
2837
+ !h && C && E.push(...ds(s, y, p, R));
2838
+ const A = [s, ...E], _ = await nn(t, v), w = [];
2839
+ let I = ((a = o.flip) == null ? void 0 : a.overflows) || [];
2840
+ if (f && w.push(_[b]), u) {
2841
+ const O = ss(n, i, R);
2842
2842
  w.push(_[O[0]], _[O[1]]);
2843
2843
  }
2844
- if (T = [...T, {
2844
+ if (I = [...I, {
2845
2845
  placement: n,
2846
2846
  overflows: w
2847
2847
  }], !w.every((O) => O <= 0)) {
2848
- var R, B;
2849
- const O = (((R = o.flip) == null ? void 0 : R.index) || 0) + 1, P = N[O];
2848
+ var T, B;
2849
+ const O = (((T = o.flip) == null ? void 0 : T.index) || 0) + 1, P = A[O];
2850
2850
  if (P)
2851
2851
  return {
2852
2852
  data: {
2853
2853
  index: O,
2854
- overflows: T
2854
+ overflows: I
2855
2855
  },
2856
2856
  reset: {
2857
2857
  placement: P
2858
2858
  }
2859
2859
  };
2860
- let I = (B = T.filter((H) => H.overflows[0] <= 0).sort((H, j) => H.overflows[1] - j.overflows[1])[0]) == null ? void 0 : B.placement;
2861
- if (!I)
2860
+ let N = (B = I.filter((H) => H.overflows[0] <= 0).sort((H, j) => H.overflows[1] - j.overflows[1])[0]) == null ? void 0 : B.placement;
2861
+ if (!N)
2862
2862
  switch (g) {
2863
2863
  case "bestFit": {
2864
2864
  var $;
2865
- const H = ($ = T.filter((j) => {
2865
+ const H = ($ = I.filter((j) => {
2866
2866
  if (C) {
2867
2867
  const q = Ie(j.placement);
2868
2868
  return q === x || // Create a bias to the `y` side axis due to horizontal
@@ -2870,18 +2870,18 @@ const fs = (e) => ({
2870
2870
  q === "y";
2871
2871
  }
2872
2872
  return !0;
2873
- }).map((j) => [j.placement, j.overflows.filter((q) => q > 0).reduce((q, Et) => q + Et, 0)]).sort((j, q) => j[1] - q[1])[0]) == null ? void 0 : $[0];
2874
- H && (I = H);
2873
+ }).map((j) => [j.placement, j.overflows.filter((q) => q > 0).reduce((q, Tt) => q + Tt, 0)]).sort((j, q) => j[1] - q[1])[0]) == null ? void 0 : $[0];
2874
+ H && (N = H);
2875
2875
  break;
2876
2876
  }
2877
2877
  case "initialPlacement":
2878
- I = s;
2878
+ N = s;
2879
2879
  break;
2880
2880
  }
2881
- if (n !== I)
2881
+ if (n !== N)
2882
2882
  return {
2883
2883
  reset: {
2884
- placement: I
2884
+ placement: N
2885
2885
  }
2886
2886
  };
2887
2887
  }
@@ -2894,7 +2894,7 @@ async function gs(e, t) {
2894
2894
  placement: r,
2895
2895
  platform: a,
2896
2896
  elements: n
2897
- } = e, o = await (a.isRTL == null ? void 0 : a.isRTL(n.floating)), i = xe(r), s = Ke(r), c = Ie(r) === "y", d = ["left", "top"].includes(i) ? -1 : 1, f = o && c ? -1 : 1, u = qe(t, e);
2897
+ } = e, o = await (a.isRTL == null ? void 0 : a.isRTL(n.floating)), i = xe(r), s = Ke(r), l = Ie(r) === "y", d = ["left", "top"].includes(i) ? -1 : 1, f = o && l ? -1 : 1, u = qe(t, e);
2898
2898
  let {
2899
2899
  mainAxis: h,
2900
2900
  crossAxis: g,
@@ -2908,7 +2908,7 @@ async function gs(e, t) {
2908
2908
  crossAxis: u.crossAxis || 0,
2909
2909
  alignmentAxis: u.alignmentAxis
2910
2910
  };
2911
- return s && typeof p == "number" && (g = s === "end" ? p * -1 : p), c ? {
2911
+ return s && typeof p == "number" && (g = s === "end" ? p * -1 : p), l ? {
2912
2912
  x: g * f,
2913
2913
  y: h * d
2914
2914
  } : {
@@ -2927,12 +2927,12 @@ const ps = function(e) {
2927
2927
  y: o,
2928
2928
  placement: i,
2929
2929
  middlewareData: s
2930
- } = t, c = await gs(t, e);
2930
+ } = t, l = await gs(t, e);
2931
2931
  return i === ((r = s.offset) == null ? void 0 : r.placement) && (a = s.arrow) != null && a.alignmentOffset ? {} : {
2932
- x: n + c.x,
2933
- y: o + c.y,
2932
+ x: n + l.x,
2933
+ y: o + l.y,
2934
2934
  data: {
2935
- ...c,
2935
+ ...l,
2936
2936
  placement: i
2937
2937
  }
2938
2938
  };
@@ -2951,29 +2951,29 @@ const ps = function(e) {
2951
2951
  mainAxis: o = !0,
2952
2952
  crossAxis: i = !1,
2953
2953
  limiter: s = {
2954
- fn: (b) => {
2954
+ fn: (v) => {
2955
2955
  let {
2956
- x: v,
2956
+ x: b,
2957
2957
  y: x
2958
- } = b;
2958
+ } = v;
2959
2959
  return {
2960
- x: v,
2960
+ x: b,
2961
2961
  y: x
2962
2962
  };
2963
2963
  }
2964
2964
  },
2965
- ...c
2965
+ ...l
2966
2966
  } = qe(e, t), d = {
2967
2967
  x: r,
2968
2968
  y: a
2969
- }, f = await nn(t, c), u = Ie(xe(n)), h = rn(u);
2969
+ }, f = await nn(t, l), u = Ie(xe(n)), h = rn(u);
2970
2970
  let g = d[h], p = d[u];
2971
2971
  if (o) {
2972
- const b = h === "y" ? "top" : "left", v = h === "y" ? "bottom" : "right", x = g + f[b], k = g - f[v];
2972
+ const v = h === "y" ? "top" : "left", b = h === "y" ? "bottom" : "right", x = g + f[v], k = g - f[b];
2973
2973
  g = or(x, g, k);
2974
2974
  }
2975
2975
  if (i) {
2976
- const b = u === "y" ? "top" : "left", v = u === "y" ? "bottom" : "right", x = p + f[b], k = p - f[v];
2976
+ const v = u === "y" ? "top" : "left", b = u === "y" ? "bottom" : "right", x = p + f[v], k = p - f[b];
2977
2977
  p = or(x, p, k);
2978
2978
  }
2979
2979
  const y = s.fn({
@@ -2995,7 +2995,7 @@ const ps = function(e) {
2995
2995
  }
2996
2996
  };
2997
2997
  };
2998
- function yt() {
2998
+ function bt() {
2999
2999
  return typeof window < "u";
3000
3000
  }
3001
3001
  function De(e) {
@@ -3010,16 +3010,16 @@ function be(e) {
3010
3010
  return (t = (on(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
3011
3011
  }
3012
3012
  function on(e) {
3013
- return yt() ? e instanceof Node || e instanceof te(e).Node : !1;
3013
+ return bt() ? e instanceof Node || e instanceof te(e).Node : !1;
3014
3014
  }
3015
- function ae(e) {
3016
- return yt() ? e instanceof Element || e instanceof te(e).Element : !1;
3015
+ function ne(e) {
3016
+ return bt() ? e instanceof Element || e instanceof te(e).Element : !1;
3017
3017
  }
3018
3018
  function ue(e) {
3019
- return yt() ? e instanceof HTMLElement || e instanceof te(e).HTMLElement : !1;
3019
+ return bt() ? e instanceof HTMLElement || e instanceof te(e).HTMLElement : !1;
3020
3020
  }
3021
3021
  function ia(e) {
3022
- return !yt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof te(e).ShadowRoot;
3022
+ return !bt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof te(e).ShadowRoot;
3023
3023
  }
3024
3024
  function Ye(e) {
3025
3025
  const {
@@ -3027,13 +3027,13 @@ function Ye(e) {
3027
3027
  overflowX: r,
3028
3028
  overflowY: a,
3029
3029
  display: n
3030
- } = ne(e);
3030
+ } = oe(e);
3031
3031
  return /auto|scroll|overlay|hidden|clip/.test(t + a + r) && !["inline", "contents"].includes(n);
3032
3032
  }
3033
3033
  function bs(e) {
3034
3034
  return ["table", "td", "th"].includes(De(e));
3035
3035
  }
3036
- function bt(e) {
3036
+ function vt(e) {
3037
3037
  return [":popover-open", ":modal"].some((t) => {
3038
3038
  try {
3039
3039
  return e.matches(t);
@@ -3043,7 +3043,7 @@ function bt(e) {
3043
3043
  });
3044
3044
  }
3045
3045
  function xr(e) {
3046
- const t = _r(), r = ae(e) ? ne(e) : e;
3046
+ const t = _r(), r = ne(e) ? oe(e) : e;
3047
3047
  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));
3048
3048
  }
3049
3049
  function vs(e) {
@@ -3051,7 +3051,7 @@ function vs(e) {
3051
3051
  for (; ue(t) && !Ae(t); ) {
3052
3052
  if (xr(t))
3053
3053
  return t;
3054
- if (bt(t))
3054
+ if (vt(t))
3055
3055
  return null;
3056
3056
  t = we(t);
3057
3057
  }
@@ -3063,11 +3063,11 @@ function _r() {
3063
3063
  function Ae(e) {
3064
3064
  return ["html", "body", "#document"].includes(De(e));
3065
3065
  }
3066
- function ne(e) {
3066
+ function oe(e) {
3067
3067
  return te(e).getComputedStyle(e);
3068
3068
  }
3069
- function vt(e) {
3070
- return ae(e) ? {
3069
+ function kt(e) {
3070
+ return ne(e) ? {
3071
3071
  scrollLeft: e.scrollLeft,
3072
3072
  scrollTop: e.scrollTop
3073
3073
  } : {
@@ -3101,9 +3101,9 @@ function sa(e) {
3101
3101
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
3102
3102
  }
3103
3103
  function cn(e) {
3104
- const t = ne(e);
3104
+ const t = oe(e);
3105
3105
  let r = parseFloat(t.width) || 0, a = parseFloat(t.height) || 0;
3106
- const n = ue(e), o = n ? e.offsetWidth : r, i = n ? e.offsetHeight : a, s = it(r) !== o || it(a) !== i;
3106
+ const n = ue(e), o = n ? e.offsetWidth : r, i = n ? e.offsetHeight : a, s = st(r) !== o || st(a) !== i;
3107
3107
  return s && (r = o, a = i), {
3108
3108
  width: r,
3109
3109
  height: a,
@@ -3111,7 +3111,7 @@ function cn(e) {
3111
3111
  };
3112
3112
  }
3113
3113
  function dn(e) {
3114
- return ae(e) ? e : e.contextElement;
3114
+ return ne(e) ? e : e.contextElement;
3115
3115
  }
3116
3116
  function Re(e) {
3117
3117
  const t = dn(e);
@@ -3122,7 +3122,7 @@ function Re(e) {
3122
3122
  height: n,
3123
3123
  $: o
3124
3124
  } = cn(t);
3125
- let i = (o ? it(r.width) : r.width) / a, s = (o ? it(r.height) : r.height) / n;
3125
+ let i = (o ? st(r.width) : r.width) / a, s = (o ? st(r.height) : r.height) / n;
3126
3126
  return (!i || !Number.isFinite(i)) && (i = 1), (!s || !Number.isFinite(s)) && (s = 1), {
3127
3127
  x: i,
3128
3128
  y: s
@@ -3143,26 +3143,26 @@ function je(e, t, r, a) {
3143
3143
  t === void 0 && (t = !1), r === void 0 && (r = !1);
3144
3144
  const n = e.getBoundingClientRect(), o = dn(e);
3145
3145
  let i = de(1);
3146
- t && (a ? ae(a) && (i = Re(a)) : i = Re(e));
3146
+ t && (a ? ne(a) && (i = Re(a)) : i = Re(e));
3147
3147
  const s = ws(o, r, a) ? un(o) : de(0);
3148
- let c = (n.left + s.x) / i.x, d = (n.top + s.y) / i.y, f = n.width / i.x, u = n.height / i.y;
3148
+ let l = (n.left + s.x) / i.x, d = (n.top + s.y) / i.y, f = n.width / i.x, u = n.height / i.y;
3149
3149
  if (o) {
3150
- const h = te(o), g = a && ae(a) ? te(a) : a;
3150
+ const h = te(o), g = a && ne(a) ? te(a) : a;
3151
3151
  let p = h, y = sa(p);
3152
3152
  for (; y && a && g !== p; ) {
3153
- const b = Re(y), v = y.getBoundingClientRect(), x = ne(y), k = v.left + (y.clientLeft + parseFloat(x.paddingLeft)) * b.x, A = v.top + (y.clientTop + parseFloat(x.paddingTop)) * b.y;
3154
- c *= b.x, d *= b.y, f *= b.x, u *= b.y, c += k, d += A, p = te(y), y = sa(p);
3153
+ const v = Re(y), b = y.getBoundingClientRect(), x = oe(y), k = b.left + (y.clientLeft + parseFloat(x.paddingLeft)) * v.x, R = b.top + (y.clientTop + parseFloat(x.paddingTop)) * v.y;
3154
+ l *= v.x, d *= v.y, f *= v.x, u *= v.y, l += k, d += R, p = te(y), y = sa(p);
3155
3155
  }
3156
3156
  }
3157
- return lt({
3157
+ return ct({
3158
3158
  width: f,
3159
3159
  height: u,
3160
- x: c,
3160
+ x: l,
3161
3161
  y: d
3162
3162
  });
3163
3163
  }
3164
3164
  function Er(e, t) {
3165
- const r = vt(e).scrollLeft;
3165
+ const r = kt(e).scrollLeft;
3166
3166
  return t ? t.left + r : je(be(e)).left + r;
3167
3167
  }
3168
3168
  function mn(e, t, r) {
@@ -3183,34 +3183,34 @@ function xs(e) {
3183
3183
  offsetParent: a,
3184
3184
  strategy: n
3185
3185
  } = e;
3186
- const o = n === "fixed", i = be(a), s = t ? bt(t.floating) : !1;
3186
+ const o = n === "fixed", i = be(a), s = t ? vt(t.floating) : !1;
3187
3187
  if (a === i || s && o)
3188
3188
  return r;
3189
- let c = {
3189
+ let l = {
3190
3190
  scrollLeft: 0,
3191
3191
  scrollTop: 0
3192
3192
  }, d = de(1);
3193
3193
  const f = de(0), u = ue(a);
3194
- if ((u || !u && !o) && ((De(a) !== "body" || Ye(i)) && (c = vt(a)), ue(a))) {
3194
+ if ((u || !u && !o) && ((De(a) !== "body" || Ye(i)) && (l = kt(a)), ue(a))) {
3195
3195
  const g = je(a);
3196
3196
  d = Re(a), f.x = g.x + a.clientLeft, f.y = g.y + a.clientTop;
3197
3197
  }
3198
- const h = i && !u && !o ? mn(i, c, !0) : de(0);
3198
+ const h = i && !u && !o ? mn(i, l, !0) : de(0);
3199
3199
  return {
3200
3200
  width: r.width * d.x,
3201
3201
  height: r.height * d.y,
3202
- x: r.x * d.x - c.scrollLeft * d.x + f.x + h.x,
3203
- y: r.y * d.y - c.scrollTop * d.y + f.y + h.y
3202
+ x: r.x * d.x - l.scrollLeft * d.x + f.x + h.x,
3203
+ y: r.y * d.y - l.scrollTop * d.y + f.y + h.y
3204
3204
  };
3205
3205
  }
3206
3206
  function _s(e) {
3207
3207
  return Array.from(e.getClientRects());
3208
3208
  }
3209
3209
  function Es(e) {
3210
- const t = be(e), r = vt(e), a = e.ownerDocument.body, n = Ne(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), o = Ne(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
3210
+ const t = be(e), r = kt(e), a = e.ownerDocument.body, n = Ne(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), o = Ne(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
3211
3211
  let i = -r.scrollLeft + Er(e);
3212
3212
  const s = -r.scrollTop;
3213
- return ne(a).direction === "rtl" && (i += Ne(t.clientWidth, a.clientWidth) - n), {
3213
+ return oe(a).direction === "rtl" && (i += Ne(t.clientWidth, a.clientWidth) - n), {
3214
3214
  width: n,
3215
3215
  height: o,
3216
3216
  x: i,
@@ -3219,25 +3219,25 @@ function Es(e) {
3219
3219
  }
3220
3220
  function Ts(e, t) {
3221
3221
  const r = te(e), a = be(e), n = r.visualViewport;
3222
- let o = a.clientWidth, i = a.clientHeight, s = 0, c = 0;
3222
+ let o = a.clientWidth, i = a.clientHeight, s = 0, l = 0;
3223
3223
  if (n) {
3224
3224
  o = n.width, i = n.height;
3225
3225
  const d = _r();
3226
- (!d || d && t === "fixed") && (s = n.offsetLeft, c = n.offsetTop);
3226
+ (!d || d && t === "fixed") && (s = n.offsetLeft, l = n.offsetTop);
3227
3227
  }
3228
3228
  return {
3229
3229
  width: o,
3230
3230
  height: i,
3231
3231
  x: s,
3232
- y: c
3232
+ y: l
3233
3233
  };
3234
3234
  }
3235
3235
  function Ss(e, t) {
3236
- const r = je(e, !0, t === "fixed"), a = r.top + e.clientTop, n = r.left + e.clientLeft, o = ue(e) ? Re(e) : de(1), i = e.clientWidth * o.x, s = e.clientHeight * o.y, c = n * o.x, d = a * o.y;
3236
+ const r = je(e, !0, t === "fixed"), a = r.top + e.clientTop, n = r.left + e.clientLeft, o = ue(e) ? Re(e) : de(1), i = e.clientWidth * o.x, s = e.clientHeight * o.y, l = n * o.x, d = a * o.y;
3237
3237
  return {
3238
3238
  width: i,
3239
3239
  height: s,
3240
- x: c,
3240
+ x: l,
3241
3241
  y: d
3242
3242
  };
3243
3243
  }
@@ -3247,7 +3247,7 @@ function la(e, t, r) {
3247
3247
  a = Ts(e, r);
3248
3248
  else if (t === "document")
3249
3249
  a = Es(be(e));
3250
- else if (ae(t))
3250
+ else if (ne(t))
3251
3251
  a = Ss(t, r);
3252
3252
  else {
3253
3253
  const n = un(e);
@@ -3258,22 +3258,22 @@ function la(e, t, r) {
3258
3258
  height: t.height
3259
3259
  };
3260
3260
  }
3261
- return lt(a);
3261
+ return ct(a);
3262
3262
  }
3263
3263
  function fn(e, t) {
3264
3264
  const r = we(e);
3265
- return r === t || !ae(r) || Ae(r) ? !1 : ne(r).position === "fixed" || fn(r, t);
3265
+ return r === t || !ne(r) || Ae(r) ? !1 : oe(r).position === "fixed" || fn(r, t);
3266
3266
  }
3267
3267
  function Cs(e, t) {
3268
3268
  const r = t.get(e);
3269
3269
  if (r)
3270
3270
  return r;
3271
- let a = ln(e, []).filter((s) => ae(s) && De(s) !== "body"), n = null;
3272
- const o = ne(e).position === "fixed";
3271
+ let a = ln(e, []).filter((s) => ne(s) && De(s) !== "body"), n = null;
3272
+ const o = oe(e).position === "fixed";
3273
3273
  let i = o ? we(e) : e;
3274
- for (; ae(i) && !Ae(i); ) {
3275
- const s = ne(i), c = xr(i);
3276
- !c && s.position === "fixed" && (n = null), (o ? !c && !n : !c && s.position === "static" && n && ["absolute", "fixed"].includes(n.position) || Ye(i) && !c && fn(e, i)) ? a = a.filter((d) => d !== i) : n = s, i = we(i);
3274
+ for (; ne(i) && !Ae(i); ) {
3275
+ const s = oe(i), l = xr(i);
3276
+ !l && s.position === "fixed" && (n = null), (o ? !l && !n : !l && s.position === "static" && n && ["absolute", "fixed"].includes(n.position) || Ye(i) && !l && fn(e, i)) ? a = a.filter((d) => d !== i) : n = s, i = we(i);
3277
3277
  }
3278
3278
  return t.set(e, a), a;
3279
3279
  }
@@ -3284,9 +3284,9 @@ function Ns(e) {
3284
3284
  rootBoundary: a,
3285
3285
  strategy: n
3286
3286
  } = e;
3287
- const o = [...r === "clippingAncestors" ? bt(t) ? [] : Cs(t, this._c) : [].concat(r), a], i = o[0], s = o.reduce((c, d) => {
3287
+ const o = [...r === "clippingAncestors" ? vt(t) ? [] : Cs(t, this._c) : [].concat(r), a], i = o[0], s = o.reduce((l, d) => {
3288
3288
  const f = la(t, d, n);
3289
- return c.top = Ne(f.top, c.top), c.right = Ge(f.right, c.right), c.bottom = Ge(f.bottom, c.bottom), c.left = Ne(f.left, c.left), c;
3289
+ return l.top = Ne(f.top, l.top), l.right = Ge(f.right, l.right), l.bottom = Ge(f.bottom, l.bottom), l.left = Ne(f.left, l.left), l;
3290
3290
  }, la(t, i, n));
3291
3291
  return {
3292
3292
  width: s.right - s.left,
@@ -3311,13 +3311,13 @@ function Is(e, t, r) {
3311
3311
  scrollLeft: 0,
3312
3312
  scrollTop: 0
3313
3313
  };
3314
- const c = de(0);
3314
+ const l = de(0);
3315
3315
  if (a || !a && !o)
3316
- if ((De(t) !== "body" || Ye(n)) && (s = vt(t)), a) {
3316
+ if ((De(t) !== "body" || Ye(n)) && (s = kt(t)), a) {
3317
3317
  const h = je(t, !0, o, t);
3318
- c.x = h.x + t.clientLeft, c.y = h.y + t.clientTop;
3319
- } else n && (c.x = Er(n));
3320
- const d = n && !a && !o ? mn(n, s) : de(0), f = i.left + s.scrollLeft - c.x - d.x, u = i.top + s.scrollTop - c.y - d.y;
3318
+ l.x = h.x + t.clientLeft, l.y = h.y + t.clientTop;
3319
+ } else n && (l.x = Er(n));
3320
+ const d = n && !a && !o ? mn(n, s) : de(0), f = i.left + s.scrollLeft - l.x - d.x, u = i.top + s.scrollTop - l.y - d.y;
3321
3321
  return {
3322
3322
  x: f,
3323
3323
  y: u,
@@ -3325,11 +3325,11 @@ function Is(e, t, r) {
3325
3325
  height: i.height
3326
3326
  };
3327
3327
  }
3328
- function Vt(e) {
3329
- return ne(e).position === "static";
3328
+ function zt(e) {
3329
+ return oe(e).position === "static";
3330
3330
  }
3331
3331
  function ca(e, t) {
3332
- if (!ue(e) || ne(e).position === "fixed")
3332
+ if (!ue(e) || oe(e).position === "fixed")
3333
3333
  return null;
3334
3334
  if (t)
3335
3335
  return t(e);
@@ -3338,21 +3338,21 @@ function ca(e, t) {
3338
3338
  }
3339
3339
  function hn(e, t) {
3340
3340
  const r = te(e);
3341
- if (bt(e))
3341
+ if (vt(e))
3342
3342
  return r;
3343
3343
  if (!ue(e)) {
3344
3344
  let n = we(e);
3345
3345
  for (; n && !Ae(n); ) {
3346
- if (ae(n) && !Vt(n))
3346
+ if (ne(n) && !zt(n))
3347
3347
  return n;
3348
3348
  n = we(n);
3349
3349
  }
3350
3350
  return r;
3351
3351
  }
3352
3352
  let a = ca(e, t);
3353
- for (; a && bs(a) && Vt(a); )
3353
+ for (; a && bs(a) && zt(a); )
3354
3354
  a = ca(a, t);
3355
- return a && Ae(a) && Vt(a) && !xr(a) ? r : a || vs(e) || r;
3355
+ return a && Ae(a) && zt(a) && !xr(a) ? r : a || vs(e) || r;
3356
3356
  }
3357
3357
  const As = async function(e) {
3358
3358
  const t = this.getOffsetParent || hn, r = this.getDimensions, a = await r(e.floating);
@@ -3367,7 +3367,7 @@ const As = async function(e) {
3367
3367
  };
3368
3368
  };
3369
3369
  function $s(e) {
3370
- return ne(e).direction === "rtl";
3370
+ return oe(e).direction === "rtl";
3371
3371
  }
3372
3372
  const Ls = {
3373
3373
  convertOffsetParentRelativeRectToViewportRelativeRect: xs,
@@ -3378,7 +3378,7 @@ const Ls = {
3378
3378
  getClientRects: _s,
3379
3379
  getDimensions: Rs,
3380
3380
  getScale: Re,
3381
- isElement: ae,
3381
+ isElement: ne,
3382
3382
  isRTL: $s
3383
3383
  }, Os = ps, Bs = ys, Ms = hs, Ds = fs, Ps = (e, t, r) => {
3384
3384
  const a = /* @__PURE__ */ new Map(), n = {
@@ -3401,7 +3401,7 @@ function Vs(e, t, r) {
3401
3401
  if (Array.isArray(r)) {
3402
3402
  const s = !document.body.contains(i) && i.tagName !== "HTML";
3403
3403
  r.every(
3404
- (c) => !!c && !o.composedPath().includes(c)
3404
+ (l) => !!l && !o.composedPath().includes(l)
3405
3405
  ) && !s && e();
3406
3406
  } else a.current && !a.current.contains(i) && e();
3407
3407
  };
@@ -3415,8 +3415,8 @@ function Vs(e, t, r) {
3415
3415
  }, [e, r, t]), a;
3416
3416
  }
3417
3417
  function zs(e, t) {
3418
- const [r, a] = W(!1), n = S(null), o = S(null), i = Z(() => {
3419
- a((c) => (!c && (!n.current || n.current === -1) && (n.current = window.setInterval(o.current, t)), !0));
3418
+ const [r, a] = G(!1), n = S(null), o = S(null), i = Z(() => {
3419
+ a((l) => (!l && (!n.current || n.current === -1) && (n.current = window.setInterval(o.current, t)), !0));
3420
3420
  }, [t]), s = Z(() => {
3421
3421
  a(!1), window.clearInterval(n.current || -1), n.current = -1;
3422
3422
  }, []);
@@ -3467,24 +3467,24 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3467
3467
  tooltipClassName: i,
3468
3468
  arrowClassName: s
3469
3469
  }) => {
3470
- const c = Vs(() => {
3470
+ const l = Vs(() => {
3471
3471
  y.stop(), p(!1);
3472
- }), d = S(null), f = S(null), [u, h] = W(!1), [g, p] = W(!1), y = zs(() => {
3472
+ }), d = S(null), f = S(null), [u, h] = G(!1), [g, p] = G(!1), y = zs(() => {
3473
3473
  p(!1);
3474
- }, js), b = Ws({
3474
+ }, js), v = Ws({
3475
3475
  mode: a,
3476
3476
  className: o,
3477
3477
  tooltipClassName: i,
3478
3478
  arrowClassName: s
3479
- }), v = Gs({ delay: n }), x = Z(async () => {
3480
- var C, N, _, w;
3481
- if (c.current && d.current && f.current) {
3479
+ }), b = Gs({ delay: n }), x = Z(async () => {
3480
+ var C, A, _, w;
3481
+ if (l.current && d.current && f.current) {
3482
3482
  const {
3483
- x: T,
3484
- y: R,
3483
+ x: I,
3484
+ y: T,
3485
3485
  middlewareData: B,
3486
3486
  placement: $
3487
- } = await Ps(c.current, d.current, {
3487
+ } = await Ps(l.current, d.current, {
3488
3488
  placement: r,
3489
3489
  middleware: [
3490
3490
  Os(10),
@@ -3497,9 +3497,9 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3497
3497
  ]
3498
3498
  });
3499
3499
  (C = d == null ? void 0 : d.current) != null && C.style && Object.assign(d.current.style, {
3500
- left: tt(T),
3501
- top: tt(R),
3502
- ...v
3500
+ left: tt(I),
3501
+ top: tt(T),
3502
+ ...b
3503
3503
  });
3504
3504
  const O = {
3505
3505
  top: "bottom",
@@ -3507,7 +3507,7 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3507
3507
  bottom: "top",
3508
3508
  left: "right"
3509
3509
  }[$.split("-")[0]];
3510
- (N = f == null ? void 0 : f.current) != null && N.style && Object.assign(f.current.style, {
3510
+ (A = f == null ? void 0 : f.current) != null && A.style && Object.assign(f.current.style, {
3511
3511
  left: tt((_ = B.arrow) == null ? void 0 : _.x),
3512
3512
  top: tt((w = B.arrow) == null ? void 0 : w.y),
3513
3513
  right: "",
@@ -3515,13 +3515,13 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3515
3515
  [O]: "-4px"
3516
3516
  });
3517
3517
  }
3518
- }, [r, v, c]);
3518
+ }, [r, b, l]);
3519
3519
  M(() => {
3520
3520
  (async () => u && await x())();
3521
3521
  }, [x, u]);
3522
3522
  const k = () => {
3523
3523
  h(!1), p(!0), y.start();
3524
- }, A = () => {
3524
+ }, R = () => {
3525
3525
  g || h(!0);
3526
3526
  }, E = () => {
3527
3527
  g || h(!1);
@@ -3529,9 +3529,9 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3529
3529
  return /* @__PURE__ */ L(
3530
3530
  "div",
3531
3531
  {
3532
- className: b.wrapper,
3533
- ref: c,
3534
- onMouseEnter: A,
3532
+ className: v.wrapper,
3533
+ ref: l,
3534
+ onMouseEnter: R,
3535
3535
  onMouseLeave: E,
3536
3536
  onClick: k,
3537
3537
  children: [
@@ -3541,10 +3541,10 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3541
3541
  {
3542
3542
  role: "tooltip",
3543
3543
  ref: d,
3544
- className: b.tooltip,
3544
+ className: v.tooltip,
3545
3545
  children: [
3546
3546
  t,
3547
- /* @__PURE__ */ l("div", { ref: f, className: b.arrow })
3547
+ /* @__PURE__ */ c("div", { ref: f, className: v.arrow })
3548
3548
  ]
3549
3549
  }
3550
3550
  )
@@ -3557,7 +3557,7 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3557
3557
  const {
3558
3558
  state: { streaming: t },
3559
3559
  dispatch: r
3560
- } = G(ie), a = S(null), n = S(!1), o = (i) => {
3560
+ } = W(ae), a = S(null), n = S(!1), o = (i) => {
3561
3561
  i.preventDefault(), r({
3562
3562
  type: Me,
3563
3563
  payload: {
@@ -3566,15 +3566,15 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3566
3566
  });
3567
3567
  };
3568
3568
  return M(() => {
3569
- Ft() || t === !0 && !n.current && a.current && (n.current = !0, a.current.focus());
3570
- }, [t]), /* @__PURE__ */ l(
3569
+ at() || t === !0 && !n.current && a.current && (n.current = !0, a.current.focus());
3570
+ }, [t]), /* @__PURE__ */ c(
3571
3571
  Pe,
3572
3572
  {
3573
3573
  label: "New Chat",
3574
3574
  mode: "light",
3575
3575
  placement: "top-start",
3576
3576
  className: e,
3577
- trigger: /* @__PURE__ */ l(
3577
+ trigger: /* @__PURE__ */ c(
3578
3578
  $e,
3579
3579
  {
3580
3580
  noBorder: !0,
@@ -3583,7 +3583,7 @@ const tt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Us = (
3583
3583
  label: "New Chat",
3584
3584
  ref: a,
3585
3585
  onClick: o,
3586
- children: t ? /* @__PURE__ */ l(so, { size: ge, monotone: !0 }) : /* @__PURE__ */ l(co, { size: ge })
3586
+ children: t ? /* @__PURE__ */ c(so, { size: ge, monotone: !0 }) : /* @__PURE__ */ c(co, { size: ge })
3587
3587
  }
3588
3588
  )
3589
3589
  }
@@ -3602,7 +3602,7 @@ try {
3602
3602
  });
3603
3603
  } catch {
3604
3604
  }
3605
- const ma = "av-messagebox", fa = "av-panel", ha = "av-button", kt = "icon", gn = "button", sr = "link", Ks = ({
3605
+ const ma = "av-messagebox", fa = "av-panel", ha = "av-button", wt = "icon", gn = "button", sr = "link", Ks = ({
3606
3606
  type: e,
3607
3607
  size: t,
3608
3608
  labelRight: r,
@@ -3610,16 +3610,16 @@ const ma = "av-messagebox", fa = "av-panel", ha = "av-button", kt = "icon", gn =
3610
3610
  align: n,
3611
3611
  animated: o
3612
3612
  }) => {
3613
- const i = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
3613
+ const i = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", l = "max-h-12 py-2 px-4";
3614
3614
  switch (e) {
3615
3615
  case gn:
3616
3616
  case sr:
3617
3617
  return m({
3618
3618
  [i]: t === "small",
3619
3619
  [s]: t === "medium",
3620
- [c]: t === "large"
3620
+ [l]: t === "large"
3621
3621
  });
3622
- case kt:
3622
+ case wt:
3623
3623
  return m("flex items-center", {
3624
3624
  "justify-center": n === "center",
3625
3625
  "justify-start": n === "left",
@@ -3654,7 +3654,7 @@ const ma = "av-messagebox", fa = "av-panel", ha = "av-button", kt = "icon", gn =
3654
3654
  [o]: t === "medium",
3655
3655
  [i]: t === "large"
3656
3656
  });
3657
- case kt:
3657
+ case wt:
3658
3658
  return m({
3659
3659
  [n]: t === "small" && (r || a),
3660
3660
  [o]: t === "medium" && (r || a),
@@ -3855,7 +3855,7 @@ const ma = "av-messagebox", fa = "av-panel", ha = "av-button", kt = "icon", gn =
3855
3855
  disabled: o,
3856
3856
  fullWidth: i,
3857
3857
  size: s,
3858
- noBorder: c,
3858
+ noBorder: l,
3859
3859
  labelRight: d,
3860
3860
  labelLeft: f,
3861
3861
  noBackground: u,
@@ -3863,7 +3863,7 @@ const ma = "av-messagebox", fa = "av-panel", ha = "av-button", kt = "icon", gn =
3863
3863
  noTruncate: g,
3864
3864
  align: p,
3865
3865
  radius: y,
3866
- animated: b
3866
+ animated: v
3867
3867
  }) => (h || (h = "primary"), r ? m(ha, t) : m(
3868
3868
  ha,
3869
3869
  Js({
@@ -3880,10 +3880,10 @@ const ma = "av-messagebox", fa = "av-panel", ha = "av-button", kt = "icon", gn =
3880
3880
  labelRight: d,
3881
3881
  labelLeft: f,
3882
3882
  align: p,
3883
- animated: b
3883
+ animated: v
3884
3884
  }),
3885
3885
  Ys({ type: e, size: s, labelRight: d, labelLeft: f }),
3886
- tl({ mode: a, variant: h, noBorder: c }),
3886
+ tl({ mode: a, variant: h, noBorder: l }),
3887
3887
  rl({ focusMode: n }),
3888
3888
  Qs({ mode: a, variant: h, disabled: o }),
3889
3889
  el({ mode: a, variant: h, disabled: o }),
@@ -3892,7 +3892,7 @@ const ma = "av-messagebox", fa = "av-panel", ha = "av-button", kt = "icon", gn =
3892
3892
  "disabled:cursor-not-allowed disabled:opacity-50": o
3893
3893
  },
3894
3894
  m({
3895
- "transition-[width] duration-300 ease-in-out": e === kt && b
3895
+ "transition-[width] duration-300 ease-in-out": e === wt && v
3896
3896
  }),
3897
3897
  t
3898
3898
  )), il = (e, t, r) => {
@@ -3900,7 +3900,7 @@ const ma = "av-messagebox", fa = "av-panel", ha = "av-button", kt = "icon", gn =
3900
3900
  !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);
3901
3901
  }, pn = U.forwardRef((e, t) => {
3902
3902
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
3903
- return /* @__PURE__ */ l(
3903
+ return /* @__PURE__ */ c(
3904
3904
  "button",
3905
3905
  {
3906
3906
  ref: t,
@@ -3919,7 +3919,7 @@ function sl() {
3919
3919
  }), []), Z(() => e.current, []);
3920
3920
  }
3921
3921
  function ll(e) {
3922
- return oe(() => e.every((t) => t == null) ? () => {
3922
+ return ie(() => e.every((t) => t == null) ? () => {
3923
3923
  } : (t) => {
3924
3924
  e.forEach((r) => {
3925
3925
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -3936,11 +3936,11 @@ const cl = {
3936
3936
  bottom: 0,
3937
3937
  right: 0
3938
3938
  };
3939
- function zt(e) {
3940
- const t = sl(), r = S(0), a = S(null), [n, o] = W(cl), i = oe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
3941
- const c = s[0];
3942
- c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
3943
- a.current && t() && o(c.contentRect);
3939
+ function Ut(e) {
3940
+ const t = sl(), r = S(0), a = S(null), [n, o] = G(cl), i = ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
3941
+ const l = s[0];
3942
+ l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
3943
+ a.current && t() && o(l.contentRect);
3944
3944
  }));
3945
3945
  }), [t]);
3946
3946
  return M(() => (a.current && (i == null || i.observe(a.current, e)), () => {
@@ -3971,7 +3971,7 @@ const dl = {
3971
3971
  className: o,
3972
3972
  type: i = "button",
3973
3973
  raw: s = !1,
3974
- noBorder: c = !1,
3974
+ noBorder: l = !1,
3975
3975
  "aria-label": d,
3976
3976
  label: f,
3977
3977
  size: u = "medium",
@@ -3979,41 +3979,41 @@ const dl = {
3979
3979
  labelLeft: g,
3980
3980
  noBackground: p = !1,
3981
3981
  align: y = "center",
3982
- radius: b = "large",
3983
- variant: v = "primary",
3982
+ radius: v = "large",
3983
+ variant: b = "primary",
3984
3984
  iconClassName: x,
3985
3985
  animated: k = !1,
3986
- ...A
3986
+ ...R
3987
3987
  }, E) => {
3988
3988
  const C = ol({
3989
- type: kt,
3989
+ type: wt,
3990
3990
  mode: r,
3991
3991
  focusMode: a,
3992
3992
  fullWidth: n,
3993
3993
  disabled: t,
3994
3994
  raw: s,
3995
3995
  className: o,
3996
- noBorder: c,
3996
+ noBorder: l,
3997
3997
  size: u,
3998
3998
  labelRight: h,
3999
3999
  labelLeft: g,
4000
4000
  noBackground: p,
4001
4001
  align: y,
4002
- radius: b,
4003
- variant: v,
4002
+ radius: v,
4003
+ variant: b,
4004
4004
  animated: k
4005
- }), N = al({ mode: r, raw: s, iconClassName: x }), _ = nl({ animated: k }), [w, T] = zt(), [R, B] = zt(), [$, O] = zt(), P = S(0), I = S(null), H = ll([E, I]);
4005
+ }), A = al({ mode: r, raw: s, iconClassName: x }), _ = nl({ animated: k }), [w, I] = Ut(), [T, B] = Ut(), [$, O] = Ut(), P = S(0), N = S(null), H = ll([E, N]);
4006
4006
  return pe(() => {
4007
- $ && $.current && k && (P.current = O.width + ul[u] + (c ? 0 : ml));
4008
- }, [O, $, u, c, k]), pe(() => {
4009
- I && I.current && k && (h && w && T.width > 0 ? (w.current && (w.current.style.opacity = "100"), I.current.style.width = `${T.width + P.current}px`) : g && B.width > 0 ? (R.current && (R.current.style.opacity = "100"), I.current.style.width = `${B.width + P.current}px`) : (w.current && (w.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), I.current.style.width = `${dl[u]}px`));
4007
+ $ && $.current && k && (P.current = O.width + ul[u] + (l ? 0 : ml));
4008
+ }, [O, $, u, l, k]), pe(() => {
4009
+ N && N.current && k && (h && w && I.width > 0 ? (w.current && (w.current.style.opacity = "100"), N.current.style.width = `${I.width + P.current}px`) : g && B.width > 0 ? (T.current && (T.current.style.opacity = "100"), N.current.style.width = `${B.width + P.current}px`) : (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), N.current.style.width = `${dl[u]}px`));
4010
4010
  }, [
4011
- T,
4011
+ I,
4012
4012
  h,
4013
4013
  w,
4014
4014
  B,
4015
4015
  g,
4016
- R,
4016
+ T,
4017
4017
  u,
4018
4018
  k
4019
4019
  ]), /* @__PURE__ */ L(
@@ -4024,19 +4024,19 @@ const dl = {
4024
4024
  disabled: t,
4025
4025
  type: i,
4026
4026
  "aria-label": d || f,
4027
- ...A,
4027
+ ...R,
4028
4028
  children: [
4029
- /* @__PURE__ */ l(
4029
+ /* @__PURE__ */ c(
4030
4030
  ga,
4031
4031
  {
4032
4032
  label: g,
4033
- labelRef: R,
4033
+ labelRef: T,
4034
4034
  labelClass: _,
4035
4035
  labelInnerClass: "pr-2"
4036
4036
  }
4037
4037
  ),
4038
- /* @__PURE__ */ l("span", { ref: $, className: N, children: e }),
4039
- /* @__PURE__ */ l(
4038
+ /* @__PURE__ */ c("span", { ref: $, className: A, children: e }),
4039
+ /* @__PURE__ */ c(
4040
4040
  ga,
4041
4041
  {
4042
4042
  label: h,
@@ -4054,7 +4054,7 @@ const dl = {
4054
4054
  labelClass: t,
4055
4055
  label: r,
4056
4056
  labelInnerClass: a
4057
- }) => /* @__PURE__ */ l("span", { ref: e, className: t, children: r && /* @__PURE__ */ l("span", { className: a, children: r }) });
4057
+ }) => /* @__PURE__ */ c("span", { ref: e, className: t, children: r && /* @__PURE__ */ c("span", { className: a, children: r }) });
4058
4058
  Tr.displayName = "ButtonIcon";
4059
4059
  /*!
4060
4060
  @versini/ui-button v4.2.4
@@ -4094,7 +4094,7 @@ const fl = U.forwardRef(
4094
4094
  "after:border-table-light dark:after:border-table-dark": t === "alt-system"
4095
4095
  }
4096
4096
  ) : "";
4097
- return /* @__PURE__ */ l("div", { className: i, children: /* @__PURE__ */ l(
4097
+ return /* @__PURE__ */ c("div", { className: i, children: /* @__PURE__ */ c(
4098
4098
  Tr,
4099
4099
  {
4100
4100
  className: m("justify-center", r),
@@ -4117,11 +4117,11 @@ const hl = ({
4117
4117
  size: o,
4118
4118
  title: i,
4119
4119
  semantic: s = !1,
4120
- ...c
4120
+ ...l
4121
4121
  }) => {
4122
4122
  const d = m(o, a);
4123
4123
  return /* @__PURE__ */ L(_e, { children: [
4124
- /* @__PURE__ */ l(
4124
+ /* @__PURE__ */ c(
4125
4125
  "svg",
4126
4126
  {
4127
4127
  xmlns: "http://www.w3.org/2000/svg",
@@ -4131,11 +4131,11 @@ const hl = ({
4131
4131
  role: "img",
4132
4132
  "aria-hidden": !s,
4133
4133
  focusable: !1,
4134
- ...c,
4134
+ ...l,
4135
4135
  children: e
4136
4136
  }
4137
4137
  ),
4138
- i && s && /* @__PURE__ */ l("span", { className: "sr-only", children: i })
4138
+ i && s && /* @__PURE__ */ c("span", { className: "sr-only", children: i })
4139
4139
  ] });
4140
4140
  };
4141
4141
  /*!
@@ -4157,7 +4157,7 @@ const gl = ({
4157
4157
  title: r,
4158
4158
  monotone: a,
4159
4159
  ...n
4160
- }) => /* @__PURE__ */ l(
4160
+ }) => /* @__PURE__ */ c(
4161
4161
  hl,
4162
4162
  {
4163
4163
  defaultViewBox: "0 0 384 512",
@@ -4166,7 +4166,7 @@ const gl = ({
4166
4166
  className: e,
4167
4167
  title: r || "Close",
4168
4168
  ...n,
4169
- children: /* @__PURE__ */ l(
4169
+ children: /* @__PURE__ */ c(
4170
4170
  "path",
4171
4171
  {
4172
4172
  d: "M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3z",
@@ -4194,7 +4194,7 @@ function pl({
4194
4194
  open: t,
4195
4195
  onOpenChange: r
4196
4196
  } = {}) {
4197
- const [a, n] = J.useState(e), [o, i] = J.useState(), [s, c] = J.useState(), d = t ?? a, f = r ?? n, u = $a({
4197
+ const [a, n] = J.useState(e), [o, i] = J.useState(), [s, l] = J.useState(), d = t ?? a, f = r ?? n, u = $a({
4198
4198
  open: d,
4199
4199
  onOpenChange: f
4200
4200
  }), h = u.context, g = La(h, {
@@ -4202,22 +4202,22 @@ function pl({
4202
4202
  }), p = Oa(h, {
4203
4203
  outsidePress: !1,
4204
4204
  outsidePressEvent: "mousedown"
4205
- }), y = Ba(h), b = Ma([g, p, y]);
4205
+ }), y = Ba(h), v = Ma([g, p, y]);
4206
4206
  return J.useMemo(
4207
4207
  () => ({
4208
4208
  open: d,
4209
4209
  setOpen: f,
4210
- ...b,
4210
+ ...v,
4211
4211
  ...u,
4212
4212
  labelId: o,
4213
4213
  descriptionId: s,
4214
4214
  setLabelId: i,
4215
- setDescriptionId: c
4215
+ setDescriptionId: l
4216
4216
  }),
4217
- [d, f, b, u, o, s]
4217
+ [d, f, v, u, o, s]
4218
4218
  );
4219
4219
  }
4220
- const wt = () => {
4220
+ const xt = () => {
4221
4221
  const e = J.useContext(yn);
4222
4222
  if (e == null)
4223
4223
  throw new Error("Modal components must be wrapped in <Modal />");
@@ -4228,17 +4228,17 @@ function yl({
4228
4228
  ...t
4229
4229
  }) {
4230
4230
  const r = pl(t);
4231
- return /* @__PURE__ */ l(yn.Provider, { value: r, children: e });
4231
+ return /* @__PURE__ */ c(yn.Provider, { value: r, children: e });
4232
4232
  }
4233
4233
  const bl = J.forwardRef(function(e, t) {
4234
- const { context: r, ...a } = wt(), n = mr([a.refs.setFloating, t]);
4234
+ const { context: r, ...a } = xt(), n = mr([a.refs.setFloating, t]);
4235
4235
  if (!r.open)
4236
4236
  return null;
4237
4237
  const { overlayBackground: o, ...i } = e, s = m("grid place-items-center", {
4238
4238
  [`${o}`]: o,
4239
4239
  "bg-black sm:bg-black/[.8]": !o
4240
4240
  });
4241
- return /* @__PURE__ */ l(Ia, { children: /* @__PURE__ */ l(Yn, { className: s, lockScroll: !0, children: /* @__PURE__ */ l(Aa, { context: r, children: /* @__PURE__ */ l(
4241
+ return /* @__PURE__ */ c(Ia, { children: /* @__PURE__ */ c(Yn, { className: s, lockScroll: !0, children: /* @__PURE__ */ c(Aa, { context: r, children: /* @__PURE__ */ c(
4242
4242
  "div",
4243
4243
  {
4244
4244
  ref: n,
@@ -4249,14 +4249,14 @@ const bl = J.forwardRef(function(e, t) {
4249
4249
  }
4250
4250
  ) }) }) });
4251
4251
  }), vl = J.forwardRef(function({ children: e, ...t }, r) {
4252
- const { setLabelId: a } = wt(), n = ur();
4253
- return J.useLayoutEffect(() => (a(n), () => a(void 0)), [n, a]), /* @__PURE__ */ l("h1", { ...t, ref: r, id: n, children: e });
4252
+ const { setLabelId: a } = xt(), n = ur();
4253
+ return J.useLayoutEffect(() => (a(n), () => a(void 0)), [n, a]), /* @__PURE__ */ c("h1", { ...t, ref: r, id: n, children: e });
4254
4254
  }), kl = J.forwardRef(function({ children: e, ...t }, r) {
4255
- const { setDescriptionId: a } = wt(), n = ur();
4256
- return J.useLayoutEffect(() => (a(n), () => a(void 0)), [n, a]), /* @__PURE__ */ l("div", { ...t, ref: r, id: n, children: e });
4255
+ const { setDescriptionId: a } = xt(), n = ur();
4256
+ return J.useLayoutEffect(() => (a(n), () => a(void 0)), [n, a]), /* @__PURE__ */ c("div", { ...t, ref: r, id: n, children: e });
4257
4257
  }), wl = J.forwardRef(function(e, t) {
4258
- const { setOpen: r } = wt(), { trigger: a, className: n, ...o } = e, i = J.useCallback(() => r(!1), [r]);
4259
- return /* @__PURE__ */ l("div", { className: n, children: J.cloneElement(a, {
4258
+ const { setOpen: r } = xt(), { trigger: a, className: n, ...o } = e, i = J.useCallback(() => r(!1), [r]);
4259
+ return /* @__PURE__ */ c("div", { className: n, children: J.cloneElement(a, {
4260
4260
  ref: t,
4261
4261
  onClick: i,
4262
4262
  ...o
@@ -4305,31 +4305,31 @@ const He = "panel", rt = "messagebox", xl = ({
4305
4305
  kind: i = He,
4306
4306
  className: s
4307
4307
  }) => {
4308
- const c = S(""), d = xl({ className: s, kind: i, borderMode: o });
4309
- return M(() => (e && (c.current = document.title, document.title = `${r} | ${c.current}`), () => {
4310
- e && (document.title = c.current);
4311
- }), [r, e]), /* @__PURE__ */ l(_e, { children: e && /* @__PURE__ */ l(yl, { open: e, onOpenChange: t, children: /* @__PURE__ */ L(bl, { className: d.main, children: [
4308
+ const l = S(""), d = xl({ className: s, kind: i, borderMode: o });
4309
+ return M(() => (e && (l.current = document.title, document.title = `${r} | ${l.current}`), () => {
4310
+ e && (document.title = l.current);
4311
+ }), [r, e]), /* @__PURE__ */ c(_e, { children: e && /* @__PURE__ */ c(yl, { open: e, onOpenChange: t, children: /* @__PURE__ */ L(bl, { className: d.main, children: [
4312
4312
  /* @__PURE__ */ L("div", { className: "flex flex-row-reverse items-center justify-between", children: [
4313
- /* @__PURE__ */ l(
4313
+ /* @__PURE__ */ c(
4314
4314
  wl,
4315
4315
  {
4316
4316
  className: d.close,
4317
- trigger: /* @__PURE__ */ l(
4317
+ trigger: /* @__PURE__ */ c(
4318
4318
  Tr,
4319
4319
  {
4320
4320
  mode: "dark",
4321
4321
  focusMode: "light",
4322
4322
  noBorder: !0,
4323
4323
  label: "Close",
4324
- children: /* @__PURE__ */ l(gl, {})
4324
+ children: /* @__PURE__ */ c(gl, {})
4325
4325
  }
4326
4326
  )
4327
4327
  }
4328
4328
  ),
4329
- /* @__PURE__ */ l(vl, { className: d.header, children: r })
4329
+ /* @__PURE__ */ c(vl, { className: d.header, children: r })
4330
4330
  ] }),
4331
- /* @__PURE__ */ l(kl, { className: d.content, children: a }),
4332
- n && /* @__PURE__ */ l("div", { className: d.footer, children: n })
4331
+ /* @__PURE__ */ c(kl, { className: d.content, children: a }),
4332
+ n && /* @__PURE__ */ c("div", { className: d.footer, children: n })
4333
4333
  ] }) }) });
4334
4334
  }, El = ({
4335
4335
  showConfirmation: e,
@@ -4337,7 +4337,7 @@ const He = "panel", rt = "messagebox", xl = ({
4337
4337
  action: r,
4338
4338
  children: a,
4339
4339
  customStrings: n
4340
- }) => /* @__PURE__ */ l(
4340
+ }) => /* @__PURE__ */ c(
4341
4341
  _l,
4342
4342
  {
4343
4343
  kind: "messagebox",
@@ -4345,7 +4345,7 @@ const He = "panel", rt = "messagebox", xl = ({
4345
4345
  onOpenChange: t,
4346
4346
  title: n.title,
4347
4347
  footer: /* @__PURE__ */ L($n, { columnGap: 2, alignHorizontal: "flex-end", children: [
4348
- /* @__PURE__ */ l(Dr, { children: /* @__PURE__ */ l(
4348
+ /* @__PURE__ */ c(Dr, { children: /* @__PURE__ */ c(
4349
4349
  Pr,
4350
4350
  {
4351
4351
  mode: "dark",
@@ -4357,7 +4357,7 @@ const He = "panel", rt = "messagebox", xl = ({
4357
4357
  children: n.cancelAction
4358
4358
  }
4359
4359
  ) }),
4360
- /* @__PURE__ */ l(Dr, { children: /* @__PURE__ */ l(
4360
+ /* @__PURE__ */ c(Dr, { children: /* @__PURE__ */ c(
4361
4361
  Pr,
4362
4362
  {
4363
4363
  mode: "dark",
@@ -4378,7 +4378,7 @@ const He = "panel", rt = "messagebox", xl = ({
4378
4378
  const {
4379
4379
  state: { privateChat: t },
4380
4380
  dispatch: r
4381
- } = G(ie), [a, n] = W(!1), [o, i] = jt({
4381
+ } = W(ae), [a, n] = G(!1), [o, i] = jt({
4382
4382
  key: Wt + Ln,
4383
4383
  initialValue: ""
4384
4384
  }), s = () => {
@@ -4390,7 +4390,7 @@ const He = "panel", rt = "messagebox", xl = ({
4390
4390
  });
4391
4391
  };
4392
4392
  return /* @__PURE__ */ L(_e, { children: [
4393
- /* @__PURE__ */ l(
4393
+ /* @__PURE__ */ c(
4394
4394
  El,
4395
4395
  {
4396
4396
  showConfirmation: a,
@@ -4402,19 +4402,19 @@ const He = "panel", rt = "messagebox", xl = ({
4402
4402
  title: "Temporary Chat"
4403
4403
  },
4404
4404
  children: /* @__PURE__ */ L("ul", { children: [
4405
- /* @__PURE__ */ l("li", { children: "Your chat sessions will not be saved to your chat history." }),
4406
- /* @__PURE__ */ l("li", { children: "If you refresh your browser, the setting will revert to the default (non-private) chat." })
4405
+ /* @__PURE__ */ c("li", { children: "Your chat sessions will not be saved to your chat history." }),
4406
+ /* @__PURE__ */ c("li", { children: "If you refresh your browser, the setting will revert to the default (non-private) chat." })
4407
4407
  ] })
4408
4408
  }
4409
4409
  ),
4410
- /* @__PURE__ */ l(
4410
+ /* @__PURE__ */ c(
4411
4411
  Pe,
4412
4412
  {
4413
4413
  label: "Temporary Chat",
4414
4414
  mode: "light",
4415
4415
  placement: "top",
4416
4416
  className: e,
4417
- trigger: /* @__PURE__ */ l(
4417
+ trigger: /* @__PURE__ */ c(
4418
4418
  $e,
4419
4419
  {
4420
4420
  noBorder: !0,
@@ -4428,7 +4428,7 @@ const He = "panel", rt = "messagebox", xl = ({
4428
4428
  d.preventDefault(), o ? s() : (i("true"), n(!a));
4429
4429
  },
4430
4430
  className: "text-sm",
4431
- children: t ? /* @__PURE__ */ l(uo, { size: ge }) : /* @__PURE__ */ l(fo, { size: ge })
4431
+ children: t ? /* @__PURE__ */ c(uo, { size: ge }) : /* @__PURE__ */ c(fo, { size: ge })
4432
4432
  }
4433
4433
  )
4434
4434
  }
@@ -4464,8 +4464,8 @@ const He = "panel", rt = "messagebox", xl = ({
4464
4464
  mode: o = "system",
4465
4465
  focusMode: i = "system",
4466
4466
  ...s
4467
- }, c) => {
4468
- const [d, f] = W(!1), [u, h] = W(!1), [g, p] = W(null), y = S([]), b = S([]), v = G(lr), x = Da(), k = Jn(), A = Pa(), { floatingStyles: E, refs: C, context: N } = $a({
4467
+ }, l) => {
4468
+ const [d, f] = G(!1), [u, h] = G(!1), [g, p] = G(null), y = S([]), v = S([]), b = W(lr), x = Da(), k = Jn(), R = Pa(), { floatingStyles: E, refs: C, context: A } = $a({
4469
4469
  nodeId: k,
4470
4470
  open: d,
4471
4471
  onOpenChange: (q) => {
@@ -4475,22 +4475,22 @@ const He = "panel", rt = "messagebox", xl = ({
4475
4475
  strategy: "fixed",
4476
4476
  middleware: [Zn({ mainAxis: 10 }), Xn(), Qn()],
4477
4477
  whileElementsMounted: eo
4478
- }), _ = La(N, {
4478
+ }), _ = La(A, {
4479
4479
  event: "mousedown",
4480
4480
  toggle: !0,
4481
4481
  ignoreMouse: !1
4482
- }), w = Ba(N, { role: "menu" }), T = Oa(N, { bubbles: !0 }), R = to(N, {
4482
+ }), w = Ba(A, { role: "menu" }), I = Oa(A, { bubbles: !0 }), T = to(A, {
4483
4483
  listRef: y,
4484
4484
  activeIndex: g,
4485
4485
  nested: !1,
4486
4486
  onNavigate: p,
4487
4487
  loop: !0
4488
- }), B = ro(N, {
4489
- listRef: b,
4488
+ }), B = ro(A, {
4489
+ listRef: v,
4490
4490
  onMatch: d ? p : void 0,
4491
4491
  activeIndex: g
4492
- }), { getReferenceProps: $, getFloatingProps: O, getItemProps: P } = Ma([_, w, T, R, B]), I = pa(e) === "Button" || pa(e) === "ButtonIcon", H = I ? {
4493
- noInternalClick: I,
4492
+ }), { getReferenceProps: $, getFloatingProps: O, getItemProps: P } = Ma([_, w, I, T, B]), N = pa(e) === "Button" || pa(e) === "ButtonIcon", H = N ? {
4493
+ noInternalClick: N,
4494
4494
  focusMode: i,
4495
4495
  mode: o
4496
4496
  } : {}, j = U.cloneElement(
@@ -4500,9 +4500,9 @@ const He = "panel", rt = "messagebox", xl = ({
4500
4500
  "aria-label": r,
4501
4501
  "data-open": d ? "" : void 0,
4502
4502
  "data-focus-inside": u ? "" : void 0,
4503
- ref: mr([C.setReference, A.ref, c]),
4503
+ ref: mr([C.setReference, R.ref, l]),
4504
4504
  ...$(
4505
- v.getItemProps({
4505
+ b.getItemProps({
4506
4506
  ...s
4507
4507
  })
4508
4508
  )
@@ -4521,7 +4521,7 @@ const He = "panel", rt = "messagebox", xl = ({
4521
4521
  d && x && x.events.emit("menuopen", { nodeId: k });
4522
4522
  }, [x, d, k]), /* @__PURE__ */ L(ao, { id: k, children: [
4523
4523
  j,
4524
- /* @__PURE__ */ l(
4524
+ /* @__PURE__ */ c(
4525
4525
  lr.Provider,
4526
4526
  {
4527
4527
  value: {
@@ -4531,14 +4531,14 @@ const He = "panel", rt = "messagebox", xl = ({
4531
4531
  setHasFocusInside: h,
4532
4532
  isOpen: d
4533
4533
  },
4534
- children: /* @__PURE__ */ l(no, { elementsRef: y, labelsRef: b, children: d && /* @__PURE__ */ l(Ia, { children: /* @__PURE__ */ l(
4534
+ children: /* @__PURE__ */ c(no, { elementsRef: y, labelsRef: v, children: d && /* @__PURE__ */ c(Ia, { children: /* @__PURE__ */ c(
4535
4535
  Aa,
4536
4536
  {
4537
- context: N,
4537
+ context: A,
4538
4538
  modal: !1,
4539
4539
  initialFocus: 0,
4540
4540
  returnFocus: !0,
4541
- children: /* @__PURE__ */ l(
4541
+ children: /* @__PURE__ */ c(
4542
4542
  "div",
4543
4543
  {
4544
4544
  ref: C.setFloating,
@@ -4554,10 +4554,10 @@ const He = "panel", rt = "messagebox", xl = ({
4554
4554
  )
4555
4555
  ] });
4556
4556
  }
4557
- ), Sr = Na((e, t) => /* @__PURE__ */ l(oo, { children: /* @__PURE__ */ l(bn, { ...e, ref: t }) }));
4557
+ ), Sr = Na((e, t) => /* @__PURE__ */ c(oo, { children: /* @__PURE__ */ c(bn, { ...e, ref: t }) }));
4558
4558
  Sr.displayName = "Menu";
4559
4559
  bn.displayName = "MenuComponent";
4560
- const ct = J.forwardRef(
4560
+ const dt = J.forwardRef(
4561
4561
  ({
4562
4562
  label: e,
4563
4563
  disabled: t,
@@ -4567,18 +4567,18 @@ const ct = J.forwardRef(
4567
4567
  ignoreClick: o = !1,
4568
4568
  selected: i = !1,
4569
4569
  ...s
4570
- }, c) => {
4570
+ }, l) => {
4571
4571
  let d = "";
4572
- const f = J.useContext(lr), u = Pa({ label: t ? null : e }), h = Da(), g = mr([u.ref, c]);
4572
+ const f = J.useContext(lr), u = Pa({ label: t ? null : e }), h = Da(), g = mr([u.ref, l]);
4573
4573
  if (a && n)
4574
- return /* @__PURE__ */ l(
4574
+ return /* @__PURE__ */ c(
4575
4575
  "div",
4576
4576
  {
4577
4577
  role: "menuitem",
4578
4578
  ...f.getItemProps({
4579
4579
  onClick(y) {
4580
- var b;
4581
- o || ((b = s.onClick) == null || b.call(s, y), h == null || h.events.emit("click"));
4580
+ var v;
4581
+ o || ((v = s.onClick) == null || v.call(s, y), h == null || h.events.emit("click"));
4582
4582
  }
4583
4583
  }),
4584
4584
  children: n
@@ -4604,26 +4604,26 @@ const ct = J.forwardRef(
4604
4604
  disabled: t,
4605
4605
  ...f.getItemProps({
4606
4606
  onClick(y) {
4607
- var b;
4608
- o || ((b = s.onClick) == null || b.call(s, y), h == null || h.events.emit("click"));
4607
+ var v;
4608
+ o || ((v = s.onClick) == null || v.call(s, y), h == null || h.events.emit("click"));
4609
4609
  },
4610
4610
  onFocus(y) {
4611
- var b;
4612
- (b = s.onFocus) == null || b.call(s, y), f.setHasFocusInside(!0);
4611
+ var v;
4612
+ (v = s.onFocus) == null || v.call(s, y), f.setHasFocusInside(!0);
4613
4613
  }
4614
4614
  }),
4615
4615
  children: [
4616
4616
  r,
4617
- e && /* @__PURE__ */ l("span", { className: d, children: e })
4617
+ e && /* @__PURE__ */ c("span", { className: d, children: e })
4618
4618
  ]
4619
4619
  }
4620
4620
  );
4621
4621
  }
4622
4622
  );
4623
- ct.displayName = "MenuItem";
4623
+ dt.displayName = "MenuItem";
4624
4624
  const td = ({ className: e, ...t }) => {
4625
4625
  const r = m(e, "my-1 border-t border-border-medium");
4626
- return /* @__PURE__ */ l("div", { className: r, ...t });
4626
+ return /* @__PURE__ */ c("div", { className: r, ...t });
4627
4627
  }, vn = ({
4628
4628
  className: e,
4629
4629
  ...t
@@ -4632,7 +4632,7 @@ const td = ({ className: e, ...t }) => {
4632
4632
  e,
4633
4633
  "pt-1 mb-2 text-sm text-copy-dark border-b border-border-medium"
4634
4634
  );
4635
- return /* @__PURE__ */ l("div", { className: r, ...t });
4635
+ return /* @__PURE__ */ c("div", { className: r, ...t });
4636
4636
  };
4637
4637
  /*!
4638
4638
  @versini/ui-menu v3.2.13
@@ -4656,10 +4656,10 @@ const Sl = (e) => {
4656
4656
  className: e,
4657
4657
  defaultPlacement: t = "top-start"
4658
4658
  }) => {
4659
- const { dispatch: r } = G(ie), { dispatch: a } = G(pt), { getAccessToken: n, user: o } = Le(), {
4659
+ const { dispatch: r } = W(ae), { dispatch: a } = W(yt), { getAccessToken: n, user: o } = Le(), {
4660
4660
  data: i,
4661
4661
  error: s,
4662
- isLoading: c
4662
+ isLoading: l
4663
4663
  } = vr({
4664
4664
  keys: [o == null ? void 0 : o.username],
4665
4665
  getAccessToken: n
@@ -4676,7 +4676,7 @@ const Sl = (e) => {
4676
4676
  }
4677
4677
  });
4678
4678
  };
4679
- return s || c ? null : i && i.tags && Sl(i.tags) && /* @__PURE__ */ l(
4679
+ return s || l ? null : i && i.tags && Sl(i.tags) && /* @__PURE__ */ c(
4680
4680
  Pe,
4681
4681
  {
4682
4682
  label: "Custom Prompts",
@@ -4687,12 +4687,12 @@ const Sl = (e) => {
4687
4687
  {
4688
4688
  mode: "dark",
4689
4689
  focusMode: "light",
4690
- trigger: /* @__PURE__ */ l($e, { noBorder: !0, label: "Prompts", children: /* @__PURE__ */ l(io, { size: ge }) }),
4690
+ trigger: /* @__PURE__ */ c($e, { noBorder: !0, label: "Prompts", children: /* @__PURE__ */ c(io, { size: ge }) }),
4691
4691
  defaultPlacement: t,
4692
4692
  children: [
4693
- /* @__PURE__ */ l(vn, { children: "Prompts" }),
4694
- i && i.tags && i.tags.map((f) => f.enabled && f.label && f.content && /* @__PURE__ */ l(
4695
- ct,
4693
+ /* @__PURE__ */ c(vn, { children: "Prompts" }),
4694
+ i && i.tags && i.tags.map((f) => f.enabled && f.label && f.content && /* @__PURE__ */ c(
4695
+ dt,
4696
4696
  {
4697
4697
  label: f.label,
4698
4698
  onClick: (u) => d(
@@ -4713,7 +4713,7 @@ const Sl = (e) => {
4713
4713
  }) => {
4714
4714
  const { user: t, getAccessToken: r } = Le(), {
4715
4715
  state: { messages: a, usage: n, provider: o, id: i, privateChat: s }
4716
- } = G(ie), [c, d] = W(!1), f = async (u) => {
4716
+ } = W(ae), [l, d] = G(!1), f = async (u) => {
4717
4717
  u.preventDefault();
4718
4718
  try {
4719
4719
  i && a && o && await br({
@@ -4732,14 +4732,14 @@ const Sl = (e) => {
4732
4732
  };
4733
4733
  return M(() => {
4734
4734
  s && (a == null ? void 0 : a.length) > 0 ? d(!0) : d(!1);
4735
- }, [s, a]), c && /* @__PURE__ */ l(
4735
+ }, [s, a]), l && /* @__PURE__ */ c(
4736
4736
  Pe,
4737
4737
  {
4738
4738
  label: "Save Private Chat",
4739
4739
  mode: "light",
4740
4740
  placement: "top",
4741
4741
  className: e,
4742
- trigger: /* @__PURE__ */ l(
4742
+ trigger: /* @__PURE__ */ c(
4743
4743
  $e,
4744
4744
  {
4745
4745
  noBorder: !0,
@@ -4747,26 +4747,26 @@ const Sl = (e) => {
4747
4747
  focusMode: "light",
4748
4748
  label: "Save Private Chat",
4749
4749
  onClick: f,
4750
- children: /* @__PURE__ */ l(lo, { size: ge, monotone: !0 })
4750
+ children: /* @__PURE__ */ c(lo, { size: ge, monotone: !0 })
4751
4751
  }
4752
4752
  )
4753
4753
  }
4754
4754
  );
4755
- }, Rl = ({ show: e }) => e ? /* @__PURE__ */ l(
4755
+ }, Rl = ({ show: e }) => e ? /* @__PURE__ */ c(
4756
4756
  "div",
4757
4757
  {
4758
4758
  className: m(
4759
4759
  ts,
4760
4760
  "bottom-44 fixed left-1/2 transform -translate-x-1/2"
4761
4761
  ),
4762
- children: /* @__PURE__ */ l(
4762
+ children: /* @__PURE__ */ c(
4763
4763
  "button",
4764
4764
  {
4765
4765
  className: "av-button not-prose truncate text-copy-light rounded-full inline-flex items-center justify-center h-8 w-8 p-1 border border-transparent focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-focus-dark dark:focus:outline-focus-light disabled:opacity-50 dark:bg-slate-50 bg-slate-500 disabled:cursor-auto",
4766
4766
  disabled: !0,
4767
4767
  type: "button",
4768
4768
  "aria-label": "Scroll to bottom",
4769
- children: /* @__PURE__ */ l("div", { className: "text-copy-light", children: /* @__PURE__ */ l(
4769
+ children: /* @__PURE__ */ c("div", { className: "text-copy-light", children: /* @__PURE__ */ c(
4770
4770
  "svg",
4771
4771
  {
4772
4772
  xmlns: "http://www.w3.org/2000/svg",
@@ -4776,7 +4776,7 @@ const Sl = (e) => {
4776
4776
  role: "img",
4777
4777
  "aria-hidden": "true",
4778
4778
  focusable: "false",
4779
- children: /* @__PURE__ */ l("path", { d: "M174.6 472.6c4.5 4.7 10.8 7.4 17.4 7.4s12.8-2.7 17.4-7.4l168-176c9.2-9.6 8.8-24.8-.8-33.9s-24.8-8.8-33.9 .8L216 396.1 216 56c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 340.1L41.4 263.4c-9.2-9.6-24.3-9.9-33.9-.8s-9.9 24.3-.8 33.9l168 176z" })
4779
+ children: /* @__PURE__ */ c("path", { d: "M174.6 472.6c4.5 4.7 10.8 7.4 17.4 7.4s12.8-2.7 17.4-7.4l168-176c9.2-9.6 8.8-24.8-.8-33.9s-24.8-8.8-33.9 .8L216 396.1 216 56c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 340.1L41.4 263.4c-9.2-9.6-24.3-9.9-33.9-.8s-9.9 24.3-.8 33.9l168 176z" })
4780
4780
  }
4781
4781
  ) })
4782
4782
  }
@@ -4787,15 +4787,15 @@ const Sl = (e) => {
4787
4787
  }) => {
4788
4788
  const {
4789
4789
  state: { loading: t, streaming: r }
4790
- } = G(ie);
4791
- return /* @__PURE__ */ l(
4790
+ } = W(ae);
4791
+ return /* @__PURE__ */ c(
4792
4792
  Pe,
4793
4793
  {
4794
4794
  label: "Send Message",
4795
4795
  mode: "light",
4796
4796
  placement: "top-end",
4797
4797
  className: e,
4798
- trigger: /* @__PURE__ */ l(
4798
+ trigger: /* @__PURE__ */ c(
4799
4799
  $e,
4800
4800
  {
4801
4801
  iconClassName: "text-copy-lighter pr-0.5",
@@ -4805,7 +4805,7 @@ const Sl = (e) => {
4805
4805
  type: "submit",
4806
4806
  mode: "light",
4807
4807
  focusMode: "light",
4808
- children: /* @__PURE__ */ l(mo, { size: ge })
4808
+ children: /* @__PURE__ */ c(mo, { size: ge })
4809
4809
  }
4810
4810
  )
4811
4811
  }
@@ -4816,11 +4816,11 @@ const Sl = (e) => {
4816
4816
  const {
4817
4817
  state: { provider: t },
4818
4818
  dispatch: r
4819
- } = G(ie), { getAccessToken: a, user: n } = Le(), {
4819
+ } = W(ae), { getAccessToken: a, user: n } = Le(), {
4820
4820
  data: o,
4821
4821
  error: i,
4822
4822
  isLoading: s,
4823
- mutate: c
4823
+ mutate: l
4824
4824
  } = vr({
4825
4825
  keys: [n == null ? void 0 : n.username],
4826
4826
  getAccessToken: a
@@ -4830,7 +4830,7 @@ const Sl = (e) => {
4830
4830
  provider: f,
4831
4831
  accessToken: await a(),
4832
4832
  username: (n == null ? void 0 : n.username) || ""
4833
- }), c({ ...o }), r({
4833
+ }), l({ ...o }), r({
4834
4834
  type: Me,
4835
4835
  payload: {
4836
4836
  provider: f
@@ -4839,7 +4839,7 @@ const Sl = (e) => {
4839
4839
  } catch {
4840
4840
  }
4841
4841
  };
4842
- return i || s ? null : /* @__PURE__ */ l(
4842
+ return i || s ? null : /* @__PURE__ */ c(
4843
4843
  Pe,
4844
4844
  {
4845
4845
  label: "Toggle Providers",
@@ -4850,25 +4850,25 @@ const Sl = (e) => {
4850
4850
  {
4851
4851
  mode: "dark",
4852
4852
  focusMode: "light",
4853
- trigger: /* @__PURE__ */ l($e, { noBorder: !0, label: "Providers", children: t === Ct ? /* @__PURE__ */ l(Wr, { size: ge }) : /* @__PURE__ */ l(Gr, { size: ge }) }),
4853
+ trigger: /* @__PURE__ */ c($e, { noBorder: !0, label: "Providers", children: t === Nt ? /* @__PURE__ */ c(Wr, { size: ge }) : /* @__PURE__ */ c(Gr, { size: ge }) }),
4854
4854
  defaultPlacement: "top-start",
4855
4855
  children: [
4856
- /* @__PURE__ */ l(vn, { children: "Providers" }),
4857
- /* @__PURE__ */ l(
4858
- ct,
4856
+ /* @__PURE__ */ c(vn, { children: "Providers" }),
4857
+ /* @__PURE__ */ c(
4858
+ dt,
4859
4859
  {
4860
- selected: t === Ct,
4860
+ selected: t === Nt,
4861
4861
  label: "Anthropic",
4862
- icon: /* @__PURE__ */ l(Wr, {}),
4863
- onClick: () => d(Ct)
4862
+ icon: /* @__PURE__ */ c(Wr, {}),
4863
+ onClick: () => d(Nt)
4864
4864
  }
4865
4865
  ),
4866
- /* @__PURE__ */ l(
4867
- ct,
4866
+ /* @__PURE__ */ c(
4867
+ dt,
4868
4868
  {
4869
4869
  selected: t === Vr,
4870
4870
  label: "OpenAI",
4871
- icon: /* @__PURE__ */ l(Gr, {}),
4871
+ icon: /* @__PURE__ */ c(Gr, {}),
4872
4872
  onClick: () => d(Vr)
4873
4873
  }
4874
4874
  )
@@ -4917,9 +4917,9 @@ const Sl = (e) => {
4917
4917
  }) => {
4918
4918
  const f = ba * 2, u = 5 * ba, {
4919
4919
  state: { usage: h, messages: g }
4920
- } = G(ie), { state: p } = G(pt), y = S(null), b = S(null), v = To([i, b]), x = Ro(), k = Ml({
4920
+ } = W(ae), { state: p } = W(yt), y = S(null), v = S(null), b = To([i, v]), x = Ro(), k = Ml({
4921
4921
  className: e
4922
- }), [A, E] = No({
4922
+ }), [R, E] = No({
4923
4923
  value: r,
4924
4924
  initialControlledDelay: 20,
4925
4925
  defaultValue: a,
@@ -4931,56 +4931,56 @@ const Sl = (e) => {
4931
4931
  });
4932
4932
  }
4933
4933
  }), C = Z(() => {
4934
- if (!b.current)
4934
+ if (!v.current)
4935
4935
  return;
4936
- b.current.style.height = "auto";
4937
- const w = b.current.scrollHeight;
4936
+ v.current.style.height = "auto";
4937
+ const w = v.current.scrollHeight;
4938
4938
  if (w > u) {
4939
- b.current.style.height = `${u}px`, b.current.style.overflowY = "scroll";
4939
+ v.current.style.height = `${u}px`, v.current.style.overflowY = "scroll";
4940
4940
  return;
4941
4941
  }
4942
- b.current.style.height = `${w}px`, b.current.style.overflowY = "hidden";
4943
- }, [u]), N = (w) => {
4944
- E(""), b.current && (b.current.style.height = `${f}px`), o(w, A);
4942
+ v.current.style.height = `${w}px`, v.current.style.overflowY = "hidden";
4943
+ }, [u]), A = (w) => {
4944
+ E(""), v.current && (v.current.style.height = `${f}px`), o(w, R);
4945
4945
  }, _ = (w) => {
4946
4946
  E(w.target.value), C();
4947
4947
  };
4948
4948
  return M(() => {
4949
- h === 0 && (g == null ? void 0 : g.length) === 0 && b.current && (b.current.style.height = `${f}px`);
4949
+ h === 0 && (g == null ? void 0 : g.length) === 0 && v.current && (v.current.style.height = `${f}px`);
4950
4950
  }, [h, g, f]), M(() => {
4951
4951
  p.lastTriggeredTimestamp && setTimeout(() => {
4952
4952
  C();
4953
4953
  }, 100);
4954
- }, [p.lastTriggeredTimestamp, C]), /* @__PURE__ */ l(
4954
+ }, [p.lastTriggeredTimestamp, C]), /* @__PURE__ */ c(
4955
4955
  "div",
4956
4956
  {
4957
4957
  className: k.wrapper,
4958
4958
  ref: y,
4959
4959
  ...s,
4960
- children: /* @__PURE__ */ L("form", { onSubmit: N, children: [
4961
- /* @__PURE__ */ l("div", { id: x, className: "sr-only", children: t }),
4962
- /* @__PURE__ */ l("div", { className: "relative", children: /* @__PURE__ */ l(
4960
+ children: /* @__PURE__ */ L("form", { onSubmit: A, children: [
4961
+ /* @__PURE__ */ c("div", { id: x, className: "sr-only", children: t }),
4962
+ /* @__PURE__ */ c("div", { className: "relative", children: /* @__PURE__ */ c(
4963
4963
  "textarea",
4964
4964
  {
4965
4965
  required: !0,
4966
4966
  rows: 2,
4967
- ref: v,
4967
+ ref: b,
4968
4968
  placeholder: "Type your question here.",
4969
4969
  translate: "no",
4970
4970
  onChange: _,
4971
- value: A,
4972
- onKeyDown: bo([["mod+Enter", N]]),
4971
+ value: R,
4972
+ onKeyDown: bo([["mod+Enter", A]]),
4973
4973
  className: k.textArea,
4974
4974
  "aria-labelledby": x
4975
4975
  }
4976
4976
  ) }),
4977
4977
  /* @__PURE__ */ L("div", { className: "p-2 flex items-center", children: [
4978
- /* @__PURE__ */ l(Il, { className: "order-6 ml-auto" }),
4979
- /* @__PURE__ */ l(qs, { className: "order-1 mr-4 sm:mr-2" }),
4980
- /* @__PURE__ */ l(Al, { className: "order-2 mr-4 sm:mr-2" }),
4981
- /* @__PURE__ */ l(Cl, { className: "order-3 mr-4 sm:mr-2" }),
4982
- /* @__PURE__ */ l(Tl, { className: "order-4 mr-4 sm:mr-2" }),
4983
- /* @__PURE__ */ l(Nl, { className: "order-5" })
4978
+ /* @__PURE__ */ c(Il, { className: "order-6 ml-auto" }),
4979
+ /* @__PURE__ */ c(qs, { className: "order-1 mr-4 sm:mr-2" }),
4980
+ /* @__PURE__ */ c(Al, { className: "order-2 mr-4 sm:mr-2" }),
4981
+ /* @__PURE__ */ c(Cl, { className: "order-3 mr-4 sm:mr-2" }),
4982
+ /* @__PURE__ */ c(Tl, { className: "order-4 mr-4 sm:mr-2" }),
4983
+ /* @__PURE__ */ c(Nl, { className: "order-5" })
4984
4984
  ] })
4985
4985
  ] })
4986
4986
  }
@@ -4989,20 +4989,20 @@ const Sl = (e) => {
4989
4989
  const {
4990
4990
  state: { messages: e, provider: t, id: r, usage: a, privateChat: n, streaming: o },
4991
4991
  dispatch: i
4992
- } = G(ie), { state: s, dispatch: c } = G(pt), [d, f] = W(""), { getAccessToken: u, user: h } = Le(), g = S(null), p = S(
4992
+ } = W(ae), { state: s, dispatch: l } = W(yt), [d, f] = G(""), { getAccessToken: u, user: h } = Le(), g = at() ? 500 : 5, p = S(null), y = S(
4993
4993
  null
4994
4994
  );
4995
4995
  ko([
4996
4996
  [
4997
4997
  "mod+K",
4998
4998
  () => {
4999
- g && g.current && !Ft() && g.current.focus();
4999
+ p && p.current && !at() && p.current.focus();
5000
5000
  }
5001
5001
  ]
5002
5002
  ]);
5003
- const y = async (b) => {
5003
+ const v = async (b) => {
5004
5004
  b.preventDefault(), i({
5005
- type: nt,
5005
+ type: ot,
5006
5006
  payload: {
5007
5007
  content: d,
5008
5008
  role: Ca
@@ -5011,31 +5011,31 @@ const Sl = (e) => {
5011
5011
  };
5012
5012
  return M(() => {
5013
5013
  (async () => {
5014
- var v;
5014
+ var x;
5015
5015
  if (e.length === 0) {
5016
- (v = p == null ? void 0 : p.current) == null || v.cancel();
5016
+ (x = y == null ? void 0 : y.current) == null || x.cancel();
5017
5017
  return;
5018
5018
  }
5019
5019
  const b = e[e.length - 1];
5020
- if (!(e.length === 0 || b.role === Fe || b.role === Mn || b.role === at || b.role === Dn)) {
5020
+ if (!(e.length === 0 || b.role === Fe || b.role === Mn || b.role === nt || b.role === Dn)) {
5021
5021
  i({
5022
5022
  type: ar,
5023
5023
  payload: !0
5024
5024
  });
5025
5025
  try {
5026
- const x = await ji({
5026
+ const k = await ji({
5027
5027
  accessToken: await u(),
5028
5028
  name: "generate",
5029
5029
  data: {
5030
5030
  messages: e,
5031
- model: t || ot,
5031
+ model: t || it,
5032
5032
  user: (h == null ? void 0 : h.username) || "",
5033
5033
  id: r,
5034
5034
  usage: a,
5035
5035
  private: n
5036
5036
  }
5037
5037
  });
5038
- if (x && x.ok) {
5038
+ if (k && k.ok) {
5039
5039
  i({
5040
5040
  type: ar,
5041
5041
  payload: !1
@@ -5043,25 +5043,25 @@ const Sl = (e) => {
5043
5043
  type: nr,
5044
5044
  payload: !0
5045
5045
  });
5046
- const k = gr();
5047
- p.current = x.body.getReader();
5048
- const A = new TextDecoder();
5046
+ const R = gr();
5047
+ y.current = k.body.getReader();
5048
+ const E = new TextDecoder();
5049
5049
  for (; ; ) {
5050
- const { done: E, value: C } = await p.current.read();
5051
- if (E)
5050
+ const { done: C, value: A } = await y.current.read();
5051
+ if (C)
5052
5052
  break;
5053
- const N = A.decode(C, { stream: !0 }), _ = N.indexOf(zr);
5054
- if (_ !== -1) {
5055
- const w = N.substring(0, _), T = JSON.parse(
5056
- N.substring(_ + zr.length)
5053
+ const _ = E.decode(A, { stream: !0 }), w = _.indexOf(zr);
5054
+ if (w !== -1) {
5055
+ const I = _.substring(0, w), T = JSON.parse(
5056
+ _.substring(w + zr.length)
5057
5057
  );
5058
5058
  i({
5059
- type: nt,
5059
+ type: ot,
5060
5060
  payload: {
5061
5061
  model: T.model,
5062
- content: w,
5062
+ content: I,
5063
5063
  role: Fe,
5064
- messageId: k,
5064
+ messageId: R,
5065
5065
  processingTime: T.processingTime,
5066
5066
  name: T.name,
5067
5067
  usage: T.usage
@@ -5070,11 +5070,11 @@ const Sl = (e) => {
5070
5070
  break;
5071
5071
  } else
5072
5072
  i({
5073
- type: nt,
5073
+ type: ot,
5074
5074
  payload: {
5075
- content: N,
5075
+ content: _,
5076
5076
  role: Fe,
5077
- messageId: k
5077
+ messageId: R
5078
5078
  }
5079
5079
  });
5080
5080
  }
@@ -5087,15 +5087,15 @@ const Sl = (e) => {
5087
5087
  type: rr,
5088
5088
  payload: {
5089
5089
  content: Ur,
5090
- role: at
5090
+ role: nt
5091
5091
  }
5092
5092
  });
5093
- } catch (x) {
5094
- console.error(x), i({
5093
+ } catch (k) {
5094
+ console.error(k), i({
5095
5095
  type: rr,
5096
5096
  payload: {
5097
5097
  content: Ur,
5098
- role: at
5098
+ role: nt
5099
5099
  }
5100
5100
  });
5101
5101
  }
@@ -5104,22 +5104,24 @@ const Sl = (e) => {
5104
5104
  }, [e]), M(() => {
5105
5105
  if (s.prompt !== "") {
5106
5106
  const b = s.prompt.endsWith(":") && !s.prompt.endsWith(": ") ? s.prompt + " " : s.prompt;
5107
- b.indexOf(Hr) !== -1 ? navigator.clipboard.readText().then((x) => {
5108
- f(b.replace(Hr, x));
5109
- }) : f(b), !Ft() && g.current && g.current.focus(), c({
5107
+ b.indexOf(Hr) !== -1 ? navigator.clipboard.readText().then((k) => {
5108
+ f(b.replace(Hr, k));
5109
+ }) : f(b), !at() && p.current && p.current.focus(), l({
5110
5110
  type: Ta
5111
5111
  });
5112
5112
  }
5113
- }, [s, c]), M(() => {
5114
- a === 0 && (e == null ? void 0 : e.length) === 0 && (f(""), g.current && g.current.focus());
5115
- }, [a, e]), M(() => {
5116
- o === !1 && g.current && g.current.focus();
5117
- }, [o]), /* @__PURE__ */ l(_e, { children: /* @__PURE__ */ l(
5113
+ }, [s, l]), M(() => {
5114
+ a === 0 && (e == null ? void 0 : e.length) === 0 && (f(""), setTimeout(() => {
5115
+ p.current && p.current.focus();
5116
+ }, g));
5117
+ }, [a, e, g]), M(() => {
5118
+ o === !1 && p.current && p.current.focus();
5119
+ }, [o]), /* @__PURE__ */ c(_e, { children: /* @__PURE__ */ c(
5118
5120
  Dl,
5119
5121
  {
5120
5122
  label: Pn,
5121
- onSubmit: y,
5122
- ref: g,
5123
+ onSubmit: v,
5124
+ ref: p,
5123
5125
  value: d,
5124
5126
  onChange: (b) => f(b.target.value)
5125
5127
  }
@@ -5127,19 +5129,19 @@ const Sl = (e) => {
5127
5129
  }, Vl = ({ isComponent: e }) => {
5128
5130
  const {
5129
5131
  state: { loading: t, streaming: r, restoring: a, messages: n }
5130
- } = G(ie), { height: o } = Io(), [i, s] = Co(), c = zn();
5132
+ } = W(ae), { height: o } = Io(), [i, s] = Co(), l = zn();
5131
5133
  return M(() => {
5132
5134
  var d, f;
5133
5135
  (t && !r || a) && ((d = i == null ? void 0 : i.current) == null || d.style.setProperty("--sassy-bottom", "16px")), !t && !r && n.length === 0 && ((f = i == null ? void 0 : i.current) == null || f.style.setProperty(
5134
5136
  "--sassy-bottom",
5135
- `${o - s.height - (e ? 300 : c ? 220 : 245)}px`
5137
+ `${o - s.height - (e ? 300 : l ? 220 : 245)}px`
5136
5138
  ));
5137
5139
  }, [
5138
5140
  i,
5139
5141
  t,
5140
5142
  r,
5141
5143
  a,
5142
- c,
5144
+ l,
5143
5145
  e,
5144
5146
  n,
5145
5147
  o,
@@ -5156,8 +5158,8 @@ const Sl = (e) => {
5156
5158
  es
5157
5159
  ),
5158
5160
  children: [
5159
- /* @__PURE__ */ l(Pl, {}),
5160
- /* @__PURE__ */ l("div", { className: "w-full text-center text-xs text-copy-lighter pt-2", children: Vn })
5161
+ /* @__PURE__ */ c(Pl, {}),
5162
+ /* @__PURE__ */ c("div", { className: "w-full text-center text-xs text-copy-lighter pt-2", children: Vn })
5161
5163
  ]
5162
5164
  }
5163
5165
  );
@@ -5175,7 +5177,7 @@ try {
5175
5177
  });
5176
5178
  } catch {
5177
5179
  }
5178
- const zl = "av-bubble", va = "av-button", xt = "icon", kn = "button", cr = "link", Ul = ({
5180
+ const zl = "av-bubble", va = "av-button", _t = "icon", kn = "button", cr = "link", Ul = ({
5179
5181
  type: e,
5180
5182
  size: t,
5181
5183
  labelRight: r,
@@ -5183,16 +5185,16 @@ const zl = "av-bubble", va = "av-button", xt = "icon", kn = "button", cr = "link
5183
5185
  align: n,
5184
5186
  animated: o
5185
5187
  }) => {
5186
- const i = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
5188
+ const i = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", l = "max-h-12 py-2 px-4";
5187
5189
  switch (e) {
5188
5190
  case kn:
5189
5191
  case cr:
5190
5192
  return m({
5191
5193
  [i]: t === "small",
5192
5194
  [s]: t === "medium",
5193
- [c]: t === "large"
5195
+ [l]: t === "large"
5194
5196
  });
5195
- case xt:
5197
+ case _t:
5196
5198
  return m("flex items-center", {
5197
5199
  "justify-center": n === "center",
5198
5200
  "justify-start": n === "left",
@@ -5227,7 +5229,7 @@ const zl = "av-bubble", va = "av-button", xt = "icon", kn = "button", cr = "link
5227
5229
  [o]: t === "medium",
5228
5230
  [i]: t === "large"
5229
5231
  });
5230
- case xt:
5232
+ case _t:
5231
5233
  return m({
5232
5234
  [n]: t === "small" && (r || a),
5233
5235
  [o]: t === "medium" && (r || a),
@@ -5428,7 +5430,7 @@ const zl = "av-bubble", va = "av-button", xt = "icon", kn = "button", cr = "link
5428
5430
  disabled: o,
5429
5431
  fullWidth: i,
5430
5432
  size: s,
5431
- noBorder: c,
5433
+ noBorder: l,
5432
5434
  labelRight: d,
5433
5435
  labelLeft: f,
5434
5436
  noBackground: u,
@@ -5436,7 +5438,7 @@ const zl = "av-bubble", va = "av-button", xt = "icon", kn = "button", cr = "link
5436
5438
  noTruncate: g,
5437
5439
  align: p,
5438
5440
  radius: y,
5439
- animated: b
5441
+ animated: v
5440
5442
  }) => (h || (h = "primary"), r ? m(va, t) : m(
5441
5443
  va,
5442
5444
  Fl({
@@ -5453,10 +5455,10 @@ const zl = "av-bubble", va = "av-button", xt = "icon", kn = "button", cr = "link
5453
5455
  labelRight: d,
5454
5456
  labelLeft: f,
5455
5457
  align: p,
5456
- animated: b
5458
+ animated: v
5457
5459
  }),
5458
5460
  Hl({ type: e, size: s, labelRight: d, labelLeft: f }),
5459
- Kl({ mode: a, variant: h, noBorder: c }),
5461
+ Kl({ mode: a, variant: h, noBorder: l }),
5460
5462
  Yl({ focusMode: n }),
5461
5463
  jl({ mode: a, variant: h, disabled: o }),
5462
5464
  ql({ mode: a, variant: h, disabled: o }),
@@ -5465,7 +5467,7 @@ const zl = "av-bubble", va = "av-button", xt = "icon", kn = "button", cr = "link
5465
5467
  "disabled:cursor-not-allowed disabled:opacity-50": o
5466
5468
  },
5467
5469
  m({
5468
- "transition-[width] duration-300 ease-in-out": e === xt && b
5470
+ "transition-[width] duration-300 ease-in-out": e === _t && v
5469
5471
  }),
5470
5472
  t
5471
5473
  )), Ql = (e, t, r) => {
@@ -5473,7 +5475,7 @@ const zl = "av-bubble", va = "av-button", xt = "icon", kn = "button", cr = "link
5473
5475
  !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);
5474
5476
  }, wn = U.forwardRef((e, t) => {
5475
5477
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
5476
- return /* @__PURE__ */ l(
5478
+ return /* @__PURE__ */ c(
5477
5479
  "button",
5478
5480
  {
5479
5481
  ref: t,
@@ -5492,7 +5494,7 @@ function ec() {
5492
5494
  }), []), Z(() => e.current, []);
5493
5495
  }
5494
5496
  function tc(e) {
5495
- return oe(() => e.every((t) => t == null) ? () => {
5497
+ return ie(() => e.every((t) => t == null) ? () => {
5496
5498
  } : (t) => {
5497
5499
  e.forEach((r) => {
5498
5500
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -5509,11 +5511,11 @@ const rc = {
5509
5511
  bottom: 0,
5510
5512
  right: 0
5511
5513
  };
5512
- function Ut(e) {
5513
- const t = ec(), r = S(0), a = S(null), [n, o] = W(rc), i = oe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
5514
- const c = s[0];
5515
- c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
5516
- a.current && t() && o(c.contentRect);
5514
+ function Ht(e) {
5515
+ const t = ec(), r = S(0), a = S(null), [n, o] = G(rc), i = ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
5516
+ const l = s[0];
5517
+ l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
5518
+ a.current && t() && o(l.contentRect);
5517
5519
  }));
5518
5520
  }), [t]);
5519
5521
  return M(() => (a.current && (i == null || i.observe(a.current, e)), () => {
@@ -5544,7 +5546,7 @@ const ac = {
5544
5546
  className: o,
5545
5547
  type: i = "button",
5546
5548
  raw: s = !1,
5547
- noBorder: c = !1,
5549
+ noBorder: l = !1,
5548
5550
  "aria-label": d,
5549
5551
  label: f,
5550
5552
  size: u = "medium",
@@ -5552,41 +5554,41 @@ const ac = {
5552
5554
  labelLeft: g,
5553
5555
  noBackground: p = !1,
5554
5556
  align: y = "center",
5555
- radius: b = "large",
5556
- variant: v = "primary",
5557
+ radius: v = "large",
5558
+ variant: b = "primary",
5557
5559
  iconClassName: x,
5558
5560
  animated: k = !1,
5559
- ...A
5561
+ ...R
5560
5562
  }, E) => {
5561
5563
  const C = Xl({
5562
- type: xt,
5564
+ type: _t,
5563
5565
  mode: r,
5564
5566
  focusMode: a,
5565
5567
  fullWidth: n,
5566
5568
  disabled: t,
5567
5569
  raw: s,
5568
5570
  className: o,
5569
- noBorder: c,
5571
+ noBorder: l,
5570
5572
  size: u,
5571
5573
  labelRight: h,
5572
5574
  labelLeft: g,
5573
5575
  noBackground: p,
5574
5576
  align: y,
5575
- radius: b,
5576
- variant: v,
5577
+ radius: v,
5578
+ variant: b,
5577
5579
  animated: k
5578
- }), N = Jl({ mode: r, raw: s, iconClassName: x }), _ = Zl({ animated: k }), [w, T] = Ut(), [R, B] = Ut(), [$, O] = Ut(), P = S(0), I = S(null), H = tc([E, I]);
5580
+ }), A = Jl({ mode: r, raw: s, iconClassName: x }), _ = Zl({ animated: k }), [w, I] = Ht(), [T, B] = Ht(), [$, O] = Ht(), P = S(0), N = S(null), H = tc([E, N]);
5579
5581
  return pe(() => {
5580
- $ && $.current && k && (P.current = O.width + nc[u] + (c ? 0 : oc));
5581
- }, [O, $, u, c, k]), pe(() => {
5582
- I && I.current && k && (h && w && T.width > 0 ? (w.current && (w.current.style.opacity = "100"), I.current.style.width = `${T.width + P.current}px`) : g && B.width > 0 ? (R.current && (R.current.style.opacity = "100"), I.current.style.width = `${B.width + P.current}px`) : (w.current && (w.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), I.current.style.width = `${ac[u]}px`));
5582
+ $ && $.current && k && (P.current = O.width + nc[u] + (l ? 0 : oc));
5583
+ }, [O, $, u, l, k]), pe(() => {
5584
+ N && N.current && k && (h && w && I.width > 0 ? (w.current && (w.current.style.opacity = "100"), N.current.style.width = `${I.width + P.current}px`) : g && B.width > 0 ? (T.current && (T.current.style.opacity = "100"), N.current.style.width = `${B.width + P.current}px`) : (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), N.current.style.width = `${ac[u]}px`));
5583
5585
  }, [
5584
- T,
5586
+ I,
5585
5587
  h,
5586
5588
  w,
5587
5589
  B,
5588
5590
  g,
5589
- R,
5591
+ T,
5590
5592
  u,
5591
5593
  k
5592
5594
  ]), /* @__PURE__ */ L(
@@ -5597,19 +5599,19 @@ const ac = {
5597
5599
  disabled: t,
5598
5600
  type: i,
5599
5601
  "aria-label": d || f,
5600
- ...A,
5602
+ ...R,
5601
5603
  children: [
5602
- /* @__PURE__ */ l(
5604
+ /* @__PURE__ */ c(
5603
5605
  ka,
5604
5606
  {
5605
5607
  label: g,
5606
- labelRef: R,
5608
+ labelRef: T,
5607
5609
  labelClass: _,
5608
5610
  labelInnerClass: "pr-2"
5609
5611
  }
5610
5612
  ),
5611
- /* @__PURE__ */ l("span", { ref: $, className: N, children: e }),
5612
- /* @__PURE__ */ l(
5613
+ /* @__PURE__ */ c("span", { ref: $, className: A, children: e }),
5614
+ /* @__PURE__ */ c(
5613
5615
  ka,
5614
5616
  {
5615
5617
  label: h,
@@ -5627,7 +5629,7 @@ const ac = {
5627
5629
  labelClass: t,
5628
5630
  label: r,
5629
5631
  labelInnerClass: a
5630
- }) => /* @__PURE__ */ l("span", { ref: e, className: t, children: r && /* @__PURE__ */ l("span", { className: a, children: r }) });
5632
+ }) => /* @__PURE__ */ c("span", { ref: e, className: t, children: r && /* @__PURE__ */ c("span", { className: a, children: r }) });
5631
5633
  Cr.displayName = "ButtonIcon";
5632
5634
  /*!
5633
5635
  @versini/ui-button v4.2.4
@@ -5667,7 +5669,7 @@ const ic = U.forwardRef(
5667
5669
  "after:border-table-light dark:after:border-table-dark": t === "alt-system"
5668
5670
  }
5669
5671
  ) : "";
5670
- return /* @__PURE__ */ l("div", { className: i, children: /* @__PURE__ */ l(
5672
+ return /* @__PURE__ */ c("div", { className: i, children: /* @__PURE__ */ c(
5671
5673
  Cr,
5672
5674
  {
5673
5675
  className: m("justify-center", r),
@@ -5690,11 +5692,11 @@ const xn = ({
5690
5692
  size: o,
5691
5693
  title: i,
5692
5694
  semantic: s = !1,
5693
- ...c
5695
+ ...l
5694
5696
  }) => {
5695
5697
  const d = m(o, a);
5696
5698
  return /* @__PURE__ */ L(_e, { children: [
5697
- /* @__PURE__ */ l(
5699
+ /* @__PURE__ */ c(
5698
5700
  "svg",
5699
5701
  {
5700
5702
  xmlns: "http://www.w3.org/2000/svg",
@@ -5704,11 +5706,11 @@ const xn = ({
5704
5706
  role: "img",
5705
5707
  "aria-hidden": !s,
5706
5708
  focusable: !1,
5707
- ...c,
5709
+ ...l,
5708
5710
  children: e
5709
5711
  }
5710
5712
  ),
5711
- i && s && /* @__PURE__ */ l("span", { className: "sr-only", children: i })
5713
+ i && s && /* @__PURE__ */ c("span", { className: "sr-only", children: i })
5712
5714
  ] });
5713
5715
  };
5714
5716
  /*!
@@ -5740,14 +5742,14 @@ const sc = ({
5740
5742
  title: r || "Copied",
5741
5743
  ...n,
5742
5744
  children: [
5743
- /* @__PURE__ */ l(
5745
+ /* @__PURE__ */ c(
5744
5746
  "path",
5745
5747
  {
5746
5748
  d: "M0 96v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96m104 160c0-6.1 2.3-12.3 7-17 9.4-9.4 24.6-9.4 33.9 0l47 47 111-111c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c2.3 2.3 4.1 5 5.3 7.9.6 1.5 1 2.9 1.3 4.4.2 1.1.3 2.2.3 2.2.1 1.2.1 1.2.1 2.5-.1 1.5-.1 1.9-.1 2.3-.1.7-.2 1.5-.3 2.2-.3 1.5-.7 3-1.3 4.4-1.2 2.9-2.9 5.6-5.3 7.9l-128 128c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7l-64-64c-4.7-4.7-7-10.8-7-17z",
5747
5749
  opacity: ".4"
5748
5750
  }
5749
5751
  ),
5750
- /* @__PURE__ */ l("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" })
5752
+ /* @__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" })
5751
5753
  ]
5752
5754
  }
5753
5755
  ), lc = ({
@@ -5756,7 +5758,7 @@ const sc = ({
5756
5758
  title: r,
5757
5759
  monotone: a,
5758
5760
  ...n
5759
- }) => /* @__PURE__ */ l(
5761
+ }) => /* @__PURE__ */ c(
5760
5762
  xn,
5761
5763
  {
5762
5764
  defaultViewBox: "0 0 512 512",
@@ -5765,7 +5767,7 @@ const sc = ({
5765
5767
  className: e,
5766
5768
  title: r || "Copy",
5767
5769
  ...n,
5768
- children: /* @__PURE__ */ l("path", { d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64" })
5770
+ children: /* @__PURE__ */ c("path", { d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64" })
5769
5771
  }
5770
5772
  );
5771
5773
  /*!
@@ -5835,9 +5837,9 @@ const cc = ({
5835
5837
  copyToClipboard: o,
5836
5838
  copyToClipboardFocusMode: i = "system",
5837
5839
  copyToClipboardMode: s = "system",
5838
- noMaxWidth: c = !1
5840
+ noMaxWidth: l = !1
5839
5841
  }) => {
5840
- const [d, f] = W(!1), u = fc({ kind: t, className: r, noMaxWidth: c }), h = !!o && (typeof o == "function" || typeof o == "string" || typeof e == "string"), g = () => {
5842
+ const [d, f] = G(!1), u = fc({ kind: t, className: r, noMaxWidth: l }), h = !!o && (typeof o == "function" || typeof o == "string" || typeof e == "string"), g = () => {
5841
5843
  f(!0), typeof o == "function" ? o(e) : typeof o == "string" ? navigator.clipboard.writeText(o) : typeof e == "string" && navigator.clipboard.writeText(e);
5842
5844
  };
5843
5845
  return M(() => {
@@ -5849,15 +5851,15 @@ const cc = ({
5849
5851
  };
5850
5852
  }, [d]), /* @__PURE__ */ L("div", { className: u.wrapper, children: [
5851
5853
  /* @__PURE__ */ L("div", { children: [
5852
- /* @__PURE__ */ l("div", { className: u.main, children: e }),
5853
- a && Object.keys(a).map((p, y) => a[p] ? /* @__PURE__ */ l("div", { className: "prose-p:m-0", children: /* @__PURE__ */ L("p", { className: u.footer, children: [
5854
+ /* @__PURE__ */ c("div", { className: u.main, children: e }),
5855
+ a && Object.keys(a).map((p, y) => a[p] ? /* @__PURE__ */ c("div", { className: "prose-p:m-0", children: /* @__PURE__ */ L("p", { className: u.footer, children: [
5854
5856
  p,
5855
5857
  ": ",
5856
5858
  a[p]
5857
5859
  ] }) }, `${p}-${y}`) : null),
5858
5860
  n && n
5859
5861
  ] }),
5860
- h && /* @__PURE__ */ l("div", { className: u.copyButton, children: /* @__PURE__ */ l(
5862
+ h && /* @__PURE__ */ c("div", { className: u.copyButton, children: /* @__PURE__ */ c(
5861
5863
  Cr,
5862
5864
  {
5863
5865
  noBorder: !0,
@@ -5868,11 +5870,11 @@ const cc = ({
5868
5870
  label: d ? "Copied to clipboard" : "Copy to clipboard",
5869
5871
  onClick: g,
5870
5872
  disabled: d,
5871
- children: d ? /* @__PURE__ */ l(sc, { size: "size-3" }) : /* @__PURE__ */ l(lc, { size: "size-3" })
5873
+ children: d ? /* @__PURE__ */ c(sc, { size: "size-3" }) : /* @__PURE__ */ c(lc, { size: "size-3" })
5872
5874
  }
5873
5875
  ) })
5874
5876
  ] });
5875
- }, wa = "av-button", _t = "icon", Nr = "button", dr = "link", gc = ({
5877
+ }, wa = "av-button", Et = "icon", Nr = "button", dr = "link", gc = ({
5876
5878
  type: e,
5877
5879
  size: t,
5878
5880
  labelRight: r,
@@ -5880,16 +5882,16 @@ const cc = ({
5880
5882
  align: n,
5881
5883
  animated: o
5882
5884
  }) => {
5883
- const i = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
5885
+ const i = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", l = "max-h-12 py-2 px-4";
5884
5886
  switch (e) {
5885
5887
  case Nr:
5886
5888
  case dr:
5887
5889
  return m({
5888
5890
  [i]: t === "small",
5889
5891
  [s]: t === "medium",
5890
- [c]: t === "large"
5892
+ [l]: t === "large"
5891
5893
  });
5892
- case _t:
5894
+ case Et:
5893
5895
  return m("flex items-center", {
5894
5896
  "justify-center": n === "center",
5895
5897
  "justify-start": n === "left",
@@ -5924,7 +5926,7 @@ const cc = ({
5924
5926
  [o]: t === "medium",
5925
5927
  [i]: t === "large"
5926
5928
  });
5927
- case _t:
5929
+ case Et:
5928
5930
  return m({
5929
5931
  [n]: t === "small" && (r || a),
5930
5932
  [o]: t === "medium" && (r || a),
@@ -6125,7 +6127,7 @@ const cc = ({
6125
6127
  disabled: o,
6126
6128
  fullWidth: i,
6127
6129
  size: s,
6128
- noBorder: c,
6130
+ noBorder: l,
6129
6131
  labelRight: d,
6130
6132
  labelLeft: f,
6131
6133
  noBackground: u,
@@ -6133,7 +6135,7 @@ const cc = ({
6133
6135
  noTruncate: g,
6134
6136
  align: p,
6135
6137
  radius: y,
6136
- animated: b
6138
+ animated: v
6137
6139
  }) => (h || (h = "primary"), r ? m(wa, t) : m(
6138
6140
  wa,
6139
6141
  yc({
@@ -6150,10 +6152,10 @@ const cc = ({
6150
6152
  labelRight: d,
6151
6153
  labelLeft: f,
6152
6154
  align: p,
6153
- animated: b
6155
+ animated: v
6154
6156
  }),
6155
6157
  pc({ type: e, size: s, labelRight: d, labelLeft: f }),
6156
- xc({ mode: a, variant: h, noBorder: c }),
6158
+ xc({ mode: a, variant: h, noBorder: l }),
6157
6159
  _c({ focusMode: n }),
6158
6160
  kc({ mode: a, variant: h, disabled: o }),
6159
6161
  wc({ mode: a, variant: h, disabled: o }),
@@ -6162,7 +6164,7 @@ const cc = ({
6162
6164
  "disabled:cursor-not-allowed disabled:opacity-50": o
6163
6165
  },
6164
6166
  m({
6165
- "transition-[width] duration-300 ease-in-out": e === _t && b
6167
+ "transition-[width] duration-300 ease-in-out": e === Et && v
6166
6168
  }),
6167
6169
  t
6168
6170
  )), Sc = (e, t, r) => {
@@ -6170,7 +6172,7 @@ const cc = ({
6170
6172
  !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);
6171
6173
  }, Rr = U.forwardRef((e, t) => {
6172
6174
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
6173
- return /* @__PURE__ */ l(
6175
+ return /* @__PURE__ */ c(
6174
6176
  "button",
6175
6177
  {
6176
6178
  ref: t,
@@ -6192,7 +6194,7 @@ const En = U.forwardRef(
6192
6194
  className: o,
6193
6195
  size: i = "medium",
6194
6196
  raw: s = !1,
6195
- noBorder: c = !1,
6197
+ noBorder: l = !1,
6196
6198
  variant: d = "primary",
6197
6199
  noTruncate: f = !1,
6198
6200
  radius: u = "large",
@@ -6207,12 +6209,12 @@ const En = U.forwardRef(
6207
6209
  raw: s,
6208
6210
  className: o,
6209
6211
  size: i,
6210
- noBorder: c,
6212
+ noBorder: l,
6211
6213
  variant: d,
6212
6214
  noTruncate: f,
6213
6215
  radius: u
6214
6216
  });
6215
- return /* @__PURE__ */ l(
6217
+ return /* @__PURE__ */ c(
6216
6218
  Rr,
6217
6219
  {
6218
6220
  ref: g,
@@ -6232,7 +6234,7 @@ function Cc() {
6232
6234
  }), []), Z(() => e.current, []);
6233
6235
  }
6234
6236
  function Nc(e) {
6235
- return oe(() => e.every((t) => t == null) ? () => {
6237
+ return ie(() => e.every((t) => t == null) ? () => {
6236
6238
  } : (t) => {
6237
6239
  e.forEach((r) => {
6238
6240
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -6249,11 +6251,11 @@ const Rc = {
6249
6251
  bottom: 0,
6250
6252
  right: 0
6251
6253
  };
6252
- function Ht(e) {
6253
- const t = Cc(), r = S(0), a = S(null), [n, o] = W(Rc), i = oe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
6254
- const c = s[0];
6255
- c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6256
- a.current && t() && o(c.contentRect);
6254
+ function Ft(e) {
6255
+ const t = Cc(), r = S(0), a = S(null), [n, o] = G(Rc), i = ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
6256
+ const l = s[0];
6257
+ l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6258
+ a.current && t() && o(l.contentRect);
6257
6259
  }));
6258
6260
  }), [t]);
6259
6261
  return M(() => (a.current && (i == null || i.observe(a.current, e)), () => {
@@ -6284,7 +6286,7 @@ const Ic = {
6284
6286
  className: o,
6285
6287
  type: i = "button",
6286
6288
  raw: s = !1,
6287
- noBorder: c = !1,
6289
+ noBorder: l = !1,
6288
6290
  "aria-label": d,
6289
6291
  label: f,
6290
6292
  size: u = "medium",
@@ -6292,41 +6294,41 @@ const Ic = {
6292
6294
  labelLeft: g,
6293
6295
  noBackground: p = !1,
6294
6296
  align: y = "center",
6295
- radius: b = "large",
6296
- variant: v = "primary",
6297
+ radius: v = "large",
6298
+ variant: b = "primary",
6297
6299
  iconClassName: x,
6298
6300
  animated: k = !1,
6299
- ...A
6301
+ ...R
6300
6302
  }, E) => {
6301
6303
  const C = _n({
6302
- type: _t,
6304
+ type: Et,
6303
6305
  mode: r,
6304
6306
  focusMode: a,
6305
6307
  fullWidth: n,
6306
6308
  disabled: t,
6307
6309
  raw: s,
6308
6310
  className: o,
6309
- noBorder: c,
6311
+ noBorder: l,
6310
6312
  size: u,
6311
6313
  labelRight: h,
6312
6314
  labelLeft: g,
6313
6315
  noBackground: p,
6314
6316
  align: y,
6315
- radius: b,
6316
- variant: v,
6317
+ radius: v,
6318
+ variant: b,
6317
6319
  animated: k
6318
- }), N = Ec({ mode: r, raw: s, iconClassName: x }), _ = Tc({ animated: k }), [w, T] = Ht(), [R, B] = Ht(), [$, O] = Ht(), P = S(0), I = S(null), H = Nc([E, I]);
6320
+ }), A = Ec({ mode: r, raw: s, iconClassName: x }), _ = Tc({ animated: k }), [w, I] = Ft(), [T, B] = Ft(), [$, O] = Ft(), P = S(0), N = S(null), H = Nc([E, N]);
6319
6321
  return pe(() => {
6320
- $ && $.current && k && (P.current = O.width + Ac[u] + (c ? 0 : $c));
6321
- }, [O, $, u, c, k]), pe(() => {
6322
- I && I.current && k && (h && w && T.width > 0 ? (w.current && (w.current.style.opacity = "100"), I.current.style.width = `${T.width + P.current}px`) : g && B.width > 0 ? (R.current && (R.current.style.opacity = "100"), I.current.style.width = `${B.width + P.current}px`) : (w.current && (w.current.style.opacity = "0"), R.current && (R.current.style.opacity = "0"), I.current.style.width = `${Ic[u]}px`));
6322
+ $ && $.current && k && (P.current = O.width + Ac[u] + (l ? 0 : $c));
6323
+ }, [O, $, u, l, k]), pe(() => {
6324
+ N && N.current && k && (h && w && I.width > 0 ? (w.current && (w.current.style.opacity = "100"), N.current.style.width = `${I.width + P.current}px`) : g && B.width > 0 ? (T.current && (T.current.style.opacity = "100"), N.current.style.width = `${B.width + P.current}px`) : (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), N.current.style.width = `${Ic[u]}px`));
6323
6325
  }, [
6324
- T,
6326
+ I,
6325
6327
  h,
6326
6328
  w,
6327
6329
  B,
6328
6330
  g,
6329
- R,
6331
+ T,
6330
6332
  u,
6331
6333
  k
6332
6334
  ]), /* @__PURE__ */ L(
@@ -6337,19 +6339,19 @@ const Ic = {
6337
6339
  disabled: t,
6338
6340
  type: i,
6339
6341
  "aria-label": d || f,
6340
- ...A,
6342
+ ...R,
6341
6343
  children: [
6342
- /* @__PURE__ */ l(
6344
+ /* @__PURE__ */ c(
6343
6345
  xa,
6344
6346
  {
6345
6347
  label: g,
6346
- labelRef: R,
6348
+ labelRef: T,
6347
6349
  labelClass: _,
6348
6350
  labelInnerClass: "pr-2"
6349
6351
  }
6350
6352
  ),
6351
- /* @__PURE__ */ l("span", { ref: $, className: N, children: e }),
6352
- /* @__PURE__ */ l(
6353
+ /* @__PURE__ */ c("span", { ref: $, className: A, children: e }),
6354
+ /* @__PURE__ */ c(
6353
6355
  xa,
6354
6356
  {
6355
6357
  label: h,
@@ -6367,7 +6369,7 @@ const Ic = {
6367
6369
  labelClass: t,
6368
6370
  label: r,
6369
6371
  labelInnerClass: a
6370
- }) => /* @__PURE__ */ l("span", { ref: e, className: t, children: r && /* @__PURE__ */ l("span", { className: a, children: r }) });
6372
+ }) => /* @__PURE__ */ c("span", { ref: e, className: t, children: r && /* @__PURE__ */ c("span", { className: a, children: r }) });
6371
6373
  Tn.displayName = "ButtonIcon";
6372
6374
  /*!
6373
6375
  @versini/ui-button v4.2.4
@@ -6407,7 +6409,7 @@ const Lc = U.forwardRef(
6407
6409
  "after:border-table-light dark:after:border-table-dark": t === "alt-system"
6408
6410
  }
6409
6411
  ) : "";
6410
- return /* @__PURE__ */ l("div", { className: i, children: /* @__PURE__ */ l(
6412
+ return /* @__PURE__ */ c("div", { className: i, children: /* @__PURE__ */ c(
6411
6413
  Tn,
6412
6414
  {
6413
6415
  className: m("justify-center", r),
@@ -6440,7 +6442,7 @@ const Oc = 200, Bc = ({
6440
6442
  mode: r = "system",
6441
6443
  focusMode: a = "system"
6442
6444
  }) => {
6443
- const [n, o] = W(!1);
6445
+ const [n, o] = G(!1);
6444
6446
  if (typeof e != "string")
6445
6447
  return e;
6446
6448
  const { string: i, isTruncated: s } = Bc({
@@ -6449,15 +6451,15 @@ const Oc = 200, Bc = ({
6449
6451
  });
6450
6452
  return /* @__PURE__ */ L("span", { style: { wordBreak: "break-word" }, children: [
6451
6453
  n ? e : i,
6452
- s && /* @__PURE__ */ l(
6454
+ s && /* @__PURE__ */ c(
6453
6455
  En,
6454
6456
  {
6455
6457
  mode: r,
6456
6458
  focusMode: a,
6457
6459
  className: "ml-2",
6458
6460
  size: "small",
6459
- onClick: (c) => {
6460
- c.preventDefault(), o(!n);
6461
+ onClick: (l) => {
6462
+ l.preventDefault(), o(!n);
6461
6463
  },
6462
6464
  children: n ? "less..." : "more..."
6463
6465
  }
@@ -6477,19 +6479,19 @@ try {
6477
6479
  });
6478
6480
  } catch {
6479
6481
  }
6480
- const Dc = ({ content: e }) => /* @__PURE__ */ l(
6482
+ const Dc = ({ content: e }) => /* @__PURE__ */ c(
6481
6483
  hc,
6482
6484
  {
6483
6485
  kind: "right",
6484
6486
  copyToClipboard: e,
6485
6487
  copyToClipboardFocusMode: "light",
6486
6488
  className: "mt-3",
6487
- children: /* @__PURE__ */ l(Mc, { mode: "light", focusMode: "light", children: e })
6489
+ children: /* @__PURE__ */ c(Mc, { mode: "light", focusMode: "light", children: e })
6488
6490
  }
6489
6491
  ), _a = Ra(
6490
6492
  () => import(
6491
6493
  /* webpackChunkName: "LazyMessageAssistant" */
6492
- "./ChatBubbleAssistant.dbLXBq32.js"
6494
+ "./ChatBubbleAssistant.CdEM0sYe.js"
6493
6495
  ).then((e) => e.ChatBubbleAssistant)
6494
6496
  ), Ea = U.memo(
6495
6497
  ({
@@ -6499,7 +6501,7 @@ const Dc = ({ content: e }) => /* @__PURE__ */ l(
6499
6501
  processingTime: a,
6500
6502
  usage: n,
6501
6503
  loading: o = !1
6502
- }) => (e === Fe || e === at) && t ? /* @__PURE__ */ l(Gt, { fallback: /* @__PURE__ */ l("span", {}), children: /* @__PURE__ */ l(
6504
+ }) => (e === Fe || e === nt) && t ? /* @__PURE__ */ c(Gt, { fallback: /* @__PURE__ */ c("span", {}), children: /* @__PURE__ */ c(
6503
6505
  _a,
6504
6506
  {
6505
6507
  name: r,
@@ -6507,46 +6509,48 @@ const Dc = ({ content: e }) => /* @__PURE__ */ l(
6507
6509
  usage: n,
6508
6510
  content: t
6509
6511
  }
6510
- ) }) : e === Ca && t ? /* @__PURE__ */ l(Dc, { content: t }) : o ? /* @__PURE__ */ l(Gt, { fallback: /* @__PURE__ */ l("span", {}), children: /* @__PURE__ */ l(_a, { loading: !0 }) }) : null
6512
+ ) }) : e === Ca && t ? /* @__PURE__ */ c(Dc, { content: t }) : o ? /* @__PURE__ */ c(Gt, { fallback: /* @__PURE__ */ c("span", {}), children: /* @__PURE__ */ c(_a, { loading: !0 }) }) : null
6511
6513
  ), Pc = () => {
6512
6514
  var r;
6513
6515
  const {
6514
6516
  state: { messages: e, loading: t }
6515
- } = G(ie);
6516
- return /* @__PURE__ */ l("div", { className: "space-y-6 mt-2 @container", children: /* @__PURE__ */ L("div", { children: [
6517
+ } = W(ae);
6518
+ return e && e.length > 0 ? /* @__PURE__ */ L("div", { className: "space-y-6 mt-2 @container", children: [
6517
6519
  e && e.length > 0 && e.map((a, n) => {
6518
- const { role: o, content: i, messageId: s, name: c, processingTime: d, usage: f } = a, u = s ? `${s}-${o}` : `${n}-${o}`;
6519
- return /* @__PURE__ */ l(
6520
+ const { role: o, content: i, messageId: s, name: l, processingTime: d, usage: f } = a, u = s ? `${s}-${o}` : `${n}-${o}`;
6521
+ return /* @__PURE__ */ c(
6520
6522
  Ea,
6521
6523
  {
6522
6524
  role: o,
6523
6525
  content: i,
6524
- name: c,
6526
+ name: l,
6525
6527
  processingTime: d,
6526
6528
  usage: f
6527
6529
  },
6528
6530
  u
6529
6531
  );
6530
6532
  }),
6531
- ((r = e == null ? void 0 : e.at(-1)) == null ? void 0 : r.role) === "user" && /* @__PURE__ */ l(Ea, { loading: t })
6532
- ] }) });
6533
+ ((r = e == null ? void 0 : e.at(-1)) == null ? void 0 : r.role) === "user" && /* @__PURE__ */ c(Ea, { loading: t })
6534
+ ] }) : null;
6533
6535
  }, Vc = () => {
6534
- const { isAuthenticated: e } = Le(), { ref: t, inViewport: r } = wo(), a = Un({
6536
+ const { isAuthenticated: e } = Le(), { ref: t, inViewport: r } = wo(), {
6537
+ state: { usage: a }
6538
+ } = W(ae), n = Un({
6535
6539
  isAuthenticated: e,
6536
6540
  extraClass: "rounded-b-md"
6537
6541
  });
6538
6542
  return /* @__PURE__ */ L(_e, { children: [
6539
- /* @__PURE__ */ L("div", { className: a, children: [
6540
- /* @__PURE__ */ l(Hn, {}),
6541
- /* @__PURE__ */ l(Pc, {}),
6542
- /* @__PURE__ */ l("div", { ref: t })
6543
+ /* @__PURE__ */ L("div", { className: n, children: [
6544
+ /* @__PURE__ */ c(Hn, {}),
6545
+ /* @__PURE__ */ c(Pc, {}),
6546
+ /* @__PURE__ */ c("div", { ref: t })
6543
6547
  ] }),
6544
- /* @__PURE__ */ l(Rl, { show: !r })
6548
+ /* @__PURE__ */ c(Rl, { show: !r && a > 0 })
6545
6549
  ] });
6546
6550
  }, zc = Ra(
6547
6551
  () => import(
6548
6552
  /* webpackChunkName: "LazyHeader" */
6549
- "./HeaderEntry.D0eWiSSF.js"
6553
+ "./HeaderEntry.B9Nkz9EK.js"
6550
6554
  )
6551
6555
  );
6552
6556
  function Sn({ isComponent: e = !1 }) {
@@ -6556,14 +6560,14 @@ function Sn({ isComponent: e = !1 }) {
6556
6560
  }), [n] = jt({
6557
6561
  key: Wt + Gn,
6558
6562
  initialValue: Ue.ASC
6559
- }), [o, i] = Nt(di, {
6563
+ }), [o, i] = Rt(di, {
6560
6564
  searchString: a,
6561
6565
  sortedCell: "timestamp",
6562
6566
  sortDirection: n
6563
- }), [s, c] = Nt(ui, {
6567
+ }), [s, l] = Rt(ui, {
6564
6568
  prompt: "",
6565
6569
  lastTriggeredTimestamp: 0
6566
- }), [d, f] = Nt(Qi, {
6570
+ }), [d, f] = Rt(Qi, {
6567
6571
  id: gr(),
6568
6572
  model: "",
6569
6573
  provider: "",
@@ -6598,26 +6602,26 @@ function Sn({ isComponent: e = !1 }) {
6598
6602
  u && f({
6599
6603
  type: Me,
6600
6604
  payload: {
6601
- provider: u.provider || ot
6605
+ provider: u.provider || it
6602
6606
  }
6603
6607
  });
6604
- }, [u]), /* @__PURE__ */ l(
6608
+ }, [u]), /* @__PURE__ */ c(
6605
6609
  rs.Provider,
6606
6610
  {
6607
6611
  value: {
6608
6612
  state: o,
6609
6613
  dispatch: i
6610
6614
  },
6611
- children: /* @__PURE__ */ l(
6612
- pt.Provider,
6615
+ children: /* @__PURE__ */ c(
6616
+ yt.Provider,
6613
6617
  {
6614
- value: { state: s, dispatch: c },
6618
+ value: { state: s, dispatch: l },
6615
6619
  children: /* @__PURE__ */ L(
6616
- ie.Provider,
6620
+ ae.Provider,
6617
6621
  {
6618
6622
  value: { state: d, dispatch: f },
6619
6623
  children: [
6620
- /* @__PURE__ */ l(
6624
+ /* @__PURE__ */ c(
6621
6625
  go,
6622
6626
  {
6623
6627
  noColors: !0,
@@ -6627,10 +6631,10 @@ function Sn({ isComponent: e = !1 }) {
6627
6631
  className: Fr({
6628
6632
  extraClass: "mt-5"
6629
6633
  }),
6630
- children: /* @__PURE__ */ l(Gt, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(zc, { isComponent: e }) })
6634
+ children: /* @__PURE__ */ c(Gt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(zc, { isComponent: e }) })
6631
6635
  }
6632
6636
  ),
6633
- /* @__PURE__ */ l(
6637
+ /* @__PURE__ */ c(
6634
6638
  Fn,
6635
6639
  {
6636
6640
  className: Fr({
@@ -6638,10 +6642,10 @@ function Sn({ isComponent: e = !1 }) {
6638
6642
  }),
6639
6643
  noMargin: !0,
6640
6644
  noPadding: !0,
6641
- children: /* @__PURE__ */ l(Vc, {})
6645
+ children: /* @__PURE__ */ c(Vc, {})
6642
6646
  }
6643
6647
  ),
6644
- /* @__PURE__ */ l(Vl, { isComponent: e })
6648
+ /* @__PURE__ */ c(Vl, { isComponent: e })
6645
6649
  ]
6646
6650
  }
6647
6651
  )
@@ -6657,7 +6661,7 @@ export {
6657
6661
  rd as App,
6658
6662
  Ue as B,
6659
6663
  Xi as CHAT_RESTORE,
6660
- ie as ChatContext,
6664
+ ae as ChatContext,
6661
6665
  El as ConfirmationPanel,
6662
6666
  Zc as De,
6663
6667
  jt as E,
@@ -6665,7 +6669,7 @@ export {
6665
6669
  rs as HistoryContext,
6666
6670
  oi as Le,
6667
6671
  td as P,
6668
- ct as R,
6672
+ dt as R,
6669
6673
  hc as Re,
6670
6674
  Be as SERVICE_TYPES,
6671
6675
  jc as Ue,