@agg-build/ui 1.0.2 → 1.2.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 -1
- package/dist/{chunk-TLGQ4LID.mjs → chunk-34L7ZKJW.mjs} +836 -771
- package/dist/{chunk-YSCHNVBZ.mjs → chunk-5FXMHTVR.mjs} +2 -2
- package/dist/{chunk-3IY2GA2D.mjs → chunk-CDQZJPHQ.mjs} +604 -353
- package/dist/{chunk-4ILR2YH3.mjs → chunk-EGCVA2AQ.mjs} +23 -8
- package/dist/{chunk-XDZLCWUZ.mjs → chunk-FDTLV74F.mjs} +130 -28
- package/dist/{chunk-WFS772A3.mjs → chunk-Q2BRDVBU.mjs} +1 -1
- package/dist/{chunk-PEVG67XU.mjs → chunk-TBKDLNOE.mjs} +27 -16
- package/dist/events.js +987 -901
- package/dist/events.mjs +3 -3
- package/dist/index.js +3021 -2576
- package/dist/index.mjs +19 -15
- package/dist/modals.js +848 -788
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +2298 -1857
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +832 -768
- package/dist/primitives.mjs +5 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +937 -654
- package/dist/trading.mjs +4 -4
- package/dist/types/events/market-details/index.d.mts +1 -1
- package/dist/types/events/market-details/index.d.ts +1 -1
- package/dist/types/events/market-details/market-details.types.d.mts +11 -0
- package/dist/types/events/market-details/market-details.types.d.ts +11 -0
- package/dist/types/pages/user-profile/components/available-balance-card.d.mts +0 -1
- package/dist/types/pages/user-profile/components/available-balance-card.d.ts +0 -1
- package/dist/types/pages/user-profile/position-view-model.d.mts +54 -0
- package/dist/types/pages/user-profile/position-view-model.d.ts +54 -0
- package/dist/types/pages/user-profile/user-profile.types.d.mts +22 -0
- package/dist/types/pages/user-profile/user-profile.types.d.ts +22 -0
- package/dist/types/primitives/icon/icon.types.d.mts +1 -2
- package/dist/types/primitives/icon/icon.types.d.ts +1 -2
- package/dist/types/primitives/icon/index.d.mts +3 -1
- package/dist/types/primitives/icon/index.d.ts +3 -1
- package/dist/types/primitives/icon/registry.d.mts +8 -0
- package/dist/types/primitives/icon/registry.d.ts +8 -0
- package/dist/types/primitives/icon/svg/hourglass-start.d.mts +5 -0
- package/dist/types/primitives/icon/svg/hourglass-start.d.ts +5 -0
- package/dist/types/primitives/icon/svg/lock.d.mts +5 -0
- package/dist/types/primitives/icon/svg/lock.d.ts +5 -0
- package/dist/types/shared/utils.d.mts +5 -1
- package/dist/types/shared/utils.d.ts +5 -1
- package/package.json +3 -3
package/dist/modals.js
CHANGED
|
@@ -2231,8 +2231,41 @@ var GoogleIcon = (_a) => {
|
|
|
2231
2231
|
};
|
|
2232
2232
|
GoogleIcon.displayName = "GoogleIcon";
|
|
2233
2233
|
|
|
2234
|
-
// src/primitives/icon/svg/
|
|
2234
|
+
// src/primitives/icon/svg/hourglass-start.tsx
|
|
2235
2235
|
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2236
|
+
var HourglassStartIcon = (_a) => {
|
|
2237
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2238
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
2239
|
+
"svg",
|
|
2240
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2241
|
+
width: "16",
|
|
2242
|
+
height: "16",
|
|
2243
|
+
viewBox: "0 0 16 16",
|
|
2244
|
+
fill: "none",
|
|
2245
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2246
|
+
className
|
|
2247
|
+
}, getIconA11yProps(title)), props), {
|
|
2248
|
+
children: [
|
|
2249
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
|
|
2250
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2251
|
+
"path",
|
|
2252
|
+
{
|
|
2253
|
+
d: "M4.25 1.5H11.75M4.25 14.5H11.75M5 1.5V4.6C5 5.2 5.27 5.76 5.73 6.14L8 8L5.73 9.86C5.27 10.24 5 10.8 5 11.4V14.5M11 1.5V4.6C11 5.2 10.73 5.76 10.27 6.14L8 8L10.27 9.86C10.73 10.24 11 10.8 11 11.4V14.5",
|
|
2254
|
+
stroke: "currentColor",
|
|
2255
|
+
strokeWidth: "1.4",
|
|
2256
|
+
strokeLinecap: "round",
|
|
2257
|
+
strokeLinejoin: "round"
|
|
2258
|
+
}
|
|
2259
|
+
),
|
|
2260
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("path", { d: "M6.75 4.25H9.25L8 5.25L6.75 4.25Z", fill: "currentColor" })
|
|
2261
|
+
]
|
|
2262
|
+
})
|
|
2263
|
+
);
|
|
2264
|
+
};
|
|
2265
|
+
HourglassStartIcon.displayName = "HourglassStartIcon";
|
|
2266
|
+
|
|
2267
|
+
// src/primitives/icon/svg/image.tsx
|
|
2268
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2236
2269
|
var ImageIcon = (_a) => {
|
|
2237
2270
|
var _b = _a, {
|
|
2238
2271
|
title,
|
|
@@ -2243,7 +2276,7 @@ var ImageIcon = (_a) => {
|
|
|
2243
2276
|
"className",
|
|
2244
2277
|
"isDarkTheme"
|
|
2245
2278
|
]);
|
|
2246
|
-
return /* @__PURE__ */ (0,
|
|
2279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
2247
2280
|
"svg",
|
|
2248
2281
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2249
2282
|
viewBox: "0 0 40 40",
|
|
@@ -2251,9 +2284,9 @@ var ImageIcon = (_a) => {
|
|
|
2251
2284
|
fill: "none"
|
|
2252
2285
|
}, getIconA11yProps(title)), props), {
|
|
2253
2286
|
children: [
|
|
2254
|
-
title ? /* @__PURE__ */ (0,
|
|
2255
|
-
/* @__PURE__ */ (0,
|
|
2256
|
-
/* @__PURE__ */ (0,
|
|
2287
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
|
|
2288
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("rect", { width: "40", height: "40", fill: "currentColor" }),
|
|
2289
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
2257
2290
|
"path",
|
|
2258
2291
|
{
|
|
2259
2292
|
d: "M22.0001 16.3333C24.2092 16.3333 26.0001 14.5424 26.0001 12.3333C26.0001 10.1241 24.2092 8.33325 22.0001 8.33325C19.7909 8.33325 18.0001 10.1241 18.0001 12.3333C18.0001 14.5424 19.7909 16.3333 22.0001 16.3333Z",
|
|
@@ -2261,7 +2294,7 @@ var ImageIcon = (_a) => {
|
|
|
2261
2294
|
fillOpacity: "0.1"
|
|
2262
2295
|
}
|
|
2263
2296
|
),
|
|
2264
|
-
/* @__PURE__ */ (0,
|
|
2297
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
2265
2298
|
"path",
|
|
2266
2299
|
{
|
|
2267
2300
|
d: "M29.8379 21.3615C29.5903 21.1242 29.262 20.9946 28.9224 21.0001C28.5828 21.0056 28.2586 21.1457 28.0186 21.3909L22.3828 27.1429L22.1904 27.3332L13.8385 19.0367C13.5855 18.799 13.2504 18.6666 12.9022 18.6666C12.5539 18.6666 12.2188 18.799 11.9658 19.0367L0 30.9233V39.9999H40V31.1341L29.8379 21.3615Z",
|
|
@@ -2276,10 +2309,10 @@ var ImageIcon = (_a) => {
|
|
|
2276
2309
|
ImageIcon.displayName = "ImageIcon";
|
|
2277
2310
|
|
|
2278
2311
|
// src/primitives/icon/svg/info.tsx
|
|
2279
|
-
var
|
|
2312
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
2280
2313
|
var InfoIcon = (_a) => {
|
|
2281
2314
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2282
|
-
return /* @__PURE__ */ (0,
|
|
2315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
2283
2316
|
"svg",
|
|
2284
2317
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2285
2318
|
viewBox: "0 0 12 12",
|
|
@@ -2287,23 +2320,23 @@ var InfoIcon = (_a) => {
|
|
|
2287
2320
|
fill: "none"
|
|
2288
2321
|
}, getIconA11yProps(title)), props), {
|
|
2289
2322
|
children: [
|
|
2290
|
-
title ? /* @__PURE__ */ (0,
|
|
2291
|
-
/* @__PURE__ */ (0,
|
|
2292
|
-
/* @__PURE__ */ (0,
|
|
2323
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
|
|
2324
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
2325
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2293
2326
|
"path",
|
|
2294
2327
|
{
|
|
2295
2328
|
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",
|
|
2296
2329
|
fill: "currentColor"
|
|
2297
2330
|
}
|
|
2298
2331
|
),
|
|
2299
|
-
/* @__PURE__ */ (0,
|
|
2332
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2300
2333
|
"path",
|
|
2301
2334
|
{
|
|
2302
2335
|
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",
|
|
2303
2336
|
fill: "currentColor"
|
|
2304
2337
|
}
|
|
2305
2338
|
),
|
|
2306
|
-
/* @__PURE__ */ (0,
|
|
2339
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2307
2340
|
"path",
|
|
2308
2341
|
{
|
|
2309
2342
|
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",
|
|
@@ -2311,7 +2344,7 @@ var InfoIcon = (_a) => {
|
|
|
2311
2344
|
}
|
|
2312
2345
|
)
|
|
2313
2346
|
] }),
|
|
2314
|
-
/* @__PURE__ */ (0,
|
|
2347
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
2315
2348
|
]
|
|
2316
2349
|
})
|
|
2317
2350
|
);
|
|
@@ -2320,16 +2353,17 @@ InfoIcon.displayName = "InfoIcon";
|
|
|
2320
2353
|
|
|
2321
2354
|
// src/primitives/icon/icon.constants.ts
|
|
2322
2355
|
var iconSizeClasses = {
|
|
2356
|
+
xs: "h-3 w-3",
|
|
2323
2357
|
small: "h-4 w-4",
|
|
2324
2358
|
medium: "h-6 w-6",
|
|
2325
2359
|
large: "h-8 w-8"
|
|
2326
2360
|
};
|
|
2327
2361
|
|
|
2328
2362
|
// src/primitives/search/search-empty-icon.tsx
|
|
2329
|
-
var
|
|
2363
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2330
2364
|
var SearchEmptyIcon = (_a) => {
|
|
2331
2365
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2332
|
-
return /* @__PURE__ */ (0,
|
|
2366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
2333
2367
|
"svg",
|
|
2334
2368
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2335
2369
|
viewBox: "0 0 36 36",
|
|
@@ -2338,8 +2372,8 @@ var SearchEmptyIcon = (_a) => {
|
|
|
2338
2372
|
className
|
|
2339
2373
|
}, getIconA11yProps(title)), props), {
|
|
2340
2374
|
children: [
|
|
2341
|
-
title ? /* @__PURE__ */ (0,
|
|
2342
|
-
/* @__PURE__ */ (0,
|
|
2375
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
|
|
2376
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2343
2377
|
"path",
|
|
2344
2378
|
{
|
|
2345
2379
|
d: "M35.2335 0.758837C32.958 -1.51816 27.2145 1.83434 23.82 4.17284C22.029 3.41534 20.061 2.99534 17.9955 2.99534C9.72603 2.99534 2.99703 9.72434 2.99703 17.9953C2.99703 20.0593 3.41553 22.0273 4.17303 23.8183C1.83303 27.2143 -1.51797 32.9563 0.759027 35.2318C1.26903 35.7418 1.97703 35.9758 2.83953 35.9758C5.11653 35.9758 8.47653 34.3453 12.1545 31.8103C13.9515 32.5723 15.9255 32.9953 17.9955 32.9953C26.2665 32.9953 32.9955 26.2663 32.9955 17.9953C32.9955 15.9313 32.577 13.9633 31.8195 12.1723C32.43 11.2873 32.985 10.4233 33.48 9.58934C35.2755 6.55784 37.038 2.56334 35.2335 0.758837ZM17.997 4.49534C23.295 4.49534 27.8895 7.56434 30.099 12.0163C27.885 15.1228 25.008 18.4783 21.744 21.7423C18.48 25.0063 15.1245 27.8818 12.018 30.0958C7.56453 27.8863 4.49703 23.2918 4.49703 17.9938C4.49703 10.5523 10.5525 4.49534 17.997 4.49534ZM8.82603 32.1883C4.66353 34.6558 2.47503 34.8283 1.82103 34.1713C0.979527 33.3313 1.65453 30.3028 4.93803 25.3663C6.28203 27.7393 8.25453 29.7103 10.6275 31.0558C10.014 31.4623 9.41103 31.8418 8.82603 32.1883ZM31.497 17.9953C31.497 25.4383 25.4415 31.4953 17.997 31.4953C16.4655 31.4953 14.994 31.2388 13.62 30.7663C16.6755 28.5178 19.875 25.7323 22.8045 22.8028C25.8645 19.7428 28.593 16.5988 30.7755 13.6363C31.2435 15.0043 31.497 16.4698 31.497 17.9938V17.9953ZM31.0575 10.6243C29.7135 8.25134 27.741 6.27884 25.368 4.93484C30.3045 1.65134 33.333 0.979337 34.173 1.81784C34.83 2.47484 34.6545 4.66184 32.19 8.82284C31.8435 9.40934 31.464 10.0108 31.0575 10.6243Z",
|
|
@@ -2353,10 +2387,10 @@ var SearchEmptyIcon = (_a) => {
|
|
|
2353
2387
|
SearchEmptyIcon.displayName = "SearchEmptyIcon";
|
|
2354
2388
|
|
|
2355
2389
|
// src/primitives/icon/svg/activity.tsx
|
|
2356
|
-
var
|
|
2390
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2357
2391
|
var ActivityIcon = (_a) => {
|
|
2358
2392
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2359
|
-
return /* @__PURE__ */ (0,
|
|
2393
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
2360
2394
|
"svg",
|
|
2361
2395
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2362
2396
|
viewBox: "0 0 24 24",
|
|
@@ -2364,8 +2398,8 @@ var ActivityIcon = (_a) => {
|
|
|
2364
2398
|
fill: "none"
|
|
2365
2399
|
}, getIconA11yProps(title)), props), {
|
|
2366
2400
|
children: [
|
|
2367
|
-
title ? /* @__PURE__ */ (0,
|
|
2368
|
-
/* @__PURE__ */ (0,
|
|
2401
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("title", { children: title }) : null,
|
|
2402
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2369
2403
|
"path",
|
|
2370
2404
|
{
|
|
2371
2405
|
d: "M2 12h4l2.5-7 4 14 3-7h8.5",
|
|
@@ -2382,10 +2416,10 @@ var ActivityIcon = (_a) => {
|
|
|
2382
2416
|
ActivityIcon.displayName = "ActivityIcon";
|
|
2383
2417
|
|
|
2384
2418
|
// src/primitives/icon/svg/activity-chart.tsx
|
|
2385
|
-
var
|
|
2419
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
2386
2420
|
var ActivityChartIcon = (_a) => {
|
|
2387
2421
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2388
|
-
return /* @__PURE__ */ (0,
|
|
2422
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
2389
2423
|
"svg",
|
|
2390
2424
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2391
2425
|
viewBox: "0 0 14 14",
|
|
@@ -2393,8 +2427,8 @@ var ActivityChartIcon = (_a) => {
|
|
|
2393
2427
|
fill: "none"
|
|
2394
2428
|
}, getIconA11yProps(title)), props), {
|
|
2395
2429
|
children: [
|
|
2396
|
-
title ? /* @__PURE__ */ (0,
|
|
2397
|
-
/* @__PURE__ */ (0,
|
|
2430
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("title", { children: title }) : null,
|
|
2431
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2398
2432
|
"path",
|
|
2399
2433
|
{
|
|
2400
2434
|
d: "M14 6.99987C14 7.32187 13.7392 7.5832 13.4167 7.5832H11.9782C11.7145 7.5832 11.4829 7.76112 11.4147 8.01487L10.4364 11.656C10.325 12.0206 10.0135 12.2499 9.65417 12.2499H9.64425C9.28083 12.2458 8.9705 12.0078 8.87192 11.6584L6.96208 3.9432L5.10825 10.4993C4.99683 10.8475 4.70575 11.0686 4.36158 11.082C4.00458 11.1013 3.70883 10.8983 3.577 10.5792L2.64367 7.96937C2.56025 7.73837 2.33975 7.58262 2.09417 7.58262H0.583333C0.26075 7.58262 0 7.32128 0 6.99928C0 6.67728 0.26075 6.41595 0.583333 6.41595H2.09475C2.83208 6.41595 3.49358 6.88203 3.74267 7.5762L4.28983 9.10803L6.2055 2.33262C6.32275 1.96803 6.62958 1.73353 6.99942 1.74928C7.35992 1.7557 7.66792 1.99312 7.7665 2.33962L9.66758 10.0198L10.2871 7.71212C10.4918 6.94912 11.1866 6.41595 11.977 6.41595H13.4155C13.7381 6.41595 13.9988 6.67728 13.9988 6.99928L14 6.99987Z",
|
|
@@ -2408,10 +2442,10 @@ var ActivityChartIcon = (_a) => {
|
|
|
2408
2442
|
ActivityChartIcon.displayName = "ActivityChartIcon";
|
|
2409
2443
|
|
|
2410
2444
|
// src/primitives/icon/svg/check-badge.tsx
|
|
2411
|
-
var
|
|
2445
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
2412
2446
|
var CheckBadgeIcon = (_a) => {
|
|
2413
2447
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2414
|
-
return /* @__PURE__ */ (0,
|
|
2448
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
2415
2449
|
"svg",
|
|
2416
2450
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2417
2451
|
viewBox: "0 0 16 16",
|
|
@@ -2419,15 +2453,15 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2419
2453
|
fill: "none"
|
|
2420
2454
|
}, getIconA11yProps(title)), props), {
|
|
2421
2455
|
children: [
|
|
2422
|
-
title ? /* @__PURE__ */ (0,
|
|
2423
|
-
/* @__PURE__ */ (0,
|
|
2456
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("title", { children: title }) : null,
|
|
2457
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2424
2458
|
"path",
|
|
2425
2459
|
{
|
|
2426
2460
|
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",
|
|
2427
2461
|
fill: "currentColor"
|
|
2428
2462
|
}
|
|
2429
2463
|
) }),
|
|
2430
|
-
/* @__PURE__ */ (0,
|
|
2464
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2431
2465
|
]
|
|
2432
2466
|
})
|
|
2433
2467
|
);
|
|
@@ -2435,10 +2469,10 @@ var CheckBadgeIcon = (_a) => {
|
|
|
2435
2469
|
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
2436
2470
|
|
|
2437
2471
|
// src/primitives/icon/svg/chevron-down-thin.tsx
|
|
2438
|
-
var
|
|
2472
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2439
2473
|
var ChevronDownThinIcon = (_a) => {
|
|
2440
2474
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2441
|
-
return /* @__PURE__ */ (0,
|
|
2475
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
2442
2476
|
"svg",
|
|
2443
2477
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2444
2478
|
viewBox: "0 0 16 16",
|
|
@@ -2447,8 +2481,8 @@ var ChevronDownThinIcon = (_a) => {
|
|
|
2447
2481
|
className
|
|
2448
2482
|
}, getIconA11yProps(title)), props), {
|
|
2449
2483
|
children: [
|
|
2450
|
-
title ? /* @__PURE__ */ (0,
|
|
2451
|
-
/* @__PURE__ */ (0,
|
|
2484
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("title", { children: title }) : null,
|
|
2485
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2452
2486
|
"path",
|
|
2453
2487
|
{
|
|
2454
2488
|
d: "M4 6L8 10L12 6",
|
|
@@ -2465,10 +2499,10 @@ var ChevronDownThinIcon = (_a) => {
|
|
|
2465
2499
|
ChevronDownThinIcon.displayName = "ChevronDownThinIcon";
|
|
2466
2500
|
|
|
2467
2501
|
// src/primitives/icon/svg/cross-circle.tsx
|
|
2468
|
-
var
|
|
2502
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2469
2503
|
var CrossCircleIcon = (_a) => {
|
|
2470
2504
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2471
|
-
return /* @__PURE__ */ (0,
|
|
2505
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2472
2506
|
"svg",
|
|
2473
2507
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2474
2508
|
width: "16",
|
|
@@ -2479,8 +2513,8 @@ var CrossCircleIcon = (_a) => {
|
|
|
2479
2513
|
className
|
|
2480
2514
|
}, getIconA11yProps(title)), props), {
|
|
2481
2515
|
children: [
|
|
2482
|
-
title ? /* @__PURE__ */ (0,
|
|
2483
|
-
/* @__PURE__ */ (0,
|
|
2516
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("title", { children: title }) : null,
|
|
2517
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2484
2518
|
"path",
|
|
2485
2519
|
{
|
|
2486
2520
|
d: "M8 0C6.41775 0 4.87104 0.469192 3.55544 1.34824C2.23985 2.22729 1.21447 3.47672 0.608967 4.93853C0.00346629 6.40034 -0.15496 8.00887 0.153721 9.56072C0.462403 11.1126 1.22433 12.538 2.34315 13.6569C3.46197 14.7757 4.88743 15.5376 6.43928 15.8463C7.99113 16.155 9.59966 15.9965 11.0615 15.391C12.5233 14.7855 13.7727 13.7602 14.6518 12.4446C15.5308 11.129 16 9.58225 16 8C16 5.87827 15.1571 3.84344 13.6569 2.34315C12.1566 0.842855 10.1217 0 8 0ZM11.138 10.1953L10.1953 11.138L8 8.94267L5.80467 11.138L4.862 10.1953L7.05734 8L4.862 5.80467L5.80467 4.862L8 7.05733L10.1953 4.862L11.138 5.80467L8.94267 8L11.138 10.1953Z",
|
|
@@ -2494,10 +2528,10 @@ var CrossCircleIcon = (_a) => {
|
|
|
2494
2528
|
CrossCircleIcon.displayName = "CrossCircleIcon";
|
|
2495
2529
|
|
|
2496
2530
|
// src/primitives/icon/svg/discord.tsx
|
|
2497
|
-
var
|
|
2531
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2498
2532
|
var DiscordIcon = (_a) => {
|
|
2499
2533
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2500
|
-
return /* @__PURE__ */ (0,
|
|
2534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2501
2535
|
"svg",
|
|
2502
2536
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2503
2537
|
viewBox: "0 0 20 20",
|
|
@@ -2505,8 +2539,8 @@ var DiscordIcon = (_a) => {
|
|
|
2505
2539
|
fill: "none"
|
|
2506
2540
|
}, getIconA11yProps(title)), props), {
|
|
2507
2541
|
children: [
|
|
2508
|
-
title ? /* @__PURE__ */ (0,
|
|
2509
|
-
/* @__PURE__ */ (0,
|
|
2542
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("title", { children: title }) : null,
|
|
2543
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2510
2544
|
"path",
|
|
2511
2545
|
{
|
|
2512
2546
|
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",
|
|
@@ -2520,10 +2554,10 @@ var DiscordIcon = (_a) => {
|
|
|
2520
2554
|
DiscordIcon.displayName = "DiscordIcon";
|
|
2521
2555
|
|
|
2522
2556
|
// src/primitives/icon/svg/email.tsx
|
|
2523
|
-
var
|
|
2557
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2524
2558
|
var EmailIcon = (_a) => {
|
|
2525
2559
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2526
|
-
return /* @__PURE__ */ (0,
|
|
2560
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
2527
2561
|
"svg",
|
|
2528
2562
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2529
2563
|
viewBox: "0 0 20 20",
|
|
@@ -2531,8 +2565,8 @@ var EmailIcon = (_a) => {
|
|
|
2531
2565
|
fill: "none"
|
|
2532
2566
|
}, getIconA11yProps(title)), props), {
|
|
2533
2567
|
children: [
|
|
2534
|
-
title ? /* @__PURE__ */ (0,
|
|
2535
|
-
/* @__PURE__ */ (0,
|
|
2568
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("title", { children: title }) : null,
|
|
2569
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2536
2570
|
"path",
|
|
2537
2571
|
{
|
|
2538
2572
|
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",
|
|
@@ -2542,7 +2576,7 @@ var EmailIcon = (_a) => {
|
|
|
2542
2576
|
strokeLinejoin: "round"
|
|
2543
2577
|
}
|
|
2544
2578
|
),
|
|
2545
|
-
/* @__PURE__ */ (0,
|
|
2579
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2546
2580
|
"path",
|
|
2547
2581
|
{
|
|
2548
2582
|
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
@@ -2559,10 +2593,10 @@ var EmailIcon = (_a) => {
|
|
|
2559
2593
|
EmailIcon.displayName = "EmailIcon";
|
|
2560
2594
|
|
|
2561
2595
|
// src/primitives/icon/svg/internet-security.tsx
|
|
2562
|
-
var
|
|
2596
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2563
2597
|
var InternetSecurityIcon = (_a) => {
|
|
2564
2598
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2565
|
-
return /* @__PURE__ */ (0,
|
|
2599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2566
2600
|
"svg",
|
|
2567
2601
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2568
2602
|
viewBox: "0 0 60 60",
|
|
@@ -2570,15 +2604,15 @@ var InternetSecurityIcon = (_a) => {
|
|
|
2570
2604
|
fill: "none"
|
|
2571
2605
|
}, getIconA11yProps(title)), props), {
|
|
2572
2606
|
children: [
|
|
2573
|
-
title ? /* @__PURE__ */ (0,
|
|
2574
|
-
/* @__PURE__ */ (0,
|
|
2607
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("title", { children: title }) : null,
|
|
2608
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("g", { clipPath: "url(#internet-security-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2575
2609
|
"path",
|
|
2576
2610
|
{
|
|
2577
2611
|
d: "M31.2125 58.9425C31.32 58.55 31.1175 58.13 30.855 57.84C30.76 57.7525 24.195 51.48 20.3075 42.5025H26.2525C26.9425 42.5025 27.5025 41.9425 27.5025 41.2525C27.5025 40.5625 26.9425 40.0025 26.2525 40.0025H19.33C18.2325 36.885 17.5025 33.52 17.5025 30.0025C17.5025 26.485 18.2325 23.12 19.33 20.0025H55.605C56.115 21.2975 56.5425 22.635 56.85 24.0225C57 24.695 57.6625 25.125 58.3425 24.9725C59.0175 24.8225 59.44 24.155 59.2925 23.48C56.275 9.88753 43.98 0.0225282 30.0425 2.81571e-05C13.49 -0.0224718 -0.00249965 13.4425 3.47359e-07 30C3.47359e-07 46.5425 13.4575 60 30 60C30.61 60.0025 31.1475 59.5325 31.2125 58.9425ZM20.305 17.5C23.3775 10.4025 28.0975 5.02003 30 3.02753C31.92 5.03253 36.6625 10.415 39.72 17.5H20.305ZM54.485 17.5H42.42C39.745 10.8325 35.645 5.56253 33.1075 2.70003C42.2725 3.76003 50.325 9.42003 54.485 17.5ZM26.9 2.68753C24.3525 5.54753 20.24 10.83 17.5725 17.5H5.535C9.6475 9.48503 17.565 3.74003 26.9 2.68753ZM4.41 20H16.6725C15.6625 23.12 15 26.4725 15 30C15 33.5275 15.6625 36.88 16.6725 40H4.41C3.1925 36.895 2.5 33.53 2.5 30C2.5 26.47 3.1925 23.105 4.41 20ZM5.535 42.5H17.5725C20.24 49.1725 24.3525 54.4525 26.9 57.3125C17.565 56.26 9.6475 50.515 5.535 42.5ZM55 38.3775V33.75C55 28.925 51.075 25 46.25 25C41.425 25 37.5 28.925 37.5 33.75V38.3775C34.555 39.7875 32.5 42.7725 32.5 46.25V51.25C32.5 56.075 36.425 60 41.25 60H51.25C56.075 60 60 56.075 60 51.25V46.25C60 42.7725 57.945 39.7875 55 38.3775ZM40 33.75C40 30.305 42.8025 27.5 46.25 27.5C49.6975 27.5 52.5 30.305 52.5 33.75V37.6275C52.0875 37.5675 51.6775 37.5 51.25 37.5H41.25C40.8225 37.5 40.4125 37.5675 40 37.6275V33.75ZM57.5 51.25C57.5 54.695 54.6975 57.5 51.25 57.5H41.25C37.8025 57.5 35 54.695 35 51.25V46.25C35 42.805 37.8025 40 41.25 40H51.25C54.6975 40 57.5 42.805 57.5 46.25V51.25ZM48.75 48.75C48.75 50.13 47.63 51.25 46.25 51.25C44.87 51.25 43.75 50.13 43.75 48.75C43.75 47.37 44.87 46.25 46.25 46.25C47.63 46.25 48.75 47.37 48.75 48.75Z",
|
|
2578
2612
|
fill: "currentColor"
|
|
2579
2613
|
}
|
|
2580
2614
|
) }),
|
|
2581
|
-
/* @__PURE__ */ (0,
|
|
2615
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("clipPath", { id: "internet-security-clip", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("rect", { width: "60", height: "60", fill: "white" }) }) })
|
|
2582
2616
|
]
|
|
2583
2617
|
})
|
|
2584
2618
|
);
|
|
@@ -2586,10 +2620,10 @@ var InternetSecurityIcon = (_a) => {
|
|
|
2586
2620
|
InternetSecurityIcon.displayName = "InternetSecurityIcon";
|
|
2587
2621
|
|
|
2588
2622
|
// src/primitives/icon/svg/link-accounts.tsx
|
|
2589
|
-
var
|
|
2623
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2590
2624
|
var LinkAccountsIcon = (_a) => {
|
|
2591
2625
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2592
|
-
return /* @__PURE__ */ (0,
|
|
2626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2593
2627
|
"svg",
|
|
2594
2628
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2595
2629
|
width: "28",
|
|
@@ -2600,26 +2634,60 @@ var LinkAccountsIcon = (_a) => {
|
|
|
2600
2634
|
className
|
|
2601
2635
|
}, getIconA11yProps(title)), props), {
|
|
2602
2636
|
children: [
|
|
2603
|
-
title ? /* @__PURE__ */ (0,
|
|
2604
|
-
/* @__PURE__ */ (0,
|
|
2637
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("title", { children: title }) : null,
|
|
2638
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2605
2639
|
"path",
|
|
2606
2640
|
{
|
|
2607
2641
|
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",
|
|
2608
2642
|
fill: "currentColor"
|
|
2609
2643
|
}
|
|
2610
2644
|
) }),
|
|
2611
|
-
/* @__PURE__ */ (0,
|
|
2645
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
2612
2646
|
]
|
|
2613
2647
|
})
|
|
2614
2648
|
);
|
|
2615
2649
|
};
|
|
2616
2650
|
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
2617
2651
|
|
|
2652
|
+
// src/primitives/icon/svg/lock.tsx
|
|
2653
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2654
|
+
var LockIcon = (_a) => {
|
|
2655
|
+
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2657
|
+
"svg",
|
|
2658
|
+
__spreadProps(__spreadValues(__spreadValues({
|
|
2659
|
+
viewBox: "0 0 12 12",
|
|
2660
|
+
className,
|
|
2661
|
+
fill: "none",
|
|
2662
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
2663
|
+
}, getIconA11yProps(title)), props), {
|
|
2664
|
+
children: [
|
|
2665
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("title", { children: title }) : null,
|
|
2666
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2667
|
+
"path",
|
|
2668
|
+
{
|
|
2669
|
+
d: "M9.5 4.212V3.5C9.5 2.57174 9.13125 1.6815 8.47487 1.02513C7.8185 0.368749 6.92826 0 6 0C5.07174 0 4.1815 0.368749 3.52513 1.02513C2.86875 1.6815 2.5 2.57174 2.5 3.5V4.212C2.05468 4.40635 1.67565 4.72626 1.40925 5.13261C1.14285 5.53895 1.00064 6.01412 1 6.5V9.5C1.00079 10.1628 1.26444 10.7982 1.73311 11.2669C2.20178 11.7356 2.8372 11.9992 3.5 12H8.5C9.1628 11.9992 9.79822 11.7356 10.2669 11.2669C10.7356 10.7982 10.9992 10.1628 11 9.5V6.5C10.9994 6.01412 10.8571 5.53895 10.5908 5.13261C10.3244 4.72626 9.94532 4.40635 9.5 4.212ZM3.5 3.5C3.5 2.83696 3.76339 2.20107 4.23223 1.73223C4.70107 1.26339 5.33696 1 6 1C6.66304 1 7.29893 1.26339 7.76777 1.73223C8.23661 2.20107 8.5 2.83696 8.5 3.5V4H3.5V3.5ZM10 9.5C10 9.89782 9.84196 10.2794 9.56066 10.5607C9.27936 10.842 8.89782 11 8.5 11H3.5C3.10218 11 2.72064 10.842 2.43934 10.5607C2.15804 10.2794 2 9.89782 2 9.5V6.5C2 6.10218 2.15804 5.72064 2.43934 5.43934C2.72064 5.15804 3.10218 5 3.5 5H8.5C8.89782 5 9.27936 5.15804 9.56066 5.43934C9.84196 5.72064 10 6.10218 10 6.5V9.5Z",
|
|
2670
|
+
fill: "currentColor"
|
|
2671
|
+
}
|
|
2672
|
+
),
|
|
2673
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2674
|
+
"path",
|
|
2675
|
+
{
|
|
2676
|
+
d: "M6 7C5.86739 7 5.74021 7.05268 5.64645 7.14645C5.55268 7.24021 5.5 7.36739 5.5 7.5V8.5C5.5 8.63261 5.55268 8.75979 5.64645 8.85355C5.74021 8.94732 5.86739 9 6 9C6.13261 9 6.25979 8.94732 6.35355 8.85355C6.44732 8.75979 6.5 8.63261 6.5 8.5V7.5C6.5 7.36739 6.44732 7.24021 6.35355 7.14645C6.25979 7.05268 6.13261 7 6 7Z",
|
|
2677
|
+
fill: "currentColor"
|
|
2678
|
+
}
|
|
2679
|
+
)
|
|
2680
|
+
]
|
|
2681
|
+
})
|
|
2682
|
+
);
|
|
2683
|
+
};
|
|
2684
|
+
LockIcon.displayName = "LockIcon";
|
|
2685
|
+
|
|
2618
2686
|
// src/primitives/icon/svg/pencil.tsx
|
|
2619
|
-
var
|
|
2687
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2620
2688
|
var PencilIcon = (_a) => {
|
|
2621
2689
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2622
|
-
return /* @__PURE__ */ (0,
|
|
2690
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
2623
2691
|
"svg",
|
|
2624
2692
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2625
2693
|
viewBox: "0 0 16 16",
|
|
@@ -2627,15 +2695,15 @@ var PencilIcon = (_a) => {
|
|
|
2627
2695
|
fill: "none"
|
|
2628
2696
|
}, getIconA11yProps(title)), props), {
|
|
2629
2697
|
children: [
|
|
2630
|
-
title ? /* @__PURE__ */ (0,
|
|
2631
|
-
/* @__PURE__ */ (0,
|
|
2698
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("title", { children: title }) : null,
|
|
2699
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2632
2700
|
"path",
|
|
2633
2701
|
{
|
|
2634
2702
|
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",
|
|
2635
2703
|
fill: "currentColor"
|
|
2636
2704
|
}
|
|
2637
2705
|
) }),
|
|
2638
|
-
/* @__PURE__ */ (0,
|
|
2706
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2639
2707
|
]
|
|
2640
2708
|
})
|
|
2641
2709
|
);
|
|
@@ -2643,10 +2711,10 @@ var PencilIcon = (_a) => {
|
|
|
2643
2711
|
PencilIcon.displayName = "PencilIcon";
|
|
2644
2712
|
|
|
2645
2713
|
// src/primitives/icon/svg/play-square.tsx
|
|
2646
|
-
var
|
|
2714
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2647
2715
|
var PlaySquareIcon = (_a) => {
|
|
2648
2716
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2649
|
-
return /* @__PURE__ */ (0,
|
|
2717
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
2650
2718
|
"svg",
|
|
2651
2719
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2652
2720
|
viewBox: "0 0 16 16",
|
|
@@ -2654,15 +2722,15 @@ var PlaySquareIcon = (_a) => {
|
|
|
2654
2722
|
fill: "none"
|
|
2655
2723
|
}, getIconA11yProps(title)), props), {
|
|
2656
2724
|
children: [
|
|
2657
|
-
title ? /* @__PURE__ */ (0,
|
|
2658
|
-
/* @__PURE__ */ (0,
|
|
2725
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("title", { children: title }) : null,
|
|
2726
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2659
2727
|
"path",
|
|
2660
2728
|
{
|
|
2661
2729
|
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",
|
|
2662
2730
|
fill: "currentColor"
|
|
2663
2731
|
}
|
|
2664
2732
|
) }),
|
|
2665
|
-
/* @__PURE__ */ (0,
|
|
2733
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2666
2734
|
]
|
|
2667
2735
|
})
|
|
2668
2736
|
);
|
|
@@ -2670,10 +2738,10 @@ var PlaySquareIcon = (_a) => {
|
|
|
2670
2738
|
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
2671
2739
|
|
|
2672
2740
|
// src/primitives/icon/svg/quotes-warning.tsx
|
|
2673
|
-
var
|
|
2741
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2674
2742
|
var QuotesWarningIcon = (_a) => {
|
|
2675
2743
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2676
|
-
return /* @__PURE__ */ (0,
|
|
2744
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
2677
2745
|
"svg",
|
|
2678
2746
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2679
2747
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2684,8 +2752,8 @@ var QuotesWarningIcon = (_a) => {
|
|
|
2684
2752
|
className
|
|
2685
2753
|
}, getIconA11yProps(title)), props), {
|
|
2686
2754
|
children: [
|
|
2687
|
-
title ? /* @__PURE__ */ (0,
|
|
2688
|
-
/* @__PURE__ */ (0,
|
|
2755
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("title", { children: title }) : null,
|
|
2756
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2689
2757
|
"path",
|
|
2690
2758
|
{
|
|
2691
2759
|
d: "M17.25 21.75V9.75C17.25 9.33 17.58 9 18 9C18.42 9 18.75 9.33 18.75 9.75V21.75C18.75 22.17 18.42 22.5 18 22.5C17.58 22.5 17.25 22.17 17.25 21.75ZM18 25.5C17.175 25.5 16.5 26.175 16.5 27C16.5 27.825 17.175 28.5 18 28.5C18.825 28.5 19.5 27.825 19.5 27C19.5 26.175 18.825 25.5 18 25.5ZM35.415 30.105C34.455 31.95 32.43 33 29.85 33H6.15002C3.58502 33 1.54502 31.95 0.585023 30.105C-0.389977 28.245 -0.119977 25.8 1.30502 23.745L13.95 3.645C14.88 2.295 16.395 1.5 18 1.5C19.605 1.5 21.12 2.295 22.035 3.615L34.695 23.76C36.12 25.815 36.39 28.245 35.415 30.105ZM33.45 24.6C33.45 24.6 33.45 24.585 33.435 24.57L20.79 4.44C20.16 3.525 19.14 3 18 3C16.86 3 15.84 3.54 15.195 4.47L2.56502 24.57C1.44002 26.19 1.20002 28.035 1.92002 29.415C2.62502 30.765 4.12502 31.5 6.15002 31.5H29.865C31.89 31.5 33.39 30.765 34.095 29.415C34.815 28.05 34.575 26.205 33.465 24.6H33.45Z",
|
|
@@ -2699,10 +2767,10 @@ var QuotesWarningIcon = (_a) => {
|
|
|
2699
2767
|
QuotesWarningIcon.displayName = "QuotesWarningIcon";
|
|
2700
2768
|
|
|
2701
2769
|
// src/primitives/icon/svg/profile-about-tab.tsx
|
|
2702
|
-
var
|
|
2770
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2703
2771
|
var ProfileAboutTabIcon = (_a) => {
|
|
2704
2772
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2705
|
-
return /* @__PURE__ */ (0,
|
|
2773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
2706
2774
|
"svg",
|
|
2707
2775
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2708
2776
|
viewBox: "0 0 16 16",
|
|
@@ -2710,16 +2778,16 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
2710
2778
|
fill: "none"
|
|
2711
2779
|
}, getIconA11yProps(title)), props), {
|
|
2712
2780
|
children: [
|
|
2713
|
-
title ? /* @__PURE__ */ (0,
|
|
2714
|
-
/* @__PURE__ */ (0,
|
|
2715
|
-
/* @__PURE__ */ (0,
|
|
2781
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("title", { children: title }) : null,
|
|
2782
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("g", { clipPath: "url(#clip_profile_about_tab)", children: [
|
|
2783
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2716
2784
|
"path",
|
|
2717
2785
|
{
|
|
2718
2786
|
d: "M12.6667 0H3.33333C2.4496 0.00105857 1.60237 0.352588 0.97748 0.97748C0.352588 1.60237 0.00105857 2.4496 0 3.33333L0 12.6667C0.00105857 13.5504 0.352588 14.3976 0.97748 15.0225C1.60237 15.6474 2.4496 15.9989 3.33333 16H12.6667C13.5504 15.9989 14.3976 15.6474 15.0225 15.0225C15.6474 14.3976 15.9989 13.5504 16 12.6667V3.33333C15.9989 2.4496 15.6474 1.60237 15.0225 0.97748C14.3976 0.352588 13.5504 0.00105857 12.6667 0ZM4.66667 14.6667V14C4.66667 13.1159 5.01786 12.2681 5.64298 11.643C6.2681 11.0179 7.11595 10.6667 8 10.6667C8.88406 10.6667 9.7319 11.0179 10.357 11.643C10.9821 12.2681 11.3333 13.1159 11.3333 14V14.6667H4.66667ZM14.6667 12.6667C14.6667 13.1971 14.456 13.7058 14.0809 14.0809C13.7058 14.456 13.1971 14.6667 12.6667 14.6667V14C12.6667 12.7623 12.175 11.5753 11.2998 10.7002C10.4247 9.825 9.23768 9.33333 8 9.33333C6.76232 9.33333 5.57534 9.825 4.70017 10.7002C3.825 11.5753 3.33333 12.7623 3.33333 14V14.6667C2.8029 14.6667 2.29419 14.456 1.91912 14.0809C1.54405 13.7058 1.33333 13.1971 1.33333 12.6667V3.33333C1.33333 2.8029 1.54405 2.29419 1.91912 1.91912C2.29419 1.54405 2.8029 1.33333 3.33333 1.33333H12.6667C13.1971 1.33333 13.7058 1.54405 14.0809 1.91912C14.456 2.29419 14.6667 2.8029 14.6667 3.33333V12.6667Z",
|
|
2719
2787
|
fill: "currentColor"
|
|
2720
2788
|
}
|
|
2721
2789
|
),
|
|
2722
|
-
/* @__PURE__ */ (0,
|
|
2790
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2723
2791
|
"path",
|
|
2724
2792
|
{
|
|
2725
2793
|
d: "M8.00004 2.66669C7.47263 2.66669 6.95705 2.82308 6.51852 3.1161C6.07999 3.40912 5.7382 3.82559 5.53636 4.31286C5.33453 4.80013 5.28172 5.33631 5.38461 5.85359C5.48751 6.37088 5.74148 6.84603 6.11442 7.21897C6.48736 7.59191 6.96252 7.84589 7.4798 7.94878C7.99708 8.05167 8.53326 7.99887 9.02053 7.79703C9.5078 7.5952 9.92428 7.2534 10.2173 6.81487C10.5103 6.37634 10.6667 5.86077 10.6667 5.33335C10.6667 4.62611 10.3858 3.94783 9.88566 3.44774C9.38556 2.94764 8.70729 2.66669 8.00004 2.66669ZM8.00004 6.66669C7.73633 6.66669 7.47855 6.58849 7.25928 6.44198C7.04002 6.29547 6.86912 6.08723 6.7682 5.8436C6.66729 5.59996 6.64088 5.33187 6.69233 5.07323C6.74378 4.81459 6.87076 4.57701 7.05723 4.39054C7.2437 4.20407 7.48128 4.07709 7.73992 4.02564C7.99856 3.97419 8.26665 4.0006 8.51029 4.10151C8.75392 4.20243 8.96216 4.37333 9.10867 4.59259C9.25518 4.81186 9.33338 5.06965 9.33338 5.33335C9.33338 5.68698 9.1929 6.02611 8.94285 6.27616C8.6928 6.52621 8.35366 6.66669 8.00004 6.66669Z",
|
|
@@ -2727,7 +2795,7 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
2727
2795
|
}
|
|
2728
2796
|
)
|
|
2729
2797
|
] }),
|
|
2730
|
-
/* @__PURE__ */ (0,
|
|
2798
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("clipPath", { id: "clip_profile_about_tab", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2731
2799
|
]
|
|
2732
2800
|
})
|
|
2733
2801
|
);
|
|
@@ -2735,7 +2803,7 @@ var ProfileAboutTabIcon = (_a) => {
|
|
|
2735
2803
|
ProfileAboutTabIcon.displayName = "ProfileAboutTabIcon";
|
|
2736
2804
|
|
|
2737
2805
|
// src/primitives/icon/svg/profile-accounts-wallets-tab.tsx
|
|
2738
|
-
var
|
|
2806
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2739
2807
|
var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
2740
2808
|
var _b = _a, {
|
|
2741
2809
|
title,
|
|
@@ -2744,7 +2812,7 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
2744
2812
|
"title",
|
|
2745
2813
|
"className"
|
|
2746
2814
|
]);
|
|
2747
|
-
return /* @__PURE__ */ (0,
|
|
2815
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
2748
2816
|
"svg",
|
|
2749
2817
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2750
2818
|
viewBox: "0 0 16 16",
|
|
@@ -2752,15 +2820,15 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
2752
2820
|
fill: "none"
|
|
2753
2821
|
}, getIconA11yProps(title)), props), {
|
|
2754
2822
|
children: [
|
|
2755
|
-
title ? /* @__PURE__ */ (0,
|
|
2756
|
-
/* @__PURE__ */ (0,
|
|
2823
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("title", { children: title }) : null,
|
|
2824
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("g", { clipPath: "url(#clip_profile_accounts_wallets_tab)", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2757
2825
|
"path",
|
|
2758
2826
|
{
|
|
2759
2827
|
d: "M5 8.66667C4.40666 8.66667 3.82664 8.49072 3.33329 8.16108C2.83994 7.83143 2.45542 7.3629 2.22836 6.81472C2.0013 6.26654 1.94189 5.66334 2.05764 5.0814C2.1734 4.49945 2.45912 3.96491 2.87868 3.54535C3.29824 3.12579 3.83279 2.84007 4.41473 2.72431C4.99667 2.60856 5.59987 2.66797 6.14805 2.89503C6.69623 3.12209 7.16476 3.50661 7.49441 3.99996C7.82405 4.4933 8 5.07332 8 5.66667C7.99912 6.46205 7.68276 7.2246 7.12035 7.78701C6.55793 8.34943 5.79538 8.66579 5 8.66667ZM5 4C4.67036 4 4.34813 4.09775 4.07405 4.28089C3.79997 4.46402 3.58635 4.72432 3.4602 5.02886C3.33405 5.33341 3.30105 5.66852 3.36536 5.99182C3.42967 6.31512 3.5884 6.61209 3.82149 6.84518C4.05458 7.07827 4.35155 7.237 4.67485 7.30131C4.99815 7.36562 5.33326 7.33261 5.63781 7.20647C5.94235 7.08032 6.20265 6.8667 6.38578 6.59262C6.56892 6.31854 6.66667 5.9963 6.66667 5.66667C6.66667 5.22464 6.49107 4.80072 6.17851 4.48816C5.86595 4.1756 5.44203 4 5 4ZM10 15.3333V15C10 13.6739 9.47322 12.4021 8.53553 11.4645C7.59785 10.5268 6.32608 10 5 10C3.67392 10 2.40215 10.5268 1.46447 11.4645C0.526784 12.4021 0 13.6739 0 15L0 15.3333C0 15.5101 0.0702379 15.6797 0.195262 15.8047C0.320286 15.9298 0.489856 16 0.666667 16C0.843478 16 1.01305 15.9298 1.13807 15.8047C1.2631 15.6797 1.33333 15.5101 1.33333 15.3333V15C1.33333 14.0275 1.71964 13.0949 2.40728 12.4073C3.09491 11.7196 4.02754 11.3333 5 11.3333C5.97246 11.3333 6.90509 11.7196 7.59273 12.4073C8.28036 13.0949 8.66667 14.0275 8.66667 15V15.3333C8.66667 15.5101 8.73691 15.6797 8.86193 15.8047C8.98695 15.9298 9.15652 16 9.33333 16C9.51014 16 9.67971 15.9298 9.80474 15.8047C9.92976 15.6797 10 15.5101 10 15.3333ZM16 12C16 11.0991 15.7392 10.2175 15.2491 9.46158C14.7591 8.70565 14.0607 8.10772 13.2383 7.73998C12.4159 7.37223 11.5046 7.25039 10.6145 7.38916C9.72437 7.52793 8.89344 7.92137 8.222 8.522C8.15584 8.58013 8.10186 8.6508 8.06317 8.72991C8.02448 8.80903 8.00185 8.89502 7.99659 8.98293C7.99132 9.07085 8.00353 9.15893 8.0325 9.24209C8.06147 9.32526 8.10663 9.40186 8.16537 9.46748C8.22412 9.53309 8.29528 9.58642 8.37475 9.62437C8.45422 9.66232 8.54042 9.68416 8.62838 9.68861C8.71633 9.69306 8.8043 9.68004 8.88719 9.6503C8.97009 9.62055 9.04627 9.57469 9.11133 9.51534C9.59097 9.08641 10.1845 8.80548 10.8203 8.70644C11.456 8.6074 12.1069 8.69449 12.6943 8.9572C13.2816 9.21991 13.7804 9.647 14.1304 10.1869C14.4804 10.7269 14.6667 11.3566 14.6667 12C14.6667 12.1768 14.7369 12.3464 14.8619 12.4714C14.987 12.5964 15.1565 12.6667 15.3333 12.6667C15.5101 12.6667 15.6797 12.5964 15.8047 12.4714C15.9298 12.3464 16 12.1768 16 12ZM11.6667 6C11.0733 6 10.4933 5.82405 9.99996 5.49441C9.50661 5.16477 9.12209 4.69623 8.89503 4.14805C8.66796 3.59987 8.60855 2.99667 8.72431 2.41473C8.84007 1.83279 9.12579 1.29824 9.54535 0.878681C9.9649 0.459123 10.4995 0.173401 11.0814 0.0576455C11.6633 -0.0581102 12.2665 0.00129986 12.8147 0.228363C13.3629 0.455426 13.8314 0.839943 14.1611 1.33329C14.4907 1.82664 14.6667 2.40666 14.6667 3C14.6658 3.79538 14.3494 4.55793 13.787 5.12035C13.2246 5.68277 12.462 5.99912 11.6667 6ZM11.6667 1.33333C11.337 1.33333 11.0148 1.43108 10.7407 1.61422C10.4666 1.79735 10.253 2.05765 10.1269 2.3622C10.0007 2.66674 9.96772 3.00185 10.032 3.32515C10.0963 3.64845 10.2551 3.94543 10.4882 4.17851C10.7212 4.4116 11.0182 4.57033 11.3415 4.63464C11.6648 4.69895 11.9999 4.66595 12.3045 4.5398C12.609 4.41365 12.8693 4.20003 13.0525 3.92595C13.2356 3.65187 13.3333 3.32964 13.3333 3C13.3333 2.55797 13.1577 2.13405 12.8452 1.82149C12.5326 1.50893 12.1087 1.33333 11.6667 1.33333Z",
|
|
2760
2828
|
fill: "currentColor"
|
|
2761
2829
|
}
|
|
2762
2830
|
) }),
|
|
2763
|
-
/* @__PURE__ */ (0,
|
|
2831
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("clipPath", { id: "clip_profile_accounts_wallets_tab", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2764
2832
|
]
|
|
2765
2833
|
})
|
|
2766
2834
|
);
|
|
@@ -2768,10 +2836,10 @@ var ProfileAccountsWalletsTabIcon = (_a) => {
|
|
|
2768
2836
|
ProfileAccountsWalletsTabIcon.displayName = "ProfileAccountsWalletsTabIcon";
|
|
2769
2837
|
|
|
2770
2838
|
// src/primitives/icon/svg/profile.tsx
|
|
2771
|
-
var
|
|
2839
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2772
2840
|
var ProfileIcon = (_a) => {
|
|
2773
2841
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2774
|
-
return /* @__PURE__ */ (0,
|
|
2842
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
2775
2843
|
"svg",
|
|
2776
2844
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2777
2845
|
viewBox: "0 0 16 16",
|
|
@@ -2779,16 +2847,16 @@ var ProfileIcon = (_a) => {
|
|
|
2779
2847
|
fill: "none"
|
|
2780
2848
|
}, getIconA11yProps(title)), props), {
|
|
2781
2849
|
children: [
|
|
2782
|
-
title ? /* @__PURE__ */ (0,
|
|
2783
|
-
/* @__PURE__ */ (0,
|
|
2784
|
-
/* @__PURE__ */ (0,
|
|
2850
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("title", { children: title }) : null,
|
|
2851
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("g", { clipPath: "url(#profile-clip)", children: [
|
|
2852
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2785
2853
|
"path",
|
|
2786
2854
|
{
|
|
2787
2855
|
d: "M8 8C8.79113 8 9.56448 7.76541 10.2223 7.32588C10.8801 6.88635 11.3928 6.26164 11.6955 5.53074C11.9983 4.79983 12.0775 3.99556 11.9231 3.21964C11.7688 2.44372 11.3878 1.73098 10.8284 1.17157C10.269 0.612165 9.55629 0.231202 8.78036 0.0768607C8.00444 -0.0774802 7.20017 0.00173314 6.46927 0.304484C5.73836 0.607234 5.11365 1.11992 4.67412 1.77772C4.2346 2.43552 4 3.20888 4 4C4.00106 5.06054 4.42283 6.07734 5.17274 6.82726C5.92266 7.57718 6.93946 7.99894 8 8ZM8 1.33334C8.52742 1.33334 9.04299 1.48973 9.48152 1.78275C9.92005 2.07577 10.2618 2.49224 10.4637 2.97951C10.6655 3.46678 10.7183 4.00296 10.6154 4.52024C10.5125 5.03753 10.2586 5.51268 9.88562 5.88562C9.51268 6.25856 9.03752 6.51254 8.52024 6.61543C8.00296 6.71832 7.46678 6.66551 6.97951 6.46368C6.49224 6.26185 6.07577 5.92005 5.78275 5.48152C5.48973 5.04299 5.33333 4.52742 5.33333 4C5.33333 3.29276 5.61428 2.61448 6.11438 2.11438C6.61448 1.61429 7.29276 1.33334 8 1.33334Z",
|
|
2788
2856
|
fill: "currentColor"
|
|
2789
2857
|
}
|
|
2790
2858
|
),
|
|
2791
|
-
/* @__PURE__ */ (0,
|
|
2859
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2792
2860
|
"path",
|
|
2793
2861
|
{
|
|
2794
2862
|
d: "M8 9.33334C6.40924 9.33511 4.88414 9.96782 3.75931 11.0927C2.63447 12.2175 2.00176 13.7426 2 15.3333C2 15.5102 2.07024 15.6797 2.19526 15.8047C2.32029 15.9298 2.48986 16 2.66667 16C2.84348 16 3.01305 15.9298 3.13807 15.8047C3.2631 15.6797 3.33333 15.5102 3.33333 15.3333C3.33333 14.0957 3.825 12.9087 4.70017 12.0335C5.57534 11.1583 6.76232 10.6667 8 10.6667C9.23768 10.6667 10.4247 11.1583 11.2998 12.0335C12.175 12.9087 12.6667 14.0957 12.6667 15.3333C12.6667 15.5102 12.7369 15.6797 12.8619 15.8047C12.987 15.9298 13.1565 16 13.3333 16C13.5101 16 13.6797 15.9298 13.8047 15.8047C13.9298 15.6797 14 15.5102 14 15.3333C13.9982 13.7426 13.3655 12.2175 12.2407 11.0927C11.1159 9.96782 9.59076 9.33511 8 9.33334Z",
|
|
@@ -2796,7 +2864,7 @@ var ProfileIcon = (_a) => {
|
|
|
2796
2864
|
}
|
|
2797
2865
|
)
|
|
2798
2866
|
] }),
|
|
2799
|
-
/* @__PURE__ */ (0,
|
|
2867
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("clipPath", { id: "profile-clip", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2800
2868
|
]
|
|
2801
2869
|
})
|
|
2802
2870
|
);
|
|
@@ -2804,10 +2872,10 @@ var ProfileIcon = (_a) => {
|
|
|
2804
2872
|
ProfileIcon.displayName = "ProfileIcon";
|
|
2805
2873
|
|
|
2806
2874
|
// src/primitives/icon/svg/recenter.tsx
|
|
2807
|
-
var
|
|
2875
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2808
2876
|
var RecenterIcon = (_a) => {
|
|
2809
2877
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2810
|
-
return /* @__PURE__ */ (0,
|
|
2878
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
2811
2879
|
"svg",
|
|
2812
2880
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2813
2881
|
viewBox: "0 0 16 16",
|
|
@@ -2815,15 +2883,15 @@ var RecenterIcon = (_a) => {
|
|
|
2815
2883
|
fill: "none"
|
|
2816
2884
|
}, getIconA11yProps(title)), props), {
|
|
2817
2885
|
children: [
|
|
2818
|
-
title ? /* @__PURE__ */ (0,
|
|
2819
|
-
/* @__PURE__ */ (0,
|
|
2886
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("title", { children: title }) : null,
|
|
2887
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("g", { clipPath: "url(#recenter-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2820
2888
|
"path",
|
|
2821
2889
|
{
|
|
2822
2890
|
d: "M16 8C16 8.36867 15.7013 8.66667 15.3333 8.66667H0.666667C0.298667 8.66667 0 8.36867 0 8C0 7.63133 0.298667 7.33333 0.666667 7.33333H15.3333C15.7013 7.33333 16 7.63133 16 8ZM7.05733 5.60933C7.31733 5.86933 7.65867 5.99933 8 5.99933C8.34133 5.99933 8.68267 5.86933 8.94267 5.60933L11.138 3.414C11.3987 3.15333 11.3987 2.732 11.138 2.47133C10.8773 2.21067 10.456 2.21067 10.1953 2.47133L8.66667 4V0.666667C8.66667 0.298 8.368 0 8 0C7.632 0 7.33333 0.298 7.33333 0.666667V4L5.80467 2.47133C5.544 2.21067 5.12267 2.21067 4.862 2.47133C4.60133 2.732 4.60133 3.15333 4.862 3.414L7.05733 5.60933ZM8.94267 10.3907C8.42333 9.87133 7.57667 9.87133 7.05733 10.3907L4.862 12.586C4.60133 12.8467 4.60133 13.268 4.862 13.5287C5.12267 13.7893 5.544 13.7893 5.80467 13.5287L7.33333 12V15.3333C7.33333 15.702 7.632 16 8 16C8.368 16 8.66667 15.702 8.66667 15.3333V12L10.1953 13.5287C10.3253 13.6587 10.496 13.724 10.6667 13.724C10.8373 13.724 11.008 13.6587 11.138 13.5287C11.3987 13.268 11.3987 12.8467 11.138 12.586L8.94267 10.3907Z",
|
|
2823
2891
|
fill: "currentColor"
|
|
2824
2892
|
}
|
|
2825
2893
|
) }),
|
|
2826
|
-
/* @__PURE__ */ (0,
|
|
2894
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("clipPath", { id: "recenter-clip", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2827
2895
|
]
|
|
2828
2896
|
})
|
|
2829
2897
|
);
|
|
@@ -2831,10 +2899,10 @@ var RecenterIcon = (_a) => {
|
|
|
2831
2899
|
RecenterIcon.displayName = "RecenterIcon";
|
|
2832
2900
|
|
|
2833
2901
|
// src/primitives/icon/svg/revenue-alt.tsx
|
|
2834
|
-
var
|
|
2902
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2835
2903
|
var RevenueAltIcon = (_a) => {
|
|
2836
2904
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2837
|
-
return /* @__PURE__ */ (0,
|
|
2905
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
2838
2906
|
"svg",
|
|
2839
2907
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2840
2908
|
viewBox: "0 0 20 20",
|
|
@@ -2842,8 +2910,8 @@ var RevenueAltIcon = (_a) => {
|
|
|
2842
2910
|
fill: "none"
|
|
2843
2911
|
}, getIconA11yProps(title)), props), {
|
|
2844
2912
|
children: [
|
|
2845
|
-
title ? /* @__PURE__ */ (0,
|
|
2846
|
-
/* @__PURE__ */ (0,
|
|
2913
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("title", { children: title }) : null,
|
|
2914
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2847
2915
|
"path",
|
|
2848
2916
|
{
|
|
2849
2917
|
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
@@ -2853,7 +2921,7 @@ var RevenueAltIcon = (_a) => {
|
|
|
2853
2921
|
strokeLinejoin: "round"
|
|
2854
2922
|
}
|
|
2855
2923
|
),
|
|
2856
|
-
/* @__PURE__ */ (0,
|
|
2924
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2857
2925
|
"path",
|
|
2858
2926
|
{
|
|
2859
2927
|
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",
|
|
@@ -2870,10 +2938,10 @@ var RevenueAltIcon = (_a) => {
|
|
|
2870
2938
|
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
2871
2939
|
|
|
2872
2940
|
// src/primitives/icon/svg/search.tsx
|
|
2873
|
-
var
|
|
2941
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
2874
2942
|
var SearchIcon = (_a) => {
|
|
2875
2943
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2876
|
-
return /* @__PURE__ */ (0,
|
|
2944
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
2877
2945
|
"svg",
|
|
2878
2946
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2879
2947
|
viewBox: "0 0 16 16",
|
|
@@ -2882,8 +2950,8 @@ var SearchIcon = (_a) => {
|
|
|
2882
2950
|
className
|
|
2883
2951
|
}, getIconA11yProps(title)), props), {
|
|
2884
2952
|
children: [
|
|
2885
|
-
title ? /* @__PURE__ */ (0,
|
|
2886
|
-
/* @__PURE__ */ (0,
|
|
2953
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("title", { children: title }) : null,
|
|
2954
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2887
2955
|
"path",
|
|
2888
2956
|
{
|
|
2889
2957
|
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",
|
|
@@ -2893,7 +2961,7 @@ var SearchIcon = (_a) => {
|
|
|
2893
2961
|
strokeLinejoin: "round"
|
|
2894
2962
|
}
|
|
2895
2963
|
),
|
|
2896
|
-
/* @__PURE__ */ (0,
|
|
2964
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
2897
2965
|
"path",
|
|
2898
2966
|
{
|
|
2899
2967
|
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
@@ -2910,34 +2978,24 @@ var SearchIcon = (_a) => {
|
|
|
2910
2978
|
SearchIcon.displayName = "SearchIcon";
|
|
2911
2979
|
|
|
2912
2980
|
// src/primitives/icon/svg/shield-trust.tsx
|
|
2913
|
-
var
|
|
2981
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
2914
2982
|
var ShieldTrustIcon = (_a) => {
|
|
2915
2983
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2916
|
-
return /* @__PURE__ */ (0,
|
|
2984
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
2917
2985
|
"svg",
|
|
2918
2986
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2919
|
-
viewBox: "0 0
|
|
2987
|
+
viewBox: "0 0 14 14",
|
|
2920
2988
|
className,
|
|
2921
2989
|
fill: "none"
|
|
2922
2990
|
}, getIconA11yProps(title)), props), {
|
|
2923
2991
|
children: [
|
|
2924
|
-
title ? /* @__PURE__ */ (0,
|
|
2925
|
-
/* @__PURE__ */ (0,
|
|
2992
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("title", { children: title }) : null,
|
|
2993
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
2926
2994
|
"path",
|
|
2927
2995
|
{
|
|
2928
|
-
d: "
|
|
2996
|
+
d: "M13.4889 5.75648L12.2341 4.49998V3.49781C12.2341 2.53473 11.4513 1.75073 10.4894 1.75073H9.48835L8.2336 0.494813C7.57385 -0.164938 6.42469 -0.164938 5.76552 0.494813L4.51077 1.75073H3.50977C2.54727 1.75073 1.76502 2.53415 1.76502 3.49781V4.49998L0.509687 5.75648C-0.169896 6.43781 -0.169896 7.54556 0.509687 8.2269L1.76444 9.4834V10.4856C1.76444 11.4486 2.54727 12.2326 3.50919 12.2326H4.51019L5.76494 13.4886C6.09452 13.8181 6.53319 14.0001 6.99927 14.0001C7.46535 14.0001 7.90344 13.8181 8.23302 13.4886L9.48777 12.2326H10.4888C11.4513 12.2326 12.2335 11.4492 12.2335 10.4856V9.4834L13.4889 8.2269C14.1684 7.54556 14.1684 6.43781 13.4889 5.75648ZM10.6177 5.95656L7.66952 8.87031C7.31135 9.22615 6.83944 9.40465 6.3681 9.40465C5.89677 9.40465 5.42719 9.22673 5.06785 8.87206L3.55177 7.41431C3.3231 7.1874 3.32077 6.81873 3.54769 6.58948C3.77519 6.3614 4.14327 6.35848 4.3731 6.5854L5.8886 8.04256C6.15285 8.30448 6.58277 8.30506 6.8476 8.04256L9.79635 5.12823C10.0262 4.90073 10.3949 4.90306 10.6218 5.13231C10.8487 5.36156 10.8464 5.72965 10.6177 5.95656Z",
|
|
2929
2997
|
fill: "currentColor"
|
|
2930
2998
|
}
|
|
2931
|
-
),
|
|
2932
|
-
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2933
|
-
"path",
|
|
2934
|
-
{
|
|
2935
|
-
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
2936
|
-
stroke: "white",
|
|
2937
|
-
strokeWidth: "1.4",
|
|
2938
|
-
strokeLinecap: "round",
|
|
2939
|
-
strokeLinejoin: "round"
|
|
2940
|
-
}
|
|
2941
2999
|
)
|
|
2942
3000
|
]
|
|
2943
3001
|
})
|
|
@@ -2946,10 +3004,10 @@ var ShieldTrustIcon = (_a) => {
|
|
|
2946
3004
|
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
2947
3005
|
|
|
2948
3006
|
// src/primitives/icon/svg/sparkles-filled.tsx
|
|
2949
|
-
var
|
|
3007
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
2950
3008
|
var SparklesFilledIcon = (_a) => {
|
|
2951
3009
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2952
|
-
return /* @__PURE__ */ (0,
|
|
3010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
2953
3011
|
"svg",
|
|
2954
3012
|
__spreadProps(__spreadValues(__spreadValues({
|
|
2955
3013
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2960,15 +3018,15 @@ var SparklesFilledIcon = (_a) => {
|
|
|
2960
3018
|
className
|
|
2961
3019
|
}, getIconA11yProps(title)), props), {
|
|
2962
3020
|
children: [
|
|
2963
|
-
/* @__PURE__ */ (0,
|
|
3021
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("g", { clipPath: "url(#clip0_2028_8371)", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
2964
3022
|
"path",
|
|
2965
3023
|
{
|
|
2966
3024
|
d: "M13.0001 15.9999C12.8668 16 12.7366 15.9602 12.6262 15.8856C12.5158 15.8109 12.4303 15.705 12.3807 15.5813L11.8181 14.1726L10.4074 13.5786C10.2864 13.5252 10.1839 13.4372 10.1127 13.3256C10.0416 13.2141 10.0049 13.0841 10.0074 12.9518C10.0099 12.8196 10.0514 12.691 10.1267 12.5823C10.202 12.4735 10.3078 12.3894 10.4307 12.3406L11.8227 11.8133L12.3807 10.4186C12.4321 10.2967 12.5182 10.1927 12.6284 10.1195C12.7385 10.0464 12.8678 10.0074 13.0001 10.0074C13.1323 10.0074 13.2616 10.0464 13.3718 10.1195C13.482 10.1927 13.5681 10.2967 13.6194 10.4186L14.1801 11.8186L15.5801 12.3793C15.7022 12.4303 15.8065 12.5164 15.8799 12.6266C15.9532 12.7368 15.9923 12.8662 15.9923 12.9986C15.9923 13.131 15.9532 13.2604 15.8799 13.3706C15.8065 13.4808 15.7022 13.5668 15.5801 13.6179L14.1801 14.1786L13.6194 15.5786C13.5703 15.7028 13.4849 15.8093 13.3745 15.8845C13.2641 15.9596 13.1336 15.9998 13.0001 15.9999ZM6.66674 13.9999C6.37872 14.0034 6.09733 13.9135 5.86467 13.7437C5.63201 13.5739 5.46059 13.3333 5.37607 13.0579L4.30007 9.69326L0.92474 8.56393C0.652316 8.47287 0.415886 8.29758 0.249599 8.06337C0.0833117 7.82916 -0.00422421 7.54815 -0.000366007 7.26094C0.0034922 6.97372 0.0985448 6.69517 0.271063 6.46551C0.443581 6.23585 0.684635 6.06697 0.959407 5.98326L4.30807 4.9606L5.43607 1.59126C5.51994 1.31451 5.69343 1.07349 5.92924 0.906102C6.16505 0.738716 6.44981 0.654464 6.73874 0.666597C7.02681 0.666987 7.307 0.76066 7.53738 0.933596C7.76776 1.10653 7.93594 1.34943 8.01674 1.62593L9.03807 4.96926L12.3914 6.0426C12.6619 6.13332 12.897 6.30672 13.0636 6.53831C13.2302 6.7699 13.3198 7.04798 13.3198 7.33326C13.3198 7.61855 13.2302 7.89662 13.0636 8.12822C12.897 8.35981 12.6619 8.53321 12.3914 8.62393L9.03207 9.6986L7.95741 13.0579C7.87289 13.3333 7.70147 13.5739 7.46881 13.7437C7.23615 13.9135 6.95476 14.0034 6.66674 13.9999ZM13.6667 4.6666C13.5181 4.66659 13.3738 4.61693 13.2566 4.52549C13.1394 4.43406 13.0562 4.30609 13.0201 4.16193L12.7821 3.2086L11.8267 2.95193C11.6832 2.91335 11.5566 2.82788 11.4672 2.70911C11.3777 2.59033 11.3306 2.44507 11.3332 2.29641C11.3358 2.14776 11.388 2.00424 11.4815 1.88867C11.5751 1.7731 11.7046 1.69212 11.8494 1.6586L12.7827 1.44193L13.0201 0.504597C13.0562 0.360445 13.1395 0.232498 13.2566 0.141076C13.3738 0.0496542 13.5181 0 13.6667 0C13.8154 0 13.9597 0.0496542 14.0769 0.141076C14.194 0.232498 14.2773 0.360445 14.3134 0.504597L14.5494 1.44993L15.4947 1.6866C15.6389 1.72272 15.7668 1.80598 15.8583 1.92314C15.9497 2.0403 15.9993 2.18465 15.9993 2.33326C15.9993 2.48187 15.9497 2.62622 15.8583 2.74338C15.7668 2.86055 15.6389 2.9438 15.4947 2.97993L14.5494 3.2166L14.3134 4.16193C14.2773 4.30609 14.194 4.43406 14.0769 4.52549C13.9597 4.61693 13.8154 4.66659 13.6667 4.6666Z",
|
|
2967
3025
|
fill: "currentColor"
|
|
2968
3026
|
}
|
|
2969
3027
|
) }),
|
|
2970
|
-
/* @__PURE__ */ (0,
|
|
2971
|
-
/* @__PURE__ */ (0,
|
|
3028
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("defs", { children: [
|
|
3029
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
2972
3030
|
"linearGradient",
|
|
2973
3031
|
{
|
|
2974
3032
|
id: "paint0_linear_2028_8371",
|
|
@@ -2978,12 +3036,12 @@ var SparklesFilledIcon = (_a) => {
|
|
|
2978
3036
|
y2: "7.99997",
|
|
2979
3037
|
gradientUnits: "userSpaceOnUse",
|
|
2980
3038
|
children: [
|
|
2981
|
-
/* @__PURE__ */ (0,
|
|
2982
|
-
/* @__PURE__ */ (0,
|
|
3039
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("stop", { stopColor: "currentColor" }),
|
|
3040
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("stop", { offset: "1", stopColor: "currentColor" })
|
|
2983
3041
|
]
|
|
2984
3042
|
}
|
|
2985
3043
|
),
|
|
2986
|
-
/* @__PURE__ */ (0,
|
|
3044
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("clipPath", { id: "clip0_2028_8371", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("rect", { width: "16", height: "16", fill: "white" }) })
|
|
2987
3045
|
] })
|
|
2988
3046
|
]
|
|
2989
3047
|
})
|
|
@@ -2992,10 +3050,10 @@ var SparklesFilledIcon = (_a) => {
|
|
|
2992
3050
|
SparklesFilledIcon.displayName = "SparklesFilledIcon";
|
|
2993
3051
|
|
|
2994
3052
|
// src/primitives/icon/svg/stay-in-control.tsx
|
|
2995
|
-
var
|
|
3053
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
2996
3054
|
var StayInControlIcon = (_a) => {
|
|
2997
3055
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
2998
|
-
return /* @__PURE__ */ (0,
|
|
3056
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
2999
3057
|
"svg",
|
|
3000
3058
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3001
3059
|
width: "28",
|
|
@@ -3006,16 +3064,16 @@ var StayInControlIcon = (_a) => {
|
|
|
3006
3064
|
className
|
|
3007
3065
|
}, getIconA11yProps(title)), props), {
|
|
3008
3066
|
children: [
|
|
3009
|
-
title ? /* @__PURE__ */ (0,
|
|
3010
|
-
/* @__PURE__ */ (0,
|
|
3011
|
-
/* @__PURE__ */ (0,
|
|
3067
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("title", { children: title }) : null,
|
|
3068
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
3069
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3012
3070
|
"path",
|
|
3013
3071
|
{
|
|
3014
3072
|
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",
|
|
3015
3073
|
fill: "currentColor"
|
|
3016
3074
|
}
|
|
3017
3075
|
),
|
|
3018
|
-
/* @__PURE__ */ (0,
|
|
3076
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3019
3077
|
"path",
|
|
3020
3078
|
{
|
|
3021
3079
|
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",
|
|
@@ -3023,7 +3081,7 @@ var StayInControlIcon = (_a) => {
|
|
|
3023
3081
|
}
|
|
3024
3082
|
)
|
|
3025
3083
|
] }),
|
|
3026
|
-
/* @__PURE__ */ (0,
|
|
3084
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
3027
3085
|
]
|
|
3028
3086
|
})
|
|
3029
3087
|
);
|
|
@@ -3031,10 +3089,10 @@ var StayInControlIcon = (_a) => {
|
|
|
3031
3089
|
StayInControlIcon.displayName = "StayInControlIcon";
|
|
3032
3090
|
|
|
3033
3091
|
// src/primitives/icon/svg/success-check.tsx
|
|
3034
|
-
var
|
|
3092
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
3035
3093
|
var SuccessCheckIcon = (_a) => {
|
|
3036
3094
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3037
|
-
return /* @__PURE__ */ (0,
|
|
3095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3038
3096
|
"svg",
|
|
3039
3097
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3040
3098
|
width: "24",
|
|
@@ -3045,8 +3103,8 @@ var SuccessCheckIcon = (_a) => {
|
|
|
3045
3103
|
className
|
|
3046
3104
|
}, getIconA11yProps(title)), props), {
|
|
3047
3105
|
children: [
|
|
3048
|
-
title ? /* @__PURE__ */ (0,
|
|
3049
|
-
/* @__PURE__ */ (0,
|
|
3106
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("title", { children: title }) : null,
|
|
3107
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3050
3108
|
"path",
|
|
3051
3109
|
{
|
|
3052
3110
|
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",
|
|
@@ -3060,10 +3118,10 @@ var SuccessCheckIcon = (_a) => {
|
|
|
3060
3118
|
SuccessCheckIcon.displayName = "SuccessCheckIcon";
|
|
3061
3119
|
|
|
3062
3120
|
// src/primitives/icon/svg/telegram.tsx
|
|
3063
|
-
var
|
|
3121
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3064
3122
|
var TelegramIcon = (_a) => {
|
|
3065
3123
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3066
|
-
return /* @__PURE__ */ (0,
|
|
3124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
3067
3125
|
"svg",
|
|
3068
3126
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3069
3127
|
viewBox: "0 0 20 20",
|
|
@@ -3071,8 +3129,8 @@ var TelegramIcon = (_a) => {
|
|
|
3071
3129
|
fill: "none"
|
|
3072
3130
|
}, getIconA11yProps(title)), props), {
|
|
3073
3131
|
children: [
|
|
3074
|
-
title ? /* @__PURE__ */ (0,
|
|
3075
|
-
/* @__PURE__ */ (0,
|
|
3132
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("title", { children: title }) : null,
|
|
3133
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
3076
3134
|
"path",
|
|
3077
3135
|
{
|
|
3078
3136
|
fillRule: "evenodd",
|
|
@@ -3081,7 +3139,7 @@ var TelegramIcon = (_a) => {
|
|
|
3081
3139
|
fill: "currentColor"
|
|
3082
3140
|
}
|
|
3083
3141
|
) }),
|
|
3084
|
-
/* @__PURE__ */ (0,
|
|
3142
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
3085
3143
|
]
|
|
3086
3144
|
})
|
|
3087
3145
|
);
|
|
@@ -3089,10 +3147,10 @@ var TelegramIcon = (_a) => {
|
|
|
3089
3147
|
TelegramIcon.displayName = "TelegramIcon";
|
|
3090
3148
|
|
|
3091
3149
|
// src/primitives/icon/svg/triangle-down.tsx
|
|
3092
|
-
var
|
|
3150
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
3093
3151
|
var TriangleDownIcon = (_a) => {
|
|
3094
3152
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3095
|
-
return /* @__PURE__ */ (0,
|
|
3153
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
3096
3154
|
"svg",
|
|
3097
3155
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3098
3156
|
viewBox: "0 0 8 8",
|
|
@@ -3100,16 +3158,16 @@ var TriangleDownIcon = (_a) => {
|
|
|
3100
3158
|
fill: "none"
|
|
3101
3159
|
}, getIconA11yProps(title)), props), {
|
|
3102
3160
|
children: [
|
|
3103
|
-
title ? /* @__PURE__ */ (0,
|
|
3104
|
-
/* @__PURE__ */ (0,
|
|
3105
|
-
/* @__PURE__ */ (0,
|
|
3161
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("title", { children: title }) : null,
|
|
3162
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
3163
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3106
3164
|
"path",
|
|
3107
3165
|
{
|
|
3108
3166
|
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",
|
|
3109
3167
|
fill: "currentColor"
|
|
3110
3168
|
}
|
|
3111
3169
|
),
|
|
3112
|
-
/* @__PURE__ */ (0,
|
|
3170
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
3113
3171
|
"path",
|
|
3114
3172
|
{
|
|
3115
3173
|
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",
|
|
@@ -3117,7 +3175,7 @@ var TriangleDownIcon = (_a) => {
|
|
|
3117
3175
|
}
|
|
3118
3176
|
)
|
|
3119
3177
|
] }),
|
|
3120
|
-
/* @__PURE__ */ (0,
|
|
3178
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
3121
3179
|
]
|
|
3122
3180
|
})
|
|
3123
3181
|
);
|
|
@@ -3125,10 +3183,10 @@ var TriangleDownIcon = (_a) => {
|
|
|
3125
3183
|
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
3126
3184
|
|
|
3127
3185
|
// src/primitives/icon/svg/triangle-up.tsx
|
|
3128
|
-
var
|
|
3186
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
3129
3187
|
var TriangleUpIcon = (_a) => {
|
|
3130
3188
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3131
|
-
return /* @__PURE__ */ (0,
|
|
3189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
3132
3190
|
"svg",
|
|
3133
3191
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3134
3192
|
viewBox: "0 0 8 8",
|
|
@@ -3136,16 +3194,16 @@ var TriangleUpIcon = (_a) => {
|
|
|
3136
3194
|
fill: "none"
|
|
3137
3195
|
}, getIconA11yProps(title)), props), {
|
|
3138
3196
|
children: [
|
|
3139
|
-
title ? /* @__PURE__ */ (0,
|
|
3140
|
-
/* @__PURE__ */ (0,
|
|
3141
|
-
/* @__PURE__ */ (0,
|
|
3197
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("title", { children: title }) : null,
|
|
3198
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
3199
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3142
3200
|
"path",
|
|
3143
3201
|
{
|
|
3144
3202
|
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",
|
|
3145
3203
|
fill: "currentColor"
|
|
3146
3204
|
}
|
|
3147
3205
|
),
|
|
3148
|
-
/* @__PURE__ */ (0,
|
|
3206
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
3149
3207
|
"path",
|
|
3150
3208
|
{
|
|
3151
3209
|
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",
|
|
@@ -3153,7 +3211,7 @@ var TriangleUpIcon = (_a) => {
|
|
|
3153
3211
|
}
|
|
3154
3212
|
)
|
|
3155
3213
|
] }),
|
|
3156
|
-
/* @__PURE__ */ (0,
|
|
3214
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
3157
3215
|
]
|
|
3158
3216
|
})
|
|
3159
3217
|
);
|
|
@@ -3161,10 +3219,10 @@ var TriangleUpIcon = (_a) => {
|
|
|
3161
3219
|
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
3162
3220
|
|
|
3163
3221
|
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
3164
|
-
var
|
|
3222
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
3165
3223
|
var TriangleUpFilledIcon = (_a) => {
|
|
3166
3224
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3167
|
-
return /* @__PURE__ */ (0,
|
|
3225
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
3168
3226
|
"svg",
|
|
3169
3227
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3170
3228
|
viewBox: "0 0 8 8",
|
|
@@ -3172,8 +3230,8 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
3172
3230
|
fill: "none"
|
|
3173
3231
|
}, getIconA11yProps(title)), props), {
|
|
3174
3232
|
children: [
|
|
3175
|
-
title ? /* @__PURE__ */ (0,
|
|
3176
|
-
/* @__PURE__ */ (0,
|
|
3233
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("title", { children: title }) : null,
|
|
3234
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
3177
3235
|
"path",
|
|
3178
3236
|
{
|
|
3179
3237
|
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",
|
|
@@ -3187,10 +3245,10 @@ var TriangleUpFilledIcon = (_a) => {
|
|
|
3187
3245
|
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
3188
3246
|
|
|
3189
3247
|
// src/primitives/icon/svg/twitter.tsx
|
|
3190
|
-
var
|
|
3248
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
3191
3249
|
var TwitterIcon = (_a) => {
|
|
3192
3250
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3193
|
-
return /* @__PURE__ */ (0,
|
|
3251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
3194
3252
|
"svg",
|
|
3195
3253
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3196
3254
|
viewBox: "0 0 24 24",
|
|
@@ -3198,8 +3256,8 @@ var TwitterIcon = (_a) => {
|
|
|
3198
3256
|
fill: "none"
|
|
3199
3257
|
}, getIconA11yProps(title)), props), {
|
|
3200
3258
|
children: [
|
|
3201
|
-
title ? /* @__PURE__ */ (0,
|
|
3202
|
-
/* @__PURE__ */ (0,
|
|
3259
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("title", { children: title }) : null,
|
|
3260
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
3203
3261
|
"path",
|
|
3204
3262
|
{
|
|
3205
3263
|
d: "M18.325 2H21.7002L14.3283 10.4233L23 21.8871H16.2121L10.8918 14.936L4.81058 21.8871H1.42992L9.31325 12.8753L1 2H7.96025L12.7645 8.35342L18.325 2ZM17.1398 19.8695H19.0088L6.94183 3.91217H4.93433L17.1398 19.8695Z",
|
|
@@ -3213,10 +3271,10 @@ var TwitterIcon = (_a) => {
|
|
|
3213
3271
|
TwitterIcon.displayName = "TwitterIcon";
|
|
3214
3272
|
|
|
3215
3273
|
// src/primitives/icon/svg/upload.tsx
|
|
3216
|
-
var
|
|
3274
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
3217
3275
|
var UploadIcon = (_a) => {
|
|
3218
3276
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3219
|
-
return /* @__PURE__ */ (0,
|
|
3277
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
3220
3278
|
"svg",
|
|
3221
3279
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3222
3280
|
viewBox: "0 0 16 16",
|
|
@@ -3224,16 +3282,16 @@ var UploadIcon = (_a) => {
|
|
|
3224
3282
|
fill: "none"
|
|
3225
3283
|
}, getIconA11yProps(title)), props), {
|
|
3226
3284
|
children: [
|
|
3227
|
-
title ? /* @__PURE__ */ (0,
|
|
3228
|
-
/* @__PURE__ */ (0,
|
|
3229
|
-
/* @__PURE__ */ (0,
|
|
3285
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("title", { children: title }) : null,
|
|
3286
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("g", { clipPath: "url(#upload-clip)", children: [
|
|
3287
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3230
3288
|
"path",
|
|
3231
3289
|
{
|
|
3232
3290
|
d: "M7.33755 1.71857L7.33288 12.0106C7.33288 12.1874 7.40312 12.357 7.52814 12.482C7.65317 12.607 7.82274 12.6772 7.99955 12.6772C8.17636 12.6772 8.34593 12.607 8.47095 12.482C8.59598 12.357 8.66621 12.1874 8.66621 12.0106L8.67088 1.7299L10.6122 3.6719C10.7372 3.79688 10.9068 3.86709 11.0835 3.86709C11.2603 3.86709 11.4299 3.79688 11.5549 3.6719C11.6799 3.54689 11.7501 3.37735 11.7501 3.20057C11.7501 3.02379 11.6799 2.85426 11.5549 2.72924L9.41421 0.585904C9.22848 0.400051 9.00795 0.252617 8.76521 0.152028C8.52248 0.0514383 8.2623 -0.000335693 7.99955 -0.000335693C7.7368 -0.000335693 7.47662 0.0514383 7.23388 0.152028C6.99115 0.252617 6.77061 0.400051 6.58488 0.585904L4.44421 2.72724C4.31923 2.85226 4.24902 3.02179 4.24902 3.19857C4.24902 3.37535 4.31923 3.54489 4.44421 3.6699C4.56923 3.79488 4.73877 3.86509 4.91555 3.86509C5.09232 3.86509 5.26186 3.79488 5.38688 3.6699L7.33755 1.71857Z",
|
|
3233
3291
|
fill: "currentColor"
|
|
3234
3292
|
}
|
|
3235
3293
|
),
|
|
3236
|
-
/* @__PURE__ */ (0,
|
|
3294
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
3237
3295
|
"path",
|
|
3238
3296
|
{
|
|
3239
3297
|
d: "M14.6667 11.3333V14C14.6667 14.1768 14.5964 14.3464 14.4714 14.4714C14.3464 14.5964 14.1768 14.6667 14 14.6667H2C1.82319 14.6667 1.65362 14.5964 1.5286 14.4714C1.40357 14.3464 1.33333 14.1768 1.33333 14V11.3333C1.33333 11.1565 1.2631 10.9869 1.13807 10.8619C1.01305 10.7369 0.843478 10.6667 0.666667 10.6667C0.489856 10.6667 0.320286 10.7369 0.195262 10.8619C0.0702379 10.9869 0 11.1565 0 11.3333L0 14C0 14.5304 0.210714 15.0391 0.585786 15.4142C0.960859 15.7893 1.46957 16 2 16H14C14.5304 16 15.0391 15.7893 15.4142 15.4142C15.7893 15.0391 16 14.5304 16 14V11.3333C16 11.1565 15.9298 10.9869 15.8047 10.8619C15.6797 10.7369 15.5101 10.6667 15.3333 10.6667C15.1565 10.6667 14.987 10.7369 14.8619 10.8619C14.7369 10.9869 14.6667 11.1565 14.6667 11.3333Z",
|
|
@@ -3241,7 +3299,7 @@ var UploadIcon = (_a) => {
|
|
|
3241
3299
|
}
|
|
3242
3300
|
)
|
|
3243
3301
|
] }),
|
|
3244
|
-
/* @__PURE__ */ (0,
|
|
3302
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("clipPath", { id: "upload-clip", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
3245
3303
|
]
|
|
3246
3304
|
})
|
|
3247
3305
|
);
|
|
@@ -3249,10 +3307,10 @@ var UploadIcon = (_a) => {
|
|
|
3249
3307
|
UploadIcon.displayName = "UploadIcon";
|
|
3250
3308
|
|
|
3251
3309
|
// src/primitives/icon/svg/user-trust.tsx
|
|
3252
|
-
var
|
|
3310
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
3253
3311
|
var UserTrustIcon = (_a) => {
|
|
3254
3312
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3255
|
-
return /* @__PURE__ */ (0,
|
|
3313
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
3256
3314
|
"svg",
|
|
3257
3315
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3258
3316
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3261,15 +3319,15 @@ var UserTrustIcon = (_a) => {
|
|
|
3261
3319
|
className
|
|
3262
3320
|
}, getIconA11yProps(title)), props), {
|
|
3263
3321
|
children: [
|
|
3264
|
-
title ? /* @__PURE__ */ (0,
|
|
3265
|
-
/* @__PURE__ */ (0,
|
|
3322
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("title", { children: title }) : null,
|
|
3323
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("g", { clipPath: "url(#clip0_user_trust)", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
3266
3324
|
"path",
|
|
3267
3325
|
{
|
|
3268
3326
|
d: "M22.5 30C14.2275 30 7.5 23.2725 7.5 15C7.5 6.7275 14.2275 0 22.5 0C30.7725 0 37.5 6.7275 37.5 15C37.5 23.2725 30.7725 30 22.5 30ZM22.5 2.5C15.6075 2.5 10 8.1075 10 15C10 21.8925 15.6075 27.5 22.5 27.5C29.3925 27.5 35 21.8925 35 15C35 8.1075 29.3925 2.5 22.5 2.5ZM2.5 58.75V57.5C2.5 46.9175 10.7675 38.1475 21.3225 37.535C22.0125 37.495 22.5375 36.905 22.4975 36.215C22.4575 35.5275 21.87 34.96 21.1775 35.04C9.3025 35.7275 0 45.5925 0 57.5V58.75C0 59.44 0.56 60 1.25 60C1.94 60 2.5 59.44 2.5 58.75ZM43.75 60C34.79 60 27.5 52.71 27.5 43.75C27.5 34.79 34.79 27.5 43.75 27.5C52.71 27.5 60 34.79 60 43.75C60 52.71 52.71 60 43.75 60ZM43.75 30C36.1675 30 30 36.17 30 43.75C30 51.33 36.1675 57.5 43.75 57.5C51.3325 57.5 57.5 51.33 57.5 43.75C57.5 36.17 51.3325 30 43.75 30ZM45.3375 48.66L52.095 42.125C52.59 41.645 52.605 40.8525 52.125 40.3575C51.6475 39.8625 50.8575 39.85 50.3575 40.3275L43.5925 46.8725C42.7525 47.7 41.38 47.705 40.535 46.8825L37.1275 43.52C36.6375 43.035 35.845 43.04 35.36 43.53C34.875 44.0225 34.88 44.815 35.3725 45.2975L38.7825 48.665C39.6875 49.55 40.875 49.9925 42.0625 49.9925C43.25 49.9925 44.4375 49.5475 45.3375 48.66Z",
|
|
3269
3327
|
fill: "currentColor"
|
|
3270
3328
|
}
|
|
3271
3329
|
) }),
|
|
3272
|
-
/* @__PURE__ */ (0,
|
|
3330
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("clipPath", { id: "clip0_user_trust", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("rect", { width: "60", height: "60", fill: "white" }) }) })
|
|
3273
3331
|
]
|
|
3274
3332
|
})
|
|
3275
3333
|
);
|
|
@@ -3277,10 +3335,10 @@ var UserTrustIcon = (_a) => {
|
|
|
3277
3335
|
UserTrustIcon.displayName = "UserTrustIcon";
|
|
3278
3336
|
|
|
3279
3337
|
// src/primitives/icon/svg/usdc.tsx
|
|
3280
|
-
var
|
|
3338
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3281
3339
|
var UsdcIcon = (_a) => {
|
|
3282
3340
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3283
|
-
return /* @__PURE__ */ (0,
|
|
3341
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
3284
3342
|
"svg",
|
|
3285
3343
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3286
3344
|
viewBox: "0 0 32 32",
|
|
@@ -3288,16 +3346,16 @@ var UsdcIcon = (_a) => {
|
|
|
3288
3346
|
fill: "none"
|
|
3289
3347
|
}, getIconA11yProps(title)), props), {
|
|
3290
3348
|
children: [
|
|
3291
|
-
title ? /* @__PURE__ */ (0,
|
|
3292
|
-
/* @__PURE__ */ (0,
|
|
3293
|
-
/* @__PURE__ */ (0,
|
|
3349
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("title", { children: title }) : null,
|
|
3350
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("circle", { cx: "16", cy: "16", r: "16", fill: "#2775CA" }),
|
|
3351
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3294
3352
|
"path",
|
|
3295
3353
|
{
|
|
3296
3354
|
d: "M20.4 18.6c0-2.2-1.3-3-3.9-3.3-1.9-.3-2.3-.8-2.3-1.7s.7-1.5 2.1-1.5c1.2 0 1.9.4 2.2 1.4.1.2.2.3.4.3h1c.2 0 .4-.2.4-.4-.2-1.3-1.1-2.4-2.6-2.7v-1.5c0-.2-.2-.4-.5-.4h-.9c-.2 0-.4.2-.5.4v1.5c-1.7.3-2.8 1.4-2.8 2.9 0 2.1 1.3 2.8 3.9 3.2 1.7.3 2.3.8 2.3 1.8s-.9 1.7-2.2 1.7c-1.7 0-2.3-.7-2.5-1.6-.1-.2-.2-.3-.4-.3h-1c-.2 0-.4.2-.4.4.3 1.6 1.3 2.6 3.1 2.9v1.5c0 .2.2.4.5.4h.9c.2 0 .4-.2.5-.4v-1.5c1.7-.3 2.8-1.5 2.8-3.1z",
|
|
3297
3355
|
fill: "#fff"
|
|
3298
3356
|
}
|
|
3299
3357
|
),
|
|
3300
|
-
/* @__PURE__ */ (0,
|
|
3358
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
3301
3359
|
"path",
|
|
3302
3360
|
{
|
|
3303
3361
|
d: "M13.1 25.2c-4.6-1.6-7-6.7-5.3-11.3 1-2.7 3.1-4.5 5.7-5.3.2-.1.4-.3.4-.5v-.9c0-.2-.2-.4-.4-.4h-.1c-5.3 1.6-8.3 7.3-6.7 12.6 1 3.3 3.5 5.8 6.8 6.8.2.1.5-.1.5-.3v-.9c-.1-.3-.2-.5-.5-.6l-.4-.2zM19.3 6.8c-.2-.1-.5.1-.5.3v.9c0 .2.2.5.4.6 4.6 1.6 7 6.7 5.3 11.3-1 2.7-3.1 4.5-5.7 5.3-.2.1-.4.3-.4.5v.9c0 .2.2.4.4.4h.1c5.3-1.6 8.3-7.3 6.7-12.6-1-3.3-3.5-5.8-6.8-6.8l.5.2z",
|
|
@@ -3311,10 +3369,10 @@ var UsdcIcon = (_a) => {
|
|
|
3311
3369
|
UsdcIcon.displayName = "UsdcIcon";
|
|
3312
3370
|
|
|
3313
3371
|
// src/primitives/icon/svg/wallet.tsx
|
|
3314
|
-
var
|
|
3372
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3315
3373
|
var WalletIcon = (_a) => {
|
|
3316
3374
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3317
|
-
return /* @__PURE__ */ (0,
|
|
3375
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
3318
3376
|
"svg",
|
|
3319
3377
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3320
3378
|
viewBox: "0 0 24 24",
|
|
@@ -3322,8 +3380,8 @@ var WalletIcon = (_a) => {
|
|
|
3322
3380
|
fill: "none"
|
|
3323
3381
|
}, getIconA11yProps(title)), props), {
|
|
3324
3382
|
children: [
|
|
3325
|
-
title ? /* @__PURE__ */ (0,
|
|
3326
|
-
/* @__PURE__ */ (0,
|
|
3383
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("title", { children: title }) : null,
|
|
3384
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
3327
3385
|
"path",
|
|
3328
3386
|
{
|
|
3329
3387
|
d: "M21.5 6H4.5C3.354 6 2.279 5.433 1.628 4.501C2.262 3.594 3.313 3 4.5 3H23.5C23.776 3 24 2.776 24 2.5C24 2.224 23.776 2 23.5 2H4.5C2.015 2 0 4.015 0 6.5V17.5C0 19.985 2.015 22 4.5 22H21.5C22.881 22 24 20.881 24 19.5V8.5C24 7.119 22.881 6 21.5 6ZM23 19.5C23 20.327 22.327 21 21.5 21H4.5C2.57 21 1 19.43 1 17.5V6.5C1 6.152 1.051 5.816 1.146 5.499C1.992 6.441 3.21 7 4.5 7H21.5C22.327 7 23 7.673 23 8.5V19.5ZM21 14C21 14.552 20.552 15 20 15C19.448 15 19 14.552 19 14C19 13.448 19.448 13 20 13C20.552 13 21 13.448 21 14Z",
|
|
@@ -3337,10 +3395,10 @@ var WalletIcon = (_a) => {
|
|
|
3337
3395
|
WalletIcon.displayName = "WalletIcon";
|
|
3338
3396
|
|
|
3339
3397
|
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
3340
|
-
var
|
|
3398
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3341
3399
|
function WalletAvatarIcon(_a) {
|
|
3342
3400
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3343
|
-
return /* @__PURE__ */ (0,
|
|
3401
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
3344
3402
|
"svg",
|
|
3345
3403
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3346
3404
|
fill: "none",
|
|
@@ -3348,9 +3406,9 @@ function WalletAvatarIcon(_a) {
|
|
|
3348
3406
|
viewBox: "0 0 16 16"
|
|
3349
3407
|
}, getIconA11yProps(title)), props), {
|
|
3350
3408
|
children: [
|
|
3351
|
-
title ? /* @__PURE__ */ (0,
|
|
3352
|
-
/* @__PURE__ */ (0,
|
|
3353
|
-
/* @__PURE__ */ (0,
|
|
3409
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("title", { children: title }) : null,
|
|
3410
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
3411
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
3354
3412
|
]
|
|
3355
3413
|
})
|
|
3356
3414
|
);
|
|
@@ -3358,10 +3416,10 @@ function WalletAvatarIcon(_a) {
|
|
|
3358
3416
|
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
3359
3417
|
|
|
3360
3418
|
// src/primitives/icon/svg/wallet-filled.tsx
|
|
3361
|
-
var
|
|
3419
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3362
3420
|
var WalletFilledIcon = (_a) => {
|
|
3363
3421
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3364
|
-
return /* @__PURE__ */ (0,
|
|
3422
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
3365
3423
|
"svg",
|
|
3366
3424
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3367
3425
|
viewBox: "0 0 14 14",
|
|
@@ -3369,8 +3427,8 @@ var WalletFilledIcon = (_a) => {
|
|
|
3369
3427
|
fill: "none"
|
|
3370
3428
|
}, getIconA11yProps(title)), props), {
|
|
3371
3429
|
children: [
|
|
3372
|
-
title ? /* @__PURE__ */ (0,
|
|
3373
|
-
/* @__PURE__ */ (0,
|
|
3430
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("title", { children: title }) : null,
|
|
3431
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
3374
3432
|
"path",
|
|
3375
3433
|
{
|
|
3376
3434
|
d: "M12.25 3.50008H2.91667C2.41558 3.50008 1.94133 3.28308 1.61292 2.91733C1.93375 2.55916 2.39983 2.33341 2.91667 2.33341H13.4167C13.7392 2.33341 14 2.07208 14 1.75008C14 1.42808 13.7392 1.16675 13.4167 1.16675H2.91667C1.30608 1.16675 0 2.47283 0 4.08342V9.91675C0 11.5273 1.30608 12.8334 2.91667 12.8334H12.25C13.2166 12.8334 14 12.05 14 11.0834V5.25008C14 4.2835 13.2166 3.50008 12.25 3.50008ZM12.8333 11.0834C12.8333 11.4048 12.572 11.6667 12.25 11.6667H2.91667C1.95183 11.6667 1.16667 10.8816 1.16667 9.91675V4.08225C1.66483 4.455 2.27733 4.66675 2.91667 4.66675H12.25C12.572 4.66675 12.8333 4.92866 12.8333 5.25008V11.0834ZM11.6667 8.16675C11.6667 8.48875 11.4053 8.75008 11.0833 8.75008C10.7613 8.75008 10.5 8.48875 10.5 8.16675C10.5 7.84475 10.7613 7.58342 11.0833 7.58342C11.4053 7.58342 11.6667 7.84475 11.6667 8.16675Z",
|
|
@@ -3384,10 +3442,10 @@ var WalletFilledIcon = (_a) => {
|
|
|
3384
3442
|
WalletFilledIcon.displayName = "WalletFilledIcon";
|
|
3385
3443
|
|
|
3386
3444
|
// src/primitives/icon/svg/paper-plane.tsx
|
|
3387
|
-
var
|
|
3445
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
3388
3446
|
var PaperPlaneIcon = (_a) => {
|
|
3389
3447
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3390
|
-
return /* @__PURE__ */ (0,
|
|
3448
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
3391
3449
|
"svg",
|
|
3392
3450
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3393
3451
|
viewBox: "0 0 24 24",
|
|
@@ -3395,15 +3453,15 @@ var PaperPlaneIcon = (_a) => {
|
|
|
3395
3453
|
fill: "none"
|
|
3396
3454
|
}, getIconA11yProps(title)), props), {
|
|
3397
3455
|
children: [
|
|
3398
|
-
title ? /* @__PURE__ */ (0,
|
|
3399
|
-
/* @__PURE__ */ (0,
|
|
3456
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("title", { children: title }) : null,
|
|
3457
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("g", { clipPath: "url(#paper-plane-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
3400
3458
|
"path",
|
|
3401
3459
|
{
|
|
3402
3460
|
d: "M23.149 0.854808C22.43 0.135808 21.42 -0.152192 20.441 0.0858076L4.21901 4.30981C2.13901 4.59681 0.532009 6.10881 0.125009 8.16081C-0.184991 9.72081 0.349009 11.3698 1.56401 12.5848L3.00101 13.9388V18.5008C3.00101 19.1868 3.27901 19.8088 3.72801 20.2608C3.73001 20.2628 3.73101 20.2658 3.73301 20.2688C3.73501 20.2718 3.73801 20.2718 3.74101 20.2738C4.19301 20.7228 4.81501 21.0008 5.50101 21.0008H10.075L11.456 22.4768C12.438 23.4588 13.757 23.9978 15.059 23.9978C15.525 23.9978 15.989 23.9288 16.434 23.7868C18.218 23.2178 19.478 21.7408 19.713 19.9878L23.91 3.60081C24.154 2.60181 23.87 1.57681 23.15 0.855808L23.149 0.854808ZM2.26001 11.8668C1.29301 10.8988 0.861009 9.58681 1.10501 8.35481C1.42801 6.72781 2.70401 5.52881 4.41401 5.28881L20.686 1.05681C20.83 1.02181 20.976 1.00481 21.12 1.00481C21.441 1.00481 21.753 1.09781 22.035 1.25981L4.15001 19.1438C4.05601 18.9478 4.00001 18.7318 4.00001 18.5008V13.7228C4.00001 13.5848 3.94301 13.4528 3.84301 13.3588L2.26001 11.8668ZM22.939 3.35781L18.731 19.7958C18.538 21.2188 17.541 22.3828 16.128 22.8328C14.789 23.2588 13.232 22.8408 12.172 21.7808L10.654 20.1588C10.559 20.0578 10.427 20.0008 10.289 20.0008H5.50001C5.26901 20.0008 5.05301 19.9438 4.85701 19.8508L22.746 1.96181C22.984 2.37781 23.058 2.87381 22.939 3.35781Z",
|
|
3403
3461
|
fill: "currentColor"
|
|
3404
3462
|
}
|
|
3405
3463
|
) }),
|
|
3406
|
-
/* @__PURE__ */ (0,
|
|
3464
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("clipPath", { id: "paper-plane-clip", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
3407
3465
|
]
|
|
3408
3466
|
})
|
|
3409
3467
|
);
|
|
@@ -3411,10 +3469,10 @@ var PaperPlaneIcon = (_a) => {
|
|
|
3411
3469
|
PaperPlaneIcon.displayName = "PaperPlaneIcon";
|
|
3412
3470
|
|
|
3413
3471
|
// src/primitives/icon/svg/warning.tsx
|
|
3414
|
-
var
|
|
3472
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
3415
3473
|
var WarningIcon = (_a) => {
|
|
3416
3474
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3417
|
-
return /* @__PURE__ */ (0,
|
|
3475
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
3418
3476
|
"svg",
|
|
3419
3477
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3420
3478
|
width: "14",
|
|
@@ -3425,8 +3483,8 @@ var WarningIcon = (_a) => {
|
|
|
3425
3483
|
className
|
|
3426
3484
|
}, getIconA11yProps(title)), props), {
|
|
3427
3485
|
children: [
|
|
3428
|
-
title ? /* @__PURE__ */ (0,
|
|
3429
|
-
/* @__PURE__ */ (0,
|
|
3486
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("title", { children: title }) : null,
|
|
3487
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
3430
3488
|
"path",
|
|
3431
3489
|
{
|
|
3432
3490
|
d: "M6.41665 8.1665V4.6665C6.41665 4.34567 6.67915 4.08317 6.99998 4.08317C7.32082 4.08317 7.58332 4.34567 7.58332 4.6665V8.1665C7.58332 8.48734 7.32082 8.74984 6.99998 8.74984C6.67915 8.74984 6.41665 8.48734 6.41665 8.1665ZM6.99998 9.33317C6.51582 9.33317 6.12498 9.724 6.12498 10.2082C6.12498 10.6923 6.51582 11.0832 6.99998 11.0832C7.48415 11.0832 7.87498 10.6923 7.87498 10.2082C7.87498 9.724 7.48415 9.33317 6.99998 9.33317ZM13.755 12.1798C13.3467 12.9673 12.4892 13.4165 11.4158 13.4165H2.58998C1.51082 13.4165 0.659151 12.9673 0.250818 12.1798C-0.163348 11.3865 -0.0466818 10.3715 0.542485 9.51984L5.23248 2.09984C5.64665 1.50484 6.29998 1.1665 6.99998 1.1665C7.69999 1.1665 8.35332 1.50484 8.74998 2.08234L13.4633 9.5315C14.0525 10.3832 14.1633 11.3923 13.7492 12.1798H13.755ZM12.5008 10.1848C12.5008 10.1848 12.4892 10.1732 12.4892 10.1615L7.78165 2.724C7.61248 2.48484 7.32082 2.33317 6.99998 2.33317C6.67915 2.33317 6.38749 2.48484 6.20665 2.74734L1.51082 10.1615C1.14915 10.6748 1.06748 11.2348 1.27748 11.6373C1.48165 12.034 1.94832 12.2498 2.58415 12.2498H11.4042C12.04 12.2498 12.5067 12.034 12.7108 11.6373C12.9208 11.2348 12.8392 10.6748 12.495 10.1848H12.5008Z",
|
|
@@ -3440,10 +3498,10 @@ var WarningIcon = (_a) => {
|
|
|
3440
3498
|
WarningIcon.displayName = "WarningIcon";
|
|
3441
3499
|
|
|
3442
3500
|
// src/primitives/icon/svg/warning-filled.tsx
|
|
3443
|
-
var
|
|
3501
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
3444
3502
|
var WarningFilledIcon = (_a) => {
|
|
3445
3503
|
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
3446
|
-
return /* @__PURE__ */ (0,
|
|
3504
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
|
|
3447
3505
|
"svg",
|
|
3448
3506
|
__spreadProps(__spreadValues(__spreadValues({
|
|
3449
3507
|
viewBox: "0 0 16 16",
|
|
@@ -3451,8 +3509,8 @@ var WarningFilledIcon = (_a) => {
|
|
|
3451
3509
|
fill: "none"
|
|
3452
3510
|
}, getIconA11yProps(title)), props), {
|
|
3453
3511
|
children: [
|
|
3454
|
-
title ? /* @__PURE__ */ (0,
|
|
3455
|
-
/* @__PURE__ */ (0,
|
|
3512
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("title", { children: title }) : null,
|
|
3513
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
3456
3514
|
"path",
|
|
3457
3515
|
{
|
|
3458
3516
|
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",
|
|
@@ -3506,10 +3564,12 @@ var iconRegistry = {
|
|
|
3506
3564
|
ethereum: EthereumIcon,
|
|
3507
3565
|
"external-link": ExternalLinkIcon,
|
|
3508
3566
|
google: GoogleIcon,
|
|
3567
|
+
"hourglass-start": HourglassStartIcon,
|
|
3509
3568
|
image: ImageIcon,
|
|
3510
3569
|
info: InfoIcon,
|
|
3511
3570
|
"internet-security": InternetSecurityIcon,
|
|
3512
3571
|
"link-accounts": LinkAccountsIcon,
|
|
3572
|
+
lock: LockIcon,
|
|
3513
3573
|
pencil: PencilIcon,
|
|
3514
3574
|
"play-square": PlaySquareIcon,
|
|
3515
3575
|
polygon: PolygonIcon,
|
|
@@ -3552,7 +3612,7 @@ var resolveIconStyle = (color, style) => {
|
|
|
3552
3612
|
};
|
|
3553
3613
|
|
|
3554
3614
|
// src/primitives/icon/index.tsx
|
|
3555
|
-
var
|
|
3615
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
3556
3616
|
var Icon = (_a) => {
|
|
3557
3617
|
var _b = _a, {
|
|
3558
3618
|
name,
|
|
@@ -3576,7 +3636,7 @@ var Icon = (_a) => {
|
|
|
3576
3636
|
}
|
|
3577
3637
|
const resolvedStyle = resolveIconStyle(color, style);
|
|
3578
3638
|
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
3579
|
-
return /* @__PURE__ */ (0,
|
|
3639
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
3580
3640
|
Component,
|
|
3581
3641
|
__spreadValues({
|
|
3582
3642
|
color,
|
|
@@ -3606,7 +3666,7 @@ var resolveLoadingIconAriaLabel = ({
|
|
|
3606
3666
|
};
|
|
3607
3667
|
|
|
3608
3668
|
// src/primitives/loading-icon/index.tsx
|
|
3609
|
-
var
|
|
3669
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
3610
3670
|
var LoadingIcon = ({
|
|
3611
3671
|
size = LOADING_ICON_DEFAULT_SIZE,
|
|
3612
3672
|
variant = "default",
|
|
@@ -3617,7 +3677,7 @@ var LoadingIcon = ({
|
|
|
3617
3677
|
const {
|
|
3618
3678
|
features: { enableAnimations }
|
|
3619
3679
|
} = (0, import_hooks10.useSdkUiConfig)();
|
|
3620
|
-
return /* @__PURE__ */ (0,
|
|
3680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3621
3681
|
"span",
|
|
3622
3682
|
{
|
|
3623
3683
|
role: "status",
|
|
@@ -3630,7 +3690,7 @@ var LoadingIcon = ({
|
|
|
3630
3690
|
"inline-grid place-items-center text-agg-primary will-change-transform",
|
|
3631
3691
|
className
|
|
3632
3692
|
),
|
|
3633
|
-
children: /* @__PURE__ */ (0,
|
|
3693
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "inline-grid place-items-center", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3634
3694
|
"svg",
|
|
3635
3695
|
{
|
|
3636
3696
|
viewBox: LOADING_ICON_SVG_VIEW_BOX,
|
|
@@ -3638,8 +3698,8 @@ var LoadingIcon = ({
|
|
|
3638
3698
|
"block",
|
|
3639
3699
|
variant === "prominent" ? LOADING_ICON_PROMINENT_FRAME_CLASS : iconSizeClasses[size]
|
|
3640
3700
|
),
|
|
3641
|
-
children: variant === "prominent" ? /* @__PURE__ */ (0,
|
|
3642
|
-
enableAnimations ? /* @__PURE__ */ (0,
|
|
3701
|
+
children: variant === "prominent" ? /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("g", { children: [
|
|
3702
|
+
enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3643
3703
|
"animateTransform",
|
|
3644
3704
|
{
|
|
3645
3705
|
attributeName: "transform",
|
|
@@ -3651,7 +3711,7 @@ var LoadingIcon = ({
|
|
|
3651
3711
|
repeatCount: "indefinite"
|
|
3652
3712
|
}
|
|
3653
3713
|
) : null,
|
|
3654
|
-
/* @__PURE__ */ (0,
|
|
3714
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3655
3715
|
"circle",
|
|
3656
3716
|
{
|
|
3657
3717
|
cx: "22",
|
|
@@ -3665,8 +3725,8 @@ var LoadingIcon = ({
|
|
|
3665
3725
|
strokeDasharray: LOADING_ICON_PROMINENT_DASHARRAY
|
|
3666
3726
|
}
|
|
3667
3727
|
)
|
|
3668
|
-
] }) : /* @__PURE__ */ (0,
|
|
3669
|
-
enableAnimations ? /* @__PURE__ */ (0,
|
|
3728
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("g", { children: [
|
|
3729
|
+
enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3670
3730
|
"animateTransform",
|
|
3671
3731
|
{
|
|
3672
3732
|
attributeName: "transform",
|
|
@@ -3678,7 +3738,7 @@ var LoadingIcon = ({
|
|
|
3678
3738
|
repeatCount: "indefinite"
|
|
3679
3739
|
}
|
|
3680
3740
|
) : null,
|
|
3681
|
-
/* @__PURE__ */ (0,
|
|
3741
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3682
3742
|
"circle",
|
|
3683
3743
|
{
|
|
3684
3744
|
cx: "22",
|
|
@@ -3690,8 +3750,8 @@ var LoadingIcon = ({
|
|
|
3690
3750
|
strokeLinecap: "round",
|
|
3691
3751
|
strokeDasharray: "60 100",
|
|
3692
3752
|
strokeDashoffset: "0",
|
|
3693
|
-
children: enableAnimations ? /* @__PURE__ */ (0,
|
|
3694
|
-
/* @__PURE__ */ (0,
|
|
3753
|
+
children: enableAnimations ? /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
|
|
3754
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3695
3755
|
"animate",
|
|
3696
3756
|
{
|
|
3697
3757
|
attributeName: "stroke-dasharray",
|
|
@@ -3700,7 +3760,7 @@ var LoadingIcon = ({
|
|
|
3700
3760
|
repeatCount: "indefinite"
|
|
3701
3761
|
}
|
|
3702
3762
|
),
|
|
3703
|
-
/* @__PURE__ */ (0,
|
|
3763
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
3704
3764
|
"animate",
|
|
3705
3765
|
{
|
|
3706
3766
|
attributeName: "stroke-dashoffset",
|
|
@@ -3721,7 +3781,7 @@ var LoadingIcon = ({
|
|
|
3721
3781
|
LoadingIcon.displayName = "LoadingIcon";
|
|
3722
3782
|
|
|
3723
3783
|
// src/deposit/steps/deposit-method.tsx
|
|
3724
|
-
var
|
|
3784
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
3725
3785
|
var DepositMethodCard = ({
|
|
3726
3786
|
icon,
|
|
3727
3787
|
title,
|
|
@@ -3730,7 +3790,7 @@ var DepositMethodCard = ({
|
|
|
3730
3790
|
highlighted = false,
|
|
3731
3791
|
disabled = false,
|
|
3732
3792
|
onContinue
|
|
3733
|
-
}) => /* @__PURE__ */ (0,
|
|
3793
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
|
|
3734
3794
|
"div",
|
|
3735
3795
|
{
|
|
3736
3796
|
className: cn(
|
|
@@ -3752,13 +3812,13 @@ var DepositMethodCard = ({
|
|
|
3752
3812
|
}
|
|
3753
3813
|
},
|
|
3754
3814
|
children: [
|
|
3755
|
-
/* @__PURE__ */ (0,
|
|
3756
|
-
/* @__PURE__ */ (0,
|
|
3757
|
-
/* @__PURE__ */ (0,
|
|
3758
|
-
/* @__PURE__ */ (0,
|
|
3815
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "shrink-0 flex items-center justify-center h-10 w-10 rounded-lg bg-agg-secondary-hover", children: icon }),
|
|
3816
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex-1 min-w-0", children: [
|
|
3817
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "agg-type-body-strong text-agg-foreground", children: title }),
|
|
3818
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "agg-type-label text-agg-muted-foreground", children: description })
|
|
3759
3819
|
] }),
|
|
3760
|
-
value ? /* @__PURE__ */ (0,
|
|
3761
|
-
/* @__PURE__ */ (0,
|
|
3820
|
+
value ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "agg-type-label text-agg-muted-foreground", children: value }) : null,
|
|
3821
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "shrink-0 text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ChevronRightIcon, { className: "h-5 w-5" }) })
|
|
3762
3822
|
]
|
|
3763
3823
|
}
|
|
3764
3824
|
);
|
|
@@ -3773,31 +3833,31 @@ var DepositMethodStep = ({
|
|
|
3773
3833
|
onSelectMethod
|
|
3774
3834
|
}) => {
|
|
3775
3835
|
const labels = (0, import_hooks11.useLabels)();
|
|
3776
|
-
return /* @__PURE__ */ (0,
|
|
3777
|
-
/* @__PURE__ */ (0,
|
|
3778
|
-
/* @__PURE__ */ (0,
|
|
3779
|
-
/* @__PURE__ */ (0,
|
|
3836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
|
|
3837
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Modal.Header, { title: labels.deposit.title, hideBorder: true }),
|
|
3838
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex flex-col gap-5", children: [
|
|
3839
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("p", { className: "agg-type-body text-agg-foreground", children: [
|
|
3780
3840
|
labels.deposit.balancePrefix,
|
|
3781
3841
|
" ",
|
|
3782
3842
|
formatCompactUsd(balance)
|
|
3783
3843
|
] }),
|
|
3784
|
-
/* @__PURE__ */ (0,
|
|
3785
|
-
showWalletMethod ? /* @__PURE__ */ (0,
|
|
3844
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
3845
|
+
showWalletMethod ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
3786
3846
|
DepositMethodCard,
|
|
3787
3847
|
{
|
|
3788
|
-
icon: /* @__PURE__ */ (0,
|
|
3848
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(WalletIcon, { className: "h-6 w-6 text-agg-muted-foreground" }),
|
|
3789
3849
|
title: labels.deposit.methods.walletTitle(walletLabel),
|
|
3790
3850
|
description: labels.deposit.methods.walletDescription,
|
|
3791
|
-
value: isWalletBalanceLoading ? /* @__PURE__ */ (0,
|
|
3851
|
+
value: isWalletBalanceLoading ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(LoadingIcon, { size: "small" }) : formatCompactUsd(walletBalance),
|
|
3792
3852
|
highlighted: highlightedMethod === "wallet",
|
|
3793
3853
|
disabled: !depositAddressesReady,
|
|
3794
3854
|
onContinue: () => onSelectMethod("wallet")
|
|
3795
3855
|
}
|
|
3796
3856
|
) : null,
|
|
3797
|
-
/* @__PURE__ */ (0,
|
|
3857
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
3798
3858
|
DepositMethodCard,
|
|
3799
3859
|
{
|
|
3800
|
-
icon: /* @__PURE__ */ (0,
|
|
3860
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(BoltIcon, { className: "h-6 w-6 text-agg-muted-foreground" }),
|
|
3801
3861
|
title: labels.deposit.methods.cryptoTitle,
|
|
3802
3862
|
description: labels.deposit.methods.cryptoDescription,
|
|
3803
3863
|
highlighted: highlightedMethod === "crypto",
|
|
@@ -3805,10 +3865,10 @@ var DepositMethodStep = ({
|
|
|
3805
3865
|
onContinue: () => onSelectMethod("crypto")
|
|
3806
3866
|
}
|
|
3807
3867
|
),
|
|
3808
|
-
/* @__PURE__ */ (0,
|
|
3868
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
3809
3869
|
DepositMethodCard,
|
|
3810
3870
|
{
|
|
3811
|
-
icon: /* @__PURE__ */ (0,
|
|
3871
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(CreditCardIcon, { className: "h-6 w-6 text-agg-muted-foreground" }),
|
|
3812
3872
|
title: labels.deposit.methods.cardTitle,
|
|
3813
3873
|
description: labels.deposit.methods.cardDescription,
|
|
3814
3874
|
highlighted: highlightedMethod === "card",
|
|
@@ -3896,7 +3956,7 @@ var getButtonClassName = ({
|
|
|
3896
3956
|
};
|
|
3897
3957
|
|
|
3898
3958
|
// src/primitives/button/index.tsx
|
|
3899
|
-
var
|
|
3959
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
3900
3960
|
var Button = (_a) => {
|
|
3901
3961
|
var _b = _a, {
|
|
3902
3962
|
children,
|
|
@@ -3925,7 +3985,7 @@ var Button = (_a) => {
|
|
|
3925
3985
|
features: { enableAnimations }
|
|
3926
3986
|
} = (0, import_hooks12.useSdkUiConfig)();
|
|
3927
3987
|
const isDisabled = resolveButtonIsDisabled({ disabled, isLoading });
|
|
3928
|
-
return /* @__PURE__ */ (0,
|
|
3988
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
3929
3989
|
"button",
|
|
3930
3990
|
__spreadProps(__spreadValues({
|
|
3931
3991
|
type,
|
|
@@ -3934,7 +3994,7 @@ var Button = (_a) => {
|
|
|
3934
3994
|
"aria-busy": isLoading,
|
|
3935
3995
|
"aria-label": ariaLabel
|
|
3936
3996
|
}, other), {
|
|
3937
|
-
children: isLoading ? /* @__PURE__ */ (0,
|
|
3997
|
+
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
3938
3998
|
"span",
|
|
3939
3999
|
{
|
|
3940
4000
|
className: cn(
|
|
@@ -3945,9 +4005,9 @@ var Button = (_a) => {
|
|
|
3945
4005
|
),
|
|
3946
4006
|
"aria-hidden": "true"
|
|
3947
4007
|
}
|
|
3948
|
-
) : /* @__PURE__ */ (0,
|
|
4008
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
|
|
3949
4009
|
prefix != null ? prefix : null,
|
|
3950
|
-
/* @__PURE__ */ (0,
|
|
4010
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
3951
4011
|
"span",
|
|
3952
4012
|
{
|
|
3953
4013
|
className: cn("group/span-agg-button agg-button-label", "whitespace-nowrap truncate"),
|
|
@@ -3972,12 +4032,12 @@ var import_react3 = require("react");
|
|
|
3972
4032
|
|
|
3973
4033
|
// src/primitives/skeleton/skeleton-block.tsx
|
|
3974
4034
|
var import_hooks13 = require("@agg-build/hooks");
|
|
3975
|
-
var
|
|
4035
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
3976
4036
|
var SkeletonBlock = ({ className }) => {
|
|
3977
4037
|
const {
|
|
3978
4038
|
features: { enableAnimations }
|
|
3979
4039
|
} = (0, import_hooks13.useSdkUiConfig)();
|
|
3980
|
-
return /* @__PURE__ */ (0,
|
|
4040
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
3981
4041
|
"div",
|
|
3982
4042
|
{
|
|
3983
4043
|
"aria-hidden": true,
|
|
@@ -4006,7 +4066,7 @@ var resolveRemoteImageStatusFromSrc = (src) => {
|
|
|
4006
4066
|
};
|
|
4007
4067
|
|
|
4008
4068
|
// src/primitives/remote-image/index.tsx
|
|
4009
|
-
var
|
|
4069
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
4010
4070
|
var RemoteImage = ({
|
|
4011
4071
|
src,
|
|
4012
4072
|
alt,
|
|
@@ -4040,7 +4100,7 @@ var RemoteImage = ({
|
|
|
4040
4100
|
setStatus("error");
|
|
4041
4101
|
};
|
|
4042
4102
|
const sizeStyle = width !== void 0 || height !== void 0 ? { width: width != null ? width : void 0, height: height != null ? height : void 0 } : void 0;
|
|
4043
|
-
return /* @__PURE__ */ (0,
|
|
4103
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
4044
4104
|
"div",
|
|
4045
4105
|
{
|
|
4046
4106
|
className: cn(containerClasses, classNames == null ? void 0 : classNames.root, className),
|
|
@@ -4057,14 +4117,14 @@ var RemoteImage = ({
|
|
|
4057
4117
|
"aria-label": ariaLabel,
|
|
4058
4118
|
title,
|
|
4059
4119
|
children: [
|
|
4060
|
-
status === "loading" && /* @__PURE__ */ (0,
|
|
4061
|
-
status === "error" && /* @__PURE__ */ (0,
|
|
4120
|
+
status === "loading" && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SkeletonBlock, { className: cn(skeletonClasses, classNames == null ? void 0 : classNames.placeholder) }),
|
|
4121
|
+
status === "error" && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
4062
4122
|
"div",
|
|
4063
4123
|
{
|
|
4064
4124
|
className: cn(placeholderClasses, classNames == null ? void 0 : classNames.placeholder),
|
|
4065
4125
|
"aria-hidden": true,
|
|
4066
4126
|
"aria-errormessage": "Image failed to load",
|
|
4067
|
-
children: /* @__PURE__ */ (0,
|
|
4127
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
4068
4128
|
Icon,
|
|
4069
4129
|
{
|
|
4070
4130
|
name: "image",
|
|
@@ -4075,7 +4135,7 @@ var RemoteImage = ({
|
|
|
4075
4135
|
)
|
|
4076
4136
|
}
|
|
4077
4137
|
),
|
|
4078
|
-
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ (0,
|
|
4138
|
+
isValidRemoteImageSrc(src) && status !== "error" && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
4079
4139
|
"img",
|
|
4080
4140
|
{
|
|
4081
4141
|
src,
|
|
@@ -4111,7 +4171,7 @@ var resolveIsSelectDisabled = ({
|
|
|
4111
4171
|
};
|
|
4112
4172
|
|
|
4113
4173
|
// src/primitives/select/index.tsx
|
|
4114
|
-
var
|
|
4174
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
4115
4175
|
var SELECT_DROPDOWN_Z = 1e4;
|
|
4116
4176
|
function resolveSelectPortalContainer(triggerRoot) {
|
|
4117
4177
|
var _a, _b;
|
|
@@ -4184,7 +4244,7 @@ var Select = ({
|
|
|
4184
4244
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
4185
4245
|
}, [isOpen, handleClose]);
|
|
4186
4246
|
const triggerRadiusClass = triggerClassName != null ? triggerClassName : "rounded-agg-md";
|
|
4187
|
-
const listbox = menuRect ? /* @__PURE__ */ (0,
|
|
4247
|
+
const listbox = menuRect ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
4188
4248
|
"div",
|
|
4189
4249
|
{
|
|
4190
4250
|
ref: portalRef,
|
|
@@ -4201,7 +4261,7 @@ var Select = ({
|
|
|
4201
4261
|
className: "agg-select-content pointer-events-auto max-h-[min(20rem,calc(100vh-4rem))] overflow-y-auto rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
|
|
4202
4262
|
children: items.map((item) => {
|
|
4203
4263
|
const isSelected = item.value === value;
|
|
4204
|
-
return /* @__PURE__ */ (0,
|
|
4264
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
4205
4265
|
"button",
|
|
4206
4266
|
{
|
|
4207
4267
|
type: "button",
|
|
@@ -4223,8 +4283,8 @@ var Select = ({
|
|
|
4223
4283
|
handleClose();
|
|
4224
4284
|
},
|
|
4225
4285
|
children: [
|
|
4226
|
-
isSelected ? /* @__PURE__ */ (0,
|
|
4227
|
-
item.icon ? /* @__PURE__ */ (0,
|
|
4286
|
+
isSelected ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "absolute left-0 top-0 bottom-0 w-1 bg-agg-primary" }) : null,
|
|
4287
|
+
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: item.icon }) : item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
4228
4288
|
RemoteImage,
|
|
4229
4289
|
{
|
|
4230
4290
|
src: item.iconUrl,
|
|
@@ -4232,7 +4292,7 @@ var Select = ({
|
|
|
4232
4292
|
className: "agg-select-item-icon h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
4233
4293
|
}
|
|
4234
4294
|
) : null,
|
|
4235
|
-
/* @__PURE__ */ (0,
|
|
4295
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "agg-select-item-label truncate", children: item.label })
|
|
4236
4296
|
]
|
|
4237
4297
|
},
|
|
4238
4298
|
item.value
|
|
@@ -4240,13 +4300,13 @@ var Select = ({
|
|
|
4240
4300
|
})
|
|
4241
4301
|
}
|
|
4242
4302
|
) : null;
|
|
4243
|
-
return /* @__PURE__ */ (0,
|
|
4303
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
4244
4304
|
"div",
|
|
4245
4305
|
{
|
|
4246
4306
|
ref: containerRef,
|
|
4247
4307
|
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
4248
4308
|
children: [
|
|
4249
|
-
/* @__PURE__ */ (0,
|
|
4309
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
4250
4310
|
"button",
|
|
4251
4311
|
{
|
|
4252
4312
|
type: "button",
|
|
@@ -4268,7 +4328,7 @@ var Select = ({
|
|
|
4268
4328
|
),
|
|
4269
4329
|
onClick: () => setIsOpen((previousValue) => !previousValue),
|
|
4270
4330
|
children: [
|
|
4271
|
-
(selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ (0,
|
|
4331
|
+
(selectedItem == null ? void 0 : selectedItem.icon) ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "h-4 w-4 shrink-0 [&_svg]:h-full [&_svg]:w-full", children: selectedItem.icon }) : (selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
4272
4332
|
RemoteImage,
|
|
4273
4333
|
{
|
|
4274
4334
|
src: selectedItem.iconUrl,
|
|
@@ -4276,11 +4336,11 @@ var Select = ({
|
|
|
4276
4336
|
className: "agg-select-icon h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
4277
4337
|
}
|
|
4278
4338
|
) : null,
|
|
4279
|
-
/* @__PURE__ */ (0,
|
|
4339
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "agg-select-value flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
4280
4340
|
]
|
|
4281
4341
|
}
|
|
4282
4342
|
),
|
|
4283
|
-
/* @__PURE__ */ (0,
|
|
4343
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "agg-select-chevron pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Icon, { name: "chevron-down-thin", size: "small", color: "currentColor" }) }),
|
|
4284
4344
|
isOpen && typeof document !== "undefined" && listbox ? (0, import_react_dom.createPortal)(listbox, resolveSelectPortalContainer(containerRef.current)) : null
|
|
4285
4345
|
]
|
|
4286
4346
|
}
|
|
@@ -4289,7 +4349,7 @@ var Select = ({
|
|
|
4289
4349
|
Select.displayName = "Select";
|
|
4290
4350
|
|
|
4291
4351
|
// src/deposit/steps/card-deposit.tsx
|
|
4292
|
-
var
|
|
4352
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
4293
4353
|
var CardDepositStep = ({
|
|
4294
4354
|
amount,
|
|
4295
4355
|
currency,
|
|
@@ -4315,33 +4375,33 @@ var CardDepositStep = ({
|
|
|
4315
4375
|
const isBelowMin = minAmount != null && hasInput && numericAmount < minAmount;
|
|
4316
4376
|
const isValid = numericAmount > 0 && !isBelowMin;
|
|
4317
4377
|
const formattedMin = minAmount != null ? `$${minAmount}` : void 0;
|
|
4318
|
-
return /* @__PURE__ */ (0,
|
|
4319
|
-
/* @__PURE__ */ (0,
|
|
4378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_jsx_runtime93.Fragment, { children: [
|
|
4379
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4320
4380
|
Modal.Header,
|
|
4321
4381
|
{
|
|
4322
4382
|
title: labels.deposit.cardFlow.title,
|
|
4323
4383
|
hideBorder: true,
|
|
4324
|
-
leftElement: /* @__PURE__ */ (0,
|
|
4384
|
+
leftElement: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4325
4385
|
"button",
|
|
4326
4386
|
{
|
|
4327
4387
|
type: "button",
|
|
4328
4388
|
className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
|
|
4329
4389
|
onClick: onBack,
|
|
4330
4390
|
"aria-label": "Go back",
|
|
4331
|
-
children: /* @__PURE__ */ (0,
|
|
4391
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ChevronLeftIcon, { className: "h-6 w-6" })
|
|
4332
4392
|
}
|
|
4333
4393
|
)
|
|
4334
4394
|
}
|
|
4335
4395
|
),
|
|
4336
|
-
/* @__PURE__ */ (0,
|
|
4337
|
-
/* @__PURE__ */ (0,
|
|
4338
|
-
/* @__PURE__ */ (0,
|
|
4339
|
-
/* @__PURE__ */ (0,
|
|
4340
|
-
/* @__PURE__ */ (0,
|
|
4341
|
-
formattedMin ? /* @__PURE__ */ (0,
|
|
4396
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex flex-col gap-5", children: [
|
|
4397
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
4398
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex-1 flex flex-col gap-2", children: [
|
|
4399
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
4400
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.deposit.cardFlow.amountLabel }),
|
|
4401
|
+
formattedMin ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "agg-type-label text-agg-foreground", children: labels.deposit.cardFlow.minRequired(formattedMin) }) : null
|
|
4342
4402
|
] }),
|
|
4343
|
-
/* @__PURE__ */ (0,
|
|
4344
|
-
/* @__PURE__ */ (0,
|
|
4403
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex gap-3 items-center", children: [
|
|
4404
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
4345
4405
|
"div",
|
|
4346
4406
|
{
|
|
4347
4407
|
className: cn(
|
|
@@ -4349,7 +4409,7 @@ var CardDepositStep = ({
|
|
|
4349
4409
|
isBelowMin ? "border-agg-primary border-2" : "border-agg-separator"
|
|
4350
4410
|
),
|
|
4351
4411
|
children: [
|
|
4352
|
-
/* @__PURE__ */ (0,
|
|
4412
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4353
4413
|
"input",
|
|
4354
4414
|
{
|
|
4355
4415
|
type: "text",
|
|
@@ -4365,11 +4425,11 @@ var CardDepositStep = ({
|
|
|
4365
4425
|
}
|
|
4366
4426
|
}
|
|
4367
4427
|
),
|
|
4368
|
-
/* @__PURE__ */ (0,
|
|
4428
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "agg-type-body text-agg-muted-foreground", children: "$" })
|
|
4369
4429
|
]
|
|
4370
4430
|
}
|
|
4371
4431
|
),
|
|
4372
|
-
/* @__PURE__ */ (0,
|
|
4432
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "w-[100px]", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4373
4433
|
Select,
|
|
4374
4434
|
{
|
|
4375
4435
|
items: [{ value: currency, label: currency }],
|
|
@@ -4381,8 +4441,8 @@ var CardDepositStep = ({
|
|
|
4381
4441
|
) })
|
|
4382
4442
|
] })
|
|
4383
4443
|
] }),
|
|
4384
|
-
isBelowMin && formattedMin ? /* @__PURE__ */ (0,
|
|
4385
|
-
/* @__PURE__ */ (0,
|
|
4444
|
+
isBelowMin && formattedMin ? /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex items-center gap-2", role: "alert", "aria-live": "assertive", children: [
|
|
4445
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4386
4446
|
Icon,
|
|
4387
4447
|
{
|
|
4388
4448
|
name: "warning",
|
|
@@ -4390,12 +4450,12 @@ var CardDepositStep = ({
|
|
|
4390
4450
|
"aria-hidden": "true"
|
|
4391
4451
|
}
|
|
4392
4452
|
),
|
|
4393
|
-
/* @__PURE__ */ (0,
|
|
4453
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "agg-type-label text-agg-error", children: labels.deposit.cardFlow.minAmountError(formattedMin) })
|
|
4394
4454
|
] }) : null
|
|
4395
4455
|
] }),
|
|
4396
|
-
/* @__PURE__ */ (0,
|
|
4397
|
-
/* @__PURE__ */ (0,
|
|
4398
|
-
/* @__PURE__ */ (0,
|
|
4456
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
4457
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.deposit.cardFlow.networkLabel }),
|
|
4458
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4399
4459
|
Select,
|
|
4400
4460
|
{
|
|
4401
4461
|
items: networkOptions,
|
|
@@ -4406,7 +4466,7 @@ var CardDepositStep = ({
|
|
|
4406
4466
|
}
|
|
4407
4467
|
)
|
|
4408
4468
|
] }),
|
|
4409
|
-
/* @__PURE__ */ (0,
|
|
4469
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
4410
4470
|
Button,
|
|
4411
4471
|
{
|
|
4412
4472
|
variant: "secondary",
|
|
@@ -4426,7 +4486,7 @@ var import_hooks17 = require("@agg-build/hooks");
|
|
|
4426
4486
|
|
|
4427
4487
|
// src/primitives/copy-button/index.tsx
|
|
4428
4488
|
var import_react6 = require("react");
|
|
4429
|
-
var
|
|
4489
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
4430
4490
|
var CopyButton = ({
|
|
4431
4491
|
value,
|
|
4432
4492
|
label,
|
|
@@ -4458,7 +4518,7 @@ var CopyButton = ({
|
|
|
4458
4518
|
}, [onCopy, resetMs, value]);
|
|
4459
4519
|
const showLabel = label !== void 0 || copiedLabel !== void 0;
|
|
4460
4520
|
const visibleLabel = isCopied ? copiedLabel != null ? copiedLabel : label : label;
|
|
4461
|
-
return /* @__PURE__ */ (0,
|
|
4521
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
4462
4522
|
"button",
|
|
4463
4523
|
{
|
|
4464
4524
|
type: "button",
|
|
@@ -4471,8 +4531,8 @@ var CopyButton = ({
|
|
|
4471
4531
|
className
|
|
4472
4532
|
),
|
|
4473
4533
|
children: [
|
|
4474
|
-
isCopied ? /* @__PURE__ */ (0,
|
|
4475
|
-
showLabel ? /* @__PURE__ */ (0,
|
|
4534
|
+
isCopied ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(CheckCircleIcon, { className: iconClassName }) : /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(CopyIcon, { className: iconClassName }),
|
|
4535
|
+
showLabel ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "agg-type-label-strong", children: visibleLabel }) : null
|
|
4476
4536
|
]
|
|
4477
4537
|
}
|
|
4478
4538
|
);
|
|
@@ -4481,21 +4541,21 @@ CopyButton.displayName = "CopyButton";
|
|
|
4481
4541
|
|
|
4482
4542
|
// src/deposit/components/DepositQRCode.tsx
|
|
4483
4543
|
var import_qrcode = require("qrcode.react");
|
|
4484
|
-
var
|
|
4544
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
4485
4545
|
function DepositQRCode({
|
|
4486
4546
|
depositAddress,
|
|
4487
4547
|
networkLogoUrl,
|
|
4488
4548
|
networkLogo,
|
|
4489
4549
|
size = 160
|
|
4490
4550
|
}) {
|
|
4491
|
-
const logoOverlay = networkLogo ? /* @__PURE__ */ (0,
|
|
4551
|
+
const logoOverlay = networkLogo ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
4492
4552
|
"div",
|
|
4493
4553
|
{
|
|
4494
4554
|
className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 overflow-hidden rounded-sm",
|
|
4495
4555
|
style: { width: 32, height: 32, backgroundColor: "#FFFFFF", padding: 2 },
|
|
4496
4556
|
children: networkLogo
|
|
4497
4557
|
}
|
|
4498
|
-
) : networkLogoUrl ? /* @__PURE__ */ (0,
|
|
4558
|
+
) : networkLogoUrl ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
4499
4559
|
"img",
|
|
4500
4560
|
{
|
|
4501
4561
|
src: networkLogoUrl,
|
|
@@ -4506,7 +4566,7 @@ function DepositQRCode({
|
|
|
4506
4566
|
style: { backgroundColor: "#FFFFFF", padding: 2 }
|
|
4507
4567
|
}
|
|
4508
4568
|
) : null;
|
|
4509
|
-
return /* @__PURE__ */ (0,
|
|
4569
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
4510
4570
|
"div",
|
|
4511
4571
|
{
|
|
4512
4572
|
className: "inline-flex items-center justify-center rounded-xl border",
|
|
@@ -4515,8 +4575,8 @@ function DepositQRCode({
|
|
|
4515
4575
|
borderColor: "#E5E7EB",
|
|
4516
4576
|
backgroundColor: "#FFFFFF"
|
|
4517
4577
|
},
|
|
4518
|
-
children: /* @__PURE__ */ (0,
|
|
4519
|
-
/* @__PURE__ */ (0,
|
|
4578
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "relative", style: { width: size, height: size }, children: [
|
|
4579
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_qrcode.QRCodeSVG, { value: depositAddress, size, level: "H" }),
|
|
4520
4580
|
logoOverlay
|
|
4521
4581
|
] })
|
|
4522
4582
|
}
|
|
@@ -4525,27 +4585,27 @@ function DepositQRCode({
|
|
|
4525
4585
|
DepositQRCode.displayName = "DepositQRCode";
|
|
4526
4586
|
|
|
4527
4587
|
// src/deposit/steps/crypto-transfer.tsx
|
|
4528
|
-
var
|
|
4588
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
4529
4589
|
var CryptoAddressLoadingState = () => {
|
|
4530
4590
|
const labels = (0, import_hooks17.useLabels)();
|
|
4531
4591
|
const sendCryptoLabels = labels.deposit.sendCrypto;
|
|
4532
|
-
return /* @__PURE__ */ (0,
|
|
4592
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
|
|
4533
4593
|
"div",
|
|
4534
4594
|
{
|
|
4535
4595
|
className: "flex w-full flex-col items-center justify-center gap-6 py-10 text-center text-agg-foreground",
|
|
4536
4596
|
role: "status",
|
|
4537
4597
|
"aria-live": "polite",
|
|
4538
4598
|
children: [
|
|
4539
|
-
/* @__PURE__ */ (0,
|
|
4599
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4540
4600
|
"span",
|
|
4541
4601
|
{
|
|
4542
4602
|
className: "h-9 w-9 animate-spin rounded-full border-2 border-agg-primary/25 border-t-agg-primary",
|
|
4543
4603
|
"aria-hidden": "true"
|
|
4544
4604
|
}
|
|
4545
4605
|
),
|
|
4546
|
-
/* @__PURE__ */ (0,
|
|
4547
|
-
/* @__PURE__ */ (0,
|
|
4548
|
-
/* @__PURE__ */ (0,
|
|
4606
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex w-full flex-col items-center gap-2", children: [
|
|
4607
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6", children: sendCryptoLabels.addressLoadingTitle }),
|
|
4608
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "max-w-[300px] text-agg-sm leading-agg-5", children: sendCryptoLabels.addressLoadingDescription })
|
|
4549
4609
|
] })
|
|
4550
4610
|
]
|
|
4551
4611
|
}
|
|
@@ -4573,29 +4633,29 @@ var CryptoTransferStep = ({
|
|
|
4573
4633
|
const selectedNetworkOption = networkOptions.find((n) => n.value === selectedNetwork);
|
|
4574
4634
|
const networkLogoUrl = (_a = selectedNetworkOption == null ? void 0 : selectedNetworkOption.iconUrl) != null ? _a : "";
|
|
4575
4635
|
const networkLogo = selectedNetworkOption == null ? void 0 : selectedNetworkOption.icon;
|
|
4576
|
-
return /* @__PURE__ */ (0,
|
|
4577
|
-
/* @__PURE__ */ (0,
|
|
4636
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
|
|
4637
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4578
4638
|
Modal.Header,
|
|
4579
4639
|
{
|
|
4580
4640
|
title: labels.deposit.sendCrypto.title,
|
|
4581
4641
|
hideBorder: true,
|
|
4582
|
-
leftElement: /* @__PURE__ */ (0,
|
|
4642
|
+
leftElement: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4583
4643
|
"button",
|
|
4584
4644
|
{
|
|
4585
4645
|
type: "button",
|
|
4586
4646
|
className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
|
|
4587
4647
|
onClick: onBack,
|
|
4588
4648
|
"aria-label": "Go back",
|
|
4589
|
-
children: /* @__PURE__ */ (0,
|
|
4649
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(ChevronLeftIcon, { className: "h-6 w-6" })
|
|
4590
4650
|
}
|
|
4591
4651
|
)
|
|
4592
4652
|
}
|
|
4593
4653
|
),
|
|
4594
|
-
/* @__PURE__ */ (0,
|
|
4595
|
-
/* @__PURE__ */ (0,
|
|
4596
|
-
/* @__PURE__ */ (0,
|
|
4597
|
-
/* @__PURE__ */ (0,
|
|
4598
|
-
/* @__PURE__ */ (0,
|
|
4654
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex flex-col gap-7", children: [
|
|
4655
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "flex flex-col gap-5", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex gap-5", children: [
|
|
4656
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex flex-1 flex-col gap-2 min-w-0", children: [
|
|
4657
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.deposit.sendCrypto.tokenLabel }),
|
|
4658
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4599
4659
|
Select,
|
|
4600
4660
|
{
|
|
4601
4661
|
items: tokenOptions,
|
|
@@ -4605,9 +4665,9 @@ var CryptoTransferStep = ({
|
|
|
4605
4665
|
}
|
|
4606
4666
|
)
|
|
4607
4667
|
] }),
|
|
4608
|
-
/* @__PURE__ */ (0,
|
|
4609
|
-
/* @__PURE__ */ (0,
|
|
4610
|
-
/* @__PURE__ */ (0,
|
|
4668
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex flex-1 flex-col gap-2 min-w-0", children: [
|
|
4669
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.deposit.sendCrypto.networkLabel }),
|
|
4670
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4611
4671
|
Select,
|
|
4612
4672
|
{
|
|
4613
4673
|
items: networkOptions,
|
|
@@ -4618,7 +4678,7 @@ var CryptoTransferStep = ({
|
|
|
4618
4678
|
)
|
|
4619
4679
|
] })
|
|
4620
4680
|
] }) }),
|
|
4621
|
-
/* @__PURE__ */ (0,
|
|
4681
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "mx-auto", children: isLoadingAddress ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(CryptoAddressLoadingState, {}) : addressError ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "flex h-[192px] w-[192px] items-center justify-center rounded-xl border border-agg-separator bg-agg-secondary", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "agg-type-label text-center text-agg-error px-3", children: addressError }) }) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4622
4682
|
DepositQRCode,
|
|
4623
4683
|
{
|
|
4624
4684
|
depositAddress,
|
|
@@ -4626,11 +4686,11 @@ var CryptoTransferStep = ({
|
|
|
4626
4686
|
networkLogo
|
|
4627
4687
|
}
|
|
4628
4688
|
) }),
|
|
4629
|
-
/* @__PURE__ */ (0,
|
|
4630
|
-
/* @__PURE__ */ (0,
|
|
4631
|
-
/* @__PURE__ */ (0,
|
|
4632
|
-
isLoadingAddress ? /* @__PURE__ */ (0,
|
|
4633
|
-
/* @__PURE__ */ (0,
|
|
4689
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
4690
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.deposit.sendCrypto.depositAddressLabel }),
|
|
4691
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex items-center gap-2 rounded border border-agg-separator bg-agg-secondary h-10 px-3", children: [
|
|
4692
|
+
isLoadingAddress ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "h-4 flex-1 animate-pulse rounded bg-agg-muted-foreground/20" }) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "agg-type-body flex-1 min-w-0 truncate text-agg-foreground", children: depositAddress }),
|
|
4693
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4634
4694
|
CopyButton,
|
|
4635
4695
|
{
|
|
4636
4696
|
value: depositAddress,
|
|
@@ -4642,13 +4702,13 @@ var CryptoTransferStep = ({
|
|
|
4642
4702
|
}
|
|
4643
4703
|
)
|
|
4644
4704
|
] }),
|
|
4645
|
-
/* @__PURE__ */ (0,
|
|
4705
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "agg-type-label text-agg-foreground", children: `${labels.deposit.sendCrypto.minDepositPrefix} ${minDeposit} \xB7 ${labels.deposit.walletFlow.feePrefix} ${feeEstimate} \xB7 ${eta}` })
|
|
4646
4706
|
] }),
|
|
4647
|
-
/* @__PURE__ */ (0,
|
|
4648
|
-
/* @__PURE__ */ (0,
|
|
4649
|
-
/* @__PURE__ */ (0,
|
|
4707
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "flex items-start gap-3 rounded-lg bg-agg-secondary-hover p-3", children: [
|
|
4708
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(WarningIcon, { className: "h-4 w-4 text-agg-muted-foreground mt-0.5" }),
|
|
4709
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)("p", { className: "text-agg-xs leading-agg-4 text-agg-foreground", children: labels.deposit.sendCrypto.warning })
|
|
4650
4710
|
] }),
|
|
4651
|
-
/* @__PURE__ */ (0,
|
|
4711
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
4652
4712
|
Button,
|
|
4653
4713
|
{
|
|
4654
4714
|
variant: "secondary",
|
|
@@ -4664,7 +4724,7 @@ var CryptoTransferStep = ({
|
|
|
4664
4724
|
|
|
4665
4725
|
// src/deposit/steps/wallet-form.tsx
|
|
4666
4726
|
var import_hooks18 = require("@agg-build/hooks");
|
|
4667
|
-
var
|
|
4727
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
4668
4728
|
var WalletFormStep = ({
|
|
4669
4729
|
walletLabel,
|
|
4670
4730
|
walletBalance,
|
|
@@ -4689,38 +4749,38 @@ var WalletFormStep = ({
|
|
|
4689
4749
|
}) => {
|
|
4690
4750
|
const labels = (0, import_hooks18.useLabels)();
|
|
4691
4751
|
const isConfirmEnabled = !isSubmitting && !isBalanceLoading && Number(amount) > 0 && Number(amount) <= walletBalance;
|
|
4692
|
-
return /* @__PURE__ */ (0,
|
|
4693
|
-
/* @__PURE__ */ (0,
|
|
4752
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
|
|
4753
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
4694
4754
|
Modal.Header,
|
|
4695
4755
|
{
|
|
4696
4756
|
title: labels.deposit.walletFlow.title,
|
|
4697
4757
|
hideBorder: true,
|
|
4698
|
-
leftElement: /* @__PURE__ */ (0,
|
|
4758
|
+
leftElement: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
4699
4759
|
"button",
|
|
4700
4760
|
{
|
|
4701
4761
|
type: "button",
|
|
4702
4762
|
className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
|
|
4703
4763
|
onClick: onBack,
|
|
4704
4764
|
"aria-label": "Go back",
|
|
4705
|
-
children: /* @__PURE__ */ (0,
|
|
4765
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(ChevronLeftIcon, { className: "h-6 w-6" })
|
|
4706
4766
|
}
|
|
4707
4767
|
)
|
|
4708
4768
|
}
|
|
4709
4769
|
),
|
|
4710
|
-
/* @__PURE__ */ (0,
|
|
4711
|
-
/* @__PURE__ */ (0,
|
|
4712
|
-
/* @__PURE__ */ (0,
|
|
4713
|
-
/* @__PURE__ */ (0,
|
|
4770
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex flex-col gap-7", children: [
|
|
4771
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
4772
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "agg-type-label text-agg-foreground", children: walletLabel }),
|
|
4773
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("p", { className: "agg-type-label text-agg-muted-foreground", children: [
|
|
4714
4774
|
labels.deposit.balanceLabel,
|
|
4715
4775
|
" ",
|
|
4716
|
-
isBalanceLoading ? /* @__PURE__ */ (0,
|
|
4776
|
+
isBalanceLoading ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(LoadingIcon, { size: "small" }) : formatCompactUsd(walletBalance)
|
|
4717
4777
|
] })
|
|
4718
4778
|
] }),
|
|
4719
|
-
/* @__PURE__ */ (0,
|
|
4720
|
-
/* @__PURE__ */ (0,
|
|
4721
|
-
/* @__PURE__ */ (0,
|
|
4722
|
-
/* @__PURE__ */ (0,
|
|
4723
|
-
/* @__PURE__ */ (0,
|
|
4779
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex flex-col gap-5", children: [
|
|
4780
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex gap-5", children: [
|
|
4781
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex flex-1 flex-col gap-2 min-w-0", children: [
|
|
4782
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.deposit.walletFlow.tokenLabel }),
|
|
4783
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
4724
4784
|
Select,
|
|
4725
4785
|
{
|
|
4726
4786
|
items: tokenOptions,
|
|
@@ -4730,9 +4790,9 @@ var WalletFormStep = ({
|
|
|
4730
4790
|
}
|
|
4731
4791
|
)
|
|
4732
4792
|
] }),
|
|
4733
|
-
networkOptions.length > 1 ? /* @__PURE__ */ (0,
|
|
4734
|
-
/* @__PURE__ */ (0,
|
|
4735
|
-
/* @__PURE__ */ (0,
|
|
4793
|
+
networkOptions.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex flex-1 flex-col gap-2 min-w-0", children: [
|
|
4794
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.deposit.walletFlow.networkLabel }),
|
|
4795
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
4736
4796
|
Select,
|
|
4737
4797
|
{
|
|
4738
4798
|
items: networkOptions,
|
|
@@ -4743,9 +4803,9 @@ var WalletFormStep = ({
|
|
|
4743
4803
|
)
|
|
4744
4804
|
] }) : null
|
|
4745
4805
|
] }),
|
|
4746
|
-
/* @__PURE__ */ (0,
|
|
4747
|
-
/* @__PURE__ */ (0,
|
|
4748
|
-
/* @__PURE__ */ (0,
|
|
4806
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
4807
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.deposit.walletFlow.amountLabel }),
|
|
4808
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
4749
4809
|
"div",
|
|
4750
4810
|
{
|
|
4751
4811
|
className: cn(
|
|
@@ -4754,7 +4814,7 @@ var WalletFormStep = ({
|
|
|
4754
4814
|
"h-10 px-3"
|
|
4755
4815
|
),
|
|
4756
4816
|
children: [
|
|
4757
|
-
/* @__PURE__ */ (0,
|
|
4817
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
4758
4818
|
"input",
|
|
4759
4819
|
{
|
|
4760
4820
|
type: "text",
|
|
@@ -4766,7 +4826,7 @@ var WalletFormStep = ({
|
|
|
4766
4826
|
onChange: (event) => onAmountChange(event.target.value)
|
|
4767
4827
|
}
|
|
4768
4828
|
),
|
|
4769
|
-
/* @__PURE__ */ (0,
|
|
4829
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
4770
4830
|
"button",
|
|
4771
4831
|
{
|
|
4772
4832
|
type: "button",
|
|
@@ -4780,8 +4840,8 @@ var WalletFormStep = ({
|
|
|
4780
4840
|
}
|
|
4781
4841
|
)
|
|
4782
4842
|
] }),
|
|
4783
|
-
estimatedReceive && feeEstimate && eta ? /* @__PURE__ */ (0,
|
|
4784
|
-
formErrorMessage ? /* @__PURE__ */ (0,
|
|
4843
|
+
estimatedReceive && feeEstimate && eta ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "agg-type-label text-agg-foreground", children: `\u2248 ${estimatedReceive} \xB7 ${labels.deposit.walletFlow.feePrefix} ${feeEstimate} \xB7 ${eta}` }) : null,
|
|
4844
|
+
formErrorMessage ? /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
4785
4845
|
"div",
|
|
4786
4846
|
{
|
|
4787
4847
|
className: cn(
|
|
@@ -4789,13 +4849,13 @@ var WalletFormStep = ({
|
|
|
4789
4849
|
formErrorTone === "warning" ? "text-agg-warning" : "text-agg-error"
|
|
4790
4850
|
),
|
|
4791
4851
|
children: [
|
|
4792
|
-
/* @__PURE__ */ (0,
|
|
4793
|
-
/* @__PURE__ */ (0,
|
|
4852
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(WarningIcon, { className: "mt-0.5 h-4 w-4 shrink-0" }),
|
|
4853
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "agg-type-label", children: formErrorMessage })
|
|
4794
4854
|
]
|
|
4795
4855
|
}
|
|
4796
4856
|
) : null
|
|
4797
4857
|
] }),
|
|
4798
|
-
/* @__PURE__ */ (0,
|
|
4858
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
4799
4859
|
Button,
|
|
4800
4860
|
{
|
|
4801
4861
|
variant: isConfirmEnabled ? "primary" : "secondary",
|
|
@@ -4814,20 +4874,20 @@ var WalletFormStep = ({
|
|
|
4814
4874
|
|
|
4815
4875
|
// src/deposit/steps/card-provider.tsx
|
|
4816
4876
|
var import_hooks19 = require("@agg-build/hooks");
|
|
4817
|
-
var
|
|
4877
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
4818
4878
|
var CardProviderItem = ({ provider, onSelect }) => {
|
|
4819
4879
|
const labels = (0, import_hooks19.useLabels)();
|
|
4820
4880
|
const badgeText = provider.badge === "best" ? labels.deposit.cardFlow.providerBadges.best : provider.badge === "low-kyc" ? labels.deposit.cardFlow.providerBadges.lowKyc : void 0;
|
|
4821
|
-
return /* @__PURE__ */ (0,
|
|
4881
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
4822
4882
|
"button",
|
|
4823
4883
|
{
|
|
4824
4884
|
type: "button",
|
|
4825
4885
|
className: "w-full rounded-xl border border-agg-separator px-4 py-3 text-left bg-agg-secondary hover:bg-agg-secondary-hover transition-colors cursor-pointer",
|
|
4826
4886
|
onClick: () => onSelect(provider.id),
|
|
4827
|
-
children: /* @__PURE__ */ (0,
|
|
4828
|
-
/* @__PURE__ */ (0,
|
|
4829
|
-
/* @__PURE__ */ (0,
|
|
4830
|
-
badgeText ? /* @__PURE__ */ (0,
|
|
4887
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
4888
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
4889
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "text-agg-base leading-agg-6 font-agg-bold text-agg-foreground", children: provider.name }),
|
|
4890
|
+
badgeText ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
4831
4891
|
"span",
|
|
4832
4892
|
{
|
|
4833
4893
|
className: `rounded border px-2 py-[2px] text-[10px] leading-[14px] font-agg-bold uppercase ${provider.badge === "best" ? "border-agg-primary/50 text-agg-primary bg-agg-secondary" : "border-agg-separator text-agg-foreground bg-agg-secondary"}`,
|
|
@@ -4835,16 +4895,16 @@ var CardProviderItem = ({ provider, onSelect }) => {
|
|
|
4835
4895
|
}
|
|
4836
4896
|
) : null
|
|
4837
4897
|
] }),
|
|
4838
|
-
/* @__PURE__ */ (0,
|
|
4839
|
-
/* @__PURE__ */ (0,
|
|
4840
|
-
/* @__PURE__ */ (0,
|
|
4841
|
-
/* @__PURE__ */ (0,
|
|
4898
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex items-center gap-4", children: [
|
|
4899
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "text-right", children: [
|
|
4900
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "agg-type-body text-agg-foreground", children: provider.quote }),
|
|
4901
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("p", { className: "agg-type-label text-agg-muted-foreground", children: [
|
|
4842
4902
|
labels.deposit.cardFlow.feeLabel,
|
|
4843
4903
|
" ",
|
|
4844
4904
|
provider.fee
|
|
4845
4905
|
] })
|
|
4846
4906
|
] }),
|
|
4847
|
-
/* @__PURE__ */ (0,
|
|
4907
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ChevronRightIcon, { className: "h-5 w-5 text-agg-muted-foreground" })
|
|
4848
4908
|
] })
|
|
4849
4909
|
] })
|
|
4850
4910
|
}
|
|
@@ -4863,40 +4923,40 @@ var CardProviderStep = ({
|
|
|
4863
4923
|
onRetry
|
|
4864
4924
|
}) => {
|
|
4865
4925
|
const labels = (0, import_hooks19.useLabels)();
|
|
4866
|
-
return /* @__PURE__ */ (0,
|
|
4867
|
-
/* @__PURE__ */ (0,
|
|
4926
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_jsx_runtime98.Fragment, { children: [
|
|
4927
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
4868
4928
|
Modal.Header,
|
|
4869
4929
|
{
|
|
4870
4930
|
title: labels.deposit.cardFlow.selectProviderTitle,
|
|
4871
4931
|
hideBorder: true,
|
|
4872
|
-
leftElement: /* @__PURE__ */ (0,
|
|
4932
|
+
leftElement: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
4873
4933
|
"button",
|
|
4874
4934
|
{
|
|
4875
4935
|
type: "button",
|
|
4876
4936
|
className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
|
|
4877
4937
|
onClick: onBack,
|
|
4878
4938
|
"aria-label": labels.deposit.back,
|
|
4879
|
-
children: /* @__PURE__ */ (0,
|
|
4939
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ChevronLeftIcon, { className: "h-6 w-6" })
|
|
4880
4940
|
}
|
|
4881
4941
|
)
|
|
4882
4942
|
}
|
|
4883
4943
|
),
|
|
4884
|
-
/* @__PURE__ */ (0,
|
|
4885
|
-
/* @__PURE__ */ (0,
|
|
4886
|
-
/* @__PURE__ */ (0,
|
|
4887
|
-
/* @__PURE__ */ (0,
|
|
4888
|
-
/* @__PURE__ */ (0,
|
|
4944
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
4945
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex items-center gap-1.5", children: [
|
|
4946
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(UsdcIcon, { className: "h-4 w-4 shrink-0" }),
|
|
4947
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)("span", { className: "agg-type-body font-agg-bold text-agg-foreground", children: token }),
|
|
4948
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("span", { className: "agg-type-body text-agg-foreground", children: [
|
|
4889
4949
|
"$",
|
|
4890
4950
|
amount,
|
|
4891
4951
|
" ",
|
|
4892
4952
|
currency
|
|
4893
4953
|
] })
|
|
4894
4954
|
] }),
|
|
4895
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
4896
|
-
/* @__PURE__ */ (0,
|
|
4897
|
-
/* @__PURE__ */ (0,
|
|
4898
|
-
] }) : error ? /* @__PURE__ */ (0,
|
|
4899
|
-
/* @__PURE__ */ (0,
|
|
4955
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex min-h-[200px] flex-col items-center justify-center gap-3", children: [
|
|
4956
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(LoadingIcon, { variant: "prominent" }),
|
|
4957
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "agg-type-body text-agg-foreground", children: labels.deposit.cardFlow.loadingQuotes })
|
|
4958
|
+
] }) : error ? /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex min-h-[200px] flex-col items-center justify-center gap-6 px-2 text-center", children: [
|
|
4959
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
4900
4960
|
Icon,
|
|
4901
4961
|
{
|
|
4902
4962
|
name: "quotes-warning",
|
|
@@ -4905,13 +4965,13 @@ var CardProviderStep = ({
|
|
|
4905
4965
|
color: "currentColor"
|
|
4906
4966
|
}
|
|
4907
4967
|
),
|
|
4908
|
-
/* @__PURE__ */ (0,
|
|
4909
|
-
/* @__PURE__ */ (0,
|
|
4910
|
-
/* @__PURE__ */ (0,
|
|
4968
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex max-w-[320px] flex-col gap-2", children: [
|
|
4969
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "text-agg-base leading-agg-6 font-agg-bold text-agg-foreground", children: labels.deposit.cardFlow.errorLoadingQuotesTitle }),
|
|
4970
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "agg-type-body text-agg-muted-foreground", children: labels.deposit.cardFlow.errorLoadingQuotesDescription })
|
|
4911
4971
|
] }),
|
|
4912
|
-
onRetry ? /* @__PURE__ */ (0,
|
|
4913
|
-
] }) : providers.length === 0 ? /* @__PURE__ */ (0,
|
|
4914
|
-
providers.map((provider) => /* @__PURE__ */ (0,
|
|
4972
|
+
onRetry ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { variant: "secondary", size: "medium", onClick: onRetry, children: labels.deposit.cardFlow.retry }) : null
|
|
4973
|
+
] }) : providers.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "flex min-h-[200px] items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "agg-type-body text-agg-muted-foreground", children: labels.deposit.cardFlow.noQuotes }) }) : /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
4974
|
+
providers.map((provider) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
4915
4975
|
CardProviderItem,
|
|
4916
4976
|
{
|
|
4917
4977
|
provider,
|
|
@@ -4919,7 +4979,7 @@ var CardProviderStep = ({
|
|
|
4919
4979
|
},
|
|
4920
4980
|
provider.id
|
|
4921
4981
|
)),
|
|
4922
|
-
sessionError ? /* @__PURE__ */ (0,
|
|
4982
|
+
sessionError ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "agg-type-label text-agg-error text-center", children: sessionError }) : null
|
|
4923
4983
|
] })
|
|
4924
4984
|
] }) })
|
|
4925
4985
|
] });
|
|
@@ -4927,7 +4987,7 @@ var CardProviderStep = ({
|
|
|
4927
4987
|
|
|
4928
4988
|
// src/deposit/steps/card-payment-pending.tsx
|
|
4929
4989
|
var import_hooks20 = require("@agg-build/hooks");
|
|
4930
|
-
var
|
|
4990
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
4931
4991
|
var CardPaymentPendingStep = ({
|
|
4932
4992
|
providerName,
|
|
4933
4993
|
walletAddress,
|
|
@@ -4936,28 +4996,28 @@ var CardPaymentPendingStep = ({
|
|
|
4936
4996
|
onChooseAnotherProvider
|
|
4937
4997
|
}) => {
|
|
4938
4998
|
const labels = (0, import_hooks20.useLabels)();
|
|
4939
|
-
return /* @__PURE__ */ (0,
|
|
4940
|
-
/* @__PURE__ */ (0,
|
|
4999
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(Modal.Body, { classNames: { root: "px-5 py-8 sm:px-8 sm:py-10" }, children: [
|
|
5000
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
4941
5001
|
"button",
|
|
4942
5002
|
{
|
|
4943
5003
|
type: "button",
|
|
4944
5004
|
className: "absolute right-8 top-7 flex items-center justify-center text-agg-foreground transition-colors cursor-pointer hover:text-agg-foreground/80",
|
|
4945
5005
|
onClick: onClose,
|
|
4946
5006
|
"aria-label": labels.common.close,
|
|
4947
|
-
children: /* @__PURE__ */ (0,
|
|
5007
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(CloseIcon, { className: "h-6 w-6" })
|
|
4948
5008
|
}
|
|
4949
5009
|
),
|
|
4950
|
-
/* @__PURE__ */ (0,
|
|
4951
|
-
/* @__PURE__ */ (0,
|
|
4952
|
-
/* @__PURE__ */ (0,
|
|
4953
|
-
/* @__PURE__ */ (0,
|
|
4954
|
-
/* @__PURE__ */ (0,
|
|
5010
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "flex flex-col items-center gap-8", children: [
|
|
5011
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "flex h-[60px] w-[60px] items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ExternalLinkIcon, { className: "h-[60px] w-[60px]" }) }),
|
|
5012
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
5013
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("h3", { className: "text-agg-2xl leading-agg-8 font-agg-bold text-agg-foreground", children: labels.deposit.cardFlow.pendingTitle(providerName) }),
|
|
5014
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: "agg-type-body text-agg-foreground", children: labels.deposit.cardFlow.pendingDescription })
|
|
4955
5015
|
] }),
|
|
4956
|
-
walletAddress ? /* @__PURE__ */ (0,
|
|
4957
|
-
/* @__PURE__ */ (0,
|
|
4958
|
-
/* @__PURE__ */ (0,
|
|
4959
|
-
/* @__PURE__ */ (0,
|
|
4960
|
-
/* @__PURE__ */ (0,
|
|
5016
|
+
walletAddress ? /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "flex w-full flex-col items-center gap-3 rounded-agg-md bg-agg-secondary-hover p-5", children: [
|
|
5017
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: "agg-type-label text-agg-foreground w-full", children: labels.deposit.cardFlow.pendingWalletAddressHelp }),
|
|
5018
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "flex w-full h-10 items-center gap-2 rounded border border-agg-separator bg-agg-secondary px-3 py-[10px]", children: [
|
|
5019
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("p", { className: "agg-type-body flex-1 min-w-0 truncate text-agg-foreground", children: walletAddress }),
|
|
5020
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
4961
5021
|
CopyButton,
|
|
4962
5022
|
{
|
|
4963
5023
|
value: walletAddress,
|
|
@@ -4967,11 +5027,11 @@ var CardPaymentPendingStep = ({
|
|
|
4967
5027
|
)
|
|
4968
5028
|
] })
|
|
4969
5029
|
] }) : null,
|
|
4970
|
-
/* @__PURE__ */ (0,
|
|
4971
|
-
/* @__PURE__ */ (0,
|
|
4972
|
-
/* @__PURE__ */ (0,
|
|
5030
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "flex items-start justify-center gap-3", children: [
|
|
5031
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { variant: "secondary", size: "large", className: "w-[120px]", onClick: onClose, children: labels.common.close }),
|
|
5032
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { variant: "primary", size: "large", onClick: onViewActivity, children: labels.deposit.cardFlow.viewActivity })
|
|
4973
5033
|
] }),
|
|
4974
|
-
/* @__PURE__ */ (0,
|
|
5034
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
4975
5035
|
"button",
|
|
4976
5036
|
{
|
|
4977
5037
|
type: "button",
|
|
@@ -4986,10 +5046,10 @@ var CardPaymentPendingStep = ({
|
|
|
4986
5046
|
|
|
4987
5047
|
// src/deposit/steps/card-purchase-success.tsx
|
|
4988
5048
|
var import_hooks21 = require("@agg-build/hooks");
|
|
4989
|
-
var
|
|
4990
|
-
var SummaryRow = ({ label, value }) => /* @__PURE__ */ (0,
|
|
4991
|
-
/* @__PURE__ */ (0,
|
|
4992
|
-
/* @__PURE__ */ (0,
|
|
5049
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
5050
|
+
var SummaryRow = ({ label, value }) => /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "flex items-center justify-between border-b border-agg-separator py-2 last:border-b-0", children: [
|
|
5051
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: "text-[12px] leading-4 font-agg-bold uppercase text-agg-muted-foreground", children: label }),
|
|
5052
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: "agg-type-label text-agg-foreground", children: value })
|
|
4993
5053
|
] });
|
|
4994
5054
|
var CardPurchaseSuccessStep = ({
|
|
4995
5055
|
summary,
|
|
@@ -4997,35 +5057,35 @@ var CardPurchaseSuccessStep = ({
|
|
|
4997
5057
|
onClose
|
|
4998
5058
|
}) => {
|
|
4999
5059
|
const labels = (0, import_hooks21.useLabels)();
|
|
5000
|
-
return /* @__PURE__ */ (0,
|
|
5001
|
-
/* @__PURE__ */ (0,
|
|
5060
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(Modal.Body, { classNames: { root: "px-5 py-8 sm:px-8 sm:py-10" }, children: [
|
|
5061
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5002
5062
|
"button",
|
|
5003
5063
|
{
|
|
5004
5064
|
type: "button",
|
|
5005
5065
|
className: "absolute right-8 top-7 flex items-center justify-center text-agg-foreground transition-colors hover:text-agg-foreground/80",
|
|
5006
5066
|
onClick: onClose,
|
|
5007
5067
|
"aria-label": labels.common.close,
|
|
5008
|
-
children: /* @__PURE__ */ (0,
|
|
5068
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(CloseIcon, { className: "h-6 w-6" })
|
|
5009
5069
|
}
|
|
5010
5070
|
),
|
|
5011
|
-
/* @__PURE__ */ (0,
|
|
5012
|
-
/* @__PURE__ */ (0,
|
|
5013
|
-
/* @__PURE__ */ (0,
|
|
5014
|
-
/* @__PURE__ */ (0,
|
|
5015
|
-
/* @__PURE__ */ (0,
|
|
5071
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "flex flex-col items-center gap-8", children: [
|
|
5072
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: "flex h-[60px] w-[60px] items-center justify-center rounded-full bg-agg-success/15", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(SuccessCheckIcon, { className: "h-6 w-6 text-agg-success" }) }),
|
|
5073
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
5074
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("h3", { className: "text-agg-2xl leading-agg-8 font-agg-bold text-agg-foreground", children: labels.deposit.cardFlow.successTitle }),
|
|
5075
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("p", { className: "agg-type-body text-agg-foreground", children: labels.deposit.cardFlow.successDescription })
|
|
5016
5076
|
] }),
|
|
5017
|
-
/* @__PURE__ */ (0,
|
|
5018
|
-
/* @__PURE__ */ (0,
|
|
5077
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "w-full rounded-lg border border-agg-separator bg-agg-secondary px-3 py-1", children: [
|
|
5078
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
5019
5079
|
SummaryRow,
|
|
5020
5080
|
{
|
|
5021
5081
|
label: labels.deposit.summary.amountReceived,
|
|
5022
5082
|
value: summary.amountReceived
|
|
5023
5083
|
}
|
|
5024
5084
|
),
|
|
5025
|
-
/* @__PURE__ */ (0,
|
|
5026
|
-
/* @__PURE__ */ (0,
|
|
5085
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(SummaryRow, { label: labels.deposit.summary.network, value: summary.network }),
|
|
5086
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(SummaryRow, { label: labels.deposit.cardFlow.summary.fees, value: summary.fees })
|
|
5027
5087
|
] }),
|
|
5028
|
-
/* @__PURE__ */ (0,
|
|
5088
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { variant: "secondary", size: "large", className: "w-[120px]", onClick: onDone, children: labels.deposit.done })
|
|
5029
5089
|
] })
|
|
5030
5090
|
] }) });
|
|
5031
5091
|
};
|
|
@@ -5033,7 +5093,7 @@ var CardPurchaseSuccessStep = ({
|
|
|
5033
5093
|
// src/deposit/steps/wallet-processing.tsx
|
|
5034
5094
|
var import_hooks22 = require("@agg-build/hooks");
|
|
5035
5095
|
var import_react7 = require("react");
|
|
5036
|
-
var
|
|
5096
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
5037
5097
|
var WalletProcessingStep = ({
|
|
5038
5098
|
steps,
|
|
5039
5099
|
errorMessage,
|
|
@@ -5046,14 +5106,14 @@ var WalletProcessingStep = ({
|
|
|
5046
5106
|
onComplete();
|
|
5047
5107
|
}
|
|
5048
5108
|
}, [steps, onComplete]);
|
|
5049
|
-
return /* @__PURE__ */ (0,
|
|
5050
|
-
/* @__PURE__ */ (0,
|
|
5051
|
-
/* @__PURE__ */ (0,
|
|
5109
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_jsx_runtime101.Fragment, { children: [
|
|
5110
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Modal.Header, { title: labels.deposit.processingTitle, hideBorder: true }),
|
|
5111
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: "flex flex-col gap-5", children: [
|
|
5052
5112
|
steps.map((step) => {
|
|
5053
5113
|
const isComplete = step.status === "complete";
|
|
5054
5114
|
const isActive = step.status === "active";
|
|
5055
|
-
return /* @__PURE__ */ (0,
|
|
5056
|
-
isComplete ? /* @__PURE__ */ (0,
|
|
5115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
5116
|
+
isComplete ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(CheckCircleIcon, { className: "h-4 w-4 text-agg-primary" }) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
5057
5117
|
"span",
|
|
5058
5118
|
{
|
|
5059
5119
|
className: [
|
|
@@ -5063,7 +5123,7 @@ var WalletProcessingStep = ({
|
|
|
5063
5123
|
].join(" ")
|
|
5064
5124
|
}
|
|
5065
5125
|
),
|
|
5066
|
-
/* @__PURE__ */ (0,
|
|
5126
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
5067
5127
|
"p",
|
|
5068
5128
|
{
|
|
5069
5129
|
className: isComplete || isActive ? "agg-type-body text-agg-foreground" : "agg-type-body text-agg-muted-foreground",
|
|
@@ -5072,17 +5132,17 @@ var WalletProcessingStep = ({
|
|
|
5072
5132
|
)
|
|
5073
5133
|
] }, step.id);
|
|
5074
5134
|
}),
|
|
5075
|
-
errorMessage ? /* @__PURE__ */ (0,
|
|
5135
|
+
errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("p", { className: "agg-type-body text-agg-destructive", children: errorMessage }) : null
|
|
5076
5136
|
] }) })
|
|
5077
5137
|
] });
|
|
5078
5138
|
};
|
|
5079
5139
|
|
|
5080
5140
|
// src/deposit/steps/wallet-success.tsx
|
|
5081
5141
|
var import_hooks23 = require("@agg-build/hooks");
|
|
5082
|
-
var
|
|
5083
|
-
var SummaryRow2 = ({ label, value }) => /* @__PURE__ */ (0,
|
|
5084
|
-
/* @__PURE__ */ (0,
|
|
5085
|
-
/* @__PURE__ */ (0,
|
|
5142
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
5143
|
+
var SummaryRow2 = ({ label, value }) => /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: "flex items-center justify-between border-b border-agg-separator py-2 last:border-b-0", children: [
|
|
5144
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("p", { className: "text-[12px] leading-4 font-agg-bold uppercase text-agg-muted-foreground", children: label }),
|
|
5145
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("p", { className: "agg-type-label text-agg-foreground", children: value })
|
|
5086
5146
|
] });
|
|
5087
5147
|
var WalletSuccessStep = ({
|
|
5088
5148
|
summary,
|
|
@@ -5090,42 +5150,42 @@ var WalletSuccessStep = ({
|
|
|
5090
5150
|
onClose
|
|
5091
5151
|
}) => {
|
|
5092
5152
|
const labels = (0, import_hooks23.useLabels)();
|
|
5093
|
-
return /* @__PURE__ */ (0,
|
|
5094
|
-
/* @__PURE__ */ (0,
|
|
5153
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(Modal.Body, { classNames: { root: "px-5 py-8 sm:px-8 sm:py-10" }, children: [
|
|
5154
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
5095
5155
|
"button",
|
|
5096
5156
|
{
|
|
5097
5157
|
type: "button",
|
|
5098
5158
|
className: "absolute right-8 top-7 flex items-center justify-center text-agg-foreground transition-colors hover:text-agg-foreground/80",
|
|
5099
5159
|
onClick: onClose,
|
|
5100
5160
|
"aria-label": labels.common.close,
|
|
5101
|
-
children: /* @__PURE__ */ (0,
|
|
5161
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(CloseIcon, { className: "h-6 w-6" })
|
|
5102
5162
|
}
|
|
5103
5163
|
),
|
|
5104
|
-
/* @__PURE__ */ (0,
|
|
5105
|
-
/* @__PURE__ */ (0,
|
|
5106
|
-
/* @__PURE__ */ (0,
|
|
5107
|
-
/* @__PURE__ */ (0,
|
|
5108
|
-
/* @__PURE__ */ (0,
|
|
5164
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: "flex flex-col items-center gap-8", children: [
|
|
5165
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: "flex h-[60px] w-[60px] items-center justify-center rounded-full bg-agg-success/15", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(SuccessCheckIcon, { className: "h-6 w-6 text-agg-success" }) }),
|
|
5166
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
5167
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("h3", { className: "text-agg-2xl leading-agg-8 font-agg-bold text-agg-foreground", children: labels.deposit.successTitle }),
|
|
5168
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("p", { className: "agg-type-body text-agg-foreground", children: labels.deposit.successDescription })
|
|
5109
5169
|
] }),
|
|
5110
|
-
/* @__PURE__ */ (0,
|
|
5111
|
-
/* @__PURE__ */ (0,
|
|
5170
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: "w-full rounded-lg border border-agg-separator bg-agg-secondary px-3 py-1", children: [
|
|
5171
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
5112
5172
|
SummaryRow2,
|
|
5113
5173
|
{
|
|
5114
5174
|
label: labels.deposit.summary.amountReceived,
|
|
5115
5175
|
value: summary.amountReceived
|
|
5116
5176
|
}
|
|
5117
5177
|
),
|
|
5118
|
-
/* @__PURE__ */ (0,
|
|
5119
|
-
/* @__PURE__ */ (0,
|
|
5120
|
-
/* @__PURE__ */ (0,
|
|
5178
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(SummaryRow2, { label: labels.deposit.summary.network, value: summary.network }),
|
|
5179
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(SummaryRow2, { label: labels.deposit.summary.fromWallet, value: summary.fromWallet }),
|
|
5180
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(SummaryRow2, { label: labels.deposit.summary.gasFee, value: summary.gasFee })
|
|
5121
5181
|
] }),
|
|
5122
|
-
/* @__PURE__ */ (0,
|
|
5182
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Button, { variant: "secondary", size: "large", className: "w-[120px]", onClick: onDone, children: labels.deposit.done })
|
|
5123
5183
|
] })
|
|
5124
5184
|
] }) });
|
|
5125
5185
|
};
|
|
5126
5186
|
|
|
5127
5187
|
// src/deposit/index.tsx
|
|
5128
|
-
var
|
|
5188
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
5129
5189
|
var PENDING_CARD_SESSION_KEY = "agg-pending-card-session";
|
|
5130
5190
|
function savePendingCardSession(data) {
|
|
5131
5191
|
try {
|
|
@@ -5173,7 +5233,7 @@ function isControlledDepositModalProps(props) {
|
|
|
5173
5233
|
}
|
|
5174
5234
|
function DepositModalSelfDriven({ open, onOpenChange }) {
|
|
5175
5235
|
const depositProps = (0, import_deposit.useDepositFlow)({ open, onOpenChange });
|
|
5176
|
-
return /* @__PURE__ */ (0,
|
|
5236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(DepositModalControlled, __spreadValues({}, depositProps));
|
|
5177
5237
|
}
|
|
5178
5238
|
function DepositModalControlled({
|
|
5179
5239
|
open,
|
|
@@ -5449,8 +5509,8 @@ function DepositModalControlled({
|
|
|
5449
5509
|
onOpenChange(isOpen);
|
|
5450
5510
|
};
|
|
5451
5511
|
const depositModalMaxWidth = step === "method" ? "600px" : "480px";
|
|
5452
|
-
return /* @__PURE__ */ (0,
|
|
5453
|
-
step === "method" ? /* @__PURE__ */ (0,
|
|
5512
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Modal, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(Modal.Container, { maxWidth: depositModalMaxWidth, "aria-label": "Deposit", children: [
|
|
5513
|
+
step === "method" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5454
5514
|
DepositMethodStep,
|
|
5455
5515
|
{
|
|
5456
5516
|
balance: walletFlow.balance,
|
|
@@ -5463,7 +5523,7 @@ function DepositModalControlled({
|
|
|
5463
5523
|
onSelectMethod: handleSelectMethod
|
|
5464
5524
|
}
|
|
5465
5525
|
) : null,
|
|
5466
|
-
step === "wallet-form" ? /* @__PURE__ */ (0,
|
|
5526
|
+
step === "wallet-form" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5467
5527
|
WalletFormStep,
|
|
5468
5528
|
{
|
|
5469
5529
|
walletLabel: walletFlow.walletLabel,
|
|
@@ -5527,7 +5587,7 @@ function DepositModalControlled({
|
|
|
5527
5587
|
})
|
|
5528
5588
|
}
|
|
5529
5589
|
) : null,
|
|
5530
|
-
step === "wallet-processing" ? /* @__PURE__ */ (0,
|
|
5590
|
+
step === "wallet-processing" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5531
5591
|
WalletProcessingStep,
|
|
5532
5592
|
{
|
|
5533
5593
|
steps: processingSteps,
|
|
@@ -5535,7 +5595,7 @@ function DepositModalControlled({
|
|
|
5535
5595
|
onComplete: () => setStep("wallet-success")
|
|
5536
5596
|
}
|
|
5537
5597
|
) : null,
|
|
5538
|
-
step === "wallet-success" ? /* @__PURE__ */ (0,
|
|
5598
|
+
step === "wallet-success" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5539
5599
|
WalletSuccessStep,
|
|
5540
5600
|
{
|
|
5541
5601
|
summary: resolvedSuccessSummary,
|
|
@@ -5543,7 +5603,7 @@ function DepositModalControlled({
|
|
|
5543
5603
|
onClose: () => handleOpenChange(false)
|
|
5544
5604
|
}
|
|
5545
5605
|
) : null,
|
|
5546
|
-
step === "card-deposit" && cardFlow ? /* @__PURE__ */ (0,
|
|
5606
|
+
step === "card-deposit" && cardFlow ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5547
5607
|
CardDepositStep,
|
|
5548
5608
|
{
|
|
5549
5609
|
amount: cardFlow.amount,
|
|
@@ -5565,7 +5625,7 @@ function DepositModalControlled({
|
|
|
5565
5625
|
onContinue: handleContinueCardDeposit
|
|
5566
5626
|
}
|
|
5567
5627
|
) : null,
|
|
5568
|
-
step === "card-provider" && cardFlow ? /* @__PURE__ */ (0,
|
|
5628
|
+
step === "card-provider" && cardFlow ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5569
5629
|
CardProviderStep,
|
|
5570
5630
|
{
|
|
5571
5631
|
amount: cardFlow.amount,
|
|
@@ -5580,7 +5640,7 @@ function DepositModalControlled({
|
|
|
5580
5640
|
onRetry: handleRetryQuotes
|
|
5581
5641
|
}
|
|
5582
5642
|
) : null,
|
|
5583
|
-
step === "card-payment-pending" ? /* @__PURE__ */ (0,
|
|
5643
|
+
step === "card-payment-pending" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5584
5644
|
CardPaymentPendingStep,
|
|
5585
5645
|
{
|
|
5586
5646
|
providerName: pendingProviderName,
|
|
@@ -5590,7 +5650,7 @@ function DepositModalControlled({
|
|
|
5590
5650
|
onChooseAnotherProvider: handleChooseAnotherProvider
|
|
5591
5651
|
}
|
|
5592
5652
|
) : null,
|
|
5593
|
-
step === "card-success" ? /* @__PURE__ */ (0,
|
|
5653
|
+
step === "card-success" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5594
5654
|
CardPurchaseSuccessStep,
|
|
5595
5655
|
{
|
|
5596
5656
|
summary: (_g = pendingCardPurchaseSummary != null ? pendingCardPurchaseSummary : cardFlow == null ? void 0 : cardFlow.purchaseSummary) != null ? _g : {
|
|
@@ -5602,7 +5662,7 @@ function DepositModalControlled({
|
|
|
5602
5662
|
onDone: handleDoneCardPurchase
|
|
5603
5663
|
}
|
|
5604
5664
|
) : null,
|
|
5605
|
-
step === "crypto-transfer" ? /* @__PURE__ */ (0,
|
|
5665
|
+
step === "crypto-transfer" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
5606
5666
|
CryptoTransferStep,
|
|
5607
5667
|
{
|
|
5608
5668
|
tokenOptions: sendTokenOptions,
|
|
@@ -5628,9 +5688,9 @@ function DepositModalControlled({
|
|
|
5628
5688
|
}
|
|
5629
5689
|
var DepositModal = (props) => {
|
|
5630
5690
|
if (!isControlledDepositModalProps(props)) {
|
|
5631
|
-
return /* @__PURE__ */ (0,
|
|
5691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(DepositModalSelfDriven, __spreadValues({}, props));
|
|
5632
5692
|
}
|
|
5633
|
-
return /* @__PURE__ */ (0,
|
|
5693
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(DepositModalControlled, __spreadValues({}, props));
|
|
5634
5694
|
};
|
|
5635
5695
|
DepositModal.displayName = "DepositModal";
|
|
5636
5696
|
|
|
@@ -5640,21 +5700,21 @@ var import_withdraw2 = require("@agg-build/hooks/withdraw");
|
|
|
5640
5700
|
|
|
5641
5701
|
// src/withdraw/steps/withdraw-method.tsx
|
|
5642
5702
|
var import_hooks25 = require("@agg-build/hooks");
|
|
5643
|
-
var
|
|
5703
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
5644
5704
|
var WithdrawMethodStep = ({
|
|
5645
5705
|
balance,
|
|
5646
5706
|
onSelectMethod
|
|
5647
5707
|
}) => {
|
|
5648
5708
|
const labels = (0, import_hooks25.useLabels)();
|
|
5649
|
-
return /* @__PURE__ */ (0,
|
|
5650
|
-
/* @__PURE__ */ (0,
|
|
5651
|
-
/* @__PURE__ */ (0,
|
|
5652
|
-
/* @__PURE__ */ (0,
|
|
5709
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_jsx_runtime104.Fragment, { children: [
|
|
5710
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Modal.Header, { title: labels.withdraw.title, hideBorder: true }),
|
|
5711
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: "flex flex-col gap-5", children: [
|
|
5712
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("p", { className: "agg-type-body text-agg-foreground", children: [
|
|
5653
5713
|
labels.withdraw.balancePrefix,
|
|
5654
5714
|
" ",
|
|
5655
5715
|
formatCompactUsd(balance)
|
|
5656
5716
|
] }),
|
|
5657
|
-
/* @__PURE__ */ (0,
|
|
5717
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
5658
5718
|
"div",
|
|
5659
5719
|
{
|
|
5660
5720
|
className: cn(
|
|
@@ -5671,12 +5731,12 @@ var WithdrawMethodStep = ({
|
|
|
5671
5731
|
}
|
|
5672
5732
|
},
|
|
5673
5733
|
children: [
|
|
5674
|
-
/* @__PURE__ */ (0,
|
|
5675
|
-
/* @__PURE__ */ (0,
|
|
5676
|
-
/* @__PURE__ */ (0,
|
|
5677
|
-
/* @__PURE__ */ (0,
|
|
5734
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: "shrink-0 flex items-center justify-center h-10 w-10 rounded-lg bg-agg-secondary-hover", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(WalletIcon, { className: "h-6 w-6 text-agg-muted-foreground" }) }),
|
|
5735
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: "flex-1 min-w-0", children: [
|
|
5736
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)("p", { className: "agg-type-body-strong text-agg-foreground", children: labels.withdraw.methods.walletTitle }),
|
|
5737
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)("p", { className: "agg-type-label text-agg-muted-foreground", children: labels.withdraw.methods.walletDescription })
|
|
5678
5738
|
] }),
|
|
5679
|
-
/* @__PURE__ */ (0,
|
|
5739
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: "shrink-0 text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ChevronRightIcon, { className: "h-5 w-5" }) })
|
|
5680
5740
|
]
|
|
5681
5741
|
}
|
|
5682
5742
|
)
|
|
@@ -5686,7 +5746,7 @@ var WithdrawMethodStep = ({
|
|
|
5686
5746
|
|
|
5687
5747
|
// src/withdraw/steps/withdraw-amount.tsx
|
|
5688
5748
|
var import_hooks26 = require("@agg-build/hooks");
|
|
5689
|
-
var
|
|
5749
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
5690
5750
|
var WithdrawAmountStep = ({
|
|
5691
5751
|
amount,
|
|
5692
5752
|
destinationWallet,
|
|
@@ -5712,28 +5772,28 @@ var WithdrawAmountStep = ({
|
|
|
5712
5772
|
const isValidAddress = isSolanaDest ? /^[1-9A-HJ-NP-Za-km-z]{32,44}$/.test(trimmedDestination) : /^0x[a-fA-F0-9]{40}$/.test(trimmedDestination);
|
|
5713
5773
|
const isValid = Number(amount) > 0 && isValidAddress;
|
|
5714
5774
|
const isDisabled = !isValid || isConfirming;
|
|
5715
|
-
return /* @__PURE__ */ (0,
|
|
5716
|
-
/* @__PURE__ */ (0,
|
|
5775
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_jsx_runtime105.Fragment, { children: [
|
|
5776
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
5717
5777
|
Modal.Header,
|
|
5718
5778
|
{
|
|
5719
5779
|
title: labels.withdraw.walletFlow.title,
|
|
5720
5780
|
hideBorder: true,
|
|
5721
|
-
leftElement: /* @__PURE__ */ (0,
|
|
5781
|
+
leftElement: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
5722
5782
|
"button",
|
|
5723
5783
|
{
|
|
5724
5784
|
type: "button",
|
|
5725
5785
|
className: "mr-2 flex items-center justify-center text-agg-foreground transition-colors hover:cursor-pointer hover:text-agg-foreground/80",
|
|
5726
5786
|
onClick: onBack,
|
|
5727
5787
|
"aria-label": labels.withdraw.back,
|
|
5728
|
-
children: /* @__PURE__ */ (0,
|
|
5788
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(ChevronLeftIcon, { className: "h-6 w-6" })
|
|
5729
5789
|
}
|
|
5730
5790
|
)
|
|
5731
5791
|
}
|
|
5732
5792
|
),
|
|
5733
|
-
/* @__PURE__ */ (0,
|
|
5734
|
-
/* @__PURE__ */ (0,
|
|
5735
|
-
/* @__PURE__ */ (0,
|
|
5736
|
-
/* @__PURE__ */ (0,
|
|
5793
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Modal.Body, { classNames: { root: "px-5 pt-0 pb-6 sm:px-8 sm:pt-0 sm:pb-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: "flex flex-col gap-5", children: [
|
|
5794
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
5795
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.withdraw.walletFlow.recipientAddressLabel }),
|
|
5796
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
5737
5797
|
"input",
|
|
5738
5798
|
{
|
|
5739
5799
|
type: "text",
|
|
@@ -5749,13 +5809,13 @@ var WithdrawAmountStep = ({
|
|
|
5749
5809
|
}
|
|
5750
5810
|
)
|
|
5751
5811
|
] }),
|
|
5752
|
-
/* @__PURE__ */ (0,
|
|
5753
|
-
/* @__PURE__ */ (0,
|
|
5754
|
-
/* @__PURE__ */ (0,
|
|
5755
|
-
/* @__PURE__ */ (0,
|
|
5812
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
5813
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
5814
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.withdraw.walletFlow.amountLabel }),
|
|
5815
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("p", { className: "agg-type-label text-agg-muted-foreground", children: balanceDisplay })
|
|
5756
5816
|
] }),
|
|
5757
|
-
/* @__PURE__ */ (0,
|
|
5758
|
-
/* @__PURE__ */ (0,
|
|
5817
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: "flex h-10 items-center gap-2 rounded border border-agg-separator bg-agg-secondary px-3 focus-within:border-agg-primary transition-colors", children: [
|
|
5818
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
5759
5819
|
"input",
|
|
5760
5820
|
{
|
|
5761
5821
|
type: "text",
|
|
@@ -5770,8 +5830,8 @@ var WithdrawAmountStep = ({
|
|
|
5770
5830
|
onChange: (e) => onAmountChange(e.target.value)
|
|
5771
5831
|
}
|
|
5772
5832
|
),
|
|
5773
|
-
/* @__PURE__ */ (0,
|
|
5774
|
-
onMaxClick ? /* @__PURE__ */ (0,
|
|
5833
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("span", { className: "agg-type-body text-agg-muted-foreground shrink-0", children: selectedToken }),
|
|
5834
|
+
onMaxClick ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
5775
5835
|
"button",
|
|
5776
5836
|
{
|
|
5777
5837
|
type: "button",
|
|
@@ -5782,10 +5842,10 @@ var WithdrawAmountStep = ({
|
|
|
5782
5842
|
) : null
|
|
5783
5843
|
] })
|
|
5784
5844
|
] }),
|
|
5785
|
-
/* @__PURE__ */ (0,
|
|
5786
|
-
/* @__PURE__ */ (0,
|
|
5787
|
-
/* @__PURE__ */ (0,
|
|
5788
|
-
/* @__PURE__ */ (0,
|
|
5845
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: "flex flex-col gap-3 sm:flex-row sm:gap-5", children: [
|
|
5846
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: "flex-1 flex flex-col gap-2 min-w-0", children: [
|
|
5847
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.withdraw.walletFlow.tokenLabel }),
|
|
5848
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
5789
5849
|
Select,
|
|
5790
5850
|
{
|
|
5791
5851
|
items: tokenOptions,
|
|
@@ -5795,9 +5855,9 @@ var WithdrawAmountStep = ({
|
|
|
5795
5855
|
}
|
|
5796
5856
|
)
|
|
5797
5857
|
] }),
|
|
5798
|
-
/* @__PURE__ */ (0,
|
|
5799
|
-
/* @__PURE__ */ (0,
|
|
5800
|
-
/* @__PURE__ */ (0,
|
|
5858
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: "flex-1 flex flex-col gap-2 min-w-0", children: [
|
|
5859
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)("p", { className: "agg-type-label-strong text-agg-foreground", children: labels.withdraw.walletFlow.networkLabel }),
|
|
5860
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
5801
5861
|
Select,
|
|
5802
5862
|
{
|
|
5803
5863
|
items: networkOptions,
|
|
@@ -5808,7 +5868,7 @@ var WithdrawAmountStep = ({
|
|
|
5808
5868
|
)
|
|
5809
5869
|
] })
|
|
5810
5870
|
] }),
|
|
5811
|
-
/* @__PURE__ */ (0,
|
|
5871
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
5812
5872
|
Button,
|
|
5813
5873
|
{
|
|
5814
5874
|
variant: isValid && !isConfirming ? "primary" : "secondary",
|
|
@@ -5819,7 +5879,7 @@ var WithdrawAmountStep = ({
|
|
|
5819
5879
|
children: isConfirming ? labels.common.loading : labels.withdraw.walletFlow.confirm
|
|
5820
5880
|
}
|
|
5821
5881
|
),
|
|
5822
|
-
error ? /* @__PURE__ */ (0,
|
|
5882
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("p", { className: "agg-type-label text-agg-error text-center", role: "alert", children: error }) : null
|
|
5823
5883
|
] }) })
|
|
5824
5884
|
] });
|
|
5825
5885
|
};
|
|
@@ -5911,15 +5971,15 @@ var buildWithdrawalLifecycleSteps = ({
|
|
|
5911
5971
|
};
|
|
5912
5972
|
|
|
5913
5973
|
// src/withdraw/steps/withdraw-success.tsx
|
|
5914
|
-
var
|
|
5915
|
-
var SummaryRow3 = ({ label, value }) => /* @__PURE__ */ (0,
|
|
5916
|
-
/* @__PURE__ */ (0,
|
|
5917
|
-
/* @__PURE__ */ (0,
|
|
5974
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
5975
|
+
var SummaryRow3 = ({ label, value }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "flex items-center justify-between border-b border-agg-separator py-2 last:border-b-0", children: [
|
|
5976
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: "text-[12px] leading-4 font-agg-bold uppercase text-agg-muted-foreground", children: label }),
|
|
5977
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: "agg-type-label text-agg-foreground", children: value })
|
|
5918
5978
|
] });
|
|
5919
5979
|
var LoadingGlyph = ({
|
|
5920
5980
|
className,
|
|
5921
5981
|
enableAnimations
|
|
5922
|
-
}) => /* @__PURE__ */ (0,
|
|
5982
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
5923
5983
|
"span",
|
|
5924
5984
|
{
|
|
5925
5985
|
"aria-hidden": "true",
|
|
@@ -5997,21 +6057,21 @@ var WithdrawSuccessStep = ({
|
|
|
5997
6057
|
descriptionCopy: walletFlowLabels.successDescription(tokenSymbol)
|
|
5998
6058
|
};
|
|
5999
6059
|
})();
|
|
6000
|
-
return /* @__PURE__ */ (0,
|
|
6001
|
-
/* @__PURE__ */ (0,
|
|
6060
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(Modal.Body, { classNames: { root: "px-5 py-8 sm:px-8 sm:py-10" }, children: [
|
|
6061
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6002
6062
|
"button",
|
|
6003
6063
|
{
|
|
6004
6064
|
type: "button",
|
|
6005
6065
|
className: "absolute right-8 top-7 flex items-center justify-center text-agg-foreground transition-colors hover:text-agg-foreground/80 cursor-pointer",
|
|
6006
6066
|
onClick: onClose,
|
|
6007
6067
|
"aria-label": labels.common.close,
|
|
6008
|
-
children: /* @__PURE__ */ (0,
|
|
6068
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(CloseIcon, { className: "h-6 w-6" })
|
|
6009
6069
|
}
|
|
6010
6070
|
),
|
|
6011
|
-
/* @__PURE__ */ (0,
|
|
6012
|
-
/* @__PURE__ */ (0,
|
|
6013
|
-
/* @__PURE__ */ (0,
|
|
6014
|
-
/* @__PURE__ */ (0,
|
|
6071
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "flex flex-col items-center gap-8", children: [
|
|
6072
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
6073
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("h3", { className: "text-agg-2xl leading-agg-8 font-agg-bold text-agg-foreground", children: titleCopy }),
|
|
6074
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6015
6075
|
"p",
|
|
6016
6076
|
{
|
|
6017
6077
|
className: "agg-type-body text-agg-muted-foreground",
|
|
@@ -6020,10 +6080,10 @@ var WithdrawSuccessStep = ({
|
|
|
6020
6080
|
children: descriptionCopy
|
|
6021
6081
|
}
|
|
6022
6082
|
),
|
|
6023
|
-
state.errorMessage ? /* @__PURE__ */ (0,
|
|
6083
|
+
state.errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: "agg-type-body text-agg-destructive", children: state.errorMessage }) : null
|
|
6024
6084
|
] }),
|
|
6025
|
-
hasDetails || !state.pending ? /* @__PURE__ */ (0,
|
|
6026
|
-
hasDetails ? /* @__PURE__ */ (0,
|
|
6085
|
+
hasDetails || !state.pending ? /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "agg-withdraw-success-timeline flex w-full flex-col gap-2", children: [
|
|
6086
|
+
hasDetails ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6027
6087
|
"div",
|
|
6028
6088
|
{
|
|
6029
6089
|
"aria-hidden": !isTimelineExpanded,
|
|
@@ -6036,17 +6096,17 @@ var WithdrawSuccessStep = ({
|
|
|
6036
6096
|
"transition-[grid-template-rows,opacity] duration-200 ease-[cubic-bezier(0.22,1,0.36,1)]"
|
|
6037
6097
|
)
|
|
6038
6098
|
),
|
|
6039
|
-
children: /* @__PURE__ */ (0,
|
|
6099
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "min-h-0", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "flex flex-col gap-4 pb-2", children: groups.map((group, groupIndex) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6040
6100
|
"div",
|
|
6041
6101
|
{
|
|
6042
6102
|
className: "flex flex-col gap-2",
|
|
6043
|
-
children: group.map((step) => /* @__PURE__ */ (0,
|
|
6103
|
+
children: group.map((step) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
6044
6104
|
"div",
|
|
6045
6105
|
{
|
|
6046
6106
|
className: "flex items-center gap-2 text-agg-sm leading-agg-5 text-agg-foreground",
|
|
6047
6107
|
"data-step-status": step.status,
|
|
6048
6108
|
children: [
|
|
6049
|
-
step.status === "pending" ? /* @__PURE__ */ (0,
|
|
6109
|
+
step.status === "pending" ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6050
6110
|
LoadingGlyph,
|
|
6051
6111
|
{
|
|
6052
6112
|
enableAnimations,
|
|
@@ -6055,7 +6115,7 @@ var WithdrawSuccessStep = ({
|
|
|
6055
6115
|
stepIconClassNameFor(step.status)
|
|
6056
6116
|
)
|
|
6057
6117
|
}
|
|
6058
|
-
) : /* @__PURE__ */ (0,
|
|
6118
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6059
6119
|
Icon,
|
|
6060
6120
|
{
|
|
6061
6121
|
name: stepIconNameFor(step.status),
|
|
@@ -6067,7 +6127,7 @@ var WithdrawSuccessStep = ({
|
|
|
6067
6127
|
"aria-hidden": "true"
|
|
6068
6128
|
}
|
|
6069
6129
|
),
|
|
6070
|
-
/* @__PURE__ */ (0,
|
|
6130
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: "min-w-0 flex-1", children: step.label })
|
|
6071
6131
|
]
|
|
6072
6132
|
},
|
|
6073
6133
|
step.id
|
|
@@ -6077,7 +6137,7 @@ var WithdrawSuccessStep = ({
|
|
|
6077
6137
|
)) }) })
|
|
6078
6138
|
}
|
|
6079
6139
|
) : null,
|
|
6080
|
-
hasDetails ? /* @__PURE__ */ (0,
|
|
6140
|
+
hasDetails ? /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
6081
6141
|
"button",
|
|
6082
6142
|
{
|
|
6083
6143
|
type: "button",
|
|
@@ -6089,13 +6149,13 @@ var WithdrawSuccessStep = ({
|
|
|
6089
6149
|
),
|
|
6090
6150
|
onClick: () => setIsTimelineExpanded((current) => !current),
|
|
6091
6151
|
children: [
|
|
6092
|
-
finalStep.status === "pending" ? /* @__PURE__ */ (0,
|
|
6152
|
+
finalStep.status === "pending" ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6093
6153
|
LoadingGlyph,
|
|
6094
6154
|
{
|
|
6095
6155
|
enableAnimations,
|
|
6096
6156
|
className: cn("h-3 w-3 shrink-0", stepIconClassNameFor(finalStep.status))
|
|
6097
6157
|
}
|
|
6098
|
-
) : /* @__PURE__ */ (0,
|
|
6158
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6099
6159
|
Icon,
|
|
6100
6160
|
{
|
|
6101
6161
|
name: stepIconNameFor(finalStep.status),
|
|
@@ -6104,8 +6164,8 @@ var WithdrawSuccessStep = ({
|
|
|
6104
6164
|
"aria-hidden": "true"
|
|
6105
6165
|
}
|
|
6106
6166
|
),
|
|
6107
|
-
/* @__PURE__ */ (0,
|
|
6108
|
-
/* @__PURE__ */ (0,
|
|
6167
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("p", { className: "min-w-0 flex-1", children: finalStep.label }),
|
|
6168
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6109
6169
|
Icon,
|
|
6110
6170
|
{
|
|
6111
6171
|
name: isTimelineExpanded ? "chevron-up" : "chevron-down",
|
|
@@ -6118,25 +6178,25 @@ var WithdrawSuccessStep = ({
|
|
|
6118
6178
|
}
|
|
6119
6179
|
) : null
|
|
6120
6180
|
] }) : null,
|
|
6121
|
-
/* @__PURE__ */ (0,
|
|
6122
|
-
/* @__PURE__ */ (0,
|
|
6181
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "w-full rounded-lg border border-agg-separator bg-agg-secondary px-3 py-1", children: [
|
|
6182
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
6123
6183
|
SummaryRow3,
|
|
6124
6184
|
{
|
|
6125
6185
|
label: walletFlowLabels.summary.amountReceived,
|
|
6126
6186
|
value: summary.amountReceived
|
|
6127
6187
|
}
|
|
6128
6188
|
),
|
|
6129
|
-
/* @__PURE__ */ (0,
|
|
6130
|
-
/* @__PURE__ */ (0,
|
|
6131
|
-
/* @__PURE__ */ (0,
|
|
6189
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(SummaryRow3, { label: walletFlowLabels.summary.network, value: summary.network }),
|
|
6190
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(SummaryRow3, { label: walletFlowLabels.summary.toWallet, value: summary.toWallet }),
|
|
6191
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(SummaryRow3, { label: walletFlowLabels.summary.fees, value: summary.fees })
|
|
6132
6192
|
] }),
|
|
6133
|
-
/* @__PURE__ */ (0,
|
|
6193
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { variant: "secondary", size: "large", className: "w-[160px]", onClick: onDone, children: labels.withdraw.done })
|
|
6134
6194
|
] })
|
|
6135
6195
|
] }) });
|
|
6136
6196
|
};
|
|
6137
6197
|
|
|
6138
6198
|
// src/withdraw/index.tsx
|
|
6139
|
-
var
|
|
6199
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
6140
6200
|
function isControlledWithdrawModalProps(props) {
|
|
6141
6201
|
return "withdrawFlow" in props;
|
|
6142
6202
|
}
|
|
@@ -6145,7 +6205,7 @@ function WithdrawModalSelfDriven({
|
|
|
6145
6205
|
onOpenChange
|
|
6146
6206
|
}) {
|
|
6147
6207
|
const withdrawProps = (0, import_withdraw2.useWithdrawFlow)({ open, onOpenChange });
|
|
6148
|
-
return /* @__PURE__ */ (0,
|
|
6208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(WithdrawModalControlled, __spreadValues({}, withdrawProps));
|
|
6149
6209
|
}
|
|
6150
6210
|
function WithdrawModalControlled({
|
|
6151
6211
|
open,
|
|
@@ -6195,15 +6255,15 @@ function WithdrawModalControlled({
|
|
|
6195
6255
|
});
|
|
6196
6256
|
const withdrawTokenOptions = withTokenIcons(withdrawFlow.tokenOptions);
|
|
6197
6257
|
const withdrawNetworkOptions = withNetworkIcons(withdrawFlow.networkOptions);
|
|
6198
|
-
return /* @__PURE__ */ (0,
|
|
6199
|
-
step === "method" ? /* @__PURE__ */ (0,
|
|
6258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Modal, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(Modal.Container, { maxWidth: "600px", "aria-label": "Withdraw", children: [
|
|
6259
|
+
step === "method" ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6200
6260
|
WithdrawMethodStep,
|
|
6201
6261
|
{
|
|
6202
6262
|
balance: withdrawFlow.balance,
|
|
6203
6263
|
onSelectMethod: () => setStep("withdraw-amount")
|
|
6204
6264
|
}
|
|
6205
6265
|
) : null,
|
|
6206
|
-
step === "withdraw-amount" ? /* @__PURE__ */ (0,
|
|
6266
|
+
step === "withdraw-amount" ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6207
6267
|
WithdrawAmountStep,
|
|
6208
6268
|
{
|
|
6209
6269
|
amount: withdrawFlow.amount,
|
|
@@ -6224,7 +6284,7 @@ function WithdrawModalControlled({
|
|
|
6224
6284
|
onContinue: handleConfirm
|
|
6225
6285
|
}
|
|
6226
6286
|
) : null,
|
|
6227
|
-
step === "success" ? /* @__PURE__ */ (0,
|
|
6287
|
+
step === "success" ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
6228
6288
|
WithdrawSuccessStep,
|
|
6229
6289
|
{
|
|
6230
6290
|
summary: withdrawFlow.purchaseSummary,
|
|
@@ -6238,9 +6298,9 @@ function WithdrawModalControlled({
|
|
|
6238
6298
|
}
|
|
6239
6299
|
var WithdrawModal = (props) => {
|
|
6240
6300
|
if (isControlledWithdrawModalProps(props)) {
|
|
6241
|
-
return /* @__PURE__ */ (0,
|
|
6301
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(WithdrawModalControlled, __spreadValues({}, props));
|
|
6242
6302
|
}
|
|
6243
|
-
return /* @__PURE__ */ (0,
|
|
6303
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(WithdrawModalSelfDriven, __spreadValues({}, props));
|
|
6244
6304
|
};
|
|
6245
6305
|
WithdrawModal.displayName = "WithdrawModal";
|
|
6246
6306
|
|
|
@@ -6267,12 +6327,12 @@ var ONCHAIN_VENUES = [import_sdk10.Venue.polymarket, import_sdk10.Venue.opinion,
|
|
|
6267
6327
|
// src/onboarding/steps/how-it-works.tsx
|
|
6268
6328
|
var import_react11 = require("react");
|
|
6269
6329
|
var import_hooks28 = require("@agg-build/hooks");
|
|
6270
|
-
var
|
|
6330
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
6271
6331
|
var defaultIcons = {
|
|
6272
|
-
createAccount: /* @__PURE__ */ (0,
|
|
6273
|
-
linkAccounts: /* @__PURE__ */ (0,
|
|
6274
|
-
bestPrices: /* @__PURE__ */ (0,
|
|
6275
|
-
stayInControl: /* @__PURE__ */ (0,
|
|
6332
|
+
createAccount: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(CreateAccountIcon, { className: "h-[28px] w-[28px] text-agg-muted-foreground" }),
|
|
6333
|
+
linkAccounts: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(LinkAccountsIcon, { className: "h-[28px] w-[28px] text-agg-muted-foreground" }),
|
|
6334
|
+
bestPrices: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(BestPricesIcon, { className: "h-[28px] w-[28px] text-agg-muted-foreground" }),
|
|
6335
|
+
stayInControl: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(StayInControlIcon, { className: "h-[28px] w-[28px] text-agg-muted-foreground" })
|
|
6276
6336
|
};
|
|
6277
6337
|
var HowItWorksStep = ({ onContinue, icons }) => {
|
|
6278
6338
|
const labels = (0, import_hooks28.useLabels)();
|
|
@@ -6285,10 +6345,10 @@ var HowItWorksStep = ({ onContinue, icons }) => {
|
|
|
6285
6345
|
setShowTopGradient(el.scrollTop > 0);
|
|
6286
6346
|
setShowBottomGradient(el.scrollTop + el.clientHeight < el.scrollHeight - 1);
|
|
6287
6347
|
}, []);
|
|
6288
|
-
return /* @__PURE__ */ (0,
|
|
6289
|
-
/* @__PURE__ */ (0,
|
|
6290
|
-
/* @__PURE__ */ (0,
|
|
6291
|
-
/* @__PURE__ */ (0,
|
|
6348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: "flex flex-col gap-6 h-[600px] sm:h-auto", children: [
|
|
6349
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("h2", { className: "text-center text-agg-2xl font-agg-bold text-agg-foreground", children: labels.onboarding.howItWorks.title }),
|
|
6350
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: "relative flex-1 min-h-0 sm:flex-initial", children: [
|
|
6351
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6292
6352
|
"div",
|
|
6293
6353
|
{
|
|
6294
6354
|
ref: scrollRef,
|
|
@@ -6298,7 +6358,7 @@ var HowItWorksStep = ({ onContinue, icons }) => {
|
|
|
6298
6358
|
var _a;
|
|
6299
6359
|
const icon = (_a = icons == null ? void 0 : icons[featureKey]) != null ? _a : defaultIcons[featureKey];
|
|
6300
6360
|
const feature = labels.onboarding.howItWorks.features[featureKey];
|
|
6301
|
-
return /* @__PURE__ */ (0,
|
|
6361
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
6302
6362
|
"div",
|
|
6303
6363
|
{
|
|
6304
6364
|
className: cn(
|
|
@@ -6307,11 +6367,11 @@ var HowItWorksStep = ({ onContinue, icons }) => {
|
|
|
6307
6367
|
"bg-agg-secondary-hover"
|
|
6308
6368
|
),
|
|
6309
6369
|
children: [
|
|
6310
|
-
/* @__PURE__ */ (0,
|
|
6311
|
-
/* @__PURE__ */ (0,
|
|
6312
|
-
/* @__PURE__ */ (0,
|
|
6370
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: "flex flex-col flex-1 min-w-0 gap-[6px]", children: [
|
|
6371
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("p", { className: "text-agg-base font-agg-bold leading-agg-6 text-agg-foreground", children: feature.title }),
|
|
6372
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: feature.description })
|
|
6313
6373
|
] }),
|
|
6314
|
-
icon ? /* @__PURE__ */ (0,
|
|
6374
|
+
icon ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "hidden shrink-0 items-center justify-center text-agg-muted-foreground sm:flex", children: icon }) : null
|
|
6315
6375
|
]
|
|
6316
6376
|
},
|
|
6317
6377
|
featureKey
|
|
@@ -6319,7 +6379,7 @@ var HowItWorksStep = ({ onContinue, icons }) => {
|
|
|
6319
6379
|
})
|
|
6320
6380
|
}
|
|
6321
6381
|
),
|
|
6322
|
-
/* @__PURE__ */ (0,
|
|
6382
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6323
6383
|
"div",
|
|
6324
6384
|
{
|
|
6325
6385
|
className: cn(
|
|
@@ -6330,7 +6390,7 @@ var HowItWorksStep = ({ onContinue, icons }) => {
|
|
|
6330
6390
|
)
|
|
6331
6391
|
}
|
|
6332
6392
|
),
|
|
6333
|
-
/* @__PURE__ */ (0,
|
|
6393
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6334
6394
|
"div",
|
|
6335
6395
|
{
|
|
6336
6396
|
className: cn(
|
|
@@ -6342,7 +6402,7 @@ var HowItWorksStep = ({ onContinue, icons }) => {
|
|
|
6342
6402
|
}
|
|
6343
6403
|
)
|
|
6344
6404
|
] }),
|
|
6345
|
-
/* @__PURE__ */ (0,
|
|
6405
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Button, { variant: "primary", size: "large", className: "w-full", onClick: onContinue, children: labels.onboarding.howItWorks.continue })
|
|
6346
6406
|
] });
|
|
6347
6407
|
};
|
|
6348
6408
|
HowItWorksStep.displayName = "HowItWorksStep";
|
|
@@ -6372,7 +6432,7 @@ var resolveVenueLogoIsColor = ({
|
|
|
6372
6432
|
};
|
|
6373
6433
|
|
|
6374
6434
|
// src/primitives/venue-logo/index.tsx
|
|
6375
|
-
var
|
|
6435
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
6376
6436
|
var VenueLogo = ({
|
|
6377
6437
|
venue,
|
|
6378
6438
|
variant = "icon",
|
|
@@ -6398,7 +6458,7 @@ var VenueLogo = ({
|
|
|
6398
6458
|
console.warn(`[AggUI] Unknown venue "${venue}" \u2014 using default logo`);
|
|
6399
6459
|
}
|
|
6400
6460
|
if (variant === "logo") {
|
|
6401
|
-
return /* @__PURE__ */ (0,
|
|
6461
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
6402
6462
|
RemoteImage,
|
|
6403
6463
|
{
|
|
6404
6464
|
src: (_a = venueLogoUrlRegistry[venue]) != null ? _a : DEFAULT_VENUE_LOGO_URL,
|
|
@@ -6413,7 +6473,7 @@ var VenueLogo = ({
|
|
|
6413
6473
|
isColor,
|
|
6414
6474
|
isMonochromatic
|
|
6415
6475
|
});
|
|
6416
|
-
return /* @__PURE__ */ (0,
|
|
6476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
6417
6477
|
Component,
|
|
6418
6478
|
{
|
|
6419
6479
|
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
@@ -6427,7 +6487,7 @@ var VenueLogo = ({
|
|
|
6427
6487
|
VenueLogo.displayName = "VenueLogo";
|
|
6428
6488
|
|
|
6429
6489
|
// src/onboarding/steps/profile-setup.tsx
|
|
6430
|
-
var
|
|
6490
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
6431
6491
|
var ProfileSetupStep = ({ onContinue }) => {
|
|
6432
6492
|
const labels = (0, import_hooks30.useLabels)();
|
|
6433
6493
|
const [username, setUsername] = (0, import_react12.useState)("");
|
|
@@ -6457,11 +6517,11 @@ var ProfileSetupStep = ({ onContinue }) => {
|
|
|
6457
6517
|
avatarPreview
|
|
6458
6518
|
});
|
|
6459
6519
|
}, [username, avatarFile, avatarPreview, onContinue]);
|
|
6460
|
-
return /* @__PURE__ */ (0,
|
|
6461
|
-
/* @__PURE__ */ (0,
|
|
6462
|
-
/* @__PURE__ */ (0,
|
|
6463
|
-
/* @__PURE__ */ (0,
|
|
6464
|
-
/* @__PURE__ */ (0,
|
|
6520
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "flex flex-col gap-7", children: [
|
|
6521
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)("h2", { className: "text-center text-agg-2xl font-agg-bold text-agg-foreground", children: labels.onboarding.profileSetup.title }),
|
|
6522
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "flex flex-col gap-5 items-center w-full", children: [
|
|
6523
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "flex justify-center", children: [
|
|
6524
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
6465
6525
|
"button",
|
|
6466
6526
|
{
|
|
6467
6527
|
type: "button",
|
|
@@ -6477,13 +6537,13 @@ var ProfileSetupStep = ({ onContinue }) => {
|
|
|
6477
6537
|
),
|
|
6478
6538
|
"aria-label": labels.onboarding.profileSetup.uploadProfilePictureAria,
|
|
6479
6539
|
children: [
|
|
6480
|
-
!avatarPreview ? /* @__PURE__ */ (0,
|
|
6540
|
+
!avatarPreview ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
6481
6541
|
"svg",
|
|
6482
6542
|
{
|
|
6483
6543
|
"aria-hidden": true,
|
|
6484
6544
|
viewBox: "0 0 80 80",
|
|
6485
6545
|
className: "pointer-events-none absolute inset-0 h-full w-full text-agg-separator group-hover:text-agg-muted-foreground",
|
|
6486
|
-
children: /* @__PURE__ */ (0,
|
|
6546
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
6487
6547
|
"circle",
|
|
6488
6548
|
{
|
|
6489
6549
|
cx: "40",
|
|
@@ -6497,18 +6557,18 @@ var ProfileSetupStep = ({ onContinue }) => {
|
|
|
6497
6557
|
)
|
|
6498
6558
|
}
|
|
6499
6559
|
) : null,
|
|
6500
|
-
avatarPreview ? /* @__PURE__ */ (0,
|
|
6560
|
+
avatarPreview ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
6501
6561
|
RemoteImage,
|
|
6502
6562
|
{
|
|
6503
6563
|
src: avatarPreview,
|
|
6504
6564
|
alt: labels.onboarding.profileSetup.profilePreviewAlt,
|
|
6505
6565
|
className: "h-full w-full object-cover"
|
|
6506
6566
|
}
|
|
6507
|
-
) : /* @__PURE__ */ (0,
|
|
6567
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(ProfileIcon, { className: "h-7 w-7 text-agg-muted-foreground" })
|
|
6508
6568
|
]
|
|
6509
6569
|
}
|
|
6510
6570
|
),
|
|
6511
|
-
/* @__PURE__ */ (0,
|
|
6571
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
6512
6572
|
"input",
|
|
6513
6573
|
{
|
|
6514
6574
|
ref: fileInputRef,
|
|
@@ -6520,8 +6580,8 @@ var ProfileSetupStep = ({ onContinue }) => {
|
|
|
6520
6580
|
}
|
|
6521
6581
|
)
|
|
6522
6582
|
] }),
|
|
6523
|
-
/* @__PURE__ */ (0,
|
|
6524
|
-
/* @__PURE__ */ (0,
|
|
6583
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "flex flex-col gap-2 w-full", children: [
|
|
6584
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
6525
6585
|
"label",
|
|
6526
6586
|
{
|
|
6527
6587
|
htmlFor: "onboarding-username",
|
|
@@ -6529,7 +6589,7 @@ var ProfileSetupStep = ({ onContinue }) => {
|
|
|
6529
6589
|
children: labels.onboarding.profileSetup.usernameLabel
|
|
6530
6590
|
}
|
|
6531
6591
|
),
|
|
6532
|
-
/* @__PURE__ */ (0,
|
|
6592
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
6533
6593
|
"input",
|
|
6534
6594
|
{
|
|
6535
6595
|
id: "onboarding-username",
|
|
@@ -6553,7 +6613,7 @@ var ProfileSetupStep = ({ onContinue }) => {
|
|
|
6553
6613
|
)
|
|
6554
6614
|
] })
|
|
6555
6615
|
] }),
|
|
6556
|
-
/* @__PURE__ */ (0,
|
|
6616
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Button, { variant: "primary", size: "large", className: "w-full", onClick: handleContinue, children: labels.onboarding.profileSetup.continue })
|
|
6557
6617
|
] });
|
|
6558
6618
|
};
|
|
6559
6619
|
ProfileSetupStep.displayName = "ProfileSetupStep";
|
|
@@ -6561,9 +6621,9 @@ ProfileSetupStep.displayName = "ProfileSetupStep";
|
|
|
6561
6621
|
// src/onboarding/steps/connect-accounts.tsx
|
|
6562
6622
|
var import_sdk11 = require("@agg-build/sdk");
|
|
6563
6623
|
var import_hooks31 = require("@agg-build/hooks");
|
|
6564
|
-
var
|
|
6624
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
6565
6625
|
var OnchainVenueLogos = () => {
|
|
6566
|
-
return /* @__PURE__ */ (0,
|
|
6626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "flex gap-1 sm:gap-0 sm:-space-x-5", children: ONCHAIN_VENUES.map((venue, index) => /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { style: { zIndex: ONCHAIN_VENUES.length - index }, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(VenueLogo, { venue, variant: "logo", size: "medium", className: "sm:h-8 sm:w-8" }) }, venue)) });
|
|
6567
6627
|
};
|
|
6568
6628
|
var VenueCard = ({
|
|
6569
6629
|
logos,
|
|
@@ -6575,7 +6635,7 @@ var VenueCard = ({
|
|
|
6575
6635
|
connected = false
|
|
6576
6636
|
}) => {
|
|
6577
6637
|
const labels = (0, import_hooks31.useLabels)();
|
|
6578
|
-
const action = connected ? /* @__PURE__ */ (0,
|
|
6638
|
+
const action = connected ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CheckCircleIcon, { className: "h-6 w-6 text-agg-success" }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6579
6639
|
Button,
|
|
6580
6640
|
{
|
|
6581
6641
|
variant: "tertiary",
|
|
@@ -6585,18 +6645,18 @@ var VenueCard = ({
|
|
|
6585
6645
|
children: labels.onboarding.connectAccounts.connect
|
|
6586
6646
|
}
|
|
6587
6647
|
);
|
|
6588
|
-
const mobileAction = connected ? /* @__PURE__ */ (0,
|
|
6648
|
+
const mobileAction = connected ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CheckCircleIcon, { className: "h-6 w-6 text-agg-success" }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6589
6649
|
Button,
|
|
6590
6650
|
{
|
|
6591
6651
|
variant: "tertiary",
|
|
6592
6652
|
size: "medium",
|
|
6593
6653
|
className: "!h-auto !px-0 !py-0 text-agg-primary hover:bg-transparent hover:text-agg-primary-hover",
|
|
6594
6654
|
onClick: onConnect,
|
|
6595
|
-
suffix: /* @__PURE__ */ (0,
|
|
6655
|
+
suffix: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(ChevronRightIcon, { className: "h-4 w-4" }),
|
|
6596
6656
|
children: labels.onboarding.connectAccounts.connectAccount
|
|
6597
6657
|
}
|
|
6598
6658
|
);
|
|
6599
|
-
return /* @__PURE__ */ (0,
|
|
6659
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
6600
6660
|
"div",
|
|
6601
6661
|
{
|
|
6602
6662
|
className: cn(
|
|
@@ -6604,23 +6664,23 @@ var VenueCard = ({
|
|
|
6604
6664
|
connected ? "bg-agg-success/5" : "bg-agg-secondary-hover hover:bg-agg-tertiary"
|
|
6605
6665
|
),
|
|
6606
6666
|
children: [
|
|
6607
|
-
/* @__PURE__ */ (0,
|
|
6608
|
-
/* @__PURE__ */ (0,
|
|
6609
|
-
/* @__PURE__ */ (0,
|
|
6610
|
-
/* @__PURE__ */ (0,
|
|
6611
|
-
/* @__PURE__ */ (0,
|
|
6612
|
-
/* @__PURE__ */ (0,
|
|
6667
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "hidden sm:flex items-center justify-between", children: [
|
|
6668
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "flex items-center gap-5", children: [
|
|
6669
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "shrink-0", children: logos }),
|
|
6670
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "flex flex-col gap-[2px]", children: [
|
|
6671
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "text-agg-base font-agg-bold text-agg-foreground", children: title }),
|
|
6672
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "text-agg-sm text-agg-foreground", children: description })
|
|
6613
6673
|
] })
|
|
6614
6674
|
] }),
|
|
6615
|
-
/* @__PURE__ */ (0,
|
|
6675
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "shrink-0", children: action })
|
|
6616
6676
|
] }),
|
|
6617
|
-
/* @__PURE__ */ (0,
|
|
6618
|
-
/* @__PURE__ */ (0,
|
|
6619
|
-
/* @__PURE__ */ (0,
|
|
6620
|
-
/* @__PURE__ */ (0,
|
|
6677
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "flex flex-col gap-3 sm:hidden", children: [
|
|
6678
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
6679
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "shrink-0", children: logos }),
|
|
6680
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "text-agg-lg font-agg-bold text-agg-foreground", children: mobileTitle != null ? mobileTitle : title })
|
|
6621
6681
|
] }),
|
|
6622
|
-
/* @__PURE__ */ (0,
|
|
6623
|
-
/* @__PURE__ */ (0,
|
|
6682
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "flex flex-col items-start gap-2", children: [
|
|
6683
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { className: "text-agg-base text-agg-foreground", children: mobileDescription != null ? mobileDescription : description }),
|
|
6624
6684
|
mobileAction
|
|
6625
6685
|
] })
|
|
6626
6686
|
] })
|
|
@@ -6637,13 +6697,13 @@ var ConnectAccountsStep = ({
|
|
|
6637
6697
|
}) => {
|
|
6638
6698
|
const labels = (0, import_hooks31.useLabels)();
|
|
6639
6699
|
const canContinue = connectedOnchain || connectedKalshi;
|
|
6640
|
-
return /* @__PURE__ */ (0,
|
|
6641
|
-
/* @__PURE__ */ (0,
|
|
6642
|
-
/* @__PURE__ */ (0,
|
|
6643
|
-
/* @__PURE__ */ (0,
|
|
6700
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "flex flex-col gap-6", children: [
|
|
6701
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("h2", { className: "text-center text-agg-2xl font-agg-bold text-agg-foreground", children: labels.onboarding.connectAccounts.title }),
|
|
6702
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { className: "flex flex-col gap-4", children: [
|
|
6703
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6644
6704
|
VenueCard,
|
|
6645
6705
|
{
|
|
6646
|
-
logos: /* @__PURE__ */ (0,
|
|
6706
|
+
logos: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(OnchainVenueLogos, {}),
|
|
6647
6707
|
title: labels.onboarding.connectAccounts.onchainTitle,
|
|
6648
6708
|
mobileTitle: labels.onboarding.connectAccounts.onchainMobileTitle(
|
|
6649
6709
|
ONCHAIN_VENUES.length - 1
|
|
@@ -6654,10 +6714,10 @@ var ConnectAccountsStep = ({
|
|
|
6654
6714
|
connected: connectedOnchain
|
|
6655
6715
|
}
|
|
6656
6716
|
),
|
|
6657
|
-
/* @__PURE__ */ (0,
|
|
6717
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6658
6718
|
VenueCard,
|
|
6659
6719
|
{
|
|
6660
|
-
logos: /* @__PURE__ */ (0,
|
|
6720
|
+
logos: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { className: "sm:flex sm:w-14 sm:items-center sm:justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6661
6721
|
VenueLogo,
|
|
6662
6722
|
{
|
|
6663
6723
|
venue: import_sdk11.Venue.kalshi,
|
|
@@ -6675,7 +6735,7 @@ var ConnectAccountsStep = ({
|
|
|
6675
6735
|
}
|
|
6676
6736
|
)
|
|
6677
6737
|
] }),
|
|
6678
|
-
/* @__PURE__ */ (0,
|
|
6738
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
6679
6739
|
Button,
|
|
6680
6740
|
{
|
|
6681
6741
|
variant: "primary",
|
|
@@ -6695,7 +6755,7 @@ var import_sdk12 = require("@agg-build/sdk");
|
|
|
6695
6755
|
var import_react13 = require("react");
|
|
6696
6756
|
var import_hooks32 = require("@agg-build/hooks");
|
|
6697
6757
|
var Dialog2 = __toESM(require("@radix-ui/react-dialog"));
|
|
6698
|
-
var
|
|
6758
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
6699
6759
|
var ConnectKalshiModal = ({
|
|
6700
6760
|
open,
|
|
6701
6761
|
onOpenChange,
|
|
@@ -6751,15 +6811,15 @@ var ConnectKalshiModal = ({
|
|
|
6751
6811
|
},
|
|
6752
6812
|
[onOpenChange]
|
|
6753
6813
|
);
|
|
6754
|
-
return /* @__PURE__ */ (0,
|
|
6814
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Modal, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
6755
6815
|
Modal.Container,
|
|
6756
6816
|
{
|
|
6757
6817
|
maxWidth: "600px",
|
|
6758
6818
|
"aria-label": labels.onboarding.connectKalshiModal.ariaLabel,
|
|
6759
6819
|
classNames: { container: "!rounded-agg-lg" },
|
|
6760
6820
|
children: [
|
|
6761
|
-
/* @__PURE__ */ (0,
|
|
6762
|
-
/* @__PURE__ */ (0,
|
|
6821
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Dialog2.Title, { className: "sr-only", children: labels.onboarding.connectKalshiModal.title }),
|
|
6822
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6763
6823
|
Modal.Header,
|
|
6764
6824
|
{
|
|
6765
6825
|
hideClose: false,
|
|
@@ -6770,8 +6830,8 @@ var ConnectKalshiModal = ({
|
|
|
6770
6830
|
}
|
|
6771
6831
|
}
|
|
6772
6832
|
),
|
|
6773
|
-
/* @__PURE__ */ (0,
|
|
6774
|
-
/* @__PURE__ */ (0,
|
|
6833
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Modal.Body, { classNames: { root: "!px-5 !pt-0 !pb-[60px] sm:!px-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-8 items-center", children: [
|
|
6834
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6775
6835
|
VenueLogo,
|
|
6776
6836
|
{
|
|
6777
6837
|
venue: import_sdk12.Venue.kalshi,
|
|
@@ -6780,54 +6840,54 @@ var ConnectKalshiModal = ({
|
|
|
6780
6840
|
className: "h-[60px] w-[60px]"
|
|
6781
6841
|
}
|
|
6782
6842
|
),
|
|
6783
|
-
/* @__PURE__ */ (0,
|
|
6784
|
-
/* @__PURE__ */ (0,
|
|
6785
|
-
/* @__PURE__ */ (0,
|
|
6843
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-4 items-center text-center", children: [
|
|
6844
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("h2", { className: "text-agg-2xl font-agg-bold text-agg-foreground", children: labels.onboarding.connectKalshiModal.title }),
|
|
6845
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-base leading-agg-6 text-agg-foreground", children: labels.onboarding.connectKalshiModal.description })
|
|
6786
6846
|
] }),
|
|
6787
|
-
/* @__PURE__ */ (0,
|
|
6788
|
-
/* @__PURE__ */ (0,
|
|
6789
|
-
/* @__PURE__ */ (0,
|
|
6790
|
-
/* @__PURE__ */ (0,
|
|
6791
|
-
/* @__PURE__ */ (0,
|
|
6847
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-4 w-full", children: [
|
|
6848
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-3 rounded-agg-lg bg-agg-secondary-hover p-4", children: [
|
|
6849
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-1", children: [
|
|
6850
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-xs font-agg-bold uppercase leading-agg-4 text-agg-muted-foreground", children: labels.onboarding.connectKalshiModal.stepOne.label }),
|
|
6851
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: labels.onboarding.connectKalshiModal.stepOne.title })
|
|
6792
6852
|
] }),
|
|
6793
|
-
/* @__PURE__ */ (0,
|
|
6794
|
-
/* @__PURE__ */ (0,
|
|
6795
|
-
/* @__PURE__ */ (0,
|
|
6853
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "space-y-0 text-agg-sm leading-agg-5 text-agg-foreground", children: [
|
|
6854
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { children: labels.onboarding.connectKalshiModal.stepOne.instructions.signIn }),
|
|
6855
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("p", { children: [
|
|
6796
6856
|
labels.onboarding.connectKalshiModal.stepOne.instructions.goToProfilePrefix,
|
|
6797
6857
|
" ",
|
|
6798
|
-
/* @__PURE__ */ (0,
|
|
6858
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: "font-agg-bold", children: labels.onboarding.connectKalshiModal.stepOne.instructions.profileText }),
|
|
6799
6859
|
labels.onboarding.connectKalshiModal.stepOne.instructions.goToProfileSeparator,
|
|
6800
6860
|
" ",
|
|
6801
|
-
/* @__PURE__ */ (0,
|
|
6861
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: "text-agg-foreground underline", children: labels.onboarding.connectKalshiModal.stepOne.instructions.profileUrl })
|
|
6802
6862
|
] }),
|
|
6803
|
-
/* @__PURE__ */ (0,
|
|
6863
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("p", { children: [
|
|
6804
6864
|
labels.onboarding.connectKalshiModal.stepOne.instructions.clickCreateKeyPrefix,
|
|
6805
6865
|
" ",
|
|
6806
|
-
/* @__PURE__ */ (0,
|
|
6866
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: "font-agg-bold", children: labels.onboarding.connectKalshiModal.stepOne.instructions.createKeyText }),
|
|
6807
6867
|
labels.onboarding.connectKalshiModal.stepOne.instructions.clickCreateKeySuffix
|
|
6808
6868
|
] }),
|
|
6809
|
-
/* @__PURE__ */ (0,
|
|
6869
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("p", { children: [
|
|
6810
6870
|
labels.onboarding.connectKalshiModal.stepOne.instructions.selectPermissionsPrefix,
|
|
6811
6871
|
" ",
|
|
6812
|
-
/* @__PURE__ */ (0,
|
|
6872
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: "font-agg-bold", children: labels.onboarding.connectKalshiModal.stepOne.instructions.readWriteText }),
|
|
6813
6873
|
labels.onboarding.connectKalshiModal.stepOne.instructions.selectPermissionsSuffix
|
|
6814
6874
|
] }),
|
|
6815
|
-
/* @__PURE__ */ (0,
|
|
6875
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { children: labels.onboarding.connectKalshiModal.stepOne.instructions.createKey })
|
|
6816
6876
|
] }),
|
|
6817
|
-
/* @__PURE__ */ (0,
|
|
6877
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: [
|
|
6818
6878
|
labels.onboarding.connectKalshiModal.stepOne.footerLineOne,
|
|
6819
|
-
/* @__PURE__ */ (0,
|
|
6879
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("br", {}),
|
|
6820
6880
|
labels.onboarding.connectKalshiModal.stepOne.footerLineTwo
|
|
6821
6881
|
] })
|
|
6822
6882
|
] }),
|
|
6823
|
-
/* @__PURE__ */ (0,
|
|
6824
|
-
/* @__PURE__ */ (0,
|
|
6825
|
-
/* @__PURE__ */ (0,
|
|
6826
|
-
/* @__PURE__ */ (0,
|
|
6883
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-3 rounded-agg-lg bg-agg-secondary-hover p-4", children: [
|
|
6884
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-1", children: [
|
|
6885
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-xs font-agg-bold uppercase leading-agg-4 text-agg-muted-foreground", children: labels.onboarding.connectKalshiModal.stepTwo.label }),
|
|
6886
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children: labels.onboarding.connectKalshiModal.stepTwo.title })
|
|
6827
6887
|
] }),
|
|
6828
|
-
/* @__PURE__ */ (0,
|
|
6829
|
-
/* @__PURE__ */ (0,
|
|
6830
|
-
/* @__PURE__ */ (0,
|
|
6888
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-foreground", children: labels.onboarding.connectKalshiModal.stepTwo.description }),
|
|
6889
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
6890
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6831
6891
|
"label",
|
|
6832
6892
|
{
|
|
6833
6893
|
htmlFor: "kalshi-api-key-id",
|
|
@@ -6835,7 +6895,7 @@ var ConnectKalshiModal = ({
|
|
|
6835
6895
|
children: labels.onboarding.connectKalshiModal.stepTwo.apiKeyIdLabel
|
|
6836
6896
|
}
|
|
6837
6897
|
),
|
|
6838
|
-
/* @__PURE__ */ (0,
|
|
6898
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6839
6899
|
"input",
|
|
6840
6900
|
{
|
|
6841
6901
|
id: "kalshi-api-key-id",
|
|
@@ -6855,8 +6915,8 @@ var ConnectKalshiModal = ({
|
|
|
6855
6915
|
}
|
|
6856
6916
|
)
|
|
6857
6917
|
] }),
|
|
6858
|
-
/* @__PURE__ */ (0,
|
|
6859
|
-
/* @__PURE__ */ (0,
|
|
6918
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
6919
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6860
6920
|
"label",
|
|
6861
6921
|
{
|
|
6862
6922
|
htmlFor: "kalshi-private-key",
|
|
@@ -6864,7 +6924,7 @@ var ConnectKalshiModal = ({
|
|
|
6864
6924
|
children: labels.onboarding.connectKalshiModal.stepTwo.privateKeyLabel
|
|
6865
6925
|
}
|
|
6866
6926
|
),
|
|
6867
|
-
/* @__PURE__ */ (0,
|
|
6927
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6868
6928
|
"textarea",
|
|
6869
6929
|
{
|
|
6870
6930
|
id: "kalshi-private-key",
|
|
@@ -6886,42 +6946,42 @@ var ConnectKalshiModal = ({
|
|
|
6886
6946
|
] })
|
|
6887
6947
|
] })
|
|
6888
6948
|
] }),
|
|
6889
|
-
/* @__PURE__ */ (0,
|
|
6890
|
-
/* @__PURE__ */ (0,
|
|
6891
|
-
/* @__PURE__ */ (0,
|
|
6892
|
-
/* @__PURE__ */ (0,
|
|
6949
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex items-center justify-between w-full", children: [
|
|
6950
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-base text-agg-foreground", children: labels.onboarding.connectKalshiModal.help.label }),
|
|
6951
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
6952
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
6893
6953
|
"a",
|
|
6894
6954
|
{
|
|
6895
6955
|
href: "#",
|
|
6896
6956
|
className: "flex items-center gap-2 text-agg-base font-agg-bold text-agg-primary hover:text-agg-primary-hover",
|
|
6897
6957
|
children: [
|
|
6898
|
-
/* @__PURE__ */ (0,
|
|
6958
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(DocumentIcon, { className: "h-4 w-4" }),
|
|
6899
6959
|
labels.onboarding.connectKalshiModal.help.docsLinkLabel
|
|
6900
6960
|
]
|
|
6901
6961
|
}
|
|
6902
6962
|
),
|
|
6903
|
-
/* @__PURE__ */ (0,
|
|
6904
|
-
/* @__PURE__ */ (0,
|
|
6963
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: "h-3 w-px bg-agg-separator" }),
|
|
6964
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
|
|
6905
6965
|
"a",
|
|
6906
6966
|
{
|
|
6907
6967
|
href: "#",
|
|
6908
6968
|
className: "flex items-center gap-2 text-agg-base font-agg-bold text-agg-primary hover:text-agg-primary-hover",
|
|
6909
6969
|
children: [
|
|
6910
|
-
/* @__PURE__ */ (0,
|
|
6970
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(PlaySquareIcon, { className: "h-4 w-4" }),
|
|
6911
6971
|
labels.onboarding.connectKalshiModal.help.tutorialLinkLabel
|
|
6912
6972
|
]
|
|
6913
6973
|
}
|
|
6914
6974
|
)
|
|
6915
6975
|
] })
|
|
6916
6976
|
] }),
|
|
6917
|
-
/* @__PURE__ */ (0,
|
|
6918
|
-
error ? /* @__PURE__ */ (0,
|
|
6919
|
-
/* @__PURE__ */ (0,
|
|
6920
|
-
/* @__PURE__ */ (0,
|
|
6977
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex flex-col gap-5 items-center", children: [
|
|
6978
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
6979
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(WarningIcon, { className: "h-3.5 w-3.5 shrink-0 text-agg-error" }),
|
|
6980
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-error", children: error })
|
|
6921
6981
|
] }) : null,
|
|
6922
|
-
/* @__PURE__ */ (0,
|
|
6923
|
-
/* @__PURE__ */ (0,
|
|
6924
|
-
/* @__PURE__ */ (0,
|
|
6982
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { className: "flex items-center gap-3 justify-center", children: [
|
|
6983
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Button, { variant: "secondary", size: "large", onClick: handleCancel, children: labels.onboarding.connectKalshiModal.actions.cancel }),
|
|
6984
|
+
/* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
6925
6985
|
Button,
|
|
6926
6986
|
{
|
|
6927
6987
|
variant: "primary",
|
|
@@ -6945,7 +7005,7 @@ ConnectKalshiModal.displayName = "ConnectKalshiModal";
|
|
|
6945
7005
|
var import_react14 = require("react");
|
|
6946
7006
|
var import_hooks33 = require("@agg-build/hooks");
|
|
6947
7007
|
var Dialog3 = __toESM(require("@radix-ui/react-dialog"));
|
|
6948
|
-
var
|
|
7008
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
6949
7009
|
var ConnectOnchainModal = ({
|
|
6950
7010
|
open,
|
|
6951
7011
|
onOpenChange,
|
|
@@ -6982,15 +7042,15 @@ var ConnectOnchainModal = ({
|
|
|
6982
7042
|
},
|
|
6983
7043
|
[onOpenChange]
|
|
6984
7044
|
);
|
|
6985
|
-
return /* @__PURE__ */ (0,
|
|
7045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Modal, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
6986
7046
|
Modal.Container,
|
|
6987
7047
|
{
|
|
6988
7048
|
maxWidth: "600px",
|
|
6989
7049
|
"aria-label": labels.onboarding.connectOnchainModal.ariaLabel,
|
|
6990
7050
|
classNames: { container: "!rounded-agg-lg" },
|
|
6991
7051
|
children: [
|
|
6992
|
-
/* @__PURE__ */ (0,
|
|
6993
|
-
/* @__PURE__ */ (0,
|
|
7052
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Dialog3.Title, { className: "sr-only", children: labels.onboarding.connectOnchainModal.title }),
|
|
7053
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
6994
7054
|
Modal.Header,
|
|
6995
7055
|
{
|
|
6996
7056
|
hideClose: false,
|
|
@@ -7001,26 +7061,26 @@ var ConnectOnchainModal = ({
|
|
|
7001
7061
|
}
|
|
7002
7062
|
}
|
|
7003
7063
|
),
|
|
7004
|
-
/* @__PURE__ */ (0,
|
|
7005
|
-
/* @__PURE__ */ (0,
|
|
7006
|
-
/* @__PURE__ */ (0,
|
|
7007
|
-
/* @__PURE__ */ (0,
|
|
7064
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Modal.Body, { classNames: { root: "!px-5 !pt-0 !pb-[60px] sm:!px-8" }, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col gap-8 items-center", children: [
|
|
7065
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col gap-4 items-center text-center", children: [
|
|
7066
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("h2", { className: "text-agg-2xl font-agg-bold text-agg-foreground", children: labels.onboarding.connectOnchainModal.title }),
|
|
7067
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "text-agg-base text-center leading-agg-6 text-agg-foreground whitespace-pre-line", children: labels.onboarding.connectOnchainModal.description })
|
|
7008
7068
|
] }),
|
|
7009
|
-
/* @__PURE__ */ (0,
|
|
7010
|
-
/* @__PURE__ */ (0,
|
|
7011
|
-
/* @__PURE__ */ (0,
|
|
7012
|
-
index > 0 && /* @__PURE__ */ (0,
|
|
7013
|
-
/* @__PURE__ */ (0,
|
|
7014
|
-
/* @__PURE__ */ (0,
|
|
7069
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex w-full flex-col items-center gap-4 rounded-agg-xl bg-agg-secondary-hover p-6", children: [
|
|
7070
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "text-agg-sm font-agg-bold uppercase leading-agg-5 text-agg-muted-foreground", children: labels.onboarding.connectOnchainModal.supportedVenuesLabel }),
|
|
7071
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: "flex flex-wrap items-center justify-center gap-x-4 gap-y-3", children: ONCHAIN_VENUES.map((venue, index) => /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex items-center gap-[6px]", children: [
|
|
7072
|
+
index > 0 && /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "mr-2.5 h-3 w-px bg-agg-separator" }),
|
|
7073
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(VenueLogo, { venue, size: "medium" }),
|
|
7074
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "text-agg-base text-agg-foreground", children: labels.venues[venue] })
|
|
7015
7075
|
] }, venue)) })
|
|
7016
7076
|
] }),
|
|
7017
|
-
/* @__PURE__ */ (0,
|
|
7018
|
-
/* @__PURE__ */ (0,
|
|
7019
|
-
error ? /* @__PURE__ */ (0,
|
|
7020
|
-
/* @__PURE__ */ (0,
|
|
7021
|
-
/* @__PURE__ */ (0,
|
|
7077
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col gap-6 items-center", children: [
|
|
7078
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex flex-col gap-3 items-center", children: [
|
|
7079
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
7080
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(WarningIcon, { className: "h-3.5 w-3.5 shrink-0 text-agg-error" }),
|
|
7081
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("p", { className: "text-agg-sm leading-agg-5 text-agg-error", children: error })
|
|
7022
7082
|
] }) : null,
|
|
7023
|
-
/* @__PURE__ */ (0,
|
|
7083
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7024
7084
|
Button,
|
|
7025
7085
|
{
|
|
7026
7086
|
variant: "primary",
|
|
@@ -7031,7 +7091,7 @@ var ConnectOnchainModal = ({
|
|
|
7031
7091
|
}
|
|
7032
7092
|
)
|
|
7033
7093
|
] }),
|
|
7034
|
-
/* @__PURE__ */ (0,
|
|
7094
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7035
7095
|
Button,
|
|
7036
7096
|
{
|
|
7037
7097
|
variant: "tertiary",
|
|
@@ -7050,7 +7110,7 @@ var ConnectOnchainModal = ({
|
|
|
7050
7110
|
ConnectOnchainModal.displayName = "ConnectOnchainModal";
|
|
7051
7111
|
|
|
7052
7112
|
// src/onboarding/index.tsx
|
|
7053
|
-
var
|
|
7113
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
7054
7114
|
var OnboardingModal = ({
|
|
7055
7115
|
open,
|
|
7056
7116
|
onOpenChange,
|
|
@@ -7112,19 +7172,19 @@ var OnboardingModal = ({
|
|
|
7112
7172
|
}),
|
|
7113
7173
|
[onConnectKalshi]
|
|
7114
7174
|
);
|
|
7115
|
-
return /* @__PURE__ */ (0,
|
|
7116
|
-
/* @__PURE__ */ (0,
|
|
7175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
|
|
7176
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Modal, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
|
|
7117
7177
|
Modal.Container,
|
|
7118
7178
|
{
|
|
7119
7179
|
maxWidth: "600px",
|
|
7120
7180
|
"aria-label": resolvedTitle,
|
|
7121
7181
|
classNames: { container: "!rounded-agg-lg" },
|
|
7122
7182
|
children: [
|
|
7123
|
-
/* @__PURE__ */ (0,
|
|
7124
|
-
/* @__PURE__ */ (0,
|
|
7125
|
-
step === ONBOARDING_STEPS.HOW_IT_WORKS && /* @__PURE__ */ (0,
|
|
7126
|
-
step === ONBOARDING_STEPS.PROFILE_SETUP && /* @__PURE__ */ (0,
|
|
7127
|
-
step === ONBOARDING_STEPS.CONNECT_ACCOUNTS && /* @__PURE__ */ (0,
|
|
7183
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Dialog4.Title, { className: "sr-only", children: resolvedTitle }),
|
|
7184
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(Modal.Body, { classNames: { root: "px-5 py-6 sm:px-10 sm:py-8" }, children: [
|
|
7185
|
+
step === ONBOARDING_STEPS.HOW_IT_WORKS && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(HowItWorksStep, { onContinue: handleHowItWorksContinue, icons: howItWorksIcons }),
|
|
7186
|
+
step === ONBOARDING_STEPS.PROFILE_SETUP && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(ProfileSetupStep, { onContinue: handleProfileContinue }),
|
|
7187
|
+
step === ONBOARDING_STEPS.CONNECT_ACCOUNTS && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7128
7188
|
ConnectAccountsStep,
|
|
7129
7189
|
{
|
|
7130
7190
|
onConnectOnchain: handleOpenOnchainModal,
|
|
@@ -7138,7 +7198,7 @@ var OnboardingModal = ({
|
|
|
7138
7198
|
]
|
|
7139
7199
|
}
|
|
7140
7200
|
) }),
|
|
7141
|
-
/* @__PURE__ */ (0,
|
|
7201
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7142
7202
|
ConnectOnchainModal,
|
|
7143
7203
|
{
|
|
7144
7204
|
open: onchainModalOpen,
|
|
@@ -7146,7 +7206,7 @@ var OnboardingModal = ({
|
|
|
7146
7206
|
onConnect: handleOnchainConnect
|
|
7147
7207
|
}
|
|
7148
7208
|
),
|
|
7149
|
-
/* @__PURE__ */ (0,
|
|
7209
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7150
7210
|
ConnectKalshiModal,
|
|
7151
7211
|
{
|
|
7152
7212
|
open: kalshiModalOpen,
|
|
@@ -7180,7 +7240,7 @@ var PROFILE_TAB_ITEMS = [
|
|
|
7180
7240
|
// src/profile/tabs/about-tab.tsx
|
|
7181
7241
|
var import_react16 = require("react");
|
|
7182
7242
|
var import_hooks35 = require("@agg-build/hooks");
|
|
7183
|
-
var
|
|
7243
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
7184
7244
|
var AboutTab = ({
|
|
7185
7245
|
avatarPreview,
|
|
7186
7246
|
onDeleteProfile: _onDeleteProfile,
|
|
@@ -7212,9 +7272,9 @@ var AboutTab = ({
|
|
|
7212
7272
|
);
|
|
7213
7273
|
const resolvedPreview = draftAvatarPreview != null ? draftAvatarPreview : avatarPreview;
|
|
7214
7274
|
const hasAvatarPreview = Boolean(resolvedPreview);
|
|
7215
|
-
return /* @__PURE__ */ (0,
|
|
7216
|
-
/* @__PURE__ */ (0,
|
|
7217
|
-
/* @__PURE__ */ (0,
|
|
7275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { className: "agg-profile-about flex flex-col gap-8", children: [
|
|
7276
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { className: "agg-profile-avatar-section flex w-full flex-col items-stretch sm:items-start", children: [
|
|
7277
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
|
|
7218
7278
|
"button",
|
|
7219
7279
|
{
|
|
7220
7280
|
type: "button",
|
|
@@ -7231,13 +7291,13 @@ var AboutTab = ({
|
|
|
7231
7291
|
),
|
|
7232
7292
|
"aria-label": labels.onboarding.profileSetup.uploadProfilePictureAria,
|
|
7233
7293
|
children: [
|
|
7234
|
-
!hasAvatarPreview ? /* @__PURE__ */ (0,
|
|
7294
|
+
!hasAvatarPreview ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7235
7295
|
"svg",
|
|
7236
7296
|
{
|
|
7237
7297
|
"aria-hidden": true,
|
|
7238
7298
|
viewBox: "0 0 80 80",
|
|
7239
7299
|
className: "pointer-events-none absolute inset-0 h-full w-full text-agg-separator group-hover:text-agg-muted-foreground",
|
|
7240
|
-
children: /* @__PURE__ */ (0,
|
|
7300
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7241
7301
|
"circle",
|
|
7242
7302
|
{
|
|
7243
7303
|
cx: "40",
|
|
@@ -7251,18 +7311,18 @@ var AboutTab = ({
|
|
|
7251
7311
|
)
|
|
7252
7312
|
}
|
|
7253
7313
|
) : null,
|
|
7254
|
-
resolvedPreview ? /* @__PURE__ */ (0,
|
|
7314
|
+
resolvedPreview ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7255
7315
|
RemoteImage,
|
|
7256
7316
|
{
|
|
7257
7317
|
src: resolvedPreview,
|
|
7258
7318
|
alt: labels.onboarding.profileSetup.profilePreviewAlt,
|
|
7259
7319
|
className: "h-full w-full object-cover"
|
|
7260
7320
|
}
|
|
7261
|
-
) : /* @__PURE__ */ (0,
|
|
7321
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Icon, { name: "profile", className: "h-7 w-7 text-agg-muted-foreground" })
|
|
7262
7322
|
]
|
|
7263
7323
|
}
|
|
7264
7324
|
),
|
|
7265
|
-
/* @__PURE__ */ (0,
|
|
7325
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7266
7326
|
"input",
|
|
7267
7327
|
{
|
|
7268
7328
|
ref: fileInputRef,
|
|
@@ -7274,8 +7334,8 @@ var AboutTab = ({
|
|
|
7274
7334
|
}
|
|
7275
7335
|
)
|
|
7276
7336
|
] }),
|
|
7277
|
-
/* @__PURE__ */ (0,
|
|
7278
|
-
/* @__PURE__ */ (0,
|
|
7337
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { className: "agg-form-section flex flex-col gap-2", children: [
|
|
7338
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7279
7339
|
"label",
|
|
7280
7340
|
{
|
|
7281
7341
|
htmlFor: "profile-username",
|
|
@@ -7283,7 +7343,7 @@ var AboutTab = ({
|
|
|
7283
7343
|
children: "Username"
|
|
7284
7344
|
}
|
|
7285
7345
|
),
|
|
7286
|
-
/* @__PURE__ */ (0,
|
|
7346
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7287
7347
|
"input",
|
|
7288
7348
|
{
|
|
7289
7349
|
id: "profile-username",
|
|
@@ -7312,9 +7372,9 @@ AboutTab.displayName = "AboutTab";
|
|
|
7312
7372
|
// src/profile/tabs/accounts-wallets-tab.tsx
|
|
7313
7373
|
var import_react17 = require("react");
|
|
7314
7374
|
var import_hooks36 = require("@agg-build/hooks");
|
|
7315
|
-
var
|
|
7316
|
-
var SectionTitle = ({ children }) => /* @__PURE__ */ (0,
|
|
7317
|
-
var AccountRow = ({ children, className }) => /* @__PURE__ */ (0,
|
|
7375
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
7376
|
+
var SectionTitle = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("h3", { className: "text-agg-sm font-agg-bold leading-agg-5 text-agg-foreground", children });
|
|
7377
|
+
var AccountRow = ({ children, className }) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
7318
7378
|
"div",
|
|
7319
7379
|
{
|
|
7320
7380
|
className: cn(
|
|
@@ -7326,7 +7386,7 @@ var AccountRow = ({ children, className }) => /* @__PURE__ */ (0, import_jsx_run
|
|
|
7326
7386
|
children
|
|
7327
7387
|
}
|
|
7328
7388
|
);
|
|
7329
|
-
var ConnectTextButton = ({ onClick }) => /* @__PURE__ */ (0,
|
|
7389
|
+
var ConnectTextButton = ({ onClick }) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
7330
7390
|
"button",
|
|
7331
7391
|
{
|
|
7332
7392
|
type: "button",
|
|
@@ -7335,7 +7395,7 @@ var ConnectTextButton = ({ onClick }) => /* @__PURE__ */ (0, import_jsx_runtime1
|
|
|
7335
7395
|
children: "Connect"
|
|
7336
7396
|
}
|
|
7337
7397
|
);
|
|
7338
|
-
var DisconnectTextButton = ({ onClick }) => /* @__PURE__ */ (0,
|
|
7398
|
+
var DisconnectTextButton = ({ onClick }) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
7339
7399
|
"button",
|
|
7340
7400
|
{
|
|
7341
7401
|
type: "button",
|
|
@@ -7378,14 +7438,14 @@ var VerifyIdentityButton = ({ onError }) => {
|
|
|
7378
7438
|
setIsInitiating(true);
|
|
7379
7439
|
setNeedsDepositAddress(true);
|
|
7380
7440
|
}, []);
|
|
7381
|
-
return /* @__PURE__ */ (0,
|
|
7441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
7382
7442
|
"button",
|
|
7383
7443
|
{
|
|
7384
7444
|
type: "button",
|
|
7385
7445
|
disabled: isInitiating,
|
|
7386
7446
|
onClick: handleClick,
|
|
7387
7447
|
className: "shrink-0 cursor-pointer text-agg-sm font-agg-bold leading-agg-5 text-agg-primary whitespace-nowrap disabled:cursor-not-allowed disabled:opacity-60",
|
|
7388
|
-
children: isInitiating ? /* @__PURE__ */ (0,
|
|
7448
|
+
children: isInitiating ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }) : "Verify Identity"
|
|
7389
7449
|
}
|
|
7390
7450
|
);
|
|
7391
7451
|
};
|
|
@@ -7393,26 +7453,26 @@ var TradingAccessSection = ({
|
|
|
7393
7453
|
venueAccounts,
|
|
7394
7454
|
onKycError
|
|
7395
7455
|
}) => {
|
|
7396
|
-
return /* @__PURE__ */ (0,
|
|
7397
|
-
/* @__PURE__ */ (0,
|
|
7398
|
-
/* @__PURE__ */ (0,
|
|
7456
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "agg-trading-access-section flex flex-col gap-3", children: [
|
|
7457
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(SectionTitle, { children: "Trading access" }),
|
|
7458
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("div", { className: "flex flex-col gap-2", children: TRADING_ACCESS_VENUES.map((venue) => {
|
|
7399
7459
|
var _a;
|
|
7400
7460
|
const venueAccount = venueAccounts == null ? void 0 : venueAccounts.find((va) => va.venue === venue);
|
|
7401
7461
|
const isKalshi = venue === "kalshi";
|
|
7402
7462
|
const isVerified = (venueAccount == null ? void 0 : venueAccount.kycStatus) === "verified";
|
|
7403
7463
|
const displayName = (_a = venueLogoLabels[venue]) != null ? _a : venue;
|
|
7404
|
-
return /* @__PURE__ */ (0,
|
|
7405
|
-
/* @__PURE__ */ (0,
|
|
7406
|
-
/* @__PURE__ */ (0,
|
|
7407
|
-
/* @__PURE__ */ (0,
|
|
7464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(AccountRow, { children: [
|
|
7465
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
7466
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(VenueLogo, { venue, size: "small" }),
|
|
7467
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: displayName })
|
|
7408
7468
|
] }),
|
|
7409
|
-
isKalshi && !isVerified ? /* @__PURE__ */ (0,
|
|
7410
|
-
/* @__PURE__ */ (0,
|
|
7411
|
-
/* @__PURE__ */ (0,
|
|
7412
|
-
] }) : isKalshi && isVerified ? /* @__PURE__ */ (0,
|
|
7413
|
-
/* @__PURE__ */ (0,
|
|
7414
|
-
/* @__PURE__ */ (0,
|
|
7415
|
-
/* @__PURE__ */ (0,
|
|
7469
|
+
isKalshi && !isVerified ? /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-4", children: [
|
|
7470
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-sm font-agg-normal leading-agg-5 text-agg-muted-foreground whitespace-nowrap", children: "KYC required" }),
|
|
7471
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(VerifyIdentityButton, { onError: onKycError })
|
|
7472
|
+
] }) : isKalshi && isVerified ? /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-4", children: [
|
|
7473
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-sm font-agg-normal leading-agg-5 text-agg-muted-foreground whitespace-nowrap", children: "Verified" }),
|
|
7474
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
7475
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
7416
7476
|
Icon,
|
|
7417
7477
|
{
|
|
7418
7478
|
name: "check-badge",
|
|
@@ -7420,11 +7480,11 @@ var TradingAccessSection = ({
|
|
|
7420
7480
|
color: "var(--agg-color-primary, #536dfe)"
|
|
7421
7481
|
}
|
|
7422
7482
|
),
|
|
7423
|
-
/* @__PURE__ */ (0,
|
|
7483
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-sm font-agg-normal leading-agg-5 text-agg-foreground whitespace-nowrap", children: "Available" })
|
|
7424
7484
|
] })
|
|
7425
|
-
] }) : /* @__PURE__ */ (0,
|
|
7426
|
-
/* @__PURE__ */ (0,
|
|
7427
|
-
/* @__PURE__ */ (0,
|
|
7485
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
7486
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Icon, { name: "check-badge", size: "small", color: "var(--agg-color-primary, #536dfe)" }),
|
|
7487
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-sm font-agg-normal leading-agg-5 text-agg-foreground whitespace-nowrap", children: "Available" })
|
|
7428
7488
|
] })
|
|
7429
7489
|
] }, venue);
|
|
7430
7490
|
}) })
|
|
@@ -7452,37 +7512,37 @@ var AccountsWalletsTab = ({
|
|
|
7452
7512
|
const twitter = socialAccounts == null ? void 0 : socialAccounts.twitter;
|
|
7453
7513
|
const google = socialAccounts == null ? void 0 : socialAccounts.google;
|
|
7454
7514
|
const apple = socialAccounts == null ? void 0 : socialAccounts.apple;
|
|
7455
|
-
return /* @__PURE__ */ (0,
|
|
7456
|
-
/* @__PURE__ */ (0,
|
|
7457
|
-
/* @__PURE__ */ (0,
|
|
7458
|
-
/* @__PURE__ */ (0,
|
|
7459
|
-
/* @__PURE__ */ (0,
|
|
7460
|
-
/* @__PURE__ */ (0,
|
|
7461
|
-
/* @__PURE__ */ (0,
|
|
7462
|
-
/* @__PURE__ */ (0,
|
|
7463
|
-
/* @__PURE__ */ (0,
|
|
7515
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "agg-accounts-wallets-tab flex flex-col gap-8", children: [
|
|
7516
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(TradingAccessSection, { venueAccounts, onKycError }),
|
|
7517
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "agg-social-accounts-section flex flex-col gap-3", children: [
|
|
7518
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(SectionTitle, { children: "Social Accounts" }),
|
|
7519
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "agg-social-accounts-list flex flex-col gap-2", children: [
|
|
7520
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(AccountRow, { className: "agg-social-account-row", children: [
|
|
7521
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
7522
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-agg-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Icon, { name: "google", size: "small", color: "currentColor" }) }),
|
|
7523
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: "Google" })
|
|
7464
7524
|
] }),
|
|
7465
|
-
(google == null ? void 0 : google.connected) ? /* @__PURE__ */ (0,
|
|
7525
|
+
(google == null ? void 0 : google.connected) ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(DisconnectTextButton, { onClick: onDisconnectGoogle }) : /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ConnectTextButton, { onClick: onConnectGoogle })
|
|
7466
7526
|
] }),
|
|
7467
|
-
/* @__PURE__ */ (0,
|
|
7468
|
-
/* @__PURE__ */ (0,
|
|
7469
|
-
/* @__PURE__ */ (0,
|
|
7470
|
-
/* @__PURE__ */ (0,
|
|
7527
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(AccountRow, { className: "agg-social-account-row", children: [
|
|
7528
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
7529
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-agg-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Icon, { name: "apple", size: "small", color: "currentColor" }) }),
|
|
7530
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: "Apple" })
|
|
7471
7531
|
] }),
|
|
7472
|
-
(apple == null ? void 0 : apple.connected) ? /* @__PURE__ */ (0,
|
|
7532
|
+
(apple == null ? void 0 : apple.connected) ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(DisconnectTextButton, { onClick: onDisconnectApple }) : /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ConnectTextButton, { onClick: onConnectApple })
|
|
7473
7533
|
] }),
|
|
7474
|
-
/* @__PURE__ */ (0,
|
|
7475
|
-
/* @__PURE__ */ (0,
|
|
7476
|
-
/* @__PURE__ */ (0,
|
|
7477
|
-
/* @__PURE__ */ (0,
|
|
7534
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(AccountRow, { className: "agg-social-account-row", children: [
|
|
7535
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
7536
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-agg-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Icon, { name: "twitter", size: "small", color: "currentColor" }) }),
|
|
7537
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: "X (Twitter)" })
|
|
7478
7538
|
] }),
|
|
7479
|
-
(twitter == null ? void 0 : twitter.connected) ? /* @__PURE__ */ (0,
|
|
7539
|
+
(twitter == null ? void 0 : twitter.connected) ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(DisconnectTextButton, { onClick: onDisconnectTwitter }) : /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ConnectTextButton, { onClick: onConnectTwitter })
|
|
7480
7540
|
] })
|
|
7481
7541
|
] })
|
|
7482
7542
|
] }),
|
|
7483
|
-
/* @__PURE__ */ (0,
|
|
7484
|
-
/* @__PURE__ */ (0,
|
|
7485
|
-
/* @__PURE__ */ (0,
|
|
7543
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
7544
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(SectionTitle, { children: "Email Address" }),
|
|
7545
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
|
|
7486
7546
|
"button",
|
|
7487
7547
|
{
|
|
7488
7548
|
type: "button",
|
|
@@ -7494,11 +7554,11 @@ var AccountsWalletsTab = ({
|
|
|
7494
7554
|
"cursor-pointer hover:bg-agg-secondary-hover"
|
|
7495
7555
|
),
|
|
7496
7556
|
children: [
|
|
7497
|
-
/* @__PURE__ */ (0,
|
|
7498
|
-
/* @__PURE__ */ (0,
|
|
7499
|
-
/* @__PURE__ */ (0,
|
|
7557
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
7558
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-agg-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Icon, { name: "email", size: "small", color: "currentColor" }) }),
|
|
7559
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground whitespace-nowrap", children: email != null ? email : "Connect email" })
|
|
7500
7560
|
] }),
|
|
7501
|
-
/* @__PURE__ */ (0,
|
|
7561
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Icon, { name: "chevron-right", size: "small", color: "currentColor" })
|
|
7502
7562
|
]
|
|
7503
7563
|
}
|
|
7504
7564
|
)
|
|
@@ -7508,7 +7568,7 @@ var AccountsWalletsTab = ({
|
|
|
7508
7568
|
AccountsWalletsTab.displayName = "AccountsWalletsTab";
|
|
7509
7569
|
|
|
7510
7570
|
// src/profile/index.tsx
|
|
7511
|
-
var
|
|
7571
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
7512
7572
|
var EVM_WALLET_VENUES = [import_sdk13.Venue.polymarket, import_sdk13.Venue.predict, import_sdk13.Venue.opinion];
|
|
7513
7573
|
var ProfileModal = ({
|
|
7514
7574
|
open,
|
|
@@ -7821,7 +7881,7 @@ var ProfileModal = ({
|
|
|
7821
7881
|
}),
|
|
7822
7882
|
[client, exchanges, onDisconnectExchangeProp]
|
|
7823
7883
|
);
|
|
7824
|
-
return /* @__PURE__ */ (0,
|
|
7884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Modal, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(
|
|
7825
7885
|
Modal.Container,
|
|
7826
7886
|
{
|
|
7827
7887
|
maxWidth: "800px",
|
|
@@ -7830,12 +7890,12 @@ var ProfileModal = ({
|
|
|
7830
7890
|
container: cn("agg-profile-modal", "min-h-[37.5rem]")
|
|
7831
7891
|
},
|
|
7832
7892
|
children: [
|
|
7833
|
-
/* @__PURE__ */ (0,
|
|
7834
|
-
/* @__PURE__ */ (0,
|
|
7835
|
-
/* @__PURE__ */ (0,
|
|
7836
|
-
/* @__PURE__ */ (0,
|
|
7893
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Modal.Header, { title: "Edit Profile", classNames: { root: "agg-profile-modal-header" } }),
|
|
7894
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Modal.Body, { classNames: { root: cn("agg-profile-modal-body", "overflow-x-visible") }, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { className: "agg-profile-layout flex flex-col sm:flex-row sm:gap-10", children: [
|
|
7895
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { className: "shrink-0", children: [
|
|
7896
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { className: "agg-profile-tabs mb-6 flex gap-2 sm:hidden", children: PROFILE_TAB_ITEMS.map((tab) => {
|
|
7837
7897
|
const isActive = activeTab === tab.value;
|
|
7838
|
-
return /* @__PURE__ */ (0,
|
|
7898
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(
|
|
7839
7899
|
"button",
|
|
7840
7900
|
{
|
|
7841
7901
|
type: "button",
|
|
@@ -7849,14 +7909,14 @@ var ProfileModal = ({
|
|
|
7849
7909
|
isActive ? "font-agg-normal text-agg-foreground bg-agg-secondary-hover border-agg-primary" : "font-agg-normal text-agg-foreground border-transparent"
|
|
7850
7910
|
),
|
|
7851
7911
|
children: [
|
|
7852
|
-
/* @__PURE__ */ (0,
|
|
7853
|
-
/* @__PURE__ */ (0,
|
|
7912
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon, { name: tab.icon, size: "small", color: "currentColor" }),
|
|
7913
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("span", { className: "whitespace-nowrap", children: tab.label })
|
|
7854
7914
|
]
|
|
7855
7915
|
},
|
|
7856
7916
|
tab.value
|
|
7857
7917
|
);
|
|
7858
7918
|
}) }),
|
|
7859
|
-
/* @__PURE__ */ (0,
|
|
7919
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
7860
7920
|
"nav",
|
|
7861
7921
|
{
|
|
7862
7922
|
className: cn(
|
|
@@ -7872,7 +7932,7 @@ var ProfileModal = ({
|
|
|
7872
7932
|
"aria-label": "Profile sections",
|
|
7873
7933
|
children: PROFILE_TAB_ITEMS.map((tab) => {
|
|
7874
7934
|
const isActive = activeTab === tab.value;
|
|
7875
|
-
return /* @__PURE__ */ (0,
|
|
7935
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(
|
|
7876
7936
|
"button",
|
|
7877
7937
|
{
|
|
7878
7938
|
type: "button",
|
|
@@ -7888,9 +7948,9 @@ var ProfileModal = ({
|
|
|
7888
7948
|
isActive ? "font-agg-normal text-agg-foreground bg-agg-secondary-hover" : "font-agg-normal text-agg-foreground"
|
|
7889
7949
|
),
|
|
7890
7950
|
children: [
|
|
7891
|
-
isActive ? /* @__PURE__ */ (0,
|
|
7892
|
-
/* @__PURE__ */ (0,
|
|
7893
|
-
/* @__PURE__ */ (0,
|
|
7951
|
+
isActive ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { className: "absolute left-0 top-0 bottom-0 w-1 bg-agg-primary" }) : null,
|
|
7952
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon, { name: tab.icon, size: "small", color: "currentColor" }),
|
|
7953
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)("span", { className: "shrink-0 whitespace-nowrap", children: tab.label })
|
|
7894
7954
|
]
|
|
7895
7955
|
},
|
|
7896
7956
|
tab.value
|
|
@@ -7899,8 +7959,8 @@ var ProfileModal = ({
|
|
|
7899
7959
|
}
|
|
7900
7960
|
)
|
|
7901
7961
|
] }),
|
|
7902
|
-
/* @__PURE__ */ (0,
|
|
7903
|
-
activeTab === PROFILE_TAB_KEYS.ABOUT ? /* @__PURE__ */ (0,
|
|
7962
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { className: "agg-profile-content min-w-0 flex-1", children: [
|
|
7963
|
+
activeTab === PROFILE_TAB_KEYS.ABOUT ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
7904
7964
|
AboutTab,
|
|
7905
7965
|
{
|
|
7906
7966
|
username: username != null ? username : user == null ? void 0 : user.username,
|
|
@@ -7914,7 +7974,7 @@ var ProfileModal = ({
|
|
|
7914
7974
|
avatarError: avatarTypeError
|
|
7915
7975
|
}
|
|
7916
7976
|
) : null,
|
|
7917
|
-
activeTab === PROFILE_TAB_KEYS.ACCOUNTS_WALLETS ? /* @__PURE__ */ (0,
|
|
7977
|
+
activeTab === PROFILE_TAB_KEYS.ACCOUNTS_WALLETS ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
7918
7978
|
AccountsWalletsTab,
|
|
7919
7979
|
{
|
|
7920
7980
|
exchanges: resolvedExchanges,
|
|
@@ -7944,9 +8004,9 @@ var ProfileModal = ({
|
|
|
7944
8004
|
) : null
|
|
7945
8005
|
] })
|
|
7946
8006
|
] }) }),
|
|
7947
|
-
/* @__PURE__ */ (0,
|
|
7948
|
-
/* @__PURE__ */ (0,
|
|
7949
|
-
/* @__PURE__ */ (0,
|
|
8007
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(Modal.Footer, { classNames: { root: "agg-profile-modal-footer" }, children: [
|
|
8008
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Button, { variant: "secondary", size: "large", onClick: handleCancel, className: "min-w-[120px]", children: "Cancel" }),
|
|
8009
|
+
/* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
7950
8010
|
Button,
|
|
7951
8011
|
{
|
|
7952
8012
|
variant: "primary",
|
|
@@ -7967,7 +8027,7 @@ ProfileModal.displayName = "ProfileModal";
|
|
|
7967
8027
|
// src/geo-block-modal/index.tsx
|
|
7968
8028
|
var import_hooks38 = require("@agg-build/hooks");
|
|
7969
8029
|
var import_react19 = require("react");
|
|
7970
|
-
var
|
|
8030
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
7971
8031
|
var GeoBlockModal = ({
|
|
7972
8032
|
open,
|
|
7973
8033
|
onOpenChange,
|
|
@@ -7979,32 +8039,32 @@ var GeoBlockModal = ({
|
|
|
7979
8039
|
onConfirm == null ? void 0 : onConfirm();
|
|
7980
8040
|
onOpenChange(false);
|
|
7981
8041
|
}, [onConfirm, onOpenChange]);
|
|
7982
|
-
return /* @__PURE__ */ (0,
|
|
8042
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
7983
8043
|
Modal,
|
|
7984
8044
|
{
|
|
7985
8045
|
open,
|
|
7986
8046
|
onOpenChange,
|
|
7987
8047
|
"aria-label": labels.trading.geoBlockModalAriaLabel,
|
|
7988
|
-
children: /* @__PURE__ */ (0,
|
|
8048
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
|
|
7989
8049
|
Modal.Container,
|
|
7990
8050
|
{
|
|
7991
8051
|
maxWidth: "480px",
|
|
7992
8052
|
classNames: { container: cn("!rounded-agg-2xl", classNames == null ? void 0 : classNames.container) },
|
|
7993
8053
|
children: [
|
|
7994
|
-
/* @__PURE__ */ (0,
|
|
7995
|
-
/* @__PURE__ */ (0,
|
|
7996
|
-
/* @__PURE__ */ (0,
|
|
8054
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Modal.Header, { title: "", hideBorder: true, classNames: { container: "px-8 pt-8 pb-0" } }),
|
|
8055
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Modal.Body, { classNames: { root: cn("!px-10 !pb-12 !pt-0", classNames == null ? void 0 : classNames.body) }, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "flex flex-col items-center gap-8", children: [
|
|
8056
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
7997
8057
|
Icon,
|
|
7998
8058
|
{
|
|
7999
8059
|
name: "internet-security",
|
|
8000
8060
|
className: "h-[60px] w-[60px] text-agg-muted-foreground"
|
|
8001
8061
|
}
|
|
8002
8062
|
),
|
|
8003
|
-
/* @__PURE__ */ (0,
|
|
8004
|
-
/* @__PURE__ */ (0,
|
|
8005
|
-
/* @__PURE__ */ (0,
|
|
8063
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
8064
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)("h2", { className: "text-agg-2xl font-agg-bold leading-agg-8 text-agg-foreground", children: labels.trading.geoBlockModalTitle }),
|
|
8065
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)("p", { className: "text-agg-base font-agg-normal leading-agg-6 text-agg-foreground", children: labels.trading.geoBlockModalDescription })
|
|
8006
8066
|
] }),
|
|
8007
|
-
/* @__PURE__ */ (0,
|
|
8067
|
+
/* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
8008
8068
|
Button,
|
|
8009
8069
|
{
|
|
8010
8070
|
variant: "secondary",
|
|
@@ -8025,7 +8085,7 @@ GeoBlockModal.displayName = "GeoBlockModal";
|
|
|
8025
8085
|
|
|
8026
8086
|
// src/geo-block-banner/index.tsx
|
|
8027
8087
|
var import_hooks39 = require("@agg-build/hooks");
|
|
8028
|
-
var
|
|
8088
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
8029
8089
|
var GeoBlockBanner = ({
|
|
8030
8090
|
venue,
|
|
8031
8091
|
termsUrl = AGG_TERMS_OF_SERVICE_URL,
|
|
@@ -8033,18 +8093,18 @@ var GeoBlockBanner = ({
|
|
|
8033
8093
|
}) => {
|
|
8034
8094
|
const labels = (0, import_hooks39.useLabels)();
|
|
8035
8095
|
const message = venue ? labels.trading.geoBlockVenueMessage(venue) : labels.trading.geoBlockGenericMessage;
|
|
8036
|
-
return /* @__PURE__ */ (0,
|
|
8096
|
+
return /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(
|
|
8037
8097
|
"div",
|
|
8038
8098
|
{
|
|
8039
|
-
className: cn("flex items-center gap-5 rounded-agg-
|
|
8099
|
+
className: cn("flex items-center gap-5 rounded-agg-lg bg-agg-secondary-hover p-3", className),
|
|
8040
8100
|
role: "status",
|
|
8041
8101
|
children: [
|
|
8042
|
-
/* @__PURE__ */ (0,
|
|
8102
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("p", { className: "min-w-0 flex-1 text-agg-xs leading-agg-4 text-agg-foreground", children: [
|
|
8043
8103
|
message,
|
|
8044
|
-
/* @__PURE__ */ (0,
|
|
8104
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)("a", { href: termsUrl, className: "underline", target: "_blank", rel: "noreferrer noopener", children: labels.trading.geoBlockTermsLink }),
|
|
8045
8105
|
labels.trading.geoBlockMessageSuffix
|
|
8046
8106
|
] }),
|
|
8047
|
-
/* @__PURE__ */ (0,
|
|
8107
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { name: "internet-security", className: "h-6 w-6 shrink-0 text-agg-muted-foreground" })
|
|
8048
8108
|
]
|
|
8049
8109
|
}
|
|
8050
8110
|
);
|