zframes 0.8.2 → 0.9.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.js +524 -5
- package/package.json +6 -6
- package/runtime/assets/bar-chart-CMWrEpFm.js +1 -0
- package/runtime/assets/bitcoin-dominance-CDZbSLQ9.js +1 -0
- package/runtime/assets/breakeven-N9JfaLs2.js +1 -0
- package/runtime/assets/breathing-CSiaHH2d.js +1 -0
- package/runtime/assets/btc-block-size-bars-BwGQm2NA.js +1 -0
- package/runtime/assets/btc-blocks-CFz6DrIF.js +1 -0
- package/runtime/assets/btc-difficulty-bSLdWqGX.js +1 -0
- package/runtime/assets/btc-difficulty-chart-D6il3x9b.js +1 -0
- package/runtime/assets/btc-fees-CwRPq2S2.js +1 -0
- package/runtime/assets/btc-hashrate-_PbwOOj4.js +1 -0
- package/runtime/assets/btc-in-gold-JNXTU7sM.js +1 -0
- package/runtime/assets/btc-mempool-DivYz6mX.js +1 -0
- package/runtime/assets/btc-shared-BC2IjkCh.js +1 -0
- package/runtime/assets/bubbles-shared-BgKUWrak.js +1 -0
- package/runtime/assets/calculator-F474oCeb.js +1 -0
- package/runtime/assets/capital-structure-bars-BHtcggyu.js +1 -0
- package/runtime/assets/chain-activity-Db-zx6eG.js +1 -0
- package/runtime/assets/chain-activity-bars-CPhHE6lU.js +1 -0
- package/runtime/assets/chain-activity-scatter-CU7D3Nx9.js +1 -0
- package/runtime/assets/chain-price-movers-Vym50Lcy.js +1 -0
- package/runtime/assets/chart-utils-Ba8AFSZR.js +1 -0
- package/runtime/assets/checklist-BSCOZLJ-.js +1 -0
- package/runtime/assets/clock-C5hPRu82.js +1 -0
- package/runtime/assets/coin-momentum-heatmap-DbHsWjP2.js +1 -0
- package/runtime/assets/coin-momentum-scatter-5wS64urM.js +1 -0
- package/runtime/assets/coin-movers-BPifHhH2.js +1 -0
- package/runtime/assets/content-shared-CrVCFeOp.js +1 -0
- package/runtime/assets/countdown-9cgAKml3.js +1 -0
- package/runtime/assets/custom-data-A7UR4hIt.js +1 -0
- package/runtime/assets/cycle-shared-D8LQcBSw.js +1 -0
- package/runtime/assets/cycle-signals-CmEenZJE.js +1 -0
- package/runtime/assets/cycle-valuation-composite-olTWmWgj.js +1 -0
- package/runtime/assets/d3-BDRmnSFu.js +1 -0
- package/runtime/assets/daily-analysis-DmNxxfsL.js +1 -0
- package/runtime/assets/day-meter-DYYqZgFQ.js +1 -0
- package/runtime/assets/defi-revenue-BwnWnaOl.js +1 -0
- package/runtime/assets/dex-hot-pools-5sl00AOK.js +1 -0
- package/runtime/assets/dex-pool-bubbles-KyBmXb-u.js +1 -0
- package/runtime/assets/dex-pool-liquidity-scatter-Cczoa7F0.js +1 -0
- package/runtime/assets/dex-pool-treemap-DmoYWG3V.js +1 -0
- package/runtime/assets/dex-volume-bubbles-lLAheaQp.js +1 -0
- package/runtime/assets/dex-volume-chart-CGCkffrp.js +1 -0
- package/runtime/assets/dex-volume-share-area-figZ1USz.js +1 -0
- package/runtime/assets/dex-volume-treemap-CXXZ330C.js +1 -0
- package/runtime/assets/dice-BRHGwsSK.js +1 -0
- package/runtime/assets/dino-game-DkbgStXN.js +1 -0
- package/runtime/assets/divider-B_ScYYo5.js +1 -0
- package/runtime/assets/dominance-bars-CwFTP6Sh.js +1 -0
- package/runtime/assets/dominance-gauge-DL_JjphD.js +1 -0
- package/runtime/assets/drawdy-Bqx6Qs9j.js +1 -0
- package/runtime/assets/dxy-EDEcDqHS.js +1 -0
- package/runtime/assets/dxy-chart-DZ9Q_k9j.js +1 -0
- package/runtime/assets/editor-DNWRDAc5.css +1 -0
- package/runtime/assets/editor-DchM45os.js +2 -0
- package/runtime/assets/etf-flow-bars-BdLldRsx.js +1 -0
- package/runtime/assets/etf-flow-calendar-QeCVgCXm.js +1 -0
- package/runtime/assets/etf-flows-BokfCz94.js +1 -0
- package/runtime/assets/etf-flows-chart-B7vXhlo1.js +1 -0
- package/runtime/assets/etf-issuer-bars-ZWR-71DZ.js +1 -0
- package/runtime/assets/etf-issuer-treemap-zM5ZN913.js +1 -0
- package/runtime/assets/eth-issuance-impact-C0dbmsYs.js +1 -0
- package/runtime/assets/eth-staking-DhS4t_di.js +1 -0
- package/runtime/assets/eth-supply-BDXv32cs.js +1 -0
- package/runtime/assets/fear-greed-Db3YYSrb.js +1 -0
- package/runtime/assets/fear-greed-chart-BUaJVaqb.js +1 -0
- package/runtime/assets/feed-row-qDN72CXa.js +1 -0
- package/runtime/assets/filings-feed-CNEQhc4S.js +1 -0
- package/runtime/assets/filings-mix-BycrOiTn.js +1 -0
- package/runtime/assets/financial-stress-CtL4d_BQ.js +1 -0
- package/runtime/assets/flappy-bird-OADt73RX.js +1 -0
- package/runtime/assets/format-DWMrfgke.js +1 -0
- package/runtime/assets/fundamentals-DeZ9OQCp.js +1 -0
- package/runtime/assets/funding-bars-CZicqsRm.js +1 -0
- package/runtime/assets/funding-carry-area-B9WKPWmT.js +1 -0
- package/runtime/assets/funding-comparison-TSJiamEF.js +1 -0
- package/runtime/assets/funding-crowding-scatter-DfPN294N.js +1 -0
- package/runtime/assets/funding-heatmap-BiW7ZLwp.js +1 -0
- package/runtime/assets/funding-leaderboard-bars-C6PF11ps.js +1 -0
- package/runtime/assets/funding-rate-chart-MWU01Uib.js +1 -0
- package/runtime/assets/funding-spread-bars-Br7XsS11.js +1 -0
- package/runtime/assets/funding-venue-heatmap-sPFQ1fzo.js +1 -0
- package/runtime/assets/fx-board-CXrfSPfH.js +1 -0
- package/runtime/assets/fx-cross-heatmap-CHJIg4cN.js +1 -0
- package/runtime/assets/fx-movers-bars-DpD5YR28.js +1 -0
- package/runtime/assets/fx-trend-chart-DXS0-OTV.js +1 -0
- package/runtime/assets/game-ui-DRuW9syP.js +1 -0
- package/runtime/assets/gold-silver-ratio-C1AEhktf.js +1 -0
- package/runtime/assets/gridstack-BJOLV-iY.js +3 -0
- package/runtime/assets/gridstack-Chv4ms9g.css +1 -0
- package/runtime/assets/heading-DMvjA_mI.js +1 -0
- package/runtime/assets/heatmap-chart-CXN9d41C.js +1 -0
- package/runtime/assets/hero-number-BFIUUm5q.js +1 -0
- package/runtime/assets/holiday-calendar-s6CQYrht.js +1 -0
- package/runtime/assets/hooks-CLLchjg6.js +1 -0
- package/runtime/assets/image-Dx6lzZxo.js +1 -0
- package/runtime/assets/image-gallery-DlvoKVqh.js +1 -0
- package/runtime/assets/index-9oCCAb1t.js +1106 -0
- package/runtime/assets/index-tGx-fhSL.css +1 -0
- package/runtime/assets/indicators-YksbfYtF.js +1 -0
- package/runtime/assets/inflation-pulse-DFjPkATF.js +1 -0
- package/runtime/assets/journal-log-DllO3-3Q.js +1 -0
- package/runtime/assets/journal-open-49eapsYs.js +1 -0
- package/runtime/assets/journal-results-CYsmiD33.js +1 -0
- package/runtime/assets/journal-score-BvJ7YMEp.js +1 -0
- package/runtime/assets/journal-store-DcqepoPT.js +1 -0
- package/runtime/assets/journal-ui-CR7uxhyO.js +1 -0
- package/runtime/assets/labor-force-flow-BIAQjzra.js +1 -0
- package/runtime/assets/labor-market-D_4TsgBi.js +1 -0
- package/runtime/assets/lightning-stats-DqM9rjwr.js +1 -0
- package/runtime/assets/link-grid-DUGgdBCS.js +1 -0
- package/runtime/assets/liquidity-basis-bars-BBthK657.js +1 -0
- package/runtime/assets/live-tick-S-lWTthW.js +1 -0
- package/runtime/assets/liveline-BV-xqAVq.js +1 -0
- package/runtime/assets/ma-multiplier-0NdXDf5j.js +1 -0
- package/runtime/assets/macro-calendar-BtFBeUX9.js +1 -0
- package/runtime/assets/market-bubbles-B4CW9pwK.js +1 -0
- package/runtime/assets/market-cap-treemap-ydmUhoNY.js +1 -0
- package/runtime/assets/market-data-BeuX48f-.js +1 -0
- package/runtime/assets/market-hours-B_bTdanw.js +1 -0
- package/runtime/assets/market-scatter-FTzDpslF.js +1 -0
- package/runtime/assets/marquee-sW0gA0u_.js +28 -0
- package/runtime/assets/mayer-multiple-D6T_kVDR.js +1 -0
- package/runtime/assets/mempool-fee-curve-DUsgJQRe.js +1 -0
- package/runtime/assets/metal-annual-returns-CsZDcJs4.js +1 -0
- package/runtime/assets/metal-ath-ChqiN4O-.js +1 -0
- package/runtime/assets/metal-compare-chart-CiOT1Su2.js +1 -0
- package/runtime/assets/metal-cot-breakdown-B83N5bkN.js +1 -0
- package/runtime/assets/metal-cot-gauge-DK-PBRRk.js +1 -0
- package/runtime/assets/metal-cot-net-B5BW2stR.js +1 -0
- package/runtime/assets/metal-drawdown-DZ7uOHIc.js +1 -0
- package/runtime/assets/metal-fix-table-ChbUOgVu.js +1 -0
- package/runtime/assets/metal-milestones-BpfRvE7K.js +1 -0
- package/runtime/assets/metal-open-interest-BFYrS2KP.js +1 -0
- package/runtime/assets/metal-performance-CBD6oX6f.js +1 -0
- package/runtime/assets/metal-positioning-vs-price-BPxrZcR9.js +1 -0
- package/runtime/assets/metal-price-CIZRcE2_.js +1 -0
- package/runtime/assets/metal-price-chart-BX5tGnIt.js +1 -0
- package/runtime/assets/metal-ratio-chart-D99QH7nv.js +1 -0
- package/runtime/assets/metal-return-distribution-B0AAXxe0.js +1 -0
- package/runtime/assets/metal-seasonality-BuQKG4Gi.js +1 -0
- package/runtime/assets/metal-value-CTPzpBvh.js +1 -0
- package/runtime/assets/metal-volatility-g94-b7hn.js +1 -0
- package/runtime/assets/metals-board-DPfkH3Vj.js +1 -0
- package/runtime/assets/metals-correlation-BjZHMzKY.js +1 -0
- package/runtime/assets/metals-shared-CN6-LtS3.js +1 -0
- package/runtime/assets/metric-row-CqsjSvCI.js +1 -0
- package/runtime/assets/mini-line-chart-B0Ixv2kC.js +1 -0
- package/runtime/assets/mining-pools-BpaMCs0f.js +1 -0
- package/runtime/assets/mining-pools-share-CrfTxNKr.js +1 -0
- package/runtime/assets/misery-index-BU2requD.js +1 -0
- package/runtime/assets/money-BHiVNo0u.js +1 -0
- package/runtime/assets/mover-row-DmmszLhN.js +1 -0
- package/runtime/assets/movers-bars-Bp8o2qzk.js +1 -0
- package/runtime/assets/movers-bubbles-BidtAeZE.js +1 -0
- package/runtime/assets/multi-series-line-chart-DyOsZlI2.css +1 -0
- package/runtime/assets/multi-series-line-chart-XRttVKf5.js +1 -0
- package/runtime/assets/mvrv-CrYk75Yb.js +1 -0
- package/runtime/assets/mvrv-zscore-chart-0m51ohsV.js +1 -0
- package/runtime/assets/national-debt-BExrnkxj.js +1 -0
- package/runtime/assets/news-feed-BHQ8VVq_.js +1 -0
- package/runtime/assets/nft-activity-bars-BjGU2vJF.js +1 -0
- package/runtime/assets/nft-bubbles-BU8EpLxc.js +1 -0
- package/runtime/assets/nft-collections-BED52ibd.js +1 -0
- package/runtime/assets/nft-scatter-CGhED2cB.js +1 -0
- package/runtime/assets/nft-treemap-PO55tL6W.js +1 -0
- package/runtime/assets/note-Dgl6DLv8.js +3 -0
- package/runtime/assets/nupl-DglP-qbC.js +1 -0
- package/runtime/assets/nupl-cycle-chart-S9yflXUB.js +1 -0
- package/runtime/assets/nyfed-fed-funds-band-gauge-CFMKcqEc.js +1 -0
- package/runtime/assets/nyfed-reference-rate-bars-C_3KkqpO.js +1 -0
- package/runtime/assets/nyfed-sofr-term-averages-bars-Dqaa52Pl.js +1 -0
- package/runtime/assets/ofr-stress-category-area-DnEjZbRo.js +1 -0
- package/runtime/assets/ohlcv-volume-bars-Bi83GPWW.js +1 -0
- package/runtime/assets/oi-treemap-BbPekPJp.js +1 -0
- package/runtime/assets/onchain-oscillator-overlay-Ck_7aTc_.js +1 -0
- package/runtime/assets/open-interest-B5119LVQ.js +1 -0
- package/runtime/assets/options-flow-skew-Cj0v65sh.js +1 -0
- package/runtime/assets/options-iv-Bbopuw_Z.js +1 -0
- package/runtime/assets/options-max-pain-DkUoBRmq.js +1 -0
- package/runtime/assets/options-max-pain-multi-BZq8vuHy.js +1 -0
- package/runtime/assets/options-oi-ladder-heatmap-BMFAQkEI.js +1 -0
- package/runtime/assets/options-oi-skew-B3eQqfLD.js +1 -0
- package/runtime/assets/options-oi-strike-D1ZtVHSn.js +1 -0
- package/runtime/assets/options-put-call-lwGRvlsC.js +1 -0
- package/runtime/assets/options-vol-smile-zdzBnvMN.js +1 -0
- package/runtime/assets/options-vol-spread-CnZEubR3.js +1 -0
- package/runtime/assets/order-book-depth-CeFNsjv3.js +1 -0
- package/runtime/assets/payrolls-bars-T0e6cyjh.js +1 -0
- package/runtime/assets/pi-cycle-CqX0lAu1.js +1 -0
- package/runtime/assets/pie-chart-cmDhECET.js +1 -0
- package/runtime/assets/pomodoro-BstwVCqa.js +1 -0
- package/runtime/assets/portfolio-allocation-DzjS0F9u.js +1 -0
- package/runtime/assets/portfolio-common-CcbzaPrv.js +1 -0
- package/runtime/assets/portfolio-holdings-1d7jT_Dv.js +1 -0
- package/runtime/assets/portfolio-movers-vdVKKjAL.js +1 -0
- package/runtime/assets/portfolio-value-C2hCsXwG.js +1 -0
- package/runtime/assets/portfolio-value-bars-Bkh18oxT.js +1 -0
- package/runtime/assets/prediction-market-bars-WOea9YlB.js +1 -0
- package/runtime/assets/prediction-market-scatter-Bg8Hp9YU.js +1 -0
- package/runtime/assets/prediction-markets-bubble-DUFbL6ZL.js +1 -0
- package/runtime/assets/prediction-markets-vrOoZGTG.js +1 -0
- package/runtime/assets/price-chart-NGnXyEwF.js +1 -0
- package/runtime/assets/price-compare-D0cu78Tg.js +1 -0
- package/runtime/assets/price-liveline-B_6-t2eO.js +1 -0
- package/runtime/assets/price-ticker-DpNG6jQF.js +1 -0
- package/runtime/assets/protocol-fees-bubbles-CfMsdfGV.js +1 -0
- package/runtime/assets/protocol-fees-treemap-b4z8_0dU.js +1 -0
- package/runtime/assets/protocol-fees-vs-tvl-scatter-D-REm65e.js +1 -0
- package/runtime/assets/protocol-tvl-bubbles-BDAUSzkE.js +1 -0
- package/runtime/assets/protocol-tvl-by-category-fw6ADU1F.js +1 -0
- package/runtime/assets/protocol-tvl-chart-Q1hGvfby.js +1 -0
- package/runtime/assets/protocol-tvl-share-area-DXQzexAL.js +1 -0
- package/runtime/assets/protocol-tvl-treemap-DC_qfwIF.js +1 -0
- package/runtime/assets/puell-multiple-uc0NZXdh.js +1 -0
- package/runtime/assets/put-call-gauge-DtlDFtDZ.js +1 -0
- package/runtime/assets/quote-CuEE1U0a.js +1 -0
- package/runtime/assets/radial-gauge-DUhIBGcM.js +1 -0
- package/runtime/assets/rates-board-Byz3erIf.js +1 -0
- package/runtime/assets/react-DdM8gsnR.js +9 -0
- package/runtime/assets/real-wages-BU2XSTAC.js +1 -0
- package/runtime/assets/realized-price-D91T6q7P.js +1 -0
- package/runtime/assets/reserve-risk-CuRuMPUz.js +1 -0
- package/runtime/assets/returns-projector-DvVTUgZa.js +1 -0
- package/runtime/assets/risk-reward-Brde1Qql.js +1 -0
- package/runtime/assets/rolldown-runtime-Bh1tDfsg.js +1 -0
- package/runtime/assets/rsi-momentum-DFARJhwN.js +1 -0
- package/runtime/assets/rules-card-CDgHHXtE.js +1 -0
- package/runtime/assets/scatter-chart-tjlc1NWO.js +1 -0
- package/runtime/assets/scene-DgXljRUS.js +1 -0
- package/runtime/assets/sector-bars-D0A6Sj3C.js +1 -0
- package/runtime/assets/sector-bubbles-C5lQoTi9.js +1 -0
- package/runtime/assets/sector-performance-CVVJ-VGu.js +1 -0
- package/runtime/assets/sector-treemap-lyftrGDF.js +1 -0
- package/runtime/assets/sentiment-gauge-CdnbFwyn.js +1 -0
- package/runtime/assets/session-progress-BfuN5Ilt.js +1 -0
- package/runtime/assets/short-volume-B2TiqLCD.js +1 -0
- package/runtime/assets/short-volume-bars-Cm-TnzY-.js +1 -0
- package/runtime/assets/snake-D0Secq9I.js +1 -0
- package/runtime/assets/sopr-j5kMKG03.js +1 -0
- package/runtime/assets/spotify-embed-BJIW3cBK.js +1 -0
- package/runtime/assets/stablecoin-chains-jLxaRE9T.js +1 -0
- package/runtime/assets/stablecoin-supply-6Q2kIHWN.js +1 -0
- package/runtime/assets/stacked-area-chart-B3ayMBfx.js +1 -0
- package/runtime/assets/stopwatch-DKtBGcQd.js +1 -0
- package/runtime/assets/timeframe-DUDLPk23.js +1 -0
- package/runtime/assets/tokenized-gold-B6KMvUVf.js +1 -0
- package/runtime/assets/top-movers-Bzz7lloh.js +1 -0
- package/runtime/assets/treasury-auction-demand-scatter-CUoIYkrP.js +1 -0
- package/runtime/assets/treasury-auction-size-bars-DXMJ0a9C.js +1 -0
- package/runtime/assets/treasury-auctions-ChsX0OUJ.js +1 -0
- package/runtime/assets/treasury-avg-rate-bars-DQ_HgQ0U.js +1 -0
- package/runtime/assets/treasury-debt-composition-area-C3sBaNNX.js +1 -0
- package/runtime/assets/treemap-leaf-f-vE1hUM.js +1 -0
- package/runtime/assets/trending-bars-DtgWzD_x.js +1 -0
- package/runtime/assets/trending-bubbles-DRJqfQqK.js +1 -0
- package/runtime/assets/trending-coins-n7mmU4mL.js +1 -0
- package/runtime/assets/tvl-bars-5IQ6zz2M.js +1 -0
- package/runtime/assets/tvl-bubbles-DU2M5Zl1.js +1 -0
- package/runtime/assets/tvl-treemap-qsmpeeAB.js +1 -0
- package/runtime/assets/ui-CYz5SGgR.js +1 -0
- package/runtime/assets/us-gold-reserve-8L2oYWV_.js +1 -0
- package/runtime/assets/us-gold-vaults-TuTFtr2T.js +1 -0
- package/runtime/assets/use-countdown-DSLbwkPl.js +1 -0
- package/runtime/assets/utils-BsB3-B7h.js +1 -0
- package/runtime/assets/video-CYH3El1X.js +1 -0
- package/runtime/assets/volume-movers-scatter-B8dYI1EZ.js +1 -0
- package/runtime/assets/volume-profile-W44vUguI.js +1 -0
- package/runtime/assets/volume-share-donut-CLbp38ek.js +1 -0
- package/runtime/assets/yield-composition-scatter-BinG9C4D.js +1 -0
- package/runtime/assets/yield-curve-DHeqDdBV.js +1 -0
- package/runtime/assets/yield-momentum-bars-D4ToH0Fp.js +1 -0
- package/runtime/assets/yield-risk-pie-C73G7WqW.js +1 -0
- package/runtime/assets/yield-scanner-uR4S_OrU.js +1 -0
- package/runtime/assets/yield-scatter-CnZQ7naG.js +1 -0
- package/runtime/index.html +7 -3
- package/runtime/assets/bar-chart-DCMbxUJx.js +0 -1
- package/runtime/assets/bitcoin-dominance-DQ6fUOfp.js +0 -1
- package/runtime/assets/breakeven-BiMfl0NU.js +0 -1
- package/runtime/assets/breathing-BQamMTOy.js +0 -1
- package/runtime/assets/btc-block-size-bars-DbwVb3YX.js +0 -1
- package/runtime/assets/btc-blocks-UZJqCEtB.js +0 -1
- package/runtime/assets/btc-difficulty-BtNgUCRS.js +0 -1
- package/runtime/assets/btc-difficulty-chart-BNT2fdwu.js +0 -1
- package/runtime/assets/btc-fees-CJhybpGO.js +0 -1
- package/runtime/assets/btc-hashrate-CtKkSA37.js +0 -1
- package/runtime/assets/btc-mempool-Dvlm6Uqk.js +0 -1
- package/runtime/assets/btc-shared-yOWoU9Im.js +0 -1
- package/runtime/assets/bubbles-shared-DlmjtiIA.js +0 -1
- package/runtime/assets/calculator-vMXfcXI8.js +0 -1
- package/runtime/assets/capital-structure-bars-B8-6gPY8.js +0 -1
- package/runtime/assets/chain-activity-Dj-2gNmT.js +0 -1
- package/runtime/assets/chain-activity-bars-BKvgXG2Z.js +0 -1
- package/runtime/assets/chain-activity-scatter-BQHleuZR.js +0 -1
- package/runtime/assets/chain-price-movers-Brvxvf8U.js +0 -1
- package/runtime/assets/chart-utils-DGogNvJT.js +0 -1
- package/runtime/assets/checklist-CNXEkmSt.js +0 -1
- package/runtime/assets/clock-Cygi_7Rq.js +0 -1
- package/runtime/assets/coin-momentum-heatmap-1twNsb0f.js +0 -1
- package/runtime/assets/coin-momentum-scatter-DPsgGLFi.js +0 -1
- package/runtime/assets/coin-movers-CVT1PPyM.js +0 -1
- package/runtime/assets/content-shared-BZ1XzrJx.js +0 -1
- package/runtime/assets/countdown-DSGwZS9O.js +0 -1
- package/runtime/assets/custom-data-eTpLXe-p.js +0 -1
- package/runtime/assets/cycle-shared-XoGVsOjC.js +0 -1
- package/runtime/assets/cycle-signals-DjvuKoAs.js +0 -1
- package/runtime/assets/cycle-valuation-composite-D2lAreTy.js +0 -1
- package/runtime/assets/d3-ibrLIlQc.js +0 -1
- package/runtime/assets/daily-analysis-00KQOxaw.js +0 -1
- package/runtime/assets/day-meter-VL3CbmZ4.js +0 -1
- package/runtime/assets/defi-revenue-DWs3X1sr.js +0 -1
- package/runtime/assets/dex-hot-pools-Btjw9uOK.js +0 -1
- package/runtime/assets/dex-pool-bubbles-DOWGPgDC.js +0 -1
- package/runtime/assets/dex-pool-liquidity-scatter-DBqKeUjl.js +0 -1
- package/runtime/assets/dex-pool-treemap-Dev3WsvG.js +0 -1
- package/runtime/assets/dex-volume-bubbles-C9INGAs-.js +0 -1
- package/runtime/assets/dex-volume-chart-CdhI9ySp.js +0 -1
- package/runtime/assets/dex-volume-share-area-DblxtqOC.js +0 -1
- package/runtime/assets/dex-volume-treemap-LweUYNfn.js +0 -1
- package/runtime/assets/dice-CRJFRdlS.js +0 -1
- package/runtime/assets/dino-game-DIj8Xqmq.js +0 -1
- package/runtime/assets/divider-C0PhyAZz.js +0 -1
- package/runtime/assets/dominance-bars-CNztOXI9.js +0 -1
- package/runtime/assets/dominance-gauge-BSlVu-kG.js +0 -1
- package/runtime/assets/drawdy-UVwx54Tz.js +0 -1
- package/runtime/assets/dxy-DDnItBY-.js +0 -1
- package/runtime/assets/dxy-chart-CbyyyRdn.js +0 -1
- package/runtime/assets/editor-C9dj6xX0.css +0 -1
- package/runtime/assets/editor-CpgNu0wu.js +0 -68
- package/runtime/assets/etf-flow-bars-Dknb70p4.js +0 -1
- package/runtime/assets/etf-flow-calendar-DXTg-p2v.js +0 -1
- package/runtime/assets/etf-flows-D7WwvrYS.js +0 -1
- package/runtime/assets/etf-flows-chart-D_Ts_7Bc.js +0 -1
- package/runtime/assets/etf-issuer-bars-B5q3WXIk.js +0 -1
- package/runtime/assets/etf-issuer-treemap-hdTKUL3C.js +0 -1
- package/runtime/assets/eth-issuance-impact-CSucvUy4.js +0 -1
- package/runtime/assets/eth-staking-Yp_RzOHD.js +0 -1
- package/runtime/assets/eth-supply-jf4tRC80.js +0 -1
- package/runtime/assets/fear-greed-BrDutlol.js +0 -1
- package/runtime/assets/fear-greed-chart-BPAfnROs.js +0 -1
- package/runtime/assets/feed-row-mVg1d5Zj.js +0 -1
- package/runtime/assets/filings-feed-BrtWoUaf.js +0 -1
- package/runtime/assets/filings-mix-D8Z-fvzY.js +0 -1
- package/runtime/assets/financial-stress-DaxcQDnz.js +0 -1
- package/runtime/assets/flappy-bird-M38jNjAd.js +0 -1
- package/runtime/assets/format-DxkEZcwQ.js +0 -1
- package/runtime/assets/fundamentals-TlBRBKFV.js +0 -1
- package/runtime/assets/funding-bars-BPDrsC0K.js +0 -1
- package/runtime/assets/funding-carry-area-BZRpyy3L.js +0 -1
- package/runtime/assets/funding-comparison-C1OOzJw-.js +0 -1
- package/runtime/assets/funding-crowding-scatter-DDjzoq8v.js +0 -1
- package/runtime/assets/funding-heatmap-DqnJJPw0.js +0 -1
- package/runtime/assets/funding-leaderboard-bars-CrQMBbY7.js +0 -1
- package/runtime/assets/funding-rate-chart-dYIjvTBt.js +0 -1
- package/runtime/assets/funding-spread-bars-CRoG-zHf.js +0 -1
- package/runtime/assets/funding-venue-heatmap-DA0JsXzA.js +0 -1
- package/runtime/assets/fx-board-C_h1IJJy.js +0 -1
- package/runtime/assets/fx-cross-heatmap-CLHkKvsB.js +0 -1
- package/runtime/assets/fx-movers-bars-_U6XrETl.js +0 -1
- package/runtime/assets/fx-trend-chart-Cdi-lmjx.js +0 -1
- package/runtime/assets/game-ui-BiMS2KJf.js +0 -1
- package/runtime/assets/gridstack-BxxvPIFU.js +0 -9
- package/runtime/assets/gridstack-FIb_WQSt.css +0 -1
- package/runtime/assets/heading-BS9IhuAM.js +0 -1
- package/runtime/assets/hero-number-R-27T2n_.js +0 -1
- package/runtime/assets/holiday-calendar-BxcU0Y64.js +0 -1
- package/runtime/assets/image-HcDu9YKF.js +0 -1
- package/runtime/assets/image-gallery-BCXhCjqj.js +0 -1
- package/runtime/assets/index-BJ1Zyy42.js +0 -1108
- package/runtime/assets/index-BXLwJuoo.css +0 -1
- package/runtime/assets/index-BpPIfN5S.js +0 -1
- package/runtime/assets/index-Bw1aFtyx.js +0 -1
- package/runtime/assets/index-DuNO-RcB.js +0 -1
- package/runtime/assets/index-yv-SCb9g.css +0 -1
- package/runtime/assets/indicators-Cw7CVPn4.js +0 -1
- package/runtime/assets/inflation-pulse-BDmh42Nq.js +0 -1
- package/runtime/assets/journal-log-BKsmm4ZL.js +0 -1
- package/runtime/assets/journal-open-CQtXIVzV.js +0 -1
- package/runtime/assets/journal-results-BBhWJDi4.js +0 -1
- package/runtime/assets/journal-score-DRmD6tOH.js +0 -1
- package/runtime/assets/journal-store-DVDSxNMj.js +0 -1
- package/runtime/assets/journal-ui-YZ5om8r6.js +0 -1
- package/runtime/assets/labor-force-flow-B-8gZXZw.js +0 -1
- package/runtime/assets/labor-market-C6nbrubk.js +0 -1
- package/runtime/assets/lightning-stats-cbygNRrq.js +0 -1
- package/runtime/assets/link-grid-C0BQkbQ9.js +0 -1
- package/runtime/assets/liquidity-basis-bars-Dd5FSjDX.js +0 -1
- package/runtime/assets/live-tick-9Q3ubPF9.js +0 -1
- package/runtime/assets/liveline-bcaEuskN.js +0 -1
- package/runtime/assets/ma-multiplier-CrY1aFKX.js +0 -1
- package/runtime/assets/macro-calendar-D9MJ74wW.js +0 -1
- package/runtime/assets/market-bubbles-BKLV2VSd.js +0 -1
- package/runtime/assets/market-cap-treemap-B9af5p9K.js +0 -1
- package/runtime/assets/market-data-CvmpLFSo.js +0 -1
- package/runtime/assets/market-hours-jJUnunAF.js +0 -1
- package/runtime/assets/market-scatter-_f6FvF2I.js +0 -1
- package/runtime/assets/marquee-CJGebjBa.js +0 -28
- package/runtime/assets/mayer-multiple-DcxCnx6X.js +0 -1
- package/runtime/assets/mempool-fee-curve-yI10fMrE.js +0 -1
- package/runtime/assets/metric-row-BVVhjsjK.js +0 -1
- package/runtime/assets/mini-line-chart-DyG55cVW.js +0 -1
- package/runtime/assets/mining-pools-SIhc1qJ_.js +0 -1
- package/runtime/assets/mining-pools-share-DQSjhlWH.js +0 -1
- package/runtime/assets/misery-index-p5iEl6PS.js +0 -1
- package/runtime/assets/mover-row-_czAON2U.js +0 -1
- package/runtime/assets/movers-bars-clMvsESM.js +0 -1
- package/runtime/assets/movers-bubbles-CnHOfNZx.js +0 -1
- package/runtime/assets/mvrv-x4gyjhWx.js +0 -1
- package/runtime/assets/mvrv-zscore-chart-BT3IGmGY.js +0 -1
- package/runtime/assets/national-debt-DNtVgcl5.js +0 -1
- package/runtime/assets/news-feed-BVfKqSh7.js +0 -1
- package/runtime/assets/nft-activity-bars-lFRednN3.js +0 -1
- package/runtime/assets/nft-bubbles-ClNH9-_X.js +0 -1
- package/runtime/assets/nft-collections-B9RW4PJG.js +0 -1
- package/runtime/assets/nft-scatter--MbPsUx4.js +0 -1
- package/runtime/assets/nft-treemap-DBkTmq6-.js +0 -1
- package/runtime/assets/note-BhUZxKk8.js +0 -3
- package/runtime/assets/nupl-D3l-QZE3.js +0 -1
- package/runtime/assets/nupl-cycle-chart-BskEKMiX.js +0 -1
- package/runtime/assets/nyfed-fed-funds-band-gauge-CyShM9Rb.js +0 -1
- package/runtime/assets/nyfed-reference-rate-bars-WKmIeI9B.js +0 -1
- package/runtime/assets/nyfed-sofr-term-averages-bars-BXymij4O.js +0 -1
- package/runtime/assets/ofr-stress-category-area-Cq2zYtm9.js +0 -1
- package/runtime/assets/ohlcv-volume-bars-BqgMyH4V.js +0 -1
- package/runtime/assets/oi-treemap-Bu6FQGPf.js +0 -1
- package/runtime/assets/onchain-oscillator-overlay-BETEO4VQ.js +0 -1
- package/runtime/assets/open-interest-DPwK2Vft.js +0 -1
- package/runtime/assets/options-flow-skew-CLWqzUM0.js +0 -1
- package/runtime/assets/options-iv-tjSjFT91.js +0 -1
- package/runtime/assets/options-max-pain-multi-bMgyJ7e8.js +0 -1
- package/runtime/assets/options-max-pain-v6hCUt4V.js +0 -1
- package/runtime/assets/options-oi-ladder-heatmap-M34leT_q.js +0 -1
- package/runtime/assets/options-oi-skew-DxGLV4Co.js +0 -1
- package/runtime/assets/options-oi-strike-CoVTVWcx.js +0 -1
- package/runtime/assets/options-put-call-fRylJJIM.js +0 -1
- package/runtime/assets/options-vol-smile-DsHa2Bug.js +0 -1
- package/runtime/assets/options-vol-spread-BB1X9lml.js +0 -1
- package/runtime/assets/payrolls-bars-CQOZQEvE.js +0 -1
- package/runtime/assets/pi-cycle-BTdRfEfm.js +0 -1
- package/runtime/assets/pie-chart-BIxKuHm-.js +0 -1
- package/runtime/assets/pomodoro-lYAXlnH5.js +0 -1
- package/runtime/assets/portfolio-allocation-CJCJ-fv5.js +0 -1
- package/runtime/assets/portfolio-common-BMRwgiXd.js +0 -1
- package/runtime/assets/portfolio-holdings-BwUpyolL.js +0 -1
- package/runtime/assets/portfolio-movers-CGcHyyU9.js +0 -1
- package/runtime/assets/portfolio-value--mB-D1zn.js +0 -1
- package/runtime/assets/portfolio-value-bars-C1sg3z_9.js +0 -1
- package/runtime/assets/prediction-market-bars-CV7qn0TK.js +0 -1
- package/runtime/assets/prediction-market-scatter-vvAyUSMc.js +0 -1
- package/runtime/assets/prediction-markets-Dj5pUGQ9.js +0 -1
- package/runtime/assets/prediction-markets-bubble-Dy58nx5D.js +0 -1
- package/runtime/assets/price-chart-BWVJKy6l.js +0 -1
- package/runtime/assets/price-compare-X_somRkJ.js +0 -1
- package/runtime/assets/price-liveline-BcfvYH4i.js +0 -1
- package/runtime/assets/price-ticker-Dp5X5iEE.js +0 -1
- package/runtime/assets/protocol-fees-bubbles-cOlmopfM.js +0 -1
- package/runtime/assets/protocol-fees-treemap-k3DCqpib.js +0 -1
- package/runtime/assets/protocol-fees-vs-tvl-scatter-DE0XqWUP.js +0 -1
- package/runtime/assets/protocol-tvl-bubbles-C_y8RNpr.js +0 -1
- package/runtime/assets/protocol-tvl-by-category-CU3EhtYv.js +0 -1
- package/runtime/assets/protocol-tvl-chart-BSjYp87K.js +0 -1
- package/runtime/assets/protocol-tvl-share-area-A9uUDjqD.js +0 -1
- package/runtime/assets/protocol-tvl-treemap-DK99PI9E.js +0 -1
- package/runtime/assets/puell-multiple-DUwx8WAi.js +0 -1
- package/runtime/assets/put-call-gauge-wPFbaG0I.js +0 -1
- package/runtime/assets/quote-BEXrdAL4.js +0 -1
- package/runtime/assets/radial-gauge-0BzRQ6fO.js +0 -1
- package/runtime/assets/rates-board-Bo-1vZL3.js +0 -1
- package/runtime/assets/react-qoZPGuNy.js +0 -49
- package/runtime/assets/real-wages-DFbQjlXf.js +0 -1
- package/runtime/assets/realized-price-C7sCYZ-5.js +0 -1
- package/runtime/assets/reserve-risk-CYWr6Bnu.js +0 -1
- package/runtime/assets/returns-projector-Bitu8mA2.js +0 -1
- package/runtime/assets/risk-reward-5CA4dPWK.js +0 -1
- package/runtime/assets/rsi-momentum-BdScXy4t.js +0 -1
- package/runtime/assets/rules-card-BxdIuORn.js +0 -1
- package/runtime/assets/scatter-chart-B78EA7lD.js +0 -1
- package/runtime/assets/scene-uwfOGek1.js +0 -1
- package/runtime/assets/sector-bars-B4Nabix2.js +0 -1
- package/runtime/assets/sector-bubbles-D_s1FnKb.js +0 -1
- package/runtime/assets/sector-performance-C8K8FBsp.js +0 -1
- package/runtime/assets/sector-treemap-DOn3li5j.js +0 -1
- package/runtime/assets/sentiment-gauge-D-TyqTrT.js +0 -1
- package/runtime/assets/session-progress-2uZKU_tb.js +0 -1
- package/runtime/assets/short-volume-DrAqZxL_.js +0 -1
- package/runtime/assets/short-volume-bars-D0tDnbRp.js +0 -1
- package/runtime/assets/snake-CPrCYXRC.js +0 -1
- package/runtime/assets/sopr-CL-DcV9H.js +0 -1
- package/runtime/assets/spotify-embed-Cuyo3WcD.js +0 -1
- package/runtime/assets/stablecoin-chains-BNyBP4r7.js +0 -1
- package/runtime/assets/stablecoin-supply-CDoJSW65.js +0 -1
- package/runtime/assets/stopwatch-C5UbM7BR.js +0 -1
- package/runtime/assets/top-movers-n7gjNCAB.js +0 -1
- package/runtime/assets/treasury-auction-demand-scatter-B2GgfweB.js +0 -1
- package/runtime/assets/treasury-auction-size-bars-RSKrqPZN.js +0 -1
- package/runtime/assets/treasury-auctions-DmhLNhux.js +0 -1
- package/runtime/assets/treasury-avg-rate-bars-CHo7_TZ6.js +0 -1
- package/runtime/assets/treasury-debt-composition-area-D9TIg2Fu.js +0 -1
- package/runtime/assets/treemap-leaf-QG-L-SIG.js +0 -1
- package/runtime/assets/trending-bars-CFUOf_2T.js +0 -1
- package/runtime/assets/trending-bubbles-CWixlrYZ.js +0 -1
- package/runtime/assets/trending-coins-XmlyMu9W.js +0 -1
- package/runtime/assets/tvl-bars-CMr0p3wy.js +0 -1
- package/runtime/assets/tvl-bubbles-CBwy6njm.js +0 -1
- package/runtime/assets/tvl-treemap-Df9Sw5pQ.js +0 -1
- package/runtime/assets/ui-Bq3RQsdJ.js +0 -1
- package/runtime/assets/use-countdown-BmcF-qdL.js +0 -1
- package/runtime/assets/utils-DxneYyA_.js +0 -1
- package/runtime/assets/video-Cb7G8kra.js +0 -1
- package/runtime/assets/volume-movers-scatter-MwF5sr-K.js +0 -1
- package/runtime/assets/volume-profile-DM349em1.js +0 -1
- package/runtime/assets/volume-share-donut-FMessqoh.js +0 -1
- package/runtime/assets/yield-composition-scatter-51jp_MgP.js +0 -1
- package/runtime/assets/yield-curve-WOaDSVNR.js +0 -1
- package/runtime/assets/yield-momentum-bars-0hhg35dJ.js +0 -1
- package/runtime/assets/yield-risk-pie-mBxQGJN1.js +0 -1
- package/runtime/assets/yield-scanner-DTDsWH9C.js +0 -1
- package/runtime/assets/yield-scatter-BkeRhOK4.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,r as d}from"./react-qoZPGuNy.js";import{D as x,E as m,e as g,s as f,f as b}from"./market-data-CvmpLFSo.js";import{U as l}from"./format-DxkEZcwQ.js";import{f as w,a4 as h}from"./index-BJ1Zyy42.js";import{F as j}from"./ui-Bq3RQsdJ.js";h.schema;const u={open:{color:l,chipBg:"rgba(63, 208, 143, 0.13)",label:"Open",verb:"closes",rail:l,railOpacity:1,wash:"linear-gradient(90deg, rgba(63, 208, 143, 0.08), transparent 40%)"},closed:{color:"#8b92a1",chipBg:"rgba(255, 255, 255, 0.045)",label:"Closed",verb:"opens",rail:"rgba(255, 255, 255, 0.22)",railOpacity:.55,wash:"none"},holiday:{color:"#f2b066",chipBg:"rgba(242, 176, 102, 0.13)",label:"Holiday",verb:"opens",rail:"#f2b066",railOpacity:1,wash:"linear-gradient(90deg, rgba(242, 176, 102, 0.07), transparent 40%)"}};function k(){return e.jsxs("svg",{"aria-hidden":"true",className:"shrink-0",fill:"none",height:"15",viewBox:"0 0 20 20",width:"15",children:[e.jsx("circle",{cx:"10",cy:"10",r:"7.25",stroke:"currentColor",strokeOpacity:"0.75",strokeWidth:"1.5"}),e.jsx("path",{d:"M2.75 10h14.5M10 2.75c2 2 3 4.42 3 7.25s-1 5.25-3 7.25M10 2.75c-2 2-3 4.42-3 7.25s1 5.25 3 7.25",stroke:"currentColor",strokeLinecap:"round",strokeOpacity:"0.55",strokeWidth:"1.2"}),e.jsx("path",{d:"m5.25 12.75 2.6-2.3 2.1 1.55 3.95-4.8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})]})}function v(s,r){try{return new Intl.DateTimeFormat("en-US",{timeZone:r,hour:"2-digit",minute:"2-digit",hour12:!1,timeZoneName:"short"}).format(s)}catch{return r}}function y(s){return/^[A-Z]{2}$/i.test(s)?[...s.toUpperCase()].map(r=>String.fromCodePoint(127462+r.charCodeAt(0)-65)).join(""):s}function N(){return e.jsxs("svg",{"aria-hidden":"true",className:"opacity-50 transition group-hover:translate-x-0.5 group-hover:-translate-y-0.5 group-hover:opacity-95",fill:"none",height:"12",viewBox:"0 0 16 16",width:"12",children:[e.jsx("path",{d:"M6 4.5H4.5a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V10",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5"}),e.jsx("path",{d:"M9 2.5h4.5V7M8.25 7.75l5-5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})}function C({state:s}){return e.jsx("span",{"aria-hidden":"true",className:"grid h-[30px] w-[30px] shrink-0 place-items-center overflow-hidden rounded-[9px] border border-white/10 shadow-[inset_0_1px_0_rgba(255,255,255,0.12),0_4px_10px_-7px_rgba(0,0,0,0.8)]",style:{background:"linear-gradient(150deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02) 48%, rgba(0,0,0,0.22))"},children:e.jsx("span",{className:"text-[1.15rem] leading-none drop-shadow-[0_1px_3px_rgba(0,0,0,0.5)]",children:y(s.country)})})}function _({state:s}){const r=u[s.status],n=s.status==="closed";return e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border px-2 py-[3px] font-dmsans text-[0.5rem] font-bold uppercase leading-none tracking-[0.09em]",style:{borderColor:n?"rgba(255,255,255,0.1)":`${r.color}33`,background:r.chipBg,color:n?"rgba(255,255,255,0.62)":r.color},children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full",style:{background:n?"rgba(255,255,255,0.45)":r.color,boxShadow:s.status==="open"?`0 0 6px ${r.color}`:void 0}}),r.label]})}function S({now:s,state:r}){const n=u[r.status],o=b(r.nextChangeMin),c=v(s,r.tz);return e.jsxs("a",{"aria-label":`${r.name} website`,className:"group text-normal relative grid min-h-[42px] grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-3 overflow-hidden rounded-xl border border-white/[0.06] bg-white/[0.022] py-1.5 pr-2.5 pl-3 transition duration-200 hover:-translate-y-px hover:border-white/[0.14] hover:bg-white/[0.05] hover:text-strong focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/50",href:r.website,rel:"noreferrer",style:{backgroundImage:n.wash},target:"_blank",title:`${r.name} · ${r.city} · ${r.open}-${r.close}`,children:[e.jsx("span",{"aria-hidden":"true",className:"absolute inset-y-[5px] left-0 w-[3px] rounded-r-full",style:{background:n.rail,opacity:n.railOpacity}}),e.jsx(C,{state:r}),e.jsxs("span",{className:"relative min-w-0 pl-0.5",children:[e.jsxs("span",{className:"flex min-w-0 items-center gap-1.5",children:[e.jsx("span",{className:"body-sm text-strong truncate font-bold",children:r.name}),e.jsx(N,{})]}),e.jsxs("span",{className:"caption text-soft flex min-w-0 items-center gap-1.5 tabular-nums",children:[e.jsx("span",{className:"truncate",children:r.city}),e.jsx("span",{className:"h-[3px] w-[3px] shrink-0 rounded-full bg-white/25"}),e.jsx("span",{className:"shrink-0",children:c})]})]}),e.jsxs("span",{className:"relative flex min-w-[84px] flex-col items-end gap-1",children:[e.jsx(_,{state:r}),e.jsxs("span",{className:"caption whitespace-nowrap text-right tabular-nums",style:{color:r.status==="closed"?"rgba(255,255,255,0.55)":n.color},children:[n.verb," ",o]})]})]})}function E({config:s}){const[r,n]=d.useState(()=>new Date);d.useEffect(()=>{const a=window.setInterval(()=>n(new Date),3e4);return()=>window.clearInterval(a)},[]);const o=s.exchanges.length?s.exchanges:x,c=o.join(","),i=d.useMemo(()=>{const a=o.map(t=>m[t.toUpperCase()]).filter(t=>!!t).map(t=>g(t,r));return f(a,s.sort)},[c,r,s.sort]);if(i.length===0)return e.jsx(j,{children:"no known exchanges — check the codes"});const p=i.filter(a=>a.status==="open").length;return e.jsxs("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:[e.jsxs("div",{className:"caption text-soft mb-2 flex items-center justify-between gap-3 uppercase tracking-wide",children:[e.jsx("span",{className:"truncate",children:"exchange sessions"}),e.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1.5 rounded-full border border-white/[0.08] bg-white/[0.045] px-2 py-0.5 tabular-nums",children:[p>0&&e.jsx("span",{className:"h-1.5 w-1.5 rounded-full",style:{background:l,boxShadow:`0 0 6px ${l}`}}),e.jsx("span",{className:"text-strong font-bold",children:p}),e.jsxs("span",{className:"text-soft",children:["/ ",i.length," open"]})]})]}),e.jsx("div",{className:"flex min-h-0 flex-1 flex-col gap-1 overflow-auto pr-0.5",children:i.map(a=>e.jsx(S,{now:r,state:a},a.code))})]})}const I=w({...h,component:E,titleIcon:k});export{I as marketHoursFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,j as a}from"./react-qoZPGuNy.js";import{c as n,f as l,a as h}from"./format-DxkEZcwQ.js";import{f,ce as m,aH as p}from"./index-BJ1Zyy42.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{S as d}from"./scatter-chart-B78EA7lD.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;function x({config:r}){const{entries:o,isLoading:c}=p(),e=i.useMemo(()=>o.filter(t=>t.changePct24h!==void 0&&t.marketCapUsd>0).slice(0,r.limit).map(t=>({id:t.symbol,label:t.symbol,x:t.changePct24h,y:t.marketCapUsd,weight:t.marketCapUsd,color:n(t.changePct24h)})),[o,r.limit]);return c?a.jsx(s,{loading:!0,children:"loading markets…"}):e.length===0?a.jsx(s,{children:"no market data yet"}):a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(d,{data:e,yScale:"log",height:210,zeroXLine:!0,formatX:h,formatY:l,maxLabels:10}),a.jsxs("div",{className:"caption text-soft text-center",children:["24h change (x) vs market cap (y, log) · top ",e.length]})]})}const b=f({...m,component:x});export{b as marketScatterFrame};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{f as i,aT as r}from"./index-BJ1Zyy42.js";r.schema;const s={slow:24,normal:14,fast:8},m=`
|
|
2
|
-
.zf-marquee {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
height: 100%;
|
|
6
|
-
width: 100%;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
}
|
|
9
|
-
.zf-marquee-track {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-shrink: 0;
|
|
12
|
-
align-items: center;
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
will-change: transform;
|
|
15
|
-
animation-name: zf-marquee-scroll;
|
|
16
|
-
animation-timing-function: linear;
|
|
17
|
-
animation-iteration-count: infinite;
|
|
18
|
-
}
|
|
19
|
-
.zf-marquee:hover .zf-marquee-track { animation-play-state: paused; }
|
|
20
|
-
.zf-marquee-item { padding-right: 3rem; }
|
|
21
|
-
@keyframes zf-marquee-scroll {
|
|
22
|
-
from { transform: translateX(0); }
|
|
23
|
-
to { transform: translateX(-50%); }
|
|
24
|
-
}
|
|
25
|
-
@media (prefers-reduced-motion: reduce) {
|
|
26
|
-
.zf-marquee-track { animation: none; }
|
|
27
|
-
}
|
|
28
|
-
`;function o({config:a}){const t=a.accent?"text-highlight":"text-strong",n=s[a.speed];return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:m}),e.jsx("div",{className:"zf-marquee","aria-label":a.text,children:e.jsxs("div",{className:"zf-marquee-track",style:{animationDuration:`${n}s`},children:[e.jsx("span",{className:`zf-marquee-item metric-lg ${t}`,children:a.text}),e.jsx("span",{"aria-hidden":!0,className:`zf-marquee-item metric-lg ${t}`,children:a.text})]})})]})}const f=i({...r,component:o});export{f as marqueeFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as M,j as l}from"./react-qoZPGuNy.js";import{z as d,Z as m,M as y}from"./cycle-shared-XoGVsOjC.js";import{D as g,U as x}from"./format-DxkEZcwQ.js";import{s as O,t as b,w as z}from"./indicators-Cw7CVPn4.js";import{f as j,bn as c,bo as w}from"./index-BJ1Zyy42.js";import{F as u}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function C({config:p}){const{history:e,isLoading:f}=w("btc"),t=M.useMemo(()=>{const i=e.map(o=>o.value),h=O(i,200),n=[];for(let o=0;o<e.length;o++){const a=h[o];a!==null&&a>0&&n.push({time:e[o].time,value:i[o]/a})}return n},[e]);if(f)return l.jsx(u,{loading:!0,children:"loading Mayer Multiple…"});if(t.length===0)return l.jsx(u,{children:"not enough price history yet"});const s=t[t.length-1].value,r=d(s,[{upTo:.8,zone:{label:"Value",color:x}},{upTo:1,zone:{label:"Accumulation",color:m}},{upTo:2.4,zone:{label:"Neutral",color:m}}],{label:"Overheated",color:g});return l.jsx(y,{caption:"Mayer Multiple · price / 200DMA",headline:s.toFixed(2),headlineColor:r.color,zone:r,sparkline:b(t,z(p.window)),sparkColor:r.color})}const U=j({...c,component:C});export{U as mayerMultipleFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,j as e}from"./react-qoZPGuNy.js";import{f as c}from"./btc-shared-yOWoU9Im.js";import{f as p,cX as n,a$ as d}from"./index-BJ1Zyy42.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{B as f}from"./bar-chart-DCMbxUJx.js";import"./format-DxkEZcwQ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";n.schema;function u({config:r}){const{state:o,isLoading:l}=d(),t=i.useMemo(()=>((o==null?void 0:o.projected)??[]).slice(0,r.projectedBlocks).map((a,s)=>({label:s===0?"next":`+${s}`,value:Math.round(a.medianFee),color:c(a.medianFee)})),[o,r.projectedBlocks]);return l?e.jsx(m,{loading:!0,children:"loading fee curve…"}):t.length===0?e.jsx(m,{children:"no mempool data yet"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(f,{data:t,height:180}),e.jsxs("div",{className:"caption text-soft text-center",children:["median fee (sat/vB) · next ",t.length," projected blocks"]})]})}const M=p({...n,component:u});export{M as mempoolFeeCurveFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";function n({label:t,meta:s,value:r}){return e.jsxs("div",{className:"flex min-w-0 items-center justify-between gap-3 border-b border-white/[0.06] py-1.5 last:border-b-0",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"body-sm text-normal truncate font-semibold",children:t}),s!=null&&e.jsx("div",{className:"caption text-soft truncate",children:s})]}),e.jsx("div",{className:"metric-sm text-strong shrink-0",children:r})]})}export{n as M};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as p,j as $}from"./react-qoZPGuNy.js";import{s as w,c as B,e as j,l as G,d as H,f as V,g as N}from"./d3-ibrLIlQc.js";import{c as X}from"./utils-DxneYyA_.js";const q=({data:n,width:l=120,height:d=40,color:m,className:R,variant:b="default"})=>{const h=p.useRef(null),x=`mini-chart-gradient-${p.useId().replace(/:/g,"")}`,{strokeColor:C,isPositive:y,variantType:f,customColor:v}=p.useMemo(()=>{var r,s;if(m)return{strokeColor:m,isPositive:!0,variantType:"custom",customColor:m};if(b==="auto"&&n.length>0){const g=((r=n[0])==null?void 0:r.value)??0,o=(((s=n[n.length-1])==null?void 0:s.value)??0)>=g;return{strokeColor:o?"var(--color-green-500)":"var(--color-red-500)",isPositive:o,variantType:o?"green":"red",customColor:void 0}}switch(b){case"green":return{strokeColor:"var(--color-green-500)",isPositive:!0,variantType:"green",customColor:void 0};case"red":return{strokeColor:"var(--color-red-500)",isPositive:!1,variantType:"red",customColor:void 0};case"blue":return{strokeColor:"#75A3FF",isPositive:!0,variantType:"blue",customColor:void 0};default:return{strokeColor:"var(--color-blue-600)",isPositive:!0,variantType:"blue",customColor:void 0}}},[m,b,n]),u=p.useMemo(()=>{if(!n||n.length===0)return[];const r=n.map(o=>({...o,date:new Date(o.date)})),s=Math.max(30,Math.floor(l/4));if(r.length<=s)return r;const g=Math.floor(r.length/s),a=[];for(let o=0;o<r.length;o+=g)a.push(r[o]);return a[a.length-1]!==r[r.length-1]&&a.push(r[r.length-1]),a},[n,l]);return p.useEffect(()=>{if(!h.current||!u.length)return;const r=w(h.current),s={top:2,right:0,bottom:2,left:0},g=l-s.left-s.right,a=d-s.top-s.bottom;r.selectAll("*").remove();const o=B().domain(j(u,t=>t.date)).range([0,g]),[k,I]=j(u,t=>t.value),W=(I-k)*.4,P=G().domain([k-W,I]).range([a,0]),E=H().x(t=>o(t.date)).y(t=>P(t.value)).curve(V),M=r.append("g").attr("transform",`translate(${s.left},${s.top})`),F=N().x(t=>o(t.date)).y0(a).y1(t=>P(t.value)).curve(V),i=r.append("defs").append("linearGradient").attr("id",x).attr("x1","0%").attr("y1","0%").attr("x2","0%").attr("y2","100%"),T=(t,c)=>{if(t.startsWith("var("))return t.includes("blue")?`rgba(59, 130, 246, ${c})`:t.includes("green")?`rgba(37, 255, 205, ${c})`:t.includes("red")?`rgba(239, 68, 68, ${c})`:`rgba(59, 130, 246, ${c})`;if(t.startsWith("#")){const e=t.slice(1),A=e.length===3?parseInt(e[0]+e[0],16):parseInt(e.slice(0,2),16),D=e.length===3?parseInt(e[1]+e[1],16):parseInt(e.slice(2,4),16),L=e.length===3?parseInt(e[2]+e[2],16):parseInt(e.slice(4,6),16);return`rgba(${A}, ${D}, ${L}, ${c})`}if(t.startsWith("rgb")){const e=t.match(/\d+/g);if(e&&e.length>=3)return`rgba(${e[0]}, ${e[1]}, ${e[2]}, ${c})`}return`rgba(59, 130, 246, ${c})`};f==="custom"&&v?(i.append("stop").attr("offset","45.9%").attr("stop-color",T(v,.16)),i.append("stop").attr("offset","96.67%").attr("stop-color",T(v,0))):f==="blue"?(i.append("stop").attr("offset","45.9%").attr("stop-color","rgba(7, 77, 215, 0.3)"),i.append("stop").attr("offset","96.67%").attr("stop-color","rgba(7, 77, 215, 0.3)")):f==="green"||y&&f!=="red"?(i.append("stop").attr("offset","45.9%").attr("stop-color","rgba(63, 194, 167, 0.1)"),i.append("stop").attr("offset","96.67%").attr("stop-color","rgba(63, 194, 167, 0)")):(i.append("stop").attr("offset","0%").attr("stop-color","rgba(255, 93, 127, 0.1)"),i.append("stop").attr("offset","91.8%").attr("stop-color","rgba(255, 63, 105, 0)")),M.append("path").datum(u).attr("fill",`url(#${x})`).attr("d",F),M.append("path").datum(u).attr("fill","none").attr("stroke",C).attr("stroke-width",1).attr("stroke-linecap","round").attr("stroke-linejoin","round").attr("d",E)},[u,l,d,C,y,f,v]),!n||n.length===0?$.jsx($.Fragment,{}):$.jsx("svg",{ref:h,width:l,height:d,viewBox:`0 0 ${l} ${d}`,className:X("h-auto max-w-full",R),style:{width:l,height:"auto"}})},U=p.memo(q);export{U as M};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as f,j as a}from"./react-qoZPGuNy.js";import{b as h}from"./format-DxkEZcwQ.js";import{f as P,b6 as u,b7 as b}from"./index-BJ1Zyy42.js";import{T as g,a as x}from"./treemap-leaf-QG-L-SIG.js";import{F as p}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";u.schema;function j({width:o,height:t,data:r}){const s=h(r.sharePct,1);return a.jsx(x,{width:o,height:t,label:r.id,secondary:s,title:`${r.id} · ${s} of blocks`})}function C({config:o}){const{pools:t,isLoading:r}=b(o.window),s=f.useMemo(()=>{const n=(t==null?void 0:t.pools)??[],l=n.slice(0,o.topN).map(e=>({id:e.name,value:e.blockCount,sharePct:e.sharePct})),i=n.slice(o.topN);if(i.length>0){const e=i.reduce((c,m)=>c+m.blockCount,0),d=i.reduce((c,m)=>c+m.sharePct,0);e>0&&l.push({id:"Other",value:e,sharePct:d})}return l},[t,o.topN]);return r?a.jsx(p,{loading:!0,children:"loading pools…"}):s.length===0?a.jsx(p,{children:"no mining data yet"}):a.jsx(g,{data:s,LeafComponent:j,getColorValue:n=>n.sharePct})}const y=P({...u,component:C});export{y as miningPoolsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,j as s}from"./react-qoZPGuNy.js";import{b as h}from"./format-DxkEZcwQ.js";import{f as j,cY as x,b7 as P}from"./index-BJ1Zyy42.js";import{F as p}from"./ui-Bq3RQsdJ.js";import{C as u}from"./chart-utils-DGogNvJT.js";import{P as N}from"./pie-chart-BIxKuHm-.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";x.schema;function b({config:n}){const{pools:l,isLoading:f}=P(n.window),a=d.useMemo(()=>{const e=(l==null?void 0:l.pools)??[],r=e.slice(0,n.topN),c=e.slice(n.topN),i=r.map(t=>({name:t.name,value:t.blockCount,sharePct:t.sharePct})),m=c.reduce((t,o)=>t+o.blockCount,0);return m>0&&i.push({name:"Other",value:m,sharePct:c.reduce((t,o)=>t+o.sharePct,0)}),i.map((t,o)=>({...t,color:u[o%u.length]}))},[l,n.topN]),g=d.useMemo(()=>[...a].filter(e=>e.name!=="Other").sort((e,r)=>r.sharePct-e.sharePct).slice(0,3).reduce((e,r)=>e+r.sharePct,0),[a]);return f?s.jsx(p,{loading:!0,children:"loading pools…"}):a.length===0?s.jsx(p,{children:"no mining data yet"}):s.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[s.jsx(N,{data:a,width:188,height:188,innerRadius:54,outerRadius:86,colors:a.map(e=>e.color),children:s.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[s.jsx("span",{className:"caption text-soft uppercase",children:"top 3"}),s.jsx("span",{className:"metric-lg text-strong leading-none",children:h(g,0)})]})}),s.jsx("div",{className:"flex w-full max-w-xs flex-wrap justify-center gap-x-4 gap-y-1.5",children:a.map(e=>s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx("span",{className:"h-2 w-2 flex-shrink-0 rounded-full",style:{background:e.color}}),s.jsx("span",{className:"body-sm text-soft",children:e.name}),s.jsx("span",{className:"body-sm text-normal font-bold tabular-nums",children:h(e.sharePct,1)})]},e.name))})]})}const E=j({...x,component:b});export{E as miningPoolsShareFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as j,j as e}from"./react-qoZPGuNy.js";import{b as d}from"./format-DxkEZcwQ.js";import{f as I,dh as f,S as x}from"./index-BJ1Zyy42.js";import{F as h}from"./ui-Bq3RQsdJ.js";import{C as y}from"./chart-utils-DGogNvJT.js";import{S as C}from"./index-DuNO-RcB.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";f.schema;const M="CUUR0000SA0",Y="LNS14000000";function L(i){const p=new Map(i.map(n=>[n.time,n.value]));return i.flatMap(n=>{const a=new Date(n.time),r=Date.UTC(a.getUTCFullYear()-1,a.getUTCMonth(),1),m=p.get(r);return m===void 0||m<=0?[]:[{...n,value:(n.value/m-1)*100}]})}function U(i){return i.toLocaleDateString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"})}function N({config:i}){const n=new Date().getUTCFullYear(),a=n-3,{series:r,isLoading:m}=x(M,a,n),{series:c,isLoading:g}=x(Y,a,n),s=j.useMemo(()=>{if(!r||!c)return[];const t=new Map(L(r.points).map(o=>[o.time,o.value]));return c.points.flatMap(o=>{const u=t.get(o.time);return u===void 0?[]:[{time:o.time,date:o.date,cpiYoy:u,unemploymentRate:o.value}]}).slice(-i.months)},[r,c,i.months]);if((m||g)&&s.length===0)return e.jsx(h,{loading:!0,children:"loading misery index…"});if(s.length===0)return e.jsx(h,{children:"no misery-index data yet"});const l=s.at(-1),S=l.cpiYoy+l.unemploymentRate,v=[{id:"unemployment",name:"Unemployment",color:y[0],data:s.map(t=>({date:new Date(t.time).toISOString(),value:t.unemploymentRate}))},{id:"cpi",name:"CPI YoY",color:y[2],data:s.map(t=>({date:new Date(t.time).toISOString(),value:t.cpiYoy}))}];return e.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("div",{className:"caption text-soft uppercase",children:"misery index"}),e.jsx("div",{className:"body-sm text-normal",children:l.date})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:"metric-lg text-strong leading-none",children:d(S,1)}),e.jsx("div",{className:"caption text-soft mt-1",children:"CPI YoY + unemployment"})]})]}),e.jsx(C,{series:v,height:200,formatXAxis:U,formatYAxis:t=>d(t,0),formatValue:t=>d(t,1)}),e.jsxs("div",{className:"caption text-soft text-center",children:["BLS CPI-U + unemployment · ",s.length," monthly observations"]})]})}const A=I({...f,component:N});export{A as miseryIndexFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./react-qoZPGuNy.js";import{A as n}from"./index-BJ1Zyy42.js";import{e as r,a as d,c as l}from"./format-DxkEZcwQ.js";function c({symbol:i,label:a,price:s,changePct:o,logoSize:e=16,gap:m="gap-2"}){return t.jsxs("div",{className:`grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center ${m}`,title:s!==void 0?`${a} · ${r(s)}`:a,children:[t.jsx(n,{symbol:i,size:e}),t.jsx("span",{className:"body-sm truncate font-bold text-strong",children:a}),t.jsx("span",{className:"caption text-soft text-right tabular-nums",children:s!==void 0?r(s):"—"}),t.jsx("span",{className:`caption text-right font-bold tabular-nums${o===void 0?" text-disabled":""}`,style:o!==void 0?{color:l(o)}:void 0,children:o!==void 0?d(o):"…"})]})}export{c as M};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,j as r}from"./react-qoZPGuNy.js";import{a as p,D as f,U as u}from"./format-DxkEZcwQ.js";import{f as x,cp as l,bg as g}from"./index-BJ1Zyy42.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{B as v}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function j({config:a}){const{entries:i,isLoading:h}=g(),e=a.window,n=d.useMemo(()=>{const o=i.filter(t=>{var s;return Number.isFinite((s=t.changePct)==null?void 0:s[e])&&t.volume24hUsd>0}).sort((t,s)=>s.changePct[e]-t.changePct[e]),m=Math.floor(a.limit/2);return(o.length<=a.limit?o:[...o.slice(0,m),...o.slice(-m)]).map(t=>({label:t.symbol,value:t.changePct[e]}))},[i,e,a.limit]);return h?r.jsx(c,{loading:!0,children:"loading movers…"}):n.length===0?r.jsx(c,{children:"no mover data yet"}):r.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[r.jsx(v,{data:n,orientation:"horizontal",color:u,negativeColor:f,height:Math.max(n.length*22,96),formatValue:p}),r.jsxs("div",{className:"caption text-soft text-center",children:["top movers · ",e," change"]})]})}const N=x({...l,component:j});export{N as moversBarsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as b,j as h}from"./react-qoZPGuNy.js";import{f as g,cn as m,bg as d,af as p}from"./index-BJ1Zyy42.js";import{B as u}from"./bubbles-shared-DlmjtiIA.js";import{c,a as f}from"./format-DxkEZcwQ.js";import"./ui-Bq3RQsdJ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;function P({config:a}){const{entries:s,isLoading:i}=d(),o=a.window,l=b.useMemo(()=>{const t=s.filter(e=>{var r;return Number.isFinite((r=e.changePct)==null?void 0:r[o])&&e.volume24hUsd>0}).sort((e,r)=>r.changePct[o]-e.changePct[o]),n=Math.floor(a.limit/2);return(t.length<=a.limit?t:[...t.slice(0,n),...t.slice(-n)]).map(e=>({id:e.symbol,label:e.symbol,value:Math.max(Math.abs(e.changePct[o]),.05),imageUrl:p(e.symbol),color:c(e.changePct[o]),borderColor:c(e.changePct[o]),changePct:e.changePct[o]}))},[s,o,a.limit]);return h.jsx(u,{nodes:l,isLoading:i,loadingText:"loading movers…",emptyText:"no mover data yet",caption:`area by ${o} move · green gainers / red losers`,formatTitle:t=>`${t.label} · ${f(t.changePct)} ${o}`})}const j=g({...m,component:P});export{j as moversBubblesFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as a}from"./react-qoZPGuNy.js";import{z as l,M as s,Z as m,a as c}from"./cycle-shared-XoGVsOjC.js";import{e as v,D as d,U as p}from"./format-DxkEZcwQ.js";import{t as u,w as f}from"./indicators-Cw7CVPn4.js";import{f as O,bh as i,bi as h}from"./index-BJ1Zyy42.js";import{F as e}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function R({config:t}){const{valuation:o,isLoading:n}=h();if(n)return a.jsx(e,{loading:!0,children:"loading MVRV…"});if(!o)return a.jsx(e,{children:"no on-chain data yet"});const r=l(o.mvrv,[{upTo:1,zone:{label:"Undervalued",color:p}},{upTo:2,zone:{label:"Fair value",color:m}},{upTo:3,zone:{label:"Elevated",color:c}}],{label:"Overvalued",color:d});return a.jsx(s,{caption:"MVRV Ratio",headline:o.mvrv.toFixed(2),headlineColor:r.color,zone:r,sub:`Z ${o.mvrvZScore.toFixed(2)} · RP ${v(o.realizedPrice)}`,sparkline:u(o.history.mvrv,f(t.window)),sparkColor:r.color})}const V=O({...i,component:R});export{V as mvrvFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as t}from"./react-qoZPGuNy.js";import{w as c,a as d,t as u}from"./indicators-Cw7CVPn4.js";import{f,d4 as s,bi as h}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{C as p,a as l}from"./chart-utils-DGogNvJT.js";import{M as v}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";s.schema;function S({config:e}){const{valuation:a,isLoading:n}=h(),o=m.useMemo(()=>{if(!a)return[];const r=c(e.window);return[{id:"mvrv-zscore",name:"MVRV Z-Score",color:p[0],data:d(u(a.history.mvrvZScore,r))}]},[a,e.window]);return n?t.jsx(i,{loading:!0,children:"loading MVRV Z-Score…"}):!a||o.every(r=>r.data.length===0)?t.jsx(i,{children:"no on-chain data yet"}):t.jsx(v,{series:o,timeframe:l.YTD,height:220,formatValue:r=>r.toFixed(2)})}const F=f({...s,component:S});export{F as mvrvZscoreChartFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as t}from"./react-qoZPGuNy.js";import{f as a}from"./format-DxkEZcwQ.js";import{f as x,U as o,V as h}from"./index-BJ1Zyy42.js";import{F as l}from"./ui-Bq3RQsdJ.js";import{M as p}from"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";o.schema;function u({config:n}){const{debt:e,isLoading:d}=h(n.trendDays),c=m.useMemo(()=>((e==null?void 0:e.trend)??[]).map(r=>({date:new Date(r.time).toISOString(),value:r.total})),[e==null?void 0:e.trend]);if(d)return t.jsx(l,{loading:!0,children:"loading national debt…"});if(!e)return t.jsx(l,{children:"no debt data yet"});const s=e.trend[0],i=s?e.total-s.total:null;return t.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-3",children:[t.jsxs("div",{className:"flex items-start justify-between gap-3",children:[t.jsxs("div",{children:[t.jsx("div",{className:"caption text-soft uppercase",children:"total public debt"}),t.jsxs("div",{className:"body-sm text-normal",children:["as of ",e.date]})]}),t.jsx("div",{className:"caption text-soft text-right",children:"daily"})]}),t.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-x-3 gap-y-1",children:[t.jsx("div",{className:"metric-xl text-strong leading-none",children:a(e.total)}),i!==null&&s&&t.jsxs("div",{className:"min-w-0 text-right",children:[t.jsxs("div",{className:"body-md text-normal font-bold tabular-nums",children:[i>=0?"+":"",a(i)]}),t.jsxs("div",{className:"caption text-soft truncate",children:["since ",s.date]})]})]}),t.jsx(p,{data:c,width:210,height:42,color:"hsl(var(--zf-accent-hue, 242) 85% 72%)"}),n.showSplit&&t.jsxs("div",{className:"grid grid-cols-2 gap-1.5 border-t border-white/[0.08] pt-2",children:[t.jsxs("div",{className:"rounded bg-white/[0.04] px-2 py-1.5",children:[t.jsx("div",{className:"caption text-soft truncate",children:"Held by public"}),t.jsx("div",{className:"body-sm text-strong font-bold tabular-nums",children:a(e.heldByPublic)})]}),t.jsxs("div",{className:"rounded bg-white/[0.04] px-2 py-1.5",children:[t.jsx("div",{className:"caption text-soft truncate",children:"Intragovernmental"}),t.jsx("div",{className:"body-sm text-strong font-bold tabular-nums",children:a(e.intragovernmental)})]})]})]})}const w=x({...o,component:u});export{w as nationalDebtFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s,r as h}from"./react-qoZPGuNy.js";import{F as f}from"./feed-row-mVg1d5Zj.js";import{t as p}from"./format-DxkEZcwQ.js";import{f as x,a5 as i,a6 as b}from"./index-BJ1Zyy42.js";import{F as t,s as j}from"./ui-Bq3RQsdJ.js";i.schema;const g={coindesk:"CoinDesk",cointelegraph:"Cointelegraph",decrypt:"Decrypt",cnbc:"CNBC Markets",nasdaq:"Nasdaq",stocks:"Google News"};function y({src:e}){const[r,a]=h.useState(!1);return r?null:s.jsx("img",{src:e,alt:"",loading:"lazy",decoding:"async",referrerPolicy:"no-referrer",onError:()=>a(!0),className:"size-12 shrink-0 rounded-md bg-white/[0.04] object-cover ring-1 ring-white/10"})}function w({item:e}){return s.jsx(f,{href:e.url,leading:e.imageUrl?s.jsx(y,{src:e.imageUrl}):void 0,title:e.title,subtitle:e.summary||void 0,meta:e.publishedAt!==void 0?p(e.publishedAt):void 0})}function N({config:e}){var n;const r=e.source==="stocks",a=r&&e.symbols.length===0,c=a?"":e.source,{items:o,isLoading:d}=b(c,r?e.symbols:void 0,e.count);if(a)return s.jsx(t,{children:"add stock symbols to show company headlines"});if(d)return s.jsx(t,{loading:!0,children:"loading headlines…"});const m=((n=o[0])==null?void 0:n.source)??g[e.source]??"news";return s.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[s.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[s.jsx("span",{className:"caption text-soft truncate",children:m}),s.jsx("span",{className:"caption text-soft shrink-0",children:"headlines"})]}),s.jsx("div",{className:j,children:o.length>0?o.map((l,u)=>s.jsx(w,{item:l},`${l.url}-${u}`)):s.jsxs(t,{children:["no headlines ",r?"for these symbols":"available"," — the runtime proxy may be offline"]})})]})}const A=x({...i,component:N});export{A as newsFeedFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as t}from"./react-qoZPGuNy.js";import{d as c}from"./format-DxkEZcwQ.js";import{f,cI as o,c3 as h}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{B as p}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";o.schema;function x({config:s}){const{collections:r,isLoading:n}=h(),e=m.useMemo(()=>[...r].sort((a,l)=>l.sales24h-a.sales24h).slice(0,s.limit).map(a=>({label:a.name,value:a.sales24h})),[r,s.limit]);return n?t.jsx(i,{loading:!0,children:"loading NFT activity…"}):e.length===0?t.jsx(i,{children:"no NFT data yet"}):t.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[t.jsx(p,{data:e,orientation:"horizontal",height:Math.max(e.length*26,96),formatValue:c}),t.jsx("div",{className:"caption text-soft text-center",children:"NFT sales · last 24h"})]})}const y=f({...o,component:x});export{y as nftActivityBarsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as f}from"./react-qoZPGuNy.js";import{B as i}from"./bubbles-shared-DlmjtiIA.js";import{c as l,e as c,a as p}from"./format-DxkEZcwQ.js";import{f as h,cl as s,c3 as d}from"./index-BJ1Zyy42.js";import"./ui-Bq3RQsdJ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";s.schema;function b({config:e}){const{collections:r,isLoading:n}=d(),a=m.useMemo(()=>r.filter(o=>o.marketCapUsd>0).slice(0,e.topN).map(o=>({id:o.name,label:o.name,value:o.marketCapUsd,color:l(o.floorChangePct24h),borderColor:l(o.floorChangePct24h),floorUsd:o.floorUsd,floorChangePct24h:o.floorChangePct24h})),[r,e.topN]);return f.jsx(i,{nodes:a,isLoading:n,loadingText:"loading NFT floors…",emptyText:"no NFT data",caption:`area by mcap · ring by 24h floor change · top ${a.length}`,formatTitle:o=>{const t=o;return`${t.label} · ${c(t.floorUsd)} floor · ${p(t.floorChangePct24h)}`}})}const T=h({...s,component:b});export{T as nftBubblesFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./react-qoZPGuNy.js";import{e as l,f as i,a as m,c}from"./format-DxkEZcwQ.js";import{M as f}from"./metric-row-BVVhjsjK.js";import{f as d,c2 as r,c3 as h}from"./index-BJ1Zyy42.js";import{F as e,s as p}from"./ui-Bq3RQsdJ.js";r.schema;function u({config:t}){const{collections:a,isLoading:n}=h();return n?s.jsx(e,{loading:!0,children:"loading NFT floors…"}):a.length===0?s.jsx(e,{children:"no NFT data"}):s.jsx("div",{className:p,children:a.slice(0,t.topN).map(o=>s.jsx(f,{label:o.name,meta:s.jsxs("span",{children:[i(o.volume24hUsd)," vol"," · ",s.jsx("span",{style:{color:c(o.floorChangePct24h)},children:m(o.floorChangePct24h)})]}),value:l(o.floorUsd)},o.id))})}const N=d({...r,component:u});export{N as nftCollectionsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,j as r}from"./react-qoZPGuNy.js";import{c,f,a as h}from"./format-DxkEZcwQ.js";import{f as d,cs as i,c3 as p}from"./index-BJ1Zyy42.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{S as u}from"./scatter-chart-B78EA7lD.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function x(e){return e.length>12?`${e.slice(0,11)}…`:e}function g({config:e}){const{collections:a,isLoading:l}=p(),o=n.useMemo(()=>a.filter(t=>Number.isFinite(t.floorChangePct24h)&&t.volume24hUsd>0).sort((t,m)=>m.marketCapUsd-t.marketCapUsd).slice(0,e.limit).map(t=>({id:t.id,label:x(t.name),x:t.floorChangePct24h,y:t.volume24hUsd,weight:t.marketCapUsd,color:c(t.floorChangePct24h)})),[a,e.limit]);return l?r.jsx(s,{loading:!0,children:"loading NFTs…"}):o.length===0?r.jsx(s,{children:"no NFT data yet"}):r.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[r.jsx(u,{data:o,yScale:"log",height:210,zeroXLine:!0,formatX:h,formatY:f,maxLabels:10}),r.jsx("div",{className:"caption text-soft text-center",children:"24h floor change (x) vs 24h volume (y, log)"})]})}const y=d({...i,component:g});export{y as nftScatterFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as f,j as s}from"./react-qoZPGuNy.js";import{e as i,a as l}from"./format-DxkEZcwQ.js";import{f as p,c8 as m,c3 as c}from"./index-BJ1Zyy42.js";import{T as d,a as h}from"./treemap-leaf-QG-L-SIG.js";import{F as n}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";m.schema;function u({width:t,height:a,data:e}){const r=i(e.floorUsd);return s.jsx(h,{width:t,height:a,label:e.id,secondary:r,title:`${e.id} · ${r} floor · ${l(e.floorChangePct24h)}`})}function C({config:t}){const{collections:a,isLoading:e}=c(),r=f.useMemo(()=>a.filter(o=>o.marketCapUsd>0).slice(0,t.topN).map(o=>({id:o.name,value:o.marketCapUsd,floorUsd:o.floorUsd,floorChangePct24h:o.floorChangePct24h})),[a,t.topN]);return e?s.jsx(n,{loading:!0,children:"loading NFT floors…"}):r.length===0?s.jsx(n,{children:"no NFT data"}):s.jsx(d,{data:r,LeafComponent:u,getColorValue:o=>o.floorChangePct24h})}const U=p({...m,component:C});export{U as nftTreemapFrame};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{j as c,r as d}from"./react-qoZPGuNy.js";import{f as y,a7 as k,a8 as N}from"./index-BJ1Zyy42.js";import{s as w}from"./ui-Bq3RQsdJ.js";const u={code:"rounded px-1 py-px font-mono text-[0.85em] text-strong",link:"text-highlight underline underline-offset-2 hover:opacity-80",strong:"text-strong font-bold",em:"italic",h1:"body-lg text-strong font-bold",h2:"body-md text-strong font-bold",h3:"body-sm text-strong font-semibold uppercase tracking-wide",list:"space-y-0.5 pl-5"};function E(s){return/^https?:\/\//i.test(s.trim())}function f(s){const e=[];let r="",o=0;const n=()=>{r&&(e.push(r),r="")};let t=0;for(;t<s.length;){const a=s[t],h=s.slice(t);if(a==="`"){const l=s.indexOf("`",t+1);if(l>t){n(),e.push(c.jsx("code",{className:u.code,style:{background:"hsl(0 0% var(--zf-ink-l, 100%) / 0.1)"},children:s.slice(t+1,l)},o++)),t=l+1;continue}}if(a==="["){const l=/^\[([^\]]+)\]\(([^)\s]+)\)/.exec(h);if(l){const[i,m,x]=l;n(),E(x)?e.push(c.jsx("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:u.link,onClick:p=>p.stopPropagation(),children:f(m)},o++)):e.push(c.jsx(d.Fragment,{children:f(m)},o++)),t+=i.length;continue}}if(a==="*"&&s[t+1]==="*"){const l=s.indexOf("**",t+2);if(l>t+1){n(),e.push(c.jsx("strong",{className:u.strong,children:f(s.slice(t+2,l))},o++)),t=l+2;continue}}if(a==="*"){const l=s.indexOf("*",t+1);if(l>t+1){n(),e.push(c.jsx("em",{className:u.em,children:f(s.slice(t+1,l))},o++)),t=l+1;continue}}r+=a,t++}return n(),e}function $(s,e){return c.jsx("p",{className:"leading-snug",children:s.map((r,o)=>c.jsxs(d.Fragment,{children:[o>0&&c.jsx("br",{}),f(r)]},o))},e)}const j=/^(#{1,3})\s+(.*)$/,g=/^\s*[-*]\s+(.*)$/,b=/^\s*\d+\.\s+(.*)$/;function v(s){const e=s.replace(/\r\n?/g,`
|
|
2
|
-
`).split(`
|
|
3
|
-
`),r=[];let o=0,n=0;for(;n<e.length;){const t=e[n];if(t.trim()===""){n++;continue}const a=j.exec(t);if(a){const l=a[1].length,i=l===1?u.h1:l===2?u.h2:u.h3;r.push(c.jsx("div",{className:i,children:f(a[2].trim())},o++)),n++;continue}if(g.test(t)||b.test(t)){const l=!g.test(t),i=l?b:g,m=[];for(;n<e.length&&i.test(e[n]);){const p=i.exec(e[n]);m.push(c.jsx("li",{children:f(p?p[1]:"")},m.length)),n++}const x=l?"ol":"ul";r.push(c.jsx(x,{className:`${u.list} ${l?"list-decimal":"list-disc"}`,children:m},o++));continue}const h=[];for(;n<e.length&&e[n].trim()!==""&&!j.test(e[n])&&!g.test(e[n])&&!b.test(e[n]);)h.push(e[n]),n++;r.push($(h,o++))}return r}k.schema;function C({config:s}){const e=N(),[r,o]=d.useState(!1),[n,t]=d.useState(s.text),a=d.useRef(null);d.useEffect(()=>{t(s.text)},[s.text]),d.useEffect(()=>{var i;r&&((i=a.current)==null||i.focus())},[r]);const h=d.useCallback(()=>{n!==s.text&&(e==null||e({text:n})),o(!1)},[e,n,s.text]),l=s.align==="center";return r?c.jsx("textarea",{ref:a,className:`body-sm text-normal h-full w-full resize-none bg-transparent outline-none placeholder:text-disabled ${l?"text-center":""}`,value:n,onChange:i=>t(i.target.value),onBlur:h,onKeyDown:i=>{i.key==="Escape"&&(t(s.text),o(!1))},placeholder:"Write a note… (Markdown supported)"}):c.jsx("div",{className:`body-sm text-normal ${w} ${l?"flex items-center justify-center text-center":""} ${e?"cursor-text":""}`,onClick:()=>e&&o(!0),title:e?"Click to edit":void 0,children:s.text?c.jsx("div",{className:`flex flex-col gap-2 break-words ${l?"items-center text-center":""}`,children:v(s.text)}):c.jsx("span",{className:"text-soft italic",children:e?"Click to add a note…":"New note"})})}const _=y({...k,component:C});export{_ as noteFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{z as s,Z as r,a as p,M as m}from"./cycle-shared-XoGVsOjC.js";import{D as u,U as c}from"./format-DxkEZcwQ.js";import{t as d,w as f}from"./indicators-Cw7CVPn4.js";import{f as O,bj as i,bi as h}from"./index-BJ1Zyy42.js";import{F as n}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function z({config:l}){const{valuation:o,isLoading:t}=h();if(t)return e.jsx(n,{loading:!0,children:"loading NUPL…"});if(!o)return e.jsx(n,{children:"no on-chain data yet"});const a=s(o.nupl,[{upTo:0,zone:{label:"Capitulation",color:c}},{upTo:.25,zone:{label:"Hope / Fear",color:r}},{upTo:.5,zone:{label:"Optimism",color:r}},{upTo:.75,zone:{label:"Belief",color:p}}],{label:"Euphoria / Greed",color:u});return e.jsx(m,{caption:"Net Unrealized P/L",headline:`${(o.nupl*100).toFixed(1)}%`,headlineColor:a.color,zone:a,sparkline:d(o.history.nupl,f(l.window)),sparkColor:a.color})}const R=O({...i,component:z});export{R as nuplFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as u,j as r}from"./react-qoZPGuNy.js";import{b as l}from"./format-DxkEZcwQ.js";import{w as p,t as c}from"./indicators-Cw7CVPn4.js";import{f,d5 as m,bi as d}from"./index-BJ1Zyy42.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{C as h,a as C}from"./chart-utils-DGogNvJT.js";import{M as w}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;function x({config:e}){const{valuation:a,isLoading:s}=d(),o=u.useMemo(()=>{if(!a)return[];const t=p(e.window);return[{id:"nupl",name:"NUPL",color:h[0],data:c(a.history.nupl,t).map(i=>({date:new Date(i.time).toISOString(),value:i.value*100}))}]},[a,e.window]);return s?r.jsx(n,{loading:!0,children:"loading NUPL…"}):!a||o.every(t=>t.data.length===0)?r.jsx(n,{children:"no on-chain data yet"}):r.jsx(w,{series:o,timeframe:C.YTD,height:220,formatValue:t=>l(t,1)})}const O=f({...m,component:x});export{O as nuplCycleChartFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./react-qoZPGuNy.js";import{b as a}from"./format-DxkEZcwQ.js";import{f,de as o,al as m}from"./index-BJ1Zyy42.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{R as l}from"./radial-gauge-0BzRQ6fO.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";o.schema;const r=(s=1)=>`hsl(var(--zf-accent-hue, 242) 85% 72% / ${s})`;function u(s){const{rates:d,isLoading:i}=m(),e=d.find(c=>c.code==="EFFR");return i?t.jsx(n,{loading:!0,children:"loading fed funds rate…"}):!e||e.targetRateFrom===void 0||e.targetRateTo===void 0?t.jsx(n,{children:"no fed-funds target data yet"}):t.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-1",children:[t.jsxs(l,{value:e.rate,min:e.targetRateFrom,max:e.targetRateTo,color:r(),size:170,children:[t.jsx("div",{className:"metric-xl leading-none",style:{color:r(),textShadow:`0 0 28px ${r(.35)}`},children:a(e.rate)}),t.jsx("div",{className:"caption text-soft mt-1 uppercase tracking-wide",children:"effective fed funds"})]}),t.jsxs("div",{className:"caption text-soft",children:["target ",a(e.targetRateFrom),"–",a(e.targetRateTo)]})]})}const v=f({...o,component:u});export{v as nyfedFedFundsBandGaugeFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,j as r}from"./react-qoZPGuNy.js";import{f,b as c}from"./format-DxkEZcwQ.js";import{f as u,dc as n,al as d}from"./index-BJ1Zyy42.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{B as p}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";n.schema;function h({config:t}){const{rates:o,isLoading:m}=d(),a=i.useMemo(()=>{const l=o.slice(0,t.limit);return t.metric==="volume"?l.filter(e=>e.volumeInBillions!==void 0).map(e=>({label:e.label,value:e.volumeInBillions*1e9})):l.map(e=>({label:e.label,value:e.rate}))},[o,t.limit,t.metric]);return m?r.jsx(s,{loading:!0,children:"loading reference rates…"}):a.length===0?r.jsx(s,{children:"no reference-rate data yet"}):r.jsx("div",{className:"flex h-full flex-col justify-center text-normal",children:r.jsx(p,{data:a,orientation:"horizontal",height:Math.max(a.length*26,96),formatValue:t.metric==="volume"?f:c})})}const F=u({...n,component:h});export{F as nyfedReferenceRateBarsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as a}from"./react-qoZPGuNy.js";import{b as f}from"./format-DxkEZcwQ.js";import{f as l,dd as o,al as c}from"./index-BJ1Zyy42.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{B as d}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";o.schema;function u(p){const{rates:n,isLoading:i}=c(),e=n.find(r=>r.code==="SOFRAI"),t=m.useMemo(()=>e?[{label:"30D",value:e.average30Day},{label:"90D",value:e.average90Day},{label:"180D",value:e.average180Day}].filter(r=>r.value!==void 0):[],[e]);return i?a.jsx(s,{loading:!0,children:"loading SOFR averages…"}):t.length===0?a.jsx(s,{children:"no SOFR term-average data yet"}):a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(d,{data:t,height:160,formatValue:f}),a.jsx("div",{className:"caption text-soft text-center",children:"SOFR compounded averages"})]})}const S=l({...o,component:u});export{S as nyfedSofrTermAveragesBarsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as x,j as t}from"./react-qoZPGuNy.js";import{f as g,dg as c,Q as p}from"./index-BJ1Zyy42.js";import{F as o}from"./ui-Bq3RQsdJ.js";import{C as l}from"./chart-utils-DGogNvJT.js";import{S as h}from"./index-DuNO-RcB.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;const y=[["credit","Credit"],["equityValuation","Equity valuation"],["safeAssets","Safe assets"],["funding","Funding"],["volatility","Volatility"]];function j(e){return`${e.getMonth()+1}/${e.getDate()}`}function d(e){return e>0?`+${e.toFixed(1)}`:e.toFixed(1)}function S({series:e}){return t.jsx("div",{className:"flex flex-wrap items-center justify-center gap-x-3 gap-y-1",children:e.map(s=>t.jsxs("span",{className:"caption text-soft flex items-center gap-1",children:[t.jsx("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full",style:{background:s.color}}),s.name]},s.id))})}function v({config:e}){const{stress:s,isLoading:m}=p(),r=x.useMemo(()=>{const i=((s==null?void 0:s.trend)??[]).slice(-e.trendDays).filter(a=>a.credit!==void 0&&a.equityValuation!==void 0&&a.safeAssets!==void 0&&a.funding!==void 0&&a.volatility!==void 0);return i.length<2?[]:y.map(([a,f],u)=>({id:a,name:f,color:l[u%l.length],data:i.map(n=>({date:new Date(n.time),value:n[a]}))}))},[s,e.trendDays]);return m?t.jsx(o,{loading:!0,children:"loading stress categories…"}):r.length===0?t.jsx(o,{children:"no stress-category data yet"}):t.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[t.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[t.jsx("div",{className:"caption text-soft uppercase",children:"OFR FSI by category"}),t.jsx("div",{className:"caption text-soft text-right",children:s?s.date:""})]}),t.jsx(h,{series:r,height:210,formatXAxis:j,formatYAxis:d,formatValue:d}),t.jsx(S,{series:r})]})}const b=g({...c,component:v});export{b as ofrStressCategoryAreaFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as r}from"./react-qoZPGuNy.js";import{f as h,cw as c,ac as d,h as f}from"./index-BJ1Zyy42.js";import{U as p,D as x,d as v}from"./format-DxkEZcwQ.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{B as g}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const n={"1m":6e4,"5m":5*6e4,"15m":15*6e4,"1h":60*6e4,"4h":240*6e4,"1d":1440*6e4},L=48;c.schema;function j(t,e){const a=new Date(t);return e>=n["1d"]?a.toLocaleDateString("en-US",{month:"short",day:"numeric"}):e>=n["1h"]?`${a.getMonth()+1}/${a.getDate()} ${String(a.getHours()).padStart(2,"0")}h`:a.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"})}function O({config:t}){const e=n[t.interval],a=m.useMemo(()=>Date.now()-e*L,[e]),{candles:s,isLoading:u}=d(t.symbol,t.interval,a,Math.min(e,6e4)),l=m.useMemo(()=>s.map(o=>({label:j(o.time,e),value:o.volume??0,color:o.close>=o.open?p:x})),[s,e]);return u&&s.length===0?r.jsx(i,{loading:!0,children:"loading volume…"}):l.length===0?r.jsx(i,{children:"no candle data yet"}):r.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[r.jsx(g,{data:l,height:200,formatValue:v,showValues:!1,maxTickLabels:6}),r.jsxs("div",{className:"caption text-soft text-center",children:[f(t.symbol)," volume · ",t.interval," candles"]})]})}const V=h({...c,component:O});export{V as ohlcvVolumeBarsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as l,j as i}from"./react-qoZPGuNy.js";import{f as u,cv as c,aJ as f,h as U}from"./index-BJ1Zyy42.js";import{f as h}from"./format-DxkEZcwQ.js";import{T as x,a as I}from"./treemap-leaf-QG-L-SIG.js";import{F as d}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";c.schema;function j({width:t,height:o,data:s}){const r=h(s.oiUsd);return i.jsx(I,{width:t,height:o,label:s.id,secondary:r,title:`${s.id} · ${r} open interest`})}function T({config:t}){const{entries:o,isLoading:s}=f(),r=l.useMemo(()=>{const n=[...o].filter(e=>e.openInterestUsd>0).sort((e,m)=>m.openInterestUsd-e.openInterestUsd),p=n.slice(0,t.limit).map(e=>({id:U(e.symbol),value:e.openInterestUsd,oiUsd:e.openInterestUsd})),a=n.slice(t.limit).reduce((e,m)=>e+m.openInterestUsd,0);return a>0&&p.push({id:"Other",value:a,oiUsd:a}),p},[o,t.limit]);return s?i.jsx(d,{loading:!0,children:"loading open interest…"}):r.length===0?i.jsx(d,{children:"no open-interest data"}):i.jsx(x,{data:r,LeafComponent:j,getColorValue:n=>n.oiUsd})}const E=u({...c,component:T});export{E as oiTreemapFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as p,j as o}from"./react-qoZPGuNy.js";import{b as d}from"./format-DxkEZcwQ.js";import{w as h,a as u,n as f,t as O}from"./indicators-Cw7CVPn4.js";import{f as x,d7 as l,bl as y}from"./index-BJ1Zyy42.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{C as i,a as R}from"./chart-utils-DGogNvJT.js";import{M as v}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function w({config:s}){const{extras:r,isLoading:m}=y(),e=p.useMemo(()=>{if(!r)return[];const a=h(s.window),t=c=>u(f(O(c,a)));return[{id:"sopr",name:"SOPR",color:i[0],data:t(r.history.sopr)},{id:"puell",name:"Puell Multiple",color:i[1],data:t(r.history.puell)},{id:"reserve-risk",name:"Reserve Risk",color:i[2],data:t(r.history.reserveRisk)}]},[r,s.window]);return m&&e.length===0?o.jsx(n,{loading:!0,children:"loading on-chain oscillators…"}):e.every(a=>a.data.length===0)?o.jsx(n,{children:"no on-chain data yet"}):o.jsx(v,{series:e,timeframe:R.YTD,height:260,formatValue:a=>d(a*100,0)})}const T=x({...l,component:w});export{T as onchainOscillatorOverlayFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,j as e}from"./react-qoZPGuNy.js";import{f as p,aI as l,aJ as f,A as u,h as x}from"./index-BJ1Zyy42.js";import{f as r}from"./format-DxkEZcwQ.js";import{F as i,s as h}from"./ui-Bq3RQsdJ.js";l.schema;const b=25;function g({config:m}){const{entries:a,isLoading:c}=f(m.symbols),t=n.useMemo(()=>a.slice(0,b),[a]),o=n.useMemo(()=>t.reduce((s,d)=>Math.max(s,d.openInterestUsd),0),[t]);return c?e.jsx(i,{loading:!0,children:"loading open interest…"}):t.length===0?e.jsx(i,{children:"no open-interest data"}):e.jsx("div",{className:`flex flex-col gap-1.5 ${h}`,children:t.map(s=>e.jsxs("div",{className:"grid grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-2",title:`${s.symbol} · ${r(s.openInterestUsd)} open interest`,children:[e.jsx(u,{symbol:s.symbol,size:16}),e.jsxs("div",{className:"relative h-4 w-full overflow-hidden rounded-sm bg-white/[0.06]",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 rounded-sm",style:{width:`${o>0?s.openInterestUsd/o*100:0}%`,background:"hsl(var(--zf-accent-hue, 242) 85% 72% / 0.5)"}}),e.jsx("span",{className:"absolute inset-y-0 left-1.5 flex items-center",children:e.jsx("span",{className:"body-sm truncate font-bold text-strong",children:x(s.symbol)})})]}),e.jsx("span",{className:"caption text-soft text-right tabular-nums",children:r(s.openInterestUsd)})]},s.symbol))})}const w=p({...l,component:g});export{w as openInterestFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as e}from"./react-qoZPGuNy.js";import{a as u,D as a,U as n}from"./format-DxkEZcwQ.js";import{f as p,d0 as c,bb as f}from"./index-BJ1Zyy42.js";import{F as l}from"./ui-Bq3RQsdJ.js";import{B as d}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function i(o,t){const r=o+t;return r>0?(o-t)/r*100:0}function x({config:o}){const{summary:t,isLoading:r}=f(o.currency),s=m.useMemo(()=>t?[{label:"OI",value:i(t.callOi,t.putOi)},{label:"Volume",value:i(t.callVolume,t.putVolume)}]:[],[t]);return r?e.jsx(l,{loading:!0,children:"loading options…"}):t?e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(d,{data:s,orientation:"horizontal",color:n,negativeColor:a,height:Math.max(s.length*28,84),formatValue:u}),e.jsxs("div",{className:"caption text-soft flex justify-between",children:[e.jsx("span",{style:{color:n},children:"call-skewed"}),e.jsxs("span",{children:[o.currency," positioning vs flow"]}),e.jsx("span",{style:{color:a},children:"put-skewed"})]})]}):e.jsx(l,{children:"no options data yet"})}const k=p({...c,component:x});export{k as optionsFlowSkewFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as l,j as e}from"./react-qoZPGuNy.js";import{c as x}from"./format-DxkEZcwQ.js";import{f as p,bc as m,bd as v}from"./index-BJ1Zyy42.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{M as f}from"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;const j={"7D":{ms:7*864e5,res:3600},"1M":{ms:30*864e5,res:43200},"3M":{ms:90*864e5,res:86400}};function g({config:a}){const{ms:i,res:o}=j[a.lookback],d=l.useMemo(()=>{const t=o*1e3;return Math.floor((Date.now()-i)/t)*t},[i,o]),{points:s,isLoading:h}=v(a.currency,d,o),u=l.useMemo(()=>s.map(t=>({date:new Date(t.time).toISOString(),value:t.value})),[s]);if(h)return e.jsx(c,{loading:!0,children:"loading volatility…"});if(s.length===0)return e.jsx(c,{children:"no volatility data yet"});const n=s[s.length-1].value,r=n-s[0].value;return e.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-3",children:[e.jsxs("div",{className:"flex items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"caption text-soft uppercase",children:[a.currency," DVOL · implied vol"]}),e.jsx("div",{className:"metric-lg text-strong leading-none",children:n.toFixed(1)})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("div",{className:"body-md font-bold tabular-nums",style:{color:x(r)},children:[r>=0?"+":"",r.toFixed(1)]}),e.jsxs("div",{className:"caption text-soft",children:["past ",a.lookback]})]})]}),e.jsx(f,{data:u,width:320,height:54,color:"hsl(var(--zf-accent-hue, 242) 85% 72%)"})]})}const O=p({...m,component:g});export{O as optionsIvFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as u,j as o}from"./react-qoZPGuNy.js";import{a as f,D as x,U as m}from"./format-DxkEZcwQ.js";import{f as d,d3 as c,bb as h}from"./index-BJ1Zyy42.js";import{F as p}from"./ui-Bq3RQsdJ.js";import{B as k}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function M(e){if(e.length===0)return null;let t=e[0].strike,a=1/0;for(const r of e){let s=0;for(const i of e)r.strike>i.strike?s+=i.callOi*(r.strike-i.strike):r.strike<i.strike&&(s+=i.putOi*(i.strike-r.strike));s<a&&(a=s,t=r.strike)}return t}function O({config:e}){const{summary:t,isLoading:a}=h(e.currency),r=u.useMemo(()=>{const s=t==null?void 0:t.allExpiries,i=t==null?void 0:t.underlyingPrice;return!s||s.length===0||!i?[]:[...s].sort((n,l)=>n.expiryMs-l.expiryMs).slice(0,e.expiries).map(n=>{const l=M(n.strikes);return l===null?null:{label:n.expiry,value:(l/i-1)*100}}).filter(n=>n!==null)},[t,e.expiries]);return a?o.jsx(p,{loading:!0,children:"loading options…"}):r.length===0?o.jsx(p,{children:"no options data yet"}):o.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[o.jsx(k,{data:r,color:m,negativeColor:x,height:200,formatValue:f}),o.jsxs("div",{className:"caption text-soft text-center",children:["max pain vs spot, by expiry · ",e.currency]})]})}const F=d({...c,component:O});export{F as optionsMaxPainMultiFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,j as t}from"./react-qoZPGuNy.js";import{d as h,e as m,f as j}from"./format-DxkEZcwQ.js";import{f as k,cZ as c,bb as y}from"./index-BJ1Zyy42.js";import{F as p}from"./ui-Bq3RQsdJ.js";import{B as g}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function b({config:f}){const{summary:i,isLoading:x}=y(f.currency),a=d.useMemo(()=>{if(!i)return null;const n=i.nearestExpiry.strikes;if(n.length===0)return null;let o=n[0].strike,l=1/0;const u=n.map(r=>{let s=0;for(const e of n)r.strike>e.strike?s+=e.callOi*(r.strike-e.strike):r.strike<e.strike&&(s+=e.putOi*(e.strike-r.strike));return s<l&&(l=s,o=r.strike),s});return{bars:n.map((r,s)=>({label:h(r.strike),value:u[s],color:r.strike===o?"var(--color-highlight)":void 0})),maxPainStrike:o,spot:i.underlyingPrice,expiry:i.nearestExpiry.expiry}},[i]);return x?t.jsx(p,{loading:!0,children:"loading options…"}):a?t.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-1 text-normal",children:[t.jsxs("div",{className:"caption text-soft flex justify-between",children:[t.jsxs("span",{children:["max pain · ",a.expiry]}),t.jsxs("span",{children:[t.jsx("span",{className:"text-strong font-bold",children:m(a.maxPainStrike)})," ",t.jsxs("span",{className:"text-soft",children:["vs spot ",m(a.spot)]})]})]}),t.jsx(g,{data:a.bars,color:"var(--color-disabled)",height:200,formatValue:j})]}):t.jsx(p,{children:"no options data yet"})}const C=k({...c,component:b});export{C as optionsMaxPainFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as j,j as n}from"./react-qoZPGuNy.js";import{d as x}from"./format-DxkEZcwQ.js";import{f as y,d2 as h,bb as L}from"./index-BJ1Zyy42.js";import{F as d}from"./ui-Bq3RQsdJ.js";import{H}from"./index-Bw1aFtyx.js";import"./utils-DxneYyA_.js";h.schema;function w({data:r,width:a}){return a<44?null:n.jsx("div",{className:"flex h-full w-full items-center justify-center",children:n.jsx("span",{className:"caption text-normal tabular-nums",children:x(r.oi)})})}function C({config:r}){const{summary:a,isLoading:b}=L(r.currency),c=j.useMemo(()=>{const i=a==null?void 0:a.allExpiries;if(!i||i.length===0)return[];const p=[...i].sort((t,s)=>t.expiryMs-s.expiryMs).slice(0,r.expiries),l=p.flatMap(t=>t.strikes.map(s=>s.strike));if(l.length===0)return[];const m=Math.min(...l),M=Math.max(...l),u=Math.max(M-m,1e-6),o=r.buckets,k=t=>Math.min(o-1,Math.floor((t-m)/u*o)),O=t=>x(m+(t+.5)/o*u),f=[];for(const t of p){const s=new Array(o).fill(0);for(const e of t.strikes)s[k(e.strike)]+=e.callOi+e.putOi;for(let e=0;e<o;e++)f.push({id:`${t.expiry}-${e}`,row:t.expiry,column:O(e),value:s[e],oi:s[e]})}return f},[a,r.expiries,r.buckets]);return b?n.jsx(d,{loading:!0,children:"loading OI ladder…"}):c.length===0?n.jsx(d,{children:"no options data yet"}):n.jsx(H,{data:c,CellComponent:w,gap:3,showLabels:!0,rowLabelWidth:64,columnLabelHeight:20})}const $=y({...h,component:C});export{$ as optionsOiLadderHeatmapFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,j as t}from"./react-qoZPGuNy.js";import{d as l,D as p,U as c}from"./format-DxkEZcwQ.js";import{f,c_ as u,bb as h}from"./index-BJ1Zyy42.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{B as y}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";u.schema;function O({config:s}){const{summary:r,isLoading:x}=h(s.currency),a=d.useMemo(()=>{if(!r)return null;const o=r.underlyingPrice,n=r.nearestExpiry.strikes;return n.length===0?null:{data:[...n].sort((e,i)=>Math.abs(e.strike-o)-Math.abs(i.strike-o)).slice(0,s.strikes).sort((e,i)=>e.strike-i.strike).map(e=>({label:l(e.strike),value:e.callOi-e.putOi})),expiry:r.nearestExpiry.expiry}},[r,s.strikes]);return x?t.jsx(m,{loading:!0,children:"loading options…"}):a?t.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[t.jsx(y,{data:a.data,color:c,negativeColor:p,height:200,formatValue:l}),t.jsxs("div",{className:"caption text-soft flex justify-between",children:[t.jsx("span",{style:{color:c},children:"call-heavy"}),t.jsxs("span",{children:["net OI by strike · ",a.expiry]}),t.jsx("span",{style:{color:p},children:"put-heavy"})]})]}):t.jsx(m,{children:"no options data yet"})}const E=f({...u,component:O});export{E as optionsOiSkewFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as L,j as t}from"./react-qoZPGuNy.js";import{U as S,D as E,d as v,e as F}from"./format-DxkEZcwQ.js";import{f as P,be as N,bb as R}from"./index-BJ1Zyy42.js";import{F as g}from"./ui-Bq3RQsdJ.js";N.schema;const w=S,M=E;function B({config:h}){const{summary:p,isLoading:W}=R(h.currency),j=L.useMemo(()=>{if(!p)return null;const s=p.underlyingPrice,x=p.nearestExpiry.strikes;if(x.length===0)return null;const n=[...x].sort((r,y)=>Math.abs(r.strike-s)-Math.abs(y.strike-s)).slice(0,h.strikes).sort((r,y)=>r.strike-y.strike),d=Math.max(1,...n.map(r=>Math.max(r.callOi,r.putOi)));return{near:n,maxOi:d,spot:s,expiry:p.nearestExpiry.expiry}},[p,h.strikes]);if(W)return t.jsx(g,{loading:!0,children:"loading strikes…"});if(!j)return t.jsx(g,{children:"no options data yet"});const{near:e,maxOi:C,spot:a,expiry:H}=j,f=600,O=200,i=6,o=O-i-4,m=e.length,u=f/m,k=Math.max(2,u*.34),l=s=>s*u+u/2,b=s=>s/C*o;let c=null;if(a<=e[0].strike)c=l(0);else if(a>=e[m-1].strike)c=l(m-1);else for(let s=0;s<m-1;s++)if(a>=e[s].strike&&a<=e[s+1].strike){const x=e[s+1].strike-e[s].strike||1,n=(a-e[s].strike)/x;c=l(s)+n*(l(s+1)-l(s));break}return t.jsxs("div",{className:"flex h-full min-h-0 flex-col",children:[t.jsxs("div",{className:"caption text-soft mb-1 flex justify-between",children:[t.jsxs("span",{children:["OI by strike · ",H]}),t.jsxs("span",{children:[t.jsx("span",{style:{color:w},children:"calls"})," ·"," ",t.jsx("span",{style:{color:M},children:"puts"})]})]}),t.jsxs("svg",{viewBox:`0 0 ${f} ${O}`,preserveAspectRatio:"none",className:"min-h-0 w-full flex-1",children:[t.jsx("line",{x1:0,y1:i+o,x2:f,y2:i+o,style:{stroke:"var(--color-disabled)"},strokeWidth:1}),e.map((s,x)=>{const n=l(x),d=b(s.callOi),r=b(s.putOi);return t.jsxs("g",{children:[t.jsx("rect",{x:n-k-1,y:i+o-d,width:k,height:d,fill:w}),t.jsx("rect",{x:n+1,y:i+o-r,width:k,height:r,fill:M})]},s.strike)}),c!==null&&t.jsx("line",{x1:c,y1:i,x2:c,y2:i+o,style:{stroke:"var(--color-soft)"},strokeWidth:1,strokeDasharray:"4 3"})]}),t.jsxs("div",{className:"caption text-soft mt-1 flex justify-between tabular-nums",children:[t.jsx("span",{children:v(e[0].strike)}),t.jsxs("span",{className:"text-normal",children:["spot ",F(a)]}),t.jsx("span",{children:v(e[m-1].strike)})]})]})}const $=P({...N,component:B});export{$ as optionsOiStrikeFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./react-qoZPGuNy.js";import{U as h,D as f,b as e}from"./format-DxkEZcwQ.js";import{f as j,ba as u,bb as v}from"./index-BJ1Zyy42.js";import{F as d}from"./ui-Bq3RQsdJ.js";u.schema;const i=h,o=f;function b(t){return t>1?o:i}function y({config:t}){const{summary:l,isLoading:m}=v(t.currency);if(m)return s.jsx(d,{loading:!0,children:"loading options…"});if(!l)return s.jsx(d,{children:"no options data yet"});const n=t.basis==="oi"?l.putCallRatioOi:l.putCallRatioVolume,x=t.basis==="oi"?l.putCallRatioVolume:l.putCallRatioOi,r=l.callOi+l.putOi,a=r>0?l.callOi/r*100:50,c=100-a,p=b(n);return s.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-3",children:[s.jsxs("div",{className:"flex items-end justify-between gap-3",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"caption text-soft uppercase",children:[t.currency," put/call · ",t.basis==="oi"?"OI":"vol"]}),s.jsx("div",{className:"metric-xl leading-none",style:{color:p},children:n.toFixed(2)})]}),s.jsxs("div",{className:"text-right",children:[s.jsx("div",{className:"body-md text-normal font-bold tabular-nums",children:x.toFixed(2)}),s.jsxs("div",{className:"caption text-soft",children:["by ",t.basis==="oi"?"volume":"OI"]})]})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex h-3 w-full gap-1 overflow-hidden rounded-full",children:[s.jsx("div",{className:"h-full rounded-l-full",style:{width:`${a}%`,background:i}}),s.jsx("div",{className:"h-full rounded-r-full",style:{width:`${c}%`,background:o}})]}),s.jsxs("div",{className:"caption text-soft mt-1 flex justify-between tabular-nums",children:[s.jsxs("span",{children:[s.jsx("span",{style:{color:i},children:"calls"})," ",e(a,0)]}),s.jsxs("span",{children:[e(c,0)," ",s.jsx("span",{style:{color:o},children:"puts"})]})]})]}),s.jsxs("div",{className:"caption text-soft",children:["avg implied vol ",e(l.avgIv,1)]})]})}const g=j({...u,component:y});export{g as optionsPutCallFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as L,j as s}from"./react-qoZPGuNy.js";import{b as v,U as R,D as W,d as h,e as A}from"./format-DxkEZcwQ.js";import{f as C,d1 as I,bb as E}from"./index-BJ1Zyy42.js";import{F as j}from"./ui-Bq3RQsdJ.js";I.schema;const y=R,k=W;function F({config:g}){const{summary:i,isLoading:b}=E(g.currency),m=L.useMemo(()=>{if(!i)return null;const t=[...i.nearestExpiry.strikes].filter(e=>e.callIv!==void 0||e.putIv!==void 0).sort((e,w)=>e.strike-w.strike);if(t.length<2)return null;const n=t.flatMap(e=>[e.callIv,e.putIv]).filter(e=>e!==void 0);return n.length===0?null:{strikes:t,minIv:Math.min(...n),maxIv:Math.max(...n),spot:i.underlyingPrice,expiry:i.nearestExpiry.expiry}},[i]);if(b)return s.jsx(j,{loading:!0,children:"loading vol smile…"});if(!m)return s.jsx(j,{children:"no options data yet"});const{strikes:o,minIv:a,maxIv:x,spot:O,expiry:M}=m,c=600,d=200,r=6,l=d-r-4,p=o[0].strike,f=o[o.length-1].strike,N=f-p||1,P=t=>(t-p)/N*c,S=Math.max(x-a,1e-6),V=t=>r+l-(t-a)/S*l,u=t=>o.filter(n=>n[t]!==void 0).map(n=>`${P(n.strike)},${V(n[t])}`).join(" "),$=`${v(a,0)}–${v(x,0)}`;return s.jsxs("div",{className:"flex h-full min-h-0 flex-col",children:[s.jsxs("div",{className:"caption text-soft mb-1 flex justify-between",children:[s.jsxs("span",{children:["vol smile · ",M]}),s.jsxs("span",{children:[s.jsx("span",{style:{color:y},children:"call IV"})," ·"," ",s.jsx("span",{style:{color:k},children:"put IV"})]})]}),s.jsxs("svg",{viewBox:`0 0 ${c} ${d}`,preserveAspectRatio:"none",className:"min-h-0 w-full flex-1",children:[s.jsx("line",{x1:0,y1:r+l,x2:c,y2:r+l,style:{stroke:"var(--color-disabled)"},strokeWidth:1}),s.jsx("polyline",{points:u("callIv"),fill:"none",stroke:y,strokeWidth:1.5}),s.jsx("polyline",{points:u("putIv"),fill:"none",stroke:k,strokeWidth:1.5})]}),s.jsxs("div",{className:"caption text-soft mt-1 flex justify-between tabular-nums",children:[s.jsx("span",{children:h(p)}),s.jsxs("span",{className:"text-normal",children:["spot ",A(O)," · ",$," IV"]}),s.jsx("span",{children:h(f)})]})]})}const _=C({...I,component:F});export{_ as optionsVolSmileFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,j as i}from"./react-qoZPGuNy.js";import{f as g,c$ as u,bd as l}from"./index-BJ1Zyy42.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{a as s,C as f}from"./chart-utils-DGogNvJT.js";import{M as L}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";u.schema;const x={"7D":{ms:7*864e5,res:3600,timeframe:s["7D"]},"1M":{ms:30*864e5,res:43200,timeframe:s["1M"]},"3M":{ms:90*864e5,res:86400,timeframe:s["3M"]}};function C({config:M}){const{ms:r,res:e,timeframe:h}=x[M.lookback],n=d.useMemo(()=>{const t=e*1e3;return Math.floor((Date.now()-r)/t)*t},[r,e]),o=l("BTC",n,e),a=l("ETH",n,e),m=d.useMemo(()=>[{id:"BTC",name:"BTC DVOL",points:o.points},{id:"ETH",name:"ETH DVOL",points:a.points}].map((t,S)=>({id:t.id,name:t.name,color:f[S%f.length],data:t.points.map(p=>({date:new Date(p.time).toISOString(),value:p.value}))})),[o.points,a.points]);return o.isLoading||a.isLoading?i.jsx(c,{loading:!0,children:"loading volatility…"}):m.every(t=>t.data.length===0)?i.jsx(c,{children:"no volatility data yet"}):i.jsx(L,{series:m,timeframe:h,height:250,formatValue:t=>t.toFixed(1)})}const F=g({...u,component:C});export{F as optionsVolSpreadFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,j as a}from"./react-qoZPGuNy.js";import{D as h,U as x,d as m}from"./format-DxkEZcwQ.js";import{f as y,dk as i,S as g}from"./index-BJ1Zyy42.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{B as j}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;const v="CES0000000001";function C({config:o}){const r=new Date().getUTCFullYear(),p=r-3,{series:t,isLoading:u}=g(v,p,r),s=d.useMemo(()=>{const e=(t==null?void 0:t.points)??[];return e.slice(1).map((n,f)=>({label:n.date,value:n.value-e[f].value})).slice(-o.months)},[t,o.months]);if(u)return a.jsx(c,{loading:!0,children:"loading payrolls…"});if(s.length===0)return a.jsx(c,{children:"no payrolls data yet"});const l=s.at(-1);return a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(j,{data:s,color:x,negativeColor:h,height:200,formatValue:e=>m(e*1e3),showValues:!1,maxTickLabels:6}),a.jsxs("div",{className:"caption text-soft text-center",children:["nonfarm payrolls · monthly net change · latest"," ",l.value>=0?"+":"",m(l.value*1e3)]})]})}const D=y({...i,component:C});export{D as payrollsBarsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as g,j as a}from"./react-qoZPGuNy.js";import{z as C,Z as b,a as x,M as N}from"./cycle-shared-XoGVsOjC.js";import{D as O}from"./format-DxkEZcwQ.js";import{s as m,t as A,w as D}from"./indicators-Cw7CVPn4.js";import{f as M,bp as u,bo as j}from"./index-BJ1Zyy42.js";import{F as p}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";u.schema;function w({config:f}){const{history:e,isLoading:h}=j("btc"),t=g.useMemo(()=>{const n=e.map(o=>o.value),y=m(n,111),d=m(n,350),l=[];for(let o=0;o<e.length;o++){const c=y[o],r=d[o];c!==null&&r!==null&&r>0&&l.push({time:e[o].time,value:c/(2*r)})}return l},[e]);if(h)return a.jsx(p,{loading:!0,children:"loading Pi Cycle…"});if(t.length===0)return a.jsx(p,{children:"not enough price history yet"});const i=t[t.length-1].value,s=C(i,[{upTo:.85,zone:{label:"Normal",color:b}},{upTo:1,zone:{label:"Approaching top",color:x}}],{label:"TOP SIGNAL",color:O});return a.jsx(N,{caption:"Pi Cycle · 111DMA ÷ 2×350DMA",headline:i.toFixed(2),headlineColor:s.color,zone:s,sub:"crosses 1 at cycle tops",sparkline:A(t,D(f.window)),sparkColor:s.color})}const _=M({...u,component:w});export{_ as piCycleFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as u,j as r}from"./react-qoZPGuNy.js";import{s as o,p as M,b as v,o as N}from"./d3-ibrLIlQc.js";import{p as y}from"./utils-DxneYyA_.js";const R=["#FF1F5F","#81FE90"],G=({data:a,width:l=270,height:i=270,innerRadius:c=90,outerRadius:d=100,colors:g=R,children:x})=>{const s=u.useRef(null);return u.useEffect(()=>{if(!s.current||!a.length)return;o(s.current).selectAll("*").remove();const f=o(s.current),b=l/2,k=i/2,n=f.append("defs");n.append("filter").attr("id","glow").append("feGaussianBlur").attr("stdDeviation","3").attr("result","coloredBlur"),n.select("#glow").append("feMerge").selectAll("feMergeNode").data(["coloredBlur","SourceGraphic"]).enter().append("feMergeNode").attr("in",e=>e),n.append("filter").attr("id","glow-layer").append("feGaussianBlur").attr("stdDeviation","6").attr("result","glowBlur"),n.select("#glow-layer").append("feColorMatrix").attr("type","matrix").attr("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0").attr("result","glowColor");const j=M().value(e=>e.value).padAngle(.02),w=v().innerRadius(c).outerRadius(d).cornerRadius(100),C=v().innerRadius(c).outerRadius(d).cornerRadius(100),m=N().domain(a.map((e,t)=>t.toString())).range(g),p=f.append("g").attr("transform",`translate(${b}, ${k})`).selectAll("g").data(j(a)).enter().append("g");p.append("path").attr("class","glow-layer").attr("d",C).attr("fill",(e,t)=>m(t.toString())).attr("filter","url(#glow-layer)").style("opacity",0).style("pointer-events","none"),p.append("path").attr("class","main-slice").attr("d",w).attr("fill",(e,t)=>m(t.toString())).attr("stroke","none"),p.on("mouseenter",function(){o(this).select(".glow-layer").transition().duration(y()?0:300).style("opacity",1)}).on("mouseleave",function(){o(this).select(".glow-layer").transition().duration(y()?0:300).style("opacity",0)})},[a,l,i,c,d,g]),r.jsxs("div",{className:"relative flex flex-col items-center justify-center rounded-full",style:{background:"linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%)"},children:[r.jsx("svg",{ref:s,width:l,height:i,className:"relative z-10"}),r.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:x}),r.jsx("div",{className:"pointer-events-none absolute inset-0 rounded-full",style:{background:"linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%)",maskImage:"radial-gradient(farthest-side, transparent calc(100% - 1px),#fff 0)",WebkitMaskComposite:"destination-out",maskComposite:"exclude"}}),r.jsx("div",{className:"pointer-events-none absolute inset-[10%] rounded-full",style:{background:"linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%)",maskImage:"radial-gradient(farthest-side, transparent calc(100% - 1px),#fff 0)",WebkitMaskComposite:"destination-out",maskComposite:"exclude"}})]})},F=u.memo(G);export{F as P};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,j as s}from"./react-qoZPGuNy.js";import{i as k}from"./content-shared-BZ1XzrJx.js";import{f as w,b_ as y}from"./index-BJ1Zyy42.js";y.schema;function M(e){const t=Math.floor(e/60),n=e%60;return`${t}:${String(n).padStart(2,"0")}`}function R({config:e}){const t=Math.max(1,Math.round(e.workMin*60)),n=Math.max(1,Math.round(e.breakMin*60)),[a,c]=r.useState("work"),[b,o]=r.useState(t),[l,i]=r.useState(!1),[u,m]=r.useState(1);r.useEffect(()=>{c("work"),o(t),i(!1),m(1)},[t,n]);const p=r.useRef(a);p.current=a;const x=r.useRef(u);x.current=u,r.useEffect(()=>{if(!l)return;const f=setInterval(()=>{o(h=>h>1?h-1:p.current==="work"?(c("break"),n):(c("work"),m(S=>x.current>=e.cycles?1:S+1),t))},1e3);return()=>clearInterval(f)},[l,t,n,e.cycles]);const j=()=>{i(!1),c("work"),o(t),m(1)},d=e.label.trim(),v=a==="work"?"var(--color-highlight)":void 0;return s.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-1",children:[d&&s.jsx("div",{className:"caption text-soft uppercase tracking-[0.12em]",children:d}),s.jsxs("div",{className:"caption text-soft uppercase tracking-[0.18em]",children:[a," · ",u,"/",e.cycles]}),s.jsx("div",{className:"metric-xl text-strong",style:{color:v},children:M(b)}),s.jsxs("div",{className:"mt-1 flex gap-1",children:[s.jsx("button",{type:"button",onClick:()=>i(f=>!f),className:`caption text-normal px-3 py-1 ${k}`,children:l?"Pause":"Start"}),s.jsx("button",{type:"button",onClick:j,className:`caption text-soft px-3 py-1 ${k}`,children:"Reset"})]})]})}const $=w({...y,component:R});export{$ as pomodoroFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,r as f}from"./react-qoZPGuNy.js";import{f as u,g as m,h as x}from"./index-BJ1Zyy42.js";import{f as i,b as d}from"./format-DxkEZcwQ.js";import{P as p,u as h,a as j}from"./portfolio-common-BMRwgiXd.js";import{F as g}from"./ui-Bq3RQsdJ.js";import{C as c}from"./chart-utils-DGogNvJT.js";import{P as v}from"./pie-chart-BIxKuHm-.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;function b({portfolio:s,config:l}){const{priced:r}=h(s.holdings),t=f.useMemo(()=>r.map((a,o)=>({name:x(a.symbol),value:a.value??0,color:c[o%c.length]})).filter(a=>a.value>0).sort((a,o)=>o.value-a.value),[r]),n=t.reduce((a,o)=>a+o.value,0);return t.length===0?e.jsx(g,{children:"no live prices yet"}):e.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[e.jsx(v,{data:t,width:200,height:200,innerRadius:58,outerRadius:92,colors:t.map(a=>a.color),children:e.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[e.jsx(j,{portfolio:s,config:l,className:"caption text-soft"}),e.jsx("span",{className:"metric-lg text-strong",children:i(n)})]})}),e.jsx("div",{className:"flex w-full max-w-xs flex-wrap justify-center gap-x-5 gap-y-1.5",children:t.map(a=>e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"h-2 w-2 flex-shrink-0 rounded-full",style:{background:a.color}}),e.jsx("span",{className:"body-sm text-soft",children:a.name}),e.jsx("span",{className:"body-sm text-normal font-bold tabular-nums",children:d(a.value/n*100,1)}),e.jsx("span",{className:"caption text-soft tabular-nums",children:i(a.value)})]},a.name))})]})}function N({config:s}){return e.jsx(p,{config:s,loadingLabel:"loading allocation…",children:l=>e.jsx(b,{portfolio:l,config:s})})}const S=u({...m,component:N});export{S as portfolioAllocationFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s,r as d}from"./react-qoZPGuNy.js";import{a9 as k,z as w,aa as g,A as y,a8 as j}from"./index-BJ1Zyy42.js";import{F as h}from"./ui-Bq3RQsdJ.js";function P(n){if(n.source==="wallet"){const o=(n.address??"").trim();return o?{kind:"wallet",address:o}:null}return{kind:"binance"}}const C={WETH:"ETH",WBTC:"BTC"};function x(n){return C[n.toUpperCase()]??n}function D(n){const o=n??[],r=o.map(e=>x(e.symbol)),l=w(r);return d.useMemo(()=>{const e=o.map(a=>{const u=l[x(a.symbol)],c=u!==void 0?a.amount*u:a.valueUsd;return{...a,value:c}}),i=e.reduce((a,u)=>a+(u.value??0),0);return{priced:e,total:i}},[n,l])}function _({portfolio:n,config:o,className:r=""}){var i;const l=n.label??(o.source==="wallet"?"wallet":"portfolio"),e=(i=o.address)==null?void 0:i.trim();return o.source==="wallet"&&e?s.jsx("a",{href:`https://etherscan.io/address/${encodeURIComponent(e)}`,target:"_blank",rel:"noopener noreferrer",title:"View on Etherscan",className:`hover:text-white hover:underline ${r}`,onClick:a=>a.stopPropagation(),onPointerDown:a=>a.stopPropagation(),children:l}):s.jsx("span",{className:r,children:l})}function v(n,o){const r=(n==null?void 0:n.kind)==="binance",[l,e]=d.useState({loading:r,connected:!1,keyMasked:null});return d.useEffect(()=>{if(!r||!n){e({loading:!1,connected:!1,keyMasked:null});return}let i=!1;return e(a=>({...a,loading:!0})),fetch(`${g}?source=${n.kind}`,{headers:{accept:"application/json"}}).then(a=>a.ok?a.json():{connected:!1,keyMasked:null}).then(a=>{i||e({loading:!1,connected:!!a.connected,keyMasked:a.keyMasked??null})}).catch(()=>{i||e({loading:!1,connected:!1,keyMasked:null})}),()=>{i=!0}},[r,n==null?void 0:n.kind,o]),l}function N(n){const[o,r]=d.useState(0),l=d.useCallback(()=>r(p=>p+1),[]),e=P(n),i=v(e,o),a=(e==null?void 0:e.kind)==="binance",u=!!e&&(!a||i.connected),{portfolio:c,isLoading:f}=k(u?e:null);let t;return e?a&&i.loading?t={state:"checking"}:a&&!i.connected?t={state:"needs-connect",source:e}:f&&!c?t={state:"loading"}:c?c.holdings.length===0?t={state:"empty",portfolio:c}:t={state:"live",portfolio:c}:t={state:"error"}:t={state:"needs-address"},{view:t,refresh:l}}const m="w-full rounded-md border border-white/10 bg-white/[0.04] px-2 py-1.5 text-xs text-white/90 outline-none focus:border-white/25 placeholder:text-white/30",b="rounded-md bg-[hsl(var(--zf-accent-hue,242)_90%_60%)] px-3 py-1.5 text-xs font-semibold text-white disabled:opacity-50";function S({onConnected:n}){const[o,r]=d.useState(""),[l,e]=d.useState(""),[i,a]=d.useState(!1),[u,c]=d.useState(null),f=async()=>{a(!0),c(null);try{const t=await fetch(g,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({source:"binance",key:o.trim(),secret:l.trim()})}),p=await t.json().catch(()=>({}));if(!t.ok||!p.ok)throw new Error(p.error??`HTTP ${t.status}`);r(""),e(""),n()}catch(t){c(t instanceof Error?t.message:String(t))}finally{a(!1)}};return s.jsxs("div",{className:"flex h-full w-full flex-col justify-center gap-2 px-1",children:[s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx(y,{symbol:"BNB",size:18}),s.jsx("span",{className:"text-strong text-sm font-bold",children:"Connect Binance"})]}),s.jsxs("p",{className:"caption text-soft",children:["Use a ",s.jsx("strong",{children:"read-only"})," key + secret — create them in Binance"," ",s.jsx("a",{href:"https://www.binance.com/en/my/settings/api-management",target:"_blank",rel:"noopener noreferrer",className:"text-[hsl(var(--zf-accent-hue,242)_90%_72%)] underline underline-offset-2 hover:text-white",onClick:t=>t.stopPropagation(),onPointerDown:t=>t.stopPropagation(),children:"API Management"})," ","(enable Reading only). Both stay on your machine, never shared."]}),s.jsx("input",{className:m,placeholder:"API key",value:o,autoComplete:"off",onChange:t=>r(t.target.value),onPointerDown:t=>t.stopPropagation()}),s.jsx("input",{className:m,placeholder:"API secret",type:"password",value:l,autoComplete:"off",onChange:t=>e(t.target.value),onPointerDown:t=>t.stopPropagation()}),u?s.jsx("p",{className:"caption text-[#ff6b81]",children:u}):null,s.jsx("button",{type:"button",className:b,disabled:i||!o.trim()||!l.trim(),onClick:t=>{t.stopPropagation(),f()},onPointerDown:t=>t.stopPropagation(),children:i?"Verifying…":"Connect"})]})}function E({current:n}){const o=j(),[r,l]=d.useState(n??"");return s.jsxs("div",{className:"flex h-full w-full flex-col justify-center gap-2 px-1",children:[s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx(y,{symbol:"ETH",size:18}),s.jsx("span",{className:"text-strong text-sm font-bold",children:"Track a wallet"})]}),s.jsx("p",{className:"caption text-soft",children:"Enter a public Ethereum address or ENS name. No keys — it’s public on-chain data. Sharing this dashboard reveals the holdings."}),s.jsx("input",{className:m,placeholder:"0x… or name.eth",value:r,autoComplete:"off",onChange:e=>l(e.target.value),onPointerDown:e=>e.stopPropagation()}),o?s.jsx("button",{type:"button",className:b,disabled:!r.trim(),onClick:e=>{e.stopPropagation(),o({address:r.trim()})},onPointerDown:e=>e.stopPropagation(),children:"Track"}):s.jsx("p",{className:"caption text-soft",children:"Set the address in the frame’s config to start tracking."})]})}function I({config:n,loadingLabel:o="loading portfolio…",children:r}){const{view:l,refresh:e}=N(n);switch(l.state){case"needs-address":case"needs-connect":return s.jsx(T,{view:l,config:n,onConnected:e});case"checking":case"loading":return s.jsx(h,{loading:!0,children:o});case"error":return s.jsx(h,{children:"couldn’t load — check the address or try again"});case"empty":return s.jsx(h,{children:"no holdings to show"});case"live":return s.jsx(s.Fragment,{children:r(l.portfolio)})}}function T({view:n,config:o,onConnected:r}){return n.state==="needs-connect"&&n.source.kind==="binance"?s.jsx(S,{onConnected:r}):s.jsx(E,{current:o.address})}export{I as P,_ as a,D as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s,r as m}from"./react-qoZPGuNy.js";import{f as d,i as n,A as x,h as f}from"./index-BJ1Zyy42.js";import{f as i,b as h,a as p,c as u}from"./format-DxkEZcwQ.js";import{P as b,u as g,a as j}from"./portfolio-common-BMRwgiXd.js";import{s as N}from"./ui-Bq3RQsdJ.js";n.schema;function y(t){return t>=1e3?t.toLocaleString("en-US",{maximumFractionDigits:2}):t>=1?t.toFixed(4).replace(/\.?0+$/,""):t.toPrecision(4)}function v({portfolio:t,config:a}){const{priced:l,total:r}=g(t.holdings),c=m.useMemo(()=>[...l].sort((e,o)=>(o.value??0)-(e.value??0)),[l]);return s.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[s.jsxs("div",{className:"flex items-baseline justify-between border-b border-white/[0.06] pb-1.5",children:[s.jsx(j,{portfolio:t,config:a,className:"caption text-soft"}),s.jsx("span",{className:"metric-sm text-strong",children:i(r)})]}),s.jsx("div",{className:N,children:s.jsx("table",{className:"w-full text-xs",children:s.jsx("tbody",{children:c.map(e=>{const o=r>0?(e.value??0)/r*100:0;return s.jsxs("tr",{className:"border-b border-white/[0.04]",children:[s.jsx("td",{className:"py-1.5",children:s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx(x,{symbol:e.symbol,size:16}),s.jsx("span",{className:"text-normal font-semibold",children:f(e.symbol)})]})}),s.jsx("td",{className:"text-soft py-1.5 text-right tabular-nums",children:y(e.amount)}),s.jsx("td",{className:"text-normal py-1.5 text-right font-semibold tabular-nums",children:e.value!==void 0?i(e.value):"—"}),s.jsx("td",{className:"text-soft py-1.5 text-right tabular-nums",children:h(o,1)}),s.jsx("td",{className:"py-1.5 text-right tabular-nums",children:e.changePct24h!==void 0?s.jsx("span",{style:{color:u(e.changePct24h)},children:p(e.changePct24h)}):s.jsx("span",{className:"text-soft",children:"·"})})]},e.symbol)})})})})]})}function P({config:t}){return s.jsx(b,{config:t,loadingLabel:"loading holdings…",children:a=>s.jsx(v,{portfolio:a,config:t})})}const L=d({...n,component:P});export{L as portfolioHoldingsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,r as n}from"./react-qoZPGuNy.js";import{f as l,dy as i,h}from"./index-BJ1Zyy42.js";import{a as m,D as c,U as f}from"./format-DxkEZcwQ.js";import{P as g,a as p}from"./portfolio-common-BMRwgiXd.js";import{F as x}from"./ui-Bq3RQsdJ.js";import{B as d}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function u({portfolio:a,config:o}){const r=n.useMemo(()=>[...a.holdings].filter(t=>Number.isFinite(t.changePct24h)).sort((t,s)=>Math.abs(s.changePct24h)-Math.abs(t.changePct24h)).slice(0,o.limit).sort((t,s)=>s.changePct24h-t.changePct24h).map(t=>({label:h(t.symbol),value:t.changePct24h})),[a.holdings,o.limit]);return r.length===0?e.jsx(x,{children:"no 24h change reported for these holdings"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(p,{portfolio:a,config:o,className:"caption text-soft"}),e.jsx(d,{data:r,orientation:"horizontal",color:f,negativeColor:c,height:Math.max(r.length*22,96),formatValue:m})]})}function P({config:a}){return e.jsx(g,{config:a,loadingLabel:"loading holdings…",children:o=>e.jsx(u,{portfolio:o,config:a})})}const N=l({...i,component:P});export{N as portfolioMoversFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,r as o}from"./react-qoZPGuNy.js";import{L as V}from"./liveline-bcaEuskN.js";import{f as N,a as L,c as D}from"./format-DxkEZcwQ.js";import{u as I,o as F}from"./live-tick-9Q3ubPF9.js";import{P as H,u as W,a as _}from"./portfolio-common-BMRwgiXd.js";import{f as k,p as y}from"./index-BJ1Zyy42.js";import"./ui-Bq3RQsdJ.js";const w=720,d=3,q={top:12,right:66,bottom:28,left:8};y.schema;function A(){return typeof document>"u"?"hsl(242 90% 66%)":`hsl(${getComputedStyle(document.documentElement).getPropertyValue("--zf-accent-hue").trim()||"242"} 90% 66%)`}function G({portfolio:a,config:c,windowSec:h}){var v;const{total:t}=W(a.holdings),p=o.useMemo(()=>A(),[]),{ref:P,visibleRef:x}=I(),u=o.useRef(!1),[s,M]=o.useState([]),b=o.useRef(t);o.useEffect(()=>{b.current=t},[t]);const i=o.useCallback(()=>{if(!x.current){u.current=!0;return}const n=b.current;if(!Number.isFinite(n)||n<=0)return;const l=Date.now()/1e3,S=u.current;u.current=!1,M(C=>{const r=S?[]:C,f=r[r.length-1];if(f&&Math.abs(l-f.time)<.5&&f.value===n)return r;const m=r.length===0?[{time:l-d,value:n},{time:l,value:n}]:[...r,{time:l,value:n}];return m.length>w?m.slice(-w):m})},[x]);o.useEffect(()=>{i()},[i,t]),o.useEffect(()=>F(i),[i]);const g=(v=s[0])==null?void 0:v.value,j=g&&t?(t/g-1)*100:0,E=o.useMemo(()=>s.length===0?[]:[{id:"equity",label:"Portfolio",color:p,data:s,value:t}],[s,t,p]),R=o.useMemo(()=>{if(s.length===0)return d;const n=s[s.length-1].time-s[0].time;return Math.min(h,Math.max(d,Math.ceil(n)))},[s,h]);return e.jsxs("div",{ref:P,className:"flex h-full min-h-0 flex-col",children:[e.jsxs("div",{className:"flex flex-none items-baseline justify-between border-b border-white/[0.06] pb-2",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(_,{portfolio:a,config:c,className:"caption text-soft"}),e.jsx("span",{className:"metric-md text-strong",children:N(t)})]}),e.jsxs("span",{className:"body-sm font-semibold tabular-nums",style:{color:D(j)},children:[L(j)," ",e.jsx("span",{className:"caption text-soft",children:"session"})]})]}),e.jsx("div",{className:"min-h-0 flex-1 [&>div[style*='align-items']]:!hidden",children:e.jsx(V,{data:[],value:t,series:E,theme:"dark",window:R,grid:!0,loading:s.length<=1,scrub:!1,badge:!1,formatValue:N,padding:q,style:{width:"100%",height:"100%"}})})]})}function O({config:a}){return e.jsx(H,{config:a,loadingLabel:"loading portfolio…",children:c=>e.jsx(G,{portfolio:c,config:a,windowSec:a.windowSec})})}const K=k({...y,component:O});export{K as portfolioValueFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,r as c}from"./react-qoZPGuNy.js";import{f,dz as i,h as u}from"./index-BJ1Zyy42.js";import{f as l}from"./format-DxkEZcwQ.js";import{P as p,u as x,a as d}from"./portfolio-common-BMRwgiXd.js";import{F as h}from"./ui-Bq3RQsdJ.js";import{B as j}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function v({portfolio:t,config:s}){const{priced:o,total:m}=x(t.holdings),r=c.useMemo(()=>o.filter(a=>(a.value??0)>0).sort((a,n)=>(n.value??0)-(a.value??0)).slice(0,s.limit).map(a=>({label:u(a.symbol),value:a.value??0})),[o,s.limit]);return r.length===0?e.jsx(h,{children:"no live prices yet"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsxs("div",{className:"flex items-baseline justify-between px-0.5",children:[e.jsx(d,{portfolio:t,config:s,className:"caption text-soft"}),e.jsx("span",{className:"metric-sm text-strong",children:l(m)})]}),e.jsx(j,{data:r,orientation:"horizontal",height:Math.max(r.length*24,96),formatValue:l})]})}function g({config:t}){return e.jsx(p,{config:t,loadingLabel:"loading holdings…",children:s=>e.jsx(v,{portfolio:s,config:t})})}const z=f({...i,component:g});export{z as portfolioValueBarsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as r}from"./react-qoZPGuNy.js";import{f as l}from"./format-DxkEZcwQ.js";import{f as c,dt as s,bI as f}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{B as u}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";s.schema;function d(t,e=28){return t.length>e?`${t.slice(0,e-1)}…`:t}function p({config:t}){const{markets:e,isLoading:n}=f(t.limit),a=m.useMemo(()=>e.map(o=>({label:d(o.question),value:o.volume24h})),[e]);return n?r.jsx(i,{loading:!0,children:"loading markets…"}):a.length===0?r.jsx(i,{children:"no markets yet"}):r.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[r.jsx(u,{data:a,orientation:"horizontal",height:Math.max(a.length*26,96),formatValue:l}),r.jsx("div",{className:"caption text-soft text-center",children:"prediction markets · 24h volume"})]})}const B=c({...s,component:p});export{B as predictionMarketBarsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as p,j as o}from"./react-qoZPGuNy.js";import{f as u,b as f}from"./format-DxkEZcwQ.js";import{f as d,dw as i,bI as h}from"./index-BJ1Zyy42.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{S as x}from"./scatter-chart-B78EA7lD.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function g(e,r=20){return e.length>r?`${e.slice(0,r-1)}…`:e}const b=e=>f(e,0);function j({config:e}){const{markets:r,isLoading:n}=h(e.limit),a=p.useMemo(()=>r.filter(t=>t.outcomes.length>0&&t.volume24h>0).map(t=>{const c=[...t.outcomes].sort((m,l)=>l.prob-m.prob)[0];return{id:t.question,label:g(t.question),x:c.prob*100,y:t.volume24h,weight:t.volume24h}}),[r]);return n?o.jsx(s,{loading:!0,children:"loading markets…"}):a.length===0?o.jsx(s,{children:"no markets yet"}):o.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[o.jsx(x,{data:a,yScale:"log",height:210,formatX:b,formatY:u,maxLabels:10}),o.jsxs("div",{className:"caption text-soft text-center",children:["top-outcome probability (x) vs 24h volume (y, log) · top ",a.length]})]})}const L=d({...i,component:j});export{L as predictionMarketScatterFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./react-qoZPGuNy.js";import{U as p,b as f,f as d}from"./format-DxkEZcwQ.js";import{M as u}from"./metric-row-BVVhjsjK.js";import{f as x,bH as a,bI as b}from"./index-BJ1Zyy42.js";import{F as s,s as h}from"./ui-Bq3RQsdJ.js";a.schema;function j({config:i}){const{markets:t,isLoading:n}=b(i.limit);return n?r.jsx(s,{loading:!0,children:"loading markets…"}):t.length===0?r.jsx(s,{children:"no markets yet"}):r.jsx("div",{className:`${h} flex flex-col`,children:t.map((e,m)=>{const o=[...e.outcomes].sort((l,c)=>c.prob-l.prob)[0];return r.jsx(u,{label:e.question,meta:`${o.label} · vol ${d(e.volume24h)}`,value:r.jsx("span",{style:{color:p},children:f(o.prob*100,0)})},m)})})}const P=x({...a,component:j});export{P as predictionMarketsFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as p}from"./react-qoZPGuNy.js";import{B as b}from"./bubbles-shared-DlmjtiIA.js";import{b as d,f}from"./format-DxkEZcwQ.js";import{f as h,dB as l,bI as M}from"./index-BJ1Zyy42.js";import"./ui-Bq3RQsdJ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function $(s,o=18){const e=s.trim();if(e.length<=o)return e;const r=e.slice(0,o),t=r.lastIndexOf(" ");return`${t>o*.5?r.slice(0,t):r}…`}function v(s){const o=Math.max(0,Math.min(1,(s-.5)/.5)),e=Math.round(64-o*22);return`hsl(152 ${Math.round(30+o*50)}% ${e}%)`}function g({config:s}){const{markets:o,isLoading:e}=M(s.limit),r=m.useMemo(()=>o.filter(t=>t.volume24h>0).map((t,n)=>{const a=[...t.outcomes].sort((c,u)=>u.prob-c.prob)[0],i=v(a.prob);return{id:`${n}-${t.question}`,label:$(t.question),value:t.volume24h,color:i,borderColor:i,question:t.question,topLabel:a.label,topProb:a.prob,volume24h:t.volume24h}}),[o]);return p.jsx(b,{nodes:r,isLoading:e,loadingText:"loading markets…",emptyText:"no markets yet",caption:`area by 24h volume · tint by leading-outcome confidence · top ${r.length}`,formatTitle:t=>{const n=t;return`${n.question} — ${n.topLabel} ${d(n.topProb*100,0)} · vol ${f(n.volume24h)}`}})}const L=h({...l,component:g});export{L as predictionMarketsBubbleFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as i,r as o}from"./react-qoZPGuNy.js";import{L as T}from"./liveline-bcaEuskN.js";import{f as j,ab as v,A as E,z as y,h as P,ac as A}from"./index-BJ1Zyy42.js";import{e as x}from"./format-DxkEZcwQ.js";import{u as N}from"./live-tick-9Q3ubPF9.js";import{F as k}from"./ui-Bq3RQsdJ.js";const f={"1m":6e4,"5m":5*6e4,"15m":15*6e4,"1h":60*6e4,"4h":240*6e4,"1d":1440*6e4},w=60,F={top:12,right:56,bottom:28,left:12};v.schema;function I({config:t}){const s=f[t.interval],c=o.useMemo(()=>Date.now()-s*w,[s]),{candles:n,isLoading:p}=A(t.symbol,t.interval,c,Math.min(s,6e4)),a=y([t.symbol])[t.symbol],{ref:M,visibleRef:b}=N(),h=o.useRef(!1),[u,g]=o.useState([]);o.useEffect(()=>{if(a===void 0)return;if(!b.current){h.current=!0;return}const e=h.current;h.current=!1,g(m=>{const d=[...e?[]:m,{time:Date.now()/1e3,value:a}];return d.length>900?d.slice(-600):d})},[a,b]),o.useEffect(()=>g([]),[t.symbol]);const S=o.useMemo(()=>n.slice(0,-1).map(e=>({time:e.time/1e3,open:e.open,high:e.high,low:e.low,close:e.close})),[n]),r=n[n.length-1],C=o.useMemo(()=>{if(!r)return;const e=a??r.close;return{time:r.time/1e3,open:r.open,high:Math.max(r.high,e),low:Math.min(r.low,e),close:e}},[r,a]),D=a??(r==null?void 0:r.close)??0,L=o.useMemo(()=>s>=f["1d"]?e=>new Date(e*1e3).toLocaleDateString("en-US",{month:"short",day:"numeric"}):s>=f["1h"]?e=>{const m=new Date(e*1e3);return`${m.toLocaleDateString("en-US",{month:"short",day:"numeric"})} ${String(m.getHours()).padStart(2,"0")}h`}:e=>new Date(e*1e3).toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),[s]),R=o.useMemo(()=>{const e=n.map(l=>({time:l.time/1e3,value:l.close}));if(u.length===0)return e;const m=u[0].time;return[...e.filter(l=>l.time<m),...u]},[n,u]);return p&&n.length===0?i.jsx(k,{loading:!0,children:"loading chart…"}):i.jsx("div",{ref:M,className:"h-full min-h-0",children:i.jsx(T,{mode:t.mode,data:R,value:D,candles:S,candleWidth:s/1e3,liveCandle:C,window:s/1e3*w,color:t.color,theme:"dark",loading:p,formatValue:x,formatTime:L,padding:F,showValue:!0,fill:!0,pulse:!0})})}function V({config:t}){const s=t.mode==="candle",c=y(s?[t.symbol]:[])[t.symbol];return i.jsxs(i.Fragment,{children:[P(t.symbol),s&&c!==void 0&&i.jsx("span",{style:{marginInlineStart:"0.5em",color:"rgba(255, 255, 255, 0.82)",fontVariantNumeric:"tabular-nums"},children:x(c)})]})}const W=j({...v,component:I,titleIcon:({config:t})=>i.jsx(E,{symbol:t.symbol,size:14}),titleContent:V});export{W as priceChartFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,r as p}from"./react-qoZPGuNy.js";import{f as v,ad as h,h as d,ae as L,af as O}from"./index-BJ1Zyy42.js";import{a as g,e as F}from"./format-DxkEZcwQ.js";import{F as u}from"./ui-Bq3RQsdJ.js";import{a as s,C as f}from"./chart-utils-DGogNvJT.js";import{M as T}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const D={"24h":{ms:1440*60*1e3,interval:"15m",timeframe:s["24h"]},"7D":{ms:10080*60*1e3,interval:"1h",timeframe:s["7D"]},"1M":{ms:720*60*60*1e3,interval:"4h",timeframe:s["1M"]}};h.schema;function E({config:e}){const{ms:m,interval:C,timeframe:M}=D[e.lookback],x=p.useMemo(()=>Date.now()-m,[m]),{candles:o,isLoading:S}=L(e.symbols,C,x),i=p.useMemo(()=>e.symbols.map((r,j)=>{var c;const n=o[r]??[],l=(c=n[0])==null?void 0:c.close;return{id:r,name:d(r),iconImageUrl:O(r),color:f[j%f.length],data:n.map(a=>({date:new Date(a.time).toISOString(),value:e.normalize&&l?(a.close/l-1)*100:a.close}))}}),[e.symbols,e.normalize,o]);return S?t.jsx(u,{loading:!0,children:"loading prices…"}):i.every(r=>r.data.length===0)?t.jsx(u,{children:"no price data yet"}):t.jsx(T,{series:i,timeframe:M,height:250,formatValue:e.normalize?g:F})}function I({config:e}){return t.jsx(t.Fragment,{children:e.symbols.map(d).join(" vs ")})}const w=v({...h,component:E,titleContent:I});export{w as priceCompareFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,j as u}from"./react-qoZPGuNy.js";import{L as T}from"./liveline-bcaEuskN.js";import{f as V,ag as L,z as W,y as $,h as N,A as B}from"./index-BJ1Zyy42.js";import{e as z,a as E,c as G}from"./format-DxkEZcwQ.js";import{u as K,o as U}from"./live-tick-9Q3ubPF9.js";import{C as j}from"./chart-utils-DGogNvJT.js";import"./d3-ibrLIlQc.js";const _=720,D=3,X={top:12,right:58,bottom:28,left:8};L.schema;function O(i){return i!==void 0&&Number.isFinite(i)}function q(i,s,S,m){let x=!1;const b={...i};for(const p of s){const d=S[p];if(!O(d))continue;const l=b[p]??[],g=l[l.length-1];if(g&&Math.abs(m-g.time)<.5&&g.value===d)continue;const h=l.length===0?[{time:m-D,value:d},{time:m,value:d}]:[...l,{time:m,value:d}];b[p]=h.length>_?h.slice(-_):h,x=!0}return x?b:i}function k(i,s){return s===0?0:(i/s-1)*100}function J({config:i}){const s=i.symbols,S=s.join("|"),m=W(s),x=$(s),{ref:b,visibleRef:p}=K(),d=o.useRef(!1),[l,g]=o.useState({}),[h,C]=o.useState(()=>new Set),v=o.useMemo(()=>{var n;const e={};for(const t of s){const a=m[t]??((n=x[t])==null?void 0:n.markPx);O(a)&&(e[t]=a)}return e},[m,x,s]),P=o.useRef(v);o.useEffect(()=>{P.current=v},[v]),o.useEffect(()=>{const e=new Set(s);g(n=>{let t=!1;const a={};for(const[r,f]of Object.entries(n)){if(!e.has(r)){t=!0;continue}a[r]=f}return t?a:n}),C(n=>{const t=new Set([...n].filter(a=>e.has(a)));return t.size===n.size?n:t})},[S,s]);const F=o.useCallback(e=>{C(n=>{const t=new Set(n);return t.has(e)?(t.delete(e),t):s.length-t.size<=1?n:(t.add(e),t)})},[s]),y=o.useCallback(()=>{if(!p.current){d.current=!0;return}const e=P.current;if(Object.keys(e).length===0)return;const n=Date.now()/1e3,t=d.current;d.current=!1,g(a=>q(t?{}:a,s,e,n))},[S,s,p]);o.useEffect(()=>{y()},[y,v]),o.useEffect(()=>U(y),[y]);const R=o.useMemo(()=>s.flatMap((e,n)=>{var f,c;if(h.has(e))return[];const t=l[e]??[],a=(f=t[0])==null?void 0:f.value;if(!a||t.length===0)return[];const r=i.normalize?t.map(w=>({time:w.time,value:k(w.value,a)})):t;return[{id:e,label:N(e),color:j[n%j.length],data:r,value:((c=r[r.length-1])==null?void 0:c.value)??0}]}),[l,h,s,i.normalize]),H=o.useMemo(()=>{var a,r;let e=1/0,n=-1/0;for(const f of s){const c=l[f]??[];c.length!==0&&(e=Math.min(e,((a=c[0])==null?void 0:a.time)??1/0),n=Math.max(n,((r=c[c.length-1])==null?void 0:r.time)??-1/0))}const t=Number.isFinite(e)&&Number.isFinite(n)?n-e:0;return Math.min(i.windowSec,Math.max(D,Math.ceil(t)))},[l,s,i.windowSec]),A=R.some(e=>e.data.length>1);return u.jsxs("div",{ref:b,className:"flex h-full min-h-0 flex-col",children:[u.jsx("div",{className:"grid flex-none grid-cols-1 gap-x-3 gap-y-1.5 border-b border-white/[0.06] pb-2 sm:grid-cols-2",children:s.map((e,n)=>{var w,I;const t=v[e],a=(I=(w=l[e])==null?void 0:w[0])==null?void 0:I.value,r=t!==void 0&&a?k(t,a):void 0,f=j[n%j.length],c=h.has(e);return u.jsxs("button",{type:"button","aria-pressed":!c,title:`${c?"Show":"Hide"} ${N(e)}`,className:`caption grid min-w-0 grid-cols-[auto_auto_minmax(0,1fr)_auto] items-center gap-1.5 rounded-md px-1.5 py-0.5 text-left transition ${c?"opacity-40 hover:opacity-70":"bg-white/[0.035] opacity-100 hover:bg-white/[0.06]"}`,onClick:M=>{M.stopPropagation(),F(e)},onPointerDown:M=>M.stopPropagation(),children:[u.jsx("span",{className:"h-1.5 w-1.5 rounded-full",style:{backgroundColor:f}}),u.jsx(B,{symbol:e,size:14}),u.jsx("span",{className:"truncate font-bold text-strong",children:N(e)}),u.jsxs("span",{className:"text-normal tabular-nums",children:[t!==void 0?z(t):"…",r!==void 0?u.jsx("span",{className:"ml-1 tabular-nums",style:{color:G(r)},children:E(r)}):null]})]},e)})}),u.jsx("div",{className:"min-h-0 flex-1 [&>div[style*='align-items']]:!hidden",children:u.jsx(T,{data:[],value:0,series:R,theme:"dark",window:H,grid:!0,loading:!A,scrub:!1,badge:!1,formatValue:i.normalize?E:z,padding:X,seriesToggleCompact:s.length>4,style:{width:"100%",height:"100%"}})})]})}const ae=V({...L,component:J});export{ae as priceLivelineFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./react-qoZPGuNy.js";import{f as d,ah as c,ai as l,aj as x,h as g}from"./index-BJ1Zyy42.js";import{M as f}from"./mover-row-_czAON2U.js";import{F as h,s as u}from"./ui-Bq3RQsdJ.js";import"./format-DxkEZcwQ.js";c.schema;function j({config:e}){const{mids:t,isLoading:m}=l(e.symbols),{stats:r,isLoading:n}=x(e.symbols),p=e.symbols.some(a=>{var s;return t[a]!==void 0||((s=r[a])==null?void 0:s.markPx)!==void 0});return(m||n)&&!p?i.jsx(h,{loading:!0,children:"loading prices…"}):i.jsx("div",{className:`flex flex-col gap-1.5 ${u}`,children:e.symbols.map(a=>{var s,o;return i.jsx(f,{symbol:a,label:g(a),price:t[a]??((s=r[a])==null?void 0:s.markPx),changePct:(o=r[a])==null?void 0:o.changePct,logoSize:18,gap:"gap-3"},a)})})}const L=d({...c,component:j});export{L as priceTickerFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as l,j as n}from"./react-qoZPGuNy.js";import{B as m}from"./bubbles-shared-DlmjtiIA.js";import{c as r,f as p,a as i}from"./format-DxkEZcwQ.js";import{f,cj as s,aF as b}from"./index-BJ1Zyy42.js";import"./ui-Bq3RQsdJ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";s.schema;function h({config:o}){const{entries:t,isLoading:c}=b(),a=l.useMemo(()=>t.filter(e=>e.fees24h>0).slice(0,o.topN).map(e=>({id:e.name,label:e.name,value:e.fees24h,color:r(e.changePct??0),borderColor:r(e.changePct??0),changePct:e.changePct??0})),[t,o.topN]);return n.jsx(m,{nodes:a,isLoading:c,loadingText:"loading protocol fees…",emptyText:"no protocol fee data",caption:`area by 24h fees · ring by 1d change · top ${a.length}`,formatTitle:e=>`${e.label} · ${p(e.value)} fees · ${i(e.changePct)}`})}const C=f({...s,component:h});export{C as protocolFeesBubblesFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as c,j as s}from"./react-qoZPGuNy.js";import{f as i}from"./format-DxkEZcwQ.js";import{f as p,aE as n,aF as f}from"./index-BJ1Zyy42.js";import{T as l,a as u}from"./treemap-leaf-QG-L-SIG.js";import{F as m}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";n.schema;function h({width:t,height:a,data:o}){const r=i(o.fees24h);return s.jsx(u,{width:t,height:a,label:o.id,secondary:r,title:`${o.id} · ${r} 24h fees`})}function d({config:t}){const{entries:a,isLoading:o}=f(),r=c.useMemo(()=>a.slice(0,t.topN).map(e=>({id:e.name,value:e.fees24h,fees24h:e.fees24h,changePct:e.changePct??0})),[a,t.topN]);return o?s.jsx(m,{loading:!0,children:"loading protocol fees…"}):r.length===0?s.jsx(m,{children:"no protocol fee data"}):s.jsx(l,{data:r,LeafComponent:h,getColorValue:e=>e.changePct})}const L=p({...n,component:d});export{L as protocolFeesTreemapFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as p,j as o}from"./react-qoZPGuNy.js";import{f as i}from"./format-DxkEZcwQ.js";import{f as g,cN as c,aB as x,aF as d}from"./index-BJ1Zyy42.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{S as u}from"./scatter-chart-B78EA7lD.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function v({config:r}){const{entries:n,isLoading:f}=x(),{entries:l,isLoading:h}=d(),a=p.useMemo(()=>{const s=new Map;for(const e of n)s.set(e.name,e.tvl);return l.flatMap(e=>{const t=s.get(e.name);return t&&t>0&&e.fees24h>0?[{name:e.name,tvl:t,fees24h:e.fees24h}]:[]}).sort((e,t)=>t.fees24h-e.fees24h).slice(0,r.limit).map(e=>({id:e.name,label:e.name,x:Math.log10(e.tvl),y:e.fees24h,weight:e.fees24h}))},[n,l,r.limit]);return f||h?o.jsx(m,{loading:!0,children:"loading protocols…"}):a.length===0?o.jsx(m,{children:"no matching protocol data yet"}):o.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[o.jsx(u,{data:a,yScale:"log",height:210,formatX:s=>i(10**s),formatY:i,maxLabels:10}),o.jsxs("div",{className:"caption text-soft text-center",children:["TVL (x, log) vs 24h fees (y, log) · top ",a.length," by fees"]})]})}const N=g({...c,component:v});export{N as protocolFeesVsTvlScatterFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,j as n}from"./react-qoZPGuNy.js";import{B as m}from"./bubbles-shared-DlmjtiIA.js";import{c as r,f as p,a as i}from"./format-DxkEZcwQ.js";import{f as b,ch as l,aB as g}from"./index-BJ1Zyy42.js";import"./ui-Bq3RQsdJ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function u({config:t}){const{entries:a,isLoading:c}=g(),e=s.useMemo(()=>a.filter(o=>o.tvl>0).slice(0,t.topN).map(o=>({id:o.name,label:o.name,value:o.tvl,color:r(o.changePct??0),borderColor:r(o.changePct??0),changePct:o.changePct??0})),[a,t.topN]);return n.jsx(m,{nodes:e,isLoading:c,loadingText:"loading protocol TVL…",emptyText:"no protocol TVL data",caption:`area by TVL · ring by 1d change · top ${e.length}`,formatTitle:o=>`${o.label} · ${p(o.value)} TVL · ${i(o.changePct)}`})}const B=b({...l,component:u});export{B as protocolTvlBubblesFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as e}from"./react-qoZPGuNy.js";import{f as p}from"./format-DxkEZcwQ.js";import{f,cP as l,aB as u}from"./index-BJ1Zyy42.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{B as x}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function h({config:s}){const{entries:i,isLoading:c}=u(),r=m.useMemo(()=>{const a=new Map;for(const t of i){const o=t.category??"Other";a.set(o,(a.get(o)??0)+t.tvl)}return[...a.entries()].map(([t,o])=>({label:t,value:o})).sort((t,o)=>o.value-t.value).slice(0,s.limit)},[i,s.limit]);return c?e.jsx(n,{loading:!0,children:"loading protocol TVL…"}):r.length===0?e.jsx(n,{children:"no protocol TVL data yet"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(x,{data:r,orientation:"horizontal",height:Math.max(r.length*26,96),formatValue:p}),e.jsx("div",{className:"caption text-soft text-center",children:"DeFi TVL · by category"})]})}const C=f({...l,component:h});export{C as protocolTvlByCategoryFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,j as e}from"./react-qoZPGuNy.js";import{p as C,f as M}from"./format-DxkEZcwQ.js";import{f as S,aC as f,aD as T}from"./index-BJ1Zyy42.js";import{F as p}from"./ui-Bq3RQsdJ.js";import{a,C as c}from"./chart-utils-DGogNvJT.js";import{M as v}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const x={"7D":{ms:10080*60*1e3,timeframe:a["7D"]},"1M":{ms:720*60*60*1e3,timeframe:a["1M"]},"3M":{ms:2160*60*60*1e3,timeframe:a["3M"]}};f.schema;function L({config:o}){const{ms:m,timeframe:u}=x[o.lookback],s=n.useMemo(()=>Date.now()-m,[m]),{history:i,isLoading:h}=T(o.protocols),l=n.useMemo(()=>o.protocols.map((t,d)=>({id:t,name:C(t),color:c[d%c.length],data:(i[t]??[]).filter(r=>r.time>=s).map(r=>({date:new Date(r.time).toISOString(),value:r.value}))})),[o.protocols,i,s]);return h?e.jsx(p,{loading:!0,children:"loading protocol TVL…"}):l.every(t=>t.data.length===0)?e.jsx(p,{children:"no protocol TVL data yet"}):e.jsx(v,{series:l,timeframe:u,height:250,formatValue:M})}const I=S({...f,component:L});export{I as protocolTvlChartFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,j as e}from"./react-qoZPGuNy.js";import{p as h,f as i}from"./format-DxkEZcwQ.js";import{f as d,cQ as p,aD as S}from"./index-BJ1Zyy42.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{C as l}from"./chart-utils-DGogNvJT.js";import{S as x}from"./index-DuNO-RcB.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const A={"7D":10080*60*1e3,"1M":720*60*60*1e3,"3M":2160*60*60*1e3};p.schema;function M(o){return o.toLocaleDateString("en-US",{month:"short",day:"numeric"})}function T({config:o}){const a=n.useMemo(()=>Date.now()-A[o.lookback],[o.lookback]),{history:m,isLoading:f}=S(o.protocols),s=n.useMemo(()=>o.protocols.map((t,u)=>({id:t,name:h(t),color:l[u%l.length],data:(m[t]??[]).filter(r=>r.time>=a).map(r=>({date:new Date(r.time),value:r.value}))})),[o.protocols,m,a]);return f?e.jsx(c,{loading:!0,children:"loading protocol TVL…"}):s.every(t=>t.data.length===0)?e.jsx(c,{children:"no protocol TVL data yet"}):e.jsx(x,{series:s,height:240,formatXAxis:M,formatYAxis:i,formatValue:i})}const F=d({...p,component:T});export{F as protocolTvlShareAreaFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,j as m}from"./react-qoZPGuNy.js";import{f as c}from"./format-DxkEZcwQ.js";import{f as i,aA as l,aB as p}from"./index-BJ1Zyy42.js";import{T as f,a as u}from"./treemap-leaf-QG-L-SIG.js";import{F as s}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";l.schema;function T({width:r,height:a,data:e}){const t=c(e.tvl);return m.jsx(u,{width:r,height:a,label:e.id,secondary:t,title:`${e.id} · ${t} TVL`})}function d({config:r}){const{entries:a,isLoading:e}=p(),t=n.useMemo(()=>a.slice(0,r.topN).map(o=>({id:o.name,value:o.tvl,tvl:o.tvl,changePct:o.changePct??0})),[a,r.topN]);return e?m.jsx(s,{loading:!0,children:"loading protocol TVL…"}):t.length===0?m.jsx(s,{children:"no protocol TVL data"}):m.jsx(f,{data:t,LeafComponent:T,getColorValue:o=>o.changePct})}const C=i({...l,component:d});export{C as protocolTvlTreemapFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{z as n,Z as p,a as s,M as u}from"./cycle-shared-XoGVsOjC.js";import{D as m,U as c}from"./format-DxkEZcwQ.js";import{t as d,w as f}from"./indicators-Cw7CVPn4.js";import{f as x,bm as r,bl as M}from"./index-BJ1Zyy42.js";import{F as a}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";r.schema;function O({config:t}){const{extras:l,isLoading:i}=M();if(i)return e.jsx(a,{loading:!0,children:"loading Puell…"});if(!l||l.puell===null)return e.jsx(a,{children:"Puell Multiple unavailable"});const o=n(l.puell,[{upTo:.5,zone:{label:"Miner capitulation",color:c}},{upTo:2,zone:{label:"Normal",color:p}},{upTo:4,zone:{label:"Elevated",color:s}}],{label:"Cycle-top zone",color:m});return e.jsx(u,{caption:"Puell Multiple",headline:l.puell.toFixed(2),headlineColor:o.color,zone:o,sparkline:d(l.history.puell,f(t.window)),sparkColor:o.color})}const P=x({...r,component:O});export{P as puellMultipleFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{D as n,U as m}from"./format-DxkEZcwQ.js";import{f as c,cu as o,bb as u}from"./index-BJ1Zyy42.js";import{F as r}from"./ui-Bq3RQsdJ.js";import{R as p}from"./radial-gauge-0BzRQ6fO.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";o.schema;function d({config:t}){const{summary:a,isLoading:l}=u(t.currency);if(l)return e.jsx(r,{loading:!0,children:"loading options…"});if(!a)return e.jsx(r,{children:"no options data yet"});const s=t.basis==="oi"?a.putCallRatioOi:a.putCallRatioVolume,i=s>1?n:m;return e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-1",children:[e.jsxs(p,{value:s,min:0,max:2,color:i,size:170,children:[e.jsx("div",{className:"metric-xl leading-none",style:{color:i},children:s.toFixed(2)}),e.jsx("div",{className:"caption text-soft mt-1 uppercase tracking-wide",children:"put / call"})]}),e.jsxs("div",{className:"caption text-soft",children:[t.currency," · by"," ",t.basis==="oi"?"open interest":"volume"]})]})}const O=c({...o,component:d});export{O as putCallGaugeFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,j as t}from"./react-qoZPGuNy.js";import{f as u,aR as i}from"./index-BJ1Zyy42.js";i.schema;const c="var(--color-highlight)";function d({config:a}){const e=a.quotes,[r,l]=s.useState(0);s.useEffect(()=>l(0),[a.quotes]),s.useEffect(()=>{if(a.intervalSec<=0||e.length<=1)return;const o=window.setInterval(()=>l(n=>(n+1)%e.length),a.intervalSec*1e3);return()=>window.clearInterval(o)},[a.intervalSec,e.length]);const m=e[Math.min(r,e.length-1)]??"";return t.jsx("div",{className:"flex h-full w-full items-center justify-center [container-type:size]",children:t.jsxs("figure",{className:"relative max-h-full overflow-auto px-3 text-center",children:[t.jsx("span",{"aria-hidden":!0,className:"block font-dmsans font-black leading-none",style:{fontSize:"clamp(1.5rem, 14cqmin, 3rem)",color:c},children:"“"}),t.jsx("blockquote",{className:"body-md text-normal -mt-[0.3em] whitespace-pre-wrap italic leading-snug",style:{fontSize:"clamp(0.85rem, 8cqmin, 1.25rem)"},children:m}),e.length>1&&t.jsx("figcaption",{className:"mt-2 flex justify-center gap-1.5","aria-hidden":!0,children:e.map((o,n)=>t.jsx("span",{className:"h-1 w-1 rounded-full transition-colors",style:{background:n===Math.min(r,e.length-1)?c:"var(--color-disabled)"}},n))})]})})}const x=u({...i,component:d});export{x as quoteFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as g,j as p}from"./react-qoZPGuNy.js";import{s as v,b as x,H as G}from"./d3-ibrLIlQc.js";import{p as T}from"./utils-DxneYyA_.js";const r=-3*Math.PI/4,E=3*Math.PI/4,$=({value:h,min:a=0,max:o=100,color:l="var(--color-highlight, #8b8bff)",trackColor:c,size:t=180,thickness:e=12,children:M})=>{const R=g.useRef(null);return g.useEffect(()=>{const i=R.current;if(!i)return;v(i).selectAll("*").remove();const j=v(i),n=t/2-2,d=n-e,N=o>a?Math.min(Math.max((h-a)/(o-a),0),1):0,s=r+N*(E-r),u=j.append("g").attr("transform",`translate(${t/2},${t/2})`),b=x().innerRadius(d).outerRadius(n).cornerRadius(e).startAngle(r).endAngle(E);u.append("path").attr("d",b).attr("fill",c??"currentColor").attr("fill-opacity",c?1:.12);const f=x().innerRadius(d).outerRadius(n).cornerRadius(e).startAngle(r),A=u.append("path").attr("fill",l).attr("d",f({endAngle:r})??"");T()?A.attr("d",f({endAngle:s})??""):A.transition().duration(600).attrTween("d",()=>{const w=G(r,s);return y=>f({endAngle:w(y)})??""});const m=(d+n)/2;u.append("circle").attr("cx",Math.sin(s)*m).attr("cy",-Math.cos(s)*m).attr("r",e/2+2).attr("fill",l).attr("stroke","var(--color-card, #101014)").attr("stroke-width",2)},[h,a,o,l,c,t,e]),p.jsxs("div",{className:"relative",style:{width:t,height:t},children:[p.jsx("svg",{ref:R,width:t,height:t}),p.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:M})]})},_=g.memo($);export{_ as R};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{b as a,f as g}from"./format-DxkEZcwQ.js";import{M as v}from"./metric-row-BVVhjsjK.js";import{f as j,ak as f,al as R,am as y}from"./index-BJ1Zyy42.js";import{F as m}from"./ui-Bq3RQsdJ.js";f.schema;function b({config:t}){var c,d;const{rates:i,isLoading:x}=R(),{rates:o,isLoading:u}=y();if(x&&u)return e.jsx(m,{loading:!0,children:"loading official rates…"});if(!i.length&&!o.length)return e.jsx(m,{children:"no rates data yet"});const n=i.slice(0,t.maxReferenceRates),r=o.slice(0,t.maxTreasuryRates),l=(c=n[0])==null?void 0:c.date,h=(d=r[0])==null?void 0:d.date;return e.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-3",children:[e.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("div",{className:"caption text-soft uppercase",children:"official rates"}),e.jsx("div",{className:"body-sm text-normal",children:l?`as of ${l}`:"reference rates"})]}),e.jsx("div",{className:"caption text-soft text-right",children:"daily"})]}),e.jsx("div",{className:"min-h-0 flex-1 overflow-hidden",children:n.map(s=>{const p=s.targetRateFrom!==void 0&&s.targetRateTo!==void 0?`target ${a(s.targetRateFrom)}-${a(s.targetRateTo)}`:s.volumeInBillions!==void 0?`${g(s.volumeInBillions*1e9)} volume`:s.source;return e.jsx(v,{label:s.label,value:a(s.rate),meta:p},s.code)})}),t.showTreasuryAverageRates&&r.length>0&&e.jsxs("div",{className:"border-t border-white/[0.08] pt-2",children:[e.jsxs("div",{className:"caption text-soft mb-1 flex justify-between",children:[e.jsx("span",{children:"Treasury average rates"}),e.jsx("span",{children:h})]}),e.jsx("div",{className:"grid grid-cols-2 gap-1.5",children:r.map(s=>e.jsxs("div",{className:"rounded bg-white/[0.04] px-2 py-1.5",children:[e.jsx("div",{className:"caption text-soft truncate",children:s.security}),e.jsx("div",{className:"body-sm text-strong font-bold tabular-nums",children:a(s.rate)})]},`${s.date}-${s.security}`))})]})]})}const B=j({...f,component:b});export{B as ratesBoardFrame};
|