@glacislabs/stablegenie-zerodelta 4.5.0 → 4.6.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/dist/{chunk-447DEZ5S.js → chunk-CEBEMZHZ.js} +41 -3
- package/dist/{chunk-COBXR362.js → chunk-GBV2QVCH.js} +1170 -623
- package/dist/core/index.cjs +41 -3
- package/dist/core/index.d.cts +13 -2
- package/dist/core/index.d.ts +13 -2
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +1202 -617
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{mount-BnAD7hWX.d.cts → mount-DjeyxZcy.d.cts} +27 -8
- package/dist/{mount-DcbU1gqd.d.ts → mount-qV6l3ZuG.d.ts} +27 -8
- package/dist/mount.cjs +1202 -617
- package/dist/mount.d.cts +2 -2
- package/dist/mount.d.ts +2 -2
- package/dist/mount.js +2 -2
- package/dist/standalone.global.js +198 -46
- package/dist/{verify-D722uRwZ.d.cts → verify-DSCljQtK.d.cts} +6 -0
- package/dist/{verify-D722uRwZ.d.ts → verify-DSCljQtK.d.ts} +6 -0
- package/package.json +1 -1
package/dist/mount.cjs
CHANGED
|
@@ -1693,7 +1693,7 @@ var CHANNEL_HEADER = "x-zd-channel";
|
|
|
1693
1693
|
var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
|
|
1694
1694
|
var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
|
|
1695
1695
|
var WIDGET_CHANNEL = "widget";
|
|
1696
|
-
var WIDGET_VERSION = "4.
|
|
1696
|
+
var WIDGET_VERSION = "4.6.0" ;
|
|
1697
1697
|
var MAX_CHANNEL_VERSION_LEN = 32;
|
|
1698
1698
|
function sanitizeVersion(raw) {
|
|
1699
1699
|
const v = String(raw).trim();
|
|
@@ -1931,6 +1931,33 @@ function createApiClient(cfg) {
|
|
|
1931
1931
|
cache.vaults = { at: Date.now(), value };
|
|
1932
1932
|
return value;
|
|
1933
1933
|
}
|
|
1934
|
+
const priceCache = /* @__PURE__ */ new Map();
|
|
1935
|
+
async function fetchPrices(symbols) {
|
|
1936
|
+
const wanted = [...new Set(symbols.map((s) => String(s || "").toUpperCase()).filter((s) => /^[A-Z0-9]{1,16}$/.test(s)))];
|
|
1937
|
+
const missing = wanted.filter((s) => !nowFresh(priceCache.get(s) ?? null));
|
|
1938
|
+
if (missing.length) {
|
|
1939
|
+
let prices = {};
|
|
1940
|
+
try {
|
|
1941
|
+
const snapshot = await apiRequest(`/prices?symbols=${encodeURIComponent(missing.join(","))}`, {
|
|
1942
|
+
timeoutMs: 8e3
|
|
1943
|
+
});
|
|
1944
|
+
prices = snapshot && typeof snapshot === "object" && !snapshot.stale && snapshot.prices && typeof snapshot.prices === "object" ? snapshot.prices : {};
|
|
1945
|
+
} catch {
|
|
1946
|
+
prices = {};
|
|
1947
|
+
}
|
|
1948
|
+
const at = Date.now();
|
|
1949
|
+
for (const s of missing) {
|
|
1950
|
+
const n = Number(prices[s]);
|
|
1951
|
+
priceCache.set(s, { at, value: Number.isFinite(n) && n > 0 ? n : null });
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
const out = {};
|
|
1955
|
+
for (const s of wanted) {
|
|
1956
|
+
const value = priceCache.get(s)?.value;
|
|
1957
|
+
if (value != null) out[s] = value;
|
|
1958
|
+
}
|
|
1959
|
+
return out;
|
|
1960
|
+
}
|
|
1934
1961
|
async function fetchQuote(body, retries = 1) {
|
|
1935
1962
|
let lastError;
|
|
1936
1963
|
for (let attempt = 0; attempt <= retries; attempt += 1) {
|
|
@@ -1990,7 +2017,7 @@ function createApiClient(cfg) {
|
|
|
1990
2017
|
return false;
|
|
1991
2018
|
}
|
|
1992
2019
|
}
|
|
1993
|
-
return { apiRequest, fetchChains, fetchTokens, fetchRoutes, fetchRouteHealth, fetchRwaVaults, fetchQuote, screenWallet, reportSubmission, apiBase };
|
|
2020
|
+
return { apiRequest, fetchChains, fetchTokens, fetchRoutes, fetchRouteHealth, fetchRwaVaults, fetchPrices, fetchQuote, screenWallet, reportSubmission, apiBase };
|
|
1994
2021
|
}
|
|
1995
2022
|
|
|
1996
2023
|
// src/core/plan.ts
|
|
@@ -2173,6 +2200,14 @@ function validateSwap(swap = {}) {
|
|
|
2173
2200
|
if (!/^\d+(\.\d+)?$/.test(amountIn) || Number(amountIn) <= 0 || Number(amountIn) > 1e9) throw new Error("Enter a valid swap amount.");
|
|
2174
2201
|
return { fromChainId, toChainId, fromToken, toToken, amountIn };
|
|
2175
2202
|
}
|
|
2203
|
+
function viaOf(quote, tokens) {
|
|
2204
|
+
const orders = Array.isArray(quote.orderRequests) ? quote.orderRequests : [];
|
|
2205
|
+
if (orders.length < 2) return null;
|
|
2206
|
+
const first = orders[0];
|
|
2207
|
+
const wanted = normalizeAddress(first?.askToken);
|
|
2208
|
+
const token = wanted ? tokens.find((t) => Number(t.chainId) === Number(first?.destinationChainId) && normalizeAddress(t.address) === wanted) : void 0;
|
|
2209
|
+
return token ? tokenTicker(token) : "";
|
|
2210
|
+
}
|
|
2176
2211
|
async function quoteSwapPreview(api, swap, owner) {
|
|
2177
2212
|
const v = validateSwap(swap);
|
|
2178
2213
|
const tokens = await api.fetchTokens();
|
|
@@ -2201,7 +2236,9 @@ async function quoteSwapPreview(api, swap, owner) {
|
|
|
2201
2236
|
toToken: destToken.symbol,
|
|
2202
2237
|
bridge: quote.bridge || "",
|
|
2203
2238
|
feeBps: Number(quote.feeBps || 0),
|
|
2204
|
-
estimatedDuration: Number(quote.estimatedDuration || 0)
|
|
2239
|
+
estimatedDuration: Number(quote.estimatedDuration || 0),
|
|
2240
|
+
via: viaOf(quote, tokens),
|
|
2241
|
+
nativeFeeRaw: /^\d+$/.test(String(quote.gasCostSource ?? "")) ? String(quote.gasCostSource) : "0"
|
|
2205
2242
|
};
|
|
2206
2243
|
}
|
|
2207
2244
|
async function buildSwapPlan(api, swap, payer, wallet = {}) {
|
|
@@ -2640,6 +2677,7 @@ function createEngine(config = {}) {
|
|
|
2640
2677
|
fetchRoutes: api.fetchRoutes,
|
|
2641
2678
|
fetchRouteHealth: api.fetchRouteHealth,
|
|
2642
2679
|
fetchQuote: api.fetchQuote,
|
|
2680
|
+
fetchPrices: (symbols) => api.fetchPrices ? api.fetchPrices(symbols) : Promise.resolve({}),
|
|
2643
2681
|
fetchCatalogue: async (allowedAssets, product) => {
|
|
2644
2682
|
const [chains, registryTokens, routes, health, vaults] = await Promise.all([
|
|
2645
2683
|
api.fetchChains().catch(() => []),
|
|
@@ -3252,17 +3290,28 @@ function useHoldings(engine, account, routes, initialBalances) {
|
|
|
3252
3290
|
|
|
3253
3291
|
// src/react/styles.ts
|
|
3254
3292
|
var WIDGET_CSS = `
|
|
3255
|
-
|
|
3293
|
+
/* The card as the ZeroDelta widget design draws it (Figma "Widget Playground", 2026-09-30): no
|
|
3294
|
+
border and no shadow, tone steps of the one text colour, and a "raised" fill for the controls that
|
|
3295
|
+
sit on a tinted pane (the token button, the percent chips, the swap button). The tone steps are
|
|
3296
|
+
derived here from --sg-text so a host theme only has to name the text colour once. */
|
|
3297
|
+
.sg-widget,.sg-duo-wrap,.sg-pill-root{--sg-t90:color-mix(in srgb,var(--sg-text) 90%,transparent);--sg-t80:color-mix(in srgb,var(--sg-text) 80%,transparent);--sg-t72:color-mix(in srgb,var(--sg-text) 72%,transparent);--sg-t60:color-mix(in srgb,var(--sg-text) 60%,transparent);--sg-t35:color-mix(in srgb,var(--sg-text) 35%,transparent);--sg-raised:var(--sg-bg);--sg-chip-radius:calc(var(--sg-radius-control) / 2);--sg-pill-radius:calc(var(--sg-radius-control) * 2 / 3)}
|
|
3298
|
+
.sg-widget[data-sg-mode="dark"],.sg-duo-wrap[data-sg-mode="dark"],.sg-pill-root[data-sg-mode="dark"]{--sg-raised:color-mix(in srgb,var(--sg-surface) 92%,var(--sg-info))}
|
|
3299
|
+
.sg-widget{box-sizing:border-box;width:100%;max-width:380px;margin:0 auto;padding:20px 16px;background:var(--sg-bg);color:var(--sg-text);border:0;border-radius:var(--sg-radius);font-family:var(--sg-font);font-size:14px;line-height:1.4}
|
|
3256
3300
|
.sg-widget *{box-sizing:border-box}
|
|
3257
|
-
:root[data-theme="dark"] .sg-widget,.sg-widget[data-sg-mode="dark"]{box-shadow:0 8px 24px rgba(0,0,0,.4)}
|
|
3258
3301
|
|
|
3259
|
-
.sg-head{display:flex;align-items:
|
|
3260
|
-
.sg-
|
|
3302
|
+
.sg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:16px;min-height:28px}
|
|
3303
|
+
.sg-head-end{display:flex;align-items:center;gap:8px}
|
|
3304
|
+
/* In a modal or drawer the title centres on the wallet chip and the close button; inline it sits at the top. */
|
|
3305
|
+
.sg-dialog .sg-head{align-items:center}
|
|
3306
|
+
.sg-title{font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90)}
|
|
3307
|
+
.sg-close{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--sg-text-muted);cursor:pointer;transition:color 120ms ease}
|
|
3308
|
+
.sg-close:hover{color:var(--sg-text)}
|
|
3309
|
+
.sg-close:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
|
|
3261
3310
|
.sg-brand{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--sg-text-muted);text-transform:uppercase;letter-spacing:0.08em}
|
|
3262
3311
|
.sg-brand-mark{flex:0 0 auto;display:block}
|
|
3263
3312
|
|
|
3264
3313
|
.sg-label{display:block;font-size:12px;color:var(--sg-text-muted);margin-bottom:6px}
|
|
3265
|
-
.sg-panel{background:var(--sg-surface);border
|
|
3314
|
+
.sg-panel{background:var(--sg-surface);border-radius:var(--sg-radius-control);padding:16px}
|
|
3266
3315
|
.sg-panel + .sg-panel{margin-top:12px}
|
|
3267
3316
|
.sg-row{display:flex;gap:10px;align-items:center}
|
|
3268
3317
|
.sg-row>*{min-width:0}
|
|
@@ -3278,8 +3327,9 @@ var WIDGET_CSS = `
|
|
|
3278
3327
|
/* inputs */
|
|
3279
3328
|
.sg-input,.sg-select{width:100%;padding:10px 12px;background:var(--sg-bg);color:var(--sg-text);border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);font:inherit;outline:none;transition:border-color 120ms ease}
|
|
3280
3329
|
.sg-input:focus,.sg-select:focus{border-color:var(--sg-accent)}
|
|
3281
|
-
.sg-amount{font-size:
|
|
3330
|
+
.sg-amount{flex:1 1 auto;min-width:0;font-family:var(--sg-font-display);font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90);border:none;border-radius:0;background:transparent;padding:0}
|
|
3282
3331
|
.sg-amount:focus{border:none}
|
|
3332
|
+
.sg-amount::placeholder{color:var(--sg-t35)}
|
|
3283
3333
|
.sg-field{margin-bottom:12px}
|
|
3284
3334
|
.sg-reverse{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:-6px auto;position:relative;z-index:1;border-radius:var(--sg-radius-control);border:1px solid var(--sg-border);background:var(--sg-bg);color:var(--sg-text-muted);cursor:pointer;transition:color 120ms ease,border-color 120ms ease}
|
|
3285
3335
|
.sg-reverse:hover{color:var(--sg-accent);border-color:var(--sg-accent)}
|
|
@@ -3331,13 +3381,13 @@ var WIDGET_CSS = `
|
|
|
3331
3381
|
.sg-badge[data-tone="warn"]{background:color-mix(in srgb,var(--sg-danger) 14%,transparent);color:var(--sg-danger)}
|
|
3332
3382
|
|
|
3333
3383
|
/* CTA */
|
|
3334
|
-
.sg-btn{width:100%;min-height:
|
|
3384
|
+
.sg-btn{width:100%;min-height:44px;padding:10px 24px;border:none;border-radius:var(--sg-radius-cta);background:var(--sg-accent);color:var(--sg-accent-text);font:inherit;font-size:14px;font-weight:500;line-height:1.2;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter 120ms ease,opacity 120ms ease,transform 60ms ease}
|
|
3335
3385
|
.sg-btn:hover:not(:disabled){filter:brightness(1.06)}
|
|
3336
3386
|
.sg-btn:active:not(:disabled){transform:translateY(1px)}
|
|
3337
3387
|
.sg-btn:disabled{opacity:.5;cursor:not-allowed}
|
|
3338
3388
|
.sg-btn-ghost{background:transparent;color:var(--sg-text);border:1px solid var(--sg-border)}
|
|
3339
3389
|
.sg-btn-ghost:hover:not(:disabled){filter:none;border-color:var(--sg-accent);color:var(--sg-accent)}
|
|
3340
|
-
.sg-cta-wrap{margin-top:
|
|
3390
|
+
.sg-cta-wrap{margin-top:16px}
|
|
3341
3391
|
.sg-cta-wrap .sg-btn+.sg-btn{margin-top:8px}
|
|
3342
3392
|
|
|
3343
3393
|
/* status / steps */
|
|
@@ -3368,35 +3418,33 @@ var WIDGET_CSS = `
|
|
|
3368
3418
|
@keyframes sg-spin{to{transform:rotate(360deg)}}
|
|
3369
3419
|
@keyframes sg-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
|
|
3370
3420
|
|
|
3371
|
-
.
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
glyph in the widget sits in a flex or absolute box where that is harmless; this is the one that
|
|
3376
|
-
lives in normal text flow. (WIDGET_CSS is a template literal: no backticks in these comments.) */
|
|
3377
|
-
.sg-foot svg{display:inline-block;vertical-align:-1px;margin-right:5px}
|
|
3421
|
+
/* "Powered by ZeroDelta" with the brand mark. A flex row, so a host reset that sets
|
|
3422
|
+
svg{display:block} (Tailwind preflight) changes nothing. */
|
|
3423
|
+
.sg-foot{margin-top:12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:500;line-height:14px;min-height:16px;color:var(--sg-t80);text-align:center}
|
|
3424
|
+
.sg-foot-mark{flex:0 0 auto;display:block}
|
|
3378
3425
|
|
|
3379
3426
|
/* fixed-height variant \u2014 head/foot pinned, body scrolls */
|
|
3380
3427
|
.sg-widget[data-sg-fixed="true"]{display:flex;flex-direction:column}
|
|
3381
3428
|
.sg-widget[data-sg-fixed="true"] .sg-body{flex:1 1 auto;min-height:0;overflow-y:auto;margin:0 -8px;padding:0 8px;scrollbar-width:thin}
|
|
3382
3429
|
|
|
3383
3430
|
/* head wallet pill (Connect wallet / connected address) */
|
|
3384
|
-
.sg-wallet{display:inline-flex;align-items:center;gap:6px;padding:6px
|
|
3431
|
+
.sg-wallet{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:var(--sg-pill-radius);border:1px solid var(--sg-border);background:var(--sg-bg);color:var(--sg-t72);font:inherit;font-size:12px;font-weight:500;line-height:14px;white-space:nowrap;cursor:pointer;transition:border-color 120ms ease,color 120ms ease}
|
|
3385
3432
|
.sg-wallet:hover{border-color:var(--sg-accent);color:var(--sg-accent)}
|
|
3386
|
-
.sg-wallet[data-connected="true"]{cursor:default;color:var(--sg-
|
|
3387
|
-
.sg-wallet[data-connected="true"]:hover{border-color:var(--sg-border);color:var(--sg-
|
|
3388
|
-
.sg-wallet-dot{width:
|
|
3433
|
+
.sg-wallet[data-connected="true"]{cursor:default;color:var(--sg-t72)}
|
|
3434
|
+
.sg-wallet[data-connected="true"]:hover{border-color:var(--sg-border);color:var(--sg-t72)}
|
|
3435
|
+
.sg-wallet-dot{width:6px;height:6px;border-radius:999px;background:var(--sg-success)}
|
|
3389
3436
|
|
|
3390
3437
|
/* From/To tiles with a centered arrow (exchange layout) */
|
|
3391
|
-
.sg-ft{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:
|
|
3392
|
-
.sg-tile{display:flex;flex-direction:column;gap:
|
|
3393
|
-
.sg-tile:hover:not(:disabled){
|
|
3438
|
+
.sg-ft{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px}
|
|
3439
|
+
.sg-tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px 20px;border:0;border-radius:var(--sg-radius-control);background:var(--sg-surface);cursor:pointer;font:inherit;color:var(--sg-text);text-align:left;min-width:0;transition:background 120ms ease}
|
|
3440
|
+
.sg-tile:hover:not(:disabled){background:color-mix(in srgb,var(--sg-accent) 8%,var(--sg-bg))}
|
|
3394
3441
|
.sg-tile:disabled{cursor:default}
|
|
3395
|
-
.sg-tile-label{font-size:
|
|
3396
|
-
.sg-tile-main{display:flex;align-items:
|
|
3397
|
-
.
|
|
3398
|
-
.sg-tile-
|
|
3399
|
-
.sg-tile-
|
|
3442
|
+
.sg-tile-label{font-size:13px;line-height:18px;color:var(--sg-t60)}
|
|
3443
|
+
.sg-tile-main{display:flex;align-items:flex-start;gap:14px;min-width:0;max-width:100%}
|
|
3444
|
+
/* A flex COLUMN: as inline spans the ticker and the chain ran together on one line. */
|
|
3445
|
+
.sg-tile-text{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
|
|
3446
|
+
.sg-tile-sym{font-size:16px;font-weight:500;line-height:19px;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3447
|
+
.sg-tile-chain{font-size:12px;line-height:14px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3400
3448
|
.sg-tile-empty{color:var(--sg-text-muted);font-size:15px;font-weight:600}
|
|
3401
3449
|
.sg-funding-glyphs{display:flex;align-items:center;flex:0 0 auto;padding-right:2px}
|
|
3402
3450
|
.sg-funding-glyphs .sg-tok{box-shadow:0 0 0 2px var(--sg-surface);border-radius:999px}
|
|
@@ -3412,6 +3460,17 @@ var WIDGET_CSS = `
|
|
|
3412
3460
|
img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
|
|
3413
3461
|
.sg-tok[data-size="sm"],.sg-tok[data-size="sm"] .sg-tok-img,.sg-tok[data-size="sm"] .sg-tok-fb{width:28px;height:28px}
|
|
3414
3462
|
.sg-tok[data-size="sm"] .sg-tok-fb{font-size:9px}
|
|
3463
|
+
/* The design's three marks: 32px on a From/To tile, 24px in a token button, 18px on the rate line. */
|
|
3464
|
+
.sg-tok[data-size="tile"],.sg-tok[data-size="tile"] .sg-tok-img,.sg-tok[data-size="tile"] .sg-tok-fb{width:32px;height:32px}
|
|
3465
|
+
.sg-tok[data-size="tile"] .sg-tok-fb{font-size:10px}
|
|
3466
|
+
.sg-tok[data-size="tile"] .sg-tok-badge{right:-4px;bottom:-5.5px;border-color:var(--sg-surface)}
|
|
3467
|
+
/* the side card's receive mark carries the smaller badge, ringed in the card colour */
|
|
3468
|
+
.sg-recv .sg-tok[data-size="xs"] .sg-tok-badge{min-width:12px;width:12px;height:12px;right:-3px;bottom:-3px;border-color:var(--sg-bg)}
|
|
3469
|
+
.sg-tok[data-size="xs"],.sg-tok[data-size="xs"] .sg-tok-img,.sg-tok[data-size="xs"] .sg-tok-fb{width:24px;height:24px}
|
|
3470
|
+
.sg-tok[data-size="xs"] .sg-tok-fb{font-size:8px}
|
|
3471
|
+
.sg-tok[data-size="xs"] .sg-tok-badge{min-width:14px;width:14px;height:14px;right:-4px;bottom:-3.5px;border-width:1px;border-color:var(--sg-surface);font-size:5px;padding:0}
|
|
3472
|
+
.sg-tok[data-size="xxs"],.sg-tok[data-size="xxs"] .sg-tok-img,.sg-tok[data-size="xxs"] .sg-tok-fb{width:18px;height:18px}
|
|
3473
|
+
.sg-tok[data-size="xxs"] .sg-tok-fb{font-size:6px}
|
|
3415
3474
|
|
|
3416
3475
|
/* fiat side (on/off-ramp) */
|
|
3417
3476
|
.sg-fiat{flex:0 0 auto;width:36px;height:36px;border-radius:999px;background:color-mix(in srgb,var(--sg-accent) 14%,transparent);color:var(--sg-accent);font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
|
|
@@ -3424,10 +3483,10 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
|
|
|
3424
3483
|
.sg-amount-note{font-size:12px;font-weight:600;line-height:1.35;color:var(--sg-text-muted);margin-top:6px}
|
|
3425
3484
|
.sg-amount-note[data-tone="error"]{color:var(--sg-danger)}
|
|
3426
3485
|
.sg-amount[aria-invalid="true"]{color:var(--sg-danger)}
|
|
3427
|
-
.sg-pct-row{display:flex;gap:
|
|
3428
|
-
.sg-pct{flex:
|
|
3429
|
-
.sg-pct:hover:not(:disabled){color:var(--sg-accent)
|
|
3430
|
-
.sg-pct:disabled{opacity:.
|
|
3486
|
+
.sg-pct-row{display:flex;gap:4px}
|
|
3487
|
+
.sg-pct{flex:0 0 auto;padding:4px 8px;border:0;border-radius:var(--sg-chip-radius);background:var(--sg-raised);color:var(--sg-t72);font:inherit;font-size:11px;font-weight:500;line-height:13px;cursor:pointer;transition:color 120ms ease}
|
|
3488
|
+
.sg-pct:hover:not(:disabled){color:var(--sg-accent)}
|
|
3489
|
+
.sg-pct:disabled{opacity:.55;cursor:not-allowed}
|
|
3431
3490
|
|
|
3432
3491
|
/* full-panel token selector (Exchange from / Exchange to) */
|
|
3433
3492
|
.sg-sel-head{display:flex;align-items:center;margin-bottom:14px}
|
|
@@ -3475,10 +3534,10 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
|
|
|
3475
3534
|
/* width:100% is load-bearing: an inline-size container has NO intrinsic width, so as a flex/grid
|
|
3476
3535
|
item it would collapse to 0 and hide the whole widget. It fills the host slot; .sg-duo centers. */
|
|
3477
3536
|
.sg-duo-wrap{container-type:inline-size;width:100%;font-family:var(--sg-font)}
|
|
3478
|
-
.sg-duo{display:grid;grid-template-columns:minmax(0,
|
|
3479
|
-
@container (max-width:
|
|
3480
|
-
@media (max-width:
|
|
3481
|
-
.sg-side-title{font-size:
|
|
3537
|
+
.sg-duo{display:grid;grid-template-columns:minmax(0,360px) minmax(0,280px);gap:12px;align-items:start;justify-content:center;font-family:var(--sg-font)}
|
|
3538
|
+
@container (max-width:660px){.sg-duo{grid-template-columns:minmax(0,380px)}}
|
|
3539
|
+
@media (max-width:700px){.sg-duo{grid-template-columns:minmax(0,380px)}}
|
|
3540
|
+
.sg-side-title{font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90);margin-bottom:16px}
|
|
3482
3541
|
.sg-noroutes{padding:34px 14px;text-align:center}
|
|
3483
3542
|
.sg-noroutes-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;background:var(--sg-surface);color:var(--sg-text-muted);margin-bottom:12px}
|
|
3484
3543
|
.sg-noroutes-title{font-size:16px;font-weight:700;margin-bottom:8px}
|
|
@@ -3488,12 +3547,14 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
|
|
|
3488
3547
|
.sg-meta-row:last-child{border-bottom:none}
|
|
3489
3548
|
.sg-meta-row b{font-weight:600;font-variant-numeric:tabular-nums}
|
|
3490
3549
|
.sg-meta-label{color:var(--sg-text-muted)}
|
|
3491
|
-
.sg-recv
|
|
3492
|
-
.sg-recv-
|
|
3550
|
+
.sg-recv{display:flex;flex-direction:column;gap:2px;min-width:0}
|
|
3551
|
+
.sg-recv-line{display:flex;align-items:flex-end;gap:12px;min-width:0}
|
|
3552
|
+
.sg-recv-amt{min-width:0;font-family:var(--sg-font-display);font-size:18px;font-weight:500;line-height:20px;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3553
|
+
.sg-recv-sub{font-size:12px;line-height:14px;color:var(--sg-text-muted);padding-left:36px}
|
|
3493
3554
|
|
|
3494
3555
|
/* head tools: history entry point beside the wallet pill / brand chip */
|
|
3495
3556
|
.sg-head-tools{display:flex;align-items:center;gap:8px}
|
|
3496
|
-
.sg-hist{width:
|
|
3557
|
+
.sg-hist{width:28px;height:28px;flex:0 0 auto;border:1px solid var(--sg-border);border-radius:999px;background:transparent;color:var(--sg-text-muted);cursor:pointer;font:inherit;display:flex;align-items:center;justify-content:center;transition:color 120ms ease,border-color 120ms ease}
|
|
3497
3558
|
.sg-hist:hover{color:var(--sg-accent);border-color:var(--sg-accent)}
|
|
3498
3559
|
|
|
3499
3560
|
/* transaction history row. NOT the picker's flex row: at 390px that layout wrapped the pair onto two
|
|
@@ -3785,6 +3846,135 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
|
|
|
3785
3846
|
|
|
3786
3847
|
/* express (PaymentIsland) trims the card padding, so the sheet follows */
|
|
3787
3848
|
@media (prefers-reduced-motion:reduce){.sg-cp-sheet{animation:none}}
|
|
3849
|
+
|
|
3850
|
+
/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
|
|
3851
|
+
The card body of the ZeroDelta widget design (Figma "Widget Playground", 2026-09-30).
|
|
3852
|
+
One column with a 4px rhythm: the tinted "You pay" / "You receive" panes with the swap button
|
|
3853
|
+
riding the seam between them, the detail buttons, and the rate box. Every radius follows the
|
|
3854
|
+
theme so the playground's corner slider (and a host theme) moves all of them together.
|
|
3855
|
+
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
|
|
3856
|
+
.sg-stack{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0}
|
|
3857
|
+
.sg-pane{display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px 16px;background:var(--sg-surface);border-radius:var(--sg-radius-control)}
|
|
3858
|
+
.sg-pane[data-kind="pay"] .sg-pane-foot{margin-top:2px}
|
|
3859
|
+
.sg-pane[data-kind="send"]{gap:12px;padding:16px 20px}
|
|
3860
|
+
.sg-pane[data-kind="send"] .sg-pct{padding:7px 10px}
|
|
3861
|
+
.sg-widget[data-sg-mode="dark"] .sg-pane[data-kind="send"] .sg-pct{background:transparent;border:1px solid var(--sg-border)}
|
|
3862
|
+
.sg-pane[data-kind="send"] .sg-pane-foot{line-height:18px}
|
|
3863
|
+
.sg-pane[data-kind="send"] .sg-pane-foot>span:last-child{font-size:13px}
|
|
3864
|
+
.sg-pane[data-kind="send"] .sg-amount{line-height:20px}
|
|
3865
|
+
.sg-pane-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:21px}
|
|
3866
|
+
.sg-pane-label{font-size:13px;line-height:18px;color:var(--sg-t60);white-space:nowrap}
|
|
3867
|
+
.sg-pane-mid{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
|
|
3868
|
+
/* The amount takes what the token button leaves, never the other way round: an input's intrinsic
|
|
3869
|
+
width (about twenty characters) otherwise squeezed the button down to "U\u2026". */
|
|
3870
|
+
.sg-pane-mid>.sg-amount,.sg-pane-mid>.sg-amt-out{flex:1 1 0;width:0;min-width:0}
|
|
3871
|
+
.sg-pane-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:14px;color:var(--sg-text-muted);min-height:14px}
|
|
3872
|
+
/* "You receive" runs its USD line straight under the amount row: no gap, as the design draws it. */
|
|
3873
|
+
.sg-pane[data-kind="receive"]>.sg-pane-foot{margin-top:-10px}
|
|
3874
|
+
.sg-pane-foot b{font-weight:400;color:var(--sg-t90)}
|
|
3875
|
+
.sg-pane--note{min-height:100px;align-items:center;justify-content:center;text-align:center;font-size:13px;line-height:1.4;color:var(--sg-t60);padding:12px max(16px,calc(50% - 100px))}
|
|
3876
|
+
|
|
3877
|
+
/* amounts: the display face, the decimals greyed */
|
|
3878
|
+
.sg-amt-out{flex:1 1 auto;min-width:0;font-family:var(--sg-font-display);font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3879
|
+
.sg-amt-dec,.sg-amt-empty{color:var(--sg-t35)}
|
|
3880
|
+
|
|
3881
|
+
/* the token button inside a pane */
|
|
3882
|
+
.sg-tokbtn{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:62%;padding:8px;border:0;border-radius:var(--sg-radius-control);background:var(--sg-raised);color:var(--sg-text);font:inherit;text-align:left;cursor:pointer}
|
|
3883
|
+
.sg-tokbtn .sg-tok{margin-right:6px;align-self:flex-start}
|
|
3884
|
+
.sg-tokbtn:disabled{cursor:default}
|
|
3885
|
+
.sg-tokbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
|
|
3886
|
+
.sg-tokbtn-text{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
|
|
3887
|
+
.sg-tokbtn-text>.sg-tokbtn-sym{line-height:17px}
|
|
3888
|
+
.sg-tokbtn-text>.sg-tokbtn-chain{line-height:14px}
|
|
3889
|
+
.sg-tokbtn-sym{font-size:14px;font-weight:500;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3890
|
+
.sg-tokbtn-chain{font-size:12px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3891
|
+
.sg-tokbtn-chev{display:flex;flex:0 0 auto;color:var(--sg-t80);transition:color 120ms ease,transform 120ms ease}
|
|
3892
|
+
.sg-tokbtn:hover:not(:disabled) .sg-tokbtn-chev{color:var(--sg-accent);transform:translateX(1px)}
|
|
3893
|
+
.sg-tokbtn--fiat{gap:8px;padding-right:12px;cursor:default}
|
|
3894
|
+
.sg-tokbtn-select{border:0;background:transparent;color:var(--sg-t90);font:inherit;font-size:14px;font-weight:500;cursor:pointer;padding:0 2px}
|
|
3895
|
+
.sg-fiat[data-size="xs"]{width:24px;height:24px;font-size:12px}
|
|
3896
|
+
|
|
3897
|
+
/* the swap button on the seam between the panes (and the small one between the From/To tiles) */
|
|
3898
|
+
.sg-flip-slot{position:relative;height:0;margin:-2px 0;z-index:1}
|
|
3899
|
+
.sg-flip{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:999px;background:var(--sg-raised);color:var(--sg-t90);cursor:pointer;transition:color 120ms ease}
|
|
3900
|
+
.sg-flip:hover:not(:disabled){color:var(--sg-accent)}
|
|
3901
|
+
.sg-flip:disabled{cursor:default}
|
|
3902
|
+
.sg-flip:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
|
|
3903
|
+
.sg-ft>.sg-flip-slot{position:absolute;left:50%;top:50%;width:0;margin:0}
|
|
3904
|
+
.sg-flip[data-small]{width:24px;height:24px}
|
|
3905
|
+
.sg-flip-rot{display:flex;transform:rotate(-90deg)}
|
|
3906
|
+
|
|
3907
|
+
/* detail buttons \u2014 Compliance, Quote */
|
|
3908
|
+
.sg-dbtn-row{display:flex;gap:4px;min-width:0}
|
|
3909
|
+
.sg-dbtn{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;height:48px;padding:0 11px;border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);background:var(--sg-bg);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color 120ms ease}
|
|
3910
|
+
.sg-dbtn[data-size="lg"]{flex:0 0 auto;width:100%}
|
|
3911
|
+
.sg-widget[data-sg-side] .sg-dbtn,.sg-overlay[data-sg-overlay="drawer"] .sg-dbtn{height:44px}
|
|
3912
|
+
.sg-dbtn:hover:not(:disabled){border-color:color-mix(in srgb,var(--sg-accent) 40%,var(--sg-border))}
|
|
3913
|
+
.sg-dbtn:disabled{cursor:default;opacity:.55}
|
|
3914
|
+
.sg-dbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
|
|
3915
|
+
.sg-dbtn-main{display:flex;align-items:center;gap:6px;min-width:0}
|
|
3916
|
+
.sg-dbtn-icon{display:flex;flex:0 0 auto;color:var(--sg-info)}
|
|
3917
|
+
.sg-dbtn-icon[data-tone="ok"]{color:var(--sg-success)}
|
|
3918
|
+
.sg-dbtn-icon[data-tone="warn"]{color:var(--sg-danger)}
|
|
3919
|
+
.sg-dbtn-icon[data-tone="muted"]{color:var(--sg-text-muted)}
|
|
3920
|
+
.sg-dbtn-label{font-size:13px;font-weight:500;line-height:16px;color:var(--sg-t80);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3921
|
+
.sg-dbtn-chev{display:flex;flex:0 0 auto;color:var(--sg-t80)}
|
|
3922
|
+
.sg-dpill{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:4px 8px;border-radius:var(--sg-pill-radius);font-size:11px;font-weight:500;line-height:1.2;white-space:nowrap}
|
|
3923
|
+
.sg-dpill[data-tone="ok"]{background:color-mix(in srgb,var(--sg-success) 6%,transparent);color:color-mix(in srgb,var(--sg-success) 80%,transparent)}
|
|
3924
|
+
.sg-dpill[data-tone="info"]{background:color-mix(in srgb,var(--sg-info) 8%,transparent);color:color-mix(in srgb,var(--sg-info) 80%,transparent)}
|
|
3925
|
+
.sg-widget[data-sg-mode="dark"] .sg-dpill[data-tone="info"]{background:color-mix(in srgb,var(--sg-info) 12%,transparent);color:var(--sg-info)}
|
|
3926
|
+
.sg-dpill[data-tone="warn"]{background:color-mix(in srgb,var(--sg-danger) 8%,transparent);color:var(--sg-danger)}
|
|
3927
|
+
.sg-dpill[data-tone="muted"]{background:color-mix(in srgb,var(--sg-text) 6%,transparent);color:var(--sg-text-muted)}
|
|
3928
|
+
|
|
3929
|
+
/* the rate box */
|
|
3930
|
+
.sg-rate{display:flex;flex-direction:column;gap:16px;padding:15px 11px;border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);background:var(--sg-bg)}
|
|
3931
|
+
.sg-rate-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
|
|
3932
|
+
.sg-rate-head:disabled{cursor:default}
|
|
3933
|
+
.sg-rate-head:focus-visible{outline:2px solid var(--sg-accent);outline-offset:4px;border-radius:6px}
|
|
3934
|
+
.sg-rate-line{display:flex;align-items:center;gap:4px;min-width:0;font-size:13px;font-weight:500;line-height:16px;color:var(--sg-t80);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3935
|
+
.sg-rate-chev{display:flex;flex:0 0 auto;color:var(--sg-t80)}
|
|
3936
|
+
.sg-rate-rows{margin:0;display:flex;flex-direction:column;gap:4px}
|
|
3937
|
+
.sg-rate-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:13px;line-height:1.4}
|
|
3938
|
+
.sg-rate-row dt{color:var(--sg-t60)}
|
|
3939
|
+
.sg-rate-row dd{margin:0;font-weight:500;color:var(--sg-t80);text-align:right}
|
|
3940
|
+
.sg-qs-facts .sg-cp-fact{grid-template-columns:104px minmax(0,1fr)}
|
|
3941
|
+
|
|
3942
|
+
/* the wide layout: the main card and the "You receive" side card */
|
|
3943
|
+
.sg-widget[data-sg-wide]{max-width:360px;padding:20px 12px}
|
|
3944
|
+
.sg-widget[data-sg-side]{max-width:280px;padding:20px 12px}
|
|
3945
|
+
@container (max-width:660px){.sg-widget[data-sg-wide],.sg-widget[data-sg-side]{max-width:380px}}
|
|
3946
|
+
.sg-side-body{display:flex;flex-direction:column;gap:16px}
|
|
3947
|
+
|
|
3948
|
+
/* a detail sheet opened in place of the card body fills it edge to edge */
|
|
3949
|
+
.sg-body>.sg-cp-sheet,.sg-widget[data-sg-side]>.sg-cp-sheet{padding:0;border:0;background:transparent}
|
|
3950
|
+
|
|
3951
|
+
/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
|
|
3952
|
+
variant="pill": one button that opens the card in a modal or a right-hand drawer. The overlay is
|
|
3953
|
+
position:fixed \u2014 it fills the viewport, or the nearest ancestor that establishes a containing
|
|
3954
|
+
block for fixed descendants (a transform), which is how a host confines it to one region.
|
|
3955
|
+
\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
|
|
3956
|
+
.sg-pill-root{width:100%;font-family:var(--sg-font);color:var(--sg-text)}
|
|
3957
|
+
.sg-pillbtn{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;border:0;border-radius:var(--sg-radius-cta);background:var(--sg-accent);color:var(--sg-accent-text);font:inherit;font-family:var(--sg-font);font-size:14px;line-height:1.2;cursor:pointer;transition:filter 120ms ease,transform 60ms ease}
|
|
3958
|
+
.sg-pillbtn:hover{filter:brightness(1.06)}
|
|
3959
|
+
.sg-pillbtn:active{transform:translateY(1px)}
|
|
3960
|
+
.sg-pillbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
|
|
3961
|
+
.sg-pillbtn-lead{display:inline-flex;align-items:center;gap:12px;min-width:0;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
3962
|
+
.sg-pillbtn-mark{flex:0 0 auto;display:block}
|
|
3963
|
+
.sg-pillbtn-amt{flex:0 0 auto;font-weight:700;white-space:nowrap}
|
|
3964
|
+
.sg-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;background:rgba(0,0,0,.2);animation:sg-fade-in var(--sg-motion-base) var(--sg-ease-out-soft) both}
|
|
3965
|
+
.sg-overlay[data-sg-overlay="modal"]{align-items:flex-start;justify-content:center;padding:48px 16px;overflow-y:auto}
|
|
3966
|
+
.sg-overlay[data-sg-overlay="drawer"]{align-items:stretch;justify-content:flex-end}
|
|
3967
|
+
.sg-overlay-scrim{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:default}
|
|
3968
|
+
.sg-dialog{position:relative;display:flex;width:100%;max-width:380px}
|
|
3969
|
+
.sg-dialog>.sg-widget{flex:1 1 auto}
|
|
3970
|
+
.sg-overlay[data-sg-overlay="modal"] .sg-dialog{animation:sg-scale-in var(--sg-motion-base) var(--sg-ease-out-soft) both}
|
|
3971
|
+
.sg-overlay[data-sg-overlay="drawer"] .sg-dialog{max-width:340px;height:100%;animation:sg-drawer-in var(--sg-motion-slow) var(--sg-ease-out-soft) both}
|
|
3972
|
+
.sg-overlay[data-sg-overlay="drawer"] .sg-widget{max-width:340px;height:100%;padding:20px 12px;border-radius:var(--sg-radius) 0 0 var(--sg-radius);display:flex;flex-direction:column;overflow-y:auto}
|
|
3973
|
+
.sg-overlay[data-sg-overlay="drawer"] .sg-body{flex:1 1 auto;display:flex;flex-direction:column}
|
|
3974
|
+
.sg-overlay[data-sg-overlay="drawer"] .sg-cta-wrap{margin-top:auto;padding-top:16px}
|
|
3975
|
+
.sg-overlay[data-sg-overlay="drawer"] .sg-pane--note{min-height:145px}
|
|
3976
|
+
@keyframes sg-drawer-in{from{transform:translateX(100%)}to{transform:none}}
|
|
3977
|
+
@media (prefers-reduced-motion:reduce){.sg-overlay,.sg-dialog{animation:none!important}.sg-pillbtn{transition:none}}
|
|
3788
3978
|
`;
|
|
3789
3979
|
var injected = false;
|
|
3790
3980
|
function injectStyles() {
|
|
@@ -3810,43 +4000,49 @@ var MOTION = {
|
|
|
3810
4000
|
easeInOut: "cubic-bezier(0.4,0,0.2,1)",
|
|
3811
4001
|
easeSpring: "cubic-bezier(0.34,1.56,0.64,1)"
|
|
3812
4002
|
};
|
|
4003
|
+
var FONT = "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif";
|
|
3813
4004
|
var lightTheme = {
|
|
3814
4005
|
mode: "light",
|
|
3815
4006
|
accent: "#4358e1",
|
|
3816
4007
|
accentText: "#ffffff",
|
|
3817
4008
|
bg: "#ffffff",
|
|
3818
|
-
surface: "#
|
|
3819
|
-
border: "#
|
|
3820
|
-
text: "#
|
|
3821
|
-
textMuted: "#
|
|
4009
|
+
surface: "#f7f8fe",
|
|
4010
|
+
border: "#e8ebfb",
|
|
4011
|
+
text: "#2c2d34",
|
|
4012
|
+
textMuted: "#959699",
|
|
3822
4013
|
danger: "#df1b41",
|
|
3823
|
-
success: "#
|
|
3824
|
-
radius: "
|
|
3825
|
-
radiusControl: "
|
|
3826
|
-
radiusCta: "
|
|
3827
|
-
font:
|
|
4014
|
+
success: "#2abd7d",
|
|
4015
|
+
radius: "24px",
|
|
4016
|
+
radiusControl: "24px",
|
|
4017
|
+
radiusCta: "24px",
|
|
4018
|
+
font: FONT,
|
|
4019
|
+
fontDisplay: `Benzin, ${FONT}`,
|
|
3828
4020
|
...MOTION
|
|
3829
4021
|
};
|
|
3830
4022
|
var darkTheme = {
|
|
3831
4023
|
mode: "dark",
|
|
3832
|
-
accent: "#
|
|
3833
|
-
accentText: "#
|
|
3834
|
-
bg: "#
|
|
3835
|
-
surface: "#
|
|
3836
|
-
border: "#
|
|
3837
|
-
text: "#
|
|
3838
|
-
textMuted: "#
|
|
4024
|
+
accent: "#4358e1",
|
|
4025
|
+
accentText: "#ffffff",
|
|
4026
|
+
bg: "#0e1115",
|
|
4027
|
+
surface: "#1b1d22",
|
|
4028
|
+
border: "#343541",
|
|
4029
|
+
text: "#ffffff",
|
|
4030
|
+
textMuted: "#87888a",
|
|
4031
|
+
info: "#8c9bff",
|
|
3839
4032
|
danger: "#ff5470",
|
|
3840
|
-
success: "#
|
|
3841
|
-
radius: "
|
|
3842
|
-
radiusControl: "
|
|
3843
|
-
radiusCta: "
|
|
3844
|
-
font:
|
|
4033
|
+
success: "#2abd7d",
|
|
4034
|
+
radius: "24px",
|
|
4035
|
+
radiusControl: "24px",
|
|
4036
|
+
radiusCta: "24px",
|
|
4037
|
+
font: FONT,
|
|
4038
|
+
fontDisplay: `Benzin, ${FONT}`,
|
|
3845
4039
|
...MOTION
|
|
3846
4040
|
};
|
|
3847
4041
|
function resolveTheme(theme) {
|
|
3848
4042
|
const base = theme?.mode === "dark" ? darkTheme : lightTheme;
|
|
3849
|
-
|
|
4043
|
+
const fontDisplay = theme?.fontDisplay || (theme?.font ? theme.font : base.fontDisplay);
|
|
4044
|
+
const info = theme?.info || (theme?.accent ? theme.accent : base.info);
|
|
4045
|
+
return { ...base, ...theme, fontDisplay, info };
|
|
3850
4046
|
}
|
|
3851
4047
|
function themeToVars(theme) {
|
|
3852
4048
|
return {
|
|
@@ -3857,12 +4053,14 @@ function themeToVars(theme) {
|
|
|
3857
4053
|
"--sg-border": theme.border,
|
|
3858
4054
|
"--sg-text": theme.text,
|
|
3859
4055
|
"--sg-text-muted": theme.textMuted,
|
|
4056
|
+
"--sg-info": theme.info || theme.accent,
|
|
3860
4057
|
"--sg-danger": theme.danger,
|
|
3861
4058
|
"--sg-success": theme.success,
|
|
3862
4059
|
"--sg-radius": theme.radius,
|
|
3863
4060
|
"--sg-radius-control": theme.radiusControl,
|
|
3864
4061
|
"--sg-radius-cta": theme.radiusCta,
|
|
3865
4062
|
"--sg-font": theme.font,
|
|
4063
|
+
"--sg-font-display": theme.fontDisplay || theme.font,
|
|
3866
4064
|
"--sg-motion-fast": theme.motionFast,
|
|
3867
4065
|
"--sg-motion-base": theme.motionBase,
|
|
3868
4066
|
"--sg-motion-slow": theme.motionSlow,
|
|
@@ -3911,37 +4109,6 @@ function BrandMark({ size = 18, mono = false, className, style, title }) {
|
|
|
3911
4109
|
}
|
|
3912
4110
|
);
|
|
3913
4111
|
}
|
|
3914
|
-
function LockGlyph() {
|
|
3915
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "11", height: "11", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
3916
|
-
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4", y: "11", width: "16", height: "10", rx: "2" }),
|
|
3917
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 11V8a4 4 0 0 1 8 0v3" })
|
|
3918
|
-
] });
|
|
3919
|
-
}
|
|
3920
|
-
function WidgetShell(props) {
|
|
3921
|
-
injectStyles();
|
|
3922
|
-
const resolved = resolveTheme(props.theme);
|
|
3923
|
-
const vars = themeToVars(resolved);
|
|
3924
|
-
const fixed = Number.isFinite(props.heightPx) && props.heightPx > 0;
|
|
3925
|
-
const style = fixed ? { ...vars, height: props.heightPx } : vars;
|
|
3926
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-widget", "data-sg-mode": resolved.mode, "data-sg-fixed": fixed || void 0, "data-sg-express": props.variant === "express" || void 0, style, children: [
|
|
3927
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head", children: [
|
|
3928
|
-
props.brandSlot ?? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-title", children: props.title }),
|
|
3929
|
-
props.walletSlot ?? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
|
|
3930
|
-
/* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
|
|
3931
|
-
"ZeroDelta"
|
|
3932
|
-
] })
|
|
3933
|
-
] }),
|
|
3934
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-body", children: props.children }),
|
|
3935
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-foot", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
3936
|
-
/* @__PURE__ */ jsxRuntime.jsx(LockGlyph, {}),
|
|
3937
|
-
" Your wallet signs every transaction \xB7 Powered by ZeroDelta"
|
|
3938
|
-
] }) })
|
|
3939
|
-
] });
|
|
3940
|
-
}
|
|
3941
|
-
function shortAddress2(a) {
|
|
3942
|
-
if (!a) return "";
|
|
3943
|
-
return `${a.slice(0, 6)}\u2026${a.slice(-4)}`;
|
|
3944
|
-
}
|
|
3945
4112
|
var SOURCE_CHAIN_LABELS = {
|
|
3946
4113
|
1: "Ethereum",
|
|
3947
4114
|
10: "Optimism",
|
|
@@ -4156,103 +4323,531 @@ function RouteList(props) {
|
|
|
4156
4323
|
] }) : null
|
|
4157
4324
|
] });
|
|
4158
4325
|
}
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
}
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4326
|
+
|
|
4327
|
+
// src/react/ui/chain-logos.ts
|
|
4328
|
+
var BUNDLED_CHAIN_LOGO = {
|
|
4329
|
+
1: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAADAFBMVEVMaXFbqvphfelifupWVv9vf/9ifulhfelifekAAOlifehHcMxifenJvMlES7cA//9ifulgfOhifetafOZifupif+xhdOVifelifetgfehhfephfepjf+5jgO1lgfFhfepifupjfexlgvJifuxhfuxhfepffOhif+5hf+tifepjgO9jge9ffOdjgO9jgO5if+5hfepifuthfeljfepjgexhfehVccZjge9jgO9jgO9Zd+Zkge9kgfFge+Zjge9if+1hfephfepifuxigO5ifupifupifuthfOpifutifuphfupif+xhfutjf+1dguBifehifutkge9kgfBlgfFhfephfelhfeptbdpkgfBkge9jgO5hfOllgvFdf+5hfepieuxhfephf+thfuphfuhfeeRhfelkgO1ifurAy/f///+Bl+5jf+q/yvf+/v9ceenBy/e8x/aCmO7f5Pv9/f9kgOphfepdeulkf+pffOnFz/hee+llgvJjf+x9lO3DzfiAlu6gsPK+yvdifupjfurBzPdYduhnhPVohffFz/dnhfdohvllgOpmg/Vlg/NkgfDEzve+yvdhfem9yfdbeOlohfhgfOpnhPZlgvFph/tmg/RkgO9mgepjgO27x/ZviOxphOvG0PeCl+79/v+Dme57ku3DzvfAy/dfe+m5xvZad+lYdumbrfJ/le5+lO28yPb+//+Fm++Zq/H8/P9aeOmUp/HCzPeywPXe5Pt9k+2PovCisvNwiux0je3L1fhzjOxlgfDz9v34+f6uvPS4xPZ4j+2er/K2w/WsuvRYden8/f/c4vt5ke20wvWgsfLH0fhifuzGz/iNofCot/OLn+9shuuKn++ntvPFzvh1j+zu8f2tvPTJ0/jU3PmIne+ktfNog+rf5fvZ4Prg5fuqufOjtPPs7/3m6/zw8/3Ez/j+/v7O1/n6+/6VqPGRpPBrheufsPLq7fy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EvmEWSPQi6HRe87+3xFpnToNdZOCv/2C5ORjEVMZvr702Zg6WFfvo/keBJwHtWT6UdC3pwbRf9Y0rxZTAIRNKF1vS3KAy0VCbwX2AG2fAcDr+E5Vb99Fnr/RqAvx6sbsF2+mMTHTSeN+1o3/NxFVV6B/3PfxxmV88l7THXgzqKihwrE7rnLORHZ/g4ycGGx21rzw48bGLr0fkob6D9rVBdbV5PCWszzSHzdC6hoC5D58AbUjs/jKQLX2XSMZPZFr7AJaNQYX893T9CXmL1GLw8X4wj1dorSPQjR1aOrSrtDYThjb+2P8bFAkruR1ThZ6Cg+5uskT+DvXcFmOr5mqaNmbY5cdT5+WGzZ/9JK+oLaW5/8c8YzqumsA1aNVpnBydyukY0aWcTrgK8hplzQFv8f4uAShBQIdqMhsX84fkCJiBpzO5aAulOMcPBaIbe85PJZwond6uJrXAC9atXmXqyirU18o85ZnjQzSgMIH1b/t7/l3bhi//VTF4HdB8xQv/LlLEOv55f7s71J12gJ94nfgB97A5hVbmnpp/XYp1d0uDDgmQ//cLfb2KBmzq4yQiLfrlxBPFZnEEkqETiXIxX/29sRiDlV1Hp2235BhcMHY7QSI8PETuoK6y/Lx80mYLVPi8YDYZmV3nLTuAxJminIxWMhcH301LYfcnWDt6HT6/A2OGOL4AMkznh8Z7fPT1pslBwzFMjba0y9diGuJgpW4Mwb8Oe2uMuELpmuPqE9cMCKzSZBKfGvqoP+qnhQ9rqblcn6kaaAAAAA=="
|
|
4338
|
+
};
|
|
4339
|
+
|
|
4340
|
+
// src/react/ui/logos.ts
|
|
4341
|
+
var BUNDLED_TOKEN_LOGO = {
|
|
4342
|
+
USDC: "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png",
|
|
4343
|
+
USDT: "https://coin-images.coingecko.com/coins/images/325/large/Tether.png",
|
|
4344
|
+
USDE: "https://coin-images.coingecko.com/coins/images/33613/large/usde.png",
|
|
4345
|
+
XAUT: "https://coin-images.coingecko.com/coins/images/10481/large/Tether_Gold.png",
|
|
4346
|
+
// 2026-09-08, with the dapp-parity asset expansion — the same four URLs the dapp draws
|
|
4347
|
+
// (zd-dapp/src/lib/tokenLogos.ts), so the two products show one picture per coin.
|
|
4348
|
+
USDTB: "https://coin-images.coingecko.com/coins/images/52804/large/76357aa8-4ef7-446c-bad3-a3f944eeec7a.jpeg",
|
|
4349
|
+
AUSD: "https://coin-images.coingecko.com/coins/images/39284/large/AUSD_1024px.png",
|
|
4350
|
+
PYUSD: "https://coin-images.coingecko.com/coins/images/31212/large/PYUSD_Token_Logo_2x.png",
|
|
4351
|
+
USDG: "https://coin-images.coingecko.com/coins/images/51281/large/GDN_USDG_Token_200x200.png",
|
|
4352
|
+
// The wider stable list, added 2026-09-08 with the RWA exchange.
|
|
4353
|
+
DAI: "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png",
|
|
4354
|
+
USDS: "https://coin-images.coingecko.com/coins/images/39926/large/usds.webp",
|
|
4355
|
+
RLUSD: "https://coin-images.coingecko.com/coins/images/39651/large/RLUSD_200x200_%281%29.png",
|
|
4356
|
+
USD1: "https://coin-images.coingecko.com/coins/images/54977/large/USD1_1000x1000_transparent.png",
|
|
4357
|
+
WM: "https://coin-images.coingecko.com/coins/images/50789/large/M.png"
|
|
4358
|
+
};
|
|
4359
|
+
function isHttpsUrl(u) {
|
|
4360
|
+
return typeof u === "string" && /^https:\/\//i.test(u);
|
|
4177
4361
|
}
|
|
4178
|
-
function
|
|
4179
|
-
return
|
|
4180
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "9.2", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "3 3" }),
|
|
4181
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.5 12h7", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
|
|
4182
|
-
] });
|
|
4362
|
+
function isSameOriginPath2(u) {
|
|
4363
|
+
return typeof u === "string" && u.startsWith("/") && !u.startsWith("//") && !u.startsWith("/\\");
|
|
4183
4364
|
}
|
|
4184
|
-
function
|
|
4185
|
-
return
|
|
4365
|
+
function isDisplayableImageSrc(u) {
|
|
4366
|
+
return isHttpsUrl(u) || isSameOriginPath2(u);
|
|
4186
4367
|
}
|
|
4187
|
-
function
|
|
4188
|
-
|
|
4368
|
+
function tokenLogoCandidates(symbol, logoUrl) {
|
|
4369
|
+
const out = [];
|
|
4370
|
+
if (isDisplayableImageSrc(logoUrl)) out.push(logoUrl);
|
|
4371
|
+
const bundled = BUNDLED_TOKEN_LOGO[symbolKey(symbol)];
|
|
4372
|
+
if (bundled && !out.includes(bundled)) out.push(bundled);
|
|
4373
|
+
return out;
|
|
4189
4374
|
}
|
|
4190
|
-
function
|
|
4191
|
-
|
|
4375
|
+
function chainLogoCandidates(chainId, logoUrl) {
|
|
4376
|
+
const out = [];
|
|
4377
|
+
if (isHttpsUrl(logoUrl)) out.push(logoUrl);
|
|
4378
|
+
const bundled = chainId === void 0 ? void 0 : BUNDLED_CHAIN_LOGO[Number(chainId)];
|
|
4379
|
+
if (bundled) out.push(bundled);
|
|
4380
|
+
return out;
|
|
4192
4381
|
}
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4382
|
+
var CHAIN_SHORT = {
|
|
4383
|
+
1: "ETH",
|
|
4384
|
+
10: "OP",
|
|
4385
|
+
130: "UNI",
|
|
4386
|
+
146: "SON",
|
|
4387
|
+
8453: "BASE",
|
|
4388
|
+
9745: "PLS",
|
|
4389
|
+
57073: "INK",
|
|
4390
|
+
42161: "ARB",
|
|
4391
|
+
98866: "PLM"
|
|
4392
|
+
};
|
|
4393
|
+
function chainBadge(chainId) {
|
|
4394
|
+
const pinned = CHAIN_SHORT[Number(chainId)];
|
|
4395
|
+
if (pinned) return pinned;
|
|
4396
|
+
const name = CHAIN_LABELS[Number(chainId)];
|
|
4397
|
+
return name ? name.replace(/[^A-Za-z]/g, "").slice(0, 3).toUpperCase() : "?";
|
|
4199
4398
|
}
|
|
4200
|
-
function
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4399
|
+
function TokenGlyph(props) {
|
|
4400
|
+
const [failed, setFailed] = react.useState([]);
|
|
4401
|
+
const src = tokenLogoCandidates(props.symbol, props.logoUrl).find((u) => !failed.includes(u));
|
|
4402
|
+
const mark = props.chainId ? chainLogoCandidates(props.chainId)[0] : void 0;
|
|
4403
|
+
let badge = null;
|
|
4404
|
+
if (props.chainId) badge = mark ? /* @__PURE__ */ jsxRuntime.jsx("img", { className: "sg-tok-badge", src: mark, alt: "" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-badge", children: chainBadge(props.chainId) });
|
|
4405
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tok", "data-size": props.size && props.size !== "md" ? props.size : void 0, children: [
|
|
4406
|
+
src ? /* @__PURE__ */ jsxRuntime.jsx("img", { className: "sg-tok-img", src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: props.symbol.slice(0, 4) }),
|
|
4407
|
+
badge
|
|
4204
4408
|
] });
|
|
4205
4409
|
}
|
|
4206
|
-
function
|
|
4207
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width:
|
|
4410
|
+
function ChevronGlyph() {
|
|
4411
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" }) });
|
|
4208
4412
|
}
|
|
4209
|
-
function
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4213
|
-
/* @__PURE__ */ jsxRuntime.
|
|
4413
|
+
function TokenTile(props) {
|
|
4414
|
+
const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
|
|
4415
|
+
const glyph = props.pick ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4416
|
+
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId, size: "tile" }),
|
|
4417
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tile-text", children: [
|
|
4418
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: shown }),
|
|
4419
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: CHAIN_LABELS[props.pick.chainId] || `Chain ${props.pick.chainId}` })
|
|
4420
|
+
] })
|
|
4421
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4422
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) }),
|
|
4423
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-empty", children: "Select\u2026" })
|
|
4424
|
+
] });
|
|
4425
|
+
const ariaLabel = `${props.label}: ${props.pick ? `${shown} on ${CHAIN_LABELS[props.pick.chainId] || props.pick.chainId}` : "select token"}`;
|
|
4426
|
+
if (props.row) {
|
|
4427
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
|
|
4428
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
|
|
4429
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: glyph }),
|
|
4430
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
|
|
4431
|
+
] });
|
|
4432
|
+
}
|
|
4433
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
|
|
4434
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
|
|
4435
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: glyph })
|
|
4214
4436
|
] });
|
|
4215
4437
|
}
|
|
4216
|
-
function
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
"
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
};
|
|
4229
|
-
|
|
4230
|
-
|
|
4438
|
+
function FundingTile(props) {
|
|
4439
|
+
const symbols = props.assets.map((asset) => asset.symbol);
|
|
4440
|
+
const summary = props.loading ? "Checking wallet assets\u2026" : symbols.length ? symbols.join(", ") : "No payable balance";
|
|
4441
|
+
const detail = props.loading ? "Finding what you can pay with" : symbols.length ? `${symbols.length} wallet asset${symbols.length === 1 ? "" : "s"} available` : "Open to review funding options";
|
|
4442
|
+
const ariaLabel = `${props.label}: ${props.loading ? "checking wallet assets" : symbols.length ? symbols.join(", ") : "no payable balance"}`;
|
|
4443
|
+
const glyphs = props.loading ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "\u2026" }) }) : symbols.length ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-funding-glyphs", "aria-hidden": "true", children: props.assets.slice(0, 3).map((asset) => /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: asset.symbol, logoUrl: asset.logoUrl, size: "sm" }, asset.symbol)) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) });
|
|
4444
|
+
const main = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4445
|
+
glyphs,
|
|
4446
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-funding-copy", children: [
|
|
4447
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: summary }),
|
|
4448
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: detail })
|
|
4449
|
+
] })
|
|
4450
|
+
] });
|
|
4451
|
+
if (props.row) {
|
|
4452
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
|
|
4453
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
|
|
4454
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: main }),
|
|
4455
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
|
|
4456
|
+
] });
|
|
4457
|
+
}
|
|
4458
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
|
|
4459
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
|
|
4460
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: main })
|
|
4461
|
+
] });
|
|
4231
4462
|
}
|
|
4232
|
-
function
|
|
4233
|
-
|
|
4234
|
-
|
|
4463
|
+
function ChainChip(props) {
|
|
4464
|
+
const [failed, setFailed] = react.useState([]);
|
|
4465
|
+
const src = chainLogoCandidates(props.chain?.chainId, props.chain?.logoUrl).find((u) => !failed.includes(u));
|
|
4466
|
+
const name = props.name ?? props.label;
|
|
4467
|
+
return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-chain-chip", "data-selected": props.selected, title: name, "aria-label": name, "aria-pressed": props.selected, onClick: props.onClick, children: src ? /* @__PURE__ */ jsxRuntime.jsx("img", { src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : props.label });
|
|
4235
4468
|
}
|
|
4236
|
-
function
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
/* @__PURE__ */ jsxRuntime.
|
|
4240
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-check-label", children: [
|
|
4241
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-mark", "data-ok": check.ok, children: check.ok ? /* @__PURE__ */ jsxRuntime.jsx(Tick, {}) : /* @__PURE__ */ jsxRuntime.jsx(Cross, {}) }),
|
|
4242
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
|
|
4243
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-sr-only", children: check.ok ? " \u2014 passed" : " \u2014 failed" })
|
|
4244
|
-
] }),
|
|
4245
|
-
check.id === "risk" ? /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-cp-link", onClick: onViewPolicy, children: [
|
|
4246
|
-
"View policy",
|
|
4247
|
-
/* @__PURE__ */ jsxRuntime.jsx(CornerArrow, {})
|
|
4248
|
-
] }) : null
|
|
4249
|
-
] }),
|
|
4250
|
-
check.note ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-note", children: check.note }) : null,
|
|
4251
|
-
check.reasons.map((reason) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-reason", children: humanizeComplianceReason(reason) }, reason))
|
|
4469
|
+
function SearchGlyph() {
|
|
4470
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", "aria-hidden": "true", children: [
|
|
4471
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "7" }),
|
|
4472
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m20 20-3.5-3.5" })
|
|
4252
4473
|
] });
|
|
4253
4474
|
}
|
|
4254
|
-
function
|
|
4255
|
-
|
|
4475
|
+
function BackGlyph() {
|
|
4476
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
4477
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12H5" }),
|
|
4478
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-7-7 7-7" })
|
|
4479
|
+
] });
|
|
4480
|
+
}
|
|
4481
|
+
function TokenSelect(props) {
|
|
4482
|
+
const [chainFilter, setChainFilter] = react.useState(null);
|
|
4483
|
+
const [query, setQuery] = react.useState("");
|
|
4484
|
+
const rows = react.useMemo(() => {
|
|
4485
|
+
const q = query.trim().toLowerCase();
|
|
4486
|
+
const filtered = props.tokens.filter((t) => chainFilter == null ? true : Number(t.chainId) === chainFilter).filter((t) => {
|
|
4487
|
+
if (!q) return true;
|
|
4488
|
+
return String(t.symbol || "").toLowerCase().includes(q) || // The chain's own ticker too, with `₮` read as `T`: "usdt0" finds USD₮0.
|
|
4489
|
+
foldTicker(tokenTicker(t)).includes(foldTicker(q)) || String(t.name || "").toLowerCase().includes(q) || String(t.address || "").toLowerCase().includes(q) || // Chain name too (2026-09-08): with ~37 destination chains most have no bundled mark and
|
|
4490
|
+
// show a three-letter badge, so "Katana" or "Berachain" has to be findable by typing it.
|
|
4491
|
+
String(CHAIN_LABELS[Number(t.chainId)] || "").toLowerCase().includes(q);
|
|
4492
|
+
});
|
|
4493
|
+
if (!props.balances) return filtered;
|
|
4494
|
+
const balNum = (t) => {
|
|
4495
|
+
const n = Number(props.balances?.[`${Number(t.chainId)}:${String(t.address || "").toLowerCase()}`]?.formatted);
|
|
4496
|
+
return Number.isFinite(n) ? n : 0;
|
|
4497
|
+
};
|
|
4498
|
+
return [...filtered].sort((a, b) => balNum(b) - balNum(a));
|
|
4499
|
+
}, [props.tokens, chainFilter, query, props.balances]);
|
|
4500
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
4501
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-sel-head", children: [
|
|
4502
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-back", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ jsxRuntime.jsx(BackGlyph, {}) }),
|
|
4503
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-title", children: props.title })
|
|
4504
|
+
] }),
|
|
4505
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-chain-grid", "data-scroll": props.chains.length > 14 ? void 0 : "false", role: "group", "aria-label": "Filter by chain", children: [
|
|
4506
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChainChip, { label: "All", selected: chainFilter == null, onClick: () => setChainFilter(null) }),
|
|
4507
|
+
props.chains.map((c) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4508
|
+
ChainChip,
|
|
4509
|
+
{
|
|
4510
|
+
chain: c,
|
|
4511
|
+
label: chainBadge(Number(c.chainId)),
|
|
4512
|
+
name: CHAIN_LABELS[Number(c.chainId)] || c.displayName || c.name || `Chain ${c.chainId}`,
|
|
4513
|
+
selected: chainFilter === Number(c.chainId),
|
|
4514
|
+
onClick: () => setChainFilter(Number(c.chainId))
|
|
4515
|
+
},
|
|
4516
|
+
c.chainId
|
|
4517
|
+
))
|
|
4518
|
+
] }),
|
|
4519
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-search", children: [
|
|
4520
|
+
/* @__PURE__ */ jsxRuntime.jsx(SearchGlyph, {}),
|
|
4521
|
+
/* @__PURE__ */ jsxRuntime.jsx("input", { autoFocus: true, placeholder: "Search by token, network or address", value: query, onChange: (e) => setQuery(e.target.value), spellCheck: false, "aria-label": "Search by token, network or address" })
|
|
4522
|
+
] }),
|
|
4523
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-toklist", role: "group", "aria-label": props.title, children: rows.length ? rows.map((t) => {
|
|
4524
|
+
const chainId = Number(t.chainId);
|
|
4525
|
+
const key = `${chainId}:${String(t.address || "").toLowerCase()}`;
|
|
4526
|
+
const bal = props.balances?.[key];
|
|
4527
|
+
const st = props.optionStates?.[key];
|
|
4528
|
+
const disabled = !!st?.disabled;
|
|
4529
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4530
|
+
"button",
|
|
4531
|
+
{
|
|
4532
|
+
type: "button",
|
|
4533
|
+
className: `sg-tokrow${disabled ? " sg-tokrow--off" : ""}`,
|
|
4534
|
+
disabled,
|
|
4535
|
+
"aria-disabled": disabled || void 0,
|
|
4536
|
+
"data-disabled": disabled || void 0,
|
|
4537
|
+
onClick: disabled ? void 0 : () => props.onPick({ chainId, symbol: t.symbol }),
|
|
4538
|
+
children: [
|
|
4539
|
+
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
|
|
4540
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-main", children: [
|
|
4541
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
|
|
4542
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
|
|
4543
|
+
] }),
|
|
4544
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-end", children: [
|
|
4545
|
+
bal ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-bal sg-mono", children: bal.formatted }) : null,
|
|
4546
|
+
st?.hint ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-hint", "data-tone": disabled ? void 0 : "note", children: st.hint }) : null,
|
|
4547
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-chain", children: CHAIN_LABELS[chainId] || `Chain ${chainId}` })
|
|
4548
|
+
] })
|
|
4549
|
+
]
|
|
4550
|
+
},
|
|
4551
|
+
`${chainId}:${t.address}`
|
|
4552
|
+
);
|
|
4553
|
+
}) : props.loading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-empty", children: "Loading the token list\u2026" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-empty", children: "No tokens match \u2014 try another chain or search." }) })
|
|
4554
|
+
] });
|
|
4555
|
+
}
|
|
4556
|
+
function ChevronRight({ size = 16 }) {
|
|
4557
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 4l4 4-4 4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4558
|
+
}
|
|
4559
|
+
function ChevronDown({ size = 16, up = false }) {
|
|
4560
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", style: up ? { transform: "scaleY(-1)" } : void 0, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 6l4 4 4-4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4561
|
+
}
|
|
4562
|
+
function PillChevron() {
|
|
4563
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "5", height: "10", viewBox: "0 0 5 10", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0.5 9l3-3-3-3", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4564
|
+
}
|
|
4565
|
+
function ArrowDown({ size = 16 }) {
|
|
4566
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
|
|
4567
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 3.333v9.334", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
4568
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12.667 8L8 12.667 3.333 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
4569
|
+
] });
|
|
4570
|
+
}
|
|
4571
|
+
function CloseGlyph() {
|
|
4572
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 6L6 18M6 6l12 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4573
|
+
}
|
|
4574
|
+
function ShieldTickGlyph({ size = 16 }) {
|
|
4575
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4576
|
+
"path",
|
|
4577
|
+
{
|
|
4578
|
+
d: "M10.815 2.403 7.607 1.202c-.333-.123-.875-.123-1.208 0L3.191 2.403c-.619.234-1.12.957-1.12 1.616v4.725c0 .473.309 1.097.688 1.377l3.208 2.397c.566.426 1.494.426 2.06 0l3.208-2.397c.379-.286.688-.904.688-1.377V4.019c.006-.659-.496-1.382-1.108-1.616ZM9.03 5.67 6.522 8.178a.436.436 0 0 1-.31.129.436.436 0 0 1-.31-.129l-.932-.945a.442.442 0 0 1 0-.618.442.442 0 0 1 .618 0l.63.63 2.2-2.2a.442.442 0 0 1 .618 0c.169.17.169.455-.006.625Z",
|
|
4579
|
+
fill: "currentColor"
|
|
4580
|
+
}
|
|
4581
|
+
) });
|
|
4582
|
+
}
|
|
4583
|
+
function QuoteGlyph({ size = 16 }) {
|
|
4584
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
|
|
4585
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4586
|
+
"path",
|
|
4587
|
+
{
|
|
4588
|
+
d: "M5.667 12A1.667 1.667 0 0 1 4 10.333v-5H2.667c-.734 0-1.334.6-1.334 1.334v6.666c0 .734.6 1.334 1.334 1.334h6.666c.734 0 1.334-.6 1.334-1.334V12H5.667Z",
|
|
4589
|
+
fill: "currentColor"
|
|
4590
|
+
}
|
|
4591
|
+
),
|
|
4592
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4593
|
+
"path",
|
|
4594
|
+
{
|
|
4595
|
+
d: "M13.333 1.333H6.667c-.734 0-1.334.6-1.334 1.334v6.666c0 .734.6 1.334 1.334 1.334h6.666c.734 0 1.334-.6 1.334-1.334V2.667c0-.734-.6-1.334-1.334-1.334ZM12.667 8H7.333V6.667h5.334V8Zm0-2.667H7.333V4h5.334v1.333Z",
|
|
4596
|
+
fill: "currentColor"
|
|
4597
|
+
}
|
|
4598
|
+
)
|
|
4599
|
+
] });
|
|
4600
|
+
}
|
|
4601
|
+
function AmountText({ value, suffix }) {
|
|
4602
|
+
const dot = value.indexOf(".");
|
|
4603
|
+
const whole = dot < 0 ? value : value.slice(0, dot + 1);
|
|
4604
|
+
const decimals = dot < 0 ? "" : value.slice(dot + 1);
|
|
4605
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-amt", children: [
|
|
4606
|
+
whole,
|
|
4607
|
+
decimals ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-dec", children: decimals }) : null,
|
|
4608
|
+
suffix ? ` ${suffix}` : null
|
|
4609
|
+
] });
|
|
4610
|
+
}
|
|
4611
|
+
function usdOf(amount, price) {
|
|
4612
|
+
const n = typeof amount === "number" ? amount : Number(amount);
|
|
4613
|
+
if (!Number.isFinite(n) || n <= 0 || price === void 0 || !Number.isFinite(price) || price <= 0) return null;
|
|
4614
|
+
const usd2 = n * price;
|
|
4615
|
+
return `$ ${usd2 < 0.01 ? "<0.01" : usd2.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`;
|
|
4616
|
+
}
|
|
4617
|
+
function shortBalance(formatted) {
|
|
4618
|
+
const [whole, frac = ""] = String(formatted).split(".");
|
|
4619
|
+
const cut = frac.slice(0, 4).replace(/0+$/, "");
|
|
4620
|
+
return cut ? `${whole}.${cut}` : whole;
|
|
4621
|
+
}
|
|
4622
|
+
function durationLabel(seconds) {
|
|
4623
|
+
const s = Number(seconds);
|
|
4624
|
+
if (!Number.isFinite(s) || s <= 0) return null;
|
|
4625
|
+
if (s < 90) return `~${Math.max(1, Math.round(s))} sec`;
|
|
4626
|
+
if (s < 90 * 60) return `~${Math.round(s / 60)} min`;
|
|
4627
|
+
return `~${Math.round(s / 3600)} h`;
|
|
4628
|
+
}
|
|
4629
|
+
function TokenButton(props) {
|
|
4630
|
+
const shown = props.token ? tokenTicker(props.token) : props.symbol ?? "";
|
|
4631
|
+
const chain = props.chainId ? CHAIN_LABELS[props.chainId] || `Chain ${props.chainId}` : "";
|
|
4632
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4633
|
+
"button",
|
|
4634
|
+
{
|
|
4635
|
+
type: "button",
|
|
4636
|
+
ref: props.btnRef,
|
|
4637
|
+
className: "sg-tokbtn",
|
|
4638
|
+
disabled: props.disabled,
|
|
4639
|
+
onClick: props.onClick,
|
|
4640
|
+
"aria-label": `${props.label}: ${props.symbol ? `${shown} on ${chain}` : "select token"}`,
|
|
4641
|
+
children: [
|
|
4642
|
+
props.symbol && props.chainId ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4643
|
+
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.symbol, logoUrl: props.token?.logoUrl, chainId: props.chainId, size: "xs" }),
|
|
4644
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokbtn-text", children: [
|
|
4645
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-sym", children: shown }),
|
|
4646
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-chain", children: chain })
|
|
4647
|
+
] })
|
|
4648
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-text", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-sym", children: "Select" }) }),
|
|
4649
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRight, {}) })
|
|
4650
|
+
]
|
|
4651
|
+
}
|
|
4652
|
+
);
|
|
4653
|
+
}
|
|
4654
|
+
function FlipButton(props) {
|
|
4655
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-flip-slot", children: /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-flip", "data-small": props.small || void 0, onClick: props.onClick, disabled: props.disabled, "aria-label": "Swap source and destination", children: props.small ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-flip-rot", children: /* @__PURE__ */ jsxRuntime.jsx(ArrowDown, { size: 12 }) }) : /* @__PURE__ */ jsxRuntime.jsx(ArrowDown, {}) }) });
|
|
4656
|
+
}
|
|
4657
|
+
function DetailButton(props) {
|
|
4658
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4659
|
+
"button",
|
|
4660
|
+
{
|
|
4661
|
+
type: "button",
|
|
4662
|
+
ref: props.btnRef,
|
|
4663
|
+
className: "sg-dbtn",
|
|
4664
|
+
"data-size": props.size === "lg" ? "lg" : void 0,
|
|
4665
|
+
onClick: props.onClick,
|
|
4666
|
+
disabled: props.disabled,
|
|
4667
|
+
"aria-haspopup": "dialog",
|
|
4668
|
+
children: [
|
|
4669
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-dbtn-main", children: [
|
|
4670
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-icon", "data-tone": props.iconTone ?? "info", children: props.icon }),
|
|
4671
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-label", children: props.label })
|
|
4672
|
+
] }),
|
|
4673
|
+
props.badge ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-dpill", "data-tone": props.badge.tone, children: [
|
|
4674
|
+
props.badge.text,
|
|
4675
|
+
/* @__PURE__ */ jsxRuntime.jsx(PillChevron, {})
|
|
4676
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRight, {}) })
|
|
4677
|
+
]
|
|
4678
|
+
}
|
|
4679
|
+
);
|
|
4680
|
+
}
|
|
4681
|
+
function RateBox(props) {
|
|
4682
|
+
const [open, setOpen] = react.useState(!!props.defaultOpen);
|
|
4683
|
+
const rows = props.rows.length ? /* @__PURE__ */ jsxRuntime.jsx("dl", { className: "sg-rate-rows", children: props.rows.map((r) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-rate-row", children: [
|
|
4684
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { children: r.label }),
|
|
4685
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { children: r.value })
|
|
4686
|
+
] }, r.label)) }) : null;
|
|
4687
|
+
if (props.rowsOnly) return rows ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-rate", children: rows }) : null;
|
|
4688
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-rate", "data-open": open || void 0, children: [
|
|
4689
|
+
/* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-rate-head", onClick: () => setOpen((o) => !o), "aria-expanded": open, disabled: !props.rows.length, children: [
|
|
4690
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-rate-line", children: [
|
|
4691
|
+
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.fromSymbol, logoUrl: props.fromLogoUrl, size: "xxs" }),
|
|
4692
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-mono", children: props.rate ? `= ${props.rate} ${props.toTicker}` : "Rate appears with a quote" })
|
|
4693
|
+
] }),
|
|
4694
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-rate-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDown, { up: open }) })
|
|
4695
|
+
] }),
|
|
4696
|
+
open ? rows : null
|
|
4697
|
+
] });
|
|
4698
|
+
}
|
|
4699
|
+
function PoweredBy() {
|
|
4700
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-foot", children: [
|
|
4701
|
+
/* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 17, className: "sg-foot-mark" }),
|
|
4702
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Powered by ZeroDelta" })
|
|
4703
|
+
] });
|
|
4704
|
+
}
|
|
4705
|
+
function PaneFoot(props) {
|
|
4706
|
+
if (!props.usd && !props.balance) return null;
|
|
4707
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-foot", children: [
|
|
4708
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: props.usd ?? "" }),
|
|
4709
|
+
props.balance ? /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
4710
|
+
"Balance ",
|
|
4711
|
+
/* @__PURE__ */ jsxRuntime.jsx("b", { className: "sg-mono", children: props.balance })
|
|
4712
|
+
] }) : null
|
|
4713
|
+
] });
|
|
4714
|
+
}
|
|
4715
|
+
function WidgetShell(props) {
|
|
4716
|
+
injectStyles();
|
|
4717
|
+
const resolved = resolveTheme(props.theme);
|
|
4718
|
+
const vars = themeToVars(resolved);
|
|
4719
|
+
const fixed = Number.isFinite(props.heightPx) && props.heightPx > 0;
|
|
4720
|
+
const style = fixed ? { ...vars, height: props.heightPx } : vars;
|
|
4721
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4722
|
+
"div",
|
|
4723
|
+
{
|
|
4724
|
+
className: "sg-widget",
|
|
4725
|
+
"data-sg-mode": resolved.mode,
|
|
4726
|
+
"data-sg-fixed": fixed || void 0,
|
|
4727
|
+
"data-sg-express": props.variant === "express" || void 0,
|
|
4728
|
+
"data-sg-wide": props.wide || void 0,
|
|
4729
|
+
style,
|
|
4730
|
+
children: [
|
|
4731
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head", children: [
|
|
4732
|
+
props.brandSlot ?? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-title", children: props.title }),
|
|
4733
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-end", children: [
|
|
4734
|
+
props.walletSlot ?? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
|
|
4735
|
+
/* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
|
|
4736
|
+
"ZeroDelta"
|
|
4737
|
+
] }),
|
|
4738
|
+
props.onClose ? (
|
|
4739
|
+
// type="button": a host page may wrap the widget in a <form>.
|
|
4740
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-close", onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ jsxRuntime.jsx(CloseGlyph, {}) })
|
|
4741
|
+
) : null
|
|
4742
|
+
] })
|
|
4743
|
+
] }),
|
|
4744
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-body", children: props.children }),
|
|
4745
|
+
/* @__PURE__ */ jsxRuntime.jsx(PoweredBy, {})
|
|
4746
|
+
]
|
|
4747
|
+
}
|
|
4748
|
+
);
|
|
4749
|
+
}
|
|
4750
|
+
function shortAddress2(a) {
|
|
4751
|
+
if (!a) return "";
|
|
4752
|
+
return `${a.slice(0, 6)}\u2026${a.slice(-4)}`;
|
|
4753
|
+
}
|
|
4754
|
+
function ShieldTick({ size = 16 }) {
|
|
4755
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
4756
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", fill: "currentColor", opacity: ".14" }),
|
|
4757
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", stroke: "currentColor", strokeWidth: "1.6", strokeLinejoin: "round" }),
|
|
4758
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m8.6 11.9 2.3 2.3 4.5-4.5", stroke: "currentColor", strokeWidth: "1.9", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
4759
|
+
] });
|
|
4760
|
+
}
|
|
4761
|
+
function TickCircle({ size = 16 }) {
|
|
4762
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
4763
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
|
|
4764
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m7.8 12.2 2.7 2.7 5.7-5.8", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
4765
|
+
] });
|
|
4766
|
+
}
|
|
4767
|
+
function CloseCircle({ size = 16 }) {
|
|
4768
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
4769
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
|
|
4770
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m8.7 8.7 6.6 6.6M15.3 8.7l-6.6 6.6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" })
|
|
4771
|
+
] });
|
|
4772
|
+
}
|
|
4773
|
+
function PendingCircle({ size = 16 }) {
|
|
4774
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
4775
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "9.2", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "3 3" }),
|
|
4776
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.5 12h7", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
|
|
4777
|
+
] });
|
|
4778
|
+
}
|
|
4779
|
+
function Tick({ size = 12 }) {
|
|
4780
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m4.5 12.8 5 5L19.5 6.5", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4781
|
+
}
|
|
4782
|
+
function Cross({ size = 12 }) {
|
|
4783
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m5.5 5.5 13 13M18.5 5.5l-13 13", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round" }) });
|
|
4784
|
+
}
|
|
4785
|
+
function Chevron({ size = 16 }) {
|
|
4786
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 5 7 7-7 7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4787
|
+
}
|
|
4788
|
+
function Info({ size = 16 }) {
|
|
4789
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
4790
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
|
|
4791
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 10.6v6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" }),
|
|
4792
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "7.6", r: "1.25", fill: "var(--sg-bg)" })
|
|
4793
|
+
] });
|
|
4794
|
+
}
|
|
4795
|
+
function Lock({ size = 16 }) {
|
|
4796
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
4797
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4.5", y: "10.5", width: "15", height: "9.5", rx: "2.2", stroke: "currentColor", strokeWidth: "1.7" }),
|
|
4798
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 10.5V7.8a4 4 0 0 1 8 0v2.7", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round" })
|
|
4799
|
+
] });
|
|
4800
|
+
}
|
|
4801
|
+
function ShieldOutline({ size = 16 }) {
|
|
4802
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.5 4.5 5.5v6c0 4.4 3.1 8.5 7.5 10 4.4-1.5 7.5-5.6 7.5-10v-6L12 2.5Z", stroke: "currentColor", strokeWidth: "1.7", strokeLinejoin: "round" }) });
|
|
4803
|
+
}
|
|
4804
|
+
function WarningFilled({ size = 16 }) {
|
|
4805
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
4806
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 3.2 21.4 19.4H2.6L12 3.2Z", fill: "currentColor" }),
|
|
4807
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 9.4v4.3", stroke: "var(--sg-bg)", strokeWidth: "1.9", strokeLinecap: "round" }),
|
|
4808
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "16.4", r: "1.05", fill: "var(--sg-bg)" })
|
|
4809
|
+
] });
|
|
4810
|
+
}
|
|
4811
|
+
function CornerArrow({ size = 12 }) {
|
|
4812
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 17 17 7M9 7h8v8", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
4813
|
+
}
|
|
4814
|
+
var POLICY_GLYPH = {
|
|
4815
|
+
"always-blocked": Lock,
|
|
4816
|
+
blocked: ShieldOutline,
|
|
4817
|
+
flagged: WarningFilled
|
|
4818
|
+
};
|
|
4819
|
+
var POLICY_DETAIL = {
|
|
4820
|
+
"always-blocked": "Cannot be changed or disabled",
|
|
4821
|
+
blocked: "Stops the payment",
|
|
4822
|
+
flagged: "Does not automatically block"
|
|
4823
|
+
};
|
|
4824
|
+
function shortAddr(a) {
|
|
4825
|
+
return a.length > 14 ? `${a.slice(0, 6)}\u2026${a.slice(-4)}` : a;
|
|
4826
|
+
}
|
|
4827
|
+
function TriggerGlyph({ cv }) {
|
|
4828
|
+
if (cv.tone === "blocked" || cv.tone === "warn") return /* @__PURE__ */ jsxRuntime.jsx(CloseCircle, {});
|
|
4829
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ShieldTick, {});
|
|
4830
|
+
}
|
|
4831
|
+
function CheckRow({ check, onViewPolicy }) {
|
|
4832
|
+
const label = check.id === "risk" ? check.ok ? "Risk screening passed" : "Risk screening failed" : check.label;
|
|
4833
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sg-cp-check", "data-ok": check.ok, children: [
|
|
4834
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-check-head", children: [
|
|
4835
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-check-label", children: [
|
|
4836
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-mark", "data-ok": check.ok, children: check.ok ? /* @__PURE__ */ jsxRuntime.jsx(Tick, {}) : /* @__PURE__ */ jsxRuntime.jsx(Cross, {}) }),
|
|
4837
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
|
|
4838
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-sr-only", children: check.ok ? " \u2014 passed" : " \u2014 failed" })
|
|
4839
|
+
] }),
|
|
4840
|
+
check.id === "risk" ? /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-cp-link", onClick: onViewPolicy, children: [
|
|
4841
|
+
"View policy",
|
|
4842
|
+
/* @__PURE__ */ jsxRuntime.jsx(CornerArrow, {})
|
|
4843
|
+
] }) : null
|
|
4844
|
+
] }),
|
|
4845
|
+
check.note ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-note", children: check.note }) : null,
|
|
4846
|
+
check.reasons.map((reason) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-reason", children: humanizeComplianceReason(reason) }, reason))
|
|
4847
|
+
] });
|
|
4848
|
+
}
|
|
4849
|
+
function QuoteChecks({
|
|
4850
|
+
compliance,
|
|
4256
4851
|
cv,
|
|
4257
4852
|
checks,
|
|
4258
4853
|
direct,
|
|
@@ -4350,287 +4945,72 @@ function ScreeningPolicy({ compliance }) {
|
|
|
4350
4945
|
}) })
|
|
4351
4946
|
] });
|
|
4352
4947
|
}
|
|
4353
|
-
function
|
|
4354
|
-
|
|
4355
|
-
const
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
const allChecks = complianceChecks(compliance, cv);
|
|
4361
|
-
const checks = props.direct ? allChecks.filter((c) => DIRECT_CHECK_IDS.includes(c.id)) : allChecks;
|
|
4362
|
-
const tag = complianceTagOf(compliance);
|
|
4363
|
-
react.useEffect(() => {
|
|
4364
|
-
if (!open) return;
|
|
4365
|
-
sheetRef.current?.focus();
|
|
4366
|
-
const onKey = (e) => {
|
|
4367
|
-
if (e.key === "Escape") {
|
|
4368
|
-
e.stopPropagation();
|
|
4369
|
-
setOpen(false);
|
|
4370
|
-
triggerRef.current?.focus();
|
|
4371
|
-
}
|
|
4372
|
-
};
|
|
4373
|
-
document.addEventListener("keydown", onKey, true);
|
|
4374
|
-
return () => document.removeEventListener("keydown", onKey, true);
|
|
4375
|
-
}, [open]);
|
|
4376
|
-
const close = () => {
|
|
4377
|
-
setOpen(false);
|
|
4378
|
-
triggerRef.current?.focus();
|
|
4379
|
-
};
|
|
4380
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp", "data-tone": cv.tone, children: [
|
|
4381
|
-
open ? null : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4382
|
-
/* @__PURE__ */ jsxRuntime.jsxs("button", { ref: triggerRef, type: "button", className: "sg-cp-row", "data-tone": cv.tone, onClick: () => setOpen(true), "aria-haspopup": "dialog", children: [
|
|
4383
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-row-main", children: [
|
|
4384
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-glyph", children: /* @__PURE__ */ jsxRuntime.jsx(TriggerGlyph, { cv }) }),
|
|
4385
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-label", children: cv.label })
|
|
4386
|
-
] }),
|
|
4387
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-chev", children: /* @__PURE__ */ jsxRuntime.jsx(Chevron, {}) })
|
|
4388
|
-
] }),
|
|
4389
|
-
(cv.blocked || cv.needsAction) && tag ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-tag sg-mono", children: tag }) : null
|
|
4390
|
-
] }),
|
|
4391
|
-
open ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Compliance details", ref: sheetRef, tabIndex: -1, children: [
|
|
4392
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
|
|
4393
|
-
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Compliance details" }),
|
|
4394
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-cp-close", onClick: close, "aria-label": "Close compliance details", children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
|
|
4395
|
-
] }),
|
|
4396
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-tabs", role: "tablist", "aria-label": "Compliance details sections", children: [
|
|
4397
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", role: "tab", "aria-selected": tab === "checks", "data-active": tab === "checks", className: "sg-cp-tab", onClick: () => setTab("checks"), children: "Quote checks" }),
|
|
4398
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", role: "tab", "aria-selected": tab === "policy", "data-active": tab === "policy", className: "sg-cp-tab", onClick: () => setTab("policy"), children: "Screening policy" })
|
|
4399
|
-
] }),
|
|
4400
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cp-sheet-body", children: tab === "checks" ? /* @__PURE__ */ jsxRuntime.jsx(QuoteChecks, { compliance, cv, checks, direct: !!props.direct, onViewPolicy: () => setTab("policy") }) : /* @__PURE__ */ jsxRuntime.jsx(ScreeningPolicy, { compliance }) })
|
|
4401
|
-
] }) : null
|
|
4402
|
-
] });
|
|
4403
|
-
}
|
|
4404
|
-
|
|
4405
|
-
// src/react/ui/chain-logos.ts
|
|
4406
|
-
var BUNDLED_CHAIN_LOGO = {
|
|
4407
|
-
1: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAADAFBMVEVMaXFbqvphfelifupWVv9vf/9ifulhfelifekAAOlifehHcMxifenJvMlES7cA//9ifulgfOhifetafOZifupif+xhdOVifelifetgfehhfephfepjf+5jgO1lgfFhfepifupjfexlgvJifuxhfuxhfepffOhif+5hf+tifepjgO9jge9ffOdjgO9jgO5if+5hfepifuthfeljfepjgexhfehVccZjge9jgO9jgO9Zd+Zkge9kgfFge+Zjge9if+1hfephfepifuxigO5ifupifupifuthfOpifutifuphfupif+xhfutjf+1dguBifehifutkge9kgfBlgfFhfephfelhfeptbdpkgfBkge9jgO5hfOllgvFdf+5hfepieuxhfephf+thfuphfuhfeeRhfelkgO1ifurAy/f///+Bl+5jf+q/yvf+/v9ceenBy/e8x/aCmO7f5Pv9/f9kgOphfepdeulkf+pffOnFz/hee+llgvJjf+x9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: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAADAFBMVEX+BCD+Ax78///+BCH/AyD9///8BSH////+///9BCD9BSD+BiL/ByL//P78BB/8/f7//v7/BSL/BST//v7/AR3/BiD8BR38BR/6BSL/Ax79BSL+/v//AyL+ABr9AyH//v/9BB/+ByT9//30ABP8/v/9//79/f78BiP+//78+vz8/Pv8/vz6///9+/z7/P37//73ABX5Bh/5///++v32ABT+ARz+AiH9/v/9BB38Ah37/////fz7/PzuAhz/CCX9Byf9/fz/+/71ABfqKUD7AR76Bh/7Ahr8ABn9/fv6ABT8+vj8//v6/fv///7+ABb//fv5/Pf/+/z6ABb8CCT9+vr4ABX6+/35ABjvABb9+PzyCiX9/Pj26ev4BiL9CCHpBB7xABj7CCL6+PvpbHv7/Pb++vvuDyn5//z8ABTxABX5ARzkDSf12t738PH6+vn7/PnzABjztL3xW2/mGC/nfIvsAhvqm6TrESv1ABr8ABbte4j33+HjLEP13uX2ABD56e3tBB/xAh3wvMLupK3sj5/sCCT88fT49PLsIj7+//z6/v74ABL+BCb++/rvqLLwABHnHzb1usL55ursDyj51t3pEy31Ax734eT3///wFjLz2drwYG/oM0jww8jqNk/35eXsTWD50tb8DCfzAA7xbH3qGTLrHDX57/DsVmv0o6/wU2rmOk/zzdHrP1PvrrX2393pipfeGzLnDCTnLEXvf4zidILrMEf++//0vsb89fXjSlrwFCvmhZDkl573WWr6AAz0QFjum6fpc4DpVWboPVTxuMDqABbrqrLjoKbwdIX0FDPusrj2xcrqZXX49ff7ABL20NXjipX1DCToJDn4/f7sb4LthJL2ydH47e7qdYb66efsNUvth4/jHzbpSlzvJz/tLkPzoar17Ov3JkLslZ36ys/4U2bzSmD0Z3nqXHL21dLgMkvjaXPgBSL4gpHwk535Hzz3lZ73+fflXm3pkZ/v0NjiQVP51NnrhpjuSFfsGCz3rLXtAAb4ZXnmjZf+BB/P8/DwAAAACXBIWXMAAAsSAAALEgHS3X78AAANaElEQVR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K6y/Lx80mYLVPi8YDYZmV3nLTuAxJminIxWMhcH301LYfcnWDt6HT6/A2OGOL4AMkznh8Z7fPT1pslBwzFMjba0y9diGuJgpW4Mwb8Oe2uMuELpmuPqE9cMCKzSZBKfGvqoP+qnhQ9rqblcn6kaaAAAAA=="
|
|
4416
|
-
};
|
|
4417
|
-
|
|
4418
|
-
// src/react/ui/logos.ts
|
|
4419
|
-
var BUNDLED_TOKEN_LOGO = {
|
|
4420
|
-
USDC: "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png",
|
|
4421
|
-
USDT: "https://coin-images.coingecko.com/coins/images/325/large/Tether.png",
|
|
4422
|
-
USDE: "https://coin-images.coingecko.com/coins/images/33613/large/usde.png",
|
|
4423
|
-
XAUT: "https://coin-images.coingecko.com/coins/images/10481/large/Tether_Gold.png",
|
|
4424
|
-
// 2026-09-08, with the dapp-parity asset expansion — the same four URLs the dapp draws
|
|
4425
|
-
// (zd-dapp/src/lib/tokenLogos.ts), so the two products show one picture per coin.
|
|
4426
|
-
USDTB: "https://coin-images.coingecko.com/coins/images/52804/large/76357aa8-4ef7-446c-bad3-a3f944eeec7a.jpeg",
|
|
4427
|
-
AUSD: "https://coin-images.coingecko.com/coins/images/39284/large/AUSD_1024px.png",
|
|
4428
|
-
PYUSD: "https://coin-images.coingecko.com/coins/images/31212/large/PYUSD_Token_Logo_2x.png",
|
|
4429
|
-
USDG: "https://coin-images.coingecko.com/coins/images/51281/large/GDN_USDG_Token_200x200.png",
|
|
4430
|
-
// The wider stable list, added 2026-09-08 with the RWA exchange.
|
|
4431
|
-
DAI: "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png",
|
|
4432
|
-
USDS: "https://coin-images.coingecko.com/coins/images/39926/large/usds.webp",
|
|
4433
|
-
RLUSD: "https://coin-images.coingecko.com/coins/images/39651/large/RLUSD_200x200_%281%29.png",
|
|
4434
|
-
USD1: "https://coin-images.coingecko.com/coins/images/54977/large/USD1_1000x1000_transparent.png",
|
|
4435
|
-
WM: "https://coin-images.coingecko.com/coins/images/50789/large/M.png"
|
|
4436
|
-
};
|
|
4437
|
-
function isHttpsUrl(u) {
|
|
4438
|
-
return typeof u === "string" && /^https:\/\//i.test(u);
|
|
4439
|
-
}
|
|
4440
|
-
function isSameOriginPath2(u) {
|
|
4441
|
-
return typeof u === "string" && u.startsWith("/") && !u.startsWith("//") && !u.startsWith("/\\");
|
|
4442
|
-
}
|
|
4443
|
-
function isDisplayableImageSrc(u) {
|
|
4444
|
-
return isHttpsUrl(u) || isSameOriginPath2(u);
|
|
4445
|
-
}
|
|
4446
|
-
function tokenLogoCandidates(symbol, logoUrl) {
|
|
4447
|
-
const out = [];
|
|
4448
|
-
if (isDisplayableImageSrc(logoUrl)) out.push(logoUrl);
|
|
4449
|
-
const bundled = BUNDLED_TOKEN_LOGO[symbolKey(symbol)];
|
|
4450
|
-
if (bundled && !out.includes(bundled)) out.push(bundled);
|
|
4451
|
-
return out;
|
|
4452
|
-
}
|
|
4453
|
-
function chainLogoCandidates(chainId, logoUrl) {
|
|
4454
|
-
const out = [];
|
|
4455
|
-
if (isHttpsUrl(logoUrl)) out.push(logoUrl);
|
|
4456
|
-
const bundled = chainId === void 0 ? void 0 : BUNDLED_CHAIN_LOGO[Number(chainId)];
|
|
4457
|
-
if (bundled) out.push(bundled);
|
|
4458
|
-
return out;
|
|
4459
|
-
}
|
|
4460
|
-
var CHAIN_SHORT = {
|
|
4461
|
-
1: "ETH",
|
|
4462
|
-
10: "OP",
|
|
4463
|
-
130: "UNI",
|
|
4464
|
-
146: "SON",
|
|
4465
|
-
8453: "BASE",
|
|
4466
|
-
9745: "PLS",
|
|
4467
|
-
57073: "INK",
|
|
4468
|
-
42161: "ARB",
|
|
4469
|
-
98866: "PLM"
|
|
4470
|
-
};
|
|
4471
|
-
function chainBadge(chainId) {
|
|
4472
|
-
const pinned = CHAIN_SHORT[Number(chainId)];
|
|
4473
|
-
if (pinned) return pinned;
|
|
4474
|
-
const name = CHAIN_LABELS[Number(chainId)];
|
|
4475
|
-
return name ? name.replace(/[^A-Za-z]/g, "").slice(0, 3).toUpperCase() : "?";
|
|
4476
|
-
}
|
|
4477
|
-
function TokenGlyph(props) {
|
|
4478
|
-
const [failed, setFailed] = react.useState([]);
|
|
4479
|
-
const src = tokenLogoCandidates(props.symbol, props.logoUrl).find((u) => !failed.includes(u));
|
|
4480
|
-
const mark = props.chainId ? chainLogoCandidates(props.chainId)[0] : void 0;
|
|
4481
|
-
let badge = null;
|
|
4482
|
-
if (props.chainId) badge = mark ? /* @__PURE__ */ jsxRuntime.jsx("img", { className: "sg-tok-badge", src: mark, alt: "" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-badge", children: chainBadge(props.chainId) });
|
|
4483
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tok", "data-size": props.size === "sm" ? "sm" : void 0, children: [
|
|
4484
|
-
src ? /* @__PURE__ */ jsxRuntime.jsx("img", { className: "sg-tok-img", src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: props.symbol.slice(0, 4) }),
|
|
4485
|
-
badge
|
|
4486
|
-
] });
|
|
4487
|
-
}
|
|
4488
|
-
function ChevronGlyph() {
|
|
4489
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" }) });
|
|
4490
|
-
}
|
|
4491
|
-
function TokenTile(props) {
|
|
4492
|
-
const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
|
|
4493
|
-
const glyph = props.pick ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4494
|
-
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId }),
|
|
4495
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tile-text", children: [
|
|
4496
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: shown }),
|
|
4497
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: CHAIN_LABELS[props.pick.chainId] || `Chain ${props.pick.chainId}` })
|
|
4498
|
-
] })
|
|
4499
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4500
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) }),
|
|
4501
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-empty", children: "Select\u2026" })
|
|
4502
|
-
] });
|
|
4503
|
-
const ariaLabel = `${props.label}: ${props.pick ? `${shown} on ${CHAIN_LABELS[props.pick.chainId] || props.pick.chainId}` : "select token"}`;
|
|
4504
|
-
if (props.row) {
|
|
4505
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
|
|
4506
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
|
|
4507
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: glyph }),
|
|
4508
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
|
|
4509
|
-
] });
|
|
4510
|
-
}
|
|
4511
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
|
|
4512
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
|
|
4513
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: glyph })
|
|
4514
|
-
] });
|
|
4515
|
-
}
|
|
4516
|
-
function FundingTile(props) {
|
|
4517
|
-
const symbols = props.assets.map((asset) => asset.symbol);
|
|
4518
|
-
const summary = props.loading ? "Checking wallet assets\u2026" : symbols.length ? symbols.join(", ") : "No payable balance";
|
|
4519
|
-
const detail = props.loading ? "Finding what you can pay with" : symbols.length ? `${symbols.length} wallet asset${symbols.length === 1 ? "" : "s"} available` : "Open to review funding options";
|
|
4520
|
-
const ariaLabel = `${props.label}: ${props.loading ? "checking wallet assets" : symbols.length ? symbols.join(", ") : "no payable balance"}`;
|
|
4521
|
-
const glyphs = props.loading ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "\u2026" }) }) : symbols.length ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-funding-glyphs", "aria-hidden": "true", children: props.assets.slice(0, 3).map((asset) => /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: asset.symbol, logoUrl: asset.logoUrl, size: "sm" }, asset.symbol)) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) });
|
|
4522
|
-
const main = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4523
|
-
glyphs,
|
|
4524
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-funding-copy", children: [
|
|
4525
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: summary }),
|
|
4526
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: detail })
|
|
4527
|
-
] })
|
|
4528
|
-
] });
|
|
4529
|
-
if (props.row) {
|
|
4530
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile sg-tile--row", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
|
|
4531
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
|
|
4532
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: main }),
|
|
4533
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
|
|
4534
|
-
] });
|
|
4535
|
-
}
|
|
4536
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
|
|
4537
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
|
|
4538
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: main })
|
|
4539
|
-
] });
|
|
4540
|
-
}
|
|
4541
|
-
function ChainChip(props) {
|
|
4542
|
-
const [failed, setFailed] = react.useState([]);
|
|
4543
|
-
const src = chainLogoCandidates(props.chain?.chainId, props.chain?.logoUrl).find((u) => !failed.includes(u));
|
|
4544
|
-
const name = props.name ?? props.label;
|
|
4545
|
-
return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-chain-chip", "data-selected": props.selected, title: name, "aria-label": name, "aria-pressed": props.selected, onClick: props.onClick, children: src ? /* @__PURE__ */ jsxRuntime.jsx("img", { src, alt: "", loading: "lazy", onError: () => setFailed((f) => [...f, src]) }) : props.label });
|
|
4546
|
-
}
|
|
4547
|
-
function SearchGlyph() {
|
|
4548
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", "aria-hidden": "true", children: [
|
|
4549
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "7" }),
|
|
4550
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m20 20-3.5-3.5" })
|
|
4551
|
-
] });
|
|
4552
|
-
}
|
|
4553
|
-
function BackGlyph() {
|
|
4554
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "17", height: "17", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
4555
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12H5" }),
|
|
4556
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-7-7 7-7" })
|
|
4557
|
-
] });
|
|
4948
|
+
function complianceBadge(compliance, hasQuote = true) {
|
|
4949
|
+
if (!hasQuote) return null;
|
|
4950
|
+
const cv = complianceView(compliance, hasQuote);
|
|
4951
|
+
if (cv.tone === "blocked") return { text: "Blocked", tone: "warn" };
|
|
4952
|
+
if (cv.tone === "warn") return { text: compliance?.decision === "REMEDIATE" ? "Remediate" : "Review", tone: "warn" };
|
|
4953
|
+
if (cv.tone === "ok") return { text: cv.screened ? "Passed" : "Allowed", tone: "ok" };
|
|
4954
|
+
return { text: "Not screened", tone: "muted" };
|
|
4558
4955
|
}
|
|
4559
|
-
function
|
|
4560
|
-
const
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4956
|
+
function complianceIconTone(compliance, hasQuote = true) {
|
|
4957
|
+
const cv = complianceView(compliance, hasQuote);
|
|
4958
|
+
return cv.tone === "blocked" || cv.tone === "warn" ? "warn" : cv.tone === "ok" ? "ok" : "muted";
|
|
4959
|
+
}
|
|
4960
|
+
function ComplianceSheet(props) {
|
|
4961
|
+
const [tab, setTab] = react.useState("checks");
|
|
4962
|
+
const sheetRef = react.useRef(null);
|
|
4963
|
+
const compliance = props.compliance ?? null;
|
|
4964
|
+
const cv = complianceView(compliance, props.hasQuote ?? true);
|
|
4965
|
+
const allChecks = complianceChecks(compliance, cv);
|
|
4966
|
+
const checks = props.direct ? allChecks.filter((c) => DIRECT_CHECK_IDS.includes(c.id)) : allChecks;
|
|
4967
|
+
const onCloseRef = react.useRef(props.onClose);
|
|
4968
|
+
onCloseRef.current = props.onClose;
|
|
4969
|
+
const onClose = () => onCloseRef.current();
|
|
4970
|
+
react.useEffect(() => {
|
|
4971
|
+
sheetRef.current?.focus();
|
|
4972
|
+
const onKey = (e) => {
|
|
4973
|
+
if (e.key === "Escape") {
|
|
4974
|
+
e.stopPropagation();
|
|
4975
|
+
onCloseRef.current();
|
|
4976
|
+
}
|
|
4575
4977
|
};
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
4582
|
-
|
|
4583
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-chain-grid", "data-scroll": props.chains.length > 14 ? void 0 : "false", role: "group", "aria-label": "Filter by chain", children: [
|
|
4584
|
-
/* @__PURE__ */ jsxRuntime.jsx(ChainChip, { label: "All", selected: chainFilter == null, onClick: () => setChainFilter(null) }),
|
|
4585
|
-
props.chains.map((c) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4586
|
-
ChainChip,
|
|
4587
|
-
{
|
|
4588
|
-
chain: c,
|
|
4589
|
-
label: chainBadge(Number(c.chainId)),
|
|
4590
|
-
name: CHAIN_LABELS[Number(c.chainId)] || c.displayName || c.name || `Chain ${c.chainId}`,
|
|
4591
|
-
selected: chainFilter === Number(c.chainId),
|
|
4592
|
-
onClick: () => setChainFilter(Number(c.chainId))
|
|
4593
|
-
},
|
|
4594
|
-
c.chainId
|
|
4595
|
-
))
|
|
4978
|
+
document.addEventListener("keydown", onKey, true);
|
|
4979
|
+
return () => document.removeEventListener("keydown", onKey, true);
|
|
4980
|
+
}, []);
|
|
4981
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Compliance details", ref: sheetRef, tabIndex: -1, children: [
|
|
4982
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
|
|
4983
|
+
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Compliance details" }),
|
|
4984
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-cp-close", onClick: onClose, "aria-label": "Close compliance details", children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
|
|
4596
4985
|
] }),
|
|
4597
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-
|
|
4598
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4599
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
4986
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-tabs", role: "tablist", "aria-label": "Compliance details sections", children: [
|
|
4987
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", role: "tab", "aria-selected": tab === "checks", "data-active": tab === "checks", className: "sg-cp-tab", onClick: () => setTab("checks"), children: "Quote checks" }),
|
|
4988
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", role: "tab", "aria-selected": tab === "policy", "data-active": tab === "policy", className: "sg-cp-tab", onClick: () => setTab("policy"), children: "Screening policy" })
|
|
4600
4989
|
] }),
|
|
4601
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-
|
|
4602
|
-
const chainId = Number(t.chainId);
|
|
4603
|
-
const key = `${chainId}:${String(t.address || "").toLowerCase()}`;
|
|
4604
|
-
const bal = props.balances?.[key];
|
|
4605
|
-
const st = props.optionStates?.[key];
|
|
4606
|
-
const disabled = !!st?.disabled;
|
|
4607
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4608
|
-
"button",
|
|
4609
|
-
{
|
|
4610
|
-
type: "button",
|
|
4611
|
-
className: `sg-tokrow${disabled ? " sg-tokrow--off" : ""}`,
|
|
4612
|
-
disabled,
|
|
4613
|
-
"aria-disabled": disabled || void 0,
|
|
4614
|
-
"data-disabled": disabled || void 0,
|
|
4615
|
-
onClick: disabled ? void 0 : () => props.onPick({ chainId, symbol: t.symbol }),
|
|
4616
|
-
children: [
|
|
4617
|
-
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
|
|
4618
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-main", children: [
|
|
4619
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
|
|
4620
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
|
|
4621
|
-
] }),
|
|
4622
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-end", children: [
|
|
4623
|
-
bal ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-bal sg-mono", children: bal.formatted }) : null,
|
|
4624
|
-
st?.hint ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-hint", "data-tone": disabled ? void 0 : "note", children: st.hint }) : null,
|
|
4625
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-chain", children: CHAIN_LABELS[chainId] || `Chain ${chainId}` })
|
|
4626
|
-
] })
|
|
4627
|
-
]
|
|
4628
|
-
},
|
|
4629
|
-
`${chainId}:${t.address}`
|
|
4630
|
-
);
|
|
4631
|
-
}) : props.loading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-empty", children: "Loading the token list\u2026" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-empty", children: "No tokens match \u2014 try another chain or search." }) })
|
|
4990
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cp-sheet-body", children: tab === "checks" ? /* @__PURE__ */ jsxRuntime.jsx(QuoteChecks, { compliance, cv, checks, direct: !!props.direct, onViewPolicy: () => setTab("policy") }) : /* @__PURE__ */ jsxRuntime.jsx(ScreeningPolicy, { compliance }) })
|
|
4632
4991
|
] });
|
|
4633
4992
|
}
|
|
4993
|
+
function CompliancePanel(props) {
|
|
4994
|
+
const [open, setOpen] = react.useState(false);
|
|
4995
|
+
const triggerRef = react.useRef(null);
|
|
4996
|
+
const compliance = props.compliance ?? null;
|
|
4997
|
+
const cv = complianceView(compliance, props.hasQuote ?? true);
|
|
4998
|
+
const tag = complianceTagOf(compliance);
|
|
4999
|
+
const close = () => {
|
|
5000
|
+
setOpen(false);
|
|
5001
|
+
requestAnimationFrame(() => triggerRef.current?.focus());
|
|
5002
|
+
};
|
|
5003
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cp", "data-tone": cv.tone, children: open ? /* @__PURE__ */ jsxRuntime.jsx(ComplianceSheet, { compliance, direct: props.direct, hasQuote: props.hasQuote, onClose: close }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5004
|
+
/* @__PURE__ */ jsxRuntime.jsxs("button", { ref: triggerRef, type: "button", className: "sg-cp-row", "data-tone": cv.tone, onClick: () => setOpen(true), "aria-haspopup": "dialog", children: [
|
|
5005
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-row-main", children: [
|
|
5006
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-glyph", children: /* @__PURE__ */ jsxRuntime.jsx(TriggerGlyph, { cv }) }),
|
|
5007
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-label", children: cv.label })
|
|
5008
|
+
] }),
|
|
5009
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-chev", children: /* @__PURE__ */ jsxRuntime.jsx(Chevron, {}) })
|
|
5010
|
+
] }),
|
|
5011
|
+
(cv.blocked || cv.needsAction) && tag ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-tag sg-mono", children: tag }) : null
|
|
5012
|
+
] }) });
|
|
5013
|
+
}
|
|
4634
5014
|
function useTxHistory(account) {
|
|
4635
5015
|
const [entries, setEntries] = react.useState(() => readTxHistory(account));
|
|
4636
5016
|
react.useEffect(() => {
|
|
@@ -5889,6 +6269,39 @@ function PaymentIsland(props) {
|
|
|
5889
6269
|
) }) })
|
|
5890
6270
|
] }) });
|
|
5891
6271
|
}
|
|
6272
|
+
function PillLauncher(props) {
|
|
6273
|
+
injectStyles();
|
|
6274
|
+
const resolved = resolveTheme(props.theme);
|
|
6275
|
+
const vars = themeToVars(resolved);
|
|
6276
|
+
const openAs = props.openAs === "drawer" ? "drawer" : "modal";
|
|
6277
|
+
const [open, setOpen] = react.useState(!!props.defaultOpen);
|
|
6278
|
+
const buttonRef = react.useRef(null);
|
|
6279
|
+
const close = () => {
|
|
6280
|
+
setOpen(false);
|
|
6281
|
+
requestAnimationFrame(() => buttonRef.current?.focus());
|
|
6282
|
+
};
|
|
6283
|
+
react.useEffect(() => {
|
|
6284
|
+
if (!open) return;
|
|
6285
|
+
const onKey = (e) => {
|
|
6286
|
+
if (e.key === "Escape") close();
|
|
6287
|
+
};
|
|
6288
|
+
document.addEventListener("keydown", onKey);
|
|
6289
|
+
return () => document.removeEventListener("keydown", onKey);
|
|
6290
|
+
}, [open]);
|
|
6291
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pill-root", "data-sg-mode": resolved.mode, style: vars, children: [
|
|
6292
|
+
/* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: buttonRef, className: "sg-pillbtn", onClick: () => setOpen(true), "aria-haspopup": "dialog", "aria-expanded": open, children: [
|
|
6293
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-pillbtn-lead", children: [
|
|
6294
|
+
/* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 15, mono: true, className: "sg-pillbtn-mark" }),
|
|
6295
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: props.verb })
|
|
6296
|
+
] }),
|
|
6297
|
+
props.amountLabel ? /* @__PURE__ */ jsxRuntime.jsx("b", { className: "sg-pillbtn-amt sg-mono", children: props.amountLabel }) : null
|
|
6298
|
+
] }),
|
|
6299
|
+
open ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-overlay", "data-sg-overlay": openAs, children: [
|
|
6300
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-overlay-scrim", tabIndex: -1, "aria-label": "Close", onClick: close }),
|
|
6301
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-dialog", role: "dialog", "aria-modal": "true", "aria-label": props.verb, children: props.children(close, openAs) })
|
|
6302
|
+
] }) : null
|
|
6303
|
+
] });
|
|
6304
|
+
}
|
|
5892
6305
|
var STABLES2 = EXECUTABLE_STABLE_ASSETS;
|
|
5893
6306
|
var DEFAULT_FUNDING_ASSETS = [...EXECUTABLE_STABLE_ASSETS];
|
|
5894
6307
|
function CheckGlyph3() {
|
|
@@ -5908,8 +6321,19 @@ function CheckGlyph3() {
|
|
|
5908
6321
|
}
|
|
5909
6322
|
);
|
|
5910
6323
|
}
|
|
6324
|
+
function atLeastCents(value) {
|
|
6325
|
+
if (!/^\d+(\.\d*)?$/.test(value)) return value;
|
|
6326
|
+
const [whole, frac = ""] = value.split(".");
|
|
6327
|
+
return frac.length >= 2 ? value : `${whole}.${frac.padEnd(2, "0")}`;
|
|
6328
|
+
}
|
|
5911
6329
|
var addrEq2 = (a, b) => String(a || "").toLowerCase() === String(b || "").toLowerCase();
|
|
5912
6330
|
function StableGeniePay(props) {
|
|
6331
|
+
const config = useMergedConfig(props);
|
|
6332
|
+
if (props.variant !== "pill") return /* @__PURE__ */ jsxRuntime.jsx(PayCard, { ...props });
|
|
6333
|
+
if (props.settlement === "bank") return /* @__PURE__ */ jsxRuntime.jsx(PaymentIsland, { kind: "pay", ...props });
|
|
6334
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PillLauncher, { verb: "Pay with ZeroDelta", amountLabel: props.moneyDisplay || `${props.amount} ${props.toAsset}`, openAs: props.openAs, theme: config.theme, defaultOpen: props.defaultExpanded, children: (close) => /* @__PURE__ */ jsxRuntime.jsx(PayCard, { ...props, variant: void 0, onClose: close }) });
|
|
6335
|
+
}
|
|
6336
|
+
function PayCard(props) {
|
|
5913
6337
|
const config = useMergedConfig(props);
|
|
5914
6338
|
const engine = useEngine({
|
|
5915
6339
|
apiBase: config.apiBase,
|
|
@@ -5938,11 +6362,11 @@ function StableGeniePay(props) {
|
|
|
5938
6362
|
onSuccess: config.onSuccess,
|
|
5939
6363
|
onError: config.onError
|
|
5940
6364
|
});
|
|
5941
|
-
const
|
|
6365
|
+
const method = "stablecoin";
|
|
5942
6366
|
const fundingSet = react.useMemo(() => props.fundingAssets?.length ? new Set(props.fundingAssets.map((a) => a.toUpperCase())) : null, [props.fundingAssets]);
|
|
5943
6367
|
const visibleRoutes = react.useMemo(() => {
|
|
5944
6368
|
const base = fundingSet ? flow.routes.filter((r) => fundingSet.has(r.source.asset.toUpperCase()) || r.state === "DIRECT") : flow.routes;
|
|
5945
|
-
return
|
|
6369
|
+
return base.filter((r) => STABLES2.has(symbolKey(r.source.asset))) ;
|
|
5946
6370
|
}, [flow.routes, method, fundingSet]);
|
|
5947
6371
|
const paymentPlan = flow.plan;
|
|
5948
6372
|
const prefetchedBalances = paymentPlan && paymentPlan.fundingAccount === wallet.account?.toLowerCase() ? paymentPlan.fundingBalances : void 0;
|
|
@@ -6036,18 +6460,6 @@ function StableGeniePay(props) {
|
|
|
6036
6460
|
const ids = new Set(fundingTokens.map((t) => Number(t.chainId)));
|
|
6037
6461
|
return chains.filter((c) => ids.has(Number(c.chainId)));
|
|
6038
6462
|
}, [chains, fundingTokens]);
|
|
6039
|
-
const payableAssets = react.useMemo(() => {
|
|
6040
|
-
const seen = /* @__PURE__ */ new Set();
|
|
6041
|
-
const list = [];
|
|
6042
|
-
for (const { route } of held) {
|
|
6043
|
-
const symbol = symbolKey(route.source.asset);
|
|
6044
|
-
if (seen.has(symbol)) continue;
|
|
6045
|
-
seen.add(symbol);
|
|
6046
|
-
const token = registryTokens.find((t) => Number(t.chainId) === route.source.chainId && addrEq2(t.address, route.source.tokenAddress));
|
|
6047
|
-
list.push({ symbol: route.source.asset, logoUrl: token?.logoUrl });
|
|
6048
|
-
}
|
|
6049
|
-
return list;
|
|
6050
|
-
}, [held, registryTokens]);
|
|
6051
6463
|
const userPicked = react.useRef(false);
|
|
6052
6464
|
const selectRoute = react.useCallback(
|
|
6053
6465
|
(id) => {
|
|
@@ -6096,21 +6508,42 @@ function StableGeniePay(props) {
|
|
|
6096
6508
|
const sel = flow.selected;
|
|
6097
6509
|
const selectedVisible = Boolean(sel && visibleRoutes.some((r) => r.id === sel.id));
|
|
6098
6510
|
const selBal = sel ? holdings.balances[balanceKey(sel.source.chainId, sel.source.tokenAddress)] : void 0;
|
|
6099
|
-
const
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
)
|
|
6103
|
-
|
|
6104
|
-
|
|
6511
|
+
const selToken = sel ? registryTokens.find((t) => Number(t.chainId) === sel.source.chainId && addrEq2(t.address, sel.source.tokenAddress)) ?? null : null;
|
|
6512
|
+
const [prices, setPrices] = react.useState({});
|
|
6513
|
+
const selSymbol = sel ? symbolKey(sel.source.asset) : "";
|
|
6514
|
+
react.useEffect(() => {
|
|
6515
|
+
if (props.variant === "pill" || !selSymbol || !engine.fetchPrices) return;
|
|
6516
|
+
let alive = true;
|
|
6517
|
+
engine.fetchPrices([selSymbol]).then((next) => {
|
|
6518
|
+
if (alive) setPrices((prev) => ({ ...prev, ...next }));
|
|
6519
|
+
});
|
|
6520
|
+
return () => {
|
|
6521
|
+
alive = false;
|
|
6522
|
+
};
|
|
6523
|
+
}, [engine, selSymbol, props.variant]);
|
|
6524
|
+
const [sheet, setSheet] = react.useState(false);
|
|
6525
|
+
const complianceBtnRef = react.useRef(null);
|
|
6526
|
+
react.useEffect(() => setSheet(false), [wallet.account, paramsKey]);
|
|
6527
|
+
const closeSheet = () => {
|
|
6528
|
+
setSheet(false);
|
|
6529
|
+
requestAnimationFrame(() => complianceBtnRef.current?.focus());
|
|
6530
|
+
};
|
|
6531
|
+
const payLabel = parked ? "Coming soon" : submitting ? "Paying\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall ? flow.nativeShortfall : sel && selectedVisible ? `Pay ${atLeastCents(sel.source.payAmount)} ${sel.source.ticker || sel.source.asset}` : "Pay";
|
|
6105
6532
|
const walletSlot = wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-tools", children: [
|
|
6106
6533
|
/* @__PURE__ */ jsxRuntime.jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }),
|
|
6107
|
-
/* @__PURE__ */ jsxRuntime.jsxs("
|
|
6108
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6109
|
-
"
|
|
6534
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-wallet", "data-connected": "true", children: [
|
|
6535
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-wallet-dot", "aria-hidden": "true" }),
|
|
6536
|
+
" ",
|
|
6537
|
+
shortAddress2(wallet.account)
|
|
6110
6538
|
] })
|
|
6111
|
-
] }) :
|
|
6112
|
-
|
|
6113
|
-
|
|
6539
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx("span", {});
|
|
6540
|
+
const nativeWei = sel ? routeNativeValue(sel) : 0n;
|
|
6541
|
+
const feeRows = sel ? [
|
|
6542
|
+
{ label: "Network fee", value: nativeWei > 0n ? `~${formatNative(nativeWei)} ${nativeSymbol(sel.source.chainId)}` : "Gas only" },
|
|
6543
|
+
...durationLabel(sel.quote.estimatedDuration) ? [{ label: "Estimated time", value: durationLabel(sel.quote.estimatedDuration) }] : []
|
|
6544
|
+
] : [];
|
|
6545
|
+
const loadingPlan = flow.status === "loading" || holdings.loading && !sel;
|
|
6546
|
+
return /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title: config.title || "Complete payment", theme: config.theme, heightPx: props.heightPx, walletSlot, onClose: props.onClose, children: hist && wallet.account ? /* @__PURE__ */ jsxRuntime.jsx(TxHistoryPanel, { account: wallet.account, tokens: registryTokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory }) : view === "select" && wallet.account ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6114
6547
|
TokenSelect,
|
|
6115
6548
|
{
|
|
6116
6549
|
title: "Pay with",
|
|
@@ -6121,9 +6554,12 @@ function StableGeniePay(props) {
|
|
|
6121
6554
|
onBack: closeSelector,
|
|
6122
6555
|
onPick: pickFunding
|
|
6123
6556
|
}
|
|
6124
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: !wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6125
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6126
|
-
|
|
6557
|
+
) : sheet && sel ? /* @__PURE__ */ jsxRuntime.jsx(ComplianceSheet, { compliance: sel.quote.compliance, direct: sel.state === "DIRECT", onClose: closeSheet }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: !wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6558
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-pane sg-pane--note", children: "Connect your wallet to choose a token to pay with." }),
|
|
6559
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
|
|
6560
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }),
|
|
6561
|
+
wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
|
|
6562
|
+
] })
|
|
6127
6563
|
] }) : flow.status === "success" || flow.status === "pending" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6128
6564
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success", children: [
|
|
6129
6565
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-success-check", "data-pending": flow.verdict?.status !== "confirmed", children: /* @__PURE__ */ jsxRuntime.jsx(CheckGlyph3, {}) }),
|
|
@@ -6140,45 +6576,43 @@ function StableGeniePay(props) {
|
|
|
6140
6576
|
] }),
|
|
6141
6577
|
lastTxOwned ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cta-wrap", children: /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", onClick: () => setHist({ entry: flow.lastTxEntry }), children: "View transaction" }) }) : null
|
|
6142
6578
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6143
|
-
/* @__PURE__ */ jsxRuntime.
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
" Finding the best way to pay\u2026"
|
|
6161
|
-
] })
|
|
6162
|
-
] }) : null,
|
|
6163
|
-
flow.status === "error" && flow.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: flow.error }) : null,
|
|
6164
|
-
sel && selectedVisible && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
|
|
6165
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: "You pay" }),
|
|
6166
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
|
|
6167
|
-
sel.source.payAmount,
|
|
6168
|
-
" ",
|
|
6169
|
-
sel.source.ticker || sel.source.asset
|
|
6579
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
|
|
6580
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "pay", children: [
|
|
6581
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: "You pay" }),
|
|
6582
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
|
|
6583
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-out", "aria-live": "polite", children: loadingPlan ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "\u2026" }) : sel && selectedVisible ? /* @__PURE__ */ jsxRuntime.jsx(AmountText, { value: atLeastCents(sel.source.payAmount) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "\u2014" }) }),
|
|
6584
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6585
|
+
TokenButton,
|
|
6586
|
+
{
|
|
6587
|
+
label: "Pay with",
|
|
6588
|
+
symbol: sel && selectedVisible ? sel.source.asset : null,
|
|
6589
|
+
chainId: sel && selectedVisible ? sel.source.chainId : null,
|
|
6590
|
+
token: selToken,
|
|
6591
|
+
disabled: submitting || !visibleRoutes.length,
|
|
6592
|
+
btnRef: payTileRef,
|
|
6593
|
+
onClick: () => setView("select")
|
|
6594
|
+
}
|
|
6595
|
+
)
|
|
6170
6596
|
] }),
|
|
6171
|
-
/* @__PURE__ */ jsxRuntime.
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
selBal ? ` \xB7 balance ${selBal.formatted}` : ""
|
|
6175
|
-
] })
|
|
6176
|
-
] }) : null,
|
|
6177
|
-
why ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-why", style: { marginTop: 10 }, children: why }) : null,
|
|
6597
|
+
/* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: sel && selectedVisible ? usdOf(sel.source.payAmount, prices[selSymbol]) : null, balance: selBal ? shortBalance(selBal.formatted) : null })
|
|
6598
|
+
] }),
|
|
6599
|
+
flow.status === "error" && flow.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: flow.error }) : null,
|
|
6178
6600
|
scannedEmpty ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-note", children: "None of your balances can cover this yet \u2014 pick a different asset to fund with." }) : null,
|
|
6179
|
-
flow.status === "ready" && !visibleRoutes.length ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: "No funding route matches the accepted assets for this payment." }) : null
|
|
6601
|
+
flow.status === "ready" && !visibleRoutes.length ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: "No funding route matches the accepted assets for this payment." }) : null,
|
|
6602
|
+
sel && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6603
|
+
DetailButton,
|
|
6604
|
+
{
|
|
6605
|
+
btnRef: complianceBtnRef,
|
|
6606
|
+
size: "lg",
|
|
6607
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(ShieldTickGlyph, {}),
|
|
6608
|
+
iconTone: complianceIconTone(sel.quote.compliance),
|
|
6609
|
+
label: "Compliance",
|
|
6610
|
+
badge: complianceBadge(sel.quote.compliance),
|
|
6611
|
+
onClick: () => setSheet(true)
|
|
6612
|
+
}
|
|
6613
|
+
) : null,
|
|
6614
|
+
sel && selectedVisible && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(RateBox, { rowsOnly: true, rate: null, fromSymbol: "", toTicker: "", rows: feeRows }) : null
|
|
6180
6615
|
] }),
|
|
6181
|
-
sel && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(CompliancePanel, { compliance: sel.quote.compliance, direct: sel.state === "DIRECT" }) : null,
|
|
6182
6616
|
submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
|
|
6183
6617
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cta-wrap", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6184
6618
|
Button,
|
|
@@ -6330,18 +6764,64 @@ function StableGenieSwap(props) {
|
|
|
6330
6764
|
] })
|
|
6331
6765
|
] });
|
|
6332
6766
|
}
|
|
6767
|
+
function QuoteSheet(props) {
|
|
6768
|
+
const sheetRef = react.useRef(null);
|
|
6769
|
+
const onCloseRef = react.useRef(props.onClose);
|
|
6770
|
+
onCloseRef.current = props.onClose;
|
|
6771
|
+
react.useEffect(() => {
|
|
6772
|
+
sheetRef.current?.focus();
|
|
6773
|
+
const onKey = (e) => {
|
|
6774
|
+
if (e.key === "Escape") {
|
|
6775
|
+
e.stopPropagation();
|
|
6776
|
+
onCloseRef.current();
|
|
6777
|
+
}
|
|
6778
|
+
};
|
|
6779
|
+
document.addEventListener("keydown", onKey, true);
|
|
6780
|
+
return () => document.removeEventListener("keydown", onKey, true);
|
|
6781
|
+
}, []);
|
|
6782
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Quote details", ref: sheetRef, tabIndex: -1, children: [
|
|
6783
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
|
|
6784
|
+
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Quote details" }),
|
|
6785
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-cp-close", onClick: () => onCloseRef.current(), "aria-label": "Close quote details", children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) })
|
|
6786
|
+
] }),
|
|
6787
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-body", children: [
|
|
6788
|
+
/* @__PURE__ */ jsxRuntime.jsx("section", { className: "sg-cp-card", children: /* @__PURE__ */ jsxRuntime.jsx("dl", { className: "sg-cp-facts sg-qs-facts", children: props.facts.map((f) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-fact", children: [
|
|
6789
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { children: f.label }),
|
|
6790
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { className: "sg-mono", children: f.value })
|
|
6791
|
+
] }, f.label)) }) }),
|
|
6792
|
+
props.legs?.length ? /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "sg-cp-card sg-legs", children: [
|
|
6793
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-legs-head", children: /* @__PURE__ */ jsxRuntime.jsxs("b", { children: [
|
|
6794
|
+
props.legs.length,
|
|
6795
|
+
" orders \xB7 one signature"
|
|
6796
|
+
] }) }),
|
|
6797
|
+
/* @__PURE__ */ jsxRuntime.jsx("ol", { className: "sg-leg-list", children: props.legs.map((leg) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sg-leg", children: [
|
|
6798
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-leg-n", children: leg.index }),
|
|
6799
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-body", children: [
|
|
6800
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-line", children: [
|
|
6801
|
+
leg.fromTicker || leg.fromAsset || "?",
|
|
6802
|
+
" on ",
|
|
6803
|
+
leg.fromChainName,
|
|
6804
|
+
" \u2192 ",
|
|
6805
|
+
leg.toTicker || leg.toAsset || "?",
|
|
6806
|
+
" on ",
|
|
6807
|
+
leg.toChainName
|
|
6808
|
+
] }),
|
|
6809
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-sub", children: [
|
|
6810
|
+
"Filled on ",
|
|
6811
|
+
leg.executionChainName
|
|
6812
|
+
] })
|
|
6813
|
+
] })
|
|
6814
|
+
] }, leg.index)) })
|
|
6815
|
+
] }) : null
|
|
6816
|
+
] })
|
|
6817
|
+
] });
|
|
6818
|
+
}
|
|
6333
6819
|
var FIAT = [
|
|
6334
6820
|
{ code: "USD", glyph: "$", label: "US Dollar" },
|
|
6335
6821
|
{ code: "EUR", glyph: "\u20AC", label: "Euro" },
|
|
6336
6822
|
{ code: "GBP", glyph: "\xA3", label: "British Pound" },
|
|
6337
6823
|
{ code: "CHF", glyph: "\u20A3", label: "Swiss Franc" }
|
|
6338
6824
|
];
|
|
6339
|
-
function ArrowGlyph2() {
|
|
6340
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
6341
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12h14" }),
|
|
6342
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m13 6 6 6-6 6" })
|
|
6343
|
-
] });
|
|
6344
|
-
}
|
|
6345
6825
|
function RouteGlyph() {
|
|
6346
6826
|
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", "aria-hidden": "true", children: [
|
|
6347
6827
|
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6", cy: "19", r: "2.4" }),
|
|
@@ -6365,7 +6845,21 @@ function FiatTile(props) {
|
|
|
6365
6845
|
] })
|
|
6366
6846
|
] });
|
|
6367
6847
|
}
|
|
6848
|
+
function FiatButton(props) {
|
|
6849
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "sg-tokbtn sg-tokbtn--fiat", children: [
|
|
6850
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-fiat", "data-size": "xs", "aria-hidden": "true", children: props.fiat.glyph }),
|
|
6851
|
+
/* @__PURE__ */ jsxRuntime.jsx("select", { className: "sg-tokbtn-select", value: props.fiat.code, disabled: props.disabled, onChange: (e) => props.onCurrency(e.target.value), "aria-label": "Currency", children: FIAT.map((f) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: f.code, children: f.code }, f.code)) })
|
|
6852
|
+
] });
|
|
6853
|
+
}
|
|
6368
6854
|
function StableGenieExchange(props) {
|
|
6855
|
+
const config = useMergedConfig(props);
|
|
6856
|
+
if (props.variant !== "pill") return /* @__PURE__ */ jsxRuntime.jsx(ExchangeCard, { ...props });
|
|
6857
|
+
const amountLabel = props.defaultAmount && props.defaultFromAsset ? `${props.defaultAmount} ${props.defaultFromAsset}` : void 0;
|
|
6858
|
+
const mode = props.mode ?? "exchange";
|
|
6859
|
+
const verb = mode === "onramp" ? "Buy with ZeroDelta" : mode === "offramp" ? "Cash out with ZeroDelta" : "Exchange with ZeroDelta";
|
|
6860
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PillLauncher, { verb, amountLabel, openAs: props.openAs, theme: config.theme, children: (close, openAs) => /* @__PURE__ */ jsxRuntime.jsx(ExchangeCard, { ...props, variant: "compact", onClose: close, inDialog: openAs }) });
|
|
6861
|
+
}
|
|
6862
|
+
function ExchangeCard(props) {
|
|
6369
6863
|
const config = useMergedConfig(props);
|
|
6370
6864
|
const engine = useEngine({ apiBase: config.apiBase, apiKey: config.apiKey, trustedApiOrigin: config.trustedApiOrigin, rpcOverrides: config.rpcOverrides, onTransaction: config.onTransaction });
|
|
6371
6865
|
const wallet = useWallet(config.provider);
|
|
@@ -6399,6 +6893,11 @@ function StableGenieExchange(props) {
|
|
|
6399
6893
|
requestAnimationFrame(() => histBtnRef.current?.focus());
|
|
6400
6894
|
};
|
|
6401
6895
|
react.useEffect(() => setHist(null), [wallet.account]);
|
|
6896
|
+
const [sheet, setSheet] = react.useState(null);
|
|
6897
|
+
const fromTileRef = react.useRef(null);
|
|
6898
|
+
const toTileRef = react.useRef(null);
|
|
6899
|
+
const complianceBtnRef = react.useRef(null);
|
|
6900
|
+
const quoteBtnRef = react.useRef(null);
|
|
6402
6901
|
const [from, setFrom] = react.useState(
|
|
6403
6902
|
() => props.defaultFromChainId && props.defaultFromAsset ? { chainId: props.defaultFromChainId, symbol: symbolKey(props.defaultFromAsset) } : null
|
|
6404
6903
|
);
|
|
@@ -6489,6 +6988,19 @@ function StableGenieExchange(props) {
|
|
|
6489
6988
|
});
|
|
6490
6989
|
}, [engine, wallet.account, tokens]);
|
|
6491
6990
|
const fromBal = from && fromToken ? balances[balanceKey(from.chainId, fromToken.address)] : void 0;
|
|
6991
|
+
const [prices, setPrices] = react.useState({});
|
|
6992
|
+
react.useEffect(() => {
|
|
6993
|
+
if (isPill) return;
|
|
6994
|
+
const symbols = [from?.symbol, to?.symbol].filter((x) => !!x);
|
|
6995
|
+
if (!symbols.length || !engine.fetchPrices) return;
|
|
6996
|
+
let alive = true;
|
|
6997
|
+
engine.fetchPrices(symbols).then((next) => {
|
|
6998
|
+
if (alive) setPrices((prev) => ({ ...prev, ...next }));
|
|
6999
|
+
});
|
|
7000
|
+
return () => {
|
|
7001
|
+
alive = false;
|
|
7002
|
+
};
|
|
7003
|
+
}, [engine, from?.symbol, to?.symbol, isPill]);
|
|
6492
7004
|
const paramsKey = `${mode}|${from?.chainId}|${from?.symbol}|${to?.chainId}|${toSymbol}|${normalizedAmount}|${props.recipient ?? ""}`;
|
|
6493
7005
|
const flow = useFlow({
|
|
6494
7006
|
engine,
|
|
@@ -6539,6 +7051,32 @@ function StableGenieExchange(props) {
|
|
|
6539
7051
|
const title = config.title || (mode === "onramp" ? "Buy stablecoins" : mode === "offramp" ? "Cash out" : "Exchange");
|
|
6540
7052
|
const soonLabel = mode === "onramp" ? "On-ramp coming soon" : "Off-ramp coming soon";
|
|
6541
7053
|
const ctaLabel = rampMode ? soonLabel : submitting ? "Exchanging\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall || "Exchange";
|
|
7054
|
+
const selected = connected ? flow.selected : null;
|
|
7055
|
+
const hasQuote = Boolean(quotable && !quoting && !quoteError && receive);
|
|
7056
|
+
const nativeWei = (() => {
|
|
7057
|
+
try {
|
|
7058
|
+
if (selected) return routeNativeValue(selected);
|
|
7059
|
+
return preview.data ? BigInt(preview.data.nativeFeeRaw || "0") : 0n;
|
|
7060
|
+
} catch {
|
|
7061
|
+
return 0n;
|
|
7062
|
+
}
|
|
7063
|
+
})();
|
|
7064
|
+
const networkFee = nativeWei > 0n ? `~${formatNative(nativeWei)} ${nativeSymbol(from?.chainId ?? 1, chains)}` : "Gas only";
|
|
7065
|
+
const eta = durationLabel(meta?.duration);
|
|
7066
|
+
const rate = hasQuote && receive && Number(normalizedAmount) > 0 ? (Number(receive) / Number(normalizedAmount)).toFixed(6) : null;
|
|
7067
|
+
const rateRows = hasQuote ? [{ label: "Network fee", value: networkFee }, ...eta ? [{ label: "Estimated time", value: eta }] : []] : [];
|
|
7068
|
+
const via = selected ? selected.legs.length > 1 ? selected.legs[0]?.toTicker || selected.legs[0]?.toAsset || "" : null : preview.data?.via ?? null;
|
|
7069
|
+
const routeShape = via === null ? "Direct" : via ? `Via ${via}` : "Two steps";
|
|
7070
|
+
const compliance = selected?.quote.compliance;
|
|
7071
|
+
const complianceHasQuote = Boolean(selected && flow.status !== "loading");
|
|
7072
|
+
const fromUsd = usdOf(normalizedAmount, prices[from?.symbol ?? ""]);
|
|
7073
|
+
const toUsd = usdOf(receive, prices[to?.symbol ?? ""]);
|
|
7074
|
+
const flippable = !rampMode && !submitting && Boolean(to && sourceTokens.some((t) => Number(t.chainId) === to.chainId && symbolKey(t.symbol) === to.symbol));
|
|
7075
|
+
const flip = () => {
|
|
7076
|
+
if (!flippable) return;
|
|
7077
|
+
setFrom(to);
|
|
7078
|
+
setTo(from);
|
|
7079
|
+
};
|
|
6542
7080
|
const walletSlot = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-tools", children: [
|
|
6543
7081
|
connected ? /* @__PURE__ */ jsxRuntime.jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }) : null,
|
|
6544
7082
|
/* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-wallet", "data-connected": connected || void 0, onClick: connected ? void 0 : wallet.connect, disabled: wallet.connecting, children: connected ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -6547,13 +7085,65 @@ function StableGenieExchange(props) {
|
|
|
6547
7085
|
shortAddress2(wallet.account)
|
|
6548
7086
|
] }) : wallet.connecting ? "Connecting\u2026" : "Connect wallet" })
|
|
6549
7087
|
] });
|
|
6550
|
-
const fromTileRef = react.useRef(null);
|
|
6551
|
-
const toTileRef = react.useRef(null);
|
|
6552
7088
|
const closeSelector = (isFrom) => {
|
|
6553
7089
|
setView("main");
|
|
6554
7090
|
requestAnimationFrame(() => (isFrom ? fromTileRef : toTileRef).current?.focus());
|
|
6555
7091
|
};
|
|
6556
|
-
|
|
7092
|
+
const closeSheet = () => {
|
|
7093
|
+
const was = sheet;
|
|
7094
|
+
setSheet(null);
|
|
7095
|
+
requestAnimationFrame(() => (was === "quote" ? quoteBtnRef : complianceBtnRef).current?.focus());
|
|
7096
|
+
};
|
|
7097
|
+
const pctChips = mode !== "onramp" ? (
|
|
7098
|
+
// a11y note: <fieldset> carries UA styling that would have to be reset on every host page;
|
|
7099
|
+
// role="group" gives the same semantics.
|
|
7100
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-pct-row", role: "group", "aria-label": "Amount shortcuts", children: [25, 50, 75, 100].map((p) => /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-pct", disabled: !fromBal || submitting, onClick: () => pct(p), children: p === 100 ? "MAX" : `${p}%` }, p)) })
|
|
7101
|
+
) : null;
|
|
7102
|
+
const amountField = /* @__PURE__ */ jsxRuntime.jsx(AmountInput, { value: amount, onChange: setAmount, disabled: submitting, invalid: !!amountError, describedBy: amountNote ? amountNoteId : void 0 });
|
|
7103
|
+
const amountNoteEl = amountNote ? /* @__PURE__ */ jsxRuntime.jsx(AmountNote, { id: amountNoteId, tone: amountError ? "error" : "neutral", children: amountNote }) : null;
|
|
7104
|
+
const fiat = FIAT.find((f) => f.code === fiatCurrency) ?? FIAT[0];
|
|
7105
|
+
const complianceButton = (lg) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7106
|
+
DetailButton,
|
|
7107
|
+
{
|
|
7108
|
+
btnRef: complianceBtnRef,
|
|
7109
|
+
size: lg ? "lg" : void 0,
|
|
7110
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(ShieldTickGlyph, {}),
|
|
7111
|
+
iconTone: complianceIconTone(compliance, complianceHasQuote),
|
|
7112
|
+
label: "Compliance",
|
|
7113
|
+
badge: lg ? complianceBadge(compliance, complianceHasQuote) : null,
|
|
7114
|
+
onClick: () => setSheet("compliance")
|
|
7115
|
+
}
|
|
7116
|
+
);
|
|
7117
|
+
const quoteButton = (lg) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7118
|
+
DetailButton,
|
|
7119
|
+
{
|
|
7120
|
+
btnRef: quoteBtnRef,
|
|
7121
|
+
size: lg ? "lg" : void 0,
|
|
7122
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(QuoteGlyph, {}),
|
|
7123
|
+
label: "Quote",
|
|
7124
|
+
badge: lg && hasQuote ? { text: "Best return", tone: "info" } : null,
|
|
7125
|
+
onClick: () => setSheet("quote"),
|
|
7126
|
+
disabled: !hasQuote
|
|
7127
|
+
}
|
|
7128
|
+
);
|
|
7129
|
+
const rateBox = (open) => /* @__PURE__ */ jsxRuntime.jsx(RateBox, { rate, fromSymbol: from?.symbol ?? "", fromLogoUrl: fromToken?.logoUrl, toTicker, rows: rateRows, defaultOpen: open });
|
|
7130
|
+
const sheetBody = sheet === "compliance" ? /* @__PURE__ */ jsxRuntime.jsx(ComplianceSheet, { compliance, direct: selected?.state === "DIRECT", hasQuote: complianceHasQuote, onClose: closeSheet }) : sheet === "quote" && hasQuote ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7131
|
+
QuoteSheet,
|
|
7132
|
+
{
|
|
7133
|
+
onClose: closeSheet,
|
|
7134
|
+
facts: [
|
|
7135
|
+
{ label: "Route", value: routeShape },
|
|
7136
|
+
{ label: "Provider", value: meta?.bridge || "ZeroDelta" },
|
|
7137
|
+
{ label: "You send", value: `${normalizedAmount} ${fromTicker}` },
|
|
7138
|
+
{ label: "You receive", value: `${receive} ${toTicker}` },
|
|
7139
|
+
...rate ? [{ label: "Rate", value: `1 ${fromTicker} = ${rate} ${toTicker}` }] : [],
|
|
7140
|
+
{ label: "Fee", value: `${meta?.feeBps ?? 0} bps` },
|
|
7141
|
+
{ label: "Network fee", value: networkFee },
|
|
7142
|
+
...eta ? [{ label: "Estimated time", value: eta }] : []
|
|
7143
|
+
],
|
|
7144
|
+
legs: selected && selected.legs.length > 1 ? selected.legs : void 0
|
|
7145
|
+
}
|
|
7146
|
+
) : null;
|
|
6557
7147
|
let body;
|
|
6558
7148
|
if (hist && connected) {
|
|
6559
7149
|
body = /* @__PURE__ */ jsxRuntime.jsx(TxHistoryPanel, { account: wallet.account, tokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory });
|
|
@@ -6575,6 +7165,8 @@ function StableGenieExchange(props) {
|
|
|
6575
7165
|
}
|
|
6576
7166
|
}
|
|
6577
7167
|
);
|
|
7168
|
+
} else if (sheetBody && !wide) {
|
|
7169
|
+
body = sheetBody;
|
|
6578
7170
|
} else if (flow.status === "success" || flow.status === "pending") {
|
|
6579
7171
|
body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6580
7172
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success", children: [
|
|
@@ -6595,68 +7187,84 @@ function StableGenieExchange(props) {
|
|
|
6595
7187
|
] })
|
|
6596
7188
|
] });
|
|
6597
7189
|
} else {
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
7190
|
+
const payToken = mode === "onramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatButton, { fiat, onCurrency: setFiatCurrency, disabled: submitting }) : /* @__PURE__ */ jsxRuntime.jsx(TokenButton, { label: "You pay", symbol: from?.symbol ?? null, chainId: from?.chainId ?? null, token: fromToken, disabled: submitting, btnRef: fromTileRef, onClick: () => setView("from") });
|
|
7191
|
+
const receiveToken = mode === "offramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatButton, { fiat, onCurrency: setFiatCurrency, disabled: submitting }) : /* @__PURE__ */ jsxRuntime.jsx(TokenButton, { label: "You receive", symbol: to?.symbol ?? null, chainId: to?.chainId ?? null, token: toToken, disabled: submitting, btnRef: toTileRef, onClick: () => setView("to") });
|
|
7192
|
+
const cta = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
|
|
7193
|
+
!connected && !rampMode ? /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }) : /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: rampMode ? void 0 : flow.submit, busy: submitting, disabled: rampMode || !quotable || !cryptoReady || connected && (!flow.selected || flow.insufficient || !!flow.nativeShortfall || flow.status === "loading"), children: ctaLabel }),
|
|
7194
|
+
wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
|
|
7195
|
+
] });
|
|
7196
|
+
const notices = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7197
|
+
rampMode ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: mode === "onramp" ? "Buy supported stablecoins with card or bank transfer \u2014 coming soon. Today the widget settles crypto-to-crypto." : "Cash out supported stablecoins to your bank \u2014 coming soon. Today the widget settles crypto-to-crypto." }) : null,
|
|
7198
|
+
!rampMode && quoteError && !gatewayAmountError && !wide ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: quoteError }) : null
|
|
7199
|
+
] });
|
|
7200
|
+
body = wide ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7201
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
|
|
7202
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-ft", children: [
|
|
7203
|
+
mode === "onramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatTile, { label: "From", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsxRuntime.jsx(TokenTile, { label: "From", pick: from, token: fromToken, disabled: submitting, btnRef: fromTileRef, onClick: () => setView("from") }),
|
|
7204
|
+
/* @__PURE__ */ jsxRuntime.jsx(FlipButton, { small: true, onClick: flip, disabled: !flippable }),
|
|
7205
|
+
mode === "offramp" ? /* @__PURE__ */ jsxRuntime.jsx(FiatTile, { label: "To", currency: fiatCurrency, onCurrency: setFiatCurrency }) : /* @__PURE__ */ jsxRuntime.jsx(TokenTile, { label: "To", pick: to, token: toToken, disabled: submitting, btnRef: toTileRef, onClick: () => setView("to") })
|
|
7206
|
+
] }),
|
|
7207
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "send", children: [
|
|
7208
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-top", children: [
|
|
7209
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "Send" }),
|
|
7210
|
+
pctChips
|
|
7211
|
+
] }),
|
|
7212
|
+
amountField,
|
|
7213
|
+
amountNoteEl,
|
|
7214
|
+
/* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode !== "onramp" && fromBal ? shortBalance(fromBal.formatted) : null })
|
|
7215
|
+
] })
|
|
6603
7216
|
] }),
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
)
|
|
7217
|
+
notices,
|
|
7218
|
+
submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
|
|
7219
|
+
cta
|
|
7220
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7221
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
|
|
7222
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "pay", children: [
|
|
7223
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-top", children: [
|
|
7224
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "You pay" }),
|
|
7225
|
+
pctChips
|
|
7226
|
+
] }),
|
|
7227
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
|
|
7228
|
+
amountField,
|
|
7229
|
+
payToken
|
|
7230
|
+
] }),
|
|
7231
|
+
amountNoteEl,
|
|
7232
|
+
/* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode !== "onramp" && fromBal ? shortBalance(fromBal.formatted) : null })
|
|
6618
7233
|
] }),
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
"
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
7234
|
+
/* @__PURE__ */ jsxRuntime.jsx(FlipButton, { onClick: flip, disabled: !flippable }),
|
|
7235
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "receive", children: [
|
|
7236
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: product === "rwa" ? "You receive (estimated)" : "You receive" }),
|
|
7237
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
|
|
7238
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-out", "aria-live": "polite", children: rampMode ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "\u2014" }) : quoting ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "\u2026" }) : receive && quotable && !quoteError ? /* @__PURE__ */ jsxRuntime.jsx(AmountText, { value: receive }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-empty", children: "0" }) }),
|
|
7239
|
+
receiveToken
|
|
7240
|
+
] }),
|
|
7241
|
+
/* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: hasQuote ? toUsd : null })
|
|
7242
|
+
] }),
|
|
7243
|
+
rampMode ? null : props.inDialog === "drawer" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7244
|
+
complianceButton(true),
|
|
7245
|
+
quoteButton(true),
|
|
7246
|
+
rateBox(true)
|
|
7247
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7248
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-dbtn-row", children: [
|
|
7249
|
+
complianceButton(),
|
|
7250
|
+
quoteButton()
|
|
7251
|
+
] }),
|
|
7252
|
+
rateBox()
|
|
7253
|
+
] })
|
|
6631
7254
|
] }),
|
|
6632
|
-
|
|
6633
|
-
!rampMode && quoteError && !gatewayAmountError && !wide ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: quoteError }) : null,
|
|
6634
|
-
!rampMode && !wide && quotable && !quoteError ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
|
|
6635
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: "You receive (estimated)" }),
|
|
6636
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-anchor sg-mono", children: quoting ? "\u2026" : receive ? `${receive} ${toTicker}` : "\u2014" }),
|
|
6637
|
-
meta && !quoting ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
|
|
6638
|
-
"via ",
|
|
6639
|
-
meta.bridge,
|
|
6640
|
-
" \xB7 fee ",
|
|
6641
|
-
meta.feeBps,
|
|
6642
|
-
" bps",
|
|
6643
|
-
meta.duration ? ` \xB7 ~${meta.duration}s` : ""
|
|
6644
|
-
] }) : null
|
|
6645
|
-
] }) : null,
|
|
6646
|
-
connected && flow.selected && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(CompliancePanel, { compliance: flow.selected.quote.compliance, direct: flow.selected.state === "DIRECT" }) : null,
|
|
7255
|
+
notices,
|
|
6647
7256
|
submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
|
|
6648
|
-
|
|
6649
|
-
!connected && !rampMode ? /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }) : /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: rampMode ? void 0 : flow.submit, busy: submitting, disabled: rampMode || !quotable || !cryptoReady || connected && (!flow.selected || flow.insufficient || !!flow.nativeShortfall || flow.status === "loading"), children: ctaLabel }),
|
|
6650
|
-
wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
|
|
6651
|
-
] })
|
|
7257
|
+
cta
|
|
6652
7258
|
] });
|
|
6653
7259
|
}
|
|
6654
|
-
const card = /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title, theme: config.theme, heightPx: props.heightPx, walletSlot, children: body });
|
|
7260
|
+
const card = /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title, theme: config.theme, heightPx: props.heightPx, walletSlot, onClose: props.onClose, wide, children: body });
|
|
6655
7261
|
if (!wide) return card;
|
|
6656
7262
|
const resolved = resolveTheme(config.theme);
|
|
6657
7263
|
const vars = themeToVars(resolved);
|
|
6658
7264
|
let side;
|
|
6659
|
-
if (
|
|
7265
|
+
if (sheetBody) {
|
|
7266
|
+
side = sheetBody;
|
|
7267
|
+
} else if (rampMode) {
|
|
6660
7268
|
side = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-noroutes", children: [
|
|
6661
7269
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-noroutes-icon", children: /* @__PURE__ */ jsxRuntime.jsx(RouteGlyph, {}) }),
|
|
6662
7270
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-noroutes-title", children: soonLabel }),
|
|
@@ -6683,45 +7291,22 @@ function StableGenieExchange(props) {
|
|
|
6683
7291
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-noroutes-title", children: "No routes available" }),
|
|
6684
7292
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-noroutes-sub", children: "Reasons for that could be: low liquidity, amount selected is too low, gas costs are too high or there are no routes for the selected combination." })
|
|
6685
7293
|
] });
|
|
6686
|
-
} else if (
|
|
6687
|
-
side = /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
6688
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
] }),
|
|
6693
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
|
|
6694
|
-
"on ",
|
|
6695
|
-
CHAIN_LABELS[to?.chainId ?? 0] || `Chain ${to?.chainId}`
|
|
6696
|
-
] }),
|
|
6697
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta", children: [
|
|
6698
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
|
|
6699
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "You send" }),
|
|
6700
|
-
/* @__PURE__ */ jsxRuntime.jsxs("b", { className: "sg-mono", children: [
|
|
6701
|
-
normalizedAmount,
|
|
6702
|
-
" ",
|
|
6703
|
-
fromTicker
|
|
6704
|
-
] })
|
|
6705
|
-
] }),
|
|
6706
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
|
|
6707
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "Route" }),
|
|
6708
|
-
/* @__PURE__ */ jsxRuntime.jsx("b", { children: meta?.bridge || "ZeroDelta" })
|
|
6709
|
-
] }),
|
|
6710
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
|
|
6711
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "Fee" }),
|
|
6712
|
-
/* @__PURE__ */ jsxRuntime.jsxs("b", { children: [
|
|
6713
|
-
meta?.feeBps ?? 0,
|
|
6714
|
-
" bps"
|
|
6715
|
-
] })
|
|
7294
|
+
} else if (hasQuote && receive) {
|
|
7295
|
+
side = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-side-body", children: [
|
|
7296
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv", children: [
|
|
7297
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-line", children: [
|
|
7298
|
+
/* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: to?.symbol ?? "", logoUrl: toToken?.logoUrl, chainId: to?.chainId, size: "xs" }),
|
|
7299
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-recv-amt", children: /* @__PURE__ */ jsxRuntime.jsx(AmountText, { value: receive, suffix: toTicker }) })
|
|
6716
7300
|
] }),
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
7301
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
|
|
7302
|
+
"On ",
|
|
7303
|
+
CHAIN_LABELS[to?.chainId ?? 0] || `Chain ${to?.chainId}`
|
|
7304
|
+
] })
|
|
7305
|
+
] }),
|
|
7306
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
|
|
7307
|
+
rateBox(true),
|
|
7308
|
+
complianceButton(true),
|
|
7309
|
+
quoteButton(true)
|
|
6725
7310
|
] })
|
|
6726
7311
|
] });
|
|
6727
7312
|
} else {
|
|
@@ -6733,8 +7318,8 @@ function StableGenieExchange(props) {
|
|
|
6733
7318
|
}
|
|
6734
7319
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-duo-wrap", "data-sg-mode": resolved.mode, style: vars, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-duo", children: [
|
|
6735
7320
|
card,
|
|
6736
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-widget", "data-sg-mode": resolved.mode, style: props.heightPx ? { height: props.heightPx } : void 0, children: [
|
|
6737
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-side-title", children: "
|
|
7321
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-widget", "data-sg-side": "", "data-sg-mode": resolved.mode, style: props.heightPx ? { height: props.heightPx } : void 0, children: [
|
|
7322
|
+
sheetBody ? null : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-side-title", children: product === "rwa" ? "You receive (estimated)" : "You receive" }),
|
|
6738
7323
|
side
|
|
6739
7324
|
] })
|
|
6740
7325
|
] }) });
|