@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/index.cjs CHANGED
@@ -1712,7 +1712,7 @@ var CHANNEL_HEADER = "x-zd-channel";
1712
1712
  var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
1713
1713
  var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
1714
1714
  var WIDGET_CHANNEL = "widget";
1715
- var WIDGET_VERSION = "4.5.0" ;
1715
+ var WIDGET_VERSION = "4.6.0" ;
1716
1716
  var MAX_CHANNEL_VERSION_LEN = 32;
1717
1717
  function sanitizeVersion(raw) {
1718
1718
  const v = String(raw).trim();
@@ -1950,6 +1950,33 @@ function createApiClient(cfg) {
1950
1950
  cache.vaults = { at: Date.now(), value };
1951
1951
  return value;
1952
1952
  }
1953
+ const priceCache = /* @__PURE__ */ new Map();
1954
+ async function fetchPrices(symbols) {
1955
+ const wanted = [...new Set(symbols.map((s) => String(s || "").toUpperCase()).filter((s) => /^[A-Z0-9]{1,16}$/.test(s)))];
1956
+ const missing = wanted.filter((s) => !nowFresh(priceCache.get(s) ?? null));
1957
+ if (missing.length) {
1958
+ let prices = {};
1959
+ try {
1960
+ const snapshot = await apiRequest(`/prices?symbols=${encodeURIComponent(missing.join(","))}`, {
1961
+ timeoutMs: 8e3
1962
+ });
1963
+ prices = snapshot && typeof snapshot === "object" && !snapshot.stale && snapshot.prices && typeof snapshot.prices === "object" ? snapshot.prices : {};
1964
+ } catch {
1965
+ prices = {};
1966
+ }
1967
+ const at = Date.now();
1968
+ for (const s of missing) {
1969
+ const n = Number(prices[s]);
1970
+ priceCache.set(s, { at, value: Number.isFinite(n) && n > 0 ? n : null });
1971
+ }
1972
+ }
1973
+ const out = {};
1974
+ for (const s of wanted) {
1975
+ const value = priceCache.get(s)?.value;
1976
+ if (value != null) out[s] = value;
1977
+ }
1978
+ return out;
1979
+ }
1953
1980
  async function fetchQuote(body, retries = 1) {
1954
1981
  let lastError;
1955
1982
  for (let attempt = 0; attempt <= retries; attempt += 1) {
@@ -2009,7 +2036,7 @@ function createApiClient(cfg) {
2009
2036
  return false;
2010
2037
  }
2011
2038
  }
2012
- return { apiRequest, fetchChains, fetchTokens, fetchRoutes, fetchRouteHealth, fetchRwaVaults, fetchQuote, screenWallet, reportSubmission, apiBase };
2039
+ return { apiRequest, fetchChains, fetchTokens, fetchRoutes, fetchRouteHealth, fetchRwaVaults, fetchPrices, fetchQuote, screenWallet, reportSubmission, apiBase };
2013
2040
  }
2014
2041
 
2015
2042
  // src/core/plan.ts
@@ -2192,6 +2219,14 @@ function validateSwap(swap = {}) {
2192
2219
  if (!/^\d+(\.\d+)?$/.test(amountIn) || Number(amountIn) <= 0 || Number(amountIn) > 1e9) throw new Error("Enter a valid swap amount.");
2193
2220
  return { fromChainId, toChainId, fromToken, toToken, amountIn };
2194
2221
  }
2222
+ function viaOf(quote, tokens) {
2223
+ const orders = Array.isArray(quote.orderRequests) ? quote.orderRequests : [];
2224
+ if (orders.length < 2) return null;
2225
+ const first = orders[0];
2226
+ const wanted = normalizeAddress(first?.askToken);
2227
+ const token = wanted ? tokens.find((t) => Number(t.chainId) === Number(first?.destinationChainId) && normalizeAddress(t.address) === wanted) : void 0;
2228
+ return token ? tokenTicker(token) : "";
2229
+ }
2195
2230
  async function quoteSwapPreview(api, swap, owner) {
2196
2231
  const v = validateSwap(swap);
2197
2232
  const tokens = await api.fetchTokens();
@@ -2220,7 +2255,9 @@ async function quoteSwapPreview(api, swap, owner) {
2220
2255
  toToken: destToken.symbol,
2221
2256
  bridge: quote.bridge || "",
2222
2257
  feeBps: Number(quote.feeBps || 0),
2223
- estimatedDuration: Number(quote.estimatedDuration || 0)
2258
+ estimatedDuration: Number(quote.estimatedDuration || 0),
2259
+ via: viaOf(quote, tokens),
2260
+ nativeFeeRaw: /^\d+$/.test(String(quote.gasCostSource ?? "")) ? String(quote.gasCostSource) : "0"
2224
2261
  };
2225
2262
  }
2226
2263
  async function buildSwapPlan(api, swap, payer, wallet = {}) {
@@ -2659,6 +2696,7 @@ function createEngine(config = {}) {
2659
2696
  fetchRoutes: api.fetchRoutes,
2660
2697
  fetchRouteHealth: api.fetchRouteHealth,
2661
2698
  fetchQuote: api.fetchQuote,
2699
+ fetchPrices: (symbols) => api.fetchPrices ? api.fetchPrices(symbols) : Promise.resolve({}),
2662
2700
  fetchCatalogue: async (allowedAssets, product) => {
2663
2701
  const [chains, registryTokens, routes, health, vaults] = await Promise.all([
2664
2702
  api.fetchChains().catch(() => []),
@@ -3271,17 +3309,28 @@ function useHoldings(engine, account, routes, initialBalances) {
3271
3309
 
3272
3310
  // src/react/styles.ts
3273
3311
  var WIDGET_CSS = `
3274
- .sg-widget{box-sizing:border-box;width:100%;max-width:400px;margin:0 auto;padding:20px;background:var(--sg-bg);color:var(--sg-text);border:1px solid var(--sg-border);border-radius:var(--sg-radius);font-family:var(--sg-font);font-size:15px;line-height:1.5;box-shadow:0 1px 2px rgba(16,17,22,.04),0 8px 24px rgba(16,17,22,.06)}
3312
+ /* The card as the ZeroDelta widget design draws it (Figma "Widget Playground", 2026-09-30): no
3313
+ border and no shadow, tone steps of the one text colour, and a "raised" fill for the controls that
3314
+ sit on a tinted pane (the token button, the percent chips, the swap button). The tone steps are
3315
+ derived here from --sg-text so a host theme only has to name the text colour once. */
3316
+ .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)}
3317
+ .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))}
3318
+ .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}
3275
3319
  .sg-widget *{box-sizing:border-box}
3276
- :root[data-theme="dark"] .sg-widget,.sg-widget[data-sg-mode="dark"]{box-shadow:0 8px 24px rgba(0,0,0,.4)}
3277
3320
 
3278
- .sg-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
3279
- .sg-title{font-size:15px;font-weight:600;letter-spacing:-0.01em}
3321
+ .sg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:16px;min-height:28px}
3322
+ .sg-head-end{display:flex;align-items:center;gap:8px}
3323
+ /* In a modal or drawer the title centres on the wallet chip and the close button; inline it sits at the top. */
3324
+ .sg-dialog .sg-head{align-items:center}
3325
+ .sg-title{font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90)}
3326
+ .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}
3327
+ .sg-close:hover{color:var(--sg-text)}
3328
+ .sg-close:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3280
3329
  .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}
3281
3330
  .sg-brand-mark{flex:0 0 auto;display:block}
3282
3331
 
3283
3332
  .sg-label{display:block;font-size:12px;color:var(--sg-text-muted);margin-bottom:6px}
3284
- .sg-panel{background:var(--sg-surface);border:1px solid var(--sg-border);border-radius:var(--sg-radius-control);padding:16px}
3333
+ .sg-panel{background:var(--sg-surface);border-radius:var(--sg-radius-control);padding:16px}
3285
3334
  .sg-panel + .sg-panel{margin-top:12px}
3286
3335
  .sg-row{display:flex;gap:10px;align-items:center}
3287
3336
  .sg-row>*{min-width:0}
@@ -3297,8 +3346,9 @@ var WIDGET_CSS = `
3297
3346
  /* inputs */
3298
3347
  .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}
3299
3348
  .sg-input:focus,.sg-select:focus{border-color:var(--sg-accent)}
3300
- .sg-amount{font-size:28px;font-weight:700;border:none;background:transparent;padding:0}
3349
+ .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}
3301
3350
  .sg-amount:focus{border:none}
3351
+ .sg-amount::placeholder{color:var(--sg-t35)}
3302
3352
  .sg-field{margin-bottom:12px}
3303
3353
  .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}
3304
3354
  .sg-reverse:hover{color:var(--sg-accent);border-color:var(--sg-accent)}
@@ -3350,13 +3400,13 @@ var WIDGET_CSS = `
3350
3400
  .sg-badge[data-tone="warn"]{background:color-mix(in srgb,var(--sg-danger) 14%,transparent);color:var(--sg-danger)}
3351
3401
 
3352
3402
  /* CTA */
3353
- .sg-btn{width:100%;min-height:48px;padding:12px 16px;border:none;border-radius:var(--sg-radius-cta);background:var(--sg-accent);color:var(--sg-accent-text);font:inherit;font-size:15px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter 120ms ease,opacity 120ms ease,transform 60ms ease}
3403
+ .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}
3354
3404
  .sg-btn:hover:not(:disabled){filter:brightness(1.06)}
3355
3405
  .sg-btn:active:not(:disabled){transform:translateY(1px)}
3356
3406
  .sg-btn:disabled{opacity:.5;cursor:not-allowed}
3357
3407
  .sg-btn-ghost{background:transparent;color:var(--sg-text);border:1px solid var(--sg-border)}
3358
3408
  .sg-btn-ghost:hover:not(:disabled){filter:none;border-color:var(--sg-accent);color:var(--sg-accent)}
3359
- .sg-cta-wrap{margin-top:14px}
3409
+ .sg-cta-wrap{margin-top:16px}
3360
3410
  .sg-cta-wrap .sg-btn+.sg-btn{margin-top:8px}
3361
3411
 
3362
3412
  /* status / steps */
@@ -3387,35 +3437,33 @@ var WIDGET_CSS = `
3387
3437
  @keyframes sg-spin{to{transform:rotate(360deg)}}
3388
3438
  @keyframes sg-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
3389
3439
 
3390
- .sg-foot{margin-top:14px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:var(--sg-text-muted);text-align:center}
3391
- /* display:inline-block is load-bearing, not tidiness. A host running a CSS reset \u2014 Tailwind
3392
- preflight, which most integrators use and which this repo's own playground applies \u2014 sets
3393
- svg{display:block}, and the padlock then takes a line of its own above the sentence. Every other
3394
- glyph in the widget sits in a flex or absolute box where that is harmless; this is the one that
3395
- lives in normal text flow. (WIDGET_CSS is a template literal: no backticks in these comments.) */
3396
- .sg-foot svg{display:inline-block;vertical-align:-1px;margin-right:5px}
3440
+ /* "Powered by ZeroDelta" with the brand mark. A flex row, so a host reset that sets
3441
+ svg{display:block} (Tailwind preflight) changes nothing. */
3442
+ .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}
3443
+ .sg-foot-mark{flex:0 0 auto;display:block}
3397
3444
 
3398
3445
  /* fixed-height variant \u2014 head/foot pinned, body scrolls */
3399
3446
  .sg-widget[data-sg-fixed="true"]{display:flex;flex-direction:column}
3400
3447
  .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}
3401
3448
 
3402
3449
  /* head wallet pill (Connect wallet / connected address) */
3403
- .sg-wallet{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--sg-radius-cta);border:1px solid var(--sg-border);background:transparent;color:var(--sg-text);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:border-color 120ms ease,color 120ms ease}
3450
+ .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}
3404
3451
  .sg-wallet:hover{border-color:var(--sg-accent);color:var(--sg-accent)}
3405
- .sg-wallet[data-connected="true"]{cursor:default;color:var(--sg-text-muted)}
3406
- .sg-wallet[data-connected="true"]:hover{border-color:var(--sg-border);color:var(--sg-text-muted)}
3407
- .sg-wallet-dot{width:7px;height:7px;border-radius:999px;background:var(--sg-success)}
3452
+ .sg-wallet[data-connected="true"]{cursor:default;color:var(--sg-t72)}
3453
+ .sg-wallet[data-connected="true"]:hover{border-color:var(--sg-border);color:var(--sg-t72)}
3454
+ .sg-wallet-dot{width:6px;height:6px;border-radius:999px;background:var(--sg-success)}
3408
3455
 
3409
3456
  /* From/To tiles with a centered arrow (exchange layout) */
3410
- .sg-ft{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px}
3411
- .sg-tile{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--sg-border);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:border-color 120ms ease}
3412
- .sg-tile:hover:not(:disabled){border-color:color-mix(in srgb,var(--sg-accent) 45%,var(--sg-border))}
3457
+ .sg-ft{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px}
3458
+ .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}
3459
+ .sg-tile:hover:not(:disabled){background:color-mix(in srgb,var(--sg-accent) 8%,var(--sg-bg))}
3413
3460
  .sg-tile:disabled{cursor:default}
3414
- .sg-tile-label{font-size:12px;color:var(--sg-text-muted)}
3415
- .sg-tile-main{display:flex;align-items:center;gap:10px;min-width:0}
3416
- .sg-tile-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
3417
- .sg-tile-sym{font-size:16px;font-weight:700;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3418
- .sg-tile-chain{font-size:11px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3461
+ .sg-tile-label{font-size:13px;line-height:18px;color:var(--sg-t60)}
3462
+ .sg-tile-main{display:flex;align-items:flex-start;gap:14px;min-width:0;max-width:100%}
3463
+ /* A flex COLUMN: as inline spans the ticker and the chain ran together on one line. */
3464
+ .sg-tile-text{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
3465
+ .sg-tile-sym{font-size:16px;font-weight:500;line-height:19px;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3466
+ .sg-tile-chain{font-size:12px;line-height:14px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3419
3467
  .sg-tile-empty{color:var(--sg-text-muted);font-size:15px;font-weight:600}
3420
3468
  .sg-funding-glyphs{display:flex;align-items:center;flex:0 0 auto;padding-right:2px}
3421
3469
  .sg-funding-glyphs .sg-tok{box-shadow:0 0 0 2px var(--sg-surface);border-radius:999px}
@@ -3431,6 +3479,17 @@ var WIDGET_CSS = `
3431
3479
  img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3432
3480
  .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}
3433
3481
  .sg-tok[data-size="sm"] .sg-tok-fb{font-size:9px}
3482
+ /* The design's three marks: 32px on a From/To tile, 24px in a token button, 18px on the rate line. */
3483
+ .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}
3484
+ .sg-tok[data-size="tile"] .sg-tok-fb{font-size:10px}
3485
+ .sg-tok[data-size="tile"] .sg-tok-badge{right:-4px;bottom:-5.5px;border-color:var(--sg-surface)}
3486
+ /* the side card's receive mark carries the smaller badge, ringed in the card colour */
3487
+ .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)}
3488
+ .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}
3489
+ .sg-tok[data-size="xs"] .sg-tok-fb{font-size:8px}
3490
+ .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}
3491
+ .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}
3492
+ .sg-tok[data-size="xxs"] .sg-tok-fb{font-size:6px}
3434
3493
 
3435
3494
  /* fiat side (on/off-ramp) */
3436
3495
  .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}
@@ -3443,10 +3502,10 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3443
3502
  .sg-amount-note{font-size:12px;font-weight:600;line-height:1.35;color:var(--sg-text-muted);margin-top:6px}
3444
3503
  .sg-amount-note[data-tone="error"]{color:var(--sg-danger)}
3445
3504
  .sg-amount[aria-invalid="true"]{color:var(--sg-danger)}
3446
- .sg-pct-row{display:flex;gap:8px;margin-top:12px}
3447
- .sg-pct{flex:1 1 0;padding:7px 0;border-radius:var(--sg-radius-cta);border:1px solid var(--sg-border);background:var(--sg-bg);color:var(--sg-text-muted);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:color 120ms ease,border-color 120ms ease}
3448
- .sg-pct:hover:not(:disabled){color:var(--sg-accent);border-color:var(--sg-accent)}
3449
- .sg-pct:disabled{opacity:.45;cursor:not-allowed}
3505
+ .sg-pct-row{display:flex;gap:4px}
3506
+ .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}
3507
+ .sg-pct:hover:not(:disabled){color:var(--sg-accent)}
3508
+ .sg-pct:disabled{opacity:.55;cursor:not-allowed}
3450
3509
 
3451
3510
  /* full-panel token selector (Exchange from / Exchange to) */
3452
3511
  .sg-sel-head{display:flex;align-items:center;margin-bottom:14px}
@@ -3494,10 +3553,10 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3494
3553
  /* width:100% is load-bearing: an inline-size container has NO intrinsic width, so as a flex/grid
3495
3554
  item it would collapse to 0 and hide the whole widget. It fills the host slot; .sg-duo centers. */
3496
3555
  .sg-duo-wrap{container-type:inline-size;width:100%;font-family:var(--sg-font)}
3497
- .sg-duo{display:grid;grid-template-columns:minmax(0,400px) minmax(0,380px);gap:18px;align-items:start;justify-content:center;font-family:var(--sg-font)}
3498
- @container (max-width:840px){.sg-duo{grid-template-columns:minmax(0,400px)}}
3499
- @media (max-width:920px){.sg-duo{grid-template-columns:minmax(0,400px)}}
3500
- .sg-side-title{font-size:15px;font-weight:600;letter-spacing:-0.01em;margin-bottom:14px}
3556
+ .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)}
3557
+ @container (max-width:660px){.sg-duo{grid-template-columns:minmax(0,380px)}}
3558
+ @media (max-width:700px){.sg-duo{grid-template-columns:minmax(0,380px)}}
3559
+ .sg-side-title{font-size:18px;font-weight:500;line-height:22px;color:var(--sg-t90);margin-bottom:16px}
3501
3560
  .sg-noroutes{padding:34px 14px;text-align:center}
3502
3561
  .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}
3503
3562
  .sg-noroutes-title{font-size:16px;font-weight:700;margin-bottom:8px}
@@ -3507,12 +3566,14 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3507
3566
  .sg-meta-row:last-child{border-bottom:none}
3508
3567
  .sg-meta-row b{font-weight:600;font-variant-numeric:tabular-nums}
3509
3568
  .sg-meta-label{color:var(--sg-text-muted)}
3510
- .sg-recv-amt{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-0.01em}
3511
- .sg-recv-sub{font-size:12px;color:var(--sg-text-muted);margin-top:2px}
3569
+ .sg-recv{display:flex;flex-direction:column;gap:2px;min-width:0}
3570
+ .sg-recv-line{display:flex;align-items:flex-end;gap:12px;min-width:0}
3571
+ .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}
3572
+ .sg-recv-sub{font-size:12px;line-height:14px;color:var(--sg-text-muted);padding-left:36px}
3512
3573
 
3513
3574
  /* head tools: history entry point beside the wallet pill / brand chip */
3514
3575
  .sg-head-tools{display:flex;align-items:center;gap:8px}
3515
- .sg-hist{width:32px;height:32px;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}
3576
+ .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}
3516
3577
  .sg-hist:hover{color:var(--sg-accent);border-color:var(--sg-accent)}
3517
3578
 
3518
3579
  /* transaction history row. NOT the picker's flex row: at 390px that layout wrapped the pair onto two
@@ -3804,6 +3865,135 @@ img.sg-tok-badge{width:16px;padding:0;object-fit:cover;background:var(--sg-bg)}
3804
3865
 
3805
3866
  /* express (PaymentIsland) trims the card padding, so the sheet follows */
3806
3867
  @media (prefers-reduced-motion:reduce){.sg-cp-sheet{animation:none}}
3868
+
3869
+ /* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
3870
+ The card body of the ZeroDelta widget design (Figma "Widget Playground", 2026-09-30).
3871
+ One column with a 4px rhythm: the tinted "You pay" / "You receive" panes with the swap button
3872
+ riding the seam between them, the detail buttons, and the rate box. Every radius follows the
3873
+ theme so the playground's corner slider (and a host theme) moves all of them together.
3874
+ \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
3875
+ .sg-stack{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0}
3876
+ .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)}
3877
+ .sg-pane[data-kind="pay"] .sg-pane-foot{margin-top:2px}
3878
+ .sg-pane[data-kind="send"]{gap:12px;padding:16px 20px}
3879
+ .sg-pane[data-kind="send"] .sg-pct{padding:7px 10px}
3880
+ .sg-widget[data-sg-mode="dark"] .sg-pane[data-kind="send"] .sg-pct{background:transparent;border:1px solid var(--sg-border)}
3881
+ .sg-pane[data-kind="send"] .sg-pane-foot{line-height:18px}
3882
+ .sg-pane[data-kind="send"] .sg-pane-foot>span:last-child{font-size:13px}
3883
+ .sg-pane[data-kind="send"] .sg-amount{line-height:20px}
3884
+ .sg-pane-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:21px}
3885
+ .sg-pane-label{font-size:13px;line-height:18px;color:var(--sg-t60);white-space:nowrap}
3886
+ .sg-pane-mid{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
3887
+ /* The amount takes what the token button leaves, never the other way round: an input's intrinsic
3888
+ width (about twenty characters) otherwise squeezed the button down to "U\u2026". */
3889
+ .sg-pane-mid>.sg-amount,.sg-pane-mid>.sg-amt-out{flex:1 1 0;width:0;min-width:0}
3890
+ .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}
3891
+ /* "You receive" runs its USD line straight under the amount row: no gap, as the design draws it. */
3892
+ .sg-pane[data-kind="receive"]>.sg-pane-foot{margin-top:-10px}
3893
+ .sg-pane-foot b{font-weight:400;color:var(--sg-t90)}
3894
+ .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))}
3895
+
3896
+ /* amounts: the display face, the decimals greyed */
3897
+ .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}
3898
+ .sg-amt-dec,.sg-amt-empty{color:var(--sg-t35)}
3899
+
3900
+ /* the token button inside a pane */
3901
+ .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}
3902
+ .sg-tokbtn .sg-tok{margin-right:6px;align-self:flex-start}
3903
+ .sg-tokbtn:disabled{cursor:default}
3904
+ .sg-tokbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3905
+ .sg-tokbtn-text{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.2}
3906
+ .sg-tokbtn-text>.sg-tokbtn-sym{line-height:17px}
3907
+ .sg-tokbtn-text>.sg-tokbtn-chain{line-height:14px}
3908
+ .sg-tokbtn-sym{font-size:14px;font-weight:500;color:var(--sg-t90);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3909
+ .sg-tokbtn-chain{font-size:12px;color:var(--sg-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3910
+ .sg-tokbtn-chev{display:flex;flex:0 0 auto;color:var(--sg-t80);transition:color 120ms ease,transform 120ms ease}
3911
+ .sg-tokbtn:hover:not(:disabled) .sg-tokbtn-chev{color:var(--sg-accent);transform:translateX(1px)}
3912
+ .sg-tokbtn--fiat{gap:8px;padding-right:12px;cursor:default}
3913
+ .sg-tokbtn-select{border:0;background:transparent;color:var(--sg-t90);font:inherit;font-size:14px;font-weight:500;cursor:pointer;padding:0 2px}
3914
+ .sg-fiat[data-size="xs"]{width:24px;height:24px;font-size:12px}
3915
+
3916
+ /* the swap button on the seam between the panes (and the small one between the From/To tiles) */
3917
+ .sg-flip-slot{position:relative;height:0;margin:-2px 0;z-index:1}
3918
+ .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}
3919
+ .sg-flip:hover:not(:disabled){color:var(--sg-accent)}
3920
+ .sg-flip:disabled{cursor:default}
3921
+ .sg-flip:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3922
+ .sg-ft>.sg-flip-slot{position:absolute;left:50%;top:50%;width:0;margin:0}
3923
+ .sg-flip[data-small]{width:24px;height:24px}
3924
+ .sg-flip-rot{display:flex;transform:rotate(-90deg)}
3925
+
3926
+ /* detail buttons \u2014 Compliance, Quote */
3927
+ .sg-dbtn-row{display:flex;gap:4px;min-width:0}
3928
+ .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}
3929
+ .sg-dbtn[data-size="lg"]{flex:0 0 auto;width:100%}
3930
+ .sg-widget[data-sg-side] .sg-dbtn,.sg-overlay[data-sg-overlay="drawer"] .sg-dbtn{height:44px}
3931
+ .sg-dbtn:hover:not(:disabled){border-color:color-mix(in srgb,var(--sg-accent) 40%,var(--sg-border))}
3932
+ .sg-dbtn:disabled{cursor:default;opacity:.55}
3933
+ .sg-dbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3934
+ .sg-dbtn-main{display:flex;align-items:center;gap:6px;min-width:0}
3935
+ .sg-dbtn-icon{display:flex;flex:0 0 auto;color:var(--sg-info)}
3936
+ .sg-dbtn-icon[data-tone="ok"]{color:var(--sg-success)}
3937
+ .sg-dbtn-icon[data-tone="warn"]{color:var(--sg-danger)}
3938
+ .sg-dbtn-icon[data-tone="muted"]{color:var(--sg-text-muted)}
3939
+ .sg-dbtn-label{font-size:13px;font-weight:500;line-height:16px;color:var(--sg-t80);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
3940
+ .sg-dbtn-chev{display:flex;flex:0 0 auto;color:var(--sg-t80)}
3941
+ .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}
3942
+ .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)}
3943
+ .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)}
3944
+ .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)}
3945
+ .sg-dpill[data-tone="warn"]{background:color-mix(in srgb,var(--sg-danger) 8%,transparent);color:var(--sg-danger)}
3946
+ .sg-dpill[data-tone="muted"]{background:color-mix(in srgb,var(--sg-text) 6%,transparent);color:var(--sg-text-muted)}
3947
+
3948
+ /* the rate box */
3949
+ .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)}
3950
+ .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}
3951
+ .sg-rate-head:disabled{cursor:default}
3952
+ .sg-rate-head:focus-visible{outline:2px solid var(--sg-accent);outline-offset:4px;border-radius:6px}
3953
+ .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}
3954
+ .sg-rate-chev{display:flex;flex:0 0 auto;color:var(--sg-t80)}
3955
+ .sg-rate-rows{margin:0;display:flex;flex-direction:column;gap:4px}
3956
+ .sg-rate-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:13px;line-height:1.4}
3957
+ .sg-rate-row dt{color:var(--sg-t60)}
3958
+ .sg-rate-row dd{margin:0;font-weight:500;color:var(--sg-t80);text-align:right}
3959
+ .sg-qs-facts .sg-cp-fact{grid-template-columns:104px minmax(0,1fr)}
3960
+
3961
+ /* the wide layout: the main card and the "You receive" side card */
3962
+ .sg-widget[data-sg-wide]{max-width:360px;padding:20px 12px}
3963
+ .sg-widget[data-sg-side]{max-width:280px;padding:20px 12px}
3964
+ @container (max-width:660px){.sg-widget[data-sg-wide],.sg-widget[data-sg-side]{max-width:380px}}
3965
+ .sg-side-body{display:flex;flex-direction:column;gap:16px}
3966
+
3967
+ /* a detail sheet opened in place of the card body fills it edge to edge */
3968
+ .sg-body>.sg-cp-sheet,.sg-widget[data-sg-side]>.sg-cp-sheet{padding:0;border:0;background:transparent}
3969
+
3970
+ /* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
3971
+ variant="pill": one button that opens the card in a modal or a right-hand drawer. The overlay is
3972
+ position:fixed \u2014 it fills the viewport, or the nearest ancestor that establishes a containing
3973
+ block for fixed descendants (a transform), which is how a host confines it to one region.
3974
+ \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
3975
+ .sg-pill-root{width:100%;font-family:var(--sg-font);color:var(--sg-text)}
3976
+ .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}
3977
+ .sg-pillbtn:hover{filter:brightness(1.06)}
3978
+ .sg-pillbtn:active{transform:translateY(1px)}
3979
+ .sg-pillbtn:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}
3980
+ .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}
3981
+ .sg-pillbtn-mark{flex:0 0 auto;display:block}
3982
+ .sg-pillbtn-amt{flex:0 0 auto;font-weight:700;white-space:nowrap}
3983
+ .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}
3984
+ .sg-overlay[data-sg-overlay="modal"]{align-items:flex-start;justify-content:center;padding:48px 16px;overflow-y:auto}
3985
+ .sg-overlay[data-sg-overlay="drawer"]{align-items:stretch;justify-content:flex-end}
3986
+ .sg-overlay-scrim{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:default}
3987
+ .sg-dialog{position:relative;display:flex;width:100%;max-width:380px}
3988
+ .sg-dialog>.sg-widget{flex:1 1 auto}
3989
+ .sg-overlay[data-sg-overlay="modal"] .sg-dialog{animation:sg-scale-in var(--sg-motion-base) var(--sg-ease-out-soft) both}
3990
+ .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}
3991
+ .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}
3992
+ .sg-overlay[data-sg-overlay="drawer"] .sg-body{flex:1 1 auto;display:flex;flex-direction:column}
3993
+ .sg-overlay[data-sg-overlay="drawer"] .sg-cta-wrap{margin-top:auto;padding-top:16px}
3994
+ .sg-overlay[data-sg-overlay="drawer"] .sg-pane--note{min-height:145px}
3995
+ @keyframes sg-drawer-in{from{transform:translateX(100%)}to{transform:none}}
3996
+ @media (prefers-reduced-motion:reduce){.sg-overlay,.sg-dialog{animation:none!important}.sg-pillbtn{transition:none}}
3807
3997
  `;
3808
3998
  var injected = false;
3809
3999
  function injectStyles() {
@@ -3829,43 +4019,49 @@ var MOTION = {
3829
4019
  easeInOut: "cubic-bezier(0.4,0,0.2,1)",
3830
4020
  easeSpring: "cubic-bezier(0.34,1.56,0.64,1)"
3831
4021
  };
4022
+ var FONT = "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif";
3832
4023
  var lightTheme = {
3833
4024
  mode: "light",
3834
4025
  accent: "#4358e1",
3835
4026
  accentText: "#ffffff",
3836
4027
  bg: "#ffffff",
3837
- surface: "#f7f8fc",
3838
- border: "#e6e8f0",
3839
- text: "#0e1116",
3840
- textMuted: "#6b7280",
4028
+ surface: "#f7f8fe",
4029
+ border: "#e8ebfb",
4030
+ text: "#2c2d34",
4031
+ textMuted: "#959699",
3841
4032
  danger: "#df1b41",
3842
- success: "#12805c",
3843
- radius: "20px",
3844
- radiusControl: "10px",
3845
- radiusCta: "999px",
3846
- font: "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif",
4033
+ success: "#2abd7d",
4034
+ radius: "24px",
4035
+ radiusControl: "24px",
4036
+ radiusCta: "24px",
4037
+ font: FONT,
4038
+ fontDisplay: `Benzin, ${FONT}`,
3847
4039
  ...MOTION
3848
4040
  };
3849
4041
  var darkTheme = {
3850
4042
  mode: "dark",
3851
- accent: "#7b8cff",
3852
- accentText: "#0b0d12",
3853
- bg: "#0e1116",
3854
- surface: "#161a22",
3855
- border: "#252b36",
3856
- text: "#eef1f6",
3857
- textMuted: "#9aa4b2",
4043
+ accent: "#4358e1",
4044
+ accentText: "#ffffff",
4045
+ bg: "#0e1115",
4046
+ surface: "#1b1d22",
4047
+ border: "#343541",
4048
+ text: "#ffffff",
4049
+ textMuted: "#87888a",
4050
+ info: "#8c9bff",
3858
4051
  danger: "#ff5470",
3859
- success: "#3ddc97",
3860
- radius: "20px",
3861
- radiusControl: "10px",
3862
- radiusCta: "999px",
3863
- font: "'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif",
4052
+ success: "#2abd7d",
4053
+ radius: "24px",
4054
+ radiusControl: "24px",
4055
+ radiusCta: "24px",
4056
+ font: FONT,
4057
+ fontDisplay: `Benzin, ${FONT}`,
3864
4058
  ...MOTION
3865
4059
  };
3866
4060
  function resolveTheme(theme) {
3867
4061
  const base = theme?.mode === "dark" ? darkTheme : lightTheme;
3868
- return { ...base, ...theme };
4062
+ const fontDisplay = theme?.fontDisplay || (theme?.font ? theme.font : base.fontDisplay);
4063
+ const info = theme?.info || (theme?.accent ? theme.accent : base.info);
4064
+ return { ...base, ...theme, fontDisplay, info };
3869
4065
  }
3870
4066
  function themeToVars(theme) {
3871
4067
  return {
@@ -3876,12 +4072,14 @@ function themeToVars(theme) {
3876
4072
  "--sg-border": theme.border,
3877
4073
  "--sg-text": theme.text,
3878
4074
  "--sg-text-muted": theme.textMuted,
4075
+ "--sg-info": theme.info || theme.accent,
3879
4076
  "--sg-danger": theme.danger,
3880
4077
  "--sg-success": theme.success,
3881
4078
  "--sg-radius": theme.radius,
3882
4079
  "--sg-radius-control": theme.radiusControl,
3883
4080
  "--sg-radius-cta": theme.radiusCta,
3884
4081
  "--sg-font": theme.font,
4082
+ "--sg-font-display": theme.fontDisplay || theme.font,
3885
4083
  "--sg-motion-fast": theme.motionFast,
3886
4084
  "--sg-motion-base": theme.motionBase,
3887
4085
  "--sg-motion-slow": theme.motionSlow,
@@ -3930,37 +4128,6 @@ function BrandMark({ size = 18, mono = false, className, style, title }) {
3930
4128
  }
3931
4129
  );
3932
4130
  }
3933
- function LockGlyph() {
3934
- 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: [
3935
- /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4", y: "11", width: "16", height: "10", rx: "2" }),
3936
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 11V8a4 4 0 0 1 8 0v3" })
3937
- ] });
3938
- }
3939
- function WidgetShell(props) {
3940
- injectStyles();
3941
- const resolved = resolveTheme(props.theme);
3942
- const vars = themeToVars(resolved);
3943
- const fixed = Number.isFinite(props.heightPx) && props.heightPx > 0;
3944
- const style = fixed ? { ...vars, height: props.heightPx } : vars;
3945
- 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: [
3946
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head", children: [
3947
- props.brandSlot ?? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-title", children: props.title }),
3948
- props.walletSlot ?? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
3949
- /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
3950
- "ZeroDelta"
3951
- ] })
3952
- ] }),
3953
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-body", children: props.children }),
3954
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-foot", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
3955
- /* @__PURE__ */ jsxRuntime.jsx(LockGlyph, {}),
3956
- " Your wallet signs every transaction \xB7 Powered by ZeroDelta"
3957
- ] }) })
3958
- ] });
3959
- }
3960
- function shortAddress2(a) {
3961
- if (!a) return "";
3962
- return `${a.slice(0, 6)}\u2026${a.slice(-4)}`;
3963
- }
3964
4131
  var SOURCE_CHAIN_LABELS = {
3965
4132
  1: "Ethereum",
3966
4133
  10: "Optimism",
@@ -4175,103 +4342,531 @@ function RouteList(props) {
4175
4342
  ] }) : null
4176
4343
  ] });
4177
4344
  }
4178
- function ShieldTick({ size = 16 }) {
4179
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4180
- /* @__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" }),
4181
- /* @__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" }),
4182
- /* @__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" })
4183
- ] });
4184
- }
4185
- function TickCircle({ size = 16 }) {
4186
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4187
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4188
- /* @__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" })
4189
- ] });
4190
- }
4191
- function CloseCircle({ size = 16 }) {
4192
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4193
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4194
- /* @__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" })
4195
- ] });
4345
+
4346
+ // src/react/ui/chain-logos.ts
4347
+ var BUNDLED_CHAIN_LOGO = {
4348
+ 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+/6VqPGRpPBrheufsPLq7fyBl+6SpvD19/6vvvSHnO9sh+vR2fjj5/vCzfbk6fvCzPbX3/nR2flnguvo7PyoSVf4AAAAZ3RSTlMAA/v8Aw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q3a9GzWQnvTLF9zKKe0HhSG+9luP31IgQMW1dBNuyC65wijhWOPr7eG8ecoQzrQixxAkA46dqxegJueXW10rUkmjyeNQaKgD8cVOOGBlXf+zJMiPWXK9EoJeBUNOrS9CLOiX7oo7HLOr4fqwaA0e1asR+w6wag/1ZlhpGsyzlrTNs8GNZ6lz3zrMGCqkRrnuNfq57YWhlFtZTNX7uw10L62xmYe33Awg+s3K3ThaH+7tyz8lgVu4jWOqP4TsfDQglIZyXlzw+NSM2ai4ICh3pm5CxUXHZhVqeEGMvLLFwnrYwOy5qDQgNHfnDjTAQGTNncWaJlgcfhTz4cAMLlAi1JZmL58REjuLhhlPZzqcn7xiNmnKMxxOGY9hCilqIYeHw6YmwXGPMeOc15unJ6Mi734dAjIQNcYmTi42GEk1ROUWVFmmyDRnFRYlxGxKinUb3a05QMHO7oBkvRa16d+WEFUsxbOmKCSvfXRX10gzG5scEc1n+/wFyD2hmyUaFTQAAAABJRU5ErkJggg==",
4349
+ 10: "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+HjLEP13uX2AB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x6sbsF2+mMTHTSeN+1o3/NxFVV6B/3PfxxmV88l7THXgzqKihwrE7rnLORHZ/g4ycGGx21rzw48bGLr0fkob6D9rVBdbV5PCWszzSHzdC6hoC5D58AbUjs/jKQLX2XSMZPZFr7AJaNQYX893T9CXmL1GLw8X4wj1dorSPQjR1aOrSrtDYThjb+2P8bFAkruR1ThZ6Cg+5uskT+DvXcFmOr5mqaNmbY5cdT5+WGzZ/9JK+oLaW5/8c8YzqumsA1aNVpnBydyukY0aWcTrgK8hplzQFv8f4uAShBQIdqMhsX84fkCJiBpzO5aAulOMcPBaIbe85PJZwond6uJrXAC9atXmXqyirU18o85ZnjQzSgMIH1b/t7/l3bhi//VTF4HdB8xQv/LlLEOv55f7s71J12gJ94nfgB97A5hVbmnpp/XYp1d0uDDgmQ//cLfb2KBmzq4yQiLfrlxBPFZnEEkqETiXIxX/29sRiDlV1Hp2235BhcMHY7QSI8PETuoK6y/Lx80mYLVPi8YDYZmV3nLTuAxJminIxWMhcH301LYfcnWDt6HT6/A2OGOL4AMkznh8Z7fPT1pslBwzFMjba0y9diGuJgpW4Mwb8Oe2uMuELpmuPqE9cMCKzSZBKfGvqoP+qnhQ9rqblcn6kaaAAAAA=="
4357
+ };
4358
+
4359
+ // src/react/ui/logos.ts
4360
+ var BUNDLED_TOKEN_LOGO = {
4361
+ USDC: "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png",
4362
+ USDT: "https://coin-images.coingecko.com/coins/images/325/large/Tether.png",
4363
+ USDE: "https://coin-images.coingecko.com/coins/images/33613/large/usde.png",
4364
+ XAUT: "https://coin-images.coingecko.com/coins/images/10481/large/Tether_Gold.png",
4365
+ // 2026-09-08, with the dapp-parity asset expansion — the same four URLs the dapp draws
4366
+ // (zd-dapp/src/lib/tokenLogos.ts), so the two products show one picture per coin.
4367
+ USDTB: "https://coin-images.coingecko.com/coins/images/52804/large/76357aa8-4ef7-446c-bad3-a3f944eeec7a.jpeg",
4368
+ AUSD: "https://coin-images.coingecko.com/coins/images/39284/large/AUSD_1024px.png",
4369
+ PYUSD: "https://coin-images.coingecko.com/coins/images/31212/large/PYUSD_Token_Logo_2x.png",
4370
+ USDG: "https://coin-images.coingecko.com/coins/images/51281/large/GDN_USDG_Token_200x200.png",
4371
+ // The wider stable list, added 2026-09-08 with the RWA exchange.
4372
+ DAI: "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png",
4373
+ USDS: "https://coin-images.coingecko.com/coins/images/39926/large/usds.webp",
4374
+ RLUSD: "https://coin-images.coingecko.com/coins/images/39651/large/RLUSD_200x200_%281%29.png",
4375
+ USD1: "https://coin-images.coingecko.com/coins/images/54977/large/USD1_1000x1000_transparent.png",
4376
+ WM: "https://coin-images.coingecko.com/coins/images/50789/large/M.png"
4377
+ };
4378
+ function isHttpsUrl(u) {
4379
+ return typeof u === "string" && /^https:\/\//i.test(u);
4196
4380
  }
4197
- function PendingCircle({ size = 16 }) {
4198
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4199
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "9.2", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "3 3" }),
4200
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.5 12h7", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
4201
- ] });
4381
+ function isSameOriginPath2(u) {
4382
+ return typeof u === "string" && u.startsWith("/") && !u.startsWith("//") && !u.startsWith("/\\");
4202
4383
  }
4203
- function Tick({ size = 12 }) {
4204
- 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" }) });
4384
+ function isDisplayableImageSrc(u) {
4385
+ return isHttpsUrl(u) || isSameOriginPath2(u);
4205
4386
  }
4206
- function Cross({ size = 12 }) {
4207
- 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" }) });
4387
+ function tokenLogoCandidates(symbol, logoUrl) {
4388
+ const out = [];
4389
+ if (isDisplayableImageSrc(logoUrl)) out.push(logoUrl);
4390
+ const bundled = BUNDLED_TOKEN_LOGO[symbolKey(symbol)];
4391
+ if (bundled && !out.includes(bundled)) out.push(bundled);
4392
+ return out;
4208
4393
  }
4209
- function Chevron({ size = 16 }) {
4210
- 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" }) });
4394
+ function chainLogoCandidates(chainId, logoUrl) {
4395
+ const out = [];
4396
+ if (isHttpsUrl(logoUrl)) out.push(logoUrl);
4397
+ const bundled = chainId === void 0 ? void 0 : BUNDLED_CHAIN_LOGO[Number(chainId)];
4398
+ if (bundled) out.push(bundled);
4399
+ return out;
4211
4400
  }
4212
- function Info({ size = 16 }) {
4213
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4214
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4215
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 10.6v6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" }),
4216
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "7.6", r: "1.25", fill: "var(--sg-bg)" })
4217
- ] });
4401
+ var CHAIN_SHORT = {
4402
+ 1: "ETH",
4403
+ 10: "OP",
4404
+ 130: "UNI",
4405
+ 146: "SON",
4406
+ 8453: "BASE",
4407
+ 9745: "PLS",
4408
+ 57073: "INK",
4409
+ 42161: "ARB",
4410
+ 98866: "PLM"
4411
+ };
4412
+ function chainBadge(chainId) {
4413
+ const pinned = CHAIN_SHORT[Number(chainId)];
4414
+ if (pinned) return pinned;
4415
+ const name = CHAIN_LABELS[Number(chainId)];
4416
+ return name ? name.replace(/[^A-Za-z]/g, "").slice(0, 3).toUpperCase() : "?";
4218
4417
  }
4219
- function Lock({ size = 16 }) {
4220
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4221
- /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4.5", y: "10.5", width: "15", height: "9.5", rx: "2.2", stroke: "currentColor", strokeWidth: "1.7" }),
4222
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 10.5V7.8a4 4 0 0 1 8 0v2.7", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round" })
4418
+ function TokenGlyph(props) {
4419
+ const [failed, setFailed] = react.useState([]);
4420
+ const src = tokenLogoCandidates(props.symbol, props.logoUrl).find((u) => !failed.includes(u));
4421
+ const mark = props.chainId ? chainLogoCandidates(props.chainId)[0] : void 0;
4422
+ let badge = null;
4423
+ 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) });
4424
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tok", "data-size": props.size && props.size !== "md" ? props.size : void 0, children: [
4425
+ 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) }),
4426
+ badge
4223
4427
  ] });
4224
4428
  }
4225
- function ShieldOutline({ size = 16 }) {
4226
- 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" }) });
4429
+ function ChevronGlyph() {
4430
+ 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" }) });
4227
4431
  }
4228
- function WarningFilled({ size = 16 }) {
4229
- return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4230
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 3.2 21.4 19.4H2.6L12 3.2Z", fill: "currentColor" }),
4231
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 9.4v4.3", stroke: "var(--sg-bg)", strokeWidth: "1.9", strokeLinecap: "round" }),
4232
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "16.4", r: "1.05", fill: "var(--sg-bg)" })
4432
+ function TokenTile(props) {
4433
+ const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
4434
+ const glyph = props.pick ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4435
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId, size: "tile" }),
4436
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tile-text", children: [
4437
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: shown }),
4438
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: CHAIN_LABELS[props.pick.chainId] || `Chain ${props.pick.chainId}` })
4439
+ ] })
4440
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4441
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) }),
4442
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-empty", children: "Select\u2026" })
4443
+ ] });
4444
+ const ariaLabel = `${props.label}: ${props.pick ? `${shown} on ${CHAIN_LABELS[props.pick.chainId] || props.pick.chainId}` : "select token"}`;
4445
+ if (props.row) {
4446
+ 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: [
4447
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4448
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: glyph }),
4449
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
4450
+ ] });
4451
+ }
4452
+ return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", 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-main", children: glyph })
4233
4455
  ] });
4234
4456
  }
4235
- function CornerArrow({ size = 12 }) {
4236
- 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" }) });
4237
- }
4238
- var POLICY_GLYPH = {
4239
- "always-blocked": Lock,
4240
- blocked: ShieldOutline,
4241
- flagged: WarningFilled
4242
- };
4243
- var POLICY_DETAIL = {
4244
- "always-blocked": "Cannot be changed or disabled",
4245
- blocked: "Stops the payment",
4246
- flagged: "Does not automatically block"
4247
- };
4248
- function shortAddr(a) {
4249
- return a.length > 14 ? `${a.slice(0, 6)}\u2026${a.slice(-4)}` : a;
4457
+ function FundingTile(props) {
4458
+ const symbols = props.assets.map((asset) => asset.symbol);
4459
+ const summary = props.loading ? "Checking wallet assets\u2026" : symbols.length ? symbols.join(", ") : "No payable balance";
4460
+ 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";
4461
+ const ariaLabel = `${props.label}: ${props.loading ? "checking wallet assets" : symbols.length ? symbols.join(", ") : "no payable balance"}`;
4462
+ 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: "?" }) });
4463
+ const main = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4464
+ glyphs,
4465
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-funding-copy", children: [
4466
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: summary }),
4467
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: detail })
4468
+ ] })
4469
+ ] });
4470
+ if (props.row) {
4471
+ 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: [
4472
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4473
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: main }),
4474
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
4475
+ ] });
4476
+ }
4477
+ return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4478
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4479
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: main })
4480
+ ] });
4250
4481
  }
4251
- function TriggerGlyph({ cv }) {
4252
- if (cv.tone === "blocked" || cv.tone === "warn") return /* @__PURE__ */ jsxRuntime.jsx(CloseCircle, {});
4253
- return /* @__PURE__ */ jsxRuntime.jsx(ShieldTick, {});
4482
+ function ChainChip(props) {
4483
+ const [failed, setFailed] = react.useState([]);
4484
+ const src = chainLogoCandidates(props.chain?.chainId, props.chain?.logoUrl).find((u) => !failed.includes(u));
4485
+ const name = props.name ?? props.label;
4486
+ 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 });
4254
4487
  }
4255
- function CheckRow({ check, onViewPolicy }) {
4256
- const label = check.id === "risk" ? check.ok ? "Risk screening passed" : "Risk screening failed" : check.label;
4257
- return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sg-cp-check", "data-ok": check.ok, children: [
4258
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-check-head", children: [
4259
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-check-label", children: [
4260
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-mark", "data-ok": check.ok, children: check.ok ? /* @__PURE__ */ jsxRuntime.jsx(Tick, {}) : /* @__PURE__ */ jsxRuntime.jsx(Cross, {}) }),
4261
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
4262
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-sr-only", children: check.ok ? " \u2014 passed" : " \u2014 failed" })
4263
- ] }),
4264
- check.id === "risk" ? /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-cp-link", onClick: onViewPolicy, children: [
4265
- "View policy",
4266
- /* @__PURE__ */ jsxRuntime.jsx(CornerArrow, {})
4267
- ] }) : null
4268
- ] }),
4269
- check.note ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-note", children: check.note }) : null,
4270
- check.reasons.map((reason) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-reason", children: humanizeComplianceReason(reason) }, reason))
4488
+ function SearchGlyph() {
4489
+ 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: [
4490
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "7" }),
4491
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m20 20-3.5-3.5" })
4271
4492
  ] });
4272
4493
  }
4273
- function QuoteChecks({
4274
- compliance,
4494
+ function BackGlyph() {
4495
+ 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: [
4496
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12H5" }),
4497
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-7-7 7-7" })
4498
+ ] });
4499
+ }
4500
+ function TokenSelect(props) {
4501
+ const [chainFilter, setChainFilter] = react.useState(null);
4502
+ const [query, setQuery] = react.useState("");
4503
+ const rows = react.useMemo(() => {
4504
+ const q = query.trim().toLowerCase();
4505
+ const filtered = props.tokens.filter((t) => chainFilter == null ? true : Number(t.chainId) === chainFilter).filter((t) => {
4506
+ if (!q) return true;
4507
+ return String(t.symbol || "").toLowerCase().includes(q) || // The chain's own ticker too, with `₮` read as `T`: "usdt0" finds USD₮0.
4508
+ 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
4509
+ // show a three-letter badge, so "Katana" or "Berachain" has to be findable by typing it.
4510
+ String(CHAIN_LABELS[Number(t.chainId)] || "").toLowerCase().includes(q);
4511
+ });
4512
+ if (!props.balances) return filtered;
4513
+ const balNum = (t) => {
4514
+ const n = Number(props.balances?.[`${Number(t.chainId)}:${String(t.address || "").toLowerCase()}`]?.formatted);
4515
+ return Number.isFinite(n) ? n : 0;
4516
+ };
4517
+ return [...filtered].sort((a, b) => balNum(b) - balNum(a));
4518
+ }, [props.tokens, chainFilter, query, props.balances]);
4519
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
4520
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-sel-head", children: [
4521
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-back", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ jsxRuntime.jsx(BackGlyph, {}) }),
4522
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-title", children: props.title })
4523
+ ] }),
4524
+ /* @__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: [
4525
+ /* @__PURE__ */ jsxRuntime.jsx(ChainChip, { label: "All", selected: chainFilter == null, onClick: () => setChainFilter(null) }),
4526
+ props.chains.map((c) => /* @__PURE__ */ jsxRuntime.jsx(
4527
+ ChainChip,
4528
+ {
4529
+ chain: c,
4530
+ label: chainBadge(Number(c.chainId)),
4531
+ name: CHAIN_LABELS[Number(c.chainId)] || c.displayName || c.name || `Chain ${c.chainId}`,
4532
+ selected: chainFilter === Number(c.chainId),
4533
+ onClick: () => setChainFilter(Number(c.chainId))
4534
+ },
4535
+ c.chainId
4536
+ ))
4537
+ ] }),
4538
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-search", children: [
4539
+ /* @__PURE__ */ jsxRuntime.jsx(SearchGlyph, {}),
4540
+ /* @__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" })
4541
+ ] }),
4542
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-toklist", role: "group", "aria-label": props.title, children: rows.length ? rows.map((t) => {
4543
+ const chainId = Number(t.chainId);
4544
+ const key = `${chainId}:${String(t.address || "").toLowerCase()}`;
4545
+ const bal = props.balances?.[key];
4546
+ const st = props.optionStates?.[key];
4547
+ const disabled = !!st?.disabled;
4548
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4549
+ "button",
4550
+ {
4551
+ type: "button",
4552
+ className: `sg-tokrow${disabled ? " sg-tokrow--off" : ""}`,
4553
+ disabled,
4554
+ "aria-disabled": disabled || void 0,
4555
+ "data-disabled": disabled || void 0,
4556
+ onClick: disabled ? void 0 : () => props.onPick({ chainId, symbol: t.symbol }),
4557
+ children: [
4558
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
4559
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-main", children: [
4560
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
4561
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
4562
+ ] }),
4563
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-end", children: [
4564
+ bal ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-bal sg-mono", children: bal.formatted }) : null,
4565
+ st?.hint ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-hint", "data-tone": disabled ? void 0 : "note", children: st.hint }) : null,
4566
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-chain", children: CHAIN_LABELS[chainId] || `Chain ${chainId}` })
4567
+ ] })
4568
+ ]
4569
+ },
4570
+ `${chainId}:${t.address}`
4571
+ );
4572
+ }) : 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." }) })
4573
+ ] });
4574
+ }
4575
+ function ChevronRight({ size = 16 }) {
4576
+ 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" }) });
4577
+ }
4578
+ function ChevronDown({ size = 16, up = false }) {
4579
+ 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" }) });
4580
+ }
4581
+ function PillChevron() {
4582
+ 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" }) });
4583
+ }
4584
+ function ArrowDown({ size = 16 }) {
4585
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
4586
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 3.333v9.334", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
4587
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12.667 8L8 12.667 3.333 8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
4588
+ ] });
4589
+ }
4590
+ function CloseGlyph() {
4591
+ 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" }) });
4592
+ }
4593
+ function ShieldTickGlyph({ size = 16 }) {
4594
+ return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: size, height: size, viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(
4595
+ "path",
4596
+ {
4597
+ 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",
4598
+ fill: "currentColor"
4599
+ }
4600
+ ) });
4601
+ }
4602
+ function QuoteGlyph({ size = 16 }) {
4603
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: [
4604
+ /* @__PURE__ */ jsxRuntime.jsx(
4605
+ "path",
4606
+ {
4607
+ 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",
4608
+ fill: "currentColor"
4609
+ }
4610
+ ),
4611
+ /* @__PURE__ */ jsxRuntime.jsx(
4612
+ "path",
4613
+ {
4614
+ 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",
4615
+ fill: "currentColor"
4616
+ }
4617
+ )
4618
+ ] });
4619
+ }
4620
+ function AmountText({ value, suffix }) {
4621
+ const dot = value.indexOf(".");
4622
+ const whole = dot < 0 ? value : value.slice(0, dot + 1);
4623
+ const decimals = dot < 0 ? "" : value.slice(dot + 1);
4624
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-amt", children: [
4625
+ whole,
4626
+ decimals ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-amt-dec", children: decimals }) : null,
4627
+ suffix ? ` ${suffix}` : null
4628
+ ] });
4629
+ }
4630
+ function usdOf(amount, price) {
4631
+ const n = typeof amount === "number" ? amount : Number(amount);
4632
+ if (!Number.isFinite(n) || n <= 0 || price === void 0 || !Number.isFinite(price) || price <= 0) return null;
4633
+ const usd2 = n * price;
4634
+ return `$ ${usd2 < 0.01 ? "<0.01" : usd2.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`;
4635
+ }
4636
+ function shortBalance(formatted) {
4637
+ const [whole, frac = ""] = String(formatted).split(".");
4638
+ const cut = frac.slice(0, 4).replace(/0+$/, "");
4639
+ return cut ? `${whole}.${cut}` : whole;
4640
+ }
4641
+ function durationLabel(seconds) {
4642
+ const s = Number(seconds);
4643
+ if (!Number.isFinite(s) || s <= 0) return null;
4644
+ if (s < 90) return `~${Math.max(1, Math.round(s))} sec`;
4645
+ if (s < 90 * 60) return `~${Math.round(s / 60)} min`;
4646
+ return `~${Math.round(s / 3600)} h`;
4647
+ }
4648
+ function TokenButton(props) {
4649
+ const shown = props.token ? tokenTicker(props.token) : props.symbol ?? "";
4650
+ const chain = props.chainId ? CHAIN_LABELS[props.chainId] || `Chain ${props.chainId}` : "";
4651
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4652
+ "button",
4653
+ {
4654
+ type: "button",
4655
+ ref: props.btnRef,
4656
+ className: "sg-tokbtn",
4657
+ disabled: props.disabled,
4658
+ onClick: props.onClick,
4659
+ "aria-label": `${props.label}: ${props.symbol ? `${shown} on ${chain}` : "select token"}`,
4660
+ children: [
4661
+ props.symbol && props.chainId ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4662
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.symbol, logoUrl: props.token?.logoUrl, chainId: props.chainId, size: "xs" }),
4663
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokbtn-text", children: [
4664
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-sym", children: shown }),
4665
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-chain", children: chain })
4666
+ ] })
4667
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-text", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-sym", children: "Select" }) }),
4668
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokbtn-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRight, {}) })
4669
+ ]
4670
+ }
4671
+ );
4672
+ }
4673
+ function FlipButton(props) {
4674
+ 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, {}) }) });
4675
+ }
4676
+ function DetailButton(props) {
4677
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4678
+ "button",
4679
+ {
4680
+ type: "button",
4681
+ ref: props.btnRef,
4682
+ className: "sg-dbtn",
4683
+ "data-size": props.size === "lg" ? "lg" : void 0,
4684
+ onClick: props.onClick,
4685
+ disabled: props.disabled,
4686
+ "aria-haspopup": "dialog",
4687
+ children: [
4688
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-dbtn-main", children: [
4689
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-icon", "data-tone": props.iconTone ?? "info", children: props.icon }),
4690
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-label", children: props.label })
4691
+ ] }),
4692
+ props.badge ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-dpill", "data-tone": props.badge.tone, children: [
4693
+ props.badge.text,
4694
+ /* @__PURE__ */ jsxRuntime.jsx(PillChevron, {})
4695
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-dbtn-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRight, {}) })
4696
+ ]
4697
+ }
4698
+ );
4699
+ }
4700
+ function RateBox(props) {
4701
+ const [open, setOpen] = react.useState(!!props.defaultOpen);
4702
+ 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: [
4703
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { children: r.label }),
4704
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { children: r.value })
4705
+ ] }, r.label)) }) : null;
4706
+ if (props.rowsOnly) return rows ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-rate", children: rows }) : null;
4707
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-rate", "data-open": open || void 0, children: [
4708
+ /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-rate-head", onClick: () => setOpen((o) => !o), "aria-expanded": open, disabled: !props.rows.length, children: [
4709
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-rate-line", children: [
4710
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.fromSymbol, logoUrl: props.fromLogoUrl, size: "xxs" }),
4711
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-mono", children: props.rate ? `= ${props.rate} ${props.toTicker}` : "Rate appears with a quote" })
4712
+ ] }),
4713
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-rate-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDown, { up: open }) })
4714
+ ] }),
4715
+ open ? rows : null
4716
+ ] });
4717
+ }
4718
+ function PoweredBy() {
4719
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-foot", children: [
4720
+ /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 17, className: "sg-foot-mark" }),
4721
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Powered by ZeroDelta" })
4722
+ ] });
4723
+ }
4724
+ function PaneFoot(props) {
4725
+ if (!props.usd && !props.balance) return null;
4726
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-foot", children: [
4727
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: props.usd ?? "" }),
4728
+ props.balance ? /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
4729
+ "Balance ",
4730
+ /* @__PURE__ */ jsxRuntime.jsx("b", { className: "sg-mono", children: props.balance })
4731
+ ] }) : null
4732
+ ] });
4733
+ }
4734
+ function WidgetShell(props) {
4735
+ injectStyles();
4736
+ const resolved = resolveTheme(props.theme);
4737
+ const vars = themeToVars(resolved);
4738
+ const fixed = Number.isFinite(props.heightPx) && props.heightPx > 0;
4739
+ const style = fixed ? { ...vars, height: props.heightPx } : vars;
4740
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4741
+ "div",
4742
+ {
4743
+ className: "sg-widget",
4744
+ "data-sg-mode": resolved.mode,
4745
+ "data-sg-fixed": fixed || void 0,
4746
+ "data-sg-express": props.variant === "express" || void 0,
4747
+ "data-sg-wide": props.wide || void 0,
4748
+ style,
4749
+ children: [
4750
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head", children: [
4751
+ props.brandSlot ?? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-title", children: props.title }),
4752
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-end", children: [
4753
+ props.walletSlot ?? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
4754
+ /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
4755
+ "ZeroDelta"
4756
+ ] }),
4757
+ props.onClose ? (
4758
+ // type="button": a host page may wrap the widget in a <form>.
4759
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-close", onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ jsxRuntime.jsx(CloseGlyph, {}) })
4760
+ ) : null
4761
+ ] })
4762
+ ] }),
4763
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-body", children: props.children }),
4764
+ /* @__PURE__ */ jsxRuntime.jsx(PoweredBy, {})
4765
+ ]
4766
+ }
4767
+ );
4768
+ }
4769
+ function shortAddress2(a) {
4770
+ if (!a) return "";
4771
+ return `${a.slice(0, 6)}\u2026${a.slice(-4)}`;
4772
+ }
4773
+ function ShieldTick({ 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("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" }),
4776
+ /* @__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" }),
4777
+ /* @__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" })
4778
+ ] });
4779
+ }
4780
+ function TickCircle({ size = 16 }) {
4781
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4782
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4783
+ /* @__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" })
4784
+ ] });
4785
+ }
4786
+ function CloseCircle({ size = 16 }) {
4787
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4788
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4789
+ /* @__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" })
4790
+ ] });
4791
+ }
4792
+ function PendingCircle({ size = 16 }) {
4793
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4794
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "9.2", stroke: "currentColor", strokeWidth: "1.6", strokeDasharray: "3 3" }),
4795
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.5 12h7", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
4796
+ ] });
4797
+ }
4798
+ function Tick({ size = 12 }) {
4799
+ 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" }) });
4800
+ }
4801
+ function Cross({ size = 12 }) {
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: "m5.5 5.5 13 13M18.5 5.5l-13 13", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round" }) });
4803
+ }
4804
+ function Chevron({ size = 16 }) {
4805
+ 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" }) });
4806
+ }
4807
+ function Info({ size = 16 }) {
4808
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4809
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor" }),
4810
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 10.6v6", stroke: "var(--sg-bg)", strokeWidth: "2.1", strokeLinecap: "round" }),
4811
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "7.6", r: "1.25", fill: "var(--sg-bg)" })
4812
+ ] });
4813
+ }
4814
+ function Lock({ size = 16 }) {
4815
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4816
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4.5", y: "10.5", width: "15", height: "9.5", rx: "2.2", stroke: "currentColor", strokeWidth: "1.7" }),
4817
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 10.5V7.8a4 4 0 0 1 8 0v2.7", stroke: "currentColor", strokeWidth: "1.7", strokeLinecap: "round" })
4818
+ ] });
4819
+ }
4820
+ function ShieldOutline({ size = 16 }) {
4821
+ 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" }) });
4822
+ }
4823
+ function WarningFilled({ size = 16 }) {
4824
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
4825
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 3.2 21.4 19.4H2.6L12 3.2Z", fill: "currentColor" }),
4826
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 9.4v4.3", stroke: "var(--sg-bg)", strokeWidth: "1.9", strokeLinecap: "round" }),
4827
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "16.4", r: "1.05", fill: "var(--sg-bg)" })
4828
+ ] });
4829
+ }
4830
+ function CornerArrow({ size = 12 }) {
4831
+ 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" }) });
4832
+ }
4833
+ var POLICY_GLYPH = {
4834
+ "always-blocked": Lock,
4835
+ blocked: ShieldOutline,
4836
+ flagged: WarningFilled
4837
+ };
4838
+ var POLICY_DETAIL = {
4839
+ "always-blocked": "Cannot be changed or disabled",
4840
+ blocked: "Stops the payment",
4841
+ flagged: "Does not automatically block"
4842
+ };
4843
+ function shortAddr(a) {
4844
+ return a.length > 14 ? `${a.slice(0, 6)}\u2026${a.slice(-4)}` : a;
4845
+ }
4846
+ function TriggerGlyph({ cv }) {
4847
+ if (cv.tone === "blocked" || cv.tone === "warn") return /* @__PURE__ */ jsxRuntime.jsx(CloseCircle, {});
4848
+ return /* @__PURE__ */ jsxRuntime.jsx(ShieldTick, {});
4849
+ }
4850
+ function CheckRow({ check, onViewPolicy }) {
4851
+ const label = check.id === "risk" ? check.ok ? "Risk screening passed" : "Risk screening failed" : check.label;
4852
+ return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sg-cp-check", "data-ok": check.ok, children: [
4853
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-check-head", children: [
4854
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-check-label", children: [
4855
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-mark", "data-ok": check.ok, children: check.ok ? /* @__PURE__ */ jsxRuntime.jsx(Tick, {}) : /* @__PURE__ */ jsxRuntime.jsx(Cross, {}) }),
4856
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
4857
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-sr-only", children: check.ok ? " \u2014 passed" : " \u2014 failed" })
4858
+ ] }),
4859
+ check.id === "risk" ? /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sg-cp-link", onClick: onViewPolicy, children: [
4860
+ "View policy",
4861
+ /* @__PURE__ */ jsxRuntime.jsx(CornerArrow, {})
4862
+ ] }) : null
4863
+ ] }),
4864
+ check.note ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-note", children: check.note }) : null,
4865
+ check.reasons.map((reason) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-check-reason", children: humanizeComplianceReason(reason) }, reason))
4866
+ ] });
4867
+ }
4868
+ function QuoteChecks({
4869
+ compliance,
4275
4870
  cv,
4276
4871
  checks,
4277
4872
  direct,
@@ -4369,287 +4964,72 @@ function ScreeningPolicy({ compliance }) {
4369
4964
  }) })
4370
4965
  ] });
4371
4966
  }
4372
- function CompliancePanel(props) {
4373
- const [open, setOpen] = react.useState(false);
4374
- const [tab, setTab] = react.useState("checks");
4375
- const triggerRef = react.useRef(null);
4376
- const sheetRef = react.useRef(null);
4377
- const compliance = props.compliance ?? null;
4378
- const cv = complianceView(compliance, props.hasQuote ?? true);
4379
- const allChecks = complianceChecks(compliance, cv);
4380
- const checks = props.direct ? allChecks.filter((c) => DIRECT_CHECK_IDS.includes(c.id)) : allChecks;
4381
- const tag = complianceTagOf(compliance);
4382
- react.useEffect(() => {
4383
- if (!open) return;
4384
- sheetRef.current?.focus();
4385
- const onKey = (e) => {
4386
- if (e.key === "Escape") {
4387
- e.stopPropagation();
4388
- setOpen(false);
4389
- triggerRef.current?.focus();
4390
- }
4391
- };
4392
- document.addEventListener("keydown", onKey, true);
4393
- return () => document.removeEventListener("keydown", onKey, true);
4394
- }, [open]);
4395
- const close = () => {
4396
- setOpen(false);
4397
- triggerRef.current?.focus();
4398
- };
4399
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp", "data-tone": cv.tone, children: [
4400
- open ? null : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4401
- /* @__PURE__ */ jsxRuntime.jsxs("button", { ref: triggerRef, type: "button", className: "sg-cp-row", "data-tone": cv.tone, onClick: () => setOpen(true), "aria-haspopup": "dialog", children: [
4402
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-row-main", children: [
4403
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-glyph", children: /* @__PURE__ */ jsxRuntime.jsx(TriggerGlyph, { cv }) }),
4404
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-label", children: cv.label })
4405
- ] }),
4406
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-chev", children: /* @__PURE__ */ jsxRuntime.jsx(Chevron, {}) })
4407
- ] }),
4408
- (cv.blocked || cv.needsAction) && tag ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-tag sg-mono", children: tag }) : null
4409
- ] }),
4410
- open ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Compliance details", ref: sheetRef, tabIndex: -1, children: [
4411
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
4412
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Compliance details" }),
4413
- /* @__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" }) }) })
4414
- ] }),
4415
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-tabs", role: "tablist", "aria-label": "Compliance details sections", children: [
4416
- /* @__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" }),
4417
- /* @__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" })
4418
- ] }),
4419
- /* @__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 }) })
4420
- ] }) : null
4421
- ] });
4422
- }
4423
-
4424
- // src/react/ui/chain-logos.ts
4425
- var BUNDLED_CHAIN_LOGO = {
4426
- 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+/6VqPGRpPBrheufsPLq7fyBl+6SpvD19/6vvvSHnO9sh+vR2fjj5/vCzfbk6fvCzPbX3/nR2flnguvo7PyoSVf4AAAAZ3RSTlMAA/v8AwL+/v0B/AT+AQIB/Fr8CGgiDSZPZd7Wmv7++tJF/v0c9iBeXe9q6ily0Wz8z7JLU6oJ56ewD9nnRMr0/Wv0vsrrr0SP28bwjeoNnM3++Pd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K9EoJeBUNOrS9CLOiX7oo7HLOr4fqwaA0e1asR+w6wag/1ZlhpGsyzlrTNs8GNZ6lz3zrMGCqkRrnuNfq57YWhlFtZTNX7uw10L62xmYe33Awg+s3K3ThaH+7tyz8lgVu4jWOqP4TsfDQglIZyXlzw+NSM2ai4ICh3pm5CxUXHZhVqeEGMvLLFwnrYwOy5qDQgNHfnDjTAQGTNncWaJlgcfhTz4cAMLlAi1JZmL58REjuLhhlPZzqcn7xiNmnKMxxOGY9hCilqIYeHw6YmwXGPMeOc15unJ6Mi734dAjIQNcYmTi42GEk1ROUWVFmmyDRnFRYlxGxKinUb3a05QMHO7oBkvRa16d+WEFUsxbOmKCSvfXRX10gzG5scEc1n+/wFyD2hmyUaFTQAAAABJRU5ErkJggg==",
4427
- 10: "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/oM0jww8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QLX2XSMZPZFr7AJaNQYX893T9CXmL1GLw8X4wj1dorSPQjR1aOrSrtDYThjb+2P8bFAkruR1ThZ6Cg+5uskT+DvXcFmOr5mqaNmbY5cdT5+WGzZ/9JK+oLaW5/8c8YzqumsA1aNVpnBydyukY0aWcTrgK8hplzQFv8f4uAShBQIdqMhsX84fkCJiBpzO5aAulOMcPBaIbe85PJZwond6uJrXAC9atXmXqyirU18o85ZnjQzSgMIH1b/t7/l3bhi//VTF4HdB8xQv/LlLEOv55f7s71J12gJ94nfgB97A5hVbmnpp/XYp1d0uDDgmQ//cLfb2KBmzq4yQiLfrlxBPFZnEEkqETiXIxX/29sRiDlV1Hp2235BhcMHY7QSI8PETuoK6y/Lx80mYLVPi8YDYZmV3nLTuAxJminIxWMhcH301LYfcnWDt6HT6/A2OGOL4AMkznh8Z7fPT1pslBwzFMjba0y9diGuJgpW4Mwb8Oe2uMuELpmuPqE9cMCKzSZBKfGvqoP+qnhQ9rqblcn6kaaAAAAA=="
4435
- };
4436
-
4437
- // src/react/ui/logos.ts
4438
- var BUNDLED_TOKEN_LOGO = {
4439
- USDC: "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png",
4440
- USDT: "https://coin-images.coingecko.com/coins/images/325/large/Tether.png",
4441
- USDE: "https://coin-images.coingecko.com/coins/images/33613/large/usde.png",
4442
- XAUT: "https://coin-images.coingecko.com/coins/images/10481/large/Tether_Gold.png",
4443
- // 2026-09-08, with the dapp-parity asset expansion — the same four URLs the dapp draws
4444
- // (zd-dapp/src/lib/tokenLogos.ts), so the two products show one picture per coin.
4445
- USDTB: "https://coin-images.coingecko.com/coins/images/52804/large/76357aa8-4ef7-446c-bad3-a3f944eeec7a.jpeg",
4446
- AUSD: "https://coin-images.coingecko.com/coins/images/39284/large/AUSD_1024px.png",
4447
- PYUSD: "https://coin-images.coingecko.com/coins/images/31212/large/PYUSD_Token_Logo_2x.png",
4448
- USDG: "https://coin-images.coingecko.com/coins/images/51281/large/GDN_USDG_Token_200x200.png",
4449
- // The wider stable list, added 2026-09-08 with the RWA exchange.
4450
- DAI: "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png",
4451
- USDS: "https://coin-images.coingecko.com/coins/images/39926/large/usds.webp",
4452
- RLUSD: "https://coin-images.coingecko.com/coins/images/39651/large/RLUSD_200x200_%281%29.png",
4453
- USD1: "https://coin-images.coingecko.com/coins/images/54977/large/USD1_1000x1000_transparent.png",
4454
- WM: "https://coin-images.coingecko.com/coins/images/50789/large/M.png"
4455
- };
4456
- function isHttpsUrl(u) {
4457
- return typeof u === "string" && /^https:\/\//i.test(u);
4458
- }
4459
- function isSameOriginPath2(u) {
4460
- return typeof u === "string" && u.startsWith("/") && !u.startsWith("//") && !u.startsWith("/\\");
4461
- }
4462
- function isDisplayableImageSrc(u) {
4463
- return isHttpsUrl(u) || isSameOriginPath2(u);
4464
- }
4465
- function tokenLogoCandidates(symbol, logoUrl) {
4466
- const out = [];
4467
- if (isDisplayableImageSrc(logoUrl)) out.push(logoUrl);
4468
- const bundled = BUNDLED_TOKEN_LOGO[symbolKey(symbol)];
4469
- if (bundled && !out.includes(bundled)) out.push(bundled);
4470
- return out;
4471
- }
4472
- function chainLogoCandidates(chainId, logoUrl) {
4473
- const out = [];
4474
- if (isHttpsUrl(logoUrl)) out.push(logoUrl);
4475
- const bundled = chainId === void 0 ? void 0 : BUNDLED_CHAIN_LOGO[Number(chainId)];
4476
- if (bundled) out.push(bundled);
4477
- return out;
4478
- }
4479
- var CHAIN_SHORT = {
4480
- 1: "ETH",
4481
- 10: "OP",
4482
- 130: "UNI",
4483
- 146: "SON",
4484
- 8453: "BASE",
4485
- 9745: "PLS",
4486
- 57073: "INK",
4487
- 42161: "ARB",
4488
- 98866: "PLM"
4489
- };
4490
- function chainBadge(chainId) {
4491
- const pinned = CHAIN_SHORT[Number(chainId)];
4492
- if (pinned) return pinned;
4493
- const name = CHAIN_LABELS[Number(chainId)];
4494
- return name ? name.replace(/[^A-Za-z]/g, "").slice(0, 3).toUpperCase() : "?";
4495
- }
4496
- function TokenGlyph(props) {
4497
- const [failed, setFailed] = react.useState([]);
4498
- const src = tokenLogoCandidates(props.symbol, props.logoUrl).find((u) => !failed.includes(u));
4499
- const mark = props.chainId ? chainLogoCandidates(props.chainId)[0] : void 0;
4500
- let badge = null;
4501
- 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) });
4502
- return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tok", "data-size": props.size === "sm" ? "sm" : void 0, children: [
4503
- 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) }),
4504
- badge
4505
- ] });
4506
- }
4507
- function ChevronGlyph() {
4508
- 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" }) });
4509
- }
4510
- function TokenTile(props) {
4511
- const shown = props.token ? tokenTicker(props.token) : props.pick?.symbol ?? "";
4512
- const glyph = props.pick ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4513
- /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: props.pick.symbol, logoUrl: props.token?.logoUrl, chainId: props.pick.chainId }),
4514
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tile-text", children: [
4515
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: shown }),
4516
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: CHAIN_LABELS[props.pick.chainId] || `Chain ${props.pick.chainId}` })
4517
- ] })
4518
- ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4519
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tok-fb", children: "?" }) }),
4520
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-empty", children: "Select\u2026" })
4521
- ] });
4522
- const ariaLabel = `${props.label}: ${props.pick ? `${shown} on ${CHAIN_LABELS[props.pick.chainId] || props.pick.chainId}` : "select token"}`;
4523
- if (props.row) {
4524
- 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: [
4525
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4526
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: glyph }),
4527
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
4528
- ] });
4529
- }
4530
- return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", 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-main", children: glyph })
4533
- ] });
4534
- }
4535
- function FundingTile(props) {
4536
- const symbols = props.assets.map((asset) => asset.symbol);
4537
- const summary = props.loading ? "Checking wallet assets\u2026" : symbols.length ? symbols.join(", ") : "No payable balance";
4538
- 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";
4539
- const ariaLabel = `${props.label}: ${props.loading ? "checking wallet assets" : symbols.length ? symbols.join(", ") : "no payable balance"}`;
4540
- 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: "?" }) });
4541
- const main = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4542
- glyphs,
4543
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-funding-copy", children: [
4544
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-sym", children: summary }),
4545
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chain", children: detail })
4546
- ] })
4547
- ] });
4548
- if (props.row) {
4549
- 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: [
4550
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4551
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-rowmain", children: main }),
4552
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-chev", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronGlyph, {}) })
4553
- ] });
4554
- }
4555
- return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: props.btnRef, className: "sg-tile", disabled: props.disabled, onClick: props.onClick, "aria-label": ariaLabel, children: [
4556
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-label", children: props.label }),
4557
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tile-main", children: main })
4558
- ] });
4559
- }
4560
- function ChainChip(props) {
4561
- const [failed, setFailed] = react.useState([]);
4562
- const src = chainLogoCandidates(props.chain?.chainId, props.chain?.logoUrl).find((u) => !failed.includes(u));
4563
- const name = props.name ?? props.label;
4564
- 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 });
4565
- }
4566
- function SearchGlyph() {
4567
- 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: [
4568
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "7" }),
4569
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m20 20-3.5-3.5" })
4570
- ] });
4571
- }
4572
- function BackGlyph() {
4573
- 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: [
4574
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12H5" }),
4575
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 19-7-7 7-7" })
4576
- ] });
4967
+ function complianceBadge(compliance, hasQuote = true) {
4968
+ if (!hasQuote) return null;
4969
+ const cv = complianceView(compliance, hasQuote);
4970
+ if (cv.tone === "blocked") return { text: "Blocked", tone: "warn" };
4971
+ if (cv.tone === "warn") return { text: compliance?.decision === "REMEDIATE" ? "Remediate" : "Review", tone: "warn" };
4972
+ if (cv.tone === "ok") return { text: cv.screened ? "Passed" : "Allowed", tone: "ok" };
4973
+ return { text: "Not screened", tone: "muted" };
4577
4974
  }
4578
- function TokenSelect(props) {
4579
- const [chainFilter, setChainFilter] = react.useState(null);
4580
- const [query, setQuery] = react.useState("");
4581
- const rows = react.useMemo(() => {
4582
- const q = query.trim().toLowerCase();
4583
- const filtered = props.tokens.filter((t) => chainFilter == null ? true : Number(t.chainId) === chainFilter).filter((t) => {
4584
- if (!q) return true;
4585
- return String(t.symbol || "").toLowerCase().includes(q) || // The chain's own ticker too, with `₮` read as `T`: "usdt0" finds USD₮0.
4586
- 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
4587
- // show a three-letter badge, so "Katana" or "Berachain" has to be findable by typing it.
4588
- String(CHAIN_LABELS[Number(t.chainId)] || "").toLowerCase().includes(q);
4589
- });
4590
- if (!props.balances) return filtered;
4591
- const balNum = (t) => {
4592
- const n = Number(props.balances?.[`${Number(t.chainId)}:${String(t.address || "").toLowerCase()}`]?.formatted);
4593
- return Number.isFinite(n) ? n : 0;
4975
+ function complianceIconTone(compliance, hasQuote = true) {
4976
+ const cv = complianceView(compliance, hasQuote);
4977
+ return cv.tone === "blocked" || cv.tone === "warn" ? "warn" : cv.tone === "ok" ? "ok" : "muted";
4978
+ }
4979
+ function ComplianceSheet(props) {
4980
+ const [tab, setTab] = react.useState("checks");
4981
+ const sheetRef = react.useRef(null);
4982
+ const compliance = props.compliance ?? null;
4983
+ const cv = complianceView(compliance, props.hasQuote ?? true);
4984
+ const allChecks = complianceChecks(compliance, cv);
4985
+ const checks = props.direct ? allChecks.filter((c) => DIRECT_CHECK_IDS.includes(c.id)) : allChecks;
4986
+ const onCloseRef = react.useRef(props.onClose);
4987
+ onCloseRef.current = props.onClose;
4988
+ const onClose = () => onCloseRef.current();
4989
+ react.useEffect(() => {
4990
+ sheetRef.current?.focus();
4991
+ const onKey = (e) => {
4992
+ if (e.key === "Escape") {
4993
+ e.stopPropagation();
4994
+ onCloseRef.current();
4995
+ }
4594
4996
  };
4595
- return [...filtered].sort((a, b) => balNum(b) - balNum(a));
4596
- }, [props.tokens, chainFilter, query, props.balances]);
4597
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
4598
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-sel-head", children: [
4599
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-back", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ jsxRuntime.jsx(BackGlyph, {}) }),
4600
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-sel-title", children: props.title })
4601
- ] }),
4602
- /* @__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: [
4603
- /* @__PURE__ */ jsxRuntime.jsx(ChainChip, { label: "All", selected: chainFilter == null, onClick: () => setChainFilter(null) }),
4604
- props.chains.map((c) => /* @__PURE__ */ jsxRuntime.jsx(
4605
- ChainChip,
4606
- {
4607
- chain: c,
4608
- label: chainBadge(Number(c.chainId)),
4609
- name: CHAIN_LABELS[Number(c.chainId)] || c.displayName || c.name || `Chain ${c.chainId}`,
4610
- selected: chainFilter === Number(c.chainId),
4611
- onClick: () => setChainFilter(Number(c.chainId))
4612
- },
4613
- c.chainId
4614
- ))
4997
+ document.addEventListener("keydown", onKey, true);
4998
+ return () => document.removeEventListener("keydown", onKey, true);
4999
+ }, []);
5000
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Compliance details", ref: sheetRef, tabIndex: -1, children: [
5001
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
5002
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Compliance details" }),
5003
+ /* @__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" }) }) })
4615
5004
  ] }),
4616
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-search", children: [
4617
- /* @__PURE__ */ jsxRuntime.jsx(SearchGlyph, {}),
4618
- /* @__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" })
5005
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-tabs", role: "tablist", "aria-label": "Compliance details sections", children: [
5006
+ /* @__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" }),
5007
+ /* @__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" })
4619
5008
  ] }),
4620
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-toklist", role: "group", "aria-label": props.title, children: rows.length ? rows.map((t) => {
4621
- const chainId = Number(t.chainId);
4622
- const key = `${chainId}:${String(t.address || "").toLowerCase()}`;
4623
- const bal = props.balances?.[key];
4624
- const st = props.optionStates?.[key];
4625
- const disabled = !!st?.disabled;
4626
- return /* @__PURE__ */ jsxRuntime.jsxs(
4627
- "button",
4628
- {
4629
- type: "button",
4630
- className: `sg-tokrow${disabled ? " sg-tokrow--off" : ""}`,
4631
- disabled,
4632
- "aria-disabled": disabled || void 0,
4633
- "data-disabled": disabled || void 0,
4634
- onClick: disabled ? void 0 : () => props.onPick({ chainId, symbol: t.symbol }),
4635
- children: [
4636
- /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: t.symbol, logoUrl: t.logoUrl, chainId }),
4637
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-main", children: [
4638
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-sym", children: tokenTicker(t) }),
4639
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-name", children: t.name || t.symbol })
4640
- ] }),
4641
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-tokrow-end", children: [
4642
- bal ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-bal sg-mono", children: bal.formatted }) : null,
4643
- st?.hint ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-hint", "data-tone": disabled ? void 0 : "note", children: st.hint }) : null,
4644
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-tokrow-chain", children: CHAIN_LABELS[chainId] || `Chain ${chainId}` })
4645
- ] })
4646
- ]
4647
- },
4648
- `${chainId}:${t.address}`
4649
- );
4650
- }) : 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." }) })
5009
+ /* @__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 }) })
4651
5010
  ] });
4652
5011
  }
5012
+ function CompliancePanel(props) {
5013
+ const [open, setOpen] = react.useState(false);
5014
+ const triggerRef = react.useRef(null);
5015
+ const compliance = props.compliance ?? null;
5016
+ const cv = complianceView(compliance, props.hasQuote ?? true);
5017
+ const tag = complianceTagOf(compliance);
5018
+ const close = () => {
5019
+ setOpen(false);
5020
+ requestAnimationFrame(() => triggerRef.current?.focus());
5021
+ };
5022
+ 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: [
5023
+ /* @__PURE__ */ jsxRuntime.jsxs("button", { ref: triggerRef, type: "button", className: "sg-cp-row", "data-tone": cv.tone, onClick: () => setOpen(true), "aria-haspopup": "dialog", children: [
5024
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-cp-row-main", children: [
5025
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-glyph", children: /* @__PURE__ */ jsxRuntime.jsx(TriggerGlyph, { cv }) }),
5026
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-label", children: cv.label })
5027
+ ] }),
5028
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-chev", children: /* @__PURE__ */ jsxRuntime.jsx(Chevron, {}) })
5029
+ ] }),
5030
+ (cv.blocked || cv.needsAction) && tag ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-cp-row-tag sg-mono", children: tag }) : null
5031
+ ] }) });
5032
+ }
4653
5033
  function useTxHistory(account) {
4654
5034
  const [entries, setEntries] = react.useState(() => readTxHistory(account));
4655
5035
  react.useEffect(() => {
@@ -5908,6 +6288,39 @@ function PaymentIsland(props) {
5908
6288
  ) }) })
5909
6289
  ] }) });
5910
6290
  }
6291
+ function PillLauncher(props) {
6292
+ injectStyles();
6293
+ const resolved = resolveTheme(props.theme);
6294
+ const vars = themeToVars(resolved);
6295
+ const openAs = props.openAs === "drawer" ? "drawer" : "modal";
6296
+ const [open, setOpen] = react.useState(!!props.defaultOpen);
6297
+ const buttonRef = react.useRef(null);
6298
+ const close = () => {
6299
+ setOpen(false);
6300
+ requestAnimationFrame(() => buttonRef.current?.focus());
6301
+ };
6302
+ react.useEffect(() => {
6303
+ if (!open) return;
6304
+ const onKey = (e) => {
6305
+ if (e.key === "Escape") close();
6306
+ };
6307
+ document.addEventListener("keydown", onKey);
6308
+ return () => document.removeEventListener("keydown", onKey);
6309
+ }, [open]);
6310
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pill-root", "data-sg-mode": resolved.mode, style: vars, children: [
6311
+ /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", ref: buttonRef, className: "sg-pillbtn", onClick: () => setOpen(true), "aria-haspopup": "dialog", "aria-expanded": open, children: [
6312
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-pillbtn-lead", children: [
6313
+ /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 15, mono: true, className: "sg-pillbtn-mark" }),
6314
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: props.verb })
6315
+ ] }),
6316
+ props.amountLabel ? /* @__PURE__ */ jsxRuntime.jsx("b", { className: "sg-pillbtn-amt sg-mono", children: props.amountLabel }) : null
6317
+ ] }),
6318
+ open ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-overlay", "data-sg-overlay": openAs, children: [
6319
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "sg-overlay-scrim", tabIndex: -1, "aria-label": "Close", onClick: close }),
6320
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-dialog", role: "dialog", "aria-modal": "true", "aria-label": props.verb, children: props.children(close, openAs) })
6321
+ ] }) : null
6322
+ ] });
6323
+ }
5911
6324
  var STABLES2 = EXECUTABLE_STABLE_ASSETS;
5912
6325
  var DEFAULT_FUNDING_ASSETS = [...EXECUTABLE_STABLE_ASSETS];
5913
6326
  function CheckGlyph3() {
@@ -5927,8 +6340,19 @@ function CheckGlyph3() {
5927
6340
  }
5928
6341
  );
5929
6342
  }
6343
+ function atLeastCents(value) {
6344
+ if (!/^\d+(\.\d*)?$/.test(value)) return value;
6345
+ const [whole, frac = ""] = value.split(".");
6346
+ return frac.length >= 2 ? value : `${whole}.${frac.padEnd(2, "0")}`;
6347
+ }
5930
6348
  var addrEq2 = (a, b) => String(a || "").toLowerCase() === String(b || "").toLowerCase();
5931
6349
  function StableGeniePay(props) {
6350
+ const config = useMergedConfig(props);
6351
+ if (props.variant !== "pill") return /* @__PURE__ */ jsxRuntime.jsx(PayCard, { ...props });
6352
+ if (props.settlement === "bank") return /* @__PURE__ */ jsxRuntime.jsx(PaymentIsland, { kind: "pay", ...props });
6353
+ 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 }) });
6354
+ }
6355
+ function PayCard(props) {
5932
6356
  const config = useMergedConfig(props);
5933
6357
  const engine = useEngine({
5934
6358
  apiBase: config.apiBase,
@@ -5957,11 +6381,11 @@ function StableGeniePay(props) {
5957
6381
  onSuccess: config.onSuccess,
5958
6382
  onError: config.onError
5959
6383
  });
5960
- const [method, setMethod] = react.useState("stablecoin");
6384
+ const method = "stablecoin";
5961
6385
  const fundingSet = react.useMemo(() => props.fundingAssets?.length ? new Set(props.fundingAssets.map((a) => a.toUpperCase())) : null, [props.fundingAssets]);
5962
6386
  const visibleRoutes = react.useMemo(() => {
5963
6387
  const base = fundingSet ? flow.routes.filter((r) => fundingSet.has(r.source.asset.toUpperCase()) || r.state === "DIRECT") : flow.routes;
5964
- return method === "stablecoin" ? base.filter((r) => STABLES2.has(symbolKey(r.source.asset))) : base;
6388
+ return base.filter((r) => STABLES2.has(symbolKey(r.source.asset))) ;
5965
6389
  }, [flow.routes, method, fundingSet]);
5966
6390
  const paymentPlan = flow.plan;
5967
6391
  const prefetchedBalances = paymentPlan && paymentPlan.fundingAccount === wallet.account?.toLowerCase() ? paymentPlan.fundingBalances : void 0;
@@ -6055,18 +6479,6 @@ function StableGeniePay(props) {
6055
6479
  const ids = new Set(fundingTokens.map((t) => Number(t.chainId)));
6056
6480
  return chains.filter((c) => ids.has(Number(c.chainId)));
6057
6481
  }, [chains, fundingTokens]);
6058
- const payableAssets = react.useMemo(() => {
6059
- const seen = /* @__PURE__ */ new Set();
6060
- const list = [];
6061
- for (const { route } of held) {
6062
- const symbol = symbolKey(route.source.asset);
6063
- if (seen.has(symbol)) continue;
6064
- seen.add(symbol);
6065
- const token = registryTokens.find((t) => Number(t.chainId) === route.source.chainId && addrEq2(t.address, route.source.tokenAddress));
6066
- list.push({ symbol: route.source.asset, logoUrl: token?.logoUrl });
6067
- }
6068
- return list;
6069
- }, [held, registryTokens]);
6070
6482
  const userPicked = react.useRef(false);
6071
6483
  const selectRoute = react.useCallback(
6072
6484
  (id) => {
@@ -6115,21 +6527,42 @@ function StableGeniePay(props) {
6115
6527
  const sel = flow.selected;
6116
6528
  const selectedVisible = Boolean(sel && visibleRoutes.some((r) => r.id === sel.id));
6117
6529
  const selBal = sel ? holdings.balances[balanceKey(sel.source.chainId, sel.source.tokenAddress)] : void 0;
6118
- const why = parked ? "" : sel && selectedVisible ? sel.state === "DIRECT" ? `Direct ${sel.source.ticker || sel.source.asset} transfer on ${CHAIN_LABELS[sel.source.chainId] || sel.source.chainName} \xB7 lowest cost` : (
6119
- // Deliberately does NOT restate the destination amount — that is merchant config, not a payer fact.
6120
- `Routed through ZeroDelta \xB7 the extra covers the network cost`
6121
- ) : "Pay with USDC, USDT, or USDE from your wallet.";
6122
- const comingSoon = method === "card" ? "Card payments are coming soon. Today StableGenie pays from your connected wallet." : "Bank transfers are coming soon.";
6123
- const payLabel = parked ? method === "card" ? "Card \u2014 coming soon" : "Bank \u2014 coming soon" : submitting ? "Paying\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall ? flow.nativeShortfall : sel && selectedVisible ? `Pay ${sel.source.payAmount} ${sel.source.ticker || sel.source.asset}` : "Pay";
6530
+ const selToken = sel ? registryTokens.find((t) => Number(t.chainId) === sel.source.chainId && addrEq2(t.address, sel.source.tokenAddress)) ?? null : null;
6531
+ const [prices, setPrices] = react.useState({});
6532
+ const selSymbol = sel ? symbolKey(sel.source.asset) : "";
6533
+ react.useEffect(() => {
6534
+ if (props.variant === "pill" || !selSymbol || !engine.fetchPrices) return;
6535
+ let alive = true;
6536
+ engine.fetchPrices([selSymbol]).then((next) => {
6537
+ if (alive) setPrices((prev) => ({ ...prev, ...next }));
6538
+ });
6539
+ return () => {
6540
+ alive = false;
6541
+ };
6542
+ }, [engine, selSymbol, props.variant]);
6543
+ const [sheet, setSheet] = react.useState(false);
6544
+ const complianceBtnRef = react.useRef(null);
6545
+ react.useEffect(() => setSheet(false), [wallet.account, paramsKey]);
6546
+ const closeSheet = () => {
6547
+ setSheet(false);
6548
+ requestAnimationFrame(() => complianceBtnRef.current?.focus());
6549
+ };
6550
+ 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";
6124
6551
  const walletSlot = wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-tools", children: [
6125
6552
  /* @__PURE__ */ jsxRuntime.jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }),
6126
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-brand", children: [
6127
- /* @__PURE__ */ jsxRuntime.jsx(BrandMark, { size: 14, className: "sg-brand-mark" }),
6128
- "ZeroDelta"
6553
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-wallet", "data-connected": "true", children: [
6554
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-wallet-dot", "aria-hidden": "true" }),
6555
+ " ",
6556
+ shortAddress2(wallet.account)
6129
6557
  ] })
6130
- ] }) : void 0;
6131
- if (props.variant === "pill") return /* @__PURE__ */ jsxRuntime.jsx(PaymentIsland, { kind: "pay", ...props });
6132
- return /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title: config.title || "Complete payment", theme: config.theme, heightPx: props.heightPx, walletSlot, 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(
6558
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx("span", {});
6559
+ const nativeWei = sel ? routeNativeValue(sel) : 0n;
6560
+ const feeRows = sel ? [
6561
+ { label: "Network fee", value: nativeWei > 0n ? `~${formatNative(nativeWei)} ${nativeSymbol(sel.source.chainId)}` : "Gas only" },
6562
+ ...durationLabel(sel.quote.estimatedDuration) ? [{ label: "Estimated time", value: durationLabel(sel.quote.estimatedDuration) }] : []
6563
+ ] : [];
6564
+ const loadingPlan = flow.status === "loading" || holdings.loading && !sel;
6565
+ 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(
6133
6566
  TokenSelect,
6134
6567
  {
6135
6568
  title: "Pay with",
@@ -6140,9 +6573,12 @@ function StableGeniePay(props) {
6140
6573
  onBack: closeSelector,
6141
6574
  onPick: pickFunding
6142
6575
  }
6143
- ) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: !wallet.account ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
6144
- /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }),
6145
- wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
6576
+ ) : 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: [
6577
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-pane sg-pane--note", children: "Connect your wallet to choose a token to pay with." }),
6578
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
6579
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: wallet.connect, busy: wallet.connecting, children: "Connect wallet" }),
6580
+ wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
6581
+ ] })
6146
6582
  ] }) : flow.status === "success" || flow.status === "pending" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6147
6583
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success", children: [
6148
6584
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-success-check", "data-pending": flow.verdict?.status !== "confirmed", children: /* @__PURE__ */ jsxRuntime.jsx(CheckGlyph3, {}) }),
@@ -6159,45 +6595,43 @@ function StableGeniePay(props) {
6159
6595
  ] }),
6160
6596
  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
6161
6597
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6162
- /* @__PURE__ */ jsxRuntime.jsx(MethodTabs, { value: method, onChange: setMethod }),
6163
- parked ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: comingSoon }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6164
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginTop: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
6165
- FundingTile,
6166
- {
6167
- label: "Pay with",
6168
- assets: payableAssets,
6169
- loading: flow.status === "loading" || holdings.loading,
6170
- disabled: submitting || !visibleRoutes.length,
6171
- btnRef: payTileRef,
6172
- onClick: () => setView("select")
6173
- }
6174
- ) }),
6175
- flow.status === "loading" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-route", style: { marginTop: 12 }, children: [
6176
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-skel" }),
6177
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-muted", style: { fontSize: 13 }, children: [
6178
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-spinner" }),
6179
- " Finding the best way to pay\u2026"
6180
- ] })
6181
- ] }) : null,
6182
- flow.status === "error" && flow.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: flow.error }) : null,
6183
- sel && selectedVisible && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
6184
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: "You pay" }),
6185
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor sg-mono", children: [
6186
- sel.source.payAmount,
6187
- " ",
6188
- sel.source.ticker || sel.source.asset
6598
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
6599
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "pay", children: [
6600
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: "You pay" }),
6601
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
6602
+ /* @__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" }) }),
6603
+ /* @__PURE__ */ jsxRuntime.jsx(
6604
+ TokenButton,
6605
+ {
6606
+ label: "Pay with",
6607
+ symbol: sel && selectedVisible ? sel.source.asset : null,
6608
+ chainId: sel && selectedVisible ? sel.source.chainId : null,
6609
+ token: selToken,
6610
+ disabled: submitting || !visibleRoutes.length,
6611
+ btnRef: payTileRef,
6612
+ onClick: () => setView("select")
6613
+ }
6614
+ )
6189
6615
  ] }),
6190
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-anchor-sub", children: [
6191
- "on ",
6192
- CHAIN_LABELS[sel.source.chainId] || sel.source.chainName,
6193
- selBal ? ` \xB7 balance ${selBal.formatted}` : ""
6194
- ] })
6195
- ] }) : null,
6196
- why ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-why", style: { marginTop: 10 }, children: why }) : null,
6616
+ /* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: sel && selectedVisible ? usdOf(sel.source.payAmount, prices[selSymbol]) : null, balance: selBal ? shortBalance(selBal.formatted) : null })
6617
+ ] }),
6618
+ flow.status === "error" && flow.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: flow.error }) : null,
6197
6619
  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,
6198
- flow.status === "ready" && !visibleRoutes.length ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: "No funding route matches the accepted assets for this payment." }) : null
6620
+ flow.status === "ready" && !visibleRoutes.length ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { children: "No funding route matches the accepted assets for this payment." }) : null,
6621
+ sel && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(
6622
+ DetailButton,
6623
+ {
6624
+ btnRef: complianceBtnRef,
6625
+ size: "lg",
6626
+ icon: /* @__PURE__ */ jsxRuntime.jsx(ShieldTickGlyph, {}),
6627
+ iconTone: complianceIconTone(sel.quote.compliance),
6628
+ label: "Compliance",
6629
+ badge: complianceBadge(sel.quote.compliance),
6630
+ onClick: () => setSheet(true)
6631
+ }
6632
+ ) : null,
6633
+ sel && selectedVisible && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(RateBox, { rowsOnly: true, rate: null, fromSymbol: "", toTicker: "", rows: feeRows }) : null
6199
6634
  ] }),
6200
- sel && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(CompliancePanel, { compliance: sel.quote.compliance, direct: sel.state === "DIRECT" }) : null,
6201
6635
  submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
6202
6636
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-cta-wrap", children: /* @__PURE__ */ jsxRuntime.jsx(
6203
6637
  Button,
@@ -6349,18 +6783,64 @@ function StableGenieSwap(props) {
6349
6783
  ] })
6350
6784
  ] });
6351
6785
  }
6786
+ function QuoteSheet(props) {
6787
+ const sheetRef = react.useRef(null);
6788
+ const onCloseRef = react.useRef(props.onClose);
6789
+ onCloseRef.current = props.onClose;
6790
+ react.useEffect(() => {
6791
+ sheetRef.current?.focus();
6792
+ const onKey = (e) => {
6793
+ if (e.key === "Escape") {
6794
+ e.stopPropagation();
6795
+ onCloseRef.current();
6796
+ }
6797
+ };
6798
+ document.addEventListener("keydown", onKey, true);
6799
+ return () => document.removeEventListener("keydown", onKey, true);
6800
+ }, []);
6801
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet", role: "dialog", "aria-modal": "true", "aria-label": "Quote details", ref: sheetRef, tabIndex: -1, children: [
6802
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-head", children: [
6803
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "sg-cp-sheet-title", children: "Quote details" }),
6804
+ /* @__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" }) }) })
6805
+ ] }),
6806
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cp-sheet-body", children: [
6807
+ /* @__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: [
6808
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { children: f.label }),
6809
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "sg-mono", children: f.value })
6810
+ ] }, f.label)) }) }),
6811
+ props.legs?.length ? /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "sg-cp-card sg-legs", children: [
6812
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-legs-head", children: /* @__PURE__ */ jsxRuntime.jsxs("b", { children: [
6813
+ props.legs.length,
6814
+ " orders \xB7 one signature"
6815
+ ] }) }),
6816
+ /* @__PURE__ */ jsxRuntime.jsx("ol", { className: "sg-leg-list", children: props.legs.map((leg) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sg-leg", children: [
6817
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-leg-n", children: leg.index }),
6818
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-body", children: [
6819
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-line", children: [
6820
+ leg.fromTicker || leg.fromAsset || "?",
6821
+ " on ",
6822
+ leg.fromChainName,
6823
+ " \u2192 ",
6824
+ leg.toTicker || leg.toAsset || "?",
6825
+ " on ",
6826
+ leg.toChainName
6827
+ ] }),
6828
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sg-leg-sub", children: [
6829
+ "Filled on ",
6830
+ leg.executionChainName
6831
+ ] })
6832
+ ] })
6833
+ ] }, leg.index)) })
6834
+ ] }) : null
6835
+ ] })
6836
+ ] });
6837
+ }
6352
6838
  var FIAT = [
6353
6839
  { code: "USD", glyph: "$", label: "US Dollar" },
6354
6840
  { code: "EUR", glyph: "\u20AC", label: "Euro" },
6355
6841
  { code: "GBP", glyph: "\xA3", label: "British Pound" },
6356
6842
  { code: "CHF", glyph: "\u20A3", label: "Swiss Franc" }
6357
6843
  ];
6358
- function ArrowGlyph2() {
6359
- 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: [
6360
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12h14" }),
6361
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m13 6 6 6-6 6" })
6362
- ] });
6363
- }
6364
6844
  function RouteGlyph() {
6365
6845
  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: [
6366
6846
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6", cy: "19", r: "2.4" }),
@@ -6384,7 +6864,21 @@ function FiatTile(props) {
6384
6864
  ] })
6385
6865
  ] });
6386
6866
  }
6867
+ function FiatButton(props) {
6868
+ return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "sg-tokbtn sg-tokbtn--fiat", children: [
6869
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-fiat", "data-size": "xs", "aria-hidden": "true", children: props.fiat.glyph }),
6870
+ /* @__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)) })
6871
+ ] });
6872
+ }
6387
6873
  function StableGenieExchange(props) {
6874
+ const config = useMergedConfig(props);
6875
+ if (props.variant !== "pill") return /* @__PURE__ */ jsxRuntime.jsx(ExchangeCard, { ...props });
6876
+ const amountLabel = props.defaultAmount && props.defaultFromAsset ? `${props.defaultAmount} ${props.defaultFromAsset}` : void 0;
6877
+ const mode = props.mode ?? "exchange";
6878
+ const verb = mode === "onramp" ? "Buy with ZeroDelta" : mode === "offramp" ? "Cash out with ZeroDelta" : "Exchange with ZeroDelta";
6879
+ 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 }) });
6880
+ }
6881
+ function ExchangeCard(props) {
6388
6882
  const config = useMergedConfig(props);
6389
6883
  const engine = useEngine({ apiBase: config.apiBase, apiKey: config.apiKey, trustedApiOrigin: config.trustedApiOrigin, rpcOverrides: config.rpcOverrides, onTransaction: config.onTransaction });
6390
6884
  const wallet = useWallet(config.provider);
@@ -6418,6 +6912,11 @@ function StableGenieExchange(props) {
6418
6912
  requestAnimationFrame(() => histBtnRef.current?.focus());
6419
6913
  };
6420
6914
  react.useEffect(() => setHist(null), [wallet.account]);
6915
+ const [sheet, setSheet] = react.useState(null);
6916
+ const fromTileRef = react.useRef(null);
6917
+ const toTileRef = react.useRef(null);
6918
+ const complianceBtnRef = react.useRef(null);
6919
+ const quoteBtnRef = react.useRef(null);
6421
6920
  const [from, setFrom] = react.useState(
6422
6921
  () => props.defaultFromChainId && props.defaultFromAsset ? { chainId: props.defaultFromChainId, symbol: symbolKey(props.defaultFromAsset) } : null
6423
6922
  );
@@ -6508,6 +7007,19 @@ function StableGenieExchange(props) {
6508
7007
  });
6509
7008
  }, [engine, wallet.account, tokens]);
6510
7009
  const fromBal = from && fromToken ? balances[balanceKey(from.chainId, fromToken.address)] : void 0;
7010
+ const [prices, setPrices] = react.useState({});
7011
+ react.useEffect(() => {
7012
+ if (isPill) return;
7013
+ const symbols = [from?.symbol, to?.symbol].filter((x) => !!x);
7014
+ if (!symbols.length || !engine.fetchPrices) return;
7015
+ let alive = true;
7016
+ engine.fetchPrices(symbols).then((next) => {
7017
+ if (alive) setPrices((prev) => ({ ...prev, ...next }));
7018
+ });
7019
+ return () => {
7020
+ alive = false;
7021
+ };
7022
+ }, [engine, from?.symbol, to?.symbol, isPill]);
6511
7023
  const paramsKey = `${mode}|${from?.chainId}|${from?.symbol}|${to?.chainId}|${toSymbol}|${normalizedAmount}|${props.recipient ?? ""}`;
6512
7024
  const flow = useFlow({
6513
7025
  engine,
@@ -6558,6 +7070,32 @@ function StableGenieExchange(props) {
6558
7070
  const title = config.title || (mode === "onramp" ? "Buy stablecoins" : mode === "offramp" ? "Cash out" : "Exchange");
6559
7071
  const soonLabel = mode === "onramp" ? "On-ramp coming soon" : "Off-ramp coming soon";
6560
7072
  const ctaLabel = rampMode ? soonLabel : submitting ? "Exchanging\u2026" : flow.insufficient ? "Insufficient balance" : flow.nativeShortfall || "Exchange";
7073
+ const selected = connected ? flow.selected : null;
7074
+ const hasQuote = Boolean(quotable && !quoting && !quoteError && receive);
7075
+ const nativeWei = (() => {
7076
+ try {
7077
+ if (selected) return routeNativeValue(selected);
7078
+ return preview.data ? BigInt(preview.data.nativeFeeRaw || "0") : 0n;
7079
+ } catch {
7080
+ return 0n;
7081
+ }
7082
+ })();
7083
+ const networkFee = nativeWei > 0n ? `~${formatNative(nativeWei)} ${nativeSymbol(from?.chainId ?? 1, chains)}` : "Gas only";
7084
+ const eta = durationLabel(meta?.duration);
7085
+ const rate = hasQuote && receive && Number(normalizedAmount) > 0 ? (Number(receive) / Number(normalizedAmount)).toFixed(6) : null;
7086
+ const rateRows = hasQuote ? [{ label: "Network fee", value: networkFee }, ...eta ? [{ label: "Estimated time", value: eta }] : []] : [];
7087
+ const via = selected ? selected.legs.length > 1 ? selected.legs[0]?.toTicker || selected.legs[0]?.toAsset || "" : null : preview.data?.via ?? null;
7088
+ const routeShape = via === null ? "Direct" : via ? `Via ${via}` : "Two steps";
7089
+ const compliance = selected?.quote.compliance;
7090
+ const complianceHasQuote = Boolean(selected && flow.status !== "loading");
7091
+ const fromUsd = usdOf(normalizedAmount, prices[from?.symbol ?? ""]);
7092
+ const toUsd = usdOf(receive, prices[to?.symbol ?? ""]);
7093
+ const flippable = !rampMode && !submitting && Boolean(to && sourceTokens.some((t) => Number(t.chainId) === to.chainId && symbolKey(t.symbol) === to.symbol));
7094
+ const flip = () => {
7095
+ if (!flippable) return;
7096
+ setFrom(to);
7097
+ setTo(from);
7098
+ };
6561
7099
  const walletSlot = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-head-tools", children: [
6562
7100
  connected ? /* @__PURE__ */ jsxRuntime.jsx(HistoryButton, { btnRef: histBtnRef, disabled: submitting, onClick: () => setHist({}) }) : null,
6563
7101
  /* @__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: [
@@ -6566,13 +7104,65 @@ function StableGenieExchange(props) {
6566
7104
  shortAddress2(wallet.account)
6567
7105
  ] }) : wallet.connecting ? "Connecting\u2026" : "Connect wallet" })
6568
7106
  ] });
6569
- const fromTileRef = react.useRef(null);
6570
- const toTileRef = react.useRef(null);
6571
7107
  const closeSelector = (isFrom) => {
6572
7108
  setView("main");
6573
7109
  requestAnimationFrame(() => (isFrom ? fromTileRef : toTileRef).current?.focus());
6574
7110
  };
6575
- if (props.variant === "pill") return /* @__PURE__ */ jsxRuntime.jsx(PaymentIsland, { kind: "exchange", ...props });
7111
+ const closeSheet = () => {
7112
+ const was = sheet;
7113
+ setSheet(null);
7114
+ requestAnimationFrame(() => (was === "quote" ? quoteBtnRef : complianceBtnRef).current?.focus());
7115
+ };
7116
+ const pctChips = mode !== "onramp" ? (
7117
+ // a11y note: <fieldset> carries UA styling that would have to be reset on every host page;
7118
+ // role="group" gives the same semantics.
7119
+ /* @__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)) })
7120
+ ) : null;
7121
+ const amountField = /* @__PURE__ */ jsxRuntime.jsx(AmountInput, { value: amount, onChange: setAmount, disabled: submitting, invalid: !!amountError, describedBy: amountNote ? amountNoteId : void 0 });
7122
+ const amountNoteEl = amountNote ? /* @__PURE__ */ jsxRuntime.jsx(AmountNote, { id: amountNoteId, tone: amountError ? "error" : "neutral", children: amountNote }) : null;
7123
+ const fiat = FIAT.find((f) => f.code === fiatCurrency) ?? FIAT[0];
7124
+ const complianceButton = (lg) => /* @__PURE__ */ jsxRuntime.jsx(
7125
+ DetailButton,
7126
+ {
7127
+ btnRef: complianceBtnRef,
7128
+ size: lg ? "lg" : void 0,
7129
+ icon: /* @__PURE__ */ jsxRuntime.jsx(ShieldTickGlyph, {}),
7130
+ iconTone: complianceIconTone(compliance, complianceHasQuote),
7131
+ label: "Compliance",
7132
+ badge: lg ? complianceBadge(compliance, complianceHasQuote) : null,
7133
+ onClick: () => setSheet("compliance")
7134
+ }
7135
+ );
7136
+ const quoteButton = (lg) => /* @__PURE__ */ jsxRuntime.jsx(
7137
+ DetailButton,
7138
+ {
7139
+ btnRef: quoteBtnRef,
7140
+ size: lg ? "lg" : void 0,
7141
+ icon: /* @__PURE__ */ jsxRuntime.jsx(QuoteGlyph, {}),
7142
+ label: "Quote",
7143
+ badge: lg && hasQuote ? { text: "Best return", tone: "info" } : null,
7144
+ onClick: () => setSheet("quote"),
7145
+ disabled: !hasQuote
7146
+ }
7147
+ );
7148
+ const rateBox = (open) => /* @__PURE__ */ jsxRuntime.jsx(RateBox, { rate, fromSymbol: from?.symbol ?? "", fromLogoUrl: fromToken?.logoUrl, toTicker, rows: rateRows, defaultOpen: open });
7149
+ const sheetBody = sheet === "compliance" ? /* @__PURE__ */ jsxRuntime.jsx(ComplianceSheet, { compliance, direct: selected?.state === "DIRECT", hasQuote: complianceHasQuote, onClose: closeSheet }) : sheet === "quote" && hasQuote ? /* @__PURE__ */ jsxRuntime.jsx(
7150
+ QuoteSheet,
7151
+ {
7152
+ onClose: closeSheet,
7153
+ facts: [
7154
+ { label: "Route", value: routeShape },
7155
+ { label: "Provider", value: meta?.bridge || "ZeroDelta" },
7156
+ { label: "You send", value: `${normalizedAmount} ${fromTicker}` },
7157
+ { label: "You receive", value: `${receive} ${toTicker}` },
7158
+ ...rate ? [{ label: "Rate", value: `1 ${fromTicker} = ${rate} ${toTicker}` }] : [],
7159
+ { label: "Fee", value: `${meta?.feeBps ?? 0} bps` },
7160
+ { label: "Network fee", value: networkFee },
7161
+ ...eta ? [{ label: "Estimated time", value: eta }] : []
7162
+ ],
7163
+ legs: selected && selected.legs.length > 1 ? selected.legs : void 0
7164
+ }
7165
+ ) : null;
6576
7166
  let body;
6577
7167
  if (hist && connected) {
6578
7168
  body = /* @__PURE__ */ jsxRuntime.jsx(TxHistoryPanel, { account: wallet.account, tokens, vaultIcons: catalogue?.vaultIcons, initialEntry: hist.entry ?? null, onBack: closeHistory });
@@ -6594,6 +7184,8 @@ function StableGenieExchange(props) {
6594
7184
  }
6595
7185
  }
6596
7186
  );
7187
+ } else if (sheetBody && !wide) {
7188
+ body = sheetBody;
6597
7189
  } else if (flow.status === "success" || flow.status === "pending") {
6598
7190
  body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6599
7191
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-success", children: [
@@ -6614,68 +7206,84 @@ function StableGenieExchange(props) {
6614
7206
  ] })
6615
7207
  ] });
6616
7208
  } else {
6617
- body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6618
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-ft", children: [
6619
- 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") }),
6620
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-ft-arrow", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(ArrowGlyph2, {}) }),
6621
- 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") })
7209
+ 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") });
7210
+ 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") });
7211
+ const cta = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
7212
+ !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 }),
7213
+ wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
7214
+ ] });
7215
+ const notices = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7216
+ 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,
7217
+ !rampMode && quoteError && !gatewayAmountError && !wide ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: quoteError }) : null
7218
+ ] });
7219
+ body = wide ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7220
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
7221
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-ft", children: [
7222
+ 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") }),
7223
+ /* @__PURE__ */ jsxRuntime.jsx(FlipButton, { small: true, onClick: flip, disabled: !flippable }),
7224
+ 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") })
7225
+ ] }),
7226
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "send", children: [
7227
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-top", children: [
7228
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "Send" }),
7229
+ pctChips
7230
+ ] }),
7231
+ amountField,
7232
+ amountNoteEl,
7233
+ /* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode !== "onramp" && fromBal ? shortBalance(fromBal.formatted) : null })
7234
+ ] })
6622
7235
  ] }),
6623
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
6624
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "Send" }),
6625
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-send-row", children: [
6626
- mode === "onramp" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-fiat", children: FIAT.find((f) => f.code === fiatCurrency)?.glyph ?? "$" }) : from ? /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: from.symbol, logoUrl: fromToken?.logoUrl, chainId: from.chainId, size: "sm" }) : null,
6627
- /* @__PURE__ */ jsxRuntime.jsx(
6628
- AmountInput,
6629
- {
6630
- value: amount,
6631
- onChange: setAmount,
6632
- disabled: submitting,
6633
- invalid: !!amountError,
6634
- describedBy: amountNote ? amountNoteId : void 0
6635
- }
6636
- )
7236
+ notices,
7237
+ submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
7238
+ cta
7239
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7240
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
7241
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "pay", children: [
7242
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-top", children: [
7243
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: mode === "onramp" ? `You pay (${fiatCurrency})` : "You pay" }),
7244
+ pctChips
7245
+ ] }),
7246
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
7247
+ amountField,
7248
+ payToken
7249
+ ] }),
7250
+ amountNoteEl,
7251
+ /* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: mode === "onramp" ? null : fromUsd, balance: mode !== "onramp" && fromBal ? shortBalance(fromBal.formatted) : null })
6637
7252
  ] }),
6638
- amountNote ? /* @__PURE__ */ jsxRuntime.jsx(AmountNote, { id: amountNoteId, tone: amountError ? "error" : "neutral", children: amountNote }) : null,
6639
- mode !== "onramp" && fromBal ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-send-bal sg-mono", children: [
6640
- "Balance: ",
6641
- fromBal.formatted,
6642
- " ",
6643
- fromTicker
6644
- ] }) : null,
6645
- mode !== "onramp" ? (
6646
- // a11y note: <fieldset> carries UA styling that would
6647
- // have to be reset on every host page; role="group" gives the same semantics.
6648
- /* @__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)) })
6649
- ) : null
7253
+ /* @__PURE__ */ jsxRuntime.jsx(FlipButton, { onClick: flip, disabled: !flippable }),
7254
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane", "data-kind": "receive", children: [
7255
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-pane-label", children: product === "rwa" ? "You receive (estimated)" : "You receive" }),
7256
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-pane-mid", children: [
7257
+ /* @__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" }) }),
7258
+ receiveToken
7259
+ ] }),
7260
+ /* @__PURE__ */ jsxRuntime.jsx(PaneFoot, { usd: hasQuote ? toUsd : null })
7261
+ ] }),
7262
+ rampMode ? null : props.inDialog === "drawer" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7263
+ complianceButton(true),
7264
+ quoteButton(true),
7265
+ rateBox(true)
7266
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7267
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-dbtn-row", children: [
7268
+ complianceButton(),
7269
+ quoteButton()
7270
+ ] }),
7271
+ rateBox()
7272
+ ] })
6650
7273
  ] }),
6651
- 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,
6652
- !rampMode && quoteError && !gatewayAmountError && !wide ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: quoteError }) : null,
6653
- !rampMode && !wide && quotable && !quoteError ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-panel", style: { marginTop: 12 }, children: [
6654
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-label", children: "You receive (estimated)" }),
6655
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-anchor sg-mono", children: quoting ? "\u2026" : receive ? `${receive} ${toTicker}` : "\u2014" }),
6656
- meta && !quoting ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
6657
- "via ",
6658
- meta.bridge,
6659
- " \xB7 fee ",
6660
- meta.feeBps,
6661
- " bps",
6662
- meta.duration ? ` \xB7 ~${meta.duration}s` : ""
6663
- ] }) : null
6664
- ] }) : null,
6665
- connected && flow.selected && flow.status !== "loading" ? /* @__PURE__ */ jsxRuntime.jsx(CompliancePanel, { compliance: flow.selected.quote.compliance, direct: flow.selected.state === "DIRECT" }) : null,
7274
+ notices,
6666
7275
  submitting ? /* @__PURE__ */ jsxRuntime.jsx(StepList, { steps: flow.steps }) : null,
6667
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-cta-wrap", children: [
6668
- !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 }),
6669
- wallet.error ? /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { tone: "error", children: wallet.error }) : null
6670
- ] })
7276
+ cta
6671
7277
  ] });
6672
7278
  }
6673
- const card = /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title, theme: config.theme, heightPx: props.heightPx, walletSlot, children: body });
7279
+ const card = /* @__PURE__ */ jsxRuntime.jsx(WidgetShell, { title, theme: config.theme, heightPx: props.heightPx, walletSlot, onClose: props.onClose, wide, children: body });
6674
7280
  if (!wide) return card;
6675
7281
  const resolved = resolveTheme(config.theme);
6676
7282
  const vars = themeToVars(resolved);
6677
7283
  let side;
6678
- if (rampMode) {
7284
+ if (sheetBody) {
7285
+ side = sheetBody;
7286
+ } else if (rampMode) {
6679
7287
  side = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-noroutes", children: [
6680
7288
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-noroutes-icon", children: /* @__PURE__ */ jsxRuntime.jsx(RouteGlyph, {}) }),
6681
7289
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-noroutes-title", children: soonLabel }),
@@ -6702,45 +7310,22 @@ function StableGenieExchange(props) {
6702
7310
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-noroutes-title", children: "No routes available" }),
6703
7311
  /* @__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." })
6704
7312
  ] });
6705
- } else if (receive && quotable) {
6706
- side = /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
6707
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-amt sg-mono", children: [
6708
- receive,
6709
- " ",
6710
- toTicker
6711
- ] }),
6712
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
6713
- "on ",
6714
- CHAIN_LABELS[to?.chainId ?? 0] || `Chain ${to?.chainId}`
6715
- ] }),
6716
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta", children: [
6717
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
6718
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "You send" }),
6719
- /* @__PURE__ */ jsxRuntime.jsxs("b", { className: "sg-mono", children: [
6720
- normalizedAmount,
6721
- " ",
6722
- fromTicker
6723
- ] })
6724
- ] }),
6725
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
6726
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "Route" }),
6727
- /* @__PURE__ */ jsxRuntime.jsx("b", { children: meta?.bridge || "ZeroDelta" })
6728
- ] }),
6729
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
6730
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "Fee" }),
6731
- /* @__PURE__ */ jsxRuntime.jsxs("b", { children: [
6732
- meta?.feeBps ?? 0,
6733
- " bps"
6734
- ] })
7313
+ } else if (hasQuote && receive) {
7314
+ side = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-side-body", children: [
7315
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv", children: [
7316
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-line", children: [
7317
+ /* @__PURE__ */ jsxRuntime.jsx(TokenGlyph, { symbol: to?.symbol ?? "", logoUrl: toToken?.logoUrl, chainId: to?.chainId, size: "xs" }),
7318
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-recv-amt", children: /* @__PURE__ */ jsxRuntime.jsx(AmountText, { value: receive, suffix: toTicker }) })
6735
7319
  ] }),
6736
- meta?.duration ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-meta-row", children: [
6737
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sg-meta-label", children: "Est. time" }),
6738
- /* @__PURE__ */ jsxRuntime.jsxs("b", { children: [
6739
- "~",
6740
- meta.duration,
6741
- "s"
6742
- ] })
6743
- ] }) : null
7320
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-recv-sub", children: [
7321
+ "On ",
7322
+ CHAIN_LABELS[to?.chainId ?? 0] || `Chain ${to?.chainId}`
7323
+ ] })
7324
+ ] }),
7325
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-stack", children: [
7326
+ rateBox(true),
7327
+ complianceButton(true),
7328
+ quoteButton(true)
6744
7329
  ] })
6745
7330
  ] });
6746
7331
  } else {
@@ -6752,8 +7337,8 @@ function StableGenieExchange(props) {
6752
7337
  }
6753
7338
  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: [
6754
7339
  card,
6755
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-widget", "data-sg-mode": resolved.mode, style: props.heightPx ? { height: props.heightPx } : void 0, children: [
6756
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-side-title", children: "Receive" }),
7340
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sg-widget", "data-sg-side": "", "data-sg-mode": resolved.mode, style: props.heightPx ? { height: props.heightPx } : void 0, children: [
7341
+ sheetBody ? null : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sg-side-title", children: product === "rwa" ? "You receive (estimated)" : "You receive" }),
6757
7342
  side
6758
7343
  ] })
6759
7344
  ] }) });