@agg-market/ui 11.0.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/{chunk-HMUMJUIL.mjs → chunk-3ST2TN6E.mjs} +613 -312
- package/dist/{chunk-IUJXJEDQ.mjs → chunk-B56YA2YQ.mjs} +872 -650
- package/dist/chunk-CHVTY3OB.mjs +3140 -0
- package/dist/{chunk-2KGE5AJQ.mjs → chunk-GQ4P3AHJ.mjs} +66 -131
- package/dist/{chunk-UONHGMFI.mjs → chunk-T4WFRR6D.mjs} +23 -45
- package/dist/events.js +1013 -924
- package/dist/events.mjs +2 -2
- package/dist/index.js +3653 -2943
- package/dist/index.mjs +14 -7
- package/dist/modals.js +2578 -2190
- package/dist/modals.mjs +2 -2
- package/dist/pages.js +2192 -1763
- package/dist/pages.mjs +4 -4
- package/dist/primitives.js +860 -628
- package/dist/primitives.mjs +9 -1
- package/dist/styles.css +2 -2
- package/dist/tailwind.css +2 -2
- package/dist/trading.js +823 -673
- package/dist/trading.mjs +2 -2
- package/dist/types/deposit/deposit-modal.constants.d.mts +0 -4
- package/dist/types/deposit/deposit-modal.constants.d.ts +0 -4
- package/dist/types/deposit/deposit-modal.types.d.mts +110 -14
- package/dist/types/deposit/deposit-modal.types.d.ts +110 -14
- package/dist/types/deposit/index.d.mts +1 -1
- package/dist/types/deposit/index.d.ts +1 -1
- package/dist/types/deposit/steps/card-deposit.d.mts +13 -3
- package/dist/types/deposit/steps/card-deposit.d.ts +13 -3
- package/dist/types/deposit/steps/card-provider.d.mts +10 -0
- package/dist/types/deposit/steps/card-provider.d.ts +10 -0
- package/dist/types/deposit/steps/card-purchase-success.d.mts +7 -0
- package/dist/types/deposit/steps/card-purchase-success.d.ts +7 -0
- package/dist/types/deposit/steps/crypto-transfer.d.mts +13 -3
- package/dist/types/deposit/steps/crypto-transfer.d.ts +13 -3
- package/dist/types/deposit/steps/deposit-method.d.mts +6 -4
- package/dist/types/deposit/steps/deposit-method.d.ts +6 -4
- package/dist/types/deposit/steps/wallet-form.d.mts +20 -0
- package/dist/types/deposit/steps/wallet-form.d.ts +20 -0
- package/dist/types/deposit/steps/wallet-processing.d.mts +6 -0
- package/dist/types/deposit/steps/wallet-processing.d.ts +6 -0
- package/dist/types/deposit/steps/wallet-success.d.mts +7 -0
- package/dist/types/deposit/steps/wallet-success.d.ts +7 -0
- package/dist/types/pages/home/index.d.mts +1 -1
- package/dist/types/pages/home/index.d.ts +1 -1
- package/dist/types/pages/user-profile/components/available-balance-card.d.mts +17 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.ts +17 -0
- package/dist/types/pages/user-profile/components/balance-display.d.mts +3 -5
- package/dist/types/pages/user-profile/components/balance-display.d.ts +3 -5
- package/dist/types/pages/user-profile/components/positions-activity.d.mts +11 -1
- package/dist/types/pages/user-profile/components/positions-activity.d.ts +11 -1
- package/dist/types/pages/user-profile/components/positions-value-card.d.mts +10 -0
- package/dist/types/pages/user-profile/components/positions-value-card.d.ts +10 -0
- package/dist/types/pages/user-profile/components/user-info-card.d.mts +3 -1
- package/dist/types/pages/user-profile/components/user-info-card.d.ts +3 -1
- package/dist/types/pages/user-profile/index.d.mts +2 -2
- package/dist/types/pages/user-profile/index.d.ts +2 -2
- package/dist/types/pages/user-profile/user-profile.constants.d.mts +1 -2
- package/dist/types/pages/user-profile/user-profile.constants.d.ts +1 -2
- package/dist/types/pages/user-profile/user-profile.types.d.mts +29 -16
- package/dist/types/pages/user-profile/user-profile.types.d.ts +29 -16
- package/dist/types/primitives/icon/index.d.mts +4 -1
- package/dist/types/primitives/icon/index.d.ts +4 -1
- package/dist/types/primitives/icon/registry.d.mts +12 -0
- package/dist/types/primitives/icon/registry.d.ts +12 -0
- package/dist/types/primitives/icon/svg/bnb.d.mts +5 -0
- package/dist/types/primitives/icon/svg/bnb.d.ts +5 -0
- package/dist/types/primitives/icon/svg/polygon.d.mts +5 -0
- package/dist/types/primitives/icon/svg/polygon.d.ts +5 -0
- package/dist/types/primitives/icon/svg/success-check.d.mts +5 -0
- package/dist/types/primitives/icon/svg/success-check.d.ts +5 -0
- package/dist/types/primitives/index.d.mts +1 -0
- package/dist/types/primitives/index.d.ts +1 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.mts +2 -0
- package/dist/types/primitives/skeleton/skeleton.types.d.ts +2 -0
- package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-overview-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/tooltip/index.d.mts +6 -0
- package/dist/types/primitives/tooltip/index.d.ts +6 -0
- package/dist/types/primitives/tooltip/tooltip.constants.d.mts +2 -0
- package/dist/types/primitives/tooltip/tooltip.constants.d.ts +2 -0
- package/dist/types/primitives/tooltip/tooltip.types.d.mts +27 -0
- package/dist/types/primitives/tooltip/tooltip.types.d.ts +27 -0
- package/dist/types/profile/tabs/about-tab.d.mts +1 -1
- package/dist/types/profile/tabs/about-tab.d.ts +1 -1
- package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +1 -1
- package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +1 -1
- package/dist/types/withdraw/index.d.mts +2 -2
- package/dist/types/withdraw/index.d.ts +2 -2
- package/dist/types/withdraw/steps/withdraw-amount.d.mts +14 -5
- package/dist/types/withdraw/steps/withdraw-amount.d.ts +14 -5
- package/dist/types/withdraw/steps/withdraw-method.d.mts +3 -4
- package/dist/types/withdraw/steps/withdraw-method.d.ts +3 -4
- package/dist/types/withdraw/steps/withdraw-provider.d.mts +10 -0
- package/dist/types/withdraw/steps/withdraw-provider.d.ts +10 -0
- package/dist/types/withdraw/steps/withdraw-success.d.mts +7 -0
- package/dist/types/withdraw/steps/withdraw-success.d.ts +7 -0
- package/dist/types/withdraw/withdraw-modal.constants.d.mts +0 -4
- package/dist/types/withdraw/withdraw-modal.constants.d.ts +0 -4
- package/dist/types/withdraw/withdraw-modal.types.d.mts +47 -23
- package/dist/types/withdraw/withdraw-modal.types.d.ts +47 -23
- package/package.json +3 -2
- package/dist/chunk-5FSWOXEG.mjs +0 -2857
- package/dist/types/deposit/steps/kalshi-deposit.d.mts +0 -5
- package/dist/types/deposit/steps/kalshi-deposit.d.ts +0 -5
- package/dist/types/withdraw/steps/kalshi-withdraw.d.mts +0 -5
- package/dist/types/withdraw/steps/kalshi-withdraw.d.ts +0 -5
- package/dist/types/withdraw/steps/venue-selection.d.mts +0 -6
- package/dist/types/withdraw/steps/venue-selection.d.ts +0 -6
package/dist/trading.js
CHANGED
|
@@ -170,16 +170,14 @@ var import_dayjs = __toESM(require("dayjs"));
|
|
|
170
170
|
// src/shared/utils.ts
|
|
171
171
|
var cn = (...values) => values.filter(Boolean).join(" ");
|
|
172
172
|
var getMotionClassName = (enabled, ...values) => {
|
|
173
|
-
if (!enabled)
|
|
174
|
-
return void 0;
|
|
173
|
+
if (!enabled) return void 0;
|
|
175
174
|
return cn(...values);
|
|
176
175
|
};
|
|
177
176
|
var getScrollBehavior = (enabled) => {
|
|
178
177
|
return enabled ? "smooth" : "auto";
|
|
179
178
|
};
|
|
180
179
|
var formatUsd = (value) => {
|
|
181
|
-
if (!Number.isFinite(value))
|
|
182
|
-
return "$0";
|
|
180
|
+
if (!Number.isFinite(value)) return "$0";
|
|
183
181
|
return value.toLocaleString("en-US", {
|
|
184
182
|
style: "currency",
|
|
185
183
|
currency: "USD",
|
|
@@ -201,8 +199,7 @@ var getTradingDateLabel = (value) => {
|
|
|
201
199
|
return parsedValue.format("MMM D, YYYY");
|
|
202
200
|
};
|
|
203
201
|
var getTradingVenueLabel = (venue, label) => {
|
|
204
|
-
if (label)
|
|
205
|
-
return label;
|
|
202
|
+
if (label) return label;
|
|
206
203
|
return defaultLabels.venues[venue];
|
|
207
204
|
};
|
|
208
205
|
var getTradingValueLabel = ({
|
|
@@ -417,9 +414,9 @@ var BestPricesIcon = (_a) => {
|
|
|
417
414
|
};
|
|
418
415
|
BestPricesIcon.displayName = "BestPricesIcon";
|
|
419
416
|
|
|
420
|
-
// src/primitives/icon/svg/
|
|
417
|
+
// src/primitives/icon/svg/bnb.tsx
|
|
421
418
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
422
|
-
var
|
|
419
|
+
var BnbIcon = (_a) => {
|
|
423
420
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
424
421
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
425
422
|
"svg",
|
|
@@ -430,14 +427,64 @@ var BoltIcon = (_a) => {
|
|
|
430
427
|
}, getIconA11yProps(title)), props), {
|
|
431
428
|
children: [
|
|
432
429
|
title ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("title", { children: title }) : null,
|
|
433
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("
|
|
430
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { width: "24", height: "24", rx: "8", fill: "#F3BA2F" }),
|
|
431
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
432
|
+
"path",
|
|
433
|
+
{
|
|
434
|
+
d: "M9.295 12.001 9.306 15.97l3.37 1.982v2.322l-5.343-3.135v-6.301l1.962 1.16Zm0-3.968v2.312l-1.963-1.16V6.873L9.295 5.712l1.972 1.16-1.972 1.16Zm4.786-1.16 1.963-1.16 1.972 1.16-1.963 1.16-1.972-1.16Z",
|
|
435
|
+
fill: "white"
|
|
436
|
+
}
|
|
437
|
+
),
|
|
438
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
439
|
+
"path",
|
|
440
|
+
{
|
|
441
|
+
d: "M10.714 15.146v-2.322l1.962 1.16v2.312l-1.962-1.15Zm3.367 3.636 1.963 1.16 1.972-1.16v2.311l-1.972 1.161-1.963-1.16v-2.312Zm6.75-11.909 1.963-1.16 1.972 1.16v2.312l-1.972 1.16V8.033L20.83 6.873Zm1.963 8.999.01-3.97 1.963-1.16v6.301l-5.343 3.136v-2.322l3.37-1.985Z",
|
|
442
|
+
fill: "white",
|
|
443
|
+
transform: "translate(-6.667)"
|
|
444
|
+
}
|
|
445
|
+
),
|
|
446
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
447
|
+
"path",
|
|
448
|
+
{
|
|
449
|
+
d: "m20.831 15.143-1.963 1.15v-2.312l1.963-1.16v2.322Z",
|
|
450
|
+
fill: "white",
|
|
451
|
+
transform: "translate(-6.667)"
|
|
452
|
+
}
|
|
453
|
+
),
|
|
454
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
455
|
+
"path",
|
|
456
|
+
{
|
|
457
|
+
d: "m20.83 8.851.011 2.322-3.38 1.982v3.98l-1.963 1.15-1.963-1.15v-3.98l-3.38-1.982V8.851l1.972-1.16 3.36 1.992 3.38-1.992 1.973 1.16ZM10.714 4.9l5.334-3.144L21.39 4.9l-1.963 1.16-3.38-1.992-3.37 1.991L10.714 4.9Z",
|
|
458
|
+
fill: "white"
|
|
459
|
+
}
|
|
460
|
+
)
|
|
461
|
+
]
|
|
462
|
+
})
|
|
463
|
+
);
|
|
464
|
+
};
|
|
465
|
+
BnbIcon.displayName = "BnbIcon";
|
|
466
|
+
|
|
467
|
+
// src/primitives/icon/svg/bolt.tsx
|
|
468
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
469
|
+
var BoltIcon = (_a) => {
|
|
470
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
472
|
+
"svg",
|
|
473
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
474
|
+
viewBox: "0 0 24 24",
|
|
475
|
+
className,
|
|
476
|
+
fill: "none"
|
|
477
|
+
}, getIconA11yProps(title)), props), {
|
|
478
|
+
children: [
|
|
479
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("title", { children: title }) : null,
|
|
480
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
434
481
|
"path",
|
|
435
482
|
{
|
|
436
483
|
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",
|
|
437
484
|
fill: "currentColor"
|
|
438
485
|
}
|
|
439
486
|
) }),
|
|
440
|
-
/* @__PURE__ */ (0,
|
|
487
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
441
488
|
]
|
|
442
489
|
})
|
|
443
490
|
);
|
|
@@ -445,10 +492,10 @@ var BoltIcon = (_a) => {
|
|
|
445
492
|
BoltIcon.displayName = "BoltIcon";
|
|
446
493
|
|
|
447
494
|
// src/primitives/icon/svg/check-circle.tsx
|
|
448
|
-
var
|
|
495
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
449
496
|
var CheckCircleIcon = (_a) => {
|
|
450
497
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
451
|
-
return /* @__PURE__ */ (0,
|
|
498
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
452
499
|
"svg",
|
|
453
500
|
__spreadProps(__spreadValues(__spreadValues({
|
|
454
501
|
width: "24",
|
|
@@ -459,15 +506,15 @@ var CheckCircleIcon = (_a) => {
|
|
|
459
506
|
className
|
|
460
507
|
}, getIconA11yProps(title)), props), {
|
|
461
508
|
children: [
|
|
462
|
-
title ? /* @__PURE__ */ (0,
|
|
463
|
-
/* @__PURE__ */ (0,
|
|
509
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("title", { children: title }) : null,
|
|
510
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
464
511
|
"path",
|
|
465
512
|
{
|
|
466
513
|
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",
|
|
467
514
|
fill: "currentColor"
|
|
468
515
|
}
|
|
469
516
|
) }),
|
|
470
|
-
/* @__PURE__ */ (0,
|
|
517
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
471
518
|
]
|
|
472
519
|
})
|
|
473
520
|
);
|
|
@@ -475,10 +522,10 @@ var CheckCircleIcon = (_a) => {
|
|
|
475
522
|
CheckCircleIcon.displayName = "CheckCircleIcon";
|
|
476
523
|
|
|
477
524
|
// src/primitives/icon/svg/chart-candlestick.tsx
|
|
478
|
-
var
|
|
525
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
479
526
|
var ChartCandlestickIcon = (_a) => {
|
|
480
527
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
481
|
-
return /* @__PURE__ */ (0,
|
|
528
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
482
529
|
"svg",
|
|
483
530
|
__spreadProps(__spreadValues(__spreadValues({
|
|
484
531
|
viewBox: "0 0 20 20",
|
|
@@ -487,21 +534,21 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
487
534
|
className
|
|
488
535
|
}, getIconA11yProps(title)), props), {
|
|
489
536
|
children: [
|
|
490
|
-
/* @__PURE__ */ (0,
|
|
537
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
491
538
|
"path",
|
|
492
539
|
{
|
|
493
540
|
d: "M5.55496 13.3329H6.11051H7.22163H7.77718V6.66623H7.22163H6.11051H5.55496V13.3329ZM8.88829 13.6107C8.88829 14.0709 8.5152 14.444 8.05496 14.444H7.22163H6.11051H5.27718L5.192 14.4397C4.77178 14.397 4.44385 14.0422 4.44385 13.6107V6.38845C4.44385 5.92822 4.81694 5.55512 5.27718 5.55512H6.11051H7.22163H8.05496C8.5152 5.55512 8.88829 5.92822 8.88829 6.38845V13.6107Z",
|
|
494
541
|
fill: "currentColor"
|
|
495
542
|
}
|
|
496
543
|
),
|
|
497
|
-
/* @__PURE__ */ (0,
|
|
544
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
498
545
|
"path",
|
|
499
546
|
{
|
|
500
547
|
d: "M12.2216 12.2218H12.7772H13.8883H14.4438V7.77734H13.8883H12.7772H12.2216V12.2218ZM15.555 12.4996C15.555 12.9598 15.1819 13.3329 14.7216 13.3329H13.8883H12.7772H11.9438L11.8587 13.3286C11.4384 13.2859 11.1105 12.931 11.1105 12.4996V7.49957C11.1105 7.03933 11.4836 6.66623 11.9438 6.66623H12.7772H13.8883H14.7216C15.1819 6.66623 15.555 7.03933 15.555 7.49957V12.4996Z",
|
|
501
548
|
fill: "currentColor"
|
|
502
549
|
}
|
|
503
550
|
),
|
|
504
|
-
/* @__PURE__ */ (0,
|
|
551
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
505
552
|
"path",
|
|
506
553
|
{
|
|
507
554
|
fillRule: "evenodd",
|
|
@@ -510,7 +557,7 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
510
557
|
fill: "currentColor"
|
|
511
558
|
}
|
|
512
559
|
),
|
|
513
|
-
/* @__PURE__ */ (0,
|
|
560
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
514
561
|
"path",
|
|
515
562
|
{
|
|
516
563
|
fillRule: "evenodd",
|
|
@@ -526,10 +573,10 @@ var ChartCandlestickIcon = (_a) => {
|
|
|
526
573
|
ChartCandlestickIcon.displayName = "ChartCandlestickIcon";
|
|
527
574
|
|
|
528
575
|
// src/primitives/icon/svg/chart-line.tsx
|
|
529
|
-
var
|
|
576
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
530
577
|
var ChartLineIcon = (_a) => {
|
|
531
578
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
532
|
-
return /* @__PURE__ */ (0,
|
|
579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
533
580
|
"svg",
|
|
534
581
|
__spreadProps(__spreadValues(__spreadValues({
|
|
535
582
|
viewBox: "0 0 20 20",
|
|
@@ -538,29 +585,29 @@ var ChartLineIcon = (_a) => {
|
|
|
538
585
|
className
|
|
539
586
|
}, getIconA11yProps(title)), props), {
|
|
540
587
|
children: [
|
|
541
|
-
title ? /* @__PURE__ */ (0,
|
|
542
|
-
/* @__PURE__ */ (0,
|
|
588
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("title", { children: title }) : null,
|
|
589
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
543
590
|
"path",
|
|
544
591
|
{
|
|
545
592
|
d: "M16.8875 5.37257C16.6712 5.28028 16.4321 5.25518 16.2012 5.29987C15.9703 5.34459 15.7582 5.45741 15.592 5.62376C15.4258 5.79009 15.3132 6.00218 15.2686 6.23303L13.8672 13.5068L12.6558 10.2527C12.5907 10.0785 12.4852 9.92156 12.3482 9.79586C12.2109 9.67003 12.0458 9.57864 11.8664 9.52893C11.6869 9.47923 11.4982 9.47263 11.3157 9.50995C11.1332 9.5473 10.9621 9.62754 10.8166 9.74378L10.5746 9.93692L9.56334 8.34566C9.44798 8.16423 9.28505 8.018 9.09242 7.92249C8.89973 7.82699 8.68443 7.78559 8.47014 7.80367C8.25577 7.8218 8.05005 7.89849 7.87606 8.02503C7.70218 8.15153 7.566 8.32319 7.48273 8.52145L5.72004 12.7207L4.79828 11.9937C4.55292 11.8004 4.24095 11.7125 3.93077 11.749C3.6205 11.7856 3.33728 11.9439 3.14356 12.189L3.14301 12.1884L1.51487 14.2539L1.51433 14.2533C1.41771 14.3762 1.37444 14.5327 1.3928 14.6879C1.41122 14.8432 1.49034 14.9849 1.61307 15.0818C1.7359 15.1787 1.89227 15.2232 2.04764 15.2049C2.20294 15.1867 2.34451 15.1073 2.44152 14.9847L4.06912 12.922L4.99196 13.65C5.13448 13.7623 5.30109 13.84 5.47861 13.8774C5.65618 13.9147 5.84005 13.9103 6.01572 13.8649C6.19141 13.8195 6.35425 13.734 6.49152 13.6153C6.62876 13.4966 6.73698 13.348 6.80728 13.1807L8.56942 8.98314L9.60349 10.6091L9.67239 10.7068C9.74621 10.8005 9.83393 10.8828 9.9328 10.9504C10.0647 11.0405 10.2139 11.1029 10.3706 11.1338C10.5273 11.1645 10.6887 11.1629 10.8448 11.1294C11.0009 11.0959 11.1486 11.0313 11.2788 10.939L11.574 10.7296L12.7637 13.9267C12.8534 14.1676 13.0193 14.3727 13.2363 14.5105C13.4532 14.6482 13.7094 14.7108 13.9654 14.6895C14.2216 14.6682 14.4638 14.564 14.655 14.3922C14.8462 14.2205 14.9759 13.9909 15.0245 13.7385L16.4264 6.46252L17.8749 8.70754C17.9169 8.77265 17.9713 8.82942 18.035 8.87355C18.0987 8.91771 18.1708 8.94885 18.2466 8.96524C18.3224 8.98163 18.4008 8.98293 18.4771 8.96904C18.5534 8.95514 18.6263 8.92644 18.6914 8.8844C18.7566 8.84235 18.8128 8.78762 18.8569 8.72381C18.901 8.66003 18.9323 8.58802 18.9486 8.51222C18.9649 8.43652 18.9658 8.35835 18.9519 8.28219C18.9379 8.20597 18.9093 8.13296 18.8672 8.06789L18.8667 8.06734L17.4154 5.81745C17.2879 5.61981 17.1039 5.46489 16.8875 5.37257Z",
|
|
546
593
|
fill: "currentColor"
|
|
547
594
|
}
|
|
548
595
|
),
|
|
549
|
-
/* @__PURE__ */ (0,
|
|
596
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
550
597
|
"path",
|
|
551
598
|
{
|
|
552
599
|
d: "M10.4631 11.4269C10.6099 11.4405 10.7584 11.4319 10.9032 11.4009C10.7102 11.4423 10.5107 11.444 10.3171 11.4059C10.2989 11.4023 10.2808 11.3984 10.2629 11.3941C10.1371 11.3644 10.0159 11.3181 9.90263 11.2565L9.90176 11.256C9.85881 11.2326 9.81699 11.207 9.77646 11.1793C9.61349 11.0679 9.47488 10.9245 9.36906 10.7579L8.62036 9.57988L7.06362 13.2878C6.97676 13.4945 6.8433 13.6785 6.67365 13.8252C6.5178 13.96 6.33528 14.06 6.13825 14.1189C6.12082 14.1241 6.10327 14.129 6.08561 14.1335C5.86846 14.1897 5.64128 14.1949 5.42179 14.1487C5.39778 14.1437 5.37392 14.1381 5.35025 14.1318C5.18457 14.0882 5.02788 14.0157 4.88746 13.9176L4.88406 13.9151C4.86239 13.8999 4.84111 13.884 4.82025 13.8676L4.1153 13.3115L2.65995 15.1565C2.51728 15.337 2.30878 15.4534 2.08028 15.4803C2.05174 15.4837 2.02319 15.4856 1.99471 15.4861L1.99468 15.4861C1.99469 15.4861 1.9947 15.4861 1.99471 15.4861L2.08028 15.4803C2.30878 15.4534 2.51728 15.337 2.65995 15.1565L4.1153 13.3115L4.82025 13.8676L4.88406 13.9151C5.02536 14.0144 5.18322 14.0878 5.35025 14.1318C5.37392 14.1381 5.39778 14.1437 5.42179 14.1487L5.50432 14.1634C5.67031 14.1884 5.83933 14.1846 6.004 14.152L6.08561 14.1335C6.10327 14.129 6.12082 14.1241 6.13825 14.1189C6.30842 14.068 6.46767 13.9862 6.60838 13.878L6.67365 13.8252C6.8433 13.6785 6.97676 13.4945 7.06362 13.2878L8.62036 9.57988L9.36906 10.7579C9.47488 10.9245 9.61349 11.0679 9.77646 11.1793L9.90176 11.256C10.0153 11.3178 10.1368 11.3643 10.2629 11.3941C10.2808 11.3984 10.2989 11.4023 10.3171 11.4059L10.4631 11.4269Z",
|
|
553
600
|
fill: "currentColor"
|
|
554
601
|
}
|
|
555
602
|
),
|
|
556
|
-
/* @__PURE__ */ (0,
|
|
603
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
557
604
|
"path",
|
|
558
605
|
{
|
|
559
606
|
d: "M1.99468 15.4861L1.99471 15.4861C1.9947 15.4861 1.99469 15.4861 1.99468 15.4861C1.9448 15.487 1.89515 15.4836 1.84626 15.476C1.77676 15.4653 1.7088 15.4461 1.64391 15.419C1.57189 15.3889 1.50366 15.3489 1.4413 15.2997C1.26066 15.1572 1.14397 14.9489 1.11688 14.7204C1.08979 14.4919 1.15451 14.262 1.29683 14.0812L2.92578 12.0162C2.94214 11.9955 2.95902 11.9753 2.97639 11.9556C3.18137 11.7233 3.45477 11.5625 3.75628 11.4963L3.76129 11.4955C3.80636 11.4857 3.85206 11.4781 3.89824 11.4727C4.2816 11.4275 4.66723 11.5362 4.97045 11.7751L5.60556 12.2759L7.22706 8.41378C7.23269 8.40038 7.23851 8.38707 7.24453 8.37387C7.34851 8.14561 7.50983 7.94784 7.71308 7.80002L7.63485 7.86132C7.46833 8.00075 7.33478 8.1758 7.24453 8.37387C7.23851 8.38707 7.23269 8.40038 7.22706 8.41378L5.60556 12.2759L4.97045 11.7751C4.66723 11.5362 4.2816 11.4275 3.89824 11.4727L3.76129 11.4955C3.4578 11.561 3.1825 11.722 2.97639 11.9556C2.95902 11.9753 2.94214 11.9955 2.92578 12.0162L1.29683 14.0812C1.15451 14.262 1.08979 14.4919 1.11688 14.7204L1.13151 14.8052C1.17449 15 1.28339 15.1751 1.4413 15.2997C1.50366 15.3489 1.57189 15.3889 1.64391 15.419C1.7088 15.4461 1.77676 15.4653 1.84626 15.476C1.89515 15.4836 1.9448 15.487 1.99468 15.4861Z",
|
|
560
607
|
fill: "currentColor"
|
|
561
608
|
}
|
|
562
609
|
),
|
|
563
|
-
/* @__PURE__ */ (0,
|
|
610
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
564
611
|
"path",
|
|
565
612
|
{
|
|
566
613
|
d: "M15.465 5.3617C15.6316 5.21547 15.8293 5.10915 16.043 5.05098L16.0463 5.05022C16.0801 5.04112 16.1142 5.03321 16.1487 5.02653C16.4341 4.97129 16.7295 5.00274 16.9968 5.11683C17.2642 5.23091 17.4913 5.42242 17.6488 5.66668L19.1004 7.91651C19.1624 8.01229 19.2049 8.11934 19.2254 8.23155C19.246 8.34375 19.2442 8.45891 19.2202 8.57043C19.1962 8.68195 19.1505 8.78765 19.0856 8.88149C19.0208 8.97533 18.9381 9.05546 18.8422 9.11731C18.7464 9.17916 18.6393 9.22151 18.527 9.24194C18.4148 9.26237 18.2997 9.26049 18.1882 9.23638C18.1777 9.23412 18.1673 9.23167 18.1569 9.22903C18.0845 9.21056 18.0147 9.18287 17.9495 9.14658L17.9474 9.14526C17.9233 9.13181 17.9 9.11721 17.8773 9.10148C17.8685 9.09539 17.8598 9.08915 17.8512 9.08276C17.7914 9.038 17.7376 8.98582 17.6912 8.9274L17.6886 8.92366C17.672 8.90248 17.6563 8.88051 17.6417 8.8578L17.6886 8.92366C17.7355 8.98354 17.7902 9.03705 17.8512 9.08276C17.8598 9.08915 17.8685 9.09539 17.8773 9.10148L17.9474 9.14526C18.0132 9.18215 18.0837 9.21033 18.1569 9.22903C18.1673 9.23167 18.1777 9.23412 18.1882 9.23638L18.2723 9.25021C18.3288 9.25672 18.3859 9.25758 18.4426 9.25292L18.527 9.24194C18.6393 9.22151 18.7464 9.17916 18.8422 9.11731C18.9381 9.05546 19.0208 8.97533 19.0856 8.88149C19.1505 8.78765 19.1962 8.68195 19.2202 8.57043C19.2442 8.45891 19.246 8.34375 19.2254 8.23155C19.2049 8.11934 19.1624 8.01229 19.1004 7.91651L17.6488 5.66668C17.4913 5.42242 17.2642 5.23091 16.9968 5.11683C16.7295 5.00274 16.4341 4.97129 16.1487 5.02653L16.0463 5.05022C15.8313 5.1082 15.6324 5.21475 15.465 5.3617Z",
|
|
@@ -574,10 +621,10 @@ var ChartLineIcon = (_a) => {
|
|
|
574
621
|
ChartLineIcon.displayName = "ChartLineIcon";
|
|
575
622
|
|
|
576
623
|
// src/primitives/icon/svg/chevron-down.tsx
|
|
577
|
-
var
|
|
624
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
578
625
|
var ChevronDownIcon = (_a) => {
|
|
579
626
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
580
|
-
return /* @__PURE__ */ (0,
|
|
627
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
581
628
|
"svg",
|
|
582
629
|
__spreadProps(__spreadValues(__spreadValues({
|
|
583
630
|
viewBox: "0 0 14 14",
|
|
@@ -585,8 +632,8 @@ var ChevronDownIcon = (_a) => {
|
|
|
585
632
|
fill: "none"
|
|
586
633
|
}, getIconA11yProps(title)), props), {
|
|
587
634
|
children: [
|
|
588
|
-
title ? /* @__PURE__ */ (0,
|
|
589
|
-
/* @__PURE__ */ (0,
|
|
635
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("title", { children: title }) : null,
|
|
636
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
590
637
|
"path",
|
|
591
638
|
{
|
|
592
639
|
d: "M3.25 5.25L7 9L10.75 5.25",
|
|
@@ -603,10 +650,10 @@ var ChevronDownIcon = (_a) => {
|
|
|
603
650
|
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
604
651
|
|
|
605
652
|
// src/primitives/icon/svg/chevron-left.tsx
|
|
606
|
-
var
|
|
653
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
607
654
|
var ChevronLeftIcon = (_a) => {
|
|
608
655
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
609
|
-
return /* @__PURE__ */ (0,
|
|
656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
610
657
|
"svg",
|
|
611
658
|
__spreadProps(__spreadValues(__spreadValues({
|
|
612
659
|
viewBox: "0 0 24 24",
|
|
@@ -614,8 +661,8 @@ var ChevronLeftIcon = (_a) => {
|
|
|
614
661
|
fill: "none"
|
|
615
662
|
}, getIconA11yProps(title)), props), {
|
|
616
663
|
children: [
|
|
617
|
-
title ? /* @__PURE__ */ (0,
|
|
618
|
-
/* @__PURE__ */ (0,
|
|
664
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: title }) : null,
|
|
665
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
619
666
|
"path",
|
|
620
667
|
{
|
|
621
668
|
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",
|
|
@@ -629,10 +676,10 @@ var ChevronLeftIcon = (_a) => {
|
|
|
629
676
|
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
630
677
|
|
|
631
678
|
// src/primitives/icon/svg/chevron-right.tsx
|
|
632
|
-
var
|
|
679
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
633
680
|
var ChevronRightIcon = (_a) => {
|
|
634
681
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
635
|
-
return /* @__PURE__ */ (0,
|
|
682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
636
683
|
"svg",
|
|
637
684
|
__spreadProps(__spreadValues(__spreadValues({
|
|
638
685
|
viewBox: "0 0 16 16",
|
|
@@ -640,8 +687,8 @@ var ChevronRightIcon = (_a) => {
|
|
|
640
687
|
fill: "none"
|
|
641
688
|
}, getIconA11yProps(title)), props), {
|
|
642
689
|
children: [
|
|
643
|
-
title ? /* @__PURE__ */ (0,
|
|
644
|
-
/* @__PURE__ */ (0,
|
|
690
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: title }) : null,
|
|
691
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
645
692
|
"path",
|
|
646
693
|
{
|
|
647
694
|
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",
|
|
@@ -655,10 +702,10 @@ var ChevronRightIcon = (_a) => {
|
|
|
655
702
|
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
656
703
|
|
|
657
704
|
// src/primitives/icon/svg/chevron-up.tsx
|
|
658
|
-
var
|
|
705
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
659
706
|
var ChevronUpIcon = (_a) => {
|
|
660
707
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
661
|
-
return /* @__PURE__ */ (0,
|
|
708
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
662
709
|
"svg",
|
|
663
710
|
__spreadProps(__spreadValues(__spreadValues({
|
|
664
711
|
viewBox: "0 0 14 14",
|
|
@@ -666,8 +713,8 @@ var ChevronUpIcon = (_a) => {
|
|
|
666
713
|
fill: "none"
|
|
667
714
|
}, getIconA11yProps(title)), props), {
|
|
668
715
|
children: [
|
|
669
|
-
title ? /* @__PURE__ */ (0,
|
|
670
|
-
/* @__PURE__ */ (0,
|
|
716
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
|
|
717
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
671
718
|
"path",
|
|
672
719
|
{
|
|
673
720
|
d: "M3.25 8.75L7 5L10.75 8.75",
|
|
@@ -684,10 +731,10 @@ var ChevronUpIcon = (_a) => {
|
|
|
684
731
|
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
685
732
|
|
|
686
733
|
// src/primitives/icon/svg/close.tsx
|
|
687
|
-
var
|
|
734
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
688
735
|
var CloseIcon = (_a) => {
|
|
689
736
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
690
|
-
return /* @__PURE__ */ (0,
|
|
737
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
691
738
|
"svg",
|
|
692
739
|
__spreadProps(__spreadValues(__spreadValues({
|
|
693
740
|
width: "16",
|
|
@@ -698,8 +745,8 @@ var CloseIcon = (_a) => {
|
|
|
698
745
|
className
|
|
699
746
|
}, getIconA11yProps(title)), props), {
|
|
700
747
|
children: [
|
|
701
|
-
title ? /* @__PURE__ */ (0,
|
|
702
|
-
/* @__PURE__ */ (0,
|
|
748
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
|
|
749
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
703
750
|
"path",
|
|
704
751
|
{
|
|
705
752
|
d: "M12 4L4 12M4 4l8 8",
|
|
@@ -716,10 +763,10 @@ var CloseIcon = (_a) => {
|
|
|
716
763
|
CloseIcon.displayName = "CloseIcon";
|
|
717
764
|
|
|
718
765
|
// src/primitives/icon/svg/copy.tsx
|
|
719
|
-
var
|
|
766
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
720
767
|
var CopyIcon = (_a) => {
|
|
721
768
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
722
|
-
return /* @__PURE__ */ (0,
|
|
769
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
723
770
|
"svg",
|
|
724
771
|
__spreadProps(__spreadValues(__spreadValues({
|
|
725
772
|
viewBox: "0 0 16 16",
|
|
@@ -727,15 +774,15 @@ var CopyIcon = (_a) => {
|
|
|
727
774
|
fill: "none"
|
|
728
775
|
}, getIconA11yProps(title)), props), {
|
|
729
776
|
children: [
|
|
730
|
-
title ? /* @__PURE__ */ (0,
|
|
731
|
-
/* @__PURE__ */ (0,
|
|
777
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: title }) : null,
|
|
778
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
732
779
|
"path",
|
|
733
780
|
{
|
|
734
781
|
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",
|
|
735
782
|
fill: "currentColor"
|
|
736
783
|
}
|
|
737
784
|
) }),
|
|
738
|
-
/* @__PURE__ */ (0,
|
|
785
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
739
786
|
]
|
|
740
787
|
})
|
|
741
788
|
);
|
|
@@ -743,10 +790,10 @@ var CopyIcon = (_a) => {
|
|
|
743
790
|
CopyIcon.displayName = "CopyIcon";
|
|
744
791
|
|
|
745
792
|
// src/primitives/icon/svg/create-account.tsx
|
|
746
|
-
var
|
|
793
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
747
794
|
var CreateAccountIcon = (_a) => {
|
|
748
795
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
749
|
-
return /* @__PURE__ */ (0,
|
|
796
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
750
797
|
"svg",
|
|
751
798
|
__spreadProps(__spreadValues(__spreadValues({
|
|
752
799
|
width: "28",
|
|
@@ -757,15 +804,15 @@ var CreateAccountIcon = (_a) => {
|
|
|
757
804
|
className
|
|
758
805
|
}, getIconA11yProps(title)), props), {
|
|
759
806
|
children: [
|
|
760
|
-
title ? /* @__PURE__ */ (0,
|
|
761
|
-
/* @__PURE__ */ (0,
|
|
807
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
|
|
808
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
762
809
|
"path",
|
|
763
810
|
{
|
|
764
811
|
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",
|
|
765
812
|
fill: "currentColor"
|
|
766
813
|
}
|
|
767
814
|
) }),
|
|
768
|
-
/* @__PURE__ */ (0,
|
|
815
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
769
816
|
]
|
|
770
817
|
})
|
|
771
818
|
);
|
|
@@ -773,10 +820,10 @@ var CreateAccountIcon = (_a) => {
|
|
|
773
820
|
CreateAccountIcon.displayName = "CreateAccountIcon";
|
|
774
821
|
|
|
775
822
|
// src/primitives/icon/svg/credit-card.tsx
|
|
776
|
-
var
|
|
823
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
777
824
|
var CreditCardIcon = (_a) => {
|
|
778
825
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
779
|
-
return /* @__PURE__ */ (0,
|
|
826
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
780
827
|
"svg",
|
|
781
828
|
__spreadProps(__spreadValues(__spreadValues({
|
|
782
829
|
viewBox: "0 0 24 24",
|
|
@@ -784,8 +831,8 @@ var CreditCardIcon = (_a) => {
|
|
|
784
831
|
fill: "none"
|
|
785
832
|
}, getIconA11yProps(title)), props), {
|
|
786
833
|
children: [
|
|
787
|
-
title ? /* @__PURE__ */ (0,
|
|
788
|
-
/* @__PURE__ */ (0,
|
|
834
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: title }) : null,
|
|
835
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
789
836
|
"path",
|
|
790
837
|
{
|
|
791
838
|
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",
|
|
@@ -799,10 +846,10 @@ var CreditCardIcon = (_a) => {
|
|
|
799
846
|
CreditCardIcon.displayName = "CreditCardIcon";
|
|
800
847
|
|
|
801
848
|
// src/primitives/icon/svg/disconnect.tsx
|
|
802
|
-
var
|
|
849
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
803
850
|
var DisconnectIcon = (_a) => {
|
|
804
851
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
805
|
-
return /* @__PURE__ */ (0,
|
|
852
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
806
853
|
"svg",
|
|
807
854
|
__spreadProps(__spreadValues(__spreadValues({
|
|
808
855
|
viewBox: "0 0 16 16",
|
|
@@ -810,8 +857,8 @@ var DisconnectIcon = (_a) => {
|
|
|
810
857
|
fill: "none"
|
|
811
858
|
}, getIconA11yProps(title)), props), {
|
|
812
859
|
children: [
|
|
813
|
-
title ? /* @__PURE__ */ (0,
|
|
814
|
-
/* @__PURE__ */ (0,
|
|
860
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: title }) : null,
|
|
861
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
815
862
|
"path",
|
|
816
863
|
{
|
|
817
864
|
d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
|
|
@@ -820,7 +867,7 @@ var DisconnectIcon = (_a) => {
|
|
|
820
867
|
strokeLinecap: "round"
|
|
821
868
|
}
|
|
822
869
|
),
|
|
823
|
-
/* @__PURE__ */ (0,
|
|
870
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
824
871
|
"path",
|
|
825
872
|
{
|
|
826
873
|
d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
|
|
@@ -837,10 +884,10 @@ var DisconnectIcon = (_a) => {
|
|
|
837
884
|
DisconnectIcon.displayName = "DisconnectIcon";
|
|
838
885
|
|
|
839
886
|
// src/primitives/icon/svg/dots-horizontal.tsx
|
|
840
|
-
var
|
|
887
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
841
888
|
var DotsHorizontalIcon = (_a) => {
|
|
842
889
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
843
|
-
return /* @__PURE__ */ (0,
|
|
890
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
844
891
|
"svg",
|
|
845
892
|
__spreadProps(__spreadValues(__spreadValues({
|
|
846
893
|
viewBox: "0 0 16 16",
|
|
@@ -848,10 +895,10 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
848
895
|
fill: "none"
|
|
849
896
|
}, getIconA11yProps(title)), props), {
|
|
850
897
|
children: [
|
|
851
|
-
title ? /* @__PURE__ */ (0,
|
|
852
|
-
/* @__PURE__ */ (0,
|
|
853
|
-
/* @__PURE__ */ (0,
|
|
854
|
-
/* @__PURE__ */ (0,
|
|
898
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: title }) : null,
|
|
899
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
900
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
901
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
|
|
855
902
|
]
|
|
856
903
|
})
|
|
857
904
|
);
|
|
@@ -859,10 +906,10 @@ var DotsHorizontalIcon = (_a) => {
|
|
|
859
906
|
DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
|
|
860
907
|
|
|
861
908
|
// src/primitives/icon/svg/document.tsx
|
|
862
|
-
var
|
|
909
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
863
910
|
var DocumentIcon = (_a) => {
|
|
864
911
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
865
|
-
return /* @__PURE__ */ (0,
|
|
912
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
866
913
|
"svg",
|
|
867
914
|
__spreadProps(__spreadValues(__spreadValues({
|
|
868
915
|
viewBox: "0 0 16 16",
|
|
@@ -870,15 +917,15 @@ var DocumentIcon = (_a) => {
|
|
|
870
917
|
fill: "none"
|
|
871
918
|
}, getIconA11yProps(title)), props), {
|
|
872
919
|
children: [
|
|
873
|
-
title ? /* @__PURE__ */ (0,
|
|
874
|
-
/* @__PURE__ */ (0,
|
|
920
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: title }) : null,
|
|
921
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
875
922
|
"path",
|
|
876
923
|
{
|
|
877
924
|
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",
|
|
878
925
|
fill: "currentColor"
|
|
879
926
|
}
|
|
880
927
|
) }),
|
|
881
|
-
/* @__PURE__ */ (0,
|
|
928
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("clipPath", { id: "document-clip", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
882
929
|
]
|
|
883
930
|
})
|
|
884
931
|
);
|
|
@@ -886,10 +933,10 @@ var DocumentIcon = (_a) => {
|
|
|
886
933
|
DocumentIcon.displayName = "DocumentIcon";
|
|
887
934
|
|
|
888
935
|
// src/primitives/icon/svg/download.tsx
|
|
889
|
-
var
|
|
936
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
890
937
|
var DownloadIcon = (_a) => {
|
|
891
938
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
892
|
-
return /* @__PURE__ */ (0,
|
|
939
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
893
940
|
"svg",
|
|
894
941
|
__spreadProps(__spreadValues(__spreadValues({
|
|
895
942
|
viewBox: "0 0 16 16",
|
|
@@ -897,8 +944,8 @@ var DownloadIcon = (_a) => {
|
|
|
897
944
|
fill: "none"
|
|
898
945
|
}, getIconA11yProps(title)), props), {
|
|
899
946
|
children: [
|
|
900
|
-
title ? /* @__PURE__ */ (0,
|
|
901
|
-
/* @__PURE__ */ (0,
|
|
947
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
|
|
948
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
902
949
|
"path",
|
|
903
950
|
{
|
|
904
951
|
d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
|
|
@@ -908,7 +955,7 @@ var DownloadIcon = (_a) => {
|
|
|
908
955
|
strokeLinejoin: "round"
|
|
909
956
|
}
|
|
910
957
|
),
|
|
911
|
-
/* @__PURE__ */ (0,
|
|
958
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
912
959
|
]
|
|
913
960
|
})
|
|
914
961
|
);
|
|
@@ -916,10 +963,10 @@ var DownloadIcon = (_a) => {
|
|
|
916
963
|
DownloadIcon.displayName = "DownloadIcon";
|
|
917
964
|
|
|
918
965
|
// src/primitives/icon/svg/error-filled.tsx
|
|
919
|
-
var
|
|
966
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
920
967
|
var ErrorFilledIcon = (_a) => {
|
|
921
968
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
922
|
-
return /* @__PURE__ */ (0,
|
|
969
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
923
970
|
"svg",
|
|
924
971
|
__spreadProps(__spreadValues(__spreadValues({
|
|
925
972
|
viewBox: "0 0 16 16",
|
|
@@ -927,10 +974,10 @@ var ErrorFilledIcon = (_a) => {
|
|
|
927
974
|
fill: "none"
|
|
928
975
|
}, getIconA11yProps(title)), props), {
|
|
929
976
|
children: [
|
|
930
|
-
title ? /* @__PURE__ */ (0,
|
|
931
|
-
/* @__PURE__ */ (0,
|
|
932
|
-
/* @__PURE__ */ (0,
|
|
933
|
-
/* @__PURE__ */ (0,
|
|
977
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: title }) : null,
|
|
978
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("circle", { cx: "8", cy: "8", r: "8", fill: "currentColor" }),
|
|
979
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("path", { d: "M8 4.16699V8.50033", stroke: "white", strokeWidth: "1.4", strokeLinecap: "round" }),
|
|
980
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("circle", { cx: "8", cy: "11.167", r: "0.833333", fill: "white" })
|
|
934
981
|
]
|
|
935
982
|
})
|
|
936
983
|
);
|
|
@@ -938,10 +985,10 @@ var ErrorFilledIcon = (_a) => {
|
|
|
938
985
|
ErrorFilledIcon.displayName = "ErrorFilledIcon";
|
|
939
986
|
|
|
940
987
|
// src/primitives/icon/svg/external-link.tsx
|
|
941
|
-
var
|
|
988
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
942
989
|
var ExternalLinkIcon = (_a) => {
|
|
943
990
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
944
|
-
return /* @__PURE__ */ (0,
|
|
991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
945
992
|
"svg",
|
|
946
993
|
__spreadProps(__spreadValues(__spreadValues({
|
|
947
994
|
viewBox: "0 0 14 14",
|
|
@@ -949,15 +996,15 @@ var ExternalLinkIcon = (_a) => {
|
|
|
949
996
|
fill: "none"
|
|
950
997
|
}, getIconA11yProps(title)), props), {
|
|
951
998
|
children: [
|
|
952
|
-
title ? /* @__PURE__ */ (0,
|
|
953
|
-
/* @__PURE__ */ (0,
|
|
999
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
|
|
1000
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
954
1001
|
"path",
|
|
955
1002
|
{
|
|
956
1003
|
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",
|
|
957
1004
|
fill: "currentColor"
|
|
958
1005
|
}
|
|
959
1006
|
) }),
|
|
960
|
-
/* @__PURE__ */ (0,
|
|
1007
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
961
1008
|
]
|
|
962
1009
|
})
|
|
963
1010
|
);
|
|
@@ -965,10 +1012,10 @@ var ExternalLinkIcon = (_a) => {
|
|
|
965
1012
|
ExternalLinkIcon.displayName = "ExternalLinkIcon";
|
|
966
1013
|
|
|
967
1014
|
// src/primitives/icon/svg/ethereum.tsx
|
|
968
|
-
var
|
|
1015
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
969
1016
|
var EthereumIcon = (_a) => {
|
|
970
1017
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
971
|
-
return /* @__PURE__ */ (0,
|
|
1018
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
972
1019
|
"svg",
|
|
973
1020
|
__spreadProps(__spreadValues(__spreadValues({
|
|
974
1021
|
viewBox: "0 0 24 24",
|
|
@@ -976,16 +1023,16 @@ var EthereumIcon = (_a) => {
|
|
|
976
1023
|
fill: "none"
|
|
977
1024
|
}, getIconA11yProps(title)), props), {
|
|
978
1025
|
children: [
|
|
979
|
-
title ? /* @__PURE__ */ (0,
|
|
980
|
-
/* @__PURE__ */ (0,
|
|
981
|
-
/* @__PURE__ */ (0,
|
|
1026
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
|
|
1027
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("rect", { width: "24", height: "24", rx: "8", fill: "#627EEA" }),
|
|
1028
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
982
1029
|
"path",
|
|
983
1030
|
{
|
|
984
1031
|
fill: "#fff",
|
|
985
1032
|
d: "M12.001 4.5 11.9 4.84v10.013l.101.101 4.646-2.747L12 4.5Zm0 0L7.355 12.207l4.646 2.747V4.5Zm0 11.401-.057.069v3.566l.057.164 4.649-6.039-4.649 2.74Zm0 3.799v-3.799l-4.646-2.74L12 19.7Z"
|
|
986
1033
|
}
|
|
987
1034
|
),
|
|
988
|
-
/* @__PURE__ */ (0,
|
|
1035
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
989
1036
|
"path",
|
|
990
1037
|
{
|
|
991
1038
|
fill: "#DDE4FF",
|
|
@@ -999,10 +1046,10 @@ var EthereumIcon = (_a) => {
|
|
|
999
1046
|
EthereumIcon.displayName = "EthereumIcon";
|
|
1000
1047
|
|
|
1001
1048
|
// src/primitives/icon/svg/google.tsx
|
|
1002
|
-
var
|
|
1049
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1003
1050
|
var GoogleIcon = (_a) => {
|
|
1004
1051
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1005
|
-
return /* @__PURE__ */ (0,
|
|
1052
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1006
1053
|
"svg",
|
|
1007
1054
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1008
1055
|
viewBox: "0 0 24 24",
|
|
@@ -1010,29 +1057,29 @@ var GoogleIcon = (_a) => {
|
|
|
1010
1057
|
fill: "none"
|
|
1011
1058
|
}, getIconA11yProps(title)), props), {
|
|
1012
1059
|
children: [
|
|
1013
|
-
title ? /* @__PURE__ */ (0,
|
|
1014
|
-
/* @__PURE__ */ (0,
|
|
1060
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
|
|
1061
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1015
1062
|
"path",
|
|
1016
1063
|
{
|
|
1017
1064
|
fill: "#4285F4",
|
|
1018
1065
|
d: "M23.49 12.27c0-.79-.07-1.55-.22-2.27H12v4.3h6.45a5.53 5.53 0 0 1-2.4 3.63v3.58h4.63c1.86-1.72 2.81-4.75 2.81-8.24Z"
|
|
1019
1066
|
}
|
|
1020
1067
|
),
|
|
1021
|
-
/* @__PURE__ */ (0,
|
|
1068
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1022
1069
|
"path",
|
|
1023
1070
|
{
|
|
1024
1071
|
fill: "#34A853",
|
|
1025
1072
|
d: "M12 24c3.24 0 5.96-1.08 7.95-2.92l-3.87-3c-1.08.73-2.46 1.17-4.08 1.17-3.13 0-5.79-2.11-6.73-4.96H1.28v3.09A11.998 11.998 0 0 0 12 24Z"
|
|
1026
1073
|
}
|
|
1027
1074
|
),
|
|
1028
|
-
/* @__PURE__ */ (0,
|
|
1075
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1029
1076
|
"path",
|
|
1030
1077
|
{
|
|
1031
1078
|
fill: "#FBBC05",
|
|
1032
1079
|
d: "M5.27 14.29A7.21 7.21 0 0 1 4.9 12c0-.79.14-1.55.37-2.29V6.62H1.28A12 12 0 0 0 0 12c0 1.94.46 3.78 1.28 5.38l3.99-3.09Z"
|
|
1033
1080
|
}
|
|
1034
1081
|
),
|
|
1035
|
-
/* @__PURE__ */ (0,
|
|
1082
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1036
1083
|
"path",
|
|
1037
1084
|
{
|
|
1038
1085
|
fill: "#EA4335",
|
|
@@ -1046,10 +1093,10 @@ var GoogleIcon = (_a) => {
|
|
|
1046
1093
|
GoogleIcon.displayName = "GoogleIcon";
|
|
1047
1094
|
|
|
1048
1095
|
// src/primitives/icon/svg/image.tsx
|
|
1049
|
-
var
|
|
1096
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1050
1097
|
var ImageIcon = (_a) => {
|
|
1051
1098
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1052
|
-
return /* @__PURE__ */ (0,
|
|
1099
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1053
1100
|
"svg",
|
|
1054
1101
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1055
1102
|
viewBox: "0 0 32 32",
|
|
@@ -1057,8 +1104,8 @@ var ImageIcon = (_a) => {
|
|
|
1057
1104
|
fill: "none"
|
|
1058
1105
|
}, getIconA11yProps(title)), props), {
|
|
1059
1106
|
children: [
|
|
1060
|
-
title ? /* @__PURE__ */ (0,
|
|
1061
|
-
/* @__PURE__ */ (0,
|
|
1107
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
|
|
1108
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1062
1109
|
"path",
|
|
1063
1110
|
{
|
|
1064
1111
|
d: "M30 2.497h-28c-1.099 0-2 0.901-2 2v23.006c0 1.099 0.9 2 2 2h28c1.099 0 2-0.901 2-2v-23.006c0-1.099-0.901-2-2-2zM30 27.503l-28-0v-5.892l8.027-7.779 8.275 8.265c0.341 0.414 0.948 0.361 1.379 0.035l3.652-3.306 6.587 6.762c0.025 0.025 0.053 0.044 0.080 0.065v1.85zM30 22.806l-5.876-6.013c-0.357-0.352-0.915-0.387-1.311-0.086l-3.768 3.282-8.28-8.19c-0.177-0.214-0.432-0.344-0.709-0.363-0.275-0.010-0.547 0.080-0.749 0.27l-7.309 7.112v-14.322h28v18.309zM23 12.504c1.102 0 1.995-0.894 1.995-1.995s-0.892-1.995-1.995-1.995-1.995 0.894-1.995 1.995c0 1.101 0.892 1.995 1.995 1.995z",
|
|
@@ -1072,10 +1119,10 @@ var ImageIcon = (_a) => {
|
|
|
1072
1119
|
ImageIcon.displayName = "ImageIcon";
|
|
1073
1120
|
|
|
1074
1121
|
// src/primitives/icon/svg/info.tsx
|
|
1075
|
-
var
|
|
1122
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1076
1123
|
var InfoIcon = (_a) => {
|
|
1077
1124
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1078
|
-
return /* @__PURE__ */ (0,
|
|
1125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1079
1126
|
"svg",
|
|
1080
1127
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1081
1128
|
viewBox: "0 0 12 12",
|
|
@@ -1083,23 +1130,23 @@ var InfoIcon = (_a) => {
|
|
|
1083
1130
|
fill: "none"
|
|
1084
1131
|
}, getIconA11yProps(title)), props), {
|
|
1085
1132
|
children: [
|
|
1086
|
-
title ? /* @__PURE__ */ (0,
|
|
1087
|
-
/* @__PURE__ */ (0,
|
|
1088
|
-
/* @__PURE__ */ (0,
|
|
1133
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
|
|
1134
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
1135
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1089
1136
|
"path",
|
|
1090
1137
|
{
|
|
1091
1138
|
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",
|
|
1092
1139
|
fill: "currentColor"
|
|
1093
1140
|
}
|
|
1094
1141
|
),
|
|
1095
|
-
/* @__PURE__ */ (0,
|
|
1142
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1096
1143
|
"path",
|
|
1097
1144
|
{
|
|
1098
1145
|
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",
|
|
1099
1146
|
fill: "currentColor"
|
|
1100
1147
|
}
|
|
1101
1148
|
),
|
|
1102
|
-
/* @__PURE__ */ (0,
|
|
1149
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1103
1150
|
"path",
|
|
1104
1151
|
{
|
|
1105
1152
|
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",
|
|
@@ -1107,7 +1154,7 @@ var InfoIcon = (_a) => {
|
|
|
1107
1154
|
}
|
|
1108
1155
|
)
|
|
1109
1156
|
] }),
|
|
1110
|
-
/* @__PURE__ */ (0,
|
|
1157
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
1111
1158
|
]
|
|
1112
1159
|
})
|
|
1113
1160
|
);
|
|
@@ -1122,10 +1169,10 @@ var iconSizeClasses = {
|
|
|
1122
1169
|
};
|
|
1123
1170
|
|
|
1124
1171
|
// src/primitives/icon/svg/check-badge.tsx
|
|
1125
|
-
var
|
|
1172
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1126
1173
|
var CheckBadgeIcon = (_a) => {
|
|
1127
1174
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1128
|
-
return /* @__PURE__ */ (0,
|
|
1175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1129
1176
|
"svg",
|
|
1130
1177
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1131
1178
|
viewBox: "0 0 16 16",
|
|
@@ -1133,15 +1180,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
1133
1180
|
fill: "none"
|
|
1134
1181
|
}, getIconA11yProps(title)), props), {
|
|
1135
1182
|
children: [
|
|
1136
|
-
title ? /* @__PURE__ */ (0,
|
|
1137
|
-
/* @__PURE__ */ (0,
|
|
1183
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
|
|
1184
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1138
1185
|
"path",
|
|
1139
1186
|
{
|
|
1140
1187
|
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",
|
|
1141
1188
|
fill: "currentColor"
|
|
1142
1189
|
}
|
|
1143
1190
|
) }),
|
|
1144
|
-
/* @__PURE__ */ (0,
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1145
1192
|
]
|
|
1146
1193
|
})
|
|
1147
1194
|
);
|
|
@@ -1149,10 +1196,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
1149
1196
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
1150
1197
|
|
|
1151
1198
|
// src/primitives/icon/svg/discord.tsx
|
|
1152
|
-
var
|
|
1199
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1153
1200
|
var DiscordIcon = (_a) => {
|
|
1154
1201
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1155
|
-
return /* @__PURE__ */ (0,
|
|
1202
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
1156
1203
|
"svg",
|
|
1157
1204
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1158
1205
|
viewBox: "0 0 20 20",
|
|
@@ -1160,8 +1207,8 @@ var DiscordIcon = (_a) => {
|
|
|
1160
1207
|
fill: "none"
|
|
1161
1208
|
}, getIconA11yProps(title)), props), {
|
|
1162
1209
|
children: [
|
|
1163
|
-
title ? /* @__PURE__ */ (0,
|
|
1164
|
-
/* @__PURE__ */ (0,
|
|
1210
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
|
|
1211
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1165
1212
|
"path",
|
|
1166
1213
|
{
|
|
1167
1214
|
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",
|
|
@@ -1175,10 +1222,10 @@ var DiscordIcon = (_a) => {
|
|
|
1175
1222
|
DiscordIcon.displayName = "DiscordIcon";
|
|
1176
1223
|
|
|
1177
1224
|
// src/primitives/icon/svg/email.tsx
|
|
1178
|
-
var
|
|
1225
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1179
1226
|
var EmailIcon = (_a) => {
|
|
1180
1227
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1181
|
-
return /* @__PURE__ */ (0,
|
|
1228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1182
1229
|
"svg",
|
|
1183
1230
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1184
1231
|
viewBox: "0 0 20 20",
|
|
@@ -1186,8 +1233,8 @@ var EmailIcon = (_a) => {
|
|
|
1186
1233
|
fill: "none"
|
|
1187
1234
|
}, getIconA11yProps(title)), props), {
|
|
1188
1235
|
children: [
|
|
1189
|
-
title ? /* @__PURE__ */ (0,
|
|
1190
|
-
/* @__PURE__ */ (0,
|
|
1236
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
|
|
1237
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1191
1238
|
"path",
|
|
1192
1239
|
{
|
|
1193
1240
|
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",
|
|
@@ -1197,7 +1244,7 @@ var EmailIcon = (_a) => {
|
|
|
1197
1244
|
strokeLinejoin: "round"
|
|
1198
1245
|
}
|
|
1199
1246
|
),
|
|
1200
|
-
/* @__PURE__ */ (0,
|
|
1247
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1201
1248
|
"path",
|
|
1202
1249
|
{
|
|
1203
1250
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -1214,10 +1261,10 @@ var EmailIcon = (_a) => {
|
|
|
1214
1261
|
EmailIcon.displayName = "EmailIcon";
|
|
1215
1262
|
|
|
1216
1263
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
1217
|
-
var
|
|
1264
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1218
1265
|
var LinkAccountsIcon = (_a) => {
|
|
1219
1266
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1220
|
-
return /* @__PURE__ */ (0,
|
|
1267
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
1221
1268
|
"svg",
|
|
1222
1269
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1223
1270
|
width: "28",
|
|
@@ -1228,15 +1275,15 @@ var LinkAccountsIcon = (_a) => {
|
|
|
1228
1275
|
className
|
|
1229
1276
|
}, getIconA11yProps(title)), props), {
|
|
1230
1277
|
children: [
|
|
1231
|
-
title ? /* @__PURE__ */ (0,
|
|
1232
|
-
/* @__PURE__ */ (0,
|
|
1278
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
|
|
1279
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1233
1280
|
"path",
|
|
1234
1281
|
{
|
|
1235
1282
|
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",
|
|
1236
1283
|
fill: "currentColor"
|
|
1237
1284
|
}
|
|
1238
1285
|
) }),
|
|
1239
|
-
/* @__PURE__ */ (0,
|
|
1286
|
+
/* @__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" }) }) })
|
|
1240
1287
|
]
|
|
1241
1288
|
})
|
|
1242
1289
|
);
|
|
@@ -1244,10 +1291,10 @@ var LinkAccountsIcon = (_a) => {
|
|
|
1244
1291
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
1245
1292
|
|
|
1246
1293
|
// src/primitives/icon/svg/pencil.tsx
|
|
1247
|
-
var
|
|
1294
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1248
1295
|
var PencilIcon = (_a) => {
|
|
1249
1296
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1250
|
-
return /* @__PURE__ */ (0,
|
|
1297
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1251
1298
|
"svg",
|
|
1252
1299
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1253
1300
|
viewBox: "0 0 16 16",
|
|
@@ -1255,15 +1302,15 @@ var PencilIcon = (_a) => {
|
|
|
1255
1302
|
fill: "none"
|
|
1256
1303
|
}, getIconA11yProps(title)), props), {
|
|
1257
1304
|
children: [
|
|
1258
|
-
title ? /* @__PURE__ */ (0,
|
|
1259
|
-
/* @__PURE__ */ (0,
|
|
1305
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: title }) : null,
|
|
1306
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1260
1307
|
"path",
|
|
1261
1308
|
{
|
|
1262
1309
|
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",
|
|
1263
1310
|
fill: "currentColor"
|
|
1264
1311
|
}
|
|
1265
1312
|
) }),
|
|
1266
|
-
/* @__PURE__ */ (0,
|
|
1313
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1267
1314
|
]
|
|
1268
1315
|
})
|
|
1269
1316
|
);
|
|
@@ -1271,10 +1318,10 @@ var PencilIcon = (_a) => {
|
|
|
1271
1318
|
PencilIcon.displayName = "PencilIcon";
|
|
1272
1319
|
|
|
1273
1320
|
// src/primitives/icon/svg/play-square.tsx
|
|
1274
|
-
var
|
|
1321
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1275
1322
|
var PlaySquareIcon = (_a) => {
|
|
1276
1323
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1277
|
-
return /* @__PURE__ */ (0,
|
|
1324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
1278
1325
|
"svg",
|
|
1279
1326
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1280
1327
|
viewBox: "0 0 16 16",
|
|
@@ -1282,26 +1329,53 @@ var PlaySquareIcon = (_a) => {
|
|
|
1282
1329
|
fill: "none"
|
|
1283
1330
|
}, getIconA11yProps(title)), props), {
|
|
1284
1331
|
children: [
|
|
1285
|
-
title ? /* @__PURE__ */ (0,
|
|
1286
|
-
/* @__PURE__ */ (0,
|
|
1332
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
|
|
1333
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1287
1334
|
"path",
|
|
1288
1335
|
{
|
|
1289
1336
|
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",
|
|
1290
1337
|
fill: "currentColor"
|
|
1291
1338
|
}
|
|
1292
1339
|
) }),
|
|
1293
|
-
/* @__PURE__ */ (0,
|
|
1340
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1294
1341
|
]
|
|
1295
1342
|
})
|
|
1296
1343
|
);
|
|
1297
1344
|
};
|
|
1298
1345
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
1299
1346
|
|
|
1347
|
+
// src/primitives/icon/svg/polygon.tsx
|
|
1348
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1349
|
+
var PolygonIcon = (_a) => {
|
|
1350
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1351
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
1352
|
+
"svg",
|
|
1353
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1354
|
+
viewBox: "0 0 24 24",
|
|
1355
|
+
className,
|
|
1356
|
+
fill: "none"
|
|
1357
|
+
}, getIconA11yProps(title)), props), {
|
|
1358
|
+
children: [
|
|
1359
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
|
|
1360
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("rect", { width: "24", height: "24", rx: "8", fill: "#8247E5" }),
|
|
1361
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1362
|
+
"path",
|
|
1363
|
+
{
|
|
1364
|
+
d: "M9.00108 10.1467L7.12599 9.05774L1.5 12.3246V18.836L7.12599 22.0919L12.752 18.836V8.70922L15.8729 6.90135L18.9938 8.70922V12.3246L15.8729 14.1325L13.9978 13.0435V15.9409L15.8729 17.0299L21.4989 13.774V7.26264L15.8729 4.00674L10.2469 7.26264V17.3894L7.12599 19.1973L4.00508 17.3894V13.7628L7.12599 11.955L9.00108 13.0435V10.1467Z",
|
|
1365
|
+
fill: "white"
|
|
1366
|
+
}
|
|
1367
|
+
)
|
|
1368
|
+
]
|
|
1369
|
+
})
|
|
1370
|
+
);
|
|
1371
|
+
};
|
|
1372
|
+
PolygonIcon.displayName = "PolygonIcon";
|
|
1373
|
+
|
|
1300
1374
|
// src/primitives/icon/svg/profile.tsx
|
|
1301
|
-
var
|
|
1375
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1302
1376
|
var ProfileIcon = (_a) => {
|
|
1303
1377
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1304
|
-
return /* @__PURE__ */ (0,
|
|
1378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
1305
1379
|
"svg",
|
|
1306
1380
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1307
1381
|
viewBox: "0 0 21 28",
|
|
@@ -1309,8 +1383,8 @@ var ProfileIcon = (_a) => {
|
|
|
1309
1383
|
fill: "none"
|
|
1310
1384
|
}, getIconA11yProps(title)), props), {
|
|
1311
1385
|
children: [
|
|
1312
|
-
title ? /* @__PURE__ */ (0,
|
|
1313
|
-
/* @__PURE__ */ (0,
|
|
1386
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
|
|
1387
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1314
1388
|
"path",
|
|
1315
1389
|
{
|
|
1316
1390
|
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",
|
|
@@ -1324,10 +1398,10 @@ var ProfileIcon = (_a) => {
|
|
|
1324
1398
|
ProfileIcon.displayName = "ProfileIcon";
|
|
1325
1399
|
|
|
1326
1400
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
1327
|
-
var
|
|
1401
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1328
1402
|
var RevenueAltIcon = (_a) => {
|
|
1329
1403
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1330
|
-
return /* @__PURE__ */ (0,
|
|
1404
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
1331
1405
|
"svg",
|
|
1332
1406
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1333
1407
|
viewBox: "0 0 20 20",
|
|
@@ -1335,8 +1409,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
1335
1409
|
fill: "none"
|
|
1336
1410
|
}, getIconA11yProps(title)), props), {
|
|
1337
1411
|
children: [
|
|
1338
|
-
title ? /* @__PURE__ */ (0,
|
|
1339
|
-
/* @__PURE__ */ (0,
|
|
1412
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
|
|
1413
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1340
1414
|
"path",
|
|
1341
1415
|
{
|
|
1342
1416
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -1346,7 +1420,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
1346
1420
|
strokeLinejoin: "round"
|
|
1347
1421
|
}
|
|
1348
1422
|
),
|
|
1349
|
-
/* @__PURE__ */ (0,
|
|
1423
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
1350
1424
|
"path",
|
|
1351
1425
|
{
|
|
1352
1426
|
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",
|
|
@@ -1363,10 +1437,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
1363
1437
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
1364
1438
|
|
|
1365
1439
|
// src/primitives/icon/svg/search.tsx
|
|
1366
|
-
var
|
|
1440
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1367
1441
|
var SearchIcon = (_a) => {
|
|
1368
1442
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1369
|
-
return /* @__PURE__ */ (0,
|
|
1443
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1370
1444
|
"svg",
|
|
1371
1445
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1372
1446
|
viewBox: "0 0 16 16",
|
|
@@ -1375,8 +1449,8 @@ var SearchIcon = (_a) => {
|
|
|
1375
1449
|
className
|
|
1376
1450
|
}, getIconA11yProps(title)), props), {
|
|
1377
1451
|
children: [
|
|
1378
|
-
title ? /* @__PURE__ */ (0,
|
|
1379
|
-
/* @__PURE__ */ (0,
|
|
1452
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
|
|
1453
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1380
1454
|
"path",
|
|
1381
1455
|
{
|
|
1382
1456
|
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",
|
|
@@ -1386,7 +1460,7 @@ var SearchIcon = (_a) => {
|
|
|
1386
1460
|
strokeLinejoin: "round"
|
|
1387
1461
|
}
|
|
1388
1462
|
),
|
|
1389
|
-
/* @__PURE__ */ (0,
|
|
1463
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1390
1464
|
"path",
|
|
1391
1465
|
{
|
|
1392
1466
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -1403,10 +1477,10 @@ var SearchIcon = (_a) => {
|
|
|
1403
1477
|
SearchIcon.displayName = "SearchIcon";
|
|
1404
1478
|
|
|
1405
1479
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
1406
|
-
var
|
|
1480
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1407
1481
|
var ShieldTrustIcon = (_a) => {
|
|
1408
1482
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1409
|
-
return /* @__PURE__ */ (0,
|
|
1483
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1410
1484
|
"svg",
|
|
1411
1485
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1412
1486
|
viewBox: "0 0 16 16",
|
|
@@ -1414,15 +1488,15 @@ var ShieldTrustIcon = (_a) => {
|
|
|
1414
1488
|
fill: "none"
|
|
1415
1489
|
}, getIconA11yProps(title)), props), {
|
|
1416
1490
|
children: [
|
|
1417
|
-
title ? /* @__PURE__ */ (0,
|
|
1418
|
-
/* @__PURE__ */ (0,
|
|
1491
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
|
|
1492
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1419
1493
|
"path",
|
|
1420
1494
|
{
|
|
1421
1495
|
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",
|
|
1422
1496
|
fill: "currentColor"
|
|
1423
1497
|
}
|
|
1424
1498
|
),
|
|
1425
|
-
/* @__PURE__ */ (0,
|
|
1499
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1426
1500
|
"path",
|
|
1427
1501
|
{
|
|
1428
1502
|
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
@@ -1439,10 +1513,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
1439
1513
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
1440
1514
|
|
|
1441
1515
|
// src/primitives/icon/svg/solana.tsx
|
|
1442
|
-
var
|
|
1516
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1443
1517
|
var SolanaIcon = (_a) => {
|
|
1444
1518
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1445
|
-
return /* @__PURE__ */ (0,
|
|
1519
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
1446
1520
|
"svg",
|
|
1447
1521
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1448
1522
|
viewBox: "0 0 24 24",
|
|
@@ -1450,31 +1524,31 @@ var SolanaIcon = (_a) => {
|
|
|
1450
1524
|
fill: "none"
|
|
1451
1525
|
}, getIconA11yProps(title)), props), {
|
|
1452
1526
|
children: [
|
|
1453
|
-
title ? /* @__PURE__ */ (0,
|
|
1454
|
-
/* @__PURE__ */ (0,
|
|
1455
|
-
/* @__PURE__ */ (0,
|
|
1527
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
|
|
1528
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("rect", { width: "24", height: "24", rx: "8", fill: "#020205" }),
|
|
1529
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1456
1530
|
"path",
|
|
1457
1531
|
{
|
|
1458
1532
|
fill: "url(#agg-solana-gradient-top)",
|
|
1459
1533
|
d: "M8.351 6.163A1.57 1.57 0 0 1 9.463 5.7h8.208c.699 0 1.048.844.554 1.338l-2.576 2.576a1.57 1.57 0 0 1-1.11.46H6.33c-.699 0-1.048-.844-.554-1.338L8.35 6.163Z"
|
|
1460
1534
|
}
|
|
1461
1535
|
),
|
|
1462
|
-
/* @__PURE__ */ (0,
|
|
1536
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1463
1537
|
"path",
|
|
1464
1538
|
{
|
|
1465
1539
|
fill: "url(#agg-solana-gradient-middle)",
|
|
1466
1540
|
d: "M8.351 13.926a1.57 1.57 0 0 1 1.112-.463h8.208c.699 0 1.048.844.554 1.338l-2.576 2.576a1.57 1.57 0 0 1-1.11.46H6.33c-.699 0-1.048-.844-.554-1.338l2.576-2.573Z"
|
|
1467
1541
|
}
|
|
1468
1542
|
),
|
|
1469
|
-
/* @__PURE__ */ (0,
|
|
1543
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1470
1544
|
"path",
|
|
1471
1545
|
{
|
|
1472
1546
|
fill: "url(#agg-solana-gradient-bottom)",
|
|
1473
1547
|
d: "M18.225 10.89a1.57 1.57 0 0 1-1.112.462H8.905c-.699 0-1.048-.845-.554-1.339L10.927 7.44a1.57 1.57 0 0 1 1.11-.46h8.208c.699 0 1.048.844.554 1.338L18.225 10.89Z"
|
|
1474
1548
|
}
|
|
1475
1549
|
),
|
|
1476
|
-
/* @__PURE__ */ (0,
|
|
1477
|
-
/* @__PURE__ */ (0,
|
|
1550
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("defs", { children: [
|
|
1551
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
1478
1552
|
"linearGradient",
|
|
1479
1553
|
{
|
|
1480
1554
|
id: "agg-solana-gradient-top",
|
|
@@ -1484,12 +1558,12 @@ var SolanaIcon = (_a) => {
|
|
|
1484
1558
|
y2: "17.476",
|
|
1485
1559
|
gradientUnits: "userSpaceOnUse",
|
|
1486
1560
|
children: [
|
|
1487
|
-
/* @__PURE__ */ (0,
|
|
1488
|
-
/* @__PURE__ */ (0,
|
|
1561
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
1562
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
1489
1563
|
]
|
|
1490
1564
|
}
|
|
1491
1565
|
),
|
|
1492
|
-
/* @__PURE__ */ (0,
|
|
1566
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
1493
1567
|
"linearGradient",
|
|
1494
1568
|
{
|
|
1495
1569
|
id: "agg-solana-gradient-middle",
|
|
@@ -1499,12 +1573,12 @@ var SolanaIcon = (_a) => {
|
|
|
1499
1573
|
y2: "21.238",
|
|
1500
1574
|
gradientUnits: "userSpaceOnUse",
|
|
1501
1575
|
children: [
|
|
1502
|
-
/* @__PURE__ */ (0,
|
|
1503
|
-
/* @__PURE__ */ (0,
|
|
1576
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
1577
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
1504
1578
|
]
|
|
1505
1579
|
}
|
|
1506
1580
|
),
|
|
1507
|
-
/* @__PURE__ */ (0,
|
|
1581
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
1508
1582
|
"linearGradient",
|
|
1509
1583
|
{
|
|
1510
1584
|
id: "agg-solana-gradient-bottom",
|
|
@@ -1514,8 +1588,8 @@ var SolanaIcon = (_a) => {
|
|
|
1514
1588
|
y2: "19.359",
|
|
1515
1589
|
gradientUnits: "userSpaceOnUse",
|
|
1516
1590
|
children: [
|
|
1517
|
-
/* @__PURE__ */ (0,
|
|
1518
|
-
/* @__PURE__ */ (0,
|
|
1591
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { stopColor: "#4BF0B8" }),
|
|
1592
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("stop", { offset: "1", stopColor: "#B44CF4" })
|
|
1519
1593
|
]
|
|
1520
1594
|
}
|
|
1521
1595
|
)
|
|
@@ -1527,10 +1601,10 @@ var SolanaIcon = (_a) => {
|
|
|
1527
1601
|
SolanaIcon.displayName = "SolanaIcon";
|
|
1528
1602
|
|
|
1529
1603
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
1530
|
-
var
|
|
1604
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1531
1605
|
var StayInControlIcon = (_a) => {
|
|
1532
1606
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1533
|
-
return /* @__PURE__ */ (0,
|
|
1607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
1534
1608
|
"svg",
|
|
1535
1609
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1536
1610
|
width: "28",
|
|
@@ -1541,16 +1615,16 @@ var StayInControlIcon = (_a) => {
|
|
|
1541
1615
|
className
|
|
1542
1616
|
}, getIconA11yProps(title)), props), {
|
|
1543
1617
|
children: [
|
|
1544
|
-
title ? /* @__PURE__ */ (0,
|
|
1545
|
-
/* @__PURE__ */ (0,
|
|
1546
|
-
/* @__PURE__ */ (0,
|
|
1618
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: title }) : null,
|
|
1619
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
1620
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1547
1621
|
"path",
|
|
1548
1622
|
{
|
|
1549
1623
|
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",
|
|
1550
1624
|
fill: "currentColor"
|
|
1551
1625
|
}
|
|
1552
1626
|
),
|
|
1553
|
-
/* @__PURE__ */ (0,
|
|
1627
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1554
1628
|
"path",
|
|
1555
1629
|
{
|
|
1556
1630
|
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",
|
|
@@ -1558,18 +1632,47 @@ var StayInControlIcon = (_a) => {
|
|
|
1558
1632
|
}
|
|
1559
1633
|
)
|
|
1560
1634
|
] }),
|
|
1561
|
-
/* @__PURE__ */ (0,
|
|
1635
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1562
1636
|
]
|
|
1563
1637
|
})
|
|
1564
1638
|
);
|
|
1565
1639
|
};
|
|
1566
1640
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
1567
1641
|
|
|
1642
|
+
// src/primitives/icon/svg/success-check.tsx
|
|
1643
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1644
|
+
var SuccessCheckIcon = (_a) => {
|
|
1645
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
1647
|
+
"svg",
|
|
1648
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
1649
|
+
width: "24",
|
|
1650
|
+
height: "24",
|
|
1651
|
+
viewBox: "0 0 24 24",
|
|
1652
|
+
fill: "none",
|
|
1653
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1654
|
+
className
|
|
1655
|
+
}, getIconA11yProps(title)), props), {
|
|
1656
|
+
children: [
|
|
1657
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("title", { children: title }) : null,
|
|
1658
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1659
|
+
"path",
|
|
1660
|
+
{
|
|
1661
|
+
d: "M7.74919 20.6626C7.06793 20.6629 6.41457 20.3921 5.93325 19.91L0.443061 14.4219C-0.147687 13.8309 -0.147687 12.873 0.443061 12.2821C1.034 11.6913 1.99191 11.6913 2.58284 12.2821L7.74919 17.4484L21.4172 3.78046C22.0081 3.18972 22.966 3.18972 23.5569 3.78046C24.1477 4.3714 24.1477 5.32931 23.5569 5.92024L9.56513 19.91C9.08381 20.3921 8.43045 20.6629 7.74919 20.6626Z",
|
|
1662
|
+
fill: "currentColor"
|
|
1663
|
+
}
|
|
1664
|
+
)
|
|
1665
|
+
]
|
|
1666
|
+
})
|
|
1667
|
+
);
|
|
1668
|
+
};
|
|
1669
|
+
SuccessCheckIcon.displayName = "SuccessCheckIcon";
|
|
1670
|
+
|
|
1568
1671
|
// src/primitives/icon/svg/telegram.tsx
|
|
1569
|
-
var
|
|
1672
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1570
1673
|
var TelegramIcon = (_a) => {
|
|
1571
1674
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1572
|
-
return /* @__PURE__ */ (0,
|
|
1675
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
1573
1676
|
"svg",
|
|
1574
1677
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1575
1678
|
viewBox: "0 0 20 20",
|
|
@@ -1577,8 +1680,8 @@ var TelegramIcon = (_a) => {
|
|
|
1577
1680
|
fill: "none"
|
|
1578
1681
|
}, getIconA11yProps(title)), props), {
|
|
1579
1682
|
children: [
|
|
1580
|
-
title ? /* @__PURE__ */ (0,
|
|
1581
|
-
/* @__PURE__ */ (0,
|
|
1683
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("title", { children: title }) : null,
|
|
1684
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1582
1685
|
"path",
|
|
1583
1686
|
{
|
|
1584
1687
|
fillRule: "evenodd",
|
|
@@ -1587,7 +1690,7 @@ var TelegramIcon = (_a) => {
|
|
|
1587
1690
|
fill: "currentColor"
|
|
1588
1691
|
}
|
|
1589
1692
|
) }),
|
|
1590
|
-
/* @__PURE__ */ (0,
|
|
1693
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
1591
1694
|
]
|
|
1592
1695
|
})
|
|
1593
1696
|
);
|
|
@@ -1595,10 +1698,10 @@ var TelegramIcon = (_a) => {
|
|
|
1595
1698
|
TelegramIcon.displayName = "TelegramIcon";
|
|
1596
1699
|
|
|
1597
1700
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
1598
|
-
var
|
|
1701
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1599
1702
|
var TriangleDownIcon = (_a) => {
|
|
1600
1703
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1601
|
-
return /* @__PURE__ */ (0,
|
|
1704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
1602
1705
|
"svg",
|
|
1603
1706
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1604
1707
|
viewBox: "0 0 8 8",
|
|
@@ -1606,16 +1709,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
1606
1709
|
fill: "none"
|
|
1607
1710
|
}, getIconA11yProps(title)), props), {
|
|
1608
1711
|
children: [
|
|
1609
|
-
title ? /* @__PURE__ */ (0,
|
|
1610
|
-
/* @__PURE__ */ (0,
|
|
1611
|
-
/* @__PURE__ */ (0,
|
|
1712
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
|
|
1713
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
1714
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1612
1715
|
"path",
|
|
1613
1716
|
{
|
|
1614
1717
|
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",
|
|
1615
1718
|
fill: "currentColor"
|
|
1616
1719
|
}
|
|
1617
1720
|
),
|
|
1618
|
-
/* @__PURE__ */ (0,
|
|
1721
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1619
1722
|
"path",
|
|
1620
1723
|
{
|
|
1621
1724
|
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",
|
|
@@ -1623,7 +1726,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
1623
1726
|
}
|
|
1624
1727
|
)
|
|
1625
1728
|
] }),
|
|
1626
|
-
/* @__PURE__ */ (0,
|
|
1729
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
1627
1730
|
]
|
|
1628
1731
|
})
|
|
1629
1732
|
);
|
|
@@ -1631,10 +1734,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
1631
1734
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
1632
1735
|
|
|
1633
1736
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
1634
|
-
var
|
|
1737
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1635
1738
|
var TriangleUpFilledIcon = (_a) => {
|
|
1636
1739
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1637
|
-
return /* @__PURE__ */ (0,
|
|
1740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
1638
1741
|
"svg",
|
|
1639
1742
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1640
1743
|
viewBox: "0 0 8 8",
|
|
@@ -1642,8 +1745,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
1642
1745
|
fill: "none"
|
|
1643
1746
|
}, getIconA11yProps(title)), props), {
|
|
1644
1747
|
children: [
|
|
1645
|
-
title ? /* @__PURE__ */ (0,
|
|
1646
|
-
/* @__PURE__ */ (0,
|
|
1748
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
|
|
1749
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
1647
1750
|
"path",
|
|
1648
1751
|
{
|
|
1649
1752
|
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",
|
|
@@ -1657,10 +1760,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
1657
1760
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
1658
1761
|
|
|
1659
1762
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
1660
|
-
var
|
|
1763
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1661
1764
|
var TriangleUpIcon = (_a) => {
|
|
1662
1765
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1663
|
-
return /* @__PURE__ */ (0,
|
|
1766
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
1664
1767
|
"svg",
|
|
1665
1768
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1666
1769
|
viewBox: "0 0 8 8",
|
|
@@ -1668,16 +1771,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
1668
1771
|
fill: "none"
|
|
1669
1772
|
}, getIconA11yProps(title)), props), {
|
|
1670
1773
|
children: [
|
|
1671
|
-
title ? /* @__PURE__ */ (0,
|
|
1672
|
-
/* @__PURE__ */ (0,
|
|
1673
|
-
/* @__PURE__ */ (0,
|
|
1774
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
|
|
1775
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
1776
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1674
1777
|
"path",
|
|
1675
1778
|
{
|
|
1676
1779
|
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",
|
|
1677
1780
|
fill: "currentColor"
|
|
1678
1781
|
}
|
|
1679
1782
|
),
|
|
1680
|
-
/* @__PURE__ */ (0,
|
|
1783
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1681
1784
|
"path",
|
|
1682
1785
|
{
|
|
1683
1786
|
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",
|
|
@@ -1685,7 +1788,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
1685
1788
|
}
|
|
1686
1789
|
)
|
|
1687
1790
|
] }),
|
|
1688
|
-
/* @__PURE__ */ (0,
|
|
1791
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
1689
1792
|
]
|
|
1690
1793
|
})
|
|
1691
1794
|
);
|
|
@@ -1693,10 +1796,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
1693
1796
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
1694
1797
|
|
|
1695
1798
|
// src/primitives/icon/svg/twitter.tsx
|
|
1696
|
-
var
|
|
1799
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1697
1800
|
var TwitterIcon = (_a) => {
|
|
1698
1801
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1699
|
-
return /* @__PURE__ */ (0,
|
|
1802
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1700
1803
|
"svg",
|
|
1701
1804
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1702
1805
|
viewBox: "0 0 20 20",
|
|
@@ -1704,8 +1807,8 @@ var TwitterIcon = (_a) => {
|
|
|
1704
1807
|
fill: "none"
|
|
1705
1808
|
}, getIconA11yProps(title)), props), {
|
|
1706
1809
|
children: [
|
|
1707
|
-
title ? /* @__PURE__ */ (0,
|
|
1708
|
-
/* @__PURE__ */ (0,
|
|
1810
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
|
|
1811
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1709
1812
|
"path",
|
|
1710
1813
|
{
|
|
1711
1814
|
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",
|
|
@@ -1719,10 +1822,10 @@ var TwitterIcon = (_a) => {
|
|
|
1719
1822
|
TwitterIcon.displayName = "TwitterIcon";
|
|
1720
1823
|
|
|
1721
1824
|
// src/primitives/icon/svg/upload.tsx
|
|
1722
|
-
var
|
|
1825
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1723
1826
|
var UploadIcon = (_a) => {
|
|
1724
1827
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1725
|
-
return /* @__PURE__ */ (0,
|
|
1828
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
1726
1829
|
"svg",
|
|
1727
1830
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1728
1831
|
viewBox: "0 0 16 16",
|
|
@@ -1730,8 +1833,8 @@ var UploadIcon = (_a) => {
|
|
|
1730
1833
|
fill: "none"
|
|
1731
1834
|
}, getIconA11yProps(title)), props), {
|
|
1732
1835
|
children: [
|
|
1733
|
-
title ? /* @__PURE__ */ (0,
|
|
1734
|
-
/* @__PURE__ */ (0,
|
|
1836
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: title }) : null,
|
|
1837
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1735
1838
|
"path",
|
|
1736
1839
|
{
|
|
1737
1840
|
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
@@ -1741,7 +1844,7 @@ var UploadIcon = (_a) => {
|
|
|
1741
1844
|
strokeLinejoin: "round"
|
|
1742
1845
|
}
|
|
1743
1846
|
),
|
|
1744
|
-
/* @__PURE__ */ (0,
|
|
1847
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
1745
1848
|
]
|
|
1746
1849
|
})
|
|
1747
1850
|
);
|
|
@@ -1749,10 +1852,10 @@ var UploadIcon = (_a) => {
|
|
|
1749
1852
|
UploadIcon.displayName = "UploadIcon";
|
|
1750
1853
|
|
|
1751
1854
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
1752
|
-
var
|
|
1855
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1753
1856
|
function WalletAvatarIcon(_a) {
|
|
1754
1857
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1755
|
-
return /* @__PURE__ */ (0,
|
|
1858
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
1756
1859
|
"svg",
|
|
1757
1860
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1758
1861
|
fill: "none",
|
|
@@ -1760,9 +1863,9 @@ function WalletAvatarIcon(_a) {
|
|
|
1760
1863
|
viewBox: "0 0 16 16"
|
|
1761
1864
|
}, getIconA11yProps(title)), props), {
|
|
1762
1865
|
children: [
|
|
1763
|
-
title ? /* @__PURE__ */ (0,
|
|
1764
|
-
/* @__PURE__ */ (0,
|
|
1765
|
-
/* @__PURE__ */ (0,
|
|
1866
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: title }) : null,
|
|
1867
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
1868
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
1766
1869
|
]
|
|
1767
1870
|
})
|
|
1768
1871
|
);
|
|
@@ -1770,10 +1873,10 @@ function WalletAvatarIcon(_a) {
|
|
|
1770
1873
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
1771
1874
|
|
|
1772
1875
|
// src/primitives/icon/svg/wallet.tsx
|
|
1773
|
-
var
|
|
1876
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1774
1877
|
var WalletIcon = (_a) => {
|
|
1775
1878
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1776
|
-
return /* @__PURE__ */ (0,
|
|
1879
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
1777
1880
|
"svg",
|
|
1778
1881
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1779
1882
|
viewBox: "0 0 24 24",
|
|
@@ -1781,8 +1884,8 @@ var WalletIcon = (_a) => {
|
|
|
1781
1884
|
fill: "none"
|
|
1782
1885
|
}, getIconA11yProps(title)), props), {
|
|
1783
1886
|
children: [
|
|
1784
|
-
title ? /* @__PURE__ */ (0,
|
|
1785
|
-
/* @__PURE__ */ (0,
|
|
1887
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("title", { children: title }) : null,
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1786
1889
|
"path",
|
|
1787
1890
|
{
|
|
1788
1891
|
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",
|
|
@@ -1796,10 +1899,10 @@ var WalletIcon = (_a) => {
|
|
|
1796
1899
|
WalletIcon.displayName = "WalletIcon";
|
|
1797
1900
|
|
|
1798
1901
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
1799
|
-
var
|
|
1902
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1800
1903
|
var WarningFilledIcon = (_a) => {
|
|
1801
1904
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1802
|
-
return /* @__PURE__ */ (0,
|
|
1905
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
1803
1906
|
"svg",
|
|
1804
1907
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1805
1908
|
viewBox: "0 0 16 16",
|
|
@@ -1807,8 +1910,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
1807
1910
|
fill: "none"
|
|
1808
1911
|
}, getIconA11yProps(title)), props), {
|
|
1809
1912
|
children: [
|
|
1810
|
-
title ? /* @__PURE__ */ (0,
|
|
1811
|
-
/* @__PURE__ */ (0,
|
|
1913
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("title", { children: title }) : null,
|
|
1914
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
1812
1915
|
"path",
|
|
1813
1916
|
{
|
|
1814
1917
|
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",
|
|
@@ -1822,10 +1925,10 @@ var WarningFilledIcon = (_a) => {
|
|
|
1822
1925
|
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
1823
1926
|
|
|
1824
1927
|
// src/primitives/icon/svg/warning.tsx
|
|
1825
|
-
var
|
|
1928
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
1826
1929
|
var WarningIcon = (_a) => {
|
|
1827
1930
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1828
|
-
return /* @__PURE__ */ (0,
|
|
1931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
1829
1932
|
"svg",
|
|
1830
1933
|
__spreadProps(__spreadValues(__spreadValues({
|
|
1831
1934
|
width: "14",
|
|
@@ -1836,15 +1939,15 @@ var WarningIcon = (_a) => {
|
|
|
1836
1939
|
className
|
|
1837
1940
|
}, getIconA11yProps(title)), props), {
|
|
1838
1941
|
children: [
|
|
1839
|
-
title ? /* @__PURE__ */ (0,
|
|
1840
|
-
/* @__PURE__ */ (0,
|
|
1942
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("title", { children: title }) : null,
|
|
1943
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
1841
1944
|
"path",
|
|
1842
1945
|
{
|
|
1843
1946
|
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",
|
|
1844
1947
|
fill: "currentColor"
|
|
1845
1948
|
}
|
|
1846
1949
|
) }),
|
|
1847
|
-
/* @__PURE__ */ (0,
|
|
1950
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
1848
1951
|
]
|
|
1849
1952
|
})
|
|
1850
1953
|
);
|
|
@@ -1858,6 +1961,7 @@ var iconRegistry = {
|
|
|
1858
1961
|
"arrows-to-dot": ArrowsToDotIcon,
|
|
1859
1962
|
bank: BankIcon,
|
|
1860
1963
|
"best-prices": BestPricesIcon,
|
|
1964
|
+
bnb: BnbIcon,
|
|
1861
1965
|
bolt: BoltIcon,
|
|
1862
1966
|
"check-badge": CheckBadgeIcon,
|
|
1863
1967
|
"check-circle": CheckCircleIcon,
|
|
@@ -1886,12 +1990,14 @@ var iconRegistry = {
|
|
|
1886
1990
|
"link-accounts": LinkAccountsIcon,
|
|
1887
1991
|
pencil: PencilIcon,
|
|
1888
1992
|
"play-square": PlaySquareIcon,
|
|
1993
|
+
polygon: PolygonIcon,
|
|
1889
1994
|
profile: ProfileIcon,
|
|
1890
1995
|
"revenue-alt": RevenueAltIcon,
|
|
1891
1996
|
search: SearchIcon,
|
|
1892
1997
|
"shield-trust": ShieldTrustIcon,
|
|
1893
1998
|
solana: SolanaIcon,
|
|
1894
1999
|
"stay-in-control": StayInControlIcon,
|
|
2000
|
+
"success-check": SuccessCheckIcon,
|
|
1895
2001
|
telegram: TelegramIcon,
|
|
1896
2002
|
"triangle-down": TriangleDownIcon,
|
|
1897
2003
|
"triangle-up": TriangleUpIcon,
|
|
@@ -1907,15 +2013,14 @@ var iconNames = Object.keys(iconRegistry);
|
|
|
1907
2013
|
|
|
1908
2014
|
// src/primitives/icon/icon.utils.ts
|
|
1909
2015
|
var resolveIconStyle = (color, style) => {
|
|
1910
|
-
if (!color)
|
|
1911
|
-
return style;
|
|
2016
|
+
if (!color) return style;
|
|
1912
2017
|
return __spreadProps(__spreadValues({}, style), {
|
|
1913
2018
|
color
|
|
1914
2019
|
});
|
|
1915
2020
|
};
|
|
1916
2021
|
|
|
1917
2022
|
// src/primitives/icon/index.tsx
|
|
1918
|
-
var
|
|
2023
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
1919
2024
|
var Icon = (_a) => {
|
|
1920
2025
|
var _b = _a, {
|
|
1921
2026
|
name,
|
|
@@ -1933,7 +2038,7 @@ var Icon = (_a) => {
|
|
|
1933
2038
|
const Component = iconRegistry[name];
|
|
1934
2039
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
1935
2040
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
1936
|
-
return /* @__PURE__ */ (0,
|
|
2041
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
1937
2042
|
Component,
|
|
1938
2043
|
__spreadValues({
|
|
1939
2044
|
color,
|
|
@@ -1949,12 +2054,12 @@ var import_hooks5 = require("@agg-market/hooks");
|
|
|
1949
2054
|
|
|
1950
2055
|
// src/primitives/skeleton/skeleton-block.tsx
|
|
1951
2056
|
var import_hooks3 = require("@agg-market/hooks");
|
|
1952
|
-
var
|
|
2057
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
1953
2058
|
var SkeletonBlock = ({ className }) => {
|
|
1954
2059
|
const {
|
|
1955
2060
|
features: { enableAnimations }
|
|
1956
2061
|
} = (0, import_hooks3.useSdkUiConfig)();
|
|
1957
|
-
return /* @__PURE__ */ (0,
|
|
2062
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
1958
2063
|
"div",
|
|
1959
2064
|
{
|
|
1960
2065
|
"aria-hidden": true,
|
|
@@ -1975,7 +2080,7 @@ var import_hooks4 = require("@agg-market/hooks");
|
|
|
1975
2080
|
var baseCardClassName = "gap-3 overflow-hidden p-5 w-full";
|
|
1976
2081
|
|
|
1977
2082
|
// src/primitives/skeleton/views/event-list-item-skeleton-view.tsx
|
|
1978
|
-
var
|
|
2083
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
1979
2084
|
var EventListItemSkeletonView = ({
|
|
1980
2085
|
className,
|
|
1981
2086
|
ariaLabel,
|
|
@@ -1983,7 +2088,7 @@ var EventListItemSkeletonView = ({
|
|
|
1983
2088
|
}) => {
|
|
1984
2089
|
const labels = (0, import_hooks4.useLabels)();
|
|
1985
2090
|
const outcomeTitleWidths = ["w-40", "w-[200px]"];
|
|
1986
|
-
return /* @__PURE__ */ (0,
|
|
2091
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
1987
2092
|
Card,
|
|
1988
2093
|
{
|
|
1989
2094
|
className: cn("group/agg-skeleton", baseCardClassName, className),
|
|
@@ -1992,23 +2097,23 @@ var EventListItemSkeletonView = ({
|
|
|
1992
2097
|
"aria-busy": isStandalone || void 0,
|
|
1993
2098
|
"aria-hidden": isStandalone ? void 0 : true,
|
|
1994
2099
|
children: [
|
|
1995
|
-
/* @__PURE__ */ (0,
|
|
1996
|
-
/* @__PURE__ */ (0,
|
|
1997
|
-
/* @__PURE__ */ (0,
|
|
2100
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
|
|
2101
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
2102
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
1998
2103
|
] }),
|
|
1999
|
-
/* @__PURE__ */ (0,
|
|
2000
|
-
/* @__PURE__ */ (0,
|
|
2001
|
-
/* @__PURE__ */ (0,
|
|
2104
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex flex-col gap-3", children: outcomeTitleWidths.map((outcomeTitleWidth, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
2105
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: cn("h-5 rounded-agg-sm", outcomeTitleWidth) }),
|
|
2106
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
|
|
2002
2107
|
] }, index)) }),
|
|
2003
|
-
/* @__PURE__ */ (0,
|
|
2004
|
-
/* @__PURE__ */ (0,
|
|
2005
|
-
/* @__PURE__ */ (0,
|
|
2006
|
-
/* @__PURE__ */ (0,
|
|
2007
|
-
/* @__PURE__ */ (0,
|
|
2008
|
-
/* @__PURE__ */ (0,
|
|
2108
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center justify-between gap-5 text-agg-muted-foreground", children: [
|
|
2109
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
2110
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" }),
|
|
2111
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
2112
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" }),
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "size-[14px] rounded-agg-sm" })
|
|
2009
2114
|
] })
|
|
2010
2115
|
] }),
|
|
2011
|
-
/* @__PURE__ */ (0,
|
|
2116
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
2012
2117
|
] })
|
|
2013
2118
|
]
|
|
2014
2119
|
}
|
|
@@ -2017,10 +2122,10 @@ var EventListItemSkeletonView = ({
|
|
|
2017
2122
|
EventListItemSkeletonView.displayName = "EventListItemSkeletonView";
|
|
2018
2123
|
|
|
2019
2124
|
// src/primitives/skeleton/views/event-list-skeleton-view.tsx
|
|
2020
|
-
var
|
|
2125
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2021
2126
|
var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
2022
2127
|
const labels = (0, import_hooks5.useLabels)();
|
|
2023
|
-
return /* @__PURE__ */ (0,
|
|
2128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2024
2129
|
"section",
|
|
2025
2130
|
{
|
|
2026
2131
|
className: cn("group/agg-skeleton", "flex w-full flex-col gap-5", className),
|
|
@@ -2028,11 +2133,11 @@ var EventListSkeletonView = ({ className, ariaLabel }) => {
|
|
|
2028
2133
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventList.loading("events"),
|
|
2029
2134
|
"aria-busy": true,
|
|
2030
2135
|
children: [
|
|
2031
|
-
/* @__PURE__ */ (0,
|
|
2032
|
-
/* @__PURE__ */ (0,
|
|
2033
|
-
/* @__PURE__ */ (0,
|
|
2136
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("header", { className: "flex w-full flex-col items-start justify-between gap-3 md:flex-row md:flex-nowrap md:items-center md:gap-5", children: [
|
|
2137
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-7 w-[120px] rounded-agg-md" }),
|
|
2138
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SkeletonBlock, { className: "h-8 w-full rounded-agg-md md:w-[400px]" })
|
|
2034
2139
|
] }),
|
|
2035
|
-
/* @__PURE__ */ (0,
|
|
2140
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "grid grid-cols-1 gap-5 md:grid-cols-3", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2036
2141
|
EventListItemSkeletonView,
|
|
2037
2142
|
{
|
|
2038
2143
|
isStandalone: false,
|
|
@@ -2053,13 +2158,13 @@ var import_hooks6 = require("@agg-market/hooks");
|
|
|
2053
2158
|
var detailsBaseCardClassName = "w-full overflow-hidden gap-6 p-5 md:gap-8 md:p-10";
|
|
2054
2159
|
|
|
2055
2160
|
// src/primitives/skeleton/views/event-list-item-details-skeleton-view.tsx
|
|
2056
|
-
var
|
|
2161
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2057
2162
|
var EventListItemDetailsSkeletonView = ({
|
|
2058
2163
|
className,
|
|
2059
2164
|
ariaLabel
|
|
2060
2165
|
}) => {
|
|
2061
2166
|
const labels = (0, import_hooks6.useLabels)();
|
|
2062
|
-
return /* @__PURE__ */ (0,
|
|
2167
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2063
2168
|
Card,
|
|
2064
2169
|
{
|
|
2065
2170
|
className: cn("group/agg-skeleton", detailsBaseCardClassName, className),
|
|
@@ -2067,24 +2172,24 @@ var EventListItemDetailsSkeletonView = ({
|
|
|
2067
2172
|
"aria-label": ariaLabel != null ? ariaLabel : labels.eventItemDetails.loading,
|
|
2068
2173
|
"aria-busy": true,
|
|
2069
2174
|
children: [
|
|
2070
|
-
/* @__PURE__ */ (0,
|
|
2071
|
-
/* @__PURE__ */ (0,
|
|
2072
|
-
/* @__PURE__ */ (0,
|
|
2175
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex h-14 w-full items-center gap-3 justify-stretch", children: [
|
|
2176
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "size-10! rounded-agg-lg" }),
|
|
2177
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-6 w-fit flex-1 rounded-agg-sm" })
|
|
2073
2178
|
] }),
|
|
2074
|
-
/* @__PURE__ */ (0,
|
|
2075
|
-
/* @__PURE__ */ (0,
|
|
2076
|
-
/* @__PURE__ */ (0,
|
|
2077
|
-
/* @__PURE__ */ (0,
|
|
2078
|
-
/* @__PURE__ */ (0,
|
|
2079
|
-
/* @__PURE__ */ (0,
|
|
2179
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex w-full flex-col gap-4 md:gap-6", children: [
|
|
2180
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex w-full flex-col gap-3 md:flex-row md:items-center md:justify-between", children: [
|
|
2181
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex max-w-full gap-2 overflow-hidden", children: [
|
|
2182
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
2183
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" }),
|
|
2184
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-9 w-[100px] rounded-agg-full" })
|
|
2080
2185
|
] }),
|
|
2081
|
-
/* @__PURE__ */ (0,
|
|
2186
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-9 w-full max-w-[221px] rounded-agg-full md:w-[221px]" })
|
|
2082
2187
|
] }),
|
|
2083
|
-
/* @__PURE__ */ (0,
|
|
2084
|
-
/* @__PURE__ */ (0,
|
|
2085
|
-
/* @__PURE__ */ (0,
|
|
2086
|
-
/* @__PURE__ */ (0,
|
|
2087
|
-
/* @__PURE__ */ (0,
|
|
2188
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
2189
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-[220px] w-full rounded-agg-xl md:h-[240px]" }),
|
|
2190
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
2191
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-5 w-[59px] rounded-agg-sm" }),
|
|
2192
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SkeletonBlock, { className: "h-5 w-40 rounded-agg-sm" })
|
|
2088
2193
|
] })
|
|
2089
2194
|
] })
|
|
2090
2195
|
] })
|
|
@@ -2101,7 +2206,7 @@ var import_hooks7 = require("@agg-market/hooks");
|
|
|
2101
2206
|
var marketDetailsBaseCardClassName = "w-full overflow-hidden rounded-agg-lg border border-agg-separator bg-agg-secondary text-agg-foreground shadow-none hover:shadow-none";
|
|
2102
2207
|
|
|
2103
2208
|
// src/primitives/skeleton/views/market-details-skeleton-view.tsx
|
|
2104
|
-
var
|
|
2209
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2105
2210
|
var orderBookAskBarWidths = [
|
|
2106
2211
|
"w-[52px] md:w-[240px]",
|
|
2107
2212
|
"w-[48px] md:w-[200px]",
|
|
@@ -2115,30 +2220,30 @@ var orderBookBidBarWidths = [
|
|
|
2115
2220
|
"w-[52px] md:w-[240px]"
|
|
2116
2221
|
];
|
|
2117
2222
|
var MarketDetailsHeaderSkeleton = () => {
|
|
2118
|
-
return /* @__PURE__ */ (0,
|
|
2119
|
-
/* @__PURE__ */ (0,
|
|
2120
|
-
/* @__PURE__ */ (0,
|
|
2121
|
-
/* @__PURE__ */ (0,
|
|
2122
|
-
/* @__PURE__ */ (0,
|
|
2123
|
-
/* @__PURE__ */ (0,
|
|
2223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-3 px-4 py-3 md:px-5", children: [
|
|
2224
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex min-w-0 items-center gap-3 md:min-w-52 md:gap-4", children: [
|
|
2225
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "size-12 rounded-agg-lg md:size-[60px]" }),
|
|
2226
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex min-w-0 flex-col gap-2", children: [
|
|
2227
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-6 w-[132px] rounded-agg-sm" }),
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-4 w-[141px] rounded-agg-sm" })
|
|
2124
2229
|
] })
|
|
2125
2230
|
] }),
|
|
2126
|
-
/* @__PURE__ */ (0,
|
|
2127
|
-
/* @__PURE__ */ (0,
|
|
2128
|
-
/* @__PURE__ */ (0,
|
|
2129
|
-
/* @__PURE__ */ (0,
|
|
2231
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-9 w-[60px] rounded-agg-md" }),
|
|
2232
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex w-full gap-2 md:w-auto", children: [
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[135px]" }),
|
|
2234
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-9 w-full rounded-agg-full md:w-[131px]" })
|
|
2130
2235
|
] })
|
|
2131
2236
|
] });
|
|
2132
2237
|
};
|
|
2133
2238
|
var MarketDetailsTabsSkeleton = () => {
|
|
2134
|
-
return /* @__PURE__ */ (0,
|
|
2135
|
-
/* @__PURE__ */ (0,
|
|
2136
|
-
/* @__PURE__ */ (0,
|
|
2137
|
-
/* @__PURE__ */ (0,
|
|
2239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex h-14 items-end px-4 md:px-5", children: [
|
|
2240
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex h-full flex-col items-end justify-end rounded-t-agg-lg", children: [
|
|
2241
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-6 w-20 rounded-agg-sm" }) }),
|
|
2242
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
|
|
2138
2243
|
] }),
|
|
2139
|
-
/* @__PURE__ */ (0,
|
|
2140
|
-
/* @__PURE__ */ (0,
|
|
2141
|
-
/* @__PURE__ */ (0,
|
|
2244
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex h-full flex-col justify-center", children: [
|
|
2245
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-4 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-6 w-12 rounded-agg-sm" }) }),
|
|
2246
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "h-[3px] w-full" })
|
|
2142
2247
|
] })
|
|
2143
2248
|
] });
|
|
2144
2249
|
};
|
|
@@ -2146,30 +2251,30 @@ var MarketDetailsOrderBookRows = ({
|
|
|
2146
2251
|
side,
|
|
2147
2252
|
barWidths
|
|
2148
2253
|
}) => {
|
|
2149
|
-
return /* @__PURE__ */ (0,
|
|
2150
|
-
/* @__PURE__ */ (0,
|
|
2151
|
-
/* @__PURE__ */ (0,
|
|
2152
|
-
/* @__PURE__ */ (0,
|
|
2153
|
-
/* @__PURE__ */ (0,
|
|
2254
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex flex-col gap-2", children: barWidths.map((barWidthClassName, index) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2255
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.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: [
|
|
2256
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex items-center gap-1 md:gap-3", children: [
|
|
2257
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
2154
2259
|
] }),
|
|
2155
|
-
/* @__PURE__ */ (0,
|
|
2156
|
-
/* @__PURE__ */ (0,
|
|
2157
|
-
/* @__PURE__ */ (0,
|
|
2260
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
|
|
2261
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-5 rounded-agg-sm" }),
|
|
2262
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: cn("h-2 rounded-agg-full", barWidthClassName) }) })
|
|
2158
2263
|
] }),
|
|
2159
|
-
index < barWidths.length - 1 ? /* @__PURE__ */ (0,
|
|
2264
|
+
index < barWidths.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "h-px w-full bg-agg-separator" }) : null
|
|
2160
2265
|
] }, `${side}-row-${index}`)) });
|
|
2161
2266
|
};
|
|
2162
2267
|
var MarketDetailsOderbookSkeleton = ({
|
|
2163
2268
|
className
|
|
2164
2269
|
}) => {
|
|
2165
|
-
return /* @__PURE__ */ (0,
|
|
2166
|
-
/* @__PURE__ */ (0,
|
|
2167
|
-
/* @__PURE__ */ (0,
|
|
2168
|
-
/* @__PURE__ */ (0,
|
|
2270
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("flex flex-col gap-5", className), children: [
|
|
2271
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2272
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
|
|
2273
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MarketDetailsOrderBookRows, { side: "ask", barWidths: orderBookAskBarWidths })
|
|
2169
2274
|
] }),
|
|
2170
|
-
/* @__PURE__ */ (0,
|
|
2171
|
-
/* @__PURE__ */ (0,
|
|
2172
|
-
/* @__PURE__ */ (0,
|
|
2275
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2276
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SkeletonBlock, { className: "h-4 w-10 rounded-agg-sm" }),
|
|
2277
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MarketDetailsOrderBookRows, { side: "bid", barWidths: orderBookBidBarWidths })
|
|
2173
2278
|
] })
|
|
2174
2279
|
] });
|
|
2175
2280
|
};
|
|
@@ -2179,7 +2284,7 @@ var MarketDetailsSkeletonView = ({
|
|
|
2179
2284
|
isDetailed
|
|
2180
2285
|
}) => {
|
|
2181
2286
|
const labels = (0, import_hooks7.useLabels)();
|
|
2182
|
-
return /* @__PURE__ */ (0,
|
|
2287
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
2183
2288
|
Card,
|
|
2184
2289
|
{
|
|
2185
2290
|
className: cn("group/agg-skeleton", marketDetailsBaseCardClassName, className),
|
|
@@ -2187,12 +2292,12 @@ var MarketDetailsSkeletonView = ({
|
|
|
2187
2292
|
"aria-label": ariaLabel != null ? ariaLabel : labels.marketDetails.loading,
|
|
2188
2293
|
"aria-busy": true,
|
|
2189
2294
|
children: [
|
|
2190
|
-
/* @__PURE__ */ (0,
|
|
2191
|
-
isDetailed ? /* @__PURE__ */ (0,
|
|
2192
|
-
/* @__PURE__ */ (0,
|
|
2193
|
-
/* @__PURE__ */ (0,
|
|
2194
|
-
/* @__PURE__ */ (0,
|
|
2195
|
-
/* @__PURE__ */ (0,
|
|
2295
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MarketDetailsHeaderSkeleton, {}),
|
|
2296
|
+
isDetailed ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
|
|
2297
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
2298
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MarketDetailsTabsSkeleton, {}),
|
|
2299
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
2300
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MarketDetailsOderbookSkeleton, { className: "p-5" })
|
|
2196
2301
|
] }) : null
|
|
2197
2302
|
]
|
|
2198
2303
|
}
|
|
@@ -2201,62 +2306,62 @@ var MarketDetailsSkeletonView = ({
|
|
|
2201
2306
|
MarketDetailsSkeletonView.displayName = "MarketDetailsSkeletonView";
|
|
2202
2307
|
|
|
2203
2308
|
// src/primitives/skeleton/views/place-order-skeleton-view.tsx
|
|
2204
|
-
var
|
|
2309
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2205
2310
|
var placeOrderCardClassName = "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
|
|
2206
2311
|
var TabsSkeletonBar = () => {
|
|
2207
|
-
return /* @__PURE__ */ (0,
|
|
2208
|
-
/* @__PURE__ */ (0,
|
|
2209
|
-
/* @__PURE__ */ (0,
|
|
2210
|
-
/* @__PURE__ */ (0,
|
|
2312
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex w-full items-end border-b border-agg-border", children: [
|
|
2313
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-col rounded-t-agg-lg", children: [
|
|
2314
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
2315
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-[3px] w-full rounded-t-agg-sm" })
|
|
2211
2316
|
] }),
|
|
2212
|
-
/* @__PURE__ */ (0,
|
|
2213
|
-
/* @__PURE__ */ (0,
|
|
2214
|
-
/* @__PURE__ */ (0,
|
|
2317
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-col", children: [
|
|
2318
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "px-5 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }) }),
|
|
2319
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "h-[3px] w-full" })
|
|
2215
2320
|
] })
|
|
2216
2321
|
] });
|
|
2217
2322
|
};
|
|
2218
2323
|
var ContentBody = () => {
|
|
2219
|
-
return /* @__PURE__ */ (0,
|
|
2220
|
-
/* @__PURE__ */ (0,
|
|
2221
|
-
/* @__PURE__ */ (0,
|
|
2222
|
-
/* @__PURE__ */ (0,
|
|
2223
|
-
/* @__PURE__ */ (0,
|
|
2224
|
-
/* @__PURE__ */ (0,
|
|
2225
|
-
/* @__PURE__ */ (0,
|
|
2324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: cn("flex flex-col gap-6 p-5"), children: [
|
|
2325
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2326
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
2327
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "size-12 shrink-0 rounded-agg-lg" }),
|
|
2328
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
2329
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-4 w-[92%] max-w-[240px] rounded-agg-sm" }),
|
|
2330
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-4 w-[64%] max-w-[160px] rounded-agg-sm" })
|
|
2226
2331
|
] })
|
|
2227
2332
|
] }),
|
|
2228
|
-
/* @__PURE__ */ (0,
|
|
2229
|
-
/* @__PURE__ */ (0,
|
|
2333
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-6 w-[92px] rounded-agg-sm" }),
|
|
2334
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(TabsSkeletonBar, {})
|
|
2230
2335
|
] }),
|
|
2231
|
-
/* @__PURE__ */ (0,
|
|
2232
|
-
/* @__PURE__ */ (0,
|
|
2233
|
-
/* @__PURE__ */ (0,
|
|
2234
|
-
/* @__PURE__ */ (0,
|
|
2336
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
2337
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex w-full gap-2", children: [
|
|
2338
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" }),
|
|
2339
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-11 flex-1 rounded-agg-full" })
|
|
2235
2340
|
] }),
|
|
2236
|
-
/* @__PURE__ */ (0,
|
|
2237
|
-
/* @__PURE__ */ (0,
|
|
2238
|
-
/* @__PURE__ */ (0,
|
|
2239
|
-
/* @__PURE__ */ (0,
|
|
2341
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
2342
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2343
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-5 w-[63px] rounded-agg-sm" }),
|
|
2344
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-4 w-[118px] rounded-agg-sm" })
|
|
2240
2345
|
] }),
|
|
2241
|
-
/* @__PURE__ */ (0,
|
|
2346
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: cn("text-agg-3xl font-agg-bold leading-agg-9 text-agg-separator"), children: "$0" })
|
|
2242
2347
|
] })
|
|
2243
2348
|
] }),
|
|
2244
|
-
/* @__PURE__ */ (0,
|
|
2245
|
-
/* @__PURE__ */ (0,
|
|
2349
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-12 w-full rounded-agg-full" }),
|
|
2350
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[240px] self-center rounded-agg-sm" })
|
|
2246
2351
|
] });
|
|
2247
2352
|
};
|
|
2248
2353
|
var PlaceOrderSkeletonView = ({
|
|
2249
2354
|
className,
|
|
2250
2355
|
ariaLabel
|
|
2251
2356
|
}) => {
|
|
2252
|
-
return /* @__PURE__ */ (0,
|
|
2357
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2253
2358
|
"div",
|
|
2254
2359
|
{
|
|
2255
2360
|
className: cn("group/agg-skeleton", "w-full", className),
|
|
2256
2361
|
role: "status",
|
|
2257
2362
|
"aria-label": ariaLabel != null ? ariaLabel : "Loading place order",
|
|
2258
2363
|
"aria-busy": true,
|
|
2259
|
-
children: /* @__PURE__ */ (0,
|
|
2364
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "flex w-full items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Card, { className: cn(placeOrderCardClassName, "w-full"), children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ContentBody, {}) }) })
|
|
2260
2365
|
}
|
|
2261
2366
|
);
|
|
2262
2367
|
};
|
|
@@ -2264,33 +2369,33 @@ PlaceOrderSkeletonView.displayName = "PlaceOrderSkeletonView";
|
|
|
2264
2369
|
|
|
2265
2370
|
// src/primitives/skeleton/views/search-skeleton-view.tsx
|
|
2266
2371
|
var import_hooks8 = require("@agg-market/hooks");
|
|
2267
|
-
var
|
|
2372
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2268
2373
|
var SearchSkeletonRow = () => {
|
|
2269
|
-
return /* @__PURE__ */ (0,
|
|
2270
|
-
/* @__PURE__ */ (0,
|
|
2271
|
-
/* @__PURE__ */ (0,
|
|
2272
|
-
/* @__PURE__ */ (0,
|
|
2273
|
-
/* @__PURE__ */ (0,
|
|
2274
|
-
/* @__PURE__ */ (0,
|
|
2275
|
-
/* @__PURE__ */ (0,
|
|
2276
|
-
/* @__PURE__ */ (0,
|
|
2277
|
-
/* @__PURE__ */ (0,
|
|
2374
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex w-full items-center gap-6 px-5 py-4", children: [
|
|
2375
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "size-12 shrink-0 rounded-[8px]" }),
|
|
2376
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
2377
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-[320px] rounded-agg-sm" }),
|
|
2378
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
2379
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "h-4 w-[104px] rounded-agg-sm" }),
|
|
2380
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
2381
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "size-[14px] rounded-[4px]" }),
|
|
2382
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "size-[14px] rounded-[4px]" })
|
|
2278
2383
|
] })
|
|
2279
2384
|
] })
|
|
2280
2385
|
] }),
|
|
2281
|
-
/* @__PURE__ */ (0,
|
|
2282
|
-
/* @__PURE__ */ (0,
|
|
2283
|
-
/* @__PURE__ */ (0,
|
|
2284
|
-
/* @__PURE__ */ (0,
|
|
2285
|
-
/* @__PURE__ */ (0,
|
|
2386
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex w-[200px] shrink-0 items-center gap-2", children: [
|
|
2387
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "size-4 rounded-[4px]" }),
|
|
2388
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
2389
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "h-6 w-10 rounded-agg-sm" }),
|
|
2390
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "h-4 w-[60px] rounded-agg-sm" })
|
|
2286
2391
|
] })
|
|
2287
2392
|
] }),
|
|
2288
|
-
/* @__PURE__ */ (0,
|
|
2393
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "size-5 rounded-[4px]" })
|
|
2289
2394
|
] });
|
|
2290
2395
|
};
|
|
2291
2396
|
var SearchSkeletonView = ({ className, ariaLabel }) => {
|
|
2292
2397
|
const labels = (0, import_hooks8.useLabels)();
|
|
2293
|
-
return /* @__PURE__ */ (0,
|
|
2398
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2294
2399
|
"div",
|
|
2295
2400
|
{
|
|
2296
2401
|
className: cn(
|
|
@@ -2302,8 +2407,8 @@ var SearchSkeletonView = ({ className, ariaLabel }) => {
|
|
|
2302
2407
|
"aria-label": ariaLabel != null ? ariaLabel : labels.search.loadingResults,
|
|
2303
2408
|
"aria-busy": true,
|
|
2304
2409
|
children: [
|
|
2305
|
-
/* @__PURE__ */ (0,
|
|
2306
|
-
/* @__PURE__ */ (0,
|
|
2410
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "pt-2", children: Array.from({ length: 4 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: cn(index > 0 && "border-t border-agg-separator"), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SearchSkeletonRow, {}) }, index)) }),
|
|
2411
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "border-t border-agg-separator px-5 py-5", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SkeletonBlock, { className: "h-5 w-[116px] rounded-agg-sm" }) })
|
|
2307
2412
|
]
|
|
2308
2413
|
}
|
|
2309
2414
|
);
|
|
@@ -2312,13 +2417,13 @@ SearchSkeletonView.displayName = "SearchSkeletonView";
|
|
|
2312
2417
|
|
|
2313
2418
|
// src/primitives/skeleton/views/settlement-skeleton-view.tsx
|
|
2314
2419
|
var import_hooks9 = require("@agg-market/hooks");
|
|
2315
|
-
var
|
|
2420
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2316
2421
|
var SettlementSkeletonView = ({
|
|
2317
2422
|
className,
|
|
2318
2423
|
ariaLabel
|
|
2319
2424
|
}) => {
|
|
2320
2425
|
const labels = (0, import_hooks9.useLabels)();
|
|
2321
|
-
return /* @__PURE__ */ (0,
|
|
2426
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
2322
2427
|
Card,
|
|
2323
2428
|
{
|
|
2324
2429
|
className: cn(
|
|
@@ -2330,26 +2435,26 @@ var SettlementSkeletonView = ({
|
|
|
2330
2435
|
"aria-label": ariaLabel != null ? ariaLabel : labels.trading.settlementLoading,
|
|
2331
2436
|
"aria-busy": true,
|
|
2332
2437
|
children: [
|
|
2333
|
-
/* @__PURE__ */ (0,
|
|
2334
|
-
/* @__PURE__ */ (0,
|
|
2335
|
-
/* @__PURE__ */ (0,
|
|
2438
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex w-full items-center justify-between gap-4", children: [
|
|
2439
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "h-4 w-[81px] rounded-agg-sm" }),
|
|
2440
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "h-5 w-full max-w-[240px] rounded-agg-sm" })
|
|
2336
2441
|
] }),
|
|
2337
|
-
/* @__PURE__ */ (0,
|
|
2338
|
-
/* @__PURE__ */ (0,
|
|
2339
|
-
/* @__PURE__ */ (0,
|
|
2340
|
-
/* @__PURE__ */ (0,
|
|
2341
|
-
/* @__PURE__ */ (0,
|
|
2442
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
2443
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "h-5 w-[200px] rounded-agg-sm" }),
|
|
2444
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2445
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[320px] rounded-agg-sm" }),
|
|
2446
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "h-4 w-full max-w-[280px] rounded-agg-sm" })
|
|
2342
2447
|
] })
|
|
2343
2448
|
] }),
|
|
2344
|
-
/* @__PURE__ */ (0,
|
|
2345
|
-
/* @__PURE__ */ (0,
|
|
2346
|
-
/* @__PURE__ */ (0,
|
|
2347
|
-
/* @__PURE__ */ (0,
|
|
2348
|
-
/* @__PURE__ */ (0,
|
|
2449
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
2450
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex w-full flex-col gap-3", children: [
|
|
2451
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2452
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
2453
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
2349
2454
|
] }),
|
|
2350
|
-
/* @__PURE__ */ (0,
|
|
2351
|
-
/* @__PURE__ */ (0,
|
|
2352
|
-
/* @__PURE__ */ (0,
|
|
2455
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2456
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "size-4 rounded-agg-sm" }),
|
|
2457
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SkeletonBlock, { className: "h-5 w-[60px] rounded-agg-sm" })
|
|
2353
2458
|
] })
|
|
2354
2459
|
] })
|
|
2355
2460
|
]
|
|
@@ -2358,6 +2463,108 @@ var SettlementSkeletonView = ({
|
|
|
2358
2463
|
};
|
|
2359
2464
|
SettlementSkeletonView.displayName = "SettlementSkeletonView";
|
|
2360
2465
|
|
|
2466
|
+
// src/primitives/skeleton/views/user-profile-overview-skeleton-view.tsx
|
|
2467
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2468
|
+
var UserProfileOverviewSkeletonView = ({
|
|
2469
|
+
className,
|
|
2470
|
+
ariaLabel
|
|
2471
|
+
}) => {
|
|
2472
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
2473
|
+
"div",
|
|
2474
|
+
{
|
|
2475
|
+
className: cn("flex w-full flex-col gap-6 sm:flex-row", className),
|
|
2476
|
+
role: "status",
|
|
2477
|
+
"aria-label": ariaLabel != null ? ariaLabel : "Loading profile overview",
|
|
2478
|
+
"aria-busy": "true",
|
|
2479
|
+
children: [
|
|
2480
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-4 sm:gap-6", children: [
|
|
2481
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex w-full items-center gap-5", children: [
|
|
2482
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-20 w-20 shrink-0 rounded-agg-full sm:h-[120px] sm:w-[120px]" }),
|
|
2483
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-3", children: [
|
|
2484
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center justify-between gap-3", children: [
|
|
2485
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-9 w-[140px] rounded-agg-sm" }),
|
|
2486
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" })
|
|
2487
|
+
] }),
|
|
2488
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2489
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
2490
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-6 w-[140px] rounded-agg-sm" }),
|
|
2491
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-5 w-[72px] rounded-agg-sm" })
|
|
2492
|
+
] })
|
|
2493
|
+
] })
|
|
2494
|
+
] }) }),
|
|
2495
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "rounded-agg-md border border-agg-separator bg-agg-secondary p-5", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
2496
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-end gap-3", children: [
|
|
2497
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-9 w-[80px] rounded-agg-sm" }),
|
|
2498
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-5 w-[100px] rounded-agg-sm" })
|
|
2499
|
+
] }),
|
|
2500
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2501
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
2502
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
2503
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" }),
|
|
2504
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-5 w-5 rounded-agg-sm" })
|
|
2505
|
+
] })
|
|
2506
|
+
] }) })
|
|
2507
|
+
] }),
|
|
2508
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "w-full shrink-0 rounded-agg-md border border-agg-separator bg-agg-secondary p-5 sm:w-[465px]", children: [
|
|
2509
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
2510
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-7 w-[84px] rounded-agg-sm" }),
|
|
2511
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-7 w-[64px] rounded-agg-sm" })
|
|
2512
|
+
] }),
|
|
2513
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex flex-col gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
2514
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
2515
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-4 w-4 rounded-agg-sm" }),
|
|
2516
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-6 w-[70px] rounded-agg-sm" })
|
|
2517
|
+
] }),
|
|
2518
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-6 w-[96px] rounded-agg-sm" })
|
|
2519
|
+
] }, index)) }),
|
|
2520
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "mt-4 flex gap-3", children: [
|
|
2521
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" }),
|
|
2522
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SkeletonBlock, { className: "h-9 flex-1 rounded-agg-full" })
|
|
2523
|
+
] })
|
|
2524
|
+
] })
|
|
2525
|
+
]
|
|
2526
|
+
}
|
|
2527
|
+
);
|
|
2528
|
+
};
|
|
2529
|
+
UserProfileOverviewSkeletonView.displayName = "UserProfileOverviewSkeletonView";
|
|
2530
|
+
|
|
2531
|
+
// src/primitives/skeleton/views/user-profile-positions-activity-skeleton-view.tsx
|
|
2532
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2533
|
+
var UserProfilePositionsActivitySkeletonView = ({
|
|
2534
|
+
className,
|
|
2535
|
+
ariaLabel
|
|
2536
|
+
}) => {
|
|
2537
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2538
|
+
"div",
|
|
2539
|
+
{
|
|
2540
|
+
className: cn(
|
|
2541
|
+
"flex w-full flex-col overflow-clip rounded-agg-md border border-agg-separator bg-agg-secondary",
|
|
2542
|
+
className
|
|
2543
|
+
),
|
|
2544
|
+
role: "status",
|
|
2545
|
+
"aria-label": ariaLabel != null ? ariaLabel : "Loading positions and activity",
|
|
2546
|
+
"aria-busy": "true",
|
|
2547
|
+
children: [
|
|
2548
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "h-11 border-b border-agg-separator px-4 sm:h-12 sm:px-6", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex h-full items-center gap-6", children: [
|
|
2549
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SkeletonBlock, { className: "h-6 w-[72px] rounded-agg-sm" }),
|
|
2550
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SkeletonBlock, { className: "h-6 w-[64px] rounded-agg-sm" })
|
|
2551
|
+
] }) }),
|
|
2552
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex flex-col gap-4 p-4 sm:gap-6 sm:p-6", children: [
|
|
2553
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex gap-5", children: [
|
|
2554
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
|
|
2555
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
|
|
2556
|
+
] }),
|
|
2557
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "flex flex-col gap-3 sm:gap-4", children: Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex items-center gap-5", children: [
|
|
2558
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SkeletonBlock, { className: "h-10 w-[270px] rounded-agg-sm" }),
|
|
2559
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SkeletonBlock, { className: "h-10 min-w-0 flex-1 rounded-agg-sm" })
|
|
2560
|
+
] }, index)) })
|
|
2561
|
+
] })
|
|
2562
|
+
]
|
|
2563
|
+
}
|
|
2564
|
+
);
|
|
2565
|
+
};
|
|
2566
|
+
UserProfilePositionsActivitySkeletonView.displayName = "UserProfilePositionsActivitySkeletonView";
|
|
2567
|
+
|
|
2361
2568
|
// src/primitives/skeleton/skeleton.types.ts
|
|
2362
2569
|
var skeletonViews = {
|
|
2363
2570
|
eventListItem: "event-list-item",
|
|
@@ -2367,34 +2574,42 @@ var skeletonViews = {
|
|
|
2367
2574
|
eventList: "event-list",
|
|
2368
2575
|
settlement: "settlement",
|
|
2369
2576
|
placeOrder: "place-order",
|
|
2370
|
-
search: "search"
|
|
2577
|
+
search: "search",
|
|
2578
|
+
userProfileOverview: "user-profile-overview",
|
|
2579
|
+
userProfilePositionsActivity: "user-profile-positions-activity"
|
|
2371
2580
|
};
|
|
2372
2581
|
|
|
2373
2582
|
// src/primitives/skeleton/index.tsx
|
|
2374
|
-
var
|
|
2583
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2375
2584
|
var Skeleton = ({ view, className, ariaLabel }) => {
|
|
2376
2585
|
if (view === skeletonViews.eventListItem) {
|
|
2377
|
-
return /* @__PURE__ */ (0,
|
|
2586
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(EventListItemSkeletonView, { className, ariaLabel, isStandalone: true });
|
|
2378
2587
|
}
|
|
2379
2588
|
if (view === skeletonViews.eventListItemDetails) {
|
|
2380
|
-
return /* @__PURE__ */ (0,
|
|
2589
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(EventListItemDetailsSkeletonView, { className, ariaLabel });
|
|
2381
2590
|
}
|
|
2382
2591
|
if (view === skeletonViews.marketDetailsMinified) {
|
|
2383
|
-
return /* @__PURE__ */ (0,
|
|
2592
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: false });
|
|
2384
2593
|
}
|
|
2385
2594
|
if (view === skeletonViews.marketDetailsDetailed) {
|
|
2386
|
-
return /* @__PURE__ */ (0,
|
|
2595
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(MarketDetailsSkeletonView, { className, ariaLabel, isDetailed: true });
|
|
2387
2596
|
}
|
|
2388
2597
|
if (view === skeletonViews.settlement) {
|
|
2389
|
-
return /* @__PURE__ */ (0,
|
|
2598
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(SettlementSkeletonView, { className, ariaLabel });
|
|
2390
2599
|
}
|
|
2391
2600
|
if (view === skeletonViews.placeOrder) {
|
|
2392
|
-
return /* @__PURE__ */ (0,
|
|
2601
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(PlaceOrderSkeletonView, { className, ariaLabel });
|
|
2393
2602
|
}
|
|
2394
2603
|
if (view === skeletonViews.search) {
|
|
2395
|
-
return /* @__PURE__ */ (0,
|
|
2604
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(SearchSkeletonView, { className, ariaLabel });
|
|
2605
|
+
}
|
|
2606
|
+
if (view === skeletonViews.userProfileOverview) {
|
|
2607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(UserProfileOverviewSkeletonView, { className, ariaLabel });
|
|
2396
2608
|
}
|
|
2397
|
-
|
|
2609
|
+
if (view === skeletonViews.userProfilePositionsActivity) {
|
|
2610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(UserProfilePositionsActivitySkeletonView, { className, ariaLabel });
|
|
2611
|
+
}
|
|
2612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(EventListSkeletonView, { className, ariaLabel });
|
|
2398
2613
|
};
|
|
2399
2614
|
Skeleton.displayName = "Skeleton";
|
|
2400
2615
|
|
|
@@ -2411,7 +2626,7 @@ var skeletonClasses = "h-full w-full rounded-agg-lg";
|
|
|
2411
2626
|
var placeholderClasses = "flex h-full w-full items-center justify-center bg-agg-secondary-hover rounded-agg-lg";
|
|
2412
2627
|
|
|
2413
2628
|
// src/primitives/remote-image/index.tsx
|
|
2414
|
-
var
|
|
2629
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2415
2630
|
var isValidSrc = (src) => typeof src === "string" && src.length > 0;
|
|
2416
2631
|
var RemoteImage = ({
|
|
2417
2632
|
src,
|
|
@@ -2442,7 +2657,7 @@ var RemoteImage = ({
|
|
|
2442
2657
|
setStatus("error");
|
|
2443
2658
|
};
|
|
2444
2659
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
2445
|
-
return /* @__PURE__ */ (0,
|
|
2660
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2446
2661
|
"div",
|
|
2447
2662
|
{
|
|
2448
2663
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -2459,17 +2674,17 @@ var RemoteImage = ({
|
|
|
2459
2674
|
"aria-label": ariaLabel,
|
|
2460
2675
|
title,
|
|
2461
2676
|
children: [
|
|
2462
|
-
status === "loading" && /* @__PURE__ */ (0,
|
|
2463
|
-
status === "error" && /* @__PURE__ */ (0,
|
|
2677
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
2678
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2464
2679
|
"div",
|
|
2465
2680
|
{
|
|
2466
2681
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
2467
2682
|
"aria-hidden": true,
|
|
2468
2683
|
"aria-errormessage": "Image failed to load",
|
|
2469
|
-
children: /* @__PURE__ */ (0,
|
|
2684
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { name: "image", size: "medium", className: "text-agg-muted-foreground" })
|
|
2470
2685
|
}
|
|
2471
2686
|
),
|
|
2472
|
-
isValidSrc(src) && status !== "error" && /* @__PURE__ */ (0,
|
|
2687
|
+
isValidSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2473
2688
|
"img",
|
|
2474
2689
|
{
|
|
2475
2690
|
src,
|
|
@@ -2494,15 +2709,13 @@ var resolveLogoPrimaryColor = ({
|
|
|
2494
2709
|
isColor = true,
|
|
2495
2710
|
color
|
|
2496
2711
|
}) => {
|
|
2497
|
-
if (typeof color === "string" && color.trim())
|
|
2498
|
-
|
|
2499
|
-
if (!isColor)
|
|
2500
|
-
return DEFAULT_MONOCHROME_COLOR;
|
|
2712
|
+
if (typeof color === "string" && color.trim()) return color;
|
|
2713
|
+
if (!isColor) return DEFAULT_MONOCHROME_COLOR;
|
|
2501
2714
|
return brandColor;
|
|
2502
2715
|
};
|
|
2503
2716
|
|
|
2504
2717
|
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
2505
|
-
var
|
|
2718
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
2506
2719
|
var KALSHI_GREEN = "#18C590";
|
|
2507
2720
|
var LogoKalshiIcon = (_a) => {
|
|
2508
2721
|
var _b = _a, {
|
|
@@ -2521,7 +2734,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2521
2734
|
isColor,
|
|
2522
2735
|
color
|
|
2523
2736
|
});
|
|
2524
|
-
return /* @__PURE__ */ (0,
|
|
2737
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
2525
2738
|
"svg",
|
|
2526
2739
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2527
2740
|
viewBox: "0 0 100 100",
|
|
@@ -2529,8 +2742,8 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2529
2742
|
fill: "none"
|
|
2530
2743
|
}, getIconA11yProps(title)), props), {
|
|
2531
2744
|
children: [
|
|
2532
|
-
title ? /* @__PURE__ */ (0,
|
|
2533
|
-
/* @__PURE__ */ (0,
|
|
2745
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("title", { children: title }) : null,
|
|
2746
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2534
2747
|
"path",
|
|
2535
2748
|
{
|
|
2536
2749
|
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
@@ -2544,7 +2757,7 @@ var LogoKalshiIcon = (_a) => {
|
|
|
2544
2757
|
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
2545
2758
|
|
|
2546
2759
|
// src/primitives/venue-logo/svg/logo-limitless.tsx
|
|
2547
|
-
var
|
|
2760
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
2548
2761
|
var LIMITLESS_BLACK = "#000000";
|
|
2549
2762
|
var LogoLimitlessIcon = (_a) => {
|
|
2550
2763
|
var _b = _a, {
|
|
@@ -2563,7 +2776,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2563
2776
|
isColor,
|
|
2564
2777
|
color
|
|
2565
2778
|
});
|
|
2566
|
-
return /* @__PURE__ */ (0,
|
|
2779
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
2567
2780
|
"svg",
|
|
2568
2781
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2569
2782
|
viewBox: "0 0 44 32",
|
|
@@ -2571,8 +2784,8 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2571
2784
|
fill: "none"
|
|
2572
2785
|
}, getIconA11yProps(title)), props), {
|
|
2573
2786
|
children: [
|
|
2574
|
-
title ? /* @__PURE__ */ (0,
|
|
2575
|
-
/* @__PURE__ */ (0,
|
|
2787
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("title", { children: title }) : null,
|
|
2788
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2576
2789
|
"path",
|
|
2577
2790
|
{
|
|
2578
2791
|
fill: primaryColor,
|
|
@@ -2581,7 +2794,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2581
2794
|
clipRule: "evenodd"
|
|
2582
2795
|
}
|
|
2583
2796
|
),
|
|
2584
|
-
/* @__PURE__ */ (0,
|
|
2797
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2585
2798
|
"path",
|
|
2586
2799
|
{
|
|
2587
2800
|
fill: primaryColor,
|
|
@@ -2590,7 +2803,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2590
2803
|
clipRule: "evenodd"
|
|
2591
2804
|
}
|
|
2592
2805
|
),
|
|
2593
|
-
/* @__PURE__ */ (0,
|
|
2806
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2594
2807
|
"path",
|
|
2595
2808
|
{
|
|
2596
2809
|
fill: primaryColor,
|
|
@@ -2599,7 +2812,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2599
2812
|
clipRule: "evenodd"
|
|
2600
2813
|
}
|
|
2601
2814
|
),
|
|
2602
|
-
/* @__PURE__ */ (0,
|
|
2815
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2603
2816
|
"path",
|
|
2604
2817
|
{
|
|
2605
2818
|
fill: primaryColor,
|
|
@@ -2608,7 +2821,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2608
2821
|
clipRule: "evenodd"
|
|
2609
2822
|
}
|
|
2610
2823
|
),
|
|
2611
|
-
/* @__PURE__ */ (0,
|
|
2824
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2612
2825
|
"path",
|
|
2613
2826
|
{
|
|
2614
2827
|
fill: primaryColor,
|
|
@@ -2624,7 +2837,7 @@ var LogoLimitlessIcon = (_a) => {
|
|
|
2624
2837
|
LogoLimitlessIcon.displayName = "LogoLimitlessIcon";
|
|
2625
2838
|
|
|
2626
2839
|
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
2627
|
-
var
|
|
2840
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
2628
2841
|
var OPINION_BLACK = "#000000";
|
|
2629
2842
|
var LogoOpinionIcon = (_a) => {
|
|
2630
2843
|
var _b = _a, {
|
|
@@ -2643,7 +2856,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2643
2856
|
isColor,
|
|
2644
2857
|
color
|
|
2645
2858
|
});
|
|
2646
|
-
return /* @__PURE__ */ (0,
|
|
2859
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
2647
2860
|
"svg",
|
|
2648
2861
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2649
2862
|
viewBox: "0 0 100 100",
|
|
@@ -2651,8 +2864,8 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2651
2864
|
fill: "none"
|
|
2652
2865
|
}, getIconA11yProps(title)), props), {
|
|
2653
2866
|
children: [
|
|
2654
|
-
title ? /* @__PURE__ */ (0,
|
|
2655
|
-
/* @__PURE__ */ (0,
|
|
2867
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("title", { children: title }) : null,
|
|
2868
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
2656
2869
|
"path",
|
|
2657
2870
|
{
|
|
2658
2871
|
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",
|
|
@@ -2666,7 +2879,7 @@ var LogoOpinionIcon = (_a) => {
|
|
|
2666
2879
|
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
2667
2880
|
|
|
2668
2881
|
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
2669
|
-
var
|
|
2882
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
2670
2883
|
var POLYMARKET_BLUE = "#2E5CFF";
|
|
2671
2884
|
var LogoPolymarketIcon = (_a) => {
|
|
2672
2885
|
var _b = _a, {
|
|
@@ -2685,7 +2898,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2685
2898
|
isColor,
|
|
2686
2899
|
color
|
|
2687
2900
|
});
|
|
2688
|
-
return /* @__PURE__ */ (0,
|
|
2901
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
2689
2902
|
"svg",
|
|
2690
2903
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2691
2904
|
viewBox: "0 0 100 100",
|
|
@@ -2693,8 +2906,8 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2693
2906
|
fill: "none"
|
|
2694
2907
|
}, getIconA11yProps(title)), props), {
|
|
2695
2908
|
children: [
|
|
2696
|
-
title ? /* @__PURE__ */ (0,
|
|
2697
|
-
/* @__PURE__ */ (0,
|
|
2909
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("title", { children: title }) : null,
|
|
2910
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
2698
2911
|
"path",
|
|
2699
2912
|
{
|
|
2700
2913
|
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",
|
|
@@ -2708,7 +2921,7 @@ var LogoPolymarketIcon = (_a) => {
|
|
|
2708
2921
|
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
2709
2922
|
|
|
2710
2923
|
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
2711
|
-
var
|
|
2924
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
2712
2925
|
var PROBABLE_ORANGE = "#F05923";
|
|
2713
2926
|
var LogoProbableIcon = (_a) => {
|
|
2714
2927
|
var _b = _a, {
|
|
@@ -2727,7 +2940,7 @@ var LogoProbableIcon = (_a) => {
|
|
|
2727
2940
|
isColor,
|
|
2728
2941
|
color
|
|
2729
2942
|
});
|
|
2730
|
-
return /* @__PURE__ */ (0,
|
|
2943
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
2731
2944
|
"svg",
|
|
2732
2945
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2733
2946
|
viewBox: "0 0 100 100",
|
|
@@ -2735,16 +2948,16 @@ var LogoProbableIcon = (_a) => {
|
|
|
2735
2948
|
fill: "none"
|
|
2736
2949
|
}, getIconA11yProps(title)), props), {
|
|
2737
2950
|
children: [
|
|
2738
|
-
title ? /* @__PURE__ */ (0,
|
|
2739
|
-
/* @__PURE__ */ (0,
|
|
2951
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("title", { children: title }) : null,
|
|
2952
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
2740
2953
|
"path",
|
|
2741
2954
|
{
|
|
2742
2955
|
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",
|
|
2743
2956
|
fill: primaryColor
|
|
2744
2957
|
}
|
|
2745
2958
|
),
|
|
2746
|
-
/* @__PURE__ */ (0,
|
|
2747
|
-
/* @__PURE__ */ (0,
|
|
2959
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
2960
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
2748
2961
|
"path",
|
|
2749
2962
|
{
|
|
2750
2963
|
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",
|
|
@@ -2788,7 +3001,7 @@ var sizeClasses = {
|
|
|
2788
3001
|
};
|
|
2789
3002
|
|
|
2790
3003
|
// src/primitives/venue-logo/index.tsx
|
|
2791
|
-
var
|
|
3004
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
2792
3005
|
var VenueLogo = ({
|
|
2793
3006
|
venue,
|
|
2794
3007
|
variant = "icon",
|
|
@@ -2807,10 +3020,9 @@ var VenueLogo = ({
|
|
|
2807
3020
|
const labels = (0, import_hooks10.useLabels)();
|
|
2808
3021
|
const sizeClass = sizeClasses[size];
|
|
2809
3022
|
const resolvedLabel = (_a = ariaLabel != null ? ariaLabel : labels.venues[venue]) != null ? _a : venueLogoLabels[venue];
|
|
2810
|
-
if (!showVenueLogo)
|
|
2811
|
-
return null;
|
|
3023
|
+
if (!showVenueLogo) return null;
|
|
2812
3024
|
if (variant === "logo") {
|
|
2813
|
-
return /* @__PURE__ */ (0,
|
|
3025
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2814
3026
|
RemoteImage,
|
|
2815
3027
|
{
|
|
2816
3028
|
src: venueLogoUrlRegistry[venue],
|
|
@@ -2822,7 +3034,7 @@ var VenueLogo = ({
|
|
|
2822
3034
|
}
|
|
2823
3035
|
const Component = venueLogoRegistry[venue];
|
|
2824
3036
|
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
2825
|
-
return /* @__PURE__ */ (0,
|
|
3037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
2826
3038
|
Component,
|
|
2827
3039
|
{
|
|
2828
3040
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -2836,7 +3048,7 @@ var VenueLogo = ({
|
|
|
2836
3048
|
VenueLogo.displayName = "VenueLogo";
|
|
2837
3049
|
|
|
2838
3050
|
// src/trading/settlement/index.tsx
|
|
2839
|
-
var
|
|
3051
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
2840
3052
|
var getSettlementHeaderClassName = () => {
|
|
2841
3053
|
return "flex items-center justify-between gap-4";
|
|
2842
3054
|
};
|
|
@@ -2869,8 +3081,7 @@ var Settlement = ({
|
|
|
2869
3081
|
const descriptionWrapperRefs = (0, import_react2.useRef)(/* @__PURE__ */ new Map());
|
|
2870
3082
|
const descriptionMeasureRefs = (0, import_react2.useRef)(/* @__PURE__ */ new Map());
|
|
2871
3083
|
(0, import_react2.useEffect)(() => {
|
|
2872
|
-
if (expandedVenue === void 0)
|
|
2873
|
-
return;
|
|
3084
|
+
if (expandedVenue === void 0) return;
|
|
2874
3085
|
setInternalExpandedVenue(expandedVenue);
|
|
2875
3086
|
}, [expandedVenue]);
|
|
2876
3087
|
const resolvedExpandedVenue = expandedVenue === void 0 ? internalExpandedVenue : expandedVenue;
|
|
@@ -2905,11 +3116,9 @@ var Settlement = ({
|
|
|
2905
3116
|
(venue, description, showMoreLabel) => {
|
|
2906
3117
|
const descriptionWrapperElement = descriptionWrapperRefs.current.get(venue);
|
|
2907
3118
|
const descriptionMeasureElement = descriptionMeasureRefs.current.get(venue);
|
|
2908
|
-
if (!descriptionWrapperElement || !descriptionMeasureElement)
|
|
2909
|
-
return;
|
|
3119
|
+
if (!descriptionWrapperElement || !descriptionMeasureElement) return;
|
|
2910
3120
|
const wrapperWidth = descriptionWrapperElement.clientWidth;
|
|
2911
|
-
if (wrapperWidth <= 0)
|
|
2912
|
-
return;
|
|
3121
|
+
if (wrapperWidth <= 0) return;
|
|
2913
3122
|
const computedStyles = window.getComputedStyle(descriptionWrapperElement);
|
|
2914
3123
|
const parsedLineHeight = Number.parseFloat(computedStyles.lineHeight);
|
|
2915
3124
|
const lineHeight = Number.isFinite(parsedLineHeight) ? parsedLineHeight : 20;
|
|
@@ -2922,15 +3131,13 @@ var Settlement = ({
|
|
|
2922
3131
|
const fullHeight = getHeight(description);
|
|
2923
3132
|
if (fullHeight <= maxHeight) {
|
|
2924
3133
|
setOverflowingDescriptionByVenue((currentState) => {
|
|
2925
|
-
if (currentState[venue] === false)
|
|
2926
|
-
return currentState;
|
|
3134
|
+
if (currentState[venue] === false) return currentState;
|
|
2927
3135
|
return __spreadProps(__spreadValues({}, currentState), {
|
|
2928
3136
|
[venue]: false
|
|
2929
3137
|
});
|
|
2930
3138
|
});
|
|
2931
3139
|
setCollapsedDescriptionByVenue((currentState) => {
|
|
2932
|
-
if (currentState[venue] === description)
|
|
2933
|
-
return currentState;
|
|
3140
|
+
if (currentState[venue] === description) return currentState;
|
|
2934
3141
|
return __spreadProps(__spreadValues({}, currentState), {
|
|
2935
3142
|
[venue]: description
|
|
2936
3143
|
});
|
|
@@ -2954,15 +3161,13 @@ var Settlement = ({
|
|
|
2954
3161
|
}
|
|
2955
3162
|
const collapsedDescription = description.slice(0, bestLength).trimEnd();
|
|
2956
3163
|
setOverflowingDescriptionByVenue((currentState) => {
|
|
2957
|
-
if (currentState[venue] === true)
|
|
2958
|
-
return currentState;
|
|
3164
|
+
if (currentState[venue] === true) return currentState;
|
|
2959
3165
|
return __spreadProps(__spreadValues({}, currentState), {
|
|
2960
3166
|
[venue]: true
|
|
2961
3167
|
});
|
|
2962
3168
|
});
|
|
2963
3169
|
setCollapsedDescriptionByVenue((currentState) => {
|
|
2964
|
-
if (currentState[venue] === collapsedDescription)
|
|
2965
|
-
return currentState;
|
|
3170
|
+
if (currentState[venue] === collapsedDescription) return currentState;
|
|
2966
3171
|
return __spreadProps(__spreadValues({}, currentState), {
|
|
2967
3172
|
[venue]: collapsedDescription
|
|
2968
3173
|
});
|
|
@@ -2971,15 +3176,11 @@ var Settlement = ({
|
|
|
2971
3176
|
[]
|
|
2972
3177
|
);
|
|
2973
3178
|
(0, import_react2.useEffect)(() => {
|
|
2974
|
-
if (typeof window === "undefined")
|
|
2975
|
-
|
|
2976
|
-
if (
|
|
2977
|
-
return;
|
|
2978
|
-
if (expandedDescriptionByVenue[resolvedExpandedVenue])
|
|
2979
|
-
return;
|
|
3179
|
+
if (typeof window === "undefined") return;
|
|
3180
|
+
if (!resolvedExpandedVenue) return;
|
|
3181
|
+
if (expandedDescriptionByVenue[resolvedExpandedVenue]) return;
|
|
2980
3182
|
const expandedVenueItem = venues.find((venueItem) => venueItem.venue === resolvedExpandedVenue);
|
|
2981
|
-
if (!expandedVenueItem)
|
|
2982
|
-
return;
|
|
3183
|
+
if (!expandedVenueItem) return;
|
|
2983
3184
|
const frameId = window.requestAnimationFrame(() => {
|
|
2984
3185
|
var _a2;
|
|
2985
3186
|
updateDescriptionLayout(
|
|
@@ -2993,18 +3194,13 @@ var Settlement = ({
|
|
|
2993
3194
|
};
|
|
2994
3195
|
}, [expandedDescriptionByVenue, resolvedExpandedVenue, updateDescriptionLayout, venues]);
|
|
2995
3196
|
(0, import_react2.useEffect)(() => {
|
|
2996
|
-
if (!resolvedExpandedVenue)
|
|
2997
|
-
|
|
2998
|
-
if (
|
|
2999
|
-
return;
|
|
3000
|
-
if (typeof ResizeObserver === "undefined")
|
|
3001
|
-
return;
|
|
3197
|
+
if (!resolvedExpandedVenue) return;
|
|
3198
|
+
if (expandedDescriptionByVenue[resolvedExpandedVenue]) return;
|
|
3199
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
3002
3200
|
const expandedVenueItem = venues.find((venueItem) => venueItem.venue === resolvedExpandedVenue);
|
|
3003
|
-
if (!expandedVenueItem)
|
|
3004
|
-
return;
|
|
3201
|
+
if (!expandedVenueItem) return;
|
|
3005
3202
|
const descriptionWrapperElement = descriptionWrapperRefs.current.get(resolvedExpandedVenue);
|
|
3006
|
-
if (!descriptionWrapperElement)
|
|
3007
|
-
return;
|
|
3203
|
+
if (!descriptionWrapperElement) return;
|
|
3008
3204
|
const resizeObserver = new ResizeObserver(() => {
|
|
3009
3205
|
var _a2;
|
|
3010
3206
|
updateDescriptionLayout(
|
|
@@ -3021,8 +3217,7 @@ var Settlement = ({
|
|
|
3021
3217
|
const handleDescriptionShowMoreClick = (event, venue) => {
|
|
3022
3218
|
event == null ? void 0 : event.stopPropagation();
|
|
3023
3219
|
setExpandedDescriptionByVenue((currentState) => {
|
|
3024
|
-
if (currentState[venue])
|
|
3025
|
-
return currentState;
|
|
3220
|
+
if (currentState[venue]) return currentState;
|
|
3026
3221
|
return __spreadProps(__spreadValues({}, currentState), {
|
|
3027
3222
|
[venue]: true
|
|
3028
3223
|
});
|
|
@@ -3030,7 +3225,7 @@ var Settlement = ({
|
|
|
3030
3225
|
onShowMore == null ? void 0 : onShowMore(venue);
|
|
3031
3226
|
};
|
|
3032
3227
|
if (isLoading) {
|
|
3033
|
-
return /* @__PURE__ */ (0,
|
|
3228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3034
3229
|
Skeleton,
|
|
3035
3230
|
{
|
|
3036
3231
|
ariaLabel: labels.trading.settlementLoading,
|
|
@@ -3039,7 +3234,7 @@ var Settlement = ({
|
|
|
3039
3234
|
}
|
|
3040
3235
|
);
|
|
3041
3236
|
}
|
|
3042
|
-
return /* @__PURE__ */ (0,
|
|
3237
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3043
3238
|
Card,
|
|
3044
3239
|
{
|
|
3045
3240
|
className: cn(
|
|
@@ -3047,16 +3242,16 @@ var Settlement = ({
|
|
|
3047
3242
|
className
|
|
3048
3243
|
),
|
|
3049
3244
|
children: [
|
|
3050
|
-
/* @__PURE__ */ (0,
|
|
3051
|
-
/* @__PURE__ */ (0,
|
|
3052
|
-
/* @__PURE__ */ (0,
|
|
3245
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: getSettlementHeaderClassName(), children: [
|
|
3246
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: "text-agg-xs font-agg-bold leading-agg-4 uppercase text-agg-muted-foreground", children: resolvedSectionLabel }),
|
|
3247
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: question })
|
|
3053
3248
|
] }),
|
|
3054
|
-
/* @__PURE__ */ (0,
|
|
3055
|
-
/* @__PURE__ */ (0,
|
|
3056
|
-
/* @__PURE__ */ (0,
|
|
3249
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
3250
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: resolvedDifferencesTitle }),
|
|
3251
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("ul", { className: "list-disc pl-5 text-agg-sm leading-agg-5 text-agg-foreground", children: differences.map((difference) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("li", { children: difference }, difference)) })
|
|
3057
3252
|
] }),
|
|
3058
|
-
/* @__PURE__ */ (0,
|
|
3059
|
-
/* @__PURE__ */ (0,
|
|
3253
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "h-px w-full bg-agg-separator" }),
|
|
3254
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex flex-col gap-3", children: venues.map((venue) => {
|
|
3060
3255
|
var _a2, _b2;
|
|
3061
3256
|
const venueLabel = getTradingVenueLabel(venue.venue, venue.label);
|
|
3062
3257
|
const isExpanded = resolvedExpandedVenue === venue.venue;
|
|
@@ -3064,8 +3259,8 @@ var Settlement = ({
|
|
|
3064
3259
|
const isDescriptionOverflowing = !!overflowingDescriptionByVenue[venue.venue];
|
|
3065
3260
|
const shouldShowDescriptionCta = isExpanded && isDescriptionOverflowing && !isDescriptionExpanded;
|
|
3066
3261
|
const resolvedShowMoreLabel = (_a2 = venue.showMoreLabel) != null ? _a2 : "Show more";
|
|
3067
|
-
return /* @__PURE__ */ (0,
|
|
3068
|
-
/* @__PURE__ */ (0,
|
|
3262
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex flex-col", children: [
|
|
3263
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3069
3264
|
"button",
|
|
3070
3265
|
{
|
|
3071
3266
|
type: "button",
|
|
@@ -3085,7 +3280,7 @@ var Settlement = ({
|
|
|
3085
3280
|
handleVenueClick(venue.venue);
|
|
3086
3281
|
},
|
|
3087
3282
|
children: [
|
|
3088
|
-
/* @__PURE__ */ (0,
|
|
3283
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3089
3284
|
VenueLogo,
|
|
3090
3285
|
{
|
|
3091
3286
|
venue: venue.venue,
|
|
@@ -3093,7 +3288,7 @@ var Settlement = ({
|
|
|
3093
3288
|
ariaLabel: venueLabel
|
|
3094
3289
|
}
|
|
3095
3290
|
),
|
|
3096
|
-
/* @__PURE__ */ (0,
|
|
3291
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3097
3292
|
"span",
|
|
3098
3293
|
{
|
|
3099
3294
|
className: cn(
|
|
@@ -3103,7 +3298,7 @@ var Settlement = ({
|
|
|
3103
3298
|
children: venueLabel
|
|
3104
3299
|
}
|
|
3105
3300
|
),
|
|
3106
|
-
/* @__PURE__ */ (0,
|
|
3301
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3107
3302
|
Icon,
|
|
3108
3303
|
{
|
|
3109
3304
|
name: isExpanded ? "chevron-up" : "chevron-down",
|
|
@@ -3115,7 +3310,7 @@ var Settlement = ({
|
|
|
3115
3310
|
]
|
|
3116
3311
|
}
|
|
3117
3312
|
),
|
|
3118
|
-
/* @__PURE__ */ (0,
|
|
3313
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3119
3314
|
"div",
|
|
3120
3315
|
{
|
|
3121
3316
|
"aria-hidden": !isExpanded,
|
|
@@ -3128,17 +3323,17 @@ var Settlement = ({
|
|
|
3128
3323
|
"transition-[grid-template-rows,opacity,margin-top] duration-300 ease-in-out"
|
|
3129
3324
|
)
|
|
3130
3325
|
),
|
|
3131
|
-
children: /* @__PURE__ */ (0,
|
|
3326
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3132
3327
|
"div",
|
|
3133
3328
|
{
|
|
3134
3329
|
ref: (element) => handleDescriptionWrapperRef(venue.venue, element),
|
|
3135
3330
|
className: "relative min-h-0",
|
|
3136
3331
|
children: [
|
|
3137
|
-
/* @__PURE__ */ (0,
|
|
3332
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("p", { className: "min-h-0 text-agg-sm leading-agg-5 text-agg-foreground", children: [
|
|
3138
3333
|
isDescriptionExpanded || !isDescriptionOverflowing ? venue.description : (_b2 = collapsedDescriptionByVenue[venue.venue]) != null ? _b2 : venue.description,
|
|
3139
|
-
shouldShowDescriptionCta ? /* @__PURE__ */ (0,
|
|
3334
|
+
shouldShowDescriptionCta ? /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_jsx_runtime73.Fragment, { children: [
|
|
3140
3335
|
"... ",
|
|
3141
|
-
/* @__PURE__ */ (0,
|
|
3336
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3142
3337
|
"button",
|
|
3143
3338
|
{
|
|
3144
3339
|
type: "button",
|
|
@@ -3161,7 +3356,7 @@ var Settlement = ({
|
|
|
3161
3356
|
)
|
|
3162
3357
|
] }) : null
|
|
3163
3358
|
] }),
|
|
3164
|
-
/* @__PURE__ */ (0,
|
|
3359
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3165
3360
|
"p",
|
|
3166
3361
|
{
|
|
3167
3362
|
ref: (element) => handleDescriptionMeasureRef(venue.venue, element),
|
|
@@ -3234,7 +3429,7 @@ var baseButtonClasses = cn(
|
|
|
3234
3429
|
);
|
|
3235
3430
|
|
|
3236
3431
|
// src/primitives/button/index.tsx
|
|
3237
|
-
var
|
|
3432
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3238
3433
|
var Button = (_a) => {
|
|
3239
3434
|
var _b = _a, {
|
|
3240
3435
|
children,
|
|
@@ -3263,7 +3458,7 @@ var Button = (_a) => {
|
|
|
3263
3458
|
features: { enableAnimations }
|
|
3264
3459
|
} = (0, import_hooks12.useSdkUiConfig)();
|
|
3265
3460
|
const isDisabled = disabled || isLoading;
|
|
3266
|
-
return /* @__PURE__ */ (0,
|
|
3461
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3267
3462
|
"button",
|
|
3268
3463
|
__spreadProps(__spreadValues({
|
|
3269
3464
|
type,
|
|
@@ -3280,7 +3475,7 @@ var Button = (_a) => {
|
|
|
3280
3475
|
"aria-busy": isLoading,
|
|
3281
3476
|
"aria-label": ariaLabel
|
|
3282
3477
|
}, other), {
|
|
3283
|
-
children: isLoading ? /* @__PURE__ */ (0,
|
|
3478
|
+
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3284
3479
|
"span",
|
|
3285
3480
|
{
|
|
3286
3481
|
className: cn(
|
|
@@ -3290,9 +3485,9 @@ var Button = (_a) => {
|
|
|
3290
3485
|
),
|
|
3291
3486
|
"aria-hidden": "true"
|
|
3292
3487
|
}
|
|
3293
|
-
) : /* @__PURE__ */ (0,
|
|
3488
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
|
|
3294
3489
|
prefix != null ? prefix : null,
|
|
3295
|
-
/* @__PURE__ */ (0,
|
|
3490
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { children }),
|
|
3296
3491
|
suffix != null ? suffix : null
|
|
3297
3492
|
] })
|
|
3298
3493
|
})
|
|
@@ -3301,7 +3496,7 @@ var Button = (_a) => {
|
|
|
3301
3496
|
Button.displayName = "Button";
|
|
3302
3497
|
|
|
3303
3498
|
// src/primitives/inline-alert/index.tsx
|
|
3304
|
-
var
|
|
3499
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3305
3500
|
var toneIconName = {
|
|
3306
3501
|
error: "error-filled",
|
|
3307
3502
|
warning: "warning-filled"
|
|
@@ -3328,8 +3523,7 @@ var resolveVariant = ({
|
|
|
3328
3523
|
tone,
|
|
3329
3524
|
variant
|
|
3330
3525
|
}) => {
|
|
3331
|
-
if (variant)
|
|
3332
|
-
return variant;
|
|
3526
|
+
if (variant) return variant;
|
|
3333
3527
|
return tone === "error" ? "surface" : "plain";
|
|
3334
3528
|
};
|
|
3335
3529
|
var InlineAlert = ({
|
|
@@ -3348,7 +3542,7 @@ var InlineAlert = ({
|
|
|
3348
3542
|
});
|
|
3349
3543
|
const hasAction = !!actionLabel && !!onAction;
|
|
3350
3544
|
const { ariaLive, role } = liveRegionConfig[tone];
|
|
3351
|
-
return /* @__PURE__ */ (0,
|
|
3545
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
3352
3546
|
"div",
|
|
3353
3547
|
{
|
|
3354
3548
|
className: cn(
|
|
@@ -3361,7 +3555,7 @@ var InlineAlert = ({
|
|
|
3361
3555
|
"aria-live": ariaLive,
|
|
3362
3556
|
"aria-label": ariaLabel,
|
|
3363
3557
|
children: [
|
|
3364
|
-
/* @__PURE__ */ (0,
|
|
3558
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3365
3559
|
Icon,
|
|
3366
3560
|
{
|
|
3367
3561
|
name: toneIconName[tone],
|
|
@@ -3369,14 +3563,14 @@ var InlineAlert = ({
|
|
|
3369
3563
|
"aria-hidden": "true"
|
|
3370
3564
|
}
|
|
3371
3565
|
),
|
|
3372
|
-
/* @__PURE__ */ (0,
|
|
3566
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3373
3567
|
"div",
|
|
3374
3568
|
{
|
|
3375
3569
|
className: cn(
|
|
3376
3570
|
"min-w-0",
|
|
3377
3571
|
resolvedVariant === "plain" && !hasAction ? "flex-none text-center" : "flex-1"
|
|
3378
3572
|
),
|
|
3379
|
-
children: /* @__PURE__ */ (0,
|
|
3573
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
3380
3574
|
"div",
|
|
3381
3575
|
{
|
|
3382
3576
|
className: cn(
|
|
@@ -3385,14 +3579,14 @@ var InlineAlert = ({
|
|
|
3385
3579
|
resolvedVariant === "plain" && !hasAction ? "items-center" : null
|
|
3386
3580
|
),
|
|
3387
3581
|
children: [
|
|
3388
|
-
title ? /* @__PURE__ */ (0,
|
|
3389
|
-
/* @__PURE__ */ (0,
|
|
3582
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: title }) : null,
|
|
3583
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: message })
|
|
3390
3584
|
]
|
|
3391
3585
|
}
|
|
3392
3586
|
)
|
|
3393
3587
|
}
|
|
3394
3588
|
),
|
|
3395
|
-
hasAction ? /* @__PURE__ */ (0,
|
|
3589
|
+
hasAction ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3396
3590
|
"button",
|
|
3397
3591
|
{
|
|
3398
3592
|
type: "button",
|
|
@@ -3418,7 +3612,7 @@ var import_hooks14 = require("@agg-market/hooks");
|
|
|
3418
3612
|
// src/primitives/select/index.tsx
|
|
3419
3613
|
var import_react3 = require("react");
|
|
3420
3614
|
var import_hooks13 = require("@agg-market/hooks");
|
|
3421
|
-
var
|
|
3615
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3422
3616
|
var Select = ({
|
|
3423
3617
|
items,
|
|
3424
3618
|
value,
|
|
@@ -3438,8 +3632,7 @@ var Select = ({
|
|
|
3438
3632
|
const containerRef = (0, import_react3.useRef)(null);
|
|
3439
3633
|
const close = (0, import_react3.useCallback)(() => setIsOpen(false), []);
|
|
3440
3634
|
(0, import_react3.useEffect)(() => {
|
|
3441
|
-
if (!isOpen)
|
|
3442
|
-
return;
|
|
3635
|
+
if (!isOpen) return;
|
|
3443
3636
|
const handlePointerDown = (e) => {
|
|
3444
3637
|
if (containerRef.current && !containerRef.current.contains(e == null ? void 0 : e.target)) {
|
|
3445
3638
|
close();
|
|
@@ -3449,11 +3642,9 @@ var Select = ({
|
|
|
3449
3642
|
return () => document.removeEventListener("mousedown", handlePointerDown);
|
|
3450
3643
|
}, [isOpen, close]);
|
|
3451
3644
|
(0, import_react3.useEffect)(() => {
|
|
3452
|
-
if (!isOpen)
|
|
3453
|
-
return;
|
|
3645
|
+
if (!isOpen) return;
|
|
3454
3646
|
const handleKey = (e) => {
|
|
3455
|
-
if ((e == null ? void 0 : e.key) === "Escape")
|
|
3456
|
-
close();
|
|
3647
|
+
if ((e == null ? void 0 : e.key) === "Escape") close();
|
|
3457
3648
|
};
|
|
3458
3649
|
document.addEventListener("keydown", handleKey);
|
|
3459
3650
|
return () => document.removeEventListener("keydown", handleKey);
|
|
@@ -3461,8 +3652,8 @@ var Select = ({
|
|
|
3461
3652
|
const isDisabled = disabled || !hasEnabledItems;
|
|
3462
3653
|
const selectedItem = items.find((item) => item.value === value);
|
|
3463
3654
|
if (!hasAnyIcon) {
|
|
3464
|
-
return /* @__PURE__ */ (0,
|
|
3465
|
-
/* @__PURE__ */ (0,
|
|
3655
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
3656
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3466
3657
|
"select",
|
|
3467
3658
|
{
|
|
3468
3659
|
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
@@ -3478,19 +3669,19 @@ var Select = ({
|
|
|
3478
3669
|
disabled: isDisabled,
|
|
3479
3670
|
value,
|
|
3480
3671
|
onChange: (event) => onChange(event.target.value),
|
|
3481
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
3672
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
3482
3673
|
}
|
|
3483
3674
|
),
|
|
3484
|
-
/* @__PURE__ */ (0,
|
|
3675
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.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_runtime76.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
|
|
3485
3676
|
] });
|
|
3486
3677
|
}
|
|
3487
|
-
return /* @__PURE__ */ (0,
|
|
3678
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3488
3679
|
"div",
|
|
3489
3680
|
{
|
|
3490
3681
|
ref: containerRef,
|
|
3491
3682
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
3492
3683
|
children: [
|
|
3493
|
-
/* @__PURE__ */ (0,
|
|
3684
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3494
3685
|
"button",
|
|
3495
3686
|
{
|
|
3496
3687
|
type: "button",
|
|
@@ -3510,7 +3701,7 @@ var Select = ({
|
|
|
3510
3701
|
),
|
|
3511
3702
|
onClick: () => setIsOpen((prev) => !prev),
|
|
3512
3703
|
children: [
|
|
3513
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0,
|
|
3704
|
+
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3514
3705
|
RemoteImage,
|
|
3515
3706
|
{
|
|
3516
3707
|
src: selectedItem.iconUrl,
|
|
@@ -3518,12 +3709,12 @@ var Select = ({
|
|
|
3518
3709
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3519
3710
|
}
|
|
3520
3711
|
) : null,
|
|
3521
|
-
/* @__PURE__ */ (0,
|
|
3712
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
3522
3713
|
]
|
|
3523
3714
|
}
|
|
3524
3715
|
),
|
|
3525
|
-
/* @__PURE__ */ (0,
|
|
3526
|
-
isOpen ? /* @__PURE__ */ (0,
|
|
3716
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.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_runtime76.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
3717
|
+
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3527
3718
|
"div",
|
|
3528
3719
|
{
|
|
3529
3720
|
role: "listbox",
|
|
@@ -3531,7 +3722,7 @@ var Select = ({
|
|
|
3531
3722
|
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",
|
|
3532
3723
|
children: items.map((item) => {
|
|
3533
3724
|
const isSelected = item.value === value;
|
|
3534
|
-
return /* @__PURE__ */ (0,
|
|
3725
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3535
3726
|
"button",
|
|
3536
3727
|
{
|
|
3537
3728
|
type: "button",
|
|
@@ -3551,7 +3742,7 @@ var Select = ({
|
|
|
3551
3742
|
}
|
|
3552
3743
|
},
|
|
3553
3744
|
children: [
|
|
3554
|
-
item.iconUrl ? /* @__PURE__ */ (0,
|
|
3745
|
+
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3555
3746
|
RemoteImage,
|
|
3556
3747
|
{
|
|
3557
3748
|
src: item.iconUrl,
|
|
@@ -3559,7 +3750,7 @@ var Select = ({
|
|
|
3559
3750
|
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
3560
3751
|
}
|
|
3561
3752
|
) : null,
|
|
3562
|
-
/* @__PURE__ */ (0,
|
|
3753
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "truncate", children: item.label })
|
|
3563
3754
|
]
|
|
3564
3755
|
},
|
|
3565
3756
|
item.value
|
|
@@ -3576,12 +3767,10 @@ Select.displayName = "Select";
|
|
|
3576
3767
|
// src/primitives/tabs/tabs.utils.ts
|
|
3577
3768
|
var findNextEnabledIndex = (items, startIndex, direction) => {
|
|
3578
3769
|
var _a;
|
|
3579
|
-
if (items.length === 0)
|
|
3580
|
-
return -1;
|
|
3770
|
+
if (items.length === 0) return -1;
|
|
3581
3771
|
for (let step = 1; step <= items.length; step += 1) {
|
|
3582
3772
|
const nextIndex = (startIndex + direction * step + items.length) % items.length;
|
|
3583
|
-
if (!((_a = items[nextIndex]) == null ? void 0 : _a.disabled))
|
|
3584
|
-
return nextIndex;
|
|
3773
|
+
if (!((_a = items[nextIndex]) == null ? void 0 : _a.disabled)) return nextIndex;
|
|
3585
3774
|
}
|
|
3586
3775
|
return -1;
|
|
3587
3776
|
};
|
|
@@ -3591,14 +3780,13 @@ var findEdgeEnabledIndex = (items, direction) => {
|
|
|
3591
3780
|
return items.findIndex((item) => !item.disabled);
|
|
3592
3781
|
}
|
|
3593
3782
|
for (let index = items.length - 1; index >= 0; index -= 1) {
|
|
3594
|
-
if (!((_a = items[index]) == null ? void 0 : _a.disabled))
|
|
3595
|
-
return index;
|
|
3783
|
+
if (!((_a = items[index]) == null ? void 0 : _a.disabled)) return index;
|
|
3596
3784
|
}
|
|
3597
3785
|
return -1;
|
|
3598
3786
|
};
|
|
3599
3787
|
|
|
3600
3788
|
// src/primitives/tabs/index.tsx
|
|
3601
|
-
var
|
|
3789
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3602
3790
|
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
3603
3791
|
var getTabButtonClassName = ({
|
|
3604
3792
|
enableAnimations,
|
|
@@ -3667,17 +3855,14 @@ var Tabs = ({
|
|
|
3667
3855
|
const tabListRef = (0, import_react4.useRef)(null);
|
|
3668
3856
|
const isBarVariant = variant === "bar";
|
|
3669
3857
|
const resolvedOverflowBehavior = (0, import_react4.useMemo)(() => {
|
|
3670
|
-
if (overflowBehavior)
|
|
3671
|
-
|
|
3672
|
-
if (!isBarVariant)
|
|
3673
|
-
return "scroll";
|
|
3858
|
+
if (overflowBehavior) return overflowBehavior;
|
|
3859
|
+
if (!isBarVariant) return "scroll";
|
|
3674
3860
|
return isMobileViewport ? "select" : "scroll";
|
|
3675
3861
|
}, [isBarVariant, isMobileViewport, overflowBehavior]);
|
|
3676
3862
|
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
3677
3863
|
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
3678
3864
|
(0, import_react4.useEffect)(() => {
|
|
3679
|
-
if (typeof window === "undefined")
|
|
3680
|
-
return;
|
|
3865
|
+
if (typeof window === "undefined") return;
|
|
3681
3866
|
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
3682
3867
|
const handleMediaQueryChange = (event) => {
|
|
3683
3868
|
setIsMobileViewport(event.matches);
|
|
@@ -3703,8 +3888,7 @@ var Tabs = ({
|
|
|
3703
3888
|
return;
|
|
3704
3889
|
}
|
|
3705
3890
|
const tabListElement = tabListRef.current;
|
|
3706
|
-
if (!tabListElement)
|
|
3707
|
-
return;
|
|
3891
|
+
if (!tabListElement) return;
|
|
3708
3892
|
const maxScrollLeft = tabListElement.scrollWidth - tabListElement.clientWidth;
|
|
3709
3893
|
setScrollAffordanceState({
|
|
3710
3894
|
showStart: tabListElement.scrollLeft > 4,
|
|
@@ -3721,17 +3905,14 @@ var Tabs = ({
|
|
|
3721
3905
|
}, [items]);
|
|
3722
3906
|
const isSelectDisabled = !items.some((item) => !item.disabled);
|
|
3723
3907
|
const handleSelect = (nextValue) => {
|
|
3724
|
-
if (nextValue === value)
|
|
3725
|
-
return;
|
|
3908
|
+
if (nextValue === value) return;
|
|
3726
3909
|
onChange(nextValue);
|
|
3727
3910
|
};
|
|
3728
3911
|
const handleMoveFocus = (index) => {
|
|
3729
3912
|
var _a;
|
|
3730
|
-
if (index < 0)
|
|
3731
|
-
return;
|
|
3913
|
+
if (index < 0) return;
|
|
3732
3914
|
const nextItem = renderedItems[index];
|
|
3733
|
-
if (!nextItem)
|
|
3734
|
-
return;
|
|
3915
|
+
if (!nextItem) return;
|
|
3735
3916
|
handleSelect(nextItem.value);
|
|
3736
3917
|
(_a = buttonRefs.current[index]) == null ? void 0 : _a.focus();
|
|
3737
3918
|
};
|
|
@@ -3773,28 +3954,20 @@ var Tabs = ({
|
|
|
3773
3954
|
shouldUseOverflowScroll && (isDraggingTabs ? "cursor-grabbing" : "cursor-grab")
|
|
3774
3955
|
);
|
|
3775
3956
|
const handleTabListWheel = (event) => {
|
|
3776
|
-
if (!shouldUseOverflowScroll)
|
|
3777
|
-
return;
|
|
3957
|
+
if (!shouldUseOverflowScroll) return;
|
|
3778
3958
|
const tabListElement = event.currentTarget;
|
|
3779
|
-
if (tabListElement.scrollWidth <= tabListElement.clientWidth)
|
|
3780
|
-
|
|
3781
|
-
if (Math.abs(event.deltaX) > Math.abs(event.deltaY))
|
|
3782
|
-
return;
|
|
3959
|
+
if (tabListElement.scrollWidth <= tabListElement.clientWidth) return;
|
|
3960
|
+
if (Math.abs(event.deltaX) > Math.abs(event.deltaY)) return;
|
|
3783
3961
|
event.preventDefault();
|
|
3784
3962
|
tabListElement.scrollLeft += event.deltaY;
|
|
3785
3963
|
};
|
|
3786
3964
|
const handleTabListPointerDown = (event) => {
|
|
3787
|
-
if (!shouldUseOverflowScroll)
|
|
3788
|
-
|
|
3789
|
-
if (event.
|
|
3790
|
-
return;
|
|
3791
|
-
if (event.button !== 0)
|
|
3792
|
-
return;
|
|
3965
|
+
if (!shouldUseOverflowScroll) return;
|
|
3966
|
+
if (event.pointerType !== "mouse") return;
|
|
3967
|
+
if (event.button !== 0) return;
|
|
3793
3968
|
const tabListElement = tabListRef.current;
|
|
3794
|
-
if (!tabListElement)
|
|
3795
|
-
|
|
3796
|
-
if (tabListElement.scrollWidth <= tabListElement.clientWidth)
|
|
3797
|
-
return;
|
|
3969
|
+
if (!tabListElement) return;
|
|
3970
|
+
if (tabListElement.scrollWidth <= tabListElement.clientWidth) return;
|
|
3798
3971
|
dragStateRef.current = {
|
|
3799
3972
|
isPointerDown: true,
|
|
3800
3973
|
isDragging: false,
|
|
@@ -3805,16 +3978,12 @@ var Tabs = ({
|
|
|
3805
3978
|
};
|
|
3806
3979
|
};
|
|
3807
3980
|
const handleTabListPointerMove = (event) => {
|
|
3808
|
-
if (!shouldUseOverflowScroll)
|
|
3809
|
-
return;
|
|
3981
|
+
if (!shouldUseOverflowScroll) return;
|
|
3810
3982
|
const dragState = dragStateRef.current;
|
|
3811
3983
|
const tabListElement = tabListRef.current;
|
|
3812
|
-
if (!dragState.isPointerDown)
|
|
3813
|
-
|
|
3814
|
-
if (
|
|
3815
|
-
return;
|
|
3816
|
-
if (!tabListElement)
|
|
3817
|
-
return;
|
|
3984
|
+
if (!dragState.isPointerDown) return;
|
|
3985
|
+
if (dragState.pointerId !== event.pointerId) return;
|
|
3986
|
+
if (!tabListElement) return;
|
|
3818
3987
|
const deltaX = event.clientX - dragState.startClientX;
|
|
3819
3988
|
const deltaY = event.clientY - dragState.startClientY;
|
|
3820
3989
|
const horizontalDistance = Math.abs(deltaX);
|
|
@@ -3825,18 +3994,15 @@ var Tabs = ({
|
|
|
3825
3994
|
setIsDraggingTabs(true);
|
|
3826
3995
|
tabListElement.setPointerCapture(event.pointerId);
|
|
3827
3996
|
}
|
|
3828
|
-
if (!dragState.isDragging)
|
|
3829
|
-
return;
|
|
3997
|
+
if (!dragState.isDragging) return;
|
|
3830
3998
|
event.preventDefault();
|
|
3831
3999
|
tabListElement.scrollLeft = dragState.startScrollLeft - deltaX;
|
|
3832
4000
|
};
|
|
3833
4001
|
const handleEndTabListDrag = (event) => {
|
|
3834
4002
|
const dragState = dragStateRef.current;
|
|
3835
4003
|
const tabListElement = tabListRef.current;
|
|
3836
|
-
if (!dragState.isPointerDown)
|
|
3837
|
-
|
|
3838
|
-
if (dragState.pointerId !== event.pointerId)
|
|
3839
|
-
return;
|
|
4004
|
+
if (!dragState.isPointerDown) return;
|
|
4005
|
+
if (dragState.pointerId !== event.pointerId) return;
|
|
3840
4006
|
if (tabListElement == null ? void 0 : tabListElement.hasPointerCapture(event.pointerId)) {
|
|
3841
4007
|
tabListElement.releasePointerCapture(event.pointerId);
|
|
3842
4008
|
}
|
|
@@ -3857,8 +4023,7 @@ var Tabs = ({
|
|
|
3857
4023
|
setIsDraggingTabs(false);
|
|
3858
4024
|
};
|
|
3859
4025
|
const handleTabListClickCapture = (event) => {
|
|
3860
|
-
if (!suppressClickRef.current)
|
|
3861
|
-
return;
|
|
4026
|
+
if (!suppressClickRef.current) return;
|
|
3862
4027
|
event == null ? void 0 : event.preventDefault();
|
|
3863
4028
|
event == null ? void 0 : event.stopPropagation();
|
|
3864
4029
|
suppressClickRef.current = false;
|
|
@@ -3890,11 +4055,9 @@ var Tabs = ({
|
|
|
3890
4055
|
updateActiveUnderline();
|
|
3891
4056
|
}, [updateActiveUnderline]);
|
|
3892
4057
|
(0, import_react4.useEffect)(() => {
|
|
3893
|
-
if (isBarVariant || !shouldUseOverflowScroll)
|
|
3894
|
-
return;
|
|
4058
|
+
if (isBarVariant || !shouldUseOverflowScroll) return;
|
|
3895
4059
|
const tabListElement = tabListRef.current;
|
|
3896
|
-
if (!tabListElement)
|
|
3897
|
-
return;
|
|
4060
|
+
if (!tabListElement) return;
|
|
3898
4061
|
const handleScroll = () => {
|
|
3899
4062
|
updateActiveUnderline();
|
|
3900
4063
|
updateScrollAffordances();
|
|
@@ -3906,18 +4069,14 @@ var Tabs = ({
|
|
|
3906
4069
|
};
|
|
3907
4070
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
3908
4071
|
(0, import_react4.useEffect)(() => {
|
|
3909
|
-
if (!shouldUseOverflowScroll)
|
|
3910
|
-
return;
|
|
4072
|
+
if (!shouldUseOverflowScroll) return;
|
|
3911
4073
|
updateScrollAffordances();
|
|
3912
4074
|
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
3913
4075
|
(0, import_react4.useEffect)(() => {
|
|
3914
|
-
if (isBarVariant && !shouldUseOverflowScroll)
|
|
3915
|
-
|
|
3916
|
-
if (typeof ResizeObserver === "undefined")
|
|
3917
|
-
return;
|
|
4076
|
+
if (isBarVariant && !shouldUseOverflowScroll) return;
|
|
4077
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
3918
4078
|
const tabListElement = tabListRef.current;
|
|
3919
|
-
if (!tabListElement)
|
|
3920
|
-
return;
|
|
4079
|
+
if (!tabListElement) return;
|
|
3921
4080
|
const resizeObserver = new ResizeObserver(() => {
|
|
3922
4081
|
updateActiveUnderline();
|
|
3923
4082
|
updateScrollAffordances();
|
|
@@ -3928,17 +4087,13 @@ var Tabs = ({
|
|
|
3928
4087
|
};
|
|
3929
4088
|
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
3930
4089
|
(0, import_react4.useEffect)(() => {
|
|
3931
|
-
if (!shouldUseOverflowScroll)
|
|
3932
|
-
return;
|
|
4090
|
+
if (!shouldUseOverflowScroll) return;
|
|
3933
4091
|
const tabListElement = tabListRef.current;
|
|
3934
|
-
if (!tabListElement)
|
|
3935
|
-
return;
|
|
4092
|
+
if (!tabListElement) return;
|
|
3936
4093
|
const activeIndex = renderedItems.findIndex((item) => item.value === value);
|
|
3937
4094
|
const activeButton = activeIndex >= 0 ? buttonRefs.current[activeIndex] : null;
|
|
3938
|
-
if (!activeButton)
|
|
3939
|
-
|
|
3940
|
-
if (tabListElement.scrollWidth - tabListElement.clientWidth <= 1)
|
|
3941
|
-
return;
|
|
4095
|
+
if (!activeButton) return;
|
|
4096
|
+
if (tabListElement.scrollWidth - tabListElement.clientWidth <= 1) return;
|
|
3942
4097
|
const currentScrollLeft = tabListElement.scrollLeft;
|
|
3943
4098
|
const currentScrollRight = currentScrollLeft + tabListElement.clientWidth;
|
|
3944
4099
|
const activeButtonLeft = activeButton.offsetLeft;
|
|
@@ -3949,15 +4104,14 @@ var Tabs = ({
|
|
|
3949
4104
|
} else if (activeButtonRight > currentScrollRight) {
|
|
3950
4105
|
nextScrollLeft = activeButtonRight - tabListElement.clientWidth;
|
|
3951
4106
|
}
|
|
3952
|
-
if (Math.abs(nextScrollLeft - currentScrollLeft) < 1)
|
|
3953
|
-
return;
|
|
4107
|
+
if (Math.abs(nextScrollLeft - currentScrollLeft) < 1) return;
|
|
3954
4108
|
tabListElement.scrollTo({
|
|
3955
4109
|
left: Math.max(0, nextScrollLeft),
|
|
3956
4110
|
behavior: getScrollBehavior(enableAnimations)
|
|
3957
4111
|
});
|
|
3958
4112
|
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
3959
4113
|
if (shouldUseOverflowSelect) {
|
|
3960
|
-
return /* @__PURE__ */ (0,
|
|
4114
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3961
4115
|
Select,
|
|
3962
4116
|
{
|
|
3963
4117
|
ariaLabel,
|
|
@@ -3969,7 +4123,7 @@ var Tabs = ({
|
|
|
3969
4123
|
}
|
|
3970
4124
|
) });
|
|
3971
4125
|
}
|
|
3972
|
-
return /* @__PURE__ */ (0,
|
|
4126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3973
4127
|
"div",
|
|
3974
4128
|
{
|
|
3975
4129
|
className: cn(
|
|
@@ -3980,7 +4134,7 @@ var Tabs = ({
|
|
|
3980
4134
|
classNames == null ? void 0 : classNames.root
|
|
3981
4135
|
),
|
|
3982
4136
|
children: [
|
|
3983
|
-
/* @__PURE__ */ (0,
|
|
4137
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3984
4138
|
"div",
|
|
3985
4139
|
{
|
|
3986
4140
|
ref: tabListRef,
|
|
@@ -3996,7 +4150,7 @@ var Tabs = ({
|
|
|
3996
4150
|
children: [
|
|
3997
4151
|
renderedItems.map((item, index) => {
|
|
3998
4152
|
const isActive = item.value === value;
|
|
3999
|
-
return /* @__PURE__ */ (0,
|
|
4153
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
4000
4154
|
"button",
|
|
4001
4155
|
{
|
|
4002
4156
|
ref: (buttonElement) => {
|
|
@@ -4025,7 +4179,7 @@ var Tabs = ({
|
|
|
4025
4179
|
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
4026
4180
|
),
|
|
4027
4181
|
children: [
|
|
4028
|
-
isBarVariant ? /* @__PURE__ */ (0,
|
|
4182
|
+
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_jsx_runtime77.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
4029
4183
|
"span",
|
|
4030
4184
|
{
|
|
4031
4185
|
"aria-hidden": true,
|
|
@@ -4039,8 +4193,8 @@ var Tabs = ({
|
|
|
4039
4193
|
)
|
|
4040
4194
|
}
|
|
4041
4195
|
) }) : null,
|
|
4042
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
4043
|
-
/* @__PURE__ */ (0,
|
|
4196
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center empty:hidden", children: item.icon }) : null,
|
|
4197
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
4044
4198
|
"span",
|
|
4045
4199
|
{
|
|
4046
4200
|
className: cn(
|
|
@@ -4055,7 +4209,7 @@ var Tabs = ({
|
|
|
4055
4209
|
item.value
|
|
4056
4210
|
);
|
|
4057
4211
|
}),
|
|
4058
|
-
!isBarVariant ? /* @__PURE__ */ (0,
|
|
4212
|
+
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
4059
4213
|
"span",
|
|
4060
4214
|
{
|
|
4061
4215
|
"aria-hidden": true,
|
|
@@ -4073,8 +4227,8 @@ var Tabs = ({
|
|
|
4073
4227
|
]
|
|
4074
4228
|
}
|
|
4075
4229
|
),
|
|
4076
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0,
|
|
4077
|
-
/* @__PURE__ */ (0,
|
|
4230
|
+
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
|
|
4231
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
4078
4232
|
"span",
|
|
4079
4233
|
{
|
|
4080
4234
|
"aria-hidden": true,
|
|
@@ -4085,7 +4239,7 @@ var Tabs = ({
|
|
|
4085
4239
|
)
|
|
4086
4240
|
}
|
|
4087
4241
|
),
|
|
4088
|
-
/* @__PURE__ */ (0,
|
|
4242
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
4089
4243
|
"span",
|
|
4090
4244
|
{
|
|
4091
4245
|
"aria-hidden": true,
|
|
@@ -4104,7 +4258,7 @@ var Tabs = ({
|
|
|
4104
4258
|
Tabs.displayName = "Tabs";
|
|
4105
4259
|
|
|
4106
4260
|
// src/trading/place-order/index.tsx
|
|
4107
|
-
var
|
|
4261
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
4108
4262
|
var getPlaceOrderContainerClassName = () => {
|
|
4109
4263
|
return "overflow-hidden rounded-agg-xl border border-agg-border bg-agg-secondary shadow-none hover:shadow-none";
|
|
4110
4264
|
};
|
|
@@ -4115,17 +4269,14 @@ var getRoutingCardClassName = (isHighlighted) => {
|
|
|
4115
4269
|
return "border-agg-trade-highlight-border bg-agg-trade-highlight-surface";
|
|
4116
4270
|
};
|
|
4117
4271
|
var getResultValueClassName = (tone) => {
|
|
4118
|
-
if (tone === "default")
|
|
4119
|
-
return "text-agg-foreground";
|
|
4272
|
+
if (tone === "default") return "text-agg-foreground";
|
|
4120
4273
|
return "text-agg-success";
|
|
4121
4274
|
};
|
|
4122
4275
|
var negativeOutcomePattern = /\b(no|down|against|under|lose|false)\b/i;
|
|
4123
4276
|
var resolveIsPositiveOutcome = (outcome, index) => {
|
|
4124
4277
|
const outcomeText = `${outcome.id} ${outcome.label}`;
|
|
4125
|
-
if (negativeOutcomePattern.test(outcomeText))
|
|
4126
|
-
|
|
4127
|
-
if (index === 1)
|
|
4128
|
-
return false;
|
|
4278
|
+
if (negativeOutcomePattern.test(outcomeText)) return false;
|
|
4279
|
+
if (index === 1) return false;
|
|
4129
4280
|
return true;
|
|
4130
4281
|
};
|
|
4131
4282
|
var getOutcomeButtonClassName = ({
|
|
@@ -4144,12 +4295,11 @@ var getStatusContent = ({
|
|
|
4144
4295
|
status,
|
|
4145
4296
|
onStatusAction
|
|
4146
4297
|
}) => {
|
|
4147
|
-
if (!status || status.placement !== placement)
|
|
4148
|
-
return null;
|
|
4298
|
+
if (!status || status.placement !== placement) return null;
|
|
4149
4299
|
if (status.tone === "warning") {
|
|
4150
|
-
return /* @__PURE__ */ (0,
|
|
4300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(InlineAlert, { tone: "warning", message: status.message });
|
|
4151
4301
|
}
|
|
4152
|
-
return /* @__PURE__ */ (0,
|
|
4302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4153
4303
|
InlineAlert,
|
|
4154
4304
|
{
|
|
4155
4305
|
tone: "error",
|
|
@@ -4191,7 +4341,7 @@ var PlaceOrder = ({
|
|
|
4191
4341
|
const labels = (0, import_hooks15.useLabels)();
|
|
4192
4342
|
const resolvedDisclaimer = disclaimer === defaultTradingDisclaimer ? labels.trading.disclaimer : disclaimer;
|
|
4193
4343
|
if (isLoading) {
|
|
4194
|
-
return /* @__PURE__ */ (0,
|
|
4344
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4195
4345
|
Skeleton,
|
|
4196
4346
|
{
|
|
4197
4347
|
ariaLabel: labels.common.loading,
|
|
@@ -4230,7 +4380,7 @@ var PlaceOrder = ({
|
|
|
4230
4380
|
}
|
|
4231
4381
|
onOutcomeChange == null ? void 0 : onOutcomeChange(nextOutcomeId);
|
|
4232
4382
|
};
|
|
4233
|
-
const actionButton = /* @__PURE__ */ (0,
|
|
4383
|
+
const actionButton = /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4234
4384
|
Button,
|
|
4235
4385
|
{
|
|
4236
4386
|
size: "large",
|
|
@@ -4242,11 +4392,11 @@ var PlaceOrder = ({
|
|
|
4242
4392
|
children: actionLabel
|
|
4243
4393
|
}
|
|
4244
4394
|
);
|
|
4245
|
-
const contentBody = /* @__PURE__ */ (0,
|
|
4246
|
-
/* @__PURE__ */ (0,
|
|
4247
|
-
/* @__PURE__ */ (0,
|
|
4248
|
-
/* @__PURE__ */ (0,
|
|
4249
|
-
marketImageUrl ? /* @__PURE__ */ (0,
|
|
4395
|
+
const contentBody = /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col gap-6 p-5", children: [
|
|
4396
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
4397
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex items-start justify-between gap-5", children: [
|
|
4398
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-3", children: [
|
|
4399
|
+
marketImageUrl ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4250
4400
|
RemoteImage,
|
|
4251
4401
|
{
|
|
4252
4402
|
src: marketImageUrl,
|
|
@@ -4254,16 +4404,16 @@ var PlaceOrder = ({
|
|
|
4254
4404
|
className: "h-12 w-12 shrink-0 rounded-agg-lg object-cover"
|
|
4255
4405
|
}
|
|
4256
4406
|
) : null,
|
|
4257
|
-
/* @__PURE__ */ (0,
|
|
4407
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "min-w-0 text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: title })
|
|
4258
4408
|
] }),
|
|
4259
|
-
isDismissible ? /* @__PURE__ */ (0,
|
|
4409
|
+
isDismissible ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4260
4410
|
"button",
|
|
4261
4411
|
{
|
|
4262
4412
|
type: "button",
|
|
4263
4413
|
"aria-label": labels.common.close,
|
|
4264
4414
|
className: "shrink-0 text-agg-foreground",
|
|
4265
4415
|
onClick: onClose,
|
|
4266
|
-
children: /* @__PURE__ */ (0,
|
|
4416
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4267
4417
|
Icon,
|
|
4268
4418
|
{
|
|
4269
4419
|
name: "close",
|
|
@@ -4275,9 +4425,9 @@ var PlaceOrder = ({
|
|
|
4275
4425
|
}
|
|
4276
4426
|
) : null
|
|
4277
4427
|
] }),
|
|
4278
|
-
/* @__PURE__ */ (0,
|
|
4428
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: dateLabel })
|
|
4279
4429
|
] }),
|
|
4280
|
-
/* @__PURE__ */ (0,
|
|
4430
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4281
4431
|
Tabs,
|
|
4282
4432
|
{
|
|
4283
4433
|
ariaLabel: labels.common.tabsAria,
|
|
@@ -4293,11 +4443,11 @@ var PlaceOrder = ({
|
|
|
4293
4443
|
}
|
|
4294
4444
|
}
|
|
4295
4445
|
),
|
|
4296
|
-
/* @__PURE__ */ (0,
|
|
4297
|
-
/* @__PURE__ */ (0,
|
|
4446
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
4447
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "flex w-full gap-2", children: outcomes.map((outcome, index) => {
|
|
4298
4448
|
const isActive = outcome.id === resolvedOutcomeId;
|
|
4299
4449
|
const isPositive = resolveIsPositiveOutcome(outcome, index);
|
|
4300
|
-
return /* @__PURE__ */ (0,
|
|
4450
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4301
4451
|
"button",
|
|
4302
4452
|
{
|
|
4303
4453
|
type: "button",
|
|
@@ -4314,16 +4464,16 @@ var PlaceOrder = ({
|
|
|
4314
4464
|
outcome.id
|
|
4315
4465
|
);
|
|
4316
4466
|
}) }),
|
|
4317
|
-
/* @__PURE__ */ (0,
|
|
4318
|
-
/* @__PURE__ */ (0,
|
|
4319
|
-
/* @__PURE__ */ (0,
|
|
4320
|
-
/* @__PURE__ */ (0,
|
|
4467
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
4468
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col", children: [
|
|
4469
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: primaryMetric.label }),
|
|
4470
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: primaryMetric.hint })
|
|
4321
4471
|
] }),
|
|
4322
|
-
/* @__PURE__ */ (0,
|
|
4472
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-agg-3xl font-agg-bold leading-agg-9 text-agg-foreground", children: primaryMetric.value })
|
|
4323
4473
|
] })
|
|
4324
4474
|
] }),
|
|
4325
|
-
/* @__PURE__ */ (0,
|
|
4326
|
-
/* @__PURE__ */ (0,
|
|
4475
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
4476
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
4327
4477
|
"div",
|
|
4328
4478
|
{
|
|
4329
4479
|
className: cn(
|
|
@@ -4331,7 +4481,7 @@ var PlaceOrder = ({
|
|
|
4331
4481
|
getRoutingCardClassName(hasHighlightedRouting)
|
|
4332
4482
|
),
|
|
4333
4483
|
children: [
|
|
4334
|
-
/* @__PURE__ */ (0,
|
|
4484
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4335
4485
|
"div",
|
|
4336
4486
|
{
|
|
4337
4487
|
className: cn(
|
|
@@ -4340,11 +4490,11 @@ var PlaceOrder = ({
|
|
|
4340
4490
|
)
|
|
4341
4491
|
}
|
|
4342
4492
|
),
|
|
4343
|
-
/* @__PURE__ */ (0,
|
|
4344
|
-
routing.rows.map((row, index) => /* @__PURE__ */ (0,
|
|
4345
|
-
/* @__PURE__ */ (0,
|
|
4346
|
-
/* @__PURE__ */ (0,
|
|
4347
|
-
/* @__PURE__ */ (0,
|
|
4493
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "relative flex flex-col gap-3", children: [
|
|
4494
|
+
routing.rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
4495
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
4496
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
4497
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4348
4498
|
VenueLogo,
|
|
4349
4499
|
{
|
|
4350
4500
|
venue: row.venue,
|
|
@@ -4352,11 +4502,11 @@ var PlaceOrder = ({
|
|
|
4352
4502
|
ariaLabel: getTradingVenueLabel(row.venue)
|
|
4353
4503
|
}
|
|
4354
4504
|
),
|
|
4355
|
-
/* @__PURE__ */ (0,
|
|
4505
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "truncate text-agg-base leading-agg-6 text-agg-foreground", children: row.label })
|
|
4356
4506
|
] }),
|
|
4357
|
-
/* @__PURE__ */ (0,
|
|
4507
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "shrink-0 text-agg-base leading-agg-6 text-agg-foreground", children: row.priceLabel })
|
|
4358
4508
|
] }),
|
|
4359
|
-
index < routing.rows.length - 1 ? /* @__PURE__ */ (0,
|
|
4509
|
+
index < routing.rows.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4360
4510
|
"div",
|
|
4361
4511
|
{
|
|
4362
4512
|
className: cn(
|
|
@@ -4366,19 +4516,19 @@ var PlaceOrder = ({
|
|
|
4366
4516
|
}
|
|
4367
4517
|
) : null
|
|
4368
4518
|
] }, `${row.venue}-${row.label}`)),
|
|
4369
|
-
routing.highlightLabel ? /* @__PURE__ */ (0,
|
|
4519
|
+
routing.highlightLabel ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-center text-agg-sm font-agg-bold leading-agg-5 uppercase text-agg-trade-highlight-accent", children: routing.highlightLabel }) : null
|
|
4370
4520
|
] })
|
|
4371
4521
|
]
|
|
4372
4522
|
}
|
|
4373
4523
|
),
|
|
4374
|
-
/* @__PURE__ */ (0,
|
|
4524
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: routing.helperLabel })
|
|
4375
4525
|
] }),
|
|
4376
|
-
/* @__PURE__ */ (0,
|
|
4377
|
-
/* @__PURE__ */ (0,
|
|
4378
|
-
/* @__PURE__ */ (0,
|
|
4379
|
-
/* @__PURE__ */ (0,
|
|
4526
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
4527
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col", children: [
|
|
4528
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: result.label }),
|
|
4529
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-muted-foreground", children: result.hint })
|
|
4380
4530
|
] }),
|
|
4381
|
-
/* @__PURE__ */ (0,
|
|
4531
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
4382
4532
|
"p",
|
|
4383
4533
|
{
|
|
4384
4534
|
className: cn(
|
|
@@ -4389,7 +4539,7 @@ var PlaceOrder = ({
|
|
|
4389
4539
|
}
|
|
4390
4540
|
)
|
|
4391
4541
|
] }),
|
|
4392
|
-
/* @__PURE__ */ (0,
|
|
4542
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
|
|
4393
4543
|
getStatusContent({
|
|
4394
4544
|
placement: "above-action",
|
|
4395
4545
|
status,
|
|
@@ -4402,9 +4552,9 @@ var PlaceOrder = ({
|
|
|
4402
4552
|
onStatusAction
|
|
4403
4553
|
})
|
|
4404
4554
|
] }),
|
|
4405
|
-
/* @__PURE__ */ (0,
|
|
4555
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-center text-agg-xs leading-agg-4 text-agg-muted-foreground", children: resolvedDisclaimer })
|
|
4406
4556
|
] });
|
|
4407
|
-
return /* @__PURE__ */ (0,
|
|
4557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Card, { className: cn(getPlaceOrderContainerClassName(), className), children: contentBody });
|
|
4408
4558
|
};
|
|
4409
4559
|
PlaceOrder.displayName = "PlaceOrder";
|
|
4410
4560
|
// Annotate the CommonJS export names for ESM import in node:
|