@agg-market/ui 0.0.3 → 0.0.4

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 (140) hide show
  1. package/dist/badge.d.mts +2 -2
  2. package/dist/badge.d.ts +2 -2
  3. package/dist/badge.mjs +2 -2
  4. package/dist/button.d.mts +2 -2
  5. package/dist/button.d.ts +2 -2
  6. package/dist/button.js +1 -0
  7. package/dist/button.mjs +3 -3
  8. package/dist/card.mjs +2 -2
  9. package/dist/chart.mjs +3 -3
  10. package/dist/{chunk-YUIZZ6XE.mjs → chunk-3O4U3E5I.mjs} +1 -1
  11. package/dist/{chunk-JLLMIPIX.mjs → chunk-4VUDTWH7.mjs} +1 -1
  12. package/dist/{chunk-MG243DSX.mjs → chunk-AEMAY3MR.mjs} +1 -1
  13. package/dist/{chunk-FYV3MDIL.mjs → chunk-BJNHDIDW.mjs} +4 -4
  14. package/dist/{chunk-LY6474C4.mjs → chunk-BLSHXIAH.mjs} +36 -71
  15. package/dist/{chunk-DQ6XFBYJ.mjs → chunk-DYEWXEEY.mjs} +1 -1
  16. package/dist/{chunk-OUOIDPGX.mjs → chunk-EXF4SESB.mjs} +1 -1
  17. package/dist/chunk-F236MLT6.mjs +1337 -0
  18. package/dist/{chunk-PAQ542ER.mjs → chunk-GHB3GOCW.mjs} +4 -2
  19. package/dist/{chunk-GC3QIIH7.mjs → chunk-GJ4U5NCE.mjs} +23 -1
  20. package/dist/chunk-HM3CGN32.mjs +669 -0
  21. package/dist/chunk-I4YUYVJJ.mjs +472 -0
  22. package/dist/{chunk-NFYS557L.mjs → chunk-JH5VMNDL.mjs} +3 -3
  23. package/dist/{chunk-TTOR7JCT.mjs → chunk-JRS2M5GY.mjs} +1 -1
  24. package/dist/{chunk-QXFDXXDB.mjs → chunk-LWTQD345.mjs} +3 -3
  25. package/dist/{chunk-QE46DVJG.mjs → chunk-MNSHWA6M.mjs} +3 -3
  26. package/dist/{chunk-JQ4FUHXE.mjs → chunk-MXBPDNMC.mjs} +7 -7
  27. package/dist/{chunk-VYNVBJK6.mjs → chunk-NDG43KGL.mjs} +1 -1
  28. package/dist/chunk-O2XH4A3G.mjs +654 -0
  29. package/dist/{chunk-KDBYDMYV.mjs → chunk-OBCHURW5.mjs} +1 -1
  30. package/dist/{chunk-FZTAHWOS.mjs → chunk-OGI343OV.mjs} +2 -2
  31. package/dist/{chunk-XDAEEJYR.mjs → chunk-P23GR7NX.mjs} +2 -2
  32. package/dist/{chunk-J6L5BLKX.mjs → chunk-PGSPYQOW.mjs} +2 -2
  33. package/dist/{chunk-J7OETCZ7.mjs → chunk-QFQHD2V6.mjs} +19 -20
  34. package/dist/chunk-RGZQHSNJ.mjs +845 -0
  35. package/dist/{chunk-7XRKA6XF.mjs → chunk-RXACBTON.mjs} +5 -5
  36. package/dist/{chunk-A4QJAOZW.mjs → chunk-USLTNDJA.mjs} +7 -7
  37. package/dist/{chunk-FACIYUNK.mjs → chunk-VC7LTPQD.mjs} +2 -2
  38. package/dist/{chunk-CKTAVEW2.mjs → chunk-VIP7HSOU.mjs} +2 -2
  39. package/dist/{chunk-5MN6ZNFA.mjs → chunk-VUDJ3PYM.mjs} +9 -9
  40. package/dist/{chunk-2NCBX6XI.mjs → chunk-W2DMBW4E.mjs} +8 -8
  41. package/dist/{chunk-764YUN2J.mjs → chunk-XELWY7SO.mjs} +150 -49
  42. package/dist/chunk-ZDF7QP4G.mjs +160 -0
  43. package/dist/{chunk-4NK2FNAG.mjs → chunk-ZHKMDK5M.mjs} +244 -112
  44. package/dist/{chunk-C4OI72SM.mjs → chunk-ZVBVGWSP.mjs} +1 -0
  45. package/dist/chunk-ZYREURXK.mjs +470 -0
  46. package/dist/connect-button.js +767 -292
  47. package/dist/connect-button.mjs +8 -8
  48. package/dist/deposit-modal.d.mts +34 -0
  49. package/dist/deposit-modal.d.ts +34 -0
  50. package/dist/deposit-modal.js +2787 -0
  51. package/dist/deposit-modal.mjs +15 -0
  52. package/dist/event-list-item-details.js +271 -173
  53. package/dist/event-list-item-details.mjs +13 -13
  54. package/dist/event-list-item.js +903 -426
  55. package/dist/event-list-item.mjs +11 -11
  56. package/dist/event-list.js +1104 -517
  57. package/dist/event-list.mjs +14 -14
  58. package/dist/event-market-page.d.mts +1 -1
  59. package/dist/event-market-page.d.ts +1 -1
  60. package/dist/event-market-page.js +1505 -681
  61. package/dist/event-market-page.mjs +23 -23
  62. package/dist/hello-world.mjs +3 -3
  63. package/dist/home-page.d.mts +1 -1
  64. package/dist/home-page.d.ts +1 -1
  65. package/dist/home-page.js +1120 -533
  66. package/dist/home-page.mjs +15 -15
  67. package/dist/icon.d.mts +74 -4
  68. package/dist/icon.d.ts +74 -4
  69. package/dist/icon.js +668 -123
  70. package/dist/icon.mjs +32 -4
  71. package/dist/index.d.mts +15 -7
  72. package/dist/index.d.ts +15 -7
  73. package/dist/index.js +5301 -2147
  74. package/dist/index.mjs +80 -32
  75. package/dist/loading-icon.d.mts +1 -1
  76. package/dist/loading-icon.d.ts +1 -1
  77. package/dist/loading-icon.js +1 -0
  78. package/dist/loading-icon.mjs +3 -3
  79. package/dist/market-details.d.mts +2 -2
  80. package/dist/market-details.d.ts +2 -2
  81. package/dist/market-details.js +1097 -411
  82. package/dist/market-details.mjs +16 -16
  83. package/dist/modal.mjs +3 -3
  84. package/dist/number-value.mjs +2 -2
  85. package/dist/onboarding-modal.js +1249 -672
  86. package/dist/onboarding-modal.mjs +8 -8
  87. package/dist/place-order.d.mts +1 -1
  88. package/dist/place-order.d.ts +1 -1
  89. package/dist/place-order.js +1091 -506
  90. package/dist/place-order.mjs +12 -12
  91. package/dist/profile-modal.d.mts +66 -0
  92. package/dist/profile-modal.d.ts +66 -0
  93. package/dist/profile-modal.js +2429 -0
  94. package/dist/profile-modal.mjs +14 -0
  95. package/dist/{registry-CVn79H3I.d.mts → registry-DfSCFAdC.d.mts} +72 -0
  96. package/dist/{registry-CVn79H3I.d.ts → registry-DfSCFAdC.d.ts} +72 -0
  97. package/dist/search.d.mts +2 -2
  98. package/dist/search.d.ts +2 -2
  99. package/dist/search.js +740 -265
  100. package/dist/search.mjs +6 -6
  101. package/dist/select.d.mts +2 -0
  102. package/dist/select.d.ts +2 -0
  103. package/dist/select.js +814 -187
  104. package/dist/select.mjs +5 -5
  105. package/dist/settlement.d.mts +1 -1
  106. package/dist/settlement.d.ts +1 -1
  107. package/dist/settlement.js +891 -417
  108. package/dist/settlement.mjs +9 -9
  109. package/dist/skeleton.js +1 -1
  110. package/dist/skeleton.mjs +3 -3
  111. package/dist/styles.css +1 -1
  112. package/dist/switch-button.mjs +2 -2
  113. package/dist/tabs.js +854 -227
  114. package/dist/tabs.mjs +6 -6
  115. package/dist/tailwind.css +1 -1
  116. package/dist/types-Bed6Q0EK.d.mts +3 -0
  117. package/dist/types-Bed6Q0EK.d.ts +3 -0
  118. package/dist/typography.mjs +2 -2
  119. package/dist/user-profile-page.d.mts +133 -0
  120. package/dist/user-profile-page.d.ts +133 -0
  121. package/dist/user-profile-page.js +3335 -0
  122. package/dist/user-profile-page.mjs +15 -0
  123. package/dist/venue-logo.d.mts +2 -2
  124. package/dist/venue-logo.d.ts +2 -2
  125. package/dist/venue-logo.js +28 -70
  126. package/dist/venue-logo.mjs +2 -2
  127. package/dist/{venue-logo.types-Bg8eXtGp.d.ts → venue-logo.types-BSAuY84j.d.ts} +1 -1
  128. package/dist/{venue-logo.types-B1iPJgiD.d.mts → venue-logo.types-DACqcTvY.d.mts} +1 -1
  129. package/dist/withdraw-modal.d.mts +36 -0
  130. package/dist/withdraw-modal.d.ts +36 -0
  131. package/dist/withdraw-modal.js +2442 -0
  132. package/dist/withdraw-modal.mjs +14 -0
  133. package/package.json +43 -3
  134. package/dist/chunk-DA6KZWSK.mjs +0 -807
  135. package/dist/chunk-IY2AA3OL.mjs +0 -50
  136. package/dist/chunk-R3DRVI4J.mjs +0 -741
  137. package/dist/types-CayJ8tWA.d.mts +0 -3
  138. package/dist/types-CayJ8tWA.d.ts +0 -3
  139. package/dist/{types-C5JigCSX.d.mts → types-DkGlbmXq.d.mts} +2 -2
  140. package/dist/{types-C5JigCSX.d.ts → types-DkGlbmXq.d.ts} +2 -2
@@ -62,7 +62,7 @@ __export(event_market_exports, {
62
62
  EventMarketPage: () => EventMarketPage
63
63
  });
64
64
  module.exports = __toCommonJS(event_market_exports);
65
- var import_react8 = require("react");
65
+ var import_react9 = require("react");
66
66
  var import_hooks20 = require("@agg-market/hooks");
67
67
  var import_dayjs5 = __toESM(require("dayjs"));
68
68
 
@@ -137,6 +137,7 @@ var iconSizeClasses = {
137
137
  xxs: "h-2 w-2",
138
138
  xs: "h-3 w-3",
139
139
  s: "h-4 w-4",
140
+ ms: "h-5 w-5",
140
141
  m: "h-6 w-6",
141
142
  l: "h-8 w-8",
142
143
  xl: "h-10 w-10",
@@ -1015,7 +1016,7 @@ var SettlementSkeletonView = ({
1015
1016
  Card,
1016
1017
  {
1017
1018
  className: cn(
1018
- "gap-5 rounded-agg-xl border border-agg-separator bg-agg-secondary p-5 shadow-none hover:shadow-none",
1019
+ "flex flex-col w-full gap-5 rounded-agg-xl border border-agg-separator bg-agg-secondary p-5 shadow-none hover:shadow-none",
1019
1020
  className
1020
1021
  ),
1021
1022
  role: "status",
@@ -1179,8 +1180,13 @@ var LogoKalshiIcon = (_a) => {
1179
1180
  }, getIconA11yProps(title)), props), {
1180
1181
  children: [
1181
1182
  title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
1182
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { d: "M20 10H36V90H20V10Z", fill: primaryColor }),
1183
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { d: "M44 50L74 10H92L62 50L92 90H74L44 50Z", fill: primaryColor })
1183
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1184
+ "path",
1185
+ {
1186
+ d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
1187
+ fill: primaryColor
1188
+ }
1189
+ )
1184
1190
  ]
1185
1191
  })
1186
1192
  );
@@ -1190,7 +1196,6 @@ LogoKalshiIcon.displayName = "LogoKalshiIcon";
1190
1196
  // src/primitives/venue-logo/svg/logo-opinion.tsx
1191
1197
  var import_jsx_runtime16 = require("react/jsx-runtime");
1192
1198
  var OPINION_BLACK = "#000000";
1193
- var OPINION_WHITE = "#FFFFFF";
1194
1199
  var LogoOpinionIcon = (_a) => {
1195
1200
  var _b = _a, {
1196
1201
  title,
@@ -1208,7 +1213,6 @@ var LogoOpinionIcon = (_a) => {
1208
1213
  isColor,
1209
1214
  color
1210
1215
  });
1211
- const accentColor = (color == null ? void 0 : color.trim()) ? primaryColor : OPINION_WHITE;
1212
1216
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1213
1217
  "svg",
1214
1218
  __spreadProps(__spreadValues(__spreadValues({
@@ -1218,56 +1222,13 @@ var LogoOpinionIcon = (_a) => {
1218
1222
  }, getIconA11yProps(title)), props), {
1219
1223
  children: [
1220
1224
  title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
1221
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "50", cy: "50", r: "40", fill: primaryColor }),
1222
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1223
- "rect",
1224
- {
1225
- x: "21",
1226
- y: "18",
1227
- width: "8",
1228
- height: "64",
1229
- rx: "4",
1230
- transform: "rotate(-7 21 18)",
1231
- fill: accentColor
1232
- }
1233
- ),
1234
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1235
- "rect",
1236
- {
1237
- x: "37",
1238
- y: "12",
1239
- width: "8",
1240
- height: "76",
1241
- rx: "4",
1242
- transform: "rotate(-4 37 12)",
1243
- fill: accentColor
1244
- }
1245
- ),
1246
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1247
- "rect",
1248
- {
1249
- x: "53",
1250
- y: "12",
1251
- width: "8",
1252
- height: "76",
1253
- rx: "4",
1254
- transform: "rotate(-4 53 12)",
1255
- fill: accentColor
1256
- }
1257
- ),
1258
1225
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1259
- "rect",
1226
+ "path",
1260
1227
  {
1261
- x: "69",
1262
- y: "18",
1263
- width: "8",
1264
- height: "64",
1265
- rx: "4",
1266
- transform: "rotate(-7 69 18)",
1267
- fill: accentColor
1228
+ 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",
1229
+ fill: primaryColor
1268
1230
  }
1269
- ),
1270
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("rect", { x: "12", y: "44", width: "76", height: "12", fill: primaryColor })
1231
+ )
1271
1232
  ]
1272
1233
  })
1273
1234
  );
@@ -1276,7 +1237,7 @@ LogoOpinionIcon.displayName = "LogoOpinionIcon";
1276
1237
 
1277
1238
  // src/primitives/venue-logo/svg/logo-polymarket.tsx
1278
1239
  var import_jsx_runtime17 = require("react/jsx-runtime");
1279
- var POLYMARKET_BLUE = "#3861FB";
1240
+ var POLYMARKET_BLUE = "#2E5CFF";
1280
1241
  var LogoPolymarketIcon = (_a) => {
1281
1242
  var _b = _a, {
1282
1243
  title,
@@ -1306,14 +1267,10 @@ var LogoPolymarketIcon = (_a) => {
1306
1267
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1307
1268
  "path",
1308
1269
  {
1309
- d: "M18 10L78 2V98L18 88V10Z",
1310
- stroke: primaryColor,
1311
- strokeWidth: "8",
1312
- strokeLinejoin: "round"
1270
+ 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",
1271
+ fill: primaryColor
1313
1272
  }
1314
- ),
1315
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M18 32L78 44", stroke: primaryColor, strokeWidth: "8", strokeLinecap: "round" }),
1316
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M18 58L78 70", stroke: primaryColor, strokeWidth: "8", strokeLinecap: "round" })
1273
+ )
1317
1274
  ]
1318
1275
  })
1319
1276
  );
@@ -1322,7 +1279,7 @@ LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
1322
1279
 
1323
1280
  // src/primitives/venue-logo/svg/logo-probable.tsx
1324
1281
  var import_jsx_runtime18 = require("react/jsx-runtime");
1325
- var PROBABLE_ORANGE = "#F85B22";
1282
+ var PROBABLE_ORANGE = "#F05923";
1326
1283
  var LogoProbableIcon = (_a) => {
1327
1284
  var _b = _a, {
1328
1285
  title,
@@ -1349,20 +1306,21 @@ var LogoProbableIcon = (_a) => {
1349
1306
  }, getIconA11yProps(title)), props), {
1350
1307
  children: [
1351
1308
  title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
1352
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { x: "20", y: "16", width: "60", height: "12", fill: primaryColor }),
1353
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { x: "18", y: "36", width: "64", height: "46", rx: "23", fill: primaryColor }),
1354
1309
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1355
- "rect",
1310
+ "path",
1356
1311
  {
1357
- x: "32",
1358
- y: "50",
1359
- width: "40",
1360
- height: "18",
1361
- rx: "9",
1362
- fill: isColor && !color ? "white" : primaryColor
1312
+ 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",
1313
+ fill: primaryColor
1363
1314
  }
1364
1315
  ),
1365
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "61", cy: "59", r: "7", fill: primaryColor })
1316
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
1317
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1318
+ "path",
1319
+ {
1320
+ 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",
1321
+ fill: primaryColor
1322
+ }
1323
+ )
1366
1324
  ]
1367
1325
  })
1368
1326
  );
@@ -1381,6 +1339,7 @@ var sizeClasses2 = {
1381
1339
  xxs: "h-2 w-2",
1382
1340
  xs: "h-3 w-3",
1383
1341
  s: "h-4 w-4",
1342
+ ms: "h-5 w-5",
1384
1343
  m: "h-6 w-6",
1385
1344
  l: "h-8 w-8",
1386
1345
  xl: "h-10 w-10",
@@ -1424,7 +1383,9 @@ var resolveEventListItemEvent = (fetchedEvent) => {
1424
1383
  const fallbackVenueEvent = fetchedEvent.venueEvents[0];
1425
1384
  if (!fallbackVenueEvent)
1426
1385
  return void 0;
1427
- const mergedVenueMarkets = fetchedEvent.markets.flatMap((venueEvent) => venueEvent.venueMarkets);
1386
+ const mergedVenueMarkets = fetchedEvent.markets.flatMap(
1387
+ (venueEvent) => venueEvent.venueMarkets
1388
+ );
1428
1389
  const venueMarkets = mergedVenueMarkets.length > 0 ? mergedVenueMarkets : [];
1429
1390
  if ((venueMarkets == null ? void 0 : venueMarkets.length) === 0)
1430
1391
  return void 0;
@@ -1515,6 +1476,12 @@ var getVenueSummary = (venueMarkets) => {
1515
1476
  singleVenue: uniqueVenues.length === 1 ? uniqueVenues[0] : void 0
1516
1477
  };
1517
1478
  };
1479
+ var resolveVenueLabel = (venue, venueInfo, labels) => {
1480
+ var _a, _b;
1481
+ if (!venue)
1482
+ return labels.eventItem.venueSingular;
1483
+ return (_b = (_a = venueInfo == null ? void 0 : venueInfo[venue]) == null ? void 0 : _a.label) != null ? _b : labels.venues[venue];
1484
+ };
1518
1485
 
1519
1486
  // src/events/item-details/event-list-item-details.utils.ts
1520
1487
  var import_dayjs2 = __toESM(require("dayjs"));
@@ -1671,12 +1638,30 @@ var EventListItemDetailsUnavailableState = ({
1671
1638
  }
1672
1639
  );
1673
1640
  };
1641
+ var probabilityModeOrder = ["yes", "no"];
1642
+ var clampProbability = (value) => {
1643
+ if (value < 0)
1644
+ return 0;
1645
+ if (value > 1)
1646
+ return 1;
1647
+ return value;
1648
+ };
1649
+ var resolveAverageProbability = (values) => {
1650
+ const validValues = values.filter((value) => value != null);
1651
+ if (validValues.length === 0)
1652
+ return void 0;
1653
+ return validValues.reduce((sum, value) => sum + value, 0) / validValues.length;
1654
+ };
1655
+ var resolveOutcomeCandidateIds = (market, outcome) => {
1656
+ var _a;
1657
+ return [outcome.id, (_a = outcome.externalIdentifier) != null ? _a : void 0, market.externalIdentifier].filter(
1658
+ (value) => typeof value === "string" && value.trim().length > 0
1659
+ );
1660
+ };
1674
1661
  var EventListItemDetailsGraphSection = ({
1675
1662
  venueMarkets,
1676
- outcomeLabels,
1677
1663
  selectedOutcomeLabel,
1678
1664
  onSelectedOutcomeLabelChange,
1679
- probabilityByLabel,
1680
1665
  switchLabels,
1681
1666
  isDateOutcomeMarket,
1682
1667
  classNames,
@@ -1686,65 +1671,89 @@ var EventListItemDetailsGraphSection = ({
1686
1671
  selectedTimeRange
1687
1672
  }) => {
1688
1673
  const labels = (0, import_hooks12.useLabels)();
1689
- const isLocalOutcomeSelection = !isDateOutcomeMarket && outcomeLabels.length === 2;
1690
- const [internalSelectedOutcomeLabel, setInternalSelectedOutcomeLabel] = (0, import_react3.useState)(selectedOutcomeLabel);
1691
- const [selectedBinaryOutcome, setSelectedBinaryOutcome] = (0, import_react3.useState)("Yes");
1692
- (0, import_react3.useEffect)(() => {
1693
- setInternalSelectedOutcomeLabel(selectedOutcomeLabel);
1694
- }, [selectedOutcomeLabel]);
1695
- const resolvedSelectedOutcomeLabel = isLocalOutcomeSelection ? internalSelectedOutcomeLabel : selectedOutcomeLabel;
1696
- const selectedOutcomesByVenue = (0, import_react3.useMemo)(() => {
1697
- return resolveOutcomesByVenue(venueMarkets, resolvedSelectedOutcomeLabel);
1698
- }, [resolvedSelectedOutcomeLabel, venueMarkets]);
1699
- const segmentedDisplayItems = (0, import_react3.useMemo)(() => {
1700
- var _a;
1674
+ const [selectedVenue, setSelectedVenue] = (0, import_react3.useState)(null);
1675
+ const [activeProbabilityMode, setActiveProbabilityMode] = (0, import_react3.useState)("yes");
1676
+ const probabilityModeConfigs = (0, import_react3.useMemo)(() => {
1701
1677
  if (isDateOutcomeMarket) {
1702
- const selectedOutcomeAverageProbability = (_a = probabilityByLabel.get(resolvedSelectedOutcomeLabel)) != null ? _a : 0;
1703
- const noProbability = Math.max(0, 1 - selectedOutcomeAverageProbability);
1704
- return [
1705
- {
1706
- label: labels.eventItemDetails.yes,
1707
- display: `${labels.eventItemDetails.yes} ${formatPercent(selectedOutcomeAverageProbability)}`,
1708
- isActive: selectedBinaryOutcome === "Yes",
1709
- onSelect: () => setSelectedBinaryOutcome("Yes")
1710
- },
1711
- {
1712
- label: labels.eventItemDetails.no,
1713
- display: `${labels.eventItemDetails.no} ${formatPercent(noProbability)}`,
1714
- isActive: selectedBinaryOutcome === "No",
1715
- onSelect: () => setSelectedBinaryOutcome("No")
1716
- }
1717
- ];
1718
- }
1719
- return switchLabels.map((label) => {
1720
- const probability = probabilityByLabel.get(label);
1721
- const probabilitySuffix = probability == null ? "" : ` ${formatPercent(probability)}`;
1722
1678
  return {
1723
- label,
1724
- display: `${label}${probabilitySuffix}`,
1725
- isActive: resolvedSelectedOutcomeLabel === label,
1726
- onSelect: () => {
1727
- if (isLocalOutcomeSelection) {
1728
- setInternalSelectedOutcomeLabel(label);
1729
- return;
1730
- }
1731
- onSelectedOutcomeLabelChange(label);
1679
+ yes: {
1680
+ switchLabel: switchLabels[0],
1681
+ sourceOutcomeLabel: selectedOutcomeLabel,
1682
+ transformProbability: (value) => value
1683
+ },
1684
+ no: {
1685
+ switchLabel: switchLabels[1],
1686
+ sourceOutcomeLabel: selectedOutcomeLabel,
1687
+ transformProbability: (value) => 1 - value
1732
1688
  }
1733
1689
  };
1734
- });
1690
+ }
1691
+ return {
1692
+ yes: {
1693
+ switchLabel: switchLabels[0],
1694
+ sourceOutcomeLabel: switchLabels[0],
1695
+ transformProbability: (value) => value
1696
+ },
1697
+ no: {
1698
+ switchLabel: switchLabels[1],
1699
+ sourceOutcomeLabel: switchLabels[1],
1700
+ transformProbability: (value) => value
1701
+ }
1702
+ };
1703
+ }, [isDateOutcomeMarket, selectedOutcomeLabel, switchLabels]);
1704
+ const selectedOutcomesByMode = (0, import_react3.useMemo)(() => {
1705
+ return {
1706
+ yes: resolveOutcomesByVenue(venueMarkets, probabilityModeConfigs.yes.sourceOutcomeLabel),
1707
+ no: resolveOutcomesByVenue(venueMarkets, probabilityModeConfigs.no.sourceOutcomeLabel)
1708
+ };
1735
1709
  }, [
1736
- formatPercent,
1737
- isDateOutcomeMarket,
1738
- isLocalOutcomeSelection,
1739
- onSelectedOutcomeLabelChange,
1740
- probabilityByLabel,
1741
- resolvedSelectedOutcomeLabel,
1742
- selectedBinaryOutcome,
1743
- switchLabels
1710
+ probabilityModeConfigs.no.sourceOutcomeLabel,
1711
+ probabilityModeConfigs.yes.sourceOutcomeLabel,
1712
+ venueMarkets
1744
1713
  ]);
1714
+ (0, import_react3.useEffect)(() => {
1715
+ if (isDateOutcomeMarket) {
1716
+ return;
1717
+ }
1718
+ const nextMode = selectedOutcomeLabel === probabilityModeConfigs.no.sourceOutcomeLabel ? "no" : "yes";
1719
+ setActiveProbabilityMode(nextMode);
1720
+ }, [isDateOutcomeMarket, probabilityModeConfigs.no.sourceOutcomeLabel, selectedOutcomeLabel]);
1721
+ const normalizedVenueDataByMode = (0, import_react3.useMemo)(() => {
1722
+ const buildModeData = (mode) => {
1723
+ const modeConfig = probabilityModeConfigs[mode];
1724
+ return selectedOutcomesByMode[mode].map((outcomeByVenue, index) => {
1725
+ const rawProbability = normalizeProbability(outcomeByVenue.outcome.price);
1726
+ const transformedProbability = rawProbability == null ? void 0 : clampProbability(modeConfig.transformProbability(rawProbability));
1727
+ return {
1728
+ venue: outcomeByVenue.venue,
1729
+ venueLabel: resolveVenueLabel(outcomeByVenue.venue, venueInfo, labels),
1730
+ market: outcomeByVenue.market,
1731
+ outcome: outcomeByVenue.outcome,
1732
+ probability: transformedProbability,
1733
+ color: resolveSeriesColor(outcomeByVenue.venue, index)
1734
+ };
1735
+ });
1736
+ };
1737
+ return {
1738
+ yes: buildModeData("yes"),
1739
+ no: buildModeData("no")
1740
+ };
1741
+ }, [labels, probabilityModeConfigs, selectedOutcomesByMode, venueInfo]);
1742
+ const allOutcomesForHistory = (0, import_react3.useMemo)(() => {
1743
+ const outcomeByModeAndId = /* @__PURE__ */ new Map();
1744
+ probabilityModeOrder.forEach((mode) => {
1745
+ selectedOutcomesByMode[mode].forEach((outcomeByVenue) => {
1746
+ outcomeByModeAndId.set(
1747
+ `${outcomeByVenue.venue}:${outcomeByVenue.outcome.id}`,
1748
+ outcomeByVenue
1749
+ );
1750
+ });
1751
+ });
1752
+ return [...outcomeByModeAndId.values()];
1753
+ }, [selectedOutcomesByMode]);
1745
1754
  const priceHistoryGroups = (0, import_react3.useMemo)(() => {
1746
- return buildPriceHistoryGroups(selectedOutcomesByVenue);
1747
- }, [selectedOutcomesByVenue]);
1755
+ return buildPriceHistoryGroups(allOutcomesForHistory);
1756
+ }, [allOutcomesForHistory]);
1748
1757
  const timeWindow = (0, import_react3.useMemo)(() => {
1749
1758
  return getTimeWindowByRange(selectedTimeRange);
1750
1759
  }, [selectedTimeRange]);
@@ -1753,35 +1762,114 @@ var EventListItemDetailsGraphSection = ({
1753
1762
  }, timeWindow), {
1754
1763
  enabled: priceHistoryGroups.length > 0
1755
1764
  }));
1756
- const chartSeries = (0, import_react3.useMemo)(() => {
1757
- if (!(priceHistoryData == null ? void 0 : priceHistoryData.length))
1758
- return [];
1759
- return priceHistoryData.map((history, index) => {
1760
- var _a, _b;
1761
- const matchingOutcomeByVenue = (_a = selectedOutcomesByVenue.find((item) => {
1762
- return item.outcome.id === history.marketId || item.outcome.externalIdentifier === history.marketId || item.market.externalIdentifier === history.marketId;
1763
- })) != null ? _a : selectedOutcomesByVenue.find((item) => item.venue === history.venue);
1764
- const color = resolveSeriesColor((_b = matchingOutcomeByVenue == null ? void 0 : matchingOutcomeByVenue.venue) != null ? _b : history.venue, index);
1765
+ const priceHistoryByVenue = (0, import_react3.useMemo)(() => {
1766
+ const historyByVenue = /* @__PURE__ */ new Map();
1767
+ if (!(priceHistoryData == null ? void 0 : priceHistoryData.length)) {
1768
+ return historyByVenue;
1769
+ }
1770
+ priceHistoryData.forEach((historyItem) => {
1771
+ const venue = historyItem.venue;
1772
+ const venueHistory = historyByVenue.get(venue);
1773
+ if (venueHistory) {
1774
+ venueHistory.push(historyItem);
1775
+ return;
1776
+ }
1777
+ historyByVenue.set(venue, [historyItem]);
1778
+ });
1779
+ return historyByVenue;
1780
+ }, [priceHistoryData]);
1781
+ const chartSeriesByMode = (0, import_react3.useMemo)(() => {
1782
+ const buildSeries = (mode) => {
1783
+ const modeConfig = probabilityModeConfigs[mode];
1784
+ const chartSeries = [];
1785
+ normalizedVenueDataByMode[mode].forEach((venueData) => {
1786
+ var _a;
1787
+ const venueHistory = priceHistoryByVenue.get(venueData.venue);
1788
+ if (!(venueHistory == null ? void 0 : venueHistory.length))
1789
+ return;
1790
+ const candidateIds = resolveOutcomeCandidateIds(venueData.market, venueData.outcome);
1791
+ const matchingHistory = (_a = venueHistory.find((historyItem) => candidateIds.includes(historyItem.marketId))) != null ? _a : venueHistory.length === 1 ? venueHistory[0] : void 0;
1792
+ if (!matchingHistory)
1793
+ return;
1794
+ const points = matchingHistory.points.map((point) => {
1795
+ const probability = normalizeProbability(point.price);
1796
+ if (probability == null || !Number.isFinite(point.timestamp))
1797
+ return null;
1798
+ return {
1799
+ time: point.timestamp,
1800
+ value: clampProbability(modeConfig.transformProbability(probability)) * 100
1801
+ };
1802
+ }).filter((point) => point != null);
1803
+ if (points.length === 0)
1804
+ return;
1805
+ chartSeries.push({
1806
+ id: `${mode}-${venueData.venue}-${matchingHistory.marketId}`,
1807
+ venue: venueData.venue,
1808
+ color: venueData.color,
1809
+ points,
1810
+ lineWidth: 2,
1811
+ lineStyle: "solid"
1812
+ });
1813
+ });
1814
+ return chartSeries;
1815
+ };
1816
+ return {
1817
+ yes: buildSeries("yes"),
1818
+ no: buildSeries("no")
1819
+ };
1820
+ }, [normalizedVenueDataByMode, priceHistoryByVenue, probabilityModeConfigs]);
1821
+ const visibleChartSeries = (0, import_react3.useMemo)(() => {
1822
+ const modeSeries = chartSeriesByMode[activeProbabilityMode];
1823
+ if (!selectedVenue)
1824
+ return modeSeries;
1825
+ return modeSeries.filter((seriesItem) => seriesItem.venue === selectedVenue);
1826
+ }, [activeProbabilityMode, chartSeriesByMode, selectedVenue]);
1827
+ const segmentedDisplayItems = (0, import_react3.useMemo)(() => {
1828
+ return probabilityModeOrder.map((mode) => {
1829
+ const averageProbability = resolveAverageProbability(
1830
+ normalizedVenueDataByMode[mode].map((venueData) => venueData.probability)
1831
+ );
1832
+ const suffix = averageProbability == null ? "" : ` ${formatPercent(averageProbability)}`;
1833
+ const switchLabel = probabilityModeConfigs[mode].switchLabel;
1765
1834
  return {
1766
- id: `${history.venue}-${history.marketId}-${index}`,
1767
- color,
1768
- points: history.points.map((point) => ({
1769
- time: point.timestamp,
1770
- value: point.price * 100
1771
- }))
1835
+ mode,
1836
+ display: `${switchLabel}${suffix}`
1772
1837
  };
1773
- }).filter((seriesItem) => seriesItem.points.length > 0);
1774
- }, [priceHistoryData, selectedOutcomesByVenue]);
1838
+ });
1839
+ }, [formatPercent, normalizedVenueDataByMode, probabilityModeConfigs]);
1840
+ const activeModeVenueData = normalizedVenueDataByMode[activeProbabilityMode];
1841
+ (0, import_react3.useEffect)(() => {
1842
+ if (!selectedVenue) {
1843
+ return;
1844
+ }
1845
+ if (activeModeVenueData.some((item) => item.venue === selectedVenue)) {
1846
+ return;
1847
+ }
1848
+ setSelectedVenue(null);
1849
+ }, [activeModeVenueData, selectedVenue]);
1850
+ const handleProbabilityModeChange = (nextMode) => {
1851
+ setActiveProbabilityMode(nextMode);
1852
+ if (isDateOutcomeMarket) {
1853
+ return;
1854
+ }
1855
+ onSelectedOutcomeLabelChange(probabilityModeConfigs[nextMode].sourceOutcomeLabel);
1856
+ };
1857
+ const handleVenueToggle = (venue) => {
1858
+ setSelectedVenue((currentSelectedVenue) => {
1859
+ if (currentSelectedVenue === venue)
1860
+ return null;
1861
+ return venue;
1862
+ });
1863
+ };
1775
1864
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1776
1865
  LineChart,
1777
1866
  {
1778
1867
  classNames: { root: classNames == null ? void 0 : classNames.chart },
1779
- series: chartSeries,
1868
+ series: visibleChartSeries,
1780
1869
  height: 300,
1781
1870
  isLoading: isPriceHistoryLoading,
1782
- showSeriesControls: selectedOutcomesByVenue.length > 0 || segmentedDisplayItems.length > 0,
1871
+ showSeriesControls: activeModeVenueData.length > 0 || segmentedDisplayItems.length > 0,
1783
1872
  renderSeriesControls: () => {
1784
- var _a, _b, _c, _d;
1785
1873
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1786
1874
  "div",
1787
1875
  {
@@ -1794,28 +1882,43 @@ var EventListItemDetailsGraphSection = ({
1794
1882
  "flex min-w-0 gap-2 overflow-x-auto pb-1 md:flex-wrap md:overflow-visible md:pb-0",
1795
1883
  classNames == null ? void 0 : classNames.outcomeBadges
1796
1884
  ),
1797
- children: selectedOutcomesByVenue.map((outcomeByVenue) => {
1798
- var _a2;
1799
- const probability = normalizeProbability(outcomeByVenue.outcome.price);
1800
- const text = probability == null ? "-" : formatPercent(probability);
1885
+ children: activeModeVenueData.map((venueData) => {
1886
+ var _a;
1887
+ const text = venueData.probability == null ? "-" : formatPercent(venueData.probability);
1888
+ const isActiveVenue = selectedVenue === venueData.venue;
1801
1889
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1802
- Badge,
1890
+ "button",
1803
1891
  {
1804
- text,
1805
- size: "l",
1806
- prefix: showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1807
- VenueLogo,
1892
+ type: "button",
1893
+ "aria-label": `${venueData.venueLabel} ${text}`,
1894
+ "aria-pressed": isActiveVenue,
1895
+ className: cn(
1896
+ "rounded-agg-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary focus-visible:ring-offset-2 focus-visible:ring-offset-agg-secondary-hover"
1897
+ ),
1898
+ onClick: () => handleVenueToggle(venueData.venue),
1899
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1900
+ Badge,
1808
1901
  {
1809
- venue: outcomeByVenue.venue,
1810
- size: "s",
1811
- title: (_a2 = venueInfo == null ? void 0 : venueInfo[outcomeByVenue.venue]) == null ? void 0 : _a2.label
1902
+ text,
1903
+ size: "l",
1904
+ prefix: showVenueLogo ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1905
+ VenueLogo,
1906
+ {
1907
+ venue: venueData.venue,
1908
+ size: "s",
1909
+ title: (_a = venueInfo == null ? void 0 : venueInfo[venueData.venue]) == null ? void 0 : _a.label
1910
+ }
1911
+ ) : void 0,
1912
+ classNames: {
1913
+ root: cn(
1914
+ "h-9 shrink-0 border-2 px-4 text-agg-base leading-agg-6",
1915
+ isActiveVenue ? "border-agg-primary bg-agg-secondary font-agg-bold" : "border-transparent bg-agg-secondary-hover font-agg-normal"
1916
+ )
1917
+ }
1812
1918
  }
1813
- ) : void 0,
1814
- classNames: {
1815
- root: "h-9 shrink-0 bg-agg-secondary-hover px-4 text-agg-base leading-agg-6"
1816
- }
1919
+ )
1817
1920
  },
1818
- `${outcomeByVenue.market.id}-${outcomeByVenue.outcome.id}`
1921
+ `${activeProbabilityMode}-${venueData.market.id}-${venueData.outcome.id}`
1819
1922
  );
1820
1923
  })
1821
1924
  }
@@ -1825,13 +1928,10 @@ var EventListItemDetailsGraphSection = ({
1825
1928
  {
1826
1929
  ariaLabel: labels.eventItemDetails.outcomeSelectorAria,
1827
1930
  className: cn("w-full md:w-fit", classNames == null ? void 0 : classNames.segmentedControl),
1828
- value: (_d = (_c = (_a = segmentedDisplayItems.find((item) => item.isActive)) == null ? void 0 : _a.label) != null ? _c : (_b = segmentedDisplayItems[0]) == null ? void 0 : _b.label) != null ? _d : "",
1829
- onValueChange: (nextValue) => {
1830
- var _a2;
1831
- (_a2 = segmentedDisplayItems.find((item) => item.label === nextValue)) == null ? void 0 : _a2.onSelect();
1832
- },
1931
+ value: activeProbabilityMode,
1932
+ onValueChange: handleProbabilityModeChange,
1833
1933
  options: segmentedDisplayItems.map((segmentedItem) => ({
1834
- value: segmentedItem.label,
1934
+ value: segmentedItem.mode,
1835
1935
  label: segmentedItem.display,
1836
1936
  ariaLabel: segmentedItem.display
1837
1937
  }))
@@ -1951,7 +2051,7 @@ var EventListItemDetailsContent = ({
1951
2051
  className: cn(detailsBaseCardClassName, classNames == null ? void 0 : classNames.root),
1952
2052
  "aria-label": ariaLabel != null ? ariaLabel : resolvedTitle,
1953
2053
  children: [
1954
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: cn("flex items-start gap-3 md:gap-4", classNames == null ? void 0 : classNames.header), children: [
2054
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: cn("flex items-start gap-3 md:gap-4 ", classNames == null ? void 0 : classNames.header), children: [
1955
2055
  resolvedImage ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1956
2056
  "img",
1957
2057
  {
@@ -1966,7 +2066,7 @@ var EventListItemDetailsContent = ({
1966
2066
  {
1967
2067
  variant: "value",
1968
2068
  className: cn(
1969
- "min-w-0 text-agg-base font-agg-bold leading-agg-6 whitespace-normal [display:-webkit-box] [-webkit-box-orient:vertical] [-webkit-line-clamp:2] md:text-agg-2xl md:leading-agg-8 md:[display:block] md:truncate md:whitespace-nowrap",
2069
+ "min-w-0 text-agg-base font-agg-bold! leading-agg-6 whitespace-normal [display:-webkit-box] [-webkit-box-orient:vertical] [-webkit-line-clamp:2] md:text-agg-2xl md:leading-agg-8 md:block md:truncate md:whitespace-nowrap",
1970
2070
  classNames == null ? void 0 : classNames.title
1971
2071
  ),
1972
2072
  children: resolvedTitle
@@ -2038,10 +2138,8 @@ var EventListItemDetailsContent = ({
2038
2138
  EventListItemDetailsGraphSection,
2039
2139
  {
2040
2140
  venueMarkets,
2041
- outcomeLabels,
2042
2141
  selectedOutcomeLabel,
2043
2142
  onSelectedOutcomeLabelChange: setSelectedOutcomeLabel,
2044
- probabilityByLabel,
2045
2143
  switchLabels,
2046
2144
  isDateOutcomeMarket,
2047
2145
  classNames,
@@ -2163,11 +2261,11 @@ var EventListItemDetails = (props) => {
2163
2261
  EventListItemDetails.displayName = "EventListItemDetails";
2164
2262
 
2165
2263
  // src/events/market-details/index.tsx
2166
- var import_react5 = require("react");
2264
+ var import_react6 = require("react");
2167
2265
  var import_hooks16 = require("@agg-market/hooks");
2168
2266
 
2169
2267
  // src/primitives/tabs/index.tsx
2170
- var import_react4 = require("react");
2268
+ var import_react5 = require("react");
2171
2269
  var import_hooks14 = require("@agg-market/hooks");
2172
2270
  var DropdownMenu = __toESM(require("@radix-ui/react-dropdown-menu"));
2173
2271
 
@@ -2240,124 +2338,122 @@ var ArrowsToDotIcon = (_a) => {
2240
2338
  };
2241
2339
  ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
2242
2340
 
2243
- // src/primitives/icon/svg/best-prices.tsx
2341
+ // src/primitives/icon/svg/bank.tsx
2244
2342
  var import_jsx_runtime23 = require("react/jsx-runtime");
2245
- var BestPricesIcon = (_a) => {
2343
+ var BankIcon = (_a) => {
2246
2344
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2247
2345
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2248
2346
  "svg",
2249
2347
  __spreadProps(__spreadValues(__spreadValues({
2250
- width: "28",
2251
- height: "28",
2252
- viewBox: "0 0 28 28",
2253
- fill: "none",
2254
- xmlns: "http://www.w3.org/2000/svg",
2255
- className
2348
+ viewBox: "0 0 24 24",
2349
+ className,
2350
+ fill: "none"
2256
2351
  }, getIconA11yProps(title)), props), {
2257
2352
  children: [
2258
2353
  title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
2259
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2354
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2260
2355
  "path",
2261
2356
  {
2262
- d: "M12.8333 27.4167C12.8333 27.7387 12.572 28 12.25 28H5.25C2.3555 28 0 25.6445 0 22.75V5.25117C0 2.35667 2.35433 0 5.25 0H18.0833C20.9778 0 23.3333 2.35433 23.3333 5.24883V8.74883C23.3333 9.07083 23.0732 9.33217 22.75 9.33217C22.4268 9.33217 22.1667 9.07083 22.1667 8.74883V5.24883C22.1667 2.99717 20.3338 1.1655 18.0833 1.1655H5.25C2.99833 1.1655 1.16667 2.99833 1.16667 5.25V22.7488C1.16667 25.0005 2.9995 26.8322 5.25 26.8322H12.25C12.572 26.8322 12.8333 27.0947 12.8333 27.4167ZM27.8297 27.8297C27.7153 27.944 27.566 28 27.4167 28C27.2673 28 27.118 27.9428 27.0037 27.8297L23.0102 23.8362C21.6837 24.9748 19.964 25.6667 18.0822 25.6667C13.9008 25.6667 10.4988 22.2647 10.4988 18.0833C10.4988 13.902 13.9008 10.5 18.0822 10.5C22.2635 10.5 25.6655 13.902 25.6655 18.0833C25.6655 19.964 24.9725 21.6837 23.835 23.0113L27.8285 27.0048C28.056 27.2323 28.0572 27.6022 27.8297 27.8297ZM24.5 18.0833C24.5 14.546 21.6218 11.6667 18.0833 11.6667C14.5448 11.6667 11.6667 14.546 11.6667 18.0833C11.6667 21.6207 14.5448 24.5 18.0833 24.5C21.6218 24.5 24.5 21.6207 24.5 18.0833ZM7.58333 5.83333H5.25C4.928 5.83333 4.66667 6.09467 4.66667 6.41667C4.66667 6.73867 4.928 7 5.25 7H7.58333C7.90533 7 8.16667 6.73867 8.16667 6.41667C8.16667 6.09467 7.90533 5.83333 7.58333 5.83333ZM7.58333 17.5H5.25C4.928 17.5 4.66667 17.7613 4.66667 18.0833C4.66667 18.4053 4.928 18.6667 5.25 18.6667H7.58333C7.90533 18.6667 8.16667 18.4053 8.16667 18.0833C8.16667 17.7613 7.90533 17.5 7.58333 17.5ZM11.0833 5.83333C10.7613 5.83333 10.5 6.09467 10.5 6.41667C10.5 6.73867 10.7613 7 11.0833 7H18.0833C18.4053 7 18.6667 6.73867 18.6667 6.41667C18.6667 6.09467 18.4053 5.83333 18.0833 5.83333H11.0833ZM7.58333 11.6667H5.25C4.928 11.6667 4.66667 11.928 4.66667 12.25C4.66667 12.572 4.928 12.8333 5.25 12.8333H7.58333C7.90533 12.8333 8.16667 12.572 8.16667 12.25C8.16667 11.928 7.90533 11.6667 7.58333 11.6667ZM21.1668 16.4862L18.0098 19.5405C17.6167 19.9255 16.9762 19.9302 16.583 19.5452L14.9928 17.976C14.7642 17.7497 14.3943 17.752 14.168 17.9807C13.9417 18.2105 13.944 18.5803 14.1738 18.8055L15.7652 20.377C16.1875 20.79 16.7417 20.9965 17.2958 20.9965C17.85 20.9965 18.4053 20.7888 18.8253 20.3747L21.9788 17.325C22.2098 17.101 22.2168 16.7312 21.9928 16.5002C21.77 16.2692 21.399 16.2645 21.1668 16.4862Z",
2357
+ d: "M23 22H1C0.448 22 0 22.448 0 23C0 23.552 0.448 24 1 24H23C23.552 24 24 23.552 24 23C24 22.448 23.552 22 23 22ZM2 21H4V11H2V21ZM6 21H8V11H6V21ZM10 21H14V11H10V21ZM16 21H18V11H16V21ZM20 21H22V11H20V21ZM12 0.334C11.826 0.123 11.569 0 11.297 0H12.703C12.431 0 12.174 0.123 12 0.334ZM0.392 8.613C0.144 9.02 0 9.495 0 10C0 10 0 10 1 10H23C24 10 24 10 24 10C24 9.495 23.856 9.02 23.608 8.613L13.406 0.668C13.016 0.244 12.528 0 12 0C11.472 0 10.984 0.244 10.594 0.668L0.392 8.613ZM12 2.156L21.445 9H2.555L12 2.156ZM12 5C10.895 5 10 5.895 10 7C10 8.105 10.895 9 12 9C13.105 9 14 8.105 14 7C14 5.895 13.105 5 12 5ZM12 8C11.448 8 11 7.552 11 7C11 6.448 11.448 6 12 6C12.552 6 13 6.448 13 7C13 7.552 12.552 8 12 8Z",
2263
2358
  fill: "currentColor"
2264
2359
  }
2265
- ) }),
2266
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
2360
+ )
2267
2361
  ]
2268
2362
  })
2269
2363
  );
2270
2364
  };
2271
- BestPricesIcon.displayName = "BestPricesIcon";
2365
+ BankIcon.displayName = "BankIcon";
2272
2366
 
2273
- // src/primitives/icon/svg/check-circle.tsx
2367
+ // src/primitives/icon/svg/best-prices.tsx
2274
2368
  var import_jsx_runtime24 = require("react/jsx-runtime");
2275
- var CheckCircleIcon = (_a) => {
2369
+ var BestPricesIcon = (_a) => {
2276
2370
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2277
2371
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
2278
2372
  "svg",
2279
2373
  __spreadProps(__spreadValues(__spreadValues({
2280
- width: "24",
2281
- height: "24",
2282
- viewBox: "0 0 24 24",
2374
+ width: "28",
2375
+ height: "28",
2376
+ viewBox: "0 0 28 28",
2283
2377
  fill: "none",
2284
2378
  xmlns: "http://www.w3.org/2000/svg",
2285
2379
  className
2286
2380
  }, getIconA11yProps(title)), props), {
2287
2381
  children: [
2288
2382
  title ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: title }) : null,
2289
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2383
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2290
2384
  "path",
2291
2385
  {
2292
- d: "M12 0C5.383 0 0 5.383 0 12C0 18.617 5.383 24 12 24C18.617 24 24 18.617 24 12C24 5.383 18.617 0 12 0ZM18.2 10.512L13.774 14.857C12.991 15.625 11.983 16.008 10.974 16.008C9.976 16.008 8.978 15.632 8.198 14.879L6.299 13.012C5.905 12.625 5.9 11.992 6.287 11.598C6.673 11.203 7.308 11.198 7.701 11.586L9.594 13.447C10.37 14.197 11.595 14.193 12.375 13.429L16.8 9.085C17.193 8.697 17.824 8.704 18.214 9.098C18.601 9.492 18.595 10.125 18.2 10.512Z",
2386
+ d: "M12.8333 27.4167C12.8333 27.7387 12.572 28 12.25 28H5.25C2.3555 28 0 25.6445 0 22.75V5.25117C0 2.35667 2.35433 0 5.25 0H18.0833C20.9778 0 23.3333 2.35433 23.3333 5.24883V8.74883C23.3333 9.07083 23.0732 9.33217 22.75 9.33217C22.4268 9.33217 22.1667 9.07083 22.1667 8.74883V5.24883C22.1667 2.99717 20.3338 1.1655 18.0833 1.1655H5.25C2.99833 1.1655 1.16667 2.99833 1.16667 5.25V22.7488C1.16667 25.0005 2.9995 26.8322 5.25 26.8322H12.25C12.572 26.8322 12.8333 27.0947 12.8333 27.4167ZM27.8297 27.8297C27.7153 27.944 27.566 28 27.4167 28C27.2673 28 27.118 27.9428 27.0037 27.8297L23.0102 23.8362C21.6837 24.9748 19.964 25.6667 18.0822 25.6667C13.9008 25.6667 10.4988 22.2647 10.4988 18.0833C10.4988 13.902 13.9008 10.5 18.0822 10.5C22.2635 10.5 25.6655 13.902 25.6655 18.0833C25.6655 19.964 24.9725 21.6837 23.835 23.0113L27.8285 27.0048C28.056 27.2323 28.0572 27.6022 27.8297 27.8297ZM24.5 18.0833C24.5 14.546 21.6218 11.6667 18.0833 11.6667C14.5448 11.6667 11.6667 14.546 11.6667 18.0833C11.6667 21.6207 14.5448 24.5 18.0833 24.5C21.6218 24.5 24.5 21.6207 24.5 18.0833ZM7.58333 5.83333H5.25C4.928 5.83333 4.66667 6.09467 4.66667 6.41667C4.66667 6.73867 4.928 7 5.25 7H7.58333C7.90533 7 8.16667 6.73867 8.16667 6.41667C8.16667 6.09467 7.90533 5.83333 7.58333 5.83333ZM7.58333 17.5H5.25C4.928 17.5 4.66667 17.7613 4.66667 18.0833C4.66667 18.4053 4.928 18.6667 5.25 18.6667H7.58333C7.90533 18.6667 8.16667 18.4053 8.16667 18.0833C8.16667 17.7613 7.90533 17.5 7.58333 17.5ZM11.0833 5.83333C10.7613 5.83333 10.5 6.09467 10.5 6.41667C10.5 6.73867 10.7613 7 11.0833 7H18.0833C18.4053 7 18.6667 6.73867 18.6667 6.41667C18.6667 6.09467 18.4053 5.83333 18.0833 5.83333H11.0833ZM7.58333 11.6667H5.25C4.928 11.6667 4.66667 11.928 4.66667 12.25C4.66667 12.572 4.928 12.8333 5.25 12.8333H7.58333C7.90533 12.8333 8.16667 12.572 8.16667 12.25C8.16667 11.928 7.90533 11.6667 7.58333 11.6667ZM21.1668 16.4862L18.0098 19.5405C17.6167 19.9255 16.9762 19.9302 16.583 19.5452L14.9928 17.976C14.7642 17.7497 14.3943 17.752 14.168 17.9807C13.9417 18.2105 13.944 18.5803 14.1738 18.8055L15.7652 20.377C16.1875 20.79 16.7417 20.9965 17.2958 20.9965C17.85 20.9965 18.4053 20.7888 18.8253 20.3747L21.9788 17.325C22.2098 17.101 22.2168 16.7312 21.9928 16.5002C21.77 16.2692 21.399 16.2645 21.1668 16.4862Z",
2293
2387
  fill: "currentColor"
2294
2388
  }
2295
2389
  ) }),
2296
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
2390
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
2297
2391
  ]
2298
2392
  })
2299
2393
  );
2300
2394
  };
2301
- CheckCircleIcon.displayName = "CheckCircleIcon";
2395
+ BestPricesIcon.displayName = "BestPricesIcon";
2302
2396
 
2303
- // src/primitives/icon/svg/chevron-down.tsx
2397
+ // src/primitives/icon/svg/bolt.tsx
2304
2398
  var import_jsx_runtime25 = require("react/jsx-runtime");
2305
- var ChevronDownIcon = (_a) => {
2399
+ var BoltIcon = (_a) => {
2306
2400
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2307
2401
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2308
2402
  "svg",
2309
2403
  __spreadProps(__spreadValues(__spreadValues({
2310
- viewBox: "0 0 14 14",
2404
+ viewBox: "0 0 24 24",
2311
2405
  className,
2312
2406
  fill: "none"
2313
2407
  }, getIconA11yProps(title)), props), {
2314
2408
  children: [
2315
2409
  title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
2316
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2410
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2317
2411
  "path",
2318
2412
  {
2319
- d: "M3.25 5.25L7 9L10.75 5.25",
2320
- stroke: "currentColor",
2321
- strokeWidth: "1.5",
2322
- strokeLinecap: "round",
2323
- strokeLinejoin: "round"
2413
+ d: "M11.7372 24C11.4922 24 11.2432 23.946 11.0022 23.835C10.2162 23.472 9.83423 22.637 10.0722 21.805L11.8272 16H6.50123C5.70223 16 4.97023 15.632 4.49423 14.99C4.01823 14.348 3.87723 13.541 4.10823 12.776L7.13023 1.788C7.45523 0.714 8.41723 0 9.52623 0H13.8992C14.5872 0 15.2322 0.338 15.6242 0.903C16.0162 1.468 16.1062 2.191 15.8652 2.835L13.7052 9H17.5002C18.4422 9 19.2682 9.497 19.7092 10.33C20.1502 11.163 20.0982 12.124 19.5692 12.904L13.1592 23.216C12.8202 23.725 12.2912 24 11.7372 24ZM9.52723 1C8.86123 1 8.28423 1.428 8.09123 2.066L5.06923 13.054C4.92723 13.525 5.01123 14.009 5.29723 14.394C5.58323 14.779 6.02223 15 6.50223 15H12.5012C12.6592 15 12.8082 15.075 12.9022 15.202C12.9962 15.329 13.0252 15.493 12.9792 15.644L11.0322 22.086C10.9102 22.514 11.1532 22.802 11.4232 22.926C11.6922 23.05 12.0692 23.05 12.3192 22.673L18.7312 12.358C19.0592 11.874 19.0912 11.297 18.8262 10.797C18.5612 10.297 18.0662 9.999 17.5002 9.999H13.0002C12.8382 9.999 12.6862 9.92 12.5922 9.788C12.4982 9.656 12.4742 9.487 12.5282 9.333L14.9252 2.493C15.0572 2.14 15.0112 1.772 14.8022 1.472C14.5942 1.171 14.2642 0.999 13.8992 0.999H9.52623L9.52723 1Z",
2414
+ fill: "currentColor"
2324
2415
  }
2325
- )
2416
+ ) }),
2417
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
2326
2418
  ]
2327
2419
  })
2328
2420
  );
2329
2421
  };
2330
- ChevronDownIcon.displayName = "ChevronDownIcon";
2422
+ BoltIcon.displayName = "BoltIcon";
2331
2423
 
2332
- // src/primitives/icon/svg/chevron-right.tsx
2424
+ // src/primitives/icon/svg/check-circle.tsx
2333
2425
  var import_jsx_runtime26 = require("react/jsx-runtime");
2334
- var ChevronRightIcon = (_a) => {
2426
+ var CheckCircleIcon = (_a) => {
2335
2427
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2336
2428
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2337
2429
  "svg",
2338
2430
  __spreadProps(__spreadValues(__spreadValues({
2339
- viewBox: "0 0 16 16",
2340
- className,
2341
- fill: "none"
2431
+ width: "24",
2432
+ height: "24",
2433
+ viewBox: "0 0 24 24",
2434
+ fill: "none",
2435
+ xmlns: "http://www.w3.org/2000/svg",
2436
+ className
2342
2437
  }, getIconA11yProps(title)), props), {
2343
2438
  children: [
2344
2439
  title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
2345
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2440
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2346
2441
  "path",
2347
2442
  {
2348
- d: "M10.2665 6.56563L7.20654 3.50563C7.08163 3.38146 6.91266 3.31177 6.73653 3.31177C6.56041 3.31177 6.39144 3.38146 6.26653 3.50563C6.20405 3.5676 6.15445 3.64134 6.12061 3.72258C6.08676 3.80382 6.06934 3.89095 6.06934 3.97896C6.06934 4.06697 6.08676 4.15411 6.12061 4.23535C6.15445 4.31659 6.20405 4.39032 6.26653 4.4523L9.3332 7.50563C9.39569 7.5676 9.44528 7.64134 9.47913 7.72258C9.51298 7.80382 9.5304 7.89095 9.5304 7.97896C9.5304 8.06697 9.51298 8.15411 9.47913 8.23535C9.44528 8.31659 9.39569 8.39032 9.3332 8.4523L6.26653 11.5056C6.141 11.6303 6.07012 11.7997 6.0695 11.9766C6.06887 12.1535 6.13855 12.3234 6.2632 12.449C6.38785 12.5745 6.55727 12.6454 6.73418 12.646C6.91109 12.6466 7.081 12.5769 7.20654 12.4523L10.2665 9.3923C10.6411 9.0173 10.8514 8.50896 10.8514 7.97896C10.8514 7.44896 10.6411 6.94063 10.2665 6.56563Z",
2443
+ d: "M12 0C5.383 0 0 5.383 0 12C0 18.617 5.383 24 12 24C18.617 24 24 18.617 24 12C24 5.383 18.617 0 12 0ZM18.2 10.512L13.774 14.857C12.991 15.625 11.983 16.008 10.974 16.008C9.976 16.008 8.978 15.632 8.198 14.879L6.299 13.012C5.905 12.625 5.9 11.992 6.287 11.598C6.673 11.203 7.308 11.198 7.701 11.586L9.594 13.447C10.37 14.197 11.595 14.193 12.375 13.429L16.8 9.085C17.193 8.697 17.824 8.704 18.214 9.098C18.601 9.492 18.595 10.125 18.2 10.512Z",
2349
2444
  fill: "currentColor"
2350
2445
  }
2351
- )
2446
+ ) }),
2447
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
2352
2448
  ]
2353
2449
  })
2354
2450
  );
2355
2451
  };
2356
- ChevronRightIcon.displayName = "ChevronRightIcon";
2452
+ CheckCircleIcon.displayName = "CheckCircleIcon";
2357
2453
 
2358
- // src/primitives/icon/svg/chevron-up.tsx
2454
+ // src/primitives/icon/svg/chevron-down.tsx
2359
2455
  var import_jsx_runtime27 = require("react/jsx-runtime");
2360
- var ChevronUpIcon = (_a) => {
2456
+ var ChevronDownIcon = (_a) => {
2361
2457
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2362
2458
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2363
2459
  "svg",
@@ -2371,7 +2467,7 @@ var ChevronUpIcon = (_a) => {
2371
2467
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2372
2468
  "path",
2373
2469
  {
2374
- d: "M3.25 8.75L7 5L10.75 8.75",
2470
+ d: "M3.25 5.25L7 9L10.75 5.25",
2375
2471
  stroke: "currentColor",
2376
2472
  strokeWidth: "1.5",
2377
2473
  strokeLinecap: "round",
@@ -2382,78 +2478,68 @@ var ChevronUpIcon = (_a) => {
2382
2478
  })
2383
2479
  );
2384
2480
  };
2385
- ChevronUpIcon.displayName = "ChevronUpIcon";
2481
+ ChevronDownIcon.displayName = "ChevronDownIcon";
2386
2482
 
2387
- // src/primitives/icon/svg/close.tsx
2483
+ // src/primitives/icon/svg/chevron-left.tsx
2388
2484
  var import_jsx_runtime28 = require("react/jsx-runtime");
2389
- var CloseIcon = (_a) => {
2485
+ var ChevronLeftIcon = (_a) => {
2390
2486
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2391
2487
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2392
2488
  "svg",
2393
2489
  __spreadProps(__spreadValues(__spreadValues({
2394
- width: "16",
2395
- height: "16",
2396
- viewBox: "0 0 16 16",
2397
- fill: "none",
2398
- xmlns: "http://www.w3.org/2000/svg",
2399
- className
2490
+ viewBox: "0 0 24 24",
2491
+ className,
2492
+ fill: "none"
2400
2493
  }, getIconA11yProps(title)), props), {
2401
2494
  children: [
2402
2495
  title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
2403
2496
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2404
2497
  "path",
2405
2498
  {
2406
- d: "M12 4L4 12M4 4l8 8",
2407
- stroke: "currentColor",
2408
- strokeWidth: "2",
2409
- strokeLinecap: "round",
2410
- strokeLinejoin: "round"
2499
+ d: "M10.5999 12.6786C10.5061 12.5856 10.4317 12.475 10.381 12.3531C10.3302 12.2313 10.3041 12.1006 10.3041 11.9686C10.3041 11.8366 10.3302 11.7058 10.381 11.584C10.4317 11.4621 10.5061 11.3515 10.5999 11.2586L15.1899 6.67857C15.2836 6.5856 15.358 6.475 15.4088 6.35314C15.4595 6.23128 15.4857 6.10058 15.4857 5.96857C15.4857 5.83655 15.4595 5.70585 15.4088 5.58399C15.358 5.46213 15.2836 5.35153 15.1899 5.25857C15.0025 5.07231 14.749 4.96777 14.4849 4.96777C14.2207 4.96777 13.9672 5.07231 13.7799 5.25857L9.18986 9.84857C8.62806 10.4111 8.3125 11.1736 8.3125 11.9686C8.3125 12.7636 8.62806 13.5261 9.18986 14.0886L13.7799 18.6786C13.9661 18.8633 14.2175 18.9675 14.4799 18.9686C14.6115 18.9693 14.7419 18.9441 14.8638 18.8943C14.9856 18.8446 15.0964 18.7712 15.1899 18.6786C15.2836 18.5856 15.358 18.475 15.4088 18.3531C15.4595 18.2313 15.4857 18.1006 15.4857 17.9686C15.4857 17.8366 15.4595 17.7058 15.4088 17.584C15.358 17.4621 15.2836 17.3515 15.1899 17.2586L10.5999 12.6786Z",
2500
+ fill: "currentColor"
2411
2501
  }
2412
2502
  )
2413
2503
  ]
2414
2504
  })
2415
2505
  );
2416
2506
  };
2417
- CloseIcon.displayName = "CloseIcon";
2507
+ ChevronLeftIcon.displayName = "ChevronLeftIcon";
2418
2508
 
2419
- // src/primitives/icon/svg/create-account.tsx
2509
+ // src/primitives/icon/svg/chevron-right.tsx
2420
2510
  var import_jsx_runtime29 = require("react/jsx-runtime");
2421
- var CreateAccountIcon = (_a) => {
2511
+ var ChevronRightIcon = (_a) => {
2422
2512
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2423
2513
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2424
2514
  "svg",
2425
2515
  __spreadProps(__spreadValues(__spreadValues({
2426
- width: "28",
2427
- height: "28",
2428
- viewBox: "0 0 28 28",
2429
- fill: "none",
2430
- xmlns: "http://www.w3.org/2000/svg",
2431
- className
2516
+ viewBox: "0 0 16 16",
2517
+ className,
2518
+ fill: "none"
2432
2519
  }, getIconA11yProps(title)), props), {
2433
2520
  children: [
2434
2521
  title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
2435
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2522
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2436
2523
  "path",
2437
2524
  {
2438
- d: "M22.1667 4.66667V0.583333C22.1667 0.261333 22.428 0 22.75 0C23.072 0 23.3333 0.261333 23.3333 0.583333V4.66667H27.4167C27.7387 4.66667 28 4.928 28 5.25C28 5.572 27.7387 5.83333 27.4167 5.83333H23.3333V9.91667C23.3333 10.2387 23.072 10.5 22.75 10.5C22.428 10.5 22.1667 10.2387 22.1667 9.91667V5.83333H18.0833C17.7613 5.83333 17.5 5.572 17.5 5.25C17.5 4.928 17.7613 4.66667 18.0833 4.66667H22.1667ZM18.6667 11.6667C18.6667 14.2403 16.5737 16.3333 14 16.3333C11.4263 16.3333 9.33333 14.2403 9.33333 11.6667C9.33333 9.093 11.4263 7 14 7C16.5737 7 18.6667 9.093 18.6667 11.6667ZM17.5 11.6667C17.5 9.737 15.9297 8.16667 14 8.16667C12.0703 8.16667 10.5 9.737 10.5 11.6667C10.5 13.5963 12.0703 15.1667 14 15.1667C15.9297 15.1667 17.5 13.5963 17.5 11.6667ZM27.3922 9.90617C27.7958 11.2292 28 12.6058 28 14C28 21.7198 21.7198 28 14 28C6.28017 28 0 21.7198 0 14C0 6.28017 6.28017 0 14 0C15.4548 0 16.8898 0.221667 18.2607 0.660333C18.5675 0.758333 18.7367 1.08617 18.6387 1.393C18.5395 1.69983 18.2105 1.87017 17.9048 1.771C16.6483 1.36967 15.3335 1.1655 13.9988 1.1655C6.92417 1.16667 1.16667 6.92417 1.16667 14C1.16667 18.5197 3.521 22.4933 7.063 24.78C7.5005 21.3383 10.4417 18.6667 14 18.6667C17.5583 18.6667 20.4995 21.3383 20.937 24.78C24.4778 22.4933 26.8333 18.5197 26.8333 14C26.8333 12.7213 26.6467 11.459 26.2757 10.2468C26.1823 9.93883 26.355 9.61217 26.6642 9.51883C26.9722 9.422 27.2977 9.59933 27.3922 9.90617ZM14 26.8333C16.0918 26.8333 18.0623 26.32 19.8088 25.4287C19.6805 22.3253 17.1348 19.8333 14 19.8333C10.8652 19.8333 8.31833 22.3242 8.19117 25.4287C9.93767 26.32 11.9082 26.8333 14 26.8333Z",
2525
+ d: "M10.2665 6.56563L7.20654 3.50563C7.08163 3.38146 6.91266 3.31177 6.73653 3.31177C6.56041 3.31177 6.39144 3.38146 6.26653 3.50563C6.20405 3.5676 6.15445 3.64134 6.12061 3.72258C6.08676 3.80382 6.06934 3.89095 6.06934 3.97896C6.06934 4.06697 6.08676 4.15411 6.12061 4.23535C6.15445 4.31659 6.20405 4.39032 6.26653 4.4523L9.3332 7.50563C9.39569 7.5676 9.44528 7.64134 9.47913 7.72258C9.51298 7.80382 9.5304 7.89095 9.5304 7.97896C9.5304 8.06697 9.51298 8.15411 9.47913 8.23535C9.44528 8.31659 9.39569 8.39032 9.3332 8.4523L6.26653 11.5056C6.141 11.6303 6.07012 11.7997 6.0695 11.9766C6.06887 12.1535 6.13855 12.3234 6.2632 12.449C6.38785 12.5745 6.55727 12.6454 6.73418 12.646C6.91109 12.6466 7.081 12.5769 7.20654 12.4523L10.2665 9.3923C10.6411 9.0173 10.8514 8.50896 10.8514 7.97896C10.8514 7.44896 10.6411 6.94063 10.2665 6.56563Z",
2439
2526
  fill: "currentColor"
2440
2527
  }
2441
- ) }),
2442
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
2528
+ )
2443
2529
  ]
2444
2530
  })
2445
2531
  );
2446
2532
  };
2447
- CreateAccountIcon.displayName = "CreateAccountIcon";
2533
+ ChevronRightIcon.displayName = "ChevronRightIcon";
2448
2534
 
2449
- // src/primitives/icon/svg/disconnect.tsx
2535
+ // src/primitives/icon/svg/chevron-up.tsx
2450
2536
  var import_jsx_runtime30 = require("react/jsx-runtime");
2451
- var DisconnectIcon = (_a) => {
2537
+ var ChevronUpIcon = (_a) => {
2452
2538
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2453
2539
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2454
2540
  "svg",
2455
2541
  __spreadProps(__spreadValues(__spreadValues({
2456
- viewBox: "0 0 16 16",
2542
+ viewBox: "0 0 14 14",
2457
2543
  className,
2458
2544
  fill: "none"
2459
2545
  }, getIconA11yProps(title)), props), {
@@ -2462,16 +2548,7 @@ var DisconnectIcon = (_a) => {
2462
2548
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2463
2549
  "path",
2464
2550
  {
2465
- d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
2466
- stroke: "currentColor",
2467
- strokeWidth: "1.5",
2468
- strokeLinecap: "round"
2469
- }
2470
- ),
2471
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2472
- "path",
2473
- {
2474
- d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
2551
+ d: "M3.25 8.75L7 5L10.75 8.75",
2475
2552
  stroke: "currentColor",
2476
2553
  strokeWidth: "1.5",
2477
2554
  strokeLinecap: "round",
@@ -2482,41 +2559,43 @@ var DisconnectIcon = (_a) => {
2482
2559
  })
2483
2560
  );
2484
2561
  };
2485
- DisconnectIcon.displayName = "DisconnectIcon";
2562
+ ChevronUpIcon.displayName = "ChevronUpIcon";
2486
2563
 
2487
- // src/primitives/icon/svg/download.tsx
2564
+ // src/primitives/icon/svg/close.tsx
2488
2565
  var import_jsx_runtime31 = require("react/jsx-runtime");
2489
- var DownloadIcon = (_a) => {
2566
+ var CloseIcon = (_a) => {
2490
2567
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2491
2568
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2492
2569
  "svg",
2493
2570
  __spreadProps(__spreadValues(__spreadValues({
2571
+ width: "16",
2572
+ height: "16",
2494
2573
  viewBox: "0 0 16 16",
2495
- className,
2496
- fill: "none"
2574
+ fill: "none",
2575
+ xmlns: "http://www.w3.org/2000/svg",
2576
+ className
2497
2577
  }, getIconA11yProps(title)), props), {
2498
2578
  children: [
2499
2579
  title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
2500
2580
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2501
2581
  "path",
2502
2582
  {
2503
- d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
2583
+ d: "M12 4L4 12M4 4l8 8",
2504
2584
  stroke: "currentColor",
2505
- strokeWidth: "1.5",
2585
+ strokeWidth: "2",
2506
2586
  strokeLinecap: "round",
2507
2587
  strokeLinejoin: "round"
2508
2588
  }
2509
- ),
2510
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
2589
+ )
2511
2590
  ]
2512
2591
  })
2513
2592
  );
2514
2593
  };
2515
- DownloadIcon.displayName = "DownloadIcon";
2594
+ CloseIcon.displayName = "CloseIcon";
2516
2595
 
2517
- // src/primitives/icon/svg/dots-horizontal.tsx
2596
+ // src/primitives/icon/svg/copy.tsx
2518
2597
  var import_jsx_runtime32 = require("react/jsx-runtime");
2519
- var DotsHorizontalIcon = (_a) => {
2598
+ var CopyIcon = (_a) => {
2520
2599
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2521
2600
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2522
2601
  "svg",
@@ -2527,18 +2606,23 @@ var DotsHorizontalIcon = (_a) => {
2527
2606
  }, getIconA11yProps(title)), props), {
2528
2607
  children: [
2529
2608
  title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
2530
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
2531
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
2532
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
2533
- ]
2534
- })
2609
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2610
+ "path",
2611
+ {
2612
+ d: "M10 13.3333H3.33333C2.4496 13.3323 1.60237 12.9807 0.97748 12.3559C0.352588 11.731 0.00105857 10.8837 0 10L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L10 0C10.8837 0.00105857 11.731 0.352588 12.3559 0.97748C12.9807 1.60237 13.3323 2.4496 13.3333 3.33333V10C13.3323 10.8837 12.9807 11.731 12.3559 12.3559C11.731 12.9807 10.8837 13.3323 10 13.3333ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V10C1.33333 10.5304 1.54405 11.0391 1.91912 11.4142C2.29419 11.7893 2.8029 12 3.33333 12H10C10.5304 12 11.0391 11.7893 11.4142 11.4142C11.7893 11.0391 12 10.5304 12 10V3.33333C12 2.8029 11.7893 2.29419 11.4142 1.91912C11.0391 1.54405 10.5304 1.33333 10 1.33333H3.33333ZM16 12.6667V4C16 3.82319 15.9298 3.65362 15.8047 3.5286C15.6797 3.40357 15.5101 3.33333 15.3333 3.33333C15.1565 3.33333 14.987 3.40357 14.8619 3.5286C14.7369 3.65362 14.6667 3.82319 14.6667 4V12.6667C14.6667 13.1971 14.456 13.7058 14.0809 14.0809C13.7058 14.456 13.1971 14.6667 12.6667 14.6667H4C3.82319 14.6667 3.65362 14.7369 3.5286 14.8619C3.40357 14.987 3.33333 15.1565 3.33333 15.3333C3.33333 15.5101 3.40357 15.6797 3.5286 15.8047C3.65362 15.9298 3.82319 16 4 16H12.6667C13.5504 15.9989 14.3976 15.6474 15.0225 15.0225C15.6474 14.3976 15.9989 13.5504 16 12.6667Z",
2613
+ fill: "currentColor"
2614
+ }
2615
+ ) }),
2616
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
2617
+ ]
2618
+ })
2535
2619
  );
2536
2620
  };
2537
- DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
2621
+ CopyIcon.displayName = "CopyIcon";
2538
2622
 
2539
- // src/primitives/icon/svg/link-accounts.tsx
2623
+ // src/primitives/icon/svg/create-account.tsx
2540
2624
  var import_jsx_runtime33 = require("react/jsx-runtime");
2541
- var LinkAccountsIcon = (_a) => {
2625
+ var CreateAccountIcon = (_a) => {
2542
2626
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2543
2627
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2544
2628
  "svg",
@@ -2552,28 +2636,28 @@ var LinkAccountsIcon = (_a) => {
2552
2636
  }, getIconA11yProps(title)), props), {
2553
2637
  children: [
2554
2638
  title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
2555
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2639
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2556
2640
  "path",
2557
2641
  {
2558
- d: "M28 18.0835C28 22.2648 24.598 25.6668 20.4167 25.6668H14.5833C10.402 25.6668 7 22.2648 7 18.0835C7 13.9022 10.402 10.5002 14.5833 10.5002H16.9167C17.2387 10.5002 17.5 10.7615 17.5 11.0835C17.5 11.4055 17.2387 11.6668 16.9167 11.6668H14.5833C11.0448 11.6668 8.16667 14.5462 8.16667 18.0835C8.16667 21.6208 11.0448 24.5002 14.5833 24.5002H20.4167C23.9552 24.5002 26.8333 21.6208 26.8333 18.0835C26.8333 15.7992 25.6037 13.67 23.625 12.5243C23.3462 12.3633 23.2505 12.0063 23.4127 11.7275C23.5725 11.4487 23.9283 11.3507 24.2095 11.514C26.5475 12.8662 28.0012 15.3827 28.0012 18.0823L28 18.0835ZM4.375 15.476C2.39517 14.3315 1.16667 12.2012 1.16667 9.91683C1.16667 6.3795 4.04483 3.50016 7.58333 3.50016H13.4167C16.9552 3.50016 19.8333 6.3795 19.8333 9.91683C19.8333 13.4542 16.9552 16.3335 13.4167 16.3335H11.0833C10.7613 16.3335 10.5 16.5948 10.5 16.9168C10.5 17.2388 10.7613 17.5002 11.0833 17.5002H13.4167C17.598 17.5002 21 14.0982 21 9.91683C21 5.7355 17.598 2.3335 13.4167 2.3335H7.58333C3.402 2.3335 0 5.7355 0 9.91683C0 12.6153 1.4525 15.133 3.79167 16.4852C4.0705 16.6462 4.4275 16.5517 4.5885 16.2717C4.75067 15.994 4.655 15.6358 4.37617 15.4748L4.375 15.476Z",
2642
+ d: "M22.1667 4.66667V0.583333C22.1667 0.261333 22.428 0 22.75 0C23.072 0 23.3333 0.261333 23.3333 0.583333V4.66667H27.4167C27.7387 4.66667 28 4.928 28 5.25C28 5.572 27.7387 5.83333 27.4167 5.83333H23.3333V9.91667C23.3333 10.2387 23.072 10.5 22.75 10.5C22.428 10.5 22.1667 10.2387 22.1667 9.91667V5.83333H18.0833C17.7613 5.83333 17.5 5.572 17.5 5.25C17.5 4.928 17.7613 4.66667 18.0833 4.66667H22.1667ZM18.6667 11.6667C18.6667 14.2403 16.5737 16.3333 14 16.3333C11.4263 16.3333 9.33333 14.2403 9.33333 11.6667C9.33333 9.093 11.4263 7 14 7C16.5737 7 18.6667 9.093 18.6667 11.6667ZM17.5 11.6667C17.5 9.737 15.9297 8.16667 14 8.16667C12.0703 8.16667 10.5 9.737 10.5 11.6667C10.5 13.5963 12.0703 15.1667 14 15.1667C15.9297 15.1667 17.5 13.5963 17.5 11.6667ZM27.3922 9.90617C27.7958 11.2292 28 12.6058 28 14C28 21.7198 21.7198 28 14 28C6.28017 28 0 21.7198 0 14C0 6.28017 6.28017 0 14 0C15.4548 0 16.8898 0.221667 18.2607 0.660333C18.5675 0.758333 18.7367 1.08617 18.6387 1.393C18.5395 1.69983 18.2105 1.87017 17.9048 1.771C16.6483 1.36967 15.3335 1.1655 13.9988 1.1655C6.92417 1.16667 1.16667 6.92417 1.16667 14C1.16667 18.5197 3.521 22.4933 7.063 24.78C7.5005 21.3383 10.4417 18.6667 14 18.6667C17.5583 18.6667 20.4995 21.3383 20.937 24.78C24.4778 22.4933 26.8333 18.5197 26.8333 14C26.8333 12.7213 26.6467 11.459 26.2757 10.2468C26.1823 9.93883 26.355 9.61217 26.6642 9.51883C26.9722 9.422 27.2977 9.59933 27.3922 9.90617ZM14 26.8333C16.0918 26.8333 18.0623 26.32 19.8088 25.4287C19.6805 22.3253 17.1348 19.8333 14 19.8333C10.8652 19.8333 8.31833 22.3242 8.19117 25.4287C9.93767 26.32 11.9082 26.8333 14 26.8333Z",
2559
2643
  fill: "currentColor"
2560
2644
  }
2561
2645
  ) }),
2562
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
2646
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
2563
2647
  ]
2564
2648
  })
2565
2649
  );
2566
2650
  };
2567
- LinkAccountsIcon.displayName = "LinkAccountsIcon";
2651
+ CreateAccountIcon.displayName = "CreateAccountIcon";
2568
2652
 
2569
- // src/primitives/icon/svg/profile.tsx
2653
+ // src/primitives/icon/svg/credit-card.tsx
2570
2654
  var import_jsx_runtime34 = require("react/jsx-runtime");
2571
- var ProfileIcon = (_a) => {
2655
+ var CreditCardIcon = (_a) => {
2572
2656
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2573
2657
  return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2574
2658
  "svg",
2575
2659
  __spreadProps(__spreadValues(__spreadValues({
2576
- viewBox: "0 0 16 16",
2660
+ viewBox: "0 0 24 24",
2577
2661
  className,
2578
2662
  fill: "none"
2579
2663
  }, getIconA11yProps(title)), props), {
@@ -2582,18 +2666,397 @@ var ProfileIcon = (_a) => {
2582
2666
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2583
2667
  "path",
2584
2668
  {
2585
- d: "M8 8.25a2.75 2.75 0 1 0 0-5.5 2.75 2.75 0 0 0 0 5.5Z",
2669
+ d: "M19.5 3H4.5C2.019 3 0 5.019 0 7.5V16.5C0 18.981 2.019 21 4.5 21H19.5C21.981 21 24 18.981 24 16.5V7.5C24 5.019 21.981 3 19.5 3ZM1 8H23V10H1V8ZM4.5 4H19.5C21.258 4 22.704 5.308 22.949 7H1.051C1.296 5.308 2.742 4 4.5 4ZM19.5 20H4.5C2.57 20 1 18.43 1 16.5V11H23V16.5C23 18.43 21.43 20 19.5 20ZM5 14C3.897 14 3 14.897 3 16C3 17.103 3.897 18 5 18C6.103 18 7 17.103 7 16C7 14.897 6.103 14 5 14ZM5 17C4.449 17 4 16.552 4 16C4 15.448 4.449 15 5 15C5.551 15 6 15.448 6 16C6 16.552 5.551 17 5 17Z",
2670
+ fill: "currentColor"
2671
+ }
2672
+ )
2673
+ ]
2674
+ })
2675
+ );
2676
+ };
2677
+ CreditCardIcon.displayName = "CreditCardIcon";
2678
+
2679
+ // src/primitives/icon/svg/disconnect.tsx
2680
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2681
+ var DisconnectIcon = (_a) => {
2682
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2683
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2684
+ "svg",
2685
+ __spreadProps(__spreadValues(__spreadValues({
2686
+ viewBox: "0 0 16 16",
2687
+ className,
2688
+ fill: "none"
2689
+ }, getIconA11yProps(title)), props), {
2690
+ children: [
2691
+ title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
2692
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2693
+ "path",
2694
+ {
2695
+ d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
2586
2696
  stroke: "currentColor",
2587
- strokeWidth: "1.5"
2697
+ strokeWidth: "1.5",
2698
+ strokeLinecap: "round"
2588
2699
  }
2589
2700
  ),
2590
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2701
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2591
2702
  "path",
2592
2703
  {
2593
- d: "M3 13.5a5 5 0 0 1 10 0",
2704
+ d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
2594
2705
  stroke: "currentColor",
2595
2706
  strokeWidth: "1.5",
2596
- strokeLinecap: "round"
2707
+ strokeLinecap: "round",
2708
+ strokeLinejoin: "round"
2709
+ }
2710
+ )
2711
+ ]
2712
+ })
2713
+ );
2714
+ };
2715
+ DisconnectIcon.displayName = "DisconnectIcon";
2716
+
2717
+ // src/primitives/icon/svg/dots-horizontal.tsx
2718
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2719
+ var DotsHorizontalIcon = (_a) => {
2720
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2721
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2722
+ "svg",
2723
+ __spreadProps(__spreadValues(__spreadValues({
2724
+ viewBox: "0 0 16 16",
2725
+ className,
2726
+ fill: "none"
2727
+ }, getIconA11yProps(title)), props), {
2728
+ children: [
2729
+ title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
2730
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
2731
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
2732
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
2733
+ ]
2734
+ })
2735
+ );
2736
+ };
2737
+ DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
2738
+
2739
+ // src/primitives/icon/svg/document.tsx
2740
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2741
+ var DocumentIcon = (_a) => {
2742
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2743
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2744
+ "svg",
2745
+ __spreadProps(__spreadValues(__spreadValues({
2746
+ viewBox: "0 0 16 16",
2747
+ className,
2748
+ fill: "none"
2749
+ }, getIconA11yProps(title)), props), {
2750
+ children: [
2751
+ title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
2752
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2753
+ "path",
2754
+ {
2755
+ d: "M11.3335 9.33335C11.3335 9.51016 11.2633 9.67973 11.1382 9.80475C11.0132 9.92978 10.8436 10 10.6668 10H5.3335C5.15669 10 4.98712 9.92978 4.86209 9.80475C4.73707 9.67973 4.66683 9.51016 4.66683 9.33335C4.66683 9.15654 4.73707 8.98697 4.86209 8.86194C4.98712 8.73692 5.15669 8.66668 5.3335 8.66668H10.6668C10.8436 8.66668 11.0132 8.73692 11.1382 8.86194C11.2633 8.98697 11.3335 9.15654 11.3335 9.33335ZM8.66683 11.3333H5.3335C5.15669 11.3333 4.98712 11.4036 4.86209 11.5286C4.73707 11.6536 4.66683 11.8232 4.66683 12C4.66683 12.1768 4.73707 12.3464 4.86209 12.4714C4.98712 12.5964 5.15669 12.6667 5.3335 12.6667H8.66683C8.84364 12.6667 9.01321 12.5964 9.13823 12.4714C9.26326 12.3464 9.3335 12.1768 9.3335 12C9.3335 11.8232 9.26326 11.6536 9.13823 11.5286C9.01321 11.4036 8.84364 11.3333 8.66683 11.3333ZM14.6668 6.99002V12.6667C14.6658 13.5504 14.3142 14.3976 13.6894 15.0225C13.0645 15.6474 12.2172 15.999 11.3335 16H4.66683C3.7831 15.999 2.93587 15.6474 2.31098 15.0225C1.68608 14.3976 1.33455 13.5504 1.3335 12.6667V3.33335C1.33455 2.44962 1.68608 1.60239 2.31098 0.977495C2.93587 0.352603 3.7831 0.00107394 4.66683 1.53658e-05H7.67683C8.28991 -0.00156258 8.89722 0.118407 9.46365 0.352988C10.0301 0.587569 10.5444 0.932107 10.9768 1.36668L13.2995 3.69068C13.7343 4.12284 14.0791 4.63699 14.3138 5.20333C14.5485 5.76968 14.6685 6.37696 14.6668 6.99002ZM10.0342 2.30935C9.82435 2.10612 9.58879 1.9313 9.3335 1.78935V4.66668C9.3335 4.84349 9.40373 5.01306 9.52876 5.13809C9.65378 5.26311 9.82335 5.33335 10.0002 5.33335H12.8775C12.7355 5.07814 12.5604 4.84278 12.3568 4.63335L10.0342 2.30935ZM13.3335 6.99002C13.3335 6.88002 13.3122 6.77468 13.3022 6.66668H10.0002C9.46973 6.66668 8.96102 6.45597 8.58595 6.0809C8.21088 5.70582 8.00016 5.19711 8.00016 4.66668V1.36468C7.89216 1.35468 7.78616 1.33335 7.67683 1.33335H4.66683C4.1364 1.33335 3.62769 1.54406 3.25262 1.91914C2.87754 2.29421 2.66683 2.80292 2.66683 3.33335V12.6667C2.66683 13.1971 2.87754 13.7058 3.25262 14.0809C3.62769 14.456 4.1364 14.6667 4.66683 14.6667H11.3335C11.8639 14.6667 12.3726 14.456 12.7477 14.0809C13.1228 13.7058 13.3335 13.1971 13.3335 12.6667V6.99002Z",
2756
+ fill: "currentColor"
2757
+ }
2758
+ ) }),
2759
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("clipPath", { id: "document-clip", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
2760
+ ]
2761
+ })
2762
+ );
2763
+ };
2764
+ DocumentIcon.displayName = "DocumentIcon";
2765
+
2766
+ // src/primitives/icon/svg/download.tsx
2767
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2768
+ var DownloadIcon = (_a) => {
2769
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2770
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2771
+ "svg",
2772
+ __spreadProps(__spreadValues(__spreadValues({
2773
+ viewBox: "0 0 16 16",
2774
+ className,
2775
+ fill: "none"
2776
+ }, getIconA11yProps(title)), props), {
2777
+ children: [
2778
+ title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
2779
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2780
+ "path",
2781
+ {
2782
+ d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
2783
+ stroke: "currentColor",
2784
+ strokeWidth: "1.5",
2785
+ strokeLinecap: "round",
2786
+ strokeLinejoin: "round"
2787
+ }
2788
+ ),
2789
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
2790
+ ]
2791
+ })
2792
+ );
2793
+ };
2794
+ DownloadIcon.displayName = "DownloadIcon";
2795
+
2796
+ // src/primitives/icon/svg/external-link.tsx
2797
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2798
+ var ExternalLinkIcon = (_a) => {
2799
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2800
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2801
+ "svg",
2802
+ __spreadProps(__spreadValues(__spreadValues({
2803
+ viewBox: "0 0 14 14",
2804
+ className,
2805
+ fill: "none"
2806
+ }, getIconA11yProps(title)), props), {
2807
+ children: [
2808
+ title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
2809
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2810
+ "path",
2811
+ {
2812
+ d: "M11.6667 6.41667V11.0833C11.6667 12.6916 10.3582 14 8.75 14H2.91667C1.30842 14 0 12.6916 0 11.0833V5.25C0 3.64175 1.30842 2.33333 2.91667 2.33333H7.58333C7.90533 2.33333 8.16667 2.59467 8.16667 2.91667C8.16667 3.23867 7.90533 3.5 7.58333 3.5H2.91667C1.95183 3.5 1.16667 4.28517 1.16667 5.25V11.0833C1.16667 12.0482 1.95183 12.8333 2.91667 12.8333H8.75C9.71483 12.8333 10.5 12.0482 10.5 11.0833V6.41667C10.5 6.09467 10.7613 5.83333 11.0833 5.83333C11.4053 5.83333 11.6667 6.09467 11.6667 6.41667ZM12.25 0H8.16667C7.84467 0 7.58333 0.261333 7.58333 0.583333C7.58333 0.905333 7.84467 1.16667 8.16667 1.16667H12.0085L4.83758 8.33758C4.6095 8.56567 4.6095 8.93433 4.83758 9.16242C4.95133 9.27617 5.10067 9.33333 5.25 9.33333C5.39933 9.33333 5.54867 9.27617 5.66242 9.16242L12.8333 1.9915V5.83333C12.8333 6.15533 13.0947 6.41667 13.4167 6.41667C13.7387 6.41667 14 6.15533 14 5.83333V1.75C14 0.785167 13.2148 0 12.25 0Z",
2813
+ fill: "currentColor"
2814
+ }
2815
+ ) }),
2816
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
2817
+ ]
2818
+ })
2819
+ );
2820
+ };
2821
+ ExternalLinkIcon.displayName = "ExternalLinkIcon";
2822
+
2823
+ // src/primitives/icon/svg/info.tsx
2824
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2825
+ var InfoIcon = (_a) => {
2826
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2827
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2828
+ "svg",
2829
+ __spreadProps(__spreadValues(__spreadValues({
2830
+ viewBox: "0 0 12 12",
2831
+ className,
2832
+ fill: "none"
2833
+ }, getIconA11yProps(title)), props), {
2834
+ children: [
2835
+ title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
2836
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("g", { clipPath: "url(#info_clip)", children: [
2837
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2838
+ "path",
2839
+ {
2840
+ d: "M6 0C4.81331 0 3.65328 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456726 3.7039C0.00259972 4.80026 -0.11622 6.00666 0.115291 7.17054C0.346802 8.33443 0.918247 9.40353 1.75736 10.2426C2.59648 11.0818 3.66558 11.6532 4.82946 11.8847C5.99335 12.1162 7.19975 11.9974 8.2961 11.5433C9.39246 11.0892 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C11.9983 4.40923 11.3656 2.88411 10.2407 1.75926C9.1159 0.634414 7.59077 0.00172054 6 0ZM6 11C5.0111 11 4.0444 10.7068 3.22215 10.1573C2.39991 9.60794 1.75904 8.82705 1.38061 7.91342C1.00217 6.99979 0.90315 5.99445 1.09608 5.02455C1.289 4.05464 1.76521 3.16373 2.46447 2.46447C3.16373 1.7652 4.05465 1.289 5.02455 1.09607C5.99446 0.903148 6.99979 1.00216 7.91342 1.3806C8.82705 1.75904 9.60794 2.3999 10.1574 3.22215C10.7068 4.04439 11 5.01109 11 6C10.9985 7.32564 10.4713 8.59656 9.53393 9.53393C8.59656 10.4713 7.32564 10.9985 6 11Z",
2841
+ fill: "currentColor"
2842
+ }
2843
+ ),
2844
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2845
+ "path",
2846
+ {
2847
+ d: "M6 5H5.5C5.36739 5 5.24021 5.05268 5.14645 5.14645C5.05268 5.24021 5 5.36739 5 5.5C5 5.63261 5.05268 5.75979 5.14645 5.85355C5.24021 5.94732 5.36739 6 5.5 6H6V9C6 9.13261 6.05268 9.25979 6.14645 9.35355C6.24021 9.44732 6.36739 9.5 6.5 9.5C6.63261 9.5 6.75979 9.44732 6.85355 9.35355C6.94732 9.25979 7 9.13261 7 9V6C7 5.73478 6.89464 5.48043 6.70711 5.29289C6.51957 5.10536 6.26522 5 6 5Z",
2848
+ fill: "currentColor"
2849
+ }
2850
+ ),
2851
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2852
+ "path",
2853
+ {
2854
+ d: "M6 4C6.41421 4 6.75 3.66421 6.75 3.25C6.75 2.83579 6.41421 2.5 6 2.5C5.58579 2.5 5.25 2.83579 5.25 3.25C5.25 3.66421 5.58579 4 6 4Z",
2855
+ fill: "currentColor"
2856
+ }
2857
+ )
2858
+ ] }),
2859
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
2860
+ ]
2861
+ })
2862
+ );
2863
+ };
2864
+ InfoIcon.displayName = "InfoIcon";
2865
+
2866
+ // src/primitives/icon/svg/check-badge.tsx
2867
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2868
+ var CheckBadgeIcon = (_a) => {
2869
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2870
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
2871
+ "svg",
2872
+ __spreadProps(__spreadValues(__spreadValues({
2873
+ viewBox: "0 0 16 16",
2874
+ className,
2875
+ fill: "none"
2876
+ }, getIconA11yProps(title)), props), {
2877
+ children: [
2878
+ title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
2879
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2880
+ "path",
2881
+ {
2882
+ d: "M15.4173 6.57883L13.9833 5.14283V3.9975C13.9833 2.89683 13.0886 2.00083 11.9893 2.00083H10.8453L9.4113 0.5655C8.6573 -0.1885 7.34397 -0.1885 6.59063 0.5655L5.15663 2.00083H4.01263C2.91263 2.00083 2.01863 2.89617 2.01863 3.9975V5.14283L0.583965 6.57883C-0.192702 7.3575 -0.192702 8.6235 0.583965 9.40217L2.01796 10.8382V11.9835C2.01796 13.0842 2.91263 13.9802 4.01196 13.9802H5.15596L6.58997 15.4155C6.96663 15.7922 7.46797 16.0002 8.00063 16.0002C8.5333 16.0002 9.03397 15.7922 9.41063 15.4155L10.8446 13.9802H11.9886C13.0886 13.9802 13.9826 13.0848 13.9826 11.9835V10.8382L15.4173 9.40217C16.194 8.6235 16.194 7.3575 15.4173 6.57883ZM12.136 6.8075L8.76663 10.1375C8.3573 10.5442 7.81797 10.7482 7.2793 10.7482C6.74063 10.7482 6.20396 10.5448 5.7933 10.1395L4.06063 8.4735C3.7993 8.21417 3.79663 7.79283 4.05596 7.53083C4.31596 7.27017 4.73663 7.26683 4.9993 7.52617L6.7313 9.1915C7.0333 9.49083 7.52463 9.4915 7.8273 9.1915L11.1973 5.86083C11.46 5.60083 11.8813 5.6035 12.1406 5.8655C12.4 6.1275 12.3973 6.54817 12.136 6.8075Z",
2883
+ fill: "currentColor"
2884
+ }
2885
+ ) }),
2886
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
2887
+ ]
2888
+ })
2889
+ );
2890
+ };
2891
+ CheckBadgeIcon.displayName = "CheckBadgeIcon";
2892
+
2893
+ // src/primitives/icon/svg/discord.tsx
2894
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2895
+ var DiscordIcon = (_a) => {
2896
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2897
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2898
+ "svg",
2899
+ __spreadProps(__spreadValues(__spreadValues({
2900
+ viewBox: "0 0 20 20",
2901
+ className,
2902
+ fill: "none"
2903
+ }, getIconA11yProps(title)), props), {
2904
+ children: [
2905
+ title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
2906
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2907
+ "path",
2908
+ {
2909
+ d: "M16.3546 4.49236C15.1858 3.95607 13.9329 3.56111 12.6227 3.33499C12.599 3.3304 12.5754 3.34186 12.5624 3.36325C12.4012 3.64973 12.2224 4.02406 12.0979 4.31742C10.6884 4.10657 9.28659 4.10657 7.90615 4.31742C7.78162 4.01719 7.59598 3.64973 7.43479 3.36325C7.42181 3.34186 7.39812 3.33117 7.37444 3.33499C6.06504 3.56035 4.81218 3.95531 3.64258 4.49236C3.63265 4.49618 3.62348 4.50382 3.61813 4.51298C1.24151 8.06379 0.589865 11.5275 0.909193 14.9484C0.910721 14.9653 0.919888 14.9813 0.932875 14.9912C2.50125 16.1433 4.01997 16.8423 5.51119 17.3052C5.53487 17.3128 5.56008 17.3037 5.57536 17.2838C5.9283 16.8025 6.24228 16.2945 6.51195 15.7605C6.52799 15.7292 6.51271 15.6918 6.47986 15.6795C5.98101 15.4901 5.5066 15.2594 5.04976 14.9981C5.01386 14.9767 5.0108 14.9255 5.04365 14.9003C5.13991 14.8285 5.23617 14.7536 5.32784 14.678C5.34465 14.6643 5.36756 14.6612 5.38743 14.6704C8.38819 16.0401 11.6365 16.0401 14.6013 14.6704C14.6212 14.6612 14.6441 14.6635 14.6617 14.678C14.7534 14.7536 14.8496 14.8293 14.9466 14.9011C14.9803 14.9255 14.978 14.9775 14.9413 14.9989C14.4845 15.2655 14.01 15.4916 13.5104 15.6795C13.4776 15.6918 13.4638 15.73 13.4791 15.7613C13.7541 16.2945 14.0689 16.8025 14.4149 17.2838C14.4295 17.3044 14.4554 17.3128 14.4791 17.306C15.9772 16.8423 17.4967 16.1433 19.0643 14.992C19.078 14.9821 19.0865 14.9668 19.088 14.95C19.4699 10.995 18.4478 7.55959 16.3775 4.51451C16.3737 4.50382 16.3645 4.49618 16.3546 4.49236ZM6.96038 12.8659C6.05664 12.8659 5.31256 12.0363 5.31256 11.018C5.31256 9.99962 6.04213 9.16998 6.96038 9.16998C7.88552 9.16998 8.62272 10.0065 8.60821 11.018C8.60821 12.0371 7.87788 12.8659 6.96038 12.8659ZM13.0528 12.8659C12.1498 12.8659 11.405 12.0363 11.405 11.018C11.405 9.99962 12.1346 9.16998 13.0528 9.16998C13.978 9.16998 14.7152 10.0065 14.7007 11.018C14.7007 12.0371 13.978 12.8659 13.0528 12.8659Z",
2910
+ fill: "currentColor"
2911
+ }
2912
+ )
2913
+ ]
2914
+ })
2915
+ );
2916
+ };
2917
+ DiscordIcon.displayName = "DiscordIcon";
2918
+
2919
+ // src/primitives/icon/svg/email.tsx
2920
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2921
+ var EmailIcon = (_a) => {
2922
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2923
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2924
+ "svg",
2925
+ __spreadProps(__spreadValues(__spreadValues({
2926
+ viewBox: "0 0 20 20",
2927
+ className,
2928
+ fill: "none"
2929
+ }, getIconA11yProps(title)), props), {
2930
+ children: [
2931
+ title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: title }) : null,
2932
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2933
+ "path",
2934
+ {
2935
+ d: "M3.33333 3.33398H16.6667C17.5833 3.33398 18.3333 4.08398 18.3333 5.00065V15.0007C18.3333 15.9173 17.5833 16.6673 16.6667 16.6673H3.33333C2.41667 16.6673 1.66667 15.9173 1.66667 15.0007V5.00065C1.66667 4.08398 2.41667 3.33398 3.33333 3.33398Z",
2936
+ stroke: "currentColor",
2937
+ strokeWidth: "1.5",
2938
+ strokeLinecap: "round",
2939
+ strokeLinejoin: "round"
2940
+ }
2941
+ ),
2942
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2943
+ "path",
2944
+ {
2945
+ d: "M18.3333 5L10 10.8333L1.66667 5",
2946
+ stroke: "currentColor",
2947
+ strokeWidth: "1.5",
2948
+ strokeLinecap: "round",
2949
+ strokeLinejoin: "round"
2950
+ }
2951
+ )
2952
+ ]
2953
+ })
2954
+ );
2955
+ };
2956
+ EmailIcon.displayName = "EmailIcon";
2957
+
2958
+ // src/primitives/icon/svg/link-accounts.tsx
2959
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2960
+ var LinkAccountsIcon = (_a) => {
2961
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2962
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2963
+ "svg",
2964
+ __spreadProps(__spreadValues(__spreadValues({
2965
+ width: "28",
2966
+ height: "28",
2967
+ viewBox: "0 0 28 28",
2968
+ fill: "none",
2969
+ xmlns: "http://www.w3.org/2000/svg",
2970
+ className
2971
+ }, getIconA11yProps(title)), props), {
2972
+ children: [
2973
+ title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("title", { children: title }) : null,
2974
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2975
+ "path",
2976
+ {
2977
+ d: "M28 18.0835C28 22.2648 24.598 25.6668 20.4167 25.6668H14.5833C10.402 25.6668 7 22.2648 7 18.0835C7 13.9022 10.402 10.5002 14.5833 10.5002H16.9167C17.2387 10.5002 17.5 10.7615 17.5 11.0835C17.5 11.4055 17.2387 11.6668 16.9167 11.6668H14.5833C11.0448 11.6668 8.16667 14.5462 8.16667 18.0835C8.16667 21.6208 11.0448 24.5002 14.5833 24.5002H20.4167C23.9552 24.5002 26.8333 21.6208 26.8333 18.0835C26.8333 15.7992 25.6037 13.67 23.625 12.5243C23.3462 12.3633 23.2505 12.0063 23.4127 11.7275C23.5725 11.4487 23.9283 11.3507 24.2095 11.514C26.5475 12.8662 28.0012 15.3827 28.0012 18.0823L28 18.0835ZM4.375 15.476C2.39517 14.3315 1.16667 12.2012 1.16667 9.91683C1.16667 6.3795 4.04483 3.50016 7.58333 3.50016H13.4167C16.9552 3.50016 19.8333 6.3795 19.8333 9.91683C19.8333 13.4542 16.9552 16.3335 13.4167 16.3335H11.0833C10.7613 16.3335 10.5 16.5948 10.5 16.9168C10.5 17.2388 10.7613 17.5002 11.0833 17.5002H13.4167C17.598 17.5002 21 14.0982 21 9.91683C21 5.7355 17.598 2.3335 13.4167 2.3335H7.58333C3.402 2.3335 0 5.7355 0 9.91683C0 12.6153 1.4525 15.133 3.79167 16.4852C4.0705 16.6462 4.4275 16.5517 4.5885 16.2717C4.75067 15.994 4.655 15.6358 4.37617 15.4748L4.375 15.476Z",
2978
+ fill: "currentColor"
2979
+ }
2980
+ ) }),
2981
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
2982
+ ]
2983
+ })
2984
+ );
2985
+ };
2986
+ LinkAccountsIcon.displayName = "LinkAccountsIcon";
2987
+
2988
+ // src/primitives/icon/svg/pencil.tsx
2989
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2990
+ var PencilIcon = (_a) => {
2991
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2992
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2993
+ "svg",
2994
+ __spreadProps(__spreadValues(__spreadValues({
2995
+ viewBox: "0 0 16 16",
2996
+ className,
2997
+ fill: "none"
2998
+ }, getIconA11yProps(title)), props), {
2999
+ children: [
3000
+ title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
3001
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3002
+ "path",
3003
+ {
3004
+ d: "M15.2353 0.706709C14.7821 0.254173 14.1678 0 13.5273 0C12.8869 0 12.2726 0.254173 11.8193 0.706709L0.976677 11.5494C0.666178 11.8581 0.419985 12.2254 0.252342 12.6299C0.0846994 13.0344 -0.00106532 13.4682 9.98748e-06 13.906V15.2747C9.98748e-06 15.4515 0.0702479 15.6211 0.195272 15.7461C0.320296 15.8711 0.489866 15.9414 0.666677 15.9414H2.03534C2.47318 15.9426 2.90692 15.857 3.31145 15.6895C3.71597 15.5219 4.08325 15.2758 4.39201 14.9654L15.2353 4.12204C15.6877 3.66884 15.9417 3.05469 15.9417 2.41438C15.9417 1.77406 15.6877 1.15991 15.2353 0.706709ZM3.44934 14.0227C3.07335 14.3962 2.56532 14.6065 2.03534 14.608H1.33334V13.906C1.33267 13.6433 1.38411 13.3831 1.4847 13.1403C1.58529 12.8976 1.73302 12.6773 1.91934 12.492L10.148 4.26338L11.6813 5.79671L3.44934 14.0227ZM14.292 3.17938L12.6213 4.85071L11.088 3.32071L12.7593 1.64938C12.86 1.54891 12.9795 1.46927 13.111 1.41498C13.2424 1.3607 13.3833 1.33284 13.5255 1.33299C13.6678 1.33314 13.8086 1.36131 13.9399 1.41588C14.0712 1.47045 14.1905 1.55036 14.291 1.65104C14.3915 1.75172 14.4711 1.8712 14.5254 2.00266C14.5797 2.13413 14.6076 2.27499 14.6074 2.41722C14.6072 2.55945 14.5791 2.70025 14.5245 2.8316C14.4699 2.96294 14.39 3.08225 14.2893 3.18271L14.292 3.17938Z",
3005
+ fill: "currentColor"
3006
+ }
3007
+ ) }),
3008
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
3009
+ ]
3010
+ })
3011
+ );
3012
+ };
3013
+ PencilIcon.displayName = "PencilIcon";
3014
+
3015
+ // src/primitives/icon/svg/play-square.tsx
3016
+ var import_jsx_runtime46 = require("react/jsx-runtime");
3017
+ var PlaySquareIcon = (_a) => {
3018
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
3019
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
3020
+ "svg",
3021
+ __spreadProps(__spreadValues(__spreadValues({
3022
+ viewBox: "0 0 16 16",
3023
+ className,
3024
+ fill: "none"
3025
+ }, getIconA11yProps(title)), props), {
3026
+ children: [
3027
+ title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
3028
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3029
+ "path",
3030
+ {
3031
+ d: "M12.6667 16H3.33333C2.4496 15.9989 1.60237 15.6474 0.97748 15.0225C0.352588 14.3976 0.00105857 13.5504 0 12.6667L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L12.6667 0C13.5504 0.00105857 14.3976 0.352588 15.0225 0.97748C15.6474 1.60237 15.9989 2.4496 16 3.33333V12.6667C15.9989 13.5504 15.6474 14.3976 15.0225 15.0225C14.3976 15.6474 13.5504 15.9989 12.6667 16ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V12.6667C1.33333 13.1971 1.54405 13.7058 1.91912 14.0809C2.29419 14.456 2.8029 14.6667 3.33333 14.6667H12.6667C13.1971 14.6667 13.7058 14.456 14.0809 14.0809C14.456 13.7058 14.6667 13.1971 14.6667 12.6667V3.33333C14.6667 2.8029 14.456 2.29419 14.0809 1.91912C13.7058 1.54405 13.1971 1.33333 12.6667 1.33333H3.33333ZM6.228 11.3367C5.95008 11.3357 5.67734 11.2615 5.43733 11.1213C5.20023 10.9856 5.00344 10.7894 4.86709 10.5526C4.73074 10.3159 4.65973 10.0472 4.66133 9.774V6.226C4.66111 5.95276 4.73274 5.68427 4.86905 5.44746C5.00537 5.21066 5.20156 5.01386 5.43794 4.87683C5.67433 4.73979 5.9426 4.66733 6.21584 4.66672C6.48907 4.6661 6.75767 4.73736 6.99467 4.87333L10.5133 6.63C10.7577 6.76194 10.9624 6.95685 11.1062 7.19452C11.2499 7.4322 11.3274 7.70399 11.3308 7.98172C11.3341 8.25946 11.2631 8.53303 11.1251 8.77408C10.9871 9.01514 10.7872 9.2149 10.546 9.35267L6.962 11.144C6.73847 11.2715 6.48533 11.3379 6.228 11.3367ZM6.21133 6.00333C6.17459 6.00332 6.13849 6.01298 6.10667 6.03133C6.07209 6.05056 6.0434 6.07884 6.02367 6.11313C6.00394 6.14743 5.99391 6.18644 5.99467 6.226V9.774C5.99489 9.81297 6.00525 9.85121 6.02473 9.88497C6.0442 9.91872 6.07212 9.94683 6.10574 9.96653C6.13936 9.98624 6.17753 9.99686 6.2165 9.99735C6.25547 9.99784 6.29389 9.98818 6.328 9.96933L9.912 8.17733C9.93869 8.15646 9.95992 8.12941 9.97385 8.09852C9.98779 8.06764 9.99401 8.03383 9.992 8C9.99284 7.96035 9.98277 7.92123 9.96291 7.8869C9.94304 7.85258 9.91413 7.82436 9.87933 7.80533L6.36333 6.04867C6.31749 6.02054 6.26509 6.00492 6.21133 6.00333Z",
3032
+ fill: "currentColor"
3033
+ }
3034
+ ) }),
3035
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
3036
+ ]
3037
+ })
3038
+ );
3039
+ };
3040
+ PlaySquareIcon.displayName = "PlaySquareIcon";
3041
+
3042
+ // src/primitives/icon/svg/profile.tsx
3043
+ var import_jsx_runtime47 = require("react/jsx-runtime");
3044
+ var ProfileIcon = (_a) => {
3045
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
3046
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
3047
+ "svg",
3048
+ __spreadProps(__spreadValues(__spreadValues({
3049
+ viewBox: "0 0 21 28",
3050
+ className,
3051
+ fill: "none"
3052
+ }, getIconA11yProps(title)), props), {
3053
+ children: [
3054
+ title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
3055
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3056
+ "path",
3057
+ {
3058
+ d: "M10.5 14C14.3605 14 17.5 10.8605 17.5 7C17.5 3.1395 14.3605 0 10.5 0C6.6395 0 3.5 3.1395 3.5 7C3.5 10.8605 6.6395 14 10.5 14ZM10.5 1.16667C13.7165 1.16667 16.3333 3.7835 16.3333 7C16.3333 10.2165 13.7165 12.8333 10.5 12.8333C7.2835 12.8333 4.66667 10.2165 4.66667 7C4.66667 3.7835 7.2835 1.16667 10.5 1.16667ZM21 26.8333V27.4167C21 27.7387 20.7387 28 20.4167 28C20.0947 28 19.8333 27.7387 19.8333 27.4167V26.8333C19.8333 21.6872 15.6462 17.5 10.5 17.5C5.35383 17.5 1.16667 21.6872 1.16667 26.8333V27.4167C1.16667 27.7387 0.905333 28 0.583333 28C0.261333 28 0 27.7387 0 27.4167V26.8333C0 21.0443 4.711 16.3333 10.5 16.3333C16.289 16.3333 21 21.0443 21 26.8333Z",
3059
+ fill: "currentColor"
2597
3060
  }
2598
3061
  )
2599
3062
  ]
@@ -2603,10 +3066,10 @@ var ProfileIcon = (_a) => {
2603
3066
  ProfileIcon.displayName = "ProfileIcon";
2604
3067
 
2605
3068
  // src/primitives/icon/svg/revenue-alt.tsx
2606
- var import_jsx_runtime35 = require("react/jsx-runtime");
3069
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2607
3070
  var RevenueAltIcon = (_a) => {
2608
3071
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2609
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
3072
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
2610
3073
  "svg",
2611
3074
  __spreadProps(__spreadValues(__spreadValues({
2612
3075
  viewBox: "0 0 20 20",
@@ -2614,8 +3077,8 @@ var RevenueAltIcon = (_a) => {
2614
3077
  fill: "none"
2615
3078
  }, getIconA11yProps(title)), props), {
2616
3079
  children: [
2617
- title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
2618
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3080
+ title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
3081
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2619
3082
  "path",
2620
3083
  {
2621
3084
  d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
@@ -2625,7 +3088,7 @@ var RevenueAltIcon = (_a) => {
2625
3088
  strokeLinejoin: "round"
2626
3089
  }
2627
3090
  ),
2628
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3091
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2629
3092
  "path",
2630
3093
  {
2631
3094
  d: "M10 5.5V14.5M12.5 7.4C12.5 6.55 11.38 5.86 10 5.86C8.62 5.86 7.5 6.55 7.5 7.4C7.5 8.25 8.62 8.94 10 8.94C11.38 8.94 12.5 9.63 12.5 10.48C12.5 11.33 11.38 12.02 10 12.02C8.62 12.02 7.5 11.33 7.5 10.48",
@@ -2642,10 +3105,10 @@ var RevenueAltIcon = (_a) => {
2642
3105
  RevenueAltIcon.displayName = "RevenueAltIcon";
2643
3106
 
2644
3107
  // src/primitives/icon/svg/search.tsx
2645
- var import_jsx_runtime36 = require("react/jsx-runtime");
3108
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2646
3109
  var SearchIcon = (_a) => {
2647
3110
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2648
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3111
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2649
3112
  "svg",
2650
3113
  __spreadProps(__spreadValues(__spreadValues({
2651
3114
  viewBox: "0 0 16 16",
@@ -2654,8 +3117,8 @@ var SearchIcon = (_a) => {
2654
3117
  className
2655
3118
  }, getIconA11yProps(title)), props), {
2656
3119
  children: [
2657
- title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
2658
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3120
+ title ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: title }) : null,
3121
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2659
3122
  "path",
2660
3123
  {
2661
3124
  d: "M7.3335 12.3333C10.0949 12.3333 12.3335 10.0947 12.3335 7.33329C12.3335 4.57187 10.0949 2.33329 7.3335 2.33329C4.57208 2.33329 2.3335 4.57187 2.3335 7.33329C2.3335 10.0947 4.57208 12.3333 7.3335 12.3333Z",
@@ -2665,7 +3128,7 @@ var SearchIcon = (_a) => {
2665
3128
  strokeLinejoin: "round"
2666
3129
  }
2667
3130
  ),
2668
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3131
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2669
3132
  "path",
2670
3133
  {
2671
3134
  d: "M13.6668 13.6666L11.1667 11.1666",
@@ -2682,10 +3145,10 @@ var SearchIcon = (_a) => {
2682
3145
  SearchIcon.displayName = "SearchIcon";
2683
3146
 
2684
3147
  // src/primitives/icon/svg/shield-trust.tsx
2685
- var import_jsx_runtime37 = require("react/jsx-runtime");
3148
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2686
3149
  var ShieldTrustIcon = (_a) => {
2687
3150
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2688
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
3151
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2689
3152
  "svg",
2690
3153
  __spreadProps(__spreadValues(__spreadValues({
2691
3154
  viewBox: "0 0 16 16",
@@ -2693,15 +3156,15 @@ var ShieldTrustIcon = (_a) => {
2693
3156
  fill: "none"
2694
3157
  }, getIconA11yProps(title)), props), {
2695
3158
  children: [
2696
- title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
2697
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3159
+ title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: title }) : null,
3160
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2698
3161
  "path",
2699
3162
  {
2700
3163
  d: "M8 1.25L13.5 3.25V7.08C13.5 10.09 11.62 12.74 8 14.75C4.38 12.74 2.5 10.09 2.5 7.08V3.25L8 1.25Z",
2701
3164
  fill: "currentColor"
2702
3165
  }
2703
3166
  ),
2704
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3167
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2705
3168
  "path",
2706
3169
  {
2707
3170
  d: "M5.5 8.2L7.2 9.9L10.8 6.3",
@@ -2718,10 +3181,10 @@ var ShieldTrustIcon = (_a) => {
2718
3181
  ShieldTrustIcon.displayName = "ShieldTrustIcon";
2719
3182
 
2720
3183
  // src/primitives/icon/svg/stay-in-control.tsx
2721
- var import_jsx_runtime38 = require("react/jsx-runtime");
3184
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2722
3185
  var StayInControlIcon = (_a) => {
2723
3186
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2724
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3187
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
2725
3188
  "svg",
2726
3189
  __spreadProps(__spreadValues(__spreadValues({
2727
3190
  width: "28",
@@ -2732,16 +3195,16 @@ var StayInControlIcon = (_a) => {
2732
3195
  className
2733
3196
  }, getIconA11yProps(title)), props), {
2734
3197
  children: [
2735
- title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
2736
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
2737
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3198
+ title ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("title", { children: title }) : null,
3199
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
3200
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2738
3201
  "path",
2739
3202
  {
2740
3203
  d: "M14 27.9406C13.9102 27.9406 13.8215 27.9196 13.7387 27.8788L13.2428 27.6314C10.6832 26.3504 2.32983 21.5753 2.32983 13.8648L2.33217 7.62776C2.33217 5.36093 3.77767 3.35776 5.93017 2.64493L13.8168 0.0292617C13.9358 -0.010405 14.0653 -0.010405 14.1832 0.0292617L22.0687 2.64376C24.2212 3.35776 25.6667 5.36093 25.6667 7.6266L25.6632 13.8636C25.6632 22.6113 17.2958 26.6584 14.7315 27.6909L14.217 27.8974C14.147 27.9254 14.0723 27.9394 13.9988 27.9394L14 27.9406ZM14 1.19826L6.29767 3.7521C4.6235 4.30743 3.5 5.86493 3.5 7.62776L3.49767 13.8648C3.49767 20.9056 11.3563 25.3844 13.7655 26.5884L14.0268 26.7191L14.2975 26.6106C16.6903 25.6481 24.4977 21.8833 24.4977 13.8659L24.5012 7.62893C24.5012 5.8661 23.3765 4.3086 21.7035 3.75326L14 1.19826Z",
2741
3204
  fill: "currentColor"
2742
3205
  }
2743
3206
  ),
2744
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3207
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2745
3208
  "path",
2746
3209
  {
2747
3210
  d: "M12.8112 17.5001C12.0633 17.5001 11.3155 17.2154 10.7462 16.6461L7.18083 13.2569C6.94749 13.0352 6.93816 12.6654 7.15983 12.4321C7.38149 12.1999 7.75016 12.1894 7.98466 12.4111L11.5605 15.8107C12.2535 16.5026 13.363 16.5037 14.0455 15.8212L20.5928 9.49791C20.8262 9.27508 21.196 9.28208 21.4177 9.51308C21.6417 9.74408 21.6358 10.1139 21.4037 10.3379L14.8622 16.6542C14.2987 17.2177 13.5543 17.5012 12.81 17.5012L12.8112 17.5001Z",
@@ -2749,18 +3212,47 @@ var StayInControlIcon = (_a) => {
2749
3212
  }
2750
3213
  )
2751
3214
  ] }),
2752
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
3215
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
3216
+ ]
3217
+ })
3218
+ );
3219
+ };
3220
+ StayInControlIcon.displayName = "StayInControlIcon";
3221
+
3222
+ // src/primitives/icon/svg/telegram.tsx
3223
+ var import_jsx_runtime52 = require("react/jsx-runtime");
3224
+ var TelegramIcon = (_a) => {
3225
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
3226
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
3227
+ "svg",
3228
+ __spreadProps(__spreadValues(__spreadValues({
3229
+ viewBox: "0 0 20 20",
3230
+ className,
3231
+ fill: "none"
3232
+ }, getIconA11yProps(title)), props), {
3233
+ children: [
3234
+ title ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("title", { children: title }) : null,
3235
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3236
+ "path",
3237
+ {
3238
+ fillRule: "evenodd",
3239
+ clipRule: "evenodd",
3240
+ d: "M9.99992 0.833984C4.93763 0.833984 0.833252 4.93836 0.833252 10.0007C0.833252 15.0629 4.93763 19.1673 9.99992 19.1673C15.0622 19.1673 19.1666 15.0629 19.1666 10.0007C19.1666 4.93836 15.0622 0.833984 9.99992 0.833984ZM14.2487 7.06808C14.1112 8.51718 13.5112 12.1296 13.2062 13.7896C13.0762 14.4846 12.8212 14.7146 12.5737 14.7396C12.0362 14.7846 11.6312 14.3846 11.1162 14.0446C10.3162 13.5146 9.86117 13.1896 9.08367 12.6746C8.18367 12.0746 8.77367 11.7446 9.29117 11.2096C9.42867 11.0671 11.7662 8.93464 11.8112 8.73964C11.8168 8.71424 11.8218 8.62214 11.7668 8.57464C11.7118 8.52714 11.6318 8.54464 11.5718 8.55964C11.4868 8.57964 10.1018 9.49464 7.41617 11.3046C7.04867 11.5546 6.71617 11.6771 6.41867 11.6721C6.08867 11.6671 5.45617 11.4846 4.98117 11.3296C4.40117 11.1396 3.94117 11.0396 3.98117 10.7196C4.00117 10.5521 4.23117 10.3821 4.67117 10.2071C7.55617 8.95214 9.44367 8.14214 10.3337 7.77714C13.0812 6.63964 13.6462 6.44464 14.0162 6.43964C14.0962 6.43964 14.2787 6.45964 14.3962 6.55714C14.4937 6.63714 14.5212 6.74464 14.5337 6.81964C14.5212 6.87464 14.5387 7.04964 14.5262 7.06808H14.2487Z",
3241
+ fill: "currentColor"
3242
+ }
3243
+ ) }),
3244
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
2753
3245
  ]
2754
3246
  })
2755
3247
  );
2756
3248
  };
2757
- StayInControlIcon.displayName = "StayInControlIcon";
3249
+ TelegramIcon.displayName = "TelegramIcon";
2758
3250
 
2759
3251
  // src/primitives/icon/svg/triangle-down.tsx
2760
- var import_jsx_runtime39 = require("react/jsx-runtime");
3252
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2761
3253
  var TriangleDownIcon = (_a) => {
2762
3254
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2763
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3255
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
2764
3256
  "svg",
2765
3257
  __spreadProps(__spreadValues(__spreadValues({
2766
3258
  viewBox: "0 0 8 8",
@@ -2768,16 +3260,16 @@ var TriangleDownIcon = (_a) => {
2768
3260
  fill: "none"
2769
3261
  }, getIconA11yProps(title)), props), {
2770
3262
  children: [
2771
- title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
2772
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
2773
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3263
+ title ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("title", { children: title }) : null,
3264
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
3265
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2774
3266
  "path",
2775
3267
  {
2776
3268
  d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
2777
3269
  fill: "currentColor"
2778
3270
  }
2779
3271
  ),
2780
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3272
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2781
3273
  "path",
2782
3274
  {
2783
3275
  d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
@@ -2785,18 +3277,44 @@ var TriangleDownIcon = (_a) => {
2785
3277
  }
2786
3278
  )
2787
3279
  ] }),
2788
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
3280
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
2789
3281
  ]
2790
3282
  })
2791
3283
  );
2792
3284
  };
2793
3285
  TriangleDownIcon.displayName = "TriangleDownIcon";
2794
3286
 
3287
+ // src/primitives/icon/svg/triangle-up-filled.tsx
3288
+ var import_jsx_runtime54 = require("react/jsx-runtime");
3289
+ var TriangleUpFilledIcon = (_a) => {
3290
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
3291
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
3292
+ "svg",
3293
+ __spreadProps(__spreadValues(__spreadValues({
3294
+ viewBox: "0 0 8 8",
3295
+ className,
3296
+ fill: "none"
3297
+ }, getIconA11yProps(title)), props), {
3298
+ children: [
3299
+ title ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("title", { children: title }) : null,
3300
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3301
+ "path",
3302
+ {
3303
+ d: "M6.67873 8.00001H1.3214C1.09613 8.00053 0.874481 7.94332 0.677605 7.83384C0.480728 7.72435 0.315192 7.56625 0.196788 7.3746C0.0783848 7.18296 0.0110649 6.96417 0.00125164 6.73911C-0.0085616 6.51405 0.0394592 6.29023 0.140732 6.08901L2.81973 0.729677C2.92186 0.523193 3.0766 0.347273 3.26837 0.219641C3.46014 0.0920097 3.68216 0.0171748 3.91207 0.00267686C4.17147 -0.013831 4.43 0.0462826 4.6555 0.175542C4.88101 0.3048 5.06354 0.497501 5.1804 0.729677L7.8594 6.08901C7.96008 6.2903 8.00764 6.51398 7.99756 6.73881C7.98748 6.96365 7.92009 7.18218 7.8018 7.37365C7.68351 7.56512 7.51823 7.72317 7.32167 7.83279C7.12511 7.94242 6.90379 7.99998 6.67873 8.00001Z",
3304
+ fill: "currentColor"
3305
+ }
3306
+ )
3307
+ ]
3308
+ })
3309
+ );
3310
+ };
3311
+ TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
3312
+
2795
3313
  // src/primitives/icon/svg/triangle-up.tsx
2796
- var import_jsx_runtime40 = require("react/jsx-runtime");
3314
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2797
3315
  var TriangleUpIcon = (_a) => {
2798
3316
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2799
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3317
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
2800
3318
  "svg",
2801
3319
  __spreadProps(__spreadValues(__spreadValues({
2802
3320
  viewBox: "0 0 8 8",
@@ -2804,16 +3322,16 @@ var TriangleUpIcon = (_a) => {
2804
3322
  fill: "none"
2805
3323
  }, getIconA11yProps(title)), props), {
2806
3324
  children: [
2807
- title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
2808
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
2809
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3325
+ title ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("title", { children: title }) : null,
3326
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
3327
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
2810
3328
  "path",
2811
3329
  {
2812
3330
  d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
2813
3331
  fill: "currentColor"
2814
3332
  }
2815
3333
  ),
2816
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3334
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
2817
3335
  "path",
2818
3336
  {
2819
3337
  d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
@@ -2821,18 +3339,44 @@ var TriangleUpIcon = (_a) => {
2821
3339
  }
2822
3340
  )
2823
3341
  ] }),
2824
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
3342
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
2825
3343
  ]
2826
3344
  })
2827
3345
  );
2828
3346
  };
2829
3347
  TriangleUpIcon.displayName = "TriangleUpIcon";
2830
3348
 
3349
+ // src/primitives/icon/svg/twitter.tsx
3350
+ var import_jsx_runtime56 = require("react/jsx-runtime");
3351
+ var TwitterIcon = (_a) => {
3352
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
3353
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
3354
+ "svg",
3355
+ __spreadProps(__spreadValues(__spreadValues({
3356
+ viewBox: "0 0 20 20",
3357
+ className,
3358
+ fill: "none"
3359
+ }, getIconA11yProps(title)), props), {
3360
+ children: [
3361
+ title ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("title", { children: title }) : null,
3362
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3363
+ "path",
3364
+ {
3365
+ d: "M15.2708 1.66602H18.0834L11.9402 8.68539L19.1666 18.2386H13.51L9.07638 12.446L4.00874 18.2386H1.19152L7.76096 10.7288L0.833252 1.66602H6.63346L10.637 6.96053L15.2708 1.66602ZM14.283 16.5573H15.8406L5.78478 3.25949H4.11186L14.283 16.5573Z",
3366
+ fill: "currentColor"
3367
+ }
3368
+ )
3369
+ ]
3370
+ })
3371
+ );
3372
+ };
3373
+ TwitterIcon.displayName = "TwitterIcon";
3374
+
2831
3375
  // src/primitives/icon/svg/upload.tsx
2832
- var import_jsx_runtime41 = require("react/jsx-runtime");
3376
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2833
3377
  var UploadIcon = (_a) => {
2834
3378
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2835
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3379
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
2836
3380
  "svg",
2837
3381
  __spreadProps(__spreadValues(__spreadValues({
2838
3382
  viewBox: "0 0 16 16",
@@ -2840,8 +3384,8 @@ var UploadIcon = (_a) => {
2840
3384
  fill: "none"
2841
3385
  }, getIconA11yProps(title)), props), {
2842
3386
  children: [
2843
- title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
2844
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3387
+ title ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title }) : null,
3388
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2845
3389
  "path",
2846
3390
  {
2847
3391
  d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
@@ -2851,7 +3395,7 @@ var UploadIcon = (_a) => {
2851
3395
  strokeLinejoin: "round"
2852
3396
  }
2853
3397
  ),
2854
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
3398
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
2855
3399
  ]
2856
3400
  })
2857
3401
  );
@@ -2859,10 +3403,10 @@ var UploadIcon = (_a) => {
2859
3403
  UploadIcon.displayName = "UploadIcon";
2860
3404
 
2861
3405
  // src/primitives/icon/svg/wallet-avatar.tsx
2862
- var import_jsx_runtime42 = require("react/jsx-runtime");
3406
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2863
3407
  function WalletAvatarIcon(_a) {
2864
3408
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2865
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3409
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
2866
3410
  "svg",
2867
3411
  __spreadProps(__spreadValues(__spreadValues({
2868
3412
  fill: "none",
@@ -2870,20 +3414,72 @@ function WalletAvatarIcon(_a) {
2870
3414
  viewBox: "0 0 16 16"
2871
3415
  }, getIconA11yProps(title)), props), {
2872
3416
  children: [
2873
- title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
2874
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
2875
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
3417
+ title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title }) : null,
3418
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
3419
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
2876
3420
  ]
2877
3421
  })
2878
3422
  );
2879
3423
  }
2880
3424
  WalletAvatarIcon.displayName = "WalletAvatarIcon";
2881
3425
 
3426
+ // src/primitives/icon/svg/wallet.tsx
3427
+ var import_jsx_runtime59 = require("react/jsx-runtime");
3428
+ var WalletIcon = (_a) => {
3429
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
3430
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
3431
+ "svg",
3432
+ __spreadProps(__spreadValues(__spreadValues({
3433
+ viewBox: "0 0 24 24",
3434
+ className,
3435
+ fill: "none"
3436
+ }, getIconA11yProps(title)), props), {
3437
+ children: [
3438
+ title ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: title }) : null,
3439
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3440
+ "path",
3441
+ {
3442
+ d: "M19.5 6H5.25C4.836 6 4.5 5.664 4.5 5.25C4.5 4.836 4.836 4.5 5.25 4.5H19.5C19.914 4.5 20.25 4.164 20.25 3.75C20.25 2.508 19.242 1.5 18 1.5H4.5C2.843 1.5 1.5 2.843 1.5 4.5V19.5C1.5 21.157 2.843 22.5 4.5 22.5H19.5C21.157 22.5 22.5 21.157 22.5 19.5V9C22.5 7.343 21.157 6 19.5 6ZM2.5 4.5C2.5 3.395 3.395 2.5 4.5 2.5H18C18.552 2.5 19.026 2.834 19.199 3.318C19.176 3.312 19.153 3.5 18 3.5H5.25C4.284 3.5 3.5 4.284 3.5 5.25C3.5 5.388 3.519 5.522 3.555 5.649C2.936 5.369 2.5 4.972 2.5 4.5ZM21.5 19.5C21.5 20.605 20.605 21.5 19.5 21.5H4.5C3.395 21.5 2.5 20.605 2.5 19.5V7.04C3.09 7.336 3.771 7 5.25 7H19.5C20.605 7 21.5 7.895 21.5 9V12H18C16.343 12 15 13.343 15 15C15 16.657 16.343 18 18 18H21.5V19.5ZM21.5 17H18C16.895 17 16 16.105 16 15C16 13.895 16.895 13 18 13H21.5V17ZM18 15.75C18.414 15.75 18.75 15.414 18.75 15C18.75 14.586 18.414 14.25 18 14.25C17.586 14.25 17.25 14.586 17.25 15C17.25 15.414 17.586 15.75 18 15.75Z",
3443
+ fill: "currentColor"
3444
+ }
3445
+ )
3446
+ ]
3447
+ })
3448
+ );
3449
+ };
3450
+ WalletIcon.displayName = "WalletIcon";
3451
+
3452
+ // src/primitives/icon/svg/warning-filled.tsx
3453
+ var import_jsx_runtime60 = require("react/jsx-runtime");
3454
+ var WarningFilledIcon = (_a) => {
3455
+ var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
3456
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
3457
+ "svg",
3458
+ __spreadProps(__spreadValues(__spreadValues({
3459
+ viewBox: "0 0 16 16",
3460
+ className,
3461
+ fill: "none"
3462
+ }, getIconA11yProps(title)), props), {
3463
+ children: [
3464
+ title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title }) : null,
3465
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3466
+ "path",
3467
+ {
3468
+ d: "M15.3869 10.22L10.0002 1.71332C9.5469 1.05999 8.79356 0.666656 8.00023 0.666656C7.20689 0.666656 6.45356 1.05332 5.98023 1.73332L0.620227 10.2067C-0.0597729 11.18 -0.18644 12.3467 0.286894 13.2467C0.75356 14.1467 1.73356 14.66 2.96023 14.66H13.0402C14.2736 14.66 15.2469 14.1467 15.7136 13.2467C16.1802 12.3467 16.0536 11.1867 15.3869 10.22ZM7.33356 4.66666C7.33356 4.29999 7.63356 3.99999 8.00023 3.99999C8.36689 3.99999 8.66689 4.29999 8.66689 4.66666V8.66666C8.66689 9.03332 8.36689 9.33332 8.00023 9.33332C7.63356 9.33332 7.33356 9.03332 7.33356 8.66666V4.66666ZM8.00023 12.6667C7.44689 12.6667 7.00023 12.22 7.00023 11.6667C7.00023 11.1133 7.44689 10.6667 8.00023 10.6667C8.55356 10.6667 9.00023 11.1133 9.00023 11.6667C9.00023 12.22 8.55356 12.6667 8.00023 12.6667Z",
3469
+ fill: "currentColor"
3470
+ }
3471
+ )
3472
+ ]
3473
+ })
3474
+ );
3475
+ };
3476
+ WarningFilledIcon.displayName = "WarningFilledIcon";
3477
+
2882
3478
  // src/primitives/icon/svg/warning.tsx
2883
- var import_jsx_runtime43 = require("react/jsx-runtime");
3479
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2884
3480
  var WarningIcon = (_a) => {
2885
3481
  var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
2886
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3482
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2887
3483
  "svg",
2888
3484
  __spreadProps(__spreadValues(__spreadValues({
2889
3485
  width: "14",
@@ -2894,15 +3490,15 @@ var WarningIcon = (_a) => {
2894
3490
  className
2895
3491
  }, getIconA11yProps(title)), props), {
2896
3492
  children: [
2897
- title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: title }) : null,
2898
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3493
+ title ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title }) : null,
3494
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2899
3495
  "path",
2900
3496
  {
2901
3497
  d: "M6.41665 8.16675V4.66675C6.41665 4.34591 6.67915 4.08341 6.99998 4.08341C7.32082 4.08341 7.58332 4.34591 7.58332 4.66675V8.16675C7.58332 8.48758 7.32082 8.75008 6.99998 8.75008C6.67915 8.75008 6.41665 8.48758 6.41665 8.16675ZM6.99998 9.33341C6.51582 9.33341 6.12498 9.72425 6.12498 10.2084C6.12498 10.6926 6.51582 11.0834 6.99998 11.0834C7.48415 11.0834 7.87498 10.6926 7.87498 10.2084C7.87498 9.72425 7.48415 9.33341 6.99998 9.33341ZM13.755 12.1801C13.3467 12.9676 12.4892 13.4167 11.4158 13.4167H2.58998C1.51082 13.4167 0.659151 12.9676 0.250818 12.1801C-0.163348 11.3867 -0.0466818 10.3717 0.542485 9.52008L5.23248 2.10008C5.64665 1.50508 6.29998 1.16675 6.99998 1.16675C7.69999 1.16675 8.35332 1.50508 8.74998 2.08258L13.4633 9.53175C14.0525 10.3834 14.1633 11.3926 13.7492 12.1801H13.755ZM12.5008 10.1851C12.5008 10.1851 12.4892 10.1734 12.4892 10.1617L7.78165 2.72425C7.61248 2.48508 7.32082 2.33341 6.99998 2.33341C6.67915 2.33341 6.38749 2.48508 6.20665 2.74758L1.51082 10.1617C1.14915 10.6751 1.06748 11.2351 1.27748 11.6376C1.48165 12.0342 1.94832 12.2501 2.58415 12.2501H11.4042C12.04 12.2501 12.5067 12.0342 12.7108 11.6376C12.9208 11.2351 12.8392 10.6751 12.495 10.1851H12.5008Z",
2902
3498
  fill: "currentColor"
2903
3499
  }
2904
3500
  ) }),
2905
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
3501
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
2906
3502
  ]
2907
3503
  })
2908
3504
  );
@@ -2913,26 +3509,44 @@ WarningIcon.displayName = "WarningIcon";
2913
3509
  var iconRegistry = {
2914
3510
  "arrow-trend-up": ArrowTrendUpIcon,
2915
3511
  "arrows-to-dot": ArrowsToDotIcon,
3512
+ bank: BankIcon,
2916
3513
  "best-prices": BestPricesIcon,
3514
+ bolt: BoltIcon,
3515
+ "check-badge": CheckBadgeIcon,
2917
3516
  "check-circle": CheckCircleIcon,
2918
3517
  "chevron-down": ChevronDownIcon,
3518
+ "chevron-left": ChevronLeftIcon,
2919
3519
  "chevron-right": ChevronRightIcon,
2920
3520
  "chevron-up": ChevronUpIcon,
2921
3521
  close: CloseIcon,
3522
+ copy: CopyIcon,
2922
3523
  "create-account": CreateAccountIcon,
3524
+ "credit-card": CreditCardIcon,
3525
+ discord: DiscordIcon,
2923
3526
  disconnect: DisconnectIcon,
3527
+ document: DocumentIcon,
2924
3528
  download: DownloadIcon,
2925
3529
  "dots-horizontal": DotsHorizontalIcon,
3530
+ email: EmailIcon,
3531
+ "external-link": ExternalLinkIcon,
3532
+ info: InfoIcon,
2926
3533
  "link-accounts": LinkAccountsIcon,
3534
+ pencil: PencilIcon,
3535
+ "play-square": PlaySquareIcon,
2927
3536
  profile: ProfileIcon,
2928
3537
  "revenue-alt": RevenueAltIcon,
2929
3538
  search: SearchIcon,
2930
3539
  "shield-trust": ShieldTrustIcon,
2931
3540
  "stay-in-control": StayInControlIcon,
3541
+ telegram: TelegramIcon,
2932
3542
  "triangle-down": TriangleDownIcon,
2933
3543
  "triangle-up": TriangleUpIcon,
3544
+ "triangle-up-filled": TriangleUpFilledIcon,
3545
+ twitter: TwitterIcon,
2934
3546
  upload: UploadIcon,
3547
+ wallet: WalletIcon,
2935
3548
  "wallet-avatar": WalletAvatarIcon,
3549
+ "warning-filled": WarningFilledIcon,
2936
3550
  warning: WarningIcon
2937
3551
  };
2938
3552
  var iconNames = Object.keys(iconRegistry);
@@ -2947,7 +3561,7 @@ var resolveIconStyle = (color, style) => {
2947
3561
  };
2948
3562
 
2949
3563
  // src/primitives/icon/index.tsx
2950
- var import_jsx_runtime44 = require("react/jsx-runtime");
3564
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2951
3565
  var Icon = (_a) => {
2952
3566
  var _b = _a, {
2953
3567
  name,
@@ -2965,13 +3579,14 @@ var Icon = (_a) => {
2965
3579
  const Component = iconRegistry[name];
2966
3580
  const resolvedStyle = resolveIconStyle(color, style);
2967
3581
  const resolvedClassName = cn(iconSizeClasses[size], className);
2968
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Component, __spreadValues({ color, className: resolvedClassName, style: resolvedStyle }, props));
3582
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Component, __spreadValues({ color, className: resolvedClassName, style: resolvedStyle }, props));
2969
3583
  };
2970
3584
  Icon.displayName = "Icon";
2971
3585
 
2972
3586
  // src/primitives/select/index.tsx
3587
+ var import_react4 = require("react");
2973
3588
  var import_hooks13 = require("@agg-market/hooks");
2974
- var import_jsx_runtime45 = require("react/jsx-runtime");
3589
+ var import_jsx_runtime63 = require("react/jsx-runtime");
2975
3590
  var Select = ({
2976
3591
  items,
2977
3592
  value,
@@ -2980,16 +3595,73 @@ var Select = ({
2980
3595
  className,
2981
3596
  disabled = false
2982
3597
  }) => {
3598
+ var _a;
2983
3599
  const labels = (0, import_hooks13.useLabels)();
2984
3600
  const { enableAnimations } = (0, import_hooks13.useSdkUiConfig)();
2985
3601
  const hasEnabledItems = items.some((item) => !item.disabled);
2986
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("label", { className: cn("relative inline-flex w-full", className), children: [
2987
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2988
- "select",
3602
+ const hasAnyIcon = items.some((item) => item.iconUrl);
3603
+ const [isOpen, setIsOpen] = (0, import_react4.useState)(false);
3604
+ const containerRef = (0, import_react4.useRef)(null);
3605
+ const close = (0, import_react4.useCallback)(() => setIsOpen(false), []);
3606
+ (0, import_react4.useEffect)(() => {
3607
+ if (!isOpen)
3608
+ return;
3609
+ const handlePointerDown = (e) => {
3610
+ if (containerRef.current && !containerRef.current.contains(e.target)) {
3611
+ close();
3612
+ }
3613
+ };
3614
+ document.addEventListener("mousedown", handlePointerDown);
3615
+ return () => document.removeEventListener("mousedown", handlePointerDown);
3616
+ }, [isOpen, close]);
3617
+ (0, import_react4.useEffect)(() => {
3618
+ if (!isOpen)
3619
+ return;
3620
+ const handleKey = (e) => {
3621
+ if (e.key === "Escape")
3622
+ close();
3623
+ };
3624
+ document.addEventListener("keydown", handleKey);
3625
+ return () => document.removeEventListener("keydown", handleKey);
3626
+ }, [isOpen, close]);
3627
+ const isDisabled = disabled || !hasEnabledItems;
3628
+ const selectedItem = items.find((item) => item.value === value);
3629
+ if (!hasAnyIcon) {
3630
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("label", { className: cn("relative inline-flex w-full", className), children: [
3631
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3632
+ "select",
3633
+ {
3634
+ "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
3635
+ className: cn(
3636
+ "w-full appearance-none rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
3637
+ getMotionClassName(
3638
+ enableAnimations,
3639
+ "transition-[border-color,box-shadow] duration-200 ease-out"
3640
+ ),
3641
+ "focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
3642
+ "disabled:cursor-not-allowed disabled:opacity-60"
3643
+ ),
3644
+ disabled: isDisabled,
3645
+ value,
3646
+ onChange: (event) => onChange(event.target.value),
3647
+ children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
3648
+ }
3649
+ ),
3650
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) })
3651
+ ] });
3652
+ }
3653
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { ref: containerRef, className: cn("relative inline-flex w-full", className), children: [
3654
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3655
+ "button",
2989
3656
  {
3657
+ type: "button",
2990
3658
  "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
3659
+ "aria-expanded": isOpen,
3660
+ "aria-haspopup": "listbox",
3661
+ disabled: isDisabled,
2991
3662
  className: cn(
2992
- "w-full appearance-none rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
3663
+ "w-full rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
3664
+ "flex items-center gap-2 text-left",
2993
3665
  getMotionClassName(
2994
3666
  enableAnimations,
2995
3667
  "transition-[border-color,box-shadow] duration-200 ease-out"
@@ -2997,13 +3669,65 @@ var Select = ({
2997
3669
  "focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
2998
3670
  "disabled:cursor-not-allowed disabled:opacity-60"
2999
3671
  ),
3000
- disabled: disabled || !hasEnabledItems,
3001
- value,
3002
- onChange: (event) => onChange(event.target.value),
3003
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
3672
+ onClick: () => setIsOpen((prev) => !prev),
3673
+ children: [
3674
+ (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3675
+ "img",
3676
+ {
3677
+ src: selectedItem.iconUrl,
3678
+ alt: "",
3679
+ className: "h-4 w-4 shrink-0 rounded-sm object-contain"
3680
+ }
3681
+ ) : null,
3682
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
3683
+ ]
3004
3684
  }
3005
3685
  ),
3006
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) })
3686
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { name: "chevron-down", size: "s", color: "currentColor" }) }),
3687
+ isOpen ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3688
+ "div",
3689
+ {
3690
+ role: "listbox",
3691
+ "aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
3692
+ className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
3693
+ children: items.map((item) => {
3694
+ const isSelected = item.value === value;
3695
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3696
+ "button",
3697
+ {
3698
+ type: "button",
3699
+ role: "option",
3700
+ "aria-selected": isSelected,
3701
+ disabled: item.disabled,
3702
+ className: cn(
3703
+ "flex w-full items-center gap-2 px-4 py-2 text-left text-agg-sm leading-agg-5 outline-none",
3704
+ "hover:bg-agg-secondary-hover focus-visible:bg-agg-secondary-hover",
3705
+ isSelected ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground",
3706
+ item.disabled && "cursor-not-allowed opacity-60"
3707
+ ),
3708
+ onClick: () => {
3709
+ if (!item.disabled) {
3710
+ onChange(item.value);
3711
+ close();
3712
+ }
3713
+ },
3714
+ children: [
3715
+ item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3716
+ "img",
3717
+ {
3718
+ src: item.iconUrl,
3719
+ alt: "",
3720
+ className: "h-4 w-4 shrink-0 rounded-sm object-contain"
3721
+ }
3722
+ ) : null,
3723
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "truncate", children: item.label })
3724
+ ]
3725
+ },
3726
+ item.value
3727
+ );
3728
+ })
3729
+ }
3730
+ ) : null
3007
3731
  ] });
3008
3732
  };
3009
3733
  Select.displayName = "Select";
@@ -3109,7 +3833,7 @@ var resolveTabsOverflowLayout = ({
3109
3833
  };
3110
3834
 
3111
3835
  // src/primitives/tabs/index.tsx
3112
- var import_jsx_runtime46 = require("react/jsx-runtime");
3836
+ var import_jsx_runtime64 = require("react/jsx-runtime");
3113
3837
  var mobileTabsMediaQuery = "(max-width: 767px)";
3114
3838
  var getTabButtonClassName = ({
3115
3839
  enableAnimations,
@@ -3176,8 +3900,8 @@ var Tabs = ({
3176
3900
  }) => {
3177
3901
  const labels = (0, import_hooks14.useLabels)();
3178
3902
  const { enableAnimations, rootClassName } = (0, import_hooks14.useSdkUiConfig)();
3179
- const buttonRefs = (0, import_react4.useRef)([]);
3180
- const dragStateRef = (0, import_react4.useRef)({
3903
+ const buttonRefs = (0, import_react5.useRef)([]);
3904
+ const dragStateRef = (0, import_react5.useRef)({
3181
3905
  isPointerDown: false,
3182
3906
  isDragging: false,
3183
3907
  pointerId: null,
@@ -3185,31 +3909,31 @@ var Tabs = ({
3185
3909
  startClientY: 0,
3186
3910
  startScrollLeft: 0
3187
3911
  });
3188
- const suppressClickRef = (0, import_react4.useRef)(false);
3912
+ const suppressClickRef = (0, import_react5.useRef)(false);
3189
3913
  const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
3190
3914
  const resolvedOverflowMenuAriaLabel = overflowMenuAriaLabel != null ? overflowMenuAriaLabel : labels.common.hiddenTabsAria;
3191
- const [isMoreMenuOpen, setIsMoreMenuOpen] = (0, import_react4.useState)(false);
3192
- const [isMobileViewport, setIsMobileViewport] = (0, import_react4.useState)(false);
3193
- const [isDraggingTabs, setIsDraggingTabs] = (0, import_react4.useState)(false);
3194
- const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react4.useState)({
3915
+ const [isMoreMenuOpen, setIsMoreMenuOpen] = (0, import_react5.useState)(false);
3916
+ const [isMobileViewport, setIsMobileViewport] = (0, import_react5.useState)(false);
3917
+ const [isDraggingTabs, setIsDraggingTabs] = (0, import_react5.useState)(false);
3918
+ const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react5.useState)({
3195
3919
  transform: "translateX(0px)",
3196
3920
  width: 0,
3197
3921
  opacity: 0
3198
3922
  });
3199
- const [overflowLayout, setOverflowLayout] = (0, import_react4.useState)({
3923
+ const [overflowLayout, setOverflowLayout] = (0, import_react5.useState)({
3200
3924
  visibleItems: items,
3201
3925
  hiddenItems: []
3202
3926
  });
3203
- const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react4.useState)({
3927
+ const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react5.useState)({
3204
3928
  showStart: false,
3205
3929
  showEnd: false
3206
3930
  });
3207
- const containerRef = (0, import_react4.useRef)(null);
3208
- const tabListRef = (0, import_react4.useRef)(null);
3209
- const moreButtonMeasureRef = (0, import_react4.useRef)(null);
3210
- const tabMeasureRefs = (0, import_react4.useRef)(/* @__PURE__ */ new Map());
3931
+ const containerRef = (0, import_react5.useRef)(null);
3932
+ const tabListRef = (0, import_react5.useRef)(null);
3933
+ const moreButtonMeasureRef = (0, import_react5.useRef)(null);
3934
+ const tabMeasureRefs = (0, import_react5.useRef)(/* @__PURE__ */ new Map());
3211
3935
  const isBarVariant = variant === "bar";
3212
- const resolvedOverflowBehavior = (0, import_react4.useMemo)(() => {
3936
+ const resolvedOverflowBehavior = (0, import_react5.useMemo)(() => {
3213
3937
  if (overflowBehavior)
3214
3938
  return overflowBehavior;
3215
3939
  if (!isBarVariant)
@@ -3219,7 +3943,7 @@ var Tabs = ({
3219
3943
  const shouldUseOverflowMenu = resolvedOverflowBehavior === "menu";
3220
3944
  const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
3221
3945
  const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
3222
- const handleMeasureTabRef = (0, import_react4.useCallback)(
3946
+ const handleMeasureTabRef = (0, import_react5.useCallback)(
3223
3947
  (tabValue, tabElement) => {
3224
3948
  if (!tabElement) {
3225
3949
  tabMeasureRefs.current.delete(tabValue);
@@ -3229,7 +3953,7 @@ var Tabs = ({
3229
3953
  },
3230
3954
  []
3231
3955
  );
3232
- (0, import_react4.useEffect)(() => {
3956
+ (0, import_react5.useEffect)(() => {
3233
3957
  if (typeof window === "undefined")
3234
3958
  return;
3235
3959
  const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
@@ -3248,7 +3972,7 @@ var Tabs = ({
3248
3972
  mediaQueryList.removeListener(handleMediaQueryChange);
3249
3973
  };
3250
3974
  }, []);
3251
- const handleRecalculateOverflow = (0, import_react4.useCallback)(() => {
3975
+ const handleRecalculateOverflow = (0, import_react5.useCallback)(() => {
3252
3976
  var _a, _b, _c, _d;
3253
3977
  if (!shouldUseOverflowMenu) {
3254
3978
  setOverflowLayout({
@@ -3275,10 +3999,10 @@ var Tabs = ({
3275
3999
  })
3276
4000
  );
3277
4001
  }, [items, shouldUseOverflowMenu, value]);
3278
- (0, import_react4.useEffect)(() => {
4002
+ (0, import_react5.useEffect)(() => {
3279
4003
  handleRecalculateOverflow();
3280
4004
  }, [handleRecalculateOverflow]);
3281
- (0, import_react4.useEffect)(() => {
4005
+ (0, import_react5.useEffect)(() => {
3282
4006
  if (!shouldUseOverflowMenu)
3283
4007
  return;
3284
4008
  const container = containerRef.current;
@@ -3292,12 +4016,12 @@ var Tabs = ({
3292
4016
  resizeObserver.disconnect();
3293
4017
  };
3294
4018
  }, [handleRecalculateOverflow, shouldUseOverflowMenu]);
3295
- (0, import_react4.useEffect)(() => {
4019
+ (0, import_react5.useEffect)(() => {
3296
4020
  if (overflowLayout.hiddenItems.length > 0)
3297
4021
  return;
3298
4022
  setIsMoreMenuOpen(false);
3299
4023
  }, [overflowLayout.hiddenItems.length]);
3300
- const updateScrollAffordances = (0, import_react4.useCallback)(() => {
4024
+ const updateScrollAffordances = (0, import_react5.useCallback)(() => {
3301
4025
  if (!shouldUseOverflowScroll) {
3302
4026
  setScrollAffordanceState({
3303
4027
  showStart: false,
@@ -3316,7 +4040,7 @@ var Tabs = ({
3316
4040
  }, [shouldUseOverflowScroll]);
3317
4041
  const renderedItems = shouldUseOverflowMenu ? overflowLayout.visibleItems : items;
3318
4042
  const shouldShowMoreButton = shouldUseOverflowMenu && overflowLayout.hiddenItems.length > 0;
3319
- const selectItems = (0, import_react4.useMemo)(() => {
4043
+ const selectItems = (0, import_react5.useMemo)(() => {
3320
4044
  return items.map((item) => ({
3321
4045
  value: item.value,
3322
4046
  label: item.label,
@@ -3365,7 +4089,7 @@ var Tabs = ({
3365
4089
  return;
3366
4090
  }
3367
4091
  };
3368
- const activeHiddenItem = (0, import_react4.useMemo)(() => {
4092
+ const activeHiddenItem = (0, import_react5.useMemo)(() => {
3369
4093
  if (!shouldUseOverflowMenu)
3370
4094
  return void 0;
3371
4095
  return overflowLayout.hiddenItems.find((item) => item.value === value);
@@ -3477,7 +4201,7 @@ var Tabs = ({
3477
4201
  handleSelect(nextValue);
3478
4202
  setIsMoreMenuOpen(false);
3479
4203
  };
3480
- const updateActiveUnderline = (0, import_react4.useCallback)(() => {
4204
+ const updateActiveUnderline = (0, import_react5.useCallback)(() => {
3481
4205
  if (isBarVariant) {
3482
4206
  setActiveUnderlineStyle({
3483
4207
  transform: "translateX(0px)",
@@ -3500,10 +4224,10 @@ var Tabs = ({
3500
4224
  opacity: 1
3501
4225
  });
3502
4226
  }, [isBarVariant, renderedItems, value]);
3503
- (0, import_react4.useLayoutEffect)(() => {
4227
+ (0, import_react5.useLayoutEffect)(() => {
3504
4228
  updateActiveUnderline();
3505
4229
  }, [updateActiveUnderline]);
3506
- (0, import_react4.useEffect)(() => {
4230
+ (0, import_react5.useEffect)(() => {
3507
4231
  if (isBarVariant || !shouldUseOverflowScroll)
3508
4232
  return;
3509
4233
  const tabListElement = tabListRef.current;
@@ -3519,12 +4243,12 @@ var Tabs = ({
3519
4243
  tabListElement.removeEventListener("scroll", handleScroll);
3520
4244
  };
3521
4245
  }, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
3522
- (0, import_react4.useEffect)(() => {
4246
+ (0, import_react5.useEffect)(() => {
3523
4247
  if (!shouldUseOverflowScroll)
3524
4248
  return;
3525
4249
  updateScrollAffordances();
3526
4250
  }, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
3527
- (0, import_react4.useEffect)(() => {
4251
+ (0, import_react5.useEffect)(() => {
3528
4252
  if (isBarVariant && !shouldUseOverflowScroll)
3529
4253
  return;
3530
4254
  if (typeof ResizeObserver === "undefined")
@@ -3541,7 +4265,7 @@ var Tabs = ({
3541
4265
  resizeObserver.disconnect();
3542
4266
  };
3543
4267
  }, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
3544
- (0, import_react4.useEffect)(() => {
4268
+ (0, import_react5.useEffect)(() => {
3545
4269
  if (!shouldUseOverflowScroll)
3546
4270
  return;
3547
4271
  const activeIndex = renderedItems.findIndex((item) => item.value === value);
@@ -3555,7 +4279,7 @@ var Tabs = ({
3555
4279
  });
3556
4280
  }, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
3557
4281
  if (shouldUseOverflowSelect) {
3558
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: cn("w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4282
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: cn("w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3559
4283
  Select,
3560
4284
  {
3561
4285
  ariaLabel,
@@ -3567,7 +4291,7 @@ var Tabs = ({
3567
4291
  }
3568
4292
  ) });
3569
4293
  }
3570
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4294
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3571
4295
  "div",
3572
4296
  {
3573
4297
  ref: containerRef,
@@ -3576,7 +4300,7 @@ var Tabs = ({
3576
4300
  className
3577
4301
  ),
3578
4302
  children: [
3579
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4303
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3580
4304
  "div",
3581
4305
  {
3582
4306
  ref: tabListRef,
@@ -3592,7 +4316,7 @@ var Tabs = ({
3592
4316
  children: [
3593
4317
  renderedItems.map((item, index) => {
3594
4318
  const isActive = item.value === value;
3595
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4319
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3596
4320
  "button",
3597
4321
  {
3598
4322
  ref: (buttonElement) => {
@@ -3617,7 +4341,7 @@ var Tabs = ({
3617
4341
  shouldUseOverflowScroll && !isBarVariant && "snap-start"
3618
4342
  ),
3619
4343
  children: [
3620
- isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4344
+ isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_jsx_runtime64.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3621
4345
  "span",
3622
4346
  {
3623
4347
  "aria-hidden": true,
@@ -3631,14 +4355,14 @@ var Tabs = ({
3631
4355
  )
3632
4356
  }
3633
4357
  ) }) : null,
3634
- item.icon ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
3635
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
4358
+ item.icon ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
4359
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
3636
4360
  ]
3637
4361
  },
3638
4362
  item.value
3639
4363
  );
3640
4364
  }),
3641
- !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4365
+ !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3642
4366
  "span",
3643
4367
  {
3644
4368
  "aria-hidden": true,
@@ -3656,8 +4380,8 @@ var Tabs = ({
3656
4380
  ]
3657
4381
  }
3658
4382
  ),
3659
- shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
3660
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4383
+ shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
4384
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3661
4385
  "span",
3662
4386
  {
3663
4387
  "aria-hidden": true,
@@ -3668,7 +4392,7 @@ var Tabs = ({
3668
4392
  )
3669
4393
  }
3670
4394
  ),
3671
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4395
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3672
4396
  "span",
3673
4397
  {
3674
4398
  "aria-hidden": true,
@@ -3680,8 +4404,8 @@ var Tabs = ({
3680
4404
  }
3681
4405
  )
3682
4406
  ] }) : null,
3683
- shouldShowMoreButton ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(DropdownMenu.Root, { open: isMoreMenuOpen, onOpenChange: setIsMoreMenuOpen, children: [
3684
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4407
+ shouldShowMoreButton ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(DropdownMenu.Root, { open: isMoreMenuOpen, onOpenChange: setIsMoreMenuOpen, children: [
4408
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3685
4409
  "button",
3686
4410
  {
3687
4411
  type: "button",
@@ -3694,10 +4418,10 @@ var Tabs = ({
3694
4418
  }),
3695
4419
  activeHiddenItem ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground"
3696
4420
  ),
3697
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Icon, { name: "dots-horizontal", size: isBarVariant ? "s" : "m", color: "currentColor" })
4421
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, { name: "dots-horizontal", size: isBarVariant ? "s" : "m", color: "currentColor" })
3698
4422
  }
3699
4423
  ) }),
3700
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DropdownMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4424
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(DropdownMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3701
4425
  DropdownMenu.Content,
3702
4426
  {
3703
4427
  align: "end",
@@ -3711,7 +4435,7 @@ var Tabs = ({
3711
4435
  sideOffset: 8,
3712
4436
  children: overflowLayout.hiddenItems.map((item) => {
3713
4437
  const isSelected = item.value === value;
3714
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4438
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3715
4439
  DropdownMenu.Item,
3716
4440
  {
3717
4441
  disabled: item.disabled,
@@ -3725,8 +4449,8 @@ var Tabs = ({
3725
4449
  item.disabled && "cursor-not-allowed opacity-60"
3726
4450
  ),
3727
4451
  children: [
3728
- item.icon ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
3729
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
4452
+ item.icon ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
4453
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
3730
4454
  ]
3731
4455
  },
3732
4456
  item.value
@@ -3735,13 +4459,13 @@ var Tabs = ({
3735
4459
  }
3736
4460
  ) })
3737
4461
  ] }) : null,
3738
- shouldUseOverflowMenu ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4462
+ shouldUseOverflowMenu ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3739
4463
  "div",
3740
4464
  {
3741
4465
  "aria-hidden": true,
3742
4466
  className: "pointer-events-none invisible fixed top-0 left-0 -z-10 h-0 overflow-hidden whitespace-nowrap",
3743
4467
  children: [
3744
- items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4468
+ items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3745
4469
  "span",
3746
4470
  {
3747
4471
  ref: (tabElement) => handleMeasureTabRef(item.value, tabElement),
@@ -3750,13 +4474,13 @@ var Tabs = ({
3750
4474
  size
3751
4475
  }),
3752
4476
  children: [
3753
- item.icon ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
3754
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { children: item.label })
4477
+ item.icon ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
4478
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { children: item.label })
3755
4479
  ]
3756
4480
  },
3757
4481
  `measure-${item.value}`
3758
4482
  )),
3759
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4483
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3760
4484
  "span",
3761
4485
  {
3762
4486
  ref: moreButtonMeasureRef,
@@ -3765,7 +4489,7 @@ var Tabs = ({
3765
4489
  isBarVariant,
3766
4490
  size
3767
4491
  }),
3768
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Icon, { name: "dots-horizontal", size: isBarVariant ? "s" : "m", color: "currentColor" })
4492
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, { name: "dots-horizontal", size: isBarVariant ? "s" : "m", color: "currentColor" })
3769
4493
  }
3770
4494
  )
3771
4495
  ]
@@ -3779,7 +4503,7 @@ Tabs.displayName = "Tabs";
3779
4503
 
3780
4504
  // src/primitives/loading-icon/index.tsx
3781
4505
  var import_hooks15 = require("@agg-market/hooks");
3782
- var import_jsx_runtime47 = require("react/jsx-runtime");
4506
+ var import_jsx_runtime65 = require("react/jsx-runtime");
3783
4507
  var LoadingIcon = ({
3784
4508
  size = "m",
3785
4509
  className,
@@ -3787,7 +4511,7 @@ var LoadingIcon = ({
3787
4511
  }) => {
3788
4512
  const labels = (0, import_hooks15.useLabels)();
3789
4513
  const { enableAnimations } = (0, import_hooks15.useSdkUiConfig)();
3790
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4514
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3791
4515
  "span",
3792
4516
  {
3793
4517
  role: "status",
@@ -3796,8 +4520,8 @@ var LoadingIcon = ({
3796
4520
  "inline-grid place-items-center text-agg-primary will-change-transform",
3797
4521
  className
3798
4522
  ),
3799
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("svg", { viewBox: "0 0 44 44", className: cn("block", iconSizeClasses[size]), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("g", { children: [
3800
- enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4523
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("svg", { viewBox: "0 0 44 44", className: cn("block", iconSizeClasses[size]), children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("g", { children: [
4524
+ enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3801
4525
  "animateTransform",
3802
4526
  {
3803
4527
  attributeName: "transform",
@@ -3809,7 +4533,7 @@ var LoadingIcon = ({
3809
4533
  repeatCount: "indefinite"
3810
4534
  }
3811
4535
  ) : null,
3812
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4536
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3813
4537
  "circle",
3814
4538
  {
3815
4539
  cx: "22",
@@ -3821,8 +4545,8 @@ var LoadingIcon = ({
3821
4545
  strokeLinecap: "round",
3822
4546
  strokeDasharray: "60 100",
3823
4547
  strokeDashoffset: "0",
3824
- children: enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
3825
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4548
+ children: enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
4549
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3826
4550
  "animate",
3827
4551
  {
3828
4552
  attributeName: "stroke-dasharray",
@@ -3831,7 +4555,7 @@ var LoadingIcon = ({
3831
4555
  repeatCount: "indefinite"
3832
4556
  }
3833
4557
  ),
3834
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4558
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3835
4559
  "animate",
3836
4560
  {
3837
4561
  attributeName: "stroke-dashoffset",
@@ -3981,22 +4705,24 @@ var resolveOrderBookRows = ({
3981
4705
  const tone = side === "asks" ? "negative" : "positive";
3982
4706
  const rows = data.flatMap((result) => {
3983
4707
  var _a;
3984
- return ((_a = result.orderbook[side]) != null ? _a : []).flatMap((level, index) => {
3985
- const parsedLevel = OrderBookLevelSchema.safeParse(level);
3986
- if (!parsedLevel.success)
3987
- return [];
3988
- const parsedRow = OrderBookRowSchema.safeParse({
3989
- id: `${result.market.id}-${side}-${index}-${parsedLevel.data.price}`,
3990
- venue: result.market.venue,
3991
- price: parsedLevel.data.price,
3992
- size: parsedLevel.data.size,
3993
- total: parsedLevel.data.price * parsedLevel.data.size,
3994
- tone
3995
- });
3996
- if (!parsedRow.success)
3997
- return [];
3998
- return [parsedRow.data];
3999
- });
4708
+ return ((_a = result.orderbook[side]) != null ? _a : []).flatMap(
4709
+ (level, index) => {
4710
+ const parsedLevel = OrderBookLevelSchema.safeParse(level);
4711
+ if (!parsedLevel.success)
4712
+ return [];
4713
+ const parsedRow = OrderBookRowSchema.safeParse({
4714
+ id: `${result.market.id}-${side}-${index}-${parsedLevel.data.price}`,
4715
+ venue: result.market.venue,
4716
+ price: parsedLevel.data.price,
4717
+ size: parsedLevel.data.size,
4718
+ total: parsedLevel.data.price * parsedLevel.data.size,
4719
+ tone
4720
+ });
4721
+ if (!parsedRow.success)
4722
+ return [];
4723
+ return [parsedRow.data];
4724
+ }
4725
+ );
4000
4726
  });
4001
4727
  const sortedRows = [...rows].sort((left, right) => {
4002
4728
  if (side === "asks")
@@ -4080,14 +4806,14 @@ var buildMarketDetailsModel = ({
4080
4806
  };
4081
4807
 
4082
4808
  // src/events/market-details/index.tsx
4083
- var import_jsx_runtime48 = require("react/jsx-runtime");
4809
+ var import_jsx_runtime66 = require("react/jsx-runtime");
4084
4810
  var MarketDetailsLoadingState = ({
4085
4811
  isOpened = marketDetailsDefaultIsOpened,
4086
4812
  ariaLabel,
4087
4813
  classNames
4088
4814
  }) => {
4089
4815
  const labels = (0, import_hooks16.useLabels)();
4090
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4816
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4091
4817
  Skeleton,
4092
4818
  {
4093
4819
  view: isOpened ? "market-details-detailed" : "market-details-minified",
@@ -4101,15 +4827,15 @@ var MarketDetailsUnavailableState = ({
4101
4827
  classNames
4102
4828
  }) => {
4103
4829
  const labels = (0, import_hooks16.useLabels)();
4104
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4830
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4105
4831
  Card,
4106
4832
  {
4107
4833
  className: cn(marketDetailsBaseCardClassName, classNames == null ? void 0 : classNames.root),
4108
4834
  role: "status",
4109
4835
  "aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.unavailableAria,
4110
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-1 p-5", children: [
4111
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "title", children: labels.marketDetails.unavailableTitle }),
4112
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "meta", children: labels.marketDetails.unavailableDescription })
4836
+ children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col gap-1 p-5", children: [
4837
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { variant: "title", children: labels.marketDetails.unavailableTitle }),
4838
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { variant: "meta", children: labels.marketDetails.unavailableDescription })
4113
4839
  ] })
4114
4840
  }
4115
4841
  );
@@ -4124,13 +4850,13 @@ var OrderBookRows = ({
4124
4850
  const isAsks = title === labels.marketDetails.asks;
4125
4851
  const priceClassName = isAsks ? "text-agg-orderbook-ask" : "text-agg-orderbook-bid";
4126
4852
  const barClassName = isAsks ? "bg-agg-orderbook-ask/10" : "bg-agg-orderbook-bid/10";
4127
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-2", children: [
4128
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "label", className: "text-agg-xs leading-agg-4", children: title }),
4129
- rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-2", children: [
4130
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2 md:grid-cols-[88px_1fr_1fr_minmax(120px,220px)] md:gap-6", children: [
4131
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
4132
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(VenueLogo, { venue: row.venue, size: "xs" }),
4133
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4853
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col gap-2", children: [
4854
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { variant: "label", className: "text-agg-xs leading-agg-4", children: title }),
4855
+ rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col gap-2", children: [
4856
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "grid grid-cols-[52px_1fr_1fr_52px] items-center gap-2 md:grid-cols-[88px_1fr_1fr_minmax(120px,220px)] md:gap-6", children: [
4857
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
4858
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(VenueLogo, { venue: row.venue, size: "xs" }),
4859
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4134
4860
  "span",
4135
4861
  {
4136
4862
  className: cn(
@@ -4141,9 +4867,9 @@ var OrderBookRows = ({
4141
4867
  }
4142
4868
  )
4143
4869
  ] }),
4144
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "truncate text-agg-xs leading-agg-4 text-center text-agg-foreground md:text-agg-sm md:leading-agg-5", children: formatNumber(row.size) }),
4145
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "truncate text-agg-xs leading-agg-4 text-center text-agg-foreground md:text-agg-sm md:leading-agg-5", children: formatCurrency(row.total) }),
4146
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4870
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "truncate text-agg-xs leading-agg-4 text-center text-agg-foreground md:text-agg-sm md:leading-agg-5", children: formatNumber(row.size) }),
4871
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "truncate text-agg-xs leading-agg-4 text-center text-agg-foreground md:text-agg-sm md:leading-agg-5", children: formatCurrency(row.total) }),
4872
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4147
4873
  "div",
4148
4874
  {
4149
4875
  "aria-hidden": "true",
@@ -4154,7 +4880,7 @@ var OrderBookRows = ({
4154
4880
  }
4155
4881
  ) })
4156
4882
  ] }),
4157
- index < rows.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
4883
+ index < rows.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
4158
4884
  ] }, row.id))
4159
4885
  ] });
4160
4886
  };
@@ -4187,8 +4913,8 @@ var MarketDetailsContent = ({
4187
4913
  }) => {
4188
4914
  const config = (0, import_hooks16.useSdkUiConfig)();
4189
4915
  const labels = (0, import_hooks16.useLabels)();
4190
- const detailsContentId = (0, import_react5.useId)();
4191
- const model = (0, import_react5.useMemo)(() => {
4916
+ const detailsContentId = (0, import_react6.useId)();
4917
+ const model = (0, import_react6.useMemo)(() => {
4192
4918
  return buildMarketDetailsModel({
4193
4919
  event,
4194
4920
  marketId,
@@ -4198,59 +4924,86 @@ var MarketDetailsContent = ({
4198
4924
  labels
4199
4925
  });
4200
4926
  }, [config.formatCompactCurrency, event, image, labels, marketId, title]);
4201
- const marketDetailsTabs = (0, import_react5.useMemo)(() => {
4927
+ const marketDetailsTabs = (0, import_react6.useMemo)(() => {
4202
4928
  return getMarketDetailsTabs(labels);
4203
4929
  }, [labels]);
4204
- const [selectedTab, setSelectedTab] = (0, import_react5.useState)(
4930
+ const [selectedTab, setSelectedTab] = (0, import_react6.useState)(
4205
4931
  () => resolveInitialTab(defaultTab)
4206
4932
  );
4207
- const [isOpened, setIsOpened] = (0, import_react5.useState)(defaultIsOpened);
4208
- (0, import_react5.useEffect)(() => {
4933
+ const [isOpened, setIsOpened] = (0, import_react6.useState)(defaultIsOpened);
4934
+ (0, import_react6.useEffect)(() => {
4209
4935
  setSelectedTab(resolveInitialTab(defaultTab));
4210
4936
  }, [defaultTab]);
4211
- const [selectedTimeRange, setSelectedTimeRange] = (0, import_react5.useState)(defaultTimeRange);
4212
- (0, import_react5.useEffect)(() => {
4937
+ const [selectedTimeRange, setSelectedTimeRange] = (0, import_react6.useState)(defaultTimeRange);
4938
+ (0, import_react6.useEffect)(() => {
4213
4939
  setSelectedTimeRange(defaultTimeRange);
4214
4940
  }, [defaultTimeRange]);
4215
- const [selectedOutcomeLabel, setSelectedOutcomeLabel] = (0, import_react5.useState)(
4941
+ const [selectedOutcomeLabel, setSelectedOutcomeLabel] = (0, import_react6.useState)(
4216
4942
  () => {
4217
4943
  var _a;
4218
4944
  return resolveInitialOutcomeLabel((_a = model == null ? void 0 : model.outcomeLabels) != null ? _a : [], defaultOutcomeLabel);
4219
4945
  }
4220
4946
  );
4221
- (0, import_react5.useEffect)(() => {
4947
+ const [selectedGraphVenue, setSelectedGraphVenue] = (0, import_react6.useState)(null);
4948
+ (0, import_react6.useEffect)(() => {
4222
4949
  var _a;
4223
4950
  setSelectedOutcomeLabel(
4224
4951
  resolveInitialOutcomeLabel((_a = model == null ? void 0 : model.outcomeLabels) != null ? _a : [], defaultOutcomeLabel)
4225
4952
  );
4226
4953
  }, [defaultOutcomeLabel, model == null ? void 0 : model.outcomeLabels]);
4227
- const headerOutcomeItems = (0, import_react5.useMemo)(() => {
4954
+ const headerOutcomeItems = (0, import_react6.useMemo)(() => {
4228
4955
  if (!model)
4229
4956
  return [];
4230
4957
  return resolveHeaderOutcomeItems(model.market.venueMarkets, selectedOutcomeLabel);
4231
4958
  }, [model, selectedOutcomeLabel]);
4232
- const headlineProbability = (0, import_react5.useMemo)(() => {
4959
+ const headlineProbability = (0, import_react6.useMemo)(() => {
4233
4960
  if (!model || !selectedOutcomeLabel)
4234
4961
  return void 0;
4235
4962
  return model.probabilityByLabel.get(selectedOutcomeLabel);
4236
4963
  }, [model, selectedOutcomeLabel]);
4237
- const selectedOutcomesByVenue = (0, import_react5.useMemo)(() => {
4238
- if (!model || !selectedOutcomeLabel)
4964
+ const outcomesByLabel = (0, import_react6.useMemo)(() => {
4965
+ const outcomesByLabelMap = /* @__PURE__ */ new Map();
4966
+ if (!model) {
4967
+ return outcomesByLabelMap;
4968
+ }
4969
+ headerOutcomeItems.forEach((headerOutcomeItem) => {
4970
+ outcomesByLabelMap.set(
4971
+ headerOutcomeItem.label,
4972
+ resolveOutcomesByVenue(model.market.venueMarkets, headerOutcomeItem.label)
4973
+ );
4974
+ });
4975
+ return outcomesByLabelMap;
4976
+ }, [headerOutcomeItems, model]);
4977
+ const selectedOutcomesByVenue = (0, import_react6.useMemo)(() => {
4978
+ var _a;
4979
+ if (!selectedOutcomeLabel)
4239
4980
  return [];
4240
- return resolveOutcomesByVenue(model.market.venueMarkets, selectedOutcomeLabel);
4241
- }, [model, selectedOutcomeLabel]);
4242
- const timeWindow = (0, import_react5.useMemo)(() => {
4981
+ return (_a = outcomesByLabel.get(selectedOutcomeLabel)) != null ? _a : [];
4982
+ }, [outcomesByLabel, selectedOutcomeLabel]);
4983
+ const timeWindow = (0, import_react6.useMemo)(() => {
4243
4984
  return getTimeWindowByRange(selectedTimeRange);
4244
4985
  }, [selectedTimeRange]);
4245
- const priceHistoryGroups = (0, import_react5.useMemo)(() => {
4246
- return buildPriceHistoryGroups(selectedOutcomesByVenue);
4247
- }, [selectedOutcomesByVenue]);
4986
+ const graphOutcomes = (0, import_react6.useMemo)(() => {
4987
+ const uniqueOutcomesByVenueAndId = /* @__PURE__ */ new Map();
4988
+ outcomesByLabel.forEach((outcomes) => {
4989
+ outcomes.forEach((outcomeByVenue) => {
4990
+ uniqueOutcomesByVenueAndId.set(
4991
+ `${outcomeByVenue.venue}:${outcomeByVenue.outcome.id}`,
4992
+ outcomeByVenue
4993
+ );
4994
+ });
4995
+ });
4996
+ return [...uniqueOutcomesByVenueAndId.values()];
4997
+ }, [outcomesByLabel]);
4998
+ const priceHistoryGroups = (0, import_react6.useMemo)(() => {
4999
+ return buildPriceHistoryGroups(graphOutcomes);
5000
+ }, [graphOutcomes]);
4248
5001
  const { data: priceHistoryData, isLoading: isPriceHistoryLoading } = (0, import_hooks16.usePriceHistory)(__spreadProps(__spreadValues({
4249
5002
  groups: priceHistoryGroups
4250
5003
  }, timeWindow), {
4251
5004
  enabled: isOpened && selectedTab === "graph" && priceHistoryGroups.length > 0
4252
5005
  }));
4253
- const orderBookInputs = (0, import_react5.useMemo)(() => {
5006
+ const orderBookInputs = (0, import_react6.useMemo)(() => {
4254
5007
  return selectedOutcomesByVenue.map(({ market, outcome }) => ({
4255
5008
  market,
4256
5009
  outcome,
@@ -4261,39 +5014,86 @@ var MarketDetailsContent = ({
4261
5014
  orderbooks: orderBookInputs,
4262
5015
  enabled: isOpened && selectedTab === "order-book" && orderBookInputs.length > 0
4263
5016
  });
4264
- const askRows = (0, import_react5.useMemo)(() => {
5017
+ const askRows = (0, import_react6.useMemo)(() => {
4265
5018
  return resolveOrderBookRows({
4266
5019
  data: orderBookData,
4267
5020
  side: "asks",
4268
5021
  depth: orderBookDepth
4269
5022
  });
4270
5023
  }, [orderBookData, orderBookDepth]);
4271
- const bidRows = (0, import_react5.useMemo)(() => {
5024
+ const bidRows = (0, import_react6.useMemo)(() => {
4272
5025
  return resolveOrderBookRows({
4273
5026
  data: orderBookData,
4274
5027
  side: "bids",
4275
5028
  depth: orderBookDepth
4276
5029
  });
4277
5030
  }, [orderBookData, orderBookDepth]);
4278
- const graphSeries = (0, import_react5.useMemo)(() => {
4279
- if (!(priceHistoryData == null ? void 0 : priceHistoryData.length))
4280
- return [];
4281
- return priceHistoryData.map((history, index) => {
5031
+ const priceHistoryByVenue = (0, import_react6.useMemo)(() => {
5032
+ const historyByVenue = /* @__PURE__ */ new Map();
5033
+ if (!(priceHistoryData == null ? void 0 : priceHistoryData.length)) {
5034
+ return historyByVenue;
5035
+ }
5036
+ priceHistoryData.forEach((historyItem) => {
5037
+ const venue = historyItem.venue;
5038
+ const venueHistory = historyByVenue.get(venue);
5039
+ if (venueHistory) {
5040
+ venueHistory.push(historyItem);
5041
+ return;
5042
+ }
5043
+ historyByVenue.set(venue, [historyItem]);
5044
+ });
5045
+ return historyByVenue;
5046
+ }, [priceHistoryData]);
5047
+ const graphSeriesByOutcomeLabel = (0, import_react6.useMemo)(() => {
5048
+ const seriesByOutcomeLabel = /* @__PURE__ */ new Map();
5049
+ const resolveOutcomeCandidateIds2 = (outcomeByVenue) => {
4282
5050
  var _a;
4283
- const matchingOutcome = selectedOutcomesByVenue.find((item) => {
4284
- return item.outcome.id === history.marketId || item.outcome.externalIdentifier === history.marketId || item.market.externalIdentifier === history.marketId;
4285
- });
4286
- return {
4287
- id: `${history.venue}-${history.marketId}-${index}`,
4288
- color: resolveSeriesColor((_a = matchingOutcome == null ? void 0 : matchingOutcome.venue) != null ? _a : history.venue, index),
4289
- points: history.points.map((point) => ({
5051
+ return [
5052
+ outcomeByVenue.outcome.id,
5053
+ (_a = outcomeByVenue.outcome.externalIdentifier) != null ? _a : void 0,
5054
+ outcomeByVenue.market.externalIdentifier
5055
+ ].filter((value) => typeof value === "string" && value.trim().length > 0);
5056
+ };
5057
+ headerOutcomeItems.forEach((headerOutcomeItem) => {
5058
+ var _a;
5059
+ const outcomes = (_a = outcomesByLabel.get(headerOutcomeItem.label)) != null ? _a : [];
5060
+ const graphSeries2 = [];
5061
+ outcomes.forEach((outcomeByVenue, index) => {
5062
+ var _a2;
5063
+ const venueHistory = priceHistoryByVenue.get(outcomeByVenue.venue);
5064
+ if (!(venueHistory == null ? void 0 : venueHistory.length))
5065
+ return;
5066
+ const candidateIds = resolveOutcomeCandidateIds2(outcomeByVenue);
5067
+ const matchingHistory = (_a2 = venueHistory.find((historyItem) => candidateIds.includes(historyItem.marketId))) != null ? _a2 : venueHistory.length === 1 ? venueHistory[0] : void 0;
5068
+ if (!matchingHistory)
5069
+ return;
5070
+ const points = matchingHistory.points.map((point) => ({
4290
5071
  time: point.timestamp,
4291
5072
  value: point.price * 100
4292
- }))
4293
- };
4294
- }).filter((seriesItem) => seriesItem.points.length > 0);
4295
- }, [priceHistoryData, selectedOutcomesByVenue]);
4296
- const otherRows = (0, import_react5.useMemo)(() => {
5073
+ })).filter((point) => Number.isFinite(point.time) && Number.isFinite(point.value));
5074
+ if (points.length === 0)
5075
+ return;
5076
+ graphSeries2.push({
5077
+ id: `${headerOutcomeItem.label}-${outcomeByVenue.venue}-${matchingHistory.marketId}`,
5078
+ venue: outcomeByVenue.venue,
5079
+ color: resolveSeriesColor(outcomeByVenue.venue, index),
5080
+ points
5081
+ });
5082
+ });
5083
+ seriesByOutcomeLabel.set(headerOutcomeItem.label, graphSeries2);
5084
+ });
5085
+ return seriesByOutcomeLabel;
5086
+ }, [headerOutcomeItems, outcomesByLabel, priceHistoryByVenue]);
5087
+ const graphSeries = (0, import_react6.useMemo)(() => {
5088
+ var _a;
5089
+ if (!selectedOutcomeLabel)
5090
+ return [];
5091
+ const seriesForOutcomeLabel = (_a = graphSeriesByOutcomeLabel.get(selectedOutcomeLabel)) != null ? _a : [];
5092
+ if (!selectedGraphVenue)
5093
+ return seriesForOutcomeLabel;
5094
+ return seriesForOutcomeLabel.filter((seriesItem) => seriesItem.venue === selectedGraphVenue);
5095
+ }, [graphSeriesByOutcomeLabel, selectedGraphVenue, selectedOutcomeLabel]);
5096
+ const otherRows = (0, import_react6.useMemo)(() => {
4297
5097
  if (!model)
4298
5098
  return [];
4299
5099
  return resolveOtherTabRows(model.market, labels);
@@ -4316,17 +5116,33 @@ var MarketDetailsContent = ({
4316
5116
  setIsOpened((prev) => !prev);
4317
5117
  onOpenChange == null ? void 0 : onOpenChange(!isOpened);
4318
5118
  };
5119
+ const handleGraphVenueToggle = (venue) => {
5120
+ setSelectedGraphVenue((currentVenue) => {
5121
+ if (currentVenue === venue)
5122
+ return null;
5123
+ return venue;
5124
+ });
5125
+ };
5126
+ (0, import_react6.useEffect)(() => {
5127
+ if (!selectedGraphVenue) {
5128
+ return;
5129
+ }
5130
+ if (selectedOutcomesByVenue.some((item) => item.venue === selectedGraphVenue)) {
5131
+ return;
5132
+ }
5133
+ setSelectedGraphVenue(null);
5134
+ }, [selectedGraphVenue, selectedOutcomesByVenue]);
4319
5135
  if (!model) {
4320
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MarketDetailsUnavailableState, { ariaLabel, classNames });
5136
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(MarketDetailsUnavailableState, { ariaLabel, classNames });
4321
5137
  }
4322
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5138
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
4323
5139
  Card,
4324
5140
  {
4325
5141
  className: cn(marketDetailsBaseCardClassName, classNames == null ? void 0 : classNames.root),
4326
5142
  "aria-label": ariaLabel != null ? ariaLabel : model.title,
4327
5143
  children: [
4328
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: cn("flex flex-col gap-3 px-5 py-4", isOpened && "pb-3", classNames == null ? void 0 : classNames.header), children: [
4329
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5144
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: cn("flex flex-col gap-3 px-5 py-4", isOpened && "pb-3", classNames == null ? void 0 : classNames.header), children: [
5145
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
4330
5146
  "button",
4331
5147
  {
4332
5148
  type: "button",
@@ -4336,8 +5152,8 @@ var MarketDetailsContent = ({
4336
5152
  "aria-label": isOpened ? labels.marketDetails.toggleCloseDetailsAria(model.title) : labels.marketDetails.toggleOpenDetailsAria(model.title),
4337
5153
  onClick: handleToggleExpanded,
4338
5154
  children: [
4339
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:gap-4", children: [
4340
- model.image ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5155
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:gap-4", children: [
5156
+ model.image ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4341
5157
  "img",
4342
5158
  {
4343
5159
  src: model.image,
@@ -4345,12 +5161,12 @@ var MarketDetailsContent = ({
4345
5161
  className: "size-12 rounded-agg-lg object-cover md:size-[60px]"
4346
5162
  }
4347
5163
  ) : null,
4348
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
4349
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { as: "h3", variant: "title", className: "truncate text-agg-lg leading-agg-7", children: model.title }),
4350
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "meta", className: "truncate text-agg-sm leading-agg-5", children: model.subtitle }) })
5164
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
5165
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { as: "h3", variant: "title", className: "truncate text-agg-lg leading-agg-7", children: model.title }),
5166
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { variant: "meta", className: "truncate text-agg-sm leading-agg-5", children: model.subtitle }) })
4351
5167
  ] })
4352
5168
  ] }),
4353
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5169
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4354
5170
  Typography,
4355
5171
  {
4356
5172
  as: "div",
@@ -4362,7 +5178,7 @@ var MarketDetailsContent = ({
4362
5178
  ]
4363
5179
  }
4364
5180
  ),
4365
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5181
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4366
5182
  "div",
4367
5183
  {
4368
5184
  className: "flex gap-2",
@@ -4372,7 +5188,7 @@ var MarketDetailsContent = ({
4372
5188
  onKeyDown: handleOutcomeKeyDown,
4373
5189
  children: headerOutcomeItems.map((item) => {
4374
5190
  const isPositive = item.tone === "positive";
4375
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5191
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4376
5192
  "button",
4377
5193
  {
4378
5194
  type: "button",
@@ -4387,15 +5203,15 @@ var MarketDetailsContent = ({
4387
5203
  onClick: () => {
4388
5204
  setSelectedOutcomeLabel(item.label);
4389
5205
  },
4390
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { className: "inline-flex items-center gap-2", children: [
4391
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5206
+ children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { className: "inline-flex items-center gap-2", children: [
5207
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4392
5208
  VenueLogo,
4393
5209
  {
4394
5210
  venue: isPositive ? "polymarket" : "probable",
4395
5211
  size: "xs"
4396
5212
  }
4397
5213
  ),
4398
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { className: "text-agg-base leading-agg-6", children: `${item.label} ${formatProbabilityCents(item.probability)}` })
5214
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { className: "text-agg-base leading-agg-6", children: `${item.label} ${formatProbabilityCents(item.probability)}` })
4399
5215
  ] })
4400
5216
  },
4401
5217
  item.label
@@ -4404,7 +5220,7 @@ var MarketDetailsContent = ({
4404
5220
  }
4405
5221
  )
4406
5222
  ] }),
4407
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5223
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4408
5224
  "div",
4409
5225
  {
4410
5226
  id: detailsContentId,
@@ -4417,9 +5233,9 @@ var MarketDetailsContent = ({
4417
5233
  isOpened ? "grid-rows-[1fr] opacity-100" : "pointer-events-none grid-rows-[0fr] opacity-0"
4418
5234
  ),
4419
5235
  "aria-hidden": !isOpened,
4420
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "min-h-0", children: [
4421
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
4422
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5236
+ children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "min-h-0", children: [
5237
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
5238
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
4423
5239
  "div",
4424
5240
  {
4425
5241
  className: cn(
@@ -4433,7 +5249,7 @@ var MarketDetailsContent = ({
4433
5249
  ) : "translate-y-5 opacity-0"
4434
5250
  ),
4435
5251
  children: [
4436
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: cn("block", classNames == null ? void 0 : classNames.tabs), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5252
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: cn("block", classNames == null ? void 0 : classNames.tabs), children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4437
5253
  Tabs,
4438
5254
  {
4439
5255
  ariaLabel: labels.marketDetails.tabsAria,
@@ -4444,9 +5260,9 @@ var MarketDetailsContent = ({
4444
5260
  className: "w-full px-5"
4445
5261
  }
4446
5262
  ) }),
4447
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
4448
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: cn("p-5", classNames == null ? void 0 : classNames.content), children: [
4449
- selectedTab === "order-book" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: cn("flex flex-col gap-5", classNames == null ? void 0 : classNames.orderBook), children: isOrderBookLoading ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5263
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
5264
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: cn("p-5", classNames == null ? void 0 : classNames.content), children: [
5265
+ selectedTab === "order-book" ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: cn("flex flex-col gap-5", classNames == null ? void 0 : classNames.orderBook), children: isOrderBookLoading ? /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
4450
5266
  "div",
4451
5267
  {
4452
5268
  className: "flex flex-col gap-2 min-h-40 items-center justify-center",
@@ -4454,12 +5270,12 @@ var MarketDetailsContent = ({
4454
5270
  "aria-label": labels.marketDetails.loadingOrderbookAria,
4455
5271
  "aria-busy": true,
4456
5272
  children: [
4457
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(LoadingIcon, {}),
4458
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "meta", children: labels.marketDetails.loadingOrderbookLabel })
5273
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(LoadingIcon, {}),
5274
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { variant: "meta", children: labels.marketDetails.loadingOrderbookLabel })
4459
5275
  ]
4460
5276
  }
4461
- ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4462
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5277
+ ) : /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx_runtime66.Fragment, { children: [
5278
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4463
5279
  OrderBookRows,
4464
5280
  {
4465
5281
  rows: askRows,
@@ -4468,7 +5284,7 @@ var MarketDetailsContent = ({
4468
5284
  formatCurrency: config.formatCurrency
4469
5285
  }
4470
5286
  ),
4471
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5287
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4472
5288
  OrderBookRows,
4473
5289
  {
4474
5290
  rows: bidRows,
@@ -4478,8 +5294,8 @@ var MarketDetailsContent = ({
4478
5294
  }
4479
5295
  )
4480
5296
  ] }) }) : null,
4481
- selectedTab === "graph" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: cn("flex flex-col gap-5", classNames == null ? void 0 : classNames.graph), children: [
4482
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5297
+ selectedTab === "graph" ? /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: cn("flex flex-col gap-5", classNames == null ? void 0 : classNames.graph), children: [
5298
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4483
5299
  LineChart,
4484
5300
  {
4485
5301
  series: graphSeries,
@@ -4488,22 +5304,31 @@ var MarketDetailsContent = ({
4488
5304
  classNames: { root: "w-full" },
4489
5305
  showSeriesControls: selectedOutcomesByVenue.length > 0 || headerOutcomeItems.length > 0,
4490
5306
  renderSeriesControls: () => {
4491
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-4 md:flex-row md:items-center md:justify-between", children: [
4492
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex flex-wrap gap-2", children: selectedOutcomesByVenue.map((item) => {
5307
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col gap-4 md:flex-row md:items-center md:justify-between", children: [
5308
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "flex flex-wrap gap-2", children: selectedOutcomesByVenue.map((item) => {
4493
5309
  const probability = formatProbabilityPercent(item.outcome.price);
4494
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4495
- "div",
5310
+ const isActiveVenue = selectedGraphVenue === item.venue;
5311
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
5312
+ "button",
4496
5313
  {
4497
- className: "inline-flex items-center gap-2 rounded-agg-full bg-agg-secondary-hover px-4 py-2",
5314
+ type: "button",
5315
+ "aria-label": `${item.venue} ${probability}`,
5316
+ "aria-pressed": isActiveVenue,
5317
+ className: cn(
5318
+ "inline-flex items-center gap-2 rounded-agg-full border-2 px-4 py-2",
5319
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agg-primary focus-visible:ring-offset-2 focus-visible:ring-offset-agg-secondary-hover",
5320
+ isActiveVenue ? "border-agg-primary bg-agg-secondary" : "border-transparent bg-agg-secondary-hover"
5321
+ ),
5322
+ onClick: () => handleGraphVenueToggle(item.venue),
4498
5323
  children: [
4499
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(VenueLogo, { venue: item.venue, size: "xs" }),
4500
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: probability })
5324
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(VenueLogo, { venue: item.venue, size: "xs" }),
5325
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: probability })
4501
5326
  ]
4502
5327
  },
4503
5328
  `${item.market.id}-${item.outcome.id}`
4504
5329
  );
4505
5330
  }) }),
4506
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5331
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4507
5332
  SwitchButton,
4508
5333
  {
4509
5334
  ariaLabel: labels.marketDetails.outcomeSelectorAria,
@@ -4521,7 +5346,7 @@ var MarketDetailsContent = ({
4521
5346
  }
4522
5347
  }
4523
5348
  ),
4524
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5349
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
4525
5350
  "div",
4526
5351
  {
4527
5352
  className: cn(
@@ -4529,10 +5354,10 @@ var MarketDetailsContent = ({
4529
5354
  classNames == null ? void 0 : classNames.footer
4530
5355
  ),
4531
5356
  children: [
4532
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { children: typeof model.market.volume === "number" ? `${config.formatCompactCurrency(model.market.volume)} ${labels.marketDetails.meta.volumeSuffix}` : labels.marketDetails.volumeUnavailable }),
4533
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex flex-wrap items-center gap-3 md:gap-4", children: eventListItemDetailsTimeRanges.map((timeRange) => {
5357
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { children: typeof model.market.volume === "number" ? `${config.formatCompactCurrency(model.market.volume)} ${labels.marketDetails.meta.volumeSuffix}` : labels.marketDetails.volumeUnavailable }),
5358
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "flex flex-wrap items-center gap-3 md:gap-4", children: eventListItemDetailsTimeRanges.map((timeRange) => {
4534
5359
  const isActive = selectedTimeRange === timeRange;
4535
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5360
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4536
5361
  "button",
4537
5362
  {
4538
5363
  type: "button",
@@ -4551,13 +5376,13 @@ var MarketDetailsContent = ({
4551
5376
  }
4552
5377
  )
4553
5378
  ] }) : null,
4554
- selectedTab === "other" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex flex-col gap-4", children: otherContent != null ? otherContent : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "grid grid-cols-1 gap-3", children: otherRows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5379
+ selectedTab === "other" ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "flex flex-col gap-4", children: otherContent != null ? otherContent : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "grid grid-cols-1 gap-3", children: otherRows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
4555
5380
  "div",
4556
5381
  {
4557
5382
  className: "flex items-center justify-between rounded-agg-xl bg-agg-secondary-hover px-4 py-3",
4558
5383
  children: [
4559
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "meta", children: row.label }),
4560
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Typography, { variant: "body", className: "text-right", children: row.value })
5384
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { variant: "meta", children: row.label }),
5385
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Typography, { variant: "body", className: "text-right", children: row.value })
4561
5386
  ]
4562
5387
  },
4563
5388
  row.label
@@ -4575,10 +5400,10 @@ var MarketDetailsContent = ({
4575
5400
  };
4576
5401
  var MarketDetails = (props) => {
4577
5402
  var _a;
4578
- const [uncontrolledIsOpened, setUncontrolledIsOpened] = (0, import_react5.useState)(
5403
+ const [uncontrolledIsOpened, setUncontrolledIsOpened] = (0, import_react6.useState)(
4579
5404
  (_a = props.defaultIsOpened) != null ? _a : marketDetailsDefaultIsOpened
4580
5405
  );
4581
- (0, import_react5.useEffect)(() => {
5406
+ (0, import_react6.useEffect)(() => {
4582
5407
  if (typeof props.isOpened !== "boolean")
4583
5408
  return;
4584
5409
  setUncontrolledIsOpened(props.isOpened);
@@ -4599,7 +5424,7 @@ var MarketDetails = (props) => {
4599
5424
  }
4600
5425
  );
4601
5426
  if (props.isLoading) {
4602
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5427
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4603
5428
  MarketDetailsLoadingState,
4604
5429
  {
4605
5430
  isOpened: resolvedIsOpened,
@@ -4609,7 +5434,7 @@ var MarketDetails = (props) => {
4609
5434
  );
4610
5435
  }
4611
5436
  if ("event" in props && props.event) {
4612
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5437
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4613
5438
  MarketDetailsContent,
4614
5439
  __spreadProps(__spreadValues({}, props), {
4615
5440
  isOpened: resolvedIsOpened,
@@ -4619,7 +5444,7 @@ var MarketDetails = (props) => {
4619
5444
  );
4620
5445
  }
4621
5446
  if (isFetchingEvent) {
4622
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5447
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4623
5448
  MarketDetailsLoadingState,
4624
5449
  {
4625
5450
  isOpened: resolvedIsOpened,
@@ -4629,9 +5454,9 @@ var MarketDetails = (props) => {
4629
5454
  );
4630
5455
  }
4631
5456
  if (!fetchedEvent) {
4632
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MarketDetailsUnavailableState, { ariaLabel: props.ariaLabel, classNames: props.classNames });
5457
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(MarketDetailsUnavailableState, { ariaLabel: props.ariaLabel, classNames: props.classNames });
4633
5458
  }
4634
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5459
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4635
5460
  MarketDetailsContent,
4636
5461
  __spreadProps(__spreadValues({}, props), {
4637
5462
  isOpened: resolvedIsOpened,
@@ -4643,7 +5468,7 @@ var MarketDetails = (props) => {
4643
5468
  MarketDetails.displayName = "MarketDetails";
4644
5469
 
4645
5470
  // src/trading/place-order/index.tsx
4646
- var import_react6 = require("react");
5471
+ var import_react7 = require("react");
4647
5472
  var import_hooks18 = require("@agg-market/hooks");
4648
5473
 
4649
5474
  // src/trading/utils.ts
@@ -4667,9 +5492,9 @@ var getTradingVenueLabel = (venue, label) => {
4667
5492
  };
4668
5493
 
4669
5494
  // src/trading/place-order/index.tsx
4670
- var import_jsx_runtime49 = require("react/jsx-runtime");
4671
- var WarningFilledIcon = ({ className }) => {
4672
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
5495
+ var import_jsx_runtime67 = require("react/jsx-runtime");
5496
+ var WarningFilledIcon2 = ({ className }) => {
5497
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
4673
5498
  "svg",
4674
5499
  {
4675
5500
  viewBox: "0 0 16 16",
@@ -4677,15 +5502,15 @@ var WarningFilledIcon = ({ className }) => {
4677
5502
  className: cn("text-agg-warning", className),
4678
5503
  "aria-hidden": "true",
4679
5504
  children: [
4680
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("path", { d: "M8 1.33301L15.3333 14.6663H0.666656L8 1.33301Z", fill: "currentColor" }),
4681
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("path", { d: "M8 5.33301V8.66634", stroke: "white", strokeWidth: "1.4", strokeLinecap: "round" }),
4682
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("circle", { cx: "8", cy: "11.1667", r: "0.833333", fill: "white" })
5505
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", { d: "M8 1.33301L15.3333 14.6663H0.666656L8 1.33301Z", fill: "currentColor" }),
5506
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", { d: "M8 5.33301V8.66634", stroke: "white", strokeWidth: "1.4", strokeLinecap: "round" }),
5507
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("circle", { cx: "8", cy: "11.1667", r: "0.833333", fill: "white" })
4683
5508
  ]
4684
5509
  }
4685
5510
  );
4686
5511
  };
4687
5512
  var ErrorFilledIcon = ({ className }) => {
4688
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
5513
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
4689
5514
  "svg",
4690
5515
  {
4691
5516
  viewBox: "0 0 16 16",
@@ -4693,9 +5518,9 @@ var ErrorFilledIcon = ({ className }) => {
4693
5518
  className: cn("text-agg-error", className),
4694
5519
  "aria-hidden": "true",
4695
5520
  children: [
4696
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("circle", { cx: "8", cy: "8", r: "8", fill: "currentColor" }),
4697
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("path", { d: "M8 4.16699V8.50033", stroke: "white", strokeWidth: "1.4", strokeLinecap: "round" }),
4698
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("circle", { cx: "8", cy: "11.167", r: "0.833333", fill: "white" })
5521
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("circle", { cx: "8", cy: "8", r: "8", fill: "currentColor" }),
5522
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", { d: "M8 4.16699V8.50033", stroke: "white", strokeWidth: "1.4", strokeLinecap: "round" }),
5523
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("circle", { cx: "8", cy: "11.167", r: "0.833333", fill: "white" })
4699
5524
  ]
4700
5525
  }
4701
5526
  );
@@ -4722,17 +5547,17 @@ var getStatusContent = ({
4722
5547
  if (!status || status.placement !== placement)
4723
5548
  return null;
4724
5549
  if (status.tone === "warning") {
4725
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-center gap-2", children: [
4726
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(WarningFilledIcon, { className: "h-4 w-4 shrink-0" }),
4727
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: status.message })
5550
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex items-center justify-center gap-2", children: [
5551
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(WarningFilledIcon2, { className: "h-4 w-4 shrink-0" }),
5552
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: status.message })
4728
5553
  ] });
4729
5554
  }
4730
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-3 rounded-agg-lg bg-agg-status-error-surface px-3 py-2.5", children: [
4731
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
4732
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ErrorFilledIcon, { className: "h-4 w-4 shrink-0" }),
4733
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "min-w-0 flex-1 text-agg-sm leading-agg-5 text-agg-foreground", children: status.message })
5555
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex items-center gap-3 rounded-agg-lg bg-agg-status-error-surface px-3 py-2.5", children: [
5556
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
5557
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ErrorFilledIcon, { className: "h-4 w-4 shrink-0" }),
5558
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "min-w-0 flex-1 text-agg-sm leading-agg-5 text-agg-foreground", children: status.message })
4734
5559
  ] }),
4735
- status.actionLabel ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5560
+ status.actionLabel ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4736
5561
  "button",
4737
5562
  {
4738
5563
  type: "button",
@@ -4774,7 +5599,7 @@ var PlaceOrder = ({
4774
5599
  const labels = (0, import_hooks18.useLabels)();
4775
5600
  const resolvedDisclaimer = disclaimer === defaultTradingDisclaimer ? labels.trading.disclaimer : disclaimer;
4776
5601
  if (isLoading) {
4777
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5602
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4778
5603
  Skeleton,
4779
5604
  {
4780
5605
  ariaLabel: labels.common.loading,
@@ -4783,19 +5608,19 @@ var PlaceOrder = ({
4783
5608
  }
4784
5609
  );
4785
5610
  }
4786
- const [internalTab, setInternalTab] = (0, import_react6.useState)(activeTab);
4787
- const [internalOutcomeId, setInternalOutcomeId] = (0, import_react6.useState)(selectedOutcomeId);
4788
- (0, import_react6.useEffect)(() => {
5611
+ const [internalTab, setInternalTab] = (0, import_react7.useState)(activeTab);
5612
+ const [internalOutcomeId, setInternalOutcomeId] = (0, import_react7.useState)(selectedOutcomeId);
5613
+ (0, import_react7.useEffect)(() => {
4789
5614
  setInternalTab(activeTab);
4790
5615
  }, [activeTab]);
4791
- (0, import_react6.useEffect)(() => {
5616
+ (0, import_react7.useEffect)(() => {
4792
5617
  setInternalOutcomeId(selectedOutcomeId);
4793
5618
  }, [selectedOutcomeId]);
4794
5619
  const resolvedTab = onTabChange ? activeTab : internalTab;
4795
5620
  const resolvedOutcomeId = onOutcomeChange ? selectedOutcomeId : internalOutcomeId;
4796
5621
  const hasHighlightedRouting = routing.tone === "highlighted";
4797
5622
  const dateLabel = getTradingDateLabel(marketDate);
4798
- const tabItems = (0, import_react6.useMemo)(() => {
5623
+ const tabItems = (0, import_react7.useMemo)(() => {
4799
5624
  return [
4800
5625
  { value: "buy", label: buyLabel },
4801
5626
  { value: "sell", label: sellLabel }
@@ -4813,7 +5638,7 @@ var PlaceOrder = ({
4813
5638
  }
4814
5639
  onOutcomeChange == null ? void 0 : onOutcomeChange(nextOutcomeId);
4815
5640
  };
4816
- const actionButton = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5641
+ const actionButton = /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4817
5642
  Button,
4818
5643
  {
4819
5644
  size: "xxl",
@@ -4825,11 +5650,11 @@ var PlaceOrder = ({
4825
5650
  children: actionLabel
4826
5651
  }
4827
5652
  );
4828
- const contentBody = /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-6 p-5", children: [
4829
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
4830
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-start justify-between gap-5", children: [
4831
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
4832
- marketImageUrl ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5653
+ const contentBody = /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col gap-6 p-5", children: [
5654
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col gap-2", children: [
5655
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex items-start justify-between gap-5", children: [
5656
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
5657
+ marketImageUrl ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4833
5658
  "img",
4834
5659
  {
4835
5660
  src: marketImageUrl,
@@ -4837,16 +5662,16 @@ var PlaceOrder = ({
4837
5662
  className: "h-12 w-12 shrink-0 rounded-agg-lg object-cover"
4838
5663
  }
4839
5664
  ) : null,
4840
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "min-w-0 text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: title })
5665
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "min-w-0 text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: title })
4841
5666
  ] }),
4842
- isDismissible ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5667
+ isDismissible ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4843
5668
  "button",
4844
5669
  {
4845
5670
  type: "button",
4846
5671
  "aria-label": labels.common.close,
4847
5672
  className: "shrink-0 text-agg-foreground",
4848
5673
  onClick: onClose,
4849
- children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5674
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4850
5675
  Icon,
4851
5676
  {
4852
5677
  name: "close",
@@ -4858,9 +5683,9 @@ var PlaceOrder = ({
4858
5683
  }
4859
5684
  ) : null
4860
5685
  ] }),
4861
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: dateLabel })
5686
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: dateLabel })
4862
5687
  ] }),
4863
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5688
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4864
5689
  Tabs,
4865
5690
  {
4866
5691
  ariaLabel: labels.common.tabsAria,
@@ -4873,10 +5698,10 @@ var PlaceOrder = ({
4873
5698
  className: "w-full"
4874
5699
  }
4875
5700
  ),
4876
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-4", children: [
4877
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex w-full gap-2", children: outcomes.map((outcome) => {
5701
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col gap-4", children: [
5702
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "flex w-full gap-2", children: outcomes.map((outcome) => {
4878
5703
  const isActive = outcome.id === resolvedOutcomeId;
4879
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5704
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4880
5705
  "button",
4881
5706
  {
4882
5707
  type: "button",
@@ -4893,16 +5718,16 @@ var PlaceOrder = ({
4893
5718
  outcome.id
4894
5719
  );
4895
5720
  }) }),
4896
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
4897
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col", children: [
4898
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: primaryMetric.label }),
4899
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: primaryMetric.hint })
5721
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
5722
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col", children: [
5723
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: primaryMetric.label }),
5724
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: primaryMetric.hint })
4900
5725
  ] }),
4901
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-agg-3xl font-agg-bold leading-agg-9 text-agg-foreground", children: primaryMetric.value })
5726
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-3xl font-agg-bold leading-agg-9 text-agg-foreground", children: primaryMetric.value })
4902
5727
  ] })
4903
5728
  ] }),
4904
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-2", children: [
4905
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
5729
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col gap-2", children: [
5730
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
4906
5731
  "div",
4907
5732
  {
4908
5733
  className: cn(
@@ -4910,20 +5735,20 @@ var PlaceOrder = ({
4910
5735
  getRoutingCardClassName(hasHighlightedRouting)
4911
5736
  ),
4912
5737
  children: [
4913
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5738
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4914
5739
  "div",
4915
5740
  {
4916
5741
  className: cn(
4917
- "pointer-events-none absolute inset-x-0 bottom-0 h-11 bg-gradient-to-b from-transparent to-agg-trade-highlight-glow",
5742
+ "pointer-events-none absolute inset-x-0 bottom-0 h-11 bg-linear-to-b from-transparent to-agg-trade-highlight-glow",
4918
5743
  hasHighlightedRouting ? "opacity-100" : "opacity-0"
4919
5744
  )
4920
5745
  }
4921
5746
  ),
4922
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "relative flex flex-col gap-3", children: [
4923
- routing.rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col gap-3", children: [
4924
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
4925
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex min-w-0 items-center gap-2", children: [
4926
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5747
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "relative flex flex-col gap-3", children: [
5748
+ routing.rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col gap-3", children: [
5749
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
5750
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex min-w-0 items-center gap-2", children: [
5751
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4927
5752
  VenueLogo,
4928
5753
  {
4929
5754
  venue: row.venue,
@@ -4931,11 +5756,11 @@ var PlaceOrder = ({
4931
5756
  ariaLabel: getTradingVenueLabel(row.venue)
4932
5757
  }
4933
5758
  ),
4934
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "truncate text-agg-base leading-agg-6 text-agg-foreground", children: row.label })
5759
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "truncate text-agg-base leading-agg-6 text-agg-foreground", children: row.label })
4935
5760
  ] }),
4936
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "shrink-0 text-agg-base leading-agg-6 text-agg-foreground", children: row.priceLabel })
5761
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "shrink-0 text-agg-base leading-agg-6 text-agg-foreground", children: row.priceLabel })
4937
5762
  ] }),
4938
- index < routing.rows.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5763
+ index < routing.rows.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4939
5764
  "div",
4940
5765
  {
4941
5766
  className: cn(
@@ -4945,19 +5770,19 @@ var PlaceOrder = ({
4945
5770
  }
4946
5771
  ) : null
4947
5772
  ] }, `${row.venue}-${row.label}`)),
4948
- routing.highlightLabel ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-center text-agg-sm font-agg-bold leading-agg-5 uppercase text-agg-trade-highlight-accent", children: routing.highlightLabel }) : null
5773
+ routing.highlightLabel ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-center text-agg-sm font-agg-bold leading-agg-5 uppercase text-agg-trade-highlight-accent", children: routing.highlightLabel }) : null
4949
5774
  ] })
4950
5775
  ]
4951
5776
  }
4952
5777
  ),
4953
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: routing.helperLabel })
5778
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: routing.helperLabel })
4954
5779
  ] }),
4955
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
4956
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col", children: [
4957
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: result.label }),
4958
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: result.hint })
5780
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
5781
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "flex flex-col", children: [
5782
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: result.label }),
5783
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: result.hint })
4959
5784
  ] }),
4960
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
5785
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4961
5786
  "p",
4962
5787
  {
4963
5788
  className: cn(
@@ -4968,7 +5793,7 @@ var PlaceOrder = ({
4968
5793
  }
4969
5794
  )
4970
5795
  ] }),
4971
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
5796
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
4972
5797
  getStatusContent({
4973
5798
  placement: "above-action",
4974
5799
  status,
@@ -4981,16 +5806,16 @@ var PlaceOrder = ({
4981
5806
  onStatusAction
4982
5807
  })
4983
5808
  ] }),
4984
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-center text-agg-xs leading-agg-4 text-agg-muted-foreground", children: resolvedDisclaimer })
5809
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-center text-agg-xs leading-agg-4 text-agg-muted-foreground", children: resolvedDisclaimer })
4985
5810
  ] });
4986
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Card, { className: cn(getPlaceOrderContainerClassName(), className), children: contentBody });
5811
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Card, { className: cn(getPlaceOrderContainerClassName(), className), children: contentBody });
4987
5812
  };
4988
5813
  PlaceOrder.displayName = "PlaceOrder";
4989
5814
 
4990
5815
  // src/trading/settlement/index.tsx
4991
- var import_react7 = require("react");
5816
+ var import_react8 = require("react");
4992
5817
  var import_hooks19 = require("@agg-market/hooks");
4993
- var import_jsx_runtime50 = require("react/jsx-runtime");
5818
+ var import_jsx_runtime68 = require("react/jsx-runtime");
4994
5819
  var getSettlementHeaderClassName = () => {
4995
5820
  return "flex items-center justify-between gap-4";
4996
5821
  };
@@ -5011,21 +5836,10 @@ var Settlement = ({
5011
5836
  const labels = (0, import_hooks19.useLabels)();
5012
5837
  const resolvedSectionLabel = sectionLabel === defaultSettlementSectionLabel ? labels.trading.settlementSection : sectionLabel;
5013
5838
  const resolvedDifferencesTitle = differencesTitle === defaultSettlementDifferencesTitle ? labels.trading.settlementDifferencesTitle : differencesTitle;
5014
- if (isLoading) {
5015
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5016
- Skeleton,
5017
- {
5018
- ariaLabel: labels.trading.settlementLoading,
5019
- className,
5020
- view: skeletonViews.settlement
5021
- }
5022
- );
5023
- }
5024
- const [internalExpandedVenue, setInternalExpandedVenue] = (
5025
- // eslint-disable-next-line react-hooks/rules-of-hooks
5026
- (0, import_react7.useState)((_b = defaultExpandedVenue != null ? defaultExpandedVenue : (_a = venues[0]) == null ? void 0 : _a.venue) != null ? _b : null)
5839
+ const [internalExpandedVenue, setInternalExpandedVenue] = (0, import_react8.useState)(
5840
+ (_b = defaultExpandedVenue != null ? defaultExpandedVenue : (_a = venues[0]) == null ? void 0 : _a.venue) != null ? _b : null
5027
5841
  );
5028
- (0, import_react7.useEffect)(() => {
5842
+ (0, import_react8.useEffect)(() => {
5029
5843
  if (expandedVenue === void 0)
5030
5844
  return;
5031
5845
  setInternalExpandedVenue(expandedVenue);
@@ -5038,28 +5852,38 @@ var Settlement = ({
5038
5852
  }
5039
5853
  onExpandedVenueChange == null ? void 0 : onExpandedVenueChange(nextVenue);
5040
5854
  };
5041
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
5855
+ if (isLoading) {
5856
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5857
+ Skeleton,
5858
+ {
5859
+ ariaLabel: labels.trading.settlementLoading,
5860
+ className,
5861
+ view: skeletonViews.settlement
5862
+ }
5863
+ );
5864
+ }
5865
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5042
5866
  Card,
5043
5867
  {
5044
5868
  className: cn(
5045
- "gap-5 rounded-agg-xl border border-agg-separator bg-agg-secondary p-5 shadow-none hover:shadow-none",
5869
+ "flex flex-col w-full gap-5 rounded-agg-xl border border-agg-separator bg-agg-secondary p-5 shadow-none hover:shadow-none",
5046
5870
  className
5047
5871
  ),
5048
5872
  children: [
5049
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: getSettlementHeaderClassName(), children: [
5050
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "text-agg-xs font-agg-bold leading-agg-4 uppercase text-agg-muted-foreground", children: resolvedSectionLabel }),
5051
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: question })
5873
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: getSettlementHeaderClassName(), children: [
5874
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "text-agg-xs font-agg-bold leading-agg-4 uppercase text-agg-muted-foreground", children: resolvedSectionLabel }),
5875
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: question })
5052
5876
  ] }),
5053
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex flex-col gap-2", children: [
5054
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: resolvedDifferencesTitle }),
5055
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("ul", { className: "list-disc pl-5 text-agg-sm leading-agg-5 text-agg-foreground", children: differences.map((difference) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("li", { children: difference }, difference)) })
5877
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "flex flex-col gap-2", children: [
5878
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: resolvedDifferencesTitle }),
5879
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("ul", { className: "list-disc pl-5 text-agg-sm leading-agg-5 text-agg-foreground", children: differences.map((difference) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("li", { children: difference }, difference)) })
5056
5880
  ] }),
5057
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
5058
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex flex-col gap-3", children: venues.map((venue) => {
5881
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
5882
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "flex flex-col gap-3", children: venues.map((venue) => {
5059
5883
  const venueLabel = getTradingVenueLabel(venue.venue, venue.label);
5060
5884
  const isExpanded = resolvedExpandedVenue === venue.venue;
5061
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: cn("flex flex-col", isExpanded ? "gap-2" : "gap-0"), children: [
5062
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
5885
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: cn("flex flex-col", isExpanded ? "gap-2" : "gap-0"), children: [
5886
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5063
5887
  "button",
5064
5888
  {
5065
5889
  type: "button",
@@ -5068,9 +5892,9 @@ var Settlement = ({
5068
5892
  "aria-label": labels.trading.settlementDetailsAria(venueLabel),
5069
5893
  onClick: () => handleVenueClick(venue.venue),
5070
5894
  children: [
5071
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(VenueLogo, { venue: venue.venue, size: "s", ariaLabel: venueLabel }),
5072
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: venueLabel }),
5073
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5895
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(VenueLogo, { venue: venue.venue, size: "s", ariaLabel: venueLabel }),
5896
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: venueLabel }),
5897
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5074
5898
  Icon,
5075
5899
  {
5076
5900
  name: isExpanded ? "chevron-up" : "chevron-down",
@@ -5082,11 +5906,11 @@ var Settlement = ({
5082
5906
  ]
5083
5907
  }
5084
5908
  ),
5085
- isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: [
5909
+ isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: [
5086
5910
  venue.description,
5087
- venue.showMoreLabel ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
5911
+ venue.showMoreLabel ? /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
5088
5912
  " ",
5089
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5913
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5090
5914
  "button",
5091
5915
  {
5092
5916
  type: "button",
@@ -5110,7 +5934,7 @@ var Settlement = ({
5110
5934
  Settlement.displayName = "Settlement";
5111
5935
 
5112
5936
  // src/pages/event-market/index.tsx
5113
- var import_jsx_runtime51 = require("react/jsx-runtime");
5937
+ var import_jsx_runtime69 = require("react/jsx-runtime");
5114
5938
  var getMarketDateValue = (market, fallbackIndex) => {
5115
5939
  var _a, _b, _c;
5116
5940
  const candidateDate = (_c = (_b = (_a = market.endDate) != null ? _a : market.startDate) != null ? _b : market.creationDate) != null ? _c : null;
@@ -5170,15 +5994,15 @@ var EventMarketPageUnavailableState = ({
5170
5994
  ariaLabel
5171
5995
  }) => {
5172
5996
  const labels = (0, import_hooks20.useLabels)();
5173
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5997
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5174
5998
  Card,
5175
5999
  {
5176
6000
  className: "rounded-agg-xl border border-agg-separator bg-agg-secondary p-6 shadow-none hover:shadow-none",
5177
6001
  role: "status",
5178
6002
  "aria-label": ariaLabel != null ? ariaLabel : labels.eventMarketPage.unavailableAria,
5179
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex flex-col gap-1", children: [
5180
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Typography, { variant: "title", children: labels.eventMarketPage.unavailableTitle }),
5181
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Typography, { variant: "meta", children: labels.eventMarketPage.unavailableDescription })
6003
+ children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex flex-col gap-1", children: [
6004
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Typography, { variant: "title", children: labels.eventMarketPage.unavailableTitle }),
6005
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Typography, { variant: "meta", children: labels.eventMarketPage.unavailableDescription })
5182
6006
  ] })
5183
6007
  }
5184
6008
  );
@@ -5201,7 +6025,7 @@ var EventMarketPageLoadingState = ({
5201
6025
  }
5202
6026
  ]
5203
6027
  };
5204
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("section", { className: cn("w-full", classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
6028
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("section", { className: cn("w-full", classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
5205
6029
  "div",
5206
6030
  {
5207
6031
  className: cn(
@@ -5209,8 +6033,8 @@ var EventMarketPageLoadingState = ({
5209
6033
  classNames == null ? void 0 : classNames.content
5210
6034
  ),
5211
6035
  children: [
5212
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: cn("flex min-w-0 flex-1 flex-col gap-6", classNames == null ? void 0 : classNames.main), children: [
5213
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
6036
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: cn("flex min-w-0 flex-1 flex-col gap-6", classNames == null ? void 0 : classNames.main), children: [
6037
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5214
6038
  EventListItemDetails,
5215
6039
  {
5216
6040
  isLoading: true,
@@ -5219,23 +6043,23 @@ var EventMarketPageLoadingState = ({
5219
6043
  }
5220
6044
  }
5221
6045
  ),
5222
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: cn("flex flex-col gap-3", classNames == null ? void 0 : classNames.markets), children: [
5223
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(MarketDetails, { isLoading: true, isOpened: true, classNames: { root: "w-full" } }),
5224
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(MarketDetails, { isLoading: true, isOpened: false, classNames: { root: "w-full" } }),
5225
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(MarketDetails, { isLoading: true, isOpened: false, classNames: { root: "w-full" } })
6046
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: cn("flex flex-col gap-3", classNames == null ? void 0 : classNames.markets), children: [
6047
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(MarketDetails, { isLoading: true, isOpened: true, classNames: { root: "w-full" } }),
6048
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(MarketDetails, { isLoading: true, isOpened: false, classNames: { root: "w-full" } }),
6049
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(MarketDetails, { isLoading: true, isOpened: false, classNames: { root: "w-full" } })
5226
6050
  ] }),
5227
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Settlement, __spreadProps(__spreadValues({}, fallbackSettlement), { isLoading: true, className: classNames == null ? void 0 : classNames.settlement })) }),
5228
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Settlement, __spreadProps(__spreadValues({}, fallbackSettlement), { isLoading: true, className: classNames == null ? void 0 : classNames.settlement })) }),
5229
- placeOrder ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(PlaceOrder, __spreadProps(__spreadValues({}, placeOrder), { isLoading: true, className: classNames == null ? void 0 : classNames.mobileTrade })) }) : null
6051
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Settlement, __spreadProps(__spreadValues({}, fallbackSettlement), { isLoading: true, className: classNames == null ? void 0 : classNames.settlement })) }),
6052
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Settlement, __spreadProps(__spreadValues({}, fallbackSettlement), { isLoading: true, className: classNames == null ? void 0 : classNames.settlement })) }),
6053
+ placeOrder ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(PlaceOrder, __spreadProps(__spreadValues({}, placeOrder), { isLoading: true, className: classNames == null ? void 0 : classNames.mobileTrade })) }) : null
5230
6054
  ] }),
5231
- placeOrder ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
6055
+ placeOrder ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5232
6056
  "aside",
5233
6057
  {
5234
6058
  className: cn(
5235
6059
  "hidden w-full shrink-0 lg:sticky lg:top-6 lg:block lg:w-[343px]",
5236
6060
  classNames == null ? void 0 : classNames.sidebar
5237
6061
  ),
5238
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(PlaceOrder, __spreadProps(__spreadValues({}, placeOrder), { isLoading: true, className: classNames == null ? void 0 : classNames.trade }))
6062
+ children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(PlaceOrder, __spreadProps(__spreadValues({}, placeOrder), { isLoading: true, className: classNames == null ? void 0 : classNames.trade }))
5239
6063
  }
5240
6064
  ) : null
5241
6065
  ]
@@ -5255,24 +6079,24 @@ var EventMarketPageContent = ({
5255
6079
  ariaLabel
5256
6080
  }) => {
5257
6081
  const labels = (0, import_hooks20.useLabels)();
5258
- const resolvedHeroMarketId = (0, import_react8.useMemo)(() => {
6082
+ const resolvedHeroMarketId = (0, import_react9.useMemo)(() => {
5259
6083
  return resolveHeroMarketId(event, heroMarketId);
5260
6084
  }, [event, heroMarketId]);
5261
- const heroEvent = (0, import_react8.useMemo)(() => {
6085
+ const heroEvent = (0, import_react9.useMemo)(() => {
5262
6086
  return buildHeroEvent(event, resolvedHeroMarketId);
5263
6087
  }, [event, resolvedHeroMarketId]);
5264
- const detailedMarkets = (0, import_react8.useMemo)(() => {
6088
+ const detailedMarkets = (0, import_react9.useMemo)(() => {
5265
6089
  return resolveDetailedMarkets(event, resolvedHeroMarketId);
5266
6090
  }, [event, resolvedHeroMarketId]);
5267
- const [internalExpandedMarketId, setInternalExpandedMarketId] = (0, import_react8.useState)(() => {
6091
+ const [internalExpandedMarketId, setInternalExpandedMarketId] = (0, import_react9.useState)(() => {
5268
6092
  return resolveInitialExpandedMarketId(detailedMarkets, defaultExpandedMarketId);
5269
6093
  });
5270
- (0, import_react8.useEffect)(() => {
6094
+ (0, import_react9.useEffect)(() => {
5271
6095
  if (typeof expandedMarketId === "undefined")
5272
6096
  return;
5273
6097
  setInternalExpandedMarketId(expandedMarketId);
5274
6098
  }, [expandedMarketId]);
5275
- (0, import_react8.useEffect)(() => {
6099
+ (0, import_react9.useEffect)(() => {
5276
6100
  if (typeof expandedMarketId !== "undefined")
5277
6101
  return;
5278
6102
  setInternalExpandedMarketId((currentExpandedMarketId) => {
@@ -5291,9 +6115,9 @@ var EventMarketPageContent = ({
5291
6115
  onExpandedMarketChange == null ? void 0 : onExpandedMarketChange(nextExpandedMarketId);
5292
6116
  };
5293
6117
  if (!heroEvent || !event.markets.length) {
5294
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EventMarketPageUnavailableState, { ariaLabel });
6118
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(EventMarketPageUnavailableState, { ariaLabel });
5295
6119
  }
5296
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("section", { className: cn("w-full", classNames == null ? void 0 : classNames.root), "aria-label": ariaLabel != null ? ariaLabel : event.title, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
6120
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("section", { className: cn("w-full", classNames == null ? void 0 : classNames.root), "aria-label": ariaLabel != null ? ariaLabel : event.title, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
5297
6121
  "div",
5298
6122
  {
5299
6123
  className: cn(
@@ -5301,8 +6125,8 @@ var EventMarketPageContent = ({
5301
6125
  classNames == null ? void 0 : classNames.content
5302
6126
  ),
5303
6127
  children: [
5304
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: cn("flex min-w-0 flex-1 flex-col gap-6", classNames == null ? void 0 : classNames.main), children: [
5305
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
6128
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: cn("flex min-w-0 flex-1 flex-col gap-6", classNames == null ? void 0 : classNames.main), children: [
6129
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5306
6130
  EventListItemDetails,
5307
6131
  {
5308
6132
  event: heroEvent,
@@ -5312,9 +6136,9 @@ var EventMarketPageContent = ({
5312
6136
  }
5313
6137
  }
5314
6138
  ),
5315
- detailedMarkets.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: cn("flex flex-col gap-3", classNames == null ? void 0 : classNames.markets), children: detailedMarkets.map((market) => {
6139
+ detailedMarkets.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: cn("flex flex-col gap-3", classNames == null ? void 0 : classNames.markets), children: detailedMarkets.map((market) => {
5316
6140
  const isOpened = resolvedExpandedMarketId === market.id;
5317
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
6141
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5318
6142
  MarketDetails,
5319
6143
  {
5320
6144
  event,
@@ -5329,10 +6153,10 @@ var EventMarketPageContent = ({
5329
6153
  market.id
5330
6154
  );
5331
6155
  }) }) : null,
5332
- settlement ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Settlement, __spreadProps(__spreadValues({}, settlement), { className: classNames == null ? void 0 : classNames.settlement })) }) : null,
5333
- settlement ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Settlement, __spreadProps(__spreadValues({}, settlement), { className: classNames == null ? void 0 : classNames.settlement })) }) : null
6156
+ settlement ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Settlement, __spreadProps(__spreadValues({}, settlement), { className: classNames == null ? void 0 : classNames.settlement })) }) : null,
6157
+ settlement ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Settlement, __spreadProps(__spreadValues({}, settlement), { className: classNames == null ? void 0 : classNames.settlement })) }) : null
5334
6158
  ] }),
5335
- placeOrder ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("aside", { className: cn("w-full lg:block lg:max-w-[360px]", classNames == null ? void 0 : classNames.sidebar), children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(PlaceOrder, __spreadProps(__spreadValues({}, placeOrder), { className: classNames == null ? void 0 : classNames.trade })) }) : null
6159
+ placeOrder ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("aside", { className: cn("w-full lg:block lg:max-w-[360px]", classNames == null ? void 0 : classNames.sidebar), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(PlaceOrder, __spreadProps(__spreadValues({}, placeOrder), { className: classNames == null ? void 0 : classNames.trade })) }) : null
5336
6160
  ]
5337
6161
  }
5338
6162
  ) });
@@ -5346,13 +6170,13 @@ var EventMarketPage = (props) => {
5346
6170
  }
5347
6171
  );
5348
6172
  if (props.isLoading) {
5349
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EventMarketPageLoadingState, { placeOrder: props.placeOrder, settlement: props.settlement });
6173
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(EventMarketPageLoadingState, { placeOrder: props.placeOrder, settlement: props.settlement });
5350
6174
  }
5351
6175
  if ("event" in props && props.event) {
5352
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EventMarketPageContent, __spreadProps(__spreadValues({}, props), { event: props.event }));
6176
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(EventMarketPageContent, __spreadProps(__spreadValues({}, props), { event: props.event }));
5353
6177
  }
5354
6178
  if (isFetchingEvent) {
5355
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
6179
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5356
6180
  EventMarketPageLoadingState,
5357
6181
  {
5358
6182
  placeOrder: props.placeOrder,
@@ -5362,9 +6186,9 @@ var EventMarketPage = (props) => {
5362
6186
  );
5363
6187
  }
5364
6188
  if (!fetchedEvent) {
5365
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EventMarketPageUnavailableState, { ariaLabel: props.ariaLabel });
6189
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(EventMarketPageUnavailableState, { ariaLabel: props.ariaLabel });
5366
6190
  }
5367
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EventMarketPageContent, __spreadProps(__spreadValues({}, props), { event: fetchedEvent }));
6191
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(EventMarketPageContent, __spreadProps(__spreadValues({}, props), { event: fetchedEvent }));
5368
6192
  };
5369
6193
  EventMarketPage.displayName = "EventMarketPage";
5370
6194
  // Annotate the CommonJS export names for ESM import in node: