@alquimia-ai/ui 2.0.0 → 2.2.1

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.
Files changed (49) hide show
  1. package/dist/{alert-dialog-CP71C4vl.d.mts → alert-dialog-HrXEPlTh.d.mts} +1 -1
  2. package/dist/{alert-dialog-CP71C4vl.d.ts → alert-dialog-HrXEPlTh.d.ts} +1 -1
  3. package/dist/components/atoms/index.d.mts +48 -3
  4. package/dist/components/atoms/index.d.ts +48 -3
  5. package/dist/components/atoms/index.js +239 -0
  6. package/dist/components/atoms/index.js.map +1 -1
  7. package/dist/components/atoms/index.mjs +207 -1
  8. package/dist/components/atoms/index.mjs.map +1 -1
  9. package/dist/components/genui/index.d.mts +79 -0
  10. package/dist/components/genui/index.d.ts +79 -0
  11. package/dist/components/genui/index.js +4693 -0
  12. package/dist/components/genui/index.js.map +1 -0
  13. package/dist/components/genui/index.mjs +4622 -0
  14. package/dist/components/genui/index.mjs.map +1 -0
  15. package/dist/components/hooks/index.d.mts +1 -1
  16. package/dist/components/hooks/index.d.ts +1 -1
  17. package/dist/components/molecules/documents/index.js +283 -58
  18. package/dist/components/molecules/documents/index.js.map +1 -1
  19. package/dist/components/molecules/documents/index.mjs +281 -58
  20. package/dist/components/molecules/documents/index.mjs.map +1 -1
  21. package/dist/components/molecules/index.d.mts +2 -2
  22. package/dist/components/molecules/index.d.ts +2 -2
  23. package/dist/components/molecules/index.js +335 -156
  24. package/dist/components/molecules/index.js.map +1 -1
  25. package/dist/components/molecules/index.mjs +331 -152
  26. package/dist/components/molecules/index.mjs.map +1 -1
  27. package/dist/components/molecules/viewers/index.js +182 -3
  28. package/dist/components/molecules/viewers/index.js.map +1 -1
  29. package/dist/components/molecules/viewers/index.mjs +182 -3
  30. package/dist/components/molecules/viewers/index.mjs.map +1 -1
  31. package/dist/components/organisms/index.d.mts +15 -2
  32. package/dist/components/organisms/index.d.ts +15 -2
  33. package/dist/components/organisms/index.js +434 -247
  34. package/dist/components/organisms/index.js.map +1 -1
  35. package/dist/components/organisms/index.mjs +431 -244
  36. package/dist/components/organisms/index.mjs.map +1 -1
  37. package/dist/components/templates/index.js +210 -31
  38. package/dist/components/templates/index.js.map +1 -1
  39. package/dist/components/templates/index.mjs +210 -31
  40. package/dist/components/templates/index.mjs.map +1 -1
  41. package/dist/index.d.mts +7 -3
  42. package/dist/index.d.ts +7 -3
  43. package/dist/index.js +554 -307
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +524 -310
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/{toast-2xT7L1tJ.d.mts → toast-DEc6eGUE.d.mts} +1 -1
  48. package/dist/{toast-2xT7L1tJ.d.ts → toast-DEc6eGUE.d.ts} +1 -1
  49. package/package.json +22 -3
package/dist/index.mjs CHANGED
@@ -1912,51 +1912,257 @@ var ThinkIndicator = React25.forwardRef(function(_param, ref) {
1912
1912
  }));
1913
1913
  });
1914
1914
  ThinkIndicator.displayName = "ThinkIndicator";
1915
+ // src/components/atoms/ui/accordion.tsx
1916
+ import * as React26 from "react";
1917
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
1918
+ import { ChevronDown as ChevronDown2 } from "lucide-react";
1919
+ import { jsx as jsx31, jsxs as jsxs11 } from "react/jsx-runtime";
1920
+ var Accordion = AccordionPrimitive.Root;
1921
+ var AccordionItem = React26.forwardRef(function(_param, ref) {
1922
+ var className = _param.className, props = _object_without_properties(_param, [
1923
+ "className"
1924
+ ]);
1925
+ return /* @__PURE__ */ jsx31(AccordionPrimitive.Item, _object_spread({
1926
+ ref: ref,
1927
+ className: cn("border-b", className)
1928
+ }, props));
1929
+ });
1930
+ AccordionItem.displayName = "AccordionItem";
1931
+ var AccordionTrigger = React26.forwardRef(function(_param, ref) {
1932
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
1933
+ "className",
1934
+ "children"
1935
+ ]);
1936
+ return /* @__PURE__ */ jsx31(AccordionPrimitive.Header, {
1937
+ className: "flex",
1938
+ children: /* @__PURE__ */ jsxs11(AccordionPrimitive.Trigger, _object_spread_props(_object_spread({
1939
+ ref: ref,
1940
+ className: cn("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", className)
1941
+ }, props), {
1942
+ children: [
1943
+ children,
1944
+ /* @__PURE__ */ jsx31(ChevronDown2, {
1945
+ className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"
1946
+ })
1947
+ ]
1948
+ }))
1949
+ });
1950
+ });
1951
+ AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
1952
+ var AccordionContent = React26.forwardRef(function(_param, ref) {
1953
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
1954
+ "className",
1955
+ "children"
1956
+ ]);
1957
+ return /* @__PURE__ */ jsx31(AccordionPrimitive.Content, _object_spread_props(_object_spread({
1958
+ ref: ref,
1959
+ className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
1960
+ }, props), {
1961
+ children: /* @__PURE__ */ jsx31("div", {
1962
+ className: cn("pb-4 pt-0", className),
1963
+ children: children
1964
+ })
1965
+ }));
1966
+ });
1967
+ AccordionContent.displayName = AccordionPrimitive.Content.displayName;
1968
+ // src/components/atoms/ui/radio-group.tsx
1969
+ import * as React27 from "react";
1970
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
1971
+ import { Circle } from "lucide-react";
1972
+ import { jsx as jsx32 } from "react/jsx-runtime";
1973
+ var RadioGroup = React27.forwardRef(function(_param, ref) {
1974
+ var className = _param.className, props = _object_without_properties(_param, [
1975
+ "className"
1976
+ ]);
1977
+ return /* @__PURE__ */ jsx32(RadioGroupPrimitive.Root, _object_spread({
1978
+ ref: ref,
1979
+ className: cn("grid gap-2", className)
1980
+ }, props));
1981
+ });
1982
+ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
1983
+ var RadioGroupItem = React27.forwardRef(function(_param, ref) {
1984
+ var className = _param.className, props = _object_without_properties(_param, [
1985
+ "className"
1986
+ ]);
1987
+ return /* @__PURE__ */ jsx32(RadioGroupPrimitive.Item, _object_spread_props(_object_spread({
1988
+ ref: ref,
1989
+ className: cn("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className)
1990
+ }, props), {
1991
+ children: /* @__PURE__ */ jsx32(RadioGroupPrimitive.Indicator, {
1992
+ className: "flex items-center justify-center",
1993
+ children: /* @__PURE__ */ jsx32(Circle, {
1994
+ className: "h-2.5 w-2.5 fill-current text-current"
1995
+ })
1996
+ })
1997
+ }));
1998
+ });
1999
+ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
2000
+ // src/components/atoms/ui/progress.tsx
2001
+ import * as React28 from "react";
2002
+ import * as ProgressPrimitive from "@radix-ui/react-progress";
2003
+ import { jsx as jsx33 } from "react/jsx-runtime";
2004
+ var Progress = React28.forwardRef(function(_param, ref) {
2005
+ var className = _param.className, value = _param.value, props = _object_without_properties(_param, [
2006
+ "className",
2007
+ "value"
2008
+ ]);
2009
+ return /* @__PURE__ */ jsx33(ProgressPrimitive.Root, _object_spread_props(_object_spread({
2010
+ ref: ref,
2011
+ className: cn("relative h-2 w-full overflow-hidden rounded-full bg-muted", className)
2012
+ }, props), {
2013
+ children: /* @__PURE__ */ jsx33(ProgressPrimitive.Indicator, {
2014
+ className: "h-full w-full flex-1 bg-primary transition-all",
2015
+ style: {
2016
+ transform: "translateX(-".concat(100 - (value || 0), "%)")
2017
+ }
2018
+ })
2019
+ }));
2020
+ });
2021
+ Progress.displayName = ProgressPrimitive.Root.displayName;
2022
+ // src/components/atoms/ui/calendar.tsx
2023
+ import { ChevronLeft, ChevronRight as ChevronRight2 } from "lucide-react";
2024
+ import { DayPicker } from "react-day-picker";
2025
+ import { jsx as jsx34 } from "react/jsx-runtime";
2026
+ function Calendar(_param) {
2027
+ var className = _param.className, classNames = _param.classNames, _param_showOutsideDays = _param.showOutsideDays, showOutsideDays = _param_showOutsideDays === void 0 ? true : _param_showOutsideDays, props = _object_without_properties(_param, [
2028
+ "className",
2029
+ "classNames",
2030
+ "showOutsideDays"
2031
+ ]);
2032
+ return /* @__PURE__ */ jsx34(DayPicker, _object_spread({
2033
+ showOutsideDays: showOutsideDays,
2034
+ className: cn("p-3", className),
2035
+ classNames: _object_spread({
2036
+ months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
2037
+ month: "space-y-4",
2038
+ caption: "flex justify-center pt-1 relative items-center",
2039
+ caption_label: "text-sm font-medium",
2040
+ nav: "space-x-1 flex items-center",
2041
+ nav_button: cn(buttonVariants({
2042
+ variant: "outline"
2043
+ }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),
2044
+ nav_button_previous: "absolute left-1",
2045
+ nav_button_next: "absolute right-1",
2046
+ table: "w-full border-collapse space-y-1",
2047
+ head_row: "flex",
2048
+ head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
2049
+ row: "flex w-full mt-2",
2050
+ cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
2051
+ day: cn(buttonVariants({
2052
+ variant: "ghost"
2053
+ }), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
2054
+ day_range_end: "day-range-end",
2055
+ day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
2056
+ day_today: "bg-accent text-accent-foreground",
2057
+ day_outside: "day-outside text-muted-foreground opacity-50",
2058
+ day_disabled: "text-muted-foreground opacity-50",
2059
+ day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
2060
+ day_hidden: "invisible"
2061
+ }, classNames),
2062
+ components: {
2063
+ IconLeft: function() {
2064
+ return /* @__PURE__ */ jsx34(ChevronLeft, {
2065
+ className: "h-4 w-4"
2066
+ });
2067
+ },
2068
+ IconRight: function() {
2069
+ return /* @__PURE__ */ jsx34(ChevronRight2, {
2070
+ className: "h-4 w-4"
2071
+ });
2072
+ }
2073
+ }
2074
+ }, props));
2075
+ }
2076
+ Calendar.displayName = "Calendar";
2077
+ // src/components/atoms/ui/chart.tsx
2078
+ import { ResponsiveContainer, CartesianGrid, XAxis, YAxis, Tooltip, Legend } from "recharts";
2079
+ import { Fragment, jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
2080
+ var CHART_PALETTE = [
2081
+ "hsl(var(--chart-1))",
2082
+ "hsl(var(--chart-2))",
2083
+ "hsl(var(--chart-3))",
2084
+ "hsl(var(--chart-4))",
2085
+ "hsl(var(--chart-5))"
2086
+ ];
2087
+ function Chart(param) {
2088
+ var className = param.className, _param_height = param.height, height = _param_height === void 0 ? 300 : _param_height, children = param.children;
2089
+ return /* @__PURE__ */ jsx35("div", {
2090
+ className: cn("w-full", className),
2091
+ style: {
2092
+ height: height
2093
+ },
2094
+ children: /* @__PURE__ */ jsx35(ResponsiveContainer, {
2095
+ width: "100%",
2096
+ height: "100%",
2097
+ children: children
2098
+ })
2099
+ });
2100
+ }
2101
+ Chart.displayName = "Chart";
2102
+ function themedChartAxes(x) {
2103
+ return /* @__PURE__ */ jsxs12(Fragment, {
2104
+ children: [
2105
+ /* @__PURE__ */ jsx35(CartesianGrid, {
2106
+ strokeDasharray: "3 3",
2107
+ className: "stroke-border"
2108
+ }),
2109
+ /* @__PURE__ */ jsx35(XAxis, {
2110
+ dataKey: x,
2111
+ className: "text-xs"
2112
+ }),
2113
+ /* @__PURE__ */ jsx35(YAxis, {
2114
+ className: "text-xs"
2115
+ }),
2116
+ /* @__PURE__ */ jsx35(Tooltip, {}),
2117
+ /* @__PURE__ */ jsx35(Legend, {})
2118
+ ]
2119
+ });
2120
+ }
1915
2121
  // src/components/templates/messages-window.tsx
1916
- import { forwardRef as forwardRef27 } from "react";
1917
- import { jsx as jsx31 } from "react/jsx-runtime";
1918
- var MessagesWindow = forwardRef27(function(_param, ref) {
2122
+ import { forwardRef as forwardRef30 } from "react";
2123
+ import { jsx as jsx36 } from "react/jsx-runtime";
2124
+ var MessagesWindow = forwardRef30(function(_param, ref) {
1919
2125
  var className = _param.className, props = _object_without_properties(_param, [
1920
2126
  "className"
1921
2127
  ]);
1922
- return /* @__PURE__ */ jsx31("div", _object_spread({
2128
+ return /* @__PURE__ */ jsx36("div", _object_spread({
1923
2129
  className: cn(className, "alq--messages--window")
1924
2130
  }, props));
1925
2131
  });
1926
2132
  MessagesWindow.displayName = "MessagesWindow";
1927
2133
  // src/components/templates/query-box.tsx
1928
- import { forwardRef as forwardRef28 } from "react";
1929
- import { jsx as jsx32 } from "react/jsx-runtime";
1930
- var QueryBox = forwardRef28(function(_param, ref) {
2134
+ import { forwardRef as forwardRef31 } from "react";
2135
+ import { jsx as jsx37 } from "react/jsx-runtime";
2136
+ var QueryBox = forwardRef31(function(_param, ref) {
1931
2137
  var className = _param.className, props = _object_without_properties(_param, [
1932
2138
  "className"
1933
2139
  ]);
1934
- return /* @__PURE__ */ jsx32("div", _object_spread({
2140
+ return /* @__PURE__ */ jsx37("div", _object_spread({
1935
2141
  className: cn(className, "alq--querybox")
1936
2142
  }, props));
1937
2143
  });
1938
2144
  QueryBox.displayName = "QueryBox";
1939
2145
  // src/components/templates/hero/index.tsx
1940
- import { forwardRef as forwardRef29 } from "react";
1941
- import { jsx as jsx33 } from "react/jsx-runtime";
1942
- var Hero = forwardRef29(function(_param, ref) {
2146
+ import { forwardRef as forwardRef32 } from "react";
2147
+ import { jsx as jsx38 } from "react/jsx-runtime";
2148
+ var Hero = forwardRef32(function(_param, ref) {
1943
2149
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
1944
2150
  "className",
1945
2151
  "children"
1946
2152
  ]);
1947
- return /* @__PURE__ */ jsx33("div", _object_spread_props(_object_spread({
2153
+ return /* @__PURE__ */ jsx38("div", _object_spread_props(_object_spread({
1948
2154
  ref: ref,
1949
2155
  className: cn("alq--hero-container", "grid", className)
1950
2156
  }, props), {
1951
2157
  children: children
1952
2158
  }));
1953
2159
  });
1954
- var HeroContent = forwardRef29(function(_param, ref) {
2160
+ var HeroContent = forwardRef32(function(_param, ref) {
1955
2161
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
1956
2162
  "className",
1957
2163
  "children"
1958
2164
  ]);
1959
- return /* @__PURE__ */ jsx33("div", _object_spread_props(_object_spread({
2165
+ return /* @__PURE__ */ jsx38("div", _object_spread_props(_object_spread({
1960
2166
  ref: ref,
1961
2167
  className: cn("alq--hero-container", className)
1962
2168
  }, props), {
@@ -1966,72 +2172,72 @@ var HeroContent = forwardRef29(function(_param, ref) {
1966
2172
  Hero.displayName = "Hero";
1967
2173
  HeroContent.displayName = "HeroContent";
1968
2174
  // src/components/templates/cards/with-image-heading-description.tsx
1969
- import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
2175
+ import { jsx as jsx39, jsxs as jsxs13 } from "react/jsx-runtime";
1970
2176
  var CardWithImageHeadingDescriptionVertical = function(props) {
1971
2177
  var showBorder = props.showBorder, image = props.image, heading = props.heading, description = props.description;
1972
- return /* @__PURE__ */ jsxs11(Card, {
2178
+ return /* @__PURE__ */ jsxs13(Card, {
1973
2179
  className: cn("w-[360px]", !showBorder && "border-none shadow-none"),
1974
2180
  children: [
1975
2181
  image,
1976
- /* @__PURE__ */ jsxs11(CardHeader, {
2182
+ /* @__PURE__ */ jsxs13(CardHeader, {
1977
2183
  children: [
1978
- /* @__PURE__ */ jsx34(CardTitle, {
2184
+ /* @__PURE__ */ jsx39(CardTitle, {
1979
2185
  children: heading
1980
2186
  }),
1981
- /* @__PURE__ */ jsx34(Typography, {
2187
+ /* @__PURE__ */ jsx39(Typography, {
1982
2188
  typeStyle: "small",
1983
2189
  className: "text-font-weak-color",
1984
2190
  children: description
1985
2191
  })
1986
2192
  ]
1987
2193
  }),
1988
- /* @__PURE__ */ jsx34(CardContent, {})
2194
+ /* @__PURE__ */ jsx39(CardContent, {})
1989
2195
  ]
1990
2196
  });
1991
2197
  };
1992
2198
  var CardImageWithHeadingAndDescriptionHorizontal = function(props) {
1993
2199
  var showBorder = props.showBorder, image = props.image, heading = props.heading, description = props.description;
1994
- return /* @__PURE__ */ jsxs11(Card, {
2200
+ return /* @__PURE__ */ jsxs13(Card, {
1995
2201
  className: cn("lg:w-[600px] w-[360px] lg:flex lg:h-[150px]", !showBorder && "border-none shadow-none "),
1996
2202
  children: [
1997
2203
  image,
1998
- /* @__PURE__ */ jsxs11(CardHeader, {
2204
+ /* @__PURE__ */ jsxs13(CardHeader, {
1999
2205
  children: [
2000
- /* @__PURE__ */ jsx34(CardTitle, {
2206
+ /* @__PURE__ */ jsx39(CardTitle, {
2001
2207
  children: heading
2002
2208
  }),
2003
- /* @__PURE__ */ jsx34(Typography, {
2209
+ /* @__PURE__ */ jsx39(Typography, {
2004
2210
  typeStyle: "small",
2005
2211
  className: "text-font-weak-color",
2006
2212
  children: description
2007
2213
  })
2008
2214
  ]
2009
2215
  }),
2010
- /* @__PURE__ */ jsx34(CardContent, {})
2216
+ /* @__PURE__ */ jsx39(CardContent, {})
2011
2217
  ]
2012
2218
  });
2013
2219
  };
2014
2220
  // src/components/templates/cards/with-image-heading-description-avatar.tsx
2015
- import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
2221
+ import { jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
2016
2222
  var AvatarInfo = function(props) {
2017
2223
  var userName = props.userName, email = props.email, avatarImage = props.avatarImage;
2018
- return /* @__PURE__ */ jsxs12("div", {
2224
+ return /* @__PURE__ */ jsxs14("div", {
2019
2225
  className: "flex space-x-2 items-center",
2020
2226
  children: [
2021
- /* @__PURE__ */ jsx35(Avatar, {
2227
+ /* @__PURE__ */ jsx40(Avatar, {
2022
2228
  className: "w-16 h-16",
2023
- children: /* @__PURE__ */ jsx35(AvatarImage, {
2229
+ children: /* @__PURE__ */ jsx40(AvatarImage, {
2024
2230
  src: avatarImage
2025
2231
  })
2026
2232
  }),
2027
- /* @__PURE__ */ jsxs12("div", {
2233
+ /* @__PURE__ */ jsxs14("div", {
2028
2234
  children: [
2029
- /* @__PURE__ */ jsx35(Typography, {
2235
+ /* @__PURE__ */ jsx40(Typography, {
2030
2236
  typeStyle: "small",
2031
2237
  className: "font-semibold",
2032
2238
  children: userName
2033
2239
  }),
2034
- /* @__PURE__ */ jsx35(Typography, {
2240
+ /* @__PURE__ */ jsx40(Typography, {
2035
2241
  typeStyle: "tiny",
2036
2242
  className: "text-font-weak-color",
2037
2243
  children: email
@@ -2043,50 +2249,50 @@ var AvatarInfo = function(props) {
2043
2249
  };
2044
2250
  var CardWithImageHeadingDescriptionAvatarVertical = function(props) {
2045
2251
  var showBorder = props.showBorder, image = props.image, heading = props.heading, description = props.description;
2046
- return /* @__PURE__ */ jsxs12(Card, {
2252
+ return /* @__PURE__ */ jsxs14(Card, {
2047
2253
  className: cn("w-[360px]", !showBorder && "border-none shadow-none"),
2048
2254
  children: [
2049
2255
  image,
2050
- /* @__PURE__ */ jsxs12(CardHeader, {
2256
+ /* @__PURE__ */ jsxs14(CardHeader, {
2051
2257
  children: [
2052
- /* @__PURE__ */ jsx35(CardTitle, {
2258
+ /* @__PURE__ */ jsx40(CardTitle, {
2053
2259
  children: heading
2054
2260
  }),
2055
- /* @__PURE__ */ jsx35(Typography, {
2261
+ /* @__PURE__ */ jsx40(Typography, {
2056
2262
  typeStyle: "small",
2057
2263
  className: "text-font-weak-color",
2058
2264
  children: description
2059
2265
  })
2060
2266
  ]
2061
2267
  }),
2062
- /* @__PURE__ */ jsx35(CardContent, {
2063
- children: /* @__PURE__ */ jsx35(AvatarInfo, _object_spread({}, props))
2268
+ /* @__PURE__ */ jsx40(CardContent, {
2269
+ children: /* @__PURE__ */ jsx40(AvatarInfo, _object_spread({}, props))
2064
2270
  })
2065
2271
  ]
2066
2272
  });
2067
2273
  };
2068
2274
  var CardImageWithHeadingAndDescriptionAvatarHorizontal = function(props) {
2069
2275
  var showBorder = props.showBorder, image = props.image, heading = props.heading, description = props.description;
2070
- return /* @__PURE__ */ jsxs12(Card, {
2276
+ return /* @__PURE__ */ jsxs14(Card, {
2071
2277
  className: cn("lg:w-[600px] w-[360px] lg:flex lg:h-[246px]", !showBorder && "border-none shadow-none "),
2072
2278
  children: [
2073
2279
  image,
2074
- /* @__PURE__ */ jsxs12("div", {
2280
+ /* @__PURE__ */ jsxs14("div", {
2075
2281
  children: [
2076
- /* @__PURE__ */ jsxs12(CardHeader, {
2282
+ /* @__PURE__ */ jsxs14(CardHeader, {
2077
2283
  children: [
2078
- /* @__PURE__ */ jsx35(CardTitle, {
2284
+ /* @__PURE__ */ jsx40(CardTitle, {
2079
2285
  children: heading
2080
2286
  }),
2081
- /* @__PURE__ */ jsx35(Typography, {
2287
+ /* @__PURE__ */ jsx40(Typography, {
2082
2288
  typeStyle: "small",
2083
2289
  className: "text-font-weak-color",
2084
2290
  children: description
2085
2291
  })
2086
2292
  ]
2087
2293
  }),
2088
- /* @__PURE__ */ jsx35(CardContent, {
2089
- children: /* @__PURE__ */ jsx35(AvatarInfo, _object_spread({}, props))
2294
+ /* @__PURE__ */ jsx40(CardContent, {
2295
+ children: /* @__PURE__ */ jsx40(AvatarInfo, _object_spread({}, props))
2090
2296
  })
2091
2297
  ]
2092
2298
  })
@@ -2096,7 +2302,7 @@ var CardImageWithHeadingAndDescriptionAvatarHorizontal = function(props) {
2096
2302
  // src/components/organisms/whisper.tsx
2097
2303
  import { useState as useState3, useEffect as useEffect3 } from "react";
2098
2304
  import { AudioLinesIcon, PlayCircleIcon, LoaderCircleIcon } from "lucide-react";
2099
- import { jsx as jsx36, jsxs as jsxs13 } from "react/jsx-runtime";
2305
+ import { jsx as jsx41, jsxs as jsxs15 } from "react/jsx-runtime";
2100
2306
  function Whisper(param) {
2101
2307
  var className = param.className, message = param.message, isMessageStreaming = param.isMessageStreaming, textToSpeech = param.textToSpeech;
2102
2308
  var _useState3 = _sliced_to_array(useState3(null), 2), audioUrl = _useState3[0], setAudioUrl = _useState3[1];
@@ -2247,39 +2453,39 @@ function Whisper(param) {
2247
2453
  return _ref.apply(this, arguments);
2248
2454
  };
2249
2455
  }();
2250
- return /* @__PURE__ */ jsxs13("div", {
2456
+ return /* @__PURE__ */ jsxs15("div", {
2251
2457
  className: cn(className),
2252
2458
  children: [
2253
- isMessageStreaming && /* @__PURE__ */ jsx36("div", {
2459
+ isMessageStreaming && /* @__PURE__ */ jsx41("div", {
2254
2460
  className: "p-2 w-[24px] h-[24px]"
2255
2461
  }),
2256
- !isMessageStreaming && /* @__PURE__ */ jsxs13("div", {
2462
+ !isMessageStreaming && /* @__PURE__ */ jsxs15("div", {
2257
2463
  onClick: function() {
2258
2464
  return handleTextToSpeech(content);
2259
2465
  },
2260
2466
  children: [
2261
- isPlaying && /* @__PURE__ */ jsx36("button", {
2467
+ isPlaying && /* @__PURE__ */ jsx41("button", {
2262
2468
  className: "p-2 items-center justify-center",
2263
- children: /* @__PURE__ */ jsx36(AudioLinesIcon, {
2469
+ children: /* @__PURE__ */ jsx41(AudioLinesIcon, {
2264
2470
  size: 20,
2265
2471
  className: "animate-[wave_0.7s_infinite_ease-in-out]"
2266
2472
  })
2267
2473
  }),
2268
- isLoading && /* @__PURE__ */ jsxs13("button", {
2474
+ isLoading && /* @__PURE__ */ jsxs15("button", {
2269
2475
  disabled: true,
2270
2476
  className: "p-2 items-center justify-center",
2271
2477
  children: [
2272
2478
  " ",
2273
- /* @__PURE__ */ jsx36(LoaderCircleIcon, {
2479
+ /* @__PURE__ */ jsx41(LoaderCircleIcon, {
2274
2480
  size: 20,
2275
2481
  className: "animate-[spin_1s_linear_infinite]"
2276
2482
  })
2277
2483
  ]
2278
2484
  }),
2279
- !isLoading && !isPlaying && /* @__PURE__ */ jsx36("button", {
2485
+ !isLoading && !isPlaying && /* @__PURE__ */ jsx41("button", {
2280
2486
  disabled: isLoading,
2281
2487
  className: "p-2 items-center justify-center",
2282
- children: /* @__PURE__ */ jsx36(PlayCircleIcon, {
2488
+ children: /* @__PURE__ */ jsx41(PlayCircleIcon, {
2283
2489
  size: 20
2284
2490
  })
2285
2491
  })
@@ -2290,7 +2496,7 @@ function Whisper(param) {
2290
2496
  }
2291
2497
  // src/components/organisms/speechToText.tsx
2292
2498
  import { useState as useState4, useEffect as useEffect4 } from "react";
2293
- import { jsx as jsx37 } from "react/jsx-runtime";
2499
+ import { jsx as jsx42 } from "react/jsx-runtime";
2294
2500
  function SpeechToText(_param) {
2295
2501
  var className = _param.className, speechToText = _param.speechToText, RecordAudioIcon = _param.RecordAudioIcon, IdleAudioIcon = _param.IdleAudioIcon, handleReplaceInput = _param.handleReplaceInput, setIsAudioRecording = _param.setIsAudioRecording, onSendAudio = _param.onSendAudio, props = _object_without_properties(_param, [
2296
2502
  "className",
@@ -2439,10 +2645,10 @@ function SpeechToText(_param) {
2439
2645
  }
2440
2646
  };
2441
2647
  var recordIcons = isRecording ? RecordAudioIcon : IdleAudioIcon;
2442
- return /* @__PURE__ */ jsx37("div", _object_spread_props(_object_spread({
2648
+ return /* @__PURE__ */ jsx42("div", _object_spread_props(_object_spread({
2443
2649
  className: cn(className)
2444
2650
  }, props), {
2445
- children: /* @__PURE__ */ jsx37("button", {
2651
+ children: /* @__PURE__ */ jsx42("button", {
2446
2652
  disabled: isLoading,
2447
2653
  type: "button",
2448
2654
  onClick: handleRecordButtonClick,
@@ -2451,34 +2657,34 @@ function SpeechToText(_param) {
2451
2657
  }));
2452
2658
  }
2453
2659
  // src/components/organisms/assistant.tsx
2454
- import * as React34 from "react";
2660
+ import * as React37 from "react";
2455
2661
  import { useCallback as useCallback3, useEffect as useEffect11, useRef as useRef2, useState as useState12 } from "react";
2456
2662
  // src/components/molecules/page-container.tsx
2457
- import { forwardRef as forwardRef30 } from "react";
2458
- import { jsx as jsx38 } from "react/jsx-runtime";
2459
- var PageContainer = forwardRef30(function(_param, ref) {
2663
+ import { forwardRef as forwardRef33 } from "react";
2664
+ import { jsx as jsx43 } from "react/jsx-runtime";
2665
+ var PageContainer = forwardRef33(function(_param, ref) {
2460
2666
  var className = _param.className, props = _object_without_properties(_param, [
2461
2667
  "className"
2462
2668
  ]);
2463
- return /* @__PURE__ */ jsx38("div", _object_spread({
2669
+ return /* @__PURE__ */ jsx43("div", _object_spread({
2464
2670
  ref: ref,
2465
2671
  className: cn(className, "alq--page-container")
2466
2672
  }, props));
2467
2673
  });
2468
2674
  PageContainer.displayName = "PageContainer";
2469
2675
  // src/components/molecules/assistant-button.tsx
2470
- import * as React26 from "react";
2676
+ import * as React29 from "react";
2471
2677
  import { useState as useState5 } from "react";
2472
- import { jsx as jsx39, jsxs as jsxs14 } from "react/jsx-runtime";
2473
- var AssistantSuggestions = React26.forwardRef(function(param, ref) {
2678
+ import { jsx as jsx44, jsxs as jsxs16 } from "react/jsx-runtime";
2679
+ var AssistantSuggestions = React29.forwardRef(function(param, ref) {
2474
2680
  var suggestions = param.suggestions, showSuggestions = param.showSuggestions, className = param.className;
2475
- return /* @__PURE__ */ jsx39("div", {
2681
+ return /* @__PURE__ */ jsx44("div", {
2476
2682
  ref: ref,
2477
2683
  className: cn("absolute bottom-[calc(100%+0.5rem)] right-0 pb-2 mb-4 alq--assistant-suggestions-container", "transition-all duration-300", showSuggestions ? "opacity-100 translate-y-0" : "opacity-0 translate-y-4", className),
2478
- children: /* @__PURE__ */ jsx39("div", {
2684
+ children: /* @__PURE__ */ jsx44("div", {
2479
2685
  className: "rounded-lg p-2 pr-0 w-64",
2480
2686
  children: suggestions.map(function(suggestion, index) {
2481
- return /* @__PURE__ */ jsxs14("button", {
2687
+ return /* @__PURE__ */ jsxs16("button", {
2482
2688
  onClick: function() {
2483
2689
  var _suggestion_action;
2484
2690
  return (_suggestion_action = suggestion.action) === null || _suggestion_action === void 0 ? void 0 : _suggestion_action.call(suggestion);
@@ -2488,10 +2694,10 @@ var AssistantSuggestions = React26.forwardRef(function(param, ref) {
2488
2694
  },
2489
2695
  className: cn("bg-background flex items-center gap-2 border p-2 pr-4 my-2 rounded-full ml-auto", "text-primary hover:bg-secondary", "transition-all duration-100", "origin-bottom w-fit", "alq--assistant-suggestion", showSuggestions ? "opacity-100 translate-y-0" : "opacity-0 translate-y-4"),
2490
2696
  children: [
2491
- /* @__PURE__ */ jsx39(suggestion.icon, {
2697
+ /* @__PURE__ */ jsx44(suggestion.icon, {
2492
2698
  className: "w-5 h-5 text-primary"
2493
2699
  }),
2494
- /* @__PURE__ */ jsx39("span", {
2700
+ /* @__PURE__ */ jsx44("span", {
2495
2701
  className: "text-xs whitespace-nowrap font-normal",
2496
2702
  children: suggestion.label
2497
2703
  })
@@ -2502,7 +2708,7 @@ var AssistantSuggestions = React26.forwardRef(function(param, ref) {
2502
2708
  });
2503
2709
  });
2504
2710
  AssistantSuggestions.displayName = "Suggestions";
2505
- var AssistantButton = React26.forwardRef(function(param, ref) {
2711
+ var AssistantButton = React29.forwardRef(function(param, ref) {
2506
2712
  var Icon2 = param.icon, clickAction = param.clickAction, className = param.className, _param_suggestions = param.suggestions, suggestions = _param_suggestions === void 0 ? [] : _param_suggestions;
2507
2713
  var _useState5 = _sliced_to_array(useState5(false), 2), isVisible = _useState5[0], setIsVisible = _useState5[1];
2508
2714
  var _useState51 = _sliced_to_array(useState5(false), 2), showSuggestions = _useState51[0], setShowSuggestions = _useState51[1];
@@ -2520,24 +2726,24 @@ var AssistantButton = React26.forwardRef(function(param, ref) {
2520
2726
  return setIsVisible(false);
2521
2727
  }, 300);
2522
2728
  };
2523
- return /* @__PURE__ */ jsx39("div", {
2729
+ return /* @__PURE__ */ jsx44("div", {
2524
2730
  ref: ref,
2525
2731
  className: cn("fixed bottom-8 right-4 z-50", "alq--assistant-button-container", className),
2526
2732
  onMouseEnter: handleMouseEnter,
2527
2733
  onMouseLeave: handleMouseLeave,
2528
- children: /* @__PURE__ */ jsxs14("div", {
2734
+ children: /* @__PURE__ */ jsxs16("div", {
2529
2735
  className: "relative group",
2530
2736
  children: [
2531
- isVisible && suggestions.length > 0 && /* @__PURE__ */ jsx39(AssistantSuggestions, {
2737
+ isVisible && suggestions.length > 0 && /* @__PURE__ */ jsx44(AssistantSuggestions, {
2532
2738
  suggestions: suggestions,
2533
2739
  showSuggestions: showSuggestions
2534
2740
  }),
2535
- /* @__PURE__ */ jsx39(Button, {
2741
+ /* @__PURE__ */ jsx44(Button, {
2536
2742
  variant: "outline",
2537
2743
  size: "sm",
2538
2744
  className: cn("fixed hover:bg-opacity-70 transition-all duration-300", "bottom-4 h-12 w-12 right-4 z-50 rounded-full p-2", "shadow-md", "hover:shadow-lg", showSuggestions ? "scale-110" : "hover:scale-105", "alq--assistant-button"),
2539
2745
  onClick: clickAction,
2540
- children: /* @__PURE__ */ jsx39(Icon2, {
2746
+ children: /* @__PURE__ */ jsx44(Icon2, {
2541
2747
  style: {
2542
2748
  width: "22px",
2543
2749
  height: "22px"
@@ -2551,19 +2757,19 @@ var AssistantButton = React26.forwardRef(function(param, ref) {
2551
2757
  });
2552
2758
  AssistantButton.displayName = "AssistantButton";
2553
2759
  // src/components/molecules/carousel.tsx
2554
- import * as React27 from "react";
2760
+ import * as React30 from "react";
2555
2761
  import useEmblaCarousel from "embla-carousel-react";
2556
2762
  import { ArrowLeft, ArrowRight } from "lucide-react";
2557
- import { jsx as jsx40, jsxs as jsxs15 } from "react/jsx-runtime";
2558
- var CarouselContext = React27.createContext(null);
2763
+ import { jsx as jsx45, jsxs as jsxs17 } from "react/jsx-runtime";
2764
+ var CarouselContext = React30.createContext(null);
2559
2765
  function useCarousel() {
2560
- var context = React27.useContext(CarouselContext);
2766
+ var context = React30.useContext(CarouselContext);
2561
2767
  if (!context) {
2562
2768
  throw new Error("useCarousel must be used within a <Carousel />");
2563
2769
  }
2564
2770
  return context;
2565
2771
  }
2566
- var Carousel = React27.forwardRef(function(_param, ref) {
2772
+ var Carousel = React30.forwardRef(function(_param, ref) {
2567
2773
  var _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "horizontal" : _param_orientation, opts = _param.opts, setApi = _param.setApi, plugins = _param.plugins, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2568
2774
  "orientation",
2569
2775
  "opts",
@@ -2575,26 +2781,26 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2575
2781
  var _useEmblaCarousel = _sliced_to_array(useEmblaCarousel(_object_spread_props(_object_spread({}, opts), {
2576
2782
  axis: orientation === "horizontal" ? "x" : "y"
2577
2783
  }), plugins), 2), carouselRef = _useEmblaCarousel[0], api = _useEmblaCarousel[1];
2578
- var _React27_useState = _sliced_to_array(React27.useState(false), 2), canScrollPrev = _React27_useState[0], setCanScrollPrev = _React27_useState[1];
2579
- var _React27_useState1 = _sliced_to_array(React27.useState(false), 2), canScrollNext = _React27_useState1[0], setCanScrollNext = _React27_useState1[1];
2580
- var onSelect = React27.useCallback(function(api2) {
2784
+ var _React30_useState = _sliced_to_array(React30.useState(false), 2), canScrollPrev = _React30_useState[0], setCanScrollPrev = _React30_useState[1];
2785
+ var _React30_useState1 = _sliced_to_array(React30.useState(false), 2), canScrollNext = _React30_useState1[0], setCanScrollNext = _React30_useState1[1];
2786
+ var onSelect = React30.useCallback(function(api2) {
2581
2787
  if (!api2) {
2582
2788
  return;
2583
2789
  }
2584
2790
  setCanScrollPrev(api2.canScrollPrev());
2585
2791
  setCanScrollNext(api2.canScrollNext());
2586
2792
  }, []);
2587
- var scrollPrev = React27.useCallback(function() {
2793
+ var scrollPrev = React30.useCallback(function() {
2588
2794
  api === null || api === void 0 ? void 0 : api.scrollPrev();
2589
2795
  }, [
2590
2796
  api
2591
2797
  ]);
2592
- var scrollNext = React27.useCallback(function() {
2798
+ var scrollNext = React30.useCallback(function() {
2593
2799
  api === null || api === void 0 ? void 0 : api.scrollNext();
2594
2800
  }, [
2595
2801
  api
2596
2802
  ]);
2597
- var handleKeyDown = React27.useCallback(function(event) {
2803
+ var handleKeyDown = React30.useCallback(function(event) {
2598
2804
  if (event.key === "ArrowLeft") {
2599
2805
  event.preventDefault();
2600
2806
  scrollPrev();
@@ -2606,7 +2812,7 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2606
2812
  scrollPrev,
2607
2813
  scrollNext
2608
2814
  ]);
2609
- React27.useEffect(function() {
2815
+ React30.useEffect(function() {
2610
2816
  if (!api || !setApi) {
2611
2817
  return;
2612
2818
  }
@@ -2615,7 +2821,7 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2615
2821
  api,
2616
2822
  setApi
2617
2823
  ]);
2618
- React27.useEffect(function() {
2824
+ React30.useEffect(function() {
2619
2825
  if (!api) {
2620
2826
  return;
2621
2827
  }
@@ -2629,7 +2835,7 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2629
2835
  api,
2630
2836
  onSelect
2631
2837
  ]);
2632
- return /* @__PURE__ */ jsx40(CarouselContext.Provider, {
2838
+ return /* @__PURE__ */ jsx45(CarouselContext.Provider, {
2633
2839
  value: {
2634
2840
  carouselRef: carouselRef,
2635
2841
  api: api,
@@ -2640,7 +2846,7 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2640
2846
  canScrollPrev: canScrollPrev,
2641
2847
  canScrollNext: canScrollNext
2642
2848
  },
2643
- children: /* @__PURE__ */ jsx40("div", _object_spread_props(_object_spread({
2849
+ children: /* @__PURE__ */ jsx45("div", _object_spread_props(_object_spread({
2644
2850
  ref: ref,
2645
2851
  onKeyDownCapture: handleKeyDown,
2646
2852
  className: cn("relative", className),
@@ -2652,27 +2858,27 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2652
2858
  });
2653
2859
  });
2654
2860
  Carousel.displayName = "Carousel";
2655
- var CarouselContent = React27.forwardRef(function(_param, ref) {
2861
+ var CarouselContent = React30.forwardRef(function(_param, ref) {
2656
2862
  var className = _param.className, props = _object_without_properties(_param, [
2657
2863
  "className"
2658
2864
  ]);
2659
2865
  var _useCarousel = useCarousel(), carouselRef = _useCarousel.carouselRef, orientation = _useCarousel.orientation;
2660
- return /* @__PURE__ */ jsx40("div", {
2866
+ return /* @__PURE__ */ jsx45("div", {
2661
2867
  ref: carouselRef,
2662
2868
  className: "overflow-hidden",
2663
- children: /* @__PURE__ */ jsx40("div", _object_spread({
2869
+ children: /* @__PURE__ */ jsx45("div", _object_spread({
2664
2870
  ref: ref,
2665
2871
  className: cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className)
2666
2872
  }, props))
2667
2873
  });
2668
2874
  });
2669
2875
  CarouselContent.displayName = "CarouselContent";
2670
- var CarouselItem = React27.forwardRef(function(_param, ref) {
2876
+ var CarouselItem = React30.forwardRef(function(_param, ref) {
2671
2877
  var className = _param.className, props = _object_without_properties(_param, [
2672
2878
  "className"
2673
2879
  ]);
2674
2880
  var orientation = useCarousel().orientation;
2675
- return /* @__PURE__ */ jsx40("div", _object_spread({
2881
+ return /* @__PURE__ */ jsx45("div", _object_spread({
2676
2882
  ref: ref,
2677
2883
  role: "group",
2678
2884
  "aria-roledescription": "slide",
@@ -2680,14 +2886,14 @@ var CarouselItem = React27.forwardRef(function(_param, ref) {
2680
2886
  }, props));
2681
2887
  });
2682
2888
  CarouselItem.displayName = "CarouselItem";
2683
- var CarouselPrevious = React27.forwardRef(function(_param, ref) {
2889
+ var CarouselPrevious = React30.forwardRef(function(_param, ref) {
2684
2890
  var className = _param.className, _param_variant = _param.variant, variant = _param_variant === void 0 ? "outline" : _param_variant, _param_size = _param.size, size = _param_size === void 0 ? "icon" : _param_size, props = _object_without_properties(_param, [
2685
2891
  "className",
2686
2892
  "variant",
2687
2893
  "size"
2688
2894
  ]);
2689
2895
  var _useCarousel = useCarousel(), orientation = _useCarousel.orientation, scrollPrev = _useCarousel.scrollPrev, canScrollPrev = _useCarousel.canScrollPrev;
2690
- return /* @__PURE__ */ jsxs15(Button, _object_spread_props(_object_spread({
2896
+ return /* @__PURE__ */ jsxs17(Button, _object_spread_props(_object_spread({
2691
2897
  ref: ref,
2692
2898
  variant: variant,
2693
2899
  size: size,
@@ -2696,10 +2902,10 @@ var CarouselPrevious = React27.forwardRef(function(_param, ref) {
2696
2902
  onClick: scrollPrev
2697
2903
  }, props), {
2698
2904
  children: [
2699
- /* @__PURE__ */ jsx40(ArrowLeft, {
2905
+ /* @__PURE__ */ jsx45(ArrowLeft, {
2700
2906
  className: "h-4 w-4"
2701
2907
  }),
2702
- /* @__PURE__ */ jsx40("span", {
2908
+ /* @__PURE__ */ jsx45("span", {
2703
2909
  className: "sr-only",
2704
2910
  children: "Previous slide"
2705
2911
  })
@@ -2707,14 +2913,14 @@ var CarouselPrevious = React27.forwardRef(function(_param, ref) {
2707
2913
  }));
2708
2914
  });
2709
2915
  CarouselPrevious.displayName = "CarouselPrevious";
2710
- var CarouselNext = React27.forwardRef(function(_param, ref) {
2916
+ var CarouselNext = React30.forwardRef(function(_param, ref) {
2711
2917
  var className = _param.className, _param_variant = _param.variant, variant = _param_variant === void 0 ? "outline" : _param_variant, _param_size = _param.size, size = _param_size === void 0 ? "icon" : _param_size, props = _object_without_properties(_param, [
2712
2918
  "className",
2713
2919
  "variant",
2714
2920
  "size"
2715
2921
  ]);
2716
2922
  var _useCarousel = useCarousel(), orientation = _useCarousel.orientation, scrollNext = _useCarousel.scrollNext, canScrollNext = _useCarousel.canScrollNext;
2717
- return /* @__PURE__ */ jsxs15(Button, _object_spread_props(_object_spread({
2923
+ return /* @__PURE__ */ jsxs17(Button, _object_spread_props(_object_spread({
2718
2924
  ref: ref,
2719
2925
  variant: variant,
2720
2926
  size: size,
@@ -2723,10 +2929,10 @@ var CarouselNext = React27.forwardRef(function(_param, ref) {
2723
2929
  onClick: scrollNext
2724
2930
  }, props), {
2725
2931
  children: [
2726
- /* @__PURE__ */ jsx40(ArrowRight, {
2932
+ /* @__PURE__ */ jsx45(ArrowRight, {
2727
2933
  className: "h-4 w-4"
2728
2934
  }),
2729
- /* @__PURE__ */ jsx40("span", {
2935
+ /* @__PURE__ */ jsx45("span", {
2730
2936
  className: "sr-only",
2731
2937
  children: "Next slide"
2732
2938
  })
@@ -2735,32 +2941,32 @@ var CarouselNext = React27.forwardRef(function(_param, ref) {
2735
2941
  });
2736
2942
  CarouselNext.displayName = "CarouselNext";
2737
2943
  // src/components/molecules/navigation-menu.tsx
2738
- import * as React28 from "react";
2944
+ import * as React31 from "react";
2739
2945
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
2740
2946
  import { cva as cva9 } from "class-variance-authority";
2741
- import { ChevronDown as ChevronDown2 } from "lucide-react";
2742
- import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
2743
- var NavigationMenu = React28.forwardRef(function(_param, ref) {
2947
+ import { ChevronDown as ChevronDown3 } from "lucide-react";
2948
+ import { jsx as jsx46, jsxs as jsxs18 } from "react/jsx-runtime";
2949
+ var NavigationMenu = React31.forwardRef(function(_param, ref) {
2744
2950
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2745
2951
  "className",
2746
2952
  "children"
2747
2953
  ]);
2748
- return /* @__PURE__ */ jsxs16(NavigationMenuPrimitive.Root, _object_spread_props(_object_spread({
2954
+ return /* @__PURE__ */ jsxs18(NavigationMenuPrimitive.Root, _object_spread_props(_object_spread({
2749
2955
  ref: ref,
2750
2956
  className: cn("relative z-10 flex max-w-max flex-1 items-center justify-center", className)
2751
2957
  }, props), {
2752
2958
  children: [
2753
2959
  children,
2754
- /* @__PURE__ */ jsx41(NavigationMenuViewport, {})
2960
+ /* @__PURE__ */ jsx46(NavigationMenuViewport, {})
2755
2961
  ]
2756
2962
  }));
2757
2963
  });
2758
2964
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
2759
- var NavigationMenuList = React28.forwardRef(function(_param, ref) {
2965
+ var NavigationMenuList = React31.forwardRef(function(_param, ref) {
2760
2966
  var className = _param.className, props = _object_without_properties(_param, [
2761
2967
  "className"
2762
2968
  ]);
2763
- return /* @__PURE__ */ jsx41(NavigationMenuPrimitive.List, _object_spread({
2969
+ return /* @__PURE__ */ jsx46(NavigationMenuPrimitive.List, _object_spread({
2764
2970
  ref: ref,
2765
2971
  className: cn("group flex flex-1 list-none items-center justify-center space-x-1", className)
2766
2972
  }, props));
@@ -2768,19 +2974,19 @@ var NavigationMenuList = React28.forwardRef(function(_param, ref) {
2768
2974
  NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
2769
2975
  var NavigationMenuItem = NavigationMenuPrimitive.Item;
2770
2976
  var navigationMenuTriggerStyle = cva9("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50");
2771
- var NavigationMenuTrigger = React28.forwardRef(function(_param, ref) {
2977
+ var NavigationMenuTrigger = React31.forwardRef(function(_param, ref) {
2772
2978
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2773
2979
  "className",
2774
2980
  "children"
2775
2981
  ]);
2776
- return /* @__PURE__ */ jsxs16(NavigationMenuPrimitive.Trigger, _object_spread_props(_object_spread({
2982
+ return /* @__PURE__ */ jsxs18(NavigationMenuPrimitive.Trigger, _object_spread_props(_object_spread({
2777
2983
  ref: ref,
2778
2984
  className: cn(navigationMenuTriggerStyle(), "group", className)
2779
2985
  }, props), {
2780
2986
  children: [
2781
2987
  children,
2782
2988
  " ",
2783
- /* @__PURE__ */ jsx41(ChevronDown2, {
2989
+ /* @__PURE__ */ jsx46(ChevronDown3, {
2784
2990
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
2785
2991
  "aria-hidden": "true"
2786
2992
  })
@@ -2788,48 +2994,48 @@ var NavigationMenuTrigger = React28.forwardRef(function(_param, ref) {
2788
2994
  }));
2789
2995
  });
2790
2996
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
2791
- var NavigationMenuContent = React28.forwardRef(function(_param, ref) {
2997
+ var NavigationMenuContent = React31.forwardRef(function(_param, ref) {
2792
2998
  var className = _param.className, props = _object_without_properties(_param, [
2793
2999
  "className"
2794
3000
  ]);
2795
- return /* @__PURE__ */ jsx41(NavigationMenuPrimitive.Content, _object_spread({
3001
+ return /* @__PURE__ */ jsx46(NavigationMenuPrimitive.Content, _object_spread({
2796
3002
  ref: ref,
2797
3003
  className: cn("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ", className)
2798
3004
  }, props));
2799
3005
  });
2800
3006
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
2801
3007
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
2802
- var NavigationMenuViewport = React28.forwardRef(function(_param, ref) {
3008
+ var NavigationMenuViewport = React31.forwardRef(function(_param, ref) {
2803
3009
  var className = _param.className, props = _object_without_properties(_param, [
2804
3010
  "className"
2805
3011
  ]);
2806
- return /* @__PURE__ */ jsx41("div", {
3012
+ return /* @__PURE__ */ jsx46("div", {
2807
3013
  className: cn("absolute left-0 top-full flex justify-center"),
2808
- children: /* @__PURE__ */ jsx41(NavigationMenuPrimitive.Viewport, _object_spread({
3014
+ children: /* @__PURE__ */ jsx46(NavigationMenuPrimitive.Viewport, _object_spread({
2809
3015
  className: cn("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]", className),
2810
3016
  ref: ref
2811
3017
  }, props))
2812
3018
  });
2813
3019
  });
2814
3020
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
2815
- var NavigationMenuIndicator = React28.forwardRef(function(_param, ref) {
3021
+ var NavigationMenuIndicator = React31.forwardRef(function(_param, ref) {
2816
3022
  var className = _param.className, props = _object_without_properties(_param, [
2817
3023
  "className"
2818
3024
  ]);
2819
- return /* @__PURE__ */ jsx41(NavigationMenuPrimitive.Indicator, _object_spread_props(_object_spread({
3025
+ return /* @__PURE__ */ jsx46(NavigationMenuPrimitive.Indicator, _object_spread_props(_object_spread({
2820
3026
  ref: ref,
2821
3027
  className: cn("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in", className)
2822
3028
  }, props), {
2823
- children: /* @__PURE__ */ jsx41("div", {
3029
+ children: /* @__PURE__ */ jsx46("div", {
2824
3030
  className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"
2825
3031
  })
2826
3032
  }));
2827
3033
  });
2828
3034
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
2829
3035
  // src/components/molecules/sidebar.tsx
2830
- import * as React29 from "react";
3036
+ import * as React32 from "react";
2831
3037
  import { cva as cva10 } from "class-variance-authority";
2832
- import { jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
3038
+ import { jsx as jsx47, jsxs as jsxs19 } from "react/jsx-runtime";
2833
3039
  var sidebarVariants = cva10("flex flex-col border-r", {
2834
3040
  variants: {
2835
3041
  size: {
@@ -2842,12 +3048,12 @@ var sidebarVariants = cva10("flex flex-col border-r", {
2842
3048
  size: "default"
2843
3049
  }
2844
3050
  });
2845
- var SidebarFooter = React29.forwardRef(function(_param, ref) {
3051
+ var SidebarFooter = React32.forwardRef(function(_param, ref) {
2846
3052
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2847
3053
  "className",
2848
3054
  "children"
2849
3055
  ]);
2850
- return /* @__PURE__ */ jsx42("div", _object_spread_props(_object_spread({
3056
+ return /* @__PURE__ */ jsx47("div", _object_spread_props(_object_spread({
2851
3057
  ref: ref,
2852
3058
  className: cn("p-4", className)
2853
3059
  }, props), {
@@ -2855,7 +3061,7 @@ var SidebarFooter = React29.forwardRef(function(_param, ref) {
2855
3061
  }));
2856
3062
  });
2857
3063
  SidebarFooter.displayName = "SidebarFooter";
2858
- var Sidebar = React29.forwardRef(function(_param, ref) {
3064
+ var Sidebar = React32.forwardRef(function(_param, ref) {
2859
3065
  var className = _param.className, items = _param.items, selectedSection = _param.selectedSection, onSelect = _param.onSelect, footerContent = _param.footerContent, _param_size = _param.size, size = _param_size === void 0 ? "default" : _param_size, _param_selectedVariant = _param.selectedVariant, selectedVariant = _param_selectedVariant === void 0 ? "secondary" : _param_selectedVariant, _param_defaultVariant = _param.defaultVariant, defaultVariant = _param_defaultVariant === void 0 ? "ghost" : _param_defaultVariant, buttonClassName = _param.buttonClassName, props = _object_without_properties(_param, [
2860
3066
  "className",
2861
3067
  "items",
@@ -2867,21 +3073,21 @@ var Sidebar = React29.forwardRef(function(_param, ref) {
2867
3073
  "defaultVariant",
2868
3074
  "buttonClassName"
2869
3075
  ]);
2870
- return /* @__PURE__ */ jsx42("div", _object_spread_props(_object_spread({
3076
+ return /* @__PURE__ */ jsx47("div", _object_spread_props(_object_spread({
2871
3077
  className: cn(className, "alq--navigation-sidebar h-full"),
2872
3078
  ref: ref
2873
3079
  }, props), {
2874
- children: /* @__PURE__ */ jsxs17("aside", {
3080
+ children: /* @__PURE__ */ jsxs19("aside", {
2875
3081
  className: cn(sidebarVariants({
2876
3082
  size: size
2877
3083
  }), "h-full"),
2878
3084
  children: [
2879
- /* @__PURE__ */ jsx42(ScrollArea, {
3085
+ /* @__PURE__ */ jsx47(ScrollArea, {
2880
3086
  className: "flex-grow justify-between",
2881
- children: /* @__PURE__ */ jsx42("div", {
3087
+ children: /* @__PURE__ */ jsx47("div", {
2882
3088
  className: "flex flex-col gap-2 p-4",
2883
3089
  children: items.map(function(item) {
2884
- return /* @__PURE__ */ jsxs17(Button, {
3090
+ return /* @__PURE__ */ jsxs19(Button, {
2885
3091
  variant: (selectedSection === null || selectedSection === void 0 ? void 0 : selectedSection.name) === item.name ? selectedVariant : defaultVariant,
2886
3092
  className: cn("justify-start", buttonClassName),
2887
3093
  disabled: item.disabled,
@@ -2891,7 +3097,7 @@ var Sidebar = React29.forwardRef(function(_param, ref) {
2891
3097
  }
2892
3098
  },
2893
3099
  children: [
2894
- item.icon && /* @__PURE__ */ jsx42(item.icon, {
3100
+ item.icon && /* @__PURE__ */ jsx47(item.icon, {
2895
3101
  className: "mr-2 h-4 w-4"
2896
3102
  }),
2897
3103
  item.name
@@ -2900,7 +3106,7 @@ var Sidebar = React29.forwardRef(function(_param, ref) {
2900
3106
  })
2901
3107
  })
2902
3108
  }),
2903
- footerContent && /* @__PURE__ */ jsx42(SidebarFooter, {
3109
+ footerContent && /* @__PURE__ */ jsx47(SidebarFooter, {
2904
3110
  children: footerContent
2905
3111
  })
2906
3112
  ]
@@ -2919,11 +3125,11 @@ function useAlquimiaTheme() {
2919
3125
  return useContext2(ThemeContext);
2920
3126
  }
2921
3127
  // src/components/molecules/sonner.tsx
2922
- import { jsx as jsx43 } from "react/jsx-runtime";
3128
+ import { jsx as jsx48 } from "react/jsx-runtime";
2923
3129
  var Toaster2 = function(_param) {
2924
3130
  var props = _extends({}, _object_destructuring_empty(_param));
2925
3131
  var _useAlquimiaTheme = useAlquimiaTheme(), _useAlquimiaTheme_theme = _useAlquimiaTheme.theme, theme = _useAlquimiaTheme_theme === void 0 ? "system" : _useAlquimiaTheme_theme;
2926
- return /* @__PURE__ */ jsx43(Sonner, _object_spread({
3132
+ return /* @__PURE__ */ jsx48(Sonner, _object_spread({
2927
3133
  theme: theme,
2928
3134
  className: "toaster group",
2929
3135
  toastOptions: {
@@ -2937,28 +3143,28 @@ var Toaster2 = function(_param) {
2937
3143
  }, props));
2938
3144
  };
2939
3145
  // src/components/molecules/rating-stars.tsx
2940
- import * as React30 from "react";
3146
+ import * as React33 from "react";
2941
3147
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
2942
3148
  import { Star } from "lucide-react";
2943
- import { jsx as jsx44, jsxs as jsxs18 } from "react/jsx-runtime";
3149
+ import { jsx as jsx49, jsxs as jsxs20 } from "react/jsx-runtime";
2944
3150
  var TooltipProvider = TooltipPrimitive.Provider;
2945
- var Tooltip = TooltipPrimitive.Root;
3151
+ var Tooltip2 = TooltipPrimitive.Root;
2946
3152
  var TooltipTrigger = TooltipPrimitive.Trigger;
2947
- var TooltipContent = React30.forwardRef(function(_param, ref) {
3153
+ var TooltipContent = React33.forwardRef(function(_param, ref) {
2948
3154
  var className = _param.className, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, props = _object_without_properties(_param, [
2949
3155
  "className",
2950
3156
  "sideOffset"
2951
3157
  ]);
2952
- return /* @__PURE__ */ jsx44(TooltipPrimitive.Content, _object_spread({
3158
+ return /* @__PURE__ */ jsx49(TooltipPrimitive.Content, _object_spread({
2953
3159
  ref: ref,
2954
3160
  sideOffset: sideOffset,
2955
3161
  className: cn("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground shadow-lg animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", className)
2956
3162
  }, props));
2957
3163
  });
2958
3164
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2959
- var StarRating = React30.forwardRef(function(param, ref) {
3165
+ var StarRating = React33.forwardRef(function(param, ref) {
2960
3166
  var rating = param.rating, onRate = param.onRate;
2961
- return /* @__PURE__ */ jsx44("div", {
3167
+ return /* @__PURE__ */ jsx49("div", {
2962
3168
  ref: ref,
2963
3169
  className: "flex",
2964
3170
  children: [
@@ -2968,14 +3174,14 @@ var StarRating = React30.forwardRef(function(param, ref) {
2968
3174
  4,
2969
3175
  5
2970
3176
  ].map(function(star) {
2971
- return /* @__PURE__ */ jsx44(Button, {
3177
+ return /* @__PURE__ */ jsx49(Button, {
2972
3178
  onClick: function() {
2973
3179
  return onRate(star);
2974
3180
  },
2975
3181
  variant: "link",
2976
3182
  className: "p-1 transition-colors [&_svg]:size-5 h-5",
2977
3183
  "aria-label": "Rate ".concat(star, " star").concat(star !== 1 ? "s" : ""),
2978
- children: /* @__PURE__ */ jsx44(Star, {
3184
+ children: /* @__PURE__ */ jsx49(Star, {
2979
3185
  className: cn("w-5 h-5", star <= rating ? "alq-rating-star-active fill-current stroke-current" : "alq-rating-star-inactive")
2980
3186
  })
2981
3187
  }, star);
@@ -2983,15 +3189,15 @@ var StarRating = React30.forwardRef(function(param, ref) {
2983
3189
  });
2984
3190
  });
2985
3191
  StarRating.displayName = "StarRating";
2986
- var RatingStars = React30.forwardRef(function(param, ref) {
3192
+ var RatingStars = React33.forwardRef(function(param, ref) {
2987
3193
  var _param_currentRating = param.currentRating, currentRating = _param_currentRating === void 0 ? 0 : _param_currentRating, onRate = param.onRate, className = param.className, isLoading = param.isLoading;
2988
- var _React30_useState = _sliced_to_array(React30.useState(false), 2), open = _React30_useState[0], setOpen = _React30_useState[1];
2989
- var _React30_useState1 = _sliced_to_array(React30.useState(false), 2), animate = _React30_useState1[0], setAnimate = _React30_useState1[1];
3194
+ var _React33_useState = _sliced_to_array(React33.useState(false), 2), open = _React33_useState[0], setOpen = _React33_useState[1];
3195
+ var _React33_useState1 = _sliced_to_array(React33.useState(false), 2), animate = _React33_useState1[0], setAnimate = _React33_useState1[1];
2990
3196
  var handleRate = function(rating) {
2991
3197
  onRate(rating);
2992
3198
  setOpen(false);
2993
3199
  };
2994
- React30.useEffect(function() {
3200
+ React33.useEffect(function() {
2995
3201
  if (currentRating > 0) {
2996
3202
  setAnimate(true);
2997
3203
  var timer = setTimeout(function() {
@@ -3005,14 +3211,14 @@ var RatingStars = React30.forwardRef(function(param, ref) {
3005
3211
  currentRating
3006
3212
  ]);
3007
3213
  var hasRated = currentRating > 0;
3008
- return /* @__PURE__ */ jsx44(TooltipProvider, {
3009
- children: /* @__PURE__ */ jsxs18(Tooltip, {
3214
+ return /* @__PURE__ */ jsx49(TooltipProvider, {
3215
+ children: /* @__PURE__ */ jsxs20(Tooltip2, {
3010
3216
  open: open,
3011
3217
  onOpenChange: setOpen,
3012
3218
  children: [
3013
- /* @__PURE__ */ jsx44(TooltipTrigger, {
3219
+ /* @__PURE__ */ jsx49(TooltipTrigger, {
3014
3220
  asChild: true,
3015
- children: /* @__PURE__ */ jsx44(Button, {
3221
+ children: /* @__PURE__ */ jsx49(Button, {
3016
3222
  ref: ref,
3017
3223
  variant: "link",
3018
3224
  className: cn("inline-flex items-center justify-center rounded-md text-sm font-medium [&_svg]:size-5 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", className),
@@ -3020,18 +3226,18 @@ var RatingStars = React30.forwardRef(function(param, ref) {
3020
3226
  onClick: function() {
3021
3227
  return setOpen(!open);
3022
3228
  },
3023
- children: /* @__PURE__ */ jsx44(Star, {
3229
+ children: /* @__PURE__ */ jsx49(Star, {
3024
3230
  className: cn("w-5 h-5 transition-all duration-500", animate && "animate-ping", isLoading && "animate-pulse", hasRated ? "alq-rating-star-active fill-current stroke-current" : "alq-rating-star-inactive")
3025
3231
  })
3026
3232
  })
3027
3233
  }),
3028
- /* @__PURE__ */ jsx44(TooltipContent, {
3234
+ /* @__PURE__ */ jsx49(TooltipContent, {
3029
3235
  side: "top",
3030
3236
  align: "center",
3031
3237
  className: "p-0",
3032
- children: /* @__PURE__ */ jsx44("div", {
3238
+ children: /* @__PURE__ */ jsx49("div", {
3033
3239
  className: "p-2 bg-background",
3034
- children: /* @__PURE__ */ jsx44(StarRating, {
3240
+ children: /* @__PURE__ */ jsx49(StarRating, {
3035
3241
  rating: currentRating,
3036
3242
  onRate: handleRate
3037
3243
  })
@@ -3043,13 +3249,13 @@ var RatingStars = React30.forwardRef(function(param, ref) {
3043
3249
  });
3044
3250
  RatingStars.displayName = "RatingStars";
3045
3251
  // src/components/molecules/rating-thumbs.tsx
3046
- import * as React31 from "react";
3252
+ import * as React34 from "react";
3047
3253
  import { ThumbsUp, ThumbsDown } from "lucide-react";
3048
- import { jsx as jsx45, jsxs as jsxs19 } from "react/jsx-runtime";
3049
- var RatingThumbs = React31.forwardRef(function(param, ref) {
3254
+ import { jsx as jsx50, jsxs as jsxs21 } from "react/jsx-runtime";
3255
+ var RatingThumbs = React34.forwardRef(function(param, ref) {
3050
3256
  var currentRating = param.currentRating, onRate = param.onRate, _param_direction = param.direction, direction = _param_direction === void 0 ? "row" : _param_direction, className = param.className, isLoading = param.isLoading;
3051
- var _React31_useState = _sliced_to_array(React31.useState(false), 2), animate = _React31_useState[0], setAnimate = _React31_useState[1];
3052
- React31.useEffect(function() {
3257
+ var _React34_useState = _sliced_to_array(React34.useState(false), 2), animate = _React34_useState[0], setAnimate = _React34_useState[1];
3258
+ React34.useEffect(function() {
3053
3259
  if (currentRating) {
3054
3260
  setAnimate(true);
3055
3261
  var timer = setTimeout(function() {
@@ -3062,11 +3268,11 @@ var RatingThumbs = React31.forwardRef(function(param, ref) {
3062
3268
  }, [
3063
3269
  currentRating
3064
3270
  ]);
3065
- return /* @__PURE__ */ jsxs19("div", {
3271
+ return /* @__PURE__ */ jsxs21("div", {
3066
3272
  ref: ref,
3067
3273
  className: cn("inline-flex", direction === "column" ? "flex-col" : "flex-row", "space-x-1 gap-4", className),
3068
3274
  children: [
3069
- /* @__PURE__ */ jsx45(Button, {
3275
+ /* @__PURE__ */ jsx50(Button, {
3070
3276
  variant: "link",
3071
3277
  onClick: function() {
3072
3278
  return onRate(currentRating === "thumbsUp" ? "" : "thumbsUp");
@@ -3074,11 +3280,11 @@ var RatingThumbs = React31.forwardRef(function(param, ref) {
3074
3280
  className: cn("p-1 transition-colors disabled:opacity-50 [&_svg]:size-5", "hover:alq-rating-thumbsup/10"),
3075
3281
  "aria-label": "Thumbs up",
3076
3282
  disabled: isLoading,
3077
- children: /* @__PURE__ */ jsx45(ThumbsUp, {
3283
+ children: /* @__PURE__ */ jsx50(ThumbsUp, {
3078
3284
  className: cn("w-5 h-5 transition-all duration-500", animate && currentRating === "thumbsUp" && "animate-ping", isLoading && "animate-pulse", currentRating === "thumbsUp" ? "alq-rating-thumbsup fill-current stroke-current" : "alq-rating-thumbs-inactive fill-transparent")
3079
3285
  })
3080
3286
  }),
3081
- /* @__PURE__ */ jsx45(Button, {
3287
+ /* @__PURE__ */ jsx50(Button, {
3082
3288
  variant: "link",
3083
3289
  onClick: function() {
3084
3290
  return onRate(currentRating === "thumbsDown" ? "" : "thumbsDown");
@@ -3086,7 +3292,7 @@ var RatingThumbs = React31.forwardRef(function(param, ref) {
3086
3292
  className: cn("p-1 transition-colors disabled:opacity-50 mt-0.5 [&_svg]:size-5", "hover:bg-alq-rating-thumbsdown/10"),
3087
3293
  "aria-label": "Thumbs down",
3088
3294
  disabled: isLoading,
3089
- children: /* @__PURE__ */ jsx45(ThumbsDown, {
3295
+ children: /* @__PURE__ */ jsx50(ThumbsDown, {
3090
3296
  className: cn("w-5 h-5 transition-all duration-500", animate && currentRating === "thumbsDown" && "animate-ping", isLoading && "animate-pulse", currentRating === "thumbsDown" ? "alq-rating-thumbsdown fill-current stroke-current" : "alq-rating-thumbs-inactive fill-transparent")
3091
3297
  })
3092
3298
  })
@@ -3095,19 +3301,19 @@ var RatingThumbs = React31.forwardRef(function(param, ref) {
3095
3301
  });
3096
3302
  RatingThumbs.displayName = "RatingThumbs";
3097
3303
  // src/components/molecules/rating-comment.tsx
3098
- import * as React32 from "react";
3304
+ import * as React35 from "react";
3099
3305
  import { Book } from "lucide-react";
3100
- import { jsx as jsx46, jsxs as jsxs20 } from "react/jsx-runtime";
3101
- var RatingComment = React32.forwardRef(function(param, ref) {
3306
+ import { jsx as jsx51, jsxs as jsxs22 } from "react/jsx-runtime";
3307
+ var RatingComment = React35.forwardRef(function(param, ref) {
3102
3308
  var currentRating = param.currentRating, onRate = param.onRate, className = param.className, isLoading = param.isLoading;
3103
- var _React32_useState = _sliced_to_array(React32.useState(false), 2), open = _React32_useState[0], setOpen = _React32_useState[1];
3104
- var _React32_useState1 = _sliced_to_array(React32.useState(""), 2), comment = _React32_useState1[0], setComment = _React32_useState1[1];
3105
- var _React32_useState2 = _sliced_to_array(React32.useState(false), 2), animate = _React32_useState2[0], setAnimate = _React32_useState2[1];
3309
+ var _React35_useState = _sliced_to_array(React35.useState(false), 2), open = _React35_useState[0], setOpen = _React35_useState[1];
3310
+ var _React35_useState1 = _sliced_to_array(React35.useState(""), 2), comment = _React35_useState1[0], setComment = _React35_useState1[1];
3311
+ var _React35_useState2 = _sliced_to_array(React35.useState(false), 2), animate = _React35_useState2[0], setAnimate = _React35_useState2[1];
3106
3312
  var handleRate = function() {
3107
3313
  onRate(comment);
3108
3314
  setOpen(false);
3109
3315
  };
3110
- React32.useEffect(function() {
3316
+ React35.useEffect(function() {
3111
3317
  if (currentRating) {
3112
3318
  setAnimate(true);
3113
3319
  var timer = setTimeout(function() {
@@ -3120,39 +3326,39 @@ var RatingComment = React32.forwardRef(function(param, ref) {
3120
3326
  }, [
3121
3327
  currentRating
3122
3328
  ]);
3123
- React32.useEffect(function() {
3329
+ React35.useEffect(function() {
3124
3330
  setComment("");
3125
3331
  }, [
3126
3332
  open
3127
3333
  ]);
3128
- return /* @__PURE__ */ jsxs20(Dialog, {
3334
+ return /* @__PURE__ */ jsxs22(Dialog, {
3129
3335
  open: open,
3130
3336
  onOpenChange: setOpen,
3131
3337
  children: [
3132
- /* @__PURE__ */ jsx46(DialogTrigger, {
3338
+ /* @__PURE__ */ jsx51(DialogTrigger, {
3133
3339
  asChild: true,
3134
- children: /* @__PURE__ */ jsx46(Button, {
3340
+ children: /* @__PURE__ */ jsx51(Button, {
3135
3341
  ref: ref,
3136
3342
  variant: "link",
3137
3343
  size: "lg",
3138
3344
  className: cn("inline-flex p-2 items-center justify-center rounded-md text-sm font-medium transition-colors [&_svg]:size-5 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring bg-transparent hover:none disabled:pointer-events-none disabled:opacity-50", className),
3139
3345
  disabled: isLoading,
3140
- children: /* @__PURE__ */ jsx46(Book, {
3346
+ children: /* @__PURE__ */ jsx51(Book, {
3141
3347
  className: cn("w-5 h-5 transition-all duration-500", animate && "animate-ping", isLoading && "animate-pulse", "".concat(comment ? "alq-rating-comment" : "stroke-gray-400"))
3142
3348
  })
3143
3349
  })
3144
3350
  }),
3145
- /* @__PURE__ */ jsx46(DialogOverlay, {
3351
+ /* @__PURE__ */ jsx51(DialogOverlay, {
3146
3352
  className: "fixed inset-0 bg-black bg-opacity-50"
3147
3353
  }),
3148
- /* @__PURE__ */ jsxs20(DialogContent, {
3354
+ /* @__PURE__ */ jsxs22(DialogContent, {
3149
3355
  "aria-describedby": void 0,
3150
3356
  children: [
3151
- /* @__PURE__ */ jsx46(DialogTitle, {
3357
+ /* @__PURE__ */ jsx51(DialogTitle, {
3152
3358
  className: "text-lg font-medium",
3153
3359
  children: "Deja un comentario"
3154
3360
  }),
3155
- /* @__PURE__ */ jsx46("textarea", {
3361
+ /* @__PURE__ */ jsx51("textarea", {
3156
3362
  className: "mt-4 w-full p-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-primary",
3157
3363
  rows: 4,
3158
3364
  value: comment,
@@ -3160,9 +3366,9 @@ var RatingComment = React32.forwardRef(function(param, ref) {
3160
3366
  return setComment(e.target.value);
3161
3367
  }
3162
3368
  }),
3163
- /* @__PURE__ */ jsx46("div", {
3369
+ /* @__PURE__ */ jsx51("div", {
3164
3370
  className: "mt-4 flex justify-end",
3165
- children: /* @__PURE__ */ jsx46(Button, {
3371
+ children: /* @__PURE__ */ jsx51(Button, {
3166
3372
  onClick: handleRate,
3167
3373
  disabled: !comment,
3168
3374
  children: "Enviar"
@@ -3175,8 +3381,8 @@ var RatingComment = React32.forwardRef(function(param, ref) {
3175
3381
  });
3176
3382
  RatingComment.displayName = "RatingComment";
3177
3383
  // src/components/molecules/call-out.tsx
3178
- import * as React33 from "react";
3179
- import { ChevronDown as ChevronDown3, ChevronUp as ChevronUp2 } from "lucide-react";
3384
+ import * as React36 from "react";
3385
+ import { ChevronDown as ChevronDown4, ChevronUp as ChevronUp2 } from "lucide-react";
3180
3386
  // src/components/hooks/use-text-streaming.ts
3181
3387
  import { useState as useState10, useEffect as useEffect10, useRef, useCallback as useCallback2 } from "react";
3182
3388
  var CHAR_DELAY = 15;
@@ -3240,14 +3446,14 @@ function useTextStreaming(content, shouldStream, handleIsTextStreaming) {
3240
3446
  return displayedText;
3241
3447
  }
3242
3448
  // src/components/molecules/call-out.tsx
3243
- import { jsx as jsx47, jsxs as jsxs21 } from "react/jsx-runtime";
3244
- var CallOut = React33.forwardRef(function(_param, ref) {
3449
+ import { jsx as jsx52, jsxs as jsxs23 } from "react/jsx-runtime";
3450
+ var CallOut = React36.forwardRef(function(_param, ref) {
3245
3451
  var className = _param.className, children = _param.children, role = _param.role, props = _object_without_properties(_param, [
3246
3452
  "className",
3247
3453
  "children",
3248
3454
  "role"
3249
3455
  ]);
3250
- return /* @__PURE__ */ jsx47("div", _object_spread_props(_object_spread({
3456
+ return /* @__PURE__ */ jsx52("div", _object_spread_props(_object_spread({
3251
3457
  ref: ref,
3252
3458
  className: cn("alq--callout-box", className),
3253
3459
  "data-role": role
@@ -3255,41 +3461,41 @@ var CallOut = React33.forwardRef(function(_param, ref) {
3255
3461
  children: children
3256
3462
  }));
3257
3463
  });
3258
- var CallOutDate = React33.forwardRef(function(_param, ref) {
3464
+ var CallOutDate = React36.forwardRef(function(_param, ref) {
3259
3465
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
3260
3466
  "className",
3261
3467
  "children"
3262
3468
  ]);
3263
- return /* @__PURE__ */ jsx47("div", _object_spread_props(_object_spread({
3469
+ return /* @__PURE__ */ jsx52("div", _object_spread_props(_object_spread({
3264
3470
  ref: ref,
3265
3471
  className: cn("alq--callout-date", "text-sm text-muted-foreground", className)
3266
3472
  }, props), {
3267
3473
  children: children
3268
3474
  }));
3269
3475
  });
3270
- var CallOutActions = React33.forwardRef(function(_param, ref) {
3476
+ var CallOutActions = React36.forwardRef(function(_param, ref) {
3271
3477
  var className = _param.className, actions = _param.actions, role = _param.role, message = _param.message, props = _object_without_properties(_param, [
3272
3478
  "className",
3273
3479
  "actions",
3274
3480
  "role",
3275
3481
  "message"
3276
3482
  ]);
3277
- var _React33_useState = _sliced_to_array(React33.useState(false), 2), isLoading = _React33_useState[0], setIsLoading = _React33_useState[1];
3278
- var _React33_useState1 = _sliced_to_array(React33.useState(false), 2), isClicked = _React33_useState1[0], setIsClicked = _React33_useState1[1];
3483
+ var _React36_useState = _sliced_to_array(React36.useState(false), 2), isLoading = _React36_useState[0], setIsLoading = _React36_useState[1];
3484
+ var _React36_useState1 = _sliced_to_array(React36.useState(false), 2), isClicked = _React36_useState1[0], setIsClicked = _React36_useState1[1];
3279
3485
  if (role === "user") {
3280
3486
  return null;
3281
3487
  }
3282
- return /* @__PURE__ */ jsx47("div", _object_spread_props(_object_spread({
3488
+ return /* @__PURE__ */ jsx52("div", _object_spread_props(_object_spread({
3283
3489
  ref: ref,
3284
3490
  className: cn("alq--callout-actions", className)
3285
3491
  }, props), {
3286
3492
  children: actions.map(function(action) {
3287
3493
  var _action_component;
3288
- return action.custom ? /* @__PURE__ */ jsx47(React33.Fragment, {
3494
+ return action.custom ? /* @__PURE__ */ jsx52(React36.Fragment, {
3289
3495
  children: (_action_component = action.component) === null || _action_component === void 0 ? void 0 : _action_component.call(action, {
3290
3496
  message: message
3291
3497
  })
3292
- }, action.label) : /* @__PURE__ */ jsxs21("button", {
3498
+ }, action.label) : /* @__PURE__ */ jsxs23("button", {
3293
3499
  className: cn("alq--callout-action", {
3294
3500
  "alq--callout-animate-action": isLoading
3295
3501
  }, {
@@ -3305,13 +3511,13 @@ var CallOutActions = React33.forwardRef(function(_param, ref) {
3305
3511
  });
3306
3512
  },
3307
3513
  children: [
3308
- /* @__PURE__ */ jsx47("span", {
3514
+ /* @__PURE__ */ jsx52("span", {
3309
3515
  className: cn("alq-action-icon-wrapper", {
3310
3516
  "alq--callout-animate-action": isLoading
3311
3517
  }),
3312
3518
  children: action.icon
3313
3519
  }),
3314
- /* @__PURE__ */ jsx47("label", {
3520
+ /* @__PURE__ */ jsx52("label", {
3315
3521
  children: action.label
3316
3522
  })
3317
3523
  ]
@@ -3319,7 +3525,7 @@ var CallOutActions = React33.forwardRef(function(_param, ref) {
3319
3525
  })
3320
3526
  }));
3321
3527
  });
3322
- var CallOutResponse = React33.forwardRef(function(_param, ref) {
3528
+ var CallOutResponse = React36.forwardRef(function(_param, ref) {
3323
3529
  var className = _param.className, children = _param.children, role = _param.role, additionalInfo = _param.additionalInfo, toggleAdditionalInfo = _param.toggleAdditionalInfo, isStreaming = _param.isStreaming, handleIsTextStreaming = _param.handleIsTextStreaming, props = _object_without_properties(_param, [
3324
3530
  "className",
3325
3531
  "children",
@@ -3329,29 +3535,29 @@ var CallOutResponse = React33.forwardRef(function(_param, ref) {
3329
3535
  "isStreaming",
3330
3536
  "handleIsTextStreaming"
3331
3537
  ]);
3332
- var _React33_useState = _sliced_to_array(React33.useState(false), 2), isAdditionalInfoOpen = _React33_useState[0], setIsAdditionalInfoOpen = _React33_useState[1];
3538
+ var _React36_useState = _sliced_to_array(React36.useState(false), 2), isAdditionalInfoOpen = _React36_useState[0], setIsAdditionalInfoOpen = _React36_useState[1];
3333
3539
  var content = String(children || "");
3334
3540
  var shouldStream = role === "assistant" && isStreaming;
3335
3541
  var displayedContent = useTextStreaming(content, shouldStream !== null && shouldStream !== void 0 ? shouldStream : false, handleIsTextStreaming);
3336
3542
  var showAsToggle = additionalInfo && toggleAdditionalInfo;
3337
3543
  var showInline = additionalInfo && !toggleAdditionalInfo;
3338
- return /* @__PURE__ */ jsxs21("div", _object_spread_props(_object_spread({
3544
+ return /* @__PURE__ */ jsxs23("div", _object_spread_props(_object_spread({
3339
3545
  ref: ref,
3340
3546
  "data-role": role,
3341
3547
  className: cn("alq--callout-response", "max-w-none", "text-foreground", className)
3342
3548
  }, props), {
3343
3549
  children: [
3344
- /* @__PURE__ */ jsx47(RichText, {
3550
+ /* @__PURE__ */ jsx52(RichText, {
3345
3551
  content: displayedContent
3346
3552
  }),
3347
- showInline && /* @__PURE__ */ jsx47("div", {
3553
+ showInline && /* @__PURE__ */ jsx52("div", {
3348
3554
  className: cn("alq--callout-response-additional-info", "mt-2 text-sm text-muted-foreground whitespace-pre-line", "border-t border-border pt-2"),
3349
3555
  children: additionalInfo
3350
3556
  }),
3351
- showAsToggle && /* @__PURE__ */ jsxs21("div", {
3557
+ showAsToggle && /* @__PURE__ */ jsxs23("div", {
3352
3558
  className: cn("alq--callout-response-additional-info", "mt-2 border-t border-border pt-2"),
3353
3559
  children: [
3354
- /* @__PURE__ */ jsxs21(Button, {
3560
+ /* @__PURE__ */ jsxs23(Button, {
3355
3561
  type: "button",
3356
3562
  variant: "ghost",
3357
3563
  size: "sm",
@@ -3363,19 +3569,19 @@ var CallOutResponse = React33.forwardRef(function(_param, ref) {
3363
3569
  },
3364
3570
  "aria-expanded": isAdditionalInfoOpen,
3365
3571
  children: [
3366
- isAdditionalInfoOpen ? /* @__PURE__ */ jsx47(ChevronUp2, {
3572
+ isAdditionalInfoOpen ? /* @__PURE__ */ jsx52(ChevronUp2, {
3367
3573
  className: "h-4 w-4 mr-1.5 shrink-0 transition-transform"
3368
- }) : /* @__PURE__ */ jsx47(ChevronDown3, {
3574
+ }) : /* @__PURE__ */ jsx52(ChevronDown4, {
3369
3575
  className: "h-4 w-4 mr-1.5 shrink-0 transition-transform"
3370
3576
  }),
3371
3577
  isAdditionalInfoOpen ? "Hide details" : "Show details"
3372
3578
  ]
3373
3579
  }),
3374
- /* @__PURE__ */ jsx47("div", {
3580
+ /* @__PURE__ */ jsx52("div", {
3375
3581
  className: cn("grid transition-[grid-template-rows] duration-200 ease-out", isAdditionalInfoOpen ? "grid-rows-[1fr]" : "grid-rows-[0fr]"),
3376
- children: /* @__PURE__ */ jsx47("div", {
3582
+ children: /* @__PURE__ */ jsx52("div", {
3377
3583
  className: "overflow-hidden",
3378
- children: /* @__PURE__ */ jsx47("div", {
3584
+ children: /* @__PURE__ */ jsx52("div", {
3379
3585
  className: "text-sm text-muted-foreground pt-1 whitespace-pre-line",
3380
3586
  children: additionalInfo
3381
3587
  })
@@ -3392,8 +3598,8 @@ CallOutActions.displayName = "CallOutActions";
3392
3598
  CallOutResponse.displayName = "CallOutResponse";
3393
3599
  // src/components/organisms/assistant.tsx
3394
3600
  import { Send } from "lucide-react";
3395
- import { jsx as jsx48, jsxs as jsxs22 } from "react/jsx-runtime";
3396
- var Assistant = React34.forwardRef(function(_param, ref) {
3601
+ import { jsx as jsx53, jsxs as jsxs24 } from "react/jsx-runtime";
3602
+ var Assistant = React37.forwardRef(function(_param, ref) {
3397
3603
  var className = _param.className, sdk = _param.sdk, title = _param.title, description = _param.description, children = _param.children, props = _object_without_properties(_param, [
3398
3604
  "className",
3399
3605
  "sdk",
@@ -3401,17 +3607,17 @@ var Assistant = React34.forwardRef(function(_param, ref) {
3401
3607
  "description",
3402
3608
  "children"
3403
3609
  ]);
3404
- return /* @__PURE__ */ jsxs22("div", _object_spread_props(_object_spread({
3610
+ return /* @__PURE__ */ jsxs24("div", _object_spread_props(_object_spread({
3405
3611
  ref: ref,
3406
3612
  className: cn("flex flex-col h-full bg-background text-foreground", className)
3407
3613
  }, props), {
3408
3614
  children: [
3409
- (title || description) && /* @__PURE__ */ jsxs22(AssistantHeader, {
3615
+ (title || description) && /* @__PURE__ */ jsxs24(AssistantHeader, {
3410
3616
  children: [
3411
- title && /* @__PURE__ */ jsx48(AssistantTitle, {
3617
+ title && /* @__PURE__ */ jsx53(AssistantTitle, {
3412
3618
  title: title
3413
3619
  }),
3414
- description && /* @__PURE__ */ jsx48(AssistantDescription, {
3620
+ description && /* @__PURE__ */ jsx53(AssistantDescription, {
3415
3621
  description: description
3416
3622
  })
3417
3623
  ]
@@ -3421,16 +3627,16 @@ var Assistant = React34.forwardRef(function(_param, ref) {
3421
3627
  }));
3422
3628
  });
3423
3629
  Assistant.displayName = "Assistant";
3424
- var AssistantTitle = React34.forwardRef(function(_param, ref) {
3630
+ var AssistantTitle = React37.forwardRef(function(_param, ref) {
3425
3631
  var className = _param.className, title = _param.title, props = _object_without_properties(_param, [
3426
3632
  "className",
3427
3633
  "title"
3428
3634
  ]);
3429
- return /* @__PURE__ */ jsx48("div", _object_spread_props(_object_spread({
3635
+ return /* @__PURE__ */ jsx53("div", _object_spread_props(_object_spread({
3430
3636
  ref: ref,
3431
3637
  className: cn("text-foreground", className)
3432
3638
  }, props), {
3433
- children: /* @__PURE__ */ jsx48(Typography, {
3639
+ children: /* @__PURE__ */ jsx53(Typography, {
3434
3640
  typeStyle: "heading1",
3435
3641
  as: "h1",
3436
3642
  children: title
@@ -3438,16 +3644,16 @@ var AssistantTitle = React34.forwardRef(function(_param, ref) {
3438
3644
  }));
3439
3645
  });
3440
3646
  AssistantTitle.displayName = "AssistantTitle";
3441
- var AssistantDescription = React34.forwardRef(function(_param, ref) {
3647
+ var AssistantDescription = React37.forwardRef(function(_param, ref) {
3442
3648
  var className = _param.className, description = _param.description, props = _object_without_properties(_param, [
3443
3649
  "className",
3444
3650
  "description"
3445
3651
  ]);
3446
- return /* @__PURE__ */ jsx48("div", _object_spread_props(_object_spread({
3652
+ return /* @__PURE__ */ jsx53("div", _object_spread_props(_object_spread({
3447
3653
  ref: ref,
3448
3654
  className: cn("text-foreground", className)
3449
3655
  }, props), {
3450
- children: /* @__PURE__ */ jsx48(Typography, {
3656
+ children: /* @__PURE__ */ jsx53(Typography, {
3451
3657
  typeStyle: "display",
3452
3658
  as: "p",
3453
3659
  children: description
@@ -3455,12 +3661,12 @@ var AssistantDescription = React34.forwardRef(function(_param, ref) {
3455
3661
  }));
3456
3662
  });
3457
3663
  AssistantDescription.displayName = "AssistantDescription";
3458
- var AssistantHeader = React34.forwardRef(function(_param, ref) {
3664
+ var AssistantHeader = React37.forwardRef(function(_param, ref) {
3459
3665
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
3460
3666
  "className",
3461
3667
  "children"
3462
3668
  ]);
3463
- return /* @__PURE__ */ jsx48("div", _object_spread_props(_object_spread({
3669
+ return /* @__PURE__ */ jsx53("div", _object_spread_props(_object_spread({
3464
3670
  ref: ref,
3465
3671
  className: cn("bg-background text-foreground", className)
3466
3672
  }, props), {
@@ -3468,8 +3674,8 @@ var AssistantHeader = React34.forwardRef(function(_param, ref) {
3468
3674
  }));
3469
3675
  });
3470
3676
  AssistantHeader.displayName = "AssistantHeader";
3471
- var AssistantMessageArea = React34.forwardRef(function(_param, ref) {
3472
- var className = _param.className, messages = _param.messages, messagesEndRef = _param.messagesEndRef, actions = _param.actions, streamingMessageId = _param.streamingMessageId, thinkIndicator = _param.thinkIndicator, handleIsTextStreaming = _param.handleIsTextStreaming, toolFactory = _param.toolFactory, isLoading = _param.isLoading, showDetailedErrors = _param.showDetailedErrors, props = _object_without_properties(_param, [
3677
+ var AssistantMessageArea = React37.forwardRef(function(_param, ref) {
3678
+ var className = _param.className, messages = _param.messages, messagesEndRef = _param.messagesEndRef, actions = _param.actions, streamingMessageId = _param.streamingMessageId, thinkIndicator = _param.thinkIndicator, handleIsTextStreaming = _param.handleIsTextStreaming, toolFactory = _param.toolFactory, isLoading = _param.isLoading, showDetailedErrors = _param.showDetailedErrors, interleave = _param.interleave, awaitingUser = _param.awaitingUser, _isMessageStreaming = _param.isMessageStreaming, props = _object_without_properties(_param, [
3473
3679
  "className",
3474
3680
  "messages",
3475
3681
  "messagesEndRef",
@@ -3479,7 +3685,10 @@ var AssistantMessageArea = React34.forwardRef(function(_param, ref) {
3479
3685
  "handleIsTextStreaming",
3480
3686
  "toolFactory",
3481
3687
  "isLoading",
3482
- "showDetailedErrors"
3688
+ "showDetailedErrors",
3689
+ "interleave",
3690
+ "awaitingUser",
3691
+ "isMessageStreaming"
3483
3692
  ]);
3484
3693
  useEffect11(function() {
3485
3694
  var _messagesEndRef_current;
@@ -3487,72 +3696,76 @@ var AssistantMessageArea = React34.forwardRef(function(_param, ref) {
3487
3696
  behavior: "instant"
3488
3697
  });
3489
3698
  }, []);
3490
- return /* @__PURE__ */ jsxs22("div", _object_spread_props(_object_spread({
3699
+ return /* @__PURE__ */ jsxs24("div", _object_spread_props(_object_spread({
3491
3700
  ref: ref,
3492
3701
  className: cn("p-6 overflow-y-auto flex-grow bg-background", className)
3493
3702
  }, props), {
3494
3703
  children: [
3495
- messages.map(function(message) {
3704
+ interleave === null || interleave === void 0 ? void 0 : interleave(0),
3705
+ messages.map(function(message, index) {
3496
3706
  var _message_tooler;
3497
- return /* @__PURE__ */ jsx48("div", {
3498
- children: /* @__PURE__ */ jsxs22(CallOut, {
3499
- role: message.role,
3500
- message: message,
3501
- children: [
3502
- streamingMessageId === message.id && (isLoading || message.content.length === 0) && !message.error_code && /* @__PURE__ */ jsx48("div", {
3503
- children: thinkIndicator !== null && thinkIndicator !== void 0 ? thinkIndicator : /* @__PURE__ */ jsx48(ThinkIndicator, {})
3504
- }),
3505
- message.error_code && /* @__PURE__ */ jsx48(CallOutResponse, {
3506
- role: "assistant",
3507
- "data-error-code": message.error_code,
3508
- additionalInfo: showDetailedErrors ? "".concat(message.error_detail).concat(message.stream_id ? "\nstream id: ".concat(message.stream_id) : "") : void 0,
3509
- toggleAdditionalInfo: true,
3510
- children: getErrorMessage(message.error_code)
3511
- }),
3512
- !message.error_code && ((_message_tooler = message.tooler) === null || _message_tooler === void 0 ? void 0 : _message_tooler.filter(hasToolResult).map(function(tool, index) {
3513
- var _tool_tool_summary, _tool_tool_summary1;
3514
- return /* @__PURE__ */ jsx48(React34.Fragment, {
3515
- children: toolFactory === null || toolFactory === void 0 ? void 0 : toolFactory.createTool(((_tool_tool_summary = tool.tool_summary) === null || _tool_tool_summary === void 0 ? void 0 : _tool_tool_summary.name) || "", tool.tool_output)
3516
- }, tool.control_id || "".concat((_tool_tool_summary1 = tool.tool_summary) === null || _tool_tool_summary1 === void 0 ? void 0 : _tool_tool_summary1.name, "-").concat(index));
3517
- })),
3518
- message.content && !message.error_code && /* @__PURE__ */ jsxs22("div", {
3519
- "data-role": message.role,
3520
- className: "alq--callout-message-container",
3521
- children: [
3522
- message.created_at && streamingMessageId !== message.id && /* @__PURE__ */ jsx48("div", {
3523
- className: "text-xs text-muted-foreground/80 pb-1 alq--callout-message-date",
3524
- children: new Date(Number(message.created_at)).toLocaleString("es-ES", {
3525
- hour: "2-digit",
3526
- minute: "2-digit",
3527
- hour12: false
3528
- })
3529
- }),
3530
- /* @__PURE__ */ jsx48(CallOutResponse, {
3531
- role: message.role,
3532
- isStreaming: streamingMessageId === message.id,
3533
- handleIsTextStreaming: handleIsTextStreaming,
3534
- additionalInfo: streamingMessageId !== message.id ? message === null || message === void 0 ? void 0 : message.additionalInfo : void 0,
3535
- children: message.content
3536
- }),
3537
- actions && streamingMessageId !== message.id && /* @__PURE__ */ jsx48(CallOutActions, {
3538
- actions: actions,
3539
- message: message,
3540
- role: message.role
3541
- }, message.id)
3542
- ]
3543
- })
3544
- ]
3545
- }, message.id)
3707
+ return /* @__PURE__ */ jsxs24("div", {
3708
+ children: [
3709
+ /* @__PURE__ */ jsxs24(CallOut, {
3710
+ role: message.role,
3711
+ message: message,
3712
+ children: [
3713
+ streamingMessageId === message.id && (isLoading || message.content.length === 0) && !message.error_code && !awaitingUser && /* @__PURE__ */ jsx53("div", {
3714
+ children: thinkIndicator !== null && thinkIndicator !== void 0 ? thinkIndicator : /* @__PURE__ */ jsx53(ThinkIndicator, {})
3715
+ }),
3716
+ message.error_code && /* @__PURE__ */ jsx53(CallOutResponse, {
3717
+ role: "assistant",
3718
+ "data-error-code": message.error_code,
3719
+ additionalInfo: showDetailedErrors ? "".concat(message.error_detail).concat(message.taskid ? "\ntask id: ".concat(message.taskid) : "") : void 0,
3720
+ toggleAdditionalInfo: true,
3721
+ children: getErrorMessage(message.error_code)
3722
+ }),
3723
+ !message.error_code && ((_message_tooler = message.tooler) === null || _message_tooler === void 0 ? void 0 : _message_tooler.filter(hasToolResult).map(function(tool, index2) {
3724
+ var _tool_tool_summary, _tool_tool_summary1;
3725
+ return /* @__PURE__ */ jsx53(React37.Fragment, {
3726
+ children: toolFactory === null || toolFactory === void 0 ? void 0 : toolFactory.createTool(((_tool_tool_summary = tool.tool_summary) === null || _tool_tool_summary === void 0 ? void 0 : _tool_tool_summary.name) || "", tool.tool_output)
3727
+ }, tool.control_id || "".concat((_tool_tool_summary1 = tool.tool_summary) === null || _tool_tool_summary1 === void 0 ? void 0 : _tool_tool_summary1.name, "-").concat(index2));
3728
+ })),
3729
+ message.content && !message.error_code && /* @__PURE__ */ jsxs24("div", {
3730
+ "data-role": message.role,
3731
+ className: "alq--callout-message-container",
3732
+ children: [
3733
+ message.created_at && streamingMessageId !== message.id && /* @__PURE__ */ jsx53("div", {
3734
+ className: "text-xs text-muted-foreground/80 pb-1 alq--callout-message-date",
3735
+ children: new Date(Number(message.created_at)).toLocaleString("es-ES", {
3736
+ hour: "2-digit",
3737
+ minute: "2-digit",
3738
+ hour12: false
3739
+ })
3740
+ }),
3741
+ /* @__PURE__ */ jsx53(CallOutResponse, {
3742
+ role: message.role,
3743
+ isStreaming: streamingMessageId === message.id,
3744
+ handleIsTextStreaming: handleIsTextStreaming,
3745
+ additionalInfo: streamingMessageId !== message.id ? message === null || message === void 0 ? void 0 : message.additionalInfo : void 0,
3746
+ children: message.content
3747
+ }),
3748
+ actions && streamingMessageId !== message.id && /* @__PURE__ */ jsx53(CallOutActions, {
3749
+ actions: actions,
3750
+ message: message,
3751
+ role: message.role
3752
+ }, message.id)
3753
+ ]
3754
+ })
3755
+ ]
3756
+ }, message.id),
3757
+ interleave === null || interleave === void 0 ? void 0 : interleave(index + 1)
3758
+ ]
3546
3759
  }, message.id);
3547
3760
  }),
3548
- /* @__PURE__ */ jsx48("div", {
3761
+ /* @__PURE__ */ jsx53("div", {
3549
3762
  ref: messagesEndRef
3550
3763
  })
3551
3764
  ]
3552
3765
  }));
3553
3766
  });
3554
3767
  AssistantMessageArea.displayName = "AssistantMessageArea";
3555
- var AssistantInput = React34.forwardRef(function(_param, ref) {
3768
+ var AssistantInput = React37.forwardRef(function(_param, ref) {
3556
3769
  var className = _param.className, sendMessageFunc = _param.sendMessageFunc, isButtonDisabled = _param.isButtonDisabled, input = _param.input, handleInputChange = _param.handleInputChange, isMessageStreaming = _param.isMessageStreaming, speechToTextComponent = _param.speechToTextComponent, userToolboxComponent = _param.userToolboxComponent, placeholders = _param.placeholders, onFileDrop = _param.onFileDrop, attachmentsSlot = _param.attachmentsSlot, props = _object_without_properties(_param, [
3557
3770
  "className",
3558
3771
  "sendMessageFunc",
@@ -3601,7 +3814,7 @@ var AssistantInput = React34.forwardRef(function(_param, ref) {
3601
3814
  onFileDrop
3602
3815
  ]);
3603
3816
  var placeholder = placeholders ? isMessageStreaming ? placeholders[0] : placeholders[1] : isMessageStreaming ? "Processing..." : "Type your message here...";
3604
- return /* @__PURE__ */ jsxs22("form", _object_spread_props(_object_spread({
3817
+ return /* @__PURE__ */ jsxs24("form", _object_spread_props(_object_spread({
3605
3818
  onSubmit: sendMessageFunc,
3606
3819
  className: cn("flex flex-col relative rounded-lg border border-input bg-background", "focus-within:ring-2 focus-within:ring-ring", onFileDrop && isDragging && "ring-2 ring-primary/50 alq--assistant-input-dragover", className),
3607
3820
  ref: ref,
@@ -3612,7 +3825,7 @@ var AssistantInput = React34.forwardRef(function(_param, ref) {
3612
3825
  }, props), {
3613
3826
  children: [
3614
3827
  attachmentsSlot,
3615
- /* @__PURE__ */ jsx48("textarea", {
3828
+ /* @__PURE__ */ jsx53("textarea", {
3616
3829
  disabled: isButtonDisabled,
3617
3830
  value: input,
3618
3831
  onChange: handleInputChange,
@@ -3625,16 +3838,17 @@ var AssistantInput = React34.forwardRef(function(_param, ref) {
3625
3838
  }
3626
3839
  }
3627
3840
  }),
3628
- /* @__PURE__ */ jsxs22("div", {
3841
+ /* @__PURE__ */ jsxs24("div", {
3629
3842
  className: "flex items-center relative alq--assistant-actions",
3630
3843
  children: [
3631
3844
  userToolboxComponent,
3632
3845
  speechToTextComponent,
3633
- /* @__PURE__ */ jsx48("button", {
3846
+ /* @__PURE__ */ jsx53("button", {
3634
3847
  type: "submit",
3848
+ "aria-label": "Send",
3635
3849
  disabled: isButtonDisabled,
3636
3850
  className: cn("w-10 h-10 rounded-full flex items-center justify-center alq--assistant-button-send", isButtonDisabled ? "bg-muted text-muted-foreground" : "bg-primary text-primary-foreground hover:bg-primary/90"),
3637
- children: /* @__PURE__ */ jsx48(Send, {
3851
+ children: /* @__PURE__ */ jsx53(Send, {
3638
3852
  className: "w-5 h-5"
3639
3853
  })
3640
3854
  })
@@ -3728,7 +3942,7 @@ var useDocumentReader = function(url, getDocument) {
3728
3942
  // src/components/hooks/use-resize-observer.ts
3729
3943
  import { useEffect as useEffect12, useRef as useRef3 } from "react";
3730
3944
  // src/components/organisms/rating-dialog.tsx
3731
- import { jsx as jsx49, jsxs as jsxs23 } from "react/jsx-runtime";
3945
+ import { jsx as jsx54, jsxs as jsxs25 } from "react/jsx-runtime";
3732
3946
  function RatingDialog(param) {
3733
3947
  var sendRating = param.sendRating, topicId = param.topicId, assistantId = param.assistantId, isOpen = param.isOpen, onOpenChange = param.onOpenChange, setHasRatedTopic = param.setHasRatedTopic;
3734
3948
  var _useToast = useToast(), toast2 = _useToast.toast;
@@ -3744,7 +3958,7 @@ function RatingDialog(param) {
3744
3958
  success ? setHasRatedTopic(true) : toast2({
3745
3959
  title: "Error",
3746
3960
  description: "Hubo un error al enviar la calificaci\xf3n",
3747
- action: /* @__PURE__ */ jsx49(ToastAction, {
3961
+ action: /* @__PURE__ */ jsx54(ToastAction, {
3748
3962
  altText: "Goto schedule to undo",
3749
3963
  children: "Cerrar"
3750
3964
  })
@@ -3754,26 +3968,26 @@ function RatingDialog(param) {
3754
3968
  setHasRatedTopic(true);
3755
3969
  onOpenChange(false);
3756
3970
  };
3757
- return /* @__PURE__ */ jsx49(Dialog, {
3971
+ return /* @__PURE__ */ jsx54(Dialog, {
3758
3972
  open: isOpen,
3759
3973
  onOpenChange: onOpenChange,
3760
- children: /* @__PURE__ */ jsxs23(DialogContent, {
3974
+ children: /* @__PURE__ */ jsxs25(DialogContent, {
3761
3975
  className: "sm:max-w-md",
3762
3976
  children: [
3763
- /* @__PURE__ */ jsxs23(DialogHeader, {
3977
+ /* @__PURE__ */ jsxs25(DialogHeader, {
3764
3978
  children: [
3765
- /* @__PURE__ */ jsx49(DialogTitle, {
3979
+ /* @__PURE__ */ jsx54(DialogTitle, {
3766
3980
  children: "Calific\xE1 esta conversaci\xF3n"
3767
3981
  }),
3768
- /* @__PURE__ */ jsx49(DialogDescription, {
3982
+ /* @__PURE__ */ jsx54(DialogDescription, {
3769
3983
  children: "Por favor, compart\xED tu opini\xF3n sobre el asistente."
3770
3984
  })
3771
3985
  ]
3772
3986
  }),
3773
- /* @__PURE__ */ jsxs23("div", {
3987
+ /* @__PURE__ */ jsxs25("div", {
3774
3988
  className: "flex flex-row justify-center gap-4 py-4",
3775
3989
  children: [
3776
- /* @__PURE__ */ jsx49(RatingStars, {
3990
+ /* @__PURE__ */ jsx54(RatingStars, {
3777
3991
  currentRating: ratingStars,
3778
3992
  onRate: function(newRating) {
3779
3993
  return handleRate("score", newRating, onHandleRateSuccess);
@@ -3781,7 +3995,7 @@ function RatingDialog(param) {
3781
3995
  isLoading: isLoading,
3782
3996
  className: "p-2 rounded"
3783
3997
  }),
3784
- /* @__PURE__ */ jsx49(RatingThumbs, {
3998
+ /* @__PURE__ */ jsx54(RatingThumbs, {
3785
3999
  currentRating: ratingComment,
3786
4000
  onRate: function(newRating) {
3787
4001
  return handleRate("description", newRating, onHandleRateSuccess);
@@ -3789,7 +4003,7 @@ function RatingDialog(param) {
3789
4003
  direction: "row",
3790
4004
  isLoading: isLoading
3791
4005
  }),
3792
- /* @__PURE__ */ jsx49(RatingComment, {
4006
+ /* @__PURE__ */ jsx54(RatingComment, {
3793
4007
  currentRating: ratingComment,
3794
4008
  onRate: function(newRating) {
3795
4009
  return handleRate("description", newRating, onHandleRateSuccess);
@@ -3798,12 +4012,12 @@ function RatingDialog(param) {
3798
4012
  })
3799
4013
  ]
3800
4014
  }),
3801
- /* @__PURE__ */ jsx49("div", {
4015
+ /* @__PURE__ */ jsx54("div", {
3802
4016
  className: "flex flex-row justify-center gap-4",
3803
- children: /* @__PURE__ */ jsx49(Button, {
4017
+ children: /* @__PURE__ */ jsx54(Button, {
3804
4018
  onClick: handleCancelRate,
3805
4019
  variant: "secondary",
3806
- children: /* @__PURE__ */ jsx49(Typography, {
4020
+ children: /* @__PURE__ */ jsx54(Typography, {
3807
4021
  as: "p",
3808
4022
  typeStyle: "tiny",
3809
4023
  children: "No, gracias."
@@ -3821,24 +4035,24 @@ var EditingStatus = /* @__PURE__ */ function(EditingStatus2) {
3821
4035
  return EditingStatus2;
3822
4036
  }(EditingStatus || {});
3823
4037
  // src/providers/alquimia-ui-provider.tsx
3824
- import * as React35 from "react";
3825
- import { jsx as jsx50 } from "react/jsx-runtime";
4038
+ import * as React38 from "react";
4039
+ import { jsx as jsx55 } from "react/jsx-runtime";
3826
4040
  function AlquimiaUIProvider(param) {
3827
4041
  var _param_defaultMode = param.defaultMode, defaultMode = _param_defaultMode === void 0 ? "system" : _param_defaultMode, children = param.children;
3828
- var _React35_useState = _sliced_to_array(React35.useState(function() {
4042
+ var _React38_useState = _sliced_to_array(React38.useState(function() {
3829
4043
  if (defaultMode !== "system") return defaultMode;
3830
4044
  if (typeof window !== "undefined") {
3831
4045
  return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
3832
4046
  }
3833
4047
  return "light";
3834
- }), 2), resolvedTheme = _React35_useState[0], setResolvedTheme = _React35_useState[1];
4048
+ }), 2), resolvedTheme = _React38_useState[0], setResolvedTheme = _React38_useState[1];
3835
4049
  function applyTheme(theme) {
3836
4050
  if (typeof document !== "undefined") {
3837
4051
  document.documentElement.classList.toggle("dark", theme === "dark");
3838
4052
  }
3839
4053
  setResolvedTheme(theme);
3840
4054
  }
3841
- React35.useEffect(function() {
4055
+ React38.useEffect(function() {
3842
4056
  if (defaultMode !== "system") {
3843
4057
  applyTheme(defaultMode);
3844
4058
  return;
@@ -3855,7 +4069,7 @@ function AlquimiaUIProvider(param) {
3855
4069
  }, [
3856
4070
  defaultMode
3857
4071
  ]);
3858
- return /* @__PURE__ */ jsx50(ThemeContext.Provider, {
4072
+ return /* @__PURE__ */ jsx55(ThemeContext.Provider, {
3859
4073
  value: {
3860
4074
  theme: resolvedTheme,
3861
4075
  setTheme: applyTheme
@@ -3863,5 +4077,5 @@ function AlquimiaUIProvider(param) {
3863
4077
  children: children
3864
4078
  });
3865
4079
  }
3866
- export { Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlquimiaUIProvider, AspectRatio, Assistant, AssistantButton, AssistantInput, AssistantMessageArea, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CallOut, CallOutActions, CallOutDate, CallOutResponse, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImageWithHeadingAndDescriptionAvatarHorizontal, CardImageWithHeadingAndDescriptionHorizontal, CardTitle, CardWithImageHeadingDescriptionAvatarVertical, CardWithImageHeadingDescriptionVertical, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, EditingStatus, Hero, HeroContent, Input, Label2 as Label, Loader, MessagesWindow, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageContainer, Popover, PopoverContent, PopoverTrigger, QueryBox, RatingComment, RatingDialog, RatingStars, RatingThumbs, RichText, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, Sidebar, SidebarFooter, Skeleton, Slider, Toaster2 as SonnerToaster, SpeechToText, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeContext, ThinkIndicator, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typography, Whisper, badgeVariants, blobToBase64, buttonVariants, cn, getCookies, getErrorMessage, hasToolResult, navigationMenuTriggerStyle, parseTextToSpeech, reducer, thinkIndicatorVariants, toast, toggleVariants, truncateString, useAlquimiaTheme, useDocumentReader, useTextStreaming, useToast };
4080
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlquimiaUIProvider, AspectRatio, Assistant, AssistantButton, AssistantInput, AssistantMessageArea, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CHART_PALETTE, Calendar, CallOut, CallOutActions, CallOutDate, CallOutResponse, Card, CardContent, CardDescription, CardFooter, CardHeader, CardImageWithHeadingAndDescriptionAvatarHorizontal, CardImageWithHeadingAndDescriptionHorizontal, CardTitle, CardWithImageHeadingDescriptionAvatarVertical, CardWithImageHeadingDescriptionVertical, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Chart, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, EditingStatus, Hero, HeroContent, Input, Label2 as Label, Loader, MessagesWindow, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageContainer, Popover, PopoverContent, PopoverTrigger, Progress, QueryBox, RadioGroup, RadioGroupItem, RatingComment, RatingDialog, RatingStars, RatingThumbs, RichText, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, Sidebar, SidebarFooter, Skeleton, Slider, Toaster2 as SonnerToaster, SpeechToText, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeContext, ThinkIndicator, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typography, Whisper, badgeVariants, blobToBase64, buttonVariants, cn, getCookies, getErrorMessage, hasToolResult, navigationMenuTriggerStyle, parseTextToSpeech, reducer, themedChartAxes, thinkIndicatorVariants, toast, toggleVariants, truncateString, useAlquimiaTheme, useDocumentReader, useTextStreaming, useToast };
3867
4081
  //# sourceMappingURL=index.mjs.map