@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
@@ -765,7 +765,7 @@ function SpeechToText(_param) {
765
765
  }));
766
766
  }
767
767
  // src/components/organisms/assistant.tsx
768
- var React34 = __toESM(require("react"));
768
+ var React37 = __toESM(require("react"));
769
769
  var import_react10 = require("react");
770
770
  // src/components/atoms/ui/button.tsx
771
771
  var React = __toESM(require("react"));
@@ -2268,32 +2268,211 @@ var ThinkIndicator = React25.forwardRef(function(_param, ref) {
2268
2268
  }));
2269
2269
  });
2270
2270
  ThinkIndicator.displayName = "ThinkIndicator";
2271
+ // src/components/atoms/ui/accordion.tsx
2272
+ var React26 = __toESM(require("react"));
2273
+ var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
2274
+ var import_lucide_react9 = require("lucide-react");
2275
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2276
+ var AccordionItem = React26.forwardRef(function(_param, ref) {
2277
+ var className = _param.className, props = _object_without_properties(_param, [
2278
+ "className"
2279
+ ]);
2280
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(AccordionPrimitive.Item, _object_spread({
2281
+ ref: ref,
2282
+ className: cn("border-b", className)
2283
+ }, props));
2284
+ });
2285
+ AccordionItem.displayName = "AccordionItem";
2286
+ var AccordionTrigger = React26.forwardRef(function(_param, ref) {
2287
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2288
+ "className",
2289
+ "children"
2290
+ ]);
2291
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(AccordionPrimitive.Header, {
2292
+ className: "flex",
2293
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(AccordionPrimitive.Trigger, _object_spread_props(_object_spread({
2294
+ ref: ref,
2295
+ 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)
2296
+ }, props), {
2297
+ children: [
2298
+ children,
2299
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react9.ChevronDown, {
2300
+ className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"
2301
+ })
2302
+ ]
2303
+ }))
2304
+ });
2305
+ });
2306
+ AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
2307
+ var AccordionContent = React26.forwardRef(function(_param, ref) {
2308
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2309
+ "className",
2310
+ "children"
2311
+ ]);
2312
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(AccordionPrimitive.Content, _object_spread_props(_object_spread({
2313
+ ref: ref,
2314
+ className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
2315
+ }, props), {
2316
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", {
2317
+ className: cn("pb-4 pt-0", className),
2318
+ children: children
2319
+ })
2320
+ }));
2321
+ });
2322
+ AccordionContent.displayName = AccordionPrimitive.Content.displayName;
2323
+ // src/components/atoms/ui/radio-group.tsx
2324
+ var React27 = __toESM(require("react"));
2325
+ var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
2326
+ var import_lucide_react10 = require("lucide-react");
2327
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2328
+ var RadioGroup = React27.forwardRef(function(_param, ref) {
2329
+ var className = _param.className, props = _object_without_properties(_param, [
2330
+ "className"
2331
+ ]);
2332
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(RadioGroupPrimitive.Root, _object_spread({
2333
+ ref: ref,
2334
+ className: cn("grid gap-2", className)
2335
+ }, props));
2336
+ });
2337
+ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
2338
+ var RadioGroupItem = React27.forwardRef(function(_param, ref) {
2339
+ var className = _param.className, props = _object_without_properties(_param, [
2340
+ "className"
2341
+ ]);
2342
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(RadioGroupPrimitive.Item, _object_spread_props(_object_spread({
2343
+ ref: ref,
2344
+ 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)
2345
+ }, props), {
2346
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(RadioGroupPrimitive.Indicator, {
2347
+ className: "flex items-center justify-center",
2348
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react10.Circle, {
2349
+ className: "h-2.5 w-2.5 fill-current text-current"
2350
+ })
2351
+ })
2352
+ }));
2353
+ });
2354
+ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
2355
+ // src/components/atoms/ui/progress.tsx
2356
+ var React28 = __toESM(require("react"));
2357
+ var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
2358
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2359
+ var Progress = React28.forwardRef(function(_param, ref) {
2360
+ var className = _param.className, value = _param.value, props = _object_without_properties(_param, [
2361
+ "className",
2362
+ "value"
2363
+ ]);
2364
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ProgressPrimitive.Root, _object_spread_props(_object_spread({
2365
+ ref: ref,
2366
+ className: cn("relative h-2 w-full overflow-hidden rounded-full bg-muted", className)
2367
+ }, props), {
2368
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ProgressPrimitive.Indicator, {
2369
+ className: "h-full w-full flex-1 bg-primary transition-all",
2370
+ style: {
2371
+ transform: "translateX(-".concat(100 - (value || 0), "%)")
2372
+ }
2373
+ })
2374
+ }));
2375
+ });
2376
+ Progress.displayName = ProgressPrimitive.Root.displayName;
2377
+ // src/components/atoms/ui/calendar.tsx
2378
+ var import_lucide_react11 = require("lucide-react");
2379
+ var import_react_day_picker = require("react-day-picker");
2380
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2381
+ function Calendar(_param) {
2382
+ var className = _param.className, classNames = _param.classNames, _param_showOutsideDays = _param.showOutsideDays, showOutsideDays = _param_showOutsideDays === void 0 ? true : _param_showOutsideDays, props = _object_without_properties(_param, [
2383
+ "className",
2384
+ "classNames",
2385
+ "showOutsideDays"
2386
+ ]);
2387
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_day_picker.DayPicker, _object_spread({
2388
+ showOutsideDays: showOutsideDays,
2389
+ className: cn("p-3", className),
2390
+ classNames: _object_spread({
2391
+ months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
2392
+ month: "space-y-4",
2393
+ caption: "flex justify-center pt-1 relative items-center",
2394
+ caption_label: "text-sm font-medium",
2395
+ nav: "space-x-1 flex items-center",
2396
+ nav_button: cn(buttonVariants({
2397
+ variant: "outline"
2398
+ }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),
2399
+ nav_button_previous: "absolute left-1",
2400
+ nav_button_next: "absolute right-1",
2401
+ table: "w-full border-collapse space-y-1",
2402
+ head_row: "flex",
2403
+ head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
2404
+ row: "flex w-full mt-2",
2405
+ 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",
2406
+ day: cn(buttonVariants({
2407
+ variant: "ghost"
2408
+ }), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
2409
+ day_range_end: "day-range-end",
2410
+ day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
2411
+ day_today: "bg-accent text-accent-foreground",
2412
+ day_outside: "day-outside text-muted-foreground opacity-50",
2413
+ day_disabled: "text-muted-foreground opacity-50",
2414
+ day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
2415
+ day_hidden: "invisible"
2416
+ }, classNames),
2417
+ components: {
2418
+ IconLeft: function() {
2419
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react11.ChevronLeft, {
2420
+ className: "h-4 w-4"
2421
+ });
2422
+ },
2423
+ IconRight: function() {
2424
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react11.ChevronRight, {
2425
+ className: "h-4 w-4"
2426
+ });
2427
+ }
2428
+ }
2429
+ }, props));
2430
+ }
2431
+ Calendar.displayName = "Calendar";
2432
+ // src/components/atoms/ui/chart.tsx
2433
+ var import_recharts = require("recharts");
2434
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2435
+ function Chart(param) {
2436
+ var className = param.className, _param_height = param.height, height = _param_height === void 0 ? 300 : _param_height, children = param.children;
2437
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", {
2438
+ className: cn("w-full", className),
2439
+ style: {
2440
+ height: height
2441
+ },
2442
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_recharts.ResponsiveContainer, {
2443
+ width: "100%",
2444
+ height: "100%",
2445
+ children: children
2446
+ })
2447
+ });
2448
+ }
2449
+ Chart.displayName = "Chart";
2271
2450
  // src/components/molecules/page-container.tsx
2272
2451
  var import_react6 = require("react");
2273
- var import_jsx_runtime33 = require("react/jsx-runtime");
2452
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2274
2453
  var PageContainer = (0, import_react6.forwardRef)(function(_param, ref) {
2275
2454
  var className = _param.className, props = _object_without_properties(_param, [
2276
2455
  "className"
2277
2456
  ]);
2278
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", _object_spread({
2457
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", _object_spread({
2279
2458
  ref: ref,
2280
2459
  className: cn(className, "alq--page-container")
2281
2460
  }, props));
2282
2461
  });
2283
2462
  PageContainer.displayName = "PageContainer";
2284
2463
  // src/components/molecules/assistant-button.tsx
2285
- var React26 = __toESM(require("react"));
2464
+ var React29 = __toESM(require("react"));
2286
2465
  var import_react7 = require("react");
2287
- var import_jsx_runtime34 = require("react/jsx-runtime");
2288
- var AssistantSuggestions = React26.forwardRef(function(param, ref) {
2466
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2467
+ var AssistantSuggestions = React29.forwardRef(function(param, ref) {
2289
2468
  var suggestions = param.suggestions, showSuggestions = param.showSuggestions, className = param.className;
2290
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", {
2469
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", {
2291
2470
  ref: ref,
2292
2471
  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),
2293
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", {
2472
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", {
2294
2473
  className: "rounded-lg p-2 pr-0 w-64",
2295
2474
  children: suggestions.map(function(suggestion, index) {
2296
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("button", {
2475
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("button", {
2297
2476
  onClick: function() {
2298
2477
  var _suggestion_action;
2299
2478
  return (_suggestion_action = suggestion.action) === null || _suggestion_action === void 0 ? void 0 : _suggestion_action.call(suggestion);
@@ -2303,10 +2482,10 @@ var AssistantSuggestions = React26.forwardRef(function(param, ref) {
2303
2482
  },
2304
2483
  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"),
2305
2484
  children: [
2306
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(suggestion.icon, {
2485
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(suggestion.icon, {
2307
2486
  className: "w-5 h-5 text-primary"
2308
2487
  }),
2309
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", {
2488
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", {
2310
2489
  className: "text-xs whitespace-nowrap font-normal",
2311
2490
  children: suggestion.label
2312
2491
  })
@@ -2317,7 +2496,7 @@ var AssistantSuggestions = React26.forwardRef(function(param, ref) {
2317
2496
  });
2318
2497
  });
2319
2498
  AssistantSuggestions.displayName = "Suggestions";
2320
- var AssistantButton = React26.forwardRef(function(param, ref) {
2499
+ var AssistantButton = React29.forwardRef(function(param, ref) {
2321
2500
  var Icon2 = param.icon, clickAction = param.clickAction, className = param.className, _param_suggestions = param.suggestions, suggestions = _param_suggestions === void 0 ? [] : _param_suggestions;
2322
2501
  var _ref = _sliced_to_array((0, import_react7.useState)(false), 2), isVisible = _ref[0], setIsVisible = _ref[1];
2323
2502
  var _ref1 = _sliced_to_array((0, import_react7.useState)(false), 2), showSuggestions = _ref1[0], setShowSuggestions = _ref1[1];
@@ -2335,24 +2514,24 @@ var AssistantButton = React26.forwardRef(function(param, ref) {
2335
2514
  return setIsVisible(false);
2336
2515
  }, 300);
2337
2516
  };
2338
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", {
2517
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", {
2339
2518
  ref: ref,
2340
2519
  className: cn("fixed bottom-8 right-4 z-50", "alq--assistant-button-container", className),
2341
2520
  onMouseEnter: handleMouseEnter,
2342
2521
  onMouseLeave: handleMouseLeave,
2343
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", {
2522
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", {
2344
2523
  className: "relative group",
2345
2524
  children: [
2346
- isVisible && suggestions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(AssistantSuggestions, {
2525
+ isVisible && suggestions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(AssistantSuggestions, {
2347
2526
  suggestions: suggestions,
2348
2527
  showSuggestions: showSuggestions
2349
2528
  }),
2350
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Button, {
2529
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, {
2351
2530
  variant: "outline",
2352
2531
  size: "sm",
2353
2532
  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"),
2354
2533
  onClick: clickAction,
2355
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon2, {
2534
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon2, {
2356
2535
  style: {
2357
2536
  width: "22px",
2358
2537
  height: "22px"
@@ -2366,19 +2545,19 @@ var AssistantButton = React26.forwardRef(function(param, ref) {
2366
2545
  });
2367
2546
  AssistantButton.displayName = "AssistantButton";
2368
2547
  // src/components/molecules/carousel.tsx
2369
- var React27 = __toESM(require("react"));
2548
+ var React30 = __toESM(require("react"));
2370
2549
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
2371
- var import_lucide_react9 = require("lucide-react");
2372
- var import_jsx_runtime35 = require("react/jsx-runtime");
2373
- var CarouselContext = React27.createContext(null);
2550
+ var import_lucide_react12 = require("lucide-react");
2551
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2552
+ var CarouselContext = React30.createContext(null);
2374
2553
  function useCarousel() {
2375
- var context = React27.useContext(CarouselContext);
2554
+ var context = React30.useContext(CarouselContext);
2376
2555
  if (!context) {
2377
2556
  throw new Error("useCarousel must be used within a <Carousel />");
2378
2557
  }
2379
2558
  return context;
2380
2559
  }
2381
- var Carousel = React27.forwardRef(function(_param, ref) {
2560
+ var Carousel = React30.forwardRef(function(_param, ref) {
2382
2561
  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, [
2383
2562
  "orientation",
2384
2563
  "opts",
@@ -2390,26 +2569,26 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2390
2569
  var _ref = _sliced_to_array((0, import_embla_carousel_react.default)(_object_spread_props(_object_spread({}, opts), {
2391
2570
  axis: orientation === "horizontal" ? "x" : "y"
2392
2571
  }), plugins), 2), carouselRef = _ref[0], api = _ref[1];
2393
- var _React27_useState = _sliced_to_array(React27.useState(false), 2), canScrollPrev = _React27_useState[0], setCanScrollPrev = _React27_useState[1];
2394
- var _React27_useState1 = _sliced_to_array(React27.useState(false), 2), canScrollNext = _React27_useState1[0], setCanScrollNext = _React27_useState1[1];
2395
- var onSelect = React27.useCallback(function(api2) {
2572
+ var _React30_useState = _sliced_to_array(React30.useState(false), 2), canScrollPrev = _React30_useState[0], setCanScrollPrev = _React30_useState[1];
2573
+ var _React30_useState1 = _sliced_to_array(React30.useState(false), 2), canScrollNext = _React30_useState1[0], setCanScrollNext = _React30_useState1[1];
2574
+ var onSelect = React30.useCallback(function(api2) {
2396
2575
  if (!api2) {
2397
2576
  return;
2398
2577
  }
2399
2578
  setCanScrollPrev(api2.canScrollPrev());
2400
2579
  setCanScrollNext(api2.canScrollNext());
2401
2580
  }, []);
2402
- var scrollPrev = React27.useCallback(function() {
2581
+ var scrollPrev = React30.useCallback(function() {
2403
2582
  api === null || api === void 0 ? void 0 : api.scrollPrev();
2404
2583
  }, [
2405
2584
  api
2406
2585
  ]);
2407
- var scrollNext = React27.useCallback(function() {
2586
+ var scrollNext = React30.useCallback(function() {
2408
2587
  api === null || api === void 0 ? void 0 : api.scrollNext();
2409
2588
  }, [
2410
2589
  api
2411
2590
  ]);
2412
- var handleKeyDown = React27.useCallback(function(event) {
2591
+ var handleKeyDown = React30.useCallback(function(event) {
2413
2592
  if (event.key === "ArrowLeft") {
2414
2593
  event.preventDefault();
2415
2594
  scrollPrev();
@@ -2421,7 +2600,7 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2421
2600
  scrollPrev,
2422
2601
  scrollNext
2423
2602
  ]);
2424
- React27.useEffect(function() {
2603
+ React30.useEffect(function() {
2425
2604
  if (!api || !setApi) {
2426
2605
  return;
2427
2606
  }
@@ -2430,7 +2609,7 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2430
2609
  api,
2431
2610
  setApi
2432
2611
  ]);
2433
- React27.useEffect(function() {
2612
+ React30.useEffect(function() {
2434
2613
  if (!api) {
2435
2614
  return;
2436
2615
  }
@@ -2444,7 +2623,7 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2444
2623
  api,
2445
2624
  onSelect
2446
2625
  ]);
2447
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CarouselContext.Provider, {
2626
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(CarouselContext.Provider, {
2448
2627
  value: {
2449
2628
  carouselRef: carouselRef,
2450
2629
  api: api,
@@ -2455,7 +2634,7 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2455
2634
  canScrollPrev: canScrollPrev,
2456
2635
  canScrollNext: canScrollNext
2457
2636
  },
2458
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", _object_spread_props(_object_spread({
2637
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", _object_spread_props(_object_spread({
2459
2638
  ref: ref,
2460
2639
  onKeyDownCapture: handleKeyDown,
2461
2640
  className: cn("relative", className),
@@ -2467,27 +2646,27 @@ var Carousel = React27.forwardRef(function(_param, ref) {
2467
2646
  });
2468
2647
  });
2469
2648
  Carousel.displayName = "Carousel";
2470
- var CarouselContent = React27.forwardRef(function(_param, ref) {
2649
+ var CarouselContent = React30.forwardRef(function(_param, ref) {
2471
2650
  var className = _param.className, props = _object_without_properties(_param, [
2472
2651
  "className"
2473
2652
  ]);
2474
2653
  var _useCarousel = useCarousel(), carouselRef = _useCarousel.carouselRef, orientation = _useCarousel.orientation;
2475
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", {
2654
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", {
2476
2655
  ref: carouselRef,
2477
2656
  className: "overflow-hidden",
2478
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", _object_spread({
2657
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", _object_spread({
2479
2658
  ref: ref,
2480
2659
  className: cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className)
2481
2660
  }, props))
2482
2661
  });
2483
2662
  });
2484
2663
  CarouselContent.displayName = "CarouselContent";
2485
- var CarouselItem = React27.forwardRef(function(_param, ref) {
2664
+ var CarouselItem = React30.forwardRef(function(_param, ref) {
2486
2665
  var className = _param.className, props = _object_without_properties(_param, [
2487
2666
  "className"
2488
2667
  ]);
2489
2668
  var orientation = useCarousel().orientation;
2490
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", _object_spread({
2669
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", _object_spread({
2491
2670
  ref: ref,
2492
2671
  role: "group",
2493
2672
  "aria-roledescription": "slide",
@@ -2495,14 +2674,14 @@ var CarouselItem = React27.forwardRef(function(_param, ref) {
2495
2674
  }, props));
2496
2675
  });
2497
2676
  CarouselItem.displayName = "CarouselItem";
2498
- var CarouselPrevious = React27.forwardRef(function(_param, ref) {
2677
+ var CarouselPrevious = React30.forwardRef(function(_param, ref) {
2499
2678
  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, [
2500
2679
  "className",
2501
2680
  "variant",
2502
2681
  "size"
2503
2682
  ]);
2504
2683
  var _useCarousel = useCarousel(), orientation = _useCarousel.orientation, scrollPrev = _useCarousel.scrollPrev, canScrollPrev = _useCarousel.canScrollPrev;
2505
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Button, _object_spread_props(_object_spread({
2684
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Button, _object_spread_props(_object_spread({
2506
2685
  ref: ref,
2507
2686
  variant: variant,
2508
2687
  size: size,
@@ -2511,10 +2690,10 @@ var CarouselPrevious = React27.forwardRef(function(_param, ref) {
2511
2690
  onClick: scrollPrev
2512
2691
  }, props), {
2513
2692
  children: [
2514
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react9.ArrowLeft, {
2693
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react12.ArrowLeft, {
2515
2694
  className: "h-4 w-4"
2516
2695
  }),
2517
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", {
2696
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", {
2518
2697
  className: "sr-only",
2519
2698
  children: "Previous slide"
2520
2699
  })
@@ -2522,14 +2701,14 @@ var CarouselPrevious = React27.forwardRef(function(_param, ref) {
2522
2701
  }));
2523
2702
  });
2524
2703
  CarouselPrevious.displayName = "CarouselPrevious";
2525
- var CarouselNext = React27.forwardRef(function(_param, ref) {
2704
+ var CarouselNext = React30.forwardRef(function(_param, ref) {
2526
2705
  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, [
2527
2706
  "className",
2528
2707
  "variant",
2529
2708
  "size"
2530
2709
  ]);
2531
2710
  var _useCarousel = useCarousel(), orientation = _useCarousel.orientation, scrollNext = _useCarousel.scrollNext, canScrollNext = _useCarousel.canScrollNext;
2532
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Button, _object_spread_props(_object_spread({
2711
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Button, _object_spread_props(_object_spread({
2533
2712
  ref: ref,
2534
2713
  variant: variant,
2535
2714
  size: size,
@@ -2538,10 +2717,10 @@ var CarouselNext = React27.forwardRef(function(_param, ref) {
2538
2717
  onClick: scrollNext
2539
2718
  }, props), {
2540
2719
  children: [
2541
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react9.ArrowRight, {
2720
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react12.ArrowRight, {
2542
2721
  className: "h-4 w-4"
2543
2722
  }),
2544
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", {
2723
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", {
2545
2724
  className: "sr-only",
2546
2725
  children: "Next slide"
2547
2726
  })
@@ -2550,51 +2729,51 @@ var CarouselNext = React27.forwardRef(function(_param, ref) {
2550
2729
  });
2551
2730
  CarouselNext.displayName = "CarouselNext";
2552
2731
  // src/components/molecules/navigation-menu.tsx
2553
- var React28 = __toESM(require("react"));
2732
+ var React31 = __toESM(require("react"));
2554
2733
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"));
2555
2734
  var import_class_variance_authority9 = require("class-variance-authority");
2556
- var import_lucide_react10 = require("lucide-react");
2557
- var import_jsx_runtime36 = require("react/jsx-runtime");
2558
- var NavigationMenu = React28.forwardRef(function(_param, ref) {
2735
+ var import_lucide_react13 = require("lucide-react");
2736
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2737
+ var NavigationMenu = React31.forwardRef(function(_param, ref) {
2559
2738
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2560
2739
  "className",
2561
2740
  "children"
2562
2741
  ]);
2563
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(NavigationMenuPrimitive.Root, _object_spread_props(_object_spread({
2742
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(NavigationMenuPrimitive.Root, _object_spread_props(_object_spread({
2564
2743
  ref: ref,
2565
2744
  className: cn("relative z-10 flex max-w-max flex-1 items-center justify-center", className)
2566
2745
  }, props), {
2567
2746
  children: [
2568
2747
  children,
2569
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(NavigationMenuViewport, {})
2748
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(NavigationMenuViewport, {})
2570
2749
  ]
2571
2750
  }));
2572
2751
  });
2573
2752
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
2574
- var NavigationMenuList = React28.forwardRef(function(_param, ref) {
2753
+ var NavigationMenuList = React31.forwardRef(function(_param, ref) {
2575
2754
  var className = _param.className, props = _object_without_properties(_param, [
2576
2755
  "className"
2577
2756
  ]);
2578
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(NavigationMenuPrimitive.List, _object_spread({
2757
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(NavigationMenuPrimitive.List, _object_spread({
2579
2758
  ref: ref,
2580
2759
  className: cn("group flex flex-1 list-none items-center justify-center space-x-1", className)
2581
2760
  }, props));
2582
2761
  });
2583
2762
  NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
2584
2763
  var navigationMenuTriggerStyle = (0, import_class_variance_authority9.cva)("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");
2585
- var NavigationMenuTrigger = React28.forwardRef(function(_param, ref) {
2764
+ var NavigationMenuTrigger = React31.forwardRef(function(_param, ref) {
2586
2765
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2587
2766
  "className",
2588
2767
  "children"
2589
2768
  ]);
2590
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(NavigationMenuPrimitive.Trigger, _object_spread_props(_object_spread({
2769
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(NavigationMenuPrimitive.Trigger, _object_spread_props(_object_spread({
2591
2770
  ref: ref,
2592
2771
  className: cn(navigationMenuTriggerStyle(), "group", className)
2593
2772
  }, props), {
2594
2773
  children: [
2595
2774
  children,
2596
2775
  " ",
2597
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react10.ChevronDown, {
2776
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react13.ChevronDown, {
2598
2777
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
2599
2778
  "aria-hidden": "true"
2600
2779
  })
@@ -2602,47 +2781,47 @@ var NavigationMenuTrigger = React28.forwardRef(function(_param, ref) {
2602
2781
  }));
2603
2782
  });
2604
2783
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
2605
- var NavigationMenuContent = React28.forwardRef(function(_param, ref) {
2784
+ var NavigationMenuContent = React31.forwardRef(function(_param, ref) {
2606
2785
  var className = _param.className, props = _object_without_properties(_param, [
2607
2786
  "className"
2608
2787
  ]);
2609
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(NavigationMenuPrimitive.Content, _object_spread({
2788
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(NavigationMenuPrimitive.Content, _object_spread({
2610
2789
  ref: ref,
2611
2790
  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)
2612
2791
  }, props));
2613
2792
  });
2614
2793
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
2615
- var NavigationMenuViewport = React28.forwardRef(function(_param, ref) {
2794
+ var NavigationMenuViewport = React31.forwardRef(function(_param, ref) {
2616
2795
  var className = _param.className, props = _object_without_properties(_param, [
2617
2796
  "className"
2618
2797
  ]);
2619
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {
2798
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", {
2620
2799
  className: cn("absolute left-0 top-full flex justify-center"),
2621
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(NavigationMenuPrimitive.Viewport, _object_spread({
2800
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(NavigationMenuPrimitive.Viewport, _object_spread({
2622
2801
  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),
2623
2802
  ref: ref
2624
2803
  }, props))
2625
2804
  });
2626
2805
  });
2627
2806
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
2628
- var NavigationMenuIndicator = React28.forwardRef(function(_param, ref) {
2807
+ var NavigationMenuIndicator = React31.forwardRef(function(_param, ref) {
2629
2808
  var className = _param.className, props = _object_without_properties(_param, [
2630
2809
  "className"
2631
2810
  ]);
2632
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(NavigationMenuPrimitive.Indicator, _object_spread_props(_object_spread({
2811
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(NavigationMenuPrimitive.Indicator, _object_spread_props(_object_spread({
2633
2812
  ref: ref,
2634
2813
  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)
2635
2814
  }, props), {
2636
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {
2815
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", {
2637
2816
  className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"
2638
2817
  })
2639
2818
  }));
2640
2819
  });
2641
2820
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
2642
2821
  // src/components/molecules/sidebar.tsx
2643
- var React29 = __toESM(require("react"));
2822
+ var React32 = __toESM(require("react"));
2644
2823
  var import_class_variance_authority10 = require("class-variance-authority");
2645
- var import_jsx_runtime37 = require("react/jsx-runtime");
2824
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2646
2825
  var sidebarVariants = (0, import_class_variance_authority10.cva)("flex flex-col border-r", {
2647
2826
  variants: {
2648
2827
  size: {
@@ -2655,12 +2834,12 @@ var sidebarVariants = (0, import_class_variance_authority10.cva)("flex flex-col
2655
2834
  size: "default"
2656
2835
  }
2657
2836
  });
2658
- var SidebarFooter = React29.forwardRef(function(_param, ref) {
2837
+ var SidebarFooter = React32.forwardRef(function(_param, ref) {
2659
2838
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2660
2839
  "className",
2661
2840
  "children"
2662
2841
  ]);
2663
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", _object_spread_props(_object_spread({
2842
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", _object_spread_props(_object_spread({
2664
2843
  ref: ref,
2665
2844
  className: cn("p-4", className)
2666
2845
  }, props), {
@@ -2668,7 +2847,7 @@ var SidebarFooter = React29.forwardRef(function(_param, ref) {
2668
2847
  }));
2669
2848
  });
2670
2849
  SidebarFooter.displayName = "SidebarFooter";
2671
- var Sidebar = React29.forwardRef(function(_param, ref) {
2850
+ var Sidebar = React32.forwardRef(function(_param, ref) {
2672
2851
  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, [
2673
2852
  "className",
2674
2853
  "items",
@@ -2680,21 +2859,21 @@ var Sidebar = React29.forwardRef(function(_param, ref) {
2680
2859
  "defaultVariant",
2681
2860
  "buttonClassName"
2682
2861
  ]);
2683
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", _object_spread_props(_object_spread({
2862
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", _object_spread_props(_object_spread({
2684
2863
  className: cn(className, "alq--navigation-sidebar h-full"),
2685
2864
  ref: ref
2686
2865
  }, props), {
2687
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("aside", {
2866
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("aside", {
2688
2867
  className: cn(sidebarVariants({
2689
2868
  size: size
2690
2869
  }), "h-full"),
2691
2870
  children: [
2692
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ScrollArea, {
2871
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScrollArea, {
2693
2872
  className: "flex-grow justify-between",
2694
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", {
2873
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
2695
2874
  className: "flex flex-col gap-2 p-4",
2696
2875
  children: items.map(function(item) {
2697
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Button, {
2876
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Button, {
2698
2877
  variant: (selectedSection === null || selectedSection === void 0 ? void 0 : selectedSection.name) === item.name ? selectedVariant : defaultVariant,
2699
2878
  className: cn("justify-start", buttonClassName),
2700
2879
  disabled: item.disabled,
@@ -2704,7 +2883,7 @@ var Sidebar = React29.forwardRef(function(_param, ref) {
2704
2883
  }
2705
2884
  },
2706
2885
  children: [
2707
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(item.icon, {
2886
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(item.icon, {
2708
2887
  className: "mr-2 h-4 w-4"
2709
2888
  }),
2710
2889
  item.name
@@ -2713,7 +2892,7 @@ var Sidebar = React29.forwardRef(function(_param, ref) {
2713
2892
  })
2714
2893
  })
2715
2894
  }),
2716
- footerContent && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(SidebarFooter, {
2895
+ footerContent && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SidebarFooter, {
2717
2896
  children: footerContent
2718
2897
  })
2719
2898
  ]
@@ -2729,30 +2908,30 @@ var ThemeContext = (0, import_react8.createContext)({
2729
2908
  setTheme: function() {}
2730
2909
  });
2731
2910
  // src/components/molecules/sonner.tsx
2732
- var import_jsx_runtime38 = require("react/jsx-runtime");
2911
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2733
2912
  // src/components/molecules/rating-stars.tsx
2734
- var React30 = __toESM(require("react"));
2913
+ var React33 = __toESM(require("react"));
2735
2914
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
2736
- var import_lucide_react11 = require("lucide-react");
2737
- var import_jsx_runtime39 = require("react/jsx-runtime");
2915
+ var import_lucide_react14 = require("lucide-react");
2916
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2738
2917
  var TooltipProvider = TooltipPrimitive.Provider;
2739
- var Tooltip = TooltipPrimitive.Root;
2918
+ var Tooltip2 = TooltipPrimitive.Root;
2740
2919
  var TooltipTrigger = TooltipPrimitive.Trigger;
2741
- var TooltipContent = React30.forwardRef(function(_param, ref) {
2920
+ var TooltipContent = React33.forwardRef(function(_param, ref) {
2742
2921
  var className = _param.className, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, props = _object_without_properties(_param, [
2743
2922
  "className",
2744
2923
  "sideOffset"
2745
2924
  ]);
2746
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipPrimitive.Content, _object_spread({
2925
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(TooltipPrimitive.Content, _object_spread({
2747
2926
  ref: ref,
2748
2927
  sideOffset: sideOffset,
2749
2928
  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)
2750
2929
  }, props));
2751
2930
  });
2752
2931
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2753
- var StarRating = React30.forwardRef(function(param, ref) {
2932
+ var StarRating = React33.forwardRef(function(param, ref) {
2754
2933
  var rating = param.rating, onRate = param.onRate;
2755
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", {
2934
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {
2756
2935
  ref: ref,
2757
2936
  className: "flex",
2758
2937
  children: [
@@ -2762,14 +2941,14 @@ var StarRating = React30.forwardRef(function(param, ref) {
2762
2941
  4,
2763
2942
  5
2764
2943
  ].map(function(star) {
2765
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, {
2944
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, {
2766
2945
  onClick: function() {
2767
2946
  return onRate(star);
2768
2947
  },
2769
2948
  variant: "link",
2770
2949
  className: "p-1 transition-colors [&_svg]:size-5 h-5",
2771
2950
  "aria-label": "Rate ".concat(star, " star").concat(star !== 1 ? "s" : ""),
2772
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react11.Star, {
2951
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react14.Star, {
2773
2952
  className: cn("w-5 h-5", star <= rating ? "alq-rating-star-active fill-current stroke-current" : "alq-rating-star-inactive")
2774
2953
  })
2775
2954
  }, star);
@@ -2777,15 +2956,15 @@ var StarRating = React30.forwardRef(function(param, ref) {
2777
2956
  });
2778
2957
  });
2779
2958
  StarRating.displayName = "StarRating";
2780
- var RatingStars = React30.forwardRef(function(param, ref) {
2959
+ var RatingStars = React33.forwardRef(function(param, ref) {
2781
2960
  var _param_currentRating = param.currentRating, currentRating = _param_currentRating === void 0 ? 0 : _param_currentRating, onRate = param.onRate, className = param.className, isLoading = param.isLoading;
2782
- var _React30_useState = _sliced_to_array(React30.useState(false), 2), open = _React30_useState[0], setOpen = _React30_useState[1];
2783
- var _React30_useState1 = _sliced_to_array(React30.useState(false), 2), animate = _React30_useState1[0], setAnimate = _React30_useState1[1];
2961
+ var _React33_useState = _sliced_to_array(React33.useState(false), 2), open = _React33_useState[0], setOpen = _React33_useState[1];
2962
+ var _React33_useState1 = _sliced_to_array(React33.useState(false), 2), animate = _React33_useState1[0], setAnimate = _React33_useState1[1];
2784
2963
  var handleRate = function(rating) {
2785
2964
  onRate(rating);
2786
2965
  setOpen(false);
2787
2966
  };
2788
- React30.useEffect(function() {
2967
+ React33.useEffect(function() {
2789
2968
  if (currentRating > 0) {
2790
2969
  setAnimate(true);
2791
2970
  var timer = setTimeout(function() {
@@ -2799,14 +2978,14 @@ var RatingStars = React30.forwardRef(function(param, ref) {
2799
2978
  currentRating
2800
2979
  ]);
2801
2980
  var hasRated = currentRating > 0;
2802
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipProvider, {
2803
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Tooltip, {
2981
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(TooltipProvider, {
2982
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Tooltip2, {
2804
2983
  open: open,
2805
2984
  onOpenChange: setOpen,
2806
2985
  children: [
2807
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipTrigger, {
2986
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(TooltipTrigger, {
2808
2987
  asChild: true,
2809
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, {
2988
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, {
2810
2989
  ref: ref,
2811
2990
  variant: "link",
2812
2991
  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),
@@ -2814,18 +2993,18 @@ var RatingStars = React30.forwardRef(function(param, ref) {
2814
2993
  onClick: function() {
2815
2994
  return setOpen(!open);
2816
2995
  },
2817
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react11.Star, {
2996
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react14.Star, {
2818
2997
  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")
2819
2998
  })
2820
2999
  })
2821
3000
  }),
2822
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipContent, {
3001
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(TooltipContent, {
2823
3002
  side: "top",
2824
3003
  align: "center",
2825
3004
  className: "p-0",
2826
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", {
3005
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {
2827
3006
  className: "p-2 bg-background",
2828
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(StarRating, {
3007
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(StarRating, {
2829
3008
  rating: currentRating,
2830
3009
  onRate: handleRate
2831
3010
  })
@@ -2837,13 +3016,13 @@ var RatingStars = React30.forwardRef(function(param, ref) {
2837
3016
  });
2838
3017
  RatingStars.displayName = "RatingStars";
2839
3018
  // src/components/molecules/rating-thumbs.tsx
2840
- var React31 = __toESM(require("react"));
2841
- var import_lucide_react12 = require("lucide-react");
2842
- var import_jsx_runtime40 = require("react/jsx-runtime");
2843
- var RatingThumbs = React31.forwardRef(function(param, ref) {
3019
+ var React34 = __toESM(require("react"));
3020
+ var import_lucide_react15 = require("lucide-react");
3021
+ var import_jsx_runtime45 = require("react/jsx-runtime");
3022
+ var RatingThumbs = React34.forwardRef(function(param, ref) {
2844
3023
  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;
2845
- var _React31_useState = _sliced_to_array(React31.useState(false), 2), animate = _React31_useState[0], setAnimate = _React31_useState[1];
2846
- React31.useEffect(function() {
3024
+ var _React34_useState = _sliced_to_array(React34.useState(false), 2), animate = _React34_useState[0], setAnimate = _React34_useState[1];
3025
+ React34.useEffect(function() {
2847
3026
  if (currentRating) {
2848
3027
  setAnimate(true);
2849
3028
  var timer = setTimeout(function() {
@@ -2856,11 +3035,11 @@ var RatingThumbs = React31.forwardRef(function(param, ref) {
2856
3035
  }, [
2857
3036
  currentRating
2858
3037
  ]);
2859
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", {
3038
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", {
2860
3039
  ref: ref,
2861
3040
  className: cn("inline-flex", direction === "column" ? "flex-col" : "flex-row", "space-x-1 gap-4", className),
2862
3041
  children: [
2863
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button, {
3042
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Button, {
2864
3043
  variant: "link",
2865
3044
  onClick: function() {
2866
3045
  return onRate(currentRating === "thumbsUp" ? "" : "thumbsUp");
@@ -2868,11 +3047,11 @@ var RatingThumbs = React31.forwardRef(function(param, ref) {
2868
3047
  className: cn("p-1 transition-colors disabled:opacity-50 [&_svg]:size-5", "hover:alq-rating-thumbsup/10"),
2869
3048
  "aria-label": "Thumbs up",
2870
3049
  disabled: isLoading,
2871
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react12.ThumbsUp, {
3050
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react15.ThumbsUp, {
2872
3051
  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")
2873
3052
  })
2874
3053
  }),
2875
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button, {
3054
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Button, {
2876
3055
  variant: "link",
2877
3056
  onClick: function() {
2878
3057
  return onRate(currentRating === "thumbsDown" ? "" : "thumbsDown");
@@ -2880,7 +3059,7 @@ var RatingThumbs = React31.forwardRef(function(param, ref) {
2880
3059
  className: cn("p-1 transition-colors disabled:opacity-50 mt-0.5 [&_svg]:size-5", "hover:bg-alq-rating-thumbsdown/10"),
2881
3060
  "aria-label": "Thumbs down",
2882
3061
  disabled: isLoading,
2883
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react12.ThumbsDown, {
3062
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react15.ThumbsDown, {
2884
3063
  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")
2885
3064
  })
2886
3065
  })
@@ -2889,19 +3068,19 @@ var RatingThumbs = React31.forwardRef(function(param, ref) {
2889
3068
  });
2890
3069
  RatingThumbs.displayName = "RatingThumbs";
2891
3070
  // src/components/molecules/rating-comment.tsx
2892
- var React32 = __toESM(require("react"));
2893
- var import_lucide_react13 = require("lucide-react");
2894
- var import_jsx_runtime41 = require("react/jsx-runtime");
2895
- var RatingComment = React32.forwardRef(function(param, ref) {
3071
+ var React35 = __toESM(require("react"));
3072
+ var import_lucide_react16 = require("lucide-react");
3073
+ var import_jsx_runtime46 = require("react/jsx-runtime");
3074
+ var RatingComment = React35.forwardRef(function(param, ref) {
2896
3075
  var currentRating = param.currentRating, onRate = param.onRate, className = param.className, isLoading = param.isLoading;
2897
- var _React32_useState = _sliced_to_array(React32.useState(false), 2), open = _React32_useState[0], setOpen = _React32_useState[1];
2898
- var _React32_useState1 = _sliced_to_array(React32.useState(""), 2), comment = _React32_useState1[0], setComment = _React32_useState1[1];
2899
- var _React32_useState2 = _sliced_to_array(React32.useState(false), 2), animate = _React32_useState2[0], setAnimate = _React32_useState2[1];
3076
+ var _React35_useState = _sliced_to_array(React35.useState(false), 2), open = _React35_useState[0], setOpen = _React35_useState[1];
3077
+ var _React35_useState1 = _sliced_to_array(React35.useState(""), 2), comment = _React35_useState1[0], setComment = _React35_useState1[1];
3078
+ var _React35_useState2 = _sliced_to_array(React35.useState(false), 2), animate = _React35_useState2[0], setAnimate = _React35_useState2[1];
2900
3079
  var handleRate = function() {
2901
3080
  onRate(comment);
2902
3081
  setOpen(false);
2903
3082
  };
2904
- React32.useEffect(function() {
3083
+ React35.useEffect(function() {
2905
3084
  if (currentRating) {
2906
3085
  setAnimate(true);
2907
3086
  var timer = setTimeout(function() {
@@ -2914,39 +3093,39 @@ var RatingComment = React32.forwardRef(function(param, ref) {
2914
3093
  }, [
2915
3094
  currentRating
2916
3095
  ]);
2917
- React32.useEffect(function() {
3096
+ React35.useEffect(function() {
2918
3097
  setComment("");
2919
3098
  }, [
2920
3099
  open
2921
3100
  ]);
2922
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Dialog, {
3101
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Dialog, {
2923
3102
  open: open,
2924
3103
  onOpenChange: setOpen,
2925
3104
  children: [
2926
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogTrigger, {
3105
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DialogTrigger, {
2927
3106
  asChild: true,
2928
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Button, {
3107
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Button, {
2929
3108
  ref: ref,
2930
3109
  variant: "link",
2931
3110
  size: "lg",
2932
3111
  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),
2933
3112
  disabled: isLoading,
2934
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react13.Book, {
3113
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_lucide_react16.Book, {
2935
3114
  className: cn("w-5 h-5 transition-all duration-500", animate && "animate-ping", isLoading && "animate-pulse", "".concat(comment ? "alq-rating-comment" : "stroke-gray-400"))
2936
3115
  })
2937
3116
  })
2938
3117
  }),
2939
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogOverlay, {
3118
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DialogOverlay, {
2940
3119
  className: "fixed inset-0 bg-black bg-opacity-50"
2941
3120
  }),
2942
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(DialogContent, {
3121
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(DialogContent, {
2943
3122
  "aria-describedby": void 0,
2944
3123
  children: [
2945
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DialogTitle, {
3124
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DialogTitle, {
2946
3125
  className: "text-lg font-medium",
2947
3126
  children: "Deja un comentario"
2948
3127
  }),
2949
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("textarea", {
3128
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("textarea", {
2950
3129
  className: "mt-4 w-full p-2 border rounded-md focus:outline-none focus:ring-2 focus:ring-primary",
2951
3130
  rows: 4,
2952
3131
  value: comment,
@@ -2954,9 +3133,9 @@ var RatingComment = React32.forwardRef(function(param, ref) {
2954
3133
  return setComment(e.target.value);
2955
3134
  }
2956
3135
  }),
2957
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", {
3136
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", {
2958
3137
  className: "mt-4 flex justify-end",
2959
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Button, {
3138
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Button, {
2960
3139
  onClick: handleRate,
2961
3140
  disabled: !comment,
2962
3141
  children: "Enviar"
@@ -2969,8 +3148,8 @@ var RatingComment = React32.forwardRef(function(param, ref) {
2969
3148
  });
2970
3149
  RatingComment.displayName = "RatingComment";
2971
3150
  // src/components/molecules/call-out.tsx
2972
- var React33 = __toESM(require("react"));
2973
- var import_lucide_react14 = require("lucide-react");
3151
+ var React36 = __toESM(require("react"));
3152
+ var import_lucide_react17 = require("lucide-react");
2974
3153
  // src/components/hooks/use-text-streaming.ts
2975
3154
  var import_react9 = require("react");
2976
3155
  var CHAR_DELAY = 15;
@@ -3034,14 +3213,14 @@ function useTextStreaming(content, shouldStream, handleIsTextStreaming) {
3034
3213
  return displayedText;
3035
3214
  }
3036
3215
  // src/components/molecules/call-out.tsx
3037
- var import_jsx_runtime42 = require("react/jsx-runtime");
3038
- var CallOut = React33.forwardRef(function(_param, ref) {
3216
+ var import_jsx_runtime47 = require("react/jsx-runtime");
3217
+ var CallOut = React36.forwardRef(function(_param, ref) {
3039
3218
  var className = _param.className, children = _param.children, role = _param.role, props = _object_without_properties(_param, [
3040
3219
  "className",
3041
3220
  "children",
3042
3221
  "role"
3043
3222
  ]);
3044
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", _object_spread_props(_object_spread({
3223
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", _object_spread_props(_object_spread({
3045
3224
  ref: ref,
3046
3225
  className: cn("alq--callout-box", className),
3047
3226
  "data-role": role
@@ -3049,41 +3228,41 @@ var CallOut = React33.forwardRef(function(_param, ref) {
3049
3228
  children: children
3050
3229
  }));
3051
3230
  });
3052
- var CallOutDate = React33.forwardRef(function(_param, ref) {
3231
+ var CallOutDate = React36.forwardRef(function(_param, ref) {
3053
3232
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
3054
3233
  "className",
3055
3234
  "children"
3056
3235
  ]);
3057
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", _object_spread_props(_object_spread({
3236
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", _object_spread_props(_object_spread({
3058
3237
  ref: ref,
3059
3238
  className: cn("alq--callout-date", "text-sm text-muted-foreground", className)
3060
3239
  }, props), {
3061
3240
  children: children
3062
3241
  }));
3063
3242
  });
3064
- var CallOutActions = React33.forwardRef(function(_param, ref) {
3243
+ var CallOutActions = React36.forwardRef(function(_param, ref) {
3065
3244
  var className = _param.className, actions = _param.actions, role = _param.role, message = _param.message, props = _object_without_properties(_param, [
3066
3245
  "className",
3067
3246
  "actions",
3068
3247
  "role",
3069
3248
  "message"
3070
3249
  ]);
3071
- var _React33_useState = _sliced_to_array(React33.useState(false), 2), isLoading = _React33_useState[0], setIsLoading = _React33_useState[1];
3072
- var _React33_useState1 = _sliced_to_array(React33.useState(false), 2), isClicked = _React33_useState1[0], setIsClicked = _React33_useState1[1];
3250
+ var _React36_useState = _sliced_to_array(React36.useState(false), 2), isLoading = _React36_useState[0], setIsLoading = _React36_useState[1];
3251
+ var _React36_useState1 = _sliced_to_array(React36.useState(false), 2), isClicked = _React36_useState1[0], setIsClicked = _React36_useState1[1];
3073
3252
  if (role === "user") {
3074
3253
  return null;
3075
3254
  }
3076
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", _object_spread_props(_object_spread({
3255
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", _object_spread_props(_object_spread({
3077
3256
  ref: ref,
3078
3257
  className: cn("alq--callout-actions", className)
3079
3258
  }, props), {
3080
3259
  children: actions.map(function(action) {
3081
3260
  var _action_component;
3082
- return action.custom ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(React33.Fragment, {
3261
+ return action.custom ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(React36.Fragment, {
3083
3262
  children: (_action_component = action.component) === null || _action_component === void 0 ? void 0 : _action_component.call(action, {
3084
3263
  message: message
3085
3264
  })
3086
- }, action.label) : /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("button", {
3265
+ }, action.label) : /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("button", {
3087
3266
  className: cn("alq--callout-action", {
3088
3267
  "alq--callout-animate-action": isLoading
3089
3268
  }, {
@@ -3099,13 +3278,13 @@ var CallOutActions = React33.forwardRef(function(_param, ref) {
3099
3278
  });
3100
3279
  },
3101
3280
  children: [
3102
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", {
3281
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", {
3103
3282
  className: cn("alq-action-icon-wrapper", {
3104
3283
  "alq--callout-animate-action": isLoading
3105
3284
  }),
3106
3285
  children: action.icon
3107
3286
  }),
3108
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("label", {
3287
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("label", {
3109
3288
  children: action.label
3110
3289
  })
3111
3290
  ]
@@ -3113,7 +3292,7 @@ var CallOutActions = React33.forwardRef(function(_param, ref) {
3113
3292
  })
3114
3293
  }));
3115
3294
  });
3116
- var CallOutResponse = React33.forwardRef(function(_param, ref) {
3295
+ var CallOutResponse = React36.forwardRef(function(_param, ref) {
3117
3296
  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, [
3118
3297
  "className",
3119
3298
  "children",
@@ -3123,29 +3302,29 @@ var CallOutResponse = React33.forwardRef(function(_param, ref) {
3123
3302
  "isStreaming",
3124
3303
  "handleIsTextStreaming"
3125
3304
  ]);
3126
- var _React33_useState = _sliced_to_array(React33.useState(false), 2), isAdditionalInfoOpen = _React33_useState[0], setIsAdditionalInfoOpen = _React33_useState[1];
3305
+ var _React36_useState = _sliced_to_array(React36.useState(false), 2), isAdditionalInfoOpen = _React36_useState[0], setIsAdditionalInfoOpen = _React36_useState[1];
3127
3306
  var content = String(children || "");
3128
3307
  var shouldStream = role === "assistant" && isStreaming;
3129
3308
  var displayedContent = useTextStreaming(content, shouldStream !== null && shouldStream !== void 0 ? shouldStream : false, handleIsTextStreaming);
3130
3309
  var showAsToggle = additionalInfo && toggleAdditionalInfo;
3131
3310
  var showInline = additionalInfo && !toggleAdditionalInfo;
3132
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", _object_spread_props(_object_spread({
3311
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", _object_spread_props(_object_spread({
3133
3312
  ref: ref,
3134
3313
  "data-role": role,
3135
3314
  className: cn("alq--callout-response", "max-w-none", "text-foreground", className)
3136
3315
  }, props), {
3137
3316
  children: [
3138
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(RichText, {
3317
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(RichText, {
3139
3318
  content: displayedContent
3140
3319
  }),
3141
- showInline && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
3320
+ showInline && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
3142
3321
  className: cn("alq--callout-response-additional-info", "mt-2 text-sm text-muted-foreground whitespace-pre-line", "border-t border-border pt-2"),
3143
3322
  children: additionalInfo
3144
3323
  }),
3145
- showAsToggle && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", {
3324
+ showAsToggle && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", {
3146
3325
  className: cn("alq--callout-response-additional-info", "mt-2 border-t border-border pt-2"),
3147
3326
  children: [
3148
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Button, {
3327
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Button, {
3149
3328
  type: "button",
3150
3329
  variant: "ghost",
3151
3330
  size: "sm",
@@ -3157,19 +3336,19 @@ var CallOutResponse = React33.forwardRef(function(_param, ref) {
3157
3336
  },
3158
3337
  "aria-expanded": isAdditionalInfoOpen,
3159
3338
  children: [
3160
- isAdditionalInfoOpen ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react14.ChevronUp, {
3339
+ isAdditionalInfoOpen ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react17.ChevronUp, {
3161
3340
  className: "h-4 w-4 mr-1.5 shrink-0 transition-transform"
3162
- }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react14.ChevronDown, {
3341
+ }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react17.ChevronDown, {
3163
3342
  className: "h-4 w-4 mr-1.5 shrink-0 transition-transform"
3164
3343
  }),
3165
3344
  isAdditionalInfoOpen ? "Hide details" : "Show details"
3166
3345
  ]
3167
3346
  }),
3168
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
3347
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
3169
3348
  className: cn("grid transition-[grid-template-rows] duration-200 ease-out", isAdditionalInfoOpen ? "grid-rows-[1fr]" : "grid-rows-[0fr]"),
3170
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
3349
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
3171
3350
  className: "overflow-hidden",
3172
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", {
3351
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", {
3173
3352
  className: "text-sm text-muted-foreground pt-1 whitespace-pre-line",
3174
3353
  children: additionalInfo
3175
3354
  })
@@ -3185,9 +3364,9 @@ CallOutDate.displayName = "CallOutDate";
3185
3364
  CallOutActions.displayName = "CallOutActions";
3186
3365
  CallOutResponse.displayName = "CallOutResponse";
3187
3366
  // src/components/organisms/assistant.tsx
3188
- var import_lucide_react15 = require("lucide-react");
3189
- var import_jsx_runtime43 = require("react/jsx-runtime");
3190
- var Assistant = React34.forwardRef(function(_param, ref) {
3367
+ var import_lucide_react18 = require("lucide-react");
3368
+ var import_jsx_runtime48 = require("react/jsx-runtime");
3369
+ var Assistant = React37.forwardRef(function(_param, ref) {
3191
3370
  var className = _param.className, sdk = _param.sdk, title = _param.title, description = _param.description, children = _param.children, props = _object_without_properties(_param, [
3192
3371
  "className",
3193
3372
  "sdk",
@@ -3195,17 +3374,17 @@ var Assistant = React34.forwardRef(function(_param, ref) {
3195
3374
  "description",
3196
3375
  "children"
3197
3376
  ]);
3198
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", _object_spread_props(_object_spread({
3377
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", _object_spread_props(_object_spread({
3199
3378
  ref: ref,
3200
3379
  className: cn("flex flex-col h-full bg-background text-foreground", className)
3201
3380
  }, props), {
3202
3381
  children: [
3203
- (title || description) && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(AssistantHeader, {
3382
+ (title || description) && /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(AssistantHeader, {
3204
3383
  children: [
3205
- title && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AssistantTitle, {
3384
+ title && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(AssistantTitle, {
3206
3385
  title: title
3207
3386
  }),
3208
- description && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AssistantDescription, {
3387
+ description && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(AssistantDescription, {
3209
3388
  description: description
3210
3389
  })
3211
3390
  ]
@@ -3215,16 +3394,16 @@ var Assistant = React34.forwardRef(function(_param, ref) {
3215
3394
  }));
3216
3395
  });
3217
3396
  Assistant.displayName = "Assistant";
3218
- var AssistantTitle = React34.forwardRef(function(_param, ref) {
3397
+ var AssistantTitle = React37.forwardRef(function(_param, ref) {
3219
3398
  var className = _param.className, title = _param.title, props = _object_without_properties(_param, [
3220
3399
  "className",
3221
3400
  "title"
3222
3401
  ]);
3223
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", _object_spread_props(_object_spread({
3402
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", _object_spread_props(_object_spread({
3224
3403
  ref: ref,
3225
3404
  className: cn("text-foreground", className)
3226
3405
  }, props), {
3227
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typography, {
3406
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, {
3228
3407
  typeStyle: "heading1",
3229
3408
  as: "h1",
3230
3409
  children: title
@@ -3232,16 +3411,16 @@ var AssistantTitle = React34.forwardRef(function(_param, ref) {
3232
3411
  }));
3233
3412
  });
3234
3413
  AssistantTitle.displayName = "AssistantTitle";
3235
- var AssistantDescription = React34.forwardRef(function(_param, ref) {
3414
+ var AssistantDescription = React37.forwardRef(function(_param, ref) {
3236
3415
  var className = _param.className, description = _param.description, props = _object_without_properties(_param, [
3237
3416
  "className",
3238
3417
  "description"
3239
3418
  ]);
3240
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", _object_spread_props(_object_spread({
3419
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", _object_spread_props(_object_spread({
3241
3420
  ref: ref,
3242
3421
  className: cn("text-foreground", className)
3243
3422
  }, props), {
3244
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typography, {
3423
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, {
3245
3424
  typeStyle: "display",
3246
3425
  as: "p",
3247
3426
  children: description
@@ -3249,12 +3428,12 @@ var AssistantDescription = React34.forwardRef(function(_param, ref) {
3249
3428
  }));
3250
3429
  });
3251
3430
  AssistantDescription.displayName = "AssistantDescription";
3252
- var AssistantHeader = React34.forwardRef(function(_param, ref) {
3431
+ var AssistantHeader = React37.forwardRef(function(_param, ref) {
3253
3432
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
3254
3433
  "className",
3255
3434
  "children"
3256
3435
  ]);
3257
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", _object_spread_props(_object_spread({
3436
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", _object_spread_props(_object_spread({
3258
3437
  ref: ref,
3259
3438
  className: cn("bg-background text-foreground", className)
3260
3439
  }, props), {
@@ -3262,8 +3441,8 @@ var AssistantHeader = React34.forwardRef(function(_param, ref) {
3262
3441
  }));
3263
3442
  });
3264
3443
  AssistantHeader.displayName = "AssistantHeader";
3265
- var AssistantMessageArea = React34.forwardRef(function(_param, ref) {
3266
- 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, [
3444
+ var AssistantMessageArea = React37.forwardRef(function(_param, ref) {
3445
+ 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, [
3267
3446
  "className",
3268
3447
  "messages",
3269
3448
  "messagesEndRef",
@@ -3273,7 +3452,10 @@ var AssistantMessageArea = React34.forwardRef(function(_param, ref) {
3273
3452
  "handleIsTextStreaming",
3274
3453
  "toolFactory",
3275
3454
  "isLoading",
3276
- "showDetailedErrors"
3455
+ "showDetailedErrors",
3456
+ "interleave",
3457
+ "awaitingUser",
3458
+ "isMessageStreaming"
3277
3459
  ]);
3278
3460
  (0, import_react10.useEffect)(function() {
3279
3461
  var _messagesEndRef_current;
@@ -3281,72 +3463,76 @@ var AssistantMessageArea = React34.forwardRef(function(_param, ref) {
3281
3463
  behavior: "instant"
3282
3464
  });
3283
3465
  }, []);
3284
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", _object_spread_props(_object_spread({
3466
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", _object_spread_props(_object_spread({
3285
3467
  ref: ref,
3286
3468
  className: cn("p-6 overflow-y-auto flex-grow bg-background", className)
3287
3469
  }, props), {
3288
3470
  children: [
3289
- messages.map(function(message) {
3471
+ interleave === null || interleave === void 0 ? void 0 : interleave(0),
3472
+ messages.map(function(message, index) {
3290
3473
  var _message_tooler;
3291
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
3292
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(CallOut, {
3293
- role: message.role,
3294
- message: message,
3295
- children: [
3296
- streamingMessageId === message.id && (isLoading || message.content.length === 0) && !message.error_code && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
3297
- children: thinkIndicator !== null && thinkIndicator !== void 0 ? thinkIndicator : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ThinkIndicator, {})
3298
- }),
3299
- message.error_code && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CallOutResponse, {
3300
- role: "assistant",
3301
- "data-error-code": message.error_code,
3302
- additionalInfo: showDetailedErrors ? "".concat(message.error_detail).concat(message.stream_id ? "\nstream id: ".concat(message.stream_id) : "") : void 0,
3303
- toggleAdditionalInfo: true,
3304
- children: getErrorMessage(message.error_code)
3305
- }),
3306
- !message.error_code && ((_message_tooler = message.tooler) === null || _message_tooler === void 0 ? void 0 : _message_tooler.filter(hasToolResult).map(function(tool, index) {
3307
- var _tool_tool_summary, _tool_tool_summary1;
3308
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(React34.Fragment, {
3309
- 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)
3310
- }, tool.control_id || "".concat((_tool_tool_summary1 = tool.tool_summary) === null || _tool_tool_summary1 === void 0 ? void 0 : _tool_tool_summary1.name, "-").concat(index));
3311
- })),
3312
- message.content && !message.error_code && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", {
3313
- "data-role": message.role,
3314
- className: "alq--callout-message-container",
3315
- children: [
3316
- message.created_at && streamingMessageId !== message.id && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
3317
- className: "text-xs text-muted-foreground/80 pb-1 alq--callout-message-date",
3318
- children: new Date(Number(message.created_at)).toLocaleString("es-ES", {
3319
- hour: "2-digit",
3320
- minute: "2-digit",
3321
- hour12: false
3322
- })
3323
- }),
3324
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CallOutResponse, {
3325
- role: message.role,
3326
- isStreaming: streamingMessageId === message.id,
3327
- handleIsTextStreaming: handleIsTextStreaming,
3328
- additionalInfo: streamingMessageId !== message.id ? message === null || message === void 0 ? void 0 : message.additionalInfo : void 0,
3329
- children: message.content
3330
- }),
3331
- actions && streamingMessageId !== message.id && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(CallOutActions, {
3332
- actions: actions,
3333
- message: message,
3334
- role: message.role
3335
- }, message.id)
3336
- ]
3337
- })
3338
- ]
3339
- }, message.id)
3474
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", {
3475
+ children: [
3476
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(CallOut, {
3477
+ role: message.role,
3478
+ message: message,
3479
+ children: [
3480
+ streamingMessageId === message.id && (isLoading || message.content.length === 0) && !message.error_code && !awaitingUser && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
3481
+ children: thinkIndicator !== null && thinkIndicator !== void 0 ? thinkIndicator : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ThinkIndicator, {})
3482
+ }),
3483
+ message.error_code && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CallOutResponse, {
3484
+ role: "assistant",
3485
+ "data-error-code": message.error_code,
3486
+ additionalInfo: showDetailedErrors ? "".concat(message.error_detail).concat(message.taskid ? "\ntask id: ".concat(message.taskid) : "") : void 0,
3487
+ toggleAdditionalInfo: true,
3488
+ children: getErrorMessage(message.error_code)
3489
+ }),
3490
+ !message.error_code && ((_message_tooler = message.tooler) === null || _message_tooler === void 0 ? void 0 : _message_tooler.filter(hasToolResult).map(function(tool, index2) {
3491
+ var _tool_tool_summary, _tool_tool_summary1;
3492
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(React37.Fragment, {
3493
+ 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)
3494
+ }, tool.control_id || "".concat((_tool_tool_summary1 = tool.tool_summary) === null || _tool_tool_summary1 === void 0 ? void 0 : _tool_tool_summary1.name, "-").concat(index2));
3495
+ })),
3496
+ message.content && !message.error_code && /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", {
3497
+ "data-role": message.role,
3498
+ className: "alq--callout-message-container",
3499
+ children: [
3500
+ message.created_at && streamingMessageId !== message.id && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
3501
+ className: "text-xs text-muted-foreground/80 pb-1 alq--callout-message-date",
3502
+ children: new Date(Number(message.created_at)).toLocaleString("es-ES", {
3503
+ hour: "2-digit",
3504
+ minute: "2-digit",
3505
+ hour12: false
3506
+ })
3507
+ }),
3508
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CallOutResponse, {
3509
+ role: message.role,
3510
+ isStreaming: streamingMessageId === message.id,
3511
+ handleIsTextStreaming: handleIsTextStreaming,
3512
+ additionalInfo: streamingMessageId !== message.id ? message === null || message === void 0 ? void 0 : message.additionalInfo : void 0,
3513
+ children: message.content
3514
+ }),
3515
+ actions && streamingMessageId !== message.id && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CallOutActions, {
3516
+ actions: actions,
3517
+ message: message,
3518
+ role: message.role
3519
+ }, message.id)
3520
+ ]
3521
+ })
3522
+ ]
3523
+ }, message.id),
3524
+ interleave === null || interleave === void 0 ? void 0 : interleave(index + 1)
3525
+ ]
3340
3526
  }, message.id);
3341
3527
  }),
3342
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {
3528
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", {
3343
3529
  ref: messagesEndRef
3344
3530
  })
3345
3531
  ]
3346
3532
  }));
3347
3533
  });
3348
3534
  AssistantMessageArea.displayName = "AssistantMessageArea";
3349
- var AssistantInput = React34.forwardRef(function(_param, ref) {
3535
+ var AssistantInput = React37.forwardRef(function(_param, ref) {
3350
3536
  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, [
3351
3537
  "className",
3352
3538
  "sendMessageFunc",
@@ -3395,7 +3581,7 @@ var AssistantInput = React34.forwardRef(function(_param, ref) {
3395
3581
  onFileDrop
3396
3582
  ]);
3397
3583
  var placeholder = placeholders ? isMessageStreaming ? placeholders[0] : placeholders[1] : isMessageStreaming ? "Processing..." : "Type your message here...";
3398
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("form", _object_spread_props(_object_spread({
3584
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("form", _object_spread_props(_object_spread({
3399
3585
  onSubmit: sendMessageFunc,
3400
3586
  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),
3401
3587
  ref: ref,
@@ -3406,7 +3592,7 @@ var AssistantInput = React34.forwardRef(function(_param, ref) {
3406
3592
  }, props), {
3407
3593
  children: [
3408
3594
  attachmentsSlot,
3409
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("textarea", {
3595
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("textarea", {
3410
3596
  disabled: isButtonDisabled,
3411
3597
  value: input,
3412
3598
  onChange: handleInputChange,
@@ -3419,16 +3605,17 @@ var AssistantInput = React34.forwardRef(function(_param, ref) {
3419
3605
  }
3420
3606
  }
3421
3607
  }),
3422
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", {
3608
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", {
3423
3609
  className: "flex items-center relative alq--assistant-actions",
3424
3610
  children: [
3425
3611
  userToolboxComponent,
3426
3612
  speechToTextComponent,
3427
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("button", {
3613
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("button", {
3428
3614
  type: "submit",
3615
+ "aria-label": "Send",
3429
3616
  disabled: isButtonDisabled,
3430
3617
  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"),
3431
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react15.Send, {
3618
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react18.Send, {
3432
3619
  className: "w-5 h-5"
3433
3620
  })
3434
3621
  })
@@ -3445,7 +3632,7 @@ var import_react11 = require("react");
3445
3632
  // src/components/hooks/use-resize-observer.ts
3446
3633
  var import_react12 = require("react");
3447
3634
  // src/components/organisms/rating-dialog.tsx
3448
- var import_jsx_runtime44 = require("react/jsx-runtime");
3635
+ var import_jsx_runtime49 = require("react/jsx-runtime");
3449
3636
  function RatingDialog(param) {
3450
3637
  var sendRating = param.sendRating, topicId = param.topicId, assistantId = param.assistantId, isOpen = param.isOpen, onOpenChange = param.onOpenChange, setHasRatedTopic = param.setHasRatedTopic;
3451
3638
  var _useToast = useToast(), toast2 = _useToast.toast;
@@ -3461,7 +3648,7 @@ function RatingDialog(param) {
3461
3648
  success ? setHasRatedTopic(true) : toast2({
3462
3649
  title: "Error",
3463
3650
  description: "Hubo un error al enviar la calificaci\xf3n",
3464
- action: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ToastAction, {
3651
+ action: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ToastAction, {
3465
3652
  altText: "Goto schedule to undo",
3466
3653
  children: "Cerrar"
3467
3654
  })
@@ -3471,26 +3658,26 @@ function RatingDialog(param) {
3471
3658
  setHasRatedTopic(true);
3472
3659
  onOpenChange(false);
3473
3660
  };
3474
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Dialog, {
3661
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Dialog, {
3475
3662
  open: isOpen,
3476
3663
  onOpenChange: onOpenChange,
3477
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(DialogContent, {
3664
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DialogContent, {
3478
3665
  className: "sm:max-w-md",
3479
3666
  children: [
3480
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(DialogHeader, {
3667
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DialogHeader, {
3481
3668
  children: [
3482
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(DialogTitle, {
3669
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DialogTitle, {
3483
3670
  children: "Calific\xE1 esta conversaci\xF3n"
3484
3671
  }),
3485
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(DialogDescription, {
3672
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DialogDescription, {
3486
3673
  children: "Por favor, compart\xED tu opini\xF3n sobre el asistente."
3487
3674
  })
3488
3675
  ]
3489
3676
  }),
3490
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", {
3677
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", {
3491
3678
  className: "flex flex-row justify-center gap-4 py-4",
3492
3679
  children: [
3493
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(RatingStars, {
3680
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(RatingStars, {
3494
3681
  currentRating: ratingStars,
3495
3682
  onRate: function(newRating) {
3496
3683
  return handleRate("score", newRating, onHandleRateSuccess);
@@ -3498,7 +3685,7 @@ function RatingDialog(param) {
3498
3685
  isLoading: isLoading,
3499
3686
  className: "p-2 rounded"
3500
3687
  }),
3501
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(RatingThumbs, {
3688
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(RatingThumbs, {
3502
3689
  currentRating: ratingComment,
3503
3690
  onRate: function(newRating) {
3504
3691
  return handleRate("description", newRating, onHandleRateSuccess);
@@ -3506,7 +3693,7 @@ function RatingDialog(param) {
3506
3693
  direction: "row",
3507
3694
  isLoading: isLoading
3508
3695
  }),
3509
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(RatingComment, {
3696
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(RatingComment, {
3510
3697
  currentRating: ratingComment,
3511
3698
  onRate: function(newRating) {
3512
3699
  return handleRate("description", newRating, onHandleRateSuccess);
@@ -3515,12 +3702,12 @@ function RatingDialog(param) {
3515
3702
  })
3516
3703
  ]
3517
3704
  }),
3518
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", {
3705
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", {
3519
3706
  className: "flex flex-row justify-center gap-4",
3520
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, {
3707
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Button, {
3521
3708
  onClick: handleCancelRate,
3522
3709
  variant: "secondary",
3523
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typography, {
3710
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Typography, {
3524
3711
  as: "p",
3525
3712
  typeStyle: "tiny",
3526
3713
  children: "No, gracias."