@alquimia-ai/ui 1.2.3 → 1.3.0

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 (54) hide show
  1. package/dist/components/atoms/index.d.mts +4 -1
  2. package/dist/components/atoms/index.d.ts +4 -1
  3. package/dist/components/atoms/index.js +39 -17
  4. package/dist/components/atoms/index.js.map +1 -1
  5. package/dist/components/atoms/index.mjs +35 -13
  6. package/dist/components/atoms/index.mjs.map +1 -1
  7. package/dist/components/hooks/index.js +41 -32
  8. package/dist/components/hooks/index.js.map +1 -1
  9. package/dist/components/hooks/index.mjs +42 -33
  10. package/dist/components/hooks/index.mjs.map +1 -1
  11. package/dist/components/index.d.mts +2 -1
  12. package/dist/components/index.d.ts +2 -1
  13. package/dist/components/index.js +39 -17
  14. package/dist/components/index.js.map +1 -1
  15. package/dist/components/index.mjs +35 -13
  16. package/dist/components/index.mjs.map +1 -1
  17. package/dist/components/molecules/documents/index.js +82 -52
  18. package/dist/components/molecules/documents/index.js.map +1 -1
  19. package/dist/components/molecules/documents/index.mjs +67 -37
  20. package/dist/components/molecules/documents/index.mjs.map +1 -1
  21. package/dist/components/molecules/index.js +186 -156
  22. package/dist/components/molecules/index.js.map +1 -1
  23. package/dist/components/molecules/index.mjs +179 -149
  24. package/dist/components/molecules/index.mjs.map +1 -1
  25. package/dist/components/molecules/viewers/index.js +31 -10
  26. package/dist/components/molecules/viewers/index.js.map +1 -1
  27. package/dist/components/molecules/viewers/index.mjs +30 -9
  28. package/dist/components/molecules/viewers/index.mjs.map +1 -1
  29. package/dist/components/organisms/index.d.mts +3 -1
  30. package/dist/components/organisms/index.d.ts +3 -1
  31. package/dist/components/organisms/index.js +228 -196
  32. package/dist/components/organisms/index.js.map +1 -1
  33. package/dist/components/organisms/index.mjs +217 -185
  34. package/dist/components/organisms/index.mjs.map +1 -1
  35. package/dist/components/templates/cards/index.js +57 -36
  36. package/dist/components/templates/cards/index.js.map +1 -1
  37. package/dist/components/templates/cards/index.mjs +45 -24
  38. package/dist/components/templates/cards/index.mjs.map +1 -1
  39. package/dist/components/templates/index.js +57 -36
  40. package/dist/components/templates/index.js.map +1 -1
  41. package/dist/components/templates/index.mjs +45 -24
  42. package/dist/components/templates/index.mjs.map +1 -1
  43. package/dist/index.d.mts +3 -2
  44. package/dist/index.d.ts +3 -2
  45. package/dist/index.js +283 -250
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.mjs +262 -229
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/package.json +137 -0
  50. package/dist/types/index.d.mts +12 -1
  51. package/dist/types/index.d.ts +12 -1
  52. package/dist/types/index.js.map +1 -1
  53. package/dist/types/index.mjs.map +1 -1
  54. package/package.json +21 -3
@@ -198,7 +198,7 @@ function SpeechToText({
198
198
  }
199
199
 
200
200
  // src/components/organisms/assistant.tsx
201
- var React33 = __toESM(require("react"));
201
+ var React34 = __toESM(require("react"));
202
202
  var import_react9 = require("react");
203
203
 
204
204
  // src/components/atoms/ui/button.tsx
@@ -1499,8 +1499,29 @@ var Loader = React22.forwardRef(
1499
1499
  );
1500
1500
  Loader.displayName = "Loader";
1501
1501
 
1502
- // src/components/hooks/use-toast.ts
1502
+ // src/components/atoms/ui/separator.tsx
1503
1503
  var React23 = __toESM(require("react"));
1504
+ var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
1505
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1506
+ var Separator2 = React23.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1507
+ SeparatorPrimitive.Root,
1508
+ {
1509
+ ref,
1510
+ decorative,
1511
+ orientation,
1512
+ className: cn(
1513
+ "shrink-0 bg-border",
1514
+ orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
1515
+ className,
1516
+ "alq--separator"
1517
+ ),
1518
+ ...props
1519
+ }
1520
+ ));
1521
+ Separator2.displayName = SeparatorPrimitive.Root.displayName;
1522
+
1523
+ // src/components/hooks/use-toast.ts
1524
+ var React24 = __toESM(require("react"));
1504
1525
  var TOAST_LIMIT = 1;
1505
1526
  var TOAST_REMOVE_DELAY = 1e6;
1506
1527
  var count = 0;
@@ -1601,8 +1622,8 @@ function toast({ ...props }) {
1601
1622
  };
1602
1623
  }
1603
1624
  function useToast() {
1604
- const [state, setState] = React23.useState(memoryState);
1605
- React23.useEffect(() => {
1625
+ const [state, setState] = React24.useState(memoryState);
1626
+ React24.useEffect(() => {
1606
1627
  listeners.push(setState);
1607
1628
  return () => {
1608
1629
  const index = listeners.indexOf(setState);
@@ -1619,13 +1640,13 @@ function useToast() {
1619
1640
  }
1620
1641
 
1621
1642
  // src/components/atoms/ui/toaster.tsx
1622
- var import_jsx_runtime30 = require("react/jsx-runtime");
1643
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1623
1644
 
1624
1645
  // src/components/atoms/ui/think-indicator.tsx
1625
- var React24 = __toESM(require("react"));
1646
+ var React25 = __toESM(require("react"));
1626
1647
  var import_react5 = require("react");
1627
1648
  var import_class_variance_authority8 = require("class-variance-authority");
1628
- var import_jsx_runtime31 = require("react/jsx-runtime");
1649
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1629
1650
  var thinkIndicatorVariants = (0, import_class_variance_authority8.cva)(
1630
1651
  "flex items-center gap-3",
1631
1652
  {
@@ -1647,7 +1668,7 @@ var thinkIndicatorVariants = (0, import_class_variance_authority8.cva)(
1647
1668
  }
1648
1669
  }
1649
1670
  );
1650
- var ThinkIndicator = React24.forwardRef(
1671
+ var ThinkIndicator = React25.forwardRef(
1651
1672
  ({
1652
1673
  className,
1653
1674
  variant,
@@ -1678,14 +1699,14 @@ var ThinkIndicator = React24.forwardRef(
1678
1699
  }
1679
1700
  return () => clearInterval(timer);
1680
1701
  }, [thoughts, interval, currentThoughtIndex]);
1681
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
1702
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1682
1703
  "div",
1683
1704
  {
1684
1705
  ref,
1685
1706
  className: cn(thinkIndicatorVariants({ variant, size }), className, "alq--think-indicator"),
1686
1707
  ...props,
1687
1708
  children: [
1688
- loader || /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1709
+ loader || /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1689
1710
  Loader,
1690
1711
  {
1691
1712
  className: cn(
@@ -1693,7 +1714,7 @@ var ThinkIndicator = React24.forwardRef(
1693
1714
  )
1694
1715
  }
1695
1716
  ),
1696
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1717
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1697
1718
  "div",
1698
1719
  {
1699
1720
  className: cn(
@@ -1713,10 +1734,10 @@ ThinkIndicator.displayName = "ThinkIndicator";
1713
1734
 
1714
1735
  // src/components/molecules/page-container.tsx
1715
1736
  var import_react6 = require("react");
1716
- var import_jsx_runtime32 = require("react/jsx-runtime");
1737
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1717
1738
  var PageContainer = (0, import_react6.forwardRef)(
1718
1739
  ({ className, ...props }, ref) => {
1719
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1740
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1720
1741
  "div",
1721
1742
  {
1722
1743
  ref,
@@ -1729,11 +1750,11 @@ var PageContainer = (0, import_react6.forwardRef)(
1729
1750
  PageContainer.displayName = "PageContainer";
1730
1751
 
1731
1752
  // src/components/molecules/assistant-button.tsx
1732
- var React25 = __toESM(require("react"));
1753
+ var React26 = __toESM(require("react"));
1733
1754
  var import_react7 = require("react");
1734
- var import_jsx_runtime33 = require("react/jsx-runtime");
1735
- var AssistantSuggestions = React25.forwardRef(({ suggestions, showSuggestions, className }, ref) => {
1736
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1755
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1756
+ var AssistantSuggestions = React26.forwardRef(({ suggestions, showSuggestions, className }, ref) => {
1757
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1737
1758
  "div",
1738
1759
  {
1739
1760
  ref,
@@ -1743,7 +1764,7 @@ var AssistantSuggestions = React25.forwardRef(({ suggestions, showSuggestions, c
1743
1764
  showSuggestions ? "opacity-100 translate-y-0" : "opacity-0 translate-y-4",
1744
1765
  className
1745
1766
  ),
1746
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "rounded-lg p-2 pr-0 w-64", children: suggestions.map((suggestion, index) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1767
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "rounded-lg p-2 pr-0 w-64", children: suggestions.map((suggestion, index) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1747
1768
  "button",
1748
1769
  {
1749
1770
  onClick: () => suggestion.action?.(),
@@ -1759,8 +1780,8 @@ var AssistantSuggestions = React25.forwardRef(({ suggestions, showSuggestions, c
1759
1780
  showSuggestions ? "opacity-100 translate-y-0" : "opacity-0 translate-y-4"
1760
1781
  ),
1761
1782
  children: [
1762
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(suggestion.icon, { className: "w-5 h-5 text-primary" }),
1763
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "text-xs whitespace-nowrap font-normal", children: suggestion.label })
1783
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(suggestion.icon, { className: "w-5 h-5 text-primary" }),
1784
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-xs whitespace-nowrap font-normal", children: suggestion.label })
1764
1785
  ]
1765
1786
  },
1766
1787
  index
@@ -1769,7 +1790,7 @@ var AssistantSuggestions = React25.forwardRef(({ suggestions, showSuggestions, c
1769
1790
  );
1770
1791
  });
1771
1792
  AssistantSuggestions.displayName = "Suggestions";
1772
- var AssistantButton = React25.forwardRef(
1793
+ var AssistantButton = React26.forwardRef(
1773
1794
  ({
1774
1795
  icon: Icon2,
1775
1796
  clickAction,
@@ -1790,7 +1811,7 @@ var AssistantButton = React25.forwardRef(
1790
1811
  setShowSuggestions(false);
1791
1812
  setTimeout(() => setIsVisible(false), 300);
1792
1813
  };
1793
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1814
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1794
1815
  "div",
1795
1816
  {
1796
1817
  ref,
@@ -1801,15 +1822,15 @@ var AssistantButton = React25.forwardRef(
1801
1822
  ),
1802
1823
  onMouseEnter: handleMouseEnter,
1803
1824
  onMouseLeave: handleMouseLeave,
1804
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "relative group", children: [
1805
- isVisible && suggestions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1825
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "relative group", children: [
1826
+ isVisible && suggestions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1806
1827
  AssistantSuggestions,
1807
1828
  {
1808
1829
  suggestions,
1809
1830
  showSuggestions
1810
1831
  }
1811
1832
  ),
1812
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1833
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1813
1834
  Button,
1814
1835
  {
1815
1836
  variant: "outline",
@@ -1823,7 +1844,7 @@ var AssistantButton = React25.forwardRef(
1823
1844
  "alq--assistant-button"
1824
1845
  ),
1825
1846
  onClick: clickAction,
1826
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1847
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1827
1848
  Icon2,
1828
1849
  {
1829
1850
  style: { width: "22px", height: "22px" },
@@ -1840,19 +1861,19 @@ var AssistantButton = React25.forwardRef(
1840
1861
  AssistantButton.displayName = "AssistantButton";
1841
1862
 
1842
1863
  // src/components/molecules/carousel.tsx
1843
- var React26 = __toESM(require("react"));
1864
+ var React27 = __toESM(require("react"));
1844
1865
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
1845
1866
  var import_lucide_react9 = require("lucide-react");
1846
- var import_jsx_runtime34 = require("react/jsx-runtime");
1847
- var CarouselContext = React26.createContext(null);
1867
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1868
+ var CarouselContext = React27.createContext(null);
1848
1869
  function useCarousel() {
1849
- const context = React26.useContext(CarouselContext);
1870
+ const context = React27.useContext(CarouselContext);
1850
1871
  if (!context) {
1851
1872
  throw new Error("useCarousel must be used within a <Carousel />");
1852
1873
  }
1853
1874
  return context;
1854
1875
  }
1855
- var Carousel = React26.forwardRef(
1876
+ var Carousel = React27.forwardRef(
1856
1877
  ({
1857
1878
  orientation = "horizontal",
1858
1879
  opts,
@@ -1869,22 +1890,22 @@ var Carousel = React26.forwardRef(
1869
1890
  },
1870
1891
  plugins
1871
1892
  );
1872
- const [canScrollPrev, setCanScrollPrev] = React26.useState(false);
1873
- const [canScrollNext, setCanScrollNext] = React26.useState(false);
1874
- const onSelect = React26.useCallback((api2) => {
1893
+ const [canScrollPrev, setCanScrollPrev] = React27.useState(false);
1894
+ const [canScrollNext, setCanScrollNext] = React27.useState(false);
1895
+ const onSelect = React27.useCallback((api2) => {
1875
1896
  if (!api2) {
1876
1897
  return;
1877
1898
  }
1878
1899
  setCanScrollPrev(api2.canScrollPrev());
1879
1900
  setCanScrollNext(api2.canScrollNext());
1880
1901
  }, []);
1881
- const scrollPrev = React26.useCallback(() => {
1902
+ const scrollPrev = React27.useCallback(() => {
1882
1903
  api?.scrollPrev();
1883
1904
  }, [api]);
1884
- const scrollNext = React26.useCallback(() => {
1905
+ const scrollNext = React27.useCallback(() => {
1885
1906
  api?.scrollNext();
1886
1907
  }, [api]);
1887
- const handleKeyDown = React26.useCallback(
1908
+ const handleKeyDown = React27.useCallback(
1888
1909
  (event) => {
1889
1910
  if (event.key === "ArrowLeft") {
1890
1911
  event.preventDefault();
@@ -1896,13 +1917,13 @@ var Carousel = React26.forwardRef(
1896
1917
  },
1897
1918
  [scrollPrev, scrollNext]
1898
1919
  );
1899
- React26.useEffect(() => {
1920
+ React27.useEffect(() => {
1900
1921
  if (!api || !setApi) {
1901
1922
  return;
1902
1923
  }
1903
1924
  setApi(api);
1904
1925
  }, [api, setApi]);
1905
- React26.useEffect(() => {
1926
+ React27.useEffect(() => {
1906
1927
  if (!api) {
1907
1928
  return;
1908
1929
  }
@@ -1913,7 +1934,7 @@ var Carousel = React26.forwardRef(
1913
1934
  api?.off("select", onSelect);
1914
1935
  };
1915
1936
  }, [api, onSelect]);
1916
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1937
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1917
1938
  CarouselContext.Provider,
1918
1939
  {
1919
1940
  value: {
@@ -1926,7 +1947,7 @@ var Carousel = React26.forwardRef(
1926
1947
  canScrollPrev,
1927
1948
  canScrollNext
1928
1949
  },
1929
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1950
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1930
1951
  "div",
1931
1952
  {
1932
1953
  ref,
@@ -1943,9 +1964,9 @@ var Carousel = React26.forwardRef(
1943
1964
  }
1944
1965
  );
1945
1966
  Carousel.displayName = "Carousel";
1946
- var CarouselContent = React26.forwardRef(({ className, ...props }, ref) => {
1967
+ var CarouselContent = React27.forwardRef(({ className, ...props }, ref) => {
1947
1968
  const { carouselRef, orientation } = useCarousel();
1948
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1969
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1949
1970
  "div",
1950
1971
  {
1951
1972
  ref,
@@ -1959,9 +1980,9 @@ var CarouselContent = React26.forwardRef(({ className, ...props }, ref) => {
1959
1980
  ) });
1960
1981
  });
1961
1982
  CarouselContent.displayName = "CarouselContent";
1962
- var CarouselItem = React26.forwardRef(({ className, ...props }, ref) => {
1983
+ var CarouselItem = React27.forwardRef(({ className, ...props }, ref) => {
1963
1984
  const { orientation } = useCarousel();
1964
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1985
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1965
1986
  "div",
1966
1987
  {
1967
1988
  ref,
@@ -1977,9 +1998,9 @@ var CarouselItem = React26.forwardRef(({ className, ...props }, ref) => {
1977
1998
  );
1978
1999
  });
1979
2000
  CarouselItem.displayName = "CarouselItem";
1980
- var CarouselPrevious = React26.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
2001
+ var CarouselPrevious = React27.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1981
2002
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
1982
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2003
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1983
2004
  Button,
1984
2005
  {
1985
2006
  ref,
@@ -1994,16 +2015,16 @@ var CarouselPrevious = React26.forwardRef(({ className, variant = "outline", siz
1994
2015
  onClick: scrollPrev,
1995
2016
  ...props,
1996
2017
  children: [
1997
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react9.ArrowLeft, { className: "h-4 w-4" }),
1998
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "sr-only", children: "Previous slide" })
2018
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react9.ArrowLeft, { className: "h-4 w-4" }),
2019
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "sr-only", children: "Previous slide" })
1999
2020
  ]
2000
2021
  }
2001
2022
  );
2002
2023
  });
2003
2024
  CarouselPrevious.displayName = "CarouselPrevious";
2004
- var CarouselNext = React26.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
2025
+ var CarouselNext = React27.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
2005
2026
  const { orientation, scrollNext, canScrollNext } = useCarousel();
2006
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2027
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2007
2028
  Button,
2008
2029
  {
2009
2030
  ref,
@@ -2018,8 +2039,8 @@ var CarouselNext = React26.forwardRef(({ className, variant = "outline", size =
2018
2039
  onClick: scrollNext,
2019
2040
  ...props,
2020
2041
  children: [
2021
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react9.ArrowRight, { className: "h-4 w-4" }),
2022
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "sr-only", children: "Next slide" })
2042
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react9.ArrowRight, { className: "h-4 w-4" }),
2043
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "sr-only", children: "Next slide" })
2023
2044
  ]
2024
2045
  }
2025
2046
  );
@@ -2027,12 +2048,12 @@ var CarouselNext = React26.forwardRef(({ className, variant = "outline", size =
2027
2048
  CarouselNext.displayName = "CarouselNext";
2028
2049
 
2029
2050
  // src/components/molecules/navigation-menu.tsx
2030
- var React27 = __toESM(require("react"));
2051
+ var React28 = __toESM(require("react"));
2031
2052
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"));
2032
2053
  var import_class_variance_authority9 = require("class-variance-authority");
2033
2054
  var import_lucide_react10 = require("lucide-react");
2034
- var import_jsx_runtime35 = require("react/jsx-runtime");
2035
- var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2055
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2056
+ var NavigationMenu = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2036
2057
  NavigationMenuPrimitive.Root,
2037
2058
  {
2038
2059
  ref,
@@ -2043,12 +2064,12 @@ var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref)
2043
2064
  ...props,
2044
2065
  children: [
2045
2066
  children,
2046
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(NavigationMenuViewport, {})
2067
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(NavigationMenuViewport, {})
2047
2068
  ]
2048
2069
  }
2049
2070
  ));
2050
2071
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
2051
- var NavigationMenuList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2072
+ var NavigationMenuList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2052
2073
  NavigationMenuPrimitive.List,
2053
2074
  {
2054
2075
  ref,
@@ -2063,7 +2084,7 @@ NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
2063
2084
  var navigationMenuTriggerStyle = (0, import_class_variance_authority9.cva)(
2064
2085
  "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"
2065
2086
  );
2066
- var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2087
+ var NavigationMenuTrigger = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2067
2088
  NavigationMenuPrimitive.Trigger,
2068
2089
  {
2069
2090
  ref,
@@ -2072,7 +2093,7 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
2072
2093
  children: [
2073
2094
  children,
2074
2095
  " ",
2075
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2096
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2076
2097
  import_lucide_react10.ChevronDown,
2077
2098
  {
2078
2099
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
@@ -2083,7 +2104,7 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
2083
2104
  }
2084
2105
  ));
2085
2106
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
2086
- var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2107
+ var NavigationMenuContent = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2087
2108
  NavigationMenuPrimitive.Content,
2088
2109
  {
2089
2110
  ref,
@@ -2095,7 +2116,7 @@ var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) =>
2095
2116
  }
2096
2117
  ));
2097
2118
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
2098
- var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2119
+ var NavigationMenuViewport = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2099
2120
  NavigationMenuPrimitive.Viewport,
2100
2121
  {
2101
2122
  className: cn(
@@ -2107,7 +2128,7 @@ var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) =
2107
2128
  }
2108
2129
  ) }));
2109
2130
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
2110
- var NavigationMenuIndicator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2131
+ var NavigationMenuIndicator = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2111
2132
  NavigationMenuPrimitive.Indicator,
2112
2133
  {
2113
2134
  ref,
@@ -2116,15 +2137,15 @@ var NavigationMenuIndicator = React27.forwardRef(({ className, ...props }, ref)
2116
2137
  className
2117
2138
  ),
2118
2139
  ...props,
2119
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
2140
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
2120
2141
  }
2121
2142
  ));
2122
2143
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
2123
2144
 
2124
2145
  // src/components/molecules/sidebar.tsx
2125
- var React28 = __toESM(require("react"));
2146
+ var React29 = __toESM(require("react"));
2126
2147
  var import_class_variance_authority10 = require("class-variance-authority");
2127
- var import_jsx_runtime36 = require("react/jsx-runtime");
2148
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2128
2149
  var sidebarVariants = (0, import_class_variance_authority10.cva)(
2129
2150
  "flex flex-col border-r",
2130
2151
  {
@@ -2140,7 +2161,7 @@ var sidebarVariants = (0, import_class_variance_authority10.cva)(
2140
2161
  }
2141
2162
  }
2142
2163
  );
2143
- var SidebarFooter = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2164
+ var SidebarFooter = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2144
2165
  "div",
2145
2166
  {
2146
2167
  ref,
@@ -2150,7 +2171,7 @@ var SidebarFooter = React28.forwardRef(({ className, children, ...props }, ref)
2150
2171
  }
2151
2172
  ));
2152
2173
  SidebarFooter.displayName = "SidebarFooter";
2153
- var Sidebar = React28.forwardRef(
2174
+ var Sidebar = React29.forwardRef(
2154
2175
  ({
2155
2176
  className,
2156
2177
  items,
@@ -2163,8 +2184,8 @@ var Sidebar = React28.forwardRef(
2163
2184
  buttonClassName,
2164
2185
  ...props
2165
2186
  }, ref) => {
2166
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: cn(className, "alq--navigation-sidebar h-full"), ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("aside", { className: cn(sidebarVariants({ size }), "h-full"), children: [
2167
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ScrollArea, { className: "flex-grow justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "flex flex-col gap-2 p-4", children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2187
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: cn(className, "alq--navigation-sidebar h-full"), ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("aside", { className: cn(sidebarVariants({ size }), "h-full"), children: [
2188
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ScrollArea, { className: "flex-grow justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-col gap-2 p-4", children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2168
2189
  Button,
2169
2190
  {
2170
2191
  variant: selectedSection?.name === item.name ? selectedVariant : defaultVariant,
@@ -2176,13 +2197,13 @@ var Sidebar = React28.forwardRef(
2176
2197
  }
2177
2198
  },
2178
2199
  children: [
2179
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(item.icon, { className: "mr-2 h-4 w-4" }),
2200
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(item.icon, { className: "mr-2 h-4 w-4" }),
2180
2201
  item.name
2181
2202
  ]
2182
2203
  },
2183
2204
  item.name
2184
2205
  )) }) }),
2185
- footerContent && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SidebarFooter, { children: footerContent })
2206
+ footerContent && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(SidebarFooter, { children: footerContent })
2186
2207
  ] }) });
2187
2208
  }
2188
2209
  );
@@ -2190,17 +2211,17 @@ var Sidebar = React28.forwardRef(
2190
2211
  // src/components/molecules/sonner.tsx
2191
2212
  var import_next_themes = require("next-themes");
2192
2213
  var import_sonner = require("sonner");
2193
- var import_jsx_runtime37 = require("react/jsx-runtime");
2214
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2194
2215
 
2195
2216
  // src/components/molecules/rating-stars.tsx
2196
- var React29 = __toESM(require("react"));
2217
+ var React30 = __toESM(require("react"));
2197
2218
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
2198
2219
  var import_lucide_react11 = require("lucide-react");
2199
- var import_jsx_runtime38 = require("react/jsx-runtime");
2220
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2200
2221
  var TooltipProvider = TooltipPrimitive.Provider;
2201
2222
  var Tooltip = TooltipPrimitive.Root;
2202
2223
  var TooltipTrigger = TooltipPrimitive.Trigger;
2203
- var TooltipContent = React29.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2224
+ var TooltipContent = React30.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2204
2225
  TooltipPrimitive.Content,
2205
2226
  {
2206
2227
  ref,
@@ -2213,14 +2234,14 @@ var TooltipContent = React29.forwardRef(({ className, sideOffset = 4, ...props }
2213
2234
  }
2214
2235
  ));
2215
2236
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2216
- var StarRating = React29.forwardRef(({ rating, onRate }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, className: "flex", children: [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2237
+ var StarRating = React30.forwardRef(({ rating, onRate }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ref, className: "flex", children: [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2217
2238
  Button,
2218
2239
  {
2219
2240
  onClick: () => onRate(star),
2220
2241
  variant: "link",
2221
2242
  className: "p-1 transition-colors [&_svg]:size-5 h-5",
2222
2243
  "aria-label": `Rate ${star} star${star !== 1 ? "s" : ""}`,
2223
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2244
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2224
2245
  import_lucide_react11.Star,
2225
2246
  {
2226
2247
  className: cn(
@@ -2233,19 +2254,19 @@ var StarRating = React29.forwardRef(({ rating, onRate }, ref) => /* @__PURE__ */
2233
2254
  star
2234
2255
  )) }));
2235
2256
  StarRating.displayName = "StarRating";
2236
- var RatingStars = React29.forwardRef(({
2257
+ var RatingStars = React30.forwardRef(({
2237
2258
  currentRating = 0,
2238
2259
  onRate,
2239
2260
  className,
2240
2261
  isLoading
2241
2262
  }, ref) => {
2242
- const [open, setOpen] = React29.useState(false);
2243
- const [animate, setAnimate] = React29.useState(false);
2263
+ const [open, setOpen] = React30.useState(false);
2264
+ const [animate, setAnimate] = React30.useState(false);
2244
2265
  const handleRate = (rating) => {
2245
2266
  onRate(rating);
2246
2267
  setOpen(false);
2247
2268
  };
2248
- React29.useEffect(() => {
2269
+ React30.useEffect(() => {
2249
2270
  if (currentRating > 0) {
2250
2271
  setAnimate(true);
2251
2272
  const timer = setTimeout(() => setAnimate(false), 150);
@@ -2253,8 +2274,8 @@ var RatingStars = React29.forwardRef(({
2253
2274
  }
2254
2275
  }, [currentRating]);
2255
2276
  const hasRated = currentRating > 0;
2256
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Tooltip, { open, onOpenChange: setOpen, children: [
2257
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2277
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Tooltip, { open, onOpenChange: setOpen, children: [
2278
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2258
2279
  Button,
2259
2280
  {
2260
2281
  ref,
@@ -2265,7 +2286,7 @@ var RatingStars = React29.forwardRef(({
2265
2286
  ),
2266
2287
  disabled: isLoading,
2267
2288
  onClick: () => setOpen(!open),
2268
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2289
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2269
2290
  import_lucide_react11.Star,
2270
2291
  {
2271
2292
  className: cn(
@@ -2278,7 +2299,7 @@ var RatingStars = React29.forwardRef(({
2278
2299
  )
2279
2300
  }
2280
2301
  ) }),
2281
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(TooltipContent, { side: "top", align: "center", className: "p-0", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "p-2 bg-background", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2302
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipContent, { side: "top", align: "center", className: "p-0", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "p-2 bg-background", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2282
2303
  StarRating,
2283
2304
  {
2284
2305
  rating: currentRating,
@@ -2290,10 +2311,10 @@ var RatingStars = React29.forwardRef(({
2290
2311
  RatingStars.displayName = "RatingStars";
2291
2312
 
2292
2313
  // src/components/molecules/rating-thumbs.tsx
2293
- var React30 = __toESM(require("react"));
2314
+ var React31 = __toESM(require("react"));
2294
2315
  var import_lucide_react12 = require("lucide-react");
2295
- var import_jsx_runtime39 = require("react/jsx-runtime");
2296
- var RatingThumbs = React30.forwardRef(
2316
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2317
+ var RatingThumbs = React31.forwardRef(
2297
2318
  ({
2298
2319
  currentRating,
2299
2320
  onRate,
@@ -2301,15 +2322,15 @@ var RatingThumbs = React30.forwardRef(
2301
2322
  className,
2302
2323
  isLoading
2303
2324
  }, ref) => {
2304
- const [animate, setAnimate] = React30.useState(false);
2305
- React30.useEffect(() => {
2325
+ const [animate, setAnimate] = React31.useState(false);
2326
+ React31.useEffect(() => {
2306
2327
  if (currentRating) {
2307
2328
  setAnimate(true);
2308
2329
  const timer = setTimeout(() => setAnimate(false), 150);
2309
2330
  return () => clearTimeout(timer);
2310
2331
  }
2311
2332
  }, [currentRating]);
2312
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2333
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2313
2334
  "div",
2314
2335
  {
2315
2336
  ref,
@@ -2320,7 +2341,7 @@ var RatingThumbs = React30.forwardRef(
2320
2341
  className
2321
2342
  ),
2322
2343
  children: [
2323
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2344
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2324
2345
  Button,
2325
2346
  {
2326
2347
  variant: "link",
@@ -2331,7 +2352,7 @@ var RatingThumbs = React30.forwardRef(
2331
2352
  ),
2332
2353
  "aria-label": "Thumbs up",
2333
2354
  disabled: isLoading,
2334
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2355
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2335
2356
  import_lucide_react12.ThumbsUp,
2336
2357
  {
2337
2358
  className: cn(
@@ -2344,7 +2365,7 @@ var RatingThumbs = React30.forwardRef(
2344
2365
  )
2345
2366
  }
2346
2367
  ),
2347
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2368
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2348
2369
  Button,
2349
2370
  {
2350
2371
  variant: "link",
@@ -2355,7 +2376,7 @@ var RatingThumbs = React30.forwardRef(
2355
2376
  ),
2356
2377
  "aria-label": "Thumbs down",
2357
2378
  disabled: isLoading,
2358
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2379
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2359
2380
  import_lucide_react12.ThumbsDown,
2360
2381
  {
2361
2382
  className: cn(
@@ -2376,30 +2397,30 @@ var RatingThumbs = React30.forwardRef(
2376
2397
  RatingThumbs.displayName = "RatingThumbs";
2377
2398
 
2378
2399
  // src/components/molecules/rating-comment.tsx
2379
- var React31 = __toESM(require("react"));
2400
+ var React32 = __toESM(require("react"));
2380
2401
  var import_lucide_react13 = require("lucide-react");
2381
- var import_jsx_runtime40 = require("react/jsx-runtime");
2382
- var RatingComment = React31.forwardRef(
2402
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2403
+ var RatingComment = React32.forwardRef(
2383
2404
  ({ currentRating, onRate, className, isLoading }, ref) => {
2384
- const [open, setOpen] = React31.useState(false);
2385
- const [comment, setComment] = React31.useState("");
2386
- const [animate, setAnimate] = React31.useState(false);
2405
+ const [open, setOpen] = React32.useState(false);
2406
+ const [comment, setComment] = React32.useState("");
2407
+ const [animate, setAnimate] = React32.useState(false);
2387
2408
  const handleRate = () => {
2388
2409
  onRate(comment);
2389
2410
  setOpen(false);
2390
2411
  };
2391
- React31.useEffect(() => {
2412
+ React32.useEffect(() => {
2392
2413
  if (currentRating) {
2393
2414
  setAnimate(true);
2394
2415
  const timer = setTimeout(() => setAnimate(false), 150);
2395
2416
  return () => clearTimeout(timer);
2396
2417
  }
2397
2418
  }, [currentRating]);
2398
- React31.useEffect(() => {
2419
+ React32.useEffect(() => {
2399
2420
  setComment("");
2400
2421
  }, [open]);
2401
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Dialog, { open, onOpenChange: setOpen, children: [
2402
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DialogTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2422
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Dialog, { open, onOpenChange: setOpen, children: [
2423
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2403
2424
  Button,
2404
2425
  {
2405
2426
  ref,
@@ -2410,7 +2431,7 @@ var RatingComment = React31.forwardRef(
2410
2431
  className
2411
2432
  ),
2412
2433
  disabled: isLoading,
2413
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2434
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2414
2435
  import_lucide_react13.Book,
2415
2436
  {
2416
2437
  className: cn(
@@ -2423,10 +2444,10 @@ var RatingComment = React31.forwardRef(
2423
2444
  )
2424
2445
  }
2425
2446
  ) }),
2426
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DialogOverlay, { className: "fixed inset-0 bg-black bg-opacity-50" }),
2427
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(DialogContent, { "aria-describedby": void 0, children: [
2428
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DialogTitle, { className: "text-lg font-medium", children: "Deja un comentario" }),
2429
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2447
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogOverlay, { className: "fixed inset-0 bg-black bg-opacity-50" }),
2448
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(DialogContent, { "aria-describedby": void 0, children: [
2449
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogTitle, { className: "text-lg font-medium", children: "Deja un comentario" }),
2450
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2430
2451
  "textarea",
2431
2452
  {
2432
2453
  className: "mt-4 w-full p-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-primary",
@@ -2435,7 +2456,7 @@ var RatingComment = React31.forwardRef(
2435
2456
  onChange: (e) => setComment(e.target.value)
2436
2457
  }
2437
2458
  ),
2438
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2459
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2439
2460
  Button,
2440
2461
  {
2441
2462
  onClick: handleRate,
@@ -2450,59 +2471,68 @@ var RatingComment = React31.forwardRef(
2450
2471
  RatingComment.displayName = "RatingComment";
2451
2472
 
2452
2473
  // src/components/molecules/call-out.tsx
2453
- var React32 = __toESM(require("react"));
2474
+ var React33 = __toESM(require("react"));
2454
2475
 
2455
2476
  // src/components/hooks/use-text-streaming.ts
2456
2477
  var import_react8 = require("react");
2457
2478
  var CHAR_DELAY = 25;
2458
- var PUNCTUATION_DELAY = 200;
2459
- var PUNCTUATION_MARKS = [".", "!", "?", ";", ":"];
2479
+ var PUNCTUATION_DELAY = 400;
2460
2480
  function useTextStreaming(content, shouldStream, handleIsTextStreaming) {
2461
- const [displayedContent, setDisplayedContent] = (0, import_react8.useState)("");
2462
- const timeoutId = (0, import_react8.useRef)(null);
2481
+ const [displayedText, setDisplayedText] = (0, import_react8.useState)("");
2482
+ const contentRef = (0, import_react8.useRef)(content);
2483
+ const indexRef = (0, import_react8.useRef)(0);
2484
+ const timerRef = (0, import_react8.useRef)(null);
2463
2485
  const hasStartedStreaming = (0, import_react8.useRef)(false);
2464
- const getDelayForChar = (text, position) => {
2465
- if (position === 0) return CHAR_DELAY;
2466
- const previousChar = text[position - 1] || "";
2467
- const isEllipsis = text.slice(position - 1, position + 2) === "...";
2468
- if (isEllipsis) {
2469
- return CHAR_DELAY;
2470
- }
2471
- return PUNCTUATION_MARKS.includes(previousChar) ? PUNCTUATION_DELAY : CHAR_DELAY;
2472
- };
2473
2486
  (0, import_react8.useEffect)(() => {
2474
- if (!shouldStream && !hasStartedStreaming.current) {
2475
- setDisplayedContent(content);
2476
- handleIsTextStreaming?.(false);
2477
- return;
2487
+ contentRef.current = content;
2488
+ if (hasStartedStreaming.current && !timerRef.current && indexRef.current < contentRef.current.length) {
2489
+ typeNext();
2478
2490
  }
2479
- handleIsTextStreaming?.(true);
2480
- hasStartedStreaming.current = true;
2481
- if (displayedContent.length < content.length) {
2482
- const delay = getDelayForChar(content, displayedContent.length);
2483
- timeoutId.current = setTimeout(() => {
2484
- setDisplayedContent((prev) => prev + content[prev.length]);
2491
+ }, [content]);
2492
+ const typeNext = (0, import_react8.useCallback)(() => {
2493
+ if (indexRef.current < contentRef.current.length) {
2494
+ const nextChar = contentRef.current.charAt(indexRef.current);
2495
+ setDisplayedText((prev) => prev + nextChar);
2496
+ indexRef.current++;
2497
+ const delay = /[.!?;:]/.test(nextChar) ? PUNCTUATION_DELAY : CHAR_DELAY;
2498
+ timerRef.current = setTimeout(() => {
2499
+ timerRef.current = null;
2500
+ typeNext();
2485
2501
  }, delay);
2486
2502
  } else {
2487
2503
  handleIsTextStreaming?.(false);
2488
2504
  }
2505
+ }, []);
2506
+ (0, import_react8.useEffect)(() => {
2507
+ if (!shouldStream && !hasStartedStreaming.current) {
2508
+ setDisplayedText(contentRef.current);
2509
+ indexRef.current = contentRef.current.length;
2510
+ if (timerRef.current) {
2511
+ clearTimeout(timerRef.current);
2512
+ timerRef.current = null;
2513
+ }
2514
+ handleIsTextStreaming?.(false);
2515
+ } else {
2516
+ if (indexRef.current < contentRef.current.length && !timerRef.current) {
2517
+ handleIsTextStreaming?.(true);
2518
+ hasStartedStreaming.current = true;
2519
+ typeNext();
2520
+ }
2521
+ }
2489
2522
  return () => {
2490
- if (timeoutId.current) clearTimeout(timeoutId.current);
2523
+ if (timerRef.current) {
2524
+ clearTimeout(timerRef.current);
2525
+ timerRef.current = null;
2526
+ }
2491
2527
  };
2492
- }, [
2493
- content,
2494
- displayedContent,
2495
- shouldStream,
2496
- getDelayForChar,
2497
- handleIsTextStreaming
2498
- ]);
2499
- return displayedContent;
2528
+ }, [shouldStream, typeNext]);
2529
+ return displayedText;
2500
2530
  }
2501
2531
 
2502
2532
  // src/components/molecules/call-out.tsx
2503
- var import_jsx_runtime41 = require("react/jsx-runtime");
2504
- var CallOut = React32.forwardRef(({ className, children, role, ...props }, ref) => {
2505
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2533
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2534
+ var CallOut = React33.forwardRef(({ className, children, role, ...props }, ref) => {
2535
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2506
2536
  "div",
2507
2537
  {
2508
2538
  ref,
@@ -2513,8 +2543,8 @@ var CallOut = React32.forwardRef(({ className, children, role, ...props }, ref)
2513
2543
  }
2514
2544
  );
2515
2545
  });
2516
- var CallOutDate = React32.forwardRef(({ className, children, ...props }, ref) => {
2517
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2546
+ var CallOutDate = React33.forwardRef(({ className, children, ...props }, ref) => {
2547
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2518
2548
  "div",
2519
2549
  {
2520
2550
  ref,
@@ -2528,13 +2558,13 @@ var CallOutDate = React32.forwardRef(({ className, children, ...props }, ref) =>
2528
2558
  }
2529
2559
  );
2530
2560
  });
2531
- var CallOutActions = React32.forwardRef(({ className, actions, role, message, ...props }, ref) => {
2532
- const [isLoading, setIsLoading] = React32.useState(false);
2533
- const [isClicked, setIsClicked] = React32.useState(false);
2561
+ var CallOutActions = React33.forwardRef(({ className, actions, role, message, ...props }, ref) => {
2562
+ const [isLoading, setIsLoading] = React33.useState(false);
2563
+ const [isClicked, setIsClicked] = React33.useState(false);
2534
2564
  if (role === "user") {
2535
2565
  return null;
2536
2566
  }
2537
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { ref, className: cn("alq--callout-actions", className), ...props, children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
2567
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, className: cn("alq--callout-actions", className), ...props, children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2538
2568
  "button",
2539
2569
  {
2540
2570
  className: cn(
@@ -2556,7 +2586,7 @@ var CallOutActions = React32.forwardRef(({ className, actions, role, message, ..
2556
2586
  });
2557
2587
  },
2558
2588
  children: [
2559
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2589
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2560
2590
  "span",
2561
2591
  {
2562
2592
  className: cn("alq-action-icon-wrapper", {
@@ -2565,18 +2595,18 @@ var CallOutActions = React32.forwardRef(({ className, actions, role, message, ..
2565
2595
  children: action.icon
2566
2596
  }
2567
2597
  ),
2568
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("label", { children: action.label })
2598
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("label", { children: action.label })
2569
2599
  ]
2570
2600
  },
2571
2601
  action.label
2572
2602
  )) });
2573
2603
  });
2574
- var CallOutResponse = React32.forwardRef(
2604
+ var CallOutResponse = React33.forwardRef(
2575
2605
  ({ className, children, role, additionalInfo, isStreaming, handleIsTextStreaming, ...props }, ref) => {
2576
2606
  const content = String(children || "");
2577
2607
  const shouldStream = role === "assistant" && isStreaming;
2578
2608
  const displayedContent = useTextStreaming(content, shouldStream ?? false, handleIsTextStreaming);
2579
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
2609
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2580
2610
  "div",
2581
2611
  {
2582
2612
  ref,
@@ -2589,8 +2619,8 @@ var CallOutResponse = React32.forwardRef(
2589
2619
  ),
2590
2620
  ...props,
2591
2621
  children: [
2592
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(RichText, { content: displayedContent }),
2593
- additionalInfo && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2622
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(RichText, { content: displayedContent }),
2623
+ additionalInfo && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2594
2624
  "div",
2595
2625
  {
2596
2626
  className: cn(
@@ -2613,19 +2643,19 @@ CallOutResponse.displayName = "CallOutResponse";
2613
2643
 
2614
2644
  // src/components/organisms/assistant.tsx
2615
2645
  var import_lucide_react14 = require("lucide-react");
2616
- var import_jsx_runtime42 = require("react/jsx-runtime");
2617
- var Assistant = React33.forwardRef(
2646
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2647
+ var Assistant = React34.forwardRef(
2618
2648
  ({ className, sdk, title, description, children, ...props }, ref) => {
2619
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2649
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2620
2650
  "div",
2621
2651
  {
2622
2652
  ref,
2623
2653
  className: cn("flex flex-col h-full bg-background text-foreground", className),
2624
2654
  ...props,
2625
2655
  children: [
2626
- (title || description) && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(AssistantHeader, { children: [
2627
- title && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(AssistantTitle, { title }),
2628
- description && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(AssistantDescription, { description })
2656
+ (title || description) && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(AssistantHeader, { children: [
2657
+ title && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AssistantTitle, { title }),
2658
+ description && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AssistantDescription, { description })
2629
2659
  ] }),
2630
2660
  children
2631
2661
  ]
@@ -2634,14 +2664,14 @@ var Assistant = React33.forwardRef(
2634
2664
  }
2635
2665
  );
2636
2666
  Assistant.displayName = "Assistant";
2637
- var AssistantTitle = React33.forwardRef(
2638
- ({ className, title, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, className: cn("text-foreground", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Typography, { typeStyle: "heading1", as: "h1", children: title }) })
2667
+ var AssistantTitle = React34.forwardRef(
2668
+ ({ className, title, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { ref, className: cn("text-foreground", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typography, { typeStyle: "heading1", as: "h1", children: title }) })
2639
2669
  );
2640
2670
  AssistantTitle.displayName = "AssistantTitle";
2641
- var AssistantDescription = React33.forwardRef(({ className, description, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, className: cn("text-foreground", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Typography, { typeStyle: "display", as: "p", children: description }) }));
2671
+ var AssistantDescription = React34.forwardRef(({ className, description, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { ref, className: cn("text-foreground", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typography, { typeStyle: "display", as: "p", children: description }) }));
2642
2672
  AssistantDescription.displayName = "AssistantDescription";
2643
- var AssistantHeader = React33.forwardRef(
2644
- ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2673
+ var AssistantHeader = React34.forwardRef(
2674
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2645
2675
  "div",
2646
2676
  {
2647
2677
  ref,
@@ -2652,7 +2682,7 @@ var AssistantHeader = React33.forwardRef(
2652
2682
  )
2653
2683
  );
2654
2684
  AssistantHeader.displayName = "AssistantHeader";
2655
- var AssistantMessageArea = React33.forwardRef(
2685
+ var AssistantMessageArea = React34.forwardRef(
2656
2686
  ({
2657
2687
  className,
2658
2688
  messages,
@@ -2661,25 +2691,26 @@ var AssistantMessageArea = React33.forwardRef(
2661
2691
  streamingMessageId,
2662
2692
  thinkIndicator,
2663
2693
  handleIsTextStreaming,
2694
+ toolFactory,
2664
2695
  ...props
2665
2696
  }, ref) => {
2666
2697
  (0, import_react9.useEffect)(() => {
2667
2698
  messagesEndRef.current?.scrollIntoView({ behavior: "instant" });
2668
2699
  }, []);
2669
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2700
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2670
2701
  "div",
2671
2702
  {
2672
2703
  ref,
2673
2704
  className: cn("p-6 overflow-y-auto flex-grow bg-background", className),
2674
2705
  ...props,
2675
2706
  children: [
2676
- messages.map((message) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2707
+ messages.map((message) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2677
2708
  CallOut,
2678
2709
  {
2679
2710
  role: message.role,
2680
2711
  message,
2681
2712
  children: [
2682
- message.created_at && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "text-xs text-muted-foreground/80 pb-1", children: new Date(Number(message.created_at)).toLocaleString("es-ES", {
2713
+ message.created_at && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "text-xs text-muted-foreground/80 pb-1", children: new Date(Number(message.created_at)).toLocaleString("es-ES", {
2683
2714
  day: "2-digit",
2684
2715
  month: "2-digit",
2685
2716
  year: "numeric",
@@ -2688,8 +2719,8 @@ var AssistantMessageArea = React33.forwardRef(
2688
2719
  second: "2-digit",
2689
2720
  hour12: false
2690
2721
  }) }),
2691
- message.loading && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { children: thinkIndicator ?? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ThinkIndicator, {}) }),
2692
- message.error_code && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2722
+ message.loading && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { children: thinkIndicator ?? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ThinkIndicator, {}) }),
2723
+ message.error_code && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2693
2724
  CallOutResponse,
2694
2725
  {
2695
2726
  role: "assistant",
@@ -2697,7 +2728,8 @@ var AssistantMessageArea = React33.forwardRef(
2697
2728
  children: "We have an internal error, please try again later."
2698
2729
  }
2699
2730
  ),
2700
- message.content && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2731
+ message.tooler && message.tooler?.tool_output && !message.error_code && toolFactory?.createTool(message.tooler?.tool_summary?.name, message.tooler?.tool_output?.result),
2732
+ message.content && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2701
2733
  CallOutResponse,
2702
2734
  {
2703
2735
  role: message.role,
@@ -2707,7 +2739,7 @@ var AssistantMessageArea = React33.forwardRef(
2707
2739
  children: message.content
2708
2740
  }
2709
2741
  ),
2710
- actions && streamingMessageId !== message.id && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2742
+ actions && streamingMessageId !== message.id && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2711
2743
  CallOutActions,
2712
2744
  {
2713
2745
  actions,
@@ -2720,14 +2752,14 @@ var AssistantMessageArea = React33.forwardRef(
2720
2752
  },
2721
2753
  message.id
2722
2754
  ) }, message.id)),
2723
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref: messagesEndRef })
2755
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { ref: messagesEndRef })
2724
2756
  ]
2725
2757
  }
2726
2758
  );
2727
2759
  }
2728
2760
  );
2729
2761
  AssistantMessageArea.displayName = "AssistantMessageArea";
2730
- var AssistantInput = React33.forwardRef(
2762
+ var AssistantInput = React34.forwardRef(
2731
2763
  ({
2732
2764
  className,
2733
2765
  sendMessageFunc,
@@ -2737,7 +2769,7 @@ var AssistantInput = React33.forwardRef(
2737
2769
  isMessageStreaming,
2738
2770
  ...props
2739
2771
  }, ref) => {
2740
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2772
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2741
2773
  "form",
2742
2774
  {
2743
2775
  onSubmit: sendMessageFunc,
@@ -2745,7 +2777,7 @@ var AssistantInput = React33.forwardRef(
2745
2777
  ref,
2746
2778
  ...props,
2747
2779
  children: [
2748
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2780
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2749
2781
  "input",
2750
2782
  {
2751
2783
  type: "text",
@@ -2762,7 +2794,7 @@ var AssistantInput = React33.forwardRef(
2762
2794
  )
2763
2795
  }
2764
2796
  ),
2765
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2797
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2766
2798
  "button",
2767
2799
  {
2768
2800
  type: "submit",
@@ -2771,7 +2803,7 @@ var AssistantInput = React33.forwardRef(
2771
2803
  "w-10 h-10 rounded-full flex items-center justify-center alq--assistant-button-send",
2772
2804
  isButtonDisabled ? "bg-muted text-muted-foreground" : "bg-primary text-primary-foreground hover:bg-primary/90"
2773
2805
  ),
2774
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react14.Send, { className: "w-5 h-5" })
2806
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react14.Send, { className: "w-5 h-5" })
2775
2807
  }
2776
2808
  )
2777
2809
  ]
@@ -2791,7 +2823,7 @@ var import_react10 = require("react");
2791
2823
  var import_react11 = require("react");
2792
2824
 
2793
2825
  // src/components/organisms/rating-dialog.tsx
2794
- var import_jsx_runtime43 = require("react/jsx-runtime");
2826
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2795
2827
  function RatingDialog({
2796
2828
  sendRating,
2797
2829
  topicId,
@@ -2807,20 +2839,20 @@ function RatingDialog({
2807
2839
  success ? setHasRatedTopic(true) : toast2({
2808
2840
  title: "Error",
2809
2841
  description: `Hubo un error al enviar la calificaci\xF3n`,
2810
- action: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ToastAction, { altText: "Goto schedule to undo", children: "Cerrar" })
2842
+ action: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ToastAction, { altText: "Goto schedule to undo", children: "Cerrar" })
2811
2843
  });
2812
2844
  };
2813
2845
  const handleCancelRate = () => {
2814
2846
  setHasRatedTopic(true);
2815
2847
  onOpenChange(false);
2816
2848
  };
2817
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Dialog, { open: isOpen, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(DialogContent, { className: "sm:max-w-md", children: [
2818
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(DialogHeader, { children: [
2819
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(DialogTitle, { children: "Calific\xE1 esta conversaci\xF3n" }),
2820
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(DialogDescription, { children: "Por favor, compart\xED tu opini\xF3n sobre el asistente." })
2849
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Dialog, { open: isOpen, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(DialogContent, { className: "sm:max-w-md", children: [
2850
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(DialogHeader, { children: [
2851
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(DialogTitle, { children: "Calific\xE1 esta conversaci\xF3n" }),
2852
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(DialogDescription, { children: "Por favor, compart\xED tu opini\xF3n sobre el asistente." })
2821
2853
  ] }),
2822
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex flex-row justify-center gap-4 py-4", children: [
2823
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2854
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex flex-row justify-center gap-4 py-4", children: [
2855
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2824
2856
  RatingStars,
2825
2857
  {
2826
2858
  currentRating: ratingStars,
@@ -2829,7 +2861,7 @@ function RatingDialog({
2829
2861
  className: "p-2 rounded"
2830
2862
  }
2831
2863
  ),
2832
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2864
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2833
2865
  RatingThumbs,
2834
2866
  {
2835
2867
  currentRating: ratingComment,
@@ -2838,7 +2870,7 @@ function RatingDialog({
2838
2870
  isLoading
2839
2871
  }
2840
2872
  ),
2841
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2873
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2842
2874
  RatingComment,
2843
2875
  {
2844
2876
  currentRating: ratingComment,
@@ -2847,7 +2879,7 @@ function RatingDialog({
2847
2879
  }
2848
2880
  )
2849
2881
  ] }),
2850
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex flex-row justify-center gap-4", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { onClick: handleCancelRate, variant: "secondary", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typography, { as: "p", typeStyle: "tiny", children: "No, gracias." }) }) })
2882
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex flex-row justify-center gap-4", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, { onClick: handleCancelRate, variant: "secondary", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typography, { as: "p", typeStyle: "tiny", children: "No, gracias." }) }) })
2851
2883
  ] }) });
2852
2884
  }
2853
2885
  //# sourceMappingURL=index.js.map