@agg-market/ui 3.0.1 → 5.0.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 (60) hide show
  1. package/dist/chart.js +18 -5
  2. package/dist/chart.mjs +2 -2
  3. package/dist/{chunk-422MCIXV.mjs → chunk-34IRJYSU.mjs} +15 -11
  4. package/dist/{chunk-KUWTY4EM.mjs → chunk-3W7NBJLU.mjs} +1 -1
  5. package/dist/chunk-4343LYSH.mjs +45 -0
  6. package/dist/{chunk-RKCVOKE3.mjs → chunk-CTYJVVHJ.mjs} +26 -3
  7. package/dist/{chunk-MVJNQN7P.mjs → chunk-DHBHKIJR.mjs} +153 -94
  8. package/dist/{chunk-KRQFVMJE.mjs → chunk-GFBF2J3Y.mjs} +18 -25
  9. package/dist/{chunk-ZJJA4I3I.mjs → chunk-KIYMVWL4.mjs} +1 -1
  10. package/dist/{chunk-CTVMT3VL.mjs → chunk-LCZKSITC.mjs} +2 -2
  11. package/dist/chunk-M4RJHRFT.mjs +445 -0
  12. package/dist/{chunk-KSCSYCEF.mjs → chunk-MJHKBCXQ.mjs} +1 -1
  13. package/dist/{chunk-GHB3GOCW.mjs → chunk-MKVGQ7AS.mjs} +17 -21
  14. package/dist/{chunk-BN5VVHNV.mjs → chunk-OJVTGNIF.mjs} +17 -4
  15. package/dist/{chunk-FF3QYU26.mjs → chunk-Q6DGDBPV.mjs} +87 -26
  16. package/dist/{chunk-DCORNTCY.mjs → chunk-QDMHLRDY.mjs} +31 -62
  17. package/dist/{chunk-RGHA4PZH.mjs → chunk-T7TATHPD.mjs} +34 -10
  18. package/dist/chunk-XUCS575S.mjs +65 -0
  19. package/dist/event-list-item-details.js +1836 -407
  20. package/dist/event-list-item-details.mjs +10 -6
  21. package/dist/event-list-item.js +448 -279
  22. package/dist/event-list-item.mjs +6 -3
  23. package/dist/event-list.js +787 -627
  24. package/dist/event-list.mjs +7 -4
  25. package/dist/event-market-page.d.mts +1 -1
  26. package/dist/event-market-page.d.ts +1 -1
  27. package/dist/event-market-page.js +2684 -2572
  28. package/dist/event-market-page.mjs +12 -11
  29. package/dist/home-page.js +804 -644
  30. package/dist/home-page.mjs +8 -5
  31. package/dist/index.d.mts +3 -2
  32. package/dist/index.d.ts +3 -2
  33. package/dist/index.js +1344 -1177
  34. package/dist/index.mjs +23 -18
  35. package/dist/market-details.js +919 -757
  36. package/dist/market-details.mjs +9 -7
  37. package/dist/place-order.d.mts +1 -1
  38. package/dist/place-order.d.ts +1 -1
  39. package/dist/place-order.js +151 -189
  40. package/dist/place-order.mjs +2 -2
  41. package/dist/search.js +3 -0
  42. package/dist/search.mjs +2 -1
  43. package/dist/settlement.d.mts +1 -1
  44. package/dist/settlement.d.ts +1 -1
  45. package/dist/settlement.js +151 -189
  46. package/dist/settlement.mjs +2 -2
  47. package/dist/skeleton.js +151 -189
  48. package/dist/skeleton.mjs +1 -1
  49. package/dist/state-message.d.mts +16 -0
  50. package/dist/state-message.d.ts +16 -0
  51. package/dist/state-message.js +1629 -0
  52. package/dist/state-message.mjs +14 -0
  53. package/dist/styles.css +1 -1
  54. package/dist/switch-button.js +2 -2
  55. package/dist/switch-button.mjs +1 -1
  56. package/dist/tailwind.css +1 -1
  57. package/package.json +14 -2
  58. package/dist/chunk-V52WSZHQ.mjs +0 -482
  59. package/dist/{types-DkGlbmXq.d.mts → types-BImwqY4o.d.mts} +4 -4
  60. package/dist/{types-DkGlbmXq.d.ts → types-BImwqY4o.d.ts} +4 -4
@@ -176,10 +176,10 @@ var SwitchButton = ({
176
176
  return null;
177
177
  }
178
178
  const handleKeyDown = (event, optionIndex) => {
179
- if (event.key !== "ArrowLeft" && event.key !== "ArrowRight") {
179
+ if ((event == null ? void 0 : event.key) !== "ArrowLeft" && (event == null ? void 0 : event.key) !== "ArrowRight") {
180
180
  return;
181
181
  }
182
- event.preventDefault();
182
+ event == null ? void 0 : event.preventDefault();
183
183
  const nextOptionIndex = resolveNextEnabledIndex(
184
184
  options,
185
185
  optionIndex,
@@ -296,8 +296,18 @@ var normalizeSeries = (series) => {
296
296
  var defaultValueFormatter = (value) => {
297
297
  return `${Math.round(value)}%`;
298
298
  };
299
- var defaultTimeFormatter = (timestamp) => {
300
- return import_dayjs.default.unix(timestamp).format("MMM D");
299
+ var resolveTimeFormatter = (windowSeconds) => {
300
+ return (timestamp) => {
301
+ if (!Number.isFinite(timestamp))
302
+ return "";
303
+ if (windowSeconds <= 48 * 60 * 60) {
304
+ return import_dayjs.default.unix(timestamp).format("HH:mm");
305
+ }
306
+ if (windowSeconds <= 14 * 24 * 60 * 60) {
307
+ return import_dayjs.default.unix(timestamp).format("MMM D HH:mm");
308
+ }
309
+ return import_dayjs.default.unix(timestamp).format("MMM D");
310
+ };
301
311
  };
302
312
  var toLivelinePoints = (points) => {
303
313
  return points.map((point) => ({
@@ -420,6 +430,9 @@ var LineChart = ({
420
430
  const windowSeconds = (0, import_react2.useMemo)(() => {
421
431
  return resolveWindowSeconds(normalizedSeries);
422
432
  }, [normalizedSeries]);
433
+ const timeFormatter = (0, import_react2.useMemo)(() => {
434
+ return resolveTimeFormatter(windowSeconds);
435
+ }, [windowSeconds]);
423
436
  const seriesControls = showSeriesControls && normalizedSeries.length > 0 ? (_a = renderSeriesControls == null ? void 0 : renderSeriesControls({
424
437
  series: normalizedSeries,
425
438
  activeSeriesId,
@@ -458,7 +471,7 @@ var LineChart = ({
458
471
  pulse: false,
459
472
  window: windowSeconds,
460
473
  formatValue: defaultValueFormatter,
461
- formatTime: defaultTimeFormatter,
474
+ formatTime: timeFormatter,
462
475
  padding: {
463
476
  top: 12,
464
477
  right: 80,
@@ -510,6 +523,7 @@ var EventListItemSkeletonView = ({
510
523
  isStandalone = false
511
524
  }) => {
512
525
  const labels = (0, import_hooks5.useLabels)();
526
+ const outcomeTitleWidths = ["w-40", "w-[200px]"];
513
527
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
514
528
  Card,
515
529
  {
@@ -519,35 +533,23 @@ var EventListItemSkeletonView = ({
519
533
  "aria-busy": isStandalone || void 0,
520
534
  "aria-hidden": isStandalone ? void 0 : true,
521
535
  children: [
522
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex w-full items-start gap-3", children: [
523
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-10 w-10 rounded-agg-lg" }),
524
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex flex-1 flex-col gap-2", children: [
525
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-[82%] rounded-agg-sm" }),
526
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-[68%] rounded-agg-sm" })
527
- ] })
536
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
537
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
538
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
528
539
  ] }),
529
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "flex flex-col gap-3", children: [0, 1].map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
530
- "div",
531
- {
532
- className: "grid w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-3",
533
- children: [
534
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
535
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
536
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-[101px] rounded-agg-full" })
537
- ]
538
- },
539
- index
540
- )) }),
541
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center justify-between gap-2 text-agg-muted-foreground", children: [
542
- /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-2", children: [
543
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-4 w-36 rounded-agg-sm" }),
540
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex w-full items-center justify-between gap-3", children: [
541
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
542
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
543
+ ] }, index)) }),
544
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
545
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
546
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
544
547
  /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-1", children: [
545
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" }),
546
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" }),
547
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "size-3 rounded-agg-full" })
548
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
549
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
548
550
  ] })
549
551
  ] }),
550
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-4 w-20 rounded-agg-sm" })
552
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
551
553
  ] })
552
554
  ]
553
555
  }
@@ -567,13 +569,9 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
567
569
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
568
570
  "aria-busy": true,
569
571
  children: [
570
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-2 md:flex-row md:flex-nowrap md:items-center md:gap-4", children: [
571
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-7 w-40 rounded-agg-sm" }),
572
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex max-w-full gap-2", children: [
573
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-10 w-20 rounded-agg-full" }),
574
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-10 w-20 rounded-agg-full" }),
575
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-10 w-24 rounded-agg-full" })
576
- ] })
572
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-3 md:flex-row md:flex-nowrap md:items-center md:gap-5", children: [
573
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
574
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
577
575
  ] }),
578
576
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "grid grid-cols-1 gap-5 md:grid-cols-3", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
579
577
  EventListItemSkeletonView,
@@ -625,30 +623,26 @@ var EventListItemDetailsSkeletonView = ({
625
623
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
626
624
  "aria-busy": true,
627
625
  children: [
628
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex w-full items-start gap-3 md:gap-4", children: [
629
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "size-10 rounded-agg-lg md:size-[60px]" }),
630
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-1 flex-col gap-2", children: [
631
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-[82%] rounded-agg-sm md:h-7 md:w-[55%]" }),
632
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex gap-2 overflow-hidden", children: [
633
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" }),
634
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" }),
635
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-8 w-28 rounded-agg-full" })
636
- ] })
637
- ] })
626
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
627
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
628
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
638
629
  ] }),
639
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-4", children: [
640
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-10 w-full rounded-agg-full md:w-[220px]" }),
641
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex gap-2 overflow-hidden", children: [
642
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
643
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
644
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" }),
645
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-20 rounded-agg-full" })
630
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
631
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
632
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
633
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
634
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
635
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
636
+ ] }),
637
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
638
+ ] }),
639
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
640
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
641
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center justify-between", children: [
642
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
643
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
644
+ ] })
646
645
  ] })
647
- ] }),
648
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-[300px] w-full rounded-agg-xl", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-full w-full rounded-agg-xl" }) }),
649
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center justify-between", children: [
650
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" }),
651
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
652
646
  ] })
653
647
  ]
654
648
  }
@@ -672,6 +666,77 @@ var orderBookRowLimitDefault = 4;
672
666
 
673
667
  // src/primitives/skeleton/views/market-details-skeleton-view.tsx
674
668
  var import_jsx_runtime8 = require("react/jsx-runtime");
669
+ var orderBookAskBarWidths = [
670
+ "w-[52px] md:w-[240px]",
671
+ "w-[48px] md:w-[200px]",
672
+ "w-[40px] md:w-[120px]",
673
+ "w-[36px] md:w-[60px]"
674
+ ];
675
+ var orderBookBidBarWidths = [
676
+ "w-[36px] md:w-[60px]",
677
+ "w-[40px] md:w-[120px]",
678
+ "w-[48px] md:w-[200px]",
679
+ "w-[52px] md:w-[240px]"
680
+ ];
681
+ var MarketDetailsHeaderSkeleton = () => {
682
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
683
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
684
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
685
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
686
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
687
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
688
+ ] })
689
+ ] }),
690
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
691
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex w-full gap-2 md:w-auto", children: [
692
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
693
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
694
+ ] })
695
+ ] });
696
+ };
697
+ var MarketDetailsTabsSkeleton = () => {
698
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
699
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
700
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
701
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
702
+ ] }),
703
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex h-full flex-col justify-center", children: [
704
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
705
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "h-[3px] w-full" })
706
+ ] })
707
+ ] });
708
+ };
709
+ var MarketDetailsOrderBookRows = ({
710
+ side,
711
+ barWidths
712
+ }) => {
713
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex flex-col gap-2", children: barWidths.map((barWidthClassName, index) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-2", children: [
714
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2 md:grid-cols-[88px_1fr_1fr_minmax(120px,220px)] md:gap-6", children: [
715
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
716
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
717
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
718
+ ] }),
719
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
720
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
721
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: cn("h-2 rounded-agg-full", barWidthClassName) }) })
722
+ ] }),
723
+ index < barWidths.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
724
+ ] }, `${side}-row-${index}`)) });
725
+ };
726
+ var MarketDetailsOderbookSkeleton = ({
727
+ className
728
+ }) => {
729
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: cn("flex flex-col gap-5", className), children: [
730
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-2", children: [
731
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
732
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MarketDetailsOrderBookRows, { side: "ask", barWidths: orderBookAskBarWidths })
733
+ ] }),
734
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-2", children: [
735
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
736
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MarketDetailsOrderBookRows, { side: "bid", barWidths: orderBookBidBarWidths })
737
+ ] })
738
+ ] });
739
+ };
675
740
  var MarketDetailsSkeletonView = ({
676
741
  className,
677
742
  ariaLabel,
@@ -686,60 +751,12 @@ var MarketDetailsSkeletonView = ({
686
751
  "aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
687
752
  "aria-busy": true,
688
753
  children: [
689
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-3 p-4 md:px-5 md:py-4", children: [
690
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
691
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:gap-4", children: [
692
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
693
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
694
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-6 w-40 rounded-agg-sm" }),
695
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-28 rounded-agg-sm" })
696
- ] })
697
- ] }),
698
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-8 w-16 rounded-agg-sm" })
699
- ] }),
700
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex gap-2", children: [
701
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-10 flex-1 rounded-agg-full" }),
702
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-10 flex-1 rounded-agg-full" })
703
- ] })
704
- ] }),
754
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MarketDetailsHeaderSkeleton, {}),
705
755
  isDetailed ? /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
706
756
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
707
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex h-14 items-end", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-full w-full rounded-none" }) }),
757
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MarketDetailsTabsSkeleton, {}),
708
758
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
709
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-4 p-5", children: [
710
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-3", children: [
711
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-12 rounded-agg-sm" }),
712
- [0, 1, 2, 3].map((index) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
713
- "div",
714
- {
715
- className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2",
716
- children: [
717
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
718
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
719
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
720
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-2 rounded-agg-full" })
721
- ]
722
- },
723
- `ask-${index}`
724
- ))
725
- ] }),
726
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex flex-col gap-3", children: [
727
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 w-12 rounded-agg-sm" }),
728
- [0, 1, 2, 3].map((index) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
729
- "div",
730
- {
731
- className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2",
732
- children: [
733
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
734
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
735
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-4 rounded-agg-sm" }),
736
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SkeletonBlock, { className: "h-2 rounded-agg-full" })
737
- ]
738
- },
739
- `bid-${index}`
740
- ))
741
- ] })
742
- ] })
759
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MarketDetailsOderbookSkeleton, { className: "p-5" })
743
760
  ] }) : null
744
761
  ]
745
762
  }
@@ -750,65 +767,46 @@ MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
750
767
  // src/primitives/skeleton/views/place-order-skeleton-view.tsx
751
768
  var import_jsx_runtime9 = require("react/jsx-runtime");
752
769
  var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
770
+ var TabsSkeletonBar = () => {
771
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex w-full items-end border-b border-agg-border", children: [
772
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col rounded-t-agg-lg", children: [
773
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
774
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
775
+ ] }),
776
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col", children: [
777
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
778
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-[3px] w-full" })
779
+ ] })
780
+ ] });
781
+ };
753
782
  var ContentBody = () => {
754
783
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: cn("flex flex-col gap-6 p-5"), children: [
755
784
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-2", children: [
756
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-start justify-between gap-5", children: [
757
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
758
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-12 w-12 shrink-0 rounded-agg-lg" }),
759
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
760
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-5 w-[92%] rounded-agg-sm" }),
761
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-5 w-[80%] rounded-agg-sm" })
762
- ] })
763
- ] }),
764
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-6 w-6 rounded-agg-sm" })
785
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex min-w-0 items-center gap-3", children: [
786
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
787
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
788
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
789
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
790
+ ] })
765
791
  ] }),
766
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-5 w-28 rounded-agg-sm" })
792
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
793
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TabsSkeletonBar, {})
767
794
  ] }),
768
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex h-11 items-end border-b border-agg-separator", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-8", children: [
769
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-2", children: [
770
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" }),
771
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-[3px] w-12 rounded-t-agg-sm" })
772
- ] }),
773
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" })
774
- ] }) }),
775
795
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-4", children: [
776
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex gap-2", children: [
796
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex w-full gap-2", children: [
777
797
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
778
798
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
779
799
  ] }),
780
800
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
781
801
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-2", children: [
782
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }),
783
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-4 w-28 rounded-agg-sm" })
802
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
803
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
784
804
  ] }),
785
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-9 w-28 rounded-agg-sm" })
805
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
786
806
  ] })
787
807
  ] }),
788
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-2", children: [
789
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "rounded-agg-lg border border-agg-trade-highlight-border bg-agg-trade-highlight-surface p-3", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-3", children: [
790
- [0, 1].map((index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-3", children: [
791
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
792
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-2", children: [
793
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
794
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" })
795
- ] }),
796
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" })
797
- ] }),
798
- index === 0 ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-px w-full bg-agg-trade-highlight-border" }) : null
799
- ] }, `place-order-route-${index}`)),
800
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "mx-auto h-5 w-40 rounded-agg-sm" })
801
- ] }) }),
802
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-4 w-36 rounded-agg-sm" })
803
- ] }),
804
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
805
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-2", children: [
806
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }),
807
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-4 w-24 rounded-agg-sm" })
808
- ] }),
809
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-9 w-36 rounded-agg-sm" })
810
- ] }),
811
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-4 w-[88%] self-center rounded-agg-sm" })
808
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
809
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[240px] self-center rounded-agg-sm" })
812
810
  ] });
813
811
  };
814
812
  var PlaceOrderSkeletonView = ({
@@ -822,19 +820,7 @@ var PlaceOrderSkeletonView = ({
822
820
  role: "status",
823
821
  "aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
824
822
  "aria-busy": true,
825
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
826
- Card,
827
- {
828
- className: cn(
829
- placeOrderCardClassName,
830
- "w-full max-w-[400px] rounded-t-agg-xl rounded-b-none border-b-0"
831
- ),
832
- children: [
833
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ContentBody, {}),
834
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "border-t border-agg-separator bg-agg-secondary p-4", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }) })
835
- ]
836
- }
837
- ) })
823
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Card, { className: cn(placeOrderCardClassName, "w-full"), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ContentBody, {}) }) })
838
824
  }
839
825
  );
840
826
  };
@@ -860,38 +846,27 @@ var SettlementSkeletonView = ({
860
846
  "aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
861
847
  "aria-busy": true,
862
848
  children: [
863
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col gap-1 md:flex-row md:items-center md:justify-between md:gap-4", children: [
864
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-20 rounded-agg-sm" }),
865
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-80 rounded-agg-sm" })
849
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex w-full items-center justify-between gap-4", children: [
850
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
851
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
866
852
  ] }),
867
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col gap-2", children: [
868
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-5 w-52 rounded-agg-sm" }),
853
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
854
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
869
855
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col gap-2", children: [
870
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-[88%] rounded-agg-sm" }),
871
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-[84%] rounded-agg-sm" }),
872
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-[80%] rounded-agg-sm" }),
873
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-[74%] rounded-agg-sm" })
856
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
857
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
874
858
  ] })
875
859
  ] }),
876
860
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
877
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col gap-3", children: [
878
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col gap-2", children: [
879
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center gap-2", children: [
880
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
881
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-5 w-24 rounded-agg-sm" }),
882
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" })
883
- ] }),
884
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col gap-2 pl-6", children: [
885
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-full rounded-agg-sm" }),
886
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-[92%] rounded-agg-sm" }),
887
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-[34%] rounded-agg-sm" })
888
- ] })
861
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
862
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center gap-2", children: [
863
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
864
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
889
865
  ] }),
890
- [0, 1, 2].map((index) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center gap-2", children: [
891
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-full" }),
892
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-5 w-20 rounded-agg-sm" }),
893
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" })
894
- ] }, `settlement-venue-${index}`))
866
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center gap-2", children: [
867
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
868
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
869
+ ] })
895
870
  ] })
896
871
  ]
897
872
  }
@@ -935,14 +910,125 @@ var Skeleton = ({ view, className, ariaLabel }) => {
935
910
  };
936
911
  Skeleton.displayName = "Skeleton";
937
912
 
938
- // src/primitives/tabs/index.tsx
939
- var import_react4 = require("react");
940
- var import_hooks11 = require("@agg-market/hooks");
941
-
942
- // src/primitives/select/index.tsx
943
- var import_react3 = require("react");
913
+ // src/primitives/button/index.tsx
944
914
  var import_hooks10 = require("@agg-market/hooks");
945
915
 
916
+ // src/primitives/icon/icon.constants.ts
917
+ var iconSizeClasses = {
918
+ small: "h-4 w-4",
919
+ medium: "h-6 w-6",
920
+ large: "h-8 w-8"
921
+ };
922
+
923
+ // src/primitives/button/button.constants.ts
924
+ var sizeClasses = {
925
+ small: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
926
+ medium: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
927
+ large: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6")
928
+ };
929
+ var iconSizeClasses2 = {
930
+ small: iconSizeClasses.small,
931
+ medium: iconSizeClasses.small,
932
+ large: iconSizeClasses.small
933
+ };
934
+ var iconSlotClasses = {
935
+ small: "[&_svg]:h-4 [&_svg]:w-4",
936
+ medium: "[&_svg]:h-4 [&_svg]:w-4",
937
+ large: "[&_svg]:h-4 [&_svg]:w-4"
938
+ };
939
+ var variantClasses = {
940
+ primary: cn(
941
+ "bg-agg-primary text-agg-on-primary",
942
+ "hover:bg-agg-primary-hover",
943
+ "disabled:bg-agg-separator disabled:text-agg-on-primary",
944
+ "focus-visible:ring-agg-primary-hover"
945
+ ),
946
+ secondary: cn(
947
+ "border border-agg-separator bg-agg-secondary text-agg-foreground",
948
+ "hover:bg-agg-secondary-hover",
949
+ "disabled:bg-agg-secondary disabled:text-agg-muted-foreground disabled:border-agg-separator",
950
+ "focus-visible:ring-agg-separator"
951
+ ),
952
+ tertiary: cn(
953
+ "bg-transparent text-agg-primary",
954
+ "hover:text-agg-primary-hover",
955
+ "disabled:bg-transparent disabled:text-agg-muted-foreground",
956
+ "focus-visible:ring-agg-separator",
957
+ "px-0! py-0! h-fit!"
958
+ )
959
+ };
960
+ var baseButtonClasses = cn(
961
+ "cursor-pointer disabled:cursor-not-allowed",
962
+ "inline-flex items-center justify-center rounded-agg-full font-agg-sans font-agg-bold text-center",
963
+ "whitespace-nowrap",
964
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-agg-secondary"
965
+ );
966
+
967
+ // src/primitives/button/index.tsx
968
+ var import_jsx_runtime12 = require("react/jsx-runtime");
969
+ var Button = (_a) => {
970
+ var _b = _a, {
971
+ children,
972
+ variant = "primary",
973
+ size = "medium",
974
+ isLoading = false,
975
+ disabled,
976
+ prefix,
977
+ suffix,
978
+ type = "button",
979
+ className,
980
+ "aria-label": ariaLabel
981
+ } = _b, other = __objRest(_b, [
982
+ "children",
983
+ "variant",
984
+ "size",
985
+ "isLoading",
986
+ "disabled",
987
+ "prefix",
988
+ "suffix",
989
+ "type",
990
+ "className",
991
+ "aria-label"
992
+ ]);
993
+ const { enableAnimations } = (0, import_hooks10.useSdkUiConfig)();
994
+ const isDisabled = disabled || isLoading;
995
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
996
+ "button",
997
+ __spreadProps(__spreadValues({
998
+ type,
999
+ className: cn(
1000
+ "group/agg-button",
1001
+ baseButtonClasses,
1002
+ getMotionClassName(enableAnimations, "transition-colors duration-200 ease-in-out"),
1003
+ sizeClasses[size],
1004
+ iconSlotClasses[size],
1005
+ variantClasses[variant],
1006
+ className
1007
+ ),
1008
+ disabled: isDisabled,
1009
+ "aria-busy": isLoading,
1010
+ "aria-label": ariaLabel
1011
+ }, other), {
1012
+ children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1013
+ "span",
1014
+ {
1015
+ className: cn(
1016
+ "inline-block rounded-agg-full border-2 border-current border-r-transparent",
1017
+ getMotionClassName(enableAnimations, "animate-spin"),
1018
+ iconSizeClasses2[size]
1019
+ ),
1020
+ "aria-hidden": "true"
1021
+ }
1022
+ ) : /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
1023
+ prefix != null ? prefix : null,
1024
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children }),
1025
+ suffix != null ? suffix : null
1026
+ ] })
1027
+ })
1028
+ );
1029
+ };
1030
+ Button.displayName = "Button";
1031
+
946
1032
  // src/primitives/icon/types.ts
947
1033
  var getIconA11yProps = (title) => ({
948
1034
  role: title ? "img" : "presentation",
@@ -950,10 +1036,10 @@ var getIconA11yProps = (title) => ({
950
1036
  });
951
1037
 
952
1038
  // src/primitives/icon/svg/arrow-trend-up.tsx
953
- var import_jsx_runtime12 = require("react/jsx-runtime");
1039
+ var import_jsx_runtime13 = require("react/jsx-runtime");
954
1040
  var ArrowTrendUpIcon = (_a) => {
955
1041
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
956
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1042
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
957
1043
  "svg",
958
1044
  __spreadProps(__spreadValues(__spreadValues({
959
1045
  viewBox: "0 0 16 16",
@@ -961,8 +1047,8 @@ var ArrowTrendUpIcon = (_a) => {
961
1047
  fill: "none"
962
1048
  }, getIconA11yProps(title)), props), {
963
1049
  children: [
964
- title ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("title", { children: title }) : null,
965
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1050
+ title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: title }) : null,
1051
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
966
1052
  "path",
967
1053
  {
968
1054
  d: "M2 11.5L6.5 7L9.5 10L14 5.5",
@@ -972,7 +1058,7 @@ var ArrowTrendUpIcon = (_a) => {
972
1058
  strokeLinejoin: "round"
973
1059
  }
974
1060
  ),
975
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1061
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
976
1062
  "path",
977
1063
  {
978
1064
  d: "M10.5 5.5H14V9",
@@ -989,10 +1075,10 @@ var ArrowTrendUpIcon = (_a) => {
989
1075
  ArrowTrendUpIcon.displayName = "ArrowTrendUpIcon";
990
1076
 
991
1077
  // src/primitives/icon/svg/arrows-to-dot.tsx
992
- var import_jsx_runtime13 = require("react/jsx-runtime");
1078
+ var import_jsx_runtime14 = require("react/jsx-runtime");
993
1079
  var ArrowsToDotIcon = (_a) => {
994
1080
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
995
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1081
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
996
1082
  "svg",
997
1083
  __spreadProps(__spreadValues(__spreadValues({
998
1084
  viewBox: "0 0 16 16",
@@ -1000,8 +1086,8 @@ var ArrowsToDotIcon = (_a) => {
1000
1086
  fill: "none"
1001
1087
  }, getIconA11yProps(title)), props), {
1002
1088
  children: [
1003
- title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: title }) : null,
1004
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1089
+ title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: title }) : null,
1090
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1005
1091
  "path",
1006
1092
  {
1007
1093
  d: "M8 6.66667C8.73667 6.66667 9.33333 7.26333 9.33333 8C9.33333 8.73667 8.73667 9.33333 8 9.33333C7.26333 9.33333 6.66667 8.73667 6.66667 8C6.66667 7.26333 7.26333 6.66667 8 6.66667ZM5.27867 7.05733L3.39267 5.17133C3.132 4.91067 2.71067 4.91067 2.45 5.17133C2.18933 5.432 2.18933 5.854 2.45 6.114L3.67467 7.33333H0.666667C0.298 7.33333 0 7.632 0 8C0 8.368 0.298 8.66667 0.666667 8.66667H3.662L2.44867 9.88667C2.18867 10.148 2.19 10.5693 2.45133 10.8293C2.71267 11.0893 3.13467 11.088 3.394 10.8267L5.27933 8.93133C5.79467 8.41467 5.79467 7.574 5.27933 7.05667L5.27867 7.05733ZM7.068 5.278C7.56133 5.79267 8.45 5.79267 8.94267 5.278L10.828 3.392C11.0887 3.13133 11.0887 2.70933 10.828 2.44933C10.5673 2.18867 10.146 2.18867 9.88533 2.44933L8.66667 3.674V0.666667C8.66667 0.298667 8.36867 0 8 0C7.63133 0 7.33333 0.298667 7.33333 0.666667V3.662L6.11333 2.44867C5.852 2.18867 5.43067 2.19 5.17067 2.45133C4.91067 2.71267 4.912 3.13467 5.17333 3.394L7.068 5.278ZM8.94267 10.7213C8.42667 10.2053 7.58533 10.2053 7.06867 10.72L5.17267 12.606C4.91133 12.866 4.91 13.2873 5.17 13.5487C5.42933 13.8093 5.85067 13.8113 6.11267 13.5513L7.33267 12.3307V15.3333C7.33267 15.702 7.63067 16 7.99933 16C8.368 16 8.666 15.702 8.666 15.3333V12.3307L9.88467 13.55C10.1453 13.8107 10.5667 13.8107 10.8273 13.55C11.088 13.2893 11.088 12.868 10.8273 12.6073L8.94267 10.7213ZM15.3333 7.33333H12.3307L13.55 6.114C13.8107 5.854 13.8107 5.432 13.55 5.17133C13.2893 4.91067 12.868 4.91067 12.6073 5.17133L10.7213 7.05733C10.2053 7.574 10.2047 8.41467 10.72 8.93133L12.606 10.8273C12.866 11.088 13.2873 11.09 13.5487 10.83C13.81 10.57 13.8113 10.1487 13.5513 9.88733L12.3307 8.66733H15.3333C15.702 8.66733 16 8.36867 16 8.00067C16 7.63267 15.702 7.334 15.3333 7.334V7.33333Z",
@@ -1015,10 +1101,10 @@ var ArrowsToDotIcon = (_a) => {
1015
1101
  ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
1016
1102
 
1017
1103
  // src/primitives/icon/svg/bank.tsx
1018
- var import_jsx_runtime14 = require("react/jsx-runtime");
1104
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1019
1105
  var BankIcon = (_a) => {
1020
1106
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1021
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1107
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1022
1108
  "svg",
1023
1109
  __spreadProps(__spreadValues(__spreadValues({
1024
1110
  viewBox: "0 0 24 24",
@@ -1026,8 +1112,8 @@ var BankIcon = (_a) => {
1026
1112
  fill: "none"
1027
1113
  }, getIconA11yProps(title)), props), {
1028
1114
  children: [
1029
- title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: title }) : null,
1030
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1115
+ title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
1116
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1031
1117
  "path",
1032
1118
  {
1033
1119
  d: "M23 22H1C0.448 22 0 22.448 0 23C0 23.552 0.448 24 1 24H23C23.552 24 24 23.552 24 23C24 22.448 23.552 22 23 22ZM2 21H4V11H2V21ZM6 21H8V11H6V21ZM10 21H14V11H10V21ZM16 21H18V11H16V21ZM20 21H22V11H20V21ZM12 0.334C11.826 0.123 11.569 0 11.297 0H12.703C12.431 0 12.174 0.123 12 0.334ZM0.392 8.613C0.144 9.02 0 9.495 0 10C0 10 0 10 1 10H23C24 10 24 10 24 10C24 9.495 23.856 9.02 23.608 8.613L13.406 0.668C13.016 0.244 12.528 0 12 0C11.472 0 10.984 0.244 10.594 0.668L0.392 8.613ZM12 2.156L21.445 9H2.555L12 2.156ZM12 5C10.895 5 10 5.895 10 7C10 8.105 10.895 9 12 9C13.105 9 14 8.105 14 7C14 5.895 13.105 5 12 5ZM12 8C11.448 8 11 7.552 11 7C11 6.448 11.448 6 12 6C12.552 6 13 6.448 13 7C13 7.552 12.552 8 12 8Z",
@@ -1041,10 +1127,10 @@ var BankIcon = (_a) => {
1041
1127
  BankIcon.displayName = "BankIcon";
1042
1128
 
1043
1129
  // src/primitives/icon/svg/best-prices.tsx
1044
- var import_jsx_runtime15 = require("react/jsx-runtime");
1130
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1045
1131
  var BestPricesIcon = (_a) => {
1046
1132
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1047
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1133
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1048
1134
  "svg",
1049
1135
  __spreadProps(__spreadValues(__spreadValues({
1050
1136
  width: "28",
@@ -1055,15 +1141,15 @@ var BestPricesIcon = (_a) => {
1055
1141
  className
1056
1142
  }, getIconA11yProps(title)), props), {
1057
1143
  children: [
1058
- title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
1059
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1144
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
1145
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1060
1146
  "path",
1061
1147
  {
1062
1148
  d: "M12.8333 27.4167C12.8333 27.7387 12.572 28 12.25 28H5.25C2.3555 28 0 25.6445 0 22.75V5.25117C0 2.35667 2.35433 0 5.25 0H18.0833C20.9778 0 23.3333 2.35433 23.3333 5.24883V8.74883C23.3333 9.07083 23.0732 9.33217 22.75 9.33217C22.4268 9.33217 22.1667 9.07083 22.1667 8.74883V5.24883C22.1667 2.99717 20.3338 1.1655 18.0833 1.1655H5.25C2.99833 1.1655 1.16667 2.99833 1.16667 5.25V22.7488C1.16667 25.0005 2.9995 26.8322 5.25 26.8322H12.25C12.572 26.8322 12.8333 27.0947 12.8333 27.4167ZM27.8297 27.8297C27.7153 27.944 27.566 28 27.4167 28C27.2673 28 27.118 27.9428 27.0037 27.8297L23.0102 23.8362C21.6837 24.9748 19.964 25.6667 18.0822 25.6667C13.9008 25.6667 10.4988 22.2647 10.4988 18.0833C10.4988 13.902 13.9008 10.5 18.0822 10.5C22.2635 10.5 25.6655 13.902 25.6655 18.0833C25.6655 19.964 24.9725 21.6837 23.835 23.0113L27.8285 27.0048C28.056 27.2323 28.0572 27.6022 27.8297 27.8297ZM24.5 18.0833C24.5 14.546 21.6218 11.6667 18.0833 11.6667C14.5448 11.6667 11.6667 14.546 11.6667 18.0833C11.6667 21.6207 14.5448 24.5 18.0833 24.5C21.6218 24.5 24.5 21.6207 24.5 18.0833ZM7.58333 5.83333H5.25C4.928 5.83333 4.66667 6.09467 4.66667 6.41667C4.66667 6.73867 4.928 7 5.25 7H7.58333C7.90533 7 8.16667 6.73867 8.16667 6.41667C8.16667 6.09467 7.90533 5.83333 7.58333 5.83333ZM7.58333 17.5H5.25C4.928 17.5 4.66667 17.7613 4.66667 18.0833C4.66667 18.4053 4.928 18.6667 5.25 18.6667H7.58333C7.90533 18.6667 8.16667 18.4053 8.16667 18.0833C8.16667 17.7613 7.90533 17.5 7.58333 17.5ZM11.0833 5.83333C10.7613 5.83333 10.5 6.09467 10.5 6.41667C10.5 6.73867 10.7613 7 11.0833 7H18.0833C18.4053 7 18.6667 6.73867 18.6667 6.41667C18.6667 6.09467 18.4053 5.83333 18.0833 5.83333H11.0833ZM7.58333 11.6667H5.25C4.928 11.6667 4.66667 11.928 4.66667 12.25C4.66667 12.572 4.928 12.8333 5.25 12.8333H7.58333C7.90533 12.8333 8.16667 12.572 8.16667 12.25C8.16667 11.928 7.90533 11.6667 7.58333 11.6667ZM21.1668 16.4862L18.0098 19.5405C17.6167 19.9255 16.9762 19.9302 16.583 19.5452L14.9928 17.976C14.7642 17.7497 14.3943 17.752 14.168 17.9807C13.9417 18.2105 13.944 18.5803 14.1738 18.8055L15.7652 20.377C16.1875 20.79 16.7417 20.9965 17.2958 20.9965C17.85 20.9965 18.4053 20.7888 18.8253 20.3747L21.9788 17.325C22.2098 17.101 22.2168 16.7312 21.9928 16.5002C21.77 16.2692 21.399 16.2645 21.1668 16.4862Z",
1063
1149
  fill: "currentColor"
1064
1150
  }
1065
1151
  ) }),
1066
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
1152
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
1067
1153
  ]
1068
1154
  })
1069
1155
  );
@@ -1071,10 +1157,10 @@ var BestPricesIcon = (_a) => {
1071
1157
  BestPricesIcon.displayName = "BestPricesIcon";
1072
1158
 
1073
1159
  // src/primitives/icon/svg/bolt.tsx
1074
- var import_jsx_runtime16 = require("react/jsx-runtime");
1160
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1075
1161
  var BoltIcon = (_a) => {
1076
1162
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1077
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1163
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1078
1164
  "svg",
1079
1165
  __spreadProps(__spreadValues(__spreadValues({
1080
1166
  viewBox: "0 0 24 24",
@@ -1082,15 +1168,15 @@ var BoltIcon = (_a) => {
1082
1168
  fill: "none"
1083
1169
  }, getIconA11yProps(title)), props), {
1084
1170
  children: [
1085
- title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
1086
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1171
+ title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: title }) : null,
1172
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1087
1173
  "path",
1088
1174
  {
1089
1175
  d: "M11.7372 24C11.4922 24 11.2432 23.946 11.0022 23.835C10.2162 23.472 9.83423 22.637 10.0722 21.805L11.8272 16H6.50123C5.70223 16 4.97023 15.632 4.49423 14.99C4.01823 14.348 3.87723 13.541 4.10823 12.776L7.13023 1.788C7.45523 0.714 8.41723 0 9.52623 0H13.8992C14.5872 0 15.2322 0.338 15.6242 0.903C16.0162 1.468 16.1062 2.191 15.8652 2.835L13.7052 9H17.5002C18.4422 9 19.2682 9.497 19.7092 10.33C20.1502 11.163 20.0982 12.124 19.5692 12.904L13.1592 23.216C12.8202 23.725 12.2912 24 11.7372 24ZM9.52723 1C8.86123 1 8.28423 1.428 8.09123 2.066L5.06923 13.054C4.92723 13.525 5.01123 14.009 5.29723 14.394C5.58323 14.779 6.02223 15 6.50223 15H12.5012C12.6592 15 12.8082 15.075 12.9022 15.202C12.9962 15.329 13.0252 15.493 12.9792 15.644L11.0322 22.086C10.9102 22.514 11.1532 22.802 11.4232 22.926C11.6922 23.05 12.0692 23.05 12.3192 22.673L18.7312 12.358C19.0592 11.874 19.0912 11.297 18.8262 10.797C18.5612 10.297 18.0662 9.999 17.5002 9.999H13.0002C12.8382 9.999 12.6862 9.92 12.5922 9.788C12.4982 9.656 12.4742 9.487 12.5282 9.333L14.9252 2.493C15.0572 2.14 15.0112 1.772 14.8022 1.472C14.5942 1.171 14.2642 0.999 13.8992 0.999H9.52623L9.52723 1Z",
1090
1176
  fill: "currentColor"
1091
1177
  }
1092
1178
  ) }),
1093
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
1179
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
1094
1180
  ]
1095
1181
  })
1096
1182
  );
@@ -1098,10 +1184,10 @@ var BoltIcon = (_a) => {
1098
1184
  BoltIcon.displayName = "BoltIcon";
1099
1185
 
1100
1186
  // src/primitives/icon/svg/check-circle.tsx
1101
- var import_jsx_runtime17 = require("react/jsx-runtime");
1187
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1102
1188
  var CheckCircleIcon = (_a) => {
1103
1189
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1104
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1190
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1105
1191
  "svg",
1106
1192
  __spreadProps(__spreadValues(__spreadValues({
1107
1193
  width: "24",
@@ -1112,15 +1198,15 @@ var CheckCircleIcon = (_a) => {
1112
1198
  className
1113
1199
  }, getIconA11yProps(title)), props), {
1114
1200
  children: [
1115
- title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: title }) : null,
1116
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1201
+ title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
1202
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1117
1203
  "path",
1118
1204
  {
1119
1205
  d: "M12 0C5.383 0 0 5.383 0 12C0 18.617 5.383 24 12 24C18.617 24 24 18.617 24 12C24 5.383 18.617 0 12 0ZM18.2 10.512L13.774 14.857C12.991 15.625 11.983 16.008 10.974 16.008C9.976 16.008 8.978 15.632 8.198 14.879L6.299 13.012C5.905 12.625 5.9 11.992 6.287 11.598C6.673 11.203 7.308 11.198 7.701 11.586L9.594 13.447C10.37 14.197 11.595 14.193 12.375 13.429L16.8 9.085C17.193 8.697 17.824 8.704 18.214 9.098C18.601 9.492 18.595 10.125 18.2 10.512Z",
1120
1206
  fill: "currentColor"
1121
1207
  }
1122
1208
  ) }),
1123
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
1209
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
1124
1210
  ]
1125
1211
  })
1126
1212
  );
@@ -1128,10 +1214,10 @@ var CheckCircleIcon = (_a) => {
1128
1214
  CheckCircleIcon.displayName = "CheckCircleIcon";
1129
1215
 
1130
1216
  // src/primitives/icon/svg/chevron-down.tsx
1131
- var import_jsx_runtime18 = require("react/jsx-runtime");
1217
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1132
1218
  var ChevronDownIcon = (_a) => {
1133
1219
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1134
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1220
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1135
1221
  "svg",
1136
1222
  __spreadProps(__spreadValues(__spreadValues({
1137
1223
  viewBox: "0 0 14 14",
@@ -1139,8 +1225,8 @@ var ChevronDownIcon = (_a) => {
1139
1225
  fill: "none"
1140
1226
  }, getIconA11yProps(title)), props), {
1141
1227
  children: [
1142
- title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
1143
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1228
+ title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: title }) : null,
1229
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1144
1230
  "path",
1145
1231
  {
1146
1232
  d: "M3.25 5.25L7 9L10.75 5.25",
@@ -1157,10 +1243,10 @@ var ChevronDownIcon = (_a) => {
1157
1243
  ChevronDownIcon.displayName = "ChevronDownIcon";
1158
1244
 
1159
1245
  // src/primitives/icon/svg/chevron-left.tsx
1160
- var import_jsx_runtime19 = require("react/jsx-runtime");
1246
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1161
1247
  var ChevronLeftIcon = (_a) => {
1162
1248
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1163
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1249
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1164
1250
  "svg",
1165
1251
  __spreadProps(__spreadValues(__spreadValues({
1166
1252
  viewBox: "0 0 24 24",
@@ -1168,8 +1254,8 @@ var ChevronLeftIcon = (_a) => {
1168
1254
  fill: "none"
1169
1255
  }, getIconA11yProps(title)), props), {
1170
1256
  children: [
1171
- title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: title }) : null,
1172
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1257
+ title ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: title }) : null,
1258
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1173
1259
  "path",
1174
1260
  {
1175
1261
  d: "M10.5999 12.6786C10.5061 12.5856 10.4317 12.475 10.381 12.3531C10.3302 12.2313 10.3041 12.1006 10.3041 11.9686C10.3041 11.8366 10.3302 11.7058 10.381 11.584C10.4317 11.4621 10.5061 11.3515 10.5999 11.2586L15.1899 6.67857C15.2836 6.5856 15.358 6.475 15.4088 6.35314C15.4595 6.23128 15.4857 6.10058 15.4857 5.96857C15.4857 5.83655 15.4595 5.70585 15.4088 5.58399C15.358 5.46213 15.2836 5.35153 15.1899 5.25857C15.0025 5.07231 14.749 4.96777 14.4849 4.96777C14.2207 4.96777 13.9672 5.07231 13.7799 5.25857L9.18986 9.84857C8.62806 10.4111 8.3125 11.1736 8.3125 11.9686C8.3125 12.7636 8.62806 13.5261 9.18986 14.0886L13.7799 18.6786C13.9661 18.8633 14.2175 18.9675 14.4799 18.9686C14.6115 18.9693 14.7419 18.9441 14.8638 18.8943C14.9856 18.8446 15.0964 18.7712 15.1899 18.6786C15.2836 18.5856 15.358 18.475 15.4088 18.3531C15.4595 18.2313 15.4857 18.1006 15.4857 17.9686C15.4857 17.8366 15.4595 17.7058 15.4088 17.584C15.358 17.4621 15.2836 17.3515 15.1899 17.2586L10.5999 12.6786Z",
@@ -1183,10 +1269,10 @@ var ChevronLeftIcon = (_a) => {
1183
1269
  ChevronLeftIcon.displayName = "ChevronLeftIcon";
1184
1270
 
1185
1271
  // src/primitives/icon/svg/chevron-right.tsx
1186
- var import_jsx_runtime20 = require("react/jsx-runtime");
1272
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1187
1273
  var ChevronRightIcon = (_a) => {
1188
1274
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1189
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1275
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1190
1276
  "svg",
1191
1277
  __spreadProps(__spreadValues(__spreadValues({
1192
1278
  viewBox: "0 0 16 16",
@@ -1194,8 +1280,8 @@ var ChevronRightIcon = (_a) => {
1194
1280
  fill: "none"
1195
1281
  }, getIconA11yProps(title)), props), {
1196
1282
  children: [
1197
- title ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: title }) : null,
1198
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1283
+ title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: title }) : null,
1284
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1199
1285
  "path",
1200
1286
  {
1201
1287
  d: "M10.2665 6.56563L7.20654 3.50563C7.08163 3.38146 6.91266 3.31177 6.73653 3.31177C6.56041 3.31177 6.39144 3.38146 6.26653 3.50563C6.20405 3.5676 6.15445 3.64134 6.12061 3.72258C6.08676 3.80382 6.06934 3.89095 6.06934 3.97896C6.06934 4.06697 6.08676 4.15411 6.12061 4.23535C6.15445 4.31659 6.20405 4.39032 6.26653 4.4523L9.3332 7.50563C9.39569 7.5676 9.44528 7.64134 9.47913 7.72258C9.51298 7.80382 9.5304 7.89095 9.5304 7.97896C9.5304 8.06697 9.51298 8.15411 9.47913 8.23535C9.44528 8.31659 9.39569 8.39032 9.3332 8.4523L6.26653 11.5056C6.141 11.6303 6.07012 11.7997 6.0695 11.9766C6.06887 12.1535 6.13855 12.3234 6.2632 12.449C6.38785 12.5745 6.55727 12.6454 6.73418 12.646C6.91109 12.6466 7.081 12.5769 7.20654 12.4523L10.2665 9.3923C10.6411 9.0173 10.8514 8.50896 10.8514 7.97896C10.8514 7.44896 10.6411 6.94063 10.2665 6.56563Z",
@@ -1209,10 +1295,10 @@ var ChevronRightIcon = (_a) => {
1209
1295
  ChevronRightIcon.displayName = "ChevronRightIcon";
1210
1296
 
1211
1297
  // src/primitives/icon/svg/chevron-up.tsx
1212
- var import_jsx_runtime21 = require("react/jsx-runtime");
1298
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1213
1299
  var ChevronUpIcon = (_a) => {
1214
1300
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1215
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1301
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1216
1302
  "svg",
1217
1303
  __spreadProps(__spreadValues(__spreadValues({
1218
1304
  viewBox: "0 0 14 14",
@@ -1220,8 +1306,8 @@ var ChevronUpIcon = (_a) => {
1220
1306
  fill: "none"
1221
1307
  }, getIconA11yProps(title)), props), {
1222
1308
  children: [
1223
- title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: title }) : null,
1224
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1309
+ title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: title }) : null,
1310
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1225
1311
  "path",
1226
1312
  {
1227
1313
  d: "M3.25 8.75L7 5L10.75 8.75",
@@ -1238,10 +1324,10 @@ var ChevronUpIcon = (_a) => {
1238
1324
  ChevronUpIcon.displayName = "ChevronUpIcon";
1239
1325
 
1240
1326
  // src/primitives/icon/svg/close.tsx
1241
- var import_jsx_runtime22 = require("react/jsx-runtime");
1327
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1242
1328
  var CloseIcon = (_a) => {
1243
1329
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1244
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1330
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1245
1331
  "svg",
1246
1332
  __spreadProps(__spreadValues(__spreadValues({
1247
1333
  width: "16",
@@ -1252,8 +1338,8 @@ var CloseIcon = (_a) => {
1252
1338
  className
1253
1339
  }, getIconA11yProps(title)), props), {
1254
1340
  children: [
1255
- title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: title }) : null,
1256
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1341
+ title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
1342
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1257
1343
  "path",
1258
1344
  {
1259
1345
  d: "M12 4L4 12M4 4l8 8",
@@ -1270,10 +1356,10 @@ var CloseIcon = (_a) => {
1270
1356
  CloseIcon.displayName = "CloseIcon";
1271
1357
 
1272
1358
  // src/primitives/icon/svg/copy.tsx
1273
- var import_jsx_runtime23 = require("react/jsx-runtime");
1359
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1274
1360
  var CopyIcon = (_a) => {
1275
1361
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1276
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1362
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1277
1363
  "svg",
1278
1364
  __spreadProps(__spreadValues(__spreadValues({
1279
1365
  viewBox: "0 0 16 16",
@@ -1281,15 +1367,15 @@ var CopyIcon = (_a) => {
1281
1367
  fill: "none"
1282
1368
  }, getIconA11yProps(title)), props), {
1283
1369
  children: [
1284
- title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
1285
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1370
+ title ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: title }) : null,
1371
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1286
1372
  "path",
1287
1373
  {
1288
1374
  d: "M10 13.3333H3.33333C2.4496 13.3323 1.60237 12.9807 0.97748 12.3559C0.352588 11.731 0.00105857 10.8837 0 10L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L10 0C10.8837 0.00105857 11.731 0.352588 12.3559 0.97748C12.9807 1.60237 13.3323 2.4496 13.3333 3.33333V10C13.3323 10.8837 12.9807 11.731 12.3559 12.3559C11.731 12.9807 10.8837 13.3323 10 13.3333ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V10C1.33333 10.5304 1.54405 11.0391 1.91912 11.4142C2.29419 11.7893 2.8029 12 3.33333 12H10C10.5304 12 11.0391 11.7893 11.4142 11.4142C11.7893 11.0391 12 10.5304 12 10V3.33333C12 2.8029 11.7893 2.29419 11.4142 1.91912C11.0391 1.54405 10.5304 1.33333 10 1.33333H3.33333ZM16 12.6667V4C16 3.82319 15.9298 3.65362 15.8047 3.5286C15.6797 3.40357 15.5101 3.33333 15.3333 3.33333C15.1565 3.33333 14.987 3.40357 14.8619 3.5286C14.7369 3.65362 14.6667 3.82319 14.6667 4V12.6667C14.6667 13.1971 14.456 13.7058 14.0809 14.0809C13.7058 14.456 13.1971 14.6667 12.6667 14.6667H4C3.82319 14.6667 3.65362 14.7369 3.5286 14.8619C3.40357 14.987 3.33333 15.1565 3.33333 15.3333C3.33333 15.5101 3.40357 15.6797 3.5286 15.8047C3.65362 15.9298 3.82319 16 4 16H12.6667C13.5504 15.9989 14.3976 15.6474 15.0225 15.0225C15.6474 14.3976 15.9989 13.5504 16 12.6667Z",
1289
1375
  fill: "currentColor"
1290
1376
  }
1291
1377
  ) }),
1292
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1378
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1293
1379
  ]
1294
1380
  })
1295
1381
  );
@@ -1297,10 +1383,10 @@ var CopyIcon = (_a) => {
1297
1383
  CopyIcon.displayName = "CopyIcon";
1298
1384
 
1299
1385
  // src/primitives/icon/svg/create-account.tsx
1300
- var import_jsx_runtime24 = require("react/jsx-runtime");
1386
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1301
1387
  var CreateAccountIcon = (_a) => {
1302
1388
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1303
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1389
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1304
1390
  "svg",
1305
1391
  __spreadProps(__spreadValues(__spreadValues({
1306
1392
  width: "28",
@@ -1311,15 +1397,15 @@ var CreateAccountIcon = (_a) => {
1311
1397
  className
1312
1398
  }, getIconA11yProps(title)), props), {
1313
1399
  children: [
1314
- title ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: title }) : null,
1315
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1400
+ title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
1401
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1316
1402
  "path",
1317
1403
  {
1318
1404
  d: "M22.1667 4.66667V0.583333C22.1667 0.261333 22.428 0 22.75 0C23.072 0 23.3333 0.261333 23.3333 0.583333V4.66667H27.4167C27.7387 4.66667 28 4.928 28 5.25C28 5.572 27.7387 5.83333 27.4167 5.83333H23.3333V9.91667C23.3333 10.2387 23.072 10.5 22.75 10.5C22.428 10.5 22.1667 10.2387 22.1667 9.91667V5.83333H18.0833C17.7613 5.83333 17.5 5.572 17.5 5.25C17.5 4.928 17.7613 4.66667 18.0833 4.66667H22.1667ZM18.6667 11.6667C18.6667 14.2403 16.5737 16.3333 14 16.3333C11.4263 16.3333 9.33333 14.2403 9.33333 11.6667C9.33333 9.093 11.4263 7 14 7C16.5737 7 18.6667 9.093 18.6667 11.6667ZM17.5 11.6667C17.5 9.737 15.9297 8.16667 14 8.16667C12.0703 8.16667 10.5 9.737 10.5 11.6667C10.5 13.5963 12.0703 15.1667 14 15.1667C15.9297 15.1667 17.5 13.5963 17.5 11.6667ZM27.3922 9.90617C27.7958 11.2292 28 12.6058 28 14C28 21.7198 21.7198 28 14 28C6.28017 28 0 21.7198 0 14C0 6.28017 6.28017 0 14 0C15.4548 0 16.8898 0.221667 18.2607 0.660333C18.5675 0.758333 18.7367 1.08617 18.6387 1.393C18.5395 1.69983 18.2105 1.87017 17.9048 1.771C16.6483 1.36967 15.3335 1.1655 13.9988 1.1655C6.92417 1.16667 1.16667 6.92417 1.16667 14C1.16667 18.5197 3.521 22.4933 7.063 24.78C7.5005 21.3383 10.4417 18.6667 14 18.6667C17.5583 18.6667 20.4995 21.3383 20.937 24.78C24.4778 22.4933 26.8333 18.5197 26.8333 14C26.8333 12.7213 26.6467 11.459 26.2757 10.2468C26.1823 9.93883 26.355 9.61217 26.6642 9.51883C26.9722 9.422 27.2977 9.59933 27.3922 9.90617ZM14 26.8333C16.0918 26.8333 18.0623 26.32 19.8088 25.4287C19.6805 22.3253 17.1348 19.8333 14 19.8333C10.8652 19.8333 8.31833 22.3242 8.19117 25.4287C9.93767 26.32 11.9082 26.8333 14 26.8333Z",
1319
1405
  fill: "currentColor"
1320
1406
  }
1321
1407
  ) }),
1322
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
1408
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
1323
1409
  ]
1324
1410
  })
1325
1411
  );
@@ -1327,10 +1413,10 @@ var CreateAccountIcon = (_a) => {
1327
1413
  CreateAccountIcon.displayName = "CreateAccountIcon";
1328
1414
 
1329
1415
  // src/primitives/icon/svg/credit-card.tsx
1330
- var import_jsx_runtime25 = require("react/jsx-runtime");
1416
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1331
1417
  var CreditCardIcon = (_a) => {
1332
1418
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1333
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1419
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1334
1420
  "svg",
1335
1421
  __spreadProps(__spreadValues(__spreadValues({
1336
1422
  viewBox: "0 0 24 24",
@@ -1338,8 +1424,8 @@ var CreditCardIcon = (_a) => {
1338
1424
  fill: "none"
1339
1425
  }, getIconA11yProps(title)), props), {
1340
1426
  children: [
1341
- title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
1342
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1427
+ title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
1428
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1343
1429
  "path",
1344
1430
  {
1345
1431
  d: "M19.5 3H4.5C2.019 3 0 5.019 0 7.5V16.5C0 18.981 2.019 21 4.5 21H19.5C21.981 21 24 18.981 24 16.5V7.5C24 5.019 21.981 3 19.5 3ZM1 8H23V10H1V8ZM4.5 4H19.5C21.258 4 22.704 5.308 22.949 7H1.051C1.296 5.308 2.742 4 4.5 4ZM19.5 20H4.5C2.57 20 1 18.43 1 16.5V11H23V16.5C23 18.43 21.43 20 19.5 20ZM5 14C3.897 14 3 14.897 3 16C3 17.103 3.897 18 5 18C6.103 18 7 17.103 7 16C7 14.897 6.103 14 5 14ZM5 17C4.449 17 4 16.552 4 16C4 15.448 4.449 15 5 15C5.551 15 6 15.448 6 16C6 16.552 5.551 17 5 17Z",
@@ -1353,10 +1439,10 @@ var CreditCardIcon = (_a) => {
1353
1439
  CreditCardIcon.displayName = "CreditCardIcon";
1354
1440
 
1355
1441
  // src/primitives/icon/svg/disconnect.tsx
1356
- var import_jsx_runtime26 = require("react/jsx-runtime");
1442
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1357
1443
  var DisconnectIcon = (_a) => {
1358
1444
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1359
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1445
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1360
1446
  "svg",
1361
1447
  __spreadProps(__spreadValues(__spreadValues({
1362
1448
  viewBox: "0 0 16 16",
@@ -1364,8 +1450,8 @@ var DisconnectIcon = (_a) => {
1364
1450
  fill: "none"
1365
1451
  }, getIconA11yProps(title)), props), {
1366
1452
  children: [
1367
- title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
1368
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1453
+ title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
1454
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1369
1455
  "path",
1370
1456
  {
1371
1457
  d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
@@ -1374,7 +1460,7 @@ var DisconnectIcon = (_a) => {
1374
1460
  strokeLinecap: "round"
1375
1461
  }
1376
1462
  ),
1377
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1463
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1378
1464
  "path",
1379
1465
  {
1380
1466
  d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
@@ -1391,10 +1477,10 @@ var DisconnectIcon = (_a) => {
1391
1477
  DisconnectIcon.displayName = "DisconnectIcon";
1392
1478
 
1393
1479
  // src/primitives/icon/svg/dots-horizontal.tsx
1394
- var import_jsx_runtime27 = require("react/jsx-runtime");
1480
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1395
1481
  var DotsHorizontalIcon = (_a) => {
1396
1482
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1397
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1483
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1398
1484
  "svg",
1399
1485
  __spreadProps(__spreadValues(__spreadValues({
1400
1486
  viewBox: "0 0 16 16",
@@ -1402,10 +1488,10 @@ var DotsHorizontalIcon = (_a) => {
1402
1488
  fill: "none"
1403
1489
  }, getIconA11yProps(title)), props), {
1404
1490
  children: [
1405
- title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
1406
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
1407
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
1408
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
1491
+ title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
1492
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
1493
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
1494
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
1409
1495
  ]
1410
1496
  })
1411
1497
  );
@@ -1413,10 +1499,10 @@ var DotsHorizontalIcon = (_a) => {
1413
1499
  DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
1414
1500
 
1415
1501
  // src/primitives/icon/svg/document.tsx
1416
- var import_jsx_runtime28 = require("react/jsx-runtime");
1502
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1417
1503
  var DocumentIcon = (_a) => {
1418
1504
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1419
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1505
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1420
1506
  "svg",
1421
1507
  __spreadProps(__spreadValues(__spreadValues({
1422
1508
  viewBox: "0 0 16 16",
@@ -1424,15 +1510,15 @@ var DocumentIcon = (_a) => {
1424
1510
  fill: "none"
1425
1511
  }, getIconA11yProps(title)), props), {
1426
1512
  children: [
1427
- title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
1428
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1513
+ title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
1514
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1429
1515
  "path",
1430
1516
  {
1431
1517
  d: "M11.3335 9.33335C11.3335 9.51016 11.2633 9.67973 11.1382 9.80475C11.0132 9.92978 10.8436 10 10.6668 10H5.3335C5.15669 10 4.98712 9.92978 4.86209 9.80475C4.73707 9.67973 4.66683 9.51016 4.66683 9.33335C4.66683 9.15654 4.73707 8.98697 4.86209 8.86194C4.98712 8.73692 5.15669 8.66668 5.3335 8.66668H10.6668C10.8436 8.66668 11.0132 8.73692 11.1382 8.86194C11.2633 8.98697 11.3335 9.15654 11.3335 9.33335ZM8.66683 11.3333H5.3335C5.15669 11.3333 4.98712 11.4036 4.86209 11.5286C4.73707 11.6536 4.66683 11.8232 4.66683 12C4.66683 12.1768 4.73707 12.3464 4.86209 12.4714C4.98712 12.5964 5.15669 12.6667 5.3335 12.6667H8.66683C8.84364 12.6667 9.01321 12.5964 9.13823 12.4714C9.26326 12.3464 9.3335 12.1768 9.3335 12C9.3335 11.8232 9.26326 11.6536 9.13823 11.5286C9.01321 11.4036 8.84364 11.3333 8.66683 11.3333ZM14.6668 6.99002V12.6667C14.6658 13.5504 14.3142 14.3976 13.6894 15.0225C13.0645 15.6474 12.2172 15.999 11.3335 16H4.66683C3.7831 15.999 2.93587 15.6474 2.31098 15.0225C1.68608 14.3976 1.33455 13.5504 1.3335 12.6667V3.33335C1.33455 2.44962 1.68608 1.60239 2.31098 0.977495C2.93587 0.352603 3.7831 0.00107394 4.66683 1.53658e-05H7.67683C8.28991 -0.00156258 8.89722 0.118407 9.46365 0.352988C10.0301 0.587569 10.5444 0.932107 10.9768 1.36668L13.2995 3.69068C13.7343 4.12284 14.0791 4.63699 14.3138 5.20333C14.5485 5.76968 14.6685 6.37696 14.6668 6.99002ZM10.0342 2.30935C9.82435 2.10612 9.58879 1.9313 9.3335 1.78935V4.66668C9.3335 4.84349 9.40373 5.01306 9.52876 5.13809C9.65378 5.26311 9.82335 5.33335 10.0002 5.33335H12.8775C12.7355 5.07814 12.5604 4.84278 12.3568 4.63335L10.0342 2.30935ZM13.3335 6.99002C13.3335 6.88002 13.3122 6.77468 13.3022 6.66668H10.0002C9.46973 6.66668 8.96102 6.45597 8.58595 6.0809C8.21088 5.70582 8.00016 5.19711 8.00016 4.66668V1.36468C7.89216 1.35468 7.78616 1.33335 7.67683 1.33335H4.66683C4.1364 1.33335 3.62769 1.54406 3.25262 1.91914C2.87754 2.29421 2.66683 2.80292 2.66683 3.33335V12.6667C2.66683 13.1971 2.87754 13.7058 3.25262 14.0809C3.62769 14.456 4.1364 14.6667 4.66683 14.6667H11.3335C11.8639 14.6667 12.3726 14.456 12.7477 14.0809C13.1228 13.7058 13.3335 13.1971 13.3335 12.6667V6.99002Z",
1432
1518
  fill: "currentColor"
1433
1519
  }
1434
1520
  ) }),
1435
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("clipPath", { id: "document-clip", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1521
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("clipPath", { id: "document-clip", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1436
1522
  ]
1437
1523
  })
1438
1524
  );
@@ -1440,10 +1526,10 @@ var DocumentIcon = (_a) => {
1440
1526
  DocumentIcon.displayName = "DocumentIcon";
1441
1527
 
1442
1528
  // src/primitives/icon/svg/download.tsx
1443
- var import_jsx_runtime29 = require("react/jsx-runtime");
1529
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1444
1530
  var DownloadIcon = (_a) => {
1445
1531
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1446
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1532
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1447
1533
  "svg",
1448
1534
  __spreadProps(__spreadValues(__spreadValues({
1449
1535
  viewBox: "0 0 16 16",
@@ -1451,8 +1537,8 @@ var DownloadIcon = (_a) => {
1451
1537
  fill: "none"
1452
1538
  }, getIconA11yProps(title)), props), {
1453
1539
  children: [
1454
- title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
1455
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1540
+ title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
1541
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1456
1542
  "path",
1457
1543
  {
1458
1544
  d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
@@ -1462,7 +1548,7 @@ var DownloadIcon = (_a) => {
1462
1548
  strokeLinejoin: "round"
1463
1549
  }
1464
1550
  ),
1465
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1551
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1466
1552
  ]
1467
1553
  })
1468
1554
  );
@@ -1470,10 +1556,10 @@ var DownloadIcon = (_a) => {
1470
1556
  DownloadIcon.displayName = "DownloadIcon";
1471
1557
 
1472
1558
  // src/primitives/icon/svg/external-link.tsx
1473
- var import_jsx_runtime30 = require("react/jsx-runtime");
1559
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1474
1560
  var ExternalLinkIcon = (_a) => {
1475
1561
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1476
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1562
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
1477
1563
  "svg",
1478
1564
  __spreadProps(__spreadValues(__spreadValues({
1479
1565
  viewBox: "0 0 14 14",
@@ -1481,15 +1567,15 @@ var ExternalLinkIcon = (_a) => {
1481
1567
  fill: "none"
1482
1568
  }, getIconA11yProps(title)), props), {
1483
1569
  children: [
1484
- title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
1485
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1570
+ title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
1571
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1486
1572
  "path",
1487
1573
  {
1488
1574
  d: "M11.6667 6.41667V11.0833C11.6667 12.6916 10.3582 14 8.75 14H2.91667C1.30842 14 0 12.6916 0 11.0833V5.25C0 3.64175 1.30842 2.33333 2.91667 2.33333H7.58333C7.90533 2.33333 8.16667 2.59467 8.16667 2.91667C8.16667 3.23867 7.90533 3.5 7.58333 3.5H2.91667C1.95183 3.5 1.16667 4.28517 1.16667 5.25V11.0833C1.16667 12.0482 1.95183 12.8333 2.91667 12.8333H8.75C9.71483 12.8333 10.5 12.0482 10.5 11.0833V6.41667C10.5 6.09467 10.7613 5.83333 11.0833 5.83333C11.4053 5.83333 11.6667 6.09467 11.6667 6.41667ZM12.25 0H8.16667C7.84467 0 7.58333 0.261333 7.58333 0.583333C7.58333 0.905333 7.84467 1.16667 8.16667 1.16667H12.0085L4.83758 8.33758C4.6095 8.56567 4.6095 8.93433 4.83758 9.16242C4.95133 9.27617 5.10067 9.33333 5.25 9.33333C5.39933 9.33333 5.54867 9.27617 5.66242 9.16242L12.8333 1.9915V5.83333C12.8333 6.15533 13.0947 6.41667 13.4167 6.41667C13.7387 6.41667 14 6.15533 14 5.83333V1.75C14 0.785167 13.2148 0 12.25 0Z",
1489
1575
  fill: "currentColor"
1490
1576
  }
1491
1577
  ) }),
1492
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
1578
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
1493
1579
  ]
1494
1580
  })
1495
1581
  );
@@ -1497,10 +1583,10 @@ var ExternalLinkIcon = (_a) => {
1497
1583
  ExternalLinkIcon.displayName = "ExternalLinkIcon";
1498
1584
 
1499
1585
  // src/primitives/icon/svg/info.tsx
1500
- var import_jsx_runtime31 = require("react/jsx-runtime");
1586
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1501
1587
  var InfoIcon = (_a) => {
1502
1588
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1503
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
1589
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1504
1590
  "svg",
1505
1591
  __spreadProps(__spreadValues(__spreadValues({
1506
1592
  viewBox: "0 0 12 12",
@@ -1508,23 +1594,23 @@ var InfoIcon = (_a) => {
1508
1594
  fill: "none"
1509
1595
  }, getIconA11yProps(title)), props), {
1510
1596
  children: [
1511
- title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
1512
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("g", { clipPath: "url(#info_clip)", children: [
1513
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1597
+ title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
1598
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("g", { clipPath: "url(#info_clip)", children: [
1599
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1514
1600
  "path",
1515
1601
  {
1516
1602
  d: "M6 0C4.81331 0 3.65328 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456726 3.7039C0.00259972 4.80026 -0.11622 6.00666 0.115291 7.17054C0.346802 8.33443 0.918247 9.40353 1.75736 10.2426C2.59648 11.0818 3.66558 11.6532 4.82946 11.8847C5.99335 12.1162 7.19975 11.9974 8.2961 11.5433C9.39246 11.0892 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C11.9983 4.40923 11.3656 2.88411 10.2407 1.75926C9.1159 0.634414 7.59077 0.00172054 6 0ZM6 11C5.0111 11 4.0444 10.7068 3.22215 10.1573C2.39991 9.60794 1.75904 8.82705 1.38061 7.91342C1.00217 6.99979 0.90315 5.99445 1.09608 5.02455C1.289 4.05464 1.76521 3.16373 2.46447 2.46447C3.16373 1.7652 4.05465 1.289 5.02455 1.09607C5.99446 0.903148 6.99979 1.00216 7.91342 1.3806C8.82705 1.75904 9.60794 2.3999 10.1574 3.22215C10.7068 4.04439 11 5.01109 11 6C10.9985 7.32564 10.4713 8.59656 9.53393 9.53393C8.59656 10.4713 7.32564 10.9985 6 11Z",
1517
1603
  fill: "currentColor"
1518
1604
  }
1519
1605
  ),
1520
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1606
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1521
1607
  "path",
1522
1608
  {
1523
1609
  d: "M6 5H5.5C5.36739 5 5.24021 5.05268 5.14645 5.14645C5.05268 5.24021 5 5.36739 5 5.5C5 5.63261 5.05268 5.75979 5.14645 5.85355C5.24021 5.94732 5.36739 6 5.5 6H6V9C6 9.13261 6.05268 9.25979 6.14645 9.35355C6.24021 9.44732 6.36739 9.5 6.5 9.5C6.63261 9.5 6.75979 9.44732 6.85355 9.35355C6.94732 9.25979 7 9.13261 7 9V6C7 5.73478 6.89464 5.48043 6.70711 5.29289C6.51957 5.10536 6.26522 5 6 5Z",
1524
1610
  fill: "currentColor"
1525
1611
  }
1526
1612
  ),
1527
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1613
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1528
1614
  "path",
1529
1615
  {
1530
1616
  d: "M6 4C6.41421 4 6.75 3.66421 6.75 3.25C6.75 2.83579 6.41421 2.5 6 2.5C5.58579 2.5 5.25 2.83579 5.25 3.25C5.25 3.66421 5.58579 4 6 4Z",
@@ -1532,25 +1618,18 @@ var InfoIcon = (_a) => {
1532
1618
  }
1533
1619
  )
1534
1620
  ] }),
1535
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
1621
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
1536
1622
  ]
1537
1623
  })
1538
1624
  );
1539
1625
  };
1540
1626
  InfoIcon.displayName = "InfoIcon";
1541
1627
 
1542
- // src/primitives/icon/icon.constants.ts
1543
- var iconSizeClasses = {
1544
- small: "h-4 w-4",
1545
- medium: "h-6 w-6",
1546
- large: "h-8 w-8"
1547
- };
1548
-
1549
1628
  // src/primitives/icon/svg/check-badge.tsx
1550
- var import_jsx_runtime32 = require("react/jsx-runtime");
1629
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1551
1630
  var CheckBadgeIcon = (_a) => {
1552
1631
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1553
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1632
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1554
1633
  "svg",
1555
1634
  __spreadProps(__spreadValues(__spreadValues({
1556
1635
  viewBox: "0 0 16 16",
@@ -1558,15 +1637,15 @@ var CheckBadgeIcon = (_a) => {
1558
1637
  fill: "none"
1559
1638
  }, getIconA11yProps(title)), props), {
1560
1639
  children: [
1561
- title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
1562
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1640
+ title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
1641
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1563
1642
  "path",
1564
1643
  {
1565
1644
  d: "M15.4173 6.57883L13.9833 5.14283V3.9975C13.9833 2.89683 13.0886 2.00083 11.9893 2.00083H10.8453L9.4113 0.5655C8.6573 -0.1885 7.34397 -0.1885 6.59063 0.5655L5.15663 2.00083H4.01263C2.91263 2.00083 2.01863 2.89617 2.01863 3.9975V5.14283L0.583965 6.57883C-0.192702 7.3575 -0.192702 8.6235 0.583965 9.40217L2.01796 10.8382V11.9835C2.01796 13.0842 2.91263 13.9802 4.01196 13.9802H5.15596L6.58997 15.4155C6.96663 15.7922 7.46797 16.0002 8.00063 16.0002C8.5333 16.0002 9.03397 15.7922 9.41063 15.4155L10.8446 13.9802H11.9886C13.0886 13.9802 13.9826 13.0848 13.9826 11.9835V10.8382L15.4173 9.40217C16.194 8.6235 16.194 7.3575 15.4173 6.57883ZM12.136 6.8075L8.76663 10.1375C8.3573 10.5442 7.81797 10.7482 7.2793 10.7482C6.74063 10.7482 6.20396 10.5448 5.7933 10.1395L4.06063 8.4735C3.7993 8.21417 3.79663 7.79283 4.05596 7.53083C4.31596 7.27017 4.73663 7.26683 4.9993 7.52617L6.7313 9.1915C7.0333 9.49083 7.52463 9.4915 7.8273 9.1915L11.1973 5.86083C11.46 5.60083 11.8813 5.6035 12.1406 5.8655C12.4 6.1275 12.3973 6.54817 12.136 6.8075Z",
1566
1645
  fill: "currentColor"
1567
1646
  }
1568
1647
  ) }),
1569
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1648
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1570
1649
  ]
1571
1650
  })
1572
1651
  );
@@ -1574,10 +1653,10 @@ var CheckBadgeIcon = (_a) => {
1574
1653
  CheckBadgeIcon.displayName = "CheckBadgeIcon";
1575
1654
 
1576
1655
  // src/primitives/icon/svg/discord.tsx
1577
- var import_jsx_runtime33 = require("react/jsx-runtime");
1656
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1578
1657
  var DiscordIcon = (_a) => {
1579
1658
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1580
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1659
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1581
1660
  "svg",
1582
1661
  __spreadProps(__spreadValues(__spreadValues({
1583
1662
  viewBox: "0 0 20 20",
@@ -1585,8 +1664,8 @@ var DiscordIcon = (_a) => {
1585
1664
  fill: "none"
1586
1665
  }, getIconA11yProps(title)), props), {
1587
1666
  children: [
1588
- title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
1589
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1667
+ title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: title }) : null,
1668
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1590
1669
  "path",
1591
1670
  {
1592
1671
  d: "M16.3546 4.49236C15.1858 3.95607 13.9329 3.56111 12.6227 3.33499C12.599 3.3304 12.5754 3.34186 12.5624 3.36325C12.4012 3.64973 12.2224 4.02406 12.0979 4.31742C10.6884 4.10657 9.28659 4.10657 7.90615 4.31742C7.78162 4.01719 7.59598 3.64973 7.43479 3.36325C7.42181 3.34186 7.39812 3.33117 7.37444 3.33499C6.06504 3.56035 4.81218 3.95531 3.64258 4.49236C3.63265 4.49618 3.62348 4.50382 3.61813 4.51298C1.24151 8.06379 0.589865 11.5275 0.909193 14.9484C0.910721 14.9653 0.919888 14.9813 0.932875 14.9912C2.50125 16.1433 4.01997 16.8423 5.51119 17.3052C5.53487 17.3128 5.56008 17.3037 5.57536 17.2838C5.9283 16.8025 6.24228 16.2945 6.51195 15.7605C6.52799 15.7292 6.51271 15.6918 6.47986 15.6795C5.98101 15.4901 5.5066 15.2594 5.04976 14.9981C5.01386 14.9767 5.0108 14.9255 5.04365 14.9003C5.13991 14.8285 5.23617 14.7536 5.32784 14.678C5.34465 14.6643 5.36756 14.6612 5.38743 14.6704C8.38819 16.0401 11.6365 16.0401 14.6013 14.6704C14.6212 14.6612 14.6441 14.6635 14.6617 14.678C14.7534 14.7536 14.8496 14.8293 14.9466 14.9011C14.9803 14.9255 14.978 14.9775 14.9413 14.9989C14.4845 15.2655 14.01 15.4916 13.5104 15.6795C13.4776 15.6918 13.4638 15.73 13.4791 15.7613C13.7541 16.2945 14.0689 16.8025 14.4149 17.2838C14.4295 17.3044 14.4554 17.3128 14.4791 17.306C15.9772 16.8423 17.4967 16.1433 19.0643 14.992C19.078 14.9821 19.0865 14.9668 19.088 14.95C19.4699 10.995 18.4478 7.55959 16.3775 4.51451C16.3737 4.50382 16.3645 4.49618 16.3546 4.49236ZM6.96038 12.8659C6.05664 12.8659 5.31256 12.0363 5.31256 11.018C5.31256 9.99962 6.04213 9.16998 6.96038 9.16998C7.88552 9.16998 8.62272 10.0065 8.60821 11.018C8.60821 12.0371 7.87788 12.8659 6.96038 12.8659ZM13.0528 12.8659C12.1498 12.8659 11.405 12.0363 11.405 11.018C11.405 9.99962 12.1346 9.16998 13.0528 9.16998C13.978 9.16998 14.7152 10.0065 14.7007 11.018C14.7007 12.0371 13.978 12.8659 13.0528 12.8659Z",
@@ -1600,10 +1679,10 @@ var DiscordIcon = (_a) => {
1600
1679
  DiscordIcon.displayName = "DiscordIcon";
1601
1680
 
1602
1681
  // src/primitives/icon/svg/email.tsx
1603
- var import_jsx_runtime34 = require("react/jsx-runtime");
1682
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1604
1683
  var EmailIcon = (_a) => {
1605
1684
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1606
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1685
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1607
1686
  "svg",
1608
1687
  __spreadProps(__spreadValues(__spreadValues({
1609
1688
  viewBox: "0 0 20 20",
@@ -1611,8 +1690,8 @@ var EmailIcon = (_a) => {
1611
1690
  fill: "none"
1612
1691
  }, getIconA11yProps(title)), props), {
1613
1692
  children: [
1614
- title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: title }) : null,
1615
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1693
+ title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
1694
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1616
1695
  "path",
1617
1696
  {
1618
1697
  d: "M3.33333 3.33398H16.6667C17.5833 3.33398 18.3333 4.08398 18.3333 5.00065V15.0007C18.3333 15.9173 17.5833 16.6673 16.6667 16.6673H3.33333C2.41667 16.6673 1.66667 15.9173 1.66667 15.0007V5.00065C1.66667 4.08398 2.41667 3.33398 3.33333 3.33398Z",
@@ -1622,7 +1701,7 @@ var EmailIcon = (_a) => {
1622
1701
  strokeLinejoin: "round"
1623
1702
  }
1624
1703
  ),
1625
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1704
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1626
1705
  "path",
1627
1706
  {
1628
1707
  d: "M18.3333 5L10 10.8333L1.66667 5",
@@ -1639,10 +1718,10 @@ var EmailIcon = (_a) => {
1639
1718
  EmailIcon.displayName = "EmailIcon";
1640
1719
 
1641
1720
  // src/primitives/icon/svg/link-accounts.tsx
1642
- var import_jsx_runtime35 = require("react/jsx-runtime");
1721
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1643
1722
  var LinkAccountsIcon = (_a) => {
1644
1723
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1645
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1724
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
1646
1725
  "svg",
1647
1726
  __spreadProps(__spreadValues(__spreadValues({
1648
1727
  width: "28",
@@ -1653,15 +1732,15 @@ var LinkAccountsIcon = (_a) => {
1653
1732
  className
1654
1733
  }, getIconA11yProps(title)), props), {
1655
1734
  children: [
1656
- title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
1657
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1735
+ title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
1736
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1658
1737
  "path",
1659
1738
  {
1660
1739
  d: "M28 18.0835C28 22.2648 24.598 25.6668 20.4167 25.6668H14.5833C10.402 25.6668 7 22.2648 7 18.0835C7 13.9022 10.402 10.5002 14.5833 10.5002H16.9167C17.2387 10.5002 17.5 10.7615 17.5 11.0835C17.5 11.4055 17.2387 11.6668 16.9167 11.6668H14.5833C11.0448 11.6668 8.16667 14.5462 8.16667 18.0835C8.16667 21.6208 11.0448 24.5002 14.5833 24.5002H20.4167C23.9552 24.5002 26.8333 21.6208 26.8333 18.0835C26.8333 15.7992 25.6037 13.67 23.625 12.5243C23.3462 12.3633 23.2505 12.0063 23.4127 11.7275C23.5725 11.4487 23.9283 11.3507 24.2095 11.514C26.5475 12.8662 28.0012 15.3827 28.0012 18.0823L28 18.0835ZM4.375 15.476C2.39517 14.3315 1.16667 12.2012 1.16667 9.91683C1.16667 6.3795 4.04483 3.50016 7.58333 3.50016H13.4167C16.9552 3.50016 19.8333 6.3795 19.8333 9.91683C19.8333 13.4542 16.9552 16.3335 13.4167 16.3335H11.0833C10.7613 16.3335 10.5 16.5948 10.5 16.9168C10.5 17.2388 10.7613 17.5002 11.0833 17.5002H13.4167C17.598 17.5002 21 14.0982 21 9.91683C21 5.7355 17.598 2.3335 13.4167 2.3335H7.58333C3.402 2.3335 0 5.7355 0 9.91683C0 12.6153 1.4525 15.133 3.79167 16.4852C4.0705 16.6462 4.4275 16.5517 4.5885 16.2717C4.75067 15.994 4.655 15.6358 4.37617 15.4748L4.375 15.476Z",
1661
1740
  fill: "currentColor"
1662
1741
  }
1663
1742
  ) }),
1664
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
1743
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
1665
1744
  ]
1666
1745
  })
1667
1746
  );
@@ -1669,10 +1748,10 @@ var LinkAccountsIcon = (_a) => {
1669
1748
  LinkAccountsIcon.displayName = "LinkAccountsIcon";
1670
1749
 
1671
1750
  // src/primitives/icon/svg/pencil.tsx
1672
- var import_jsx_runtime36 = require("react/jsx-runtime");
1751
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1673
1752
  var PencilIcon = (_a) => {
1674
1753
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1675
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
1754
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
1676
1755
  "svg",
1677
1756
  __spreadProps(__spreadValues(__spreadValues({
1678
1757
  viewBox: "0 0 16 16",
@@ -1680,15 +1759,15 @@ var PencilIcon = (_a) => {
1680
1759
  fill: "none"
1681
1760
  }, getIconA11yProps(title)), props), {
1682
1761
  children: [
1683
- title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
1684
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1762
+ title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
1763
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1685
1764
  "path",
1686
1765
  {
1687
1766
  d: "M15.2353 0.706709C14.7821 0.254173 14.1678 0 13.5273 0C12.8869 0 12.2726 0.254173 11.8193 0.706709L0.976677 11.5494C0.666178 11.8581 0.419985 12.2254 0.252342 12.6299C0.0846994 13.0344 -0.00106532 13.4682 9.98748e-06 13.906V15.2747C9.98748e-06 15.4515 0.0702479 15.6211 0.195272 15.7461C0.320296 15.8711 0.489866 15.9414 0.666677 15.9414H2.03534C2.47318 15.9426 2.90692 15.857 3.31145 15.6895C3.71597 15.5219 4.08325 15.2758 4.39201 14.9654L15.2353 4.12204C15.6877 3.66884 15.9417 3.05469 15.9417 2.41438C15.9417 1.77406 15.6877 1.15991 15.2353 0.706709ZM3.44934 14.0227C3.07335 14.3962 2.56532 14.6065 2.03534 14.608H1.33334V13.906C1.33267 13.6433 1.38411 13.3831 1.4847 13.1403C1.58529 12.8976 1.73302 12.6773 1.91934 12.492L10.148 4.26338L11.6813 5.79671L3.44934 14.0227ZM14.292 3.17938L12.6213 4.85071L11.088 3.32071L12.7593 1.64938C12.86 1.54891 12.9795 1.46927 13.111 1.41498C13.2424 1.3607 13.3833 1.33284 13.5255 1.33299C13.6678 1.33314 13.8086 1.36131 13.9399 1.41588C14.0712 1.47045 14.1905 1.55036 14.291 1.65104C14.3915 1.75172 14.4711 1.8712 14.5254 2.00266C14.5797 2.13413 14.6076 2.27499 14.6074 2.41722C14.6072 2.55945 14.5791 2.70025 14.5245 2.8316C14.4699 2.96294 14.39 3.08225 14.2893 3.18271L14.292 3.17938Z",
1688
1767
  fill: "currentColor"
1689
1768
  }
1690
1769
  ) }),
1691
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1770
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1692
1771
  ]
1693
1772
  })
1694
1773
  );
@@ -1696,10 +1775,10 @@ var PencilIcon = (_a) => {
1696
1775
  PencilIcon.displayName = "PencilIcon";
1697
1776
 
1698
1777
  // src/primitives/icon/svg/play-square.tsx
1699
- var import_jsx_runtime37 = require("react/jsx-runtime");
1778
+ var import_jsx_runtime38 = require("react/jsx-runtime");
1700
1779
  var PlaySquareIcon = (_a) => {
1701
1780
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1702
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
1781
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
1703
1782
  "svg",
1704
1783
  __spreadProps(__spreadValues(__spreadValues({
1705
1784
  viewBox: "0 0 16 16",
@@ -1707,15 +1786,15 @@ var PlaySquareIcon = (_a) => {
1707
1786
  fill: "none"
1708
1787
  }, getIconA11yProps(title)), props), {
1709
1788
  children: [
1710
- title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
1711
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1789
+ title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
1790
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1712
1791
  "path",
1713
1792
  {
1714
1793
  d: "M12.6667 16H3.33333C2.4496 15.9989 1.60237 15.6474 0.97748 15.0225C0.352588 14.3976 0.00105857 13.5504 0 12.6667L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L12.6667 0C13.5504 0.00105857 14.3976 0.352588 15.0225 0.97748C15.6474 1.60237 15.9989 2.4496 16 3.33333V12.6667C15.9989 13.5504 15.6474 14.3976 15.0225 15.0225C14.3976 15.6474 13.5504 15.9989 12.6667 16ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V12.6667C1.33333 13.1971 1.54405 13.7058 1.91912 14.0809C2.29419 14.456 2.8029 14.6667 3.33333 14.6667H12.6667C13.1971 14.6667 13.7058 14.456 14.0809 14.0809C14.456 13.7058 14.6667 13.1971 14.6667 12.6667V3.33333C14.6667 2.8029 14.456 2.29419 14.0809 1.91912C13.7058 1.54405 13.1971 1.33333 12.6667 1.33333H3.33333ZM6.228 11.3367C5.95008 11.3357 5.67734 11.2615 5.43733 11.1213C5.20023 10.9856 5.00344 10.7894 4.86709 10.5526C4.73074 10.3159 4.65973 10.0472 4.66133 9.774V6.226C4.66111 5.95276 4.73274 5.68427 4.86905 5.44746C5.00537 5.21066 5.20156 5.01386 5.43794 4.87683C5.67433 4.73979 5.9426 4.66733 6.21584 4.66672C6.48907 4.6661 6.75767 4.73736 6.99467 4.87333L10.5133 6.63C10.7577 6.76194 10.9624 6.95685 11.1062 7.19452C11.2499 7.4322 11.3274 7.70399 11.3308 7.98172C11.3341 8.25946 11.2631 8.53303 11.1251 8.77408C10.9871 9.01514 10.7872 9.2149 10.546 9.35267L6.962 11.144C6.73847 11.2715 6.48533 11.3379 6.228 11.3367ZM6.21133 6.00333C6.17459 6.00332 6.13849 6.01298 6.10667 6.03133C6.07209 6.05056 6.0434 6.07884 6.02367 6.11313C6.00394 6.14743 5.99391 6.18644 5.99467 6.226V9.774C5.99489 9.81297 6.00525 9.85121 6.02473 9.88497C6.0442 9.91872 6.07212 9.94683 6.10574 9.96653C6.13936 9.98624 6.17753 9.99686 6.2165 9.99735C6.25547 9.99784 6.29389 9.98818 6.328 9.96933L9.912 8.17733C9.93869 8.15646 9.95992 8.12941 9.97385 8.09852C9.98779 8.06764 9.99401 8.03383 9.992 8C9.99284 7.96035 9.98277 7.92123 9.96291 7.8869C9.94304 7.85258 9.91413 7.82436 9.87933 7.80533L6.36333 6.04867C6.31749 6.02054 6.26509 6.00492 6.21133 6.00333Z",
1715
1794
  fill: "currentColor"
1716
1795
  }
1717
1796
  ) }),
1718
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1797
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
1719
1798
  ]
1720
1799
  })
1721
1800
  );
@@ -1723,10 +1802,10 @@ var PlaySquareIcon = (_a) => {
1723
1802
  PlaySquareIcon.displayName = "PlaySquareIcon";
1724
1803
 
1725
1804
  // src/primitives/icon/svg/profile.tsx
1726
- var import_jsx_runtime38 = require("react/jsx-runtime");
1805
+ var import_jsx_runtime39 = require("react/jsx-runtime");
1727
1806
  var ProfileIcon = (_a) => {
1728
1807
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1729
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
1808
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
1730
1809
  "svg",
1731
1810
  __spreadProps(__spreadValues(__spreadValues({
1732
1811
  viewBox: "0 0 21 28",
@@ -1734,8 +1813,8 @@ var ProfileIcon = (_a) => {
1734
1813
  fill: "none"
1735
1814
  }, getIconA11yProps(title)), props), {
1736
1815
  children: [
1737
- title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
1738
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1816
+ title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
1817
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1739
1818
  "path",
1740
1819
  {
1741
1820
  d: "M10.5 14C14.3605 14 17.5 10.8605 17.5 7C17.5 3.1395 14.3605 0 10.5 0C6.6395 0 3.5 3.1395 3.5 7C3.5 10.8605 6.6395 14 10.5 14ZM10.5 1.16667C13.7165 1.16667 16.3333 3.7835 16.3333 7C16.3333 10.2165 13.7165 12.8333 10.5 12.8333C7.2835 12.8333 4.66667 10.2165 4.66667 7C4.66667 3.7835 7.2835 1.16667 10.5 1.16667ZM21 26.8333V27.4167C21 27.7387 20.7387 28 20.4167 28C20.0947 28 19.8333 27.7387 19.8333 27.4167V26.8333C19.8333 21.6872 15.6462 17.5 10.5 17.5C5.35383 17.5 1.16667 21.6872 1.16667 26.8333V27.4167C1.16667 27.7387 0.905333 28 0.583333 28C0.261333 28 0 27.7387 0 27.4167V26.8333C0 21.0443 4.711 16.3333 10.5 16.3333C16.289 16.3333 21 21.0443 21 26.8333Z",
@@ -1749,10 +1828,10 @@ var ProfileIcon = (_a) => {
1749
1828
  ProfileIcon.displayName = "ProfileIcon";
1750
1829
 
1751
1830
  // src/primitives/icon/svg/revenue-alt.tsx
1752
- var import_jsx_runtime39 = require("react/jsx-runtime");
1831
+ var import_jsx_runtime40 = require("react/jsx-runtime");
1753
1832
  var RevenueAltIcon = (_a) => {
1754
1833
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1755
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
1834
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
1756
1835
  "svg",
1757
1836
  __spreadProps(__spreadValues(__spreadValues({
1758
1837
  viewBox: "0 0 20 20",
@@ -1760,8 +1839,8 @@ var RevenueAltIcon = (_a) => {
1760
1839
  fill: "none"
1761
1840
  }, getIconA11yProps(title)), props), {
1762
1841
  children: [
1763
- title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
1764
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1842
+ title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
1843
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1765
1844
  "path",
1766
1845
  {
1767
1846
  d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
@@ -1771,7 +1850,7 @@ var RevenueAltIcon = (_a) => {
1771
1850
  strokeLinejoin: "round"
1772
1851
  }
1773
1852
  ),
1774
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1853
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1775
1854
  "path",
1776
1855
  {
1777
1856
  d: "M10 5.5V14.5M12.5 7.4C12.5 6.55 11.38 5.86 10 5.86C8.62 5.86 7.5 6.55 7.5 7.4C7.5 8.25 8.62 8.94 10 8.94C11.38 8.94 12.5 9.63 12.5 10.48C12.5 11.33 11.38 12.02 10 12.02C8.62 12.02 7.5 11.33 7.5 10.48",
@@ -1788,10 +1867,10 @@ var RevenueAltIcon = (_a) => {
1788
1867
  RevenueAltIcon.displayName = "RevenueAltIcon";
1789
1868
 
1790
1869
  // src/primitives/icon/svg/search.tsx
1791
- var import_jsx_runtime40 = require("react/jsx-runtime");
1870
+ var import_jsx_runtime41 = require("react/jsx-runtime");
1792
1871
  var SearchIcon = (_a) => {
1793
1872
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1794
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
1873
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
1795
1874
  "svg",
1796
1875
  __spreadProps(__spreadValues(__spreadValues({
1797
1876
  viewBox: "0 0 16 16",
@@ -1800,8 +1879,8 @@ var SearchIcon = (_a) => {
1800
1879
  className
1801
1880
  }, getIconA11yProps(title)), props), {
1802
1881
  children: [
1803
- title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
1804
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1882
+ title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
1883
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1805
1884
  "path",
1806
1885
  {
1807
1886
  d: "M7.3335 12.3333C10.0949 12.3333 12.3335 10.0947 12.3335 7.33329C12.3335 4.57187 10.0949 2.33329 7.3335 2.33329C4.57208 2.33329 2.3335 4.57187 2.3335 7.33329C2.3335 10.0947 4.57208 12.3333 7.3335 12.3333Z",
@@ -1811,7 +1890,7 @@ var SearchIcon = (_a) => {
1811
1890
  strokeLinejoin: "round"
1812
1891
  }
1813
1892
  ),
1814
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1893
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1815
1894
  "path",
1816
1895
  {
1817
1896
  d: "M13.6668 13.6666L11.1667 11.1666",
@@ -1828,10 +1907,10 @@ var SearchIcon = (_a) => {
1828
1907
  SearchIcon.displayName = "SearchIcon";
1829
1908
 
1830
1909
  // src/primitives/icon/svg/shield-trust.tsx
1831
- var import_jsx_runtime41 = require("react/jsx-runtime");
1910
+ var import_jsx_runtime42 = require("react/jsx-runtime");
1832
1911
  var ShieldTrustIcon = (_a) => {
1833
1912
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1834
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
1913
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
1835
1914
  "svg",
1836
1915
  __spreadProps(__spreadValues(__spreadValues({
1837
1916
  viewBox: "0 0 16 16",
@@ -1839,15 +1918,15 @@ var ShieldTrustIcon = (_a) => {
1839
1918
  fill: "none"
1840
1919
  }, getIconA11yProps(title)), props), {
1841
1920
  children: [
1842
- title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
1843
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1921
+ title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
1922
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1844
1923
  "path",
1845
1924
  {
1846
1925
  d: "M8 1.25L13.5 3.25V7.08C13.5 10.09 11.62 12.74 8 14.75C4.38 12.74 2.5 10.09 2.5 7.08V3.25L8 1.25Z",
1847
1926
  fill: "currentColor"
1848
1927
  }
1849
1928
  ),
1850
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1929
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1851
1930
  "path",
1852
1931
  {
1853
1932
  d: "M5.5 8.2L7.2 9.9L10.8 6.3",
@@ -1864,10 +1943,10 @@ var ShieldTrustIcon = (_a) => {
1864
1943
  ShieldTrustIcon.displayName = "ShieldTrustIcon";
1865
1944
 
1866
1945
  // src/primitives/icon/svg/stay-in-control.tsx
1867
- var import_jsx_runtime42 = require("react/jsx-runtime");
1946
+ var import_jsx_runtime43 = require("react/jsx-runtime");
1868
1947
  var StayInControlIcon = (_a) => {
1869
1948
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1870
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
1949
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
1871
1950
  "svg",
1872
1951
  __spreadProps(__spreadValues(__spreadValues({
1873
1952
  width: "28",
@@ -1878,16 +1957,16 @@ var StayInControlIcon = (_a) => {
1878
1957
  className
1879
1958
  }, getIconA11yProps(title)), props), {
1880
1959
  children: [
1881
- title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
1882
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
1883
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1960
+ title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: title }) : null,
1961
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
1962
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1884
1963
  "path",
1885
1964
  {
1886
1965
  d: "M14 27.9406C13.9102 27.9406 13.8215 27.9196 13.7387 27.8788L13.2428 27.6314C10.6832 26.3504 2.32983 21.5753 2.32983 13.8648L2.33217 7.62776C2.33217 5.36093 3.77767 3.35776 5.93017 2.64493L13.8168 0.0292617C13.9358 -0.010405 14.0653 -0.010405 14.1832 0.0292617L22.0687 2.64376C24.2212 3.35776 25.6667 5.36093 25.6667 7.6266L25.6632 13.8636C25.6632 22.6113 17.2958 26.6584 14.7315 27.6909L14.217 27.8974C14.147 27.9254 14.0723 27.9394 13.9988 27.9394L14 27.9406ZM14 1.19826L6.29767 3.7521C4.6235 4.30743 3.5 5.86493 3.5 7.62776L3.49767 13.8648C3.49767 20.9056 11.3563 25.3844 13.7655 26.5884L14.0268 26.7191L14.2975 26.6106C16.6903 25.6481 24.4977 21.8833 24.4977 13.8659L24.5012 7.62893C24.5012 5.8661 23.3765 4.3086 21.7035 3.75326L14 1.19826Z",
1887
1966
  fill: "currentColor"
1888
1967
  }
1889
1968
  ),
1890
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1969
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1891
1970
  "path",
1892
1971
  {
1893
1972
  d: "M12.8112 17.5001C12.0633 17.5001 11.3155 17.2154 10.7462 16.6461L7.18083 13.2569C6.94749 13.0352 6.93816 12.6654 7.15983 12.4321C7.38149 12.1999 7.75016 12.1894 7.98466 12.4111L11.5605 15.8107C12.2535 16.5026 13.363 16.5037 14.0455 15.8212L20.5928 9.49791C20.8262 9.27508 21.196 9.28208 21.4177 9.51308C21.6417 9.74408 21.6358 10.1139 21.4037 10.3379L14.8622 16.6542C14.2987 17.2177 13.5543 17.5012 12.81 17.5012L12.8112 17.5001Z",
@@ -1895,7 +1974,7 @@ var StayInControlIcon = (_a) => {
1895
1974
  }
1896
1975
  )
1897
1976
  ] }),
1898
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
1977
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
1899
1978
  ]
1900
1979
  })
1901
1980
  );
@@ -1903,10 +1982,10 @@ var StayInControlIcon = (_a) => {
1903
1982
  StayInControlIcon.displayName = "StayInControlIcon";
1904
1983
 
1905
1984
  // src/primitives/icon/svg/telegram.tsx
1906
- var import_jsx_runtime43 = require("react/jsx-runtime");
1985
+ var import_jsx_runtime44 = require("react/jsx-runtime");
1907
1986
  var TelegramIcon = (_a) => {
1908
1987
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1909
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
1988
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
1910
1989
  "svg",
1911
1990
  __spreadProps(__spreadValues(__spreadValues({
1912
1991
  viewBox: "0 0 20 20",
@@ -1914,8 +1993,8 @@ var TelegramIcon = (_a) => {
1914
1993
  fill: "none"
1915
1994
  }, getIconA11yProps(title)), props), {
1916
1995
  children: [
1917
- title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: title }) : null,
1918
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1996
+ title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("title", { children: title }) : null,
1997
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1919
1998
  "path",
1920
1999
  {
1921
2000
  fillRule: "evenodd",
@@ -1924,7 +2003,7 @@ var TelegramIcon = (_a) => {
1924
2003
  fill: "currentColor"
1925
2004
  }
1926
2005
  ) }),
1927
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
2006
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
1928
2007
  ]
1929
2008
  })
1930
2009
  );
@@ -1932,10 +2011,10 @@ var TelegramIcon = (_a) => {
1932
2011
  TelegramIcon.displayName = "TelegramIcon";
1933
2012
 
1934
2013
  // src/primitives/icon/svg/triangle-down.tsx
1935
- var import_jsx_runtime44 = require("react/jsx-runtime");
2014
+ var import_jsx_runtime45 = require("react/jsx-runtime");
1936
2015
  var TriangleDownIcon = (_a) => {
1937
2016
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1938
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2017
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
1939
2018
  "svg",
1940
2019
  __spreadProps(__spreadValues(__spreadValues({
1941
2020
  viewBox: "0 0 8 8",
@@ -1943,16 +2022,16 @@ var TriangleDownIcon = (_a) => {
1943
2022
  fill: "none"
1944
2023
  }, getIconA11yProps(title)), props), {
1945
2024
  children: [
1946
- title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("title", { children: title }) : null,
1947
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
1948
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2025
+ title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
2026
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
2027
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1949
2028
  "path",
1950
2029
  {
1951
2030
  d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
1952
2031
  fill: "currentColor"
1953
2032
  }
1954
2033
  ),
1955
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2034
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1956
2035
  "path",
1957
2036
  {
1958
2037
  d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
@@ -1960,7 +2039,7 @@ var TriangleDownIcon = (_a) => {
1960
2039
  }
1961
2040
  )
1962
2041
  ] }),
1963
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
2042
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
1964
2043
  ]
1965
2044
  })
1966
2045
  );
@@ -1968,10 +2047,10 @@ var TriangleDownIcon = (_a) => {
1968
2047
  TriangleDownIcon.displayName = "TriangleDownIcon";
1969
2048
 
1970
2049
  // src/primitives/icon/svg/triangle-up-filled.tsx
1971
- var import_jsx_runtime45 = require("react/jsx-runtime");
2050
+ var import_jsx_runtime46 = require("react/jsx-runtime");
1972
2051
  var TriangleUpFilledIcon = (_a) => {
1973
2052
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
1974
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2053
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
1975
2054
  "svg",
1976
2055
  __spreadProps(__spreadValues(__spreadValues({
1977
2056
  viewBox: "0 0 8 8",
@@ -1979,8 +2058,8 @@ var TriangleUpFilledIcon = (_a) => {
1979
2058
  fill: "none"
1980
2059
  }, getIconA11yProps(title)), props), {
1981
2060
  children: [
1982
- title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
1983
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2061
+ title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
2062
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
1984
2063
  "path",
1985
2064
  {
1986
2065
  d: "M6.67873 8.00001H1.3214C1.09613 8.00053 0.874481 7.94332 0.677605 7.83384C0.480728 7.72435 0.315192 7.56625 0.196788 7.3746C0.0783848 7.18296 0.0110649 6.96417 0.00125164 6.73911C-0.0085616 6.51405 0.0394592 6.29023 0.140732 6.08901L2.81973 0.729677C2.92186 0.523193 3.0766 0.347273 3.26837 0.219641C3.46014 0.0920097 3.68216 0.0171748 3.91207 0.00267686C4.17147 -0.013831 4.43 0.0462826 4.6555 0.175542C4.88101 0.3048 5.06354 0.497501 5.1804 0.729677L7.8594 6.08901C7.96008 6.2903 8.00764 6.51398 7.99756 6.73881C7.98748 6.96365 7.92009 7.18218 7.8018 7.37365C7.68351 7.56512 7.51823 7.72317 7.32167 7.83279C7.12511 7.94242 6.90379 7.99998 6.67873 8.00001Z",
@@ -1994,10 +2073,10 @@ var TriangleUpFilledIcon = (_a) => {
1994
2073
  TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
1995
2074
 
1996
2075
  // src/primitives/icon/svg/triangle-up.tsx
1997
- var import_jsx_runtime46 = require("react/jsx-runtime");
2076
+ var import_jsx_runtime47 = require("react/jsx-runtime");
1998
2077
  var TriangleUpIcon = (_a) => {
1999
2078
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2000
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
2079
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2001
2080
  "svg",
2002
2081
  __spreadProps(__spreadValues(__spreadValues({
2003
2082
  viewBox: "0 0 8 8",
@@ -2005,16 +2084,16 @@ var TriangleUpIcon = (_a) => {
2005
2084
  fill: "none"
2006
2085
  }, getIconA11yProps(title)), props), {
2007
2086
  children: [
2008
- title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
2009
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
2010
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2087
+ title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
2088
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
2089
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2011
2090
  "path",
2012
2091
  {
2013
2092
  d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
2014
2093
  fill: "currentColor"
2015
2094
  }
2016
2095
  ),
2017
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2096
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2018
2097
  "path",
2019
2098
  {
2020
2099
  d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
@@ -2022,7 +2101,7 @@ var TriangleUpIcon = (_a) => {
2022
2101
  }
2023
2102
  )
2024
2103
  ] }),
2025
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
2104
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
2026
2105
  ]
2027
2106
  })
2028
2107
  );
@@ -2030,10 +2109,10 @@ var TriangleUpIcon = (_a) => {
2030
2109
  TriangleUpIcon.displayName = "TriangleUpIcon";
2031
2110
 
2032
2111
  // src/primitives/icon/svg/twitter.tsx
2033
- var import_jsx_runtime47 = require("react/jsx-runtime");
2112
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2034
2113
  var TwitterIcon = (_a) => {
2035
2114
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2036
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2115
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
2037
2116
  "svg",
2038
2117
  __spreadProps(__spreadValues(__spreadValues({
2039
2118
  viewBox: "0 0 20 20",
@@ -2041,8 +2120,8 @@ var TwitterIcon = (_a) => {
2041
2120
  fill: "none"
2042
2121
  }, getIconA11yProps(title)), props), {
2043
2122
  children: [
2044
- title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
2045
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2123
+ title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
2124
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2046
2125
  "path",
2047
2126
  {
2048
2127
  d: "M15.2708 1.66602H18.0834L11.9402 8.68539L19.1666 18.2386H13.51L9.07638 12.446L4.00874 18.2386H1.19152L7.76096 10.7288L0.833252 1.66602H6.63346L10.637 6.96053L15.2708 1.66602ZM14.283 16.5573H15.8406L5.78478 3.25949H4.11186L14.283 16.5573Z",
@@ -2056,10 +2135,10 @@ var TwitterIcon = (_a) => {
2056
2135
  TwitterIcon.displayName = "TwitterIcon";
2057
2136
 
2058
2137
  // src/primitives/icon/svg/upload.tsx
2059
- var import_jsx_runtime48 = require("react/jsx-runtime");
2138
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2060
2139
  var UploadIcon = (_a) => {
2061
2140
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2062
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
2141
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2063
2142
  "svg",
2064
2143
  __spreadProps(__spreadValues(__spreadValues({
2065
2144
  viewBox: "0 0 16 16",
@@ -2067,8 +2146,8 @@ var UploadIcon = (_a) => {
2067
2146
  fill: "none"
2068
2147
  }, getIconA11yProps(title)), props), {
2069
2148
  children: [
2070
- title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
2071
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2149
+ title ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: title }) : null,
2150
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2072
2151
  "path",
2073
2152
  {
2074
2153
  d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
@@ -2078,7 +2157,7 @@ var UploadIcon = (_a) => {
2078
2157
  strokeLinejoin: "round"
2079
2158
  }
2080
2159
  ),
2081
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
2160
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
2082
2161
  ]
2083
2162
  })
2084
2163
  );
@@ -2086,10 +2165,10 @@ var UploadIcon = (_a) => {
2086
2165
  UploadIcon.displayName = "UploadIcon";
2087
2166
 
2088
2167
  // src/primitives/icon/svg/wallet-avatar.tsx
2089
- var import_jsx_runtime49 = require("react/jsx-runtime");
2168
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2090
2169
  function WalletAvatarIcon(_a) {
2091
2170
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2092
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2171
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2093
2172
  "svg",
2094
2173
  __spreadProps(__spreadValues(__spreadValues({
2095
2174
  fill: "none",
@@ -2097,9 +2176,9 @@ function WalletAvatarIcon(_a) {
2097
2176
  viewBox: "0 0 16 16"
2098
2177
  }, getIconA11yProps(title)), props), {
2099
2178
  children: [
2100
- title ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: title }) : null,
2101
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
2102
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
2179
+ title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: title }) : null,
2180
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
2181
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
2103
2182
  ]
2104
2183
  })
2105
2184
  );
@@ -2107,10 +2186,10 @@ function WalletAvatarIcon(_a) {
2107
2186
  WalletAvatarIcon.displayName = "WalletAvatarIcon";
2108
2187
 
2109
2188
  // src/primitives/icon/svg/wallet.tsx
2110
- var import_jsx_runtime50 = require("react/jsx-runtime");
2189
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2111
2190
  var WalletIcon = (_a) => {
2112
2191
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2113
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2192
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
2114
2193
  "svg",
2115
2194
  __spreadProps(__spreadValues(__spreadValues({
2116
2195
  viewBox: "0 0 24 24",
@@ -2118,8 +2197,8 @@ var WalletIcon = (_a) => {
2118
2197
  fill: "none"
2119
2198
  }, getIconA11yProps(title)), props), {
2120
2199
  children: [
2121
- title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: title }) : null,
2122
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2200
+ title ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("title", { children: title }) : null,
2201
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2123
2202
  "path",
2124
2203
  {
2125
2204
  d: "M19.5 6H5.25C4.836 6 4.5 5.664 4.5 5.25C4.5 4.836 4.836 4.5 5.25 4.5H19.5C19.914 4.5 20.25 4.164 20.25 3.75C20.25 2.508 19.242 1.5 18 1.5H4.5C2.843 1.5 1.5 2.843 1.5 4.5V19.5C1.5 21.157 2.843 22.5 4.5 22.5H19.5C21.157 22.5 22.5 21.157 22.5 19.5V9C22.5 7.343 21.157 6 19.5 6ZM2.5 4.5C2.5 3.395 3.395 2.5 4.5 2.5H18C18.552 2.5 19.026 2.834 19.199 3.318C19.176 3.312 19.153 3.5 18 3.5H5.25C4.284 3.5 3.5 4.284 3.5 5.25C3.5 5.388 3.519 5.522 3.555 5.649C2.936 5.369 2.5 4.972 2.5 4.5ZM21.5 19.5C21.5 20.605 20.605 21.5 19.5 21.5H4.5C3.395 21.5 2.5 20.605 2.5 19.5V7.04C3.09 7.336 3.771 7 5.25 7H19.5C20.605 7 21.5 7.895 21.5 9V12H18C16.343 12 15 13.343 15 15C15 16.657 16.343 18 18 18H21.5V19.5ZM21.5 17H18C16.895 17 16 16.105 16 15C16 13.895 16.895 13 18 13H21.5V17ZM18 15.75C18.414 15.75 18.75 15.414 18.75 15C18.75 14.586 18.414 14.25 18 14.25C17.586 14.25 17.25 14.586 17.25 15C17.25 15.414 17.586 15.75 18 15.75Z",
@@ -2133,10 +2212,10 @@ var WalletIcon = (_a) => {
2133
2212
  WalletIcon.displayName = "WalletIcon";
2134
2213
 
2135
2214
  // src/primitives/icon/svg/warning-filled.tsx
2136
- var import_jsx_runtime51 = require("react/jsx-runtime");
2215
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2137
2216
  var WarningFilledIcon = (_a) => {
2138
2217
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2139
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
2218
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2140
2219
  "svg",
2141
2220
  __spreadProps(__spreadValues(__spreadValues({
2142
2221
  viewBox: "0 0 16 16",
@@ -2144,8 +2223,8 @@ var WarningFilledIcon = (_a) => {
2144
2223
  fill: "none"
2145
2224
  }, getIconA11yProps(title)), props), {
2146
2225
  children: [
2147
- title ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("title", { children: title }) : null,
2148
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2226
+ title ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("title", { children: title }) : null,
2227
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2149
2228
  "path",
2150
2229
  {
2151
2230
  d: "M15.3869 10.22L10.0002 1.71332C9.5469 1.05999 8.79356 0.666656 8.00023 0.666656C7.20689 0.666656 6.45356 1.05332 5.98023 1.73332L0.620227 10.2067C-0.0597729 11.18 -0.18644 12.3467 0.286894 13.2467C0.75356 14.1467 1.73356 14.66 2.96023 14.66H13.0402C14.2736 14.66 15.2469 14.1467 15.7136 13.2467C16.1802 12.3467 16.0536 11.1867 15.3869 10.22ZM7.33356 4.66666C7.33356 4.29999 7.63356 3.99999 8.00023 3.99999C8.36689 3.99999 8.66689 4.29999 8.66689 4.66666V8.66666C8.66689 9.03332 8.36689 9.33332 8.00023 9.33332C7.63356 9.33332 7.33356 9.03332 7.33356 8.66666V4.66666ZM8.00023 12.6667C7.44689 12.6667 7.00023 12.22 7.00023 11.6667C7.00023 11.1133 7.44689 10.6667 8.00023 10.6667C8.55356 10.6667 9.00023 11.1133 9.00023 11.6667C9.00023 12.22 8.55356 12.6667 8.00023 12.6667Z",
@@ -2159,10 +2238,10 @@ var WarningFilledIcon = (_a) => {
2159
2238
  WarningFilledIcon.displayName = "WarningFilledIcon";
2160
2239
 
2161
2240
  // src/primitives/icon/svg/warning.tsx
2162
- var import_jsx_runtime52 = require("react/jsx-runtime");
2241
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2163
2242
  var WarningIcon = (_a) => {
2164
2243
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2165
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2244
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2166
2245
  "svg",
2167
2246
  __spreadProps(__spreadValues(__spreadValues({
2168
2247
  width: "14",
@@ -2173,15 +2252,15 @@ var WarningIcon = (_a) => {
2173
2252
  className
2174
2253
  }, getIconA11yProps(title)), props), {
2175
2254
  children: [
2176
- title ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("title", { children: title }) : null,
2177
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2255
+ title ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("title", { children: title }) : null,
2256
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2178
2257
  "path",
2179
2258
  {
2180
2259
  d: "M6.41665 8.16675V4.66675C6.41665 4.34591 6.67915 4.08341 6.99998 4.08341C7.32082 4.08341 7.58332 4.34591 7.58332 4.66675V8.16675C7.58332 8.48758 7.32082 8.75008 6.99998 8.75008C6.67915 8.75008 6.41665 8.48758 6.41665 8.16675ZM6.99998 9.33341C6.51582 9.33341 6.12498 9.72425 6.12498 10.2084C6.12498 10.6926 6.51582 11.0834 6.99998 11.0834C7.48415 11.0834 7.87498 10.6926 7.87498 10.2084C7.87498 9.72425 7.48415 9.33341 6.99998 9.33341ZM13.755 12.1801C13.3467 12.9676 12.4892 13.4167 11.4158 13.4167H2.58998C1.51082 13.4167 0.659151 12.9676 0.250818 12.1801C-0.163348 11.3867 -0.0466818 10.3717 0.542485 9.52008L5.23248 2.10008C5.64665 1.50508 6.29998 1.16675 6.99998 1.16675C7.69999 1.16675 8.35332 1.50508 8.74998 2.08258L13.4633 9.53175C14.0525 10.3834 14.1633 11.3926 13.7492 12.1801H13.755ZM12.5008 10.1851C12.5008 10.1851 12.4892 10.1734 12.4892 10.1617L7.78165 2.72425C7.61248 2.48508 7.32082 2.33341 6.99998 2.33341C6.67915 2.33341 6.38749 2.48508 6.20665 2.74758L1.51082 10.1617C1.14915 10.6751 1.06748 11.2351 1.27748 11.6376C1.48165 12.0342 1.94832 12.2501 2.58415 12.2501H11.4042C12.04 12.2501 12.5067 12.0342 12.7108 11.6376C12.9208 11.2351 12.8392 10.6751 12.495 10.1851H12.5008Z",
2181
2260
  fill: "currentColor"
2182
2261
  }
2183
2262
  ) }),
2184
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
2263
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
2185
2264
  ]
2186
2265
  })
2187
2266
  );
@@ -2232,49 +2311,176 @@ var iconRegistry = {
2232
2311
  "warning-filled": WarningFilledIcon,
2233
2312
  warning: WarningIcon
2234
2313
  };
2235
- var iconNames = Object.keys(iconRegistry);
2314
+ var iconNames = Object.keys(iconRegistry);
2315
+
2316
+ // src/primitives/icon/icon.utils.ts
2317
+ var resolveIconStyle = (color, style) => {
2318
+ if (!color)
2319
+ return style;
2320
+ return __spreadProps(__spreadValues({}, style), {
2321
+ color
2322
+ });
2323
+ };
2324
+
2325
+ // src/primitives/icon/index.tsx
2326
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2327
+ var Icon = (_a) => {
2328
+ var _b = _a, {
2329
+ name,
2330
+ color,
2331
+ size = "medium",
2332
+ className = "text-agg-primary",
2333
+ style
2334
+ } = _b, props = __objRest(_b, [
2335
+ "name",
2336
+ "color",
2337
+ "size",
2338
+ "className",
2339
+ "style"
2340
+ ]);
2341
+ const Component = iconRegistry[name];
2342
+ const resolvedStyle = resolveIconStyle(color, style);
2343
+ const resolvedClassName = cn(iconSizeClasses[size], className);
2344
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2345
+ Component,
2346
+ __spreadValues({
2347
+ color,
2348
+ className: cn("group/agg-icon", resolvedClassName),
2349
+ style: resolvedStyle
2350
+ }, props)
2351
+ );
2352
+ };
2353
+ Icon.displayName = "Icon";
2354
+
2355
+ // src/primitives/search/search-empty-icon.tsx
2356
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2357
+ var SearchEmptyIcon = (_a) => {
2358
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2359
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
2360
+ "svg",
2361
+ __spreadProps(__spreadValues(__spreadValues({
2362
+ viewBox: "0 0 40 40",
2363
+ fill: "none",
2364
+ xmlns: "http://www.w3.org/2000/svg",
2365
+ className
2366
+ }, getIconA11yProps(title)), props), {
2367
+ children: [
2368
+ title ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("title", { children: title }) : null,
2369
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("circle", { cx: "19.9987", cy: "20.0013", r: "9.2", stroke: "currentColor", strokeWidth: "1.6" }),
2370
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
2371
+ "ellipse",
2372
+ {
2373
+ cx: "19.9987",
2374
+ cy: "20.0012",
2375
+ rx: "17.2",
2376
+ ry: "6.6",
2377
+ transform: "rotate(-35 19.9987 20.0012)",
2378
+ stroke: "currentColor",
2379
+ strokeWidth: "1.6"
2380
+ }
2381
+ )
2382
+ ]
2383
+ })
2384
+ );
2385
+ };
2386
+ SearchEmptyIcon.displayName = "SearchEmptyIcon";
2387
+
2388
+ // src/primitives/typography/typography.constants.ts
2389
+ var typographyVariantClasses = {
2390
+ display: cn("agg-type-display"),
2391
+ heading: cn("agg-type-heading"),
2392
+ title: cn("agg-type-title"),
2393
+ "title-strong": cn("agg-type-title-strong"),
2394
+ "body-large": cn("agg-type-body-large"),
2395
+ "body-large-strong": cn("agg-type-body-large-strong"),
2396
+ body: cn("agg-type-body"),
2397
+ "body-strong": cn("agg-type-body-strong"),
2398
+ label: cn("agg-type-label"),
2399
+ "label-strong": cn("agg-type-label-strong"),
2400
+ "label-caps": cn("agg-type-label-caps"),
2401
+ caption: cn("agg-type-caption"),
2402
+ "caption-strong": cn("agg-type-caption-strong"),
2403
+ "caption-caps": cn("agg-type-caption-caps"),
2404
+ overline: cn("agg-type-overline")
2405
+ };
2236
2406
 
2237
- // src/primitives/icon/icon.utils.ts
2238
- var resolveIconStyle = (color, style) => {
2239
- if (!color)
2240
- return style;
2241
- return __spreadProps(__spreadValues({}, style), {
2242
- color
2243
- });
2407
+ // src/primitives/typography/index.tsx
2408
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2409
+ var Typography = ({
2410
+ as: Component = "p",
2411
+ variant = "body",
2412
+ className,
2413
+ children
2414
+ }) => {
2415
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2416
+ Component,
2417
+ {
2418
+ className: cn(
2419
+ "group/agg-typography",
2420
+ "text-agg-foreground",
2421
+ typographyVariantClasses[variant],
2422
+ className
2423
+ ),
2424
+ children
2425
+ }
2426
+ );
2244
2427
  };
2428
+ Typography.displayName = "Typography";
2245
2429
 
2246
- // src/primitives/icon/index.tsx
2247
- var import_jsx_runtime53 = require("react/jsx-runtime");
2248
- var Icon = (_a) => {
2249
- var _b = _a, {
2250
- name,
2251
- color,
2252
- size = "medium",
2253
- className = "text-agg-primary",
2254
- style
2255
- } = _b, props = __objRest(_b, [
2256
- "name",
2257
- "color",
2258
- "size",
2259
- "className",
2260
- "style"
2261
- ]);
2262
- const Component = iconRegistry[name];
2263
- const resolvedStyle = resolveIconStyle(color, style);
2264
- const resolvedClassName = cn(iconSizeClasses[size], className);
2265
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2266
- Component,
2267
- __spreadValues({
2268
- color,
2269
- className: cn("group/agg-icon", resolvedClassName),
2270
- style: resolvedStyle
2271
- }, props)
2430
+ // src/primitives/state-message/index.tsx
2431
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2432
+ var iconClassName = "h-9 w-9 text-agg-muted-foreground";
2433
+ var StateMessage = ({
2434
+ ariaLabel,
2435
+ tone = "empty",
2436
+ title,
2437
+ description,
2438
+ actionLabel,
2439
+ onAction,
2440
+ className
2441
+ }) => {
2442
+ const icon = tone === "warning" ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(WarningIcon, { className: iconClassName, "aria-hidden": true }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SearchEmptyIcon, { className: iconClassName, "aria-hidden": true });
2443
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2444
+ "div",
2445
+ {
2446
+ className: cn(
2447
+ "flex min-h-[240px] w-full flex-col items-center justify-center px-5 py-10 text-center md:px-10",
2448
+ className
2449
+ ),
2450
+ role: "status",
2451
+ "aria-live": "polite",
2452
+ "aria-label": ariaLabel,
2453
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex max-w-[360px] flex-col items-center gap-6", children: [
2454
+ icon,
2455
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-col items-center gap-2", children: [
2456
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Typography, { variant: "body-large-strong", children: title }),
2457
+ description ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Typography, { variant: "body", className: "whitespace-pre-line text-agg-muted-foreground", children: description }) : null
2458
+ ] }),
2459
+ actionLabel && onAction ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2460
+ Button,
2461
+ {
2462
+ variant: "tertiary",
2463
+ size: "large",
2464
+ className: "text-agg-base leading-agg-6",
2465
+ "aria-label": actionLabel,
2466
+ onClick: onAction,
2467
+ children: actionLabel
2468
+ }
2469
+ ) : null
2470
+ ] })
2471
+ }
2272
2472
  );
2273
2473
  };
2274
- Icon.displayName = "Icon";
2474
+ StateMessage.displayName = "StateMessage";
2475
+
2476
+ // src/primitives/tabs/index.tsx
2477
+ var import_react4 = require("react");
2478
+ var import_hooks12 = require("@agg-market/hooks");
2275
2479
 
2276
2480
  // src/primitives/select/index.tsx
2277
- var import_jsx_runtime54 = require("react/jsx-runtime");
2481
+ var import_react3 = require("react");
2482
+ var import_hooks11 = require("@agg-market/hooks");
2483
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2278
2484
  var Select = ({
2279
2485
  items,
2280
2486
  value,
@@ -2284,8 +2490,8 @@ var Select = ({
2284
2490
  disabled = false
2285
2491
  }) => {
2286
2492
  var _a;
2287
- const labels = (0, import_hooks10.useLabels)();
2288
- const { enableAnimations } = (0, import_hooks10.useSdkUiConfig)();
2493
+ const labels = (0, import_hooks11.useLabels)();
2494
+ const { enableAnimations } = (0, import_hooks11.useSdkUiConfig)();
2289
2495
  const hasEnabledItems = items.some((item) => !item.disabled);
2290
2496
  const hasAnyIcon = items.some((item) => item.iconUrl);
2291
2497
  const [isOpen, setIsOpen] = (0, import_react3.useState)(false);
@@ -2315,8 +2521,8 @@ var Select = ({
2315
2521
  const isDisabled = disabled || !hasEnabledItems;
2316
2522
  const selectedItem = items.find((item) => item.value === value);
2317
2523
  if (!hasAnyIcon) {
2318
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
2319
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2524
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
2525
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2320
2526
  "select",
2321
2527
  {
2322
2528
  "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
@@ -2332,19 +2538,19 @@ var Select = ({
2332
2538
  disabled: isDisabled,
2333
2539
  value,
2334
2540
  onChange: (event) => onChange(event.target.value),
2335
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
2541
+ children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
2336
2542
  }
2337
2543
  ),
2338
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
2544
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
2339
2545
  ] });
2340
2546
  }
2341
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2547
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
2342
2548
  "div",
2343
2549
  {
2344
2550
  ref: containerRef,
2345
2551
  className: cn("group/agg-select", "relative inline-flex w-full", className),
2346
2552
  children: [
2347
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2553
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
2348
2554
  "button",
2349
2555
  {
2350
2556
  type: "button",
@@ -2364,7 +2570,7 @@ var Select = ({
2364
2570
  ),
2365
2571
  onClick: () => setIsOpen((prev) => !prev),
2366
2572
  children: [
2367
- (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2573
+ (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2368
2574
  "img",
2369
2575
  {
2370
2576
  src: selectedItem.iconUrl,
@@ -2372,12 +2578,12 @@ var Select = ({
2372
2578
  className: "h-4 w-4 shrink-0 rounded-sm object-contain"
2373
2579
  }
2374
2580
  ) : null,
2375
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
2581
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
2376
2582
  ]
2377
2583
  }
2378
2584
  ),
2379
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
2380
- isOpen ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2585
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
2586
+ isOpen ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2381
2587
  "div",
2382
2588
  {
2383
2589
  role: "listbox",
@@ -2385,7 +2591,7 @@ var Select = ({
2385
2591
  className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
2386
2592
  children: items.map((item) => {
2387
2593
  const isSelected = item.value === value;
2388
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
2594
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
2389
2595
  "button",
2390
2596
  {
2391
2597
  type: "button",
@@ -2405,7 +2611,7 @@ var Select = ({
2405
2611
  }
2406
2612
  },
2407
2613
  children: [
2408
- item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2614
+ item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2409
2615
  "img",
2410
2616
  {
2411
2617
  src: item.iconUrl,
@@ -2413,7 +2619,7 @@ var Select = ({
2413
2619
  className: "h-4 w-4 shrink-0 rounded-sm object-contain"
2414
2620
  }
2415
2621
  ) : null,
2416
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "truncate", children: item.label })
2622
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "truncate", children: item.label })
2417
2623
  ]
2418
2624
  },
2419
2625
  item.value
@@ -2452,7 +2658,7 @@ var findEdgeEnabledIndex = (items, direction) => {
2452
2658
  };
2453
2659
 
2454
2660
  // src/primitives/tabs/index.tsx
2455
- var import_jsx_runtime55 = require("react/jsx-runtime");
2661
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2456
2662
  var mobileTabsMediaQuery = "(max-width: 512px)";
2457
2663
  var getTabButtonClassName = ({
2458
2664
  enableAnimations,
@@ -2492,8 +2698,8 @@ var Tabs = ({
2492
2698
  className,
2493
2699
  classNames
2494
2700
  }) => {
2495
- const labels = (0, import_hooks11.useLabels)();
2496
- const { enableAnimations } = (0, import_hooks11.useSdkUiConfig)();
2701
+ const labels = (0, import_hooks12.useLabels)();
2702
+ const { enableAnimations } = (0, import_hooks12.useSdkUiConfig)();
2497
2703
  const buttonRefs = (0, import_react4.useRef)([]);
2498
2704
  const dragStateRef = (0, import_react4.useRef)({
2499
2705
  isPointerDown: false,
@@ -2809,7 +3015,7 @@ var Tabs = ({
2809
3015
  });
2810
3016
  }, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
2811
3017
  if (shouldUseOverflowSelect) {
2812
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3018
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2813
3019
  Select,
2814
3020
  {
2815
3021
  ariaLabel,
@@ -2821,7 +3027,7 @@ var Tabs = ({
2821
3027
  }
2822
3028
  ) });
2823
3029
  }
2824
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3030
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2825
3031
  "div",
2826
3032
  {
2827
3033
  className: cn(
@@ -2832,7 +3038,7 @@ var Tabs = ({
2832
3038
  classNames == null ? void 0 : classNames.root
2833
3039
  ),
2834
3040
  children: [
2835
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3041
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2836
3042
  "div",
2837
3043
  {
2838
3044
  ref: tabListRef,
@@ -2848,7 +3054,7 @@ var Tabs = ({
2848
3054
  children: [
2849
3055
  renderedItems.map((item, index) => {
2850
3056
  const isActive = item.value === value;
2851
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3057
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
2852
3058
  "button",
2853
3059
  {
2854
3060
  ref: (buttonElement) => {
@@ -2877,7 +3083,7 @@ var Tabs = ({
2877
3083
  shouldUseOverflowScroll && !isBarVariant && "snap-start"
2878
3084
  ),
2879
3085
  children: [
2880
- isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3086
+ isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2881
3087
  "span",
2882
3088
  {
2883
3089
  "aria-hidden": true,
@@ -2891,14 +3097,14 @@ var Tabs = ({
2891
3097
  )
2892
3098
  }
2893
3099
  ) }) : null,
2894
- item.icon ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
2895
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
3100
+ item.icon ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
3101
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
2896
3102
  ]
2897
3103
  },
2898
3104
  item.value
2899
3105
  );
2900
3106
  }),
2901
- !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3107
+ !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2902
3108
  "span",
2903
3109
  {
2904
3110
  "aria-hidden": true,
@@ -2916,8 +3122,8 @@ var Tabs = ({
2916
3122
  ]
2917
3123
  }
2918
3124
  ),
2919
- shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
2920
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3125
+ shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
3126
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2921
3127
  "span",
2922
3128
  {
2923
3129
  "aria-hidden": true,
@@ -2928,7 +3134,7 @@ var Tabs = ({
2928
3134
  )
2929
3135
  }
2930
3136
  ),
2931
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3137
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2932
3138
  "span",
2933
3139
  {
2934
3140
  "aria-hidden": true,
@@ -2946,50 +3152,8 @@ var Tabs = ({
2946
3152
  };
2947
3153
  Tabs.displayName = "Tabs";
2948
3154
 
2949
- // src/primitives/typography/typography.constants.ts
2950
- var typographyVariantClasses = {
2951
- display: cn("agg-type-display"),
2952
- heading: cn("agg-type-heading"),
2953
- title: cn("agg-type-title"),
2954
- "title-strong": cn("agg-type-title-strong"),
2955
- "body-large": cn("agg-type-body-large"),
2956
- "body-large-strong": cn("agg-type-body-large-strong"),
2957
- body: cn("agg-type-body"),
2958
- "body-strong": cn("agg-type-body-strong"),
2959
- label: cn("agg-type-label"),
2960
- "label-strong": cn("agg-type-label-strong"),
2961
- "label-caps": cn("agg-type-label-caps"),
2962
- caption: cn("agg-type-caption"),
2963
- "caption-strong": cn("agg-type-caption-strong"),
2964
- "caption-caps": cn("agg-type-caption-caps"),
2965
- overline: cn("agg-type-overline")
2966
- };
2967
-
2968
- // src/primitives/typography/index.tsx
2969
- var import_jsx_runtime56 = require("react/jsx-runtime");
2970
- var Typography = ({
2971
- as: Component = "p",
2972
- variant = "body",
2973
- className,
2974
- children
2975
- }) => {
2976
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2977
- Component,
2978
- {
2979
- className: cn(
2980
- "group/agg-typography",
2981
- "text-agg-foreground",
2982
- typographyVariantClasses[variant],
2983
- className
2984
- ),
2985
- children
2986
- }
2987
- );
2988
- };
2989
- Typography.displayName = "Typography";
2990
-
2991
3155
  // src/primitives/venue-logo/index.tsx
2992
- var import_hooks12 = require("@agg-market/hooks");
3156
+ var import_hooks13 = require("@agg-market/hooks");
2993
3157
 
2994
3158
  // src/primitives/venue-logo/logo-props.ts
2995
3159
  var DEFAULT_MONOCHROME_COLOR = "currentColor";
@@ -3006,7 +3170,7 @@ var resolveLogoPrimaryColor = ({
3006
3170
  };
3007
3171
 
3008
3172
  // src/primitives/venue-logo/svg/logo-kalshi.tsx
3009
- var import_jsx_runtime57 = require("react/jsx-runtime");
3173
+ var import_jsx_runtime60 = require("react/jsx-runtime");
3010
3174
  var KALSHI_GREEN = "#18C590";
3011
3175
  var LogoKalshiIcon = (_a) => {
3012
3176
  var _b = _a, {
@@ -3025,7 +3189,7 @@ var LogoKalshiIcon = (_a) => {
3025
3189
  isColor,
3026
3190
  color
3027
3191
  });
3028
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
3192
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
3029
3193
  "svg",
3030
3194
  __spreadProps(__spreadValues(__spreadValues({
3031
3195
  viewBox: "0 0 100 100",
@@ -3033,8 +3197,8 @@ var LogoKalshiIcon = (_a) => {
3033
3197
  fill: "none"
3034
3198
  }, getIconA11yProps(title)), props), {
3035
3199
  children: [
3036
- title ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title }) : null,
3037
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3200
+ title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title }) : null,
3201
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3038
3202
  "path",
3039
3203
  {
3040
3204
  d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
@@ -3048,7 +3212,7 @@ var LogoKalshiIcon = (_a) => {
3048
3212
  LogoKalshiIcon.displayName = "LogoKalshiIcon";
3049
3213
 
3050
3214
  // src/primitives/venue-logo/svg/logo-opinion.tsx
3051
- var import_jsx_runtime58 = require("react/jsx-runtime");
3215
+ var import_jsx_runtime61 = require("react/jsx-runtime");
3052
3216
  var OPINION_BLACK = "#000000";
3053
3217
  var LogoOpinionIcon = (_a) => {
3054
3218
  var _b = _a, {
@@ -3067,7 +3231,7 @@ var LogoOpinionIcon = (_a) => {
3067
3231
  isColor,
3068
3232
  color
3069
3233
  });
3070
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
3234
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
3071
3235
  "svg",
3072
3236
  __spreadProps(__spreadValues(__spreadValues({
3073
3237
  viewBox: "0 0 100 100",
@@ -3075,8 +3239,8 @@ var LogoOpinionIcon = (_a) => {
3075
3239
  fill: "none"
3076
3240
  }, getIconA11yProps(title)), props), {
3077
3241
  children: [
3078
- title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title }) : null,
3079
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
3242
+ title ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title }) : null,
3243
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3080
3244
  "path",
3081
3245
  {
3082
3246
  d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
@@ -3090,7 +3254,7 @@ var LogoOpinionIcon = (_a) => {
3090
3254
  LogoOpinionIcon.displayName = "LogoOpinionIcon";
3091
3255
 
3092
3256
  // src/primitives/venue-logo/svg/logo-polymarket.tsx
3093
- var import_jsx_runtime59 = require("react/jsx-runtime");
3257
+ var import_jsx_runtime62 = require("react/jsx-runtime");
3094
3258
  var POLYMARKET_BLUE = "#2E5CFF";
3095
3259
  var LogoPolymarketIcon = (_a) => {
3096
3260
  var _b = _a, {
@@ -3109,7 +3273,7 @@ var LogoPolymarketIcon = (_a) => {
3109
3273
  isColor,
3110
3274
  color
3111
3275
  });
3112
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
3276
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
3113
3277
  "svg",
3114
3278
  __spreadProps(__spreadValues(__spreadValues({
3115
3279
  viewBox: "0 0 100 100",
@@ -3117,8 +3281,8 @@ var LogoPolymarketIcon = (_a) => {
3117
3281
  fill: "none"
3118
3282
  }, getIconA11yProps(title)), props), {
3119
3283
  children: [
3120
- title ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: title }) : null,
3121
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3284
+ title ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: title }) : null,
3285
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3122
3286
  "path",
3123
3287
  {
3124
3288
  d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
@@ -3132,7 +3296,7 @@ var LogoPolymarketIcon = (_a) => {
3132
3296
  LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
3133
3297
 
3134
3298
  // src/primitives/venue-logo/svg/logo-probable.tsx
3135
- var import_jsx_runtime60 = require("react/jsx-runtime");
3299
+ var import_jsx_runtime63 = require("react/jsx-runtime");
3136
3300
  var PROBABLE_ORANGE = "#F05923";
3137
3301
  var LogoProbableIcon = (_a) => {
3138
3302
  var _b = _a, {
@@ -3151,7 +3315,7 @@ var LogoProbableIcon = (_a) => {
3151
3315
  isColor,
3152
3316
  color
3153
3317
  });
3154
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
3318
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3155
3319
  "svg",
3156
3320
  __spreadProps(__spreadValues(__spreadValues({
3157
3321
  viewBox: "0 0 100 100",
@@ -3159,16 +3323,16 @@ var LogoProbableIcon = (_a) => {
3159
3323
  fill: "none"
3160
3324
  }, getIconA11yProps(title)), props), {
3161
3325
  children: [
3162
- title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title }) : null,
3163
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3326
+ title ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("title", { children: title }) : null,
3327
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3164
3328
  "path",
3165
3329
  {
3166
3330
  d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
3167
3331
  fill: primaryColor
3168
3332
  }
3169
3333
  ),
3170
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
3171
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3334
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
3335
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3172
3336
  "path",
3173
3337
  {
3174
3338
  d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
@@ -3196,14 +3360,14 @@ var venueLogoUrlRegistry = {
3196
3360
  probable: `${VENUE_LOGO_BASE_URL}/probable.png`
3197
3361
  };
3198
3362
  var venueLogoNames = Object.keys(venueLogoRegistry);
3199
- var sizeClasses = {
3363
+ var sizeClasses2 = {
3200
3364
  small: "h-4 w-4",
3201
3365
  medium: "h-6 w-6",
3202
3366
  large: "h-8 w-8"
3203
3367
  };
3204
3368
 
3205
3369
  // src/primitives/venue-logo/index.tsx
3206
- var import_jsx_runtime61 = require("react/jsx-runtime");
3370
+ var import_jsx_runtime64 = require("react/jsx-runtime");
3207
3371
  var VenueLogo = ({
3208
3372
  venue,
3209
3373
  variant = "icon",
@@ -3215,11 +3379,11 @@ var VenueLogo = ({
3215
3379
  ariaLabel,
3216
3380
  title
3217
3381
  }) => {
3218
- const labels = (0, import_hooks12.useLabels)();
3219
- const sizeClass = sizeClasses[size];
3382
+ const labels = (0, import_hooks13.useLabels)();
3383
+ const sizeClass = sizeClasses2[size];
3220
3384
  const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
3221
3385
  if (variant === "logo") {
3222
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3386
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3223
3387
  "img",
3224
3388
  {
3225
3389
  src: venueLogoUrlRegistry[venue],
@@ -3231,7 +3395,7 @@ var VenueLogo = ({
3231
3395
  }
3232
3396
  const Component = venueLogoRegistry[venue];
3233
3397
  const resolvedIsColor = isMonochromatic ? false : isColor;
3234
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3398
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3235
3399
  Component,
3236
3400
  {
3237
3401
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
@@ -3244,78 +3408,16 @@ var VenueLogo = ({
3244
3408
  };
3245
3409
  VenueLogo.displayName = "VenueLogo";
3246
3410
 
3247
- // src/primitives/loading-icon/index.tsx
3248
- var import_hooks13 = require("@agg-market/hooks");
3249
- var import_jsx_runtime62 = require("react/jsx-runtime");
3250
- var LoadingIcon = ({
3251
- size = "medium",
3252
- className,
3253
- ariaLabel
3254
- }) => {
3255
- const labels = (0, import_hooks13.useLabels)();
3256
- const { enableAnimations } = (0, import_hooks13.useSdkUiConfig)();
3257
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3258
- "span",
3259
- {
3260
- role: "status",
3261
- "aria-label": ariaLabel != null ? ariaLabel : labels.common.loading,
3262
- className: cn(
3263
- "group/agg-loading-icon",
3264
- "inline-grid place-items-center text-agg-primary will-change-transform",
3265
- className
3266
- ),
3267
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("svg", { viewBox: "0 0 44 44", className: cn("block", iconSizeClasses[size]), children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("g", { children: [
3268
- enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3269
- "animateTransform",
3270
- {
3271
- attributeName: "transform",
3272
- attributeType: "XML",
3273
- type: "rotate",
3274
- from: "0 22 22",
3275
- to: "360 22 22",
3276
- dur: "1.4s",
3277
- repeatCount: "indefinite"
3278
- }
3279
- ) : null,
3280
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3281
- "circle",
3282
- {
3283
- cx: "22",
3284
- cy: "22",
3285
- r: "16",
3286
- fill: "none",
3287
- stroke: "currentColor",
3288
- strokeWidth: "6",
3289
- strokeLinecap: "round",
3290
- strokeDasharray: "60 100",
3291
- strokeDashoffset: "0",
3292
- children: enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
3293
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3294
- "animate",
3295
- {
3296
- attributeName: "stroke-dasharray",
3297
- values: "1 100;60 100;1 100",
3298
- dur: "1.2s",
3299
- repeatCount: "indefinite"
3300
- }
3301
- ),
3302
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3303
- "animate",
3304
- {
3305
- attributeName: "stroke-dashoffset",
3306
- values: "0;-25;-100",
3307
- dur: "1.2s",
3308
- repeatCount: "indefinite"
3309
- }
3310
- )
3311
- ] }) : null
3312
- }
3313
- )
3314
- ] }) }) })
3315
- }
3316
- );
3411
+ // src/shared/query-error.ts
3412
+ var getErrorStatus = (error) => {
3413
+ if (!error || typeof error !== "object")
3414
+ return null;
3415
+ const status = error.status;
3416
+ return typeof status === "number" ? status : null;
3417
+ };
3418
+ var isErrorWithStatus = (error, status) => {
3419
+ return getErrorStatus(error) === status;
3317
3420
  };
3318
- LoadingIcon.displayName = "LoadingIcon";
3319
3421
 
3320
3422
  // src/events/market-details/market-details.utils.ts
3321
3423
  var import_dayjs3 = __toESM(require("dayjs"));
@@ -3382,15 +3484,14 @@ var resolveTileTitle = (event, primaryVenueMarket, titleOverride) => {
3382
3484
  return event.title;
3383
3485
  };
3384
3486
  var resolveTileImage = (event, primaryVenueMarket, imageOverride) => {
3385
- var _a, _b, _c, _d, _e, _f;
3386
3487
  if (typeof imageOverride === "string" && imageOverride.trim()) {
3387
3488
  return imageOverride;
3388
3489
  }
3389
3490
  if (typeof (primaryVenueMarket == null ? void 0 : primaryVenueMarket.image) === "string" && primaryVenueMarket.image.trim()) {
3390
3491
  return primaryVenueMarket.image;
3391
3492
  }
3392
- if (typeof ((_b = (_a = event.venueEvents) == null ? void 0 : _a[0]) == null ? void 0 : _b.image) === "string" && ((_d = (_c = event.venueEvents) == null ? void 0 : _c[0]) == null ? void 0 : _d.image.trim())) {
3393
- return (_f = (_e = event.venueEvents) == null ? void 0 : _e[0]) == null ? void 0 : _f.image;
3493
+ if (typeof event.image === "string" && event.image.trim()) {
3494
+ return event.image;
3394
3495
  }
3395
3496
  return void 0;
3396
3497
  };
@@ -3483,18 +3584,22 @@ var resolveOutcomesByVenue = (venueMarkets, selectedOutcomeLabel) => {
3483
3584
  };
3484
3585
  }).filter((item) => item != null);
3485
3586
  };
3486
- var buildPriceHistoryGroups = (selectedOutcomes) => {
3487
- const venueMarketOutcomeIdsByVenue = /* @__PURE__ */ new Map();
3488
- selectedOutcomes.forEach(({ venue, outcome }) => {
3489
- var _a;
3490
- if (!venueMarketOutcomeIdsByVenue.has(venue)) {
3491
- venueMarketOutcomeIdsByVenue.set(venue, []);
3587
+ var buildPriceHistoryGroups = (selectedOutcomes, fallbackMarketId) => {
3588
+ const marketIdByVenue = /* @__PURE__ */ new Map();
3589
+ selectedOutcomes.forEach(({ venue, market }) => {
3590
+ var _a, _b;
3591
+ const marketWithCanonicalId = market;
3592
+ const canonicalMarketId = (_a = marketWithCanonicalId.marketId) != null ? _a : fallbackMarketId;
3593
+ if (!canonicalMarketId)
3594
+ return;
3595
+ if (!marketIdByVenue.has(venue)) {
3596
+ marketIdByVenue.set(venue, /* @__PURE__ */ new Set());
3492
3597
  }
3493
- (_a = venueMarketOutcomeIdsByVenue.get(venue)) == null ? void 0 : _a.push(outcome.id);
3598
+ (_b = marketIdByVenue.get(venue)) == null ? void 0 : _b.add(canonicalMarketId);
3494
3599
  });
3495
- return [...venueMarketOutcomeIdsByVenue.entries()].map(([venue, venueMarketOutcomeIds]) => ({
3600
+ return [...marketIdByVenue.entries()].map(([venue, marketIds]) => ({
3496
3601
  venue,
3497
- venueMarketOutcomeIds
3602
+ venueMarketOutcomeIds: [...marketIds]
3498
3603
  })).filter((group) => group.venueMarketOutcomeIds.length > 0);
3499
3604
  };
3500
3605
  var resolveSeriesColor = (venue, index) => {
@@ -3533,12 +3638,11 @@ var resolveInitialTab = (defaultTab) => {
3533
3638
  return "order-book";
3534
3639
  };
3535
3640
  var resolveMarket = (event, marketId) => {
3536
- var _a;
3537
3641
  if (!event.markets.length)
3538
3642
  return void 0;
3539
3643
  if (!marketId)
3540
3644
  return event.markets[0];
3541
- return (_a = event.markets.find((market) => market.id === marketId)) != null ? _a : event.markets[0];
3645
+ return event.markets.find((market) => market.id === marketId);
3542
3646
  };
3543
3647
  var resolveDisplayOutcomeLabels = (labels) => {
3544
3648
  if (!hasBinaryLabels(labels))
@@ -3627,8 +3731,7 @@ var resolveSubtitle = ({
3627
3731
  };
3628
3732
  var resolveOrderBookRows = ({
3629
3733
  data,
3630
- side,
3631
- depth
3734
+ side
3632
3735
  }) => {
3633
3736
  if (!(data == null ? void 0 : data.length))
3634
3737
  return [];
@@ -3659,9 +3762,8 @@ var resolveOrderBookRows = ({
3659
3762
  return left.price - right.price;
3660
3763
  return right.price - left.price;
3661
3764
  });
3662
- const limitedRows = sortedRows.slice(0, Math.max(1, depth));
3663
- const maxTotal = limitedRows.reduce((currentMax, row) => Math.max(currentMax, row.total), 0) || 1;
3664
- return limitedRows.map((row) => __spreadProps(__spreadValues({}, row), {
3765
+ const maxTotal = sortedRows.reduce((currentMax, row) => Math.max(currentMax, row.total), 0) || 1;
3766
+ return sortedRows.map((row) => __spreadProps(__spreadValues({}, row), {
3665
3767
  barScale: row.total / maxTotal
3666
3768
  }));
3667
3769
  };
@@ -3736,14 +3838,14 @@ var buildMarketDetailsModel = ({
3736
3838
  };
3737
3839
 
3738
3840
  // src/events/market-details/index.tsx
3739
- var import_jsx_runtime63 = require("react/jsx-runtime");
3841
+ var import_jsx_runtime65 = require("react/jsx-runtime");
3740
3842
  var MarketDetailsLoadingState = ({
3741
3843
  isOpened = marketDetailsDefaultIsOpened,
3742
3844
  ariaLabel,
3743
3845
  classNames
3744
3846
  }) => {
3745
3847
  const labels = (0, import_hooks14.useLabels)();
3746
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3848
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3747
3849
  Skeleton,
3748
3850
  {
3749
3851
  view: isOpened ? "market-details-detailed" : "market-details-minified",
@@ -3757,61 +3859,91 @@ var MarketDetailsUnavailableState = ({
3757
3859
  classNames
3758
3860
  }) => {
3759
3861
  const labels = (0, import_hooks14.useLabels)();
3760
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3862
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3761
3863
  Card,
3762
3864
  {
3763
3865
  className: cn(marketDetailsBaseCardClassName, classNames == null ? void 0 : classNames.root),
3764
3866
  role: "status",
3765
3867
  "aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.unavailableAria,
3766
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col gap-1 p-5", children: [
3767
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { variant: "body-large-strong", children: labels.marketDetails.unavailableTitle }),
3768
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { variant: "label", className: "text-agg-muted-foreground", children: labels.marketDetails.unavailableDescription })
3868
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex flex-col gap-1 p-5", children: [
3869
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { variant: "body-large-strong", children: labels.marketDetails.unavailableTitle }),
3870
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { variant: "label", className: "text-agg-muted-foreground", children: labels.marketDetails.unavailableDescription })
3769
3871
  ] })
3770
3872
  }
3771
3873
  );
3772
3874
  };
3875
+ var MarketDetailsNotFoundState = ({
3876
+ ariaLabel,
3877
+ classNames
3878
+ }) => {
3879
+ const labels = (0, import_hooks14.useLabels)();
3880
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Card, { className: cn(marketDetailsBaseCardClassName, "p-0", classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3881
+ StateMessage,
3882
+ {
3883
+ ariaLabel: ariaLabel != null ? ariaLabel : labels.marketDetails.notFoundAria,
3884
+ title: labels.marketDetails.notFoundTitle,
3885
+ description: labels.marketDetails.notFoundDescription,
3886
+ className: "min-h-[280px] md:min-h-[320px]"
3887
+ }
3888
+ ) });
3889
+ };
3773
3890
  var OrderBookRows = ({
3774
3891
  rows,
3775
3892
  title,
3776
3893
  formatNumber,
3777
- formatCurrency
3894
+ formatCurrency,
3895
+ visibleRows
3778
3896
  }) => {
3779
3897
  const labels = (0, import_hooks14.useLabels)();
3780
3898
  const isAsks = title === labels.marketDetails.asks;
3781
3899
  const priceClassName = isAsks ? "text-agg-orderbook-ask" : "text-agg-orderbook-bid";
3782
3900
  const barClassName = isAsks ? "bg-agg-orderbook-ask/10" : "bg-agg-orderbook-bid/10";
3783
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col gap-2", children: [
3784
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { variant: "caption-caps", children: title }),
3785
- rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col gap-2", children: [
3786
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2 md:grid-cols-[88px_1fr_1fr_minmax(120px,220px)] md:gap-6", children: [
3787
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
3788
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(VenueLogo, { venue: row.venue, size: "small" }),
3789
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3790
- "span",
3791
- {
3792
- className: cn(
3793
- "text-agg-xs font-agg-bold leading-agg-4 md:text-agg-sm md:leading-agg-5",
3794
- priceClassName
3795
- ),
3796
- children: formatProbabilityCents(row.price)
3797
- }
3798
- )
3799
- ] }),
3800
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "truncate text-agg-xs leading-agg-4 text-center text-agg-foreground md:text-agg-sm md:leading-agg-5", children: formatNumber(row.size) }),
3801
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "truncate text-agg-xs leading-agg-4 text-center text-agg-foreground md:text-agg-sm md:leading-agg-5", children: formatCurrency(row.total) }),
3802
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3803
- "div",
3804
- {
3805
- "aria-hidden": "true",
3806
- className: cn("h-2 rounded-agg-full", barClassName),
3807
- style: {
3808
- width: `${Math.max(20, Math.round(row.barScale * 100))}%`
3809
- }
3810
- }
3811
- ) })
3812
- ] }),
3813
- index < rows.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
3814
- ] }, row.id))
3901
+ const maxVisibleRows = Math.max(1, visibleRows);
3902
+ const orderBookRowHeightPx = 28;
3903
+ const orderBookDividerHeightPx = 1;
3904
+ const orderBookRowGapPx = 8;
3905
+ const orderBookVisibleHeightPx = maxVisibleRows * orderBookRowHeightPx + Math.max(0, maxVisibleRows - 1) * (orderBookDividerHeightPx + orderBookRowGapPx);
3906
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex flex-col gap-2", children: [
3907
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { variant: "caption-caps", children: title }),
3908
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3909
+ "div",
3910
+ {
3911
+ className: "overflow-y-auto pr-1 flex flex-col gap-2",
3912
+ style: { maxHeight: `${orderBookVisibleHeightPx}px` },
3913
+ role: "region",
3914
+ "aria-label": `${title} order book levels`,
3915
+ children: rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex flex-col gap-2", children: [
3916
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2 md:grid-cols-[88px_1fr_1fr_minmax(120px,220px)] md:gap-6", children: [
3917
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
3918
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(VenueLogo, { venue: row.venue, size: "small" }),
3919
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3920
+ "span",
3921
+ {
3922
+ className: cn(
3923
+ "text-agg-xs font-agg-bold leading-agg-4 md:text-agg-sm md:leading-agg-5",
3924
+ priceClassName
3925
+ ),
3926
+ children: formatProbabilityCents(row.price)
3927
+ }
3928
+ )
3929
+ ] }),
3930
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "truncate text-agg-xs leading-agg-4 text-center text-agg-foreground md:text-agg-sm md:leading-agg-5", children: formatNumber(row.size) }),
3931
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "truncate text-agg-xs leading-agg-4 text-center text-agg-foreground md:text-agg-sm md:leading-agg-5", children: formatCurrency(row.total) }),
3932
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3933
+ "div",
3934
+ {
3935
+ "aria-hidden": "true",
3936
+ className: cn("h-2 rounded-agg-full", barClassName),
3937
+ style: {
3938
+ width: `${Math.max(20, Math.round(row.barScale * 100))}%`
3939
+ }
3940
+ }
3941
+ ) })
3942
+ ] }),
3943
+ index < rows.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
3944
+ ] }, row.id))
3945
+ }
3946
+ )
3815
3947
  ] });
3816
3948
  };
3817
3949
  var getOutcomeButtonClassName = ({
@@ -3858,6 +3990,9 @@ var MarketDetailsContent = ({
3858
3990
  labels
3859
3991
  });
3860
3992
  }, [config.formatCompactCurrency, event, image, labels, marketId, title]);
3993
+ const resolvedMarket = (0, import_react5.useMemo)(() => {
3994
+ return resolveMarket(event, marketId);
3995
+ }, [event, marketId]);
3861
3996
  const marketDetailsTabs = (0, import_react5.useMemo)(() => {
3862
3997
  return getMarketDetailsTabs(labels);
3863
3998
  }, [labels]);
@@ -3929,9 +4064,10 @@ var MarketDetailsContent = ({
3929
4064
  });
3930
4065
  return [...uniqueOutcomesByVenueAndId.values()];
3931
4066
  }, [outcomesByLabel]);
4067
+ const canonicalMarketIdForHistory = model == null ? void 0 : model.market.id;
3932
4068
  const priceHistoryGroups = (0, import_react5.useMemo)(() => {
3933
- return buildPriceHistoryGroups(graphOutcomes);
3934
- }, [graphOutcomes]);
4069
+ return buildPriceHistoryGroups(graphOutcomes, canonicalMarketIdForHistory);
4070
+ }, [canonicalMarketIdForHistory, graphOutcomes]);
3935
4071
  const { data: priceHistoryData, isLoading: isPriceHistoryLoading } = (0, import_hooks14.usePriceHistory)(__spreadProps(__spreadValues({
3936
4072
  groups: priceHistoryGroups
3937
4073
  }, timeWindow), {
@@ -3944,24 +4080,27 @@ var MarketDetailsContent = ({
3944
4080
  liveUpdate: true
3945
4081
  }));
3946
4082
  }, [selectedOutcomesByVenue]);
3947
- const { data: orderBookData, isLoading: isOrderBookLoading } = (0, import_hooks14.useOrderBook)({
4083
+ const {
4084
+ data: orderBookData,
4085
+ isLoading: isOrderBookLoading,
4086
+ error: orderBookError,
4087
+ results: orderBookResults
4088
+ } = (0, import_hooks14.useOrderBook)({
3948
4089
  orderbooks: orderBookInputs,
3949
4090
  enabled: isOpened && selectedTab === "order-book" && orderBookInputs.length > 0
3950
4091
  });
3951
4092
  const askRows = (0, import_react5.useMemo)(() => {
3952
4093
  return resolveOrderBookRows({
3953
4094
  data: orderBookData,
3954
- side: "asks",
3955
- depth: orderBookDepth
4095
+ side: "asks"
3956
4096
  });
3957
- }, [orderBookData, orderBookDepth]);
4097
+ }, [orderBookData]);
3958
4098
  const bidRows = (0, import_react5.useMemo)(() => {
3959
4099
  return resolveOrderBookRows({
3960
4100
  data: orderBookData,
3961
- side: "bids",
3962
- depth: orderBookDepth
4101
+ side: "bids"
3963
4102
  });
3964
- }, [orderBookData, orderBookDepth]);
4103
+ }, [orderBookData]);
3965
4104
  const priceHistoryByVenue = (0, import_react5.useMemo)(() => {
3966
4105
  const historyByVenue = /* @__PURE__ */ new Map();
3967
4106
  if (!(priceHistoryData == null ? void 0 : priceHistoryData.length)) {
@@ -3981,11 +4120,14 @@ var MarketDetailsContent = ({
3981
4120
  const graphSeriesByOutcomeLabel = (0, import_react5.useMemo)(() => {
3982
4121
  const seriesByOutcomeLabel = /* @__PURE__ */ new Map();
3983
4122
  const resolveOutcomeCandidateIds = (outcomeByVenue) => {
3984
- var _a;
4123
+ var _a, _b;
4124
+ const marketWithCanonicalId = outcomeByVenue.market;
3985
4125
  return [
3986
4126
  outcomeByVenue.outcome.id,
3987
4127
  (_a = outcomeByVenue.outcome.externalIdentifier) != null ? _a : void 0,
3988
- outcomeByVenue.market.externalIdentifier
4128
+ outcomeByVenue.market.externalIdentifier,
4129
+ (_b = marketWithCanonicalId.marketId) != null ? _b : void 0,
4130
+ canonicalMarketIdForHistory
3989
4131
  ].filter((value) => typeof value === "string" && value.trim().length > 0);
3990
4132
  };
3991
4133
  headerOutcomeItems.forEach((headerOutcomeItem) => {
@@ -4017,7 +4159,7 @@ var MarketDetailsContent = ({
4017
4159
  seriesByOutcomeLabel.set(headerOutcomeItem.label, graphSeries2);
4018
4160
  });
4019
4161
  return seriesByOutcomeLabel;
4020
- }, [headerOutcomeItems, outcomesByLabel, priceHistoryByVenue]);
4162
+ }, [canonicalMarketIdForHistory, headerOutcomeItems, outcomesByLabel, priceHistoryByVenue]);
4021
4163
  const graphSeries = (0, import_react5.useMemo)(() => {
4022
4164
  var _a;
4023
4165
  if (!selectedOutcomeLabel)
@@ -4032,6 +4174,9 @@ var MarketDetailsContent = ({
4032
4174
  return [];
4033
4175
  return resolveOtherTabRows(model.market, labels);
4034
4176
  }, [labels, model]);
4177
+ const isOrderBookNotFound = isErrorWithStatus(orderBookError, 404);
4178
+ const hasOrderBookError = !!orderBookError && !isOrderBookNotFound;
4179
+ const hasNoOrderBook = isOrderBookNotFound || !isOrderBookLoading && !hasOrderBookError && (orderBookInputs.length === 0 || askRows.length === 0 && bidRows.length === 0);
4035
4180
  const handleOutcomeKeyDown = (eventToHandle) => {
4036
4181
  var _a;
4037
4182
  if ((eventToHandle == null ? void 0 : eventToHandle.key) !== "ArrowLeft" && (eventToHandle == null ? void 0 : eventToHandle.key) !== "ArrowRight") {
@@ -4065,6 +4210,9 @@ var MarketDetailsContent = ({
4065
4210
  return venue;
4066
4211
  });
4067
4212
  };
4213
+ const handleRetryOrderBook = () => {
4214
+ void Promise.all(orderBookResults.map((result) => result.refetch()));
4215
+ };
4068
4216
  (0, import_react5.useEffect)(() => {
4069
4217
  if (!selectedGraphVenue) {
4070
4218
  return;
@@ -4074,36 +4222,40 @@ var MarketDetailsContent = ({
4074
4222
  }
4075
4223
  setSelectedGraphVenue(null);
4076
4224
  }, [selectedGraphVenue, selectedOutcomesByVenue]);
4225
+ if (marketId && !resolvedMarket) {
4226
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MarketDetailsNotFoundState, { ariaLabel, classNames });
4227
+ }
4077
4228
  if (!model) {
4078
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MarketDetailsUnavailableState, { ariaLabel, classNames });
4229
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MarketDetailsUnavailableState, { ariaLabel, classNames });
4079
4230
  }
4080
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4231
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
4081
4232
  Card,
4082
4233
  {
4083
4234
  className: cn(
4084
- "w-full cursor-pointer rounded-agg-2xl text-left outline-none",
4235
+ "w-full rounded-agg-2xl text-left outline-none",
4085
4236
  marketDetailsBaseCardClassName,
4086
4237
  classNames == null ? void 0 : classNames.root
4087
4238
  ),
4088
- "aria-expanded": isOpened,
4089
- "aria-controls": detailsContentId,
4090
- role: "button",
4091
- tabIndex: 0,
4092
- "aria-label": isOpened ? labels.marketDetails.toggleCloseDetailsAria(model.title) : labels.marketDetails.toggleOpenDetailsAria(model.title),
4093
- onClick: handleToggleExpanded,
4094
- onKeyDown: handleToggleExpanded,
4095
4239
  children: [
4096
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4240
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
4097
4241
  "div",
4098
4242
  {
4099
4243
  className: cn(
4100
- "flex flex-row items-center justify-between gap-3 px-5 py-4",
4244
+ "cursor-pointer disabled:cursor-default",
4245
+ "flex flex-wrap flex-row items-center justify-between gap-3 px-5 py-4",
4101
4246
  isOpened && "pb-3",
4102
4247
  classNames == null ? void 0 : classNames.header
4103
4248
  ),
4249
+ "aria-expanded": isOpened,
4250
+ "aria-controls": detailsContentId,
4251
+ role: "button",
4252
+ tabIndex: 0,
4253
+ "aria-label": isOpened ? labels.marketDetails.toggleCloseDetailsAria(model.title) : labels.marketDetails.toggleOpenDetailsAria(model.title),
4254
+ onClick: handleToggleExpanded,
4255
+ onKeyDown: handleToggleExpanded,
4104
4256
  children: [
4105
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:gap-4", children: [
4106
- model.image ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4257
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex min-w-52 items-center gap-3 md:gap-4", children: [
4258
+ model.image ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4107
4259
  "img",
4108
4260
  {
4109
4261
  src: model.image,
@@ -4111,13 +4263,13 @@ var MarketDetailsContent = ({
4111
4263
  className: "size-12 rounded-agg-lg object-cover md:size-[60px]"
4112
4264
  }
4113
4265
  ) : null,
4114
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
4115
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { as: "h3", variant: "body-large-strong", className: "truncate", children: model.title }),
4116
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { variant: "label", className: "truncate text-agg-muted-foreground", children: model.subtitle }) })
4266
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
4267
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { as: "h3", variant: "body-large-strong", className: "truncate", children: model.title }),
4268
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { variant: "label", className: "truncate text-agg-muted-foreground", children: model.subtitle }) })
4117
4269
  ] })
4118
4270
  ] }),
4119
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { as: "div", variant: "heading", className: "shrink-0", children: formatProbabilityPercent(headlineProbability) }),
4120
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4271
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { as: "div", variant: "heading", className: "shrink-0", children: formatProbabilityPercent(headlineProbability) }),
4272
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4121
4273
  "div",
4122
4274
  {
4123
4275
  className: "flex gap-2",
@@ -4128,7 +4280,7 @@ var MarketDetailsContent = ({
4128
4280
  children: headerOutcomeItems.map((item) => {
4129
4281
  const isPositive = item.tone === "positive";
4130
4282
  const isActiveOutcome = item.label === selectedOutcomeLabel;
4131
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4283
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4132
4284
  "button",
4133
4285
  {
4134
4286
  type: "button",
@@ -4145,8 +4297,8 @@ var MarketDetailsContent = ({
4145
4297
  e.stopPropagation();
4146
4298
  setSelectedOutcomeLabel(item.label);
4147
4299
  },
4148
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { className: "inline-flex items-center gap-2", children: [
4149
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4300
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { className: "inline-flex items-center gap-2", children: [
4301
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4150
4302
  VenueLogo,
4151
4303
  {
4152
4304
  venue: isPositive ? "polymarket" : "probable",
@@ -4154,7 +4306,7 @@ var MarketDetailsContent = ({
4154
4306
  color: isActiveOutcome ? "var(--agg-color-on-primary)" : void 0
4155
4307
  }
4156
4308
  ),
4157
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4309
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4158
4310
  Typography,
4159
4311
  {
4160
4312
  variant: isActiveOutcome ? "body-strong" : "body",
@@ -4175,28 +4327,25 @@ var MarketDetailsContent = ({
4175
4327
  ]
4176
4328
  }
4177
4329
  ),
4178
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4330
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4179
4331
  "div",
4180
4332
  {
4181
4333
  id: detailsContentId,
4182
4334
  className: cn(
4183
4335
  "grid overflow-hidden",
4184
- getMotionClassName(
4185
- config.enableAnimations,
4186
- "transition-all duration-500 ease-[cubic-bezier(0.4,0,0.2,1)]"
4187
- ),
4336
+ getMotionClassName(config.enableAnimations, "transition-all duration-500 ease-in-out"),
4188
4337
  isOpened ? "grid-rows-[1fr] opacity-100" : "pointer-events-none grid-rows-[0fr] opacity-0"
4189
4338
  ),
4190
4339
  "aria-hidden": !isOpened,
4191
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "min-h-0", children: [
4192
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
4193
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4340
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "min-h-0", children: [
4341
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
4342
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
4194
4343
  "div",
4195
4344
  {
4196
4345
  className: cn(
4197
4346
  getMotionClassName(
4198
4347
  config.enableAnimations,
4199
- "transition-all duration-500 ease-[cubic-bezier(0.4,0,0.2,1)]"
4348
+ "transition-all duration-500 ease-in-out"
4200
4349
  ),
4201
4350
  isOpened ? cn(
4202
4351
  "translate-y-0 opacity-100",
@@ -4204,7 +4353,7 @@ var MarketDetailsContent = ({
4204
4353
  ) : "translate-y-5 opacity-0"
4205
4354
  ),
4206
4355
  children: [
4207
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: cn("block", classNames == null ? void 0 : classNames.tabs), children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4356
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: cn("block", classNames == null ? void 0 : classNames.tabs), children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4208
4357
  Tabs,
4209
4358
  {
4210
4359
  ariaLabel: labels.marketDetails.tabsAria,
@@ -4215,42 +4364,51 @@ var MarketDetailsContent = ({
4215
4364
  className: "w-full px-5"
4216
4365
  }
4217
4366
  ) }),
4218
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
4219
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: cn("p-5", classNames == null ? void 0 : classNames.content), children: [
4220
- selectedTab === "order-book" ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: cn("flex flex-col gap-5", classNames == null ? void 0 : classNames.orderBook), children: isOrderBookLoading ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4221
- "div",
4367
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
4368
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: cn("p-5", classNames == null ? void 0 : classNames.content), children: [
4369
+ selectedTab === "order-book" ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: cn("flex flex-col gap-5", classNames == null ? void 0 : classNames.orderBook), children: isOrderBookLoading ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MarketDetailsOderbookSkeleton, {}) : hasOrderBookError ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4370
+ StateMessage,
4222
4371
  {
4223
- className: "flex flex-col gap-2 min-h-40 items-center justify-center",
4224
- role: "status",
4225
- "aria-label": labels.marketDetails.loadingOrderbookAria,
4226
- "aria-busy": true,
4227
- children: [
4228
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(LoadingIcon, {}),
4229
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { variant: "label", className: "text-agg-muted-foreground", children: labels.marketDetails.loadingOrderbookLabel })
4230
- ]
4372
+ ariaLabel: labels.marketDetails.orderBookUnavailableAria,
4373
+ tone: "warning",
4374
+ title: labels.marketDetails.orderBookUnavailableTitle,
4375
+ description: labels.marketDetails.orderBookUnavailableDescription,
4376
+ actionLabel: labels.common.retry,
4377
+ onAction: handleRetryOrderBook,
4378
+ className: "min-h-[248px] px-5 py-10 md:min-h-[272px]"
4379
+ }
4380
+ ) : hasNoOrderBook ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4381
+ StateMessage,
4382
+ {
4383
+ ariaLabel: labels.marketDetails.orderBookEmptyAria,
4384
+ title: labels.marketDetails.orderBookEmptyTitle,
4385
+ description: labels.marketDetails.orderBookEmptyDescription,
4386
+ className: "min-h-[248px] px-5 py-10 md:min-h-[272px]"
4231
4387
  }
4232
- ) : /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
4233
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4388
+ ) : /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
4389
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4234
4390
  OrderBookRows,
4235
4391
  {
4236
4392
  rows: askRows,
4237
4393
  title: labels.marketDetails.asks,
4238
4394
  formatNumber: config.formatNumber,
4239
- formatCurrency: config.formatCurrency
4395
+ formatCurrency: config.formatCurrency,
4396
+ visibleRows: orderBookDepth
4240
4397
  }
4241
4398
  ),
4242
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4399
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4243
4400
  OrderBookRows,
4244
4401
  {
4245
4402
  rows: bidRows,
4246
4403
  title: labels.marketDetails.bids,
4247
4404
  formatNumber: config.formatNumber,
4248
- formatCurrency: config.formatCurrency
4405
+ formatCurrency: config.formatCurrency,
4406
+ visibleRows: orderBookDepth
4249
4407
  }
4250
4408
  )
4251
4409
  ] }) }) : null,
4252
- selectedTab === "graph" ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: cn("flex flex-col gap-5", classNames == null ? void 0 : classNames.graph), children: [
4253
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4410
+ selectedTab === "graph" ? /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: cn("flex flex-col gap-5", classNames == null ? void 0 : classNames.graph), children: [
4411
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4254
4412
  LineChart,
4255
4413
  {
4256
4414
  series: graphSeries,
@@ -4259,11 +4417,11 @@ var MarketDetailsContent = ({
4259
4417
  classNames: { root: "w-full" },
4260
4418
  showSeriesControls: selectedOutcomesByVenue.length > 0 || headerOutcomeItems.length > 0,
4261
4419
  renderSeriesControls: () => {
4262
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col gap-4 md:flex-row md:items-center md:justify-between", children: [
4263
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex flex-wrap gap-2", children: selectedOutcomesByVenue.map((item) => {
4420
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex flex-col gap-4 md:flex-row md:items-center md:justify-between", children: [
4421
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex flex-wrap gap-2", children: selectedOutcomesByVenue.map((item) => {
4264
4422
  const probability = formatProbabilityPercent(item.outcome.price);
4265
4423
  const isActiveVenue = selectedGraphVenue === item.venue;
4266
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4424
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
4267
4425
  "button",
4268
4426
  {
4269
4427
  type: "button",
@@ -4280,14 +4438,14 @@ var MarketDetailsContent = ({
4280
4438
  handleGraphVenueToggle(item.venue);
4281
4439
  },
4282
4440
  children: [
4283
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(VenueLogo, { venue: item.venue, size: "small" }),
4284
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: probability })
4441
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(VenueLogo, { venue: item.venue, size: "small" }),
4442
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: probability })
4285
4443
  ]
4286
4444
  },
4287
4445
  `${item.market.id}-${item.outcome.id}`
4288
4446
  );
4289
4447
  }) }),
4290
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4448
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4291
4449
  SwitchButton,
4292
4450
  {
4293
4451
  ariaLabel: labels.marketDetails.outcomeSelectorAria,
@@ -4305,7 +4463,7 @@ var MarketDetailsContent = ({
4305
4463
  }
4306
4464
  }
4307
4465
  ),
4308
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4466
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
4309
4467
  "div",
4310
4468
  {
4311
4469
  className: cn(
@@ -4313,10 +4471,10 @@ var MarketDetailsContent = ({
4313
4471
  classNames == null ? void 0 : classNames.footer
4314
4472
  ),
4315
4473
  children: [
4316
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { children: typeof model.market.volume === "number" ? `${config.formatCompactCurrency(model.market.volume)} ${labels.marketDetails.meta.volumeSuffix}` : labels.marketDetails.volumeUnavailable }),
4317
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex flex-wrap items-center gap-3 md:gap-4", children: eventListItemDetailsTimeRanges.map((timeRange) => {
4474
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { children: typeof model.market.volume === "number" ? `${config.formatCompactCurrency(model.market.volume)} ${labels.marketDetails.meta.volumeSuffix}` : labels.marketDetails.volumeUnavailable }),
4475
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex flex-wrap items-center gap-3 md:gap-4", children: eventListItemDetailsTimeRanges.map((timeRange) => {
4318
4476
  const isActive = selectedTimeRange === timeRange;
4319
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4477
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4320
4478
  "button",
4321
4479
  {
4322
4480
  type: "button",
@@ -4339,13 +4497,13 @@ var MarketDetailsContent = ({
4339
4497
  }
4340
4498
  )
4341
4499
  ] }) : null,
4342
- selectedTab === "other" ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex flex-col gap-4", children: otherContent != null ? otherContent : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "grid grid-cols-1 gap-3", children: otherRows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4500
+ selectedTab === "other" ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex flex-col gap-4", children: otherContent != null ? otherContent : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "grid grid-cols-1 gap-3", children: otherRows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
4343
4501
  "div",
4344
4502
  {
4345
4503
  className: "flex items-center justify-between rounded-agg-xl bg-agg-secondary-hover px-4 py-3",
4346
4504
  children: [
4347
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { variant: "label", className: "text-agg-muted-foreground", children: row.label }),
4348
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Typography, { variant: "body", className: "text-right", children: row.value })
4505
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { variant: "label", className: "text-agg-muted-foreground", children: row.label }),
4506
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Typography, { variant: "body", className: "text-right", children: row.value })
4349
4507
  ]
4350
4508
  },
4351
4509
  row.label
@@ -4380,14 +4538,15 @@ var MarketDetails = (props) => {
4380
4538
  (_a2 = props.onOpenChange) == null ? void 0 : _a2.call(props, nextIsOpened);
4381
4539
  };
4382
4540
  const hasEventProp = "event" in props && !!props.event;
4383
- const { event: fetchedEvent, isLoading: isFetchingEvent } = (0, import_hooks14.useEvent)(
4384
- hasEventProp ? void 0 : props.eventId,
4385
- {
4386
- enabled: !props.isLoading && !hasEventProp && !!props.eventId
4387
- }
4388
- );
4541
+ const {
4542
+ event: fetchedEvent,
4543
+ error: eventError,
4544
+ isLoading: isFetchingEvent
4545
+ } = (0, import_hooks14.useEvent)(hasEventProp ? void 0 : props.eventId, {
4546
+ enabled: !props.isLoading && !hasEventProp && !!props.eventId
4547
+ });
4389
4548
  if (props.isLoading) {
4390
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4549
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4391
4550
  MarketDetailsLoadingState,
4392
4551
  {
4393
4552
  isOpened: resolvedIsOpened,
@@ -4397,7 +4556,7 @@ var MarketDetails = (props) => {
4397
4556
  );
4398
4557
  }
4399
4558
  if ("event" in props && props.event) {
4400
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4559
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4401
4560
  MarketDetailsContent,
4402
4561
  __spreadProps(__spreadValues({}, props), {
4403
4562
  isOpened: resolvedIsOpened,
@@ -4407,7 +4566,7 @@ var MarketDetails = (props) => {
4407
4566
  );
4408
4567
  }
4409
4568
  if (isFetchingEvent) {
4410
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4569
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4411
4570
  MarketDetailsLoadingState,
4412
4571
  {
4413
4572
  isOpened: resolvedIsOpened,
@@ -4417,9 +4576,12 @@ var MarketDetails = (props) => {
4417
4576
  );
4418
4577
  }
4419
4578
  if (!fetchedEvent) {
4420
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MarketDetailsUnavailableState, { ariaLabel: props.ariaLabel, classNames: props.classNames });
4579
+ if (isErrorWithStatus(eventError, 404)) {
4580
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MarketDetailsNotFoundState, { ariaLabel: props.ariaLabel, classNames: props.classNames });
4581
+ }
4582
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MarketDetailsUnavailableState, { ariaLabel: props.ariaLabel, classNames: props.classNames });
4421
4583
  }
4422
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4584
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4423
4585
  MarketDetailsContent,
4424
4586
  __spreadProps(__spreadValues({}, props), {
4425
4587
  isOpened: resolvedIsOpened,