@agg-build/ui 4.17.3 → 4.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/{chunk-7E4UXCEX.mjs → chunk-2OBJ7DYT.mjs} +1227 -534
  2. package/dist/{chunk-RZLM3M5R.mjs → chunk-2UPO6G3S.mjs} +1251 -2578
  3. package/dist/chunk-HFL3CEWG.mjs +3482 -0
  4. package/dist/{chunk-TK62UB5F.mjs → chunk-JJ3VVCEP.mjs} +6 -13
  5. package/dist/{chunk-B5ALKYD5.mjs → chunk-NRPS2D3Q.mjs} +176 -17
  6. package/dist/chunk-VUZ72Q7H.mjs +2052 -0
  7. package/dist/{chunk-BBDFSTIA.mjs → chunk-WIGSRHUG.mjs} +1532 -741
  8. package/dist/{chunk-DSQSQ4RG.mjs → chunk-YXMDEUHP.mjs} +726 -3825
  9. package/dist/{chunk-JI5KV4QI.mjs → chunk-ZNOAKSPT.mjs} +8 -10
  10. package/dist/event-market-GX24AP2H.mjs +21 -0
  11. package/dist/events.js +2972 -1523
  12. package/dist/events.mjs +6 -4
  13. package/dist/index.js +36152 -30747
  14. package/dist/index.mjs +34 -22
  15. package/dist/modals.js +1763 -1456
  16. package/dist/modals.mjs +5 -3
  17. package/dist/pages.js +34139 -28304
  18. package/dist/pages.mjs +17 -8
  19. package/dist/primitives.js +1552 -786
  20. package/dist/primitives.mjs +1 -1
  21. package/dist/styles.css +1 -1
  22. package/dist/tailwind.css +1 -1
  23. package/dist/trading.js +2559 -1499
  24. package/dist/trading.mjs +4 -4
  25. package/dist/types/events/item-details/event-chart-window.d.mts +9 -0
  26. package/dist/types/events/item-details/event-chart-window.d.ts +9 -0
  27. package/dist/types/events/item-details/event-list-item-details.types.d.mts +7 -0
  28. package/dist/types/events/item-details/event-list-item-details.types.d.ts +7 -0
  29. package/dist/types/events/item-details/event-markets-chart.d.mts +12 -0
  30. package/dist/types/events/item-details/event-markets-chart.d.ts +12 -0
  31. package/dist/types/events/item-details/event-markets-chart.utils.d.mts +23 -0
  32. package/dist/types/events/item-details/event-markets-chart.utils.d.ts +23 -0
  33. package/dist/types/events/list/event-list.constants.d.mts +2 -0
  34. package/dist/types/events/list/event-list.constants.d.ts +2 -0
  35. package/dist/types/events/market-details/use-visible-market-streams.d.mts +7 -0
  36. package/dist/types/events/market-details/use-visible-market-streams.d.ts +7 -0
  37. package/dist/types/events/shared/chart-source-caption.d.mts +4 -0
  38. package/dist/types/events/shared/chart-source-caption.d.ts +4 -0
  39. package/dist/types/events/shared/chart-venue-selection.d.mts +11 -0
  40. package/dist/types/events/shared/chart-venue-selection.d.ts +11 -0
  41. package/dist/types/events/shared/use-chart-orderbook.d.mts +23 -0
  42. package/dist/types/events/shared/use-chart-orderbook.d.ts +23 -0
  43. package/dist/types/onboarding/index.d.mts +1 -0
  44. package/dist/types/onboarding/index.d.ts +1 -0
  45. package/dist/types/onboarding/steps/connect-prophetx-modal.d.mts +12 -0
  46. package/dist/types/onboarding/steps/connect-prophetx-modal.d.ts +12 -0
  47. package/dist/types/pages/event-market/event-market.types.d.mts +5 -0
  48. package/dist/types/pages/event-market/event-market.types.d.ts +5 -0
  49. package/dist/types/pages/event-market/event-open-orders.d.mts +50 -0
  50. package/dist/types/pages/event-market/event-open-orders.d.ts +50 -0
  51. package/dist/types/pages/event-market/index.d.mts +3 -0
  52. package/dist/types/pages/event-market/index.d.ts +3 -0
  53. package/dist/types/pages/event-market/sports-event-market-page.d.mts +1 -1
  54. package/dist/types/pages/event-market/sports-event-market-page.d.ts +1 -1
  55. package/dist/types/pages/event-market/use-event-open-orders.d.mts +27 -0
  56. package/dist/types/pages/event-market/use-event-open-orders.d.ts +27 -0
  57. package/dist/types/pages/user-profile/components/available-balance-card.d.mts +2 -0
  58. package/dist/types/pages/user-profile/components/available-balance-card.d.ts +2 -0
  59. package/dist/types/pages/user-profile/components/betdex-account-activity.d.mts +4 -0
  60. package/dist/types/pages/user-profile/components/betdex-account-activity.d.ts +4 -0
  61. package/dist/types/pages/user-profile/components/betdex-account-card.d.mts +2 -0
  62. package/dist/types/pages/user-profile/components/betdex-account-card.d.ts +2 -0
  63. package/dist/types/pages/user-profile/components/betdex-account-transfers.d.mts +7 -0
  64. package/dist/types/pages/user-profile/components/betdex-account-transfers.d.ts +7 -0
  65. package/dist/types/pages/user-profile/components/open-order-row.d.mts +8 -1
  66. package/dist/types/pages/user-profile/components/open-order-row.d.ts +8 -1
  67. package/dist/types/pages/user-profile/user-profile.types.d.mts +5 -0
  68. package/dist/types/pages/user-profile/user-profile.types.d.ts +5 -0
  69. package/dist/types/primitives/chart/chart.constants.d.mts +7 -0
  70. package/dist/types/primitives/chart/chart.constants.d.ts +7 -0
  71. package/dist/types/primitives/chart/chart.types.d.mts +24 -2
  72. package/dist/types/primitives/chart/chart.types.d.ts +24 -2
  73. package/dist/types/primitives/chart/index.d.mts +2 -2
  74. package/dist/types/primitives/chart/index.d.ts +2 -2
  75. package/dist/types/primitives/chart/probability-chart.d.mts +22 -0
  76. package/dist/types/primitives/chart/probability-chart.d.ts +22 -0
  77. package/dist/types/primitives/chart/probability-chart.utils.d.mts +12 -0
  78. package/dist/types/primitives/chart/probability-chart.utils.d.ts +12 -0
  79. package/dist/types/primitives/chart/probability-live-tail.d.mts +16 -0
  80. package/dist/types/primitives/chart/probability-live-tail.d.ts +16 -0
  81. package/dist/types/primitives/remote-image/index.d.mts +1 -1
  82. package/dist/types/primitives/remote-image/index.d.ts +1 -1
  83. package/dist/types/primitives/remote-image/remote-image.types.d.mts +6 -0
  84. package/dist/types/primitives/remote-image/remote-image.types.d.ts +6 -0
  85. package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.mts +6 -0
  86. package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.ts +6 -0
  87. package/dist/types/primitives/venue-logo/svg/logo-betdex.d.mts +12 -0
  88. package/dist/types/primitives/venue-logo/svg/logo-betdex.d.ts +12 -0
  89. package/dist/types/primitives/venue-logo/svg/logo-tiprun.d.mts +7 -0
  90. package/dist/types/primitives/venue-logo/svg/logo-tiprun.d.ts +7 -0
  91. package/dist/types/shared/open-orders.d.mts +63 -0
  92. package/dist/types/shared/open-orders.d.ts +63 -0
  93. package/dist/types/shared/use-open-order-cancellation.d.mts +18 -0
  94. package/dist/types/shared/use-open-order-cancellation.d.ts +18 -0
  95. package/dist/types/trading/manage-betdex-account-modal.d.mts +5 -0
  96. package/dist/types/trading/manage-betdex-account-modal.d.ts +5 -0
  97. package/dist/types/trading/place-order/index.place-order.execution-steps.d.mts +2 -0
  98. package/dist/types/trading/place-order/index.place-order.execution-steps.d.ts +2 -0
  99. package/dist/types/trading/place-order/index.place-order.types.d.mts +5 -0
  100. package/dist/types/trading/place-order/index.place-order.types.d.ts +5 -0
  101. package/dist/types/trading/place-order/index.place-order.utils.d.mts +6 -1
  102. package/dist/types/trading/place-order/index.place-order.utils.d.ts +6 -1
  103. package/package.json +3 -3
@@ -4105,9 +4105,9 @@ var Card = (_a) => {
4105
4105
  Card.displayName = "Card";
4106
4106
 
4107
4107
  // src/primitives/chart/index.tsx
4108
- import { useLabels as useLabels2, useSdkUiConfig as useSdkUiConfig6 } from "@agg-build/hooks";
4108
+ import { useLabels as useLabels3, useSdkUiConfig as useSdkUiConfig7 } from "@agg-build/hooks";
4109
4109
  import { Liveline } from "liveline";
4110
- import { useEffect as useEffect3, useMemo as useMemo3, useRef as useRef2, useState as useState3 } from "react";
4110
+ import { useEffect as useEffect5, useMemo as useMemo4, useRef as useRef4, useState as useState4 } from "react";
4111
4111
 
4112
4112
  // src/primitives/switch-button/index.tsx
4113
4113
  import { useEffect as useEffect2, useMemo as useMemo2, useState as useState2 } from "react";
@@ -4275,6 +4275,156 @@ var LINE_CHART_DEFAULT_HEIGHT = 280;
4275
4275
  var LINE_CHART_DEFAULT_TYPE = "line";
4276
4276
  var LINE_CHART_DEFAULT_SHOW_SERIES_CONTROLS = true;
4277
4277
  var LINE_CHART_DEFAULT_WINDOW_THRESHOLD = 1.05;
4278
+ var LINE_CHART_PLOT_PADDING = { top: 12, right: 28, bottom: 28, left: 12 };
4279
+
4280
+ // src/primitives/chart/probability-chart.tsx
4281
+ import { useEffect as useEffect4, useId, useMemo as useMemo3, useRef as useRef3, useState as useState3 } from "react";
4282
+ import { useLabels as useLabels2, useSdkUiConfig as useSdkUiConfig6 } from "@agg-build/hooks";
4283
+
4284
+ // src/primitives/chart/probability-live-tail.tsx
4285
+ import { useEffect as useEffect3, useRef as useRef2 } from "react";
4286
+
4287
+ // src/primitives/chart/probability-chart.utils.ts
4288
+ var CHART_PADDING = { top: 16, right: 56, bottom: 32, left: 12 };
4289
+ var probabilityY = (value, height) => CHART_PADDING.top + (1 - value / 100) * (height - CHART_PADDING.top - CHART_PADDING.bottom);
4290
+ var probabilityX = (time, from, to, width) => CHART_PADDING.left + (time - from) / (to - from) * (width - CHART_PADDING.left - CHART_PADDING.right);
4291
+ var probabilityPath = (points, from, to, width, height) => {
4292
+ const valid = points.filter(
4293
+ (p) => Number.isFinite(p.time) && Number.isFinite(p.value) && p.value >= 0 && p.value <= 100
4294
+ );
4295
+ if (!valid.length) return "";
4296
+ let path = `M${probabilityX(valid[0].time, from, to, width)},${probabilityY(valid[0].value, height)}`;
4297
+ for (let i = 1; i < valid.length; i++) {
4298
+ const current = valid[i];
4299
+ const previous = valid[i - 1];
4300
+ const x = probabilityX(current.time, from, to, width);
4301
+ const previousX = probabilityX(previous.time, from, to, width);
4302
+ const oldY = probabilityY(previous.value, height);
4303
+ const y = probabilityY(current.value, height);
4304
+ const corner = Math.min(2, Math.max(0, (x - previousX) / 2));
4305
+ path += `L${x - corner},${oldY}C${x},${oldY} ${x},${y} ${x},${y}`;
4306
+ }
4307
+ return path;
4308
+ };
4309
+ var nearestChartPoint = (points, time) => {
4310
+ let left = 0, right = points.length - 1;
4311
+ while (left < right) {
4312
+ const middle = Math.ceil((left + right) / 2);
4313
+ if (points[middle].time <= time) left = middle;
4314
+ else right = middle - 1;
4315
+ }
4316
+ return points[left];
4317
+ };
4318
+
4319
+ // src/primitives/chart/probability-live-tail.tsx
4320
+ import { jsx as jsx101, jsxs as jsxs99 } from "react/jsx-runtime";
4321
+ var ProbabilityLiveTail = ({
4322
+ item,
4323
+ historyPath,
4324
+ previous,
4325
+ point,
4326
+ value,
4327
+ from,
4328
+ to,
4329
+ width,
4330
+ height,
4331
+ clipId,
4332
+ live,
4333
+ animate
4334
+ }) => {
4335
+ var _a;
4336
+ const path = useRef2(null);
4337
+ const endpoint = useRef2(null);
4338
+ const shown = useRef2({ time: point.time, value, target: value, origin: value, changedAt: 0 });
4339
+ useEffect3(() => {
4340
+ if (shown.current.target !== value) {
4341
+ shown.current = __spreadProps(__spreadValues({}, shown.current), {
4342
+ origin: shown.current.value,
4343
+ target: value,
4344
+ changedAt: performance.now()
4345
+ });
4346
+ }
4347
+ let frame = 0;
4348
+ let timer = 0;
4349
+ const stop = () => {
4350
+ cancelAnimationFrame(frame);
4351
+ window.clearTimeout(timer);
4352
+ };
4353
+ const draw = () => {
4354
+ var _a2, _b, _c, _d, _e;
4355
+ if (document.hidden) return;
4356
+ const now = Date.now() / 1e3;
4357
+ if (now < from) {
4358
+ (_a2 = endpoint.current) == null ? void 0 : _a2.setAttribute("visibility", "hidden");
4359
+ } else {
4360
+ const time = Math.min(
4361
+ to,
4362
+ Math.max(point.time, shown.current.time, live ? now : from, now >= to ? to : from)
4363
+ );
4364
+ const progress = live && animate ? Math.min(1, Math.max(0, (performance.now() - shown.current.changedAt) / 180)) : 1;
4365
+ const displayedValue = shown.current.origin + (value - shown.current.origin) * (1 - __pow(1 - progress, 3));
4366
+ shown.current.time = time;
4367
+ shown.current.value = displayedValue;
4368
+ const tail = [
4369
+ ...previous ? [previous] : [],
4370
+ __spreadProps(__spreadValues({}, point), { value: displayedValue }),
4371
+ ...time > point.time ? [{ time, value: displayedValue }] : []
4372
+ ];
4373
+ (_b = path.current) == null ? void 0 : _b.setAttribute(
4374
+ "d",
4375
+ historyPath + probabilityPath(tail, from, to, width, height)
4376
+ );
4377
+ (_c = endpoint.current) == null ? void 0 : _c.setAttribute(
4378
+ "transform",
4379
+ `translate(${probabilityX(time, from, to, width)},${probabilityY(displayedValue, height)})`
4380
+ );
4381
+ (_d = endpoint.current) == null ? void 0 : _d.setAttribute("data-time", String(time));
4382
+ (_e = endpoint.current) == null ? void 0 : _e.setAttribute("visibility", "visible");
4383
+ }
4384
+ if (live && now < to) {
4385
+ if (animate) frame = requestAnimationFrame(draw);
4386
+ else timer = window.setTimeout(draw, Math.min(1e3, (to - now) * 1e3));
4387
+ }
4388
+ };
4389
+ const onVisibility = () => {
4390
+ stop();
4391
+ if (!document.hidden) draw();
4392
+ };
4393
+ draw();
4394
+ document.addEventListener("visibilitychange", onVisibility);
4395
+ return () => {
4396
+ stop();
4397
+ document.removeEventListener("visibilitychange", onVisibility);
4398
+ };
4399
+ }, [animate, from, height, historyPath, live, point, previous, to, value, width]);
4400
+ return /* @__PURE__ */ jsxs99("g", { className: "agg-probability-series", "data-series-id": item.id, children: [
4401
+ /* @__PURE__ */ jsx101(
4402
+ "path",
4403
+ {
4404
+ ref: path,
4405
+ clipPath: `url(#${clipId})`,
4406
+ fill: "none",
4407
+ stroke: item.color,
4408
+ strokeWidth: (_a = item.lineWidth) != null ? _a : 1.8,
4409
+ strokeDasharray: item.lineStyle === "dashed" ? "6 4" : item.lineStyle === "dotted" ? "1 4" : void 0,
4410
+ strokeLinejoin: "round",
4411
+ strokeLinecap: "round"
4412
+ }
4413
+ ),
4414
+ /* @__PURE__ */ jsxs99("g", { ref: endpoint, className: "agg-chart-live-endpoint", visibility: "hidden", children: [
4415
+ /* @__PURE__ */ jsx101(
4416
+ "circle",
4417
+ {
4418
+ r: 8,
4419
+ fill: item.color,
4420
+ opacity: 0.2,
4421
+ className: live && animate ? "agg-chart-endpoint-pulse" : void 0
4422
+ }
4423
+ ),
4424
+ /* @__PURE__ */ jsx101("circle", { r: 3.5, fill: item.color })
4425
+ ] })
4426
+ ] });
4427
+ };
4278
4428
 
4279
4429
  // src/primitives/chart/chart.utils.ts
4280
4430
  import dayjs from "dayjs";
@@ -4423,8 +4573,369 @@ var resolveSelectedSeries = (series, activeSeriesId) => {
4423
4573
  return series.find((seriesItem) => seriesItem.id === activeSeriesId);
4424
4574
  };
4425
4575
 
4576
+ // src/primitives/chart/probability-chart.tsx
4577
+ import { jsx as jsx102, jsxs as jsxs100 } from "react/jsx-runtime";
4578
+ var LiquidityStream = ({
4579
+ orderbook,
4580
+ height,
4581
+ price
4582
+ }) => {
4583
+ const labels = useLabels2();
4584
+ const {
4585
+ formatting: { formatCompactCurrency }
4586
+ } = useSdkUiConfig6();
4587
+ const latestBook = useRef3(orderbook);
4588
+ const latestPrice = useRef3(price);
4589
+ const previousPrice = useRef3(price);
4590
+ const previousTotals = useRef3(null);
4591
+ const sequence = useRef3(0);
4592
+ const [levels, setLevels] = useState3([]);
4593
+ useEffect4(() => {
4594
+ latestBook.current = orderbook;
4595
+ latestPrice.current = price;
4596
+ }, [orderbook, price]);
4597
+ useEffect4(() => {
4598
+ const spawn = () => {
4599
+ const book = latestBook.current;
4600
+ const candidates = [
4601
+ ...book.bids.map(([, amount]) => ({ amount, side: "bid" })),
4602
+ ...book.asks.map(([, amount]) => ({ amount, side: "ask" }))
4603
+ ].filter((level) => Number.isFinite(level.amount) && level.amount > 0);
4604
+ const now = Date.now();
4605
+ if (!candidates.length) {
4606
+ setLevels([]);
4607
+ return;
4608
+ }
4609
+ const totals = [0, 0];
4610
+ for (const level of candidates) totals[level.side === "bid" ? 0 : 1] += level.amount;
4611
+ const previous = previousTotals.current;
4612
+ const churn = previous ? Math.min(
4613
+ 1,
4614
+ (Math.abs(totals[0] - previous[0]) + Math.abs(totals[1] - previous[1])) / Math.max(1, previous[0] + previous[1])
4615
+ ) : 0;
4616
+ previousTotals.current = totals;
4617
+ const candidate = candidates[sequence.current % candidates.length];
4618
+ const max = Math.max(...candidates.map((level) => level.amount));
4619
+ const currentPrice = latestPrice.current;
4620
+ const momentum = currentPrice != null && previousPrice.current != null ? Math.min(
4621
+ 1,
4622
+ Math.abs(currentPrice - previousPrice.current) / Math.max(1, previousPrice.current) * 10
4623
+ ) : 0;
4624
+ previousPrice.current = currentPrice;
4625
+ const next = __spreadProps(__spreadValues({}, candidate), {
4626
+ id: sequence.current++,
4627
+ born: now,
4628
+ duration: 6e3 - Math.max(churn, momentum) * 2500,
4629
+ intensity: 0.55 + candidate.amount / max * 0.35
4630
+ });
4631
+ setLevels(
4632
+ (current) => [...current.filter((level) => now - level.born < level.duration), next].slice(-8)
4633
+ );
4634
+ };
4635
+ spawn();
4636
+ const timer = window.setInterval(spawn, 850);
4637
+ return () => window.clearInterval(timer);
4638
+ }, []);
4639
+ return /* @__PURE__ */ jsx102(
4640
+ "div",
4641
+ {
4642
+ "aria-hidden": "true",
4643
+ className: "agg-chart-liquidity-stream pointer-events-none absolute z-0 overflow-hidden",
4644
+ style: {
4645
+ left: CHART_PADDING.left + 4,
4646
+ top: CHART_PADDING.top,
4647
+ bottom: CHART_PADDING.bottom,
4648
+ width: 116
4649
+ },
4650
+ children: levels.map((level) => /* @__PURE__ */ jsx102(
4651
+ "span",
4652
+ {
4653
+ className: `agg-chart-liquidity-label absolute bottom-0 left-0 whitespace-nowrap text-agg-xs font-agg-medium tabular-nums ${level.side === "bid" ? "text-agg-success" : "text-agg-error"}`,
4654
+ style: {
4655
+ animationDuration: `${level.duration}ms`,
4656
+ "--agg-depth-travel": `${height - CHART_PADDING.top - CHART_PADDING.bottom}px`,
4657
+ "--agg-depth-opacity": level.intensity
4658
+ },
4659
+ children: level.side === "bid" ? labels.common.chartBidLiquidity(formatCompactCurrency(level.amount)) : labels.common.chartAskLiquidity(formatCompactCurrency(level.amount))
4660
+ },
4661
+ level.id
4662
+ ))
4663
+ }
4664
+ );
4665
+ };
4666
+ var ProbabilityChart = ({
4667
+ series,
4668
+ height,
4669
+ domain,
4670
+ orderbook,
4671
+ live,
4672
+ loading,
4673
+ liveValue,
4674
+ followTime = false,
4675
+ animate = true,
4676
+ formatTime: customFormatTime
4677
+ }) => {
4678
+ var _a, _b, _c, _d, _e;
4679
+ const labels = useLabels2();
4680
+ const root = useRef3(null);
4681
+ const clipId = useId().replace(/:/g, "");
4682
+ const [width, setWidth] = useState3(700);
4683
+ const [hoverTime, setHoverTime] = useState3(null);
4684
+ useEffect4(() => {
4685
+ const element = root.current;
4686
+ if (!element) return;
4687
+ const measure = () => {
4688
+ const next = element.getBoundingClientRect().width;
4689
+ if (next > 0) setWidth(next);
4690
+ };
4691
+ measure();
4692
+ const observer = new ResizeObserver(measure);
4693
+ observer.observe(element);
4694
+ return () => observer.disconnect();
4695
+ }, []);
4696
+ const bounds = useMemo3(() => {
4697
+ if (domain && Number.isFinite(domain.from) && domain.to > domain.from) return domain;
4698
+ const times = series.flatMap((item) => item.points.map((point) => point.time));
4699
+ const from = times.length ? Math.min(...times) : 0;
4700
+ const to = times.length ? Math.max(...times) : 1;
4701
+ return { from, to: Math.max(from + 1, to) };
4702
+ }, [domain, series]);
4703
+ const clockDriven = Boolean(
4704
+ followTime && domain && Number.isFinite(domain.from) && domain.to > domain.from
4705
+ );
4706
+ const targetValue = !clockDriven && series.length === 1 && liveValue != null && Number.isFinite(liveValue) && liveValue >= 0 && liveValue <= 100 ? liveValue : void 0;
4707
+ const [displayValue, setDisplayValue] = useState3(targetValue);
4708
+ const displayed = useRef3(targetValue);
4709
+ const seriesIdentity = `${(_a = series[0]) == null ? void 0 : _a.id}:${(_c = (_b = series[0]) == null ? void 0 : _b.points[0]) == null ? void 0 : _c.time}:${(_e = (_d = series[0]) == null ? void 0 : _d.points[0]) == null ? void 0 : _e.value}`;
4710
+ const priorIdentity = useRef3(seriesIdentity);
4711
+ useEffect4(() => {
4712
+ if (!live || !animate || targetValue == null || displayed.current == null || priorIdentity.current !== seriesIdentity) {
4713
+ priorIdentity.current = seriesIdentity;
4714
+ displayed.current = targetValue;
4715
+ setDisplayValue(targetValue);
4716
+ return;
4717
+ }
4718
+ const startValue = displayed.current;
4719
+ const started = performance.now();
4720
+ let frame = 0;
4721
+ const animateValue = (time) => {
4722
+ const progress = Math.min(1, Math.max(0, (time - started) / 180));
4723
+ const value = startValue + (targetValue - startValue) * (1 - __pow(1 - progress, 3));
4724
+ displayed.current = value;
4725
+ setDisplayValue(value);
4726
+ if (progress < 1) frame = requestAnimationFrame(animateValue);
4727
+ };
4728
+ frame = requestAnimationFrame(animateValue);
4729
+ return () => cancelAnimationFrame(frame);
4730
+ }, [live, animate, targetValue, seriesIdentity]);
4731
+ const defaultFormatTime = useMemo3(
4732
+ () => resolveChartTimeFormatter(bounds.to - bounds.from),
4733
+ [bounds]
4734
+ );
4735
+ const formatTime = customFormatTime != null ? customFormatTime : defaultFormatTime;
4736
+ const plotRight = width - CHART_PADDING.right;
4737
+ const plotBottom = height - CHART_PADDING.bottom;
4738
+ const plottedSeries = useMemo3(
4739
+ () => series.map((item) => {
4740
+ const points = item.points.filter(
4741
+ (point) => point.time >= bounds.from && point.time <= bounds.to
4742
+ );
4743
+ return __spreadProps(__spreadValues({}, item), {
4744
+ points,
4745
+ path: probabilityPath(
4746
+ (clockDriven ? points.slice(0, -1) : points).map(
4747
+ (point, index) => index === points.length - 1 && displayValue != null ? __spreadProps(__spreadValues({}, point), { value: displayValue }) : point
4748
+ ),
4749
+ bounds.from,
4750
+ bounds.to,
4751
+ width,
4752
+ height
4753
+ )
4754
+ });
4755
+ }),
4756
+ [series, bounds, displayValue, width, height, clockDriven]
4757
+ );
4758
+ const hoverEntries = hoverTime == null ? [] : plottedSeries.flatMap((item) => {
4759
+ const point = nearestChartPoint(item.points, hoverTime);
4760
+ return point ? [__spreadProps(__spreadValues({}, item), { point })] : [];
4761
+ });
4762
+ const hasData = plottedSeries.some((item) => item.points.length > 0);
4763
+ return /* @__PURE__ */ jsxs100(
4764
+ "div",
4765
+ {
4766
+ ref: root,
4767
+ className: "agg-probability-chart relative h-full w-full",
4768
+ onPointerLeave: () => setHoverTime(null),
4769
+ children: [
4770
+ orderbook && live && animate && !loading && hasData ? /* @__PURE__ */ jsx102(LiquidityStream, { orderbook, height, price: targetValue }) : null,
4771
+ /* @__PURE__ */ jsxs100(
4772
+ "svg",
4773
+ {
4774
+ className: "relative z-10 h-full w-full overflow-visible",
4775
+ viewBox: `0 0 ${width} ${height}`,
4776
+ onPointerMove: (event) => {
4777
+ const rect = event.currentTarget.getBoundingClientRect();
4778
+ const x = Math.min(plotRight, Math.max(CHART_PADDING.left, event.clientX - rect.left));
4779
+ setHoverTime(
4780
+ bounds.from + (x - CHART_PADDING.left) / (plotRight - CHART_PADDING.left) * (bounds.to - bounds.from)
4781
+ );
4782
+ },
4783
+ children: [
4784
+ /* @__PURE__ */ jsx102("defs", { children: /* @__PURE__ */ jsx102("clipPath", { id: clipId, children: /* @__PURE__ */ jsx102(
4785
+ "rect",
4786
+ {
4787
+ x: CHART_PADDING.left,
4788
+ y: CHART_PADDING.top - 5,
4789
+ width: Math.max(1, plotRight - CHART_PADDING.left),
4790
+ height: plotBottom - CHART_PADDING.top + 10
4791
+ }
4792
+ ) }) }),
4793
+ [0, 25, 50, 75, 100].map((value) => /* @__PURE__ */ jsxs100("g", { children: [
4794
+ /* @__PURE__ */ jsx102(
4795
+ "line",
4796
+ {
4797
+ x1: CHART_PADDING.left,
4798
+ x2: plotRight,
4799
+ y1: probabilityY(value, height),
4800
+ y2: probabilityY(value, height),
4801
+ stroke: "var(--agg-color-border)",
4802
+ strokeOpacity: 0.5,
4803
+ strokeDasharray: "1 4"
4804
+ }
4805
+ ),
4806
+ /* @__PURE__ */ jsxs100(
4807
+ "text",
4808
+ {
4809
+ x: plotRight + 10,
4810
+ y: probabilityY(value, height) + 3,
4811
+ fontSize: 10,
4812
+ fill: "var(--agg-color-muted-foreground)",
4813
+ children: [
4814
+ value,
4815
+ "%"
4816
+ ]
4817
+ }
4818
+ )
4819
+ ] }, value)),
4820
+ [0, 1, 2, 3, 4].map((index) => {
4821
+ const time = bounds.from + (bounds.to - bounds.from) * index / 4;
4822
+ return /* @__PURE__ */ jsx102(
4823
+ "text",
4824
+ {
4825
+ x: probabilityX(time, bounds.from, bounds.to, width),
4826
+ y: height - 8,
4827
+ textAnchor: index === 0 ? "start" : index === 4 ? "end" : "middle",
4828
+ fontSize: 10,
4829
+ fill: "var(--agg-color-muted-foreground)",
4830
+ children: formatTime(time)
4831
+ },
4832
+ index
4833
+ );
4834
+ }),
4835
+ !loading && plottedSeries.map((item) => {
4836
+ var _a2;
4837
+ const last = item.points.at(-1);
4838
+ if (clockDriven && last)
4839
+ return /* @__PURE__ */ jsx102(
4840
+ ProbabilityLiveTail,
4841
+ {
4842
+ item,
4843
+ historyPath: item.path,
4844
+ previous: item.points.at(-2),
4845
+ point: last,
4846
+ value: series.length === 1 && liveValue != null && Number.isFinite(liveValue) && liveValue >= 0 && liveValue <= 100 ? liveValue : last.value,
4847
+ from: bounds.from,
4848
+ to: bounds.to,
4849
+ width,
4850
+ height,
4851
+ clipId,
4852
+ live,
4853
+ animate
4854
+ },
4855
+ `${item.id}:${bounds.from}:${bounds.to}`
4856
+ );
4857
+ return /* @__PURE__ */ jsxs100("g", { children: [
4858
+ /* @__PURE__ */ jsx102(
4859
+ "path",
4860
+ {
4861
+ clipPath: `url(#${clipId})`,
4862
+ d: item.path,
4863
+ fill: "none",
4864
+ stroke: item.color,
4865
+ strokeWidth: (_a2 = item.lineWidth) != null ? _a2 : 1.8,
4866
+ strokeDasharray: item.lineStyle === "dashed" ? "6 4" : item.lineStyle === "dotted" ? "1 4" : void 0,
4867
+ strokeLinejoin: "round",
4868
+ strokeLinecap: "round"
4869
+ }
4870
+ ),
4871
+ last ? /* @__PURE__ */ jsxs100(
4872
+ "g",
4873
+ {
4874
+ transform: `translate(${probabilityX(last.time, bounds.from, bounds.to, width)},${probabilityY(displayValue != null ? displayValue : last.value, height)})`,
4875
+ children: [
4876
+ /* @__PURE__ */ jsx102(
4877
+ "circle",
4878
+ {
4879
+ r: 8,
4880
+ fill: item.color,
4881
+ opacity: 0.2,
4882
+ className: live && animate ? "agg-chart-endpoint-pulse" : void 0
4883
+ }
4884
+ ),
4885
+ /* @__PURE__ */ jsx102("circle", { r: 3.5, fill: item.color })
4886
+ ]
4887
+ }
4888
+ ) : null
4889
+ ] }, item.id);
4890
+ }),
4891
+ hoverTime != null && hasData && !loading ? /* @__PURE__ */ jsx102(
4892
+ "line",
4893
+ {
4894
+ x1: probabilityX(hoverTime, bounds.from, bounds.to, width),
4895
+ x2: probabilityX(hoverTime, bounds.from, bounds.to, width),
4896
+ y1: CHART_PADDING.top,
4897
+ y2: plotBottom,
4898
+ stroke: "var(--agg-color-muted-foreground)",
4899
+ strokeOpacity: 0.65,
4900
+ strokeDasharray: "3 4"
4901
+ }
4902
+ ) : null
4903
+ ]
4904
+ }
4905
+ ),
4906
+ loading || !hasData ? /* @__PURE__ */ jsx102(
4907
+ "div",
4908
+ {
4909
+ className: "absolute inset-0 z-20 flex items-center justify-center text-agg-sm text-agg-muted-foreground",
4910
+ role: "status",
4911
+ children: loading ? labels.common.loading : labels.common.chartEmpty
4912
+ }
4913
+ ) : null,
4914
+ hoverEntries.length > 0 && !loading ? /* @__PURE__ */ jsxs100(
4915
+ "div",
4916
+ {
4917
+ className: "pointer-events-none absolute top-3 right-16 z-20 rounded-agg-md border border-agg-border bg-agg-secondary px-3 py-2 text-agg-xs text-agg-foreground shadow-sm",
4918
+ role: "status",
4919
+ children: [
4920
+ /* @__PURE__ */ jsx102("div", { className: "mb-1 text-agg-muted-foreground", children: formatTime(hoverEntries[0].point.time) }),
4921
+ hoverEntries.map((item) => {
4922
+ var _a2;
4923
+ return /* @__PURE__ */ jsxs100("div", { style: { color: item.color }, children: [
4924
+ (_a2 = item.label) != null ? _a2 : item.id,
4925
+ ": ",
4926
+ formatDefaultChartValue(item.point.value)
4927
+ ] }, item.id);
4928
+ })
4929
+ ]
4930
+ }
4931
+ ) : null
4932
+ ]
4933
+ }
4934
+ );
4935
+ };
4936
+
4426
4937
  // src/primitives/chart/index.tsx
4427
- import { jsx as jsx101, jsxs as jsxs99 } from "react/jsx-runtime";
4938
+ import { jsx as jsx103, jsxs as jsxs101 } from "react/jsx-runtime";
4428
4939
  var renderDefaultSeriesControls = ({
4429
4940
  series,
4430
4941
  activeSeriesId,
@@ -4433,7 +4944,7 @@ var renderDefaultSeriesControls = ({
4433
4944
  seriesSwitchAriaLabel,
4434
4945
  formatSeriesOptionAriaLabel
4435
4946
  }) => {
4436
- return /* @__PURE__ */ jsx101(
4947
+ return /* @__PURE__ */ jsx103(
4437
4948
  SwitchButton,
4438
4949
  {
4439
4950
  ariaLabel: seriesSwitchAriaLabel,
@@ -4460,29 +4971,52 @@ var LineChart = ({
4460
4971
  liveCandle: liveForming,
4461
4972
  lineData,
4462
4973
  lineValue,
4463
- live
4974
+ orderbook,
4975
+ live,
4976
+ presentation = "streaming",
4977
+ timeDomain,
4978
+ followTime = false,
4979
+ formatTime
4464
4980
  }) => {
4465
4981
  var _a, _b;
4466
- const labels = useLabels2();
4982
+ const labels = useLabels3();
4467
4983
  const {
4468
4984
  general: { theme },
4469
- features: { enableGradients, enableLiveUpdates }
4470
- } = useSdkUiConfig6();
4985
+ features: { enableGradients, enableLiveUpdates, enableAnimations }
4986
+ } = useSdkUiConfig7();
4471
4987
  const isLive = enableLiveUpdates && (live != null ? live : true);
4472
- const normalizedSeries = useMemo3(() => extendSeriesToNow(normalizeSeries(series)), [series]);
4473
- const chartRootRef = useRef2(null);
4474
- const latestChartWidthRef = useRef2(null);
4475
- const resizeFrameRef = useRef2(null);
4476
- const [activeSeriesId, setActiveSeriesId] = useState3(
4988
+ const normalizedSeries = useMemo4(() => {
4989
+ const normalized = normalizeSeries(series);
4990
+ return followTime && presentation === "probability" ? normalized : extendSeriesToNow(normalized);
4991
+ }, [series, followTime, presentation]);
4992
+ const chartRootRef = useRef4(null);
4993
+ const latestChartWidthRef = useRef4(null);
4994
+ const resizeFrameRef = useRef4(null);
4995
+ const [activeSeriesId, setActiveSeriesId] = useState4(
4477
4996
  () => resolveActiveSeriesId(normalizedSeries, null)
4478
4997
  );
4479
- const [chartResizeVersion, setChartResizeVersion] = useState3(0);
4480
- useEffect3(() => {
4998
+ const [chartResizeVersion, setChartResizeVersion] = useState4(0);
4999
+ const [prefersReducedMotion, setPrefersReducedMotion] = useState4(true);
5000
+ const usesOrderbookRenderer = Boolean(
5001
+ orderbook && chartType === "line" && normalizedSeries.length === 1
5002
+ );
5003
+ const canStreamOrderbook = Boolean(
5004
+ usesOrderbookRenderer && isLive && enableAnimations && !isLoading
5005
+ );
5006
+ useEffect5(() => {
5007
+ if (typeof window.matchMedia !== "function") return;
5008
+ const query = window.matchMedia("(prefers-reduced-motion: reduce)");
5009
+ const updateMotionPreference = () => setPrefersReducedMotion(query.matches);
5010
+ updateMotionPreference();
5011
+ query.addEventListener("change", updateMotionPreference);
5012
+ return () => query.removeEventListener("change", updateMotionPreference);
5013
+ }, []);
5014
+ useEffect5(() => {
4481
5015
  setActiveSeriesId(
4482
5016
  (currentActiveSeriesId) => resolveActiveSeriesId(normalizedSeries, currentActiveSeriesId)
4483
5017
  );
4484
5018
  }, [normalizedSeries]);
4485
- useEffect3(() => {
5019
+ useEffect5(() => {
4486
5020
  if (typeof window === "undefined") return;
4487
5021
  const chartRootElement = chartRootRef.current;
4488
5022
  if (!chartRootElement) return;
@@ -4528,27 +5062,27 @@ var LineChart = ({
4528
5062
  const handleSeriesChange = (seriesId) => {
4529
5063
  setActiveSeriesId(seriesId);
4530
5064
  };
4531
- const primarySeries = useMemo3(
5065
+ const primarySeries = useMemo4(
4532
5066
  () => resolveSelectedSeries(normalizedSeries, activeSeriesId),
4533
5067
  [activeSeriesId, normalizedSeries]
4534
5068
  );
4535
- const primaryData = useMemo3(() => {
5069
+ const primaryData = useMemo4(() => {
4536
5070
  if (!primarySeries) return [];
4537
5071
  return toLivelinePoints(primarySeries.points);
4538
5072
  }, [primarySeries]);
4539
- const candleWidth = useMemo3(() => {
5073
+ const candleWidth = useMemo4(() => {
4540
5074
  if (!primarySeries) return void 0;
4541
5075
  return resolveCandleWidthSeconds(primarySeries.points, 300);
4542
5076
  }, [primarySeries]);
4543
- const primaryCandles = useMemo3(() => {
5077
+ const primaryCandles = useMemo4(() => {
4544
5078
  if (!primarySeries) return [];
4545
5079
  return padSparseCandles(toLivelineCandles(primarySeries.points), candleWidth);
4546
5080
  }, [primarySeries, candleWidth]);
4547
- const primaryValue = useMemo3(() => {
5081
+ const primaryValue = useMemo4(() => {
4548
5082
  if (!primarySeries) return 0;
4549
5083
  return resolveLatestValue(primarySeries.points);
4550
5084
  }, [primarySeries]);
4551
- const livelineSeries = useMemo3(() => {
5085
+ const livelineSeries = useMemo4(() => {
4552
5086
  return normalizedSeries.map((seriesItem) => ({
4553
5087
  id: seriesItem.id,
4554
5088
  color: seriesItem.color,
@@ -4556,10 +5090,11 @@ var LineChart = ({
4556
5090
  value: resolveLatestValue(seriesItem.points)
4557
5091
  }));
4558
5092
  }, [normalizedSeries]);
4559
- const windowSeconds = useMemo3(() => {
5093
+ const windowSeconds = useMemo4(() => {
4560
5094
  return resolveWindowSeconds(normalizedSeries);
4561
5095
  }, [normalizedSeries]);
4562
- const timeFormatter = useMemo3(() => resolveChartTimeFormatter(windowSeconds), [windowSeconds]);
5096
+ const hasRenderableData = chartType === "candlestick" ? primaryCandles.length >= 2 : livelineSeries.some((item) => item.data.length >= 2);
5097
+ const timeFormatter = useMemo4(() => resolveChartTimeFormatter(windowSeconds), [windowSeconds]);
4563
5098
  const seriesControls = showSeriesControls ? (_a = renderSeriesControls == null ? void 0 : renderSeriesControls({
4564
5099
  series: normalizedSeries,
4565
5100
  activeSeriesId,
@@ -4572,7 +5107,7 @@ var LineChart = ({
4572
5107
  seriesSwitchAriaLabel: labels.common.lineChartSeriesSwitchAria,
4573
5108
  formatSeriesOptionAriaLabel: labels.common.lineChartSeriesOptionAria
4574
5109
  }) : null : null;
4575
- return /* @__PURE__ */ jsxs99(
5110
+ return /* @__PURE__ */ jsxs101(
4576
5111
  "div",
4577
5112
  {
4578
5113
  ref: chartRootRef,
@@ -4583,7 +5118,7 @@ var LineChart = ({
4583
5118
  ),
4584
5119
  style: { width, minHeight: height },
4585
5120
  children: [
4586
- !isLoading && seriesControls ? /* @__PURE__ */ jsx101(
5121
+ !isLoading && seriesControls ? /* @__PURE__ */ jsx103(
4587
5122
  "div",
4588
5123
  {
4589
5124
  className: cn(
@@ -4595,25 +5130,39 @@ var LineChart = ({
4595
5130
  children: seriesControls
4596
5131
  }
4597
5132
  ) : null,
4598
- /* @__PURE__ */ jsx101(
5133
+ /* @__PURE__ */ jsx103(
4599
5134
  "div",
4600
5135
  {
4601
5136
  className: cn(
4602
5137
  "agg-chart-content",
4603
5138
  "min-w-0 overflow-hidden",
4604
- "[&>*:not(.agg-livechart):first-of-type]:hidden!",
5139
+ presentation !== "probability" && "[&>*:not(.agg-livechart):first-of-type]:hidden!",
4605
5140
  classNames == null ? void 0 : classNames.chartViewport
4606
5141
  ),
4607
5142
  role: "img",
4608
5143
  "aria-label": chartType === "candlestick" ? labels.common.candlestickChartAria : labels.common.lineChartAria,
4609
5144
  style: { height },
4610
- children: /* @__PURE__ */ jsx101(
5145
+ children: presentation === "probability" && chartType === "line" ? /* @__PURE__ */ jsx103(
5146
+ ProbabilityChart,
5147
+ {
5148
+ liveValue: lineValue,
5149
+ series: normalizedSeries,
5150
+ height,
5151
+ domain: timeDomain,
5152
+ followTime,
5153
+ animate: enableAnimations && !prefersReducedMotion,
5154
+ formatTime,
5155
+ orderbook: canStreamOrderbook && !prefersReducedMotion ? orderbook : void 0,
5156
+ live: isLive,
5157
+ loading: isLoading
5158
+ }
5159
+ ) : /* @__PURE__ */ jsx103(
4611
5160
  Liveline,
4612
5161
  {
4613
5162
  className: cn("agg-livechart agg-chart-canvas h-full w-full", classNames == null ? void 0 : classNames.liveline),
4614
5163
  data: primaryData,
4615
5164
  value: primaryValue,
4616
- series: livelineSeries,
5165
+ series: usesOrderbookRenderer ? void 0 : livelineSeries,
4617
5166
  momentum: isLive,
4618
5167
  pulse: isLive,
4619
5168
  window: windowSeconds,
@@ -4622,25 +5171,24 @@ var LineChart = ({
4622
5171
  liveCandle: chartType === "candlestick" ? liveForming : void 0,
4623
5172
  lineData,
4624
5173
  lineValue,
5174
+ orderbook: canStreamOrderbook && !prefersReducedMotion ? orderbook : void 0,
4625
5175
  formatValue: formatDefaultChartValue,
4626
- formatTime: timeFormatter,
5176
+ formatTime: formatTime != null ? formatTime : timeFormatter,
4627
5177
  loading: isLoading,
4628
- showValue: true,
5178
+ showValue: !usesOrderbookRenderer,
5179
+ badge: usesOrderbookRenderer ? false : void 0,
4629
5180
  color: (_b = primarySeries == null ? void 0 : primarySeries.color) != null ? _b : "var(--agg-color-primary)",
4630
5181
  theme,
4631
5182
  fill: enableGradients,
4632
5183
  grid: true,
4633
- lineWidth: 1,
5184
+ lineWidth: usesOrderbookRenderer ? 2 : 1,
4634
5185
  candleWidth: chartType === "candlestick" ? candleWidth : void 0,
4635
5186
  exaggerate: true,
4636
- padding: {
4637
- top: 12,
4638
- right: 28,
4639
- bottom: 28,
4640
- left: 12
4641
- }
5187
+ padding: __spreadProps(__spreadValues({}, LINE_CHART_PLOT_PADDING), {
5188
+ right: usesOrderbookRenderer ? 64 : LINE_CHART_PLOT_PADDING.right
5189
+ })
4642
5190
  },
4643
- `liveline-${chartResizeVersion}`
5191
+ `liveline-${chartResizeVersion}-${hasRenderableData ? "ready" : "empty"}`
4644
5192
  )
4645
5193
  }
4646
5194
  )
@@ -4651,8 +5199,8 @@ var LineChart = ({
4651
5199
  LineChart.displayName = "LineChart";
4652
5200
 
4653
5201
  // src/primitives/copy-button/index.tsx
4654
- import { useCallback as useCallback2, useEffect as useEffect4, useRef as useRef3, useState as useState4 } from "react";
4655
- import { jsx as jsx102, jsxs as jsxs100 } from "react/jsx-runtime";
5202
+ import { useCallback as useCallback2, useEffect as useEffect6, useRef as useRef5, useState as useState5 } from "react";
5203
+ import { jsx as jsx104, jsxs as jsxs102 } from "react/jsx-runtime";
4656
5204
  var CopyButton = ({
4657
5205
  value,
4658
5206
  label: label2,
@@ -4664,9 +5212,9 @@ var CopyButton = ({
4664
5212
  onCopy,
4665
5213
  resetMs = 2e3
4666
5214
  }) => {
4667
- const [isCopied, setIsCopied] = useState4(false);
4668
- const timeoutRef = useRef3(null);
4669
- useEffect4(
5215
+ const [isCopied, setIsCopied] = useState5(false);
5216
+ const timeoutRef = useRef5(null);
5217
+ useEffect6(
4670
5218
  () => () => {
4671
5219
  if (timeoutRef.current !== null) clearTimeout(timeoutRef.current);
4672
5220
  },
@@ -4684,7 +5232,7 @@ var CopyButton = ({
4684
5232
  }, [onCopy, resetMs, value]);
4685
5233
  const showLabel = label2 !== void 0 || copiedLabel !== void 0;
4686
5234
  const visibleLabel = isCopied ? copiedLabel != null ? copiedLabel : label2 : label2;
4687
- return /* @__PURE__ */ jsxs100(
5235
+ return /* @__PURE__ */ jsxs102(
4688
5236
  "button",
4689
5237
  {
4690
5238
  type: "button",
@@ -4697,8 +5245,8 @@ var CopyButton = ({
4697
5245
  className
4698
5246
  ),
4699
5247
  children: [
4700
- isCopied ? /* @__PURE__ */ jsx102(CheckCircleIcon, { className: iconClassName }) : /* @__PURE__ */ jsx102(CopyIcon, { className: iconClassName }),
4701
- showLabel ? /* @__PURE__ */ jsx102("span", { className: "agg-type-label-strong", children: visibleLabel }) : null
5248
+ isCopied ? /* @__PURE__ */ jsx104(CheckCircleIcon, { className: iconClassName }) : /* @__PURE__ */ jsx104(CopyIcon, { className: iconClassName }),
5249
+ showLabel ? /* @__PURE__ */ jsx104("span", { className: "agg-type-label-strong", children: visibleLabel }) : null
4702
5250
  ]
4703
5251
  }
4704
5252
  );
@@ -4706,8 +5254,8 @@ var CopyButton = ({
4706
5254
  CopyButton.displayName = "CopyButton";
4707
5255
 
4708
5256
  // src/primitives/currency-input/index.tsx
4709
- import { useSdkUiConfig as useSdkUiConfig7 } from "@agg-build/hooks";
4710
- import { useEffect as useEffect5, useLayoutEffect, useMemo as useMemo4, useRef as useRef4, useState as useState5 } from "react";
5257
+ import { useSdkUiConfig as useSdkUiConfig8 } from "@agg-build/hooks";
5258
+ import { useEffect as useEffect7, useLayoutEffect, useMemo as useMemo5, useRef as useRef6, useState as useState6 } from "react";
4711
5259
 
4712
5260
  // src/primitives/currency-input/currency-input.constants.ts
4713
5261
  var CURRENCY_INPUT_DEFAULT_PREFIX = "$";
@@ -4798,7 +5346,7 @@ var sanitizeCurrencyInputPastedValue = (input, parts, decimalPlaces) => {
4798
5346
  };
4799
5347
 
4800
5348
  // src/primitives/currency-input/index.tsx
4801
- import { jsx as jsx103 } from "react/jsx-runtime";
5349
+ import { jsx as jsx105 } from "react/jsx-runtime";
4802
5350
  var CurrencyInput = ({
4803
5351
  value,
4804
5352
  onChange,
@@ -4816,13 +5364,13 @@ var CurrencyInput = ({
4816
5364
  }) => {
4817
5365
  const {
4818
5366
  general: { locale }
4819
- } = useSdkUiConfig7();
4820
- const parts = useMemo4(() => resolveCurrencyInputFormatParts(locale), [locale]);
4821
- const [raw, setRaw] = useState5(() => value >= 0 ? String(value) : "");
4822
- const isEditingRef = useRef4(false);
4823
- const inputRef = useRef4(null);
4824
- const caretPosRef = useRef4(null);
4825
- useEffect5(() => {
5367
+ } = useSdkUiConfig8();
5368
+ const parts = useMemo5(() => resolveCurrencyInputFormatParts(locale), [locale]);
5369
+ const [raw, setRaw] = useState6(() => value >= 0 ? String(value) : "");
5370
+ const isEditingRef = useRef6(false);
5371
+ const inputRef = useRef6(null);
5372
+ const caretPosRef = useRef6(null);
5373
+ useEffect7(() => {
4826
5374
  if (!isEditingRef.current) {
4827
5375
  setRaw(value >= 0 ? String(value) : "");
4828
5376
  }
@@ -4931,7 +5479,7 @@ var CurrencyInput = ({
4931
5479
  onChange == null ? void 0 : onChange(nextValue);
4932
5480
  onBlur == null ? void 0 : onBlur();
4933
5481
  };
4934
- return /* @__PURE__ */ jsx103(
5482
+ return /* @__PURE__ */ jsx105(
4935
5483
  "input",
4936
5484
  {
4937
5485
  ref: inputRef,
@@ -4964,8 +5512,8 @@ CurrencyInput.displayName = "CurrencyInput";
4964
5512
  import { Fragment as Fragment2 } from "react";
4965
5513
 
4966
5514
  // src/primitives/footer/agg-build-logo.tsx
4967
- import { jsx as jsx104, jsxs as jsxs101 } from "react/jsx-runtime";
4968
- var AggBuildIcon = (props) => /* @__PURE__ */ jsxs101(
5515
+ import { jsx as jsx106, jsxs as jsxs103 } from "react/jsx-runtime";
5516
+ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs103(
4969
5517
  "svg",
4970
5518
  __spreadProps(__spreadValues({
4971
5519
  xmlns: "http://www.w3.org/2000/svg",
@@ -4976,29 +5524,29 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs101(
4976
5524
  "aria-hidden": "true"
4977
5525
  }, props), {
4978
5526
  children: [
4979
- /* @__PURE__ */ jsx104(
5527
+ /* @__PURE__ */ jsx106(
4980
5528
  "path",
4981
5529
  {
4982
5530
  d: "M14.6158 5.73509L12.5568 13.8499C12.5088 14.0367 12.3434 14.17 12.1567 14.17L4.22474 14.1807C4.05404 14.1807 3.95803 14.3834 4.05938 14.5222L5.00353 15.8293C5.08355 15.936 5.20623 16 5.33425 16L9.41493 15.9947C11.9967 15.9893 14.2477 14.1914 14.9038 11.6038L15.9867 7.32498C16.0187 7.19692 15.992 7.06353 15.9173 6.9622L14.9732 5.66037C14.8718 5.5217 14.6585 5.56436 14.6158 5.73509Z",
4983
5531
  fill: "url(#agg-build-icon-g0)"
4984
5532
  }
4985
5533
  ),
4986
- /* @__PURE__ */ jsx104(
5534
+ /* @__PURE__ */ jsx106(
4987
5535
  "path",
4988
5536
  {
4989
5537
  d: "M1.38421 10.2649L3.44322 2.15006C3.49123 1.96334 3.65659 1.82995 3.84328 1.82995L11.7753 1.81928C11.946 1.81928 12.042 1.61656 11.9406 1.47784L10.9965 0.170723C10.9165 0.0640015 10.7938 0 10.6657 0L6.58507 0.00533456C4.00331 0.010668 1.75227 1.80862 1.09616 4.39618L0.0133177 8.67502C-0.0186876 8.80308 0.00798503 8.93647 0.082664 9.0378L1.02682 10.3396C1.12817 10.4783 1.34154 10.4356 1.38421 10.2649Z",
4990
5538
  fill: "url(#agg-build-icon-g1)"
4991
5539
  }
4992
5540
  ),
4993
- /* @__PURE__ */ jsx104(
5541
+ /* @__PURE__ */ jsx106(
4994
5542
  "path",
4995
5543
  {
4996
5544
  d: "M9.55357 10.5796L5.15284 10.585C4.98215 10.585 4.85946 10.4196 4.90213 10.2489L6.04365 5.73529C6.09166 5.54857 6.25702 5.41518 6.44372 5.41518L10.726 5.41033C10.9426 5.41008 11.102 5.61332 11.05 5.82363L9.95363 10.2595C9.90563 10.4462 9.74027 10.5796 9.55357 10.5796Z",
4997
5545
  fill: "url(#agg-build-icon-g2)"
4998
5546
  }
4999
5547
  ),
5000
- /* @__PURE__ */ jsxs101("defs", { children: [
5001
- /* @__PURE__ */ jsxs101(
5548
+ /* @__PURE__ */ jsxs103("defs", { children: [
5549
+ /* @__PURE__ */ jsxs103(
5002
5550
  "linearGradient",
5003
5551
  {
5004
5552
  id: "agg-build-icon-g0",
@@ -5008,12 +5556,12 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs101(
5008
5556
  y2: "16",
5009
5557
  gradientUnits: "userSpaceOnUse",
5010
5558
  children: [
5011
- /* @__PURE__ */ jsx104("stop", { stopColor: "#FE9943" }),
5012
- /* @__PURE__ */ jsx104("stop", { offset: "1", stopColor: "#FE763C" })
5559
+ /* @__PURE__ */ jsx106("stop", { stopColor: "#FE9943" }),
5560
+ /* @__PURE__ */ jsx106("stop", { offset: "1", stopColor: "#FE763C" })
5013
5561
  ]
5014
5562
  }
5015
5563
  ),
5016
- /* @__PURE__ */ jsxs101(
5564
+ /* @__PURE__ */ jsxs103(
5017
5565
  "linearGradient",
5018
5566
  {
5019
5567
  id: "agg-build-icon-g1",
@@ -5023,12 +5571,12 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs101(
5023
5571
  y2: "16",
5024
5572
  gradientUnits: "userSpaceOnUse",
5025
5573
  children: [
5026
- /* @__PURE__ */ jsx104("stop", { stopColor: "#FE763C" }),
5027
- /* @__PURE__ */ jsx104("stop", { offset: "1", stopColor: "#FE9943" })
5574
+ /* @__PURE__ */ jsx106("stop", { stopColor: "#FE763C" }),
5575
+ /* @__PURE__ */ jsx106("stop", { offset: "1", stopColor: "#FE9943" })
5028
5576
  ]
5029
5577
  }
5030
5578
  ),
5031
- /* @__PURE__ */ jsxs101(
5579
+ /* @__PURE__ */ jsxs103(
5032
5580
  "linearGradient",
5033
5581
  {
5034
5582
  id: "agg-build-icon-g2",
@@ -5038,8 +5586,8 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs101(
5038
5586
  y2: "16",
5039
5587
  gradientUnits: "userSpaceOnUse",
5040
5588
  children: [
5041
- /* @__PURE__ */ jsx104("stop", { stopColor: "#FEB549" }),
5042
- /* @__PURE__ */ jsx104("stop", { offset: "1", stopColor: "#FDA349" })
5589
+ /* @__PURE__ */ jsx106("stop", { stopColor: "#FEB549" }),
5590
+ /* @__PURE__ */ jsx106("stop", { offset: "1", stopColor: "#FDA349" })
5043
5591
  ]
5044
5592
  }
5045
5593
  )
@@ -5048,7 +5596,7 @@ var AggBuildIcon = (props) => /* @__PURE__ */ jsxs101(
5048
5596
  })
5049
5597
  );
5050
5598
  AggBuildIcon.displayName = "AggBuildIcon";
5051
- var AggBuildLogo = (props) => /* @__PURE__ */ jsxs101(
5599
+ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs103(
5052
5600
  "svg",
5053
5601
  __spreadProps(__spreadValues({
5054
5602
  xmlns: "http://www.w3.org/2000/svg",
@@ -5058,79 +5606,79 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs101(
5058
5606
  fill: "none"
5059
5607
  }, props), {
5060
5608
  children: [
5061
- /* @__PURE__ */ jsx104(
5609
+ /* @__PURE__ */ jsx106(
5062
5610
  "path",
5063
5611
  {
5064
5612
  d: "M12.7888 5.0182L10.9872 12.1187C10.9452 12.2821 10.8005 12.3988 10.6371 12.3988L3.69665 12.4081C3.54729 12.4081 3.46327 12.5855 3.55195 12.7069L4.37809 13.8506C4.4481 13.944 4.55545 14 4.66747 14L8.23806 13.9953C10.4971 13.9907 12.4668 12.4175 13.0409 10.1533L13.9883 6.40936C14.0164 6.29731 13.993 6.18059 13.9277 6.09192L13.1015 4.95282C13.0129 4.83148 12.8262 4.86882 12.7888 5.0182Z",
5065
5613
  fill: "url(#agg-build-logo-g0)"
5066
5614
  }
5067
5615
  ),
5068
- /* @__PURE__ */ jsx104(
5616
+ /* @__PURE__ */ jsx106(
5069
5617
  "path",
5070
5618
  {
5071
5619
  d: "M1.21119 8.9818L3.01282 1.8813C3.05482 1.71792 3.19951 1.60121 3.36287 1.60121L10.3034 1.59187C10.4527 1.59187 10.5367 1.41449 10.448 1.29311L9.62191 0.149383C9.5519 0.0560013 9.44454 0 9.33253 0L5.76194 0.00466774C3.5029 0.00933448 1.53324 1.58254 0.959144 3.84666L0.0116529 7.59064C-0.0163517 7.70269 0.0069869 7.81941 0.072331 7.90808L0.898466 9.04718C0.987147 9.16852 1.17385 9.13118 1.21119 8.9818Z",
5072
5620
  fill: "url(#agg-build-logo-g1)"
5073
5621
  }
5074
5622
  ),
5075
- /* @__PURE__ */ jsx104(
5623
+ /* @__PURE__ */ jsx106(
5076
5624
  "path",
5077
5625
  {
5078
5626
  d: "M8.35937 9.25718L4.50874 9.26185C4.35938 9.26185 4.25203 9.11713 4.28937 8.96775L5.2882 5.01838C5.3302 4.855 5.4749 4.73828 5.63826 4.73828L9.38521 4.73404C9.5748 4.73382 9.71422 4.91165 9.66874 5.09568L8.70943 8.97709C8.66742 9.14047 8.52273 9.25718 8.35937 9.25718Z",
5079
5627
  fill: "url(#agg-build-logo-g2)"
5080
5628
  }
5081
5629
  ),
5082
- /* @__PURE__ */ jsx104(
5630
+ /* @__PURE__ */ jsx106(
5083
5631
  "path",
5084
5632
  {
5085
5633
  d: "M24.5485 10.08L24.3175 7.87499L24.5905 7.10849L24.3175 6.35249L24.5485 4.13699H25.9555L25.6405 7.10849L25.9555 10.08H24.5485ZM24.9685 7.10849C24.8355 7.73149 24.615 8.27749 24.307 8.74649C23.999 9.21549 23.6175 9.57949 23.1625 9.83849C22.7145 10.0975 22.214 10.227 21.661 10.227C21.08 10.227 20.5655 10.0975 20.1175 9.83849C19.6695 9.57249 19.3195 9.20499 19.0675 8.73599C18.8155 8.26699 18.6895 7.72449 18.6895 7.10849C18.6895 6.48549 18.8155 5.94299 19.0675 5.48099C19.3195 5.01199 19.6695 4.64799 20.1175 4.38899C20.5655 4.12299 21.08 3.98999 21.661 3.98999C22.214 3.98999 22.7145 4.11949 23.1625 4.37849C23.6175 4.63749 23.999 5.00149 24.307 5.47049C24.622 5.93249 24.8425 6.47849 24.9685 7.10849ZM20.0755 7.10849C20.0755 7.50749 20.156 7.86099 20.317 8.16899C20.485 8.46999 20.7125 8.70799 20.9995 8.88299C21.2865 9.05099 21.6155 9.13499 21.9865 9.13499C22.3645 9.13499 22.7145 9.05099 23.0365 8.88299C23.3585 8.70799 23.642 8.46999 23.887 8.16899C24.139 7.86099 24.3385 7.50749 24.4855 7.10849C24.3385 6.70949 24.139 6.35949 23.887 6.05849C23.642 5.75049 23.3585 5.51249 23.0365 5.34449C22.7145 5.16949 22.3645 5.08199 21.9865 5.08199C21.6155 5.08199 21.2865 5.16949 20.9995 5.34449C20.7125 5.51249 20.485 5.75049 20.317 6.05849C20.156 6.35949 20.0755 6.70949 20.0755 7.10849Z",
5086
5634
  fill: "currentColor"
5087
5635
  }
5088
5636
  ),
5089
- /* @__PURE__ */ jsx104(
5637
+ /* @__PURE__ */ jsx106(
5090
5638
  "path",
5091
5639
  {
5092
5640
  d: "M32.6661 8.62049V7.57049L32.7186 7.38149V6.23699L32.6661 6.02699V4.13699H34.0311V8.49449C34.0311 9.25749 33.8701 9.89449 33.5481 10.4055C33.2261 10.9235 32.7851 11.312 32.2251 11.571C31.6651 11.83 31.0211 11.9595 30.2931 11.9595C29.7611 11.9595 29.2711 11.8895 28.8231 11.7495C28.3751 11.6095 27.9411 11.396 27.5211 11.109V9.97499C27.9481 10.311 28.3891 10.5455 28.8441 10.6785C29.2991 10.8185 29.7541 10.8885 30.2091 10.8885C31.0071 10.8885 31.6161 10.6925 32.0361 10.3005C32.4561 9.90849 32.6661 9.34849 32.6661 8.62049ZM29.8101 9.61799C29.2641 9.61799 28.7741 9.50249 28.3401 9.27149C27.9061 9.03349 27.5631 8.70449 27.3111 8.28449C27.0591 7.86449 26.9331 7.37099 26.9331 6.80399C26.9331 6.23699 27.0591 5.74349 27.3111 5.32349C27.5631 4.90349 27.9061 4.57799 28.3401 4.34699C28.7741 4.10899 29.2641 3.98999 29.8101 3.98999C30.2161 3.98999 30.5906 4.05299 30.9336 4.17899C31.2836 4.30499 31.5951 4.47299 31.8681 4.68299C32.1481 4.88599 32.3826 5.11349 32.5716 5.36549C32.7676 5.61049 32.9181 5.86249 33.0231 6.12149C33.1281 6.37349 33.1806 6.60449 33.1806 6.81449C33.1806 7.08749 33.1001 7.38849 32.9391 7.71749C32.7781 8.03949 32.5471 8.34399 32.2461 8.63099C31.9521 8.91799 31.5986 9.15599 31.1856 9.34499C30.7726 9.52699 30.3141 9.61799 29.8101 9.61799ZM30.2301 8.60999C30.7271 8.60999 31.1821 8.46649 31.5951 8.17949C32.0151 7.89249 32.3896 7.43399 32.7186 6.80399C32.3896 6.15999 32.0151 5.69799 31.5951 5.41799C31.1821 5.13099 30.7271 4.98749 30.2301 4.98749C29.8241 4.98749 29.4776 5.06449 29.1906 5.21849C28.9036 5.37249 28.6831 5.58599 28.5291 5.85899C28.3821 6.13199 28.3086 6.44699 28.3086 6.80399C28.3086 7.15399 28.3821 7.46549 28.5291 7.73849C28.6831 8.01149 28.9036 8.22499 29.1906 8.37899C29.4776 8.53299 29.8241 8.60999 30.2301 8.60999Z",
5093
5641
  fill: "currentColor"
5094
5642
  }
5095
5643
  ),
5096
- /* @__PURE__ */ jsx104(
5644
+ /* @__PURE__ */ jsx106(
5097
5645
  "path",
5098
5646
  {
5099
5647
  d: "M40.8487 8.62049V7.57049L40.9012 7.38149V6.23699L40.8487 6.02699V4.13699H42.2137V8.49449C42.2137 9.25749 42.0527 9.89449 41.7307 10.4055C41.4087 10.9235 40.9677 11.312 40.4077 11.571C39.8477 11.83 39.2037 11.9595 38.4757 11.9595C37.9437 11.9595 37.4537 11.8895 37.0057 11.7495C36.5577 11.6095 36.1237 11.396 35.7037 11.109V9.97499C36.1307 10.311 36.5717 10.5455 37.0267 10.6785C37.4817 10.8185 37.9367 10.8885 38.3917 10.8885C39.1897 10.8885 39.7987 10.6925 40.2187 10.3005C40.6387 9.90849 40.8487 9.34849 40.8487 8.62049ZM37.9927 9.61799C37.4467 9.61799 36.9567 9.50249 36.5227 9.27149C36.0887 9.03349 35.7457 8.70449 35.4937 8.28449C35.2417 7.86449 35.1157 7.37099 35.1157 6.80399C35.1157 6.23699 35.2417 5.74349 35.4937 5.32349C35.7457 4.90349 36.0887 4.57799 36.5227 4.34699C36.9567 4.10899 37.4467 3.98999 37.9927 3.98999C38.3987 3.98999 38.7732 4.05299 39.1162 4.17899C39.4662 4.30499 39.7777 4.47299 40.0507 4.68299C40.3307 4.88599 40.5652 5.11349 40.7542 5.36549C40.9502 5.61049 41.1007 5.86249 41.2057 6.12149C41.3107 6.37349 41.3632 6.60449 41.3632 6.81449C41.3632 7.08749 41.2827 7.38849 41.1217 7.71749C40.9607 8.03949 40.7297 8.34399 40.4287 8.63099C40.1347 8.91799 39.7812 9.15599 39.3682 9.34499C38.9552 9.52699 38.4967 9.61799 37.9927 9.61799ZM38.4127 8.60999C38.9097 8.60999 39.3647 8.46649 39.7777 8.17949C40.1977 7.89249 40.5722 7.43399 40.9012 6.80399C40.5722 6.15999 40.1977 5.69799 39.7777 5.41799C39.3647 5.13099 38.9097 4.98749 38.4127 4.98749C38.0067 4.98749 37.6602 5.06449 37.3732 5.21849C37.0862 5.37249 36.8657 5.58599 36.7117 5.85899C36.5647 6.13199 36.4912 6.44699 36.4912 6.80399C36.4912 7.15399 36.5647 7.46549 36.7117 7.73849C36.8657 8.01149 37.0862 8.22499 37.3732 8.37899C37.6602 8.53299 38.0067 8.60999 38.4127 8.60999Z",
5100
5648
  fill: "currentColor"
5101
5649
  }
5102
5650
  ),
5103
- /* @__PURE__ */ jsx104(
5651
+ /* @__PURE__ */ jsx106(
5104
5652
  "path",
5105
5653
  {
5106
5654
  d: "M49.1202 10.273C48.771 10.273 48.4495 10.2214 48.1559 10.1182C47.8701 10.0071 47.6201 9.86029 47.4058 9.67775C47.1915 9.48726 47.0209 9.27297 46.8939 9.03486L46.8225 10.1301H46.0605V1.55836H46.8939V5.21328C47.0923 4.87199 47.3781 4.5823 47.7511 4.34419C48.1241 4.10609 48.5805 3.98703 49.1202 3.98703C49.7075 3.98703 50.2194 4.12593 50.656 4.40372C51.0925 4.67357 51.4258 5.0466 51.656 5.52281C51.8941 5.99109 52.0132 6.52682 52.0132 7.13002C52.0132 7.73322 51.8941 8.27293 51.656 8.74914C51.4179 9.22535 51.0806 9.59838 50.6441 9.86823C50.2155 10.1381 49.7075 10.273 49.1202 10.273ZM49.0607 9.54679C49.4813 9.54679 49.8464 9.44758 50.156 9.24916C50.4655 9.05074 50.7115 8.76898 50.8941 8.40388C51.0766 8.03879 51.1679 7.61417 51.1679 7.13002C51.1679 6.63794 51.0766 6.21332 50.8941 5.85616C50.7115 5.49107 50.4615 5.20931 50.144 5.01089C49.8345 4.81247 49.4734 4.71326 49.0607 4.71326C48.648 4.71326 48.2789 4.81247 47.9535 5.01089C47.636 5.20931 47.386 5.49107 47.2035 5.85616C47.0288 6.22125 46.9415 6.64587 46.9415 7.13002C46.9415 7.62211 47.0288 8.05069 47.2035 8.41579C47.386 8.77295 47.636 9.05074 47.9535 9.24916C48.2789 9.44758 48.648 9.54679 49.0607 9.54679Z",
5107
5655
  fill: "currentColor"
5108
5656
  }
5109
5657
  ),
5110
- /* @__PURE__ */ jsx104(
5658
+ /* @__PURE__ */ jsx106(
5111
5659
  "path",
5112
5660
  {
5113
5661
  d: "M55.61 10.273C55.1576 10.273 54.7567 10.1857 54.4075 10.0111C54.0662 9.82855 53.8004 9.55472 53.6099 9.18963C53.4194 8.8166 53.3241 8.34039 53.3241 7.761V4.1299H54.1575V7.66576C54.1575 8.3007 54.2964 8.77295 54.5742 9.08248C54.8599 9.39202 55.2528 9.54679 55.7528 9.54679C56.11 9.54679 56.4274 9.46345 56.7052 9.29678C56.991 9.1301 57.2132 8.88406 57.3719 8.55865C57.5386 8.22531 57.6219 7.82053 57.6219 7.34432V4.1299H58.4553V10.1301H57.6934L57.6458 9.05867C57.4553 9.44758 57.1775 9.74918 56.8124 9.96347C56.4552 10.1698 56.0544 10.273 55.61 10.273Z",
5114
5662
  fill: "currentColor"
5115
5663
  }
5116
5664
  ),
5117
- /* @__PURE__ */ jsx104(
5665
+ /* @__PURE__ */ jsx106(
5118
5666
  "path",
5119
5667
  {
5120
5668
  d: "M60.2706 10.1301V4.1299H61.092V10.1301H60.2706ZM60.6873 2.71317C60.5206 2.71317 60.3777 2.65762 60.2587 2.5465C60.1396 2.42745 60.0801 2.28062 60.0801 2.106C60.0801 1.92346 60.1357 1.78059 60.2468 1.67742C60.3658 1.5663 60.5087 1.51074 60.6754 1.51074C60.842 1.51074 60.9849 1.5663 61.104 1.67742C61.223 1.78059 61.2825 1.92346 61.2825 2.106C61.2825 2.28062 61.223 2.42745 61.104 2.5465C60.9928 2.65762 60.8539 2.71317 60.6873 2.71317Z",
5121
5669
  fill: "currentColor"
5122
5670
  }
5123
5671
  ),
5124
- /* @__PURE__ */ jsx104("path", { d: "M62.9069 10.1301V1.55836H63.7403V10.1301H62.9069Z", fill: "currentColor" }),
5125
- /* @__PURE__ */ jsx104(
5672
+ /* @__PURE__ */ jsx106("path", { d: "M62.9069 10.1301V1.55836H63.7403V10.1301H62.9069Z", fill: "currentColor" }),
5673
+ /* @__PURE__ */ jsx106(
5126
5674
  "path",
5127
5675
  {
5128
5676
  d: "M68.049 10.273C67.4696 10.273 66.9616 10.1381 66.5251 9.86823C66.0965 9.59044 65.7632 9.21344 65.5251 8.73723C65.287 8.26102 65.1679 7.72132 65.1679 7.11812C65.1679 6.51492 65.287 5.97918 65.5251 5.51091C65.7632 5.0347 66.1005 4.66167 66.537 4.39181C66.9736 4.12196 67.4815 3.98703 68.0609 3.98703C68.5689 3.98703 69.0133 4.09815 69.3943 4.32038C69.7832 4.53468 70.0808 4.84024 70.2872 5.23709V1.55836H71.1205V10.1301H70.3586L70.2872 9.04677C70.1602 9.25313 69.9935 9.45155 69.7872 9.64203C69.5887 9.83251 69.3427 9.98728 69.049 10.1063C68.7633 10.2175 68.43 10.273 68.049 10.273ZM68.1204 9.54679C68.5411 9.54679 68.9062 9.44758 69.2157 9.24916C69.5332 9.05074 69.7792 8.76898 69.9538 8.40388C70.1364 8.03879 70.2277 7.61417 70.2277 7.13002C70.2277 6.64587 70.1364 6.22125 69.9538 5.85616C69.7792 5.49107 69.5332 5.20931 69.2157 5.01089C68.9062 4.81247 68.5411 4.71326 68.1204 4.71326C67.7077 4.71326 67.3426 4.81247 67.0251 5.01089C66.7077 5.20931 66.4577 5.49107 66.2751 5.85616C66.1005 6.21332 66.0132 6.63794 66.0132 7.13002C66.0132 7.62211 66.1045 8.05069 66.287 8.41579C66.4696 8.77295 66.7196 9.05074 67.037 9.24916C67.3545 9.44758 67.7156 9.54679 68.1204 9.54679Z",
5129
5677
  fill: "currentColor"
5130
5678
  }
5131
5679
  ),
5132
- /* @__PURE__ */ jsxs101("defs", { children: [
5133
- /* @__PURE__ */ jsxs101(
5680
+ /* @__PURE__ */ jsxs103("defs", { children: [
5681
+ /* @__PURE__ */ jsxs103(
5134
5682
  "linearGradient",
5135
5683
  {
5136
5684
  id: "agg-build-logo-g0",
@@ -5140,12 +5688,12 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs101(
5140
5688
  y2: "14",
5141
5689
  gradientUnits: "userSpaceOnUse",
5142
5690
  children: [
5143
- /* @__PURE__ */ jsx104("stop", { stopColor: "#FE9943" }),
5144
- /* @__PURE__ */ jsx104("stop", { offset: "1", stopColor: "#FE763C" })
5691
+ /* @__PURE__ */ jsx106("stop", { stopColor: "#FE9943" }),
5692
+ /* @__PURE__ */ jsx106("stop", { offset: "1", stopColor: "#FE763C" })
5145
5693
  ]
5146
5694
  }
5147
5695
  ),
5148
- /* @__PURE__ */ jsxs101(
5696
+ /* @__PURE__ */ jsxs103(
5149
5697
  "linearGradient",
5150
5698
  {
5151
5699
  id: "agg-build-logo-g1",
@@ -5155,12 +5703,12 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs101(
5155
5703
  y2: "14",
5156
5704
  gradientUnits: "userSpaceOnUse",
5157
5705
  children: [
5158
- /* @__PURE__ */ jsx104("stop", { stopColor: "#FE763C" }),
5159
- /* @__PURE__ */ jsx104("stop", { offset: "1", stopColor: "#FE9943" })
5706
+ /* @__PURE__ */ jsx106("stop", { stopColor: "#FE763C" }),
5707
+ /* @__PURE__ */ jsx106("stop", { offset: "1", stopColor: "#FE9943" })
5160
5708
  ]
5161
5709
  }
5162
5710
  ),
5163
- /* @__PURE__ */ jsxs101(
5711
+ /* @__PURE__ */ jsxs103(
5164
5712
  "linearGradient",
5165
5713
  {
5166
5714
  id: "agg-build-logo-g2",
@@ -5170,8 +5718,8 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs101(
5170
5718
  y2: "14",
5171
5719
  gradientUnits: "userSpaceOnUse",
5172
5720
  children: [
5173
- /* @__PURE__ */ jsx104("stop", { stopColor: "#FEB549" }),
5174
- /* @__PURE__ */ jsx104("stop", { offset: "1", stopColor: "#FDA349" })
5721
+ /* @__PURE__ */ jsx106("stop", { stopColor: "#FEB549" }),
5722
+ /* @__PURE__ */ jsx106("stop", { offset: "1", stopColor: "#FDA349" })
5175
5723
  ]
5176
5724
  }
5177
5725
  )
@@ -5180,7 +5728,7 @@ var AggBuildLogo = (props) => /* @__PURE__ */ jsxs101(
5180
5728
  })
5181
5729
  );
5182
5730
  AggBuildLogo.displayName = "AggBuildLogo";
5183
- var AggBuildTextLogo = (props) => /* @__PURE__ */ jsxs101(
5731
+ var AggBuildTextLogo = (props) => /* @__PURE__ */ jsxs103(
5184
5732
  "svg",
5185
5733
  __spreadProps(__spreadValues({
5186
5734
  xmlns: "http://www.w3.org/2000/svg",
@@ -5190,50 +5738,50 @@ var AggBuildTextLogo = (props) => /* @__PURE__ */ jsxs101(
5190
5738
  fill: "none"
5191
5739
  }, props), {
5192
5740
  children: [
5193
- /* @__PURE__ */ jsx104(
5741
+ /* @__PURE__ */ jsx106(
5194
5742
  "path",
5195
5743
  {
5196
5744
  d: "M7.05537 10.5201L6.79138 8.00006L7.10337 7.12406L6.79138 6.26006L7.05537 3.72806H8.66337L8.30337 7.12406L8.66337 10.5201H7.05537ZM7.53537 7.12406C7.38337 7.83606 7.13137 8.46006 6.77937 8.99606C6.42737 9.53206 5.99137 9.94806 5.47137 10.2441C4.95937 10.5401 4.38737 10.6881 3.75537 10.6881C3.09137 10.6881 2.50337 10.5401 1.99137 10.2441C1.47938 9.94006 1.07937 9.52006 0.791375 8.98406C0.503375 8.44806 0.359375 7.82806 0.359375 7.12406C0.359375 6.41206 0.503375 5.79206 0.791375 5.26406C1.07937 4.72806 1.47938 4.31206 1.99137 4.01606C2.50337 3.71206 3.09137 3.56006 3.75537 3.56006C4.38737 3.56006 4.95937 3.70806 5.47137 4.00406C5.99137 4.30006 6.42737 4.71606 6.77937 5.25206C7.13937 5.78006 7.39137 6.40406 7.53537 7.12406ZM1.94337 7.12406C1.94337 7.58006 2.03537 7.98406 2.21937 8.33606C2.41137 8.68006 2.67137 8.95206 2.99937 9.15206C3.32737 9.34406 3.70337 9.44006 4.12737 9.44006C4.55937 9.44006 4.95937 9.34406 5.32737 9.15206C5.69537 8.95206 6.01937 8.68006 6.29938 8.33606C6.58738 7.98406 6.81537 7.58006 6.98337 7.12406C6.81537 6.66806 6.58738 6.26806 6.29938 5.92406C6.01937 5.57206 5.69537 5.30006 5.32737 5.10806C4.95937 4.90806 4.55937 4.80806 4.12737 4.80806C3.70337 4.80806 3.32737 4.90806 2.99937 5.10806C2.67137 5.30006 2.41137 5.57206 2.21937 5.92406C2.03537 6.26806 1.94337 6.66806 1.94337 7.12406Z",
5197
5745
  fill: "currentColor"
5198
5746
  }
5199
5747
  ),
5200
- /* @__PURE__ */ jsx104(
5748
+ /* @__PURE__ */ jsx106(
5201
5749
  "path",
5202
5750
  {
5203
5751
  d: "M16.3327 8.85206V7.65206L16.3927 7.43606V6.12806L16.3327 5.88806V3.72806H17.8927V8.70806C17.8927 9.58006 17.7087 10.3081 17.3407 10.8921C16.9727 11.4841 16.4687 11.9281 15.8287 12.2241C15.1887 12.5201 14.4527 12.6681 13.6207 12.6681C13.0127 12.6681 12.4527 12.5881 11.9407 12.4281C11.4287 12.2681 10.9327 12.0241 10.4527 11.6961V10.4001C10.9407 10.7841 11.4447 11.0521 11.9647 11.2041C12.4847 11.3641 13.0047 11.4441 13.5247 11.4441C14.4367 11.4441 15.1327 11.2201 15.6127 10.7721C16.0927 10.3241 16.3327 9.68406 16.3327 8.85206ZM13.0687 9.99206C12.4447 9.99206 11.8847 9.86006 11.3887 9.59606C10.8927 9.32406 10.5007 8.94806 10.2127 8.46806C9.92469 7.98806 9.78069 7.42406 9.78069 6.77606C9.78069 6.12806 9.92469 5.56406 10.2127 5.08406C10.5007 4.60406 10.8927 4.23206 11.3887 3.96806C11.8847 3.69606 12.4447 3.56006 13.0687 3.56006C13.5327 3.56006 13.9607 3.63206 14.3527 3.77606C14.7527 3.92006 15.1087 4.11206 15.4207 4.35206C15.7407 4.58406 16.0087 4.84406 16.2247 5.13206C16.4487 5.41206 16.6207 5.70006 16.7407 5.99606C16.8607 6.28406 16.9207 6.54806 16.9207 6.78806C16.9207 7.10006 16.8287 7.44406 16.6447 7.82006C16.4607 8.18806 16.1967 8.53606 15.8527 8.86406C15.5167 9.19206 15.1127 9.46406 14.6407 9.68006C14.1687 9.88806 13.6447 9.99206 13.0687 9.99206ZM13.5487 8.84006C14.1167 8.84006 14.6367 8.67606 15.1087 8.34806C15.5887 8.02006 16.0167 7.49606 16.3927 6.77606C16.0167 6.04006 15.5887 5.51206 15.1087 5.19206C14.6367 4.86406 14.1167 4.70006 13.5487 4.70006C13.0847 4.70006 12.6887 4.78806 12.3607 4.96406C12.0327 5.14006 11.7807 5.38406 11.6047 5.69606C11.4367 6.00806 11.3527 6.36806 11.3527 6.77606C11.3527 7.17606 11.4367 7.53206 11.6047 7.84406C11.7807 8.15606 12.0327 8.40006 12.3607 8.57606C12.6887 8.75206 13.0847 8.84006 13.5487 8.84006Z",
5204
5752
  fill: "currentColor"
5205
5753
  }
5206
5754
  ),
5207
- /* @__PURE__ */ jsx104(
5755
+ /* @__PURE__ */ jsx106(
5208
5756
  "path",
5209
5757
  {
5210
5758
  d: "M25.6842 8.85206V7.65206L25.7442 7.43606V6.12806L25.6842 5.88806V3.72806H27.2442V8.70806C27.2442 9.58006 27.0602 10.3081 26.6922 10.8921C26.3242 11.4841 25.8202 11.9281 25.1802 12.2241C24.5402 12.5201 23.8042 12.6681 22.9722 12.6681C22.3642 12.6681 21.8042 12.5881 21.2922 12.4281C20.7802 12.2681 20.2842 12.0241 19.8042 11.6961V10.4001C20.2922 10.7841 20.7962 11.0521 21.3162 11.2041C21.8362 11.3641 22.3562 11.4441 22.8762 11.4441C23.7882 11.4441 24.4842 11.2201 24.9642 10.7721C25.4442 10.3241 25.6842 9.68406 25.6842 8.85206ZM22.4202 9.99206C21.7962 9.99206 21.2362 9.86006 20.7402 9.59606C20.2442 9.32406 19.8522 8.94806 19.5642 8.46806C19.2762 7.98806 19.1322 7.42406 19.1322 6.77606C19.1322 6.12806 19.2762 5.56406 19.5642 5.08406C19.8522 4.60406 20.2442 4.23206 20.7402 3.96806C21.2362 3.69606 21.7962 3.56006 22.4202 3.56006C22.8842 3.56006 23.3122 3.63206 23.7042 3.77606C24.1042 3.92006 24.4602 4.11206 24.7722 4.35206C25.0922 4.58406 25.3602 4.84406 25.5762 5.13206C25.8002 5.41206 25.9722 5.70006 26.0922 5.99606C26.2122 6.28406 26.2722 6.54806 26.2722 6.78806C26.2722 7.10006 26.1802 7.44406 25.9962 7.82006C25.8122 8.18806 25.5482 8.53606 25.2042 8.86406C24.8682 9.19206 24.4642 9.46406 23.9922 9.68006C23.5202 9.88806 22.9962 9.99206 22.4202 9.99206ZM22.9002 8.84006C23.4682 8.84006 23.9882 8.67606 24.4602 8.34806C24.9402 8.02006 25.3682 7.49606 25.7442 6.77606C25.3682 6.04006 24.9402 5.51206 24.4602 5.19206C23.9882 4.86406 23.4682 4.70006 22.9002 4.70006C22.4362 4.70006 22.0402 4.78806 21.7122 4.96406C21.3842 5.14006 21.1322 5.38406 20.9562 5.69606C20.7882 6.00806 20.7042 6.36806 20.7042 6.77606C20.7042 7.17606 20.7882 7.53206 20.9562 7.84406C21.1322 8.15606 21.3842 8.40006 21.7122 8.57606C22.0402 8.75206 22.4362 8.84006 22.9002 8.84006Z",
5211
5759
  fill: "currentColor"
5212
5760
  }
5213
5761
  ),
5214
- /* @__PURE__ */ jsx104(
5762
+ /* @__PURE__ */ jsx106(
5215
5763
  "path",
5216
5764
  {
5217
5765
  d: "M35.1374 10.7411C34.7383 10.7411 34.3709 10.6821 34.0353 10.5642C33.7087 10.4372 33.423 10.2694 33.1781 10.0608C32.9332 9.84307 32.7382 9.59816 32.593 9.32604L32.5114 10.5778H31.6406V0.781475H32.593V4.95852C32.8198 4.56848 33.1464 4.2374 33.5727 3.96528C33.999 3.69316 34.5206 3.5571 35.1374 3.5571C35.8086 3.5571 36.3937 3.71584 36.8925 4.03331C37.3914 4.34171 37.7724 4.76803 38.0354 5.31227C38.3076 5.84744 38.4436 6.45971 38.4436 7.14908C38.4436 7.83845 38.3076 8.45526 38.0354 8.9995C37.7633 9.54374 37.3778 9.97006 36.8789 10.2785C36.3891 10.5869 35.8086 10.7411 35.1374 10.7411ZM35.0693 9.9111C35.5501 9.9111 35.9673 9.79772 36.3211 9.57095C36.6748 9.34419 36.956 9.02218 37.1647 8.60493C37.3733 8.18768 37.4776 7.70239 37.4776 7.14908C37.4776 6.5867 37.3733 6.10142 37.1647 5.69324C36.956 5.27599 36.6703 4.95398 36.3075 4.72722C35.9537 4.50045 35.541 4.38707 35.0693 4.38707C34.5977 4.38707 34.1759 4.50045 33.804 4.72722C33.4412 4.95398 33.1554 5.27599 32.9468 5.69324C32.7472 6.11049 32.6475 6.59577 32.6475 7.14908C32.6475 7.71147 32.7472 8.20128 32.9468 8.61853C33.1554 9.02671 33.4412 9.34419 33.804 9.57095C34.1759 9.79772 34.5977 9.9111 35.0693 9.9111Z",
5218
5766
  fill: "currentColor"
5219
5767
  }
5220
5768
  ),
5221
- /* @__PURE__ */ jsx104(
5769
+ /* @__PURE__ */ jsx106(
5222
5770
  "path",
5223
5771
  {
5224
5772
  d: "M42.5542 10.7411C42.0372 10.7411 41.5791 10.6413 41.18 10.4417C40.79 10.2331 40.4861 9.92017 40.2684 9.50292C40.0507 9.0766 39.9419 8.53236 39.9419 7.8702V3.72037H40.8943V7.76135C40.8943 8.48701 41.053 9.02671 41.3705 9.38047C41.6971 9.73422 42.1461 9.9111 42.7175 9.9111C43.1257 9.9111 43.4885 9.81586 43.806 9.62538C44.1325 9.43489 44.3865 9.1537 44.5679 8.78181C44.7584 8.40084 44.8536 7.93823 44.8536 7.39399V3.72037H45.8061V10.5778H44.9353L44.8809 9.35326C44.6632 9.79772 44.3457 10.1424 43.9284 10.3873C43.5203 10.6231 43.0622 10.7411 42.5542 10.7411Z",
5225
5773
  fill: "currentColor"
5226
5774
  }
5227
5775
  ),
5228
- /* @__PURE__ */ jsx104(
5776
+ /* @__PURE__ */ jsx106(
5229
5777
  "path",
5230
5778
  {
5231
5779
  d: "M47.8807 10.5778V3.72037H48.8195V10.5778H47.8807ZM48.3569 2.10126C48.1664 2.10126 48.0031 2.03776 47.8671 1.91077C47.731 1.77471 47.663 1.60691 47.663 1.40735C47.663 1.19873 47.7265 1.03545 47.8535 0.917535C47.9895 0.790545 48.1528 0.727051 48.3433 0.727051C48.5338 0.727051 48.697 0.790545 48.8331 0.917535C48.9691 1.03545 49.0372 1.19873 49.0372 1.40735C49.0372 1.60691 48.9691 1.77471 48.8331 1.91077C48.7061 2.03776 48.5474 2.10126 48.3569 2.10126Z",
5232
5780
  fill: "currentColor"
5233
5781
  }
5234
5782
  ),
5235
- /* @__PURE__ */ jsx104("path", { d: "M50.8937 10.5778V0.781475H51.8461V10.5778H50.8937Z", fill: "currentColor" }),
5236
- /* @__PURE__ */ jsx104(
5783
+ /* @__PURE__ */ jsx106("path", { d: "M50.8937 10.5778V0.781475H51.8461V10.5778H50.8937Z", fill: "currentColor" }),
5784
+ /* @__PURE__ */ jsx106(
5237
5785
  "path",
5238
5786
  {
5239
5787
  d: "M56.7703 10.7411C56.1081 10.7411 55.5276 10.5869 55.0287 10.2785C54.5389 9.96099 54.1579 9.53013 53.8858 8.98589C53.6137 8.44165 53.4776 7.82485 53.4776 7.13548C53.4776 6.44611 53.6137 5.83384 53.8858 5.29867C54.1579 4.75443 54.5434 4.32811 55.0423 4.0197C55.5412 3.7113 56.1217 3.5571 56.7839 3.5571C57.3644 3.5571 57.8724 3.68409 58.3078 3.93807C58.7522 4.18298 59.0924 4.5322 59.3282 4.98573V0.781475H60.2806V10.5778H59.4098L59.3282 9.33965C59.1831 9.57549 58.9926 9.80225 58.7568 10.02C58.53 10.2376 58.2488 10.4145 57.9132 10.5506C57.5866 10.6776 57.2057 10.7411 56.7703 10.7411ZM56.8519 9.9111C57.3327 9.9111 57.7499 9.79772 58.1037 9.57095C58.4665 9.34419 58.7477 9.02218 58.9472 8.60493C59.1559 8.18768 59.2602 7.70239 59.2602 7.14908C59.2602 6.59577 59.1559 6.11049 58.9472 5.69324C58.7477 5.27599 58.4665 4.95398 58.1037 4.72722C57.7499 4.50045 57.3327 4.38707 56.8519 4.38707C56.3802 4.38707 55.963 4.50045 55.6002 4.72722C55.2373 4.95398 54.9516 5.27599 54.743 5.69324C54.5434 6.10142 54.4436 6.5867 54.4436 7.14908C54.4436 7.71147 54.548 8.20128 54.7566 8.61853C54.9652 9.02671 55.2509 9.34419 55.6138 9.57095C55.9766 9.79772 56.3893 9.9111 56.8519 9.9111Z",
@@ -5265,8 +5813,8 @@ var DEFAULT_FOOTER_LINKS = [
5265
5813
  ];
5266
5814
 
5267
5815
  // src/primitives/footer/index.tsx
5268
- import { Fragment as Fragment3, jsx as jsx105, jsxs as jsxs102 } from "react/jsx-runtime";
5269
- var XIcon = (props) => /* @__PURE__ */ jsx105(
5816
+ import { Fragment as Fragment3, jsx as jsx107, jsxs as jsxs104 } from "react/jsx-runtime";
5817
+ var XIcon = (props) => /* @__PURE__ */ jsx107(
5270
5818
  "svg",
5271
5819
  __spreadProps(__spreadValues({
5272
5820
  xmlns: "http://www.w3.org/2000/svg",
@@ -5276,7 +5824,7 @@ var XIcon = (props) => /* @__PURE__ */ jsx105(
5276
5824
  fill: "none",
5277
5825
  "aria-hidden": "true"
5278
5826
  }, props), {
5279
- children: /* @__PURE__ */ jsx105(
5827
+ children: /* @__PURE__ */ jsx107(
5280
5828
  "path",
5281
5829
  {
5282
5830
  d: "M12.2167 1.33325H14.4669L9.5523 6.94875L15.3334 14.5913H10.8081L7.26125 9.95725L3.20714 14.5913H0.953359L6.20891 8.58347L0.666748 1.33325H5.30691L8.50975 5.56886L12.2167 1.33325ZM11.4266 13.2463H12.6726L4.62797 2.60803H3.28964L11.4266 13.2463Z",
@@ -5286,8 +5834,8 @@ var XIcon = (props) => /* @__PURE__ */ jsx105(
5286
5834
  })
5287
5835
  );
5288
5836
  var renderLink = (link, linkClass) => {
5289
- const inner = /* @__PURE__ */ jsxs102(Fragment3, { children: [
5290
- /* @__PURE__ */ jsx105(
5837
+ const inner = /* @__PURE__ */ jsxs104(Fragment3, { children: [
5838
+ /* @__PURE__ */ jsx107(
5291
5839
  "span",
5292
5840
  {
5293
5841
  className: "hidden md:inline",
@@ -5295,11 +5843,11 @@ var renderLink = (link, linkClass) => {
5295
5843
  children: link.label
5296
5844
  }
5297
5845
  ),
5298
- link.mobileLabel !== void 0 && link.mobileLabel !== link.label ? /* @__PURE__ */ jsx105("span", { className: "md:hidden", children: link.mobileLabel }) : /* @__PURE__ */ jsx105("span", { className: "md:hidden", "aria-hidden": "true", children: link.label }),
5299
- link.mobileLabel !== void 0 && link.mobileLabel !== link.label && /* @__PURE__ */ jsx105("span", { className: "sr-only", children: link.label })
5846
+ link.mobileLabel !== void 0 && link.mobileLabel !== link.label ? /* @__PURE__ */ jsx107("span", { className: "md:hidden", children: link.mobileLabel }) : /* @__PURE__ */ jsx107("span", { className: "md:hidden", "aria-hidden": "true", children: link.label }),
5847
+ link.mobileLabel !== void 0 && link.mobileLabel !== link.label && /* @__PURE__ */ jsx107("span", { className: "sr-only", children: link.label })
5300
5848
  ] });
5301
5849
  if (link.href) {
5302
- return /* @__PURE__ */ jsx105(
5850
+ return /* @__PURE__ */ jsx107(
5303
5851
  "a",
5304
5852
  {
5305
5853
  href: link.href,
@@ -5312,7 +5860,7 @@ var renderLink = (link, linkClass) => {
5312
5860
  );
5313
5861
  }
5314
5862
  if (link.onClick) {
5315
- return /* @__PURE__ */ jsx105(
5863
+ return /* @__PURE__ */ jsx107(
5316
5864
  "button",
5317
5865
  {
5318
5866
  type: "button",
@@ -5322,7 +5870,7 @@ var renderLink = (link, linkClass) => {
5322
5870
  }
5323
5871
  );
5324
5872
  }
5325
- return /* @__PURE__ */ jsx105("span", { className: linkClass, children: inner });
5873
+ return /* @__PURE__ */ jsx107("span", { className: linkClass, children: inner });
5326
5874
  };
5327
5875
  var Footer = ({
5328
5876
  links = DEFAULT_FOOTER_LINKS,
@@ -5338,13 +5886,13 @@ var Footer = ({
5338
5886
  "text-xs text-agg-muted-foreground whitespace-nowrap transition-colors hover:text-agg-foreground md:text-sm",
5339
5887
  classNames == null ? void 0 : classNames.link
5340
5888
  );
5341
- return /* @__PURE__ */ jsx105(
5889
+ return /* @__PURE__ */ jsx107(
5342
5890
  "footer",
5343
5891
  {
5344
5892
  role: "contentinfo",
5345
5893
  "aria-label": ariaLabel,
5346
5894
  className: cn(baseFooterClasses, classNames == null ? void 0 : classNames.root),
5347
- children: /* @__PURE__ */ jsxs102(
5895
+ children: /* @__PURE__ */ jsxs104(
5348
5896
  "div",
5349
5897
  {
5350
5898
  className: cn(
@@ -5352,7 +5900,7 @@ var Footer = ({
5352
5900
  classNames == null ? void 0 : classNames.inner
5353
5901
  ),
5354
5902
  children: [
5355
- /* @__PURE__ */ jsxs102(
5903
+ /* @__PURE__ */ jsxs104(
5356
5904
  "a",
5357
5905
  {
5358
5906
  href: AGG_DEFAULT_URL,
@@ -5363,16 +5911,16 @@ var Footer = ({
5363
5911
  classNames == null ? void 0 : classNames.leftSection
5364
5912
  ),
5365
5913
  children: [
5366
- /* @__PURE__ */ jsxs102("div", { className: "hidden items-center gap-1 md:flex", children: [
5367
- /* @__PURE__ */ jsx105(AggBuildIcon, { className: "size-4 shrink-0" }),
5368
- /* @__PURE__ */ jsx105("span", { className: "whitespace-nowrap text-sm text-agg-muted-foreground transition-colors group-hover/brand:text-agg-foreground", children: "Built with" }),
5369
- /* @__PURE__ */ jsx105(AggBuildTextLogo, { "aria-label": "agg build", className: "shrink-0 text-agg-foreground" })
5914
+ /* @__PURE__ */ jsxs104("div", { className: "hidden items-center gap-1 md:flex", children: [
5915
+ /* @__PURE__ */ jsx107(AggBuildIcon, { className: "size-4 shrink-0" }),
5916
+ /* @__PURE__ */ jsx107("span", { className: "whitespace-nowrap text-sm text-agg-muted-foreground transition-colors group-hover/brand:text-agg-foreground", children: "Built with" }),
5917
+ /* @__PURE__ */ jsx107(AggBuildTextLogo, { "aria-label": "agg build", className: "shrink-0 text-agg-foreground" })
5370
5918
  ] }),
5371
- /* @__PURE__ */ jsx105("div", { className: "md:hidden", children: /* @__PURE__ */ jsx105(AggBuildLogo, { "aria-label": "agg build", className: "h-3.5 w-auto text-agg-foreground" }) })
5919
+ /* @__PURE__ */ jsx107("div", { className: "md:hidden", children: /* @__PURE__ */ jsx107(AggBuildLogo, { "aria-label": "agg build", className: "h-3.5 w-auto text-agg-foreground" }) })
5372
5920
  ]
5373
5921
  }
5374
5922
  ),
5375
- /* @__PURE__ */ jsxs102(
5923
+ /* @__PURE__ */ jsxs104(
5376
5924
  "div",
5377
5925
  {
5378
5926
  className: cn(
@@ -5380,8 +5928,8 @@ var Footer = ({
5380
5928
  classNames == null ? void 0 : classNames.rightSection
5381
5929
  ),
5382
5930
  children: [
5383
- /* @__PURE__ */ jsx105("div", { className: "flex items-center gap-2", children: links.map((link, i) => /* @__PURE__ */ jsxs102(Fragment2, { children: [
5384
- i > 0 && /* @__PURE__ */ jsx105(
5931
+ /* @__PURE__ */ jsx107("div", { className: "flex items-center gap-2", children: links.map((link, i) => /* @__PURE__ */ jsxs104(Fragment2, { children: [
5932
+ i > 0 && /* @__PURE__ */ jsx107(
5385
5933
  "span",
5386
5934
  {
5387
5935
  "aria-hidden": "true",
@@ -5394,15 +5942,15 @@ var Footer = ({
5394
5942
  ),
5395
5943
  renderLink(link, linkClass)
5396
5944
  ] }, link.label)) }),
5397
- email && /* @__PURE__ */ jsxs102(Fragment3, { children: [
5398
- /* @__PURE__ */ jsx105(
5945
+ email && /* @__PURE__ */ jsxs104(Fragment3, { children: [
5946
+ /* @__PURE__ */ jsx107(
5399
5947
  "div",
5400
5948
  {
5401
5949
  "aria-hidden": "true",
5402
5950
  className: "hidden h-3 w-px shrink-0 bg-agg-separator md:block"
5403
5951
  }
5404
5952
  ),
5405
- emailHref ? /* @__PURE__ */ jsx105(
5953
+ emailHref ? /* @__PURE__ */ jsx107(
5406
5954
  "a",
5407
5955
  {
5408
5956
  href: emailHref,
@@ -5414,7 +5962,7 @@ var Footer = ({
5414
5962
  ),
5415
5963
  children: email
5416
5964
  }
5417
- ) : /* @__PURE__ */ jsx105(
5965
+ ) : /* @__PURE__ */ jsx107(
5418
5966
  "span",
5419
5967
  {
5420
5968
  className: cn(
@@ -5425,15 +5973,15 @@ var Footer = ({
5425
5973
  }
5426
5974
  )
5427
5975
  ] }),
5428
- hasX && /* @__PURE__ */ jsxs102(Fragment3, { children: [
5429
- /* @__PURE__ */ jsx105(
5976
+ hasX && /* @__PURE__ */ jsxs104(Fragment3, { children: [
5977
+ /* @__PURE__ */ jsx107(
5430
5978
  "div",
5431
5979
  {
5432
5980
  "aria-hidden": "true",
5433
5981
  className: "hidden h-3 w-px shrink-0 bg-agg-separator md:block"
5434
5982
  }
5435
5983
  ),
5436
- xHref ? /* @__PURE__ */ jsx105(
5984
+ xHref ? /* @__PURE__ */ jsx107(
5437
5985
  "a",
5438
5986
  {
5439
5987
  href: xHref,
@@ -5444,9 +5992,9 @@ var Footer = ({
5444
5992
  "hidden items-center text-agg-muted-foreground transition-colors hover:text-agg-foreground md:flex",
5445
5993
  classNames == null ? void 0 : classNames.xLink
5446
5994
  ),
5447
- children: /* @__PURE__ */ jsx105(XIcon, { className: "size-4" })
5995
+ children: /* @__PURE__ */ jsx107(XIcon, { className: "size-4" })
5448
5996
  }
5449
- ) : /* @__PURE__ */ jsx105(
5997
+ ) : /* @__PURE__ */ jsx107(
5450
5998
  "button",
5451
5999
  {
5452
6000
  type: "button",
@@ -5456,7 +6004,7 @@ var Footer = ({
5456
6004
  "hidden cursor-pointer items-center border-0 bg-transparent p-0 text-agg-muted-foreground transition-colors hover:text-agg-foreground md:flex",
5457
6005
  classNames == null ? void 0 : classNames.xLink
5458
6006
  ),
5459
- children: /* @__PURE__ */ jsx105(XIcon, { className: "size-4" })
6007
+ children: /* @__PURE__ */ jsx107(XIcon, { className: "size-4" })
5460
6008
  }
5461
6009
  )
5462
6010
  ] })
@@ -5472,23 +6020,23 @@ var Footer = ({
5472
6020
  Footer.displayName = "Footer";
5473
6021
 
5474
6022
  // src/primitives/header/index.tsx
5475
- import { useLabels as useLabels11 } from "@agg-build/hooks";
6023
+ import { useLabels as useLabels12 } from "@agg-build/hooks";
5476
6024
 
5477
6025
  // src/primitives/search/index.tsx
5478
6026
  import {
5479
- useLabels as useLabels10,
6027
+ useLabels as useLabels11,
5480
6028
  useLiveOutcomePrices,
5481
6029
  useMidpoints,
5482
- useSdkUiConfig as useSdkUiConfig10,
6030
+ useSdkUiConfig as useSdkUiConfig11,
5483
6031
  useSearch,
5484
6032
  MarketStatus as MarketStatus2
5485
6033
  } from "@agg-build/hooks";
5486
6034
  import {
5487
6035
  useCallback as useCallback3,
5488
- useEffect as useEffect6,
5489
- useMemo as useMemo5,
5490
- useRef as useRef6,
5491
- useState as useState7
6036
+ useEffect as useEffect8,
6037
+ useMemo as useMemo6,
6038
+ useRef as useRef8,
6039
+ useState as useState8
5492
6040
  } from "react";
5493
6041
 
5494
6042
  // src/events/list/event-list.utils.ts
@@ -5620,17 +6168,17 @@ var resolveTabVenus = (tab, visibleVenues) => {
5620
6168
  };
5621
6169
 
5622
6170
  // src/primitives/remote-image/index.tsx
5623
- import { useSdkUiConfig as useSdkUiConfig9 } from "@agg-build/hooks";
5624
- import { useRef as useRef5, useState as useState6 } from "react";
6171
+ import { useSdkUiConfig as useSdkUiConfig10 } from "@agg-build/hooks";
6172
+ import { useRef as useRef7, useState as useState7 } from "react";
5625
6173
 
5626
6174
  // src/primitives/skeleton/skeleton-block.tsx
5627
- import { useSdkUiConfig as useSdkUiConfig8 } from "@agg-build/hooks";
5628
- import { jsx as jsx106 } from "react/jsx-runtime";
6175
+ import { useSdkUiConfig as useSdkUiConfig9 } from "@agg-build/hooks";
6176
+ import { jsx as jsx108 } from "react/jsx-runtime";
5629
6177
  var SkeletonBlock = ({ className }) => {
5630
6178
  const {
5631
6179
  features: { enableAnimations }
5632
- } = useSdkUiConfig8();
5633
- return /* @__PURE__ */ jsx106(
6180
+ } = useSdkUiConfig9();
6181
+ return /* @__PURE__ */ jsx108(
5634
6182
  "div",
5635
6183
  {
5636
6184
  "aria-hidden": true,
@@ -5659,9 +6207,10 @@ var resolveRemoteImageStatusFromSrc = (src) => {
5659
6207
  };
5660
6208
 
5661
6209
  // src/primitives/remote-image/index.tsx
5662
- import { jsx as jsx107, jsxs as jsxs103 } from "react/jsx-runtime";
6210
+ import { jsx as jsx109, jsxs as jsxs105 } from "react/jsx-runtime";
5663
6211
  var RemoteImage = ({
5664
6212
  src,
6213
+ retinaSrc,
5665
6214
  alt,
5666
6215
  title: title2,
5667
6216
  className,
@@ -5673,27 +6222,36 @@ var RemoteImage = ({
5673
6222
  }) => {
5674
6223
  const {
5675
6224
  general: { theme }
5676
- } = useSdkUiConfig9();
6225
+ } = useSdkUiConfig10();
5677
6226
  const isDarkTheme = theme === "dark";
5678
- const [status, setStatus] = useState6(
6227
+ const [status, setStatus] = useState7(
5679
6228
  () => resolveRemoteImageStatusFromSrc(src)
5680
6229
  );
5681
- const prevSrcRef = useRef5(src);
5682
- if (src !== prevSrcRef.current) {
6230
+ const [isRetinaFailed, setIsRetinaFailed] = useState7(false);
6231
+ const prevSrcRef = useRef7(src);
6232
+ const prevRetinaSrcRef = useRef7(retinaSrc);
6233
+ if (src !== prevSrcRef.current || retinaSrc !== prevRetinaSrcRef.current) {
5683
6234
  prevSrcRef.current = src;
6235
+ prevRetinaSrcRef.current = retinaSrc;
5684
6236
  const next = resolveRemoteImageStatusFromSrc(src);
5685
6237
  if (status !== next) {
5686
6238
  setStatus(next);
5687
6239
  }
6240
+ if (isRetinaFailed) setIsRetinaFailed(false);
5688
6241
  }
6242
+ const shouldOfferRetina = Boolean(retinaSrc) && !isRetinaFailed;
5689
6243
  const handleLoad = () => {
5690
6244
  setStatus("loaded");
5691
6245
  };
5692
6246
  const handleError = () => {
6247
+ if (shouldOfferRetina) {
6248
+ setIsRetinaFailed(true);
6249
+ return;
6250
+ }
5693
6251
  setStatus("error");
5694
6252
  };
5695
6253
  const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
5696
- return /* @__PURE__ */ jsxs103(
6254
+ return /* @__PURE__ */ jsxs105(
5697
6255
  "div",
5698
6256
  {
5699
6257
  className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
@@ -5710,14 +6268,14 @@ var RemoteImage = ({
5710
6268
  "aria-label": ariaLabel,
5711
6269
  title: title2,
5712
6270
  children: [
5713
- status === "loading" && /* @__PURE__ */ jsx107(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
5714
- status === "error" && /* @__PURE__ */ jsx107(
6271
+ status === "loading" && /* @__PURE__ */ jsx109(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
6272
+ status === "error" && /* @__PURE__ */ jsx109(
5715
6273
  "div",
5716
6274
  {
5717
6275
  className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
5718
6276
  "aria-hidden": true,
5719
6277
  "aria-errormessage": "Image failed to load",
5720
- children: /* @__PURE__ */ jsx107(
6278
+ children: /* @__PURE__ */ jsx109(
5721
6279
  Icon,
5722
6280
  {
5723
6281
  name: "image",
@@ -5728,17 +6286,19 @@ var RemoteImage = ({
5728
6286
  )
5729
6287
  }
5730
6288
  ),
5731
- isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ jsx107(
6289
+ isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ jsx109(
5732
6290
  "img",
5733
6291
  {
5734
6292
  src,
6293
+ srcSet: shouldOfferRetina ? `${src} 1x, ${retinaSrc} 2x` : void 0,
5735
6294
  alt,
5736
6295
  width,
5737
6296
  height,
5738
6297
  onLoad: handleLoad,
5739
6298
  onError: handleError,
5740
6299
  className: cn(imageClasses, status === "loading" && "hidden", classNames == null ? void 0 : classNames.image)
5741
- }
6300
+ },
6301
+ shouldOfferRetina ? "retina" : "standard"
5742
6302
  )
5743
6303
  ]
5744
6304
  }
@@ -5747,23 +6307,29 @@ var RemoteImage = ({
5747
6307
  RemoteImage.displayName = "RemoteImage";
5748
6308
 
5749
6309
  // src/primitives/skeleton/views/event-list-skeleton-view.tsx
6310
+ import { useLabels as useLabels5 } from "@agg-build/hooks";
6311
+
6312
+ // src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
5750
6313
  import { useLabels as useLabels4 } from "@agg-build/hooks";
5751
6314
 
6315
+ // src/events/item/event-list-item.constants.ts
6316
+ var baseCardClassName = "gap-3 overflow-hidden p-4 w-full";
6317
+
5752
6318
  // src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
5753
- import { useLabels as useLabels3 } from "@agg-build/hooks";
5754
- import { jsx as jsx108, jsxs as jsxs104 } from "react/jsx-runtime";
6319
+ import { jsx as jsx110, jsxs as jsxs106 } from "react/jsx-runtime";
5755
6320
  var EventListItemSkeletonView = ({
5756
6321
  className,
5757
6322
  ariaLabel,
5758
6323
  isStandalone = false
5759
6324
  }) => {
5760
- const labels = useLabels3();
5761
- const outcomeTitleWidths = ["max-w-40", "max-w-[200px]"];
5762
- return /* @__PURE__ */ jsxs104(
6325
+ const labels = useLabels4();
6326
+ const outcomeTitleWidths = ["max-w-[200px]", "max-w-40"];
6327
+ return /* @__PURE__ */ jsxs106(
5763
6328
  Card,
5764
6329
  {
5765
6330
  className: cn(
5766
- "agg-event-card-skeleton group/agg-skeleton min-w-60 md:min-w-90 gap-4 overflow-hidden p-4 w-full",
6331
+ "agg-event-card-skeleton group/agg-skeleton min-w-60 md:min-w-90",
6332
+ baseCardClassName,
5767
6333
  className
5768
6334
  ),
5769
6335
  role: isStandalone ? "status" : void 0,
@@ -5771,42 +6337,45 @@ var EventListItemSkeletonView = ({
5771
6337
  "aria-busy": isStandalone || void 0,
5772
6338
  "aria-hidden": isStandalone ? void 0 : true,
5773
6339
  children: [
5774
- /* @__PURE__ */ jsxs104("div", { className: "agg-event-skeleton-header flex h-12 w-full items-center gap-3", children: [
5775
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-image size-10! rounded-agg-lg" }),
5776
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-title h-6 w-[240px] max-w-[calc(100%-52px)] rounded-agg-sm" })
6340
+ /* @__PURE__ */ jsxs106("div", { className: "agg-event-skeleton-header flex h-12 w-full items-center gap-4", children: [
6341
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-image size-10! shrink-0 rounded-agg-lg" }),
6342
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-title h-6 w-[240px] max-w-[calc(100%-56px)] rounded-agg-sm" })
5777
6343
  ] }),
5778
- /* @__PURE__ */ jsx108("div", { className: "agg-event-skeleton-outcomes flex w-full flex-col gap-4", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ jsxs104(
6344
+ /* @__PURE__ */ jsx110("div", { className: "agg-event-skeleton-outcomes flex max-h-[76px] w-full flex-col gap-4 overflow-hidden", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ jsxs106(
5779
6345
  "div",
5780
6346
  {
5781
- className: "agg-event-skeleton-outcome-row flex w-full items-center justify-between gap-3",
6347
+ className: "agg-event-skeleton-outcome-row flex h-[30px] w-full items-center justify-between gap-3",
5782
6348
  children: [
5783
- /* @__PURE__ */ jsx108(
6349
+ /* @__PURE__ */ jsx110(
5784
6350
  SkeletonBlock,
5785
6351
  {
5786
6352
  className: cn(
5787
- "agg-event-skeleton-outcome-title h-5 w-full rounded-agg-sm",
6353
+ "agg-event-skeleton-outcome-title h-5 w-full rounded-agg-sm md:h-6",
5788
6354
  outcomeTitleWidth
5789
6355
  )
5790
6356
  }
5791
6357
  ),
5792
- /* @__PURE__ */ jsxs104("div", { className: "agg-event-skeleton-price-strip flex shrink-0 items-center gap-2", children: [
5793
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-outcome-pill h-[30px] w-[68px] rounded-agg-full" }),
5794
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-outcome-pill h-[30px] w-[68px] rounded-agg-full" })
6358
+ /* @__PURE__ */ jsxs106("div", { className: "agg-event-skeleton-price-strip flex shrink-0 items-center", children: [
6359
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-outcome-chip size-[30px] rounded-agg-full" }),
6360
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-outcome-chip -ml-3 size-[30px] rounded-agg-full" }),
6361
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-outcome-pill ml-2 h-[30px] w-[68px] rounded-agg-full" })
5795
6362
  ] })
5796
6363
  ]
5797
6364
  },
5798
6365
  index
5799
6366
  )) }),
5800
- /* @__PURE__ */ jsxs104("div", { className: "agg-event-skeleton-footer flex w-full items-center justify-between gap-5 text-agg-muted-foreground", children: [
5801
- /* @__PURE__ */ jsxs104("div", { className: "agg-event-skeleton-meta flex min-w-0 flex-1 items-center gap-2", children: [
5802
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-matched-badge h-5 w-[68px] rounded-agg-full" }),
5803
- /* @__PURE__ */ jsxs104("div", { className: "agg-event-skeleton-venues flex h-[14px] items-center gap-1 overflow-hidden", children: [
5804
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-venue-logo size-[14px] rounded-agg-sm" }),
5805
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-venue-logo size-[14px] rounded-agg-sm" }),
5806
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-venue-logo size-[14px] rounded-agg-sm" })
6367
+ /* @__PURE__ */ jsxs106("div", { className: "agg-event-skeleton-footer flex w-full items-center justify-between gap-5", children: [
6368
+ /* @__PURE__ */ jsxs106("div", { className: "agg-event-skeleton-meta flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
6369
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-remaining h-5 w-[72px] shrink-0 rounded-agg-sm" }),
6370
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-matched-badge h-5 w-[72px] shrink-0 rounded-agg-full" }),
6371
+ /* @__PURE__ */ jsxs106("div", { className: "agg-event-skeleton-venues flex items-center gap-1", children: [
6372
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-venue-logo size-3.5 rounded-agg-sm" }),
6373
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-venue-logo size-3.5 rounded-agg-sm" }),
6374
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-venue-logo size-3.5 rounded-agg-sm" }),
6375
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-venue-logo size-3.5 rounded-agg-sm" })
5807
6376
  ] })
5808
6377
  ] }),
5809
- /* @__PURE__ */ jsx108(SkeletonBlock, { className: "agg-event-skeleton-volume h-5 w-[60px] rounded-agg-sm" })
6378
+ /* @__PURE__ */ jsx110(SkeletonBlock, { className: "agg-event-skeleton-volume h-5 w-[64px] shrink-0 rounded-agg-sm" })
5810
6379
  ] })
5811
6380
  ]
5812
6381
  }
@@ -5815,38 +6384,47 @@ var EventListItemSkeletonView = ({
5815
6384
  EventListItemSkeletonView.displayName = "EventListItemSkeletonView";
5816
6385
 
5817
6386
  // src/primitives/skeleton/views/event-list-skeleton-view.tsx
5818
- import { jsx as jsx109, jsxs as jsxs105 } from "react/jsx-runtime";
6387
+ import { jsx as jsx111, jsxs as jsxs107 } from "react/jsx-runtime";
5819
6388
  var DEFAULT_SKELETON_EVENTS_LIMIT = 20;
5820
- var SIDEBAR_SKELETON_ROWS = 8;
6389
+ var sidebarRowLabelWidths = ["w-20", "w-16", "w-24", "w-14", "w-20", "w-16", "w-12"];
5821
6390
  var EventListSkeletonView = ({
5822
6391
  className,
5823
6392
  ariaLabel,
5824
6393
  withSidebar
5825
6394
  }) => {
5826
- const labels = useLabels4();
5827
- return /* @__PURE__ */ jsxs105(
6395
+ const labels = useLabels5();
6396
+ return /* @__PURE__ */ jsxs107(
5828
6397
  "section",
5829
6398
  {
5830
- className: cn("group/agg-skeleton", "flex w-full flex-col gap-5", className),
6399
+ className: cn("group/agg-skeleton", "flex w-full flex-col gap-2 md:gap-5", className),
5831
6400
  role: "status",
5832
6401
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
5833
6402
  "aria-busy": true,
5834
6403
  children: [
5835
- /* @__PURE__ */ jsxs105("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: [
5836
- /* @__PURE__ */ jsx109(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
5837
- /* @__PURE__ */ jsx109(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
6404
+ /* @__PURE__ */ jsxs107("header", { className: "flex w-full flex-col items-start justify-between gap-2 sm:flex-row sm:items-center sm:gap-4", children: [
6405
+ /* @__PURE__ */ jsx111("div", { className: "flex h-7 min-w-32 items-center", children: /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-6 w-[104px] rounded-agg-sm" }) }),
6406
+ /* @__PURE__ */ jsxs107("div", { className: "hidden min-w-0 max-w-full flex-1 items-center justify-end gap-3 md:flex", children: [
6407
+ /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-10 w-full max-w-[600px] min-w-0 rounded-agg-lg" }),
6408
+ /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-10 w-[200px] shrink-0 rounded-agg-lg" })
6409
+ ] })
5838
6410
  ] }),
5839
- /* @__PURE__ */ jsxs105("div", { className: cn("flex w-full gap-6", withSidebar ? "md:items-start" : ""), children: [
5840
- withSidebar ? /* @__PURE__ */ jsx109("aside", { className: "agg-event-list-skeleton-sidebar hidden w-[200px] shrink-0 md:block", children: /* @__PURE__ */ jsxs105("div", { className: "flex w-full flex-col gap-1 rounded-[8px] border border-agg-separator bg-agg-secondary p-2", children: [
5841
- /* @__PURE__ */ jsx109(SkeletonBlock, { className: "h-11 w-full rounded-[6px]" }),
5842
- /* @__PURE__ */ jsx109(SkeletonBlock, { className: "h-11 w-full rounded-[6px]" }),
5843
- /* @__PURE__ */ jsxs105("div", { className: "flex w-full flex-col gap-1 pl-4", children: [
5844
- /* @__PURE__ */ jsx109(SkeletonBlock, { className: "h-11 w-full rounded-[6px]" }),
5845
- /* @__PURE__ */ jsx109(SkeletonBlock, { className: "h-11 w-full rounded-[6px]" })
6411
+ /* @__PURE__ */ jsxs107("div", { className: "mb-3 flex w-full gap-2 md:hidden", children: [
6412
+ /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-[8px]" }),
6413
+ /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-[8px]" }),
6414
+ withSidebar ? /* @__PURE__ */ jsx111(SkeletonBlock, { className: "size-10 shrink-0 rounded-[8px]" }) : null
6415
+ ] }),
6416
+ /* @__PURE__ */ jsxs107("div", { className: cn("flex w-full gap-6", withSidebar ? "md:items-start" : ""), children: [
6417
+ withSidebar ? /* @__PURE__ */ jsx111("aside", { className: "agg-event-list-skeleton-sidebar hidden w-[200px] shrink-0 md:block", children: /* @__PURE__ */ jsxs107("div", { className: "flex w-full flex-col gap-1 rounded-[8px] border border-agg-separator bg-agg-secondary p-2", children: [
6418
+ /* @__PURE__ */ jsxs107("div", { className: "flex min-h-11 w-full items-center gap-3 rounded-[6px] bg-agg-primary/10 px-3 py-3", children: [
6419
+ /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-4 w-8 rounded-agg-sm" }),
6420
+ /* @__PURE__ */ jsx111(SkeletonBlock, { className: "ml-auto h-4 w-10 rounded-agg-sm" })
5846
6421
  ] }),
5847
- Array.from({ length: SIDEBAR_SKELETON_ROWS - 4 }).map((_, index) => /* @__PURE__ */ jsx109(SkeletonBlock, { className: "h-11 w-full rounded-[6px]" }, index))
6422
+ sidebarRowLabelWidths.map((labelWidth, index) => /* @__PURE__ */ jsxs107("div", { className: "flex min-h-11 w-full items-center gap-3 px-3 py-3", children: [
6423
+ /* @__PURE__ */ jsx111(SkeletonBlock, { className: cn("h-4 rounded-agg-sm", labelWidth) }),
6424
+ /* @__PURE__ */ jsx111(SkeletonBlock, { className: "ml-auto h-4 w-6 rounded-agg-sm" })
6425
+ ] }, index))
5848
6426
  ] }) }) : null,
5849
- /* @__PURE__ */ jsx109("div", { className: "agg-event-list-skeleton-grid grid w-full grid-cols-[repeat(auto-fill,minmax(240px,1fr))] md:grid-cols-[repeat(auto-fill,minmax(360px,1fr))] gap-4", children: Array.from({ length: DEFAULT_SKELETON_EVENTS_LIMIT }).map((_, index) => /* @__PURE__ */ jsx109(
6427
+ /* @__PURE__ */ jsx111("div", { className: "agg-event-list-skeleton-grid grid w-full grid-cols-[repeat(auto-fill,minmax(240px,1fr))] md:grid-cols-[repeat(auto-fill,minmax(360px,1fr))] gap-4", children: Array.from({ length: DEFAULT_SKELETON_EVENTS_LIMIT }).map((_, index) => /* @__PURE__ */ jsx111(
5850
6428
  EventListItemSkeletonView,
5851
6429
  {
5852
6430
  isStandalone: false,
@@ -5862,19 +6440,19 @@ var EventListSkeletonView = ({
5862
6440
  EventListSkeletonView.displayName = "EventListSkeletonView";
5863
6441
 
5864
6442
  // src/primitives/skeleton/views/event-list-item-details-skeleton-view.tsx
5865
- import { useLabels as useLabels5 } from "@agg-build/hooks";
6443
+ import { useLabels as useLabels6 } from "@agg-build/hooks";
5866
6444
 
5867
6445
  // src/events/item-details/event-list-item-details.constants.ts
5868
6446
  var detailsBaseCardClassName = "w-full gap-6 p-4 md:p-5 md:gap-8";
5869
6447
 
5870
6448
  // src/primitives/skeleton/views/event-list-item-details-skeleton-view.tsx
5871
- import { jsx as jsx110, jsxs as jsxs106 } from "react/jsx-runtime";
6449
+ import { jsx as jsx112, jsxs as jsxs108 } from "react/jsx-runtime";
5872
6450
  var EventListItemDetailsSkeletonView = ({
5873
6451
  className,
5874
6452
  ariaLabel
5875
6453
  }) => {
5876
- const labels = useLabels5();
5877
- return /* @__PURE__ */ jsxs106(
6454
+ const labels = useLabels6();
6455
+ return /* @__PURE__ */ jsxs108(
5878
6456
  Card,
5879
6457
  {
5880
6458
  className: cn("group/agg-skeleton", detailsBaseCardClassName, className),
@@ -5882,25 +6460,44 @@ var EventListItemDetailsSkeletonView = ({
5882
6460
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
5883
6461
  "aria-busy": true,
5884
6462
  children: [
5885
- /* @__PURE__ */ jsxs106("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
5886
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
5887
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
6463
+ /* @__PURE__ */ jsxs108("div", { className: "flex w-full flex-row items-start gap-3 md:gap-4", children: [
6464
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "size-10 shrink-0 rounded-agg-lg md:size-[60px]" }),
6465
+ /* @__PURE__ */ jsxs108("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
6466
+ /* @__PURE__ */ jsx112("div", { className: "flex h-6 items-center md:h-8", children: /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-5 w-[70%] max-w-[420px] rounded-agg-sm md:h-6" }) }),
6467
+ /* @__PURE__ */ jsxs108("div", { className: "flex gap-2 overflow-hidden", children: [
6468
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-[34px] w-[124px] shrink-0 rounded-agg-full" }),
6469
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-[34px] w-[140px] shrink-0 rounded-agg-full" }),
6470
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-[34px] w-[132px] shrink-0 rounded-agg-full" }),
6471
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-[34px] w-[116px] shrink-0 rounded-agg-full" })
6472
+ ] })
6473
+ ] })
5888
6474
  ] }),
5889
- /* @__PURE__ */ jsxs106("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
5890
- /* @__PURE__ */ jsxs106("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
5891
- /* @__PURE__ */ jsxs106("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
5892
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
5893
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
5894
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
6475
+ /* @__PURE__ */ jsxs108("div", { className: "flex w-full flex-col gap-2", children: [
6476
+ /* @__PURE__ */ jsxs108("div", { className: "flex w-full flex-col", children: [
6477
+ /* @__PURE__ */ jsxs108("div", { className: "flex w-full flex-col-reverse gap-4 md:flex-row md:items-center md:justify-between", children: [
6478
+ /* @__PURE__ */ jsxs108("div", { className: "flex gap-2 overflow-hidden pb-1 md:pb-0", children: [
6479
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-8 w-[92px] shrink-0 rounded-agg-full md:h-9" }),
6480
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-8 w-[92px] shrink-0 rounded-agg-full md:h-9" })
6481
+ ] }),
6482
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[210px]" })
5895
6483
  ] }),
5896
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
6484
+ /* @__PURE__ */ jsx112(
6485
+ "div",
6486
+ {
6487
+ className: "agg-event-details-skeleton-plot h-[200px] w-full",
6488
+ style: {
6489
+ paddingTop: LINE_CHART_PLOT_PADDING.top,
6490
+ paddingRight: LINE_CHART_PLOT_PADDING.right,
6491
+ paddingBottom: LINE_CHART_PLOT_PADDING.bottom,
6492
+ paddingLeft: LINE_CHART_PLOT_PADDING.left
6493
+ },
6494
+ children: /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-full w-full rounded-agg-xl" })
6495
+ }
6496
+ )
5897
6497
  ] }),
5898
- /* @__PURE__ */ jsxs106("div", { className: "flex w-full flex-col gap-3", children: [
5899
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
5900
- /* @__PURE__ */ jsxs106("div", { className: "flex items-center justify-between", children: [
5901
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
5902
- /* @__PURE__ */ jsx110(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
5903
- ] })
6498
+ /* @__PURE__ */ jsxs108("div", { className: "flex items-center justify-between gap-4", children: [
6499
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-5 w-[56px] rounded-agg-sm" }),
6500
+ /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-5 w-[232px] max-w-[60%] rounded-agg-sm" })
5904
6501
  ] })
5905
6502
  ] })
5906
6503
  ]
@@ -5910,7 +6507,7 @@ var EventListItemDetailsSkeletonView = ({
5910
6507
  EventListItemDetailsSkeletonView.displayName = "EventListItemDetailsSkeletonView";
5911
6508
 
5912
6509
  // src/primitives/skeleton/views/market-details-skeleton-view.tsx
5913
- import { useLabels as useLabels6 } from "@agg-build/hooks";
6510
+ import { useLabels as useLabels7 } from "@agg-build/hooks";
5914
6511
 
5915
6512
  // src/events/market-details/market-details.constants.ts
5916
6513
  var marketDetailsBaseCardClassName = "w-full overflow-hidden rounded-agg-lg border border-agg-separator bg-agg-secondary text-agg-foreground shadow-none hover:shadow-none";
@@ -5924,34 +6521,36 @@ var marketDetailsDefaultIsOpened = false;
5924
6521
  var orderBookRowLimitDefault = 4;
5925
6522
 
5926
6523
  // src/primitives/skeleton/views/market-details-skeleton-view.tsx
5927
- import { Fragment as Fragment4, jsx as jsx111, jsxs as jsxs107 } from "react/jsx-runtime";
6524
+ import { Fragment as Fragment4, jsx as jsx113, jsxs as jsxs109 } from "react/jsx-runtime";
5928
6525
  var orderBookAskBarScales = ["93%", "47%", "33%", "31%"];
5929
6526
  var orderBookBidBarScales = ["9%", "33%", "53%", "73%"];
5930
6527
  var MarketDetailsHeaderSkeleton = () => {
5931
- return /* @__PURE__ */ jsxs107("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
5932
- /* @__PURE__ */ jsxs107("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
5933
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
5934
- /* @__PURE__ */ jsxs107("div", { className: "flex min-w-0 flex-col gap-2", children: [
5935
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
5936
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
5937
- ] })
6528
+ return /* @__PURE__ */ jsxs109("div", { className: "flex flex-col items-stretch gap-3 px-5 py-3 md:flex-row md:flex-nowrap md:items-center md:justify-between", children: [
6529
+ /* @__PURE__ */ jsxs109("div", { className: "flex min-w-0 w-full items-center justify-between gap-4 md:flex-1", children: [
6530
+ /* @__PURE__ */ jsxs109("div", { className: "flex min-w-24 flex-1 items-center gap-3 md:gap-4", children: [
6531
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg md:size-[60px]" }),
6532
+ /* @__PURE__ */ jsxs109("div", { className: "flex min-w-24 flex-col", children: [
6533
+ /* @__PURE__ */ jsx113("div", { className: "flex h-7 items-center", children: /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-5 w-[140px] rounded-agg-sm" }) }),
6534
+ /* @__PURE__ */ jsx113("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-4 w-[124px] rounded-agg-sm" }) })
6535
+ ] })
6536
+ ] }),
6537
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-8 w-11 shrink-0 rounded-agg-md" })
5938
6538
  ] }),
5939
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
5940
- /* @__PURE__ */ jsxs107("div", { className: "flex w-full gap-2 md:w-auto", children: [
5941
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
5942
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
6539
+ /* @__PURE__ */ jsxs109("div", { className: "flex w-full gap-2 md:w-auto md:shrink-0", children: [
6540
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full md:w-[140px] md:flex-none" }),
6541
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full md:w-[140px] md:flex-none" })
5943
6542
  ] })
5944
6543
  ] });
5945
6544
  };
5946
6545
  var MarketDetailsTabsSkeleton = () => {
5947
- return /* @__PURE__ */ jsxs107("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
5948
- /* @__PURE__ */ jsxs107("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
5949
- /* @__PURE__ */ jsx111("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
5950
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
6546
+ return /* @__PURE__ */ jsxs109("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
6547
+ /* @__PURE__ */ jsxs109("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
6548
+ /* @__PURE__ */ jsx113("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
6549
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
5951
6550
  ] }),
5952
- /* @__PURE__ */ jsxs107("div", { className: "flex h-full flex-col justify-center", children: [
5953
- /* @__PURE__ */ jsx111("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
5954
- /* @__PURE__ */ jsx111("div", { className: "h-[2px] w-full" })
6551
+ /* @__PURE__ */ jsxs109("div", { className: "flex h-full flex-col justify-center", children: [
6552
+ /* @__PURE__ */ jsx113("div", { className: "px-4 py-3", children: /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
6553
+ /* @__PURE__ */ jsx113("div", { className: "h-[2px] w-full" })
5955
6554
  ] })
5956
6555
  ] });
5957
6556
  };
@@ -5959,25 +6558,25 @@ var MarketDetailsOrderBookRows = ({
5959
6558
  side,
5960
6559
  barScales
5961
6560
  }) => {
5962
- return /* @__PURE__ */ jsx111("div", { className: "flex flex-col", children: barScales.map((barScale, index) => /* @__PURE__ */ jsxs107(
6561
+ return /* @__PURE__ */ jsx113("div", { className: "flex flex-col", children: barScales.map((barScale, index) => /* @__PURE__ */ jsxs109(
5963
6562
  "div",
5964
6563
  {
5965
6564
  className: "flex h-9 items-center gap-2 overflow-hidden pr-5 md:gap-10",
5966
6565
  children: [
5967
- /* @__PURE__ */ jsx111("div", { className: "relative h-9 min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ jsx111(
6566
+ /* @__PURE__ */ jsx113("div", { className: "relative h-9 min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ jsx113(
5968
6567
  "div",
5969
6568
  {
5970
6569
  className: "absolute inset-y-0 left-0",
5971
6570
  style: { right: `${100 - parseFloat(barScale)}%` },
5972
- children: /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-full w-full rounded-none" })
6571
+ children: /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-full w-full rounded-none" })
5973
6572
  }
5974
6573
  ) }),
5975
- /* @__PURE__ */ jsxs107("div", { className: "flex w-20 shrink-0 items-center gap-1 md:w-[120px]", children: [
5976
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm md:w-12" }),
5977
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "size-3.5 rounded-agg-sm" })
6574
+ /* @__PURE__ */ jsxs109("div", { className: "flex w-20 shrink-0 items-center gap-1 md:w-[120px]", children: [
6575
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm md:w-12" }),
6576
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "size-3.5 rounded-agg-sm" })
5978
6577
  ] }),
5979
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
5980
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
6578
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
6579
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-5 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
5981
6580
  ]
5982
6581
  },
5983
6582
  `${side}-row-${index}`
@@ -5986,19 +6585,19 @@ var MarketDetailsOrderBookRows = ({
5986
6585
  var MarketDetailsOderbookSkeleton = ({
5987
6586
  className
5988
6587
  }) => {
5989
- return /* @__PURE__ */ jsxs107("div", { className: cn("flex flex-col", className), children: [
5990
- /* @__PURE__ */ jsxs107("div", { className: "flex h-9 items-center gap-2 border-b border-agg-separator px-3 md:gap-10 md:px-5", children: [
5991
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-4 w-16 flex-1 rounded-agg-sm md:w-20" }),
5992
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-4 w-20 shrink-0 rounded-agg-sm md:w-[120px]" }),
5993
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
5994
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
6588
+ return /* @__PURE__ */ jsxs109("div", { className: cn("flex flex-col", className), children: [
6589
+ /* @__PURE__ */ jsxs109("div", { className: "flex h-9 items-center gap-2 border-b border-agg-separator px-3 md:gap-10 md:px-5", children: [
6590
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-4 w-16 flex-1 rounded-agg-sm md:w-20" }),
6591
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-4 w-20 shrink-0 rounded-agg-sm md:w-[120px]" }),
6592
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" }),
6593
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-4 w-16 shrink-0 rounded-agg-sm md:w-[120px]" })
5995
6594
  ] }),
5996
- /* @__PURE__ */ jsx111(MarketDetailsOrderBookRows, { side: "ask", barScales: orderBookAskBarScales }),
5997
- /* @__PURE__ */ jsxs107("div", { className: "flex h-9 items-center gap-2 border-y border-agg-separator px-3 md:gap-10 md:px-5", children: [
5998
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-5 w-24 flex-1 rounded-agg-sm" }),
5999
- /* @__PURE__ */ jsx111(SkeletonBlock, { className: "h-5 w-20 shrink-0 rounded-agg-sm" })
6595
+ /* @__PURE__ */ jsx113(MarketDetailsOrderBookRows, { side: "ask", barScales: orderBookAskBarScales }),
6596
+ /* @__PURE__ */ jsxs109("div", { className: "flex h-9 items-center gap-2 border-y border-agg-separator px-3 md:gap-10 md:px-5", children: [
6597
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-5 w-24 flex-1 rounded-agg-sm" }),
6598
+ /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-5 w-20 shrink-0 rounded-agg-sm" })
6000
6599
  ] }),
6001
- /* @__PURE__ */ jsx111(MarketDetailsOrderBookRows, { side: "bid", barScales: orderBookBidBarScales })
6600
+ /* @__PURE__ */ jsx113(MarketDetailsOrderBookRows, { side: "bid", barScales: orderBookBidBarScales })
6002
6601
  ] });
6003
6602
  };
6004
6603
  var MarketDetailsSkeletonView = ({
@@ -6006,8 +6605,8 @@ var MarketDetailsSkeletonView = ({
6006
6605
  ariaLabel,
6007
6606
  isDetailed
6008
6607
  }) => {
6009
- const labels = useLabels6();
6010
- return /* @__PURE__ */ jsxs107(
6608
+ const labels = useLabels7();
6609
+ return /* @__PURE__ */ jsxs109(
6011
6610
  Card,
6012
6611
  {
6013
6612
  className: cn("group/agg-skeleton", marketDetailsBaseCardClassName, className),
@@ -6015,12 +6614,12 @@ var MarketDetailsSkeletonView = ({
6015
6614
  "aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
6016
6615
  "aria-busy": true,
6017
6616
  children: [
6018
- /* @__PURE__ */ jsx111(MarketDetailsHeaderSkeleton, {}),
6019
- isDetailed ? /* @__PURE__ */ jsxs107(Fragment4, { children: [
6020
- /* @__PURE__ */ jsx111("div", { className: "h-px w-full bg-agg-separator" }),
6021
- /* @__PURE__ */ jsx111(MarketDetailsTabsSkeleton, {}),
6022
- /* @__PURE__ */ jsx111("div", { className: "h-px w-full bg-agg-separator" }),
6023
- /* @__PURE__ */ jsx111(MarketDetailsOderbookSkeleton, {})
6617
+ /* @__PURE__ */ jsx113(MarketDetailsHeaderSkeleton, {}),
6618
+ isDetailed ? /* @__PURE__ */ jsxs109(Fragment4, { children: [
6619
+ /* @__PURE__ */ jsx113("div", { className: "h-px w-full bg-agg-separator" }),
6620
+ /* @__PURE__ */ jsx113(MarketDetailsTabsSkeleton, {}),
6621
+ /* @__PURE__ */ jsx113("div", { className: "h-px w-full bg-agg-separator" }),
6622
+ /* @__PURE__ */ jsx113(MarketDetailsOderbookSkeleton, {})
6024
6623
  ] }) : null
6025
6624
  ]
6026
6625
  }
@@ -6028,113 +6627,137 @@ var MarketDetailsSkeletonView = ({
6028
6627
  };
6029
6628
  MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
6030
6629
 
6630
+ // src/trading/place-order/index.place-order.constants.ts
6631
+ var PLACE_ORDER_DEFAULT_AMOUNT = 20;
6632
+ var MIN_BUY_ORDER_AMOUNT = 1;
6633
+ var MIN_SELL_ORDER_SHARES = 1;
6634
+ var DEFAULT_SLIPPAGE_VALUE = "0.5";
6635
+ var HIGH_SLIPPAGE_THRESHOLD = 10;
6636
+ var PLACE_ORDER_ROUTE_COLLAPSED_CARD_COUNT = 3;
6637
+ var PLACE_ORDER_MAXIMIZE_PAYOUT_ROUTE_ID = "live-maximize-payout";
6638
+ var PLACE_ORDER_NUMERIC_INPUT_CLASS_NAME = "bg-transparent text-right text-agg-3xl font-agg-bold leading-agg-9 tracking-agg-normal text-agg-foreground outline-none";
6639
+ var PLACE_ORDER_CONTAINER_CLASS_NAME = "w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary shadow-none hover:shadow-none";
6640
+ var PLACE_ORDER_OUTCOME_BUTTON_CLASS_NAMES = {
6641
+ activeNegative: "border-agg-error/50 bg-agg-error/15 font-agg-bold text-agg-error",
6642
+ activePositive: "border-agg-success/50 bg-agg-success/15 font-agg-bold text-agg-success",
6643
+ base: "flex h-11 flex-1 items-center justify-center rounded-agg-full border px-6 text-agg-base leading-agg-6",
6644
+ inactive: "border-transparent bg-agg-secondary-hover font-agg-normal text-agg-foreground hover:bg-agg-tertiary"
6645
+ };
6646
+
6031
6647
  // src/primitives/skeleton/views/place-order-skeleton-view.tsx
6032
- import { jsx as jsx112, jsxs as jsxs108 } from "react/jsx-runtime";
6033
- var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
6648
+ import { Fragment as Fragment5, jsx as jsx114, jsxs as jsxs110 } from "react/jsx-runtime";
6034
6649
  var PlaceOrderRouteCardSkeleton = () => {
6035
- return /* @__PURE__ */ jsxs108("div", { className: "flex w-full items-center justify-between gap-4 rounded-agg-lg border border-agg-border bg-agg-secondary p-3", children: [
6036
- /* @__PURE__ */ jsxs108("div", { className: "flex items-center gap-3", children: [
6037
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "size-4 shrink-0 rounded-agg-sm" }),
6038
- /* @__PURE__ */ jsxs108("div", { className: "flex flex-col gap-2", children: [
6039
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" }),
6040
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-3 w-[91px] rounded-agg-sm" })
6650
+ return /* @__PURE__ */ jsxs110("div", { className: "flex w-full items-center justify-between gap-4 rounded-agg-lg border border-agg-border bg-agg-secondary p-3", children: [
6651
+ /* @__PURE__ */ jsxs110("div", { className: "flex items-center gap-3", children: [
6652
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "size-4 shrink-0 rounded-agg-sm" }),
6653
+ /* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-2", children: [
6654
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-10 rounded-agg-sm" }),
6655
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-3 w-[91px] rounded-agg-sm" })
6041
6656
  ] })
6042
6657
  ] }),
6043
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-5 w-[75px] shrink-0 rounded-agg-sm" })
6658
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[75px] shrink-0 rounded-agg-sm" })
6044
6659
  ] });
6045
6660
  };
6046
6661
  PlaceOrderRouteCardSkeleton.displayName = "PlaceOrderRouteCardSkeleton";
6047
6662
  var TabsSkeletonBar = () => {
6048
- return /* @__PURE__ */ jsxs108("div", { className: "flex w-full items-end border-b border-agg-border", children: [
6049
- /* @__PURE__ */ jsxs108("div", { className: "flex flex-col rounded-t-agg-lg", children: [
6050
- /* @__PURE__ */ jsx112("div", { className: "px-5 py-2", children: /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
6051
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-[2px] w-full rounded-t-agg-sm" })
6663
+ return /* @__PURE__ */ jsxs110("div", { className: "flex w-full items-end border-b border-agg-separator", children: [
6664
+ /* @__PURE__ */ jsxs110("div", { className: "relative -mb-px px-5 pb-2", children: [
6665
+ /* @__PURE__ */ jsx114("div", { className: "flex h-6 items-center", children: /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-7 rounded-agg-sm" }) }),
6666
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "absolute inset-x-0 bottom-0 h-0.5 rounded-t-agg-sm" })
6052
6667
  ] }),
6053
- /* @__PURE__ */ jsxs108("div", { className: "flex flex-col", children: [
6054
- /* @__PURE__ */ jsx112("div", { className: "px-5 py-2", children: /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
6055
- /* @__PURE__ */ jsx112("div", { className: "h-[2px] w-full" })
6056
- ] })
6668
+ /* @__PURE__ */ jsx114("div", { className: "-mb-px px-5 pb-2", children: /* @__PURE__ */ jsx114("div", { className: "flex h-6 items-center", children: /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-7 rounded-agg-sm" }) }) })
6057
6669
  ] });
6058
6670
  };
6059
6671
  var ContentBody = () => {
6060
- return /* @__PURE__ */ jsxs108("div", { className: cn("flex flex-col gap-6 p-5"), children: [
6061
- /* @__PURE__ */ jsxs108("div", { className: "flex flex-col gap-2", children: [
6062
- /* @__PURE__ */ jsxs108("div", { className: "flex min-w-0 items-center gap-3", children: [
6063
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
6064
- /* @__PURE__ */ jsxs108("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
6065
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
6066
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
6067
- ] })
6672
+ return /* @__PURE__ */ jsxs110(Fragment5, { children: [
6673
+ /* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-2", children: [
6674
+ /* @__PURE__ */ jsxs110("div", { className: "flex min-w-0 items-center gap-3", children: [
6675
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
6676
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[80%] max-w-[200px] rounded-agg-sm" })
6068
6677
  ] }),
6069
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
6070
- /* @__PURE__ */ jsx112(TabsSkeletonBar, {})
6678
+ /* @__PURE__ */ jsx114("div", { className: "flex h-6 items-center", children: /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[108px] rounded-agg-sm" }) })
6071
6679
  ] }),
6072
- /* @__PURE__ */ jsxs108("div", { className: "flex flex-col gap-4", children: [
6073
- /* @__PURE__ */ jsxs108("div", { className: "flex w-full gap-2", children: [
6074
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
6075
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
6076
- ] }),
6077
- /* @__PURE__ */ jsxs108("div", { className: "flex items-center justify-between gap-4", children: [
6078
- /* @__PURE__ */ jsxs108("div", { className: "flex flex-col gap-2", children: [
6079
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
6080
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
6680
+ /* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-6", children: [
6681
+ /* @__PURE__ */ jsx114(TabsSkeletonBar, {}),
6682
+ /* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-4", children: [
6683
+ /* @__PURE__ */ jsxs110("div", { className: "flex w-full gap-2", children: [
6684
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
6685
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
6081
6686
  ] }),
6082
- /* @__PURE__ */ jsx112("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
6687
+ /* @__PURE__ */ jsxs110("div", { className: "flex items-start justify-between gap-4", children: [
6688
+ /* @__PURE__ */ jsx114("div", { className: "flex h-6 items-center", children: /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }) }),
6689
+ /* @__PURE__ */ jsx114("div", { className: "flex h-9 items-center", children: /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-8 w-16 rounded-agg-sm" }) })
6690
+ ] })
6691
+ ] }),
6692
+ /* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-3", children: [
6693
+ /* @__PURE__ */ jsx114("div", { className: "flex h-6 items-center", children: /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[112px] rounded-agg-sm" }) }),
6694
+ /* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-2", children: [
6695
+ /* @__PURE__ */ jsx114(PlaceOrderRouteCardSkeleton, {}),
6696
+ /* @__PURE__ */ jsx114(PlaceOrderRouteCardSkeleton, {})
6697
+ ] })
6698
+ ] }),
6699
+ /* @__PURE__ */ jsxs110("div", { className: "flex flex-col gap-3", children: [
6700
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
6701
+ /* @__PURE__ */ jsxs110("div", { className: "flex h-8 flex-col items-center justify-center gap-2", children: [
6702
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-3 w-full max-w-[240px] rounded-agg-sm" }),
6703
+ /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-3 w-full max-w-[72px] rounded-agg-sm" })
6704
+ ] })
6083
6705
  ] })
6084
- ] }),
6085
- /* @__PURE__ */ jsxs108("div", { className: "flex flex-col gap-4", children: [
6086
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
6087
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-3.5 w-full max-w-[120px] self-center rounded-agg-sm" })
6088
- ] }),
6089
- /* @__PURE__ */ jsx112(SkeletonBlock, { className: "h-4 w-full max-w-[200px] self-center rounded-agg-sm" })
6706
+ ] })
6090
6707
  ] });
6091
6708
  };
6092
6709
  var PlaceOrderSkeletonView = ({
6093
6710
  className,
6094
6711
  ariaLabel
6095
6712
  }) => {
6096
- return /* @__PURE__ */ jsx112(
6713
+ return /* @__PURE__ */ jsx114(
6097
6714
  "div",
6098
6715
  {
6099
6716
  className: cn("group/agg-skeleton", "w-full", className),
6100
6717
  role: "status",
6101
6718
  "aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
6102
6719
  "aria-busy": true,
6103
- children: /* @__PURE__ */ jsx112(Card, { className: cn(placeOrderCardClassName, "w-full max-w-[342px]"), children: /* @__PURE__ */ jsx112(ContentBody, {}) })
6720
+ children: /* @__PURE__ */ jsx114(Card, { className: cn(PLACE_ORDER_CONTAINER_CLASS_NAME, "max-w-[342px] gap-6 p-5"), children: /* @__PURE__ */ jsx114(ContentBody, {}) })
6104
6721
  }
6105
6722
  );
6106
6723
  };
6107
6724
  PlaceOrderSkeletonView.displayName = "PlaceOrderSkeletonView";
6108
6725
 
6109
6726
  // src/primitives/skeleton/views/search-skeleton-view.tsx
6110
- import { useLabels as useLabels7 } from "@agg-build/hooks";
6111
- import { jsx as jsx113, jsxs as jsxs109 } from "react/jsx-runtime";
6727
+ import { useLabels as useLabels8 } from "@agg-build/hooks";
6728
+ import { jsx as jsx115, jsxs as jsxs111 } from "react/jsx-runtime";
6112
6729
  var SearchSkeletonRow = () => {
6113
- return /* @__PURE__ */ jsxs109("div", { className: "flex w-full items-center gap-6 px-5 py-4", children: [
6114
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
6115
- /* @__PURE__ */ jsxs109("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
6116
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-5 w-full max-w-[320px] rounded-agg-sm" }),
6117
- /* @__PURE__ */ jsxs109("div", { className: "flex min-w-0 items-center gap-2", children: [
6118
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-4 w-[104px] rounded-agg-sm" }),
6119
- /* @__PURE__ */ jsxs109("div", { className: "flex items-center gap-1", children: [
6120
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "size-[14px] rounded-[4px]" }),
6121
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "size-[14px] rounded-[4px]" })
6730
+ return (
6731
+ // Mirrors `.agg-search-result-button`: thumbnail + title/context, venue value, chevron.
6732
+ /* @__PURE__ */ jsxs111("div", { className: "flex w-full items-center gap-6 px-5 py-4", children: [
6733
+ /* @__PURE__ */ jsxs111("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
6734
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-md" }),
6735
+ /* @__PURE__ */ jsxs111("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
6736
+ /* @__PURE__ */ jsx115("div", { className: "flex h-6 items-center", children: /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }) }),
6737
+ /* @__PURE__ */ jsxs111("div", { className: "flex h-6 min-w-0 items-center gap-2", children: [
6738
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-4 w-[88px] rounded-agg-sm" }),
6739
+ /* @__PURE__ */ jsxs111("div", { className: "flex items-center gap-1", children: [
6740
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "size-3.5 rounded-[4px]" }),
6741
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "size-3.5 rounded-[4px]" })
6742
+ ] }),
6743
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-4 w-[64px] rounded-agg-sm" })
6744
+ ] })
6122
6745
  ] })
6123
- ] })
6124
- ] }),
6125
- /* @__PURE__ */ jsxs109("div", { className: "flex w-auto min-w-0 shrink items-center gap-2 sm:w-[200px] sm:shrink-0", children: [
6126
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "size-4 rounded-[4px]" }),
6127
- /* @__PURE__ */ jsxs109("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
6128
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }),
6129
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "hidden h-4 w-[60px] rounded-agg-sm sm:block" })
6130
- ] })
6131
- ] }),
6132
- /* @__PURE__ */ jsx113(SkeletonBlock, { className: "hidden size-5 rounded-[4px] sm:block" })
6133
- ] });
6746
+ ] }),
6747
+ /* @__PURE__ */ jsxs111("div", { className: "flex h-7 w-auto min-w-0 shrink items-center gap-2 sm:w-[200px] sm:shrink-0", children: [
6748
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "size-4 shrink-0 rounded-[4px]" }),
6749
+ /* @__PURE__ */ jsxs111("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
6750
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-12 rounded-agg-sm" }),
6751
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "hidden h-4 w-[60px] rounded-agg-sm sm:block" })
6752
+ ] })
6753
+ ] }),
6754
+ /* @__PURE__ */ jsx115(SkeletonBlock, { className: "hidden size-6 shrink-0 rounded-[4px] sm:block" })
6755
+ ] })
6756
+ );
6134
6757
  };
6135
6758
  var SearchSkeletonView = ({ className, ariaLabel }) => {
6136
- const labels = useLabels7();
6137
- return /* @__PURE__ */ jsxs109(
6759
+ const labels = useLabels8();
6760
+ return /* @__PURE__ */ jsxs111(
6138
6761
  "div",
6139
6762
  {
6140
6763
  className: cn(
@@ -6146,8 +6769,8 @@ var SearchSkeletonView = ({ className, ariaLabel }) => {
6146
6769
  "aria-label": ariaLabel != null ? ariaLabel : labels.search.loadingResults,
6147
6770
  "aria-busy": true,
6148
6771
  children: [
6149
- /* @__PURE__ */ jsx113("div", { className: "pt-2", children: Array.from({ length: 4 }).map((_, index) => /* @__PURE__ */ jsx113("div", { className: cn(index > 0 && "border-t border-agg-separator"), children: /* @__PURE__ */ jsx113(SearchSkeletonRow, {}) }, index)) }),
6150
- /* @__PURE__ */ jsx113("div", { className: "border-t border-agg-separator px-5 py-5", children: /* @__PURE__ */ jsx113(SkeletonBlock, { className: "h-5 w-[116px] rounded-agg-sm" }) })
6772
+ /* @__PURE__ */ jsx115("div", { className: "pt-2", children: Array.from({ length: 4 }).map((_, index) => /* @__PURE__ */ jsx115("div", { className: cn(index > 0 && "border-t border-agg-separator"), children: /* @__PURE__ */ jsx115(SearchSkeletonRow, {}) }, index)) }),
6773
+ /* @__PURE__ */ jsx115("div", { className: "border-t border-agg-separator px-5 py-5", children: /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-[116px] rounded-agg-sm" }) })
6151
6774
  ]
6152
6775
  }
6153
6776
  );
@@ -6155,38 +6778,54 @@ var SearchSkeletonView = ({ className, ariaLabel }) => {
6155
6778
  SearchSkeletonView.displayName = "SearchSkeletonView";
6156
6779
 
6157
6780
  // src/primitives/skeleton/views/settlement-skeleton-view.tsx
6158
- import { useLabels as useLabels8 } from "@agg-build/hooks";
6159
- import { jsx as jsx114, jsxs as jsxs110 } from "react/jsx-runtime";
6781
+ import { useLabels as useLabels9 } from "@agg-build/hooks";
6782
+ import { jsx as jsx116, jsxs as jsxs112 } from "react/jsx-runtime";
6160
6783
  var SettlementSkeletonView = ({
6161
6784
  className,
6162
6785
  ariaLabel
6163
6786
  }) => {
6164
- const labels = useLabels8();
6165
- return /* @__PURE__ */ jsxs110(
6787
+ const labels = useLabels9();
6788
+ return /* @__PURE__ */ jsxs112(
6166
6789
  Card,
6167
6790
  {
6168
6791
  className: cn(
6169
6792
  "group/agg-skeleton",
6170
- "flex flex-col w-full gap-5 rounded-agg-xl border border-agg-separator bg-agg-secondary p-5 shadow-none hover:shadow-none",
6793
+ "flex w-full flex-col items-start gap-4 rounded-agg-xl border border-agg-separator bg-agg-secondary p-5 shadow-none hover:shadow-none sm:gap-5",
6171
6794
  className
6172
6795
  ),
6173
6796
  role: "status",
6174
6797
  "aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
6175
6798
  "aria-busy": true,
6176
6799
  children: [
6177
- /* @__PURE__ */ jsxs110("div", { className: "flex w-full items-center justify-between gap-4", children: [
6178
- /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
6179
- /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[240px] max-w-[60%] rounded-agg-sm" })
6800
+ /* @__PURE__ */ jsxs112("div", { className: "flex w-full flex-col items-start gap-1 sm:flex-row sm:items-center sm:justify-between sm:gap-4", children: [
6801
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
6802
+ /* @__PURE__ */ jsx116("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-4 w-[180px] rounded-agg-sm" }) })
6180
6803
  ] }),
6181
- /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
6182
- /* @__PURE__ */ jsxs110("div", { className: "flex w-full flex-col gap-4", children: [
6183
- /* @__PURE__ */ jsxs110("div", { className: "flex items-center gap-2", children: [
6184
- /* @__PURE__ */ jsx114(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
6185
- /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
6804
+ /* @__PURE__ */ jsxs112("div", { className: "flex w-full flex-col items-start gap-5", children: [
6805
+ /* @__PURE__ */ jsxs112("div", { className: "flex w-full flex-col items-start gap-5", children: [
6806
+ /* @__PURE__ */ jsxs112("div", { className: "flex h-5 items-center gap-2", children: [
6807
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-4 w-[180px] rounded-agg-sm" }),
6808
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "size-4 rounded-agg-full" })
6809
+ ] }),
6810
+ /* @__PURE__ */ jsxs112("div", { className: "flex w-full flex-col gap-1", children: [
6811
+ /* @__PURE__ */ jsxs112("div", { className: "flex h-5 items-center gap-2", children: [
6812
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "size-3.5 rounded-agg-full" }),
6813
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-4 w-[120px] rounded-agg-sm" })
6814
+ ] }),
6815
+ /* @__PURE__ */ jsx116("div", { className: "flex flex-col pl-6", children: [0, 1, 2].map((index) => /* @__PURE__ */ jsxs112("div", { className: "flex h-6 items-center gap-2", children: [
6816
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "size-3.5 rounded-agg-sm" }),
6817
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-4 w-[72px] rounded-agg-sm" }),
6818
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "ml-6 h-4 w-[72px] rounded-agg-sm" })
6819
+ ] }, index)) })
6820
+ ] })
6186
6821
  ] }),
6187
- /* @__PURE__ */ jsxs110("div", { className: "flex items-center gap-2", children: [
6188
- /* @__PURE__ */ jsx114(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
6189
- /* @__PURE__ */ jsx114(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
6822
+ /* @__PURE__ */ jsx116("div", { className: "h-px w-full bg-agg-separator" }),
6823
+ /* @__PURE__ */ jsxs112("div", { className: "flex w-full flex-col items-start gap-4", children: [
6824
+ /* @__PURE__ */ jsx116("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-4 w-[132px] rounded-agg-sm" }) }),
6825
+ [0, 1, 2].map((index) => /* @__PURE__ */ jsxs112("div", { className: "flex h-5 items-center gap-2", children: [
6826
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "size-3.5 rounded-agg-sm" }),
6827
+ /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-4 w-[80px] rounded-agg-sm" })
6828
+ ] }, index))
6190
6829
  ] })
6191
6830
  ] })
6192
6831
  ]
@@ -6196,12 +6835,12 @@ var SettlementSkeletonView = ({
6196
6835
  SettlementSkeletonView.displayName = "SettlementSkeletonView";
6197
6836
 
6198
6837
  // src/primitives/skeleton/views/user-profile-overview-skeleton-view.tsx
6199
- import { jsx as jsx115, jsxs as jsxs111 } from "react/jsx-runtime";
6838
+ import { jsx as jsx117, jsxs as jsxs113 } from "react/jsx-runtime";
6200
6839
  var UserProfileOverviewSkeletonView = ({
6201
6840
  className,
6202
6841
  ariaLabel
6203
6842
  }) => {
6204
- return /* @__PURE__ */ jsxs111(
6843
+ return /* @__PURE__ */ jsxs113(
6205
6844
  "div",
6206
6845
  {
6207
6846
  className: cn("flex w-full flex-col gap-6 sm:flex-row", className),
@@ -6209,49 +6848,49 @@ var UserProfileOverviewSkeletonView = ({
6209
6848
  "aria-label": ariaLabel != null ? ariaLabel : "Loading profile overview",
6210
6849
  "aria-busy": "true",
6211
6850
  children: [
6212
- /* @__PURE__ */ jsxs111("div", { className: "flex min-w-0 flex-1 flex-col gap-4 sm:gap-6", children: [
6213
- /* @__PURE__ */ jsx115("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs111("div", { className: "flex w-full items-center gap-5", children: [
6214
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-20 w-20 shrink-0 rounded-agg-full sm:h-[120px] sm:w-[120px]" }),
6215
- /* @__PURE__ */ jsxs111("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
6216
- /* @__PURE__ */ jsxs111("div", { className: "flex items-center justify-between gap-3", children: [
6217
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-9 w-[140px] rounded-agg-sm" }),
6218
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" })
6851
+ /* @__PURE__ */ jsxs113("div", { className: "flex min-w-0 flex-1 flex-col gap-4 sm:gap-6", children: [
6852
+ /* @__PURE__ */ jsx117("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs113("div", { className: "flex w-full items-center gap-5", children: [
6853
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-20 w-20 shrink-0 rounded-agg-full sm:h-[120px] sm:w-[120px]" }),
6854
+ /* @__PURE__ */ jsxs113("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
6855
+ /* @__PURE__ */ jsxs113("div", { className: "flex items-center justify-between gap-3", children: [
6856
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-9 w-[140px] rounded-agg-sm" }),
6857
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" })
6219
6858
  ] }),
6220
- /* @__PURE__ */ jsxs111("div", { className: "flex items-center gap-2", children: [
6221
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
6222
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-6 w-[140px] rounded-agg-sm" }),
6223
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-[72px] rounded-agg-sm" })
6859
+ /* @__PURE__ */ jsxs113("div", { className: "flex items-center gap-2", children: [
6860
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
6861
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-6 w-[140px] rounded-agg-sm" }),
6862
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-5 w-[72px] rounded-agg-sm" })
6224
6863
  ] })
6225
6864
  ] })
6226
6865
  ] }) }),
6227
- /* @__PURE__ */ jsx115("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs111("div", { className: "flex items-center justify-between", children: [
6228
- /* @__PURE__ */ jsxs111("div", { className: "flex items-end gap-3", children: [
6229
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-9 w-[80px] rounded-agg-sm" }),
6230
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
6866
+ /* @__PURE__ */ jsx117("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ jsxs113("div", { className: "flex items-center justify-between", children: [
6867
+ /* @__PURE__ */ jsxs113("div", { className: "flex items-end gap-3", children: [
6868
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-9 w-[80px] rounded-agg-sm" }),
6869
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
6231
6870
  ] }),
6232
- /* @__PURE__ */ jsxs111("div", { className: "flex items-center gap-2", children: [
6233
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
6234
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
6235
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
6236
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" })
6871
+ /* @__PURE__ */ jsxs113("div", { className: "flex items-center gap-2", children: [
6872
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
6873
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
6874
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
6875
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" })
6237
6876
  ] })
6238
6877
  ] }) })
6239
6878
  ] }),
6240
- /* @__PURE__ */ jsxs111("div", { className: "w-full shrink-0 rounded-agg-md border border-agg-separator bg-agg-secondary p-5 sm:w-full md:w-[465px]", children: [
6241
- /* @__PURE__ */ jsxs111("div", { className: "mb-4 flex items-center justify-between", children: [
6242
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-7 w-[84px] rounded-agg-sm" }),
6243
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-7 w-[64px] rounded-agg-sm" })
6879
+ /* @__PURE__ */ jsxs113("div", { className: "w-full shrink-0 rounded-agg-md border border-agg-separator bg-agg-secondary p-5 sm:w-full md:w-[465px]", children: [
6880
+ /* @__PURE__ */ jsxs113("div", { className: "mb-4 flex items-center justify-between", children: [
6881
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-7 w-[84px] rounded-agg-sm" }),
6882
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-7 w-[64px] rounded-agg-sm" })
6244
6883
  ] }),
6245
- /* @__PURE__ */ jsx115("div", { className: "flex flex-col gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs111("div", { className: "flex items-center justify-between", children: [
6246
- /* @__PURE__ */ jsxs111("div", { className: "flex items-center gap-3", children: [
6247
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" }),
6248
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-6 w-[70px] rounded-agg-sm" })
6884
+ /* @__PURE__ */ jsx117("div", { className: "flex flex-col gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs113("div", { className: "flex items-center justify-between", children: [
6885
+ /* @__PURE__ */ jsxs113("div", { className: "flex items-center gap-3", children: [
6886
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" }),
6887
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-6 w-[70px] rounded-agg-sm" })
6249
6888
  ] }),
6250
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-6 w-[96px] rounded-agg-sm" })
6889
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-6 w-[96px] rounded-agg-sm" })
6251
6890
  ] }, index)) }),
6252
- /* @__PURE__ */ jsxs111("div", { className: "mt-4 flex gap-3", children: [
6253
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" }),
6254
- /* @__PURE__ */ jsx115(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" })
6891
+ /* @__PURE__ */ jsxs113("div", { className: "mt-4 flex gap-3", children: [
6892
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" }),
6893
+ /* @__PURE__ */ jsx117(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" })
6255
6894
  ] })
6256
6895
  ] })
6257
6896
  ]
@@ -6261,12 +6900,12 @@ var UserProfileOverviewSkeletonView = ({
6261
6900
  UserProfileOverviewSkeletonView.displayName = "UserProfileOverviewSkeletonView";
6262
6901
 
6263
6902
  // src/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.tsx
6264
- import { jsx as jsx116, jsxs as jsxs112 } from "react/jsx-runtime";
6903
+ import { jsx as jsx118, jsxs as jsxs114 } from "react/jsx-runtime";
6265
6904
  var UserProfilePositionsActivitySkeletonView = ({
6266
6905
  className,
6267
6906
  ariaLabel
6268
6907
  }) => {
6269
- return /* @__PURE__ */ jsxs112(
6908
+ return /* @__PURE__ */ jsxs114(
6270
6909
  "div",
6271
6910
  {
6272
6911
  className: cn(
@@ -6277,18 +6916,18 @@ var UserProfilePositionsActivitySkeletonView = ({
6277
6916
  "aria-label": ariaLabel != null ? ariaLabel : "Loading positions and activity",
6278
6917
  "aria-busy": "true",
6279
6918
  children: [
6280
- /* @__PURE__ */ jsx116("div", { className: "h-11 border-b border-agg-separator px-4 sm:h-12 sm:px-6", children: /* @__PURE__ */ jsxs112("div", { className: "flex h-full items-center gap-6", children: [
6281
- /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" }),
6282
- /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-6 w-[64px] rounded-agg-sm" })
6919
+ /* @__PURE__ */ jsx118("div", { className: "h-11 border-b border-agg-separator px-4 sm:h-12 sm:px-6", children: /* @__PURE__ */ jsxs114("div", { className: "flex h-full items-center gap-6", children: [
6920
+ /* @__PURE__ */ jsx118(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" }),
6921
+ /* @__PURE__ */ jsx118(SkeletonBlock, { className: "h-6 w-[64px] rounded-agg-sm" })
6283
6922
  ] }) }),
6284
- /* @__PURE__ */ jsxs112("div", { className: "flex flex-col gap-4 p-4 sm:gap-6 sm:p-6", children: [
6285
- /* @__PURE__ */ jsxs112("div", { className: "flex gap-5", children: [
6286
- /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
6287
- /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
6923
+ /* @__PURE__ */ jsxs114("div", { className: "flex flex-col gap-4 p-4 sm:gap-6 sm:p-6", children: [
6924
+ /* @__PURE__ */ jsxs114("div", { className: "flex gap-5", children: [
6925
+ /* @__PURE__ */ jsx118(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
6926
+ /* @__PURE__ */ jsx118(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
6288
6927
  ] }),
6289
- /* @__PURE__ */ jsx116("div", { className: "flex flex-col gap-3 sm:gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs112("div", { className: "flex items-center gap-5", children: [
6290
- /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
6291
- /* @__PURE__ */ jsx116(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
6928
+ /* @__PURE__ */ jsx118("div", { className: "flex flex-col gap-3 sm:gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ jsxs114("div", { className: "flex items-center gap-5", children: [
6929
+ /* @__PURE__ */ jsx118(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
6930
+ /* @__PURE__ */ jsx118(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
6292
6931
  ] }, index)) })
6293
6932
  ] })
6294
6933
  ]
@@ -6328,7 +6967,7 @@ var resolveSkeletonView = (view) => {
6328
6967
  };
6329
6968
 
6330
6969
  // src/primitives/skeleton/index.tsx
6331
- import { jsx as jsx117 } from "react/jsx-runtime";
6970
+ import { jsx as jsx119 } from "react/jsx-runtime";
6332
6971
  var Skeleton = ({
6333
6972
  view,
6334
6973
  className,
@@ -6337,38 +6976,38 @@ var Skeleton = ({
6337
6976
  }) => {
6338
6977
  const resolvedView = resolveSkeletonView(view);
6339
6978
  if (resolvedView === skeletonViews.eventListItem) {
6340
- return /* @__PURE__ */ jsx117(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
6979
+ return /* @__PURE__ */ jsx119(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
6341
6980
  }
6342
6981
  if (resolvedView === skeletonViews.eventListItemDetails) {
6343
- return /* @__PURE__ */ jsx117(EventListItemDetailsSkeletonView, { className, ariaLabel });
6982
+ return /* @__PURE__ */ jsx119(EventListItemDetailsSkeletonView, { className, ariaLabel });
6344
6983
  }
6345
6984
  if (resolvedView === skeletonViews.marketDetailsMinified) {
6346
- return /* @__PURE__ */ jsx117(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
6985
+ return /* @__PURE__ */ jsx119(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
6347
6986
  }
6348
6987
  if (resolvedView === skeletonViews.marketDetailsDetailed) {
6349
- return /* @__PURE__ */ jsx117(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
6988
+ return /* @__PURE__ */ jsx119(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
6350
6989
  }
6351
6990
  if (resolvedView === skeletonViews.settlement) {
6352
- return /* @__PURE__ */ jsx117(SettlementSkeletonView, { className, ariaLabel });
6991
+ return /* @__PURE__ */ jsx119(SettlementSkeletonView, { className, ariaLabel });
6353
6992
  }
6354
6993
  if (resolvedView === skeletonViews.placeOrder) {
6355
- return /* @__PURE__ */ jsx117(PlaceOrderSkeletonView, { className, ariaLabel });
6994
+ return /* @__PURE__ */ jsx119(PlaceOrderSkeletonView, { className, ariaLabel });
6356
6995
  }
6357
6996
  if (resolvedView === skeletonViews.search) {
6358
- return /* @__PURE__ */ jsx117(SearchSkeletonView, { className, ariaLabel });
6997
+ return /* @__PURE__ */ jsx119(SearchSkeletonView, { className, ariaLabel });
6359
6998
  }
6360
6999
  if (resolvedView === skeletonViews.userProfileOverview) {
6361
- return /* @__PURE__ */ jsx117(UserProfileOverviewSkeletonView, { className, ariaLabel });
7000
+ return /* @__PURE__ */ jsx119(UserProfileOverviewSkeletonView, { className, ariaLabel });
6362
7001
  }
6363
7002
  if (resolvedView === skeletonViews.userProfilePositionsActivity) {
6364
- return /* @__PURE__ */ jsx117(UserProfilePositionsActivitySkeletonView, { className, ariaLabel });
7003
+ return /* @__PURE__ */ jsx119(UserProfilePositionsActivitySkeletonView, { className, ariaLabel });
6365
7004
  }
6366
- return /* @__PURE__ */ jsx117(EventListSkeletonView, { className, ariaLabel, withSidebar });
7005
+ return /* @__PURE__ */ jsx119(EventListSkeletonView, { className, ariaLabel, withSidebar });
6367
7006
  };
6368
7007
  Skeleton.displayName = "Skeleton";
6369
7008
 
6370
7009
  // src/primitives/venue-logo/index.tsx
6371
- import { useLabels as useLabels9 } from "@agg-build/hooks";
7010
+ import { useLabels as useLabels10 } from "@agg-build/hooks";
6372
7011
 
6373
7012
  // src/primitives/venue-logo/venue-logo.constants.ts
6374
7013
  import { Venue as Venue11 } from "@agg-build/sdk";
@@ -6386,7 +7025,7 @@ var resolveLogoPrimaryColor = ({
6386
7025
  };
6387
7026
 
6388
7027
  // src/primitives/venue-logo/svg/default-venue.tsx
6389
- import { jsx as jsx118, jsxs as jsxs113 } from "react/jsx-runtime";
7028
+ import { jsx as jsx120, jsxs as jsxs115 } from "react/jsx-runtime";
6390
7029
  var DefaultVenueIcon = (_a) => {
6391
7030
  var _b = _a, {
6392
7031
  title: title2,
@@ -6404,7 +7043,7 @@ var DefaultVenueIcon = (_a) => {
6404
7043
  isColor,
6405
7044
  color
6406
7045
  });
6407
- return /* @__PURE__ */ jsxs113(
7046
+ return /* @__PURE__ */ jsxs115(
6408
7047
  "svg",
6409
7048
  __spreadProps(__spreadValues(__spreadValues({
6410
7049
  viewBox: "0 0 100 100",
@@ -6412,18 +7051,101 @@ var DefaultVenueIcon = (_a) => {
6412
7051
  fill: "none"
6413
7052
  }, getIconA11yProps(title2)), props), {
6414
7053
  children: [
6415
- title2 ? /* @__PURE__ */ jsx118("title", { children: title2 }) : null,
6416
- /* @__PURE__ */ jsx118("circle", { cx: "50", cy: "50", r: "45", stroke: primaryColor, strokeWidth: "6", fill: "none" }),
6417
- /* @__PURE__ */ jsx118("circle", { cx: "50", cy: "50", r: "8", fill: primaryColor })
7054
+ title2 ? /* @__PURE__ */ jsx120("title", { children: title2 }) : null,
7055
+ /* @__PURE__ */ jsx120("circle", { cx: "50", cy: "50", r: "45", stroke: primaryColor, strokeWidth: "6", fill: "none" }),
7056
+ /* @__PURE__ */ jsx120("circle", { cx: "50", cy: "50", r: "8", fill: primaryColor })
6418
7057
  ]
6419
7058
  })
6420
7059
  );
6421
7060
  };
6422
7061
 
7062
+ // src/primitives/venue-logo/svg/logo-betdex.tsx
7063
+ import { useId as useId2 } from "react";
7064
+ import { Fragment as Fragment6, jsx as jsx121, jsxs as jsxs116 } from "react/jsx-runtime";
7065
+ var BETDEX_LOGO_COLORS = {
7066
+ primary: "#32C5FF",
7067
+ middle: "#B620E0",
7068
+ end: "#F7B500",
7069
+ center: "#1C0631"
7070
+ };
7071
+ var OUTLINE = "M174.007 2.68402C182.646 -0.894677 192.354 -0.894672 200.993 2.68403L308.643 47.274C317.283 50.8527 324.147 57.717 327.726 66.3567L372.316 174.007C375.895 182.646 375.895 192.354 372.316 200.993L327.726 308.643C324.147 317.283 317.283 324.147 308.643 327.726L200.993 372.316C192.354 375.895 182.646 375.895 174.007 372.316L66.3567 327.726C57.717 324.147 50.8527 317.283 47.274 308.643L2.68402 200.993C-0.894677 192.354 -0.894672 182.646 2.68403 174.007L47.274 66.3567C50.8527 57.717 57.717 50.8527 66.3567 47.274L174.007 2.68402Z";
7072
+ var CENTER = "M165.207 272.668C153.758 243.974 131.026 221.242 102.332 209.793L101.18 209.333C81.4522 201.462 81.4522 173.538 101.18 165.667L102.332 165.207C131.026 153.758 153.758 131.026 165.207 102.332L165.667 101.18C173.538 81.4522 201.462 81.4522 209.333 101.18L209.793 102.332C221.242 131.026 243.974 153.758 272.668 165.207L273.82 165.667C293.548 173.538 293.548 201.462 273.82 209.333L272.668 209.793C243.974 221.242 221.242 243.974 209.793 272.668L209.333 273.82C201.462 293.548 173.538 293.548 165.667 273.82L165.207 272.668Z";
7073
+ var RING = "M286.278 79.1807L194.834 41.3036C190.515 39.5142 185.661 39.5142 181.341 41.3036L89.8974 79.1807C85.5776 80.9701 82.1454 84.4022 80.3561 88.7221L42.4789 180.166C40.6896 184.485 40.6896 189.339 42.4789 193.659L80.3561 285.103C82.1454 289.422 85.5775 292.855 89.8974 294.644L181.341 332.521C185.661 334.31 190.515 334.31 194.834 332.521L286.278 294.644C290.598 292.855 294.03 289.422 295.819 285.103L333.696 193.659C335.486 189.339 335.486 184.485 333.696 180.166L295.819 88.7221C294.03 84.4022 290.598 80.9701 286.278 79.1807ZM201.581 25.0155C192.941 21.4368 183.234 21.4368 174.594 25.0155L83.1507 62.8926C74.5109 66.4713 67.6467 73.3356 64.068 81.9753L26.1908 173.419C22.6121 182.059 22.6121 191.766 26.1908 200.406L64.068 291.849C67.6467 300.489 74.5109 307.353 83.1507 310.932L174.594 348.809C183.234 352.388 192.941 352.388 201.581 348.809L293.025 310.932C301.664 307.353 308.529 300.489 312.107 291.849L349.984 200.406C353.563 191.766 353.563 182.059 349.984 173.419L312.107 81.9753C308.529 73.3356 301.664 66.4713 293.025 62.8926L201.581 25.0155Z";
7074
+ function LogoBetdexIcon(_a) {
7075
+ var _b = _a, {
7076
+ title: title2,
7077
+ className,
7078
+ isColor = true,
7079
+ color
7080
+ } = _b, props = __objRest(_b, [
7081
+ "title",
7082
+ "className",
7083
+ "isColor",
7084
+ "color"
7085
+ ]);
7086
+ const gradientId = useId2();
7087
+ const primary = resolveLogoPrimaryColor({
7088
+ brandColor: BETDEX_LOGO_COLORS.primary,
7089
+ isColor,
7090
+ color
7091
+ });
7092
+ const monochrome = !isColor || !!(color == null ? void 0 : color.trim());
7093
+ return /* @__PURE__ */ jsxs116(
7094
+ "svg",
7095
+ __spreadProps(__spreadValues(__spreadValues({
7096
+ viewBox: "0 0 375 375",
7097
+ className,
7098
+ fill: "none"
7099
+ }, getIconA11yProps(title2)), props), {
7100
+ children: [
7101
+ title2 ? /* @__PURE__ */ jsx121("title", { children: title2 }) : null,
7102
+ monochrome ? /* @__PURE__ */ jsx121(
7103
+ "path",
7104
+ {
7105
+ fillRule: "evenodd",
7106
+ clipRule: "evenodd",
7107
+ d: OUTLINE + " " + CENTER + " " + RING,
7108
+ fill: primary
7109
+ }
7110
+ ) : /* @__PURE__ */ jsxs116(Fragment6, { children: [
7111
+ /* @__PURE__ */ jsx121(
7112
+ "path",
7113
+ {
7114
+ fillRule: "evenodd",
7115
+ clipRule: "evenodd",
7116
+ d: OUTLINE,
7117
+ fill: "url(#" + gradientId + ")"
7118
+ }
7119
+ ),
7120
+ /* @__PURE__ */ jsx121("path", { fillRule: "evenodd", clipRule: "evenodd", d: CENTER, fill: BETDEX_LOGO_COLORS.center }),
7121
+ /* @__PURE__ */ jsx121("path", { fillRule: "evenodd", clipRule: "evenodd", d: RING, fill: "white" }),
7122
+ /* @__PURE__ */ jsx121("defs", { children: /* @__PURE__ */ jsxs116(
7123
+ "linearGradient",
7124
+ {
7125
+ id: gradientId,
7126
+ x1: "187.5",
7127
+ y1: "-187.5",
7128
+ x2: "-187.5",
7129
+ y2: "187.5",
7130
+ gradientUnits: "userSpaceOnUse",
7131
+ children: [
7132
+ /* @__PURE__ */ jsx121("stop", { stopColor: BETDEX_LOGO_COLORS.primary }),
7133
+ /* @__PURE__ */ jsx121("stop", { offset: "0.512584", stopColor: BETDEX_LOGO_COLORS.middle }),
7134
+ /* @__PURE__ */ jsx121("stop", { offset: "1", stopColor: BETDEX_LOGO_COLORS.end })
7135
+ ]
7136
+ }
7137
+ ) })
7138
+ ] })
7139
+ ]
7140
+ })
7141
+ );
7142
+ }
7143
+ LogoBetdexIcon.displayName = "LogoBetdexIcon";
7144
+
6423
7145
  // src/primitives/venue-logo/svg/logo-hyperliquid.tsx
6424
7146
  import { useAggUiConfig } from "@agg-build/hooks";
6425
7147
  import { Venue } from "@agg-build/sdk";
6426
- import { jsx as jsx119, jsxs as jsxs114 } from "react/jsx-runtime";
7148
+ import { jsx as jsx122, jsxs as jsxs117 } from "react/jsx-runtime";
6427
7149
  var LogoHyperliquidIcon = (_a) => {
6428
7150
  var _b = _a, {
6429
7151
  title: title2,
@@ -6446,7 +7168,7 @@ var LogoHyperliquidIcon = (_a) => {
6446
7168
  isColor,
6447
7169
  color
6448
7170
  });
6449
- return /* @__PURE__ */ jsxs114(
7171
+ return /* @__PURE__ */ jsxs117(
6450
7172
  "svg",
6451
7173
  __spreadProps(__spreadValues(__spreadValues({
6452
7174
  viewBox: "0 0 100 100",
@@ -6454,8 +7176,8 @@ var LogoHyperliquidIcon = (_a) => {
6454
7176
  fill: "none"
6455
7177
  }, getIconA11yProps(title2)), props), {
6456
7178
  children: [
6457
- title2 ? /* @__PURE__ */ jsx119("title", { children: title2 }) : null,
6458
- /* @__PURE__ */ jsx119(
7179
+ title2 ? /* @__PURE__ */ jsx122("title", { children: title2 }) : null,
7180
+ /* @__PURE__ */ jsx122(
6459
7181
  "path",
6460
7182
  {
6461
7183
  d: "M82 49.2724C82 70.431 69.0516 77.2204 62.2292 71.175C56.6135 66.2457 54.9427 55.8293 46.496 54.7597C35.7752 53.4112 34.847 67.6875 27.7926 67.6875C19.578 67.6875 18 55.7363 18 49.5979C18 43.3201 19.7636 34.7636 26.7716 34.7636C34.9398 34.7636 35.4039 46.9938 45.6142 46.3427C55.7781 45.6452 55.9637 32.9034 62.5542 27.4626C68.3089 22.7658 82 27.8346 82 49.2724Z",
@@ -6471,7 +7193,7 @@ LogoHyperliquidIcon.displayName = "LogoHyperliquidIcon";
6471
7193
  // src/primitives/venue-logo/svg/logo-kalshi.tsx
6472
7194
  import { useAggUiConfig as useAggUiConfig2 } from "@agg-build/hooks";
6473
7195
  import { Venue as Venue2 } from "@agg-build/sdk";
6474
- import { jsx as jsx120, jsxs as jsxs115 } from "react/jsx-runtime";
7196
+ import { jsx as jsx123, jsxs as jsxs118 } from "react/jsx-runtime";
6475
7197
  var LogoKalshiIcon = (_a) => {
6476
7198
  var _b = _a, {
6477
7199
  title: title2,
@@ -6494,7 +7216,7 @@ var LogoKalshiIcon = (_a) => {
6494
7216
  isColor,
6495
7217
  color
6496
7218
  });
6497
- return /* @__PURE__ */ jsxs115(
7219
+ return /* @__PURE__ */ jsxs118(
6498
7220
  "svg",
6499
7221
  __spreadProps(__spreadValues(__spreadValues({
6500
7222
  viewBox: "0 0 100 100",
@@ -6502,8 +7224,8 @@ var LogoKalshiIcon = (_a) => {
6502
7224
  fill: "none"
6503
7225
  }, getIconA11yProps(title2)), props), {
6504
7226
  children: [
6505
- title2 ? /* @__PURE__ */ jsx120("title", { children: title2 }) : null,
6506
- /* @__PURE__ */ jsx120(
7227
+ title2 ? /* @__PURE__ */ jsx123("title", { children: title2 }) : null,
7228
+ /* @__PURE__ */ jsx123(
6507
7229
  "path",
6508
7230
  {
6509
7231
  d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
@@ -6519,7 +7241,7 @@ LogoKalshiIcon.displayName = "LogoKalshiIcon";
6519
7241
  // src/primitives/venue-logo/svg/logo-limitless.tsx
6520
7242
  import { useAggUiConfig as useAggUiConfig3 } from "@agg-build/hooks";
6521
7243
  import { Venue as Venue3 } from "@agg-build/sdk";
6522
- import { jsx as jsx121, jsxs as jsxs116 } from "react/jsx-runtime";
7244
+ import { jsx as jsx124, jsxs as jsxs119 } from "react/jsx-runtime";
6523
7245
  var LogoLimitlessIcon = (_a) => {
6524
7246
  var _b = _a, {
6525
7247
  title: title2,
@@ -6542,7 +7264,7 @@ var LogoLimitlessIcon = (_a) => {
6542
7264
  isColor,
6543
7265
  color
6544
7266
  });
6545
- return /* @__PURE__ */ jsxs116(
7267
+ return /* @__PURE__ */ jsxs119(
6546
7268
  "svg",
6547
7269
  __spreadProps(__spreadValues(__spreadValues({
6548
7270
  viewBox: "0 0 100 100",
@@ -6550,8 +7272,8 @@ var LogoLimitlessIcon = (_a) => {
6550
7272
  fill: "none"
6551
7273
  }, getIconA11yProps(title2)), props), {
6552
7274
  children: [
6553
- title2 ? /* @__PURE__ */ jsx121("title", { children: title2 }) : null,
6554
- /* @__PURE__ */ jsx121(
7275
+ title2 ? /* @__PURE__ */ jsx124("title", { children: title2 }) : null,
7276
+ /* @__PURE__ */ jsx124(
6555
7277
  "path",
6556
7278
  {
6557
7279
  d: "M78.2762 44.4662H67.7966L81.9152 30.0554L82 29.9706L76.8528 24.8176H62.8524V21.6803C62.8524 19.6513 61.2036 18 59.1777 18H44.1555C42.1297 18 40.4809 19.6513 40.4809 21.6803V48.171H21.7238C19.6979 48.171 18.0491 49.8223 18.0491 51.8512C18.0491 53.8804 19.6979 55.5317 21.7238 55.5317H32.2034L18.0848 69.9379L18 70.0227L23.145 75.1755H37.1476V78.3195C37.1476 80.3487 38.7964 82 40.8222 82H55.8444C57.8703 82 59.5191 80.3487 59.5191 78.3195V51.8267H78.2762C80.3021 51.8267 81.9509 50.1754 81.9509 48.1464C81.9509 46.1175 80.3021 44.4662 78.2762 44.4662ZM57.9886 78.3173C57.9886 79.5018 57.0269 80.4647 55.8444 80.4647C54.6619 80.4647 53.7003 79.5018 53.7003 78.3173V57.2411L38.2096 73.0506L35.1752 70.0137L50.8712 54.0009H36.7459C35.5634 54.0009 34.6018 53.0377 34.6018 51.8535C34.6018 50.6692 35.5634 49.7038 36.7459 49.7038H54.8204C56.5673 49.7038 57.9886 51.1273 57.9886 52.8769V78.3195V78.3173ZM78.2762 50.2938H60.2018C58.4549 50.2938 57.0336 48.8704 57.0336 47.1208V21.6781C57.0336 20.4938 57.9953 19.5307 59.1777 19.5307C60.3602 19.5307 61.3241 20.4938 61.3241 21.6781V42.7544L76.8126 26.9403L79.847 29.9772L64.1509 45.9968H78.2762C79.4587 45.9968 80.4204 46.9599 80.4204 48.1442C80.4204 49.3285 79.4587 50.2916 78.2762 50.2916V50.2938Z",
@@ -6567,7 +7289,7 @@ LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
6567
7289
  // src/primitives/venue-logo/svg/logo-myriad.tsx
6568
7290
  import { useAggUiConfig as useAggUiConfig4 } from "@agg-build/hooks";
6569
7291
  import { Venue as Venue4 } from "@agg-build/sdk";
6570
- import { jsx as jsx122, jsxs as jsxs117 } from "react/jsx-runtime";
7292
+ import { jsx as jsx125, jsxs as jsxs120 } from "react/jsx-runtime";
6571
7293
  var LogoMyriadIcon = (_a) => {
6572
7294
  var _b = _a, {
6573
7295
  title: title2,
@@ -6590,7 +7312,7 @@ var LogoMyriadIcon = (_a) => {
6590
7312
  isColor,
6591
7313
  color
6592
7314
  });
6593
- return /* @__PURE__ */ jsxs117(
7315
+ return /* @__PURE__ */ jsxs120(
6594
7316
  "svg",
6595
7317
  __spreadProps(__spreadValues(__spreadValues({
6596
7318
  viewBox: "0 0 100 100",
@@ -6598,8 +7320,8 @@ var LogoMyriadIcon = (_a) => {
6598
7320
  fill: "none"
6599
7321
  }, getIconA11yProps(title2)), props), {
6600
7322
  children: [
6601
- title2 ? /* @__PURE__ */ jsx122("title", { children: title2 }) : null,
6602
- /* @__PURE__ */ jsx122(
7323
+ title2 ? /* @__PURE__ */ jsx125("title", { children: title2 }) : null,
7324
+ /* @__PURE__ */ jsx125(
6603
7325
  "path",
6604
7326
  {
6605
7327
  d: "M24.356 52.5901C24.1479 52.8348 24.0342 53.1458 24.0352 53.467L24.0394 64.9354V68.672H44.3882V58.5767H32.5776L55.2898 31.713C55.4979 31.4683 55.6116 31.1573 55.6107 30.8361V19.3656C55.6107 18.093 54.0108 17.5155 53.1874 18.4887L24.356 52.5901ZM75.9594 31.3259V35.0646L75.9637 46.533C75.9637 46.8538 75.8504 47.1639 75.6429 47.4099L46.8137 81.5113C45.9902 82.4845 44.3925 81.907 44.3925 80.6344V69.1617C44.3925 68.8409 44.5059 68.5329 44.7133 68.287L67.4234 41.4233H55.6128V31.328L75.9594 31.3259Z",
@@ -6615,7 +7337,7 @@ LogoMyriadIcon.displayName = "LogoMyriadIcon";
6615
7337
  // src/primitives/venue-logo/svg/logo-novig.tsx
6616
7338
  import { useAggUiConfig as useAggUiConfig5 } from "@agg-build/hooks";
6617
7339
  import { Venue as Venue5 } from "@agg-build/sdk";
6618
- import { jsx as jsx123, jsxs as jsxs118 } from "react/jsx-runtime";
7340
+ import { jsx as jsx126, jsxs as jsxs121 } from "react/jsx-runtime";
6619
7341
  var LogoNovigIcon = (_a) => {
6620
7342
  var _b = _a, {
6621
7343
  title: title2,
@@ -6638,7 +7360,7 @@ var LogoNovigIcon = (_a) => {
6638
7360
  isColor,
6639
7361
  color
6640
7362
  });
6641
- return /* @__PURE__ */ jsxs118(
7363
+ return /* @__PURE__ */ jsxs121(
6642
7364
  "svg",
6643
7365
  __spreadProps(__spreadValues(__spreadValues({
6644
7366
  viewBox: "0 0 100 100",
@@ -6646,12 +7368,12 @@ var LogoNovigIcon = (_a) => {
6646
7368
  fill: "none"
6647
7369
  }, getIconA11yProps(title2)), props), {
6648
7370
  children: [
6649
- title2 ? /* @__PURE__ */ jsx123("title", { children: title2 }) : null,
6650
- /* @__PURE__ */ jsxs118("g", { stroke: primaryColor, strokeWidth: 19.3, strokeLinecap: "round", strokeLinejoin: "round", children: [
6651
- /* @__PURE__ */ jsx123("path", { d: "M33.6 34.7L64.2 65.4" }),
6652
- /* @__PURE__ */ jsx123("path", { d: "M64.2 34.7V65.4" })
7371
+ title2 ? /* @__PURE__ */ jsx126("title", { children: title2 }) : null,
7372
+ /* @__PURE__ */ jsxs121("g", { stroke: primaryColor, strokeWidth: 19.3, strokeLinecap: "round", strokeLinejoin: "round", children: [
7373
+ /* @__PURE__ */ jsx126("path", { d: "M33.6 34.7L64.2 65.4" }),
7374
+ /* @__PURE__ */ jsx126("path", { d: "M64.2 34.7V65.4" })
6653
7375
  ] }),
6654
- /* @__PURE__ */ jsx123("circle", { cx: 32.2, cy: 65.5, r: 9.65, fill: primaryColor })
7376
+ /* @__PURE__ */ jsx126("circle", { cx: 32.2, cy: 65.5, r: 9.65, fill: primaryColor })
6655
7377
  ]
6656
7378
  })
6657
7379
  );
@@ -6661,7 +7383,7 @@ LogoNovigIcon.displayName = "LogoNovigIcon";
6661
7383
  // src/primitives/venue-logo/svg/logo-opinion.tsx
6662
7384
  import { useAggUiConfig as useAggUiConfig6 } from "@agg-build/hooks";
6663
7385
  import { Venue as Venue6 } from "@agg-build/sdk";
6664
- import { jsx as jsx124, jsxs as jsxs119 } from "react/jsx-runtime";
7386
+ import { jsx as jsx127, jsxs as jsxs122 } from "react/jsx-runtime";
6665
7387
  var LogoOpinionIcon = (_a) => {
6666
7388
  var _b = _a, {
6667
7389
  title: title2,
@@ -6684,7 +7406,7 @@ var LogoOpinionIcon = (_a) => {
6684
7406
  isColor,
6685
7407
  color
6686
7408
  });
6687
- return /* @__PURE__ */ jsxs119(
7409
+ return /* @__PURE__ */ jsxs122(
6688
7410
  "svg",
6689
7411
  __spreadProps(__spreadValues(__spreadValues({
6690
7412
  viewBox: "0 0 100 100",
@@ -6692,8 +7414,8 @@ var LogoOpinionIcon = (_a) => {
6692
7414
  fill: "none"
6693
7415
  }, getIconA11yProps(title2)), props), {
6694
7416
  children: [
6695
- title2 ? /* @__PURE__ */ jsx124("title", { children: title2 }) : null,
6696
- /* @__PURE__ */ jsx124(
7417
+ title2 ? /* @__PURE__ */ jsx127("title", { children: title2 }) : null,
7418
+ /* @__PURE__ */ jsx127(
6697
7419
  "path",
6698
7420
  {
6699
7421
  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",
@@ -6709,7 +7431,7 @@ LogoOpinionIcon.displayName = "LogoOpinionIcon";
6709
7431
  // src/primitives/venue-logo/svg/logo-polymarket.tsx
6710
7432
  import { useAggUiConfig as useAggUiConfig7 } from "@agg-build/hooks";
6711
7433
  import { Venue as Venue7 } from "@agg-build/sdk";
6712
- import { jsx as jsx125, jsxs as jsxs120 } from "react/jsx-runtime";
7434
+ import { jsx as jsx128, jsxs as jsxs123 } from "react/jsx-runtime";
6713
7435
  var LogoPolymarketIcon = (_a) => {
6714
7436
  var _b = _a, {
6715
7437
  title: title2,
@@ -6732,7 +7454,7 @@ var LogoPolymarketIcon = (_a) => {
6732
7454
  isColor,
6733
7455
  color
6734
7456
  });
6735
- return /* @__PURE__ */ jsxs120(
7457
+ return /* @__PURE__ */ jsxs123(
6736
7458
  "svg",
6737
7459
  __spreadProps(__spreadValues(__spreadValues({
6738
7460
  viewBox: "0 0 100 100",
@@ -6740,8 +7462,8 @@ var LogoPolymarketIcon = (_a) => {
6740
7462
  fill: "none"
6741
7463
  }, getIconA11yProps(title2)), props), {
6742
7464
  children: [
6743
- title2 ? /* @__PURE__ */ jsx125("title", { children: title2 }) : null,
6744
- /* @__PURE__ */ jsx125(
7465
+ title2 ? /* @__PURE__ */ jsx128("title", { children: title2 }) : null,
7466
+ /* @__PURE__ */ jsx128(
6745
7467
  "path",
6746
7468
  {
6747
7469
  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",
@@ -6756,7 +7478,7 @@ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
6756
7478
 
6757
7479
  // src/primitives/venue-logo/svg/logo-pred.tsx
6758
7480
  import { useAggUiConfig as useAggUiConfig8 } from "@agg-build/hooks";
6759
- import { jsx as jsx126, jsxs as jsxs121 } from "react/jsx-runtime";
7481
+ import { jsx as jsx129, jsxs as jsxs124 } from "react/jsx-runtime";
6760
7482
  var PRED_LOGO_COLORS = { light: "#120C06", dark: "#F4FB37" };
6761
7483
  var LogoPredIcon = (_a) => {
6762
7484
  var _b = _a, {
@@ -6779,7 +7501,7 @@ var LogoPredIcon = (_a) => {
6779
7501
  isColor,
6780
7502
  color
6781
7503
  });
6782
- return /* @__PURE__ */ jsxs121(
7504
+ return /* @__PURE__ */ jsxs124(
6783
7505
  "svg",
6784
7506
  __spreadProps(__spreadValues(__spreadValues({
6785
7507
  viewBox: "0 0 48 48",
@@ -6787,15 +7509,15 @@ var LogoPredIcon = (_a) => {
6787
7509
  fill: "none"
6788
7510
  }, getIconA11yProps(title2)), props), {
6789
7511
  children: [
6790
- title2 ? /* @__PURE__ */ jsx126("title", { children: title2 }) : null,
6791
- /* @__PURE__ */ jsx126(
7512
+ title2 ? /* @__PURE__ */ jsx129("title", { children: title2 }) : null,
7513
+ /* @__PURE__ */ jsx129(
6792
7514
  "path",
6793
7515
  {
6794
7516
  d: "M13.2063 24.447L30.8869 21.6235L31.7298 19.898L4 10.4414L10.9436 16.4694L5.95218 41.9708L13.2063 24.447Z",
6795
7517
  fill: primaryColor
6796
7518
  }
6797
7519
  ),
6798
- /* @__PURE__ */ jsx126(
7520
+ /* @__PURE__ */ jsx129(
6799
7521
  "path",
6800
7522
  {
6801
7523
  d: "M34.3927 24.0014L16.7121 26.8473L15.8691 28.5504L43.599 38.0294L36.6554 31.979L41.6468 6.5L34.3927 24.0014Z",
@@ -6811,7 +7533,7 @@ LogoPredIcon.displayName = "LogoPredIcon";
6811
7533
  // src/primitives/venue-logo/svg/logo-predict.tsx
6812
7534
  import { useAggUiConfig as useAggUiConfig9 } from "@agg-build/hooks";
6813
7535
  import { Venue as Venue8 } from "@agg-build/sdk";
6814
- import { jsx as jsx127, jsxs as jsxs122 } from "react/jsx-runtime";
7536
+ import { jsx as jsx130, jsxs as jsxs125 } from "react/jsx-runtime";
6815
7537
  var LogoPredictIcon = (_a) => {
6816
7538
  var _b = _a, {
6817
7539
  title: title2,
@@ -6834,7 +7556,7 @@ var LogoPredictIcon = (_a) => {
6834
7556
  isColor,
6835
7557
  color
6836
7558
  });
6837
- return /* @__PURE__ */ jsxs122(
7559
+ return /* @__PURE__ */ jsxs125(
6838
7560
  "svg",
6839
7561
  __spreadProps(__spreadValues(__spreadValues({
6840
7562
  viewBox: "0 0 100 100",
@@ -6842,8 +7564,8 @@ var LogoPredictIcon = (_a) => {
6842
7564
  fill: "none"
6843
7565
  }, getIconA11yProps(title2)), props), {
6844
7566
  children: [
6845
- title2 ? /* @__PURE__ */ jsx127("title", { children: title2 }) : null,
6846
- /* @__PURE__ */ jsx127(
7567
+ title2 ? /* @__PURE__ */ jsx130("title", { children: title2 }) : null,
7568
+ /* @__PURE__ */ jsx130(
6847
7569
  "path",
6848
7570
  {
6849
7571
  fillRule: "evenodd",
@@ -6861,7 +7583,7 @@ LogoPredictIcon.displayName = "LogoPredictIcon";
6861
7583
  // src/primitives/venue-logo/svg/logo-probable.tsx
6862
7584
  import { useAggUiConfig as useAggUiConfig10 } from "@agg-build/hooks";
6863
7585
  import { Venue as Venue9 } from "@agg-build/sdk";
6864
- import { jsx as jsx128, jsxs as jsxs123 } from "react/jsx-runtime";
7586
+ import { jsx as jsx131, jsxs as jsxs126 } from "react/jsx-runtime";
6865
7587
  var LogoProbableIcon = (_a) => {
6866
7588
  var _b = _a, {
6867
7589
  title: title2,
@@ -6884,7 +7606,7 @@ var LogoProbableIcon = (_a) => {
6884
7606
  isColor,
6885
7607
  color
6886
7608
  });
6887
- return /* @__PURE__ */ jsxs123(
7609
+ return /* @__PURE__ */ jsxs126(
6888
7610
  "svg",
6889
7611
  __spreadProps(__spreadValues(__spreadValues({
6890
7612
  viewBox: "0 0 100 100",
@@ -6892,16 +7614,16 @@ var LogoProbableIcon = (_a) => {
6892
7614
  fill: "none"
6893
7615
  }, getIconA11yProps(title2)), props), {
6894
7616
  children: [
6895
- title2 ? /* @__PURE__ */ jsx128("title", { children: title2 }) : null,
6896
- /* @__PURE__ */ jsx128(
7617
+ title2 ? /* @__PURE__ */ jsx131("title", { children: title2 }) : null,
7618
+ /* @__PURE__ */ jsx131(
6897
7619
  "path",
6898
7620
  {
6899
7621
  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",
6900
7622
  fill: primaryColor
6901
7623
  }
6902
7624
  ),
6903
- /* @__PURE__ */ jsx128("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
6904
- /* @__PURE__ */ jsx128(
7625
+ /* @__PURE__ */ jsx131("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
7626
+ /* @__PURE__ */ jsx131(
6905
7627
  "path",
6906
7628
  {
6907
7629
  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",
@@ -6917,8 +7639,8 @@ LogoProbableIcon.displayName = "LogoProbableIcon";
6917
7639
  // src/primitives/venue-logo/svg/logo-prophetx.tsx
6918
7640
  import { useAggUiConfig as useAggUiConfig11 } from "@agg-build/hooks";
6919
7641
  import { Venue as Venue10 } from "@agg-build/sdk";
6920
- import { useId } from "react";
6921
- import { jsx as jsx129, jsxs as jsxs124 } from "react/jsx-runtime";
7642
+ import { useId as useId3 } from "react";
7643
+ import { jsx as jsx132, jsxs as jsxs127 } from "react/jsx-runtime";
6922
7644
  var LogoProphetXIcon = (_a) => {
6923
7645
  var _b = _a, {
6924
7646
  title: title2,
@@ -6936,7 +7658,7 @@ var LogoProphetXIcon = (_a) => {
6936
7658
  general: { theme }
6937
7659
  } = useAggUiConfig11();
6938
7660
  const isDarkTheme = theme === "dark";
6939
- const uid = useId();
7661
+ const uid = useId3();
6940
7662
  const primaryColor = resolveLogoPrimaryColor({
6941
7663
  // First stop of the official gradient — see `lineColorByVenue`.
6942
7664
  brandColor: (_a2 = resolveVenueLineColor(Venue10.prophetx, isDarkTheme)) != null ? _a2 : "#1DC29A",
@@ -6946,7 +7668,7 @@ var LogoProphetXIcon = (_a) => {
6946
7668
  const isMonochrome = !isColor || Boolean(color == null ? void 0 : color.trim());
6947
7669
  const gradientTransform = "matrix(2.750846, 0, 0, 2.750846, -1935.152964, 138.485876)";
6948
7670
  const fillFor = (n) => isMonochrome ? primaryColor : `url(#${uid}-${n})`;
6949
- return /* @__PURE__ */ jsxs124(
7671
+ return /* @__PURE__ */ jsxs127(
6950
7672
  "svg",
6951
7673
  __spreadProps(__spreadValues(__spreadValues({
6952
7674
  viewBox: "81.867 138.419 424.492 272.214",
@@ -6954,9 +7676,9 @@ var LogoProphetXIcon = (_a) => {
6954
7676
  fill: "none"
6955
7677
  }, getIconA11yProps(title2)), props), {
6956
7678
  children: [
6957
- title2 ? /* @__PURE__ */ jsx129("title", { children: title2 }) : null,
6958
- isMonochrome ? null : /* @__PURE__ */ jsxs124("defs", { children: [
6959
- /* @__PURE__ */ jsxs124(
7679
+ title2 ? /* @__PURE__ */ jsx132("title", { children: title2 }) : null,
7680
+ isMonochrome ? null : /* @__PURE__ */ jsxs127("defs", { children: [
7681
+ /* @__PURE__ */ jsxs127(
6960
7682
  "linearGradient",
6961
7683
  {
6962
7684
  id: `${uid}-0`,
@@ -6967,14 +7689,14 @@ var LogoProphetXIcon = (_a) => {
6967
7689
  gradientUnits: "userSpaceOnUse",
6968
7690
  gradientTransform,
6969
7691
  children: [
6970
- /* @__PURE__ */ jsx129("stop", { stopColor: "#1DC29A" }),
6971
- /* @__PURE__ */ jsx129("stop", { offset: "0.1032", stopColor: "#19BE9D" }),
6972
- /* @__PURE__ */ jsx129("stop", { offset: "0.6255", stopColor: "#06ADAA" }),
6973
- /* @__PURE__ */ jsx129("stop", { offset: "1", stopColor: "#00A7AF" })
7692
+ /* @__PURE__ */ jsx132("stop", { stopColor: "#1DC29A" }),
7693
+ /* @__PURE__ */ jsx132("stop", { offset: "0.1032", stopColor: "#19BE9D" }),
7694
+ /* @__PURE__ */ jsx132("stop", { offset: "0.6255", stopColor: "#06ADAA" }),
7695
+ /* @__PURE__ */ jsx132("stop", { offset: "1", stopColor: "#00A7AF" })
6974
7696
  ]
6975
7697
  }
6976
7698
  ),
6977
- /* @__PURE__ */ jsxs124(
7699
+ /* @__PURE__ */ jsxs127(
6978
7700
  "linearGradient",
6979
7701
  {
6980
7702
  id: `${uid}-1`,
@@ -6985,12 +7707,12 @@ var LogoProphetXIcon = (_a) => {
6985
7707
  gradientUnits: "userSpaceOnUse",
6986
7708
  gradientTransform,
6987
7709
  children: [
6988
- /* @__PURE__ */ jsx129("stop", { stopColor: "#1DC29A" }),
6989
- /* @__PURE__ */ jsx129("stop", { offset: "1", stopColor: "#00A7AF" })
7710
+ /* @__PURE__ */ jsx132("stop", { stopColor: "#1DC29A" }),
7711
+ /* @__PURE__ */ jsx132("stop", { offset: "1", stopColor: "#00A7AF" })
6990
7712
  ]
6991
7713
  }
6992
7714
  ),
6993
- /* @__PURE__ */ jsxs124(
7715
+ /* @__PURE__ */ jsxs127(
6994
7716
  "linearGradient",
6995
7717
  {
6996
7718
  id: `${uid}-2`,
@@ -7001,29 +7723,29 @@ var LogoProphetXIcon = (_a) => {
7001
7723
  gradientUnits: "userSpaceOnUse",
7002
7724
  gradientTransform,
7003
7725
  children: [
7004
- /* @__PURE__ */ jsx129("stop", { stopColor: "#1DC29A" }),
7005
- /* @__PURE__ */ jsx129("stop", { offset: "0.3631", stopColor: "#18BD9E" }),
7006
- /* @__PURE__ */ jsx129("stop", { offset: "0.802", stopColor: "#09AFA8" }),
7007
- /* @__PURE__ */ jsx129("stop", { offset: "1", stopColor: "#00A7AF" })
7726
+ /* @__PURE__ */ jsx132("stop", { stopColor: "#1DC29A" }),
7727
+ /* @__PURE__ */ jsx132("stop", { offset: "0.3631", stopColor: "#18BD9E" }),
7728
+ /* @__PURE__ */ jsx132("stop", { offset: "0.802", stopColor: "#09AFA8" }),
7729
+ /* @__PURE__ */ jsx132("stop", { offset: "1", stopColor: "#00A7AF" })
7008
7730
  ]
7009
7731
  }
7010
7732
  )
7011
7733
  ] }),
7012
- /* @__PURE__ */ jsx129(
7734
+ /* @__PURE__ */ jsx132(
7013
7735
  "path",
7014
7736
  {
7015
7737
  d: "M 282.449 326.493 L 332.847 402.716 L 426.472 402.716 L 344.879 279.66 L 282.449 326.493 Z",
7016
7738
  fill: fillFor(0)
7017
7739
  }
7018
7740
  ),
7019
- /* @__PURE__ */ jsx129(
7741
+ /* @__PURE__ */ jsx132(
7020
7742
  "path",
7021
7743
  {
7022
7744
  d: "M 379.966 146.995 L 389.569 161.125 L 313.636 218.145 L 307.055 222.927 L 244.624 269.759 L 238 274.873 L 162.069 331.56 L 152.804 317.473 L 87.353 402.71 L 209.197 402.71 L 199.888 388.287 L 275.818 331.56 L 282.443 326.488 L 344.873 279.655 L 351.456 274.832 L 427.388 218.145 L 436.694 232.232 L 502.101 146.995 L 379.966 146.995 Z",
7023
7745
  fill: fillFor(1)
7024
7746
  }
7025
7747
  ),
7026
- /* @__PURE__ */ jsx129(
7748
+ /* @__PURE__ */ jsx132(
7027
7749
  "path",
7028
7750
  {
7029
7751
  d: "M 162.993 146.995 L 244.624 269.759 L 307.055 222.927 L 256.323 146.995 L 162.993 146.995 Z",
@@ -7036,6 +7758,45 @@ var LogoProphetXIcon = (_a) => {
7036
7758
  };
7037
7759
  LogoProphetXIcon.displayName = "LogoProphetXIcon";
7038
7760
 
7761
+ // src/primitives/venue-logo/svg/logo-tiprun.tsx
7762
+ import { jsx as jsx133, jsxs as jsxs128 } from "react/jsx-runtime";
7763
+ var TIPRUN_LOGO_COLOR = "#FF6B1A";
7764
+ var LogoTiprunIcon = (_a) => {
7765
+ var _b = _a, {
7766
+ title: title2,
7767
+ className,
7768
+ isColor = true,
7769
+ color
7770
+ } = _b, props = __objRest(_b, [
7771
+ "title",
7772
+ "className",
7773
+ "isColor",
7774
+ "color"
7775
+ ]);
7776
+ const primaryColor = resolveLogoPrimaryColor({
7777
+ brandColor: TIPRUN_LOGO_COLOR,
7778
+ isColor,
7779
+ color
7780
+ });
7781
+ return /* @__PURE__ */ jsxs128(
7782
+ "svg",
7783
+ __spreadProps(__spreadValues(__spreadValues({
7784
+ viewBox: "0 0 1024 1024",
7785
+ className,
7786
+ fill: "none"
7787
+ }, getIconA11yProps(title2)), props), {
7788
+ children: [
7789
+ title2 ? /* @__PURE__ */ jsx133("title", { children: title2 }) : null,
7790
+ /* @__PURE__ */ jsx133("path", { d: "M979.996 43.9453H43.9531V160.951H979.996V43.9453Z", fill: primaryColor }),
7791
+ /* @__PURE__ */ jsx133("path", { d: "M277.974 316.977H160.969V980.007H277.974V316.977Z", fill: primaryColor }),
7792
+ /* @__PURE__ */ jsx133("path", { d: "M570.458 147.953H453.453V979.991H570.458V147.953Z", fill: primaryColor }),
7793
+ /* @__PURE__ */ jsx133("path", { d: "M862.99 316.977H745.984V980.007H862.99V316.977Z", fill: primaryColor })
7794
+ ]
7795
+ })
7796
+ );
7797
+ };
7798
+ LogoTiprunIcon.displayName = "LogoTiprunIcon";
7799
+
7039
7800
  // src/primitives/venue-logo/venue-logo.constants.ts
7040
7801
  var venueLogoRegistry = {
7041
7802
  [Venue11.kalshi]: LogoKalshiIcon,
@@ -7043,12 +7804,14 @@ var venueLogoRegistry = {
7043
7804
  [Venue11.opinion]: LogoOpinionIcon,
7044
7805
  [Venue11.polymarket]: LogoPolymarketIcon,
7045
7806
  [Venue11.pred]: LogoPredIcon,
7807
+ [Venue11.tiprun]: LogoTiprunIcon,
7046
7808
  [Venue11.predict]: LogoPredictIcon,
7047
7809
  [Venue11.probable]: LogoProbableIcon,
7048
7810
  [Venue11.myriad]: LogoMyriadIcon,
7049
7811
  [Venue11.hyperliquid]: LogoHyperliquidIcon,
7050
7812
  [Venue11.novig]: LogoNovigIcon,
7051
- [Venue11.prophetx]: LogoProphetXIcon
7813
+ [Venue11.prophetx]: LogoProphetXIcon,
7814
+ [Venue11.betdex]: LogoBetdexIcon
7052
7815
  };
7053
7816
  var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
7054
7817
  var DEFAULT_VENUE_LOGO_URL = `${VENUE_LOGO_BASE_URL}/default.png`;
@@ -7060,6 +7823,7 @@ var venueLogoUrlRegistry = {
7060
7823
  // PRED does not yet have a mirrored Snag asset. Its official production
7061
7824
  // favicon is the same square brand mark used by the application itself.
7062
7825
  [Venue11.pred]: "https://mainnet-assets.pred.app/assets/vite-oruAfoK1.svg",
7826
+ [Venue11.tiprun]: "https://app.tiprun.fun/favicon.svg",
7063
7827
  [Venue11.predict]: `${VENUE_LOGO_BASE_URL}/predict.png`,
7064
7828
  [Venue11.probable]: `${VENUE_LOGO_BASE_URL}/probable.png`,
7065
7829
  [Venue11.myriad]: `${VENUE_LOGO_BASE_URL}/myriad.png`,
@@ -7068,7 +7832,8 @@ var venueLogoUrlRegistry = {
7068
7832
  // Uploaded 2026-09-01 — re-verified live at 200 (50,962 bytes, image/png).
7069
7833
  // It returned 403 on 2026-08-26, so this row was a known gap; it is not any
7070
7834
  // more, and the `variant="logo"` image path now works for ProphetX.
7071
- [Venue11.prophetx]: `${VENUE_LOGO_BASE_URL}/prophetx.png`
7835
+ [Venue11.prophetx]: `${VENUE_LOGO_BASE_URL}/prophetx.png`,
7836
+ [Venue11.betdex]: "https://developers.betdex.com/mintlify-assets/_mintlify/favicons/betdex-3f84c3fa/TWK9zgQ98DFlYOZB/_generated/favicon/android-chrome-192x192.png"
7072
7837
  };
7073
7838
  var venueLogoLabels = {
7074
7839
  [Venue11.kalshi]: "Kalshi",
@@ -7076,12 +7841,14 @@ var venueLogoLabels = {
7076
7841
  [Venue11.opinion]: "Opinion",
7077
7842
  [Venue11.polymarket]: "Polymarket",
7078
7843
  [Venue11.pred]: "PRED",
7844
+ [Venue11.tiprun]: "Tip Run",
7079
7845
  [Venue11.predict]: "Predict",
7080
7846
  [Venue11.probable]: "Probable",
7081
7847
  [Venue11.myriad]: "Myriad",
7082
7848
  [Venue11.hyperliquid]: "Hyperliquid",
7083
7849
  [Venue11.novig]: "Novig",
7084
- [Venue11.prophetx]: "ProphetX"
7850
+ [Venue11.prophetx]: "ProphetX",
7851
+ [Venue11.betdex]: "BETDEX"
7085
7852
  };
7086
7853
  var DEFAULT_VENUE_LABEL = "Market";
7087
7854
  var venueLogoNames = Object.keys(venueLogoRegistry);
@@ -7098,6 +7865,7 @@ var lineColorByVenue = {
7098
7865
  [Venue11.polymarket]: "#2E5CFF",
7099
7866
  // On light surfaces use the dark half of PRED's official yellow/dark mark.
7100
7867
  [Venue11.pred]: PRED_LOGO_COLORS.light,
7868
+ [Venue11.tiprun]: TIPRUN_LOGO_COLOR,
7101
7869
  [Venue11.predict]: "#6D57F8",
7102
7870
  [Venue11.probable]: "#F05923",
7103
7871
  [Venue11.myriad]: "#000000",
@@ -7110,7 +7878,8 @@ var lineColorByVenue = {
7110
7878
  // mark is a gradient, so any single value is a choice: the green end reads
7111
7879
  // on both themes where the teal end goes muddy on dark, and it is the stop
7112
7880
  // all three of the asset's gradients start from.
7113
- [Venue11.prophetx]: "#1DC29A"
7881
+ [Venue11.prophetx]: "#1DC29A",
7882
+ [Venue11.betdex]: BETDEX_LOGO_COLORS.primary
7114
7883
  },
7115
7884
  dark: {
7116
7885
  [Venue11.kalshi]: "#00D295",
@@ -7118,12 +7887,14 @@ var lineColorByVenue = {
7118
7887
  [Venue11.opinion]: "#FFFFFF",
7119
7888
  [Venue11.polymarket]: "#2E5CFF",
7120
7889
  [Venue11.pred]: PRED_LOGO_COLORS.dark,
7890
+ [Venue11.tiprun]: TIPRUN_LOGO_COLOR,
7121
7891
  [Venue11.predict]: "#6D57F8",
7122
7892
  [Venue11.probable]: "#F05923",
7123
7893
  [Venue11.myriad]: "#FFFFFF",
7124
7894
  [Venue11.hyperliquid]: "#97FCE4",
7125
7895
  [Venue11.novig]: "#179BE7",
7126
- [Venue11.prophetx]: "#1DC29A"
7896
+ [Venue11.prophetx]: "#1DC29A",
7897
+ [Venue11.betdex]: BETDEX_LOGO_COLORS.primary
7127
7898
  }
7128
7899
  };
7129
7900
  var resolveVenueLineColor = (venue, isDarkTheme) => {
@@ -7162,7 +7933,7 @@ var resolveVenueLogoIsColor = ({
7162
7933
  };
7163
7934
 
7164
7935
  // src/primitives/venue-logo/index.tsx
7165
- import { jsx as jsx130 } from "react/jsx-runtime";
7936
+ import { jsx as jsx134 } from "react/jsx-runtime";
7166
7937
  var VenueLogo = ({
7167
7938
  venue,
7168
7939
  variant = "icon",
@@ -7175,7 +7946,7 @@ var VenueLogo = ({
7175
7946
  title: title2
7176
7947
  }) => {
7177
7948
  var _a, _b;
7178
- const labels = useLabels9();
7949
+ const labels = useLabels10();
7179
7950
  const sizeClass = sizeClasses2[size];
7180
7951
  const resolvedLabel = resolveVenueLogoLabel({
7181
7952
  ariaLabel,
@@ -7188,7 +7959,7 @@ var VenueLogo = ({
7188
7959
  console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
7189
7960
  }
7190
7961
  if (variant === "logo") {
7191
- return /* @__PURE__ */ jsx130(
7962
+ return /* @__PURE__ */ jsx134(
7192
7963
  RemoteImage,
7193
7964
  {
7194
7965
  src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
@@ -7203,7 +7974,7 @@ var VenueLogo = ({
7203
7974
  isColor,
7204
7975
  isMonochromatic
7205
7976
  });
7206
- return /* @__PURE__ */ jsx130(
7977
+ return /* @__PURE__ */ jsx134(
7207
7978
  Component2,
7208
7979
  {
7209
7980
  className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
@@ -7528,7 +8299,7 @@ var resolveYesOutcome = (market) => {
7528
8299
  var formatMarketProbabilityPercent = (value, formatPercent = formatWholePercent) => {
7529
8300
  const probability = normalizeProbability(value);
7530
8301
  if (probability == null) return "-";
7531
- const formattedValue = formatPercent(probability);
8302
+ const formattedValue = formatPercent(Number(probability.toFixed(12)));
7532
8303
  if (probability > 0 && formattedValue === formatPercent(0)) {
7533
8304
  return "<1%";
7534
8305
  }
@@ -7744,7 +8515,7 @@ var mapVenueEventToSearchResult = (event, labels, formatPercent, formatCompactCu
7744
8515
  };
7745
8516
 
7746
8517
  // src/primitives/search/index.tsx
7747
- import { Fragment as Fragment5, jsx as jsx131, jsxs as jsxs125 } from "react/jsx-runtime";
8518
+ import { Fragment as Fragment7, jsx as jsx135, jsxs as jsxs129 } from "react/jsx-runtime";
7748
8519
  var SearchResultRow = ({
7749
8520
  item,
7750
8521
  resultAria,
@@ -7758,7 +8529,7 @@ var SearchResultRow = ({
7758
8529
  const handleResultPointerDown = (event) => {
7759
8530
  event.preventDefault();
7760
8531
  };
7761
- return /* @__PURE__ */ jsxs125(
8532
+ return /* @__PURE__ */ jsxs129(
7762
8533
  "button",
7763
8534
  {
7764
8535
  type: "button",
@@ -7776,8 +8547,8 @@ var SearchResultRow = ({
7776
8547
  onClick: handleResultClick,
7777
8548
  "aria-label": resultAria(item.title),
7778
8549
  children: [
7779
- /* @__PURE__ */ jsxs125("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
7780
- /* @__PURE__ */ jsx131(
8550
+ /* @__PURE__ */ jsxs129("div", { className: "agg-search-result-content flex min-w-0 flex-1 items-center gap-4", children: [
8551
+ /* @__PURE__ */ jsx135(
7781
8552
  RemoteImage,
7782
8553
  {
7783
8554
  src: item.thumbnailSrc,
@@ -7789,8 +8560,8 @@ var SearchResultRow = ({
7789
8560
  )
7790
8561
  }
7791
8562
  ),
7792
- /* @__PURE__ */ jsxs125("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
7793
- /* @__PURE__ */ jsx131(
8563
+ /* @__PURE__ */ jsxs129("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
8564
+ /* @__PURE__ */ jsx135(
7794
8565
  "p",
7795
8566
  {
7796
8567
  className: cn(
@@ -7801,8 +8572,8 @@ var SearchResultRow = ({
7801
8572
  children: item.title
7802
8573
  }
7803
8574
  ),
7804
- /* @__PURE__ */ jsxs125("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
7805
- /* @__PURE__ */ jsx131(
8575
+ /* @__PURE__ */ jsxs129("div", { className: "agg-search-result-context flex min-w-0 items-center gap-2 text-agg-muted-foreground", children: [
8576
+ /* @__PURE__ */ jsx135(
7806
8577
  "p",
7807
8578
  {
7808
8579
  className: cn(
@@ -7812,7 +8583,7 @@ var SearchResultRow = ({
7812
8583
  children: item.marketSummaryLabel
7813
8584
  }
7814
8585
  ),
7815
- /* @__PURE__ */ jsx131("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx131(
8586
+ /* @__PURE__ */ jsx135("div", { className: "flex items-center gap-1", "aria-hidden": true, children: item.visibleVenues.map((venue) => /* @__PURE__ */ jsx135(
7816
8587
  VenueLogo,
7817
8588
  {
7818
8589
  venue,
@@ -7822,9 +8593,9 @@ var SearchResultRow = ({
7822
8593
  },
7823
8594
  `${item.id}-${venue}`
7824
8595
  )) }),
7825
- item.volumeLabel ? /* @__PURE__ */ jsxs125(Fragment5, { children: [
7826
- /* @__PURE__ */ jsx131("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
7827
- /* @__PURE__ */ jsx131(
8596
+ item.volumeLabel ? /* @__PURE__ */ jsxs129(Fragment7, { children: [
8597
+ /* @__PURE__ */ jsx135("span", { className: "text-agg-muted-foreground", "aria-hidden": true, children: "\xB7" }),
8598
+ /* @__PURE__ */ jsx135(
7828
8599
  "p",
7829
8600
  {
7830
8601
  className: cn(
@@ -7838,7 +8609,7 @@ var SearchResultRow = ({
7838
8609
  ] })
7839
8610
  ] })
7840
8611
  ] }),
7841
- /* @__PURE__ */ jsxs125(
8612
+ /* @__PURE__ */ jsxs129(
7842
8613
  "div",
7843
8614
  {
7844
8615
  className: cn(
@@ -7846,9 +8617,9 @@ var SearchResultRow = ({
7846
8617
  classNames == null ? void 0 : classNames.resultMeta
7847
8618
  ),
7848
8619
  children: [
7849
- /* @__PURE__ */ jsx131(VenueLogo, { venue: item.venue, size: "small" }),
7850
- /* @__PURE__ */ jsxs125("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
7851
- item.isValueLoading ? /* @__PURE__ */ jsx131(
8620
+ /* @__PURE__ */ jsx135(VenueLogo, { venue: item.venue, size: "small" }),
8621
+ /* @__PURE__ */ jsxs129("div", { className: "flex min-w-0 flex-1 items-baseline gap-2", children: [
8622
+ item.isValueLoading ? /* @__PURE__ */ jsx135(
7852
8623
  "span",
7853
8624
  {
7854
8625
  "aria-hidden": "true",
@@ -7857,7 +8628,7 @@ var SearchResultRow = ({
7857
8628
  "h-5 w-12 shrink-0 rounded-agg-sm bg-agg-separator animate-pulse"
7858
8629
  )
7859
8630
  }
7860
- ) : /* @__PURE__ */ jsx131(
8631
+ ) : /* @__PURE__ */ jsx135(
7861
8632
  "p",
7862
8633
  {
7863
8634
  className: cn(
@@ -7868,7 +8639,7 @@ var SearchResultRow = ({
7868
8639
  children: item.valueLabel
7869
8640
  }
7870
8641
  ),
7871
- /* @__PURE__ */ jsx131(
8642
+ /* @__PURE__ */ jsx135(
7872
8643
  "p",
7873
8644
  {
7874
8645
  className: cn(
@@ -7882,7 +8653,7 @@ var SearchResultRow = ({
7882
8653
  ]
7883
8654
  }
7884
8655
  ),
7885
- /* @__PURE__ */ jsx131(
8656
+ /* @__PURE__ */ jsx135(
7886
8657
  Icon,
7887
8658
  {
7888
8659
  name: "chevron-right",
@@ -7905,7 +8676,7 @@ var SearchSeeAllResultsButton = ({
7905
8676
  const handlePointerDown = (event) => {
7906
8677
  event.preventDefault();
7907
8678
  };
7908
- return /* @__PURE__ */ jsxs125(
8679
+ return /* @__PURE__ */ jsxs129(
7909
8680
  "button",
7910
8681
  {
7911
8682
  type: "button",
@@ -7919,8 +8690,8 @@ var SearchSeeAllResultsButton = ({
7919
8690
  onPointerDown: handlePointerDown,
7920
8691
  onClick,
7921
8692
  children: [
7922
- /* @__PURE__ */ jsx131("span", { children: label2 }),
7923
- /* @__PURE__ */ jsx131(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
8693
+ /* @__PURE__ */ jsx135("span", { children: label2 }),
8694
+ /* @__PURE__ */ jsx135(Icon, { name: "chevron-right", size: "small", className: "size-[14px] text-agg-primary" })
7924
8695
  ]
7925
8696
  }
7926
8697
  );
@@ -7933,21 +8704,22 @@ var Search = ({
7933
8704
  onSelectEvent,
7934
8705
  onSeeAllEvents
7935
8706
  }) => {
7936
- const labels = useLabels10();
8707
+ const labels = useLabels11();
7937
8708
  const {
7938
8709
  search: searchConfig,
7939
8710
  features: { enableAnimations },
7940
8711
  formatting: { formatCompactCurrency, formatPercent }
7941
- } = useSdkUiConfig10();
8712
+ } = useSdkUiConfig11();
7942
8713
  const resolvedValue = searchConfig.value;
7943
8714
  const trimmedValue = resolvedValue.trim();
7944
- const [debouncedSearchValue, setDebouncedSearchValue] = useState7(() => {
8715
+ const [debouncedSearchValue, setDebouncedSearchValue] = useState8(() => {
7945
8716
  return trimmedValue.length >= MIN_SEARCH_LENGTH ? trimmedValue : "";
7946
8717
  });
7947
- const [isFocused, setIsFocused] = useState7(false);
8718
+ const [isFocused, setIsFocused] = useState8(false);
7948
8719
  const shouldSearchValue = trimmedValue.length >= MIN_SEARCH_LENGTH;
8720
+ const shouldRenderDropdown = isFocused && shouldSearchValue && !searchConfig.result && !searchConfig.isShowingAllResults;
7949
8721
  const shouldFetchResults = isFocused && debouncedSearchValue.length >= MIN_SEARCH_LENGTH && !searchConfig.result && !searchConfig.isShowingAllResults;
7950
- useEffect6(() => {
8722
+ useEffect8(() => {
7951
8723
  if (!shouldSearchValue) {
7952
8724
  setDebouncedSearchValue("");
7953
8725
  return;
@@ -7962,6 +8734,7 @@ var Search = ({
7962
8734
  const { data: searchResults, isLoading } = useSearch({
7963
8735
  q: shouldFetchResults ? debouncedSearchValue : "",
7964
8736
  type: "events",
8737
+ mode: "instant",
7965
8738
  categoryIds,
7966
8739
  // Server-side open-only: without it a query whose top results are
7967
8740
  // resolved history (recurring series) returns a full page that
@@ -7972,20 +8745,22 @@ var Search = ({
7972
8745
  limit: limit != null ? limit : DEFAULT_SEARCH_LIMIT,
7973
8746
  enabled: shouldFetchResults
7974
8747
  });
7975
- const openEvents = useMemo5(
8748
+ const openEvents = useMemo6(
7976
8749
  () => filterOpenEvents(searchResults),
7977
8750
  [searchResults]
7978
8751
  );
7979
- const visibleVenueMarkets = useMemo5(
7980
- () => openEvents.flatMap((event) => {
8752
+ const visibleVenueMarkets = useMemo6(
8753
+ // Search keeps cached results after dismissal. Hidden rows must not retain
8754
+ // live-store observers or request midpoint fallbacks for those results.
8755
+ () => shouldRenderDropdown && !isLoading ? openEvents.flatMap((event) => {
7981
8756
  var _a;
7982
8757
  return (_a = event.venueMarkets) != null ? _a : [];
7983
- }),
7984
- [openEvents]
8758
+ }) : [],
8759
+ [isLoading, openEvents, shouldRenderDropdown]
7985
8760
  );
7986
8761
  const livePrices = useLiveOutcomePrices(visibleVenueMarkets);
7987
8762
  const midpointResult = useMidpoints(visibleVenueMarkets);
7988
- const searchDisplayPrices = useMemo5(() => {
8763
+ const searchDisplayPrices = useMemo6(() => {
7989
8764
  if (!midpointResult.bestMidpointsByOutcomeId.size) return livePrices;
7990
8765
  if (!livePrices.size) return midpointResult.bestMidpointsByOutcomeId;
7991
8766
  const merged = new Map(midpointResult.bestMidpointsByOutcomeId);
@@ -7994,7 +8769,7 @@ var Search = ({
7994
8769
  }
7995
8770
  return merged;
7996
8771
  }, [livePrices, midpointResult.bestMidpointsByOutcomeId]);
7997
- const { validatedResults, eventsByResultId } = useMemo5(() => {
8772
+ const { validatedResults, eventsByResultId } = useMemo6(() => {
7998
8773
  const nextEventsByResultId = /* @__PURE__ */ new Map();
7999
8774
  const nextResults = openEvents.map((event) => {
8000
8775
  const item = mapVenueEventToSearchResult(
@@ -8024,13 +8799,12 @@ var Search = ({
8024
8799
  searchDisplayPrices
8025
8800
  ]);
8026
8801
  const hasSearchValue = trimmedValue.length > 0;
8027
- const shouldRenderDropdown = isFocused && shouldSearchValue && !searchConfig.result && !searchConfig.isShowingAllResults;
8028
8802
  const resolvedIsActive = isFocused;
8029
8803
  const shouldRenderLoadingState = shouldRenderDropdown && isLoading;
8030
8804
  const shouldRenderNoResults = shouldRenderDropdown && !isLoading && !validatedResults.length;
8031
8805
  const shouldRenderResults = shouldRenderDropdown && !isLoading && !!validatedResults.length;
8032
8806
  const shouldRenderShortcut = !isFocused && !hasSearchValue && !(inputProps == null ? void 0 : inputProps.disabled);
8033
- const inputRef = useRef6(null);
8807
+ const inputRef = useRef8(null);
8034
8808
  const handleSlashKey = useCallback3((event) => {
8035
8809
  var _a;
8036
8810
  if (event.key !== "/") return;
@@ -8040,7 +8814,7 @@ var Search = ({
8040
8814
  event.preventDefault();
8041
8815
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8042
8816
  }, []);
8043
- useEffect6(() => {
8817
+ useEffect8(() => {
8044
8818
  document.addEventListener("keydown", handleSlashKey);
8045
8819
  return () => {
8046
8820
  document.removeEventListener("keydown", handleSlashKey);
@@ -8089,14 +8863,14 @@ var Search = ({
8089
8863
  event.preventDefault();
8090
8864
  handleSeeAllResults();
8091
8865
  };
8092
- return /* @__PURE__ */ jsxs125(
8866
+ return /* @__PURE__ */ jsxs129(
8093
8867
  "div",
8094
8868
  {
8095
8869
  className: cn("group/agg-search", "relative flex w-full flex-col", classNames == null ? void 0 : classNames.root),
8096
8870
  onFocusCapture: handleFocusWithin,
8097
8871
  onBlurCapture: handleBlurWithin,
8098
8872
  children: [
8099
- /* @__PURE__ */ jsx131("label", { className: "w-full", children: /* @__PURE__ */ jsxs125(
8873
+ /* @__PURE__ */ jsx135("label", { className: "w-full", children: /* @__PURE__ */ jsxs129(
8100
8874
  "div",
8101
8875
  {
8102
8876
  className: cn(
@@ -8112,7 +8886,7 @@ var Search = ({
8112
8886
  ),
8113
8887
  onClick: handleFocusWithin,
8114
8888
  children: [
8115
- /* @__PURE__ */ jsx131(
8889
+ /* @__PURE__ */ jsx135(
8116
8890
  Icon,
8117
8891
  {
8118
8892
  name: "search",
@@ -8120,7 +8894,7 @@ var Search = ({
8120
8894
  className: cn("text-agg-muted-foreground", classNames == null ? void 0 : classNames.searchIcon)
8121
8895
  }
8122
8896
  ),
8123
- /* @__PURE__ */ jsx131(
8897
+ /* @__PURE__ */ jsx135(
8124
8898
  "input",
8125
8899
  __spreadProps(__spreadValues({}, inputProps), {
8126
8900
  ref: inputRef,
@@ -8141,11 +8915,11 @@ var Search = ({
8141
8915
  )
8142
8916
  })
8143
8917
  ),
8144
- shouldRenderShortcut ? /* @__PURE__ */ jsx131("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx131("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
8918
+ shouldRenderShortcut ? /* @__PURE__ */ jsx135("div", { className: "agg-search-shortcut hidden md:flex size-6 shrink-0 items-center justify-center rounded-[4px] bg-agg-secondary-hover", children: /* @__PURE__ */ jsx135("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-muted-foreground", children: "/" }) }) : null
8145
8919
  ]
8146
8920
  }
8147
8921
  ) }),
8148
- shouldRenderLoadingState ? /* @__PURE__ */ jsx131(
8922
+ shouldRenderLoadingState ? /* @__PURE__ */ jsx135(
8149
8923
  "div",
8150
8924
  {
8151
8925
  className: cn(
@@ -8155,10 +8929,10 @@ var Search = ({
8155
8929
  "mt-1",
8156
8930
  classNames == null ? void 0 : classNames.emptyState
8157
8931
  ),
8158
- children: /* @__PURE__ */ jsx131(Skeleton, { view: "search" })
8932
+ children: /* @__PURE__ */ jsx135(Skeleton, { view: "search" })
8159
8933
  }
8160
8934
  ) : null,
8161
- shouldRenderResults ? /* @__PURE__ */ jsx131(
8935
+ shouldRenderResults ? /* @__PURE__ */ jsx135(
8162
8936
  "div",
8163
8937
  {
8164
8938
  className: cn(
@@ -8168,7 +8942,7 @@ var Search = ({
8168
8942
  "mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary pt-2 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
8169
8943
  classNames == null ? void 0 : classNames.dropdown
8170
8944
  ),
8171
- children: /* @__PURE__ */ jsxs125(
8945
+ children: /* @__PURE__ */ jsxs129(
8172
8946
  "ul",
8173
8947
  {
8174
8948
  className: cn(
@@ -8178,7 +8952,7 @@ var Search = ({
8178
8952
  role: "listbox",
8179
8953
  "aria-label": labels.search.resultsAria,
8180
8954
  children: [
8181
- validatedResults.map((item, index) => /* @__PURE__ */ jsx131(
8955
+ validatedResults.map((item, index) => /* @__PURE__ */ jsx135(
8182
8956
  "li",
8183
8957
  {
8184
8958
  role: "presentation",
@@ -8187,7 +8961,7 @@ var Search = ({
8187
8961
  index > 0 && "border-t border-agg-separator",
8188
8962
  classNames == null ? void 0 : classNames.resultItem
8189
8963
  ),
8190
- children: /* @__PURE__ */ jsx131(
8964
+ children: /* @__PURE__ */ jsx135(
8191
8965
  SearchResultRow,
8192
8966
  {
8193
8967
  item,
@@ -8199,12 +8973,12 @@ var Search = ({
8199
8973
  },
8200
8974
  item.id
8201
8975
  )),
8202
- /* @__PURE__ */ jsx131(
8976
+ /* @__PURE__ */ jsx135(
8203
8977
  "li",
8204
8978
  {
8205
8979
  role: "presentation",
8206
8980
  className: "agg-search-result-item border-t border-agg-separator",
8207
- children: /* @__PURE__ */ jsx131(
8981
+ children: /* @__PURE__ */ jsx135(
8208
8982
  SearchSeeAllResultsButton,
8209
8983
  {
8210
8984
  label: labels.search.seeAllResults,
@@ -8218,7 +8992,7 @@ var Search = ({
8218
8992
  )
8219
8993
  }
8220
8994
  ) : null,
8221
- shouldRenderNoResults ? /* @__PURE__ */ jsx131(
8995
+ shouldRenderNoResults ? /* @__PURE__ */ jsx135(
8222
8996
  "div",
8223
8997
  {
8224
8998
  className: cn(
@@ -8228,7 +9002,7 @@ var Search = ({
8228
9002
  "mt-1 w-full overflow-hidden rounded-agg-xl border border-agg-separator bg-agg-secondary py-10 shadow-[0px_8px_16px_0px_rgba(0,0,0,0.1)]",
8229
9003
  classNames == null ? void 0 : classNames.emptyState
8230
9004
  ),
8231
- children: /* @__PURE__ */ jsxs125(
9005
+ children: /* @__PURE__ */ jsxs129(
8232
9006
  "div",
8233
9007
  {
8234
9008
  className: cn(
@@ -8238,15 +9012,15 @@ var Search = ({
8238
9012
  role: "status",
8239
9013
  "aria-live": "polite",
8240
9014
  children: [
8241
- /* @__PURE__ */ jsx131(
9015
+ /* @__PURE__ */ jsx135(
8242
9016
  SearchEmptyIcon,
8243
9017
  {
8244
9018
  className: cn("h-10 w-10 text-agg-muted-foreground", classNames == null ? void 0 : classNames.emptyStateIcon),
8245
9019
  "aria-hidden": true
8246
9020
  }
8247
9021
  ),
8248
- /* @__PURE__ */ jsxs125("div", { className: "flex flex-col items-center gap-1 text-center", children: [
8249
- /* @__PURE__ */ jsx131(
9022
+ /* @__PURE__ */ jsxs129("div", { className: "flex flex-col items-center gap-1 text-center", children: [
9023
+ /* @__PURE__ */ jsx135(
8250
9024
  "p",
8251
9025
  {
8252
9026
  className: cn(
@@ -8257,7 +9031,7 @@ var Search = ({
8257
9031
  children: labels.search.noResultsTitle
8258
9032
  }
8259
9033
  ),
8260
- /* @__PURE__ */ jsx131(
9034
+ /* @__PURE__ */ jsx135(
8261
9035
  "p",
8262
9036
  {
8263
9037
  className: cn(
@@ -8307,7 +9081,7 @@ var resolveHeaderSearchContent = ({
8307
9081
  };
8308
9082
 
8309
9083
  // src/primitives/header/index.tsx
8310
- import { Fragment as Fragment6, jsx as jsx132, jsxs as jsxs126 } from "react/jsx-runtime";
9084
+ import { Fragment as Fragment8, jsx as jsx136, jsxs as jsxs130 } from "react/jsx-runtime";
8311
9085
  var Header = ({
8312
9086
  logo,
8313
9087
  logoHref,
@@ -8320,8 +9094,8 @@ var Header = ({
8320
9094
  sticky = true,
8321
9095
  "aria-label": ariaLabel
8322
9096
  }) => {
8323
- const labels = useLabels11();
8324
- const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx132(
9097
+ const labels = useLabels12();
9098
+ const logoContent = isHeaderLogoProps(logo) ? /* @__PURE__ */ jsx136(
8325
9099
  "img",
8326
9100
  {
8327
9101
  src: logo.src,
@@ -8330,14 +9104,14 @@ var Header = ({
8330
9104
  height: logo.height,
8331
9105
  className: cn("block max-h-full", classNames == null ? void 0 : classNames.logoElement)
8332
9106
  }
8333
- ) : logo !== void 0 ? /* @__PURE__ */ jsx132("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx132(
9107
+ ) : logo !== void 0 ? /* @__PURE__ */ jsx136("span", { className: classNames == null ? void 0 : classNames.logoElement, children: logo }) : /* @__PURE__ */ jsx136(
8334
9108
  AggLogo,
8335
9109
  {
8336
9110
  className: cn("h-6 w-auto text-agg-foreground", classNames == null ? void 0 : classNames.logoElement),
8337
9111
  title: labels.header.logoAria
8338
9112
  }
8339
9113
  );
8340
- const wrappedLogo = logoHref ? /* @__PURE__ */ jsx132(
9114
+ const wrappedLogo = logoHref ? /* @__PURE__ */ jsx136(
8341
9115
  "a",
8342
9116
  {
8343
9117
  href: logoHref,
@@ -8346,7 +9120,7 @@ var Header = ({
8346
9120
  onClick: onLogoClick,
8347
9121
  children: logoContent
8348
9122
  }
8349
- ) : onLogoClick ? /* @__PURE__ */ jsx132(
9123
+ ) : onLogoClick ? /* @__PURE__ */ jsx136(
8350
9124
  "button",
8351
9125
  {
8352
9126
  type: "button",
@@ -8358,13 +9132,13 @@ var Header = ({
8358
9132
  onClick: onLogoClick,
8359
9133
  children: logoContent
8360
9134
  }
8361
- ) : /* @__PURE__ */ jsx132("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
9135
+ ) : /* @__PURE__ */ jsx136("div", { className: classNames == null ? void 0 : classNames.logoWrapper, children: logoContent });
8362
9136
  const searchContent = resolveHeaderSearchContent({
8363
9137
  search,
8364
9138
  searchProps,
8365
- renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx132(Search, __spreadValues({}, nextSearchProps))
9139
+ renderSearch: (nextSearchProps) => /* @__PURE__ */ jsx136(Search, __spreadValues({}, nextSearchProps))
8366
9140
  });
8367
- return /* @__PURE__ */ jsx132(Fragment6, { children: /* @__PURE__ */ jsx132(
9141
+ return /* @__PURE__ */ jsx136(Fragment8, { children: /* @__PURE__ */ jsx136(
8368
9142
  "header",
8369
9143
  {
8370
9144
  role: "banner",
@@ -8373,7 +9147,7 @@ var Header = ({
8373
9147
  fallbackLabel: labels.header.bannerAria
8374
9148
  }),
8375
9149
  className: cn(baseHeaderClasses, sticky && stickyHeaderClasses, classNames == null ? void 0 : classNames.root),
8376
- children: /* @__PURE__ */ jsxs126(
9150
+ children: /* @__PURE__ */ jsxs130(
8377
9151
  "div",
8378
9152
  {
8379
9153
  className: cn(
@@ -8388,7 +9162,7 @@ var Header = ({
8388
9162
  classNames == null ? void 0 : classNames.inner
8389
9163
  ),
8390
9164
  children: [
8391
- /* @__PURE__ */ jsxs126(
9165
+ /* @__PURE__ */ jsxs130(
8392
9166
  "div",
8393
9167
  {
8394
9168
  className: cn(
@@ -8404,7 +9178,7 @@ var Header = ({
8404
9178
  ]
8405
9179
  }
8406
9180
  ),
8407
- searchContent ? /* @__PURE__ */ jsx132(
9181
+ searchContent ? /* @__PURE__ */ jsx136(
8408
9182
  "div",
8409
9183
  {
8410
9184
  className: cn(
@@ -8415,7 +9189,7 @@ var Header = ({
8415
9189
  children: searchContent
8416
9190
  }
8417
9191
  ) : null,
8418
- /* @__PURE__ */ jsx132(
9192
+ /* @__PURE__ */ jsx136(
8419
9193
  "div",
8420
9194
  {
8421
9195
  className: cn(
@@ -8478,7 +9252,7 @@ var resolveInlineAlertHasAction = ({
8478
9252
  };
8479
9253
 
8480
9254
  // src/primitives/inline-alert/index.tsx
8481
- import { jsx as jsx133, jsxs as jsxs127 } from "react/jsx-runtime";
9255
+ import { jsx as jsx137, jsxs as jsxs131 } from "react/jsx-runtime";
8482
9256
  var InlineAlert = ({
8483
9257
  tone = INLINE_ALERT_DEFAULT_TONE,
8484
9258
  variant,
@@ -8492,7 +9266,7 @@ var InlineAlert = ({
8492
9266
  const resolvedVariant = resolveInlineAlertVariant({ tone, variant });
8493
9267
  const hasAction = resolveInlineAlertHasAction({ actionLabel, onAction });
8494
9268
  const { ariaLive, role } = INLINE_ALERT_LIVE_REGION_CONFIG[tone];
8495
- return /* @__PURE__ */ jsxs127(
9269
+ return /* @__PURE__ */ jsxs131(
8496
9270
  "div",
8497
9271
  {
8498
9272
  className: cn(
@@ -8504,7 +9278,7 @@ var InlineAlert = ({
8504
9278
  "aria-live": ariaLive,
8505
9279
  "aria-label": ariaLabel,
8506
9280
  children: [
8507
- /* @__PURE__ */ jsx133(
9281
+ /* @__PURE__ */ jsx137(
8508
9282
  Icon,
8509
9283
  {
8510
9284
  name: INLINE_ALERT_TONE_ICON_NAME[tone],
@@ -8512,14 +9286,14 @@ var InlineAlert = ({
8512
9286
  "aria-hidden": "true"
8513
9287
  }
8514
9288
  ),
8515
- /* @__PURE__ */ jsx133(
9289
+ /* @__PURE__ */ jsx137(
8516
9290
  "div",
8517
9291
  {
8518
9292
  className: cn(
8519
9293
  "min-w-0",
8520
9294
  resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
8521
9295
  ),
8522
- children: /* @__PURE__ */ jsxs127(
9296
+ children: /* @__PURE__ */ jsxs131(
8523
9297
  "div",
8524
9298
  {
8525
9299
  className: cn(
@@ -8528,14 +9302,14 @@ var InlineAlert = ({
8528
9302
  resolvedVariant === "plain" && !hasAction ? "items-center" : null
8529
9303
  ),
8530
9304
  children: [
8531
- title2 ? /* @__PURE__ */ jsx133("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
8532
- /* @__PURE__ */ jsx133("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
9305
+ title2 ? /* @__PURE__ */ jsx137("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title2 }) : null,
9306
+ /* @__PURE__ */ jsx137("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground wrap-break-word", children: message })
8533
9307
  ]
8534
9308
  }
8535
9309
  )
8536
9310
  }
8537
9311
  ),
8538
- hasAction ? /* @__PURE__ */ jsx133(
9312
+ hasAction ? /* @__PURE__ */ jsx137(
8539
9313
  "button",
8540
9314
  {
8541
9315
  type: "button",
@@ -8555,7 +9329,7 @@ var InlineAlert = ({
8555
9329
  InlineAlert.displayName = "InlineAlert";
8556
9330
 
8557
9331
  // src/primitives/loading-icon/index.tsx
8558
- import { useLabels as useLabels12, useSdkUiConfig as useSdkUiConfig11 } from "@agg-build/hooks";
9332
+ import { useLabels as useLabels13, useSdkUiConfig as useSdkUiConfig12 } from "@agg-build/hooks";
8559
9333
 
8560
9334
  // src/primitives/loading-icon/loading-icon.constants.ts
8561
9335
  var LOADING_ICON_DEFAULT_SIZE = "medium";
@@ -8573,18 +9347,18 @@ var resolveLoadingIconAriaLabel = ({
8573
9347
  };
8574
9348
 
8575
9349
  // src/primitives/loading-icon/index.tsx
8576
- import { Fragment as Fragment7, jsx as jsx134, jsxs as jsxs128 } from "react/jsx-runtime";
9350
+ import { Fragment as Fragment9, jsx as jsx138, jsxs as jsxs132 } from "react/jsx-runtime";
8577
9351
  var LoadingIcon = ({
8578
9352
  size = LOADING_ICON_DEFAULT_SIZE,
8579
9353
  variant = "default",
8580
9354
  className,
8581
9355
  ariaLabel
8582
9356
  }) => {
8583
- const labels = useLabels12();
9357
+ const labels = useLabels13();
8584
9358
  const {
8585
9359
  features: { enableAnimations }
8586
- } = useSdkUiConfig11();
8587
- return /* @__PURE__ */ jsx134(
9360
+ } = useSdkUiConfig12();
9361
+ return /* @__PURE__ */ jsx138(
8588
9362
  "span",
8589
9363
  {
8590
9364
  role: "status",
@@ -8597,7 +9371,7 @@ var LoadingIcon = ({
8597
9371
  "inline-grid place-items-center text-agg-primary will-change-transform",
8598
9372
  className
8599
9373
  ),
8600
- children: /* @__PURE__ */ jsx134("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx134(
9374
+ children: /* @__PURE__ */ jsx138("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx138(
8601
9375
  "svg",
8602
9376
  {
8603
9377
  viewBox: LOADING_ICON_SVG_VIEW_BOX,
@@ -8605,8 +9379,8 @@ var LoadingIcon = ({
8605
9379
  "block",
8606
9380
  variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
8607
9381
  ),
8608
- children: variant === "prominent" ? /* @__PURE__ */ jsxs128("g", { children: [
8609
- enableAnimations ? /* @__PURE__ */ jsx134(
9382
+ children: variant === "prominent" ? /* @__PURE__ */ jsxs132("g", { children: [
9383
+ enableAnimations ? /* @__PURE__ */ jsx138(
8610
9384
  "animateTransform",
8611
9385
  {
8612
9386
  attributeName: "transform",
@@ -8618,7 +9392,7 @@ var LoadingIcon = ({
8618
9392
  repeatCount: "indefinite"
8619
9393
  }
8620
9394
  ) : null,
8621
- /* @__PURE__ */ jsx134(
9395
+ /* @__PURE__ */ jsx138(
8622
9396
  "circle",
8623
9397
  {
8624
9398
  cx: "22",
@@ -8632,8 +9406,8 @@ var LoadingIcon = ({
8632
9406
  strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
8633
9407
  }
8634
9408
  )
8635
- ] }) : /* @__PURE__ */ jsxs128("g", { children: [
8636
- enableAnimations ? /* @__PURE__ */ jsx134(
9409
+ ] }) : /* @__PURE__ */ jsxs132("g", { children: [
9410
+ enableAnimations ? /* @__PURE__ */ jsx138(
8637
9411
  "animateTransform",
8638
9412
  {
8639
9413
  attributeName: "transform",
@@ -8645,7 +9419,7 @@ var LoadingIcon = ({
8645
9419
  repeatCount: "indefinite"
8646
9420
  }
8647
9421
  ) : null,
8648
- /* @__PURE__ */ jsx134(
9422
+ /* @__PURE__ */ jsx138(
8649
9423
  "circle",
8650
9424
  {
8651
9425
  cx: "22",
@@ -8657,8 +9431,8 @@ var LoadingIcon = ({
8657
9431
  strokeLinecap: "round",
8658
9432
  strokeDasharray: "60 100",
8659
9433
  strokeDashoffset: "0",
8660
- children: enableAnimations ? /* @__PURE__ */ jsxs128(Fragment7, { children: [
8661
- /* @__PURE__ */ jsx134(
9434
+ children: enableAnimations ? /* @__PURE__ */ jsxs132(Fragment9, { children: [
9435
+ /* @__PURE__ */ jsx138(
8662
9436
  "animate",
8663
9437
  {
8664
9438
  attributeName: "stroke-dasharray",
@@ -8667,7 +9441,7 @@ var LoadingIcon = ({
8667
9441
  repeatCount: "indefinite"
8668
9442
  }
8669
9443
  ),
8670
- /* @__PURE__ */ jsx134(
9444
+ /* @__PURE__ */ jsx138(
8671
9445
  "animate",
8672
9446
  {
8673
9447
  attributeName: "stroke-dashoffset",
@@ -8688,7 +9462,7 @@ var LoadingIcon = ({
8688
9462
  LoadingIcon.displayName = "LoadingIcon";
8689
9463
 
8690
9464
  // src/primitives/modal/index.tsx
8691
- import { useLabels as useLabels13, useSdkUiConfig as useSdkUiConfig12 } from "@agg-build/hooks";
9465
+ import { useLabels as useLabels14, useSdkUiConfig as useSdkUiConfig13 } from "@agg-build/hooks";
8692
9466
  import * as Dialog from "@radix-ui/react-dialog";
8693
9467
 
8694
9468
  // src/primitives/modal/modal.constants.ts
@@ -8712,7 +9486,7 @@ var resolveModalCloseIcon = ({
8712
9486
  };
8713
9487
 
8714
9488
  // src/primitives/modal/index.tsx
8715
- import { Fragment as Fragment8, jsx as jsx135, jsxs as jsxs129 } from "react/jsx-runtime";
9489
+ import { Fragment as Fragment10, jsx as jsx139, jsxs as jsxs133 } from "react/jsx-runtime";
8716
9490
  var Modal = ({
8717
9491
  open,
8718
9492
  onOpenChange,
@@ -8720,7 +9494,7 @@ var Modal = ({
8720
9494
  "aria-label": _ariaLabel,
8721
9495
  "aria-labelledby": _ariaLabelledBy
8722
9496
  }) => {
8723
- return /* @__PURE__ */ jsx135(Dialog.Root, { open, onOpenChange, children });
9497
+ return /* @__PURE__ */ jsx139(Dialog.Root, { open, onOpenChange, children });
8724
9498
  };
8725
9499
  var ModalContainer = ({
8726
9500
  children,
@@ -8733,11 +9507,11 @@ var ModalContainer = ({
8733
9507
  const {
8734
9508
  general: { rootClassName },
8735
9509
  features: { enableAnimations }
8736
- } = useSdkUiConfig12();
9510
+ } = useSdkUiConfig13();
8737
9511
  const overlayAnimationClassName = resolveModalOverlayAnimationClassName(enableAnimations);
8738
9512
  const panelAnimationClassName = resolveModalPanelAnimationClassName(enableAnimations);
8739
- return /* @__PURE__ */ jsxs129(Dialog.Portal, { children: [
8740
- /* @__PURE__ */ jsx135(
9513
+ return /* @__PURE__ */ jsxs133(Dialog.Portal, { children: [
9514
+ /* @__PURE__ */ jsx139(
8741
9515
  Dialog.Overlay,
8742
9516
  {
8743
9517
  className: cn(
@@ -8748,7 +9522,7 @@ var ModalContainer = ({
8748
9522
  )
8749
9523
  }
8750
9524
  ),
8751
- /* @__PURE__ */ jsx135(
9525
+ /* @__PURE__ */ jsx139(
8752
9526
  Dialog.Content,
8753
9527
  {
8754
9528
  className: cn(
@@ -8775,7 +9549,7 @@ var ModalContainer = ({
8775
9549
  event.preventDefault();
8776
9550
  }
8777
9551
  },
8778
- children: /* @__PURE__ */ jsx135(
9552
+ children: /* @__PURE__ */ jsx139(
8779
9553
  "div",
8780
9554
  {
8781
9555
  className: cn(
@@ -8784,7 +9558,7 @@ var ModalContainer = ({
8784
9558
  "flex h-full min-h-0 w-full justify-center p-0 md:p-5",
8785
9559
  classNames == null ? void 0 : classNames.center
8786
9560
  ),
8787
- children: /* @__PURE__ */ jsx135(
9561
+ children: /* @__PURE__ */ jsx139(
8788
9562
  "div",
8789
9563
  {
8790
9564
  className: cn(
@@ -8824,14 +9598,14 @@ var ModalHeader = ({
8824
9598
  }) => {
8825
9599
  const {
8826
9600
  features: { enableAnimations }
8827
- } = useSdkUiConfig12();
8828
- const labels = useLabels13();
8829
- const defaultCloseIcon = /* @__PURE__ */ jsx135(CloseIcon, { className: "h-6 w-6" });
9601
+ } = useSdkUiConfig13();
9602
+ const labels = useLabels14();
9603
+ const defaultCloseIcon = /* @__PURE__ */ jsx139(CloseIcon, { className: "h-6 w-6" });
8830
9604
  const resolvedCloseIcon = resolveModalCloseIcon({
8831
9605
  closeIcon,
8832
9606
  defaultCloseIcon
8833
9607
  });
8834
- return /* @__PURE__ */ jsxs129(
9608
+ return /* @__PURE__ */ jsxs133(
8835
9609
  "div",
8836
9610
  {
8837
9611
  className: cn(
@@ -8844,7 +9618,7 @@ var ModalHeader = ({
8844
9618
  classNames == null ? void 0 : classNames.root
8845
9619
  ),
8846
9620
  children: [
8847
- /* @__PURE__ */ jsxs129(
9621
+ /* @__PURE__ */ jsxs133(
8848
9622
  "div",
8849
9623
  {
8850
9624
  className: cn(
@@ -8857,8 +9631,8 @@ var ModalHeader = ({
8857
9631
  classNames == null ? void 0 : classNames.container
8858
9632
  ),
8859
9633
  children: [
8860
- leftElement ? /* @__PURE__ */ jsx135(Fragment8, { children: leftElement }) : null,
8861
- /* @__PURE__ */ jsxs129(
9634
+ leftElement ? /* @__PURE__ */ jsx139(Fragment10, { children: leftElement }) : null,
9635
+ /* @__PURE__ */ jsxs133(
8862
9636
  "div",
8863
9637
  {
8864
9638
  className: cn(
@@ -8867,7 +9641,7 @@ var ModalHeader = ({
8867
9641
  classNames == null ? void 0 : classNames.titleContainer
8868
9642
  ),
8869
9643
  children: [
8870
- /* @__PURE__ */ jsx135(
9644
+ /* @__PURE__ */ jsx139(
8871
9645
  Dialog.Title,
8872
9646
  {
8873
9647
  className: cn(
@@ -8881,7 +9655,7 @@ var ModalHeader = ({
8881
9655
  children: title2
8882
9656
  }
8883
9657
  ),
8884
- subtitle ? /* @__PURE__ */ jsx135(
9658
+ subtitle ? /* @__PURE__ */ jsx139(
8885
9659
  "span",
8886
9660
  {
8887
9661
  className: cn(
@@ -8895,9 +9669,9 @@ var ModalHeader = ({
8895
9669
  ]
8896
9670
  }
8897
9671
  ),
8898
- /* @__PURE__ */ jsxs129("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
8899
- rightElement ? /* @__PURE__ */ jsx135(Fragment8, { children: rightElement }) : null,
8900
- !hideClose && /* @__PURE__ */ jsx135(
9672
+ /* @__PURE__ */ jsxs133("div", { className: "agg-modal-header-actions flex flex-row items-center justify-end gap-6", children: [
9673
+ rightElement ? /* @__PURE__ */ jsx139(Fragment10, { children: rightElement }) : null,
9674
+ !hideClose && /* @__PURE__ */ jsx139(
8901
9675
  Dialog.Close,
8902
9676
  {
8903
9677
  className: cn(
@@ -8914,14 +9688,14 @@ var ModalHeader = ({
8914
9688
  ]
8915
9689
  }
8916
9690
  ),
8917
- children ? /* @__PURE__ */ jsx135("div", { className: "agg-modal-header-extra", children }) : null
9691
+ children ? /* @__PURE__ */ jsx139("div", { className: "agg-modal-header-extra", children }) : null
8918
9692
  ]
8919
9693
  }
8920
9694
  );
8921
9695
  };
8922
9696
  Modal.Header = ModalHeader;
8923
9697
  var ModalBody = ({ children, classNames }) => {
8924
- return /* @__PURE__ */ jsx135(
9698
+ return /* @__PURE__ */ jsx139(
8925
9699
  "div",
8926
9700
  {
8927
9701
  className: cn(
@@ -8942,7 +9716,7 @@ var ModalFooter = ({
8942
9716
  classNames,
8943
9717
  hideBorder = false
8944
9718
  }) => {
8945
- return /* @__PURE__ */ jsx135(
9719
+ return /* @__PURE__ */ jsx139(
8946
9720
  "div",
8947
9721
  {
8948
9722
  className: cn(
@@ -8963,9 +9737,9 @@ Modal.Footer = ModalFooter;
8963
9737
  Modal.displayName = "Modal";
8964
9738
 
8965
9739
  // src/primitives/number-value.tsx
8966
- import { useMemo as useMemo6 } from "react";
8967
- import { useSdkUiConfig as useSdkUiConfig13 } from "@agg-build/hooks";
8968
- import { jsx as jsx136 } from "react/jsx-runtime";
9740
+ import { useMemo as useMemo7 } from "react";
9741
+ import { useSdkUiConfig as useSdkUiConfig14 } from "@agg-build/hooks";
9742
+ import { jsx as jsx140 } from "react/jsx-runtime";
8969
9743
  var NumberValue = ({
8970
9744
  value,
8971
9745
  format = "number",
@@ -8975,8 +9749,8 @@ var NumberValue = ({
8975
9749
  }) => {
8976
9750
  const {
8977
9751
  formatting: { formatCompactCurrency, formatCurrency, formatDate, formatNumber, formatPercent }
8978
- } = useSdkUiConfig13();
8979
- const formatted = useMemo6(() => {
9752
+ } = useSdkUiConfig14();
9753
+ const formatted = useMemo7(() => {
8980
9754
  if (value == null) return fallback;
8981
9755
  if (format === "date") {
8982
9756
  if (value instanceof Date) return formatDate(value);
@@ -8999,18 +9773,18 @@ var NumberValue = ({
8999
9773
  formatPercent,
9000
9774
  value
9001
9775
  ]);
9002
- return /* @__PURE__ */ jsx136("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
9776
+ return /* @__PURE__ */ jsx140("span", { className: cn("font-agg-sans", className), "aria-label": ariaLabel, children: formatted });
9003
9777
  };
9004
9778
  NumberValue.displayName = "NumberValue";
9005
9779
 
9006
9780
  // src/primitives/select/index.tsx
9007
- import { useLabels as useLabels14, useSdkUiConfig as useSdkUiConfig14 } from "@agg-build/hooks";
9781
+ import { useLabels as useLabels15, useSdkUiConfig as useSdkUiConfig15 } from "@agg-build/hooks";
9008
9782
  import {
9009
9783
  useCallback as useCallback4,
9010
- useEffect as useEffect7,
9784
+ useEffect as useEffect9,
9011
9785
  useLayoutEffect as useLayoutEffect2,
9012
- useRef as useRef7,
9013
- useState as useState8
9786
+ useRef as useRef9,
9787
+ useState as useState9
9014
9788
  } from "react";
9015
9789
  import { createPortal } from "react-dom";
9016
9790
 
@@ -9032,7 +9806,7 @@ var resolveIsSelectDisabled = ({
9032
9806
  };
9033
9807
 
9034
9808
  // src/primitives/select/index.tsx
9035
- import { jsx as jsx137, jsxs as jsxs130 } from "react/jsx-runtime";
9809
+ import { jsx as jsx141, jsxs as jsxs134 } from "react/jsx-runtime";
9036
9810
  var SELECT_DROPDOWN_Z = 1e4;
9037
9811
  function resolveSelectPortalContainer(triggerRoot) {
9038
9812
  var _a, _b;
@@ -9055,19 +9829,19 @@ var Select = ({
9055
9829
  contentSideOffset = 8
9056
9830
  }) => {
9057
9831
  var _a;
9058
- const labels = useLabels14();
9832
+ const labels = useLabels15();
9059
9833
  const {
9060
9834
  general: { rootClassName },
9061
9835
  features: { enableAnimations }
9062
- } = useSdkUiConfig14();
9836
+ } = useSdkUiConfig15();
9063
9837
  const isDisabled = resolveIsSelectDisabled({ disabled, items });
9064
9838
  const selectedItem = resolveSelectedItem(items, value);
9065
- const [isOpen, setIsOpen] = useState8(false);
9066
- const [menuRect, setMenuRect] = useState8(null);
9067
- const containerRef = useRef7(null);
9068
- const portalRef = useRef7(null);
9069
- const closeTimerRef = useRef7(null);
9070
- const openedByHoverRef = useRef7(false);
9839
+ const [isOpen, setIsOpen] = useState9(false);
9840
+ const [menuRect, setMenuRect] = useState9(null);
9841
+ const containerRef = useRef9(null);
9842
+ const portalRef = useRef9(null);
9843
+ const closeTimerRef = useRef9(null);
9844
+ const openedByHoverRef = useRef9(false);
9071
9845
  const handleClose = useCallback4(() => {
9072
9846
  setIsOpen(false);
9073
9847
  openedByHoverRef.current = false;
@@ -9083,7 +9857,7 @@ var Select = ({
9083
9857
  width: r.width
9084
9858
  });
9085
9859
  }, [contentSideOffset]);
9086
- useEffect7(() => {
9860
+ useEffect9(() => {
9087
9861
  return () => {
9088
9862
  if (closeTimerRef.current) clearTimeout(closeTimerRef.current);
9089
9863
  };
@@ -9095,7 +9869,7 @@ var Select = ({
9095
9869
  }
9096
9870
  updateMenuRect();
9097
9871
  }, [isOpen, updateMenuRect, value]);
9098
- useEffect7(() => {
9872
+ useEffect9(() => {
9099
9873
  if (!isOpen) return;
9100
9874
  const handlePointerDown = (event) => {
9101
9875
  var _a2, _b;
@@ -9116,7 +9890,7 @@ var Select = ({
9116
9890
  document.removeEventListener("scroll", handleReposition, true);
9117
9891
  };
9118
9892
  }, [isOpen, handleClose, updateMenuRect]);
9119
- useEffect7(() => {
9893
+ useEffect9(() => {
9120
9894
  if (!isOpen) return;
9121
9895
  const handleKeyDown = (event) => {
9122
9896
  if ((event == null ? void 0 : event.key) === "Escape") handleClose();
@@ -9151,7 +9925,7 @@ var Select = ({
9151
9925
  };
9152
9926
  const isInline = variant === "inline";
9153
9927
  const triggerRadiusClass = triggerClassName != null ? triggerClassName : isInline ? "rounded-agg-sm" : "rounded-agg-md";
9154
- const listbox = menuRect ? /* @__PURE__ */ jsx137(
9928
+ const listbox = menuRect ? /* @__PURE__ */ jsx141(
9155
9929
  "div",
9156
9930
  {
9157
9931
  ref: portalRef,
@@ -9179,7 +9953,7 @@ var Select = ({
9179
9953
  const isSelected = item.value === value;
9180
9954
  const isHidden = item.hidden === true;
9181
9955
  if (isHidden) return null;
9182
- return /* @__PURE__ */ jsxs130(
9956
+ return /* @__PURE__ */ jsxs134(
9183
9957
  "button",
9184
9958
  {
9185
9959
  type: "button",
@@ -9203,14 +9977,14 @@ var Select = ({
9203
9977
  handleClose();
9204
9978
  },
9205
9979
  children: [
9206
- isInline && isSelected ? /* @__PURE__ */ jsx137(
9980
+ isInline && isSelected ? /* @__PURE__ */ jsx141(
9207
9981
  "span",
9208
9982
  {
9209
9983
  className: "agg-select-item-indicator absolute bottom-2 left-0 top-2 w-1 bg-agg-primary",
9210
9984
  "aria-hidden": true
9211
9985
  }
9212
9986
  ) : null,
9213
- item.icon ? /* @__PURE__ */ jsx137(
9987
+ item.icon ? /* @__PURE__ */ jsx141(
9214
9988
  "span",
9215
9989
  {
9216
9990
  className: cn(
@@ -9219,7 +9993,7 @@ var Select = ({
9219
9993
  ),
9220
9994
  children: item.icon
9221
9995
  }
9222
- ) : item.iconUrl ? /* @__PURE__ */ jsx137(
9996
+ ) : item.iconUrl ? /* @__PURE__ */ jsx141(
9223
9997
  RemoteImage,
9224
9998
  {
9225
9999
  src: item.iconUrl,
@@ -9227,7 +10001,7 @@ var Select = ({
9227
10001
  className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
9228
10002
  }
9229
10003
  ) : null,
9230
- /* @__PURE__ */ jsx137("span", { className: "agg-select-item-label truncate", children: item.label })
10004
+ /* @__PURE__ */ jsx141("span", { className: "agg-select-item-label truncate", children: item.label })
9231
10005
  ]
9232
10006
  },
9233
10007
  item.value
@@ -9235,7 +10009,7 @@ var Select = ({
9235
10009
  })
9236
10010
  }
9237
10011
  ) : null;
9238
- return /* @__PURE__ */ jsxs130(
10012
+ return /* @__PURE__ */ jsxs134(
9239
10013
  "div",
9240
10014
  {
9241
10015
  ref: containerRef,
@@ -9245,7 +10019,7 @@ var Select = ({
9245
10019
  className
9246
10020
  ),
9247
10021
  children: [
9248
- /* @__PURE__ */ jsxs130(
10022
+ /* @__PURE__ */ jsxs134(
9249
10023
  "button",
9250
10024
  {
9251
10025
  type: "button",
@@ -9269,7 +10043,7 @@ var Select = ({
9269
10043
  onPointerEnter: handlePointerEnter,
9270
10044
  onPointerLeave: handlePointerLeave,
9271
10045
  children: [
9272
- (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx137("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx137(
10046
+ (selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ jsx141("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ jsx141(
9273
10047
  RemoteImage,
9274
10048
  {
9275
10049
  src: selectedItem.iconUrl,
@@ -9277,18 +10051,18 @@ var Select = ({
9277
10051
  className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
9278
10052
  }
9279
10053
  ) : null,
9280
- /* @__PURE__ */ jsx137("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
10054
+ /* @__PURE__ */ jsx141("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
9281
10055
  ]
9282
10056
  }
9283
10057
  ),
9284
- /* @__PURE__ */ jsx137(
10058
+ /* @__PURE__ */ jsx141(
9285
10059
  "span",
9286
10060
  {
9287
10061
  className: cn(
9288
10062
  "agg-select-chevron pointer-events-none absolute inset-y-0 inline-flex items-center justify-center",
9289
10063
  isInline ? "right-2 text-agg-foreground" : "right-3 text-agg-muted-foreground"
9290
10064
  ),
9291
- children: /* @__PURE__ */ jsx137(
10065
+ children: /* @__PURE__ */ jsx141(
9292
10066
  Icon,
9293
10067
  {
9294
10068
  name: isOpen ? "chevron-up" : "chevron-down-thin",
@@ -9307,7 +10081,7 @@ Select.displayName = "Select";
9307
10081
 
9308
10082
  // src/primitives/state-message/index.tsx
9309
10083
  import { cloneElement } from "react";
9310
- import { useLabels as useLabels15 } from "@agg-build/hooks";
10084
+ import { useLabels as useLabels16 } from "@agg-build/hooks";
9311
10085
 
9312
10086
  // src/primitives/typography/typography.constants.ts
9313
10087
  var typographyVariants = [
@@ -9404,7 +10178,7 @@ var getTypographyClassName = ({
9404
10178
  };
9405
10179
 
9406
10180
  // src/primitives/typography/index.tsx
9407
- import { jsx as jsx138 } from "react/jsx-runtime";
10181
+ import { jsx as jsx142 } from "react/jsx-runtime";
9408
10182
  var Typography = ({
9409
10183
  as: Component2 = "p",
9410
10184
  variant = "body",
@@ -9412,7 +10186,7 @@ var Typography = ({
9412
10186
  children,
9413
10187
  "aria-label": ariaLabel
9414
10188
  }) => {
9415
- return /* @__PURE__ */ jsx138(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
10189
+ return /* @__PURE__ */ jsx142(Component2, { className: getTypographyClassName({ className, variant }), "aria-label": ariaLabel, children });
9416
10190
  };
9417
10191
  Typography.displayName = "Typography";
9418
10192
 
@@ -9425,7 +10199,7 @@ var resolveStateMessageHasAction = ({ onAction }) => {
9425
10199
  };
9426
10200
 
9427
10201
  // src/primitives/state-message/index.tsx
9428
- import { jsx as jsx139, jsxs as jsxs131 } from "react/jsx-runtime";
10202
+ import { jsx as jsx143, jsxs as jsxs135 } from "react/jsx-runtime";
9429
10203
  var StateMessage = (_a) => {
9430
10204
  var _b = _a, {
9431
10205
  icon,
@@ -9440,13 +10214,13 @@ var StateMessage = (_a) => {
9440
10214
  "onAction",
9441
10215
  "classNames"
9442
10216
  ]);
9443
- const labels = useLabels15();
10217
+ const labels = useLabels16();
9444
10218
  const hasAction = resolveStateMessageHasAction({ onAction });
9445
10219
  const resolvedIcon = cloneElement(icon, {
9446
10220
  className: cn(STATE_MESSAGE_ICON_CLASS_NAME, icon.props.className, classNames == null ? void 0 : classNames.icon),
9447
10221
  "aria-hidden": true
9448
10222
  });
9449
- return /* @__PURE__ */ jsx139(
10223
+ return /* @__PURE__ */ jsx143(
9450
10224
  "div",
9451
10225
  __spreadProps(__spreadValues({}, rest), {
9452
10226
  className: cn(
@@ -9457,7 +10231,7 @@ var StateMessage = (_a) => {
9457
10231
  role: "status",
9458
10232
  "aria-live": "polite",
9459
10233
  "aria-label": title2,
9460
- children: /* @__PURE__ */ jsxs131(
10234
+ children: /* @__PURE__ */ jsxs135(
9461
10235
  "div",
9462
10236
  {
9463
10237
  className: cn(
@@ -9466,7 +10240,7 @@ var StateMessage = (_a) => {
9466
10240
  ),
9467
10241
  children: [
9468
10242
  resolvedIcon,
9469
- /* @__PURE__ */ jsxs131(
10243
+ /* @__PURE__ */ jsxs135(
9470
10244
  "div",
9471
10245
  {
9472
10246
  className: cn(
@@ -9474,8 +10248,8 @@ var StateMessage = (_a) => {
9474
10248
  classNames == null ? void 0 : classNames.text
9475
10249
  ),
9476
10250
  children: [
9477
- /* @__PURE__ */ jsx139(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
9478
- description ? /* @__PURE__ */ jsx139(
10251
+ /* @__PURE__ */ jsx143(Typography, { variant: "body-strong", className: classNames == null ? void 0 : classNames.title, children: title2 }),
10252
+ description ? /* @__PURE__ */ jsx143(
9479
10253
  Typography,
9480
10254
  {
9481
10255
  variant: "label",
@@ -9486,7 +10260,7 @@ var StateMessage = (_a) => {
9486
10260
  ]
9487
10261
  }
9488
10262
  ),
9489
- hasAction ? /* @__PURE__ */ jsx139(
10263
+ hasAction ? /* @__PURE__ */ jsx143(
9490
10264
  Button,
9491
10265
  {
9492
10266
  variant: "tertiary",
@@ -9513,18 +10287,18 @@ var StateMessage = (_a) => {
9513
10287
  StateMessage.displayName = "StateMessage";
9514
10288
 
9515
10289
  // src/primitives/tabs/index.tsx
9516
- import { useLabels as useLabels16, useSdkUiConfig as useSdkUiConfig15 } from "@agg-build/hooks";
9517
- import { useCallback as useCallback6, useEffect as useEffect9, useLayoutEffect as useLayoutEffect3, useMemo as useMemo7, useRef as useRef9, useState as useState10 } from "react";
10290
+ import { useLabels as useLabels17, useSdkUiConfig as useSdkUiConfig16 } from "@agg-build/hooks";
10291
+ import { useCallback as useCallback6, useEffect as useEffect11, useLayoutEffect as useLayoutEffect3, useMemo as useMemo8, useRef as useRef11, useState as useState11 } from "react";
9518
10292
 
9519
10293
  // src/shared/use-horizontal-scroll-state.ts
9520
- import { useCallback as useCallback5, useEffect as useEffect8, useRef as useRef8, useState as useState9 } from "react";
10294
+ import { useCallback as useCallback5, useEffect as useEffect10, useRef as useRef10, useState as useState10 } from "react";
9521
10295
  var useHorizontalScrollState = () => {
9522
- const containerRef = useRef8(null);
9523
- const [hasOverflow, setHasOverflow] = useState9(false);
9524
- const [isAtStart, setIsAtStart] = useState9(true);
9525
- const [isAtEnd, setIsAtEnd] = useState9(true);
9526
- const [canScrollLeft, setCanScrollLeft] = useState9(false);
9527
- const [canScrollRight, setCanScrollRight] = useState9(false);
10296
+ const containerRef = useRef10(null);
10297
+ const [hasOverflow, setHasOverflow] = useState10(false);
10298
+ const [isAtStart, setIsAtStart] = useState10(true);
10299
+ const [isAtEnd, setIsAtEnd] = useState10(true);
10300
+ const [canScrollLeft, setCanScrollLeft] = useState10(false);
10301
+ const [canScrollRight, setCanScrollRight] = useState10(false);
9528
10302
  const update = useCallback5(() => {
9529
10303
  const el = containerRef.current;
9530
10304
  if (!el) return;
@@ -9538,13 +10312,13 @@ var useHorizontalScrollState = () => {
9538
10312
  setCanScrollLeft(nextHasOverflow && !nextIsAtStart);
9539
10313
  setCanScrollRight(nextHasOverflow && !nextIsAtEnd);
9540
10314
  }, []);
9541
- useEffect8(() => {
10315
+ useEffect10(() => {
9542
10316
  const el = containerRef.current;
9543
10317
  if (!el) return;
9544
10318
  el.addEventListener("scroll", update, { passive: true });
9545
10319
  return () => el.removeEventListener("scroll", update);
9546
10320
  }, [update]);
9547
- useEffect8(() => {
10321
+ useEffect10(() => {
9548
10322
  if (typeof ResizeObserver === "undefined") return;
9549
10323
  const el = containerRef.current;
9550
10324
  if (!el) return;
@@ -9588,7 +10362,7 @@ var findEdgeEnabledIndex = (items, direction) => {
9588
10362
  };
9589
10363
 
9590
10364
  // src/primitives/tabs/index.tsx
9591
- import { Fragment as Fragment9, jsx as jsx140, jsxs as jsxs132 } from "react/jsx-runtime";
10365
+ import { Fragment as Fragment11, jsx as jsx144, jsxs as jsxs136 } from "react/jsx-runtime";
9592
10366
  var getTabButtonClassName = ({
9593
10367
  enableAnimations,
9594
10368
  isBarVariant,
@@ -9631,12 +10405,12 @@ var Tabs = ({
9631
10405
  className,
9632
10406
  classNames
9633
10407
  }) => {
9634
- const labels = useLabels16();
10408
+ const labels = useLabels17();
9635
10409
  const {
9636
10410
  features: { enableAnimations }
9637
- } = useSdkUiConfig15();
9638
- const buttonRefs = useRef9([]);
9639
- const dragStateRef = useRef9({
10411
+ } = useSdkUiConfig16();
10412
+ const buttonRefs = useRef11([]);
10413
+ const dragStateRef = useRef11({
9640
10414
  isPointerDown: false,
9641
10415
  isDragging: false,
9642
10416
  pointerId: null,
@@ -9644,11 +10418,11 @@ var Tabs = ({
9644
10418
  startClientY: 0,
9645
10419
  startScrollLeft: 0
9646
10420
  });
9647
- const suppressClickRef = useRef9(false);
10421
+ const suppressClickRef = useRef11(false);
9648
10422
  const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
9649
- const [isMobileViewport, setIsMobileViewport] = useState10(false);
9650
- const [isDraggingTabs, setIsDraggingTabs] = useState10(false);
9651
- const [activeUnderlineStyle, setActiveUnderlineStyle] = useState10({
10423
+ const [isMobileViewport, setIsMobileViewport] = useState11(false);
10424
+ const [isDraggingTabs, setIsDraggingTabs] = useState11(false);
10425
+ const [activeUnderlineStyle, setActiveUnderlineStyle] = useState11({
9652
10426
  transform: "translateX(0px)",
9653
10427
  width: 0,
9654
10428
  opacity: 0
@@ -9663,14 +10437,14 @@ var Tabs = ({
9663
10437
  update: updateScrollState
9664
10438
  } = useHorizontalScrollState();
9665
10439
  const isBarVariant = variant === "bar";
9666
- const resolvedOverflowBehavior = useMemo7(() => {
10440
+ const resolvedOverflowBehavior = useMemo8(() => {
9667
10441
  if (overflowBehavior) return overflowBehavior;
9668
10442
  if (!isBarVariant) return "scroll";
9669
10443
  return isMobileViewport ? "select" : "scroll";
9670
10444
  }, [isBarVariant, isMobileViewport, overflowBehavior]);
9671
10445
  const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
9672
10446
  const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
9673
- useEffect9(() => {
10447
+ useEffect11(() => {
9674
10448
  if (typeof window === "undefined") return;
9675
10449
  const mediaQueryList = window.matchMedia(MOBILE_TABS_MEDIA_QUERY);
9676
10450
  const handleMediaQueryChange = (event) => {
@@ -9688,12 +10462,12 @@ var Tabs = ({
9688
10462
  mediaQueryList.removeListener(handleMediaQueryChange);
9689
10463
  };
9690
10464
  }, []);
9691
- const renderedItems = useMemo7(() => {
10465
+ const renderedItems = useMemo8(() => {
9692
10466
  return items.map((item) => __spreadProps(__spreadValues({}, item), {
9693
10467
  disabled: item.disabled || item.isComingSoon
9694
10468
  }));
9695
10469
  }, [items]);
9696
- const selectItems = useMemo7(() => {
10470
+ const selectItems = useMemo8(() => {
9697
10471
  return renderedItems.map((item) => ({
9698
10472
  value: item.value,
9699
10473
  label: item.isComingSoon ? `${item.label} (soon)` : item.label,
@@ -9746,7 +10520,12 @@ var Tabs = ({
9746
10520
  "overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
9747
10521
  getMotionClassName(enableAnimations, "scroll-smooth")
9748
10522
  ) : "overflow-x-auto",
9749
- isBarVariant ? "items-start rounded-agg-lg border border-agg-separator p-1.5" : "h-14 md:h-15 border-b border-agg-separator -mb-[1px]",
10523
+ isBarVariant ? cn(
10524
+ "items-start rounded-agg-lg border border-agg-separator",
10525
+ // Medium bars sit at 40px (1px border + 5px padding + 28px tab) to line
10526
+ // up with the 40px select that usually sits beside them.
10527
+ size === "s" ? "p-1.5" : "p-[5px]"
10528
+ ) : "h-14 md:h-15 border-b border-agg-separator -mb-[1px]",
9750
10529
  shouldUseOverflowScroll && "select-none",
9751
10530
  shouldUseOverflowScroll && !isBarVariant && "snap-x snap-mandatory",
9752
10531
  shouldUseOverflowScroll && (isDraggingTabs ? "cursor-grabbing" : "cursor-grab")
@@ -9852,7 +10631,7 @@ var Tabs = ({
9852
10631
  useLayoutEffect3(() => {
9853
10632
  updateActiveUnderline();
9854
10633
  }, [updateActiveUnderline]);
9855
- useEffect9(() => {
10634
+ useEffect11(() => {
9856
10635
  if (isBarVariant || !shouldUseOverflowScroll) return;
9857
10636
  const tabListElement = tabListRef.current;
9858
10637
  if (!tabListElement) return;
@@ -9864,11 +10643,11 @@ var Tabs = ({
9864
10643
  tabListElement.removeEventListener("scroll", handleScroll);
9865
10644
  };
9866
10645
  }, [isBarVariant, shouldUseOverflowScroll, tabListRef, updateActiveUnderline]);
9867
- useEffect9(() => {
10646
+ useEffect11(() => {
9868
10647
  if (!shouldUseOverflowScroll) return;
9869
10648
  updateScrollState();
9870
10649
  }, [renderedItems, shouldUseOverflowScroll, updateScrollState, value]);
9871
- useEffect9(() => {
10650
+ useEffect11(() => {
9872
10651
  if (isBarVariant || !shouldUseOverflowScroll) return;
9873
10652
  if (typeof ResizeObserver === "undefined") return;
9874
10653
  const tabListElement = tabListRef.current;
@@ -9881,7 +10660,7 @@ var Tabs = ({
9881
10660
  resizeObserver.disconnect();
9882
10661
  };
9883
10662
  }, [isBarVariant, shouldUseOverflowScroll, tabListRef, updateActiveUnderline]);
9884
- useEffect9(() => {
10663
+ useEffect11(() => {
9885
10664
  if (!shouldUseOverflowScroll) return;
9886
10665
  const tabListElement = tabListRef.current;
9887
10666
  if (!tabListElement) return;
@@ -9916,7 +10695,7 @@ var Tabs = ({
9916
10695
  value
9917
10696
  ]);
9918
10697
  if (shouldUseOverflowSelect) {
9919
- return /* @__PURE__ */ jsx140("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx140(
10698
+ return /* @__PURE__ */ jsx144("div", { className: cn("group/agg-tabs w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ jsx144(
9920
10699
  Select,
9921
10700
  {
9922
10701
  ariaLabel,
@@ -9928,7 +10707,7 @@ var Tabs = ({
9928
10707
  }
9929
10708
  ) });
9930
10709
  }
9931
- return /* @__PURE__ */ jsxs132(
10710
+ return /* @__PURE__ */ jsxs136(
9932
10711
  "div",
9933
10712
  {
9934
10713
  className: cn(
@@ -9939,7 +10718,7 @@ var Tabs = ({
9939
10718
  classNames == null ? void 0 : classNames.root
9940
10719
  ),
9941
10720
  children: [
9942
- /* @__PURE__ */ jsxs132(
10721
+ /* @__PURE__ */ jsxs136(
9943
10722
  "div",
9944
10723
  {
9945
10724
  ref: tabListRef,
@@ -9953,7 +10732,7 @@ var Tabs = ({
9953
10732
  onPointerUp: handleEndTabListDrag,
9954
10733
  onWheel: handleTabListWheel,
9955
10734
  children: [
9956
- shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx140(
10735
+ shouldUseOverflowScroll && !isBarVariant && hasOverflow ? /* @__PURE__ */ jsx144(
9957
10736
  "span",
9958
10737
  {
9959
10738
  "aria-hidden": true,
@@ -9964,7 +10743,7 @@ var Tabs = ({
9964
10743
  var _a;
9965
10744
  const isActive = item.value === value;
9966
10745
  const isComingSoon = (_a = item == null ? void 0 : item.isComingSoon) != null ? _a : false;
9967
- return /* @__PURE__ */ jsxs132(
10746
+ return /* @__PURE__ */ jsxs136(
9968
10747
  "button",
9969
10748
  {
9970
10749
  ref: (buttonElement) => {
@@ -10000,7 +10779,7 @@ var Tabs = ({
10000
10779
  ),
10001
10780
  children: [
10002
10781
  item.icon ? item.icon : null,
10003
- /* @__PURE__ */ jsxs132(
10782
+ /* @__PURE__ */ jsxs136(
10004
10783
  "span",
10005
10784
  {
10006
10785
  className: cn(
@@ -10018,7 +10797,7 @@ var Tabs = ({
10018
10797
  item.value
10019
10798
  );
10020
10799
  }),
10021
- !isBarVariant ? /* @__PURE__ */ jsx140(
10800
+ !isBarVariant ? /* @__PURE__ */ jsx144(
10022
10801
  "span",
10023
10802
  {
10024
10803
  "aria-hidden": true,
@@ -10037,8 +10816,8 @@ var Tabs = ({
10037
10816
  ]
10038
10817
  }
10039
10818
  ),
10040
- shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs132(Fragment9, { children: [
10041
- /* @__PURE__ */ jsx140(
10819
+ shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ jsxs136(Fragment11, { children: [
10820
+ /* @__PURE__ */ jsx144(
10042
10821
  "span",
10043
10822
  {
10044
10823
  "aria-hidden": true,
@@ -10050,7 +10829,7 @@ var Tabs = ({
10050
10829
  )
10051
10830
  }
10052
10831
  ),
10053
- /* @__PURE__ */ jsx140(
10832
+ /* @__PURE__ */ jsx144(
10054
10833
  "span",
10055
10834
  {
10056
10835
  "aria-hidden": true,
@@ -10063,8 +10842,8 @@ var Tabs = ({
10063
10842
  }
10064
10843
  )
10065
10844
  ] }) : null,
10066
- shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs132(Fragment9, { children: [
10067
- /* @__PURE__ */ jsx140(
10845
+ shouldUseOverflowScroll && isBarVariant ? /* @__PURE__ */ jsxs136(Fragment11, { children: [
10846
+ /* @__PURE__ */ jsx144(
10068
10847
  "button",
10069
10848
  {
10070
10849
  type: "button",
@@ -10086,10 +10865,10 @@ var Tabs = ({
10086
10865
  behavior: getScrollBehavior(enableAnimations)
10087
10866
  });
10088
10867
  },
10089
- children: /* @__PURE__ */ jsx140(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
10868
+ children: /* @__PURE__ */ jsx144(Icon, { name: "chevron-left", size: "small", color: "currentColor" })
10090
10869
  }
10091
10870
  ),
10092
- /* @__PURE__ */ jsx140(
10871
+ /* @__PURE__ */ jsx144(
10093
10872
  "button",
10094
10873
  {
10095
10874
  type: "button",
@@ -10111,7 +10890,7 @@ var Tabs = ({
10111
10890
  behavior: getScrollBehavior(enableAnimations)
10112
10891
  });
10113
10892
  },
10114
- children: /* @__PURE__ */ jsx140(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
10893
+ children: /* @__PURE__ */ jsx144(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
10115
10894
  }
10116
10895
  )
10117
10896
  ] }) : null
@@ -10127,11 +10906,11 @@ import {
10127
10906
  createContext,
10128
10907
  useCallback as useCallback7,
10129
10908
  useContext,
10130
- useEffect as useEffect10,
10131
- useRef as useRef10,
10132
- useState as useState11
10909
+ useEffect as useEffect12,
10910
+ useRef as useRef12,
10911
+ useState as useState12
10133
10912
  } from "react";
10134
- import { jsx as jsx141, jsxs as jsxs133 } from "react/jsx-runtime";
10913
+ import { jsx as jsx145, jsxs as jsxs137 } from "react/jsx-runtime";
10135
10914
  var DEFAULT_DURATION_MS = 5e3;
10136
10915
  var EXIT_ANIMATION_MS = 350;
10137
10916
  var TONE_ACCENT_CLASS = {
@@ -10154,8 +10933,8 @@ function ToastProvider({
10154
10933
  swipeThreshold = 50,
10155
10934
  viewportClassName
10156
10935
  }) {
10157
- const [toasts, setToasts] = useState11([]);
10158
- const idRef = useRef10(0);
10936
+ const [toasts, setToasts] = useState12([]);
10937
+ const idRef = useRef12(0);
10159
10938
  const dismiss = useCallback7((id) => {
10160
10939
  setToasts((current) => current.filter((entry) => entry.id !== id));
10161
10940
  }, []);
@@ -10180,9 +10959,9 @@ function ToastProvider({
10180
10959
  },
10181
10960
  [defaultDurationMs]
10182
10961
  );
10183
- return /* @__PURE__ */ jsx141(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs133(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
10962
+ return /* @__PURE__ */ jsx145(ToastContext.Provider, { value: { toast, dismiss }, children: /* @__PURE__ */ jsxs137(RadixToast.Provider, { swipeDirection, swipeThreshold, children: [
10184
10963
  children,
10185
- toasts.map((entry) => /* @__PURE__ */ jsx141(
10964
+ toasts.map((entry) => /* @__PURE__ */ jsx145(
10186
10965
  ToastRow,
10187
10966
  {
10188
10967
  entry,
@@ -10192,7 +10971,7 @@ function ToastProvider({
10192
10971
  },
10193
10972
  entry.id
10194
10973
  )),
10195
- /* @__PURE__ */ jsx141(
10974
+ /* @__PURE__ */ jsx145(
10196
10975
  RadixToast.Viewport,
10197
10976
  {
10198
10977
  className: cn(
@@ -10204,18 +10983,18 @@ function ToastProvider({
10204
10983
  ] }) });
10205
10984
  }
10206
10985
  function ToastRow({ entry, onOpenChange }) {
10207
- const [isOpen, setIsOpen] = useState11(true);
10986
+ const [isOpen, setIsOpen] = useState12(true);
10208
10987
  const hasAutoDismiss = entry.durationMs > 0 && Number.isFinite(entry.durationMs);
10209
10988
  const duration = hasAutoDismiss ? entry.durationMs : Number.POSITIVE_INFINITY;
10210
- const timeoutRef = useRef10(null);
10211
- const closeTimeoutRef = useRef10(null);
10212
- const remainingMsRef = useRef10(duration);
10213
- const timerStartedAtRef = useRef10(null);
10214
- const onOpenChangeRef = useRef10(onOpenChange);
10989
+ const timeoutRef = useRef12(null);
10990
+ const closeTimeoutRef = useRef12(null);
10991
+ const remainingMsRef = useRef12(duration);
10992
+ const timerStartedAtRef = useRef12(null);
10993
+ const onOpenChangeRef = useRef12(onOpenChange);
10215
10994
  const rootStyle = {
10216
10995
  "--agg-toast-duration": `${duration}ms`
10217
10996
  };
10218
- useEffect10(() => {
10997
+ useEffect12(() => {
10219
10998
  onOpenChangeRef.current = onOpenChange;
10220
10999
  }, [onOpenChange]);
10221
11000
  const clearDismissTimer = useCallback7(() => {
@@ -10264,7 +11043,7 @@ function ToastRow({ entry, onOpenChange }) {
10264
11043
  if (!hasAutoDismiss || timerStartedAtRef.current !== null) return;
10265
11044
  startDismissTimer();
10266
11045
  }, [hasAutoDismiss, startDismissTimer]);
10267
- useEffect10(() => {
11046
+ useEffect12(() => {
10268
11047
  remainingMsRef.current = duration;
10269
11048
  startDismissTimer();
10270
11049
  return () => {
@@ -10272,7 +11051,7 @@ function ToastRow({ entry, onOpenChange }) {
10272
11051
  clearCloseTimer();
10273
11052
  };
10274
11053
  }, [clearCloseTimer, clearDismissTimer, duration, startDismissTimer]);
10275
- return /* @__PURE__ */ jsxs133(
11054
+ return /* @__PURE__ */ jsxs137(
10276
11055
  RadixToast.Root,
10277
11056
  {
10278
11057
  open: isOpen,
@@ -10293,7 +11072,7 @@ function ToastRow({ entry, onOpenChange }) {
10293
11072
  TONE_ACCENT_CLASS[entry.tone]
10294
11073
  ),
10295
11074
  children: [
10296
- /* @__PURE__ */ jsx141(
11075
+ /* @__PURE__ */ jsx145(
10297
11076
  Icon,
10298
11077
  {
10299
11078
  name: TONE_ICON_NAME[entry.tone],
@@ -10301,25 +11080,25 @@ function ToastRow({ entry, onOpenChange }) {
10301
11080
  "aria-hidden": "true"
10302
11081
  }
10303
11082
  ),
10304
- /* @__PURE__ */ jsxs133("div", { className: "min-w-0 flex-1", children: [
10305
- entry.title ? /* @__PURE__ */ jsx141(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
10306
- /* @__PURE__ */ jsx141(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
10307
- entry.detail ? /* @__PURE__ */ jsx141("p", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground wrap-break-word", children: entry.detail }) : null
11083
+ /* @__PURE__ */ jsxs137("div", { className: "min-w-0 flex-1", children: [
11084
+ entry.title ? /* @__PURE__ */ jsx145(RadixToast.Title, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-bold text-agg-foreground", children: entry.title }) : null,
11085
+ /* @__PURE__ */ jsx145(RadixToast.Description, { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground wrap-break-word", children: entry.message }),
11086
+ entry.detail ? /* @__PURE__ */ jsx145("p", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground wrap-break-word", children: entry.detail }) : null
10308
11087
  ] }),
10309
- /* @__PURE__ */ jsx141(
11088
+ /* @__PURE__ */ jsx145(
10310
11089
  RadixToast.Close,
10311
11090
  {
10312
11091
  "aria-label": "Dismiss",
10313
11092
  className: "absolute top-4 right-4 cursor-pointer text-agg-foreground transition-opacity hover:opacity-70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary",
10314
- children: /* @__PURE__ */ jsx141(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
11093
+ children: /* @__PURE__ */ jsx145(Icon, { name: "close", className: "h-4! w-4!", "aria-hidden": "true" })
10315
11094
  }
10316
11095
  ),
10317
- /* @__PURE__ */ jsx141(
11096
+ /* @__PURE__ */ jsx145(
10318
11097
  "div",
10319
11098
  {
10320
11099
  className: "absolute right-[-1px] bottom-[-1px] left-[-1px] h-1 bg-[color-mix(in_srgb,var(--agg-toast-accent)_30%,transparent)]",
10321
11100
  "aria-hidden": "true",
10322
- children: /* @__PURE__ */ jsx141(
11101
+ children: /* @__PURE__ */ jsx145(
10323
11102
  "div",
10324
11103
  {
10325
11104
  "data-testid": "agg-toast-progress",
@@ -10347,9 +11126,9 @@ function useOptionalToast() {
10347
11126
  }
10348
11127
 
10349
11128
  // src/primitives/tooltip/index.tsx
10350
- import { useSdkUiConfig as useSdkUiConfig16 } from "@agg-build/hooks";
11129
+ import { useSdkUiConfig as useSdkUiConfig17 } from "@agg-build/hooks";
10351
11130
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
10352
- import { useMemo as useMemo8 } from "react";
11131
+ import { useMemo as useMemo9 } from "react";
10353
11132
 
10354
11133
  // src/primitives/tooltip/tooltip.constants.ts
10355
11134
  var tooltipSizeClasses = {
@@ -10381,7 +11160,7 @@ var resolveTooltipArrowDimensions = (size) => {
10381
11160
  };
10382
11161
 
10383
11162
  // src/primitives/tooltip/index.tsx
10384
- import { jsx as jsx142, jsxs as jsxs134 } from "react/jsx-runtime";
11163
+ import { jsx as jsx146, jsxs as jsxs138 } from "react/jsx-runtime";
10385
11164
  var Tooltip = ({
10386
11165
  content,
10387
11166
  children,
@@ -10396,25 +11175,25 @@ var Tooltip = ({
10396
11175
  const {
10397
11176
  general: { rootClassName },
10398
11177
  features: { enableAnimations }
10399
- } = useSdkUiConfig16();
10400
- const trigger = useMemo8(() => {
11178
+ } = useSdkUiConfig17();
11179
+ const trigger = useMemo9(() => {
10401
11180
  if (children) return children;
10402
- return /* @__PURE__ */ jsx142(
11181
+ return /* @__PURE__ */ jsx146(
10403
11182
  "button",
10404
11183
  {
10405
11184
  type: "button",
10406
11185
  className: resolveTooltipTriggerClassName(classNames == null ? void 0 : classNames.trigger),
10407
11186
  "aria-label": ariaLabel != null ? ariaLabel : defaultTooltipTriggerAriaLabel,
10408
- children: /* @__PURE__ */ jsx142(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
11187
+ children: /* @__PURE__ */ jsx146(Icon, { name: "info", size: "small", className: cn(classNames == null ? void 0 : classNames.icon), "aria-hidden": true })
10409
11188
  }
10410
11189
  );
10411
11190
  }, [children, classNames == null ? void 0 : classNames.trigger, classNames == null ? void 0 : classNames.icon, ariaLabel]);
10412
11191
  const { width: arrowWidth, height: arrowHeight } = resolveTooltipArrowDimensions(size);
10413
11192
  const arrowPoints = `0,0 ${arrowWidth},0 ${arrowWidth / 2},${arrowHeight}`;
10414
11193
  const arrowBorderPath = `M0 0 L${arrowWidth / 2} ${arrowHeight} L${arrowWidth} 0`;
10415
- return /* @__PURE__ */ jsx142(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs134(TooltipPrimitive.Root, { children: [
10416
- /* @__PURE__ */ jsx142(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
10417
- /* @__PURE__ */ jsx142(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs134(
11194
+ return /* @__PURE__ */ jsx146(TooltipPrimitive.Provider, { delayDuration, children: /* @__PURE__ */ jsxs138(TooltipPrimitive.Root, { children: [
11195
+ /* @__PURE__ */ jsx146(TooltipPrimitive.Trigger, { asChild: true, children: trigger }),
11196
+ /* @__PURE__ */ jsx146(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs138(
10418
11197
  TooltipPrimitive.Content,
10419
11198
  {
10420
11199
  side,
@@ -10438,7 +11217,7 @@ var Tooltip = ({
10438
11217
  classNames == null ? void 0 : classNames.content
10439
11218
  ),
10440
11219
  children: [
10441
- /* @__PURE__ */ jsx142(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs134(
11220
+ /* @__PURE__ */ jsx146(TooltipPrimitive.Arrow, { asChild: true, width: arrowWidth, height: arrowHeight, children: /* @__PURE__ */ jsxs138(
10442
11221
  "svg",
10443
11222
  {
10444
11223
  width: arrowWidth,
@@ -10447,8 +11226,8 @@ var Tooltip = ({
10447
11226
  "aria-hidden": "true",
10448
11227
  className: cn("overflow-visible", classNames == null ? void 0 : classNames.arrow),
10449
11228
  children: [
10450
- /* @__PURE__ */ jsx142("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
10451
- /* @__PURE__ */ jsx142(
11229
+ /* @__PURE__ */ jsx146("polygon", { points: arrowPoints, className: "fill-agg-secondary" }),
11230
+ /* @__PURE__ */ jsx146(
10452
11231
  "path",
10453
11232
  {
10454
11233
  d: arrowBorderPath,
@@ -10569,6 +11348,7 @@ export {
10569
11348
  Calendar,
10570
11349
  Card,
10571
11350
  SwitchButton,
11351
+ formatDefaultChartValue,
10572
11352
  LineChart,
10573
11353
  CopyButton,
10574
11354
  CurrencyInput,
@@ -10583,12 +11363,23 @@ export {
10583
11363
  resolveTabVenus,
10584
11364
  SkeletonBlock,
10585
11365
  RemoteImage,
11366
+ baseCardClassName,
10586
11367
  detailsBaseCardClassName,
10587
11368
  marketDetailsBaseCardClassName,
10588
11369
  getMarketDetailsTabs,
10589
11370
  marketDetailsDefaultIsOpened,
10590
11371
  orderBookRowLimitDefault,
10591
11372
  MarketDetailsOderbookSkeleton,
11373
+ PLACE_ORDER_DEFAULT_AMOUNT,
11374
+ MIN_BUY_ORDER_AMOUNT,
11375
+ MIN_SELL_ORDER_SHARES,
11376
+ DEFAULT_SLIPPAGE_VALUE,
11377
+ HIGH_SLIPPAGE_THRESHOLD,
11378
+ PLACE_ORDER_ROUTE_COLLAPSED_CARD_COUNT,
11379
+ PLACE_ORDER_MAXIMIZE_PAYOUT_ROUTE_ID,
11380
+ PLACE_ORDER_NUMERIC_INPUT_CLASS_NAME,
11381
+ PLACE_ORDER_CONTAINER_CLASS_NAME,
11382
+ PLACE_ORDER_OUTCOME_BUTTON_CLASS_NAMES,
10592
11383
  PlaceOrderRouteCardSkeleton,
10593
11384
  skeletonViews,
10594
11385
  Skeleton,